From 915db95f67aecd4390fedfa31a0e01cf3805744d Mon Sep 17 00:00:00 2001 From: Eric Le Bihan Date: Sat, 30 Jul 2016 16:05:29 +0200 Subject: [PATCH] gnu: Add s6-portable-utils. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/skarnet.scm (s6-portable-utils): New variable. Signed-off-by: Eric Le Bihan Signed-off-by: Ludovic Courtès --- gnu/packages/skarnet.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/skarnet.scm b/gnu/packages/skarnet.scm index 1eda4461e1..7486c239d7 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 "Tiny command-line Unix utilities") + (description + "s6-portable-utils is a set of tiny general Unix utilities, often +performing well-known tasks such as @command{cut} and @command{grep}, but +optimized for simplicity and small size. They were designed for embedded +systems and other constrained environments, but they work everywhere.")))