guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 04/21] gnu: Add ghc-language-haskell-extract.


From: Paul van der Walt
Subject: [PATCH 04/21] gnu: Add ghc-language-haskell-extract.
Date: Wed, 4 Nov 2015 21:00:52 +0100

* gnu/packages/haskell.scm (ghc-language-haskell-extract): New variable.
---
 gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 765b669..bf2755b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -4233,6 +4233,30 @@ where every element did not have to have an inverse, 
thus the name
 semigroup.")
     (license bsd-3)))
 
+(define-public ghc-language-haskell-extract
+  (package
+    (name "ghc-language-haskell-extract")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/language-haskell-extract/";
+             "language-haskell-extract-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-regex-posix" ,ghc-regex-posix)))
+    (home-page "http://github.com/finnsson/template-helper";)
+    (synopsis "Automatically extract functions from Haskell code")
+    (description
+     "This library provides some helper functions on top of Template Haskell,
+which allow a programmer to automatically extract functions from local code
+using regular expressions.")
+    (license bsd-3)))
+
 (define-public ghc-free
   (package
     (name "ghc-free")
-- 
2.6.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]