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, 2017 Ricardo Wurmus <rekado@elephly.net>
10 ;;; Copyright © 2016, 2017 David Craven <david@craven.ch>
11 ;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
13 ;;; This file is part of GNU Guix.
15 ;;; GNU Guix is free software; you can redistribute it and/or modify it
16 ;;; under the terms of the GNU General Public License as published by
17 ;;; the Free Software Foundation; either version 3 of the License, or (at
18 ;;; your option) any later version.
20 ;;; GNU Guix is distributed in the hope that it will be useful, but
21 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;;; GNU General Public License for more details.
25 ;;; You should have received a copy of the GNU General Public License
26 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
28 (define-module (gnu packages haskell)
29 #:use-module (gnu packages)
30 #:use-module (gnu packages bootstrap)
31 #:use-module (gnu packages compression)
32 #:use-module (gnu packages elf)
33 #:use-module (gnu packages gcc)
34 #:use-module (gnu packages ghostscript)
35 #:use-module (gnu packages gl)
36 #:use-module (gnu packages libffi)
37 #:use-module (gnu packages lua)
38 #:use-module (gnu packages maths)
39 #:use-module (gnu packages multiprecision)
40 #:use-module (gnu packages ncurses)
41 #:use-module (gnu packages pcre)
42 #:use-module (gnu packages perl)
43 #:use-module (gnu packages pkg-config)
44 #:use-module (gnu packages python)
45 #:use-module (gnu packages sdl)
46 #:use-module (gnu packages xml)
47 #:use-module (gnu packages xorg)
48 #:use-module (gnu packages zip)
49 #:use-module (guix build-system gnu)
50 #:use-module (guix build-system haskell)
51 #:use-module (guix download)
52 #:use-module (guix git-download)
53 #:use-module ((guix licenses) #:prefix license:)
54 #:use-module (guix packages)
55 #:use-module (guix utils)
56 #:use-module (ice-9 regex))
58 (define ghc-bootstrap-x86_64-7.8.4
62 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.xz")
65 "13azsl53xgj20mi1hj9x0xb32vvcvs6cpmvwx6znxhas7blh0bpn"))))
67 (define ghc-bootstrap-i686-7.8.4
71 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.xz")
74 "0wj5s435j0zgww70bj1d3f6wvnnpzlxwvwcyh2qv4qjq5z8j64kg"))))
76 ;; 43 tests out of 3965 fail.
78 ;; Most of them do not appear to be serious:
80 ;; - some tests generate files referring to "/bin/sh" and "/bin/ls". I've not
81 ;; figured out how these references are generated.
83 ;; - Some tests allocate more memory than expected (ca. 3% above upper limit)
85 ;; - Some tests try to load unavailable libriries: Control.Concurrent.STM,
86 ;; Data.Vector, Control.Monad.State.
88 ;; - Test posix010 tries to check the existence of a user on the system:
89 ;; getUserEntryForName: does not exist (no such user)
97 (uri (string-append "https://www.haskell.org/ghc/dist/"
98 version "/" name "-" version "-src.tar.xz"))
101 "1x8m4rp2v7ydnrz6z9g8x7z3x3d3pxhv2pixy7i7hkbqbdsp7kal"))))
102 (build-system gnu-build-system)
103 (supported-systems '("i686-linux" "x86_64-linux"))
104 (outputs '("out" "doc"))
113 "https://www.haskell.org/ghc/dist/"
114 version "/" name "-" version "-testsuite.tar.xz"))
117 "0qp9da9ar87zbyn6wjgacd2ic1vgzbi3cklxnhsmjqyafv9qaj4b"))))))
120 ("python" ,python-2) ; for tests (fails with python-3)
121 ("ghostscript" ,ghostscript) ; for tests
122 ("patchelf" ,patchelf)
123 ;; GHC is built with GHC. Therefore we need bootstrap binaries.
125 ,(if (string-match "x86_64" (or (%current-target-system) (%current-system)))
126 ghc-bootstrap-x86_64-7.8.4
127 ghc-bootstrap-i686-7.8.4))))
129 `(#:test-target "test"
130 ;; We get a smaller number of test failures by disabling parallel test
134 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
135 ;; gremlin) doesn't support it yet, so skip this phase.
136 #:validate-runpath? #f
138 ;; Don't pass --build=<triplet>, because the configure script
139 ;; auto-detects slightly different triplets for --host and --target and
140 ;; then complains that they don't match.
143 #:modules ((guix build gnu-build-system)
148 #:imported-modules (,@%gnu-build-system-modules
152 (string-append "--with-gmp-libraries="
153 (assoc-ref %build-inputs "gmp") "/lib")
154 (string-append "--with-gmp-includes="
155 (assoc-ref %build-inputs "gmp") "/include")
156 "--with-system-libffi"
157 (string-append "--with-ffi-libraries="
158 (assoc-ref %build-inputs "libffi") "/lib")
159 (string-append "--with-ffi-includes="
160 (assoc-ref %build-inputs "libffi") "/include"))
161 ;; FIXME: The user-guide needs dblatex, docbook-xsl and docbook-utils.
162 ;; Currently we do not have the last one.
164 ;; (list "BUILD_DOCBOOK_HTML = YES")
166 (let* ((ghc-bootstrap-path
167 (string-append (getcwd) "/" ,name "-" ,version "/ghc-bin"))
168 (ghc-bootstrap-prefix
169 (string-append ghc-bootstrap-path "/usr" )))
171 'unpack-bin 'unpack-testsuite-and-fix-bins
172 (lambda* (#:key inputs outputs #:allow-other-keys)
173 (with-directory-excursion ".."
174 (copy-file (assoc-ref inputs "ghc-testsuite")
175 "ghc-testsuite.tar.xz")
176 (system* "tar" "xvf" "ghc-testsuite.tar.xz"))
178 (list "testsuite/timeout/Makefile"
179 "testsuite/timeout/timeout.py"
180 "testsuite/timeout/timeout.hs"
181 "testsuite/tests/rename/prog006/Setup.lhs"
182 "testsuite/tests/programs/life_space_leak/life.test"
183 "libraries/process/System/Process/Internals.hs"
184 "libraries/unix/cbits/execvpe.c")
185 (("/bin/sh") (which "sh"))
190 (lambda* (#:key inputs outputs #:allow-other-keys)
191 (mkdir-p ghc-bootstrap-prefix)
192 (with-directory-excursion ghc-bootstrap-path
193 (copy-file (assoc-ref inputs "ghc-binary")
195 (zero? (system* "tar" "xvf" "ghc-bin.tar.xz"))))
197 'install-bin 'configure-bin
198 (lambda* (#:key inputs outputs #:allow-other-keys)
201 "./utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"
202 "./utils/hpc/dist-install/build/tmp/hpc"
203 "./utils/haddock/dist/build/tmp/haddock"
204 "./utils/hsc2hs/dist-install/build/tmp/hsc2hs"
205 "./utils/runghc/dist-install/build/tmp/runghc"
206 "./utils/ghc-cabal/dist-install/build/tmp/ghc-cabal"
207 "./utils/hp2ps/dist/build/tmp/hp2ps"
208 "./utils/ghc-pkg/dist-install/build/tmp/ghc-pkg"
209 "./utils/unlit/dist/build/tmp/unlit"
210 "./ghc/stage2/build/tmp/ghc-stage2"))
211 (gmp (assoc-ref inputs "gmp"))
212 (gmp-lib (string-append gmp "/lib"))
213 (gmp-include (string-append gmp "/include"))
215 (string-append (assoc-ref inputs "ncurses") "/lib"))
216 (ld-so (string-append (assoc-ref inputs "libc")
217 ,(glibc-dynamic-linker)))
219 (string-append ghc-bootstrap-prefix
220 "/lib/ghc-7.8.4/terminfo-0.4.0.0")))
221 (with-directory-excursion
222 (string-append ghc-bootstrap-path "/ghc-7.8.4")
223 (setenv "CONFIG_SHELL" (which "bash"))
224 (setenv "LD_LIBRARY_PATH" gmp-lib)
225 ;; The binaries have "/lib64/ld-linux-x86-64.so.2" hardcoded.
227 (cut system* "patchelf" "--set-interpreter" ld-so <>)
229 ;; The binaries include a reference to libtinfo.so.5 which
230 ;; is a subset of libncurses.so.5. We create a symlink in a
231 ;; directory included in the bootstrap binaries rpath.
232 (mkdir-p libtinfo-dir)
234 (string-append ncurses-lib "/libncursesw.so."
235 ,(version-major+minor
236 (package-version ncurses)))
237 (string-append libtinfo-dir "/libtinfo.so.5"))
239 (string-append (getenv "PATH") ":"
240 ghc-bootstrap-prefix "/bin"))
242 (string-append (getcwd) "/configure")
243 (string-append "--prefix=" ghc-bootstrap-prefix)
244 (string-append "--with-gmp-libraries=" gmp-lib)
245 (string-append "--with-gmp-includes=" gmp-include)))))
247 'configure 'install-bin
248 (lambda* (#:key inputs outputs #:allow-other-keys)
249 (with-directory-excursion
250 (string-append ghc-bootstrap-path "/ghc-7.8.4")
251 (zero? (system* "make" "install"))))
252 %standard-phases)))))))
253 (native-search-paths (list (search-path-specification
254 (variable "GHC_PACKAGE_PATH")
256 (string-append "lib/ghc-" version)))
257 (file-pattern ".*\\.conf\\.d$")
258 (file-type 'directory))))
259 (home-page "https://www.haskell.org/ghc")
260 (synopsis "The Glasgow Haskell Compiler")
262 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
263 interactive environment for the functional language Haskell.")
264 (license license:bsd-3)))
273 (uri (string-append "https://www.haskell.org/ghc/dist/"
274 version "/" name "-" version "-src.tar.xz"))
276 (base32 "1c8qc4fhkycynk4g1f9hvk53dj6a1vvqi6bklqznns6hw59m8qhi"))
279 "ghc-dont-pass-linker-flags-via-response-files.patch"))))
280 (build-system gnu-build-system)
281 (supported-systems '("i686-linux" "x86_64-linux"))
282 (outputs '("out" "doc"))
291 "https://www.haskell.org/ghc/dist/"
292 version "/" name "-" version "-testsuite.tar.xz"))
294 (base32 "1wjc3x68l305bl1h1ijd3yhqp2vqj83lkp3kqbr94qmmkqlms8sj"))))))
297 ("python" ,python-2) ; for tests
298 ("ghostscript" ,ghostscript) ; for tests
299 ;; GHC is built with GHC.
300 ("ghc-bootstrap" ,ghc)))
302 `(#:test-target "test"
303 ;; We get a smaller number of test failures by disabling parallel test
307 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
308 ;; gremlin) doesn't support it yet, so skip this phase.
309 #:validate-runpath? #f
311 ;; Don't pass --build=<triplet>, because the configure script
312 ;; auto-detects slightly different triplets for --host and --target and
313 ;; then complains that they don't match.
318 (string-append "--with-gmp-libraries="
319 (assoc-ref %build-inputs "gmp") "/lib")
320 (string-append "--with-gmp-includes="
321 (assoc-ref %build-inputs "gmp") "/include")
322 "--with-system-libffi"
323 (string-append "--with-ffi-libraries="
324 (assoc-ref %build-inputs "libffi") "/lib")
325 (string-append "--with-ffi-includes="
326 (assoc-ref %build-inputs "libffi") "/include")
327 (string-append "--with-curses-libraries="
328 (assoc-ref %build-inputs "ncurses") "/lib")
329 (string-append "--with-curses-includes="
330 (assoc-ref %build-inputs "ncurses") "/include"))
332 (modify-phases %standard-phases
333 (add-after 'unpack 'unpack-testsuite
334 (lambda* (#:key inputs #:allow-other-keys)
335 (with-directory-excursion ".."
336 (copy-file (assoc-ref inputs "ghc-testsuite")
337 "ghc-testsuite.tar.xz")
338 (zero? (system* "tar" "xvf" "ghc-testsuite.tar.xz")))))
339 (add-before 'build 'fix-lib-paths
342 (list "libraries/process/System/Process/Posix.hs"
343 "libraries/process/tests/process001.hs"
344 "libraries/process/tests/process002.hs"
345 "libraries/unix/cbits/execvpe.c")
346 (("/bin/sh") (which "sh"))
347 (("/bin/ls") (which "ls")))
349 (add-before 'build 'fix-environment
351 (unsetenv "GHC_PACKAGE_PATH")
352 (setenv "CONFIG_SHELL" (which "bash"))
354 (add-before 'check 'fix-testsuite
357 (list "testsuite/timeout/Makefile"
358 "testsuite/timeout/timeout.py"
359 "testsuite/timeout/timeout.hs"
360 "testsuite/tests/programs/life_space_leak/life.test")
361 (("/bin/sh") (which "sh"))
364 (native-search-paths (list (search-path-specification
365 (variable "GHC_PACKAGE_PATH")
367 (string-append "lib/ghc-" version)))
368 (file-pattern ".*\\.conf\\.d$")
369 (file-type 'directory))))
370 (home-page "https://www.haskell.org/ghc")
371 (synopsis "The Glasgow Haskell Compiler")
373 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
374 interactive environment for the functional language Haskell.")
375 (license license:bsd-3)))
377 (define-public ghc-hostname
379 (name "ghc-hostname")
384 (uri (string-append "https://hackage.haskell.org/package/hostname/"
385 "hostname-" version ".tar.gz"))
388 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
389 (build-system haskell-build-system)
390 (home-page "https://hackage.haskell.org/package/hostname")
391 (synopsis "Hostname in Haskell")
392 (description "Network.HostName is a simple package providing a means to
393 determine the hostname.")
394 (license license:bsd-3)))
396 (define-public ghc-libxml
403 (uri (string-append "http://hackage.haskell.org/package/libxml/"
404 "libxml-" version ".tar.gz"))
407 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
408 (build-system haskell-build-system)
410 `(("ghc-mtl" ,ghc-mtl)
411 ("libxml2" ,libxml2)))
414 `(,(string-append "--extra-include-dirs="
415 (assoc-ref %build-inputs "libxml2")
416 "/include/libxml2"))))
417 (home-page "http://hackage.haskell.org/package/libxml")
418 (synopsis "Haskell bindings to libxml2")
420 "This library provides minimal Haskell binding to libxml2.")
421 (license license:bsd-3)))
423 (define-public ghc-prelude-extras
425 (name "ghc-prelude-extras")
431 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
436 "1q7mj9hysy747vimnlyrwsk1wb2axymxixa76fwcbcnmz3fi4llp"))))
437 (build-system haskell-build-system)
438 (home-page "https://github.com/ekmett/prelude-extras")
439 (synopsis "Higher order versions of Prelude classes")
440 (description "This library provides higher order versions of
441 @code{Prelude} classes to ease programming with polymorphic recursion and
442 reduce @code{UndecidableInstances}.")
443 (license license:bsd-3)))
445 (define-public ghc-data-default
447 (name "ghc-data-default")
453 "https://hackage.haskell.org/package/data-default/data-default-"
457 (base32 "0d1hm0l9kim3kszshr4msmgzizrzha48gz2kb7b61p7n3gs70m7c"))))
458 (build-system haskell-build-system)
460 `(("ghc-data-default-class"
461 ,ghc-data-default-class)
462 ("ghc-data-default-instances-base"
463 ,ghc-data-default-instances-base)
464 ("ghc-data-default-instances-containers"
465 ,ghc-data-default-instances-containers)
466 ("ghc-data-default-instances-dlist"
467 ,ghc-data-default-instances-dlist)
468 ("ghc-data-default-instances-old-locale"
469 ,ghc-data-default-instances-old-locale)))
470 (home-page "https://hackage.haskell.org/package/data-default")
471 (synopsis "Types with default values")
473 "This package defines a class for types with a default value, and
474 provides instances for types from the base, containers, dlist and old-locale
476 (license license:bsd-3)))
478 (define-public ghc-data-default-class
480 (name "ghc-data-default-class")
486 "https://hackage.haskell.org/package/data-default-class/"
487 "data-default-class-" version ".tar.gz"))
489 (base32 "0ccgr3jllinchqhw3lsn73ic6axk4196if5274rr1rghls0fxj5d"))))
490 (build-system haskell-build-system)
491 (home-page "https://hackage.haskell.org/package/data-default-class")
492 (synopsis "Types with default values")
494 "This package defines a class for types with default values.")
495 (license license:bsd-3)))
497 (define-public ghc-data-default-instances-base
499 (name "ghc-data-default-instances-base")
505 "https://hackage.haskell.org/package/"
506 "data-default-instances-base/"
507 "data-default-instances-base-" version ".tar.gz"))
509 (base32 "1832nq6by91f1iw73ycvkbgn8kpra83pvf2q61hy47xffh0zy4pb"))))
510 (build-system haskell-build-system)
512 `(("ghc-data-default-class" ,ghc-data-default-class)))
513 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
514 (synopsis "Default instances for types in base")
516 "This package provides default instances for types from the base
518 (license license:bsd-3)))
520 (define-public ghc-data-default-instances-containers
522 (name "ghc-data-default-instances-containers")
528 "https://hackage.haskell.org/package/"
529 "data-default-instances-containers/"
530 "data-default-instances-containers-" version ".tar.gz"))
532 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
533 (build-system haskell-build-system)
535 `(("ghc-data-default-class" ,ghc-data-default-class)))
536 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
537 (synopsis "Default instances for types in containers")
538 (description "Provides default instances for types from the containers
540 (license license:bsd-3)))
542 (define-public ghc-data-default-instances-dlist
544 (name "ghc-data-default-instances-dlist")
550 "https://hackage.haskell.org/package/"
551 "data-default-instances-dlist/"
552 "data-default-instances-dlist-" version ".tar.gz"))
554 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
555 (build-system haskell-build-system)
557 `(("ghc-data-default-class" ,ghc-data-default-class)
558 ("ghc-dlist" ,ghc-dlist)))
559 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
560 (synopsis "Default instances for types in dlist")
561 (description "Provides default instances for types from the dlist
563 (license license:bsd-3)))
565 (define-public ghc-haddock-library
567 (name "ghc-haddock-library")
573 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
578 "0mhh2ppfhrvvi9485ipwbkv2fbgj35jvz3la02y3jlvg5ffs1c8g"))))
579 (build-system haskell-build-system)
581 `(("ghc-base-compat" ,ghc-base-compat)
582 ("ghc-hspec" ,ghc-hspec)
583 ("ghc-quickcheck" ,ghc-quickcheck)))
585 `(("hspec-discover" ,hspec-discover)))
586 (home-page "http://www.haskell.org/haddock/")
588 "Library exposing some functionality of Haddock")
590 "Haddock is a documentation-generation tool for Haskell libraries. These
591 modules expose some functionality of it without pulling in the GHC dependency.
592 Please note that the API is likely to change so specify upper bounds in your
593 project if you can't release often. For interacting with Haddock itself, see
594 the ‘haddock’ package.")
595 (license license:bsd-3)))
597 (define-public ghc-haddock-api
599 (name "ghc-haddock-api")
605 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
610 "1spd5axg1pdjv4dkdb5gcwjsc8gg37qi4mr2k2db6ayywdkis1p2"))))
611 (build-system haskell-build-system)
613 `(("ghc-paths" ,ghc-paths)
614 ("ghc-haddock-library" ,ghc-haddock-library)))
615 (home-page "http://www.haskell.org/haddock/")
616 (synopsis "API for documentation-generation tool Haddock")
617 (description "This package provides an API to Haddock, the
618 documentation-generation tool for Haskell libraries.")
619 (license license:bsd-3)))
621 (define-public ghc-haddock
629 "https://hackage.haskell.org/package/haddock/haddock-"
634 "1mnnvc5jqp6n6rj7xw8wdm0z2xp9fndkz11c8p3vbljsrcqd3v26"))))
635 (build-system haskell-build-system)
636 (arguments `(#:tests? #f)) ; FIXME: Tests break with GHC 7.10.2, fixed
638 ; <https://github.com/haskell/haddock/issues/427>
639 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
640 (home-page "http://www.haskell.org/haddock/")
642 "Documentation-generation tool for Haskell libraries")
644 "Haddock is a documentation-generation tool for Haskell libraries.")
645 (license license:bsd-3)))
647 (define-public ghc-simple-reflect
649 (name "ghc-simple-reflect")
655 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
660 "1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq"))))
661 (build-system haskell-build-system)
663 "http://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
665 "Simple reflection of expressions containing variables")
667 "This package allows simple reflection of expressions containing
668 variables. Reflection here means that a Haskell expression is turned into a
669 string. The primary aim of this package is teaching and understanding; there
670 are no options for manipulating the reflected expressions beyond showing
672 (license license:bsd-3)))
674 (define-public ghc-multipart
676 (name "ghc-multipart")
682 "https://hackage.haskell.org/package/multipart/multipart-"
687 "0g04jhyw1ib1s7c9bcldyyn4n90qd9x7dmvic4vgq57bgcqgnhz5"))))
688 (build-system haskell-build-system)
689 (inputs `(("ghc-parsec" ,ghc-parsec)))
691 "http://www.github.com/silkapp/multipart")
693 "HTTP multipart library")
695 "HTTP multipart split out of the cgi package, for Haskell.")
696 (license license:bsd-3)))
698 (define-public ghc-html
706 "https://hackage.haskell.org/package/html/html-"
711 "0q9hmfii62kc82ijlg238fxrzxhsivn42x5wd6ffcr9xldg4jd8c"))))
712 (build-system haskell-build-system)
714 "https://hackage.haskell.org/package/html")
715 (synopsis "HTML combinator library")
717 "This package contains a combinator library for constructing HTML
719 (license license:bsd-3)))
721 (define-public ghc-xhtml
729 "https://hackage.haskell.org/package/xhtml/xhtml-"
734 "1n6wgzxbj8xf0wf1il827qidphnffb5vzhwzqlxhh70c2y10f0ik"))))
735 (build-system haskell-build-system)
736 (home-page "https://github.com/haskell/xhtml")
737 (synopsis "XHTML combinator library")
739 "This package provides combinators for producing XHTML 1.0, including the
740 Strict, Transitional and Frameset variants.")
741 (license license:bsd-3)))
743 (define-public ghc-haskell-src
745 (name "ghc-haskell-src")
751 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
756 "19lilhpwnjb7cks9fq1ipnc8f7dwxy0ri3dgjkdxs3i355byw99a"))))
757 (build-system haskell-build-system)
759 `(("ghc-happy" ,ghc-happy)
760 ("ghc-syb" ,ghc-syb)))
762 "https://hackage.haskell.org/package/haskell-src")
764 "Support for manipulating Haskell source code")
766 "The 'haskell-src' package provides support for manipulating Haskell
767 source code. The package provides a lexer, parser and pretty-printer, and a
768 definition of a Haskell abstract syntax tree (AST). Common uses of this
769 package are to parse or generate Haskell 98 code.")
770 (license license:bsd-3)))
772 (define-public ghc-alex
780 "https://hackage.haskell.org/package/alex/alex-"
785 "17x13nbbr79xgdlzywjqw19vcl6iygjnssjnxnajgijkv764wknn"))))
786 (build-system haskell-build-system)
787 (arguments `(#:tests? #f)) ; FIXME: Tests broken for GHC 7.10. Fixed
789 ; <https://github.com/simonmar/alex/issues/62>
790 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
791 (home-page "http://www.haskell.org/alex/")
793 "Tool for generating lexical analysers in Haskell")
795 "Alex is a tool for generating lexical analysers in Haskell. It takes a
796 description of tokens based on regular expressions and generates a Haskell
797 module containing code for scanning text efficiently. It is similar to the
798 tool lex or flex for C/C++.")
799 (license license:bsd-3)))
801 (define-public ghc-cgi
804 (version "3001.2.2.2")
809 "https://hackage.haskell.org/package/cgi/cgi-"
814 "0q1pxpa8gi42c0hsidcdkhk5xr5anfrvhqsn3iksr9c0rllhz193"))))
815 (build-system haskell-build-system)
817 `(("ghc-parsec" ,ghc-parsec)
818 ("ghc-old-locale" ,ghc-old-locale)
819 ("ghc-old-time" ,ghc-old-time)
820 ("ghc-exceptions" ,ghc-exceptions)
821 ("ghc-multipart" ,ghc-multipart)
822 ("ghc-network-uri" ,ghc-network-uri)
823 ("ghc-network" ,ghc-network)
824 ("ghc-mtl" ,ghc-mtl)))
826 "https://github.com/cheecheeo/haskell-cgi")
827 (synopsis "Library for writing CGI programs")
829 "This is a Haskell library for writing CGI programs.")
830 (license license:bsd-3)))
832 (define-public ghc-cmdargs
840 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
845 "0vmz7f0ssrqlp6wzmc0mjqj4qczfgk58g0lr0yz7jamamlgpq4b6"))))
846 (build-system haskell-build-system)
848 "http://community.haskell.org/~ndm/cmdargs/")
849 (synopsis "Command line argument processing")
851 "This library provides an easy way to define command line parsers.")
852 (license license:bsd-3)))
854 (define-public ghc-concatenative
856 (name "ghc-concatenative")
861 "https://hackage.haskell.org/package/concatenative/concatenative-"
865 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
866 (build-system haskell-build-system)
868 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
869 (synopsis "Library for postfix control flow")
871 "Concatenative gives Haskell Factor-style combinators and arrows for
872 postfix notation. For more information on stack based languages, see
873 @uref{http://concatenative.org}.")
874 (license license:bsd-3)))
876 (define-public ghc-happy
884 "https://hackage.haskell.org/package/happy/happy-"
889 "1nj353q4z1g186fpjzf0dnsg71qhxqpamx8jy89rjjvv3p0kmw32"))))
890 (build-system haskell-build-system)
891 (arguments `(#:tests? #f)) ;; cannot satisfy -package mtl. Possible Cabal
894 `(("ghc-mtl" ,ghc-mtl)))
895 (home-page "https://hackage.haskell.org/package/happy")
896 (synopsis "Parser generator for Haskell")
897 (description "Happy is a parser generator for Haskell. Given a grammar
898 specification in BNF, Happy generates Haskell code to parse the grammar.
899 Happy works in a similar way to the yacc tool for C.")
900 (license license:bsd-3)))
902 (define-public ghc-haskell-src-exts
904 (name "ghc-haskell-src-exts")
910 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
915 "1h8gjw5g92rvvzadqzpscg73x7ajvs1wlphrh27afim3scdd8frz"))))
916 (build-system haskell-build-system)
920 ("ghc-happy" ,ghc-happy)
921 ("ghc-syb" ,ghc-syb)))
923 `(("ghc-smallcheck" ,ghc-smallcheck)
924 ("ghc-tasty" ,ghc-tasty)
925 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
926 ("ghc-tasty-golden" ,ghc-tasty-golden)))
927 (home-page "https://github.com/haskell-suite/haskell-src-exts")
928 (synopsis "Library for manipulating Haskell source")
929 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
930 extension of the standard @code{haskell-src} package, and handles most
931 registered syntactic extensions to Haskell. All extensions implemented in GHC
932 are supported. Apart from these standard extensions, it also handles regular
933 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
934 (license license:bsd-3)))
944 "https://hackage.haskell.org/package/" name
945 "/" name "-" version ".tar.gz"))
948 "14v3rdjjlml9nimdk7d5dvir2bw78ai49yylvms9lnzmw29s3546"))))
949 (build-system haskell-build-system)
952 ("ghc-cmdargs" ,ghc-cmdargs)
953 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
954 ("ghc-uniplate" ,ghc-uniplate)
955 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
956 ("ghc-extra" ,ghc-extra)
957 ("hscolour" ,hscolour)))
958 (home-page "http://community.haskell.org/~ndm/hlint/")
959 (synopsis "Suggest improvements for Haskell source code")
960 (description "HLint reads Haskell programs and suggests changes that
961 hopefully make them easier to read. HLint also makes it easy to disable
962 unwanted suggestions, and to add your own custom suggestions.")
963 (license license:bsd-3)))
965 (define-public ghc-resourcet
967 (name "ghc-resourcet")
973 "https://hackage.haskell.org/package/resourcet/resourcet-"
978 "0zhsaaa4n8ry76vjih519a8npm2hrzk10d5asrgllcwpzmifl41y"))))
979 (build-system haskell-build-system)
981 `(("ghc-transformers-base" ,ghc-transformers-base)
982 ("ghc-monad-control" ,ghc-monad-control)
983 ("ghc-transformers-compat" ,ghc-transformers-compat)
985 ("ghc-mmorph" ,ghc-mmorph)
986 ("ghc-exceptions" ,ghc-exceptions)))
988 `(("ghc-lifted-base" ,ghc-lifted-base)
989 ("ghc-hspec" ,ghc-hspec)))
990 (home-page "https://github.com/snoyberg/conduit")
991 (synopsis "Deterministic allocation and freeing of scarce resources")
992 (description "ResourceT is a monad transformer which creates a region of
993 code where you can safely allocate resources.")
994 (license license:bsd-3)))
996 (define-public ghc-xss-sanitize
998 (name "ghc-xss-sanitize")
1004 "https://hackage.haskell.org/package/xss-sanitize/xss-sanitize-"
1009 "1j2qrn2dbfx01m7zyk9ilgnp9zjwq9mk62b0rdal4zkg4vh212h0"))))
1010 (build-system haskell-build-system)
1012 `(("ghc-tagsoup" ,ghc-tagsoup)
1013 ("ghc-utf8-string" ,ghc-utf8-string)
1014 ("ghc-css-text" ,ghc-css-text)
1015 ("ghc-network-uri" ,ghc-network-uri)))
1017 `(("ghc-text" ,ghc-text)
1018 ("ghc-attoparsec" ,ghc-attoparsec)
1019 ("ghc-hspec" ,ghc-hspec)
1020 ("ghc-hunit" ,ghc-hunit)))
1021 (home-page "https://github.com/yesodweb/haskell-xss-sanitize")
1022 (synopsis "Sanitize untrusted HTML to prevent XSS attacks")
1023 (description "This library provides @code{sanitizeXSS}. Run untrusted
1024 HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to prevent XSS
1026 (license license:bsd-3)))
1028 (define-public ghc-objectname
1030 (name "ghc-objectname")
1036 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
1041 "0kh5fb9ykag6rfsm3f0bx3w323s18w2cyry34w5xgli5ncqimadg"))))
1042 (build-system haskell-build-system)
1043 (home-page "https://hackage.haskell.org/package/ObjectName")
1044 (synopsis "Helper library for Haskell OpenGL")
1045 (description "This tiny package contains the class ObjectName, which
1046 corresponds to the general notion of explicitly handled identifiers for API
1047 objects, e.g. a texture object name in OpenGL or a buffer object name in
1049 (license license:bsd-3)))
1051 (define-public ghc-sdl
1059 "https://hackage.haskell.org/package/SDL/SDL-"
1064 "1sa3zx3vrs1gbinxx33zwq0x2bsf3i964bff7419p7vzidn36k46"))))
1065 (build-system haskell-build-system)
1068 (home-page "https://hackage.haskell.org/package/SDL")
1069 (synopsis "LibSDL for Haskell")
1070 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
1071 multimedia library designed to provide low level access to audio, keyboard,
1072 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
1073 by MPEG playback software, emulators, and many popular games, including the
1074 award winning Linux port of \"Civilization: Call To Power.\"")
1075 (license license:bsd-3)))
1077 (define-public ghc-sdl-mixer
1079 (name "ghc-sdl-mixer")
1085 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
1090 "0md3238hx79mxb9a7l43kg3b3d28x4mqvj0hjsbsh15ajnvy9x2z"))))
1091 (build-system haskell-build-system)
1094 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
1095 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
1096 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
1098 `(("ghc-sdl" ,ghc-sdl)
1099 ("sdl-mixer" ,sdl-mixer)))
1100 (home-page "https://hackage.haskell.org/package/SDL-mixer")
1101 (synopsis "Haskell bindings to libSDL_mixer")
1102 (description "SDL_mixer is a sample multi-channel audio mixer library. It
1103 supports any number of simultaneously playing channels of 16 bit stereo audio,
1104 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
1105 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
1106 (license license:bsd-3)))
1108 (define-public ghc-sdl-image
1110 (name "ghc-sdl-image")
1116 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
1121 "1m02q2426qp8m8pzz2jkk4srk2vb3j3ickiaga5jx9rkkhz732zq"))))
1122 (build-system haskell-build-system)
1125 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
1126 (sdl-image-include (string-append sdl-image "/include/SDL")))
1127 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
1129 `(("ghc-sdl" ,ghc-sdl)
1130 ("sdl-image" ,sdl-image)))
1131 (home-page "https://hackage.haskell.org/package/SDL-image")
1132 (synopsis "Haskell bindings to libSDL_image")
1133 (description "SDL_image is an image file loading library. It loads images
1134 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
1135 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
1136 (license license:bsd-3)))
1138 (define-public ghc-half
1146 "https://hackage.haskell.org/package/half/half-"
1151 "0zhwc6ps5w4ccnxl8sy623z4rjsafmnry69jpkw4hrbq11l402f1"))))
1152 (build-system haskell-build-system)
1153 (home-page "https://github.com/ekmett/half")
1154 (synopsis "Half-precision floating-point computations")
1155 (description "This library provides a half-precision floating-point
1156 computation library for Haskell.")
1157 (license license:bsd-3)))
1159 (define-public ghc-openglraw
1161 (name "ghc-openglraw")
1167 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
1172 "1kfq24mxg922ml3kkmym2qfpc56jbmrfbiix4rc2cxlwv05i191k"))))
1173 (build-system haskell-build-system)
1175 `(("ghc-half" ,ghc-half)
1177 ("ghc-text" ,ghc-text)))
1178 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1179 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
1180 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
1181 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
1182 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
1183 offers access to all necessary functions, tokens and types plus a general
1184 facility for loading extension entries. The module hierarchy closely mirrors
1185 the naming structure of the OpenGL extensions, making it easy to find the
1186 right module to import. All API entries are loaded dynamically, so no special
1187 C header files are needed for building this package. If an API entry is not
1188 found at runtime, a userError is thrown.")
1189 (license license:bsd-3)))
1191 (define-public ghc-glut
1199 "https://hackage.haskell.org/package/GLUT/GLUT-"
1204 "1qfilpc10jm47anan44c20y8mh76f2dv09m5d22gk0f7am7hg4k2"))))
1205 (build-system haskell-build-system)
1207 `(("ghc-statevar" ,ghc-statevar)
1208 ("ghc-opengl" ,ghc-opengl)
1209 ("ghc-openglraw" ,ghc-openglraw)
1210 ("freeglut" ,freeglut)))
1211 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1212 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
1213 (description "This library provides Haskell bindings for the OpenGL
1214 Utility Toolkit, a window system-independent toolkit for writing OpenGL
1216 (license license:bsd-3)))
1218 (define-public ghc-gluraw
1226 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
1231 "0gscd9lhp9mb10q8s716nx26m8qng9xbb4h6b3f48zzgkc1sy96x"))))
1232 (build-system haskell-build-system)
1234 `(("ghc-openglraw" ,ghc-openglraw)))
1235 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1236 (synopsis "Raw Haskell bindings GLU")
1237 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
1238 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
1239 basis for a nicer interface.")
1240 (license license:bsd-3)))
1242 (define-public ghc-opengl
1245 (version "2.12.0.1")
1250 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
1255 "1mcfb167jl75qc2hgylh83vf2jqizvyvkvhhb72adi2crc3zqz4b"))))
1256 (build-system haskell-build-system)
1258 `(("ghc-text" ,ghc-text)
1259 ("ghc-objectname" ,ghc-objectname)
1260 ("ghc-gluraw" ,ghc-gluraw)
1261 ("ghc-statevar" ,ghc-statevar)
1262 ("ghc-openglraw" ,ghc-openglraw)))
1263 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1264 (synopsis "Haskell bindings for the OpenGL graphics system")
1265 (description "This package provides Haskell bindings for the OpenGL
1266 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
1268 (license license:bsd-3)))
1270 (define-public ghc-streaming-commons
1272 (name "ghc-streaming-commons")
1273 (version "0.1.14.2")
1278 "https://hackage.haskell.org/package/streaming-commons/streaming-commons-"
1283 "12nw9bwvy6zrabkgvbp371klca3ds6qjlfncg1b8pbwx1y7m8c8h"))))
1284 (build-system haskell-build-system)
1286 `(("ghc-blaze-builder" ,ghc-blaze-builder)
1287 ("ghc-network" ,ghc-network)
1288 ("ghc-random" ,ghc-random)
1289 ("ghc-stm" ,ghc-stm)
1290 ("ghc-text" ,ghc-text)
1291 ("ghc-zlib" ,ghc-zlib)))
1293 `(("ghc-quickcheck" ,ghc-quickcheck)
1294 ("ghc-hspec" ,ghc-hspec)
1295 ("hspec-discover" ,hspec-discover)))
1296 (home-page "https://hackage.haskell.org/package/streaming-commons")
1297 (synopsis "Conduit and pipes needed by some streaming data libraries")
1298 (description "Provides low-dependency functionality commonly needed by
1299 various Haskell streaming data libraries, such as @code{conduit} and
1301 (license license:bsd-3)))
1303 (define-public cpphs
1311 "https://hackage.haskell.org/package/" name "/"
1312 name "-" version ".tar.gz"))
1315 "1njpmxgpah5pcqppcl1cxb5xicf6xlqrd162qm12khp9hainlm72"))))
1316 (build-system haskell-build-system)
1318 `(("ghc-polyparse" ,ghc-polyparse)
1319 ("ghc-old-locale" ,ghc-old-locale)
1320 ("ghc-old-time" ,ghc-old-time)))
1321 (home-page "http://projects.haskell.org/cpphs/")
1322 (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
1323 (description "Cpphs is a re-implementation of the C pre-processor that is
1324 both more compatible with Haskell, and itself written in Haskell so that it
1325 can be distributed with compilers. This version of the C pre-processor is
1326 pretty-much feature-complete and compatible with traditional (K&R)
1327 pre-processors. Additional features include: a plain-text mode; an option to
1328 unlit literate code files; and an option to turn off macro-expansion.")
1329 (license (list license:lgpl2.1+ license:gpl3+))))
1331 (define-public ghc-reflection
1333 (name "ghc-reflection")
1339 "https://hackage.haskell.org/package/reflection/reflection-"
1344 "10w3m6v3g6am203wbrikdbp57x9vw6b4jsh7bxdzsss4nmpm81zg"))))
1345 (build-system haskell-build-system)
1346 (inputs `(("ghc-tagged" ,ghc-tagged)))
1347 (home-page "https://github.com/ekmett/reflection")
1348 (synopsis "Reify arbitrary terms into types that can be reflected back
1350 (description "This package addresses the 'configuration problem' which is
1351 propogating configurations that are available at run-time, allowing multiple
1352 configurations to coexist without resorting to mutable global variables or
1353 @code{System.IO.Unsafe.unsafePerformIO}.")
1354 (license license:bsd-3)))
1356 (define-public ghc-old-locale
1358 (name "ghc-old-locale")
1364 "https://hackage.haskell.org/package/old-locale/old-locale-"
1368 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
1369 (build-system haskell-build-system)
1370 (home-page "https://hackage.haskell.org/package/old-locale")
1371 (synopsis "Adapt to locale conventions")
1373 "This package provides the ability to adapt to locale conventions such as
1374 date and time formats.")
1375 (license license:bsd-3)))
1377 (define-public ghc-old-time
1379 (name "ghc-old-time")
1385 "https://hackage.haskell.org/package/old-time/old-time-"
1390 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
1391 (build-system haskell-build-system)
1393 `(("ghc-old-locale" ,ghc-old-locale)))
1394 (home-page "https://hackage.haskell.org/package/old-time")
1395 (synopsis "Time compatibility library for Haskell")
1396 (description "Old-time is a package for backwards compatibility with the
1397 old @code{time} library. For new projects, the newer
1398 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
1399 (license license:bsd-3)))
1401 (define-public ghc-data-default-instances-old-locale
1403 (name "ghc-data-default-instances-old-locale")
1409 "https://hackage.haskell.org/package/"
1410 "data-default-instances-old-locale/"
1411 "data-default-instances-old-locale-" version ".tar.gz"))
1413 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
1414 (build-system haskell-build-system)
1416 `(("ghc-data-default-class" ,ghc-data-default-class)
1417 ("ghc-old-locale" ,ghc-old-locale)))
1419 "https://hackage.haskell.org/package/data-default-instances-old-locale")
1420 (synopsis "Default instances for types in old-locale")
1421 (description "Provides Default instances for types from the old-locale
1423 (license license:bsd-3)))
1425 (define-public ghc-dlist
1433 "https://hackage.haskell.org/package/dlist/dlist-"
1437 (base32 "10rp96rryij7d8gz5kv8ygc6chm1624ck5mbnqs2a3fkdzqj2b9k"))))
1438 (build-system haskell-build-system)
1440 `(("ghc-quickcheck" ,ghc-quickcheck)))
1441 (home-page "https://github.com/spl/dlist")
1442 (synopsis "Difference lists")
1444 "Difference lists are a list-like type supporting O(1) append. This is
1445 particularly useful for efficient logging and pretty printing (e.g. with the
1446 Writer monad), where list append quickly becomes too expensive.")
1447 (license license:bsd-3)))
1449 (define-public ghc-extensible-exceptions
1451 (name "ghc-extensible-exceptions")
1456 (uri (string-append "https://hackage.haskell.org/package/"
1457 "extensible-exceptions/extensible-exceptions-"
1460 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
1461 (build-system haskell-build-system)
1462 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
1463 (synopsis "Extensible exceptions for Haskell")
1465 "This package provides extensible exceptions for both new and old
1466 versions of GHC (i.e., < 6.10).")
1467 (license license:bsd-3)))
1469 (define-public cabal-install
1471 (name "cabal-install")
1472 (version "1.22.6.0")
1477 "https://hackage.haskell.org/package/cabal-install/cabal-install-"
1481 (base32 "1d5h7h2wjwc2s3dvsvzjgmmfrfl2312ym2h6kyjgm9wnaqw9w8wx"))))
1482 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
1483 (build-system haskell-build-system)
1485 `(("ghc-http" ,ghc-http)
1486 ("ghc-mtl" ,ghc-mtl)
1487 ("ghc-network-uri" ,ghc-network-uri)
1488 ("ghc-network" ,ghc-network)
1489 ("ghc-random" ,ghc-random)
1490 ("ghc-stm" ,ghc-stm)
1491 ("ghc-zlib" ,ghc-zlib)))
1492 (home-page "http://www.haskell.org/cabal/")
1493 (synopsis "Command-line interface for Cabal and Hackage")
1495 "The cabal command-line program simplifies the process of managing
1496 Haskell software by automating the fetching, configuration, compilation and
1497 installation of Haskell libraries and programs.")
1498 (license license:bsd-3)))
1500 (define-public ghc-mtl
1504 (outputs '("out" "doc"))
1509 "https://hackage.haskell.org/package/mtl/mtl-"
1514 "1icdbj2rshzn0m1zz5wa7v3xvkf6qw811p4s7jgqwvx1ydwrvrfa"))))
1515 (build-system haskell-build-system)
1516 (home-page "https://github.com/ekmett/mtl")
1518 "Monad classes, using functional dependencies")
1519 (description "Monad classes using functional dependencies, with instances
1520 for various monad transformers, inspired by the paper 'Functional Programming
1521 with Overloading and Higher-Order Polymorphism', by Mark P Jones, in 'Advanced
1522 School of Functional Programming', 1995. See
1523 @uref{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html, the paper}.")
1524 (license license:bsd-3)))
1526 (define-public ghc-paths
1530 (outputs '("out" "doc"))
1535 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
1540 "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg"))))
1541 (build-system haskell-build-system)
1542 (home-page "https://github.com/simonmar/ghc-paths")
1544 "Knowledge of GHC's installation directories")
1546 "Knowledge of GHC's installation directories.")
1547 (license license:bsd-3)))
1549 (define-public ghc-utf8-string
1551 (name "ghc-utf8-string")
1557 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
1561 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
1562 (build-system haskell-build-system)
1563 (home-page "https://github.com/glguy/utf8-string/")
1564 (synopsis "Support for reading and writing UTF8 Strings")
1566 "A UTF8 layer for Strings. The utf8-string package provides operations
1567 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
1568 UTF8 without truncation.")
1569 (license license:bsd-3)))
1571 (define-public ghc-setenv
1579 "https://hackage.haskell.org/package/setenv/setenv-"
1584 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
1585 (build-system haskell-build-system)
1586 (home-page "https://hackage.haskell.org/package/setenv")
1587 (synopsis "Library for setting environment variables")
1588 (description "This package provides a Haskell library for setting
1589 environment variables.")
1590 (license license:expat)))
1592 (define-public ghc-setlocale
1594 (name "ghc-setlocale")
1599 "https://hackage.haskell.org/package/setlocale-"
1600 version "/setlocale-" version ".tar.gz"))
1603 "1sd73zgpijr9xjdj5p562cmlcxmx5iff5k8xh9b6rpcgrgnnlf9j"))))
1604 (build-system haskell-build-system)
1605 (home-page "https://hackage.haskell.org/package/setlocale")
1606 (synopsis "Haskell bindings to setlocale")
1607 (description "This package provides Haskell bindings to the
1608 @code{setlocale} C function.")
1609 (license license:bsd-3)))
1611 (define-public ghc-x11
1618 (uri (string-append "https://hackage.haskell.org/package/X11/"
1619 "X11-" version ".tar.gz"))
1621 (base32 "1kzjcynm3rr83ihqx2y2d852jc49da4p18gv6jzm7g87z22x85jj"))))
1622 (build-system haskell-build-system)
1624 `(("libx11" ,libx11)
1625 ("libxrandr" ,libxrandr)
1626 ("libxinerama" ,libxinerama)
1627 ("libxscrnsaver" ,libxscrnsaver)
1628 ("ghc-data-default" ,ghc-data-default)))
1629 (home-page "https://github.com/haskell-pkg-janitors/X11")
1630 (synopsis "Bindings to the X11 graphics library")
1632 "This package provides Haskell bindings to the X11 graphics library. The
1633 bindings are a direct translation of the C bindings.")
1634 (license license:bsd-3)))
1636 (define-public ghc-x11-xft
1638 (name "ghc-x11-xft")
1643 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
1644 "X11-xft-" version ".tar.gz"))
1646 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
1648 `(("ghc-x11" ,ghc-x11)
1649 ("ghc-utf8-string" ,ghc-utf8-string)
1652 ("xproto" ,xproto)))
1654 `(("pkg-config" ,pkg-config)))
1655 (build-system haskell-build-system)
1656 (home-page "https://hackage.haskell.org/package/X11-xft")
1657 (synopsis "Bindings to Xft")
1659 "Bindings to the Xft, X Free Type interface library, and some Xrender
1661 (license license:lgpl2.1)))
1663 (define-public ghc-stringbuilder
1665 (name "ghc-stringbuilder")
1671 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
1676 "1ap95xphqnrhv64c2a137wqslkdmb2jjd9ldb17gs1pw48k8hrl9"))))
1677 (build-system haskell-build-system)
1678 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
1680 (home-page "https://hackage.haskell.org/package/stringbuilder")
1681 (synopsis "Writer monad for multi-line string literals")
1682 (description "This package provides a writer monad for multi-line string
1684 (license license:expat)))
1686 (define-public ghc-zlib
1690 (outputs '("out" "doc"))
1695 "https://hackage.haskell.org/package/zlib/zlib-"
1700 "15hhsk7z3gvm7sz2ic2z1ca5c6rpsln2rr391mdbm1bxlzc1gmkm"))))
1701 (build-system haskell-build-system)
1702 (inputs `(("zlib" ,zlib)))
1703 (home-page "https://hackage.haskell.org/package/zlib")
1705 "Compression and decompression in the gzip and zlib formats")
1707 "This package provides a pure interface for compressing and decompressing
1708 streams of data represented as lazy 'ByteString's. It uses the zlib C library
1709 so it has high performance. It supports the 'zlib', 'gzip' and 'raw'
1710 compression formats. It provides a convenient high level API suitable for
1711 most tasks and for the few cases where more control is needed it provides
1712 access to the full zlib feature set.")
1713 (license license:bsd-3)))
1715 (define-public ghc-stm
1719 (outputs '("out" "doc"))
1724 "https://hackage.haskell.org/package/stm/stm-"
1729 "0gc8zvdijp3rwmidkpxv76b4i0dc8dw6nbd92rxl4vxl0655iysx"))))
1730 (build-system haskell-build-system)
1731 (home-page "https://hackage.haskell.org/package/stm")
1732 (synopsis "Software Transactional Memory")
1734 "A modular composable concurrency abstraction.")
1735 (license license:bsd-3)))
1737 (define-public ghc-parallel
1739 (name "ghc-parallel")
1741 (outputs '("out" "doc"))
1746 "https://hackage.haskell.org/package/parallel/parallel-"
1751 "0hp6vf4zxsw6vz6lj505xihmnfhgjp39c9q7nyzlgcmps3xx6a5r"))))
1752 (build-system haskell-build-system)
1753 (home-page "https://hackage.haskell.org/package/parallel")
1754 (synopsis "Parallel programming library")
1756 "This package provides a library for parallel programming.")
1757 (license license:bsd-3)))
1759 (define-public ghc-text
1763 (outputs '("out" "doc"))
1768 "https://hackage.haskell.org/package/text/text-"
1773 "0gzqx5cpkdhshbz9xss51mpyq23pnf8dwjz4h3irbv2ryaa4qdlq"))))
1774 (build-system haskell-build-system)
1776 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1777 (home-page "https://github.com/bos/text")
1778 (synopsis "Efficient packed Unicode text type library")
1780 "An efficient packed, immutable Unicode text type (both strict and
1781 lazy), with a powerful loop fusion optimization framework.
1783 The 'Text' type represents Unicode character strings, in a time and
1784 space-efficient manner. This package provides text processing
1785 capabilities that are optimized for performance critical use, both
1786 in terms of large data quantities and high speed.")
1787 (license license:bsd-3)))
1789 (define-public ghc-hashable
1791 (name "ghc-hashable")
1793 (outputs '("out" "doc"))
1798 "https://hackage.haskell.org/package/hashable/hashable-"
1803 "0kp4aj0x1iicz9qirpqxxqd8x5g1njbapxk1d90n406w3xykz4pw"))))
1804 (build-system haskell-build-system)
1806 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1808 `(("ghc-text" ,ghc-text)))
1809 (home-page "https://github.com/tibbe/hashable")
1811 "Class for types that can be converted to a hash value")
1813 "This package defines a class, 'Hashable', for types that can be
1814 converted to a hash value. This class exists for the benefit of hashing-based
1815 data structures. The package provides instances for basic types and a way to
1816 combine hash values.")
1817 (license license:bsd-3)))
1819 (define-public ghc-hunit
1823 (outputs '("out" "doc"))
1828 "https://hackage.haskell.org/package/HUnit/HUnit-"
1833 "0hcs6qh8bqhip1kkjjnw7ccgcsmawdz5yvffjj5y8zd2vcsavx8a"))))
1834 (build-system haskell-build-system)
1835 (home-page "http://hunit.sourceforge.net/")
1836 (synopsis "Unit testing framework for Haskell")
1838 "HUnit is a unit testing framework for Haskell, inspired by the
1839 JUnit tool for Java.")
1840 (license license:bsd-3)))
1842 (define-public ghc-random
1846 (outputs '("out" "doc"))
1851 "https://hackage.haskell.org/package/random/random-"
1855 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
1856 (build-system haskell-build-system)
1857 (home-page "https://hackage.haskell.org/package/random")
1858 (synopsis "Random number library")
1859 (description "This package provides a basic random number generation
1860 library, including the ability to split random number generators.")
1861 (license license:bsd-3)))
1863 (define-public ghc-primitive
1865 (name "ghc-primitive")
1867 (outputs '("out" "doc"))
1872 "https://hackage.haskell.org/package/primitive/primitive-"
1877 "1j1q7l21rdm8kfs93vibr3xwkkhqis181w2k6klfhx5g5skiywwk"))))
1878 (build-system haskell-build-system)
1880 "https://github.com/haskell/primitive")
1881 (synopsis "Primitive memory-related operations")
1883 "This package provides various primitive memory-related operations.")
1884 (license license:bsd-3)))
1886 (define-public ghc-test-framework
1888 (name "ghc-test-framework")
1893 (uri (string-append "https://hackage.haskell.org/package/test-framework/"
1894 "test-framework-" version ".tar.gz"))
1897 "0wxjgdvb1c4ykazw774zlx86550848wbsvgjgcrdzcgbb9m650vq"))))
1898 (build-system haskell-build-system)
1900 `(("ghc-hunit" ,ghc-hunit)
1901 ("ghc-quickcheck" ,ghc-quickcheck)))
1903 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
1904 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
1905 ("ghc-hostname" ,ghc-hostname)
1906 ("ghc-old-locale" ,ghc-old-locale)
1907 ("ghc-random" ,ghc-random)
1908 ("ghc-regex-posix" ,ghc-regex-posix)
1909 ("ghc-xml" ,ghc-xml)
1910 ("ghc-libxml" ,ghc-libxml)))
1911 (home-page "https://batterseapower.github.io/test-framework/")
1912 (synopsis "Framework for running and organising tests")
1914 "This package allows tests such as QuickCheck properties and HUnit test
1915 cases to be assembled into test groups, run in parallel (but reported in
1916 deterministic order, to aid diff interpretation) and filtered and controlled
1917 by command line options. All of this comes with colored test output, progress
1918 reporting and test statistics output.")
1919 (license license:bsd-3)))
1921 (define-public ghc-test-framework-hunit
1923 (name "ghc-test-framework-hunit")
1928 (uri (string-append "https://hackage.haskell.org/package/"
1929 "test-framework-hunit/test-framework-hunit-"
1933 "1h0h55kf6ff25nbfx1mhliwyknc0glwv3zi78wpzllbjbs7gvyfk"))))
1934 (build-system haskell-build-system)
1936 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
1937 ("ghc-hunit" ,ghc-hunit)
1938 ("ghc-test-framework" ,ghc-test-framework)))
1939 (home-page "https://batterseapower.github.io/test-framework/")
1940 (synopsis "HUnit support for test-framework")
1942 "This package provides HUnit support for the test-framework package.")
1943 (license license:bsd-3)))
1945 (define-public ghc-test-framework-quickcheck2
1947 (name "ghc-test-framework-quickcheck2")
1952 (uri (string-append "https://hackage.haskell.org/package/"
1953 "test-framework-quickcheck2/"
1954 "test-framework-quickcheck2-" version ".tar.gz"))
1957 "12p1zwrsz35r3j5gzbvixz9z1h5643rhihf5gqznmc991krwd5nc"))
1958 (modules '((guix build utils)))
1960 ;; The Hackage page and the cabal file linked there for this package
1961 ;; both list 2.9 as the upper version limit, but the source tarball
1962 ;; specifies 2.8. Assume the Hackage page is correct.
1963 '(substitute* "test-framework-quickcheck2.cabal"
1964 (("QuickCheck >= 2.4 && < 2.8") "QuickCheck >= 2.4 && < 2.9")))))
1965 (build-system haskell-build-system)
1967 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
1968 ("ghc-quickcheck" ,ghc-quickcheck)
1969 ("ghc-random" ,ghc-random)
1970 ("ghc-test-framework" ,ghc-test-framework)))
1971 (home-page "https://batterseapower.github.io/test-framework/")
1972 (synopsis "QuickCheck2 support for test-framework")
1974 "This packages provides QuickCheck2 support for the test-framework
1976 (license license:bsd-3)))
1978 (define-public ghc-tf-random
1980 (name "ghc-tf-random")
1982 (outputs '("out" "doc"))
1987 "https://hackage.haskell.org/package/tf-random/tf-random-"
1991 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
1992 (build-system haskell-build-system)
1994 `(("ghc-primitive" ,ghc-primitive)
1995 ("ghc-random" ,ghc-random)))
1996 (home-page "https://hackage.haskell.org/package/tf-random")
1997 (synopsis "High-quality splittable pseudorandom number generator")
1998 (description "This package contains an implementation of a high-quality
1999 splittable pseudorandom number generator. The generator is based on a
2000 cryptographic hash function built on top of the ThreeFish block cipher. See
2001 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
2002 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
2003 (license license:bsd-3)))
2005 (define-public ghc-transformers-base
2007 (name "ghc-transformers-base")
2013 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
2018 "11r3slgpgpra6zi2kjg3g60gvv17b1fh6qxipcpk8n86qx7lk8va"))))
2019 (build-system haskell-build-system)
2021 `(("ghc-stm" ,ghc-stm)
2022 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2024 "https://hackage.haskell.org/package/transformers-compat")
2026 "Backported transformer library")
2028 "Backported versions of types that were added to transformers in
2029 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
2030 compatibility to run on old versions of the platform.")
2031 (license license:bsd-3)))
2033 (define-public ghc-transformers-compat
2035 (name "ghc-transformers-compat")
2041 "https://hackage.haskell.org/package/transformers-compat"
2042 "/transformers-compat-" version ".tar.gz"))
2045 "0lmg8ry6bgigb0v2lg0n74lxi8z5m85qq0qi4h1k9llyjb4in8ym"))))
2046 (build-system haskell-build-system)
2047 (home-page "https://github.com/ekmett/transformers-compat/")
2048 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
2049 (description "This package includes backported versions of types that were
2050 added to transformers in transformers 0.3 and 0.4 for users who need strict
2051 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
2052 but also need those types.")
2053 (license license:bsd-3)))
2055 (define-public ghc-unix-time
2057 (name "ghc-unix-time")
2063 "https://hackage.haskell.org/package/unix-time/unix-time-"
2068 "0dyvyxwaffb94bgri1wc4b9wqaasy32pyjn0lww3dqblxv8fn5ax"))))
2069 (build-system haskell-build-system)
2071 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
2072 ; is weird, that should be provided by GHC 7.10.2.
2074 `(("ghc-old-time" ,ghc-old-time)
2075 ("ghc-old-locale" ,ghc-old-locale)))
2076 (home-page "https://hackage.haskell.org/package/unix-time")
2077 (synopsis "Unix time parser/formatter and utilities")
2078 (description "This library provides fast parsing and formatting utilities
2079 for Unix time in Haskell.")
2080 (license license:bsd-3)))
2082 (define-public ghc-unix-compat
2084 (name "ghc-unix-compat")
2090 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
2095 "0jxk7j5pz2kgfpqr4hznndjg31pqj5xg2qfc5308fcn9xyg1myps"))))
2096 (build-system haskell-build-system)
2098 "https://github.com/jystic/unix-compat")
2099 (synopsis "Portable POSIX-compatibility layer")
2101 "This package provides portable implementations of parts of the unix
2102 package. This package re-exports the unix package when available. When it
2103 isn't available, portable implementations are used.")
2104 (license license:bsd-3)))
2106 (define-public ghc-http-types
2108 (name "ghc-http-types")
2114 "https://hackage.haskell.org/package/http-types/http-types-"
2119 "0ny15jgm5skhs2yx6snr13lrnw19hwjgfygrpsmhib8wqa8cz8cc"))))
2120 (build-system haskell-build-system)
2121 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find
2122 ; Blaze.Bytestring.Builder, which should be
2123 ; provided by ghc-blaze-builder.
2125 `(("ghc-case-insensitive" ,ghc-case-insensitive)
2126 ("ghc-blaze-builder" ,ghc-blaze-builder)
2127 ("ghc-text" ,ghc-text)))
2128 (home-page "https://github.com/aristidb/http-types")
2129 (synopsis "Generic HTTP types for Haskell")
2130 (description "This package provides generic HTTP types for Haskell (for
2131 both client and server code).")
2132 (license license:bsd-3)))
2134 (define-public ghc-indents
2136 (name "ghc-indents")
2141 "https://hackage.haskell.org/package/indents/indents-"
2145 "16lz21bp9j14xilnq8yym22p3saxvc9fsgfcf5awn2a6i6n527xn"))))
2146 (build-system haskell-build-system)
2148 `(("ghc-parsec" ,ghc-parsec)
2149 ("ghc-concatenative" ,ghc-concatenative)
2150 ("ghc-mtl" ,ghc-mtl)))
2151 (home-page "http://patch-tag.com/r/salazar/indents")
2152 (synopsis "Indentation sensitive parser-combinators for parsec")
2154 "This library provides functions for use in parsing indentation sensitive
2155 contexts. It parses blocks of lines all indented to the same level as well as
2156 lines continued at an indented level below.")
2157 (license license:bsd-3)))
2159 (define-public ghc-iproute
2161 (name "ghc-iproute")
2167 "https://hackage.haskell.org/package/iproute/iproute-"
2172 "1ply0i110c2sppjbfyysgw48jfjnsbam5zwil8xws0hp20rh1pb5"))))
2173 (build-system haskell-build-system)
2174 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
2175 ; exported by ghc-byteorder. Doctest issue.
2177 `(("ghc-appar" ,ghc-appar)
2178 ("ghc-byteorder" ,ghc-byteorder)
2179 ("ghc-network" ,ghc-network)
2180 ("ghc-safe" ,ghc-safe)))
2181 (home-page "http://www.mew.org/~kazu/proj/iproute/")
2182 (synopsis "IP routing table")
2183 (description "IP Routing Table is a tree of IP ranges to search one of
2184 them on the longest match base. It is a kind of TRIE with one way branching
2185 removed. Both IPv4 and IPv6 are supported.")
2186 (license license:bsd-3)))
2188 (define-public ghc-regex-base
2190 (name "ghc-regex-base")
2196 "https://hackage.haskell.org/package/regex-base/regex-base-"
2201 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
2202 (build-system haskell-build-system)
2204 `(("ghc-mtl" ,ghc-mtl)))
2206 "https://sourceforge.net/projects/lazy-regex")
2207 (synopsis "Replaces/Enhances Text.Regex")
2208 (description "@code{Text.Regex.Base} provides the interface API for
2209 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
2210 (license license:bsd-3)))
2212 (define-public ghc-regex-posix
2214 (name "ghc-regex-posix")
2220 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
2225 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
2226 (build-system haskell-build-system)
2228 `(("ghc-regex-base" ,ghc-regex-base)))
2229 (home-page "https://sourceforge.net/projects/lazy-regex")
2230 (synopsis "POSIX regular expressions for Haskell")
2231 (description "This library provides the POSIX regex backend used by the
2232 Haskell library @code{regex-base}.")
2233 (license license:bsd-3)))
2235 (define-public ghc-regex-compat
2237 (name "ghc-regex-compat")
2243 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
2248 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
2249 (build-system haskell-build-system)
2251 `(("ghc-regex-base" ,ghc-regex-base)
2252 ("ghc-regex-posix" ,ghc-regex-posix)))
2253 (home-page "https://sourceforge.net/projects/lazy-regex")
2254 (synopsis "Replaces/Enhances Text.Regex")
2255 (description "This library provides one module layer over
2256 @code{regex-posix} to replace @code{Text.Regex}.")
2257 (license license:bsd-3)))
2259 (define-public ghc-regex-tdfa-rc
2261 (name "ghc-regex-tdfa-rc")
2267 "https://hackage.haskell.org/package/regex-tdfa-rc/regex-tdfa-rc-"
2272 "1vi11i23gkkjg6193ak90g55akj69bhahy542frkwb68haky4pp3"))))
2273 (build-system haskell-build-system)
2275 `(("ghc-regex-base" ,ghc-regex-base)
2276 ("ghc-parsec" ,ghc-parsec)
2277 ("ghc-mtl" ,ghc-mtl)))
2279 "https://hackage.haskell.org/package/regex-tdfa")
2280 (synopsis "Tagged DFA regex engine for Haskell")
2281 (description "A new all-Haskell \"tagged\" DFA regex engine, inspired by
2282 @code{libtre} (fork by Roman Cheplyaka).")
2283 (license license:bsd-3)))
2285 (define-public ghc-parsers
2287 (name "ghc-parsers")
2293 "https://hackage.haskell.org/package/parsers/parsers-"
2298 "18wzmp8y3py4qa8hdsxqm0jfzmwy744dw7xa48r5s8ynhpimi462"))))
2299 (build-system haskell-build-system)
2300 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2301 ; -package attoparsec-0.13.0.1"
2303 `(("ghc-base-orphans" ,ghc-base-orphans)
2304 ("ghc-attoparsec" ,ghc-attoparsec)
2305 ("ghc-parsec" ,ghc-parsec)
2306 ("ghc-scientific" ,ghc-scientific)
2307 ("ghc-charset" ,ghc-charset)
2308 ("ghc-text" ,ghc-text)
2309 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2310 (home-page "https://github.com/ekmett/parsers/")
2311 (synopsis "Parsing combinators")
2312 (description "This library provides convenient combinators for working
2313 with and building parsing combinator libraries. Given a few simple instances,
2314 you get access to a large number of canned definitions. Instances exist for
2315 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
2317 (license license:bsd-3)))
2319 (define-public ghc-trifecta
2321 (name "ghc-trifecta")
2326 "https://hackage.haskell.org/package/trifecta/"
2327 "trifecta-" version ".tar.gz"))
2330 "0rbhv9m17k7l1zr70i0yw5da0qjgxmfh1da8brj0zdzwjn9ac0mk"))))
2331 (build-system haskell-build-system)
2333 `(("ghc-reducers" ,ghc-reducers)
2334 ("ghc-semigroups" ,ghc-semigroups)
2335 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
2336 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2337 ("ghc-blaze-builder" ,ghc-blaze-builder)
2338 ("ghc-blaze-html" ,ghc-blaze-html)
2339 ("ghc-blaze-markup" ,ghc-blaze-markup)
2340 ("ghc-charset" ,ghc-charset)
2341 ("ghc-comonad" ,ghc-comonad)
2342 ("ghc-doctest" ,ghc-doctest)
2343 ("ghc-fingertree" ,ghc-fingertree)
2344 ("ghc-hashable" ,ghc-hashable)
2345 ("ghc-lens" ,ghc-lens)
2346 ("ghc-mtl" ,ghc-mtl)
2347 ("ghc-parsers" ,ghc-parsers)
2348 ("ghc-profunctors" ,ghc-profunctors)
2349 ("ghc-quickcheck" ,ghc-quickcheck)
2350 ("ghc-unordered-containers" ,ghc-unordered-containers)
2351 ("ghc-utf8-string" ,ghc-utf8-string)))
2352 (home-page "https://github.com/ekmett/trifecta/")
2353 (synopsis "Parser combinator library with convenient diagnostics")
2354 (description "Trifecta is a modern parser combinator library for Haskell,
2355 with slicing and Clang-style colored diagnostics.")
2356 (license license:bsd-3)))
2358 (define-public ghc-attoparsec
2360 (name "ghc-attoparsec")
2361 (version "0.13.0.1")
2366 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
2371 "0cprkr7bl4lrr80pz8mryb4rbfwdgpsrl7g0fbcaybhl8p5hm26f"))))
2372 (build-system haskell-build-system)
2374 `(("ghc-scientific" ,ghc-scientific)
2375 ("ghc-text" ,ghc-text)))
2377 `(("ghc-quickcheck" ,ghc-quickcheck)
2378 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
2379 ("ghc-test-framework" ,ghc-test-framework)
2380 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
2381 ("ghc-vector" ,ghc-vector)))
2382 (home-page "https://github.com/bos/attoparsec")
2383 (synopsis "Fast combinator parsing for bytestrings and text")
2384 (description "This library provides a fast parser combinator library,
2385 aimed particularly at dealing efficiently with network protocols and
2386 complicated text/binary file formats.")
2387 (license license:bsd-3)))
2389 (define-public ghc-css-text
2391 (name "ghc-css-text")
2397 "https://hackage.haskell.org/package/css-text/css-text-"
2402 "1xi1n2f0g8y43p95lynhcg50wxbq7hqfzbfzm7fy8mn7gvd920nw"))))
2403 (build-system haskell-build-system)
2405 `(("ghc-text" ,ghc-text)
2406 ("ghc-attoparsec" ,ghc-attoparsec)
2407 ("ghc-hspec" ,ghc-hspec)
2408 ("ghc-quickcheck" ,ghc-quickcheck)))
2409 (home-page "http://www.yesodweb.com/")
2410 (synopsis "CSS parser and renderer")
2411 (description "This package provides a CSS parser and renderer for
2413 (license license:bsd-3)))
2415 (define-public ghc-zip-archive
2417 (name "ghc-zip-archive")
2423 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
2428 "169nkxr5zlbymiz1ydlhlqr66vqiycmg85xh559phpkr64w3nqj1"))))
2429 (build-system haskell-build-system)
2431 `(("ghc-old-time" ,ghc-old-time)
2432 ("ghc-digest" ,ghc-digest)
2434 ("ghc-mtl" ,ghc-mtl)
2435 ("ghc-text" ,ghc-text)
2436 ("ghc-zlib" ,ghc-zlib)))
2438 `(("ghc-hunit" ,ghc-hunit)))
2439 (home-page "https://hackage.haskell.org/package/zip-archive")
2440 (synopsis "Zip archive library for Haskell")
2441 (description "The zip-archive library provides functions for creating,
2442 modifying, and extracting files from zip archives in Haskell.")
2443 (license license:bsd-3)))
2445 (define-public ghc-distributive
2447 (name "ghc-distributive")
2453 "https://hackage.haskell.org/package/distributive/distributive-"
2458 "0s2ln9jv7bh4ri2y31178pvjl8x6nik5d0klx7j2b77yjlsgblc2"))))
2459 (build-system haskell-build-system)
2460 (arguments `(#:tests? #f)) ; FIXME: fails with "cannot satisfy -package
2461 ; tagged-0.8.1". Suspected Cabal issue.
2463 `(("ghc-tagged" ,ghc-tagged)
2464 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2465 (home-page "https://github.com/ekmett/distributive/")
2466 (synopsis "Distributive functors for Haskell")
2467 (description "This package provides distributive functors for Haskell.
2468 Dual to @code{Traversable}.")
2469 (license license:bsd-3)))
2471 (define-public ghc-cereal
2479 "https://hackage.haskell.org/package/cereal/cereal-"
2484 "15rhfn9hrjm01ksh9xpz9syxsp9vkvpp6b736iqq38wv2wb7416z"))))
2485 (build-system haskell-build-system)
2486 (home-page "https://hackage.haskell.org/package/cereal")
2487 (synopsis "Binary serialization library")
2488 (description "This package provides a binary serialization library,
2489 similar to @code{binary}, that introduces an @code{isolate} primitive for
2490 parser isolation, and labeled blocks for better error messages.")
2491 (license license:bsd-3)))
2493 (define-public ghc-comonad
2495 (name "ghc-comonad")
2501 "https://hackage.haskell.org/package/comonad/comonad-"
2506 "0arvbaxgkawzdp38hh53akkahjg2aa3kj2b4ns0ni8a5ylg2cqmp"))))
2507 (build-system haskell-build-system)
2508 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2509 ; -package contravariant-1.3.3"
2511 `(("ghc-distributive" ,ghc-distributive)
2512 ("ghc-transformers-compat" ,ghc-transformers-compat)
2513 ("ghc-contravariant" ,ghc-contravariant)
2514 ("ghc-semigroups" ,ghc-semigroups)
2515 ("ghc-tagged" ,ghc-tagged)
2516 ("ghc-contravariant" ,ghc-contravariant)))
2517 (home-page "https://github.com/ekmett/comonad/")
2518 (synopsis "Comonads for Haskell")
2519 (description "This library provides @code{Comonad}s for Haskell.")
2520 (license license:bsd-3)))
2522 (define-public hscolour
2530 "https://hackage.haskell.org/package/hscolour/hscolour-"
2535 "1c4i2zpami8g3w9949nm3f92g7xwh5c94vkx658zz7ihrjp7w5lp"))))
2536 (build-system haskell-build-system)
2537 (home-page "https://hackage.haskell.org/package/hscolour")
2538 (synopsis "Script to colourise Haskell code")
2539 (description "HSColour is a small Haskell script to colourise Haskell
2540 code. It currently has six output formats: ANSI terminal codes (optionally
2541 XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
2542 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
2543 and mIRC chat codes.")
2544 (license license:bsd-3)))
2546 (define-public ghc-polyparse
2548 (name "ghc-polyparse")
2554 "https://hackage.haskell.org/package/polyparse/polyparse-"
2559 "1z417f80b0jm4dgv25fk408p3d9mmcd1dlbya3ry0zdx4md09vrh"))))
2560 (build-system haskell-build-system)
2562 `(("ghc-text" ,ghc-text)))
2564 "http://code.haskell.org/~malcolm/polyparse/")
2566 "Alternative parser combinator libraries")
2568 "This package provides a variety of alternative parser combinator
2569 libraries, including the original HuttonMeijer set. The Poly sets have
2570 features like good error reporting, arbitrary token type, running state, lazy
2571 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
2572 standard Read class, for better deserialisation of Haskell values from
2574 (license license:lgpl2.1)))
2576 (define-public ghc-extra
2584 "https://hackage.haskell.org/package/extra/extra-"
2589 "1h9hxkrqrqscx420yz1lmivbrhi6jc3a5ap61vkxd2mhdgark9hf"))))
2590 (build-system haskell-build-system)
2591 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
2592 (home-page "https://github.com/ndmitchell/extra")
2593 (synopsis "Extra Haskell functions")
2594 (description "This library provides extra functions for the standard
2595 Haskell libraries. Most functions are simple additions, filling out missing
2596 functionality. A few functions are available in later versions of GHC, but
2597 this package makes them available back to GHC 7.2.")
2598 (license license:bsd-3)))
2600 (define-public ghc-profunctors
2602 (name "ghc-profunctors")
2608 "https://hackage.haskell.org/package/profunctors/profunctors-"
2613 "0lw2ipacpnp9yqmi8zsp01pzpn5hwj8af3y0f3079mddrmw48gw7"))))
2614 (build-system haskell-build-system)
2616 `(("ghc-distributive" ,ghc-distributive)
2617 ("ghc-comonad" ,ghc-comonad)
2618 ("ghc-tagged" ,ghc-tagged)))
2619 (home-page "https://github.com/ekmett/profunctors/")
2620 (synopsis "Profunctors for Haskell")
2621 (description "This library provides profunctors for Haskell.")
2622 (license license:bsd-3)))
2624 (define-public ghc-reducers
2626 (name "ghc-reducers")
2632 "https://hackage.haskell.org/package/reducers/reducers-"
2637 "0pkddg0s3cn759miq0nfrq7lnp3imk5sx784ihsilsbjh9kvffz4"))))
2638 (build-system haskell-build-system)
2640 `(("ghc-fingertree" ,ghc-fingertree)
2641 ("ghc-hashable" ,ghc-hashable)
2642 ("ghc-text" ,ghc-text)
2643 ("ghc-unordered-containers" ,ghc-unordered-containers)
2644 ("ghc-semigroupoids" ,ghc-semigroupoids)
2645 ("ghc-semigroups" ,ghc-semigroups)))
2646 (home-page "https://github.com/ekmett/reducers/")
2647 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
2648 (description "This library provides various semigroups, specialized
2649 containers and a general map/reduce framework for Haskell.")
2650 (license license:bsd-3)))
2652 (define-public ghc-appar
2660 "https://hackage.haskell.org/package/appar/appar-"
2665 "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq"))))
2666 (build-system haskell-build-system)
2668 "https://hackage.haskell.org/package/appar")
2669 (synopsis "Simple applicative parser")
2670 (description "This package provides a simple applicative parser in Parsec
2672 (license license:bsd-3)))
2674 (define-public ghc-safe
2682 "https://hackage.haskell.org/package/safe/safe-"
2687 "1jdnp5zhvalf1xy8i872n29nljfjz6lnl9ghj80ffisrnnkrwcfh"))))
2688 (build-system haskell-build-system)
2689 (home-page "https://github.com/ndmitchell/safe#readme")
2690 (synopsis "Library of safe (exception free) functions")
2691 (description "This library provides wrappers around @code{Prelude} and
2692 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
2694 (license license:bsd-3)))
2696 (define-public ghc-generic-deriving
2698 (name "ghc-generic-deriving")
2704 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
2709 "1kc6lhdanls6kgpk8xv5xi14lz1sngcd8xn930hkf7ilq4kxkcr6"))))
2710 (build-system haskell-build-system)
2711 (home-page "https://hackage.haskell.org/package/generic-deriving")
2712 (synopsis "Generalise the deriving mechanism to arbitrary classes")
2713 (description "This package provides functionality for generalising the
2714 deriving mechanism in Haskell to arbitrary classes.")
2715 (license license:bsd-3)))
2717 (define-public ghc-pcre-light
2719 (name "ghc-pcre-light")
2725 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
2730 "0l1df2sk5qwf424bvb8mbdkr2xjg43fi92n5r22yd7vm1zz0jqvf"))))
2731 (build-system haskell-build-system)
2734 (home-page "https://github.com/Daniel-Diaz/pcre-light")
2735 (synopsis "Haskell library for Perl 5 compatible regular expressions")
2736 (description "This package provides a small, efficient, and portable regex
2737 library for Perl 5 compatible regular expressions. The PCRE library is a set
2738 of functions that implement regular expression pattern matching using the same
2739 syntax and semantics as Perl 5.")
2740 (license license:bsd-3)))
2742 (define-public ghc-logict
2750 "https://hackage.haskell.org/package/logict/logict-"
2755 "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi"))))
2756 (build-system haskell-build-system)
2757 (inputs `(("ghc-mtl" ,ghc-mtl)))
2758 (home-page "http://code.haskell.org/~dolio/")
2759 (synopsis "Backtracking logic-programming monad")
2760 (description "This library provides a continuation-based, backtracking,
2761 logic programming monad. An adaptation of the two-continuation implementation
2762 found in the paper \"Backtracking, Interleaving, and Terminating Monad
2763 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
2765 (license license:bsd-3)))
2767 (define-public ghc-xml
2775 "https://hackage.haskell.org/package/xml/xml-"
2780 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
2781 (build-system haskell-build-system)
2783 `(("ghc-text" ,ghc-text)))
2784 (home-page "http://code.galois.com")
2785 (synopsis "Simple XML library for Haskell")
2786 (description "This package provides a simple XML library for Haskell.")
2787 (license license:bsd-3)))
2789 (define-public ghc-exceptions
2791 (name "ghc-exceptions")
2797 "https://hackage.haskell.org/package/exceptions/exceptions-"
2802 "1x1bk1jf42k1gigiqqmkkh38z2ffhx8rsqiszdq3f94m2h6kw2h7"))))
2803 (build-system haskell-build-system)
2804 (arguments `(#:tests? #f)) ; FIXME: Missing test-framework package.
2806 `(("ghc-stm" ,ghc-stm)
2807 ("ghc-mtl" ,ghc-mtl)
2808 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2809 (home-page "https://github.com/ekmett/exceptions/")
2810 (synopsis "Extensible optionally-pure exceptions")
2811 (description "This library provides extensible optionally-pure exceptions
2813 (license license:bsd-3)))
2815 (define-public ghc-temporary
2817 (name "ghc-temporary")
2823 "https://hackage.haskell.org/package/temporary/temporary-"
2828 "0is67bmsjmbbw6wymhis8wyq9gax3sszm573p5719fx2c9z9r24a"))))
2829 (build-system haskell-build-system)
2830 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
2831 (home-page "http://www.github.com/batterseapower/temporary")
2832 (synopsis "Temporary file and directory support")
2833 (description "The functions for creating temporary files and directories
2834 in the Haskelll base library are quite limited. This library just repackages
2835 the Cabal implementations of its own temporary file and folder functions so
2836 that you can use them without linking against Cabal or depending on it being
2838 (license license:bsd-3)))
2840 (define-public ghc-temporary-rc
2842 (name "ghc-temporary-rc")
2848 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
2853 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
2854 (build-system haskell-build-system)
2855 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
2857 "http://www.github.com/feuerbach/temporary")
2859 "Portable temporary file and directory support")
2861 "The functions for creating temporary files and directories in the base
2862 library are quite limited. The unixutils package contains some good ones, but
2863 they aren't portable to Windows. This library just repackages the Cabal
2864 implementations of its own temporary file and folder functions so that you can
2865 use them without linking against Cabal or depending on it being installed.
2866 This is a better maintained fork of the \"temporary\" package.")
2867 (license license:bsd-3)))
2869 (define-public ghc-smallcheck
2871 (name "ghc-smallcheck")
2877 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
2882 "1ygrabxh40bym3grnzqyfqn96lirnxspb8cmwkkr213239y605sd"))))
2883 (build-system haskell-build-system)
2885 `(("ghc-logict" ,ghc-logict)
2886 ("ghc-mtl" ,ghc-mtl)))
2888 "https://github.com/feuerbach/smallcheck")
2889 (synopsis "Property-based testing library")
2890 (description "SmallCheck is a testing library that allows to verify
2891 properties for all test cases up to some depth. The test cases are generated
2892 automatically by SmallCheck.")
2893 (license license:bsd-3)))
2895 (define-public ghc-tasty-ant-xml
2897 (name "ghc-tasty-ant-xml")
2903 "https://hackage.haskell.org/package/tasty-ant-xml/tasty-ant-xml-"
2908 "0pgz2lclg2hp72ykljcbxd88pjanfdfk8m5vb2qzcyjr85kwrhxv"))))
2909 (build-system haskell-build-system)
2911 `(("ghc-generic-deriving" ,ghc-generic-deriving)
2912 ("ghc-xml" ,ghc-xml)
2913 ("ghc-mtl" ,ghc-mtl)
2914 ("ghc-stm" ,ghc-stm)
2915 ("ghc-tagged" ,ghc-tagged)
2916 ("ghc-tasty" ,ghc-tasty)))
2918 "https://github.com/ocharles/tasty-ant-xml")
2920 "Render tasty output to XML for Jenkins")
2922 "A tasty ingredient to output test results in XML, using the Ant
2923 schema. This XML can be consumed by the Jenkins continuous integration
2925 (license license:bsd-3)))
2927 (define-public ghc-tasty-smallcheck
2929 (name "ghc-tasty-smallcheck")
2935 "https://hackage.haskell.org/package/tasty-smallcheck/tasty-smallcheck-"
2940 "0yckfbz8na8ccyw2911i3a4hd3fdncclk3ng5343hs5cylw6y4sm"))))
2941 (build-system haskell-build-system)
2943 `(("ghc-tasty" ,ghc-tasty)
2944 ("ghc-smallcheck" ,ghc-smallcheck)
2945 ("ghc-async" ,ghc-async)
2946 ("ghc-tagged" ,ghc-tagged)))
2947 (home-page "http://documentup.com/feuerbach/tasty")
2948 (synopsis "SmallCheck support for the Tasty test framework")
2949 (description "This package provides SmallCheck support for the Tasty
2950 Haskell test framework.")
2951 (license license:bsd-3)))
2953 (define-public ghc-silently
2955 (name "ghc-silently")
2961 "https://hackage.haskell.org/package/silently/silently-"
2966 "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
2967 (build-system haskell-build-system)
2968 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
2970 ;; `(("ghc-temporary" ,ghc-temporary)))
2971 (home-page "https://github.com/hspec/silently")
2972 (synopsis "Prevent writing to stdout")
2973 (description "This package provides functions to prevent or capture
2974 writing to stdout and other handles.")
2975 (license license:bsd-3)))
2977 (define-public ghc-quickcheck-instances
2979 (name "ghc-quickcheck-instances")
2985 "https://hackage.haskell.org/package/"
2986 "quickcheck-instances/quickcheck-instances-"
2990 "1wwvkzpams7i0j7nk5qj8vvhj8x5zcbgbgrpczszgvshva4bkmfx"))))
2991 (build-system haskell-build-system)
2993 `(("ghc-old-time" ,ghc-old-time)
2994 ("ghc-unordered-containers" ,ghc-unordered-containers)
2995 ("ghc-hashable" ,ghc-hashable)
2996 ("ghc-quickcheck" ,ghc-quickcheck)
2997 ("ghc-scientific" ,ghc-scientific)
2998 ("ghc-vector" ,ghc-vector)
2999 ("ghc-text" ,ghc-text)))
3001 "https://github.com/aslatter/qc-instances")
3002 (synopsis "Common quickcheck instances")
3003 (description "This package provides QuickCheck instances for types
3004 provided by the Haskell Platform.")
3005 (license license:bsd-3)))
3007 (define-public ghc-quickcheck-unicode
3009 (name "ghc-quickcheck-unicode")
3015 "https://hackage.haskell.org/package/quickcheck-unicode/quickcheck-unicode-"
3020 "1a8nl6x7l9b22yx61wm0bh2n1xzb1hd5i5zgg1w4fpaivjnrrhi4"))))
3021 (build-system haskell-build-system)
3022 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
3024 "https://github.com/bos/quickcheck-unicode")
3025 (synopsis "Generator functions Unicode-related tests")
3026 (description "This package provides generator and shrink functions for
3027 testing Unicode-related software.")
3028 (license license:bsd-3)))
3030 (define-public ghc-quickcheck-io
3032 (name "ghc-quickcheck-io")
3038 "https://hackage.haskell.org/package/quickcheck-io/quickcheck-io-"
3043 "1kf1kfw9fsmly0rvzvdf6jvdw10qhkmikyj0wcwciw6wad95w9sh"))))
3044 (build-system haskell-build-system)
3046 `(("ghc-quickcheck" ,ghc-quickcheck)
3047 ("ghc-hunit" ,ghc-hunit)))
3049 "https://github.com/hspec/quickcheck-io#readme")
3050 (synopsis "Use HUnit assertions as QuickCheck properties")
3051 (description "This package provides an orphan instance that allows you to
3052 use HUnit assertions as QuickCheck properties.")
3053 (license license:expat)))
3055 (define-public ghc-quickcheck
3057 (name "ghc-quickcheck")
3059 (outputs '("out" "doc"))
3064 "https://hackage.haskell.org/package/QuickCheck/QuickCheck-"
3069 "1ai6k5v0bibaxq8xffcblc6rwmmk6gf8vjyd9p2h3y6vwbhlvilq"))))
3070 (build-system haskell-build-system)
3072 `(#:tests? #f ; FIXME: currently missing libraries used for tests.
3073 #:configure-flags '("-f base4")))
3075 `(("ghc-tf-random" ,ghc-tf-random)))
3077 "https://github.com/nick8325/quickcheck")
3079 "Automatic testing of Haskell programs")
3081 "QuickCheck is a library for random testing of program properties.")
3082 (license license:bsd-3)))
3084 (define-public ghc-case-insensitive
3086 (name "ghc-case-insensitive")
3088 (outputs '("out" "doc"))
3093 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
3098 "07nm40r9yw2p9qsfp3pjbsmyn4dabrxw34p48171zmccdd5hv0v3"))))
3099 (build-system haskell-build-system)
3101 `(("ghc-hunit" ,ghc-hunit)))
3102 ;; these inputs are necessary to use this library
3104 `(("ghc-text" ,ghc-text)
3105 ("ghc-hashable" ,ghc-hashable)))
3107 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3109 "https://github.com/basvandijk/case-insensitive")
3110 (synopsis "Case insensitive string comparison")
3112 "The module 'Data.CaseInsensitive' provides the 'CI' type constructor
3113 which can be parameterised by a string-like type like: 'String', 'ByteString',
3114 'Text', etc.. Comparisons of values of the resulting type will be insensitive
3116 (license license:bsd-3)))
3118 (define-public ghc-syb
3122 (outputs '("out" "doc"))
3127 "https://hackage.haskell.org/package/syb/syb-"
3132 "1p3cnqjm13677r4a966zffzhi9b3a321aln8zs8ckqj0d9z1z3d3"))))
3133 (build-system haskell-build-system)
3135 `(("ghc-hunit" ,ghc-hunit)
3136 ("ghc-mtl" ,ghc-mtl)))
3138 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
3139 (synopsis "Scrap Your Boilerplate")
3140 (description "This package contains the generics system described in the
3141 /Scrap Your Boilerplate/ papers (see
3142 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
3143 defines the 'Data' class of types permitting folding and unfolding of
3144 constructor applications, instances of this class for primitive types, and a
3145 variety of traversals.")
3146 (license license:bsd-3)))
3148 (define-public ghc-fgl
3152 (outputs '("out" "doc"))
3157 "https://hackage.haskell.org/package/fgl/fgl-"
3162 "0fbyb6jxy9whgrv6dgnkzz70cmy98arx3q2gnkhgl4a3d7idh36p"))))
3163 (build-system haskell-build-system)
3165 `(("ghc-mtl" ,ghc-mtl)
3166 ("ghc-hspec" ,ghc-hspec)
3167 ("ghc-quickcheck" ,ghc-quickcheck)))
3168 (home-page "http://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3170 "Martin Erwig's Functional Graph Library")
3171 (description "The functional graph library, FGL, is a collection of type
3172 and function definitions to address graph problems. The basis of the library
3173 is an inductive definition of graphs in the style of algebraic data types that
3174 encourages inductive, recursive definitions of graph algorithms.")
3175 (license license:bsd-3)))
3177 (define-public ghc-chasingbottoms
3179 (name "ghc-chasingbottoms")
3180 (version "1.3.0.13")
3184 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
3185 "ChasingBottoms-" version ".tar.gz"))
3188 "1fb86jd6cdz4rx3fj3r9n8d60kx824ywwy7dw4qnrdran46ja3pl"))
3189 (modules '((guix build utils)))
3191 ;; The Hackage page and the cabal file linked there for this package
3192 ;; both list 0.7 as the upper version limit, but the source tarball
3193 ;; specifies 0.6. Assume the Hackage page is correct.
3194 '(substitute* "ChasingBottoms.cabal"
3195 (("syb >= 0.1.0.2 && < 0.6") "syb >= 0.1.0.2 && < 0.7")))))
3196 (build-system haskell-build-system)
3198 `(("ghc-mtl" ,ghc-mtl)
3199 ("ghc-quickcheck" ,ghc-quickcheck)
3200 ("ghc-random" ,ghc-random)
3201 ("ghc-syb" ,ghc-syb)))
3202 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
3203 (synopsis "Testing of partial and infinite values in Haskell")
3205 ;; FIXME: There should be a @comma{} in the uref text, but it is not
3206 ;; rendered properly.
3207 "This is a library for testing code involving bottoms or infinite values.
3208 For the underlying theory and a larger example involving use of QuickCheck,
3210 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
3211 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
3212 Partial and Infinite Values\"}.")
3213 (license license:expat)))
3215 (define-public ghc-unordered-containers
3217 (name "ghc-unordered-containers")
3219 (outputs '("out" "doc"))
3224 "https://hackage.haskell.org/package/unordered-containers"
3225 "/unordered-containers-" version ".tar.gz"))
3228 "06l1xv7vhpxly75saxdrbc6p2zlgz1az278arfkz4rgawfnphn3f"))))
3229 (build-system haskell-build-system)
3231 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
3232 ("ghc-hunit" ,ghc-hunit)
3233 ("ghc-quickcheck" ,ghc-quickcheck)
3234 ("ghc-test-framework" ,ghc-test-framework)
3235 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3236 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3237 ("ghc-hashable" ,ghc-hashable)))
3239 "https://github.com/tibbe/unordered-containers")
3241 "Efficient hashing-based container types")
3243 "Efficient hashing-based container types. The containers have been
3244 optimized for performance critical use, both in terms of large data quantities
3246 (license license:bsd-3)))
3248 (define-public ghc-uniplate
3250 (name "ghc-uniplate")
3256 "https://hackage.haskell.org/package/uniplate/uniplate-"
3261 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
3262 (build-system haskell-build-system)
3264 `(("ghc-syb" ,ghc-syb)
3265 ("ghc-hashable" ,ghc-hashable)
3266 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3267 (home-page "http://community.haskell.org/~ndm/uniplate/")
3268 (synopsis "Simple, concise and fast generic operations")
3269 (description "Uniplate is a library for writing simple and concise generic
3270 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
3271 work, but is substantially simpler and faster.")
3272 (license license:bsd-3)))
3274 (define-public ghc-base64-bytestring
3276 (name "ghc-base64-bytestring")
3282 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
3287 "0l1v4ddjdsgi9nqzyzcxxj76rwar3lzx8gmwf2r54bqan3san9db"))))
3288 (build-system haskell-build-system)
3289 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3290 (home-page "https://github.com/bos/base64-bytestring")
3291 (synopsis "Base64 encoding and decoding for ByteStrings")
3292 (description "This library provides fast base64 encoding and decoding for
3293 Haskell @code{ByteString}s.")
3294 (license license:bsd-3)))
3296 (define-public ghc-annotated-wl-pprint
3298 (name "ghc-annotated-wl-pprint")
3304 "https://hackage.haskell.org/package/annotated-wl-pprint"
3305 "/annotated-wl-pprint-" version
3309 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
3310 (build-system haskell-build-system)
3312 "https://github.com/david-christiansen/annotated-wl-pprint")
3314 "The Wadler/Leijen Pretty Printer, with annotation support")
3315 (description "This is a modified version of wl-pprint, which was based on
3316 Wadler's paper \"A Prettier Printer\". This version allows the library user
3317 to annotate the text with semantic information, which can later be rendered in
3318 a variety of ways.")
3319 (license license:bsd-3)))
3321 (define-public ghc-wl-pprint
3323 (name "ghc-wl-pprint")
3328 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
3332 "166zvk4zwn2zaa9kx66m1av38m34qp6h4i65bri2sfnxgvx0700r"))))
3333 (build-system haskell-build-system)
3334 (home-page "https://hackage.haskell.org/package/wl-pprint")
3335 (synopsis "Wadler/Leijen pretty printer")
3337 "This is a pretty printing library based on Wadler's paper @i{A Prettier
3338 Printer}. This version allows the library user to declare overlapping
3339 instances of the @code{Pretty} class.")
3340 (license license:bsd-3)))
3342 (define-public ghc-ansi-wl-pprint
3344 (name "ghc-ansi-wl-pprint")
3350 "https://hackage.haskell.org/package/ansi-wl-pprint/ansi-wl-pprint-"
3355 "025pyphsjf0dnbrmj5nscbi6gzyigwgp3ifxb3psn7kji6mfr29p"))))
3356 (build-system haskell-build-system)
3358 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
3359 (home-page "https://github.com/ekmett/ansi-wl-pprint")
3360 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
3361 (description "This is a pretty printing library based on Wadler's paper
3362 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
3363 colored output using the ansi-terminal package.")
3364 (license license:bsd-3)))
3366 (define-public ghc-split
3370 (outputs '("out" "doc"))
3375 "https://hackage.haskell.org/package/split/split-"
3380 "0xa3j0gwr6k5vizxybnzk5fgb3pppgspi6mysnp2gwjp2dbrxkzr"))
3381 (modules '((guix build utils)))
3383 ;; The Cabal file on Hackage is updated, but the tar.gz does not
3385 ;; <https://hackage.haskell.org/package/split-0.2.2/revisions/>.
3386 '(substitute* "split.cabal"
3387 (("base <4.8") "base <4.9")))))
3388 (build-system haskell-build-system)
3390 `(("ghc-quickcheck" ,ghc-quickcheck)))
3391 (home-page "https://hackage.haskell.org/package/split")
3392 (synopsis "Combinator library for splitting lists")
3393 (description "This package provides a collection of Haskell functions for
3394 splitting lists into parts, akin to the @code{split} function found in several
3395 mainstream languages.")
3396 (license license:bsd-3)))
3398 (define-public ghc-parsec
3402 (outputs '("out" "doc"))
3407 "https://hackage.haskell.org/package/parsec/parsec-"
3411 (base32 "1ja20cmj6v336jy87c6h3jzjp00sdbakwbdwp11iln499k913xvi"))))
3412 (build-system haskell-build-system)
3414 `(("ghc-hunit" ,ghc-hunit)))
3416 `(("ghc-text" ,ghc-text)
3417 ("ghc-mtl" ,ghc-mtl)))
3419 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3421 "https://github.com/aslatter/parsec")
3422 (synopsis "Monadic parser combinators")
3423 (description "Parsec is a parser library. It is simple, safe, well
3424 documented, has extensive libraries, good error messages, and is fast. It is
3425 defined as a monad transformer that can be stacked on arbitrary monads, and it
3426 is also parametric in the input stream type.")
3427 (license license:bsd-3)))
3429 (define-public ghc-vector
3432 (version "0.11.0.0")
3433 (outputs '("out" "doc"))
3438 "https://hackage.haskell.org/package/vector/vector-"
3443 "1r1jlksy7b0kb0fy00g64isk6nyd9wzzdq31gx5v1wn38knj0lqa"))))
3444 (build-system haskell-build-system)
3446 `(("ghc-primitive" ,ghc-primitive)
3447 ("ghc-quickcheck" ,ghc-quickcheck)))
3449 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3450 (home-page "https://github.com/haskell/vector")
3451 (synopsis "Efficient Arrays")
3452 (description "This library provides an efficient implementation of
3453 Int-indexed arrays (both mutable and immutable), with a powerful loop
3454 optimisation framework.")
3455 (license license:bsd-3)))
3457 (define-public ghc-vector-binary-instances
3459 (name "ghc-vector-binary-instances")
3465 "https://hackage.haskell.org/package/"
3466 "vector-binary-instances/vector-binary-instances-"
3470 "028rsf2w193rhs1gic5yvvrwidw9sblczcn10aw64npfc6502l4l"))))
3471 (build-system haskell-build-system)
3473 `(("ghc-cereal" ,ghc-cereal)
3474 ("ghc-vector" ,ghc-vector)))
3475 (home-page "https://github.com/bos/vector-binary-instances")
3476 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
3477 (description "This library provides instances of @code{Binary} for the
3478 types defined in the @code{vector} package, making it easy to serialize
3479 vectors to and from disk. We use the generic interface to vectors, so all
3480 vector types are supported. Specific instances are provided for unboxed,
3481 boxed and storable vectors.")
3482 (license license:bsd-3)))
3484 (define-public ghc-network
3486 (name "ghc-network")
3488 (outputs '("out" "doc"))
3493 "https://hackage.haskell.org/package/network/network-"
3498 "1yhvpd4wigz165jvyvw9zslx7lgqdj63jh3zv5s74b5ykdfa3zd3"))))
3499 (build-system haskell-build-system)
3501 `(("ghc-hunit" ,ghc-hunit)))
3503 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3504 (home-page "https://github.com/haskell/network")
3505 (synopsis "Low-level networking interface")
3507 "This package provides a low-level networking interface.")
3508 (license license:bsd-3)))
3510 (define-public ghc-network-uri
3512 (name "ghc-network-uri")
3514 (outputs '("out" "doc"))
3519 "https://hackage.haskell.org/package/network-uri/network-uri-"
3524 "1pwbqb2rk4rnvllvdch42p5368xcvpkanp7bxckdhxya8zzwvhhg"))))
3525 (build-system haskell-build-system)
3527 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3529 `(("ghc-hunit" ,ghc-hunit)))
3531 `(("ghc-parsec" ,ghc-parsec)
3532 ("ghc-network" ,ghc-network)))
3534 "https://github.com/haskell/network-uri")
3535 (synopsis "Library for URI manipulation")
3536 (description "This package provides an URI manipulation interface. In
3537 'network-2.6' the 'Network.URI' module was split off from the 'network'
3538 package into this package.")
3539 (license license:bsd-3)))
3541 (define-public ghc-ansi-terminal
3543 (name "ghc-ansi-terminal")
3549 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
3554 "0hpfw0k025y681m9ml1c712skrb1p4vh7z5x1f0ci9ww7ssjrh2d"))))
3555 (build-system haskell-build-system)
3556 (home-page "https://github.com/feuerbach/ansi-terminal")
3557 (synopsis "ANSI terminal support for Haskell")
3558 (description "This package provides ANSI terminal support for Haskell. It
3559 allows cursor movement, screen clearing, color output showing or hiding the
3560 cursor, and changing the title.")
3561 (license license:bsd-3)))
3563 (define-public ghc-http
3566 (version "4000.2.20")
3567 (outputs '("out" "doc"))
3572 "https://hackage.haskell.org/package/HTTP/HTTP-"
3577 "0nyqdxr5ls2dxkf4a1f3x15xzwdm46ppn99nkcbhswlr6s3cq1s4"))))
3578 (build-system haskell-build-system)
3580 `(("ghc-hunit" ,ghc-hunit)))
3582 `(("ghc-old-time" ,ghc-old-time)
3583 ("ghc-parsec" ,ghc-parsec)
3584 ("ghc-mtl" ,ghc-mtl)
3585 ("ghc-network" ,ghc-network)
3586 ("ghc-network-uri" ,ghc-network-uri)))
3588 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3589 (home-page "https://github.com/haskell/HTTP")
3590 (synopsis "Library for client-side HTTP")
3592 "The HTTP package supports client-side web programming in Haskell. It
3593 lets you set up HTTP connections, transmitting requests and processing the
3594 responses coming back.")
3595 (license license:bsd-3)))
3597 (define-public ghc-hspec
3605 "https://hackage.haskell.org/package/hspec/hspec-"
3610 "0zqisxznlbszivsgy3irvf566zhcr6ipqqj3x9i7pj5hy913jwqf"))))
3611 (build-system haskell-build-system)
3613 `(("ghc-hspec-core" ,ghc-hspec-core)
3614 ("hspec-discover" ,hspec-discover)
3615 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3616 ("ghc-quickcheck" ,ghc-quickcheck)
3617 ("ghc-hunit" ,ghc-hunit)
3618 ("ghc-stringbuilder" ,ghc-stringbuilder)
3619 ("ghc-hspec-meta" ,ghc-hspec-meta)))
3620 (home-page "http://hspec.github.io/")
3621 (synopsis "Testing Framework for Haskell")
3622 (description "This library provides the Hspec testing framework for
3623 Haskell, inspired by the Ruby library RSpec.")
3624 (license license:expat)))
3626 (define-public ghc-hspec-contrib
3628 (name "ghc-hspec-contrib")
3632 (uri (string-append "https://hackage.haskell.org/package/"
3633 "hspec-contrib/hspec-contrib-"
3637 "006syw8xagfhsx06ws9ywig1qx5lk4cgl7sq6pbid1s64c72mxn4"))))
3638 (build-system haskell-build-system)
3640 `(("ghc-hspec-core" ,ghc-hspec-core)
3641 ("ghc-hunit" ,ghc-hunit)
3642 ("ghc-hspec" ,ghc-hspec)
3643 ("ghc-quickcheck" ,ghc-quickcheck)))
3645 `(("hspec-discover" ,hspec-discover)))
3646 (home-page "http://hspec.github.io/")
3647 (synopsis "Contributed functionality for Hspec")
3649 "This package provides contributed Hspec extensions.")
3650 (license license:expat)))
3652 (define-public ghc-hspec-expectations
3654 (name "ghc-hspec-expectations")
3660 "https://hackage.haskell.org/package/hspec-expectations/hspec-expectations-"
3665 "1w56jiqfyl237sr207gh3b0l8sr9layy0mdsgd5wknzb49mif6ip"))))
3666 (build-system haskell-build-system)
3667 (inputs `(("ghc-hunit" ,ghc-hunit)))
3668 (home-page "https://github.com/sol/hspec-expectations")
3669 (synopsis "Catchy combinators for HUnit")
3670 (description "This library provides catchy combinators for HUnit, see
3671 @uref{https://github.com/sol/hspec-expectations#readme, the README}.")
3672 (license license:expat)))
3674 (define-public hspec-discover
3676 (name "hspec-discover")
3682 "https://hackage.haskell.org/package/hspec-discover/hspec-discover-"
3687 "0w3awzbljf4hqhxrjrxqa1lfcclg92bhmq641gz2q80vycspapzx"))))
3688 (build-system haskell-build-system)
3689 (arguments `(#:haddock? #f)) ; Haddock phase fails because there are no
3690 ; documentation files.
3691 (inputs `(("ghc-hspec-meta" ,ghc-hspec-meta)))
3692 (home-page "http://hspec.github.io/")
3693 (synopsis "Automatically discover and run Hspec tests")
3694 (description "hspec-discover is a tool which automatically discovers and
3696 (license license:expat)))
3698 (define-public ghc-hspec-core
3700 (name "ghc-hspec-core")
3706 "https://hackage.haskell.org/package/hspec-core/hspec-core-"
3711 "1wgd55k652jaf81nkvciyqi67ycj7zamr4nd9z1cqf8nr9fc3sa4"))))
3712 (build-system haskell-build-system)
3713 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3715 `(("ghc-setenv" ,ghc-setenv)
3716 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
3717 ("ghc-async" ,ghc-async)
3718 ("ghc-quickcheck-io" ,ghc-quickcheck-io)
3719 ("ghc-hunit" ,ghc-hunit)
3720 ("ghc-quickcheck" ,ghc-quickcheck)
3721 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3722 ("ghc-silently" ,ghc-silently)))
3723 (home-page "http://hspec.github.io/")
3724 (synopsis "Testing framework for Haskell")
3725 (description "This library exposes internal types and functions that can
3726 be used to extend Hspec's functionality.")
3727 (license license:expat)))
3729 (define-public ghc-hspec-meta
3731 (name "ghc-hspec-meta")
3737 "https://hackage.haskell.org/package/hspec-meta/hspec-meta-"
3742 "1fmqmgrzp135cxhmxxbaswkk4bqbpgfml00cmcz0d39n11vzpa5z"))))
3743 (build-system haskell-build-system)
3745 `(("ghc-quickcheck" ,ghc-quickcheck)
3746 ("ghc-hunit" ,ghc-hunit)
3747 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
3748 ("ghc-async" ,ghc-async)
3749 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3750 ("ghc-setenv" ,ghc-setenv)
3751 ("ghc-random" ,ghc-random)
3752 ("ghc-quickcheck-io" ,ghc-quickcheck-io)))
3753 (home-page "http://hspec.github.io/")
3754 (synopsis "Version of Hspec to test Hspec itself")
3755 (description "This library provides a stable version of Hspec which is
3756 used to test the in-development version of Hspec.")
3757 (license license:expat)))
3759 (define-public ghc-vault
3767 "https://hackage.haskell.org/package/vault/vault-"
3772 "0ah6qrg71krc87f4vjy4b4shdd0mgyil8fikb3j6fl4kfwlg67jn"))))
3773 (build-system haskell-build-system)
3775 `(("ghc-unordered-containers" ,ghc-unordered-containers)
3776 ("ghc-hashable" ,ghc-hashable)))
3778 "https://github.com/HeinrichApfelmus/vault")
3779 (synopsis "Persistent store for arbitrary values")
3780 (description "This package provides vaults for Haskell. A vault is a
3781 persistent store for values of arbitrary types. It's like having first-class
3782 access to the storage space behind @code{IORefs}. The data structure is
3783 analogous to a bank vault, where you can access different bank boxes with
3784 different keys; hence the name. Also provided is a @code{locker} type,
3785 representing a store for a single element.")
3786 (license license:bsd-3)))
3788 (define-public ghc-mmorph
3796 "https://hackage.haskell.org/package/mmorph/mmorph-"
3801 "0k5zlzmnixfwcjrqvhgi3i6xg532b0gsjvc39v5jigw69idndqr2"))))
3802 (build-system haskell-build-system)
3804 "https://hackage.haskell.org/package/mmorph")
3805 (synopsis "Monad morphisms")
3807 "This library provides monad morphism utilities, most commonly used for
3808 manipulating monad transformer stacks.")
3809 (license license:bsd-3)))
3811 (define-public ghc-monad-control
3813 (name "ghc-monad-control")
3819 "https://hackage.haskell.org/package/monad-control"
3820 "/monad-control-" version ".tar.gz"))
3823 "07pn1p4m80wdd7gw62s4yny8rbvm60ka1q8qx5y1plznd8sbg179"))))
3824 (build-system haskell-build-system)
3826 `(("ghc-stm" ,ghc-stm)
3827 ("ghc-transformers-base" ,ghc-transformers-base)
3828 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3829 (home-page "https://github.com/basvandijk/monad-control")
3830 (synopsis "Monad transformers to lift control operations like exception
3832 (description "This package defines the type class @code{MonadBaseControl},
3833 a subset of @code{MonadBase} into which generic control operations such as
3834 @code{catch} can be lifted from @code{IO} or any other base monad.")
3835 (license license:bsd-3)))
3837 (define-public ghc-byteorder
3839 (name "ghc-byteorder")
3845 "https://hackage.haskell.org/package/byteorder/byteorder-"
3850 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
3851 (build-system haskell-build-system)
3853 "http://community.haskell.org/~aslatter/code/byteorder")
3855 "Exposes the native endianness of the system")
3857 "This package is for working with the native byte-ordering of the
3859 (license license:bsd-3)))
3861 (define-public ghc-base-compat
3863 (name "ghc-base-compat")
3869 "https://hackage.haskell.org/package/base-compat/base-compat-"
3874 "02m93hzgxg4bcnp7xcc2fdh2hrsc2h6fwl8hix5nx9k864kwf41q"))))
3875 (build-system haskell-build-system)
3877 `(("ghc-quickcheck" ,ghc-quickcheck)
3878 ("ghc-hspec" ,ghc-hspec)
3879 ("hspec-discover" ,hspec-discover)))
3880 (home-page "https://hackage.haskell.org/package/base-compat")
3881 (synopsis "Haskell compiler compatibility library")
3882 (description "This library provides functions available in later versions
3883 of base to a wider range of compilers, without requiring the use of CPP
3884 pragmas in your code.")
3885 (license license:bsd-3)))
3887 (define-public ghc-blaze-builder
3889 (name "ghc-blaze-builder")
3895 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
3900 "1id3w33x9f7q5m3xpggmvzw03bkp94bpfyz81625bldqgf3yqdn1"))))
3901 (build-system haskell-build-system)
3902 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
3904 `(("ghc-text" ,ghc-text)
3905 ("ghc-utf8-string" ,ghc-utf8-string)))
3906 (home-page "https://github.com/lpsmith/blaze-builder")
3907 (synopsis "Efficient buffered output")
3908 (description "This library provides an implementation of the older
3909 @code{blaze-builder} interface in terms of the new builder that shipped with
3910 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
3911 bridge to the new builder, so that code that uses the old interface can
3912 interoperate with code that uses the new implementation.")
3913 (license license:bsd-3)))
3915 (define-public ghc-blaze-markup
3917 (name "ghc-blaze-markup")
3923 "https://hackage.haskell.org/package/blaze-markup/blaze-markup-"
3928 "080vlhd8dwjxrma4bb524lh8gxs5lm3xh122icy6lnnyipla0s9y"))))
3929 (build-system haskell-build-system)
3930 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3932 `(("ghc-blaze-builder" ,ghc-blaze-builder)
3933 ("ghc-text" ,ghc-text)))
3934 (home-page "http://jaspervdj.be/blaze")
3935 (synopsis "Fast markup combinator library for Haskell")
3936 (description "This library provides core modules of a markup combinator
3937 library for Haskell.")
3938 (license license:bsd-3)))
3940 (define-public ghc-blaze-html
3942 (name "ghc-blaze-html")
3948 "https://hackage.haskell.org/package/blaze-html/blaze-html-"
3953 "1dnw50kh0s405cg9i2y4a8awanhj3bqzk21jwgfza65kcjby7lpq"))))
3954 (build-system haskell-build-system)
3955 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3957 `(("ghc-blaze-builder" ,ghc-blaze-builder)
3958 ("ghc-text" ,ghc-text)
3959 ("ghc-blaze-markup" ,ghc-blaze-markup)))
3960 (home-page "http://jaspervdj.be/blaze")
3961 (synopsis "Fast HTML combinator library")
3962 (description "This library provides HTML combinators for Haskell.")
3963 (license license:bsd-3)))
3965 (define-public ghc-easy-file
3967 (name "ghc-easy-file")
3973 "https://hackage.haskell.org/package/easy-file/easy-file-"
3978 "0v75081bx4qzlqy29hh639nzlr7dncwza3qxbzm9njc4jarf31pz"))))
3979 (build-system haskell-build-system)
3981 "https://github.com/kazu-yamamoto/easy-file")
3982 (synopsis "File handling library for Haskell")
3983 (description "This library provides file handling utilities for Haskell.")
3984 (license license:bsd-3)))
3986 (define-public ghc-async
3994 "https://hackage.haskell.org/package/async/async-"
3999 "0azx4qk65a9a2gvqsfmz3w89m6shzr2iz0i5lly2zvly4n2d6m6v"))))
4000 (build-system haskell-build-system)
4002 `(("ghc-stm" ,ghc-stm)
4003 ("ghc-hunit" ,ghc-hunit)
4004 ("ghc-test-framework" ,ghc-test-framework)
4005 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4006 (home-page "https://github.com/simonmar/async")
4007 (synopsis "Library to run IO operations asynchronously")
4008 (description "Async provides a library to run IO operations
4009 asynchronously, and wait for their results. It is a higher-level interface
4010 over threads in Haskell, in which @code{Async a} is a concurrent thread that
4011 will eventually deliver a value of type @code{a}.")
4012 (license license:bsd-3)))
4014 (define-public ghc-fingertree
4016 (name "ghc-fingertree")
4022 "https://hackage.haskell.org/package/fingertree/fingertree-"
4027 "1w6x3kp3by5yjmam6wlrf9vap5l5rrqaip0djbrdp0fpf2imn30n"))))
4028 (build-system haskell-build-system)
4029 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
4030 (home-page "https://hackage.haskell.org/package/fingertree")
4031 (synopsis "Generic finger-tree structure")
4032 (description "This library provides finger trees, a general sequence
4033 representation with arbitrary annotations, for use as a base for
4034 implementations of various collection types. It includes examples, as
4035 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4036 simple general-purpose data structure\".")
4037 (license license:bsd-3)))
4039 (define-public ghc-optparse-applicative
4041 (name "ghc-optparse-applicative")
4042 (version "0.11.0.2")
4047 "https://hackage.haskell.org/package/optparse-applicative"
4048 "/optparse-applicative-" version ".tar.gz"))
4051 "0ni52ii9555jngljvzxn1ngicr6i2w647ww3rzhdrmng04y95iii"))))
4052 (build-system haskell-build-system)
4054 `(("ghc-transformers-compat" ,ghc-transformers-compat)
4055 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
4056 (home-page "https://github.com/pcapriotti/optparse-applicative")
4057 (synopsis "Utilities and combinators for parsing command line options")
4058 (description "This package provides utilities and combinators for parsing
4059 command line options in Haskell.")
4060 (license license:bsd-3)))
4062 (define-public ghc-base-orphans
4064 (name "ghc-base-orphans")
4070 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
4075 "0hhgpwjvx7jhvlhsygmmf0q5hv2ymijzz4bjilicw99bmv13qcpl"))))
4076 (build-system haskell-build-system)
4078 `(("ghc-quickcheck" ,ghc-quickcheck)
4079 ("ghc-hspec" ,ghc-hspec)
4080 ("hspec-discover" ,hspec-discover)))
4081 (home-page "https://hackage.haskell.org/package/base-orphans")
4082 (synopsis "Orphan instances for backwards compatibility")
4083 (description "This package defines orphan instances that mimic instances
4084 available in later versions of base to a wider (older) range of compilers.")
4085 (license license:bsd-3)))
4087 (define-public ghc-auto-update
4089 (name "ghc-auto-update")
4095 "https://hackage.haskell.org/package/auto-update/auto-update-"
4100 "1ns4c5mqhnm7hsiqxf1ivjs5fflyq92b16ldzrcl0p85631h0c3v"))))
4101 (build-system haskell-build-system)
4102 (home-page "https://github.com/yesodweb/wai")
4103 (synopsis "Efficiently run periodic, on-demand actions")
4104 (description "This library provides mechanisms to efficiently run
4105 periodic, on-demand actions in Haskell.")
4106 (license license:expat)))
4108 (define-public ghc-tagged
4116 "https://hackage.haskell.org/package/tagged/tagged-"
4121 "1hc2qzhhz5p1xd8k03sklrdnhcflkwhgpl82k6fam8yckww9ipav"))))
4122 (build-system haskell-build-system)
4123 (home-page "https://hackage.haskell.org/package/tagged")
4124 (synopsis "Haskell phantom types to avoid passing dummy arguments")
4125 (description "This library provides phantom types for Haskell 98, to avoid
4126 having to unsafely pass dummy arguments.")
4127 (license license:bsd-3)))
4129 (define-public ghc-unbounded-delays
4131 (name "ghc-unbounded-delays")
4137 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
4142 "1f4h87503m3smhip432q027wj3zih18pmz2rnafh60589ifcl420"))))
4143 (build-system haskell-build-system)
4144 (home-page "https://github.com/basvandijk/unbounded-delays")
4145 (synopsis "Unbounded thread delays and timeouts")
4146 (description "The @code{threadDelay} and @code{timeout} functions from the
4147 Haskell base library use the bounded @code{Int} type for specifying the delay
4148 or timeout period. This package provides alternative functions which use the
4149 unbounded @code{Integer} type.")
4150 (license license:bsd-3)))
4152 ;; This package builds `clock` without tests, since the tests rely on tasty
4153 ;; and tasty-quickcheck, which in turn require clock to build. When tasty and
4154 ;; tasty-quickcheck are added, we will add ghc-clock with tests enabled.
4155 (define ghc-clock-bootstrap
4157 (name "ghc-clock-bootstrap")
4163 "https://hackage.haskell.org/package/"
4165 "clock-" version ".tar.gz"))
4167 (base32 "1ncph7vi2q6ywwc8ysxl1ibw6i5dwfvln88ssfazk8jgpj4iyykw"))))
4168 (build-system haskell-build-system)
4169 (arguments `(#:tests? #f)) ;; Testing suite depends on tasty and
4170 ;; tasty-quickcheck, which need clock to build.
4171 (home-page "https://hackage.haskell.org/package/clock")
4172 (synopsis "High-resolution clock for Haskell")
4173 (description "A package for convenient access to high-resolution clock and
4174 timer functions of different operating systems via a unified API.")
4175 (license license:bsd-3)))
4177 (define-public ghc-clock
4185 "https://hackage.haskell.org/package/"
4187 "clock-" version ".tar.gz"))
4189 (base32 "1ncph7vi2q6ywwc8ysxl1ibw6i5dwfvln88ssfazk8jgpj4iyykw"))))
4190 (build-system haskell-build-system)
4192 `(("ghc-tasty" ,ghc-tasty)
4193 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4194 (home-page "https://hackage.haskell.org/package/clock")
4195 (synopsis "High-resolution clock for Haskell")
4196 (description "A package for convenient access to high-resolution clock and
4197 timer functions of different operating systems via a unified API.")
4198 (license license:bsd-3)))
4200 (define-public ghc-charset
4202 (name "ghc-charset")
4208 "https://hackage.haskell.org/package/charset/charset-"
4213 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
4214 (build-system haskell-build-system)
4216 `(("ghc-semigroups" ,ghc-semigroups)
4217 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4218 (home-page "https://github.com/ekmett/charset")
4219 (synopsis "Fast unicode character sets for Haskell")
4220 (description "This package provides fast unicode character sets for
4221 Haskell, based on complemented PATRICIA tries.")
4222 (license license:bsd-3)))
4224 (define-public ghc-bytestring-builder
4226 (name "ghc-bytestring-builder")
4227 (version "0.10.6.0.0")
4232 "https://hackage.haskell.org/package/bytestring-builder"
4233 "/bytestring-builder-" version ".tar.gz"))
4236 "1mkg24zl0rapb3gqzkyj5ibp07wx3yzd72hmfczssl0is63rjhww"))))
4237 (build-system haskell-build-system)
4238 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4239 (home-page "https://hackage.haskell.org/package/bytestring-builder")
4240 (synopsis "The new bytestring builder, packaged outside of GHC")
4241 (description "This package provides the bytestring builder that is
4242 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
4243 Compatibility package for older packages.")
4244 (license license:bsd-3)))
4246 (define-public ghc-nats
4254 "https://hackage.haskell.org/package/nats/nats-"
4259 "0r6s8l4s0yq3x2crrkv0b8zac13magfasr9v8hnq6rn1icsfhic0"))))
4260 (build-system haskell-build-system)
4261 (arguments `(#:haddock? #f))
4263 `(("ghc-hashable" ,ghc-hashable)))
4264 (home-page "https://hackage.haskell.org/package/nats")
4265 (synopsis "Natural numbers")
4266 (description "This library provides the natural numbers for Haskell.")
4267 (license license:bsd-3)))
4269 (define-public ghc-void
4277 "https://hackage.haskell.org/package/void/void-"
4282 "1x15x2axz84ndw2bf60vjqljhrb0w95lddaljsxrl0hcd29zvw69"))))
4283 (build-system haskell-build-system)
4285 `(("ghc-semigroups" ,ghc-semigroups)
4286 ("ghc-hashable" ,ghc-hashable)))
4287 (home-page "https://github.com/ekmett/void")
4289 "Logically uninhabited data type")
4291 "A Haskell 98 logically uninhabited data type, used to indicate that a
4292 given term should not exist.")
4293 (license license:bsd-3)))
4295 (define-public ghc-kan-extensions
4297 (name "ghc-kan-extensions")
4303 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
4308 "0iywbadpy8s3isfzlx9dlz3apaywhqq4gdbxkwygksq8pzdhwkrk"))))
4309 (build-system haskell-build-system)
4311 `(("ghc-adjunctions" ,ghc-adjunctions)
4312 ("ghc-comonad" ,ghc-comonad)
4313 ("ghc-contravariant" ,ghc-contravariant)
4314 ("ghc-distributive" ,ghc-distributive)
4315 ("ghc-free" ,ghc-free)
4316 ("ghc-mtl" ,ghc-mtl)
4317 ("ghc-semigroupoids" ,ghc-semigroupoids)
4318 ("ghc-tagged" ,ghc-tagged)))
4319 (home-page "https://github.com/ekmett/kan-extensions/")
4320 (synopsis "Kan extensions library")
4321 (description "This library provides Kan extensions, Kan lifts, various
4322 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
4323 (license license:bsd-3)))
4325 (define-public ghc-statevar
4327 (name "ghc-statevar")
4333 "https://hackage.haskell.org/package/StateVar/StateVar-"
4338 "1ap51cvwq61xckx5hw44l82ihbxvsq3263xr5hqg42c5qp67kbhf"))))
4339 (build-system haskell-build-system)
4341 `(("ghc-stm" ,ghc-stm)))
4342 (home-page "https://hackage.haskell.org/package/StateVar")
4343 (synopsis "State variables for Haskell")
4344 (description "This package provides state variables, which are references
4345 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
4346 (license license:bsd-3)))
4348 (define-public ghc-lens
4356 "https://hackage.haskell.org/package/lens/lens-"
4361 "0g4g0xksrb2m8wgsmraaq8qnk1sssb42kr65fc7clgyid6zyfmim"))))
4362 (build-system haskell-build-system)
4363 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4365 `(("ghc-base-orphans" ,ghc-base-orphans)
4366 ("ghc-bifunctors" ,ghc-bifunctors)
4367 ("ghc-distributive" ,ghc-distributive)
4368 ("ghc-exceptions" ,ghc-exceptions)
4369 ("ghc-free" ,ghc-free)
4370 ("ghc-kan-extensions" ,ghc-kan-extensions)
4371 ("ghc-parallel" ,ghc-parallel)
4372 ("ghc-reflection" ,ghc-reflection)
4373 ("ghc-semigroupoids" ,ghc-semigroupoids)
4374 ("ghc-vector" ,ghc-vector)
4375 ("ghc-comonad" ,ghc-comonad)
4376 ("ghc-contravariant" ,ghc-contravariant)
4377 ("ghc-hashable" ,ghc-hashable)
4378 ("ghc-mtl" ,ghc-mtl)
4379 ("ghc-profunctors" ,ghc-profunctors)
4380 ("ghc-semigroups" ,ghc-semigroups)
4381 ("ghc-tagged" ,ghc-tagged)
4382 ("ghc-text" ,ghc-text)
4383 ("ghc-transformers-compat" ,ghc-transformers-compat)
4384 ("ghc-unordered-containers" ,ghc-unordered-containers)
4385 ("ghc-void" ,ghc-void)
4386 ("ghc-generic-deriving" ,ghc-generic-deriving)
4387 ("ghc-nats" ,ghc-nats)
4388 ("ghc-simple-reflect" ,ghc-simple-reflect)
4390 (home-page "https://github.com/ekmett/lens/")
4391 (synopsis "Lenses, Folds and Traversals")
4392 (description "This library provides @code{Control.Lens}. The combinators
4393 in @code{Control.Lens} provide a highly generic toolbox for composing families
4394 of getters, folds, isomorphisms, traversals, setters and lenses and their
4396 (license license:bsd-3)))
4398 (define-public ghc-tagsoup
4400 (name "ghc-tagsoup")
4406 "https://hackage.haskell.org/package/tagsoup/tagsoup-"
4411 "07pax7i0bl79dmqqz58zy09yrgpnyyr2ya0z183hv96kp65jv0lh"))))
4412 (build-system haskell-build-system)
4413 (inputs `(("ghc-text" ,ghc-text)))
4415 "http://community.haskell.org/~ndm/tagsoup/")
4417 "Parsing and extracting information from (possibly malformed) HTML/XML
4420 "TagSoup is a library for parsing HTML/XML. It supports the HTML 5
4421 specification, and can be used to parse either well-formed XML, or
4422 unstructured and malformed HTML from the web. The library also provides
4423 useful functions to extract information from an HTML document, making it ideal
4424 for screen-scraping.")
4425 (license license:bsd-3)))
4427 (define-public ghc-digest
4435 "https://hackage.haskell.org/package/digest/digest-"
4440 "04gy2zp8yzvv7j9bdfvmfzcz3sqyqa6rwslqcn4vyair2vmif5v4"))))
4441 (build-system haskell-build-system)
4445 "https://hackage.haskell.org/package/digest")
4447 "Various cryptographic hashes for bytestrings")
4449 "This package provides efficient cryptographic hash implementations for
4450 strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; they
4451 are implemented as FFI bindings to efficient code from zlib.")
4452 (license license:bsd-3)))
4454 (define-public ghc-cheapskate
4456 (name "ghc-cheapskate")
4462 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
4467 "0drx1hlqvdcrij4097q6bxhbfcqm73jsqv1wwhd3hsnjdmr46ch2"))))
4468 (build-system haskell-build-system)
4470 `(("ghc-xss-sanitize" ,ghc-xss-sanitize)
4471 ("ghc-data-default" ,ghc-data-default)
4472 ("ghc-mtl" ,ghc-mtl)
4473 ("ghc-text" ,ghc-text)
4474 ("ghc-blaze-html" ,ghc-blaze-html)
4475 ("ghc-syb" ,ghc-syb)
4476 ("ghc-uniplate" ,ghc-uniplate)
4477 ("ghc-aeson" ,ghc-aeson)
4478 ("ghc-wai-extra" ,ghc-wai-extra)
4479 ("ghc-wai" ,ghc-wai)
4480 ("ghc-http-types" ,ghc-http-types)))
4481 (home-page "https://github.com/jgm/cheapskate")
4482 (synopsis "Experimental markdown processor")
4483 (description "Cheapskate is an experimental Markdown processor in pure
4484 Haskell. It aims to process Markdown efficiently and in the most forgiving
4485 possible way. It is designed to deal with any input, including garbage, with
4486 linear performance. Output is sanitized by default for protection against XSS
4488 (license license:bsd-3)))
4490 (define-public ghc-bifunctors
4492 (name "ghc-bifunctors")
4498 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
4503 "13990xdgx0n23qgi18ghhmsywj5zkr0a5bim0g8a4nzi0cx95ps1"))))
4504 (build-system haskell-build-system)
4506 `(("ghc-tagged" ,ghc-tagged)
4507 ("ghc-semigroups" ,ghc-semigroups)))
4508 (home-page "https://github.com/ekmett/bifunctors/")
4509 (synopsis "Bifunctors for Haskell")
4510 (description "This package provides bifunctors for Haskell.")
4511 (license license:bsd-3)))
4513 (define-public ghc-semigroupoids
4515 (name "ghc-semigroupoids")
4521 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
4526 "1jf7jnfhdvl6p18wdr21yi2fim1xb8alcn6szhrdswj0dkilgq6d"))))
4527 (build-system haskell-build-system)
4528 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4530 `(("ghc-base-orphans" ,ghc-base-orphans)
4531 ("ghc-transformers-compat" ,ghc-transformers-compat)
4532 ("ghc-bifunctors" ,ghc-bifunctors)
4533 ("ghc-comonad" ,ghc-comonad)
4534 ("ghc-contravariant" ,ghc-contravariant)
4535 ("ghc-distributive" ,ghc-distributive)
4536 ("ghc-semigroups" ,ghc-semigroups)
4537 ("ghc-tagged" ,ghc-tagged)))
4538 (home-page "https://github.com/ekmett/semigroupoids")
4539 (synopsis "Semigroupoids operations for Haskell")
4540 (description "This library provides a wide array of (semi)groupoids and
4541 operations for working with them. A @code{Semigroupoid} is a @code{Category}
4542 without the requirement of identity arrows for every object in the category.
4543 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
4544 Finally, to work with these weaker structures it is beneficial to have
4545 containers that can provide stronger guarantees about their contents, so
4546 versions of @code{Traversable} and @code{Foldable} that can be folded with
4547 just a @code{Semigroup} are added.")
4548 (license license:bsd-3)))
4550 (define-public ghc-contravariant
4552 (name "ghc-contravariant")
4558 "https://hackage.haskell.org/package/contravariant/contravariant-"
4563 "184hcmhsznqrkmqlc1kza9pb5p591anva574ry8wrh81vqmhwfb5"))))
4564 (build-system haskell-build-system)
4566 `(("ghc-void" ,ghc-void)
4567 ("ghc-transformers-compat" ,ghc-transformers-compat)
4568 ("ghc-statevar" ,ghc-statevar)
4569 ("ghc-semigroups" ,ghc-semigroups)))
4571 "https://github.com/ekmett/contravariant/")
4572 (synopsis "Contravariant functors")
4573 (description "Contravariant functors for Haskell.")
4574 (license license:bsd-3)))
4576 (define-public ghc-semigroups
4578 (name "ghc-semigroups")
4584 "https://hackage.haskell.org/package/semigroups/semigroups-"
4589 "1r6hsn3am3dpf4rprrj4m04d9318v9iq02bin0pl29dg4a3gzjax"))))
4590 (build-system haskell-build-system)
4592 `(("ghc-nats" ,ghc-nats)
4593 ("ghc-tagged" ,ghc-tagged)
4594 ("ghc-unordered-containers" ,ghc-unordered-containers)
4595 ("ghc-text" ,ghc-text)
4596 ("ghc-hashable" ,ghc-hashable)))
4597 (home-page "https://github.com/ekmett/semigroups/")
4598 (synopsis "Semigroup operations for Haskell")
4599 (description "This package provides semigroups for Haskell. In
4600 mathematics, a semigroup is an algebraic structure consisting of a set
4601 together with an associative binary operation. A semigroup generalizes a
4602 monoid in that there might not exist an identity element. It
4603 also (originally) generalized a group (a monoid with all inverses) to a type
4604 where every element did not have to have an inverse, thus the name
4606 (license license:bsd-3)))
4608 (define-public ghc-free
4616 "https://hackage.haskell.org/package/free/free-"
4621 "0sr8phvrb4ny8j1wzq55rdn8q4br23q4pw2j276npr844825jr9p"))))
4622 (build-system haskell-build-system)
4624 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4625 ("ghc-profunctors" ,ghc-profunctors)
4626 ("ghc-exceptions" ,ghc-exceptions)
4627 ("ghc-bifunctors" ,ghc-bifunctors)
4628 ("ghc-comonad" ,ghc-comonad)
4629 ("ghc-distributive" ,ghc-distributive)
4630 ("ghc-mtl" ,ghc-mtl)
4631 ("ghc-semigroupoids" ,ghc-semigroupoids)
4632 ("ghc-semigroups" ,ghc-semigroups)))
4633 (home-page "https://github.com/ekmett/free/")
4634 (synopsis "Unrestricted monads for Haskell")
4635 (description "This library provides free monads, which are useful for many
4636 tree-like structures and domain specific languages. If @code{f} is a
4637 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4638 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4639 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4640 f} makes no constraining assumptions beyond those given by @code{f} and the
4641 definition of @code{Monad}.")
4642 (license license:bsd-3)))
4644 (define-public ghc-adjunctions
4646 (name "ghc-adjunctions")
4652 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
4657 "00p030iypjzjib8pxz1x6mxfi59wvyrwjj11zv9bh766dgkdbwjq"))))
4658 (build-system haskell-build-system)
4660 `(("ghc-profunctors" ,ghc-profunctors)
4661 ("ghc-comonad" ,ghc-comonad)
4662 ("ghc-contravariant" ,ghc-contravariant)
4663 ("ghc-distributive" ,ghc-distributive)
4664 ("ghc-free" ,ghc-free)
4665 ("ghc-mtl" ,ghc-mtl)
4666 ("ghc-tagged" ,ghc-tagged)
4667 ("ghc-semigroupoids" ,ghc-semigroupoids)
4668 ("ghc-semigroups" ,ghc-semigroups)
4669 ("ghc-void" ,ghc-void)))
4670 (home-page "https://github.com/ekmett/adjunctions/")
4671 (synopsis "Adjunctions and representable functors")
4672 (description "This library provides adjunctions and representable functors
4674 (license license:bsd-3)))
4676 (define-public ghc-fast-logger
4678 (name "ghc-fast-logger")
4684 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
4689 "0kjk1861qcls8m8y7i55msfpprws5wk6c5mxzi35g2qbl2sih4p5"))))
4690 (build-system haskell-build-system)
4692 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
4693 ("ghc-auto-update" ,ghc-auto-update)
4694 ("ghc-text" ,ghc-text)))
4696 `(("hspec-discover" ,hspec-discover)
4697 ("ghc-hspec" ,ghc-hspec)))
4698 (home-page "https://hackage.haskell.org/package/fast-logger")
4699 (synopsis "Fast logging system")
4700 (description "This library provides a fast logging system for Haskell.")
4701 (license license:bsd-3)))
4703 (define-public ghc-doctest
4705 (name "ghc-doctest")
4711 "https://hackage.haskell.org/package/doctest/doctest-"
4716 "1jbyhzbi2hfrfg7vbkpj6vriaap8cn99nnmzwcfscwaijz09jyrm"))))
4717 (build-system haskell-build-system)
4718 (arguments `(#:tests? #f)) ; FIXME: missing test framework
4720 `(("ghc-syb" ,ghc-syb)
4721 ("ghc-paths" ,ghc-paths)
4722 ("ghc-base-compat" ,ghc-base-compat)
4723 ("ghc-hunit" ,ghc-hunit)
4724 ("ghc-hspec" ,ghc-hspec)
4725 ("ghc-quickcheck" ,ghc-quickcheck)
4726 ("ghc-stringbuilder" ,ghc-stringbuilder)
4727 ("ghc-silently" ,ghc-silently)
4728 ("ghc-setenv" ,ghc-setenv)))
4730 "https://github.com/sol/doctest#readme")
4731 (synopsis "Test interactive Haskell examples")
4732 (description "The doctest program checks examples in source code comments.
4733 It is modeled after doctest for Python, see
4734 @uref{http://docs.python.org/library/doctest.html, the Doctest website}.")
4735 (license license:expat)))
4737 (define-public ghc-lifted-base
4739 (name "ghc-lifted-base")
4745 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
4750 "1yz14a1rsgknwyl08n4kxrlc26hfwmb95a3c2drbnsgmhdyq7iap"))))
4751 (build-system haskell-build-system)
4752 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
4754 `(("ghc-transformers-base" ,ghc-transformers-base)
4755 ("ghc-monad-control" ,ghc-monad-control)
4756 ("ghc-transformers-compat" ,ghc-transformers-compat)
4757 ("ghc-hunit" ,ghc-hunit)))
4758 (home-page "https://github.com/basvandijk/lifted-base")
4759 (synopsis "Lifted IO operations from the base library")
4760 (description "Lifted-base exports IO operations from the @code{base}
4761 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
4762 Note that not all modules from @code{base} are converted yet. The package
4763 includes a copy of the @code{monad-peel} test suite written by Anders
4765 (license license:bsd-3)))
4767 (define-public ghc-word8
4775 "https://hackage.haskell.org/package/word8/word8-"
4780 "1pbn8ra3qhwvw07p375cdmp7jzlg07hgdcr4cpscz3h7b9sy7fiw"))))
4781 (build-system haskell-build-system)
4783 `(("ghc-hspec" ,ghc-hspec)
4784 ("hspec-discover" ,hspec-discover)))
4785 (home-page "https://hackage.haskell.org/package/word8")
4786 (synopsis "Word8 library for Haskell")
4787 (description "Word8 library to be used with @code{Data.ByteString}.")
4788 (license license:bsd-3)))
4790 (define-public ghc-stringsearch
4792 (name "ghc-stringsearch")
4798 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
4803 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
4804 (build-system haskell-build-system)
4805 (home-page "https://bitbucket.org/dafis/stringsearch")
4806 (synopsis "Fast searching, splitting and replacing of ByteStrings")
4807 (description "This package provides several functions to quickly search
4808 for substrings in strict or lazy @code{ByteStrings}. It also provides
4809 functions for breaking or splitting on substrings and replacing all
4810 occurrences of a substring (the first in case of overlaps) with another.")
4811 (license license:bsd-3)))
4813 (define-public ghc-tasty-quickcheck
4815 (name "ghc-tasty-quickcheck")
4821 "https://hackage.haskell.org/package/tasty-quickcheck/"
4822 "tasty-quickcheck-" version ".tar.gz"))
4825 "15rjxib5jmjq0hzj47x15kgp3awc73va4cy1pmpf7k3hvfv4qprn"))))
4826 (build-system haskell-build-system)
4828 `(("ghc-quickcheck" ,ghc-quickcheck)
4829 ("ghc-tagged" ,ghc-tagged)
4830 ("ghc-tasty" ,ghc-tasty)
4831 ("ghc-random" ,ghc-random)
4832 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
4833 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4834 ("ghc-pcre-light" ,ghc-pcre-light)))
4835 (home-page "http://documentup.com/feuerbach/tasty")
4836 (synopsis "QuickCheck support for the Tasty test framework")
4837 (description "This package provides QuickCheck support for the Tasty
4838 Haskell test framework.")
4839 (license license:expat)))
4841 (define-public ghc-tasty-golden
4843 (name "ghc-tasty-golden")
4849 "https://hackage.haskell.org/package/tasty-golden/tasty-golden-"
4854 "0n7nll1sx75n3lffwhgnjrxdn0jz1g0921z9mj193fxqw0wz8axh"))))
4855 (build-system haskell-build-system)
4857 `(("ghc-temporary" ,ghc-temporary)
4858 ("ghc-tasty" ,ghc-tasty)
4859 ("ghc-mtl" ,ghc-mtl)
4860 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
4861 ("ghc-tagged" ,ghc-tagged)
4862 ("ghc-async" ,ghc-async)
4863 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4864 ("ghc-temporary-rc" ,ghc-temporary-rc)))
4866 "https://github.com/feuerbach/tasty-golden")
4867 (synopsis "Golden tests support for tasty")
4869 "This package provides support for 'golden testing'. A golden test is an
4870 IO action that writes its result to a file. To pass the test, this output
4871 file should be identical to the corresponding 'golden' file, which contains
4872 the correct result for the test.")
4873 (license license:expat)))
4875 (define-public ghc-tasty
4878 (version "0.11.0.1")
4883 "https://hackage.haskell.org/package/tasty/tasty-"
4888 "1chapivmmwsb1ghwagvdm80bfj3hdk75m94z4p212ng2i4ghpjkx"))))
4889 (build-system haskell-build-system)
4891 `(("ghc-stm" ,ghc-stm)
4892 ("ghc-mtl" ,ghc-mtl)
4893 ("ghc-tagged" ,ghc-tagged)
4894 ("ghc-regex-tdfa-rc" ,ghc-regex-tdfa-rc)
4895 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
4896 ("ghc-unbounded-delays" ,ghc-unbounded-delays)
4897 ("ghc-async" ,ghc-async)
4898 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
4899 ("ghc-clock-bootstrap" ,ghc-clock-bootstrap)))
4900 (home-page "http://documentup.com/feuerbach/tasty")
4901 (synopsis "Modern and extensible testing framework")
4902 (description "Tasty is a modern testing framework for Haskell. It lets
4903 you combine your unit tests, golden tests, QuickCheck/SmallCheck properties,
4904 and any other types of tests into a single test suite.")
4905 (license license:expat)))
4907 (define-public ghc-tasty-hunit
4909 (name "ghc-tasty-hunit")
4915 "https://hackage.haskell.org/package/tasty-hunit/tasty-hunit-"
4920 "08qnxaw34wfnzi9irs1jd4d0zczqm3k5ffkd4zwhkz0dflmgq7mf"))))
4921 (build-system haskell-build-system)
4923 `(("ghc-tasty" ,ghc-tasty)))
4924 (home-page "http://documentup.com/feuerbach/tasty")
4925 (synopsis "HUnit support for the Tasty test framework")
4926 (description "This package provides HUnit support for the Tasty Haskell
4928 (license license:expat)))
4930 (define-public ghc-cookie
4938 "https://hackage.haskell.org/package/cookie/cookie-"
4943 "0b6ym6fn29p5az4dwydy036lxj131kagrmgb93w4bbkqfkds8b9s"))))
4944 (build-system haskell-build-system)
4946 `(("ghc-old-locale" ,ghc-old-locale)
4947 ("ghc-blaze-builder" ,ghc-blaze-builder)
4948 ("ghc-text" ,ghc-text)
4949 ("ghc-data-default-class" ,ghc-data-default-class)
4950 ("ghc-hunit" ,ghc-hunit)
4951 ("ghc-quickcheck" ,ghc-quickcheck)
4952 ("ghc-tasty" ,ghc-tasty)
4953 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4954 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4955 (home-page "https://github.com/snoyberg/cookie")
4956 (synopsis "HTTP cookie parsing and rendering")
4957 (description "HTTP cookie parsing and rendering library for Haskell.")
4958 (license license:bsd-3)))
4960 (define-public ghc-scientific
4962 (name "ghc-scientific")
4968 "https://hackage.haskell.org/package/scientific/scientific-"
4973 "0mimdkva0cgzaychr6whv9if29z0r5wwhkss9bmd4rz8kq1kgngn"))))
4974 (build-system haskell-build-system)
4976 `(("ghc-hashable" ,ghc-hashable)
4977 ("ghc-vector" ,ghc-vector)
4978 ("ghc-text" ,ghc-text)
4979 ("ghc-tasty" ,ghc-tasty)
4980 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
4981 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4982 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
4983 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
4984 ("ghc-smallcheck" ,ghc-smallcheck)
4985 ("ghc-quickcheck" ,ghc-quickcheck)))
4986 (home-page "https://github.com/basvandijk/scientific")
4987 (synopsis "Numbers represented using scientific notation")
4988 (description "This package provides @code{Data.Scientific}, which provides
4989 the number type @code{Scientific}. Scientific numbers are arbitrary precision
4990 and space efficient. They are represented using
4991 @uref{http://en.wikipedia.org/wiki/Scientific_notation, scientific
4993 (license license:bsd-3)))
4995 (define-public ghc-aeson
4998 (version "0.10.0.0")
5003 "https://hackage.haskell.org/package/aeson/aeson-"
5008 "19kp33rfivr4d3myyr8xn803wd7p8x5nc4wb3qvlgjwgyqjaxvrz"))))
5009 (build-system haskell-build-system)
5010 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
5012 `(("ghc-attoparsec" ,ghc-attoparsec)
5013 ("ghc-dlist" ,ghc-dlist)
5014 ("ghc-mtl" ,ghc-mtl)
5015 ("ghc-scientific" ,ghc-scientific)
5016 ("ghc-syb" ,ghc-syb)
5017 ("ghc-unordered-containers" ,ghc-unordered-containers)
5018 ("ghc-vector" ,ghc-vector)
5019 ("ghc-hashable" ,ghc-hashable)
5020 ("ghc-text" ,ghc-text)
5021 ("ghc-hunit" ,ghc-hunit)
5022 ("ghc-quickcheck" ,ghc-quickcheck)))
5023 (home-page "https://github.com/bos/aeson")
5024 (synopsis "Fast JSON parsing and encoding")
5025 (description "This package provides a JSON parsing and encoding library
5026 for Haskell, optimized for ease of use and high performance. (A note on
5027 naming: in Greek mythology, Aeson was the father of Jason.)")
5028 (license license:bsd-3)))
5030 (define-public ghc-aeson-pretty
5032 (name "ghc-aeson-pretty")
5037 "https://hackage.haskell.org/package/aeson-pretty/aeson-pretty-"
5041 "03ap81853qi8yd9kdgczllrrni23a6glsfxrwj8zab6ipjrbh234"))))
5042 (build-system haskell-build-system)
5044 `(("ghc-aeson" ,ghc-aeson)
5045 ("ghc-vector" ,ghc-vector)
5046 ("ghc-text" ,ghc-text)
5047 ("ghc-unordered-containers"
5048 ,ghc-unordered-containers)
5049 ("ghc-attoparsec" ,ghc-attoparsec)
5050 ("ghc-cmdargs" ,ghc-cmdargs)))
5051 (home-page "https://github.com/informatikr/aeson-pretty")
5052 (synopsis "JSON pretty-printing library and command-line tool")
5054 "This package provides a JSON pretty-printing library compatible with aeson
5055 as well as a command-line tool to improve readabilty of streams of JSON data.
5056 The library provides the function @code{encodePretty}. It is a drop-in
5057 replacement for aeson's @code{encode} function, producing JSON-ByteStrings for
5058 human readers. The command-line tool reads JSON from stdin and writes
5059 prettified JSON to stdout. It also offers a complementary \"compact\"-mode,
5060 essentially the opposite of pretty-printing.")
5061 (license license:bsd-3)))
5063 (define-public ghc-wai
5071 "https://hackage.haskell.org/package/wai/wai-"
5076 "1551n0g0n22vml33v0jz5xgjcy6j79algvsdqg11a1z5ljjrjlqf"))))
5077 (build-system haskell-build-system)
5079 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
5080 ("ghc-unix-compat" ,ghc-unix-compat)
5081 ("ghc-vault" ,ghc-vault)
5082 ("ghc-blaze-builder" ,ghc-blaze-builder)
5083 ("ghc-network" ,ghc-network)
5084 ("ghc-text" ,ghc-text)
5085 ("ghc-http-types" ,ghc-http-types)))
5087 `(("hspec-discover" ,hspec-discover)
5088 ("ghc-quickcheck" ,ghc-quickcheck)
5089 ("ghc-hunit" ,ghc-hunit)
5090 ("ghc-hspec" ,ghc-hspec)))
5091 (home-page "https://hackage.haskell.org/package/wai")
5092 (synopsis "Web application interface for Haskell")
5093 (description "This package provides a Web Application Interface (WAI)
5094 library for the Haskell language. It defines a common protocol for
5095 communication between web applications and web servers.")
5096 (license license:bsd-3)))
5098 (define-public ghc-wai-logger
5100 (name "ghc-wai-logger")
5106 "https://hackage.haskell.org/package/wai-logger/wai-logger-"
5111 "1s6svvy3ci4j1dj1jaw8hg628miwj8f5gpy9n8d8hpsaxav6nzgk"))))
5112 (build-system haskell-build-system)
5113 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find libraries exported
5114 ; by propagated-inputs.
5116 `(("ghc-auto-update" ,ghc-auto-update)
5117 ("ghc-byteorder" ,ghc-byteorder)
5118 ("ghc-easy-file" ,ghc-easy-file)
5119 ("ghc-unix-time" ,ghc-unix-time)
5120 ("ghc-blaze-builder" ,ghc-blaze-builder)
5121 ("ghc-case-insensitive" ,ghc-case-insensitive)
5122 ("ghc-fast-logger" ,ghc-fast-logger)
5123 ("ghc-http-types" ,ghc-http-types)
5124 ("ghc-network" ,ghc-network)
5125 ("ghc-wai" ,ghc-wai)))
5126 (home-page "https://hackage.haskell.org/package/wai-logger")
5127 (synopsis "Logging system for WAI")
5128 (description "This package provides the logging system for WAI.")
5129 (license license:bsd-3)))
5131 (define-public ghc-wai-extra
5133 (name "ghc-wai-extra")
5134 (version "3.0.11.1")
5139 "https://hackage.haskell.org/package/wai-extra/wai-extra-"
5144 "1kr2s5qyx1dvnwr372h7pca4sgxjv0pdx96xkgsfi180h3mb0vq8"))))
5145 (build-system haskell-build-system)
5147 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
5148 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
5149 ("ghc-cookie" ,ghc-cookie)
5150 ("ghc-blaze-builder" ,ghc-blaze-builder)
5151 ("ghc-network" ,ghc-network)
5152 ("ghc-lifted-base" ,ghc-lifted-base)
5153 ("ghc-streaming-commons" ,ghc-streaming-commons)
5154 ("ghc-stringsearch" ,ghc-stringsearch)
5155 ("ghc-resourcet" ,ghc-resourcet)
5156 ("ghc-fast-logger" ,ghc-fast-logger)
5157 ("ghc-wai-logger" ,ghc-wai-logger)
5158 ("ghc-zlib" ,ghc-zlib)
5159 ("ghc-word8" ,ghc-word8)
5160 ("ghc-iproute" ,ghc-iproute)
5161 ("ghc-void" ,ghc-void)
5162 ("ghc-wai" ,ghc-wai)
5163 ("ghc-http-types" ,ghc-http-types)
5164 ("ghc-text" ,ghc-text)
5165 ("ghc-case-insensitive" ,ghc-case-insensitive)
5166 ("ghc-data-default-class" ,ghc-data-default-class)
5167 ("ghc-unix-compat" ,ghc-unix-compat)
5168 ("ghc-vault" ,ghc-vault)
5169 ("ghc-aeson" ,ghc-aeson)))
5171 `(("hspec-discover" ,hspec-discover)
5172 ("ghc-hspec" ,ghc-hspec)
5173 ("ghc-hunit" ,ghc-hunit)))
5174 (home-page "https://github.com/yesodweb/wai")
5175 (synopsis "Some basic WAI handlers and middleware")
5176 (description "This library provides basic WAI handlers and middleware
5178 (license license:expat)))
5180 (define-public ghc-deepseq-generics
5182 (name "ghc-deepseq-generics")
5186 (uri (string-append "https://hackage.haskell.org/package/"
5187 "deepseq-generics/deepseq-generics-"
5191 "01pvigx8n9p8hwbzp2qiq6kzf7cxiam843jz2sjgliacmmp1v7l3"))))
5192 (build-system haskell-build-system)
5195 (modify-phases %standard-phases
5196 (add-after 'unpack 'relax-ghc-prim-dependency
5198 (substitute* "deepseq-generics.cabal"
5199 (("< 0.4") "< 0.5"))
5202 `(("ghc-hunit" ,ghc-hunit)
5203 ("ghc-test-framework" ,ghc-test-framework)
5204 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5205 (home-page "https://github.com/hvr/deepseq-generics")
5206 (synopsis "Generic RNF implementation")
5208 "This package provides a @code{GHC.Generics}-based
5209 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
5210 providing an 'rnf' implementation.")
5211 (license license:bsd-3)))
5213 (define-public ghc-pandoc-types
5215 (name "ghc-pandoc-types")
5216 (version "1.16.1.1")
5219 (uri (string-append "https://hackage.haskell.org/package/"
5220 "pandoc-types/pandoc-types-"
5224 "094mzgdxva84kcpjf9m8b5n3chm1wm44bzflh5x6xhddz6pb7zpq"))))
5225 (build-system haskell-build-system)
5227 `(("ghc-syb" ,ghc-syb)
5228 ("ghc-aeson" ,ghc-aeson)
5229 ("ghc-deepseq-generics" ,ghc-deepseq-generics)))
5230 (home-page "http://johnmacfarlane.net/pandoc")
5231 (synopsis "Types for representing a structured document")
5233 "This module defines the @code{Pandoc} data structure, which is used by
5234 pandoc to represent structured documents. It also provides functions for
5235 building up, manipulating and serialising @code{Pandoc} structures.")
5236 (license license:bsd-3)))
5238 (define-public ghc-texmath
5240 (name "ghc-texmath")
5244 (uri (string-append "https://hackage.haskell.org/package/"
5245 "texmath/texmath-" version ".tar.gz"))
5248 "143c8k7dyhwa9blpa8svy23ybx7i4xzb9jnfcimj8iigizbw7y1k"))))
5249 (build-system haskell-build-system)
5251 `(("ghc-syb" ,ghc-syb)
5252 ("ghc-network-uri" ,ghc-network-uri)
5253 ("ghc-split" ,ghc-split)
5254 ("ghc-temporary" ,ghc-temporary)
5255 ("ghc-utf8-string" ,ghc-utf8-string)
5256 ("ghc-xml" ,ghc-xml)
5257 ("ghc-parsec" ,ghc-parsec)
5258 ("ghc-mtl" ,ghc-mtl)
5259 ("ghc-pandoc-types" ,ghc-pandoc-types)))
5260 (home-page "https://github.com/jgm/texmath")
5261 (synopsis "Conversion between formats used to represent mathematics")
5263 "The texmath library provides functions to read and write TeX math,
5264 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
5265 Office). Support is also included for converting math formats to pandoc's
5266 native format (allowing conversion, via pandoc, to a variety of different
5267 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
5268 it can parse and apply LaTeX macros.")
5269 (license license:gpl2+)))
5271 (define-public ghc-regex-pcre-builtin
5273 (name "ghc-regex-pcre-builtin")
5274 (version "0.94.4.8.8.35")
5277 (uri (string-append "https://hackage.haskell.org/package/"
5278 "regex-pcre-builtin/regex-pcre-builtin-"
5282 "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b"))))
5283 (build-system haskell-build-system)
5285 `(("ghc-regex-base" ,ghc-regex-base)))
5286 (home-page "https://hackage.haskell.org/package/regex-pcre")
5287 (synopsis "Enhancement of the builtin Text.Regex library")
5289 "This package is an enhancement of the @code{Text.Regex} library,
5290 providing the PCRE backend to accompany regex-base, with bundled code from
5291 @url{http://www.pcre.org}.")
5292 (license license:bsd-3)))
5294 (define-public ghc-diff
5300 (uri (string-append "https://hackage.haskell.org/package/"
5301 "Diff/Diff-" version ".tar.gz"))
5304 "13iqqmpadcm7fvqwbfrz94w030rvjh66w2bdls1253128ac2n0vz"))))
5305 (build-system haskell-build-system)
5306 (home-page "http://hub.darcs.net/sterlingclover/Diff")
5307 (synopsis "O(ND) diff algorithm in Haskell")
5309 "This package provides an implementation of the standard diff algorithm,
5310 and utilities for pretty printing.")
5311 (license license:bsd-3)))
5313 (define-public ghc-highlighting-kate
5315 (name "ghc-highlighting-kate")
5319 (uri (string-append "https://hackage.haskell.org/package/"
5320 "highlighting-kate/highlighting-kate-"
5324 "03c4flh4h1jd48bx0qmplax3q8w6wj1dhbh6j0xhaf5h95fbinki"))))
5325 (build-system haskell-build-system)
5327 `(("ghc-diff" ,ghc-diff)
5328 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5330 `(("ghc-parsec" ,ghc-parsec)
5331 ("ghc-blaze-html" ,ghc-blaze-html)
5332 ("ghc-utf8-string" ,ghc-utf8-string)
5333 ("ghc-mtl" ,ghc-mtl)))
5334 (home-page "https://github.com/jgm/highlighting-kate")
5335 (synopsis "Syntax highlighting library")
5337 "Highlighting-kate is a syntax highlighting library with support for
5338 nearly one hundred languages. The syntax parsers are automatically generated
5339 from @uref{http://kate-editor.org/, Kate syntax descriptions}, so any syntax
5340 supported by Kate can be added. An (optional) command-line program is
5341 provided, along with a utility for generating new parsers from Kate XML syntax
5343 (license license:gpl2+)))
5345 (define-public ghc-cmark
5351 (uri (string-append "https://hackage.haskell.org/package/"
5352 "cmark/cmark-" version ".tar.gz"))
5355 "09515h9b26az9c2mbl6l7azimaixa6yff8w359k0ml8jwykjvqaa"))))
5356 (build-system haskell-build-system)
5358 `(("ghc-text" ,ghc-text)))
5360 `(("ghc-hunit" ,ghc-hunit)))
5361 (home-page "https://github.com/jgm/commonmark-hs")
5362 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
5364 "This package provides Haskell bindings for
5365 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
5366 CommonMark, a fully specified variant of Markdown. It includes sources for
5367 libcmark (0.21.0) and does not require prior installation of the C library.")
5368 (license license:bsd-3)))
5370 (define-public ghc-executable-path
5372 (name "ghc-executable-path")
5376 (uri (string-append "https://hackage.haskell.org/package/"
5377 "executable-path/executable-path-"
5381 "1jg58qf19qz93c60ryglcavwdcysz4fd4qn8kpw5im9w9kniawlc"))))
5382 (build-system haskell-build-system)
5383 (home-page "https://hackage.haskell.org/package/executable-path")
5384 (synopsis "Find out the full path of the executable")
5386 "The documentation of @code{System.Environment.getProgName} says that
5387 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
5388 instead, for maximum portability, we just return the leafname of the program
5389 as invoked.\" This library tries to provide the missing path.")
5390 (license license:public-domain)))
5392 (define-public ghc-enclosed-exceptions
5394 (name "ghc-enclosed-exceptions")
5398 (uri (string-append "https://hackage.haskell.org/package/"
5399 "enclosed-exceptions/enclosed-exceptions-"
5403 "16ax1kqdsk4apg642qxkm2hf9vb5hzmkd14zmkxra8ssp8rn28z5"))))
5404 (build-system haskell-build-system)
5406 `(("ghc-lifted-base" ,ghc-lifted-base)
5407 ("ghc-monad-control" ,ghc-monad-control)
5408 ("ghc-async" ,ghc-async)
5409 ("ghc-transformers-base" ,ghc-transformers-base)))
5411 `(("ghc-hspec" ,ghc-hspec)
5412 ("ghc-quickcheck" ,ghc-quickcheck)))
5413 (home-page "https://github.com/jcristovao/enclosed-exceptions")
5414 (synopsis "Catch all exceptions from within an enclosed computation")
5416 "This library implements a technique to catch all exceptions raised
5417 within an enclosed computation, while remaining responsive to (external)
5418 asynchronous exceptions.")
5419 (license license:expat)))
5421 (define-public ghc-packedstring
5423 (name "ghc-packedstring")
5427 (uri (string-append "https://hackage.haskell.org/package/"
5428 "packedstring/packedstring-"
5432 "1x78pzzdlnpcmh9p37rlf8m5cxf3yqm2alf3whl4zpr9w25r0qj8"))))
5433 (build-system haskell-build-system)
5436 (modify-phases %standard-phases
5437 (add-after 'unpack 'enable-extension
5439 ;; This package won't compile without the StandaloneDeriving
5441 (substitute* "packedstring.cabal"
5442 (("CPP") "CPP, StandaloneDeriving"))
5444 (home-page "https://hackage.haskell.org/package/packedstring")
5445 (synopsis "Library for packed strings")
5447 "This deprecated library provides an implementation of packed strings.")
5448 (license license:bsd-3)))
5450 (define-public ghc-th-lift
5452 (name "ghc-th-lift")
5456 (uri (string-append "https://hackage.haskell.org/package/"
5457 "th-lift/th-lift-" version ".tar.gz"))
5460 "13xdkk1chdghf059sfx8d3d8r0mj1dbzdi5kf2zf0mjmz3qq7m7k"))))
5461 (build-system haskell-build-system)
5463 `(("ghc-packedstring" ,ghc-packedstring)))
5464 (home-page "https://github.com/mboes/th-lift")
5465 (synopsis "Derive Template Haskell's Lift class for datatypes")
5467 "This is a Haskell library to derive Template Haskell's Lift class for
5469 (license license:bsd-3)))
5471 (define-public ghc-th-expand-syns
5473 (name "ghc-th-expand-syns")
5477 (uri (string-append "https://hackage.haskell.org/package/"
5478 "th-expand-syns/th-expand-syns-"
5482 "03qv93pyqk8all39knsf0mzmbfdck5x61kqnyn8rbisw5c1ymx6j"))))
5483 (build-system haskell-build-system)
5485 `(("ghc-syb" ,ghc-syb)))
5486 (home-page "https://hackage.haskell.org/package/th-expand-syns")
5487 (synopsis "Expands type synonyms in Template Haskell ASTs")
5489 "This package enables users to expand type synonyms in Template Haskell
5490 @dfn{abstract syntax trees} (ASTs).")
5491 (license license:bsd-3)))
5493 (define-public ghc-th-reify-many
5495 (name "ghc-th-reify-many")
5499 (uri (string-append "https://hackage.haskell.org/package/"
5500 "th-reify-many/th-reify-many-"
5504 "00hryljcs434wcv1vaamfdbjk857f46djxv7mlwplkl3zsmfhlfx"))))
5505 (build-system haskell-build-system)
5507 `(("ghc-mtl" ,ghc-mtl)
5508 ("ghc-safe" ,ghc-safe)
5509 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
5510 (home-page "https://github.com/mgsloan/th-reify-many")
5511 (synopsis "Recurseively reify template haskell datatype info")
5513 "th-reify-many provides functions for recursively reifying top level
5514 declarations. The main intended use case is for enumerating the names of
5515 datatypes reachable from an initial datatype, and passing these names to some
5516 function which generates instances.")
5517 (license license:bsd-3)))
5519 (define-public ghc-th-orphans
5521 (name "ghc-th-orphans")
5525 (uri (string-append "https://hackage.haskell.org/package/"
5526 "th-orphans/th-orphans-" version ".tar.gz"))
5529 "105y03bxh0a2r69l603i7md17gg1vxs1jj1n40pn5q486lmfxbmx"))))
5530 (build-system haskell-build-system)
5532 `(("ghc-th-lift" ,ghc-th-lift)
5533 ("ghc-th-reify-many" ,ghc-th-reify-many)
5534 ("ghc-mtl" ,ghc-mtl)
5535 ("ghc-generic-deriving" ,ghc-generic-deriving)))
5537 `(("ghc-hspec" ,ghc-hspec)))
5538 (home-page "https://hackage.haskell.org/package/th-orphans")
5539 (synopsis "Orphan instances for TH datatypes")
5541 "This package provides orphan instances for Template Haskell datatypes. In particular,
5542 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
5543 and @code{Eq} instances. These instances used to live in the haskell-src-meta
5544 package, and that's where the version number started.")
5545 (license license:bsd-3)))
5547 (define-public ghc-haskell-src-meta
5549 (name "ghc-haskell-src-meta")
5550 (version "0.6.0.12")
5553 (uri (string-append "https://hackage.haskell.org/package/"
5554 "haskell-src-meta/haskell-src-meta-"
5558 "1mzbfrfvl6pj8068w3m6alzry1403ir1gmz3czg66n5z198l4dql"))))
5559 (build-system haskell-build-system)
5561 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5562 ("ghc-syb" ,ghc-syb)
5563 ("ghc-th-orphans" ,ghc-th-orphans)))
5564 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5565 (synopsis "Parse source to template-haskell abstract syntax")
5567 "This package provides tools to parse Haskell sources to the
5568 template-haskell abstract syntax.")
5569 (license license:bsd-3)))
5571 (define-public ghc-aeson-qq
5573 (name "ghc-aeson-qq")
5577 (uri (string-append "https://hackage.haskell.org/package/"
5578 "aeson-qq/aeson-qq-" version ".tar.gz"))
5581 "1z8kh3qjc4khadz1ijdqm7fbk7dh17sisqhpwd3c9aibj2927k9d"))))
5582 (build-system haskell-build-system)
5584 `(("ghc-base-compat" ,ghc-base-compat)
5585 ("ghc-text" ,ghc-text)
5586 ("ghc-attoparsec" ,ghc-attoparsec)
5587 ("ghc-scientific" ,ghc-scientific)
5588 ("ghc-vector" ,ghc-vector)
5589 ("ghc-aeson" ,ghc-aeson)
5590 ("ghc-parsec" ,ghc-parsec)
5591 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
5593 `(("ghc-hspec" ,ghc-hspec)
5594 ("hspec-discover" ,hspec-discover)))
5595 (home-page "https://github.com/zalora/aeson-qq")
5596 (synopsis "JSON quasiquoter for Haskell")
5598 "aeson-qq provides a JSON quasiquoter for Haskell. This package exposes
5599 the function @code{aesonQQ} that compile-time converts a string representation
5600 of a JSON value into a @code{Data.Aeson.Value}.")
5601 (license license:expat)))
5603 (define-public ghc-conduit
5605 (name "ghc-conduit")
5609 (uri (string-append "https://hackage.haskell.org/package/"
5610 "conduit/conduit-" version ".tar.gz"))
5613 "0aq6wswd5dkhdmy7sjhd99mldpq33dqpgbdcwpm94ahvckqxs7v5"))))
5614 (build-system haskell-build-system)
5616 `(("ghc-exceptions" ,ghc-exceptions)
5617 ("ghc-lifted-base" ,ghc-lifted-base)
5618 ("ghc-mmorph" ,ghc-mmorph)
5619 ("ghc-mtl" ,ghc-mtl)
5620 ("ghc-resourcet" ,ghc-resourcet)
5621 ("ghc-transformers-base" ,ghc-transformers-base)
5622 ("ghc-void" ,ghc-void)))
5624 `(("ghc-quickcheck" ,ghc-quickcheck)
5625 ("ghc-hspec" ,ghc-hspec)
5626 ("ghc-safe" ,ghc-safe)))
5627 (home-page "https://github.com/snoyberg/conduit")
5628 (synopsis "Streaming data library ")
5630 "conduit is a solution to the streaming data problem, allowing for
5631 production, transformation, and consumption of streams of data in constant
5632 memory. It is an alternative to lazy I/O which guarantees deterministic
5633 resource handling, and fits in the same general solution space as
5634 enumerator/iteratee and pipes." )
5635 (license license:expat)))
5637 (define-public ghc-logging-facade
5639 (name "ghc-logging-facade")
5643 (uri (string-append "https://hackage.haskell.org/package/"
5644 "logging-facade/logging-facade-"
5648 "0zhdbjyj0j9by19rma9alxysrxnnl3s4kks4zk4bx0dg5xa0264y"))))
5649 (build-system haskell-build-system)
5651 `(("ghc-hspec" ,ghc-hspec)
5652 ("hspec-discover" ,hspec-discover)))
5653 (home-page "https://hackage.haskell.org/package/logging-facade")
5654 (synopsis "Simple logging abstraction that allows multiple back-ends")
5656 "This package provides a simple logging abstraction that allows multiple
5658 (license license:expat)))
5660 (define-public ghc-mockery
5662 (name "ghc-mockery")
5666 (uri (string-append "https://hackage.haskell.org/package/"
5667 "mockery/mockery-" version ".tar.gz"))
5670 "0m0lp2z63sgkylz5318j53r5hnrkp705qh7nqbb149ir4gy7g1bg"))))
5671 (build-system haskell-build-system)
5673 `(("ghc-temporary" ,ghc-temporary)
5674 ("ghc-logging-facade" ,ghc-logging-facade)))
5676 `(("ghc-hspec" ,ghc-hspec)
5677 ("hspec-discover" ,hspec-discover)))
5678 (home-page "https://hackage.haskell.org/package/mockery")
5679 (synopsis "Support functions for automated testing")
5681 "The mockery package provides support functions for automated testing.")
5682 (license license:expat)))
5684 (define-public ghc-yaml
5687 (version "0.8.15.1")
5690 (uri (string-append "https://hackage.haskell.org/package/"
5691 "yaml/yaml-" version ".tar.gz"))
5694 "0v6c435xmgm99zxb30pqr7lhkb2a56wxqp70g4hjz8p7rj0vichx"))))
5695 (build-system haskell-build-system)
5697 `(("ghc-conduit" ,ghc-conduit)
5698 ("ghc-resourcet" ,ghc-resourcet)
5699 ("ghc-aeson" ,ghc-aeson)
5700 ("ghc-unordered-containers" ,ghc-unordered-containers)
5701 ("ghc-vector" ,ghc-vector)
5702 ("ghc-text" ,ghc-text)
5703 ("ghc-attoparsec" ,ghc-attoparsec)
5704 ("ghc-scientific" ,ghc-scientific)
5705 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
5706 ("ghc-aeson-qq" ,ghc-aeson-qq)
5707 ("ghc-base-compat" ,ghc-base-compat)))
5709 `(("ghc-hspec" ,ghc-hspec)
5710 ("ghc-hunit" ,ghc-hunit)
5711 ("hspec-discover" ,hspec-discover)
5712 ("ghc-mockery" ,ghc-mockery)))
5713 (home-page "https://github.com/snoyberg/yaml/")
5714 (synopsis "Parsing and rendering YAML documents")
5716 "This package provides a library to parse and render YAML documents.")
5717 (license license:bsd-3)))
5719 (define-public ghc-filemanip
5721 (name "ghc-filemanip")
5725 (uri (string-append "https://hackage.haskell.org/package/"
5726 "filemanip/filemanip-" version ".tar.gz"))
5729 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
5730 (build-system haskell-build-system)
5732 `(("ghc-mtl" ,ghc-mtl)
5733 ("ghc-unix-compat" ,ghc-unix-compat)))
5734 (home-page "https://github.com/bos/filemanip")
5735 (synopsis "File and directory manipulation for Haskell")
5737 "This package provides a Haskell library for working with files and
5738 directories. It includes code for pattern matching, finding files, modifying
5739 file contents, and more.")
5740 (license license:bsd-3)))
5742 (define-public ghc-mmap
5748 (uri (string-append "https://hackage.haskell.org/package/"
5749 "mmap/mmap-" version ".tar.gz"))
5752 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
5753 (build-system haskell-build-system)
5754 (home-page "https://hackage.haskell.org/package/mmap")
5755 (synopsis "Memory mapped files for Haskell")
5757 "This library provides a wrapper to @code{mmap}, allowing files or
5758 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
5759 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
5760 do on-demand loading.")
5761 (license license:bsd-3)))
5763 (define-public ghc-juicypixels
5765 (name "ghc-juicypixels")
5769 (uri (string-append "https://hackage.haskell.org/package/"
5770 "JuicyPixels/JuicyPixels-"
5774 "0hxa57cdknz86zywpjwfbdhac5lmk7j0wd5hy4mcnb8mw6r2m592"))))
5775 (build-system haskell-build-system)
5777 `(("ghc-mtl" ,ghc-mtl)
5778 ("ghc-zlib" ,ghc-zlib)
5779 ("ghc-vector" ,ghc-vector)
5780 ("ghc-primitive" ,ghc-primitive)
5781 ("ghc-mmap" ,ghc-mmap)))
5782 (home-page "https://github.com/Twinside/Juicy.Pixels")
5783 (synopsis "Picture loading and serialization library")
5785 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
5786 TIFF and GIF formats.")
5787 (license license:bsd-3)))
5789 (define-public ghc-sha
5795 (uri (string-append "https://hackage.haskell.org/package/"
5796 "SHA/SHA-" version ".tar.gz"))
5799 "134ajm87fm4lpsw86m9q8apv20dw4bpk46raa389zr6bcdpifw64"))))
5800 (build-system haskell-build-system)
5802 `(("ghc-quickcheck" ,ghc-quickcheck)
5803 ("ghc-test-framework" ,ghc-test-framework)
5804 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5805 (home-page "https://hackage.haskell.org/package/SHA")
5806 (synopsis "SHA suite of message digest functions")
5808 "This library implements the SHA suite of message digest functions,
5809 according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as the
5810 SHA-based HMAC routines. The functions have been tested against most of the
5811 NIST and RFC test vectors for the various functions. While some attention has
5812 been paid to performance, these do not presently reach the speed of well-tuned
5813 libraries, like OpenSSL.")
5814 (license license:bsd-3)))
5816 (define-public ghc-hslua
5822 (uri (string-append "https://hackage.haskell.org/package/"
5823 "hslua/hslua-" version ".tar.gz"))
5826 "0gqp6qhp4v24kzv2j49kgk7bxqzw0w10x0zr0r2j9wkfavqb9wid"))))
5827 (build-system haskell-build-system)
5829 `(#:configure-flags '("-fsystem-lua")))
5832 ("ghc-text" ,ghc-text)))
5834 `(("ghc-hspec" ,ghc-hspec)
5835 ("ghc-hspec-contrib" ,ghc-hspec-contrib)
5836 ("hspec-discover" ,hspec-discover)
5837 ("ghc-hunit" ,ghc-hunit)
5838 ("ghc-quickcheck" ,ghc-quickcheck)
5839 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
5840 (home-page "https://hackage.haskell.org/package/hslua")
5841 (synopsis "Lua language interpreter embedding in Haskell")
5843 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
5844 described in @url{http://www.lua.org/}.")
5845 (license license:expat)))
5847 (define-public ghc-mime-types
5849 (name "ghc-mime-types")
5853 (uri (string-append "https://hackage.haskell.org/package/"
5854 "mime-types/mime-types-"
5858 "090z3dp928243amnc6s8g10rk2h2bprk9y138q6wj3cpflzr72pw"))))
5859 (build-system haskell-build-system)
5861 `(("ghc-text" ,ghc-text)))
5862 (home-page "https://github.com/yesodweb/wai")
5863 (synopsis "Basic MIME type handling types and functions")
5865 "This library provides basic MIME type handling types and functions.")
5866 (license license:expat)))
5868 (define-public ghc-http-client
5870 (name "ghc-http-client")
5874 (uri (string-append "https://hackage.haskell.org/package/"
5875 "http-client/http-client-"
5879 "0xz133kdfiyy2rm6z95bmvjj6y2540xzd86cfmdv9s6kz4p1ir4k"))))
5880 (build-system haskell-build-system)
5881 ;; Tests require access to the web.
5882 (arguments `(#:tests? #f))
5884 `(("ghc-text" ,ghc-text)
5885 ("ghc-http-types" ,ghc-http-types)
5886 ("ghc-blaze-builder" ,ghc-blaze-builder)
5887 ("ghc-data-default-class" ,ghc-data-default-class)
5888 ("ghc-network" ,ghc-network)
5889 ("ghc-streaming-commons" ,ghc-streaming-commons)
5890 ("ghc-case-insensitive" ,ghc-case-insensitive)
5891 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
5892 ("ghc-cookie" ,ghc-cookie)
5893 ("ghc-exceptions" ,ghc-exceptions)
5894 ("ghc-random" ,ghc-random)
5895 ("ghc-mime-types" ,ghc-mime-types)
5896 ("ghc-network-uri" ,ghc-network-uri)
5897 ("ghc-monad-control" ,ghc-monad-control)
5898 ("ghc-zlib" ,ghc-zlib)
5899 ("ghc-async" ,ghc-async)))
5901 `(("ghc-hspec" ,ghc-hspec)))
5902 (home-page "https://github.com/snoyberg/http-client")
5903 (synopsis "HTTP client engine")
5905 "This package provides an HTTP client engine, intended as a base layer
5906 for more user-friendly packages.")
5907 (license license:expat)))
5909 (define-public ghc-byteable
5911 (name "ghc-byteable")
5915 (uri (string-append "https://hackage.haskell.org/package/"
5916 "byteable/byteable-" version ".tar.gz"))
5919 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
5920 (build-system haskell-build-system)
5921 (home-page "https://github.com/vincenthz/hs-byteable")
5922 (synopsis "Type class for sequence of bytes")
5924 "This package provides an abstract class to manipulate sequence of bytes.
5925 The use case of this class is abstracting manipulation of types that are just
5926 wrapping a bytestring with stronger and more meaniful name.")
5927 (license license:bsd-3)))
5929 (define-public ghc-hourglass
5931 (name "ghc-hourglass")
5935 (uri (string-append "https://hackage.haskell.org/package/"
5936 "hourglass/hourglass-" version ".tar.gz"))
5939 "1xha17nwzxdjizbcp63d2142c6q051y77facs7xribgcl5iz2m4v"))))
5940 (build-system haskell-build-system)
5942 `(("ghc-mtl" ,ghc-mtl)
5943 ("ghc-old-locale" ,ghc-old-locale)))
5945 `(("ghc-tasty" ,ghc-tasty)
5946 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5947 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5948 (home-page "https://github.com/vincenthz/hs-hourglass")
5949 (synopsis "Simple time-related library for Haskell")
5951 "This is a simple time library providing a simple but powerful and
5952 performant API. The backbone of the library are the @code{Timeable} and
5953 @code{Time} type classes. Each @code{Timeable} instances can be converted to
5954 a type that has a @code{Time} instances, and thus are different
5955 representations of current time.")
5956 (license license:bsd-3)))
5958 (define-public ghc-pem
5964 (uri (string-append "https://hackage.haskell.org/package/"
5965 "pem/pem-" version ".tar.gz"))
5968 "162sk5sg22w21wqz5qv8kx6ibxp99v5p20g3nknhm1kddk3hha1p"))))
5969 (build-system haskell-build-system)
5971 `(("ghc-mtl" ,ghc-mtl)
5972 ("ghc-base64-bytestring" ,ghc-base64-bytestring)))
5974 `(("ghc-test-framework" ,ghc-test-framework)
5975 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5976 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5977 ("ghc-hunit" ,ghc-hunit)
5978 ("ghc-quickcheck" ,ghc-quickcheck)))
5979 (home-page "https://github.com/vincenthz/hs-pem")
5980 (synopsis "Privacy Enhanced Mail (PEM) format reader and writer")
5982 "This library provides readers and writers for the @dfn{Privacy Enhanced
5983 Mail} (PEM) format.")
5984 (license license:bsd-3)))
5986 (define-public ghc-asn1-types
5988 (name "ghc-asn1-types")
5992 (uri (string-append "https://hackage.haskell.org/package/"
5993 "asn1-types/asn1-types-"
5997 "1iif9yrh4mmj249gyvam0zb2vb3jnlz777gahh2z9sx00dsx9rja"))))
5998 (build-system haskell-build-system)
6000 `(("ghc-memory" ,ghc-memory)
6001 ("ghc-hourglass" ,ghc-hourglass)))
6002 (home-page "https://github.com/vincenthz/hs-asn1-types")
6003 (synopsis "ASN.1 types for Haskell")
6005 "The package provides the standard types for dealing with the ASN.1
6007 (license license:bsd-3)))
6009 (define-public ghc-asn1-encoding
6011 (name "ghc-asn1-encoding")
6015 (uri (string-append "https://hackage.haskell.org/package/"
6016 "asn1-encoding/asn1-encoding-"
6020 "01ki5msrpccgdbdiaaa5a9zw0icp1hki4hca8qx6hzlp0rcf1mwh"))))
6021 (build-system haskell-build-system)
6023 `(("ghc-hourglass" ,ghc-hourglass)
6024 ("ghc-asn1-types" ,ghc-asn1-types)
6025 ("ghc-text" ,ghc-text)
6026 ("ghc-mtl" ,ghc-mtl)))
6028 `(("ghc-tasty" ,ghc-tasty)
6029 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6030 (home-page "https://github.com/vincenthz/hs-asn1")
6031 (synopsis "ASN1 data reader and writer in RAW, BER and DER forms")
6033 "This package provides a reader and writer for ASN1 data in raw form with
6034 supports for high level forms of ASN1 (BER, and DER).")
6035 (license license:bsd-3)))
6037 (define-public ghc-asn1-parse
6039 (name "ghc-asn1-parse")
6043 (uri (string-append "https://hackage.haskell.org/package/"
6044 "asn1-parse/asn1-parse-"
6048 "025prsihk5g6rdv9xlfmj0zpa0wa3qjzj5i4ilzvg7f6f3sji8y6"))))
6049 (build-system haskell-build-system)
6051 `(("ghc-asn1-types" ,ghc-asn1-types)
6052 ("ghc-asn1-encoding" ,ghc-asn1-encoding)))
6053 (home-page "https://github.com/vincenthz/hs-asn1")
6054 (synopsis "Simple monadic parser for ASN1 stream types")
6056 "This package provides a simple monadic parser for ASN1 stream types,
6057 when ASN1 pattern matching is not convenient.")
6058 (license license:bsd-3)))
6060 (define-public ghc-tasty-kat
6062 (name "ghc-tasty-kat")
6066 (uri (string-append "https://hackage.haskell.org/package/"
6067 "tasty-kat/tasty-kat-" version ".tar.gz"))
6070 "14yvlpli6cv6bn3kh8mlfp4x1l6ns4fvmfv6hmj75cvxyzq029d7"))))
6071 (build-system haskell-build-system)
6073 `(("ghc-tasty" ,ghc-tasty)
6074 ("ghc-mtl" ,ghc-mtl)
6075 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6076 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6077 (home-page "https://github.com/vincenthz/tasty-kat")
6078 (synopsis "Known Answer Tests (KAT) framework for tasty")
6080 "This package provides a @dfn{Known Answer Tests} (KAT) framework for
6082 (license license:expat)))
6084 (define-public ghc-cryptonite
6086 (name "ghc-cryptonite")
6090 (uri (string-append "https://hackage.haskell.org/package/"
6091 "cryptonite/cryptonite-"
6095 "1rw5k34vpn4134yrzdhf0rsshsrkixfbv9ap18di2n00z2cw1shw"))))
6096 (build-system haskell-build-system)
6098 `(("ghc-memory" ,ghc-memory)
6099 ("ghc-byteable" ,ghc-byteable)))
6101 `(("ghc-tasty" ,ghc-tasty)
6102 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6103 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6104 ("ghc-tasty-kat" ,ghc-tasty-kat)))
6105 (home-page "https://github.com/haskell-crypto/cryptonite")
6106 (synopsis "Cryptography primitives")
6108 "This package is a repository of cryptographic primitives for Haskell.
6109 It supports a wide range of symmetric ciphers, cryptographic hash functions,
6110 public key algorithms, key derivation numbers, cryptographic random number
6111 generators, and more.")
6112 (license license:bsd-3)))
6114 (define-public ghc-memory
6120 (uri (string-append "https://hackage.haskell.org/package/"
6121 "memory/memory-" version ".tar.gz"))
6124 "02l742qxjqy3jw1a347gb7sn7pn7a5qha1vzi2qqbvgafcjn0wyw"))))
6125 (build-system haskell-build-system)
6127 `(("ghc-tasty" ,ghc-tasty)
6128 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6129 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6130 (home-page "https://github.com/vincenthz/hs-memory")
6131 (synopsis "Memory abstractions for Haskell")
6133 "This package provides memory abstractions, such as chunk of memory,
6134 polymorphic byte array management and manipulation functions. It contains a
6135 polymorphic byte array abstraction and functions similar to strict ByteString,
6136 different type of byte array abstraction, raw memory IO operations (memory
6137 set, memory copy, ..) and more")
6138 (license license:bsd-3)))
6140 (define-public ghc-x509
6146 (uri (string-append "https://hackage.haskell.org/package/"
6147 "x509/x509-" version ".tar.gz"))
6150 "1pmsby29abn485fvnymsgipvb3p1ch9c591xj5ncszkf0ivjiiin"))))
6151 (build-system haskell-build-system)
6153 `(("ghc-memory" ,ghc-memory)
6154 ("ghc-mtl" ,ghc-mtl)
6155 ("ghc-hourglass" ,ghc-hourglass)
6156 ("ghc-pem" ,ghc-pem)
6157 ("ghc-asn1-types" ,ghc-asn1-types)
6158 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6159 ("ghc-asn1-parse" ,ghc-asn1-parse)
6160 ("ghc-cryptonite" ,ghc-cryptonite)))
6162 `(("ghc-tasty" ,ghc-tasty)
6163 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6164 (home-page "https://github.com/vincenthz/hs-certificate")
6165 (synopsis "X509 reader and writer")
6167 "This library provides functions to read and write X509 certificates.")
6168 (license license:bsd-3)))
6170 (define-public ghc-x509-store
6172 (name "ghc-x509-store")
6176 (uri (string-append "https://hackage.haskell.org/package/"
6177 "x509-store/x509-store-"
6181 "01abx528i9f7djq2772xyna8x2mykrnwqkcfrapcx7z3bhprvml3"))))
6182 (build-system haskell-build-system)
6184 `(("ghc-mtl" ,ghc-mtl)
6185 ("ghc-pem" ,ghc-pem)
6186 ("ghc-asn1-types" ,ghc-asn1-types)
6187 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6188 ("ghc-cryptonite" ,ghc-cryptonite)
6189 ("ghc-x509" ,ghc-x509)))
6190 (home-page "https://github.com/vincenthz/hs-certificate")
6191 (synopsis "X.509 collection accessing and storing methods")
6193 "This package provides functions for accessing and storing X.509
6194 collections, certificates, revocation lists, and exception lists.")
6195 (license license:bsd-3)))
6197 (define-public ghc-x509-validation
6199 (name "ghc-x509-validation")
6203 (uri (string-append "https://hackage.haskell.org/package/"
6204 "x509-validation/x509-validation-"
6208 "1qr1v561hdlhjgqjv9pj9mbk0q1xf2mr1j67ghy93nlxxyzd7dw0"))))
6209 (build-system haskell-build-system)
6211 `(("ghc-memory" ,ghc-memory)
6212 ("ghc-byteable" ,ghc-byteable)
6213 ("ghc-mtl" ,ghc-mtl)
6214 ("ghc-hourglass" ,ghc-hourglass)
6215 ("ghc-data-default-class" ,ghc-data-default-class)
6216 ("ghc-pem" ,ghc-pem)
6217 ("ghc-asn1-types" ,ghc-asn1-types)
6218 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6219 ("ghc-x509" ,ghc-x509)
6220 ("ghc-x509-store" ,ghc-x509-store)
6221 ("ghc-cryptonite" ,ghc-cryptonite)))
6222 (home-page "https://github.com/vincenthz/hs-certificate")
6223 (synopsis "X.509 certificate and revocation list validation")
6225 "This package provides functions for X.509 certificate and revocation
6227 (license license:bsd-3)))
6229 (define-public ghc-x509-system
6231 (name "ghc-x509-system")
6235 (uri (string-append "https://hackage.haskell.org/package/"
6236 "x509-system/x509-system-"
6240 "10qf60d2f9jqwnbrhsb2cwpi86xg66m6dxndlxw967v1cdb3h6gf"))))
6241 (build-system haskell-build-system)
6243 `(("ghc-mtl" ,ghc-mtl)
6244 ("ghc-pem" ,ghc-pem)
6245 ("ghc-x509" ,ghc-x509)
6246 ("ghc-x509-store" ,ghc-x509-store)))
6247 (home-page "https://github.com/vincenthz/hs-certificate")
6248 (synopsis "Handle system X.509 accessors and storage")
6250 "This package provides a library to handle system accessors and storage
6251 for X.509 certificates.")
6252 (license license:bsd-3)))
6254 (define-public ghc-tls
6260 (uri (string-append "https://hackage.haskell.org/package/"
6261 "tls/tls-" version ".tar.gz"))
6264 "1rdidf18i781c0vdvy9yn79yh08hmcacf6fp3sgghyiy3h0wyh5l"))))
6265 (build-system haskell-build-system)
6267 `(("ghc-mtl" ,ghc-mtl)
6268 ("ghc-cereal" ,ghc-cereal)
6269 ("ghc-data-default-class" ,ghc-data-default-class)
6270 ("ghc-memory" ,ghc-memory)
6271 ("ghc-cryptonite" ,ghc-cryptonite)
6272 ("ghc-asn1-types" ,ghc-asn1-types)
6273 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6274 ("ghc-x509" ,ghc-x509)
6275 ("ghc-x509-store" ,ghc-x509-store)
6276 ("ghc-x509-validation" ,ghc-x509-validation)
6277 ("ghc-async" ,ghc-async)
6278 ("ghc-network" ,ghc-network)
6279 ("ghc-hourglass" ,ghc-hourglass)))
6281 `(("ghc-tasty" ,ghc-tasty)
6282 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6283 ("ghc-quickcheck" ,ghc-quickcheck)))
6284 (home-page "https://github.com/vincenthz/hs-tls")
6286 "TLS/SSL protocol native implementation (Server and Client)")
6288 "Native Haskell TLS and SSL protocol implementation for server and client.
6289 This provides a high-level implementation of a sensitive security protocol,
6290 eliminating a common set of security issues through the use of the advanced
6291 type system, high level constructions and common Haskell features. Currently
6292 implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, and support RSA and
6293 Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges, and many
6295 (license license:bsd-3)))
6297 (define-public ghc-socks
6303 (uri (string-append "https://hackage.haskell.org/package/"
6304 "socks/socks-" version ".tar.gz"))
6307 "1nmldlwxqasmg359i2aa3a903gi3lmnlspvf12xk49jrg3mf3dg9"))))
6308 (build-system haskell-build-system)
6310 `(("ghc-cereal" ,ghc-cereal)
6311 ("ghc-network" ,ghc-network)))
6312 (home-page "https://github.com/vincenthz/hs-socks")
6313 (synopsis "SOCKS proxy (version 5) implementation")
6315 "This library provides a SOCKS proxy (version 5) implementation.")
6316 (license license:bsd-3)))
6318 (define-public ghc-connection
6320 (name "ghc-connection")
6324 (uri (string-append "https://hackage.haskell.org/package/"
6325 "connection/connection-"
6329 "090il95jnm7ihwvcx3s9v6iwnp37nnsdx15q7722l845g51d95c8"))))
6330 (build-system haskell-build-system)
6332 `(("ghc-byteable" ,ghc-byteable)
6333 ("ghc-data-default-class" ,ghc-data-default-class)
6334 ("ghc-network" ,ghc-network)
6335 ("ghc-tls" ,ghc-tls)
6336 ("ghc-socks" ,ghc-socks)
6337 ("ghc-x509" ,ghc-x509)
6338 ("ghc-x509-store" ,ghc-x509-store)
6339 ("ghc-x509-system" ,ghc-x509-system)
6340 ("ghc-x509-validation" ,ghc-x509-validation)))
6341 (home-page "https://github.com/vincenthz/hs-connection")
6342 (synopsis "Simple and easy network connections API")
6344 "This package provides a simple network library for all your connection
6345 needs. It provides a very simple API to create sockets to a destination with
6346 the choice of SSL/TLS, and SOCKS.")
6347 (license license:bsd-3)))
6349 (define-public ghc-http-client-tls
6351 (name "ghc-http-client-tls")
6355 (uri (string-append "https://hackage.haskell.org/package/"
6356 "http-client-tls/http-client-tls-"
6360 "0a01r05h5fxswyn6k6cgqgak4scqjan72hyy5wbdqzzhl4rmh7j5"))))
6361 (build-system haskell-build-system)
6362 ;; Tests require Internet access
6363 (arguments `(#:tests? #f))
6365 `(("ghc-data-default-class" ,ghc-data-default-class)
6366 ("ghc-http-client" ,ghc-http-client)
6367 ("ghc-connection" ,ghc-connection)
6368 ("ghc-network" ,ghc-network)
6369 ("ghc-tls" ,ghc-tls)
6370 ("ghc-http-types" ,ghc-http-types)))
6372 `(("ghc-hspec" ,ghc-hspec)))
6373 (home-page "https://github.com/snoyberg/http-client")
6374 (synopsis "Backend for http-client using the TLS library")
6376 "This package provides a backend for the http-client package using the
6377 connection and TLS libraries. It is intended for use by higher-level
6378 libraries, such as http-conduit.")
6379 (license license:expat)))
6381 (define-public ghc-pandoc
6388 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6392 "1v78zq12p71gq0pc24h08inxcq5gxd0xb7m5ds0xw9pv9l2pswl1"))))
6393 (build-system haskell-build-system)
6395 `(("ghc-syb" ,ghc-syb)
6396 ("ghc-unordered-containers" ,ghc-unordered-containers)
6397 ("ghc-parsec" ,ghc-parsec)
6398 ("ghc-mtl" ,ghc-mtl)
6399 ("ghc-text" ,ghc-text)
6400 ("ghc-zip-archive" ,ghc-zip-archive)
6401 ("ghc-http" ,ghc-http)
6402 ("ghc-texmath" ,ghc-texmath)
6403 ("ghc-xml" ,ghc-xml)
6404 ("ghc-random" ,ghc-random)
6405 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
6406 ("ghc-pandoc-types" ,ghc-pandoc-types)
6407 ("ghc-aeson" ,ghc-aeson)
6408 ("ghc-tagsoup" ,ghc-tagsoup)
6409 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6410 ("ghc-zlib" ,ghc-zlib)
6411 ("ghc-highlighting-kate" ,ghc-highlighting-kate)
6412 ("ghc-data-default" ,ghc-data-default)
6413 ("ghc-temporary" ,ghc-temporary)
6414 ("ghc-blaze-html" ,ghc-blaze-html)
6415 ("ghc-blaze-markup" ,ghc-blaze-markup)
6416 ("ghc-yaml" ,ghc-yaml)
6417 ("ghc-scientific" ,ghc-scientific)
6418 ("ghc-vector" ,ghc-vector)
6419 ("ghc-hslua" ,ghc-hslua)
6420 ("ghc-sha" ,ghc-sha)
6421 ("ghc-haddock-library" ,ghc-haddock-library)
6422 ("ghc-old-time" ,ghc-old-time)
6423 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6424 ("ghc-juicypixels" ,ghc-juicypixels)
6425 ("ghc-filemanip" ,ghc-filemanip)
6426 ("ghc-cmark" ,ghc-cmark)
6427 ("ghc-network-uri" ,ghc-network-uri)
6428 ("ghc-network" ,ghc-network)
6429 ("ghc-http-client" ,ghc-http-client)
6430 ("ghc-http-client-tls" ,ghc-http-client-tls)
6431 ("ghc-http-types" ,ghc-http-types)
6432 ("ghc-diff" ,ghc-diff)
6433 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6434 ("ghc-executable-path" ,ghc-executable-path)))
6436 `(("ghc-test-framework" ,ghc-test-framework)
6437 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6438 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6439 ("ghc-quickcheck" ,ghc-quickcheck)
6440 ("ghc-hunit" ,ghc-hunit)))
6441 (home-page "http://pandoc.org")
6442 (synopsis "Conversion between markup formats")
6444 "Pandoc is a Haskell library for converting from one markup format to
6445 another, and a command-line tool that uses this library. It can read and
6446 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
6447 LaTeX, DocBook, and many more.
6449 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
6450 definition lists, tables, and other features. A compatibility mode is
6451 provided for those who need a drop-in replacement for Markdown.pl.")
6452 (license license:gpl2+)))
6454 (define-public ghc-hs-bibutils
6456 (name "ghc-hs-bibutils")
6462 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6466 "0pf5lh179rw9jkmw16ss3kiwydlj6zgfk868mjl5s57kx55z7ycm"))))
6467 (build-system haskell-build-system)
6468 (inputs `(("ghc-syb" ,ghc-syb)))
6469 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6470 (synopsis "Haskell bindings to bibutils")
6472 "This package provides Haskell bindings to @code{bibutils}, a library
6473 that interconverts between various bibliography formats using a common
6474 MODS-format XML intermediate.")
6475 (license license:gpl2+)))
6477 (define-public ghc-rfc5051
6479 (name "ghc-rfc5051")
6484 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
6485 "rfc5051-" version ".tar.gz"))
6488 "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3"))))
6489 (build-system haskell-build-system)
6490 (home-page "http://hackage.haskell.org/package/rfc5051")
6491 (synopsis "Simple unicode collation as per RFC5051")
6493 "This library implements @code{unicode-casemap}, the simple, non
6494 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
6495 unicode collation can be done using @code{text-icu}, but that is a big
6496 dependency that depends on a large C library, and @code{rfc5051} might be
6497 better for some purposes.")
6498 (license license:bsd-3)))
6500 (define-public ghc-conduit-extra
6502 (name "ghc-conduit-extra")
6503 (version "1.1.13.2")
6507 (uri (string-append "https://hackage.haskell.org/package/"
6508 "conduit-extra/conduit-extra-"
6512 "108vsn9dpsfwvar7nssw6wkqy26rxlf3p4ran6swa5xh8l6d5k4z"))))
6513 (build-system haskell-build-system)
6515 `(("ghc-conduit" ,ghc-conduit)
6516 ("ghc-exceptions" ,ghc-exceptions)
6517 ("ghc-monad-control" ,ghc-monad-control)
6518 ("ghc-text" ,ghc-text)
6519 ("ghc-transformers-base" ,ghc-transformers-base)
6520 ("ghc-async" ,ghc-async)
6521 ("ghc-attoparsec" ,ghc-attoparsec)
6522 ("ghc-blaze-builder" ,ghc-blaze-builder)
6523 ("ghc-network" ,ghc-network)
6524 ("ghc-primitive" ,ghc-primitive)
6525 ("ghc-resourcet" ,ghc-resourcet)
6526 ("ghc-stm" ,ghc-stm)
6527 ("ghc-streaming-commons" ,ghc-streaming-commons)
6528 ("ghc-hspec" ,ghc-hspec)
6529 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6530 ("ghc-quickcheck" ,ghc-quickcheck)))
6532 `(("hspec-discover" ,hspec-discover)))
6533 (home-page "http://github.com/snoyberg/conduit")
6534 (synopsis "Conduit adapters for common libraries")
6536 "The @code{conduit} package itself maintains relative small dependencies.
6537 The purpose of this package is to collect commonly used utility functions
6538 wrapping other library dependencies, without depending on heavier-weight
6539 dependencies. The basic idea is that this package should only depend on
6540 @code{haskell-platform} packages and @code{conduit}.")
6541 (license license:expat)))
6543 (define-public ghc-xml-types
6545 (name "ghc-xml-types")
6550 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
6551 "xml-types-" version ".tar.gz"))
6554 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
6555 (build-system haskell-build-system)
6556 (inputs `(("ghc-text" ,ghc-text)))
6557 (home-page "https://john-millikin.com/software/haskell-xml/")
6558 (synopsis "Basic types for representing XML")
6559 (description "This package provides basic types for representing XML
6561 (license license:expat)))
6563 (define-public ghc-xml-conduit
6565 (name "ghc-xml-conduit")
6570 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
6571 "xml-conduit-" version ".tar.gz"))
6574 "10yw8jiksw21jgwqjjd1ixflavcblisgkp9qq3ba05vadc35lqr5"))))
6575 (build-system haskell-build-system)
6577 `(("ghc-conduit" ,ghc-conduit)
6578 ("ghc-conduit-extra" ,ghc-conduit-extra)
6579 ("ghc-resourcet" ,ghc-resourcet)
6580 ("ghc-text" ,ghc-text)
6581 ("ghc-xml-types" ,ghc-xml-types)
6582 ("ghc-attoparsec" ,ghc-attoparsec)
6583 ("ghc-blaze-builder" ,ghc-blaze-builder)
6584 ("ghc-blaze-markup" ,ghc-blaze-markup)
6585 ("ghc-blaze-html" ,ghc-blaze-html)
6586 ("ghc-data-default" ,ghc-data-default)
6587 ("ghc-monad-control" ,ghc-monad-control)
6588 ("ghc-hspec" ,ghc-hspec)
6589 ("ghc-hunit" ,ghc-hunit)))
6590 (home-page "http://github.com/snoyberg/xml")
6591 (synopsis "Utilities for dealing with XML with the conduit package")
6593 "This package provides pure-Haskell utilities for dealing with XML with
6594 the @code{conduit} package.")
6595 (license license:expat)))
6597 (define-public ghc-pandoc-citeproc
6599 (name "ghc-pandoc-citeproc")
6604 (uri (string-append "https://hackage.haskell.org/package/"
6605 "pandoc-citeproc/pandoc-citeproc-"
6609 "00mprphppk51ylsrkg817mbk23f9fsfvkwzbys9qqbcjbrxi2r94"))))
6610 (build-system haskell-build-system)
6613 (modify-phases %standard-phases
6614 ;; Tests need to be run after installation.
6616 (add-after 'install 'post-install-check
6617 (assoc-ref %standard-phases 'check)))))
6619 `(("ghc-mtl" ,ghc-mtl)
6620 ("ghc-pandoc-types" ,ghc-pandoc-types)
6621 ("ghc-pandoc" ,ghc-pandoc)
6622 ("ghc-tagsoup" ,ghc-tagsoup)
6623 ("ghc-aeson" ,ghc-aeson)
6624 ("ghc-text" ,ghc-text)
6625 ("ghc-vector" ,ghc-vector)
6626 ("ghc-xml-conduit" ,ghc-xml-conduit)
6627 ("ghc-unordered-containers" ,ghc-unordered-containers)
6628 ("ghc-data-default" ,ghc-data-default)
6629 ("ghc-setenv" ,ghc-setenv)
6630 ("ghc-split" ,ghc-split)
6631 ("ghc-yaml" ,ghc-yaml)
6632 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
6633 ("ghc-rfc5051" ,ghc-rfc5051)
6634 ("ghc-syb" ,ghc-syb)
6635 ("ghc-parsec" ,ghc-parsec)
6636 ("ghc-old-locale" ,ghc-old-locale)
6637 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6638 ("ghc-attoparsec" ,ghc-attoparsec)
6639 ("ghc-temporary" ,ghc-temporary)))
6640 (home-page "https://github.com/jgm/pandoc-citeproc")
6641 (synopsis "Library for using pandoc with citeproc")
6643 "The @code{pandoc-citeproc} library exports functions for using the
6644 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
6645 rendering bibliographic reference citations into a variety of styles using a
6646 macro language called @dfn{Citation Style Language} (CSL). This package also
6647 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
6648 and also has a mode for converting bibliographic databases a YAML format
6649 suitable for inclusion in pandoc YAML metadata.")
6650 (license license:bsd-3)))
6652 (define-public ghc-union-find
6654 (name "ghc-union-find")
6659 "https://hackage.haskell.org/package/union-find/union-find-"
6663 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
6664 (build-system haskell-build-system)
6665 (home-page "https://github.com/nominolo/union-find")
6666 (synopsis "Efficient union and equivalence testing of sets")
6668 "The Union/Find algorithm implements these operations in (effectively)
6671 @item Check whether two elements are in the same equivalence class.
6672 @item Create a union of two equivalence classes.
6673 @item Look up the descriptor of the equivalence class.
6675 (license license:bsd-3)))
6677 (define-public ghc-base16-bytestring
6679 (name "ghc-base16-bytestring")
6685 "https://hackage.haskell.org/package/base16-bytestring/"
6686 "base16-bytestring-" version ".tar.gz"))
6689 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
6690 (build-system haskell-build-system)
6691 (home-page "http://github.com/bos/base16-bytestring")
6692 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
6694 "This package provides a Haskell library for working with base16-encoded
6695 data quickly and efficiently, using the ByteString type.")
6696 (license license:bsd-3)))
6698 (define-public ghc-binary
6706 "https://hackage.haskell.org/package/binary/binary-"
6710 "1fp7wxnf57cjzhbb7rgqs6fgws4690zh0dxgl924dj4nzq0cf4wd"))))
6711 (build-system haskell-build-system)
6713 `(("ghc-random" ,ghc-random)
6714 ("ghc-test-framework" ,ghc-test-framework)
6715 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6716 ("ghc-quickcheck" ,ghc-quickcheck)
6717 ("ghc-hunit" ,ghc-hunit)))
6718 (home-page "https://github.com/kolmodin/binary")
6720 "Binary serialisation for Haskell values using lazy ByteStrings")
6722 "Efficient, pure binary serialisation using lazy ByteStrings. Haskell values
6723 may be encoded to and from binary formats, written to disk as binary, or sent over
6724 the network. The format used can be automatically generated, or you can choose to
6725 implement a custom format if needed. Serialisation speeds of over 1 G\\/sec have
6726 been observed, so this library should be suitable for high performance scenarios.")
6727 (license license:bsd-3)))
6729 (define-public ghc-cryptohash
6731 (name "ghc-cryptohash")
6737 "https://hackage.haskell.org/package/cryptohash/cryptohash-"
6741 "1yr2iyb779znj79j3fq4ky8l1y8a600a2x1fx9p5pmpwq5zq93y2"))))
6742 (build-system haskell-build-system)
6744 `(("ghc-byteable" ,ghc-byteable)
6745 ("ghc-cryptonite" ,ghc-cryptonite)
6746 ("ghc-memory" ,ghc-memory)
6747 ("ghc-hunit" ,ghc-hunit)
6748 ("ghc-quickcheck" ,ghc-quickcheck)
6749 ("ghc-tasty" ,ghc-tasty)
6750 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6751 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6752 (home-page "http://github.com/vincenthz/hs-cryptohash")
6753 (synopsis "Collection of cryptographic hashes in Haskell")
6755 "A collection of crypto hashes, with a practical incremental and one-pass,
6756 pure APIs, with performance close to the fastest implementations available in
6757 other languages. The implementations are made in C with a haskell FFI wrapper
6758 that hides the C implementation.")
6759 (license license:bsd-3)))
6761 (define-public ghc-data-ordlist
6763 (name "ghc-data-ordlist")
6769 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
6773 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
6774 (build-system haskell-build-system)
6775 (home-page "http://hackage.haskell.org/package/data-ordlist")
6776 (synopsis "Set and bag operations on ordered lists")
6778 "This module provides set and multiset operations on ordered lists.")
6779 (license license:bsd-3)))
6781 (define-public ghc-haskeline
6783 (name "ghc-haskeline")
6789 "https://hackage.haskell.org/package/haskeline/haskeline-"
6793 "09wd6sxgn65xxpk7dhy1cg3ywlbk0ccqq7xylycwk4zazy3gjgkd"))))
6794 (build-system haskell-build-system)
6796 `(("ncurses" ,ncurses)))
6798 `(#:configure-flags (list "-fterminfo")))
6799 (home-page "https://github.com/judah/haskeline")
6800 (synopsis "Command-line interface for user input")
6802 "Haskeline provides a user interface for line input in command-line
6803 programs. This library is similar in purpose to readline, but since it
6804 is written in Haskell it is (hopefully) more easily used in other Haskell
6806 (license license:bsd-3)))
6808 (define-public ghc-regex-applicative
6810 (name "ghc-regex-applicative")
6816 "https://hackage.haskell.org/package/regex-applicative/"
6817 "regex-applicative-" version ".tar.gz"))
6820 "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
6821 (build-system haskell-build-system)
6823 `(("ghc-smallcheck" ,ghc-smallcheck)
6824 ("ghc-tasty" ,ghc-tasty)
6825 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
6826 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6827 (home-page "https://github.com/feuerbach/regex-applicative")
6828 (synopsis "Regex-based parsing with applicative interface")
6830 "@code{regex-applicative} is a Haskell library for parsing using
6831 regular expressions. Parsers can be built using Applicative interface.")
6832 (license license:expat)))
6834 (define-public ghc-regex-tdfa
6836 (name "ghc-regex-tdfa")
6842 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
6846 "0f8x8wyr6m21g8dnxvnvalz5bsq37l125l6qhs0fscbvprsxc4nb"))))
6847 (build-system haskell-build-system)
6849 `(("ghc-mtl" ,ghc-mtl)
6850 ("ghc-parsec" ,ghc-parsec)
6851 ("ghc-regex-base" ,ghc-regex-base)))
6852 (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
6853 (synopsis "POSIX extended regular expressions in Haskell.")
6855 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
6856 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
6857 inspired by libtre.")
6858 (license license:bsd-3)))
6860 (define-public ghc-regex-compat-tdfa
6862 (name "ghc-regex-compat-tdfa")
6863 (version "0.95.1.4")
6868 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
6872 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
6873 (build-system haskell-build-system)
6875 `(("ghc-regex-base" ,ghc-regex-base)
6876 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
6877 (home-page "http://hub.darcs.net/shelarcy/regex-compat-tdfa")
6878 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
6880 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
6881 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
6882 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
6884 (license license:bsd-3)))
6886 (define-public ghc-tasty-th
6888 (name "ghc-tasty-th")
6894 "https://hackage.haskell.org/package/tasty-th/tasty-th-"
6898 "0dff9si8i1qp0s7p4hlk0l29vq7wxfglw6mvlgmld43h7rllv88q"))))
6899 (build-system haskell-build-system)
6901 `(("ghc-tasty" ,ghc-tasty)))
6902 (home-page "http://github.com/bennofs/tasty-th")
6903 (synopsis "Automatically generate tasty TestTrees")
6905 "Tasty-th automatically generates tasty TestTrees from functions of the
6906 current module, using TemplateHaskell. This is a fork the original
6907 test-framework-th package, modified to work with tasty instead of
6909 (license license:bsd-3)))
6911 (define-public ghc-sandi
6914 (version "0.4.0") ; darcs-2.12.4 needs == 0.4.*
6919 "https://hackage.haskell.org/package/sandi/sandi-"
6923 "1smf3bq44qni4zbgxpw7cy7b9g95fbrr73j8njjf6139naj9bj20"))))
6924 (build-system haskell-build-system)
6926 `(("ghc-stringsearch" ,ghc-stringsearch)
6927 ("ghc-conduit" ,ghc-conduit)
6928 ("ghc-exceptions" ,ghc-exceptions)
6929 ("ghc-hunit" ,ghc-hunit)
6930 ("ghc-tasty" ,ghc-tasty)
6931 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6932 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6933 ("ghc-tasty-th" ,ghc-tasty-th)))
6934 (home-page "http://hackage.haskell.org/package/sandi")
6935 (synopsis "Data encoding library")
6936 (description "Reasonably fast data encoding library.")
6937 (license license:bsd-3)))
6939 (define-public ghc-bytestring-handle
6941 (name "ghc-bytestring-handle")
6947 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
6951 "0q5yzx90ad9w7qvaix05bynxwlsbqjrgfc4hqb355ibf991wd0rh"))))
6952 (build-system haskell-build-system)
6954 `(("ghc-quickcheck" ,ghc-quickcheck)
6955 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6956 ("ghc-hunit" ,ghc-hunit)
6957 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6958 ("ghc-test-framework" ,ghc-test-framework)))
6959 (home-page "http://hub.darcs.net/ganesh/bytestring-handle")
6960 (synopsis "ByteString-backed Handles")
6961 (description "ByteString-backed Handles") ; There is no description
6962 (license license:bsd-3)))
6964 (define-public ghc-tar
6972 "https://hackage.haskell.org/package/tar/tar-"
6976 "18qq94j9bm91iswnxq2dm5dws5c7wm4k01q2rpf8py35cf3svnfq"))))
6977 (build-system haskell-build-system)
6979 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
6980 ("ghc-quickcheck" ,ghc-quickcheck)
6981 ("ghc-tasty" ,ghc-tasty)
6982 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6983 ("ghc-array" ,ghc-array)))
6984 (home-page "http://hackage.haskell.org/package/tar")
6985 (synopsis "Reading, writing and manipulating \".tar\" archive files")
6987 "This library is for working with \\\"@.tar@\\\" archive files.
6988 It can read and write a range of common variations of the tar archive format
6989 including V7, POSIX USTAR and GNU formats. It provides support for packing and
6990 unpacking portable archives. This makes it suitable for distribution but not
6991 backup because details like file ownership and exact permissions are not
6992 preserved. It also provides features for random access to archive content using
6994 (license license:bsd-3)))
6996 (define-public ghc-transformers
6998 (name "ghc-transformers")
7004 "https://hackage.haskell.org/package/transformers/transformers-"
7008 "1qkhi8ssf8c4jnmrw9dzym3igqbzq7h48iisaykdfzdsm09qfh3c"))))
7009 (build-system haskell-build-system)
7010 (home-page "http://hackage.haskell.org/package/transformers")
7011 (synopsis "Concrete functor and monad transformers")
7013 "A portable library of functor and monad transformers, inspired by the paper
7014 'Functional Programming with Overloading and Higher-Order Polymorphism',
7015 by Mark P Jones. This package contains the monad transformer class and IO monad class,
7016 concrete functor and monad transformers, each with associated operations and functions
7017 to lift operations associated with other transformers. The package can be used on
7018 its own in portable Haskell code, in which case operations need to be manually lifted
7019 through transformer stacks. Alternatively, it can be used with the
7020 non-portable monad classes in the @code{mtl} or @code{monads-tf} packages,
7021 which automatically lift operations introduced by monad transformers through
7022 other transformers.")
7023 (license license:bsd-3)))
7025 ;; darcs-2.12.0 requires transformers-0.4.2.0
7026 (define-public ghc-transformers-0.4.2.0
7028 (inherit ghc-transformers)
7032 (uri (string-append "https://hackage.haskell.org/package/transformers/"
7033 "transformers-" version ".tar.gz"))
7036 "0a364zfcm17mhpy0c4ms2j88sys4yvgd6071qsgk93la2wjm8mkr"))))))
7038 (define-public ghc-findbin
7040 (name "ghc-findbin")
7046 "https://hackage.haskell.org/package/FindBin/FindBin-"
7050 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
7051 (build-system haskell-build-system)
7052 (home-page "https://github.com/audreyt/findbin")
7053 (synopsis "Get the absolute path of the running program")
7055 "This module locates the full directory of the running program, to allow
7056 the use of paths relative to it. FindBin supports invocation of Haskell
7057 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
7059 (license license:bsd-3)))
7061 (define-public ghc-patience
7063 (name "ghc-patience")
7069 "https://hackage.haskell.org/package/patience/patience-"
7073 "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
7074 (build-system haskell-build-system)
7075 (home-page "http://hackage.haskell.org/package/patience")
7076 (synopsis "Patience diff and longest increasing subsequence")
7078 "This library implements the 'patience diff' algorithm, as well as the
7079 patience algorithm for the longest increasing subsequence problem.
7080 Patience diff computes the difference between two lists, for example the lines
7081 of two versions of a source file. It provides a good balance between
7082 performance, nice output for humans, and simplicity of implementation.")
7083 (license license:bsd-3)))
7085 (define-public ghc-monads-tf
7087 (name "ghc-monads-tf")
7093 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7097 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7098 (build-system haskell-build-system)
7099 (home-page "http://hackage.haskell.org/package/monads-tf")
7100 (synopsis "Monad classes, using type families")
7102 "Monad classes using type families, with instances for various monad transformers,
7103 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7104 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7105 the @code{mtl-tf} package.")
7106 (license license:bsd-3)))
7108 ;; Do not use this. Bytestring is a standard library and always included.
7109 (define-public ghc-bytestring
7111 (name "ghc-bytestring")
7112 (version "0.10.8.1")
7117 "https://hackage.haskell.org/package/bytestring/bytestring-"
7121 "16zwb1p83z7vc5wlhvknpy80b5a2jxc5awx67rk52qnp9idmyq9d"))))
7122 (build-system haskell-build-system)
7124 `(("ghc-random" ,ghc-random)
7125 ("ghc-test-framework" ,ghc-test-framework)
7126 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7127 ("ghc-quickcheck" ,ghc-quickcheck)
7128 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7129 ("ghc-hunit" ,ghc-hunit)
7130 ("ghc-byteorder" ,ghc-byteorder)
7131 ("ghc-dlist" ,ghc-dlist)
7132 ("ghc-mtl" ,ghc-mtl)))
7134 `(#:tests? #f)) ; Test number two becomes non-responsive for 20+ minutes
7135 (home-page "https://github.com/haskell/bytestring")
7136 (synopsis "Fast, compact, strict and lazy byte strings with a list interface")
7138 "An efficient compact, immutable byte string type (both strict and lazy)
7139 suitable for binary or 8-bit character data. The 'ByteString' type represents
7140 sequences of bytes or 8-bit characters. It is suitable for high performance use,
7141 both in terms of large data quantities, or high speed requirements. The 'ByteString'
7142 functions follow the same style as ordinary lists, so it is easy to convert code
7143 from using 'String' to 'ByteString'.")
7144 (license license:bsd-3)))
7146 (define-public ghc-colour
7154 "https://hackage.haskell.org/package/colour/colour-"
7158 "1qmn1778xzg07jg9nx4k1spdz2llivpblf6wwrps1qpqjhsac5cd"))))
7159 (build-system haskell-build-system)
7160 (home-page "http://www.haskell.org/haskellwiki/Colour")
7161 (synopsis "Model for human colour perception")
7163 "This package provides a data type for colours and transparency.
7164 Colours can be blended and composed. Various colour spaces are
7165 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
7166 (license license:expat)))
7168 (define-public ghc-directory
7170 (name "ghc-directory")
7176 "https://hackage.haskell.org/package/directory/directory-"
7180 "0h3hrqskadmbigaxbz2k5xxjjjlmfaq2zdn2g7jh1wv9k6yrxraa"))))
7181 (build-system haskell-build-system)
7182 (home-page "http://hackage.haskell.org/package/directory")
7183 (synopsis "Platform-agnostic library for filesystem operations")
7185 "This library provides a basic set of operations for manipulating
7186 files and directories in a portable way.")
7187 (license license:bsd-3)))
7189 ;; Do not use this as an input. It is part of GHC.
7190 (define-public ghc-process
7192 (name "ghc-process")
7198 "https://hackage.haskell.org/package/process/process-"
7202 "1v1bav5isqxq9fc4lw714x94qbfsjbm2nn12kjp69r1ql8jaaaqw"))))
7203 (build-system haskell-build-system)
7206 (modify-phases %standard-phases
7207 (add-after 'unpack 'patch-reference-to-/bin/sh
7209 (substitute* "System/Process/Posix.hs"
7210 (("/bin/sh") (which "sh")))
7212 (home-page "http://hackage.haskell.org/package/process")
7213 (synopsis "System process libraries")
7215 "This package contains libraries for dealing with system processes.")
7216 (license license:bsd-3)))
7218 (define-public ghc-wl-pprint-text
7220 (name "ghc-wl-pprint-text")
7226 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
7230 "1xgizzimfw17mpmw2afvmnvyag976j8ggn7k5r564rkw9f0m6bgz"))))
7231 (build-system haskell-build-system)
7233 `(("ghc-text" ,ghc-text)))
7234 (home-page "http://hackage.haskell.org/package/wl-pprint-text")
7235 (synopsis "Wadler/Leijen Pretty Printer for Text values")
7237 "A clone of wl-pprint for use with the text library.")
7238 (license license:bsd-3)))
7240 (define-public ghc-fgl-arbitrary
7242 (name "ghc-fgl-arbitrary")
7248 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
7252 "12qbsla4vivffris6y3gj29vrafkpyazqdbdy2m55nggypqpf7ah"))))
7253 (build-system haskell-build-system)
7255 `(("ghc-fgl" ,ghc-fgl)
7256 ("ghc-quickcheck" ,ghc-quickcheck)
7257 ("ghc-hspec" ,ghc-hspec)))
7258 (home-page "http://hackage.haskell.org/package/fgl-arbitrary")
7259 (synopsis "QuickCheck support for fgl")
7261 "Provides Arbitrary instances for fgl graphs to avoid adding a
7262 QuickCheck dependency for fgl whilst still making the instances
7263 available to others. Also available are non-fgl-specific functions
7264 for generating graph-like data structures.")
7265 (license license:bsd-3)))
7267 (define-public ghc-graphviz
7269 (name "ghc-graphviz")
7270 (version "2999.18.1.2")
7273 (uri (string-append "https://hackage.haskell.org/package/"
7274 "graphviz/graphviz-" version ".tar.gz"))
7277 "1z453is01v0rnxlv6xx4iyaqv5vrp3bpz829mpv1a341sck2135h"))))
7278 (build-system haskell-build-system)
7280 `(("ghc-quickcheck" ,ghc-quickcheck)
7281 ("ghc-colour" ,ghc-colour)
7282 ("ghc-dlist" ,ghc-dlist)
7283 ("ghc-fgl" ,ghc-fgl)
7284 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
7285 ("ghc-polyparse" ,ghc-polyparse)
7286 ("ghc-temporary" ,ghc-temporary)
7287 ("ghc-text" ,ghc-text)
7288 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
7289 (home-page "https://hackage.haskell.org/package/graphviz")
7290 (synopsis "Bindings to Graphviz for graph visualisation")
7292 "This library provides bindings for the Dot language used by
7293 the @uref{http://graphviz.org/, Graphviz} suite of programs for
7294 visualising graphs, as well as functions to call those programs.
7295 Main features of the graphviz library include:
7298 @item Almost complete coverage of all Graphviz attributes and syntax
7299 @item Support for specifying clusters
7300 @item The ability to use a custom node type
7301 @item Functions for running a Graphviz layout tool with all specified output types
7302 @item Generate and parse Dot code with two options: strict and liberal
7303 @item Functions to convert FGL graphs and other graph-like data structures
7304 @item Round-trip support for passing an FGL graph through Graphviz to augment node
7305 and edge labels with positional information, etc.
7307 (license license:bsd-3)))
7309 (define-public ghc-array
7317 "https://hackage.haskell.org/package/array/array-"
7321 "08r2rq4blvc737mrg3xhlwiw13jmsz5dlf2fd0ghb9cdaxc6kjc9"))))
7322 (build-system haskell-build-system)
7324 "http://hackage.haskell.org/package/array")
7325 (synopsis "Mutable and immutable arrays")
7327 "In addition to providing the @code{Data.Array} module, this package also defines
7328 the classes @code{IArray} of immutable arrays and @code{MArray} of arrays mutable
7329 within appropriate monads, as well as some instances of these classes.")
7330 (license license:bsd-3)))
7332 (define-public ghc-constraints
7334 (name "ghc-constraints")
7340 "https://hackage.haskell.org/package/constraints/constraints-"
7344 "120mmv9rwbahslisc1z8zx9lw7v6hl5fzid4l0hiy5as6ijqgl2c"))))
7345 (build-system haskell-build-system)
7347 `(("ghc-hashable" ,ghc-hashable)
7348 ("ghc-mtl" ,ghc-mtl)
7349 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7350 (home-page "http://github.com/ekmett/constraints/")
7351 (synopsis "Constraint manipulation")
7353 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
7354 They stopped crashing the compiler in GHC 7.6. This package provides
7355 a vocabulary for working with them.")
7356 (license license:bsd-3)))
7358 (define-public ghc-lifted-async
7360 (name "ghc-lifted-async")
7366 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7370 "00fnwfcnc6niq9jbbb9rap9rkdgv5qhcglwanzc5fi8834j94c1r"))))
7371 (build-system haskell-build-system)
7373 `(("ghc-async" ,ghc-async)
7374 ("ghc-lifted-base" ,ghc-lifted-base)
7375 ("ghc-transformers-base" ,ghc-transformers-base)
7376 ("ghc-monad-control" ,ghc-monad-control)
7377 ("ghc-constraints" ,ghc-constraints)
7378 ("ghc-hunit" ,ghc-hunit)
7379 ("ghc-mtl" ,ghc-mtl)
7380 ("ghc-tasty" ,ghc-tasty)
7381 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7382 ("ghc-tasty-th" ,ghc-tasty-th)))
7383 (home-page "https://github.com/maoe/lifted-async")
7384 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7386 "This package provides IO operations from @code{async} package lifted to any
7387 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7388 (license license:bsd-3)))
7390 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
7391 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
7392 ;; which depends on ghc-chell and ghc-chell-quickcheck.
7393 ;; Therefore we bootstrap it with tests disabled.
7394 (define ghc-system-filepath-bootstrap
7396 (name "ghc-system-filepath-bootstrap")
7397 (version "0.4.13.4")
7402 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7406 "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l"))))
7407 (build-system haskell-build-system)
7411 `(("ghc-text" ,ghc-text)
7412 ("ghc-quickcheck" ,ghc-quickcheck)))
7413 (home-page "https://github.com/fpco/haskell-filesystem")
7414 (synopsis "High-level, byte-based file and directory path manipulations")
7416 "Provides a FilePath datatype and utility functions for operating on it.
7417 Unlike the filepath package, this package does not simply reuse String,
7418 increasing type safety.")
7419 (license license:expat)))
7421 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
7422 ;; ghc-system-filepath.
7423 (define ghc-system-fileio-bootstrap
7425 (name "ghc-system-fileio-bootstrap")
7426 (version "0.3.16.3")
7431 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7435 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7436 (build-system haskell-build-system)
7440 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7441 ("ghc-text" ,ghc-text)
7442 ("ghc-temporary" ,ghc-temporary)))
7443 (home-page "https://github.com/fpco/haskell-filesystem")
7444 (synopsis "Consistent filesystem interaction across GHC versions")
7446 "This is a small wrapper around the directory, unix, and Win32 packages,
7447 for use with system-filepath. It provides a consistent API to the various
7448 versions of these packages distributed with different versions of GHC.
7449 In particular, this library supports working with POSIX files that have paths
7450 which can't be decoded in the current locale encoding.")
7451 (license license:expat)))
7453 (define-public ghc-shelly
7461 "https://hackage.haskell.org/package/shelly/shelly-"
7465 "0bg1pj5bhswfgwfgz66xr82i8cmjgrnx5ljvjy37052zxb82imnk"))))
7466 (build-system haskell-build-system)
7468 `(("ghc-mtl" ,ghc-mtl)
7469 ("ghc-unix-compat" ,ghc-unix-compat)
7470 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7471 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
7472 ("ghc-monad-control" ,ghc-monad-control)
7473 ("ghc-lifted-base" ,ghc-lifted-base)
7474 ("ghc-lifted-async" ,ghc-lifted-async)
7475 ("ghc-exceptions" ,ghc-exceptions)
7476 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
7477 ("ghc-text" ,ghc-text)
7478 ("ghc-async" ,ghc-async)
7479 ("ghc-transformers-base" ,ghc-transformers-base)
7480 ("ghc-hunit" ,ghc-hunit)
7481 ("ghc-hspec" ,ghc-hspec)))
7482 (home-page "https://github.com/yesodweb/Shelly.hs")
7483 (synopsis "Shell-like (systems) programming in Haskell")
7485 "Shelly provides convenient systems programming in Haskell, similar in
7486 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
7487 (license license:bsd-3)))
7489 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
7490 (define ghc-options-bootstrap
7492 (name "ghc-options-bootstrap")
7498 "https://hackage.haskell.org/package/options/options-"
7502 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7503 (build-system haskell-build-system)
7507 `(("ghc-monads-tf" ,ghc-monads-tf)))
7508 (home-page "https://john-millikin.com/software/haskell-options/")
7509 (synopsis "Powerful and easy-to-use command-line option parser")
7511 "The @code{options} package lets library and application developers
7512 easily work with command-line options.")
7513 (license license:expat)))
7515 (define-public ghc-chell
7523 "https://hackage.haskell.org/package/chell/chell-"
7527 "0lb95abzxl4a87nfqxsxpb3a39pd52cci43hcvj8615hyhqvs2jz"))))
7528 (build-system haskell-build-system)
7530 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
7531 ("ghc-patience" ,ghc-patience)
7532 ("ghc-random" ,ghc-random)
7533 ("ghc-text" ,ghc-text)
7534 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
7535 (home-page "https://john-millikin.com/software/chell/")
7536 (synopsis "Simple and intuitive library for automated testing")
7538 "Chell is a simple and intuitive library for automated testing.
7539 It natively supports assertion-based testing, and can use companion
7540 libraries such as @code{chell-quickcheck} to support more complex
7541 testing strategies.")
7542 (license license:expat)))
7544 (define ghc-chell-quickcheck-bootstrap
7546 (name "ghc-chell-quickcheck-bootstrap")
7552 "https://hackage.haskell.org/package/chell-quickcheck/chell-quickcheck-"
7556 "02bkcnx5k6r5csdnnkvk4wfd0l36nxb87i1463ynw17n7ym9s4cs"))))
7557 (build-system haskell-build-system)
7559 `(("ghc-chell" ,ghc-chell)
7560 ("ghc-random" ,ghc-random)
7561 ("ghc-quickcheck" ,ghc-quickcheck)))
7564 (home-page "https://john-millikin.com/software/chell/")
7565 (synopsis "QuickCheck support for the Chell testing library")
7566 (description "More complex tests for @code{chell}.")
7567 (license license:expat)))
7569 (define-public ghc-chell-quickcheck
7571 (name "ghc-chell-quickcheck")
7577 "https://hackage.haskell.org/package/chell-quickcheck/chell-quickcheck-"
7581 "02bkcnx5k6r5csdnnkvk4wfd0l36nxb87i1463ynw17n7ym9s4cs"))))
7582 (build-system haskell-build-system)
7584 `(("ghc-chell" ,ghc-chell)
7585 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
7586 ("ghc-random" ,ghc-random)
7587 ("ghc-quickcheck" ,ghc-quickcheck)))
7588 (home-page "https://john-millikin.com/software/chell/")
7589 (synopsis "QuickCheck support for the Chell testing library")
7590 (description "More complex tests for @code{chell}.")
7591 (license license:expat)))
7593 (define-public ghc-options
7595 (name "ghc-options")
7601 "https://hackage.haskell.org/package/options/options-"
7605 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7606 (build-system haskell-build-system)
7608 `(("ghc-monads-tf" ,ghc-monads-tf)
7609 ("ghc-chell" ,ghc-chell)
7610 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
7611 (home-page "https://john-millikin.com/software/haskell-options/")
7612 (synopsis "Powerful and easy-to-use command-line option parser")
7614 "The @code{options} package lets library and application developers
7615 easily work with command-line options.")
7616 (license license:expat)))
7618 (define-public ghc-system-filepath
7620 (name "ghc-system-filepath")
7621 (version "0.4.13.4")
7626 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7630 "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l"))))
7631 (build-system haskell-build-system)
7633 `(("ghc-text" ,ghc-text)
7634 ("ghc-chell" ,ghc-chell)
7635 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
7636 ("ghc-quickcheck" ,ghc-quickcheck)))
7637 (home-page "https://github.com/fpco/haskell-filesystem")
7638 (synopsis "High-level, byte-based file and directory path manipulations")
7640 "Provides a FilePath datatype and utility functions for operating on it.
7641 Unlike the filepath package, this package does not simply reuse String,
7642 increasing type safety.")
7643 (license license:expat)))
7645 (define-public ghc-system-fileio
7647 (name "ghc-system-fileio")
7648 (version "0.3.16.3")
7653 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7657 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7658 (build-system haskell-build-system)
7660 `(("ghc-system-filepath" ,ghc-system-filepath)
7661 ("ghc-text" ,ghc-text)
7662 ("ghc-chell" ,ghc-chell)
7663 ("ghc-temporary" ,ghc-temporary)))
7664 (home-page "https://github.com/fpco/haskell-filesystem")
7665 (synopsis "Consistent filesystem interaction across GHC versions")
7667 "This is a small wrapper around the directory, unix, and Win32 packages,
7668 for use with system-filepath. It provides a consistent API to the various
7669 versions of these packages distributed with different versions of GHC.
7670 In particular, this library supports working with POSIX files that have paths
7671 which can't be decoded in the current locale encoding.")
7672 (license license:expat)))
7674 (define-public ghc-storable-complex
7676 (name "ghc-storable-complex")
7682 "http://hackage.haskell.org/package/storable-complex/storable-complex-"
7685 (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
7686 (build-system haskell-build-system)
7687 (home-page "https://github.com/cartazio/storable-complex")
7688 (synopsis "Haskell Storable instance for Complex")
7689 (description "This package provides a Haskell library including a
7690 Storable instance for Complex which is binary compatible with C99, C++
7691 and Fortran complex data types.")
7692 (license license:bsd-3)))
7694 (define-public ghc-hmatrix
7696 (name "ghc-hmatrix")
7697 (version "0.17.0.2")
7702 "http://hackage.haskell.org/package/hmatrix/hmatrix-"
7705 (base32 "1fgsrh2y9y971pzrd3767rg97bjr1ghpdvwmn1nn65s90rc9bv98"))))
7706 (build-system haskell-build-system)
7708 `(("ghc-random" ,ghc-random)
7709 ("ghc-split" ,ghc-split)
7710 ("ghc-storable-complex" ,ghc-storable-complex)
7711 ("ghc-vector" ,ghc-vector)
7712 ;;("openblas" ,openblas)
7713 ("lapack" ,lapack)))
7714 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
7715 ;; disables inclusion of the LAPACK functions.
7716 ;; (arguments `(#:configure-flags '("--flags=openblas")))
7717 (home-page "https://github.com/albertoruiz/hmatrix")
7718 (synopsis "Haskell numeric linear algebra library")
7719 (description "The HMatrix package provices a Haskell library for
7720 dealing with linear systems, matrix decompositions, and other
7721 numerical computations based on BLAS and LAPACK.")
7722 (license license:bsd-3)))
7724 (define-public ghc-hmatrix-gsl
7726 (name "ghc-hmatrix-gsl")
7727 (version "0.17.0.0")
7732 "http://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
7735 (base32 "1jbqwn9d2nldc4klhy0n8gcxr889h0daw2mjfhwgksfy1bwfjl7w"))))
7736 (build-system haskell-build-system)
7738 `(("ghc-hmatrix" ,ghc-hmatrix)
7739 ("ghc-vector" ,ghc-vector)
7740 ("ghc-random" ,ghc-random)
7742 (native-inputs `(("pkg-config" ,pkg-config)))
7743 (home-page "https://github.com/albertoruiz/hmatrix")
7744 (synopsis "Haskell GSL binding")
7745 (description "This Haskell library provides a purely functional
7746 interface to selected numerical computations, internally implemented
7748 (license license:gpl3+)))
7750 (define-public ghc-hmatrix-special
7752 (name "ghc-hmatrix-special")
7759 "http://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
7762 (base32 "0cr9y3swzj7slrd84g1nhdkp1kpq4q5ihwapmiaidpr2bv3hrfhz"))))
7763 (build-system haskell-build-system)
7765 `(("ghc-hmatrix" ,ghc-hmatrix)
7766 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
7767 (home-page "https://github.com/albertoruiz/hmatrix")
7768 (synopsis "Haskell interface to GSL special functions")
7769 (description "This library provides an interface to GSL special
7770 functions for Haskell.")
7771 (license license:gpl3+)))
7773 (define-public ghc-hmatrix-gsl-stats
7775 (name "ghc-hmatrix-gsl-stats")
7782 "http://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
7785 (base32 "0f3pzi494n4js0xiq5b38n07cnby0h9da6gmwywf8plvxm9271fl"))))
7786 (build-system haskell-build-system)
7788 `(("ghc-vector" ,ghc-vector)
7789 ("ghc-storable-complex" ,ghc-storable-complex)
7790 ("ghc-hmatrix" ,ghc-hmatrix)
7792 (native-inputs `(("pkg-config" ,pkg-config)))
7793 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
7794 (synopsis "GSL Statistics interface for Haskell")
7795 (description "This Haskell library provides a purely functional
7796 interface for statistics based on hmatrix and GSL.")
7797 (license license:bsd-3)))
7799 (define-public ghc-easyplot
7801 (name "ghc-easyplot")
7807 "http://hackage.haskell.org/package/easyplot/easyplot-"
7810 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
7811 (build-system haskell-build-system)
7812 (propagated-inputs `(("gnuplot" ,gnuplot)))
7814 `(#:phases (modify-phases %standard-phases
7815 (add-after 'unpack 'fix-setup-suffix
7816 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
7817 (home-page "http://hub.darcs.net/scravy/easyplot")
7818 (synopsis "Haskell plotting library based on gnuplot")
7819 (description "This package provides a plotting library for
7820 Haskell, using gnuplot for rendering.")
7821 (license license:expat)))
7823 (define-public ghc-hashtables
7825 (name "ghc-hashtables")
7831 "http://hackage.haskell.org/package/hashtables/hashtables-"
7834 (base32 "1b6w9xznk42732vpd8ili60k12yq190xnajgga0iwbdpyg424lgg"))))
7835 (build-system haskell-build-system)
7837 `(("ghc-hashable" ,ghc-hashable)
7838 ("ghc-primitive" ,ghc-primitive)
7839 ("ghc-vector" ,ghc-vector)))
7840 (home-page "http://github.com/gregorycollins/hashtables")
7841 (synopsis "Haskell Mutable hash tables in the ST monad")
7842 (description "This package provides a Haskell library including a
7843 couple of different implementations of mutable hash tables in the ST
7844 monad, as well as a typeclass abstracting their common operations, and
7845 a set of wrappers to use the hash tables in the IO monad.")
7846 (license license:bsd-3)))
7848 (define-public ghc-data-accessor
7850 (name "ghc-data-accessor")
7856 "mirror://hackage/package/data-accessor/data-accessor-"
7859 (base32 "1vf2g1gac3rm32g97rl0fll51m88q7ry4m6khnl5j47qsmx24r9l"))))
7860 (build-system haskell-build-system)
7861 (home-page "http://www.haskell.org/haskellwiki/Record_access")
7863 "Haskell utilities for accessing and manipulating fields of records")
7864 (description "This package provides Haskell modules for accessing and
7865 manipulating fields of records.")
7866 (license license:bsd-3)))
7868 (define-public ghc-data-accessor-transformers
7870 (name "ghc-data-accessor-transformers")
7876 "mirror://hackage/package/data-accessor-transformers/"
7877 "data-accessor-transformers-" version ".tar.gz"))
7879 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
7880 (build-system haskell-build-system)
7881 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
7882 (home-page "http://www.haskell.org/haskellwiki/Record_access")
7883 (synopsis "Use Accessor to access state in transformers State monad")
7884 (description "This package provides Haskell modules to allow use of
7885 Accessor to access state in transformers State monad.")
7886 (license license:bsd-3)))
7888 (define-public ghc-utility-ht
7890 (name "ghc-utility-ht")
7892 (home-page "https://hackage.haskell.org/package/utility-ht")
7896 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
7898 (base32 "1vq5bd51rl9l5lgfmaqxgiggddk38hzgngcj7qgrqnalcd1myi54"))))
7899 (build-system haskell-build-system)
7900 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
7901 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
7902 (description "This package includes Hakell modules providing various
7903 helper functions for Lists, Maybes, Tuples, Functions.")
7904 (license license:bsd-3)))
7906 (define-public ghc-gnuplot
7908 (name "ghc-gnuplot")
7914 "mirror://hackage/package/gnuplot/gnuplot-"
7917 (base32 "1xz8prw9xjk0rsyrkp9bsmxykzrbhpv9qhhkdapy75mdbmgwjm7s"))))
7918 (build-system haskell-build-system)
7920 `(("ghc-temporary" ,ghc-temporary)
7921 ("ghc-utility-ht" ,ghc-utility-ht)
7922 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
7923 ("ghc-data-accessor" ,ghc-data-accessor)
7924 ("gnuplot" ,gnuplot)))
7927 (modify-phases %standard-phases
7928 (add-before 'configure 'fix-path-to-gnuplot
7929 (lambda* (#:key inputs #:allow-other-keys)
7930 (let ((gnuplot (assoc-ref inputs "gnuplot")))
7931 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
7932 (("(gnuplotName = ).*$" all cmd)
7933 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
7934 (home-page "http://www.haskell.org/haskellwiki/Gnuplot")
7935 (synopsis "2D and 3D plots using gnuplot")
7936 (description "This package provides a Haskell module for creating 2D and
7937 3D plots using gnuplot.")
7938 (license license:bsd-3)))
7940 (define-public ghc-hinotify
7942 (name "ghc-hinotify")
7947 "https://hackage.haskell.org/package/hinotify/"
7948 "hinotify-" version ".tar.gz"))
7951 "03c1f4d7x805zdiq2w26kl09xrfjw19saycdkhnixzv2qcr6xm1p"))))
7952 (build-system haskell-build-system)
7953 (home-page "https://github.com/kolmodin/hinotify.git")
7954 (synopsis "Haskell binding to inotify")
7955 (description "This library provides a wrapper to the Linux kernel's inotify
7956 feature, allowing applications to subscribe to notifications when a file is
7957 accessed or modified.")
7958 (license license:bsd-3)))
7960 (define-public ghc-fsnotify
7962 (name "ghc-fsnotify")
7967 "https://hackage.haskell.org/package/fsnotify/"
7968 "fsnotify-" version ".tar.gz"))
7971 "0asl313a52qx2w6dw25g845683xsl840bwjh118nkwi5v1xipkzb"))))
7972 (build-system haskell-build-system)
7974 `(("ghc-text" ,ghc-text)
7975 ("ghc-async" ,ghc-async)
7976 ("ghc-unix-compat" ,ghc-unix-compat)
7977 ("ghc-hinotify" ,ghc-hinotify)
7978 ("ghc-tasty" ,ghc-tasty)
7979 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7980 ("ghc-temporary-rc" ,ghc-temporary-rc)))
7981 (home-page "https://github.com/haskell-fswatch/hfsnotify")
7982 (synopsis "Cross platform library for file change notification.")
7983 (description "Cross platform library for file creation, modification, and
7984 deletion notification. This library builds upon existing libraries for platform
7985 specific Windows, Mac, and Linux filesystem event notification.")
7986 (license license:bsd-3)))
7988 (define-public ghc-tasty-rerun
7990 (name "ghc-tasty-rerun")
7995 "https://hackage.haskell.org/package/tasty-rerun/"
7996 "tasty-rerun-" version ".tar.gz"))
7999 "0ycxg7whabgcxyzy6gr536x8ykzx45whh1wrbsc7c58zi862fczd"))))
8000 (build-system haskell-build-system)
8002 `(("ghc-mtl" ,ghc-mtl)
8003 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
8004 ("ghc-reducers" ,ghc-reducers)
8005 ("ghc-split" ,ghc-split)
8006 ("ghc-stm" ,ghc-stm)
8007 ("ghc-tagged" ,ghc-tagged)
8008 ("ghc-tasty" ,ghc-tasty)))
8009 (home-page "http://github.com/ocharles/tasty-rerun")
8010 (synopsis "Run tests by filtering the test tree")
8011 (description "This package adds the ability to run tests by filtering the
8012 test tree based on the result of a previous test run. You can use this to run
8013 only those tests that failed in the last run, or to only run the tests that have
8014 been added since previous test run.")
8015 (license license:bsd-3)))
8017 (define-public ghc-ieee754
8019 (name "ghc-ieee754")
8024 "https://hackage.haskell.org/package/ieee754/"
8025 "ieee754-" version ".tar.gz"))
8028 "1zvfnnd5nm5kgr60214cdyks0kqdqyzpwk5sdh0s60yr8b7fyjny"))))
8029 (build-system haskell-build-system)
8030 (home-page "http://github.com/patperry/hs-ieee754")
8031 (synopsis "Utilities for dealing with IEEE floating point numbers")
8032 (description "Utilities for dealing with IEEE floating point numbers,
8033 ported from the Tango math library; approximate and exact equality comparisons
8034 for general types.")
8035 (license license:bsd-3)))
8037 (define-public ghc-terminal-size
8039 (name "ghc-terminal-size")
8044 "https://hackage.haskell.org/package/terminal-size/"
8045 "terminal-size-" version ".tar.gz"))
8048 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
8049 (build-system haskell-build-system)
8050 (home-page "http://hackage.haskell.org/package/terminal-size")
8051 (synopsis "Get terminal window height and width")
8052 (description "Get terminal window height and width without ncurses
8054 (license license:bsd-3)))
8056 (define-public ghc-language-c
8058 (name "ghc-language-c")
8063 (uri (string-append "https://hackage.haskell.org/package/"
8064 "language-c/language-c-" version ".tar.gz"))
8067 "08i2bl7jmmymn2sldzlbz6ig7lx3wfwhlpadzibs3fx72z08pmc6"))))
8068 (build-system haskell-build-system)
8069 (inputs `(("ghc-syb" ,ghc-syb)))
8071 `(("ghc-happy" ,ghc-happy)
8072 ("ghc-alex" ,ghc-alex)))
8073 (home-page "http://visq.github.io/language-c/")
8074 (synopsis "Analysis and generation of C code")
8076 "Language C is a Haskell library for the analysis and generation of C code.
8077 It features a complete, well-tested parser and pretty printer for all of C99
8078 and a large set of GNU extensions.")
8079 (license license:bsd-3)))
8081 (define-public ghc-markdown-unlit
8083 (name "ghc-markdown-unlit")
8088 "mirror://hackage/package/markdown-unlit/"
8089 "markdown-unlit-" version ".tar.gz"))
8092 "1kj2bffl7ndd8ygwwa3r1mbpwbxbfhyfgnbla8k8g9i6ffp0qrbw"))))
8093 (build-system haskell-build-system)
8095 `(("ghc-base-compat" ,ghc-base-compat)
8096 ("ghc-hspec" ,ghc-hspec)
8097 ("ghc-quickcheck" ,ghc-quickcheck)
8098 ("ghc-silently" ,ghc-silently)
8099 ("ghc-stringbuilder" ,ghc-stringbuilder)
8100 ("ghc-temporary" ,ghc-temporary)
8101 ("hspec-discover" ,hspec-discover)))
8102 (home-page "https://github.com/sol/markdown-unlit#readme")
8103 (synopsis "Literate Haskell support for Markdown")
8104 (description "This package allows you to have a README.md that at the
8105 same time is a literate Haskell program.")
8106 (license license:expat)))
8108 (define-public corrode
8109 (let ((commit "b6699fb2fa552a07c6091276285a44133e5c9789"))
8112 (version (string-append "0.0.1-" (string-take commit 7)))
8117 (url "https://github.com/jameysharp/corrode.git")
8118 (commit "b6699fb2fa552a07c6091276285a44133e5c9789")))
8120 (string-append name "-" version "-checkout"))
8122 (base32 "02v0yyj6sk4gpg2222wzsdqjxn8w66scbnf6b20x0kbmc69qcz4r"))))
8123 (build-system haskell-build-system)
8125 `(("ghc-language-c" ,ghc-language-c)
8126 ("ghc-markdown-unlit" ,ghc-markdown-unlit)))
8127 (home-page "https://github.com/jameysharp/corrode")
8128 (synopsis "Automatic semantics-preserving translation from C to Rust")
8130 "This program reads a C source file and prints an equivalent module in
8131 Rust syntax. It is intended to be useful for two different purposes:
8134 @item Partial automation for migrating legacy code that was implemented in C.
8135 @item A new, complementary approach to static analysis for C programs.
8137 (license license:gpl2+))))
8139 (define-public ghc-wave
8146 "https://hackage.haskell.org/package/wave/wave-"
8151 "1g5nmqfk6p25v9ismwz4i66ay91bd1qh39xwj0hm4z6a5mw8frk8"))))
8152 (build-system haskell-build-system)
8154 `(("ghc-cereal" ,ghc-cereal)
8155 ("ghc-data-default-class"
8156 ,ghc-data-default-class)
8157 ("ghc-quickcheck" ,ghc-quickcheck)
8158 ("ghc-temporary" ,ghc-temporary)))
8160 `(("hspec-discover" ,hspec-discover)
8161 ("ghc-hspec" ,ghc-hspec)))
8162 (home-page "https://github.com/mrkkrp/wave")
8163 (synopsis "Work with WAVE and RF64 files in Haskell")
8164 (description "This package allows you to work with WAVE and RF64
8166 (license license:bsd-3)))
8168 (define-public ghc-hslogger
8170 (name "ghc-hslogger")
8175 (uri (string-append "https://hackage.haskell.org/package/"
8176 "hslogger-" version "/" "hslogger-"
8179 "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp"))))
8180 (build-system haskell-build-system)
8182 `(("ghc-mtl" ,ghc-mtl)
8183 ("ghc-network" ,ghc-network)
8184 ("ghc-directory", ghc-directory)
8185 ("ghc-old-locale" ,ghc-old-locale)
8186 ("ghc-process" ,ghc-process)))
8188 `(("ghc-hunit" ,ghc-hunit)))
8189 (home-page "http://software.complete.org/hslogger")
8190 (synopsis "Logging framework for Haskell, similar to Python's logging module")
8191 (description "Hslogger lets each log message have a priority and source be
8192 associated with it. The programmer can then define global handlers that route
8193 or filter messages based on the priority and source. It also has a syslog
8195 (license license:bsd-3)))
8197 ;;; haskell.scm ends here