From 966873e3e7238e70ebb589066e6461763314d006 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 27 Sep 2019 10:22:27 +0200 Subject: gnu: Order (gnu packages license)'s imports alphabetically. * gnu/packages/license.scm: Order module imports alphabetically. --- gnu/packages/license.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gnu/packages/license.scm') diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm index 4003c18aca..82dbd2dba1 100644 --- a/gnu/packages/license.scm +++ b/gnu/packages/license.scm @@ -18,13 +18,13 @@ ;;; 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)) + #:use-module (gnu packages perl-check) + #:use-module (guix build-system perl) + #:use-module (guix download) + #:use-module (guix licenses) + #:use-module (guix packages)) ;;; ;;; Please: Try to add new module packages in alphabetic order. -- cgit v1.2.3 From 7c552913c1616b182aa885cf867e49eb0f7594f9 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 27 Sep 2019 12:08:45 +0200 Subject: gnu: Add reuse. * gnu/packages/license.scm (reuse): New public variable. --- gnu/packages/license.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) (limited to 'gnu/packages/license.scm') diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm index 82dbd2dba1..73b0dff3f5 100644 --- a/gnu/packages/license.scm +++ b/gnu/packages/license.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Oleg Pykhalov -;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,10 +19,15 @@ (define-module (gnu packages license) #:use-module (gnu packages) + #:use-module (gnu packages check) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) #:use-module (guix build-system perl) + #:use-module (guix build-system python) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix licenses) #:use-module (guix packages)) @@ -160,3 +165,45 @@ statements and serializes in normalized format.") to each file passed to it, by searching the start of the file for text belonging to various licenses.") (license (package-license perl)))) + +(define-public reuse + (package + (name "reuse") + (version "0.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.fsfe.org/reuse/tool.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1w17g6jvs715rjc93nnnqnfdphijq4ymj9jjkr3ccc286ywvn3ih")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (inputs + `(("python-binaryornot" ,python-binaryornot) + ("python-boolean.py" ,python-boolean.py) + ("python-debian" ,python-debian) + ("python-jinja2" ,python-jinja2) + ("python-license-expression" ,python-license-expression) + ("python-requests" ,python-requests))) + (home-page "https://reuse.software/") + (synopsis "Provide and verify copyright and licensing information") + (description + "The REUSE tool helps you achieve and confirm license compliance with the +@uref{https://reuse.software, REUSE specification}, a set of recommendations +for licensing Free Software projects. REUSE makes it easy to declare the +licenses under which your works are released, especially when reusing software +from different projects released under different licenses. It avoids reliance +on fuzzy heuristicts and allows both legal experts and computers to understand +how your project is licensed. This allows generating a \"bill of materials\" +for software. + +This tool downloads full license texts, adds copyright and license information +to file headers, and contains a linter to identify problems. There are other +tools that have a lot more features and functionality surrounding the analysis +and inspection of copyright and licenses in software projects. This one is +designed to be simple.") + (license (list asl2.0 gpl3+)))) -- cgit v1.2.3 From aa714a06db991b929282fe2dcce1f77b8c9337f4 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 7 Oct 2019 10:32:18 +0200 Subject: gnu: perl-regexp-pattern-license: Update to 3.1.94. * gnu/packages/license.scm (perl-regexp-pattern-license): Update to 3.1.94. --- gnu/packages/license.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages/license.scm') diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm index 73b0dff3f5..f071d0a710 100644 --- a/gnu/packages/license.scm +++ b/gnu/packages/license.scm @@ -38,7 +38,7 @@ (define-public perl-regexp-pattern-license (package (name "perl-regexp-pattern-license") - (version "3.1.92") + (version "3.1.94") (source (origin (method url-fetch) @@ -46,8 +46,7 @@ "mirror://cpan/authors/id/J/JO/JONASS/Regexp-Pattern-License-" "v" version ".tar.gz")) (sha256 - (base32 - "0gxv8wpvlllmvhkpixv5x23ywn1s6zs7ypcs38s7nfh4phamyixh")))) + (base32 "0kznpv628jrndn4nw646f6pl7yqvmacwljlygvsjfdkyh0i4sr2k")))) (build-system perl-build-system) (native-inputs `(("perl-regexp-pattern" ,perl-regexp-pattern) -- cgit v1.2.3 From bdc63012d142bea789b100699e96aaecdb99f0a4 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 7 Oct 2019 10:32:49 +0200 Subject: gnu: licensecheck: Update to 3.0.37. * gnu/packages/license.scm (licensecheck): Update to 3.0.37. --- gnu/packages/license.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/license.scm') diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm index f071d0a710..b7519f91ae 100644 --- a/gnu/packages/license.scm +++ b/gnu/packages/license.scm @@ -113,7 +113,7 @@ statements and serializes in normalized format.") (define-public licensecheck (package (name "licensecheck") - (version "3.0.36") + (version "3.0.37") (source (origin (method url-fetch) (uri (string-append @@ -121,7 +121,7 @@ statements and serializes in normalized format.") "v" version ".tar.gz")) (sha256 (base32 - "0y14ppq6f9hc0rc0syhfgms1r7fd51vpgfx5va6b2v84y8anb6g1")))) + "12l83zf85zagpagizmzy3bwkc659sbzqf18cycx8g4h6d3mc5kqw")))) (build-system perl-build-system) (native-inputs `(("perl-regexp-pattern" ,perl-regexp-pattern) -- cgit v1.2.3