Re: [PATCH 2/2] gnu: Add libhdate.

2016-09-08 Thread Eric Bavier
On Thu,  8 Sep 2016 13:44:39 +0300
Efraim Flashner  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



[PATCH 2/2] gnu: Add libhdate.

2016-09-08 Thread Efraim Flashner
* 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