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.
This commit is contained in:
Mathieu Othacehe 2019-12-29 21:21:49 +01:00
parent 247a47bc40
commit 16e42db095
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -585,20 +585,22 @@ (define-public guile-bytestructures
(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