aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@we.make.ritual.n0.is>2016-08-26 09:56:29 +0000
committerLeo Famulari <leo@famulari.name>2016-08-29 21:10:35 -0400
commit1062f2451f2a7851f721eb798f45bdebd99d1d58 (patch)
treec9450754460b72be2df7fdeeaf1e91c1cf79754a
parent369387b65d5f46b3bce28ddec8aa1511ffa65afa (diff)
downloadpatches-1062f2451f2a7851f721eb798f45bdebd99d1d58.tar
patches-1062f2451f2a7851f721eb798f45bdebd99d1d58.tar.gz
gnu: Add stagit.
* gnu/packages/version-control.scm (stagit): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
-rw-r--r--gnu/packages/version-control.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index a8f57f2499..e8f4874790 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -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)))