mercurial: remove dulwich dependency
This commit is contained in:
parent
4718ba1ab1
commit
635485b85c
1 changed files with 2 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (python3Packages) docutils dulwich python;
|
inherit (python3Packages) docutils python;
|
||||||
|
|
||||||
in python3Packages.buildPythonApplication rec {
|
in python3Packages.buildPythonApplication rec {
|
||||||
pname = "mercurial";
|
pname = "mercurial";
|
||||||
|
@ -17,13 +17,11 @@ in python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
format = "other";
|
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 ]
|
buildInputs = [ makeWrapper docutils unzip ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices ];
|
++ stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ dulwich ];
|
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
postInstall = (stdenv.lib.optionalString guiSupport ''
|
postInstall = (stdenv.lib.optionalString guiSupport ''
|
||||||
|
|
Loading…
Reference in a new issue