ngz pushed a commit to branch master
in repository guix.

commit 1ddcf500440a945e9d8e98446c8c5b28224d70bc
Author: Bruno Victal <mi...@makinata.eu>
AuthorDate: Sun Feb 23 20:14:08 2025 +0100

    gnu: licensecheck: Update to 3.3.9.
    
    Beginning 3.0.46 this package has been relicensed under the AGPL-3-or-newer.
    
    * gnu/packages/license.scm (licensecheck): Update to 3.3.9.
    [native-inputs]: Remove perl-regexp-pattern, perl-software-license,
    perl-test-requires, perl-test-roo, perl-test-script, perl-universal-require,
    perl-sub-quote. Add perl-encode-locale, perl-regexp-pattern-license,
    perl-string-copyright, perl-test-without-module, perl-test2-suite,
    perl-test2-tools-command.
    [propagated-inputs]: Use new style. Remove perl-getopt-long-descriptive,
    perl-moo, perl-regexp-pattern-license, perl-sort-key, perl-strictures,
    perl-try-tiny, perl-module-runtime. Add perl-feature-compat-class,
    perl-feature-compat-try,  perl-io-interactive, perl-log-any,
    perl-log-any-adapter-screen, perl-string-license.
    [license]: Change to agpl3+.
    
    Change-Id: Ic6f27e658dce60ff8453373e63aa1c1016133ae4
    Signed-off-by: Nicolas Goaziou <m...@nicolasgoaziou.fr>
---
 gnu/packages/license.scm | 49 +++++++++++++++++++++++-------------------------
 1 file changed, 23 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm
index 847cc2cfcb..e10d9b60d2 100644
--- a/gnu/packages/license.scm
+++ b/gnu/packages/license.scm
@@ -33,6 +33,7 @@
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages web)
   #:use-module (guix build-system perl)
   #:use-module (guix build-system python)
   #:use-module (guix build-system pyproject)
@@ -152,7 +153,7 @@ string and serializes them in a normalized format.")
 (define-public licensecheck
   (package
     (name "licensecheck")
-    (version "3.0.37")
+    (version "3.3.9")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -160,33 +161,29 @@ string and serializes them in a normalized format.")
                     "v" version ".tar.gz"))
               (sha256
                (base32
-                "12l83zf85zagpagizmzy3bwkc659sbzqf18cycx8g4h6d3mc5kqw"))))
+                "17sfw2cz5x339zq6xc2nfjps2vwpj3d307v90gva498fvnlk1y4y"))))
     (build-system perl-build-system)
     (native-inputs
-     (list perl-regexp-pattern
-           perl-software-license
-           perl-test-requires
-           perl-test-roo
-           perl-test-script
-           perl-universal-require
-           perl-number-range
-           perl-sub-quote))
+     (list perl-encode-locale
+           perl-regexp-pattern-license
+           perl-string-copyright
+           perl-test-without-module
+           perl-test2-suite
+           perl-test2-tools-command))
     (propagated-inputs
-     `(("perl-getopt-long-descriptive" ,perl-getopt-long-descriptive)
-       ("perl-moo" ,perl-moo-2)
-       ("perl-namespace-clean" ,perl-namespace-clean)
-       ("perl-path-iterator-rule" ,perl-path-iterator-rule)
-       ("perl-path-tiny" ,perl-path-tiny)
-       ("perl-pod-constants" ,perl-pod-constants)
-       ("perl-regexp-pattern-license" ,perl-regexp-pattern-license)
-       ("perl-sort-key" ,perl-sort-key)
-       ("perl-strictures" ,perl-strictures-2)
-       ("perl-string-copyright" ,perl-string-copyright)
-       ("perl-string-escape" ,perl-string-escape)
-       ("perl-try-tiny" ,perl-try-tiny)
-       ("perl-module-runtime" ,perl-module-runtime)))
-    (inputs
-     `(("bash" ,bash-minimal))) ; for wrap-program
+     (list perl-feature-compat-class
+           perl-feature-compat-try
+           perl-io-interactive
+           perl-log-any
+           perl-log-any-adapter-screen
+           perl-namespace-clean
+           perl-path-iterator-rule
+           perl-path-tiny
+           perl-pod-constants
+           perl-string-copyright
+           perl-string-escape
+           perl-string-license))
+    (inputs (list bash-minimal))         ; for wrap-program
     (arguments
      `(#:phases
        (modify-phases %standard-phases
@@ -204,7 +201,7 @@ string and serializes them in a normalized format.")
     (description "Licensecheck attempts to determine the license that applies
 to each file passed to it, by searching the start of the file for text
 belonging to various licenses.")
-    (license (package-license perl))))
+    (license agpl3+)))
 
 (define-public reuse
   (package

Reply via email to