~ruther/guix-local

ebaf8857e8829b0146631b006ba6ec448d452bd7 — Artyom V. Poptsov 1 year, 3 months ago 02cbc5f
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
1 files changed, 42 insertions(+), 42 deletions(-)

M gnu/packages/admin.scm
M gnu/packages/admin.scm => gnu/packages/admin.scm +42 -42
@@ 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")