gnu: Add python-suntime.

* gnu/packages/astronomy.scm (python-suntime): New variable.

Signed-off-by: Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
This commit is contained in:
Vagrant Cascadian 2022-08-13 16:40:58 -07:00 committed by Björn Höfling
parent 6885f22375
commit fff6407df3
No known key found for this signature in database
GPG Key ID: BF286CB6593E5FFD

@ -1823,6 +1823,27 @@ N-Chilada and RAMSES AMR outputs.")
(modify-inputs (package-inputs libsep)
(prepend python-numpy)))))
(define-public python-suntime
(package
(name "python-suntime")
(version "1.2.5")
(source (origin
(method url-fetch)
(uri (pypi-uri "suntime" version))
(sha256
(base32
"0ja64w293wjx76q3z18ikx4rdihwkbj6pnjpbs82ycyyzhfnbpz4"))))
(build-system python-build-system)
(propagated-inputs (list python-dateutil))
(home-page "https://github.com/SatAgro/suntime")
(synopsis "Sunset and sunrise time calculation python library")
(description
"Python library doing sunrise and sunset time calculation.
Takes a WGS84 (GPS) latitude/longitude as input as well as an UTC or local
datetime object.")
(license license:lgpl3+)))
(define-public python-asdf
(package
(name "python-asdf")