aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2025-02-23 19:59:23 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2025-02-23 21:29:12 +0100
commit48a5a3e232d7676d1223773c421e681dec0c1016 (patch)
tree518422bb64f7e19dd13ff4aeb7adf3db0432aa29
parent7adb78c1a866e4050692b1e4e64171d7c4a45f9b (diff)
downloadguix-48a5a3e232d7676d1223773c421e681dec0c1016.tar.gz
guix-48a5a3e232d7676d1223773c421e681dec0c1016.zip
gnu: Add perl-string-license.
* gnu/packages/license.scm (perl-string-license): New variable. Change-Id: I6a9305ff5a4b3fdec04eee441c94bdf22625dffe Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/license.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm
index cfc538c9d4..da64bb5888 100644
--- a/gnu/packages/license.scm
+++ b/gnu/packages/license.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2021 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2024 Evgeny Pisemsky <mail@pisemsky.site>
;;;
@@ -26,6 +27,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
+ #:use-module (gnu packages freedesktop)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
#:use-module (gnu packages python-build)
@@ -93,6 +95,38 @@ Regexp::Pattern is a convention for organizing reusable regex patterns.")
statements and serializes in normalized format.")
(license gpl3+)))
+(define-public perl-string-license
+ (package
+ (name "perl-string-license")
+ (version "0.0.9")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/J/JO/JONASS/String-License-v"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1dbw8rgwdlgnlvscijpb2dnw5irfd6wvca587bprq5kk19mf7jzf"))))
+ (build-system perl-build-system)
+ (native-inputs (list perl-file-basedir
+ perl-regexp-pattern-license
+ perl-software-license
+ perl-test-without-module
+ perl-test2-suite
+ perl-yaml-libyaml))
+ (propagated-inputs (list perl-array-intspan
+ perl-feature-compat-class
+ perl-log-any
+ perl-namespace-clean
+ perl-path-tiny
+ perl-regexp-pattern
+ perl-regexp-pattern-license))
+ (home-page "https://metacpan.org/release/String-License")
+ (synopsis "Detect source code license statements in a text string")
+ (description "@code{String::License} identifies license statements in a
+string and serializes them in a normalized format.")
+ (license agpl3+)))
+
(define-public perl-software-license
(package
(name "perl-software-license")