unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68107] [PATCH 1/2] gnu: cl-cmd: Update to 0.0.1-8.0164d57.
@ 2023-12-29 12:53 Paul A. Patience
  2023-12-29 12:54 ` [bug#68107] [PATCH 2/2] gnu: cl-cmd: Improve package style Paul A. Patience
  2024-01-04 14:13 ` bug#68107: [PATCH 1/2] gnu: cl-cmd: Update to 0.0.1-8.0164d57 Guillaume Le Vaillant
  0 siblings, 2 replies; 3+ messages in thread
From: Paul A. Patience @ 2023-12-29 12:53 UTC (permalink / raw)
  To: 68107; +Cc: Paul A. Patience

* gnu/packages/lisp-xyz.scm (sbcl-cmd): Update to 0.0.1-8.0164d57.

Change-Id: I1483861da5373f8bebe393ca7f8e80ad7f84cb06
---
 gnu/packages/lisp-xyz.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1625197550..a9a2274bbe 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -17952,19 +17952,20 @@ (define-public cl-shlex
   (sbcl-package->cl-source-package sbcl-shlex))
 
 (define-public sbcl-cmd
-  (let ((commit "dda16c251992d2711dd98a073c436e73355cdb15"))
+  (let ((commit "0164d574ba236e2001ee1d9dba3f4774c7512a8c")
+        (revision "8"))
     (package
       (name "sbcl-cmd")
-      (version (git-version "0.0.1" "7" commit))
+      (version (git-version "0.0.1" revision commit))
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/ruricolist/cmd/")
                (commit commit)))
-         (file-name (git-file-name name version))
+         (file-name (git-file-name "cl-cmd" version))
          (sha256
-          (base32 "1m72vir64h21y3z1dmdywr0r3dl9lwawgd5p9g0cl3bgmz2wjgqr"))))
+          (base32 "03wbckzmz6pqdlz7pyar6nfg4vs4bl0b2np7n3kk3qhjbrdakc4m"))))
       (build-system asdf-build-system/sbcl)
       (inputs
        `(("alexandria" ,sbcl-alexandria)

base-commit: d4cef7edffe0283949fc0f06d7796cea3543b92f
-- 
2.41.0






^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#68107] [PATCH 2/2] gnu: cl-cmd: Improve package style.
  2023-12-29 12:53 [bug#68107] [PATCH 1/2] gnu: cl-cmd: Update to 0.0.1-8.0164d57 Paul A. Patience
@ 2023-12-29 12:54 ` Paul A. Patience
  2024-01-04 14:13 ` bug#68107: [PATCH 1/2] gnu: cl-cmd: Update to 0.0.1-8.0164d57 Guillaume Le Vaillant
  1 sibling, 0 replies; 3+ messages in thread
From: Paul A. Patience @ 2023-12-29 12:54 UTC (permalink / raw)
  To: 68107; +Cc: Paul A. Patience

* gnu/packages/lisp-xyz.scm (sbcl-cmd)[arguments]: Use
  G-expressions. Move above inputs.
  [inputs]: Remove labels. Sort.

Change-Id: I7cafea4cce3b2dfb89b21c43d71b96767d55c7f5
---
 gnu/packages/lisp-xyz.scm | 52 +++++++++++++++++++--------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index a9a2274bbe..2b56670c79 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -17967,33 +17967,33 @@ (define-public sbcl-cmd
          (sha256
           (base32 "03wbckzmz6pqdlz7pyar6nfg4vs4bl0b2np7n3kk3qhjbrdakc4m"))))
       (build-system asdf-build-system/sbcl)
-      (inputs
-       `(("alexandria" ,sbcl-alexandria)
-         ("coreutils" ,coreutils)
-         ("procps" ,procps)
-         ("serapeum" ,sbcl-serapeum)
-         ("shlex" ,sbcl-shlex)
-         ("trivia" ,sbcl-trivia)))
       (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           (add-after 'unpack 'fix-paths
-             (lambda* (#:key inputs #:allow-other-keys)
-               (let ((bin (string-append (assoc-ref inputs "coreutils") "/bin"))
-                     (ps-bin (string-append (assoc-ref inputs "procps") "/bin")))
-                 (substitute* "cmd.lisp"
-                   (("\\(def \\+env\\+ \"env\"\\)")
-                    (format #f "(def +env+ \"~a/env\")" bin))
-                   (("\\(def \\+kill\\+ \"kill\"\\)")
-                    (format #f "(def +kill+ \"~a/kill\")" bin))
-                   (("\\(def \\+ps\\+ \"ps\"\\)")
-                    (format #f "(def +ps+ \"~a/ps\")" ps-bin))
-                   (("\\(def \\+pwd\\+ \"pwd\"\\)")
-                    (format #f "(def +pwd+ \"~a/pwd\")" bin))
-                   (("\\(def \\+sh\\+ \"/bin/sh\"\\)")
-                    (format #f "(def +sh+ \"~a\")" (which "sh")))
-                   (("\\(def \\+tr\\+ \"tr\"\\)")
-                    (format #f "(def +tr+ \"~a/tr\")" bin)))))))))
+       (list #:phases
+             #~(modify-phases %standard-phases
+                 (add-after 'unpack 'fix-paths
+                   (lambda* (#:key inputs #:allow-other-keys)
+                     (let ((bin (string-append (assoc-ref inputs "coreutils") "/bin"))
+                           (ps-bin (string-append (assoc-ref inputs "procps") "/bin")))
+                       (substitute* "cmd.lisp"
+                         (("\\(def \\+env\\+ \"env\"\\)")
+                          (format #f "(def +env+ \"~a/env\")" bin))
+                         (("\\(def \\+kill\\+ \"kill\"\\)")
+                          (format #f "(def +kill+ \"~a/kill\")" bin))
+                         (("\\(def \\+ps\\+ \"ps\"\\)")
+                          (format #f "(def +ps+ \"~a/ps\")" ps-bin))
+                         (("\\(def \\+pwd\\+ \"pwd\"\\)")
+                          (format #f "(def +pwd+ \"~a/pwd\")" bin))
+                         (("\\(def \\+sh\\+ \"/bin/sh\"\\)")
+                          (format #f "(def +sh+ \"~a\")" (which "sh")))
+                         (("\\(def \\+tr\\+ \"tr\"\\)")
+                          (format #f "(def +tr+ \"~a/tr\")" bin)))))))))
+      (inputs
+       (list coreutils
+             procps
+             sbcl-alexandria
+             sbcl-serapeum
+             sbcl-shlex
+             sbcl-trivia))
       (home-page "https://github.com/ruricolist/cmd")
       (synopsis "Conveniently run external programs from Common Lisp")
       (description
-- 
2.41.0






^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#68107: [PATCH 1/2] gnu: cl-cmd: Update to 0.0.1-8.0164d57.
  2023-12-29 12:53 [bug#68107] [PATCH 1/2] gnu: cl-cmd: Update to 0.0.1-8.0164d57 Paul A. Patience
  2023-12-29 12:54 ` [bug#68107] [PATCH 2/2] gnu: cl-cmd: Improve package style Paul A. Patience
@ 2024-01-04 14:13 ` Guillaume Le Vaillant
  1 sibling, 0 replies; 3+ messages in thread
From: Guillaume Le Vaillant @ 2024-01-04 14:13 UTC (permalink / raw)
  To: Paul A. Patience; +Cc: 68107-done

[-- Attachment #1: Type: text/plain, Size: 83 bytes --]

Patches applied as 4b070c750fe728a34108235ee56e81088205a5ec and
following.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-04 14:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-29 12:53 [bug#68107] [PATCH 1/2] gnu: cl-cmd: Update to 0.0.1-8.0164d57 Paul A. Patience
2023-12-29 12:54 ` [bug#68107] [PATCH 2/2] gnu: cl-cmd: Improve package style Paul A. Patience
2024-01-04 14:13 ` bug#68107: [PATCH 1/2] gnu: cl-cmd: Update to 0.0.1-8.0164d57 Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).