Archived
1
0
Fork 0

gnu: progress: Don't use unstable tarball.

* gnu/packages/admin.scm (progress)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2018-12-23 10:20:23 +01:00
parent fc204d24be
commit 4b6456ce3b
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -148,13 +148,15 @@ usual file attributes can be checked for inconsistencies.")
(package (package
(name "progress") (name "progress")
(version "0.14") (version "0.14")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/Xfennec/" (method git-fetch)
name "/archive/v" version ".tar.gz")) (uri (git-reference
(sha256 (url "https://github.com/Xfennec/progress.git")
(base32 "1wcanixfsi5k4i9h5vrnncgjdncalsdfqllrxibxwpgfnf20sji1")) (commit (string-append "v" version))))
(file-name (string-append name "-" version ".tar.gz")))) (sha256
(base32 "1lk2v4b767klib93an4g3f7z5qrv9kdk9jf7545vw1immc4kamrl"))
(file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
@ -162,12 +164,12 @@ usual file attributes can be checked for inconsistencies.")
(inputs (inputs
`(("ncurses" ,ncurses))) `(("ncurses" ,ncurses)))
(arguments (arguments
`(#:tests? #f ; There is no test suite. `(#:tests? #f ; no test suite
#:make-flags (list "CC=gcc" #:make-flags (list "CC=gcc"
(string-append "PREFIX=" (assoc-ref %outputs "out"))) (string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure)))) ; There's no configure phase. (delete 'configure)))) ; no configure script
(home-page "https://github.com/Xfennec/progress") (home-page "https://github.com/Xfennec/progress")
(synopsis "Program to view the progress of the coreutils commands") (synopsis "Program to view the progress of the coreutils commands")
(description "A program that looks for coreutils basic commands (cp, mv, (description "A program that looks for coreutils basic commands (cp, mv,