diff --git a/pkgs/python-packages-overrides.nix b/pkgs/python-packages-overrides.nix --- a/pkgs/python-packages-overrides.nix +++ b/pkgs/python-packages-overrides.nix @@ -24,6 +24,13 @@ self: super: { ''; }); + hgsubversion = super.hgsubversion.override (attrs: { + propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ + pkgs.sqlite + basePythonPackages.sqlite3 + ]; + }); + mercurial = super.mercurial.override (attrs: { propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ self.python.modules.curses diff --git a/vcsserver/tests/test_hgpatches.py b/vcsserver/tests/test_hgpatches.py --- a/vcsserver/tests/test_hgpatches.py +++ b/vcsserver/tests/test_hgpatches.py @@ -83,6 +83,11 @@ def test_dynamic_capabilities_uses_large assert LARGEFILES_CAPABILITY in caps +def test_hgsubversion_import(): + from hgsubversion import svnrepo + assert svnrepo + + @pytest.fixture def patched_capabilities(request): """