gnu: findnewest: Don't use unstable tarball.

* gnu/packages/version-control.scm (findnewest)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-30 20:27:21 +01:00
parent 6a8472d1d9
commit 395ee951c0
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1763,14 +1763,15 @@ (define-public findnewest
(package
(name "findnewest")
(version "0.3")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/0-wiz-0/findnewest/archive/findnewest-"
version ".tar.gz"))
(sha256
(base32
"1ydis4y0amkgfr4y60sn076f1l41ya2kn89kfd9fqf44f9ccgb5r"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/0-wiz-0/findnewest.git")
(commit (string-append "findnewest-" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1x1cbn2b27h5r0ah5xc06fkalfdci2ngrgd4wibxjw0h88h0nvgq"))))
(build-system gnu-build-system)
(native-inputs `(("autoconf" ,autoconf)
("automake" ,automake)))