guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#59399] [PATCH 3/4] gnu: Add go-github-com-hebcal-hebcal-go.


From: (
Subject: [bug#59399] [PATCH 3/4] gnu: Add go-github-com-hebcal-hebcal-go.
Date: Sun, 20 Nov 2022 14:02:20 +0000

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

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

> @@ -2538,6 +2538,48 @@ (define-public go-github-com-hebcal-gematriya

> +      (arguments
> +       (list
> +        #:import-path "github.com/hebcal/hebcal-go"
> +        ;; Source-only package
> +        #:tests? #f
> +        #:phases
> +        #~(modify-phases %standard-phases
> +            ;; Source-only package
> +            (delete 'build))))

Indent it like this:

  (list #:import-path "githu.com/hebcal/hebcal-go"
        #:tests? #f ;source-only package
        #:phases
        #~(modify-phases %standard-phases
            ;; Source-only package.
            (delete 'build)))

> +      (propagated-inputs
> +       (list go-github-com-hebcal-gematriya
> +             go-github-com-nathan-osman-go-sunrise
> +             go-github-com-stretchr-testify))

``go-github-com-stretchr-testify'' should probably be in native-inputs,
since it's used only in tests.

> +      (synopsis "Library module for Hebcal, a perpetual Jewish Calendar")

  (synopsis "Go library for the Hebcal perpetual Jewish calendar")

> +      (description
> +       "This library 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.
> +
> +Torah readings (Parashat HaShavua), Daf Yomi, and counting of the Omer can 
> also be
> +specified.  Hebcal also includes algorithms to calculate yahrzeits, 
> birthdays and
> +anniversaries.")

  (description
   "This package provides a library for conversion between Hebrew
and Georgian dates, and generation of lists of Jewish holidays for
a given year.  Shabbat and holiday candle lighting and havdalah times
are approximated based on location.

Torah readings, Daf Yomi, and counting of the Omer can also be
specified.  Algorithms are included to calculate yahrzeits, birthdays,
and anniversaries.")

    -- (





reply via email to

[Prev in Thread] Current Thread [Next in Thread]