mercurial: remove dulwich dependency

This commit is contained in:
Jonathan Ringer 2020-11-19 11:25:52 -08:00
parent 4718ba1ab1
commit 635485b85c

View File

@ -4,7 +4,7 @@
}:
let
inherit (python3Packages) docutils dulwich python;
inherit (python3Packages) docutils python;
in python3Packages.buildPythonApplication rec {
pname = "mercurial";
@ -17,13 +17,11 @@ in python3Packages.buildPythonApplication rec {
format = "other";
inherit python; # pass it so that the same version can be used in hg2git
passthru = { inherit python; }; # pass it so that the same version can be used in hg2git
buildInputs = [ makeWrapper docutils unzip ]
++ stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices ];
propagatedBuildInputs = [ dulwich ];
makeFlags = [ "PREFIX=$(out)" ];
postInstall = (stdenv.lib.optionalString guiSupport ''