mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01:00
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
This commit is contained in:
parent
dc1074ddc3
commit
5538884e50
1 changed files with 17 additions and 7 deletions
|
@ -437,23 +437,33 @@ (define-public gsimplecal
|
|||
(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 @@ (define-public hebcal
|
|||
Omer or with calculation of Hebrew yahrzeits, birthdays, or
|
||||
anniversaries.")
|
||||
(home-page "https://github.com/hebcal/hebcal")
|
||||
(license license:gpl2+))))
|
||||
(license license:gpl2+)))
|
||||
|
|
Loading…
Reference in a new issue