From 1b1c335f5e62cff78ab9fff9c998fc932a0e8a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 11 May 2013 22:49:39 +0200 Subject: [PATCH] gnu: Add GNU RCS. * gnu/packages/bazaar.scm: Rename to... * gnu/packages/version-control.scm: ... this. (rcs): New variable. * Makefile.am (MODULES): Adjust accordingly. --- Makefile.am | 2 +- .../{bazaar.scm => version-control.scm} | 27 +++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) rename gnu/packages/{bazaar.scm => version-control.scm} (67%) diff --git a/Makefile.am b/Makefile.am index 26d9cfb2a5..3998e9123f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -73,7 +73,6 @@ 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 \ @@ -191,6 +190,7 @@ MODULES = \ gnu/packages/time.scm \ gnu/packages/tmux.scm \ gnu/packages/tor.scm \ + gnu/packages/version-control.scm \ gnu/packages/vim.scm \ gnu/packages/vpn.scm \ gnu/packages/w3m.scm \ diff --git a/gnu/packages/bazaar.scm b/gnu/packages/version-control.scm similarity index 67% rename from gnu/packages/bazaar.scm rename to gnu/packages/version-control.scm index 63fe341999..74718f5149 100644 --- a/gnu/packages/bazaar.scm +++ b/gnu/packages/version-control.scm @@ -16,10 +16,11 @@ ;;; 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+)) +(define-module (gnu packages version-control) + #:use-module ((guix licenses) #:select (gpl2+ gpl3+)) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix build utils) #:use-module ((gnu packages gettext) @@ -52,3 +53,25 @@ 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+))) + +(define-public rcs + (package + (name "rcs") + (version "5.9.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/rcs/rcs-" + version ".tar.xz")) + (sha256 + (base32 + "0w26vsx732dcmb5qfhlkkzvrk1sx6d74qibrn914n14j0ci90jcq")))) + (build-system gnu-build-system) + (home-page "http://www.gnu.org/software/rcs/") + (synopsis "Per-file local revision control system") + (description + "The GNU Revision Control System (RCS) manages multiple revisions of +files. RCS automates the storing, retrieval, logging, identification, and +merging of revisions. RCS is useful for text that is revised frequently, +including source code, programs, documentation, graphics, papers, and form +letters.") + (license gpl3+)))