summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAlex ter Weele <alex.ter.weele@gmail.com>2018-02-20 18:53:26 -0600
committerMarius Bakke <mbakke@fastmail.com>2018-02-26 01:36:16 +0100
commit7df5669f3903b58cd5587ee8660dd12a18756bd0 (patch)
tree67ff5978270ce744bb1604c89b2460a89d85e05a /gnu
parentabfec9b375a78144ece06b36a033412a105dccaf (diff)
downloadpatches-7df5669f3903b58cd5587ee8660dd12a18756bd0.tar
patches-7df5669f3903b58cd5587ee8660dd12a18756bd0.tar.gz
gnu: Add ghc-uri-encode.
* gnu/packages/haskell-web.scm (ghc-uri-encode): New variable. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/haskell-web.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index a24ee4b7c0..f1b50b29bd 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -866,3 +866,26 @@ of a JSON value into a @code{Data.Aeson.Value}.")
(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)))