1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch>
3 ;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
4 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
5 ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
7 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
8 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
9 ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
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)
27 #:use-module (ice-9 regex)
28 #:use-module ((guix licenses) #:prefix license:)
29 #:use-module (guix packages)
30 #:use-module (guix download)
31 #:use-module (guix utils)
32 #:use-module (guix build-system gnu)
33 #:use-module (guix build-system haskell)
34 #:use-module (gnu packages pkg-config)
35 #:use-module (gnu packages perl)
36 #:use-module (gnu packages compression)
37 #:use-module (gnu packages elf)
38 #:use-module (gnu packages gl)
39 #:use-module (gnu packages sdl)
40 #:use-module (gnu packages bootstrap)
41 #:use-module (gnu packages zip)
42 #:use-module (gnu packages gcc)
43 #:use-module (gnu packages ghostscript)
44 #:use-module (gnu packages libffi)
45 #:use-module (gnu packages libedit)
46 #:use-module (gnu packages lua)
47 #:use-module (gnu packages maths)
48 #:use-module (gnu packages multiprecision)
49 #:use-module (gnu packages ncurses)
50 #:use-module (gnu packages python)
51 #:use-module (gnu packages pcre)
52 #:use-module (gnu packages xml)
53 #:use-module (gnu packages xorg))
55 (define ghc-bootstrap-x86_64-7.8.4
59 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.xz")
62 "13azsl53xgj20mi1hj9x0xb32vvcvs6cpmvwx6znxhas7blh0bpn"))))
64 (define ghc-bootstrap-i686-7.8.4
68 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.xz")
71 "0wj5s435j0zgww70bj1d3f6wvnnpzlxwvwcyh2qv4qjq5z8j64kg"))))
73 ;; 43 tests out of 3965 fail.
75 ;; Most of them do not appear to be serious:
77 ;; - some tests generate files referring to "/bin/sh" and "/bin/ls". I've not
78 ;; figured out how these references are generated.
80 ;; - Some tests allocate more memory than expected (ca. 3% above upper limit)
82 ;; - Some tests try to load unavailable libriries: Control.Concurrent.STM,
83 ;; Data.Vector, Control.Monad.State.
85 ;; - Test posix010 tries to check the existence of a user on the system:
86 ;; getUserEntryForName: does not exist (no such user)
94 (uri (string-append "https://www.haskell.org/ghc/dist/"
95 version "/" name "-" version "-src.tar.xz"))
98 "1x8m4rp2v7ydnrz6z9g8x7z3x3d3pxhv2pixy7i7hkbqbdsp7kal"))))
99 (build-system gnu-build-system)
100 (supported-systems '("i686-linux" "x86_64-linux"))
101 (outputs '("out" "doc"))
111 "https://www.haskell.org/ghc/dist/"
112 version "/" name "-" version "-testsuite.tar.xz"))
115 "0qp9da9ar87zbyn6wjgacd2ic1vgzbi3cklxnhsmjqyafv9qaj4b"))))))
118 ("python" ,python-2) ; for tests (fails with python-3)
119 ("ghostscript" ,ghostscript) ; for tests
120 ("patchelf" ,patchelf)
121 ;; GHC is built with GHC. Therefore we need bootstrap binaries.
123 ,(if (string-match "x86_64" (or (%current-target-system) (%current-system)))
124 ghc-bootstrap-x86_64-7.8.4
125 ghc-bootstrap-i686-7.8.4))))
127 `(#:test-target "test"
128 ;; We get a smaller number of test failures by disabling parallel test
132 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
133 ;; gremlin) doesn't support it yet, so skip this phase.
134 #:validate-runpath? #f
136 ;; Don't pass --build=<triplet>, because the configure script
137 ;; auto-detects slightly different triplets for --host and --target and
138 ;; then complains that they don't match.
141 #:modules ((guix build gnu-build-system)
146 #:imported-modules (,@%gnu-build-system-modules
150 (string-append "--with-gmp-libraries="
151 (assoc-ref %build-inputs "gmp") "/lib")
152 (string-append "--with-gmp-includes="
153 (assoc-ref %build-inputs "gmp") "/include")
154 "--with-system-libffi"
155 (string-append "--with-ffi-libraries="
156 (assoc-ref %build-inputs "libffi") "/lib")
157 (string-append "--with-ffi-includes="
158 (assoc-ref %build-inputs "libffi") "/include"))
159 ;; FIXME: The user-guide needs dblatex, docbook-xsl and docbook-utils.
160 ;; Currently we do not have the last one.
162 ;; (list "BUILD_DOCBOOK_HTML = YES")
164 (let* ((ghc-bootstrap-path
165 (string-append (getcwd) "/" ,name "-" ,version "/ghc-bin"))
166 (ghc-bootstrap-prefix
167 (string-append ghc-bootstrap-path "/usr" )))
169 'unpack-bin 'unpack-testsuite-and-fix-bins
170 (lambda* (#:key inputs outputs #:allow-other-keys)
171 (with-directory-excursion ".."
172 (copy-file (assoc-ref inputs "ghc-testsuite")
173 "ghc-testsuite.tar.xz")
174 (system* "tar" "xvf" "ghc-testsuite.tar.xz"))
176 (list "testsuite/timeout/Makefile"
177 "testsuite/timeout/timeout.py"
178 "testsuite/timeout/timeout.hs"
179 "testsuite/tests/rename/prog006/Setup.lhs"
180 "testsuite/tests/programs/life_space_leak/life.test"
181 "libraries/process/System/Process/Internals.hs"
182 "libraries/unix/cbits/execvpe.c")
183 (("/bin/sh") (which "sh"))
188 (lambda* (#:key inputs outputs #:allow-other-keys)
189 (mkdir-p ghc-bootstrap-prefix)
190 (with-directory-excursion ghc-bootstrap-path
191 (copy-file (assoc-ref inputs "ghc-binary")
193 (zero? (system* "tar" "xvf" "ghc-bin.tar.xz"))))
195 'install-bin 'configure-bin
196 (lambda* (#:key inputs outputs #:allow-other-keys)
199 "./utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"
200 "./utils/hpc/dist-install/build/tmp/hpc"
201 "./utils/haddock/dist/build/tmp/haddock"
202 "./utils/hsc2hs/dist-install/build/tmp/hsc2hs"
203 "./utils/runghc/dist-install/build/tmp/runghc"
204 "./utils/ghc-cabal/dist-install/build/tmp/ghc-cabal"
205 "./utils/hp2ps/dist/build/tmp/hp2ps"
206 "./utils/ghc-pkg/dist-install/build/tmp/ghc-pkg"
207 "./utils/unlit/dist/build/tmp/unlit"
208 "./ghc/stage2/build/tmp/ghc-stage2"))
209 (gmp (assoc-ref inputs "gmp"))
210 (gmp-lib (string-append gmp "/lib"))
211 (gmp-include (string-append gmp "/include"))
213 (string-append (assoc-ref inputs "ncurses") "/lib"))
214 (ld-so (string-append (assoc-ref inputs "libc")
215 ,(glibc-dynamic-linker)))
217 (string-append ghc-bootstrap-prefix
218 "/lib/ghc-7.8.4/terminfo-0.4.0.0")))
219 (with-directory-excursion
220 (string-append ghc-bootstrap-path "/ghc-7.8.4")
221 (setenv "CONFIG_SHELL" (which "bash"))
222 (setenv "LD_LIBRARY_PATH" gmp-lib)
223 ;; The binaries have "/lib64/ld-linux-x86-64.so.2" hardcoded.
225 (cut system* "patchelf" "--set-interpreter" ld-so <>)
227 ;; The binaries include a reference to libtinfo.so.5 which
228 ;; is a subset of libncurses.so.5. We create a symlink in a
229 ;; directory included in the bootstrap binaries rpath.
230 (mkdir-p libtinfo-dir)
232 (string-append ncurses-lib "/libncursesw.so."
233 ,(version-major+minor
234 (package-version ncurses)))
235 (string-append libtinfo-dir "/libtinfo.so.5"))
237 (string-append (getenv "PATH") ":"
238 ghc-bootstrap-prefix "/bin"))
240 (string-append (getcwd) "/configure")
241 (string-append "--prefix=" ghc-bootstrap-prefix)
242 (string-append "--with-gmp-libraries=" gmp-lib)
243 (string-append "--with-gmp-includes=" gmp-include)))))
245 'configure 'install-bin
246 (lambda* (#:key inputs outputs #:allow-other-keys)
247 (with-directory-excursion
248 (string-append ghc-bootstrap-path "/ghc-7.8.4")
249 (zero? (system* "make" "install"))))
250 %standard-phases)))))))
251 (native-search-paths (list (search-path-specification
252 (variable "GHC_PACKAGE_PATH")
254 (string-append "lib/ghc-" version)))
255 (file-pattern ".*\\.conf\\.d$")
256 (file-type 'directory))))
257 (home-page "https://www.haskell.org/ghc")
258 (synopsis "The Glasgow Haskell Compiler")
260 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
261 interactive environment for the functional language Haskell.")
262 (license license:bsd-3)))
271 (uri (string-append "https://www.haskell.org/ghc/dist/"
272 version "/" name "-" version "-src.tar.xz"))
274 (base32 "1lniqy29djhjkddnailpaqhlqh4ld2mqvb1fxgxw1qqjhz6j1ywh"))))
275 (build-system gnu-build-system)
276 (supported-systems '("i686-linux" "x86_64-linux"))
277 (outputs '("out" "doc"))
287 "https://www.haskell.org/ghc/dist/"
288 version "/" name "-" version "-testsuite.tar.xz"))
290 (base32 "0lc1vjivkxn01aw3jg2gd7fmqb5pj7a5j987c7pn5r7caqv1cmxw"))))))
293 ("python" ,python-2) ; for tests
294 ("ghostscript" ,ghostscript) ; for tests
295 ;; GHC is built with GHC.
296 ("ghc-bootstrap" ,ghc)))
298 `(#:test-target "test"
299 ;; We get a smaller number of test failures by disabling parallel test
303 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
304 ;; gremlin) doesn't support it yet, so skip this phase.
305 #:validate-runpath? #f
307 ;; Don't pass --build=<triplet>, because the configure script
308 ;; auto-detects slightly different triplets for --host and --target and
309 ;; then complains that they don't match.
312 #:modules ((guix build gnu-build-system)
317 #:imported-modules (,@%gnu-build-system-modules
321 (string-append "--with-gmp-libraries="
322 (assoc-ref %build-inputs "gmp") "/lib")
323 (string-append "--with-gmp-includes="
324 (assoc-ref %build-inputs "gmp") "/include")
325 "--with-system-libffi"
326 (string-append "--with-ffi-libraries="
327 (assoc-ref %build-inputs "libffi") "/lib")
328 (string-append "--with-ffi-includes="
329 (assoc-ref %build-inputs "libffi") "/include")
330 (string-append "--with-curses-libraries="
331 (assoc-ref %build-inputs "ncurses") "/lib")
332 (string-append "--with-curses-includes="
333 (assoc-ref %build-inputs "ncurses") "/include"))
335 (modify-phases %standard-phases
336 (add-after 'unpack 'unpack-testsuite
337 (lambda* (#:key inputs #:allow-other-keys)
338 (with-directory-excursion ".."
339 (copy-file (assoc-ref inputs "ghc-testsuite")
340 "ghc-testsuite.tar.xz")
341 (zero? (system* "tar" "xvf" "ghc-testsuite.tar.xz")))))
342 (add-before 'build 'fix-lib-paths
345 (list "libraries/process/System/Process/Posix.hs"
346 "libraries/process/tests/process001.hs"
347 "libraries/process/tests/process002.hs"
348 "libraries/unix/cbits/execvpe.c")
349 (("/bin/sh") (which "sh"))
350 (("/bin/ls") (which "ls")))
352 (add-before 'build 'fix-environment
354 (unsetenv "GHC_PACKAGE_PATH")
355 (setenv "CONFIG_SHELL" (which "bash"))
357 (add-before 'check 'fix-testsuite
360 (list "testsuite/timeout/Makefile"
361 "testsuite/timeout/timeout.py"
362 "testsuite/timeout/timeout.hs"
363 "testsuite/tests/programs/life_space_leak/life.test")
364 (("/bin/sh") (which "sh"))
367 ;; the testsuite can't find shared libraries.
368 (add-before 'check 'configure-testsuite
369 (lambda* (#:key inputs #:allow-other-keys)
370 (let* ((gmp (assoc-ref inputs "gmp"))
371 (gmp-lib (string-append gmp "/lib"))
372 (ffi (assoc-ref inputs "libffi"))
373 (ffi-lib (string-append ffi "/lib"))
374 (ncurses (assoc-ref inputs "ncurses"))
375 (ncurses-lib (string-append ncurses "/lib")))
376 (setenv "LD_LIBRARY_PATH"
377 (string-append gmp-lib ":" ffi-lib ":" ncurses-lib))
379 (native-search-paths (list (search-path-specification
380 (variable "GHC_PACKAGE_PATH")
382 (string-append "lib/ghc-" version)))
383 (file-pattern ".*\\.conf\\.d$")
384 (file-type 'directory))))
385 (home-page "https://www.haskell.org/ghc")
386 (synopsis "The Glasgow Haskell Compiler")
388 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
389 interactive environment for the functional language Haskell.")
390 (license license:bsd-3)))
392 (define-public ghc-hostname
394 (name "ghc-hostname")
399 (uri (string-append "https://hackage.haskell.org/package/hostname/"
400 "hostname-" version ".tar.gz"))
403 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
404 (build-system haskell-build-system)
405 (home-page "https://hackage.haskell.org/package/hostname")
406 (synopsis "Hostname in Haskell")
407 (description "Network.HostName is a simple package providing a means to
408 determine the hostname.")
409 (license license:bsd-3)))
411 (define-public ghc-libxml
418 (uri (string-append "http://hackage.haskell.org/package/libxml/"
419 "libxml-" version ".tar.gz"))
422 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
423 (build-system haskell-build-system)
425 `(("ghc-mtl" ,ghc-mtl)
426 ("libxml2" ,libxml2)))
429 `(,(string-append "--extra-include-dirs="
430 (assoc-ref %build-inputs "libxml2")
431 "/include/libxml2"))))
432 (home-page "http://hackage.haskell.org/package/libxml")
433 (synopsis "Haskell bindings to libxml2")
435 "This library provides minimal Haskell binding to libxml2.")
436 (license license:bsd-3)))
438 (define-public ghc-prelude-extras
440 (name "ghc-prelude-extras")
446 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
451 "1q7mj9hysy747vimnlyrwsk1wb2axymxixa76fwcbcnmz3fi4llp"))))
452 (build-system haskell-build-system)
453 (home-page "https://github.com/ekmett/prelude-extras")
454 (synopsis "Higher order versions of Prelude classes")
455 (description "This library provides higher order versions of
456 @code{Prelude} classes to ease programming with polymorphic recursion and
457 reduce @code{UndecidableInstances}.")
458 (license license:bsd-3)))
460 (define-public ghc-data-default
462 (name "ghc-data-default")
468 "https://hackage.haskell.org/package/data-default/data-default-"
472 (base32 "0d1hm0l9kim3kszshr4msmgzizrzha48gz2kb7b61p7n3gs70m7c"))))
473 (build-system haskell-build-system)
475 `(("ghc-data-default-class"
476 ,ghc-data-default-class)
477 ("ghc-data-default-instances-base"
478 ,ghc-data-default-instances-base)
479 ("ghc-data-default-instances-containers"
480 ,ghc-data-default-instances-containers)
481 ("ghc-data-default-instances-dlist"
482 ,ghc-data-default-instances-dlist)
483 ("ghc-data-default-instances-old-locale"
484 ,ghc-data-default-instances-old-locale)))
485 (home-page "https://hackage.haskell.org/package/data-default")
486 (synopsis "Types with default values")
488 "This package defines a class for types with a default value, and
489 provides instances for types from the base, containers, dlist and old-locale
491 (license license:bsd-3)))
493 (define-public ghc-data-default-class
495 (name "ghc-data-default-class")
501 "https://hackage.haskell.org/package/data-default-class/"
502 "data-default-class-" version ".tar.gz"))
504 (base32 "0ccgr3jllinchqhw3lsn73ic6axk4196if5274rr1rghls0fxj5d"))))
505 (build-system haskell-build-system)
506 (home-page "https://hackage.haskell.org/package/data-default-class")
507 (synopsis "Types with default values")
509 "This package defines a class for types with default values.")
510 (license license:bsd-3)))
512 (define-public ghc-data-default-instances-base
514 (name "ghc-data-default-instances-base")
520 "https://hackage.haskell.org/package/"
521 "data-default-instances-base/"
522 "data-default-instances-base-" version ".tar.gz"))
524 (base32 "1832nq6by91f1iw73ycvkbgn8kpra83pvf2q61hy47xffh0zy4pb"))))
525 (build-system haskell-build-system)
527 `(("ghc-data-default-class" ,ghc-data-default-class)))
528 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
529 (synopsis "Default instances for types in base")
531 "This package provides default instances for types from the base
533 (license license:bsd-3)))
535 (define-public ghc-data-default-instances-containers
537 (name "ghc-data-default-instances-containers")
543 "https://hackage.haskell.org/package/"
544 "data-default-instances-containers/"
545 "data-default-instances-containers-" version ".tar.gz"))
547 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
548 (build-system haskell-build-system)
550 `(("ghc-data-default-class" ,ghc-data-default-class)))
551 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
552 (synopsis "Default instances for types in containers")
553 (description "Provides default instances for types from the containers
555 (license license:bsd-3)))
557 (define-public ghc-data-default-instances-dlist
559 (name "ghc-data-default-instances-dlist")
565 "https://hackage.haskell.org/package/"
566 "data-default-instances-dlist/"
567 "data-default-instances-dlist-" version ".tar.gz"))
569 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
570 (build-system haskell-build-system)
572 `(("ghc-data-default-class" ,ghc-data-default-class)
573 ("ghc-dlist" ,ghc-dlist)))
574 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
575 (synopsis "Default instances for types in dlist")
576 (description "Provides default instances for types from the dlist
578 (license license:bsd-3)))
580 (define-public ghc-haddock-library
582 (name "ghc-haddock-library")
588 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
593 "0mhh2ppfhrvvi9485ipwbkv2fbgj35jvz3la02y3jlvg5ffs1c8g"))))
594 (build-system haskell-build-system)
596 `(("ghc-base-compat" ,ghc-base-compat)
597 ("ghc-hspec" ,ghc-hspec)
598 ("ghc-quickcheck" ,ghc-quickcheck)))
600 `(("hspec-discover" ,hspec-discover)))
601 (home-page "http://www.haskell.org/haddock/")
603 "Library exposing some functionality of Haddock")
605 "Haddock is a documentation-generation tool for Haskell libraries. These
606 modules expose some functionality of it without pulling in the GHC dependency.
607 Please note that the API is likely to change so specify upper bounds in your
608 project if you can't release often. For interacting with Haddock itself, see
609 the ‘haddock’ package.")
610 (license license:bsd-3)))
612 (define-public ghc-haddock-api
614 (name "ghc-haddock-api")
620 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
625 "1spd5axg1pdjv4dkdb5gcwjsc8gg37qi4mr2k2db6ayywdkis1p2"))))
626 (build-system haskell-build-system)
628 `(("ghc-paths" ,ghc-paths)
629 ("ghc-haddock-library" ,ghc-haddock-library)))
630 (home-page "http://www.haskell.org/haddock/")
631 (synopsis "API for documentation-generation tool Haddock")
632 (description "This package provides an API to Haddock, the
633 documentation-generation tool for Haskell libraries.")
634 (license license:bsd-3)))
636 (define-public ghc-haddock
644 "https://hackage.haskell.org/package/haddock/haddock-"
649 "1mnnvc5jqp6n6rj7xw8wdm0z2xp9fndkz11c8p3vbljsrcqd3v26"))))
650 (build-system haskell-build-system)
651 (arguments `(#:tests? #f)) ; FIXME: Tests break with GHC 7.10.2, fixed
653 ; <https://github.com/haskell/haddock/issues/427>
654 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
655 (home-page "http://www.haskell.org/haddock/")
657 "Documentation-generation tool for Haskell libraries")
659 "Haddock is a documentation-generation tool for Haskell libraries.")
660 (license license:bsd-3)))
662 (define-public ghc-simple-reflect
664 (name "ghc-simple-reflect")
670 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
675 "1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq"))))
676 (build-system haskell-build-system)
678 "http://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
680 "Simple reflection of expressions containing variables")
682 "This package allows simple reflection of expressions containing
683 variables. Reflection here means that a Haskell expression is turned into a
684 string. The primary aim of this package is teaching and understanding; there
685 are no options for manipulating the reflected expressions beyond showing
687 (license license:bsd-3)))
689 (define-public ghc-multipart
691 (name "ghc-multipart")
697 "https://hackage.haskell.org/package/multipart/multipart-"
702 "0g04jhyw1ib1s7c9bcldyyn4n90qd9x7dmvic4vgq57bgcqgnhz5"))))
703 (build-system haskell-build-system)
704 (inputs `(("ghc-parsec" ,ghc-parsec)))
706 "http://www.github.com/silkapp/multipart")
708 "HTTP multipart library")
710 "HTTP multipart split out of the cgi package, for Haskell.")
711 (license license:bsd-3)))
713 (define-public ghc-html
721 "https://hackage.haskell.org/package/html/html-"
726 "0q9hmfii62kc82ijlg238fxrzxhsivn42x5wd6ffcr9xldg4jd8c"))))
727 (build-system haskell-build-system)
729 "https://hackage.haskell.org/package/html")
730 (synopsis "HTML combinator library")
732 "This package contains a combinator library for constructing HTML
734 (license license:bsd-3)))
736 (define-public ghc-xhtml
744 "https://hackage.haskell.org/package/xhtml/xhtml-"
749 "1n6wgzxbj8xf0wf1il827qidphnffb5vzhwzqlxhh70c2y10f0ik"))))
750 (build-system haskell-build-system)
751 (home-page "https://github.com/haskell/xhtml")
752 (synopsis "XHTML combinator library")
754 "This package provides combinators for producing XHTML 1.0, including the
755 Strict, Transitional and Frameset variants.")
756 (license license:bsd-3)))
758 (define-public ghc-haskell-src
760 (name "ghc-haskell-src")
766 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
771 "19lilhpwnjb7cks9fq1ipnc8f7dwxy0ri3dgjkdxs3i355byw99a"))))
772 (build-system haskell-build-system)
774 `(("ghc-happy" ,ghc-happy)
775 ("ghc-syb" ,ghc-syb)))
777 "https://hackage.haskell.org/package/haskell-src")
779 "Support for manipulating Haskell source code")
781 "The 'haskell-src' package provides support for manipulating Haskell
782 source code. The package provides a lexer, parser and pretty-printer, and a
783 definition of a Haskell abstract syntax tree (AST). Common uses of this
784 package are to parse or generate Haskell 98 code.")
785 (license license:bsd-3)))
787 (define-public ghc-alex
795 "https://hackage.haskell.org/package/alex/alex-"
800 "17x13nbbr79xgdlzywjqw19vcl6iygjnssjnxnajgijkv764wknn"))))
801 (build-system haskell-build-system)
802 (arguments `(#:tests? #f)) ; FIXME: Tests broken for GHC 7.10. Fixed
804 ; <https://github.com/simonmar/alex/issues/62>
805 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
806 (home-page "http://www.haskell.org/alex/")
808 "Tool for generating lexical analysers in Haskell")
810 "Alex is a tool for generating lexical analysers in Haskell. It takes a
811 description of tokens based on regular expressions and generates a Haskell
812 module containing code for scanning text efficiently. It is similar to the
813 tool lex or flex for C/C++.")
814 (license license:bsd-3)))
816 (define-public ghc-cgi
819 (version "3001.2.2.2")
824 "https://hackage.haskell.org/package/cgi/cgi-"
829 "0q1pxpa8gi42c0hsidcdkhk5xr5anfrvhqsn3iksr9c0rllhz193"))))
830 (build-system haskell-build-system)
832 `(("ghc-parsec" ,ghc-parsec)
833 ("ghc-old-locale" ,ghc-old-locale)
834 ("ghc-old-time" ,ghc-old-time)
835 ("ghc-exceptions" ,ghc-exceptions)
836 ("ghc-multipart" ,ghc-multipart)
837 ("ghc-network-uri" ,ghc-network-uri)
838 ("ghc-network" ,ghc-network)
839 ("ghc-mtl" ,ghc-mtl)))
841 "https://github.com/cheecheeo/haskell-cgi")
842 (synopsis "Library for writing CGI programs")
844 "This is a Haskell library for writing CGI programs.")
845 (license license:bsd-3)))
847 (define-public ghc-cmdargs
855 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
860 "0vmz7f0ssrqlp6wzmc0mjqj4qczfgk58g0lr0yz7jamamlgpq4b6"))))
861 (build-system haskell-build-system)
863 "http://community.haskell.org/~ndm/cmdargs/")
864 (synopsis "Command line argument processing")
866 "This library provides an easy way to define command line parsers.")
867 (license license:bsd-3)))
869 (define-public ghc-concatenative
871 (name "ghc-concatenative")
876 "https://hackage.haskell.org/package/concatenative/concatenative-"
880 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
881 (build-system haskell-build-system)
883 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
884 (synopsis "Library for postfix control flow")
886 "Concatenative gives Haskell Factor-style combinators and arrows for
887 postfix notation. For more information on stack based languages, see
888 @uref{http://concatenative.org}.")
889 (license license:bsd-3)))
891 (define-public ghc-happy
899 "https://hackage.haskell.org/package/happy/happy-"
904 "1nj353q4z1g186fpjzf0dnsg71qhxqpamx8jy89rjjvv3p0kmw32"))))
905 (build-system haskell-build-system)
906 (arguments `(#:tests? #f)) ;; cannot satisfy -package mtl. Possible Cabal
909 `(("ghc-mtl" ,ghc-mtl)))
910 (home-page "https://hackage.haskell.org/package/happy")
911 (synopsis "Parser generator for Haskell")
912 (description "Happy is a parser generator for Haskell. Given a grammar
913 specification in BNF, Happy generates Haskell code to parse the grammar.
914 Happy works in a similar way to the yacc tool for C.")
915 (license license:bsd-3)))
917 (define-public ghc-haskell-src-exts
919 (name "ghc-haskell-src-exts")
925 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
930 "1h8gjw5g92rvvzadqzpscg73x7ajvs1wlphrh27afim3scdd8frz"))))
931 (build-system haskell-build-system)
935 ("ghc-happy" ,ghc-happy)
936 ("ghc-syb" ,ghc-syb)))
938 `(("ghc-smallcheck" ,ghc-smallcheck)
939 ("ghc-tasty" ,ghc-tasty)
940 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
941 ("ghc-tasty-golden" ,ghc-tasty-golden)))
942 (home-page "https://github.com/haskell-suite/haskell-src-exts")
943 (synopsis "Library for manipulating Haskell source")
944 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
945 extension of the standard @code{haskell-src} package, and handles most
946 registered syntactic extensions to Haskell. All extensions implemented in GHC
947 are supported. Apart from these standard extensions, it also handles regular
948 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
949 (license license:bsd-3)))
959 "https://hackage.haskell.org/package/" name
960 "/" name "-" version ".tar.gz"))
963 "14v3rdjjlml9nimdk7d5dvir2bw78ai49yylvms9lnzmw29s3546"))))
964 (build-system haskell-build-system)
967 ("ghc-cmdargs" ,ghc-cmdargs)
968 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
969 ("ghc-uniplate" ,ghc-uniplate)
970 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
971 ("ghc-extra" ,ghc-extra)
972 ("hscolour" ,hscolour)))
973 (home-page "http://community.haskell.org/~ndm/hlint/")
974 (synopsis "Suggest improvements for Haskell source code")
975 (description "HLint reads Haskell programs and suggests changes that
976 hopefully make them easier to read. HLint also makes it easy to disable
977 unwanted suggestions, and to add your own custom suggestions.")
978 (license license:bsd-3)))
980 (define-public ghc-resourcet
982 (name "ghc-resourcet")
988 "https://hackage.haskell.org/package/resourcet/resourcet-"
993 "0zhsaaa4n8ry76vjih519a8npm2hrzk10d5asrgllcwpzmifl41y"))))
994 (build-system haskell-build-system)
996 `(("ghc-transformers-base" ,ghc-transformers-base)
997 ("ghc-monad-control" ,ghc-monad-control)
998 ("ghc-transformers-compat" ,ghc-transformers-compat)
1000 ("ghc-mmorph" ,ghc-mmorph)
1001 ("ghc-exceptions" ,ghc-exceptions)))
1003 `(("ghc-lifted-base" ,ghc-lifted-base)
1004 ("ghc-hspec" ,ghc-hspec)))
1005 (home-page "https://github.com/snoyberg/conduit")
1006 (synopsis "Deterministic allocation and freeing of scarce resources")
1007 (description "ResourceT is a monad transformer which creates a region of
1008 code where you can safely allocate resources.")
1009 (license license:bsd-3)))
1011 (define-public ghc-xss-sanitize
1013 (name "ghc-xss-sanitize")
1019 "https://hackage.haskell.org/package/xss-sanitize/xss-sanitize-"
1024 "1j2qrn2dbfx01m7zyk9ilgnp9zjwq9mk62b0rdal4zkg4vh212h0"))))
1025 (build-system haskell-build-system)
1027 `(("ghc-tagsoup" ,ghc-tagsoup)
1028 ("ghc-utf8-string" ,ghc-utf8-string)
1029 ("ghc-css-text" ,ghc-css-text)
1030 ("ghc-network-uri" ,ghc-network-uri)))
1032 `(("ghc-text" ,ghc-text)
1033 ("ghc-attoparsec" ,ghc-attoparsec)
1034 ("ghc-hspec" ,ghc-hspec)
1035 ("ghc-hunit" ,ghc-hunit)))
1036 (home-page "https://github.com/yesodweb/haskell-xss-sanitize")
1037 (synopsis "Sanitize untrusted HTML to prevent XSS attacks")
1038 (description "This library provides @code{sanitizeXSS}. Run untrusted
1039 HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to prevent XSS
1041 (license license:bsd-3)))
1043 (define-public ghc-objectname
1045 (name "ghc-objectname")
1051 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
1056 "0kh5fb9ykag6rfsm3f0bx3w323s18w2cyry34w5xgli5ncqimadg"))))
1057 (build-system haskell-build-system)
1058 (home-page "https://hackage.haskell.org/package/ObjectName")
1059 (synopsis "Helper library for Haskell OpenGL")
1060 (description "This tiny package contains the class ObjectName, which
1061 corresponds to the general notion of explicitly handled identifiers for API
1062 objects, e.g. a texture object name in OpenGL or a buffer object name in
1064 (license license:bsd-3)))
1066 (define-public ghc-sdl
1074 "https://hackage.haskell.org/package/SDL/SDL-"
1079 "1sa3zx3vrs1gbinxx33zwq0x2bsf3i964bff7419p7vzidn36k46"))))
1080 (build-system haskell-build-system)
1083 (home-page "https://hackage.haskell.org/package/SDL")
1084 (synopsis "LibSDL for Haskell")
1085 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
1086 multimedia library designed to provide low level access to audio, keyboard,
1087 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
1088 by MPEG playback software, emulators, and many popular games, including the
1089 award winning Linux port of \"Civilization: Call To Power.\"")
1090 (license license:bsd-3)))
1092 (define-public ghc-sdl-mixer
1094 (name "ghc-sdl-mixer")
1100 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
1105 "0md3238hx79mxb9a7l43kg3b3d28x4mqvj0hjsbsh15ajnvy9x2z"))))
1106 (build-system haskell-build-system)
1109 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
1110 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
1111 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
1113 `(("ghc-sdl" ,ghc-sdl)
1114 ("sdl-mixer" ,sdl-mixer)))
1115 (home-page "https://hackage.haskell.org/package/SDL-mixer")
1116 (synopsis "Haskell bindings to libSDL_mixer")
1117 (description "SDL_mixer is a sample multi-channel audio mixer library. It
1118 supports any number of simultaneously playing channels of 16 bit stereo audio,
1119 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
1120 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
1121 (license license:bsd-3)))
1123 (define-public ghc-sdl-image
1125 (name "ghc-sdl-image")
1131 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
1136 "1m02q2426qp8m8pzz2jkk4srk2vb3j3ickiaga5jx9rkkhz732zq"))))
1137 (build-system haskell-build-system)
1140 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
1141 (sdl-image-include (string-append sdl-image "/include/SDL")))
1142 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
1144 `(("ghc-sdl" ,ghc-sdl)
1145 ("sdl-image" ,sdl-image)))
1146 (home-page "https://hackage.haskell.org/package/SDL-image")
1147 (synopsis "Haskell bindings to libSDL_image")
1148 (description "SDL_image is an image file loading library. It loads images
1149 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
1150 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
1151 (license license:bsd-3)))
1153 (define-public ghc-half
1161 "https://hackage.haskell.org/package/half/half-"
1166 "0zhwc6ps5w4ccnxl8sy623z4rjsafmnry69jpkw4hrbq11l402f1"))))
1167 (build-system haskell-build-system)
1168 (home-page "https://github.com/ekmett/half")
1169 (synopsis "Half-precision floating-point computations")
1170 (description "This library provides a half-precision floating-point
1171 computation library for Haskell.")
1172 (license license:bsd-3)))
1174 (define-public ghc-openglraw
1176 (name "ghc-openglraw")
1182 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
1187 "1kfq24mxg922ml3kkmym2qfpc56jbmrfbiix4rc2cxlwv05i191k"))))
1188 (build-system haskell-build-system)
1190 `(("ghc-half" ,ghc-half)
1192 ("ghc-text" ,ghc-text)))
1193 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1194 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
1195 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
1196 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
1197 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
1198 offers access to all necessary functions, tokens and types plus a general
1199 facility for loading extension entries. The module hierarchy closely mirrors
1200 the naming structure of the OpenGL extensions, making it easy to find the
1201 right module to import. All API entries are loaded dynamically, so no special
1202 C header files are needed for building this package. If an API entry is not
1203 found at runtime, a userError is thrown.")
1204 (license license:bsd-3)))
1206 (define-public ghc-glut
1214 "https://hackage.haskell.org/package/GLUT/GLUT-"
1219 "1qfilpc10jm47anan44c20y8mh76f2dv09m5d22gk0f7am7hg4k2"))))
1220 (build-system haskell-build-system)
1222 `(("ghc-statevar" ,ghc-statevar)
1223 ("ghc-opengl" ,ghc-opengl)
1224 ("ghc-openglraw" ,ghc-openglraw)
1225 ("freeglut" ,freeglut)))
1226 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1227 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
1228 (description "This library provides Haskell bindings for the OpenGL
1229 Utility Toolkit, a window system-independent toolkit for writing OpenGL
1231 (license license:bsd-3)))
1233 (define-public ghc-gluraw
1241 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
1246 "0gscd9lhp9mb10q8s716nx26m8qng9xbb4h6b3f48zzgkc1sy96x"))))
1247 (build-system haskell-build-system)
1249 `(("ghc-openglraw" ,ghc-openglraw)))
1250 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1251 (synopsis "Raw Haskell bindings GLU")
1252 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
1253 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
1254 basis for a nicer interface.")
1255 (license license:bsd-3)))
1257 (define-public ghc-opengl
1260 (version "2.12.0.1")
1265 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
1270 "1mcfb167jl75qc2hgylh83vf2jqizvyvkvhhb72adi2crc3zqz4b"))))
1271 (build-system haskell-build-system)
1273 `(("ghc-text" ,ghc-text)
1274 ("ghc-objectname" ,ghc-objectname)
1275 ("ghc-gluraw" ,ghc-gluraw)
1276 ("ghc-statevar" ,ghc-statevar)
1277 ("ghc-openglraw" ,ghc-openglraw)))
1278 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1279 (synopsis "Haskell bindings for the OpenGL graphics system")
1280 (description "This package provides Haskell bindings for the OpenGL
1281 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
1283 (license license:bsd-3)))
1285 (define-public ghc-streaming-commons
1287 (name "ghc-streaming-commons")
1288 (version "0.1.14.2")
1293 "https://hackage.haskell.org/package/streaming-commons/streaming-commons-"
1298 "12nw9bwvy6zrabkgvbp371klca3ds6qjlfncg1b8pbwx1y7m8c8h"))))
1299 (build-system haskell-build-system)
1301 `(("ghc-blaze-builder" ,ghc-blaze-builder)
1302 ("ghc-network" ,ghc-network)
1303 ("ghc-random" ,ghc-random)
1304 ("ghc-stm" ,ghc-stm)
1305 ("ghc-text" ,ghc-text)
1306 ("ghc-zlib" ,ghc-zlib)))
1308 `(("ghc-quickcheck" ,ghc-quickcheck)
1309 ("ghc-hspec" ,ghc-hspec)
1310 ("hspec-discover" ,hspec-discover)))
1311 (home-page "https://hackage.haskell.org/package/streaming-commons")
1312 (synopsis "Conduit and pipes needed by some streaming data libraries")
1313 (description "Provides low-dependency functionality commonly needed by
1314 various Haskell streaming data libraries, such as @code{conduit} and
1316 (license license:bsd-3)))
1318 (define-public cpphs
1326 "https://hackage.haskell.org/package/" name "/"
1327 name "-" version ".tar.gz"))
1330 "1njpmxgpah5pcqppcl1cxb5xicf6xlqrd162qm12khp9hainlm72"))))
1331 (build-system haskell-build-system)
1333 `(("ghc-polyparse" ,ghc-polyparse)
1334 ("ghc-old-locale" ,ghc-old-locale)
1335 ("ghc-old-time" ,ghc-old-time)))
1336 (home-page "http://projects.haskell.org/cpphs/")
1337 (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
1338 (description "Cpphs is a re-implementation of the C pre-processor that is
1339 both more compatible with Haskell, and itself written in Haskell so that it
1340 can be distributed with compilers. This version of the C pre-processor is
1341 pretty-much feature-complete and compatible with traditional (K&R)
1342 pre-processors. Additional features include: a plain-text mode; an option to
1343 unlit literate code files; and an option to turn off macro-expansion.")
1344 (license (list license:lgpl2.1+ license:gpl3+))))
1346 (define-public ghc-reflection
1348 (name "ghc-reflection")
1354 "https://hackage.haskell.org/package/reflection/reflection-"
1359 "10w3m6v3g6am203wbrikdbp57x9vw6b4jsh7bxdzsss4nmpm81zg"))))
1360 (build-system haskell-build-system)
1361 (inputs `(("ghc-tagged" ,ghc-tagged)))
1362 (home-page "https://github.com/ekmett/reflection")
1363 (synopsis "Reify arbitrary terms into types that can be reflected back
1365 (description "This package addresses the 'configuration problem' which is
1366 propogating configurations that are available at run-time, allowing multiple
1367 configurations to coexist without resorting to mutable global variables or
1368 @code{System.IO.Unsafe.unsafePerformIO}.")
1369 (license license:bsd-3)))
1371 (define-public ghc-old-locale
1373 (name "ghc-old-locale")
1379 "https://hackage.haskell.org/package/old-locale/old-locale-"
1383 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
1384 (build-system haskell-build-system)
1385 (home-page "https://hackage.haskell.org/package/old-locale")
1386 (synopsis "Adapt to locale conventions")
1388 "This package provides the ability to adapt to locale conventions such as
1389 date and time formats.")
1390 (license license:bsd-3)))
1392 (define-public ghc-old-time
1394 (name "ghc-old-time")
1400 "https://hackage.haskell.org/package/old-time/old-time-"
1405 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
1406 (build-system haskell-build-system)
1408 `(("ghc-old-locale" ,ghc-old-locale)))
1409 (home-page "https://hackage.haskell.org/package/old-time")
1410 (synopsis "Time compatibility library for Haskell")
1411 (description "Old-time is a package for backwards compatibility with the
1412 old @code{time} library. For new projects, the newer
1413 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
1414 (license license:bsd-3)))
1416 (define-public ghc-data-default-instances-old-locale
1418 (name "ghc-data-default-instances-old-locale")
1424 "https://hackage.haskell.org/package/"
1425 "data-default-instances-old-locale/"
1426 "data-default-instances-old-locale-" version ".tar.gz"))
1428 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
1429 (build-system haskell-build-system)
1431 `(("ghc-data-default-class" ,ghc-data-default-class)
1432 ("ghc-old-locale" ,ghc-old-locale)))
1434 "https://hackage.haskell.org/package/data-default-instances-old-locale")
1435 (synopsis "Default instances for types in old-locale")
1436 (description "Provides Default instances for types from the old-locale
1438 (license license:bsd-3)))
1440 (define-public ghc-dlist
1448 "https://hackage.haskell.org/package/dlist/dlist-"
1452 (base32 "10rp96rryij7d8gz5kv8ygc6chm1624ck5mbnqs2a3fkdzqj2b9k"))))
1453 (build-system haskell-build-system)
1455 `(("ghc-quickcheck" ,ghc-quickcheck)))
1456 (home-page "https://github.com/spl/dlist")
1457 (synopsis "Difference lists")
1459 "Difference lists are a list-like type supporting O(1) append. This is
1460 particularly useful for efficient logging and pretty printing (e.g. with the
1461 Writer monad), where list append quickly becomes too expensive.")
1462 (license license:bsd-3)))
1464 (define-public ghc-extensible-exceptions
1466 (name "ghc-extensible-exceptions")
1471 (uri (string-append "https://hackage.haskell.org/package/"
1472 "extensible-exceptions/extensible-exceptions-"
1475 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
1476 (build-system haskell-build-system)
1477 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
1478 (synopsis "Extensible exceptions for Haskell")
1480 "This package provides extensible exceptions for both new and old
1481 versions of GHC (i.e., < 6.10).")
1482 (license license:bsd-3)))
1484 (define-public cabal-install
1486 (name "cabal-install")
1487 (version "1.22.6.0")
1492 "https://hackage.haskell.org/package/cabal-install/cabal-install-"
1496 (base32 "1d5h7h2wjwc2s3dvsvzjgmmfrfl2312ym2h6kyjgm9wnaqw9w8wx"))))
1497 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
1498 (build-system haskell-build-system)
1500 `(("ghc-http" ,ghc-http)
1501 ("ghc-mtl" ,ghc-mtl)
1502 ("ghc-network-uri" ,ghc-network-uri)
1503 ("ghc-network" ,ghc-network)
1504 ("ghc-random" ,ghc-random)
1505 ("ghc-stm" ,ghc-stm)
1506 ("ghc-zlib" ,ghc-zlib)))
1507 (home-page "http://www.haskell.org/cabal/")
1508 (synopsis "Command-line interface for Cabal and Hackage")
1510 "The cabal command-line program simplifies the process of managing
1511 Haskell software by automating the fetching, configuration, compilation and
1512 installation of Haskell libraries and programs.")
1513 (license license:bsd-3)))
1515 (define-public ghc-mtl
1519 (outputs '("out" "doc"))
1524 "https://hackage.haskell.org/package/mtl/mtl-"
1529 "1icdbj2rshzn0m1zz5wa7v3xvkf6qw811p4s7jgqwvx1ydwrvrfa"))))
1530 (build-system haskell-build-system)
1531 (home-page "https://github.com/ekmett/mtl")
1533 "Monad classes, using functional dependencies")
1534 (description "Monad classes using functional dependencies, with instances
1535 for various monad transformers, inspired by the paper 'Functional Programming
1536 with Overloading and Higher-Order Polymorphism', by Mark P Jones, in 'Advanced
1537 School of Functional Programming', 1995. See
1538 @uref{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html, the paper}.")
1539 (license license:bsd-3)))
1541 (define-public ghc-paths
1545 (outputs '("out" "doc"))
1550 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
1555 "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg"))))
1556 (build-system haskell-build-system)
1557 (home-page "https://github.com/simonmar/ghc-paths")
1559 "Knowledge of GHC's installation directories")
1561 "Knowledge of GHC's installation directories.")
1562 (license license:bsd-3)))
1564 (define-public ghc-utf8-string
1566 (name "ghc-utf8-string")
1572 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
1576 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
1577 (build-system haskell-build-system)
1578 (home-page "https://github.com/glguy/utf8-string/")
1579 (synopsis "Support for reading and writing UTF8 Strings")
1581 "A UTF8 layer for Strings. The utf8-string package provides operations
1582 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
1583 UTF8 without truncation.")
1584 (license license:bsd-3)))
1586 (define-public ghc-setenv
1594 "https://hackage.haskell.org/package/setenv/setenv-"
1599 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
1600 (build-system haskell-build-system)
1601 (home-page "https://hackage.haskell.org/package/setenv")
1602 (synopsis "Library for setting environment variables")
1603 (description "This package provides a Haskell library for setting
1604 environment variables.")
1605 (license license:expat)))
1607 (define-public ghc-x11
1614 (uri (string-append "https://hackage.haskell.org/package/X11/"
1615 "X11-" version ".tar.gz"))
1617 (base32 "1kzjcynm3rr83ihqx2y2d852jc49da4p18gv6jzm7g87z22x85jj"))))
1618 (build-system haskell-build-system)
1620 `(("libx11" ,libx11)
1621 ("libxrandr" ,libxrandr)
1622 ("libxinerama" ,libxinerama)
1623 ("libxscrnsaver" ,libxscrnsaver)
1624 ("ghc-data-default" ,ghc-data-default)))
1625 (home-page "https://github.com/haskell-pkg-janitors/X11")
1626 (synopsis "Bindings to the X11 graphics library")
1628 "This package provides Haskell bindings to the X11 graphics library. The
1629 bindings are a direct translation of the C bindings.")
1630 (license license:bsd-3)))
1632 (define-public ghc-x11-xft
1634 (name "ghc-x11-xft")
1639 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
1640 "X11-xft-" version ".tar.gz"))
1642 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
1644 `(("ghc-x11" ,ghc-x11)
1645 ("ghc-utf8-string" ,ghc-utf8-string)
1648 ("xproto" ,xproto)))
1650 `(("pkg-config" ,pkg-config)))
1651 (build-system haskell-build-system)
1652 (home-page "https://hackage.haskell.org/package/X11-xft")
1653 (synopsis "Bindings to Xft")
1655 "Bindings to the Xft, X Free Type interface library, and some Xrender
1657 (license license:lgpl2.1)))
1659 (define-public ghc-stringbuilder
1661 (name "ghc-stringbuilder")
1667 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
1672 "1ap95xphqnrhv64c2a137wqslkdmb2jjd9ldb17gs1pw48k8hrl9"))))
1673 (build-system haskell-build-system)
1674 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
1676 (home-page "https://hackage.haskell.org/package/stringbuilder")
1677 (synopsis "Writer monad for multi-line string literals")
1678 (description "This package provides a writer monad for multi-line string
1680 (license license:expat)))
1682 (define-public ghc-zlib
1686 (outputs '("out" "doc"))
1691 "https://hackage.haskell.org/package/zlib/zlib-"
1696 "15hhsk7z3gvm7sz2ic2z1ca5c6rpsln2rr391mdbm1bxlzc1gmkm"))))
1697 (build-system haskell-build-system)
1698 (inputs `(("zlib" ,zlib)))
1699 (home-page "https://hackage.haskell.org/package/zlib")
1701 "Compression and decompression in the gzip and zlib formats")
1703 "This package provides a pure interface for compressing and decompressing
1704 streams of data represented as lazy 'ByteString's. It uses the zlib C library
1705 so it has high performance. It supports the 'zlib', 'gzip' and 'raw'
1706 compression formats. It provides a convenient high level API suitable for
1707 most tasks and for the few cases where more control is needed it provides
1708 access to the full zlib feature set.")
1709 (license license:bsd-3)))
1711 (define-public ghc-stm
1715 (outputs '("out" "doc"))
1720 "https://hackage.haskell.org/package/stm/stm-"
1725 "0gc8zvdijp3rwmidkpxv76b4i0dc8dw6nbd92rxl4vxl0655iysx"))))
1726 (build-system haskell-build-system)
1727 (home-page "https://hackage.haskell.org/package/stm")
1728 (synopsis "Software Transactional Memory")
1730 "A modular composable concurrency abstraction.")
1731 (license license:bsd-3)))
1733 (define-public ghc-parallel
1735 (name "ghc-parallel")
1737 (outputs '("out" "doc"))
1742 "https://hackage.haskell.org/package/parallel/parallel-"
1747 "0hp6vf4zxsw6vz6lj505xihmnfhgjp39c9q7nyzlgcmps3xx6a5r"))))
1748 (build-system haskell-build-system)
1749 (home-page "https://hackage.haskell.org/package/parallel")
1750 (synopsis "Parallel programming library")
1752 "This package provides a library for parallel programming.")
1753 (license license:bsd-3)))
1755 (define-public ghc-text
1759 (outputs '("out" "doc"))
1764 "https://hackage.haskell.org/package/text/text-"
1769 "0gzqx5cpkdhshbz9xss51mpyq23pnf8dwjz4h3irbv2ryaa4qdlq"))))
1770 (build-system haskell-build-system)
1772 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1773 (home-page "https://github.com/bos/text")
1774 (synopsis "Efficient packed Unicode text type library")
1776 "An efficient packed, immutable Unicode text type (both strict and
1777 lazy), with a powerful loop fusion optimization framework.
1779 The 'Text' type represents Unicode character strings, in a time and
1780 space-efficient manner. This package provides text processing
1781 capabilities that are optimized for performance critical use, both
1782 in terms of large data quantities and high speed.")
1783 (license license:bsd-3)))
1785 (define-public ghc-hashable
1787 (name "ghc-hashable")
1789 (outputs '("out" "doc"))
1794 "https://hackage.haskell.org/package/hashable/hashable-"
1799 "0kp4aj0x1iicz9qirpqxxqd8x5g1njbapxk1d90n406w3xykz4pw"))))
1800 (build-system haskell-build-system)
1802 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1804 `(("ghc-text" ,ghc-text)))
1805 (home-page "https://github.com/tibbe/hashable")
1807 "Class for types that can be converted to a hash value")
1809 "This package defines a class, 'Hashable', for types that can be
1810 converted to a hash value. This class exists for the benefit of hashing-based
1811 data structures. The package provides instances for basic types and a way to
1812 combine hash values.")
1813 (license license:bsd-3)))
1815 (define-public ghc-hunit
1819 (outputs '("out" "doc"))
1824 "https://hackage.haskell.org/package/HUnit/HUnit-"
1829 "0hcs6qh8bqhip1kkjjnw7ccgcsmawdz5yvffjj5y8zd2vcsavx8a"))))
1830 (build-system haskell-build-system)
1831 (home-page "http://hunit.sourceforge.net/")
1832 (synopsis "Unit testing framework for Haskell")
1834 "HUnit is a unit testing framework for Haskell, inspired by the
1835 JUnit tool for Java.")
1836 (license license:bsd-3)))
1838 (define-public ghc-random
1842 (outputs '("out" "doc"))
1847 "https://hackage.haskell.org/package/random/random-"
1851 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
1852 (build-system haskell-build-system)
1853 (home-page "https://hackage.haskell.org/package/random")
1854 (synopsis "Random number library")
1855 (description "This package provides a basic random number generation
1856 library, including the ability to split random number generators.")
1857 (license license:bsd-3)))
1859 (define-public ghc-primitive
1861 (name "ghc-primitive")
1863 (outputs '("out" "doc"))
1868 "https://hackage.haskell.org/package/primitive/primitive-"
1873 "1j1q7l21rdm8kfs93vibr3xwkkhqis181w2k6klfhx5g5skiywwk"))))
1874 (build-system haskell-build-system)
1876 "https://github.com/haskell/primitive")
1877 (synopsis "Primitive memory-related operations")
1879 "This package provides various primitive memory-related operations.")
1880 (license license:bsd-3)))
1882 (define-public ghc-test-framework
1884 (name "ghc-test-framework")
1889 (uri (string-append "https://hackage.haskell.org/package/test-framework/"
1890 "test-framework-" version ".tar.gz"))
1893 "0wxjgdvb1c4ykazw774zlx86550848wbsvgjgcrdzcgbb9m650vq"))))
1894 (build-system haskell-build-system)
1896 `(("ghc-hunit" ,ghc-hunit)
1897 ("ghc-quickcheck" ,ghc-quickcheck)))
1899 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
1900 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
1901 ("ghc-hostname" ,ghc-hostname)
1902 ("ghc-old-locale" ,ghc-old-locale)
1903 ("ghc-random" ,ghc-random)
1904 ("ghc-regex-posix" ,ghc-regex-posix)
1905 ("ghc-xml" ,ghc-xml)
1906 ("ghc-libxml" ,ghc-libxml)))
1907 (home-page "https://batterseapower.github.io/test-framework/")
1908 (synopsis "Framework for running and organising tests")
1910 "This package allows tests such as QuickCheck properties and HUnit test
1911 cases to be assembled into test groups, run in parallel (but reported in
1912 deterministic order, to aid diff interpretation) and filtered and controlled
1913 by command line options. All of this comes with colored test output, progress
1914 reporting and test statistics output.")
1915 (license license:bsd-3)))
1917 (define-public ghc-test-framework-hunit
1919 (name "ghc-test-framework-hunit")
1924 (uri (string-append "https://hackage.haskell.org/package/"
1925 "test-framework-hunit/test-framework-hunit-"
1929 "1h0h55kf6ff25nbfx1mhliwyknc0glwv3zi78wpzllbjbs7gvyfk"))))
1930 (build-system haskell-build-system)
1932 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
1933 ("ghc-hunit" ,ghc-hunit)
1934 ("ghc-test-framework" ,ghc-test-framework)))
1935 (home-page "https://batterseapower.github.io/test-framework/")
1936 (synopsis "HUnit support for test-framework")
1938 "This package provides HUnit support for the test-framework package.")
1939 (license license:bsd-3)))
1941 (define-public ghc-test-framework-quickcheck2
1943 (name "ghc-test-framework-quickcheck2")
1948 (uri (string-append "https://hackage.haskell.org/package/"
1949 "test-framework-quickcheck2/"
1950 "test-framework-quickcheck2-" version ".tar.gz"))
1953 "12p1zwrsz35r3j5gzbvixz9z1h5643rhihf5gqznmc991krwd5nc"))
1954 (modules '((guix build utils)))
1956 ;; The Hackage page and the cabal file linked there for this package
1957 ;; both list 2.9 as the upper version limit, but the source tarball
1958 ;; specifies 2.8. Assume the Hackage page is correct.
1959 '(substitute* "test-framework-quickcheck2.cabal"
1960 (("QuickCheck >= 2.4 && < 2.8") "QuickCheck >= 2.4 && < 2.9")))))
1961 (build-system haskell-build-system)
1963 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
1964 ("ghc-quickcheck" ,ghc-quickcheck)
1965 ("ghc-random" ,ghc-random)
1966 ("ghc-test-framework" ,ghc-test-framework)))
1967 (home-page "https://batterseapower.github.io/test-framework/")
1968 (synopsis "QuickCheck2 support for test-framework")
1970 "This packages provides QuickCheck2 support for the test-framework
1972 (license license:bsd-3)))
1974 (define-public ghc-tf-random
1976 (name "ghc-tf-random")
1978 (outputs '("out" "doc"))
1983 "https://hackage.haskell.org/package/tf-random/tf-random-"
1987 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
1988 (build-system haskell-build-system)
1990 `(("ghc-primitive" ,ghc-primitive)
1991 ("ghc-random" ,ghc-random)))
1992 (home-page "https://hackage.haskell.org/package/tf-random")
1993 (synopsis "High-quality splittable pseudorandom number generator")
1994 (description "This package contains an implementation of a high-quality
1995 splittable pseudorandom number generator. The generator is based on a
1996 cryptographic hash function built on top of the ThreeFish block cipher. See
1997 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
1998 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
1999 (license license:bsd-3)))
2001 (define-public ghc-transformers-base
2003 (name "ghc-transformers-base")
2009 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
2014 "11r3slgpgpra6zi2kjg3g60gvv17b1fh6qxipcpk8n86qx7lk8va"))))
2015 (build-system haskell-build-system)
2017 `(("ghc-stm" ,ghc-stm)
2018 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2020 "https://hackage.haskell.org/package/transformers-compat")
2022 "Backported transformer library")
2024 "Backported versions of types that were added to transformers in
2025 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
2026 compatibility to run on old versions of the platform.")
2027 (license license:bsd-3)))
2029 (define-public ghc-transformers-compat
2031 (name "ghc-transformers-compat")
2037 "https://hackage.haskell.org/package/transformers-compat"
2038 "/transformers-compat-" version ".tar.gz"))
2041 "0lmg8ry6bgigb0v2lg0n74lxi8z5m85qq0qi4h1k9llyjb4in8ym"))))
2042 (build-system haskell-build-system)
2043 (home-page "https://github.com/ekmett/transformers-compat/")
2044 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
2045 (description "This package includes backported versions of types that were
2046 added to transformers in transformers 0.3 and 0.4 for users who need strict
2047 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
2048 but also need those types.")
2049 (license license:bsd-3)))
2051 (define-public ghc-unix-time
2053 (name "ghc-unix-time")
2059 "https://hackage.haskell.org/package/unix-time/unix-time-"
2064 "0dyvyxwaffb94bgri1wc4b9wqaasy32pyjn0lww3dqblxv8fn5ax"))))
2065 (build-system haskell-build-system)
2067 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
2068 ; is weird, that should be provided by GHC 7.10.2.
2070 `(("ghc-old-time" ,ghc-old-time)
2071 ("ghc-old-locale" ,ghc-old-locale)))
2072 (home-page "https://hackage.haskell.org/package/unix-time")
2073 (synopsis "Unix time parser/formatter and utilities")
2074 (description "This library provides fast parsing and formatting utilities
2075 for Unix time in Haskell.")
2076 (license license:bsd-3)))
2078 (define-public ghc-unix-compat
2080 (name "ghc-unix-compat")
2086 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
2091 "0jxk7j5pz2kgfpqr4hznndjg31pqj5xg2qfc5308fcn9xyg1myps"))))
2092 (build-system haskell-build-system)
2094 "https://github.com/jystic/unix-compat")
2095 (synopsis "Portable POSIX-compatibility layer")
2097 "This package provides portable implementations of parts of the unix
2098 package. This package re-exports the unix package when available. When it
2099 isn't available, portable implementations are used.")
2100 (license license:bsd-3)))
2102 (define-public ghc-http-types
2104 (name "ghc-http-types")
2110 "https://hackage.haskell.org/package/http-types/http-types-"
2115 "0ny15jgm5skhs2yx6snr13lrnw19hwjgfygrpsmhib8wqa8cz8cc"))))
2116 (build-system haskell-build-system)
2117 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find
2118 ; Blaze.Bytestring.Builder, which should be
2119 ; provided by ghc-blaze-builder.
2121 `(("ghc-case-insensitive" ,ghc-case-insensitive)
2122 ("ghc-blaze-builder" ,ghc-blaze-builder)
2123 ("ghc-text" ,ghc-text)))
2124 (home-page "https://github.com/aristidb/http-types")
2125 (synopsis "Generic HTTP types for Haskell")
2126 (description "This package provides generic HTTP types for Haskell (for
2127 both client and server code).")
2128 (license license:bsd-3)))
2130 (define-public ghc-indents
2132 (name "ghc-indents")
2137 "https://hackage.haskell.org/package/indents/indents-"
2141 "16lz21bp9j14xilnq8yym22p3saxvc9fsgfcf5awn2a6i6n527xn"))))
2142 (build-system haskell-build-system)
2144 `(("ghc-parsec" ,ghc-parsec)
2145 ("ghc-concatenative" ,ghc-concatenative)
2146 ("ghc-mtl" ,ghc-mtl)))
2147 (home-page "http://patch-tag.com/r/salazar/indents")
2148 (synopsis "Indentation sensitive parser-combinators for parsec")
2150 "This library provides functions for use in parsing indentation sensitive
2151 contexts. It parses blocks of lines all indented to the same level as well as
2152 lines continued at an indented level below.")
2153 (license license:bsd-3)))
2155 (define-public ghc-iproute
2157 (name "ghc-iproute")
2163 "https://hackage.haskell.org/package/iproute/iproute-"
2168 "1ply0i110c2sppjbfyysgw48jfjnsbam5zwil8xws0hp20rh1pb5"))))
2169 (build-system haskell-build-system)
2170 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
2171 ; exported by ghc-byteorder. Doctest issue.
2173 `(("ghc-appar" ,ghc-appar)
2174 ("ghc-byteorder" ,ghc-byteorder)
2175 ("ghc-network" ,ghc-network)
2176 ("ghc-safe" ,ghc-safe)))
2177 (home-page "http://www.mew.org/~kazu/proj/iproute/")
2178 (synopsis "IP routing table")
2179 (description "IP Routing Table is a tree of IP ranges to search one of
2180 them on the longest match base. It is a kind of TRIE with one way branching
2181 removed. Both IPv4 and IPv6 are supported.")
2182 (license license:bsd-3)))
2184 (define-public ghc-regex-base
2186 (name "ghc-regex-base")
2192 "https://hackage.haskell.org/package/regex-base/regex-base-"
2197 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
2198 (build-system haskell-build-system)
2200 `(("ghc-mtl" ,ghc-mtl)))
2202 "http://sourceforge.net/projects/lazy-regex")
2203 (synopsis "Replaces/Enhances Text.Regex")
2204 (description "@code{Text.Regex.Base} provides the interface API for
2205 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
2206 (license license:bsd-3)))
2208 (define-public ghc-regex-posix
2210 (name "ghc-regex-posix")
2216 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
2221 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
2222 (build-system haskell-build-system)
2224 `(("ghc-regex-base" ,ghc-regex-base)))
2225 (home-page "http://sourceforge.net/projects/lazy-regex")
2226 (synopsis "POSIX regular expressions for Haskell")
2227 (description "This library provides the POSIX regex backend used by the
2228 Haskell library @code{regex-base}.")
2229 (license license:bsd-3)))
2231 (define-public ghc-regex-compat
2233 (name "ghc-regex-compat")
2239 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
2244 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
2245 (build-system haskell-build-system)
2247 `(("ghc-regex-base" ,ghc-regex-base)
2248 ("ghc-regex-posix" ,ghc-regex-posix)))
2249 (home-page "http://sourceforge.net/projects/lazy-regex")
2250 (synopsis "Replaces/Enhances Text.Regex")
2251 (description "This library provides one module layer over
2252 @code{regex-posix} to replace @code{Text.Regex}.")
2253 (license license:bsd-3)))
2255 (define-public ghc-regex-tdfa-rc
2257 (name "ghc-regex-tdfa-rc")
2263 "https://hackage.haskell.org/package/regex-tdfa-rc/regex-tdfa-rc-"
2268 "1vi11i23gkkjg6193ak90g55akj69bhahy542frkwb68haky4pp3"))))
2269 (build-system haskell-build-system)
2271 `(("ghc-regex-base" ,ghc-regex-base)
2272 ("ghc-parsec" ,ghc-parsec)
2273 ("ghc-mtl" ,ghc-mtl)))
2275 "https://hackage.haskell.org/package/regex-tdfa")
2276 (synopsis "Tagged DFA regex engine for Haskell")
2277 (description "A new all-Haskell \"tagged\" DFA regex engine, inspired by
2278 @code{libtre} (fork by Roman Cheplyaka).")
2279 (license license:bsd-3)))
2281 (define-public ghc-parsers
2283 (name "ghc-parsers")
2289 "https://hackage.haskell.org/package/parsers/parsers-"
2294 "18wzmp8y3py4qa8hdsxqm0jfzmwy744dw7xa48r5s8ynhpimi462"))))
2295 (build-system haskell-build-system)
2296 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2297 ; -package attoparsec-0.13.0.1"
2299 `(("ghc-base-orphans" ,ghc-base-orphans)
2300 ("ghc-attoparsec" ,ghc-attoparsec)
2301 ("ghc-parsec" ,ghc-parsec)
2302 ("ghc-scientific" ,ghc-scientific)
2303 ("ghc-charset" ,ghc-charset)
2304 ("ghc-text" ,ghc-text)
2305 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2306 (home-page "https://github.com/ekmett/parsers/")
2307 (synopsis "Parsing combinators")
2308 (description "This library provides convenient combinators for working
2309 with and building parsing combinator libraries. Given a few simple instances,
2310 you get access to a large number of canned definitions. Instances exist for
2311 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
2313 (license license:bsd-3)))
2315 (define-public ghc-trifecta
2317 (name "ghc-trifecta")
2323 "https://hackage.haskell.org/package/trifecta/trifecta-"
2328 "0fjhnsbafl3yw34pyhcsvrqy6a2mnhyqys6gna3rrlygs8ck7hpb"))))
2329 (build-system haskell-build-system)
2330 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2331 ; -package ansi-terminal-0.6.2.3"
2333 `(("ghc-charset" ,ghc-charset)
2334 ("ghc-comonad" ,ghc-comonad)
2335 ("ghc-lens" ,ghc-lens)
2336 ("ghc-profunctors" ,ghc-profunctors)
2337 ("ghc-reducers" ,ghc-reducers)
2338 ("ghc-semigroups" ,ghc-semigroups)
2339 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
2340 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2341 ("ghc-blaze-builder" ,ghc-blaze-builder)
2342 ("ghc-blaze-html" ,ghc-blaze-html)
2343 ("ghc-blaze-markup" ,ghc-blaze-markup)
2344 ("ghc-fingertree" ,ghc-fingertree)
2345 ("ghc-hashable" ,ghc-hashable)
2346 ("ghc-mtl" ,ghc-mtl)
2347 ("ghc-parsers" ,ghc-parsers)
2348 ("ghc-unordered-containers" ,ghc-unordered-containers)
2349 ("ghc-utf8-string" ,ghc-utf8-string)))
2350 (home-page "https://github.com/ekmett/trifecta/")
2351 (synopsis "Parser combinator library with convenient diagnostics")
2352 (description "Trifecta is a modern parser combinator library for Haskell,
2353 with slicing and Clang-style colored diagnostics.")
2354 (license license:bsd-3)))
2356 (define-public ghc-attoparsec
2358 (name "ghc-attoparsec")
2359 (version "0.13.0.1")
2364 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
2369 "0cprkr7bl4lrr80pz8mryb4rbfwdgpsrl7g0fbcaybhl8p5hm26f"))))
2370 (build-system haskell-build-system)
2372 `(("ghc-scientific" ,ghc-scientific)
2373 ("ghc-text" ,ghc-text)))
2375 `(("ghc-quickcheck" ,ghc-quickcheck)
2376 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
2377 ("ghc-test-framework" ,ghc-test-framework)
2378 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
2379 ("ghc-vector" ,ghc-vector)))
2380 (home-page "https://github.com/bos/attoparsec")
2381 (synopsis "Fast combinator parsing for bytestrings and text")
2382 (description "This library provides a fast parser combinator library,
2383 aimed particularly at dealing efficiently with network protocols and
2384 complicated text/binary file formats.")
2385 (license license:bsd-3)))
2387 (define-public ghc-css-text
2389 (name "ghc-css-text")
2395 "https://hackage.haskell.org/package/css-text/css-text-"
2400 "1xi1n2f0g8y43p95lynhcg50wxbq7hqfzbfzm7fy8mn7gvd920nw"))))
2401 (build-system haskell-build-system)
2403 `(("ghc-text" ,ghc-text)
2404 ("ghc-attoparsec" ,ghc-attoparsec)
2405 ("ghc-hspec" ,ghc-hspec)
2406 ("ghc-quickcheck" ,ghc-quickcheck)))
2407 (home-page "http://www.yesodweb.com/")
2408 (synopsis "CSS parser and renderer")
2409 (description "This package provides a CSS parser and renderer for
2411 (license license:bsd-3)))
2413 (define-public ghc-zip-archive
2415 (name "ghc-zip-archive")
2421 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
2426 "169nkxr5zlbymiz1ydlhlqr66vqiycmg85xh559phpkr64w3nqj1"))))
2427 (build-system haskell-build-system)
2429 `(("ghc-old-time" ,ghc-old-time)
2430 ("ghc-digest" ,ghc-digest)
2432 ("ghc-mtl" ,ghc-mtl)
2433 ("ghc-text" ,ghc-text)
2434 ("ghc-zlib" ,ghc-zlib)))
2436 `(("ghc-hunit" ,ghc-hunit)))
2437 (home-page "https://hackage.haskell.org/package/zip-archive")
2438 (synopsis "Zip archive library for Haskell")
2439 (description "The zip-archive library provides functions for creating,
2440 modifying, and extracting files from zip archives in Haskell.")
2441 (license license:bsd-3)))
2443 (define-public ghc-distributive
2445 (name "ghc-distributive")
2451 "https://hackage.haskell.org/package/distributive/distributive-"
2456 "0s2ln9jv7bh4ri2y31178pvjl8x6nik5d0klx7j2b77yjlsgblc2"))))
2457 (build-system haskell-build-system)
2458 (arguments `(#:tests? #f)) ; FIXME: fails with "cannot satisfy -package
2459 ; tagged-0.8.1". Suspected Cabal issue.
2461 `(("ghc-tagged" ,ghc-tagged)
2462 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2463 (home-page "https://github.com/ekmett/distributive/")
2464 (synopsis "Distributive functors for Haskell")
2465 (description "This package provides distributive functors for Haskell.
2466 Dual to @code{Traversable}.")
2467 (license license:bsd-3)))
2469 (define-public ghc-cereal
2477 "https://hackage.haskell.org/package/cereal/cereal-"
2482 "15rhfn9hrjm01ksh9xpz9syxsp9vkvpp6b736iqq38wv2wb7416z"))))
2483 (build-system haskell-build-system)
2484 (home-page "https://hackage.haskell.org/package/cereal")
2485 (synopsis "Binary serialization library")
2486 (description "This package provides a binary serialization library,
2487 similar to @code{binary}, that introduces an @code{isolate} primitive for
2488 parser isolation, and labeled blocks for better error messages.")
2489 (license license:bsd-3)))
2491 (define-public ghc-comonad
2493 (name "ghc-comonad")
2499 "https://hackage.haskell.org/package/comonad/comonad-"
2504 "0arvbaxgkawzdp38hh53akkahjg2aa3kj2b4ns0ni8a5ylg2cqmp"))))
2505 (build-system haskell-build-system)
2506 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2507 ; -package contravariant-1.3.3"
2509 `(("ghc-distributive" ,ghc-distributive)
2510 ("ghc-transformers-compat" ,ghc-transformers-compat)
2511 ("ghc-contravariant" ,ghc-contravariant)
2512 ("ghc-semigroups" ,ghc-semigroups)
2513 ("ghc-tagged" ,ghc-tagged)
2514 ("ghc-contravariant" ,ghc-contravariant)))
2515 (home-page "https://github.com/ekmett/comonad/")
2516 (synopsis "Comonads for Haskell")
2517 (description "This library provides @code{Comonad}s for Haskell.")
2518 (license license:bsd-3)))
2520 (define-public hscolour
2528 "https://hackage.haskell.org/package/hscolour/hscolour-"
2533 "1c4i2zpami8g3w9949nm3f92g7xwh5c94vkx658zz7ihrjp7w5lp"))))
2534 (build-system haskell-build-system)
2535 (home-page "https://hackage.haskell.org/package/hscolour")
2536 (synopsis "Script to colourise Haskell code")
2537 (description "HSColour is a small Haskell script to colourise Haskell
2538 code. It currently has six output formats: ANSI terminal codes (optionally
2539 XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
2540 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
2541 and mIRC chat codes.")
2542 (license license:bsd-3)))
2544 (define-public ghc-polyparse
2546 (name "ghc-polyparse")
2552 "https://hackage.haskell.org/package/polyparse/polyparse-"
2557 "1z417f80b0jm4dgv25fk408p3d9mmcd1dlbya3ry0zdx4md09vrh"))))
2558 (build-system haskell-build-system)
2560 `(("ghc-text" ,ghc-text)))
2562 "http://code.haskell.org/~malcolm/polyparse/")
2564 "Alternative parser combinator libraries")
2566 "This package provides a variety of alternative parser combinator
2567 libraries, including the original HuttonMeijer set. The Poly sets have
2568 features like good error reporting, arbitrary token type, running state, lazy
2569 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
2570 standard Read class, for better deserialisation of Haskell values from
2572 (license license:lgpl2.1)))
2574 (define-public ghc-extra
2582 "https://hackage.haskell.org/package/extra/extra-"
2587 "1h9hxkrqrqscx420yz1lmivbrhi6jc3a5ap61vkxd2mhdgark9hf"))))
2588 (build-system haskell-build-system)
2589 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
2590 (home-page "https://github.com/ndmitchell/extra")
2591 (synopsis "Extra Haskell functions")
2592 (description "This library provides extra functions for the standard
2593 Haskell libraries. Most functions are simple additions, filling out missing
2594 functionality. A few functions are available in later versions of GHC, but
2595 this package makes them available back to GHC 7.2.")
2596 (license license:bsd-3)))
2598 (define-public ghc-profunctors
2600 (name "ghc-profunctors")
2606 "https://hackage.haskell.org/package/profunctors/profunctors-"
2611 "0lw2ipacpnp9yqmi8zsp01pzpn5hwj8af3y0f3079mddrmw48gw7"))))
2612 (build-system haskell-build-system)
2614 `(("ghc-distributive" ,ghc-distributive)
2615 ("ghc-comonad" ,ghc-comonad)
2616 ("ghc-tagged" ,ghc-tagged)))
2617 (home-page "https://github.com/ekmett/profunctors/")
2618 (synopsis "Profunctors for Haskell")
2619 (description "This library provides profunctors for Haskell.")
2620 (license license:bsd-3)))
2622 (define-public ghc-reducers
2624 (name "ghc-reducers")
2630 "https://hackage.haskell.org/package/reducers/reducers-"
2635 "0pkddg0s3cn759miq0nfrq7lnp3imk5sx784ihsilsbjh9kvffz4"))))
2636 (build-system haskell-build-system)
2638 `(("ghc-fingertree" ,ghc-fingertree)
2639 ("ghc-hashable" ,ghc-hashable)
2640 ("ghc-text" ,ghc-text)
2641 ("ghc-unordered-containers" ,ghc-unordered-containers)
2642 ("ghc-semigroupoids" ,ghc-semigroupoids)
2643 ("ghc-semigroups" ,ghc-semigroups)))
2644 (home-page "https://github.com/ekmett/reducers/")
2645 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
2646 (description "This library provides various semigroups, specialized
2647 containers and a general map/reduce framework for Haskell.")
2648 (license license:bsd-3)))
2650 (define-public ghc-appar
2658 "https://hackage.haskell.org/package/appar/appar-"
2663 "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq"))))
2664 (build-system haskell-build-system)
2666 "https://hackage.haskell.org/package/appar")
2667 (synopsis "Simple applicative parser")
2668 (description "This package provides a simple applicative parser in Parsec
2670 (license license:bsd-3)))
2672 (define-public ghc-safe
2680 "https://hackage.haskell.org/package/safe/safe-"
2685 "1jdnp5zhvalf1xy8i872n29nljfjz6lnl9ghj80ffisrnnkrwcfh"))))
2686 (build-system haskell-build-system)
2687 (home-page "https://github.com/ndmitchell/safe#readme")
2688 (synopsis "Library of safe (exception free) functions")
2689 (description "This library provides wrappers around @code{Prelude} and
2690 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
2692 (license license:bsd-3)))
2694 (define-public ghc-generic-deriving
2696 (name "ghc-generic-deriving")
2702 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
2707 "1kc6lhdanls6kgpk8xv5xi14lz1sngcd8xn930hkf7ilq4kxkcr6"))))
2708 (build-system haskell-build-system)
2709 (home-page "https://hackage.haskell.org/package/generic-deriving")
2710 (synopsis "Generalise the deriving mechanism to arbitrary classes")
2711 (description "This package provides functionality for generalising the
2712 deriving mechanism in Haskell to arbitrary classes.")
2713 (license license:bsd-3)))
2715 (define-public ghc-pcre-light
2717 (name "ghc-pcre-light")
2723 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
2728 "0l1df2sk5qwf424bvb8mbdkr2xjg43fi92n5r22yd7vm1zz0jqvf"))))
2729 (build-system haskell-build-system)
2732 (home-page "https://github.com/Daniel-Diaz/pcre-light")
2733 (synopsis "Haskell library for Perl 5 compatible regular expressions")
2734 (description "This package provides a small, efficient, and portable regex
2735 library for Perl 5 compatible regular expressions. The PCRE library is a set
2736 of functions that implement regular expression pattern matching using the same
2737 syntax and semantics as Perl 5.")
2738 (license license:bsd-3)))
2740 (define-public ghc-logict
2748 "https://hackage.haskell.org/package/logict/logict-"
2753 "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi"))))
2754 (build-system haskell-build-system)
2755 (inputs `(("ghc-mtl" ,ghc-mtl)))
2756 (home-page "http://code.haskell.org/~dolio/")
2757 (synopsis "Backtracking logic-programming monad")
2758 (description "This library provides a continuation-based, backtracking,
2759 logic programming monad. An adaptation of the two-continuation implementation
2760 found in the paper \"Backtracking, Interleaving, and Terminating Monad
2761 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
2763 (license license:bsd-3)))
2765 (define-public ghc-xml
2773 "https://hackage.haskell.org/package/xml/xml-"
2778 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
2779 (build-system haskell-build-system)
2781 `(("ghc-text" ,ghc-text)))
2782 (home-page "http://code.galois.com")
2783 (synopsis "Simple XML library for Haskell")
2784 (description "This package provides a simple XML library for Haskell.")
2785 (license license:bsd-3)))
2787 (define-public ghc-exceptions
2789 (name "ghc-exceptions")
2795 "https://hackage.haskell.org/package/exceptions/exceptions-"
2800 "1x1bk1jf42k1gigiqqmkkh38z2ffhx8rsqiszdq3f94m2h6kw2h7"))))
2801 (build-system haskell-build-system)
2802 (arguments `(#:tests? #f)) ; FIXME: Missing test-framework package.
2804 `(("ghc-stm" ,ghc-stm)
2805 ("ghc-mtl" ,ghc-mtl)
2806 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2807 (home-page "https://github.com/ekmett/exceptions/")
2808 (synopsis "Extensible optionally-pure exceptions")
2809 (description "This library provides extensible optionally-pure exceptions
2811 (license license:bsd-3)))
2813 (define-public ghc-temporary
2815 (name "ghc-temporary")
2821 "https://hackage.haskell.org/package/temporary/temporary-"
2826 "0is67bmsjmbbw6wymhis8wyq9gax3sszm573p5719fx2c9z9r24a"))))
2827 (build-system haskell-build-system)
2828 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
2829 (home-page "http://www.github.com/batterseapower/temporary")
2830 (synopsis "Temporary file and directory support")
2831 (description "The functions for creating temporary files and directories
2832 in the Haskelll base library are quite limited. This library just repackages
2833 the Cabal implementations of its own temporary file and folder functions so
2834 that you can use them without linking against Cabal or depending on it being
2836 (license license:bsd-3)))
2838 (define-public ghc-temporary-rc
2840 (name "ghc-temporary-rc")
2846 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
2851 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
2852 (build-system haskell-build-system)
2853 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
2855 "http://www.github.com/feuerbach/temporary")
2857 "Portable temporary file and directory support")
2859 "The functions for creating temporary files and directories in the base
2860 library are quite limited. The unixutils package contains some good ones, but
2861 they aren't portable to Windows. This library just repackages the Cabal
2862 implementations of its own temporary file and folder functions so that you can
2863 use them without linking against Cabal or depending on it being installed.
2864 This is a better maintained fork of the \"temporary\" package.")
2865 (license license:bsd-3)))
2867 (define-public ghc-smallcheck
2869 (name "ghc-smallcheck")
2875 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
2880 "1ygrabxh40bym3grnzqyfqn96lirnxspb8cmwkkr213239y605sd"))))
2881 (build-system haskell-build-system)
2883 `(("ghc-logict" ,ghc-logict)
2884 ("ghc-mtl" ,ghc-mtl)))
2886 "https://github.com/feuerbach/smallcheck")
2887 (synopsis "Property-based testing library")
2888 (description "SmallCheck is a testing library that allows to verify
2889 properties for all test cases up to some depth. The test cases are generated
2890 automatically by SmallCheck.")
2891 (license license:bsd-3)))
2893 (define-public ghc-tasty-ant-xml
2895 (name "ghc-tasty-ant-xml")
2901 "https://hackage.haskell.org/package/tasty-ant-xml/tasty-ant-xml-"
2906 "0pgz2lclg2hp72ykljcbxd88pjanfdfk8m5vb2qzcyjr85kwrhxv"))))
2907 (build-system haskell-build-system)
2909 `(("ghc-generic-deriving" ,ghc-generic-deriving)
2910 ("ghc-xml" ,ghc-xml)
2911 ("ghc-mtl" ,ghc-mtl)
2912 ("ghc-stm" ,ghc-stm)
2913 ("ghc-tagged" ,ghc-tagged)
2914 ("ghc-tasty" ,ghc-tasty)))
2916 "https://github.com/ocharles/tasty-ant-xml")
2918 "Render tasty output to XML for Jenkins")
2920 "A tasty ingredient to output test results in XML, using the Ant
2921 schema. This XML can be consumed by the Jenkins continuous integration
2923 (license license:bsd-3)))
2925 (define-public ghc-tasty-smallcheck
2927 (name "ghc-tasty-smallcheck")
2933 "https://hackage.haskell.org/package/tasty-smallcheck/tasty-smallcheck-"
2938 "0yckfbz8na8ccyw2911i3a4hd3fdncclk3ng5343hs5cylw6y4sm"))))
2939 (build-system haskell-build-system)
2941 `(("ghc-tasty" ,ghc-tasty)
2942 ("ghc-smallcheck" ,ghc-smallcheck)
2943 ("ghc-async" ,ghc-async)
2944 ("ghc-tagged" ,ghc-tagged)))
2945 (home-page "http://documentup.com/feuerbach/tasty")
2946 (synopsis "SmallCheck support for the Tasty test framework")
2947 (description "This package provides SmallCheck support for the Tasty
2948 Haskell test framework.")
2949 (license license:bsd-3)))
2951 (define-public ghc-silently
2953 (name "ghc-silently")
2959 "https://hackage.haskell.org/package/silently/silently-"
2964 "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
2965 (build-system haskell-build-system)
2966 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
2968 ;; `(("ghc-temporary" ,ghc-temporary)))
2969 (home-page "https://github.com/hspec/silently")
2970 (synopsis "Prevent writing to stdout")
2971 (description "This package provides functions to prevent or capture
2972 writing to stdout and other handles.")
2973 (license license:bsd-3)))
2975 (define-public ghc-quickcheck-instances
2977 (name "ghc-quickcheck-instances")
2983 "https://hackage.haskell.org/package/"
2984 "quickcheck-instances/quickcheck-instances-"
2988 "041s6963czs1pz0fc9cx17lgd6p83czqy2nxji7bhxqxwl2j15h2"))))
2989 (build-system haskell-build-system)
2991 `(("ghc-old-time" ,ghc-old-time)
2992 ("ghc-unordered-containers" ,ghc-unordered-containers)
2993 ("ghc-hashable" ,ghc-hashable)
2994 ("ghc-quickcheck" ,ghc-quickcheck)
2995 ("ghc-text" ,ghc-text)))
2997 "https://github.com/aslatter/qc-instances")
2998 (synopsis "Common quickcheck instances")
2999 (description "This package provides QuickCheck instances for types
3000 provided by the Haskell Platform.")
3001 (license license:bsd-3)))
3003 (define-public ghc-quickcheck-unicode
3005 (name "ghc-quickcheck-unicode")
3011 "https://hackage.haskell.org/package/quickcheck-unicode/quickcheck-unicode-"
3016 "1a8nl6x7l9b22yx61wm0bh2n1xzb1hd5i5zgg1w4fpaivjnrrhi4"))))
3017 (build-system haskell-build-system)
3018 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
3020 "https://github.com/bos/quickcheck-unicode")
3021 (synopsis "Generator functions Unicode-related tests")
3022 (description "This package provides generator and shrink functions for
3023 testing Unicode-related software.")
3024 (license license:bsd-3)))
3026 (define-public ghc-quickcheck-io
3028 (name "ghc-quickcheck-io")
3034 "https://hackage.haskell.org/package/quickcheck-io/quickcheck-io-"
3039 "1kf1kfw9fsmly0rvzvdf6jvdw10qhkmikyj0wcwciw6wad95w9sh"))))
3040 (build-system haskell-build-system)
3042 `(("ghc-quickcheck" ,ghc-quickcheck)
3043 ("ghc-hunit" ,ghc-hunit)))
3045 "https://github.com/hspec/quickcheck-io#readme")
3046 (synopsis "Use HUnit assertions as QuickCheck properties")
3047 (description "This package provides an orphan instance that allows you to
3048 use HUnit assertions as QuickCheck properties.")
3049 (license license:expat)))
3051 (define-public ghc-quickcheck
3053 (name "ghc-quickcheck")
3055 (outputs '("out" "doc"))
3060 "https://hackage.haskell.org/package/QuickCheck/QuickCheck-"
3065 "0fvnfl30fxmj5q920l13641ar896d53z0z6z66m7c1366lvalwvh"))))
3066 (build-system haskell-build-system)
3068 `(#:tests? #f ; FIXME: currently missing libraries used for tests.
3069 #:configure-flags '("-f base4")))
3071 `(("ghc-tf-random" ,ghc-tf-random)))
3073 "https://github.com/nick8325/quickcheck")
3075 "Automatic testing of Haskell programs")
3077 "QuickCheck is a library for random testing of program properties.")
3078 (license license:bsd-3)))
3080 (define-public ghc-case-insensitive
3082 (name "ghc-case-insensitive")
3084 (outputs '("out" "doc"))
3089 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
3094 "07nm40r9yw2p9qsfp3pjbsmyn4dabrxw34p48171zmccdd5hv0v3"))))
3095 (build-system haskell-build-system)
3097 `(("ghc-hunit" ,ghc-hunit)))
3098 ;; these inputs are necessary to use this library
3100 `(("ghc-text" ,ghc-text)
3101 ("ghc-hashable" ,ghc-hashable)))
3103 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3105 "https://github.com/basvandijk/case-insensitive")
3106 (synopsis "Case insensitive string comparison")
3108 "The module 'Data.CaseInsensitive' provides the 'CI' type constructor
3109 which can be parameterised by a string-like type like: 'String', 'ByteString',
3110 'Text', etc.. Comparisons of values of the resulting type will be insensitive
3112 (license license:bsd-3)))
3114 (define-public ghc-syb
3118 (outputs '("out" "doc"))
3123 "https://hackage.haskell.org/package/syb/syb-"
3128 "1p3cnqjm13677r4a966zffzhi9b3a321aln8zs8ckqj0d9z1z3d3"))))
3129 (build-system haskell-build-system)
3131 `(("ghc-hunit" ,ghc-hunit)
3132 ("ghc-mtl" ,ghc-mtl)))
3134 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
3135 (synopsis "Scrap Your Boilerplate")
3136 (description "This package contains the generics system described in the
3137 /Scrap Your Boilerplate/ papers (see
3138 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
3139 defines the 'Data' class of types permitting folding and unfolding of
3140 constructor applications, instances of this class for primitive types, and a
3141 variety of traversals.")
3142 (license license:bsd-3)))
3144 (define-public ghc-fgl
3148 (outputs '("out" "doc"))
3153 "https://hackage.haskell.org/package/fgl/fgl-"
3158 "0fbyb6jxy9whgrv6dgnkzz70cmy98arx3q2gnkhgl4a3d7idh36p"))))
3159 (build-system haskell-build-system)
3161 `(("ghc-mtl" ,ghc-mtl)
3162 ("ghc-hspec" ,ghc-hspec)
3163 ("ghc-quickcheck" ,ghc-quickcheck)))
3164 (home-page "http://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3166 "Martin Erwig's Functional Graph Library")
3167 (description "The functional graph library, FGL, is a collection of type
3168 and function definitions to address graph problems. The basis of the library
3169 is an inductive definition of graphs in the style of algebraic data types that
3170 encourages inductive, recursive definitions of graph algorithms.")
3171 (license license:bsd-3)))
3173 (define-public ghc-chasingbottoms
3175 (name "ghc-chasingbottoms")
3176 (version "1.3.0.13")
3180 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
3181 "ChasingBottoms-" version ".tar.gz"))
3184 "1fb86jd6cdz4rx3fj3r9n8d60kx824ywwy7dw4qnrdran46ja3pl"))
3185 (modules '((guix build utils)))
3187 ;; The Hackage page and the cabal file linked there for this package
3188 ;; both list 0.7 as the upper version limit, but the source tarball
3189 ;; specifies 0.6. Assume the Hackage page is correct.
3190 '(substitute* "ChasingBottoms.cabal"
3191 (("syb >= 0.1.0.2 && < 0.6") "syb >= 0.1.0.2 && < 0.7")))))
3192 (build-system haskell-build-system)
3194 `(("ghc-mtl" ,ghc-mtl)
3195 ("ghc-quickcheck" ,ghc-quickcheck)
3196 ("ghc-random" ,ghc-random)
3197 ("ghc-syb" ,ghc-syb)))
3198 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
3199 (synopsis "Testing of partial and infinite values in Haskell")
3201 ;; FIXME: There should be a @comma{} in the uref text, but it is not
3202 ;; rendered properly.
3203 "This is a library for testing code involving bottoms or infinite values.
3204 For the underlying theory and a larger example involving use of QuickCheck,
3206 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
3207 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
3208 Partial and Infinite Values\"}.")
3209 (license license:expat)))
3211 (define-public ghc-unordered-containers
3213 (name "ghc-unordered-containers")
3215 (outputs '("out" "doc"))
3220 "https://hackage.haskell.org/package/unordered-containers"
3221 "/unordered-containers-" version ".tar.gz"))
3224 "06l1xv7vhpxly75saxdrbc6p2zlgz1az278arfkz4rgawfnphn3f"))))
3225 (build-system haskell-build-system)
3227 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
3228 ("ghc-hunit" ,ghc-hunit)
3229 ("ghc-quickcheck" ,ghc-quickcheck)
3230 ("ghc-test-framework" ,ghc-test-framework)
3231 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3232 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3233 ("ghc-hashable" ,ghc-hashable)))
3235 "https://github.com/tibbe/unordered-containers")
3237 "Efficient hashing-based container types")
3239 "Efficient hashing-based container types. The containers have been
3240 optimized for performance critical use, both in terms of large data quantities
3242 (license license:bsd-3)))
3244 (define-public ghc-uniplate
3246 (name "ghc-uniplate")
3252 "https://hackage.haskell.org/package/uniplate/uniplate-"
3257 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
3258 (build-system haskell-build-system)
3260 `(("ghc-syb" ,ghc-syb)
3261 ("ghc-hashable" ,ghc-hashable)
3262 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3263 (home-page "http://community.haskell.org/~ndm/uniplate/")
3264 (synopsis "Simple, concise and fast generic operations")
3265 (description "Uniplate is a library for writing simple and concise generic
3266 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
3267 work, but is substantially simpler and faster.")
3268 (license license:bsd-3)))
3270 (define-public ghc-base64-bytestring
3272 (name "ghc-base64-bytestring")
3278 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
3283 "0l1v4ddjdsgi9nqzyzcxxj76rwar3lzx8gmwf2r54bqan3san9db"))))
3284 (build-system haskell-build-system)
3285 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3286 (home-page "https://github.com/bos/base64-bytestring")
3287 (synopsis "Base64 encoding and decoding for ByteStrings")
3288 (description "This library provides fast base64 encoding and decoding for
3289 Haskell @code{ByteString}s.")
3290 (license license:bsd-3)))
3292 (define-public ghc-annotated-wl-pprint
3294 (name "ghc-annotated-wl-pprint")
3300 "https://hackage.haskell.org/package/annotated-wl-pprint"
3301 "/annotated-wl-pprint-" version
3305 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
3306 (build-system haskell-build-system)
3308 "https://github.com/david-christiansen/annotated-wl-pprint")
3310 "The Wadler/Leijen Pretty Printer, with annotation support")
3311 (description "This is a modified version of wl-pprint, which was based on
3312 Wadler's paper \"A Prettier Printer\". This version allows the library user
3313 to annotate the text with semantic information, which can later be rendered in
3314 a variety of ways.")
3315 (license license:bsd-3)))
3317 (define-public ghc-wl-pprint
3319 (name "ghc-wl-pprint")
3324 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
3328 "166zvk4zwn2zaa9kx66m1av38m34qp6h4i65bri2sfnxgvx0700r"))))
3329 (build-system haskell-build-system)
3330 (home-page "https://hackage.haskell.org/package/wl-pprint")
3331 (synopsis "Wadler/Leijen pretty printer")
3333 "This is a pretty printing library based on Wadler's paper @i{A Prettier
3334 Printer}. This version allows the library user to declare overlapping
3335 instances of the @code{Pretty} class.")
3336 (license license:bsd-3)))
3338 (define-public ghc-ansi-wl-pprint
3340 (name "ghc-ansi-wl-pprint")
3346 "https://hackage.haskell.org/package/ansi-wl-pprint/ansi-wl-pprint-"
3351 "025pyphsjf0dnbrmj5nscbi6gzyigwgp3ifxb3psn7kji6mfr29p"))))
3352 (build-system haskell-build-system)
3354 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
3355 (home-page "https://github.com/ekmett/ansi-wl-pprint")
3356 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
3357 (description "This is a pretty printing library based on Wadler's paper
3358 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
3359 colored output using the ansi-terminal package.")
3360 (license license:bsd-3)))
3362 (define-public ghc-split
3366 (outputs '("out" "doc"))
3371 "https://hackage.haskell.org/package/split/split-"
3376 "0xa3j0gwr6k5vizxybnzk5fgb3pppgspi6mysnp2gwjp2dbrxkzr"))
3377 (modules '((guix build utils)))
3379 ;; The Cabal file on Hackage is updated, but the tar.gz does not
3381 ;; <https://hackage.haskell.org/package/split-0.2.2/revisions/>.
3382 '(substitute* "split.cabal"
3383 (("base <4.8") "base <4.9")))))
3384 (build-system haskell-build-system)
3386 `(("ghc-quickcheck" ,ghc-quickcheck)))
3387 (home-page "https://hackage.haskell.org/package/split")
3388 (synopsis "Combinator library for splitting lists")
3389 (description "This package provides a collection of Haskell functions for
3390 splitting lists into parts, akin to the @code{split} function found in several
3391 mainstream languages.")
3392 (license license:bsd-3)))
3394 (define-public ghc-parsec
3398 (outputs '("out" "doc"))
3403 "https://hackage.haskell.org/package/parsec/parsec-"
3407 (base32 "1ja20cmj6v336jy87c6h3jzjp00sdbakwbdwp11iln499k913xvi"))))
3408 (build-system haskell-build-system)
3410 `(("ghc-hunit" ,ghc-hunit)))
3412 `(("ghc-text" ,ghc-text)
3413 ("ghc-mtl" ,ghc-mtl)))
3415 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3417 "https://github.com/aslatter/parsec")
3418 (synopsis "Monadic parser combinators")
3419 (description "Parsec is a parser library. It is simple, safe, well
3420 documented, has extensive libraries, good error messages, and is fast. It is
3421 defined as a monad transformer that can be stacked on arbitrary monads, and it
3422 is also parametric in the input stream type.")
3423 (license license:bsd-3)))
3425 (define-public ghc-vector
3428 (version "0.11.0.0")
3429 (outputs '("out" "doc"))
3434 "https://hackage.haskell.org/package/vector/vector-"
3439 "1r1jlksy7b0kb0fy00g64isk6nyd9wzzdq31gx5v1wn38knj0lqa"))))
3440 (build-system haskell-build-system)
3442 `(("ghc-primitive" ,ghc-primitive)
3443 ("ghc-quickcheck" ,ghc-quickcheck)))
3445 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3446 (home-page "https://github.com/haskell/vector")
3447 (synopsis "Efficient Arrays")
3448 (description "This library provides an efficient implementation of
3449 Int-indexed arrays (both mutable and immutable), with a powerful loop
3450 optimisation framework.")
3451 (license license:bsd-3)))
3453 (define-public ghc-vector-binary-instances
3455 (name "ghc-vector-binary-instances")
3461 "https://hackage.haskell.org/package/"
3462 "vector-binary-instances/vector-binary-instances-"
3466 "028rsf2w193rhs1gic5yvvrwidw9sblczcn10aw64npfc6502l4l"))))
3467 (build-system haskell-build-system)
3469 `(("ghc-cereal" ,ghc-cereal)
3470 ("ghc-vector" ,ghc-vector)))
3471 (home-page "https://github.com/bos/vector-binary-instances")
3472 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
3473 (description "This library provides instances of @code{Binary} for the
3474 types defined in the @code{vector} package, making it easy to serialize
3475 vectors to and from disk. We use the generic interface to vectors, so all
3476 vector types are supported. Specific instances are provided for unboxed,
3477 boxed and storable vectors.")
3478 (license license:bsd-3)))
3480 (define-public ghc-network
3482 (name "ghc-network")
3484 (outputs '("out" "doc"))
3489 "https://hackage.haskell.org/package/network/network-"
3494 "1yhvpd4wigz165jvyvw9zslx7lgqdj63jh3zv5s74b5ykdfa3zd3"))))
3495 (build-system haskell-build-system)
3497 `(("ghc-hunit" ,ghc-hunit)))
3499 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3500 (home-page "https://github.com/haskell/network")
3501 (synopsis "Low-level networking interface")
3503 "This package provides a low-level networking interface.")
3504 (license license:bsd-3)))
3506 (define-public ghc-network-uri
3508 (name "ghc-network-uri")
3510 (outputs '("out" "doc"))
3515 "https://hackage.haskell.org/package/network-uri/network-uri-"
3520 "1pwbqb2rk4rnvllvdch42p5368xcvpkanp7bxckdhxya8zzwvhhg"))))
3521 (build-system haskell-build-system)
3523 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3525 `(("ghc-hunit" ,ghc-hunit)))
3527 `(("ghc-parsec" ,ghc-parsec)
3528 ("ghc-network" ,ghc-network)))
3530 "https://github.com/haskell/network-uri")
3531 (synopsis "Library for URI manipulation")
3532 (description "This package provides an URI manipulation interface. In
3533 'network-2.6' the 'Network.URI' module was split off from the 'network'
3534 package into this package.")
3535 (license license:bsd-3)))
3537 (define-public ghc-ansi-terminal
3539 (name "ghc-ansi-terminal")
3545 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
3550 "0hpfw0k025y681m9ml1c712skrb1p4vh7z5x1f0ci9ww7ssjrh2d"))))
3551 (build-system haskell-build-system)
3552 (home-page "https://github.com/feuerbach/ansi-terminal")
3553 (synopsis "ANSI terminal support for Haskell")
3554 (description "This package provides ANSI terminal support for Haskell. It
3555 allows cursor movement, screen clearing, color output showing or hiding the
3556 cursor, and changing the title.")
3557 (license license:bsd-3)))
3559 (define-public ghc-http
3562 (version "4000.2.20")
3563 (outputs '("out" "doc"))
3568 "https://hackage.haskell.org/package/HTTP/HTTP-"
3573 "0nyqdxr5ls2dxkf4a1f3x15xzwdm46ppn99nkcbhswlr6s3cq1s4"))))
3574 (build-system haskell-build-system)
3576 `(("ghc-hunit" ,ghc-hunit)))
3578 `(("ghc-old-time" ,ghc-old-time)
3579 ("ghc-parsec" ,ghc-parsec)
3580 ("ghc-mtl" ,ghc-mtl)
3581 ("ghc-network" ,ghc-network)
3582 ("ghc-network-uri" ,ghc-network-uri)))
3584 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3585 (home-page "https://github.com/haskell/HTTP")
3586 (synopsis "Library for client-side HTTP")
3588 "The HTTP package supports client-side web programming in Haskell. It
3589 lets you set up HTTP connections, transmitting requests and processing the
3590 responses coming back.")
3591 (license license:bsd-3)))
3593 (define-public ghc-hspec
3601 "https://hackage.haskell.org/package/hspec/hspec-"
3606 "0zqisxznlbszivsgy3irvf566zhcr6ipqqj3x9i7pj5hy913jwqf"))))
3607 (build-system haskell-build-system)
3609 `(("ghc-hspec-core" ,ghc-hspec-core)
3610 ("hspec-discover" ,hspec-discover)
3611 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3612 ("ghc-quickcheck" ,ghc-quickcheck)
3613 ("ghc-hunit" ,ghc-hunit)
3614 ("ghc-stringbuilder" ,ghc-stringbuilder)
3615 ("ghc-hspec-meta" ,ghc-hspec-meta)))
3616 (home-page "http://hspec.github.io/")
3617 (synopsis "Testing Framework for Haskell")
3618 (description "This library provides the Hspec testing framework for
3619 Haskell, inspired by the Ruby library RSpec.")
3620 (license license:expat)))
3622 (define-public ghc-hspec-contrib
3624 (name "ghc-hspec-contrib")
3628 (uri (string-append "https://hackage.haskell.org/package/"
3629 "hspec-contrib/hspec-contrib-"
3633 "006syw8xagfhsx06ws9ywig1qx5lk4cgl7sq6pbid1s64c72mxn4"))))
3634 (build-system haskell-build-system)
3636 `(("ghc-hspec-core" ,ghc-hspec-core)
3637 ("ghc-hunit" ,ghc-hunit)
3638 ("ghc-hspec" ,ghc-hspec)
3639 ("ghc-quickcheck" ,ghc-quickcheck)))
3641 `(("hspec-discover" ,hspec-discover)))
3642 (home-page "http://hspec.github.io/")
3643 (synopsis "Contributed functionality for Hspec")
3645 "This package provides contributed Hspec extensions.")
3646 (license license:expat)))
3648 (define-public ghc-hspec-expectations
3650 (name "ghc-hspec-expectations")
3656 "https://hackage.haskell.org/package/hspec-expectations/hspec-expectations-"
3661 "1w56jiqfyl237sr207gh3b0l8sr9layy0mdsgd5wknzb49mif6ip"))))
3662 (build-system haskell-build-system)
3663 (inputs `(("ghc-hunit" ,ghc-hunit)))
3664 (home-page "https://github.com/sol/hspec-expectations")
3665 (synopsis "Catchy combinators for HUnit")
3666 (description "This library provides catchy combinators for HUnit, see
3667 @uref{https://github.com/sol/hspec-expectations#readme, the README}.")
3668 (license license:expat)))
3670 (define-public hspec-discover
3672 (name "hspec-discover")
3678 "https://hackage.haskell.org/package/hspec-discover/hspec-discover-"
3683 "0w3awzbljf4hqhxrjrxqa1lfcclg92bhmq641gz2q80vycspapzx"))))
3684 (build-system haskell-build-system)
3685 (arguments `(#:haddock? #f)) ; Haddock phase fails because there are no
3686 ; documentation files.
3687 (inputs `(("ghc-hspec-meta" ,ghc-hspec-meta)))
3688 (home-page "http://hspec.github.io/")
3689 (synopsis "Automatically discover and run Hspec tests")
3690 (description "hspec-discover is a tool which automatically discovers and
3692 (license license:expat)))
3694 (define-public ghc-hspec-core
3696 (name "ghc-hspec-core")
3702 "https://hackage.haskell.org/package/hspec-core/hspec-core-"
3707 "1wgd55k652jaf81nkvciyqi67ycj7zamr4nd9z1cqf8nr9fc3sa4"))))
3708 (build-system haskell-build-system)
3709 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3711 `(("ghc-setenv" ,ghc-setenv)
3712 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
3713 ("ghc-async" ,ghc-async)
3714 ("ghc-quickcheck-io" ,ghc-quickcheck-io)
3715 ("ghc-hunit" ,ghc-hunit)
3716 ("ghc-quickcheck" ,ghc-quickcheck)
3717 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3718 ("ghc-silently" ,ghc-silently)))
3719 (home-page "http://hspec.github.io/")
3720 (synopsis "Testing framework for Haskell")
3721 (description "This library exposes internal types and functions that can
3722 be used to extend Hspec's functionality.")
3723 (license license:expat)))
3725 (define-public ghc-hspec-meta
3727 (name "ghc-hspec-meta")
3733 "https://hackage.haskell.org/package/hspec-meta/hspec-meta-"
3738 "1fmqmgrzp135cxhmxxbaswkk4bqbpgfml00cmcz0d39n11vzpa5z"))))
3739 (build-system haskell-build-system)
3741 `(("ghc-quickcheck" ,ghc-quickcheck)
3742 ("ghc-hunit" ,ghc-hunit)
3743 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
3744 ("ghc-async" ,ghc-async)
3745 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3746 ("ghc-setenv" ,ghc-setenv)
3747 ("ghc-random" ,ghc-random)
3748 ("ghc-quickcheck-io" ,ghc-quickcheck-io)))
3749 (home-page "http://hspec.github.io/")
3750 (synopsis "Version of Hspec to test Hspec itself")
3751 (description "This library provides a stable version of Hspec which is
3752 used to test the in-development version of Hspec.")
3753 (license license:expat)))
3755 (define-public ghc-vault
3763 "https://hackage.haskell.org/package/vault/vault-"
3768 "0ah6qrg71krc87f4vjy4b4shdd0mgyil8fikb3j6fl4kfwlg67jn"))))
3769 (build-system haskell-build-system)
3771 `(("ghc-unordered-containers" ,ghc-unordered-containers)
3772 ("ghc-hashable" ,ghc-hashable)))
3774 "https://github.com/HeinrichApfelmus/vault")
3775 (synopsis "Persistent store for arbitrary values")
3776 (description "This package provides vaults for Haskell. A vault is a
3777 persistent store for values of arbitrary types. It's like having first-class
3778 access to the storage space behind @code{IORefs}. The data structure is
3779 analogous to a bank vault, where you can access different bank boxes with
3780 different keys; hence the name. Also provided is a @code{locker} type,
3781 representing a store for a single element.")
3782 (license license:bsd-3)))
3784 (define-public ghc-mmorph
3792 "https://hackage.haskell.org/package/mmorph/mmorph-"
3797 "0k5zlzmnixfwcjrqvhgi3i6xg532b0gsjvc39v5jigw69idndqr2"))))
3798 (build-system haskell-build-system)
3800 "https://hackage.haskell.org/package/mmorph")
3801 (synopsis "Monad morphisms")
3803 "This library provides monad morphism utilities, most commonly used for
3804 manipulating monad transformer stacks.")
3805 (license license:bsd-3)))
3807 (define-public ghc-monad-control
3809 (name "ghc-monad-control")
3815 "https://hackage.haskell.org/package/monad-control"
3816 "/monad-control-" version ".tar.gz"))
3819 "07pn1p4m80wdd7gw62s4yny8rbvm60ka1q8qx5y1plznd8sbg179"))))
3820 (build-system haskell-build-system)
3822 `(("ghc-stm" ,ghc-stm)
3823 ("ghc-transformers-base" ,ghc-transformers-base)
3824 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3825 (home-page "https://github.com/basvandijk/monad-control")
3826 (synopsis "Monad transformers to lift control operations like exception
3828 (description "This package defines the type class @code{MonadBaseControl},
3829 a subset of @code{MonadBase} into which generic control operations such as
3830 @code{catch} can be lifted from @code{IO} or any other base monad.")
3831 (license license:bsd-3)))
3833 (define-public ghc-byteorder
3835 (name "ghc-byteorder")
3841 "https://hackage.haskell.org/package/byteorder/byteorder-"
3846 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
3847 (build-system haskell-build-system)
3849 "http://community.haskell.org/~aslatter/code/byteorder")
3851 "Exposes the native endianness of the system")
3853 "This package is for working with the native byte-ordering of the
3855 (license license:bsd-3)))
3857 (define-public ghc-base-compat
3859 (name "ghc-base-compat")
3865 "https://hackage.haskell.org/package/base-compat/base-compat-"
3870 "02m93hzgxg4bcnp7xcc2fdh2hrsc2h6fwl8hix5nx9k864kwf41q"))))
3871 (build-system haskell-build-system)
3873 `(("ghc-quickcheck" ,ghc-quickcheck)
3874 ("ghc-hspec" ,ghc-hspec)
3875 ("hspec-discover" ,hspec-discover)))
3876 (home-page "https://hackage.haskell.org/package/base-compat")
3877 (synopsis "Haskell compiler compatibility library")
3878 (description "This library provides functions available in later versions
3879 of base to a wider range of compilers, without requiring the use of CPP
3880 pragmas in your code.")
3881 (license license:bsd-3)))
3883 (define-public ghc-blaze-builder
3885 (name "ghc-blaze-builder")
3891 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
3896 "1id3w33x9f7q5m3xpggmvzw03bkp94bpfyz81625bldqgf3yqdn1"))))
3897 (build-system haskell-build-system)
3898 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
3900 `(("ghc-text" ,ghc-text)
3901 ("ghc-utf8-string" ,ghc-utf8-string)))
3902 (home-page "https://github.com/lpsmith/blaze-builder")
3903 (synopsis "Efficient buffered output")
3904 (description "This library provides an implementation of the older
3905 @code{blaze-builder} interface in terms of the new builder that shipped with
3906 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
3907 bridge to the new builder, so that code that uses the old interface can
3908 interoperate with code that uses the new implementation.")
3909 (license license:bsd-3)))
3911 (define-public ghc-blaze-markup
3913 (name "ghc-blaze-markup")
3919 "https://hackage.haskell.org/package/blaze-markup/blaze-markup-"
3924 "080vlhd8dwjxrma4bb524lh8gxs5lm3xh122icy6lnnyipla0s9y"))))
3925 (build-system haskell-build-system)
3926 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3928 `(("ghc-blaze-builder" ,ghc-blaze-builder)
3929 ("ghc-text" ,ghc-text)))
3930 (home-page "http://jaspervdj.be/blaze")
3931 (synopsis "Fast markup combinator library for Haskell")
3932 (description "This library provides core modules of a markup combinator
3933 library for Haskell.")
3934 (license license:bsd-3)))
3936 (define-public ghc-blaze-html
3938 (name "ghc-blaze-html")
3944 "https://hackage.haskell.org/package/blaze-html/blaze-html-"
3949 "1dnw50kh0s405cg9i2y4a8awanhj3bqzk21jwgfza65kcjby7lpq"))))
3950 (build-system haskell-build-system)
3951 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3953 `(("ghc-blaze-builder" ,ghc-blaze-builder)
3954 ("ghc-text" ,ghc-text)
3955 ("ghc-blaze-markup" ,ghc-blaze-markup)))
3956 (home-page "http://jaspervdj.be/blaze")
3957 (synopsis "Fast HTML combinator library")
3958 (description "This library provides HTML combinators for Haskell.")
3959 (license license:bsd-3)))
3961 (define-public ghc-easy-file
3963 (name "ghc-easy-file")
3969 "https://hackage.haskell.org/package/easy-file/easy-file-"
3974 "0v75081bx4qzlqy29hh639nzlr7dncwza3qxbzm9njc4jarf31pz"))))
3975 (build-system haskell-build-system)
3977 "https://github.com/kazu-yamamoto/easy-file")
3978 (synopsis "File handling library for Haskell")
3979 (description "This library provides file handling utilities for Haskell.")
3980 (license license:bsd-3)))
3982 (define-public ghc-async
3990 "https://hackage.haskell.org/package/async/async-"
3995 "0azx4qk65a9a2gvqsfmz3w89m6shzr2iz0i5lly2zvly4n2d6m6v"))))
3996 (build-system haskell-build-system)
3998 `(("ghc-stm" ,ghc-stm)
3999 ("ghc-hunit" ,ghc-hunit)
4000 ("ghc-test-framework" ,ghc-test-framework)
4001 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4002 (home-page "https://github.com/simonmar/async")
4003 (synopsis "Library to run IO operations asynchronously")
4004 (description "Async provides a library to run IO operations
4005 asynchronously, and wait for their results. It is a higher-level interface
4006 over threads in Haskell, in which @code{Async a} is a concurrent thread that
4007 will eventually deliver a value of type @code{a}.")
4008 (license license:bsd-3)))
4010 (define-public ghc-fingertree
4012 (name "ghc-fingertree")
4018 "https://hackage.haskell.org/package/fingertree/fingertree-"
4023 "1w6x3kp3by5yjmam6wlrf9vap5l5rrqaip0djbrdp0fpf2imn30n"))))
4024 (build-system haskell-build-system)
4025 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
4026 (home-page "https://hackage.haskell.org/package/fingertree")
4027 (synopsis "Generic finger-tree structure")
4028 (description "This library provides finger trees, a general sequence
4029 representation with arbitrary annotations, for use as a base for
4030 implementations of various collection types. It includes examples, as
4031 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4032 simple general-purpose data structure\".")
4033 (license license:bsd-3)))
4035 (define-public ghc-optparse-applicative
4037 (name "ghc-optparse-applicative")
4038 (version "0.11.0.2")
4043 "https://hackage.haskell.org/package/optparse-applicative"
4044 "/optparse-applicative-" version ".tar.gz"))
4047 "0ni52ii9555jngljvzxn1ngicr6i2w647ww3rzhdrmng04y95iii"))))
4048 (build-system haskell-build-system)
4050 `(("ghc-transformers-compat" ,ghc-transformers-compat)
4051 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
4052 (home-page "https://github.com/pcapriotti/optparse-applicative")
4053 (synopsis "Utilities and combinators for parsing command line options")
4054 (description "This package provides utilities and combinators for parsing
4055 command line options in Haskell.")
4056 (license license:bsd-3)))
4058 (define-public ghc-base-orphans
4060 (name "ghc-base-orphans")
4066 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
4071 "0hhgpwjvx7jhvlhsygmmf0q5hv2ymijzz4bjilicw99bmv13qcpl"))))
4072 (build-system haskell-build-system)
4074 `(("ghc-quickcheck" ,ghc-quickcheck)
4075 ("ghc-hspec" ,ghc-hspec)
4076 ("hspec-discover" ,hspec-discover)))
4077 (home-page "https://hackage.haskell.org/package/base-orphans")
4078 (synopsis "Orphan instances for backwards compatibility")
4079 (description "This package defines orphan instances that mimic instances
4080 available in later versions of base to a wider (older) range of compilers.")
4081 (license license:bsd-3)))
4083 (define-public ghc-auto-update
4085 (name "ghc-auto-update")
4091 "https://hackage.haskell.org/package/auto-update/auto-update-"
4096 "1ns4c5mqhnm7hsiqxf1ivjs5fflyq92b16ldzrcl0p85631h0c3v"))))
4097 (build-system haskell-build-system)
4098 (home-page "https://github.com/yesodweb/wai")
4099 (synopsis "Efficiently run periodic, on-demand actions")
4100 (description "This library provides mechanisms to efficiently run
4101 periodic, on-demand actions in Haskell.")
4102 (license license:expat)))
4104 (define-public ghc-tagged
4112 "https://hackage.haskell.org/package/tagged/tagged-"
4117 "1hc2qzhhz5p1xd8k03sklrdnhcflkwhgpl82k6fam8yckww9ipav"))))
4118 (build-system haskell-build-system)
4119 (home-page "https://hackage.haskell.org/package/tagged")
4120 (synopsis "Haskell phantom types to avoid passing dummy arguments")
4121 (description "This library provides phantom types for Haskell 98, to avoid
4122 having to unsafely pass dummy arguments.")
4123 (license license:bsd-3)))
4125 (define-public ghc-unbounded-delays
4127 (name "ghc-unbounded-delays")
4133 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
4138 "1f4h87503m3smhip432q027wj3zih18pmz2rnafh60589ifcl420"))))
4139 (build-system haskell-build-system)
4140 (home-page "https://github.com/basvandijk/unbounded-delays")
4141 (synopsis "Unbounded thread delays and timeouts")
4142 (description "The @code{threadDelay} and @code{timeout} functions from the
4143 Haskell base library use the bounded @code{Int} type for specifying the delay
4144 or timeout period. This package provides alternative functions which use the
4145 unbounded @code{Integer} type.")
4146 (license license:bsd-3)))
4148 ;; This package builds `clock` without tests, since the tests rely on tasty
4149 ;; and tasty-quickcheck, which in turn require clock to build. When tasty and
4150 ;; tasty-quickcheck are added, we will add ghc-clock with tests enabled.
4151 (define ghc-clock-bootstrap
4153 (name "ghc-clock-bootstrap")
4159 "https://hackage.haskell.org/package/"
4161 "clock-" version ".tar.gz"))
4163 (base32 "1ncph7vi2q6ywwc8ysxl1ibw6i5dwfvln88ssfazk8jgpj4iyykw"))))
4164 (build-system haskell-build-system)
4165 (arguments `(#:tests? #f)) ;; Testing suite depends on tasty and
4166 ;; tasty-quickcheck, which need clock to build.
4167 (home-page "https://hackage.haskell.org/package/clock")
4168 (synopsis "High-resolution clock for Haskell")
4169 (description "A package for convenient access to high-resolution clock and
4170 timer functions of different operating systems via a unified API.")
4171 (license license:bsd-3)))
4173 (define-public ghc-clock
4181 "https://hackage.haskell.org/package/"
4183 "clock-" version ".tar.gz"))
4185 (base32 "1ncph7vi2q6ywwc8ysxl1ibw6i5dwfvln88ssfazk8jgpj4iyykw"))))
4186 (build-system haskell-build-system)
4188 `(("ghc-tasty" ,ghc-tasty)
4189 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4190 (home-page "https://hackage.haskell.org/package/clock")
4191 (synopsis "High-resolution clock for Haskell")
4192 (description "A package for convenient access to high-resolution clock and
4193 timer functions of different operating systems via a unified API.")
4194 (license license:bsd-3)))
4196 (define-public ghc-charset
4198 (name "ghc-charset")
4204 "https://hackage.haskell.org/package/charset/charset-"
4209 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
4210 (build-system haskell-build-system)
4212 `(("ghc-semigroups" ,ghc-semigroups)
4213 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4214 (home-page "https://github.com/ekmett/charset")
4215 (synopsis "Fast unicode character sets for Haskell")
4216 (description "This package provides fast unicode character sets for
4217 Haskell, based on complemented PATRICIA tries.")
4218 (license license:bsd-3)))
4220 (define-public ghc-bytestring-builder
4222 (name "ghc-bytestring-builder")
4223 (version "0.10.6.0.0")
4228 "https://hackage.haskell.org/package/bytestring-builder"
4229 "/bytestring-builder-" version ".tar.gz"))
4232 "1mkg24zl0rapb3gqzkyj5ibp07wx3yzd72hmfczssl0is63rjhww"))))
4233 (build-system haskell-build-system)
4234 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4235 (home-page "https://hackage.haskell.org/package/bytestring-builder")
4236 (synopsis "The new bytestring builder, packaged outside of GHC")
4237 (description "This package provides the bytestring builder that is
4238 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
4239 Compatibility package for older packages.")
4240 (license license:bsd-3)))
4242 (define-public ghc-nats
4250 "https://hackage.haskell.org/package/nats/nats-"
4255 "0r6s8l4s0yq3x2crrkv0b8zac13magfasr9v8hnq6rn1icsfhic0"))))
4256 (build-system haskell-build-system)
4257 (arguments `(#:haddock? #f))
4259 `(("ghc-hashable" ,ghc-hashable)))
4260 (home-page "https://hackage.haskell.org/package/nats")
4261 (synopsis "Natural numbers")
4262 (description "This library provides the natural numbers for Haskell.")
4263 (license license:bsd-3)))
4265 (define-public ghc-void
4273 "https://hackage.haskell.org/package/void/void-"
4278 "1x15x2axz84ndw2bf60vjqljhrb0w95lddaljsxrl0hcd29zvw69"))))
4279 (build-system haskell-build-system)
4281 `(("ghc-semigroups" ,ghc-semigroups)
4282 ("ghc-hashable" ,ghc-hashable)))
4283 (home-page "https://github.com/ekmett/void")
4285 "Logically uninhabited data type")
4287 "A Haskell 98 logically uninhabited data type, used to indicate that a
4288 given term should not exist.")
4289 (license license:bsd-3)))
4291 (define-public ghc-kan-extensions
4293 (name "ghc-kan-extensions")
4299 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
4304 "0iywbadpy8s3isfzlx9dlz3apaywhqq4gdbxkwygksq8pzdhwkrk"))))
4305 (build-system haskell-build-system)
4307 `(("ghc-adjunctions" ,ghc-adjunctions)
4308 ("ghc-comonad" ,ghc-comonad)
4309 ("ghc-contravariant" ,ghc-contravariant)
4310 ("ghc-distributive" ,ghc-distributive)
4311 ("ghc-free" ,ghc-free)
4312 ("ghc-mtl" ,ghc-mtl)
4313 ("ghc-semigroupoids" ,ghc-semigroupoids)
4314 ("ghc-tagged" ,ghc-tagged)))
4315 (home-page "https://github.com/ekmett/kan-extensions/")
4316 (synopsis "Kan extensions library")
4317 (description "This library provides Kan extensions, Kan lifts, various
4318 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
4319 (license license:bsd-3)))
4321 (define-public ghc-statevar
4323 (name "ghc-statevar")
4329 "https://hackage.haskell.org/package/StateVar/StateVar-"
4334 "1ap51cvwq61xckx5hw44l82ihbxvsq3263xr5hqg42c5qp67kbhf"))))
4335 (build-system haskell-build-system)
4337 `(("ghc-stm" ,ghc-stm)))
4338 (home-page "https://hackage.haskell.org/package/StateVar")
4339 (synopsis "State variables for Haskell")
4340 (description "This package provides state variables, which are references
4341 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
4342 (license license:bsd-3)))
4344 (define-public ghc-lens
4352 "https://hackage.haskell.org/package/lens/lens-"
4357 "0g4g0xksrb2m8wgsmraaq8qnk1sssb42kr65fc7clgyid6zyfmim"))))
4358 (build-system haskell-build-system)
4359 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4361 `(("ghc-base-orphans" ,ghc-base-orphans)
4362 ("ghc-bifunctors" ,ghc-bifunctors)
4363 ("ghc-distributive" ,ghc-distributive)
4364 ("ghc-exceptions" ,ghc-exceptions)
4365 ("ghc-free" ,ghc-free)
4366 ("ghc-kan-extensions" ,ghc-kan-extensions)
4367 ("ghc-parallel" ,ghc-parallel)
4368 ("ghc-reflection" ,ghc-reflection)
4369 ("ghc-semigroupoids" ,ghc-semigroupoids)
4370 ("ghc-vector" ,ghc-vector)
4371 ("ghc-comonad" ,ghc-comonad)
4372 ("ghc-contravariant" ,ghc-contravariant)
4373 ("ghc-hashable" ,ghc-hashable)
4374 ("ghc-mtl" ,ghc-mtl)
4375 ("ghc-profunctors" ,ghc-profunctors)
4376 ("ghc-semigroups" ,ghc-semigroups)
4377 ("ghc-tagged" ,ghc-tagged)
4378 ("ghc-text" ,ghc-text)
4379 ("ghc-transformers-compat" ,ghc-transformers-compat)
4380 ("ghc-unordered-containers" ,ghc-unordered-containers)
4381 ("ghc-void" ,ghc-void)
4382 ("ghc-generic-deriving" ,ghc-generic-deriving)
4383 ("ghc-nats" ,ghc-nats)
4384 ("ghc-simple-reflect" ,ghc-simple-reflect)
4386 (home-page "https://github.com/ekmett/lens/")
4387 (synopsis "Lenses, Folds and Traversals")
4388 (description "This library provides @code{Control.Lens}. The combinators
4389 in @code{Control.Lens} provide a highly generic toolbox for composing families
4390 of getters, folds, isomorphisms, traversals, setters and lenses and their
4392 (license license:bsd-3)))
4394 (define-public ghc-tagsoup
4396 (name "ghc-tagsoup")
4402 "https://hackage.haskell.org/package/tagsoup/tagsoup-"
4407 "07pax7i0bl79dmqqz58zy09yrgpnyyr2ya0z183hv96kp65jv0lh"))))
4408 (build-system haskell-build-system)
4409 (inputs `(("ghc-text" ,ghc-text)))
4411 "http://community.haskell.org/~ndm/tagsoup/")
4413 "Parsing and extracting information from (possibly malformed) HTML/XML
4416 "TagSoup is a library for parsing HTML/XML. It supports the HTML 5
4417 specification, and can be used to parse either well-formed XML, or
4418 unstructured and malformed HTML from the web. The library also provides
4419 useful functions to extract information from an HTML document, making it ideal
4420 for screen-scraping.")
4421 (license license:bsd-3)))
4423 (define-public ghc-digest
4431 "https://hackage.haskell.org/package/digest/digest-"
4436 "04gy2zp8yzvv7j9bdfvmfzcz3sqyqa6rwslqcn4vyair2vmif5v4"))))
4437 (build-system haskell-build-system)
4441 "https://hackage.haskell.org/package/digest")
4443 "Various cryptographic hashes for bytestrings")
4445 "This package provides efficient cryptographic hash implementations for
4446 strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; they
4447 are implemented as FFI bindings to efficient code from zlib.")
4448 (license license:bsd-3)))
4450 (define-public ghc-cheapskate
4452 (name "ghc-cheapskate")
4458 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
4463 "0drx1hlqvdcrij4097q6bxhbfcqm73jsqv1wwhd3hsnjdmr46ch2"))))
4464 (build-system haskell-build-system)
4466 `(("ghc-xss-sanitize" ,ghc-xss-sanitize)
4467 ("ghc-data-default" ,ghc-data-default)
4468 ("ghc-mtl" ,ghc-mtl)
4469 ("ghc-text" ,ghc-text)
4470 ("ghc-blaze-html" ,ghc-blaze-html)
4471 ("ghc-syb" ,ghc-syb)
4472 ("ghc-uniplate" ,ghc-uniplate)
4473 ("ghc-aeson" ,ghc-aeson)
4474 ("ghc-wai-extra" ,ghc-wai-extra)
4475 ("ghc-wai" ,ghc-wai)
4476 ("ghc-http-types" ,ghc-http-types)))
4477 (home-page "https://github.com/jgm/cheapskate")
4478 (synopsis "Experimental markdown processor")
4479 (description "Cheapskate is an experimental Markdown processor in pure
4480 Haskell. It aims to process Markdown efficiently and in the most forgiving
4481 possible way. It is designed to deal with any input, including garbage, with
4482 linear performance. Output is sanitized by default for protection against XSS
4484 (license license:bsd-3)))
4486 (define-public ghc-bifunctors
4488 (name "ghc-bifunctors")
4494 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
4499 "13990xdgx0n23qgi18ghhmsywj5zkr0a5bim0g8a4nzi0cx95ps1"))))
4500 (build-system haskell-build-system)
4502 `(("ghc-tagged" ,ghc-tagged)
4503 ("ghc-semigroups" ,ghc-semigroups)))
4504 (home-page "https://github.com/ekmett/bifunctors/")
4505 (synopsis "Bifunctors for Haskell")
4506 (description "This package provides bifunctors for Haskell.")
4507 (license license:bsd-3)))
4509 (define-public ghc-semigroupoids
4511 (name "ghc-semigroupoids")
4517 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
4522 "1jf7jnfhdvl6p18wdr21yi2fim1xb8alcn6szhrdswj0dkilgq6d"))))
4523 (build-system haskell-build-system)
4524 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4526 `(("ghc-base-orphans" ,ghc-base-orphans)
4527 ("ghc-transformers-compat" ,ghc-transformers-compat)
4528 ("ghc-bifunctors" ,ghc-bifunctors)
4529 ("ghc-comonad" ,ghc-comonad)
4530 ("ghc-contravariant" ,ghc-contravariant)
4531 ("ghc-distributive" ,ghc-distributive)
4532 ("ghc-semigroups" ,ghc-semigroups)
4533 ("ghc-tagged" ,ghc-tagged)))
4534 (home-page "https://github.com/ekmett/semigroupoids")
4535 (synopsis "Semigroupoids operations for Haskell")
4536 (description "This library provides a wide array of (semi)groupoids and
4537 operations for working with them. A @code{Semigroupoid} is a @code{Category}
4538 without the requirement of identity arrows for every object in the category.
4539 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
4540 Finally, to work with these weaker structures it is beneficial to have
4541 containers that can provide stronger guarantees about their contents, so
4542 versions of @code{Traversable} and @code{Foldable} that can be folded with
4543 just a @code{Semigroup} are added.")
4544 (license license:bsd-3)))
4546 (define-public ghc-contravariant
4548 (name "ghc-contravariant")
4554 "https://hackage.haskell.org/package/contravariant/contravariant-"
4559 "184hcmhsznqrkmqlc1kza9pb5p591anva574ry8wrh81vqmhwfb5"))))
4560 (build-system haskell-build-system)
4562 `(("ghc-void" ,ghc-void)
4563 ("ghc-transformers-compat" ,ghc-transformers-compat)
4564 ("ghc-statevar" ,ghc-statevar)
4565 ("ghc-semigroups" ,ghc-semigroups)))
4567 "https://github.com/ekmett/contravariant/")
4568 (synopsis "Contravariant functors")
4569 (description "Contravariant functors for Haskell.")
4570 (license license:bsd-3)))
4572 (define-public ghc-semigroups
4574 (name "ghc-semigroups")
4575 (version "0.17.0.1")
4580 "https://hackage.haskell.org/package/semigroups/semigroups-"
4585 "0gvpfi7s6ys4qha3y9a1zl1a15gf9cgg33wjb94ghg82ivcxnc3r"))))
4586 (build-system haskell-build-system)
4588 `(("ghc-nats" ,ghc-nats)
4589 ("ghc-tagged" ,ghc-tagged)
4590 ("ghc-unordered-containers" ,ghc-unordered-containers)
4591 ("ghc-text" ,ghc-text)
4592 ("ghc-hashable" ,ghc-hashable)))
4593 (home-page "https://github.com/ekmett/semigroups/")
4594 (synopsis "Semigroup operations for Haskell")
4595 (description "This package provides semigroups for Haskell. In
4596 mathematics, a semigroup is an algebraic structure consisting of a set
4597 together with an associative binary operation. A semigroup generalizes a
4598 monoid in that there might not exist an identity element. It
4599 also (originally) generalized a group (a monoid with all inverses) to a type
4600 where every element did not have to have an inverse, thus the name
4602 (license license:bsd-3)))
4604 (define-public ghc-free
4612 "https://hackage.haskell.org/package/free/free-"
4617 "0sr8phvrb4ny8j1wzq55rdn8q4br23q4pw2j276npr844825jr9p"))))
4618 (build-system haskell-build-system)
4620 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4621 ("ghc-profunctors" ,ghc-profunctors)
4622 ("ghc-exceptions" ,ghc-exceptions)
4623 ("ghc-bifunctors" ,ghc-bifunctors)
4624 ("ghc-comonad" ,ghc-comonad)
4625 ("ghc-distributive" ,ghc-distributive)
4626 ("ghc-mtl" ,ghc-mtl)
4627 ("ghc-semigroupoids" ,ghc-semigroupoids)
4628 ("ghc-semigroups" ,ghc-semigroups)))
4629 (home-page "https://github.com/ekmett/free/")
4630 (synopsis "Unrestricted monads for Haskell")
4631 (description "This library provides free monads, which are useful for many
4632 tree-like structures and domain specific languages. If @code{f} is a
4633 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4634 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4635 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4636 f} makes no constraining assumptions beyond those given by @code{f} and the
4637 definition of @code{Monad}.")
4638 (license license:bsd-3)))
4640 (define-public ghc-adjunctions
4642 (name "ghc-adjunctions")
4648 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
4653 "00p030iypjzjib8pxz1x6mxfi59wvyrwjj11zv9bh766dgkdbwjq"))))
4654 (build-system haskell-build-system)
4656 `(("ghc-profunctors" ,ghc-profunctors)
4657 ("ghc-comonad" ,ghc-comonad)
4658 ("ghc-contravariant" ,ghc-contravariant)
4659 ("ghc-distributive" ,ghc-distributive)
4660 ("ghc-free" ,ghc-free)
4661 ("ghc-mtl" ,ghc-mtl)
4662 ("ghc-tagged" ,ghc-tagged)
4663 ("ghc-semigroupoids" ,ghc-semigroupoids)
4664 ("ghc-semigroups" ,ghc-semigroups)
4665 ("ghc-void" ,ghc-void)))
4666 (home-page "https://github.com/ekmett/adjunctions/")
4667 (synopsis "Adjunctions and representable functors")
4668 (description "This library provides adjunctions and representable functors
4670 (license license:bsd-3)))
4672 (define-public ghc-fast-logger
4674 (name "ghc-fast-logger")
4680 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
4685 "0kjk1861qcls8m8y7i55msfpprws5wk6c5mxzi35g2qbl2sih4p5"))))
4686 (build-system haskell-build-system)
4688 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
4689 ("ghc-auto-update" ,ghc-auto-update)
4690 ("ghc-text" ,ghc-text)))
4692 `(("hspec-discover" ,hspec-discover)
4693 ("ghc-hspec" ,ghc-hspec)))
4694 (home-page "https://hackage.haskell.org/package/fast-logger")
4695 (synopsis "Fast logging system")
4696 (description "This library provides a fast logging system for Haskell.")
4697 (license license:bsd-3)))
4699 (define-public ghc-doctest
4701 (name "ghc-doctest")
4707 "https://hackage.haskell.org/package/doctest/doctest-"
4712 "1jbyhzbi2hfrfg7vbkpj6vriaap8cn99nnmzwcfscwaijz09jyrm"))))
4713 (build-system haskell-build-system)
4714 (arguments `(#:tests? #f)) ; FIXME: missing test framework
4716 `(("ghc-syb" ,ghc-syb)
4717 ("ghc-paths" ,ghc-paths)
4718 ("ghc-base-compat" ,ghc-base-compat)
4719 ("ghc-hunit" ,ghc-hunit)
4720 ("ghc-hspec" ,ghc-hspec)
4721 ("ghc-quickcheck" ,ghc-quickcheck)
4722 ("ghc-stringbuilder" ,ghc-stringbuilder)
4723 ("ghc-silently" ,ghc-silently)
4724 ("ghc-setenv" ,ghc-setenv)))
4726 "https://github.com/sol/doctest#readme")
4727 (synopsis "Test interactive Haskell examples")
4728 (description "The doctest program checks examples in source code comments.
4729 It is modeled after doctest for Python, see
4730 @uref{http://docs.python.org/library/doctest.html, the Doctest website}.")
4731 (license license:expat)))
4733 (define-public ghc-lifted-base
4735 (name "ghc-lifted-base")
4741 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
4746 "1yz14a1rsgknwyl08n4kxrlc26hfwmb95a3c2drbnsgmhdyq7iap"))))
4747 (build-system haskell-build-system)
4748 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
4750 `(("ghc-transformers-base" ,ghc-transformers-base)
4751 ("ghc-monad-control" ,ghc-monad-control)
4752 ("ghc-transformers-compat" ,ghc-transformers-compat)
4753 ("ghc-hunit" ,ghc-hunit)))
4754 (home-page "https://github.com/basvandijk/lifted-base")
4755 (synopsis "Lifted IO operations from the base library")
4756 (description "Lifted-base exports IO operations from the @code{base}
4757 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
4758 Note that not all modules from @code{base} are converted yet. The package
4759 includes a copy of the @code{monad-peel} test suite written by Anders
4761 (license license:bsd-3)))
4763 (define-public ghc-word8
4771 "https://hackage.haskell.org/package/word8/word8-"
4776 "1pbn8ra3qhwvw07p375cdmp7jzlg07hgdcr4cpscz3h7b9sy7fiw"))))
4777 (build-system haskell-build-system)
4779 `(("ghc-hspec" ,ghc-hspec)
4780 ("hspec-discover" ,hspec-discover)))
4781 (home-page "https://hackage.haskell.org/package/word8")
4782 (synopsis "Word8 library for Haskell")
4783 (description "Word8 library to be used with @code{Data.ByteString}.")
4784 (license license:bsd-3)))
4786 (define-public ghc-stringsearch
4788 (name "ghc-stringsearch")
4794 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
4799 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
4800 (build-system haskell-build-system)
4801 (home-page "https://bitbucket.org/dafis/stringsearch")
4802 (synopsis "Fast searching, splitting and replacing of ByteStrings")
4803 (description "This package provides several functions to quickly search
4804 for substrings in strict or lazy @code{ByteStrings}. It also provides
4805 functions for breaking or splitting on substrings and replacing all
4806 occurrences of a substring (the first in case of overlaps) with another.")
4807 (license license:bsd-3)))
4809 (define-public ghc-tasty-quickcheck
4811 (name "ghc-tasty-quickcheck")
4817 "https://hackage.haskell.org/package/tasty-quickcheck/"
4818 "tasty-quickcheck-" version ".tar.gz"))
4821 "15rjxib5jmjq0hzj47x15kgp3awc73va4cy1pmpf7k3hvfv4qprn"))))
4822 (build-system haskell-build-system)
4824 `(("ghc-quickcheck" ,ghc-quickcheck)
4825 ("ghc-tagged" ,ghc-tagged)
4826 ("ghc-tasty" ,ghc-tasty)
4827 ("ghc-random" ,ghc-random)
4828 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
4829 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4830 ("ghc-pcre-light" ,ghc-pcre-light)))
4831 (home-page "http://documentup.com/feuerbach/tasty")
4832 (synopsis "QuickCheck support for the Tasty test framework")
4833 (description "This package provides QuickCheck support for the Tasty
4834 Haskell test framework.")
4835 (license license:expat)))
4837 (define-public ghc-tasty-golden
4839 (name "ghc-tasty-golden")
4845 "https://hackage.haskell.org/package/tasty-golden/tasty-golden-"
4850 "0n7nll1sx75n3lffwhgnjrxdn0jz1g0921z9mj193fxqw0wz8axh"))))
4851 (build-system haskell-build-system)
4853 `(("ghc-temporary" ,ghc-temporary)
4854 ("ghc-tasty" ,ghc-tasty)
4855 ("ghc-mtl" ,ghc-mtl)
4856 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
4857 ("ghc-tagged" ,ghc-tagged)
4858 ("ghc-async" ,ghc-async)
4859 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4860 ("ghc-temporary-rc" ,ghc-temporary-rc)))
4862 "https://github.com/feuerbach/tasty-golden")
4863 (synopsis "Golden tests support for tasty")
4865 "This package provides support for 'golden testing'. A golden test is an
4866 IO action that writes its result to a file. To pass the test, this output
4867 file should be identical to the corresponding 'golden' file, which contains
4868 the correct result for the test.")
4869 (license license:expat)))
4871 (define-public ghc-tasty
4874 (version "0.11.0.1")
4879 "https://hackage.haskell.org/package/tasty/tasty-"
4884 "1chapivmmwsb1ghwagvdm80bfj3hdk75m94z4p212ng2i4ghpjkx"))))
4885 (build-system haskell-build-system)
4887 `(("ghc-stm" ,ghc-stm)
4888 ("ghc-mtl" ,ghc-mtl)
4889 ("ghc-tagged" ,ghc-tagged)
4890 ("ghc-regex-tdfa-rc" ,ghc-regex-tdfa-rc)
4891 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
4892 ("ghc-unbounded-delays" ,ghc-unbounded-delays)
4893 ("ghc-async" ,ghc-async)
4894 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
4895 ("ghc-clock-bootstrap" ,ghc-clock-bootstrap)))
4896 (home-page "http://documentup.com/feuerbach/tasty")
4897 (synopsis "Modern and extensible testing framework")
4898 (description "Tasty is a modern testing framework for Haskell. It lets
4899 you combine your unit tests, golden tests, QuickCheck/SmallCheck properties,
4900 and any other types of tests into a single test suite.")
4901 (license license:expat)))
4903 (define-public ghc-tasty-hunit
4905 (name "ghc-tasty-hunit")
4911 "https://hackage.haskell.org/package/tasty-hunit/tasty-hunit-"
4916 "08qnxaw34wfnzi9irs1jd4d0zczqm3k5ffkd4zwhkz0dflmgq7mf"))))
4917 (build-system haskell-build-system)
4919 `(("ghc-tasty" ,ghc-tasty)))
4920 (home-page "http://documentup.com/feuerbach/tasty")
4921 (synopsis "HUnit support for the Tasty test framework")
4922 (description "This package provides HUnit support for the Tasty Haskell
4924 (license license:expat)))
4926 (define-public ghc-cookie
4934 "https://hackage.haskell.org/package/cookie/cookie-"
4939 "0b6ym6fn29p5az4dwydy036lxj131kagrmgb93w4bbkqfkds8b9s"))))
4940 (build-system haskell-build-system)
4942 `(("ghc-old-locale" ,ghc-old-locale)
4943 ("ghc-blaze-builder" ,ghc-blaze-builder)
4944 ("ghc-text" ,ghc-text)
4945 ("ghc-data-default-class" ,ghc-data-default-class)
4946 ("ghc-hunit" ,ghc-hunit)
4947 ("ghc-quickcheck" ,ghc-quickcheck)
4948 ("ghc-tasty" ,ghc-tasty)
4949 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4950 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4951 (home-page "https://github.com/snoyberg/cookie")
4952 (synopsis "HTTP cookie parsing and rendering")
4953 (description "HTTP cookie parsing and rendering library for Haskell.")
4954 (license license:bsd-3)))
4956 (define-public ghc-scientific
4958 (name "ghc-scientific")
4964 "https://hackage.haskell.org/package/scientific/scientific-"
4969 "0mimdkva0cgzaychr6whv9if29z0r5wwhkss9bmd4rz8kq1kgngn"))))
4970 (build-system haskell-build-system)
4972 `(("ghc-hashable" ,ghc-hashable)
4973 ("ghc-vector" ,ghc-vector)
4974 ("ghc-text" ,ghc-text)
4975 ("ghc-tasty" ,ghc-tasty)
4976 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
4977 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4978 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
4979 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
4980 ("ghc-smallcheck" ,ghc-smallcheck)
4981 ("ghc-quickcheck" ,ghc-quickcheck)))
4982 (home-page "https://github.com/basvandijk/scientific")
4983 (synopsis "Numbers represented using scientific notation")
4984 (description "This package provides @code{Data.Scientific}, which provides
4985 the number type @code{Scientific}. Scientific numbers are arbitrary precision
4986 and space efficient. They are represented using
4987 @uref{http://en.wikipedia.org/wiki/Scientific_notation, scientific
4989 (license license:bsd-3)))
4991 (define-public ghc-aeson
4994 (version "0.10.0.0")
4999 "https://hackage.haskell.org/package/aeson/aeson-"
5004 "19kp33rfivr4d3myyr8xn803wd7p8x5nc4wb3qvlgjwgyqjaxvrz"))))
5005 (build-system haskell-build-system)
5006 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
5008 `(("ghc-attoparsec" ,ghc-attoparsec)
5009 ("ghc-dlist" ,ghc-dlist)
5010 ("ghc-mtl" ,ghc-mtl)
5011 ("ghc-scientific" ,ghc-scientific)
5012 ("ghc-syb" ,ghc-syb)
5013 ("ghc-unordered-containers" ,ghc-unordered-containers)
5014 ("ghc-vector" ,ghc-vector)
5015 ("ghc-hashable" ,ghc-hashable)
5016 ("ghc-text" ,ghc-text)
5017 ("ghc-hunit" ,ghc-hunit)
5018 ("ghc-quickcheck" ,ghc-quickcheck)))
5019 (home-page "https://github.com/bos/aeson")
5020 (synopsis "Fast JSON parsing and encoding")
5021 (description "This package provides a JSON parsing and encoding library
5022 for Haskell, optimized for ease of use and high performance. (A note on
5023 naming: in Greek mythology, Aeson was the father of Jason.)")
5024 (license license:bsd-3)))
5026 (define-public ghc-aeson-pretty
5028 (name "ghc-aeson-pretty")
5033 "https://hackage.haskell.org/package/aeson-pretty/aeson-pretty-"
5037 "03ap81853qi8yd9kdgczllrrni23a6glsfxrwj8zab6ipjrbh234"))))
5038 (build-system haskell-build-system)
5040 `(("ghc-aeson" ,ghc-aeson)
5041 ("ghc-vector" ,ghc-vector)
5042 ("ghc-text" ,ghc-text)
5043 ("ghc-unordered-containers"
5044 ,ghc-unordered-containers)
5045 ("ghc-attoparsec" ,ghc-attoparsec)
5046 ("ghc-cmdargs" ,ghc-cmdargs)))
5047 (home-page "https://github.com/informatikr/aeson-pretty")
5048 (synopsis "JSON pretty-printing library and command-line tool")
5050 "This package provides a JSON pretty-printing library compatible with aeson
5051 as well as a command-line tool to improve readabilty of streams of JSON data.
5052 The library provides the function @code{encodePretty}. It is a drop-in
5053 replacement for aeson's @code{encode} function, producing JSON-ByteStrings for
5054 human readers. The command-line tool reads JSON from stdin and writes
5055 prettified JSON to stdout. It also offers a complementary \"compact\"-mode,
5056 essentially the opposite of pretty-printing.")
5057 (license license:bsd-3)))
5059 (define-public ghc-wai
5067 "https://hackage.haskell.org/package/wai/wai-"
5072 "1551n0g0n22vml33v0jz5xgjcy6j79algvsdqg11a1z5ljjrjlqf"))))
5073 (build-system haskell-build-system)
5075 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
5076 ("ghc-unix-compat" ,ghc-unix-compat)
5077 ("ghc-vault" ,ghc-vault)
5078 ("ghc-blaze-builder" ,ghc-blaze-builder)
5079 ("ghc-network" ,ghc-network)
5080 ("ghc-text" ,ghc-text)
5081 ("ghc-http-types" ,ghc-http-types)))
5083 `(("hspec-discover" ,hspec-discover)
5084 ("ghc-quickcheck" ,ghc-quickcheck)
5085 ("ghc-hunit" ,ghc-hunit)
5086 ("ghc-hspec" ,ghc-hspec)))
5087 (home-page "https://hackage.haskell.org/package/wai")
5088 (synopsis "Web application interface for Haskell")
5089 (description "This package provides a Web Application Interface (WAI)
5090 library for the Haskell language. It defines a common protocol for
5091 communication between web applications and web servers.")
5092 (license license:bsd-3)))
5094 (define-public ghc-wai-logger
5096 (name "ghc-wai-logger")
5102 "https://hackage.haskell.org/package/wai-logger/wai-logger-"
5107 "1s6svvy3ci4j1dj1jaw8hg628miwj8f5gpy9n8d8hpsaxav6nzgk"))))
5108 (build-system haskell-build-system)
5109 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find libraries exported
5110 ; by propagated-inputs.
5112 `(("ghc-auto-update" ,ghc-auto-update)
5113 ("ghc-byteorder" ,ghc-byteorder)
5114 ("ghc-easy-file" ,ghc-easy-file)
5115 ("ghc-unix-time" ,ghc-unix-time)
5116 ("ghc-blaze-builder" ,ghc-blaze-builder)
5117 ("ghc-case-insensitive" ,ghc-case-insensitive)
5118 ("ghc-fast-logger" ,ghc-fast-logger)
5119 ("ghc-http-types" ,ghc-http-types)
5120 ("ghc-network" ,ghc-network)
5121 ("ghc-wai" ,ghc-wai)))
5122 (home-page "https://hackage.haskell.org/package/wai-logger")
5123 (synopsis "Logging system for WAI")
5124 (description "This package provides the logging system for WAI.")
5125 (license license:bsd-3)))
5127 (define-public ghc-wai-extra
5129 (name "ghc-wai-extra")
5130 (version "3.0.11.1")
5135 "https://hackage.haskell.org/package/wai-extra/wai-extra-"
5140 "1kr2s5qyx1dvnwr372h7pca4sgxjv0pdx96xkgsfi180h3mb0vq8"))))
5141 (build-system haskell-build-system)
5143 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
5144 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
5145 ("ghc-cookie" ,ghc-cookie)
5146 ("ghc-blaze-builder" ,ghc-blaze-builder)
5147 ("ghc-network" ,ghc-network)
5148 ("ghc-lifted-base" ,ghc-lifted-base)
5149 ("ghc-streaming-commons" ,ghc-streaming-commons)
5150 ("ghc-stringsearch" ,ghc-stringsearch)
5151 ("ghc-resourcet" ,ghc-resourcet)
5152 ("ghc-fast-logger" ,ghc-fast-logger)
5153 ("ghc-wai-logger" ,ghc-wai-logger)
5154 ("ghc-zlib" ,ghc-zlib)
5155 ("ghc-word8" ,ghc-word8)
5156 ("ghc-iproute" ,ghc-iproute)
5157 ("ghc-void" ,ghc-void)
5158 ("ghc-wai" ,ghc-wai)
5159 ("ghc-http-types" ,ghc-http-types)
5160 ("ghc-text" ,ghc-text)
5161 ("ghc-case-insensitive" ,ghc-case-insensitive)
5162 ("ghc-data-default-class" ,ghc-data-default-class)
5163 ("ghc-unix-compat" ,ghc-unix-compat)
5164 ("ghc-vault" ,ghc-vault)
5165 ("ghc-aeson" ,ghc-aeson)))
5167 `(("hspec-discover" ,hspec-discover)
5168 ("ghc-hspec" ,ghc-hspec)
5169 ("ghc-hunit" ,ghc-hunit)))
5170 (home-page "https://github.com/yesodweb/wai")
5171 (synopsis "Some basic WAI handlers and middleware")
5172 (description "This library provides basic WAI handlers and middleware
5174 (license license:expat)))
5176 (define-public ghc-deepseq-generics
5178 (name "ghc-deepseq-generics")
5182 (uri (string-append "https://hackage.haskell.org/package/"
5183 "deepseq-generics/deepseq-generics-"
5187 "01pvigx8n9p8hwbzp2qiq6kzf7cxiam843jz2sjgliacmmp1v7l3"))))
5188 (build-system haskell-build-system)
5191 (modify-phases %standard-phases
5192 (add-after 'unpack 'relax-ghc-prim-dependency
5194 (substitute* "deepseq-generics.cabal"
5195 (("< 0.4") "< 0.5"))
5198 `(("ghc-hunit" ,ghc-hunit)
5199 ("ghc-test-framework" ,ghc-test-framework)
5200 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5201 (home-page "https://github.com/hvr/deepseq-generics")
5202 (synopsis "Generic RNF implementation")
5204 "This package provides a @code{GHC.Generics}-based
5205 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
5206 providing an 'rnf' implementation.")
5207 (license license:bsd-3)))
5209 (define-public ghc-pandoc-types
5211 (name "ghc-pandoc-types")
5212 (version "1.16.1.1")
5215 (uri (string-append "https://hackage.haskell.org/package/"
5216 "pandoc-types/pandoc-types-"
5220 "094mzgdxva84kcpjf9m8b5n3chm1wm44bzflh5x6xhddz6pb7zpq"))))
5221 (build-system haskell-build-system)
5223 `(("ghc-syb" ,ghc-syb)
5224 ("ghc-aeson" ,ghc-aeson)
5225 ("ghc-deepseq-generics" ,ghc-deepseq-generics)))
5226 (home-page "http://johnmacfarlane.net/pandoc")
5227 (synopsis "Types for representing a structured document")
5229 "This module defines the @code{Pandoc} data structure, which is used by
5230 pandoc to represent structured documents. It also provides functions for
5231 building up, manipulating and serialising @code{Pandoc} structures.")
5232 (license license:bsd-3)))
5234 (define-public ghc-texmath
5236 (name "ghc-texmath")
5240 (uri (string-append "https://hackage.haskell.org/package/"
5241 "texmath/texmath-" version ".tar.gz"))
5244 "143c8k7dyhwa9blpa8svy23ybx7i4xzb9jnfcimj8iigizbw7y1k"))))
5245 (build-system haskell-build-system)
5247 `(("ghc-syb" ,ghc-syb)
5248 ("ghc-network-uri" ,ghc-network-uri)
5249 ("ghc-split" ,ghc-split)
5250 ("ghc-temporary" ,ghc-temporary)
5251 ("ghc-utf8-string" ,ghc-utf8-string)
5252 ("ghc-xml" ,ghc-xml)
5253 ("ghc-parsec" ,ghc-parsec)
5254 ("ghc-mtl" ,ghc-mtl)
5255 ("ghc-pandoc-types" ,ghc-pandoc-types)))
5256 (home-page "https://github.com/jgm/texmath")
5257 (synopsis "Conversion between formats used to represent mathematics")
5259 "The texmath library provides functions to read and write TeX math,
5260 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
5261 Office). Support is also included for converting math formats to pandoc's
5262 native format (allowing conversion, via pandoc, to a variety of different
5263 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
5264 it can parse and apply LaTeX macros.")
5265 (license license:gpl2+)))
5267 (define-public ghc-regex-pcre-builtin
5269 (name "ghc-regex-pcre-builtin")
5270 (version "0.94.4.8.8.35")
5273 (uri (string-append "https://hackage.haskell.org/package/"
5274 "regex-pcre-builtin/regex-pcre-builtin-"
5278 "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b"))))
5279 (build-system haskell-build-system)
5281 `(("ghc-regex-base" ,ghc-regex-base)))
5282 (home-page "https://hackage.haskell.org/package/regex-pcre")
5283 (synopsis "Enhancement of the builtin Text.Regex library")
5285 "This package is an enhancement of the @code{Text.Regex} library,
5286 providing the PCRE backend to accompany regex-base, with bundled code from
5287 @url{http://www.pcre.org}.")
5288 (license license:bsd-3)))
5290 (define-public ghc-diff
5296 (uri (string-append "https://hackage.haskell.org/package/"
5297 "Diff/Diff-" version ".tar.gz"))
5300 "13iqqmpadcm7fvqwbfrz94w030rvjh66w2bdls1253128ac2n0vz"))))
5301 (build-system haskell-build-system)
5302 (home-page "http://hub.darcs.net/sterlingclover/Diff")
5303 (synopsis "O(ND) diff algorithm in Haskell")
5305 "This package provides an implementation of the standard diff algorithm,
5306 and utilities for pretty printing.")
5307 (license license:bsd-3)))
5309 (define-public ghc-highlighting-kate
5311 (name "ghc-highlighting-kate")
5315 (uri (string-append "https://hackage.haskell.org/package/"
5316 "highlighting-kate/highlighting-kate-"
5320 "03c4flh4h1jd48bx0qmplax3q8w6wj1dhbh6j0xhaf5h95fbinki"))))
5321 (build-system haskell-build-system)
5323 `(("ghc-diff" ,ghc-diff)
5324 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5326 `(("ghc-parsec" ,ghc-parsec)
5327 ("ghc-blaze-html" ,ghc-blaze-html)
5328 ("ghc-utf8-string" ,ghc-utf8-string)
5329 ("ghc-mtl" ,ghc-mtl)))
5330 (home-page "https://github.com/jgm/highlighting-kate")
5331 (synopsis "Syntax highlighting library")
5333 "Highlighting-kate is a syntax highlighting library with support for
5334 nearly one hundred languages. The syntax parsers are automatically generated
5335 from @uref{http://kate-editor.org/, Kate syntax descriptions}, so any syntax
5336 supported by Kate can be added. An (optional) command-line program is
5337 provided, along with a utility for generating new parsers from Kate XML syntax
5339 (license license:gpl2+)))
5341 (define-public ghc-cmark
5347 (uri (string-append "https://hackage.haskell.org/package/"
5348 "cmark/cmark-" version ".tar.gz"))
5351 "09515h9b26az9c2mbl6l7azimaixa6yff8w359k0ml8jwykjvqaa"))))
5352 (build-system haskell-build-system)
5354 `(("ghc-text" ,ghc-text)))
5356 `(("ghc-hunit" ,ghc-hunit)))
5357 (home-page "https://github.com/jgm/commonmark-hs")
5358 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
5360 "This package provides Haskell bindings for
5361 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
5362 CommonMark, a fully specified variant of Markdown. It includes sources for
5363 libcmark (0.21.0) and does not require prior installation of the C library.")
5364 (license license:bsd-3)))
5366 (define-public ghc-executable-path
5368 (name "ghc-executable-path")
5372 (uri (string-append "https://hackage.haskell.org/package/"
5373 "executable-path/executable-path-"
5377 "1jg58qf19qz93c60ryglcavwdcysz4fd4qn8kpw5im9w9kniawlc"))))
5378 (build-system haskell-build-system)
5379 (home-page "https://hackage.haskell.org/package/executable-path")
5380 (synopsis "Find out the full path of the executable")
5382 "The documentation of @code{System.Environment.getProgName} says that
5383 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
5384 instead, for maximum portability, we just return the leafname of the program
5385 as invoked.\" This library tries to provide the missing path.")
5386 (license license:public-domain)))
5388 (define-public ghc-enclosed-exceptions
5390 (name "ghc-enclosed-exceptions")
5394 (uri (string-append "https://hackage.haskell.org/package/"
5395 "enclosed-exceptions/enclosed-exceptions-"
5399 "16ax1kqdsk4apg642qxkm2hf9vb5hzmkd14zmkxra8ssp8rn28z5"))))
5400 (build-system haskell-build-system)
5402 `(("ghc-lifted-base" ,ghc-lifted-base)
5403 ("ghc-monad-control" ,ghc-monad-control)
5404 ("ghc-async" ,ghc-async)
5405 ("ghc-transformers-base" ,ghc-transformers-base)))
5407 `(("ghc-hspec" ,ghc-hspec)
5408 ("ghc-quickcheck" ,ghc-quickcheck)))
5409 (home-page "https://github.com/jcristovao/enclosed-exceptions")
5410 (synopsis "Catch all exceptions from within an enclosed computation")
5412 "This library implements a technique to catch all exceptions raised
5413 within an enclosed computation, while remaining responsive to (external)
5414 asynchronous exceptions.")
5415 (license license:expat)))
5417 (define-public ghc-packedstring
5419 (name "ghc-packedstring")
5423 (uri (string-append "https://hackage.haskell.org/package/"
5424 "packedstring/packedstring-"
5428 "1x78pzzdlnpcmh9p37rlf8m5cxf3yqm2alf3whl4zpr9w25r0qj8"))))
5429 (build-system haskell-build-system)
5432 (modify-phases %standard-phases
5433 (add-after 'unpack 'enable-extension
5435 ;; This package won't compile without the StandaloneDeriving
5437 (substitute* "packedstring.cabal"
5438 (("CPP") "CPP, StandaloneDeriving"))
5440 (home-page "https://hackage.haskell.org/package/packedstring")
5441 (synopsis "Library for packed strings")
5443 "This deprecated library provides an implementation of packed strings.")
5444 (license license:bsd-3)))
5446 (define-public ghc-th-lift
5448 (name "ghc-th-lift")
5452 (uri (string-append "https://hackage.haskell.org/package/"
5453 "th-lift/th-lift-" version ".tar.gz"))
5456 "13xdkk1chdghf059sfx8d3d8r0mj1dbzdi5kf2zf0mjmz3qq7m7k"))))
5457 (build-system haskell-build-system)
5459 `(("ghc-packedstring" ,ghc-packedstring)))
5460 (home-page "https://github.com/mboes/th-lift")
5461 (synopsis "Derive Template Haskell's Lift class for datatypes")
5463 "This is a Haskell library to derive Template Haskell's Lift class for
5465 (license license:bsd-3)))
5467 (define-public ghc-th-expand-syns
5469 (name "ghc-th-expand-syns")
5473 (uri (string-append "https://hackage.haskell.org/package/"
5474 "th-expand-syns/th-expand-syns-"
5478 "03qv93pyqk8all39knsf0mzmbfdck5x61kqnyn8rbisw5c1ymx6j"))))
5479 (build-system haskell-build-system)
5481 `(("ghc-syb" ,ghc-syb)))
5482 (home-page "https://hackage.haskell.org/package/th-expand-syns")
5483 (synopsis "Expands type synonyms in Template Haskell ASTs")
5485 "This package enables users to expand type synonyms in Template Haskell
5486 @dfn{abstract syntax trees} (ASTs).")
5487 (license license:bsd-3)))
5489 (define-public ghc-th-reify-many
5491 (name "ghc-th-reify-many")
5495 (uri (string-append "https://hackage.haskell.org/package/"
5496 "th-reify-many/th-reify-many-"
5500 "00hryljcs434wcv1vaamfdbjk857f46djxv7mlwplkl3zsmfhlfx"))))
5501 (build-system haskell-build-system)
5503 `(("ghc-mtl" ,ghc-mtl)
5504 ("ghc-safe" ,ghc-safe)
5505 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
5506 (home-page "https://github.com/mgsloan/th-reify-many")
5507 (synopsis "Recurseively reify template haskell datatype info")
5509 "th-reify-many provides functions for recursively reifying top level
5510 declarations. The main intended use case is for enumerating the names of
5511 datatypes reachable from an initial datatype, and passing these names to some
5512 function which generates instances.")
5513 (license license:bsd-3)))
5515 (define-public ghc-th-orphans
5517 (name "ghc-th-orphans")
5521 (uri (string-append "https://hackage.haskell.org/package/"
5522 "th-orphans/th-orphans-" version ".tar.gz"))
5525 "105y03bxh0a2r69l603i7md17gg1vxs1jj1n40pn5q486lmfxbmx"))))
5526 (build-system haskell-build-system)
5528 `(("ghc-th-lift" ,ghc-th-lift)
5529 ("ghc-th-reify-many" ,ghc-th-reify-many)
5530 ("ghc-mtl" ,ghc-mtl)
5531 ("ghc-generic-deriving" ,ghc-generic-deriving)))
5533 `(("ghc-hspec" ,ghc-hspec)))
5534 (home-page "https://hackage.haskell.org/package/th-orphans")
5535 (synopsis "Orphan instances for TH datatypes")
5537 "This package provides orphan instances for Template Haskell datatypes. In particular,
5538 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
5539 and @code{Eq} instances. These instances used to live in the haskell-src-meta
5540 package, and that's where the version number started.")
5541 (license license:bsd-3)))
5543 (define-public ghc-haskell-src-meta
5545 (name "ghc-haskell-src-meta")
5546 (version "0.6.0.12")
5549 (uri (string-append "https://hackage.haskell.org/package/"
5550 "haskell-src-meta/haskell-src-meta-"
5554 "1mzbfrfvl6pj8068w3m6alzry1403ir1gmz3czg66n5z198l4dql"))))
5555 (build-system haskell-build-system)
5557 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5558 ("ghc-syb" ,ghc-syb)
5559 ("ghc-th-orphans" ,ghc-th-orphans)))
5560 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5561 (synopsis "Parse source to template-haskell abstract syntax")
5563 "This package provides tools to parse Haskell sources to the
5564 template-haskell abstract syntax.")
5565 (license license:bsd-3)))
5567 (define-public ghc-aeson-qq
5569 (name "ghc-aeson-qq")
5573 (uri (string-append "https://hackage.haskell.org/package/"
5574 "aeson-qq/aeson-qq-" version ".tar.gz"))
5577 "1z8kh3qjc4khadz1ijdqm7fbk7dh17sisqhpwd3c9aibj2927k9d"))))
5578 (build-system haskell-build-system)
5580 `(("ghc-base-compat" ,ghc-base-compat)
5581 ("ghc-text" ,ghc-text)
5582 ("ghc-attoparsec" ,ghc-attoparsec)
5583 ("ghc-scientific" ,ghc-scientific)
5584 ("ghc-vector" ,ghc-vector)
5585 ("ghc-aeson" ,ghc-aeson)
5586 ("ghc-parsec" ,ghc-parsec)
5587 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
5589 `(("ghc-hspec" ,ghc-hspec)
5590 ("hspec-discover" ,hspec-discover)))
5591 (home-page "https://github.com/zalora/aeson-qq")
5592 (synopsis "JSON quasiquoter for Haskell")
5594 "aeson-qq provides a JSON quasiquoter for Haskell. This package exposes
5595 the function @code{aesonQQ} that compile-time converts a string representation
5596 of a JSON value into a @code{Data.Aeson.Value}.")
5597 (license license:expat)))
5599 (define-public ghc-conduit
5601 (name "ghc-conduit")
5605 (uri (string-append "https://hackage.haskell.org/package/"
5606 "conduit/conduit-" version ".tar.gz"))
5609 "0aq6wswd5dkhdmy7sjhd99mldpq33dqpgbdcwpm94ahvckqxs7v5"))))
5610 (build-system haskell-build-system)
5612 `(("ghc-exceptions" ,ghc-exceptions)
5613 ("ghc-lifted-base" ,ghc-lifted-base)
5614 ("ghc-mmorph" ,ghc-mmorph)
5615 ("ghc-mtl" ,ghc-mtl)
5616 ("ghc-resourcet" ,ghc-resourcet)
5617 ("ghc-transformers-base" ,ghc-transformers-base)
5618 ("ghc-void" ,ghc-void)))
5620 `(("ghc-quickcheck" ,ghc-quickcheck)
5621 ("ghc-hspec" ,ghc-hspec)
5622 ("ghc-safe" ,ghc-safe)))
5623 (home-page "https://github.com/snoyberg/conduit")
5624 (synopsis "Streaming data library ")
5626 "conduit is a solution to the streaming data problem, allowing for
5627 production, transformation, and consumption of streams of data in constant
5628 memory. It is an alternative to lazy I/O which guarantees deterministic
5629 resource handling, and fits in the same general solution space as
5630 enumerator/iteratee and pipes." )
5631 (license license:expat)))
5633 (define-public ghc-logging-facade
5635 (name "ghc-logging-facade")
5639 (uri (string-append "https://hackage.haskell.org/package/"
5640 "logging-facade/logging-facade-"
5644 "0zhdbjyj0j9by19rma9alxysrxnnl3s4kks4zk4bx0dg5xa0264y"))))
5645 (build-system haskell-build-system)
5647 `(("ghc-hspec" ,ghc-hspec)
5648 ("hspec-discover" ,hspec-discover)))
5649 (home-page "https://hackage.haskell.org/package/logging-facade")
5650 (synopsis "Simple logging abstraction that allows multiple back-ends")
5652 "This package provides a simple logging abstraction that allows multiple
5654 (license license:expat)))
5656 (define-public ghc-mockery
5658 (name "ghc-mockery")
5662 (uri (string-append "https://hackage.haskell.org/package/"
5663 "mockery/mockery-" version ".tar.gz"))
5666 "0m0lp2z63sgkylz5318j53r5hnrkp705qh7nqbb149ir4gy7g1bg"))))
5667 (build-system haskell-build-system)
5669 `(("ghc-temporary" ,ghc-temporary)
5670 ("ghc-logging-facade" ,ghc-logging-facade)))
5672 `(("ghc-hspec" ,ghc-hspec)
5673 ("hspec-discover" ,hspec-discover)))
5674 (home-page "https://hackage.haskell.org/package/mockery")
5675 (synopsis "Support functions for automated testing")
5677 "The mockery package provides support functions for automated testing.")
5678 (license license:expat)))
5680 (define-public ghc-yaml
5683 (version "0.8.15.1")
5686 (uri (string-append "https://hackage.haskell.org/package/"
5687 "yaml/yaml-" version ".tar.gz"))
5690 "0v6c435xmgm99zxb30pqr7lhkb2a56wxqp70g4hjz8p7rj0vichx"))))
5691 (build-system haskell-build-system)
5693 `(("ghc-conduit" ,ghc-conduit)
5694 ("ghc-resourcet" ,ghc-resourcet)
5695 ("ghc-aeson" ,ghc-aeson)
5696 ("ghc-unordered-containers" ,ghc-unordered-containers)
5697 ("ghc-vector" ,ghc-vector)
5698 ("ghc-text" ,ghc-text)
5699 ("ghc-attoparsec" ,ghc-attoparsec)
5700 ("ghc-scientific" ,ghc-scientific)
5701 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
5702 ("ghc-aeson-qq" ,ghc-aeson-qq)
5703 ("ghc-base-compat" ,ghc-base-compat)))
5705 `(("ghc-hspec" ,ghc-hspec)
5706 ("ghc-hunit" ,ghc-hunit)
5707 ("hspec-discover" ,hspec-discover)
5708 ("ghc-mockery" ,ghc-mockery)))
5709 (home-page "https://github.com/snoyberg/yaml/")
5710 (synopsis "Parsing and rendering YAML documents")
5712 "This package provides a library to parse and render YAML documents.")
5713 (license license:bsd-3)))
5715 (define-public ghc-filemanip
5717 (name "ghc-filemanip")
5721 (uri (string-append "https://hackage.haskell.org/package/"
5722 "filemanip/filemanip-" version ".tar.gz"))
5725 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
5726 (build-system haskell-build-system)
5728 `(("ghc-mtl" ,ghc-mtl)
5729 ("ghc-unix-compat" ,ghc-unix-compat)))
5730 (home-page "https://github.com/bos/filemanip")
5731 (synopsis "File and directory manipulation for Haskell")
5733 "This package provides a Haskell library for working with files and
5734 directories. It includes code for pattern matching, finding files, modifying
5735 file contents, and more.")
5736 (license license:bsd-3)))
5738 (define-public ghc-mmap
5744 (uri (string-append "https://hackage.haskell.org/package/"
5745 "mmap/mmap-" version ".tar.gz"))
5748 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
5749 (build-system haskell-build-system)
5750 (home-page "https://hackage.haskell.org/package/mmap")
5751 (synopsis "Memory mapped files for Haskell")
5753 "This library provides a wrapper to @code{mmap}, allowing files or
5754 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
5755 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
5756 do on-demand loading.")
5757 (license license:bsd-3)))
5759 (define-public ghc-juicypixels
5761 (name "ghc-juicypixels")
5765 (uri (string-append "https://hackage.haskell.org/package/"
5766 "JuicyPixels/JuicyPixels-"
5770 "0hxa57cdknz86zywpjwfbdhac5lmk7j0wd5hy4mcnb8mw6r2m592"))))
5771 (build-system haskell-build-system)
5773 `(("ghc-mtl" ,ghc-mtl)
5774 ("ghc-zlib" ,ghc-zlib)
5775 ("ghc-vector" ,ghc-vector)
5776 ("ghc-primitive" ,ghc-primitive)
5777 ("ghc-mmap" ,ghc-mmap)))
5778 (home-page "https://github.com/Twinside/Juicy.Pixels")
5779 (synopsis "Picture loading and serialization library")
5781 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
5782 TIFF and GIF formats.")
5783 (license license:bsd-3)))
5785 (define-public ghc-sha
5791 (uri (string-append "https://hackage.haskell.org/package/"
5792 "SHA/SHA-" version ".tar.gz"))
5795 "134ajm87fm4lpsw86m9q8apv20dw4bpk46raa389zr6bcdpifw64"))))
5796 (build-system haskell-build-system)
5798 `(("ghc-quickcheck" ,ghc-quickcheck)
5799 ("ghc-test-framework" ,ghc-test-framework)
5800 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5801 (home-page "https://hackage.haskell.org/package/SHA")
5802 (synopsis "SHA suite of message digest functions")
5804 "This library implements the SHA suite of message digest functions,
5805 according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as the
5806 SHA-based HMAC routines. The functions have been tested against most of the
5807 NIST and RFC test vectors for the various functions. While some attention has
5808 been paid to performance, these do not presently reach the speed of well-tuned
5809 libraries, like OpenSSL.")
5810 (license license:bsd-3)))
5812 (define-public ghc-hslua
5818 (uri (string-append "https://hackage.haskell.org/package/"
5819 "hslua/hslua-" version ".tar.gz"))
5822 "0gqp6qhp4v24kzv2j49kgk7bxqzw0w10x0zr0r2j9wkfavqb9wid"))))
5823 (build-system haskell-build-system)
5825 `(#:configure-flags '("-fsystem-lua")))
5828 ("ghc-text" ,ghc-text)))
5830 `(("ghc-hspec" ,ghc-hspec)
5831 ("ghc-hspec-contrib" ,ghc-hspec-contrib)
5832 ("hspec-discover" ,hspec-discover)
5833 ("ghc-hunit" ,ghc-hunit)
5834 ("ghc-quickcheck" ,ghc-quickcheck)
5835 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
5836 (home-page "https://hackage.haskell.org/package/hslua")
5837 (synopsis "Lua language interpreter embedding in Haskell")
5839 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
5840 described in @url{http://www.lua.org/}.")
5841 (license license:expat)))
5843 (define-public ghc-mime-types
5845 (name "ghc-mime-types")
5849 (uri (string-append "https://hackage.haskell.org/package/"
5850 "mime-types/mime-types-"
5854 "090z3dp928243amnc6s8g10rk2h2bprk9y138q6wj3cpflzr72pw"))))
5855 (build-system haskell-build-system)
5857 `(("ghc-text" ,ghc-text)))
5858 (home-page "https://github.com/yesodweb/wai")
5859 (synopsis "Basic MIME type handling types and functions")
5861 "This library provides basic MIME type handling types and functions.")
5862 (license license:expat)))
5864 (define-public ghc-http-client
5866 (name "ghc-http-client")
5870 (uri (string-append "https://hackage.haskell.org/package/"
5871 "http-client/http-client-"
5875 "0xz133kdfiyy2rm6z95bmvjj6y2540xzd86cfmdv9s6kz4p1ir4k"))))
5876 (build-system haskell-build-system)
5877 ;; Tests require access to the web.
5878 (arguments `(#:tests? #f))
5880 `(("ghc-text" ,ghc-text)
5881 ("ghc-http-types" ,ghc-http-types)
5882 ("ghc-blaze-builder" ,ghc-blaze-builder)
5883 ("ghc-data-default-class" ,ghc-data-default-class)
5884 ("ghc-network" ,ghc-network)
5885 ("ghc-streaming-commons" ,ghc-streaming-commons)
5886 ("ghc-case-insensitive" ,ghc-case-insensitive)
5887 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
5888 ("ghc-cookie" ,ghc-cookie)
5889 ("ghc-exceptions" ,ghc-exceptions)
5890 ("ghc-random" ,ghc-random)
5891 ("ghc-mime-types" ,ghc-mime-types)
5892 ("ghc-network-uri" ,ghc-network-uri)
5893 ("ghc-monad-control" ,ghc-monad-control)
5894 ("ghc-zlib" ,ghc-zlib)
5895 ("ghc-async" ,ghc-async)))
5897 `(("ghc-hspec" ,ghc-hspec)))
5898 (home-page "https://github.com/snoyberg/http-client")
5899 (synopsis "HTTP client engine")
5901 "This package provides an HTTP client engine, intended as a base layer
5902 for more user-friendly packages.")
5903 (license license:expat)))
5905 (define-public ghc-byteable
5907 (name "ghc-byteable")
5911 (uri (string-append "https://hackage.haskell.org/package/"
5912 "byteable/byteable-" version ".tar.gz"))
5915 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
5916 (build-system haskell-build-system)
5917 (home-page "https://github.com/vincenthz/hs-byteable")
5918 (synopsis "Type class for sequence of bytes")
5920 "This package provides an abstract class to manipulate sequence of bytes.
5921 The use case of this class is abstracting manipulation of types that are just
5922 wrapping a bytestring with stronger and more meaniful name.")
5923 (license license:bsd-3)))
5925 (define-public ghc-hourglass
5927 (name "ghc-hourglass")
5931 (uri (string-append "https://hackage.haskell.org/package/"
5932 "hourglass/hourglass-" version ".tar.gz"))
5935 "1xha17nwzxdjizbcp63d2142c6q051y77facs7xribgcl5iz2m4v"))))
5936 (build-system haskell-build-system)
5938 `(("ghc-mtl" ,ghc-mtl)
5939 ("ghc-old-locale" ,ghc-old-locale)))
5941 `(("ghc-tasty" ,ghc-tasty)
5942 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5943 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5944 (home-page "https://github.com/vincenthz/hs-hourglass")
5945 (synopsis "Simple time-related library for Haskell")
5947 "This is a simple time library providing a simple but powerful and
5948 performant API. The backbone of the library are the @code{Timeable} and
5949 @code{Time} type classes. Each @code{Timeable} instances can be converted to
5950 a type that has a @code{Time} instances, and thus are different
5951 representations of current time.")
5952 (license license:bsd-3)))
5954 (define-public ghc-pem
5960 (uri (string-append "https://hackage.haskell.org/package/"
5961 "pem/pem-" version ".tar.gz"))
5964 "162sk5sg22w21wqz5qv8kx6ibxp99v5p20g3nknhm1kddk3hha1p"))))
5965 (build-system haskell-build-system)
5967 `(("ghc-mtl" ,ghc-mtl)
5968 ("ghc-base64-bytestring" ,ghc-base64-bytestring)))
5970 `(("ghc-test-framework" ,ghc-test-framework)
5971 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5972 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5973 ("ghc-hunit" ,ghc-hunit)
5974 ("ghc-quickcheck" ,ghc-quickcheck)))
5975 (home-page "https://github.com/vincenthz/hs-pem")
5976 (synopsis "Privacy Enhanced Mail (PEM) format reader and writer")
5978 "This library provides readers and writers for the @dfn{Privacy Enhanced
5979 Mail} (PEM) format.")
5980 (license license:bsd-3)))
5982 (define-public ghc-asn1-types
5984 (name "ghc-asn1-types")
5988 (uri (string-append "https://hackage.haskell.org/package/"
5989 "asn1-types/asn1-types-"
5993 "1iif9yrh4mmj249gyvam0zb2vb3jnlz777gahh2z9sx00dsx9rja"))))
5994 (build-system haskell-build-system)
5996 `(("ghc-memory" ,ghc-memory)
5997 ("ghc-hourglass" ,ghc-hourglass)))
5998 (home-page "https://github.com/vincenthz/hs-asn1-types")
5999 (synopsis "ASN.1 types for Haskell")
6001 "The package provides the standard types for dealing with the ASN.1
6003 (license license:bsd-3)))
6005 (define-public ghc-asn1-encoding
6007 (name "ghc-asn1-encoding")
6011 (uri (string-append "https://hackage.haskell.org/package/"
6012 "asn1-encoding/asn1-encoding-"
6016 "01ki5msrpccgdbdiaaa5a9zw0icp1hki4hca8qx6hzlp0rcf1mwh"))))
6017 (build-system haskell-build-system)
6019 `(("ghc-hourglass" ,ghc-hourglass)
6020 ("ghc-asn1-types" ,ghc-asn1-types)
6021 ("ghc-text" ,ghc-text)
6022 ("ghc-mtl" ,ghc-mtl)))
6024 `(("ghc-tasty" ,ghc-tasty)
6025 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6026 (home-page "https://github.com/vincenthz/hs-asn1")
6027 (synopsis "ASN1 data reader and writer in RAW, BER and DER forms")
6029 "This package provides a reader and writer for ASN1 data in raw form with
6030 supports for high level forms of ASN1 (BER, and DER).")
6031 (license license:bsd-3)))
6033 (define-public ghc-asn1-parse
6035 (name "ghc-asn1-parse")
6039 (uri (string-append "https://hackage.haskell.org/package/"
6040 "asn1-parse/asn1-parse-"
6044 "025prsihk5g6rdv9xlfmj0zpa0wa3qjzj5i4ilzvg7f6f3sji8y6"))))
6045 (build-system haskell-build-system)
6047 `(("ghc-asn1-types" ,ghc-asn1-types)
6048 ("ghc-asn1-encoding" ,ghc-asn1-encoding)))
6049 (home-page "https://github.com/vincenthz/hs-asn1")
6050 (synopsis "Simple monadic parser for ASN1 stream types")
6052 "This package provides a simple monadic parser for ASN1 stream types,
6053 when ASN1 pattern matching is not convenient.")
6054 (license license:bsd-3)))
6056 (define-public ghc-tasty-kat
6058 (name "ghc-tasty-kat")
6062 (uri (string-append "https://hackage.haskell.org/package/"
6063 "tasty-kat/tasty-kat-" version ".tar.gz"))
6066 "14yvlpli6cv6bn3kh8mlfp4x1l6ns4fvmfv6hmj75cvxyzq029d7"))))
6067 (build-system haskell-build-system)
6069 `(("ghc-tasty" ,ghc-tasty)
6070 ("ghc-mtl" ,ghc-mtl)
6071 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6072 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6073 (home-page "https://github.com/vincenthz/tasty-kat")
6074 (synopsis "Known Answer Tests (KAT) framework for tasty")
6076 "This package provides a @dfn{Known Answer Tests} (KAT) framework for
6078 (license license:expat)))
6080 (define-public ghc-cryptonite
6082 (name "ghc-cryptonite")
6086 (uri (string-append "https://hackage.haskell.org/package/"
6087 "cryptonite/cryptonite-"
6091 "1rw5k34vpn4134yrzdhf0rsshsrkixfbv9ap18di2n00z2cw1shw"))))
6092 (build-system haskell-build-system)
6094 `(("ghc-memory" ,ghc-memory)
6095 ("ghc-byteable" ,ghc-byteable)))
6097 `(("ghc-tasty" ,ghc-tasty)
6098 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6099 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6100 ("ghc-tasty-kat" ,ghc-tasty-kat)))
6101 (home-page "https://github.com/haskell-crypto/cryptonite")
6102 (synopsis "Cryptography primitives")
6104 "This package is a repository of cryptographic primitives for Haskell.
6105 It supports a wide range of symmetric ciphers, cryptographic hash functions,
6106 public key algorithms, key derivation numbers, cryptographic random number
6107 generators, and more.")
6108 (license license:bsd-3)))
6110 (define-public ghc-memory
6116 (uri (string-append "https://hackage.haskell.org/package/"
6117 "memory/memory-" version ".tar.gz"))
6120 "02l742qxjqy3jw1a347gb7sn7pn7a5qha1vzi2qqbvgafcjn0wyw"))))
6121 (build-system haskell-build-system)
6123 `(("ghc-tasty" ,ghc-tasty)
6124 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6125 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6126 (home-page "https://github.com/vincenthz/hs-memory")
6127 (synopsis "Memory abstractions for Haskell")
6129 "This package provides memory abstractions, such as chunk of memory,
6130 polymorphic byte array management and manipulation functions. It contains a
6131 polymorphic byte array abstraction and functions similar to strict ByteString,
6132 different type of byte array abstraction, raw memory IO operations (memory
6133 set, memory copy, ..) and more")
6134 (license license:bsd-3)))
6136 (define-public ghc-x509
6142 (uri (string-append "https://hackage.haskell.org/package/"
6143 "x509/x509-" version ".tar.gz"))
6146 "1pmsby29abn485fvnymsgipvb3p1ch9c591xj5ncszkf0ivjiiin"))))
6147 (build-system haskell-build-system)
6149 `(("ghc-memory" ,ghc-memory)
6150 ("ghc-mtl" ,ghc-mtl)
6151 ("ghc-hourglass" ,ghc-hourglass)
6152 ("ghc-pem" ,ghc-pem)
6153 ("ghc-asn1-types" ,ghc-asn1-types)
6154 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6155 ("ghc-asn1-parse" ,ghc-asn1-parse)
6156 ("ghc-cryptonite" ,ghc-cryptonite)))
6158 `(("ghc-tasty" ,ghc-tasty)
6159 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6160 (home-page "https://github.com/vincenthz/hs-certificate")
6161 (synopsis "X509 reader and writer")
6163 "This library provides functions to read and write X509 certificates.")
6164 (license license:bsd-3)))
6166 (define-public ghc-x509-store
6168 (name "ghc-x509-store")
6172 (uri (string-append "https://hackage.haskell.org/package/"
6173 "x509-store/x509-store-"
6177 "01abx528i9f7djq2772xyna8x2mykrnwqkcfrapcx7z3bhprvml3"))))
6178 (build-system haskell-build-system)
6180 `(("ghc-mtl" ,ghc-mtl)
6181 ("ghc-pem" ,ghc-pem)
6182 ("ghc-asn1-types" ,ghc-asn1-types)
6183 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6184 ("ghc-cryptonite" ,ghc-cryptonite)
6185 ("ghc-x509" ,ghc-x509)))
6186 (home-page "https://github.com/vincenthz/hs-certificate")
6187 (synopsis "X.509 collection accessing and storing methods")
6189 "This package provides functions for accessing and storing X.509
6190 collections, certificates, revocation lists, and exception lists.")
6191 (license license:bsd-3)))
6193 (define-public ghc-x509-validation
6195 (name "ghc-x509-validation")
6199 (uri (string-append "https://hackage.haskell.org/package/"
6200 "x509-validation/x509-validation-"
6204 "1qr1v561hdlhjgqjv9pj9mbk0q1xf2mr1j67ghy93nlxxyzd7dw0"))))
6205 (build-system haskell-build-system)
6207 `(("ghc-memory" ,ghc-memory)
6208 ("ghc-byteable" ,ghc-byteable)
6209 ("ghc-mtl" ,ghc-mtl)
6210 ("ghc-hourglass" ,ghc-hourglass)
6211 ("ghc-data-default-class" ,ghc-data-default-class)
6212 ("ghc-pem" ,ghc-pem)
6213 ("ghc-asn1-types" ,ghc-asn1-types)
6214 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6215 ("ghc-x509" ,ghc-x509)
6216 ("ghc-x509-store" ,ghc-x509-store)
6217 ("ghc-cryptonite" ,ghc-cryptonite)))
6218 (home-page "https://github.com/vincenthz/hs-certificate")
6219 (synopsis "X.509 certificate and revocation list validation")
6221 "This package provides functions for X.509 certificate and revocation
6223 (license license:bsd-3)))
6225 (define-public ghc-x509-system
6227 (name "ghc-x509-system")
6231 (uri (string-append "https://hackage.haskell.org/package/"
6232 "x509-system/x509-system-"
6236 "10qf60d2f9jqwnbrhsb2cwpi86xg66m6dxndlxw967v1cdb3h6gf"))))
6237 (build-system haskell-build-system)
6239 `(("ghc-mtl" ,ghc-mtl)
6240 ("ghc-pem" ,ghc-pem)
6241 ("ghc-x509" ,ghc-x509)
6242 ("ghc-x509-store" ,ghc-x509-store)))
6243 (home-page "https://github.com/vincenthz/hs-certificate")
6244 (synopsis "Handle system X.509 accessors and storage")
6246 "This package provides a library to handle system accessors and storage
6247 for X.509 certificates.")
6248 (license license:bsd-3)))
6250 (define-public ghc-tls
6256 (uri (string-append "https://hackage.haskell.org/package/"
6257 "tls/tls-" version ".tar.gz"))
6260 "1rdidf18i781c0vdvy9yn79yh08hmcacf6fp3sgghyiy3h0wyh5l"))))
6261 (build-system haskell-build-system)
6263 `(("ghc-mtl" ,ghc-mtl)
6264 ("ghc-cereal" ,ghc-cereal)
6265 ("ghc-data-default-class" ,ghc-data-default-class)
6266 ("ghc-memory" ,ghc-memory)
6267 ("ghc-cryptonite" ,ghc-cryptonite)
6268 ("ghc-asn1-types" ,ghc-asn1-types)
6269 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6270 ("ghc-x509" ,ghc-x509)
6271 ("ghc-x509-store" ,ghc-x509-store)
6272 ("ghc-x509-validation" ,ghc-x509-validation)
6273 ("ghc-async" ,ghc-async)
6274 ("ghc-network" ,ghc-network)
6275 ("ghc-hourglass" ,ghc-hourglass)))
6277 `(("ghc-tasty" ,ghc-tasty)
6278 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6279 ("ghc-quickcheck" ,ghc-quickcheck)))
6280 (home-page "https://github.com/vincenthz/hs-tls")
6282 "TLS/SSL protocol native implementation (Server and Client)")
6284 "Native Haskell TLS and SSL protocol implementation for server and client.
6285 This provides a high-level implementation of a sensitive security protocol,
6286 eliminating a common set of security issues through the use of the advanced
6287 type system, high level constructions and common Haskell features. Currently
6288 implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, and support RSA and
6289 Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges, and many
6291 (license license:bsd-3)))
6293 (define-public ghc-socks
6299 (uri (string-append "https://hackage.haskell.org/package/"
6300 "socks/socks-" version ".tar.gz"))
6303 "1nmldlwxqasmg359i2aa3a903gi3lmnlspvf12xk49jrg3mf3dg9"))))
6304 (build-system haskell-build-system)
6306 `(("ghc-cereal" ,ghc-cereal)
6307 ("ghc-network" ,ghc-network)))
6308 (home-page "https://github.com/vincenthz/hs-socks")
6309 (synopsis "SOCKS proxy (version 5) implementation")
6311 "This library provides a SOCKS proxy (version 5) implementation.")
6312 (license license:bsd-3)))
6314 (define-public ghc-connection
6316 (name "ghc-connection")
6320 (uri (string-append "https://hackage.haskell.org/package/"
6321 "connection/connection-"
6325 "090il95jnm7ihwvcx3s9v6iwnp37nnsdx15q7722l845g51d95c8"))))
6326 (build-system haskell-build-system)
6328 `(("ghc-byteable" ,ghc-byteable)
6329 ("ghc-data-default-class" ,ghc-data-default-class)
6330 ("ghc-network" ,ghc-network)
6331 ("ghc-tls" ,ghc-tls)
6332 ("ghc-socks" ,ghc-socks)
6333 ("ghc-x509" ,ghc-x509)
6334 ("ghc-x509-store" ,ghc-x509-store)
6335 ("ghc-x509-system" ,ghc-x509-system)
6336 ("ghc-x509-validation" ,ghc-x509-validation)))
6337 (home-page "https://github.com/vincenthz/hs-connection")
6338 (synopsis "Simple and easy network connections API")
6340 "This package provides a simple network library for all your connection
6341 needs. It provides a very simple API to create sockets to a destination with
6342 the choice of SSL/TLS, and SOCKS.")
6343 (license license:bsd-3)))
6345 (define-public ghc-http-client-tls
6347 (name "ghc-http-client-tls")
6351 (uri (string-append "https://hackage.haskell.org/package/"
6352 "http-client-tls/http-client-tls-"
6356 "0a01r05h5fxswyn6k6cgqgak4scqjan72hyy5wbdqzzhl4rmh7j5"))))
6357 (build-system haskell-build-system)
6358 ;; Tests require Internet access
6359 (arguments `(#:tests? #f))
6361 `(("ghc-data-default-class" ,ghc-data-default-class)
6362 ("ghc-http-client" ,ghc-http-client)
6363 ("ghc-connection" ,ghc-connection)
6364 ("ghc-network" ,ghc-network)
6365 ("ghc-tls" ,ghc-tls)
6366 ("ghc-http-types" ,ghc-http-types)))
6368 `(("ghc-hspec" ,ghc-hspec)))
6369 (home-page "https://github.com/snoyberg/http-client")
6370 (synopsis "Backend for http-client using the TLS library")
6372 "This package provides a backend for the http-client package using the
6373 connection and TLS libraries. It is intended for use by higher-level
6374 libraries, such as http-conduit.")
6375 (license license:expat)))
6377 (define-public ghc-pandoc
6384 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6388 "1v78zq12p71gq0pc24h08inxcq5gxd0xb7m5ds0xw9pv9l2pswl1"))))
6389 (build-system haskell-build-system)
6391 `(("ghc-syb" ,ghc-syb)
6392 ("ghc-unordered-containers" ,ghc-unordered-containers)
6393 ("ghc-parsec" ,ghc-parsec)
6394 ("ghc-mtl" ,ghc-mtl)
6395 ("ghc-text" ,ghc-text)
6396 ("ghc-zip-archive" ,ghc-zip-archive)
6397 ("ghc-http" ,ghc-http)
6398 ("ghc-texmath" ,ghc-texmath)
6399 ("ghc-xml" ,ghc-xml)
6400 ("ghc-random" ,ghc-random)
6401 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
6402 ("ghc-pandoc-types" ,ghc-pandoc-types)
6403 ("ghc-aeson" ,ghc-aeson)
6404 ("ghc-tagsoup" ,ghc-tagsoup)
6405 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6406 ("ghc-zlib" ,ghc-zlib)
6407 ("ghc-highlighting-kate" ,ghc-highlighting-kate)
6408 ("ghc-data-default" ,ghc-data-default)
6409 ("ghc-temporary" ,ghc-temporary)
6410 ("ghc-blaze-html" ,ghc-blaze-html)
6411 ("ghc-blaze-markup" ,ghc-blaze-markup)
6412 ("ghc-yaml" ,ghc-yaml)
6413 ("ghc-scientific" ,ghc-scientific)
6414 ("ghc-vector" ,ghc-vector)
6415 ("ghc-hslua" ,ghc-hslua)
6416 ("ghc-sha" ,ghc-sha)
6417 ("ghc-haddock-library" ,ghc-haddock-library)
6418 ("ghc-old-time" ,ghc-old-time)
6419 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6420 ("ghc-juicypixels" ,ghc-juicypixels)
6421 ("ghc-filemanip" ,ghc-filemanip)
6422 ("ghc-cmark" ,ghc-cmark)
6423 ("ghc-network-uri" ,ghc-network-uri)
6424 ("ghc-network" ,ghc-network)
6425 ("ghc-http-client" ,ghc-http-client)
6426 ("ghc-http-client-tls" ,ghc-http-client-tls)
6427 ("ghc-http-types" ,ghc-http-types)
6428 ("ghc-diff" ,ghc-diff)
6429 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6430 ("ghc-executable-path" ,ghc-executable-path)))
6432 `(("ghc-test-framework" ,ghc-test-framework)
6433 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6434 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6435 ("ghc-quickcheck" ,ghc-quickcheck)
6436 ("ghc-hunit" ,ghc-hunit)))
6437 (home-page "http://pandoc.org")
6438 (synopsis "Conversion between markup formats")
6440 "Pandoc is a Haskell library for converting from one markup format to
6441 another, and a command-line tool that uses this library. It can read and
6442 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
6443 LaTeX, DocBook, and many more.
6445 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
6446 definition lists, tables, and other features. A compatibility mode is
6447 provided for those who need a drop-in replacement for Markdown.pl.")
6448 (license license:gpl2+)))
6450 (define-public ghc-hs-bibutils
6452 (name "ghc-hs-bibutils")
6458 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6462 "0pf5lh179rw9jkmw16ss3kiwydlj6zgfk868mjl5s57kx55z7ycm"))))
6463 (build-system haskell-build-system)
6464 (inputs `(("ghc-syb" ,ghc-syb)))
6465 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6466 (synopsis "Haskell bindings to bibutils")
6468 "This package provides Haskell bindings to @code{bibutils}, a library
6469 that interconverts between various bibliography formats using a common
6470 MODS-format XML intermediate.")
6471 (license license:gpl2+)))
6473 (define-public ghc-rfc5051
6475 (name "ghc-rfc5051")
6480 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
6481 "rfc5051-" version ".tar.gz"))
6484 "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3"))))
6485 (build-system haskell-build-system)
6486 (home-page "http://hackage.haskell.org/package/rfc5051")
6487 (synopsis "Simple unicode collation as per RFC5051")
6489 "This library implements @code{unicode-casemap}, the simple, non
6490 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
6491 unicode collation can be done using @code{text-icu}, but that is a big
6492 dependency that depends on a large C library, and @code{rfc5051} might be
6493 better for some purposes.")
6494 (license license:bsd-3)))
6496 (define-public ghc-conduit-extra
6498 (name "ghc-conduit-extra")
6499 (version "1.1.13.2")
6503 (uri (string-append "https://hackage.haskell.org/package/"
6504 "conduit-extra/conduit-extra-"
6508 "108vsn9dpsfwvar7nssw6wkqy26rxlf3p4ran6swa5xh8l6d5k4z"))))
6509 (build-system haskell-build-system)
6511 `(("ghc-conduit" ,ghc-conduit)
6512 ("ghc-exceptions" ,ghc-exceptions)
6513 ("ghc-monad-control" ,ghc-monad-control)
6514 ("ghc-text" ,ghc-text)
6515 ("ghc-transformers-base" ,ghc-transformers-base)
6516 ("ghc-async" ,ghc-async)
6517 ("ghc-attoparsec" ,ghc-attoparsec)
6518 ("ghc-blaze-builder" ,ghc-blaze-builder)
6519 ("ghc-network" ,ghc-network)
6520 ("ghc-primitive" ,ghc-primitive)
6521 ("ghc-resourcet" ,ghc-resourcet)
6522 ("ghc-stm" ,ghc-stm)
6523 ("ghc-streaming-commons" ,ghc-streaming-commons)
6524 ("ghc-hspec" ,ghc-hspec)
6525 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6526 ("ghc-quickcheck" ,ghc-quickcheck)))
6528 `(("hspec-discover" ,hspec-discover)))
6529 (home-page "http://github.com/snoyberg/conduit")
6530 (synopsis "Conduit adapters for common libraries")
6532 "The @code{conduit} package itself maintains relative small dependencies.
6533 The purpose of this package is to collect commonly used utility functions
6534 wrapping other library dependencies, without depending on heavier-weight
6535 dependencies. The basic idea is that this package should only depend on
6536 @code{haskell-platform} packages and @code{conduit}.")
6537 (license license:expat)))
6539 (define-public ghc-xml-types
6541 (name "ghc-xml-types")
6546 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
6547 "xml-types-" version ".tar.gz"))
6550 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
6551 (build-system haskell-build-system)
6552 (inputs `(("ghc-text" ,ghc-text)))
6553 (home-page "https://john-millikin.com/software/haskell-xml/")
6554 (synopsis "Basic types for representing XML")
6555 (description "This package provides basic types for representing XML
6557 (license license:expat)))
6559 (define-public ghc-xml-conduit
6561 (name "ghc-xml-conduit")
6566 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
6567 "xml-conduit-" version ".tar.gz"))
6570 "10yw8jiksw21jgwqjjd1ixflavcblisgkp9qq3ba05vadc35lqr5"))))
6571 (build-system haskell-build-system)
6573 `(("ghc-conduit" ,ghc-conduit)
6574 ("ghc-conduit-extra" ,ghc-conduit-extra)
6575 ("ghc-resourcet" ,ghc-resourcet)
6576 ("ghc-text" ,ghc-text)
6577 ("ghc-xml-types" ,ghc-xml-types)
6578 ("ghc-attoparsec" ,ghc-attoparsec)
6579 ("ghc-blaze-builder" ,ghc-blaze-builder)
6580 ("ghc-blaze-markup" ,ghc-blaze-markup)
6581 ("ghc-blaze-html" ,ghc-blaze-html)
6582 ("ghc-data-default" ,ghc-data-default)
6583 ("ghc-monad-control" ,ghc-monad-control)
6584 ("ghc-hspec" ,ghc-hspec)
6585 ("ghc-hunit" ,ghc-hunit)))
6586 (home-page "http://github.com/snoyberg/xml")
6587 (synopsis "Utilities for dealing with XML with the conduit package")
6589 "This package provides pure-Haskell utilities for dealing with XML with
6590 the @code{conduit} package.")
6591 (license license:expat)))
6593 (define-public ghc-pandoc-citeproc
6595 (name "ghc-pandoc-citeproc")
6600 (uri (string-append "https://hackage.haskell.org/package/"
6601 "pandoc-citeproc/pandoc-citeproc-"
6605 "00mprphppk51ylsrkg817mbk23f9fsfvkwzbys9qqbcjbrxi2r94"))))
6606 (build-system haskell-build-system)
6609 (modify-phases %standard-phases
6610 ;; Tests need to be run after installation.
6612 (add-after 'install 'post-install-check
6613 (assoc-ref %standard-phases 'check)))))
6615 `(("ghc-mtl" ,ghc-mtl)
6616 ("ghc-pandoc-types" ,ghc-pandoc-types)
6617 ("ghc-pandoc" ,ghc-pandoc)
6618 ("ghc-tagsoup" ,ghc-tagsoup)
6619 ("ghc-aeson" ,ghc-aeson)
6620 ("ghc-text" ,ghc-text)
6621 ("ghc-vector" ,ghc-vector)
6622 ("ghc-xml-conduit" ,ghc-xml-conduit)
6623 ("ghc-unordered-containers" ,ghc-unordered-containers)
6624 ("ghc-data-default" ,ghc-data-default)
6625 ("ghc-setenv" ,ghc-setenv)
6626 ("ghc-split" ,ghc-split)
6627 ("ghc-yaml" ,ghc-yaml)
6628 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
6629 ("ghc-rfc5051" ,ghc-rfc5051)
6630 ("ghc-syb" ,ghc-syb)
6631 ("ghc-parsec" ,ghc-parsec)
6632 ("ghc-old-locale" ,ghc-old-locale)
6633 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6634 ("ghc-attoparsec" ,ghc-attoparsec)
6635 ("ghc-temporary" ,ghc-temporary)))
6636 (home-page "https://github.com/jgm/pandoc-citeproc")
6637 (synopsis "Library for using pandoc with citeproc")
6639 "The @code{pandoc-citeproc} library exports functions for using the
6640 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
6641 rendering bibliographic reference citations into a variety of styles using a
6642 macro language called @dfn{Citation Style Language} (CSL). This package also
6643 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
6644 and also has a mode for converting bibliographic databases a YAML format
6645 suitable for inclusion in pandoc YAML metadata.")
6646 (license license:bsd-3)))
6648 (define-public ghc-union-find
6650 (name "ghc-union-find")
6655 "https://hackage.haskell.org/package/union-find/union-find-"
6659 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
6660 (build-system haskell-build-system)
6661 (home-page "https://github.com/nominolo/union-find")
6662 (synopsis "Efficient union and equivalence testing of sets")
6664 "The Union/Find algorithm implements these operations in (effectively)
6667 @item Check whether two elements are in the same equivalence class.
6668 @item Create a union of two equivalence classes.
6669 @item Look up the descriptor of the equivalence class.
6671 (license license:bsd-3)))
6673 (define-public idris
6676 (version "0.9.19.1")
6680 (uri (string-append "https://hackage.haskell.org/package/idris-"
6681 version "/idris-" version ".tar.gz"))
6684 "10641svdsjlxbxmbvylpia04cz5nn9486lpiay8ibqcrc1792qgc"))
6685 (modules '((guix build utils)))
6687 '(substitute* "idris.cabal"
6688 ;; Package description file has a too-tight version restriction,
6689 ;; rendering it incompatible with GHC 7.10.2. This is fixed
6691 ;; <https://github.com/idris-lang/Idris-dev/issues/2734>.
6692 (("vector < 0.11") "vector < 0.12")))))
6693 (build-system haskell-build-system)
6695 `(#:phases (modify-phases %standard-phases
6696 (add-before 'configure 'patch-cc-command
6698 (setenv "CC" "gcc"))))))
6701 ("ncurses" ,ncurses)
6702 ("ghc-annotated-wl-pprint" ,ghc-annotated-wl-pprint)
6703 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6704 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
6705 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6706 ("ghc-blaze-html" ,ghc-blaze-html)
6707 ("ghc-blaze-markup" ,ghc-blaze-markup)
6708 ("ghc-cheapskate" ,ghc-cheapskate)
6709 ("ghc-fingertree" ,ghc-fingertree)
6710 ("ghc-mtl" ,ghc-mtl)
6711 ("ghc-network" ,ghc-network)
6712 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
6713 ("ghc-parsers" ,ghc-parsers)
6714 ("ghc-safe" ,ghc-safe)
6715 ("ghc-split" ,ghc-split)
6716 ("ghc-text" ,ghc-text)
6717 ("ghc-trifecta" ,ghc-trifecta)
6718 ("ghc-uniplate" ,ghc-uniplate)
6719 ("ghc-unordered-containers" ,ghc-unordered-containers)
6720 ("ghc-utf8-string" ,ghc-utf8-string)
6721 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)
6722 ("ghc-vector" ,ghc-vector)
6723 ("ghc-zip-archive" ,ghc-zip-archive)
6724 ("ghc-zlib" ,ghc-zlib)))
6725 (home-page "http://www.idris-lang.org")
6726 (synopsis "General purpose language with full dependent types")
6727 (description "Idris is a general purpose language with full dependent
6728 types. It is compiled, with eager evaluation. Dependent types allow types to
6729 be predicated on values, meaning that some aspects of a program's behaviour
6730 can be specified precisely in the type. The language is closely related to
6732 (license license:bsd-3)))
6734 (define-public ghc-base16-bytestring
6736 (name "ghc-base16-bytestring")
6742 "https://hackage.haskell.org/package/base16-bytestring/"
6743 "base16-bytestring-" version ".tar.gz"))
6746 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
6747 (build-system haskell-build-system)
6748 (home-page "http://github.com/bos/base16-bytestring")
6749 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
6751 "This package provides a Haskell library for working with base16-encoded
6752 data quickly and efficiently, using the ByteString type.")
6753 (license license:bsd-3)))
6755 (define-public ghc-binary
6763 "https://hackage.haskell.org/package/binary/binary-"
6767 "1fp7wxnf57cjzhbb7rgqs6fgws4690zh0dxgl924dj4nzq0cf4wd"))))
6768 (build-system haskell-build-system)
6770 `(("ghc-random" ,ghc-random)
6771 ("ghc-test-framework" ,ghc-test-framework)
6772 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6773 ("ghc-quickcheck" ,ghc-quickcheck)
6774 ("ghc-hunit" ,ghc-hunit)))
6775 (home-page "https://github.com/kolmodin/binary")
6777 "Binary serialisation for Haskell values using lazy ByteStrings")
6779 "Efficient, pure binary serialisation using lazy ByteStrings. Haskell values
6780 may be encoded to and from binary formats, written to disk as binary, or sent over
6781 the network. The format used can be automatically generated, or you can choose to
6782 implement a custom format if needed. Serialisation speeds of over 1 G\\/sec have
6783 been observed, so this library should be suitable for high performance scenarios.")
6784 (license license:bsd-3)))
6786 (define-public ghc-cryptohash
6788 (name "ghc-cryptohash")
6794 "https://hackage.haskell.org/package/cryptohash/cryptohash-"
6798 "1yr2iyb779znj79j3fq4ky8l1y8a600a2x1fx9p5pmpwq5zq93y2"))))
6799 (build-system haskell-build-system)
6801 `(("ghc-byteable" ,ghc-byteable)
6802 ("ghc-cryptonite" ,ghc-cryptonite)
6803 ("ghc-memory" ,ghc-memory)
6804 ("ghc-hunit" ,ghc-hunit)
6805 ("ghc-quickcheck" ,ghc-quickcheck)
6806 ("ghc-tasty" ,ghc-tasty)
6807 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6808 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6809 (home-page "http://github.com/vincenthz/hs-cryptohash")
6810 (synopsis "Collection of cryptographic hashes in Haskell")
6812 "A collection of crypto hashes, with a practical incremental and one-pass,
6813 pure APIs, with performance close to the fastest implementations available in
6814 other languages. The implementations are made in C with a haskell FFI wrapper
6815 that hides the C implementation.")
6816 (license license:bsd-3)))
6818 (define-public ghc-data-ordlist
6820 (name "ghc-data-ordlist")
6826 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
6830 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
6831 (build-system haskell-build-system)
6832 (home-page "http://hackage.haskell.org/package/data-ordlist")
6833 (synopsis "Set and bag operations on ordered lists")
6835 "This module provides set and multiset operations on ordered lists.")
6836 (license license:bsd-3)))
6838 (define-public ghc-haskeline
6840 (name "ghc-haskeline")
6846 "https://hackage.haskell.org/package/haskeline/haskeline-"
6850 "09wd6sxgn65xxpk7dhy1cg3ywlbk0ccqq7xylycwk4zazy3gjgkd"))))
6851 (build-system haskell-build-system)
6853 `(("ncurses" ,ncurses)))
6855 `(#:configure-flags (list "-fterminfo")))
6856 (home-page "https://github.com/judah/haskeline")
6857 (synopsis "Command-line interface for user input")
6859 "Haskeline provides a user interface for line input in command-line
6860 programs. This library is similar in purpose to readline, but since it
6861 is written in Haskell it is (hopefully) more easily used in other Haskell
6863 (license license:bsd-3)))
6865 (define-public ghc-regex-applicative
6867 (name "ghc-regex-applicative")
6873 "https://hackage.haskell.org/package/regex-applicative/"
6874 "regex-applicative-" version ".tar.gz"))
6877 "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
6878 (build-system haskell-build-system)
6880 `(("ghc-smallcheck" ,ghc-smallcheck)
6881 ("ghc-tasty" ,ghc-tasty)
6882 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
6883 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6884 (home-page "https://github.com/feuerbach/regex-applicative")
6885 (synopsis "Regex-based parsing with applicative interface")
6887 "@code{regex-applicative} is a Haskell library for parsing using
6888 regular expressions. Parsers can be built using Applicative interface.")
6889 (license license:expat)))
6891 (define-public ghc-regex-tdfa
6893 (name "ghc-regex-tdfa")
6899 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
6903 "0f8x8wyr6m21g8dnxvnvalz5bsq37l125l6qhs0fscbvprsxc4nb"))))
6904 (build-system haskell-build-system)
6906 `(("ghc-mtl" ,ghc-mtl)
6907 ("ghc-parsec" ,ghc-parsec)
6908 ("ghc-regex-base" ,ghc-regex-base)))
6909 (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
6910 (synopsis "POSIX extended regular expressions in Haskell.")
6912 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
6913 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
6914 inspired by libtre.")
6915 (license license:bsd-3)))
6917 (define-public ghc-regex-compat-tdfa
6919 (name "ghc-regex-compat-tdfa")
6920 (version "0.95.1.4")
6925 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
6929 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
6930 (build-system haskell-build-system)
6932 `(("ghc-regex-base" ,ghc-regex-base)
6933 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
6934 (home-page "http://hub.darcs.net/shelarcy/regex-compat-tdfa")
6935 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
6937 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
6938 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
6939 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
6941 (license license:bsd-3)))
6943 (define-public ghc-tasty-th
6945 (name "ghc-tasty-th")
6951 "https://hackage.haskell.org/package/tasty-th/tasty-th-"
6955 "0dff9si8i1qp0s7p4hlk0l29vq7wxfglw6mvlgmld43h7rllv88q"))))
6956 (build-system haskell-build-system)
6958 `(("ghc-tasty" ,ghc-tasty)))
6959 (home-page "http://github.com/bennofs/tasty-th")
6960 (synopsis "Automatically generate tasty TestTrees")
6962 "Tasty-th automatically generates tasty TestTrees from functions of the
6963 current module, using TemplateHaskell. This is a fork the original
6964 test-framework-th package, modified to work with tasty instead of
6966 (license license:bsd-3)))
6968 (define-public ghc-sandi
6971 (version "0.4.0") ; darcs-2.12.4 needs == 0.4.*
6976 "https://hackage.haskell.org/package/sandi/sandi-"
6980 "1smf3bq44qni4zbgxpw7cy7b9g95fbrr73j8njjf6139naj9bj20"))))
6981 (build-system haskell-build-system)
6983 `(("ghc-stringsearch" ,ghc-stringsearch)
6984 ("ghc-conduit" ,ghc-conduit)
6985 ("ghc-exceptions" ,ghc-exceptions)
6986 ("ghc-hunit" ,ghc-hunit)
6987 ("ghc-tasty" ,ghc-tasty)
6988 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6989 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6990 ("ghc-tasty-th" ,ghc-tasty-th)))
6991 (home-page "http://hackage.haskell.org/package/sandi")
6992 (synopsis "Data encoding library")
6993 (description "Reasonably fast data encoding library.")
6994 (license license:bsd-3)))
6996 (define-public ghc-bytestring-handle
6998 (name "ghc-bytestring-handle")
7004 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
7008 "0q5yzx90ad9w7qvaix05bynxwlsbqjrgfc4hqb355ibf991wd0rh"))))
7009 (build-system haskell-build-system)
7011 `(("ghc-quickcheck" ,ghc-quickcheck)
7012 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7013 ("ghc-hunit" ,ghc-hunit)
7014 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7015 ("ghc-test-framework" ,ghc-test-framework)))
7016 (home-page "http://hub.darcs.net/ganesh/bytestring-handle")
7017 (synopsis "ByteString-backed Handles")
7018 (description "ByteString-backed Handles") ; There is no description
7019 (license license:bsd-3)))
7021 (define-public ghc-tar
7029 "https://hackage.haskell.org/package/tar/tar-"
7033 "18qq94j9bm91iswnxq2dm5dws5c7wm4k01q2rpf8py35cf3svnfq"))))
7034 (build-system haskell-build-system)
7036 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
7037 ("ghc-quickcheck" ,ghc-quickcheck)
7038 ("ghc-tasty" ,ghc-tasty)
7039 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7040 ("ghc-array" ,ghc-array)))
7041 (home-page "http://hackage.haskell.org/package/tar")
7042 (synopsis "Reading, writing and manipulating \".tar\" archive files")
7044 "This library is for working with \\\"@.tar@\\\" archive files.
7045 It can read and write a range of common variations of the tar archive format
7046 including V7, POSIX USTAR and GNU formats. It provides support for packing and
7047 unpacking portable archives. This makes it suitable for distribution but not
7048 backup because details like file ownership and exact permissions are not
7049 preserved. It also provides features for random access to archive content using
7051 (license license:bsd-3)))
7053 (define-public ghc-transformers
7055 (name "ghc-transformers")
7061 "https://hackage.haskell.org/package/transformers/transformers-"
7065 "1qkhi8ssf8c4jnmrw9dzym3igqbzq7h48iisaykdfzdsm09qfh3c"))))
7066 (build-system haskell-build-system)
7067 (home-page "http://hackage.haskell.org/package/transformers")
7068 (synopsis "Concrete functor and monad transformers")
7070 "A portable library of functor and monad transformers, inspired by the paper
7071 'Functional Programming with Overloading and Higher-Order Polymorphism',
7072 by Mark P Jones. This package contains the monad transformer class and IO monad class,
7073 concrete functor and monad transformers, each with associated operations and functions
7074 to lift operations associated with other transformers. The package can be used on
7075 its own in portable Haskell code, in which case operations need to be manually lifted
7076 through transformer stacks. Alternatively, it can be used with the
7077 non-portable monad classes in the @code{mtl} or @code{monads-tf} packages,
7078 which automatically lift operations introduced by monad transformers through
7079 other transformers.")
7080 (license license:bsd-3)))
7082 ;; darcs-2.12.0 requires transformers-0.4.2.0
7083 (define-public ghc-transformers-0.4.2.0
7085 (inherit ghc-transformers)
7089 (uri (string-append "https://hackage.haskell.org/package/transformers/"
7090 "transformers-" version ".tar.gz"))
7093 "0a364zfcm17mhpy0c4ms2j88sys4yvgd6071qsgk93la2wjm8mkr"))))))
7095 (define-public ghc-findbin
7097 (name "ghc-findbin")
7103 "https://hackage.haskell.org/package/FindBin/FindBin-"
7107 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
7108 (build-system haskell-build-system)
7109 (home-page "https://github.com/audreyt/findbin")
7110 (synopsis "Get the absolute path of the running program")
7112 "This module locates the full directory of the running program, to allow
7113 the use of paths relative to it. FindBin supports invocation of Haskell
7114 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
7116 (license license:bsd-3)))
7118 (define-public ghc-patience
7120 (name "ghc-patience")
7126 "https://hackage.haskell.org/package/patience/patience-"
7130 "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
7131 (build-system haskell-build-system)
7132 (home-page "http://hackage.haskell.org/package/patience")
7133 (synopsis "Patience diff and longest increasing subsequence")
7135 "This library implements the 'patience diff' algorithm, as well as the
7136 patience algorithm for the longest increasing subsequence problem.
7137 Patience diff computes the difference between two lists, for example the lines
7138 of two versions of a source file. It provides a good balance between
7139 performance, nice output for humans, and simplicity of implementation.")
7140 (license license:bsd-3)))
7142 (define-public ghc-monads-tf
7144 (name "ghc-monads-tf")
7150 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7154 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7155 (build-system haskell-build-system)
7156 (home-page "http://hackage.haskell.org/package/monads-tf")
7157 (synopsis "Monad classes, using type families")
7159 "Monad classes using type families, with instances for various monad transformers,
7160 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7161 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7162 the @code{mtl-tf} package.")
7163 (license license:bsd-3)))
7165 ;; Do not use this. Bytestring is a standard library and always included.
7166 (define-public ghc-bytestring
7168 (name "ghc-bytestring")
7169 (version "0.10.8.1")
7174 "https://hackage.haskell.org/package/bytestring/bytestring-"
7178 "16zwb1p83z7vc5wlhvknpy80b5a2jxc5awx67rk52qnp9idmyq9d"))))
7179 (build-system haskell-build-system)
7181 `(("ghc-random" ,ghc-random)
7182 ("ghc-test-framework" ,ghc-test-framework)
7183 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7184 ("ghc-quickcheck" ,ghc-quickcheck)
7185 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7186 ("ghc-hunit" ,ghc-hunit)
7187 ("ghc-byteorder" ,ghc-byteorder)
7188 ("ghc-dlist" ,ghc-dlist)
7189 ("ghc-mtl" ,ghc-mtl)))
7191 `(#:tests? #f)) ; Test number two becomes non-responsive for 20+ minutes
7192 (home-page "https://github.com/haskell/bytestring")
7193 (synopsis "Fast, compact, strict and lazy byte strings with a list interface")
7195 "An efficient compact, immutable byte string type (both strict and lazy)
7196 suitable for binary or 8-bit character data. The 'ByteString' type represents
7197 sequences of bytes or 8-bit characters. It is suitable for high performance use,
7198 both in terms of large data quantities, or high speed requirements. The 'ByteString'
7199 functions follow the same style as ordinary lists, so it is easy to convert code
7200 from using 'String' to 'ByteString'.")
7201 (license license:bsd-3)))
7203 (define-public ghc-colour
7211 "https://hackage.haskell.org/package/colour/colour-"
7215 "1qmn1778xzg07jg9nx4k1spdz2llivpblf6wwrps1qpqjhsac5cd"))))
7216 (build-system haskell-build-system)
7217 (home-page "http://www.haskell.org/haskellwiki/Colour")
7218 (synopsis "Model for human colour perception")
7220 "This package provides a data type for colours and transparency.
7221 Colours can be blended and composed. Various colour spaces are
7222 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
7223 (license license:expat)))
7225 (define-public ghc-directory
7227 (name "ghc-directory")
7233 "https://hackage.haskell.org/package/directory/directory-"
7237 "0h3hrqskadmbigaxbz2k5xxjjjlmfaq2zdn2g7jh1wv9k6yrxraa"))))
7238 (build-system haskell-build-system)
7239 (home-page "http://hackage.haskell.org/package/directory")
7240 (synopsis "Platform-agnostic library for filesystem operations")
7242 "This library provides a basic set of operations for manipulating
7243 files and directories in a portable way.")
7244 (license license:bsd-3)))
7246 ;; Do not use this as an input. It is part of GHC.
7247 (define-public ghc-process
7249 (name "ghc-process")
7255 "https://hackage.haskell.org/package/process/process-"
7259 "1v1bav5isqxq9fc4lw714x94qbfsjbm2nn12kjp69r1ql8jaaaqw"))))
7260 (build-system haskell-build-system)
7263 (modify-phases %standard-phases
7264 (add-after 'unpack 'patch-reference-to-/bin/sh
7266 (substitute* "System/Process/Posix.hs"
7267 (("/bin/sh") (which "sh")))
7269 (home-page "http://hackage.haskell.org/package/process")
7270 (synopsis "System process libraries")
7272 "This package contains libraries for dealing with system processes.")
7273 (license license:bsd-3)))
7275 (define-public ghc-wl-pprint-text
7277 (name "ghc-wl-pprint-text")
7283 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
7287 "1xgizzimfw17mpmw2afvmnvyag976j8ggn7k5r564rkw9f0m6bgz"))))
7288 (build-system haskell-build-system)
7290 `(("ghc-text" ,ghc-text)))
7291 (home-page "http://hackage.haskell.org/package/wl-pprint-text")
7292 (synopsis "Wadler/Leijen Pretty Printer for Text values")
7294 "A clone of wl-pprint for use with the text library.")
7295 (license license:bsd-3)))
7297 (define-public ghc-fgl-arbitrary
7299 (name "ghc-fgl-arbitrary")
7305 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
7309 "12qbsla4vivffris6y3gj29vrafkpyazqdbdy2m55nggypqpf7ah"))))
7310 (build-system haskell-build-system)
7312 `(("ghc-fgl" ,ghc-fgl)
7313 ("ghc-quickcheck" ,ghc-quickcheck)
7314 ("ghc-hspec" ,ghc-hspec)))
7315 (home-page "http://hackage.haskell.org/package/fgl-arbitrary")
7316 (synopsis "QuickCheck support for fgl")
7318 "Provides Arbitrary instances for fgl graphs to avoid adding a
7319 QuickCheck dependency for fgl whilst still making the instances
7320 available to others. Also available are non-fgl-specific functions
7321 for generating graph-like data structures.")
7322 (license license:bsd-3)))
7324 (define-public ghc-graphviz
7326 (name "ghc-graphviz")
7327 (version "2999.18.1.2")
7330 (uri (string-append "https://hackage.haskell.org/package/"
7331 "graphviz/graphviz-" version ".tar.gz"))
7334 "1z453is01v0rnxlv6xx4iyaqv5vrp3bpz829mpv1a341sck2135h"))))
7335 (build-system haskell-build-system)
7337 `(("ghc-quickcheck" ,ghc-quickcheck)
7338 ("ghc-colour" ,ghc-colour)
7339 ("ghc-dlist" ,ghc-dlist)
7340 ("ghc-fgl" ,ghc-fgl)
7341 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
7342 ("ghc-polyparse" ,ghc-polyparse)
7343 ("ghc-temporary" ,ghc-temporary)
7344 ("ghc-text" ,ghc-text)
7345 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
7346 (home-page "https://hackage.haskell.org/package/graphviz")
7347 (synopsis "Bindings to Graphviz for graph visualisation")
7349 "This library provides bindings for the Dot language used by
7350 the @uref{http://graphviz.org/, Graphviz} suite of programs for
7351 visualising graphs, as well as functions to call those programs.
7352 Main features of the graphviz library include:
7355 @item Almost complete coverage of all Graphviz attributes and syntax
7356 @item Support for specifying clusters
7357 @item The ability to use a custom node type
7358 @item Functions for running a Graphviz layout tool with all specified output types
7359 @item Generate and parse Dot code with two options: strict and liberal
7360 @item Functions to convert FGL graphs and other graph-like data structures
7361 @item Round-trip support for passing an FGL graph through Graphviz to augment node
7362 and edge labels with positional information, etc.
7364 (license license:bsd-3)))
7366 (define-public ghc-array
7374 "https://hackage.haskell.org/package/array/array-"
7378 "08r2rq4blvc737mrg3xhlwiw13jmsz5dlf2fd0ghb9cdaxc6kjc9"))))
7379 (build-system haskell-build-system)
7381 "http://hackage.haskell.org/package/array")
7382 (synopsis "Mutable and immutable arrays")
7384 "In addition to providing the @code{Data.Array} module, this package also defines
7385 the classes @code{IArray} of immutable arrays and @code{MArray} of arrays mutable
7386 within appropriate monads, as well as some instances of these classes.")
7387 (license license:bsd-3)))
7389 (define-public ghc-constraints
7391 (name "ghc-constraints")
7397 "https://hackage.haskell.org/package/constraints/constraints-"
7401 "120mmv9rwbahslisc1z8zx9lw7v6hl5fzid4l0hiy5as6ijqgl2c"))))
7402 (build-system haskell-build-system)
7404 `(("ghc-hashable" ,ghc-hashable)
7405 ("ghc-mtl" ,ghc-mtl)
7406 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7407 (home-page "http://github.com/ekmett/constraints/")
7408 (synopsis "Constraint manipulation")
7410 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
7411 They stopped crashing the compiler in GHC 7.6. This package provides
7412 a vocabulary for working with them.")
7413 (license license:bsd-3)))
7415 (define-public ghc-lifted-async
7417 (name "ghc-lifted-async")
7423 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7427 "00fnwfcnc6niq9jbbb9rap9rkdgv5qhcglwanzc5fi8834j94c1r"))))
7428 (build-system haskell-build-system)
7430 `(("ghc-async" ,ghc-async)
7431 ("ghc-lifted-base" ,ghc-lifted-base)
7432 ("ghc-transformers-base" ,ghc-transformers-base)
7433 ("ghc-monad-control" ,ghc-monad-control)
7434 ("ghc-constraints" ,ghc-constraints)
7435 ("ghc-hunit" ,ghc-hunit)
7436 ("ghc-mtl" ,ghc-mtl)
7437 ("ghc-tasty" ,ghc-tasty)
7438 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7439 ("ghc-tasty-th" ,ghc-tasty-th)))
7440 (home-page "https://github.com/maoe/lifted-async")
7441 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7443 "This package provides IO operations from @code{async} package lifted to any
7444 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7445 (license license:bsd-3)))
7447 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
7448 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
7449 ;; which depends on ghc-chell and ghc-chell-quickcheck.
7450 ;; Therefore we bootstrap it with tests disabled.
7451 (define ghc-system-filepath-bootstrap
7453 (name "ghc-system-filepath-bootstrap")
7454 (version "0.4.13.4")
7459 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7463 "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l"))))
7464 (build-system haskell-build-system)
7468 `(("ghc-text" ,ghc-text)
7469 ("ghc-quickcheck" ,ghc-quickcheck)))
7470 (home-page "https://github.com/fpco/haskell-filesystem")
7471 (synopsis "High-level, byte-based file and directory path manipulations")
7473 "Provides a FilePath datatype and utility functions for operating on it.
7474 Unlike the filepath package, this package does not simply reuse String,
7475 increasing type safety.")
7476 (license license:expat)))
7478 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
7479 ;; ghc-system-filepath.
7480 (define ghc-system-fileio-bootstrap
7482 (name "ghc-system-fileio-bootstrap")
7483 (version "0.3.16.3")
7488 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7492 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7493 (build-system haskell-build-system)
7497 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7498 ("ghc-text" ,ghc-text)
7499 ("ghc-temporary" ,ghc-temporary)))
7500 (home-page "https://github.com/fpco/haskell-filesystem")
7501 (synopsis "Consistent filesystem interaction across GHC versions")
7503 "This is a small wrapper around the directory, unix, and Win32 packages,
7504 for use with system-filepath. It provides a consistent API to the various
7505 versions of these packages distributed with different versions of GHC.
7506 In particular, this library supports working with POSIX files that have paths
7507 which can't be decoded in the current locale encoding.")
7508 (license license:expat)))
7510 (define-public ghc-shelly
7518 "https://hackage.haskell.org/package/shelly/shelly-"
7522 "0bg1pj5bhswfgwfgz66xr82i8cmjgrnx5ljvjy37052zxb82imnk"))))
7523 (build-system haskell-build-system)
7525 `(("ghc-mtl" ,ghc-mtl)
7526 ("ghc-unix-compat" ,ghc-unix-compat)
7527 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7528 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
7529 ("ghc-monad-control" ,ghc-monad-control)
7530 ("ghc-lifted-base" ,ghc-lifted-base)
7531 ("ghc-lifted-async" ,ghc-lifted-async)
7532 ("ghc-exceptions" ,ghc-exceptions)
7533 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
7534 ("ghc-text" ,ghc-text)
7535 ("ghc-async" ,ghc-async)
7536 ("ghc-transformers-base" ,ghc-transformers-base)
7537 ("ghc-hunit" ,ghc-hunit)
7538 ("ghc-hspec" ,ghc-hspec)))
7539 (home-page "https://github.com/yesodweb/Shelly.hs")
7540 (synopsis "Shell-like (systems) programming in Haskell")
7542 "Shelly provides convenient systems programming in Haskell, similar in
7543 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
7544 (license license:bsd-3)))
7546 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
7547 (define ghc-options-bootstrap
7549 (name "ghc-options-bootstrap")
7555 "https://hackage.haskell.org/package/options/options-"
7559 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7560 (build-system haskell-build-system)
7564 `(("ghc-monads-tf" ,ghc-monads-tf)))
7565 (home-page "https://john-millikin.com/software/haskell-options/")
7566 (synopsis "Powerful and easy-to-use command-line option parser")
7568 "The @code{options} package lets library and application developers
7569 easily work with command-line options.")
7570 (license license:expat)))
7572 (define-public ghc-chell
7580 "https://hackage.haskell.org/package/chell/chell-"
7584 "0lb95abzxl4a87nfqxsxpb3a39pd52cci43hcvj8615hyhqvs2jz"))))
7585 (build-system haskell-build-system)
7587 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
7588 ("ghc-patience" ,ghc-patience)
7589 ("ghc-random" ,ghc-random)
7590 ("ghc-text" ,ghc-text)
7591 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
7592 (home-page "https://john-millikin.com/software/chell/")
7593 (synopsis "Simple and intuitive library for automated testing")
7595 "Chell is a simple and intuitive library for automated testing.
7596 It natively supports assertion-based testing, and can use companion
7597 libraries such as @code{chell-quickcheck} to support more complex
7598 testing strategies.")
7599 (license license:expat)))
7601 (define ghc-chell-quickcheck-bootstrap
7603 (name "ghc-chell-quickcheck-bootstrap")
7609 "https://hackage.haskell.org/package/chell-quickcheck/chell-quickcheck-"
7613 "02bkcnx5k6r5csdnnkvk4wfd0l36nxb87i1463ynw17n7ym9s4cs"))))
7614 (build-system haskell-build-system)
7616 `(("ghc-chell" ,ghc-chell)
7617 ("ghc-random" ,ghc-random)
7618 ("ghc-quickcheck" ,ghc-quickcheck)))
7621 (home-page "https://john-millikin.com/software/chell/")
7622 (synopsis "QuickCheck support for the Chell testing library")
7623 (description "More complex tests for @code{chell}.")
7624 (license license:expat)))
7626 (define-public ghc-chell-quickcheck
7628 (name "ghc-chell-quickcheck")
7634 "https://hackage.haskell.org/package/chell-quickcheck/chell-quickcheck-"
7638 "02bkcnx5k6r5csdnnkvk4wfd0l36nxb87i1463ynw17n7ym9s4cs"))))
7639 (build-system haskell-build-system)
7641 `(("ghc-chell" ,ghc-chell)
7642 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
7643 ("ghc-random" ,ghc-random)
7644 ("ghc-quickcheck" ,ghc-quickcheck)))
7645 (home-page "https://john-millikin.com/software/chell/")
7646 (synopsis "QuickCheck support for the Chell testing library")
7647 (description "More complex tests for @code{chell}.")
7648 (license license:expat)))
7650 (define-public ghc-options
7652 (name "ghc-options")
7658 "https://hackage.haskell.org/package/options/options-"
7662 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7663 (build-system haskell-build-system)
7665 `(("ghc-monads-tf" ,ghc-monads-tf)
7666 ("ghc-chell" ,ghc-chell)
7667 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
7668 (home-page "https://john-millikin.com/software/haskell-options/")
7669 (synopsis "Powerful and easy-to-use command-line option parser")
7671 "The @code{options} package lets library and application developers
7672 easily work with command-line options.")
7673 (license license:expat)))
7675 (define-public ghc-system-filepath
7677 (name "ghc-system-filepath")
7678 (version "0.4.13.4")
7683 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7687 "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l"))))
7688 (build-system haskell-build-system)
7690 `(("ghc-text" ,ghc-text)
7691 ("ghc-chell" ,ghc-chell)
7692 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
7693 ("ghc-quickcheck" ,ghc-quickcheck)))
7694 (home-page "https://github.com/fpco/haskell-filesystem")
7695 (synopsis "High-level, byte-based file and directory path manipulations")
7697 "Provides a FilePath datatype and utility functions for operating on it.
7698 Unlike the filepath package, this package does not simply reuse String,
7699 increasing type safety.")
7700 (license license:expat)))
7702 (define-public ghc-system-fileio
7704 (name "ghc-system-fileio")
7705 (version "0.3.16.3")
7710 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7714 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7715 (build-system haskell-build-system)
7717 `(("ghc-system-filepath" ,ghc-system-filepath)
7718 ("ghc-text" ,ghc-text)
7719 ("ghc-chell" ,ghc-chell)
7720 ("ghc-temporary" ,ghc-temporary)))
7721 (home-page "https://github.com/fpco/haskell-filesystem")
7722 (synopsis "Consistent filesystem interaction across GHC versions")
7724 "This is a small wrapper around the directory, unix, and Win32 packages,
7725 for use with system-filepath. It provides a consistent API to the various
7726 versions of these packages distributed with different versions of GHC.
7727 In particular, this library supports working with POSIX files that have paths
7728 which can't be decoded in the current locale encoding.")
7729 (license license:expat)))
7731 (define-public ghc-storable-complex
7733 (name "ghc-storable-complex")
7739 "http://hackage.haskell.org/package/storable-complex/storable-complex-"
7742 (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
7743 (build-system haskell-build-system)
7744 (home-page "https://github.com/cartazio/storable-complex")
7745 (synopsis "Haskell Storable instance for Complex")
7746 (description "This package provides a Haskell library including a
7747 Storable instance for Complex which is binary compatible with C99, C++
7748 and Fortran complex data types.")
7749 (license license:bsd-3)))
7751 (define-public ghc-hmatrix
7753 (name "ghc-hmatrix")
7754 (version "0.17.0.2")
7759 "http://hackage.haskell.org/package/hmatrix/hmatrix-"
7762 (base32 "1fgsrh2y9y971pzrd3767rg97bjr1ghpdvwmn1nn65s90rc9bv98"))))
7763 (build-system haskell-build-system)
7765 `(("ghc-random" ,ghc-random)
7766 ("ghc-split" ,ghc-split)
7767 ("ghc-storable-complex" ,ghc-storable-complex)
7768 ("ghc-vector" ,ghc-vector)
7769 ;;("openblas" ,openblas)
7770 ("lapack" ,lapack)))
7771 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
7772 ;; disables inclusion of the LAPACK functions.
7773 ;; (arguments `(#:configure-flags '("--flags=openblas")))
7774 (home-page "https://github.com/albertoruiz/hmatrix")
7775 (synopsis "Haskell numeric linear algebra library")
7776 (description "The HMatrix package provices a Haskell library for
7777 dealing with linear systems, matrix decompositions, and other
7778 numerical computations based on BLAS and LAPACK.")
7779 (license license:bsd-3)))
7781 (define-public ghc-hmatrix-gsl
7783 (name "ghc-hmatrix-gsl")
7784 (version "0.17.0.0")
7789 "http://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
7792 (base32 "1jbqwn9d2nldc4klhy0n8gcxr889h0daw2mjfhwgksfy1bwfjl7w"))))
7793 (build-system haskell-build-system)
7795 `(("ghc-hmatrix" ,ghc-hmatrix)
7796 ("ghc-vector" ,ghc-vector)
7797 ("ghc-random" ,ghc-random)
7799 (native-inputs `(("pkg-config" ,pkg-config)))
7800 (home-page "https://github.com/albertoruiz/hmatrix")
7801 (synopsis "Haskell GSL binding")
7802 (description "This Haskell library provides a purely functional
7803 interface to selected numerical computations, internally implemented
7805 (license license:gpl3+)))
7807 (define-public ghc-hmatrix-special
7809 (name "ghc-hmatrix-special")
7816 "http://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
7819 (base32 "0cr9y3swzj7slrd84g1nhdkp1kpq4q5ihwapmiaidpr2bv3hrfhz"))))
7820 (build-system haskell-build-system)
7822 `(("ghc-hmatrix" ,ghc-hmatrix)
7823 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
7824 (home-page "https://github.com/albertoruiz/hmatrix")
7825 (synopsis "Haskell interface to GSL special functions")
7826 (description "This library provides an interface to GSL special
7827 functions for Haskell.")
7828 (license license:gpl3+)))
7830 (define-public ghc-hmatrix-gsl-stats
7832 (name "ghc-hmatrix-gsl-stats")
7839 "http://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
7842 (base32 "0f3pzi494n4js0xiq5b38n07cnby0h9da6gmwywf8plvxm9271fl"))))
7843 (build-system haskell-build-system)
7845 `(("ghc-vector" ,ghc-vector)
7846 ("ghc-storable-complex" ,ghc-storable-complex)
7847 ("ghc-hmatrix" ,ghc-hmatrix)
7849 (native-inputs `(("pkg-config" ,pkg-config)))
7850 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
7851 (synopsis "GSL Statistics interface for Haskell")
7852 (description "This Haskell library provides a purely functional
7853 interface for statistics based on hmatrix and GSL.")
7854 (license license:bsd-3)))
7856 (define-public ghc-easyplot
7858 (name "ghc-easyplot")
7864 "http://hackage.haskell.org/package/easyplot/easyplot-"
7867 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
7868 (build-system haskell-build-system)
7869 (propagated-inputs `(("gnuplot" ,gnuplot)))
7871 `(#:phases (modify-phases %standard-phases
7872 (add-after 'unpack 'fix-setup-suffix
7873 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
7874 (home-page "http://hub.darcs.net/scravy/easyplot")
7875 (synopsis "Haskell plotting library based on gnuplot")
7876 (description "This package provides a plotting library for
7877 Haskell, using gnuplot for rendering.")
7878 (license license:expat)))
7880 (define-public ghc-hashtables
7882 (name "ghc-hashtables")
7888 "http://hackage.haskell.org/package/hashtables/hashtables-"
7891 (base32 "1b6w9xznk42732vpd8ili60k12yq190xnajgga0iwbdpyg424lgg"))))
7892 (build-system haskell-build-system)
7894 `(("ghc-hashable" ,ghc-hashable)
7895 ("ghc-primitive" ,ghc-primitive)
7896 ("ghc-vector" ,ghc-vector)))
7897 (home-page "http://github.com/gregorycollins/hashtables")
7898 (synopsis "Haskell Mutable hash tables in the ST monad")
7899 (description "This package provides a Haskell library including a
7900 couple of different implementations of mutable hash tables in the ST
7901 monad, as well as a typeclass abstracting their common operations, and
7902 a set of wrappers to use the hash tables in the IO monad.")
7903 (license license:bsd-3)))
7905 ;;; haskell.scm ends here