guix-devel
[Top][All Lists]
Advanced

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

[PATCH 17/21] gnu: Add ghc-shelly.


From: Paul van der Walt
Subject: [PATCH 17/21] gnu: Add ghc-shelly.
Date: Wed, 4 Nov 2015 21:01:05 +0100

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 6f956d7..76ff287 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1372,6 +1372,45 @@ graphics system (GL, version 4.5) and its accompanying 
utility library (GLU,
 version 1.3).")
     (license bsd-3)))
 
+(define-public ghc-shelly
+  (package
+    (name "ghc-shelly")
+    (version "1.6.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/shelly/shelly-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "12zx291ws5ksmw3f2ybsb9mjjrl1289aj2z8cplhfmcb7fwv88z7"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-mtl" ,ghc-mtl)
+       ("ghc-unix-compat" ,ghc-unix-compat)
+       ("ghc-system-filepath" ,ghc-system-filepath)
+       ("ghc-system-fileio" ,ghc-system-fileio)
+       ("ghc-monad-control" ,ghc-monad-control)
+       ("ghc-lifted-base" ,ghc-lifted-base)
+       ("ghc-lifted-async" ,ghc-lifted-async)
+       ("ghc-exceptions" ,ghc-exceptions)
+       ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
+       ("ghc-text" ,ghc-text)
+       ("ghc-async" ,ghc-async)
+       ("ghc-transformers-base" ,ghc-transformers-base)
+       ("ghc-hunit" ,ghc-hunit)
+       ("ghc-hspec" ,ghc-hspec)))
+    (home-page "https://github.com/yesodweb/Shelly.hs";)
+    (synopsis "Shell-like systems programming in Haskell")
+    (description
+     "Shelly provides convenient systems programming in Haskell, similar in
+spirit to POSIX shells.  It is aimed at convenience and getting things done,
+rather than being a demonstration of elegance.  It has detailed and useful
+error messages, and maintains its own environment, making it thread-safe.")
+    (license bsd-3)))
+
 (define-public ghc-streaming-commons
   (package
     (name "ghc-streaming-commons")
-- 
2.6.2




reply via email to

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