From 16e42db095eb7dff1ed93f2321ee743257e2b821 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sun, 29 Dec 2019 21:21:49 +0100 Subject: gnu: guile-bytestructures: Switch to git-fetch. * gnu/packages/guile.scm (guile-bytestructures)[home-page]: Move up, [source]: switch form url-fetch to git-fetch method, [native-inputs]: add autoconf and automake. --- gnu/packages/guile.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'gnu/packages/guile.scm') diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 03aa474bd9..daac970848 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -585,20 +585,22 @@ Guile's foreign function interface.") (package (name "guile-bytestructures") (version "1.0.7") + (home-page "https://github.com/TaylanUB/scheme-bytestructures") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/TaylanUB/scheme-bytestructures" - "/releases/download/v" version - "/bytestructures-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) (sha256 (base32 "0q0habjiy3h9cigb7q1br9kz6z212dn2ab31f6dgd3rrmsfn5rvb")))) (build-system gnu-build-system) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) (inputs `(("guile" ,guile-2.2))) - (home-page "https://github.com/TaylanUB/scheme-bytestructures") (synopsis "Structured access to bytevector contents for Guile") (description "Guile bytestructures offers a system imitating the type system -- cgit v1.2.3