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>
9 ;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
11 ;;; This file is part of GNU Guix.
13 ;;; GNU Guix is free software; you can redistribute it and/or modify it
14 ;;; under the terms of the GNU General Public License as published by
15 ;;; the Free Software Foundation; either version 3 of the License, or (at
16 ;;; your option) any later version.
18 ;;; GNU Guix is distributed in the hope that it will be useful, but
19 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;;; GNU General Public License for more details.
23 ;;; You should have received a copy of the GNU General Public License
24 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
26 (define-module (gnu packages haskell-web)
27 #:use-module (gnu packages)
28 #:use-module (gnu packages curl)
29 #:use-module (gnu packages haskell)
30 #:use-module (gnu packages haskell-check)
31 #:use-module (gnu packages haskell-crypto)
32 #:use-module (gnu packages haskell-xyz)
33 #:use-module (guix build-system haskell)
34 #:use-module (guix download)
35 #:use-module ((guix licenses) #:prefix license:)
36 #:use-module (guix packages)
37 #:use-module (guix utils))
39 (define-public ghc-tagsoup
46 (uri (string-append "https://hackage.haskell.org/package/tagsoup/"
47 "tagsoup-" version ".tar.gz"))
50 "1m9sx6gr9y9yxvkmcap8xsks8cnhznvma1mrfl39zljkv005azms"))))
51 (build-system haskell-build-system)
53 `(("ghc-quickcheck" ,ghc-quickcheck)))
54 (home-page "http://community.haskell.org/~ndm/tagsoup/")
56 "Parsing and extracting information from (possibly malformed) HTML/XML
59 "TagSoup is a library for parsing HTML/XML. It supports the HTML 5
60 specification, and can be used to parse either well-formed XML, or
61 unstructured and malformed HTML from the web. The library also provides
62 useful functions to extract information from an HTML document, making it ideal
63 for screen-scraping.")
64 (license license:bsd-3)))
66 (define-public ghc-cookie
74 "https://hackage.haskell.org/package/cookie/cookie-"
79 "1qy09i0jh2z9i9avy2khf8a8afq4fqgnv0fyrszgfg4kmq2fsi9j"))))
80 (build-system haskell-build-system)
82 `(("ghc-old-locale" ,ghc-old-locale)
83 ("ghc-blaze-builder" ,ghc-blaze-builder)
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 "19dgdimpzr7pxk7pqvyin6j87gmvnf0rm35gzhmna8qr835wy3sr"))))
107 (build-system haskell-build-system)
109 `(("ghc-network-bsd" ,ghc-network-bsd)
110 ("ghc-network-uri" ,ghc-network-uri)
111 ("ghc-network" ,ghc-network)))
112 (home-page "https://hackage.haskell.org/package/httpd-shed")
113 (synopsis "Simple web-server with an interact style API")
115 "This web server promotes a function from @code{Request} to @code{IO
116 Response} into a local web server. The user can decide how to interpret the
117 requests, and the library is intended for implementing Ajax APIs.")
118 (license license:bsd-3)))
120 (define-public ghc-http-types
122 (name "ghc-http-types")
127 (uri (string-append "https://hackage.haskell.org/package/http-types/"
128 "http-types-" version ".tar.gz"))
131 "05j00b9nqmwh9zaq9y9x50k81v2pd3j7a71kd91zlnbl8xk4m2jf"))))
132 (build-system haskell-build-system)
134 `(("ghc-doctest" ,ghc-doctest)
135 ("ghc-hspec" ,ghc-hspec)
136 ("ghc-quickcheck" ,ghc-quickcheck)
137 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
138 ("hspec-discover" ,hspec-discover)))
140 `(("ghc-case-insensitive" ,ghc-case-insensitive)))
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.14")
151 (outputs '("out" "doc"))
155 (uri (string-append "https://hackage.haskell.org/package/HTTP/"
156 "HTTP-" version ".tar.gz"))
159 "0yv8mbjicpl7l2017c4dhm49117lblgwpy1llv368wci1vrxf0m6"))))
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-puremd5" ,ghc-puremd5)
173 ("ghc-network" ,ghc-network)
174 ("ghc-network-uri" ,ghc-network-uri)
175 ("ghc-split" ,ghc-split)))
177 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
178 (home-page "https://github.com/haskell/HTTP")
179 (synopsis "Library for client-side HTTP")
181 "The HTTP package supports client-side web programming in Haskell. It
182 lets you set up HTTP connections, transmitting requests and processing the
183 responses coming back.")
184 (license license:bsd-3)))
186 (define-public ghc-http-client
188 (name "ghc-http-client")
192 (uri (string-append "https://hackage.haskell.org/package/"
193 "http-client/http-client-"
197 "1n9rnbp8lwkd4whi2anniywi4y1bn9kx6nzfigfvz28d7pn7i4in"))))
198 (build-system haskell-build-system)
199 ;; Tests require access to the web.
200 (arguments `(#:tests? #f))
202 `(("ghc-async" ,ghc-async)
203 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
204 ("ghc-blaze-builder" ,ghc-blaze-builder)
205 ("ghc-case-insensitive" ,ghc-case-insensitive)
206 ("ghc-cookie" ,ghc-cookie)
207 ("ghc-data-default-class" ,ghc-data-default-class)
208 ("ghc-exceptions" ,ghc-exceptions)
209 ("ghc-http-types" ,ghc-http-types)
210 ("ghc-memory" ,ghc-memory)
211 ("ghc-mime-types" ,ghc-mime-types)
212 ("ghc-monad-control" ,ghc-monad-control)
213 ("ghc-network" ,ghc-network)
214 ("ghc-network-uri" ,ghc-network-uri)
215 ("ghc-random" ,ghc-random)
216 ("ghc-streaming-commons" ,ghc-streaming-commons)
217 ("ghc-zlib" ,ghc-zlib)))
219 `(("ghc-hspec" ,ghc-hspec)))
220 (home-page "https://github.com/snoyberg/http-client")
221 (synopsis "HTTP client engine")
223 "This package provides an HTTP client engine, intended as a base layer
224 for more user-friendly packages.")
225 (license license:expat)))
227 (define-public ghc-http-client-tls
229 (name "ghc-http-client-tls")
233 (uri (string-append "https://hackage.haskell.org/package/"
234 "http-client-tls/http-client-tls-"
238 "0qj3pcpgbsfsc4m52dz35khhl4hf1i0nmcpa445z82d9567vy6j7"))))
239 (build-system haskell-build-system)
240 ;; Tests require Internet access
241 (arguments `(#:tests? #f))
243 `(("ghc-data-default-class" ,ghc-data-default-class)
244 ("ghc-http-client" ,ghc-http-client)
245 ("ghc-connection" ,ghc-connection)
246 ("ghc-network" ,ghc-network)
248 ("ghc-http-types" ,ghc-http-types)))
250 `(("ghc-hspec" ,ghc-hspec)))
251 (home-page "https://github.com/snoyberg/http-client")
252 (synopsis "Backend for http-client using the TLS library")
254 "This package provides a backend for the http-client package using the
255 connection and TLS libraries. It is intended for use by higher-level
256 libraries, such as http-conduit.")
257 (license license:expat)))
259 (define-public ghc-http-date
261 (name "ghc-http-date")
266 (uri (string-append "https://hackage.haskell.org/package/"
267 "http-date-" version "/"
268 "http-date-" version ".tar.gz"))
271 "09slbzqayjnqqz9zybk7slgzvizgplikqgg4b2flzgks91466k0g"))))
272 (build-system haskell-build-system)
274 `(("ghc-attoparsec" ,ghc-attoparsec)))
276 `(("ghc-doctest" ,ghc-doctest)
277 ("ghc-hspec" ,ghc-hspec)
278 ("hspec-discover" ,hspec-discover)
279 ("ghc-old-locale" ,ghc-old-locale)))
280 (home-page "https://github.com/kazu-yamamoto/http-date")
281 (synopsis "HTTP Date parser/formatter")
282 (description "Library for Parsing and formatting HTTP
284 (license license:bsd-3)))
286 (define-public ghc-http2
293 (uri (string-append "https://hackage.haskell.org/package/"
295 "http2-" version ".tar.gz"))
298 "1vlmy8vnp6ml2n2pr11aa5fzigldsscgzmibrni64ykgfvpd3sqn"))))
299 (build-system haskell-build-system)
301 `(("ghc-case-insensitive" ,ghc-case-insensitive)
302 ("ghc-network-byte-order" ,ghc-network-byte-order)
303 ("ghc-aeson" ,ghc-aeson)
304 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
305 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
306 ("ghc-unordered-containers" ,ghc-unordered-containers)
307 ("ghc-vector" ,ghc-vector)
308 ("ghc-word8" ,ghc-word8)
309 ("ghc-psqueues" ,ghc-psqueues)))
311 `(("ghc-glob" ,ghc-glob)
312 ("ghc-hspec" ,ghc-hspec)
313 ("ghc-doctest" ,ghc-doctest)
314 ("hspec-discover" ,hspec-discover)))
315 (home-page "https://github.com/kazu-yamamoto/http2")
316 (synopsis "HTTP/2 library including frames, priority queues and HPACK")
317 (description "This package provides a HTTP/2.0 library including frames
318 and HPACK. Currently HTTP/2 16 framing and HPACK 10 is supported.")
319 (license license:bsd-3)))
321 (define-public ghc-http-conduit
323 (name "ghc-http-conduit")
328 (uri (string-append "https://hackage.haskell.org/package/"
329 "http-conduit-" version "/" "http-conduit-"
333 "00rshi1y0h8y4rvsnnad0bppxgpvp40sk7lw1kxmdwy8pi8xrvbs"))))
334 (build-system haskell-build-system)
335 ;; FIXME: `httpLbs TLS` in test-suite `test` fails with
336 ;; ConnectionFailure getProtocolByName: does not exist (no such protocol
338 (arguments `(#:tests? #f))
340 `(("ghc-aeson" ,ghc-aeson)
341 ("ghc-resourcet" ,ghc-resourcet)
342 ("ghc-conduit" ,ghc-conduit)
343 ("ghc-conduit-extra" ,ghc-conduit-extra)
344 ("ghc-http-types" ,ghc-http-types)
345 ("ghc-lifted-base" ,ghc-lifted-base)
346 ("ghc-http-client" ,ghc-http-client)
347 ("ghc-http-client-tls" ,ghc-http-client-tls)
348 ("ghc-monad-control" ,ghc-monad-control)
349 ("ghc-exceptions" ,ghc-exceptions)
350 ("ghc-unliftio" ,ghc-unliftio)))
352 `(("ghc-hunit" ,ghc-hunit)
353 ("ghc-hspec" ,ghc-hspec)
354 ("ghc-data-default-class" ,ghc-data-default-class)
355 ("ghc-connection" ,ghc-connection)
356 ("ghc-warp-tls" ,ghc-warp-tls)
357 ("ghc-blaze-builder" ,ghc-blaze-builder)
358 ("ghc-conduit" ,ghc-conduit)
359 ("ghc-utf8-string" ,ghc-utf8-string)
360 ("ghc-case-insensitive" ,ghc-case-insensitive)
361 ("ghc-lifted-base" ,ghc-lifted-base)
362 ("ghc-network" ,ghc-network)
364 ("ghc-warp" ,ghc-warp)
365 ("ghc-wai-conduit" ,ghc-wai-conduit)
366 ("ghc-http-types" ,ghc-http-types)
367 ("ghc-cookie" ,ghc-cookie)
368 ("ghc-conduit-extra" ,ghc-conduit-extra)
369 ("ghc-streaming-commons" ,ghc-streaming-commons)
370 ("ghc-aeson" ,ghc-aeson)
371 ("ghc-temporary" ,ghc-temporary)
372 ("ghc-resourcet" ,ghc-resourcet)))
373 (home-page "https://hackage.haskell.org/package/http-conduit")
374 (synopsis "HTTP/HTTPS client with conduit interface")
375 (description "This library uses attoparsec for parsing the actual
376 contents of the HTTP connection. It also provides higher-level functions
377 which allow you to avoid direct usage of conduits.")
378 (license license:bsd-3)))
380 (define-public ghc-wai
388 "https://hackage.haskell.org/package/wai/wai-"
393 "058871axlq6r0gcqxbjw37w57df9xbv81dmz99b1zq59wf329xzy"))))
394 (build-system haskell-build-system)
396 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
397 ("ghc-unix-compat" ,ghc-unix-compat)
398 ("ghc-vault" ,ghc-vault)
399 ("ghc-blaze-builder" ,ghc-blaze-builder)
400 ("ghc-network" ,ghc-network)
401 ("ghc-http-types" ,ghc-http-types)))
403 `(("hspec-discover" ,hspec-discover)
404 ("ghc-quickcheck" ,ghc-quickcheck)
405 ("ghc-hunit" ,ghc-hunit)
406 ("ghc-hspec" ,ghc-hspec)))
407 (home-page "https://hackage.haskell.org/package/wai")
408 (synopsis "Web application interface for Haskell")
409 (description "This package provides a Web Application Interface (WAI)
410 library for the Haskell language. It defines a common protocol for
411 communication between web applications and web servers.")
412 (license license:bsd-3)))
414 (define-public ghc-wai-logger
416 (name "ghc-wai-logger")
422 "https://hackage.haskell.org/package/wai-logger/wai-logger-"
427 "05gbipyw0672irynsc3wqvvgzqixhmq69ay2mxh2phb734r8bcmm"))))
428 (build-system haskell-build-system)
429 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find libraries exported
430 ; by propagated-inputs.
432 `(("ghc-auto-update" ,ghc-auto-update)
433 ("ghc-byteorder" ,ghc-byteorder)
434 ("ghc-easy-file" ,ghc-easy-file)
435 ("ghc-unix-time" ,ghc-unix-time)
436 ("ghc-blaze-builder" ,ghc-blaze-builder)
437 ("ghc-case-insensitive" ,ghc-case-insensitive)
438 ("ghc-fast-logger" ,ghc-fast-logger)
439 ("ghc-http-types" ,ghc-http-types)
440 ("ghc-network" ,ghc-network)
441 ("ghc-wai" ,ghc-wai)))
442 (home-page "https://hackage.haskell.org/package/wai-logger")
443 (synopsis "Logging system for WAI")
444 (description "This package provides the logging system for WAI.")
445 (license license:bsd-3)))
447 (define-public ghc-wai-extra
449 (name "ghc-wai-extra")
455 "https://hackage.haskell.org/package/wai-extra/wai-extra-"
460 "0iky7k4kirngvk1p2nz19zgzffb5hppfaxdjan80v06ikc8w1wm7"))))
461 (build-system haskell-build-system)
463 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
464 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
465 ("ghc-cookie" ,ghc-cookie)
466 ("ghc-network" ,ghc-network)
467 ("ghc-lifted-base" ,ghc-lifted-base)
468 ("ghc-streaming-commons" ,ghc-streaming-commons)
469 ("ghc-stringsearch" ,ghc-stringsearch)
470 ("ghc-resourcet" ,ghc-resourcet)
471 ("ghc-fast-logger" ,ghc-fast-logger)
472 ("ghc-wai-logger" ,ghc-wai-logger)
473 ("ghc-zlib" ,ghc-zlib)
474 ("ghc-word8" ,ghc-word8)
475 ("ghc-iproute" ,ghc-iproute)
476 ("ghc-void" ,ghc-void)
478 ("ghc-http-types" ,ghc-http-types)
479 ("ghc-http2" ,ghc-http2)
480 ("ghc-case-insensitive" ,ghc-case-insensitive)
481 ("ghc-data-default-class" ,ghc-data-default-class)
482 ("ghc-unix-compat" ,ghc-unix-compat)
483 ("ghc-vault" ,ghc-vault)
484 ("ghc-aeson" ,ghc-aeson)))
486 `(("hspec-discover" ,hspec-discover)
487 ("ghc-hspec" ,ghc-hspec)
488 ("ghc-hunit" ,ghc-hunit)))
489 (home-page "https://github.com/yesodweb/wai")
490 (synopsis "Some basic WAI handlers and middleware")
491 (description "This library provides basic WAI handlers and middleware
493 (license license:expat)))
495 (define-public ghc-wai-conduit
497 (name "ghc-wai-conduit")
502 (uri (string-append "https://hackage.haskell.org/package/"
503 "wai-conduit-" version "/"
504 "wai-conduit-" version ".tar.gz"))
507 "07yn41rn2skd5p3wqqa09wa761vj7ibl8l19gh4bi4i8slxhk417"))))
508 (build-system haskell-build-system)
510 `(("ghc-conduit" ,ghc-conduit)
511 ("ghc-http-types" ,ghc-http-types)
513 ("ghc-blaze-builder" ,ghc-blaze-builder)))
514 (home-page "https://github.com/yesodweb/wai")
515 (synopsis "Conduit wrappers for Haskell's WAI")
516 (description "This package provides data streaming abstraction for
517 Haskell's Web Application Interface (WAI).")
518 (license license:expat)))
520 (define-public ghc-bsb-http-chunked
522 (name "ghc-bsb-http-chunked")
528 "https://hackage.haskell.org/package/"
529 "bsb-http-chunked/bsb-http-chunked-"
533 "0z0f18yc6zlwh29c6175ivfcin325lvi4irpvv0n3cmq7vi0k0ql"))))
534 (build-system haskell-build-system)
536 `(;; XXX: As of 0.0.4, one property test ("Identical output as Blaze")
537 ;; fails on i686-linux.
538 #:tests? ,(not (string-prefix? "i686" (or (%current-target-system)
539 (%current-system))))))
541 `(("ghc-attoparsec" ,ghc-attoparsec)
542 ("ghc-blaze-builder" ,ghc-blaze-builder)
543 ("ghc-hedgehog" ,ghc-hedgehog)
544 ("ghc-tasty" ,ghc-tasty)
545 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
546 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
547 ("ghc-doctest" ,ghc-doctest)))
548 (home-page "http://github.com/sjakobi/bsb-http-chunked")
549 (synopsis "Chunked HTTP transfer encoding for bytestring builders")
550 (description "This Haskell library contains functions for encoding
551 bytestring builders for chunked Hypertext Transfer Protocol (HTTP) 1.1
553 (license license:bsd-3)))
555 (define-public ghc-warp
562 (uri (string-append "https://hackage.haskell.org/package/"
563 "warp-" version "/" "warp-" version
566 (base32 "0w2w3aiccpb2f8zssqiszcxzqdysihqi5xply23lwif5arz4saw7"))))
567 (build-system haskell-build-system)
569 `(("ghc-async" ,ghc-async)
570 ("ghc-auto-update" ,ghc-auto-update)
571 ("ghc-bsb-http-chunked" ,ghc-bsb-http-chunked)
572 ("ghc-case-insensitive" ,ghc-case-insensitive)
573 ("ghc-hashable" ,ghc-hashable)
574 ("ghc-http-types" ,ghc-http-types)
575 ("ghc-iproute" ,ghc-iproute)
576 ("ghc-network" ,ghc-network)
577 ("ghc-streaming-commons" ,ghc-streaming-commons)
578 ("ghc-time-manager" ,ghc-time-manager)
579 ("ghc-unix-compat" ,ghc-unix-compat)
580 ("ghc-vault" ,ghc-vault)
582 ("ghc-word8" ,ghc-word8)
583 ("ghc-http-date" ,ghc-http-date)
584 ("ghc-simple-sendfile" ,ghc-simple-sendfile)
585 ("ghc-http2" ,ghc-http2)))
588 ("ghc-silently" ,ghc-silently)
589 ("ghc-hspec" ,ghc-hspec)
590 ("ghc-doctest" ,ghc-doctest)
591 ("ghc-lifted-base" ,ghc-lifted-base)
592 ("ghc-quickcheck" ,ghc-quickcheck)
593 ("ghc-hunit" ,ghc-hunit)
594 ("ghc-http-client" ,ghc-http-client)
595 ("hspec-discover" ,hspec-discover)))
596 (home-page "http://github.com/yesodweb/wai")
597 (synopsis "HTTP server library for Haskell's WAI")
598 (description "Warp is a server library for HTTP/1.x and HTTP/2
599 based WAI (Web Application Interface in Haskell).")
600 (license license:expat)))
602 (define-public ghc-tls-session-manager
604 (name "ghc-tls-session-manager")
610 "https://hackage.haskell.org/package/"
611 "tls-session-manager/tls-session-manager-"
615 "0k57flqp2b4bipafiyfipnqmdqv04ky39yr4s4s9sx577zz2j2yi"))))
616 (build-system haskell-build-system)
618 `(("ghc-auto-update" ,ghc-auto-update)
619 ("ghc-clock" ,ghc-clock)
620 ("ghc-psqueues" ,ghc-psqueues)
621 ("ghc-tls" ,ghc-tls)))
622 (home-page "http://hackage.haskell.org/package/tls-session-manager")
623 (synopsis "In-memory TLS session manager")
624 (description "This Haskell library provides a TLS session manager with
625 limitation, automatic pruning, energy saving and replay resistance.")
626 (license license:bsd-3)))
628 (define-public ghc-warp-tls
630 (name "ghc-warp-tls")
635 (uri (string-append "https://hackage.haskell.org/package/"
636 "warp-tls-" version "/"
637 "warp-tls-" version ".tar.gz"))
640 "1z5jzl40x1gp249fk8h51gkw6m3hzxchm2bp3kbpqdgmw8r5im8y"))))
641 (build-system haskell-build-system)
643 `(("ghc-cryptonite" ,ghc-cryptonite)
644 ("ghc-data-default-class" ,ghc-data-default-class)
645 ("ghc-network" ,ghc-network)
646 ("ghc-streaming-commons" ,ghc-streaming-commons)
648 ("ghc-tls-session-manager" ,ghc-tls-session-manager)
650 ("ghc-warp" ,ghc-warp)))
651 (home-page "http://github.com/yesodweb/wai")
652 (synopsis "SSL/TLS support for Warp")
653 (description "This package provides SSL/TLS support for Warp,
654 a WAI handler, via the native Haskell TLS implementation.")
655 (license license:expat)))
657 (define-public ghc-xss-sanitize
659 (name "ghc-xss-sanitize")
665 "https://hackage.haskell.org/package/xss-sanitize/xss-sanitize-"
669 "1d72s3a6520iwwc1wbn9v2znqgbw6a5wwzb23iq8ny9ccnjyx1dk"))))
670 (build-system haskell-build-system)
672 `(("ghc-tagsoup" ,ghc-tagsoup)
673 ("ghc-utf8-string" ,ghc-utf8-string)
674 ("ghc-css-text" ,ghc-css-text)
675 ("ghc-network-uri" ,ghc-network-uri)))
677 `(("ghc-attoparsec" ,ghc-attoparsec)
678 ("ghc-hspec" ,ghc-hspec)
679 ("ghc-hunit" ,ghc-hunit)))
680 (home-page "https://github.com/yesodweb/haskell-xss-sanitize")
681 (synopsis "Sanitize untrusted HTML to prevent XSS attacks")
682 (description "This library provides @code{sanitizeXSS}. Run untrusted
683 HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to prevent XSS
685 (license license:bsd-3)))
687 (define-public ghc-css-text
689 (name "ghc-css-text")
695 "https://hackage.haskell.org/package/css-text/css-text-"
700 "0ynd9f4hn2sfwqzbsa0y7phmxq8za7jiblpjwx0ry8b372zhgxaz"))))
701 (build-system haskell-build-system)
703 `(("ghc-attoparsec" ,ghc-attoparsec)
704 ("ghc-hspec" ,ghc-hspec)
705 ("ghc-quickcheck" ,ghc-quickcheck)))
706 (home-page "http://www.yesodweb.com/")
707 (synopsis "CSS parser and renderer")
708 (description "This package provides a CSS parser and renderer for
710 (license license:bsd-3)))
712 (define-public ghc-mime-types
714 (name "ghc-mime-types")
718 (uri (string-append "https://hackage.haskell.org/package/"
719 "mime-types/mime-types-"
723 "1lkipa4v73z3l5lqs6sdhl898iq41kyxv2jb9agsajzgd58l6cha"))))
724 (build-system haskell-build-system)
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-blaze-html
756 (name "ghc-blaze-html")
761 (uri (string-append "https://hackage.haskell.org/package/"
762 "blaze-html/blaze-html-"
766 "0k1r1hddjgqighazcazxrx6xfhvy2gm8il8l82ainv3cai13yl30"))))
767 (build-system haskell-build-system)
769 `(("ghc-blaze-builder" ,ghc-blaze-builder)
770 ("ghc-blaze-markup" ,ghc-blaze-markup)))
772 `(("ghc-hunit" ,ghc-hunit)
773 ("ghc-quickcheck" ,ghc-quickcheck)
774 ("ghc-test-framework" ,ghc-test-framework)
775 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
776 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
777 (home-page "http://jaspervdj.be/blaze")
778 (synopsis "Fast HTML combinator library")
779 (description "This library provides HTML combinators for Haskell.")
780 (license license:bsd-3)))
782 (define-public ghc-aeson
790 "https://hackage.haskell.org/package/aeson/aeson-"
795 "1jhabz1lbbv6yqxqiybifi86cb5xlsadrn368n5dd0wzzc7ja4iz"))))
796 (build-system haskell-build-system)
797 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
799 `(("ghc-attoparsec" ,ghc-attoparsec)
800 ("ghc-base-compat" ,ghc-base-compat)
801 ("ghc-dlist" ,ghc-dlist)
802 ("ghc-hashable" ,ghc-hashable)
803 ("ghc-scientific" ,ghc-scientific)
804 ("ghc-tagged" ,ghc-tagged)
805 ("ghc-th-abstraction" ,ghc-th-abstraction)
806 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
807 ("ghc-unordered-containers" ,ghc-unordered-containers)
808 ("ghc-uuid-types" ,ghc-uuid-types)
809 ("ghc-vector" ,ghc-vector)
810 ("ghc-hunit" ,ghc-hunit)
811 ("ghc-quickcheck" ,ghc-quickcheck)
812 ("ghc-integer-logarithms" ,ghc-integer-logarithms)
813 ("ghc-base-orphans" ,ghc-base-orphans)
814 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
815 ("ghc-generic-deriving" ,ghc-generic-deriving)
816 ("ghc-test-framework" ,ghc-test-framework)
817 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
818 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
819 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
820 ("ghc-hashable-time" ,ghc-hashable-time)))
821 (home-page "https://github.com/bos/aeson")
822 (synopsis "Fast JSON parsing and encoding")
823 (description "This package provides a JSON parsing and encoding library
824 for Haskell, optimized for ease of use and high performance. (A note on
825 naming: in Greek mythology, Aeson was the father of Jason.)")
826 (license license:bsd-3)))
828 (define-public ghc-aeson-pretty
830 (name "ghc-aeson-pretty")
835 "https://hackage.haskell.org/package/aeson-pretty/aeson-pretty-"
839 "09n7gs91y1fbw6gjszrd2na3isnvk3y5rsi90lzjrwywnqfadkl1"))))
840 (build-system haskell-build-system)
842 `(("ghc-aeson" ,ghc-aeson)
843 ("ghc-base-compat" ,ghc-base-compat)
844 ("ghc-scientific" ,ghc-scientific)
845 ("ghc-vector" ,ghc-vector)
846 ("ghc-unordered-containers" ,ghc-unordered-containers)
847 ("ghc-attoparsec" ,ghc-attoparsec)
848 ("ghc-cmdargs" ,ghc-cmdargs)))
849 (home-page "https://github.com/informatikr/aeson-pretty")
850 (synopsis "JSON pretty-printing library and command-line tool")
852 "This package provides a JSON pretty-printing library compatible with aeson
853 as well as a command-line tool to improve readability of streams of JSON data.
854 The library provides the function @code{encodePretty}. It is a drop-in
855 replacement for aeson's @code{encode} function, producing JSON-ByteStrings for
856 human readers. The command-line tool reads JSON from stdin and writes
857 prettified JSON to stdout. It also offers a complementary \"compact\"-mode,
858 essentially the opposite of pretty-printing.")
859 (license license:bsd-3)))
861 (define-public ghc-aeson-qq
863 (name "ghc-aeson-qq")
867 (uri (string-append "https://hackage.haskell.org/package/"
868 "aeson-qq/aeson-qq-" version ".tar.gz"))
871 "0ln13jqyfh5726hdrk1rad9a6cgrrj201plmwcfcpvq18v4m5ckd"))))
872 (build-system haskell-build-system)
874 `(("ghc-base-compat" ,ghc-base-compat)
875 ("ghc-attoparsec" ,ghc-attoparsec)
876 ("ghc-scientific" ,ghc-scientific)
877 ("ghc-vector" ,ghc-vector)
878 ("ghc-aeson" ,ghc-aeson)
879 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
881 `(("ghc-hspec" ,ghc-hspec)
882 ("hspec-discover" ,hspec-discover)))
883 (home-page "https://github.com/zalora/aeson-qq")
884 (synopsis "JSON quasiquoter for Haskell")
886 "aeson-qq provides a JSON quasiquoter for Haskell. This package exposes
887 the function @code{aesonQQ} that compile-time converts a string representation
888 of a JSON value into a @code{Data.Aeson.Value}.")
889 (license license:expat)))
891 (define-public ghc-multipart
893 (name "ghc-multipart")
899 "https://hackage.haskell.org/package/multipart/multipart-"
904 "1x4n4yyva22dhfr1pg5ki112qvvzb4hyd7bwpm189iq4gcp52q4z"))))
905 (build-system haskell-build-system)
907 `(("ghc-stringsearch" ,ghc-stringsearch)))
909 "http://www.github.com/silkapp/multipart")
911 "HTTP multipart library")
913 "HTTP multipart split out of the cgi package, for Haskell.")
914 (license license:bsd-3)))
916 (define-public ghc-uri-encode
918 (name "ghc-uri-encode")
924 "https://hackage.haskell.org/package/uri-encode/uri-encode-"
928 "11miwb5vvnn17m92ykz1pzg9x6s8fbpz3mmsyqs2s4b3mn55haz8"))))
929 (build-system haskell-build-system)
931 `(("ghc-utf8-string" ,ghc-utf8-string)
932 ("ghc-network-uri" ,ghc-network-uri)))
933 (home-page "https://hackage.haskell.org/package/uri-encode")
934 (synopsis "Unicode aware uri-encoding")
935 (description "Unicode aware uri-encoding for Haskell.")
936 (license license:bsd-3)))
938 (define-public ghc-path-pieces
940 (name "ghc-path-pieces")
945 (uri (string-append "https://hackage.haskell.org/package/"
946 "path-pieces-" version "/"
947 "path-pieces-" version ".tar.gz"))
950 "0vx3sivcsld76058925hym2j6hm3g71f0qjr7v59f1g2afgx82q8"))))
951 (build-system haskell-build-system)
952 (native-inputs `(("ghc-hunit" ,ghc-hunit)
953 ("ghc-hspec" ,ghc-hspec)
954 ("ghc-quickcheck" ,ghc-quickcheck)))
955 (home-page "https://github.com/yesodweb/path-pieces")
956 (synopsis "Used in Yesod to automatically marshall data in the request path")
957 (description "This Haskell package provides two typeclasses for converting
958 Haskell data types to and from route pieces.")
959 (license license:bsd-3)))
961 (define-public ghc-skein
968 (uri (string-append "https://hackage.haskell.org/package/"
970 "skein-" version ".tar.gz"))
973 "1jdqdk0rz2wnvw735clnj8jh0a9rkrbqjg7vk3w6wczdql6cm0pq"))))
974 (build-system haskell-build-system)
975 (inputs `(("ghc-cereal" ,ghc-cereal)
976 ("ghc-tagged" ,ghc-tagged)
977 ("ghc-crpto-api" ,ghc-crypto-api)))
978 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
979 (home-page "https://github.com/yesodweb/path-pieces")
980 (synopsis "Skein family of cryptographic hash functions for Haskell")
981 (description "@uref{(http://www.skein-hash.info, Skein} is a family of
982 fast secure cryptographic hash functions designed by Niels Ferguson, Stefan
983 Lucks, Bruce Schneier, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon
984 Callas and Jesse Walker.
986 This Haskell package uses bindings to the optimized C implementation of Skein.")
987 (license license:bsd-3)))
989 (define-public ghc-clientsession
991 (name "ghc-clientsession")
996 (uri (string-append "https://hackage.haskell.org/package/"
997 "clientsession-" version "/"
998 "clientsession-" version ".tar.gz"))
1001 "0s6h4ykj16mpf7nlw2iqn2ji0p8g1fn5ni0s7yqaili6vv2as5ar"))))
1002 (build-system haskell-build-system)
1003 (inputs `(("ghc-cereal" ,ghc-cereal)
1004 ("ghc-tagged" ,ghc-tagged)
1005 ("ghc-crypto-api" ,ghc-crypto-api)
1006 ("ghc-skein" ,ghc-skein)
1007 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
1008 ("ghc-entropy" ,ghc-entropy)
1009 ("ghc-cprng-aes" ,ghc-cprng-aes)
1010 ("ghc-cipher-aes" ,ghc-cipher-aes)
1011 ("ghc-crypto-random" ,ghc-crypto-random)
1012 ("ghc-setenv" ,ghc-setenv)))
1013 (native-inputs `(("ghc-hunit" ,ghc-hunit)
1014 ("ghc-hspec" ,ghc-hspec)
1015 ("ghc-quickcheck" ,ghc-quickcheck)))
1016 (home-page "https://github.com/yesodweb/clientsession/tree/master")
1017 (synopsis "Haskell library for securely store session data in a
1018 client-side cookie")
1019 (description "This Haskell package achieves security through AES-CTR
1020 encryption and Skein-MAC-512-256 authentication. Uses Base64 encoding to
1021 avoid any issues with characters.")
1022 (license license:expat)))
1024 (define-public ghc-yesod-core
1026 (name "ghc-yesod-core")
1027 (version "1.6.16.1")
1031 (uri (string-append "https://hackage.haskell.org/package/"
1032 "yesod-core-" version "/"
1033 "yesod-core-" version ".tar.gz"))
1036 "0a0yv7wkwvb0n6iia532y9nzrirgnm09pjc8hpm0lx4ff609pgd2"))))
1037 (build-system haskell-build-system)
1038 (inputs `(("ghc-wai" ,ghc-wai)
1039 ("ghc-extra" ,ghc-extra)
1040 ("ghc-shakespeare" ,ghc-shakespeare)
1041 ("ghc-blaze-builder" ,ghc-blaze-builder)
1042 ("ghc-clientsession" ,ghc-clientsession)
1043 ("ghc-random" ,ghc-random)
1044 ("ghc-cereal" ,ghc-cereal)
1045 ("ghc-old-locale" ,ghc-old-locale)
1046 ("ghc-unliftio" ,ghc-unliftio)
1047 ("ghc-unordered-containers" ,ghc-unordered-containers)
1048 ("ghc-monad-control" ,ghc-monad-control)
1049 ("ghc-transformers-base" ,ghc-transformers-base)
1050 ("ghc-cookie" ,ghc-cookie)
1051 ("ghc-http-types" ,ghc-http-types)
1052 ("ghc-case-insensitive" ,ghc-case-insensitive)
1053 ("ghc-vector" ,ghc-vector)
1054 ("ghc-aeson" ,ghc-aeson)
1055 ("ghc-fast-logger" ,ghc-fast-logger)
1056 ("ghc-wai-logger" ,ghc-wai-logger)
1057 ("ghc-monad-logger" ,ghc-monad-logger)
1058 ("ghc-conduit" ,ghc-conduit)
1059 ("ghc-resourcet" ,ghc-resourcet)
1060 ("ghc-rio" ,ghc-rio)
1061 ("ghc-lifted-base" ,ghc-lifted-base)
1062 ("ghc-blaze-html" ,ghc-blaze-html)
1063 ("ghc-blaze-markup" ,ghc-blaze-markup)
1064 ("ghc-data-default" ,ghc-data-default)
1065 ("ghc-safe" ,ghc-safe)
1066 ("ghc-warp" ,ghc-warp)
1067 ("ghc-unix-compat" ,ghc-unix-compat)
1068 ("ghc-conduit-extra" ,ghc-conduit-extra)
1069 ("ghc-exceptions" ,ghc-exceptions)
1070 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
1071 ("ghc-mwc-random" ,ghc-mwc-random)
1072 ("ghc-primitive" ,ghc-primitive)
1073 ("ghc-word8" ,ghc-word8)
1074 ("ghc-auto-update" ,ghc-auto-update)
1075 ("ghc-semigroups" ,ghc-semigroups)
1076 ("ghc-byteable" ,ghc-byteable)))
1077 (native-inputs `(("ghc-hspec" ,ghc-hspec)
1078 ("ghc-path-pieces" ,ghc-path-pieces)
1079 ("ghc-hunit" ,ghc-hunit)
1080 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
1081 ("ghc-quickcheck" ,ghc-quickcheck)
1082 ("ghc-network" ,ghc-network)
1083 ("ghc-async" ,ghc-async)
1084 ("ghc-streaming-commons" ,ghc-streaming-commons)
1085 ("ghc-wai-extra" ,ghc-wai-extra)))
1086 (home-page "https://www.yesodweb.com")
1087 (synopsis "Core package for the Yesod web framework")
1088 (description "This Haskell package provides all core functionality, for
1089 Yesod, on which other packages can be built. It provides dispatch, handler
1090 functions, widgets, etc.")
1091 (license license:expat)))
1093 (define-public ghc-yesod-persistent
1095 (name "ghc-yesod-persistent")
1100 (uri (string-append "https://hackage.haskell.org/package/"
1101 "yesod-persistent-" version "/"
1102 "yesod-persistent-" version ".tar.gz"))
1105 "17adw0aaj29ia7ii3jka301442860b5wvfrms079q973gzahz5fd"))))
1106 (build-system haskell-build-system)
1107 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not available in PATH.
1108 (inputs `(("ghc-yesod-core" ,ghc-yesod-core)
1109 ("ghc-persistent" ,ghc-persistent)
1110 ("ghc-persistent-template" ,ghc-persistent-template)
1111 ("ghc-blaze-builder" ,ghc-blaze-builder)
1112 ("ghc-conduit" ,ghc-conduit)
1113 ("ghc-resourcet" ,ghc-resourcet)
1114 ("ghc-resource-pool" ,ghc-resource-pool)))
1115 (native-inputs `(("ghc-hspec" ,ghc-hspec)
1116 ("ghc-wai-extra" ,ghc-wai-extra)
1117 ("ghc-yesod-core" ,ghc-yesod-core)
1118 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)))
1119 (home-page "http://www.yesodweb.com/")
1120 (synopsis "Helpers for using Persistent from Yesod")
1121 (description "This Haskell package provides helpers for using Persistent
1123 (license license:expat)))
1125 (define-public ghc-yesod-form
1127 (name "ghc-yesod-form")
1133 "https://hackage.haskell.org/package/yesod-form/yesod-form-"
1138 "0mny71dyp6cp5akyp5wvmrhmip5rkqi8ibdn3lipvmajx9h58r5d"))))
1139 (build-system haskell-build-system)
1141 `(("ghc-yesod-core" ,ghc-yesod-core)
1142 ("ghc-yesod-persistent" ,ghc-yesod-persistent)
1143 ("ghc-shakespeare" ,ghc-shakespeare)
1144 ("ghc-persistent" ,ghc-persistent)
1145 ("ghc-data-default" ,ghc-data-default)
1146 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
1147 ("ghc-blaze-builder" ,ghc-blaze-builder)
1148 ("ghc-email-validate" ,ghc-email-validate)
1149 ("ghc-wai" ,ghc-wai)
1150 ("ghc-blaze-html" ,ghc-blaze-html)
1151 ("ghc-blaze-markup" ,ghc-blaze-markup)
1152 ("ghc-attoparsec" ,ghc-attoparsec)
1153 ("ghc-byteable" ,ghc-byteable)
1154 ("ghc-aeson" ,ghc-aeson)
1155 ("ghc-resourcet" ,ghc-resourcet)
1156 ("ghc-semigroups" ,ghc-semigroups)
1157 ("ghc-network-uri" ,ghc-network-uri)
1158 ("ghc-hspec" ,ghc-hspec)))
1159 (home-page "https://www.yesodweb.com")
1160 (synopsis "Form handling support for Yesod Web Framework")
1161 (description "This Haskell package provies a set of basic form inputs such
1162 as text, number, time, checkbox, select, textarea, etc through the
1163 @code{Yesod.Form.Fields} module. Also, there is @code{Yesod.Form.Nic} module
1164 providing richtext field using Nic editor. ")
1165 (license license:expat)))
1167 (define-public ghc-yesod
1175 "https://hackage.haskell.org/package/yesod/yesod-"
1179 "0wx77nbpzdh40p1bm527kimfj48vs9d2avpvvz2w42zi3pz2y94a"))))
1180 (build-system haskell-build-system)
1182 `(("ghc-yesod-core" ,ghc-yesod-core)
1183 ("ghc-yesod-persistent" ,ghc-yesod-persistent)
1184 ("ghc-yesod-form" ,ghc-yesod-form)
1185 ("ghc-monad-control" ,ghc-monad-control)
1186 ("ghc-wai" ,ghc-wai)
1187 ("ghc-wai-extra" ,ghc-wai-extra)
1188 ("ghc-warp" ,ghc-warp)
1189 ("ghc-blaze-html" ,ghc-blaze-html)
1190 ("ghc-blaze-markup" ,ghc-blaze-markup)
1191 ("ghc-aeson" ,ghc-aeson)
1192 ("ghc-data-default-class" ,ghc-data-default-class)
1193 ("ghc-unordered-containers" ,ghc-unordered-containers)
1194 ("ghc-yaml" ,ghc-yaml)
1195 ("ghc-monad-logger" ,ghc-monad-logger)
1196 ("ghc-fast-logger" ,ghc-fast-logger)
1197 ("ghc-conduit" ,ghc-conduit)
1198 ("ghc-conduit-extra" ,ghc-conduit-extra)
1199 ("ghc-resourcet" ,ghc-resourcet)
1200 ("ghc-shakespeare" ,ghc-shakespeare)
1201 ("ghc-streaming-commons" ,ghc-streaming-commons)
1202 ("ghc-wai-logger" ,ghc-wai-logger)
1203 ("ghc-semigroups" ,ghc-semigroups)))
1204 (home-page "https://www.yesodweb.com")
1205 (synopsis "Framework for creating type-safe, RESTful web applications")
1206 (description "The Haskell package package groups together the various
1207 Yesod related packages into one cohesive whole. This is the version of Yesod,
1208 whereas most of the core code lives in @code{ghc-yesod-core}.")
1209 (license license:expat)))
1211 (define-public ghc-hxt-charproperties
1213 (name "ghc-hxt-charproperties")
1218 (uri (string-append "https://hackage.haskell.org/package/"
1219 "hxt-charproperties/hxt-charproperties-"
1223 "1bk88hj2pqlvcnyfncqyb9j7w9vvdxcq3cgr0w2l09c0abas23pm"))))
1224 (build-system haskell-build-system)
1225 (home-page "https://github.com/UweSchmidt/hxt")
1226 (synopsis "Character properties and classes for XML and Unicode")
1228 "The modules provided by this package contain predicates for Unicode
1229 blocks and char properties and character predicates defined by XML. The
1230 supported Unicode version is 7.0.0")
1231 (license license:expat)))
1233 (define-public ghc-hxt-unicode
1235 (name "ghc-hxt-unicode")
1241 "https://hackage.haskell.org/package/hxt-unicode/hxt-unicode-"
1246 "0rj48cy8z4fl3zpg5bpa458kqr83adav6jnqv4i71dclpprj6n3v"))))
1247 (build-system haskell-build-system)
1249 `(("ghc-hxt-charproperties" ,ghc-hxt-charproperties)))
1251 "http://www.fh-wedel.de/~si/HXmlToolbox/index.html https://github.com/UweSchmidt/hxt")
1253 "Unicode en-/decoding functions for utf8, iso-latin-* and other encodings")
1255 "This package provides Unicode encoding and decoding functions for
1256 encodings used in the Haskell XML Toolbox. ISO Latin 1-16, utf8, utf16, ASCII
1257 are supported. Decoding is done with lazy functions, errors may be detected or
1259 (license license:expat)))
1261 (define-public ghc-hxt-regex-xmlschema
1263 (name "ghc-hxt-regex-xmlschema")
1268 (uri (string-append "https://hackage.haskell.org/package/"
1269 "hxt-regex-xmlschema/hxt-regex-xmlschema-"
1273 "1c4jr0439f5yc05h7iz53fa47g6l2wrvqp6gvwf01mlqajk3nx7l"))))
1274 (build-system haskell-build-system)
1276 `(("ghc-hxt-charproperties" ,ghc-hxt-charproperties)
1277 ("ghc-hunit" ,ghc-hunit)))
1278 (home-page "http://www.haskell.org/haskellwiki/Regular_expressions_for_XML_Schema")
1279 (synopsis "Regular expression library for W3C XML Schema regular expressions")
1281 "This library supports full W3C XML Schema regular expressions inclusive
1282 all Unicode character sets and blocks. It is implemented by the technique of
1283 derivations of regular expressions.")
1284 (license license:expat)))
1286 (define-public ghc-hxt
1289 (version "9.3.1.18")
1294 "https://hackage.haskell.org/package/hxt/hxt-"
1299 "0836k65px3w9c5h1h2bmzq5a7mp6ajxwvfg3pfr2kbxwkgc0j63j"))))
1300 (build-system haskell-build-system)
1302 `(("ghc-hxt-charproperties" ,ghc-hxt-charproperties)
1303 ("ghc-hxt-unicode" ,ghc-hxt-unicode)
1304 ("ghc-hxt-regex-xmlschema" ,ghc-hxt-regex-xmlschema)
1305 ("ghc-network-uri" ,ghc-network-uri)))
1306 (home-page "https://github.com/UweSchmidt/hxt")
1307 (synopsis "Collection of tools for processing XML with Haskell")
1309 "The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but
1310 introduces a more general approach for processing XML with Haskell.")
1311 (license license:expat)))
1313 (define-public ghc-http-common
1315 (name "ghc-http-common")
1320 (uri (string-append "https://hackage.haskell.org/package/"
1321 "http-common/http-common-" version ".tar.gz"))
1324 "14s5a178sb2vm5k00rs21760mds5dz2gs10k9iyn22h01mxyf599"))))
1325 (build-system haskell-build-system)
1327 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
1328 ("ghc-blaze-builder" ,ghc-blaze-builder)
1329 ("ghc-case-insensitive" ,ghc-case-insensitive)
1330 ("ghc-network" ,ghc-network)
1331 ("ghc-unordered-containers" ,ghc-unordered-containers)))
1332 (home-page "https://github.com/afcowie/http-streams/")
1333 (synopsis "Common types for HTTP clients and servers")
1334 (description "Base types used by a variety of HTTP clients and
1335 servers. See http-streams @code{Network.Http.Client} or pipes-http
1336 @code{Pipes.Http.Client} for full documentation. You can import
1337 @code{Network.Http.Types} if you like, but both http-streams and
1338 pipes-http re-export this package's types and functions.")
1339 (license license:bsd-3)))
1341 (define-public ghc-http-streams
1343 (name "ghc-http-streams")
1348 (uri (string-append "https://hackage.haskell.org/package/"
1349 "http-streams/http-streams-" version ".tar.gz"))
1352 "18vxd35n7s3z4gjvad94bknc8z1w9d7ccgphnhsxlz5cackizmxq"))))
1353 (build-system haskell-build-system)
1355 `(("ghc-attoparsec" ,ghc-attoparsec)
1356 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
1357 ("ghc-blaze-builder" ,ghc-blaze-builder)
1358 ("ghc-case-insensitive" ,ghc-case-insensitive)
1359 ("ghc-io-streams" ,ghc-io-streams)
1360 ("ghc-hsopenssl" ,ghc-hsopenssl)
1361 ("ghc-openssl-streams" ,ghc-openssl-streams)
1362 ("ghc-unordered-containers" ,ghc-unordered-containers)
1363 ("ghc-aeson" ,ghc-aeson)
1364 ("ghc-http-common" ,ghc-http-common)
1365 ("ghc-network-uri" ,ghc-network-uri)
1366 ("ghc-network" ,ghc-network)))
1368 `(#:tests? #f)) ; tests rely on an outdated version of snap-server
1369 (home-page "https://github.com/afcowie/http-streams/")
1370 (synopsis "HTTP client using io-streams")
1371 (description "An HTTP client using the Snap Framework's io-streams
1372 library to handle the streaming IO. The API is optimized for ease of
1373 use for the rather common case of code needing to query web services and
1374 deal with the result.")
1375 (license license:bsd-3)))
1377 (define-public ghc-snap-core
1379 (name "ghc-snap-core")
1384 (uri (string-append "https://hackage.haskell.org/package/"
1385 "snap-core/snap-core-" version ".tar.gz"))
1388 "0dklxgrbqhnb6bc4ic358g4fyj11ywmjrkxxhqcjmci2hhpn00mr"))))
1389 (build-system haskell-build-system)
1391 `(("ghc-old-locale" ,ghc-old-locale)
1392 ("ghc-hunit" ,ghc-hunit)
1393 ("ghc-attoparsec" ,ghc-attoparsec)
1394 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
1395 ("ghc-case-insensitive" ,ghc-case-insensitive)
1396 ("ghc-lifted-base" ,ghc-lifted-base)
1397 ("ghc-io-streams" ,ghc-io-streams)
1398 ("ghc-hashable" ,ghc-hashable)
1399 ("ghc-monad-control" ,ghc-monad-control)
1400 ("ghc-random" ,ghc-random)
1401 ("ghc-readable" ,ghc-readable)
1402 ("ghc-regex-posix" ,ghc-regex-posix)
1403 ("ghc-transformers-base" ,ghc-transformers-base)
1404 ("ghc-unix-compat" ,ghc-unix-compat)
1405 ("ghc-unordered-containers" ,ghc-unordered-containers)
1406 ("ghc-vector" ,ghc-vector)
1407 ("ghc-network-uri" ,ghc-network-uri)
1408 ("ghc-network" ,ghc-network)))
1410 `(("ghc-quickcheck" ,ghc-quickcheck)
1411 ("ghc-parallel" ,ghc-parallel)
1412 ("ghc-test-framework" ,ghc-test-framework)
1413 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1414 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
1415 ("ghc-zlib" ,ghc-zlib)))
1416 (home-page "http://snapframework.com/")
1417 (synopsis "Haskell Web Framework (core interfaces and types)")
1418 (description "Snap is a simple and fast web development framework
1419 and server written in Haskell. For more information, you can visit the
1420 Snap project website at @uref{http://snapframework.com/}. This library
1421 contains the core definitions and types for the Snap framework.")
1422 (license license:bsd-3)))
1424 (define-public ghc-snap-server
1426 (name "ghc-snap-server")
1431 (uri (string-append "https://hackage.haskell.org/package/"
1432 "snap-server/snap-server-" version ".tar.gz"))
1435 "0lw475wp0lnrbgc3jcfif3qjjc3pmrh2k74d8cgpnc1304g6a2s5"))))
1436 (build-system haskell-build-system)
1438 `(("ghc-attoparsec" ,ghc-attoparsec)
1439 ("ghc-blaze-builder" ,ghc-blaze-builder)
1440 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
1441 ("ghc-case-insensitive" ,ghc-case-insensitive)
1442 ("ghc-clock" ,ghc-clock)
1443 ("ghc-io-streams" ,ghc-io-streams)
1444 ("ghc-io-streams-haproxy" ,ghc-io-streams-haproxy)
1445 ("ghc-lifted-base" ,ghc-lifted-base)
1446 ("ghc-network" ,ghc-network)
1447 ("ghc-old-locale" ,ghc-old-locale)
1448 ("ghc-snap-core" ,ghc-snap-core)
1449 ("ghc-unix-compat" ,ghc-unix-compat)
1450 ("ghc-vector" ,ghc-vector)))
1452 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
1453 ("ghc-monad-control" ,ghc-monad-control)
1454 ("ghc-random" ,ghc-random)
1455 ("ghc-threads" ,ghc-threads)
1456 ("ghc-hunit" ,ghc-hunit)
1457 ("ghc-quickcheck" ,ghc-quickcheck)
1458 ("ghc-http-streams" ,ghc-http-streams)
1459 ("ghc-http-common" ,ghc-http-common)
1460 ("ghc-parallel" ,ghc-parallel)
1461 ("ghc-test-framework" ,ghc-test-framework)
1462 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1463 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1466 ("1" "094b7ll47lxd4lvr6kd59jyw0vz686gw5cx16w758d6fli0cy3x3")))
1467 (home-page "http://snapframework.com/")
1468 (synopsis "Web server for the Snap Framework")
1469 (description "Snap is a simple and fast web development framework
1470 and server written in Haskell. For more information, you can visit the
1471 Snap project website at @uref{http://snapframework.com/}. The Snap HTTP
1472 server is a high performance web server library written in Haskell.
1473 Together with the snap-core library upon which it depends, it provides a
1474 clean and efficient Haskell programming interface to the HTTP
1476 (license license:bsd-3)))
1478 (define-public ghc-js-jquery
1480 (name "ghc-js-jquery")
1487 "https://hackage.haskell.org/package/js-jquery/js-jquery-"
1491 "16q68jzbs7kp07dnq8cprdcc8fd41rim38039vg0w4x11lgniq70"))))
1492 (build-system haskell-build-system)
1493 (arguments `(#:tests? #f)) ; tests do network IO
1494 (home-page "https://github.com/ndmitchell/js-jquery")
1495 (synopsis "Obtain minified jQuery code")
1496 (description "This package bundles the minified
1497 @url{http://jquery.com/, jQuery} code into a Haskell package, so it can
1498 be depended upon by Cabal packages. The first three components of the
1499 version number match the upstream jQuery version. The package is
1500 designed to meet the redistribution requirements of downstream
1501 users (e.g. Debian).")
1502 (license license:expat)))
1504 (define-public ghc-js-flot
1506 (name "ghc-js-flot")
1513 "https://hackage.haskell.org/package/js-flot/js-flot-"
1517 "0yjyzqh3qzhy5h3nql1fckw0gcfb0f4wj9pm85nafpfqp2kg58hv"))))
1518 (build-system haskell-build-system)
1520 `(("ghc-http" ,ghc-http)))
1521 (home-page "https://github.com/ndmitchell/js-flot")
1522 (synopsis "Obtain minified flot code")
1523 (description "This package bundles the minified
1524 @url{http://www.flotcharts.org/, Flot} code (a jQuery plotting library)
1525 into a Haskell package, so it can be depended upon by Cabal packages.
1526 The first three components of the version number match the upstream flot
1527 version. The package is designed to meet the redistribution
1528 requirements of downstream users (e.g. Debian).")
1529 (license license:expat)))