gnu: Add python-jdcal.
* gnu/packages/python.scm (python-jdcal): New variable.
This commit is contained in:
parent
4caf37b0a7
commit
5591fc4f38
1 changed files with 28 additions and 0 deletions
|
@ -1788,6 +1788,34 @@ (define-public python-vcversioner
|
||||||
(define-public python2-vcversioner
|
(define-public python2-vcversioner
|
||||||
(package-with-python2 python-vcversioner))
|
(package-with-python2 python-vcversioner))
|
||||||
|
|
||||||
|
(define-public python-jdcal
|
||||||
|
(package
|
||||||
|
(name "python-jdcal")
|
||||||
|
(version "1.4")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "jdcal" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1ja6j2xq97bsl6rv09mhdx7n0xnrsfx0mj5xqza0mxghqmkm02pa"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases (modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(invoke "pytest"))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-pytest" ,python-pytest)))
|
||||||
|
(home-page "https://github.com/phn/jdcal")
|
||||||
|
(synopsis "Functions to convert between Julian dates Gregorian dates")
|
||||||
|
(description "This Python library provides functions for converting
|
||||||
|
between Julian dates and Gregorian dates.")
|
||||||
|
(license license:bsd-2)))
|
||||||
|
|
||||||
|
(define-public python2-jdcal
|
||||||
|
(package-with-python2 python-jdcal))
|
||||||
|
|
||||||
(define-public python-jsonschema
|
(define-public python-jsonschema
|
||||||
(package
|
(package
|
||||||
(name "python-jsonschema")
|
(name "python-jsonschema")
|
||||||
|
|
Loading…
Reference in a new issue