From patchwork Sun Nov 20 13:47:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Lechner X-Patchwork-Id: 44716 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2833B27BBED; Sun, 20 Nov 2022 13:49:51 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 906DA27BBE9 for ; Sun, 20 Nov 2022 13:49:50 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owkgy-0006Ny-RV; Sun, 20 Nov 2022 08:49:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owkgw-0006Nb-VZ for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1owkgw-0001OZ-KG for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owkgw-00052d-FX for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59399] [PATCH 1/4] gnu: Add go-github-com-nathan-osman-go-sunrise. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Nov 2022 13:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59399 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59399@debbugs.gnu.org Cc: paren@disroot.org, Felix Lechner Received: via spool by 59399-submit@debbugs.gnu.org id=B59399.166895213019320 (code B ref 59399); Sun, 20 Nov 2022 13:49:02 +0000 Received: (at 59399) by debbugs.gnu.org; 20 Nov 2022 13:48:50 +0000 Received: from localhost ([127.0.0.1]:42670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owkgk-00051X-Dr for submit@debbugs.gnu.org; Sun, 20 Nov 2022 08:48:50 -0500 Received: from linode.us-core.com ([23.239.4.72]:45756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owkgg-00051I-8n for 59399@debbugs.gnu.org; Sun, 20 Nov 2022 08:48:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=klZUKv6iBqudlPk XnhC2DOoXpGIEBEDB1k4NhaMC09o=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=btOc4Ba8HO3x+qZKePIt6S/hhGUqE7nLVVtNrILz vYtLqp5YR4lLnsUCKi9Ltuj5Wj61nvIET1YjaZXJTbxF64pgGn49l1GMGtOPSvSdiFRZPR tEqwAiJuwIU8DNb0OEAYVLHR8NZujsF6hyp7hMzXgvV80jVUTOTNVr9QK45G4= Received: by linode.us-core.com (OpenSMTPD) with ESMTPSA id 6a39c44e (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 20 Nov 2022 13:48:42 +0000 (UTC) Received: from lechner-desktop.us-core.com (localhost.us-core.com [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 0979c518; Sun, 20 Nov 2022 13:48:40 +0000 (UTC) Date: Sun, 20 Nov 2022 05:47:58 -0800 Message-Id: <20221120134802.19051-1-felix.lechner@lease-up.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches X-Patchwork-Original-From: Felix Lechner via Guix-patches via From: Felix Lechner Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-nathan-osman-go-sunrise): New variable. --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) base-commit: ac09fcb955e9358c330d728693759ca1a2e20542 diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index b3df51ed5f..e697cd4af6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2485,6 +2485,33 @@ (define-public go-gopkg-in-go-playground-validator-v9 @end itemize") (license license:expat))) +(define-public go-github-com-nathan-osman-go-sunrise + (let ((commit "c8f9f1eb869135f07378e7e3c5ec7a005f806c73") + (revision "0")) + (package + (name "go-github-com-nathan-osman-go-sunrise") + (version (git-version "1.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nathan-osman/go-sunrise") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "017zwzx05r5spxcs07dp6bnh7waknzsd819k7aqd8kr819v3x9in")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/nathan-osman/go-sunrise")) + (home-page "https://github.com/nathan-osman/go-sunrise") + (synopsis "Calculates the sunrise and sunset times for a given location") + (description + "To calculate the sunrise and sunset times, you will need the date of your +observation and the geographical coordinates in latitude and longitude for the +location.") + (license license:expat)))) + (define-public go-github-com-aws-sdk (package (name "go-github-com-aws-sdk") From patchwork Sun Nov 20 13:47:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Lechner X-Patchwork-Id: 44714 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5D9A127BBED; Sun, 20 Nov 2022 13:49:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9925627BBE9 for ; Sun, 20 Nov 2022 13:49:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owkgz-0006OB-O3; Sun, 20 Nov 2022 08:49:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owkgx-0006Nd-E9 for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1owkgw-0001Og-Uf for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owkgw-00052k-RS for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59399] [PATCH 2/4] gnu: Add go-github-com-hebcal-gematriya. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Nov 2022 13:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59399 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59399@debbugs.gnu.org Cc: paren@disroot.org, Felix Lechner Received: via spool by 59399-submit@debbugs.gnu.org id=B59399.166895213719362 (code B ref 59399); Sun, 20 Nov 2022 13:49:02 +0000 Received: (at 59399) by debbugs.gnu.org; 20 Nov 2022 13:48:57 +0000 Received: from localhost ([127.0.0.1]:42679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owkgr-00052D-1d for submit@debbugs.gnu.org; Sun, 20 Nov 2022 08:48:57 -0500 Received: from linode.us-core.com ([23.239.4.72]:45756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owkgn-00051I-RU for 59399@debbugs.gnu.org; Sun, 20 Nov 2022 08:48:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=6d55bYn88B6YhWP ghvTqmNIH8NOQwy0nmorC6qxDR00=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=DJxwMbUjnQcNn7MFfixbXH2O6T5tQEa1z/4uY05g 7I08458EwVoRYs5ZRsvCqw6KOivuOwAiyc0zBSznw/B+TmGPBsqObKi/Q1L+auMGnrm4oF TPjpeZm5KCASne2gbjUgq+ADCI8VFqzJC908WSc4Eg1P8jVqb8jmf9SBilPZE= Received: by linode.us-core.com (OpenSMTPD) with ESMTPSA id 2f94520e (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 20 Nov 2022 13:48:52 +0000 (UTC) Received: from lechner-desktop.us-core.com (localhost.us-core.com [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 99171fdf; Sun, 20 Nov 2022 13:48:52 +0000 (UTC) Date: Sun, 20 Nov 2022 05:47:59 -0800 Message-Id: <20221120134802.19051-2-felix.lechner@lease-up.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221120134802.19051-1-felix.lechner@lease-up.com> References: <20221120134802.19051-1-felix.lechner@lease-up.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches X-Patchwork-Original-From: Felix Lechner via Guix-patches via From: Felix Lechner Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-hebcal-gematriya): New variable. --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e697cd4af6..4e0f62906a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2512,6 +2512,32 @@ (define-public go-github-com-nathan-osman-go-sunrise location.") (license license:expat)))) +(define-public go-github-com-hebcal-gematriya + (let ((commit "fe3043f73e415eb82727701d10f2fb40f87675e9") + (revision "0")) + (package + (name "go-github-com-hebcal-gematriya") + (version (git-version "1.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hebcal/gematriya") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xmnb2i80dy380yv8c4pd04bbyqgbc7c40p8hz1vqj2lhbm6jabf")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/hebcal/gematriya")) + (home-page "https://github.com/hebcal/gematriya") + (synopsis "Provides a system of writing numbers as Hebrew letters") + (description + "Prints numbers as Hebrew letters. Numerical values are represented using +letters of the Hebrew alef-bet (alphabet).") + (license license:bsd-2)))) + (define-public go-github-com-aws-sdk (package (name "go-github-com-aws-sdk") From patchwork Sun Nov 20 13:48:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Lechner X-Patchwork-Id: 44715 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 32F9327BBED; Sun, 20 Nov 2022 13:49:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 91CA427BBE9 for ; Sun, 20 Nov 2022 13:49:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owkh1-0006P6-MD; Sun, 20 Nov 2022 08:49:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owkgz-0006O2-9o for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1owkgx-0001Ol-PG for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owkgx-00052t-CN for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59399] [PATCH 3/4] gnu: Add go-github-com-hebcal-hebcal-go. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Nov 2022 13:49:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59399 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59399@debbugs.gnu.org Cc: paren@disroot.org, Felix Lechner Received: via spool by 59399-submit@debbugs.gnu.org id=B59399.166895213719369 (code B ref 59399); Sun, 20 Nov 2022 13:49:03 +0000 Received: (at 59399) by debbugs.gnu.org; 20 Nov 2022 13:48:57 +0000 Received: from localhost ([127.0.0.1]:42681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owkgr-00052F-BT for submit@debbugs.gnu.org; Sun, 20 Nov 2022 08:48:57 -0500 Received: from linode.us-core.com ([23.239.4.72]:45756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owkgp-00051I-PH for 59399@debbugs.gnu.org; Sun, 20 Nov 2022 08:48:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=EXvviGFHkSSTJCO yTIzdThITpdy9UwneFn8Y+6SIRhM=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=RkCZKQclfWmDyNPBWRZnZlMwpTrRCOhZVzGwreW2 +vsTTy6hc46VMFlgsQNKHc+gHZnOVVN7ef2edSLloJWfryaicV/bXMF3+vDv41cBi7iCJw mnFlSYVLyudcK33AIuqV2oXvh3CTNQYZI9EeqigORgV7oGmTvJu/IeVZwTl8c= Received: by linode.us-core.com (OpenSMTPD) with ESMTPSA id fe342e30 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 20 Nov 2022 13:48:54 +0000 (UTC) Received: from lechner-desktop.us-core.com (localhost.us-core.com [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 948ff224; Sun, 20 Nov 2022 13:48:54 +0000 (UTC) Date: Sun, 20 Nov 2022 05:48:00 -0800 Message-Id: <20221120134802.19051-3-felix.lechner@lease-up.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221120134802.19051-1-felix.lechner@lease-up.com> References: <20221120134802.19051-1-felix.lechner@lease-up.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches X-Patchwork-Original-From: Felix Lechner via Guix-patches via From: Felix Lechner Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-hebcal-hebcal-go): New variable. --- gnu/packages/golang.scm | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 4e0f62906a..1d5493ad40 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2538,6 +2538,48 @@ (define-public go-github-com-hebcal-gematriya letters of the Hebrew alef-bet (alphabet).") (license license:bsd-2)))) +(define-public go-github-com-hebcal-hebcal-go + (let ((commit "d42e881860cfc9e8249fc79f268091c3c4d36b0d") + (revision "0")) + (package + (name "go-github-com-hebcal-hebcal-go") + (version (git-version "0.9.11" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hebcal/hebcal-go") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1m9akb8pwxchpaci05gambshrzw626gsrfhl25f36vjl7mq5292n")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/hebcal/hebcal-go" + ;; Source-only package + #:tests? #f + #: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)) + (home-page "https://github.com/hebcal/hebcal-go") + (synopsis "Library module for Hebcal, a 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.") + (license license:gpl2+)))) + (define-public go-github-com-aws-sdk (package (name "go-github-com-aws-sdk") From patchwork Sun Nov 20 13:48:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Lechner X-Patchwork-Id: 44713 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3F82C27BBEC; Sun, 20 Nov 2022 13:49:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AB41F27BBED for ; Sun, 20 Nov 2022 13:49:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owkh2-0006PP-3k; Sun, 20 Nov 2022 08:49:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owkgz-0006O6-F4 for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1owkgz-0001Os-2Q for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owkgy-00053h-VU for guix-patches@gnu.org; Sun, 20 Nov 2022 08:49:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59399] [PATCH 4/4] gnu: Add hebcal. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Nov 2022 13:49:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59399 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59399@debbugs.gnu.org Cc: paren@disroot.org, Felix Lechner Received: via spool by 59399-submit@debbugs.gnu.org id=B59399.166895214319406 (code B ref 59399); Sun, 20 Nov 2022 13:49:04 +0000 Received: (at 59399) by debbugs.gnu.org; 20 Nov 2022 13:49:03 +0000 Received: from localhost ([127.0.0.1]:42684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owkgw-00052n-SV for submit@debbugs.gnu.org; Sun, 20 Nov 2022 08:49:03 -0500 Received: from linode.us-core.com ([23.239.4.72]:45756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owkgq-00051I-Bh for 59399@debbugs.gnu.org; Sun, 20 Nov 2022 08:48:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=sDPkaOct+1eKe7F kgXqrPBljmo47DddnxipCiDR3uI0=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=ISTCR5kI8z1nNm9dVngchM2/iiK4fIAP4Zaa2QX/ 2fsHf3HS5ENBBd+Ra3d+SEmQl7PD+0Mqhaympx/eAoRAOS32APaFmymqiAQYA2zW4jl5JR z745viOKD7qhvtSyZBdanzNxnanXy5IVbPM3pTQ+YRvBc7Oc/iETobGWzT98c= Received: by linode.us-core.com (OpenSMTPD) with ESMTPSA id 3af68052 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 20 Nov 2022 13:48:56 +0000 (UTC) Received: from lechner-desktop.us-core.com (localhost.us-core.com [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id d6baf0b0; Sun, 20 Nov 2022 13:48:55 +0000 (UTC) Date: Sun, 20 Nov 2022 05:48:01 -0800 Message-Id: <20221120134802.19051-4-felix.lechner@lease-up.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221120134802.19051-1-felix.lechner@lease-up.com> References: <20221120134802.19051-1-felix.lechner@lease-up.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches X-Patchwork-Original-From: Felix Lechner via Guix-patches via From: Felix Lechner Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/calendar.scm (hebcal): New variable. --- gnu/packages/calendar.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index 6583810277..41c047f955 100644 --- a/gnu/packages/calendar.scm +++ b/gnu/packages/calendar.scm @@ -34,6 +34,7 @@ (define-module (gnu packages calendar) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) + #:use-module (guix build-system go) #:use-module (guix build-system cmake) #:use-module (guix build-system python) #:use-module (gnu packages admin) @@ -45,6 +46,7 @@ (define-module (gnu packages calendar) #:use-module (gnu packages freedesktop) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages golang) #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) #:use-module (gnu packages perl) @@ -426,3 +428,37 @@ (define-public gsimplecal launched again it closes the running instance. It can additionally be configured to show the current time in different timezones.") (license license:bsd-3)))) + +(define-public hebcal + (let ((commit "2384bb88dc1a41a4a5ae57a29fb58b2dd49a475d") + (revision "0")) + (package + (name "hebcal") + (version (git-version "5.3.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hebcal/hebcal") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12rv3b51jb7wcjwmmizz9jkw7gh37yklys4xncvpzgxdkkfgmmjx")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/hebcal/hebcal")) + (native-inputs + (list go-github-com-hebcal-hebcal-go + go-github-com-pborman-getopt)) + (synopsis "Perpetual Jewish Calendar with holidays and prayer times") + (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.") + (home-page "https://github.com/hebcal/hebcal") + (license license:gpl2+))))