Gist · 13 / URL: https://gist.050821.xyz/13
Public Gist
Expires: Never
goodspeed - created 3 months and 7 days ago
added file: dinit.scm
dinit.scm
;; dinit.scm - Guix package definition for Dinit                                                                                                                                                                                             
(use-modules (guix packages)
             (guix download)
             (guix build-system gnu)
             (guix licenses)
             (gnu packages pkg-config)
             (gnu packages m4))

(define-public dinit
  (package
   (name "dinit")
   (version "0.19.3")
   (source
    (origin
     (method url-fetch)
     (uri (format #f "https://github.com/davmac314/dinit/releases/download/v~a/dinit-~a.tar.xz" version version))
     (sha256
      (base32 "0gz462vlahlni8a94pb2fv6gl06chc7ivwq5g8c4vby33aqd7piv"))))
   (build-system gnu-build-system)
   (arguments
    `(#:configure-flags (list (string-append "--prefix=" (assoc-ref %outputs "out"))
                              (string-append "--exec-prefix=" (assoc-ref %outputs "out"))
                              "--disable-shutdown")))
   (native-inputs
    (list pkg-config m4))
   (home-page "https://davmac.org/projects/dinit/")
   (synopsis "Service manager with dependency management")
   (description
    "Dinit is a service manager for Unix-like operating systems that                                                                                                                                                                         
allows the user to manage services with dependencies and parallel startup.")
   (license asl2.0)))