anchor.diff:      '';
   
     meta = {
  +    inherit version;
       description = "A fast, lightweight SCM system for very large distributed projects";
  -    homepage = "http://www.selenic.com/mercurial/";
  +    homepage = "http://mercurial.selenic.com/";
  +    downloadPage = "http://mercurial.selenic.com/release/";
       license = stdenv.lib.licenses.gpl2;
       maintainers = [ stdenv.lib.maintainers.eelco ];
     };
  
positive.code: , guiSupport ? false, tk ? null, curses }:
  
  let
    name = "mercurial-2.9.2";
  in
  
  stdenv.mkDerivation {
  
negative.code: 
    src = fetchurl {
      url = "http://mercurial.selenic.com/release/${name}.tar.gz";
      sha256 = "1r6hdxka867lpsq2jq3vz662m3ywflg4yylayc9g0s9gmiww5pgi";
    };
  
    inherit python; # pass it so that the same version can be used in hg2git
  