From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +ANnJBhjemPGTgAAbAwnHQ (envelope-from ) for ; Sun, 20 Nov 2022 18:25:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ONZeJBhjemNrbAAA9RJhRA (envelope-from ) for ; Sun, 20 Nov 2022 18:25:44 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6045320D40 for ; Sun, 20 Nov 2022 18:25:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owo40-0001pc-F1; Sun, 20 Nov 2022 12:25: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 1owo3z-0001pD-9s for guix-patches@gnu.org; Sun, 20 Nov 2022 12:25: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 1owo3z-0007bF-0p for guix-patches@gnu.org; Sun, 20 Nov 2022 12:25:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owo3y-0002Vv-SY for guix-patches@gnu.org; Sun, 20 Nov 2022 12:25:02 -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 17:25: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.16689650649592 (code B ref 59399); Sun, 20 Nov 2022 17:25:02 +0000 Received: (at 59399) by debbugs.gnu.org; 20 Nov 2022 17:24:24 +0000 Received: from localhost ([127.0.0.1]:44453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owo3M-0002UZ-E2 for submit@debbugs.gnu.org; Sun, 20 Nov 2022 12:24:24 -0500 Received: from linode.us-core.com ([23.239.4.72]:46684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owo3I-0002Tv-3J for 59399@debbugs.gnu.org; Sun, 20 Nov 2022 12:24:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=KRbYFXo8yqXTYzq GXtee/VwlmCerdshsWLO7iQugOjo=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=h+RoprmWKiP2VCJTfjvFQ9ZVcoMP+/t3fnkRwGsJ 9ROiWcb/DTOxDPqtUtk4X9NqaeSokEN729RHEMMrjPi4ZFgdB7lTZTS32iQSMa79yBdyz+ 7eC8ITcTclJlePAnD3OWrVBZ+7ybRZ1jxAXgeq58gY2uut3IPWtO0J1B5R9wI= Received: by linode.us-core.com (OpenSMTPD) with ESMTPSA id ae51bc97 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 20 Nov 2022 17:24:17 +0000 (UTC) Received: from lechner-desktop.us-core.com (localhost.us-core.com [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 8d1029ae; Sun, 20 Nov 2022 17:24:16 +0000 (UTC) Date: Sun, 20 Nov 2022 09:24:02 -0800 Message-Id: <20221120172402.26408-4-felix.lechner@lease-up.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221120172402.26408-1-felix.lechner@lease-up.com> References: <20221120172402.26408-1-felix.lechner@lease-up.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Felix Lechner via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668965144; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UCCibGcQwORQ8dpNsCplRXvYaThSd1Kg/kubtHusWTU=; b=qoyHGDTsDhSROaOLTftjbIRxtI/qskAF0L/Tl70KTBDKuy2LIMcR7jum/GR85A35ChjCYj IMww447CY52guOkPYgbYwTB2mcGhSDon8jJ4hAoNqxtWQNe298b1W8dpuXnyQuMStfJSMi ciGP/eOzh4w4qxdogp2RH6hTNkjEKwGPUsNJmtFJyIhccZtdamIWQn72DtWE0UlfoYw0KG /oL23/uC2NewElHX2BdbKV+7Qjes1O6OOKQNFtBTESqC3+3rkDyi5LZxN3Ju5DJ59eXMqk UtpC421VQlSczxMfnd9LTeNuXR6IGMQsTgjfQ5e8A42BneAiSPAa97eaP1flwA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668965144; a=rsa-sha256; cv=none; b=Wv7Z0rsBTY+7yzNosDz9tGCheh6afnK3x9TcJO+TBpbjCZIicAsd+pw6rFgPCJtVbPUWz7 hsIErYEDXh+BfqbtMab5LAKPFaJyCOZVA6vDfwJ+DRunppHgIJmfeSQQtTW7OdUWE+jQI2 jY4tHUUQF4KcZ1dgcMBnWXlV+LHylrFfm5QsH8HwXNsyqLnEo3rm7eQJ2bCIqfAS1XwuIw x5PN19OKshr5f+TQq92maa4kGp1znPpbDnMQxItd6McdRAMKfWpRZZ966Pc7EgTBY2uaEz DKgdX7uplFSwZMRy1pRJtMnrbbSAOWPkPlVN7tXNdT5P25d4LLUdrcK2y4BFrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=h+RoprmW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=h+RoprmW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6045320D40 X-Spam-Score: -1.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: J5JYU6BEQJ6T * gnu/packages/calendar.scm (hebcal): New variable. --- gnu/packages/calendar.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index 6583810277..32a8f23f19 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,38 @@ (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 + (list #:import-path "github.com/hebcal/hebcal")) + (inputs + (list go-github-com-hebcal-hebcal-go + go-github-com-pborman-getopt)) + (synopsis "Perpetual Jewish Calendar program") + (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.") + (home-page "https://github.com/hebcal/hebcal") + (license license:gpl2+)))) -- 2.38.1