[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64486] [PATCH 09/22] gnu: Add perl-string-license.
From: |
Bruno Victal |
Subject: |
[bug#64486] [PATCH 09/22] gnu: Add perl-string-license. |
Date: |
Thu, 6 Jul 2023 07:42:40 +0100 |
* gnu/packages/license.scm (perl-string-license): New variable.
---
gnu/packages/license.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm
index ca8375d19d..b619c80d1d 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>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,6 +24,7 @@
(define-module (gnu packages license)
#:use-module (gnu packages)
#: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)
@@ -89,6 +91,38 @@ (define-public perl-string-copyright
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")
--
2.40.1
- [bug#64486] [PATCH 00/22] Update licensecheck to 3.3.9., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 05/22] gnu: Add perl-log-any-adapter-screen., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 03/22] gnu: Add perl-feature-compat-class., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 10/22] gnu: perl-xs-parse-keyword: Update to 0.34., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 01/22] gnu: Add perl-xs-parse-sublike., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 19/22] gnu: perl-regexp-pattern-license: Update to 3.11.0., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 02/22] gnu: Add perl-object-pad., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 09/22] gnu: Add perl-string-license.,
Bruno Victal <=
- [bug#64486] [PATCH 06/22] gnu: Add perl-file-chdir., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 04/22] gnu: Add perl-feature-compat-try., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 07/22] gnu: Add perl-test2-tools-command., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 21/22] gnu: licensecheck: Update to 3.3.9., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 12/22] gnu: perl-test2-suite: Update to 0.000155., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 15/22] gnu: Add perl-regexp-pattern-defhash., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 13/22] gnu: perl-test2-suite: Use G-Expressions., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 16/22] gnu: Add perl-hash-defhash., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 22/22] gnu: licensecheck: Use G-Expressions. Refactor phases., Bruno Victal, 2023/07/06
- [bug#64486] [PATCH 11/22] gnu: Add perl-extutils-cchecker., Bruno Victal, 2023/07/06