;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Andreas Enge ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages git) #:use-module ((guix licenses) #:renamer (symbol-prefix-proc 'license:)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module ((gnu packages gettext) #:renamer (symbol-prefix-proc 'gnu:)) #:use-module (gnu packages openssl) #:use-module (gnu packages perl) #:use-module (gnu packages python) #:use-module (gnu packages xml)) (define-public git (package (name "git") (version "1.8.2.2") (source (origin (method url-fetch) (uri (string-append "http://git-core.googlecode.com/files/git-" version ".tar.gz")) (sha256 (base32 "152757vwdzr0lphv9skb60xijj0r46cp83s6pvhvcarhva7f6382")))) (build-system gnu-build-system) (inputs `(("curl" ,curl) ("expat" ,expat) ("gettext" ,gnu:gettext) ("openssl" ,openssl) ("perl" ,perl) ("python" ,python) ("zlib" ,zlib))) (arguments `(#:test-target "test" #:phases (alist-replace 'configure (lambda* (#:key #:allow-other-keys #:rest args) (let ((configure (assoc-ref %standard-phases 'configure))) (apply configure args) (substitute* "Makefile" (("/bin/sh") (which "sh")) (("/usr/bin/perl") (which "perl")) (("/usr/bin/python") (which "python"))))) %standard-phases))) (synopsis "distributed version control system") (description "Git is a free distributed version control system designed to handle everything from small to very large projects with speed and efficiency.") (license license:gpl2) (home-page "http://git-scm.com/")))