diff mbox series

[bug#73223,1/2] gnu: Add sbcl-print-licenses.

Message ID cdbc6e54f3ca49a29f15374aa296009ca175437b.1726221629.git.roman@burningswell.com
State New
Headers show
Series [bug#73223,1/2] gnu: Add sbcl-print-licenses. | expand

Commit Message

Roman Scherer Sept. 13, 2024, 10:02 a.m. UTC
* gnu/packages/lisp-xyz.scm (sbcl-print-licenses): New variable.

Change-Id: I62b6655a560e37218e2f056065cd4523b4c0916f
---
 gnu/packages/lisp-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)


base-commit: 37a0c526fbef884e38b2266098b8c528847d9ef0

Comments

Guillaume Le Vaillant Sept. 14, 2024, 9:15 a.m. UTC | #1
Patches applied as 6d9a82a6fb8675441d63ae23b715952df13a845f and
following with some minor fixes.
Thanks.
diff mbox series

Patch

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index af48813a16..7b80d4df1e 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23963,6 +23963,34 @@  (define-public ecl-ppath
 (define-public cl-ppath
   (sbcl-package->cl-source-package sbcl-ppath))
 
+(define-public sbcl-print-licenses
+  (let ((commit "3949663318fb736f4ee660e3aa810875187d531c")
+        (revision "0"))
+    (package
+      (name "sbcl-print-licenses")
+      (build-system asdf-build-system/sbcl)
+      (version (git-version "0.1.0" revision commit))
+      (home-page "https://github.com/vindarel/print-licenses/")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url home-page)
+               (commit commit)))
+         (file-name (git-file-name "cl-print-licenses" version))
+         (sha256
+          (base32 "14i6r6mf16dlj1g4xk0alg2912y3wy0qbfpyvvgsgxkkar63cmi5"))))
+      (inputs (list sbcl-alexandria sbcl-iterate))
+      (synopsis "Print licenses used by a Common Lisp project")
+      (description "Print licenses used by a Common Lisp project and its dependencies.")
+      (license license:bsd-2))))
+
+(define-public ecl-print-licenses
+  (sbcl-package->ecl-package sbcl-print-licenses))
+
+(define-public cl-print-licenses
+  (sbcl-package->cl-source-package sbcl-print-licenses))
+
 (define-public sbcl-printv
   (let ((commit "e717a7fe076dae861a96117b2f9af29db8d2294d")
         (revision "2"))