[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/10: gnu: Add daemontools.
From: |
Christopher Baines |
Subject: |
05/10: gnu: Add daemontools. |
Date: |
Tue, 30 Jan 2018 02:45:04 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit db341bfa058a3e5ab6b333ae26d979454bd1be8b
Author: Christopher Baines <address@hidden>
Date: Sun Jan 21 20:06:48 2018 +0000
gnu: Add daemontools.
* gnu/packages/admin.scm (daemontools): New variable.
---
gnu/packages/admin.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 3d3c626..7c7c457 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -187,6 +187,49 @@ interface and is based on GNU Guile.")
(home-page "https://www.gnu.org/software/shepherd/")
(properties '((ftp-server . "alpha.gnu.org")))))
+(define-public daemontools
+ (package
+ (name "daemontools")
+ (version "0.76")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://cr.yp.to/" name "/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07scvw88faxkscxi91031pjkpccql6wspk4yrlnsbrrb5c0kamd5"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ;; No tests as far as I can tell.
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir ,(string-append name "-" version))))
+ (delete 'configure)
+ (add-before 'build 'patch
+ (lambda _
+ (substitute* "src/error.h"
+ (("extern int errno;")
+ "#include <errno.h>"))))
+ (replace 'build
+ (lambda _
+ (invoke "package/compile")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (for-each (lambda (file)
+ (install-file file bin))
+ (find-files "command"))))))))
+ (synopsis "Tools for managing UNIX style services")
+ (description
+ "@code{daemontools} is a collection of tools for managing UNIX
+services.")
+ (license license:public-domain)
+ (home-page "https://cr.yp.to/daemontools.html")))
+
(define-public dfc
(package
(name "dfc")
- branch master updated (be88eb2 -> 33c88fc), Christopher Baines, 2018/01/30
- 05/10: gnu: Add daemontools.,
Christopher Baines <=
- 08/10: gnu: Add go-github.com-mattn-go-runewidth., Christopher Baines, 2018/01/30
- 02/10: gnu: Add go-github.com-howeyc-gopass., Christopher Baines, 2018/01/30
- 07/10: gnu: Add go-gopkg.in-tomb.v2., Christopher Baines, 2018/01/30
- 09/10: gnu: Add go-github.com-nsf-termbox-go., Christopher Baines, 2018/01/30
- 04/10: gnu: Add go-gopkg.in-check.v1., Christopher Baines, 2018/01/30
- 06/10: gnu: Add go-gopkg.in-mgo.v2., Christopher Baines, 2018/01/30
- 03/10: gnu: Add go-github.com-jessevdk-go-flags., Christopher Baines, 2018/01/30
- 10/10: gnu: Add mongo-tools., Christopher Baines, 2018/01/30
- 01/10: gnu: Add go-golang.org-x-crypto-ssh-terminal., Christopher Baines, 2018/01/30