From dcee3fc5a911ff64728cba85e245a5f151ae19a1 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Wed, 8 May 2013 20:46:13 +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(+) create mode 100644 gnu/packages/bazaar.scm diff --git a/Makefile.am b/Makefile.am index eddcd5ac9b..d1f06d7a71 100644 --- a/Makefile.am +++ b/Makefile.am @@ -73,6 +73,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 0000000000..debaef88a1 --- /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 + ;; Note: 'tools/packaging/lp-upload-release' and 'tools/weavemerge.sh' + ;; require Zsh. + `(("gettext" ,guix:gettext))) + (arguments + `(#:tests? #f)) ; no test target + (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