diff options
author | Timothy Sample <samplet@ngyro.com> | 2019-10-31 13:15:02 -0400 |
---|---|---|
committer | Timothy Sample <samplet@ngyro.com> | 2019-11-20 20:48:29 -0500 |
commit | a57236eb00e41f238e3d026c143416c26c2f9a2f (patch) | |
tree | ffee5318e2eebe028c8b30a87ba4c7fc5688f931 | |
parent | a8aaadf211cab14ae057f39dfd6346f7406390bb (diff) | |
download | patches-a57236eb00e41f238e3d026c143416c26c2f9a2f.tar patches-a57236eb00e41f238e3d026c143416c26c2f9a2f.tar.gz |
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'
-rw-r--r-- | gnu/packages/haskell-xyz.scm | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 05f59965c6..953d60de29 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") |