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, 2018 Ludovic Courtès <ludo@gnu.org>
7 ;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
8 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
9 ;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
10 ;;; Copyright © 2016, 2017 David Craven <david@craven.ch>
11 ;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
12 ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
13 ;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com>
14 ;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
15 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
16 ;;; Copyright © 2018 Tonton <tonton@riseup.net>
17 ;;; Copyright © 2018 Timothy Sample <samplet@ngyro.com>
18 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
20 ;;; This file is part of GNU Guix.
22 ;;; GNU Guix is free software; you can redistribute it and/or modify it
23 ;;; under the terms of the GNU General Public License as published by
24 ;;; the Free Software Foundation; either version 3 of the License, or (at
25 ;;; your option) any later version.
27 ;;; GNU Guix is distributed in the hope that it will be useful, but
28 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
29 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 ;;; GNU General Public License for more details.
32 ;;; You should have received a copy of the GNU General Public License
33 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
35 (define-module (gnu packages haskell)
36 #:use-module (gnu packages)
37 #:use-module (gnu packages base)
38 #:use-module (gnu packages bootstrap)
39 #:use-module (gnu packages check)
40 #:use-module (gnu packages compression)
41 #:use-module (gnu packages elf)
42 #:use-module (gnu packages gcc)
43 #:use-module (gnu packages ghostscript)
44 #:use-module (gnu packages gl)
45 #:use-module (gnu packages graphviz)
46 #:use-module (gnu packages haskell-check)
47 #:use-module (gnu packages haskell-crypto)
48 #:use-module (gnu packages haskell-web)
49 #:use-module (gnu packages libffi)
50 #:use-module (gnu packages linux)
51 #:use-module (gnu packages lisp)
52 #:use-module (gnu packages lua)
53 #:use-module (gnu packages maths)
54 #:use-module (gnu packages multiprecision)
55 #:use-module (gnu packages ncurses)
56 #:use-module (gnu packages pcre)
57 #:use-module (gnu packages perl)
58 #:use-module (gnu packages pkg-config)
59 #:use-module (gnu packages python)
60 #:use-module (gnu packages sdl)
61 #:use-module (gnu packages tls)
62 #:use-module (gnu packages xml)
63 #:use-module (gnu packages xorg)
64 #:use-module (guix build-system gnu)
65 #:use-module (guix build-system haskell)
66 #:use-module (guix download)
67 #:use-module (guix git-download)
68 #:use-module ((guix licenses) #:prefix license:)
69 #:use-module (guix packages)
70 #:use-module (guix utils)
71 #:use-module (ice-9 regex)
72 #:use-module ((srfi srfi-1) #:select (alist-delete)))
74 (define-public cl-yale-haskell
75 (let ((commit "85f94c72a16c5f70301dd8db04cde9de2d7dd270")
78 (name "cl-yale-haskell")
79 (version (string-append "2.0.5-" revision "." (string-take commit 9)))
83 (url "https://git.elephly.net/software/yale-haskell.git")
85 (file-name (string-append "yale-haskell-" commit "-checkout"))
88 "0bal3m6ryrjamz5p93bhs9rp5msk8k7lpcqr44wd7xs9b9k8w74g"))))
89 (build-system gnu-build-system)
91 `(#:tests? #f ; no tests
92 ;; Stripping binaries leads to a broken executable lisp system image.
95 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
97 (modify-phases %standard-phases
100 (setenv "PRELUDE" "./progs/prelude")
101 (setenv "HASKELL_LIBRARY" "./progs/lib")
102 (setenv "PRELUDEBIN" "./progs/prelude/clisp")
103 (setenv "HASKELLPROG" "./bin/clisp-haskell")
107 (home-page "https://git.elephly.net/software/yale-haskell.git")
108 (synopsis "Port of the Yale Haskell system to CLISP")
109 (description "This package provides the Yale Haskell system running on
111 (license license:bsd-4))))
113 (define ghc-bootstrap-x86_64-7.8.4
117 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.xz")
120 "13azsl53xgj20mi1hj9x0xb32vvcvs6cpmvwx6znxhas7blh0bpn"))))
122 (define ghc-bootstrap-i686-7.8.4
126 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.xz")
129 "0wj5s435j0zgww70bj1d3f6wvnnpzlxwvwcyh2qv4qjq5z8j64kg"))))
131 ;; 43 tests out of 3965 fail.
133 ;; Most of them do not appear to be serious:
135 ;; - some tests generate files referring to "/bin/sh" and "/bin/ls". I've not
136 ;; figured out how these references are generated.
138 ;; - Some tests allocate more memory than expected (ca. 3% above upper limit)
140 ;; - Some tests try to load unavailable libriries: Control.Concurrent.STM,
141 ;; Data.Vector, Control.Monad.State.
143 ;; - Test posix010 tries to check the existence of a user on the system:
144 ;; getUserEntryForName: does not exist (no such user)
152 (uri (string-append "https://www.haskell.org/ghc/dist/"
153 version "/" name "-" version "-src.tar.xz"))
156 "1x8m4rp2v7ydnrz6z9g8x7z3x3d3pxhv2pixy7i7hkbqbdsp7kal"))))
157 (build-system gnu-build-system)
158 (supported-systems '("i686-linux" "x86_64-linux"))
159 (outputs '("out" "doc"))
168 "https://www.haskell.org/ghc/dist/"
169 version "/" name "-" version "-testsuite.tar.xz"))
172 "0qp9da9ar87zbyn6wjgacd2ic1vgzbi3cklxnhsmjqyafv9qaj4b"))))))
175 ("python" ,python-2) ; for tests (fails with python-3)
176 ("ghostscript" ,ghostscript) ; for tests
177 ("patchelf" ,patchelf)
178 ;; GHC is built with GHC. Therefore we need bootstrap binaries.
180 ,(if (string-match "x86_64" (or (%current-target-system) (%current-system)))
181 ghc-bootstrap-x86_64-7.8.4
182 ghc-bootstrap-i686-7.8.4))))
184 `(#:test-target "test"
185 ;; We get a smaller number of test failures by disabling parallel test
189 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
190 ;; gremlin) doesn't support it yet, so skip this phase.
191 #:validate-runpath? #f
193 ;; Don't pass --build=<triplet>, because the configure script
194 ;; auto-detects slightly different triplets for --host and --target and
195 ;; then complains that they don't match.
198 #:modules ((guix build gnu-build-system)
203 #:imported-modules (,@%gnu-build-system-modules
207 (string-append "--with-gmp-libraries="
208 (assoc-ref %build-inputs "gmp") "/lib")
209 (string-append "--with-gmp-includes="
210 (assoc-ref %build-inputs "gmp") "/include")
211 "--with-system-libffi"
212 (string-append "--with-ffi-libraries="
213 (assoc-ref %build-inputs "libffi") "/lib")
214 (string-append "--with-ffi-includes="
215 (assoc-ref %build-inputs "libffi") "/include"))
216 ;; FIXME: The user-guide needs dblatex, docbook-xsl and docbook-utils.
217 ;; Currently we do not have the last one.
219 ;; (list "BUILD_DOCBOOK_HTML = YES")
221 (let* ((ghc-bootstrap-path
222 (string-append (getcwd) "/" ,name "-" ,version "/ghc-bin"))
223 (ghc-bootstrap-prefix
224 (string-append ghc-bootstrap-path "/usr" )))
226 'unpack-bin 'unpack-testsuite-and-fix-bins
227 (lambda* (#:key inputs outputs #:allow-other-keys)
228 (with-directory-excursion ".."
229 (copy-file (assoc-ref inputs "ghc-testsuite")
230 "ghc-testsuite.tar.xz")
231 (system* "tar" "xvf" "ghc-testsuite.tar.xz"))
233 (list "testsuite/timeout/Makefile"
234 "testsuite/timeout/timeout.py"
235 "testsuite/timeout/timeout.hs"
236 "testsuite/tests/rename/prog006/Setup.lhs"
237 "testsuite/tests/programs/life_space_leak/life.test"
238 "libraries/process/System/Process/Internals.hs"
239 "libraries/unix/cbits/execvpe.c")
240 (("/bin/sh") (which "sh"))
245 (lambda* (#:key inputs outputs #:allow-other-keys)
246 (mkdir-p ghc-bootstrap-prefix)
247 (with-directory-excursion ghc-bootstrap-path
248 (copy-file (assoc-ref inputs "ghc-binary")
250 (zero? (system* "tar" "xvf" "ghc-bin.tar.xz"))))
252 'install-bin 'configure-bin
253 (lambda* (#:key inputs outputs #:allow-other-keys)
256 "./utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"
257 "./utils/hpc/dist-install/build/tmp/hpc"
258 "./utils/haddock/dist/build/tmp/haddock"
259 "./utils/hsc2hs/dist-install/build/tmp/hsc2hs"
260 "./utils/runghc/dist-install/build/tmp/runghc"
261 "./utils/ghc-cabal/dist-install/build/tmp/ghc-cabal"
262 "./utils/hp2ps/dist/build/tmp/hp2ps"
263 "./utils/ghc-pkg/dist-install/build/tmp/ghc-pkg"
264 "./utils/unlit/dist/build/tmp/unlit"
265 "./ghc/stage2/build/tmp/ghc-stage2"))
266 (gmp (assoc-ref inputs "gmp"))
267 (gmp-lib (string-append gmp "/lib"))
268 (gmp-include (string-append gmp "/include"))
270 (string-append (assoc-ref inputs "ncurses") "/lib"))
271 (ld-so (string-append (assoc-ref inputs "libc")
272 ,(glibc-dynamic-linker)))
274 (string-append ghc-bootstrap-prefix
275 "/lib/ghc-7.8.4/terminfo-0.4.0.0")))
276 (with-directory-excursion
277 (string-append ghc-bootstrap-path "/ghc-7.8.4")
278 (setenv "CONFIG_SHELL" (which "bash"))
279 (setenv "LD_LIBRARY_PATH" gmp-lib)
280 ;; The binaries have "/lib64/ld-linux-x86-64.so.2" hardcoded.
282 (cut system* "patchelf" "--set-interpreter" ld-so <>)
284 ;; The binaries include a reference to libtinfo.so.5 which
285 ;; is a subset of libncurses.so.5. We create a symlink in a
286 ;; directory included in the bootstrap binaries rpath.
287 (mkdir-p libtinfo-dir)
289 (string-append ncurses-lib "/libncursesw.so."
290 ;; Extract "6.0" from "6.0-20170930" if a
291 ;; dash-separated version tag exists.
292 ,(let* ((v (package-version ncurses))
293 (d (or (string-index v #\-)
295 (version-major+minor (string-take v d))))
296 (string-append libtinfo-dir "/libtinfo.so.5"))
299 (string-append (getenv "PATH") ":"
300 ghc-bootstrap-prefix "/bin"))
302 (string-append (getcwd) "/configure")
303 (string-append "--prefix=" ghc-bootstrap-prefix)
304 (string-append "--with-gmp-libraries=" gmp-lib)
305 (string-append "--with-gmp-includes=" gmp-include)))))
307 'configure 'install-bin
308 (lambda* (#:key inputs outputs #:allow-other-keys)
309 (with-directory-excursion
310 (string-append ghc-bootstrap-path "/ghc-7.8.4")
311 (zero? (system* "make" "install"))))
312 %standard-phases)))))))
313 (native-search-paths (list (search-path-specification
314 (variable "GHC_PACKAGE_PATH")
316 (string-append "lib/ghc-" version)))
317 (file-pattern ".*\\.conf\\.d$")
318 (file-type 'directory))))
319 (home-page "https://www.haskell.org/ghc")
320 (synopsis "The Glasgow Haskell Compiler")
322 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
323 interactive environment for the functional language Haskell.")
324 (license license:bsd-3)))
326 (define-public ghc-8.0
333 (uri (string-append "https://www.haskell.org/ghc/dist/"
334 version "/" name "-" version "-src.tar.xz"))
336 (base32 "1c8qc4fhkycynk4g1f9hvk53dj6a1vvqi6bklqznns6hw59m8qhi"))
339 "ghc-dont-pass-linker-flags-via-response-files.patch"
340 "ghc-8.0-fall-back-to-madv_dontneed.patch"))))
341 (build-system gnu-build-system)
342 (supported-systems '("i686-linux" "x86_64-linux"))
343 (outputs '("out" "doc"))
352 "https://www.haskell.org/ghc/dist/"
353 version "/" name "-" version "-testsuite.tar.xz"))
355 (base32 "1wjc3x68l305bl1h1ijd3yhqp2vqj83lkp3kqbr94qmmkqlms8sj"))))))
358 ("python" ,python-2) ; for tests
359 ("ghostscript" ,ghostscript) ; for tests
360 ;; GHC is built with GHC.
361 ("ghc-bootstrap" ,ghc-7)))
363 `(#:test-target "test"
364 ;; We get a smaller number of test failures by disabling parallel test
368 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
369 ;; gremlin) doesn't support it yet, so skip this phase.
370 #:validate-runpath? #f
372 ;; Don't pass --build=<triplet>, because the configure script
373 ;; auto-detects slightly different triplets for --host and --target and
374 ;; then complains that they don't match.
379 (string-append "--with-gmp-libraries="
380 (assoc-ref %build-inputs "gmp") "/lib")
381 (string-append "--with-gmp-includes="
382 (assoc-ref %build-inputs "gmp") "/include")
383 "--with-system-libffi"
384 (string-append "--with-ffi-libraries="
385 (assoc-ref %build-inputs "libffi") "/lib")
386 (string-append "--with-ffi-includes="
387 (assoc-ref %build-inputs "libffi") "/include")
388 (string-append "--with-curses-libraries="
389 (assoc-ref %build-inputs "ncurses") "/lib")
390 (string-append "--with-curses-includes="
391 (assoc-ref %build-inputs "ncurses") "/include"))
393 (modify-phases %standard-phases
394 (add-after 'unpack 'unpack-testsuite
395 (lambda* (#:key inputs #:allow-other-keys)
396 (with-directory-excursion ".."
397 (copy-file (assoc-ref inputs "ghc-testsuite")
398 "ghc-testsuite.tar.xz")
399 (zero? (system* "tar" "xvf" "ghc-testsuite.tar.xz")))))
400 (add-before 'build 'fix-lib-paths
403 (list "libraries/process/System/Process/Posix.hs"
404 "libraries/process/tests/process001.hs"
405 "libraries/process/tests/process002.hs"
406 "libraries/unix/cbits/execvpe.c")
407 (("/bin/sh") (which "sh"))
408 (("/bin/ls") (which "ls")))
410 (add-before 'build 'fix-environment
412 (unsetenv "GHC_PACKAGE_PATH")
413 (setenv "CONFIG_SHELL" (which "bash"))
415 (add-before 'check 'fix-testsuite
418 (list "testsuite/timeout/Makefile"
419 "testsuite/timeout/timeout.py"
420 "testsuite/timeout/timeout.hs"
421 "testsuite/tests/programs/life_space_leak/life.test")
422 (("/bin/sh") (which "sh"))
425 (native-search-paths (list (search-path-specification
426 (variable "GHC_PACKAGE_PATH")
428 (string-append "lib/ghc-" version)))
429 (file-pattern ".*\\.conf\\.d$")
430 (file-type 'directory))))
431 (home-page "https://www.haskell.org/ghc")
432 (synopsis "The Glasgow Haskell Compiler")
434 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
435 interactive environment for the functional language Haskell.")
436 (license license:bsd-3)))
439 (package (inherit ghc-8.0)
445 (uri (string-append "https://www.haskell.org/ghc/dist/"
446 version "/" name "-" version "-src.tar.xz"))
448 (base32 "1mk046vb561j75saz05rghhbkps46ym5aci4264dwc2qk3dayixf"))))
453 ("target-binutils" ,binutils)
455 ("target-ld-wrapper" ,(make-ld-wrapper "ld-wrapper"
456 #:binutils binutils))))
459 ("python" ,python) ; for tests
460 ("ghostscript" ,ghostscript) ; for tests
461 ;; GHC 8.4.3 is built with GHC 8.
462 ("ghc-bootstrap" ,ghc-8.0)
467 "https://www.haskell.org/ghc/dist/"
468 version "/" name "-" version "-testsuite.tar.xz"))
471 "1z55b1z0m3plqd2d1ks6w5wvx7igm7zsk3i4v7cms003z0as0hzz"))))))
473 `(#:test-target "test"
474 ;; We get a smaller number of test failures by disabling parallel test
478 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
479 ;; gremlin) doesn't support it yet, so skip this phase.
480 #:validate-runpath? #f
482 ;; Don't pass --build=<triplet>, because the configure script
483 ;; auto-detects slightly different triplets for --host and --target and
484 ;; then complains that they don't match.
489 (string-append "--with-gmp-libraries="
490 (assoc-ref %build-inputs "gmp") "/lib")
491 (string-append "--with-gmp-includes="
492 (assoc-ref %build-inputs "gmp") "/include")
493 "--with-system-libffi"
494 (string-append "--with-ffi-libraries="
495 (assoc-ref %build-inputs "libffi") "/lib")
496 (string-append "--with-ffi-includes="
497 (assoc-ref %build-inputs "libffi") "/include")
498 (string-append "--with-curses-libraries="
499 (assoc-ref %build-inputs "ncurses") "/lib")
500 (string-append "--with-curses-includes="
501 (assoc-ref %build-inputs "ncurses") "/include"))
503 (modify-phases %standard-phases
504 (add-after 'unpack 'unpack-testsuite
505 (lambda* (#:key inputs #:allow-other-keys)
507 (assoc-ref inputs "ghc-testsuite")
508 "--strip-components=1")
510 (add-after 'unpack-testsuite 'fix-shell-wrappers
512 (substitute* '("driver/ghci/ghc.mk"
513 "utils/mkdirhier/ghc.mk"
514 "rules/shell-wrapper.mk")
515 (("echo '#!/bin/sh'")
516 (format #f "echo '#!~a'" (which "sh"))))
518 ;; This is necessary because the configure system no longer uses
519 ;; “AC_PATH_” but “AC_CHECK_”, setting the variables to just the
520 ;; plain command names.
521 (add-before 'configure 'set-target-programs
522 (lambda* (#:key inputs #:allow-other-keys)
523 (let ((binutils (assoc-ref inputs "target-binutils"))
524 (gcc (assoc-ref inputs "target-gcc"))
525 (ld-wrapper (assoc-ref inputs "target-ld-wrapper")))
526 (setenv "CC" (string-append gcc "/bin/gcc"))
527 (setenv "CXX" (string-append gcc "/bin/g++"))
528 (setenv "LD" (string-append ld-wrapper "/bin/ld"))
529 (setenv "NM" (string-append binutils "/bin/nm"))
530 (setenv "RANLIB" (string-append binutils "/bin/ranlib"))
531 (setenv "STRIP" (string-append binutils "/bin/strip"))
532 ;; The 'ar' command does not follow the same pattern.
533 (setenv "fp_prog_ar" (string-append binutils "/bin/ar"))
535 (add-before 'build 'fix-references
537 (substitute* '("testsuite/timeout/Makefile"
538 "testsuite/timeout/timeout.py"
539 "testsuite/timeout/timeout.hs"
540 "testsuite/tests/programs/life_space_leak/life.test"
542 "libraries/process/System/Process/Posix.hs"
543 "libraries/process/tests/process001.hs"
544 "libraries/process/tests/process002.hs"
545 "libraries/unix/cbits/execvpe.c")
546 (("/bin/sh") (which "sh"))
547 (("/bin/ls") (which "ls"))
550 (add-before 'build 'fix-environment
552 (unsetenv "GHC_PACKAGE_PATH")
553 (setenv "CONFIG_SHELL" (which "bash"))
555 (native-search-paths (list (search-path-specification
556 (variable "GHC_PACKAGE_PATH")
558 (string-append "lib/ghc-" version)))
559 (file-pattern ".*\\.conf\\.d$")
560 (file-type 'directory))))))
562 (define-public ghc ghc-8)
564 (define-public ghc-hostname
566 (name "ghc-hostname")
571 (uri (string-append "https://hackage.haskell.org/package/hostname/"
572 "hostname-" version ".tar.gz"))
575 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
576 (build-system haskell-build-system)
577 (home-page "https://hackage.haskell.org/package/hostname")
578 (synopsis "Hostname in Haskell")
579 (description "Network.HostName is a simple package providing a means to
580 determine the hostname.")
581 (license license:bsd-3)))
583 (define-public ghc-convertible
585 (name "ghc-convertible")
590 (uri (string-append "https://hackage.haskell.org/package/convertible/"
591 "convertible-" version ".tar.gz"))
594 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
595 (build-system haskell-build-system)
597 `(("ghc-old-time" ,ghc-old-time)
598 ("ghc-old-locale" ,ghc-old-locale)
599 ("ghc-text" ,ghc-text)))
600 (home-page "https://hackage.haskell.org/package/convertible")
601 (synopsis "Typeclasses and instances for converting between types")
603 "This package provides a typeclass with a single function that is
604 designed to help convert between different types: numeric values, dates and
605 times, and the like. The conversions perform bounds checking and return a
606 pure @code{Either} value. This means that you need not remember which specific
607 function performs the conversion you desire.")
608 (license license:bsd-3)))
610 (define-public ghc-double-conversion
612 (name "ghc-double-conversion")
617 (uri (string-append "https://hackage.haskell.org/package/"
618 "double-conversion/double-conversion-"
622 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
623 (build-system haskell-build-system)
624 (inputs `(("ghc-text" ,ghc-text)))
626 `(("ghc-hunit" ,ghc-hunit)
627 ("ghc-test-framework" ,ghc-test-framework)
628 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
629 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
630 (home-page "https://github.com/bos/double-conversion")
631 (synopsis "Fast conversion between double precision floating point and text")
633 "This package provides a library that performs fast, accurate conversion
634 between double precision floating point and text.")
635 (license license:bsd-3)))
637 (define-public ghc-libxml
644 (uri (string-append "https://hackage.haskell.org/package/libxml/"
645 "libxml-" version ".tar.gz"))
648 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
649 (build-system haskell-build-system)
651 `(("libxml2" ,libxml2)))
654 `(,(string-append "--extra-include-dirs="
655 (assoc-ref %build-inputs "libxml2")
656 "/include/libxml2"))))
657 (home-page "https://hackage.haskell.org/package/libxml")
658 (synopsis "Haskell bindings to libxml2")
660 "This library provides minimal Haskell binding to libxml2.")
661 (license license:bsd-3)))
663 (define-public ghc-prelude-extras
665 (name "ghc-prelude-extras")
671 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
676 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
677 (build-system haskell-build-system)
678 (home-page "https://github.com/ekmett/prelude-extras")
679 (synopsis "Higher order versions of Prelude classes")
680 (description "This library provides higher order versions of
681 @code{Prelude} classes to ease programming with polymorphic recursion and
682 reduce @code{UndecidableInstances}.")
683 (license license:bsd-3)))
685 (define-public ghc-data-default
687 (name "ghc-data-default")
693 "https://hackage.haskell.org/package/data-default/data-default-"
697 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
698 (build-system haskell-build-system)
700 `(("ghc-data-default-class"
701 ,ghc-data-default-class)
702 ("ghc-data-default-instances-base"
703 ,ghc-data-default-instances-base)
704 ("ghc-data-default-instances-containers"
705 ,ghc-data-default-instances-containers)
706 ("ghc-data-default-instances-dlist"
707 ,ghc-data-default-instances-dlist)
708 ("ghc-data-default-instances-old-locale"
709 ,ghc-data-default-instances-old-locale)))
710 (home-page "https://hackage.haskell.org/package/data-default")
711 (synopsis "Types with default values")
713 "This package defines a class for types with a default value, and
714 provides instances for types from the base, containers, dlist and old-locale
716 (license license:bsd-3)))
718 (define-public ghc-data-default-class
720 (name "ghc-data-default-class")
726 "https://hackage.haskell.org/package/data-default-class/"
727 "data-default-class-" version ".tar.gz"))
729 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
730 (build-system haskell-build-system)
731 (home-page "https://hackage.haskell.org/package/data-default-class")
732 (synopsis "Types with default values")
734 "This package defines a class for types with default values.")
735 (license license:bsd-3)))
737 (define-public ghc-data-default-instances-base
739 (name "ghc-data-default-instances-base")
745 "https://hackage.haskell.org/package/"
746 "data-default-instances-base/"
747 "data-default-instances-base-" version ".tar.gz"))
749 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
750 (build-system haskell-build-system)
752 `(("ghc-data-default-class" ,ghc-data-default-class)))
753 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
754 (synopsis "Default instances for types in base")
756 "This package provides default instances for types from the base
758 (license license:bsd-3)))
760 (define-public ghc-data-default-instances-containers
762 (name "ghc-data-default-instances-containers")
768 "https://hackage.haskell.org/package/"
769 "data-default-instances-containers/"
770 "data-default-instances-containers-" version ".tar.gz"))
772 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
773 (build-system haskell-build-system)
775 `(("ghc-data-default-class" ,ghc-data-default-class)))
776 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
777 (synopsis "Default instances for types in containers")
778 (description "Provides default instances for types from the containers
780 (license license:bsd-3)))
782 (define-public ghc-data-default-instances-dlist
784 (name "ghc-data-default-instances-dlist")
790 "https://hackage.haskell.org/package/"
791 "data-default-instances-dlist/"
792 "data-default-instances-dlist-" version ".tar.gz"))
794 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
795 (build-system haskell-build-system)
797 `(("ghc-data-default-class" ,ghc-data-default-class)
798 ("ghc-dlist" ,ghc-dlist)))
799 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
800 (synopsis "Default instances for types in dlist")
801 (description "Provides default instances for types from the dlist
803 (license license:bsd-3)))
805 (define-public ghc-code-page
807 (name "ghc-code-page")
813 "https://hackage.haskell.org/package/code-page/code-page-"
817 "1491frk4jx6dlhifky9dvcxbsbcfssrz979a5hp5zn061rh8cp76"))))
818 (build-system haskell-build-system)
819 (home-page "https://github.com/RyanGlScott/code-page")
820 (synopsis "Windows code page library for Haskell")
821 (description "A cross-platform library with functions for adjusting
822 code pages on Windows. On all other operating systems, the library does
824 (license license:bsd-3)))
826 (define-public ghc-haddock-library
828 (name "ghc-haddock-library")
834 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
839 "0ns4bpf6whmcfl0cm2gx2c73if416x4q3ac4l4qm8w84h0zpcr7p"))))
840 (build-system haskell-build-system)
842 `(("ghc-base-compat" ,ghc-base-compat)))
844 `(("hspec-discover" ,hspec-discover)
845 ("ghc-hspec" ,ghc-hspec)
846 ("ghc-quickcheck" ,ghc-quickcheck)))
847 (home-page "https://www.haskell.org/haddock/")
848 (synopsis "Library exposing some functionality of Haddock")
850 "Haddock is a documentation-generation tool for Haskell libraries. These
851 modules expose some functionality of it without pulling in the GHC dependency.
852 Please note that the API is likely to change so specify upper bounds in your
853 project if you can't release often. For interacting with Haddock itself, see
854 the ‘haddock’ package.")
855 (license license:bsd-3)))
857 (define-public ghc-haddock-api
859 (name "ghc-haddock-api")
860 ;; This is the last version to be supported by Cabal < 2.0
866 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
871 "00fn6pzgg8xjbaw12d76jdqh2dbc5xy7miyz0x6kidvvar7i35ss"))))
872 (build-system haskell-build-system)
874 `(("ghc-paths" ,ghc-paths)
875 ("ghc-haddock-library" ,ghc-haddock-library)))
877 `(("ghc-quickcheck" ,ghc-quickcheck)
878 ("ghc-hspec" ,ghc-hspec)
879 ("hspec-discover" ,hspec-discover)))
880 (home-page "https://www.haskell.org/haddock/")
881 (synopsis "API for documentation-generation tool Haddock")
882 (description "This package provides an API to Haddock, the
883 documentation-generation tool for Haskell libraries.")
884 (license license:bsd-3)))
886 (define-public ghc-haddock-test
888 (name "ghc-haddock-test")
893 (uri (string-append "https://hackage.haskell.org/package/"
894 "haddock-test/haddock-test-"
898 "1ax8fnfrwx66csj952f3virxzapipan9da7z5l1zc12nqkifbs7w"))))
899 (build-system haskell-build-system)
901 `(("ghc-xml" ,ghc-xml)
902 ("ghc-syb" ,ghc-syb)))
903 (home-page "http://www.haskell.org/haddock/")
904 (synopsis "Test utilities for Haddock")
905 (description "This package provides test utilities for Haddock.")
906 (license license:bsd-3)))
908 (define-public ghc-haddock
916 "https://hackage.haskell.org/package/haddock/haddock-"
921 "1z3h3v7w84dzsm47iavdppc2w899mr4c1agq9fzghgz902i0a655"))))
922 (build-system haskell-build-system)
923 ;; FIXME: Tests fail with this error:
924 ;; driver-test/Main.hs:4:1: error:
925 ;; Failed to load interface for ‘ResponseFileSpec’
926 (arguments `(#:tests? #f))
927 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
929 `(("ghc-hspec" ,ghc-hspec)
930 ("ghc-haddock-test" ,ghc-haddock-test)))
931 (home-page "https://www.haskell.org/haddock/")
933 "Documentation-generation tool for Haskell libraries")
935 "Haddock is a documentation-generation tool for Haskell libraries.")
936 (license license:bsd-3)))
938 (define-public ghc-simple-reflect
940 (name "ghc-simple-reflect")
946 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
951 "1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq"))))
952 (build-system haskell-build-system)
954 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
956 "Simple reflection of expressions containing variables")
958 "This package allows simple reflection of expressions containing
959 variables. Reflection here means that a Haskell expression is turned into a
960 string. The primary aim of this package is teaching and understanding; there
961 are no options for manipulating the reflected expressions beyond showing
963 (license license:bsd-3)))
965 (define-public ghc-haskell-src
967 (name "ghc-haskell-src")
973 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
978 "19lilhpwnjb7cks9fq1ipnc8f7dwxy0ri3dgjkdxs3i355byw99a"))))
979 (build-system haskell-build-system)
981 `(("ghc-happy" ,ghc-happy)
982 ("ghc-syb" ,ghc-syb)))
984 "https://hackage.haskell.org/package/haskell-src")
986 "Support for manipulating Haskell source code")
988 "The 'haskell-src' package provides support for manipulating Haskell
989 source code. The package provides a lexer, parser and pretty-printer, and a
990 definition of a Haskell abstract syntax tree (AST). Common uses of this
991 package are to parse or generate Haskell 98 code.")
992 (license license:bsd-3)))
994 (define-public ghc-alex
1002 "https://hackage.haskell.org/package/alex/alex-"
1007 "0bi1cs9b8ir33h1fl6x2xw4ymygapqbr713ridpf7rmk2wa7jqqs"))))
1008 (build-system haskell-build-system)
1009 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
1010 (home-page "https://www.haskell.org/alex/")
1012 "Tool for generating lexical analysers in Haskell")
1014 "Alex is a tool for generating lexical analysers in Haskell. It takes a
1015 description of tokens based on regular expressions and generates a Haskell
1016 module containing code for scanning text efficiently. It is similar to the
1017 tool lex or flex for C/C++.")
1018 (license license:bsd-3)))
1020 (define-public ghc-cgi
1023 (version "3001.3.0.2")
1028 "https://hackage.haskell.org/package/cgi/cgi-"
1033 "1hbpplss1m4rdpm4ibip6fpimlhssqa14fl338kl2jbc463i64cj"))))
1034 (build-system haskell-build-system)
1036 `(#:configure-flags (list "--allow-newer=QuickCheck")))
1038 `(("ghc-parsec" ,ghc-parsec)
1039 ("ghc-exceptions" ,ghc-exceptions)
1040 ("ghc-multipart" ,ghc-multipart)
1041 ("ghc-network-uri" ,ghc-network-uri)
1042 ("ghc-network" ,ghc-network)))
1044 `(("ghc-doctest" ,ghc-doctest)
1045 ("ghc-quickcheck" ,ghc-quickcheck)))
1047 "https://github.com/cheecheeo/haskell-cgi")
1048 (synopsis "Library for writing CGI programs")
1050 "This is a Haskell library for writing CGI programs.")
1051 (license license:bsd-3)))
1053 (define-public ghc-cmdargs
1055 (name "ghc-cmdargs")
1061 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
1065 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
1066 (build-system haskell-build-system)
1068 "http://community.haskell.org/~ndm/cmdargs/")
1069 (synopsis "Command line argument processing")
1071 "This library provides an easy way to define command line parsers.")
1072 (license license:bsd-3)))
1074 (define-public ghc-concatenative
1076 (name "ghc-concatenative")
1081 "https://hackage.haskell.org/package/concatenative/concatenative-"
1085 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
1086 (build-system haskell-build-system)
1088 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
1089 (synopsis "Library for postfix control flow")
1091 "Concatenative gives Haskell Factor-style combinators and arrows for
1092 postfix notation. For more information on stack based languages, see
1093 @uref{https://concatenative.org}.")
1094 (license license:bsd-3)))
1096 (define-public ghc-happy
1104 "https://hackage.haskell.org/package/happy/happy-"
1109 "186ky3bly0i3cc56qk3r7j7pxh2108aackq4n2lli7jmbnb3kxsd"))))
1110 (build-system haskell-build-system)
1111 (home-page "https://hackage.haskell.org/package/happy")
1112 (synopsis "Parser generator for Haskell")
1113 (description "Happy is a parser generator for Haskell. Given a grammar
1114 specification in BNF, Happy generates Haskell code to parse the grammar.
1115 Happy works in a similar way to the yacc tool for C.")
1116 (license license:bsd-3)))
1118 (define-public ghc-haskell-lexer
1120 (name "ghc-haskell-lexer")
1126 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
1130 "0rj3r1pk88hh3sk3mj61whp8czz5kpxhbc78xlr04bxwqjrjmm6p"))))
1131 (build-system haskell-build-system)
1132 (home-page "http://hackage.haskell.org/package/haskell-lexer")
1133 (synopsis "Fully compliant Haskell 98 lexer")
1135 "This package provides a fully compliant Haskell 98 lexer.")
1136 (license license:bsd-3)))
1138 (define-public ghc-pretty-show
1140 (name "ghc-pretty-show")
1145 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
1146 "pretty-show-" version ".tar.gz"))
1149 "1fblcxw4z4ry14brin1mvwccs6hqqlhi7xhwv1f23szjq25cjacn"))))
1150 (build-system haskell-build-system)
1152 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
1153 ("ghc-happy" ,ghc-happy)))
1154 (home-page "http://wiki.github.com/yav/pretty-show")
1155 (synopsis "Tools for working with derived `Show` instances")
1157 "This package provides a library and an executable for working with
1158 derived @code{Show} instances. By using the library, derived @code{Show}
1159 instances can be parsed into a generic data structure. The @code{ppsh} tool
1160 uses the library to produce human-readable versions of @code{Show} instances,
1161 which can be quite handy for debugging Haskell programs. We can also render
1162 complex generic values into an interactive Html page, for easier
1164 (license license:expat)))
1166 (define-public ghc-pretty-show-for-haskell-src-exts
1167 (package (inherit ghc-pretty-show)
1168 (name "ghc-pretty-show")
1173 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
1174 "pretty-show-" version ".tar.gz"))
1177 "133s4l1gk46saf6ycm785rswycy8g3j0qqrv93b5wp8cp50kd0ww"))))))
1179 (define-public ghc-haskell-src-exts
1181 (name "ghc-haskell-src-exts")
1187 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
1192 "1jsjl9hja2dpcfq4mzlfpwyr6axwnwgacfb7aa070kz4lbygzaa8"))))
1193 (build-system haskell-build-system)
1196 ("ghc-happy" ,ghc-happy)
1197 ("ghc-pretty-show" ,ghc-pretty-show-for-haskell-src-exts)))
1199 `(("ghc-smallcheck" ,ghc-smallcheck)
1200 ("ghc-tasty" ,ghc-tasty)
1201 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
1202 ("ghc-tasty-golden" ,ghc-tasty-golden)))
1203 (home-page "https://github.com/haskell-suite/haskell-src-exts")
1204 (synopsis "Library for manipulating Haskell source")
1205 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
1206 extension of the standard @code{haskell-src} package, and handles most
1207 registered syntactic extensions to Haskell. All extensions implemented in GHC
1208 are supported. Apart from these standard extensions, it also handles regular
1209 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
1210 (license license:bsd-3)))
1212 (define-public ghc-haskell-src-exts-util
1214 (name "ghc-haskell-src-exts-util")
1219 (uri (string-append "https://hackage.haskell.org/package/"
1220 "haskell-src-exts-util/haskell-src-exts-util-"
1224 "14rhwcrdz3kfb69c64qn8kybl7wnpajrjlfz5p95ca4bva4mwclg"))))
1225 (build-system haskell-build-system)
1227 `(("ghc-data-default" ,ghc-data-default)
1228 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1229 ("ghc-semigroups" ,ghc-semigroups)
1230 ("ghc-uniplate" ,ghc-uniplate)))
1231 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
1232 (synopsis "Helper functions for working with haskell-src-exts trees")
1234 "This package provides helper functions for working with
1235 @code{haskell-src-exts} trees.")
1236 (license license:bsd-3)))
1238 (define-public ghc-refact
1245 (uri (string-append "https://hackage.haskell.org/package/"
1250 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
1251 (build-system haskell-build-system)
1252 (home-page "http://hackage.haskell.org/package/refact")
1253 (synopsis "Specify refactorings to perform with apply-refact")
1255 "This library provides a datatype which can be interpreted by
1256 @code{apply-refact}. It exists as a separate library so that applications can
1257 specify refactorings without depending on GHC.")
1258 (license license:bsd-3)))
1260 (define-public hlint
1268 "https://hackage.haskell.org/package/" name
1269 "/" name "-" version ".tar.gz"))
1272 "0mmfavd158l5ig5wb1b1zbhbraj8hhqvbk4mg85n6c8ndpr4grd4"))))
1273 (build-system haskell-build-system)
1276 ("ghc-unordered-containers" ,ghc-unordered-containers)
1277 ("ghc-yaml" ,ghc-yaml)
1278 ("ghc-vector" ,ghc-vector)
1279 ("ghc-text" ,ghc-text)
1280 ("ghc-data-default" ,ghc-data-default)
1281 ("ghc-cmdargs" ,ghc-cmdargs)
1282 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1283 ("ghc-haskell-src-exts-util" ,ghc-haskell-src-exts-util)
1284 ("ghc-uniplate" ,ghc-uniplate)
1285 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
1286 ("ghc-extra" ,ghc-extra)
1287 ("ghc-refact" ,ghc-refact)
1288 ("ghc-aeson" ,ghc-aeson)
1289 ("hscolour" ,hscolour)))
1290 (home-page "http://community.haskell.org/~ndm/hlint/")
1291 (synopsis "Suggest improvements for Haskell source code")
1292 (description "HLint reads Haskell programs and suggests changes that
1293 hopefully make them easier to read. HLint also makes it easy to disable
1294 unwanted suggestions, and to add your own custom suggestions.")
1295 (license license:bsd-3)))
1297 (define-public ghc-resourcet
1299 (name "ghc-resourcet")
1304 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
1305 "resourcet-" version ".tar.gz"))
1308 "0rzjzh34s36ssign7akqjnwnjxf11c3511wk7ky0xxy0dqmc2rg7"))))
1309 (build-system haskell-build-system)
1311 `(("ghc-transformers-base" ,ghc-transformers-base)
1312 ("ghc-monad-control" ,ghc-monad-control)
1313 ("ghc-transformers-compat" ,ghc-transformers-compat)
1314 ("ghc-mmorph" ,ghc-mmorph)
1315 ("ghc-exceptions" ,ghc-exceptions)
1316 ("ghc-unliftio-core" ,ghc-unliftio-core)))
1318 `(("ghc-lifted-base" ,ghc-lifted-base)
1319 ("ghc-hspec" ,ghc-hspec)))
1320 (home-page "https://github.com/snoyberg/conduit")
1321 (synopsis "Deterministic allocation and freeing of scarce resources")
1322 (description "ResourceT is a monad transformer which creates a region of
1323 code where you can safely allocate resources.")
1324 (license license:bsd-3)))
1326 (define-public ghc-objectname
1328 (name "ghc-objectname")
1334 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
1339 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
1340 (build-system haskell-build-system)
1341 (home-page "https://hackage.haskell.org/package/ObjectName")
1342 (synopsis "Helper library for Haskell OpenGL")
1343 (description "This tiny package contains the class ObjectName, which
1344 corresponds to the general notion of explicitly handled identifiers for API
1345 objects, e.g. a texture object name in OpenGL or a buffer object name in
1347 (license license:bsd-3)))
1349 (define-public ghc-sdl
1357 "https://hackage.haskell.org/package/SDL/SDL-"
1362 "1sa3zx3vrs1gbinxx33zwq0x2bsf3i964bff7419p7vzidn36k46"))))
1363 (build-system haskell-build-system)
1366 (home-page "https://hackage.haskell.org/package/SDL")
1367 (synopsis "LibSDL for Haskell")
1368 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
1369 multimedia library designed to provide low level access to audio, keyboard,
1370 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
1371 by MPEG playback software, emulators, and many popular games, including the
1372 award winning Linux port of \"Civilization: Call To Power.\"")
1373 (license license:bsd-3)))
1375 (define-public ghc-sdl-mixer
1377 (name "ghc-sdl-mixer")
1383 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
1388 "1fhray79d80dk2aj9mx3ks05mm48sd832g8zgxli226jx471fs8r"))))
1389 (build-system haskell-build-system)
1392 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
1393 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
1394 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
1396 `(("ghc-sdl" ,ghc-sdl)
1397 ("sdl-mixer" ,sdl-mixer)))
1398 (home-page "https://hackage.haskell.org/package/SDL-mixer")
1399 (synopsis "Haskell bindings to libSDL_mixer")
1400 (description "SDL_mixer is a sample multi-channel audio mixer library. It
1401 supports any number of simultaneously playing channels of 16 bit stereo audio,
1402 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
1403 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
1404 (license license:bsd-3)))
1406 (define-public ghc-sdl-image
1408 (name "ghc-sdl-image")
1414 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
1419 "1ybdwlqi5nqzpsbh2md5mxhwmjn910iqysf6nykwjxlmvhcjk281"))))
1420 (build-system haskell-build-system)
1423 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
1424 (sdl-image-include (string-append sdl-image "/include/SDL")))
1425 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
1427 `(("ghc-sdl" ,ghc-sdl)
1428 ("sdl-image" ,sdl-image)))
1429 (home-page "https://hackage.haskell.org/package/SDL-image")
1430 (synopsis "Haskell bindings to libSDL_image")
1431 (description "SDL_image is an image file loading library. It loads images
1432 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
1433 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
1434 (license license:bsd-3)))
1436 (define-public ghc-half
1444 "https://hackage.haskell.org/package/half/half-"
1448 "0p4sb7vv9cljv48wlx65wgdnkryrk5d6yfh7g4yrm20w1p449hl5"))))
1449 (build-system haskell-build-system)
1450 (home-page "https://github.com/ekmett/half")
1451 (synopsis "Half-precision floating-point computations")
1452 (description "This library provides a half-precision floating-point
1453 computation library for Haskell.")
1454 (license license:bsd-3)))
1456 (define-public ghc-fixed
1463 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
1467 "1qhmwx8iqshns0crmr9d2f8hm65jxbcp3dvv0c39v34ra7if3a94"))))
1468 (build-system haskell-build-system)
1469 (home-page "https://github.com/ekmett/fixed")
1470 (synopsis "Signed 15.16 precision fixed point arithmetic")
1472 "This package provides functions for signed 15.16 precision fixed point
1474 (license license:bsd-3)))
1476 (define-public ghc-openglraw
1478 (name "ghc-openglraw")
1484 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
1489 "024aln102d1mmsdalq9jd5mmwjbnrb8gxcak73lybrc7q87kswk2"))))
1490 (build-system haskell-build-system)
1492 `(("ghc-half" ,ghc-half)
1493 ("ghc-fixed" ,ghc-fixed)
1495 ("ghc-text" ,ghc-text)))
1496 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1497 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
1498 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
1499 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
1500 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
1501 offers access to all necessary functions, tokens and types plus a general
1502 facility for loading extension entries. The module hierarchy closely mirrors
1503 the naming structure of the OpenGL extensions, making it easy to find the
1504 right module to import. All API entries are loaded dynamically, so no special
1505 C header files are needed for building this package. If an API entry is not
1506 found at runtime, a userError is thrown.")
1507 (license license:bsd-3)))
1509 (define-public ghc-glut
1512 (version "2.7.0.10")
1517 "https://hackage.haskell.org/package/GLUT/GLUT-"
1522 "0sbm943bg896nf3qjmlnsg3zzrr3pl330rzh9g0hwv47nzwwn4ab"))))
1523 (build-system haskell-build-system)
1525 `(("ghc-statevar" ,ghc-statevar)
1526 ("ghc-opengl" ,ghc-opengl)
1527 ("ghc-openglraw" ,ghc-openglraw)
1528 ("freeglut" ,freeglut)))
1529 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1530 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
1531 (description "This library provides Haskell bindings for the OpenGL
1532 Utility Toolkit, a window system-independent toolkit for writing OpenGL
1534 (license license:bsd-3)))
1536 (define-public ghc-gluraw
1544 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
1549 "1phmvxr0kkxq89ykmr8rj77inj8dvcxd6h72z1ncdgdazfz3sjw8"))))
1550 (build-system haskell-build-system)
1552 `(("ghc-openglraw" ,ghc-openglraw)))
1553 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1554 (synopsis "Raw Haskell bindings GLU")
1555 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
1556 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
1557 basis for a nicer interface.")
1558 (license license:bsd-3)))
1560 (define-public ghc-opengl
1568 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
1573 "1nm2mzrn1h2nnfs9vl5p088hqpll7rdvcsyqsn8q641im9jhqp7l"))))
1574 (build-system haskell-build-system)
1576 `(("ghc-text" ,ghc-text)
1577 ("ghc-objectname" ,ghc-objectname)
1578 ("ghc-gluraw" ,ghc-gluraw)
1579 ("ghc-statevar" ,ghc-statevar)
1580 ("ghc-openglraw" ,ghc-openglraw)))
1581 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1582 (synopsis "Haskell bindings for the OpenGL graphics system")
1583 (description "This package provides Haskell bindings for the OpenGL
1584 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
1586 (license license:bsd-3)))
1588 (define-public ghc-streaming-commons
1590 (name "ghc-streaming-commons")
1595 (uri (string-append "https://hackage.haskell.org/package/"
1596 "streaming-commons/streaming-commons-"
1600 "13fn6qmpiggwpn8lczyydgp77cyzfypwds7wxskrwir4i5cgxlfq"))))
1601 (build-system haskell-build-system)
1603 `(("ghc-async" ,ghc-async)
1604 ("ghc-blaze-builder" ,ghc-blaze-builder)
1605 ("ghc-network" ,ghc-network)
1606 ("ghc-random" ,ghc-random)
1607 ("ghc-stm" ,ghc-stm)
1608 ("ghc-text" ,ghc-text)
1609 ("ghc-zlib" ,ghc-zlib)))
1611 `(("ghc-quickcheck" ,ghc-quickcheck)
1612 ("ghc-hspec" ,ghc-hspec)
1613 ("hspec-discover" ,hspec-discover)))
1614 (home-page "https://hackage.haskell.org/package/streaming-commons")
1615 (synopsis "Conduit and pipes needed by some streaming data libraries")
1616 (description "This package provides low-dependency functionality commonly
1617 needed by various Haskell streaming data libraries, such as @code{conduit} and
1619 (license license:expat)))
1621 (define-public cpphs
1629 "https://hackage.haskell.org/package/" name "/"
1630 name "-" version ".tar.gz"))
1633 "1bh524asqhk9v1s0wvipl0hgn7l63iy3js867yv0z3h5v2kn8vg5"))))
1634 (build-system haskell-build-system)
1636 `(("ghc-polyparse" ,ghc-polyparse)
1637 ("ghc-old-locale" ,ghc-old-locale)
1638 ("ghc-old-time" ,ghc-old-time)))
1639 (home-page "http://projects.haskell.org/cpphs/")
1640 (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
1641 (description "Cpphs is a re-implementation of the C pre-processor that is
1642 both more compatible with Haskell, and itself written in Haskell so that it
1643 can be distributed with compilers. This version of the C pre-processor is
1644 pretty-much feature-complete and compatible with traditional (K&R)
1645 pre-processors. Additional features include: a plain-text mode; an option to
1646 unlit literate code files; and an option to turn off macro-expansion.")
1647 (license (list license:lgpl2.1+ license:gpl3+))))
1649 (define-public ghc-reflection
1651 (name "ghc-reflection")
1657 "https://hackage.haskell.org/package/reflection/reflection-"
1662 "0f9w0akbm6p8h7kzgcd2f6nnpw1wy84pqn45vfz1ch5j0hn8h2d9"))))
1663 (build-system haskell-build-system)
1664 (inputs `(("ghc-tagged" ,ghc-tagged)))
1665 (home-page "https://github.com/ekmett/reflection")
1666 (synopsis "Reify arbitrary terms into types that can be reflected back
1668 (description "This package addresses the 'configuration problem' which is
1669 propogating configurations that are available at run-time, allowing multiple
1670 configurations to coexist without resorting to mutable global variables or
1671 @code{System.IO.Unsafe.unsafePerformIO}.")
1672 (license license:bsd-3)))
1674 (define-public ghc-old-locale
1676 (name "ghc-old-locale")
1682 "https://hackage.haskell.org/package/old-locale/old-locale-"
1686 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
1687 (build-system haskell-build-system)
1689 `(#:configure-flags (list "--allow-newer=base")))
1690 (home-page "https://hackage.haskell.org/package/old-locale")
1691 (synopsis "Adapt to locale conventions")
1693 "This package provides the ability to adapt to locale conventions such as
1694 date and time formats.")
1695 (license license:bsd-3)))
1697 (define-public ghc-old-time
1699 (name "ghc-old-time")
1705 "https://hackage.haskell.org/package/old-time/old-time-"
1710 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
1711 (build-system haskell-build-system)
1713 `(#:configure-flags (list "--allow-newer=base")))
1715 `(("ghc-old-locale" ,ghc-old-locale)))
1716 (home-page "https://hackage.haskell.org/package/old-time")
1717 (synopsis "Time compatibility library for Haskell")
1718 (description "Old-time is a package for backwards compatibility with the
1719 old @code{time} library. For new projects, the newer
1720 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
1721 (license license:bsd-3)))
1723 (define-public ghc-data-default-instances-old-locale
1725 (name "ghc-data-default-instances-old-locale")
1731 "https://hackage.haskell.org/package/"
1732 "data-default-instances-old-locale/"
1733 "data-default-instances-old-locale-" version ".tar.gz"))
1735 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
1736 (build-system haskell-build-system)
1738 `(("ghc-data-default-class" ,ghc-data-default-class)
1739 ("ghc-old-locale" ,ghc-old-locale)))
1741 "https://hackage.haskell.org/package/data-default-instances-old-locale")
1742 (synopsis "Default instances for types in old-locale")
1743 (description "Provides Default instances for types from the old-locale
1745 (license license:bsd-3)))
1747 (define-public ghc-dlist
1755 "https://hackage.haskell.org/package/dlist/dlist-"
1759 (base32 "0yirrh0s6acjy9hhvf5fqg2d6q5y6gm9xs04v6w1imndh1xqdwdc"))))
1760 (build-system haskell-build-system)
1762 `(("ghc-quickcheck" ,ghc-quickcheck)))
1763 (home-page "https://github.com/spl/dlist")
1764 (synopsis "Difference lists")
1766 "Difference lists are a list-like type supporting O(1) append. This is
1767 particularly useful for efficient logging and pretty printing (e.g. with the
1768 Writer monad), where list append quickly becomes too expensive.")
1769 (license license:bsd-3)))
1771 (define-public ghc-extensible-exceptions
1773 (name "ghc-extensible-exceptions")
1778 (uri (string-append "https://hackage.haskell.org/package/"
1779 "extensible-exceptions/extensible-exceptions-"
1782 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
1783 (build-system haskell-build-system)
1784 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
1785 (synopsis "Extensible exceptions for Haskell")
1787 "This package provides extensible exceptions for both new and old
1788 versions of GHC (i.e., < 6.10).")
1789 (license license:bsd-3)))
1791 (define-public cabal-install
1793 (name "cabal-install")
1794 (version "1.22.6.0")
1799 "https://hackage.haskell.org/package/cabal-install/cabal-install-"
1803 (base32 "1d5h7h2wjwc2s3dvsvzjgmmfrfl2312ym2h6kyjgm9wnaqw9w8wx"))))
1804 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
1805 (build-system haskell-build-system)
1807 `(("ghc-http" ,ghc-http)
1808 ("ghc-network-uri" ,ghc-network-uri)
1809 ("ghc-network" ,ghc-network)
1810 ("ghc-random" ,ghc-random)
1811 ("ghc-stm" ,ghc-stm)
1812 ("ghc-zlib" ,ghc-zlib)))
1813 (home-page "https://www.haskell.org/cabal/")
1814 (synopsis "Command-line interface for Cabal and Hackage")
1816 "The cabal command-line program simplifies the process of managing
1817 Haskell software by automating the fetching, configuration, compilation and
1818 installation of Haskell libraries and programs.")
1819 (license license:bsd-3)))
1821 (define-public cabal-doctest
1823 (name "cabal-doctest")
1828 (uri (string-append "https://hackage.haskell.org/package/"
1829 "cabal-doctest/cabal-doctest-"
1833 "0bgd4jdmzxq5y465r4sf4jv2ix73yvblnr4c9wyazazafddamjny"))))
1834 (build-system haskell-build-system)
1837 ("1" "1bk85avgc93yvcggwbk01fy8nvg6753wgmaanhkry0hz55h7mpld")))
1838 (home-page "https://github.com/phadej/cabal-doctest")
1839 (synopsis "Setup.hs helper for running doctests")
1841 "To properly work, the @code{doctest} package needs plenty of
1842 configuration. This library provides the common bits for writing custom
1843 @file{Setup.hs} files.")
1844 (license license:bsd-3)))
1846 (define-public ghc-parsec-numbers
1848 (name "ghc-parsec-numbers")
1853 (uri (string-append "https://hackage.haskell.org/package/"
1854 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
1856 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
1857 (build-system haskell-build-system)
1859 `(("ghc-parsec" ,ghc-parsec)))
1860 (home-page "https://hackage.haskell.org/package/parsec-numbers")
1861 (synopsis "Utilities for parsing numbers from strings")
1863 "This package provides the number parsers without the need to use a large
1864 (and unportable) token parser.")
1865 (license license:bsd-3)))
1867 (define-public ghc-paths
1871 (outputs '("out" "doc"))
1876 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
1881 "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg"))))
1882 (build-system haskell-build-system)
1883 (home-page "https://github.com/simonmar/ghc-paths")
1885 "Knowledge of GHC's installation directories")
1887 "Knowledge of GHC's installation directories.")
1888 (license license:bsd-3)))
1890 (define-public ghc-utf8-string
1892 (name "ghc-utf8-string")
1898 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
1902 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
1903 (build-system haskell-build-system)
1905 `(#:configure-flags (list "--allow-newer=base")))
1906 (home-page "https://github.com/glguy/utf8-string/")
1907 (synopsis "Support for reading and writing UTF8 Strings")
1909 "A UTF8 layer for Strings. The utf8-string package provides operations
1910 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
1911 UTF8 without truncation.")
1912 (license license:bsd-3)))
1914 (define-public ghc-setenv
1922 "https://hackage.haskell.org/package/setenv/setenv-"
1927 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
1928 (build-system haskell-build-system)
1929 (home-page "https://hackage.haskell.org/package/setenv")
1930 (synopsis "Library for setting environment variables")
1931 (description "This package provides a Haskell library for setting
1932 environment variables.")
1933 (license license:expat)))
1935 (define-public ghc-setlocale
1937 (name "ghc-setlocale")
1942 "https://hackage.haskell.org/package/setlocale-"
1943 version "/setlocale-" version ".tar.gz"))
1946 "1rl8qb8vzv8fdbczy2dxwgn4cb68lfrjdxf2w8nn9wy1acqzcyjq"))))
1947 (build-system haskell-build-system)
1948 (home-page "https://hackage.haskell.org/package/setlocale")
1949 (synopsis "Haskell bindings to setlocale")
1950 (description "This package provides Haskell bindings to the
1951 @code{setlocale} C function.")
1952 (license license:bsd-3)))
1954 (define-public ghc-x11
1961 (uri (string-append "https://hackage.haskell.org/package/X11/"
1962 "X11-" version ".tar.gz"))
1964 (base32 "13lxq36856fzp61y4api78vssykyh8fm2aplr0nsj18ymdm1c6sl"))))
1965 (build-system haskell-build-system)
1967 `(("libx11" ,libx11)
1968 ("libxrandr" ,libxrandr)
1969 ("libxinerama" ,libxinerama)
1970 ("libxscrnsaver" ,libxscrnsaver)
1971 ("ghc-data-default" ,ghc-data-default)))
1972 (home-page "https://github.com/haskell-pkg-janitors/X11")
1973 (synopsis "Bindings to the X11 graphics library")
1975 "This package provides Haskell bindings to the X11 graphics library. The
1976 bindings are a direct translation of the C bindings.")
1977 (license license:bsd-3)))
1979 (define-public ghc-x11-xft
1981 (name "ghc-x11-xft")
1986 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
1987 "X11-xft-" version ".tar.gz"))
1989 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
1991 `(("ghc-x11" ,ghc-x11)
1992 ("ghc-utf8-string" ,ghc-utf8-string)
1995 ("xorgproto" ,xorgproto)))
1997 `(("pkg-config" ,pkg-config)))
1998 (build-system haskell-build-system)
1999 (home-page "https://hackage.haskell.org/package/X11-xft")
2000 (synopsis "Bindings to Xft")
2002 "Bindings to the Xft, X Free Type interface library, and some Xrender
2004 (license license:lgpl2.1)))
2006 (define-public ghc-stringbuilder
2008 (name "ghc-stringbuilder")
2014 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
2019 "1ap95xphqnrhv64c2a137wqslkdmb2jjd9ldb17gs1pw48k8hrl9"))))
2020 (build-system haskell-build-system)
2021 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
2023 (home-page "https://hackage.haskell.org/package/stringbuilder")
2024 (synopsis "Writer monad for multi-line string literals")
2025 (description "This package provides a writer monad for multi-line string
2027 (license license:expat)))
2029 (define-public ghc-zlib
2033 (outputs '("out" "doc"))
2038 "https://hackage.haskell.org/package/zlib/zlib-"
2043 "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d"))))
2044 (build-system haskell-build-system)
2045 (arguments `(#:configure-flags (list "--allow-newer=tasty")))
2046 (inputs `(("zlib" ,zlib)))
2048 `(("ghc-quickcheck" ,ghc-quickcheck)
2049 ("ghc-tasty" ,ghc-tasty)
2050 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2051 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
2052 (home-page "https://hackage.haskell.org/package/zlib")
2054 "Compression and decompression in the gzip and zlib formats")
2056 "This package provides a pure interface for compressing and decompressing
2057 streams of data represented as lazy 'ByteString's. It uses the zlib C library
2058 so it has high performance. It supports the 'zlib', 'gzip' and 'raw'
2059 compression formats. It provides a convenient high level API suitable for
2060 most tasks and for the few cases where more control is needed it provides
2061 access to the full zlib feature set.")
2062 (license license:bsd-3)))
2064 (define-public ghc-stm
2068 (outputs '("out" "doc"))
2073 "https://hackage.haskell.org/package/stm/stm-"
2078 "19sr11a0hqikhvf561b38phz6k3zg9s157a0f5ffvghk7wcdpmri"))))
2079 (build-system haskell-build-system)
2080 (home-page "https://hackage.haskell.org/package/stm")
2081 (synopsis "Software Transactional Memory")
2083 "Software Transactional Memory, or STM, is an abstraction for concurrent
2084 communication. The main benefits of STM are composability and modularity.
2085 That is, using STM you can write concurrent abstractions that can be easily
2086 composed with any other abstraction built using STM, without exposing the
2087 details of how your abstraction ensures safety. This is typically not the
2088 case with other forms of concurrent communication, such as locks or
2090 (license license:bsd-3)))
2092 (define-public ghc-parallel
2094 (name "ghc-parallel")
2096 (outputs '("out" "doc"))
2101 "https://hackage.haskell.org/package/parallel/parallel-"
2106 "09l52k1gsn667lmv0pp052cbwkzkbhfivp51f2xkrlfzf6xwvqsd"))))
2107 (build-system haskell-build-system)
2108 (home-page "https://hackage.haskell.org/package/parallel")
2109 (synopsis "Parallel programming library")
2111 "This package provides a library for parallel programming.")
2112 (license license:bsd-3)))
2114 (define-public ghc-safesemaphore
2116 (name "ghc-safesemaphore")
2121 (uri (string-append "https://hackage.haskell.org/package/"
2122 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
2125 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
2126 (build-system haskell-build-system)
2128 `(("ghc-stm" ,ghc-stm)))
2130 `(("ghc-hunit" ,ghc-hunit)))
2131 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
2132 (synopsis "Exception safe semaphores")
2133 (description "This library provides exception safe semaphores that can be
2134 used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
2135 are not exception safe and can be broken by @code{killThread}.")
2136 (license license:bsd-3)))
2138 (define-public ghc-text
2142 (outputs '("out" "doc"))
2147 "https://hackage.haskell.org/package/text/text-"
2152 "1y9d0zjs2ls0c574mr5xw7y3y49s62sd3wcn9lhpwz8a6q352iii"))))
2153 (build-system haskell-build-system)
2154 ;; The test dependencies depend on ghc-text: ghc-test-framework -> ghc-xml -> ghc-text
2155 (arguments `(#:tests? #f))
2157 `(("ghc-random" ,ghc-random)))
2158 (home-page "https://github.com/bos/text")
2159 (synopsis "Efficient packed Unicode text type library")
2161 "An efficient packed, immutable Unicode text type (both strict and
2162 lazy), with a powerful loop fusion optimization framework.
2164 The 'Text' type represents Unicode character strings, in a time and
2165 space-efficient manner. This package provides text processing
2166 capabilities that are optimized for performance critical use, both
2167 in terms of large data quantities and high speed.")
2168 (license license:bsd-3)))
2170 (define-public ghc-text-binary
2172 (name "ghc-text-binary")
2177 (uri (string-append "https://hackage.haskell.org/package/"
2178 "text-binary/text-binary-"
2182 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
2183 (build-system haskell-build-system)
2184 (inputs `(("ghc-text" ,ghc-text)))
2185 (home-page "https://github.com/kawu/text-binary")
2186 (synopsis "Binary instances for text types")
2188 "This package provides a compatibility layer providing @code{Binary}
2189 instances for strict and lazy text types for versions older than 1.2.1 of the
2191 (license license:bsd-2)))
2193 (define-public ghc-strict
2200 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
2203 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
2204 (build-system haskell-build-system)
2205 (home-page "https://hackage.haskell.org/package/strict")
2206 (synopsis "Strict data types and String IO")
2208 "This package provides strict versions of some standard Haskell data
2209 types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
2211 (license license:bsd-3)))
2213 (define-public ghc-hashable
2215 (name "ghc-hashable")
2217 (outputs '("out" "doc"))
2222 "https://hackage.haskell.org/package/hashable/hashable-"
2227 "0ymv2mcrrgbdc2w39rib171fwnhg7fgp0sy4h8amrh1vw64qgjll"))))
2228 (build-system haskell-build-system)
2230 `(("ghc-text" ,ghc-text)
2231 ("ghc-random" ,ghc-random)))
2233 `(("ghc-test-framework" ,ghc-test-framework)
2234 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2235 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
2236 ("ghc-hunit" ,ghc-hunit)
2237 ("ghc-quickcheck" ,ghc-quickcheck)))
2238 (home-page "https://github.com/tibbe/hashable")
2239 (synopsis "Class for types that can be converted to a hash value")
2241 "This package defines a class, @code{Hashable}, for types that can be
2242 converted to a hash value. This class exists for the benefit of hashing-based
2243 data structures. The package provides instances for basic types and a way to
2244 combine hash values.")
2245 (license license:bsd-3)))
2247 (define-public ghc-hashable-time
2249 (name "ghc-hashable-time")
2255 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
2260 "0k932nyd08l3xxbh2g3n76py2f4kd9yw4s5a065vjz0xp6wjnxdm"))))
2261 (build-system haskell-build-system)
2262 (inputs `(("ghc-hashable" ,ghc-hashable)))
2263 (home-page "http://hackage.haskell.org/package/hashable-time")
2264 (synopsis "Hashable instances for Data.Time")
2266 "This package provides @code{Hashable} instances for types in
2268 (license license:bsd-3)))
2270 (define-public ghc-data-hash
2272 (name "ghc-data-hash")
2277 (uri (string-append "https://hackage.haskell.org/package/data-hash"
2278 "/data-hash-" version ".tar.gz"))
2280 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
2281 (build-system haskell-build-system)
2283 `(("ghc-quickcheck" ,ghc-quickcheck)
2284 ("ghc-test-framework" ,ghc-test-framework)
2285 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2286 (home-page "https://hackage.haskell.org/package/data-hash")
2287 (synopsis "Combinators for building fast hashing functions")
2289 "This package provides combinators for building fast hashing functions.
2290 It includes hashing functions for all basic Haskell98 types.")
2291 (license license:bsd-3)))
2293 (define-public ghc-murmur-hash
2295 (name "ghc-murmur-hash")
2300 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
2301 "/murmur-hash-" version ".tar.gz"))
2303 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
2304 (build-system haskell-build-system)
2305 (home-page "https://github.com/nominolo/murmur-hash")
2306 (synopsis "MurmurHash2 implementation for Haskell")
2308 "This package provides an implementation of MurmurHash2, a good, fast,
2309 general-purpose, non-cryptographic hashing function. See
2310 @url{https://sites.google.com/site/murmurhash/} for details. This
2311 implementation is pure Haskell, so it might be a bit slower than a C FFI
2313 (license license:bsd-3)))
2315 (define-public ghc-random
2319 (outputs '("out" "doc"))
2324 "https://hackage.haskell.org/package/random/random-"
2328 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
2329 (build-system haskell-build-system)
2330 (home-page "https://hackage.haskell.org/package/random")
2331 (synopsis "Random number library")
2332 (description "This package provides a basic random number generation
2333 library, including the ability to split random number generators.")
2334 (license license:bsd-3)))
2336 (define-public ghc-primitive
2338 (name "ghc-primitive")
2340 (outputs '("out" "doc"))
2345 "https://hackage.haskell.org/package/primitive/primitive-"
2350 "0mcmbnj08wd6zfwn7xk6zf5hy5zwbla5v78pw0dpymqg9s0gzpnd"))))
2351 (build-system haskell-build-system)
2353 "https://github.com/haskell/primitive")
2354 (synopsis "Primitive memory-related operations")
2356 "This package provides various primitive memory-related operations.")
2357 (license license:bsd-3)))
2359 (define-public ghc-tf-random
2361 (name "ghc-tf-random")
2363 (outputs '("out" "doc"))
2368 "https://hackage.haskell.org/package/tf-random/tf-random-"
2372 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
2373 (build-system haskell-build-system)
2375 `(("ghc-primitive" ,ghc-primitive)
2376 ("ghc-random" ,ghc-random)))
2377 (home-page "https://hackage.haskell.org/package/tf-random")
2378 (synopsis "High-quality splittable pseudorandom number generator")
2379 (description "This package contains an implementation of a high-quality
2380 splittable pseudorandom number generator. The generator is based on a
2381 cryptographic hash function built on top of the ThreeFish block cipher. See
2382 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
2383 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
2384 (license license:bsd-3)))
2386 (define-public ghc-transformers-base
2388 (name "ghc-transformers-base")
2394 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
2399 "11r3slgpgpra6zi2kjg3g60gvv17b1fh6qxipcpk8n86qx7lk8va"))))
2400 (build-system haskell-build-system)
2402 `(("ghc-stm" ,ghc-stm)
2403 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2405 "https://hackage.haskell.org/package/transformers-compat")
2407 "Backported transformer library")
2409 "Backported versions of types that were added to transformers in
2410 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
2411 compatibility to run on old versions of the platform.")
2412 (license license:bsd-3)))
2414 (define-public ghc-transformers-compat
2416 (name "ghc-transformers-compat")
2422 "https://hackage.haskell.org/package/transformers-compat"
2423 "/transformers-compat-" version ".tar.gz"))
2426 "17yam0199fh9ndsn9n69jx9nvbsmymzzwbi23dck3dk4q57fz0fq"))))
2427 (build-system haskell-build-system)
2428 (home-page "https://github.com/ekmett/transformers-compat/")
2429 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
2430 (description "This package includes backported versions of types that were
2431 added to transformers in transformers 0.3 and 0.4 for users who need strict
2432 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
2433 but also need those types.")
2434 (license license:bsd-3)))
2436 (define-public ghc-unix-time
2438 (name "ghc-unix-time")
2444 "https://hackage.haskell.org/package/unix-time/unix-time-"
2449 "1qdlc9raih8s0m3x8x3n7q3ngh4faw2alv9l78sp6gnx648k0c8i"))))
2450 (build-system haskell-build-system)
2452 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
2453 ; is weird, that should be provided by GHC 7.10.2.
2455 `(("ghc-old-time" ,ghc-old-time)
2456 ("ghc-old-locale" ,ghc-old-locale)))
2457 (home-page "https://hackage.haskell.org/package/unix-time")
2458 (synopsis "Unix time parser/formatter and utilities")
2459 (description "This library provides fast parsing and formatting utilities
2460 for Unix time in Haskell.")
2461 (license license:bsd-3)))
2463 (define-public ghc-unix-compat
2465 (name "ghc-unix-compat")
2471 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
2476 "036nv05w0yjxc3rfpar60ddjrlzc40mdgr5k6ihvwlvqfmq1gw9m"))))
2477 (build-system haskell-build-system)
2479 "https://github.com/jystic/unix-compat")
2480 (synopsis "Portable POSIX-compatibility layer")
2482 "This package provides portable implementations of parts of the unix
2483 package. This package re-exports the unix package when available. When it
2484 isn't available, portable implementations are used.")
2485 (license license:bsd-3)))
2487 (define-public ghc-indents
2489 (name "ghc-indents")
2494 "https://hackage.haskell.org/package/indents/indents-"
2498 "16lz21bp9j14xilnq8yym22p3saxvc9fsgfcf5awn2a6i6n527xn"))))
2499 (build-system haskell-build-system)
2501 `(("ghc-parsec" ,ghc-parsec)
2502 ("ghc-concatenative" ,ghc-concatenative)))
2503 (home-page "http://patch-tag.com/r/salazar/indents")
2504 (synopsis "Indentation sensitive parser-combinators for parsec")
2506 "This library provides functions for use in parsing indentation sensitive
2507 contexts. It parses blocks of lines all indented to the same level as well as
2508 lines continued at an indented level below.")
2509 (license license:bsd-3)))
2511 (define-public ghc-iproute
2513 (name "ghc-iproute")
2519 "https://hackage.haskell.org/package/iproute/iproute-"
2524 "1viyxq3m1aifl05w0hxwrhhhcfpmvwz4ymil2gngi4nfm0yd1f2p"))))
2525 (build-system haskell-build-system)
2526 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
2527 ; exported by ghc-byteorder. Doctest issue.
2529 `(("ghc-appar" ,ghc-appar)
2530 ("ghc-byteorder" ,ghc-byteorder)
2531 ("ghc-network" ,ghc-network)
2532 ("ghc-safe" ,ghc-safe)))
2533 (home-page "https://www.mew.org/~kazu/proj/iproute/")
2534 (synopsis "IP routing table")
2535 (description "IP Routing Table is a tree of IP ranges to search one of
2536 them on the longest match base. It is a kind of TRIE with one way branching
2537 removed. Both IPv4 and IPv6 are supported.")
2538 (license license:bsd-3)))
2540 (define-public ghc-iwlib
2547 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
2550 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
2551 (build-system haskell-build-system)
2553 `(("wireless-tools" ,wireless-tools)))
2554 (home-page "https://github.com/jaor/iwlib")
2555 (synopsis "Haskell binding to the iw wireless networking library")
2557 "IWlib is a thin Haskell binding to the iw C library. It provides
2558 information about the current wireless network connections, and adapters on
2559 supported systems.")
2560 (license license:bsd-3)))
2562 (define-public ghc-regex-base
2564 (name "ghc-regex-base")
2570 "https://hackage.haskell.org/package/regex-base/regex-base-"
2575 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
2576 (build-system haskell-build-system)
2578 "https://sourceforge.net/projects/lazy-regex")
2579 (synopsis "Replaces/Enhances Text.Regex")
2580 (description "@code{Text.Regex.Base} provides the interface API for
2581 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
2582 (license license:bsd-3)))
2584 (define-public ghc-regex-posix
2586 (name "ghc-regex-posix")
2592 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
2597 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
2598 (build-system haskell-build-system)
2600 `(("ghc-regex-base" ,ghc-regex-base)))
2601 (home-page "https://sourceforge.net/projects/lazy-regex")
2602 (synopsis "POSIX regular expressions for Haskell")
2603 (description "This library provides the POSIX regex backend used by the
2604 Haskell library @code{regex-base}.")
2605 (license license:bsd-3)))
2607 (define-public ghc-regex-compat
2609 (name "ghc-regex-compat")
2615 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
2620 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
2621 (build-system haskell-build-system)
2623 `(("ghc-regex-base" ,ghc-regex-base)
2624 ("ghc-regex-posix" ,ghc-regex-posix)))
2625 (home-page "https://sourceforge.net/projects/lazy-regex")
2626 (synopsis "Replaces/Enhances Text.Regex")
2627 (description "This library provides one module layer over
2628 @code{regex-posix} to replace @code{Text.Regex}.")
2629 (license license:bsd-3)))
2631 (define-public ghc-regex-tdfa-rc
2633 (name "ghc-regex-tdfa-rc")
2639 "https://hackage.haskell.org/package/regex-tdfa-rc/regex-tdfa-rc-"
2644 "1vi11i23gkkjg6193ak90g55akj69bhahy542frkwb68haky4pp3"))))
2645 (build-system haskell-build-system)
2647 `(("ghc-regex-base" ,ghc-regex-base)
2648 ("ghc-parsec" ,ghc-parsec)))
2650 "https://hackage.haskell.org/package/regex-tdfa")
2651 (synopsis "Tagged DFA regex engine for Haskell")
2652 (description "A new all-Haskell \"tagged\" DFA regex engine, inspired by
2653 @code{libtre} (fork by Roman Cheplyaka).")
2654 (license license:bsd-3)))
2656 (define-public ghc-regex-tdfa-text
2658 (name "ghc-regex-tdfa-text")
2664 "https://hackage.haskell.org/package/regex-tdfa-text/"
2665 "regex-tdfa-text-" version ".tar.gz"))
2668 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
2669 (build-system haskell-build-system)
2671 `(("ghc-text" ,ghc-text)
2672 ("ghc-regex-base" ,ghc-regex-base)
2673 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
2675 "http://hackage.haskell.org/package/regex-tdfa-text")
2676 (synopsis "Text interface for regex-tdfa")
2678 "This provides an extra text interface for regex-tdfa.")
2679 (license license:bsd-3)))
2681 (define-public ghc-regex
2688 (uri (string-append "https://hackage.haskell.org/package/regex/"
2689 "regex-" version ".tar.gz"))
2692 "1sjkpkgv4phy5b5v2lr89x4vx4dh44pj0sbvlsp6n86w9v6v4jwb"))))
2693 (build-system haskell-build-system)
2695 `(("ghc-base-compat" ,ghc-base-compat)
2696 ("ghc-hashable" ,ghc-hashable)
2697 ("ghc-regex-base" ,ghc-regex-base)
2698 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
2699 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
2700 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
2701 ("ghc-text" ,ghc-text)
2702 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
2703 ("ghc-unordered-containers" ,ghc-unordered-containers)
2704 ("ghc-utf8-string" ,ghc-utf8-string)))
2705 (home-page "http://regex.uk")
2706 (synopsis "Toolkit for regex-base")
2708 "This package provides a regular expression toolkit for @code{regex-base}
2709 with compile-time checking of regular expression syntax, data types for
2710 matches and captures, a text replacement toolkit, portable options, high-level
2711 AWK-like tools for building text processing apps, regular expression macros
2712 with parsers and test bench, comprehensive documentation, tutorials and
2714 (license license:bsd-3)))
2716 (define-public ghc-parsers
2718 (name "ghc-parsers")
2724 "https://hackage.haskell.org/package/parsers/parsers-"
2729 "07najh7f9y3ahh42z96sw4hnd0kc4x3wm0xlf739y0gh81ys5097"))))
2730 (build-system haskell-build-system)
2731 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2732 ; -package attoparsec-0.13.0.1"
2734 `(("ghc-base-orphans" ,ghc-base-orphans)
2735 ("ghc-attoparsec" ,ghc-attoparsec)
2736 ("ghc-parsec" ,ghc-parsec)
2737 ("ghc-scientific" ,ghc-scientific)
2738 ("ghc-charset" ,ghc-charset)
2739 ("ghc-text" ,ghc-text)
2740 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2741 (home-page "https://github.com/ekmett/parsers/")
2742 (synopsis "Parsing combinators")
2743 (description "This library provides convenient combinators for working
2744 with and building parsing combinator libraries. Given a few simple instances,
2745 you get access to a large number of canned definitions. Instances exist for
2746 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
2748 (license license:bsd-3)))
2750 (define-public ghc-trifecta
2752 (name "ghc-trifecta")
2757 "https://hackage.haskell.org/package/trifecta/"
2758 "trifecta-" version ".tar.gz"))
2761 "13n6a3fdxngnzsjnhfrzigv1c2g0xm6lqkjcnirpc37sd0rpby31"))))
2762 (build-system haskell-build-system)
2764 `(("ghc-doctest" ,ghc-doctest-0.13)
2765 ("ghc-reducers" ,ghc-reducers)
2766 ("ghc-semigroups" ,ghc-semigroups)
2767 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
2768 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2769 ("ghc-blaze-builder" ,ghc-blaze-builder)
2770 ("ghc-blaze-html" ,ghc-blaze-html)
2771 ("ghc-blaze-markup" ,ghc-blaze-markup)
2772 ("ghc-charset" ,ghc-charset)
2773 ("ghc-comonad" ,ghc-comonad)
2774 ("ghc-doctest" ,ghc-doctest)
2775 ("ghc-fingertree" ,ghc-fingertree)
2776 ("ghc-hashable" ,ghc-hashable)
2777 ("ghc-lens" ,ghc-lens)
2778 ("ghc-parsers" ,ghc-parsers)
2779 ("ghc-profunctors" ,ghc-profunctors)
2780 ("ghc-quickcheck" ,ghc-quickcheck)
2781 ("ghc-unordered-containers" ,ghc-unordered-containers)
2782 ("ghc-utf8-string" ,ghc-utf8-string)))
2784 `(("cabal-doctest" ,cabal-doctest)))
2785 (home-page "https://github.com/ekmett/trifecta/")
2786 (synopsis "Parser combinator library with convenient diagnostics")
2787 (description "Trifecta is a modern parser combinator library for Haskell,
2788 with slicing and Clang-style colored diagnostics.")
2789 (license license:bsd-3)))
2791 (define-public ghc-time-locale-compat
2793 (name "ghc-time-locale-compat")
2798 (uri (string-append "https://hackage.haskell.org/package/"
2799 "time-locale-compat/time-locale-compat-"
2803 "1vdcfr2hp9qh3ag90x6ikbdf42wiqpdylnplffna54bpnilbyi4i"))))
2804 (build-system haskell-build-system)
2805 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
2806 (home-page "https://github.com/khibino/haskell-time-locale-compat")
2807 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
2808 (description "This package contains a wrapped name module for
2809 @code{TimeLocale}.")
2810 (license license:bsd-3)))
2812 (define-public ghc-attoparsec
2814 (name "ghc-attoparsec")
2815 (version "0.13.2.2")
2820 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
2825 "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx"))))
2826 (build-system haskell-build-system)
2827 ;; FIXME: at least on test fails with QuickCheck > 2.9.2. Once upstream
2828 ;; has updated the tests to work with a later version of QuickCheck we can
2830 (arguments `(#:tests? #f))
2832 `(("ghc-scientific" ,ghc-scientific)
2833 ("ghc-text" ,ghc-text)))
2835 `(("ghc-tasty" ,ghc-tasty)
2836 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
2837 ("ghc-quickcheck" ,ghc-quickcheck)
2838 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
2839 ("ghc-vector" ,ghc-vector)))
2840 (home-page "https://github.com/bos/attoparsec")
2841 (synopsis "Fast combinator parsing for bytestrings and text")
2842 (description "This library provides a fast parser combinator library,
2843 aimed particularly at dealing efficiently with network protocols and
2844 complicated text/binary file formats.")
2845 (license license:bsd-3)))
2847 (define-public ghc-zip-archive
2849 (name "ghc-zip-archive")
2855 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
2860 "1iwpzjck4jg9bz1yqky051i2wljsqc14q5zbi10dydfp8ip3d0yw"))))
2861 (build-system haskell-build-system)
2863 `(("ghc-old-time" ,ghc-old-time)
2864 ("ghc-digest" ,ghc-digest)
2866 ("ghc-temporary" ,ghc-temporary)
2867 ("ghc-text" ,ghc-text)
2868 ("ghc-zlib" ,ghc-zlib)))
2870 `(("ghc-hunit" ,ghc-hunit)))
2871 (home-page "https://hackage.haskell.org/package/zip-archive")
2872 (synopsis "Zip archive library for Haskell")
2873 (description "The zip-archive library provides functions for creating,
2874 modifying, and extracting files from zip archives in Haskell.")
2875 (license license:bsd-3)))
2877 (define-public ghc-distributive
2879 (name "ghc-distributive")
2885 "https://hackage.haskell.org/package/distributive/distributive-"
2890 "0y566r97sfyvhsmd4yxiz4ns2mqgwf5bdbp56wgxl6wlkidq0wwi"))))
2891 (build-system haskell-build-system)
2893 `(("ghc-tagged" ,ghc-tagged)
2894 ("ghc-base-orphans" ,ghc-base-orphans)
2895 ("ghc-transformers-compat" ,ghc-transformers-compat)
2896 ("ghc-semigroups" ,ghc-semigroups)
2897 ("ghc-generic-deriving" ,ghc-generic-deriving)))
2899 `(("cabal-doctest" ,cabal-doctest)
2900 ("ghc-doctest" ,ghc-doctest-0.12)
2901 ("ghc-hspec" ,ghc-hspec)
2902 ("hspec-discover" ,hspec-discover)))
2903 (home-page "https://github.com/ekmett/distributive/")
2904 (synopsis "Distributive functors for Haskell")
2905 (description "This package provides distributive functors for Haskell.
2906 Dual to @code{Traversable}.")
2907 (license license:bsd-3)))
2909 (define-public ghc-cereal
2917 "https://hackage.haskell.org/package/cereal/cereal-"
2922 "1x4aib7nnaf4x2b9zlndq5n5zsqniw78jifkf55nhnbmvryf05n3"))))
2923 (build-system haskell-build-system)
2925 `(("ghc-quickcheck" ,ghc-quickcheck)
2926 ("ghc-fail" ,ghc-fail)
2927 ("ghc-test-framework" ,ghc-test-framework)
2928 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2929 (home-page "https://hackage.haskell.org/package/cereal")
2930 (synopsis "Binary serialization library")
2931 (description "This package provides a binary serialization library,
2932 similar to @code{binary}, that introduces an @code{isolate} primitive for
2933 parser isolation, and labeled blocks for better error messages.")
2934 (license license:bsd-3)))
2936 (define-public ghc-comonad
2938 (name "ghc-comonad")
2944 "https://hackage.haskell.org/package/comonad/comonad-"
2949 "0anb36m9z52y9xsipxzj9w1b41b2rj8r389cxd6d20dplnfv3rbq"))))
2950 (build-system haskell-build-system)
2952 `(("ghc-doctest" ,ghc-doctest)))
2954 `(("ghc-contravariant" ,ghc-contravariant)
2955 ("ghc-distributive" ,ghc-distributive)
2956 ("ghc-semigroups" ,ghc-semigroups)
2957 ("ghc-tagged" ,ghc-tagged)
2958 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2959 (home-page "https://github.com/ekmett/comonad/")
2960 (synopsis "Comonads for Haskell")
2961 (description "This library provides @code{Comonad}s for Haskell.")
2962 (license license:bsd-3)))
2964 (define-public hscolour
2972 "https://hackage.haskell.org/package/hscolour/hscolour-"
2977 "1j3rpzjygh3igvnd1n2xn63bq68rs047cjxr2qi6xyfnivgf6vz4"))))
2978 (build-system haskell-build-system)
2979 (home-page "https://hackage.haskell.org/package/hscolour")
2980 (synopsis "Script to colourise Haskell code")
2981 (description "HSColour is a small Haskell script to colourise Haskell
2982 code. It currently has six output formats: ANSI terminal codes (optionally
2983 XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
2984 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
2985 and mIRC chat codes.")
2986 (license license:bsd-3)))
2988 (define-public ghc-polyparse
2990 (name "ghc-polyparse")
2996 "https://hackage.haskell.org/package/polyparse/polyparse-"
3001 "05dya1vdvq29hkhkdlsglzhw7bdn51rvs1javs0q75nf99c66k7m"))))
3002 (build-system haskell-build-system)
3004 `(("ghc-text" ,ghc-text)))
3006 "http://code.haskell.org/~malcolm/polyparse/")
3008 "Alternative parser combinator libraries")
3010 "This package provides a variety of alternative parser combinator
3011 libraries, including the original HuttonMeijer set. The Poly sets have
3012 features like good error reporting, arbitrary token type, running state, lazy
3013 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
3014 standard Read class, for better deserialisation of Haskell values from
3016 (license license:lgpl2.1)))
3018 (define-public ghc-extra
3026 "https://hackage.haskell.org/package/extra/extra-"
3031 "06ds0jlx6sljwdf63l154qbzia9mnsri79i9qm3xikky3nj9ia1m"))))
3032 (build-system haskell-build-system)
3034 `(("ghc-clock" ,ghc-clock)
3035 ("ghc-quickcheck" ,ghc-quickcheck)))
3036 (home-page "https://github.com/ndmitchell/extra")
3037 (synopsis "Extra Haskell functions")
3038 (description "This library provides extra functions for the standard
3039 Haskell libraries. Most functions are simple additions, filling out missing
3040 functionality. A few functions are available in later versions of GHC, but
3041 this package makes them available back to GHC 7.2.")
3042 (license license:bsd-3)))
3044 (define-public ghc-profunctors
3046 (name "ghc-profunctors")
3052 "https://hackage.haskell.org/package/profunctors/profunctors-"
3057 "0s1pwjidbn761xk43pmzyvn99hm3psdifjd78ylki7f97aiyd0g9"))))
3058 (build-system haskell-build-system)
3060 `(("ghc-base-orphans" ,ghc-base-orphans)
3061 ("ghc-bifunctors" ,ghc-bifunctors)
3062 ("ghc-comonad" ,ghc-comonad)
3063 ("ghc-contravariant" ,ghc-contravariant)
3064 ("ghc-distributive" ,ghc-distributive)
3065 ("ghc-semigroups" ,ghc-semigroups)
3066 ("ghc-tagged" ,ghc-tagged)))
3067 (home-page "https://github.com/ekmett/profunctors/")
3068 (synopsis "Profunctors for Haskell")
3069 (description "This library provides profunctors for Haskell.")
3070 (license license:bsd-3)))
3072 (define-public ghc-reducers
3074 (name "ghc-reducers")
3080 "https://hackage.haskell.org/package/reducers/reducers-"
3085 "1gbaa5x4zbvnbklcb0d4q4m8hk6w0gz4s0c4m288czi1nw43dl65"))))
3086 (build-system haskell-build-system)
3088 `(("ghc-fingertree" ,ghc-fingertree)
3089 ("ghc-hashable" ,ghc-hashable)
3090 ("ghc-text" ,ghc-text)
3091 ("ghc-unordered-containers" ,ghc-unordered-containers)
3092 ("ghc-semigroupoids" ,ghc-semigroupoids)
3093 ("ghc-semigroups" ,ghc-semigroups)))
3094 (home-page "https://github.com/ekmett/reducers/")
3095 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
3096 (description "This library provides various semigroups, specialized
3097 containers and a general map/reduce framework for Haskell.")
3098 (license license:bsd-3)))
3100 (define-public ghc-appar
3108 "https://hackage.haskell.org/package/appar/appar-"
3113 "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq"))))
3114 (build-system haskell-build-system)
3116 "https://hackage.haskell.org/package/appar")
3117 (synopsis "Simple applicative parser")
3118 (description "This package provides a simple applicative parser in Parsec
3120 (license license:bsd-3)))
3122 (define-public ghc-safe
3130 "https://hackage.haskell.org/package/safe/safe-"
3135 "1jdnp5zhvalf1xy8i872n29nljfjz6lnl9ghj80ffisrnnkrwcfh"))))
3136 (build-system haskell-build-system)
3137 (home-page "https://github.com/ndmitchell/safe#readme")
3138 (synopsis "Library of safe (exception free) functions")
3139 (description "This library provides wrappers around @code{Prelude} and
3140 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
3142 (license license:bsd-3)))
3144 (define-public ghc-generic-deriving
3146 (name "ghc-generic-deriving")
3152 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
3157 "1sdh5hpcwvh3b6zvgfk3pr3hla8p88l82njnih880c0gk5zl53dk"))))
3158 (build-system haskell-build-system)
3160 `(("ghc-hspec" ,ghc-hspec)
3161 ("hspec-discover" ,hspec-discover)))
3162 (home-page "https://hackage.haskell.org/package/generic-deriving")
3163 (synopsis "Generalise the deriving mechanism to arbitrary classes")
3164 (description "This package provides functionality for generalising the
3165 deriving mechanism in Haskell to arbitrary classes.")
3166 (license license:bsd-3)))
3168 (define-public ghc-pcre-light
3170 (name "ghc-pcre-light")
3176 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
3181 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
3182 (build-system haskell-build-system)
3186 `(("pkg-config" ,pkg-config)))
3187 (home-page "https://github.com/Daniel-Diaz/pcre-light")
3188 (synopsis "Haskell library for Perl 5 compatible regular expressions")
3189 (description "This package provides a small, efficient, and portable regex
3190 library for Perl 5 compatible regular expressions. The PCRE library is a set
3191 of functions that implement regular expression pattern matching using the same
3192 syntax and semantics as Perl 5.")
3193 (license license:bsd-3)))
3195 (define-public ghc-logict
3203 "https://hackage.haskell.org/package/logict/logict-"
3208 "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi"))))
3209 (build-system haskell-build-system)
3210 (home-page "http://code.haskell.org/~dolio/")
3211 (synopsis "Backtracking logic-programming monad")
3212 (description "This library provides a continuation-based, backtracking,
3213 logic programming monad. An adaptation of the two-continuation implementation
3214 found in the paper \"Backtracking, Interleaving, and Terminating Monad
3215 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
3217 (license license:bsd-3)))
3219 (define-public ghc-xml
3227 "https://hackage.haskell.org/package/xml/xml-"
3232 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
3233 (build-system haskell-build-system)
3235 `(("ghc-text" ,ghc-text)))
3236 (home-page "http://code.galois.com")
3237 (synopsis "Simple XML library for Haskell")
3238 (description "This package provides a simple XML library for Haskell.")
3239 (license license:bsd-3)))
3241 (define-public ghc-feed
3244 (version "0.3.12.0")
3248 (uri (string-append "https://hackage.haskell.org/package/"
3249 "feed/feed-" version ".tar.gz"))
3252 "0hkrsinspg70bbm3hwqdrvivws6zya1hyk0a3awpaz82j4xnlbfc"))))
3253 (build-system haskell-build-system)
3255 `(("ghc-old-locale" ,ghc-old-locale)
3256 ("ghc-old-time" ,ghc-old-time)
3257 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
3258 ("ghc-utf8-string" ,ghc-utf8-string)
3259 ("ghc-xml" ,ghc-xml)))
3261 `(("ghc-hunit" ,ghc-hunit)
3262 ("ghc-test-framework" ,ghc-test-framework)
3263 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3264 (home-page "https://github.com/bergmark/feed")
3265 (synopsis "Haskell package for handling various syndication formats")
3266 (description "This Haskell package includes tools for generating and
3267 consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
3268 (license license:bsd-3)))
3270 (define-public ghc-exceptions
3272 (name "ghc-exceptions")
3278 "https://hackage.haskell.org/package/exceptions/exceptions-"
3283 "1gl7xzffsqmigam6zg0jsglncgzxqafld2p6kb7ccp9xirzdjsjd"))))
3284 (build-system haskell-build-system)
3286 `(#:configure-flags (list "--allow-newer=QuickCheck")))
3288 `(("ghc-test-framework" ,ghc-test-framework)
3289 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3291 `(("ghc-stm" ,ghc-stm)
3292 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3293 (home-page "https://github.com/ekmett/exceptions/")
3294 (synopsis "Extensible optionally-pure exceptions")
3295 (description "This library provides extensible optionally-pure exceptions
3297 (license license:bsd-3)))
3299 (define-public ghc-temporary
3301 (name "ghc-temporary")
3307 "https://hackage.haskell.org/package/temporary/temporary-"
3312 "0qk741yqnpd69sksgks2vb7zi50rglp9m498lzw4sh268a017rsi"))))
3313 (build-system haskell-build-system)
3314 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
3315 (home-page "https://www.github.com/batterseapower/temporary")
3316 (synopsis "Temporary file and directory support")
3317 (description "The functions for creating temporary files and directories
3318 in the Haskelll base library are quite limited. This library just repackages
3319 the Cabal implementations of its own temporary file and folder functions so
3320 that you can use them without linking against Cabal or depending on it being
3322 (license license:bsd-3)))
3324 (define-public ghc-temporary-rc
3326 (name "ghc-temporary-rc")
3332 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
3337 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
3338 (build-system haskell-build-system)
3339 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
3341 "https://www.github.com/feuerbach/temporary")
3343 "Portable temporary file and directory support")
3345 "The functions for creating temporary files and directories in the base
3346 library are quite limited. The unixutils package contains some good ones, but
3347 they aren't portable to Windows. This library just repackages the Cabal
3348 implementations of its own temporary file and folder functions so that you can
3349 use them without linking against Cabal or depending on it being installed.
3350 This is a better maintained fork of the \"temporary\" package.")
3351 (license license:bsd-3)))
3353 (define-public ghc-smallcheck
3355 (name "ghc-smallcheck")
3361 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
3366 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
3367 (build-system haskell-build-system)
3369 `(("ghc-logict" ,ghc-logict)))
3371 "https://github.com/feuerbach/smallcheck")
3372 (synopsis "Property-based testing library")
3373 (description "SmallCheck is a testing library that allows to verify
3374 properties for all test cases up to some depth. The test cases are generated
3375 automatically by SmallCheck.")
3376 (license license:bsd-3)))
3378 (define-public ghc-silently
3380 (name "ghc-silently")
3386 "https://hackage.haskell.org/package/silently/silently-"
3391 "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
3392 (build-system haskell-build-system)
3393 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
3395 ;; `(("ghc-temporary" ,ghc-temporary)))
3396 (home-page "https://github.com/hspec/silently")
3397 (synopsis "Prevent writing to stdout")
3398 (description "This package provides functions to prevent or capture
3399 writing to stdout and other handles.")
3400 (license license:bsd-3)))
3402 (define-public ghc-case-insensitive
3404 (name "ghc-case-insensitive")
3406 (outputs '("out" "doc"))
3411 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
3416 "1j6ahvrz1g5q89y2difyk838yhwjc8z67zr0v2z512qdznc3h38n"))))
3417 (build-system haskell-build-system)
3419 `(("ghc-hunit" ,ghc-hunit)))
3420 ;; these inputs are necessary to use this library
3422 `(("ghc-text" ,ghc-text)
3423 ("ghc-hashable" ,ghc-hashable)))
3425 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3427 "https://github.com/basvandijk/case-insensitive")
3428 (synopsis "Case insensitive string comparison")
3430 "The module 'Data.CaseInsensitive' provides the 'CI' type constructor
3431 which can be parameterised by a string-like type like: 'String', 'ByteString',
3432 'Text', etc.. Comparisons of values of the resulting type will be insensitive
3434 (license license:bsd-3)))
3436 (define-public ghc-syb
3440 (outputs '("out" "doc"))
3445 "https://hackage.haskell.org/package/syb/syb-"
3450 "1p3cnqjm13677r4a966zffzhi9b3a321aln8zs8ckqj0d9z1z3d3"))))
3451 (build-system haskell-build-system)
3453 `(("ghc-hunit" ,ghc-hunit)))
3455 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
3456 (synopsis "Scrap Your Boilerplate")
3457 (description "This package contains the generics system described in the
3458 /Scrap Your Boilerplate/ papers (see
3459 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
3460 defines the 'Data' class of types permitting folding and unfolding of
3461 constructor applications, instances of this class for primitive types, and a
3462 variety of traversals.")
3463 (license license:bsd-3)))
3465 (define-public ghc-fgl
3469 (outputs '("out" "doc"))
3474 "https://hackage.haskell.org/package/fgl/fgl-"
3479 "1i6cp4b3w7sjk7y1dq3fh6bci2sm5h3lnbbaw9ln19nwncg2wwll"))))
3480 (build-system haskell-build-system)
3482 `(#:configure-flags (list "--allow-newer=QuickCheck"
3483 "--allow-newer=hspec")))
3485 `(("ghc-hspec" ,ghc-hspec)
3486 ("ghc-quickcheck" ,ghc-quickcheck)))
3487 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3489 "Martin Erwig's Functional Graph Library")
3490 (description "The functional graph library, FGL, is a collection of type
3491 and function definitions to address graph problems. The basis of the library
3492 is an inductive definition of graphs in the style of algebraic data types that
3493 encourages inductive, recursive definitions of graph algorithms.")
3494 (license license:bsd-3)))
3496 (define-public ghc-chasingbottoms
3498 (name "ghc-chasingbottoms")
3503 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
3504 "ChasingBottoms-" version ".tar.gz"))
3507 "04jwwjs22mqc4hvpp4c3gpb79inrrq5sapks5khknspv2hslm61q"))))
3508 (build-system haskell-build-system)
3510 `(("ghc-quickcheck" ,ghc-quickcheck)
3511 ("ghc-random" ,ghc-random)
3512 ("ghc-syb" ,ghc-syb)))
3513 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
3514 (synopsis "Testing of partial and infinite values in Haskell")
3516 ;; FIXME: There should be a @comma{} in the uref text, but it is not
3517 ;; rendered properly.
3518 "This is a library for testing code involving bottoms or infinite values.
3519 For the underlying theory and a larger example involving use of QuickCheck,
3521 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
3522 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
3523 Partial and Infinite Values\"}.")
3524 (license license:expat)))
3526 (define-public ghc-unordered-containers
3528 (name "ghc-unordered-containers")
3530 (outputs '("out" "doc"))
3535 "https://hackage.haskell.org/package/unordered-containers"
3536 "/unordered-containers-" version ".tar.gz"))
3539 "00npqiphivjp2d7ryqsdavfn4m5v3w1lq2azhdsrfh0wsvqpg4ig"))))
3540 (build-system haskell-build-system)
3542 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
3543 ("ghc-hunit" ,ghc-hunit)
3544 ("ghc-quickcheck" ,ghc-quickcheck)
3545 ("ghc-test-framework" ,ghc-test-framework)
3546 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3547 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3548 ("ghc-hashable" ,ghc-hashable)))
3550 "https://github.com/tibbe/unordered-containers")
3552 "Efficient hashing-based container types")
3554 "Efficient hashing-based container types. The containers have been
3555 optimized for performance critical use, both in terms of large data quantities
3557 (license license:bsd-3)))
3559 (define-public ghc-uniplate
3561 (name "ghc-uniplate")
3567 "https://hackage.haskell.org/package/uniplate/uniplate-"
3572 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
3573 (build-system haskell-build-system)
3575 `(("ghc-syb" ,ghc-syb)
3576 ("ghc-hashable" ,ghc-hashable)
3577 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3578 (home-page "http://community.haskell.org/~ndm/uniplate/")
3579 (synopsis "Simple, concise and fast generic operations")
3580 (description "Uniplate is a library for writing simple and concise generic
3581 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
3582 work, but is substantially simpler and faster.")
3583 (license license:bsd-3)))
3585 (define-public ghc-base64-bytestring
3587 (name "ghc-base64-bytestring")
3593 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
3598 "0l1v4ddjdsgi9nqzyzcxxj76rwar3lzx8gmwf2r54bqan3san9db"))))
3599 (build-system haskell-build-system)
3600 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3601 (home-page "https://github.com/bos/base64-bytestring")
3602 (synopsis "Base64 encoding and decoding for ByteStrings")
3603 (description "This library provides fast base64 encoding and decoding for
3604 Haskell @code{ByteString}s.")
3605 (license license:bsd-3)))
3607 (define-public ghc-annotated-wl-pprint
3609 (name "ghc-annotated-wl-pprint")
3615 "https://hackage.haskell.org/package/annotated-wl-pprint"
3616 "/annotated-wl-pprint-" version
3620 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
3621 (build-system haskell-build-system)
3623 "https://github.com/david-christiansen/annotated-wl-pprint")
3625 "The Wadler/Leijen Pretty Printer, with annotation support")
3626 (description "This is a modified version of wl-pprint, which was based on
3627 Wadler's paper \"A Prettier Printer\". This version allows the library user
3628 to annotate the text with semantic information, which can later be rendered in
3629 a variety of ways.")
3630 (license license:bsd-3)))
3632 (define-public ghc-wl-pprint
3634 (name "ghc-wl-pprint")
3639 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
3643 "166zvk4zwn2zaa9kx66m1av38m34qp6h4i65bri2sfnxgvx0700r"))))
3644 (build-system haskell-build-system)
3645 (home-page "https://hackage.haskell.org/package/wl-pprint")
3646 (synopsis "Wadler/Leijen pretty printer")
3648 "This is a pretty printing library based on Wadler's paper @i{A Prettier
3649 Printer}. This version allows the library user to declare overlapping
3650 instances of the @code{Pretty} class.")
3651 (license license:bsd-3)))
3653 (define-public ghc-ansi-wl-pprint
3655 (name "ghc-ansi-wl-pprint")
3660 (uri (string-append "https://hackage.haskell.org/package/"
3661 "ansi-wl-pprint/ansi-wl-pprint-"
3665 "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56"))))
3666 (build-system haskell-build-system)
3668 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
3669 (home-page "https://github.com/ekmett/ansi-wl-pprint")
3670 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
3671 (description "This is a pretty printing library based on Wadler's paper
3672 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
3673 colored output using the ansi-terminal package.")
3674 (license license:bsd-3)))
3676 (define-public ghc-split
3680 (outputs '("out" "doc"))
3685 "https://hackage.haskell.org/package/split/split-"
3690 "12660m16c6sib3laaxn6w9s453pyx1b49myrmzfij372vq5bc5bn"))))
3691 (build-system haskell-build-system)
3693 `(("ghc-quickcheck" ,ghc-quickcheck)))
3694 (home-page "https://hackage.haskell.org/package/split")
3695 (synopsis "Combinator library for splitting lists")
3696 (description "This package provides a collection of Haskell functions for
3697 splitting lists into parts, akin to the @code{split} function found in several
3698 mainstream languages.")
3699 (license license:bsd-3)))
3701 (define-public ghc-parsec
3705 (outputs '("out" "doc"))
3710 "https://hackage.haskell.org/package/parsec/parsec-"
3714 (base32 "0vk7q9j2128q191zf1sg0ylj9s9djwayqk9747k0a5fin4f2b1vg"))))
3715 (build-system haskell-build-system)
3717 `(("ghc-hunit" ,ghc-hunit)))
3719 `(("ghc-text" ,ghc-text)))
3721 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3723 "https://github.com/aslatter/parsec")
3724 (synopsis "Monadic parser combinators")
3725 (description "Parsec is a parser library. It is simple, safe, well
3726 documented, has extensive libraries, good error messages, and is fast. It is
3727 defined as a monad transformer that can be stacked on arbitrary monads, and it
3728 is also parametric in the input stream type.")
3729 (license license:bsd-3)))
3731 (define-public ghc-parser-combinators
3733 (name "ghc-parser-combinators")
3738 (uri (string-append "https://hackage.haskell.org/package/"
3739 "parser-combinators/parser-combinators-"
3743 "1azkz0a6ikym02s8wydjcklp7rz8k512bs4s9lp9g1g03m0yj95i"))))
3744 (build-system haskell-build-system)
3745 (home-page "https://github.com/mrkkrp/parser-combinators")
3746 (synopsis "Commonly useful parser combinators")
3748 "This is a lightweight package providing commonly useful parser
3750 (license license:bsd-3)))
3752 (define-public ghc-megaparsec
3754 (name "ghc-megaparsec")
3759 (uri (string-append "https://hackage.haskell.org/package/"
3760 "megaparsec/megaparsec-"
3764 "0h9azhs0dfrc359vrbd1jljrg3yfdbwd4p62cxqkn7mnh8913jpd"))))
3765 (build-system haskell-build-system)
3767 `(("ghc-case-insensitive" ,ghc-case-insensitive)
3768 ("ghc-parser-combinators" ,ghc-parser-combinators)
3769 ("ghc-scientific" ,ghc-scientific)
3770 ("ghc-text" ,ghc-text)))
3772 `(("ghc-quickcheck" ,ghc-quickcheck)
3773 ("ghc-hspec" ,ghc-hspec)
3774 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3775 ("hspec-discover" ,hspec-discover)))
3776 (home-page "https://github.com/mrkkrp/megaparsec")
3777 (synopsis "Monadic parser combinators")
3779 "This is an industrial-strength monadic parser combinator library.
3780 Megaparsec is a feature-rich package that strikes a nice balance between
3781 speed, flexibility, and quality of parse errors.")
3782 (license license:bsd-2)))
3784 (define-public ghc-vector
3787 (version "0.12.0.1")
3788 (outputs '("out" "doc"))
3793 "https://hackage.haskell.org/package/vector/vector-"
3798 "0yrx2ypiaxahvaz84af5bi855hd3107kxkbqc8km29nsp5wyw05i"))))
3799 (build-system haskell-build-system)
3800 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
3801 ;; disabled for now.
3802 (arguments `(#:tests? #f))
3804 `(("ghc-primitive" ,ghc-primitive)
3805 ("ghc-random" ,ghc-random)
3806 ("ghc-quickcheck" ,ghc-quickcheck)
3807 ;; ("ghc-hunit" ,ghc-hunit)
3808 ;; ("ghc-test-framework" ,ghc-test-framework)
3809 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3810 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3812 (home-page "https://github.com/haskell/vector")
3813 (synopsis "Efficient Arrays")
3814 (description "This library provides an efficient implementation of
3815 Int-indexed arrays (both mutable and immutable), with a powerful loop
3816 optimisation framework.")
3817 (license license:bsd-3)))
3819 (define-public ghc-vector-binary-instances
3821 (name "ghc-vector-binary-instances")
3827 "https://hackage.haskell.org/package/"
3828 "vector-binary-instances/vector-binary-instances-"
3832 "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb"))))
3833 (build-system haskell-build-system)
3835 `(("ghc-vector" ,ghc-vector)))
3837 `(("ghc-tasty" ,ghc-tasty)
3838 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3839 (home-page "https://github.com/bos/vector-binary-instances")
3840 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
3841 (description "This library provides instances of @code{Binary} for the
3842 types defined in the @code{vector} package, making it easy to serialize
3843 vectors to and from disk. We use the generic interface to vectors, so all
3844 vector types are supported. Specific instances are provided for unboxed,
3845 boxed and storable vectors.")
3846 (license license:bsd-3)))
3848 (define-public ghc-bloomfilter
3850 (name "ghc-bloomfilter")
3855 (uri (string-append "https://hackage.haskell.org/package/"
3856 "bloomfilter/bloomfilter-" version ".tar.gz"))
3859 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
3860 (build-system haskell-build-system)
3862 `(("ghc-quickcheck" ,ghc-quickcheck)
3863 ("ghc-random" ,ghc-random)
3864 ("ghc-test-framework" ,ghc-test-framework)
3865 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3866 (home-page "https://github.com/bos/bloomfilter")
3867 (synopsis "Pure and impure Bloom filter implementations")
3868 (description "This package provides both mutable and immutable Bloom
3869 filter data types, along with a family of hash functions and an easy-to-use
3871 (license license:bsd-3)))
3873 (define-public ghc-network
3875 (name "ghc-network")
3877 (outputs '("out" "doc"))
3882 "https://hackage.haskell.org/package/network/network-"
3887 "1rl2gl37cf4k0ddsq93q15fwdz1l25nhl4w205krbh7d5dg5y12p"))))
3888 (build-system haskell-build-system)
3889 ;; The regression tests depend on an unpublished module.
3890 (arguments `(#:tests? #f))
3892 `(("ghc-hunit" ,ghc-hunit)
3893 ("ghc-doctest" ,ghc-doctest)
3894 ("ghc-test-framework" ,ghc-test-framework)
3895 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3896 (home-page "https://github.com/haskell/network")
3897 (synopsis "Low-level networking interface")
3899 "This package provides a low-level networking interface.")
3900 (license license:bsd-3)))
3902 (define-public ghc-network-uri
3904 (name "ghc-network-uri")
3906 (outputs '("out" "doc"))
3911 "https://hackage.haskell.org/package/network-uri/network-uri-"
3916 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
3917 (build-system haskell-build-system)
3919 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3921 `(("ghc-hunit" ,ghc-hunit)))
3923 `(("ghc-parsec" ,ghc-parsec)
3924 ("ghc-network" ,ghc-network)))
3926 "https://github.com/haskell/network-uri")
3927 (synopsis "Library for URI manipulation")
3928 (description "This package provides an URI manipulation interface. In
3929 'network-2.6' the 'Network.URI' module was split off from the 'network'
3930 package into this package.")
3931 (license license:bsd-3)))
3933 (define-public ghc-ansi-terminal
3935 (name "ghc-ansi-terminal")
3941 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
3946 "0hpfw0k025y681m9ml1c712skrb1p4vh7z5x1f0ci9ww7ssjrh2d"))))
3947 (build-system haskell-build-system)
3948 (home-page "https://github.com/feuerbach/ansi-terminal")
3949 (synopsis "ANSI terminal support for Haskell")
3950 (description "This package provides ANSI terminal support for Haskell. It
3951 allows cursor movement, screen clearing, color output showing or hiding the
3952 cursor, and changing the title.")
3953 (license license:bsd-3)))
3955 (define-public ghc-vault
3963 "https://hackage.haskell.org/package/vault/vault-"
3968 "0j7gcs440q7qlgzi2hn36crgp2c0w69k40g6vj9hxlm31zk3shqb"))))
3969 (build-system haskell-build-system)
3971 `(("ghc-unordered-containers" ,ghc-unordered-containers)
3972 ("ghc-hashable" ,ghc-hashable)))
3974 "https://github.com/HeinrichApfelmus/vault")
3975 (synopsis "Persistent store for arbitrary values")
3976 (description "This package provides vaults for Haskell. A vault is a
3977 persistent store for values of arbitrary types. It's like having first-class
3978 access to the storage space behind @code{IORefs}. The data structure is
3979 analogous to a bank vault, where you can access different bank boxes with
3980 different keys; hence the name. Also provided is a @code{locker} type,
3981 representing a store for a single element.")
3982 (license license:bsd-3)))
3984 (define-public ghc-edisonapi
3986 (name "ghc-edisonapi")
3991 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
3992 "/EdisonAPI-" version ".tar.gz"))
3994 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
3995 (build-system haskell-build-system)
3996 (home-page "http://rwd.rdockins.name/edison/home/")
3997 (synopsis "Library of efficient, purely-functional data structures (API)")
3999 "Edison is a library of purely functional data structures written by
4000 Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
4001 value EDiSon (Efficient Data Structures). Edison provides several families of
4002 abstractions, each with multiple implementations. The main abstractions
4003 provided by Edison are: Sequences such as stacks, queues, and dequeues;
4004 Collections such as sets, bags and heaps; and Associative Collections such as
4005 finite maps and priority queues where the priority and element are distinct.")
4006 (license license:expat)))
4008 (define-public ghc-edisoncore
4010 (name "ghc-edisoncore")
4015 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
4016 "/EdisonCore-" version ".tar.gz"))
4018 (base32 "06shxmcqxcahcn6zgl64vlqix4fnq53d97drcgsh94qp7gp201ry"))))
4019 (build-system haskell-build-system)
4021 `(("ghc-quickcheck" ,ghc-quickcheck)
4022 ("ghc-edisonapi" ,ghc-edisonapi)))
4023 (home-page "http://rwd.rdockins.name/edison/home/")
4024 (synopsis "Library of efficient, purely-functional data structures")
4026 "This package provides the core Edison data structure implementations,
4027 including multiple sequence, set, bag, and finite map concrete implementations
4028 with various performance characteristics.")
4029 (license license:expat)))
4031 (define-public ghc-mmorph
4039 "https://hackage.haskell.org/package/mmorph/mmorph-"
4044 "1i8dzrc5qi3ryc9vrrmpn3sihmramsbhhd592w4w2k5g26qr3hql"))))
4045 (build-system haskell-build-system)
4047 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4048 (home-page "https://hackage.haskell.org/package/mmorph")
4049 (synopsis "Monad morphisms")
4051 "This library provides monad morphism utilities, most commonly used for
4052 manipulating monad transformer stacks.")
4053 (license license:bsd-3)))
4055 (define-public ghc-ifelse
4062 (uri (string-append "https://hackage.haskell.org/package/"
4063 "IfElse/IfElse-" version ".tar.gz"))
4066 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
4067 (build-system haskell-build-system)
4068 (home-page "http://hackage.haskell.org/package/IfElse")
4069 (synopsis "Monadic control flow with anaphoric variants")
4070 (description "This library provides functions for control flow inside of
4071 monads with anaphoric variants on @code{if} and @code{when} and a C-like
4072 @code{switch} function.")
4073 (license license:bsd-3)))
4075 (define-public ghc-monad-control
4077 (name "ghc-monad-control")
4083 "https://hackage.haskell.org/package/monad-control"
4084 "/monad-control-" version ".tar.gz"))
4087 "1x018gi5irznx5rgzmkr2nrgh26r8cvqwkcfc6n6y05pdjf21c6l"))))
4088 (build-system haskell-build-system)
4090 `(("ghc-stm" ,ghc-stm)
4091 ("ghc-transformers-base" ,ghc-transformers-base)
4092 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4093 (home-page "https://github.com/basvandijk/monad-control")
4094 (synopsis "Monad transformers to lift control operations like exception
4096 (description "This package defines the type class @code{MonadBaseControl},
4097 a subset of @code{MonadBase} into which generic control operations such as
4098 @code{catch} can be lifted from @code{IO} or any other base monad.")
4099 (license license:bsd-3)))
4101 (define-public ghc-fail
4108 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
4111 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
4112 (build-system haskell-build-system)
4113 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4114 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
4115 (synopsis "Forward-compatible MonadFail class")
4117 "This package contains the @code{Control.Monad.Fail} module providing the
4118 @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
4119 class that became available in
4120 @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
4121 older @code{base} package versions. This package turns into an empty package
4122 when used with GHC versions which already provide the
4123 @code{Control.Monad.Fail} module.")
4124 (license license:bsd-3)))
4126 (define-public ghc-monadplus
4128 (name "ghc-monadplus")
4133 (uri (string-append "https://hackage.haskell.org/package/monadplus"
4134 "/monadplus-" version ".tar.gz"))
4136 (base32 "15b5320wdpmdp5slpphnc1x4rhjch3igw245dp2jxbqyvchdavin"))))
4137 (build-system haskell-build-system)
4138 (home-page "https://hackage.haskell.org/package/monadplus")
4139 (synopsis "Filtering and folding over arbitrary MonadPlus instances")
4141 "This package generalizes many common stream operations such as
4142 @code{filter}, @code{catMaybes} etc, enabling filtering and folding over
4143 arbitrary @code{MonadPlus} instances.")
4144 (license license:bsd-3)))
4146 (define-public ghc-byteorder
4148 (name "ghc-byteorder")
4154 "https://hackage.haskell.org/package/byteorder/byteorder-"
4159 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
4160 (build-system haskell-build-system)
4162 "http://community.haskell.org/~aslatter/code/byteorder")
4164 "Exposes the native endianness of the system")
4166 "This package is for working with the native byte-ordering of the
4168 (license license:bsd-3)))
4170 (define-public ghc-base-compat
4172 (name "ghc-base-compat")
4178 "https://hackage.haskell.org/package/base-compat/base-compat-"
4183 "0452l6zf6fjhy4kxqwv6i6hhg6yfx4wcg450k3axpyj30l7jnq3x"))))
4184 (build-system haskell-build-system)
4186 `(("ghc-quickcheck" ,ghc-quickcheck)
4187 ("ghc-hspec" ,ghc-hspec)
4188 ("hspec-discover" ,hspec-discover)))
4189 (home-page "https://hackage.haskell.org/package/base-compat")
4190 (synopsis "Haskell compiler compatibility library")
4191 (description "This library provides functions available in later versions
4192 of base to a wider range of compilers, without requiring the use of CPP
4193 pragmas in your code.")
4194 (license license:bsd-3)))
4196 (define-public ghc-blaze-builder
4198 (name "ghc-blaze-builder")
4204 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
4209 "1m33y6p5xldni8p4fzg8fmsyqvkfmnimdamr1xjnsmgm3dkf9lws"))))
4210 (build-system haskell-build-system)
4211 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
4213 `(("ghc-text" ,ghc-text)
4214 ("ghc-utf8-string" ,ghc-utf8-string)))
4215 (home-page "https://github.com/lpsmith/blaze-builder")
4216 (synopsis "Efficient buffered output")
4217 (description "This library provides an implementation of the older
4218 @code{blaze-builder} interface in terms of the new builder that shipped with
4219 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
4220 bridge to the new builder, so that code that uses the old interface can
4221 interoperate with code that uses the new implementation.")
4222 (license license:bsd-3)))
4224 (define-public ghc-blaze-markup
4226 (name "ghc-blaze-markup")
4231 (uri (string-append "https://hackage.haskell.org/package/"
4232 "blaze-markup/blaze-markup-"
4236 "0m3h3ryxj5r74mv5g5dnfq5jbbwmvkl7ray18vi20d5vd93sydj4"))))
4237 (build-system haskell-build-system)
4239 `(("ghc-blaze-builder" ,ghc-blaze-builder)
4240 ("ghc-text" ,ghc-text)))
4242 `(("ghc-hunit" ,ghc-hunit)
4243 ("ghc-quickcheck" ,ghc-quickcheck)
4244 ("ghc-tasty" ,ghc-tasty)
4245 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4246 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4247 (home-page "https://jaspervdj.be/blaze")
4248 (synopsis "Fast markup combinator library for Haskell")
4249 (description "This library provides core modules of a markup combinator
4250 library for Haskell.")
4251 (license license:bsd-3)))
4253 (define-public ghc-easy-file
4255 (name "ghc-easy-file")
4261 "https://hackage.haskell.org/package/easy-file/easy-file-"
4266 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
4267 (build-system haskell-build-system)
4269 "https://github.com/kazu-yamamoto/easy-file")
4270 (synopsis "File handling library for Haskell")
4271 (description "This library provides file handling utilities for Haskell.")
4272 (license license:bsd-3)))
4274 (define-public ghc-async
4282 "https://hackage.haskell.org/package/async/async-"
4287 "1qj4fp1ynwg0l453gmm27vgkzb5k5m2hzdlg5rdqi9kf8rqy90yd"))))
4288 (build-system haskell-build-system)
4290 `(("ghc-stm" ,ghc-stm)
4291 ("ghc-hunit" ,ghc-hunit)
4292 ("ghc-test-framework" ,ghc-test-framework)
4293 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4294 (home-page "https://github.com/simonmar/async")
4295 (synopsis "Library to run IO operations asynchronously")
4296 (description "Async provides a library to run IO operations
4297 asynchronously, and wait for their results. It is a higher-level interface
4298 over threads in Haskell, in which @code{Async a} is a concurrent thread that
4299 will eventually deliver a value of type @code{a}.")
4300 (license license:bsd-3)))
4302 (define-public ghc-fingertree
4304 (name "ghc-fingertree")
4310 "https://hackage.haskell.org/package/fingertree/fingertree-"
4314 "1ryjj7qrx70ckcjlr02x9zh86kfp76azbxq05r7hawqkaqg44sfs"))))
4315 (build-system haskell-build-system)
4317 `(("ghc-hunit" ,ghc-hunit)
4318 ("ghc-quickcheck" ,ghc-quickcheck)
4319 ("ghc-test-framework" ,ghc-test-framework)
4320 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4321 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4322 (home-page "https://hackage.haskell.org/package/fingertree")
4323 (synopsis "Generic finger-tree structure")
4324 (description "This library provides finger trees, a general sequence
4325 representation with arbitrary annotations, for use as a base for
4326 implementations of various collection types. It includes examples, as
4327 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4328 simple general-purpose data structure\".")
4329 (license license:bsd-3)))
4331 (define-public ghc-optparse-applicative
4333 (name "ghc-optparse-applicative")
4334 (version "0.14.2.0")
4339 "https://hackage.haskell.org/package/optparse-applicative"
4340 "/optparse-applicative-" version ".tar.gz"))
4343 "0c3z1mvynlyv1garjbdmdd3npm40dabgm75js4r07cf766c1wd71"))))
4344 (build-system haskell-build-system)
4346 `(("ghc-transformers-compat" ,ghc-transformers-compat)
4347 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
4349 `(("ghc-quickcheck" ,ghc-quickcheck)))
4350 (home-page "https://github.com/pcapriotti/optparse-applicative")
4351 (synopsis "Utilities and combinators for parsing command line options")
4352 (description "This package provides utilities and combinators for parsing
4353 command line options in Haskell.")
4354 (license license:bsd-3)))
4356 (define-public ghc-base-orphans
4358 (name "ghc-base-orphans")
4364 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
4369 "03mdww5j0gwai7aqlx3m71ldmjcr99jzpkcclzjfclk6a6kjla67"))))
4370 (build-system haskell-build-system)
4372 `(("ghc-quickcheck" ,ghc-quickcheck)
4373 ("ghc-hspec" ,ghc-hspec)
4374 ("hspec-discover" ,hspec-discover)))
4375 (home-page "https://hackage.haskell.org/package/base-orphans")
4376 (synopsis "Orphan instances for backwards compatibility")
4377 (description "This package defines orphan instances that mimic instances
4378 available in later versions of base to a wider (older) range of compilers.")
4379 (license license:bsd-3)))
4381 (define-public ghc-auto-update
4383 (name "ghc-auto-update")
4389 "https://hackage.haskell.org/package/auto-update/auto-update-"
4394 "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy"))))
4395 (build-system haskell-build-system)
4396 (home-page "https://github.com/yesodweb/wai")
4397 (synopsis "Efficiently run periodic, on-demand actions")
4398 (description "This library provides mechanisms to efficiently run
4399 periodic, on-demand actions in Haskell.")
4400 (license license:expat)))
4402 (define-public ghc-tagged
4410 "https://hackage.haskell.org/package/tagged/tagged-"
4415 "16cdzh0bw16nvjnyyy5j9s60malhz4nnazw96vxb0xzdap4m2z74"))))
4416 (build-system haskell-build-system)
4418 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4419 (home-page "https://hackage.haskell.org/package/tagged")
4420 (synopsis "Haskell phantom types to avoid passing dummy arguments")
4421 (description "This library provides phantom types for Haskell 98, to avoid
4422 having to unsafely pass dummy arguments.")
4423 (license license:bsd-3)))
4425 (define-public ghc-unbounded-delays
4427 (name "ghc-unbounded-delays")
4433 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
4438 "1f4h87503m3smhip432q027wj3zih18pmz2rnafh60589ifcl420"))))
4439 (build-system haskell-build-system)
4440 (home-page "https://github.com/basvandijk/unbounded-delays")
4441 (synopsis "Unbounded thread delays and timeouts")
4442 (description "The @code{threadDelay} and @code{timeout} functions from the
4443 Haskell base library use the bounded @code{Int} type for specifying the delay
4444 or timeout period. This package provides alternative functions which use the
4445 unbounded @code{Integer} type.")
4446 (license license:bsd-3)))
4448 (define-public ghc-clock
4456 "https://hackage.haskell.org/package/"
4458 "clock-" version ".tar.gz"))
4460 (base32 "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8"))))
4461 (build-system haskell-build-system)
4463 `(("ghc-tasty" ,ghc-tasty)
4464 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4465 (home-page "https://hackage.haskell.org/package/clock")
4466 (synopsis "High-resolution clock for Haskell")
4467 (description "A package for convenient access to high-resolution clock and
4468 timer functions of different operating systems via a unified API.")
4469 (license license:bsd-3)))
4471 (define-public ghc-charset
4473 (name "ghc-charset")
4479 "https://hackage.haskell.org/package/charset/charset-"
4484 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
4485 (build-system haskell-build-system)
4487 `(("ghc-semigroups" ,ghc-semigroups)
4488 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4489 (home-page "https://github.com/ekmett/charset")
4490 (synopsis "Fast unicode character sets for Haskell")
4491 (description "This package provides fast unicode character sets for
4492 Haskell, based on complemented PATRICIA tries.")
4493 (license license:bsd-3)))
4495 (define-public ghc-bytestring-builder
4497 (name "ghc-bytestring-builder")
4498 (version "0.10.8.1.0")
4503 "https://hackage.haskell.org/package/bytestring-builder"
4504 "/bytestring-builder-" version ".tar.gz"))
4507 "1hnvjac28y44yn78c9vdp1zvrknvlw98ky3g4n5vivr16rvh8x3d"))))
4508 (build-system haskell-build-system)
4509 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4510 (home-page "https://hackage.haskell.org/package/bytestring-builder")
4511 (synopsis "The new bytestring builder, packaged outside of GHC")
4512 (description "This package provides the bytestring builder that is
4513 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
4514 Compatibility package for older packages.")
4515 (license license:bsd-3)))
4517 (define-public ghc-nats
4525 "https://hackage.haskell.org/package/nats/nats-"
4530 "1kfl2yy97nb7q0j17v96rl73xvi3z4db9bk0xychc76dax41n78k"))))
4531 (build-system haskell-build-system)
4532 (arguments `(#:haddock? #f))
4534 `(("ghc-hashable" ,ghc-hashable)))
4535 (home-page "https://hackage.haskell.org/package/nats")
4536 (synopsis "Natural numbers")
4537 (description "This library provides the natural numbers for Haskell.")
4538 (license license:bsd-3)))
4540 (define-public ghc-void
4548 "https://hackage.haskell.org/package/void/void-"
4553 "1x15x2axz84ndw2bf60vjqljhrb0w95lddaljsxrl0hcd29zvw69"))))
4554 (build-system haskell-build-system)
4556 `(("ghc-semigroups" ,ghc-semigroups)
4557 ("ghc-hashable" ,ghc-hashable)))
4558 (home-page "https://github.com/ekmett/void")
4560 "Logically uninhabited data type")
4562 "A Haskell 98 logically uninhabited data type, used to indicate that a
4563 given term should not exist.")
4564 (license license:bsd-3)))
4566 (define-public ghc-kan-extensions
4568 (name "ghc-kan-extensions")
4574 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
4579 "1qm0kf4krmyjbjynn96ab0h3q117vwcia5nin7n2b8b4f3jrzph1"))))
4580 (build-system haskell-build-system)
4582 `(("ghc-adjunctions" ,ghc-adjunctions)
4583 ("ghc-comonad" ,ghc-comonad)
4584 ("ghc-contravariant" ,ghc-contravariant)
4585 ("ghc-distributive" ,ghc-distributive)
4586 ("ghc-free" ,ghc-free)
4587 ("ghc-semigroupoids" ,ghc-semigroupoids)
4588 ("ghc-tagged" ,ghc-tagged)))
4589 (home-page "https://github.com/ekmett/kan-extensions/")
4590 (synopsis "Kan extensions library")
4591 (description "This library provides Kan extensions, Kan lifts, various
4592 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
4593 (license license:bsd-3)))
4595 (define-public ghc-call-stack
4597 (name "ghc-call-stack")
4602 (uri (string-append "https://hackage.haskell.org/package/"
4603 "call-stack/call-stack-"
4607 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
4608 (build-system haskell-build-system)
4609 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
4610 (home-page "https://github.com/sol/call-stack#readme")
4611 (synopsis "Use GHC call-stacks in a backward compatible way")
4612 (description "This package provides a compatibility layer for using GHC
4613 call stacks with different versions of the compiler.")
4614 (license license:expat)))
4616 ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
4617 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
4618 (define-public ghc-call-stack-boot
4620 (inherit ghc-call-stack)
4621 (arguments '(#:tests? #f))
4624 (define-public ghc-statevar
4626 (name "ghc-statevar")
4632 "https://hackage.haskell.org/package/StateVar/StateVar-"
4637 "1dzz9l0haswgag9x56q7n57kw18v7nhmzkjyr61nz9y9npn8vmks"))))
4638 (build-system haskell-build-system)
4640 `(("ghc-stm" ,ghc-stm)))
4641 (home-page "https://hackage.haskell.org/package/StateVar")
4642 (synopsis "State variables for Haskell")
4643 (description "This package provides state variables, which are references
4644 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
4645 (license license:bsd-3)))
4647 (define-public ghc-lens
4654 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
4658 "1lkwlnhgpgnsz046mw4qs0fa7h4l012gilrr3nf3spllsy3pnbkl"))))
4659 (build-system haskell-build-system)
4661 `(("ghc-base-orphans" ,ghc-base-orphans)
4662 ("ghc-bifunctors" ,ghc-bifunctors)
4663 ("ghc-doctest" ,ghc-doctest-0.13)
4664 ("ghc-distributive" ,ghc-distributive)
4665 ("ghc-exceptions" ,ghc-exceptions)
4666 ("ghc-free" ,ghc-free)
4667 ("ghc-kan-extensions" ,ghc-kan-extensions)
4668 ("ghc-parallel" ,ghc-parallel)
4669 ("ghc-reflection" ,ghc-reflection)
4670 ("ghc-semigroupoids" ,ghc-semigroupoids)
4671 ("ghc-vector" ,ghc-vector)
4672 ("ghc-call-stack" ,ghc-call-stack)
4673 ("ghc-comonad" ,ghc-comonad)
4674 ("ghc-contravariant" ,ghc-contravariant)
4675 ("ghc-hashable" ,ghc-hashable)
4676 ("ghc-profunctors" ,ghc-profunctors)
4677 ("ghc-semigroups" ,ghc-semigroups)
4678 ("ghc-tagged" ,ghc-tagged)
4679 ("ghc-text" ,ghc-text)
4680 ("ghc-transformers-compat" ,ghc-transformers-compat)
4681 ("ghc-unordered-containers" ,ghc-unordered-containers)
4682 ("ghc-void" ,ghc-void)
4683 ("ghc-generic-deriving" ,ghc-generic-deriving)
4684 ("ghc-nats" ,ghc-nats)
4685 ("ghc-simple-reflect" ,ghc-simple-reflect)
4688 `(("cabal-doctest" ,cabal-doctest)
4689 ("ghc-hunit" ,ghc-hunit)
4690 ("ghc-test-framework" ,ghc-test-framework)
4691 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4692 ("ghc-test-framework-th" ,ghc-test-framework-th)
4693 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
4694 ("ghc-quickcheck" ,ghc-quickcheck)))
4695 (home-page "https://github.com/ekmett/lens/")
4696 (synopsis "Lenses, Folds and Traversals")
4697 (description "This library provides @code{Control.Lens}. The combinators
4698 in @code{Control.Lens} provide a highly generic toolbox for composing families
4699 of getters, folds, isomorphisms, traversals, setters and lenses and their
4701 (license license:bsd-3)))
4703 (define-public ghc-cheapskate
4705 (name "ghc-cheapskate")
4711 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
4716 "1hiqi7h76shjzs2zj0j8g6wnq2hbiq1hmfafdazr97fba2zl2432"))))
4717 (build-system haskell-build-system)
4719 `(("ghc-text" ,ghc-text)
4720 ("ghc-blaze-html" ,ghc-blaze-html)
4721 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
4722 ("ghc-data-default" ,ghc-data-default)
4723 ("ghc-syb" ,ghc-syb)
4724 ("ghc-uniplate" ,ghc-uniplate)))
4725 (home-page "https://github.com/jgm/cheapskate")
4726 (synopsis "Experimental markdown processor")
4727 (description "Cheapskate is an experimental Markdown processor in pure
4728 Haskell. It aims to process Markdown efficiently and in the most forgiving
4729 possible way. It is designed to deal with any input, including garbage, with
4730 linear performance. Output is sanitized by default for protection against
4731 cross-site scripting (@dfn{XSS}) attacks.")
4732 (license license:bsd-3)))
4734 (define-public ghc-bifunctors
4736 (name "ghc-bifunctors")
4742 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
4747 "04fbsysm6zl8kmvqgffmrqa9bxl9dl2gibrd51asqzg737mb4ark"))))
4748 (build-system haskell-build-system)
4750 `(("ghc-base-orphans" ,ghc-base-orphans)
4751 ("ghc-comonad" ,ghc-comonad)
4752 ("ghc-th-abstraction" ,ghc-th-abstraction)
4753 ("ghc-transformers-compat" ,ghc-transformers-compat)
4754 ("ghc-tagged" ,ghc-tagged)
4755 ("ghc-semigroups" ,ghc-semigroups)))
4757 `(("ghc-hspec" ,ghc-hspec)
4758 ("hspec-discover" ,hspec-discover)
4759 ("ghc-quickcheck" ,ghc-quickcheck)))
4760 (home-page "https://github.com/ekmett/bifunctors/")
4761 (synopsis "Bifunctors for Haskell")
4762 (description "This package provides bifunctors for Haskell.")
4763 (license license:bsd-3)))
4765 (define-public ghc-semigroupoids
4767 (name "ghc-semigroupoids")
4773 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
4778 "0dgqc59p4xx5cl8qkpm6sn4wd3n59rq7l6din76hf10bnklqrb0n"))))
4779 (build-system haskell-build-system)
4780 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4782 `(("ghc-base-orphans" ,ghc-base-orphans)
4783 ("ghc-transformers-compat" ,ghc-transformers-compat)
4784 ("ghc-bifunctors" ,ghc-bifunctors)
4785 ("ghc-comonad" ,ghc-comonad)
4786 ("ghc-contravariant" ,ghc-contravariant)
4787 ("ghc-distributive" ,ghc-distributive)
4788 ("ghc-semigroups" ,ghc-semigroups)
4789 ("ghc-tagged" ,ghc-tagged)))
4790 (home-page "https://github.com/ekmett/semigroupoids")
4791 (synopsis "Semigroupoids operations for Haskell")
4792 (description "This library provides a wide array of (semi)groupoids and
4793 operations for working with them. A @code{Semigroupoid} is a @code{Category}
4794 without the requirement of identity arrows for every object in the category.
4795 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
4796 Finally, to work with these weaker structures it is beneficial to have
4797 containers that can provide stronger guarantees about their contents, so
4798 versions of @code{Traversable} and @code{Foldable} that can be folded with
4799 just a @code{Semigroup} are added.")
4800 (license license:bsd-3)))
4802 (define-public ghc-contravariant
4804 (name "ghc-contravariant")
4810 "https://hackage.haskell.org/package/contravariant/contravariant-"
4815 "117fff8kkrvlmr8cb2jpj71z7lf2pdiyks6ilyx89mry6zqnsrp1"))))
4816 (build-system haskell-build-system)
4818 `(("ghc-void" ,ghc-void)
4819 ("ghc-transformers-compat" ,ghc-transformers-compat)
4820 ("ghc-statevar" ,ghc-statevar)
4821 ("ghc-semigroups" ,ghc-semigroups)))
4823 "https://github.com/ekmett/contravariant/")
4824 (synopsis "Contravariant functors")
4825 (description "Contravariant functors for Haskell.")
4826 (license license:bsd-3)))
4828 (define-public ghc-semigroups
4830 (name "ghc-semigroups")
4836 "https://hackage.haskell.org/package/semigroups/semigroups-"
4841 "1r6hsn3am3dpf4rprrj4m04d9318v9iq02bin0pl29dg4a3gzjax"))))
4842 (build-system haskell-build-system)
4844 `(("ghc-nats" ,ghc-nats)
4845 ("ghc-tagged" ,ghc-tagged)
4846 ("ghc-unordered-containers" ,ghc-unordered-containers)
4847 ("ghc-text" ,ghc-text)
4848 ("ghc-hashable" ,ghc-hashable)))
4849 (home-page "https://github.com/ekmett/semigroups/")
4850 (synopsis "Semigroup operations for Haskell")
4851 (description "This package provides semigroups for Haskell. In
4852 mathematics, a semigroup is an algebraic structure consisting of a set
4853 together with an associative binary operation. A semigroup generalizes a
4854 monoid in that there might not exist an identity element. It
4855 also (originally) generalized a group (a monoid with all inverses) to a type
4856 where every element did not have to have an inverse, thus the name
4858 (license license:bsd-3)))
4860 (define-public ghc-free
4868 "https://hackage.haskell.org/package/free/free-"
4873 "1147s393442xf4gkpbq0rd1p286vmykgx85mxhk5d1c7wfm4bzn9"))))
4874 (build-system haskell-build-system)
4876 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4877 ("ghc-profunctors" ,ghc-profunctors)
4878 ("ghc-exceptions" ,ghc-exceptions)
4879 ("ghc-bifunctors" ,ghc-bifunctors)
4880 ("ghc-comonad" ,ghc-comonad)
4881 ("ghc-distributive" ,ghc-distributive)
4882 ("ghc-semigroupoids" ,ghc-semigroupoids)
4883 ("ghc-semigroups" ,ghc-semigroups)))
4884 (home-page "https://github.com/ekmett/free/")
4885 (synopsis "Unrestricted monads for Haskell")
4886 (description "This library provides free monads, which are useful for many
4887 tree-like structures and domain specific languages. If @code{f} is a
4888 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4889 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4890 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4891 f} makes no constraining assumptions beyond those given by @code{f} and the
4892 definition of @code{Monad}.")
4893 (license license:bsd-3)))
4895 (define-public ghc-adjunctions
4897 (name "ghc-adjunctions")
4903 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
4908 "1k1ykisf96i4g2zm47c45md7p42c4vsp9r73392pz1g8mx7s2j5r"))))
4909 (build-system haskell-build-system)
4911 `(("ghc-profunctors" ,ghc-profunctors)
4912 ("ghc-comonad" ,ghc-comonad)
4913 ("ghc-contravariant" ,ghc-contravariant)
4914 ("ghc-distributive" ,ghc-distributive)
4915 ("ghc-free" ,ghc-free)
4916 ("ghc-tagged" ,ghc-tagged)
4917 ("ghc-semigroupoids" ,ghc-semigroupoids)
4918 ("ghc-semigroups" ,ghc-semigroups)
4919 ("ghc-void" ,ghc-void)))
4920 (home-page "https://github.com/ekmett/adjunctions/")
4921 (synopsis "Adjunctions and representable functors")
4922 (description "This library provides adjunctions and representable functors
4924 (license license:bsd-3)))
4926 (define-public ghc-equivalence
4928 (name "ghc-equivalence")
4933 (uri (string-append "https://hackage.haskell.org/package/equivalence"
4934 "/equivalence-" version ".tar.gz"))
4936 (base32 "0a85bdyyvjqs5z4kfhhf758210k9gi9dv42ik66a3jl0z7aix8kx"))))
4937 (build-system haskell-build-system)
4939 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
4940 ("ghc-transformers-compat" ,ghc-transformers-compat)
4941 ("ghc-quickcheck" ,ghc-quickcheck)
4942 ("ghc-test-framework" ,ghc-test-framework)
4943 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4944 (home-page "https://github.com/pa-ba/equivalence")
4945 (synopsis "Maintaining an equivalence relation implemented as union-find")
4947 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
4948 Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
4949 22(2), 1975) in order to maintain an equivalence relation. This
4950 implementation is a port of the @code{union-find} package using the @code{ST}
4951 monad transformer (instead of the IO monad).")
4952 (license license:bsd-3)))
4954 (define-public ghc-fast-logger
4956 (name "ghc-fast-logger")
4962 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
4967 "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv"))))
4968 (build-system haskell-build-system)
4970 `(("ghc-auto-update" ,ghc-auto-update)
4971 ("ghc-easy-file" ,ghc-easy-file)
4972 ("ghc-text" ,ghc-text)
4973 ("ghc-unix-time" ,ghc-unix-time)))
4975 `(("hspec-discover" ,hspec-discover)
4976 ("ghc-hspec" ,ghc-hspec)))
4977 (home-page "https://hackage.haskell.org/package/fast-logger")
4978 (synopsis "Fast logging system")
4979 (description "This library provides a fast logging system for Haskell.")
4980 (license license:bsd-3)))
4982 (define-public ghc-doctest
4984 (name "ghc-doctest")
4990 "https://hackage.haskell.org/package/doctest/doctest-"
4995 "0xv4vx1r3mk7cmiwywzrq25545cx3i7imhcx33mk47r88j5c49fj"))))
4996 (build-system haskell-build-system)
4997 (arguments `(#:tests? #f)) ; FIXME: missing test framework
4999 `(("ghc-syb" ,ghc-syb)
5000 ("ghc-paths" ,ghc-paths)
5001 ("ghc-base-compat" ,ghc-base-compat)
5002 ("ghc-hunit" ,ghc-hunit)
5003 ("ghc-hspec" ,ghc-hspec)
5004 ("ghc-quickcheck" ,ghc-quickcheck)
5005 ("ghc-stringbuilder" ,ghc-stringbuilder)
5006 ("ghc-silently" ,ghc-silently)
5007 ("ghc-setenv" ,ghc-setenv)))
5009 "https://github.com/sol/doctest#readme")
5010 (synopsis "Test interactive Haskell examples")
5011 (description "The doctest program checks examples in source code comments.
5012 It is modeled after doctest for Python, see
5013 @uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
5014 (license license:expat)))
5016 (define-public ghc-doctest-0.12
5017 (package (inherit ghc-doctest)
5018 (name "ghc-doctest")
5024 "https://hackage.haskell.org/package/doctest/doctest-"
5029 "13h549cpgcvb7c54c7wif28g5wak84dxc3ais0hlqhzk1q6la91a"))))
5031 `(("ghc-code-page" ,ghc-code-page)
5032 ,@(package-inputs ghc-doctest)))))
5034 (define-public ghc-doctest-0.13
5035 (package (inherit ghc-doctest-0.12)
5036 (name "ghc-doctest")
5041 (uri (string-append "https://hackage.haskell.org/package/"
5042 "doctest/doctest-" version ".tar.gz"))
5045 "08g3nmpqbnbkxc95d65hkhfabwax10qrq51vlynr342npn40mn2b"))))))
5047 (define-public ghc-lifted-base
5049 (name "ghc-lifted-base")
5055 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
5060 "17yz4n7q96x4cp8vxai8csn2vmpigxvipkfh48arahf91f0xy18n"))))
5061 (build-system haskell-build-system)
5062 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
5064 `(("ghc-transformers-base" ,ghc-transformers-base)
5065 ("ghc-monad-control" ,ghc-monad-control)
5066 ("ghc-transformers-compat" ,ghc-transformers-compat)
5067 ("ghc-hunit" ,ghc-hunit)))
5068 (home-page "https://github.com/basvandijk/lifted-base")
5069 (synopsis "Lifted IO operations from the base library")
5070 (description "Lifted-base exports IO operations from the @code{base}
5071 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
5072 Note that not all modules from @code{base} are converted yet. The package
5073 includes a copy of the @code{monad-peel} test suite written by Anders
5075 (license license:bsd-3)))
5077 (define-public ghc-word8
5085 "https://hackage.haskell.org/package/word8/word8-"
5090 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
5091 (build-system haskell-build-system)
5093 `(("ghc-hspec" ,ghc-hspec)
5094 ("hspec-discover" ,hspec-discover)))
5095 (home-page "https://hackage.haskell.org/package/word8")
5096 (synopsis "Word8 library for Haskell")
5097 (description "Word8 library to be used with @code{Data.ByteString}.")
5098 (license license:bsd-3)))
5100 (define-public ghc-stringsearch
5102 (name "ghc-stringsearch")
5108 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
5113 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
5114 (build-system haskell-build-system)
5115 (home-page "https://bitbucket.org/dafis/stringsearch")
5116 (synopsis "Fast searching, splitting and replacing of ByteStrings")
5117 (description "This package provides several functions to quickly search
5118 for substrings in strict or lazy @code{ByteStrings}. It also provides
5119 functions for breaking or splitting on substrings and replacing all
5120 occurrences of a substring (the first in case of overlaps) with another.")
5121 (license license:bsd-3)))
5123 (define-public ghc-integer-logarithms
5125 (name "ghc-integer-logarithms")
5130 (uri (string-append "https://hackage.haskell.org/package/"
5131 "integer-logarithms/integer-logarithms-"
5135 "1wj8kgjg5bn2yrs4zh9qfjv85cx6w998j9pi39yrbv305944mb9j"))))
5136 (build-system haskell-build-system)
5138 `(#:configure-flags (list "--allow-newer=tasty")))
5140 `(("ghc-quickcheck" ,ghc-quickcheck)
5141 ("ghc-smallcheck" ,ghc-smallcheck)
5142 ("ghc-tasty" ,ghc-tasty)
5143 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5144 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5145 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
5146 (home-page "https://github.com/Bodigrim/integer-logarithms")
5147 (synopsis "Integer logarithms")
5149 "This package provides the following modules:
5150 @code{Math.NumberTheory.Logarithms} and
5151 @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
5152 @code{GHC.Integer.Logarithms.Compat} and
5153 @code{Math.NumberTheory.Power.Natural}, as well as some additional functions
5154 in migrated modules.")
5155 (license license:expat)))
5157 (define-public ghc-scientific
5159 (name "ghc-scientific")
5165 "https://hackage.haskell.org/package/scientific/scientific-"
5170 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
5171 (build-system haskell-build-system)
5173 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
5174 ("ghc-text" ,ghc-text)
5175 ("ghc-hashable" ,ghc-hashable)
5176 ("ghc-primitive" ,ghc-primitive)))
5178 `(("ghc-tasty" ,ghc-tasty)
5179 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
5180 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5181 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5182 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5183 ("ghc-smallcheck" ,ghc-smallcheck)
5184 ("ghc-quickcheck" ,ghc-quickcheck)))
5185 (home-page "https://github.com/basvandijk/scientific")
5186 (synopsis "Numbers represented using scientific notation")
5187 (description "This package provides @code{Data.Scientific}, which provides
5188 the number type @code{Scientific}. Scientific numbers are arbitrary precision
5189 and space efficient. They are represented using
5190 @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
5192 (license license:bsd-3)))
5194 (define-public ghc-boxes
5201 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
5204 (base32 "1n7xiplzd3s1a39nizwjcgsh3wi2348mp21c3fk19v98ialfjgjf"))))
5205 (build-system haskell-build-system)
5207 `(("ghc-split" ,ghc-split)
5208 ("ghc-quickcheck" ,ghc-quickcheck)))
5209 (home-page "https://hackage.haskell.org/package/boxes")
5210 (synopsis "2D text pretty-printing library")
5212 "Boxes is a pretty-printing library for laying out text in two dimensions,
5213 using a simple box model.")
5214 (license license:bsd-3)))
5216 (define-public ghc-deepseq-generics
5218 (name "ghc-deepseq-generics")
5222 (uri (string-append "https://hackage.haskell.org/package/"
5223 "deepseq-generics/deepseq-generics-"
5227 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
5228 (build-system haskell-build-system)
5230 `(("ghc-hunit" ,ghc-hunit)
5231 ("ghc-test-framework" ,ghc-test-framework)
5232 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5233 (home-page "https://github.com/hvr/deepseq-generics")
5234 (synopsis "Generic RNF implementation")
5236 "This package provides a @code{GHC.Generics}-based
5237 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
5238 providing an 'rnf' implementation.")
5239 (license license:bsd-3)))
5241 (define-public ghc-string-qq
5243 (name "ghc-string-qq")
5249 "https://hackage.haskell.org/package/string-qq/string-qq-"
5254 "0662m3i5xrdrr95w829bszkhp88mj9iy1zya54vk2sl5hz9wlmwp"))))
5255 (build-system haskell-build-system)
5256 (home-page "http://hackage.haskell.org/package/string-qq")
5258 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
5260 "This package provides a quasiquoter for non-interpolated strings, texts
5262 (license license:public-domain)))
5264 (define-public ghc-pandoc-types
5266 (name "ghc-pandoc-types")
5267 (version "1.17.5.1")
5270 (uri (string-append "https://hackage.haskell.org/package/"
5271 "pandoc-types/pandoc-types-"
5275 "1q6v2bynij724fv347mhqxdscwifzrx5jb9mq80608qf638fn717"))))
5276 (build-system haskell-build-system)
5278 `(#:configure-flags (list "--allow-newer=QuickCheck")))
5280 `(("ghc-syb" ,ghc-syb)
5281 ("ghc-aeson" ,ghc-aeson)
5282 ("ghc-string-qq" ,ghc-string-qq)))
5284 `(("ghc-quickcheck" ,ghc-quickcheck)
5285 ("ghc-test-framework" ,ghc-test-framework)
5286 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5287 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5288 ("ghc-hunit" ,ghc-hunit)))
5289 (home-page "http://johnmacfarlane.net/pandoc")
5290 (synopsis "Types for representing a structured document")
5292 "This module defines the @code{Pandoc} data structure, which is used by
5293 pandoc to represent structured documents. It also provides functions for
5294 building up, manipulating and serialising @code{Pandoc} structures.")
5295 (license license:bsd-3)))
5297 (define-public ghc-pandoc-types-for-pandoc-1
5298 (package (inherit ghc-pandoc-types)
5299 (version "1.17.0.5")
5302 (uri (string-append "https://hackage.haskell.org/package/"
5303 "pandoc-types/pandoc-types-"
5307 "1csipjdq00iiq77k2wlrg4i7afrzlh8nl585q785xzw7nn45b0n8"))))
5309 `(#:configure-flags (list "--allow-newer=QuickCheck"
5310 "--allow-newer=HUnit")))
5312 `(("ghc-syb" ,ghc-syb)
5313 ("ghc-aeson" ,ghc-aeson-for-pandoc-1)
5314 ("ghc-string-qq" ,ghc-string-qq)))))
5316 (define-public ghc-texmath
5318 (name "ghc-texmath")
5319 (version "0.11.0.1")
5322 (uri (string-append "https://hackage.haskell.org/package/"
5323 "texmath/texmath-" version ".tar.gz"))
5326 "11dc09hfnyfsz20ch2c867w0zdgjkzq41506lm61i3dk87ngdisf"))))
5327 (build-system haskell-build-system)
5329 `(("ghc-syb" ,ghc-syb)
5330 ("ghc-network-uri" ,ghc-network-uri)
5331 ("ghc-split" ,ghc-split)
5332 ("ghc-temporary" ,ghc-temporary)
5333 ("ghc-utf8-string" ,ghc-utf8-string)
5334 ("ghc-xml" ,ghc-xml)
5335 ("ghc-parsec" ,ghc-parsec)
5336 ("ghc-pandoc-types" ,ghc-pandoc-types)))
5337 (home-page "https://github.com/jgm/texmath")
5338 (synopsis "Conversion between formats used to represent mathematics")
5340 "The texmath library provides functions to read and write TeX math,
5341 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
5342 Office). Support is also included for converting math formats to pandoc's
5343 native format (allowing conversion, via pandoc, to a variety of different
5344 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
5345 it can parse and apply LaTeX macros.")
5346 (license license:gpl2+)))
5348 (define-public ghc-texmath-for-pandoc-1
5349 (package (inherit ghc-texmath)
5353 (uri (string-append "https://hackage.haskell.org/package/"
5354 "texmath/texmath-" version ".tar.gz"))
5357 "129q33m56diiv35kdwfb07838wrg0mm88kxdqxfyl1zvf9nzkqkd"))))
5359 `(("ghc-network-uri" ,ghc-network-uri)
5360 ("ghc-pandoc-types" ,ghc-pandoc-types-for-pandoc-1)
5361 ("ghc-parsec" ,ghc-parsec)
5362 ("ghc-split" ,ghc-split)
5363 ("ghc-syb" ,ghc-syb)
5364 ("ghc-temporary" ,ghc-temporary)
5365 ("ghc-utf8-string" ,ghc-utf8-string)
5366 ("ghc-xml" ,ghc-xml)))))
5368 (define-public ghc-regex-pcre-builtin
5370 (name "ghc-regex-pcre-builtin")
5371 (version "0.94.4.8.8.35")
5374 (uri (string-append "https://hackage.haskell.org/package/"
5375 "regex-pcre-builtin/regex-pcre-builtin-"
5379 "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b"))))
5380 (build-system haskell-build-system)
5382 `(("ghc-regex-base" ,ghc-regex-base)))
5383 (home-page "https://hackage.haskell.org/package/regex-pcre")
5384 (synopsis "Enhancement of the builtin Text.Regex library")
5386 "This package is an enhancement of the @code{Text.Regex} library,
5387 providing the PCRE backend to accompany regex-base, with bundled code from
5388 @url{https://www.pcre.org}.")
5389 (license license:bsd-3)))
5391 (define-public ghc-diff
5397 (uri (string-append "https://hackage.haskell.org/package/"
5398 "Diff/Diff-" version ".tar.gz"))
5401 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
5402 (build-system haskell-build-system)
5404 `(("ghc-quickcheck" ,ghc-quickcheck)
5405 ("ghc-test-framework" ,ghc-test-framework)
5406 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5407 (home-page "https://hub.darcs.net/sterlingclover/Diff")
5408 (synopsis "O(ND) diff algorithm in Haskell")
5410 "This package provides an implementation of the standard diff algorithm,
5411 and utilities for pretty printing.")
5412 (license license:bsd-3)))
5414 (define-public ghc-highlighting-kate
5416 (name "ghc-highlighting-kate")
5420 (uri (string-append "https://hackage.haskell.org/package/"
5421 "highlighting-kate/highlighting-kate-"
5425 "03c4flh4h1jd48bx0qmplax3q8w6wj1dhbh6j0xhaf5h95fbinki"))))
5426 (build-system haskell-build-system)
5428 `(("ghc-diff" ,ghc-diff)
5429 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5431 `(("ghc-parsec" ,ghc-parsec)
5432 ("ghc-blaze-html" ,ghc-blaze-html)
5433 ("ghc-utf8-string" ,ghc-utf8-string)))
5434 (home-page "https://github.com/jgm/highlighting-kate")
5435 (synopsis "Syntax highlighting library")
5437 "Highlighting-kate is a syntax highlighting library with support for
5438 nearly one hundred languages. The syntax parsers are automatically generated
5439 from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5440 supported by Kate can be added. An (optional) command-line program is
5441 provided, along with a utility for generating new parsers from Kate XML syntax
5443 (license license:gpl2+)))
5445 (define-public ghc-cmark
5451 ;; XXX As of version 0.5.6, this package bundles libcmark 0.28.0.
5452 ;; See cbits/cmark_version.h.
5453 (uri (string-append "https://hackage.haskell.org/package/"
5454 "cmark/cmark-" version ".tar.gz"))
5457 "1c1j3a8b9qx5zk9myqm3gap8ymz7fipwrdmyfsq9wkkdr9x4np45"))))
5458 (build-system haskell-build-system)
5460 `(("ghc-text" ,ghc-text)))
5462 `(("ghc-hunit" ,ghc-hunit)))
5463 (home-page "https://github.com/jgm/commonmark-hs")
5464 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
5466 "This package provides Haskell bindings for
5467 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
5468 CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
5469 sources, and does not require prior installation of the C library.")
5470 (license license:bsd-3)))
5472 (define-public ghc-cmark-gfm
5474 (name "ghc-cmark-gfm")
5479 (uri (string-append "https://hackage.haskell.org/package/"
5480 "cmark-gfm/cmark-gfm-"
5484 "1fkisbrydmdx5h8yad09fzk8h1b1j53r02g7vb81izgdwj9b673k"))))
5485 (build-system haskell-build-system)
5487 `(("ghc-text" ,ghc-text)))
5489 `(("ghc-hunit" ,ghc-hunit)))
5490 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
5492 "Fast, accurate GitHub Flavored Markdown parser and renderer")
5494 "This package provides Haskell bindings for libcmark-gfm, the reference
5495 parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
5496 It includes sources for libcmark-gfm and does not require prior installation
5498 (license license:bsd-3)))
5500 (define-public ghc-executable-path
5502 (name "ghc-executable-path")
5506 (uri (string-append "https://hackage.haskell.org/package/"
5507 "executable-path/executable-path-"
5511 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
5512 (build-system haskell-build-system)
5513 (home-page "https://hackage.haskell.org/package/executable-path")
5514 (synopsis "Find out the full path of the executable")
5516 "The documentation of @code{System.Environment.getProgName} says that
5517 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
5518 instead, for maximum portability, we just return the leafname of the program
5519 as invoked.\" This library tries to provide the missing path.")
5520 (license license:public-domain)))
5522 (define-public ghc-enclosed-exceptions
5524 (name "ghc-enclosed-exceptions")
5528 (uri (string-append "https://hackage.haskell.org/package/"
5529 "enclosed-exceptions/enclosed-exceptions-"
5533 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
5534 (build-system haskell-build-system)
5535 ;; FIXME: one of the tests blocks forever:
5536 ;; "thread blocked indefinitely in an MVar operation"
5537 (arguments '(#:tests? #f))
5539 `(("ghc-lifted-base" ,ghc-lifted-base)
5540 ("ghc-monad-control" ,ghc-monad-control)
5541 ("ghc-async" ,ghc-async)
5542 ("ghc-transformers-base" ,ghc-transformers-base)))
5544 `(("ghc-hspec" ,ghc-hspec)
5545 ("ghc-quickcheck" ,ghc-quickcheck)))
5546 (home-page "https://github.com/jcristovao/enclosed-exceptions")
5547 (synopsis "Catch all exceptions from within an enclosed computation")
5549 "This library implements a technique to catch all exceptions raised
5550 within an enclosed computation, while remaining responsive to (external)
5551 asynchronous exceptions.")
5552 (license license:expat)))
5554 (define-public ghc-packedstring
5556 (name "ghc-packedstring")
5560 (uri (string-append "https://hackage.haskell.org/package/"
5561 "packedstring/packedstring-"
5565 "1x78pzzdlnpcmh9p37rlf8m5cxf3yqm2alf3whl4zpr9w25r0qj8"))))
5566 (build-system haskell-build-system)
5569 (modify-phases %standard-phases
5570 (add-after 'unpack 'enable-extension
5572 ;; This package won't compile without the StandaloneDeriving
5574 (substitute* "packedstring.cabal"
5575 (("CPP") "CPP, StandaloneDeriving"))
5577 (home-page "https://hackage.haskell.org/package/packedstring")
5578 (synopsis "Library for packed strings")
5580 "This deprecated library provides an implementation of packed strings.")
5581 (license license:bsd-3)))
5583 (define-public ghc-th-abstraction
5585 (name "ghc-th-abstraction")
5590 (uri (string-append "https://hackage.haskell.org/package/"
5591 "th-abstraction/th-abstraction-"
5595 "0g42h6wnj2awc5ryhbvx009wd8w75pn66bjzsq1z4s3xajd2hbp5"))))
5596 (build-system haskell-build-system)
5597 (home-page "https://github.com/glguy/th-abstraction")
5598 (synopsis "Nicer interface for reified information about data types")
5600 "This package normalizes variations in the interface for inspecting
5601 datatype information via Template Haskell so that packages and support a
5602 single, easier to use informational datatype while supporting many versions of
5604 (license license:isc)))
5606 (define-public ghc-th-lift
5608 (name "ghc-th-lift")
5612 (uri (string-append "https://hackage.haskell.org/package/"
5613 "th-lift/th-lift-" version ".tar.gz"))
5616 "0ay10b78x3969rpqqrgzy8srkl6iby2cljbf3mm17na8x22k7y1c"))))
5617 (build-system haskell-build-system)
5618 (home-page "https://github.com/mboes/th-lift")
5619 (synopsis "Derive Template Haskell's Lift class for datatypes")
5621 "This is a Haskell library to derive Template Haskell's Lift class for
5623 (license license:bsd-3)))
5625 (define-public ghc-th-lift-instances
5627 (name "ghc-th-lift-instances")
5632 (uri (string-append "https://hackage.haskell.org/package/"
5633 "th-lift-instances/th-lift-instances-"
5637 "1f56cp6ckcalld5jchv0kxpjkwcsixd7smd0g7r8cg67ppx6m90x"))))
5638 (build-system haskell-build-system)
5640 `(("ghc-th-lift" ,ghc-th-lift)
5641 ("ghc-vector" ,ghc-vector)
5642 ("ghc-text" ,ghc-text)
5643 ("ghc-quickcheck" ,ghc-quickcheck)))
5644 (home-page "https://github.com/bennofs/th-lift-instances/")
5645 (synopsis "Lift instances for template-haskell for common data types.")
5646 (description "Most data types in the Haskell platform do not have Lift
5647 instances. This package provides orphan instances for @code{containers},
5648 @code{text}, @code{bytestring} and @code{vector}.")
5649 (license license:bsd-3)))
5651 (define-public ghc-th-expand-syns
5653 (name "ghc-th-expand-syns")
5657 (uri (string-append "https://hackage.haskell.org/package/"
5658 "th-expand-syns/th-expand-syns-"
5662 "1sjy7a17zwyvlbkc8gklii67sy78wpnw35fyb00lsbnpk4cryd2r"))))
5663 (build-system haskell-build-system)
5665 `(("ghc-syb" ,ghc-syb)))
5666 (home-page "https://hackage.haskell.org/package/th-expand-syns")
5667 (synopsis "Expands type synonyms in Template Haskell ASTs")
5669 "This package enables users to expand type synonyms in Template Haskell
5670 @dfn{abstract syntax trees} (ASTs).")
5671 (license license:bsd-3)))
5673 (define-public ghc-th-reify-many
5675 (name "ghc-th-reify-many")
5679 (uri (string-append "https://hackage.haskell.org/package/"
5680 "th-reify-many/th-reify-many-"
5684 "1b76zjxkj0v0n8zj9l0nwav2irm0c43rx6qjihfw8klmmxvx59df"))))
5685 (build-system haskell-build-system)
5687 `(("ghc-safe" ,ghc-safe)
5688 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
5689 (home-page "https://github.com/mgsloan/th-reify-many")
5690 (synopsis "Recurseively reify template haskell datatype info")
5692 "th-reify-many provides functions for recursively reifying top level
5693 declarations. The main intended use case is for enumerating the names of
5694 datatypes reachable from an initial datatype, and passing these names to some
5695 function which generates instances.")
5696 (license license:bsd-3)))
5698 (define-public ghc-th-orphans
5700 (name "ghc-th-orphans")
5704 (uri (string-append "https://hackage.haskell.org/package/"
5705 "th-orphans/th-orphans-" version ".tar.gz"))
5708 "0102vkyzpgnp2fys8pvw4khrhrh2y1b8dp1slgvn020vg4s351mc"))))
5709 (build-system haskell-build-system)
5711 `(("ghc-th-lift" ,ghc-th-lift)
5712 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
5713 ("ghc-th-reify-many" ,ghc-th-reify-many)
5714 ("ghc-generic-deriving" ,ghc-generic-deriving)))
5716 `(("ghc-hspec" ,ghc-hspec)))
5717 (home-page "https://hackage.haskell.org/package/th-orphans")
5718 (synopsis "Orphan instances for TH datatypes")
5720 "This package provides orphan instances for Template Haskell datatypes. In particular,
5721 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
5722 and @code{Eq} instances. These instances used to live in the haskell-src-meta
5723 package, and that's where the version number started.")
5724 (license license:bsd-3)))
5726 (define-public ghc-geniplate-mirror
5728 (name "ghc-geniplate-mirror")
5733 (uri (string-append "https://hackage.haskell.org/package"
5735 "/geniplate-mirror-" version ".tar.gz"))
5737 (base32 "17vjps2118s5z3k39ij00lkmkxv3mqf8h59wv6qdamlgmhyr36si"))))
5738 (build-system haskell-build-system)
5739 (home-page "https://github.com/danr/geniplate")
5740 (synopsis "Use Template Haskell to generate Uniplate-like functions")
5742 "Use Template Haskell to generate Uniplate-like functions. This is a
5743 maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
5744 geniplate} package, written by Lennart Augustsson.")
5745 (license license:bsd-3)))
5747 (define-public ghc-gitrev
5754 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
5757 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
5758 (build-system haskell-build-system)
5759 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
5760 (home-page "https://github.com/acfoltzer/gitrev")
5761 (synopsis "Compile git revision info into Haskell projects")
5763 "This package provides some handy Template Haskell splices for including
5764 the current git hash and branch in the code of your project. This is useful
5765 for including in panic messages, @command{--version} output, or diagnostic
5766 info for more informative bug reports.")
5767 (license license:bsd-3)))
5769 (define-public ghc-haskell-src-meta
5771 (name "ghc-haskell-src-meta")
5775 (uri (string-append "https://hackage.haskell.org/package/"
5776 "haskell-src-meta/haskell-src-meta-"
5780 "12rc4v5dbbbcwdp7j8isvnm9vqpazv124j5kdfwlgwgwjhxi8ysb"))))
5781 (build-system haskell-build-system)
5783 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5784 ("ghc-syb" ,ghc-syb)
5785 ("ghc-th-orphans" ,ghc-th-orphans)))
5787 `(("ghc-hunit" ,ghc-hunit)
5788 ("ghc-test-framework" ,ghc-test-framework)
5789 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5790 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5791 (synopsis "Parse source to template-haskell abstract syntax")
5793 "This package provides tools to parse Haskell sources to the
5794 template-haskell abstract syntax.")
5795 (license license:bsd-3)))
5797 (define-public ghc-conduit
5799 (name "ghc-conduit")
5803 (uri (string-append "https://hackage.haskell.org/package/"
5804 "conduit/conduit-" version ".tar.gz"))
5807 "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v"))))
5808 (build-system haskell-build-system)
5810 `(("ghc-exceptions" ,ghc-exceptions)
5811 ("ghc-lifted-base" ,ghc-lifted-base)
5812 ("ghc-mono-traversable" ,ghc-mono-traversable)
5813 ("ghc-mmorph" ,ghc-mmorph)
5814 ("ghc-resourcet" ,ghc-resourcet)
5815 ("ghc-silently" ,ghc-silently)
5816 ("ghc-transformers-base" ,ghc-transformers-base)
5817 ("ghc-unliftio" ,ghc-unliftio)
5818 ("ghc-unliftio-core" ,ghc-unliftio-core)
5819 ("ghc-vector" ,ghc-vector)
5820 ("ghc-void" ,ghc-void)))
5822 `(("ghc-quickcheck" ,ghc-quickcheck)
5823 ("ghc-hspec" ,ghc-hspec)
5824 ("ghc-safe" ,ghc-safe)
5825 ("ghc-split" ,ghc-split)))
5826 (home-page "https://github.com/snoyberg/conduit")
5827 (synopsis "Streaming data library ")
5829 "The conduit package is a solution to the streaming data problem,
5830 allowing for production, transformation, and consumption of streams of data
5831 in constant memory. It is an alternative to lazy I/O which guarantees
5832 deterministic resource handling, and fits in the same general solution
5833 space as enumerator/iteratee and pipes.")
5834 (license license:expat)))
5836 (define-public ghc-logging-facade
5838 (name "ghc-logging-facade")
5842 (uri (string-append "https://hackage.haskell.org/package/"
5843 "logging-facade/logging-facade-"
5847 "18ldv6rsff480rqpbs3iabjpvn1fhw0i2a0g80jnhxg9ajfz5yb0"))))
5848 (build-system haskell-build-system)
5850 `(("ghc-hspec" ,ghc-hspec)
5851 ("hspec-discover" ,hspec-discover)))
5852 (home-page "https://hackage.haskell.org/package/logging-facade")
5853 (synopsis "Simple logging abstraction that allows multiple back-ends")
5855 "This package provides a simple logging abstraction that allows multiple
5857 (license license:expat)))
5859 (define-public ghc-mockery
5861 (name "ghc-mockery")
5865 (uri (string-append "https://hackage.haskell.org/package/"
5866 "mockery/mockery-" version ".tar.gz"))
5869 "1m7sq2vclgir3qbpngzl3g87ks4034blwwf7p3h02c0jlcwpl5b1"))))
5870 (build-system haskell-build-system)
5872 `(("ghc-temporary" ,ghc-temporary)
5873 ("ghc-logging-facade" ,ghc-logging-facade)
5874 ("ghc-base-compat" ,ghc-base-compat)))
5876 `(("ghc-hspec" ,ghc-hspec)
5877 ("hspec-discover" ,hspec-discover)))
5878 (home-page "https://hackage.haskell.org/package/mockery")
5879 (synopsis "Support functions for automated testing")
5881 "The mockery package provides support functions for automated testing.")
5882 (license license:expat)))
5884 (define-public ghc-yaml
5890 (uri (string-append "https://hackage.haskell.org/package/"
5891 "yaml/yaml-" version ".tar.gz"))
5894 "0swgkzkfrwj0ac7lssn8rnrdfmh3lcsdn5fbq2iwv55di6jbc0pp"))))
5895 (build-system haskell-build-system)
5897 `(("ghc-conduit" ,ghc-conduit)
5898 ("ghc-resourcet" ,ghc-resourcet)
5899 ("ghc-aeson" ,ghc-aeson)
5900 ("ghc-unordered-containers" ,ghc-unordered-containers)
5901 ("ghc-vector" ,ghc-vector)
5902 ("ghc-text" ,ghc-text)
5903 ("ghc-attoparsec" ,ghc-attoparsec)
5904 ("ghc-scientific" ,ghc-scientific)
5905 ("ghc-semigroups" ,ghc-semigroups)
5906 ("ghc-temporary" ,ghc-temporary)
5907 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
5908 ("ghc-base-compat" ,ghc-base-compat)))
5910 `(("ghc-hspec" ,ghc-hspec)
5911 ("ghc-hunit" ,ghc-hunit)
5912 ("hspec-discover" ,hspec-discover)
5913 ("ghc-mockery" ,ghc-mockery)))
5914 (home-page "https://github.com/snoyberg/yaml/")
5915 (synopsis "Parsing and rendering YAML documents")
5917 "This package provides a library to parse and render YAML documents.")
5918 (license license:bsd-3)))
5920 (define-public ghc-yaml-for-pandoc-1
5921 (package (inherit ghc-yaml)
5923 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
5924 ,@(alist-delete "ghc-aeson" (package-inputs ghc-yaml))))))
5926 (define-public ghc-filemanip
5928 (name "ghc-filemanip")
5932 (uri (string-append "https://hackage.haskell.org/package/"
5933 "filemanip/filemanip-" version ".tar.gz"))
5936 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
5937 (build-system haskell-build-system)
5939 `(("ghc-unix-compat" ,ghc-unix-compat)))
5940 (home-page "https://github.com/bos/filemanip")
5941 (synopsis "File and directory manipulation for Haskell")
5943 "This package provides a Haskell library for working with files and
5944 directories. It includes code for pattern matching, finding files, modifying
5945 file contents, and more.")
5946 (license license:bsd-3)))
5948 (define-public ghc-mmap
5954 (uri (string-append "https://hackage.haskell.org/package/"
5955 "mmap/mmap-" version ".tar.gz"))
5958 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
5959 (build-system haskell-build-system)
5960 (home-page "https://hackage.haskell.org/package/mmap")
5961 (synopsis "Memory mapped files for Haskell")
5963 "This library provides a wrapper to @code{mmap}, allowing files or
5964 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
5965 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
5966 do on-demand loading.")
5967 (license license:bsd-3)))
5969 (define-public ghc-juicypixels
5971 (name "ghc-juicypixels")
5975 (uri (string-append "https://hackage.haskell.org/package/"
5976 "JuicyPixels/JuicyPixels-"
5980 "14s57fgf6kd5n5al2kcvk1aaxbq1ph0r5h8blflrjkx83yl6r8yn"))))
5981 (build-system haskell-build-system)
5983 `(("ghc-zlib" ,ghc-zlib)
5984 ("ghc-vector" ,ghc-vector)
5985 ("ghc-primitive" ,ghc-primitive)
5986 ("ghc-mmap" ,ghc-mmap)))
5987 (home-page "https://github.com/Twinside/Juicy.Pixels")
5988 (synopsis "Picture loading and serialization library")
5990 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
5991 TIFF and GIF formats.")
5992 (license license:bsd-3)))
5994 (define-public ghc-hslua
6000 (uri (string-append "https://hackage.haskell.org/package/"
6001 "hslua/hslua-" version ".tar.gz"))
6004 "1j2zk7f7nyywg2b0n6kb2yf6ljc7cn2sk9jz0h76g3ag2b70l12n"))))
6005 (build-system haskell-build-system)
6007 `(#:configure-flags '("-fsystem-lua")))
6010 ("ghc-exceptions" ,ghc-exceptions)
6011 ("ghc-fail" ,ghc-fail)
6012 ("ghc-text" ,ghc-text)))
6014 `(("ghc-tasty" ,ghc-tasty)
6015 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
6016 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6017 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6018 ("ghc-quickcheck" ,ghc-quickcheck)
6019 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
6020 (home-page "https://hackage.haskell.org/package/hslua")
6021 (synopsis "Lua language interpreter embedding in Haskell")
6023 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
6024 described in @url{https://www.lua.org/}.")
6025 (license license:expat)))
6027 (define-public ghc-hslua-for-pandoc-1
6028 (package (inherit ghc-hslua)
6032 (uri (string-append "https://hackage.haskell.org/package/"
6033 "hslua/hslua-" version ".tar.gz"))
6036 "0gqp6qhp4v24kzv2j49kgk7bxqzw0w10x0zr0r2j9wkfavqb9wid"))))
6039 ("ghc-text" ,ghc-text)))
6041 `(("ghc-quickcheck" ,ghc-quickcheck)
6042 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6043 ("ghc-hspec" ,ghc-hspec)
6044 ("ghc-hspec-contrib" ,ghc-hspec-contrib)
6045 ("ghc-hunit" ,ghc-hunit)
6046 ("hspec-discover" ,hspec-discover)))))
6048 (define-public ghc-hslua-module-text
6050 (name "ghc-hslua-module-text")
6055 (uri (string-append "https://hackage.haskell.org/package/"
6056 "hslua-module-text/hslua-module-text-"
6060 "0bcfpb1dhnxp0gr376ai4w7vczr9zrjl1r3r6w7kcxivfkwq9cxf"))))
6061 (build-system haskell-build-system)
6063 `(("ghc-hslua" ,ghc-hslua)
6064 ("ghc-text" ,ghc-text)))
6066 `(("ghc-tasty" ,ghc-tasty)
6067 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6068 (home-page "https://github.com/hslua/hslua-module-text")
6069 (synopsis "Lua module for text")
6071 "This package provides a UTF-8 aware subset of Lua's @code{string} module
6072 for Haskell. The functions provided by this module are @code{upper},
6073 @code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
6074 (license license:expat)))
6076 (define-public ghc-byteable
6078 (name "ghc-byteable")
6082 (uri (string-append "https://hackage.haskell.org/package/"
6083 "byteable/byteable-" version ".tar.gz"))
6086 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
6087 (build-system haskell-build-system)
6088 (home-page "https://github.com/vincenthz/hs-byteable")
6089 (synopsis "Type class for sequence of bytes")
6091 "This package provides an abstract class to manipulate sequence of bytes.
6092 The use case of this class is abstracting manipulation of types that are just
6093 wrapping a bytestring with stronger and more meaniful name.")
6094 (license license:bsd-3)))
6096 (define-public ghc-hourglass
6098 (name "ghc-hourglass")
6102 (uri (string-append "https://hackage.haskell.org/package/"
6103 "hourglass/hourglass-" version ".tar.gz"))
6106 "104d1yd84hclprg740nkz60vx589mnm094zriw6zczbgg8nkclym"))))
6107 (build-system haskell-build-system)
6109 `(("ghc-old-locale" ,ghc-old-locale)))
6111 `(("ghc-tasty" ,ghc-tasty)
6112 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6113 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6114 (home-page "https://github.com/vincenthz/hs-hourglass")
6115 (synopsis "Simple time-related library for Haskell")
6117 "This is a simple time library providing a simple but powerful and
6118 performant API. The backbone of the library are the @code{Timeable} and
6119 @code{Time} type classes. Each @code{Timeable} instances can be converted to
6120 a type that has a @code{Time} instances, and thus are different
6121 representations of current time.")
6122 (license license:bsd-3)))
6124 (define-public ghc-edit-distance
6126 (name "ghc-edit-distance")
6131 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
6132 "/edit-distance-" version ".tar.gz"))
6134 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
6135 (build-system haskell-build-system)
6137 `(#:configure-flags (list "--allow-newer=QuickCheck")))
6139 `(("ghc-random" ,ghc-random)
6140 ("ghc-test-framework" ,ghc-test-framework)
6141 ("ghc-quickcheck" ,ghc-quickcheck)
6142 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6143 (home-page "https://github.com/phadej/edit-distance")
6144 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
6146 "This package provides optimized functions to determine the edit
6147 distances for fuzzy matching, including Levenshtein and restricted
6148 Damerau-Levenshtein algorithms.")
6149 (license license:bsd-3)))
6151 (define-public ghc-memory
6157 (uri (string-append "https://hackage.haskell.org/package/"
6158 "memory/memory-" version ".tar.gz"))
6161 "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v"))))
6162 (build-system haskell-build-system)
6164 `(("ghc-basement" ,ghc-basement)
6165 ("ghc-foundation" ,ghc-foundation)))
6167 `(("ghc-tasty" ,ghc-tasty)
6168 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6169 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6170 (home-page "https://github.com/vincenthz/hs-memory")
6171 (synopsis "Memory abstractions for Haskell")
6173 "This package provides memory abstractions, such as chunk of memory,
6174 polymorphic byte array management and manipulation functions. It contains a
6175 polymorphic byte array abstraction and functions similar to strict ByteString,
6176 different type of byte array abstraction, raw memory IO operations (memory
6177 set, memory copy, ..) and more")
6178 (license license:bsd-3)))
6180 (define-public ghc-socks
6186 (uri (string-append "https://hackage.haskell.org/package/"
6187 "socks/socks-" version ".tar.gz"))
6190 "0s689w1hh9g8ifl75xhzbv96ir07hwn04b4lgvbxzl8swa9ylir6"))))
6191 (build-system haskell-build-system)
6193 `(("ghc-cereal" ,ghc-cereal)
6194 ("ghc-network" ,ghc-network)))
6195 (home-page "https://github.com/vincenthz/hs-socks")
6196 (synopsis "SOCKS proxy (version 5) implementation")
6198 "This library provides a SOCKS proxy (version 5) implementation.")
6199 (license license:bsd-3)))
6201 (define-public ghc-connection
6203 (name "ghc-connection")
6207 (uri (string-append "https://hackage.haskell.org/package/"
6208 "connection/connection-"
6212 "1c1prsgad669cmf6qrqlb5hmh0dnam2imijqzpwcr4ja14l6rh83"))))
6213 (build-system haskell-build-system)
6215 `(("ghc-byteable" ,ghc-byteable)
6216 ("ghc-data-default-class" ,ghc-data-default-class)
6217 ("ghc-network" ,ghc-network)
6218 ("ghc-tls" ,ghc-tls)
6219 ("ghc-socks" ,ghc-socks)
6220 ("ghc-x509" ,ghc-x509)
6221 ("ghc-x509-store" ,ghc-x509-store)
6222 ("ghc-x509-system" ,ghc-x509-system)
6223 ("ghc-x509-validation" ,ghc-x509-validation)))
6224 (home-page "https://github.com/vincenthz/hs-connection")
6225 (synopsis "Simple and easy network connections API")
6227 "This package provides a simple network library for all your connection
6228 needs. It provides a very simple API to create sockets to a destination with
6229 the choice of SSL/TLS, and SOCKS.")
6230 (license license:bsd-3)))
6232 (define-public ghc-skylighting
6234 (name "ghc-skylighting")
6238 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
6239 version "/skylighting-" version ".tar.gz"))
6242 "0l5lhhqqlfaq1fs7pn3n3b25kmazk8p4ahwvhagbrhcbm5hsigdg"))))
6243 (build-system haskell-build-system)
6245 `(("ghc-aeson" ,ghc-aeson)
6246 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6247 ("ghc-attoparsec" ,ghc-attoparsec)
6248 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6249 ("ghc-blaze-html" ,ghc-blaze-html)
6250 ("ghc-case-insensitive" ,ghc-case-insensitive)
6251 ("ghc-colour" ,ghc-colour)
6252 ("ghc-diff" ,ghc-diff)
6253 ("ghc-hxt" ,ghc-hxt)
6254 ("ghc-pretty-show" ,ghc-pretty-show)
6255 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6256 ("ghc-safe" ,ghc-safe)
6257 ("ghc-text" ,ghc-text)
6258 ("ghc-utf8-string" ,ghc-utf8-string)))
6260 `(("ghc-hunit" ,ghc-hunit)
6261 ("ghc-quickcheck" ,ghc-quickcheck)
6262 ("ghc-tasty" ,ghc-tasty)
6263 ("ghc-tasty-golden" ,ghc-tasty-golden)
6264 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6265 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6266 (home-page "https://hackage.haskell.org/package/skylighting")
6267 (synopsis "Syntax highlighting library")
6268 (description "Skylighting is a syntax highlighting library with support
6269 for over one hundred languages. It derives its tokenizers from XML syntax
6270 definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
6271 supported by that framework can be added. An optional command-line program is
6272 provided. Skylighting is intended to be the successor to highlighting-kate.")
6273 (license license:gpl2)))
6275 (define-public ghc-skylighting-for-pandoc-1
6276 (package (inherit ghc-skylighting)
6280 ;; We take the sources from Github, because the tarball on
6281 ;; hackage does not include the XML files.
6283 (url "https://github.com/jgm/skylighting.git")
6285 (file-name (string-append "ghc-skylighting-" version "-checkout"))
6288 "0z3yv8v2fqqgv6lsf0ff3ld0h2vkg97b2jiry9wn2f1rizwdqmzl"))))
6290 `(#:configure-flags '("-fbootstrap")
6292 (modify-phases %standard-phases
6293 ;; After building the skylighting-extract tool we use it to generate
6294 ;; syntax source files from the included XML files. These are then
6295 ;; added to the skylighting.cabal file.
6296 (add-after 'build 'extract-xml
6298 (make-file-writable "skylighting.cabal")
6299 (apply invoke "./dist/build/skylighting-extract/skylighting-extract"
6300 (find-files "xml" "\\.xml$"))
6302 ;; Reconfigure without bootstrap flag
6303 (add-after 'extract-xml 'configure-again
6304 (lambda* (#:key outputs inputs tests? #:allow-other-keys)
6305 ((assoc-ref %standard-phases 'configure)
6309 #:configure-flags '("-f-bootstrap"))))
6310 (add-after 'configure-again 'build-again
6311 (assoc-ref %standard-phases 'build)))))
6313 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6314 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6315 ("ghc-blaze-html" ,ghc-blaze-html)
6316 ("ghc-case-insensitive" ,ghc-case-insensitive)
6317 ("ghc-diff" ,ghc-diff)
6318 ("ghc-hxt" ,ghc-hxt)
6319 ("ghc-pretty-show" ,ghc-pretty-show)
6320 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6321 ("ghc-safe" ,ghc-safe)
6322 ("ghc-text" ,ghc-text)
6323 ("ghc-utf8-string" ,ghc-utf8-string)))))
6325 (define-public ghc-doctemplates
6327 (name "ghc-doctemplates")
6332 (uri (string-append "https://hackage.haskell.org/package/"
6333 "doctemplates/doctemplates-"
6337 "1bfs2kl5j5al2w2y4qpbn68p0xsnb65r7h51l356kpkzc326646p"))))
6338 (build-system haskell-build-system)
6340 `(("ghc-aeson" ,ghc-aeson)
6341 ("ghc-blaze-markup" ,ghc-blaze-markup)
6342 ("ghc-blaze-html" ,ghc-blaze-html)
6343 ("ghc-text" ,ghc-text)
6344 ("ghc-vector" ,ghc-vector)
6345 ("ghc-parsec" ,ghc-parsec)
6346 ("ghc-unordered-containers" ,ghc-unordered-containers)
6347 ("ghc-scientific" ,ghc-scientific)))
6349 `(("ghc-hspec" ,ghc-hspec)))
6350 (home-page "https://github.com/jgm/doctemplates#readme")
6351 (synopsis "Pandoc-style document templates")
6353 "This package provides a simple text templating system used by pandoc.")
6354 (license license:bsd-3)))
6356 (define-public ghc-doctemplates-for-pandoc-1
6357 (package (inherit ghc-doctemplates)
6362 (uri (string-append "https://hackage.haskell.org/package/"
6363 "doctemplates/doctemplates-"
6367 "0swal6rjya1293mwvl63jch5fx9ghpsil7qs4v7rpansa0izalmp"))))
6368 (build-system haskell-build-system)
6370 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6371 ("ghc-blaze-markup" ,ghc-blaze-markup)
6372 ("ghc-blaze-html" ,ghc-blaze-html)
6373 ("ghc-text" ,ghc-text)
6374 ("ghc-vector" ,ghc-vector)
6375 ("ghc-parsec" ,ghc-parsec)
6376 ("ghc-unordered-containers" ,ghc-unordered-containers)
6377 ("ghc-scientific" ,ghc-scientific)))))
6379 (define-public ghc-pandoc
6386 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6390 "1dqin92w513l7whg5wdgrngnxsj5mb8gppfvn7kjgyv2pdgpy0zy"))))
6391 (build-system haskell-build-system)
6393 `(("ghc-aeson" ,ghc-aeson)
6394 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6395 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6396 ("ghc-blaze-html" ,ghc-blaze-html)
6397 ("ghc-blaze-markup" ,ghc-blaze-markup)
6398 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
6399 ("ghc-data-default" ,ghc-data-default)
6400 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6401 ("ghc-diff" ,ghc-diff)
6402 ("ghc-doctemplates" ,ghc-doctemplates)
6403 ("ghc-executable-path" ,ghc-executable-path)
6404 ("ghc-glob" ,ghc-glob)
6405 ("ghc-haddock-library" ,ghc-haddock-library)
6406 ("ghc-hslua" ,ghc-hslua)
6407 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
6408 ("ghc-http" ,ghc-http)
6409 ("ghc-http-client" ,ghc-http-client)
6410 ("ghc-http-client-tls" ,ghc-http-client-tls)
6411 ("ghc-http-types" ,ghc-http-types)
6412 ("ghc-juicypixels" ,ghc-juicypixels)
6413 ("ghc-network" ,ghc-network)
6414 ("ghc-network-uri" ,ghc-network-uri)
6415 ("ghc-old-locale" ,ghc-old-locale)
6416 ("ghc-pandoc-types" ,ghc-pandoc-types)
6417 ("ghc-parsec" ,ghc-parsec)
6418 ("ghc-random" ,ghc-random)
6419 ("ghc-scientific" ,ghc-scientific)
6420 ("ghc-sha" ,ghc-sha)
6421 ("ghc-skylighting" ,ghc-skylighting)
6422 ("ghc-split" ,ghc-split)
6423 ("ghc-syb" ,ghc-syb)
6424 ("ghc-tagsoup" ,ghc-tagsoup)
6425 ("ghc-temporary" ,ghc-temporary)
6426 ("ghc-texmath" ,ghc-texmath)
6427 ("ghc-text" ,ghc-text)
6428 ("ghc-unordered-containers" ,ghc-unordered-containers)
6429 ("ghc-vector" ,ghc-vector)
6430 ("ghc-xml" ,ghc-xml)
6431 ("ghc-yaml" ,ghc-yaml)
6432 ("ghc-zip-archive" ,ghc-zip-archive)
6433 ("ghc-zlib" ,ghc-zlib)))
6435 `(("ghc-tasty" ,ghc-tasty)
6436 ("ghc-tasty-golden" ,ghc-tasty-golden)
6437 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6438 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6439 ("ghc-quickcheck" ,ghc-quickcheck)
6440 ("ghc-hunit" ,ghc-hunit)))
6441 (home-page "https://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 ;; This is the last version of Pandoc 1.x, which is preferred for Rmarkdown.
6455 (define-public ghc-pandoc-1
6456 (package (inherit ghc-pandoc)
6457 (version "1.19.2.4")
6461 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6465 "0mim429mpakrcnm50csxyqk3ljcx2l26r5grk6w9isnggwgqrq5v"))))
6467 `(#:configure-flags (list "--allow-newer=skylighting")))
6469 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6470 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6471 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6472 ("ghc-blaze-html" ,ghc-blaze-html)
6473 ("ghc-blaze-markup" ,ghc-blaze-markup)
6474 ("ghc-cmark" ,ghc-cmark)
6475 ("ghc-data-default" ,ghc-data-default)
6476 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6477 ("ghc-diff" ,ghc-diff)
6478 ("ghc-doctemplates" ,ghc-doctemplates-for-pandoc-1)
6479 ("ghc-executable-path" ,ghc-executable-path)
6480 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
6481 ("ghc-filemanip" ,ghc-filemanip)
6482 ("ghc-haddock-library" ,ghc-haddock-library)
6483 ("ghc-hslua" ,ghc-hslua-for-pandoc-1)
6484 ("ghc-http" ,ghc-http)
6485 ("ghc-http-client" ,ghc-http-client)
6486 ("ghc-http-client-tls" ,ghc-http-client-tls)
6487 ("ghc-http-types" ,ghc-http-types)
6488 ("ghc-juicypixels" ,ghc-juicypixels)
6489 ("ghc-network" ,ghc-network)
6490 ("ghc-network-uri" ,ghc-network-uri)
6491 ("ghc-old-time" ,ghc-old-time)
6492 ("ghc-pandoc-types" ,ghc-pandoc-types-for-pandoc-1)
6493 ("ghc-parsec" ,ghc-parsec)
6494 ("ghc-random" ,ghc-random)
6495 ("ghc-scientific" ,ghc-scientific)
6496 ("ghc-sha" ,ghc-sha)
6497 ("ghc-skylighting" ,ghc-skylighting-for-pandoc-1)
6498 ("ghc-syb" ,ghc-syb)
6499 ("ghc-tagsoup" ,ghc-tagsoup)
6500 ("ghc-temporary" ,ghc-temporary)
6501 ("ghc-texmath" ,ghc-texmath-for-pandoc-1)
6502 ("ghc-text" ,ghc-text)
6503 ("ghc-unordered-containers" ,ghc-unordered-containers)
6504 ("ghc-vector" ,ghc-vector)
6505 ("ghc-xml" ,ghc-xml)
6506 ("ghc-yaml" ,ghc-yaml-for-pandoc-1)
6507 ("ghc-zip-archive" ,ghc-zip-archive)
6508 ("ghc-zlib" ,ghc-zlib)))
6510 `(("ghc-test-framework" ,ghc-test-framework)
6511 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6512 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))))
6514 (define-public ghc-hs-bibutils
6516 (name "ghc-hs-bibutils")
6522 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6526 "0c56sjgg82kjcg5rrplnyn7vf02ccsj3kkcbgc87zxlv0j880rjb"))))
6527 (build-system haskell-build-system)
6528 (inputs `(("ghc-syb" ,ghc-syb)))
6529 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6530 (synopsis "Haskell bindings to bibutils")
6532 "This package provides Haskell bindings to @code{bibutils}, a library
6533 that interconverts between various bibliography formats using a common
6534 MODS-format XML intermediate.")
6535 (license license:gpl2+)))
6537 (define-public ghc-rfc5051
6539 (name "ghc-rfc5051")
6544 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
6545 "rfc5051-" version ".tar.gz"))
6548 "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3"))))
6549 (build-system haskell-build-system)
6550 (home-page "https://hackage.haskell.org/package/rfc5051")
6551 (synopsis "Simple unicode collation as per RFC5051")
6553 "This library implements @code{unicode-casemap}, the simple, non
6554 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
6555 unicode collation can be done using @code{text-icu}, but that is a big
6556 dependency that depends on a large C library, and @code{rfc5051} might be
6557 better for some purposes.")
6558 (license license:bsd-3)))
6560 (define-public ghc-typed-process
6562 (name "ghc-typed-process")
6567 (uri (string-append "https://hackage.haskell.org/package/"
6568 "typed-process/typed-process-"
6572 "0c6gvgvjyncbni9a5bvpbglknd4yclr3d3hfg9bhgahmkj40dva2"))))
6573 (build-system haskell-build-system)
6575 `(("ghc-async" ,ghc-async)
6576 ("ghc-stm" ,ghc-stm)))
6578 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
6579 ("ghc-hspec" ,ghc-hspec)
6580 ("hspec-discover" ,hspec-discover)
6581 ("ghc-temporary" ,ghc-temporary)))
6582 (home-page "https://haskell-lang.org/library/typed-process")
6583 (synopsis "Run external processes with strong typing of streams")
6585 "This library provides the ability to launch and interact with external
6586 processes. It wraps around the @code{process} library, and intends to improve
6588 (license license:expat)))
6590 (define-public ghc-conduit-extra
6592 (name "ghc-conduit-extra")
6597 (uri (string-append "https://hackage.haskell.org/package/"
6598 "conduit-extra/conduit-extra-"
6602 "1bi2b6kdzy5f9glq46jzsk02has95jkxqz0cchpbmnakzhjwjh9c"))))
6603 (build-system haskell-build-system)
6605 `(("ghc-conduit" ,ghc-conduit)
6606 ("ghc-exceptions" ,ghc-exceptions)
6607 ("ghc-monad-control" ,ghc-monad-control)
6608 ("ghc-text" ,ghc-text)
6609 ("ghc-transformers-base" ,ghc-transformers-base)
6610 ("ghc-typed-process" ,ghc-typed-process)
6611 ("ghc-async" ,ghc-async)
6612 ("ghc-attoparsec" ,ghc-attoparsec)
6613 ("ghc-blaze-builder" ,ghc-blaze-builder)
6614 ("ghc-network" ,ghc-network)
6615 ("ghc-primitive" ,ghc-primitive)
6616 ("ghc-resourcet" ,ghc-resourcet)
6617 ("ghc-stm" ,ghc-stm)
6618 ("ghc-streaming-commons" ,ghc-streaming-commons)
6619 ("ghc-hspec" ,ghc-hspec)
6620 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6621 ("ghc-quickcheck" ,ghc-quickcheck)))
6623 `(("hspec-discover" ,hspec-discover)))
6624 (home-page "https://github.com/snoyberg/conduit")
6625 (synopsis "Conduit adapters for common libraries")
6627 "The @code{conduit} package itself maintains relative small dependencies.
6628 The purpose of this package is to collect commonly used utility functions
6629 wrapping other library dependencies, without depending on heavier-weight
6630 dependencies. The basic idea is that this package should only depend on
6631 @code{haskell-platform} packages and @code{conduit}.")
6632 (license license:expat)))
6634 (define-public ghc-xml-types
6636 (name "ghc-xml-types")
6641 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
6642 "xml-types-" version ".tar.gz"))
6645 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
6646 (build-system haskell-build-system)
6647 (inputs `(("ghc-text" ,ghc-text)))
6648 (home-page "https://john-millikin.com/software/haskell-xml/")
6649 (synopsis "Basic types for representing XML")
6650 (description "This package provides basic types for representing XML
6652 (license license:expat)))
6654 (define-public ghc-xml-conduit
6656 (name "ghc-xml-conduit")
6661 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
6662 "xml-conduit-" version ".tar.gz"))
6665 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
6666 (build-system haskell-build-system)
6668 `(("ghc-conduit" ,ghc-conduit)
6669 ("ghc-conduit-extra" ,ghc-conduit-extra)
6670 ("ghc-doctest" ,ghc-doctest)
6671 ("ghc-resourcet" ,ghc-resourcet)
6672 ("ghc-text" ,ghc-text)
6673 ("ghc-xml-types" ,ghc-xml-types)
6674 ("ghc-attoparsec" ,ghc-attoparsec)
6675 ("ghc-data-default-class" ,ghc-data-default-class)
6676 ("ghc-blaze-markup" ,ghc-blaze-markup)
6677 ("ghc-blaze-html" ,ghc-blaze-html)
6678 ("ghc-monad-control" ,ghc-monad-control)
6679 ("ghc-hspec" ,ghc-hspec)
6680 ("ghc-hunit" ,ghc-hunit)))
6681 (home-page "https://github.com/snoyberg/xml")
6682 (synopsis "Utilities for dealing with XML with the conduit package")
6684 "This package provides pure-Haskell utilities for dealing with XML with
6685 the @code{conduit} package.")
6686 (license license:expat)))
6688 (define-public ghc-pandoc-citeproc
6690 (name "ghc-pandoc-citeproc")
6691 (version "0.14.3.1")
6695 (uri (string-append "https://hackage.haskell.org/package/"
6696 "pandoc-citeproc/pandoc-citeproc-"
6700 "0yj6rckwsc9vig40cm15ry0j3d01xpk04qma9n4byhal6v4b5h22"))))
6701 (build-system haskell-build-system)
6704 (modify-phases %standard-phases
6705 ;; Tests need to be run after installation.
6707 (add-after 'install 'post-install-check
6708 (assoc-ref %standard-phases 'check)))))
6710 `(("ghc-pandoc-types" ,ghc-pandoc-types)
6711 ("ghc-pandoc" ,ghc-pandoc)
6712 ("ghc-tagsoup" ,ghc-tagsoup)
6713 ("ghc-aeson" ,ghc-aeson)
6714 ("ghc-text" ,ghc-text)
6715 ("ghc-vector" ,ghc-vector)
6716 ("ghc-xml-conduit" ,ghc-xml-conduit)
6717 ("ghc-unordered-containers" ,ghc-unordered-containers)
6718 ("ghc-data-default" ,ghc-data-default)
6719 ("ghc-setenv" ,ghc-setenv)
6720 ("ghc-split" ,ghc-split)
6721 ("ghc-yaml" ,ghc-yaml)
6722 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
6723 ("ghc-rfc5051" ,ghc-rfc5051)
6724 ("ghc-syb" ,ghc-syb)
6725 ("ghc-parsec" ,ghc-parsec)
6726 ("ghc-old-locale" ,ghc-old-locale)
6727 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6728 ("ghc-attoparsec" ,ghc-attoparsec)
6729 ("ghc-temporary" ,ghc-temporary)))
6730 (home-page "https://github.com/jgm/pandoc-citeproc")
6731 (synopsis "Library for using pandoc with citeproc")
6733 "The @code{pandoc-citeproc} library exports functions for using the
6734 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
6735 rendering bibliographic reference citations into a variety of styles using a
6736 macro language called @dfn{Citation Style Language} (CSL). This package also
6737 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
6738 and also has a mode for converting bibliographic databases a YAML format
6739 suitable for inclusion in pandoc YAML metadata.")
6740 (license license:bsd-3)))
6742 (define-public ghc-pandoc-citeproc-with-pandoc-1
6744 (package-input-rewriting
6745 `((,ghc-aeson . ,ghc-aeson-for-pandoc-1)
6746 (,ghc-yaml . ,ghc-yaml-for-pandoc-1)
6747 (,ghc-texmath . ,ghc-texmath-for-pandoc-1)
6748 (,ghc-pandoc-types . ,ghc-pandoc-types-for-pandoc-1)
6749 (,ghc-hslua . ,ghc-hslua-for-pandoc-1)
6750 (,ghc-skylighting . ,ghc-skylighting-for-pandoc-1)
6751 (,ghc-doctemplates . ,ghc-doctemplates-for-pandoc-1)
6752 (,ghc-pandoc . ,ghc-pandoc-1)))))
6753 (for-pandoc-1 ghc-pandoc-citeproc)))
6755 (define-public ghc-union-find
6757 (name "ghc-union-find")
6762 "https://hackage.haskell.org/package/union-find/union-find-"
6766 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
6767 (build-system haskell-build-system)
6768 (home-page "https://github.com/nominolo/union-find")
6769 (synopsis "Efficient union and equivalence testing of sets")
6771 "The Union/Find algorithm implements these operations in (effectively)
6774 @item Check whether two elements are in the same equivalence class.
6775 @item Create a union of two equivalence classes.
6776 @item Look up the descriptor of the equivalence class.
6778 (license license:bsd-3)))
6780 (define-public ghc-base16-bytestring
6782 (name "ghc-base16-bytestring")
6788 "https://hackage.haskell.org/package/base16-bytestring/"
6789 "base16-bytestring-" version ".tar.gz"))
6792 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
6793 (build-system haskell-build-system)
6794 (home-page "https://github.com/bos/base16-bytestring")
6795 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
6797 "This package provides a Haskell library for working with base16-encoded
6798 data quickly and efficiently, using the ByteString type.")
6799 (license license:bsd-3)))
6801 (define-public ghc-data-ordlist
6803 (name "ghc-data-ordlist")
6809 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
6813 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
6814 (build-system haskell-build-system)
6815 (home-page "https://hackage.haskell.org/package/data-ordlist")
6816 (synopsis "Set and bag operations on ordered lists")
6818 "This module provides set and multiset operations on ordered lists.")
6819 (license license:bsd-3)))
6821 (define-public ghc-regex-applicative
6823 (name "ghc-regex-applicative")
6829 "https://hackage.haskell.org/package/regex-applicative/"
6830 "regex-applicative-" version ".tar.gz"))
6833 "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
6834 (build-system haskell-build-system)
6836 `(("ghc-smallcheck" ,ghc-smallcheck)
6837 ("ghc-tasty" ,ghc-tasty)
6838 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
6839 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6840 (home-page "https://github.com/feuerbach/regex-applicative")
6841 (synopsis "Regex-based parsing with applicative interface")
6843 "@code{regex-applicative} is a Haskell library for parsing using
6844 regular expressions. Parsers can be built using Applicative interface.")
6845 (license license:expat)))
6847 (define-public ghc-regex-tdfa
6849 (name "ghc-regex-tdfa")
6855 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
6859 "0f8x8wyr6m21g8dnxvnvalz5bsq37l125l6qhs0fscbvprsxc4nb"))))
6860 (build-system haskell-build-system)
6862 `(("ghc-parsec" ,ghc-parsec)
6863 ("ghc-regex-base" ,ghc-regex-base)))
6864 (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
6865 (synopsis "POSIX extended regular expressions in Haskell.")
6867 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
6868 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
6869 inspired by libtre.")
6870 (license license:bsd-3)))
6872 (define-public ghc-regex-compat-tdfa
6874 (name "ghc-regex-compat-tdfa")
6875 (version "0.95.1.4")
6880 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
6884 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
6885 (build-system haskell-build-system)
6887 `(("ghc-regex-base" ,ghc-regex-base)
6888 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
6889 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
6890 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
6892 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
6893 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
6894 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
6896 (license license:bsd-3)))
6898 (define-public ghc-sandi
6906 "https://hackage.haskell.org/package/sandi/sandi-"
6910 "0dvkpk91n9kz2ha04rvp231ra9sgd1ilyc1qkzf9l03iir7zrh9b"))))
6911 (build-system haskell-build-system)
6913 `(("ghc-stringsearch" ,ghc-stringsearch)
6914 ("ghc-conduit" ,ghc-conduit)
6915 ("ghc-exceptions" ,ghc-exceptions)
6916 ("ghc-hunit" ,ghc-hunit)
6917 ("ghc-tasty" ,ghc-tasty)
6918 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6919 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6920 ("ghc-tasty-th" ,ghc-tasty-th)))
6921 (home-page "https://hackage.haskell.org/package/sandi")
6922 (synopsis "Data encoding library")
6923 (description "Reasonably fast data encoding library.")
6924 (license license:bsd-3)))
6926 (define-public ghc-bytestring-handle
6928 (name "ghc-bytestring-handle")
6934 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
6938 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
6939 (build-system haskell-build-system)
6941 `(("ghc-hunit" ,ghc-hunit)
6942 ("ghc-quickcheck" ,ghc-quickcheck)
6943 ("ghc-test-framework" ,ghc-test-framework)
6944 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6945 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6946 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
6947 (synopsis "ByteString-backed Handles")
6948 (description "ByteString-backed Handles") ; There is no description
6949 (license license:bsd-3)))
6951 (define-public ghc-tar
6959 "https://hackage.haskell.org/package/tar/tar-"
6963 "18qq94j9bm91iswnxq2dm5dws5c7wm4k01q2rpf8py35cf3svnfq"))))
6964 (build-system haskell-build-system)
6965 ;; FIXME: 2/24 tests fail.
6966 (arguments `(#:tests? #f))
6968 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
6969 ("ghc-quickcheck" ,ghc-quickcheck)
6970 ("ghc-tasty" ,ghc-tasty)
6971 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6972 (home-page "https://hackage.haskell.org/package/tar")
6973 (synopsis "Reading, writing and manipulating \".tar\" archive files")
6975 "This library is for working with \\\"@.tar@\\\" archive files.
6976 It can read and write a range of common variations of the tar archive format
6977 including V7, POSIX USTAR and GNU formats. It provides support for packing and
6978 unpacking portable archives. This makes it suitable for distribution but not
6979 backup because details like file ownership and exact permissions are not
6980 preserved. It also provides features for random access to archive content using
6982 (license license:bsd-3)))
6984 (define-public ghc-stmonadtrans
6986 (name "ghc-stmonadtrans")
6991 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
6992 "/STMonadTrans-" version ".tar.gz"))
6994 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
6995 (build-system haskell-build-system)
6996 (home-page "https://hackage.haskell.org/package/STMonadTrans")
6997 (synopsis "Monad transformer version of the ST monad")
6999 "This package provides a monad transformer version of the @code{ST} monad
7000 for strict state threads.")
7001 (license license:bsd-3)))
7003 (define-public ghc-findbin
7005 (name "ghc-findbin")
7011 "https://hackage.haskell.org/package/FindBin/FindBin-"
7015 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
7016 (build-system haskell-build-system)
7017 (home-page "https://github.com/audreyt/findbin")
7018 (synopsis "Get the absolute path of the running program")
7020 "This module locates the full directory of the running program, to allow
7021 the use of paths relative to it. FindBin supports invocation of Haskell
7022 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
7024 (license license:bsd-3)))
7026 (define-public ghc-patience
7028 (name "ghc-patience")
7034 "https://hackage.haskell.org/package/patience/patience-"
7038 "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
7039 (build-system haskell-build-system)
7040 (home-page "https://hackage.haskell.org/package/patience")
7041 (synopsis "Patience diff and longest increasing subsequence")
7043 "This library implements the 'patience diff' algorithm, as well as the
7044 patience algorithm for the longest increasing subsequence problem.
7045 Patience diff computes the difference between two lists, for example the lines
7046 of two versions of a source file. It provides a good balance between
7047 performance, nice output for humans, and simplicity of implementation.")
7048 (license license:bsd-3)))
7050 (define-public ghc-monads-tf
7052 (name "ghc-monads-tf")
7058 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7062 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7063 (build-system haskell-build-system)
7064 (home-page "https://hackage.haskell.org/package/monads-tf")
7065 (synopsis "Monad classes, using type families")
7067 "Monad classes using type families, with instances for various monad transformers,
7068 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7069 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7070 the @code{mtl-tf} package.")
7071 (license license:bsd-3)))
7073 (define-public ghc-colour
7081 "https://hackage.haskell.org/package/colour/colour-"
7085 "1sy51nz096sv91nxqk6yk7b92b5a40axv9183xakvki2nc09yhqg"))))
7087 ;; The tests for this package have the following dependency cycle:
7088 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
7090 (build-system haskell-build-system)
7091 (home-page "https://www.haskell.org/haskellwiki/Colour")
7092 (synopsis "Model for human colour perception")
7094 "This package provides a data type for colours and transparency.
7095 Colours can be blended and composed. Various colour spaces are
7096 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
7097 (license license:expat)))
7099 (define-public ghc-wl-pprint-text
7101 (name "ghc-wl-pprint-text")
7107 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
7111 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
7112 (build-system haskell-build-system)
7114 `(("ghc-base-compat" ,ghc-base-compat)
7115 ("ghc-text" ,ghc-text)))
7116 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
7117 (synopsis "Wadler/Leijen Pretty Printer for Text values")
7119 "A clone of wl-pprint for use with the text library.")
7120 (license license:bsd-3)))
7122 (define-public ghc-fgl-arbitrary
7124 (name "ghc-fgl-arbitrary")
7130 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
7134 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
7135 (build-system haskell-build-system)
7137 `(#:configure-flags (list "--allow-newer=QuickCheck"
7138 "--allow-newer=hspec")))
7140 `(("ghc-fgl" ,ghc-fgl)
7141 ("ghc-quickcheck" ,ghc-quickcheck)
7142 ("ghc-hspec" ,ghc-hspec)))
7143 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
7144 (synopsis "QuickCheck support for fgl")
7146 "Provides Arbitrary instances for fgl graphs to avoid adding a
7147 QuickCheck dependency for fgl whilst still making the instances
7148 available to others. Also available are non-fgl-specific functions
7149 for generating graph-like data structures.")
7150 (license license:bsd-3)))
7152 (define-public ghc-graphviz
7154 (name "ghc-graphviz")
7155 (version "2999.20.0.2")
7158 (uri (string-append "https://hackage.haskell.org/package/"
7159 "graphviz/graphviz-" version ".tar.gz"))
7162 "0kj7ap0gnliviq2p8lscw1m06capnsa90vpvcys24nqy5nw2wrp7"))))
7163 (build-system haskell-build-system)
7165 `(#:configure-flags (list "--allow-newer=QuickCheck")))
7167 `(("ghc-quickcheck" ,ghc-quickcheck)
7168 ("ghc-colour" ,ghc-colour)
7169 ("ghc-dlist" ,ghc-dlist)
7170 ("ghc-fgl" ,ghc-fgl)
7171 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
7172 ("ghc-polyparse" ,ghc-polyparse)
7173 ("ghc-temporary" ,ghc-temporary)
7174 ("ghc-text" ,ghc-text)
7175 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
7177 `(("ghc-hspec" ,ghc-hspec)
7178 ("graphviz" ,graphviz)
7179 ("hspec-discover" ,hspec-discover)))
7180 (home-page "https://hackage.haskell.org/package/graphviz")
7181 (synopsis "Bindings to Graphviz for graph visualisation")
7183 "This library provides bindings for the Dot language used by
7184 the @uref{https://graphviz.org/, Graphviz} suite of programs for
7185 visualising graphs, as well as functions to call those programs.
7186 Main features of the graphviz library include:
7189 @item Almost complete coverage of all Graphviz attributes and syntax
7190 @item Support for specifying clusters
7191 @item The ability to use a custom node type
7192 @item Functions for running a Graphviz layout tool with all specified output types
7193 @item Generate and parse Dot code with two options: strict and liberal
7194 @item Functions to convert FGL graphs and other graph-like data structures
7195 @item Round-trip support for passing an FGL graph through Graphviz to augment node
7196 and edge labels with positional information, etc.
7198 (license license:bsd-3)))
7200 (define-public ghc-constraints
7202 (name "ghc-constraints")
7208 "https://hackage.haskell.org/package/constraints/constraints-"
7212 "120mmv9rwbahslisc1z8zx9lw7v6hl5fzid4l0hiy5as6ijqgl2c"))))
7213 (build-system haskell-build-system)
7215 `(("ghc-hashable" ,ghc-hashable)
7216 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7217 (home-page "https://github.com/ekmett/constraints/")
7218 (synopsis "Constraint manipulation")
7220 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
7221 They stopped crashing the compiler in GHC 7.6. This package provides
7222 a vocabulary for working with them.")
7223 (license license:bsd-3)))
7225 (define-public ghc-lifted-async
7227 (name "ghc-lifted-async")
7233 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7237 "00fnwfcnc6niq9jbbb9rap9rkdgv5qhcglwanzc5fi8834j94c1r"))))
7238 (build-system haskell-build-system)
7240 `(("ghc-async" ,ghc-async)
7241 ("ghc-lifted-base" ,ghc-lifted-base)
7242 ("ghc-transformers-base" ,ghc-transformers-base)
7243 ("ghc-monad-control" ,ghc-monad-control)
7244 ("ghc-constraints" ,ghc-constraints)
7245 ("ghc-hunit" ,ghc-hunit)
7246 ("ghc-tasty" ,ghc-tasty)
7247 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7248 ("ghc-tasty-th" ,ghc-tasty-th)))
7249 (home-page "https://github.com/maoe/lifted-async")
7250 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7252 "This package provides IO operations from @code{async} package lifted to any
7253 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7254 (license license:bsd-3)))
7256 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
7257 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
7258 ;; which depends on ghc-chell and ghc-chell-quickcheck.
7259 ;; Therefore we bootstrap it with tests disabled.
7260 (define ghc-system-filepath-bootstrap
7262 (name "ghc-system-filepath-bootstrap")
7263 (version "0.4.13.4")
7268 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7272 "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l"))))
7273 (build-system haskell-build-system)
7277 `(("ghc-text" ,ghc-text)
7278 ("ghc-quickcheck" ,ghc-quickcheck)))
7279 (home-page "https://github.com/fpco/haskell-filesystem")
7280 (synopsis "High-level, byte-based file and directory path manipulations")
7282 "Provides a FilePath datatype and utility functions for operating on it.
7283 Unlike the filepath package, this package does not simply reuse String,
7284 increasing type safety.")
7285 (license license:expat)))
7287 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
7288 ;; ghc-system-filepath.
7289 (define ghc-system-fileio-bootstrap
7291 (name "ghc-system-fileio-bootstrap")
7292 (version "0.3.16.3")
7297 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7301 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7302 (build-system haskell-build-system)
7306 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7307 ("ghc-text" ,ghc-text)
7308 ("ghc-temporary" ,ghc-temporary)))
7309 (home-page "https://github.com/fpco/haskell-filesystem")
7310 (synopsis "Consistent file system interaction across GHC versions")
7312 "This is a small wrapper around the directory, unix, and Win32 packages,
7313 for use with system-filepath. It provides a consistent API to the various
7314 versions of these packages distributed with different versions of GHC.
7315 In particular, this library supports working with POSIX files that have paths
7316 which can't be decoded in the current locale encoding.")
7317 (license license:expat)))
7319 (define-public ghc-shelly
7327 "https://hackage.haskell.org/package/shelly/shelly-"
7331 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
7332 (build-system haskell-build-system)
7334 `(("ghc-unix-compat" ,ghc-unix-compat)
7335 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7336 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
7337 ("ghc-monad-control" ,ghc-monad-control)
7338 ("ghc-lifted-base" ,ghc-lifted-base)
7339 ("ghc-lifted-async" ,ghc-lifted-async)
7340 ("ghc-exceptions" ,ghc-exceptions)
7341 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
7342 ("ghc-text" ,ghc-text)
7343 ("ghc-async" ,ghc-async)
7344 ("ghc-transformers-base" ,ghc-transformers-base)
7345 ("ghc-hunit" ,ghc-hunit)
7346 ("ghc-hspec" ,ghc-hspec)
7347 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
7348 (home-page "https://github.com/yesodweb/Shelly.hs")
7349 (synopsis "Shell-like (systems) programming in Haskell")
7351 "Shelly provides convenient systems programming in Haskell, similar in
7352 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
7353 (license license:bsd-3)))
7355 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
7356 (define ghc-options-bootstrap
7358 (name "ghc-options-bootstrap")
7364 "https://hackage.haskell.org/package/options/options-"
7368 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7369 (build-system haskell-build-system)
7373 `(("ghc-monads-tf" ,ghc-monads-tf)))
7374 (home-page "https://john-millikin.com/software/haskell-options/")
7375 (synopsis "Powerful and easy-to-use command-line option parser")
7377 "The @code{options} package lets library and application developers
7378 easily work with command-line options.")
7379 (license license:expat)))
7381 (define-public ghc-chell
7389 "https://hackage.haskell.org/package/chell/chell-"
7393 "0lb95abzxl4a87nfqxsxpb3a39pd52cci43hcvj8615hyhqvs2jz"))))
7394 (build-system haskell-build-system)
7396 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
7397 ("ghc-patience" ,ghc-patience)
7398 ("ghc-random" ,ghc-random)
7399 ("ghc-text" ,ghc-text)
7400 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
7401 (home-page "https://john-millikin.com/software/chell/")
7402 (synopsis "Simple and intuitive library for automated testing")
7404 "Chell is a simple and intuitive library for automated testing.
7405 It natively supports assertion-based testing, and can use companion
7406 libraries such as @code{chell-quickcheck} to support more complex
7407 testing strategies.")
7408 (license license:expat)))
7410 (define ghc-chell-quickcheck-bootstrap
7412 (name "ghc-chell-quickcheck-bootstrap")
7418 "https://hackage.haskell.org/package/chell-quickcheck/"
7419 "chell-quickcheck-" version ".tar.gz"))
7422 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7423 (build-system haskell-build-system)
7425 `(("ghc-chell" ,ghc-chell)
7426 ("ghc-random" ,ghc-random)
7427 ("ghc-quickcheck" ,ghc-quickcheck)))
7430 (home-page "https://john-millikin.com/software/chell/")
7431 (synopsis "QuickCheck support for the Chell testing library")
7432 (description "More complex tests for @code{chell}.")
7433 (license license:expat)))
7435 (define-public ghc-chell-quickcheck
7437 (name "ghc-chell-quickcheck")
7443 "https://hackage.haskell.org/package/chell-quickcheck/"
7444 "chell-quickcheck-" version ".tar.gz"))
7447 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7448 (build-system haskell-build-system)
7450 `(("ghc-chell" ,ghc-chell)
7451 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
7452 ("ghc-random" ,ghc-random)
7453 ("ghc-quickcheck" ,ghc-quickcheck)))
7454 (home-page "https://john-millikin.com/software/chell/")
7455 (synopsis "QuickCheck support for the Chell testing library")
7456 (description "More complex tests for @code{chell}.")
7457 (license license:expat)))
7459 (define-public ghc-options
7461 (name "ghc-options")
7467 "https://hackage.haskell.org/package/options/options-"
7471 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7472 (build-system haskell-build-system)
7474 `(("ghc-monads-tf" ,ghc-monads-tf)
7475 ("ghc-chell" ,ghc-chell)
7476 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
7477 (home-page "https://john-millikin.com/software/haskell-options/")
7478 (synopsis "Powerful and easy-to-use command-line option parser")
7480 "The @code{options} package lets library and application developers
7481 easily work with command-line options.")
7482 (license license:expat)))
7484 (define-public ghc-system-filepath
7486 (name "ghc-system-filepath")
7492 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7496 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
7497 (build-system haskell-build-system)
7498 ;; FIXME: One of the tests fails:
7499 ;; [ FAIL ] tests.validity.posix
7500 ;; note: seed=7310214548328823169
7501 ;; *** Failed! Falsifiable (after 24 tests):
7502 ;; FilePath "/r2\ENQ52\t ;$/o\US=/okG\146\&6\n<u\DC3/5\182\223a\DELN\EOT#\NUL/`[m/\USEKV\ETX([)b6/\ACK\SOo\245\ETBO/f\128\STX`|\EM\"/*\EMA\USD3/\143\&4/\CAN?\SUBee\CANR/9/B0\187Kx4/Vqr\232'b:/\a\234\DLE.\"\179/\ENQ{J/|/G)@^\237/\219ml/\DC3pd\ESC"
7503 (arguments `(#:tests? #f))
7505 `(("ghc-text" ,ghc-text)
7506 ("ghc-chell" ,ghc-chell)
7507 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
7508 ("ghc-quickcheck" ,ghc-quickcheck)))
7509 (home-page "https://github.com/fpco/haskell-filesystem")
7510 (synopsis "High-level, byte-based file and directory path manipulations")
7512 "Provides a FilePath datatype and utility functions for operating on it.
7513 Unlike the filepath package, this package does not simply reuse String,
7514 increasing type safety.")
7515 (license license:expat)))
7517 (define-public ghc-system-fileio
7519 (name "ghc-system-fileio")
7520 (version "0.3.16.3")
7525 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7529 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7530 (build-system haskell-build-system)
7532 `(("ghc-system-filepath" ,ghc-system-filepath)
7533 ("ghc-text" ,ghc-text)
7534 ("ghc-chell" ,ghc-chell)
7535 ("ghc-temporary" ,ghc-temporary)))
7536 (home-page "https://github.com/fpco/haskell-filesystem")
7537 (synopsis "Consistent file system interaction across GHC versions")
7539 "This is a small wrapper around the directory, unix, and Win32 packages,
7540 for use with system-filepath. It provides a consistent API to the various
7541 versions of these packages distributed with different versions of GHC.
7542 In particular, this library supports working with POSIX files that have paths
7543 which can't be decoded in the current locale encoding.")
7544 (license license:expat)))
7546 (define-public ghc-storable-complex
7548 (name "ghc-storable-complex")
7554 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
7557 (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
7558 (build-system haskell-build-system)
7559 (home-page "https://github.com/cartazio/storable-complex")
7560 (synopsis "Haskell Storable instance for Complex")
7561 (description "This package provides a Haskell library including a
7562 Storable instance for Complex which is binary compatible with C99, C++
7563 and Fortran complex data types.")
7564 (license license:bsd-3)))
7566 (define-public ghc-hmatrix
7568 (name "ghc-hmatrix")
7569 (version "0.18.1.0")
7574 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
7577 (base32 "07zkwvg872hfk6jyn4s54ws8mvclynazaxf7fsbqi16dmf9dn61c"))))
7578 (build-system haskell-build-system)
7580 `(("ghc-random" ,ghc-random)
7581 ("ghc-split" ,ghc-split)
7582 ("ghc-storable-complex" ,ghc-storable-complex)
7583 ("ghc-vector" ,ghc-vector)
7584 ;;("openblas" ,openblas)
7585 ("lapack" ,lapack)))
7586 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
7587 ;; disables inclusion of the LAPACK functions.
7588 ;; (arguments `(#:configure-flags '("--flags=openblas")))
7589 (home-page "https://github.com/albertoruiz/hmatrix")
7590 (synopsis "Haskell numeric linear algebra library")
7591 (description "The HMatrix package provices a Haskell library for
7592 dealing with linear systems, matrix decompositions, and other
7593 numerical computations based on BLAS and LAPACK.")
7594 (license license:bsd-3)))
7596 (define-public ghc-hmatrix-gsl
7598 (name "ghc-hmatrix-gsl")
7599 (version "0.18.0.1")
7604 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
7607 (base32 "0mflm7zg6c6a5vy092pa429rzpyv5drc1589r3x4fbmvcyqc79gx"))))
7608 (build-system haskell-build-system)
7610 `(("ghc-hmatrix" ,ghc-hmatrix)
7611 ("ghc-vector" ,ghc-vector)
7612 ("ghc-random" ,ghc-random)
7614 (native-inputs `(("pkg-config" ,pkg-config)))
7615 (home-page "https://github.com/albertoruiz/hmatrix")
7616 (synopsis "Haskell GSL binding")
7617 (description "This Haskell library provides a purely functional
7618 interface to selected numerical computations, internally implemented
7620 (license license:gpl3+)))
7622 (define-public ghc-hmatrix-special
7624 (name "ghc-hmatrix-special")
7631 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
7634 (base32 "0kpcqdchi7ikzhqacy4rh4dxz3v37paxyb84wqa66sysb72wkabj"))))
7635 (build-system haskell-build-system)
7637 `(("ghc-hmatrix" ,ghc-hmatrix)
7638 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
7639 (home-page "https://github.com/albertoruiz/hmatrix")
7640 (synopsis "Haskell interface to GSL special functions")
7641 (description "This library provides an interface to GSL special
7642 functions for Haskell.")
7643 (license license:gpl3+)))
7645 (define-public ghc-hmatrix-gsl-stats
7647 (name "ghc-hmatrix-gsl-stats")
7654 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
7657 (base32 "1gslgk58lzin43cvbpivhw7nrn9qyaa6qwhy1z9ypvyal5p8n3sa"))))
7658 (build-system haskell-build-system)
7660 `(("ghc-vector" ,ghc-vector)
7661 ("ghc-storable-complex" ,ghc-storable-complex)
7662 ("ghc-hmatrix" ,ghc-hmatrix)
7664 (native-inputs `(("pkg-config" ,pkg-config)))
7665 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
7666 (synopsis "GSL Statistics interface for Haskell")
7667 (description "This Haskell library provides a purely functional
7668 interface for statistics based on hmatrix and GSL.")
7669 (license license:bsd-3)))
7671 (define-public ghc-easyplot
7673 (name "ghc-easyplot")
7679 "https://hackage.haskell.org/package/easyplot/easyplot-"
7682 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
7683 (build-system haskell-build-system)
7684 (propagated-inputs `(("gnuplot" ,gnuplot)))
7686 `(#:phases (modify-phases %standard-phases
7687 (add-after 'unpack 'fix-setup-suffix
7688 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
7689 (home-page "https://hub.darcs.net/scravy/easyplot")
7690 (synopsis "Haskell plotting library based on gnuplot")
7691 (description "This package provides a plotting library for
7692 Haskell, using gnuplot for rendering.")
7693 (license license:expat)))
7695 (define-public ghc-hashtables
7697 (name "ghc-hashtables")
7703 "https://hackage.haskell.org/package/hashtables/hashtables-"
7706 (base32 "1b6w9xznk42732vpd8ili60k12yq190xnajgga0iwbdpyg424lgg"))))
7707 (build-system haskell-build-system)
7709 `(#:configure-flags (list "--allow-newer=vector")))
7711 `(("ghc-hashable" ,ghc-hashable)
7712 ("ghc-primitive" ,ghc-primitive)
7713 ("ghc-vector" ,ghc-vector)))
7714 (home-page "https://github.com/gregorycollins/hashtables")
7715 (synopsis "Haskell Mutable hash tables in the ST monad")
7716 (description "This package provides a Haskell library including a
7717 couple of different implementations of mutable hash tables in the ST
7718 monad, as well as a typeclass abstracting their common operations, and
7719 a set of wrappers to use the hash tables in the IO monad.")
7720 (license license:bsd-3)))
7722 (define-public ghc-data-accessor
7724 (name "ghc-data-accessor")
7730 "mirror://hackage/package/data-accessor/data-accessor-"
7733 (base32 "1vf2g1gac3rm32g97rl0fll51m88q7ry4m6khnl5j47qsmx24r9l"))))
7734 (build-system haskell-build-system)
7735 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7737 "Haskell utilities for accessing and manipulating fields of records")
7738 (description "This package provides Haskell modules for accessing and
7739 manipulating fields of records.")
7740 (license license:bsd-3)))
7742 (define-public ghc-data-accessor-transformers
7744 (name "ghc-data-accessor-transformers")
7750 "mirror://hackage/package/data-accessor-transformers/"
7751 "data-accessor-transformers-" version ".tar.gz"))
7753 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
7754 (build-system haskell-build-system)
7755 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
7756 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7757 (synopsis "Use Accessor to access state in transformers State monad")
7758 (description "This package provides Haskell modules to allow use of
7759 Accessor to access state in transformers State monad.")
7760 (license license:bsd-3)))
7762 (define-public ghc-utility-ht
7764 (name "ghc-utility-ht")
7766 (home-page "https://hackage.haskell.org/package/utility-ht")
7770 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
7772 (base32 "1vq5bd51rl9l5lgfmaqxgiggddk38hzgngcj7qgrqnalcd1myi54"))))
7773 (build-system haskell-build-system)
7774 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
7775 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
7776 (description "This package includes Hakell modules providing various
7777 helper functions for Lists, Maybes, Tuples, Functions.")
7778 (license license:bsd-3)))
7780 (define-public ghc-gnuplot
7782 (name "ghc-gnuplot")
7788 "mirror://hackage/package/gnuplot/gnuplot-"
7791 (base32 "1xz8prw9xjk0rsyrkp9bsmxykzrbhpv9qhhkdapy75mdbmgwjm7s"))))
7792 (build-system haskell-build-system)
7794 `(("ghc-temporary" ,ghc-temporary)
7795 ("ghc-utility-ht" ,ghc-utility-ht)
7796 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
7797 ("ghc-data-accessor" ,ghc-data-accessor)
7798 ("gnuplot" ,gnuplot)))
7801 (modify-phases %standard-phases
7802 (add-before 'configure 'fix-path-to-gnuplot
7803 (lambda* (#:key inputs #:allow-other-keys)
7804 (let ((gnuplot (assoc-ref inputs "gnuplot")))
7805 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
7806 (("(gnuplotName = ).*$" all cmd)
7807 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
7808 (home-page "https://www.haskell.org/haskellwiki/Gnuplot")
7809 (synopsis "2D and 3D plots using gnuplot")
7810 (description "This package provides a Haskell module for creating 2D and
7811 3D plots using gnuplot.")
7812 (license license:bsd-3)))
7814 (define-public ghc-hinotify
7816 (name "ghc-hinotify")
7821 "https://hackage.haskell.org/package/hinotify/"
7822 "hinotify-" version ".tar.gz"))
7825 "03c1f4d7x805zdiq2w26kl09xrfjw19saycdkhnixzv2qcr6xm1p"))))
7826 (build-system haskell-build-system)
7827 (home-page "https://github.com/kolmodin/hinotify.git")
7828 (synopsis "Haskell binding to inotify")
7829 (description "This library provides a wrapper to the Linux kernel's inotify
7830 feature, allowing applications to subscribe to notifications when a file is
7831 accessed or modified.")
7832 (license license:bsd-3)))
7834 (define-public ghc-fsnotify
7836 (name "ghc-fsnotify")
7841 "https://hackage.haskell.org/package/fsnotify/"
7842 "fsnotify-" version ".tar.gz"))
7845 "0asl313a52qx2w6dw25g845683xsl840bwjh118nkwi5v1xipkzb"))))
7846 (build-system haskell-build-system)
7848 `(("ghc-text" ,ghc-text)
7849 ("ghc-async" ,ghc-async)
7850 ("ghc-unix-compat" ,ghc-unix-compat)
7851 ("ghc-hinotify" ,ghc-hinotify)
7852 ("ghc-tasty" ,ghc-tasty)
7853 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7854 ("ghc-temporary-rc" ,ghc-temporary-rc)))
7855 (home-page "https://github.com/haskell-fswatch/hfsnotify")
7856 (synopsis "Cross platform library for file change notification.")
7857 (description "Cross platform library for file creation, modification, and
7858 deletion notification. This library builds upon existing libraries for platform
7859 specific Windows, Mac, and Linux file system event notification.")
7860 (license license:bsd-3)))
7862 (define-public ghc-ieee754
7864 (name "ghc-ieee754")
7869 "https://hackage.haskell.org/package/ieee754/"
7870 "ieee754-" version ".tar.gz"))
7873 "1zvfnnd5nm5kgr60214cdyks0kqdqyzpwk5sdh0s60yr8b7fyjny"))))
7874 (build-system haskell-build-system)
7875 (home-page "https://github.com/patperry/hs-ieee754")
7876 (synopsis "Utilities for dealing with IEEE floating point numbers")
7877 (description "Utilities for dealing with IEEE floating point numbers,
7878 ported from the Tango math library; approximate and exact equality comparisons
7879 for general types.")
7880 (license license:bsd-3)))
7882 (define-public ghc-terminal-size
7884 (name "ghc-terminal-size")
7889 "https://hackage.haskell.org/package/terminal-size/"
7890 "terminal-size-" version ".tar.gz"))
7893 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
7894 (build-system haskell-build-system)
7895 (home-page "https://hackage.haskell.org/package/terminal-size")
7896 (synopsis "Get terminal window height and width")
7897 (description "Get terminal window height and width without ncurses
7899 (license license:bsd-3)))
7901 (define-public ghc-language-c
7903 (name "ghc-language-c")
7908 (uri (string-append "https://hackage.haskell.org/package/"
7909 "language-c/language-c-" version ".tar.gz"))
7912 "08i2bl7jmmymn2sldzlbz6ig7lx3wfwhlpadzibs3fx72z08pmc6"))))
7913 (build-system haskell-build-system)
7914 (inputs `(("ghc-syb" ,ghc-syb)))
7916 `(("ghc-happy" ,ghc-happy)
7917 ("ghc-alex" ,ghc-alex)))
7918 (home-page "https://visq.github.io/language-c/")
7919 (synopsis "Analysis and generation of C code")
7921 "Language C is a Haskell library for the analysis and generation of C code.
7922 It features a complete, well-tested parser and pretty printer for all of C99
7923 and a large set of GNU extensions.")
7924 (license license:bsd-3)))
7926 (define-public ghc-markdown-unlit
7928 (name "ghc-markdown-unlit")
7933 "mirror://hackage/package/markdown-unlit/"
7934 "markdown-unlit-" version ".tar.gz"))
7937 "1kj2bffl7ndd8ygwwa3r1mbpwbxbfhyfgnbla8k8g9i6ffp0qrbw"))))
7938 (build-system haskell-build-system)
7940 `(("ghc-base-compat" ,ghc-base-compat)
7941 ("ghc-hspec" ,ghc-hspec)
7942 ("ghc-quickcheck" ,ghc-quickcheck)
7943 ("ghc-silently" ,ghc-silently)
7944 ("ghc-stringbuilder" ,ghc-stringbuilder)
7945 ("ghc-temporary" ,ghc-temporary)
7946 ("hspec-discover" ,hspec-discover)))
7947 (home-page "https://github.com/sol/markdown-unlit#readme")
7948 (synopsis "Literate Haskell support for Markdown")
7949 (description "This package allows you to have a README.md that at the
7950 same time is a literate Haskell program.")
7951 (license license:expat)))
7953 (define-public corrode
7954 (let ((commit "b6699fb2fa552a07c6091276285a44133e5c9789"))
7957 (version (string-append "0.0.1-" (string-take commit 7)))
7962 (url "https://github.com/jameysharp/corrode.git")
7963 (commit "b6699fb2fa552a07c6091276285a44133e5c9789")))
7965 (string-append name "-" version "-checkout"))
7967 (base32 "02v0yyj6sk4gpg2222wzsdqjxn8w66scbnf6b20x0kbmc69qcz4r"))))
7968 (build-system haskell-build-system)
7970 `(("ghc-language-c" ,ghc-language-c)
7971 ("ghc-markdown-unlit" ,ghc-markdown-unlit)))
7972 (home-page "https://github.com/jameysharp/corrode")
7973 (synopsis "Automatic semantics-preserving translation from C to Rust")
7975 "This program reads a C source file and prints an equivalent module in
7976 Rust syntax. It is intended to be useful for two different purposes:
7979 @item Partial automation for migrating legacy code that was implemented in C.
7980 @item A new, complementary approach to static analysis for C programs.
7982 (license license:gpl2+))))
7984 (define-public ghc-wave
7991 "https://hackage.haskell.org/package/wave/wave-"
7996 "1g5nmqfk6p25v9ismwz4i66ay91bd1qh39xwj0hm4z6a5mw8frk8"))))
7997 (build-system haskell-build-system)
7999 `(("ghc-cereal" ,ghc-cereal)
8000 ("ghc-data-default-class"
8001 ,ghc-data-default-class)
8002 ("ghc-quickcheck" ,ghc-quickcheck)
8003 ("ghc-temporary" ,ghc-temporary)))
8005 `(("hspec-discover" ,hspec-discover)
8006 ("ghc-hspec" ,ghc-hspec)))
8007 (home-page "https://github.com/mrkkrp/wave")
8008 (synopsis "Work with WAVE and RF64 files in Haskell")
8009 (description "This package allows you to work with WAVE and RF64
8011 (license license:bsd-3)))
8013 (define-public ghc-hslogger
8015 (name "ghc-hslogger")
8020 (uri (string-append "https://hackage.haskell.org/package/"
8021 "hslogger-" version "/" "hslogger-"
8024 "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp"))))
8025 (build-system haskell-build-system)
8027 `(("ghc-network" ,ghc-network)
8028 ("ghc-old-locale" ,ghc-old-locale)))
8030 `(("ghc-hunit" ,ghc-hunit)))
8031 (home-page "https://software.complete.org/hslogger")
8032 (synopsis "Logging framework for Haskell, similar to Python's logging module")
8033 (description "Hslogger lets each log message have a priority and source be
8034 associated with it. The programmer can then define global handlers that route
8035 or filter messages based on the priority and source. It also has a syslog
8037 (license license:bsd-3)))
8039 (define-public ghc-unexceptionalio
8041 (name "ghc-unexceptionalio")
8046 (uri (string-append "https://hackage.haskell.org/package/"
8047 "unexceptionalio-" version "/" "unexceptionalio-"
8049 (sha256 (base32 "1f7h7zwky4scdcyjspg4ksfh7x6yra0wjybxq70p7vcwpgk2nzlj"))))
8050 (build-system haskell-build-system)
8051 (home-page "https://github.com/singpolyma/unexceptionalio")
8052 (synopsis "IO without any non-error, synchronous exceptions")
8053 (description "When you've caught all the exceptions that can be
8054 handled safely, this is what you're left with.")
8055 (license license:isc)))
8057 (define-public ghc-json
8064 (uri (string-append "https://hackage.haskell.org/package/json/"
8065 "json-" version ".tar.gz"))
8068 "18l5027vc68hnnxrxlnyl59vkkg95a92m1zzms0dqiby2r6pxdcn"))))
8069 (build-system haskell-build-system)
8071 `(("ghc-syb" ,ghc-syb)
8072 ("ghc-text" ,ghc-text)
8073 ("ghc-parsec" ,ghc-parsec)))
8074 (home-page "https://hackage.haskell.org/package/json")
8075 (synopsis "Serializes Haskell data to and from JSON")
8076 (description "This package provides a parser and pretty printer for
8077 converting between Haskell values and JSON.
8078 JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
8079 (license license:bsd-3)))
8081 (define-public ghc-esqueleto
8083 (name "ghc-esqueleto")
8088 (uri (string-append "https://hackage.haskell.org/package/"
8089 "esqueleto/esqueleto-" version ".tar.gz"))
8092 "10n49rzqmblky7pwjnysalyy6nacmxfms8dqbsdv6hlyzr8pb69x"))))
8093 (build-system haskell-build-system)
8095 `(("ghc-blaze-html" ,ghc-blaze-html)
8096 ("ghc-conduit" ,ghc-conduit)
8097 ("ghc-monad-logger" ,ghc-monad-logger)
8098 ("ghc-persistent" ,ghc-persistent)
8099 ("ghc-resourcet" ,ghc-resourcet)
8100 ("ghc-tagged" ,ghc-tagged)
8101 ("ghc-text" ,ghc-text)
8102 ("ghc-unordered-containers" ,ghc-unordered-containers)))
8104 `(("ghc-hspec" ,ghc-hspec)
8105 ("ghc-hunit" ,ghc-hunit)
8106 ("ghc-monad-control" ,ghc-monad-control)
8107 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
8108 ("ghc-persistent-template" ,ghc-persistent-template)
8109 ("ghc-quickcheck" ,ghc-quickcheck)))
8110 (home-page "https://github.com/bitemyapp/esqueleto")
8111 (synopsis "Type-safe embedded domain specific language for SQL queries")
8112 (description "This library provides a type-safe embedded domain specific
8113 language (EDSL) for SQL queries that works with SQL backends as provided by
8114 @code{ghc-persistent}. Its language closely resembles SQL, so you don't have
8115 to learn new concepts, just new syntax, and it's fairly easy to predict the
8116 generated SQL and optimize it for your backend.")
8117 (license license:bsd-3)))
8119 (define-public shellcheck
8126 (uri (string-append "https://github.com/koalaman/shellcheck/archive/"
8127 "v" version ".tar.gz"))
8130 "1qkd69lc34n3l23ss9rq1azvx49bfq4hi4bmaj76rgxybscxhg0w"))
8131 (file-name (string-append name "-" version ".tar.gz"))))
8132 (build-system haskell-build-system)
8134 `(("ghc-quickcheck" ,ghc-quickcheck)
8135 ("ghc-json" ,ghc-json)
8136 ("ghc-parsec" ,ghc-parsec)
8137 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
8138 (home-page "https://github.com/koalaman/shellcheck")
8139 (synopsis "Static analysis for shell scripts")
8140 (description "@code{shellcheck} provides static analysis for
8141 @command{bash} and @command{sh} shell scripts.
8142 It gives warnings and suggestions in order to:
8145 @item Point out and clarify typical beginner's syntax issues that cause
8146 a shell to give cryptic error messages.
8147 @item Point out and clarify typical intermediate level semantic problems
8148 that cause a shell to behave strangely and counter-intuitively.
8149 @item Point out subtle caveats, corner cases and pitfalls that may cause an
8150 advanced user's otherwise working script to fail under future circumstances.
8152 (license license:gpl3+)))
8154 (define-public ghc-simple-sendfile
8156 (name "ghc-simple-sendfile")
8161 (uri (string-append "https://hackage.haskell.org/package/"
8162 "simple-sendfile-" version "/"
8163 "simple-sendfile-" version ".tar.gz"))
8166 "0k99j9xfcf83c55jmn202hdinhjaa4yn3dal4rvjk2w2rlhqirha"))))
8167 (build-system haskell-build-system)
8169 `(("ghc-conduit" ,ghc-conduit)
8170 ("ghc-conduit-extra" ,ghc-conduit-extra)
8171 ("ghc-network" ,ghc-network)
8172 ("ghc-resourcet" ,ghc-resourcet)))
8174 `(("ghc-hspec" ,ghc-hspec)
8175 ("hspec-discover" ,hspec-discover)))
8176 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
8177 (synopsis "Cross platform library for the sendfile system call")
8178 (description "This library tries to call minimum system calls which
8179 are the bottleneck of web servers.")
8180 (license license:bsd-3)))
8182 (define-public ghc-hex
8189 (uri (string-append "https://hackage.haskell.org/package/"
8191 "hex-" version ".tar.gz"))
8194 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
8195 (build-system haskell-build-system)
8196 (home-page "https://hackage.haskell.org/package/hex")
8197 (synopsis "Convert strings into hexadecimal and back")
8198 (description "This package provides conversion functions between
8199 bytestrings and their hexademical representation.")
8200 (license license:bsd-3)))
8202 (define-public ghc-psqueues
8204 (name "ghc-psqueues")
8209 (uri (string-append "https://hackage.haskell.org/package/"
8210 "psqueues-" version "/"
8211 "psqueues-" version ".tar.gz"))
8214 "0n39s1i88j6s7vvsdhpbhcr3gpbwlzabwcc3nbd7nqb4kb4i0sls"))))
8215 (build-system haskell-build-system)
8217 `(#:configure-flags (list "--allow-newer=QuickCheck")))
8219 `(("ghc-hashable" ,ghc-hashable)))
8221 `(("ghc-hunit" ,ghc-hunit)
8222 ("ghc-quickcheck" ,ghc-quickcheck)
8223 ("ghc-tagged" ,ghc-tagged)
8224 ("ghc-test-framework" ,ghc-test-framework)
8225 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8226 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8227 (home-page "https://github.com/jaspervdj/psqueues")
8228 (synopsis "Pure priority search queues")
8229 (description "The psqueues package provides
8230 @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
8231 three different flavors:
8234 @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
8235 fast insertion, deletion and lookup. This implementation is based on Ralf
8236 Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
8237 Implementation Technique for Priority Search Queues}.
8239 Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
8240 PSQueue} library, although it is considerably faster and provides a slightly
8243 @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
8244 key type to @code{Int} and uses a
8245 @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
8246 with an additional min-heap property.
8248 @item @code{HashPSQ k p v} is a fairly straightforward extension
8249 of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
8250 @code{IntPSQ}. If there are any hash collisions, it uses an
8251 @code{OrdPSQ} to resolve those. The performance of this implementation
8252 is comparable to that of @code{IntPSQ}, but it is more widely
8253 applicable since the keys are not restricted to @code{Int},
8254 but rather to any @code{Hashable} datatype.
8257 Each of the three implementations provides the same API, so they can
8258 be used interchangeably.
8260 Typical applications of Priority Search Queues include:
8263 @item Caches, and more specifically LRU Caches;
8265 @item Pathfinding algorithms, such as Dijkstra's and A*.
8267 (license license:bsd-3)))
8269 (define-public ghc-glob
8276 (uri (string-append "https://hackage.haskell.org/package/"
8278 "Glob-" version ".tar.gz"))
8281 "0rzmsknl02p332dxmm36fyrz3dpma7bchn0ymyjipxvqil20pjw0"))))
8282 (build-system haskell-build-system)
8284 `(("ghc-dlist" ,ghc-dlist)
8285 ("ghc-semigroups" ,ghc-semigroups)
8286 ("ghc-transformers-compat" ,ghc-transformers-compat)))
8288 `(("ghc-hunit" ,ghc-hunit)
8289 ("ghc-quickcheck" ,ghc-quickcheck)
8290 ("ghc-test-framework" ,ghc-test-framework)
8291 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8292 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8293 (home-page "http://iki.fi/matti.niemenmaa/glob/")
8294 (synopsis "Haskell library matching glob patterns against file paths")
8295 (description "This package provides a Haskell library for @dfn{globbing}:
8296 matching patterns against file paths.")
8297 (license license:bsd-3)))
8299 (define-public ghc-errors
8306 (uri (string-append "https://hackage.haskell.org/package/"
8307 "errors-" version "/"
8308 "errors-" version ".tar.gz"))
8311 "13sflhglcm5skwrxb48fw96skdcx7ydiy4zg22200733pxhjncpn"))))
8312 (build-system haskell-build-system)
8314 `(("ghc-exceptions" ,ghc-exceptions)
8315 ("ghc-text" ,ghc-text)
8316 ("ghc-transformers-compat" ,ghc-transformers-compat)
8317 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
8318 ("ghc-safe" ,ghc-safe)))
8319 (home-page "https://github.com/gabriel439/haskell-errors-library")
8320 (synopsis "Error handling library for Haskell")
8321 (description "This library encourages an error-handling style that
8322 directly uses the type system, rather than out-of-band exceptions.")
8323 (license license:bsd-3)))
8325 (define-public ghc-vector-th-unbox
8327 (name "ghc-vector-th-unbox")
8332 (uri (string-append "https://hackage.haskell.org/package/"
8333 "vector-th-unbox-" version "/"
8334 "vector-th-unbox-" version ".tar.gz"))
8337 "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy"))))
8338 (build-system haskell-build-system)
8340 `(("ghc-vector" ,ghc-vector)
8341 ("ghc-data-default" ,ghc-data-default)))
8342 (home-page "https://github.com/liyang/vector-th-unbox")
8343 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
8344 (description "This Haskell library provides a Template Haskell
8345 deriver for unboxed vectors, given a pair of coercion functions to
8346 and from some existing type with an Unbox instance.")
8347 (license license:bsd-3)))
8349 (define-public ghc-erf
8356 (uri (string-append "https://hackage.haskell.org/package/"
8358 "erf-" version ".tar.gz"))
8361 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
8362 (build-system haskell-build-system)
8363 (home-page "https://hackage.haskell.org/package/erf")
8364 (synopsis "The error function, erf, and related functions for Haskell")
8365 (description "This Haskell library provides a type class for the
8366 error function, erf, and related functions. Instances for Float and
8368 (license license:bsd-3)))
8370 (define-public ghc-math-functions
8372 (name "ghc-math-functions")
8377 (uri (string-append "https://hackage.haskell.org/package/"
8378 "math-functions-" version "/"
8379 "math-functions-" version ".tar.gz"))
8382 "1sv5vabsx332v1lpb6v3jv4zrzvpx1n7yprzd8wlcda5vsc5a6zp"))))
8383 (build-system haskell-build-system)
8384 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
8386 `(("ghc-vector" ,ghc-vector)
8387 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
8389 `(("ghc-hunit" ,ghc-hunit)
8390 ("ghc-quickcheck" ,ghc-quickcheck)
8391 ("ghc-erf" ,ghc-erf)
8392 ("ghc-test-framework" ,ghc-test-framework)
8393 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8394 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8395 (home-page "https://github.com/bos/math-functions")
8396 (synopsis "Special functions and Chebyshev polynomials for Haskell")
8397 (description "This Haskell library provides implementations of
8398 special mathematical functions and Chebyshev polynomials. These
8399 functions are often useful in statistical and numerical computing.")
8400 (license license:bsd-3)))
8402 (define-public ghc-mwc-random
8404 (name "ghc-mwc-random")
8405 (version "0.13.6.0")
8409 (uri (string-append "https://hackage.haskell.org/package/"
8410 "mwc-random-" version "/"
8411 "mwc-random-" version ".tar.gz"))
8414 "05j7yh0hh9nxic3dijmzv44kc6gzclvamdph7sq7w19wq57k6pq6"))))
8415 (build-system haskell-build-system)
8417 `(("ghc-primitive" ,ghc-primitive)
8418 ("ghc-vector" ,ghc-vector)
8419 ("ghc-math-functions" ,ghc-math-functions)))
8421 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8423 `(("ghc-hunit" ,ghc-hunit)
8424 ("ghc-quickcheck" ,ghc-quickcheck)
8425 ("ghc-test-framework" ,ghc-test-framework)
8426 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8427 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8428 (home-page "https://github.com/bos/mwc-random")
8429 (synopsis "Random number generation library for Haskell")
8430 (description "This Haskell package contains code for generating
8431 high quality random numbers that follow either a uniform or normal
8432 distribution. The generated numbers are suitable for use in
8433 statistical applications.
8435 The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
8436 multiply-with-carry generator, which has a period of 2^{8222} and
8437 fares well in tests of randomness. It is also extremely fast,
8438 between 2 and 3 times faster than the Mersenne Twister.")
8439 (license license:bsd-3)))
8441 (define-public ghc-vector-algorithms
8443 (name "ghc-vector-algorithms")
8448 (uri (string-append "https://hackage.haskell.org/package/"
8449 "vector-algorithms-" version "/"
8450 "vector-algorithms-" version ".tar.gz"))
8453 "0w4hf598lpxfg58rnimcqxrbnpqq2jmpjx82qa5md3q6r90hlipd"))))
8454 (build-system haskell-build-system)
8455 ;; The limits have been adjusted in a revision of the cabal file.
8457 '(#:configure-flags (list "--allow-newer=vector")
8459 (modify-phases %standard-phases
8460 ;; The tests cannot be built due to type errors.
8461 (add-after 'unpack 'do-not-build-quickcheck-tests
8463 (substitute* "vector-algorithms.cabal"
8464 (("\\!flag\\(properties\\)") "True"))
8467 `(("ghc-vector" ,ghc-vector)
8468 ("ghc-mwc-random" ,ghc-mwc-random)))
8470 `(("ghc-quickcheck" ,ghc-quickcheck)))
8471 (home-page "https://github.com/bos/math-functions")
8472 (synopsis "Algorithms for vector arrays in Haskell")
8473 (description "This Haskell library algorithms for vector arrays.")
8474 (license license:bsd-3)))
8476 (define-public ghc-language-haskell-extract
8478 (name "ghc-language-haskell-extract")
8483 (uri (string-append "https://hackage.haskell.org/package/"
8484 "language-haskell-extract-" version "/"
8485 "language-haskell-extract-" version ".tar.gz"))
8488 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
8489 (build-system haskell-build-system)
8491 `(("ghc-regex-posix" ,ghc-regex-posix)))
8492 (home-page "https://github.com/finnsson/template-helper")
8493 (synopsis "Haskell module to automatically extract functions from
8495 (description "This package contains helper functions on top of
8498 For example, @code{functionExtractor} extracts all functions after a
8499 regexp-pattern, which can be useful if you wish to extract all functions
8500 beginning with @code{test} (for a test framework) or all functions beginning
8501 with @code{wc} (for a web service).")
8502 (license license:bsd-3)))
8504 (define-public ghc-abstract-par
8506 (name "ghc-abstract-par")
8511 (uri (string-append "https://hackage.haskell.org/package/"
8512 "abstract-par-" version "/"
8513 "abstract-par-" version ".tar.gz"))
8516 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
8517 (build-system haskell-build-system)
8518 (home-page "https://github.com/simonmar/monad-par")
8519 (synopsis "Abstract parallelization interface for Haskell")
8520 (description "This Haskell package is an abstract interface
8521 only. It provides a number of type clasess, but not an
8522 implementation. The type classes separate different levels
8523 of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
8524 module for more details.")
8525 (license license:bsd-3)))
8527 (define-public ghc-monad-par-extras
8529 (name "ghc-monad-par-extras")
8534 (uri (string-append "https://hackage.haskell.org/package/"
8535 "monad-par-extras-" version "/"
8536 "monad-par-extras-" version ".tar.gz"))
8539 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
8540 (build-system haskell-build-system)
8541 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8542 ("ghc-cereal" ,ghc-cereal)
8543 ("ghc-random" ,ghc-random)))
8544 (home-page "https://github.com/simonmar/monad-par")
8545 (synopsis "Combinators and extra features for Par monads for Haskell")
8546 (description "This Haskell package provides additional data structures,
8547 and other added capabilities layered on top of the @code{Par} monad.")
8548 (license license:bsd-3)))
8550 (define-public ghc-abstract-deque
8552 (name "ghc-abstract-deque")
8557 (uri (string-append "https://hackage.haskell.org/package/"
8558 "abstract-deque-" version "/"
8559 "abstract-deque-" version ".tar.gz"))
8562 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
8563 (build-system haskell-build-system)
8564 (inputs `(("ghc-random" ,ghc-random)))
8565 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
8566 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
8567 (description "This Haskell package provides an abstract interface to
8568 highly-parameterizable queues/deques.
8570 Background: There exists a feature space for queues that extends between:
8573 @item Simple, single-ended, non-concurrent, bounded queues
8575 @item Double-ended, thread-safe, growable queues with important points
8576 in between (such as the queues used for work stealing).
8579 This package includes an interface for Deques that allows the programmer
8580 to use a single API for all of the above, while using the type system to
8581 select an efficient implementation given the requirements (using type families).
8583 This package also includes a simple reference implementation based on
8584 @code{IORef} and @code{Data.Sequence}.")
8585 (license license:bsd-3)))
8587 (define-public ghc-monad-par
8589 (name "ghc-monad-par")
8594 (uri (string-append "https://hackage.haskell.org/package/"
8595 "monad-par-" version "/"
8596 "monad-par-" version ".tar.gz"))
8599 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
8600 (build-system haskell-build-system)
8601 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8602 ("ghc-abstract-deque" ,ghc-abstract-deque)
8603 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
8604 ("ghc-mwc-random" ,ghc-mwc-random)
8605 ("ghc-parallel" ,ghc-parallel)))
8606 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
8607 ("ghc-hunit" ,ghc-hunit)
8608 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8609 ("ghc-test-framework-quickcheck2"
8610 ,ghc-test-framework-quickcheck2)
8611 ("ghc-test-framework" ,ghc-test-framework)
8612 ("ghc-test-framework-th" ,ghc-test-framework-th)))
8613 (home-page "https://github.com/simonmar/monad-par")
8614 (synopsis "Haskell library for parallel programming based on a monad")
8615 (description "The @code{Par} monad offers an API for parallel
8616 programming. The library works for parallelising both pure and @code{IO}
8617 computations, although only the pure version is deterministic. The default
8618 implementation provides a work-stealing scheduler and supports forking tasks
8619 that are much lighter weight than IO-threads.")
8620 (license license:bsd-3)))
8622 (define-public ghc-statistics
8624 (name "ghc-statistics")
8625 (version "0.14.0.2")
8629 (uri (string-append "https://hackage.haskell.org/package/"
8630 "statistics-" version "/"
8631 "statistics-" version ".tar.gz"))
8634 "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l"))))
8635 (build-system haskell-build-system)
8637 `(("ghc-aeson" ,ghc-aeson)
8638 ("ghc-base-orphans" ,ghc-base-orphans)
8639 ("ghc-erf" ,ghc-erf)
8640 ("ghc-math-functions" ,ghc-math-functions)
8641 ("ghc-monad-par" ,ghc-monad-par)
8642 ("ghc-mwc-random" ,ghc-mwc-random)
8643 ("ghc-primitive" ,ghc-primitive)
8644 ("ghc-vector" ,ghc-vector)
8645 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
8646 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
8647 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
8649 `(("ghc-hunit" ,ghc-hunit)
8650 ("ghc-quickcheck" ,ghc-quickcheck)
8651 ("ghc-ieee754" ,ghc-ieee754)
8652 ("ghc-test-framework" ,ghc-test-framework)
8653 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8654 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8656 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8657 (home-page "https://github.com/bos/mwc-random")
8658 (synopsis "Haskell library of statistical types, data, and functions")
8659 (description "This library provides a number of common functions
8660 and types useful in statistics. We focus on high performance, numerical
8661 robustness, and use of good algorithms. Where possible, we provide references
8662 to the statistical literature.
8664 The library's facilities can be divided into four broad categories:
8667 @item Working with widely used discrete and continuous probability
8668 distributions. (There are dozens of exotic distributions in use; we focus
8669 on the most common.)
8671 @item Computing with sample data: quantile estimation, kernel density
8672 estimation, histograms, bootstrap methods, significance testing,
8673 and regression and autocorrelation analysis.
8675 @item Random variate generation under several different distributions.
8677 @item Common statistical tests for significant differences between samples.
8679 (license license:bsd-2)))
8681 (define-public ghc-chunked-data
8683 (name "ghc-chunked-data")
8688 (uri (string-append "https://hackage.haskell.org/package/"
8689 "chunked-data-" version "/"
8690 "chunked-data-" version ".tar.gz"))
8693 "0bszq6fijnr4pmadzz89smj7kfmzx0ca3wd9ga8gv0in9jk9vgp1"))))
8694 (build-system haskell-build-system)
8695 (inputs `(("ghc-vector" ,ghc-vector)
8696 ("ghc-semigroups" ,ghc-semigroups)
8697 ("ghc-text" ,ghc-text)))
8698 (home-page "https://github.com/snoyberg/mono-traversable")
8699 (synopsis "Typeclasses for dealing with various chunked data
8700 representations for Haskell")
8701 (description "This Haskell package was originally present in
8703 (license license:expat)))
8705 (define-public ghc-base-prelude
8707 (name "ghc-base-prelude")
8712 (uri (string-append "https://hackage.haskell.org/package/"
8713 "base-prelude-" version "/"
8714 "base-prelude-" version ".tar.gz"))
8717 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
8718 (build-system haskell-build-system)
8719 (home-page "https://github.com/nikita-volkov/base-prelude")
8720 (synopsis "The most complete prelude formed solely from the Haskell's base
8722 (description "This Haskell package aims to reexport all the non-conflicting
8723 and most general definitions from the \"base\" package.
8725 This includes APIs for applicatives, arrows, monoids, foldables, traversables,
8726 exceptions, generics, ST, MVars and STM.
8728 This package will never have any dependencies other than \"base\".
8732 The versioning policy of this package deviates from PVP in the sense
8733 that its exports in part are transitively determined by the version of \"base\".
8734 Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
8735 the bounds of \"base\" as well.")
8736 (license license:expat)))
8738 (define-public ghc-tuple-th
8740 (name "ghc-tuple-th")
8745 (uri (string-append "https://hackage.haskell.org/package/"
8746 "tuple-th-" version "/"
8747 "tuple-th-" version ".tar.gz"))
8750 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
8751 (build-system haskell-build-system)
8752 (home-page "https://github.com/DanielSchuessler/tuple-th")
8753 (synopsis "Generate utility functions for tuples of statically known size
8755 (description "This Haskell package contains Template Haskell functions for
8756 generating functions similar to those in @code{Data.List} for tuples of
8757 statically known size.")
8758 (license license:bsd-3)))
8760 (define-public ghc-contravariant-extras
8762 (name "ghc-contravariant-extras")
8767 (uri (string-append "https://hackage.haskell.org/package/"
8768 "contravariant-extras-" version "/"
8769 "contravariant-extras-" version ".tar.gz"))
8772 "1mbrgjybdx8fjdck4ldwi8955w4qnmm0ql56zix7dyn0s7s9spgk"))))
8773 (build-system haskell-build-system)
8774 (inputs `(("ghc-tuple-th" ,ghc-tuple-th)
8775 ("ghc-contravariant" ,ghc-contravariant)
8776 ("ghc-base-prelude" ,ghc-base-prelude)))
8777 (home-page "https://github.com/nikita-volkov/contravariant-extras")
8778 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
8779 (description "This Haskell package provides extras for the
8780 @code{ghc-contravariant} package.")
8781 (license license:expat)))
8783 (define-public ghc-monadrandom
8785 (name "ghc-monadrandom")
8790 (uri (string-append "https://hackage.haskell.org/package/"
8791 "MonadRandom-" version "/"
8792 "MonadRandom-" version ".tar.gz"))
8795 "1h1nhswrcmhy3mq6vd530p0df51fcnnf4csbwnljar7cf0mb2h6y"))))
8796 (build-system haskell-build-system)
8797 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
8798 ("ghc-primitive" ,ghc-primitive)
8799 ("ghc-fail" ,ghc-fail)
8800 ("ghc-random" ,ghc-random)))
8801 (home-page "https://github.com/byorgey/MonadRandom")
8802 (synopsis "Random-number generation monad for Haskell")
8803 (description "This Haskell package provides support for computations
8804 which consume random values.")
8805 (license license:bsd-3)))
8807 (define-public ghc-either
8814 (uri (string-append "https://hackage.haskell.org/package/"
8815 "either-" version "/"
8816 "either-" version ".tar.gz"))
8819 "1lrlwqqnm6ibfcydlv5qvvssw7bm0c6yypy0rayjzv1znq7wp1xh"))))
8820 (build-system haskell-build-system)
8821 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
8822 ("ghc-exceptions" ,ghc-exceptions)
8823 ("ghc-free" ,ghc-free)
8824 ("ghc-monad-control" ,ghc-monad-control)
8825 ("ghc-manodrandom" ,ghc-monadrandom)
8826 ("ghc-mmorph" ,ghc-mmorph)
8827 ("ghc-profunctors" ,ghc-profunctors)
8828 ("ghc-semigroups" ,ghc-semigroups)
8829 ("ghc-semigroupoids" ,ghc-semigroupoids)
8830 ("ghc-transformers-base" ,ghc-transformers-base)))
8831 (home-page "https://github.com/ekmett/either")
8832 (synopsis "Provides an either monad transformer for Haskell")
8833 (description "This Haskell package provides an either monad transformer.")
8834 (license license:bsd-3)))
8836 (define-public ghc-pretty-hex
8838 (name "ghc-pretty-hex")
8843 (uri (string-append "https://hackage.haskell.org/package/"
8844 "pretty-hex-" version "/"
8845 "pretty-hex-" version ".tar.gz"))
8848 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
8849 (build-system haskell-build-system)
8850 (home-page "https://github.com/GaloisInc/hexdump")
8851 (synopsis "Haskell library for hex dumps of ByteStrings")
8852 (description "This Haskell library generates pretty hex dumps of
8853 ByteStrings in the style of other common *nix hex dump tools.")
8854 (license license:bsd-3)))
8856 (define-public ghc-network-info
8858 (name "ghc-network-info")
8863 (uri (string-append "https://hackage.haskell.org/package/"
8864 "network-info-" version "/"
8865 "network-info-" version ".tar.gz"))
8868 "0xndvg776241fgjmynxfpy81f1csjmh8dg33yf0c8m71ychz3pzc"))))
8869 (build-system haskell-build-system)
8870 (home-page "https://github.com/jystic/network-info")
8871 (synopsis "Access the local computer's basic network configuration")
8872 (description "This Haskell library provides simple read-only access to the
8873 local computer's networking configuration. It is currently capable of
8874 getting a list of all the network interfaces and their respective
8875 IPv4, IPv6 and MAC addresses.")
8876 (license license:bsd-3)))
8878 (define-public ghc-uuid-types
8880 (name "ghc-uuid-types")
8885 (uri (string-append "https://hackage.haskell.org/package/"
8886 "uuid-types-" version "/"
8887 "uuid-types-" version ".tar.gz"))
8890 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
8891 (build-system haskell-build-system)
8893 `(#:configure-flags (list "--allow-newer=QuickCheck"
8894 "--allow-newer=HUnit")))
8895 (inputs `(("ghc-hashable" ,ghc-hashable)
8896 ("ghc-random" ,ghc-random)
8897 ("ghc-text" ,ghc-text)))
8898 (native-inputs `(("ghc-hunit" ,ghc-hunit)
8899 ("ghc-quickcheck" ,ghc-quickcheck)
8900 ("ghc-tasty" ,ghc-tasty)
8901 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8902 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
8903 (home-page "https://github.com/hvr/uuid")
8904 (synopsis "Haskell type definitions for UUIDs")
8905 (description "This Haskell library contains type definitions for
8906 @dfn{Universally Unique Identifiers} or
8907 @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
8909 (license license:bsd-3)))
8911 (define-public ghc-uuid
8918 (uri (string-append "https://hackage.haskell.org/package/"
8920 "uuid-" version ".tar.gz"))
8923 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
8924 (build-system haskell-build-system)
8926 `(#:configure-flags (list "--allow-newer=QuickCheck"
8927 "--allow-newer=HUnit")))
8928 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
8929 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
8930 ("ghc-entropy" ,ghc-entropy)
8931 ("ghc-network-info" ,ghc-network-info)
8932 ("ghc-random" ,ghc-random)
8933 ("ghc-text" ,ghc-text)
8934 ("ghc-uuid-types" ,ghc-uuid-types)))
8935 (native-inputs `(("ghc-hunit" ,ghc-hunit)
8936 ("ghc-quickcheck" ,ghc-quickcheck)
8937 ("ghc-tasty" ,ghc-tasty)
8938 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8939 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
8940 (home-page "https://github.com/hvr/uuid")
8941 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
8942 (description "This Haskell library provides utilities creating, comparing,
8943 parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
8944 (license license:bsd-3)))
8946 (define-public ghc-rebase
8953 (uri (string-append "https://hackage.haskell.org/package/"
8954 "rebase-" version "/"
8955 "rebase-" version ".tar.gz"))
8958 "1qkhnpcc4g2vd6jmbf3b6psqkan6hyawqzrwzqdd931hsb02l6ia"))))
8959 (build-system haskell-build-system)
8960 (inputs `(("ghc-stm" ,ghc-stm)
8961 ("ghc-hashable" ,ghc-hashable)
8962 ("ghc-vector" ,ghc-vector)
8963 ("ghc-unordered-containers" ,ghc-unordered-containers)
8964 ("ghc-text" ,ghc-text)
8965 ("ghc-scientific" ,ghc-scientific)
8966 ("ghc-uuid" ,ghc-uuid)
8967 ("ghc-dlist" ,ghc-dlist)
8968 ("ghc-void" ,ghc-void)
8969 ("ghc-bifunctors" ,ghc-bifunctors)
8970 ("ghc-profunctors" ,ghc-profunctors)
8971 ("ghc-contravariant" ,ghc-contravariant)
8972 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
8973 ("ghc-semigroups" ,ghc-semigroups)
8974 ("ghc-either" ,ghc-either)
8975 ("ghc-fail" ,ghc-fail)
8976 ("ghc-base-prelude" ,ghc-base-prelude)))
8977 (home-page "https://github.com/nikita-volkov/rebase")
8978 (synopsis "Progressive alternative to the base package
8980 (description "This Haskell package is intended for those who are
8981 tired of keeping long lists of dependencies to the same essential libraries
8982 in each package as well as the endless imports of the same APIs all over again.
8984 It also supports the modern tendencies in the language.
8986 To solve those problems this package does the following:
8989 @item Reexport the original APIs under the @code{Rebase} namespace.
8991 @item Export all the possible non-conflicting symbols from the
8992 @code{Rebase.Prelude} module.
8994 @item Give priority to the modern practices in the conflicting cases.
8997 The policy behind the package is only to reexport the non-ambiguous and
8998 non-controversial APIs, which the community has obviously settled on.
8999 The package is intended to rapidly evolve with the contribution from
9000 the community, with the missing features being added with pull-requests.")
9001 (license license:expat)))
9003 (define-public ghc-vector-builder
9005 (name "ghc-vector-builder")
9010 (uri (string-append "https://hackage.haskell.org/package/"
9011 "vector-builder-" version "/"
9012 "vector-builder-" version ".tar.gz"))
9015 "1l6sfgd2s107zkp1qd1w6jdjcbznp31769qf99pxar087f697wvp"))))
9016 (build-system haskell-build-system)
9017 (inputs `(("ghc-vector" ,ghc-vector)
9018 ("ghc-semigroups" ,ghc-semigroups)
9019 ("ghc-base-prelude" ,ghc-base-prelude)))
9020 (native-inputs `(("ghc-tasty" ,ghc-tasty)
9021 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9022 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9023 ("ghc-hunit" ,ghc-hunit)
9024 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9025 ("ghc-rebase" ,ghc-rebase)))
9026 (home-page "https://github.com/nikita-volkov/vector-builder")
9027 (synopsis "Vector builder for Haskell")
9028 (description "This Haskell package provides an API for constructing vectors.
9029 It provides the composable @code{Builder} abstraction, which has instances of the
9030 @code{Monoid} and @code{Semigroup} classes.
9032 You would first use the @code{Builder} abstraction to specify the structure of
9033 the vector; then you can execute the builder to actually produce the
9035 (license license:expat)))
9037 (define-public ghc-foldl
9044 (uri (string-append "https://hackage.haskell.org/package/"
9045 "foldl-" version "/"
9046 "foldl-" version ".tar.gz"))
9049 "10qsp7dj2xsq4q2xm6x6b12y5pq32qf7my41hnkmdwwbccvhdxb2"))))
9050 (build-system haskell-build-system)
9051 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
9052 ("ghc-primitive" ,ghc-primitive)
9053 ("ghc-text" ,ghc-text)
9054 ("ghc-vector" ,ghc-vector)
9055 ("ghc-unordered-containers" ,ghc-unordered-containers)
9056 ("ghc-hashable" ,ghc-hashable)
9057 ("ghc-contravariant" ,ghc-contravariant)
9058 ("ghc-profunctors" ,ghc-profunctors)
9059 ("ghc-comonad" ,ghc-comonad)
9060 ("ghc-vector-builder" ,ghc-vector-builder)))
9061 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
9062 (synopsis "Composable, streaming, and efficient left folds for Haskell")
9063 (description "This Haskell library provides strict left folds that stream
9064 in constant memory, and you can combine folds using @code{Applicative} style
9065 to derive new folds. Derived folds still traverse the container just once
9066 and are often as efficient as hand-written folds.")
9067 (license license:bsd-3)))
9069 (define-public ghc-mono-traversable
9071 (name "ghc-mono-traversable")
9076 (uri (string-append "https://hackage.haskell.org/package/"
9077 "mono-traversable-" version "/"
9078 "mono-traversable-" version ".tar.gz"))
9081 "0180ks0dyvpk1r20w5jw2w2n79mjnk69n9vhspaxzlyxqgim5psa"))))
9082 (build-system haskell-build-system)
9083 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
9084 ("ghc-hashable" ,ghc-hashable)
9085 ("ghc-text" ,ghc-text)
9086 ("ghc-vector" ,ghc-vector)
9087 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
9088 ("ghc-split" ,ghc-split)))
9089 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9090 ("ghc-hunit" ,ghc-hunit)
9091 ("ghc-quickcheck" ,ghc-quickcheck)
9092 ("ghc-semigroups" ,ghc-semigroups)
9093 ("ghc-foldl" ,ghc-foldl)))
9094 (home-page "https://github.com/snoyberg/mono-traversable")
9095 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
9097 (description "This Haskell package provides Monomorphic variants of the
9098 Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
9099 basic typeclasses, you understand mono-traversable. In addition to what
9100 you are used to, it adds on an IsSequence typeclass and has code for marking
9101 data structures as non-empty.")
9102 (license license:expat)))
9104 (define-public ghc-conduit-combinators
9106 (name "ghc-conduit-combinators")
9111 (uri (string-append "https://hackage.haskell.org/package/"
9112 "conduit-combinators-" version "/"
9113 "conduit-combinators-" version ".tar.gz"))
9116 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
9117 (build-system haskell-build-system)
9118 (inputs `(("ghc-conduit" ,ghc-conduit)
9119 ("ghc-conduit-extra" ,ghc-conduit-extra)
9120 ("ghc-transformers-base" ,ghc-transformers-base)
9121 ("ghc-primitive" ,ghc-primitive)
9122 ("ghc-vector" ,ghc-vector)
9123 ("ghc-text" ,ghc-text)
9124 ("ghc-void" ,ghc-void)
9125 ("ghc-mwc-random" ,ghc-mwc-random)
9126 ("ghc-unix-compat" ,ghc-unix-compat)
9127 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9128 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9129 ("ghc-resourcet" ,ghc-resourcet)
9130 ("ghc-monad-control" ,ghc-monad-control)
9131 ("ghc-chunked-data" ,ghc-chunked-data)
9132 ("ghc-mono-traversable" ,ghc-mono-traversable)))
9133 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9134 ("ghc-silently" ,ghc-silently)
9135 ("ghc-safe" ,ghc-safe)
9136 ("ghc-quickcheck" ,ghc-quickcheck)))
9137 (home-page "https://github.com/snoyberg/mono-traversable")
9138 (synopsis "Commonly used conduit functions, for both chunked and
9140 (description "This Haskell package provides a replacement for Data.Conduit.List,
9141 as well as a convenient Conduit module.")
9142 (license license:expat)))
9144 (define-public ghc-aws
9151 (uri (string-append "https://hackage.haskell.org/package/"
9152 "aws-" version "/aws-" version ".tar.gz"))
9154 "0h7473wkvc5xjzx5fd5k5fp70rjq5gqmn1cpy95mswvvfsq3irxj"))))
9155 (build-system haskell-build-system)
9156 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
9158 `(("ghc-aeson" ,ghc-aeson)
9159 ("ghc-attoparsec" ,ghc-attoparsec)
9160 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9161 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9162 ("ghc-blaze-builder" ,ghc-blaze-builder)
9163 ("ghc-byteable" ,ghc-byteable)
9164 ("ghc-case-insensitive" ,ghc-case-insensitive)
9165 ("ghc-cereal" ,ghc-cereal)
9166 ("ghc-conduit" ,ghc-conduit)
9167 ("ghc-conduit-extra" ,ghc-conduit-extra)
9168 ("ghc-cryptonite" ,ghc-cryptonite)
9169 ("ghc-data-default" ,ghc-data-default)
9170 ("ghc-http-conduit" ,ghc-http-conduit)
9171 ("ghc-http-types" ,ghc-http-types)
9172 ("ghc-monad-control" ,ghc-monad-control)
9173 ("ghc-network" ,ghc-network)
9174 ("ghc-old-locale" ,ghc-old-locale)
9175 ("ghc-safe" ,ghc-safe)
9176 ("ghc-scientific" ,ghc-scientific)
9177 ("ghc-tagged" ,ghc-tagged)
9178 ("ghc-text" ,ghc-text)
9179 ("ghc-unordered-containers" ,ghc-unordered-containers)
9180 ("ghc-utf8-string" ,ghc-utf8-string)
9181 ("ghc-vector" ,ghc-vector)
9182 ("ghc-xml-conduit" ,ghc-xml-conduit)))
9184 `(("ghc-quickcheck" ,ghc-quickcheck)
9185 ("ghc-errors" ,ghc-errors)
9186 ("ghc-http-client" ,ghc-http-client)
9187 ("ghc-http-client-tls" ,ghc-http-client-tls)
9188 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9189 ("ghc-tasty" ,ghc-tasty)
9190 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9191 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9192 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
9193 (home-page "https://github.com/aristidb/aws")
9194 (synopsis "Amazon Web Services for Haskell")
9195 (description "This package attempts to provide support for using
9196 Amazon Web Services like S3 (storage), SQS (queuing) and others to
9197 Haskell programmers. The ultimate goal is to support all Amazon
9199 (license license:bsd-3)))
9201 (define-public ghc-basement
9203 (name "ghc-basement")
9208 (uri (string-append "https://hackage.haskell.org/package/"
9209 "basement/basement-" version ".tar.gz"))
9212 "194jw567di4q2758943q9rrwkbf9gl261my7qc21i9xhyabipx67"))))
9213 (build-system haskell-build-system)
9214 (home-page "https://github.com/haskell-foundation/foundation")
9215 (synopsis "Basic primitives for Foundation starter pack")
9217 "This package contains basic primitives for the Foundation set of
9219 (license license:bsd-3)))
9221 (define-public ghc-foundation
9223 (name "ghc-foundation")
9228 (uri (string-append "https://hackage.haskell.org/package/"
9229 "foundation/foundation-" version ".tar.gz"))
9232 "0bg4g0xf4pb2vmahnfp8c4f0a3v0av73lb5g8bwnp170khxfcsms"))))
9233 (build-system haskell-build-system)
9234 (inputs `(("ghc-basement" ,ghc-basement)))
9235 (home-page "https://github.com/haskell-foundation/foundation")
9236 (synopsis "Alternative prelude with batteries and no dependencies")
9238 "This package provides a custom prelude with no dependencies apart from
9241 Foundation has the following goals:
9244 @item provide a base like sets of modules that provide a consistent set of
9245 features and bugfixes across multiple versions of GHC (unlike base).
9246 @item provide a better and more efficient prelude than base's prelude.
9247 @item be self-sufficient: no external dependencies apart from base;
9248 @item provide better data-types: packed unicode string by default, arrays;
9249 @item Numerical classes that better represent mathematical things (no more
9250 all-in-one @code{Num});
9251 @item I/O system with less lazy IO.
9253 (license license:bsd-3)))
9255 (define-public ghc-stm-chans
9257 (name "ghc-stm-chans")
9262 (uri (string-append "https://hackage.haskell.org/package/"
9263 "stm-chans-" version "/"
9264 "stm-chans-" version ".tar.gz"))
9267 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
9268 (build-system haskell-build-system)
9269 (inputs `(("ghc-stm" ,ghc-stm)))
9270 (home-page "https://hackage.haskell.org/package/stm-chans")
9271 (synopsis "Additional types of channels for ghc-stm")
9272 (description "This Haskell package offers a collection of channel types,
9273 similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
9275 (license license:bsd-3)))
9277 (define-public ghc-monad-loops
9279 (name "ghc-monad-loops")
9284 (uri (string-append "https://hackage.haskell.org/package/"
9285 "monad-loops-" version "/"
9286 "monad-loops-" version ".tar.gz"))
9289 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
9290 (build-system haskell-build-system)
9291 (native-inputs `(("ghc-tasty" ,ghc-tasty)
9292 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9293 (home-page "https://github.com/mokus0/monad-loops")
9294 (synopsis "Monadic loops for Haskell")
9295 (description "This Haskell package provides some useful control
9296 operators for looping.")
9297 (license license:public-domain)))
9299 (define-public ghc-monad-logger
9301 (name "ghc-monad-logger")
9302 (version "0.3.25.1")
9306 (uri (string-append "https://hackage.haskell.org/package/"
9307 "monad-logger-" version "/"
9308 "monad-logger-" version ".tar.gz"))
9311 "0yv4fsi566zrn30j2g5l901lyqgmflhvzy4hji7ikcbh5d45m920"))))
9312 (build-system haskell-build-system)
9313 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
9314 ("ghc-text" ,ghc-text)
9315 ("ghc-stm" ,ghc-stm)
9316 ("ghc-stm-chans" ,ghc-stm-chans)
9317 ("ghc-lifted-base" ,ghc-lifted-base)
9318 ("ghc-resourcet" ,ghc-resourcet)
9319 ("ghc-conduit" ,ghc-conduit)
9320 ("ghc-conduit-extra" ,ghc-conduit-extra)
9321 ("ghc-fast-logger" ,ghc-fast-logger)
9322 ("ghc-transformers-base" ,ghc-transformers-base)
9323 ("ghc-monad-control" ,ghc-monad-control)
9324 ("ghc-monad-loops" ,ghc-monad-loops)
9325 ("ghc-blaze-builder" ,ghc-blaze-builder)
9326 ("ghc-exceptions" ,ghc-exceptions)))
9327 (home-page "https://github.com/kazu-yamamoto/logger")
9328 (synopsis "Provides a class of monads which can log messages for Haskell")
9329 (description "This Haskell package uses a monad transformer approach
9332 This package provides Template Haskell functions for determining source
9333 code locations of messages.")
9334 (license license:expat)))
9336 (define-public ghc-shakespeare
9338 (name "ghc-shakespeare")
9343 (uri (string-append "https://hackage.haskell.org/package/"
9344 "shakespeare-" version "/"
9345 "shakespeare-" version ".tar.gz"))
9348 "0j5zx8ka7d7scvb9shm7k3376qzl3k4kpim9aqqfs6n86901zpl4"))))
9349 (build-system haskell-build-system)
9350 (inputs `(("ghc-parsec" ,ghc-parsec)
9351 ("ghc-text" ,ghc-text)
9352 ("ghc-aeson" ,ghc-aeson)
9353 ("ghc-blaze-markup" ,ghc-blaze-markup)
9354 ("ghc-blaze-html" ,ghc-blaze-html)
9355 ("ghc-exceptions" ,ghc-exceptions)
9356 ("ghc-vector" ,ghc-vector)
9357 ("ghc-unordered-containers" ,ghc-unordered-containers)
9358 ("ghc-scientific" ,ghc-scientific)))
9359 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9360 ("ghc-hunit" ,ghc-hunit)
9361 ("hspec-discover" ,hspec-discover)))
9362 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
9363 (synopsis "Family of type-safe template languages for Haskell")
9364 (description "This Haskell package provides a family of type-safe
9365 templates with simple variable interpolation. Shakespeare templates can
9366 be used inline with a quasi-quoter or in an external file and it
9367 interpolates variables according to the type being inserted.")
9368 (license license:expat)))
9370 (define-public ghc-securemem
9372 (name "ghc-securemem")
9377 (uri (string-append "https://hackage.haskell.org/package/"
9378 "securemem-" version "/"
9379 "securemem-" version ".tar.gz"))
9382 "0dkhhjxa7njc3qbgvd5a23rkvr39vj2kn2a9nk6yjg7a8b2hvdpy"))))
9383 (build-system haskell-build-system)
9384 (inputs `(("ghc-byteable" ,ghc-byteable)
9385 ("ghc-memory" ,ghc-memory)))
9386 (home-page "https://github.com/vincenthz/hs-securemem")
9387 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
9389 (description "SecureMem is similar to ByteString, except that it provides
9390 a memory chunk that will be auto-scrubbed after it run out of scope.")
9391 (license license:bsd-3)))
9393 (define-public ghc-resource-pool
9395 (name "ghc-resource-pool")
9400 (uri (string-append "https://hackage.haskell.org/package/"
9401 "resource-pool-" version "/"
9402 "resource-pool-" version ".tar.gz"))
9405 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
9406 (build-system haskell-build-system)
9407 (inputs `(("ghc-hashable" ,ghc-hashable)
9408 ("ghc-monad-control" ,ghc-monad-control)
9409 ("ghc-transformers-base" ,ghc-transformers-base)
9410 ("ghc-stm" ,ghc-stm)
9411 ("ghc-vector" ,ghc-vector)))
9412 (home-page "https://github.com/bos/pool")
9413 (synopsis "Striped resource pooling implementation in Haskell")
9414 (description "This Haskell package provides striped pooling abstraction
9415 for managing flexibly-sized collections of resources such as database
9417 (license license:bsd-3)))
9419 (define-public ghc-attoparsec-iso8601
9421 (name "ghc-attoparsec-iso8601")
9426 (uri (string-append "https://hackage.haskell.org/package/"
9427 "attoparsec-iso8601-" version "/"
9428 "attoparsec-iso8601-" version ".tar.gz"))
9431 "12l55b76bhya9q89mfmqmy6sl5v39b6gzrw5rf3f70vkb23nsv5a"))))
9432 (build-system haskell-build-system)
9433 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9434 ("ghc-base-compat" ,ghc-base-compat)
9435 ("ghc-text" ,ghc-text)))
9436 (home-page "https://github.com/bos/aeson")
9437 (synopsis "Parse ISO 8601 dates")
9438 (description "Haskell library for parsing of ISO 8601 dates, originally
9440 (license license:bsd-3)))
9442 (define-public ghc-generics-sop
9444 (name "ghc-generics-sop")
9449 (uri (string-append "https://hackage.haskell.org/package/"
9450 "generics-sop-" version "/"
9451 "generics-sop-" version ".tar.gz"))
9454 "1bazlhgmxcwv7vd44jhdx74cnhmaz6yy47jxfycapjj4mjrnp0x7"))))
9455 (build-system haskell-build-system)
9456 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)))
9457 (home-page "https://github.com/well-typed/generics-sop")
9458 (synopsis "Generic Programming using True Sums of Products for Haskell")
9459 (description "This Haskell package supports the definition of generic
9460 functions. Datatypes are viewed in a uniform, structured way: the choice
9461 between constructors is represented using an n-ary sum, and the arguments of
9462 each constructor are represented using an n-ary product.")
9463 (license license:bsd-3)))
9465 (define-public ghc-uri-bytestring
9467 (name "ghc-uri-bytestring")
9472 (uri (string-append "https://hackage.haskell.org/package/"
9473 "uri-bytestring-" version "/"
9474 "uri-bytestring-" version ".tar.gz"))
9477 "04qjv1sgyrdg538290p9hqnvyxnahvr5cjwl8vm1rn9j0fv3ymq9"))))
9478 (build-system haskell-build-system)
9479 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9480 ("ghc-fail" ,ghc-fail)
9481 ("ghc-blaze-builder" ,ghc-blaze-builder)
9482 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
9483 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9484 ("ghc-hunit" ,ghc-hunit)
9485 ("ghc-quickcheck" ,ghc-quickcheck)
9486 ("ghc-tasty" ,ghc-tasty)
9487 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9488 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9489 ("ghc-base-compat" ,ghc-base-compat)
9490 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9491 ("ghc-semigroups" ,ghc-semigroups)
9492 ("ghc-generics-sop" ,ghc-generics-sop)))
9493 (home-page "https://github.com/Soostone/uri-bytestring")
9494 (synopsis "Haskell URI parsing as ByteStrings")
9495 (description "This Haskell package aims to be an RFC3986 compliant URI
9496 parser that uses ByteStrings for parsing and representing the URI data.")
9497 (license license:bsd-3)))
9499 (define-public ghc-http-api-data
9501 (name "ghc-http-api-data")
9506 (uri (string-append "https://hackage.haskell.org/package/"
9507 "http-api-data-" version "/"
9508 "http-api-data-" version ".tar.gz"))
9511 "1zbmf0kkfsw7pfznisi205gh7jd284gfarxsyiavd2iw26akwqwc"))))
9512 (build-system haskell-build-system)
9513 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.9
9514 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9515 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
9516 ("ghc-hashable" ,ghc-hashable)
9517 ("ghc-http-types" ,ghc-http-types)
9518 ("ghc-text" ,ghc-text)
9519 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9520 ("ghc-unordered-containers" ,ghc-unordered-containers)
9521 ("ghc-uri-bytestring" ,ghc-uri-bytestring)
9522 ("ghc-uuid-types" ,ghc-uuid-types)))
9523 (home-page "https://github.com/fizruk/http-api-data")
9524 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
9526 (description "This Haskell package defines typeclasses used for converting
9527 Haskell data types to and from HTTP API data.")
9528 (license license:bsd-3)))
9530 (define-public ghc-persistent
9532 (name "ghc-persistent")
9537 (uri (string-append "https://hackage.haskell.org/package/"
9538 "persistent-" version "/"
9539 "persistent-" version ".tar.gz"))
9542 "1jbvavdvr9qz5ld7vf6l1jgiadhmxx6zc4vqsdk9ivfq6d5wlg1p"))))
9543 (build-system haskell-build-system)
9544 (inputs `(("ghc-old-locale" ,ghc-old-locale)
9545 ("ghc-text" ,ghc-text)
9546 ("ghc-conduit" ,ghc-conduit)
9547 ("ghc-resourcet" ,ghc-resourcet)
9548 ("ghc-exceptions" ,ghc-exceptions)
9549 ("ghc-monad-control" ,ghc-monad-control)
9550 ("ghc-lifted-base" ,ghc-lifted-base)
9551 ("ghc-resource-pool" ,ghc-resource-pool)
9552 ("ghc-path-pieces" ,ghc-path-pieces)
9553 ("ghc-http-api-data" ,ghc-http-api-data)
9554 ("ghc-aeson" ,ghc-aeson)
9555 ("ghc-monad-logger" ,ghc-monad-logger)
9556 ("ghc-transformers-base" ,ghc-transformers-base)
9557 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9558 ("ghc-unordered-containers" ,ghc-unordered-containers)
9559 ("ghc-vector" ,ghc-vector)
9560 ("ghc-attoparsec" ,ghc-attoparsec)
9561 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)
9562 ("ghc-blaze-html" ,ghc-blaze-html)
9563 ("ghc-blaze-markup" ,ghc-blaze-markup)
9564 ("ghc-silently" ,ghc-silently)
9565 ("ghc-fast-logger" ,ghc-fast-logger)
9566 ("ghc-scientific" ,ghc-scientific)
9567 ("ghc-tagged" ,ghc-tagged)))
9568 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9569 (home-page "https://www.yesodweb.com/book/persistent")
9570 (synopsis "Type-safe, multi-backend data serialization for Haskell")
9571 (description "This Haskell package allows Haskell programs to access data
9572 storage sytems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
9574 (license license:expat)))
9576 (define-public ghc-aeson-compat
9578 (name "ghc-aeson-compat")
9583 (uri (string-append "https://hackage.haskell.org/package/"
9584 "aeson-compat-" version "/"
9585 "aeson-compat-" version ".tar.gz"))
9588 "1jya3lm9imclhb8qqihv39hhb62vvs3qpws7pc5fc23vwg0hsx2r"))))
9589 (build-system haskell-build-system)
9590 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
9591 (inputs `(("ghc-base-compat" ,ghc-base-compat)
9592 ("ghc-aeson" ,ghc-aeson)
9593 ("ghc-attoparsec" ,ghc-attoparsec)
9594 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
9595 ("ghc-exceptions" ,ghc-exceptions)
9596 ("ghc-hashable" ,ghc-hashable)
9597 ("ghc-scientific" ,ghc-scientific)
9598 ("ghc-text" ,ghc-text)
9599 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9600 ("ghc-unordered-containers" ,ghc-unordered-containers)
9601 ("ghc-vector" ,ghc-vector)
9602 ("ghc-tagged" ,ghc-tagged)
9603 ("ghc-semigroups" ,ghc-semigroups)
9604 ("ghc-nats" ,ghc-nats)))
9605 (home-page "https://github.com/phadej/aeson-compat")
9606 (synopsis "Compatibility layer for ghc-aeson")
9607 (description "This Haskell package provides compatibility layer for
9609 (license license:bsd-3)))
9611 (define-public ghc-persistent-template
9613 (name "ghc-persistent-template")
9618 (uri (string-append "https://hackage.haskell.org/package/"
9619 "persistent-template-" version "/"
9620 "persistent-template-" version ".tar.gz"))
9623 "0449piw3n02q7dag7k1pakfmzmf3ms4wk1qmnagczpm1ckajinwd"))))
9624 (build-system haskell-build-system)
9625 (inputs `(("ghc-persistent" ,ghc-persistent)
9626 ("ghc-monad-control" ,ghc-monad-control)
9627 ("ghc-text" ,ghc-text)
9628 ("ghc-aeson" ,ghc-aeson)
9629 ("ghc-aeson-compat" ,ghc-aeson-compat)
9630 ("ghc-monad-logger" ,ghc-monad-logger)
9631 ("ghc-unordered-containers" ,ghc-unordered-containers)
9632 ("ghc-tagged" ,ghc-tagged)
9633 ("ghc-path-pieces" ,ghc-path-pieces)
9634 ("ghc-http-api-data" ,ghc-http-api-data)))
9635 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9636 ("ghc-quickcheck" ,ghc-quickcheck)))
9637 (home-page "https://www.yesodweb.com/book/persistent")
9638 (synopsis "Type-safe, non-relational, multi-backend persistence")
9639 (description "This Haskell package provides interfaces and helper
9640 functions for the ghc-persistent package.")
9641 (license license:expat)))
9643 (define-public ghc-unliftio-core
9645 (name "ghc-unliftio-core")
9650 (uri (string-append "https://hackage.haskell.org/package/"
9651 "unliftio-core-" version "/"
9652 "unliftio-core-" version ".tar.gz"))
9655 "1193fplsjm1lcr05xwvkj1rsyzx74i755f6kw3ikmxbsv0bv0l3m"))))
9656 (build-system haskell-build-system)
9658 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
9659 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
9660 (description "This Haskell package provides the core @code{MonadUnliftIO}
9661 typeclass, instances for base and transformers, and basic utility
9663 (license license:expat)))
9665 (define-public ghc-microlens
9667 (name "ghc-microlens")
9672 (uri (string-append "https://hackage.haskell.org/package/"
9673 "microlens-" version "/"
9674 "microlens-" version ".tar.gz"))
9677 "17qx2mbqdrlnkc3gxq8njbp7qw8nh51drmz6fc8khgj9bls5ni2k"))))
9678 (build-system haskell-build-system)
9680 "https://github.com/aelve/microlens")
9681 (synopsis "Provides a tiny lens Haskell library with no dependencies")
9682 (description "This Haskell package provides a lens library, just like
9683 @code{ghc-lens}, but smaller. It provides essential lenses and
9684 traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
9685 nice to have (like @code{each}, @code{at}, and @code{ix}), and some
9686 combinators (like @code{failing} and @code{singular}), but everything else is
9687 stripped. As the result, this package has no dependencies.")
9688 (license license:bsd-3)))
9690 (define-public ghc-microlens-th
9692 (name "ghc-microlens-th")
9697 (uri (string-append "https://hackage.haskell.org/package/"
9698 "microlens-th-" version "/"
9699 "microlens-th-" version ".tar.gz"))
9702 "15a12cqxlgbcn1n73zwrxnp2vfm8b0ma0a0sdd8zmjbs8zy3np4f"))))
9703 (build-system haskell-build-system)
9704 (inputs `(("ghc-microlens" ,ghc-microlens)))
9706 "https://github.com/aelve/microlens")
9707 (synopsis "Automatic generation of record lenses for
9708 @code{ghc-microlens}")
9709 (description "This Haskell package lets you automatically generate lenses
9710 for data types; code was extracted from the lens package, and therefore
9711 generated lenses are fully compatible with ones generated by lens (and can be
9712 used both from lens and microlens).")
9713 (license license:bsd-3)))
9715 (define-public ghc-unliftio
9717 (name "ghc-unliftio")
9723 "https://hackage.haskell.org/package/unliftio/unliftio-"
9728 "0vpncmwaq5zb6bziqfns4qdgxmq8ky0rlxna2yngxp170s5zxx9z"))))
9729 (build-system haskell-build-system)
9730 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
9732 `(("ghc-async" ,ghc-async)
9733 ("ghc-stm" ,ghc-stm)
9734 ("ghc-unliftio-core" ,ghc-unliftio-core)))
9735 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9736 (home-page "https://github.com/fpco/unliftio")
9737 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
9738 IO (batteries included)")
9739 (description "This Haskell package provides the core @code{MonadUnliftIO}
9740 typeclass, a number of common instances, and a collection of common functions
9742 (license license:expat)))
9744 (define-public ghc-persistent-sqlite
9746 (name "ghc-persistent-sqlite")
9751 (uri (string-append "https://hackage.haskell.org/package/"
9752 "persistent-sqlite-" version "/"
9753 "persistent-sqlite-" version ".tar.gz"))
9756 "16mc2ra0hbyyc8ckjlxxc11bpskdymbr8c3g6ih6wzik639xprbm"))))
9757 (build-system haskell-build-system)
9758 (inputs `(("ghc-persistent" ,ghc-persistent)
9759 ("ghc-unliftio-core" ,ghc-unliftio-core)
9760 ("ghc-aeson" ,ghc-aeson)
9761 ("ghc-conduit" ,ghc-conduit)
9762 ("ghc-monad-logger" ,ghc-monad-logger)
9763 ("ghc-microlens-th" ,ghc-microlens-th)
9764 ("ghc-resourcet" ,ghc-resourcet)
9765 ("ghc-old-locale" ,ghc-old-locale)
9766 ("ghc-resource-pool" ,ghc-resource-pool)
9767 ("ghc-unordered-containers" ,ghc-unordered-containers)))
9768 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9769 ("ghc-persistent-template" ,ghc-persistent-template)
9770 ("ghc-temporary" ,ghc-temporary)
9771 ("ghc-text" ,ghc-text)))
9773 "https://www.yesodweb.com/book/persistent")
9774 (synopsis "Backend for the persistent library using sqlite3")
9775 (description "This Haskell package includes a thin sqlite3 wrapper based
9776 on the direct-sqlite package, as well as the entire C library, so there are no
9777 system dependencies.")
9778 (license license:expat)))
9780 (define-public ghc-email-validate
9782 (name "ghc-email-validate")
9788 "https://hackage.haskell.org/package/"
9789 "email-validate/email-validate-"
9794 "0qvxysiap3r4mi3xff5nsk9qv6diqxfgwj186bypbamzvzlz0lav"))))
9795 (build-system haskell-build-system)
9797 `(("ghc-attoparsec" ,ghc-attoparsec)
9798 ("ghc-hspec" ,ghc-hspec)
9799 ("ghc-quickcheck" ,ghc-quickcheck)
9800 ("ghc-doctest" ,ghc-doctest)))
9802 "https://github.com/Porges/email-validate-hs")
9803 (synopsis "Email address validator for Haskell")
9805 "This Haskell package provides a validator that can validate an email
9806 address string against RFC 5322.")
9807 (license license:bsd-3)))
9809 (define-public ghc-semigroupoids-5.2.2
9811 (inherit ghc-semigroupoids)
9812 (name "ghc-semigroupoids")
9816 (uri (string-append "https://hackage.haskell.org/package/"
9817 "semigroupoids-" version "/semigroupoids-"
9821 "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4"))))
9822 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
9823 ,@(package-inputs ghc-semigroupoids)))))
9825 (define-public ghc-bytes
9833 (string-append "https://hackage.haskell.org/package/bytes-"
9836 (file-name (string-append name "-" version ".tar.gz"))
9839 "121x3iqlm8pghw8cd9g30cnqbl7jrdpfjxdanmqdqllajw6xivrm"))))
9840 (build-system haskell-build-system)
9841 (inputs `(("ghc-cereal" ,ghc-cereal)
9842 ("cabal-doctest" ,cabal-doctest)
9843 ("ghc-doctest" ,ghc-doctest-0.13)
9844 ("ghc-scientific" ,ghc-scientific)
9845 ("ghc-text" ,ghc-text)
9846 ("ghc-transformers-compat" ,ghc-transformers-compat)
9847 ("ghc-unordered-containers" ,ghc-unordered-containers)
9848 ("ghc-void" ,ghc-void)
9849 ("ghc-vector" ,ghc-vector)))
9850 (synopsis "Serialization between @code{binary} and @code{cereal}")
9851 (description "This package provides a simple compatibility shim that lets
9852 you work with both @code{binary} and @code{cereal} with one chunk of
9853 serialization code.")
9854 (home-page "https://hackage.haskell.org/package/bytes")
9855 (license license:bsd-3)))
9857 (define-public ghc-disk-free-space
9859 (name "ghc-disk-free-space")
9864 (uri (string-append "https://hackage.haskell.org/package/"
9865 "disk-free-space/disk-free-space-"
9869 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
9870 (build-system haskell-build-system)
9871 (home-page "https://github.com/redneb/disk-free-space")
9872 (synopsis "Retrieve information about disk space usage")
9873 (description "A cross-platform library for retrieving information about
9875 (license license:bsd-3)))
9877 (define-public ghc-xdg-basedir
9879 (name "ghc-xdg-basedir")
9885 "https://hackage.haskell.org/package/xdg-basedir/"
9886 "xdg-basedir-" version ".tar.gz"))
9889 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
9890 (build-system haskell-build-system)
9891 (home-page "http://github.com/willdonnelly/xdg-basedir")
9892 (synopsis "XDG Base Directory library for Haskell")
9893 (description "This package provides a library implementing the XDG Base Directory spec.")
9894 (license license:bsd-3)))
9896 (define-public ghc-errorcall-eq-instance
9898 (name "ghc-errorcall-eq-instance")
9903 (uri (string-append "https://hackage.haskell.org/package/"
9904 "errorcall-eq-instance/errorcall-eq-instance-"
9908 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
9909 (build-system haskell-build-system)
9911 `(("ghc-base-orphans" ,ghc-base-orphans)))
9913 `(("ghc-quickcheck" ,ghc-quickcheck)
9914 ("ghc-hspec" ,ghc-hspec)
9915 ("hspec-discover" ,hspec-discover)))
9916 (home-page "http://hackage.haskell.org/package/errorcall-eq-instance")
9917 (synopsis "Orphan Eq instance for ErrorCall")
9919 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
9920 This package provides an orphan instance.")
9921 (license license:expat)))
9923 (define-public ghc-missingh
9925 (name "ghc-missingh")
9930 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
9931 "MissingH-" version ".tar.gz"))
9934 "0wcvgrmav480w7nf4bl14yi0jq2yzanysxwzwas9hpb28vyjlgr8"))))
9935 (build-system haskell-build-system)
9936 ;; Tests require the unmaintained testpack package, which depends on the
9937 ;; outdated QuickCheck version 2.7, which can no longer be built with
9938 ;; recent versions of GHC and Haskell libraries.
9939 (arguments '(#:tests? #f))
9941 `(("ghc-network" ,ghc-network)
9942 ("ghc-parsec" ,ghc-parsec)
9943 ("ghc-hunit" ,ghc-hunit)
9944 ("ghc-regex-compat" ,ghc-regex-compat)
9945 ("ghc-hslogger" ,ghc-hslogger)
9946 ("ghc-random" ,ghc-random)
9947 ("ghc-old-time" ,ghc-old-time)
9948 ("ghc-old-locale" ,ghc-old-locale)))
9950 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
9951 ("ghc-quickcheck" ,ghc-quickcheck)
9952 ("ghc-hunit" ,ghc-hunit)))
9953 (home-page "http://software.complete.org/missingh")
9954 (synopsis "Large utility library")
9956 "MissingH is a library of all sorts of utility functions for Haskell
9957 programmers. It is written in pure Haskell and thus should be extremely
9958 portable and easy to use.")
9959 (license license:bsd-3)))
9961 (define-public ghc-intervalmap
9963 (name "ghc-intervalmap")
9968 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
9969 "IntervalMap-" version ".tar.gz"))
9972 "06hin9wf1by8aqa7820fsi2339bh82184frkwz3jsb9sqa0hszcg"))))
9973 (build-system haskell-build-system)
9975 `(("ghc-quickcheck" ,ghc-quickcheck)))
9976 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
9977 (synopsis "Containers for intervals, with efficient search")
9979 "This package provides ordered containers of intervals, with efficient
9980 search for all keys containing a point or overlapping an interval. See the
9981 example code on the home page for a quick introduction.")
9982 (license license:bsd-3)))
9984 (define-public ghc-operational
9986 (name "ghc-operational")
9991 (uri (string-append "https://hackage.haskell.org/package/operational/"
9992 "operational-" version ".tar.gz"))
9995 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
9996 (build-system haskell-build-system)
9998 `(("ghc-random" ,ghc-random)))
9999 (home-page "http://wiki.haskell.org/Operational")
10000 (synopsis "Implementation of difficult monads made easy with operational semantics")
10002 "This library makes it easy to implement monads with tricky control
10003 flow. This is useful for: writing web applications in a sequential style,
10004 programming games with a uniform interface for human and AI players and easy
10005 replay capababilities, implementing fast parser monads, designing monadic
10007 (license license:bsd-3)))
10009 (define-public ghc-gtk2hs-buildtools
10011 (name "ghc-gtk2hs-buildtools")
10012 (version "0.13.4.0")
10016 (uri (string-append "https://hackage.haskell.org/package/"
10017 "gtk2hs-buildtools/gtk2hs-buildtools-"
10018 version ".tar.gz"))
10021 "0yg6xmylgpylmnh5g33qwwn5x9bqckdvvv4czqzd9vrr12lnnghg"))))
10022 (build-system haskell-build-system)
10024 `(("ghc-random" ,ghc-random)
10025 ("ghc-hashtables" ,ghc-hashtables)))
10027 `(("ghc-alex" ,ghc-alex)
10028 ("ghc-happy" ,ghc-happy)))
10029 (home-page "http://projects.haskell.org/gtk2hs/")
10030 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
10032 "This package provides a set of helper programs necessary to build the
10033 Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
10034 that is used to generate FFI declarations, a tool to build a type hierarchy
10035 that mirrors the C type hierarchy of GObjects found in glib, and a generator
10036 for signal declarations that are used to call back from C to Haskell. These
10037 tools are not needed to actually run Gtk2Hs programs.")
10038 (license license:gpl2)))
10040 (define-public ghc-chart
10047 (uri (string-append "https://hackage.haskell.org/package/Chart/"
10048 "Chart-" version ".tar.gz"))
10051 "13s64fhb2pmkdmx5bkgbgcn25qjihs364fvr47a1dw25f804kiy1"))))
10052 (build-system haskell-build-system)
10054 `(("ghc-old-locale" ,ghc-old-locale)
10055 ("ghc-lens" ,ghc-lens)
10056 ("ghc-colour" ,ghc-colour)
10057 ("ghc-data-default-class" ,ghc-data-default-class)
10058 ("ghc-operational" ,ghc-operational)
10059 ("ghc-vector" ,ghc-vector)))
10060 (home-page "https://github.com/timbod7/haskell-chart/wiki")
10061 (synopsis "Library for generating 2D charts and plots")
10063 "This package provides a library for generating 2D charts and plots, with
10064 backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
10065 (license license:bsd-3)))
10067 (define-public ghc-wcwidth
10069 (name "ghc-wcwidth")
10074 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
10075 version ".tar.gz"))
10078 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
10079 (build-system haskell-build-system)
10081 `(("ghc-setlocale" ,ghc-setlocale)
10082 ("ghc-utf8-string" ,ghc-utf8-string)
10083 ("ghc-attoparsec" ,ghc-attoparsec)))
10084 (home-page "https://github.com/solidsnack/wcwidth/")
10085 (synopsis "Haskell bindings to wcwidth")
10086 (description "This package provides Haskell bindings to your system's
10087 native wcwidth and a command line tool to examine the widths assigned by it.
10088 The command line tool can compile a width table to Haskell code that assigns
10089 widths to the Char type.")
10090 (license license:bsd-3)))
10092 ;;; haskell.scm ends here