# HG changeset patch # User Arne Babenhauserheide # Date 1381502708 -7200 # Fri Oct 11 16:45:08 2013 +0200 # Node ID 4e60285e8bf65478dccd96d8304f7c026a364e18 # 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,36 @@ (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 + `(;; Restrict to python2, as python 3 would require + ;; the argument --c2to3 + #:python ,python-2 + ;; FIXME: Disabled tests because they require the nose unit + ;; testing framework: https://nose.readthedocs.org/en/latest/ + #:tests? #f)) + (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")