From: Tobias Geerinckx-Rice via Guix-patches via <guix-patches@gnu.org>
To: 37532@debbugs.gnu.org
Subject: [bug#37532] [PATCH 2/3] gnu: Add python-license-expression.
Date: Fri, 27 Sep 2019 15:26:16 +0200 [thread overview]
Message-ID: <20190927132617.3369-2-me@tobias.gr> (raw)
In-Reply-To: <20190927132617.3369-1-me@tobias.gr>
* gnu/packages/python-xyz.scm (python-license-expression): New public
variable.
---
gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cb8ebf8aa3..883b333c03 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -609,6 +609,29 @@ to users of that module.")
(define-public python2-netcdf4
(package-with-python2 python-netcdf4))
+(define-public python-license-expression
+ (package
+ (name "python-license-expression")
+ (version "0.999")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "license-expression" version))
+ (sha256
+ (base32 "08ppb0bxbrsxazy88sgpl9yffvdsabw6dkk1nc332wcz2mphwwyf"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-boolean.py" ,python-boolean.py)))
+ (home-page "https://github.com/nexB/license-expression")
+ (synopsis "Apply boolean logic to license expressions")
+ (description
+ "This Python module defines a tiny language to evaluate and compare
+license expressions using boolean logic. Logical combinations of licenses can
+be tested for equality, containment, and equivalence. They can be normalised
+and simplified. It supports SPDX license expressions as well as other naming
+conventions and aliases in the same expression.")
+ (license license:gpl2+)))
+
(define-public python-lockfile
(package
(name "python-lockfile")
--
2.23.0
next prev parent reply other threads:[~2019-09-27 13:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-27 10:31 [bug#37532] Add ‘reuse’ licence helper and its dependents Tobias Geerinckx-Rice via Guix-patches via
2019-09-27 13:26 ` [bug#37532] [PATCH 1/3] gnu: Add python-boolean.py Tobias Geerinckx-Rice via Guix-patches via
2019-09-27 13:26 ` Tobias Geerinckx-Rice via Guix-patches via [this message]
2019-09-27 13:26 ` [bug#37532] [PATCH 3/3] gnu: Add reuse Tobias Geerinckx-Rice via Guix-patches via
2019-10-01 8:58 ` [bug#37532] Add ‘reuse’ licence helper and its dependents Ludovic Courtès
2019-10-01 20:43 ` bug#37532: " Tobias Geerinckx-Rice via Guix-patches via
2019-10-02 15:21 ` [bug#37532] " Tobias Geerinckx-Rice via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190927132617.3369-2-me@tobias.gr \
--to=guix-patches@gnu.org \
--cc=37532@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).