From aed549f8c6971f6de8f048a8f2b90aa0ca2c7b0e Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Wed, 8 May 2013 00:50:05 +0000 Subject: [PATCH] gnu: Add GNU Bazaar. * gnu/packages/bazaar.scm: New file. * Makefile.am (MODULES): Add it. --- Makefile.am | 1 + gnu/packages/bazaar.scm | 54 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 0 deletions(-) create mode 100644 gnu/packages/bazaar.scm diff --git a/Makefile.am b/Makefile.am index 15cbde8..e3b514c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -72,6 +72,7 @@ MODULES = \ gnu/packages/avahi.scm \ gnu/packages/base.scm \ gnu/packages/bash.scm \ + gnu/packages/bazaar.scm \ gnu/packages/bdb.scm \ gnu/packages/bdw-gc.scm \ gnu/packages/bison.scm \ diff --git a/gnu/packages/bazaar.scm b/gnu/packages/bazaar.scm new file mode 100644 index 0000000..b318bff --- /dev/null +++ b/gnu/packages/bazaar.scm @@ -0,0 +1,54 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2013 Nikita Karetnikov +;;; +;;; 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 bazaar) + #:use-module ((guix licenses) #:select (gpl2+)) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system python) + #:use-module (guix build utils) + #:use-module ((gnu packages gettext) + #:renamer (symbol-prefix-proc 'guix:))) + +(define-public bazaar + (package + (name "bazaar") + (version "2.5.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://launchpad.net/bzr/2.5/" version + "/+download/bzr-" version ".tar.gz")) + (sha256 + (base32 + "10krjbzia2avn09p0cdlbx2wya0r5v11w5ymvyl72af5dkx4cwwn")))) + (build-system python-build-system) + (inputs + ;; FIXME: 'tools/packaging/lp-upload-release' and 'tools/weavemerge.sh' + ;; require Zsh. + `(("gettext" ,guix:gettext))) + (arguments + `(#:tests? #f)) + (home-page "https://gnu.org/software/bazaar") + (synopsis "Distributed and central version control system") + (description + "GNU Bazaar is a distributed version control system, which supports both +central version control and distributed version control. Developers can +organize their workspace in whichever way they want. It is possible to work +from a command line or use a GUI application.") + (license gpl2+))) \ No newline at end of file -- 1.7.5.4