mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 09:34:36 +00:00
* Mercurial updated to 1.7.5 (contributed by Vladimír Čunát).
svn path=/nixpkgs/trunk/; revision=26488
This commit is contained in:
parent
998175f6bd
commit
9d49bdee78
@ -1,20 +1,20 @@
|
|||||||
{ stdenv, fetchurl, python, makeWrapper
|
{ stdenv, fetchurl, python, makeWrapper, docutils
|
||||||
, guiSupport ? false, tk ? null }:
|
, guiSupport ? false, tk ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mercurial-1.6.4";
|
name = "mercurial-1.7.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.selenic.com/mercurial/release/${name}.tar.gz";
|
url = "http://www.selenic.com/mercurial/release/${name}.tar.gz";
|
||||||
sha256 = "04c8vj942ys71dn0bjga33i0qi5hybjjhq087xd0jp29ijzxp3hy";
|
sha256 = "14849n52vladjmzp0s3nc8q31rkjxswg7l2f2v3j7a9h7n4czbfz";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit python; # pass it so that the same version can be used in hg2git
|
inherit python; # pass it so that the same version can be used in hg2git
|
||||||
|
|
||||||
buildInputs = [ python makeWrapper ];
|
buildInputs = [ python makeWrapper docutils ];
|
||||||
|
|
||||||
makeFlags = "PREFIX=$(out)";
|
makeFlags = "PREFIX=$(out)";
|
||||||
|
|
||||||
postInstall = (stdenv.lib.optionalString guiSupport
|
postInstall = (stdenv.lib.optionalString guiSupport
|
||||||
''
|
''
|
||||||
ensureDir $out/etc/mercurial
|
ensureDir $out/etc/mercurial
|
||||||
|
Loading…
Reference in New Issue
Block a user