summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-22 16:31:15 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:16 +0000
commit39dfe893a3cc495ffd116d7a251c37006d4deb64 (patch)
tree449ed11cf7386d1ba89e5c4d6cf54fb401c18376 /gnu/packages/golang-xyz.scm
parentf5d3fd731a792ef1f31e6fc2a6b999cfe13252cc (diff)
gnu: go-github-com-hebcal-hebcal-go: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-hebcal-hebcal-go): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. * gnu/packages/calendar.scm: Add golang-xyz. Change-Id: I8e5c5dce15e12e0ce38004be79d7bfe75ad9d2ab
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 5d586aa160..64519dee7f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5046,6 +5046,49 @@ Die) day numbers.")
"Hebcal's hdate package converts between Hebrew and Gregorian dates.")
(license license:gpl2)))
+(define-public go-github-com-hebcal-hebcal-go
+ (package
+ (name "go-github-com-hebcal-hebcal-go")
+ (version "0.9.31")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hebcal/hebcal-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1vccmjb4g8g8x733a45g78lz25k2a0avsq4zvlp94varssk8wj1q"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/hebcal/hebcal-go"
+ ;; Source-only package
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Source-only package
+ (delete 'build))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-dustin-go-humanize
+ go-github-com-hebcal-gematriya
+ go-github-com-hebcal-greg
+ go-github-com-hebcal-hdate
+ go-github-com-nathan-osman-go-sunrise))
+ (home-page "https://github.com/hebcal/hebcal-go")
+ (synopsis "Go library for the Hebcal perpetual Jewish calendar")
+ (description
+ "This package provides a library for conversion between Hebrew and
+Gregorian dates, and generation of lists of Jewish holidays for a given year.
+Shabbat and holiday candle lighting and havdalah times are approximated based
+on location.
+
+Torah readings, Daf Yomi, and counting of the Omer can also be specified.
+Algorithms are included to calculate yahrzeits, birthdays, and
+anniversaries.")
+ (license license:gpl2+)))
+
(define-public go-github-com-hhrutter-tiff
(package
(name "go-github-com-hhrutter-tiff")