On 17/02/16 18:11, Andreas Enge wrote:
> Hello,
> 
> this looks good. I also added a copyright line for you.
> 
> On Sun, Feb 14, 2016 at 08:36:00PM +0000, Christopher Baines wrote:
>> +     "vcsh provides the @code{vcsh} command, which allows you to maintain
> 
> I would shorten to "vcsh allows ..."; that vcsh provides the vcsh command
> is close to a tautology.
> 
>> +the separation of the files in to different repositories, for example you
> 
> "in to" -> "into".
> 
> The build depends on perl-shell-command, which is not yet in the distribution;
> so it looks like another patch should go in first. Leo, I think you handled
> these? Could you have another look? Concerning one of your questions, I think
> that removing "guix build utils" from the imported modules is fine (actually,
> it was me who recommended it...).

Great, updated patch attached.

From a4d10c0c98b4b9b3df05951b9a38d37b8b1da6d3 Mon Sep 17 00:00:00 2001
From: Christopher Baines <m...@cbaines.net>
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 | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 721a284..a5219a7 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1058,3 +1058,43 @@ 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 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 into different
+repositories, for example you may keep your bash configuration in a separate
+Git repository from your emacs configuration.")
+    (license gpl2+)))
-- 
2.7.0

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to