Subject: Re: [PATCH 4/4] gnu: Add hebcal.

From: "(" <[email-masked]>
Date: Sun, 20 Nov 2022 14:06:56 +0000

On Sun Nov 20, 2022 at 1:48 PM GMT, Felix Lechner wrote:
> * gnu/packages/calendar.scm (hebcal): New variable.

> --- a/gnu/packages/calendar.scm
> +++ b/gnu/packages/calendar.scm

> @@ -426,3 +428,37 @@ (define-public gsimplecal

> +      (build-system go-build-system)
> +      (arguments
> +       '(#:import-path "github.com/hebcal/hebcal"))

  (list ...)

> +      (native-inputs
> +       (list go-github-com-hebcal-hebcal-go
> +             go-github-com-pborman-getopt))

I think these both need to be regular inputs.

> +      (synopsis "Perpetual Jewish Calendar with holidays and prayer times")

  (synopsis "Perpetual Jewish calendar program")

> +      (description "Hebcal is a program which converts between Hebrew and Gregorian
> +dates, and generates lists of Jewish holidays for any year past, present or future.
> +Shabbat and holiday candle lighting and havdalah times are approximated based on
> +location.
> +
> +It can also show daily prayer times, the weekly Torah reading (Parashat HaShavua)
> +and the daily leaf of Talmud (Daf Yomi).  The program can furthermore help with the
> +counting of the Omer or with the calculation of Hebrew yahrzeits, birthdays or
> +anniversaries.")

  (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.")

    -- (