1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
3 ;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
4 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
5 ;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
6 ;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
7 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
8 ;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
10 ;;; This file is part of GNU Guix.
12 ;;; GNU Guix is free software; you can redistribute it and/or modify it
13 ;;; under the terms of the GNU General Public License as published by
14 ;;; the Free Software Foundation; either version 3 of the License, or (at
15 ;;; your option) any later version.
17 ;;; GNU Guix is distributed in the hope that it will be useful, but
18 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;;; GNU General Public License for more details.
22 ;;; You should have received a copy of the GNU General Public License
23 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
25 (define-module (gnu packages haskell-web)
26 #:use-module (gnu packages)
27 #:use-module (gnu packages curl)
28 #:use-module (gnu packages haskell)
29 #:use-module (gnu packages haskell-check)
30 #:use-module (gnu packages haskell-crypto)
31 #:use-module (guix build-system haskell)
32 #:use-module (guix download)
33 #:use-module ((guix licenses) #:prefix license:)
34 #:use-module (guix packages)
35 #:use-module (guix utils))
37 (define-public ghc-tagsoup
44 (uri (string-append "https://hackage.haskell.org/package/tagsoup/"
45 "tagsoup-" version ".tar.gz"))
48 "1yv3dbyb0i1yqm796jgc4jj5kxkla1sxb3b2klw5ks182kdx8kjb"))))
49 (build-system haskell-build-system)
50 (inputs `(("ghc-text" ,ghc-text)))
52 `(("ghc-quickcheck" ,ghc-quickcheck)))
53 (home-page "http://community.haskell.org/~ndm/tagsoup/")
55 "Parsing and extracting information from (possibly malformed) HTML/XML
58 "TagSoup is a library for parsing HTML/XML. It supports the HTML 5
59 specification, and can be used to parse either well-formed XML, or
60 unstructured and malformed HTML from the web. The library also provides
61 useful functions to extract information from an HTML document, making it ideal
62 for screen-scraping.")
63 (license license:bsd-3)))
65 (define-public ghc-cookie
73 "https://hackage.haskell.org/package/cookie/cookie-"
78 "1qy09i0jh2z9i9avy2khf8a8afq4fqgnv0fyrszgfg4kmq2fsi9j"))))
79 (build-system haskell-build-system)
81 `(("ghc-old-locale" ,ghc-old-locale)
82 ("ghc-blaze-builder" ,ghc-blaze-builder)
83 ("ghc-text" ,ghc-text)
84 ("ghc-data-default-class" ,ghc-data-default-class)
85 ("ghc-hunit" ,ghc-hunit)
86 ("ghc-quickcheck" ,ghc-quickcheck)
87 ("ghc-tasty" ,ghc-tasty)
88 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
89 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
90 (home-page "https://github.com/snoyberg/cookie")
91 (synopsis "HTTP cookie parsing and rendering")
92 (description "HTTP cookie parsing and rendering library for Haskell.")
93 (license license:bsd-3)))
95 (define-public ghc-httpd-shed
97 (name "ghc-httpd-shed")
102 (uri (string-append "https://hackage.haskell.org/package/httpd-shed/"
103 "httpd-shed-" version ".tar.gz"))
106 "064jy1mqhnf1hvq6s04wlhmp916rd522x58djb9qixv13vc8gzxh"))))
107 (build-system haskell-build-system)
109 `(("ghc-network-uri" ,ghc-network-uri)
110 ("ghc-network" ,ghc-network)))
111 (home-page "https://hackage.haskell.org/package/httpd-shed")
112 (synopsis "Simple web-server with an interact style API")
114 "This web server promotes a function from @code{Request} to @code{IO
115 Response} into a local web server. The user can decide how to interpret the
116 requests, and the library is intended for implementing Ajax APIs.")
117 (license license:bsd-3)))
119 (define-public ghc-http-types
121 (name "ghc-http-types")
126 (uri (string-append "https://hackage.haskell.org/package/http-types/"
127 "http-types-" version ".tar.gz"))
130 "05j00b9nqmwh9zaq9y9x50k81v2pd3j7a71kd91zlnbl8xk4m2jf"))))
131 (build-system haskell-build-system)
133 `(("ghc-doctest" ,ghc-doctest)
134 ("ghc-hspec" ,ghc-hspec)
135 ("ghc-quickcheck" ,ghc-quickcheck)
136 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
137 ("hspec-discover" ,hspec-discover)))
139 `(("ghc-case-insensitive" ,ghc-case-insensitive)
140 ("ghc-text" ,ghc-text)))
141 (home-page "https://github.com/aristidb/http-types")
142 (synopsis "Generic HTTP types for Haskell")
143 (description "This package provides generic HTTP types for Haskell (for
144 both client and server code).")
145 (license license:bsd-3)))
147 (define-public ghc-http
150 (version "4000.3.12")
151 (outputs '("out" "doc"))
155 (uri (string-append "https://hackage.haskell.org/package/HTTP/"
156 "HTTP-" version ".tar.gz"))
159 "140r6qy1ay25piv0z3hih11zhigyi08nkwc32097j43pjff6mzx3"))))
160 (build-system haskell-build-system)
162 `(("ghc-httpd-shed" ,ghc-httpd-shed)
163 ("ghc-hunit" ,ghc-hunit)
164 ("ghc-test-framework" ,ghc-test-framework)
165 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
167 `(("ghc-case-insensitive" ,ghc-case-insensitive)
168 ("ghc-conduit" ,ghc-conduit)
169 ("ghc-conduit-extra" ,ghc-conduit-extra)
170 ("ghc-http-types" ,ghc-http-types)
171 ("ghc-old-time" ,ghc-old-time)
172 ("ghc-parsec" ,ghc-parsec)
173 ("ghc-puremd5" ,ghc-puremd5)
174 ("ghc-network" ,ghc-network)
175 ("ghc-network-uri" ,ghc-network-uri)
176 ("ghc-split" ,ghc-split)))
178 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
179 (home-page "https://github.com/haskell/HTTP")
180 (synopsis "Library for client-side HTTP")
182 "The HTTP package supports client-side web programming in Haskell. It
183 lets you set up HTTP connections, transmitting requests and processing the
184 responses coming back.")
185 (license license:bsd-3)))
187 (define-public ghc-http-client
189 (name "ghc-http-client")
193 (uri (string-append "https://hackage.haskell.org/package/"
194 "http-client/http-client-"
198 "0szwbgvkkdz56lgi91armkagmb7nnfwbpp4j7cm9zhmffv3ba8g1"))))
199 (build-system haskell-build-system)
200 ;; Tests require access to the web.
201 (arguments `(#:tests? #f))
203 `(("ghc-async" ,ghc-async)
204 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
205 ("ghc-blaze-builder" ,ghc-blaze-builder)
206 ("ghc-case-insensitive" ,ghc-case-insensitive)
207 ("ghc-cookie" ,ghc-cookie)
208 ("ghc-data-default-class" ,ghc-data-default-class)
209 ("ghc-exceptions" ,ghc-exceptions)
210 ("ghc-http-types" ,ghc-http-types)
211 ("ghc-memory" ,ghc-memory)
212 ("ghc-mime-types" ,ghc-mime-types)
213 ("ghc-monad-control" ,ghc-monad-control)
214 ("ghc-network" ,ghc-network)
215 ("ghc-network-uri" ,ghc-network-uri)
216 ("ghc-random" ,ghc-random)
217 ("ghc-streaming-commons" ,ghc-streaming-commons)
218 ("ghc-text" ,ghc-text)
219 ("ghc-zlib" ,ghc-zlib)))
221 `(("ghc-hspec" ,ghc-hspec)))
222 (home-page "https://github.com/snoyberg/http-client")
223 (synopsis "HTTP client engine")
225 "This package provides an HTTP client engine, intended as a base layer
226 for more user-friendly packages.")
227 (license license:expat)))
229 (define-public ghc-http-client-tls
231 (name "ghc-http-client-tls")
235 (uri (string-append "https://hackage.haskell.org/package/"
236 "http-client-tls/http-client-tls-"
240 "0qj3pcpgbsfsc4m52dz35khhl4hf1i0nmcpa445z82d9567vy6j7"))))
241 (build-system haskell-build-system)
242 ;; Tests require Internet access
243 (arguments `(#:tests? #f))
245 `(("ghc-data-default-class" ,ghc-data-default-class)
246 ("ghc-http-client" ,ghc-http-client)
247 ("ghc-connection" ,ghc-connection)
248 ("ghc-network" ,ghc-network)
250 ("ghc-http-types" ,ghc-http-types)))
252 `(("ghc-hspec" ,ghc-hspec)))
253 (home-page "https://github.com/snoyberg/http-client")
254 (synopsis "Backend for http-client using the TLS library")
256 "This package provides a backend for the http-client package using the
257 connection and TLS libraries. It is intended for use by higher-level
258 libraries, such as http-conduit.")
259 (license license:expat)))
261 (define-public ghc-http-date
263 (name "ghc-http-date")
268 (uri (string-append "https://hackage.haskell.org/package/"
269 "http-date-" version "/"
270 "http-date-" version ".tar.gz"))
273 "09slbzqayjnqqz9zybk7slgzvizgplikqgg4b2flzgks91466k0g"))))
274 (build-system haskell-build-system)
276 `(("ghc-attoparsec" ,ghc-attoparsec)))
278 `(("ghc-doctest" ,ghc-doctest)
279 ("ghc-hspec" ,ghc-hspec)
280 ("hspec-discover" ,hspec-discover)
281 ("ghc-old-locale" ,ghc-old-locale)))
282 (home-page "https://github.com/kazu-yamamoto/http-date")
283 (synopsis "HTTP Date parser/formatter")
284 (description "Library for Parsing and formatting HTTP
286 (license license:bsd-3)))
288 (define-public ghc-http2
295 (uri (string-append "https://hackage.haskell.org/package/"
297 "http2-" version ".tar.gz"))
300 "0hww0rfsv6lqx62qzycbcqy5q6rh9k09qkyjkdm5m1sp1z50wqk1"))))
301 (build-system haskell-build-system)
303 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
304 ("ghc-case-insensitive" ,ghc-case-insensitive)
305 ("ghc-aeson" ,ghc-aeson)
306 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
308 ("ghc-unordered-containers" ,ghc-unordered-containers)
309 ("ghc-vector" ,ghc-vector)
310 ("ghc-word8" ,ghc-word8)
311 ("ghc-psqueues" ,ghc-psqueues)
312 ("ghc-stm" ,ghc-stm)))
314 `(("ghc-glob" ,ghc-glob)
315 ("ghc-hspec" ,ghc-hspec)
316 ("ghc-doctest" ,ghc-doctest)
317 ("hspec-discover" ,hspec-discover)))
318 (home-page "https://github.com/kazu-yamamoto/http2")
319 (synopsis "HTTP/2 library including frames, priority queues and HPACK")
320 (description "This package provides a HTTP/2.0 library including frames
321 and HPACK. Currently HTTP/2 16 framing and HPACK 10 is supported.")
322 (license license:bsd-3)))
324 (define-public ghc-http-conduit
326 (name "ghc-http-conduit")
331 (uri (string-append "https://hackage.haskell.org/package/"
332 "http-conduit-" version "/" "http-conduit-"
336 "1iay4hr0mj8brkxvgkv1liqa8irl9axfc3qhn8qsvcyq4n1l95km"))))
337 (build-system haskell-build-system)
338 ;; FIXME: `httpLbs TLS` in test-suite `test` fails with
339 ;; ConnectionFailure getProtocolByName: does not exist (no such protocol
341 (arguments `(#:tests? #f))
343 `(("ghc-aeson" ,ghc-aeson)
344 ("ghc-resourcet" ,ghc-resourcet)
345 ("ghc-conduit" ,ghc-conduit)
346 ("ghc-conduit-extra" ,ghc-conduit-extra)
347 ("ghc-http-types" ,ghc-http-types)
348 ("ghc-lifted-base" ,ghc-lifted-base)
349 ("ghc-http-client" ,ghc-http-client)
350 ("ghc-http-client-tls" ,ghc-http-client-tls)
351 ("ghc-monad-control" ,ghc-monad-control)
352 ("ghc-exceptions" ,ghc-exceptions)
353 ("ghc-unliftio" ,ghc-unliftio)))
355 `(("ghc-hunit" ,ghc-hunit)
356 ("ghc-hspec" ,ghc-hspec)
357 ("ghc-data-default-class" ,ghc-data-default-class)
358 ("ghc-connection" ,ghc-connection)
359 ("ghc-warp-tls" ,ghc-warp-tls)
360 ("ghc-blaze-builder" ,ghc-blaze-builder)
361 ("ghc-text" ,ghc-text)
362 ("ghc-conduit" ,ghc-conduit)
363 ("ghc-utf8-string" ,ghc-utf8-string)
364 ("ghc-case-insensitive" ,ghc-case-insensitive)
365 ("ghc-lifted-base" ,ghc-lifted-base)
366 ("ghc-network" ,ghc-network)
368 ("ghc-warp" ,ghc-warp)
369 ("ghc-wai-conduit" ,ghc-wai-conduit)
370 ("ghc-http-types" ,ghc-http-types)
371 ("ghc-cookie" ,ghc-cookie)
372 ("ghc-conduit-extra" ,ghc-conduit-extra)
373 ("ghc-streaming-commons" ,ghc-streaming-commons)
374 ("ghc-aeson" ,ghc-aeson)
375 ("ghc-temporary" ,ghc-temporary)
376 ("ghc-resourcet" ,ghc-resourcet)))
377 (home-page "https://hackage.haskell.org/package/http-conduit")
378 (synopsis "HTTP/HTTPS client with conduit interface")
379 (description "This library uses attoparsec for parsing the actual
380 contents of the HTTP connection. It also provides higher-level functions
381 which allow you to avoid direct usage of conduits.")
382 (license license:bsd-3)))
384 (define-public ghc-wai
392 "https://hackage.haskell.org/package/wai/wai-"
397 "0jr3b2789wa4m6mxkz12ynz4lfsqmgbrcy0am8karyqr3x3528r8"))))
398 (build-system haskell-build-system)
400 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
401 ("ghc-unix-compat" ,ghc-unix-compat)
402 ("ghc-vault" ,ghc-vault)
403 ("ghc-blaze-builder" ,ghc-blaze-builder)
404 ("ghc-network" ,ghc-network)
405 ("ghc-text" ,ghc-text)
406 ("ghc-http-types" ,ghc-http-types)))
408 `(("hspec-discover" ,hspec-discover)
409 ("ghc-quickcheck" ,ghc-quickcheck)
410 ("ghc-hunit" ,ghc-hunit)
411 ("ghc-hspec" ,ghc-hspec)))
412 (home-page "https://hackage.haskell.org/package/wai")
413 (synopsis "Web application interface for Haskell")
414 (description "This package provides a Web Application Interface (WAI)
415 library for the Haskell language. It defines a common protocol for
416 communication between web applications and web servers.")
417 (license license:bsd-3)))
419 (define-public ghc-wai-logger
421 (name "ghc-wai-logger")
427 "https://hackage.haskell.org/package/wai-logger/wai-logger-"
432 "0w5ldq4gplc16zzk5ikmbbjw79imaqvw8p6lylaw3hlsbn3zzm4d"))))
433 (build-system haskell-build-system)
434 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find libraries exported
435 ; by propagated-inputs.
437 `(("ghc-auto-update" ,ghc-auto-update)
438 ("ghc-byteorder" ,ghc-byteorder)
439 ("ghc-easy-file" ,ghc-easy-file)
440 ("ghc-unix-time" ,ghc-unix-time)
441 ("ghc-blaze-builder" ,ghc-blaze-builder)
442 ("ghc-case-insensitive" ,ghc-case-insensitive)
443 ("ghc-fast-logger" ,ghc-fast-logger)
444 ("ghc-http-types" ,ghc-http-types)
445 ("ghc-network" ,ghc-network)
446 ("ghc-wai" ,ghc-wai)))
447 (home-page "https://hackage.haskell.org/package/wai-logger")
448 (synopsis "Logging system for WAI")
449 (description "This package provides the logging system for WAI.")
450 (license license:bsd-3)))
452 (define-public ghc-wai-extra
454 (name "ghc-wai-extra")
460 "https://hackage.haskell.org/package/wai-extra/wai-extra-"
465 "07gcgq59dki5drkjci9ka34xjsy3bqilbsx0lsc4905w9jlyfbci"))))
466 (build-system haskell-build-system)
468 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
469 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
470 ("ghc-cookie" ,ghc-cookie)
471 ("ghc-blaze-builder" ,ghc-blaze-builder)
472 ("ghc-network" ,ghc-network)
473 ("ghc-lifted-base" ,ghc-lifted-base)
474 ("ghc-streaming-commons" ,ghc-streaming-commons)
475 ("ghc-stringsearch" ,ghc-stringsearch)
476 ("ghc-resourcet" ,ghc-resourcet)
477 ("ghc-fast-logger" ,ghc-fast-logger)
478 ("ghc-wai-logger" ,ghc-wai-logger)
479 ("ghc-zlib" ,ghc-zlib)
480 ("ghc-word8" ,ghc-word8)
481 ("ghc-iproute" ,ghc-iproute)
482 ("ghc-void" ,ghc-void)
484 ("ghc-http-types" ,ghc-http-types)
485 ("ghc-text" ,ghc-text)
486 ("ghc-case-insensitive" ,ghc-case-insensitive)
487 ("ghc-data-default-class" ,ghc-data-default-class)
488 ("ghc-unix-compat" ,ghc-unix-compat)
489 ("ghc-vault" ,ghc-vault)
490 ("ghc-aeson" ,ghc-aeson)))
492 `(("hspec-discover" ,hspec-discover)
493 ("ghc-hspec" ,ghc-hspec)
494 ("ghc-hunit" ,ghc-hunit)))
495 (home-page "https://github.com/yesodweb/wai")
496 (synopsis "Some basic WAI handlers and middleware")
497 (description "This library provides basic WAI handlers and middleware
499 (license license:expat)))
501 (define-public ghc-wai-conduit
503 (name "ghc-wai-conduit")
508 (uri (string-append "https://hackage.haskell.org/package/"
509 "wai-conduit-" version "/"
510 "wai-conduit-" version ".tar.gz"))
513 "07yn41rn2skd5p3wqqa09wa761vj7ibl8l19gh4bi4i8slxhk417"))))
514 (build-system haskell-build-system)
516 `(("ghc-conduit" ,ghc-conduit)
517 ("ghc-http-types" ,ghc-http-types)
519 ("ghc-blaze-builder" ,ghc-blaze-builder)))
520 (home-page "https://github.com/yesodweb/wai")
521 (synopsis "Conduit wrappers for Haskell's WAI")
522 (description "This package provides data streaming abstraction for
523 Haskell's Web Application Interface (WAI).")
524 (license license:expat)))
526 (define-public ghc-bsb-http-chunked
528 (name "ghc-bsb-http-chunked")
534 "https://hackage.haskell.org/package/"
535 "bsb-http-chunked/bsb-http-chunked-"
539 "1x6m6xkrcw6jiaig1bb2wb5pqyw31x8xr9k9pxgq2g3ng44pbjr8"))))
540 (build-system haskell-build-system)
542 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)))
543 (home-page "http://github.com/sjakobi/bsb-http-chunked")
544 (synopsis "Chunked HTTP transfer encoding for bytestring builders")
545 (description "This Haskell library contains functions for encoding
546 bytestring builders for chunked Hypertext Transfer Protocol (HTTP) 1.1
548 (license license:bsd-3)))
550 (define-public ghc-warp
557 (uri (string-append "https://hackage.haskell.org/package/"
558 "warp-" version "/" "warp-" version
561 (base32 "0p2w88q0zd55ms20qylipbi0qzbf324i9r8b9qqxyds5yc1anq76"))))
562 (build-system haskell-build-system)
564 `(("ghc-async" ,ghc-async)
565 ("ghc-auto-update" ,ghc-auto-update)
566 ("ghc-bsb-http-chunked" ,ghc-bsb-http-chunked)
567 ("ghc-case-insensitive" ,ghc-case-insensitive)
568 ("ghc-hashable" ,ghc-hashable)
569 ("ghc-http-types" ,ghc-http-types)
570 ("ghc-iproute" ,ghc-iproute)
571 ("ghc-network" ,ghc-network)
573 ("ghc-streaming-commons" ,ghc-streaming-commons)
574 ("ghc-text" ,ghc-text)
575 ("ghc-unix-compat" ,ghc-unix-compat)
576 ("ghc-vault" ,ghc-vault)
578 ("ghc-word8" ,ghc-word8)
579 ("ghc-http-date" ,ghc-http-date)
580 ("ghc-simple-sendfile" ,ghc-simple-sendfile)
581 ("ghc-http2" ,ghc-http2)))
584 ("ghc-silently" ,ghc-silently)
585 ("ghc-hspec" ,ghc-hspec)
586 ("ghc-doctest" ,ghc-doctest)
587 ("ghc-lifted-base" ,ghc-lifted-base)
588 ("ghc-quickcheck" ,ghc-quickcheck)
589 ("ghc-hunit" ,ghc-hunit)
590 ("ghc-http-client" ,ghc-http-client)
591 ("hspec-discover" ,hspec-discover)))
592 (home-page "http://github.com/yesodweb/wai")
593 (synopsis "HTTP server library for Haskell's WAI")
594 (description "Warp is a server library for HTTP/1.x and HTTP/2
595 based WAI (Web Application Interface in Haskell).")
596 (license license:expat)))
598 (define-public ghc-tls-session-manager
600 (name "ghc-tls-session-manager")
606 "https://hackage.haskell.org/package/"
607 "tls-session-manager/tls-session-manager-"
611 "0rvmln545vghsx8zhxp44f0f6pzma8cylarmfhhysy55ipywr1n5"))))
612 (build-system haskell-build-system)
614 `(("ghc-auto-update" ,ghc-auto-update)
615 ("ghc-clock" ,ghc-clock)
616 ("ghc-psqueues" ,ghc-psqueues)
617 ("ghc-tls" ,ghc-tls)))
618 (home-page "http://hackage.haskell.org/package/tls-session-manager")
619 (synopsis "In-memory TLS session manager")
620 (description "This Haskell library provides a TLS session manager with
621 limitation, automatic pruning, energy saving and replay resistance.")
622 (license license:bsd-3)))
624 (define-public ghc-warp-tls
626 (name "ghc-warp-tls")
631 (uri (string-append "https://hackage.haskell.org/package/"
632 "warp-tls-" version "/"
633 "warp-tls-" version ".tar.gz"))
636 "17gj295fr98l7mkz2gdz6kahdnmja0sql3kvy2zab6q168g53kc4"))))
637 (build-system haskell-build-system)
639 `(("ghc-cryptonite" ,ghc-cryptonite)
640 ("ghc-data-default-class" ,ghc-data-default-class)
641 ("ghc-network" ,ghc-network)
642 ("ghc-streaming-commons" ,ghc-streaming-commons)
644 ("ghc-tls-session-manager" ,ghc-tls-session-manager)
646 ("ghc-warp" ,ghc-warp)))
647 (home-page "http://github.com/yesodweb/wai")
648 (synopsis "SSL/TLS support for Warp")
649 (description "This package provides SSL/TLS support for Warp,
650 a WAI handler, via the native Haskell TLS implementation.")
651 (license license:expat)))
653 (define-public ghc-xss-sanitize
655 (name "ghc-xss-sanitize")
661 "https://hackage.haskell.org/package/xss-sanitize/xss-sanitize-"
665 "1d72s3a6520iwwc1wbn9v2znqgbw6a5wwzb23iq8ny9ccnjyx1dk"))))
666 (build-system haskell-build-system)
668 `(("ghc-tagsoup" ,ghc-tagsoup)
669 ("ghc-utf8-string" ,ghc-utf8-string)
670 ("ghc-css-text" ,ghc-css-text)
671 ("ghc-network-uri" ,ghc-network-uri)))
673 `(("ghc-text" ,ghc-text)
674 ("ghc-attoparsec" ,ghc-attoparsec)
675 ("ghc-hspec" ,ghc-hspec)
676 ("ghc-hunit" ,ghc-hunit)))
677 (home-page "https://github.com/yesodweb/haskell-xss-sanitize")
678 (synopsis "Sanitize untrusted HTML to prevent XSS attacks")
679 (description "This library provides @code{sanitizeXSS}. Run untrusted
680 HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to prevent XSS
682 (license license:bsd-3)))
684 (define-public ghc-css-text
686 (name "ghc-css-text")
692 "https://hackage.haskell.org/package/css-text/css-text-"
697 "0ynd9f4hn2sfwqzbsa0y7phmxq8za7jiblpjwx0ry8b372zhgxaz"))))
698 (build-system haskell-build-system)
700 `(("ghc-text" ,ghc-text)
701 ("ghc-attoparsec" ,ghc-attoparsec)
702 ("ghc-hspec" ,ghc-hspec)
703 ("ghc-quickcheck" ,ghc-quickcheck)))
704 (home-page "http://www.yesodweb.com/")
705 (synopsis "CSS parser and renderer")
706 (description "This package provides a CSS parser and renderer for
708 (license license:bsd-3)))
710 (define-public ghc-mime-types
712 (name "ghc-mime-types")
716 (uri (string-append "https://hackage.haskell.org/package/"
717 "mime-types/mime-types-"
721 "14ccl2842ya17zyj0bpc7vzklbyqvvydpbypn69h2fmhgji192x8"))))
722 (build-system haskell-build-system)
724 `(("ghc-text" ,ghc-text)))
725 (home-page "https://github.com/yesodweb/wai")
726 (synopsis "Basic MIME type handling types and functions")
728 "This library provides basic MIME type handling types and functions.")
729 (license license:expat)))
731 (define-public ghc-html
739 "https://hackage.haskell.org/package/html/html-"
744 "0q9hmfii62kc82ijlg238fxrzxhsivn42x5wd6ffcr9xldg4jd8c"))))
745 (build-system haskell-build-system)
747 "https://hackage.haskell.org/package/html")
748 (synopsis "HTML combinator library")
750 "This package contains a combinator library for constructing HTML
752 (license license:bsd-3)))
754 (define-public ghc-xhtml
757 (version "3000.2.2.1")
762 "https://hackage.haskell.org/package/xhtml/xhtml-"
767 "0939kwpinq6l4n3nyvd1gzyl7f83gymw0wzqndlgy1yc7q0nkj2w"))))
768 (build-system haskell-build-system)
769 (home-page "https://github.com/haskell/xhtml")
770 (synopsis "XHTML combinator library")
772 "This package provides combinators for producing XHTML 1.0, including the
773 Strict, Transitional and Frameset variants.")
774 (license license:bsd-3)))
776 (define-public ghc-blaze-html
778 (name "ghc-blaze-html")
783 (uri (string-append "https://hackage.haskell.org/package/"
784 "blaze-html/blaze-html-"
788 "06xv8fqhclfjj61z74cgggn4lmx1s7diakxg84mnkgfvk11983pa"))))
789 (build-system haskell-build-system)
791 `(("ghc-blaze-builder" ,ghc-blaze-builder)
792 ("ghc-text" ,ghc-text)
793 ("ghc-blaze-markup" ,ghc-blaze-markup)))
795 `(("ghc-hunit" ,ghc-hunit)
796 ("ghc-quickcheck" ,ghc-quickcheck)
797 ("ghc-test-framework" ,ghc-test-framework)
798 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
799 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
800 (home-page "http://jaspervdj.be/blaze")
801 (synopsis "Fast HTML combinator library")
802 (description "This library provides HTML combinators for Haskell.")
803 (license license:bsd-3)))
805 (define-public ghc-aeson
813 "https://hackage.haskell.org/package/aeson/aeson-"
818 "1i1ig840fvsb1lnklcv32zsc0zscirc301lw1mpfxhc6h4pk0gw4"))))
819 (build-system haskell-build-system)
820 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
822 `(("ghc-attoparsec" ,ghc-attoparsec)
823 ("ghc-base-compat" ,ghc-base-compat)
824 ("ghc-dlist" ,ghc-dlist)
825 ("ghc-hashable" ,ghc-hashable)
826 ("ghc-scientific" ,ghc-scientific)
827 ("ghc-tagged" ,ghc-tagged)
828 ("ghc-text" ,ghc-text)
829 ("ghc-th-abstraction" ,ghc-th-abstraction)
830 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
831 ("ghc-unordered-containers" ,ghc-unordered-containers)
832 ("ghc-uuid-types" ,ghc-uuid-types)
833 ("ghc-vector" ,ghc-vector)
834 ("ghc-hunit" ,ghc-hunit)
835 ("ghc-quickcheck" ,ghc-quickcheck)
836 ("ghc-integer-logarithms" ,ghc-integer-logarithms)
837 ("ghc-base-orphans" ,ghc-base-orphans)
838 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
839 ("ghc-generic-deriving" ,ghc-generic-deriving)
840 ("ghc-test-framework" ,ghc-test-framework)
841 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
842 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
843 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
844 ("ghc-hashable-time" ,ghc-hashable-time)))
845 (home-page "https://github.com/bos/aeson")
846 (synopsis "Fast JSON parsing and encoding")
847 (description "This package provides a JSON parsing and encoding library
848 for Haskell, optimized for ease of use and high performance. (A note on
849 naming: in Greek mythology, Aeson was the father of Jason.)")
850 (license license:bsd-3)))
852 (define-public ghc-aeson-pretty
854 (name "ghc-aeson-pretty")
859 "https://hackage.haskell.org/package/aeson-pretty/aeson-pretty-"
863 "1m977gs0s9gf3lwzlbs5y7bl6ansc5pywmn2qjk09l5bwg2yrhf1"))))
864 (build-system haskell-build-system)
866 `(("ghc-aeson" ,ghc-aeson)
867 ("ghc-base-compat" ,ghc-base-compat)
868 ("ghc-scientific" ,ghc-scientific)
869 ("ghc-vector" ,ghc-vector)
870 ("ghc-text" ,ghc-text)
871 ("ghc-unordered-containers" ,ghc-unordered-containers)
872 ("ghc-attoparsec" ,ghc-attoparsec)
873 ("ghc-cmdargs" ,ghc-cmdargs)))
874 (home-page "https://github.com/informatikr/aeson-pretty")
875 (synopsis "JSON pretty-printing library and command-line tool")
877 "This package provides a JSON pretty-printing library compatible with aeson
878 as well as a command-line tool to improve readability of streams of JSON data.
879 The library provides the function @code{encodePretty}. It is a drop-in
880 replacement for aeson's @code{encode} function, producing JSON-ByteStrings for
881 human readers. The command-line tool reads JSON from stdin and writes
882 prettified JSON to stdout. It also offers a complementary \"compact\"-mode,
883 essentially the opposite of pretty-printing.")
884 (license license:bsd-3)))
886 (define-public ghc-aeson-qq
888 (name "ghc-aeson-qq")
892 (uri (string-append "https://hackage.haskell.org/package/"
893 "aeson-qq/aeson-qq-" version ".tar.gz"))
896 "0ln13jqyfh5726hdrk1rad9a6cgrrj201plmwcfcpvq18v4m5ckd"))))
897 (build-system haskell-build-system)
899 `(("ghc-base-compat" ,ghc-base-compat)
900 ("ghc-text" ,ghc-text)
901 ("ghc-attoparsec" ,ghc-attoparsec)
902 ("ghc-scientific" ,ghc-scientific)
903 ("ghc-vector" ,ghc-vector)
904 ("ghc-aeson" ,ghc-aeson)
905 ("ghc-parsec" ,ghc-parsec)
906 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
908 `(("ghc-hspec" ,ghc-hspec)
909 ("hspec-discover" ,hspec-discover)))
910 (home-page "https://github.com/zalora/aeson-qq")
911 (synopsis "JSON quasiquoter for Haskell")
913 "aeson-qq provides a JSON quasiquoter for Haskell. This package exposes
914 the function @code{aesonQQ} that compile-time converts a string representation
915 of a JSON value into a @code{Data.Aeson.Value}.")
916 (license license:expat)))
918 (define-public ghc-multipart
920 (name "ghc-multipart")
926 "https://hackage.haskell.org/package/multipart/multipart-"
931 "1x4n4yyva22dhfr1pg5ki112qvvzb4hyd7bwpm189iq4gcp52q4z"))))
932 (build-system haskell-build-system)
934 `(("ghc-parsec" ,ghc-parsec)
935 ("ghc-stringsearch" ,ghc-stringsearch)))
937 "http://www.github.com/silkapp/multipart")
939 "HTTP multipart library")
941 "HTTP multipart split out of the cgi package, for Haskell.")
942 (license license:bsd-3)))
944 (define-public ghc-uri-encode
946 (name "ghc-uri-encode")
952 "https://hackage.haskell.org/package/uri-encode/uri-encode-"
956 "11miwb5vvnn17m92ykz1pzg9x6s8fbpz3mmsyqs2s4b3mn55haz8"))))
957 (build-system haskell-build-system)
959 `(("ghc-text" ,ghc-text)
960 ("ghc-utf8-string" ,ghc-utf8-string)
961 ("ghc-network-uri" ,ghc-network-uri)))
962 (home-page "https://hackage.haskell.org/package/uri-encode")
963 (synopsis "Unicode aware uri-encoding")
964 (description "Unicode aware uri-encoding for Haskell.")
965 (license license:bsd-3)))
967 (define-public ghc-path-pieces
969 (name "ghc-path-pieces")
974 (uri (string-append "https://hackage.haskell.org/package/"
975 "path-pieces-" version "/"
976 "path-pieces-" version ".tar.gz"))
979 "0vx3sivcsld76058925hym2j6hm3g71f0qjr7v59f1g2afgx82q8"))))
980 (build-system haskell-build-system)
981 (inputs `(("ghc-text" ,ghc-text)))
982 (native-inputs `(("ghc-hunit" ,ghc-hunit)
983 ("ghc-hspec" ,ghc-hspec)
984 ("ghc-quickcheck" ,ghc-quickcheck)))
985 (home-page "https://github.com/yesodweb/path-pieces")
986 (synopsis "Used in Yesod to automatically marshall data in the request path")
987 (description "This Haskell package provides two typeclasses for converting
988 Haskell data types to and from route pieces.")
989 (license license:bsd-3)))
991 (define-public ghc-skein
998 (uri (string-append "https://hackage.haskell.org/package/"
1000 "skein-" version ".tar.gz"))
1003 "1jdqdk0rz2wnvw735clnj8jh0a9rkrbqjg7vk3w6wczdql6cm0pq"))))
1004 (build-system haskell-build-system)
1005 (inputs `(("ghc-cereal" ,ghc-cereal)
1006 ("ghc-tagged" ,ghc-tagged)
1007 ("ghc-crpto-api" ,ghc-crypto-api)))
1008 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
1009 (home-page "https://github.com/yesodweb/path-pieces")
1010 (synopsis "Skein family of cryptographic hash functions for Haskell")
1011 (description "@uref{(http://www.skein-hash.info, Skein} is a family of
1012 fast secure cryptographic hash functions designed by Niels Ferguson, Stefan
1013 Lucks, Bruce Schneier, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon
1014 Callas and Jesse Walker.
1016 This Haskell package uses bindings to the optimized C implementation of Skein.")
1017 (license license:bsd-3)))
1019 (define-public ghc-clientsession
1021 (name "ghc-clientsession")
1026 (uri (string-append "https://hackage.haskell.org/package/"
1027 "clientsession-" version "/"
1028 "clientsession-" version ".tar.gz"))
1031 "0s6h4ykj16mpf7nlw2iqn2ji0p8g1fn5ni0s7yqaili6vv2as5ar"))))
1032 (build-system haskell-build-system)
1033 (inputs `(("ghc-cereal" ,ghc-cereal)
1034 ("ghc-tagged" ,ghc-tagged)
1035 ("ghc-crypto-api" ,ghc-crypto-api)
1036 ("ghc-skein" ,ghc-skein)
1037 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
1038 ("ghc-entropy" ,ghc-entropy)
1039 ("ghc-cprng-aes" ,ghc-cprng-aes)
1040 ("ghc-cipher-aes" ,ghc-cipher-aes)
1041 ("ghc-crypto-random" ,ghc-crypto-random)
1042 ("ghc-setenv" ,ghc-setenv)))
1043 (native-inputs `(("ghc-hunit" ,ghc-hunit)
1044 ("ghc-hspec" ,ghc-hspec)
1045 ("ghc-quickcheck" ,ghc-quickcheck)))
1046 (home-page "https://github.com/yesodweb/clientsession/tree/master")
1047 (synopsis "Haskell library for securely store session data in a
1048 client-side cookie")
1049 (description "This Haskell package achieves security through AES-CTR
1050 encryption and Skein-MAC-512-256 authentication. Uses Base64 encoding to
1051 avoid any issues with characters.")
1052 (license license:expat)))
1054 (define-public ghc-yesod-core
1056 (name "ghc-yesod-core")
1061 (uri (string-append "https://hackage.haskell.org/package/"
1062 "yesod-core-" version "/"
1063 "yesod-core-" version ".tar.gz"))
1066 "0xahf6m5c7mkl74p0gimy4wb5w4s3lh92wwxmk517fbq666c92kb"))))
1067 (build-system haskell-build-system)
1068 (inputs `(("ghc-wai" ,ghc-wai)
1069 ("ghc-extra" ,ghc-extra)
1070 ("ghc-text" ,ghc-text)
1071 ("ghc-shakespeare" ,ghc-shakespeare)
1072 ("ghc-blaze-builder" ,ghc-blaze-builder)
1073 ("ghc-clientsession" ,ghc-clientsession)
1074 ("ghc-random" ,ghc-random)
1075 ("ghc-cereal" ,ghc-cereal)
1076 ("ghc-old-locale" ,ghc-old-locale)
1077 ("ghc-unliftio" ,ghc-unliftio)
1078 ("ghc-unordered-containers" ,ghc-unordered-containers)
1079 ("ghc-monad-control" ,ghc-monad-control)
1080 ("ghc-transformers-base" ,ghc-transformers-base)
1081 ("ghc-cookie" ,ghc-cookie)
1082 ("ghc-http-types" ,ghc-http-types)
1083 ("ghc-case-insensitive" ,ghc-case-insensitive)
1084 ("ghc-parsec" ,ghc-parsec)
1085 ("ghc-vector" ,ghc-vector)
1086 ("ghc-aeson" ,ghc-aeson)
1087 ("ghc-fast-logger" ,ghc-fast-logger)
1088 ("ghc-wai-logger" ,ghc-wai-logger)
1089 ("ghc-monad-logger" ,ghc-monad-logger)
1090 ("ghc-conduit" ,ghc-conduit)
1091 ("ghc-resourcet" ,ghc-resourcet)
1092 ("ghc-rio" ,ghc-rio)
1093 ("ghc-lifted-base" ,ghc-lifted-base)
1094 ("ghc-blaze-html" ,ghc-blaze-html)
1095 ("ghc-blaze-markup" ,ghc-blaze-markup)
1096 ("ghc-data-default" ,ghc-data-default)
1097 ("ghc-safe" ,ghc-safe)
1098 ("ghc-warp" ,ghc-warp)
1099 ("ghc-unix-compat" ,ghc-unix-compat)
1100 ("ghc-conduit-extra" ,ghc-conduit-extra)
1101 ("ghc-exceptions" ,ghc-exceptions)
1102 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
1103 ("ghc-mwc-random" ,ghc-mwc-random)
1104 ("ghc-primitive" ,ghc-primitive)
1105 ("ghc-word8" ,ghc-word8)
1106 ("ghc-auto-update" ,ghc-auto-update)
1107 ("ghc-semigroups" ,ghc-semigroups)
1108 ("ghc-byteable" ,ghc-byteable)))
1109 (native-inputs `(("ghc-hspec" ,ghc-hspec)
1110 ("ghc-path-pieces" ,ghc-path-pieces)
1111 ("ghc-hunit" ,ghc-hunit)
1112 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
1113 ("ghc-quickcheck" ,ghc-quickcheck)
1114 ("ghc-network" ,ghc-network)
1115 ("ghc-async" ,ghc-async)
1116 ("ghc-streaming-commons" ,ghc-streaming-commons)
1117 ("ghc-wai-extra" ,ghc-wai-extra)))
1118 (home-page "https://www.yesodweb.com")
1119 (synopsis "Core package for the Yesod web framework")
1120 (description "This Haskell package provides all core functionality, for
1121 Yesod, on which other packages can be built. It provides dispatch, handler
1122 functions, widgets, etc.")
1123 (license license:expat)))
1125 (define-public ghc-yesod-persistent
1127 (name "ghc-yesod-persistent")
1132 (uri (string-append "https://hackage.haskell.org/package/"
1133 "yesod-persistent-" version "/"
1134 "yesod-persistent-" version ".tar.gz"))
1137 "1gd59xf7b6v3cald58mzwnfbdzjr49cz60rm4wc5w9pvfx12pgj2"))))
1138 (build-system haskell-build-system)
1139 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not available in PATH.
1140 (inputs `(("ghc-yesod-core" ,ghc-yesod-core)
1141 ("ghc-persistent" ,ghc-persistent)
1142 ("ghc-persistent-template" ,ghc-persistent-template)
1143 ("ghc-blaze-builder" ,ghc-blaze-builder)
1144 ("ghc-conduit" ,ghc-conduit)
1145 ("ghc-resourcet" ,ghc-resourcet)
1146 ("ghc-resource-pool" ,ghc-resource-pool)))
1147 (native-inputs `(("ghc-hspec" ,ghc-hspec)
1148 ("ghc-wai-extra" ,ghc-wai-extra)
1149 ("ghc-yesod-core" ,ghc-yesod-core)
1150 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
1151 ("ghc-text" ,ghc-text)))
1152 (home-page "http://www.yesodweb.com/")
1153 (synopsis "Helpers for using Persistent from Yesod")
1154 (description "This Haskell package provides helpers for using Persistent
1156 (license license:expat)))
1158 (define-public ghc-yesod-form
1160 (name "ghc-yesod-form")
1166 "https://hackage.haskell.org/package/yesod-form/yesod-form-"
1171 "1p1x1hffvarplc82ykdk7rm6p5isqgqf78bvxzpfhncxs4kwx057"))))
1172 (build-system haskell-build-system)
1174 `(("ghc-yesod-core" ,ghc-yesod-core)
1175 ("ghc-yesod-persistent" ,ghc-yesod-persistent)
1176 ("ghc-shakespeare" ,ghc-shakespeare)
1177 ("ghc-persistent" ,ghc-persistent)
1178 ("ghc-data-default" ,ghc-data-default)
1179 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
1180 ("ghc-blaze-builder" ,ghc-blaze-builder)
1181 ("ghc-email-validate" ,ghc-email-validate)
1182 ("ghc-text" ,ghc-text)
1183 ("ghc-wai" ,ghc-wai)
1184 ("ghc-blaze-html" ,ghc-blaze-html)
1185 ("ghc-blaze-markup" ,ghc-blaze-markup)
1186 ("ghc-attoparsec" ,ghc-attoparsec)
1187 ("ghc-byteable" ,ghc-byteable)
1188 ("ghc-aeson" ,ghc-aeson)
1189 ("ghc-resourcet" ,ghc-resourcet)
1190 ("ghc-semigroups" ,ghc-semigroups)
1191 ("ghc-network-uri" ,ghc-network-uri)
1192 ("ghc-hspec" ,ghc-hspec)))
1193 (home-page "https://www.yesodweb.com")
1194 (synopsis "Form handling support for Yesod Web Framework")
1195 (description "This Haskell package provies a set of basic form inputs such
1196 as text, number, time, checkbox, select, textarea, etc through the
1197 @code{Yesod.Form.Fields} module. Also, there is @code{Yesod.Form.Nic} module
1198 providing richtext field using Nic editor. ")
1199 (license license:expat)))
1201 (define-public ghc-yesod
1209 "https://hackage.haskell.org/package/yesod/yesod-"
1213 "0wx77nbpzdh40p1bm527kimfj48vs9d2avpvvz2w42zi3pz2y94a"))))
1214 (build-system haskell-build-system)
1216 `(("ghc-yesod-core" ,ghc-yesod-core)
1217 ("ghc-yesod-persistent" ,ghc-yesod-persistent)
1218 ("ghc-yesod-form" ,ghc-yesod-form)
1219 ("ghc-monad-control" ,ghc-monad-control)
1220 ("ghc-wai" ,ghc-wai)
1221 ("ghc-wai-extra" ,ghc-wai-extra)
1222 ("ghc-warp" ,ghc-warp)
1223 ("ghc-blaze-html" ,ghc-blaze-html)
1224 ("ghc-blaze-markup" ,ghc-blaze-markup)
1225 ("ghc-aeson" ,ghc-aeson)
1226 ("ghc-data-default-class" ,ghc-data-default-class)
1227 ("ghc-unordered-containers" ,ghc-unordered-containers)
1228 ("ghc-yaml" ,ghc-yaml)
1229 ("ghc-text" ,ghc-text)
1230 ("ghc-monad-logger" ,ghc-monad-logger)
1231 ("ghc-fast-logger" ,ghc-fast-logger)
1232 ("ghc-conduit" ,ghc-conduit)
1233 ("ghc-conduit-extra" ,ghc-conduit-extra)
1234 ("ghc-resourcet" ,ghc-resourcet)
1235 ("ghc-shakespeare" ,ghc-shakespeare)
1236 ("ghc-streaming-commons" ,ghc-streaming-commons)
1237 ("ghc-wai-logger" ,ghc-wai-logger)
1238 ("ghc-semigroups" ,ghc-semigroups)))
1239 (home-page "https://www.yesodweb.com")
1240 (synopsis "Framework for creating type-safe, RESTful web applications")
1241 (description "The Haskell package package groups together the various
1242 Yesod related packages into one cohesive whole. This is the version of Yesod,
1243 whereas most of the core code lives in @code{ghc-yesod-core}.")
1244 (license license:expat)))
1246 (define-public ghc-hxt-charproperties
1248 (name "ghc-hxt-charproperties")
1253 (uri (string-append "https://hackage.haskell.org/package/"
1254 "hxt-charproperties/hxt-charproperties-"
1258 "1mml8wglvagqq891rchgli6r8rnkwrqhgsxfl6kb5403pzb18rp4"))))
1259 (build-system haskell-build-system)
1260 (home-page "https://github.com/UweSchmidt/hxt")
1261 (synopsis "Character properties and classes for XML and Unicode")
1263 "The modules provided by this package contain predicates for Unicode
1264 blocks and char properties and character predicates defined by XML. The
1265 supported Unicode version is 7.0.0")
1266 (license license:expat)))
1268 (define-public ghc-hxt-unicode
1270 (name "ghc-hxt-unicode")
1276 "https://hackage.haskell.org/package/hxt-unicode/hxt-unicode-"
1281 "0rj48cy8z4fl3zpg5bpa458kqr83adav6jnqv4i71dclpprj6n3v"))))
1282 (build-system haskell-build-system)
1284 `(("ghc-hxt-charproperties" ,ghc-hxt-charproperties)))
1286 "http://www.fh-wedel.de/~si/HXmlToolbox/index.html https://github.com/UweSchmidt/hxt")
1288 "Unicode en-/decoding functions for utf8, iso-latin-* and other encodings")
1290 "This package provides Unicode encoding and decoding functions for
1291 encodings used in the Haskell XML Toolbox. ISO Latin 1-16, utf8, utf16, ASCII
1292 are supported. Decoding is done with lazy functions, errors may be detected or
1294 (license license:expat)))
1296 (define-public ghc-hxt-regex-xmlschema
1298 (name "ghc-hxt-regex-xmlschema")
1303 (uri (string-append "https://hackage.haskell.org/package/"
1304 "hxt-regex-xmlschema/hxt-regex-xmlschema-"
1308 "1c4jr0439f5yc05h7iz53fa47g6l2wrvqp6gvwf01mlqajk3nx7l"))))
1309 (build-system haskell-build-system)
1311 `(("ghc-hxt-charproperties" ,ghc-hxt-charproperties)
1312 ("ghc-parsec" ,ghc-parsec)
1313 ("ghc-text" ,ghc-text)
1314 ("ghc-hunit" ,ghc-hunit)))
1315 (home-page "http://www.haskell.org/haskellwiki/Regular_expressions_for_XML_Schema")
1316 (synopsis "Regular expression library for W3C XML Schema regular expressions")
1318 "This library supports full W3C XML Schema regular expressions inclusive
1319 all Unicode character sets and blocks. It is implemented by the technique of
1320 derivations of regular expressions.")
1321 (license license:expat)))
1323 (define-public ghc-hxt
1326 (version "9.3.1.16")
1331 "https://hackage.haskell.org/package/hxt/hxt-"
1336 "1qq3ykgn355rx242xjcbqqksgvwr6k2fdj5phw4iv28qqxff6m8d"))))
1337 (build-system haskell-build-system)
1339 `(("ghc-parsec" ,ghc-parsec)
1340 ("ghc-hxt-charproperties" ,ghc-hxt-charproperties)
1341 ("ghc-hxt-unicode" ,ghc-hxt-unicode)
1342 ("ghc-hxt-regex-xmlschema" ,ghc-hxt-regex-xmlschema)
1343 ("ghc-network-uri" ,ghc-network-uri)))
1344 (home-page "https://github.com/UweSchmidt/hxt")
1345 (synopsis "Collection of tools for processing XML with Haskell")
1347 "The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but
1348 introduces a more general approach for processing XML with Haskell.")
1349 (license license:expat)))