diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-22 16:40:58 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:42:16 +0000 |
commit | 24da6bb4a7ff79927a2b36d37cd4024985f530c8 (patch) | |
tree | 880f8fb2747ea6180bdce56daa659363a3c8098c | |
parent | 7c8c15f505f6b55153cb8b48ad3f28f567f1d5b1 (diff) |
gnu: hebcal: Update to 5.8.7.
* gnu/packages/calendar.scm (hebcal): Update to 5.8.7.
[inputs]: Remove go-github-com-pborman-getopt; add
go-github-com-pborman-getopt-v2.
Change-Id: I7105ce40d84610ba598fc3c95718354415d36109
-rw-r--r-- | gnu/packages/calendar.scm | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index 9f97b20705..32493b0336 100644 --- a/gnu/packages/calendar.scm +++ b/gnu/packages/calendar.scm @@ -437,23 +437,33 @@ configured to show the current time in different timezones.") (license license:bsd-3)))) (define-public hebcal - (let ((commit "2384bb88dc1a41a4a5ae57a29fb58b2dd49a475d") - (revision "0")) (package (name "hebcal") - (version (git-version "5.3.0" revision commit)) + (version "5.8.7") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/hebcal/hebcal") - (commit commit))) + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 - "12rv3b51jb7wcjwmmizz9jkw7gh37yklys4xncvpzgxdkkfgmmjx")))) + "1a1b9jip1ha6bzv6xg9fx47q167yzgbxjvrp5zngv175nzl9427j")))) (build-system go-build-system) (arguments - (list #:import-path "github.com/hebcal/hebcal")) + (list + #:install-source? #f + #:import-path "github.com/hebcal/hebcal" + #:phases + #~(modify-phases %standard-phases + ;; taken from Makefile + (add-after 'unpack 'set-defautl-city + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (with-output-to-file "dcity.go" + (lambda () + (format #t "package main~%var defaultCity = ~s~%" + "Paris"))))))))) (inputs (list go-github-com-hebcal-hebcal-go go-github-com-pborman-getopt-v2)) @@ -469,4 +479,4 @@ the daily leaf of Talmud. The program can help with counting of the Omer or with calculation of Hebrew yahrzeits, birthdays, or anniversaries.") (home-page "https://github.com/hebcal/hebcal") - (license license:gpl2+)))) + (license license:gpl2+))) |