unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "\( via Guix-patches" via <guix-patches@gnu.org>
To: "Felix Lechner" <felix.lechner@lease-up.com>, <59399@debbugs.gnu.org>
Subject: [bug#59399] [PATCH 3/4] gnu: Add go-github-com-hebcal-hebcal-go.
Date: Sun, 20 Nov 2022 14:02:20 +0000	[thread overview]
Message-ID: <COH6FWA9FBCY.X6XZ7G03DIAS@guix-framework> (raw)
In-Reply-To: <20221120134802.19051-3-felix.lechner@lease-up.com>

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	other threads:[~2022-11-20 14:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-20  4:15 [bug#59399] [PATCH] gnu: Add hebcal Felix Lechner via Guix-patches via
2022-11-20  8:44 ` ( via Guix-patches via
2022-11-20 13:47   ` [bug#59399] [PATCH 1/4] gnu: Add go-github-com-nathan-osman-go-sunrise Felix Lechner via Guix-patches via
2022-11-20 13:47     ` [bug#59399] [PATCH 2/4] gnu: Add go-github-com-hebcal-gematriya Felix Lechner via Guix-patches via
2022-11-20 13:55       ` ( via Guix-patches via
2022-11-20 13:48     ` [bug#59399] [PATCH 3/4] gnu: Add go-github-com-hebcal-hebcal-go Felix Lechner via Guix-patches via
2022-11-20 14:02       ` ( via Guix-patches via [this message]
2022-11-20 14:04         ` ( via Guix-patches via
2022-11-20 13:48     ` [bug#59399] [PATCH 4/4] gnu: Add hebcal Felix Lechner via Guix-patches via
2022-11-20 14:06       ` ( via Guix-patches via
2022-11-20 17:23         ` [bug#59399] [PATCH 1/4] gnu: Add go-github-com-nathan-osman-go-sunrise Felix Lechner via Guix-patches via
2022-11-20 17:24           ` [bug#59399] [PATCH 2/4] gnu: Add go-github-com-hebcal-gematriya Felix Lechner via Guix-patches via
2022-11-20 17:24           ` [bug#59399] [PATCH 3/4] gnu: Add go-github-com-hebcal-hebcal-go Felix Lechner via Guix-patches via
2022-11-20 17:24           ` [bug#59399] [PATCH 4/4] gnu: Add hebcal Felix Lechner via Guix-patches via
2022-11-20 17:26           ` [bug#59399] [PATCH 1/4] gnu: Add go-github-com-nathan-osman-go-sunrise ( via Guix-patches via
2022-11-24  9:48             ` Christopher Baines
2022-11-20 13:53     ` ( via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=COH6FWA9FBCY.X6XZ7G03DIAS@guix-framework \
    --to=guix-patches@gnu.org \
    --cc=59399@debbugs.gnu.org \
    --cc=felix.lechner@lease-up.com \
    --cc=paren@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).