aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-23 10:38:10 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-23 15:43:37 +0200
commit5a5f16ec4238caf1a75ffffeb7a458cb1c6a0bff (patch)
treef58dd87eaade7bc3d4dcedfab648f5acf535294b /gnu/packages/python-xyz.scm
parentf00165a7369c12ca5653673963af9eb8f34823c8 (diff)
downloadguix-5a5f16ec4238caf1a75ffffeb7a458cb1c6a0bff.tar.gz
guix-5a5f16ec4238caf1a75ffffeb7a458cb1c6a0bff.zip
gnu: Add python-prov.
* gnu/packages/python-xyz.scm (python-prov): New variable.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 23fbed47fd..bdab421da3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -168,6 +168,7 @@
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages rdf)
#:use-module (gnu packages readline)
#:use-module (gnu packages sdl)
#:use-module (gnu packages search)
@@ -16278,6 +16279,34 @@ with BagIt style packages. BagIt is a minimalist packaging format for digital
preservation.")
(license license:cc0)))
+(define-public python-prov
+ (package
+ (name "python-prov")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "prov" version))
+ (sha256
+ (base32
+ "1vi2fj31vygfcqrkimdmk52q2ldw08g9fn4v4zlgdfgcjlhqyhxn"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-dateutil" ,python-dateutil)
+ ("python-lxml" ,python-lxml)
+ ("python-networkx" ,python-networkx)
+ ("python-rdflib" ,python-rdflib)))
+ (native-inputs
+ `(("graphviz" ,graphviz)
+ ("python-pydot" ,python-pydot)))
+ (home-page "https://github.com/trungdong/prov")
+ (synopsis
+ "W3C Provenance Data Model supporting PROV-JSON, PROV-XML and PROV-O (RDF)")
+ (description
+ "This package provides a library for W3C Provenance Data Model supporting
+PROV-O (RDF), PROV-XML, PROV-JSON import/export.")
+ (license license:expat)))
+
(define-public python-validators
(package
(name "python-validators")