use prefix: license in gnu/packages/version-control. [PATCH] Add stagit.
Commit Message
Patches to use prefix license: in gnu packages version-control, adding
stagit in a second patch requiring the license: prefix.
And a comment on version-control:
Why is the description of neon 16 lines long when we have a limit at
10. Someone must fix the neon description.
Comments
On Fri, Aug 26, 2016 at 09:59:44AM +0000, ng0 wrote:
> Patches to use prefix license: in gnu packages version-control, adding
> stagit in a second patch requiring the license: prefix.
Thanks, pushed as 1062f2451f!
From 16a1134d76e00d26a6879ac5dcd590af4cdfe558 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Fri, 26 Aug 2016 09:56:29 +0000
Subject: [PATCH 2/2] gnu: Add stagit.
* gnu/packages/version-control.scm (stagit): New variable.
---
gnu/packages/version-control.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
@@ -1219,3 +1219,30 @@ access and administration over HTTP CGI or via a built-in HTTP server. It has
a built-in wiki, built-in file browsing, built-in tickets system, etc.")
(license (list license:public-domain ;src/miniz.c, src/shell.c
license:bsd-2))))
+
+(define-public stagit
+ (package
+ (name "stagit")
+ (version "0.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://dl.2f30.org/releases/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0z5r06wqrfnsz24ci4hjqbd62svclvhkgzaq9npsyjcp6jnf7izc"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; No tests
+ #:make-flags (list "CC=gcc"
+ (string-append "PREFIX=" %output))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)))) ; No configure script
+ (inputs
+ `(("libgit2" ,libgit2)))
+ (home-page "http://2f30.org")
+ (synopsis "Static git page generator")
+ (description "Stagit creates static pages for git repositories, the results can
+be served with a HTTP file server of your choice.")
+ (license license:expat)))
--
2.9.3