diff options
Diffstat (limited to 'pkgs/applications/version-management/mercurial')
-rw-r--r-- | pkgs/applications/version-management/mercurial/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix index 865033ae2d26..669aa5713a08 100644 --- a/pkgs/applications/version-management/mercurial/default.nix +++ b/pkgs/applications/version-management/mercurial/default.nix @@ -2,14 +2,15 @@ , guiSupport ? false, tk ? null, curses }: let - name = "mercurial-2.2.3"; + name = "mercurial-2.6.1"; in + stdenv.mkDerivation { inherit name; src = fetchurl { url = "http://mercurial.selenic.com/release/${name}.tar.gz"; - sha256 = "0yv7kn96270fixigry910c1i3zzivimh1xjxywqjn9dshn2y6qbw"; + sha256 = "0r4fg269xnqgacc82ppm3wxl9wwvvgwz8z6zi1iai4gx76iklhdn"; }; inherit python; # pass it so that the same version can be used in hg2git @@ -39,6 +40,12 @@ stdenv.mkDerivation { $WRAP_TK done + mkdir -p $out/etc/mercurial + cat >> $out/etc/mercurial/hgrc << EOF + [web] + cacerts = /etc/ssl/certs/ca-bundle.crt + EOF + # copy hgweb.cgi to allow use in apache mkdir -p $out/share/cgi-bin cp -v hgweb.cgi contrib/hgweb.wsgi $out/share/cgi-bin @@ -49,5 +56,6 @@ stdenv.mkDerivation { description = "A fast, lightweight SCM system for very large distributed projects"; homepage = "http://www.selenic.com/mercurial/"; license = "GPLv2"; + maintainers = [ stdenv.lib.maintainers.eelco ]; }; } |