guix-commits
[Top][All Lists]
Advanced

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

44/53: gnu: Add ghc-errorcall-eq-instance.


From: Ricardo Wurmus
Subject: 44/53: gnu: Add ghc-errorcall-eq-instance.
Date: Thu, 16 Aug 2018 11:05:03 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 19395aec69b5e62f5de8e9edeb7ad8edbb6e9a5b
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Aug 15 12:14:53 2018 +0200

    gnu: Add ghc-errorcall-eq-instance.
    
    * gnu/packages/haskell.scm (ghc-errorcall-eq-instance): New variable.
---
 gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index bee9e6e..569961d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9849,4 +9849,31 @@ disk space usage.")
     (description "This package provides a library implementing the XDG Base 
Directory spec.")
     (license license:bsd-3)))
 
+(define-public ghc-errorcall-eq-instance
+  (package
+    (name "ghc-errorcall-eq-instance")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/";
+                           "errorcall-eq-instance/errorcall-eq-instance-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-base-orphans" ,ghc-base-orphans)))
+    (native-inputs
+     `(("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-hspec" ,ghc-hspec)
+       ("hspec-discover" ,hspec-discover)))
+    (home-page "http://hackage.haskell.org/package/errorcall-eq-instance";)
+    (synopsis "Orphan Eq instance for ErrorCall")
+    (description
+     "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for 
@code{ErrorCall}.
+This package provides an orphan instance.")
+    (license license:expat)))
+
 ;;; haskell.scm ends here



reply via email to

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