gnu: shepherd: Update to 0.3.

* gnu/packages/admin.scm (shepherd): Update to 0.3.
This commit is contained in:
Ludovic Courtès 2016-01-28 11:45:03 +01:00
parent 9a8b9eb8de
commit 133056bd74
1 changed files with 24 additions and 24 deletions

View File

@ -62,6 +62,7 @@
#:use-module (gnu packages autotools)) #:use-module (gnu packages autotools))
(define-public dmd (define-public dmd
;; Deprecated. Kept around "just in case."
(let ((base-version "0.2") (let ((base-version "0.2")
(patch-level "01")) (patch-level "01"))
(package (package
@ -101,30 +102,29 @@ interface and is based on GNU Guile.")
(home-page "http://www.gnu.org/software/dmd/")))) (home-page "http://www.gnu.org/software/dmd/"))))
(define-public shepherd (define-public shepherd
(let ((commit "bc7757cd1f3d0a162e765d0ecebde052765a6a23")) (package
(package (name "shepherd")
(inherit dmd) (version "0.3")
(name "shepherd") (source (origin
(version (string-append "0.2-1." (string-take commit 7))) (method url-fetch)
(source (origin (uri (string-append "ftp://alpha.gnu.org/gnu/dmd/shepherd-"
(method git-fetch) version ".tar.gz"))
(uri (git-reference (sha256
(url "git://git.savannah.gnu.org/shepherd.git") (base32
(commit commit))) "13mcy2131h7hggqvxbfxyrnbz46aaiaq2agng3x3f789a78n4mnn"))))
(sha256 (build-system gnu-build-system)
(base32 (arguments
"0ks4yy6ji1s7id09im5jcwrr4y5ss3244hcy7v504cwf21gdkdgq")))) '(#:configure-flags '("--localstatedir=/var")))
(arguments (native-inputs `(("pkg-config" ,pkg-config)))
`(#:phases (modify-phases %standard-phases (inputs `(("guile" ,guile-2.0)))
(add-after 'unpack 'autoreconf (synopsis "System service manager")
(lambda _ (description
(zero? (system* "autoreconf" "-vfi"))))) "The GNU Shepherd is a daemon-managing daemon, meaning that it supervises
,@(package-arguments dmd))) the execution of system services, replacing similar functionality found in
(native-inputs `(("autoconf" ,(autoconf-wrapper)) typical init systems. It provides dependency-handling through a convenient
("automake" ,automake) interface and is based on GNU Guile.")
("texinfo" ,texinfo) (license license:gpl3+)
("help2man" ,help2man) (home-page "http://www.gnu.org/software/shepherd/")))
,@(package-native-inputs dmd))))))
(define-public dfc (define-public dfc
(package (package