gnu: hebcal: Fix indentation.

* gnu/packages/calendar.scm (hebcal): Fix indentation.

Change-Id: If460d109e3906c5395be3848d48011ede767be4c
This commit is contained in:
Sharlatan Hellseher 2024-12-22 20:22:19 +00:00
parent 24da6bb4a7
commit 6dd9a1ae13
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -437,46 +437,44 @@ configured to show the current time in different timezones.")
(license license:bsd-3)))) (license license:bsd-3))))
(define-public hebcal (define-public hebcal
(package (package
(name "hebcal") (name "hebcal")
(version "5.8.7") (version "5.8.7")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/hebcal/hebcal") (uri (git-reference
(commit (string-append "v" version)))) (url "https://github.com/hebcal/hebcal")
(file-name (git-file-name name version)) (commit (string-append "v" version))))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"1a1b9jip1ha6bzv6xg9fx47q167yzgbxjvrp5zngv175nzl9427j")))) (base32 "1a1b9jip1ha6bzv6xg9fx47q167yzgbxjvrp5zngv175nzl9427j"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
(list (list
#:install-source? #f #:install-source? #f
#:import-path "github.com/hebcal/hebcal" #:import-path "github.com/hebcal/hebcal"
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
;; taken from Makefile ;; taken from Makefile
(add-after 'unpack 'set-defautl-city (add-after 'unpack 'set-defautl-city
(lambda* (#:key import-path #:allow-other-keys) (lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path) (with-directory-excursion (string-append "src/" import-path)
(with-output-to-file "dcity.go" (with-output-to-file "dcity.go"
(lambda () (lambda ()
(format #t "package main~%var defaultCity = ~s~%" (format #t "package main~%var defaultCity = ~s~%"
"Paris"))))))))) "Paris")))))))))
(inputs (inputs
(list go-github-com-hebcal-hebcal-go (list go-github-com-hebcal-hebcal-go
go-github-com-pborman-getopt-v2)) go-github-com-pborman-getopt-v2))
(synopsis "Perpetual Jewish Calendar program") (home-page "https://github.com/hebcal/hebcal")
(description (synopsis "Perpetual Jewish Calendar program")
"Hebcal is a program for converting between Hebrew and Gregorian (description
dates, and generating lists of Jewish holidays for a given year. "Hebcal is a program for converting between Hebrew and Gregorian dates,
Shabbat, holiday candle lighting, and havdalah times are approximated and generating lists of Jewish holidays for a given year. Shabbat, holiday
using your location. candle lighting, and havdalah times are approximated using your location.
It can also show daily prayer times, the weekly Torah reading, and It can also show daily prayer times, the weekly Torah reading, and the daily
the daily leaf of Talmud. The program can help with counting of the leaf of Talmud. The program can help with counting of the Omer or with
Omer or with calculation of Hebrew yahrzeits, birthdays, or calculation of Hebrew yahrzeits, birthdays, or anniversaries.")
anniversaries.")
(home-page "https://github.com/hebcal/hebcal")
(license license:gpl2+))) (license license:gpl2+)))