me
/
guix
Archived
1
0
Fork 0

gnu: human: Update to 0.3.

* gnu/packages/suckless.scm (human): Update to 0.3.
[source]: Use version as the tag, and GIT-FILE-NAME.
master
Tobias Geerinckx-Rice 2018-05-30 22:20:48 +02:00
parent 8f7c6a5ff7
commit aa945bf637
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 16 additions and 19 deletions

View File

@ -527,31 +527,28 @@ cups server to be installed.")
"Noice is a small curses-based file browser.") "Noice is a small curses-based file browser.")
(license license:bsd-2))) (license license:bsd-2)))
;;; We want some commits that are more recent than the latest release, 0.2
(define-public human (define-public human
(let ((commit "50c80e6ba12823184b6866e06b955dbd2ccdc5d7")
(revision "1"))
(package (package
(name "human") (name "human")
(version (string-append "0.2-" revision "." (string-take commit 7))) (version "0.3")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "git://git.2f30.org/human.git") (url "git://git.2f30.org/human.git")
(commit commit))) (commit version)))
(file-name (string-append name "-" version "-checkout")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"18xngm4h9vsyip52zwd79rrp1irzg6rs462lpbp61amf7hj955gn")))) "0y0bsmvpwfwb2lwspi6a799y34h1faxc6yfanyw6hygxc8661mga"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; No tests `(#:tests? #f ; no tests
#:make-flags (list "CC=gcc" #:make-flags (list "CC=gcc"
(string-append "PREFIX=" %output)) (string-append "PREFIX=" %output))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure)))) ; No configure script (delete 'configure)))) ; no configure script
(home-page "https://git.2f30.org/human/") (home-page "https://git.2f30.org/human/")
(synopsis "Convert bytes to human readable formats") (synopsis "Convert bytes to human readable formats")
(description (description
@ -560,7 +557,7 @@ human readable format. By default, it tries to detect the best
factorisation, but you can force its output. factorisation, but you can force its output.
You can adjust the number of decimals with the @code{SCALE} You can adjust the number of decimals with the @code{SCALE}
environment variable.") environment variable.")
(license license:wtfpl2)))) (license license:wtfpl2)))
(define-public fortify-headers (define-public fortify-headers
(package (package