diff options
author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-03-29 21:43:09 +0300 |
---|---|---|
committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-03-29 21:43:16 +0300 |
commit | 541b94f9241aa905baf3a650dc0efe648d007e5a (patch) | |
tree | 5e686b5f1a30c6d99c5bbc6486b75ffe82ff782d | |
parent | c8f85dee0b17c07af10f9c33725400a0cc021afe (diff) | |
download | guix-541b94f9241aa905baf3a650dc0efe648d007e5a.tar.gz guix-541b94f9241aa905baf3a650dc0efe648d007e5a.zip |
gnu: hashcash: Use GEXPs.
* gnu/packages/networking.scm (hashcash): Use GEXPs.
Change-Id: I4736b8e4d383108a4e7f645e147fddc8dee4d368
-rw-r--r-- | gnu/packages/networking.scm | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 1416e0e60f..ef374e8133 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -4595,25 +4595,23 @@ an implementation of LLDP. It also supports some proprietary protocols.") "15kqaimwb2y8wvzpn73021bvay9mz1gqqfc40gk4hj6f84nz34h1")))) (build-system gnu-build-system) (arguments - `(#:make-flags (list (string-append "CC=" ,(cc-for-target))) + (list #:make-flags #~(list (string-append "CC=" #$(cc-for-target))) #:phases - (modify-phases %standard-phases - (delete 'configure) - ;; No tests available. - (delete 'check) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((outdir (assoc-ref outputs "out")) - (bindir (string-append outdir "/bin")) - (mandir (string-append outdir "/share/man/man1")) - (docdir (string-append outdir "/share/doc/hashcash-" ,version))) - ;; Install manually, as we don't need the `sha1' binary - (install-file "hashcash" bindir) - (install-file "hashcash.1" mandir) - (install-file "README" docdir) - (install-file "LICENSE" docdir) - (install-file "CHANGELOG" docdir) - #t)))))) + #~(modify-phases %standard-phases + (delete 'configure) + ;; No tests available. + (delete 'check) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((bindir (string-append #$output "/bin")) + (mandir (string-append #$output "/share/man/man1")) + (docdir (string-append #$output "/share/doc/hashcash-" #$version))) + ;; Install manually, as we don't need the `sha1' binary + (install-file "hashcash" bindir) + (install-file "hashcash.1" mandir) + (install-file "README" docdir) + (install-file "LICENSE" docdir) + (install-file "CHANGELOG" docdir))))))) (home-page "https://www.hashcash.org/") (synopsis "Denial-of-service countermeasure") (description "Hashcash is a proof-of-work algorithm, which has been used |