diff options
author | rsiddharth <s@ricketyspace.net> | 2018-03-21 03:45:00 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-03-31 19:27:32 +0200 |
commit | b6d8ea42a352326b0af2f4ec11d7f65618eb351f (patch) | |
tree | 82f364664892926ea7d5d3f549492ab87ccee3c4 /gnu/packages/haskell.scm | |
parent | c56a30b3ba3e1e93ced3c6ba2cfb4c738b805074 (diff) | |
download | patches-b6d8ea42a352326b0af2f4ec11d7f65618eb351f.tar patches-b6d8ea42a352326b0af2f4ec11d7f65618eb351f.tar.gz |
gnu: Add ghc-http-api-data.
* gnu/packages/haskell.scm (ghc-http-api-data): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/haskell.scm')
-rw-r--r-- | gnu/packages/haskell.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 8d4d2b28d9..58868e4125 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -9154,4 +9154,35 @@ parser that uses ByteStrings for parsing and representing the URI data.") TimeLocale.") (license license:bsd-3))) +(define-public ghc-http-api-data + (package + (name "ghc-http-api-data") + (version "0.3.7.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "http-api-data-" version "/" + "http-api-data-" version ".tar.gz")) + (sha256 + (base32 + "1zbmf0kkfsw7pfznisi205gh7jd284gfarxsyiavd2iw26akwqwc")))) + (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-hashable" ,ghc-hashable) + ("ghc-http-types" ,ghc-http-types) + ("ghc-text" ,ghc-text) + ("ghc-time-locale-compat" ,ghc-time-locale-compat) + ("ghc-unordered-containers" ,ghc-unordered-containers) + ("ghc-uri-bytestring" ,ghc-uri-bytestring) + ("ghc-uuid-types" ,ghc-uuid-types))) + (home-page "https://github.com/fizruk/http-api-data") + (synopsis "Convert to/from HTTP API data like URL pieces, headers and +query parameters") + (description "This Haskell package defines typeclasses used for converting +Haskell data types to and from HTTP API data.") + (license license:bsd-3))) + ;;; haskell.scm ends here |