[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/13] gnu: Add human.
From: |
ng0 |
Subject: |
[PATCH 09/13] gnu: Add human. |
Date: |
Thu, 12 Jan 2017 00:39:30 +0000 |
* gnu/packages/suckless.scm (human): New variable.
---
gnu/packages/suckless.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index b52a43f1f..a871db522 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -27,6 +27,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
#:use-module (gnu packages)
@@ -467,3 +468,38 @@ cups server to be installed.")
(description
"Noice is a small curses-based file browser.")
(license license:bsd-2)))
+
+;; There is no 0.2 release tarball, but it has been tagged.
+(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"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; No tests
+ #:make-flags (list "CC=gcc"
+ (string-append "PREFIX=" %output))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)))) ; No configure script
+ (home-page "http://git.2f30.org/human/")
+ (synopsis "Convert bytes to human readable formats")
+ (description
+ "Human is a small program which translate numbers into a
+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))))
--
2.11.0
- 2f30, v2, (continued)
- 2f30, v2, ng0, 2017/01/11
- [PATCH 04/13] licenses: Add wtfpl2., ng0, 2017/01/11
- [PATCH 01/13] gnu: Add xbattmon., ng0, 2017/01/11
- [PATCH 03/13] gnu: Add spoon., ng0, 2017/01/11
- [PATCH 05/13] gnu: Add skroll., ng0, 2017/01/11
- [PATCH 07/13] gnu: Add prout., ng0, 2017/01/11
- [PATCH 06/13] gnu: Add sbm., ng0, 2017/01/11
- [PATCH 12/13] gnu: Add libutf., ng0, 2017/01/11
- [PATCH 11/13] gnu: Add colors., ng0, 2017/01/11
- [PATCH 02/13] gnu: Add wificurse., ng0, 2017/01/11
- [PATCH 09/13] gnu: Add human.,
ng0 <=
- [PATCH 08/13] gnu: Add noice., ng0, 2017/01/11
- [PATCH 10/13] gnu: Add fortify-headers., ng0, 2017/01/11
- [PATCH 13/13] gnu: Add lchat., ng0, 2017/01/11
- Re: 2f30, v2, Leo Famulari, 2017/01/13