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

login
register
mail settings
Submitter Eric Le Bihan
Date July 31, 2016, 8:40 a.m.
Message ID <1469954408-31313-1-git-send-email-eric.le.bihan.dev@free.fr>
Download mbox | patch
Permalink /patch/14166/
State New
Headers show

Comments

Eric Le Bihan - July 31, 2016, 8:40 a.m.
* gnu/packages/skarnet.scm (s6-linux-utils): New variable.

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

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

[...]

> +    (description
> +     "s6-linux-utils is a set of minimalistic Linux-specific system
> +utilities.")))

Expounded a bit and pushed, thanks!

Ludo’.

Patch

diff --git a/gnu/packages/skarnet.scm b/gnu/packages/skarnet.scm
index c41f290..ef85f8b 100644
--- a/gnu/packages/skarnet.scm
+++ b/gnu/packages/skarnet.scm
@@ -279,3 +279,34 @@  environment.")))
 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.")))
+
+(define-public s6-linux-utils
+  (package
+   (name "s6-linux-utils")
+   (version "2.1.0.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append
+           "http://skarnet.org/software/s6-linux-utils/s6-linux-utils-"
+           version ".tar.gz"))
+     (sha256
+      (base32
+       "1bby751blynb7p8wd3npjm71lf10ysmfvqrd3dqrhhajpa2bl8rm"))))
+    (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-linux-utils")
+    (license isc)
+    (synopsis "Set of minimalistic Linux-specific system utilities")
+    (description
+     "s6-linux-utils is a set of minimalistic Linux-specific system
+utilities.")))