This is an automated email from the git hooks/post-receive script.

avp pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 541b94f924 gnu: hashcash: Use GEXPs.
541b94f924 is described below

commit 541b94f9241aa905baf3a650dc0efe648d007e5a
Author: Artyom V. Poptsov <poptsov.art...@gmail.com>
AuthorDate: Sat Mar 29 21:43:09 2025 +0300

    gnu: hashcash: Use GEXPs.
    
    * gnu/packages/networking.scm (hashcash): Use GEXPs.
    
    Change-Id: I4736b8e4d383108a4e7f645e147fddc8dee4d368
---
 gnu/packages/networking.scm | 34 ++++++++++++++++------------------
 1 file 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

Reply via email to