From 2e7b78f51795f396e47ea0163042f51e2f78bc72 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 19 Aug 2025 13:52:54 +0100 Subject: webhook: Rewrite package definition using new G-expression style. --- guix/forge/webhook.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'guix/forge') diff --git a/guix/forge/webhook.scm b/guix/forge/webhook.scm index 7915bcb..a13840d 100644 --- a/guix/forge/webhook.scm +++ b/guix/forge/webhook.scm @@ -1,5 +1,5 @@ ;;; guix-forge --- Guix software forge meta-service -;;; Copyright © 2022 Arun Isaac +;;; Copyright © 2022, 2025 Arun Isaac ;;; ;;; This file is part of guix-forge. ;;; @@ -63,15 +63,14 @@ "0n03xkgwpzans0cymmzb0iiks8mi2c76xxdak780dk0jbv6qgp5i")))) (build-system go-build-system) (arguments - `(#:import-path "github.com/adnanh/webhook" - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'configure - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "src/github.com/adnanh/webhook/webhook_test.go" - (("/bin/echo") - (string-append (assoc-ref inputs "coreutils") - "/bin/echo")))))))) + (list #:import-path "github.com/adnanh/webhook" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/github.com/adnanh/webhook/webhook_test.go" + (("/bin/echo") + (search-input-file inputs "bin/echo")))))))) (home-page "https://github.com/adnanh/webhook") (synopsis "Lightweight incoming webhook server") (description "webhook is a lightweight configurable tool written -- cgit 1.4.1