From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: [PATCH 2/2] gnu: Add libhdate. Date: Thu, 8 Sep 2016 13:44:39 +0300 Message-ID: <20160908104439.17877-3-efraim@flashner.co.il> References: <20160908104439.17877-1-efraim@flashner.co.il> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhwrw-0008DJ-89 for guix-devel@gnu.org; Thu, 08 Sep 2016 06:50:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhwp9-0004po-L1 for guix-devel@gnu.org; Thu, 08 Sep 2016 06:47:43 -0400 Received: from flashner.co.il ([178.62.234.194]:47886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhwp9-0004nZ-AI for guix-devel@gnu.org; Thu, 08 Sep 2016 06:44:51 -0400 Received: from localhost (85.64.232.168.dynamic.barak-online.net [85.64.232.168]) by flashner.co.il (Postfix) with ESMTPSA id F350F40361 for ; Thu, 8 Sep 2016 10:44:43 +0000 (UTC) In-Reply-To: <20160908104439.17877-1-efraim@flashner.co.il> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/calendar.scm (libhdate): New variable. --- gnu/packages/calendar.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index cf85899..0c37caa 100644 --- a/gnu/packages/calendar.scm +++ b/gnu/packages/calendar.scm @@ -166,3 +166,24 @@ program to be executed. It also features: sophisticated date calculation, moon phases, sunrise/sunset, Hebrew calendar, alarms, PostScript output and proper handling of holidays.") (license gpl2))) + +(define-public libhdate + (package + (name "libhdate") + (version "1.6.02") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/libhdate/libhdate/libhdate-" + version "/" name "-" version ".tar.bz2")) + (sha256 + (base32 + "0qkpq412p78znw8gckwcx3l0wcss9s0dgw1pvjb1ih2pxf6hm4rw")))) + (build-system gnu-build-system) + (home-page "http://libhdate.sourceforge.net/") + (synopsis "Library to use Hebrew dates") + (description "LibHdate is a small library for the Hebrew calendar and times +of day, written in C, and including bindings for C++, pascal, perl, php, python, +and ruby. It includes two illustrative command-line programs, @code{hcal} and +@code{hdate}, and some snippets and scripts written in the binding languages.") + (license gpl3+))) -- 2.10.0