guix-devel
[Top][All Lists]
Advanced

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

[PATCH 21/43] gnu: ghc-transformers-compat: New variables.


From: Paul van der Walt
Subject: [PATCH 21/43] gnu: ghc-transformers-compat: New variables.
Date: Thu, 15 Oct 2015 14:21:15 +0200

* gnu/packages/haskell.scm (ghc-transformers-compat): New variable.
* gnu/packages/haskell.scm (ghc-exceptions): New variable.
* gnu/packages/haskell.scm (ghc-temporary): New variable.
* gnu/packages/haskell.scm (ghc-silently): New variable.
---
 gnu/packages/haskell.scm | 106 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 106 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 2585c81..adc9d82 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -927,6 +927,112 @@ the paper \"Splittable Pseudorandom Number Generators 
Using Cryptographic
 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
     (license bsd-3)))
 
+(define-public ghc-transformers-compat
+  (package
+    (name "ghc-transformers-compat")
+    (version "0.4.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/transformers-compat";
+             "/transformers-compat-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0lmg8ry6bgigb0v2lg0n74lxi8z5m85qq0qi4h1k9llyjb4in8ym"))))
+    (build-system haskell-build-system)
+    (home-page "http://github.com/ekmett/transformers-compat/";)
+    (synopsis "A small compatibility shim exposing the new types from
+transformers 0.3 and 0.4 to older Haskell platforms.")
+    (description "This package includes backported versions of types that were
+added to transformers in transformers 0.3 and 0.4 for users who need strict
+transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
+but also need those types.")
+    (license bsd-3)))
+
+(define-public ghc-exceptions
+  (package
+    (name "ghc-exceptions")
+    (version "0.8.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/exceptions/exceptions-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1x1bk1jf42k1gigiqqmkkh38z2ffhx8rsqiszdq3f94m2h6kw2h7"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f))
+    (propagated-inputs
+     `(("ghc-stm" ,ghc-stm)
+       ("ghc-mtl" ,ghc-mtl)
+       ("ghc-transformers-compat" ,ghc-transformers-compat)))
+    (inputs
+     `(("ghc-quickcheck" ,ghc-quickcheck)))
+    (home-page
+     "http://github.com/ekmett/exceptions/";)
+    (synopsis
+     "Extensible optionally-pure exceptions")
+    (description
+     "Extensible optionally-pure exceptions")
+    (license bsd-3)))
+
+(define-public ghc-temporary
+  (package
+    (name "ghc-temporary")
+    (version "1.2.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/temporary/temporary-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0is67bmsjmbbw6wymhis8wyq9gax3sszm573p5719fx2c9z9r24a"))))
+    (build-system haskell-build-system)
+    (propagated-inputs `(("ghc-exceptions" ,ghc-exceptions)))
+    (home-page
+     "http://www.github.com/batterseapower/temporary";)
+    (synopsis "Portable temporary file and directory support for Windows and
+Unix, based on code from Cabal")
+    (description "The functions for creating temporary files and directories
+in the base library are quite limited. The unixutils package contains some
+good ones, but they aren't portable to Windows. This library just repackages
+the Cabal implementations of its own temporary file and folder functions so
+that you can use them without linking against Cabal or depending on it being
+installed.")
+    (license bsd-3)))
+
+(define-public ghc-silently
+  (package
+    (name "ghc-silently")
+    (version "1.2.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/silently/silently-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f))  ;; circular dependency with nanospec
+    (inputs
+     `(("ghc-temporary" ,ghc-temporary)))
+    (home-page "https://github.com/hspec/silently";)
+    (synopsis
+     "Prevent or capture writing to stdout and other handles.")
+    (description
+     "Prevent or capture writing to stdout and other handles.")
+    (license bsd-3)))
+
 (define-public ghc-quickcheck-io
   (package
     (name "ghc-quickcheck-io")
-- 
2.6.1




reply via email to

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