Patchwork [2/3] gnu: Add s6-portable-utils.

login
register
mail settings
Submitter Eric Le Bihan
Date July 30, 2016, 2:05 p.m.
Message ID <1469887530-25353-3-git-send-email-eric.le.bihan.dev@free.fr>
Download mbox | patch
Permalink /patch/14161/
State New
Headers show

Comments

Eric Le Bihan - July 30, 2016, 2:05 p.m.
* gnu/packages/skarnet.scm (s6-portable-utils): New variable.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
---
 gnu/packages/skarnet.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
Ludovic Courtès - July 31, 2016, 11:01 p.m.
Eric Le Bihan <eric.le.bihan.dev@free.fr> skribis:

> * gnu/packages/skarnet.scm (s6-portable-utils): New variable.

[...]

> +    (synopsis "Set of tiny general Unix utilities")

Removed “Set of”…

> +    (description
> +     "s6-portable-utils is a set of tiny general Unix utilities, often
> +performing well-known tasks such as cut and grep, but optimized for

… and added @command here.

Applied, thanks!

Ludo’.

Patch

diff --git a/gnu/packages/skarnet.scm b/gnu/packages/skarnet.scm
index 02094a0..c41f290 100644
--- a/gnu/packages/skarnet.scm
+++ b/gnu/packages/skarnet.scm
@@ -246,3 +246,36 @@  one-time initialization scripts, in the proper order according to a
 dependency tree. It ensures that long-running daemons are supervised by the
 s6 infrastructure, and that one-time scripts are also run in a controlled
 environment.")))
+
+(define-public s6-portable-utils
+  (package
+   (name "s6-portable-utils")
+   (version "2.0.6.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append
+           "http://skarnet.org/software/s6-portable-utils/s6-portable-utils-"
+           version ".tar.gz"))
+     (sha256
+      (base32
+       "0jwxj0ma4zd1h6i3i98nsp0miidr54phap7dqwf6c8vafq9psfr3"))))
+    (build-system gnu-build-system)
+    (inputs `(("skalibs" ,skalibs)))
+    (arguments
+     '(#:configure-flags (list
+                          (string-append "--with-lib="
+                                         (assoc-ref %build-inputs "skalibs")
+                                         "/lib/skalibs")
+                          (string-append "--with-sysdeps="
+                                         (assoc-ref %build-inputs "skalibs")
+                                         "/lib/skalibs/sysdeps"))
+       #:tests? #f))
+    (home-page "http://skarnet.org/software/s6-portable-utils")
+    (license isc)
+    (synopsis "Set of tiny general Unix utilities")
+    (description
+     "s6-portable-utils is a set of tiny general Unix utilities, often
+performing well-known tasks such as cut and grep, but optimized for
+simplicity and small size. They were designed for embedded systems and other
+constrained environments, but they work everywhere.")))