From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: Re: Add guile-config Date: Tue, 16 Feb 2016 09:47:20 +0100 Message-ID: <87wpq5hwiv.fsf@gmail.com> References: <87h9haw654.fsf@gmail.com> <87y4alsqlt.fsf@dustycloud.org> Reply-To: alex.sassmannshausen@gmail.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVbI9-00028X-HV for guix-devel@gnu.org; Tue, 16 Feb 2016 03:47:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVbI4-0005a0-Uo for guix-devel@gnu.org; Tue, 16 Feb 2016 03:47:29 -0500 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:38228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVbI4-0005Z3-JX for guix-devel@gnu.org; Tue, 16 Feb 2016 03:47:24 -0500 Received: by mail-wm0-x236.google.com with SMTP id a4so88662513wme.1 for ; Tue, 16 Feb 2016 00:47:23 -0800 (PST) In-reply-to: <87y4alsqlt.fsf@dustycloud.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Christopher Allan Webber Cc: "guix-devel@gnu.org" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hello, Christopher Allan Webber writes: > Alex Sassmannshausen writes: [...] > > I tried building and testing it: > > Starting download of /gnu/store/gq2zz95zmmsjkpn7lbwfbna8m4hr56r7-guile-config-0.1.tar.gz > From http://alex.pompo.co/software/guile-config-0.1.tar.gz... > guile-config-0.1.tar.gz 332KiB 100KiB/s 00:03 [####################] 100.0% > output path `/gnu/store/gq2zz95zmmsjkpn7lbwfbna8m4hr56r7-guile-config-0.1.tar.gz' should have sha256 hash `1yk4xmwp4rl9ral02igppfh9dh4l97k2kmgpkqhy3znjir004v8z', instead has `0fcj2d91z7nhm9k79zkc826l8i06khqvp3d641wik9s3hv6qjya2' > > So I guess unless I'm being MITM'ed or some other error (I verified > that's the hash I'm seeing with "guix hash" after a wget), it looks like > that hash is wrong? > > - Chris Thanks for testing. The hash was indeed wrong — which might be reassuring to you ;-) I made some last minute changes yesterday and rolled a new release, without bumping the version number, which of course changed the hash of the tarball. I forgot to update the Guix patch. Sorry about that! I have updated the hash and added a copyright line (thanks for the reminder Efraim!), please find an updated patch attached. Cheers for the reviews and tests, Alex --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-guile-config.patch Content-Transfer-Encoding: 8bit Content-Description: Revised guile-config patch >From f8e7467494c981a5318e6be93e0c0409843d916f Mon Sep 17 00:00:00 2001 From: Alex Sassmannshausen Date: Sun, 14 Feb 2016 19:23:24 +0100 Subject: [PATCH] gnu: Add guile-config. * gnu/packages/guile.scm (guile-config): New variable. --- gnu/packages/guile.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index e6e7228..0643dc6 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès ;;; Copyright © 2014, 2015 Mark H Weaver ;;; Copyright © 2015 Christopher Allan Webber +;;; Copyright © 2016 Alex Sassmannshausen ;;; ;;; This file is part of GNU Guix. ;;; @@ -731,6 +732,33 @@ interface for reading articles in any format.") (home-page "http://haunt.dthompson.us") (license gpl3+))) +(define-public guile-config + (package + (name "guile-config") + (version "0.1") + (source (origin + (method url-fetch) + (uri (string-append + "http://alex.pompo.co/software/" name "-" version + ".tar.gz")) + (sha256 + (base32 + "0fcj2d91z7nhm9k79zkc826l8i06khqvp3d641wik9s3hv6qjya2")))) + (build-system gnu-build-system) + (inputs + `(("guile" ,guile-2.0))) + (synopsis "Guile application configuration parsing library") + (description + "Guile Config is a library providing a declarative approach to +application configuration specification. The library provides clean +configuration declaration forms, and processors that take care of: +configuration file creation; configuration file parsing; command-line +parameter parsing using getopt-long; basic GNU command-line parameter +generation (--help, --usage, --version); automatic output generation for the +above command-line parameters.") + (home-page "https://github.com/a-sassmannshausen/guile-config") + (license agpl3+))) + (define-public guile-redis (package (name "guile-redis") -- 2.6.3 --=-=-=--