diff mbox series

[bug#70405] : Update sbcl-cl-colors to 0.6.0

Message ID 87r0f6o0qm.fsf@gmail.com
State New
Headers show
Series [bug#70405] : Update sbcl-cl-colors to 0.6.0 | expand

Commit Message

André A. Gomes April 15, 2024, 8 p.m. UTC
Attached, thanks.

Comments

Guillaume Le Vaillant April 18, 2024, 8:28 a.m. UTC | #1
I moved sbcl-parse-number from 'native-inputs' to 'inputs' (according to
"cl-colors2.asd") and applied the patch as
e9481f6ce5a9c20f652e5718d472b3ec7b93bddb.
Thanks.
diff mbox series

Patch

From a4fd263185ed05d3156f4e45b7a7adf0fb97fb8c Mon Sep 17 00:00:00 2001
From: "Andre A. Gomes" <andremegafone@gmail.com>
Date: Mon, 15 Apr 2024 22:59:23 +0300
Subject: [PATCH] gnu: sbcl-cl-colors2: Update to 0.6.0.

* gnu/packages/lisp-xyz.scm (sbcl-cl-colors2): Update to 0.6.0.
---
 gnu/packages/lisp-xyz.scm | 46 +++++++++++++++++++--------------------
 1 file changed, 22 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 5ce928fc84..54e1d58b37 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -12654,28 +12654,26 @@  (define-public ecl-cl-lex
   (sbcl-package->ecl-package sbcl-cl-lex))
 
 (define-public sbcl-cl-colors2
-  (let ((commit "7a1410765e5186625df19a875cebba685e9e51bd")
-        (revision "4"))
-    (package
-      (name "sbcl-cl-colors2")
-      (version (git-version "0.5.4" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://codeberg.org/cage/cl-colors2.git")
-               (commit commit)))
-         (file-name (git-file-name "cl-colors2" version))
-         (sha256
-          (base32 "1xk3wshp21v193wbj1gs0czxaci00wwm957vmqi2dvlv0wgb2hfr"))))
-      (build-system asdf-build-system/sbcl)
-      (native-inputs
-       (list sbcl-clunit2))
-      (inputs
-       (list sbcl-alexandria sbcl-cl-ppcre))
-      (synopsis "Color library for Common Lisp")
-      (description
-       "This is a very simple color library for Common Lisp, providing:
+  (package
+    (name "sbcl-cl-colors2")
+    (version "0.6.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://codeberg.org/cage/cl-colors2")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0vnvlq9xixs04768q7hapsi16cjp3ych6mypvs6chihd5dal4cnd"))))
+    (build-system asdf-build-system/sbcl)
+    (native-inputs
+     (list sbcl-parse-number sbcl-clunit2))
+    (inputs
+     (list sbcl-alexandria sbcl-cl-ppcre))
+    (synopsis "Color library for Common Lisp")
+    (description
+     "This is a very simple color library for Common Lisp, providing:
 
 @itemize
 @item Types for representing colors in HSV, HSL, and RGB spaces.
@@ -12683,8 +12681,8 @@  (define-public sbcl-cl-colors2
 @item Function printing colors to HEX, RGB, RGBA, and HSL.
 @item Predefined colors from X11, SVG, and GDK.
 @end itemize\n")
-      (home-page "https://codeberg.org/cage/cl-colors2")
-      (license license:boost1.0))))
+    (home-page "https://codeberg.org/cage/cl-colors2")
+    (license license:boost1.0)))
 
 (define-public cl-colors2
   (sbcl-package->cl-source-package sbcl-cl-colors2))
-- 
2.41.0