guix-commits
[Top][All Lists]
Advanced

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

194/329: gnu: ghc-http-api-data: Update to 0.4.1.


From: guix-commits
Subject: 194/329: gnu: ghc-http-api-data: Update to 0.4.1.
Date: Wed, 20 Nov 2019 21:17:59 -0500 (EST)

samplet pushed a commit to branch master
in repository guix.

commit a57236eb00e41f238e3d026c143416c26c2f9a2f
Author: Timothy Sample <address@hidden>
Date:   Thu Oct 31 13:15:02 2019 -0400

    gnu: ghc-http-api-data: Update to 0.4.1.
    
    * gnu/packages/haskell-xyz.scm (ghc-http-api-data): Update to 0.4.1.
    [arguments]: Enable tests.
    [inputs]: Remove 'ghc-time-locale-compat' and 'ghc-uri-bytestring'; add
    'ghc-cookie' and 'ghc-time-compat'.
    [native-inputs]: Add 'cabal-doctest', 'ghc-nats', 'ghc-hunit',
    'ghc-hspec', 'ghc-quickcheck', 'ghc-quickcheck-instances',
    'ghc-doctest', and 'hspec-discover'
---
 gnu/packages/haskell-xyz.scm | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 05f5996..953d60d 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -5066,7 +5066,7 @@ for Haskell.  The functions provided by this module are 
@code{upper},
 (define-public ghc-http-api-data
   (package
     (name "ghc-http-api-data")
-    (version "0.3.8.1")
+    (version "0.4.1")
     (source
      (origin
        (method url-fetch)
@@ -5075,17 +5075,25 @@ for Haskell.  The functions provided by this module are 
@code{upper},
                            "http-api-data-" version ".tar.gz"))
        (sha256
         (base32
-         "1cq6459b8wz6nvkvpi89dg189n5q2xdq4rdq435hf150555vmskf"))))
+         "1ps4bvln43gz72dr9mc3c9n1rn38c4rz6m49vxzz9nz6jz1978rv"))))
     (build-system haskell-build-system)
-    (arguments `(#:tests? #f))  ;  FIXME: Tests require QuickCheck >= 2.9
     (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
               ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
+              ("ghc-cookie" ,ghc-cookie)
               ("ghc-hashable" ,ghc-hashable)
               ("ghc-http-types" ,ghc-http-types)
-              ("ghc-time-locale-compat" ,ghc-time-locale-compat)
+              ("ghc-time-compat" ,ghc-time-compat)
               ("ghc-unordered-containers" ,ghc-unordered-containers)
-              ("ghc-uri-bytestring" ,ghc-uri-bytestring)
               ("ghc-uuid-types" ,ghc-uuid-types)))
+    (native-inputs
+     `(("cabal-doctest" ,cabal-doctest)
+       ("ghc-nats" ,ghc-nats)
+       ("ghc-hunit" ,ghc-hunit)
+       ("ghc-hspec" ,ghc-hspec)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
+       ("ghc-doctest" ,ghc-doctest)
+       ("hspec-discover" ,hspec-discover)))
     (home-page "https://github.com/fizruk/http-api-data";)
     (synopsis "Convert to/from HTTP API data like URL pieces, headers and
 query parameters")



reply via email to

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