From 1797998f9f59c594b1adc0ad77782fa2fae72d66 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Sun, 13 Oct 2024 14:26:17 +0200 Subject: luca-systool: Add runit --- README | 4 ++++ luca-systool.scm | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 README create mode 100644 luca-systool.scm diff --git a/README b/README new file mode 100644 index 0000000..f92fd0e --- /dev/null +++ b/README @@ -0,0 +1,4 @@ +guix-luca-repo +============== + +Various packages that have not been upstreamed to guix (yet). diff --git a/luca-systool.scm b/luca-systool.scm new file mode 100644 index 0000000..c8ad8d1 --- /dev/null +++ b/luca-systool.scm @@ -0,0 +1,33 @@ +(define-module (luca-systool) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix build-system gnu) + #:use-module (guix download)) + +(define-public runit + (package + (name "runit") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://smarden.org/runit/runit-" version + ".tar.gz")) + (sha256 + (base32 "065s8w62r6chjjs6m9hapcagy33m75nlnxb69vg0f4ngn061dl3g")))) + (build-system gnu-build-system) + (arguments + `(#:phases #~(modify-phases %standard-phases + (add-before 'configure 'build + 'install + (lambda _ + (chdir (string-append "runit-" version "/src"))))) + #:tests? #f)) + (synopsis "UNIX init scheme with service supervision") + (description + "This package provides a cross-platform Unix init scheme with service +supervision, a replacement for sysvinit, and other init schemes. It runs +on GNU/Linux, *BSD, MacOSX, Solaris, and can easily be adapted to other +Unix operating systems") + (home-page "https://smarden.org/runit/") + (license bsd-3))) -- cgit v1.2.3