1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 11:00:36 +02:00

gnu: daemontools: Move the package definition up.

* gnu/packages/admin.scm (daemontools): Move the package definition up to
improve the alphabetical sorting of the packages.

Change-Id: Ia236012bdf6fbbb428b88b04acb20062a51ac056
This commit is contained in:
Artyom V. Poptsov 2025-03-22 15:14:40 +03:00
parent 02cbc5f26b
commit ebaf8857e8
No known key found for this signature in database
GPG key ID: 935EBE0736DC857E

View file

@ -254,6 +254,48 @@ usual file attributes can be checked for inconsistencies.")
(home-page "https://aide.github.io/")
(license license:gpl2+)))
(define-public daemontools
(package
(name "daemontools")
(version "0.76")
(source (origin
(method url-fetch)
(uri (string-append
"https://cr.yp.to/daemontools/"
"daemontools-" version ".tar.gz"))
(sha256
(base32
"07scvw88faxkscxi91031pjkpccql6wspk4yrlnsbrrb5c0kamd5"))))
(build-system gnu-build-system)
(arguments
(list #:tests? #f ;; No tests as far as I can tell.
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _
(chdir #$(string-append "daemontools-" 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 _
(let ((bin (string-append #$output "/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 hetznercloud-cli
(package
(name "hetznercloud-cli")
@ -733,48 +775,6 @@ environments:
measurement data like CPU, memory, disk and network performance numbers.")
(license license:artistic2.0)))
(define-public daemontools
(package
(name "daemontools")
(version "0.76")
(source (origin
(method url-fetch)
(uri (string-append
"https://cr.yp.to/daemontools/"
"daemontools-" version ".tar.gz"))
(sha256
(base32
"07scvw88faxkscxi91031pjkpccql6wspk4yrlnsbrrb5c0kamd5"))))
(build-system gnu-build-system)
(arguments
(list #:tests? #f ;; No tests as far as I can tell.
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _
(chdir #$(string-append "daemontools-" 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 _
(let ((bin (string-append #$output "/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 daemonize
(package
(name "daemonize")