diff mbox

[1/9] gnu: Add ghc-hinotify.

Message ID 20161203104213.8135-1-david@craven.ch
State New
Headers show

Commit Message

David Craven Dec. 3, 2016, 10:42 a.m. UTC
* gnu/packages/haskell.scm (ghc-hinotify): New variable.
---
 gnu/packages/haskell.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Comments

Leo Famulari Dec. 3, 2016, 7:58 p.m. UTC | #1
On Sat, Dec 03, 2016 at 11:42:05AM +0100, David Craven wrote:
> * gnu/packages/haskell.scm (ghc-hinotify): New variable.

> +    (version "0.3.8.1")

0.3.9 was *just* released a few minutes ago. Please use that if it works
for you.

> +    (home-page "https://github.com/kolmodin/hinotify.git")
> +    (synopsis "Haskell binding to inotify")
> +    (description "This library provides a wrapper to the Linux Kernel's inotify

I recommend s/Kernel/kernel
diff mbox

Patch

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 7a7d6ba..cbcce17 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7,6 +7,7 @@ 
 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016 David Craven <david@craven.ch>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7994,4 +7995,24 @@  helper functions for Lists, Maybes, Tuples, Functions.")
 3D plots using gnuplot.")
     (license license:bsd-3)))
 
+(define-public ghc-hinotify
+  (package
+    (name "ghc-hinotify")
+    (version "0.3.8.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://hackage.haskell.org/package/hinotify/"
+                    "hinotify-" version ".tar.gz"))
+              (sha256
+               (base32
+                "03c1f4d7x805zdiq2w26kl09xrfjw19saycdkhnixzv2qcr6xm1p"))))
+    (build-system haskell-build-system)
+    (home-page "https://github.com/kolmodin/hinotify.git")
+    (synopsis "Haskell binding to inotify")
+    (description "This library provides a wrapper to the Linux Kernel's inotify
+feature, allowing applications to subscribe to notifications when a file is
+accessed or modified.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here