GNU bug report logs - #74858
[PATCH] gnu: add guile-guix-graze

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: bigbookofbug@HIDDEN; Keywords: patch; dated Fri, 13 Dec 2024 20:20:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Dec 2024 20:19:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 13 15:19:06 2024
Received: from localhost ([127.0.0.1]:44242 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tMC7u-0001fb-CX
	for submit <at> debbugs.gnu.org; Fri, 13 Dec 2024 15:19:06 -0500
Received: from lists.gnu.org ([209.51.188.17]:57274)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bigbookofbug@HIDDEN>) id 1tMC7s-0001fT-7x
 for submit <at> debbugs.gnu.org; Fri, 13 Dec 2024 15:19:05 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bigbookofbug@HIDDEN>)
 id 1tMC7r-00013K-OZ
 for guix-patches@HIDDEN; Fri, 13 Dec 2024 15:19:03 -0500
Received: from mail-40132.protonmail.ch ([185.70.40.132])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bigbookofbug@HIDDEN>)
 id 1tMC7n-0007zD-RK
 for guix-patches@HIDDEN; Fri, 13 Dec 2024 15:19:03 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me;
 s=ccj4cvxdfngovp4tt5n4chefdu.protonmail; t=1734121133; x=1734380333;
 bh=a6ylM6no9+xTkZM+2mCvcEeM6QwQWyBXOGfEH2Iqaqw=;
 h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector:
 List-Unsubscribe:List-Unsubscribe-Post;
 b=aU+jcoZG0usL9Kj0IiCtXUozQGcAoNrPLZpoaGaL/JIi4XD6DrrIkmTnnbxhEZs6b
 GCk9Lg4MV5dc7/NsEDJJ7QQfInlqDmErU8bMWcUwYpO3MXeW1xt3F31XTuDUvkMdT5
 IGcrwKfbqno+38NYLupi1fGcHrVsalFF317IHAYK+V4s3lsnWa8BWYVd3frDjaMKZ6
 ZhS5vU6eVuqX1rfJ5kHEFonPqjhUKCVGXeOEiQvby69OVbz7c6ItFJXwXOKUtiyvyP
 FG7ZqQ4OXibjbWb1Z5Cc+D15OMRkIp2dS0r6eAeY2EX2KDY6KIx+3Ah7m7QdaWEfRo
 j3S7Q0mWfjNYQ==
Date: Fri, 13 Dec 2024 20:18:47 +0000
To: guix-patches@HIDDEN
From: bigbookofbug@HIDDEN
Subject: [PATCH] gnu: add guile-guix-graze
Message-ID: <20241213201839.14282-1-bigbookofbug@HIDDEN>
Feedback-ID: 84785949:user:proton
X-Pm-Message-ID: 79609450a8f1f6a66a912429fda879b19623eab5
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.70.40.132;
 envelope-from=bigbookofbug@HIDDEN; helo=mail-40132.protonmail.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: emma thompson <bigbookofbug@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

From: emma thompson <bigbookofbug@HIDDEN>

---
 gnu/packages/guile-xyz.scm | 63 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index bd5878d229..ef98fdbc54 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2317,6 +2317,69 @@ (define-public guile2.2-ics
     (inputs (list guile-2.2))
     (propagated-inputs (list guile2.2-lib guile2.2-dsv guile2.2-smc))))
=20
+(define-public guile-guix-graze
+  (let ((version "0.1"))
+    (package
+      (name "guix-graze")
+      (version version)
+      (source
+       (origin
+=09 (method git-fetch)
+=09 (uri (git-reference
+=09       (url "https://gitlab.com/bigbookofbug/guix-graze")
+=09       (commit version)))
+=09 (file-name (git-file-name name version))
+=09 (sha256
+=09  (base32 "0fk8gfdnm41gwmhppjv7zwg5j7fb0n7ww27sdcdf8s9rjs9415fl"))))
+      (build-system gnu-build-system)
+      (arguments
+       (list
+=09#:modules
+          `(((guix build guile-build-system)
+=09     #:select
+=09     (target-guile-effective-version))
+=09    ,@%default-gnu-imported-modules)
+=09  #:phases
+          (with-imported-modules
+            `((guix build guile-build-system)
+              ,@%default-gnu-imported-modules)
+            #~(modify-phases
+                    %standard-phases
+                    (add-after
+=09=09=09'install
+=09=09=09'graze-wrap-binaries
+=09=09      (lambda* (#:key inputs #:allow-other-keys)
+=09=09=09(let* ((version (target-guile-effective-version))
+=09=09=09       (site-ccache
+=09=09=09=09(string-append "/lib/guile/" version "/site-ccache"))
+=09=09=09       (site (string-append "/share/guile/site/" version))
+=09=09=09       (dep-path
+=09=09=09=09(lambda (env path)
+=09=09=09=09  (list env ":" 'prefix
+=09=09=09=09=09(cons (string-append
+=09=09=09=09=09       nil output
+=09=09=09=09=09       path)
+=09=09=09=09=09      (map (lambda (input)
+=09=09=09=09=09=09     (string-append
+=09=09=09=09=09=09      (assoc-ref inputs input)
+=09=09=09=09=09=09      path))
+=09=09=09=09=09=09   (list "guile-config"))))))
+=09=09=09       (bin (string-append (ungexp output) "/bin/")))
+=09=09=09  (wrap-program
+=09=09=09      (string-append bin "graze")
+=09=09=09    (dep-path "GUILE_LOAD_PATH" site)
+=09=09=09    (dep-path "GUILE_LOAD_COMPILED_PATH" site-ccache)))))))))
+      (native-inputs
+       (list autoconf automake pkg-config guile-3.0))
+      (inputs (list bash-minimal guile-3.0))
+      (propagated-inputs (list guile-config))
+      (synopsis "A guix shell templating and automation system")
+      (description
+       "Graze is a command-line tool used for complex guix shell invocatio=
ns, where a simple manifest does not suffice. Through the use of a shell.sc=
m file, it allows for a declarative approach to Guix development environmen=
ts, and a project templating system inspired by Nix's flake templates.")
+      (home-page
+   "https://gitlab.com/bigbookofbug/guix-graze")
+      (license license:gpl3+))))
+
 (define-public guile-imanifest
   (let ((commit "ccd5a2111b008d778106f5595a3a585954d95d0")
         (revision "0"))

base-commit: 0787a180b3ca64d3958438920ca1b58a2a27fba4
--=20
2.46.0






Acknowledgement sent to bigbookofbug@HIDDEN:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#74858; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.