From b3885778e8e438e8526a8ee9e96072fd00f5cae5 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 10 Aug 2016 10:04:29 +0000 Subject: gnu: Add stagit. * gnu/packages/version-control.scm (stagit): New variable. Signed-off-by: Leo Famulari --- gnu/packages/version-control.scm | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 767715d1b1..f7167088ca 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2015, 2016 Efraim Flashner ;;; Copyright © 2015 Kyle Meyer ;;; Copyright © 2015 Ricardo Wurmus +;;; Coypright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,8 +28,8 @@ (define-module (gnu packages version-control) #:use-module ((guix licenses) - #:select (asl2.0 bsd-2 bsd-3 - gpl1+ gpl2 gpl2+ gpl3+ lgpl2.1 + #:select (asl2.0 bsd-2 bsd-3 expat + gpl1+ gpl2 gpl2+ gpl3+ isc lgpl2.1 public-domain x11-style)) #:use-module (guix utils) #:use-module (guix packages) @@ -1250,3 +1251,33 @@ 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 public-domain ;src/miniz.c, src/shell.c 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 + (inputs + `(("libgit2" ,libgit2))) + (home-page "http://2f30.org") + (synopsis "Static Git web page generator") + (description "Stagit creates static web pages for Git repositories. The +results can be served with an HTTP server.") + ;; The source code distribution is Expat-licensed, but the source files + ;; 'reallocarray.c', 'strlcat.c', and 'strlcpy.c' are released under the ISC + ;; license. + (license (list expat isc)))) -- cgit 1.4.1