aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-01-23 08:25:31 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-01-23 13:36:46 +0100
commit2e08d0d631fcc307a503bed200ba82dc5693bf09 (patch)
tree7e560dc30e0de7f1a3ff4fafdbcc3f6f99f57364 /gnu
parentf0d8d59807587c374f9001c54349481a25139b93 (diff)
downloadguix-2e08d0d631fcc307a503bed200ba82dc5693bf09.tar.gz
guix-2e08d0d631fcc307a503bed200ba82dc5693bf09.zip
gnu: Add r-suntools.
* gnu/packages/cran.scm (r-suntools): New variable. Change-Id: Id1cb0828e8046ce635edc124c3f99bc891806cdd
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index fbd174c607..618b785267 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8017,6 +8017,33 @@ for Environmental Statistics\" (Millard, 2013, Springer, ISBN
@url{https://link.springer.com/book/10.1007/978-1-4614-8456-1}).")
(license license:gpl3+)))
+(define-public r-suntools
+ (package
+ (name "r-suntools")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "suntools" version))
+ (sha256
+ (base32 "1qlp0q2ckqg5v3yvbr98k3nr9awgg7ks0l1103nqvm1ssadv7ds2"))))
+ (properties `((upstream-name . "suntools")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-sf))
+ (home-page "https://github.com/adokter/suntools/")
+ (synopsis
+ "Calculate sun position, sunrise, sunset, solar noon and twilight")
+ (description
+ "This package provides a set of convenient functions for calculating
+sun-related information, including the sun's position (elevation and azimuth),
+and the times of sunrise, sunset, solar noon, and twilight for any given
+geographical location on Earth. These calculations are based on equations
+provided by the National Oceanic & Atmospheric Administration (NOAA) as
+described in \"Astronomical Algorithms\" by Jean Meeus (1991). A resource for
+researchers and professionals working in fields such as climatology, biology,
+and renewable energy.")
+ (license license:gpl3+)))
+
(define-public r-suppdists
(package
(name "r-suppdists")