mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: hebcal: Fix indentation.
* gnu/packages/calendar.scm (hebcal): Fix indentation. Change-Id: If460d109e3906c5395be3848d48011ede767be4c
This commit is contained in:
parent
24da6bb4a7
commit
6dd9a1ae13
1 changed files with 39 additions and 41 deletions
|
@ -437,46 +437,44 @@ configured to show the current time in different timezones.")
|
|||
(license license:bsd-3))))
|
||||
|
||||
(define-public hebcal
|
||||
(package
|
||||
(name "hebcal")
|
||||
(version "5.8.7")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/hebcal/hebcal")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1a1b9jip1ha6bzv6xg9fx47q167yzgbxjvrp5zngv175nzl9427j"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(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))
|
||||
(synopsis "Perpetual Jewish Calendar program")
|
||||
(description
|
||||
"Hebcal is a program for converting between Hebrew and Gregorian
|
||||
dates, and generating lists of Jewish holidays for a given year.
|
||||
Shabbat, holiday candle lighting, and havdalah times are approximated
|
||||
using your location.
|
||||
(package
|
||||
(name "hebcal")
|
||||
(version "5.8.7")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/hebcal/hebcal")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1a1b9jip1ha6bzv6xg9fx47q167yzgbxjvrp5zngv175nzl9427j"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(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))
|
||||
(home-page "https://github.com/hebcal/hebcal")
|
||||
(synopsis "Perpetual Jewish Calendar program")
|
||||
(description
|
||||
"Hebcal is a program for converting between Hebrew and Gregorian dates,
|
||||
and generating lists of Jewish holidays for a given year. Shabbat, holiday
|
||||
candle lighting, and havdalah times are approximated using your location.
|
||||
|
||||
It can also show daily prayer times, the weekly Torah reading, and
|
||||
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")
|
||||
It can also show daily prayer times, the weekly Torah reading, and the daily
|
||||
leaf of Talmud. The program can help with counting of the Omer or with
|
||||
calculation of Hebrew yahrzeits, birthdays, or anniversaries.")
|
||||
(license license:gpl2+)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue