~ruther/guix-local

c3bb472e21d4a7573b8f7624f6f976ff724bbf2e — Artyom V. Poptsov 1 year, 1 month ago 7334aa0
gnu: wakelan: Move the package definition down.

* gnu/packages/admin.scm (wakelan): Move the package definition down to
improve the alphabetical sorting of the packages in the module.

Change-Id: I8022abd00e2d721ac2f7bddc5c7c017ce4eed419
1 files changed, 38 insertions(+), 38 deletions(-)

M gnu/packages/admin.scm
M gnu/packages/admin.scm => gnu/packages/admin.scm +38 -38
@@ 2772,44 2772,6 @@ authentication server.")
    ;; Same license as wpa_supplicant.
    (license license:bsd-3)))

(define-public wakelan
  (package
    (name "wakelan")
    (version "1.1")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "ftp://ftp.gwdg.de/pub/linux/metalab/system/network/misc/wakelan-"
                    version ".tar.gz"))
              (sha256
               (base32
                "0vydqpf44146ir6k87gmqaq6xy66xhc1gkr3nsd7jj3nhy7ypx9x"))))
    (build-system gnu-build-system)
    (arguments
     (list
      #:tests? #f
      #:phases
      #~(modify-phases %standard-phases
         (replace 'configure
           (lambda* (#:key inputs #:allow-other-keys)
             (mkdir-p (string-append #$output "/bin"))
             (mkdir-p (string-append #$output "/share/man/man1"))

             ;; It's an old configure script that doesn't understand
             ;; the extra options we pass.
             (setenv "CONFIG_SHELL"
                     (search-input-file %build-inputs "bin/bash"))
             (invoke "./configure"
                     (string-append "--prefix=" #$output)
                     (string-append "--mandir=" #$output
                                    "/share/man")))))))
    (home-page "https://www.kernel.org") ; really, no home page
    (synopsis "Send a wake-on-LAN packet")
    (description
     "WakeLan broadcasts a properly formatted UDP packet across the local area
network, which causes enabled computers to power on.")
    (license license:gpl2+)))

(define-public dmidecode
  (package
    (name "dmidecode")


@@ 6841,6 6803,44 @@ of ps, top and pstree.")
    (home-page "https://github.com/walles/px")
    (license license:expat)))

(define-public wakelan
  (package
    (name "wakelan")
    (version "1.1")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "ftp://ftp.gwdg.de/pub/linux/metalab/system/network/misc/wakelan-"
                    version ".tar.gz"))
              (sha256
               (base32
                "0vydqpf44146ir6k87gmqaq6xy66xhc1gkr3nsd7jj3nhy7ypx9x"))))
    (build-system gnu-build-system)
    (arguments
     (list
      #:tests? #f
      #:phases
      #~(modify-phases %standard-phases
         (replace 'configure
           (lambda* (#:key inputs #:allow-other-keys)
             (mkdir-p (string-append #$output "/bin"))
             (mkdir-p (string-append #$output "/share/man/man1"))

             ;; It's an old configure script that doesn't understand
             ;; the extra options we pass.
             (setenv "CONFIG_SHELL"
                     (search-input-file %build-inputs "bin/bash"))
             (invoke "./configure"
                     (string-append "--prefix=" #$output)
                     (string-append "--mandir=" #$output
                                    "/share/man")))))))
    (home-page "https://www.kernel.org") ; really, no home page
    (synopsis "Send a wake-on-LAN packet")
    (description
     "WakeLan broadcasts a properly formatted UDP packet across the local area
network, which causes enabled computers to power on.")
    (license license:gpl2+)))

(define-public xfel
  (package
    (name "xfel")