diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2018-05-30 22:20:48 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2018-05-31 04:54:48 +0200 |
commit | aa945bf6378b6edcca0502ff7ec6abe57d904405 (patch) | |
tree | 5f0f33f78735e3de170c810d1d416f942eb8543f | |
parent | 8f7c6a5ff79f363a39d3a7108ae245c2e12ad32b (diff) | |
download | guix-aa945bf6378b6edcca0502ff7ec6abe57d904405.tar.gz |
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.
-rw-r--r-- | gnu/packages/suckless.scm | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 3ff4b2eba5..5144d90186 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -527,31 +527,28 @@ cups server to be installed.") "Noice is a small curses-based file browser.") (license license:bsd-2))) -;;; We want some commits that are more recent than the latest release, 0.2 (define-public human - (let ((commit "50c80e6ba12823184b6866e06b955dbd2ccdc5d7") - (revision "1")) - (package - (name "human") - (version (string-append "0.2-" revision "." (string-take commit 7))) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "git://git.2f30.org/human.git") - (commit commit))) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "18xngm4h9vsyip52zwd79rrp1irzg6rs462lpbp61amf7hj955gn")))) + (package + (name "human") + (version "0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "git://git.2f30.org/human.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0y0bsmvpwfwb2lwspi6a799y34h1faxc6yfanyw6hygxc8661mga")))) (build-system gnu-build-system) (arguments - `(#:tests? #f ; No tests + `(#:tests? #f ; no tests #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)) #:phases (modify-phases %standard-phases - (delete 'configure)))) ; No configure script + (delete 'configure)))) ; no configure script (home-page "https://git.2f30.org/human/") (synopsis "Convert bytes to human readable formats") (description @@ -560,7 +557,7 @@ human readable format. By default, it tries to detect the best factorisation, but you can force its output. You can adjust the number of decimals with the @code{SCALE} environment variable.") - (license license:wtfpl2)))) + (license license:wtfpl2))) (define-public fortify-headers (package |