From: Christopher Baines <mail@cbaines.net>
To: guix-devel@gnu.org
Subject: Re: [PATCH 3/3] gnu: Add vcsh
Date: Sun, 14 Feb 2016 20:36:00 +0000 [thread overview]
Message-ID: <56C0E530.9010604@cbaines.net> (raw)
In-Reply-To: <20160213224108.GC1176@jasmine>
[-- Attachment #1.1: Type: text/plain, Size: 803 bytes --]
On 13/02/16 22:41, Leo Famulari wrote:
> On Sat, Feb 13, 2016 at 04:07:55PM +0000, Christopher Baines wrote:
>> * gnu/packages/version-control.scm (vcsh): New variable.
>
> [...]
>
>> + (arguments
>> + `(#:phases (modify-phases %standard-phases
>> + (delete 'configure)
>> + (delete 'check)
>> + (delete 'build))
>
> Can you add comments explaining why the check and build phases are
> deleted?
Yep, I have attached an updated patch.
> For the former, it can be as simple as "no test suite".
There actually is one, I just forgot to enable it. This is now fixed in
the attached patch.
> I assume the build phase is replaced by the install phase; the comment
> can say something like that if it's the case.
Done.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0003-gnu-Add-vcsh.patch --]
[-- Type: text/x-patch; name="0003-gnu-Add-vcsh.patch", Size: 2370 bytes --]
From 856eb02a92cfdf3f647ca0198c5038440c2955ba Mon Sep 17 00:00:00 2001
From: Christopher Baines <mail@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 | 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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]
next prev parent reply other threads:[~2016-02-14 20:36 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-13 16:07 [PATCH] gnu: Add vcsh and perl-shell-command Christopher Baines
2016-02-13 16:07 ` [PATCH 1/3] gnu: Add perl-shell-command Christopher Baines
2016-02-13 22:42 ` Leo Famulari
2016-02-13 16:07 ` [PATCH 2/3] gnu: Don't use guix build utils Christopher Baines
2016-02-13 22:39 ` Leo Famulari
2016-02-17 18:28 ` Christopher Baines
2016-02-18 0:15 ` Leo Famulari
2016-02-18 19:55 ` Andreas Enge
2016-02-18 19:59 ` Christopher Baines
2016-02-18 20:16 ` Andreas Enge
2016-02-18 21:13 ` Christopher Baines
2016-02-18 21:37 ` Andreas Enge
2016-02-13 16:07 ` [PATCH 3/3] gnu: Add vcsh Christopher Baines
2016-02-13 22:41 ` Leo Famulari
2016-02-14 20:36 ` Christopher Baines [this message]
2016-02-17 18:11 ` Andreas Enge
2016-02-17 18:59 ` Christopher Baines
2016-02-18 0:11 ` Leo Famulari
2016-02-18 0:27 ` Christopher Baines
2016-02-18 20:01 ` Andreas Enge
2016-02-18 21:04 ` Christopher Baines
2016-02-18 21:26 ` Leo Famulari
2016-02-18 21:32 ` Christopher Baines
2016-02-18 21:39 ` Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56C0E530.9010604@cbaines.net \
--to=mail@cbaines.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.