aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2024-10-13 12:26:17 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2024-10-13 12:26:17 +0000
commit1797998f9f59c594b1adc0ad77782fa2fae72d66 (patch)
treeb369e73e6931b08b63ea86b04c5bdd04540f0013
parentfda98444979f0c39e4e730b63004f2f4839773a6 (diff)
downloadguix-luca-repo-1797998f9f59c594b1adc0ad77782fa2fae72d66.tar
guix-luca-repo-1797998f9f59c594b1adc0ad77782fa2fae72d66.tar.gz
guix-luca-repo-1797998f9f59c594b1adc0ad77782fa2fae72d66.tar.bz2
guix-luca-repo-1797998f9f59c594b1adc0ad77782fa2fae72d66.tar.lz
guix-luca-repo-1797998f9f59c594b1adc0ad77782fa2fae72d66.tar.xz
guix-luca-repo-1797998f9f59c594b1adc0ad77782fa2fae72d66.tar.zst
guix-luca-repo-1797998f9f59c594b1adc0ad77782fa2fae72d66.zip
luca-systool: Add runitHEADmaster
-rw-r--r--README4
-rw-r--r--luca-systool.scm33
2 files changed, 37 insertions, 0 deletions
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)))