gnu: Add perl-number-range.
[jackhill/guix/guix.git] / gnu / packages / license.scm
CommitLineData
d5ee4342
OP
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages license)
20 #:use-module (guix licenses)
21 #:use-module (gnu packages)
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system perl)
25 #:use-module (gnu packages perl)
26 #:use-module (gnu packages perl-check))
27
28;;;
29;;; Please: Try to add new module packages in alphabetic order.
30;;;
31
32(define-public perl-regexp-pattern-license
33 (package
34 (name "perl-regexp-pattern-license")
35 (version "3.1.0")
36 (source
37 (origin
38 (method url-fetch)
39 (uri (string-append
40 "mirror://cpan/authors/id/J/JO/JONASS/Regexp-Pattern-License-"
41 "v" version ".tar.gz"))
42 (sha256
43 (base32
44 "1479ismcgq1mx712yhw0qswb4z75spc81f9k621vfpkji0smpyk2"))))
45 (build-system perl-build-system)
46 (native-inputs
47 `(("perl-regexp-pattern" ,perl-regexp-pattern)
48 ("perl-test-exception" ,perl-test-exception)))
49 (propagated-inputs
50 `(("perl-strictures" ,perl-strictures-2)))
51 (home-page "http://search.cpan.org/dist/Regexp-Pattern-License/")
52 (synopsis "Regular expressions for legal licenses")
53 (description "Regexp::Pattern::License provides a hash of regular
54expression patterns related to legal software licenses.
55
56Regexp::Pattern is a convention for organizing reusable regex patterns.")
57 (license gpl3+)))