From f52ef55e2b7c728ebf6dd102a0344dd0c78c8118 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 2 Jun 2018 15:28:12 +0200 Subject: gnu: guile-json: Update to 1.0.1. * gnu/packages/guile.scm (guile-json): Update to 1.0.1. [source]: Switch to github.com. Adjust 'snippet' to modify 'configure.ac' and 'Makefile.am'. [native-inputs]: Add AUTOCONF and AUTOMAKE. --- gnu/packages/guile.scm | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 4fdd404de5..a88d24885f 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -814,29 +814,33 @@ for Guile\".") (define-public guile-json (package (name "guile-json") - (version "0.6.0") + (version "1.0.1") + (home-page "https://github.com/aconchillo/guile-json") (source (origin (method url-fetch) - (uri (string-append "mirror://savannah/guile-json/guile-json-" + (uri (string-append home-page "/archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1qmjg7lbgciw95fkdzvlp9f68vv17kdjky42ywfzd4ffzwww0lgc")) + "16155dv30rhagz6dwv7xc87l386i8v0f1kgydqa2ajr166fi9qhr")) (modules '((guix build utils))) (snippet ;; Make sure everything goes under .../site/X.Y, like Guile's ;; search paths expects. '(begin - (substitute* "configure" - (("ac_subst_vars='") - "ac_subst_vars='GUILE_EFFECTIVE_VERSION\n")) - (substitute* '("Makefile.in" "json/Makefile.in") - (("moddir =.*/share/guile/site" all) - (string-append all "/@GUILE_EFFECTIVE_VERSION@"))) - #t)))) + (substitute* "configure.ac" + (("GUILE_PROGS") + (string-append "GUILE_PROGS\n" + "AC_SUBST([GUILE_EFFECTIVE_VERSION])\n"))) + (substitute* '("Makefile.am" "json/Makefile.am") + (("moddir[[:blank:]]*=.*/share/guile/site" all) + (string-append all "/@GUILE_EFFECTIVE_VERSION@"))))))) (build-system gnu-build-system) - (native-inputs `(("guile" ,guile-2.2))) - (home-page "https://savannah.nongnu.org/projects/guile-json/") + (native-inputs `(("autoconf" ,autoconf) + ("automake" ,automake) + ("guile" ,guile-2.2))) + (inputs `(("guile" ,guile-2.2))) (synopsis "JSON module for Guile") (description "Guile-JSON supports parsing and building JSON documents according to the -- cgit v1.2.3 07:43 +0200'>2019-09-12linux-container: "run-container" scripts shows the container's PID....Ludovic Courtès 2019-07-06linux-container: Mount a new /dev/pts instance in the container....Ludovic Courtès 2019-06-23linux-container: Remove dependency on (guix utils)....Ludovic Courtès 2019-04-02linux-container: Make the guest UID and GID a parameter....Ludovic Courtès 2018-01-15linux-container: Work around EBADF errors upon exit....Ludovic Courtès 2017-10-11file-systems: 'mount-file-system' now takes a <file-system> object....Ludovic Courtès 2017-02-07linux-container: Add 'container-excursion*'....Ludovic Courtès 2017-02-06linux-container: Add comment on exception handling....Ludovic Courtès 2017-02-06linux-container: Do not rely on 'isatty?'....Ludovic Courtès 2016-11-10container: Pass a list of <file-system> objects as things to mount....Ludovic Courtès 2016-10-19container: Allow 'container-excursion' to the same namespaces....Ludovic Courtès