gnu: Add python-bagit.

* gnu/packages/python-xyz.scm (python-bagit): New variable.
This commit is contained in:
Efraim Flashner 2020-11-23 10:16:19 +02:00
parent f8be147411
commit f00165a736
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -56,6 +56,7 @@
;;; Copyright © 2018, 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2018 Luther Thompson <lutheroto@gmail.com>
;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2018 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2019 Sam <smbaines8@gmail.com>
;;; Copyright © 2019 Jack Hill <jackhill@jackhill.us>
@ -16254,6 +16255,29 @@ (define-public python2-rfc6555
(propagated-inputs
`(("python2-selectors2" ,python2-selectors2))))))
(define-public python-bagit
(package
(name "python-bagit")
(version "1.7.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "bagit" version))
(sha256
(base32
"1m6y04qmig0b5hzb35lnaw3d2yfydb7alyr1579yblvgs3da6j7j"))))
(build-system python-build-system)
(native-inputs
`(("python-setuptools-scm" ,python-setuptools-scm)
("python-coverage" ,python-coverage)
("python-mock" ,python-mock)))
(home-page "https://libraryofcongress.github.io/bagit-python/")
(synopsis "Create and validate BagIt packages")
(description "Bagit is a Python library and command line utility for working
with BagIt style packages. BagIt is a minimalist packaging format for digital
preservation.")
(license license:cc0)))
(define-public python-validators
(package
(name "python-validators")