2015-06-25 10:00:06 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2015 Claes Wallin <claes.wallin@greatsinodevelopment.com>
|
2016-07-28 18:05:55 +00:00
|
|
|
|
;;; Copyright © 2016 Eric Le Bihan <eric.le.bihan.dev@free.fr>
|
2017-08-08 06:50:35 +00:00
|
|
|
|
;;; Copyright © 2017 Z. Ren <zren@dlut.edu.cn>
|
2021-01-11 22:50:27 +00:00
|
|
|
|
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2020-01-08 23:51:16 +00:00
|
|
|
|
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
2015-06-25 10:00:06 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages skarnet)
|
|
|
|
|
#:use-module (gnu packages)
|
|
|
|
|
#:use-module (guix licenses)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
|
|
|
|
#:use-module (guix build-system gnu))
|
|
|
|
|
|
|
|
|
|
(define-public skalibs
|
|
|
|
|
(package
|
|
|
|
|
(name "skalibs")
|
2021-04-19 23:24:23 +00:00
|
|
|
|
(version "2.10.0.3")
|
2015-06-25 10:00:06 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-03-10 22:08:14 +00:00
|
|
|
|
(uri (string-append "https://skarnet.org/software/skalibs/skalibs-"
|
2015-06-25 10:00:06 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-04-19 23:24:23 +00:00
|
|
|
|
(base32 "0ka6n5rnxd5sn5lycarf596d5wlak5s535zqqlz0rnhdcnpb105p"))))
|
2015-06-25 10:00:06 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-08-15 23:33:34 +00:00
|
|
|
|
'(#:tests? #f ; no tests exist
|
2017-08-08 06:50:35 +00:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'reproducible
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Sort source files deterministically so that the *.a
|
|
|
|
|
;; and *.so files are reproducible.
|
|
|
|
|
(substitute* "Makefile"
|
2017-12-10 14:23:32 +00:00
|
|
|
|
(("\\$\\(wildcard src/lib\\*/\\*.c\\)")
|
|
|
|
|
"$(sort $(wildcard src/lib*/*.c))"))
|
2017-08-08 06:50:35 +00:00
|
|
|
|
#t)))))
|
2018-02-23 13:44:41 +00:00
|
|
|
|
(home-page "https://skarnet.org/software/skalibs/")
|
2015-06-25 10:00:06 +00:00
|
|
|
|
(synopsis "Platform abstraction libraries for skarnet.org software")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides lightweight C libraries isolating the developer
|
|
|
|
|
from portability issues, providing a unified systems API on all platforms,
|
|
|
|
|
including primitive data types, cryptography, and POSIX concepts like sockets
|
|
|
|
|
and file system operations. It is used by all skarnet.org software.")
|
|
|
|
|
(license isc)))
|
2015-06-25 12:47:41 +00:00
|
|
|
|
|
|
|
|
|
(define-public execline
|
|
|
|
|
(package
|
|
|
|
|
(name "execline")
|
2021-04-19 23:24:29 +00:00
|
|
|
|
(version "2.8.0.1")
|
2015-06-25 12:47:41 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-03-10 22:08:14 +00:00
|
|
|
|
(uri (string-append "https://skarnet.org/software/execline/execline-"
|
2015-06-25 12:47:41 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-04-19 23:24:29 +00:00
|
|
|
|
(base32 "1v9swmhw2rcrr9fmkmd7qh8qq0kslhmvxwz2a3bhan9ksabz8wx3"))))
|
2015-06-25 12:47:41 +00:00
|
|
|
|
(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"))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'install 'post-install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(wrap-program (string-append bin "/execlineb")
|
|
|
|
|
`("PATH" ":" prefix (,bin)))))))
|
2018-08-15 23:37:12 +00:00
|
|
|
|
#:tests? #f)) ; no tests exist
|
2018-02-23 13:44:41 +00:00
|
|
|
|
(home-page "https://skarnet.org/software/execline/")
|
2015-06-25 12:47:41 +00:00
|
|
|
|
(license isc)
|
|
|
|
|
(synopsis "Non-interactive shell-like language with minimal overhead")
|
|
|
|
|
(description
|
|
|
|
|
"Execline is a (non-interactive) scripting language, separated into a
|
|
|
|
|
parser (execlineb) and a set of commands meant to execute one another in a
|
|
|
|
|
chain-execution fashion, storing the whole script in the argument array.
|
|
|
|
|
It features conditional loops, getopt-style option handling, file name
|
|
|
|
|
globbing, redirection and other shell concepts, expressed as discrete commands
|
|
|
|
|
rather than in special syntax, minimizing runtime footprint and
|
|
|
|
|
complexity.")))
|
2016-07-28 18:05:55 +00:00
|
|
|
|
|
|
|
|
|
(define-public s6
|
|
|
|
|
(package
|
|
|
|
|
(name "s6")
|
2021-04-19 23:24:37 +00:00
|
|
|
|
(version "2.10.0.3")
|
2016-07-28 18:05:55 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-03-10 22:08:14 +00:00
|
|
|
|
(uri (string-append "https://skarnet.org/software/s6/s6-"
|
2016-07-28 18:05:55 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-04-19 23:24:37 +00:00
|
|
|
|
(base32 "0mw7blp8dwr09z58m9mrxwmmvvpnjzq9klcf1vgm0hbha4qkf88x"))))
|
2016-07-28 18:05:55 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("skalibs" ,skalibs)
|
|
|
|
|
("execline" ,execline)))
|
|
|
|
|
(arguments
|
2020-01-27 03:39:29 +00:00
|
|
|
|
`(#:configure-flags (list
|
2016-07-28 18:05:55 +00:00
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "skalibs")
|
|
|
|
|
"/lib/skalibs")
|
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "execline")
|
|
|
|
|
"/lib/execline")
|
|
|
|
|
(string-append "--with-sysdeps="
|
|
|
|
|
(assoc-ref %build-inputs "skalibs")
|
|
|
|
|
"/lib/skalibs/sysdeps"))
|
2020-01-27 03:39:29 +00:00
|
|
|
|
#:tests? #f ; no tests exist
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/s6-" ,version)))
|
|
|
|
|
(copy-recursively "doc" doc)
|
|
|
|
|
#t))))))
|
2018-02-23 13:44:41 +00:00
|
|
|
|
(home-page "https://skarnet.org/software/s6")
|
2016-07-28 18:05:55 +00:00
|
|
|
|
(license isc)
|
|
|
|
|
(synopsis "Small suite of programs for process supervision")
|
|
|
|
|
(description
|
|
|
|
|
"s6 is a small suite of programs for UNIX, designed to allow process
|
|
|
|
|
supervision (a.k.a. service supervision), in the line of daemontools and
|
|
|
|
|
runit, as well as various operations on processes and daemons. It is meant to
|
|
|
|
|
be a toolbox for low-level process and service administration, providing
|
|
|
|
|
different sets of independent tools that can be used within or without the
|
|
|
|
|
framework, and that can be assembled together to achieve powerful
|
|
|
|
|
functionality with a very small amount of code.")))
|
|
|
|
|
|
2016-07-28 18:05:56 +00:00
|
|
|
|
(define-public s6-dns
|
|
|
|
|
(package
|
|
|
|
|
(name "s6-dns")
|
2021-04-19 23:24:44 +00:00
|
|
|
|
(version "2.3.5.1")
|
2016-07-28 18:05:56 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-03-10 22:08:14 +00:00
|
|
|
|
(uri (string-append "https://skarnet.org/software/s6-dns/s6-dns-"
|
2016-07-28 18:05:56 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-04-19 23:24:44 +00:00
|
|
|
|
(base32 "0qsgqwdr5ms337fc9f2b4aa5cr7myvbzndvgkgswnrdwszjm078c"))))
|
2016-07-28 18:05:56 +00:00
|
|
|
|
(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"))
|
2018-08-15 23:42:55 +00:00
|
|
|
|
#:tests? #f)) ; no tests exist
|
2018-02-23 13:44:41 +00:00
|
|
|
|
(home-page "https://skarnet.org/software/s6-dns")
|
2016-07-28 18:05:56 +00:00
|
|
|
|
(license isc)
|
|
|
|
|
(synopsis "Suite of DNS client programs")
|
|
|
|
|
(description
|
|
|
|
|
"s6-dns is a suite of DNS client programs and libraries for Unix systems,
|
|
|
|
|
as an alternative to the BIND, djbdns or other DNS clients.")))
|
|
|
|
|
|
2016-07-28 18:05:57 +00:00
|
|
|
|
(define-public s6-networking
|
|
|
|
|
(package
|
|
|
|
|
(name "s6-networking")
|
2021-04-19 23:24:51 +00:00
|
|
|
|
(version "2.4.1.1")
|
2016-07-28 18:05:57 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2021-03-07 13:27:38 +00:00
|
|
|
|
(uri (string-append "https://skarnet.org/software/s6-networking/"
|
|
|
|
|
"s6-networking-" version ".tar.gz"))
|
2016-07-28 18:05:57 +00:00
|
|
|
|
(sha256
|
2021-04-19 23:24:51 +00:00
|
|
|
|
(base32 "0m55ibx7k2wgrqbpci1n667ij0h925ajzggxalq2pj65kmwcmyx3"))))
|
2016-07-28 18:05:57 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("skalibs" ,skalibs)
|
|
|
|
|
("execline" ,execline)
|
|
|
|
|
("s6" ,s6)
|
|
|
|
|
("s6-dns" ,s6-dns)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags (list
|
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "skalibs")
|
|
|
|
|
"/lib/skalibs")
|
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "execline")
|
|
|
|
|
"/lib/execline")
|
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "s6")
|
|
|
|
|
"/lib/s6")
|
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "s6-dns")
|
|
|
|
|
"/lib/s6-dns")
|
|
|
|
|
(string-append "--with-sysdeps="
|
|
|
|
|
(assoc-ref %build-inputs "skalibs")
|
|
|
|
|
"/lib/skalibs/sysdeps"))
|
2018-08-15 23:44:40 +00:00
|
|
|
|
#:tests? #f)) ; no tests exist
|
2018-02-23 13:44:41 +00:00
|
|
|
|
(home-page "https://skarnet.org/software/s6-networking")
|
2016-07-28 18:05:57 +00:00
|
|
|
|
(license isc)
|
|
|
|
|
(synopsis "Suite of network utilities for Unix systems")
|
|
|
|
|
(description
|
|
|
|
|
"s6-networking is a suite of small networking utilities for Unix systems.
|
|
|
|
|
It includes command-line client and server management, TCP access control,
|
|
|
|
|
privilege escalation across UNIX domain sockets, IDENT protocol management and
|
|
|
|
|
clock synchronization.")))
|
2016-07-30 14:05:28 +00:00
|
|
|
|
|
|
|
|
|
(define-public s6-rc
|
|
|
|
|
(package
|
|
|
|
|
(name "s6-rc")
|
2021-04-19 23:24:57 +00:00
|
|
|
|
(version "0.5.2.2")
|
2016-07-30 14:05:28 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-03-10 22:08:14 +00:00
|
|
|
|
(uri (string-append "https://skarnet.org/software/s6-rc/s6-rc-"
|
2016-07-30 14:05:28 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-04-19 23:24:57 +00:00
|
|
|
|
(base32 "12bzc483jpd16xmhfsfrib84daj1k3kwy5s5nc18ap60apa1r39a"))))
|
2016-07-30 14:05:28 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("skalibs" ,skalibs)
|
|
|
|
|
("execline" ,execline)
|
|
|
|
|
("s6" ,s6)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags (list
|
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "skalibs")
|
|
|
|
|
"/lib/skalibs")
|
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "execline")
|
|
|
|
|
"/lib/execline")
|
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "s6")
|
|
|
|
|
"/lib/s6")
|
|
|
|
|
(string-append "--with-sysdeps="
|
|
|
|
|
(assoc-ref %build-inputs "skalibs")
|
|
|
|
|
"/lib/skalibs/sysdeps"))
|
2018-08-15 23:46:12 +00:00
|
|
|
|
#:tests? #f)) ; no tests exist
|
2018-02-23 13:44:41 +00:00
|
|
|
|
(home-page "https://skarnet.org/software/s6-rc")
|
2016-07-30 14:05:28 +00:00
|
|
|
|
(license isc)
|
|
|
|
|
(synopsis "Service manager for s6-based systems")
|
|
|
|
|
(description
|
|
|
|
|
"s6-rc is a service manager for s6-based systems, i.e. a suite of
|
|
|
|
|
programs that can start and stop services, both long-running daemons and
|
|
|
|
|
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.")))
|
2016-07-30 14:05:29 +00:00
|
|
|
|
|
|
|
|
|
(define-public s6-portable-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "s6-portable-utils")
|
2021-04-19 23:25:06 +00:00
|
|
|
|
(version "2.2.3.2")
|
2016-07-30 14:05:29 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2020-03-10 22:08:14 +00:00
|
|
|
|
"https://skarnet.org/software/s6-portable-utils/s6-portable-utils-"
|
2016-07-30 14:05:29 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-04-19 23:25:06 +00:00
|
|
|
|
(base32 "173nmygkp7ky3093dg4rx3ahvyl7ll86z8qj6pl3jd96xb9s49v6"))))
|
2016-07-30 14:05:29 +00:00
|
|
|
|
(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"))
|
2018-08-15 23:47:43 +00:00
|
|
|
|
#:tests? #f)) ; no tests exist
|
2018-02-23 13:44:41 +00:00
|
|
|
|
(home-page "https://skarnet.org/software/s6-portable-utils")
|
2016-07-30 14:05:29 +00:00
|
|
|
|
(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.")))
|
2016-07-31 08:40:08 +00:00
|
|
|
|
|
2018-02-23 14:49:00 +00:00
|
|
|
|
(define-public s6-linux-init
|
|
|
|
|
(package
|
|
|
|
|
(name "s6-linux-init")
|
2021-05-04 14:14:15 +00:00
|
|
|
|
(version "1.0.6.3")
|
2018-02-23 14:49:00 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2020-03-10 22:08:14 +00:00
|
|
|
|
"https://skarnet.org/software/s6-linux-init/s6-linux-init-"
|
2018-02-23 14:49:00 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-05-04 14:14:15 +00:00
|
|
|
|
(base32 "1idqjcxhl5wgff8yrsvx2812wahjri2hcs7qs6k62g0sdd8niqr9"))))
|
2018-02-23 14:49:00 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2020-01-08 23:59:51 +00:00
|
|
|
|
`(("execline" ,execline)
|
gnu: Fix package references.
* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package
inputs.
* gnu/packages/astronomy.scm (xplanet),
* gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb),
* gnu/packages/bioconductor.scm (r-cummerbund),
* gnu/packages/chicken.scm (chicken),
* gnu/packages/conky.scm (conky),
* gnu/packages/cran.scm (r-latex2exp),
* gnu/packages/crates-io.scm (rust-rgb),
* gnu/packages/databases.scm (mariadb),
* gnu/packages/diffoscope.scm (reprotest),
* gnu/packages/file-systems.scm (glusterfs),
* gnu/packages/finance.scm (electron-cash),
* gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo),
* gnu/packages/geo.scm (grass),
* gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue),
* gnu/packages/gnucash.scm (aqbanking),
* gnu/packages/image.scm (mtpaint),
* gnu/packages/kde-internet.scm (kopete, ktorrent),
* gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer),
* gnu/packages/linphone.scm (liblinphone),
* gnu/packages/maths.scm (ppl),
* gnu/packages/mercury.scm (mercury-minimal),
* gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins,
spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2),
* gnu/packages/networking.scm (restinio),
* gnu/packages/prolog.scm (swi-prolog),
* gnu/packages/python-web.scm (gunicorn),
* gnu/packages/python-xyz.scm (python-docusign-esign),
* gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable),
* gnu/packages/sagemath.scm (python-cypari2),
* gnu/packages/skarnet.scm (s6-linux-init),
* gnu/packages/vpn.scm (sshuttle),
* gnu/packages/web.scm (libcyaml),
* gnu/packages/xdisorg.scm (kbdd),
* gnu/packages/xorg.scm (xpra): Same.
2020-09-30 05:57:27 +00:00
|
|
|
|
("s6" ,s6)
|
2020-01-08 23:59:51 +00:00
|
|
|
|
("skalibs" ,skalibs)))
|
2018-02-23 14:49:00 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list
|
2020-11-24 03:29:39 +00:00
|
|
|
|
"--disable-static"
|
2018-02-23 14:49:00 +00:00
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "skalibs")
|
|
|
|
|
"/lib/skalibs")
|
2020-01-08 23:59:51 +00:00
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "execline")
|
|
|
|
|
"/lib/execline")
|
|
|
|
|
(string-append "--with-lib="
|
|
|
|
|
(assoc-ref %build-inputs "s6")
|
|
|
|
|
"/lib/s6")
|
2018-02-23 14:49:00 +00:00
|
|
|
|
(string-append "--with-sysdeps="
|
|
|
|
|
(assoc-ref %build-inputs "skalibs")
|
|
|
|
|
"/lib/skalibs/sysdeps"))
|
2018-08-15 23:49:29 +00:00
|
|
|
|
#:tests? #f)) ; no tests exist
|
2018-02-23 14:49:00 +00:00
|
|
|
|
(home-page "https://skarnet.org/software/s6-linux-init")
|
|
|
|
|
(license isc)
|
|
|
|
|
(synopsis "Minimalistic tools to create an s6-based init system on Linux")
|
|
|
|
|
(description
|
2018-08-15 23:51:40 +00:00
|
|
|
|
"s6-linux-init is a set of minimalistic tools to create a s6-based init
|
2018-02-23 14:49:00 +00:00
|
|
|
|
system, including an @command{/sbin/init} binary, on a Linux kernel.
|
|
|
|
|
|
|
|
|
|
It is meant to automate creation of scripts revolving around the use of other
|
|
|
|
|
skarnet.org tools, especially s6, in order to provide a complete booting
|
|
|
|
|
environment with integrated supervision and logging without having to hand-craft
|
2018-08-15 23:51:40 +00:00
|
|
|
|
all the details.")))
|
2018-02-23 14:49:00 +00:00
|
|
|
|
|
2016-07-31 08:40:08 +00:00
|
|
|
|
(define-public s6-linux-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "s6-linux-utils")
|
2021-04-19 23:25:22 +00:00
|
|
|
|
(version "2.5.1.5")
|
2016-07-31 08:40:08 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2020-03-10 22:08:14 +00:00
|
|
|
|
"https://skarnet.org/software/s6-linux-utils/s6-linux-utils-"
|
2016-07-31 08:40:08 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-04-19 23:25:22 +00:00
|
|
|
|
(base32 "1fj5ldlrc6bx40pphg29rp3byd6fal6869v85kw86c2kdgrxn063"))))
|
2016-07-31 08:40:08 +00:00
|
|
|
|
(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"))
|
2018-08-15 23:53:31 +00:00
|
|
|
|
#:tests? #f)) ; no tests exist
|
2018-02-23 13:44:41 +00:00
|
|
|
|
(home-page "https://skarnet.org/software/s6-linux-utils")
|
2016-07-31 08:40:08 +00:00
|
|
|
|
(license isc)
|
|
|
|
|
(synopsis "Set of minimalistic Linux-specific system utilities")
|
|
|
|
|
(description
|
|
|
|
|
"s6-linux-utils is a set of minimalistic Linux-specific system utilities,
|
|
|
|
|
such as @command{mount}, @command{umount}, and @command{chroot} commands,
|
|
|
|
|
Linux uevent listeners, a @command{devd} device hotplug daemon, and more.")))
|