gnu: Add ghc-uri-encode.

* gnu/packages/haskell-web.scm (ghc-uri-encode): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Alex ter Weele 2018-02-20 18:53:26 -06:00 committed by Marius Bakke
parent abfec9b375
commit 7df5669f39
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -866,3 +866,26 @@ (define-public ghc-multipart
(description
"HTTP multipart split out of the cgi package, for Haskell.")
(license license:bsd-3)))
(define-public ghc-uri-encode
(package
(name "ghc-uri-encode")
(version "1.5.0.5")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/uri-encode/uri-encode-"
version ".tar.gz"))
(sha256
(base32
"11miwb5vvnn17m92ykz1pzg9x6s8fbpz3mmsyqs2s4b3mn55haz8"))))
(build-system haskell-build-system)
(inputs
`(("ghc-text" ,ghc-text)
("ghc-utf8-string" ,ghc-utf8-string)
("ghc-network-uri" ,ghc-network-uri)))
(home-page "https://hackage.haskell.org/package/uri-encode")
(synopsis "Unicode aware uri-encoding")
(description "Unicode aware uri-encoding for Haskell.")
(license license:bsd-3)))