guix-devel
[Top][All Lists]
Advanced

[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: Mon, 9 Jan 2017 20:21:21 +0000

* gnu/packages/suckless.scm (human): New variable.
---
 gnu/packages/suckless.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 2addb8d2b..afbd8ccd6 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -467,3 +467,33 @@ cups server to be installed.")
     (description
      "Noice is a small curses-based file browser.")
     (license license:bsd-2)))
+
+(define-public human
+  (package
+    (name "human")
+    (version "0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://dl.2g30.org/releases/";
+                           name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0dviqgp59ih5qrlicxpz24dbf7vigzpgya68fx4504sqdjnrr04s"))))
+    (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://2f30.org";)
+    (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:wtfpl)))
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]