# HG changeset patch # User Arne Babenhauserheide # Date 1380634471 -7200 # Tue Oct 01 15:34:31 2013 +0200 # Node ID d190622d428db9728e41abaa4ba63d40c06e943a # Parent a34f735e8b79e33072e37f2d1a8a750b0fb24a40 gnu: Add mercurial. * gnu/packages/version-control.scm (mercurial): New variable. diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -180,6 +180,32 @@ (license gpl2) (home-page "http://git-scm.com/"))) + +(define-public mercurial + (package + (name "mercurial") + (version "2.7.1") + (source + (origin + (method url-fetch) + (uri (string-append "http://mercurial.selenic.com/release/mercurial-" + version ".tar.gz")) + (sha256 + (base32 + "121m8f7vmipmdg00cnzdz2rjkgydh28mwfirqkrbs5fv089vywl4")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) ; Restrict to python2, as python 3 would require + ; the argument --c2to3 + (home-page "http://mercurial.selenic.com") + (synopsis "Decentralized version control system") + (description + "Mercurial is a free, distributed source control management tool. +It efficiently handles projects of any size +and offers an easy and intuitive interface.") + (license gpl2+))) + + (define-public subversion (package (name "subversion")