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 (gnu packages haskell-xyz)
32 #:use-module (guix build-system haskell)
33 #:use-module (guix download)
34 #:use-module ((guix licenses) #:prefix license:)
35 #:use-module (guix packages)
36 #:use-module (guix utils))
38 (define-public ghc-tagsoup
45 (uri (string-append "https://hackage.haskell.org/package/tagsoup/"
46 "tagsoup-" version ".tar.gz"))
49 "1yv3dbyb0i1yqm796jgc4jj5kxkla1sxb3b2klw5ks182kdx8kjb"))))
50 (build-system haskell-build-system)
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-data-default-class" ,ghc-data-default-class)
84 ("ghc-hunit" ,ghc-hunit)
85 ("ghc-quickcheck" ,ghc-quickcheck)
86 ("ghc-tasty" ,ghc-tasty)
87 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
88 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
89 (home-page "https://github.com/snoyberg/cookie")
90 (synopsis "HTTP cookie parsing and rendering")
91 (description "HTTP cookie parsing and rendering library for Haskell.")
92 (license license:bsd-3)))
94 (define-public ghc-httpd-shed
96 (name "ghc-httpd-shed")
101 (uri (string-append "https://hackage.haskell.org/package/httpd-shed/"
102 "httpd-shed-" version ".tar.gz"))
105 "064jy1mqhnf1hvq6s04wlhmp916rd522x58djb9qixv13vc8gzxh"))))
106 (build-system haskell-build-system)
108 `(("ghc-network-uri" ,ghc-network-uri)
109 ("ghc-network" ,ghc-network)))
110 (home-page "https://hackage.haskell.org/package/httpd-shed")
111 (synopsis "Simple web-server with an interact style API")
113 "This web server promotes a function from @code{Request} to @code{IO
114 Response} into a local web server. The user can decide how to interpret the
115 requests, and the library is intended for implementing Ajax APIs.")
116 (license license:bsd-3)))
118 (define-public ghc-http-types
120 (name "ghc-http-types")
125 (uri (string-append "https://hackage.haskell.org/package/http-types/"
126 "http-types-" version ".tar.gz"))
129 "05j00b9nqmwh9zaq9y9x50k81v2pd3j7a71kd91zlnbl8xk4m2jf"))))
130 (build-system haskell-build-system)
132 `(("ghc-doctest" ,ghc-doctest)
133 ("ghc-hspec" ,ghc-hspec)
134 ("ghc-quickcheck" ,ghc-quickcheck)
135 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
136 ("hspec-discover" ,hspec-discover)))
138 `(("ghc-case-insensitive" ,ghc-case-insensitive)))
139 (home-page "https://github.com/aristidb/http-types")
140 (synopsis "Generic HTTP types for Haskell")
141 (description "This package provides generic HTTP types for Haskell (for
142 both client and server code).")
143 (license license:bsd-3)))
145 (define-public ghc-http
148 (version "4000.3.12")
149 (outputs '("out" "doc"))
153 (uri (string-append "https://hackage.haskell.org/package/HTTP/"
154 "HTTP-" version ".tar.gz"))
157 "140r6qy1ay25piv0z3hih11zhigyi08nkwc32097j43pjff6mzx3"))))
158 (build-system haskell-build-system)
160 `(("ghc-httpd-shed" ,ghc-httpd-shed)
161 ("ghc-hunit" ,ghc-hunit)
162 ("ghc-test-framework" ,ghc-test-framework)
163 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
165 `(("ghc-case-insensitive" ,ghc-case-insensitive)
166 ("ghc-conduit" ,ghc-conduit)
167 ("ghc-conduit-extra" ,ghc-conduit-extra)
168 ("ghc-http-types" ,ghc-http-types)
169 ("ghc-old-time" ,ghc-old-time)
170 ("ghc-puremd5" ,ghc-puremd5)
171 ("ghc-network" ,ghc-network)
172 ("ghc-network-uri" ,ghc-network-uri)
173 ("ghc-split" ,ghc-split)))
175 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
176 (home-page "https://github.com/haskell/HTTP")
177 (synopsis "Library for client-side HTTP")
179 "The HTTP package supports client-side web programming in Haskell. It
180 lets you set up HTTP connections, transmitting requests and processing the
181 responses coming back.")
182 (license license:bsd-3)))
184 (define-public ghc-http-client
186 (name "ghc-http-client")
190 (uri (string-append "https://hackage.haskell.org/package/"
191 "http-client/http-client-"
195 "0szwbgvkkdz56lgi91armkagmb7nnfwbpp4j7cm9zhmffv3ba8g1"))))
196 (build-system haskell-build-system)
197 ;; Tests require access to the web.
198 (arguments `(#:tests? #f))
200 `(("ghc-async" ,ghc-async)
201 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
202 ("ghc-blaze-builder" ,ghc-blaze-builder)
203 ("ghc-case-insensitive" ,ghc-case-insensitive)
204 ("ghc-cookie" ,ghc-cookie)
205 ("ghc-data-default-class" ,ghc-data-default-class)
206 ("ghc-exceptions" ,ghc-exceptions)
207 ("ghc-http-types" ,ghc-http-types)
208 ("ghc-memory" ,ghc-memory)
209 ("ghc-mime-types" ,ghc-mime-types)
210 ("ghc-monad-control" ,ghc-monad-control)
211 ("ghc-network" ,ghc-network)
212 ("ghc-network-uri" ,ghc-network-uri)
213 ("ghc-random" ,ghc-random)
214 ("ghc-streaming-commons" ,ghc-streaming-commons)
215 ("ghc-zlib" ,ghc-zlib)))
217 `(("ghc-hspec" ,ghc-hspec)))
218 (home-page "https://github.com/snoyberg/http-client")
219 (synopsis "HTTP client engine")
221 "This package provides an HTTP client engine, intended as a base layer
222 for more user-friendly packages.")
223 (license license:expat)))
225 (define-public ghc-http-client-tls
227 (name "ghc-http-client-tls")
231 (uri (string-append "https://hackage.haskell.org/package/"
232 "http-client-tls/http-client-tls-"
236 "0qj3pcpgbsfsc4m52dz35khhl4hf1i0nmcpa445z82d9567vy6j7"))))
237 (build-system haskell-build-system)
238 ;; Tests require Internet access
239 (arguments `(#:tests? #f))
241 `(("ghc-data-default-class" ,ghc-data-default-class)
242 ("ghc-http-client" ,ghc-http-client)
243 ("ghc-connection" ,ghc-connection)
244 ("ghc-network" ,ghc-network)
246 ("ghc-http-types" ,ghc-http-types)))
248 `(("ghc-hspec" ,ghc-hspec)))
249 (home-page "https://github.com/snoyberg/http-client")
250 (synopsis "Backend for http-client using the TLS library")
252 "This package provides a backend for the http-client package using the
253 connection and TLS libraries. It is intended for use by higher-level
254 libraries, such as http-conduit.")
255 (license license:expat)))
257 (define-public ghc-http-date
259 (name "ghc-http-date")
264 (uri (string-append "https://hackage.haskell.org/package/"
265 "http-date-" version "/"
266 "http-date-" version ".tar.gz"))
269 "09slbzqayjnqqz9zybk7slgzvizgplikqgg4b2flzgks91466k0g"))))
270 (build-system haskell-build-system)
272 `(("ghc-attoparsec" ,ghc-attoparsec)))
274 `(("ghc-doctest" ,ghc-doctest)
275 ("ghc-hspec" ,ghc-hspec)
276 ("hspec-discover" ,hspec-discover)
277 ("ghc-old-locale" ,ghc-old-locale)))
278 (home-page "https://github.com/kazu-yamamoto/http-date")
279 (synopsis "HTTP Date parser/formatter")
280 (description "Library for Parsing and formatting HTTP
282 (license license:bsd-3)))
284 (define-public ghc-http2
291 (uri (string-append "https://hackage.haskell.org/package/"
293 "http2-" version ".tar.gz"))
296 "0hww0rfsv6lqx62qzycbcqy5q6rh9k09qkyjkdm5m1sp1z50wqk1"))))
297 (build-system haskell-build-system)
299 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
300 ("ghc-case-insensitive" ,ghc-case-insensitive)
301 ("ghc-aeson" ,ghc-aeson)
302 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
304 ("ghc-unordered-containers" ,ghc-unordered-containers)
305 ("ghc-vector" ,ghc-vector)
306 ("ghc-word8" ,ghc-word8)
307 ("ghc-psqueues" ,ghc-psqueues)))
309 `(("ghc-glob" ,ghc-glob)
310 ("ghc-hspec" ,ghc-hspec)
311 ("ghc-doctest" ,ghc-doctest)
312 ("hspec-discover" ,hspec-discover)))
313 (home-page "https://github.com/kazu-yamamoto/http2")
314 (synopsis "HTTP/2 library including frames, priority queues and HPACK")
315 (description "This package provides a HTTP/2.0 library including frames
316 and HPACK. Currently HTTP/2 16 framing and HPACK 10 is supported.")
317 (license license:bsd-3)))
319 (define-public ghc-http-conduit
321 (name "ghc-http-conduit")
326 (uri (string-append "https://hackage.haskell.org/package/"
327 "http-conduit-" version "/" "http-conduit-"
331 "1iay4hr0mj8brkxvgkv1liqa8irl9axfc3qhn8qsvcyq4n1l95km"))))
332 (build-system haskell-build-system)
333 ;; FIXME: `httpLbs TLS` in test-suite `test` fails with
334 ;; ConnectionFailure getProtocolByName: does not exist (no such protocol
336 (arguments `(#:tests? #f))
338 `(("ghc-aeson" ,ghc-aeson)
339 ("ghc-resourcet" ,ghc-resourcet)
340 ("ghc-conduit" ,ghc-conduit)
341 ("ghc-conduit-extra" ,ghc-conduit-extra)
342 ("ghc-http-types" ,ghc-http-types)
343 ("ghc-lifted-base" ,ghc-lifted-base)
344 ("ghc-http-client" ,ghc-http-client)
345 ("ghc-http-client-tls" ,ghc-http-client-tls)
346 ("ghc-monad-control" ,ghc-monad-control)
347 ("ghc-exceptions" ,ghc-exceptions)
348 ("ghc-unliftio" ,ghc-unliftio)))
350 `(("ghc-hunit" ,ghc-hunit)
351 ("ghc-hspec" ,ghc-hspec)
352 ("ghc-data-default-class" ,ghc-data-default-class)
353 ("ghc-connection" ,ghc-connection)
354 ("ghc-warp-tls" ,ghc-warp-tls)
355 ("ghc-blaze-builder" ,ghc-blaze-builder)
356 ("ghc-conduit" ,ghc-conduit)
357 ("ghc-utf8-string" ,ghc-utf8-string)
358 ("ghc-case-insensitive" ,ghc-case-insensitive)
359 ("ghc-lifted-base" ,ghc-lifted-base)
360 ("ghc-network" ,ghc-network)
362 ("ghc-warp" ,ghc-warp)
363 ("ghc-wai-conduit" ,ghc-wai-conduit)
364 ("ghc-http-types" ,ghc-http-types)
365 ("ghc-cookie" ,ghc-cookie)
366 ("ghc-conduit-extra" ,ghc-conduit-extra)
367 ("ghc-streaming-commons" ,ghc-streaming-commons)
368 ("ghc-aeson" ,ghc-aeson)
369 ("ghc-temporary" ,ghc-temporary)
370 ("ghc-resourcet" ,ghc-resourcet)))
371 (home-page "https://hackage.haskell.org/package/http-conduit")
372 (synopsis "HTTP/HTTPS client with conduit interface")
373 (description "This library uses attoparsec for parsing the actual
374 contents of the HTTP connection. It also provides higher-level functions
375 which allow you to avoid direct usage of conduits.")
376 (license license:bsd-3)))
378 (define-public ghc-wai
386 "https://hackage.haskell.org/package/wai/wai-"
391 "0jr3b2789wa4m6mxkz12ynz4lfsqmgbrcy0am8karyqr3x3528r8"))))
392 (build-system haskell-build-system)
394 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
395 ("ghc-unix-compat" ,ghc-unix-compat)
396 ("ghc-vault" ,ghc-vault)
397 ("ghc-blaze-builder" ,ghc-blaze-builder)
398 ("ghc-network" ,ghc-network)
399 ("ghc-http-types" ,ghc-http-types)))
401 `(("hspec-discover" ,hspec-discover)
402 ("ghc-quickcheck" ,ghc-quickcheck)
403 ("ghc-hunit" ,ghc-hunit)
404 ("ghc-hspec" ,ghc-hspec)))
405 (home-page "https://hackage.haskell.org/package/wai")
406 (synopsis "Web application interface for Haskell")
407 (description "This package provides a Web Application Interface (WAI)
408 library for the Haskell language. It defines a common protocol for
409 communication between web applications and web servers.")
410 (license license:bsd-3)))
412 (define-public ghc-wai-logger
414 (name "ghc-wai-logger")
420 "https://hackage.haskell.org/package/wai-logger/wai-logger-"
425 "0w5ldq4gplc16zzk5ikmbbjw79imaqvw8p6lylaw3hlsbn3zzm4d"))))
426 (build-system haskell-build-system)
427 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find libraries exported
428 ; by propagated-inputs.
430 `(("ghc-auto-update" ,ghc-auto-update)
431 ("ghc-byteorder" ,ghc-byteorder)
432 ("ghc-easy-file" ,ghc-easy-file)
433 ("ghc-unix-time" ,ghc-unix-time)
434 ("ghc-blaze-builder" ,ghc-blaze-builder)
435 ("ghc-case-insensitive" ,ghc-case-insensitive)
436 ("ghc-fast-logger" ,ghc-fast-logger)
437 ("ghc-http-types" ,ghc-http-types)
438 ("ghc-network" ,ghc-network)
439 ("ghc-wai" ,ghc-wai)))
440 (home-page "https://hackage.haskell.org/package/wai-logger")
441 (synopsis "Logging system for WAI")
442 (description "This package provides the logging system for WAI.")
443 (license license:bsd-3)))
445 (define-public ghc-wai-extra
447 (name "ghc-wai-extra")
453 "https://hackage.haskell.org/package/wai-extra/wai-extra-"
458 "07gcgq59dki5drkjci9ka34xjsy3bqilbsx0lsc4905w9jlyfbci"))))
459 (build-system haskell-build-system)
461 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
462 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
463 ("ghc-cookie" ,ghc-cookie)
464 ("ghc-blaze-builder" ,ghc-blaze-builder)
465 ("ghc-network" ,ghc-network)
466 ("ghc-lifted-base" ,ghc-lifted-base)
467 ("ghc-streaming-commons" ,ghc-streaming-commons)
468 ("ghc-stringsearch" ,ghc-stringsearch)
469 ("ghc-resourcet" ,ghc-resourcet)
470 ("ghc-fast-logger" ,ghc-fast-logger)
471 ("ghc-wai-logger" ,ghc-wai-logger)
472 ("ghc-zlib" ,ghc-zlib)
473 ("ghc-word8" ,ghc-word8)
474 ("ghc-iproute" ,ghc-iproute)
475 ("ghc-void" ,ghc-void)
477 ("ghc-http-types" ,ghc-http-types)
478 ("ghc-case-insensitive" ,ghc-case-insensitive)
479 ("ghc-data-default-class" ,ghc-data-default-class)
480 ("ghc-unix-compat" ,ghc-unix-compat)
481 ("ghc-vault" ,ghc-vault)
482 ("ghc-aeson" ,ghc-aeson)))
484 `(("hspec-discover" ,hspec-discover)
485 ("ghc-hspec" ,ghc-hspec)
486 ("ghc-hunit" ,ghc-hunit)))
487 (home-page "https://github.com/yesodweb/wai")
488 (synopsis "Some basic WAI handlers and middleware")
489 (description "This library provides basic WAI handlers and middleware
491 (license license:expat)))
493 (define-public ghc-wai-conduit
495 (name "ghc-wai-conduit")
500 (uri (string-append "https://hackage.haskell.org/package/"
501 "wai-conduit-" version "/"
502 "wai-conduit-" version ".tar.gz"))
505 "07yn41rn2skd5p3wqqa09wa761vj7ibl8l19gh4bi4i8slxhk417"))))
506 (build-system haskell-build-system)
508 `(("ghc-conduit" ,ghc-conduit)
509 ("ghc-http-types" ,ghc-http-types)
511 ("ghc-blaze-builder" ,ghc-blaze-builder)))
512 (home-page "https://github.com/yesodweb/wai")
513 (synopsis "Conduit wrappers for Haskell's WAI")
514 (description "This package provides data streaming abstraction for
515 Haskell's Web Application Interface (WAI).")
516 (license license:expat)))
518 (define-public ghc-bsb-http-chunked
520 (name "ghc-bsb-http-chunked")
526 "https://hackage.haskell.org/package/"
527 "bsb-http-chunked/bsb-http-chunked-"
531 "1x6m6xkrcw6jiaig1bb2wb5pqyw31x8xr9k9pxgq2g3ng44pbjr8"))))
532 (build-system haskell-build-system)
534 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)))
535 (home-page "http://github.com/sjakobi/bsb-http-chunked")
536 (synopsis "Chunked HTTP transfer encoding for bytestring builders")
537 (description "This Haskell library contains functions for encoding
538 bytestring builders for chunked Hypertext Transfer Protocol (HTTP) 1.1
540 (license license:bsd-3)))
542 (define-public ghc-warp
549 (uri (string-append "https://hackage.haskell.org/package/"
550 "warp-" version "/" "warp-" version
553 (base32 "0p2w88q0zd55ms20qylipbi0qzbf324i9r8b9qqxyds5yc1anq76"))))
554 (build-system haskell-build-system)
556 `(("ghc-async" ,ghc-async)
557 ("ghc-auto-update" ,ghc-auto-update)
558 ("ghc-bsb-http-chunked" ,ghc-bsb-http-chunked)
559 ("ghc-case-insensitive" ,ghc-case-insensitive)
560 ("ghc-hashable" ,ghc-hashable)
561 ("ghc-http-types" ,ghc-http-types)
562 ("ghc-iproute" ,ghc-iproute)
563 ("ghc-network" ,ghc-network)
564 ("ghc-streaming-commons" ,ghc-streaming-commons)
565 ("ghc-unix-compat" ,ghc-unix-compat)
566 ("ghc-vault" ,ghc-vault)
568 ("ghc-word8" ,ghc-word8)
569 ("ghc-http-date" ,ghc-http-date)
570 ("ghc-simple-sendfile" ,ghc-simple-sendfile)
571 ("ghc-http2" ,ghc-http2)))
574 ("ghc-silently" ,ghc-silently)
575 ("ghc-hspec" ,ghc-hspec)
576 ("ghc-doctest" ,ghc-doctest)
577 ("ghc-lifted-base" ,ghc-lifted-base)
578 ("ghc-quickcheck" ,ghc-quickcheck)
579 ("ghc-hunit" ,ghc-hunit)
580 ("ghc-http-client" ,ghc-http-client)
581 ("hspec-discover" ,hspec-discover)))
582 (home-page "http://github.com/yesodweb/wai")
583 (synopsis "HTTP server library for Haskell's WAI")
584 (description "Warp is a server library for HTTP/1.x and HTTP/2
585 based WAI (Web Application Interface in Haskell).")
586 (license license:expat)))
588 (define-public ghc-tls-session-manager
590 (name "ghc-tls-session-manager")
596 "https://hackage.haskell.org/package/"
597 "tls-session-manager/tls-session-manager-"
601 "0rvmln545vghsx8zhxp44f0f6pzma8cylarmfhhysy55ipywr1n5"))))
602 (build-system haskell-build-system)
604 `(("ghc-auto-update" ,ghc-auto-update)
605 ("ghc-clock" ,ghc-clock)
606 ("ghc-psqueues" ,ghc-psqueues)
607 ("ghc-tls" ,ghc-tls)))
608 (home-page "http://hackage.haskell.org/package/tls-session-manager")
609 (synopsis "In-memory TLS session manager")
610 (description "This Haskell library provides a TLS session manager with
611 limitation, automatic pruning, energy saving and replay resistance.")
612 (license license:bsd-3)))
614 (define-public ghc-warp-tls
616 (name "ghc-warp-tls")
621 (uri (string-append "https://hackage.haskell.org/package/"
622 "warp-tls-" version "/"
623 "warp-tls-" version ".tar.gz"))
626 "17gj295fr98l7mkz2gdz6kahdnmja0sql3kvy2zab6q168g53kc4"))))
627 (build-system haskell-build-system)
629 `(("ghc-cryptonite" ,ghc-cryptonite)
630 ("ghc-data-default-class" ,ghc-data-default-class)
631 ("ghc-network" ,ghc-network)
632 ("ghc-streaming-commons" ,ghc-streaming-commons)
634 ("ghc-tls-session-manager" ,ghc-tls-session-manager)
636 ("ghc-warp" ,ghc-warp)))
637 (home-page "http://github.com/yesodweb/wai")
638 (synopsis "SSL/TLS support for Warp")
639 (description "This package provides SSL/TLS support for Warp,
640 a WAI handler, via the native Haskell TLS implementation.")
641 (license license:expat)))
643 (define-public ghc-xss-sanitize
645 (name "ghc-xss-sanitize")
651 "https://hackage.haskell.org/package/xss-sanitize/xss-sanitize-"
655 "1d72s3a6520iwwc1wbn9v2znqgbw6a5wwzb23iq8ny9ccnjyx1dk"))))
656 (build-system haskell-build-system)
658 `(("ghc-tagsoup" ,ghc-tagsoup)
659 ("ghc-utf8-string" ,ghc-utf8-string)
660 ("ghc-css-text" ,ghc-css-text)
661 ("ghc-network-uri" ,ghc-network-uri)))
663 `(("ghc-attoparsec" ,ghc-attoparsec)
664 ("ghc-hspec" ,ghc-hspec)
665 ("ghc-hunit" ,ghc-hunit)))
666 (home-page "https://github.com/yesodweb/haskell-xss-sanitize")
667 (synopsis "Sanitize untrusted HTML to prevent XSS attacks")
668 (description "This library provides @code{sanitizeXSS}. Run untrusted
669 HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to prevent XSS
671 (license license:bsd-3)))
673 (define-public ghc-css-text
675 (name "ghc-css-text")
681 "https://hackage.haskell.org/package/css-text/css-text-"
686 "0ynd9f4hn2sfwqzbsa0y7phmxq8za7jiblpjwx0ry8b372zhgxaz"))))
687 (build-system haskell-build-system)
689 `(("ghc-attoparsec" ,ghc-attoparsec)
690 ("ghc-hspec" ,ghc-hspec)
691 ("ghc-quickcheck" ,ghc-quickcheck)))
692 (home-page "http://www.yesodweb.com/")
693 (synopsis "CSS parser and renderer")
694 (description "This package provides a CSS parser and renderer for
696 (license license:bsd-3)))
698 (define-public ghc-mime-types
700 (name "ghc-mime-types")
704 (uri (string-append "https://hackage.haskell.org/package/"
705 "mime-types/mime-types-"
709 "14ccl2842ya17zyj0bpc7vzklbyqvvydpbypn69h2fmhgji192x8"))))
710 (build-system haskell-build-system)
711 (home-page "https://github.com/yesodweb/wai")
712 (synopsis "Basic MIME type handling types and functions")
714 "This library provides basic MIME type handling types and functions.")
715 (license license:expat)))
717 (define-public ghc-html
725 "https://hackage.haskell.org/package/html/html-"
730 "0q9hmfii62kc82ijlg238fxrzxhsivn42x5wd6ffcr9xldg4jd8c"))))
731 (build-system haskell-build-system)
733 "https://hackage.haskell.org/package/html")
734 (synopsis "HTML combinator library")
736 "This package contains a combinator library for constructing HTML
738 (license license:bsd-3)))
740 (define-public ghc-blaze-html
742 (name "ghc-blaze-html")
747 (uri (string-append "https://hackage.haskell.org/package/"
748 "blaze-html/blaze-html-"
752 "06xv8fqhclfjj61z74cgggn4lmx1s7diakxg84mnkgfvk11983pa"))))
753 (build-system haskell-build-system)
755 `(("ghc-blaze-builder" ,ghc-blaze-builder)
756 ("ghc-blaze-markup" ,ghc-blaze-markup)))
758 `(("ghc-hunit" ,ghc-hunit)
759 ("ghc-quickcheck" ,ghc-quickcheck)
760 ("ghc-test-framework" ,ghc-test-framework)
761 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
762 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
763 (home-page "http://jaspervdj.be/blaze")
764 (synopsis "Fast HTML combinator library")
765 (description "This library provides HTML combinators for Haskell.")
766 (license license:bsd-3)))
768 (define-public ghc-aeson
776 "https://hackage.haskell.org/package/aeson/aeson-"
781 "1i1ig840fvsb1lnklcv32zsc0zscirc301lw1mpfxhc6h4pk0gw4"))))
782 (build-system haskell-build-system)
783 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
785 `(("ghc-attoparsec" ,ghc-attoparsec)
786 ("ghc-base-compat" ,ghc-base-compat)
787 ("ghc-dlist" ,ghc-dlist)
788 ("ghc-hashable" ,ghc-hashable)
789 ("ghc-scientific" ,ghc-scientific)
790 ("ghc-tagged" ,ghc-tagged)
791 ("ghc-th-abstraction" ,ghc-th-abstraction)
792 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
793 ("ghc-unordered-containers" ,ghc-unordered-containers)
794 ("ghc-uuid-types" ,ghc-uuid-types)
795 ("ghc-vector" ,ghc-vector)
796 ("ghc-hunit" ,ghc-hunit)
797 ("ghc-quickcheck" ,ghc-quickcheck)
798 ("ghc-integer-logarithms" ,ghc-integer-logarithms)
799 ("ghc-base-orphans" ,ghc-base-orphans)
800 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
801 ("ghc-generic-deriving" ,ghc-generic-deriving)
802 ("ghc-test-framework" ,ghc-test-framework)
803 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
804 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
805 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
806 ("ghc-hashable-time" ,ghc-hashable-time)))
807 (home-page "https://github.com/bos/aeson")
808 (synopsis "Fast JSON parsing and encoding")
809 (description "This package provides a JSON parsing and encoding library
810 for Haskell, optimized for ease of use and high performance. (A note on
811 naming: in Greek mythology, Aeson was the father of Jason.)")
812 (license license:bsd-3)))
814 (define-public ghc-aeson-pretty
816 (name "ghc-aeson-pretty")
821 "https://hackage.haskell.org/package/aeson-pretty/aeson-pretty-"
825 "1m977gs0s9gf3lwzlbs5y7bl6ansc5pywmn2qjk09l5bwg2yrhf1"))))
826 (build-system haskell-build-system)
828 `(("ghc-aeson" ,ghc-aeson)
829 ("ghc-base-compat" ,ghc-base-compat)
830 ("ghc-scientific" ,ghc-scientific)
831 ("ghc-vector" ,ghc-vector)
832 ("ghc-unordered-containers" ,ghc-unordered-containers)
833 ("ghc-attoparsec" ,ghc-attoparsec)
834 ("ghc-cmdargs" ,ghc-cmdargs)))
835 (home-page "https://github.com/informatikr/aeson-pretty")
836 (synopsis "JSON pretty-printing library and command-line tool")
838 "This package provides a JSON pretty-printing library compatible with aeson
839 as well as a command-line tool to improve readability of streams of JSON data.
840 The library provides the function @code{encodePretty}. It is a drop-in
841 replacement for aeson's @code{encode} function, producing JSON-ByteStrings for
842 human readers. The command-line tool reads JSON from stdin and writes
843 prettified JSON to stdout. It also offers a complementary \"compact\"-mode,
844 essentially the opposite of pretty-printing.")
845 (license license:bsd-3)))
847 (define-public ghc-aeson-qq
849 (name "ghc-aeson-qq")
853 (uri (string-append "https://hackage.haskell.org/package/"
854 "aeson-qq/aeson-qq-" version ".tar.gz"))
857 "0ln13jqyfh5726hdrk1rad9a6cgrrj201plmwcfcpvq18v4m5ckd"))))
858 (build-system haskell-build-system)
860 `(("ghc-base-compat" ,ghc-base-compat)
861 ("ghc-attoparsec" ,ghc-attoparsec)
862 ("ghc-scientific" ,ghc-scientific)
863 ("ghc-vector" ,ghc-vector)
864 ("ghc-aeson" ,ghc-aeson)
865 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
867 `(("ghc-hspec" ,ghc-hspec)
868 ("hspec-discover" ,hspec-discover)))
869 (home-page "https://github.com/zalora/aeson-qq")
870 (synopsis "JSON quasiquoter for Haskell")
872 "aeson-qq provides a JSON quasiquoter for Haskell. This package exposes
873 the function @code{aesonQQ} that compile-time converts a string representation
874 of a JSON value into a @code{Data.Aeson.Value}.")
875 (license license:expat)))
877 (define-public ghc-multipart
879 (name "ghc-multipart")
885 "https://hackage.haskell.org/package/multipart/multipart-"
890 "1x4n4yyva22dhfr1pg5ki112qvvzb4hyd7bwpm189iq4gcp52q4z"))))
891 (build-system haskell-build-system)
893 `(("ghc-stringsearch" ,ghc-stringsearch)))
895 "http://www.github.com/silkapp/multipart")
897 "HTTP multipart library")
899 "HTTP multipart split out of the cgi package, for Haskell.")
900 (license license:bsd-3)))
902 (define-public ghc-uri-encode
904 (name "ghc-uri-encode")
910 "https://hackage.haskell.org/package/uri-encode/uri-encode-"
914 "11miwb5vvnn17m92ykz1pzg9x6s8fbpz3mmsyqs2s4b3mn55haz8"))))
915 (build-system haskell-build-system)
917 `(("ghc-utf8-string" ,ghc-utf8-string)
918 ("ghc-network-uri" ,ghc-network-uri)))
919 (home-page "https://hackage.haskell.org/package/uri-encode")
920 (synopsis "Unicode aware uri-encoding")
921 (description "Unicode aware uri-encoding for Haskell.")
922 (license license:bsd-3)))
924 (define-public ghc-path-pieces
926 (name "ghc-path-pieces")
931 (uri (string-append "https://hackage.haskell.org/package/"
932 "path-pieces-" version "/"
933 "path-pieces-" version ".tar.gz"))
936 "0vx3sivcsld76058925hym2j6hm3g71f0qjr7v59f1g2afgx82q8"))))
937 (build-system haskell-build-system)
938 (native-inputs `(("ghc-hunit" ,ghc-hunit)
939 ("ghc-hspec" ,ghc-hspec)
940 ("ghc-quickcheck" ,ghc-quickcheck)))
941 (home-page "https://github.com/yesodweb/path-pieces")
942 (synopsis "Used in Yesod to automatically marshall data in the request path")
943 (description "This Haskell package provides two typeclasses for converting
944 Haskell data types to and from route pieces.")
945 (license license:bsd-3)))
947 (define-public ghc-skein
954 (uri (string-append "https://hackage.haskell.org/package/"
956 "skein-" version ".tar.gz"))
959 "1jdqdk0rz2wnvw735clnj8jh0a9rkrbqjg7vk3w6wczdql6cm0pq"))))
960 (build-system haskell-build-system)
961 (inputs `(("ghc-cereal" ,ghc-cereal)
962 ("ghc-tagged" ,ghc-tagged)
963 ("ghc-crpto-api" ,ghc-crypto-api)))
964 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
965 (home-page "https://github.com/yesodweb/path-pieces")
966 (synopsis "Skein family of cryptographic hash functions for Haskell")
967 (description "@uref{(http://www.skein-hash.info, Skein} is a family of
968 fast secure cryptographic hash functions designed by Niels Ferguson, Stefan
969 Lucks, Bruce Schneier, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon
970 Callas and Jesse Walker.
972 This Haskell package uses bindings to the optimized C implementation of Skein.")
973 (license license:bsd-3)))
975 (define-public ghc-clientsession
977 (name "ghc-clientsession")
982 (uri (string-append "https://hackage.haskell.org/package/"
983 "clientsession-" version "/"
984 "clientsession-" version ".tar.gz"))
987 "0s6h4ykj16mpf7nlw2iqn2ji0p8g1fn5ni0s7yqaili6vv2as5ar"))))
988 (build-system haskell-build-system)
989 (inputs `(("ghc-cereal" ,ghc-cereal)
990 ("ghc-tagged" ,ghc-tagged)
991 ("ghc-crypto-api" ,ghc-crypto-api)
992 ("ghc-skein" ,ghc-skein)
993 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
994 ("ghc-entropy" ,ghc-entropy)
995 ("ghc-cprng-aes" ,ghc-cprng-aes)
996 ("ghc-cipher-aes" ,ghc-cipher-aes)
997 ("ghc-crypto-random" ,ghc-crypto-random)
998 ("ghc-setenv" ,ghc-setenv)))
999 (native-inputs `(("ghc-hunit" ,ghc-hunit)
1000 ("ghc-hspec" ,ghc-hspec)
1001 ("ghc-quickcheck" ,ghc-quickcheck)))
1002 (home-page "https://github.com/yesodweb/clientsession/tree/master")
1003 (synopsis "Haskell library for securely store session data in a
1004 client-side cookie")
1005 (description "This Haskell package achieves security through AES-CTR
1006 encryption and Skein-MAC-512-256 authentication. Uses Base64 encoding to
1007 avoid any issues with characters.")
1008 (license license:expat)))
1010 (define-public ghc-yesod-core
1012 (name "ghc-yesod-core")
1017 (uri (string-append "https://hackage.haskell.org/package/"
1018 "yesod-core-" version "/"
1019 "yesod-core-" version ".tar.gz"))
1022 "0xahf6m5c7mkl74p0gimy4wb5w4s3lh92wwxmk517fbq666c92kb"))))
1023 (build-system haskell-build-system)
1024 (inputs `(("ghc-wai" ,ghc-wai)
1025 ("ghc-extra" ,ghc-extra)
1026 ("ghc-shakespeare" ,ghc-shakespeare)
1027 ("ghc-blaze-builder" ,ghc-blaze-builder)
1028 ("ghc-clientsession" ,ghc-clientsession)
1029 ("ghc-random" ,ghc-random)
1030 ("ghc-cereal" ,ghc-cereal)
1031 ("ghc-old-locale" ,ghc-old-locale)
1032 ("ghc-unliftio" ,ghc-unliftio)
1033 ("ghc-unordered-containers" ,ghc-unordered-containers)
1034 ("ghc-monad-control" ,ghc-monad-control)
1035 ("ghc-transformers-base" ,ghc-transformers-base)
1036 ("ghc-cookie" ,ghc-cookie)
1037 ("ghc-http-types" ,ghc-http-types)
1038 ("ghc-case-insensitive" ,ghc-case-insensitive)
1039 ("ghc-vector" ,ghc-vector)
1040 ("ghc-aeson" ,ghc-aeson)
1041 ("ghc-fast-logger" ,ghc-fast-logger)
1042 ("ghc-wai-logger" ,ghc-wai-logger)
1043 ("ghc-monad-logger" ,ghc-monad-logger)
1044 ("ghc-conduit" ,ghc-conduit)
1045 ("ghc-resourcet" ,ghc-resourcet)
1046 ("ghc-rio" ,ghc-rio)
1047 ("ghc-lifted-base" ,ghc-lifted-base)
1048 ("ghc-blaze-html" ,ghc-blaze-html)
1049 ("ghc-blaze-markup" ,ghc-blaze-markup)
1050 ("ghc-data-default" ,ghc-data-default)
1051 ("ghc-safe" ,ghc-safe)
1052 ("ghc-warp" ,ghc-warp)
1053 ("ghc-unix-compat" ,ghc-unix-compat)
1054 ("ghc-conduit-extra" ,ghc-conduit-extra)
1055 ("ghc-exceptions" ,ghc-exceptions)
1056 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
1057 ("ghc-mwc-random" ,ghc-mwc-random)
1058 ("ghc-primitive" ,ghc-primitive)
1059 ("ghc-word8" ,ghc-word8)
1060 ("ghc-auto-update" ,ghc-auto-update)
1061 ("ghc-semigroups" ,ghc-semigroups)
1062 ("ghc-byteable" ,ghc-byteable)))
1063 (native-inputs `(("ghc-hspec" ,ghc-hspec)
1064 ("ghc-path-pieces" ,ghc-path-pieces)
1065 ("ghc-hunit" ,ghc-hunit)
1066 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
1067 ("ghc-quickcheck" ,ghc-quickcheck)
1068 ("ghc-network" ,ghc-network)
1069 ("ghc-async" ,ghc-async)
1070 ("ghc-streaming-commons" ,ghc-streaming-commons)
1071 ("ghc-wai-extra" ,ghc-wai-extra)))
1072 (home-page "https://www.yesodweb.com")
1073 (synopsis "Core package for the Yesod web framework")
1074 (description "This Haskell package provides all core functionality, for
1075 Yesod, on which other packages can be built. It provides dispatch, handler
1076 functions, widgets, etc.")
1077 (license license:expat)))
1079 (define-public ghc-yesod-persistent
1081 (name "ghc-yesod-persistent")
1086 (uri (string-append "https://hackage.haskell.org/package/"
1087 "yesod-persistent-" version "/"
1088 "yesod-persistent-" version ".tar.gz"))
1091 "1gd59xf7b6v3cald58mzwnfbdzjr49cz60rm4wc5w9pvfx12pgj2"))))
1092 (build-system haskell-build-system)
1093 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not available in PATH.
1094 (inputs `(("ghc-yesod-core" ,ghc-yesod-core)
1095 ("ghc-persistent" ,ghc-persistent)
1096 ("ghc-persistent-template" ,ghc-persistent-template)
1097 ("ghc-blaze-builder" ,ghc-blaze-builder)
1098 ("ghc-conduit" ,ghc-conduit)
1099 ("ghc-resourcet" ,ghc-resourcet)
1100 ("ghc-resource-pool" ,ghc-resource-pool)))
1101 (native-inputs `(("ghc-hspec" ,ghc-hspec)
1102 ("ghc-wai-extra" ,ghc-wai-extra)
1103 ("ghc-yesod-core" ,ghc-yesod-core)
1104 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)))
1105 (home-page "http://www.yesodweb.com/")
1106 (synopsis "Helpers for using Persistent from Yesod")
1107 (description "This Haskell package provides helpers for using Persistent
1109 (license license:expat)))
1111 (define-public ghc-yesod-form
1113 (name "ghc-yesod-form")
1119 "https://hackage.haskell.org/package/yesod-form/yesod-form-"
1124 "1p1x1hffvarplc82ykdk7rm6p5isqgqf78bvxzpfhncxs4kwx057"))))
1125 (build-system haskell-build-system)
1127 `(("ghc-yesod-core" ,ghc-yesod-core)
1128 ("ghc-yesod-persistent" ,ghc-yesod-persistent)
1129 ("ghc-shakespeare" ,ghc-shakespeare)
1130 ("ghc-persistent" ,ghc-persistent)
1131 ("ghc-data-default" ,ghc-data-default)
1132 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
1133 ("ghc-blaze-builder" ,ghc-blaze-builder)
1134 ("ghc-email-validate" ,ghc-email-validate)
1135 ("ghc-wai" ,ghc-wai)
1136 ("ghc-blaze-html" ,ghc-blaze-html)
1137 ("ghc-blaze-markup" ,ghc-blaze-markup)
1138 ("ghc-attoparsec" ,ghc-attoparsec)
1139 ("ghc-byteable" ,ghc-byteable)
1140 ("ghc-aeson" ,ghc-aeson)
1141 ("ghc-resourcet" ,ghc-resourcet)
1142 ("ghc-semigroups" ,ghc-semigroups)
1143 ("ghc-network-uri" ,ghc-network-uri)
1144 ("ghc-hspec" ,ghc-hspec)))
1145 (home-page "https://www.yesodweb.com")
1146 (synopsis "Form handling support for Yesod Web Framework")
1147 (description "This Haskell package provies a set of basic form inputs such
1148 as text, number, time, checkbox, select, textarea, etc through the
1149 @code{Yesod.Form.Fields} module. Also, there is @code{Yesod.Form.Nic} module
1150 providing richtext field using Nic editor. ")
1151 (license license:expat)))
1153 (define-public ghc-yesod
1161 "https://hackage.haskell.org/package/yesod/yesod-"
1165 "0wx77nbpzdh40p1bm527kimfj48vs9d2avpvvz2w42zi3pz2y94a"))))
1166 (build-system haskell-build-system)
1168 `(("ghc-yesod-core" ,ghc-yesod-core)
1169 ("ghc-yesod-persistent" ,ghc-yesod-persistent)
1170 ("ghc-yesod-form" ,ghc-yesod-form)
1171 ("ghc-monad-control" ,ghc-monad-control)
1172 ("ghc-wai" ,ghc-wai)
1173 ("ghc-wai-extra" ,ghc-wai-extra)
1174 ("ghc-warp" ,ghc-warp)
1175 ("ghc-blaze-html" ,ghc-blaze-html)
1176 ("ghc-blaze-markup" ,ghc-blaze-markup)
1177 ("ghc-aeson" ,ghc-aeson)
1178 ("ghc-data-default-class" ,ghc-data-default-class)
1179 ("ghc-unordered-containers" ,ghc-unordered-containers)
1180 ("ghc-yaml" ,ghc-yaml)
1181 ("ghc-monad-logger" ,ghc-monad-logger)
1182 ("ghc-fast-logger" ,ghc-fast-logger)
1183 ("ghc-conduit" ,ghc-conduit)
1184 ("ghc-conduit-extra" ,ghc-conduit-extra)
1185 ("ghc-resourcet" ,ghc-resourcet)
1186 ("ghc-shakespeare" ,ghc-shakespeare)
1187 ("ghc-streaming-commons" ,ghc-streaming-commons)
1188 ("ghc-wai-logger" ,ghc-wai-logger)
1189 ("ghc-semigroups" ,ghc-semigroups)))
1190 (home-page "https://www.yesodweb.com")
1191 (synopsis "Framework for creating type-safe, RESTful web applications")
1192 (description "The Haskell package package groups together the various
1193 Yesod related packages into one cohesive whole. This is the version of Yesod,
1194 whereas most of the core code lives in @code{ghc-yesod-core}.")
1195 (license license:expat)))
1197 (define-public ghc-hxt-charproperties
1199 (name "ghc-hxt-charproperties")
1204 (uri (string-append "https://hackage.haskell.org/package/"
1205 "hxt-charproperties/hxt-charproperties-"
1209 "1mml8wglvagqq891rchgli6r8rnkwrqhgsxfl6kb5403pzb18rp4"))))
1210 (build-system haskell-build-system)
1211 (home-page "https://github.com/UweSchmidt/hxt")
1212 (synopsis "Character properties and classes for XML and Unicode")
1214 "The modules provided by this package contain predicates for Unicode
1215 blocks and char properties and character predicates defined by XML. The
1216 supported Unicode version is 7.0.0")
1217 (license license:expat)))
1219 (define-public ghc-hxt-unicode
1221 (name "ghc-hxt-unicode")
1227 "https://hackage.haskell.org/package/hxt-unicode/hxt-unicode-"
1232 "0rj48cy8z4fl3zpg5bpa458kqr83adav6jnqv4i71dclpprj6n3v"))))
1233 (build-system haskell-build-system)
1235 `(("ghc-hxt-charproperties" ,ghc-hxt-charproperties)))
1237 "http://www.fh-wedel.de/~si/HXmlToolbox/index.html https://github.com/UweSchmidt/hxt")
1239 "Unicode en-/decoding functions for utf8, iso-latin-* and other encodings")
1241 "This package provides Unicode encoding and decoding functions for
1242 encodings used in the Haskell XML Toolbox. ISO Latin 1-16, utf8, utf16, ASCII
1243 are supported. Decoding is done with lazy functions, errors may be detected or
1245 (license license:expat)))
1247 (define-public ghc-hxt-regex-xmlschema
1249 (name "ghc-hxt-regex-xmlschema")
1254 (uri (string-append "https://hackage.haskell.org/package/"
1255 "hxt-regex-xmlschema/hxt-regex-xmlschema-"
1259 "1c4jr0439f5yc05h7iz53fa47g6l2wrvqp6gvwf01mlqajk3nx7l"))))
1260 (build-system haskell-build-system)
1262 `(("ghc-hxt-charproperties" ,ghc-hxt-charproperties)
1263 ("ghc-hunit" ,ghc-hunit)))
1264 (home-page "http://www.haskell.org/haskellwiki/Regular_expressions_for_XML_Schema")
1265 (synopsis "Regular expression library for W3C XML Schema regular expressions")
1267 "This library supports full W3C XML Schema regular expressions inclusive
1268 all Unicode character sets and blocks. It is implemented by the technique of
1269 derivations of regular expressions.")
1270 (license license:expat)))
1272 (define-public ghc-hxt
1275 (version "9.3.1.16")
1280 "https://hackage.haskell.org/package/hxt/hxt-"
1285 "1qq3ykgn355rx242xjcbqqksgvwr6k2fdj5phw4iv28qqxff6m8d"))))
1286 (build-system haskell-build-system)
1288 `(("ghc-hxt-charproperties" ,ghc-hxt-charproperties)
1289 ("ghc-hxt-unicode" ,ghc-hxt-unicode)
1290 ("ghc-hxt-regex-xmlschema" ,ghc-hxt-regex-xmlschema)
1291 ("ghc-network-uri" ,ghc-network-uri)))
1292 (home-page "https://github.com/UweSchmidt/hxt")
1293 (synopsis "Collection of tools for processing XML with Haskell")
1295 "The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but
1296 introduces a more general approach for processing XML with Haskell.")
1297 (license license:expat)))
1299 (define-public ghc-http-common
1301 (name "ghc-http-common")
1306 (uri (string-append "https://hackage.haskell.org/package/"
1307 "http-common/http-common-" version ".tar.gz"))
1310 "14s5a178sb2vm5k00rs21760mds5dz2gs10k9iyn22h01mxyf599"))))
1311 (build-system haskell-build-system)
1313 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
1314 ("ghc-blaze-builder" ,ghc-blaze-builder)
1315 ("ghc-case-insensitive" ,ghc-case-insensitive)
1316 ("ghc-network" ,ghc-network)
1317 ("ghc-unordered-containers" ,ghc-unordered-containers)))
1318 (home-page "https://github.com/afcowie/http-streams/")
1319 (synopsis "Common types for HTTP clients and servers")
1320 (description "Base types used by a variety of HTTP clients and
1321 servers. See http-streams @code{Network.Http.Client} or pipes-http
1322 @code{Pipes.Http.Client} for full documentation. You can import
1323 @code{Network.Http.Types} if you like, but both http-streams and
1324 pipes-http re-export this package's types and functions.")
1325 (license license:bsd-3)))
1327 (define-public ghc-http-streams
1329 (name "ghc-http-streams")
1334 (uri (string-append "https://hackage.haskell.org/package/"
1335 "http-streams/http-streams-" version ".tar.gz"))
1338 "18vxd35n7s3z4gjvad94bknc8z1w9d7ccgphnhsxlz5cackizmxq"))))
1339 (build-system haskell-build-system)
1341 `(("ghc-attoparsec" ,ghc-attoparsec)
1342 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
1343 ("ghc-blaze-builder" ,ghc-blaze-builder)
1344 ("ghc-case-insensitive" ,ghc-case-insensitive)
1345 ("ghc-io-streams" ,ghc-io-streams)
1346 ("ghc-hsopenssl" ,ghc-hsopenssl)
1347 ("ghc-openssl-streams" ,ghc-openssl-streams)
1348 ("ghc-unordered-containers" ,ghc-unordered-containers)
1349 ("ghc-aeson" ,ghc-aeson)
1350 ("ghc-http-common" ,ghc-http-common)
1351 ("ghc-network-uri" ,ghc-network-uri)
1352 ("ghc-network" ,ghc-network)))
1354 `(#:tests? #f)) ; tests rely on an outdated version of snap-server
1355 (home-page "https://github.com/afcowie/http-streams/")
1356 (synopsis "HTTP client using io-streams")
1357 (description "An HTTP client using the Snap Framework's io-streams
1358 library to handle the streaming IO. The API is optimized for ease of
1359 use for the rather common case of code needing to query web services and
1360 deal with the result.")
1361 (license license:bsd-3)))