aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/version-management/mercurial/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/version-management/mercurial/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/applications/version-management/mercurial/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/version-management/mercurial/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/version-management/mercurial/default.nix
index c7a1c4149870..e0400fd46c65 100644
--- a/infra/libkookie/nixpkgs/pkgs/applications/version-management/mercurial/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/applications/version-management/mercurial/default.nix
@@ -4,26 +4,24 @@
}:
let
- inherit (python3Packages) docutils dulwich python;
+ inherit (python3Packages) docutils python;
in python3Packages.buildPythonApplication rec {
pname = "mercurial";
- version = "5.4.2";
+ version = "5.6";
src = fetchurl {
url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz";
- sha256 = "0ls8nwx3nz26pibphw54fg8pxqb365zmmqx95lqrxqqyf3d972sw";
+ sha256 = "1hk2y30zzdnlv8f71kabvh0xi9c7qhp28ksh20vpd0r712sv79yz";
};
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 ''