diff mbox

[2/2] gnu: Add libhdate.

Message ID 20160908104439.17877-3-efraim@flashner.co.il
State New
Headers show

Commit Message

Efraim Flashner Sept. 8, 2016, 10:44 a.m. UTC
* gnu/packages/calendar.scm (libhdate): New variable.
---
 gnu/packages/calendar.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Comments

Eric Bavier Sept. 9, 2016, 4:48 a.m. UTC | #1
On Thu,  8 Sep 2016 13:44:39 +0300
Efraim Flashner <efraim@flashner.co.il> wrote:

> * 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+)))

LGTM!

`~Eric
diff mbox

Patch

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+)))