gnu: Add python-cftime.

* gnu/packages/python-xyz.scm (python-cftime): New variable.
This commit is contained in:
Ricardo Wurmus 2019-01-23 18:04:12 +01:00
parent e253b94dc6
commit d362b11d2a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 28 additions and 0 deletions

View File

@ -113,6 +113,7 @@
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto) #:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web) #:use-module (gnu packages python-web)
#:use-module (gnu packages qt) #:use-module (gnu packages qt)
@ -452,6 +453,33 @@ concepts.")
@code{subprocess} feature.") @code{subprocess} feature.")
(license license:expat))) (license license:expat)))
(define-public python-cftime
(package
(name "python-cftime")
(version "1.0.3.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cftime" version))
(sha256
(base32
"0362dhxbzk593walyjz30dll6y2y79wialik647cbwdsf3ad0x6x"))))
(build-system python-build-system)
(propagated-inputs
`(("python-numpy" ,python-numpy)))
(native-inputs
`(("python-coveralls" ,python-coveralls)
("python-cython" ,python-cython)
("python-pytest-cov" ,python-pytest-cov)))
(home-page "https://github.com/Unidata/cftime")
(synopsis "Library for time handling")
(description
"This package provides time-handling functionality that used to be part
of the netcdf4 package before.")
;; This package claims to include code under the GPLv3 but is released
;; under ISC.
(license (list license:isc license:gpl3+))))
(define-public python-netcdf4 (define-public python-netcdf4
(package (package
(name "python-netcdf4") (name "python-netcdf4")