From 6d9a82a6fb8675441d63ae23b715952df13a845f Mon Sep 17 00:00:00 2001 From: Roman Scherer Date: Fri, 13 Sep 2024 12:02:22 +0200 Subject: [PATCH] gnu: Add cl-print-licenses. * gnu/packages/lisp-xyz.scm (sbcl-print-licenses, cl-print-licenses, ecl-print-licenses): New variables. Change-Id: I62b6655a560e37218e2f056065cd4523b4c0916f Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index af48813a16..228658976f 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -37,7 +37,7 @@ ;;; Copyright © 2022 Arun Isaac ;;; Copyright © 2022 Trevor Richards ;;; Copyright © 2022, 2023 Artyom Bologov -;;; Copyright © 2023 Roman Scherer +;;; Copyright © 2023, 2024 Roman Scherer ;;; Copyright © 2023 ykonai ;;; Copyright © 2023 Gabriel Hondet ;;; Copyright © 2023 Raven Hallsby @@ -23963,6 +23963,36 @@ corresponding OS system functions are called.") (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)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vindarel/print-licenses") + (commit commit))) + (file-name (git-file-name "cl-print-licenses" version)) + (sha256 + (base32 "14i6r6mf16dlj1g4xk0alg2912y3wy0qbfpyvvgsgxkkar63cmi5")))) + (inputs (list sbcl-alexandria sbcl-iterate)) + (home-page "https://github.com/vindarel/print-licenses/") + (synopsis "Print licenses used by a Common Lisp project") + (description + "This library can be used to print the licenses used by a Common Lisp +project and its dependencies.") + (license license:expat)))) + +(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"))