From patchwork Tue Oct 24 15:15:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bruno Victal X-Patchwork-Id: 55299 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CCDBB27BBEA; Tue, 24 Oct 2023 16:18:50 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2D51A27BBE2 for ; Tue, 24 Oct 2023 16:18:50 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvJAb-0007jx-PF; Tue, 24 Oct 2023 11:18:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvJA3-0007QZ-KF for guix-patches@gnu.org; Tue, 24 Oct 2023 11:17:40 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvJA3-00027o-By for guix-patches@gnu.org; Tue, 24 Oct 2023 11:17:39 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvJAX-0003MD-07 for guix-patches@gnu.org; Tue, 24 Oct 2023 11:18:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64486] [PATCH v2 09/22] gnu: Add perl-string-license. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Oct 2023 15:18:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64486 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64486@debbugs.gnu.org Cc: Bruno Victal Received: via spool by 64486-submit@debbugs.gnu.org id=B64486.169816067212743 (code B ref 64486); Tue, 24 Oct 2023 15:18:08 +0000 Received: (at 64486) by debbugs.gnu.org; 24 Oct 2023 15:17:52 +0000 Received: from localhost ([127.0.0.1]:56230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvJAG-0003JL-9X for submit@debbugs.gnu.org; Tue, 24 Oct 2023 11:17:52 -0400 Received: from smtpmciv4.myservices.hosting ([185.26.107.240]:46768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvJ9l-0003IB-CA for 64486@debbugs.gnu.org; Tue, 24 Oct 2023 11:17:22 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv4.myservices.hosting (Postfix) with ESMTP id B03B8208E8 for <64486@debbugs.gnu.org>; Tue, 24 Oct 2023 17:16:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 2E4EA8009A; Tue, 24 Oct 2023 17:16:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OvDi6PguVq4e; Tue, 24 Oct 2023 17:16:30 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 8EC4680098; Tue, 24 Oct 2023 17:16:30 +0200 (CEST) From: Bruno Victal Date: Tue, 24 Oct 2023 16:15:29 +0100 Message-ID: <8ff0e18940ad9ef47cb082ef3908e130f68dcda5.1698160401.git.mirai@makinata.eu> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2021 Tanguy Le Carrour ;;; Copyright © 2022 Felix Gruber +;;; Copyright © 2023 Bruno Victal ;;; ;;; 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")