From patchwork Thu Jul 6 06:42:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bruno Victal X-Patchwork-Id: 51593 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 0396127BBE9; Thu, 6 Jul 2023 07:45:26 +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=unavailable 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 5533B27BBEC for ; Thu, 6 Jul 2023 07:45:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHIj4-0000jg-Sf; Thu, 06 Jul 2023 02:44:26 -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 1qHIim-0000aF-S7 for guix-patches@gnu.org; Thu, 06 Jul 2023 02:44:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHIil-0005HN-Nq for guix-patches@gnu.org; Thu, 06 Jul 2023 02:44:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHIil-0002si-JG for guix-patches@gnu.org; Thu, 06 Jul 2023 02:44:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64486] [PATCH 09/22] gnu: Add perl-string-license. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Jul 2023 06:44:07 +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.168862581710818 (code B ref 64486); Thu, 06 Jul 2023 06:44:07 +0000 Received: (at 64486) by debbugs.gnu.org; 6 Jul 2023 06:43:37 +0000 Received: from localhost ([127.0.0.1]:39355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHIiH-0002oO-8f for submit@debbugs.gnu.org; Thu, 06 Jul 2023 02:43:37 -0400 Received: from smtpm5.myservices.hosting ([185.26.105.236]:57988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHIiF-0002oE-1g for 64486@debbugs.gnu.org; Thu, 06 Jul 2023 02:43:35 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm5.myservices.hosting (Postfix) with ESMTP id B172020CC2 for <64486@debbugs.gnu.org>; Thu, 6 Jul 2023 08:43:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id E6D64800A0; Thu, 6 Jul 2023 08:43:16 +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 jTn_9DVPo_Vq; Thu, 6 Jul 2023 08:43:16 +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 24A748009F; Thu, 6 Jul 2023 08:43:16 +0200 (CEST) From: Bruno Victal Date: Thu, 6 Jul 2023 07:42:40 +0100 Message-Id: <11a0386c60dea9ffb3b081d16fb17e941dca76fd.1688625768.git.mirai@makinata.eu> X-Mailer: git-send-email 2.40.1 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")