[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/38: gnu: Add ghc-http-api-data.
From: |
Ludovic Courtès |
Subject: |
23/38: gnu: Add ghc-http-api-data. |
Date: |
Sat, 31 Mar 2018 13:53:24 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit b6d8ea42a352326b0af2f4ec11d7f65618eb351f
Author: rsiddharth <address@hidden>
Date: Wed Mar 21 03:45:00 2018 +0000
gnu: Add ghc-http-api-data.
* gnu/packages/haskell.scm (ghc-http-api-data): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 8d4d2b2..58868e4 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
- 13/38: gnu: Add ghc-crypto-random., (continued)
- 13/38: gnu: Add ghc-crypto-random., Ludovic Courtès, 2018/03/31
- 01/38: gnu: Add emacs-anzu., Ludovic Courtès, 2018/03/31
- 03/38: gnu: Add ghc-stm-chans., Ludovic Courtès, 2018/03/31
- 06/38: gnu: Add ghc-shakespeare., Ludovic Courtès, 2018/03/31
- 09/38: gnu: Add ghc-securemem., Ludovic Courtès, 2018/03/31
- 07/38: gnu: Add ghc-path-pieces., Ludovic Courtès, 2018/03/31
- 12/38: gnu: Add ghc-cipher-aes., Ludovic Courtès, 2018/03/31
- 15/38: gnu: Add ghc-clientsession., Ludovic Courtès, 2018/03/31
- 16/38: gnu: Add ghc-yesod-core., Ludovic Courtès, 2018/03/31
- 25/38: gnu: Add ghc-aeson-compat., Ludovic Courtès, 2018/03/31
- 23/38: gnu: Add ghc-http-api-data.,
Ludovic Courtès <=
- 30/38: gnu: Add ghc-unliftio., Ludovic Courtès, 2018/03/31
- 08/38: gnu: Add ghc-skein., Ludovic Courtès, 2018/03/31
- 24/38: gnu: Add ghc-persistent., Ludovic Courtès, 2018/03/31
- 29/38: gnu: Add ghc-microlens-th., Ludovic Courtès, 2018/03/31
- 38/38: gnu: Add ghc-yesod., Ludovic Courtès, 2018/03/31
- 17/38: gnu: Add ghc-resource-pool., Ludovic Courtès, 2018/03/31
- 19/38: gnu: Add ghc-th-lift-instances., Ludovic Courtès, 2018/03/31
- 14/38: gnu: Add ghc-cprng-aes., Ludovic Courtès, 2018/03/31
- 21/38: gnu: Add ghc-uri-bytestring., Ludovic Courtès, 2018/03/31
- 22/38: gnu: Add ghc-time-locale-compat., Ludovic Courtès, 2018/03/31