Paste number 305987: shepherd

Paste number 305987: shepherd
Pasted by: civodul
When:5 years, 10 months ago
Share:Tweet this! | http://paste.lisp.org/+6K3N
Channel:None
Paste contents:
Raw Source | XML | Display As
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 953c5b4..fdbb0be 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -58,7 +58,8 @@
   #:use-module (gnu packages image)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages man))
+  #:use-module (gnu packages man)
+  #:use-module (gnu packages autotools))
 
 (define-public dmd
   (let ((base-version "0.2")
@@ -99,6 +100,31 @@ interface and is based on GNU Guile.")
       (license license:gpl3+)
       (home-page "http://www.gnu.org/software/dmd/"))))
 
+(define-public shepherd
+  (let ((commit "414f1eab23d1bd7c96dbf54aad3606636079f75c"))
+   (package
+     (inherit dmd)
+     (name "shepherd")
+     (version (string-append "0.3-1." (string-take commit 7)))
+     (source (origin
+               (method git-fetch)
+               (uri (git-reference
+                     (url "git://git.savannah.gnu.org/shepherd.git")
+                     (commit commit)))
+               (sha256
+                (base32
+                 "1gmss1mx89nw8n2a8sybh3c7wmmw27r1kj1sqh1x167wlbzx6bb6"))))
+     (arguments
+      `(#:phases (modify-phases %standard-phases
+                   (add-after 'unpack 'autoreconf
+                     (lambda _
+                       (zero? (system* "autoreconf" "-vfi")))))
+        ,@(package-arguments dmd)))
+     (native-inputs `(("autoconf" ,(autoconf-wrapper))
+                      ("automake" ,automake)
+                      ("texinfo" ,texinfo)
+                      ,@(package-native-inputs dmd))))))
+
 (define-public dfc
   (package
    (name "dfc")

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.