From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH] gnu: Add stagit. Date: Wed, 10 Aug 2016 10:18:31 +0000 Message-ID: <87wpjpork8.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXQax-0005nZ-09 for guix-devel@gnu.org; Wed, 10 Aug 2016 06:18:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXQau-0008W1-IE for guix-devel@gnu.org; Wed, 10 Aug 2016 06:18:41 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:33594 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXQau-0008Vf-3r for guix-devel@gnu.org; Wed, 10 Aug 2016 06:18:40 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id bc6c8715 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Wed, 10 Aug 2016 10:18:38 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Same as sic, I am not sure if the description could be extended. This is what I could come up with. If you have trouble testing it, consider this commit which is not in 0.4 release: http://git.2f30.org/stagit/commit/44a49f51db565cbfc31f31393d8dcdec1cdc8167.html --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-stagit.patch Content-Transfer-Encoding: quoted-printable From=20d2a2dd0b6f831f8a1ecc09794c44d6ea2b3992b5 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 10 Aug 2016 10:04:29 +0000 Subject: [PATCH] gnu: Add stagit. * gnu/packages/version-control.scm (stagit): New variable. =2D-- gnu/packages/version-control.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-contro= l.scm index 767715d..b12c53a 100644 =2D-- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -9,6 +9,7 @@ ;;; Copyright =C2=A9 2015, 2016 Efraim Flashner ;;; Copyright =C2=A9 2015 Kyle Meyer ;;; Copyright =C2=A9 2015 Ricardo Wurmus +;;; Coypright =C2=A9 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,7 +30,7 @@ #:use-module ((guix licenses) #:select (asl2.0 bsd-2 bsd-3 gpl1+ gpl2 gpl2+ gpl3+ lgpl2.1 =2D public-domain x11-style)) + public-domain x11-style expat)) #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix download) @@ -1250,3 +1251,30 @@ access and administration over HTTP CGI or via a bui= lt-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=3Dgcc" + (string-append "PREFIX=3D" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; no configure + (inputs + `(("libgit2" ,libgit2))) + (home-page "http://2f30.org") + (synopsis "Static git page generator") + (description "Stagit creates static pages for git repositories, the re= sults can +be served with a HTTP file server.") + (license expat))) =2D-=20 2.9.2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =2D-=20 =E2=99=A5=E2=92=B6 ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXqv95AAoJEAKilhUMIBgjy9wQAIjQIuQoHKq+ymr8IuACkpt/ FvMPlIvLkAvDnptAwrsPFz1blobMMnHp7LJsx76QvwQFugnQlFTH8c5lwjDKa7Ag fQu5lkYPkeZXs0OQix2eCjJ9cFuoydRaipHC1DClFtQhCYX9L5wuaFfV5QmrYYp4 wRPmCHSWFXM7XnNNp9p1D2q4gmjl4ZCXI8gn4d+vN+kP5EdsPJm3ZTC/I9acOuNx /WHa3cNLE/z2cj17hSf7R4+uUEL7OtYqpd+0X6A32Lj88uOR0/mb2G+TCnccBApt khg6ovdIRDUBkwhCMLNsD9LDtX9FnUXgE1Bw4AU2vorHkosmDQ//SMtSCIfQKmQw LgFG3YUlkiwWuTfVdyig8yNmzpqLxiOFqdOYQe9cOd6Nu5wH4h+skNO2hg0Z9+93 eUoyte7fNtHAukues9hjOgtSGSoLsSssxDBJcNZfyz7zImVXDzmIpbAVvOy3eZST H4IIktJb4hhEGL/WhoChjGzI3w2sxc1Keq3W/QE8ezo5+K9Bnfumrw3QAZbUer/n IJHMQWKP8UKNS3EaDjdHSDB3pvw0ioYKju7/NCgRRtjl7b8/BilWkrJoVwiyuyUs 4PXRhX9soblD90fLHBl9BBhF8cgRukp67O9zE2WrfHWo53pqj3LqNR+PasaGvN7G 7P7I88nfvEQvVKeGBC77 =86eu -----END PGP SIGNATURE----- --==-=-=--