gnu: libnsl: Do not use unstable tarball.

* gnu/packages/onc-rpc.scm (libnsl)[source]: Switch to GIT-FETCH.
This commit is contained in:
Marius Bakke 2019-06-15 09:18:51 +02:00
parent d95503ab82
commit fd641a23f5
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 7 additions and 5 deletions

View File

@ -23,6 +23,7 @@
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
@ -105,13 +106,14 @@ universal addresses.")
(name "libnsl") (name "libnsl")
(version "1.2.0") (version "1.2.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/thkukuk/libnsl/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/thkukuk/libnsl.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1y6kmxmv1difzvdhx7grqzw0j2v2b74mg4kjb803m8jcgkqqx8m5")))) "1chzqhcgh0yia9js8mh92cmhyka7rh32ql6b3mgdk26n94dqzs8b"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("autoconf" ,autoconf)