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>
19 ;;; This file is part of GNU Guix.
21 ;;; GNU Guix is free software; you can redistribute it and/or modify it
22 ;;; under the terms of the GNU General Public License as published by
23 ;;; the Free Software Foundation; either version 3 of the License, or (at
24 ;;; your option) any later version.
26 ;;; GNU Guix is distributed in the hope that it will be useful, but
27 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
28 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 ;;; GNU General Public License for more details.
31 ;;; You should have received a copy of the GNU General Public License
32 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
34 (define-module (gnu packages haskell)
35 #:use-module (gnu packages)
36 #:use-module (gnu packages bootstrap)
37 #:use-module (gnu packages check)
38 #:use-module (gnu packages compression)
39 #:use-module (gnu packages elf)
40 #:use-module (gnu packages gcc)
41 #:use-module (gnu packages ghostscript)
42 #:use-module (gnu packages gl)
43 #:use-module (gnu packages haskell-check)
44 #:use-module (gnu packages haskell-crypto)
45 #:use-module (gnu packages haskell-web)
46 #:use-module (gnu packages libffi)
47 #:use-module (gnu packages linux)
48 #:use-module (gnu packages lisp)
49 #:use-module (gnu packages lua)
50 #:use-module (gnu packages maths)
51 #:use-module (gnu packages multiprecision)
52 #:use-module (gnu packages ncurses)
53 #:use-module (gnu packages pcre)
54 #:use-module (gnu packages perl)
55 #:use-module (gnu packages pkg-config)
56 #:use-module (gnu packages python)
57 #:use-module (gnu packages sdl)
58 #:use-module (gnu packages tls)
59 #:use-module (gnu packages xml)
60 #:use-module (gnu packages xorg)
61 #:use-module (guix build-system gnu)
62 #:use-module (guix build-system haskell)
63 #:use-module (guix download)
64 #:use-module (guix git-download)
65 #:use-module ((guix licenses) #:prefix license:)
66 #:use-module (guix packages)
67 #:use-module (guix utils)
68 #:use-module (ice-9 regex)
69 #:use-module ((srfi srfi-1) #:select (alist-delete)))
71 (define-public cl-yale-haskell
72 (let ((commit "85f94c72a16c5f70301dd8db04cde9de2d7dd270")
75 (name "cl-yale-haskell")
76 (version (string-append "2.0.5-" revision "." (string-take commit 9)))
80 (url "https://git.elephly.net/software/yale-haskell.git")
82 (file-name (string-append "yale-haskell-" commit "-checkout"))
85 "0bal3m6ryrjamz5p93bhs9rp5msk8k7lpcqr44wd7xs9b9k8w74g"))))
86 (build-system gnu-build-system)
88 `(#:tests? #f ; no tests
89 ;; Stripping binaries leads to a broken executable lisp system image.
92 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
94 (modify-phases %standard-phases
97 (setenv "PRELUDE" "./progs/prelude")
98 (setenv "HASKELL_LIBRARY" "./progs/lib")
99 (setenv "PRELUDEBIN" "./progs/prelude/clisp")
100 (setenv "HASKELLPROG" "./bin/clisp-haskell")
104 (home-page "https://git.elephly.net/software/yale-haskell.git")
105 (synopsis "Port of the Yale Haskell system to CLISP")
106 (description "This package provides the Yale Haskell system running on
108 (license license:bsd-4))))
110 (define ghc-bootstrap-x86_64-7.8.4
114 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.xz")
117 "13azsl53xgj20mi1hj9x0xb32vvcvs6cpmvwx6znxhas7blh0bpn"))))
119 (define ghc-bootstrap-i686-7.8.4
123 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.xz")
126 "0wj5s435j0zgww70bj1d3f6wvnnpzlxwvwcyh2qv4qjq5z8j64kg"))))
128 ;; 43 tests out of 3965 fail.
130 ;; Most of them do not appear to be serious:
132 ;; - some tests generate files referring to "/bin/sh" and "/bin/ls". I've not
133 ;; figured out how these references are generated.
135 ;; - Some tests allocate more memory than expected (ca. 3% above upper limit)
137 ;; - Some tests try to load unavailable libriries: Control.Concurrent.STM,
138 ;; Data.Vector, Control.Monad.State.
140 ;; - Test posix010 tries to check the existence of a user on the system:
141 ;; getUserEntryForName: does not exist (no such user)
149 (uri (string-append "https://www.haskell.org/ghc/dist/"
150 version "/" name "-" version "-src.tar.xz"))
153 "1x8m4rp2v7ydnrz6z9g8x7z3x3d3pxhv2pixy7i7hkbqbdsp7kal"))))
154 (build-system gnu-build-system)
155 (supported-systems '("i686-linux" "x86_64-linux"))
156 (outputs '("out" "doc"))
165 "https://www.haskell.org/ghc/dist/"
166 version "/" name "-" version "-testsuite.tar.xz"))
169 "0qp9da9ar87zbyn6wjgacd2ic1vgzbi3cklxnhsmjqyafv9qaj4b"))))))
172 ("python" ,python-2) ; for tests (fails with python-3)
173 ("ghostscript" ,ghostscript) ; for tests
174 ("patchelf" ,patchelf)
175 ;; GHC is built with GHC. Therefore we need bootstrap binaries.
177 ,(if (string-match "x86_64" (or (%current-target-system) (%current-system)))
178 ghc-bootstrap-x86_64-7.8.4
179 ghc-bootstrap-i686-7.8.4))))
181 `(#:test-target "test"
182 ;; We get a smaller number of test failures by disabling parallel test
186 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
187 ;; gremlin) doesn't support it yet, so skip this phase.
188 #:validate-runpath? #f
190 ;; Don't pass --build=<triplet>, because the configure script
191 ;; auto-detects slightly different triplets for --host and --target and
192 ;; then complains that they don't match.
195 #:modules ((guix build gnu-build-system)
200 #:imported-modules (,@%gnu-build-system-modules
204 (string-append "--with-gmp-libraries="
205 (assoc-ref %build-inputs "gmp") "/lib")
206 (string-append "--with-gmp-includes="
207 (assoc-ref %build-inputs "gmp") "/include")
208 "--with-system-libffi"
209 (string-append "--with-ffi-libraries="
210 (assoc-ref %build-inputs "libffi") "/lib")
211 (string-append "--with-ffi-includes="
212 (assoc-ref %build-inputs "libffi") "/include"))
213 ;; FIXME: The user-guide needs dblatex, docbook-xsl and docbook-utils.
214 ;; Currently we do not have the last one.
216 ;; (list "BUILD_DOCBOOK_HTML = YES")
218 (let* ((ghc-bootstrap-path
219 (string-append (getcwd) "/" ,name "-" ,version "/ghc-bin"))
220 (ghc-bootstrap-prefix
221 (string-append ghc-bootstrap-path "/usr" )))
223 'unpack-bin 'unpack-testsuite-and-fix-bins
224 (lambda* (#:key inputs outputs #:allow-other-keys)
225 (with-directory-excursion ".."
226 (copy-file (assoc-ref inputs "ghc-testsuite")
227 "ghc-testsuite.tar.xz")
228 (system* "tar" "xvf" "ghc-testsuite.tar.xz"))
230 (list "testsuite/timeout/Makefile"
231 "testsuite/timeout/timeout.py"
232 "testsuite/timeout/timeout.hs"
233 "testsuite/tests/rename/prog006/Setup.lhs"
234 "testsuite/tests/programs/life_space_leak/life.test"
235 "libraries/process/System/Process/Internals.hs"
236 "libraries/unix/cbits/execvpe.c")
237 (("/bin/sh") (which "sh"))
242 (lambda* (#:key inputs outputs #:allow-other-keys)
243 (mkdir-p ghc-bootstrap-prefix)
244 (with-directory-excursion ghc-bootstrap-path
245 (copy-file (assoc-ref inputs "ghc-binary")
247 (zero? (system* "tar" "xvf" "ghc-bin.tar.xz"))))
249 'install-bin 'configure-bin
250 (lambda* (#:key inputs outputs #:allow-other-keys)
253 "./utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"
254 "./utils/hpc/dist-install/build/tmp/hpc"
255 "./utils/haddock/dist/build/tmp/haddock"
256 "./utils/hsc2hs/dist-install/build/tmp/hsc2hs"
257 "./utils/runghc/dist-install/build/tmp/runghc"
258 "./utils/ghc-cabal/dist-install/build/tmp/ghc-cabal"
259 "./utils/hp2ps/dist/build/tmp/hp2ps"
260 "./utils/ghc-pkg/dist-install/build/tmp/ghc-pkg"
261 "./utils/unlit/dist/build/tmp/unlit"
262 "./ghc/stage2/build/tmp/ghc-stage2"))
263 (gmp (assoc-ref inputs "gmp"))
264 (gmp-lib (string-append gmp "/lib"))
265 (gmp-include (string-append gmp "/include"))
267 (string-append (assoc-ref inputs "ncurses") "/lib"))
268 (ld-so (string-append (assoc-ref inputs "libc")
269 ,(glibc-dynamic-linker)))
271 (string-append ghc-bootstrap-prefix
272 "/lib/ghc-7.8.4/terminfo-0.4.0.0")))
273 (with-directory-excursion
274 (string-append ghc-bootstrap-path "/ghc-7.8.4")
275 (setenv "CONFIG_SHELL" (which "bash"))
276 (setenv "LD_LIBRARY_PATH" gmp-lib)
277 ;; The binaries have "/lib64/ld-linux-x86-64.so.2" hardcoded.
279 (cut system* "patchelf" "--set-interpreter" ld-so <>)
281 ;; The binaries include a reference to libtinfo.so.5 which
282 ;; is a subset of libncurses.so.5. We create a symlink in a
283 ;; directory included in the bootstrap binaries rpath.
284 (mkdir-p libtinfo-dir)
286 (string-append ncurses-lib "/libncursesw.so."
287 ;; Extract "6.0" from "6.0-20170930" if a
288 ;; dash-separated version tag exists.
289 ,(let* ((v (package-version ncurses))
290 (d (or (string-index v #\-)
292 (version-major+minor (string-take v d))))
293 (string-append libtinfo-dir "/libtinfo.so.5"))
296 (string-append (getenv "PATH") ":"
297 ghc-bootstrap-prefix "/bin"))
299 (string-append (getcwd) "/configure")
300 (string-append "--prefix=" ghc-bootstrap-prefix)
301 (string-append "--with-gmp-libraries=" gmp-lib)
302 (string-append "--with-gmp-includes=" gmp-include)))))
304 'configure 'install-bin
305 (lambda* (#:key inputs outputs #:allow-other-keys)
306 (with-directory-excursion
307 (string-append ghc-bootstrap-path "/ghc-7.8.4")
308 (zero? (system* "make" "install"))))
309 %standard-phases)))))))
310 (native-search-paths (list (search-path-specification
311 (variable "GHC_PACKAGE_PATH")
313 (string-append "lib/ghc-" version)))
314 (file-pattern ".*\\.conf\\.d$")
315 (file-type 'directory))))
316 (home-page "https://www.haskell.org/ghc")
317 (synopsis "The Glasgow Haskell Compiler")
319 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
320 interactive environment for the functional language Haskell.")
321 (license license:bsd-3)))
330 (uri (string-append "https://www.haskell.org/ghc/dist/"
331 version "/" name "-" version "-src.tar.xz"))
333 (base32 "1c8qc4fhkycynk4g1f9hvk53dj6a1vvqi6bklqznns6hw59m8qhi"))
336 "ghc-dont-pass-linker-flags-via-response-files.patch"
337 "ghc-8.0-fall-back-to-madv_dontneed.patch"))))
338 (build-system gnu-build-system)
339 (supported-systems '("i686-linux" "x86_64-linux"))
340 (outputs '("out" "doc"))
349 "https://www.haskell.org/ghc/dist/"
350 version "/" name "-" version "-testsuite.tar.xz"))
352 (base32 "1wjc3x68l305bl1h1ijd3yhqp2vqj83lkp3kqbr94qmmkqlms8sj"))))))
355 ("python" ,python-2) ; for tests
356 ("ghostscript" ,ghostscript) ; for tests
357 ;; GHC is built with GHC.
358 ("ghc-bootstrap" ,ghc-7)))
360 `(#:test-target "test"
361 ;; We get a smaller number of test failures by disabling parallel test
365 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
366 ;; gremlin) doesn't support it yet, so skip this phase.
367 #:validate-runpath? #f
369 ;; Don't pass --build=<triplet>, because the configure script
370 ;; auto-detects slightly different triplets for --host and --target and
371 ;; then complains that they don't match.
376 (string-append "--with-gmp-libraries="
377 (assoc-ref %build-inputs "gmp") "/lib")
378 (string-append "--with-gmp-includes="
379 (assoc-ref %build-inputs "gmp") "/include")
380 "--with-system-libffi"
381 (string-append "--with-ffi-libraries="
382 (assoc-ref %build-inputs "libffi") "/lib")
383 (string-append "--with-ffi-includes="
384 (assoc-ref %build-inputs "libffi") "/include")
385 (string-append "--with-curses-libraries="
386 (assoc-ref %build-inputs "ncurses") "/lib")
387 (string-append "--with-curses-includes="
388 (assoc-ref %build-inputs "ncurses") "/include"))
390 (modify-phases %standard-phases
391 (add-after 'unpack 'unpack-testsuite
392 (lambda* (#:key inputs #:allow-other-keys)
393 (with-directory-excursion ".."
394 (copy-file (assoc-ref inputs "ghc-testsuite")
395 "ghc-testsuite.tar.xz")
396 (zero? (system* "tar" "xvf" "ghc-testsuite.tar.xz")))))
397 (add-before 'build 'fix-lib-paths
400 (list "libraries/process/System/Process/Posix.hs"
401 "libraries/process/tests/process001.hs"
402 "libraries/process/tests/process002.hs"
403 "libraries/unix/cbits/execvpe.c")
404 (("/bin/sh") (which "sh"))
405 (("/bin/ls") (which "ls")))
407 (add-before 'build 'fix-environment
409 (unsetenv "GHC_PACKAGE_PATH")
410 (setenv "CONFIG_SHELL" (which "bash"))
412 (add-before 'check 'fix-testsuite
415 (list "testsuite/timeout/Makefile"
416 "testsuite/timeout/timeout.py"
417 "testsuite/timeout/timeout.hs"
418 "testsuite/tests/programs/life_space_leak/life.test")
419 (("/bin/sh") (which "sh"))
422 (native-search-paths (list (search-path-specification
423 (variable "GHC_PACKAGE_PATH")
425 (string-append "lib/ghc-" version)))
426 (file-pattern ".*\\.conf\\.d$")
427 (file-type 'directory))))
428 (home-page "https://www.haskell.org/ghc")
429 (synopsis "The Glasgow Haskell Compiler")
431 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
432 interactive environment for the functional language Haskell.")
433 (license license:bsd-3)))
435 (define-public ghc ghc-8)
437 (define-public ghc-hostname
439 (name "ghc-hostname")
444 (uri (string-append "https://hackage.haskell.org/package/hostname/"
445 "hostname-" version ".tar.gz"))
448 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
449 (build-system haskell-build-system)
450 (home-page "https://hackage.haskell.org/package/hostname")
451 (synopsis "Hostname in Haskell")
452 (description "Network.HostName is a simple package providing a means to
453 determine the hostname.")
454 (license license:bsd-3)))
456 (define-public ghc-convertible
458 (name "ghc-convertible")
463 (uri (string-append "https://hackage.haskell.org/package/convertible/"
464 "convertible-" version ".tar.gz"))
467 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
468 (build-system haskell-build-system)
470 `(("ghc-old-time" ,ghc-old-time)
471 ("ghc-old-locale" ,ghc-old-locale)
473 ("ghc-text" ,ghc-text)))
474 (home-page "https://hackage.haskell.org/package/convertible")
475 (synopsis "Typeclasses and instances for converting between types")
477 "This package provides a typeclass with a single function that is
478 designed to help convert between different types: numeric values, dates and
479 times, and the like. The conversions perform bounds checking and return a
480 pure @code{Either} value. This means that you need not remember which specific
481 function performs the conversion you desire.")
482 (license license:bsd-3)))
484 (define-public ghc-double-conversion
486 (name "ghc-double-conversion")
491 (uri (string-append "https://hackage.haskell.org/package/"
492 "double-conversion/double-conversion-"
496 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
497 (build-system haskell-build-system)
498 (inputs `(("ghc-text" ,ghc-text)))
500 `(("ghc-hunit" ,ghc-hunit)
501 ("ghc-test-framework" ,ghc-test-framework)
502 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
503 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
504 (home-page "https://github.com/bos/double-conversion")
505 (synopsis "Fast conversion between double precision floating point and text")
507 "This package provides a library that performs fast, accurate conversion
508 between double precision floating point and text.")
509 (license license:bsd-3)))
511 (define-public ghc-libxml
518 (uri (string-append "https://hackage.haskell.org/package/libxml/"
519 "libxml-" version ".tar.gz"))
522 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
523 (build-system haskell-build-system)
525 `(("ghc-mtl" ,ghc-mtl)
526 ("libxml2" ,libxml2)))
529 `(,(string-append "--extra-include-dirs="
530 (assoc-ref %build-inputs "libxml2")
531 "/include/libxml2"))))
532 (home-page "https://hackage.haskell.org/package/libxml")
533 (synopsis "Haskell bindings to libxml2")
535 "This library provides minimal Haskell binding to libxml2.")
536 (license license:bsd-3)))
538 (define-public ghc-prelude-extras
540 (name "ghc-prelude-extras")
546 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
551 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
552 (build-system haskell-build-system)
553 (home-page "https://github.com/ekmett/prelude-extras")
554 (synopsis "Higher order versions of Prelude classes")
555 (description "This library provides higher order versions of
556 @code{Prelude} classes to ease programming with polymorphic recursion and
557 reduce @code{UndecidableInstances}.")
558 (license license:bsd-3)))
560 (define-public ghc-data-default
562 (name "ghc-data-default")
568 "https://hackage.haskell.org/package/data-default/data-default-"
572 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
573 (build-system haskell-build-system)
575 `(("ghc-data-default-class"
576 ,ghc-data-default-class)
577 ("ghc-data-default-instances-base"
578 ,ghc-data-default-instances-base)
579 ("ghc-data-default-instances-containers"
580 ,ghc-data-default-instances-containers)
581 ("ghc-data-default-instances-dlist"
582 ,ghc-data-default-instances-dlist)
583 ("ghc-data-default-instances-old-locale"
584 ,ghc-data-default-instances-old-locale)))
585 (home-page "https://hackage.haskell.org/package/data-default")
586 (synopsis "Types with default values")
588 "This package defines a class for types with a default value, and
589 provides instances for types from the base, containers, dlist and old-locale
591 (license license:bsd-3)))
593 (define-public ghc-data-default-class
595 (name "ghc-data-default-class")
601 "https://hackage.haskell.org/package/data-default-class/"
602 "data-default-class-" version ".tar.gz"))
604 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
605 (build-system haskell-build-system)
606 (home-page "https://hackage.haskell.org/package/data-default-class")
607 (synopsis "Types with default values")
609 "This package defines a class for types with default values.")
610 (license license:bsd-3)))
612 (define-public ghc-data-default-instances-base
614 (name "ghc-data-default-instances-base")
620 "https://hackage.haskell.org/package/"
621 "data-default-instances-base/"
622 "data-default-instances-base-" version ".tar.gz"))
624 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
625 (build-system haskell-build-system)
627 `(("ghc-data-default-class" ,ghc-data-default-class)))
628 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
629 (synopsis "Default instances for types in base")
631 "This package provides default instances for types from the base
633 (license license:bsd-3)))
635 (define-public ghc-data-default-instances-containers
637 (name "ghc-data-default-instances-containers")
643 "https://hackage.haskell.org/package/"
644 "data-default-instances-containers/"
645 "data-default-instances-containers-" version ".tar.gz"))
647 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
648 (build-system haskell-build-system)
650 `(("ghc-data-default-class" ,ghc-data-default-class)))
651 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
652 (synopsis "Default instances for types in containers")
653 (description "Provides default instances for types from the containers
655 (license license:bsd-3)))
657 (define-public ghc-data-default-instances-dlist
659 (name "ghc-data-default-instances-dlist")
665 "https://hackage.haskell.org/package/"
666 "data-default-instances-dlist/"
667 "data-default-instances-dlist-" version ".tar.gz"))
669 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
670 (build-system haskell-build-system)
672 `(("ghc-data-default-class" ,ghc-data-default-class)
673 ("ghc-dlist" ,ghc-dlist)))
674 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
675 (synopsis "Default instances for types in dlist")
676 (description "Provides default instances for types from the dlist
678 (license license:bsd-3)))
680 (define-public ghc-code-page
682 (name "ghc-code-page")
688 "https://hackage.haskell.org/package/code-page/code-page-"
692 "1491frk4jx6dlhifky9dvcxbsbcfssrz979a5hp5zn061rh8cp76"))))
693 (build-system haskell-build-system)
694 (home-page "https://github.com/RyanGlScott/code-page")
695 (synopsis "Windows code page library for Haskell")
696 (description "A cross-platform library with functions for adjusting
697 code pages on Windows. On all other operating systems, the library does
699 (license license:bsd-3)))
701 (define-public ghc-haddock-library
703 (name "ghc-haddock-library")
709 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
714 "0ns4bpf6whmcfl0cm2gx2c73if416x4q3ac4l4qm8w84h0zpcr7p"))))
715 (build-system haskell-build-system)
717 `(("ghc-base-compat" ,ghc-base-compat)))
719 `(("hspec-discover" ,hspec-discover)
720 ("ghc-hspec" ,ghc-hspec)
721 ("ghc-quickcheck" ,ghc-quickcheck)))
722 (home-page "https://www.haskell.org/haddock/")
723 (synopsis "Library exposing some functionality of Haddock")
725 "Haddock is a documentation-generation tool for Haskell libraries. These
726 modules expose some functionality of it without pulling in the GHC dependency.
727 Please note that the API is likely to change so specify upper bounds in your
728 project if you can't release often. For interacting with Haddock itself, see
729 the ‘haddock’ package.")
730 (license license:bsd-3)))
732 (define-public ghc-haddock-api
734 (name "ghc-haddock-api")
735 ;; This is the last version to be supported by Cabal < 2.0
741 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
746 "00fn6pzgg8xjbaw12d76jdqh2dbc5xy7miyz0x6kidvvar7i35ss"))))
747 (build-system haskell-build-system)
749 `(("ghc-paths" ,ghc-paths)
750 ("ghc-haddock-library" ,ghc-haddock-library)))
752 `(("ghc-quickcheck" ,ghc-quickcheck)
753 ("ghc-hspec" ,ghc-hspec)
754 ("hspec-discover" ,hspec-discover)))
755 (home-page "https://www.haskell.org/haddock/")
756 (synopsis "API for documentation-generation tool Haddock")
757 (description "This package provides an API to Haddock, the
758 documentation-generation tool for Haskell libraries.")
759 (license license:bsd-3)))
761 (define-public ghc-haddock-test
763 (name "ghc-haddock-test")
768 (uri (string-append "https://hackage.haskell.org/package/"
769 "haddock-test/haddock-test-"
773 "1ax8fnfrwx66csj952f3virxzapipan9da7z5l1zc12nqkifbs7w"))))
774 (build-system haskell-build-system)
776 `(("ghc-xml" ,ghc-xml)
777 ("ghc-syb" ,ghc-syb)))
778 (home-page "http://www.haskell.org/haddock/")
779 (synopsis "Test utilities for Haddock")
780 (description "This package provides test utilities for Haddock.")
781 (license license:bsd-3)))
783 (define-public ghc-haddock
791 "https://hackage.haskell.org/package/haddock/haddock-"
796 "1z3h3v7w84dzsm47iavdppc2w899mr4c1agq9fzghgz902i0a655"))))
797 (build-system haskell-build-system)
798 ;; FIXME: Tests fail with this error:
799 ;; driver-test/Main.hs:4:1: error:
800 ;; Failed to load interface for ‘ResponseFileSpec’
801 (arguments `(#:tests? #f))
802 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
804 `(("ghc-hspec" ,ghc-hspec)
805 ("ghc-haddock-test" ,ghc-haddock-test)))
806 (home-page "https://www.haskell.org/haddock/")
808 "Documentation-generation tool for Haskell libraries")
810 "Haddock is a documentation-generation tool for Haskell libraries.")
811 (license license:bsd-3)))
813 (define-public ghc-simple-reflect
815 (name "ghc-simple-reflect")
821 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
826 "1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq"))))
827 (build-system haskell-build-system)
829 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
831 "Simple reflection of expressions containing variables")
833 "This package allows simple reflection of expressions containing
834 variables. Reflection here means that a Haskell expression is turned into a
835 string. The primary aim of this package is teaching and understanding; there
836 are no options for manipulating the reflected expressions beyond showing
838 (license license:bsd-3)))
840 (define-public ghc-haskell-src
842 (name "ghc-haskell-src")
848 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
853 "19lilhpwnjb7cks9fq1ipnc8f7dwxy0ri3dgjkdxs3i355byw99a"))))
854 (build-system haskell-build-system)
856 `(("ghc-happy" ,ghc-happy)
857 ("ghc-syb" ,ghc-syb)))
859 "https://hackage.haskell.org/package/haskell-src")
861 "Support for manipulating Haskell source code")
863 "The 'haskell-src' package provides support for manipulating Haskell
864 source code. The package provides a lexer, parser and pretty-printer, and a
865 definition of a Haskell abstract syntax tree (AST). Common uses of this
866 package are to parse or generate Haskell 98 code.")
867 (license license:bsd-3)))
869 (define-public ghc-alex
877 "https://hackage.haskell.org/package/alex/alex-"
882 "0bi1cs9b8ir33h1fl6x2xw4ymygapqbr713ridpf7rmk2wa7jqqs"))))
883 (build-system haskell-build-system)
884 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
885 (home-page "https://www.haskell.org/alex/")
887 "Tool for generating lexical analysers in Haskell")
889 "Alex is a tool for generating lexical analysers in Haskell. It takes a
890 description of tokens based on regular expressions and generates a Haskell
891 module containing code for scanning text efficiently. It is similar to the
892 tool lex or flex for C/C++.")
893 (license license:bsd-3)))
895 (define-public ghc-cgi
898 (version "3001.3.0.2")
903 "https://hackage.haskell.org/package/cgi/cgi-"
908 "1hbpplss1m4rdpm4ibip6fpimlhssqa14fl338kl2jbc463i64cj"))))
909 (build-system haskell-build-system)
911 `(#:configure-flags (list "--allow-newer=QuickCheck")))
913 `(("ghc-parsec" ,ghc-parsec)
914 ("ghc-exceptions" ,ghc-exceptions)
915 ("ghc-multipart" ,ghc-multipart)
916 ("ghc-network-uri" ,ghc-network-uri)
917 ("ghc-network" ,ghc-network)
918 ("ghc-mtl" ,ghc-mtl)))
920 `(("ghc-doctest" ,ghc-doctest)
921 ("ghc-quickcheck" ,ghc-quickcheck)))
923 "https://github.com/cheecheeo/haskell-cgi")
924 (synopsis "Library for writing CGI programs")
926 "This is a Haskell library for writing CGI programs.")
927 (license license:bsd-3)))
929 (define-public ghc-cmdargs
937 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
941 "1lnmcsf6p9yrwwz1zvrw5lbc32xpff7b70yz4ylawaflnlz6wrlh"))))
942 (build-system haskell-build-system)
944 "http://community.haskell.org/~ndm/cmdargs/")
945 (synopsis "Command line argument processing")
947 "This library provides an easy way to define command line parsers.")
948 (license license:bsd-3)))
950 (define-public ghc-concatenative
952 (name "ghc-concatenative")
957 "https://hackage.haskell.org/package/concatenative/concatenative-"
961 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
962 (build-system haskell-build-system)
964 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
965 (synopsis "Library for postfix control flow")
967 "Concatenative gives Haskell Factor-style combinators and arrows for
968 postfix notation. For more information on stack based languages, see
969 @uref{https://concatenative.org}.")
970 (license license:bsd-3)))
972 (define-public ghc-happy
980 "https://hackage.haskell.org/package/happy/happy-"
985 "186ky3bly0i3cc56qk3r7j7pxh2108aackq4n2lli7jmbnb3kxsd"))))
986 (build-system haskell-build-system)
988 `(("ghc-mtl" ,ghc-mtl)))
989 (home-page "https://hackage.haskell.org/package/happy")
990 (synopsis "Parser generator for Haskell")
991 (description "Happy is a parser generator for Haskell. Given a grammar
992 specification in BNF, Happy generates Haskell code to parse the grammar.
993 Happy works in a similar way to the yacc tool for C.")
994 (license license:bsd-3)))
996 (define-public ghc-haskell-lexer
998 (name "ghc-haskell-lexer")
1004 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
1008 "0rj3r1pk88hh3sk3mj61whp8czz5kpxhbc78xlr04bxwqjrjmm6p"))))
1009 (build-system haskell-build-system)
1010 (home-page "http://hackage.haskell.org/package/haskell-lexer")
1011 (synopsis "Fully compliant Haskell 98 lexer")
1013 "This package provides a fully compliant Haskell 98 lexer.")
1014 (license license:bsd-3)))
1016 (define-public ghc-pretty-show
1018 (name "ghc-pretty-show")
1023 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
1024 "pretty-show-" version ".tar.gz"))
1027 "1fblcxw4z4ry14brin1mvwccs6hqqlhi7xhwv1f23szjq25cjacn"))))
1028 (build-system haskell-build-system)
1030 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
1031 ("ghc-happy" ,ghc-happy)))
1032 (home-page "http://wiki.github.com/yav/pretty-show")
1033 (synopsis "Tools for working with derived `Show` instances")
1035 "This package provides a library and an executable for working with
1036 derived @code{Show} instances. By using the library, derived @code{Show}
1037 instances can be parsed into a generic data structure. The @code{ppsh} tool
1038 uses the library to produce human-readable versions of @code{Show} instances,
1039 which can be quite handy for debugging Haskell programs. We can also render
1040 complex generic values into an interactive Html page, for easier
1042 (license license:expat)))
1044 (define-public ghc-pretty-show-for-haskell-src-exts
1045 (package (inherit ghc-pretty-show)
1046 (name "ghc-pretty-show")
1051 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
1052 "pretty-show-" version ".tar.gz"))
1055 "133s4l1gk46saf6ycm785rswycy8g3j0qqrv93b5wp8cp50kd0ww"))))))
1057 (define-public ghc-haskell-src-exts
1059 (name "ghc-haskell-src-exts")
1065 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
1070 "1jsjl9hja2dpcfq4mzlfpwyr6axwnwgacfb7aa070kz4lbygzaa8"))))
1071 (build-system haskell-build-system)
1074 ("ghc-happy" ,ghc-happy)
1075 ("ghc-mtl" ,ghc-mtl)
1076 ("ghc-pretty-show" ,ghc-pretty-show-for-haskell-src-exts)))
1078 `(("ghc-smallcheck" ,ghc-smallcheck)
1079 ("ghc-tasty" ,ghc-tasty)
1080 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
1081 ("ghc-tasty-golden" ,ghc-tasty-golden)))
1082 (home-page "https://github.com/haskell-suite/haskell-src-exts")
1083 (synopsis "Library for manipulating Haskell source")
1084 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
1085 extension of the standard @code{haskell-src} package, and handles most
1086 registered syntactic extensions to Haskell. All extensions implemented in GHC
1087 are supported. Apart from these standard extensions, it also handles regular
1088 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
1089 (license license:bsd-3)))
1091 (define-public ghc-haskell-src-exts-util
1093 (name "ghc-haskell-src-exts-util")
1098 (uri (string-append "https://hackage.haskell.org/package/"
1099 "haskell-src-exts-util/haskell-src-exts-util-"
1103 "14rhwcrdz3kfb69c64qn8kybl7wnpajrjlfz5p95ca4bva4mwclg"))))
1104 (build-system haskell-build-system)
1106 `(("ghc-data-default" ,ghc-data-default)
1107 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1108 ("ghc-semigroups" ,ghc-semigroups)
1109 ("ghc-uniplate" ,ghc-uniplate)))
1110 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
1111 (synopsis "Helper functions for working with haskell-src-exts trees")
1113 "This package provides helper functions for working with
1114 @code{haskell-src-exts} trees.")
1115 (license license:bsd-3)))
1117 (define-public ghc-refact
1124 (uri (string-append "https://hackage.haskell.org/package/"
1129 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
1130 (build-system haskell-build-system)
1131 (home-page "http://hackage.haskell.org/package/refact")
1132 (synopsis "Specify refactorings to perform with apply-refact")
1134 "This library provides a datatype which can be interpreted by
1135 @code{apply-refact}. It exists as a separate library so that applications can
1136 specify refactorings without depending on GHC.")
1137 (license license:bsd-3)))
1139 (define-public hlint
1147 "https://hackage.haskell.org/package/" name
1148 "/" name "-" version ".tar.gz"))
1151 "0mmfavd158l5ig5wb1b1zbhbraj8hhqvbk4mg85n6c8ndpr4grd4"))))
1152 (build-system haskell-build-system)
1155 ("ghc-unordered-containers" ,ghc-unordered-containers)
1156 ("ghc-yaml" ,ghc-yaml)
1157 ("ghc-vector" ,ghc-vector)
1158 ("ghc-text" ,ghc-text)
1159 ("ghc-data-default" ,ghc-data-default)
1160 ("ghc-cmdargs" ,ghc-cmdargs)
1161 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1162 ("ghc-haskell-src-exts-util" ,ghc-haskell-src-exts-util)
1163 ("ghc-uniplate" ,ghc-uniplate)
1164 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
1165 ("ghc-extra" ,ghc-extra)
1166 ("ghc-refact" ,ghc-refact)
1167 ("ghc-aeson" ,ghc-aeson)
1168 ("hscolour" ,hscolour)))
1169 (home-page "http://community.haskell.org/~ndm/hlint/")
1170 (synopsis "Suggest improvements for Haskell source code")
1171 (description "HLint reads Haskell programs and suggests changes that
1172 hopefully make them easier to read. HLint also makes it easy to disable
1173 unwanted suggestions, and to add your own custom suggestions.")
1174 (license license:bsd-3)))
1176 (define-public ghc-resourcet
1178 (name "ghc-resourcet")
1183 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
1184 "resourcet-" version ".tar.gz"))
1187 "0rzjzh34s36ssign7akqjnwnjxf11c3511wk7ky0xxy0dqmc2rg7"))))
1188 (build-system haskell-build-system)
1190 `(("ghc-transformers-base" ,ghc-transformers-base)
1191 ("ghc-monad-control" ,ghc-monad-control)
1192 ("ghc-transformers-compat" ,ghc-transformers-compat)
1193 ("ghc-mtl" ,ghc-mtl)
1194 ("ghc-mmorph" ,ghc-mmorph)
1195 ("ghc-exceptions" ,ghc-exceptions)
1196 ("ghc-unliftio-core" ,ghc-unliftio-core)))
1198 `(("ghc-lifted-base" ,ghc-lifted-base)
1199 ("ghc-hspec" ,ghc-hspec)))
1200 (home-page "https://github.com/snoyberg/conduit")
1201 (synopsis "Deterministic allocation and freeing of scarce resources")
1202 (description "ResourceT is a monad transformer which creates a region of
1203 code where you can safely allocate resources.")
1204 (license license:bsd-3)))
1206 (define-public ghc-objectname
1208 (name "ghc-objectname")
1214 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
1219 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
1220 (build-system haskell-build-system)
1221 (home-page "https://hackage.haskell.org/package/ObjectName")
1222 (synopsis "Helper library for Haskell OpenGL")
1223 (description "This tiny package contains the class ObjectName, which
1224 corresponds to the general notion of explicitly handled identifiers for API
1225 objects, e.g. a texture object name in OpenGL or a buffer object name in
1227 (license license:bsd-3)))
1229 (define-public ghc-sdl
1237 "https://hackage.haskell.org/package/SDL/SDL-"
1242 "1sa3zx3vrs1gbinxx33zwq0x2bsf3i964bff7419p7vzidn36k46"))))
1243 (build-system haskell-build-system)
1246 (home-page "https://hackage.haskell.org/package/SDL")
1247 (synopsis "LibSDL for Haskell")
1248 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
1249 multimedia library designed to provide low level access to audio, keyboard,
1250 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
1251 by MPEG playback software, emulators, and many popular games, including the
1252 award winning Linux port of \"Civilization: Call To Power.\"")
1253 (license license:bsd-3)))
1255 (define-public ghc-sdl-mixer
1257 (name "ghc-sdl-mixer")
1263 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
1268 "1fhray79d80dk2aj9mx3ks05mm48sd832g8zgxli226jx471fs8r"))))
1269 (build-system haskell-build-system)
1272 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
1273 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
1274 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
1276 `(("ghc-sdl" ,ghc-sdl)
1277 ("sdl-mixer" ,sdl-mixer)))
1278 (home-page "https://hackage.haskell.org/package/SDL-mixer")
1279 (synopsis "Haskell bindings to libSDL_mixer")
1280 (description "SDL_mixer is a sample multi-channel audio mixer library. It
1281 supports any number of simultaneously playing channels of 16 bit stereo audio,
1282 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
1283 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
1284 (license license:bsd-3)))
1286 (define-public ghc-sdl-image
1288 (name "ghc-sdl-image")
1294 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
1299 "1ybdwlqi5nqzpsbh2md5mxhwmjn910iqysf6nykwjxlmvhcjk281"))))
1300 (build-system haskell-build-system)
1303 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
1304 (sdl-image-include (string-append sdl-image "/include/SDL")))
1305 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
1307 `(("ghc-sdl" ,ghc-sdl)
1308 ("sdl-image" ,sdl-image)))
1309 (home-page "https://hackage.haskell.org/package/SDL-image")
1310 (synopsis "Haskell bindings to libSDL_image")
1311 (description "SDL_image is an image file loading library. It loads images
1312 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
1313 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
1314 (license license:bsd-3)))
1316 (define-public ghc-half
1324 "https://hackage.haskell.org/package/half/half-"
1328 "0p4sb7vv9cljv48wlx65wgdnkryrk5d6yfh7g4yrm20w1p449hl5"))))
1329 (build-system haskell-build-system)
1330 (home-page "https://github.com/ekmett/half")
1331 (synopsis "Half-precision floating-point computations")
1332 (description "This library provides a half-precision floating-point
1333 computation library for Haskell.")
1334 (license license:bsd-3)))
1336 (define-public ghc-fixed
1343 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
1347 "1qhmwx8iqshns0crmr9d2f8hm65jxbcp3dvv0c39v34ra7if3a94"))))
1348 (build-system haskell-build-system)
1349 (home-page "https://github.com/ekmett/fixed")
1350 (synopsis "Signed 15.16 precision fixed point arithmetic")
1352 "This package provides functions for signed 15.16 precision fixed point
1354 (license license:bsd-3)))
1356 (define-public ghc-openglraw
1358 (name "ghc-openglraw")
1364 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
1369 "024aln102d1mmsdalq9jd5mmwjbnrb8gxcak73lybrc7q87kswk2"))))
1370 (build-system haskell-build-system)
1372 `(("ghc-half" ,ghc-half)
1373 ("ghc-fixed" ,ghc-fixed)
1375 ("ghc-text" ,ghc-text)))
1376 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1377 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
1378 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
1379 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
1380 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
1381 offers access to all necessary functions, tokens and types plus a general
1382 facility for loading extension entries. The module hierarchy closely mirrors
1383 the naming structure of the OpenGL extensions, making it easy to find the
1384 right module to import. All API entries are loaded dynamically, so no special
1385 C header files are needed for building this package. If an API entry is not
1386 found at runtime, a userError is thrown.")
1387 (license license:bsd-3)))
1389 (define-public ghc-glut
1392 (version "2.7.0.10")
1397 "https://hackage.haskell.org/package/GLUT/GLUT-"
1402 "0sbm943bg896nf3qjmlnsg3zzrr3pl330rzh9g0hwv47nzwwn4ab"))))
1403 (build-system haskell-build-system)
1405 `(("ghc-statevar" ,ghc-statevar)
1406 ("ghc-opengl" ,ghc-opengl)
1407 ("ghc-openglraw" ,ghc-openglraw)
1408 ("freeglut" ,freeglut)))
1409 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1410 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
1411 (description "This library provides Haskell bindings for the OpenGL
1412 Utility Toolkit, a window system-independent toolkit for writing OpenGL
1414 (license license:bsd-3)))
1416 (define-public ghc-gluraw
1424 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
1429 "1phmvxr0kkxq89ykmr8rj77inj8dvcxd6h72z1ncdgdazfz3sjw8"))))
1430 (build-system haskell-build-system)
1432 `(("ghc-openglraw" ,ghc-openglraw)))
1433 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1434 (synopsis "Raw Haskell bindings GLU")
1435 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
1436 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
1437 basis for a nicer interface.")
1438 (license license:bsd-3)))
1440 (define-public ghc-opengl
1448 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
1453 "1nm2mzrn1h2nnfs9vl5p088hqpll7rdvcsyqsn8q641im9jhqp7l"))))
1454 (build-system haskell-build-system)
1456 `(("ghc-text" ,ghc-text)
1457 ("ghc-objectname" ,ghc-objectname)
1458 ("ghc-gluraw" ,ghc-gluraw)
1459 ("ghc-statevar" ,ghc-statevar)
1460 ("ghc-openglraw" ,ghc-openglraw)))
1461 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1462 (synopsis "Haskell bindings for the OpenGL graphics system")
1463 (description "This package provides Haskell bindings for the OpenGL
1464 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
1466 (license license:bsd-3)))
1468 (define-public ghc-streaming-commons
1470 (name "ghc-streaming-commons")
1475 (uri (string-append "https://hackage.haskell.org/package/"
1476 "streaming-commons/streaming-commons-"
1480 "13fn6qmpiggwpn8lczyydgp77cyzfypwds7wxskrwir4i5cgxlfq"))))
1481 (build-system haskell-build-system)
1483 `(("ghc-async" ,ghc-async)
1484 ("ghc-blaze-builder" ,ghc-blaze-builder)
1485 ("ghc-network" ,ghc-network)
1486 ("ghc-random" ,ghc-random)
1487 ("ghc-stm" ,ghc-stm)
1488 ("ghc-text" ,ghc-text)
1489 ("ghc-zlib" ,ghc-zlib)))
1491 `(("ghc-quickcheck" ,ghc-quickcheck)
1492 ("ghc-hspec" ,ghc-hspec)
1493 ("hspec-discover" ,hspec-discover)))
1494 (home-page "https://hackage.haskell.org/package/streaming-commons")
1495 (synopsis "Conduit and pipes needed by some streaming data libraries")
1496 (description "This package provides low-dependency functionality commonly
1497 needed by various Haskell streaming data libraries, such as @code{conduit} and
1499 (license license:expat)))
1501 (define-public cpphs
1509 "https://hackage.haskell.org/package/" name "/"
1510 name "-" version ".tar.gz"))
1513 "1bh524asqhk9v1s0wvipl0hgn7l63iy3js867yv0z3h5v2kn8vg5"))))
1514 (build-system haskell-build-system)
1516 `(("ghc-polyparse" ,ghc-polyparse)
1517 ("ghc-old-locale" ,ghc-old-locale)
1518 ("ghc-old-time" ,ghc-old-time)))
1519 (home-page "http://projects.haskell.org/cpphs/")
1520 (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
1521 (description "Cpphs is a re-implementation of the C pre-processor that is
1522 both more compatible with Haskell, and itself written in Haskell so that it
1523 can be distributed with compilers. This version of the C pre-processor is
1524 pretty-much feature-complete and compatible with traditional (K&R)
1525 pre-processors. Additional features include: a plain-text mode; an option to
1526 unlit literate code files; and an option to turn off macro-expansion.")
1527 (license (list license:lgpl2.1+ license:gpl3+))))
1529 (define-public ghc-reflection
1531 (name "ghc-reflection")
1537 "https://hackage.haskell.org/package/reflection/reflection-"
1542 "0f9w0akbm6p8h7kzgcd2f6nnpw1wy84pqn45vfz1ch5j0hn8h2d9"))))
1543 (build-system haskell-build-system)
1544 (inputs `(("ghc-tagged" ,ghc-tagged)))
1545 (home-page "https://github.com/ekmett/reflection")
1546 (synopsis "Reify arbitrary terms into types that can be reflected back
1548 (description "This package addresses the 'configuration problem' which is
1549 propogating configurations that are available at run-time, allowing multiple
1550 configurations to coexist without resorting to mutable global variables or
1551 @code{System.IO.Unsafe.unsafePerformIO}.")
1552 (license license:bsd-3)))
1554 (define-public ghc-old-locale
1556 (name "ghc-old-locale")
1562 "https://hackage.haskell.org/package/old-locale/old-locale-"
1566 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
1567 (build-system haskell-build-system)
1569 `(#:configure-flags (list "--allow-newer=base")))
1570 (home-page "https://hackage.haskell.org/package/old-locale")
1571 (synopsis "Adapt to locale conventions")
1573 "This package provides the ability to adapt to locale conventions such as
1574 date and time formats.")
1575 (license license:bsd-3)))
1577 (define-public ghc-old-time
1579 (name "ghc-old-time")
1585 "https://hackage.haskell.org/package/old-time/old-time-"
1590 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
1591 (build-system haskell-build-system)
1593 `(#:configure-flags (list "--allow-newer=base")))
1595 `(("ghc-old-locale" ,ghc-old-locale)))
1596 (home-page "https://hackage.haskell.org/package/old-time")
1597 (synopsis "Time compatibility library for Haskell")
1598 (description "Old-time is a package for backwards compatibility with the
1599 old @code{time} library. For new projects, the newer
1600 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
1601 (license license:bsd-3)))
1603 (define-public ghc-data-default-instances-old-locale
1605 (name "ghc-data-default-instances-old-locale")
1611 "https://hackage.haskell.org/package/"
1612 "data-default-instances-old-locale/"
1613 "data-default-instances-old-locale-" version ".tar.gz"))
1615 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
1616 (build-system haskell-build-system)
1618 `(("ghc-data-default-class" ,ghc-data-default-class)
1619 ("ghc-old-locale" ,ghc-old-locale)))
1621 "https://hackage.haskell.org/package/data-default-instances-old-locale")
1622 (synopsis "Default instances for types in old-locale")
1623 (description "Provides Default instances for types from the old-locale
1625 (license license:bsd-3)))
1627 (define-public ghc-dlist
1635 "https://hackage.haskell.org/package/dlist/dlist-"
1639 (base32 "0yirrh0s6acjy9hhvf5fqg2d6q5y6gm9xs04v6w1imndh1xqdwdc"))))
1640 (build-system haskell-build-system)
1642 `(("ghc-quickcheck" ,ghc-quickcheck)))
1643 (home-page "https://github.com/spl/dlist")
1644 (synopsis "Difference lists")
1646 "Difference lists are a list-like type supporting O(1) append. This is
1647 particularly useful for efficient logging and pretty printing (e.g. with the
1648 Writer monad), where list append quickly becomes too expensive.")
1649 (license license:bsd-3)))
1651 (define-public ghc-extensible-exceptions
1653 (name "ghc-extensible-exceptions")
1658 (uri (string-append "https://hackage.haskell.org/package/"
1659 "extensible-exceptions/extensible-exceptions-"
1662 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
1663 (build-system haskell-build-system)
1664 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
1665 (synopsis "Extensible exceptions for Haskell")
1667 "This package provides extensible exceptions for both new and old
1668 versions of GHC (i.e., < 6.10).")
1669 (license license:bsd-3)))
1671 (define-public cabal-install
1673 (name "cabal-install")
1674 (version "1.22.6.0")
1679 "https://hackage.haskell.org/package/cabal-install/cabal-install-"
1683 (base32 "1d5h7h2wjwc2s3dvsvzjgmmfrfl2312ym2h6kyjgm9wnaqw9w8wx"))))
1684 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
1685 (build-system haskell-build-system)
1687 `(("ghc-http" ,ghc-http)
1688 ("ghc-mtl" ,ghc-mtl)
1689 ("ghc-network-uri" ,ghc-network-uri)
1690 ("ghc-network" ,ghc-network)
1691 ("ghc-random" ,ghc-random)
1692 ("ghc-stm" ,ghc-stm)
1693 ("ghc-zlib" ,ghc-zlib)))
1694 (home-page "https://www.haskell.org/cabal/")
1695 (synopsis "Command-line interface for Cabal and Hackage")
1697 "The cabal command-line program simplifies the process of managing
1698 Haskell software by automating the fetching, configuration, compilation and
1699 installation of Haskell libraries and programs.")
1700 (license license:bsd-3)))
1702 (define-public cabal-doctest
1704 (name "cabal-doctest")
1709 (uri (string-append "https://hackage.haskell.org/package/"
1710 "cabal-doctest/cabal-doctest-"
1714 "0bgd4jdmzxq5y465r4sf4jv2ix73yvblnr4c9wyazazafddamjny"))))
1715 (build-system haskell-build-system)
1716 (home-page "https://github.com/phadej/cabal-doctest")
1717 (synopsis "Setup.hs helper for running doctests")
1719 "To properly work, the @code{doctest} package needs plenty of
1720 configuration. This library provides the common bits for writing custom
1721 @file{Setup.hs} files.")
1722 (license license:bsd-3)))
1724 (define-public ghc-mtl
1728 (outputs '("out" "doc"))
1733 "https://hackage.haskell.org/package/mtl/mtl-"
1738 "1icdbj2rshzn0m1zz5wa7v3xvkf6qw811p4s7jgqwvx1ydwrvrfa"))))
1739 (build-system haskell-build-system)
1740 ;; This is an official revision, relaxing the requirement transformers ==
1741 ;; 0.4 to transformers >= 0.4 && < 0.6; see
1742 ;; https://hackage.haskell.org/package/mtl-2.2.1/revision/1.cabal
1744 `(#:configure-flags (list "--allow-newer=transformers")))
1745 (home-page "https://github.com/ekmett/mtl")
1747 "Monad classes, using functional dependencies")
1748 (description "Monad classes using functional dependencies, with instances
1749 for various monad transformers, inspired by the paper 'Functional Programming
1750 with Overloading and Higher-Order Polymorphism', by Mark P Jones, in 'Advanced
1751 School of Functional Programming', 1995. See
1752 @uref{https://web.cecs.pdx.edu/~mpj/pubs/springschool.html, the paper}.")
1753 (license license:bsd-3)))
1755 (define-public ghc-parsec-numbers
1757 (name "ghc-parsec-numbers")
1762 (uri (string-append "https://hackage.haskell.org/package/"
1763 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
1765 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
1766 (build-system haskell-build-system)
1768 `(("ghc-parsec" ,ghc-parsec)))
1769 (home-page "https://hackage.haskell.org/package/parsec-numbers")
1770 (synopsis "Utilities for parsing numbers from strings")
1772 "This package provides the number parsers without the need to use a large
1773 (and unportable) token parser.")
1774 (license license:bsd-3)))
1776 (define-public ghc-paths
1780 (outputs '("out" "doc"))
1785 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
1790 "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg"))))
1791 (build-system haskell-build-system)
1792 (home-page "https://github.com/simonmar/ghc-paths")
1794 "Knowledge of GHC's installation directories")
1796 "Knowledge of GHC's installation directories.")
1797 (license license:bsd-3)))
1799 (define-public ghc-utf8-string
1801 (name "ghc-utf8-string")
1807 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
1811 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
1812 (build-system haskell-build-system)
1814 `(#:configure-flags (list "--allow-newer=base")))
1815 (home-page "https://github.com/glguy/utf8-string/")
1816 (synopsis "Support for reading and writing UTF8 Strings")
1818 "A UTF8 layer for Strings. The utf8-string package provides operations
1819 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
1820 UTF8 without truncation.")
1821 (license license:bsd-3)))
1823 (define-public ghc-setenv
1831 "https://hackage.haskell.org/package/setenv/setenv-"
1836 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
1837 (build-system haskell-build-system)
1838 (home-page "https://hackage.haskell.org/package/setenv")
1839 (synopsis "Library for setting environment variables")
1840 (description "This package provides a Haskell library for setting
1841 environment variables.")
1842 (license license:expat)))
1844 (define-public ghc-setlocale
1846 (name "ghc-setlocale")
1851 "https://hackage.haskell.org/package/setlocale-"
1852 version "/setlocale-" version ".tar.gz"))
1855 "1rl8qb8vzv8fdbczy2dxwgn4cb68lfrjdxf2w8nn9wy1acqzcyjq"))))
1856 (build-system haskell-build-system)
1857 (home-page "https://hackage.haskell.org/package/setlocale")
1858 (synopsis "Haskell bindings to setlocale")
1859 (description "This package provides Haskell bindings to the
1860 @code{setlocale} C function.")
1861 (license license:bsd-3)))
1863 (define-public ghc-x11
1870 (uri (string-append "https://hackage.haskell.org/package/X11/"
1871 "X11-" version ".tar.gz"))
1873 (base32 "13lxq36856fzp61y4api78vssykyh8fm2aplr0nsj18ymdm1c6sl"))))
1874 (build-system haskell-build-system)
1876 `(("libx11" ,libx11)
1877 ("libxrandr" ,libxrandr)
1878 ("libxinerama" ,libxinerama)
1879 ("libxscrnsaver" ,libxscrnsaver)
1880 ("ghc-data-default" ,ghc-data-default)))
1881 (home-page "https://github.com/haskell-pkg-janitors/X11")
1882 (synopsis "Bindings to the X11 graphics library")
1884 "This package provides Haskell bindings to the X11 graphics library. The
1885 bindings are a direct translation of the C bindings.")
1886 (license license:bsd-3)))
1888 (define-public ghc-x11-xft
1890 (name "ghc-x11-xft")
1895 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
1896 "X11-xft-" version ".tar.gz"))
1898 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
1900 `(("ghc-x11" ,ghc-x11)
1901 ("ghc-utf8-string" ,ghc-utf8-string)
1904 ("xorgproto" ,xorgproto)))
1906 `(("pkg-config" ,pkg-config)))
1907 (build-system haskell-build-system)
1908 (home-page "https://hackage.haskell.org/package/X11-xft")
1909 (synopsis "Bindings to Xft")
1911 "Bindings to the Xft, X Free Type interface library, and some Xrender
1913 (license license:lgpl2.1)))
1915 (define-public ghc-stringbuilder
1917 (name "ghc-stringbuilder")
1923 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
1928 "1ap95xphqnrhv64c2a137wqslkdmb2jjd9ldb17gs1pw48k8hrl9"))))
1929 (build-system haskell-build-system)
1930 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
1932 (home-page "https://hackage.haskell.org/package/stringbuilder")
1933 (synopsis "Writer monad for multi-line string literals")
1934 (description "This package provides a writer monad for multi-line string
1936 (license license:expat)))
1938 (define-public ghc-zlib
1942 (outputs '("out" "doc"))
1947 "https://hackage.haskell.org/package/zlib/zlib-"
1952 "0dd79dxf56d8f6ad9if3j87s9gg7yd17ckypjxwplrbkahlb9xf5"))))
1953 (build-system haskell-build-system)
1954 ;; Tests require older versions of testy.
1955 (arguments `(#:tests? #f))
1956 (inputs `(("zlib" ,zlib)))
1957 (home-page "https://hackage.haskell.org/package/zlib")
1959 "Compression and decompression in the gzip and zlib formats")
1961 "This package provides a pure interface for compressing and decompressing
1962 streams of data represented as lazy 'ByteString's. It uses the zlib C library
1963 so it has high performance. It supports the 'zlib', 'gzip' and 'raw'
1964 compression formats. It provides a convenient high level API suitable for
1965 most tasks and for the few cases where more control is needed it provides
1966 access to the full zlib feature set.")
1967 (license license:bsd-3)))
1969 (define-public ghc-stm
1973 (outputs '("out" "doc"))
1978 "https://hackage.haskell.org/package/stm/stm-"
1983 "19sr11a0hqikhvf561b38phz6k3zg9s157a0f5ffvghk7wcdpmri"))))
1984 (build-system haskell-build-system)
1985 (home-page "https://hackage.haskell.org/package/stm")
1986 (synopsis "Software Transactional Memory")
1988 "Software Transactional Memory, or STM, is an abstraction for concurrent
1989 communication. The main benefits of STM are composability and modularity.
1990 That is, using STM you can write concurrent abstractions that can be easily
1991 composed with any other abstraction built using STM, without exposing the
1992 details of how your abstraction ensures safety. This is typically not the
1993 case with other forms of concurrent communication, such as locks or
1995 (license license:bsd-3)))
1997 (define-public ghc-parallel
1999 (name "ghc-parallel")
2001 (outputs '("out" "doc"))
2006 "https://hackage.haskell.org/package/parallel/parallel-"
2011 "09l52k1gsn667lmv0pp052cbwkzkbhfivp51f2xkrlfzf6xwvqsd"))))
2012 (build-system haskell-build-system)
2013 (home-page "https://hackage.haskell.org/package/parallel")
2014 (synopsis "Parallel programming library")
2016 "This package provides a library for parallel programming.")
2017 (license license:bsd-3)))
2019 (define-public ghc-safesemaphore
2021 (name "ghc-safesemaphore")
2026 (uri (string-append "https://hackage.haskell.org/package/"
2027 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
2030 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
2031 (build-system haskell-build-system)
2033 `(("ghc-stm" ,ghc-stm)))
2035 `(("ghc-hunit" ,ghc-hunit)))
2036 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
2037 (synopsis "Exception safe semaphores")
2038 (description "This library provides exception safe semaphores that can be
2039 used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
2040 are not exception safe and can be broken by @code{killThread}.")
2041 (license license:bsd-3)))
2043 (define-public ghc-text
2047 (outputs '("out" "doc"))
2052 "https://hackage.haskell.org/package/text/text-"
2057 "1y9d0zjs2ls0c574mr5xw7y3y49s62sd3wcn9lhpwz8a6q352iii"))))
2058 (build-system haskell-build-system)
2059 ;; The test dependencies depend on ghc-text: ghc-test-framework -> ghc-xml -> ghc-text
2060 (arguments `(#:tests? #f))
2062 `(("ghc-random" ,ghc-random)))
2063 (home-page "https://github.com/bos/text")
2064 (synopsis "Efficient packed Unicode text type library")
2066 "An efficient packed, immutable Unicode text type (both strict and
2067 lazy), with a powerful loop fusion optimization framework.
2069 The 'Text' type represents Unicode character strings, in a time and
2070 space-efficient manner. This package provides text processing
2071 capabilities that are optimized for performance critical use, both
2072 in terms of large data quantities and high speed.")
2073 (license license:bsd-3)))
2075 (define-public ghc-text-binary
2077 (name "ghc-text-binary")
2082 (uri (string-append "https://hackage.haskell.org/package/"
2083 "text-binary/text-binary-"
2087 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
2088 (build-system haskell-build-system)
2089 (inputs `(("ghc-text" ,ghc-text)))
2090 (home-page "https://github.com/kawu/text-binary")
2091 (synopsis "Binary instances for text types")
2093 "This package provides a compatibility layer providing @code{Binary}
2094 instances for strict and lazy text types for versions older than 1.2.1 of the
2096 (license license:bsd-2)))
2098 (define-public ghc-strict
2105 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
2108 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
2109 (build-system haskell-build-system)
2110 (home-page "https://hackage.haskell.org/package/strict")
2111 (synopsis "Strict data types and String IO")
2113 "This package provides strict versions of some standard Haskell data
2114 types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
2116 (license license:bsd-3)))
2118 (define-public ghc-hashable
2120 (name "ghc-hashable")
2122 (outputs '("out" "doc"))
2127 "https://hackage.haskell.org/package/hashable/hashable-"
2132 "0ymv2mcrrgbdc2w39rib171fwnhg7fgp0sy4h8amrh1vw64qgjll"))))
2133 (build-system haskell-build-system)
2135 `(("ghc-text" ,ghc-text)
2136 ("ghc-random" ,ghc-random)))
2138 `(("ghc-test-framework" ,ghc-test-framework)
2139 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2140 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
2141 ("ghc-hunit" ,ghc-hunit)
2142 ("ghc-quickcheck" ,ghc-quickcheck)))
2143 (home-page "https://github.com/tibbe/hashable")
2144 (synopsis "Class for types that can be converted to a hash value")
2146 "This package defines a class, @code{Hashable}, for types that can be
2147 converted to a hash value. This class exists for the benefit of hashing-based
2148 data structures. The package provides instances for basic types and a way to
2149 combine hash values.")
2150 (license license:bsd-3)))
2152 (define-public ghc-hashable-time
2154 (name "ghc-hashable-time")
2160 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
2165 "0k932nyd08l3xxbh2g3n76py2f4kd9yw4s5a065vjz0xp6wjnxdm"))))
2166 (build-system haskell-build-system)
2167 (inputs `(("ghc-hashable" ,ghc-hashable)))
2168 (home-page "http://hackage.haskell.org/package/hashable-time")
2169 (synopsis "Hashable instances for Data.Time")
2171 "This package provides @code{Hashable} instances for types in
2173 (license license:bsd-3)))
2175 (define-public ghc-data-hash
2177 (name "ghc-data-hash")
2182 (uri (string-append "https://hackage.haskell.org/package/data-hash"
2183 "/data-hash-" version ".tar.gz"))
2185 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
2186 (build-system haskell-build-system)
2188 `(("ghc-quickcheck" ,ghc-quickcheck)
2189 ("ghc-test-framework" ,ghc-test-framework)
2190 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2191 (home-page "https://hackage.haskell.org/package/data-hash")
2192 (synopsis "Combinators for building fast hashing functions")
2194 "This package provides combinators for building fast hashing functions.
2195 It includes hashing functions for all basic Haskell98 types.")
2196 (license license:bsd-3)))
2198 (define-public ghc-murmur-hash
2200 (name "ghc-murmur-hash")
2205 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
2206 "/murmur-hash-" version ".tar.gz"))
2208 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
2209 (build-system haskell-build-system)
2210 (home-page "https://github.com/nominolo/murmur-hash")
2211 (synopsis "MurmurHash2 implementation for Haskell")
2213 "This package provides an implementation of MurmurHash2, a good, fast,
2214 general-purpose, non-cryptographic hashing function. See
2215 @url{https://sites.google.com/site/murmurhash/} for details. This
2216 implementation is pure Haskell, so it might be a bit slower than a C FFI
2218 (license license:bsd-3)))
2220 (define-public ghc-random
2224 (outputs '("out" "doc"))
2229 "https://hackage.haskell.org/package/random/random-"
2233 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
2234 (build-system haskell-build-system)
2235 (home-page "https://hackage.haskell.org/package/random")
2236 (synopsis "Random number library")
2237 (description "This package provides a basic random number generation
2238 library, including the ability to split random number generators.")
2239 (license license:bsd-3)))
2241 (define-public ghc-primitive
2243 (name "ghc-primitive")
2245 (outputs '("out" "doc"))
2250 "https://hackage.haskell.org/package/primitive/primitive-"
2255 "0mcmbnj08wd6zfwn7xk6zf5hy5zwbla5v78pw0dpymqg9s0gzpnd"))))
2256 (build-system haskell-build-system)
2258 "https://github.com/haskell/primitive")
2259 (synopsis "Primitive memory-related operations")
2261 "This package provides various primitive memory-related operations.")
2262 (license license:bsd-3)))
2264 (define-public ghc-tf-random
2266 (name "ghc-tf-random")
2268 (outputs '("out" "doc"))
2273 "https://hackage.haskell.org/package/tf-random/tf-random-"
2277 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
2278 (build-system haskell-build-system)
2280 `(("ghc-primitive" ,ghc-primitive)
2281 ("ghc-random" ,ghc-random)))
2282 (home-page "https://hackage.haskell.org/package/tf-random")
2283 (synopsis "High-quality splittable pseudorandom number generator")
2284 (description "This package contains an implementation of a high-quality
2285 splittable pseudorandom number generator. The generator is based on a
2286 cryptographic hash function built on top of the ThreeFish block cipher. See
2287 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
2288 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
2289 (license license:bsd-3)))
2291 (define-public ghc-transformers-base
2293 (name "ghc-transformers-base")
2299 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
2304 "11r3slgpgpra6zi2kjg3g60gvv17b1fh6qxipcpk8n86qx7lk8va"))))
2305 (build-system haskell-build-system)
2307 `(("ghc-stm" ,ghc-stm)
2308 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2310 "https://hackage.haskell.org/package/transformers-compat")
2312 "Backported transformer library")
2314 "Backported versions of types that were added to transformers in
2315 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
2316 compatibility to run on old versions of the platform.")
2317 (license license:bsd-3)))
2319 (define-public ghc-transformers-compat
2321 (name "ghc-transformers-compat")
2327 "https://hackage.haskell.org/package/transformers-compat"
2328 "/transformers-compat-" version ".tar.gz"))
2331 "17yam0199fh9ndsn9n69jx9nvbsmymzzwbi23dck3dk4q57fz0fq"))))
2332 (build-system haskell-build-system)
2333 (home-page "https://github.com/ekmett/transformers-compat/")
2334 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
2335 (description "This package includes backported versions of types that were
2336 added to transformers in transformers 0.3 and 0.4 for users who need strict
2337 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
2338 but also need those types.")
2339 (license license:bsd-3)))
2341 (define-public ghc-unix-time
2343 (name "ghc-unix-time")
2349 "https://hackage.haskell.org/package/unix-time/unix-time-"
2354 "1qdlc9raih8s0m3x8x3n7q3ngh4faw2alv9l78sp6gnx648k0c8i"))))
2355 (build-system haskell-build-system)
2357 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
2358 ; is weird, that should be provided by GHC 7.10.2.
2360 `(("ghc-old-time" ,ghc-old-time)
2361 ("ghc-old-locale" ,ghc-old-locale)))
2362 (home-page "https://hackage.haskell.org/package/unix-time")
2363 (synopsis "Unix time parser/formatter and utilities")
2364 (description "This library provides fast parsing and formatting utilities
2365 for Unix time in Haskell.")
2366 (license license:bsd-3)))
2368 (define-public ghc-unix-compat
2370 (name "ghc-unix-compat")
2376 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
2381 "036nv05w0yjxc3rfpar60ddjrlzc40mdgr5k6ihvwlvqfmq1gw9m"))))
2382 (build-system haskell-build-system)
2384 "https://github.com/jystic/unix-compat")
2385 (synopsis "Portable POSIX-compatibility layer")
2387 "This package provides portable implementations of parts of the unix
2388 package. This package re-exports the unix package when available. When it
2389 isn't available, portable implementations are used.")
2390 (license license:bsd-3)))
2392 (define-public ghc-indents
2394 (name "ghc-indents")
2399 "https://hackage.haskell.org/package/indents/indents-"
2403 "16lz21bp9j14xilnq8yym22p3saxvc9fsgfcf5awn2a6i6n527xn"))))
2404 (build-system haskell-build-system)
2406 `(("ghc-parsec" ,ghc-parsec)
2407 ("ghc-concatenative" ,ghc-concatenative)
2408 ("ghc-mtl" ,ghc-mtl)))
2409 (home-page "http://patch-tag.com/r/salazar/indents")
2410 (synopsis "Indentation sensitive parser-combinators for parsec")
2412 "This library provides functions for use in parsing indentation sensitive
2413 contexts. It parses blocks of lines all indented to the same level as well as
2414 lines continued at an indented level below.")
2415 (license license:bsd-3)))
2417 (define-public ghc-iproute
2419 (name "ghc-iproute")
2425 "https://hackage.haskell.org/package/iproute/iproute-"
2430 "1viyxq3m1aifl05w0hxwrhhhcfpmvwz4ymil2gngi4nfm0yd1f2p"))))
2431 (build-system haskell-build-system)
2432 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
2433 ; exported by ghc-byteorder. Doctest issue.
2435 `(("ghc-appar" ,ghc-appar)
2436 ("ghc-byteorder" ,ghc-byteorder)
2437 ("ghc-network" ,ghc-network)
2438 ("ghc-safe" ,ghc-safe)))
2439 (home-page "https://www.mew.org/~kazu/proj/iproute/")
2440 (synopsis "IP routing table")
2441 (description "IP Routing Table is a tree of IP ranges to search one of
2442 them on the longest match base. It is a kind of TRIE with one way branching
2443 removed. Both IPv4 and IPv6 are supported.")
2444 (license license:bsd-3)))
2446 (define-public ghc-iwlib
2453 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
2456 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
2457 (build-system haskell-build-system)
2459 `(("wireless-tools" ,wireless-tools)))
2460 (home-page "https://github.com/jaor/iwlib")
2461 (synopsis "Haskell binding to the iw wireless networking library")
2463 "IWlib is a thin Haskell binding to the iw C library. It provides
2464 information about the current wireless network connections, and adapters on
2465 supported systems.")
2466 (license license:bsd-3)))
2468 (define-public ghc-regex-base
2470 (name "ghc-regex-base")
2476 "https://hackage.haskell.org/package/regex-base/regex-base-"
2481 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
2482 (build-system haskell-build-system)
2484 `(("ghc-mtl" ,ghc-mtl)))
2486 "https://sourceforge.net/projects/lazy-regex")
2487 (synopsis "Replaces/Enhances Text.Regex")
2488 (description "@code{Text.Regex.Base} provides the interface API for
2489 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
2490 (license license:bsd-3)))
2492 (define-public ghc-regex-posix
2494 (name "ghc-regex-posix")
2500 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
2505 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
2506 (build-system haskell-build-system)
2508 `(("ghc-regex-base" ,ghc-regex-base)))
2509 (home-page "https://sourceforge.net/projects/lazy-regex")
2510 (synopsis "POSIX regular expressions for Haskell")
2511 (description "This library provides the POSIX regex backend used by the
2512 Haskell library @code{regex-base}.")
2513 (license license:bsd-3)))
2515 (define-public ghc-regex-compat
2517 (name "ghc-regex-compat")
2523 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
2528 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
2529 (build-system haskell-build-system)
2531 `(("ghc-regex-base" ,ghc-regex-base)
2532 ("ghc-regex-posix" ,ghc-regex-posix)))
2533 (home-page "https://sourceforge.net/projects/lazy-regex")
2534 (synopsis "Replaces/Enhances Text.Regex")
2535 (description "This library provides one module layer over
2536 @code{regex-posix} to replace @code{Text.Regex}.")
2537 (license license:bsd-3)))
2539 (define-public ghc-regex-tdfa-rc
2541 (name "ghc-regex-tdfa-rc")
2547 "https://hackage.haskell.org/package/regex-tdfa-rc/regex-tdfa-rc-"
2552 "1vi11i23gkkjg6193ak90g55akj69bhahy542frkwb68haky4pp3"))))
2553 (build-system haskell-build-system)
2555 `(("ghc-regex-base" ,ghc-regex-base)
2556 ("ghc-parsec" ,ghc-parsec)
2557 ("ghc-mtl" ,ghc-mtl)))
2559 "https://hackage.haskell.org/package/regex-tdfa")
2560 (synopsis "Tagged DFA regex engine for Haskell")
2561 (description "A new all-Haskell \"tagged\" DFA regex engine, inspired by
2562 @code{libtre} (fork by Roman Cheplyaka).")
2563 (license license:bsd-3)))
2565 (define-public ghc-regex-tdfa-text
2567 (name "ghc-regex-tdfa-text")
2573 "https://hackage.haskell.org/package/regex-tdfa-text/"
2574 "regex-tdfa-text-" version ".tar.gz"))
2577 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
2578 (build-system haskell-build-system)
2580 `(("ghc-text" ,ghc-text)
2581 ("ghc-regex-base" ,ghc-regex-base)
2582 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
2584 "http://hackage.haskell.org/package/regex-tdfa-text")
2585 (synopsis "Text interface for regex-tdfa")
2587 "This provides an extra text interface for regex-tdfa.")
2588 (license license:bsd-3)))
2590 (define-public ghc-regex
2597 (uri (string-append "https://hackage.haskell.org/package/regex/"
2598 "regex-" version ".tar.gz"))
2601 "1sjkpkgv4phy5b5v2lr89x4vx4dh44pj0sbvlsp6n86w9v6v4jwb"))))
2602 (build-system haskell-build-system)
2604 `(("ghc-base-compat" ,ghc-base-compat)
2605 ("ghc-hashable" ,ghc-hashable)
2606 ("ghc-regex-base" ,ghc-regex-base)
2607 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
2608 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
2609 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
2610 ("ghc-text" ,ghc-text)
2611 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
2612 ("ghc-unordered-containers" ,ghc-unordered-containers)
2613 ("ghc-utf8-string" ,ghc-utf8-string)))
2614 (home-page "http://regex.uk")
2615 (synopsis "Toolkit for regex-base")
2617 "This package provides a regular expression toolkit for @code{regex-base}
2618 with compile-time checking of regular expression syntax, data types for
2619 matches and captures, a text replacement toolkit, portable options, high-level
2620 AWK-like tools for building text processing apps, regular expression macros
2621 with parsers and test bench, comprehensive documentation, tutorials and
2623 (license license:bsd-3)))
2625 (define-public ghc-parsers
2627 (name "ghc-parsers")
2633 "https://hackage.haskell.org/package/parsers/parsers-"
2638 "07najh7f9y3ahh42z96sw4hnd0kc4x3wm0xlf739y0gh81ys5097"))))
2639 (build-system haskell-build-system)
2640 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2641 ; -package attoparsec-0.13.0.1"
2643 `(("ghc-base-orphans" ,ghc-base-orphans)
2644 ("ghc-attoparsec" ,ghc-attoparsec)
2645 ("ghc-parsec" ,ghc-parsec)
2646 ("ghc-scientific" ,ghc-scientific)
2647 ("ghc-charset" ,ghc-charset)
2648 ("ghc-text" ,ghc-text)
2649 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2650 (home-page "https://github.com/ekmett/parsers/")
2651 (synopsis "Parsing combinators")
2652 (description "This library provides convenient combinators for working
2653 with and building parsing combinator libraries. Given a few simple instances,
2654 you get access to a large number of canned definitions. Instances exist for
2655 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
2657 (license license:bsd-3)))
2659 (define-public ghc-trifecta
2661 (name "ghc-trifecta")
2666 "https://hackage.haskell.org/package/trifecta/"
2667 "trifecta-" version ".tar.gz"))
2670 "13n6a3fdxngnzsjnhfrzigv1c2g0xm6lqkjcnirpc37sd0rpby31"))))
2671 (build-system haskell-build-system)
2673 `(("ghc-doctest" ,ghc-doctest-0.13)
2674 ("ghc-reducers" ,ghc-reducers)
2675 ("ghc-semigroups" ,ghc-semigroups)
2676 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
2677 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2678 ("ghc-blaze-builder" ,ghc-blaze-builder)
2679 ("ghc-blaze-html" ,ghc-blaze-html)
2680 ("ghc-blaze-markup" ,ghc-blaze-markup)
2681 ("ghc-charset" ,ghc-charset)
2682 ("ghc-comonad" ,ghc-comonad)
2683 ("ghc-doctest" ,ghc-doctest)
2684 ("ghc-fingertree" ,ghc-fingertree)
2685 ("ghc-hashable" ,ghc-hashable)
2686 ("ghc-lens" ,ghc-lens)
2687 ("ghc-mtl" ,ghc-mtl)
2688 ("ghc-parsers" ,ghc-parsers)
2689 ("ghc-profunctors" ,ghc-profunctors)
2690 ("ghc-quickcheck" ,ghc-quickcheck)
2691 ("ghc-unordered-containers" ,ghc-unordered-containers)
2692 ("ghc-utf8-string" ,ghc-utf8-string)))
2694 `(("cabal-doctest" ,cabal-doctest)))
2695 (home-page "https://github.com/ekmett/trifecta/")
2696 (synopsis "Parser combinator library with convenient diagnostics")
2697 (description "Trifecta is a modern parser combinator library for Haskell,
2698 with slicing and Clang-style colored diagnostics.")
2699 (license license:bsd-3)))
2701 (define-public ghc-time-locale-compat
2703 (name "ghc-time-locale-compat")
2708 (uri (string-append "https://hackage.haskell.org/package/"
2709 "time-locale-compat/time-locale-compat-"
2713 "1vdcfr2hp9qh3ag90x6ikbdf42wiqpdylnplffna54bpnilbyi4i"))))
2714 (build-system haskell-build-system)
2715 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
2716 (home-page "https://github.com/khibino/haskell-time-locale-compat")
2717 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
2718 (description "This package contains a wrapped name module for
2719 @code{TimeLocale}.")
2720 (license license:bsd-3)))
2722 (define-public ghc-attoparsec
2724 (name "ghc-attoparsec")
2725 (version "0.13.2.2")
2730 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
2735 "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx"))))
2736 (build-system haskell-build-system)
2737 ;; FIXME: at least on test fails with QuickCheck > 2.9.2. Once upstream
2738 ;; has updated the tests to work with a later version of QuickCheck we can
2740 (arguments `(#:tests? #f))
2742 `(("ghc-scientific" ,ghc-scientific)
2743 ("ghc-text" ,ghc-text)))
2745 `(("ghc-tasty" ,ghc-tasty)
2746 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
2747 ("ghc-quickcheck" ,ghc-quickcheck)
2748 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
2749 ("ghc-vector" ,ghc-vector)))
2750 (home-page "https://github.com/bos/attoparsec")
2751 (synopsis "Fast combinator parsing for bytestrings and text")
2752 (description "This library provides a fast parser combinator library,
2753 aimed particularly at dealing efficiently with network protocols and
2754 complicated text/binary file formats.")
2755 (license license:bsd-3)))
2757 (define-public ghc-zip-archive
2759 (name "ghc-zip-archive")
2765 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
2770 "1iwpzjck4jg9bz1yqky051i2wljsqc14q5zbi10dydfp8ip3d0yw"))))
2771 (build-system haskell-build-system)
2773 `(("ghc-old-time" ,ghc-old-time)
2774 ("ghc-digest" ,ghc-digest)
2776 ("ghc-mtl" ,ghc-mtl)
2777 ("ghc-temporary" ,ghc-temporary)
2778 ("ghc-text" ,ghc-text)
2779 ("ghc-zlib" ,ghc-zlib)))
2781 `(("ghc-hunit" ,ghc-hunit)))
2782 (home-page "https://hackage.haskell.org/package/zip-archive")
2783 (synopsis "Zip archive library for Haskell")
2784 (description "The zip-archive library provides functions for creating,
2785 modifying, and extracting files from zip archives in Haskell.")
2786 (license license:bsd-3)))
2788 (define-public ghc-distributive
2790 (name "ghc-distributive")
2796 "https://hackage.haskell.org/package/distributive/distributive-"
2801 "0y566r97sfyvhsmd4yxiz4ns2mqgwf5bdbp56wgxl6wlkidq0wwi"))))
2802 (build-system haskell-build-system)
2804 `(("ghc-tagged" ,ghc-tagged)
2805 ("ghc-base-orphans" ,ghc-base-orphans)
2806 ("ghc-transformers-compat" ,ghc-transformers-compat)
2807 ("ghc-semigroups" ,ghc-semigroups)
2808 ("ghc-generic-deriving" ,ghc-generic-deriving)))
2810 `(("cabal-doctest" ,cabal-doctest)
2811 ("ghc-doctest" ,ghc-doctest-0.12)
2812 ("ghc-hspec" ,ghc-hspec)
2813 ("hspec-discover" ,hspec-discover)))
2814 (home-page "https://github.com/ekmett/distributive/")
2815 (synopsis "Distributive functors for Haskell")
2816 (description "This package provides distributive functors for Haskell.
2817 Dual to @code{Traversable}.")
2818 (license license:bsd-3)))
2820 (define-public ghc-cereal
2828 "https://hackage.haskell.org/package/cereal/cereal-"
2833 "1x4aib7nnaf4x2b9zlndq5n5zsqniw78jifkf55nhnbmvryf05n3"))))
2834 (build-system haskell-build-system)
2836 `(("ghc-quickcheck" ,ghc-quickcheck)
2837 ("ghc-fail" ,ghc-fail)
2838 ("ghc-test-framework" ,ghc-test-framework)
2839 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2840 (home-page "https://hackage.haskell.org/package/cereal")
2841 (synopsis "Binary serialization library")
2842 (description "This package provides a binary serialization library,
2843 similar to @code{binary}, that introduces an @code{isolate} primitive for
2844 parser isolation, and labeled blocks for better error messages.")
2845 (license license:bsd-3)))
2847 (define-public ghc-comonad
2849 (name "ghc-comonad")
2855 "https://hackage.haskell.org/package/comonad/comonad-"
2860 "0anb36m9z52y9xsipxzj9w1b41b2rj8r389cxd6d20dplnfv3rbq"))))
2861 (build-system haskell-build-system)
2863 `(("ghc-doctest" ,ghc-doctest)))
2865 `(("ghc-contravariant" ,ghc-contravariant)
2866 ("ghc-distributive" ,ghc-distributive)
2867 ("ghc-semigroups" ,ghc-semigroups)
2868 ("ghc-tagged" ,ghc-tagged)
2869 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2870 (home-page "https://github.com/ekmett/comonad/")
2871 (synopsis "Comonads for Haskell")
2872 (description "This library provides @code{Comonad}s for Haskell.")
2873 (license license:bsd-3)))
2875 (define-public hscolour
2883 "https://hackage.haskell.org/package/hscolour/hscolour-"
2888 "1j3rpzjygh3igvnd1n2xn63bq68rs047cjxr2qi6xyfnivgf6vz4"))))
2889 (build-system haskell-build-system)
2890 (home-page "https://hackage.haskell.org/package/hscolour")
2891 (synopsis "Script to colourise Haskell code")
2892 (description "HSColour is a small Haskell script to colourise Haskell
2893 code. It currently has six output formats: ANSI terminal codes (optionally
2894 XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
2895 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
2896 and mIRC chat codes.")
2897 (license license:bsd-3)))
2899 (define-public ghc-polyparse
2901 (name "ghc-polyparse")
2907 "https://hackage.haskell.org/package/polyparse/polyparse-"
2912 "05dya1vdvq29hkhkdlsglzhw7bdn51rvs1javs0q75nf99c66k7m"))))
2913 (build-system haskell-build-system)
2915 `(("ghc-text" ,ghc-text)))
2917 "http://code.haskell.org/~malcolm/polyparse/")
2919 "Alternative parser combinator libraries")
2921 "This package provides a variety of alternative parser combinator
2922 libraries, including the original HuttonMeijer set. The Poly sets have
2923 features like good error reporting, arbitrary token type, running state, lazy
2924 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
2925 standard Read class, for better deserialisation of Haskell values from
2927 (license license:lgpl2.1)))
2929 (define-public ghc-extra
2937 "https://hackage.haskell.org/package/extra/extra-"
2942 "06ds0jlx6sljwdf63l154qbzia9mnsri79i9qm3xikky3nj9ia1m"))))
2943 (build-system haskell-build-system)
2945 `(("ghc-clock" ,ghc-clock)
2946 ("ghc-quickcheck" ,ghc-quickcheck)))
2947 (home-page "https://github.com/ndmitchell/extra")
2948 (synopsis "Extra Haskell functions")
2949 (description "This library provides extra functions for the standard
2950 Haskell libraries. Most functions are simple additions, filling out missing
2951 functionality. A few functions are available in later versions of GHC, but
2952 this package makes them available back to GHC 7.2.")
2953 (license license:bsd-3)))
2955 (define-public ghc-profunctors
2957 (name "ghc-profunctors")
2963 "https://hackage.haskell.org/package/profunctors/profunctors-"
2968 "0s1pwjidbn761xk43pmzyvn99hm3psdifjd78ylki7f97aiyd0g9"))))
2969 (build-system haskell-build-system)
2971 `(("ghc-base-orphans" ,ghc-base-orphans)
2972 ("ghc-bifunctors" ,ghc-bifunctors)
2973 ("ghc-comonad" ,ghc-comonad)
2974 ("ghc-contravariant" ,ghc-contravariant)
2975 ("ghc-distributive" ,ghc-distributive)
2976 ("ghc-semigroups" ,ghc-semigroups)
2977 ("ghc-tagged" ,ghc-tagged)))
2978 (home-page "https://github.com/ekmett/profunctors/")
2979 (synopsis "Profunctors for Haskell")
2980 (description "This library provides profunctors for Haskell.")
2981 (license license:bsd-3)))
2983 (define-public ghc-reducers
2985 (name "ghc-reducers")
2991 "https://hackage.haskell.org/package/reducers/reducers-"
2996 "1gbaa5x4zbvnbklcb0d4q4m8hk6w0gz4s0c4m288czi1nw43dl65"))))
2997 (build-system haskell-build-system)
2999 `(("ghc-fingertree" ,ghc-fingertree)
3000 ("ghc-hashable" ,ghc-hashable)
3001 ("ghc-text" ,ghc-text)
3002 ("ghc-unordered-containers" ,ghc-unordered-containers)
3003 ("ghc-semigroupoids" ,ghc-semigroupoids)
3004 ("ghc-semigroups" ,ghc-semigroups)))
3005 (home-page "https://github.com/ekmett/reducers/")
3006 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
3007 (description "This library provides various semigroups, specialized
3008 containers and a general map/reduce framework for Haskell.")
3009 (license license:bsd-3)))
3011 (define-public ghc-appar
3019 "https://hackage.haskell.org/package/appar/appar-"
3024 "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq"))))
3025 (build-system haskell-build-system)
3027 "https://hackage.haskell.org/package/appar")
3028 (synopsis "Simple applicative parser")
3029 (description "This package provides a simple applicative parser in Parsec
3031 (license license:bsd-3)))
3033 (define-public ghc-safe
3041 "https://hackage.haskell.org/package/safe/safe-"
3046 "1jdnp5zhvalf1xy8i872n29nljfjz6lnl9ghj80ffisrnnkrwcfh"))))
3047 (build-system haskell-build-system)
3048 (home-page "https://github.com/ndmitchell/safe#readme")
3049 (synopsis "Library of safe (exception free) functions")
3050 (description "This library provides wrappers around @code{Prelude} and
3051 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
3053 (license license:bsd-3)))
3055 (define-public ghc-generic-deriving
3057 (name "ghc-generic-deriving")
3063 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
3068 "1sdh5hpcwvh3b6zvgfk3pr3hla8p88l82njnih880c0gk5zl53dk"))))
3069 (build-system haskell-build-system)
3071 `(("ghc-hspec" ,ghc-hspec)
3072 ("hspec-discover" ,hspec-discover)))
3073 (home-page "https://hackage.haskell.org/package/generic-deriving")
3074 (synopsis "Generalise the deriving mechanism to arbitrary classes")
3075 (description "This package provides functionality for generalising the
3076 deriving mechanism in Haskell to arbitrary classes.")
3077 (license license:bsd-3)))
3079 (define-public ghc-pcre-light
3081 (name "ghc-pcre-light")
3087 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
3092 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
3093 (build-system haskell-build-system)
3097 `(("pkg-config" ,pkg-config)))
3098 (home-page "https://github.com/Daniel-Diaz/pcre-light")
3099 (synopsis "Haskell library for Perl 5 compatible regular expressions")
3100 (description "This package provides a small, efficient, and portable regex
3101 library for Perl 5 compatible regular expressions. The PCRE library is a set
3102 of functions that implement regular expression pattern matching using the same
3103 syntax and semantics as Perl 5.")
3104 (license license:bsd-3)))
3106 (define-public ghc-logict
3114 "https://hackage.haskell.org/package/logict/logict-"
3119 "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi"))))
3120 (build-system haskell-build-system)
3121 (inputs `(("ghc-mtl" ,ghc-mtl)))
3122 (home-page "http://code.haskell.org/~dolio/")
3123 (synopsis "Backtracking logic-programming monad")
3124 (description "This library provides a continuation-based, backtracking,
3125 logic programming monad. An adaptation of the two-continuation implementation
3126 found in the paper \"Backtracking, Interleaving, and Terminating Monad
3127 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
3129 (license license:bsd-3)))
3131 (define-public ghc-xml
3139 "https://hackage.haskell.org/package/xml/xml-"
3144 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
3145 (build-system haskell-build-system)
3147 `(("ghc-text" ,ghc-text)))
3148 (home-page "http://code.galois.com")
3149 (synopsis "Simple XML library for Haskell")
3150 (description "This package provides a simple XML library for Haskell.")
3151 (license license:bsd-3)))
3153 (define-public ghc-feed
3156 (version "0.3.12.0")
3160 (uri (string-append "https://hackage.haskell.org/package/"
3161 "feed/feed-" version ".tar.gz"))
3164 "0hkrsinspg70bbm3hwqdrvivws6zya1hyk0a3awpaz82j4xnlbfc"))))
3165 (build-system haskell-build-system)
3167 `(("ghc-old-locale" ,ghc-old-locale)
3168 ("ghc-old-time" ,ghc-old-time)
3169 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
3170 ("ghc-utf8-string" ,ghc-utf8-string)
3171 ("ghc-xml" ,ghc-xml)))
3173 `(("ghc-hunit" ,ghc-hunit)
3174 ("ghc-test-framework" ,ghc-test-framework)
3175 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3176 (home-page "https://github.com/bergmark/feed")
3177 (synopsis "Haskell package for handling various syndication formats")
3178 (description "This Haskell package includes tools for generating and
3179 consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
3180 (license license:bsd-3)))
3182 (define-public ghc-exceptions
3184 (name "ghc-exceptions")
3190 "https://hackage.haskell.org/package/exceptions/exceptions-"
3195 "1gl7xzffsqmigam6zg0jsglncgzxqafld2p6kb7ccp9xirzdjsjd"))))
3196 (build-system haskell-build-system)
3198 `(#:configure-flags (list "--allow-newer=QuickCheck")))
3200 `(("ghc-test-framework" ,ghc-test-framework)
3201 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3203 `(("ghc-stm" ,ghc-stm)
3204 ("ghc-mtl" ,ghc-mtl)
3205 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3206 (home-page "https://github.com/ekmett/exceptions/")
3207 (synopsis "Extensible optionally-pure exceptions")
3208 (description "This library provides extensible optionally-pure exceptions
3210 (license license:bsd-3)))
3212 (define-public ghc-temporary
3214 (name "ghc-temporary")
3220 "https://hackage.haskell.org/package/temporary/temporary-"
3225 "0qk741yqnpd69sksgks2vb7zi50rglp9m498lzw4sh268a017rsi"))))
3226 (build-system haskell-build-system)
3227 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
3228 (home-page "https://www.github.com/batterseapower/temporary")
3229 (synopsis "Temporary file and directory support")
3230 (description "The functions for creating temporary files and directories
3231 in the Haskelll base library are quite limited. This library just repackages
3232 the Cabal implementations of its own temporary file and folder functions so
3233 that you can use them without linking against Cabal or depending on it being
3235 (license license:bsd-3)))
3237 (define-public ghc-temporary-rc
3239 (name "ghc-temporary-rc")
3245 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
3250 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
3251 (build-system haskell-build-system)
3252 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
3254 "https://www.github.com/feuerbach/temporary")
3256 "Portable temporary file and directory support")
3258 "The functions for creating temporary files and directories in the base
3259 library are quite limited. The unixutils package contains some good ones, but
3260 they aren't portable to Windows. This library just repackages the Cabal
3261 implementations of its own temporary file and folder functions so that you can
3262 use them without linking against Cabal or depending on it being installed.
3263 This is a better maintained fork of the \"temporary\" package.")
3264 (license license:bsd-3)))
3266 (define-public ghc-smallcheck
3268 (name "ghc-smallcheck")
3274 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
3279 "1ygrabxh40bym3grnzqyfqn96lirnxspb8cmwkkr213239y605sd"))))
3280 (build-system haskell-build-system)
3282 `(("ghc-logict" ,ghc-logict)
3283 ("ghc-mtl" ,ghc-mtl)))
3285 "https://github.com/feuerbach/smallcheck")
3286 (synopsis "Property-based testing library")
3287 (description "SmallCheck is a testing library that allows to verify
3288 properties for all test cases up to some depth. The test cases are generated
3289 automatically by SmallCheck.")
3290 (license license:bsd-3)))
3292 (define-public ghc-silently
3294 (name "ghc-silently")
3300 "https://hackage.haskell.org/package/silently/silently-"
3305 "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
3306 (build-system haskell-build-system)
3307 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
3309 ;; `(("ghc-temporary" ,ghc-temporary)))
3310 (home-page "https://github.com/hspec/silently")
3311 (synopsis "Prevent writing to stdout")
3312 (description "This package provides functions to prevent or capture
3313 writing to stdout and other handles.")
3314 (license license:bsd-3)))
3316 (define-public ghc-case-insensitive
3318 (name "ghc-case-insensitive")
3320 (outputs '("out" "doc"))
3325 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
3330 "1j6ahvrz1g5q89y2difyk838yhwjc8z67zr0v2z512qdznc3h38n"))))
3331 (build-system haskell-build-system)
3333 `(("ghc-hunit" ,ghc-hunit)))
3334 ;; these inputs are necessary to use this library
3336 `(("ghc-text" ,ghc-text)
3337 ("ghc-hashable" ,ghc-hashable)))
3339 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3341 "https://github.com/basvandijk/case-insensitive")
3342 (synopsis "Case insensitive string comparison")
3344 "The module 'Data.CaseInsensitive' provides the 'CI' type constructor
3345 which can be parameterised by a string-like type like: 'String', 'ByteString',
3346 'Text', etc.. Comparisons of values of the resulting type will be insensitive
3348 (license license:bsd-3)))
3350 (define-public ghc-syb
3354 (outputs '("out" "doc"))
3359 "https://hackage.haskell.org/package/syb/syb-"
3364 "1p3cnqjm13677r4a966zffzhi9b3a321aln8zs8ckqj0d9z1z3d3"))))
3365 (build-system haskell-build-system)
3367 `(("ghc-hunit" ,ghc-hunit)
3368 ("ghc-mtl" ,ghc-mtl)))
3370 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
3371 (synopsis "Scrap Your Boilerplate")
3372 (description "This package contains the generics system described in the
3373 /Scrap Your Boilerplate/ papers (see
3374 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
3375 defines the 'Data' class of types permitting folding and unfolding of
3376 constructor applications, instances of this class for primitive types, and a
3377 variety of traversals.")
3378 (license license:bsd-3)))
3380 (define-public ghc-fgl
3384 (outputs '("out" "doc"))
3389 "https://hackage.haskell.org/package/fgl/fgl-"
3394 "0fbyb6jxy9whgrv6dgnkzz70cmy98arx3q2gnkhgl4a3d7idh36p"))))
3395 (build-system haskell-build-system)
3397 `(#:configure-flags (list "--allow-newer=QuickCheck")))
3399 `(("ghc-mtl" ,ghc-mtl)
3400 ("ghc-hspec" ,ghc-hspec)
3401 ("ghc-quickcheck" ,ghc-quickcheck)))
3402 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3404 "Martin Erwig's Functional Graph Library")
3405 (description "The functional graph library, FGL, is a collection of type
3406 and function definitions to address graph problems. The basis of the library
3407 is an inductive definition of graphs in the style of algebraic data types that
3408 encourages inductive, recursive definitions of graph algorithms.")
3409 (license license:bsd-3)))
3411 (define-public ghc-chasingbottoms
3413 (name "ghc-chasingbottoms")
3418 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
3419 "ChasingBottoms-" version ".tar.gz"))
3422 "04jwwjs22mqc4hvpp4c3gpb79inrrq5sapks5khknspv2hslm61q"))))
3423 (build-system haskell-build-system)
3425 `(("ghc-mtl" ,ghc-mtl)
3426 ("ghc-quickcheck" ,ghc-quickcheck)
3427 ("ghc-random" ,ghc-random)
3428 ("ghc-syb" ,ghc-syb)))
3429 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
3430 (synopsis "Testing of partial and infinite values in Haskell")
3432 ;; FIXME: There should be a @comma{} in the uref text, but it is not
3433 ;; rendered properly.
3434 "This is a library for testing code involving bottoms or infinite values.
3435 For the underlying theory and a larger example involving use of QuickCheck,
3437 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
3438 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
3439 Partial and Infinite Values\"}.")
3440 (license license:expat)))
3442 (define-public ghc-unordered-containers
3444 (name "ghc-unordered-containers")
3446 (outputs '("out" "doc"))
3451 "https://hackage.haskell.org/package/unordered-containers"
3452 "/unordered-containers-" version ".tar.gz"))
3455 "00npqiphivjp2d7ryqsdavfn4m5v3w1lq2azhdsrfh0wsvqpg4ig"))))
3456 (build-system haskell-build-system)
3458 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
3459 ("ghc-hunit" ,ghc-hunit)
3460 ("ghc-quickcheck" ,ghc-quickcheck)
3461 ("ghc-test-framework" ,ghc-test-framework)
3462 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3463 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3464 ("ghc-hashable" ,ghc-hashable)))
3466 "https://github.com/tibbe/unordered-containers")
3468 "Efficient hashing-based container types")
3470 "Efficient hashing-based container types. The containers have been
3471 optimized for performance critical use, both in terms of large data quantities
3473 (license license:bsd-3)))
3475 (define-public ghc-uniplate
3477 (name "ghc-uniplate")
3483 "https://hackage.haskell.org/package/uniplate/uniplate-"
3488 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
3489 (build-system haskell-build-system)
3491 `(("ghc-syb" ,ghc-syb)
3492 ("ghc-hashable" ,ghc-hashable)
3493 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3494 (home-page "http://community.haskell.org/~ndm/uniplate/")
3495 (synopsis "Simple, concise and fast generic operations")
3496 (description "Uniplate is a library for writing simple and concise generic
3497 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
3498 work, but is substantially simpler and faster.")
3499 (license license:bsd-3)))
3501 (define-public ghc-base64-bytestring
3503 (name "ghc-base64-bytestring")
3509 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
3514 "0l1v4ddjdsgi9nqzyzcxxj76rwar3lzx8gmwf2r54bqan3san9db"))))
3515 (build-system haskell-build-system)
3516 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3517 (home-page "https://github.com/bos/base64-bytestring")
3518 (synopsis "Base64 encoding and decoding for ByteStrings")
3519 (description "This library provides fast base64 encoding and decoding for
3520 Haskell @code{ByteString}s.")
3521 (license license:bsd-3)))
3523 (define-public ghc-annotated-wl-pprint
3525 (name "ghc-annotated-wl-pprint")
3531 "https://hackage.haskell.org/package/annotated-wl-pprint"
3532 "/annotated-wl-pprint-" version
3536 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
3537 (build-system haskell-build-system)
3539 "https://github.com/david-christiansen/annotated-wl-pprint")
3541 "The Wadler/Leijen Pretty Printer, with annotation support")
3542 (description "This is a modified version of wl-pprint, which was based on
3543 Wadler's paper \"A Prettier Printer\". This version allows the library user
3544 to annotate the text with semantic information, which can later be rendered in
3545 a variety of ways.")
3546 (license license:bsd-3)))
3548 (define-public ghc-wl-pprint
3550 (name "ghc-wl-pprint")
3555 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
3559 "166zvk4zwn2zaa9kx66m1av38m34qp6h4i65bri2sfnxgvx0700r"))))
3560 (build-system haskell-build-system)
3561 (home-page "https://hackage.haskell.org/package/wl-pprint")
3562 (synopsis "Wadler/Leijen pretty printer")
3564 "This is a pretty printing library based on Wadler's paper @i{A Prettier
3565 Printer}. This version allows the library user to declare overlapping
3566 instances of the @code{Pretty} class.")
3567 (license license:bsd-3)))
3569 (define-public ghc-ansi-wl-pprint
3571 (name "ghc-ansi-wl-pprint")
3576 (uri (string-append "https://hackage.haskell.org/package/"
3577 "ansi-wl-pprint/ansi-wl-pprint-"
3581 "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56"))))
3582 (build-system haskell-build-system)
3584 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
3585 (home-page "https://github.com/ekmett/ansi-wl-pprint")
3586 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
3587 (description "This is a pretty printing library based on Wadler's paper
3588 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
3589 colored output using the ansi-terminal package.")
3590 (license license:bsd-3)))
3592 (define-public ghc-split
3596 (outputs '("out" "doc"))
3601 "https://hackage.haskell.org/package/split/split-"
3606 "12660m16c6sib3laaxn6w9s453pyx1b49myrmzfij372vq5bc5bn"))))
3607 (build-system haskell-build-system)
3609 `(("ghc-quickcheck" ,ghc-quickcheck)))
3610 (home-page "https://hackage.haskell.org/package/split")
3611 (synopsis "Combinator library for splitting lists")
3612 (description "This package provides a collection of Haskell functions for
3613 splitting lists into parts, akin to the @code{split} function found in several
3614 mainstream languages.")
3615 (license license:bsd-3)))
3617 (define-public ghc-parsec
3621 (outputs '("out" "doc"))
3626 "https://hackage.haskell.org/package/parsec/parsec-"
3630 (base32 "0vk7q9j2128q191zf1sg0ylj9s9djwayqk9747k0a5fin4f2b1vg"))))
3631 (build-system haskell-build-system)
3633 `(("ghc-hunit" ,ghc-hunit)))
3635 `(("ghc-text" ,ghc-text)
3636 ("ghc-mtl" ,ghc-mtl)))
3638 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3640 "https://github.com/aslatter/parsec")
3641 (synopsis "Monadic parser combinators")
3642 (description "Parsec is a parser library. It is simple, safe, well
3643 documented, has extensive libraries, good error messages, and is fast. It is
3644 defined as a monad transformer that can be stacked on arbitrary monads, and it
3645 is also parametric in the input stream type.")
3646 (license license:bsd-3)))
3648 (define-public ghc-parser-combinators
3650 (name "ghc-parser-combinators")
3655 (uri (string-append "https://hackage.haskell.org/package/"
3656 "parser-combinators/parser-combinators-"
3660 "1azkz0a6ikym02s8wydjcklp7rz8k512bs4s9lp9g1g03m0yj95i"))))
3661 (build-system haskell-build-system)
3662 (home-page "https://github.com/mrkkrp/parser-combinators")
3663 (synopsis "Commonly useful parser combinators")
3665 "This is a lightweight package providing commonly useful parser
3667 (license license:bsd-3)))
3669 (define-public ghc-megaparsec
3671 (name "ghc-megaparsec")
3676 (uri (string-append "https://hackage.haskell.org/package/"
3677 "megaparsec/megaparsec-"
3681 "0h9azhs0dfrc359vrbd1jljrg3yfdbwd4p62cxqkn7mnh8913jpd"))))
3682 (build-system haskell-build-system)
3684 `(("ghc-case-insensitive" ,ghc-case-insensitive)
3685 ("ghc-mtl" ,ghc-mtl)
3686 ("ghc-parser-combinators" ,ghc-parser-combinators)
3687 ("ghc-scientific" ,ghc-scientific)
3688 ("ghc-text" ,ghc-text)))
3690 `(("ghc-quickcheck" ,ghc-quickcheck)
3691 ("ghc-hspec" ,ghc-hspec)
3692 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3693 ("hspec-discover" ,hspec-discover)))
3694 (home-page "https://github.com/mrkkrp/megaparsec")
3695 (synopsis "Monadic parser combinators")
3697 "This is an industrial-strength monadic parser combinator library.
3698 Megaparsec is a feature-rich package that strikes a nice balance between
3699 speed, flexibility, and quality of parse errors.")
3700 (license license:bsd-2)))
3702 (define-public ghc-vector
3705 (version "0.12.0.1")
3706 (outputs '("out" "doc"))
3711 "https://hackage.haskell.org/package/vector/vector-"
3716 "0yrx2ypiaxahvaz84af5bi855hd3107kxkbqc8km29nsp5wyw05i"))))
3717 (build-system haskell-build-system)
3718 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
3719 ;; disabled for now.
3720 (arguments `(#:tests? #f))
3722 `(("ghc-primitive" ,ghc-primitive)
3723 ("ghc-random" ,ghc-random)
3724 ("ghc-quickcheck" ,ghc-quickcheck)
3725 ;; ("ghc-hunit" ,ghc-hunit)
3726 ;; ("ghc-test-framework" ,ghc-test-framework)
3727 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3728 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3730 (home-page "https://github.com/haskell/vector")
3731 (synopsis "Efficient Arrays")
3732 (description "This library provides an efficient implementation of
3733 Int-indexed arrays (both mutable and immutable), with a powerful loop
3734 optimisation framework.")
3735 (license license:bsd-3)))
3737 (define-public ghc-vector-binary-instances
3739 (name "ghc-vector-binary-instances")
3745 "https://hackage.haskell.org/package/"
3746 "vector-binary-instances/vector-binary-instances-"
3750 "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb"))))
3751 (build-system haskell-build-system)
3753 `(("ghc-vector" ,ghc-vector)))
3755 `(("ghc-tasty" ,ghc-tasty)
3756 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3757 (home-page "https://github.com/bos/vector-binary-instances")
3758 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
3759 (description "This library provides instances of @code{Binary} for the
3760 types defined in the @code{vector} package, making it easy to serialize
3761 vectors to and from disk. We use the generic interface to vectors, so all
3762 vector types are supported. Specific instances are provided for unboxed,
3763 boxed and storable vectors.")
3764 (license license:bsd-3)))
3766 (define-public ghc-bloomfilter
3768 (name "ghc-bloomfilter")
3773 (uri (string-append "https://hackage.haskell.org/package/"
3774 "bloomfilter/bloomfilter-" version ".tar.gz"))
3777 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
3778 (build-system haskell-build-system)
3780 `(("ghc-quickcheck" ,ghc-quickcheck)
3781 ("ghc-random" ,ghc-random)
3782 ("ghc-test-framework" ,ghc-test-framework)
3783 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3784 (home-page "https://github.com/bos/bloomfilter")
3785 (synopsis "Pure and impure Bloom filter implementations")
3786 (description "This package provides both mutable and immutable Bloom
3787 filter data types, along with a family of hash functions and an easy-to-use
3789 (license license:bsd-3)))
3791 (define-public ghc-network
3793 (name "ghc-network")
3795 (outputs '("out" "doc"))
3800 "https://hackage.haskell.org/package/network/network-"
3805 "1rl2gl37cf4k0ddsq93q15fwdz1l25nhl4w205krbh7d5dg5y12p"))))
3806 (build-system haskell-build-system)
3807 ;; The regression tests depend on an unpublished module.
3808 (arguments `(#:tests? #f))
3810 `(("ghc-hunit" ,ghc-hunit)
3811 ("ghc-doctest" ,ghc-doctest)
3812 ("ghc-test-framework" ,ghc-test-framework)
3813 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3814 (home-page "https://github.com/haskell/network")
3815 (synopsis "Low-level networking interface")
3817 "This package provides a low-level networking interface.")
3818 (license license:bsd-3)))
3820 (define-public ghc-network-uri
3822 (name "ghc-network-uri")
3824 (outputs '("out" "doc"))
3829 "https://hackage.haskell.org/package/network-uri/network-uri-"
3834 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
3835 (build-system haskell-build-system)
3837 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3839 `(("ghc-hunit" ,ghc-hunit)))
3841 `(("ghc-parsec" ,ghc-parsec)
3842 ("ghc-network" ,ghc-network)))
3844 "https://github.com/haskell/network-uri")
3845 (synopsis "Library for URI manipulation")
3846 (description "This package provides an URI manipulation interface. In
3847 'network-2.6' the 'Network.URI' module was split off from the 'network'
3848 package into this package.")
3849 (license license:bsd-3)))
3851 (define-public ghc-ansi-terminal
3853 (name "ghc-ansi-terminal")
3859 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
3864 "0hpfw0k025y681m9ml1c712skrb1p4vh7z5x1f0ci9ww7ssjrh2d"))))
3865 (build-system haskell-build-system)
3866 (home-page "https://github.com/feuerbach/ansi-terminal")
3867 (synopsis "ANSI terminal support for Haskell")
3868 (description "This package provides ANSI terminal support for Haskell. It
3869 allows cursor movement, screen clearing, color output showing or hiding the
3870 cursor, and changing the title.")
3871 (license license:bsd-3)))
3873 (define-public ghc-vault
3881 "https://hackage.haskell.org/package/vault/vault-"
3886 "0j7gcs440q7qlgzi2hn36crgp2c0w69k40g6vj9hxlm31zk3shqb"))))
3887 (build-system haskell-build-system)
3889 `(("ghc-unordered-containers" ,ghc-unordered-containers)
3890 ("ghc-hashable" ,ghc-hashable)))
3892 "https://github.com/HeinrichApfelmus/vault")
3893 (synopsis "Persistent store for arbitrary values")
3894 (description "This package provides vaults for Haskell. A vault is a
3895 persistent store for values of arbitrary types. It's like having first-class
3896 access to the storage space behind @code{IORefs}. The data structure is
3897 analogous to a bank vault, where you can access different bank boxes with
3898 different keys; hence the name. Also provided is a @code{locker} type,
3899 representing a store for a single element.")
3900 (license license:bsd-3)))
3902 (define-public ghc-edisonapi
3904 (name "ghc-edisonapi")
3909 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
3910 "/EdisonAPI-" version ".tar.gz"))
3912 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
3913 (build-system haskell-build-system)
3914 (inputs `(("ghc-mtl" ,ghc-mtl)))
3915 (home-page "http://rwd.rdockins.name/edison/home/")
3916 (synopsis "Library of efficient, purely-functional data structures (API)")
3918 "Edison is a library of purely functional data structures written by
3919 Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
3920 value EDiSon (Efficient Data Structures). Edison provides several families of
3921 abstractions, each with multiple implementations. The main abstractions
3922 provided by Edison are: Sequences such as stacks, queues, and dequeues;
3923 Collections such as sets, bags and heaps; and Associative Collections such as
3924 finite maps and priority queues where the priority and element are distinct.")
3925 (license license:expat)))
3927 (define-public ghc-edisoncore
3929 (name "ghc-edisoncore")
3934 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
3935 "/EdisonCore-" version ".tar.gz"))
3937 (base32 "06shxmcqxcahcn6zgl64vlqix4fnq53d97drcgsh94qp7gp201ry"))))
3938 (build-system haskell-build-system)
3940 `(("ghc-mtl" ,ghc-mtl)
3941 ("ghc-quickcheck" ,ghc-quickcheck)
3942 ("ghc-edisonapi" ,ghc-edisonapi)))
3943 (home-page "http://rwd.rdockins.name/edison/home/")
3944 (synopsis "Library of efficient, purely-functional data structures")
3946 "This package provides the core Edison data structure implementations,
3947 including multiple sequence, set, bag, and finite map concrete implementations
3948 with various performance characteristics.")
3949 (license license:expat)))
3951 (define-public ghc-mmorph
3959 "https://hackage.haskell.org/package/mmorph/mmorph-"
3964 "1i8dzrc5qi3ryc9vrrmpn3sihmramsbhhd592w4w2k5g26qr3hql"))))
3965 (build-system haskell-build-system)
3967 `(("ghc-mtl" ,ghc-mtl)
3968 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3969 (home-page "https://hackage.haskell.org/package/mmorph")
3970 (synopsis "Monad morphisms")
3972 "This library provides monad morphism utilities, most commonly used for
3973 manipulating monad transformer stacks.")
3974 (license license:bsd-3)))
3976 (define-public ghc-ifelse
3983 (uri (string-append "https://hackage.haskell.org/package/"
3984 "IfElse/IfElse-" version ".tar.gz"))
3987 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
3988 (build-system haskell-build-system)
3989 (inputs `(("ghc-mtl" ,ghc-mtl)))
3990 (home-page "http://hackage.haskell.org/package/IfElse")
3991 (synopsis "Monadic control flow with anaphoric variants")
3992 (description "This library provides functions for control flow inside of
3993 monads with anaphoric variants on @code{if} and @code{when} and a C-like
3994 @code{switch} function.")
3995 (license license:bsd-3)))
3997 (define-public ghc-monad-control
3999 (name "ghc-monad-control")
4005 "https://hackage.haskell.org/package/monad-control"
4006 "/monad-control-" version ".tar.gz"))
4009 "1x018gi5irznx5rgzmkr2nrgh26r8cvqwkcfc6n6y05pdjf21c6l"))))
4010 (build-system haskell-build-system)
4012 `(("ghc-stm" ,ghc-stm)
4013 ("ghc-transformers-base" ,ghc-transformers-base)
4014 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4015 (home-page "https://github.com/basvandijk/monad-control")
4016 (synopsis "Monad transformers to lift control operations like exception
4018 (description "This package defines the type class @code{MonadBaseControl},
4019 a subset of @code{MonadBase} into which generic control operations such as
4020 @code{catch} can be lifted from @code{IO} or any other base monad.")
4021 (license license:bsd-3)))
4023 (define-public ghc-fail
4030 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
4033 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
4034 (build-system haskell-build-system)
4035 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4036 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
4037 (synopsis "Forward-compatible MonadFail class")
4039 "This package contains the @code{Control.Monad.Fail} module providing the
4040 @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
4041 class that became available in
4042 @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
4043 older @code{base} package versions. This package turns into an empty package
4044 when used with GHC versions which already provide the
4045 @code{Control.Monad.Fail} module.")
4046 (license license:bsd-3)))
4048 (define-public ghc-monadplus
4050 (name "ghc-monadplus")
4055 (uri (string-append "https://hackage.haskell.org/package/monadplus"
4056 "/monadplus-" version ".tar.gz"))
4058 (base32 "15b5320wdpmdp5slpphnc1x4rhjch3igw245dp2jxbqyvchdavin"))))
4059 (build-system haskell-build-system)
4060 (home-page "https://hackage.haskell.org/package/monadplus")
4061 (synopsis "Filtering and folding over arbitrary MonadPlus instances")
4063 "This package generalizes many common stream operations such as
4064 @code{filter}, @code{catMaybes} etc, enabling filtering and folding over
4065 arbitrary @code{MonadPlus} instances.")
4066 (license license:bsd-3)))
4068 (define-public ghc-byteorder
4070 (name "ghc-byteorder")
4076 "https://hackage.haskell.org/package/byteorder/byteorder-"
4081 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
4082 (build-system haskell-build-system)
4084 "http://community.haskell.org/~aslatter/code/byteorder")
4086 "Exposes the native endianness of the system")
4088 "This package is for working with the native byte-ordering of the
4090 (license license:bsd-3)))
4092 (define-public ghc-base-compat
4094 (name "ghc-base-compat")
4100 "https://hackage.haskell.org/package/base-compat/base-compat-"
4105 "0452l6zf6fjhy4kxqwv6i6hhg6yfx4wcg450k3axpyj30l7jnq3x"))))
4106 (build-system haskell-build-system)
4108 `(("ghc-quickcheck" ,ghc-quickcheck)
4109 ("ghc-hspec" ,ghc-hspec)
4110 ("hspec-discover" ,hspec-discover)))
4111 (home-page "https://hackage.haskell.org/package/base-compat")
4112 (synopsis "Haskell compiler compatibility library")
4113 (description "This library provides functions available in later versions
4114 of base to a wider range of compilers, without requiring the use of CPP
4115 pragmas in your code.")
4116 (license license:bsd-3)))
4118 (define-public ghc-blaze-builder
4120 (name "ghc-blaze-builder")
4126 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
4131 "1m33y6p5xldni8p4fzg8fmsyqvkfmnimdamr1xjnsmgm3dkf9lws"))))
4132 (build-system haskell-build-system)
4133 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
4135 `(("ghc-text" ,ghc-text)
4136 ("ghc-utf8-string" ,ghc-utf8-string)))
4137 (home-page "https://github.com/lpsmith/blaze-builder")
4138 (synopsis "Efficient buffered output")
4139 (description "This library provides an implementation of the older
4140 @code{blaze-builder} interface in terms of the new builder that shipped with
4141 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
4142 bridge to the new builder, so that code that uses the old interface can
4143 interoperate with code that uses the new implementation.")
4144 (license license:bsd-3)))
4146 (define-public ghc-blaze-markup
4148 (name "ghc-blaze-markup")
4153 (uri (string-append "https://hackage.haskell.org/package/"
4154 "blaze-markup/blaze-markup-"
4158 "0m3h3ryxj5r74mv5g5dnfq5jbbwmvkl7ray18vi20d5vd93sydj4"))))
4159 (build-system haskell-build-system)
4161 `(("ghc-blaze-builder" ,ghc-blaze-builder)
4162 ("ghc-text" ,ghc-text)))
4164 `(("ghc-hunit" ,ghc-hunit)
4165 ("ghc-quickcheck" ,ghc-quickcheck)
4166 ("ghc-tasty" ,ghc-tasty)
4167 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4168 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4169 (home-page "https://jaspervdj.be/blaze")
4170 (synopsis "Fast markup combinator library for Haskell")
4171 (description "This library provides core modules of a markup combinator
4172 library for Haskell.")
4173 (license license:bsd-3)))
4175 (define-public ghc-easy-file
4177 (name "ghc-easy-file")
4183 "https://hackage.haskell.org/package/easy-file/easy-file-"
4188 "0v75081bx4qzlqy29hh639nzlr7dncwza3qxbzm9njc4jarf31pz"))))
4189 (build-system haskell-build-system)
4191 "https://github.com/kazu-yamamoto/easy-file")
4192 (synopsis "File handling library for Haskell")
4193 (description "This library provides file handling utilities for Haskell.")
4194 (license license:bsd-3)))
4196 (define-public ghc-async
4204 "https://hackage.haskell.org/package/async/async-"
4209 "1qj4fp1ynwg0l453gmm27vgkzb5k5m2hzdlg5rdqi9kf8rqy90yd"))))
4210 (build-system haskell-build-system)
4212 `(("ghc-stm" ,ghc-stm)
4213 ("ghc-hunit" ,ghc-hunit)
4214 ("ghc-test-framework" ,ghc-test-framework)
4215 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4216 (home-page "https://github.com/simonmar/async")
4217 (synopsis "Library to run IO operations asynchronously")
4218 (description "Async provides a library to run IO operations
4219 asynchronously, and wait for their results. It is a higher-level interface
4220 over threads in Haskell, in which @code{Async a} is a concurrent thread that
4221 will eventually deliver a value of type @code{a}.")
4222 (license license:bsd-3)))
4224 (define-public ghc-fingertree
4226 (name "ghc-fingertree")
4232 "https://hackage.haskell.org/package/fingertree/fingertree-"
4236 "1ryjj7qrx70ckcjlr02x9zh86kfp76azbxq05r7hawqkaqg44sfs"))))
4237 (build-system haskell-build-system)
4239 `(("ghc-hunit" ,ghc-hunit)
4240 ("ghc-quickcheck" ,ghc-quickcheck)
4241 ("ghc-test-framework" ,ghc-test-framework)
4242 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4243 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4244 (home-page "https://hackage.haskell.org/package/fingertree")
4245 (synopsis "Generic finger-tree structure")
4246 (description "This library provides finger trees, a general sequence
4247 representation with arbitrary annotations, for use as a base for
4248 implementations of various collection types. It includes examples, as
4249 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4250 simple general-purpose data structure\".")
4251 (license license:bsd-3)))
4253 (define-public ghc-optparse-applicative
4255 (name "ghc-optparse-applicative")
4256 (version "0.13.0.0")
4261 "https://hackage.haskell.org/package/optparse-applicative"
4262 "/optparse-applicative-" version ".tar.gz"))
4265 "1b0c5fdq8bd070g24vrjrwlq979r8dk8mys6aji9hy1l9pcv3inf"))))
4266 (build-system haskell-build-system)
4267 ;; These tests fail because the package doesn't come with all needed test
4269 ;; - prop_drops_back_contexts
4270 ;; - prop_context_carry
4271 ;; - prop_help_on_empty
4272 ;; - prop_help_on_empty_sub
4273 (arguments `(#:tests? #f))
4275 `(("ghc-transformers-compat" ,ghc-transformers-compat)
4276 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
4278 `(("ghc-quickcheck" ,ghc-quickcheck)))
4279 (home-page "https://github.com/pcapriotti/optparse-applicative")
4280 (synopsis "Utilities and combinators for parsing command line options")
4281 (description "This package provides utilities and combinators for parsing
4282 command line options in Haskell.")
4283 (license license:bsd-3)))
4285 (define-public ghc-base-orphans
4287 (name "ghc-base-orphans")
4293 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
4298 "03mdww5j0gwai7aqlx3m71ldmjcr99jzpkcclzjfclk6a6kjla67"))))
4299 (build-system haskell-build-system)
4301 `(("ghc-quickcheck" ,ghc-quickcheck)
4302 ("ghc-hspec" ,ghc-hspec)
4303 ("hspec-discover" ,hspec-discover)))
4304 (home-page "https://hackage.haskell.org/package/base-orphans")
4305 (synopsis "Orphan instances for backwards compatibility")
4306 (description "This package defines orphan instances that mimic instances
4307 available in later versions of base to a wider (older) range of compilers.")
4308 (license license:bsd-3)))
4310 (define-public ghc-auto-update
4312 (name "ghc-auto-update")
4318 "https://hackage.haskell.org/package/auto-update/auto-update-"
4323 "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy"))))
4324 (build-system haskell-build-system)
4325 (home-page "https://github.com/yesodweb/wai")
4326 (synopsis "Efficiently run periodic, on-demand actions")
4327 (description "This library provides mechanisms to efficiently run
4328 periodic, on-demand actions in Haskell.")
4329 (license license:expat)))
4331 (define-public ghc-tagged
4339 "https://hackage.haskell.org/package/tagged/tagged-"
4344 "16cdzh0bw16nvjnyyy5j9s60malhz4nnazw96vxb0xzdap4m2z74"))))
4345 (build-system haskell-build-system)
4347 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4348 (home-page "https://hackage.haskell.org/package/tagged")
4349 (synopsis "Haskell phantom types to avoid passing dummy arguments")
4350 (description "This library provides phantom types for Haskell 98, to avoid
4351 having to unsafely pass dummy arguments.")
4352 (license license:bsd-3)))
4354 (define-public ghc-unbounded-delays
4356 (name "ghc-unbounded-delays")
4362 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
4367 "1f4h87503m3smhip432q027wj3zih18pmz2rnafh60589ifcl420"))))
4368 (build-system haskell-build-system)
4369 (home-page "https://github.com/basvandijk/unbounded-delays")
4370 (synopsis "Unbounded thread delays and timeouts")
4371 (description "The @code{threadDelay} and @code{timeout} functions from the
4372 Haskell base library use the bounded @code{Int} type for specifying the delay
4373 or timeout period. This package provides alternative functions which use the
4374 unbounded @code{Integer} type.")
4375 (license license:bsd-3)))
4377 (define-public ghc-clock
4385 "https://hackage.haskell.org/package/"
4387 "clock-" version ".tar.gz"))
4389 (base32 "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8"))))
4390 (build-system haskell-build-system)
4392 `(("ghc-tasty" ,ghc-tasty)
4393 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4394 (home-page "https://hackage.haskell.org/package/clock")
4395 (synopsis "High-resolution clock for Haskell")
4396 (description "A package for convenient access to high-resolution clock and
4397 timer functions of different operating systems via a unified API.")
4398 (license license:bsd-3)))
4400 (define-public ghc-charset
4402 (name "ghc-charset")
4408 "https://hackage.haskell.org/package/charset/charset-"
4413 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
4414 (build-system haskell-build-system)
4416 `(("ghc-semigroups" ,ghc-semigroups)
4417 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4418 (home-page "https://github.com/ekmett/charset")
4419 (synopsis "Fast unicode character sets for Haskell")
4420 (description "This package provides fast unicode character sets for
4421 Haskell, based on complemented PATRICIA tries.")
4422 (license license:bsd-3)))
4424 (define-public ghc-bytestring-builder
4426 (name "ghc-bytestring-builder")
4427 (version "0.10.8.1.0")
4432 "https://hackage.haskell.org/package/bytestring-builder"
4433 "/bytestring-builder-" version ".tar.gz"))
4436 "1hnvjac28y44yn78c9vdp1zvrknvlw98ky3g4n5vivr16rvh8x3d"))))
4437 (build-system haskell-build-system)
4438 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4439 (home-page "https://hackage.haskell.org/package/bytestring-builder")
4440 (synopsis "The new bytestring builder, packaged outside of GHC")
4441 (description "This package provides the bytestring builder that is
4442 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
4443 Compatibility package for older packages.")
4444 (license license:bsd-3)))
4446 (define-public ghc-nats
4454 "https://hackage.haskell.org/package/nats/nats-"
4459 "1kfl2yy97nb7q0j17v96rl73xvi3z4db9bk0xychc76dax41n78k"))))
4460 (build-system haskell-build-system)
4461 (arguments `(#:haddock? #f))
4463 `(("ghc-hashable" ,ghc-hashable)))
4464 (home-page "https://hackage.haskell.org/package/nats")
4465 (synopsis "Natural numbers")
4466 (description "This library provides the natural numbers for Haskell.")
4467 (license license:bsd-3)))
4469 (define-public ghc-void
4477 "https://hackage.haskell.org/package/void/void-"
4482 "1x15x2axz84ndw2bf60vjqljhrb0w95lddaljsxrl0hcd29zvw69"))))
4483 (build-system haskell-build-system)
4485 `(("ghc-semigroups" ,ghc-semigroups)
4486 ("ghc-hashable" ,ghc-hashable)))
4487 (home-page "https://github.com/ekmett/void")
4489 "Logically uninhabited data type")
4491 "A Haskell 98 logically uninhabited data type, used to indicate that a
4492 given term should not exist.")
4493 (license license:bsd-3)))
4495 (define-public ghc-kan-extensions
4497 (name "ghc-kan-extensions")
4503 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
4508 "1qm0kf4krmyjbjynn96ab0h3q117vwcia5nin7n2b8b4f3jrzph1"))))
4509 (build-system haskell-build-system)
4511 `(("ghc-adjunctions" ,ghc-adjunctions)
4512 ("ghc-comonad" ,ghc-comonad)
4513 ("ghc-contravariant" ,ghc-contravariant)
4514 ("ghc-distributive" ,ghc-distributive)
4515 ("ghc-free" ,ghc-free)
4516 ("ghc-mtl" ,ghc-mtl)
4517 ("ghc-semigroupoids" ,ghc-semigroupoids)
4518 ("ghc-tagged" ,ghc-tagged)))
4519 (home-page "https://github.com/ekmett/kan-extensions/")
4520 (synopsis "Kan extensions library")
4521 (description "This library provides Kan extensions, Kan lifts, various
4522 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
4523 (license license:bsd-3)))
4525 (define-public ghc-call-stack
4527 (name "ghc-call-stack")
4532 (uri (string-append "https://hackage.haskell.org/package/"
4533 "call-stack/call-stack-"
4537 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
4538 (build-system haskell-build-system)
4539 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
4540 (home-page "https://github.com/sol/call-stack#readme")
4541 (synopsis "Use GHC call-stacks in a backward compatible way")
4542 (description "This package provides a compatibility layer for using GHC
4543 call stacks with different versions of the compiler.")
4544 (license license:expat)))
4546 ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
4547 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
4548 (define-public ghc-call-stack-boot
4550 (inherit ghc-call-stack)
4551 (arguments '(#:tests? #f))
4554 (define-public ghc-statevar
4556 (name "ghc-statevar")
4562 "https://hackage.haskell.org/package/StateVar/StateVar-"
4567 "1dzz9l0haswgag9x56q7n57kw18v7nhmzkjyr61nz9y9npn8vmks"))))
4568 (build-system haskell-build-system)
4570 `(("ghc-stm" ,ghc-stm)))
4571 (home-page "https://hackage.haskell.org/package/StateVar")
4572 (synopsis "State variables for Haskell")
4573 (description "This package provides state variables, which are references
4574 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
4575 (license license:bsd-3)))
4577 (define-public ghc-lens
4584 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
4588 "1lkwlnhgpgnsz046mw4qs0fa7h4l012gilrr3nf3spllsy3pnbkl"))))
4589 (build-system haskell-build-system)
4591 `(("ghc-base-orphans" ,ghc-base-orphans)
4592 ("ghc-bifunctors" ,ghc-bifunctors)
4593 ("ghc-doctest" ,ghc-doctest-0.13)
4594 ("ghc-distributive" ,ghc-distributive)
4595 ("ghc-exceptions" ,ghc-exceptions)
4596 ("ghc-free" ,ghc-free)
4597 ("ghc-kan-extensions" ,ghc-kan-extensions)
4598 ("ghc-parallel" ,ghc-parallel)
4599 ("ghc-reflection" ,ghc-reflection)
4600 ("ghc-semigroupoids" ,ghc-semigroupoids)
4601 ("ghc-vector" ,ghc-vector)
4602 ("ghc-call-stack" ,ghc-call-stack)
4603 ("ghc-comonad" ,ghc-comonad)
4604 ("ghc-contravariant" ,ghc-contravariant)
4605 ("ghc-hashable" ,ghc-hashable)
4606 ("ghc-mtl" ,ghc-mtl)
4607 ("ghc-profunctors" ,ghc-profunctors)
4608 ("ghc-semigroups" ,ghc-semigroups)
4609 ("ghc-tagged" ,ghc-tagged)
4610 ("ghc-text" ,ghc-text)
4611 ("ghc-transformers-compat" ,ghc-transformers-compat)
4612 ("ghc-unordered-containers" ,ghc-unordered-containers)
4613 ("ghc-void" ,ghc-void)
4614 ("ghc-generic-deriving" ,ghc-generic-deriving)
4615 ("ghc-nats" ,ghc-nats)
4616 ("ghc-simple-reflect" ,ghc-simple-reflect)
4619 `(("cabal-doctest" ,cabal-doctest)
4620 ("ghc-hunit" ,ghc-hunit)
4621 ("ghc-test-framework" ,ghc-test-framework)
4622 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4623 ("ghc-test-framework-th" ,ghc-test-framework-th)
4624 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
4625 ("ghc-quickcheck" ,ghc-quickcheck)))
4626 (home-page "https://github.com/ekmett/lens/")
4627 (synopsis "Lenses, Folds and Traversals")
4628 (description "This library provides @code{Control.Lens}. The combinators
4629 in @code{Control.Lens} provide a highly generic toolbox for composing families
4630 of getters, folds, isomorphisms, traversals, setters and lenses and their
4632 (license license:bsd-3)))
4634 (define-public ghc-cheapskate
4636 (name "ghc-cheapskate")
4642 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
4647 "1hiqi7h76shjzs2zj0j8g6wnq2hbiq1hmfafdazr97fba2zl2432"))))
4648 (build-system haskell-build-system)
4650 `(("ghc-mtl" ,ghc-mtl)
4651 ("ghc-text" ,ghc-text)
4652 ("ghc-blaze-html" ,ghc-blaze-html)
4653 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
4654 ("ghc-data-default" ,ghc-data-default)
4655 ("ghc-syb" ,ghc-syb)
4656 ("ghc-uniplate" ,ghc-uniplate)))
4657 (home-page "https://github.com/jgm/cheapskate")
4658 (synopsis "Experimental markdown processor")
4659 (description "Cheapskate is an experimental Markdown processor in pure
4660 Haskell. It aims to process Markdown efficiently and in the most forgiving
4661 possible way. It is designed to deal with any input, including garbage, with
4662 linear performance. Output is sanitized by default for protection against
4663 cross-site scripting (@dfn{XSS}) attacks.")
4664 (license license:bsd-3)))
4666 (define-public ghc-bifunctors
4668 (name "ghc-bifunctors")
4674 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
4679 "04fbsysm6zl8kmvqgffmrqa9bxl9dl2gibrd51asqzg737mb4ark"))))
4680 (build-system haskell-build-system)
4682 `(("ghc-base-orphans" ,ghc-base-orphans)
4683 ("ghc-comonad" ,ghc-comonad)
4684 ("ghc-th-abstraction" ,ghc-th-abstraction)
4685 ("ghc-transformers-compat" ,ghc-transformers-compat)
4686 ("ghc-tagged" ,ghc-tagged)
4687 ("ghc-semigroups" ,ghc-semigroups)))
4689 `(("ghc-hspec" ,ghc-hspec)
4690 ("hspec-discover" ,hspec-discover)
4691 ("ghc-quickcheck" ,ghc-quickcheck)))
4692 (home-page "https://github.com/ekmett/bifunctors/")
4693 (synopsis "Bifunctors for Haskell")
4694 (description "This package provides bifunctors for Haskell.")
4695 (license license:bsd-3)))
4697 (define-public ghc-semigroupoids
4699 (name "ghc-semigroupoids")
4705 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
4710 "0dgqc59p4xx5cl8qkpm6sn4wd3n59rq7l6din76hf10bnklqrb0n"))))
4711 (build-system haskell-build-system)
4712 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4714 `(("ghc-base-orphans" ,ghc-base-orphans)
4715 ("ghc-transformers-compat" ,ghc-transformers-compat)
4716 ("ghc-bifunctors" ,ghc-bifunctors)
4717 ("ghc-comonad" ,ghc-comonad)
4718 ("ghc-contravariant" ,ghc-contravariant)
4719 ("ghc-distributive" ,ghc-distributive)
4720 ("ghc-semigroups" ,ghc-semigroups)
4721 ("ghc-tagged" ,ghc-tagged)))
4722 (home-page "https://github.com/ekmett/semigroupoids")
4723 (synopsis "Semigroupoids operations for Haskell")
4724 (description "This library provides a wide array of (semi)groupoids and
4725 operations for working with them. A @code{Semigroupoid} is a @code{Category}
4726 without the requirement of identity arrows for every object in the category.
4727 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
4728 Finally, to work with these weaker structures it is beneficial to have
4729 containers that can provide stronger guarantees about their contents, so
4730 versions of @code{Traversable} and @code{Foldable} that can be folded with
4731 just a @code{Semigroup} are added.")
4732 (license license:bsd-3)))
4734 (define-public ghc-contravariant
4736 (name "ghc-contravariant")
4742 "https://hackage.haskell.org/package/contravariant/contravariant-"
4747 "117fff8kkrvlmr8cb2jpj71z7lf2pdiyks6ilyx89mry6zqnsrp1"))))
4748 (build-system haskell-build-system)
4750 `(("ghc-void" ,ghc-void)
4751 ("ghc-transformers-compat" ,ghc-transformers-compat)
4752 ("ghc-statevar" ,ghc-statevar)
4753 ("ghc-semigroups" ,ghc-semigroups)))
4755 "https://github.com/ekmett/contravariant/")
4756 (synopsis "Contravariant functors")
4757 (description "Contravariant functors for Haskell.")
4758 (license license:bsd-3)))
4760 (define-public ghc-semigroups
4762 (name "ghc-semigroups")
4768 "https://hackage.haskell.org/package/semigroups/semigroups-"
4773 "1r6hsn3am3dpf4rprrj4m04d9318v9iq02bin0pl29dg4a3gzjax"))))
4774 (build-system haskell-build-system)
4776 `(("ghc-nats" ,ghc-nats)
4777 ("ghc-tagged" ,ghc-tagged)
4778 ("ghc-unordered-containers" ,ghc-unordered-containers)
4779 ("ghc-text" ,ghc-text)
4780 ("ghc-hashable" ,ghc-hashable)))
4781 (home-page "https://github.com/ekmett/semigroups/")
4782 (synopsis "Semigroup operations for Haskell")
4783 (description "This package provides semigroups for Haskell. In
4784 mathematics, a semigroup is an algebraic structure consisting of a set
4785 together with an associative binary operation. A semigroup generalizes a
4786 monoid in that there might not exist an identity element. It
4787 also (originally) generalized a group (a monoid with all inverses) to a type
4788 where every element did not have to have an inverse, thus the name
4790 (license license:bsd-3)))
4792 (define-public ghc-free
4800 "https://hackage.haskell.org/package/free/free-"
4805 "1147s393442xf4gkpbq0rd1p286vmykgx85mxhk5d1c7wfm4bzn9"))))
4806 (build-system haskell-build-system)
4808 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4809 ("ghc-profunctors" ,ghc-profunctors)
4810 ("ghc-exceptions" ,ghc-exceptions)
4811 ("ghc-bifunctors" ,ghc-bifunctors)
4812 ("ghc-comonad" ,ghc-comonad)
4813 ("ghc-distributive" ,ghc-distributive)
4814 ("ghc-mtl" ,ghc-mtl)
4815 ("ghc-semigroupoids" ,ghc-semigroupoids)
4816 ("ghc-semigroups" ,ghc-semigroups)))
4817 (home-page "https://github.com/ekmett/free/")
4818 (synopsis "Unrestricted monads for Haskell")
4819 (description "This library provides free monads, which are useful for many
4820 tree-like structures and domain specific languages. If @code{f} is a
4821 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4822 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4823 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4824 f} makes no constraining assumptions beyond those given by @code{f} and the
4825 definition of @code{Monad}.")
4826 (license license:bsd-3)))
4828 (define-public ghc-adjunctions
4830 (name "ghc-adjunctions")
4836 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
4841 "1k1ykisf96i4g2zm47c45md7p42c4vsp9r73392pz1g8mx7s2j5r"))))
4842 (build-system haskell-build-system)
4844 `(("ghc-profunctors" ,ghc-profunctors)
4845 ("ghc-comonad" ,ghc-comonad)
4846 ("ghc-contravariant" ,ghc-contravariant)
4847 ("ghc-distributive" ,ghc-distributive)
4848 ("ghc-free" ,ghc-free)
4849 ("ghc-mtl" ,ghc-mtl)
4850 ("ghc-tagged" ,ghc-tagged)
4851 ("ghc-semigroupoids" ,ghc-semigroupoids)
4852 ("ghc-semigroups" ,ghc-semigroups)
4853 ("ghc-void" ,ghc-void)))
4854 (home-page "https://github.com/ekmett/adjunctions/")
4855 (synopsis "Adjunctions and representable functors")
4856 (description "This library provides adjunctions and representable functors
4858 (license license:bsd-3)))
4860 (define-public ghc-equivalence
4862 (name "ghc-equivalence")
4867 (uri (string-append "https://hackage.haskell.org/package/equivalence"
4868 "/equivalence-" version ".tar.gz"))
4870 (base32 "0a85bdyyvjqs5z4kfhhf758210k9gi9dv42ik66a3jl0z7aix8kx"))))
4871 (build-system haskell-build-system)
4873 `(("ghc-mtl" ,ghc-mtl)
4874 ("ghc-stmonadtrans" ,ghc-stmonadtrans)
4875 ("ghc-transformers-compat" ,ghc-transformers-compat)
4876 ("ghc-quickcheck" ,ghc-quickcheck)
4877 ("ghc-test-framework" ,ghc-test-framework)
4878 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4879 (home-page "https://github.com/pa-ba/equivalence")
4880 (synopsis "Maintaining an equivalence relation implemented as union-find")
4882 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
4883 Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
4884 22(2), 1975) in order to maintain an equivalence relation. This
4885 implementation is a port of the @code{union-find} package using the @code{ST}
4886 monad transformer (instead of the IO monad).")
4887 (license license:bsd-3)))
4889 (define-public ghc-fast-logger
4891 (name "ghc-fast-logger")
4897 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
4902 "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv"))))
4903 (build-system haskell-build-system)
4905 `(("ghc-auto-update" ,ghc-auto-update)
4906 ("ghc-easy-file" ,ghc-easy-file)
4907 ("ghc-text" ,ghc-text)
4908 ("ghc-unix-time" ,ghc-unix-time)))
4910 `(("hspec-discover" ,hspec-discover)
4911 ("ghc-hspec" ,ghc-hspec)))
4912 (home-page "https://hackage.haskell.org/package/fast-logger")
4913 (synopsis "Fast logging system")
4914 (description "This library provides a fast logging system for Haskell.")
4915 (license license:bsd-3)))
4917 (define-public ghc-doctest
4919 (name "ghc-doctest")
4925 "https://hackage.haskell.org/package/doctest/doctest-"
4930 "0xv4vx1r3mk7cmiwywzrq25545cx3i7imhcx33mk47r88j5c49fj"))))
4931 (build-system haskell-build-system)
4932 (arguments `(#:tests? #f)) ; FIXME: missing test framework
4934 `(("ghc-syb" ,ghc-syb)
4935 ("ghc-paths" ,ghc-paths)
4936 ("ghc-base-compat" ,ghc-base-compat)
4937 ("ghc-hunit" ,ghc-hunit)
4938 ("ghc-hspec" ,ghc-hspec)
4939 ("ghc-quickcheck" ,ghc-quickcheck)
4940 ("ghc-stringbuilder" ,ghc-stringbuilder)
4941 ("ghc-silently" ,ghc-silently)
4942 ("ghc-setenv" ,ghc-setenv)))
4944 "https://github.com/sol/doctest#readme")
4945 (synopsis "Test interactive Haskell examples")
4946 (description "The doctest program checks examples in source code comments.
4947 It is modeled after doctest for Python, see
4948 @uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
4949 (license license:expat)))
4951 (define-public ghc-doctest-0.12
4952 (package (inherit ghc-doctest)
4953 (name "ghc-doctest")
4959 "https://hackage.haskell.org/package/doctest/doctest-"
4964 "13h549cpgcvb7c54c7wif28g5wak84dxc3ais0hlqhzk1q6la91a"))))
4966 `(("ghc-code-page" ,ghc-code-page)
4967 ,@(package-inputs ghc-doctest)))))
4969 (define-public ghc-doctest-0.13
4970 (package (inherit ghc-doctest-0.12)
4971 (name "ghc-doctest")
4976 (uri (string-append "https://hackage.haskell.org/package/"
4977 "doctest/doctest-" version ".tar.gz"))
4980 "08g3nmpqbnbkxc95d65hkhfabwax10qrq51vlynr342npn40mn2b"))))))
4982 (define-public ghc-lifted-base
4984 (name "ghc-lifted-base")
4990 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
4995 "17yz4n7q96x4cp8vxai8csn2vmpigxvipkfh48arahf91f0xy18n"))))
4996 (build-system haskell-build-system)
4997 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
4999 `(("ghc-transformers-base" ,ghc-transformers-base)
5000 ("ghc-monad-control" ,ghc-monad-control)
5001 ("ghc-transformers-compat" ,ghc-transformers-compat)
5002 ("ghc-hunit" ,ghc-hunit)))
5003 (home-page "https://github.com/basvandijk/lifted-base")
5004 (synopsis "Lifted IO operations from the base library")
5005 (description "Lifted-base exports IO operations from the @code{base}
5006 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
5007 Note that not all modules from @code{base} are converted yet. The package
5008 includes a copy of the @code{monad-peel} test suite written by Anders
5010 (license license:bsd-3)))
5012 (define-public ghc-word8
5020 "https://hackage.haskell.org/package/word8/word8-"
5025 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
5026 (build-system haskell-build-system)
5028 `(("ghc-hspec" ,ghc-hspec)
5029 ("hspec-discover" ,hspec-discover)))
5030 (home-page "https://hackage.haskell.org/package/word8")
5031 (synopsis "Word8 library for Haskell")
5032 (description "Word8 library to be used with @code{Data.ByteString}.")
5033 (license license:bsd-3)))
5035 (define-public ghc-stringsearch
5037 (name "ghc-stringsearch")
5043 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
5048 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
5049 (build-system haskell-build-system)
5050 (home-page "https://bitbucket.org/dafis/stringsearch")
5051 (synopsis "Fast searching, splitting and replacing of ByteStrings")
5052 (description "This package provides several functions to quickly search
5053 for substrings in strict or lazy @code{ByteStrings}. It also provides
5054 functions for breaking or splitting on substrings and replacing all
5055 occurrences of a substring (the first in case of overlaps) with another.")
5056 (license license:bsd-3)))
5058 (define-public ghc-integer-logarithms
5060 (name "ghc-integer-logarithms")
5065 (uri (string-append "https://hackage.haskell.org/package/"
5066 "integer-logarithms/integer-logarithms-"
5070 "0w5mhak181zi6qr5h2zbcs9ymaqacisp9jwk99naz6s8zz5rq1ii"))))
5071 (build-system haskell-build-system)
5073 `(("ghc-tasty" ,ghc-tasty)
5074 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5075 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5076 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5077 ("ghc-quickcheck" ,ghc-quickcheck)
5078 ("ghc-smallcheck" ,ghc-smallcheck)))
5079 (home-page "https://github.com/phadej/integer-logarithms")
5080 (synopsis "Integer logarithms")
5082 "This package provides the following modules:
5083 @code{Math.NumberTheory.Logarithms} and
5084 @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
5085 @code{GHC.Integer.Logarithms.Compat} and
5086 @code{Math.NumberTheory.Power.Natural}, as well as some additional functions
5087 in migrated modules.")
5088 (license license:expat)))
5090 (define-public ghc-scientific
5092 (name "ghc-scientific")
5098 "https://hackage.haskell.org/package/scientific/scientific-"
5103 "0msnjz7ml0zycw9bssslxbg0nigziw7vs5km4q3vjbs8jpzpkr2w"))))
5104 (build-system haskell-build-system)
5106 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
5107 ("ghc-text" ,ghc-text)
5108 ("ghc-hashable" ,ghc-hashable)
5109 ("ghc-primitive" ,ghc-primitive)
5110 ("ghc-tasty" ,ghc-tasty)
5111 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
5112 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5113 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5114 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5115 ("ghc-smallcheck" ,ghc-smallcheck)
5116 ("ghc-quickcheck" ,ghc-quickcheck)))
5117 (home-page "https://github.com/basvandijk/scientific")
5118 (synopsis "Numbers represented using scientific notation")
5119 (description "This package provides @code{Data.Scientific}, which provides
5120 the number type @code{Scientific}. Scientific numbers are arbitrary precision
5121 and space efficient. They are represented using
5122 @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
5124 (license license:bsd-3)))
5126 (define-public ghc-boxes
5133 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
5136 (base32 "1n7xiplzd3s1a39nizwjcgsh3wi2348mp21c3fk19v98ialfjgjf"))))
5137 (build-system haskell-build-system)
5139 `(("ghc-split" ,ghc-split)
5140 ("ghc-quickcheck" ,ghc-quickcheck)))
5141 (home-page "https://hackage.haskell.org/package/boxes")
5142 (synopsis "2D text pretty-printing library")
5144 "Boxes is a pretty-printing library for laying out text in two dimensions,
5145 using a simple box model.")
5146 (license license:bsd-3)))
5148 (define-public ghc-deepseq-generics
5150 (name "ghc-deepseq-generics")
5154 (uri (string-append "https://hackage.haskell.org/package/"
5155 "deepseq-generics/deepseq-generics-"
5159 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
5160 (build-system haskell-build-system)
5162 `(("ghc-hunit" ,ghc-hunit)
5163 ("ghc-test-framework" ,ghc-test-framework)
5164 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5165 (home-page "https://github.com/hvr/deepseq-generics")
5166 (synopsis "Generic RNF implementation")
5168 "This package provides a @code{GHC.Generics}-based
5169 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
5170 providing an 'rnf' implementation.")
5171 (license license:bsd-3)))
5173 (define-public ghc-string-qq
5175 (name "ghc-string-qq")
5181 "https://hackage.haskell.org/package/string-qq/string-qq-"
5186 "0662m3i5xrdrr95w829bszkhp88mj9iy1zya54vk2sl5hz9wlmwp"))))
5187 (build-system haskell-build-system)
5188 (home-page "http://hackage.haskell.org/package/string-qq")
5190 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
5192 "This package provides a quasiquoter for non-interpolated strings, texts
5194 (license license:public-domain)))
5196 (define-public ghc-pandoc-types
5198 (name "ghc-pandoc-types")
5199 (version "1.17.5.1")
5202 (uri (string-append "https://hackage.haskell.org/package/"
5203 "pandoc-types/pandoc-types-"
5207 "1q6v2bynij724fv347mhqxdscwifzrx5jb9mq80608qf638fn717"))))
5208 (build-system haskell-build-system)
5210 `(#:configure-flags (list "--allow-newer=QuickCheck")))
5212 `(("ghc-syb" ,ghc-syb)
5213 ("ghc-aeson" ,ghc-aeson)
5214 ("ghc-string-qq" ,ghc-string-qq)))
5216 `(("ghc-quickcheck" ,ghc-quickcheck)
5217 ("ghc-test-framework" ,ghc-test-framework)
5218 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5219 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5220 ("ghc-hunit" ,ghc-hunit)))
5221 (home-page "http://johnmacfarlane.net/pandoc")
5222 (synopsis "Types for representing a structured document")
5224 "This module defines the @code{Pandoc} data structure, which is used by
5225 pandoc to represent structured documents. It also provides functions for
5226 building up, manipulating and serialising @code{Pandoc} structures.")
5227 (license license:bsd-3)))
5229 (define-public ghc-pandoc-types-for-pandoc-1
5230 (package (inherit ghc-pandoc-types)
5231 (version "1.17.0.5")
5234 (uri (string-append "https://hackage.haskell.org/package/"
5235 "pandoc-types/pandoc-types-"
5239 "1csipjdq00iiq77k2wlrg4i7afrzlh8nl585q785xzw7nn45b0n8"))))
5241 `(#:configure-flags (list "--allow-newer=QuickCheck"
5242 "--allow-newer=HUnit")))
5244 `(("ghc-syb" ,ghc-syb)
5245 ("ghc-aeson" ,ghc-aeson-for-pandoc-1)
5246 ("ghc-string-qq" ,ghc-string-qq)))))
5248 (define-public ghc-texmath
5250 (name "ghc-texmath")
5251 (version "0.10.1.1")
5254 (uri (string-append "https://hackage.haskell.org/package/"
5255 "texmath/texmath-" version ".tar.gz"))
5258 "0q2fld5mdcd6j1n3rrg3bjpndbgbn17cwg0xbnvscrpa0s767jaj"))))
5259 (build-system haskell-build-system)
5261 `(("ghc-syb" ,ghc-syb)
5262 ("ghc-network-uri" ,ghc-network-uri)
5263 ("ghc-split" ,ghc-split)
5264 ("ghc-temporary" ,ghc-temporary)
5265 ("ghc-utf8-string" ,ghc-utf8-string)
5266 ("ghc-xml" ,ghc-xml)
5267 ("ghc-parsec" ,ghc-parsec)
5268 ("ghc-mtl" ,ghc-mtl)
5269 ("ghc-pandoc-types" ,ghc-pandoc-types)))
5270 (home-page "https://github.com/jgm/texmath")
5271 (synopsis "Conversion between formats used to represent mathematics")
5273 "The texmath library provides functions to read and write TeX math,
5274 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
5275 Office). Support is also included for converting math formats to pandoc's
5276 native format (allowing conversion, via pandoc, to a variety of different
5277 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
5278 it can parse and apply LaTeX macros.")
5279 (license license:gpl2+)))
5281 (define-public ghc-texmath-for-pandoc-1
5282 (package (inherit ghc-texmath)
5286 (uri (string-append "https://hackage.haskell.org/package/"
5287 "texmath/texmath-" version ".tar.gz"))
5290 "129q33m56diiv35kdwfb07838wrg0mm88kxdqxfyl1zvf9nzkqkd"))))
5292 `(("ghc-mtl" ,ghc-mtl)
5293 ("ghc-network-uri" ,ghc-network-uri)
5294 ("ghc-pandoc-types" ,ghc-pandoc-types-for-pandoc-1)
5295 ("ghc-parsec" ,ghc-parsec)
5296 ("ghc-split" ,ghc-split)
5297 ("ghc-syb" ,ghc-syb)
5298 ("ghc-temporary" ,ghc-temporary)
5299 ("ghc-utf8-string" ,ghc-utf8-string)
5300 ("ghc-xml" ,ghc-xml)))))
5302 (define-public ghc-regex-pcre-builtin
5304 (name "ghc-regex-pcre-builtin")
5305 (version "0.94.4.8.8.35")
5308 (uri (string-append "https://hackage.haskell.org/package/"
5309 "regex-pcre-builtin/regex-pcre-builtin-"
5313 "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b"))))
5314 (build-system haskell-build-system)
5316 `(("ghc-regex-base" ,ghc-regex-base)))
5317 (home-page "https://hackage.haskell.org/package/regex-pcre")
5318 (synopsis "Enhancement of the builtin Text.Regex library")
5320 "This package is an enhancement of the @code{Text.Regex} library,
5321 providing the PCRE backend to accompany regex-base, with bundled code from
5322 @url{https://www.pcre.org}.")
5323 (license license:bsd-3)))
5325 (define-public ghc-diff
5331 (uri (string-append "https://hackage.haskell.org/package/"
5332 "Diff/Diff-" version ".tar.gz"))
5335 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
5336 (build-system haskell-build-system)
5338 `(("ghc-quickcheck" ,ghc-quickcheck)
5339 ("ghc-test-framework" ,ghc-test-framework)
5340 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5341 (home-page "https://hub.darcs.net/sterlingclover/Diff")
5342 (synopsis "O(ND) diff algorithm in Haskell")
5344 "This package provides an implementation of the standard diff algorithm,
5345 and utilities for pretty printing.")
5346 (license license:bsd-3)))
5348 (define-public ghc-highlighting-kate
5350 (name "ghc-highlighting-kate")
5354 (uri (string-append "https://hackage.haskell.org/package/"
5355 "highlighting-kate/highlighting-kate-"
5359 "03c4flh4h1jd48bx0qmplax3q8w6wj1dhbh6j0xhaf5h95fbinki"))))
5360 (build-system haskell-build-system)
5362 `(("ghc-diff" ,ghc-diff)
5363 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5365 `(("ghc-parsec" ,ghc-parsec)
5366 ("ghc-blaze-html" ,ghc-blaze-html)
5367 ("ghc-utf8-string" ,ghc-utf8-string)
5368 ("ghc-mtl" ,ghc-mtl)))
5369 (home-page "https://github.com/jgm/highlighting-kate")
5370 (synopsis "Syntax highlighting library")
5372 "Highlighting-kate is a syntax highlighting library with support for
5373 nearly one hundred languages. The syntax parsers are automatically generated
5374 from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5375 supported by Kate can be added. An (optional) command-line program is
5376 provided, along with a utility for generating new parsers from Kate XML syntax
5378 (license license:gpl2+)))
5380 (define-public ghc-cmark
5386 ;; XXX As of version 0.5.6, this package bundles libcmark 0.28.0.
5387 ;; See cbits/cmark_version.h.
5388 (uri (string-append "https://hackage.haskell.org/package/"
5389 "cmark/cmark-" version ".tar.gz"))
5392 "1c1j3a8b9qx5zk9myqm3gap8ymz7fipwrdmyfsq9wkkdr9x4np45"))))
5393 (build-system haskell-build-system)
5395 `(("ghc-text" ,ghc-text)))
5397 `(("ghc-hunit" ,ghc-hunit)))
5398 (home-page "https://github.com/jgm/commonmark-hs")
5399 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
5401 "This package provides Haskell bindings for
5402 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
5403 CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
5404 sources, and does not require prior installation of the C library.")
5405 (license license:bsd-3)))
5407 (define-public ghc-cmark-gfm
5409 (name "ghc-cmark-gfm")
5414 (uri (string-append "https://hackage.haskell.org/package/"
5415 "cmark-gfm/cmark-gfm-"
5419 "1fkisbrydmdx5h8yad09fzk8h1b1j53r02g7vb81izgdwj9b673k"))))
5420 (build-system haskell-build-system)
5422 `(("ghc-text" ,ghc-text)))
5424 `(("ghc-hunit" ,ghc-hunit)))
5425 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
5427 "Fast, accurate GitHub Flavored Markdown parser and renderer")
5429 "This package provides Haskell bindings for libcmark-gfm, the reference
5430 parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
5431 It includes sources for libcmark-gfm and does not require prior installation
5433 (license license:bsd-3)))
5435 (define-public ghc-executable-path
5437 (name "ghc-executable-path")
5441 (uri (string-append "https://hackage.haskell.org/package/"
5442 "executable-path/executable-path-"
5446 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
5447 (build-system haskell-build-system)
5448 (home-page "https://hackage.haskell.org/package/executable-path")
5449 (synopsis "Find out the full path of the executable")
5451 "The documentation of @code{System.Environment.getProgName} says that
5452 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
5453 instead, for maximum portability, we just return the leafname of the program
5454 as invoked.\" This library tries to provide the missing path.")
5455 (license license:public-domain)))
5457 (define-public ghc-enclosed-exceptions
5459 (name "ghc-enclosed-exceptions")
5463 (uri (string-append "https://hackage.haskell.org/package/"
5464 "enclosed-exceptions/enclosed-exceptions-"
5468 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
5469 (build-system haskell-build-system)
5470 ;; FIXME: one of the tests blocks forever:
5471 ;; "thread blocked indefinitely in an MVar operation"
5472 (arguments '(#:tests? #f))
5474 `(("ghc-lifted-base" ,ghc-lifted-base)
5475 ("ghc-monad-control" ,ghc-monad-control)
5476 ("ghc-async" ,ghc-async)
5477 ("ghc-transformers-base" ,ghc-transformers-base)))
5479 `(("ghc-hspec" ,ghc-hspec)
5480 ("ghc-quickcheck" ,ghc-quickcheck)))
5481 (home-page "https://github.com/jcristovao/enclosed-exceptions")
5482 (synopsis "Catch all exceptions from within an enclosed computation")
5484 "This library implements a technique to catch all exceptions raised
5485 within an enclosed computation, while remaining responsive to (external)
5486 asynchronous exceptions.")
5487 (license license:expat)))
5489 (define-public ghc-packedstring
5491 (name "ghc-packedstring")
5495 (uri (string-append "https://hackage.haskell.org/package/"
5496 "packedstring/packedstring-"
5500 "1x78pzzdlnpcmh9p37rlf8m5cxf3yqm2alf3whl4zpr9w25r0qj8"))))
5501 (build-system haskell-build-system)
5504 (modify-phases %standard-phases
5505 (add-after 'unpack 'enable-extension
5507 ;; This package won't compile without the StandaloneDeriving
5509 (substitute* "packedstring.cabal"
5510 (("CPP") "CPP, StandaloneDeriving"))
5512 (home-page "https://hackage.haskell.org/package/packedstring")
5513 (synopsis "Library for packed strings")
5515 "This deprecated library provides an implementation of packed strings.")
5516 (license license:bsd-3)))
5518 (define-public ghc-th-abstraction
5520 (name "ghc-th-abstraction")
5525 (uri (string-append "https://hackage.haskell.org/package/"
5526 "th-abstraction/th-abstraction-"
5530 "0g42h6wnj2awc5ryhbvx009wd8w75pn66bjzsq1z4s3xajd2hbp5"))))
5531 (build-system haskell-build-system)
5532 (home-page "https://github.com/glguy/th-abstraction")
5533 (synopsis "Nicer interface for reified information about data types")
5535 "This package normalizes variations in the interface for inspecting
5536 datatype information via Template Haskell so that packages and support a
5537 single, easier to use informational datatype while supporting many versions of
5539 (license license:isc)))
5541 (define-public ghc-th-lift
5543 (name "ghc-th-lift")
5547 (uri (string-append "https://hackage.haskell.org/package/"
5548 "th-lift/th-lift-" version ".tar.gz"))
5551 "0ay10b78x3969rpqqrgzy8srkl6iby2cljbf3mm17na8x22k7y1c"))))
5552 (build-system haskell-build-system)
5553 (home-page "https://github.com/mboes/th-lift")
5554 (synopsis "Derive Template Haskell's Lift class for datatypes")
5556 "This is a Haskell library to derive Template Haskell's Lift class for
5558 (license license:bsd-3)))
5560 (define-public ghc-th-lift-instances
5562 (name "ghc-th-lift-instances")
5567 (uri (string-append "https://hackage.haskell.org/package/"
5568 "th-lift-instances/th-lift-instances-"
5572 "1f56cp6ckcalld5jchv0kxpjkwcsixd7smd0g7r8cg67ppx6m90x"))))
5573 (build-system haskell-build-system)
5575 `(("ghc-th-lift" ,ghc-th-lift)
5576 ("ghc-vector" ,ghc-vector)
5577 ("ghc-text" ,ghc-text)
5578 ("ghc-quickcheck" ,ghc-quickcheck)))
5579 (home-page "https://github.com/bennofs/th-lift-instances/")
5580 (synopsis "Lift instances for template-haskell for common data types.")
5581 (description "Most data types in the Haskell platform do not have Lift
5582 instances. This package provides orphan instances for @code{containers},
5583 @code{text}, @code{bytestring} and @code{vector}.")
5584 (license license:bsd-3)))
5586 (define-public ghc-th-expand-syns
5588 (name "ghc-th-expand-syns")
5592 (uri (string-append "https://hackage.haskell.org/package/"
5593 "th-expand-syns/th-expand-syns-"
5597 "1sjy7a17zwyvlbkc8gklii67sy78wpnw35fyb00lsbnpk4cryd2r"))))
5598 (build-system haskell-build-system)
5600 `(("ghc-syb" ,ghc-syb)))
5601 (home-page "https://hackage.haskell.org/package/th-expand-syns")
5602 (synopsis "Expands type synonyms in Template Haskell ASTs")
5604 "This package enables users to expand type synonyms in Template Haskell
5605 @dfn{abstract syntax trees} (ASTs).")
5606 (license license:bsd-3)))
5608 (define-public ghc-th-reify-many
5610 (name "ghc-th-reify-many")
5614 (uri (string-append "https://hackage.haskell.org/package/"
5615 "th-reify-many/th-reify-many-"
5619 "1b76zjxkj0v0n8zj9l0nwav2irm0c43rx6qjihfw8klmmxvx59df"))))
5620 (build-system haskell-build-system)
5622 `(("ghc-mtl" ,ghc-mtl)
5623 ("ghc-safe" ,ghc-safe)
5624 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
5625 (home-page "https://github.com/mgsloan/th-reify-many")
5626 (synopsis "Recurseively reify template haskell datatype info")
5628 "th-reify-many provides functions for recursively reifying top level
5629 declarations. The main intended use case is for enumerating the names of
5630 datatypes reachable from an initial datatype, and passing these names to some
5631 function which generates instances.")
5632 (license license:bsd-3)))
5634 (define-public ghc-th-orphans
5636 (name "ghc-th-orphans")
5640 (uri (string-append "https://hackage.haskell.org/package/"
5641 "th-orphans/th-orphans-" version ".tar.gz"))
5644 "0102vkyzpgnp2fys8pvw4khrhrh2y1b8dp1slgvn020vg4s351mc"))))
5645 (build-system haskell-build-system)
5647 `(("ghc-th-lift" ,ghc-th-lift)
5648 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
5649 ("ghc-th-reify-many" ,ghc-th-reify-many)
5650 ("ghc-mtl" ,ghc-mtl)
5651 ("ghc-generic-deriving" ,ghc-generic-deriving)))
5653 `(("ghc-hspec" ,ghc-hspec)))
5654 (home-page "https://hackage.haskell.org/package/th-orphans")
5655 (synopsis "Orphan instances for TH datatypes")
5657 "This package provides orphan instances for Template Haskell datatypes. In particular,
5658 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
5659 and @code{Eq} instances. These instances used to live in the haskell-src-meta
5660 package, and that's where the version number started.")
5661 (license license:bsd-3)))
5663 (define-public ghc-geniplate-mirror
5665 (name "ghc-geniplate-mirror")
5670 (uri (string-append "https://hackage.haskell.org/package"
5672 "/geniplate-mirror-" version ".tar.gz"))
5674 (base32 "17vjps2118s5z3k39ij00lkmkxv3mqf8h59wv6qdamlgmhyr36si"))))
5675 (build-system haskell-build-system)
5676 (inputs `(("ghc-mtl" ,ghc-mtl)))
5677 (home-page "https://github.com/danr/geniplate")
5678 (synopsis "Use Template Haskell to generate Uniplate-like functions")
5680 "Use Template Haskell to generate Uniplate-like functions. This is a
5681 maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
5682 geniplate} package, written by Lennart Augustsson.")
5683 (license license:bsd-3)))
5685 (define-public ghc-gitrev
5692 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
5695 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
5696 (build-system haskell-build-system)
5697 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
5698 (home-page "https://github.com/acfoltzer/gitrev")
5699 (synopsis "Compile git revision info into Haskell projects")
5701 "This package provides some handy Template Haskell splices for including
5702 the current git hash and branch in the code of your project. This is useful
5703 for including in panic messages, @command{--version} output, or diagnostic
5704 info for more informative bug reports.")
5705 (license license:bsd-3)))
5707 (define-public ghc-haskell-src-meta
5709 (name "ghc-haskell-src-meta")
5713 (uri (string-append "https://hackage.haskell.org/package/"
5714 "haskell-src-meta/haskell-src-meta-"
5718 "12rc4v5dbbbcwdp7j8isvnm9vqpazv124j5kdfwlgwgwjhxi8ysb"))))
5719 (build-system haskell-build-system)
5721 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5722 ("ghc-syb" ,ghc-syb)
5723 ("ghc-th-orphans" ,ghc-th-orphans)))
5725 `(("ghc-hunit" ,ghc-hunit)
5726 ("ghc-test-framework" ,ghc-test-framework)
5727 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5728 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5729 (synopsis "Parse source to template-haskell abstract syntax")
5731 "This package provides tools to parse Haskell sources to the
5732 template-haskell abstract syntax.")
5733 (license license:bsd-3)))
5735 (define-public ghc-conduit
5737 (name "ghc-conduit")
5741 (uri (string-append "https://hackage.haskell.org/package/"
5742 "conduit/conduit-" version ".tar.gz"))
5745 "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v"))))
5746 (build-system haskell-build-system)
5748 `(("ghc-exceptions" ,ghc-exceptions)
5749 ("ghc-lifted-base" ,ghc-lifted-base)
5750 ("ghc-mono-traversable" ,ghc-mono-traversable)
5751 ("ghc-mmorph" ,ghc-mmorph)
5752 ("ghc-mtl" ,ghc-mtl)
5753 ("ghc-resourcet" ,ghc-resourcet)
5754 ("ghc-silently" ,ghc-silently)
5755 ("ghc-transformers-base" ,ghc-transformers-base)
5756 ("ghc-unliftio" ,ghc-unliftio)
5757 ("ghc-unliftio-core" ,ghc-unliftio-core)
5758 ("ghc-vector" ,ghc-vector)
5759 ("ghc-void" ,ghc-void)))
5761 `(("ghc-quickcheck" ,ghc-quickcheck)
5762 ("ghc-hspec" ,ghc-hspec)
5763 ("ghc-safe" ,ghc-safe)
5764 ("ghc-split" ,ghc-split)))
5765 (home-page "https://github.com/snoyberg/conduit")
5766 (synopsis "Streaming data library ")
5768 "The conduit package is a solution to the streaming data problem,
5769 allowing for production, transformation, and consumption of streams of data
5770 in constant memory. It is an alternative to lazy I/O which guarantees
5771 deterministic resource handling, and fits in the same general solution
5772 space as enumerator/iteratee and pipes.")
5773 (license license:expat)))
5775 (define-public ghc-logging-facade
5777 (name "ghc-logging-facade")
5781 (uri (string-append "https://hackage.haskell.org/package/"
5782 "logging-facade/logging-facade-"
5786 "18ldv6rsff480rqpbs3iabjpvn1fhw0i2a0g80jnhxg9ajfz5yb0"))))
5787 (build-system haskell-build-system)
5789 `(("ghc-hspec" ,ghc-hspec)
5790 ("hspec-discover" ,hspec-discover)))
5791 (home-page "https://hackage.haskell.org/package/logging-facade")
5792 (synopsis "Simple logging abstraction that allows multiple back-ends")
5794 "This package provides a simple logging abstraction that allows multiple
5796 (license license:expat)))
5798 (define-public ghc-mockery
5800 (name "ghc-mockery")
5804 (uri (string-append "https://hackage.haskell.org/package/"
5805 "mockery/mockery-" version ".tar.gz"))
5808 "1m7sq2vclgir3qbpngzl3g87ks4034blwwf7p3h02c0jlcwpl5b1"))))
5809 (build-system haskell-build-system)
5811 `(("ghc-temporary" ,ghc-temporary)
5812 ("ghc-logging-facade" ,ghc-logging-facade)
5813 ("ghc-base-compat" ,ghc-base-compat)))
5815 `(("ghc-hspec" ,ghc-hspec)
5816 ("hspec-discover" ,hspec-discover)))
5817 (home-page "https://hackage.haskell.org/package/mockery")
5818 (synopsis "Support functions for automated testing")
5820 "The mockery package provides support functions for automated testing.")
5821 (license license:expat)))
5823 (define-public ghc-yaml
5829 (uri (string-append "https://hackage.haskell.org/package/"
5830 "yaml/yaml-" version ".tar.gz"))
5833 "0swgkzkfrwj0ac7lssn8rnrdfmh3lcsdn5fbq2iwv55di6jbc0pp"))))
5834 (build-system haskell-build-system)
5836 `(("ghc-conduit" ,ghc-conduit)
5837 ("ghc-resourcet" ,ghc-resourcet)
5838 ("ghc-aeson" ,ghc-aeson)
5839 ("ghc-unordered-containers" ,ghc-unordered-containers)
5840 ("ghc-vector" ,ghc-vector)
5841 ("ghc-text" ,ghc-text)
5842 ("ghc-attoparsec" ,ghc-attoparsec)
5843 ("ghc-scientific" ,ghc-scientific)
5844 ("ghc-semigroups" ,ghc-semigroups)
5845 ("ghc-temporary" ,ghc-temporary)
5846 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
5847 ("ghc-base-compat" ,ghc-base-compat)))
5849 `(("ghc-hspec" ,ghc-hspec)
5850 ("ghc-hunit" ,ghc-hunit)
5851 ("hspec-discover" ,hspec-discover)
5852 ("ghc-mockery" ,ghc-mockery)))
5853 (home-page "https://github.com/snoyberg/yaml/")
5854 (synopsis "Parsing and rendering YAML documents")
5856 "This package provides a library to parse and render YAML documents.")
5857 (license license:bsd-3)))
5859 (define-public ghc-yaml-for-pandoc-1
5860 (package (inherit ghc-yaml)
5862 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
5863 ,@(alist-delete "ghc-aeson" (package-inputs ghc-yaml))))))
5865 (define-public ghc-filemanip
5867 (name "ghc-filemanip")
5871 (uri (string-append "https://hackage.haskell.org/package/"
5872 "filemanip/filemanip-" version ".tar.gz"))
5875 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
5876 (build-system haskell-build-system)
5878 `(("ghc-mtl" ,ghc-mtl)
5879 ("ghc-unix-compat" ,ghc-unix-compat)))
5880 (home-page "https://github.com/bos/filemanip")
5881 (synopsis "File and directory manipulation for Haskell")
5883 "This package provides a Haskell library for working with files and
5884 directories. It includes code for pattern matching, finding files, modifying
5885 file contents, and more.")
5886 (license license:bsd-3)))
5888 (define-public ghc-mmap
5894 (uri (string-append "https://hackage.haskell.org/package/"
5895 "mmap/mmap-" version ".tar.gz"))
5898 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
5899 (build-system haskell-build-system)
5900 (home-page "https://hackage.haskell.org/package/mmap")
5901 (synopsis "Memory mapped files for Haskell")
5903 "This library provides a wrapper to @code{mmap}, allowing files or
5904 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
5905 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
5906 do on-demand loading.")
5907 (license license:bsd-3)))
5909 (define-public ghc-juicypixels
5911 (name "ghc-juicypixels")
5915 (uri (string-append "https://hackage.haskell.org/package/"
5916 "JuicyPixels/JuicyPixels-"
5920 "14s57fgf6kd5n5al2kcvk1aaxbq1ph0r5h8blflrjkx83yl6r8yn"))))
5921 (build-system haskell-build-system)
5923 `(("ghc-mtl" ,ghc-mtl)
5924 ("ghc-zlib" ,ghc-zlib)
5925 ("ghc-vector" ,ghc-vector)
5926 ("ghc-primitive" ,ghc-primitive)
5927 ("ghc-mmap" ,ghc-mmap)))
5928 (home-page "https://github.com/Twinside/Juicy.Pixels")
5929 (synopsis "Picture loading and serialization library")
5931 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
5932 TIFF and GIF formats.")
5933 (license license:bsd-3)))
5935 (define-public ghc-hslua
5941 (uri (string-append "https://hackage.haskell.org/package/"
5942 "hslua/hslua-" version ".tar.gz"))
5945 "1j2zk7f7nyywg2b0n6kb2yf6ljc7cn2sk9jz0h76g3ag2b70l12n"))))
5946 (build-system haskell-build-system)
5948 `(#:configure-flags '("-fsystem-lua")))
5951 ("ghc-exceptions" ,ghc-exceptions)
5952 ("ghc-fail" ,ghc-fail)
5953 ("ghc-mtl" ,ghc-mtl)
5954 ("ghc-text" ,ghc-text)))
5956 `(("ghc-tasty" ,ghc-tasty)
5957 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
5958 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5959 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5960 ("ghc-quickcheck" ,ghc-quickcheck)
5961 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
5962 (home-page "https://hackage.haskell.org/package/hslua")
5963 (synopsis "Lua language interpreter embedding in Haskell")
5965 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
5966 described in @url{https://www.lua.org/}.")
5967 (license license:expat)))
5969 (define-public ghc-hslua-for-pandoc-1
5970 (package (inherit ghc-hslua)
5974 (uri (string-append "https://hackage.haskell.org/package/"
5975 "hslua/hslua-" version ".tar.gz"))
5978 "0gqp6qhp4v24kzv2j49kgk7bxqzw0w10x0zr0r2j9wkfavqb9wid"))))
5981 ("ghc-text" ,ghc-text)))
5983 `(("ghc-quickcheck" ,ghc-quickcheck)
5984 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
5985 ("ghc-hspec" ,ghc-hspec)
5986 ("ghc-hspec-contrib" ,ghc-hspec-contrib)
5987 ("ghc-hunit" ,ghc-hunit)
5988 ("hspec-discover" ,hspec-discover)))))
5990 (define-public ghc-hslua-module-text
5992 (name "ghc-hslua-module-text")
5997 (uri (string-append "https://hackage.haskell.org/package/"
5998 "hslua-module-text/hslua-module-text-"
6002 "0bcfpb1dhnxp0gr376ai4w7vczr9zrjl1r3r6w7kcxivfkwq9cxf"))))
6003 (build-system haskell-build-system)
6005 `(("ghc-hslua" ,ghc-hslua)
6006 ("ghc-text" ,ghc-text)))
6008 `(("ghc-tasty" ,ghc-tasty)
6009 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6010 (home-page "https://github.com/hslua/hslua-module-text")
6011 (synopsis "Lua module for text")
6013 "This package provides a UTF-8 aware subset of Lua's @code{string} module
6014 for Haskell. The functions provided by this module are @code{upper},
6015 @code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
6016 (license license:expat)))
6018 (define-public ghc-byteable
6020 (name "ghc-byteable")
6024 (uri (string-append "https://hackage.haskell.org/package/"
6025 "byteable/byteable-" version ".tar.gz"))
6028 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
6029 (build-system haskell-build-system)
6030 (home-page "https://github.com/vincenthz/hs-byteable")
6031 (synopsis "Type class for sequence of bytes")
6033 "This package provides an abstract class to manipulate sequence of bytes.
6034 The use case of this class is abstracting manipulation of types that are just
6035 wrapping a bytestring with stronger and more meaniful name.")
6036 (license license:bsd-3)))
6038 (define-public ghc-hourglass
6040 (name "ghc-hourglass")
6044 (uri (string-append "https://hackage.haskell.org/package/"
6045 "hourglass/hourglass-" version ".tar.gz"))
6048 "104d1yd84hclprg740nkz60vx589mnm094zriw6zczbgg8nkclym"))))
6049 (build-system haskell-build-system)
6051 `(("ghc-mtl" ,ghc-mtl)
6052 ("ghc-old-locale" ,ghc-old-locale)))
6054 `(("ghc-tasty" ,ghc-tasty)
6055 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6056 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6057 (home-page "https://github.com/vincenthz/hs-hourglass")
6058 (synopsis "Simple time-related library for Haskell")
6060 "This is a simple time library providing a simple but powerful and
6061 performant API. The backbone of the library are the @code{Timeable} and
6062 @code{Time} type classes. Each @code{Timeable} instances can be converted to
6063 a type that has a @code{Time} instances, and thus are different
6064 representations of current time.")
6065 (license license:bsd-3)))
6067 (define-public ghc-edit-distance
6069 (name "ghc-edit-distance")
6074 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
6075 "/edit-distance-" version ".tar.gz"))
6077 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
6078 (build-system haskell-build-system)
6080 `(#:configure-flags (list "--allow-newer=QuickCheck")))
6082 `(("ghc-random" ,ghc-random)
6083 ("ghc-test-framework" ,ghc-test-framework)
6084 ("ghc-quickcheck" ,ghc-quickcheck)
6085 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6086 (home-page "https://github.com/phadej/edit-distance")
6087 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
6089 "This package provides optimized functions to determine the edit
6090 distances for fuzzy matching, including Levenshtein and restricted
6091 Damerau-Levenshtein algorithms.")
6092 (license license:bsd-3)))
6094 (define-public ghc-memory
6100 (uri (string-append "https://hackage.haskell.org/package/"
6101 "memory/memory-" version ".tar.gz"))
6104 "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v"))))
6105 (build-system haskell-build-system)
6107 `(("ghc-basement" ,ghc-basement)
6108 ("ghc-foundation" ,ghc-foundation)))
6110 `(("ghc-tasty" ,ghc-tasty)
6111 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6112 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6113 (home-page "https://github.com/vincenthz/hs-memory")
6114 (synopsis "Memory abstractions for Haskell")
6116 "This package provides memory abstractions, such as chunk of memory,
6117 polymorphic byte array management and manipulation functions. It contains a
6118 polymorphic byte array abstraction and functions similar to strict ByteString,
6119 different type of byte array abstraction, raw memory IO operations (memory
6120 set, memory copy, ..) and more")
6121 (license license:bsd-3)))
6123 (define-public ghc-socks
6129 (uri (string-append "https://hackage.haskell.org/package/"
6130 "socks/socks-" version ".tar.gz"))
6133 "0s689w1hh9g8ifl75xhzbv96ir07hwn04b4lgvbxzl8swa9ylir6"))))
6134 (build-system haskell-build-system)
6136 `(("ghc-cereal" ,ghc-cereal)
6137 ("ghc-network" ,ghc-network)))
6138 (home-page "https://github.com/vincenthz/hs-socks")
6139 (synopsis "SOCKS proxy (version 5) implementation")
6141 "This library provides a SOCKS proxy (version 5) implementation.")
6142 (license license:bsd-3)))
6144 (define-public ghc-connection
6146 (name "ghc-connection")
6150 (uri (string-append "https://hackage.haskell.org/package/"
6151 "connection/connection-"
6155 "1c1prsgad669cmf6qrqlb5hmh0dnam2imijqzpwcr4ja14l6rh83"))))
6156 (build-system haskell-build-system)
6158 `(("ghc-byteable" ,ghc-byteable)
6159 ("ghc-data-default-class" ,ghc-data-default-class)
6160 ("ghc-network" ,ghc-network)
6161 ("ghc-tls" ,ghc-tls)
6162 ("ghc-socks" ,ghc-socks)
6163 ("ghc-x509" ,ghc-x509)
6164 ("ghc-x509-store" ,ghc-x509-store)
6165 ("ghc-x509-system" ,ghc-x509-system)
6166 ("ghc-x509-validation" ,ghc-x509-validation)))
6167 (home-page "https://github.com/vincenthz/hs-connection")
6168 (synopsis "Simple and easy network connections API")
6170 "This package provides a simple network library for all your connection
6171 needs. It provides a very simple API to create sockets to a destination with
6172 the choice of SSL/TLS, and SOCKS.")
6173 (license license:bsd-3)))
6175 (define-public ghc-skylighting
6177 (name "ghc-skylighting")
6181 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
6182 version "/skylighting-" version ".tar.gz"))
6185 "0l5lhhqqlfaq1fs7pn3n3b25kmazk8p4ahwvhagbrhcbm5hsigdg"))))
6186 (build-system haskell-build-system)
6188 `(("ghc-aeson" ,ghc-aeson)
6189 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6190 ("ghc-attoparsec" ,ghc-attoparsec)
6191 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6192 ("ghc-blaze-html" ,ghc-blaze-html)
6193 ("ghc-case-insensitive" ,ghc-case-insensitive)
6194 ("ghc-colour" ,ghc-colour)
6195 ("ghc-diff" ,ghc-diff)
6196 ("ghc-hxt" ,ghc-hxt)
6197 ("ghc-mtl" ,ghc-mtl)
6198 ("ghc-pretty-show" ,ghc-pretty-show)
6199 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6200 ("ghc-safe" ,ghc-safe)
6201 ("ghc-text" ,ghc-text)
6202 ("ghc-utf8-string" ,ghc-utf8-string)))
6204 `(("ghc-hunit" ,ghc-hunit)
6205 ("ghc-quickcheck" ,ghc-quickcheck)
6206 ("ghc-tasty" ,ghc-tasty)
6207 ("ghc-tasty-golden" ,ghc-tasty-golden)
6208 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6209 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6210 (home-page "https://hackage.haskell.org/package/skylighting")
6211 (synopsis "Syntax highlighting library")
6212 (description "Skylighting is a syntax highlighting library with support
6213 for over one hundred languages. It derives its tokenizers from XML syntax
6214 definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
6215 supported by that framework can be added. An optional command-line program is
6216 provided. Skylighting is intended to be the successor to highlighting-kate.")
6217 (license license:gpl2)))
6219 (define-public ghc-skylighting-for-pandoc-1
6220 (package (inherit ghc-skylighting)
6224 ;; We take the sources from Github, because the tarball on
6225 ;; hackage does not include the XML files.
6227 (url "https://github.com/jgm/skylighting.git")
6229 (file-name (string-append "ghc-skylighting-" version "-checkout"))
6232 "0z3yv8v2fqqgv6lsf0ff3ld0h2vkg97b2jiry9wn2f1rizwdqmzl"))))
6234 `(#:configure-flags '("-fbootstrap")
6236 (modify-phases %standard-phases
6237 ;; After building the skylighting-extract tool we use it to generate
6238 ;; syntax source files from the included XML files. These are then
6239 ;; added to the skylighting.cabal file.
6240 (add-after 'build 'extract-xml
6242 (make-file-writable "skylighting.cabal")
6243 (apply invoke "./dist/build/skylighting-extract/skylighting-extract"
6244 (find-files "xml" "\\.xml$"))
6246 ;; Reconfigure without bootstrap flag
6247 (add-after 'extract-xml 'configure-again
6248 (lambda* (#:key outputs inputs tests? #:allow-other-keys)
6249 ((assoc-ref %standard-phases 'configure)
6253 #:configure-flags '("-f-bootstrap"))))
6254 (add-after 'configure-again 'build-again
6255 (assoc-ref %standard-phases 'build)))))
6257 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6258 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6259 ("ghc-blaze-html" ,ghc-blaze-html)
6260 ("ghc-case-insensitive" ,ghc-case-insensitive)
6261 ("ghc-diff" ,ghc-diff)
6262 ("ghc-hxt" ,ghc-hxt)
6263 ("ghc-mtl" ,ghc-mtl)
6264 ("ghc-pretty-show" ,ghc-pretty-show)
6265 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6266 ("ghc-safe" ,ghc-safe)
6267 ("ghc-text" ,ghc-text)
6268 ("ghc-utf8-string" ,ghc-utf8-string)))))
6270 (define-public ghc-doctemplates
6272 (name "ghc-doctemplates")
6277 (uri (string-append "https://hackage.haskell.org/package/"
6278 "doctemplates/doctemplates-"
6282 "1bfs2kl5j5al2w2y4qpbn68p0xsnb65r7h51l356kpkzc326646p"))))
6283 (build-system haskell-build-system)
6285 `(("ghc-aeson" ,ghc-aeson)
6286 ("ghc-blaze-markup" ,ghc-blaze-markup)
6287 ("ghc-blaze-html" ,ghc-blaze-html)
6288 ("ghc-text" ,ghc-text)
6289 ("ghc-vector" ,ghc-vector)
6290 ("ghc-parsec" ,ghc-parsec)
6291 ("ghc-unordered-containers" ,ghc-unordered-containers)
6292 ("ghc-scientific" ,ghc-scientific)))
6294 `(("ghc-hspec" ,ghc-hspec)))
6295 (home-page "https://github.com/jgm/doctemplates#readme")
6296 (synopsis "Pandoc-style document templates")
6298 "This package provides a simple text templating system used by pandoc.")
6299 (license license:bsd-3)))
6301 (define-public ghc-doctemplates-for-pandoc-1
6302 (package (inherit ghc-doctemplates)
6307 (uri (string-append "https://hackage.haskell.org/package/"
6308 "doctemplates/doctemplates-"
6312 "0swal6rjya1293mwvl63jch5fx9ghpsil7qs4v7rpansa0izalmp"))))
6313 (build-system haskell-build-system)
6315 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6316 ("ghc-blaze-markup" ,ghc-blaze-markup)
6317 ("ghc-blaze-html" ,ghc-blaze-html)
6318 ("ghc-text" ,ghc-text)
6319 ("ghc-vector" ,ghc-vector)
6320 ("ghc-parsec" ,ghc-parsec)
6321 ("ghc-unordered-containers" ,ghc-unordered-containers)
6322 ("ghc-scientific" ,ghc-scientific)))))
6324 (define-public ghc-pandoc
6331 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6335 "1dqin92w513l7whg5wdgrngnxsj5mb8gppfvn7kjgyv2pdgpy0zy"))))
6336 (build-system haskell-build-system)
6338 `(("ghc-aeson" ,ghc-aeson)
6339 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6340 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6341 ("ghc-blaze-html" ,ghc-blaze-html)
6342 ("ghc-blaze-markup" ,ghc-blaze-markup)
6343 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
6344 ("ghc-data-default" ,ghc-data-default)
6345 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6346 ("ghc-diff" ,ghc-diff)
6347 ("ghc-doctemplates" ,ghc-doctemplates)
6348 ("ghc-executable-path" ,ghc-executable-path)
6349 ("ghc-glob" ,ghc-glob)
6350 ("ghc-haddock-library" ,ghc-haddock-library)
6351 ("ghc-hslua" ,ghc-hslua)
6352 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
6353 ("ghc-http" ,ghc-http)
6354 ("ghc-http-client" ,ghc-http-client)
6355 ("ghc-http-client-tls" ,ghc-http-client-tls)
6356 ("ghc-http-types" ,ghc-http-types)
6357 ("ghc-juicypixels" ,ghc-juicypixels)
6358 ("ghc-mtl" ,ghc-mtl)
6359 ("ghc-network" ,ghc-network)
6360 ("ghc-network-uri" ,ghc-network-uri)
6361 ("ghc-old-locale" ,ghc-old-locale)
6362 ("ghc-pandoc-types" ,ghc-pandoc-types)
6363 ("ghc-parsec" ,ghc-parsec)
6364 ("ghc-random" ,ghc-random)
6365 ("ghc-scientific" ,ghc-scientific)
6366 ("ghc-sha" ,ghc-sha)
6367 ("ghc-skylighting" ,ghc-skylighting)
6368 ("ghc-split" ,ghc-split)
6369 ("ghc-syb" ,ghc-syb)
6370 ("ghc-tagsoup" ,ghc-tagsoup)
6371 ("ghc-temporary" ,ghc-temporary)
6372 ("ghc-texmath" ,ghc-texmath)
6373 ("ghc-text" ,ghc-text)
6374 ("ghc-unordered-containers" ,ghc-unordered-containers)
6375 ("ghc-vector" ,ghc-vector)
6376 ("ghc-xml" ,ghc-xml)
6377 ("ghc-yaml" ,ghc-yaml)
6378 ("ghc-zip-archive" ,ghc-zip-archive)
6379 ("ghc-zlib" ,ghc-zlib)))
6381 `(("ghc-tasty" ,ghc-tasty)
6382 ("ghc-tasty-golden" ,ghc-tasty-golden)
6383 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6384 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6385 ("ghc-quickcheck" ,ghc-quickcheck)
6386 ("ghc-hunit" ,ghc-hunit)))
6387 (home-page "https://pandoc.org")
6388 (synopsis "Conversion between markup formats")
6390 "Pandoc is a Haskell library for converting from one markup format to
6391 another, and a command-line tool that uses this library. It can read and
6392 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
6393 LaTeX, DocBook, and many more.
6395 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
6396 definition lists, tables, and other features. A compatibility mode is
6397 provided for those who need a drop-in replacement for Markdown.pl.")
6398 (license license:gpl2+)))
6400 ;; This is the last version of Pandoc 1.x, which is preferred for Rmarkdown.
6401 (define-public ghc-pandoc-1
6402 (package (inherit ghc-pandoc)
6403 (version "1.19.2.4")
6407 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6411 "0mim429mpakrcnm50csxyqk3ljcx2l26r5grk6w9isnggwgqrq5v"))))
6413 `(#:configure-flags (list "--allow-newer=skylighting")))
6415 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6416 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6417 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6418 ("ghc-blaze-html" ,ghc-blaze-html)
6419 ("ghc-blaze-markup" ,ghc-blaze-markup)
6420 ("ghc-cmark" ,ghc-cmark)
6421 ("ghc-data-default" ,ghc-data-default)
6422 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6423 ("ghc-diff" ,ghc-diff)
6424 ("ghc-doctemplates" ,ghc-doctemplates-for-pandoc-1)
6425 ("ghc-executable-path" ,ghc-executable-path)
6426 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
6427 ("ghc-filemanip" ,ghc-filemanip)
6428 ("ghc-haddock-library" ,ghc-haddock-library)
6429 ("ghc-hslua" ,ghc-hslua-for-pandoc-1)
6430 ("ghc-http" ,ghc-http)
6431 ("ghc-http-client" ,ghc-http-client)
6432 ("ghc-http-client-tls" ,ghc-http-client-tls)
6433 ("ghc-http-types" ,ghc-http-types)
6434 ("ghc-juicypixels" ,ghc-juicypixels)
6435 ("ghc-mtl" ,ghc-mtl)
6436 ("ghc-network" ,ghc-network)
6437 ("ghc-network-uri" ,ghc-network-uri)
6438 ("ghc-old-time" ,ghc-old-time)
6439 ("ghc-pandoc-types" ,ghc-pandoc-types-for-pandoc-1)
6440 ("ghc-parsec" ,ghc-parsec)
6441 ("ghc-random" ,ghc-random)
6442 ("ghc-scientific" ,ghc-scientific)
6443 ("ghc-sha" ,ghc-sha)
6444 ("ghc-skylighting" ,ghc-skylighting-for-pandoc-1)
6445 ("ghc-syb" ,ghc-syb)
6446 ("ghc-tagsoup" ,ghc-tagsoup)
6447 ("ghc-temporary" ,ghc-temporary)
6448 ("ghc-texmath" ,ghc-texmath-for-pandoc-1)
6449 ("ghc-text" ,ghc-text)
6450 ("ghc-unordered-containers" ,ghc-unordered-containers)
6451 ("ghc-vector" ,ghc-vector)
6452 ("ghc-xml" ,ghc-xml)
6453 ("ghc-yaml" ,ghc-yaml-for-pandoc-1)
6454 ("ghc-zip-archive" ,ghc-zip-archive)
6455 ("ghc-zlib" ,ghc-zlib)))
6457 `(("ghc-test-framework" ,ghc-test-framework)
6458 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6459 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))))
6461 (define-public ghc-hs-bibutils
6463 (name "ghc-hs-bibutils")
6469 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6473 "0c56sjgg82kjcg5rrplnyn7vf02ccsj3kkcbgc87zxlv0j880rjb"))))
6474 (build-system haskell-build-system)
6475 (inputs `(("ghc-syb" ,ghc-syb)))
6476 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6477 (synopsis "Haskell bindings to bibutils")
6479 "This package provides Haskell bindings to @code{bibutils}, a library
6480 that interconverts between various bibliography formats using a common
6481 MODS-format XML intermediate.")
6482 (license license:gpl2+)))
6484 (define-public ghc-rfc5051
6486 (name "ghc-rfc5051")
6491 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
6492 "rfc5051-" version ".tar.gz"))
6495 "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3"))))
6496 (build-system haskell-build-system)
6497 (home-page "https://hackage.haskell.org/package/rfc5051")
6498 (synopsis "Simple unicode collation as per RFC5051")
6500 "This library implements @code{unicode-casemap}, the simple, non
6501 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
6502 unicode collation can be done using @code{text-icu}, but that is a big
6503 dependency that depends on a large C library, and @code{rfc5051} might be
6504 better for some purposes.")
6505 (license license:bsd-3)))
6507 (define-public ghc-typed-process
6509 (name "ghc-typed-process")
6514 (uri (string-append "https://hackage.haskell.org/package/"
6515 "typed-process/typed-process-"
6519 "0c6gvgvjyncbni9a5bvpbglknd4yclr3d3hfg9bhgahmkj40dva2"))))
6520 (build-system haskell-build-system)
6522 `(("ghc-async" ,ghc-async)
6523 ("ghc-stm" ,ghc-stm)))
6525 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
6526 ("ghc-hspec" ,ghc-hspec)
6527 ("hspec-discover" ,hspec-discover)
6528 ("ghc-temporary" ,ghc-temporary)))
6529 (home-page "https://haskell-lang.org/library/typed-process")
6530 (synopsis "Run external processes with strong typing of streams")
6532 "This library provides the ability to launch and interact with external
6533 processes. It wraps around the @code{process} library, and intends to improve
6535 (license license:expat)))
6537 (define-public ghc-conduit-extra
6539 (name "ghc-conduit-extra")
6544 (uri (string-append "https://hackage.haskell.org/package/"
6545 "conduit-extra/conduit-extra-"
6549 "1bi2b6kdzy5f9glq46jzsk02has95jkxqz0cchpbmnakzhjwjh9c"))))
6550 (build-system haskell-build-system)
6552 `(("ghc-conduit" ,ghc-conduit)
6553 ("ghc-exceptions" ,ghc-exceptions)
6554 ("ghc-monad-control" ,ghc-monad-control)
6555 ("ghc-text" ,ghc-text)
6556 ("ghc-transformers-base" ,ghc-transformers-base)
6557 ("ghc-typed-process" ,ghc-typed-process)
6558 ("ghc-async" ,ghc-async)
6559 ("ghc-attoparsec" ,ghc-attoparsec)
6560 ("ghc-blaze-builder" ,ghc-blaze-builder)
6561 ("ghc-network" ,ghc-network)
6562 ("ghc-primitive" ,ghc-primitive)
6563 ("ghc-resourcet" ,ghc-resourcet)
6564 ("ghc-stm" ,ghc-stm)
6565 ("ghc-streaming-commons" ,ghc-streaming-commons)
6566 ("ghc-hspec" ,ghc-hspec)
6567 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6568 ("ghc-quickcheck" ,ghc-quickcheck)))
6570 `(("hspec-discover" ,hspec-discover)))
6571 (home-page "https://github.com/snoyberg/conduit")
6572 (synopsis "Conduit adapters for common libraries")
6574 "The @code{conduit} package itself maintains relative small dependencies.
6575 The purpose of this package is to collect commonly used utility functions
6576 wrapping other library dependencies, without depending on heavier-weight
6577 dependencies. The basic idea is that this package should only depend on
6578 @code{haskell-platform} packages and @code{conduit}.")
6579 (license license:expat)))
6581 (define-public ghc-xml-types
6583 (name "ghc-xml-types")
6588 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
6589 "xml-types-" version ".tar.gz"))
6592 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
6593 (build-system haskell-build-system)
6594 (inputs `(("ghc-text" ,ghc-text)))
6595 (home-page "https://john-millikin.com/software/haskell-xml/")
6596 (synopsis "Basic types for representing XML")
6597 (description "This package provides basic types for representing XML
6599 (license license:expat)))
6601 (define-public ghc-xml-conduit
6603 (name "ghc-xml-conduit")
6608 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
6609 "xml-conduit-" version ".tar.gz"))
6612 "0n4k0rq9j5cc9kdvj9xbx8gmiqlyk5x6pw8yxzw5wfsw7qkych2s"))))
6613 (build-system haskell-build-system)
6615 `(("ghc-conduit" ,ghc-conduit)
6616 ("ghc-conduit-extra" ,ghc-conduit-extra)
6617 ("ghc-resourcet" ,ghc-resourcet)
6618 ("ghc-text" ,ghc-text)
6619 ("ghc-xml-types" ,ghc-xml-types)
6620 ("ghc-attoparsec" ,ghc-attoparsec)
6621 ("ghc-data-default-class" ,ghc-data-default-class)
6622 ("ghc-blaze-markup" ,ghc-blaze-markup)
6623 ("ghc-blaze-html" ,ghc-blaze-html)
6624 ("ghc-monad-control" ,ghc-monad-control)
6625 ("ghc-hspec" ,ghc-hspec)
6626 ("ghc-hunit" ,ghc-hunit)))
6627 (home-page "https://github.com/snoyberg/xml")
6628 (synopsis "Utilities for dealing with XML with the conduit package")
6630 "This package provides pure-Haskell utilities for dealing with XML with
6631 the @code{conduit} package.")
6632 (license license:expat)))
6634 (define-public ghc-pandoc-citeproc
6636 (name "ghc-pandoc-citeproc")
6637 (version "0.12.2.5")
6641 (uri (string-append "https://hackage.haskell.org/package/"
6642 "pandoc-citeproc/pandoc-citeproc-"
6646 "1l58nbflcnlznc93qimkk7ghk2gv8kipf45zf88piqa2zys41yyx"))))
6647 (build-system haskell-build-system)
6650 (modify-phases %standard-phases
6651 ;; Tests need to be run after installation.
6653 (add-after 'install 'post-install-check
6654 (assoc-ref %standard-phases 'check)))))
6656 `(("ghc-mtl" ,ghc-mtl)
6657 ("ghc-pandoc-types" ,ghc-pandoc-types)
6658 ("ghc-pandoc" ,ghc-pandoc)
6659 ("ghc-tagsoup" ,ghc-tagsoup)
6660 ("ghc-aeson" ,ghc-aeson)
6661 ("ghc-text" ,ghc-text)
6662 ("ghc-vector" ,ghc-vector)
6663 ("ghc-xml-conduit" ,ghc-xml-conduit)
6664 ("ghc-unordered-containers" ,ghc-unordered-containers)
6665 ("ghc-data-default" ,ghc-data-default)
6666 ("ghc-setenv" ,ghc-setenv)
6667 ("ghc-split" ,ghc-split)
6668 ("ghc-yaml" ,ghc-yaml)
6669 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
6670 ("ghc-rfc5051" ,ghc-rfc5051)
6671 ("ghc-syb" ,ghc-syb)
6672 ("ghc-parsec" ,ghc-parsec)
6673 ("ghc-old-locale" ,ghc-old-locale)
6674 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6675 ("ghc-attoparsec" ,ghc-attoparsec)
6676 ("ghc-temporary" ,ghc-temporary)))
6677 (home-page "https://github.com/jgm/pandoc-citeproc")
6678 (synopsis "Library for using pandoc with citeproc")
6680 "The @code{pandoc-citeproc} library exports functions for using the
6681 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
6682 rendering bibliographic reference citations into a variety of styles using a
6683 macro language called @dfn{Citation Style Language} (CSL). This package also
6684 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
6685 and also has a mode for converting bibliographic databases a YAML format
6686 suitable for inclusion in pandoc YAML metadata.")
6687 (license license:bsd-3)))
6689 (define-public ghc-pandoc-citeproc-with-pandoc-1
6691 (package-input-rewriting
6692 `((,ghc-aeson . ,ghc-aeson-for-pandoc-1)
6693 (,ghc-yaml . ,ghc-yaml-for-pandoc-1)
6694 (,ghc-texmath . ,ghc-texmath-for-pandoc-1)
6695 (,ghc-pandoc-types . ,ghc-pandoc-types-for-pandoc-1)
6696 (,ghc-hslua . ,ghc-hslua-for-pandoc-1)
6697 (,ghc-skylighting . ,ghc-skylighting-for-pandoc-1)
6698 (,ghc-doctemplates . ,ghc-doctemplates-for-pandoc-1)
6699 (,ghc-pandoc . ,ghc-pandoc-1)))))
6700 (for-pandoc-1 ghc-pandoc-citeproc)))
6702 (define-public ghc-union-find
6704 (name "ghc-union-find")
6709 "https://hackage.haskell.org/package/union-find/union-find-"
6713 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
6714 (build-system haskell-build-system)
6715 (home-page "https://github.com/nominolo/union-find")
6716 (synopsis "Efficient union and equivalence testing of sets")
6718 "The Union/Find algorithm implements these operations in (effectively)
6721 @item Check whether two elements are in the same equivalence class.
6722 @item Create a union of two equivalence classes.
6723 @item Look up the descriptor of the equivalence class.
6725 (license license:bsd-3)))
6727 (define-public ghc-base16-bytestring
6729 (name "ghc-base16-bytestring")
6735 "https://hackage.haskell.org/package/base16-bytestring/"
6736 "base16-bytestring-" version ".tar.gz"))
6739 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
6740 (build-system haskell-build-system)
6741 (home-page "https://github.com/bos/base16-bytestring")
6742 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
6744 "This package provides a Haskell library for working with base16-encoded
6745 data quickly and efficiently, using the ByteString type.")
6746 (license license:bsd-3)))
6748 (define-public ghc-data-ordlist
6750 (name "ghc-data-ordlist")
6756 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
6760 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
6761 (build-system haskell-build-system)
6762 (home-page "https://hackage.haskell.org/package/data-ordlist")
6763 (synopsis "Set and bag operations on ordered lists")
6765 "This module provides set and multiset operations on ordered lists.")
6766 (license license:bsd-3)))
6768 (define-public ghc-regex-applicative
6770 (name "ghc-regex-applicative")
6776 "https://hackage.haskell.org/package/regex-applicative/"
6777 "regex-applicative-" version ".tar.gz"))
6780 "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
6781 (build-system haskell-build-system)
6783 `(("ghc-smallcheck" ,ghc-smallcheck)
6784 ("ghc-tasty" ,ghc-tasty)
6785 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
6786 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6787 (home-page "https://github.com/feuerbach/regex-applicative")
6788 (synopsis "Regex-based parsing with applicative interface")
6790 "@code{regex-applicative} is a Haskell library for parsing using
6791 regular expressions. Parsers can be built using Applicative interface.")
6792 (license license:expat)))
6794 (define-public ghc-regex-tdfa
6796 (name "ghc-regex-tdfa")
6802 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
6806 "0f8x8wyr6m21g8dnxvnvalz5bsq37l125l6qhs0fscbvprsxc4nb"))))
6807 (build-system haskell-build-system)
6809 `(("ghc-mtl" ,ghc-mtl)
6810 ("ghc-parsec" ,ghc-parsec)
6811 ("ghc-regex-base" ,ghc-regex-base)))
6812 (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
6813 (synopsis "POSIX extended regular expressions in Haskell.")
6815 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
6816 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
6817 inspired by libtre.")
6818 (license license:bsd-3)))
6820 (define-public ghc-regex-compat-tdfa
6822 (name "ghc-regex-compat-tdfa")
6823 (version "0.95.1.4")
6828 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
6832 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
6833 (build-system haskell-build-system)
6835 `(("ghc-regex-base" ,ghc-regex-base)
6836 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
6837 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
6838 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
6840 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
6841 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
6842 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
6844 (license license:bsd-3)))
6846 (define-public ghc-sandi
6849 (version "0.4.0") ; darcs-2.12.4 needs == 0.4.*
6854 "https://hackage.haskell.org/package/sandi/sandi-"
6858 "1smf3bq44qni4zbgxpw7cy7b9g95fbrr73j8njjf6139naj9bj20"))))
6859 (build-system haskell-build-system)
6861 `(("ghc-stringsearch" ,ghc-stringsearch)
6862 ("ghc-conduit" ,ghc-conduit)
6863 ("ghc-exceptions" ,ghc-exceptions)
6864 ("ghc-hunit" ,ghc-hunit)
6865 ("ghc-tasty" ,ghc-tasty)
6866 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6867 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6868 ("ghc-tasty-th" ,ghc-tasty-th)))
6869 (home-page "https://hackage.haskell.org/package/sandi")
6870 (synopsis "Data encoding library")
6871 (description "Reasonably fast data encoding library.")
6872 (license license:bsd-3)))
6874 (define-public ghc-bytestring-handle
6876 (name "ghc-bytestring-handle")
6882 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
6886 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
6887 (build-system haskell-build-system)
6889 `(("ghc-hunit" ,ghc-hunit)
6890 ("ghc-quickcheck" ,ghc-quickcheck)
6891 ("ghc-test-framework" ,ghc-test-framework)
6892 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6893 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6894 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
6895 (synopsis "ByteString-backed Handles")
6896 (description "ByteString-backed Handles") ; There is no description
6897 (license license:bsd-3)))
6899 (define-public ghc-tar
6907 "https://hackage.haskell.org/package/tar/tar-"
6911 "18qq94j9bm91iswnxq2dm5dws5c7wm4k01q2rpf8py35cf3svnfq"))))
6912 (build-system haskell-build-system)
6913 ;; FIXME: 2/24 tests fail.
6914 (arguments `(#:tests? #f))
6916 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
6917 ("ghc-quickcheck" ,ghc-quickcheck)
6918 ("ghc-tasty" ,ghc-tasty)
6919 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6920 (home-page "https://hackage.haskell.org/package/tar")
6921 (synopsis "Reading, writing and manipulating \".tar\" archive files")
6923 "This library is for working with \\\"@.tar@\\\" archive files.
6924 It can read and write a range of common variations of the tar archive format
6925 including V7, POSIX USTAR and GNU formats. It provides support for packing and
6926 unpacking portable archives. This makes it suitable for distribution but not
6927 backup because details like file ownership and exact permissions are not
6928 preserved. It also provides features for random access to archive content using
6930 (license license:bsd-3)))
6932 (define-public ghc-stmonadtrans
6934 (name "ghc-stmonadtrans")
6939 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
6940 "/STMonadTrans-" version ".tar.gz"))
6942 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
6943 (build-system haskell-build-system)
6945 `(("ghc-mtl" ,ghc-mtl)))
6946 (home-page "https://hackage.haskell.org/package/STMonadTrans")
6947 (synopsis "Monad transformer version of the ST monad")
6949 "This package provides a monad transformer version of the @code{ST} monad
6950 for strict state threads.")
6951 (license license:bsd-3)))
6953 (define-public ghc-findbin
6955 (name "ghc-findbin")
6961 "https://hackage.haskell.org/package/FindBin/FindBin-"
6965 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
6966 (build-system haskell-build-system)
6967 (home-page "https://github.com/audreyt/findbin")
6968 (synopsis "Get the absolute path of the running program")
6970 "This module locates the full directory of the running program, to allow
6971 the use of paths relative to it. FindBin supports invocation of Haskell
6972 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
6974 (license license:bsd-3)))
6976 (define-public ghc-patience
6978 (name "ghc-patience")
6984 "https://hackage.haskell.org/package/patience/patience-"
6988 "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
6989 (build-system haskell-build-system)
6990 (home-page "https://hackage.haskell.org/package/patience")
6991 (synopsis "Patience diff and longest increasing subsequence")
6993 "This library implements the 'patience diff' algorithm, as well as the
6994 patience algorithm for the longest increasing subsequence problem.
6995 Patience diff computes the difference between two lists, for example the lines
6996 of two versions of a source file. It provides a good balance between
6997 performance, nice output for humans, and simplicity of implementation.")
6998 (license license:bsd-3)))
7000 (define-public ghc-monads-tf
7002 (name "ghc-monads-tf")
7008 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7012 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7013 (build-system haskell-build-system)
7014 (home-page "https://hackage.haskell.org/package/monads-tf")
7015 (synopsis "Monad classes, using type families")
7017 "Monad classes using type families, with instances for various monad transformers,
7018 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7019 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7020 the @code{mtl-tf} package.")
7021 (license license:bsd-3)))
7023 (define-public ghc-colour
7031 "https://hackage.haskell.org/package/colour/colour-"
7035 "1qmn1778xzg07jg9nx4k1spdz2llivpblf6wwrps1qpqjhsac5cd"))))
7036 (build-system haskell-build-system)
7037 (home-page "https://www.haskell.org/haskellwiki/Colour")
7038 (synopsis "Model for human colour perception")
7040 "This package provides a data type for colours and transparency.
7041 Colours can be blended and composed. Various colour spaces are
7042 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
7043 (license license:expat)))
7045 (define-public ghc-wl-pprint-text
7047 (name "ghc-wl-pprint-text")
7053 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
7057 "1xgizzimfw17mpmw2afvmnvyag976j8ggn7k5r564rkw9f0m6bgz"))))
7058 (build-system haskell-build-system)
7060 `(("ghc-text" ,ghc-text)))
7061 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
7062 (synopsis "Wadler/Leijen Pretty Printer for Text values")
7064 "A clone of wl-pprint for use with the text library.")
7065 (license license:bsd-3)))
7067 (define-public ghc-fgl-arbitrary
7069 (name "ghc-fgl-arbitrary")
7075 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
7079 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
7080 (build-system haskell-build-system)
7082 `(#:configure-flags (list "--allow-newer=QuickCheck")))
7084 `(("ghc-fgl" ,ghc-fgl)
7085 ("ghc-quickcheck" ,ghc-quickcheck)
7086 ("ghc-hspec" ,ghc-hspec)))
7087 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
7088 (synopsis "QuickCheck support for fgl")
7090 "Provides Arbitrary instances for fgl graphs to avoid adding a
7091 QuickCheck dependency for fgl whilst still making the instances
7092 available to others. Also available are non-fgl-specific functions
7093 for generating graph-like data structures.")
7094 (license license:bsd-3)))
7096 (define-public ghc-graphviz
7098 (name "ghc-graphviz")
7099 (version "2999.18.1.2")
7102 (uri (string-append "https://hackage.haskell.org/package/"
7103 "graphviz/graphviz-" version ".tar.gz"))
7106 "1z453is01v0rnxlv6xx4iyaqv5vrp3bpz829mpv1a341sck2135h"))))
7107 (build-system haskell-build-system)
7109 `(#:configure-flags (list "--allow-newer=QuickCheck")))
7111 `(("ghc-quickcheck" ,ghc-quickcheck)
7112 ("ghc-colour" ,ghc-colour)
7113 ("ghc-dlist" ,ghc-dlist)
7114 ("ghc-fgl" ,ghc-fgl)
7115 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
7116 ("ghc-polyparse" ,ghc-polyparse)
7117 ("ghc-temporary" ,ghc-temporary)
7118 ("ghc-text" ,ghc-text)
7119 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
7120 (home-page "https://hackage.haskell.org/package/graphviz")
7121 (synopsis "Bindings to Graphviz for graph visualisation")
7123 "This library provides bindings for the Dot language used by
7124 the @uref{https://graphviz.org/, Graphviz} suite of programs for
7125 visualising graphs, as well as functions to call those programs.
7126 Main features of the graphviz library include:
7129 @item Almost complete coverage of all Graphviz attributes and syntax
7130 @item Support for specifying clusters
7131 @item The ability to use a custom node type
7132 @item Functions for running a Graphviz layout tool with all specified output types
7133 @item Generate and parse Dot code with two options: strict and liberal
7134 @item Functions to convert FGL graphs and other graph-like data structures
7135 @item Round-trip support for passing an FGL graph through Graphviz to augment node
7136 and edge labels with positional information, etc.
7138 (license license:bsd-3)))
7140 (define-public ghc-constraints
7142 (name "ghc-constraints")
7148 "https://hackage.haskell.org/package/constraints/constraints-"
7152 "120mmv9rwbahslisc1z8zx9lw7v6hl5fzid4l0hiy5as6ijqgl2c"))))
7153 (build-system haskell-build-system)
7155 `(("ghc-hashable" ,ghc-hashable)
7156 ("ghc-mtl" ,ghc-mtl)
7157 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7158 (home-page "https://github.com/ekmett/constraints/")
7159 (synopsis "Constraint manipulation")
7161 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
7162 They stopped crashing the compiler in GHC 7.6. This package provides
7163 a vocabulary for working with them.")
7164 (license license:bsd-3)))
7166 (define-public ghc-lifted-async
7168 (name "ghc-lifted-async")
7174 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7178 "00fnwfcnc6niq9jbbb9rap9rkdgv5qhcglwanzc5fi8834j94c1r"))))
7179 (build-system haskell-build-system)
7181 `(("ghc-async" ,ghc-async)
7182 ("ghc-lifted-base" ,ghc-lifted-base)
7183 ("ghc-transformers-base" ,ghc-transformers-base)
7184 ("ghc-monad-control" ,ghc-monad-control)
7185 ("ghc-constraints" ,ghc-constraints)
7186 ("ghc-hunit" ,ghc-hunit)
7187 ("ghc-mtl" ,ghc-mtl)
7188 ("ghc-tasty" ,ghc-tasty)
7189 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7190 ("ghc-tasty-th" ,ghc-tasty-th)))
7191 (home-page "https://github.com/maoe/lifted-async")
7192 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7194 "This package provides IO operations from @code{async} package lifted to any
7195 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7196 (license license:bsd-3)))
7198 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
7199 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
7200 ;; which depends on ghc-chell and ghc-chell-quickcheck.
7201 ;; Therefore we bootstrap it with tests disabled.
7202 (define ghc-system-filepath-bootstrap
7204 (name "ghc-system-filepath-bootstrap")
7205 (version "0.4.13.4")
7210 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7214 "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l"))))
7215 (build-system haskell-build-system)
7219 `(("ghc-text" ,ghc-text)
7220 ("ghc-quickcheck" ,ghc-quickcheck)))
7221 (home-page "https://github.com/fpco/haskell-filesystem")
7222 (synopsis "High-level, byte-based file and directory path manipulations")
7224 "Provides a FilePath datatype and utility functions for operating on it.
7225 Unlike the filepath package, this package does not simply reuse String,
7226 increasing type safety.")
7227 (license license:expat)))
7229 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
7230 ;; ghc-system-filepath.
7231 (define ghc-system-fileio-bootstrap
7233 (name "ghc-system-fileio-bootstrap")
7234 (version "0.3.16.3")
7239 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7243 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7244 (build-system haskell-build-system)
7248 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7249 ("ghc-text" ,ghc-text)
7250 ("ghc-temporary" ,ghc-temporary)))
7251 (home-page "https://github.com/fpco/haskell-filesystem")
7252 (synopsis "Consistent file system interaction across GHC versions")
7254 "This is a small wrapper around the directory, unix, and Win32 packages,
7255 for use with system-filepath. It provides a consistent API to the various
7256 versions of these packages distributed with different versions of GHC.
7257 In particular, this library supports working with POSIX files that have paths
7258 which can't be decoded in the current locale encoding.")
7259 (license license:expat)))
7261 (define-public ghc-shelly
7269 "https://hackage.haskell.org/package/shelly/shelly-"
7273 "0a4ngy8jqcscqhimgiyz7f9kqm23is7x7gyjxr0j6iq1dy57ahq3"))))
7274 (build-system haskell-build-system)
7276 `(("ghc-mtl" ,ghc-mtl)
7277 ("ghc-unix-compat" ,ghc-unix-compat)
7278 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7279 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
7280 ("ghc-monad-control" ,ghc-monad-control)
7281 ("ghc-lifted-base" ,ghc-lifted-base)
7282 ("ghc-lifted-async" ,ghc-lifted-async)
7283 ("ghc-exceptions" ,ghc-exceptions)
7284 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
7285 ("ghc-text" ,ghc-text)
7286 ("ghc-async" ,ghc-async)
7287 ("ghc-transformers-base" ,ghc-transformers-base)
7288 ("ghc-hunit" ,ghc-hunit)
7289 ("ghc-hspec" ,ghc-hspec)))
7290 (home-page "https://github.com/yesodweb/Shelly.hs")
7291 (synopsis "Shell-like (systems) programming in Haskell")
7293 "Shelly provides convenient systems programming in Haskell, similar in
7294 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
7295 (license license:bsd-3)))
7297 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
7298 (define ghc-options-bootstrap
7300 (name "ghc-options-bootstrap")
7306 "https://hackage.haskell.org/package/options/options-"
7310 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7311 (build-system haskell-build-system)
7315 `(("ghc-monads-tf" ,ghc-monads-tf)))
7316 (home-page "https://john-millikin.com/software/haskell-options/")
7317 (synopsis "Powerful and easy-to-use command-line option parser")
7319 "The @code{options} package lets library and application developers
7320 easily work with command-line options.")
7321 (license license:expat)))
7323 (define-public ghc-chell
7331 "https://hackage.haskell.org/package/chell/chell-"
7335 "0lb95abzxl4a87nfqxsxpb3a39pd52cci43hcvj8615hyhqvs2jz"))))
7336 (build-system haskell-build-system)
7338 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
7339 ("ghc-patience" ,ghc-patience)
7340 ("ghc-random" ,ghc-random)
7341 ("ghc-text" ,ghc-text)
7342 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
7343 (home-page "https://john-millikin.com/software/chell/")
7344 (synopsis "Simple and intuitive library for automated testing")
7346 "Chell is a simple and intuitive library for automated testing.
7347 It natively supports assertion-based testing, and can use companion
7348 libraries such as @code{chell-quickcheck} to support more complex
7349 testing strategies.")
7350 (license license:expat)))
7352 (define ghc-chell-quickcheck-bootstrap
7354 (name "ghc-chell-quickcheck-bootstrap")
7360 "https://hackage.haskell.org/package/chell-quickcheck/"
7361 "chell-quickcheck-" version ".tar.gz"))
7364 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7365 (build-system haskell-build-system)
7367 `(("ghc-chell" ,ghc-chell)
7368 ("ghc-random" ,ghc-random)
7369 ("ghc-quickcheck" ,ghc-quickcheck)))
7372 (home-page "https://john-millikin.com/software/chell/")
7373 (synopsis "QuickCheck support for the Chell testing library")
7374 (description "More complex tests for @code{chell}.")
7375 (license license:expat)))
7377 (define-public ghc-chell-quickcheck
7379 (name "ghc-chell-quickcheck")
7385 "https://hackage.haskell.org/package/chell-quickcheck/"
7386 "chell-quickcheck-" version ".tar.gz"))
7389 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7390 (build-system haskell-build-system)
7392 `(("ghc-chell" ,ghc-chell)
7393 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
7394 ("ghc-random" ,ghc-random)
7395 ("ghc-quickcheck" ,ghc-quickcheck)))
7396 (home-page "https://john-millikin.com/software/chell/")
7397 (synopsis "QuickCheck support for the Chell testing library")
7398 (description "More complex tests for @code{chell}.")
7399 (license license:expat)))
7401 (define-public ghc-options
7403 (name "ghc-options")
7409 "https://hackage.haskell.org/package/options/options-"
7413 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7414 (build-system haskell-build-system)
7416 `(("ghc-monads-tf" ,ghc-monads-tf)
7417 ("ghc-chell" ,ghc-chell)
7418 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
7419 (home-page "https://john-millikin.com/software/haskell-options/")
7420 (synopsis "Powerful and easy-to-use command-line option parser")
7422 "The @code{options} package lets library and application developers
7423 easily work with command-line options.")
7424 (license license:expat)))
7426 (define-public ghc-system-filepath
7428 (name "ghc-system-filepath")
7434 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7438 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
7439 (build-system haskell-build-system)
7440 ;; FIXME: One of the tests fails:
7441 ;; [ FAIL ] tests.validity.posix
7442 ;; note: seed=7310214548328823169
7443 ;; *** Failed! Falsifiable (after 24 tests):
7444 ;; 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"
7445 (arguments `(#:tests? #f))
7447 `(("ghc-text" ,ghc-text)
7448 ("ghc-chell" ,ghc-chell)
7449 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
7450 ("ghc-quickcheck" ,ghc-quickcheck)))
7451 (home-page "https://github.com/fpco/haskell-filesystem")
7452 (synopsis "High-level, byte-based file and directory path manipulations")
7454 "Provides a FilePath datatype and utility functions for operating on it.
7455 Unlike the filepath package, this package does not simply reuse String,
7456 increasing type safety.")
7457 (license license:expat)))
7459 (define-public ghc-system-fileio
7461 (name "ghc-system-fileio")
7462 (version "0.3.16.3")
7467 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7471 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7472 (build-system haskell-build-system)
7474 `(("ghc-system-filepath" ,ghc-system-filepath)
7475 ("ghc-text" ,ghc-text)
7476 ("ghc-chell" ,ghc-chell)
7477 ("ghc-temporary" ,ghc-temporary)))
7478 (home-page "https://github.com/fpco/haskell-filesystem")
7479 (synopsis "Consistent file system interaction across GHC versions")
7481 "This is a small wrapper around the directory, unix, and Win32 packages,
7482 for use with system-filepath. It provides a consistent API to the various
7483 versions of these packages distributed with different versions of GHC.
7484 In particular, this library supports working with POSIX files that have paths
7485 which can't be decoded in the current locale encoding.")
7486 (license license:expat)))
7488 (define-public ghc-storable-complex
7490 (name "ghc-storable-complex")
7496 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
7499 (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
7500 (build-system haskell-build-system)
7501 (home-page "https://github.com/cartazio/storable-complex")
7502 (synopsis "Haskell Storable instance for Complex")
7503 (description "This package provides a Haskell library including a
7504 Storable instance for Complex which is binary compatible with C99, C++
7505 and Fortran complex data types.")
7506 (license license:bsd-3)))
7508 (define-public ghc-hmatrix
7510 (name "ghc-hmatrix")
7511 (version "0.18.1.0")
7516 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
7519 (base32 "07zkwvg872hfk6jyn4s54ws8mvclynazaxf7fsbqi16dmf9dn61c"))))
7520 (build-system haskell-build-system)
7522 `(("ghc-random" ,ghc-random)
7523 ("ghc-split" ,ghc-split)
7524 ("ghc-storable-complex" ,ghc-storable-complex)
7525 ("ghc-vector" ,ghc-vector)
7526 ;;("openblas" ,openblas)
7527 ("lapack" ,lapack)))
7528 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
7529 ;; disables inclusion of the LAPACK functions.
7530 ;; (arguments `(#:configure-flags '("--flags=openblas")))
7531 (home-page "https://github.com/albertoruiz/hmatrix")
7532 (synopsis "Haskell numeric linear algebra library")
7533 (description "The HMatrix package provices a Haskell library for
7534 dealing with linear systems, matrix decompositions, and other
7535 numerical computations based on BLAS and LAPACK.")
7536 (license license:bsd-3)))
7538 (define-public ghc-hmatrix-gsl
7540 (name "ghc-hmatrix-gsl")
7541 (version "0.18.0.1")
7546 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
7549 (base32 "0mflm7zg6c6a5vy092pa429rzpyv5drc1589r3x4fbmvcyqc79gx"))))
7550 (build-system haskell-build-system)
7552 `(("ghc-hmatrix" ,ghc-hmatrix)
7553 ("ghc-vector" ,ghc-vector)
7554 ("ghc-random" ,ghc-random)
7556 (native-inputs `(("pkg-config" ,pkg-config)))
7557 (home-page "https://github.com/albertoruiz/hmatrix")
7558 (synopsis "Haskell GSL binding")
7559 (description "This Haskell library provides a purely functional
7560 interface to selected numerical computations, internally implemented
7562 (license license:gpl3+)))
7564 (define-public ghc-hmatrix-special
7566 (name "ghc-hmatrix-special")
7573 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
7576 (base32 "0kpcqdchi7ikzhqacy4rh4dxz3v37paxyb84wqa66sysb72wkabj"))))
7577 (build-system haskell-build-system)
7579 `(("ghc-hmatrix" ,ghc-hmatrix)
7580 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
7581 (home-page "https://github.com/albertoruiz/hmatrix")
7582 (synopsis "Haskell interface to GSL special functions")
7583 (description "This library provides an interface to GSL special
7584 functions for Haskell.")
7585 (license license:gpl3+)))
7587 (define-public ghc-hmatrix-gsl-stats
7589 (name "ghc-hmatrix-gsl-stats")
7596 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
7599 (base32 "1gslgk58lzin43cvbpivhw7nrn9qyaa6qwhy1z9ypvyal5p8n3sa"))))
7600 (build-system haskell-build-system)
7602 `(("ghc-vector" ,ghc-vector)
7603 ("ghc-storable-complex" ,ghc-storable-complex)
7604 ("ghc-hmatrix" ,ghc-hmatrix)
7606 (native-inputs `(("pkg-config" ,pkg-config)))
7607 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
7608 (synopsis "GSL Statistics interface for Haskell")
7609 (description "This Haskell library provides a purely functional
7610 interface for statistics based on hmatrix and GSL.")
7611 (license license:bsd-3)))
7613 (define-public ghc-easyplot
7615 (name "ghc-easyplot")
7621 "https://hackage.haskell.org/package/easyplot/easyplot-"
7624 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
7625 (build-system haskell-build-system)
7626 (propagated-inputs `(("gnuplot" ,gnuplot)))
7628 `(#:phases (modify-phases %standard-phases
7629 (add-after 'unpack 'fix-setup-suffix
7630 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
7631 (home-page "https://hub.darcs.net/scravy/easyplot")
7632 (synopsis "Haskell plotting library based on gnuplot")
7633 (description "This package provides a plotting library for
7634 Haskell, using gnuplot for rendering.")
7635 (license license:expat)))
7637 (define-public ghc-hashtables
7639 (name "ghc-hashtables")
7645 "https://hackage.haskell.org/package/hashtables/hashtables-"
7648 (base32 "1b6w9xznk42732vpd8ili60k12yq190xnajgga0iwbdpyg424lgg"))))
7649 (build-system haskell-build-system)
7651 `(#:configure-flags (list "--allow-newer=vector")))
7653 `(("ghc-hashable" ,ghc-hashable)
7654 ("ghc-primitive" ,ghc-primitive)
7655 ("ghc-vector" ,ghc-vector)))
7656 (home-page "https://github.com/gregorycollins/hashtables")
7657 (synopsis "Haskell Mutable hash tables in the ST monad")
7658 (description "This package provides a Haskell library including a
7659 couple of different implementations of mutable hash tables in the ST
7660 monad, as well as a typeclass abstracting their common operations, and
7661 a set of wrappers to use the hash tables in the IO monad.")
7662 (license license:bsd-3)))
7664 (define-public ghc-data-accessor
7666 (name "ghc-data-accessor")
7672 "mirror://hackage/package/data-accessor/data-accessor-"
7675 (base32 "1vf2g1gac3rm32g97rl0fll51m88q7ry4m6khnl5j47qsmx24r9l"))))
7676 (build-system haskell-build-system)
7677 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7679 "Haskell utilities for accessing and manipulating fields of records")
7680 (description "This package provides Haskell modules for accessing and
7681 manipulating fields of records.")
7682 (license license:bsd-3)))
7684 (define-public ghc-data-accessor-transformers
7686 (name "ghc-data-accessor-transformers")
7692 "mirror://hackage/package/data-accessor-transformers/"
7693 "data-accessor-transformers-" version ".tar.gz"))
7695 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
7696 (build-system haskell-build-system)
7697 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
7698 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7699 (synopsis "Use Accessor to access state in transformers State monad")
7700 (description "This package provides Haskell modules to allow use of
7701 Accessor to access state in transformers State monad.")
7702 (license license:bsd-3)))
7704 (define-public ghc-utility-ht
7706 (name "ghc-utility-ht")
7708 (home-page "https://hackage.haskell.org/package/utility-ht")
7712 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
7714 (base32 "1vq5bd51rl9l5lgfmaqxgiggddk38hzgngcj7qgrqnalcd1myi54"))))
7715 (build-system haskell-build-system)
7716 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
7717 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
7718 (description "This package includes Hakell modules providing various
7719 helper functions for Lists, Maybes, Tuples, Functions.")
7720 (license license:bsd-3)))
7722 (define-public ghc-gnuplot
7724 (name "ghc-gnuplot")
7730 "mirror://hackage/package/gnuplot/gnuplot-"
7733 (base32 "1xz8prw9xjk0rsyrkp9bsmxykzrbhpv9qhhkdapy75mdbmgwjm7s"))))
7734 (build-system haskell-build-system)
7736 `(("ghc-temporary" ,ghc-temporary)
7737 ("ghc-utility-ht" ,ghc-utility-ht)
7738 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
7739 ("ghc-data-accessor" ,ghc-data-accessor)
7740 ("gnuplot" ,gnuplot)))
7743 (modify-phases %standard-phases
7744 (add-before 'configure 'fix-path-to-gnuplot
7745 (lambda* (#:key inputs #:allow-other-keys)
7746 (let ((gnuplot (assoc-ref inputs "gnuplot")))
7747 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
7748 (("(gnuplotName = ).*$" all cmd)
7749 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
7750 (home-page "https://www.haskell.org/haskellwiki/Gnuplot")
7751 (synopsis "2D and 3D plots using gnuplot")
7752 (description "This package provides a Haskell module for creating 2D and
7753 3D plots using gnuplot.")
7754 (license license:bsd-3)))
7756 (define-public ghc-hinotify
7758 (name "ghc-hinotify")
7763 "https://hackage.haskell.org/package/hinotify/"
7764 "hinotify-" version ".tar.gz"))
7767 "03c1f4d7x805zdiq2w26kl09xrfjw19saycdkhnixzv2qcr6xm1p"))))
7768 (build-system haskell-build-system)
7769 (home-page "https://github.com/kolmodin/hinotify.git")
7770 (synopsis "Haskell binding to inotify")
7771 (description "This library provides a wrapper to the Linux kernel's inotify
7772 feature, allowing applications to subscribe to notifications when a file is
7773 accessed or modified.")
7774 (license license:bsd-3)))
7776 (define-public ghc-fsnotify
7778 (name "ghc-fsnotify")
7783 "https://hackage.haskell.org/package/fsnotify/"
7784 "fsnotify-" version ".tar.gz"))
7787 "0asl313a52qx2w6dw25g845683xsl840bwjh118nkwi5v1xipkzb"))))
7788 (build-system haskell-build-system)
7790 `(("ghc-text" ,ghc-text)
7791 ("ghc-async" ,ghc-async)
7792 ("ghc-unix-compat" ,ghc-unix-compat)
7793 ("ghc-hinotify" ,ghc-hinotify)
7794 ("ghc-tasty" ,ghc-tasty)
7795 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7796 ("ghc-temporary-rc" ,ghc-temporary-rc)))
7797 (home-page "https://github.com/haskell-fswatch/hfsnotify")
7798 (synopsis "Cross platform library for file change notification.")
7799 (description "Cross platform library for file creation, modification, and
7800 deletion notification. This library builds upon existing libraries for platform
7801 specific Windows, Mac, and Linux file system event notification.")
7802 (license license:bsd-3)))
7804 (define-public ghc-ieee754
7806 (name "ghc-ieee754")
7811 "https://hackage.haskell.org/package/ieee754/"
7812 "ieee754-" version ".tar.gz"))
7815 "1zvfnnd5nm5kgr60214cdyks0kqdqyzpwk5sdh0s60yr8b7fyjny"))))
7816 (build-system haskell-build-system)
7817 (home-page "https://github.com/patperry/hs-ieee754")
7818 (synopsis "Utilities for dealing with IEEE floating point numbers")
7819 (description "Utilities for dealing with IEEE floating point numbers,
7820 ported from the Tango math library; approximate and exact equality comparisons
7821 for general types.")
7822 (license license:bsd-3)))
7824 (define-public ghc-terminal-size
7826 (name "ghc-terminal-size")
7831 "https://hackage.haskell.org/package/terminal-size/"
7832 "terminal-size-" version ".tar.gz"))
7835 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
7836 (build-system haskell-build-system)
7837 (home-page "https://hackage.haskell.org/package/terminal-size")
7838 (synopsis "Get terminal window height and width")
7839 (description "Get terminal window height and width without ncurses
7841 (license license:bsd-3)))
7843 (define-public ghc-language-c
7845 (name "ghc-language-c")
7850 (uri (string-append "https://hackage.haskell.org/package/"
7851 "language-c/language-c-" version ".tar.gz"))
7854 "08i2bl7jmmymn2sldzlbz6ig7lx3wfwhlpadzibs3fx72z08pmc6"))))
7855 (build-system haskell-build-system)
7856 (inputs `(("ghc-syb" ,ghc-syb)))
7858 `(("ghc-happy" ,ghc-happy)
7859 ("ghc-alex" ,ghc-alex)))
7860 (home-page "https://visq.github.io/language-c/")
7861 (synopsis "Analysis and generation of C code")
7863 "Language C is a Haskell library for the analysis and generation of C code.
7864 It features a complete, well-tested parser and pretty printer for all of C99
7865 and a large set of GNU extensions.")
7866 (license license:bsd-3)))
7868 (define-public ghc-markdown-unlit
7870 (name "ghc-markdown-unlit")
7875 "mirror://hackage/package/markdown-unlit/"
7876 "markdown-unlit-" version ".tar.gz"))
7879 "1kj2bffl7ndd8ygwwa3r1mbpwbxbfhyfgnbla8k8g9i6ffp0qrbw"))))
7880 (build-system haskell-build-system)
7882 `(("ghc-base-compat" ,ghc-base-compat)
7883 ("ghc-hspec" ,ghc-hspec)
7884 ("ghc-quickcheck" ,ghc-quickcheck)
7885 ("ghc-silently" ,ghc-silently)
7886 ("ghc-stringbuilder" ,ghc-stringbuilder)
7887 ("ghc-temporary" ,ghc-temporary)
7888 ("hspec-discover" ,hspec-discover)))
7889 (home-page "https://github.com/sol/markdown-unlit#readme")
7890 (synopsis "Literate Haskell support for Markdown")
7891 (description "This package allows you to have a README.md that at the
7892 same time is a literate Haskell program.")
7893 (license license:expat)))
7895 (define-public corrode
7896 (let ((commit "b6699fb2fa552a07c6091276285a44133e5c9789"))
7899 (version (string-append "0.0.1-" (string-take commit 7)))
7904 (url "https://github.com/jameysharp/corrode.git")
7905 (commit "b6699fb2fa552a07c6091276285a44133e5c9789")))
7907 (string-append name "-" version "-checkout"))
7909 (base32 "02v0yyj6sk4gpg2222wzsdqjxn8w66scbnf6b20x0kbmc69qcz4r"))))
7910 (build-system haskell-build-system)
7912 `(("ghc-language-c" ,ghc-language-c)
7913 ("ghc-markdown-unlit" ,ghc-markdown-unlit)))
7914 (home-page "https://github.com/jameysharp/corrode")
7915 (synopsis "Automatic semantics-preserving translation from C to Rust")
7917 "This program reads a C source file and prints an equivalent module in
7918 Rust syntax. It is intended to be useful for two different purposes:
7921 @item Partial automation for migrating legacy code that was implemented in C.
7922 @item A new, complementary approach to static analysis for C programs.
7924 (license license:gpl2+))))
7926 (define-public ghc-wave
7933 "https://hackage.haskell.org/package/wave/wave-"
7938 "1g5nmqfk6p25v9ismwz4i66ay91bd1qh39xwj0hm4z6a5mw8frk8"))))
7939 (build-system haskell-build-system)
7941 `(("ghc-cereal" ,ghc-cereal)
7942 ("ghc-data-default-class"
7943 ,ghc-data-default-class)
7944 ("ghc-quickcheck" ,ghc-quickcheck)
7945 ("ghc-temporary" ,ghc-temporary)))
7947 `(("hspec-discover" ,hspec-discover)
7948 ("ghc-hspec" ,ghc-hspec)))
7949 (home-page "https://github.com/mrkkrp/wave")
7950 (synopsis "Work with WAVE and RF64 files in Haskell")
7951 (description "This package allows you to work with WAVE and RF64
7953 (license license:bsd-3)))
7955 (define-public ghc-hslogger
7957 (name "ghc-hslogger")
7962 (uri (string-append "https://hackage.haskell.org/package/"
7963 "hslogger-" version "/" "hslogger-"
7966 "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp"))))
7967 (build-system haskell-build-system)
7969 `(("ghc-mtl" ,ghc-mtl)
7970 ("ghc-network" ,ghc-network)
7971 ("ghc-old-locale" ,ghc-old-locale)))
7973 `(("ghc-hunit" ,ghc-hunit)))
7974 (home-page "https://software.complete.org/hslogger")
7975 (synopsis "Logging framework for Haskell, similar to Python's logging module")
7976 (description "Hslogger lets each log message have a priority and source be
7977 associated with it. The programmer can then define global handlers that route
7978 or filter messages based on the priority and source. It also has a syslog
7980 (license license:bsd-3)))
7982 (define-public ghc-unexceptionalio
7984 (name "ghc-unexceptionalio")
7989 (uri (string-append "https://hackage.haskell.org/package/"
7990 "unexceptionalio-" version "/" "unexceptionalio-"
7992 (sha256 (base32 "1f7h7zwky4scdcyjspg4ksfh7x6yra0wjybxq70p7vcwpgk2nzlj"))))
7993 (build-system haskell-build-system)
7994 (home-page "https://github.com/singpolyma/unexceptionalio")
7995 (synopsis "IO without any non-error, synchronous exceptions")
7996 (description "When you've caught all the exceptions that can be
7997 handled safely, this is what you're left with.")
7998 (license license:isc)))
8000 (define-public ghc-json
8007 (uri (string-append "https://hackage.haskell.org/package/json/"
8008 "json-" version ".tar.gz"))
8011 "18l5027vc68hnnxrxlnyl59vkkg95a92m1zzms0dqiby2r6pxdcn"))))
8012 (build-system haskell-build-system)
8014 `(("ghc-syb" ,ghc-syb)
8015 ("ghc-mtl" ,ghc-mtl)
8016 ("ghc-text" ,ghc-text)
8017 ("ghc-parsec" ,ghc-parsec)))
8018 (home-page "https://hackage.haskell.org/package/json")
8019 (synopsis "Serializes Haskell data to and from JSON")
8020 (description "This package provides a parser and pretty printer for
8021 converting between Haskell values and JSON.
8022 JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
8023 (license license:bsd-3)))
8025 (define-public ghc-esqueleto
8027 (name "ghc-esqueleto")
8032 (uri (string-append "https://hackage.haskell.org/package/"
8033 "esqueleto/esqueleto-" version ".tar.gz"))
8036 "10n49rzqmblky7pwjnysalyy6nacmxfms8dqbsdv6hlyzr8pb69x"))))
8037 (build-system haskell-build-system)
8039 `(("ghc-blaze-html" ,ghc-blaze-html)
8040 ("ghc-conduit" ,ghc-conduit)
8041 ("ghc-monad-logger" ,ghc-monad-logger)
8042 ("ghc-persistent" ,ghc-persistent)
8043 ("ghc-resourcet" ,ghc-resourcet)
8044 ("ghc-tagged" ,ghc-tagged)
8045 ("ghc-text" ,ghc-text)
8046 ("ghc-unordered-containers" ,ghc-unordered-containers)))
8048 `(("ghc-hspec" ,ghc-hspec)
8049 ("ghc-hunit" ,ghc-hunit)
8050 ("ghc-monad-control" ,ghc-monad-control)
8051 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
8052 ("ghc-persistent-template" ,ghc-persistent-template)
8053 ("ghc-quickcheck" ,ghc-quickcheck)))
8054 (home-page "https://github.com/bitemyapp/esqueleto")
8055 (synopsis "Type-safe embedded domain specific language for SQL queries")
8056 (description "This library provides a type-safe embedded domain specific
8057 language (EDSL) for SQL queries that works with SQL backends as provided by
8058 @code{ghc-persistent}. Its language closely resembles SQL, so you don't have
8059 to learn new concepts, just new syntax, and it's fairly easy to predict the
8060 generated SQL and optimize it for your backend.")
8061 (license license:bsd-3)))
8063 (define-public shellcheck
8070 (uri (string-append "https://github.com/koalaman/shellcheck/archive/"
8071 "v" version ".tar.gz"))
8074 "1qkd69lc34n3l23ss9rq1azvx49bfq4hi4bmaj76rgxybscxhg0w"))
8075 (file-name (string-append name "-" version ".tar.gz"))))
8076 (build-system haskell-build-system)
8078 `(("ghc-quickcheck" ,ghc-quickcheck)
8079 ("ghc-json" ,ghc-json)
8080 ("ghc-mtl" ,ghc-mtl)
8081 ("ghc-parsec" ,ghc-parsec)
8082 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
8083 (home-page "https://github.com/koalaman/shellcheck")
8084 (synopsis "Static analysis for shell scripts")
8085 (description "@code{shellcheck} provides static analysis for
8086 @command{bash} and @command{sh} shell scripts.
8087 It gives warnings and suggestions in order to:
8090 @item Point out and clarify typical beginner's syntax issues that cause
8091 a shell to give cryptic error messages.
8092 @item Point out and clarify typical intermediate level semantic problems
8093 that cause a shell to behave strangely and counter-intuitively.
8094 @item Point out subtle caveats, corner cases and pitfalls that may cause an
8095 advanced user's otherwise working script to fail under future circumstances.
8097 (license license:gpl3+)))
8099 (define-public ghc-simple-sendfile
8101 (name "ghc-simple-sendfile")
8106 (uri (string-append "https://hackage.haskell.org/package/"
8107 "simple-sendfile-" version "/"
8108 "simple-sendfile-" version ".tar.gz"))
8111 "0k99j9xfcf83c55jmn202hdinhjaa4yn3dal4rvjk2w2rlhqirha"))))
8112 (build-system haskell-build-system)
8114 `(("ghc-conduit" ,ghc-conduit)
8115 ("ghc-conduit-extra" ,ghc-conduit-extra)
8116 ("ghc-network" ,ghc-network)
8117 ("ghc-resourcet" ,ghc-resourcet)))
8119 `(("ghc-hspec" ,ghc-hspec)
8120 ("hspec-discover" ,hspec-discover)))
8121 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
8122 (synopsis "Cross platform library for the sendfile system call")
8123 (description "This library tries to call minimum system calls which
8124 are the bottleneck of web servers.")
8125 (license license:bsd-3)))
8127 (define-public ghc-hex
8134 (uri (string-append "https://hackage.haskell.org/package/"
8136 "hex-" version ".tar.gz"))
8139 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
8140 (build-system haskell-build-system)
8141 (home-page "https://hackage.haskell.org/package/hex")
8142 (synopsis "Convert strings into hexadecimal and back")
8143 (description "This package provides conversion functions between
8144 bytestrings and their hexademical representation.")
8145 (license license:bsd-3)))
8147 (define-public ghc-psqueues
8149 (name "ghc-psqueues")
8154 (uri (string-append "https://hackage.haskell.org/package/"
8155 "psqueues-" version "/"
8156 "psqueues-" version ".tar.gz"))
8159 "0n39s1i88j6s7vvsdhpbhcr3gpbwlzabwcc3nbd7nqb4kb4i0sls"))))
8160 (build-system haskell-build-system)
8162 `(#:configure-flags (list "--allow-newer=QuickCheck")))
8164 `(("ghc-hashable" ,ghc-hashable)))
8166 `(("ghc-hunit" ,ghc-hunit)
8167 ("ghc-quickcheck" ,ghc-quickcheck)
8168 ("ghc-tagged" ,ghc-tagged)
8169 ("ghc-test-framework" ,ghc-test-framework)
8170 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8171 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8172 (home-page "https://github.com/jaspervdj/psqueues")
8173 (synopsis "Pure priority search queues")
8174 (description "The psqueues package provides
8175 @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
8176 three different flavors:
8179 @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
8180 fast insertion, deletion and lookup. This implementation is based on Ralf
8181 Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
8182 Implementation Technique for Priority Search Queues}.
8184 Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
8185 PSQueue} library, although it is considerably faster and provides a slightly
8188 @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
8189 key type to @code{Int} and uses a
8190 @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
8191 with an additional min-heap property.
8193 @item @code{HashPSQ k p v} is a fairly straightforward extension
8194 of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
8195 @code{IntPSQ}. If there are any hash collisions, it uses an
8196 @code{OrdPSQ} to resolve those. The performance of this implementation
8197 is comparable to that of @code{IntPSQ}, but it is more widely
8198 applicable since the keys are not restricted to @code{Int},
8199 but rather to any @code{Hashable} datatype.
8202 Each of the three implementations provides the same API, so they can
8203 be used interchangeably.
8205 Typical applications of Priority Search Queues include:
8208 @item Caches, and more specifically LRU Caches;
8210 @item Pathfinding algorithms, such as Dijkstra's and A*.
8212 (license license:bsd-3)))
8214 (define-public ghc-glob
8221 (uri (string-append "https://hackage.haskell.org/package/"
8223 "Glob-" version ".tar.gz"))
8226 "0rzmsknl02p332dxmm36fyrz3dpma7bchn0ymyjipxvqil20pjw0"))))
8227 (build-system haskell-build-system)
8229 `(("ghc-dlist" ,ghc-dlist)
8230 ("ghc-semigroups" ,ghc-semigroups)
8231 ("ghc-transformers-compat" ,ghc-transformers-compat)))
8233 `(("ghc-hunit" ,ghc-hunit)
8234 ("ghc-quickcheck" ,ghc-quickcheck)
8235 ("ghc-test-framework" ,ghc-test-framework)
8236 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8237 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8238 (home-page "http://iki.fi/matti.niemenmaa/glob/")
8239 (synopsis "Haskell library matching glob patterns against file paths")
8240 (description "This package provides a Haskell library for @dfn{globbing}:
8241 matching patterns against file paths.")
8242 (license license:bsd-3)))
8244 (define-public ghc-errors
8251 (uri (string-append "https://hackage.haskell.org/package/"
8252 "errors-" version "/"
8253 "errors-" version ".tar.gz"))
8256 "13sflhglcm5skwrxb48fw96skdcx7ydiy4zg22200733pxhjncpn"))))
8257 (build-system haskell-build-system)
8259 `(("ghc-exceptions" ,ghc-exceptions)
8260 ("ghc-text" ,ghc-text)
8261 ("ghc-transformers-compat" ,ghc-transformers-compat)
8262 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
8263 ("ghc-safe" ,ghc-safe)))
8264 (home-page "https://github.com/gabriel439/haskell-errors-library")
8265 (synopsis "Error handling library for Haskell")
8266 (description "This library encourages an error-handling style that
8267 directly uses the type system, rather than out-of-band exceptions.")
8268 (license license:bsd-3)))
8270 (define-public ghc-vector-th-unbox
8272 (name "ghc-vector-th-unbox")
8277 (uri (string-append "https://hackage.haskell.org/package/"
8278 "vector-th-unbox-" version "/"
8279 "vector-th-unbox-" version ".tar.gz"))
8282 "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy"))))
8283 (build-system haskell-build-system)
8285 `(("ghc-vector" ,ghc-vector)
8286 ("ghc-data-default" ,ghc-data-default)))
8287 (home-page "https://github.com/liyang/vector-th-unbox")
8288 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
8289 (description "This Haskell library provides a Template Haskell
8290 deriver for unboxed vectors, given a pair of coercion functions to
8291 and from some existing type with an Unbox instance.")
8292 (license license:bsd-3)))
8294 (define-public ghc-erf
8301 (uri (string-append "https://hackage.haskell.org/package/"
8303 "erf-" version ".tar.gz"))
8306 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
8307 (build-system haskell-build-system)
8308 (home-page "https://hackage.haskell.org/package/erf")
8309 (synopsis "The error function, erf, and related functions for Haskell")
8310 (description "This Haskell library provides a type class for the
8311 error function, erf, and related functions. Instances for Float and
8313 (license license:bsd-3)))
8315 (define-public ghc-math-functions
8317 (name "ghc-math-functions")
8322 (uri (string-append "https://hackage.haskell.org/package/"
8323 "math-functions-" version "/"
8324 "math-functions-" version ".tar.gz"))
8327 "1sv5vabsx332v1lpb6v3jv4zrzvpx1n7yprzd8wlcda5vsc5a6zp"))))
8328 (build-system haskell-build-system)
8329 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
8331 `(("ghc-vector" ,ghc-vector)
8332 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
8334 `(("ghc-hunit" ,ghc-hunit)
8335 ("ghc-quickcheck" ,ghc-quickcheck)
8336 ("ghc-erf" ,ghc-erf)
8337 ("ghc-test-framework" ,ghc-test-framework)
8338 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8339 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8340 (home-page "https://github.com/bos/math-functions")
8341 (synopsis "Special functions and Chebyshev polynomials for Haskell")
8342 (description "This Haskell library provides implementations of
8343 special mathematical functions and Chebyshev polynomials. These
8344 functions are often useful in statistical and numerical computing.")
8345 (license license:bsd-3)))
8347 (define-public ghc-mwc-random
8349 (name "ghc-mwc-random")
8350 (version "0.13.6.0")
8354 (uri (string-append "https://hackage.haskell.org/package/"
8355 "mwc-random-" version "/"
8356 "mwc-random-" version ".tar.gz"))
8359 "05j7yh0hh9nxic3dijmzv44kc6gzclvamdph7sq7w19wq57k6pq6"))))
8360 (build-system haskell-build-system)
8362 `(("ghc-primitive" ,ghc-primitive)
8363 ("ghc-vector" ,ghc-vector)
8364 ("ghc-math-functions" ,ghc-math-functions)))
8366 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8368 `(("ghc-hunit" ,ghc-hunit)
8369 ("ghc-quickcheck" ,ghc-quickcheck)
8370 ("ghc-test-framework" ,ghc-test-framework)
8371 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8372 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8373 (home-page "https://github.com/bos/mwc-random")
8374 (synopsis "Random number generation library for Haskell")
8375 (description "This Haskell package contains code for generating
8376 high quality random numbers that follow either a uniform or normal
8377 distribution. The generated numbers are suitable for use in
8378 statistical applications.
8380 The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
8381 multiply-with-carry generator, which has a period of 2^{8222} and
8382 fares well in tests of randomness. It is also extremely fast,
8383 between 2 and 3 times faster than the Mersenne Twister.")
8384 (license license:bsd-3)))
8386 (define-public ghc-vector-algorithms
8388 (name "ghc-vector-algorithms")
8393 (uri (string-append "https://hackage.haskell.org/package/"
8394 "vector-algorithms-" version "/"
8395 "vector-algorithms-" version ".tar.gz"))
8398 "0w4hf598lpxfg58rnimcqxrbnpqq2jmpjx82qa5md3q6r90hlipd"))))
8399 (build-system haskell-build-system)
8400 ;; The limits have been adjusted in a revision of the cabal file.
8402 '(#:configure-flags (list "--allow-newer=vector")
8404 (modify-phases %standard-phases
8405 ;; The tests cannot be built due to type errors.
8406 (add-after 'unpack 'do-not-build-quickcheck-tests
8408 (substitute* "vector-algorithms.cabal"
8409 (("\\!flag\\(properties\\)") "True"))
8412 `(("ghc-vector" ,ghc-vector)
8413 ("ghc-mtl" ,ghc-mtl)
8414 ("ghc-mwc-random" ,ghc-mwc-random)))
8416 `(("ghc-quickcheck" ,ghc-quickcheck)))
8417 (home-page "https://github.com/bos/math-functions")
8418 (synopsis "Algorithms for vector arrays in Haskell")
8419 (description "This Haskell library algorithms for vector arrays.")
8420 (license license:bsd-3)))
8422 (define-public ghc-language-haskell-extract
8424 (name "ghc-language-haskell-extract")
8429 (uri (string-append "https://hackage.haskell.org/package/"
8430 "language-haskell-extract-" version "/"
8431 "language-haskell-extract-" version ".tar.gz"))
8434 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
8435 (build-system haskell-build-system)
8437 `(("ghc-regex-posix" ,ghc-regex-posix)))
8438 (home-page "https://github.com/finnsson/template-helper")
8439 (synopsis "Haskell module to automatically extract functions from
8441 (description "This package contains helper functions on top of
8444 For example, @code{functionExtractor} extracts all functions after a
8445 regexp-pattern, which can be useful if you wish to extract all functions
8446 beginning with @code{test} (for a test framework) or all functions beginning
8447 with @code{wc} (for a web service).")
8448 (license license:bsd-3)))
8450 (define-public ghc-abstract-par
8452 (name "ghc-abstract-par")
8457 (uri (string-append "https://hackage.haskell.org/package/"
8458 "abstract-par-" version "/"
8459 "abstract-par-" version ".tar.gz"))
8462 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
8463 (build-system haskell-build-system)
8464 (home-page "https://github.com/simonmar/monad-par")
8465 (synopsis "Abstract parallelization interface for Haskell")
8466 (description "This Haskell package is an abstract interface
8467 only. It provides a number of type clasess, but not an
8468 implementation. The type classes separate different levels
8469 of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
8470 module for more details.")
8471 (license license:bsd-3)))
8473 (define-public ghc-monad-par-extras
8475 (name "ghc-monad-par-extras")
8480 (uri (string-append "https://hackage.haskell.org/package/"
8481 "monad-par-extras-" version "/"
8482 "monad-par-extras-" version ".tar.gz"))
8485 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
8486 (build-system haskell-build-system)
8487 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8488 ("ghc-cereal" ,ghc-cereal)
8489 ("ghc-random" ,ghc-random)
8490 ("ghc-mtl" ,ghc-mtl)))
8491 (home-page "https://github.com/simonmar/monad-par")
8492 (synopsis "Combinators and extra features for Par monads for Haskell")
8493 (description "This Haskell package provides additional data structures,
8494 and other added capabilities layered on top of the @code{Par} monad.")
8495 (license license:bsd-3)))
8497 (define-public ghc-abstract-deque
8499 (name "ghc-abstract-deque")
8504 (uri (string-append "https://hackage.haskell.org/package/"
8505 "abstract-deque-" version "/"
8506 "abstract-deque-" version ".tar.gz"))
8509 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
8510 (build-system haskell-build-system)
8511 (inputs `(("ghc-random" ,ghc-random)))
8512 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
8513 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
8514 (description "This Haskell package provides an abstract interface to
8515 highly-parameterizable queues/deques.
8517 Background: There exists a feature space for queues that extends between:
8520 @item Simple, single-ended, non-concurrent, bounded queues
8522 @item Double-ended, thread-safe, growable queues with important points
8523 in between (such as the queues used for work stealing).
8526 This package includes an interface for Deques that allows the programmer
8527 to use a single API for all of the above, while using the type system to
8528 select an efficient implementation given the requirements (using type families).
8530 This package also includes a simple reference implementation based on
8531 @code{IORef} and @code{Data.Sequence}.")
8532 (license license:bsd-3)))
8534 (define-public ghc-monad-par
8536 (name "ghc-monad-par")
8541 (uri (string-append "https://hackage.haskell.org/package/"
8542 "monad-par-" version "/"
8543 "monad-par-" version ".tar.gz"))
8546 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
8547 (build-system haskell-build-system)
8548 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8549 ("ghc-abstract-deque" ,ghc-abstract-deque)
8550 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
8551 ("ghc-mwc-random" ,ghc-mwc-random)
8552 ("ghc-parallel" ,ghc-parallel)
8553 ("ghc-mtl" ,ghc-mtl)))
8554 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
8555 ("ghc-hunit" ,ghc-hunit)
8556 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8557 ("ghc-test-framework-quickcheck2"
8558 ,ghc-test-framework-quickcheck2)
8559 ("ghc-test-framework" ,ghc-test-framework)
8560 ("ghc-test-framework-th" ,ghc-test-framework-th)))
8561 (home-page "https://github.com/simonmar/monad-par")
8562 (synopsis "Haskell library for parallel programming based on a monad")
8563 (description "The @code{Par} monad offers an API for parallel
8564 programming. The library works for parallelising both pure and @code{IO}
8565 computations, although only the pure version is deterministic. The default
8566 implementation provides a work-stealing scheduler and supports forking tasks
8567 that are much lighter weight than IO-threads.")
8568 (license license:bsd-3)))
8570 (define-public ghc-statistics
8572 (name "ghc-statistics")
8573 (version "0.14.0.2")
8577 (uri (string-append "https://hackage.haskell.org/package/"
8578 "statistics-" version "/"
8579 "statistics-" version ".tar.gz"))
8582 "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l"))))
8583 (build-system haskell-build-system)
8585 `(("ghc-aeson" ,ghc-aeson)
8586 ("ghc-base-orphans" ,ghc-base-orphans)
8587 ("ghc-erf" ,ghc-erf)
8588 ("ghc-math-functions" ,ghc-math-functions)
8589 ("ghc-monad-par" ,ghc-monad-par)
8590 ("ghc-mwc-random" ,ghc-mwc-random)
8591 ("ghc-primitive" ,ghc-primitive)
8592 ("ghc-vector" ,ghc-vector)
8593 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
8594 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
8595 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
8597 `(("ghc-hunit" ,ghc-hunit)
8598 ("ghc-quickcheck" ,ghc-quickcheck)
8599 ("ghc-ieee754" ,ghc-ieee754)
8600 ("ghc-test-framework" ,ghc-test-framework)
8601 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8602 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8604 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8605 (home-page "https://github.com/bos/mwc-random")
8606 (synopsis "Haskell library of statistical types, data, and functions")
8607 (description "This library provides a number of common functions
8608 and types useful in statistics. We focus on high performance, numerical
8609 robustness, and use of good algorithms. Where possible, we provide references
8610 to the statistical literature.
8612 The library's facilities can be divided into four broad categories:
8615 @item Working with widely used discrete and continuous probability
8616 distributions. (There are dozens of exotic distributions in use; we focus
8617 on the most common.)
8619 @item Computing with sample data: quantile estimation, kernel density
8620 estimation, histograms, bootstrap methods, significance testing,
8621 and regression and autocorrelation analysis.
8623 @item Random variate generation under several different distributions.
8625 @item Common statistical tests for significant differences between samples.
8627 (license license:bsd-2)))
8629 (define-public ghc-chunked-data
8631 (name "ghc-chunked-data")
8636 (uri (string-append "https://hackage.haskell.org/package/"
8637 "chunked-data-" version "/"
8638 "chunked-data-" version ".tar.gz"))
8641 "0bszq6fijnr4pmadzz89smj7kfmzx0ca3wd9ga8gv0in9jk9vgp1"))))
8642 (build-system haskell-build-system)
8643 (inputs `(("ghc-vector" ,ghc-vector)
8644 ("ghc-semigroups" ,ghc-semigroups)
8645 ("ghc-text" ,ghc-text)))
8646 (home-page "https://github.com/snoyberg/mono-traversable")
8647 (synopsis "Typeclasses for dealing with various chunked data
8648 representations for Haskell")
8649 (description "This Haskell package was originally present in
8651 (license license:expat)))
8653 (define-public ghc-base-prelude
8655 (name "ghc-base-prelude")
8660 (uri (string-append "https://hackage.haskell.org/package/"
8661 "base-prelude-" version "/"
8662 "base-prelude-" version ".tar.gz"))
8665 "17hivs7lmsglagdlzxd9q9zsddmgqin2788mpq911zwnb57lj6l1"))))
8666 (build-system haskell-build-system)
8667 (home-page "https://github.com/nikita-volkov/base-prelude")
8668 (synopsis "The most complete prelude formed solely from the Haskell's base
8670 (description "This Haskell package aims to reexport all the non-conflicting
8671 and most general definitions from the \"base\" package.
8673 This includes APIs for applicatives, arrows, monoids, foldables, traversables,
8674 exceptions, generics, ST, MVars and STM.
8676 This package will never have any dependencies other than \"base\".
8680 The versioning policy of this package deviates from PVP in the sense
8681 that its exports in part are transitively determined by the version of \"base\".
8682 Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
8683 the bounds of \"base\" as well.")
8684 (license license:expat)))
8686 (define-public ghc-tuple-th
8688 (name "ghc-tuple-th")
8693 (uri (string-append "https://hackage.haskell.org/package/"
8694 "tuple-th-" version "/"
8695 "tuple-th-" version ".tar.gz"))
8698 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
8699 (build-system haskell-build-system)
8700 (home-page "https://github.com/DanielSchuessler/tuple-th")
8701 (synopsis "Generate utility functions for tuples of statically known size
8703 (description "This Haskell package contains Template Haskell functions for
8704 generating functions similar to those in @code{Data.List} for tuples of
8705 statically known size.")
8706 (license license:bsd-3)))
8708 (define-public ghc-contravariant-extras
8710 (name "ghc-contravariant-extras")
8715 (uri (string-append "https://hackage.haskell.org/package/"
8716 "contravariant-extras-" version "/"
8717 "contravariant-extras-" version ".tar.gz"))
8720 "1mbrgjybdx8fjdck4ldwi8955w4qnmm0ql56zix7dyn0s7s9spgk"))))
8721 (build-system haskell-build-system)
8722 (inputs `(("ghc-tuple-th" ,ghc-tuple-th)
8723 ("ghc-contravariant" ,ghc-contravariant)
8724 ("ghc-base-prelude" ,ghc-base-prelude)))
8725 (home-page "https://github.com/nikita-volkov/contravariant-extras")
8726 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
8727 (description "This Haskell package provides extras for the
8728 @code{ghc-contravariant} package.")
8729 (license license:expat)))
8731 (define-public ghc-monadrandom
8733 (name "ghc-monadrandom")
8738 (uri (string-append "https://hackage.haskell.org/package/"
8739 "MonadRandom-" version "/"
8740 "MonadRandom-" version ".tar.gz"))
8743 "1h1nhswrcmhy3mq6vd530p0df51fcnnf4csbwnljar7cf0mb2h6y"))))
8744 (build-system haskell-build-system)
8745 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
8746 ("ghc-mtl" ,ghc-mtl)
8747 ("ghc-primitive" ,ghc-primitive)
8748 ("ghc-fail" ,ghc-fail)
8749 ("ghc-random" ,ghc-random)))
8750 (home-page "https://github.com/byorgey/MonadRandom")
8751 (synopsis "Random-number generation monad for Haskell")
8752 (description "This Haskell package provides support for computations
8753 which consume random values.")
8754 (license license:bsd-3)))
8756 (define-public ghc-either
8763 (uri (string-append "https://hackage.haskell.org/package/"
8764 "either-" version "/"
8765 "either-" version ".tar.gz"))
8768 "1lrlwqqnm6ibfcydlv5qvvssw7bm0c6yypy0rayjzv1znq7wp1xh"))))
8769 (build-system haskell-build-system)
8770 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
8771 ("ghc-exceptions" ,ghc-exceptions)
8772 ("ghc-free" ,ghc-free)
8773 ("ghc-monad-control" ,ghc-monad-control)
8774 ("ghc-manodrandom" ,ghc-monadrandom)
8775 ("ghc-mtl" ,ghc-mtl)
8776 ("ghc-mmorph" ,ghc-mmorph)
8777 ("ghc-profunctors" ,ghc-profunctors)
8778 ("ghc-semigroups" ,ghc-semigroups)
8779 ("ghc-semigroupoids" ,ghc-semigroupoids)
8780 ("ghc-transformers-base" ,ghc-transformers-base)))
8781 (home-page "https://github.com/ekmett/either")
8782 (synopsis "Provides an either monad transformer for Haskell")
8783 (description "This Haskell package provides an either monad transformer.")
8784 (license license:bsd-3)))
8786 (define-public ghc-pretty-hex
8788 (name "ghc-pretty-hex")
8793 (uri (string-append "https://hackage.haskell.org/package/"
8794 "pretty-hex-" version "/"
8795 "pretty-hex-" version ".tar.gz"))
8798 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
8799 (build-system haskell-build-system)
8800 (home-page "https://github.com/GaloisInc/hexdump")
8801 (synopsis "Haskell library for hex dumps of ByteStrings")
8802 (description "This Haskell library generates pretty hex dumps of
8803 ByteStrings in the style of other common *nix hex dump tools.")
8804 (license license:bsd-3)))
8806 (define-public ghc-network-info
8808 (name "ghc-network-info")
8813 (uri (string-append "https://hackage.haskell.org/package/"
8814 "network-info-" version "/"
8815 "network-info-" version ".tar.gz"))
8818 "0xndvg776241fgjmynxfpy81f1csjmh8dg33yf0c8m71ychz3pzc"))))
8819 (build-system haskell-build-system)
8820 (home-page "https://github.com/jystic/network-info")
8821 (synopsis "Access the local computer's basic network configuration")
8822 (description "This Haskell library provides simple read-only access to the
8823 local computer's networking configuration. It is currently capable of
8824 getting a list of all the network interfaces and their respective
8825 IPv4, IPv6 and MAC addresses.")
8826 (license license:bsd-3)))
8828 (define-public ghc-uuid-types
8830 (name "ghc-uuid-types")
8835 (uri (string-append "https://hackage.haskell.org/package/"
8836 "uuid-types-" version "/"
8837 "uuid-types-" version ".tar.gz"))
8840 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
8841 (build-system haskell-build-system)
8843 `(#:configure-flags (list "--allow-newer=QuickCheck"
8844 "--allow-newer=HUnit")))
8845 (inputs `(("ghc-hashable" ,ghc-hashable)
8846 ("ghc-random" ,ghc-random)
8847 ("ghc-text" ,ghc-text)))
8848 (native-inputs `(("ghc-hunit" ,ghc-hunit)
8849 ("ghc-quickcheck" ,ghc-quickcheck)
8850 ("ghc-tasty" ,ghc-tasty)
8851 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8852 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
8853 (home-page "https://github.com/hvr/uuid")
8854 (synopsis "Haskell type definitions for UUIDs")
8855 (description "This Haskell library contains type definitions for
8856 @dfn{Universally Unique Identifiers} or
8857 @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
8859 (license license:bsd-3)))
8861 (define-public ghc-uuid
8868 (uri (string-append "https://hackage.haskell.org/package/"
8870 "uuid-" version ".tar.gz"))
8873 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
8874 (build-system haskell-build-system)
8876 `(#:configure-flags (list "--allow-newer=QuickCheck"
8877 "--allow-newer=HUnit")))
8878 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
8879 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
8880 ("ghc-entropy" ,ghc-entropy)
8881 ("ghc-network-info" ,ghc-network-info)
8882 ("ghc-random" ,ghc-random)
8883 ("ghc-text" ,ghc-text)
8884 ("ghc-uuid-types" ,ghc-uuid-types)))
8885 (native-inputs `(("ghc-hunit" ,ghc-hunit)
8886 ("ghc-quickcheck" ,ghc-quickcheck)
8887 ("ghc-tasty" ,ghc-tasty)
8888 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8889 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
8890 (home-page "https://github.com/hvr/uuid")
8891 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
8892 (description "This Haskell library provides utilities creating, comparing,
8893 parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
8894 (license license:bsd-3)))
8896 (define-public ghc-rebase
8903 (uri (string-append "https://hackage.haskell.org/package/"
8904 "rebase-" version "/"
8905 "rebase-" version ".tar.gz"))
8908 "1qkhnpcc4g2vd6jmbf3b6psqkan6hyawqzrwzqdd931hsb02l6ia"))))
8909 (build-system haskell-build-system)
8910 (inputs `(("ghc-stm" ,ghc-stm)
8911 ("ghc-hashable" ,ghc-hashable)
8912 ("ghc-vector" ,ghc-vector)
8913 ("ghc-unordered-containers" ,ghc-unordered-containers)
8914 ("ghc-text" ,ghc-text)
8915 ("ghc-scientific" ,ghc-scientific)
8916 ("ghc-uuid" ,ghc-uuid)
8917 ("ghc-dlist" ,ghc-dlist)
8918 ("ghc-void" ,ghc-void)
8919 ("ghc-bifunctors" ,ghc-bifunctors)
8920 ("ghc-profunctors" ,ghc-profunctors)
8921 ("ghc-contravariant" ,ghc-contravariant)
8922 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
8923 ("ghc-semigroups" ,ghc-semigroups)
8924 ("ghc-mtl" ,ghc-mtl)
8925 ("ghc-either" ,ghc-either)
8926 ("ghc-fail" ,ghc-fail)
8927 ("ghc-base-prelude" ,ghc-base-prelude)))
8928 (home-page "https://github.com/nikita-volkov/rebase")
8929 (synopsis "Progressive alternative to the base package
8931 (description "This Haskell package is intended for those who are
8932 tired of keeping long lists of dependencies to the same essential libraries
8933 in each package as well as the endless imports of the same APIs all over again.
8935 It also supports the modern tendencies in the language.
8937 To solve those problems this package does the following:
8940 @item Reexport the original APIs under the @code{Rebase} namespace.
8942 @item Export all the possible non-conflicting symbols from the
8943 @code{Rebase.Prelude} module.
8945 @item Give priority to the modern practices in the conflicting cases.
8948 The policy behind the package is only to reexport the non-ambiguous and
8949 non-controversial APIs, which the community has obviously settled on.
8950 The package is intended to rapidly evolve with the contribution from
8951 the community, with the missing features being added with pull-requests.")
8952 (license license:expat)))
8954 (define-public ghc-vector-builder
8956 (name "ghc-vector-builder")
8961 (uri (string-append "https://hackage.haskell.org/package/"
8962 "vector-builder-" version "/"
8963 "vector-builder-" version ".tar.gz"))
8966 "1l6sfgd2s107zkp1qd1w6jdjcbznp31769qf99pxar087f697wvp"))))
8967 (build-system haskell-build-system)
8968 (inputs `(("ghc-vector" ,ghc-vector)
8969 ("ghc-semigroups" ,ghc-semigroups)
8970 ("ghc-base-prelude" ,ghc-base-prelude)))
8971 (native-inputs `(("ghc-tasty" ,ghc-tasty)
8972 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8973 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
8974 ("ghc-hunit" ,ghc-hunit)
8975 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
8976 ("ghc-rebase" ,ghc-rebase)))
8977 (home-page "https://github.com/nikita-volkov/vector-builder")
8978 (synopsis "Vector builder for Haskell")
8979 (description "This Haskell package provides an API for constructing vectors.
8980 It provides the composable @code{Builder} abstraction, which has instances of the
8981 @code{Monoid} and @code{Semigroup} classes.
8983 You would first use the @code{Builder} abstraction to specify the structure of
8984 the vector; then you can execute the builder to actually produce the
8986 (license license:expat)))
8988 (define-public ghc-foldl
8995 (uri (string-append "https://hackage.haskell.org/package/"
8996 "foldl-" version "/"
8997 "foldl-" version ".tar.gz"))
9000 "10qsp7dj2xsq4q2xm6x6b12y5pq32qf7my41hnkmdwwbccvhdxb2"))))
9001 (build-system haskell-build-system)
9002 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
9003 ("ghc-primitive" ,ghc-primitive)
9004 ("ghc-text" ,ghc-text)
9005 ("ghc-vector" ,ghc-vector)
9006 ("ghc-unordered-containers" ,ghc-unordered-containers)
9007 ("ghc-hashable" ,ghc-hashable)
9008 ("ghc-contravariant" ,ghc-contravariant)
9009 ("ghc-profunctors" ,ghc-profunctors)
9010 ("ghc-comonad" ,ghc-comonad)
9011 ("ghc-vector-builder" ,ghc-vector-builder)))
9012 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
9013 (synopsis "Composable, streaming, and efficient left folds for Haskell")
9014 (description "This Haskell library provides strict left folds that stream
9015 in constant memory, and you can combine folds using @code{Applicative} style
9016 to derive new folds. Derived folds still traverse the container just once
9017 and are often as efficient as hand-written folds.")
9018 (license license:bsd-3)))
9020 (define-public ghc-mono-traversable
9022 (name "ghc-mono-traversable")
9027 (uri (string-append "https://hackage.haskell.org/package/"
9028 "mono-traversable-" version "/"
9029 "mono-traversable-" version ".tar.gz"))
9032 "0180ks0dyvpk1r20w5jw2w2n79mjnk69n9vhspaxzlyxqgim5psa"))))
9033 (build-system haskell-build-system)
9034 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
9035 ("ghc-hashable" ,ghc-hashable)
9036 ("ghc-text" ,ghc-text)
9037 ("ghc-vector" ,ghc-vector)
9038 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
9039 ("ghc-split" ,ghc-split)))
9040 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9041 ("ghc-hunit" ,ghc-hunit)
9042 ("ghc-quickcheck" ,ghc-quickcheck)
9043 ("ghc-semigroups" ,ghc-semigroups)
9044 ("ghc-foldl" ,ghc-foldl)))
9045 (home-page "https://github.com/snoyberg/mono-traversable")
9046 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
9048 (description "This Haskell package provides Monomorphic variants of the
9049 Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
9050 basic typeclasses, you understand mono-traversable. In addition to what
9051 you are used to, it adds on an IsSequence typeclass and has code for marking
9052 data structures as non-empty.")
9053 (license license:expat)))
9055 (define-public ghc-conduit-combinators
9057 (name "ghc-conduit-combinators")
9062 (uri (string-append "https://hackage.haskell.org/package/"
9063 "conduit-combinators-" version "/"
9064 "conduit-combinators-" version ".tar.gz"))
9067 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
9068 (build-system haskell-build-system)
9069 (inputs `(("ghc-conduit" ,ghc-conduit)
9070 ("ghc-conduit-extra" ,ghc-conduit-extra)
9071 ("ghc-transformers-base" ,ghc-transformers-base)
9072 ("ghc-primitive" ,ghc-primitive)
9073 ("ghc-vector" ,ghc-vector)
9074 ("ghc-text" ,ghc-text)
9075 ("ghc-void" ,ghc-void)
9076 ("ghc-mwc-random" ,ghc-mwc-random)
9077 ("ghc-unix-compat" ,ghc-unix-compat)
9078 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9079 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9080 ("ghc-resourcet" ,ghc-resourcet)
9081 ("ghc-monad-control" ,ghc-monad-control)
9082 ("ghc-chunked-data" ,ghc-chunked-data)
9083 ("ghc-mono-traversable" ,ghc-mono-traversable)))
9084 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9085 ("ghc-silently" ,ghc-silently)
9086 ("ghc-mtl" ,ghc-mtl)
9087 ("ghc-safe" ,ghc-safe)
9088 ("ghc-quickcheck" ,ghc-quickcheck)))
9089 (home-page "https://github.com/snoyberg/mono-traversable")
9090 (synopsis "Commonly used conduit functions, for both chunked and
9092 (description "This Haskell package provides a replacement for Data.Conduit.List,
9093 as well as a convenient Conduit module.")
9094 (license license:expat)))
9096 (define-public ghc-aws
9103 (uri (string-append "https://hackage.haskell.org/package/"
9104 "aws-" version "/aws-" version ".tar.gz"))
9106 "0h7473wkvc5xjzx5fd5k5fp70rjq5gqmn1cpy95mswvvfsq3irxj"))))
9107 (build-system haskell-build-system)
9108 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
9110 `(("ghc-aeson" ,ghc-aeson)
9111 ("ghc-attoparsec" ,ghc-attoparsec)
9112 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9113 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9114 ("ghc-blaze-builder" ,ghc-blaze-builder)
9115 ("ghc-byteable" ,ghc-byteable)
9116 ("ghc-case-insensitive" ,ghc-case-insensitive)
9117 ("ghc-cereal" ,ghc-cereal)
9118 ("ghc-conduit" ,ghc-conduit)
9119 ("ghc-conduit-extra" ,ghc-conduit-extra)
9120 ("ghc-cryptonite" ,ghc-cryptonite)
9121 ("ghc-data-default" ,ghc-data-default)
9122 ("ghc-http-conduit" ,ghc-http-conduit)
9123 ("ghc-http-types" ,ghc-http-types)
9124 ("ghc-monad-control" ,ghc-monad-control)
9125 ("ghc-mtl" ,ghc-mtl)
9126 ("ghc-network" ,ghc-network)
9127 ("ghc-old-locale" ,ghc-old-locale)
9128 ("ghc-safe" ,ghc-safe)
9129 ("ghc-scientific" ,ghc-scientific)
9130 ("ghc-tagged" ,ghc-tagged)
9131 ("ghc-text" ,ghc-text)
9132 ("ghc-unordered-containers" ,ghc-unordered-containers)
9133 ("ghc-utf8-string" ,ghc-utf8-string)
9134 ("ghc-vector" ,ghc-vector)
9135 ("ghc-xml-conduit" ,ghc-xml-conduit)))
9137 `(("ghc-quickcheck" ,ghc-quickcheck)
9138 ("ghc-errors" ,ghc-errors)
9139 ("ghc-http-client" ,ghc-http-client)
9140 ("ghc-http-client-tls" ,ghc-http-client-tls)
9141 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9142 ("ghc-tasty" ,ghc-tasty)
9143 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9144 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9145 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
9146 (home-page "https://github.com/aristidb/aws")
9147 (synopsis "Amazon Web Services for Haskell")
9148 (description "This package attempts to provide support for using
9149 Amazon Web Services like S3 (storage), SQS (queuing) and others to
9150 Haskell programmers. The ultimate goal is to support all Amazon
9152 (license license:bsd-3)))
9154 (define-public ghc-basement
9156 (name "ghc-basement")
9161 (uri (string-append "https://hackage.haskell.org/package/"
9162 "basement/basement-" version ".tar.gz"))
9165 "0w2g4k9bs2ph00p0fgrmcrng8ypdz6xis0r10g380nzkg2rvj0dm"))))
9166 (build-system haskell-build-system)
9167 (home-page "https://github.com/haskell-foundation/foundation")
9168 (synopsis "Basic primitives for Foundation starter pack")
9170 "This package contains basic primitives for the Foundation set of
9172 (license license:bsd-3)))
9174 (define-public ghc-foundation
9176 (name "ghc-foundation")
9181 (uri (string-append "https://hackage.haskell.org/package/"
9182 "foundation/foundation-" version ".tar.gz"))
9185 "0bg4g0xf4pb2vmahnfp8c4f0a3v0av73lb5g8bwnp170khxfcsms"))))
9186 (build-system haskell-build-system)
9187 (inputs `(("ghc-basement" ,ghc-basement)))
9188 (home-page "https://github.com/haskell-foundation/foundation")
9189 (synopsis "Alternative prelude with batteries and no dependencies")
9191 "This package provides a custom prelude with no dependencies apart from
9194 Foundation has the following goals:
9197 @item provide a base like sets of modules that provide a consistent set of
9198 features and bugfixes across multiple versions of GHC (unlike base).
9199 @item provide a better and more efficient prelude than base's prelude.
9200 @item be self-sufficient: no external dependencies apart from base;
9201 @item provide better data-types: packed unicode string by default, arrays;
9202 @item Numerical classes that better represent mathematical things (no more
9203 all-in-one @code{Num});
9204 @item I/O system with less lazy IO.
9206 (license license:bsd-3)))
9208 (define-public ghc-stm-chans
9210 (name "ghc-stm-chans")
9215 (uri (string-append "https://hackage.haskell.org/package/"
9216 "stm-chans-" version "/"
9217 "stm-chans-" version ".tar.gz"))
9220 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
9221 (build-system haskell-build-system)
9222 (inputs `(("ghc-stm" ,ghc-stm)))
9223 (home-page "https://hackage.haskell.org/package/stm-chans")
9224 (synopsis "Additional types of channels for ghc-stm")
9225 (description "This Haskell package offers a collection of channel types,
9226 similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
9228 (license license:bsd-3)))
9230 (define-public ghc-monad-loops
9232 (name "ghc-monad-loops")
9237 (uri (string-append "https://hackage.haskell.org/package/"
9238 "monad-loops-" version "/"
9239 "monad-loops-" version ".tar.gz"))
9242 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
9243 (build-system haskell-build-system)
9244 (native-inputs `(("ghc-tasty" ,ghc-tasty)
9245 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9246 (home-page "https://github.com/mokus0/monad-loops")
9247 (synopsis "Monadic loops for Haskell")
9248 (description "This Haskell package provides some useful control
9249 operators for looping.")
9250 (license license:public-domain)))
9252 (define-public ghc-monad-logger
9254 (name "ghc-monad-logger")
9255 (version "0.3.25.1")
9259 (uri (string-append "https://hackage.haskell.org/package/"
9260 "monad-logger-" version "/"
9261 "monad-logger-" version ".tar.gz"))
9264 "0yv4fsi566zrn30j2g5l901lyqgmflhvzy4hji7ikcbh5d45m920"))))
9265 (build-system haskell-build-system)
9266 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
9267 ("ghc-text" ,ghc-text)
9268 ("ghc-stm" ,ghc-stm)
9269 ("ghc-stm-chans" ,ghc-stm-chans)
9270 ("ghc-lifted-base" ,ghc-lifted-base)
9271 ("ghc-resourcet" ,ghc-resourcet)
9272 ("ghc-conduit" ,ghc-conduit)
9273 ("ghc-conduit-extra" ,ghc-conduit-extra)
9274 ("ghc-fast-logger" ,ghc-fast-logger)
9275 ("ghc-transformers-base" ,ghc-transformers-base)
9276 ("ghc-monad-control" ,ghc-monad-control)
9277 ("ghc-monad-loops" ,ghc-monad-loops)
9278 ("ghc-mtl" ,ghc-mtl)
9279 ("ghc-blaze-builder" ,ghc-blaze-builder)
9280 ("ghc-exceptions" ,ghc-exceptions)))
9281 (home-page "https://github.com/kazu-yamamoto/logger")
9282 (synopsis "Provides a class of monads which can log messages for Haskell")
9283 (description "This Haskell package uses a monad transformer approach
9286 This package provides Template Haskell functions for determining source
9287 code locations of messages.")
9288 (license license:expat)))
9290 (define-public ghc-shakespeare
9292 (name "ghc-shakespeare")
9297 (uri (string-append "https://hackage.haskell.org/package/"
9298 "shakespeare-" version "/"
9299 "shakespeare-" version ".tar.gz"))
9302 "0j5zx8ka7d7scvb9shm7k3376qzl3k4kpim9aqqfs6n86901zpl4"))))
9303 (build-system haskell-build-system)
9304 (inputs `(("ghc-parsec" ,ghc-parsec)
9305 ("ghc-text" ,ghc-text)
9306 ("ghc-aeson" ,ghc-aeson)
9307 ("ghc-blaze-markup" ,ghc-blaze-markup)
9308 ("ghc-blaze-html" ,ghc-blaze-html)
9309 ("ghc-exceptions" ,ghc-exceptions)
9310 ("ghc-vector" ,ghc-vector)
9311 ("ghc-unordered-containers" ,ghc-unordered-containers)
9312 ("ghc-scientific" ,ghc-scientific)))
9313 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9314 ("ghc-hunit" ,ghc-hunit)
9315 ("hspec-discover" ,hspec-discover)))
9316 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
9317 (synopsis "Family of type-safe template languages for Haskell")
9318 (description "This Haskell package provides a family of type-safe
9319 templates with simple variable interpolation. Shakespeare templates can
9320 be used inline with a quasi-quoter or in an external file and it
9321 interpolates variables according to the type being inserted.")
9322 (license license:expat)))
9324 (define-public ghc-securemem
9326 (name "ghc-securemem")
9331 (uri (string-append "https://hackage.haskell.org/package/"
9332 "securemem-" version "/"
9333 "securemem-" version ".tar.gz"))
9336 "0dkhhjxa7njc3qbgvd5a23rkvr39vj2kn2a9nk6yjg7a8b2hvdpy"))))
9337 (build-system haskell-build-system)
9338 (inputs `(("ghc-byteable" ,ghc-byteable)
9339 ("ghc-memory" ,ghc-memory)))
9340 (home-page "https://github.com/vincenthz/hs-securemem")
9341 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
9343 (description "SecureMem is similar to ByteString, except that it provides
9344 a memory chunk that will be auto-scrubbed after it run out of scope.")
9345 (license license:bsd-3)))
9347 (define-public ghc-resource-pool
9349 (name "ghc-resource-pool")
9354 (uri (string-append "https://hackage.haskell.org/package/"
9355 "resource-pool-" version "/"
9356 "resource-pool-" version ".tar.gz"))
9359 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
9360 (build-system haskell-build-system)
9361 (inputs `(("ghc-hashable" ,ghc-hashable)
9362 ("ghc-monad-control" ,ghc-monad-control)
9363 ("ghc-transformers-base" ,ghc-transformers-base)
9364 ("ghc-stm" ,ghc-stm)
9365 ("ghc-vector" ,ghc-vector)))
9366 (home-page "https://github.com/bos/pool")
9367 (synopsis "Striped resource pooling implementation in Haskell")
9368 (description "This Haskell package provides striped pooling abstraction
9369 for managing flexibly-sized collections of resources such as database
9371 (license license:bsd-3)))
9373 (define-public ghc-attoparsec-iso8601
9375 (name "ghc-attoparsec-iso8601")
9380 (uri (string-append "https://hackage.haskell.org/package/"
9381 "attoparsec-iso8601-" version "/"
9382 "attoparsec-iso8601-" version ".tar.gz"))
9385 "12l55b76bhya9q89mfmqmy6sl5v39b6gzrw5rf3f70vkb23nsv5a"))))
9386 (build-system haskell-build-system)
9387 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9388 ("ghc-base-compat" ,ghc-base-compat)
9389 ("ghc-text" ,ghc-text)))
9390 (home-page "https://github.com/bos/aeson")
9391 (synopsis "Parse ISO 8601 dates")
9392 (description "Haskell library for parsing of ISO 8601 dates, originally
9394 (license license:bsd-3)))
9396 (define-public ghc-generics-sop
9398 (name "ghc-generics-sop")
9403 (uri (string-append "https://hackage.haskell.org/package/"
9404 "generics-sop-" version "/"
9405 "generics-sop-" version ".tar.gz"))
9408 "1bazlhgmxcwv7vd44jhdx74cnhmaz6yy47jxfycapjj4mjrnp0x7"))))
9409 (build-system haskell-build-system)
9410 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)))
9411 (home-page "https://github.com/well-typed/generics-sop")
9412 (synopsis "Generic Programming using True Sums of Products for Haskell")
9413 (description "This Haskell package supports the definition of generic
9414 functions. Datatypes are viewed in a uniform, structured way: the choice
9415 between constructors is represented using an n-ary sum, and the arguments of
9416 each constructor are represented using an n-ary product.")
9417 (license license:bsd-3)))
9419 (define-public ghc-uri-bytestring
9421 (name "ghc-uri-bytestring")
9426 (uri (string-append "https://hackage.haskell.org/package/"
9427 "uri-bytestring-" version "/"
9428 "uri-bytestring-" version ".tar.gz"))
9431 "04qjv1sgyrdg538290p9hqnvyxnahvr5cjwl8vm1rn9j0fv3ymq9"))))
9432 (build-system haskell-build-system)
9433 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9434 ("ghc-fail" ,ghc-fail)
9435 ("ghc-blaze-builder" ,ghc-blaze-builder)
9436 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
9437 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9438 ("ghc-hunit" ,ghc-hunit)
9439 ("ghc-quickcheck" ,ghc-quickcheck)
9440 ("ghc-tasty" ,ghc-tasty)
9441 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9442 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9443 ("ghc-base-compat" ,ghc-base-compat)
9444 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9445 ("ghc-semigroups" ,ghc-semigroups)
9446 ("ghc-generics-sop" ,ghc-generics-sop)))
9447 (home-page "https://github.com/Soostone/uri-bytestring")
9448 (synopsis "Haskell URI parsing as ByteStrings")
9449 (description "This Haskell package aims to be an RFC3986 compliant URI
9450 parser that uses ByteStrings for parsing and representing the URI data.")
9451 (license license:bsd-3)))
9453 (define-public ghc-http-api-data
9455 (name "ghc-http-api-data")
9460 (uri (string-append "https://hackage.haskell.org/package/"
9461 "http-api-data-" version "/"
9462 "http-api-data-" version ".tar.gz"))
9465 "1zbmf0kkfsw7pfznisi205gh7jd284gfarxsyiavd2iw26akwqwc"))))
9466 (build-system haskell-build-system)
9467 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.9
9468 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9469 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
9470 ("ghc-hashable" ,ghc-hashable)
9471 ("ghc-http-types" ,ghc-http-types)
9472 ("ghc-text" ,ghc-text)
9473 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9474 ("ghc-unordered-containers" ,ghc-unordered-containers)
9475 ("ghc-uri-bytestring" ,ghc-uri-bytestring)
9476 ("ghc-uuid-types" ,ghc-uuid-types)))
9477 (home-page "https://github.com/fizruk/http-api-data")
9478 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
9480 (description "This Haskell package defines typeclasses used for converting
9481 Haskell data types to and from HTTP API data.")
9482 (license license:bsd-3)))
9484 (define-public ghc-persistent
9486 (name "ghc-persistent")
9491 (uri (string-append "https://hackage.haskell.org/package/"
9492 "persistent-" version "/"
9493 "persistent-" version ".tar.gz"))
9496 "1jbvavdvr9qz5ld7vf6l1jgiadhmxx6zc4vqsdk9ivfq6d5wlg1p"))))
9497 (build-system haskell-build-system)
9498 (inputs `(("ghc-old-locale" ,ghc-old-locale)
9499 ("ghc-text" ,ghc-text)
9500 ("ghc-conduit" ,ghc-conduit)
9501 ("ghc-resourcet" ,ghc-resourcet)
9502 ("ghc-exceptions" ,ghc-exceptions)
9503 ("ghc-monad-control" ,ghc-monad-control)
9504 ("ghc-lifted-base" ,ghc-lifted-base)
9505 ("ghc-resource-pool" ,ghc-resource-pool)
9506 ("ghc-path-pieces" ,ghc-path-pieces)
9507 ("ghc-http-api-data" ,ghc-http-api-data)
9508 ("ghc-aeson" ,ghc-aeson)
9509 ("ghc-monad-logger" ,ghc-monad-logger)
9510 ("ghc-transformers-base" ,ghc-transformers-base)
9511 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9512 ("ghc-unordered-containers" ,ghc-unordered-containers)
9513 ("ghc-vector" ,ghc-vector)
9514 ("ghc-attoparsec" ,ghc-attoparsec)
9515 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)
9516 ("ghc-blaze-html" ,ghc-blaze-html)
9517 ("ghc-blaze-markup" ,ghc-blaze-markup)
9518 ("ghc-silently" ,ghc-silently)
9519 ("ghc-mtl" ,ghc-mtl)
9520 ("ghc-fast-logger" ,ghc-fast-logger)
9521 ("ghc-scientific" ,ghc-scientific)
9522 ("ghc-tagged" ,ghc-tagged)))
9523 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9524 (home-page "https://www.yesodweb.com/book/persistent")
9525 (synopsis "Type-safe, multi-backend data serialization for Haskell")
9526 (description "This Haskell package allows Haskell programs to access data
9527 storage sytems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
9529 (license license:expat)))
9531 (define-public ghc-aeson-compat
9533 (name "ghc-aeson-compat")
9538 (uri (string-append "https://hackage.haskell.org/package/"
9539 "aeson-compat-" version "/"
9540 "aeson-compat-" version ".tar.gz"))
9543 "1jya3lm9imclhb8qqihv39hhb62vvs3qpws7pc5fc23vwg0hsx2r"))))
9544 (build-system haskell-build-system)
9545 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
9546 (inputs `(("ghc-base-compat" ,ghc-base-compat)
9547 ("ghc-aeson" ,ghc-aeson)
9548 ("ghc-attoparsec" ,ghc-attoparsec)
9549 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
9550 ("ghc-exceptions" ,ghc-exceptions)
9551 ("ghc-hashable" ,ghc-hashable)
9552 ("ghc-scientific" ,ghc-scientific)
9553 ("ghc-text" ,ghc-text)
9554 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9555 ("ghc-unordered-containers" ,ghc-unordered-containers)
9556 ("ghc-vector" ,ghc-vector)
9557 ("ghc-tagged" ,ghc-tagged)
9558 ("ghc-semigroups" ,ghc-semigroups)
9559 ("ghc-nats" ,ghc-nats)))
9560 (home-page "https://github.com/phadej/aeson-compat")
9561 (synopsis "Compatibility layer for ghc-aeson")
9562 (description "This Haskell package provides compatibility layer for
9564 (license license:bsd-3)))
9566 (define-public ghc-persistent-template
9568 (name "ghc-persistent-template")
9573 (uri (string-append "https://hackage.haskell.org/package/"
9574 "persistent-template-" version "/"
9575 "persistent-template-" version ".tar.gz"))
9578 "0449piw3n02q7dag7k1pakfmzmf3ms4wk1qmnagczpm1ckajinwd"))))
9579 (build-system haskell-build-system)
9580 (inputs `(("ghc-persistent" ,ghc-persistent)
9581 ("ghc-monad-control" ,ghc-monad-control)
9582 ("ghc-text" ,ghc-text)
9583 ("ghc-aeson" ,ghc-aeson)
9584 ("ghc-aeson-compat" ,ghc-aeson-compat)
9585 ("ghc-monad-logger" ,ghc-monad-logger)
9586 ("ghc-unordered-containers" ,ghc-unordered-containers)
9587 ("ghc-tagged" ,ghc-tagged)
9588 ("ghc-path-pieces" ,ghc-path-pieces)
9589 ("ghc-http-api-data" ,ghc-http-api-data)))
9590 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9591 ("ghc-quickcheck" ,ghc-quickcheck)))
9592 (home-page "https://www.yesodweb.com/book/persistent")
9593 (synopsis "Type-safe, non-relational, multi-backend persistence")
9594 (description "This Haskell package provides interfaces and helper
9595 functions for the ghc-persistent package.")
9596 (license license:expat)))
9598 (define-public ghc-unliftio-core
9600 (name "ghc-unliftio-core")
9605 (uri (string-append "https://hackage.haskell.org/package/"
9606 "unliftio-core-" version "/"
9607 "unliftio-core-" version ".tar.gz"))
9610 "1193fplsjm1lcr05xwvkj1rsyzx74i755f6kw3ikmxbsv0bv0l3m"))))
9611 (build-system haskell-build-system)
9613 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
9614 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
9615 (description "This Haskell package provides the core @code{MonadUnliftIO}
9616 typeclass, instances for base and transformers, and basic utility
9618 (license license:expat)))
9620 (define-public ghc-microlens
9622 (name "ghc-microlens")
9627 (uri (string-append "https://hackage.haskell.org/package/"
9628 "microlens-" version "/"
9629 "microlens-" version ".tar.gz"))
9632 "17qx2mbqdrlnkc3gxq8njbp7qw8nh51drmz6fc8khgj9bls5ni2k"))))
9633 (build-system haskell-build-system)
9635 "https://github.com/aelve/microlens")
9636 (synopsis "Provides a tiny lens Haskell library with no dependencies")
9637 (description "This Haskell package provides a lens library, just like
9638 @code{ghc-lens}, but smaller. It provides essential lenses and
9639 traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
9640 nice to have (like @code{each}, @code{at}, and @code{ix}), and some
9641 combinators (like @code{failing} and @code{singular}), but everything else is
9642 stripped. As the result, this package has no dependencies.")
9643 (license license:bsd-3)))
9645 (define-public ghc-microlens-th
9647 (name "ghc-microlens-th")
9652 (uri (string-append "https://hackage.haskell.org/package/"
9653 "microlens-th-" version "/"
9654 "microlens-th-" version ".tar.gz"))
9657 "15a12cqxlgbcn1n73zwrxnp2vfm8b0ma0a0sdd8zmjbs8zy3np4f"))))
9658 (build-system haskell-build-system)
9659 (inputs `(("ghc-microlens" ,ghc-microlens)))
9661 "https://github.com/aelve/microlens")
9662 (synopsis "Automatic generation of record lenses for
9663 @code{ghc-microlens}")
9664 (description "This Haskell package lets you automatically generate lenses
9665 for data types; code was extracted from the lens package, and therefore
9666 generated lenses are fully compatible with ones generated by lens (and can be
9667 used both from lens and microlens).")
9668 (license license:bsd-3)))
9670 (define-public ghc-unliftio
9672 (name "ghc-unliftio")
9678 "https://hackage.haskell.org/package/unliftio/unliftio-"
9683 "0vpncmwaq5zb6bziqfns4qdgxmq8ky0rlxna2yngxp170s5zxx9z"))))
9684 (build-system haskell-build-system)
9685 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
9687 `(("ghc-async" ,ghc-async)
9688 ("ghc-stm" ,ghc-stm)
9689 ("ghc-unliftio-core" ,ghc-unliftio-core)))
9690 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9691 (home-page "https://github.com/fpco/unliftio")
9692 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
9693 IO (batteries included)")
9694 (description "This Haskell package provides the core @code{MonadUnliftIO}
9695 typeclass, a number of common instances, and a collection of common functions
9697 (license license:expat)))
9699 (define-public ghc-persistent-sqlite
9701 (name "ghc-persistent-sqlite")
9706 (uri (string-append "https://hackage.haskell.org/package/"
9707 "persistent-sqlite-" version "/"
9708 "persistent-sqlite-" version ".tar.gz"))
9711 "16mc2ra0hbyyc8ckjlxxc11bpskdymbr8c3g6ih6wzik639xprbm"))))
9712 (build-system haskell-build-system)
9713 (inputs `(("ghc-persistent" ,ghc-persistent)
9714 ("ghc-unliftio-core" ,ghc-unliftio-core)
9715 ("ghc-aeson" ,ghc-aeson)
9716 ("ghc-conduit" ,ghc-conduit)
9717 ("ghc-monad-logger" ,ghc-monad-logger)
9718 ("ghc-microlens-th" ,ghc-microlens-th)
9719 ("ghc-resourcet" ,ghc-resourcet)
9720 ("ghc-old-locale" ,ghc-old-locale)
9721 ("ghc-resource-pool" ,ghc-resource-pool)
9722 ("ghc-unordered-containers" ,ghc-unordered-containers)))
9723 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9724 ("ghc-persistent-template" ,ghc-persistent-template)
9725 ("ghc-temporary" ,ghc-temporary)
9726 ("ghc-text" ,ghc-text)))
9728 "https://www.yesodweb.com/book/persistent")
9729 (synopsis "Backend for the persistent library using sqlite3")
9730 (description "This Haskell package includes a thin sqlite3 wrapper based
9731 on the direct-sqlite package, as well as the entire C library, so there are no
9732 system dependencies.")
9733 (license license:expat)))
9735 (define-public ghc-email-validate
9737 (name "ghc-email-validate")
9743 "https://hackage.haskell.org/package/"
9744 "email-validate/email-validate-"
9749 "0qvxysiap3r4mi3xff5nsk9qv6diqxfgwj186bypbamzvzlz0lav"))))
9750 (build-system haskell-build-system)
9752 `(("ghc-attoparsec" ,ghc-attoparsec)
9753 ("ghc-hspec" ,ghc-hspec)
9754 ("ghc-quickcheck" ,ghc-quickcheck)
9755 ("ghc-doctest" ,ghc-doctest)))
9757 "https://github.com/Porges/email-validate-hs")
9758 (synopsis "Email address validator for Haskell")
9760 "This Haskell package provides a validator that can validate an email
9761 address string against RFC 5322.")
9762 (license license:bsd-3)))
9764 (define-public ghc-semigroupoids-5.2.2
9766 (inherit ghc-semigroupoids)
9767 (name "ghc-semigroupoids")
9771 (uri (string-append "https://hackage.haskell.org/package/"
9772 "semigroupoids-" version "/semigroupoids-"
9776 "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4"))))
9777 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
9778 ,@(package-inputs ghc-semigroupoids)))))
9780 (define-public ghc-bytes
9788 (string-append "https://hackage.haskell.org/package/bytes-"
9791 (file-name (string-append name "-" version ".tar.gz"))
9794 "121x3iqlm8pghw8cd9g30cnqbl7jrdpfjxdanmqdqllajw6xivrm"))))
9795 (build-system haskell-build-system)
9796 (inputs `(("ghc-cereal" ,ghc-cereal)
9797 ("cabal-doctest" ,cabal-doctest)
9798 ("ghc-doctest" ,ghc-doctest-0.13)
9799 ("ghc-mtl" ,ghc-mtl)
9800 ("ghc-scientific" ,ghc-scientific)
9801 ("ghc-text" ,ghc-text)
9802 ("ghc-transformers-compat" ,ghc-transformers-compat)
9803 ("ghc-unordered-containers" ,ghc-unordered-containers)
9804 ("ghc-void" ,ghc-void)
9805 ("ghc-vector" ,ghc-vector)))
9806 (synopsis "Serialization between @code{binary} and @code{cereal}")
9807 (description "This package provides a simple compatibility shim that lets
9808 you work with both @code{binary} and @code{cereal} with one chunk of
9809 serialization code.")
9810 (home-page "https://hackage.haskell.org/package/bytes")
9811 (license license:bsd-3)))
9813 (define-public ghc-disk-free-space
9815 (name "ghc-disk-free-space")
9820 (uri (string-append "https://hackage.haskell.org/package/"
9821 "disk-free-space/disk-free-space-"
9825 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
9826 (build-system haskell-build-system)
9827 (home-page "https://github.com/redneb/disk-free-space")
9828 (synopsis "Retrieve information about disk space usage")
9829 (description "A cross-platform library for retrieving information about
9831 (license license:bsd-3)))
9833 (define-public ghc-xdg-basedir
9835 (name "ghc-xdg-basedir")
9841 "https://hackage.haskell.org/package/xdg-basedir/"
9842 "xdg-basedir-" version ".tar.gz"))
9845 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
9846 (build-system haskell-build-system)
9847 (home-page "http://github.com/willdonnelly/xdg-basedir")
9848 (synopsis "XDG Base Directory library for Haskell")
9849 (description "This package provides a library implementing the XDG Base Directory spec.")
9850 (license license:bsd-3)))
9852 ;;; haskell.scm ends here