summaryrefslogtreecommitdiff
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
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
-rw-r--r--gnu/packages/calendar.scm1
-rw-r--r--gnu/packages/golang-xyz.scm43
-rw-r--r--gnu/packages/golang.scm44
3 files changed, 44 insertions, 44 deletions
diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm
index 6717db867f..e2e828b3d0 100644
--- a/gnu/packages/calendar.scm
+++ b/gnu/packages/calendar.scm
@@ -50,6 +50,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-xyz)
#:use-module (gnu packages gtk)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages perl)
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")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 057a399e29..f7cd32030b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2607,50 +2607,6 @@ sunset times from geographical coordinates and a date.")
Hebrew letters.")
(license license:bsd-2))))
-(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-gopkg.in-tomb.v2
(let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c")
(revision "0"))