From 856eb02a92cfdf3f647ca0198c5038440c2955ba Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 13 Feb 2016 23:49:25 +0000 Subject: [PATCH] gnu: Add vcsh * gnu/packages/version-control.scm (vcsh): New variable. --- gnu/packages/version-control.scm | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 721a284..ccdffbd 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1058,3 +1058,44 @@ Mercurial, Bazaar, Darcs, CVS, Fossil, and Veracity.") "This package allows you to use your hubic account as a \"special repository\" with git-annex.") (license gpl3+))) + +(define-public vcsh + (package + (name "vcsh") + (version "1.20151229") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/RichiH/vcsh/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ym3swkh738c3vciffvlr96vqzhwmzkb8ajqzap8f0j9n039a1mf")))) + (build-system gnu-build-system) + (arguments + `(#:test-target "test" + #:phases (modify-phases %standard-phases + ;; vcsh has no configure script + (delete 'configure) + ;; vcsh has no build stage + (delete 'build)) + #:make-flags (list (string-append "PREFIX=" %output)))) + (native-inputs + `(("which" ,which) + ("perl" ,perl))) + (inputs + `(("perl-shell-command" ,perl-shell-command) + ("perl-test-most" ,perl-test-most))) + (propagated-inputs + `(("git" ,git))) + (home-page "https://github.com/RichiH/vcsh") + (synopsis "Version control system for $HOME") + (description + "vcsh provides the @code{vcsh} command, which allows you to maintain +several Git repositories in one single directory. This can be useful when +using version control for files in your home directory, as it allows for +the separation of the files in to different repositories, for example you +may keep your bash configuration in a separate Git repository from your +emacs configuration.") + (license gpl2+))) -- 2.7.0