From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egD8D-0002cd-BP for guix-patches@gnu.org; Mon, 29 Jan 2018 12:22:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egD8A-0008FD-Rm for guix-patches@gnu.org; Mon, 29 Jan 2018 12:22:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40226) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1egD8A-0008F0-Nd for guix-patches@gnu.org; Mon, 29 Jan 2018 12:22:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1egD8A-0008S7-Fm for guix-patches@gnu.org; Mon, 29 Jan 2018 12:22:06 -0500 Subject: [bug#30274] [PATCH 05/24] gnu: Add perl-regexp-pattern-license. Resent-Message-ID: From: Oleg Pykhalov Date: Mon, 29 Jan 2018 20:20:17 +0300 Message-Id: <20180129172036.21133-6-go.wigust@gmail.com> In-Reply-To: <20180129172036.21133-1-go.wigust@gmail.com> References: <20180128184828.32395-21-go.wigust@gmail.com> <20180129172036.21133-1-go.wigust@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30274@debbugs.gnu.org * gnu/packages/license.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add this. --- gnu/local.mk | 1 + gnu/packages/license.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 gnu/packages/license.scm diff --git a/gnu/local.mk b/gnu/local.mk index 80d6a8d4c..00025b317 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -248,6 +248,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/libffcall.scm \ %D%/packages/libffi.scm \ %D%/packages/libftdi.scm \ + %D%/packages/license.scm \ %D%/packages/calendar.scm \ %D%/packages/libidn.scm \ %D%/packages/libphidget.scm \ diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm new file mode 100644 index 000000000..80bb8f6e1 --- /dev/null +++ b/gnu/packages/license.scm @@ -0,0 +1,57 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Oleg Pykhalov +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages license) + #:use-module (guix licenses) + #:use-module (gnu packages) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system perl) + #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check)) + +;;; +;;; Please: Try to add new module packages in alphabetic order. +;;; + +(define-public perl-regexp-pattern-license + (package + (name "perl-regexp-pattern-license") + (version "v3.0.31") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/J/JO/JONASS/Regexp-Pattern-License-" + version ".tar.gz")) + (sha256 + (base32 + "1cp96rf3256bdsm3rmw068ngy2b3zip2dz1znpbplnsnxh9rb2q6")))) + (build-system perl-build-system) + (native-inputs + `(("perl-regexp-pattern" ,perl-regexp-pattern) + ("perl-test-exception" ,perl-test-exception))) + (propagated-inputs + `(("perl-strictures" ,perl-strictures-2))) + (home-page "http://search.cpan.org/dist/Regexp-Pattern-License/") + (synopsis "Regular expressions for legal licenses") + (description "Regexp::Pattern::License provides a hash of regular +expression patterns related to legal software licenses. + +Regexp::Pattern is a convention for organizing reusable regex patterns.") + (license gpl3+))) -- 2.15.1