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, 2019 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2016, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
7 ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
8 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
9 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 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, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
16 ;;; Copyright © 2018 Tonton <tonton@riseup.net>
17 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
18 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2018, 2019 Gabriel Hondet <gabrielhondet@gmail.com>
20 ;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
22 ;;; This file is part of GNU Guix.
24 ;;; GNU Guix is free software; you can redistribute it and/or modify it
25 ;;; under the terms of the GNU General Public License as published by
26 ;;; the Free Software Foundation; either version 3 of the License, or (at
27 ;;; your option) any later version.
29 ;;; GNU Guix is distributed in the hope that it will be useful, but
30 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
31 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 ;;; GNU General Public License for more details.
34 ;;; You should have received a copy of the GNU General Public License
35 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
37 (define-module (gnu packages haskell)
38 #:use-module (gnu packages)
39 #:use-module (gnu packages base)
40 #:use-module (gnu packages bootstrap)
41 #:use-module (gnu packages check)
42 #:use-module (gnu packages compression)
43 #:use-module (gnu packages elf)
44 #:use-module (gnu packages gcc)
45 #:use-module (gnu packages ghostscript)
46 #:use-module (gnu packages gl)
47 #:use-module (gnu packages graphviz)
48 #:use-module (gnu packages gtk)
49 #:use-module (gnu packages haskell-check)
50 #:use-module (gnu packages haskell-crypto)
51 #:use-module (gnu packages haskell-web)
52 #:use-module (gnu packages libffi)
53 #:use-module (gnu packages linux)
54 #:use-module (gnu packages lisp)
55 #:use-module (gnu packages lua)
56 #:use-module (gnu packages maths)
57 #:use-module (gnu packages multiprecision)
58 #:use-module (gnu packages ncurses)
59 #:use-module (gnu packages pcre)
60 #:use-module (gnu packages perl)
61 #:use-module (gnu packages pkg-config)
62 #:use-module (gnu packages python)
63 #:use-module (gnu packages sdl)
64 #:use-module (gnu packages tls)
65 #:use-module (gnu packages xml)
66 #:use-module (gnu packages xorg)
67 #:use-module (guix build-system gnu)
68 #:use-module (guix build-system haskell)
69 #:use-module (guix download)
70 #:use-module (guix git-download)
71 #:use-module ((guix licenses) #:prefix license:)
72 #:use-module (guix packages)
73 #:use-module (guix utils)
74 #:use-module (ice-9 regex)
75 #:use-module ((srfi srfi-1) #:select (alist-delete)))
77 (define-public cl-yale-haskell
78 (let ((commit "85f94c72a16c5f70301dd8db04cde9de2d7dd270")
81 (name "cl-yale-haskell")
82 (version (string-append "2.0.5-" revision "." (string-take commit 9)))
86 (url "https://git.elephly.net/software/yale-haskell.git")
88 (file-name (string-append "yale-haskell-" commit "-checkout"))
91 "0bal3m6ryrjamz5p93bhs9rp5msk8k7lpcqr44wd7xs9b9k8w74g"))))
92 (build-system gnu-build-system)
94 `(#:tests? #f ; no tests
95 ;; Stripping binaries leads to a broken executable lisp system image.
98 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
100 (modify-phases %standard-phases
103 (setenv "PRELUDE" "./progs/prelude")
104 (setenv "HASKELL_LIBRARY" "./progs/lib")
105 (setenv "PRELUDEBIN" "./progs/prelude/clisp")
106 (setenv "HASKELLPROG" "./bin/clisp-haskell")
110 (home-page "https://git.elephly.net/software/yale-haskell.git")
111 (synopsis "Port of the Yale Haskell system to CLISP")
112 (description "This package provides the Yale Haskell system running on
114 (license license:bsd-4))))
116 (define ghc-bootstrap-x86_64-7.8.4
120 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.xz")
123 "13azsl53xgj20mi1hj9x0xb32vvcvs6cpmvwx6znxhas7blh0bpn"))))
125 (define ghc-bootstrap-i686-7.8.4
129 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.xz")
132 "0wj5s435j0zgww70bj1d3f6wvnnpzlxwvwcyh2qv4qjq5z8j64kg"))))
134 ;; 43 tests out of 3965 fail.
136 ;; Most of them do not appear to be serious:
138 ;; - some tests generate files referring to "/bin/sh" and "/bin/ls". I've not
139 ;; figured out how these references are generated.
141 ;; - Some tests allocate more memory than expected (ca. 3% above upper limit)
143 ;; - Some tests try to load unavailable libriries: Control.Concurrent.STM,
144 ;; Data.Vector, Control.Monad.State.
146 ;; - Test posix010 tries to check the existence of a user on the system:
147 ;; getUserEntryForName: does not exist (no such user)
155 (uri (string-append "https://www.haskell.org/ghc/dist/"
156 version "/" name "-" version "-src.tar.xz"))
159 "1x8m4rp2v7ydnrz6z9g8x7z3x3d3pxhv2pixy7i7hkbqbdsp7kal"))))
160 (build-system gnu-build-system)
161 (supported-systems '("i686-linux" "x86_64-linux"))
162 (outputs '("out" "doc"))
171 "https://www.haskell.org/ghc/dist/"
172 version "/" name "-" version "-testsuite.tar.xz"))
175 "0qp9da9ar87zbyn6wjgacd2ic1vgzbi3cklxnhsmjqyafv9qaj4b"))))))
178 ("python" ,python-2) ; for tests (fails with python-3)
179 ("ghostscript" ,ghostscript) ; for tests
180 ("patchelf" ,patchelf)
181 ;; GHC is built with GHC. Therefore we need bootstrap binaries.
183 ,(if (string-match "x86_64" (or (%current-target-system) (%current-system)))
184 ghc-bootstrap-x86_64-7.8.4
185 ghc-bootstrap-i686-7.8.4))))
187 `(#:test-target "test"
188 ;; We get a smaller number of test failures by disabling parallel test
192 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
193 ;; gremlin) doesn't support it yet, so skip this phase.
194 #:validate-runpath? #f
196 ;; Don't pass --build=<triplet>, because the configure script
197 ;; auto-detects slightly different triplets for --host and --target and
198 ;; then complains that they don't match.
201 #:modules ((guix build gnu-build-system)
206 #:imported-modules (,@%gnu-build-system-modules
210 (string-append "--with-gmp-libraries="
211 (assoc-ref %build-inputs "gmp") "/lib")
212 (string-append "--with-gmp-includes="
213 (assoc-ref %build-inputs "gmp") "/include")
214 "--with-system-libffi"
215 (string-append "--with-ffi-libraries="
216 (assoc-ref %build-inputs "libffi") "/lib")
217 (string-append "--with-ffi-includes="
218 (assoc-ref %build-inputs "libffi") "/include"))
219 ;; FIXME: The user-guide needs dblatex, docbook-xsl and docbook-utils.
220 ;; Currently we do not have the last one.
222 ;; (list "BUILD_DOCBOOK_HTML = YES")
224 (let* ((ghc-bootstrap-path
225 (string-append (getcwd) "/" ,name "-" ,version "/ghc-bin"))
226 (ghc-bootstrap-prefix
227 (string-append ghc-bootstrap-path "/usr" )))
229 'unpack-bin 'unpack-testsuite-and-fix-bins
230 (lambda* (#:key inputs outputs #:allow-other-keys)
231 (with-directory-excursion ".."
232 (copy-file (assoc-ref inputs "ghc-testsuite")
233 "ghc-testsuite.tar.xz")
234 (system* "tar" "xvf" "ghc-testsuite.tar.xz"))
236 (list "testsuite/timeout/Makefile"
237 "testsuite/timeout/timeout.py"
238 "testsuite/timeout/timeout.hs"
239 "testsuite/tests/rename/prog006/Setup.lhs"
240 "testsuite/tests/programs/life_space_leak/life.test"
241 "libraries/process/System/Process/Internals.hs"
242 "libraries/unix/cbits/execvpe.c")
243 (("/bin/sh") (which "sh"))
248 (lambda* (#:key inputs outputs #:allow-other-keys)
249 (mkdir-p ghc-bootstrap-prefix)
250 (with-directory-excursion ghc-bootstrap-path
251 (copy-file (assoc-ref inputs "ghc-binary")
253 (zero? (system* "tar" "xvf" "ghc-bin.tar.xz"))))
255 'install-bin 'configure-bin
256 (lambda* (#:key inputs outputs #:allow-other-keys)
259 "./utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"
260 "./utils/hpc/dist-install/build/tmp/hpc"
261 "./utils/haddock/dist/build/tmp/haddock"
262 "./utils/hsc2hs/dist-install/build/tmp/hsc2hs"
263 "./utils/runghc/dist-install/build/tmp/runghc"
264 "./utils/ghc-cabal/dist-install/build/tmp/ghc-cabal"
265 "./utils/hp2ps/dist/build/tmp/hp2ps"
266 "./utils/ghc-pkg/dist-install/build/tmp/ghc-pkg"
267 "./utils/unlit/dist/build/tmp/unlit"
268 "./ghc/stage2/build/tmp/ghc-stage2"))
269 (gmp (assoc-ref inputs "gmp"))
270 (gmp-lib (string-append gmp "/lib"))
271 (gmp-include (string-append gmp "/include"))
273 (string-append (assoc-ref inputs "ncurses") "/lib"))
274 (ld-so (string-append (assoc-ref inputs "libc")
275 ,(glibc-dynamic-linker)))
277 (string-append ghc-bootstrap-prefix
278 "/lib/ghc-7.8.4/terminfo-0.4.0.0")))
279 (with-directory-excursion
280 (string-append ghc-bootstrap-path "/ghc-7.8.4")
281 (setenv "CONFIG_SHELL" (which "bash"))
282 (setenv "LD_LIBRARY_PATH" gmp-lib)
283 ;; The binaries have "/lib64/ld-linux-x86-64.so.2" hardcoded.
285 (cut system* "patchelf" "--set-interpreter" ld-so <>)
287 ;; The binaries include a reference to libtinfo.so.5 which
288 ;; is a subset of libncurses.so.5. We create a symlink in a
289 ;; directory included in the bootstrap binaries rpath.
290 (mkdir-p libtinfo-dir)
292 (string-append ncurses-lib "/libncursesw.so."
293 ;; Extract "6.0" from "6.0-20170930" if a
294 ;; dash-separated version tag exists.
295 ,(let* ((v (package-version ncurses))
296 (d (or (string-index v #\-)
298 (version-major+minor (string-take v d))))
299 (string-append libtinfo-dir "/libtinfo.so.5"))
302 (string-append (getenv "PATH") ":"
303 ghc-bootstrap-prefix "/bin"))
305 (string-append (getcwd) "/configure")
306 (string-append "--prefix=" ghc-bootstrap-prefix)
307 (string-append "--with-gmp-libraries=" gmp-lib)
308 (string-append "--with-gmp-includes=" gmp-include)))))
310 'configure 'install-bin
311 (lambda* (#:key inputs outputs #:allow-other-keys)
312 (with-directory-excursion
313 (string-append ghc-bootstrap-path "/ghc-7.8.4")
314 (zero? (system* "make" "install"))))
315 %standard-phases)))))))
316 (native-search-paths (list (search-path-specification
317 (variable "GHC_PACKAGE_PATH")
319 (string-append "lib/ghc-" version)))
320 (file-pattern ".*\\.conf\\.d$")
321 (file-type 'directory))))
322 (home-page "https://www.haskell.org/ghc")
323 (synopsis "The Glasgow Haskell Compiler")
325 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
326 interactive environment for the functional language Haskell.")
327 (license license:bsd-3)))
329 (define-public ghc-8.0
336 (uri (string-append "https://www.haskell.org/ghc/dist/"
337 version "/" name "-" version "-src.tar.xz"))
339 (base32 "1c8qc4fhkycynk4g1f9hvk53dj6a1vvqi6bklqznns6hw59m8qhi"))
342 "ghc-dont-pass-linker-flags-via-response-files.patch"
343 "ghc-8.0-fall-back-to-madv_dontneed.patch"))))
344 (build-system gnu-build-system)
345 (supported-systems '("i686-linux" "x86_64-linux"))
346 (outputs '("out" "doc"))
355 "https://www.haskell.org/ghc/dist/"
356 version "/" name "-" version "-testsuite.tar.xz"))
358 (base32 "1wjc3x68l305bl1h1ijd3yhqp2vqj83lkp3kqbr94qmmkqlms8sj"))))))
361 ("python" ,python-2) ; for tests
362 ("ghostscript" ,ghostscript) ; for tests
363 ;; GHC is built with GHC.
364 ("ghc-bootstrap" ,ghc-7)))
366 `(#:test-target "test"
367 ;; We get a smaller number of test failures by disabling parallel test
371 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
372 ;; gremlin) doesn't support it yet, so skip this phase.
373 #:validate-runpath? #f
375 ;; Don't pass --build=<triplet>, because the configure script
376 ;; auto-detects slightly different triplets for --host and --target and
377 ;; then complains that they don't match.
382 (string-append "--with-gmp-libraries="
383 (assoc-ref %build-inputs "gmp") "/lib")
384 (string-append "--with-gmp-includes="
385 (assoc-ref %build-inputs "gmp") "/include")
386 "--with-system-libffi"
387 (string-append "--with-ffi-libraries="
388 (assoc-ref %build-inputs "libffi") "/lib")
389 (string-append "--with-ffi-includes="
390 (assoc-ref %build-inputs "libffi") "/include")
391 (string-append "--with-curses-libraries="
392 (assoc-ref %build-inputs "ncurses") "/lib")
393 (string-append "--with-curses-includes="
394 (assoc-ref %build-inputs "ncurses") "/include"))
396 (modify-phases %standard-phases
397 (add-after 'unpack 'unpack-testsuite
398 (lambda* (#:key inputs #:allow-other-keys)
399 (with-directory-excursion ".."
400 (copy-file (assoc-ref inputs "ghc-testsuite")
401 "ghc-testsuite.tar.xz")
402 (zero? (system* "tar" "xvf" "ghc-testsuite.tar.xz")))))
403 (add-before 'build 'fix-lib-paths
406 (list "libraries/process/System/Process/Posix.hs"
407 "libraries/process/tests/process001.hs"
408 "libraries/process/tests/process002.hs"
409 "libraries/unix/cbits/execvpe.c")
410 (("/bin/sh") (which "sh"))
411 (("/bin/ls") (which "ls")))
413 (add-before 'build 'fix-environment
415 (unsetenv "GHC_PACKAGE_PATH")
416 (setenv "CONFIG_SHELL" (which "bash"))
418 (add-before 'check 'fix-testsuite
421 (list "testsuite/timeout/Makefile"
422 "testsuite/timeout/timeout.py"
423 "testsuite/timeout/timeout.hs"
424 "testsuite/tests/programs/life_space_leak/life.test")
425 (("/bin/sh") (which "sh"))
428 (native-search-paths (list (search-path-specification
429 (variable "GHC_PACKAGE_PATH")
431 (string-append "lib/ghc-" version)))
432 (file-pattern ".*\\.conf\\.d$")
433 (file-type 'directory))))
434 (home-page "https://www.haskell.org/ghc")
435 (synopsis "The Glasgow Haskell Compiler")
437 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
438 interactive environment for the functional language Haskell.")
439 (license license:bsd-3)))
442 (package (inherit ghc-8.0)
448 (uri (string-append "https://www.haskell.org/ghc/dist/"
449 version "/" name "-" version "-src.tar.xz"))
451 (base32 "1mk046vb561j75saz05rghhbkps46ym5aci4264dwc2qk3dayixf"))))
456 ("target-binutils" ,binutils)
458 ("target-ld-wrapper" ,(make-ld-wrapper "ld-wrapper"
459 #:binutils binutils))))
462 ("python" ,python) ; for tests
463 ("ghostscript" ,ghostscript) ; for tests
464 ;; GHC 8.4.3 is built with GHC 8.
465 ("ghc-bootstrap" ,ghc-8.0)
470 "https://www.haskell.org/ghc/dist/"
471 version "/" name "-" version "-testsuite.tar.xz"))
474 "1z55b1z0m3plqd2d1ks6w5wvx7igm7zsk3i4v7cms003z0as0hzz"))))))
476 `(#:test-target "test"
477 ;; We get a smaller number of test failures by disabling parallel test
481 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
482 ;; gremlin) doesn't support it yet, so skip this phase.
483 #:validate-runpath? #f
485 ;; Don't pass --build=<triplet>, because the configure script
486 ;; auto-detects slightly different triplets for --host and --target and
487 ;; then complains that they don't match.
492 (string-append "--with-gmp-libraries="
493 (assoc-ref %build-inputs "gmp") "/lib")
494 (string-append "--with-gmp-includes="
495 (assoc-ref %build-inputs "gmp") "/include")
496 "--with-system-libffi"
497 (string-append "--with-ffi-libraries="
498 (assoc-ref %build-inputs "libffi") "/lib")
499 (string-append "--with-ffi-includes="
500 (assoc-ref %build-inputs "libffi") "/include")
501 (string-append "--with-curses-libraries="
502 (assoc-ref %build-inputs "ncurses") "/lib")
503 (string-append "--with-curses-includes="
504 (assoc-ref %build-inputs "ncurses") "/include"))
506 (modify-phases %standard-phases
507 (add-after 'unpack 'unpack-testsuite
508 (lambda* (#:key inputs #:allow-other-keys)
510 (assoc-ref inputs "ghc-testsuite")
511 "--strip-components=1")
513 ;; This phase patches the 'ghc-pkg' command so that it sorts the list
514 ;; of packages in the binary cache it generates.
515 (add-before 'build 'fix-ghc-pkg-nondeterminism
517 (substitute* "utils/ghc-pkg/Main.hs"
518 (("confs = map \\(path </>\\) \\$ filter \\(\".conf\" `isSuffixOf`\\) fs")
519 "confs = map (path </>) $ filter (\".conf\" `isSuffixOf`) (sort fs)"))
521 (add-after 'unpack-testsuite 'fix-shell-wrappers
523 (substitute* '("driver/ghci/ghc.mk"
524 "utils/mkdirhier/ghc.mk"
525 "rules/shell-wrapper.mk")
526 (("echo '#!/bin/sh'")
527 (format #f "echo '#!~a'" (which "sh"))))
529 ;; This is necessary because the configure system no longer uses
530 ;; “AC_PATH_” but “AC_CHECK_”, setting the variables to just the
531 ;; plain command names.
532 (add-before 'configure 'set-target-programs
533 (lambda* (#:key inputs #:allow-other-keys)
534 (let ((binutils (assoc-ref inputs "target-binutils"))
535 (gcc (assoc-ref inputs "target-gcc"))
536 (ld-wrapper (assoc-ref inputs "target-ld-wrapper")))
537 (setenv "CC" (string-append gcc "/bin/gcc"))
538 (setenv "CXX" (string-append gcc "/bin/g++"))
539 (setenv "LD" (string-append ld-wrapper "/bin/ld"))
540 (setenv "NM" (string-append binutils "/bin/nm"))
541 (setenv "RANLIB" (string-append binutils "/bin/ranlib"))
542 (setenv "STRIP" (string-append binutils "/bin/strip"))
543 ;; The 'ar' command does not follow the same pattern.
544 (setenv "fp_prog_ar" (string-append binutils "/bin/ar"))
546 (add-before 'build 'fix-references
548 (substitute* '("testsuite/timeout/Makefile"
549 "testsuite/timeout/timeout.py"
550 "testsuite/timeout/timeout.hs"
551 "testsuite/tests/programs/life_space_leak/life.test"
553 "libraries/process/System/Process/Posix.hs"
554 "libraries/process/tests/process001.hs"
555 "libraries/process/tests/process002.hs"
556 "libraries/unix/cbits/execvpe.c")
557 (("/bin/sh") (which "sh"))
558 (("/bin/ls") (which "ls"))
561 (add-before 'build 'fix-environment
563 (unsetenv "GHC_PACKAGE_PATH")
564 (setenv "CONFIG_SHELL" (which "bash"))
566 (native-search-paths (list (search-path-specification
567 (variable "GHC_PACKAGE_PATH")
569 (string-append "lib/ghc-" version)))
570 (file-pattern ".*\\.conf\\.d$")
571 (file-type 'directory))))))
573 (define-public ghc ghc-8)
575 (define-public ghc-hostname
577 (name "ghc-hostname")
582 (uri (string-append "https://hackage.haskell.org/package/hostname/"
583 "hostname-" version ".tar.gz"))
586 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
587 (build-system haskell-build-system)
588 (home-page "https://hackage.haskell.org/package/hostname")
589 (synopsis "Hostname in Haskell")
590 (description "Network.HostName is a simple package providing a means to
591 determine the hostname.")
592 (license license:bsd-3)))
594 (define-public ghc-convertible
596 (name "ghc-convertible")
601 (uri (string-append "https://hackage.haskell.org/package/convertible/"
602 "convertible-" version ".tar.gz"))
605 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
606 (build-system haskell-build-system)
608 `(("ghc-old-time" ,ghc-old-time)
609 ("ghc-old-locale" ,ghc-old-locale)
610 ("ghc-text" ,ghc-text)))
611 (home-page "https://hackage.haskell.org/package/convertible")
612 (synopsis "Typeclasses and instances for converting between types")
614 "This package provides a typeclass with a single function that is
615 designed to help convert between different types: numeric values, dates and
616 times, and the like. The conversions perform bounds checking and return a
617 pure @code{Either} value. This means that you need not remember which specific
618 function performs the conversion you desire.")
619 (license license:bsd-3)))
621 (define-public ghc-double-conversion
623 (name "ghc-double-conversion")
628 (uri (string-append "https://hackage.haskell.org/package/"
629 "double-conversion/double-conversion-"
633 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
634 (build-system haskell-build-system)
635 (inputs `(("ghc-text" ,ghc-text)))
637 `(("ghc-hunit" ,ghc-hunit)
638 ("ghc-test-framework" ,ghc-test-framework)
639 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
640 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
641 (home-page "https://github.com/bos/double-conversion")
642 (synopsis "Fast conversion between double precision floating point and text")
644 "This package provides a library that performs fast, accurate conversion
645 between double precision floating point and text.")
646 (license license:bsd-3)))
648 (define-public ghc-libxml
655 (uri (string-append "https://hackage.haskell.org/package/libxml/"
656 "libxml-" version ".tar.gz"))
659 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
660 (build-system haskell-build-system)
662 `(("libxml2" ,libxml2)))
665 `(,(string-append "--extra-include-dirs="
666 (assoc-ref %build-inputs "libxml2")
667 "/include/libxml2"))))
668 (home-page "https://hackage.haskell.org/package/libxml")
669 (synopsis "Haskell bindings to libxml2")
671 "This library provides minimal Haskell binding to libxml2.")
672 (license license:bsd-3)))
674 (define-public ghc-prelude-extras
676 (name "ghc-prelude-extras")
682 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
687 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
688 (build-system haskell-build-system)
689 (home-page "https://github.com/ekmett/prelude-extras")
690 (synopsis "Higher order versions of Prelude classes")
691 (description "This library provides higher order versions of
692 @code{Prelude} classes to ease programming with polymorphic recursion and
693 reduce @code{UndecidableInstances}.")
694 (license license:bsd-3)))
696 (define-public ghc-data-default
698 (name "ghc-data-default")
704 "https://hackage.haskell.org/package/data-default/data-default-"
708 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
709 (build-system haskell-build-system)
711 `(("ghc-data-default-class"
712 ,ghc-data-default-class)
713 ("ghc-data-default-instances-base"
714 ,ghc-data-default-instances-base)
715 ("ghc-data-default-instances-containers"
716 ,ghc-data-default-instances-containers)
717 ("ghc-data-default-instances-dlist"
718 ,ghc-data-default-instances-dlist)
719 ("ghc-data-default-instances-old-locale"
720 ,ghc-data-default-instances-old-locale)))
721 (home-page "https://hackage.haskell.org/package/data-default")
722 (synopsis "Types with default values")
724 "This package defines a class for types with a default value, and
725 provides instances for types from the base, containers, dlist and old-locale
727 (license license:bsd-3)))
729 (define-public ghc-data-default-class
731 (name "ghc-data-default-class")
737 "https://hackage.haskell.org/package/data-default-class/"
738 "data-default-class-" version ".tar.gz"))
740 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
741 (build-system haskell-build-system)
742 (home-page "https://hackage.haskell.org/package/data-default-class")
743 (synopsis "Types with default values")
745 "This package defines a class for types with default values.")
746 (license license:bsd-3)))
748 (define-public ghc-data-default-instances-base
750 (name "ghc-data-default-instances-base")
756 "https://hackage.haskell.org/package/"
757 "data-default-instances-base/"
758 "data-default-instances-base-" version ".tar.gz"))
760 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
761 (build-system haskell-build-system)
763 `(("ghc-data-default-class" ,ghc-data-default-class)))
764 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
765 (synopsis "Default instances for types in base")
767 "This package provides default instances for types from the base
769 (license license:bsd-3)))
771 (define-public ghc-data-default-instances-containers
773 (name "ghc-data-default-instances-containers")
779 "https://hackage.haskell.org/package/"
780 "data-default-instances-containers/"
781 "data-default-instances-containers-" version ".tar.gz"))
783 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
784 (build-system haskell-build-system)
786 `(("ghc-data-default-class" ,ghc-data-default-class)))
787 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
788 (synopsis "Default instances for types in containers")
789 (description "Provides default instances for types from the containers
791 (license license:bsd-3)))
793 (define-public ghc-data-default-instances-dlist
795 (name "ghc-data-default-instances-dlist")
801 "https://hackage.haskell.org/package/"
802 "data-default-instances-dlist/"
803 "data-default-instances-dlist-" version ".tar.gz"))
805 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
806 (build-system haskell-build-system)
808 `(("ghc-data-default-class" ,ghc-data-default-class)
809 ("ghc-dlist" ,ghc-dlist)))
810 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
811 (synopsis "Default instances for types in dlist")
812 (description "Provides default instances for types from the dlist
814 (license license:bsd-3)))
816 (define-public ghc-code-page
818 (name "ghc-code-page")
824 "https://hackage.haskell.org/package/code-page/code-page-"
828 "1491frk4jx6dlhifky9dvcxbsbcfssrz979a5hp5zn061rh8cp76"))))
829 (build-system haskell-build-system)
830 (home-page "https://github.com/RyanGlScott/code-page")
831 (synopsis "Windows code page library for Haskell")
832 (description "A cross-platform library with functions for adjusting
833 code pages on Windows. On all other operating systems, the library does
835 (license license:bsd-3)))
837 (define-public ghc-libffi
844 (uri (string-append "https://hackage.haskell.org/package/"
845 "libffi/libffi-" version ".tar.gz"))
848 "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28"))))
849 (build-system haskell-build-system)
850 (native-inputs `(("pkg-config" ,pkg-config)))
851 (inputs `(("libffi" ,libffi)))
852 (home-page "http://hackage.haskell.org/package/libffi")
853 (synopsis "Haskell binding to libffi")
855 "A binding to libffi, allowing C functions of types only known at runtime
856 to be called from Haskell.")
857 (license license:bsd-3)))
859 (define-public ghc-newtype-generics
861 (name "ghc-newtype-generics")
866 (uri (string-append "https://hackage.haskell.org/package/"
867 "newtype-generics/newtype-generics-"
871 "0igyisw2djg19v9vkna1rwf47k97mvkvk4bbkmswznvbm00z15gj"))))
872 (build-system haskell-build-system)
874 `(("ghc-hspec" ,ghc-hspec)
875 ("hspec-discover" ,hspec-discover)))
876 (home-page "http://github.com/sjakobi/newtype-generics")
877 (synopsis "Typeclass and set of functions for working with newtypes")
878 (description "The @code{Newtype} typeclass represents the packing and
879 unpacking of a newtype, and allows you to operate under that newtype with
880 functions such as @code{ala}. Generics support was added in version 0.4,
881 making this package a full replacement for the original newtype package,
882 and an alternative to newtype-th.")
883 (license license:bsd-3)))
885 (define-public ghc-memotrie
887 (name "ghc-memotrie")
893 "https://hackage.haskell.org/package/MemoTrie/MemoTrie-"
898 "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x"))))
899 (build-system haskell-build-system)
901 `(("ghc-newtype-generics" ,ghc-newtype-generics)))
902 (home-page "https://github.com/conal/MemoTrie")
903 (synopsis "Trie-based memo functions")
904 (description "This package provides a functional library for creating
905 efficient memo functions using tries.")
906 (license license:bsd-3)))
908 (define-public ghc-tree-diff
910 (name "ghc-tree-diff")
916 "https://hackage.haskell.org/package/tree-diff/tree-diff-"
921 "049v44c520jy3icxlnrvbdblh3mjmvd7m6qmkzxbzkf02x63xqmz"))))
922 (build-system haskell-build-system)
925 ("4" "1rqxxyj6hqllahs11693g855cxz8mgnb490s7j1ksd300i5xgjsp")
927 (modify-phases %standard-phases
928 (add-before 'configure 'update-constraints
930 (substitute* "tree-diff.cabal"
931 (("trifecta >=1\\.7\\.1\\.1 && <1\\.8")
932 "trifecta >=1.7.1.1 && <=2")))))))
934 `(("ghc-aeson" ,ghc-aeson)
935 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
936 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
937 ("ghc-base-compat" ,ghc-base-compat)
938 ("ghc-generics-sop" ,ghc-generics-sop)
939 ("ghc-hashable" ,ghc-hashable)
940 ("ghc-memotrie" ,ghc-memotrie)
941 ("ghc-parsec" ,ghc-parsec)
942 ("ghc-parsers" ,ghc-parsers)
943 ("ghc-quickcheck" ,ghc-quickcheck)
944 ("ghc-scientific" ,ghc-scientific)
945 ("ghc-tagged" ,ghc-tagged)
946 ("ghc-text" ,ghc-text)
947 ("ghc-unordered-containers" ,ghc-unordered-containers)
948 ("ghc-uuid-types" ,ghc-uuid-types)
949 ("ghc-vector" ,ghc-vector)))
951 `(("ghc-base-compat" ,ghc-base-compat)
952 ("ghc-quickcheck" ,ghc-quickcheck)
953 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
954 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
955 ("ghc-parsec" ,ghc-parsec)
956 ("ghc-trifecta" ,ghc-trifecta)
957 ("ghc-tasty" ,ghc-tasty)
958 ("ghc-tasty-golden" ,ghc-tasty-golden)
959 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
960 (home-page "https://github.com/phadej/tree-diff")
961 (synopsis "Compute difference between (expression) trees")
962 (description "This Haskell library provides a function for computing
963 the difference between (expression) trees. It also provides a way to
964 compute the difference between arbitrary abstract datatypes (ADTs) using
965 @code{Generics}-derivable helpers.")
966 (license license:bsd-3)))
968 (define-public ghc-haddock-library
970 (name "ghc-haddock-library")
976 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
981 "1cmbg8l5xrwpliclwy3l057raypjqy0hsg1h1743ahaj8gq10b7z"))
982 (patches (search-patches
983 "ghc-haddock-library-unbundle.patch"))
984 (modules '((guix build utils)))
986 (delete-file-recursively "vendor")
988 (build-system haskell-build-system)
991 (modify-phases %standard-phases
992 (add-before 'configure 'relax-test-suite-dependencies
994 (substitute* "haddock-library.cabal"
995 (("base-compat\\s*\\^>= 0\\.9\\.3") "base-compat")
996 (("hspec\\s*\\^>= 2\\.4\\.4") "hspec"))))
997 ;; The release tarball does not contain the "fixtures/examples"
998 ;; directory, which is required for testing. In the upstream
999 ;; repository, the directory exists and is populated. Here, we
1000 ;; create an empty directory to placate the tests.
1001 (add-before 'check 'add-examples-directory
1003 (mkdir "fixtures/examples")
1006 `(("ghc-base-compat" ,ghc-base-compat)
1007 ("ghc-hspec" ,ghc-hspec)
1008 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
1009 ("ghc-quickcheck" ,ghc-quickcheck)
1010 ("ghc-tree-diff" ,ghc-tree-diff)
1011 ("hspec-discover" ,hspec-discover)))
1012 (home-page "https://www.haskell.org/haddock/")
1013 (synopsis "Library exposing some functionality of Haddock")
1015 "Haddock is a documentation-generation tool for Haskell libraries. These
1016 modules expose some functionality of it without pulling in the GHC dependency.
1017 Please note that the API is likely to change so specify upper bounds in your
1018 project if you can't release often. For interacting with Haddock itself, see
1019 the ‘haddock’ package.")
1020 (license license:bsd-3)))
1022 (define-public ghc-haddock-api
1024 (name "ghc-haddock-api")
1025 (version "2.19.0.1")
1030 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
1035 "0c6i7sljp7myz25d90gyw68a90i5jcrkajkxcciikp2hjirfaas3"))))
1036 (build-system haskell-build-system)
1039 (modify-phases %standard-phases
1040 (add-before 'configure 'update-constraints
1042 (substitute* "haddock-api.cabal"
1043 (("Cabal \\^>= 2\\.0\\.0")
1045 (("hspec \\^>= 2\\.4\\.4")
1046 "hspec >= 2.4.4 && < 2.6")))))))
1048 `(("ghc-paths" ,ghc-paths)
1049 ("ghc-haddock-library" ,ghc-haddock-library)))
1051 `(("ghc-quickcheck" ,ghc-quickcheck)
1052 ("ghc-hspec" ,ghc-hspec)
1053 ("hspec-discover" ,hspec-discover)))
1054 (home-page "https://www.haskell.org/haddock/")
1055 (synopsis "API for documentation-generation tool Haddock")
1056 (description "This package provides an API to Haddock, the
1057 documentation-generation tool for Haskell libraries.")
1058 (license license:bsd-3)))
1060 (define-public ghc-haddock-test
1062 (name "ghc-haddock-test")
1067 (uri (string-append "https://hackage.haskell.org/package/"
1068 "haddock-test/haddock-test-"
1072 "1ax8fnfrwx66csj952f3virxzapipan9da7z5l1zc12nqkifbs7w"))))
1073 (build-system haskell-build-system)
1075 `(("ghc-xml" ,ghc-xml)
1076 ("ghc-syb" ,ghc-syb)))
1077 (home-page "http://www.haskell.org/haddock/")
1078 (synopsis "Test utilities for Haddock")
1079 (description "This package provides test utilities for Haddock.")
1080 (license license:bsd-3)))
1082 (define-public ghc-haddock
1084 (name "ghc-haddock")
1085 (version "2.19.0.1")
1090 "https://hackage.haskell.org/package/haddock/haddock-"
1095 "1g1j9j0hf2yhyyh0gwz6bzbvfvliqz9x8a8hnkmwghm7w3xa6sb7"))))
1096 (build-system haskell-build-system)
1099 (modify-phases %standard-phases
1100 ;; There are four test suites that require the ghc-haddock-test
1101 ;; package, which no longer builds with GHC 8.4.3. This phase
1102 ;; removes these four test suites from the Cabal file, so that we
1103 ;; do not need ghc-haddock-test as an input.
1104 (add-before 'configure 'remove-haddock-test-test-suites
1106 (use-modules (ice-9 rdelim))
1107 (with-atomic-file-replacement "haddock.cabal"
1109 (let loop ((line (read-line in 'concat)) (deleting? #f))
1111 ((eof-object? line) #t)
1112 ((string-every char-set:whitespace line)
1113 (unless deleting? (display line out))
1114 (loop (read-line in 'concat) #f))
1115 ((member line '("test-suite html-test\n"
1116 "test-suite hypsrc-test\n"
1117 "test-suite latex-test\n"
1118 "test-suite hoogle-test\n"))
1119 (loop (read-line in 'concat) #t))
1121 (unless deleting? (display line out))
1122 (loop (read-line in 'concat) deleting?)))))))))))
1123 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
1125 `(("ghc-hspec" ,ghc-hspec)))
1126 (home-page "https://www.haskell.org/haddock/")
1128 "Documentation-generation tool for Haskell libraries")
1130 "Haddock is a documentation-generation tool for Haskell libraries.")
1131 (license license:bsd-3)))
1133 (define-public ghc-simple-reflect
1135 (name "ghc-simple-reflect")
1141 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
1146 "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7"))))
1147 (build-system haskell-build-system)
1149 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
1151 "Simple reflection of expressions containing variables")
1153 "This package allows simple reflection of expressions containing
1154 variables. Reflection here means that a Haskell expression is turned into a
1155 string. The primary aim of this package is teaching and understanding; there
1156 are no options for manipulating the reflected expressions beyond showing
1158 (license license:bsd-3)))
1160 (define-public ghc-haskell-src
1162 (name "ghc-haskell-src")
1168 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
1173 "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l"))))
1174 (build-system haskell-build-system)
1176 `(("ghc-happy" ,ghc-happy)
1177 ("ghc-syb" ,ghc-syb)))
1179 "https://hackage.haskell.org/package/haskell-src")
1181 "Support for manipulating Haskell source code")
1183 "The @code{haskell-src} package provides support for manipulating Haskell
1184 source code. The package provides a lexer, parser and pretty-printer, and a
1185 definition of a Haskell abstract syntax tree (AST). Common uses of this
1186 package are to parse or generate Haskell 98 code.")
1187 (license license:bsd-3)))
1189 (define-public ghc-alex
1197 "https://hackage.haskell.org/package/alex/alex-"
1202 "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm"))))
1203 (build-system haskell-build-system)
1206 (modify-phases %standard-phases
1207 (add-before 'check 'set-check-variables
1209 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
1211 (setenv "alex_datadir" (string-append (getcwd) "/data"))
1213 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
1215 `(("which" ,which)))
1216 (home-page "https://www.haskell.org/alex/")
1218 "Tool for generating lexical analysers in Haskell")
1220 "Alex is a tool for generating lexical analysers in Haskell. It takes a
1221 description of tokens based on regular expressions and generates a Haskell
1222 module containing code for scanning text efficiently. It is similar to the
1223 tool lex or flex for C/C++.")
1224 (license license:bsd-3)))
1226 (define-public ghc-cgi
1229 (version "3001.3.0.2")
1234 "https://hackage.haskell.org/package/cgi/cgi-"
1239 "1hbpplss1m4rdpm4ibip6fpimlhssqa14fl338kl2jbc463i64cj"))))
1240 (build-system haskell-build-system)
1243 (modify-phases %standard-phases
1244 (add-before 'configure 'update-constraints
1246 (substitute* "cgi.cabal"
1247 (("exceptions < 0\\.9")
1248 "exceptions < 0.11")
1249 (("time >= 1\\.5 && < 1\\.7")
1250 "time >= 1.5 && < 1.9")
1251 (("doctest >= 0\\.8 && < 0\\.12")
1252 "doctest >= 0.8 && < 0.17")
1253 (("QuickCheck >= 2\\.8\\.1 && < 2\\.10")
1254 "QuickCheck >= 2.8.1 && < 2.12")))))))
1256 `(("ghc-parsec" ,ghc-parsec)
1257 ("ghc-exceptions" ,ghc-exceptions)
1258 ("ghc-multipart" ,ghc-multipart)
1259 ("ghc-network-uri" ,ghc-network-uri)
1260 ("ghc-network" ,ghc-network)))
1262 `(("ghc-doctest" ,ghc-doctest)
1263 ("ghc-quickcheck" ,ghc-quickcheck)))
1265 "https://github.com/cheecheeo/haskell-cgi")
1266 (synopsis "Library for writing CGI programs")
1268 "This is a Haskell library for writing CGI programs.")
1269 (license license:bsd-3)))
1271 (define-public ghc-cmdargs
1273 (name "ghc-cmdargs")
1279 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
1283 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
1284 (build-system haskell-build-system)
1286 "http://community.haskell.org/~ndm/cmdargs/")
1287 (synopsis "Command line argument processing")
1289 "This library provides an easy way to define command line parsers.")
1290 (license license:bsd-3)))
1292 (define-public ghc-concatenative
1294 (name "ghc-concatenative")
1299 "https://hackage.haskell.org/package/concatenative/concatenative-"
1303 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
1304 (build-system haskell-build-system)
1306 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
1307 (synopsis "Library for postfix control flow")
1309 "Concatenative gives Haskell Factor-style combinators and arrows for
1310 postfix notation. For more information on stack based languages, see
1311 @uref{https://concatenative.org}.")
1312 (license license:bsd-3)))
1314 (define-public ghc-happy
1322 "https://hackage.haskell.org/package/happy/happy-"
1327 "138xpxdb7x62lpmgmb6b3v3vgdqqvqn4273jaap3mjmc2gla709y"))))
1328 (build-system haskell-build-system)
1331 (modify-phases %standard-phases
1332 (add-after 'unpack 'skip-test-issue93
1334 ;; Tests run out of memory on a system with 2GB of available RAM,
1335 ;; in 'issue93.a.hs' and 'issue93.n.hs'.
1336 (substitute* "tests/Makefile"
1337 ((" issue93.y ") " "))
1339 (home-page "https://hackage.haskell.org/package/happy")
1340 (synopsis "Parser generator for Haskell")
1341 (description "Happy is a parser generator for Haskell. Given a grammar
1342 specification in BNF, Happy generates Haskell code to parse the grammar.
1343 Happy works in a similar way to the yacc tool for C.")
1344 (license license:bsd-3)))
1346 (define-public ghc-haskell-lexer
1348 (name "ghc-haskell-lexer")
1354 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
1357 (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq"))))
1358 (build-system haskell-build-system)
1359 (home-page "http://hackage.haskell.org/package/haskell-lexer")
1360 (synopsis "Fully compliant Haskell 98 lexer")
1362 "This package provides a fully compliant Haskell 98 lexer.")
1363 (license license:bsd-3)))
1365 (define-public ghc-pretty-show
1367 (name "ghc-pretty-show")
1372 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
1373 "pretty-show-" version ".tar.gz"))
1376 "0br7pkxqqqhby2j2v1g847lgqsrasx56g1jw3dhmjh4flzs6warq"))))
1377 (build-system haskell-build-system)
1379 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
1380 ("ghc-happy" ,ghc-happy)))
1381 (home-page "http://wiki.github.com/yav/pretty-show")
1382 (synopsis "Tools for working with derived `Show` instances")
1384 "This package provides a library and an executable for working with
1385 derived @code{Show} instances. By using the library, derived @code{Show}
1386 instances can be parsed into a generic data structure. The @code{ppsh} tool
1387 uses the library to produce human-readable versions of @code{Show} instances,
1388 which can be quite handy for debugging Haskell programs. We can also render
1389 complex generic values into an interactive Html page, for easier
1391 (license license:expat)))
1393 (define-public ghc-haskell-src-exts
1395 (name "ghc-haskell-src-exts")
1401 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
1406 "1sm3z4v1p5yffg01ldgavz71s3bvfhjfa13k428rk14bpkl8crlz"))))
1407 (build-system haskell-build-system)
1410 ("ghc-happy" ,ghc-happy)
1411 ("ghc-pretty-show" ,ghc-pretty-show)))
1413 `(("ghc-smallcheck" ,ghc-smallcheck)
1414 ("ghc-tasty" ,ghc-tasty)
1415 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
1416 ("ghc-tasty-golden" ,ghc-tasty-golden)))
1417 (home-page "https://github.com/haskell-suite/haskell-src-exts")
1418 (synopsis "Library for manipulating Haskell source")
1419 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
1420 extension of the standard @code{haskell-src} package, and handles most
1421 registered syntactic extensions to Haskell. All extensions implemented in GHC
1422 are supported. Apart from these standard extensions, it also handles regular
1423 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
1424 (license license:bsd-3)))
1426 (define-public ghc-haskell-src-exts-util
1428 (name "ghc-haskell-src-exts-util")
1433 (uri (string-append "https://hackage.haskell.org/package/"
1434 "haskell-src-exts-util/haskell-src-exts-util-"
1438 "1803718paq89f8pdck4mb88hv2k1ah9lxzq0lgjgwi9n88ryycz8"))))
1439 (build-system haskell-build-system)
1441 `(("ghc-data-default" ,ghc-data-default)
1442 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1443 ("ghc-semigroups" ,ghc-semigroups)
1444 ("ghc-uniplate" ,ghc-uniplate)))
1445 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
1446 (synopsis "Helper functions for working with haskell-src-exts trees")
1448 "This package provides helper functions for working with
1449 @code{haskell-src-exts} trees.")
1450 (license license:bsd-3)))
1452 (define-public ghc-refact
1459 (uri (string-append "https://hackage.haskell.org/package/"
1464 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
1465 (build-system haskell-build-system)
1466 (home-page "http://hackage.haskell.org/package/refact")
1467 (synopsis "Specify refactorings to perform with apply-refact")
1469 "This library provides a datatype which can be interpreted by
1470 @code{apply-refact}. It exists as a separate library so that applications can
1471 specify refactorings without depending on GHC.")
1472 (license license:bsd-3)))
1474 (define-public hlint
1482 "https://hackage.haskell.org/package/" name
1483 "/" name "-" version ".tar.gz"))
1486 "19as2m9g75cr6n1agzvsij0cvqhb0wbjlk31w4y5d5mns87dki0w"))))
1487 (build-system haskell-build-system)
1490 ("ghc-unordered-containers" ,ghc-unordered-containers)
1491 ("ghc-yaml" ,ghc-yaml)
1492 ("ghc-vector" ,ghc-vector)
1493 ("ghc-text" ,ghc-text)
1494 ("ghc-data-default" ,ghc-data-default)
1495 ("ghc-cmdargs" ,ghc-cmdargs)
1496 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1497 ("ghc-haskell-src-exts-util" ,ghc-haskell-src-exts-util)
1498 ("ghc-uniplate" ,ghc-uniplate)
1499 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
1500 ("ghc-extra" ,ghc-extra)
1501 ("ghc-refact" ,ghc-refact)
1502 ("ghc-aeson" ,ghc-aeson)
1503 ("hscolour" ,hscolour)))
1504 (home-page "http://community.haskell.org/~ndm/hlint/")
1505 (synopsis "Suggest improvements for Haskell source code")
1506 (description "HLint reads Haskell programs and suggests changes that
1507 hopefully make them easier to read. HLint also makes it easy to disable
1508 unwanted suggestions, and to add your own custom suggestions.")
1509 (license license:bsd-3)))
1511 (define-public ghc-resourcet
1513 (name "ghc-resourcet")
1518 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
1519 "resourcet-" version ".tar.gz"))
1522 "0rzjzh34s36ssign7akqjnwnjxf11c3511wk7ky0xxy0dqmc2rg7"))))
1523 (build-system haskell-build-system)
1525 `(("ghc-transformers-base" ,ghc-transformers-base)
1526 ("ghc-monad-control" ,ghc-monad-control)
1527 ("ghc-transformers-compat" ,ghc-transformers-compat)
1528 ("ghc-mmorph" ,ghc-mmorph)
1529 ("ghc-exceptions" ,ghc-exceptions)
1530 ("ghc-unliftio-core" ,ghc-unliftio-core)))
1532 `(("ghc-lifted-base" ,ghc-lifted-base)
1533 ("ghc-hspec" ,ghc-hspec)))
1534 (home-page "https://github.com/snoyberg/conduit")
1535 (synopsis "Deterministic allocation and freeing of scarce resources")
1536 (description "ResourceT is a monad transformer which creates a region of
1537 code where you can safely allocate resources.")
1538 (license license:bsd-3)))
1540 (define-public ghc-objectname
1542 (name "ghc-objectname")
1548 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
1553 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
1554 (build-system haskell-build-system)
1555 (home-page "https://hackage.haskell.org/package/ObjectName")
1556 (synopsis "Helper library for Haskell OpenGL")
1557 (description "This tiny package contains the class ObjectName, which
1558 corresponds to the general notion of explicitly handled identifiers for API
1559 objects, e.g. a texture object name in OpenGL or a buffer object name in
1561 (license license:bsd-3)))
1563 (define-public ghc-sdl
1571 "https://hackage.haskell.org/package/SDL/SDL-"
1576 "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq"))))
1577 (build-system haskell-build-system)
1580 (home-page "https://hackage.haskell.org/package/SDL")
1581 (synopsis "LibSDL for Haskell")
1582 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
1583 multimedia library designed to provide low level access to audio, keyboard,
1584 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
1585 by MPEG playback software, emulators, and many popular games, including the
1586 award winning Linux port of \"Civilization: Call To Power.\"")
1587 (license license:bsd-3)))
1589 (define-public ghc-sdl-mixer
1591 (name "ghc-sdl-mixer")
1597 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
1602 "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r"))))
1603 (build-system haskell-build-system)
1606 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
1607 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
1608 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
1610 `(("ghc-sdl" ,ghc-sdl)
1611 ("sdl-mixer" ,sdl-mixer)))
1612 (home-page "https://hackage.haskell.org/package/SDL-mixer")
1613 (synopsis "Haskell bindings to libSDL_mixer")
1614 (description "SDL_mixer is a sample multi-channel audio mixer library. It
1615 supports any number of simultaneously playing channels of 16 bit stereo audio,
1616 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
1617 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
1618 (license license:bsd-3)))
1620 (define-public ghc-sdl-image
1622 (name "ghc-sdl-image")
1628 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
1633 "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1"))))
1634 (build-system haskell-build-system)
1637 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
1638 (sdl-image-include (string-append sdl-image "/include/SDL")))
1639 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
1641 `(("ghc-sdl" ,ghc-sdl)
1642 ("sdl-image" ,sdl-image)))
1643 (home-page "https://hackage.haskell.org/package/SDL-image")
1644 (synopsis "Haskell bindings to libSDL_image")
1645 (description "SDL_image is an image file loading library. It loads images
1646 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
1647 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
1648 (license license:bsd-3)))
1650 (define-public ghc-half
1658 "https://hackage.haskell.org/package/half/half-"
1662 "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6"))))
1663 (build-system haskell-build-system)
1665 `(("ghc-hspec" ,ghc-hspec)
1666 ("ghc-quickcheck" ,ghc-quickcheck)))
1667 (home-page "https://github.com/ekmett/half")
1668 (synopsis "Half-precision floating-point computations")
1669 (description "This library provides a half-precision floating-point
1670 computation library for Haskell.")
1671 (license license:bsd-3)))
1673 (define-public ghc-fixed
1680 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
1684 "1qhmwx8iqshns0crmr9d2f8hm65jxbcp3dvv0c39v34ra7if3a94"))))
1685 (build-system haskell-build-system)
1686 (home-page "https://github.com/ekmett/fixed")
1687 (synopsis "Signed 15.16 precision fixed point arithmetic")
1689 "This package provides functions for signed 15.16 precision fixed point
1691 (license license:bsd-3)))
1693 (define-public ghc-openglraw
1695 (name "ghc-openglraw")
1701 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
1706 "1x8w3x308jldj2c1xqcq3a3sc2jc06pdpgqkgjsmixi1skv4a1vb"))))
1707 (build-system haskell-build-system)
1709 `(("ghc-half" ,ghc-half)
1710 ("ghc-fixed" ,ghc-fixed)
1712 ("ghc-text" ,ghc-text)))
1713 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1714 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
1715 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
1716 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
1717 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
1718 offers access to all necessary functions, tokens and types plus a general
1719 facility for loading extension entries. The module hierarchy closely mirrors
1720 the naming structure of the OpenGL extensions, making it easy to find the
1721 right module to import. All API entries are loaded dynamically, so no special
1722 C header files are needed for building this package. If an API entry is not
1723 found at runtime, a userError is thrown.")
1724 (license license:bsd-3)))
1726 (define-public ghc-glut
1729 (version "2.7.0.14")
1734 "https://hackage.haskell.org/package/GLUT/GLUT-"
1739 "01i162fly4q1751fp60lgkzlb8kr0qqbvmxj74zc6skb19qggy2w"))))
1740 (build-system haskell-build-system)
1742 `(("ghc-statevar" ,ghc-statevar)
1743 ("ghc-opengl" ,ghc-opengl)
1744 ("ghc-openglraw" ,ghc-openglraw)
1745 ("freeglut" ,freeglut)))
1746 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1747 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
1748 (description "This library provides Haskell bindings for the OpenGL
1749 Utility Toolkit, a window system-independent toolkit for writing OpenGL
1751 (license license:bsd-3)))
1753 (define-public ghc-gluraw
1761 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
1766 "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq"))))
1767 (build-system haskell-build-system)
1769 `(("ghc-openglraw" ,ghc-openglraw)))
1770 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1771 (synopsis "Raw Haskell bindings GLU")
1772 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
1773 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
1774 basis for a nicer interface.")
1775 (license license:bsd-3)))
1777 (define-public ghc-opengl
1785 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
1790 "19vxwvx2n8zq2klj176l25n2b64ybp0b8mhm4p46gvpcivz41fjc"))))
1791 (build-system haskell-build-system)
1793 `(("ghc-text" ,ghc-text)
1794 ("ghc-objectname" ,ghc-objectname)
1795 ("ghc-gluraw" ,ghc-gluraw)
1796 ("ghc-statevar" ,ghc-statevar)
1797 ("ghc-openglraw" ,ghc-openglraw)))
1798 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1799 (synopsis "Haskell bindings for the OpenGL graphics system")
1800 (description "This package provides Haskell bindings for the OpenGL
1801 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
1803 (license license:bsd-3)))
1805 (define-public ghc-streaming-commons
1807 (name "ghc-streaming-commons")
1812 (uri (string-append "https://hackage.haskell.org/package/"
1813 "streaming-commons/streaming-commons-"
1817 "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52"))))
1818 (build-system haskell-build-system)
1820 `(("ghc-async" ,ghc-async)
1821 ("ghc-blaze-builder" ,ghc-blaze-builder)
1822 ("ghc-network" ,ghc-network)
1823 ("ghc-random" ,ghc-random)
1824 ("ghc-stm" ,ghc-stm)
1825 ("ghc-text" ,ghc-text)
1826 ("ghc-zlib" ,ghc-zlib)))
1828 `(("ghc-quickcheck" ,ghc-quickcheck)
1829 ("ghc-hspec" ,ghc-hspec)
1830 ("hspec-discover" ,hspec-discover)))
1831 (home-page "https://hackage.haskell.org/package/streaming-commons")
1832 (synopsis "Conduit and pipes needed by some streaming data libraries")
1833 (description "This package provides low-dependency functionality commonly
1834 needed by various Haskell streaming data libraries, such as @code{conduit} and
1836 (license license:expat)))
1838 (define-public cpphs
1846 "https://hackage.haskell.org/package/" name "/"
1847 name "-" version ".tar.gz"))
1850 "1bh524asqhk9v1s0wvipl0hgn7l63iy3js867yv0z3h5v2kn8vg5"))))
1851 (build-system haskell-build-system)
1853 `(("ghc-polyparse" ,ghc-polyparse)
1854 ("ghc-old-locale" ,ghc-old-locale)
1855 ("ghc-old-time" ,ghc-old-time)))
1856 (home-page "http://projects.haskell.org/cpphs/")
1857 (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
1858 (description "Cpphs is a re-implementation of the C pre-processor that is
1859 both more compatible with Haskell, and itself written in Haskell so that it
1860 can be distributed with compilers. This version of the C pre-processor is
1861 pretty-much feature-complete and compatible with traditional (K&R)
1862 pre-processors. Additional features include: a plain-text mode; an option to
1863 unlit literate code files; and an option to turn off macro-expansion.")
1864 (license (list license:lgpl2.1+ license:gpl3+))))
1866 (define-public ghc-reflection
1868 (name "ghc-reflection")
1874 "https://hackage.haskell.org/package/reflection/reflection-"
1879 "0kf4a5ijw6jfnfibjcrpdy9vzh1n6v2pxia8dhyyqdissiwc8bzj"))))
1880 (build-system haskell-build-system)
1881 (inputs `(("ghc-tagged" ,ghc-tagged)))
1882 (home-page "https://github.com/ekmett/reflection")
1883 (synopsis "Reify arbitrary terms into types that can be reflected back
1885 (description "This package addresses the 'configuration problem' which is
1886 propagating configurations that are available at run-time, allowing multiple
1887 configurations to coexist without resorting to mutable global variables or
1888 @code{System.IO.Unsafe.unsafePerformIO}.")
1889 (license license:bsd-3)))
1891 (define-public ghc-old-locale
1893 (name "ghc-old-locale")
1899 "https://hackage.haskell.org/package/old-locale/old-locale-"
1903 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
1904 (build-system haskell-build-system)
1907 ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs")))
1908 (home-page "https://hackage.haskell.org/package/old-locale")
1909 (synopsis "Adapt to locale conventions")
1911 "This package provides the ability to adapt to locale conventions such as
1912 date and time formats.")
1913 (license license:bsd-3)))
1915 (define-public ghc-old-time
1917 (name "ghc-old-time")
1923 "https://hackage.haskell.org/package/old-time/old-time-"
1928 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
1929 (build-system haskell-build-system)
1932 ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9")))
1934 `(("ghc-old-locale" ,ghc-old-locale)))
1935 (home-page "https://hackage.haskell.org/package/old-time")
1936 (synopsis "Time compatibility library for Haskell")
1937 (description "Old-time is a package for backwards compatibility with the
1938 old @code{time} library. For new projects, the newer
1939 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
1940 (license license:bsd-3)))
1942 (define-public ghc-data-default-instances-old-locale
1944 (name "ghc-data-default-instances-old-locale")
1950 "https://hackage.haskell.org/package/"
1951 "data-default-instances-old-locale/"
1952 "data-default-instances-old-locale-" version ".tar.gz"))
1954 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
1955 (build-system haskell-build-system)
1957 `(("ghc-data-default-class" ,ghc-data-default-class)
1958 ("ghc-old-locale" ,ghc-old-locale)))
1960 "https://hackage.haskell.org/package/data-default-instances-old-locale")
1961 (synopsis "Default instances for types in old-locale")
1962 (description "Provides Default instances for types from the old-locale
1964 (license license:bsd-3)))
1966 (define-public ghc-dlist
1974 "https://hackage.haskell.org/package/dlist/dlist-"
1978 (base32 "0yirrh0s6acjy9hhvf5fqg2d6q5y6gm9xs04v6w1imndh1xqdwdc"))))
1979 (build-system haskell-build-system)
1981 `(("ghc-quickcheck" ,ghc-quickcheck)))
1982 (home-page "https://github.com/spl/dlist")
1983 (synopsis "Difference lists")
1985 "Difference lists are a list-like type supporting O(1) append. This is
1986 particularly useful for efficient logging and pretty printing (e.g. with the
1987 Writer monad), where list append quickly becomes too expensive.")
1988 (license license:bsd-3)))
1990 (define-public ghc-extensible-exceptions
1992 (name "ghc-extensible-exceptions")
1997 (uri (string-append "https://hackage.haskell.org/package/"
1998 "extensible-exceptions/extensible-exceptions-"
2001 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
2002 (build-system haskell-build-system)
2003 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
2004 (synopsis "Extensible exceptions for Haskell")
2006 "This package provides extensible exceptions for both new and old
2007 versions of GHC (i.e., < 6.10).")
2008 (license license:bsd-3)))
2010 (define-public ghc-echo
2018 "https://hackage.haskell.org/package/echo/echo-"
2022 "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh"))))
2023 (build-system haskell-build-system)
2026 ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l")))
2027 (home-page "https://github.com/RyanGlScott/echo")
2028 (synopsis "Echo terminal input portably")
2029 (description "The @code{base} library exposes the @code{hGetEcho} and
2030 @code{hSetEcho} functions for querying and setting echo status, but
2031 unfortunately, neither function works with MinTTY consoles on Windows.
2032 This library provides an alternative interface which works with both
2033 MinTTY and other consoles.")
2034 (license license:bsd-3)))
2036 (define-public ghc-hackage-security
2038 (name "ghc-hackage-security")
2043 (uri (string-append "https://hackage.haskell.org/package/"
2044 "hackage-security/hackage-security-"
2048 "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v"))))
2049 (build-system haskell-build-system)
2051 `(#:tests? #f)) ; Tests fail because of framework updates.
2053 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
2054 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
2055 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
2056 ("ghc-ed25519" ,ghc-ed25519)
2057 ("ghc-network" ,ghc-network)
2058 ("ghc-network-uri" ,ghc-network-uri)
2059 ("ghc-parsec" ,ghc-parsec)
2060 ("ghc-tar" ,ghc-tar)
2061 ("ghc-zlib" ,ghc-zlib)))
2063 `(("ghc-network-uri" ,ghc-network-uri)
2064 ("ghc-quickcheck" ,ghc-quickcheck)
2065 ("ghc-tar" ,ghc-tar)
2066 ("ghc-tasty" ,ghc-tasty)
2067 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2068 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
2069 ("ghc-temporary" ,ghc-temporary)
2070 ("ghc-zlib" ,ghc-zlib)))
2071 (home-page "https://github.com/haskell/hackage-security")
2072 (synopsis "Hackage security library")
2073 (description "This Hackage security library provides both server and
2074 client utilities for securing @uref{http://hackage.haskell.org/, the
2075 Hackage package server}. It is based on
2076 @uref{http://theupdateframework.com/, The Update Framework}, a set of
2077 recommendations developed by security researchers at various universities
2078 in the US as well as developers on the @uref{https://www.torproject.org/,
2080 (license license:bsd-3)))
2082 (define-public ghc-resolv
2090 "https://hackage.haskell.org/package/resolv/resolv-"
2094 "0wh7wj56l3f2bylz563g5g04a4nydj8acv60hpwa7k3mn792xca9"))))
2095 (build-system haskell-build-system)
2098 ("1" "15ay4n3x8c09cb3h4z1nan84yd3n9zpgvi6h114hk98bq10k8mma")
2099 #:tests? #f)) ; The required test frameworks are too old.
2101 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)))
2102 (home-page "https://github.com/haskell/hackage-security")
2103 (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}")
2104 (description "This package implements an API for accessing the
2105 @uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)}
2106 resolver service via the standard @code{libresolv} system library (whose
2107 API is often available directly via the standard @code{libc} C library) on
2109 (license license:gpl3)))
2111 (define-public cabal-install
2113 (name "cabal-install")
2119 "https://hackage.haskell.org/package/cabal-install/cabal-install-"
2123 (base32 "1nd3ch7qr4dpfxhgkcq2lnhvszx2kjgnn1kwb44vk9y5jgfs4mn8"))))
2124 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
2125 (build-system haskell-build-system)
2127 `(("ghc-async" ,ghc-async)
2128 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
2129 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
2130 ("ghc-echo" ,ghc-echo)
2131 ("ghc-edit-distance" ,ghc-edit-distance)
2132 ("ghc-hackage-security" ,ghc-hackage-security)
2133 ("ghc-hashable" ,ghc-hashable)
2134 ("ghc-http" ,ghc-http)
2135 ("ghc-network-uri" ,ghc-network-uri)
2136 ("ghc-network" ,ghc-network)
2137 ("ghc-random" ,ghc-random)
2138 ("ghc-resolv" ,ghc-resolv)
2139 ("ghc-stm" ,ghc-stm)
2140 ("ghc-tar" ,ghc-tar)
2141 ("ghc-zlib" ,ghc-zlib)))
2142 (home-page "https://www.haskell.org/cabal/")
2143 (synopsis "Command-line interface for Cabal and Hackage")
2145 "The cabal command-line program simplifies the process of managing
2146 Haskell software by automating the fetching, configuration, compilation and
2147 installation of Haskell libraries and programs.")
2148 (license license:bsd-3)))
2150 (define-public cabal-doctest
2152 (name "cabal-doctest")
2157 (uri (string-append "https://hackage.haskell.org/package/"
2158 "cabal-doctest/cabal-doctest-"
2162 "0bgd4jdmzxq5y465r4sf4jv2ix73yvblnr4c9wyazazafddamjny"))))
2163 (build-system haskell-build-system)
2166 ("1" "1bk85avgc93yvcggwbk01fy8nvg6753wgmaanhkry0hz55h7mpld")))
2167 (home-page "https://github.com/phadej/cabal-doctest")
2168 (synopsis "Setup.hs helper for running doctests")
2170 "To properly work, the @code{doctest} package needs plenty of
2171 configuration. This library provides the common bits for writing custom
2172 @file{Setup.hs} files.")
2173 (license license:bsd-3)))
2175 (define-public ghc-parsec-numbers
2177 (name "ghc-parsec-numbers")
2182 (uri (string-append "https://hackage.haskell.org/package/"
2183 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
2185 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
2186 (build-system haskell-build-system)
2188 `(("ghc-parsec" ,ghc-parsec)))
2189 (home-page "https://hackage.haskell.org/package/parsec-numbers")
2190 (synopsis "Utilities for parsing numbers from strings")
2192 "This package provides the number parsers without the need to use a large
2193 (and unportable) token parser.")
2194 (license license:bsd-3)))
2196 (define-public ghc-paths
2200 (outputs '("out" "doc"))
2205 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
2210 "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg"))))
2211 (build-system haskell-build-system)
2212 (home-page "https://github.com/simonmar/ghc-paths")
2214 "Knowledge of GHC's installation directories")
2216 "Knowledge of GHC's installation directories.")
2217 (license license:bsd-3)))
2219 (define-public ghc-utf8-string
2221 (name "ghc-utf8-string")
2227 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
2231 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
2232 (build-system haskell-build-system)
2235 ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38")))
2236 (home-page "https://github.com/glguy/utf8-string/")
2237 (synopsis "Support for reading and writing UTF8 Strings")
2239 "A UTF8 layer for Strings. The utf8-string package provides operations
2240 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
2241 UTF8 without truncation.")
2242 (license license:bsd-3)))
2244 (define-public ghc-setenv
2252 "https://hackage.haskell.org/package/setenv/setenv-"
2257 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
2258 (build-system haskell-build-system)
2259 (home-page "https://hackage.haskell.org/package/setenv")
2260 (synopsis "Library for setting environment variables")
2261 (description "This package provides a Haskell library for setting
2262 environment variables.")
2263 (license license:expat)))
2265 (define-public ghc-setlocale
2267 (name "ghc-setlocale")
2272 "https://hackage.haskell.org/package/setlocale-"
2273 version "/setlocale-" version ".tar.gz"))
2276 "0sdrsmkhw08483d73ysgm2926fdbhii61br03lqpqw0lfzj4ilbd"))))
2277 (build-system haskell-build-system)
2278 (home-page "https://hackage.haskell.org/package/setlocale")
2279 (synopsis "Haskell bindings to setlocale")
2280 (description "This package provides Haskell bindings to the
2281 @code{setlocale} C function.")
2282 (license license:bsd-3)))
2284 (define-public ghc-x11
2291 (uri (string-append "https://hackage.haskell.org/package/X11/"
2292 "X11-" version ".tar.gz"))
2294 (base32 "1f8dy6ckkyvpcv7zlniyv01cqjb9lgqscm8pml58cvwc7n38w4qh"))))
2295 (build-system haskell-build-system)
2297 `(("libx11" ,libx11)
2298 ("libxrandr" ,libxrandr)
2299 ("libxinerama" ,libxinerama)
2300 ("libxscrnsaver" ,libxscrnsaver)
2301 ("ghc-data-default" ,ghc-data-default)))
2302 (home-page "https://github.com/haskell-pkg-janitors/X11")
2303 (synopsis "Bindings to the X11 graphics library")
2305 "This package provides Haskell bindings to the X11 graphics library. The
2306 bindings are a direct translation of the C bindings.")
2307 (license license:bsd-3)))
2309 (define-public ghc-x11-xft
2311 (name "ghc-x11-xft")
2316 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
2317 "X11-xft-" version ".tar.gz"))
2319 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
2321 `(("ghc-x11" ,ghc-x11)
2322 ("ghc-utf8-string" ,ghc-utf8-string)
2325 ("xorgproto" ,xorgproto)))
2327 `(("pkg-config" ,pkg-config)))
2328 (build-system haskell-build-system)
2329 (home-page "https://hackage.haskell.org/package/X11-xft")
2330 (synopsis "Bindings to Xft")
2332 "Bindings to the Xft, X Free Type interface library, and some Xrender
2334 (license license:lgpl2.1)))
2336 (define-public ghc-stringbuilder
2338 (name "ghc-stringbuilder")
2344 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
2349 "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q"))))
2350 (build-system haskell-build-system)
2351 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
2353 (home-page "https://hackage.haskell.org/package/stringbuilder")
2354 (synopsis "Writer monad for multi-line string literals")
2355 (description "This package provides a writer monad for multi-line string
2357 (license license:expat)))
2359 (define-public ghc-zlib
2363 (outputs '("out" "doc"))
2368 "https://hackage.haskell.org/package/zlib/zlib-"
2373 "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d"))))
2374 (build-system haskell-build-system)
2377 (modify-phases %standard-phases
2378 (add-before 'configure 'strip-test-framework-constraints
2380 (substitute* "zlib.cabal"
2381 (("tasty >= 0\\.8 && < 0\\.12") "tasty")
2382 (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit")
2383 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
2384 (inputs `(("zlib" ,zlib)))
2386 `(("ghc-quickcheck" ,ghc-quickcheck)
2387 ("ghc-tasty" ,ghc-tasty)
2388 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2389 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
2390 (home-page "https://hackage.haskell.org/package/zlib")
2392 "Compression and decompression in the gzip and zlib formats")
2394 "This package provides a pure interface for compressing and decompressing
2395 streams of data represented as lazy @code{ByteString}s. It uses the zlib C
2396 library so it has high performance. It supports the @code{zlib}, @code{gzip}
2397 and @code{raw} compression formats. It provides a convenient high level API
2398 suitable for most tasks and for the few cases where more control is needed it
2399 provides access to the full zlib feature set.")
2400 (license license:bsd-3)))
2402 (define-public ghc-stm
2406 (outputs '("out" "doc"))
2411 "https://hackage.haskell.org/package/stm/stm-"
2416 "19sr11a0hqikhvf561b38phz6k3zg9s157a0f5ffvghk7wcdpmri"))))
2417 (build-system haskell-build-system)
2418 (home-page "https://hackage.haskell.org/package/stm")
2419 (synopsis "Software Transactional Memory")
2421 "Software Transactional Memory, or STM, is an abstraction for concurrent
2422 communication. The main benefits of STM are composability and modularity.
2423 That is, using STM you can write concurrent abstractions that can be easily
2424 composed with any other abstraction built using STM, without exposing the
2425 details of how your abstraction ensures safety. This is typically not the
2426 case with other forms of concurrent communication, such as locks or
2428 (license license:bsd-3)))
2430 (define-public ghc-parallel
2432 (name "ghc-parallel")
2434 (outputs '("out" "doc"))
2439 "https://hackage.haskell.org/package/parallel/parallel-"
2444 "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"))))
2445 (build-system haskell-build-system)
2446 (home-page "https://hackage.haskell.org/package/parallel")
2447 (synopsis "Parallel programming library")
2449 "This package provides a library for parallel programming.")
2450 (license license:bsd-3)))
2452 (define-public ghc-safesemaphore
2454 (name "ghc-safesemaphore")
2459 (uri (string-append "https://hackage.haskell.org/package/"
2460 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
2463 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
2464 (build-system haskell-build-system)
2466 `(("ghc-stm" ,ghc-stm)))
2468 `(("ghc-hunit" ,ghc-hunit)))
2469 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
2470 (synopsis "Exception safe semaphores")
2471 (description "This library provides exception safe semaphores that can be
2472 used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
2473 are not exception safe and can be broken by @code{killThread}.")
2474 (license license:bsd-3)))
2476 (define-public ghc-text
2480 (outputs '("out" "doc"))
2485 "https://hackage.haskell.org/package/text/text-"
2490 "06iir7q99rnffzxi8gagn8w1k9m49368sbidgz634fv1gxib3q10"))))
2491 (build-system haskell-build-system)
2492 ;; The test dependencies depend on ghc-text: ghc-test-framework -> ghc-xml -> ghc-text
2493 (arguments `(#:tests? #f))
2495 `(("ghc-random" ,ghc-random)))
2496 (home-page "https://github.com/bos/text")
2497 (synopsis "Efficient packed Unicode text type library")
2499 "An efficient packed, immutable Unicode text type (both strict and
2500 lazy), with a powerful loop fusion optimization framework.
2502 The @code{Text} type represents Unicode character strings, in a time and
2503 space-efficient manner. This package provides text processing
2504 capabilities that are optimized for performance critical use, both
2505 in terms of large data quantities and high speed.")
2506 (license license:bsd-3)))
2508 (define-public ghc-text-binary
2510 (name "ghc-text-binary")
2515 (uri (string-append "https://hackage.haskell.org/package/"
2516 "text-binary/text-binary-"
2520 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
2521 (build-system haskell-build-system)
2522 (inputs `(("ghc-text" ,ghc-text)))
2523 (home-page "https://github.com/kawu/text-binary")
2524 (synopsis "Binary instances for text types")
2526 "This package provides a compatibility layer providing @code{Binary}
2527 instances for strict and lazy text types for versions older than 1.2.1 of the
2529 (license license:bsd-2)))
2531 (define-public ghc-strict
2538 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
2541 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
2542 (build-system haskell-build-system)
2543 (home-page "https://hackage.haskell.org/package/strict")
2544 (synopsis "Strict data types and String IO")
2546 "This package provides strict versions of some standard Haskell data
2547 types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
2549 (license license:bsd-3)))
2551 (define-public ghc-hashable
2553 (name "ghc-hashable")
2555 (outputs '("out" "doc"))
2560 "https://hackage.haskell.org/package/hashable/hashable-"
2565 "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc"))))
2566 (build-system haskell-build-system)
2568 `(("ghc-text" ,ghc-text)
2569 ("ghc-random" ,ghc-random)))
2571 `(("ghc-test-framework" ,ghc-test-framework)
2572 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2573 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
2574 ("ghc-hunit" ,ghc-hunit)
2575 ("ghc-quickcheck" ,ghc-quickcheck)))
2576 (home-page "https://github.com/tibbe/hashable")
2577 (synopsis "Class for types that can be converted to a hash value")
2579 "This package defines a class, @code{Hashable}, for types that can be
2580 converted to a hash value. This class exists for the benefit of hashing-based
2581 data structures. The package provides instances for basic types and a way to
2582 combine hash values.")
2583 (license license:bsd-3)))
2585 (define-public ghc-hashable-bootstrap
2587 (inherit ghc-hashable)
2588 (name "ghc-hashable-bootstrap")
2589 (arguments `(#:tests? #f))
2591 (properties '((hidden? #t)))))
2593 (define-public ghc-hashable-time
2595 (name "ghc-hashable-time")
2601 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
2606 "0k932nyd08l3xxbh2g3n76py2f4kd9yw4s5a065vjz0xp6wjnxdm"))))
2607 (build-system haskell-build-system)
2610 ("1" "0rv40xkg3gj8jnqsry1gq3f5s5la6d5arg8fzkirnwdpcgha1as6")))
2611 (inputs `(("ghc-hashable" ,ghc-hashable)))
2612 (home-page "http://hackage.haskell.org/package/hashable-time")
2613 (synopsis "Hashable instances for Data.Time")
2615 "This package provides @code{Hashable} instances for types in
2617 (license license:bsd-3)))
2619 (define-public ghc-data-hash
2621 (name "ghc-data-hash")
2626 (uri (string-append "https://hackage.haskell.org/package/data-hash"
2627 "/data-hash-" version ".tar.gz"))
2629 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
2630 (build-system haskell-build-system)
2632 `(("ghc-quickcheck" ,ghc-quickcheck)
2633 ("ghc-test-framework" ,ghc-test-framework)
2634 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2635 (home-page "https://hackage.haskell.org/package/data-hash")
2636 (synopsis "Combinators for building fast hashing functions")
2638 "This package provides combinators for building fast hashing functions.
2639 It includes hashing functions for all basic Haskell98 types.")
2640 (license license:bsd-3)))
2642 (define-public ghc-murmur-hash
2644 (name "ghc-murmur-hash")
2649 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
2650 "/murmur-hash-" version ".tar.gz"))
2652 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
2653 (build-system haskell-build-system)
2654 (home-page "https://github.com/nominolo/murmur-hash")
2655 (synopsis "MurmurHash2 implementation for Haskell")
2657 "This package provides an implementation of MurmurHash2, a good, fast,
2658 general-purpose, non-cryptographic hashing function. See
2659 @url{https://sites.google.com/site/murmurhash/} for details. This
2660 implementation is pure Haskell, so it might be a bit slower than a C FFI
2662 (license license:bsd-3)))
2664 (define-public ghc-random
2668 (outputs '("out" "doc"))
2673 "https://hackage.haskell.org/package/random/random-"
2677 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
2678 (build-system haskell-build-system)
2679 (home-page "https://hackage.haskell.org/package/random")
2680 (synopsis "Random number library")
2681 (description "This package provides a basic random number generation
2682 library, including the ability to split random number generators.")
2683 (license license:bsd-3)))
2685 (define-public ghc-primitive
2687 (name "ghc-primitive")
2689 (outputs '("out" "doc"))
2694 "https://hackage.haskell.org/package/primitive/primitive-"
2699 "0mcmbnj08wd6zfwn7xk6zf5hy5zwbla5v78pw0dpymqg9s0gzpnd"))))
2700 (build-system haskell-build-system)
2702 "https://github.com/haskell/primitive")
2703 (synopsis "Primitive memory-related operations")
2705 "This package provides various primitive memory-related operations.")
2706 (license license:bsd-3)))
2708 (define-public ghc-tf-random
2710 (name "ghc-tf-random")
2712 (outputs '("out" "doc"))
2717 "https://hackage.haskell.org/package/tf-random/tf-random-"
2721 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
2722 (build-system haskell-build-system)
2724 `(("ghc-primitive" ,ghc-primitive)
2725 ("ghc-random" ,ghc-random)))
2726 (home-page "https://hackage.haskell.org/package/tf-random")
2727 (synopsis "High-quality splittable pseudorandom number generator")
2728 (description "This package contains an implementation of a high-quality
2729 splittable pseudorandom number generator. The generator is based on a
2730 cryptographic hash function built on top of the ThreeFish block cipher. See
2731 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
2732 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
2733 (license license:bsd-3)))
2735 (define-public ghc-transformers-base
2737 (name "ghc-transformers-base")
2743 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
2748 "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h"))))
2749 (build-system haskell-build-system)
2751 `(("ghc-stm" ,ghc-stm)
2752 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2754 "https://hackage.haskell.org/package/transformers-compat")
2756 "Backported transformer library")
2758 "Backported versions of types that were added to transformers in
2759 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
2760 compatibility to run on old versions of the platform.")
2761 (license license:bsd-3)))
2763 (define-public ghc-transformers-compat
2765 (name "ghc-transformers-compat")
2771 "https://hackage.haskell.org/package/transformers-compat"
2772 "/transformers-compat-" version ".tar.gz"))
2775 "1gp4a8kvniwgm8947ghb4iwv4b7wd6ry4kvv4nfnym4agf5j41nw"))))
2776 (build-system haskell-build-system)
2777 (home-page "https://github.com/ekmett/transformers-compat/")
2778 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
2779 (description "This package includes backported versions of types that were
2780 added to transformers in transformers 0.3 and 0.4 for users who need strict
2781 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
2782 but also need those types.")
2783 (license license:bsd-3)))
2785 (define-public ghc-unix-time
2787 (name "ghc-unix-time")
2793 "https://hackage.haskell.org/package/unix-time/unix-time-"
2798 "051slgpid5cxiaw203ky0ql3823h28fcjs08axkzd4265wrvv8fw"))))
2799 (build-system haskell-build-system)
2801 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
2802 ; is weird, that should be provided by GHC 7.10.2.
2804 `(("ghc-old-time" ,ghc-old-time)
2805 ("ghc-old-locale" ,ghc-old-locale)))
2806 (home-page "https://hackage.haskell.org/package/unix-time")
2807 (synopsis "Unix time parser/formatter and utilities")
2808 (description "This library provides fast parsing and formatting utilities
2809 for Unix time in Haskell.")
2810 (license license:bsd-3)))
2812 (define-public ghc-unix-compat
2814 (name "ghc-unix-compat")
2820 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
2825 "0llwl7rp63fy2ychwdclz1afj45pbin5pfl01dvn6rwhvmwhr7d3"))))
2826 (build-system haskell-build-system)
2828 "https://github.com/jystic/unix-compat")
2829 (synopsis "Portable POSIX-compatibility layer")
2831 "This package provides portable implementations of parts of the unix
2832 package. This package re-exports the unix package when available. When it
2833 isn't available, portable implementations are used.")
2834 (license license:bsd-3)))
2836 (define-public ghc-indents
2838 (name "ghc-indents")
2843 "https://hackage.haskell.org/package/indents/indents-"
2847 "1ly3v41jacc6lrsvg4j3m5a6zs90gr8dyif5m6bf34hj1k5cgg0n"))))
2848 (build-system haskell-build-system)
2849 ;; This package needs an older version of tasty.
2850 (arguments '(#:tests? #f))
2852 `(("ghc-parsec" ,ghc-parsec)
2853 ("ghc-concatenative" ,ghc-concatenative)))
2855 `(("ghc-tasty" ,ghc-tasty)
2856 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
2857 (home-page "http://patch-tag.com/r/salazar/indents")
2858 (synopsis "Indentation sensitive parser-combinators for parsec")
2860 "This library provides functions for use in parsing indentation sensitive
2861 contexts. It parses blocks of lines all indented to the same level as well as
2862 lines continued at an indented level below.")
2863 (license license:bsd-3)))
2865 (define-public ghc-iproute
2867 (name "ghc-iproute")
2873 "https://hackage.haskell.org/package/iproute/iproute-"
2878 "1vw1nm3s8vz1hqnjnqd3wh5rr4q3m2r4izn5ynhf93h9185qwqzd"))))
2879 (build-system haskell-build-system)
2880 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
2881 ; exported by ghc-byteorder. Doctest issue.
2883 `(("ghc-appar" ,ghc-appar)
2884 ("ghc-byteorder" ,ghc-byteorder)
2885 ("ghc-network" ,ghc-network)
2886 ("ghc-safe" ,ghc-safe)))
2887 (home-page "https://www.mew.org/~kazu/proj/iproute/")
2888 (synopsis "IP routing table")
2889 (description "IP Routing Table is a tree of IP ranges to search one of
2890 them on the longest match base. It is a kind of TRIE with one way branching
2891 removed. Both IPv4 and IPv6 are supported.")
2892 (license license:bsd-3)))
2894 (define-public ghc-iwlib
2901 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
2904 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
2905 (build-system haskell-build-system)
2907 `(("wireless-tools" ,wireless-tools)))
2908 (home-page "https://github.com/jaor/iwlib")
2909 (synopsis "Haskell binding to the iw wireless networking library")
2911 "IWlib is a thin Haskell binding to the iw C library. It provides
2912 information about the current wireless network connections, and adapters on
2913 supported systems.")
2914 (license license:bsd-3)))
2916 (define-public ghc-regex-base
2918 (name "ghc-regex-base")
2924 "https://hackage.haskell.org/package/regex-base/regex-base-"
2929 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
2930 (build-system haskell-build-system)
2932 "https://sourceforge.net/projects/lazy-regex")
2933 (synopsis "Replaces/Enhances Text.Regex")
2934 (description "@code{Text.Regex.Base} provides the interface API for
2935 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
2936 (license license:bsd-3)))
2938 (define-public ghc-regex-posix
2940 (name "ghc-regex-posix")
2946 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
2951 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
2952 (build-system haskell-build-system)
2954 `(("ghc-regex-base" ,ghc-regex-base)))
2955 (home-page "https://sourceforge.net/projects/lazy-regex")
2956 (synopsis "POSIX regular expressions for Haskell")
2957 (description "This library provides the POSIX regex backend used by the
2958 Haskell library @code{regex-base}.")
2959 (license license:bsd-3)))
2961 (define-public ghc-regex-compat
2963 (name "ghc-regex-compat")
2969 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
2974 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
2975 (build-system haskell-build-system)
2977 `(("ghc-regex-base" ,ghc-regex-base)
2978 ("ghc-regex-posix" ,ghc-regex-posix)))
2979 (home-page "https://sourceforge.net/projects/lazy-regex")
2980 (synopsis "Replaces/Enhances Text.Regex")
2981 (description "This library provides one module layer over
2982 @code{regex-posix} to replace @code{Text.Regex}.")
2983 (license license:bsd-3)))
2985 (define-public ghc-regex-tdfa-rc
2987 (name "ghc-regex-tdfa-rc")
2993 "https://hackage.haskell.org/package/regex-tdfa-rc/regex-tdfa-rc-"
2998 "1vi11i23gkkjg6193ak90g55akj69bhahy542frkwb68haky4pp3"))))
2999 (build-system haskell-build-system)
3001 `(("ghc-regex-base" ,ghc-regex-base)
3002 ("ghc-parsec" ,ghc-parsec)))
3004 "https://hackage.haskell.org/package/regex-tdfa")
3005 (synopsis "Tagged DFA regex engine for Haskell")
3006 (description "A new all-Haskell \"tagged\" DFA regex engine, inspired by
3007 @code{libtre} (fork by Roman Cheplyaka).")
3008 (license license:bsd-3)))
3010 (define-public ghc-regex-tdfa-text
3012 (name "ghc-regex-tdfa-text")
3018 "https://hackage.haskell.org/package/regex-tdfa-text/"
3019 "regex-tdfa-text-" version ".tar.gz"))
3022 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
3023 (build-system haskell-build-system)
3025 `(("ghc-text" ,ghc-text)
3026 ("ghc-regex-base" ,ghc-regex-base)
3027 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
3029 "http://hackage.haskell.org/package/regex-tdfa-text")
3030 (synopsis "Text interface for regex-tdfa")
3032 "This provides an extra text interface for regex-tdfa.")
3033 (license license:bsd-3)))
3035 (define-public ghc-regex
3042 (uri (string-append "https://hackage.haskell.org/package/regex/"
3043 "regex-" version ".tar.gz"))
3046 "1sjkpkgv4phy5b5v2lr89x4vx4dh44pj0sbvlsp6n86w9v6v4jwb"))))
3047 (build-system haskell-build-system)
3050 (modify-phases %standard-phases
3051 (add-after 'unpack 'relax-dependencies
3053 (substitute* "regex.cabal"
3054 (("base-compat.*>=.*0.6.*")
3055 "base-compat >= 0.6\n")
3056 (("template-haskell.*>=.*2.7.*")
3057 "template-haskell >= 2.7\n"))
3060 `(("ghc-base-compat" ,ghc-base-compat)
3061 ("ghc-hashable" ,ghc-hashable)
3062 ("ghc-regex-base" ,ghc-regex-base)
3063 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
3064 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
3065 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
3066 ("ghc-text" ,ghc-text)
3067 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
3068 ("ghc-unordered-containers" ,ghc-unordered-containers)
3069 ("ghc-utf8-string" ,ghc-utf8-string)))
3070 (home-page "http://regex.uk")
3071 (synopsis "Toolkit for regex-base")
3073 "This package provides a regular expression toolkit for @code{regex-base}
3074 with compile-time checking of regular expression syntax, data types for
3075 matches and captures, a text replacement toolkit, portable options, high-level
3076 AWK-like tools for building text processing apps, regular expression macros
3077 with parsers and test bench, comprehensive documentation, tutorials and
3079 (license license:bsd-3)))
3081 (define-public ghc-parsers
3083 (name "ghc-parsers")
3089 "https://hackage.haskell.org/package/parsers/parsers-"
3094 "1r05sc1mcglk8w596kq9a1brfn9c2vll8lq16j07ln0vsz4jzrc1"))))
3095 (build-system haskell-build-system)
3096 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
3097 ; -package attoparsec-0.13.0.1"
3099 `(("ghc-base-orphans" ,ghc-base-orphans)
3100 ("ghc-attoparsec" ,ghc-attoparsec)
3101 ("ghc-parsec" ,ghc-parsec)
3102 ("ghc-scientific" ,ghc-scientific)
3103 ("ghc-charset" ,ghc-charset)
3104 ("ghc-text" ,ghc-text)
3105 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3106 (home-page "https://github.com/ekmett/parsers/")
3107 (synopsis "Parsing combinators")
3108 (description "This library provides convenient combinators for working
3109 with and building parsing combinator libraries. Given a few simple instances,
3110 you get access to a large number of canned definitions. Instances exist for
3111 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
3113 (license license:bsd-3)))
3115 (define-public ghc-trifecta
3117 (name "ghc-trifecta")
3122 "https://hackage.haskell.org/package/trifecta/"
3123 "trifecta-" version ".tar.gz"))
3126 "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk"))))
3127 (build-system haskell-build-system)
3129 `(("ghc-reducers" ,ghc-reducers)
3130 ("ghc-semigroups" ,ghc-semigroups)
3131 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
3132 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
3133 ("ghc-blaze-builder" ,ghc-blaze-builder)
3134 ("ghc-blaze-html" ,ghc-blaze-html)
3135 ("ghc-blaze-markup" ,ghc-blaze-markup)
3136 ("ghc-charset" ,ghc-charset)
3137 ("ghc-comonad" ,ghc-comonad)
3138 ("ghc-fingertree" ,ghc-fingertree)
3139 ("ghc-hashable" ,ghc-hashable)
3140 ("ghc-lens" ,ghc-lens)
3141 ("ghc-parsers" ,ghc-parsers)
3142 ("ghc-profunctors" ,ghc-profunctors)
3143 ("ghc-unordered-containers" ,ghc-unordered-containers)
3144 ("ghc-utf8-string" ,ghc-utf8-string)))
3146 `(("cabal-doctest" ,cabal-doctest)
3147 ("ghc-doctest" ,ghc-doctest)
3148 ("ghc-quickcheck" ,ghc-quickcheck)))
3149 (home-page "https://github.com/ekmett/trifecta/")
3150 (synopsis "Parser combinator library with convenient diagnostics")
3151 (description "Trifecta is a modern parser combinator library for Haskell,
3152 with slicing and Clang-style colored diagnostics.")
3153 (license license:bsd-3)))
3155 (define-public ghc-time-locale-compat
3157 (name "ghc-time-locale-compat")
3162 (uri (string-append "https://hackage.haskell.org/package/"
3163 "time-locale-compat/time-locale-compat-"
3167 "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7"))))
3168 (build-system haskell-build-system)
3169 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
3170 (home-page "https://github.com/khibino/haskell-time-locale-compat")
3171 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
3172 (description "This package contains a wrapped name module for
3173 @code{TimeLocale}.")
3174 (license license:bsd-3)))
3176 (define-public ghc-attoparsec
3178 (name "ghc-attoparsec")
3179 (version "0.13.2.2")
3184 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
3189 "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx"))))
3190 (build-system haskell-build-system)
3193 (modify-phases %standard-phases
3194 (add-after 'unpack 'patch-for-newer-quickcheck
3196 (substitute* "attoparsec.cabal"
3197 (("QuickCheck >= 2\\.7 && < 2\\.10")
3198 "QuickCheck >= 2.7 && < 2.12"))
3199 ;; This test fails because of the newer QuickCheck:
3200 ;; <https://github.com/bos/attoparsec/issues/134>.
3201 (substitute* "tests/QC/ByteString.hs"
3202 ((", testProperty \"satisfyWith\" satisfyWith")
3205 `(("ghc-scientific" ,ghc-scientific)
3206 ("ghc-text" ,ghc-text)))
3208 `(("ghc-tasty" ,ghc-tasty)
3209 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
3210 ("ghc-quickcheck" ,ghc-quickcheck)
3211 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
3212 ("ghc-vector" ,ghc-vector)))
3213 (home-page "https://github.com/bos/attoparsec")
3214 (synopsis "Fast combinator parsing for bytestrings and text")
3215 (description "This library provides a fast parser combinator library,
3216 aimed particularly at dealing efficiently with network protocols and
3217 complicated text/binary file formats.")
3218 (license license:bsd-3)))
3220 (define-public ghc-attoparsec-bootstrap
3222 (inherit ghc-attoparsec)
3223 (name "ghc-attoparsec-bootstrap")
3224 (arguments `(#:tests? #f))
3226 `(("ghc-scientific" ,ghc-scientific-bootstrap)
3227 ("ghc-text" ,ghc-text)))
3229 (properties '(hidden? #t))))
3231 (define-public ghc-zip-archive
3233 (name "ghc-zip-archive")
3239 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
3244 "0kf8xyac168bng8a0za2jwrbss7a4ralvci9g54hnvl0gkkxx2lq"))))
3245 (build-system haskell-build-system)
3247 `(("ghc-digest" ,ghc-digest)
3248 ("ghc-temporary" ,ghc-temporary)
3249 ("ghc-text" ,ghc-text)
3250 ("ghc-zlib" ,ghc-zlib)))
3252 `(("ghc-hunit" ,ghc-hunit)
3254 (home-page "https://hackage.haskell.org/package/zip-archive")
3255 (synopsis "Zip archive library for Haskell")
3256 (description "The zip-archive library provides functions for creating,
3257 modifying, and extracting files from zip archives in Haskell.")
3258 (license license:bsd-3)))
3260 (define-public ghc-distributive
3262 (name "ghc-distributive")
3268 "https://hackage.haskell.org/package/distributive/distributive-"
3273 "0y566r97sfyvhsmd4yxiz4ns2mqgwf5bdbp56wgxl6wlkidq0wwi"))))
3274 (build-system haskell-build-system)
3277 ("6" "06bd38rf31yrvvy989r44pm0id3dsxwcp6nxg7wk6ccj3n2b8rzk")))
3279 `(("ghc-tagged" ,ghc-tagged)
3280 ("ghc-base-orphans" ,ghc-base-orphans)
3281 ("ghc-transformers-compat" ,ghc-transformers-compat)
3282 ("ghc-semigroups" ,ghc-semigroups)
3283 ("ghc-generic-deriving" ,ghc-generic-deriving)))
3285 `(("cabal-doctest" ,cabal-doctest)
3286 ("ghc-doctest" ,ghc-doctest)
3287 ("ghc-hspec" ,ghc-hspec)
3288 ("hspec-discover" ,hspec-discover)))
3289 (home-page "https://github.com/ekmett/distributive/")
3290 (synopsis "Distributive functors for Haskell")
3291 (description "This package provides distributive functors for Haskell.
3292 Dual to @code{Traversable}.")
3293 (license license:bsd-3)))
3295 (define-public ghc-cereal
3303 "https://hackage.haskell.org/package/cereal/cereal-"
3308 "1j7imh2mzqcljld7sx0av69699955rpy3hzivi5723i6a9nszgbs"))))
3309 (build-system haskell-build-system)
3311 `(("ghc-quickcheck" ,ghc-quickcheck)
3312 ("ghc-fail" ,ghc-fail)
3313 ("ghc-test-framework" ,ghc-test-framework)
3314 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3315 (home-page "https://hackage.haskell.org/package/cereal")
3316 (synopsis "Binary serialization library")
3317 (description "This package provides a binary serialization library,
3318 similar to @code{binary}, that introduces an @code{isolate} primitive for
3319 parser isolation, and labeled blocks for better error messages.")
3320 (license license:bsd-3)))
3322 (define-public ghc-comonad
3324 (name "ghc-comonad")
3330 "https://hackage.haskell.org/package/comonad/comonad-"
3335 "09g870c4flp4k3fgbibsd0mmfjani1qcpbcl685v8x89kxzrva3q"))))
3336 (build-system haskell-build-system)
3338 `(("cabal-doctest" ,cabal-doctest)
3339 ("ghc-doctest" ,ghc-doctest)))
3341 `(("ghc-contravariant" ,ghc-contravariant)
3342 ("ghc-distributive" ,ghc-distributive)
3343 ("ghc-semigroups" ,ghc-semigroups)
3344 ("ghc-tagged" ,ghc-tagged)
3345 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3346 (home-page "https://github.com/ekmett/comonad/")
3347 (synopsis "Comonads for Haskell")
3348 (description "This library provides @code{Comonad}s for Haskell.")
3349 (license license:bsd-3)))
3351 (define-public hscolour
3359 "https://hackage.haskell.org/package/hscolour/hscolour-"
3364 "079jwph4bwllfp03yfr26s5zc6m6kw3nhb1cggrifh99haq34cr4"))))
3365 (build-system haskell-build-system)
3366 (home-page "https://hackage.haskell.org/package/hscolour")
3367 (synopsis "Script to colourise Haskell code")
3368 (description "HSColour is a small Haskell script to colourise Haskell
3369 code. It currently has six output formats: ANSI terminal codes (optionally
3370 XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
3371 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
3372 and mIRC chat codes.")
3373 (license license:bsd-3)))
3375 (define-public ghc-polyparse
3377 (name "ghc-polyparse")
3383 "https://hackage.haskell.org/package/polyparse/polyparse-"
3388 "05dya1vdvq29hkhkdlsglzhw7bdn51rvs1javs0q75nf99c66k7m"))))
3389 (build-system haskell-build-system)
3391 `(("ghc-text" ,ghc-text)))
3393 "http://code.haskell.org/~malcolm/polyparse/")
3395 "Alternative parser combinator libraries")
3397 "This package provides a variety of alternative parser combinator
3398 libraries, including the original HuttonMeijer set. The Poly sets have
3399 features like good error reporting, arbitrary token type, running state, lazy
3400 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
3401 standard Read class, for better deserialisation of Haskell values from
3403 (license license:lgpl2.1)))
3405 (define-public ghc-extra
3413 "https://hackage.haskell.org/package/extra/extra-"
3418 "0xxcpb00pgwi9cmy6a7ghh6rblxry42p8pz5ssfgj20fs1xwzj1b"))))
3419 (build-system haskell-build-system)
3421 `(("ghc-clock" ,ghc-clock)
3422 ("ghc-quickcheck" ,ghc-quickcheck)))
3423 (home-page "https://github.com/ndmitchell/extra")
3424 (synopsis "Extra Haskell functions")
3425 (description "This library provides extra functions for the standard
3426 Haskell libraries. Most functions are simple additions, filling out missing
3427 functionality. A few functions are available in later versions of GHC, but
3428 this package makes them available back to GHC 7.2.")
3429 (license license:bsd-3)))
3431 (define-public ghc-profunctors
3433 (name "ghc-profunctors")
3439 "https://hackage.haskell.org/package/profunctors/profunctors-"
3444 "0s1pwjidbn761xk43pmzyvn99hm3psdifjd78ylki7f97aiyd0g9"))))
3445 (build-system haskell-build-system)
3448 ("2" "1ywlg9z8nlhd2avgb8c6gbkv8zyk7hvc25926bafyg0m0k8y1amq")))
3450 `(("ghc-base-orphans" ,ghc-base-orphans)
3451 ("ghc-bifunctors" ,ghc-bifunctors)
3452 ("ghc-comonad" ,ghc-comonad)
3453 ("ghc-contravariant" ,ghc-contravariant)
3454 ("ghc-distributive" ,ghc-distributive)
3455 ("ghc-semigroups" ,ghc-semigroups)
3456 ("ghc-tagged" ,ghc-tagged)))
3457 (home-page "https://github.com/ekmett/profunctors/")
3458 (synopsis "Profunctors for Haskell")
3459 (description "This library provides profunctors for Haskell.")
3460 (license license:bsd-3)))
3462 (define-public ghc-reducers
3464 (name "ghc-reducers")
3470 "https://hackage.haskell.org/package/reducers/reducers-"
3475 "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki"))))
3476 (build-system haskell-build-system)
3478 `(("ghc-fingertree" ,ghc-fingertree)
3479 ("ghc-hashable" ,ghc-hashable)
3480 ("ghc-text" ,ghc-text)
3481 ("ghc-unordered-containers" ,ghc-unordered-containers)
3482 ("ghc-semigroupoids" ,ghc-semigroupoids)
3483 ("ghc-semigroups" ,ghc-semigroups)))
3484 (home-page "https://github.com/ekmett/reducers/")
3485 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
3486 (description "This library provides various semigroups, specialized
3487 containers and a general map/reduce framework for Haskell.")
3488 (license license:bsd-3)))
3490 (define-public ghc-appar
3498 "https://hackage.haskell.org/package/appar/appar-"
3503 "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq"))))
3504 (build-system haskell-build-system)
3506 "https://hackage.haskell.org/package/appar")
3507 (synopsis "Simple applicative parser")
3508 (description "This package provides a simple applicative parser in Parsec
3510 (license license:bsd-3)))
3512 (define-public ghc-safe
3520 "https://hackage.haskell.org/package/safe/safe-"
3525 "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr"))))
3526 (build-system haskell-build-system)
3528 `(("ghc-quickcheck" ,ghc-quickcheck)))
3529 (home-page "https://github.com/ndmitchell/safe#readme")
3530 (synopsis "Library of safe (exception free) functions")
3531 (description "This library provides wrappers around @code{Prelude} and
3532 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
3534 (license license:bsd-3)))
3536 (define-public ghc-generic-deriving
3538 (name "ghc-generic-deriving")
3544 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
3549 "1i7d6cpj9yhaqb79zays3nqchhaacacjz9bkc0zlwj73y5gvi22n"))))
3550 (build-system haskell-build-system)
3552 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
3554 `(("ghc-hspec" ,ghc-hspec)
3555 ("hspec-discover" ,hspec-discover)))
3556 (home-page "https://hackage.haskell.org/package/generic-deriving")
3557 (synopsis "Generalise the deriving mechanism to arbitrary classes")
3558 (description "This package provides functionality for generalising the
3559 deriving mechanism in Haskell to arbitrary classes.")
3560 (license license:bsd-3)))
3562 (define-public ghc-pcre-light
3564 (name "ghc-pcre-light")
3570 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
3575 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
3576 (build-system haskell-build-system)
3580 `(("pkg-config" ,pkg-config)))
3581 (home-page "https://github.com/Daniel-Diaz/pcre-light")
3582 (synopsis "Haskell library for Perl 5 compatible regular expressions")
3583 (description "This package provides a small, efficient, and portable regex
3584 library for Perl 5 compatible regular expressions. The PCRE library is a set
3585 of functions that implement regular expression pattern matching using the same
3586 syntax and semantics as Perl 5.")
3587 (license license:bsd-3)))
3589 (define-public ghc-logict
3597 "https://hackage.haskell.org/package/logict/logict-"
3602 "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi"))))
3603 (build-system haskell-build-system)
3604 (home-page "http://code.haskell.org/~dolio/")
3605 (synopsis "Backtracking logic-programming monad")
3606 (description "This library provides a continuation-based, backtracking,
3607 logic programming monad. An adaptation of the two-continuation implementation
3608 found in the paper \"Backtracking, Interleaving, and Terminating Monad
3609 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
3611 (license license:bsd-3)))
3613 (define-public ghc-xml
3621 "https://hackage.haskell.org/package/xml/xml-"
3626 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
3627 (build-system haskell-build-system)
3629 `(("ghc-text" ,ghc-text)))
3630 (home-page "http://code.galois.com")
3631 (synopsis "Simple XML library for Haskell")
3632 (description "This package provides a simple XML library for Haskell.")
3633 (license license:bsd-3)))
3635 (define-public ghc-feed
3642 (uri (string-append "https://hackage.haskell.org/package/"
3643 "feed/feed-" version ".tar.gz"))
3646 "05rgg7x1984mgfhkmz792xj8lhwjgznixhygzr8blf517lns2nck"))))
3647 (build-system haskell-build-system)
3650 ("4" "0baavcavm3ywykcr9cm07aqr7sna98jba2n68lyn3kany8ri214d")))
3652 `(("ghc-base-compat" ,ghc-base-compat)
3653 ("ghc-old-locale" ,ghc-old-locale)
3654 ("ghc-old-time" ,ghc-old-time)
3655 ("ghc-safe" ,ghc-safe)
3656 ("ghc-text" ,ghc-text)
3657 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
3658 ("ghc-utf8-string" ,ghc-utf8-string)
3659 ("ghc-xml-conduit" ,ghc-xml-conduit)
3660 ("ghc-xml-types" ,ghc-xml-types)))
3662 `(("ghc-hunit" ,ghc-hunit)
3663 ("ghc-test-framework" ,ghc-test-framework)
3664 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3665 (home-page "https://github.com/bergmark/feed")
3666 (synopsis "Haskell package for handling various syndication formats")
3667 (description "This Haskell package includes tools for generating and
3668 consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
3669 (license license:bsd-3)))
3671 (define-public ghc-exceptions
3673 (name "ghc-exceptions")
3679 "https://hackage.haskell.org/package/exceptions/exceptions-"
3684 "1ms9zansv0pwzwdjncvx4kf18lnkjy2p61hvjhvxmjx5bqp93p8y"))))
3685 (build-system haskell-build-system)
3687 `(("ghc-quickcheck" ,ghc-quickcheck)
3688 ("ghc-test-framework" ,ghc-test-framework)
3689 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3690 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3692 `(("ghc-stm" ,ghc-stm)
3693 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3694 (home-page "https://github.com/ekmett/exceptions/")
3695 (synopsis "Extensible optionally-pure exceptions")
3696 (description "This library provides extensible optionally-pure exceptions
3698 (license license:bsd-3)))
3700 (define-public ghc-temporary
3702 (name "ghc-temporary")
3708 "https://hackage.haskell.org/package/temporary/temporary-"
3713 "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c"))))
3714 (build-system haskell-build-system)
3716 `(("ghc-exceptions" ,ghc-exceptions)
3717 ("ghc-random" ,ghc-random)))
3719 `(("ghc-base-compat" ,ghc-base-compat)
3720 ("ghc-tasty" ,ghc-tasty)
3721 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
3722 (home-page "https://www.github.com/batterseapower/temporary")
3723 (synopsis "Temporary file and directory support")
3724 (description "The functions for creating temporary files and directories
3725 in the Haskelll base library are quite limited. This library just repackages
3726 the Cabal implementations of its own temporary file and folder functions so
3727 that you can use them without linking against Cabal or depending on it being
3729 (license license:bsd-3)))
3731 (define-public ghc-temporary-rc
3733 (name "ghc-temporary-rc")
3739 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
3744 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
3745 (build-system haskell-build-system)
3746 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
3748 "https://www.github.com/feuerbach/temporary")
3750 "Portable temporary file and directory support")
3752 "The functions for creating temporary files and directories in the base
3753 library are quite limited. The unixutils package contains some good ones, but
3754 they aren't portable to Windows. This library just repackages the Cabal
3755 implementations of its own temporary file and folder functions so that you can
3756 use them without linking against Cabal or depending on it being installed.
3757 This is a better maintained fork of the \"temporary\" package.")
3758 (license license:bsd-3)))
3760 (define-public ghc-smallcheck
3762 (name "ghc-smallcheck")
3768 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
3773 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
3774 (build-system haskell-build-system)
3776 `(("ghc-logict" ,ghc-logict)))
3778 "https://github.com/feuerbach/smallcheck")
3779 (synopsis "Property-based testing library")
3780 (description "SmallCheck is a testing library that allows to verify
3781 properties for all test cases up to some depth. The test cases are generated
3782 automatically by SmallCheck.")
3783 (license license:bsd-3)))
3785 (define-public ghc-silently
3787 (name "ghc-silently")
3793 "https://hackage.haskell.org/package/silently/silently-"
3798 "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
3799 (build-system haskell-build-system)
3800 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
3802 ;; `(("ghc-temporary" ,ghc-temporary)))
3803 (home-page "https://github.com/hspec/silently")
3804 (synopsis "Prevent writing to stdout")
3805 (description "This package provides functions to prevent or capture
3806 writing to stdout and other handles.")
3807 (license license:bsd-3)))
3809 (define-public ghc-case-insensitive
3811 (name "ghc-case-insensitive")
3812 (version "1.2.0.11")
3813 (outputs '("out" "doc"))
3818 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
3823 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7"))))
3824 (build-system haskell-build-system)
3825 ;; these inputs are necessary to use this library
3827 `(("ghc-text" ,ghc-text)
3828 ("ghc-hashable" ,ghc-hashable)))
3830 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3832 "https://github.com/basvandijk/case-insensitive")
3833 (synopsis "Case insensitive string comparison")
3835 "The module @code{Data.CaseInsensitive} provides the @code{CI} type
3836 constructor which can be parameterised by a string-like type like:
3837 @code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of
3838 the resulting type will be insensitive to cases.")
3839 (license license:bsd-3)))
3841 (define-public ghc-syb
3845 (outputs '("out" "doc"))
3850 "https://hackage.haskell.org/package/syb/syb-"
3855 "1da2zz7gqm4xbkx5vpd74dayx1svaxyl145fl14mq15lbb77sxdq"))))
3856 (build-system haskell-build-system)
3858 `(("ghc-hunit" ,ghc-hunit)))
3860 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
3861 (synopsis "Scrap Your Boilerplate")
3862 (description "This package contains the generics system described in the
3863 /Scrap Your Boilerplate/ papers (see
3864 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
3865 defines the @code{Data} class of types permitting folding and unfolding of
3866 constructor applications, instances of this class for primitive types, and a
3867 variety of traversals.")
3868 (license license:bsd-3)))
3870 (define-public ghc-fgl
3874 (outputs '("out" "doc"))
3879 "https://hackage.haskell.org/package/fgl/fgl-"
3884 "1i6cp4b3w7sjk7y1dq3fh6bci2sm5h3lnbbaw9ln19nwncg2wwll"))))
3885 (build-system haskell-build-system)
3888 (modify-phases %standard-phases
3889 (add-before 'configure 'update-constraints
3891 (substitute* "fgl.cabal"
3892 (("QuickCheck >= 2\\.8 && < 2\\.10")
3893 "QuickCheck >= 2.8 && < 2.12")
3894 (("hspec >= 2\\.1 && < 2\\.5")
3895 "hspec >= 2.1 && < 2.6")))))))
3897 `(("ghc-hspec" ,ghc-hspec)
3898 ("ghc-quickcheck" ,ghc-quickcheck)))
3899 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3901 "Martin Erwig's Functional Graph Library")
3902 (description "The functional graph library, FGL, is a collection of type
3903 and function definitions to address graph problems. The basis of the library
3904 is an inductive definition of graphs in the style of algebraic data types that
3905 encourages inductive, recursive definitions of graph algorithms.")
3906 (license license:bsd-3)))
3908 (define-public ghc-chasingbottoms
3910 (name "ghc-chasingbottoms")
3915 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
3916 "ChasingBottoms-" version ".tar.gz"))
3919 "06cynx6hcbfpky7qq3b3mjjgwbnaxkwin3znbwq4b9ikiw0ng633"))))
3920 (build-system haskell-build-system)
3922 `(("ghc-quickcheck" ,ghc-quickcheck)
3923 ("ghc-random" ,ghc-random)
3924 ("ghc-syb" ,ghc-syb)))
3925 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
3926 (synopsis "Testing of partial and infinite values in Haskell")
3928 ;; FIXME: There should be a @comma{} in the uref text, but it is not
3929 ;; rendered properly.
3930 "This is a library for testing code involving bottoms or infinite values.
3931 For the underlying theory and a larger example involving use of QuickCheck,
3933 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
3934 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
3935 Partial and Infinite Values\"}.")
3936 (license license:expat)))
3938 (define-public ghc-unordered-containers
3940 (name "ghc-unordered-containers")
3942 (outputs '("out" "doc"))
3947 "https://hackage.haskell.org/package/unordered-containers"
3948 "/unordered-containers-" version ".tar.gz"))
3951 "0l4264p0av12cc6i8gls13q8y27x12z2ar4x34n3x59y99fcnc37"))))
3952 (build-system haskell-build-system)
3954 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
3955 ("ghc-hunit" ,ghc-hunit)
3956 ("ghc-quickcheck" ,ghc-quickcheck)
3957 ("ghc-test-framework" ,ghc-test-framework)
3958 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3959 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3960 ("ghc-hashable" ,ghc-hashable)))
3962 "https://github.com/tibbe/unordered-containers")
3964 "Efficient hashing-based container types")
3966 "Efficient hashing-based container types. The containers have been
3967 optimized for performance critical use, both in terms of large data quantities
3969 (license license:bsd-3)))
3971 (define-public ghc-unordered-containers-bootstrap
3973 (inherit ghc-unordered-containers)
3974 (name "ghc-unordered-containers-bootstrap")
3975 (arguments `(#:tests? #f))
3977 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
3978 (properties '(hidden? #t))))
3980 (define-public ghc-uniplate
3982 (name "ghc-uniplate")
3988 "https://hackage.haskell.org/package/uniplate/uniplate-"
3993 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
3994 (build-system haskell-build-system)
3996 `(("ghc-syb" ,ghc-syb)
3997 ("ghc-hashable" ,ghc-hashable)
3998 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3999 (home-page "http://community.haskell.org/~ndm/uniplate/")
4000 (synopsis "Simple, concise and fast generic operations")
4001 (description "Uniplate is a library for writing simple and concise generic
4002 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
4003 work, but is substantially simpler and faster.")
4004 (license license:bsd-3)))
4006 (define-public ghc-base64-bytestring
4008 (name "ghc-base64-bytestring")
4014 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
4018 (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr"))))
4019 (build-system haskell-build-system)
4020 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
4021 (home-page "https://github.com/bos/base64-bytestring")
4022 (synopsis "Base64 encoding and decoding for ByteStrings")
4023 (description "This library provides fast base64 encoding and decoding for
4024 Haskell @code{ByteString}s.")
4025 (license license:bsd-3)))
4027 (define-public ghc-annotated-wl-pprint
4029 (name "ghc-annotated-wl-pprint")
4035 "https://hackage.haskell.org/package/annotated-wl-pprint"
4036 "/annotated-wl-pprint-" version
4040 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
4041 (build-system haskell-build-system)
4043 "https://github.com/david-christiansen/annotated-wl-pprint")
4045 "The Wadler/Leijen Pretty Printer, with annotation support")
4046 (description "This is a modified version of wl-pprint, which was based on
4047 Wadler's paper \"A Prettier Printer\". This version allows the library user
4048 to annotate the text with semantic information, which can later be rendered in
4049 a variety of ways.")
4050 (license license:bsd-3)))
4052 (define-public ghc-wl-pprint
4054 (name "ghc-wl-pprint")
4059 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
4063 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
4064 (build-system haskell-build-system)
4065 (home-page "https://hackage.haskell.org/package/wl-pprint")
4066 (synopsis "Wadler/Leijen pretty printer")
4068 "This is a pretty printing library based on Wadler's paper @i{A Prettier
4069 Printer}. This version allows the library user to declare overlapping
4070 instances of the @code{Pretty} class.")
4071 (license license:bsd-3)))
4073 (define-public ghc-ansi-wl-pprint
4075 (name "ghc-ansi-wl-pprint")
4080 (uri (string-append "https://hackage.haskell.org/package/"
4081 "ansi-wl-pprint/ansi-wl-pprint-"
4085 "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56"))))
4086 (build-system haskell-build-system)
4088 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
4089 (home-page "https://github.com/ekmett/ansi-wl-pprint")
4090 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
4091 (description "This is a pretty printing library based on Wadler's paper
4092 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
4093 colored output using the ansi-terminal package.")
4094 (license license:bsd-3)))
4096 (define-public ghc-split
4100 (outputs '("out" "doc"))
4105 "https://hackage.haskell.org/package/split/split-"
4110 "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x"))))
4111 (build-system haskell-build-system)
4113 `(("ghc-quickcheck" ,ghc-quickcheck)))
4114 (home-page "https://hackage.haskell.org/package/split")
4115 (synopsis "Combinator library for splitting lists")
4116 (description "This package provides a collection of Haskell functions for
4117 splitting lists into parts, akin to the @code{split} function found in several
4118 mainstream languages.")
4119 (license license:bsd-3)))
4121 (define-public ghc-parsec
4124 (version "3.1.13.0")
4125 (outputs '("out" "doc"))
4130 "https://hackage.haskell.org/package/parsec/parsec-"
4134 (base32 "1wc09pyn70p8z6llink10c8pqbh6ikyk554911yfwxv1g91swqbq"))))
4135 (build-system haskell-build-system)
4137 `(("ghc-hunit" ,ghc-hunit)))
4139 `(("ghc-text" ,ghc-text)))
4141 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
4143 "https://github.com/aslatter/parsec")
4144 (synopsis "Monadic parser combinators")
4145 (description "Parsec is a parser library. It is simple, safe, well
4146 documented, has extensive libraries, good error messages, and is fast. It is
4147 defined as a monad transformer that can be stacked on arbitrary monads, and it
4148 is also parametric in the input stream type.")
4149 (license license:bsd-3)))
4151 (define-public ghc-parser-combinators
4153 (name "ghc-parser-combinators")
4158 (uri (string-append "https://hackage.haskell.org/package/"
4159 "parser-combinators/parser-combinators-"
4163 "1pwfdsklqwvaynwpdzmx1bs35mp6dpsyaqdnzxnqcrxwf5h8sk75"))))
4164 (build-system haskell-build-system)
4165 (home-page "https://github.com/mrkkrp/parser-combinators")
4166 (synopsis "Commonly useful parser combinators")
4168 "This is a lightweight package providing commonly useful parser
4170 (license license:bsd-3)))
4172 (define-public ghc-megaparsec
4174 (name "ghc-megaparsec")
4179 (uri (string-append "https://hackage.haskell.org/package/"
4180 "megaparsec/megaparsec-"
4184 "12iggy7qpf8x93jm64zf0g215xwy779bqyfyjk2bhmxqqr1yzgdy"))))
4185 (build-system haskell-build-system)
4188 ("4" "0ij3asi5vwlhbgwsy6nhli9a0qb7926mg809fsgyl1rnhs9fvpx1")))
4190 `(("ghc-case-insensitive" ,ghc-case-insensitive)
4191 ("ghc-parser-combinators" ,ghc-parser-combinators)
4192 ("ghc-scientific" ,ghc-scientific)
4193 ("ghc-text" ,ghc-text)))
4195 `(("ghc-quickcheck" ,ghc-quickcheck)
4196 ("ghc-hspec" ,ghc-hspec)
4197 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
4198 ("hspec-discover" ,hspec-discover)))
4199 (home-page "https://github.com/mrkkrp/megaparsec")
4200 (synopsis "Monadic parser combinators")
4202 "This is an industrial-strength monadic parser combinator library.
4203 Megaparsec is a feature-rich package that strikes a nice balance between
4204 speed, flexibility, and quality of parse errors.")
4205 (license license:bsd-2)))
4207 (define-public ghc-vector
4210 (version "0.12.0.1")
4211 (outputs '("out" "doc"))
4216 "https://hackage.haskell.org/package/vector/vector-"
4221 "0yrx2ypiaxahvaz84af5bi855hd3107kxkbqc8km29nsp5wyw05i"))))
4222 (build-system haskell-build-system)
4223 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
4224 ;; disabled for now.
4227 ("3" "0y5rh8k710i2a3p1h2rghvr5cfg78p5h0kbfi7ifxqqf6pzlyr1x")
4230 `(("ghc-primitive" ,ghc-primitive)
4231 ("ghc-random" ,ghc-random)
4232 ("ghc-quickcheck" ,ghc-quickcheck)
4233 ;; ("ghc-hunit" ,ghc-hunit)
4234 ;; ("ghc-test-framework" ,ghc-test-framework)
4235 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4236 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
4238 (home-page "https://github.com/haskell/vector")
4239 (synopsis "Efficient Arrays")
4240 (description "This library provides an efficient implementation of
4241 Int-indexed arrays (both mutable and immutable), with a powerful loop
4242 optimisation framework.")
4243 (license license:bsd-3)))
4245 (define-public ghc-vector-binary-instances
4247 (name "ghc-vector-binary-instances")
4253 "https://hackage.haskell.org/package/"
4254 "vector-binary-instances/vector-binary-instances-"
4258 "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb"))))
4259 (build-system haskell-build-system)
4262 ("1" "196frl4akhfk7xf1nxzn8lmq99dxhzhsimanswn9yy7ym8zhki4i")))
4264 `(("ghc-vector" ,ghc-vector)))
4266 `(("ghc-tasty" ,ghc-tasty)
4267 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4268 (home-page "https://github.com/bos/vector-binary-instances")
4269 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
4270 (description "This library provides instances of @code{Binary} for the
4271 types defined in the @code{vector} package, making it easy to serialize
4272 vectors to and from disk. We use the generic interface to vectors, so all
4273 vector types are supported. Specific instances are provided for unboxed,
4274 boxed and storable vectors.")
4275 (license license:bsd-3)))
4277 (define-public ghc-bloomfilter
4279 (name "ghc-bloomfilter")
4284 (uri (string-append "https://hackage.haskell.org/package/"
4285 "bloomfilter/bloomfilter-" version ".tar.gz"))
4288 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
4289 (build-system haskell-build-system)
4291 `(("ghc-quickcheck" ,ghc-quickcheck)
4292 ("ghc-random" ,ghc-random)
4293 ("ghc-test-framework" ,ghc-test-framework)
4294 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4295 (home-page "https://github.com/bos/bloomfilter")
4296 (synopsis "Pure and impure Bloom filter implementations")
4297 (description "This package provides both mutable and immutable Bloom
4298 filter data types, along with a family of hash functions and an easy-to-use
4300 (license license:bsd-3)))
4302 (define-public ghc-network
4304 (name "ghc-network")
4306 (outputs '("out" "doc"))
4311 "https://hackage.haskell.org/package/network/network-"
4316 "198mam7ahny48p9fajznbqq16a8ya2gw0xm3gnm1si1rmc4hdplv"))))
4317 (build-system haskell-build-system)
4318 ;; The regression tests depend on an unpublished module.
4319 (arguments `(#:tests? #f))
4321 `(("ghc-hunit" ,ghc-hunit)
4322 ("ghc-doctest" ,ghc-doctest)
4323 ("ghc-test-framework" ,ghc-test-framework)
4324 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4325 (home-page "https://github.com/haskell/network")
4326 (synopsis "Low-level networking interface")
4328 "This package provides a low-level networking interface.")
4329 (license license:bsd-3)))
4331 (define-public ghc-network-uri
4333 (name "ghc-network-uri")
4335 (outputs '("out" "doc"))
4340 "https://hackage.haskell.org/package/network-uri/network-uri-"
4345 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
4346 (build-system haskell-build-system)
4348 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
4350 `(("ghc-hunit" ,ghc-hunit)))
4352 `(("ghc-parsec" ,ghc-parsec)
4353 ("ghc-network" ,ghc-network)))
4355 "https://github.com/haskell/network-uri")
4356 (synopsis "Library for URI manipulation")
4357 (description "This package provides an URI manipulation interface. In
4358 @code{network-2.6} the @code{Network.URI} module was split off from the
4359 @code{network} package into this package.")
4360 (license license:bsd-3)))
4362 (define-public ghc-ansi-terminal
4364 (name "ghc-ansi-terminal")
4370 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
4375 "0428gq8m3fdnb7ldcsyk97qcch76hcxbgh2666p6f76fs2qbhg7b"))))
4376 (build-system haskell-build-system)
4378 `(("ghc-colour" ,ghc-colour)))
4379 (home-page "https://github.com/feuerbach/ansi-terminal")
4380 (synopsis "ANSI terminal support for Haskell")
4381 (description "This package provides ANSI terminal support for Haskell. It
4382 allows cursor movement, screen clearing, color output showing or hiding the
4383 cursor, and changing the title.")
4384 (license license:bsd-3)))
4386 (define-public ghc-vault
4394 "https://hackage.haskell.org/package/vault/vault-"
4399 "072mbrihsdsb8c6xvg6lvk0rqjgvxvi8qkg4n6wwym5hq0pfa04y"))))
4400 (build-system haskell-build-system)
4402 `(("ghc-unordered-containers" ,ghc-unordered-containers)
4403 ("ghc-hashable" ,ghc-hashable)
4404 ("ghc-semigroupoids" ,ghc-semigroupoids)))
4406 "https://github.com/HeinrichApfelmus/vault")
4407 (synopsis "Persistent store for arbitrary values")
4408 (description "This package provides vaults for Haskell. A vault is a
4409 persistent store for values of arbitrary types. It's like having first-class
4410 access to the storage space behind @code{IORefs}. The data structure is
4411 analogous to a bank vault, where you can access different bank boxes with
4412 different keys; hence the name. Also provided is a @code{locker} type,
4413 representing a store for a single element.")
4414 (license license:bsd-3)))
4416 (define-public ghc-edisonapi
4418 (name "ghc-edisonapi")
4423 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
4424 "/EdisonAPI-" version ".tar.gz"))
4426 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
4427 (build-system haskell-build-system)
4428 (home-page "http://rwd.rdockins.name/edison/home/")
4429 (synopsis "Library of efficient, purely-functional data structures (API)")
4431 "Edison is a library of purely functional data structures written by
4432 Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
4433 value EDiSon (Efficient Data Structures). Edison provides several families of
4434 abstractions, each with multiple implementations. The main abstractions
4435 provided by Edison are: Sequences such as stacks, queues, and dequeues;
4436 Collections such as sets, bags and heaps; and Associative Collections such as
4437 finite maps and priority queues where the priority and element are distinct.")
4438 (license license:expat)))
4440 (define-public ghc-edisoncore
4442 (name "ghc-edisoncore")
4447 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
4448 "/EdisonCore-" version ".tar.gz"))
4450 (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk"))))
4451 (build-system haskell-build-system)
4453 `(("ghc-quickcheck" ,ghc-quickcheck)
4454 ("ghc-edisonapi" ,ghc-edisonapi)))
4455 (home-page "http://rwd.rdockins.name/edison/home/")
4456 (synopsis "Library of efficient, purely-functional data structures")
4458 "This package provides the core Edison data structure implementations,
4459 including multiple sequence, set, bag, and finite map concrete implementations
4460 with various performance characteristics.")
4461 (license license:expat)))
4463 (define-public ghc-mmorph
4471 "https://hackage.haskell.org/package/mmorph/mmorph-"
4476 "1gjz1ib968lqybma7my1n19qq6cdj6a7nskrlnwy4jy9jrwzs2n9"))))
4477 (build-system haskell-build-system)
4479 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4480 (home-page "https://hackage.haskell.org/package/mmorph")
4481 (synopsis "Monad morphisms")
4483 "This library provides monad morphism utilities, most commonly used for
4484 manipulating monad transformer stacks.")
4485 (license license:bsd-3)))
4487 (define-public ghc-ifelse
4494 (uri (string-append "https://hackage.haskell.org/package/"
4495 "IfElse/IfElse-" version ".tar.gz"))
4498 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
4499 (build-system haskell-build-system)
4500 (home-page "http://hackage.haskell.org/package/IfElse")
4501 (synopsis "Monadic control flow with anaphoric variants")
4502 (description "This library provides functions for control flow inside of
4503 monads with anaphoric variants on @code{if} and @code{when} and a C-like
4504 @code{switch} function.")
4505 (license license:bsd-3)))
4507 (define-public ghc-monad-control
4509 (name "ghc-monad-control")
4515 "https://hackage.haskell.org/package/monad-control"
4516 "/monad-control-" version ".tar.gz"))
4519 "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c"))))
4520 (build-system haskell-build-system)
4522 `(("ghc-stm" ,ghc-stm)
4523 ("ghc-transformers-base" ,ghc-transformers-base)
4524 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4525 (home-page "https://github.com/basvandijk/monad-control")
4526 (synopsis "Monad transformers to lift control operations like exception
4528 (description "This package defines the type class @code{MonadBaseControl},
4529 a subset of @code{MonadBase} into which generic control operations such as
4530 @code{catch} can be lifted from @code{IO} or any other base monad.")
4531 (license license:bsd-3)))
4533 (define-public ghc-fail
4540 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
4543 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
4544 (build-system haskell-build-system)
4545 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4546 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
4547 (synopsis "Forward-compatible MonadFail class")
4549 "This package contains the @code{Control.Monad.Fail} module providing the
4550 @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
4551 class that became available in
4552 @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
4553 older @code{base} package versions. This package turns into an empty package
4554 when used with GHC versions which already provide the
4555 @code{Control.Monad.Fail} module.")
4556 (license license:bsd-3)))
4558 (define-public ghc-monadplus
4560 (name "ghc-monadplus")
4565 (uri (string-append "https://hackage.haskell.org/package/monadplus"
4566 "/monadplus-" version ".tar.gz"))
4568 (base32 "15b5320wdpmdp5slpphnc1x4rhjch3igw245dp2jxbqyvchdavin"))))
4569 (build-system haskell-build-system)
4570 (home-page "https://hackage.haskell.org/package/monadplus")
4571 (synopsis "Filtering and folding over arbitrary MonadPlus instances")
4573 "This package generalizes many common stream operations such as
4574 @code{filter}, @code{catMaybes} etc, enabling filtering and folding over
4575 arbitrary @code{MonadPlus} instances.")
4576 (license license:bsd-3)))
4578 (define-public ghc-byteorder
4580 (name "ghc-byteorder")
4586 "https://hackage.haskell.org/package/byteorder/byteorder-"
4591 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
4592 (build-system haskell-build-system)
4594 "http://community.haskell.org/~aslatter/code/byteorder")
4596 "Exposes the native endianness of the system")
4598 "This package is for working with the native byte-ordering of the
4600 (license license:bsd-3)))
4602 (define-public ghc-base-compat
4604 (name "ghc-base-compat")
4610 "https://hackage.haskell.org/package/base-compat/base-compat-"
4615 "0ksp990gxs731mq19rzbxrbs43nazfljjc8krlx5bjqblw3kfs8d"))))
4616 (build-system haskell-build-system)
4618 `(("ghc-quickcheck" ,ghc-quickcheck)
4619 ("ghc-hspec" ,ghc-hspec)
4620 ("hspec-discover" ,hspec-discover)))
4621 (home-page "https://hackage.haskell.org/package/base-compat")
4622 (synopsis "Haskell compiler compatibility library")
4623 (description "This library provides functions available in later versions
4624 of base to a wider range of compilers, without requiring the use of CPP
4625 pragmas in your code.")
4626 (license license:bsd-3)))
4628 (define-public ghc-blaze-builder
4630 (name "ghc-blaze-builder")
4636 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
4641 "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i"))))
4642 (build-system haskell-build-system)
4643 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
4645 `(("ghc-text" ,ghc-text)
4646 ("ghc-utf8-string" ,ghc-utf8-string)))
4647 (home-page "https://github.com/lpsmith/blaze-builder")
4648 (synopsis "Efficient buffered output")
4649 (description "This library provides an implementation of the older
4650 @code{blaze-builder} interface in terms of the new builder that shipped with
4651 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
4652 bridge to the new builder, so that code that uses the old interface can
4653 interoperate with code that uses the new implementation.")
4654 (license license:bsd-3)))
4656 (define-public ghc-blaze-markup
4658 (name "ghc-blaze-markup")
4663 (uri (string-append "https://hackage.haskell.org/package/"
4664 "blaze-markup/blaze-markup-"
4668 "0ih1c3qahkdgzbqihdhny5s313l2m66fbb88w8jbx7yz56y7rawh"))))
4669 (build-system haskell-build-system)
4672 (modify-phases %standard-phases
4673 (add-before 'configure 'update-constraints
4675 (substitute* "blaze-markup.cabal"
4676 (("tasty >= 1\\.0 && < 1\\.1")
4677 "tasty >= 1.0 && < 1.2")))))))
4679 `(("ghc-blaze-builder" ,ghc-blaze-builder)
4680 ("ghc-text" ,ghc-text)))
4682 `(("ghc-hunit" ,ghc-hunit)
4683 ("ghc-quickcheck" ,ghc-quickcheck)
4684 ("ghc-tasty" ,ghc-tasty)
4685 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4686 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4687 (home-page "https://jaspervdj.be/blaze")
4688 (synopsis "Fast markup combinator library for Haskell")
4689 (description "This library provides core modules of a markup combinator
4690 library for Haskell.")
4691 (license license:bsd-3)))
4693 (define-public ghc-easy-file
4695 (name "ghc-easy-file")
4701 "https://hackage.haskell.org/package/easy-file/easy-file-"
4706 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
4707 (build-system haskell-build-system)
4709 "https://github.com/kazu-yamamoto/easy-file")
4710 (synopsis "File handling library for Haskell")
4711 (description "This library provides file handling utilities for Haskell.")
4712 (license license:bsd-3)))
4714 (define-public ghc-async
4722 "https://hackage.haskell.org/package/async/async-"
4727 "09whscli1q5z7lzyq9rfk0bq1ydplh6pjmc6qv0x668k5818c2wg"))))
4728 (build-system haskell-build-system)
4730 `(("ghc-stm" ,ghc-stm)
4731 ("ghc-hashable" ,ghc-hashable)
4732 ("ghc-hunit" ,ghc-hunit)
4733 ("ghc-test-framework" ,ghc-test-framework)
4734 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4735 (home-page "https://github.com/simonmar/async")
4736 (synopsis "Library to run IO operations asynchronously")
4737 (description "Async provides a library to run IO operations
4738 asynchronously, and wait for their results. It is a higher-level interface
4739 over threads in Haskell, in which @code{Async a} is a concurrent thread that
4740 will eventually deliver a value of type @code{a}.")
4741 (license license:bsd-3)))
4743 (define-public ghc-fingertree
4745 (name "ghc-fingertree")
4751 "https://hackage.haskell.org/package/fingertree/fingertree-"
4755 "192fyzv0pn1437wdpqg1l80rswkk4rw3w61r4bq7dhv354bdqy4p"))))
4756 (build-system haskell-build-system)
4758 `(("ghc-hunit" ,ghc-hunit)
4759 ("ghc-quickcheck" ,ghc-quickcheck)
4760 ("ghc-test-framework" ,ghc-test-framework)
4761 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4762 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4763 (home-page "https://hackage.haskell.org/package/fingertree")
4764 (synopsis "Generic finger-tree structure")
4765 (description "This library provides finger trees, a general sequence
4766 representation with arbitrary annotations, for use as a base for
4767 implementations of various collection types. It includes examples, as
4768 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4769 simple general-purpose data structure\".")
4770 (license license:bsd-3)))
4772 (define-public ghc-optparse-applicative
4774 (name "ghc-optparse-applicative")
4775 (version "0.14.2.0")
4780 "https://hackage.haskell.org/package/optparse-applicative"
4781 "/optparse-applicative-" version ".tar.gz"))
4784 "0c3z1mvynlyv1garjbdmdd3npm40dabgm75js4r07cf766c1wd71"))))
4785 (build-system haskell-build-system)
4787 `(("ghc-transformers-compat" ,ghc-transformers-compat)
4788 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
4790 `(("ghc-quickcheck" ,ghc-quickcheck)))
4791 (home-page "https://github.com/pcapriotti/optparse-applicative")
4792 (synopsis "Utilities and combinators for parsing command line options")
4793 (description "This package provides utilities and combinators for parsing
4794 command line options in Haskell.")
4795 (license license:bsd-3)))
4797 (define-public ghc-base-orphans
4799 (name "ghc-base-orphans")
4805 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
4810 "057f9npnqk71ccfh95djfkpd54dzazphj06grwxa3fyhwcwxrb8a"))))
4811 (build-system haskell-build-system)
4813 `(("ghc-quickcheck" ,ghc-quickcheck)
4814 ("ghc-hspec" ,ghc-hspec)
4815 ("hspec-discover" ,hspec-discover)))
4816 (home-page "https://hackage.haskell.org/package/base-orphans")
4817 (synopsis "Orphan instances for backwards compatibility")
4818 (description "This package defines orphan instances that mimic instances
4819 available in later versions of base to a wider (older) range of compilers.")
4820 (license license:bsd-3)))
4822 (define-public ghc-auto-update
4824 (name "ghc-auto-update")
4830 "https://hackage.haskell.org/package/auto-update/auto-update-"
4835 "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy"))))
4836 (build-system haskell-build-system)
4837 (home-page "https://github.com/yesodweb/wai")
4838 (synopsis "Efficiently run periodic, on-demand actions")
4839 (description "This library provides mechanisms to efficiently run
4840 periodic, on-demand actions in Haskell.")
4841 (license license:expat)))
4843 (define-public ghc-tagged
4851 "https://hackage.haskell.org/package/tagged/tagged-"
4856 "16cdzh0bw16nvjnyyy5j9s60malhz4nnazw96vxb0xzdap4m2z74"))))
4857 (build-system haskell-build-system)
4860 ("2" "0r2knfcq0b4s652vlvlnfwxlc2mkc2ra9kl8bp4zdn1awmfy0ia5")))
4862 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4863 (home-page "https://hackage.haskell.org/package/tagged")
4864 (synopsis "Haskell phantom types to avoid passing dummy arguments")
4865 (description "This library provides phantom types for Haskell 98, to avoid
4866 having to unsafely pass dummy arguments.")
4867 (license license:bsd-3)))
4869 (define-public ghc-unbounded-delays
4871 (name "ghc-unbounded-delays")
4877 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
4882 "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa"))))
4883 (build-system haskell-build-system)
4884 (home-page "https://github.com/basvandijk/unbounded-delays")
4885 (synopsis "Unbounded thread delays and timeouts")
4886 (description "The @code{threadDelay} and @code{timeout} functions from the
4887 Haskell base library use the bounded @code{Int} type for specifying the delay
4888 or timeout period. This package provides alternative functions which use the
4889 unbounded @code{Integer} type.")
4890 (license license:bsd-3)))
4892 (define-public ghc-clock
4900 "https://hackage.haskell.org/package/"
4902 "clock-" version ".tar.gz"))
4904 (base32 "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8"))))
4905 (build-system haskell-build-system)
4907 `(("ghc-tasty" ,ghc-tasty)
4908 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4909 (home-page "https://hackage.haskell.org/package/clock")
4910 (synopsis "High-resolution clock for Haskell")
4911 (description "A package for convenient access to high-resolution clock and
4912 timer functions of different operating systems via a unified API.")
4913 (license license:bsd-3)))
4915 (define-public ghc-charset
4917 (name "ghc-charset")
4923 "https://hackage.haskell.org/package/charset/charset-"
4928 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
4929 (build-system haskell-build-system)
4931 `(("ghc-semigroups" ,ghc-semigroups)
4932 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4933 (home-page "https://github.com/ekmett/charset")
4934 (synopsis "Fast unicode character sets for Haskell")
4935 (description "This package provides fast unicode character sets for
4936 Haskell, based on complemented PATRICIA tries.")
4937 (license license:bsd-3)))
4939 (define-public ghc-bytestring-builder
4941 (name "ghc-bytestring-builder")
4942 (version "0.10.8.1.0")
4947 "https://hackage.haskell.org/package/bytestring-builder"
4948 "/bytestring-builder-" version ".tar.gz"))
4951 "1hnvjac28y44yn78c9vdp1zvrknvlw98ky3g4n5vivr16rvh8x3d"))))
4952 (build-system haskell-build-system)
4953 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4954 (home-page "https://hackage.haskell.org/package/bytestring-builder")
4955 (synopsis "The new bytestring builder, packaged outside of GHC")
4956 (description "This package provides the bytestring builder that is
4957 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
4958 Compatibility package for older packages.")
4959 (license license:bsd-3)))
4961 (define-public ghc-nats
4969 "https://hackage.haskell.org/package/nats/nats-"
4974 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
4975 (build-system haskell-build-system)
4976 (arguments `(#:haddock? #f))
4978 `(("ghc-hashable" ,ghc-hashable)))
4979 (home-page "https://hackage.haskell.org/package/nats")
4980 (synopsis "Natural numbers")
4981 (description "This library provides the natural numbers for Haskell.")
4982 (license license:bsd-3)))
4984 (define-public ghc-nats-bootstrap
4987 (name "ghc-nats-bootstrap")
4989 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
4990 (properties '((hidden? #t)))))
4992 (define-public ghc-void
5000 "https://hackage.haskell.org/package/void/void-"
5005 "0aygw0yb1h3yhmfl3bkwh5d3h0l4mmsxz7j53vdm6jryl1kgxzyk"))))
5006 (build-system haskell-build-system)
5008 `(("ghc-semigroups" ,ghc-semigroups)
5009 ("ghc-hashable" ,ghc-hashable)))
5010 (home-page "https://github.com/ekmett/void")
5012 "Logically uninhabited data type")
5014 "A Haskell 98 logically uninhabited data type, used to indicate that a
5015 given term should not exist.")
5016 (license license:bsd-3)))
5018 (define-public ghc-invariant
5020 (name "ghc-invariant")
5026 "https://hackage.haskell.org/package/invariant/invariant-"
5030 "0aqj7z55632qdg45074kgn9qfdxzb0a2f8lgjzr0l0i4mm2rr37b"))))
5031 (build-system haskell-build-system)
5033 `(("ghc-bifunctors" ,ghc-bifunctors)
5034 ("ghc-comonad" ,ghc-comonad)
5035 ("ghc-contravariant" ,ghc-contravariant)
5036 ("ghc-profunctors" ,ghc-profunctors)
5037 ("ghc-semigroups" ,ghc-semigroups)
5038 ("ghc-statevar" ,ghc-statevar)
5039 ("ghc-stm" ,ghc-stm)
5040 ("ghc-tagged" ,ghc-tagged)
5041 ("ghc-th-abstraction" ,ghc-th-abstraction)
5042 ("ghc-transformers-compat" ,ghc-transformers-compat)
5043 ("ghc-unordered-containers" ,ghc-unordered-containers)))
5045 `(("ghc-hspec" ,ghc-hspec)
5046 ("ghc-quickcheck" ,ghc-quickcheck)
5047 ("hspec-discover" ,hspec-discover)))
5048 (home-page "https://github.com/nfrisby/invariant-functors")
5049 (synopsis "Haskell98 invariant functors")
5050 (description "Haskell98 invariant functors (also known as exponential
5051 functors). For more information, see Edward Kmett's article
5052 @uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.")
5053 (license license:bsd-2)))
5055 (define-public ghc-kan-extensions
5057 (name "ghc-kan-extensions")
5063 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
5068 "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb"))))
5069 (build-system haskell-build-system)
5071 `(("ghc-adjunctions" ,ghc-adjunctions)
5072 ("ghc-comonad" ,ghc-comonad)
5073 ("ghc-contravariant" ,ghc-contravariant)
5074 ("ghc-distributive" ,ghc-distributive)
5075 ("ghc-free" ,ghc-free)
5076 ("ghc-invariant" ,ghc-invariant)
5077 ("ghc-semigroupoids" ,ghc-semigroupoids)
5078 ("ghc-tagged" ,ghc-tagged)
5079 ("ghc-transformers-compat" ,ghc-transformers-compat)))
5080 (home-page "https://github.com/ekmett/kan-extensions/")
5081 (synopsis "Kan extensions library")
5082 (description "This library provides Kan extensions, Kan lifts, various
5083 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
5084 (license license:bsd-3)))
5086 (define-public ghc-call-stack
5088 (name "ghc-call-stack")
5093 (uri (string-append "https://hackage.haskell.org/package/"
5094 "call-stack/call-stack-"
5098 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
5099 (build-system haskell-build-system)
5100 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
5101 (home-page "https://github.com/sol/call-stack#readme")
5102 (synopsis "Use GHC call-stacks in a backward compatible way")
5103 (description "This package provides a compatibility layer for using GHC
5104 call stacks with different versions of the compiler.")
5105 (license license:expat)))
5107 ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
5108 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
5109 (define-public ghc-call-stack-boot
5112 (inherit ghc-call-stack)
5113 (arguments '(#:tests? #f))
5116 (define-public ghc-statevar
5118 (name "ghc-statevar")
5124 "https://hackage.haskell.org/package/StateVar/StateVar-"
5129 "08r2iw0gdmfs4f6wraaq19vfmkjdbics3dbhw39y7mdjd98kcr7b"))))
5130 (build-system haskell-build-system)
5132 `(("ghc-stm" ,ghc-stm)))
5133 (home-page "https://hackage.haskell.org/package/StateVar")
5134 (synopsis "State variables for Haskell")
5135 (description "This package provides state variables, which are references
5136 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
5137 (license license:bsd-3)))
5139 (define-public ghc-lens
5146 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
5150 "1im4drhbydbawd6i0jsrzpqihnmx4ywpkg7yg94ddwsw3mxwkgpm"))))
5151 (build-system haskell-build-system)
5154 ("2" "11h83lj5mba4grhz1qx3irz10ysm9c3k7k6i6xv2cr60q8xin3ri")))
5156 `(("ghc-base-orphans" ,ghc-base-orphans)
5157 ("ghc-bifunctors" ,ghc-bifunctors)
5158 ("ghc-distributive" ,ghc-distributive)
5159 ("ghc-exceptions" ,ghc-exceptions)
5160 ("ghc-free" ,ghc-free)
5161 ("ghc-kan-extensions" ,ghc-kan-extensions)
5162 ("ghc-parallel" ,ghc-parallel)
5163 ("ghc-reflection" ,ghc-reflection)
5164 ("ghc-semigroupoids" ,ghc-semigroupoids)
5165 ("ghc-vector" ,ghc-vector)
5166 ("ghc-call-stack" ,ghc-call-stack)
5167 ("ghc-comonad" ,ghc-comonad)
5168 ("ghc-contravariant" ,ghc-contravariant)
5169 ("ghc-hashable" ,ghc-hashable)
5170 ("ghc-profunctors" ,ghc-profunctors)
5171 ("ghc-semigroups" ,ghc-semigroups)
5172 ("ghc-tagged" ,ghc-tagged)
5173 ("ghc-text" ,ghc-text)
5174 ("ghc-transformers-compat" ,ghc-transformers-compat)
5175 ("ghc-unordered-containers" ,ghc-unordered-containers)
5176 ("ghc-void" ,ghc-void)
5177 ("ghc-generic-deriving" ,ghc-generic-deriving)
5178 ("ghc-nats" ,ghc-nats)
5179 ("ghc-simple-reflect" ,ghc-simple-reflect)
5182 `(("cabal-doctest" ,cabal-doctest)
5183 ("ghc-doctest" ,ghc-doctest)
5184 ("ghc-hunit" ,ghc-hunit)
5185 ("ghc-test-framework" ,ghc-test-framework)
5186 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5187 ("ghc-test-framework-th" ,ghc-test-framework-th)
5188 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5189 ("ghc-quickcheck" ,ghc-quickcheck)))
5190 (home-page "https://github.com/ekmett/lens/")
5191 (synopsis "Lenses, Folds and Traversals")
5192 (description "This library provides @code{Control.Lens}. The combinators
5193 in @code{Control.Lens} provide a highly generic toolbox for composing families
5194 of getters, folds, isomorphisms, traversals, setters and lenses and their
5196 (license license:bsd-3)))
5198 (define-public ghc-cheapskate
5200 (name "ghc-cheapskate")
5206 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
5211 "1hiqi7h76shjzs2zj0j8g6wnq2hbiq1hmfafdazr97fba2zl2432"))))
5212 (build-system haskell-build-system)
5214 `(("ghc-text" ,ghc-text)
5215 ("ghc-blaze-html" ,ghc-blaze-html)
5216 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
5217 ("ghc-data-default" ,ghc-data-default)
5218 ("ghc-syb" ,ghc-syb)
5219 ("ghc-uniplate" ,ghc-uniplate)))
5220 (home-page "https://github.com/jgm/cheapskate")
5221 (synopsis "Experimental markdown processor")
5222 (description "Cheapskate is an experimental Markdown processor in pure
5223 Haskell. It aims to process Markdown efficiently and in the most forgiving
5224 possible way. It is designed to deal with any input, including garbage, with
5225 linear performance. Output is sanitized by default for protection against
5226 cross-site scripting (@dfn{XSS}) attacks.")
5227 (license license:bsd-3)))
5229 (define-public ghc-bifunctors
5231 (name "ghc-bifunctors")
5237 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
5242 "1jn9rxg643xnlhrknmjz88nblcpsr45xwjkwwnn5nxpasa7m4d6l"))))
5243 (build-system haskell-build-system)
5245 `(("ghc-base-orphans" ,ghc-base-orphans)
5246 ("ghc-comonad" ,ghc-comonad)
5247 ("ghc-th-abstraction" ,ghc-th-abstraction)
5248 ("ghc-transformers-compat" ,ghc-transformers-compat)
5249 ("ghc-tagged" ,ghc-tagged)
5250 ("ghc-semigroups" ,ghc-semigroups)))
5252 `(("ghc-hspec" ,ghc-hspec)
5253 ("hspec-discover" ,hspec-discover)
5254 ("ghc-quickcheck" ,ghc-quickcheck)))
5255 (home-page "https://github.com/ekmett/bifunctors/")
5256 (synopsis "Bifunctors for Haskell")
5257 (description "This package provides bifunctors for Haskell.")
5258 (license license:bsd-3)))
5260 (define-public ghc-semigroupoids
5262 (name "ghc-semigroupoids")
5268 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
5273 "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4"))))
5274 (build-system haskell-build-system)
5277 ("4" "0pqfrxzypjq6z8lgdkzq4vhcyqkpk5326hny0r6snpc3gm78r4ij")))
5279 `(("ghc-base-orphans" ,ghc-base-orphans)
5280 ("ghc-transformers-compat" ,ghc-transformers-compat)
5281 ("ghc-bifunctors" ,ghc-bifunctors)
5282 ("ghc-comonad" ,ghc-comonad)
5283 ("ghc-contravariant" ,ghc-contravariant)
5284 ("ghc-distributive" ,ghc-distributive)
5285 ("ghc-hashable" ,ghc-hashable)
5286 ("ghc-semigroups" ,ghc-semigroups)
5287 ("ghc-tagged" ,ghc-tagged)
5288 ("ghc-unordered-containers" ,ghc-unordered-containers)))
5290 `(("cabal-doctest" ,cabal-doctest)
5291 ("ghc-doctest" ,ghc-doctest)))
5292 (home-page "https://github.com/ekmett/semigroupoids")
5293 (synopsis "Semigroupoids operations for Haskell")
5294 (description "This library provides a wide array of (semi)groupoids and
5295 operations for working with them. A @code{Semigroupoid} is a @code{Category}
5296 without the requirement of identity arrows for every object in the category.
5297 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
5298 Finally, to work with these weaker structures it is beneficial to have
5299 containers that can provide stronger guarantees about their contents, so
5300 versions of @code{Traversable} and @code{Foldable} that can be folded with
5301 just a @code{Semigroup} are added.")
5302 (license license:bsd-3)))
5304 (define-public ghc-contravariant
5306 (name "ghc-contravariant")
5312 "https://hackage.haskell.org/package/contravariant/contravariant-"
5317 "1vfhk8c5cxmmakx7rflap1ipkx5q0j5vnlrcz7yz6y53kxhksgf9"))))
5318 (build-system haskell-build-system)
5320 `(("ghc-void" ,ghc-void)
5321 ("ghc-transformers-compat" ,ghc-transformers-compat)
5322 ("ghc-statevar" ,ghc-statevar)
5323 ("ghc-semigroups" ,ghc-semigroups)))
5325 "https://github.com/ekmett/contravariant/")
5326 (synopsis "Contravariant functors")
5327 (description "Contravariant functors for Haskell.")
5328 (license license:bsd-3)))
5330 (define-public ghc-semigroups
5332 (name "ghc-semigroups")
5338 "https://hackage.haskell.org/package/semigroups/semigroups-"
5343 "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb"))))
5344 (build-system haskell-build-system)
5346 `(("ghc-nats" ,ghc-nats)
5347 ("ghc-tagged" ,ghc-tagged)
5348 ("ghc-unordered-containers" ,ghc-unordered-containers)
5349 ("ghc-text" ,ghc-text)
5350 ("ghc-hashable" ,ghc-hashable)))
5351 (home-page "https://github.com/ekmett/semigroups/")
5352 (synopsis "Semigroup operations for Haskell")
5353 (description "This package provides semigroups for Haskell. In
5354 mathematics, a semigroup is an algebraic structure consisting of a set
5355 together with an associative binary operation. A semigroup generalizes a
5356 monoid in that there might not exist an identity element. It
5357 also (originally) generalized a group (a monoid with all inverses) to a type
5358 where every element did not have to have an inverse, thus the name
5360 (license license:bsd-3)))
5362 (define-public ghc-semigroups-bootstrap
5364 (inherit ghc-semigroups)
5365 (name "ghc-semigroups-bootstrap")
5367 `(("ghc-nats" ,ghc-nats-bootstrap)
5368 ("ghc-tagged" ,ghc-tagged)
5369 ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap)
5370 ("ghc-text" ,ghc-text)
5371 ("ghc-hashable" ,ghc-hashable-bootstrap)))
5372 (properties '(hidden? #t))))
5374 (define-public ghc-free
5382 "https://hackage.haskell.org/package/free/free-"
5387 "15m3n9vhz7z3kzv1w3wlfa3x8jp4cbrkwmrcjr7jlx39iqffn1gg"))))
5388 (build-system haskell-build-system)
5390 `(("ghc-prelude-extras" ,ghc-prelude-extras)
5391 ("ghc-profunctors" ,ghc-profunctors)
5392 ("ghc-exceptions" ,ghc-exceptions)
5393 ("ghc-bifunctors" ,ghc-bifunctors)
5394 ("ghc-comonad" ,ghc-comonad)
5395 ("ghc-distributive" ,ghc-distributive)
5396 ("ghc-semigroupoids" ,ghc-semigroupoids)
5397 ("ghc-semigroups" ,ghc-semigroups)
5398 ("ghc-transformers-base" ,ghc-transformers-base)
5399 ("ghc-transformers-compat" ,ghc-transformers-compat)))
5400 (home-page "https://github.com/ekmett/free/")
5401 (synopsis "Unrestricted monads for Haskell")
5402 (description "This library provides free monads, which are useful for many
5403 tree-like structures and domain specific languages. If @code{f} is a
5404 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
5405 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
5406 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
5407 f} makes no constraining assumptions beyond those given by @code{f} and the
5408 definition of @code{Monad}.")
5409 (license license:bsd-3)))
5411 (define-public ghc-adjunctions
5413 (name "ghc-adjunctions")
5419 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
5424 "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h"))))
5425 (build-system haskell-build-system)
5427 `(("ghc-profunctors" ,ghc-profunctors)
5428 ("ghc-comonad" ,ghc-comonad)
5429 ("ghc-contravariant" ,ghc-contravariant)
5430 ("ghc-distributive" ,ghc-distributive)
5431 ("ghc-free" ,ghc-free)
5432 ("ghc-tagged" ,ghc-tagged)
5433 ("ghc-semigroupoids" ,ghc-semigroupoids)
5434 ("ghc-semigroups" ,ghc-semigroups)
5435 ("ghc-transformers-compat" ,ghc-transformers-compat)
5436 ("ghc-void" ,ghc-void)))
5438 `(("ghc-generic-deriving" ,ghc-generic-deriving)
5439 ("ghc-hspec" ,ghc-hspec)
5440 ("hspec-discover" ,hspec-discover)))
5441 (home-page "https://github.com/ekmett/adjunctions/")
5442 (synopsis "Adjunctions and representable functors")
5443 (description "This library provides adjunctions and representable functors
5445 (license license:bsd-3)))
5447 (define-public ghc-equivalence
5449 (name "ghc-equivalence")
5454 (uri (string-append "https://hackage.haskell.org/package/equivalence"
5455 "/equivalence-" version ".tar.gz"))
5457 (base32 "0a85bdyyvjqs5z4kfhhf758210k9gi9dv42ik66a3jl0z7aix8kx"))))
5458 (build-system haskell-build-system)
5460 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
5461 ("ghc-transformers-compat" ,ghc-transformers-compat)
5462 ("ghc-quickcheck" ,ghc-quickcheck)
5463 ("ghc-test-framework" ,ghc-test-framework)
5464 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5465 (home-page "https://github.com/pa-ba/equivalence")
5466 (synopsis "Maintaining an equivalence relation implemented as union-find")
5468 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
5469 Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
5470 22(2), 1975) in order to maintain an equivalence relation. This
5471 implementation is a port of the @code{union-find} package using the @code{ST}
5472 monad transformer (instead of the IO monad).")
5473 (license license:bsd-3)))
5475 (define-public ghc-fast-logger
5477 (name "ghc-fast-logger")
5483 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
5488 "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv"))))
5489 (build-system haskell-build-system)
5491 `(("ghc-auto-update" ,ghc-auto-update)
5492 ("ghc-easy-file" ,ghc-easy-file)
5493 ("ghc-text" ,ghc-text)
5494 ("ghc-unix-time" ,ghc-unix-time)))
5496 `(("hspec-discover" ,hspec-discover)
5497 ("ghc-hspec" ,ghc-hspec)))
5498 (home-page "https://hackage.haskell.org/package/fast-logger")
5499 (synopsis "Fast logging system")
5500 (description "This library provides a fast logging system for Haskell.")
5501 (license license:bsd-3)))
5503 (define-public ghc-doctest
5505 (name "ghc-doctest")
5511 "https://hackage.haskell.org/package/doctest/doctest-"
5516 "0hkccch65s3kp0b36h7bqhilnpi4bx8kngncm7ma9vbd3dwacjdv"))))
5517 (build-system haskell-build-system)
5518 (arguments `(#:tests? #f)) ; FIXME: missing test framework
5520 `(("ghc-syb" ,ghc-syb)
5521 ("ghc-paths" ,ghc-paths)
5522 ("ghc-base-compat" ,ghc-base-compat)
5523 ("ghc-code-page" ,ghc-code-page)
5524 ("ghc-hunit" ,ghc-hunit)
5525 ("ghc-hspec" ,ghc-hspec)
5526 ("ghc-quickcheck" ,ghc-quickcheck)
5527 ("ghc-stringbuilder" ,ghc-stringbuilder)
5528 ("ghc-silently" ,ghc-silently)
5529 ("ghc-setenv" ,ghc-setenv)))
5531 "https://github.com/sol/doctest#readme")
5532 (synopsis "Test interactive Haskell examples")
5533 (description "The doctest program checks examples in source code comments.
5534 It is modeled after doctest for Python, see
5535 @uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
5536 (license license:expat)))
5538 (define-public ghc-lifted-base
5540 (name "ghc-lifted-base")
5541 (version "0.2.3.12")
5546 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
5551 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
5552 (build-system haskell-build-system)
5553 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
5555 `(("ghc-transformers-base" ,ghc-transformers-base)
5556 ("ghc-monad-control" ,ghc-monad-control)
5557 ("ghc-transformers-compat" ,ghc-transformers-compat)
5558 ("ghc-hunit" ,ghc-hunit)))
5559 (home-page "https://github.com/basvandijk/lifted-base")
5560 (synopsis "Lifted IO operations from the base library")
5561 (description "Lifted-base exports IO operations from the @code{base}
5562 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
5563 Note that not all modules from @code{base} are converted yet. The package
5564 includes a copy of the @code{monad-peel} test suite written by Anders
5566 (license license:bsd-3)))
5568 (define-public ghc-word8
5576 "https://hackage.haskell.org/package/word8/word8-"
5581 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
5582 (build-system haskell-build-system)
5584 `(("ghc-hspec" ,ghc-hspec)
5585 ("hspec-discover" ,hspec-discover)))
5586 (home-page "https://hackage.haskell.org/package/word8")
5587 (synopsis "Word8 library for Haskell")
5588 (description "Word8 library to be used with @code{Data.ByteString}.")
5589 (license license:bsd-3)))
5591 (define-public ghc-stringsearch
5593 (name "ghc-stringsearch")
5599 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
5604 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
5605 (build-system haskell-build-system)
5606 (home-page "https://bitbucket.org/dafis/stringsearch")
5607 (synopsis "Fast searching, splitting and replacing of ByteStrings")
5608 (description "This package provides several functions to quickly search
5609 for substrings in strict or lazy @code{ByteStrings}. It also provides
5610 functions for breaking or splitting on substrings and replacing all
5611 occurrences of a substring (the first in case of overlaps) with another.")
5612 (license license:bsd-3)))
5614 (define-public ghc-integer-logarithms
5616 (name "ghc-integer-logarithms")
5621 (uri (string-append "https://hackage.haskell.org/package/"
5622 "integer-logarithms/integer-logarithms-"
5626 "1wj8kgjg5bn2yrs4zh9qfjv85cx6w998j9pi39yrbv305944mb9j"))))
5627 (build-system haskell-build-system)
5630 (modify-phases %standard-phases
5631 (add-before 'configure 'update-constraints
5633 (substitute* "integer-logarithms.cabal"
5634 (("tasty >= 0\\.10 && < 1\\.1")
5635 "tasty >= 0.10 && < 1.2")))))))
5637 `(("ghc-quickcheck" ,ghc-quickcheck)
5638 ("ghc-smallcheck" ,ghc-smallcheck)
5639 ("ghc-tasty" ,ghc-tasty)
5640 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5641 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5642 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
5643 (home-page "https://github.com/Bodigrim/integer-logarithms")
5644 (synopsis "Integer logarithms")
5646 "This package provides the following modules:
5647 @code{Math.NumberTheory.Logarithms} and
5648 @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
5649 @code{GHC.Integer.Logarithms.Compat} and
5650 @code{Math.NumberTheory.Power.Natural}, as well as some additional functions
5651 in migrated modules.")
5652 (license license:expat)))
5654 (define-public ghc-integer-logarithms-bootstrap
5656 (inherit ghc-integer-logarithms)
5657 (name "ghc-integer-logarithms-bootstrap")
5658 (arguments `(#:tests? #f))
5660 (properties '(hidden? #t))))
5662 (define-public ghc-scientific
5664 (name "ghc-scientific")
5670 "https://hackage.haskell.org/package/scientific/scientific-"
5675 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
5676 (build-system haskell-build-system)
5678 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
5679 ("ghc-text" ,ghc-text)
5680 ("ghc-hashable" ,ghc-hashable)
5681 ("ghc-primitive" ,ghc-primitive)))
5683 `(("ghc-tasty" ,ghc-tasty)
5684 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
5685 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5686 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5687 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5688 ("ghc-smallcheck" ,ghc-smallcheck)
5689 ("ghc-quickcheck" ,ghc-quickcheck)))
5690 (home-page "https://github.com/basvandijk/scientific")
5691 (synopsis "Numbers represented using scientific notation")
5692 (description "This package provides @code{Data.Scientific}, which provides
5693 the number type @code{Scientific}. Scientific numbers are arbitrary precision
5694 and space efficient. They are represented using
5695 @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
5697 (license license:bsd-3)))
5699 (define-public ghc-scientific-bootstrap
5701 (inherit ghc-scientific)
5702 (name "ghc-scientific-bootstrap")
5703 (arguments `(#:tests? #f))
5705 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
5706 ("ghc-text" ,ghc-text)
5707 ("ghc-hashable" ,ghc-hashable)
5708 ("ghc-primitive" ,ghc-primitive)))
5710 (properties '(hidden? #t))))
5712 (define-public ghc-boxes
5719 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
5722 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
5723 (build-system haskell-build-system)
5725 `(("ghc-split" ,ghc-split)
5726 ("ghc-quickcheck" ,ghc-quickcheck)))
5727 (home-page "https://hackage.haskell.org/package/boxes")
5728 (synopsis "2D text pretty-printing library")
5730 "Boxes is a pretty-printing library for laying out text in two dimensions,
5731 using a simple box model.")
5732 (license license:bsd-3)))
5734 (define-public ghc-deepseq-generics
5736 (name "ghc-deepseq-generics")
5740 (uri (string-append "https://hackage.haskell.org/package/"
5741 "deepseq-generics/deepseq-generics-"
5745 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
5746 (build-system haskell-build-system)
5749 ("2" "1pnidf8w8x0w5fsqgv8hhrw07slmhxwy5x4fikgk0bd6k76aqicb")))
5751 `(("ghc-hunit" ,ghc-hunit)
5752 ("ghc-test-framework" ,ghc-test-framework)
5753 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5754 (home-page "https://github.com/hvr/deepseq-generics")
5755 (synopsis "Generic RNF implementation")
5757 "This package provides a @code{GHC.Generics}-based
5758 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
5759 providing an @code{rnf} implementation.")
5760 (license license:bsd-3)))
5762 (define-public ghc-string-qq
5764 (name "ghc-string-qq")
5770 "https://hackage.haskell.org/package/string-qq/string-qq-"
5775 "0662m3i5xrdrr95w829bszkhp88mj9iy1zya54vk2sl5hz9wlmwp"))))
5776 (build-system haskell-build-system)
5777 (home-page "http://hackage.haskell.org/package/string-qq")
5779 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
5781 "This package provides a quasiquoter for non-interpolated strings, texts
5783 (license license:public-domain)))
5785 (define-public ghc-pandoc-types
5787 (name "ghc-pandoc-types")
5788 (version "1.17.5.1")
5791 (uri (string-append "https://hackage.haskell.org/package/"
5792 "pandoc-types/pandoc-types-"
5796 "1q6v2bynij724fv347mhqxdscwifzrx5jb9mq80608qf638fn717"))))
5797 (build-system haskell-build-system)
5799 `(("ghc-syb" ,ghc-syb)
5800 ("ghc-aeson" ,ghc-aeson)
5801 ("ghc-string-qq" ,ghc-string-qq)))
5803 `(("ghc-quickcheck" ,ghc-quickcheck)
5804 ("ghc-test-framework" ,ghc-test-framework)
5805 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5806 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5807 ("ghc-hunit" ,ghc-hunit)))
5808 (home-page "http://johnmacfarlane.net/pandoc")
5809 (synopsis "Types for representing a structured document")
5811 "This module defines the @code{Pandoc} data structure, which is used by
5812 pandoc to represent structured documents. It also provides functions for
5813 building up, manipulating and serialising @code{Pandoc} structures.")
5814 (license license:bsd-3)))
5816 (define-public ghc-texmath
5818 (name "ghc-texmath")
5819 (version "0.11.0.1")
5822 (uri (string-append "https://hackage.haskell.org/package/"
5823 "texmath/texmath-" version ".tar.gz"))
5826 "11dc09hfnyfsz20ch2c867w0zdgjkzq41506lm61i3dk87ngdisf"))))
5827 (build-system haskell-build-system)
5829 `(("ghc-syb" ,ghc-syb)
5830 ("ghc-network-uri" ,ghc-network-uri)
5831 ("ghc-split" ,ghc-split)
5832 ("ghc-temporary" ,ghc-temporary)
5833 ("ghc-utf8-string" ,ghc-utf8-string)
5834 ("ghc-xml" ,ghc-xml)
5835 ("ghc-parsec" ,ghc-parsec)
5836 ("ghc-pandoc-types" ,ghc-pandoc-types)))
5837 (home-page "https://github.com/jgm/texmath")
5838 (synopsis "Conversion between formats used to represent mathematics")
5840 "The texmath library provides functions to read and write TeX math,
5841 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
5842 Office). Support is also included for converting math formats to pandoc's
5843 native format (allowing conversion, via pandoc, to a variety of different
5844 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
5845 it can parse and apply LaTeX macros.")
5846 (license license:gpl2+)))
5848 (define-public ghc-regex-pcre-builtin
5850 (name "ghc-regex-pcre-builtin")
5851 (version "0.94.4.8.8.35")
5854 (uri (string-append "https://hackage.haskell.org/package/"
5855 "regex-pcre-builtin/regex-pcre-builtin-"
5859 "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b"))))
5860 (build-system haskell-build-system)
5862 `(("ghc-regex-base" ,ghc-regex-base)))
5863 (home-page "https://hackage.haskell.org/package/regex-pcre")
5864 (synopsis "Enhancement of the builtin Text.Regex library")
5866 "This package is an enhancement of the @code{Text.Regex} library,
5867 providing the PCRE backend to accompany regex-base, with bundled code from
5868 @url{https://www.pcre.org}.")
5869 (license license:bsd-3)))
5871 (define-public ghc-diff
5877 (uri (string-append "https://hackage.haskell.org/package/"
5878 "Diff/Diff-" version ".tar.gz"))
5881 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
5882 (build-system haskell-build-system)
5884 `(("ghc-quickcheck" ,ghc-quickcheck)
5885 ("ghc-test-framework" ,ghc-test-framework)
5886 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5887 (home-page "https://hub.darcs.net/sterlingclover/Diff")
5888 (synopsis "O(ND) diff algorithm in Haskell")
5890 "This package provides an implementation of the standard diff algorithm,
5891 and utilities for pretty printing.")
5892 (license license:bsd-3)))
5894 (define-public ghc-highlighting-kate
5896 (name "ghc-highlighting-kate")
5900 (uri (string-append "https://hackage.haskell.org/package/"
5901 "highlighting-kate/highlighting-kate-"
5905 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
5906 (build-system haskell-build-system)
5908 `(("ghc-diff" ,ghc-diff)
5909 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5911 `(("ghc-parsec" ,ghc-parsec)
5912 ("ghc-blaze-html" ,ghc-blaze-html)
5913 ("ghc-utf8-string" ,ghc-utf8-string)))
5914 (home-page "https://github.com/jgm/highlighting-kate")
5915 (synopsis "Syntax highlighting library")
5917 "Highlighting-kate is a syntax highlighting library with support for
5918 nearly one hundred languages. The syntax parsers are automatically generated
5919 from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5920 supported by Kate can be added. An (optional) command-line program is
5921 provided, along with a utility for generating new parsers from Kate XML syntax
5923 (license license:gpl2+)))
5925 (define-public ghc-cmark
5931 ;; XXX As of version 0.5.6, this package bundles libcmark 0.28.0.
5932 ;; See cbits/cmark_version.h.
5933 (uri (string-append "https://hackage.haskell.org/package/"
5934 "cmark/cmark-" version ".tar.gz"))
5937 "1c1j3a8b9qx5zk9myqm3gap8ymz7fipwrdmyfsq9wkkdr9x4np45"))))
5938 (build-system haskell-build-system)
5940 `(("ghc-text" ,ghc-text)))
5942 `(("ghc-hunit" ,ghc-hunit)))
5943 (home-page "https://github.com/jgm/commonmark-hs")
5944 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
5946 "This package provides Haskell bindings for
5947 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
5948 CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
5949 sources, and does not require prior installation of the C library.")
5950 (license license:bsd-3)))
5952 (define-public ghc-cmark-gfm
5954 (name "ghc-cmark-gfm")
5959 (uri (string-append "https://hackage.haskell.org/package/"
5960 "cmark-gfm/cmark-gfm-"
5964 "13b0mqks5c1q989slgsa3ixr5vvkfyic4ynzgv00kgl5qrs7hqk7"))))
5965 (build-system haskell-build-system)
5967 `(("ghc-text" ,ghc-text)))
5969 `(("ghc-hunit" ,ghc-hunit)))
5970 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
5972 "Fast, accurate GitHub Flavored Markdown parser and renderer")
5974 "This package provides Haskell bindings for libcmark-gfm, the reference
5975 parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
5976 It includes sources for libcmark-gfm and does not require prior installation
5978 (license license:bsd-3)))
5980 (define-public ghc-executable-path
5982 (name "ghc-executable-path")
5986 (uri (string-append "https://hackage.haskell.org/package/"
5987 "executable-path/executable-path-"
5991 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
5992 (build-system haskell-build-system)
5993 (home-page "https://hackage.haskell.org/package/executable-path")
5994 (synopsis "Find out the full path of the executable")
5996 "The documentation of @code{System.Environment.getProgName} says that
5997 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
5998 instead, for maximum portability, we just return the leafname of the program
5999 as invoked.\" This library tries to provide the missing path.")
6000 (license license:public-domain)))
6002 (define-public ghc-enclosed-exceptions
6004 (name "ghc-enclosed-exceptions")
6008 (uri (string-append "https://hackage.haskell.org/package/"
6009 "enclosed-exceptions/enclosed-exceptions-"
6013 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
6014 (build-system haskell-build-system)
6015 ;; FIXME: one of the tests blocks forever:
6016 ;; "thread blocked indefinitely in an MVar operation"
6017 (arguments '(#:tests? #f))
6019 `(("ghc-lifted-base" ,ghc-lifted-base)
6020 ("ghc-monad-control" ,ghc-monad-control)
6021 ("ghc-async" ,ghc-async)
6022 ("ghc-transformers-base" ,ghc-transformers-base)))
6024 `(("ghc-hspec" ,ghc-hspec)
6025 ("ghc-quickcheck" ,ghc-quickcheck)))
6026 (home-page "https://github.com/jcristovao/enclosed-exceptions")
6027 (synopsis "Catch all exceptions from within an enclosed computation")
6029 "This library implements a technique to catch all exceptions raised
6030 within an enclosed computation, while remaining responsive to (external)
6031 asynchronous exceptions.")
6032 (license license:expat)))
6034 (define-public ghc-packedstring
6036 (name "ghc-packedstring")
6040 (uri (string-append "https://hackage.haskell.org/package/"
6041 "packedstring/packedstring-"
6045 "1x78pzzdlnpcmh9p37rlf8m5cxf3yqm2alf3whl4zpr9w25r0qj8"))))
6046 (build-system haskell-build-system)
6049 (modify-phases %standard-phases
6050 (add-after 'unpack 'enable-extension
6052 ;; This package won't compile without the StandaloneDeriving
6054 (substitute* "packedstring.cabal"
6055 (("CPP") "CPP, StandaloneDeriving"))
6057 (home-page "https://hackage.haskell.org/package/packedstring")
6058 (synopsis "Library for packed strings")
6060 "This deprecated library provides an implementation of packed strings.")
6061 (license license:bsd-3)))
6063 (define-public ghc-th-abstraction
6065 (name "ghc-th-abstraction")
6070 (uri (string-append "https://hackage.haskell.org/package/"
6071 "th-abstraction/th-abstraction-"
6075 "0n17w4q2ykd0nica4sck2wng6md56rfad8x0icl0l8vnzb9nn4ya"))))
6076 (build-system haskell-build-system)
6077 (home-page "https://github.com/glguy/th-abstraction")
6078 (synopsis "Nicer interface for reified information about data types")
6080 "This package normalizes variations in the interface for inspecting
6081 datatype information via Template Haskell so that packages and support a
6082 single, easier to use informational datatype while supporting many versions of
6084 (license license:isc)))
6086 (define-public ghc-th-lift
6088 (name "ghc-th-lift")
6092 (uri (string-append "https://hackage.haskell.org/package/"
6093 "th-lift/th-lift-" version ".tar.gz"))
6096 "131360zxb0hazbqwbkk6ab2p77jkxr79bwwm618mrwrwkm3x2g6m"))))
6097 (build-system haskell-build-system)
6099 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
6100 (home-page "https://github.com/mboes/th-lift")
6101 (synopsis "Derive Template Haskell's Lift class for datatypes")
6103 "This is a Haskell library to derive Template Haskell's Lift class for
6105 (license license:bsd-3)))
6107 (define-public ghc-th-lift-instances
6109 (name "ghc-th-lift-instances")
6114 (uri (string-append "https://hackage.haskell.org/package/"
6115 "th-lift-instances/th-lift-instances-"
6119 "1f56cp6ckcalld5jchv0kxpjkwcsixd7smd0g7r8cg67ppx6m90x"))))
6120 (build-system haskell-build-system)
6122 `(("ghc-th-lift" ,ghc-th-lift)
6123 ("ghc-vector" ,ghc-vector)
6124 ("ghc-text" ,ghc-text)
6125 ("ghc-quickcheck" ,ghc-quickcheck)))
6126 (home-page "https://github.com/bennofs/th-lift-instances/")
6127 (synopsis "Lift instances for template-haskell for common data types.")
6128 (description "Most data types in the Haskell platform do not have Lift
6129 instances. This package provides orphan instances for @code{containers},
6130 @code{text}, @code{bytestring} and @code{vector}.")
6131 (license license:bsd-3)))
6133 (define-public ghc-th-expand-syns
6135 (name "ghc-th-expand-syns")
6139 (uri (string-append "https://hackage.haskell.org/package/"
6140 "th-expand-syns/th-expand-syns-"
6144 "01prlvh3py5hq5ccjidfyp9ixq2zd88dkbsidyjrpkja6v8m43yc"))))
6145 (build-system haskell-build-system)
6147 `(("ghc-syb" ,ghc-syb)))
6148 (home-page "https://hackage.haskell.org/package/th-expand-syns")
6149 (synopsis "Expands type synonyms in Template Haskell ASTs")
6151 "This package enables users to expand type synonyms in Template Haskell
6152 @dfn{abstract syntax trees} (ASTs).")
6153 (license license:bsd-3)))
6155 (define-public ghc-th-reify-many
6157 (name "ghc-th-reify-many")
6161 (uri (string-append "https://hackage.haskell.org/package/"
6162 "th-reify-many/th-reify-many-"
6166 "0hzy6hvhvcd6i60vx5cp2b7ggmnnjh9rx4h8bm8xw4grglcaxjnf"))))
6167 (build-system haskell-build-system)
6169 `(("ghc-safe" ,ghc-safe)
6170 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
6171 (home-page "https://github.com/mgsloan/th-reify-many")
6172 (synopsis "Recurseively reify template haskell datatype info")
6174 "th-reify-many provides functions for recursively reifying top level
6175 declarations. The main intended use case is for enumerating the names of
6176 datatypes reachable from an initial datatype, and passing these names to some
6177 function which generates instances.")
6178 (license license:bsd-3)))
6180 (define-public ghc-th-orphans
6182 (name "ghc-th-orphans")
6186 (uri (string-append "https://hackage.haskell.org/package/"
6187 "th-orphans/th-orphans-" version ".tar.gz"))
6190 "0sfl3pn9kq9da3ji3lsgzgzy82vz6yvsg80dmakc1jvk7awycibp"))))
6191 (build-system haskell-build-system)
6193 `(("ghc-th-lift" ,ghc-th-lift)
6194 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
6195 ("ghc-th-reify-many" ,ghc-th-reify-many)
6196 ("ghc-generic-deriving" ,ghc-generic-deriving)))
6198 `(("ghc-hspec" ,ghc-hspec)))
6199 (home-page "https://hackage.haskell.org/package/th-orphans")
6200 (synopsis "Orphan instances for TH datatypes")
6202 "This package provides orphan instances for Template Haskell datatypes. In particular,
6203 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
6204 and @code{Eq} instances. These instances used to live in the haskell-src-meta
6205 package, and that's where the version number started.")
6206 (license license:bsd-3)))
6208 (define-public ghc-geniplate-mirror
6210 (name "ghc-geniplate-mirror")
6215 (uri (string-append "https://hackage.haskell.org/package"
6217 "/geniplate-mirror-" version ".tar.gz"))
6219 (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb"))))
6220 (build-system haskell-build-system)
6221 (home-page "https://github.com/danr/geniplate")
6222 (synopsis "Use Template Haskell to generate Uniplate-like functions")
6224 "Use Template Haskell to generate Uniplate-like functions. This is a
6225 maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
6226 geniplate} package, written by Lennart Augustsson.")
6227 (license license:bsd-3)))
6229 (define-public ghc-gitrev
6236 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
6239 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
6240 (build-system haskell-build-system)
6241 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
6242 (home-page "https://github.com/acfoltzer/gitrev")
6243 (synopsis "Compile git revision info into Haskell projects")
6245 "This package provides some handy Template Haskell splices for including
6246 the current git hash and branch in the code of your project. This is useful
6247 for including in panic messages, @command{--version} output, or diagnostic
6248 info for more informative bug reports.")
6249 (license license:bsd-3)))
6251 (define-public ghc-haskell-src-meta
6253 (name "ghc-haskell-src-meta")
6257 (uri (string-append "https://hackage.haskell.org/package/"
6258 "haskell-src-meta/haskell-src-meta-"
6262 "08jq156zv4m0fjq6712n99c1jwxnpa6kj6sq8ch0r1l0a1ay6ww4"))))
6263 (build-system haskell-build-system)
6265 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
6266 ("ghc-syb" ,ghc-syb)
6267 ("ghc-th-orphans" ,ghc-th-orphans)))
6269 `(("ghc-hunit" ,ghc-hunit)
6270 ("ghc-test-framework" ,ghc-test-framework)
6271 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
6272 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
6273 (synopsis "Parse source to template-haskell abstract syntax")
6275 "This package provides tools to parse Haskell sources to the
6276 template-haskell abstract syntax.")
6277 (license license:bsd-3)))
6279 (define-public ghc-conduit
6281 (name "ghc-conduit")
6285 (uri (string-append "https://hackage.haskell.org/package/"
6286 "conduit/conduit-" version ".tar.gz"))
6289 "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v"))))
6290 (build-system haskell-build-system)
6292 `(("ghc-exceptions" ,ghc-exceptions)
6293 ("ghc-lifted-base" ,ghc-lifted-base)
6294 ("ghc-mono-traversable" ,ghc-mono-traversable)
6295 ("ghc-mmorph" ,ghc-mmorph)
6296 ("ghc-resourcet" ,ghc-resourcet)
6297 ("ghc-silently" ,ghc-silently)
6298 ("ghc-transformers-base" ,ghc-transformers-base)
6299 ("ghc-unliftio" ,ghc-unliftio)
6300 ("ghc-unliftio-core" ,ghc-unliftio-core)
6301 ("ghc-vector" ,ghc-vector)
6302 ("ghc-void" ,ghc-void)))
6304 `(("ghc-quickcheck" ,ghc-quickcheck)
6305 ("ghc-hspec" ,ghc-hspec)
6306 ("ghc-safe" ,ghc-safe)
6307 ("ghc-split" ,ghc-split)))
6308 (home-page "https://github.com/snoyberg/conduit")
6309 (synopsis "Streaming data library ")
6311 "The conduit package is a solution to the streaming data problem,
6312 allowing for production, transformation, and consumption of streams of data
6313 in constant memory. It is an alternative to lazy I/O which guarantees
6314 deterministic resource handling, and fits in the same general solution
6315 space as enumerator/iteratee and pipes.")
6316 (license license:expat)))
6318 (define-public ghc-logging-facade
6320 (name "ghc-logging-facade")
6324 (uri (string-append "https://hackage.haskell.org/package/"
6325 "logging-facade/logging-facade-"
6329 "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf"))))
6330 (build-system haskell-build-system)
6332 `(("ghc-hspec" ,ghc-hspec)
6333 ("hspec-discover" ,hspec-discover)))
6334 (home-page "https://hackage.haskell.org/package/logging-facade")
6335 (synopsis "Simple logging abstraction that allows multiple back-ends")
6337 "This package provides a simple logging abstraction that allows multiple
6339 (license license:expat)))
6341 (define-public ghc-mockery
6343 (name "ghc-mockery")
6347 (uri (string-append "https://hackage.haskell.org/package/"
6348 "mockery/mockery-" version ".tar.gz"))
6351 "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp"))))
6352 (build-system haskell-build-system)
6354 `(("ghc-temporary" ,ghc-temporary)
6355 ("ghc-logging-facade" ,ghc-logging-facade)
6356 ("ghc-base-compat" ,ghc-base-compat)))
6358 `(("ghc-hspec" ,ghc-hspec)
6359 ("hspec-discover" ,hspec-discover)))
6360 (home-page "https://hackage.haskell.org/package/mockery")
6361 (synopsis "Support functions for automated testing")
6363 "The mockery package provides support functions for automated testing.")
6364 (license license:expat)))
6366 (define-public ghc-yaml
6372 (uri (string-append "https://hackage.haskell.org/package/"
6373 "yaml/yaml-" version ".tar.gz"))
6376 "0cbsyh4ilvjzq1q7pxls43k6pdqxg1l85xzibcwpbvmlvrizh86w"))))
6377 (build-system haskell-build-system)
6379 `(("ghc-conduit" ,ghc-conduit)
6380 ("ghc-resourcet" ,ghc-resourcet)
6381 ("ghc-aeson" ,ghc-aeson)
6382 ("ghc-unordered-containers" ,ghc-unordered-containers)
6383 ("ghc-vector" ,ghc-vector)
6384 ("ghc-text" ,ghc-text)
6385 ("ghc-attoparsec" ,ghc-attoparsec)
6386 ("ghc-scientific" ,ghc-scientific)
6387 ("ghc-semigroups" ,ghc-semigroups)
6388 ("ghc-temporary" ,ghc-temporary)
6389 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
6390 ("ghc-base-compat" ,ghc-base-compat)))
6392 `(("ghc-hspec" ,ghc-hspec)
6393 ("ghc-hunit" ,ghc-hunit)
6394 ("hspec-discover" ,hspec-discover)
6395 ("ghc-mockery" ,ghc-mockery)))
6396 (home-page "https://github.com/snoyberg/yaml/")
6397 (synopsis "Parsing and rendering YAML documents")
6399 "This package provides a library to parse and render YAML documents.")
6400 (license license:bsd-3)))
6402 (define-public ghc-filemanip
6404 (name "ghc-filemanip")
6408 (uri (string-append "https://hackage.haskell.org/package/"
6409 "filemanip/filemanip-" version ".tar.gz"))
6412 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
6413 (build-system haskell-build-system)
6415 `(("ghc-unix-compat" ,ghc-unix-compat)))
6416 (home-page "https://github.com/bos/filemanip")
6417 (synopsis "File and directory manipulation for Haskell")
6419 "This package provides a Haskell library for working with files and
6420 directories. It includes code for pattern matching, finding files, modifying
6421 file contents, and more.")
6422 (license license:bsd-3)))
6424 (define-public ghc-mmap
6430 (uri (string-append "https://hackage.haskell.org/package/"
6431 "mmap/mmap-" version ".tar.gz"))
6434 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
6435 (build-system haskell-build-system)
6436 (home-page "https://hackage.haskell.org/package/mmap")
6437 (synopsis "Memory mapped files for Haskell")
6439 "This library provides a wrapper to @code{mmap}, allowing files or
6440 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
6441 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
6442 do on-demand loading.")
6443 (license license:bsd-3)))
6445 (define-public ghc-juicypixels
6447 (name "ghc-juicypixels")
6451 (uri (string-append "https://hackage.haskell.org/package/"
6452 "JuicyPixels/JuicyPixels-"
6456 "0mf3ihr0xy2wc2wzb9a17g0n3p60x7pvm8akwpvhdy8klvs6r744"))))
6457 (build-system haskell-build-system)
6459 `(("ghc-zlib" ,ghc-zlib)
6460 ("ghc-vector" ,ghc-vector)
6461 ("ghc-primitive" ,ghc-primitive)
6462 ("ghc-mmap" ,ghc-mmap)))
6463 (home-page "https://github.com/Twinside/Juicy.Pixels")
6464 (synopsis "Picture loading and serialization library")
6466 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
6467 TIFF and GIF formats.")
6468 (license license:bsd-3)))
6470 (define-public ghc-hslua
6476 (uri (string-append "https://hackage.haskell.org/package/"
6477 "hslua/hslua-" version ".tar.gz"))
6480 "1rdvv01p214zfjh6fcqjjgqwi8y42wad6cqzhlcv5gvclzw2ck8f"))))
6481 (build-system haskell-build-system)
6483 `(#:configure-flags '("-fsystem-lua")))
6486 ("ghc-exceptions" ,ghc-exceptions)
6487 ("ghc-fail" ,ghc-fail)
6488 ("ghc-text" ,ghc-text)))
6490 `(("ghc-tasty" ,ghc-tasty)
6491 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
6492 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6493 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6494 ("ghc-quickcheck" ,ghc-quickcheck)
6495 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
6496 (home-page "https://hackage.haskell.org/package/hslua")
6497 (synopsis "Lua language interpreter embedding in Haskell")
6499 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
6500 described in @url{https://www.lua.org/}.")
6501 (license license:expat)))
6503 (define-public ghc-hslua-module-text
6505 (name "ghc-hslua-module-text")
6510 (uri (string-append "https://hackage.haskell.org/package/"
6511 "hslua-module-text/hslua-module-text-"
6515 "0bcfpb1dhnxp0gr376ai4w7vczr9zrjl1r3r6w7kcxivfkwq9cxf"))))
6516 (build-system haskell-build-system)
6519 ("1" "0vajlsd7y6pwa08635q0cx8z5c1c55bk7fvavw7g2vmyvxqjzx6n")))
6521 `(("ghc-hslua" ,ghc-hslua)
6522 ("ghc-text" ,ghc-text)))
6524 `(("ghc-tasty" ,ghc-tasty)
6525 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6526 (home-page "https://github.com/hslua/hslua-module-text")
6527 (synopsis "Lua module for text")
6529 "This package provides a UTF-8 aware subset of Lua's @code{string} module
6530 for Haskell. The functions provided by this module are @code{upper},
6531 @code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
6532 (license license:expat)))
6534 (define-public ghc-byteable
6536 (name "ghc-byteable")
6540 (uri (string-append "https://hackage.haskell.org/package/"
6541 "byteable/byteable-" version ".tar.gz"))
6544 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
6545 (build-system haskell-build-system)
6546 (home-page "https://github.com/vincenthz/hs-byteable")
6547 (synopsis "Type class for sequence of bytes")
6549 "This package provides an abstract class to manipulate sequence of bytes.
6550 The use case of this class is abstracting manipulation of types that are just
6551 wrapping a bytestring with stronger and more meaniful name.")
6552 (license license:bsd-3)))
6554 (define-public ghc-hourglass
6556 (name "ghc-hourglass")
6560 (uri (string-append "https://hackage.haskell.org/package/"
6561 "hourglass/hourglass-" version ".tar.gz"))
6564 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
6565 (build-system haskell-build-system)
6567 `(("ghc-old-locale" ,ghc-old-locale)))
6569 `(("ghc-tasty" ,ghc-tasty)
6570 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6571 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6572 (home-page "https://github.com/vincenthz/hs-hourglass")
6573 (synopsis "Simple time-related library for Haskell")
6575 "This is a simple time library providing a simple but powerful and
6576 performant API. The backbone of the library are the @code{Timeable} and
6577 @code{Time} type classes. Each @code{Timeable} instances can be converted to
6578 a type that has a @code{Time} instances, and thus are different
6579 representations of current time.")
6580 (license license:bsd-3)))
6582 (define-public ghc-edit-distance
6584 (name "ghc-edit-distance")
6589 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
6590 "/edit-distance-" version ".tar.gz"))
6592 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
6593 (build-system haskell-build-system)
6596 (modify-phases %standard-phases
6597 (add-before 'configure 'update-constraints
6599 (substitute* "edit-distance.cabal"
6600 (("QuickCheck >= 2\\.4 && <2\\.9")
6601 "QuickCheck >= 2.4 && < 2.12")))))))
6603 `(("ghc-random" ,ghc-random)
6604 ("ghc-test-framework" ,ghc-test-framework)
6605 ("ghc-quickcheck" ,ghc-quickcheck)
6606 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6607 (home-page "https://github.com/phadej/edit-distance")
6608 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
6610 "This package provides optimized functions to determine the edit
6611 distances for fuzzy matching, including Levenshtein and restricted
6612 Damerau-Levenshtein algorithms.")
6613 (license license:bsd-3)))
6615 (define-public ghc-memory
6621 (uri (string-append "https://hackage.haskell.org/package/"
6622 "memory/memory-" version ".tar.gz"))
6625 "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v"))))
6626 (build-system haskell-build-system)
6628 `(("ghc-basement" ,ghc-basement)
6629 ("ghc-foundation" ,ghc-foundation)))
6631 `(("ghc-tasty" ,ghc-tasty)
6632 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6633 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6634 (home-page "https://github.com/vincenthz/hs-memory")
6635 (synopsis "Memory abstractions for Haskell")
6637 "This package provides memory abstractions, such as chunk of memory,
6638 polymorphic byte array management and manipulation functions. It contains a
6639 polymorphic byte array abstraction and functions similar to strict ByteString,
6640 different type of byte array abstraction, raw memory IO operations (memory
6641 set, memory copy, ..) and more")
6642 (license license:bsd-3)))
6644 (define-public ghc-socks
6650 (uri (string-append "https://hackage.haskell.org/package/"
6651 "socks/socks-" version ".tar.gz"))
6654 "0f44qy74i0n6ll3jym0a2ipafkpw1h67amcpqmj8iq95h21wsqzs"))))
6655 (build-system haskell-build-system)
6657 `(("ghc-cereal" ,ghc-cereal)
6658 ("ghc-network" ,ghc-network)))
6659 (home-page "https://github.com/vincenthz/hs-socks")
6660 (synopsis "SOCKS proxy (version 5) implementation")
6662 "This library provides a SOCKS proxy (version 5) implementation.")
6663 (license license:bsd-3)))
6665 (define-public ghc-connection
6667 (name "ghc-connection")
6671 (uri (string-append "https://hackage.haskell.org/package/"
6672 "connection/connection-"
6676 "1swkb9w5vx9ph7x55y51dc0srj2z27nd9ibgn8c0qcl6hx7g9cbh"))))
6677 (build-system haskell-build-system)
6679 `(("ghc-byteable" ,ghc-byteable)
6680 ("ghc-data-default-class" ,ghc-data-default-class)
6681 ("ghc-network" ,ghc-network)
6682 ("ghc-tls" ,ghc-tls)
6683 ("ghc-socks" ,ghc-socks)
6684 ("ghc-x509" ,ghc-x509)
6685 ("ghc-x509-store" ,ghc-x509-store)
6686 ("ghc-x509-system" ,ghc-x509-system)
6687 ("ghc-x509-validation" ,ghc-x509-validation)))
6688 (home-page "https://github.com/vincenthz/hs-connection")
6689 (synopsis "Simple and easy network connections API")
6691 "This package provides a simple network library for all your connection
6692 needs. It provides a very simple API to create sockets to a destination with
6693 the choice of SSL/TLS, and SOCKS.")
6694 (license license:bsd-3)))
6696 (define-public ghc-skylighting-core
6698 (name "ghc-skylighting-core")
6702 (uri (string-append "https://hackage.haskell.org/package/"
6703 "skylighting-core/skylighting-core-"
6707 "066fwmwsd7xcvwlinfk2izlzq0xp8697i6lnbgsbl71jdybyackq"))))
6708 (build-system haskell-build-system)
6710 `(("ghc-aeson" ,ghc-aeson)
6711 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6712 ("ghc-attoparsec" ,ghc-attoparsec)
6713 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6714 ("ghc-blaze-html" ,ghc-blaze-html)
6715 ("ghc-case-insensitive" ,ghc-case-insensitive)
6716 ("ghc-colour" ,ghc-colour)
6717 ("ghc-hxt" ,ghc-hxt)
6718 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6719 ("ghc-safe" ,ghc-safe)
6720 ("ghc-text" ,ghc-text)
6721 ("ghc-utf8-string" ,ghc-utf8-string)))
6723 `(("ghc-diff" ,ghc-diff)
6724 ("ghc-hunit" ,ghc-hunit)
6725 ("ghc-pretty-show" ,ghc-pretty-show)
6726 ("ghc-quickcheck" ,ghc-quickcheck)
6727 ("ghc-tasty" ,ghc-tasty)
6728 ("ghc-tasty-golden" ,ghc-tasty-golden)
6729 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6730 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6731 (home-page "https://github.com/jgm/skylighting")
6732 (synopsis "Syntax highlighting library")
6733 (description "Skylighting is a syntax highlighting library with support
6734 for over one hundred languages. It derives its tokenizers from XML syntax
6735 definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
6736 supported by that framework can be added. An optional command-line program is
6737 provided. Skylighting is intended to be the successor to highlighting-kate.")
6738 (license license:gpl2)))
6740 (define-public ghc-skylighting
6742 (inherit ghc-skylighting-core)
6743 (name "ghc-skylighting")
6747 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
6748 version "/skylighting-" version ".tar.gz"))
6751 "1rh3z1a7a4clvksdw1qlpmhxqkfahwypi70k91whgfamzsqpxdch"))))
6753 `(("ghc-skylighting-core" ,ghc-skylighting-core)
6754 ,@(package-inputs ghc-skylighting-core)))))
6756 (define-public ghc-doctemplates
6758 (name "ghc-doctemplates")
6763 (uri (string-append "https://hackage.haskell.org/package/"
6764 "doctemplates/doctemplates-"
6768 "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b"))))
6769 (build-system haskell-build-system)
6771 `(("ghc-aeson" ,ghc-aeson)
6772 ("ghc-blaze-markup" ,ghc-blaze-markup)
6773 ("ghc-blaze-html" ,ghc-blaze-html)
6774 ("ghc-text" ,ghc-text)
6775 ("ghc-vector" ,ghc-vector)
6776 ("ghc-parsec" ,ghc-parsec)
6777 ("ghc-unordered-containers" ,ghc-unordered-containers)
6778 ("ghc-scientific" ,ghc-scientific)))
6780 `(("ghc-hspec" ,ghc-hspec)))
6781 (home-page "https://github.com/jgm/doctemplates#readme")
6782 (synopsis "Pandoc-style document templates")
6784 "This package provides a simple text templating system used by pandoc.")
6785 (license license:bsd-3)))
6787 (define-public ghc-pandoc
6794 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6798 "1dqin92w513l7whg5wdgrngnxsj5mb8gppfvn7kjgyv2pdgpy0zy"))))
6799 (build-system haskell-build-system)
6802 (modify-phases %standard-phases
6803 (add-before 'configure 'update-constraints
6805 (substitute* "pandoc.cabal"
6806 (("tasty >= 0\\.11 && < 1\\.1")
6807 "tasty >= 0.11 && < 1.1.1"))))
6808 (add-before 'configure 'patch-tests
6810 ;; These tests fail benignly and have been adjusted upstream:
6811 ;; <https://github.com/commercialhaskell/stackage/issues/3719>.
6812 (substitute* "test/Tests/Old.hs"
6813 (("lhsWriterTests \"html\"") "[]")))))))
6815 `(("ghc-aeson" ,ghc-aeson)
6816 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6817 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6818 ("ghc-blaze-html" ,ghc-blaze-html)
6819 ("ghc-blaze-markup" ,ghc-blaze-markup)
6820 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
6821 ("ghc-data-default" ,ghc-data-default)
6822 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6823 ("ghc-diff" ,ghc-diff)
6824 ("ghc-doctemplates" ,ghc-doctemplates)
6825 ("ghc-executable-path" ,ghc-executable-path)
6826 ("ghc-glob" ,ghc-glob)
6827 ("ghc-haddock-library" ,ghc-haddock-library)
6828 ("ghc-hslua" ,ghc-hslua)
6829 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
6830 ("ghc-http" ,ghc-http)
6831 ("ghc-http-client" ,ghc-http-client)
6832 ("ghc-http-client-tls" ,ghc-http-client-tls)
6833 ("ghc-http-types" ,ghc-http-types)
6834 ("ghc-juicypixels" ,ghc-juicypixels)
6835 ("ghc-network" ,ghc-network)
6836 ("ghc-network-uri" ,ghc-network-uri)
6837 ("ghc-old-locale" ,ghc-old-locale)
6838 ("ghc-pandoc-types" ,ghc-pandoc-types)
6839 ("ghc-parsec" ,ghc-parsec)
6840 ("ghc-random" ,ghc-random)
6841 ("ghc-scientific" ,ghc-scientific)
6842 ("ghc-sha" ,ghc-sha)
6843 ("ghc-skylighting" ,ghc-skylighting)
6844 ("ghc-split" ,ghc-split)
6845 ("ghc-syb" ,ghc-syb)
6846 ("ghc-tagsoup" ,ghc-tagsoup)
6847 ("ghc-temporary" ,ghc-temporary)
6848 ("ghc-texmath" ,ghc-texmath)
6849 ("ghc-text" ,ghc-text)
6850 ("ghc-unordered-containers" ,ghc-unordered-containers)
6851 ("ghc-vector" ,ghc-vector)
6852 ("ghc-xml" ,ghc-xml)
6853 ("ghc-yaml" ,ghc-yaml)
6854 ("ghc-zip-archive" ,ghc-zip-archive)
6855 ("ghc-zlib" ,ghc-zlib)))
6857 `(("ghc-tasty" ,ghc-tasty)
6858 ("ghc-tasty-golden" ,ghc-tasty-golden)
6859 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6860 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6861 ("ghc-quickcheck" ,ghc-quickcheck)
6862 ("ghc-hunit" ,ghc-hunit)))
6863 (home-page "https://pandoc.org")
6864 (synopsis "Conversion between markup formats")
6866 "Pandoc is a Haskell library for converting from one markup format to
6867 another, and a command-line tool that uses this library. It can read and
6868 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
6869 LaTeX, DocBook, and many more.
6871 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
6872 definition lists, tables, and other features. A compatibility mode is
6873 provided for those who need a drop-in replacement for Markdown.pl.")
6874 (license license:gpl2+)))
6876 (define-public ghc-hs-bibutils
6878 (name "ghc-hs-bibutils")
6884 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6888 "0n2sz2zl4naspryd49ii858qkjp2lapns5a2gr8zm6vvn5sh1f0l"))))
6889 (build-system haskell-build-system)
6890 (inputs `(("ghc-syb" ,ghc-syb)))
6891 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6892 (synopsis "Haskell bindings to bibutils")
6894 "This package provides Haskell bindings to @code{bibutils}, a library
6895 that interconverts between various bibliography formats using a common
6896 MODS-format XML intermediate.")
6897 (license license:gpl2+)))
6899 (define-public ghc-rfc5051
6901 (name "ghc-rfc5051")
6906 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
6907 "rfc5051-" version ".tar.gz"))
6910 "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3"))))
6911 (build-system haskell-build-system)
6912 (home-page "https://hackage.haskell.org/package/rfc5051")
6913 (synopsis "Simple unicode collation as per RFC5051")
6915 "This library implements @code{unicode-casemap}, the simple, non
6916 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
6917 unicode collation can be done using @code{text-icu}, but that is a big
6918 dependency that depends on a large C library, and @code{rfc5051} might be
6919 better for some purposes.")
6920 (license license:bsd-3)))
6922 (define-public ghc-typed-process
6924 (name "ghc-typed-process")
6929 (uri (string-append "https://hackage.haskell.org/package/"
6930 "typed-process/typed-process-"
6934 "0j36vrc9w841m5qbwqra1lwiznx31xfnhin1sm8x2c2739csbpn0"))))
6935 (build-system haskell-build-system)
6937 `(("ghc-async" ,ghc-async)
6938 ("ghc-stm" ,ghc-stm)))
6940 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
6941 ("ghc-hspec" ,ghc-hspec)
6942 ("hspec-discover" ,hspec-discover)
6943 ("ghc-temporary" ,ghc-temporary)))
6944 (home-page "https://haskell-lang.org/library/typed-process")
6945 (synopsis "Run external processes with strong typing of streams")
6947 "This library provides the ability to launch and interact with external
6948 processes. It wraps around the @code{process} library, and intends to improve
6950 (license license:expat)))
6952 (define-public ghc-conduit-extra
6954 (name "ghc-conduit-extra")
6959 (uri (string-append "https://hackage.haskell.org/package/"
6960 "conduit-extra/conduit-extra-"
6964 "0jaj350vv6mbb26gdwcqz4gwzfzrjydv5pis2da49wz1npbakcfw"))))
6965 (build-system haskell-build-system)
6967 `(("ghc-conduit" ,ghc-conduit)
6968 ("ghc-exceptions" ,ghc-exceptions)
6969 ("ghc-monad-control" ,ghc-monad-control)
6970 ("ghc-text" ,ghc-text)
6971 ("ghc-transformers-base" ,ghc-transformers-base)
6972 ("ghc-typed-process" ,ghc-typed-process)
6973 ("ghc-async" ,ghc-async)
6974 ("ghc-attoparsec" ,ghc-attoparsec)
6975 ("ghc-blaze-builder" ,ghc-blaze-builder)
6976 ("ghc-network" ,ghc-network)
6977 ("ghc-primitive" ,ghc-primitive)
6978 ("ghc-resourcet" ,ghc-resourcet)
6979 ("ghc-stm" ,ghc-stm)
6980 ("ghc-streaming-commons" ,ghc-streaming-commons)
6981 ("ghc-hspec" ,ghc-hspec)
6982 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6983 ("ghc-quickcheck" ,ghc-quickcheck)))
6985 `(("hspec-discover" ,hspec-discover)))
6986 (home-page "https://github.com/snoyberg/conduit")
6987 (synopsis "Conduit adapters for common libraries")
6989 "The @code{conduit} package itself maintains relative small dependencies.
6990 The purpose of this package is to collect commonly used utility functions
6991 wrapping other library dependencies, without depending on heavier-weight
6992 dependencies. The basic idea is that this package should only depend on
6993 @code{haskell-platform} packages and @code{conduit}.")
6994 (license license:expat)))
6996 (define-public ghc-xml-types
6998 (name "ghc-xml-types")
7003 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
7004 "xml-types-" version ".tar.gz"))
7007 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
7008 (build-system haskell-build-system)
7009 (inputs `(("ghc-text" ,ghc-text)))
7010 (home-page "https://john-millikin.com/software/haskell-xml/")
7011 (synopsis "Basic types for representing XML")
7012 (description "This package provides basic types for representing XML
7014 (license license:expat)))
7016 (define-public ghc-xml-conduit
7018 (name "ghc-xml-conduit")
7023 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
7024 "xml-conduit-" version ".tar.gz"))
7027 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
7028 (build-system haskell-build-system)
7030 `(("ghc-conduit" ,ghc-conduit)
7031 ("ghc-conduit-extra" ,ghc-conduit-extra)
7032 ("ghc-doctest" ,ghc-doctest)
7033 ("ghc-resourcet" ,ghc-resourcet)
7034 ("ghc-text" ,ghc-text)
7035 ("ghc-xml-types" ,ghc-xml-types)
7036 ("ghc-attoparsec" ,ghc-attoparsec)
7037 ("ghc-data-default-class" ,ghc-data-default-class)
7038 ("ghc-blaze-markup" ,ghc-blaze-markup)
7039 ("ghc-blaze-html" ,ghc-blaze-html)
7040 ("ghc-monad-control" ,ghc-monad-control)
7041 ("ghc-hspec" ,ghc-hspec)
7042 ("ghc-hunit" ,ghc-hunit)))
7043 (home-page "https://github.com/snoyberg/xml")
7044 (synopsis "Utilities for dealing with XML with the conduit package")
7046 "This package provides pure-Haskell utilities for dealing with XML with
7047 the @code{conduit} package.")
7048 (license license:expat)))
7050 (define-public ghc-pandoc-citeproc
7052 (name "ghc-pandoc-citeproc")
7053 (version "0.14.3.1")
7057 (uri (string-append "https://hackage.haskell.org/package/"
7058 "pandoc-citeproc/pandoc-citeproc-"
7062 "0yj6rckwsc9vig40cm15ry0j3d01xpk04qma9n4byhal6v4b5h22"))))
7063 (build-system haskell-build-system)
7066 (modify-phases %standard-phases
7067 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
7068 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
7069 (add-before 'configure 'patch-tests
7071 (substitute* "tests/test-pandoc-citeproc.hs"
7072 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
7073 "let allTests = citeprocTests"))))
7074 ;; Tests need to be run after installation.
7076 (add-after 'install 'post-install-check
7077 (assoc-ref %standard-phases 'check)))))
7079 `(("ghc-pandoc-types" ,ghc-pandoc-types)
7080 ("ghc-pandoc" ,ghc-pandoc)
7081 ("ghc-tagsoup" ,ghc-tagsoup)
7082 ("ghc-aeson" ,ghc-aeson)
7083 ("ghc-text" ,ghc-text)
7084 ("ghc-vector" ,ghc-vector)
7085 ("ghc-xml-conduit" ,ghc-xml-conduit)
7086 ("ghc-unordered-containers" ,ghc-unordered-containers)
7087 ("ghc-data-default" ,ghc-data-default)
7088 ("ghc-setenv" ,ghc-setenv)
7089 ("ghc-split" ,ghc-split)
7090 ("ghc-yaml" ,ghc-yaml)
7091 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
7092 ("ghc-rfc5051" ,ghc-rfc5051)
7093 ("ghc-syb" ,ghc-syb)
7094 ("ghc-parsec" ,ghc-parsec)
7095 ("ghc-old-locale" ,ghc-old-locale)
7096 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
7097 ("ghc-attoparsec" ,ghc-attoparsec)
7098 ("ghc-temporary" ,ghc-temporary)))
7099 (home-page "https://github.com/jgm/pandoc-citeproc")
7100 (synopsis "Library for using pandoc with citeproc")
7102 "The @code{pandoc-citeproc} library exports functions for using the
7103 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
7104 rendering bibliographic reference citations into a variety of styles using a
7105 macro language called @dfn{Citation Style Language} (CSL). This package also
7106 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
7107 and also has a mode for converting bibliographic databases a YAML format
7108 suitable for inclusion in pandoc YAML metadata.")
7109 (license license:bsd-3)))
7111 (define-public ghc-union-find
7113 (name "ghc-union-find")
7118 "https://hackage.haskell.org/package/union-find/union-find-"
7122 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
7123 (build-system haskell-build-system)
7124 (home-page "https://github.com/nominolo/union-find")
7125 (synopsis "Efficient union and equivalence testing of sets")
7127 "The Union/Find algorithm implements these operations in (effectively)
7130 @item Check whether two elements are in the same equivalence class.
7131 @item Create a union of two equivalence classes.
7132 @item Look up the descriptor of the equivalence class.
7134 (license license:bsd-3)))
7136 (define-public ghc-base16-bytestring
7138 (name "ghc-base16-bytestring")
7144 "https://hackage.haskell.org/package/base16-bytestring/"
7145 "base16-bytestring-" version ".tar.gz"))
7148 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
7149 (build-system haskell-build-system)
7150 (home-page "https://github.com/bos/base16-bytestring")
7151 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
7153 "This package provides a Haskell library for working with base16-encoded
7154 data quickly and efficiently, using the ByteString type.")
7155 (license license:bsd-3)))
7157 (define-public ghc-data-ordlist
7159 (name "ghc-data-ordlist")
7165 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
7169 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
7170 (build-system haskell-build-system)
7171 (home-page "https://hackage.haskell.org/package/data-ordlist")
7172 (synopsis "Set and bag operations on ordered lists")
7174 "This module provides set and multiset operations on ordered lists.")
7175 (license license:bsd-3)))
7177 (define-public ghc-regex-applicative
7179 (name "ghc-regex-applicative")
7185 "https://hackage.haskell.org/package/regex-applicative/"
7186 "regex-applicative-" version ".tar.gz"))
7189 "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
7190 (build-system haskell-build-system)
7192 `(("ghc-smallcheck" ,ghc-smallcheck)
7193 ("ghc-tasty" ,ghc-tasty)
7194 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
7195 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7196 (home-page "https://github.com/feuerbach/regex-applicative")
7197 (synopsis "Regex-based parsing with applicative interface")
7199 "@code{regex-applicative} is a Haskell library for parsing using
7200 regular expressions. Parsers can be built using Applicative interface.")
7201 (license license:expat)))
7203 (define-public ghc-regex-tdfa
7205 (name "ghc-regex-tdfa")
7211 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
7215 "0l7ajnh4hpgggf2a1r9dg0hx2fy679vd2kada5y7r02hy3nfxala"))))
7216 (build-system haskell-build-system)
7218 `(("ghc-parsec" ,ghc-parsec)
7219 ("ghc-regex-base" ,ghc-regex-base)))
7220 (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
7221 (synopsis "POSIX extended regular expressions in Haskell.")
7223 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
7224 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
7225 inspired by libtre.")
7226 (license license:bsd-3)))
7228 (define-public ghc-regex-compat-tdfa
7230 (name "ghc-regex-compat-tdfa")
7231 (version "0.95.1.4")
7236 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
7240 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
7241 (build-system haskell-build-system)
7243 `(("ghc-regex-base" ,ghc-regex-base)
7244 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
7245 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
7246 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
7248 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
7249 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
7250 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
7252 (license license:bsd-3)))
7254 (define-public ghc-sandi
7262 "https://hackage.haskell.org/package/sandi/sandi-"
7266 "0dvkpk91n9kz2ha04rvp231ra9sgd1ilyc1qkzf9l03iir7zrh9b"))))
7267 (build-system haskell-build-system)
7269 `(("ghc-stringsearch" ,ghc-stringsearch)
7270 ("ghc-conduit" ,ghc-conduit)
7271 ("ghc-exceptions" ,ghc-exceptions)
7272 ("ghc-hunit" ,ghc-hunit)
7273 ("ghc-tasty" ,ghc-tasty)
7274 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7275 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7276 ("ghc-tasty-th" ,ghc-tasty-th)))
7277 (home-page "https://hackage.haskell.org/package/sandi")
7278 (synopsis "Data encoding library")
7279 (description "Reasonably fast data encoding library.")
7280 (license license:bsd-3)))
7282 (define-public ghc-bytestring-handle
7284 (name "ghc-bytestring-handle")
7290 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
7294 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
7295 (build-system haskell-build-system)
7298 (modify-phases %standard-phases
7299 (add-before 'configure 'update-constraints
7301 (substitute* "bytestring-handle.cabal"
7302 (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
7303 "QuickCheck >= 2.1.2 && < 2.12")
7304 (("base >= 4\\.2 && < 4\\.11")
7305 "base >= 4.2 && < 4.12")))))))
7307 `(("ghc-hunit" ,ghc-hunit)
7308 ("ghc-quickcheck" ,ghc-quickcheck)
7309 ("ghc-test-framework" ,ghc-test-framework)
7310 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7311 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7312 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
7313 (synopsis "ByteString-backed Handles")
7314 (description "ByteString-backed Handles") ; There is no description
7315 (license license:bsd-3)))
7317 (define-public ghc-tar
7325 "https://hackage.haskell.org/package/tar/tar-"
7329 "0s2brvaxg5fki2jdkccmnpssiy6a3wjh24p6a3dkkdvjcixnk7f8"))))
7330 (build-system haskell-build-system)
7331 ;; FIXME: 2/24 tests fail.
7332 (arguments `(#:tests? #f))
7334 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
7335 ("ghc-quickcheck" ,ghc-quickcheck)
7336 ("ghc-tasty" ,ghc-tasty)
7337 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7338 (home-page "https://hackage.haskell.org/package/tar")
7339 (synopsis "Reading, writing and manipulating \".tar\" archive files")
7341 "This library is for working with \\\"@.tar@\\\" archive files.
7342 It can read and write a range of common variations of the tar archive format
7343 including V7, POSIX USTAR and GNU formats. It provides support for packing and
7344 unpacking portable archives. This makes it suitable for distribution but not
7345 backup because details like file ownership and exact permissions are not
7346 preserved. It also provides features for random access to archive content using
7348 (license license:bsd-3)))
7350 (define-public ghc-stmonadtrans
7352 (name "ghc-stmonadtrans")
7357 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
7358 "/STMonadTrans-" version ".tar.gz"))
7360 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
7361 (build-system haskell-build-system)
7362 (home-page "https://hackage.haskell.org/package/STMonadTrans")
7363 (synopsis "Monad transformer version of the ST monad")
7365 "This package provides a monad transformer version of the @code{ST} monad
7366 for strict state threads.")
7367 (license license:bsd-3)))
7369 (define-public ghc-findbin
7371 (name "ghc-findbin")
7377 "https://hackage.haskell.org/package/FindBin/FindBin-"
7381 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
7382 (build-system haskell-build-system)
7383 (home-page "https://github.com/audreyt/findbin")
7384 (synopsis "Get the absolute path of the running program")
7386 "This module locates the full directory of the running program, to allow
7387 the use of paths relative to it. FindBin supports invocation of Haskell
7388 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
7390 (license license:bsd-3)))
7392 (define-public ghc-patience
7394 (name "ghc-patience")
7400 "https://hackage.haskell.org/package/patience/patience-"
7404 "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
7405 (build-system haskell-build-system)
7406 (home-page "https://hackage.haskell.org/package/patience")
7407 (synopsis "Patience diff and longest increasing subsequence")
7409 "This library implements the 'patience diff' algorithm, as well as the
7410 patience algorithm for the longest increasing subsequence problem.
7411 Patience diff computes the difference between two lists, for example the lines
7412 of two versions of a source file. It provides a good balance between
7413 performance, nice output for humans, and simplicity of implementation.")
7414 (license license:bsd-3)))
7416 (define-public ghc-monads-tf
7418 (name "ghc-monads-tf")
7424 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7428 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7429 (build-system haskell-build-system)
7430 (home-page "https://hackage.haskell.org/package/monads-tf")
7431 (synopsis "Monad classes, using type families")
7433 "Monad classes using type families, with instances for various monad transformers,
7434 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7435 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7436 the @code{mtl-tf} package.")
7437 (license license:bsd-3)))
7439 (define-public ghc-colour
7447 "https://hackage.haskell.org/package/colour/colour-"
7451 "1sy51nz096sv91nxqk6yk7b92b5a40axv9183xakvki2nc09yhqg"))))
7453 ;; The tests for this package have the following dependency cycle:
7454 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
7456 (build-system haskell-build-system)
7457 (home-page "https://www.haskell.org/haskellwiki/Colour")
7458 (synopsis "Model for human colour perception")
7460 "This package provides a data type for colours and transparency.
7461 Colours can be blended and composed. Various colour spaces are
7462 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
7463 (license license:expat)))
7465 (define-public ghc-wl-pprint-text
7467 (name "ghc-wl-pprint-text")
7473 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
7477 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
7478 (build-system haskell-build-system)
7480 `(("ghc-base-compat" ,ghc-base-compat)
7481 ("ghc-text" ,ghc-text)))
7482 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
7483 (synopsis "Wadler/Leijen Pretty Printer for Text values")
7485 "A clone of wl-pprint for use with the text library.")
7486 (license license:bsd-3)))
7488 (define-public ghc-fgl-arbitrary
7490 (name "ghc-fgl-arbitrary")
7496 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
7500 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
7501 (build-system haskell-build-system)
7504 (modify-phases %standard-phases
7505 (add-before 'configure 'update-constraints
7507 (substitute* "fgl-arbitrary.cabal"
7508 (("QuickCheck >= 2\\.3 && < 2\\.10")
7509 "QuickCheck >= 2.3 && < 2.12")
7510 (("hspec >= 2\\.1 && < 2\\.5")
7511 "hspec >= 2.1 && < 2.6")))))))
7513 `(("ghc-fgl" ,ghc-fgl)
7514 ("ghc-quickcheck" ,ghc-quickcheck)
7515 ("ghc-hspec" ,ghc-hspec)))
7516 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
7517 (synopsis "QuickCheck support for fgl")
7519 "Provides Arbitrary instances for fgl graphs to avoid adding a
7520 QuickCheck dependency for fgl whilst still making the instances
7521 available to others. Also available are non-fgl-specific functions
7522 for generating graph-like data structures.")
7523 (license license:bsd-3)))
7525 (define-public ghc-graphviz
7527 (name "ghc-graphviz")
7528 (version "2999.20.0.2")
7531 (uri (string-append "https://hackage.haskell.org/package/"
7532 "graphviz/graphviz-" version ".tar.gz"))
7535 "0kj7ap0gnliviq2p8lscw1m06capnsa90vpvcys24nqy5nw2wrp7"))))
7536 (build-system haskell-build-system)
7538 `(("ghc-quickcheck" ,ghc-quickcheck)
7539 ("ghc-colour" ,ghc-colour)
7540 ("ghc-dlist" ,ghc-dlist)
7541 ("ghc-fgl" ,ghc-fgl)
7542 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
7543 ("ghc-polyparse" ,ghc-polyparse)
7544 ("ghc-temporary" ,ghc-temporary)
7545 ("ghc-text" ,ghc-text)
7546 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
7548 `(("ghc-hspec" ,ghc-hspec)
7549 ("graphviz" ,graphviz)
7550 ("hspec-discover" ,hspec-discover)))
7551 (home-page "https://hackage.haskell.org/package/graphviz")
7552 (synopsis "Bindings to Graphviz for graph visualisation")
7554 "This library provides bindings for the Dot language used by
7555 the @uref{https://graphviz.org/, Graphviz} suite of programs for
7556 visualising graphs, as well as functions to call those programs.
7557 Main features of the graphviz library include:
7560 @item Almost complete coverage of all Graphviz attributes and syntax
7561 @item Support for specifying clusters
7562 @item The ability to use a custom node type
7563 @item Functions for running a Graphviz layout tool with all specified output types
7564 @item Generate and parse Dot code with two options: strict and liberal
7565 @item Functions to convert FGL graphs and other graph-like data structures
7566 @item Round-trip support for passing an FGL graph through Graphviz to augment node
7567 and edge labels with positional information, etc.
7569 (license license:bsd-3)))
7571 (define-public ghc-constraints
7573 (name "ghc-constraints")
7579 "https://hackage.haskell.org/package/constraints/constraints-"
7583 "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q"))))
7584 (build-system haskell-build-system)
7586 `(("ghc-hashable" ,ghc-hashable)
7587 ("ghc-semigroups" ,ghc-semigroups)
7588 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7590 `(("ghc-hspec" ,ghc-hspec)
7591 ("hspec-discover" ,hspec-discover)))
7592 (home-page "https://github.com/ekmett/constraints/")
7593 (synopsis "Constraint manipulation")
7595 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
7596 They stopped crashing the compiler in GHC 7.6. This package provides
7597 a vocabulary for working with them.")
7598 (license license:bsd-3)))
7600 (define-public ghc-lifted-async
7602 (name "ghc-lifted-async")
7603 (version "0.10.0.2")
7608 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7612 "1073r512c1x2m1v0jar9bwqg656slg7jd1jhsyj6m8awgx1l1mwf"))))
7613 (build-system haskell-build-system)
7615 `(("ghc-async" ,ghc-async)
7616 ("ghc-lifted-base" ,ghc-lifted-base)
7617 ("ghc-transformers-base" ,ghc-transformers-base)
7618 ("ghc-monad-control" ,ghc-monad-control)
7619 ("ghc-constraints" ,ghc-constraints)
7620 ("ghc-hunit" ,ghc-hunit)
7621 ("ghc-tasty" ,ghc-tasty)
7622 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
7623 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7624 ("ghc-tasty-th" ,ghc-tasty-th)))
7625 (home-page "https://github.com/maoe/lifted-async")
7626 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7628 "This package provides IO operations from @code{async} package lifted to any
7629 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7630 (license license:bsd-3)))
7632 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
7633 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
7634 ;; which depends on ghc-chell and ghc-chell-quickcheck.
7635 ;; Therefore we bootstrap it with tests disabled.
7636 (define ghc-system-filepath-bootstrap
7638 (name "ghc-system-filepath-bootstrap")
7644 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7648 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
7649 (build-system haskell-build-system)
7653 `(("ghc-text" ,ghc-text)
7654 ("ghc-quickcheck" ,ghc-quickcheck)))
7655 (home-page "https://github.com/fpco/haskell-filesystem")
7656 (synopsis "High-level, byte-based file and directory path manipulations")
7658 "Provides a FilePath datatype and utility functions for operating on it.
7659 Unlike the filepath package, this package does not simply reuse String,
7660 increasing type safety.")
7661 (license license:expat)))
7663 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
7664 ;; ghc-system-filepath.
7665 (define ghc-system-fileio-bootstrap
7667 (name "ghc-system-fileio-bootstrap")
7668 (version "0.3.16.3")
7673 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7677 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7678 (build-system haskell-build-system)
7682 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7683 ("ghc-text" ,ghc-text)
7684 ("ghc-temporary" ,ghc-temporary)))
7685 (home-page "https://github.com/fpco/haskell-filesystem")
7686 (synopsis "Consistent file system interaction across GHC versions")
7688 "This is a small wrapper around the directory, unix, and Win32 packages,
7689 for use with system-filepath. It provides a consistent API to the various
7690 versions of these packages distributed with different versions of GHC.
7691 In particular, this library supports working with POSIX files that have paths
7692 which can't be decoded in the current locale encoding.")
7693 (license license:expat)))
7695 (define-public ghc-shelly
7703 "https://hackage.haskell.org/package/shelly/shelly-"
7707 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
7708 (build-system haskell-build-system)
7710 `(("ghc-unix-compat" ,ghc-unix-compat)
7711 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7712 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
7713 ("ghc-monad-control" ,ghc-monad-control)
7714 ("ghc-lifted-base" ,ghc-lifted-base)
7715 ("ghc-lifted-async" ,ghc-lifted-async)
7716 ("ghc-exceptions" ,ghc-exceptions)
7717 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
7718 ("ghc-text" ,ghc-text)
7719 ("ghc-async" ,ghc-async)
7720 ("ghc-transformers-base" ,ghc-transformers-base)
7721 ("ghc-hunit" ,ghc-hunit)
7722 ("ghc-hspec" ,ghc-hspec)
7723 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
7724 (home-page "https://github.com/yesodweb/Shelly.hs")
7725 (synopsis "Shell-like (systems) programming in Haskell")
7727 "Shelly provides convenient systems programming in Haskell, similar in
7728 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
7729 (license license:bsd-3)))
7731 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
7732 (define ghc-options-bootstrap
7734 (name "ghc-options-bootstrap")
7740 "https://hackage.haskell.org/package/options/options-"
7744 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7745 (build-system haskell-build-system)
7749 `(("ghc-monads-tf" ,ghc-monads-tf)))
7750 (home-page "https://john-millikin.com/software/haskell-options/")
7751 (synopsis "Powerful and easy-to-use command-line option parser")
7753 "The @code{options} package lets library and application developers
7754 easily work with command-line options.")
7755 (license license:expat)))
7757 (define-public ghc-chell
7765 "https://hackage.haskell.org/package/chell/chell-"
7769 "10ingy9qnbmc8cqh4i9pskcw43l0mzk8f3d76b3qz3fig5ary3j9"))))
7770 (build-system haskell-build-system)
7772 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
7773 ("ghc-patience" ,ghc-patience)
7774 ("ghc-random" ,ghc-random)
7775 ("ghc-text" ,ghc-text)
7776 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
7777 (home-page "https://john-millikin.com/software/chell/")
7778 (synopsis "Simple and intuitive library for automated testing")
7780 "Chell is a simple and intuitive library for automated testing.
7781 It natively supports assertion-based testing, and can use companion
7782 libraries such as @code{chell-quickcheck} to support more complex
7783 testing strategies.")
7784 (license license:expat)))
7786 (define ghc-chell-quickcheck-bootstrap
7788 (name "ghc-chell-quickcheck-bootstrap")
7794 "https://hackage.haskell.org/package/chell-quickcheck/"
7795 "chell-quickcheck-" version ".tar.gz"))
7798 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7799 (build-system haskell-build-system)
7801 `(("ghc-chell" ,ghc-chell)
7802 ("ghc-random" ,ghc-random)
7803 ("ghc-quickcheck" ,ghc-quickcheck)))
7807 (modify-phases %standard-phases
7808 (add-before 'configure 'update-constraints
7810 (substitute* "chell-quickcheck.cabal"
7811 (("QuickCheck >= 2\\.3 && < 2\\.11")
7812 "QuickCheck >= 2.3 && < 2.12")))))))
7813 (home-page "https://john-millikin.com/software/chell/")
7814 (synopsis "QuickCheck support for the Chell testing library")
7815 (description "More complex tests for @code{chell}.")
7816 (license license:expat)))
7818 (define-public ghc-chell-quickcheck
7820 (name "ghc-chell-quickcheck")
7826 "https://hackage.haskell.org/package/chell-quickcheck/"
7827 "chell-quickcheck-" version ".tar.gz"))
7830 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7831 (build-system haskell-build-system)
7834 (modify-phases %standard-phases
7835 (add-before 'configure 'update-constraints
7837 (substitute* "chell-quickcheck.cabal"
7838 (("QuickCheck >= 2\\.3 && < 2\\.11")
7839 "QuickCheck >= 2.3 && < 2.12")))))))
7841 `(("ghc-chell" ,ghc-chell)
7842 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
7843 ("ghc-random" ,ghc-random)
7844 ("ghc-quickcheck" ,ghc-quickcheck)))
7845 (home-page "https://john-millikin.com/software/chell/")
7846 (synopsis "QuickCheck support for the Chell testing library")
7847 (description "More complex tests for @code{chell}.")
7848 (license license:expat)))
7850 (define-public ghc-options
7852 (name "ghc-options")
7858 "https://hackage.haskell.org/package/options/options-"
7862 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7863 (build-system haskell-build-system)
7865 `(("ghc-monads-tf" ,ghc-monads-tf)
7866 ("ghc-chell" ,ghc-chell)
7867 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
7868 (home-page "https://john-millikin.com/software/haskell-options/")
7869 (synopsis "Powerful and easy-to-use command-line option parser")
7871 "The @code{options} package lets library and application developers
7872 easily work with command-line options.")
7873 (license license:expat)))
7875 (define-public ghc-system-filepath
7877 (name "ghc-system-filepath")
7883 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7887 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
7888 (build-system haskell-build-system)
7889 ;; FIXME: One of the tests fails:
7890 ;; [ FAIL ] tests.validity.posix
7891 ;; note: seed=7310214548328823169
7892 ;; *** Failed! Falsifiable (after 24 tests):
7893 ;; 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"
7894 (arguments `(#:tests? #f))
7896 `(("ghc-text" ,ghc-text)
7897 ("ghc-chell" ,ghc-chell)
7898 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
7899 ("ghc-quickcheck" ,ghc-quickcheck)))
7900 (home-page "https://github.com/fpco/haskell-filesystem")
7901 (synopsis "High-level, byte-based file and directory path manipulations")
7903 "Provides a FilePath datatype and utility functions for operating on it.
7904 Unlike the filepath package, this package does not simply reuse String,
7905 increasing type safety.")
7906 (license license:expat)))
7908 (define-public ghc-system-fileio
7910 (name "ghc-system-fileio")
7911 (version "0.3.16.3")
7916 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7920 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7921 (build-system haskell-build-system)
7923 `(("ghc-system-filepath" ,ghc-system-filepath)
7924 ("ghc-text" ,ghc-text)
7925 ("ghc-chell" ,ghc-chell)
7926 ("ghc-temporary" ,ghc-temporary)))
7927 (home-page "https://github.com/fpco/haskell-filesystem")
7928 (synopsis "Consistent file system interaction across GHC versions")
7930 "This is a small wrapper around the directory, unix, and Win32 packages,
7931 for use with system-filepath. It provides a consistent API to the various
7932 versions of these packages distributed with different versions of GHC.
7933 In particular, this library supports working with POSIX files that have paths
7934 which can't be decoded in the current locale encoding.")
7935 (license license:expat)))
7937 (define-public ghc-storable-complex
7939 (name "ghc-storable-complex")
7945 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
7948 (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
7949 (build-system haskell-build-system)
7950 (home-page "https://github.com/cartazio/storable-complex")
7951 (synopsis "Haskell Storable instance for Complex")
7952 (description "This package provides a Haskell library including a
7953 Storable instance for Complex which is binary compatible with C99, C++
7954 and Fortran complex data types.")
7955 (license license:bsd-3)))
7957 (define-public ghc-hmatrix
7959 (name "ghc-hmatrix")
7960 (version "0.19.0.0")
7965 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
7968 (base32 "10jd69nby29dggghcyjk6ykyr5wrn97nrv1dkpyrp0y5xm12xssj"))))
7969 (build-system haskell-build-system)
7971 `(("ghc-random" ,ghc-random)
7972 ("ghc-split" ,ghc-split)
7973 ("ghc-storable-complex" ,ghc-storable-complex)
7974 ("ghc-semigroups" ,ghc-semigroups)
7975 ("ghc-vector" ,ghc-vector)
7976 ;;("openblas" ,openblas)
7977 ("lapack" ,lapack)))
7978 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
7979 ;; disables inclusion of the LAPACK functions.
7980 ;; (arguments `(#:configure-flags '("--flags=openblas")))
7981 (home-page "https://github.com/albertoruiz/hmatrix")
7982 (synopsis "Haskell numeric linear algebra library")
7983 (description "The HMatrix package provices a Haskell library for
7984 dealing with linear systems, matrix decompositions, and other
7985 numerical computations based on BLAS and LAPACK.")
7986 (license license:bsd-3)))
7988 (define-public ghc-hmatrix-gsl
7990 (name "ghc-hmatrix-gsl")
7991 (version "0.19.0.1")
7996 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
7999 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
8000 (build-system haskell-build-system)
8002 `(("ghc-hmatrix" ,ghc-hmatrix)
8003 ("ghc-vector" ,ghc-vector)
8004 ("ghc-random" ,ghc-random)
8006 (native-inputs `(("pkg-config" ,pkg-config)))
8007 (home-page "https://github.com/albertoruiz/hmatrix")
8008 (synopsis "Haskell GSL binding")
8009 (description "This Haskell library provides a purely functional
8010 interface to selected numerical computations, internally implemented
8012 (license license:gpl3+)))
8014 (define-public ghc-hmatrix-special
8016 (name "ghc-hmatrix-special")
8017 (version "0.19.0.0")
8023 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
8026 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
8027 (build-system haskell-build-system)
8029 `(("ghc-hmatrix" ,ghc-hmatrix)
8030 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
8031 (home-page "https://github.com/albertoruiz/hmatrix")
8032 (synopsis "Haskell interface to GSL special functions")
8033 (description "This library provides an interface to GSL special
8034 functions for Haskell.")
8035 (license license:gpl3+)))
8037 (define-public ghc-hmatrix-gsl-stats
8039 (name "ghc-hmatrix-gsl-stats")
8046 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
8049 (base32 "1gslgk58lzin43cvbpivhw7nrn9qyaa6qwhy1z9ypvyal5p8n3sa"))))
8050 (build-system haskell-build-system)
8052 `(("ghc-vector" ,ghc-vector)
8053 ("ghc-storable-complex" ,ghc-storable-complex)
8054 ("ghc-hmatrix" ,ghc-hmatrix)
8056 (native-inputs `(("pkg-config" ,pkg-config)))
8057 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
8058 (synopsis "GSL Statistics interface for Haskell")
8059 (description "This Haskell library provides a purely functional
8060 interface for statistics based on hmatrix and GSL.")
8061 (license license:bsd-3)))
8063 (define-public ghc-easyplot
8065 (name "ghc-easyplot")
8071 "https://hackage.haskell.org/package/easyplot/easyplot-"
8074 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
8075 (build-system haskell-build-system)
8076 (propagated-inputs `(("gnuplot" ,gnuplot)))
8078 `(#:phases (modify-phases %standard-phases
8079 (add-after 'unpack 'fix-setup-suffix
8080 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
8081 (home-page "https://hub.darcs.net/scravy/easyplot")
8082 (synopsis "Haskell plotting library based on gnuplot")
8083 (description "This package provides a plotting library for
8084 Haskell, using gnuplot for rendering.")
8085 (license license:expat)))
8087 (define-public ghc-hashtables
8089 (name "ghc-hashtables")
8095 "https://hackage.haskell.org/package/hashtables/hashtables-"
8098 (base32 "1giw9caajr07slf09j7zry9b0kvm4yj9q78zy1mawzi6gk3wglcg"))))
8099 (build-system haskell-build-system)
8101 `(("ghc-hashable" ,ghc-hashable)
8102 ("ghc-primitive" ,ghc-primitive)
8103 ("ghc-vector" ,ghc-vector)))
8104 (home-page "https://github.com/gregorycollins/hashtables")
8105 (synopsis "Haskell Mutable hash tables in the ST monad")
8106 (description "This package provides a Haskell library including a
8107 couple of different implementations of mutable hash tables in the ST
8108 monad, as well as a typeclass abstracting their common operations, and
8109 a set of wrappers to use the hash tables in the IO monad.")
8110 (license license:bsd-3)))
8112 (define-public ghc-data-accessor
8114 (name "ghc-data-accessor")
8120 "mirror://hackage/package/data-accessor/data-accessor-"
8123 (base32 "1vf2g1gac3rm32g97rl0fll51m88q7ry4m6khnl5j47qsmx24r9l"))))
8124 (build-system haskell-build-system)
8125 (home-page "https://www.haskell.org/haskellwiki/Record_access")
8127 "Haskell utilities for accessing and manipulating fields of records")
8128 (description "This package provides Haskell modules for accessing and
8129 manipulating fields of records.")
8130 (license license:bsd-3)))
8132 (define-public ghc-data-accessor-transformers
8134 (name "ghc-data-accessor-transformers")
8140 "mirror://hackage/package/data-accessor-transformers/"
8141 "data-accessor-transformers-" version ".tar.gz"))
8143 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
8144 (build-system haskell-build-system)
8145 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
8146 (home-page "https://www.haskell.org/haskellwiki/Record_access")
8147 (synopsis "Use Accessor to access state in transformers State monad")
8148 (description "This package provides Haskell modules to allow use of
8149 Accessor to access state in transformers State monad.")
8150 (license license:bsd-3)))
8152 (define-public ghc-utility-ht
8154 (name "ghc-utility-ht")
8156 (home-page "https://hackage.haskell.org/package/utility-ht")
8160 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
8162 (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9"))))
8163 (build-system haskell-build-system)
8164 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
8165 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
8166 (description "This package includes Hakell modules providing various
8167 helper functions for Lists, Maybes, Tuples, Functions.")
8168 (license license:bsd-3)))
8170 (define-public ghc-gnuplot
8172 (name "ghc-gnuplot")
8178 "mirror://hackage/package/gnuplot/gnuplot-"
8181 (base32 "1mlppnc13ygjzmf6ldydys4wvy35yb3xjwwfgf9rbi7nfcqjr6mn"))))
8182 (build-system haskell-build-system)
8184 `(("ghc-temporary" ,ghc-temporary)
8185 ("ghc-utility-ht" ,ghc-utility-ht)
8186 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
8187 ("ghc-data-accessor" ,ghc-data-accessor)
8188 ("ghc-semigroups" ,ghc-semigroups)
8189 ("gnuplot" ,gnuplot)))
8192 (modify-phases %standard-phases
8193 (add-before 'configure 'fix-path-to-gnuplot
8194 (lambda* (#:key inputs #:allow-other-keys)
8195 (let ((gnuplot (assoc-ref inputs "gnuplot")))
8196 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
8197 (("(gnuplotName = ).*$" all cmd)
8198 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
8199 (home-page "https://www.haskell.org/haskellwiki/Gnuplot")
8200 (synopsis "2D and 3D plots using gnuplot")
8201 (description "This package provides a Haskell module for creating 2D and
8202 3D plots using gnuplot.")
8203 (license license:bsd-3)))
8205 (define-public ghc-hinotify
8207 (name "ghc-hinotify")
8212 "https://hackage.haskell.org/package/hinotify/"
8213 "hinotify-" version ".tar.gz"))
8216 "17ax3n68a5c2ddazp86aciliskrh6znd3bnry0wcllmb6dbpsaxg"))))
8217 (build-system haskell-build-system)
8219 `(("ghc-async" ,ghc-async)))
8220 (home-page "https://github.com/kolmodin/hinotify.git")
8221 (synopsis "Haskell binding to inotify")
8222 (description "This library provides a wrapper to the Linux kernel's inotify
8223 feature, allowing applications to subscribe to notifications when a file is
8224 accessed or modified.")
8225 (license license:bsd-3)))
8227 (define-public ghc-fsnotify
8229 (name "ghc-fsnotify")
8234 "https://hackage.haskell.org/package/fsnotify/"
8235 "fsnotify-" version ".tar.gz"))
8238 "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny"))))
8239 (build-system haskell-build-system)
8241 `(("ghc-text" ,ghc-text)
8242 ("ghc-async" ,ghc-async)
8243 ("ghc-unix-compat" ,ghc-unix-compat)
8244 ("ghc-hinotify" ,ghc-hinotify)
8245 ("ghc-tasty" ,ghc-tasty)
8246 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8247 ("ghc-random" ,ghc-random)
8248 ("ghc-shelly" ,ghc-shelly)
8249 ("ghc-temporary" ,ghc-temporary)))
8250 (home-page "https://github.com/haskell-fswatch/hfsnotify")
8251 (synopsis "Cross platform library for file change notification.")
8252 (description "Cross platform library for file creation, modification, and
8253 deletion notification. This library builds upon existing libraries for platform
8254 specific Windows, Mac, and Linux file system event notification.")
8255 (license license:bsd-3)))
8257 (define-public ghc-ieee754
8259 (name "ghc-ieee754")
8264 "https://hackage.haskell.org/package/ieee754/"
8265 "ieee754-" version ".tar.gz"))
8268 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
8269 (build-system haskell-build-system)
8270 (home-page "https://github.com/patperry/hs-ieee754")
8271 (synopsis "Utilities for dealing with IEEE floating point numbers")
8272 (description "Utilities for dealing with IEEE floating point numbers,
8273 ported from the Tango math library; approximate and exact equality comparisons
8274 for general types.")
8275 (license license:bsd-3)))
8277 (define-public ghc-terminal-size
8279 (name "ghc-terminal-size")
8284 "https://hackage.haskell.org/package/terminal-size/"
8285 "terminal-size-" version ".tar.gz"))
8288 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
8289 (build-system haskell-build-system)
8290 (home-page "https://hackage.haskell.org/package/terminal-size")
8291 (synopsis "Get terminal window height and width")
8292 (description "Get terminal window height and width without ncurses
8294 (license license:bsd-3)))
8296 (define-public ghc-language-c
8298 (name "ghc-language-c")
8303 (uri (string-append "https://hackage.haskell.org/package/"
8304 "language-c/language-c-" version ".tar.gz"))
8307 "0sdkjj0hq8p69fcdm6ljbjkjvrsrb8a6rl5dq6dj6byj32ajrm3d"))))
8308 (build-system haskell-build-system)
8309 (inputs `(("ghc-syb" ,ghc-syb)))
8311 `(("ghc-happy" ,ghc-happy)
8312 ("ghc-alex" ,ghc-alex)))
8313 (home-page "https://visq.github.io/language-c/")
8314 (synopsis "Analysis and generation of C code")
8316 "Language C is a Haskell library for the analysis and generation of C code.
8317 It features a complete, well-tested parser and pretty printer for all of C99
8318 and a large set of GNU extensions.")
8319 (license license:bsd-3)))
8321 (define-public ghc-markdown-unlit
8323 (name "ghc-markdown-unlit")
8328 "mirror://hackage/package/markdown-unlit/"
8329 "markdown-unlit-" version ".tar.gz"))
8332 "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7"))))
8333 (build-system haskell-build-system)
8335 `(("ghc-base-compat" ,ghc-base-compat)
8336 ("ghc-hspec" ,ghc-hspec)
8337 ("ghc-quickcheck" ,ghc-quickcheck)
8338 ("ghc-silently" ,ghc-silently)
8339 ("ghc-stringbuilder" ,ghc-stringbuilder)
8340 ("ghc-temporary" ,ghc-temporary)
8341 ("hspec-discover" ,hspec-discover)))
8342 (home-page "https://github.com/sol/markdown-unlit#readme")
8343 (synopsis "Literate Haskell support for Markdown")
8344 (description "This package allows you to have a README.md that at the
8345 same time is a literate Haskell program.")
8346 (license license:expat)))
8348 (define-public corrode
8349 (let ((commit "b6699fb2fa552a07c6091276285a44133e5c9789"))
8352 (version (string-append "0.0.1-" (string-take commit 7)))
8357 (url "https://github.com/jameysharp/corrode.git")
8358 (commit "b6699fb2fa552a07c6091276285a44133e5c9789")))
8360 (string-append name "-" version "-checkout"))
8362 (base32 "02v0yyj6sk4gpg2222wzsdqjxn8w66scbnf6b20x0kbmc69qcz4r"))))
8363 (build-system haskell-build-system)
8365 `(("ghc-language-c" ,ghc-language-c)
8366 ("ghc-markdown-unlit" ,ghc-markdown-unlit)))
8367 (home-page "https://github.com/jameysharp/corrode")
8368 (synopsis "Automatic semantics-preserving translation from C to Rust")
8370 "This program reads a C source file and prints an equivalent module in
8371 Rust syntax. It is intended to be useful for two different purposes:
8374 @item Partial automation for migrating legacy code that was implemented in C.
8375 @item A new, complementary approach to static analysis for C programs.
8377 (license license:gpl2+))))
8379 (define-public ghc-wave
8386 "https://hackage.haskell.org/package/wave/wave-"
8391 "03zycmwrchhqvi37fdvlzz2d1vl4hy0i8xyys1zznw38qfq0h2i5"))))
8392 (build-system haskell-build-system)
8395 (modify-phases %standard-phases
8396 (add-before 'configure 'update-constraints
8398 (substitute* "wave.cabal"
8399 (("temporary.* < 1\\.3")
8400 "temporary >= 1.1 && < 1.4")))))))
8402 `(("ghc-cereal" ,ghc-cereal)
8403 ("ghc-data-default-class"
8404 ,ghc-data-default-class)
8405 ("ghc-quickcheck" ,ghc-quickcheck)
8406 ("ghc-temporary" ,ghc-temporary)))
8408 `(("hspec-discover" ,hspec-discover)
8409 ("ghc-hspec" ,ghc-hspec)))
8410 (home-page "https://github.com/mrkkrp/wave")
8411 (synopsis "Work with WAVE and RF64 files in Haskell")
8412 (description "This package allows you to work with WAVE and RF64
8414 (license license:bsd-3)))
8416 (define-public ghc-hslogger
8418 (name "ghc-hslogger")
8423 (uri (string-append "https://hackage.haskell.org/package/"
8424 "hslogger-" version "/" "hslogger-"
8427 "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp"))))
8428 (build-system haskell-build-system)
8430 `(("ghc-network" ,ghc-network)
8431 ("ghc-old-locale" ,ghc-old-locale)))
8433 `(("ghc-hunit" ,ghc-hunit)))
8434 (home-page "https://software.complete.org/hslogger")
8435 (synopsis "Logging framework for Haskell, similar to Python's logging module")
8436 (description "Hslogger lets each log message have a priority and source be
8437 associated with it. The programmer can then define global handlers that route
8438 or filter messages based on the priority and source. It also has a syslog
8440 (license license:bsd-3)))
8442 (define-public ghc-unexceptionalio
8444 (name "ghc-unexceptionalio")
8449 (uri (string-append "https://hackage.haskell.org/package/"
8450 "unexceptionalio-" version "/" "unexceptionalio-"
8452 (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p"))))
8453 (build-system haskell-build-system)
8454 (home-page "https://github.com/singpolyma/unexceptionalio")
8455 (synopsis "IO without any non-error, synchronous exceptions")
8456 (description "When you've caught all the exceptions that can be
8457 handled safely, this is what you're left with.")
8458 (license license:isc)))
8460 (define-public ghc-json
8467 (uri (string-append "https://hackage.haskell.org/package/json/"
8468 "json-" version ".tar.gz"))
8471 "13kkfgx58z18jphbg56jn08jn72wi3kvfndlwwx87hqwg7x1dfz6"))))
8472 (build-system haskell-build-system)
8474 `(("ghc-syb" ,ghc-syb)
8475 ("ghc-text" ,ghc-text)
8476 ("ghc-parsec" ,ghc-parsec)))
8477 (home-page "https://hackage.haskell.org/package/json")
8478 (synopsis "Serializes Haskell data to and from JSON")
8479 (description "This package provides a parser and pretty printer for
8480 converting between Haskell values and JSON.
8481 JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
8482 (license license:bsd-3)))
8484 (define-public ghc-esqueleto
8485 (let ((version "2.5.3")
8487 (commit "b81e0d951e510ebffca03c5a58658ad884cc6fbd"))
8489 (name "ghc-esqueleto")
8490 (version (git-version version revision commit))
8495 (url "https://github.com/bitemyapp/esqueleto")
8497 (file-name (git-file-name name version))
8500 "0lz1qxms7cfg5p3j37inlych0r2fwhm8xbarcys3df9m7jy9nixa"))))
8501 (build-system haskell-build-system)
8503 `(#:haddock? #f ; Haddock reports an internal error.
8505 (modify-phases %standard-phases
8506 ;; This package normally runs tests for the MySQL, PostgreSQL, and
8507 ;; SQLite backends. Since we only have Haskell packages for
8508 ;; SQLite, we remove the other two test suites. FIXME: Add the
8509 ;; other backends and run all three test suites.
8510 (add-before 'configure 'remove-non-sqlite-test-suites
8512 (use-modules (ice-9 rdelim))
8513 (with-atomic-file-replacement "esqueleto.cabal"
8515 (let loop ((line (read-line in 'concat)) (deleting? #f))
8517 ((eof-object? line) #t)
8518 ((string-every char-set:whitespace line)
8519 (unless deleting? (display line out))
8520 (loop (read-line in 'concat) #f))
8521 ((member line '("test-suite mysql\n"
8522 "test-suite postgresql\n"))
8523 (loop (read-line in 'concat) #t))
8525 (unless deleting? (display line out))
8526 (loop (read-line in 'concat) deleting?)))))))))))
8528 `(("ghc-blaze-html" ,ghc-blaze-html)
8529 ("ghc-conduit" ,ghc-conduit)
8530 ("ghc-monad-logger" ,ghc-monad-logger)
8531 ("ghc-persistent" ,ghc-persistent)
8532 ("ghc-resourcet" ,ghc-resourcet)
8533 ("ghc-tagged" ,ghc-tagged)
8534 ("ghc-text" ,ghc-text)
8535 ("ghc-unliftio" ,ghc-unliftio)
8536 ("ghc-unordered-containers" ,ghc-unordered-containers)))
8538 `(("ghc-hspec" ,ghc-hspec)
8539 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
8540 ("ghc-persistent-template" ,ghc-persistent-template)))
8541 (home-page "https://github.com/bitemyapp/esqueleto")
8542 (synopsis "Type-safe embedded domain specific language for SQL queries")
8543 (description "This library provides a type-safe embedded domain specific
8544 language (EDSL) for SQL queries that works with SQL backends as provided by
8545 @code{ghc-persistent}. Its language closely resembles SQL, so you don't have
8546 to learn new concepts, just new syntax, and it's fairly easy to predict the
8547 generated SQL and optimize it for your backend.")
8548 (license license:bsd-3))))
8550 (define-public shellcheck
8558 "https://hackage.haskell.org/package/ShellCheck/ShellCheck-"
8562 "0z1hscbr11hwkq8k1v0vaa947hb9m6k4cm831jk1gpj8dxrk151b"))
8563 (file-name (string-append name "-" version ".tar.gz"))))
8564 (build-system haskell-build-system)
8566 `(("ghc-aeson" ,ghc-aeson)
8567 ("ghc-quickcheck" ,ghc-quickcheck)
8568 ("ghc-parsec" ,ghc-parsec)
8569 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
8570 (home-page "https://github.com/koalaman/shellcheck")
8571 (synopsis "Static analysis for shell scripts")
8572 (description "@code{shellcheck} provides static analysis for
8573 @command{bash} and @command{sh} shell scripts.
8574 It gives warnings and suggestions in order to:
8577 @item Point out and clarify typical beginner's syntax issues that cause
8578 a shell to give cryptic error messages.
8579 @item Point out and clarify typical intermediate level semantic problems
8580 that cause a shell to behave strangely and counter-intuitively.
8581 @item Point out subtle caveats, corner cases and pitfalls that may cause an
8582 advanced user's otherwise working script to fail under future circumstances.
8584 (license license:gpl3+)))
8586 (define-public ghc-simple-sendfile
8588 (name "ghc-simple-sendfile")
8593 (uri (string-append "https://hackage.haskell.org/package/"
8594 "simple-sendfile-" version "/"
8595 "simple-sendfile-" version ".tar.gz"))
8598 "1bwwqzcm56m2w4ymsa054sxmpbj76h9pvb0jf8zxp8lr41cp51gn"))))
8599 (build-system haskell-build-system)
8601 `(("ghc-conduit" ,ghc-conduit)
8602 ("ghc-conduit-extra" ,ghc-conduit-extra)
8603 ("ghc-network" ,ghc-network)
8604 ("ghc-resourcet" ,ghc-resourcet)))
8606 `(("ghc-hspec" ,ghc-hspec)
8607 ("hspec-discover" ,hspec-discover)))
8608 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
8609 (synopsis "Cross platform library for the sendfile system call")
8610 (description "This library tries to call minimum system calls which
8611 are the bottleneck of web servers.")
8612 (license license:bsd-3)))
8614 (define-public ghc-hex
8621 (uri (string-append "https://hackage.haskell.org/package/"
8623 "hex-" version ".tar.gz"))
8626 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
8627 (build-system haskell-build-system)
8628 (home-page "https://hackage.haskell.org/package/hex")
8629 (synopsis "Convert strings into hexadecimal and back")
8630 (description "This package provides conversion functions between
8631 bytestrings and their hexademical representation.")
8632 (license license:bsd-3)))
8634 (define-public ghc-psqueues
8636 (name "ghc-psqueues")
8641 (uri (string-append "https://hackage.haskell.org/package/"
8642 "psqueues-" version "/"
8643 "psqueues-" version ".tar.gz"))
8646 "1sjgc9bxh63kkdp59nbirx3xazr02ia5yhp4f4a0jnq1hj465wsc"))))
8647 (build-system haskell-build-system)
8649 `(("ghc-hashable" ,ghc-hashable)))
8651 `(("ghc-hunit" ,ghc-hunit)
8652 ("ghc-quickcheck" ,ghc-quickcheck)
8653 ("ghc-tagged" ,ghc-tagged)
8654 ("ghc-test-framework" ,ghc-test-framework)
8655 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8656 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8657 (home-page "https://github.com/jaspervdj/psqueues")
8658 (synopsis "Pure priority search queues")
8659 (description "The psqueues package provides
8660 @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
8661 three different flavors:
8664 @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
8665 fast insertion, deletion and lookup. This implementation is based on Ralf
8666 Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
8667 Implementation Technique for Priority Search Queues}.
8669 Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
8670 PSQueue} library, although it is considerably faster and provides a slightly
8673 @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
8674 key type to @code{Int} and uses a
8675 @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
8676 with an additional min-heap property.
8678 @item @code{HashPSQ k p v} is a fairly straightforward extension
8679 of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
8680 @code{IntPSQ}. If there are any hash collisions, it uses an
8681 @code{OrdPSQ} to resolve those. The performance of this implementation
8682 is comparable to that of @code{IntPSQ}, but it is more widely
8683 applicable since the keys are not restricted to @code{Int},
8684 but rather to any @code{Hashable} datatype.
8687 Each of the three implementations provides the same API, so they can
8688 be used interchangeably.
8690 Typical applications of Priority Search Queues include:
8693 @item Caches, and more specifically LRU Caches;
8695 @item Pathfinding algorithms, such as Dijkstra's and A*.
8697 (license license:bsd-3)))
8699 (define-public ghc-glob
8706 (uri (string-append "https://hackage.haskell.org/package/"
8708 "Glob-" version ".tar.gz"))
8711 "1rbwcq9w9951qsnp13vqcm9r01yax2yh1wk8s4zxa3ckk9717iwg"))))
8712 (build-system haskell-build-system)
8714 `(("ghc-dlist" ,ghc-dlist)
8715 ("ghc-semigroups" ,ghc-semigroups)
8716 ("ghc-transformers-compat" ,ghc-transformers-compat)))
8718 `(("ghc-hunit" ,ghc-hunit)
8719 ("ghc-quickcheck" ,ghc-quickcheck)
8720 ("ghc-test-framework" ,ghc-test-framework)
8721 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8722 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8723 (home-page "http://iki.fi/matti.niemenmaa/glob/")
8724 (synopsis "Haskell library matching glob patterns against file paths")
8725 (description "This package provides a Haskell library for @dfn{globbing}:
8726 matching patterns against file paths.")
8727 (license license:bsd-3)))
8729 (define-public ghc-errors
8736 (uri (string-append "https://hackage.haskell.org/package/"
8737 "errors-" version "/"
8738 "errors-" version ".tar.gz"))
8741 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
8742 (build-system haskell-build-system)
8744 `(("ghc-exceptions" ,ghc-exceptions)
8745 ("ghc-text" ,ghc-text)
8746 ("ghc-transformers-compat" ,ghc-transformers-compat)
8747 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
8748 ("ghc-safe" ,ghc-safe)))
8749 (home-page "https://github.com/gabriel439/haskell-errors-library")
8750 (synopsis "Error handling library for Haskell")
8751 (description "This library encourages an error-handling style that
8752 directly uses the type system, rather than out-of-band exceptions.")
8753 (license license:bsd-3)))
8755 (define-public ghc-vector-th-unbox
8757 (name "ghc-vector-th-unbox")
8762 (uri (string-append "https://hackage.haskell.org/package/"
8763 "vector-th-unbox-" version "/"
8764 "vector-th-unbox-" version ".tar.gz"))
8767 "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy"))))
8768 (build-system haskell-build-system)
8770 `(("ghc-vector" ,ghc-vector)
8771 ("ghc-data-default" ,ghc-data-default)))
8772 (home-page "https://github.com/liyang/vector-th-unbox")
8773 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
8774 (description "This Haskell library provides a Template Haskell
8775 deriver for unboxed vectors, given a pair of coercion functions to
8776 and from some existing type with an Unbox instance.")
8777 (license license:bsd-3)))
8779 (define-public ghc-erf
8786 (uri (string-append "https://hackage.haskell.org/package/"
8788 "erf-" version ".tar.gz"))
8791 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
8792 (build-system haskell-build-system)
8793 (home-page "https://hackage.haskell.org/package/erf")
8794 (synopsis "The error function, erf, and related functions for Haskell")
8795 (description "This Haskell library provides a type class for the
8796 error function, erf, and related functions. Instances for Float and
8798 (license license:bsd-3)))
8800 (define-public ghc-math-functions
8802 (name "ghc-math-functions")
8807 (uri (string-append "https://hackage.haskell.org/package/"
8808 "math-functions-" version "/"
8809 "math-functions-" version ".tar.gz"))
8812 "1sv5vabsx332v1lpb6v3jv4zrzvpx1n7yprzd8wlcda5vsc5a6zp"))))
8813 (build-system haskell-build-system)
8814 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
8816 `(("ghc-vector" ,ghc-vector)
8817 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
8819 `(("ghc-hunit" ,ghc-hunit)
8820 ("ghc-quickcheck" ,ghc-quickcheck)
8821 ("ghc-erf" ,ghc-erf)
8822 ("ghc-test-framework" ,ghc-test-framework)
8823 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8824 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8825 (home-page "https://github.com/bos/math-functions")
8826 (synopsis "Special functions and Chebyshev polynomials for Haskell")
8827 (description "This Haskell library provides implementations of
8828 special mathematical functions and Chebyshev polynomials. These
8829 functions are often useful in statistical and numerical computing.")
8830 (license license:bsd-3)))
8832 (define-public ghc-mwc-random
8834 (name "ghc-mwc-random")
8835 (version "0.13.6.0")
8839 (uri (string-append "https://hackage.haskell.org/package/"
8840 "mwc-random-" version "/"
8841 "mwc-random-" version ".tar.gz"))
8844 "05j7yh0hh9nxic3dijmzv44kc6gzclvamdph7sq7w19wq57k6pq6"))))
8845 (build-system haskell-build-system)
8847 `(("ghc-primitive" ,ghc-primitive)
8848 ("ghc-vector" ,ghc-vector)
8849 ("ghc-math-functions" ,ghc-math-functions)))
8851 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8853 `(("ghc-hunit" ,ghc-hunit)
8854 ("ghc-quickcheck" ,ghc-quickcheck)
8855 ("ghc-test-framework" ,ghc-test-framework)
8856 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8857 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8858 (home-page "https://github.com/bos/mwc-random")
8859 (synopsis "Random number generation library for Haskell")
8860 (description "This Haskell package contains code for generating
8861 high quality random numbers that follow either a uniform or normal
8862 distribution. The generated numbers are suitable for use in
8863 statistical applications.
8865 The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
8866 multiply-with-carry generator, which has a period of 2^{8222} and
8867 fares well in tests of randomness. It is also extremely fast,
8868 between 2 and 3 times faster than the Mersenne Twister.")
8869 (license license:bsd-3)))
8871 (define-public ghc-vector-algorithms
8873 (name "ghc-vector-algorithms")
8878 (uri (string-append "https://hackage.haskell.org/package/"
8879 "vector-algorithms-" version "/"
8880 "vector-algorithms-" version ".tar.gz"))
8883 "0mfa8ig9v69l41p2vb5jl4qmaln5y1rlzarr2mlgm8g1nvq8qqdg"))))
8884 (build-system haskell-build-system)
8886 `(("ghc-vector" ,ghc-vector)))
8888 `(("ghc-quickcheck" ,ghc-quickcheck)))
8889 (home-page "https://github.com/bos/math-functions")
8890 (synopsis "Algorithms for vector arrays in Haskell")
8891 (description "This Haskell library algorithms for vector arrays.")
8892 (license license:bsd-3)))
8894 (define-public ghc-language-haskell-extract
8896 (name "ghc-language-haskell-extract")
8901 (uri (string-append "https://hackage.haskell.org/package/"
8902 "language-haskell-extract-" version "/"
8903 "language-haskell-extract-" version ".tar.gz"))
8906 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
8907 (build-system haskell-build-system)
8909 `(("ghc-regex-posix" ,ghc-regex-posix)))
8910 (home-page "https://github.com/finnsson/template-helper")
8911 (synopsis "Haskell module to automatically extract functions from
8913 (description "This package contains helper functions on top of
8916 For example, @code{functionExtractor} extracts all functions after a
8917 regexp-pattern, which can be useful if you wish to extract all functions
8918 beginning with @code{test} (for a test framework) or all functions beginning
8919 with @code{wc} (for a web service).")
8920 (license license:bsd-3)))
8922 (define-public ghc-abstract-par
8924 (name "ghc-abstract-par")
8929 (uri (string-append "https://hackage.haskell.org/package/"
8930 "abstract-par-" version "/"
8931 "abstract-par-" version ".tar.gz"))
8934 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
8935 (build-system haskell-build-system)
8936 (home-page "https://github.com/simonmar/monad-par")
8937 (synopsis "Abstract parallelization interface for Haskell")
8938 (description "This Haskell package is an abstract interface
8939 only. It provides a number of type clasess, but not an
8940 implementation. The type classes separate different levels
8941 of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
8942 module for more details.")
8943 (license license:bsd-3)))
8945 (define-public ghc-monad-par-extras
8947 (name "ghc-monad-par-extras")
8952 (uri (string-append "https://hackage.haskell.org/package/"
8953 "monad-par-extras-" version "/"
8954 "monad-par-extras-" version ".tar.gz"))
8957 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
8958 (build-system haskell-build-system)
8959 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8960 ("ghc-cereal" ,ghc-cereal)
8961 ("ghc-random" ,ghc-random)))
8962 (home-page "https://github.com/simonmar/monad-par")
8963 (synopsis "Combinators and extra features for Par monads for Haskell")
8964 (description "This Haskell package provides additional data structures,
8965 and other added capabilities layered on top of the @code{Par} monad.")
8966 (license license:bsd-3)))
8968 (define-public ghc-abstract-deque
8970 (name "ghc-abstract-deque")
8975 (uri (string-append "https://hackage.haskell.org/package/"
8976 "abstract-deque-" version "/"
8977 "abstract-deque-" version ".tar.gz"))
8980 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
8981 (build-system haskell-build-system)
8982 (inputs `(("ghc-random" ,ghc-random)))
8983 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
8984 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
8985 (description "This Haskell package provides an abstract interface to
8986 highly-parameterizable queues/deques.
8988 Background: There exists a feature space for queues that extends between:
8991 @item Simple, single-ended, non-concurrent, bounded queues
8993 @item Double-ended, thread-safe, growable queues with important points
8994 in between (such as the queues used for work stealing).
8997 This package includes an interface for Deques that allows the programmer
8998 to use a single API for all of the above, while using the type system to
8999 select an efficient implementation given the requirements (using type families).
9001 This package also includes a simple reference implementation based on
9002 @code{IORef} and @code{Data.Sequence}.")
9003 (license license:bsd-3)))
9005 (define-public ghc-monad-par
9007 (name "ghc-monad-par")
9012 (uri (string-append "https://hackage.haskell.org/package/"
9013 "monad-par-" version "/"
9014 "monad-par-" version ".tar.gz"))
9017 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
9018 (build-system haskell-build-system)
9019 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
9020 ("ghc-abstract-deque" ,ghc-abstract-deque)
9021 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
9022 ("ghc-mwc-random" ,ghc-mwc-random)
9023 ("ghc-parallel" ,ghc-parallel)))
9024 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
9025 ("ghc-hunit" ,ghc-hunit)
9026 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
9027 ("ghc-test-framework-quickcheck2"
9028 ,ghc-test-framework-quickcheck2)
9029 ("ghc-test-framework" ,ghc-test-framework)
9030 ("ghc-test-framework-th" ,ghc-test-framework-th)))
9031 (home-page "https://github.com/simonmar/monad-par")
9032 (synopsis "Haskell library for parallel programming based on a monad")
9033 (description "The @code{Par} monad offers an API for parallel
9034 programming. The library works for parallelising both pure and @code{IO}
9035 computations, although only the pure version is deterministic. The default
9036 implementation provides a work-stealing scheduler and supports forking tasks
9037 that are much lighter weight than IO-threads.")
9038 (license license:bsd-3)))
9040 (define-public ghc-statistics
9042 (name "ghc-statistics")
9043 (version "0.14.0.2")
9047 (uri (string-append "https://hackage.haskell.org/package/"
9048 "statistics-" version "/"
9049 "statistics-" version ".tar.gz"))
9052 "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l"))))
9053 (build-system haskell-build-system)
9056 ("2" "1bx70yqkn62ii17fjv3pig4hklrzkqd09zj67zzjiyjzmn04fir3")
9057 ;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse".
9060 `(("ghc-aeson" ,ghc-aeson)
9061 ("ghc-base-orphans" ,ghc-base-orphans)
9062 ("ghc-erf" ,ghc-erf)
9063 ("ghc-math-functions" ,ghc-math-functions)
9064 ("ghc-monad-par" ,ghc-monad-par)
9065 ("ghc-mwc-random" ,ghc-mwc-random)
9066 ("ghc-primitive" ,ghc-primitive)
9067 ("ghc-vector" ,ghc-vector)
9068 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
9069 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
9070 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
9072 `(("ghc-hunit" ,ghc-hunit)
9073 ("ghc-quickcheck" ,ghc-quickcheck)
9074 ("ghc-ieee754" ,ghc-ieee754)
9075 ("ghc-test-framework" ,ghc-test-framework)
9076 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
9077 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
9078 (home-page "https://github.com/bos/mwc-random")
9079 (synopsis "Haskell library of statistical types, data, and functions")
9080 (description "This library provides a number of common functions
9081 and types useful in statistics. We focus on high performance, numerical
9082 robustness, and use of good algorithms. Where possible, we provide references
9083 to the statistical literature.
9085 The library's facilities can be divided into four broad categories:
9088 @item Working with widely used discrete and continuous probability
9089 distributions. (There are dozens of exotic distributions in use; we focus
9090 on the most common.)
9092 @item Computing with sample data: quantile estimation, kernel density
9093 estimation, histograms, bootstrap methods, significance testing,
9094 and regression and autocorrelation analysis.
9096 @item Random variate generation under several different distributions.
9098 @item Common statistical tests for significant differences between samples.
9100 (license license:bsd-2)))
9102 (define-public ghc-chunked-data
9104 (name "ghc-chunked-data")
9109 (uri (string-append "https://hackage.haskell.org/package/"
9110 "chunked-data-" version "/"
9111 "chunked-data-" version ".tar.gz"))
9114 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
9115 (build-system haskell-build-system)
9116 (inputs `(("ghc-vector" ,ghc-vector)
9117 ("ghc-semigroups" ,ghc-semigroups)
9118 ("ghc-text" ,ghc-text)))
9119 (home-page "https://github.com/snoyberg/mono-traversable")
9120 (synopsis "Typeclasses for dealing with various chunked data
9121 representations for Haskell")
9122 (description "This Haskell package was originally present in
9124 (license license:expat)))
9126 (define-public ghc-base-prelude
9128 (name "ghc-base-prelude")
9133 (uri (string-append "https://hackage.haskell.org/package/"
9134 "base-prelude-" version "/"
9135 "base-prelude-" version ".tar.gz"))
9138 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
9139 (build-system haskell-build-system)
9140 (home-page "https://github.com/nikita-volkov/base-prelude")
9141 (synopsis "The most complete prelude formed solely from the Haskell's base
9143 (description "This Haskell package aims to reexport all the non-conflicting
9144 and most general definitions from the \"base\" package.
9146 This includes APIs for applicatives, arrows, monoids, foldables, traversables,
9147 exceptions, generics, ST, MVars and STM.
9149 This package will never have any dependencies other than \"base\".
9153 The versioning policy of this package deviates from PVP in the sense
9154 that its exports in part are transitively determined by the version of \"base\".
9155 Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
9156 the bounds of \"base\" as well.")
9157 (license license:expat)))
9159 (define-public ghc-tuple-th
9161 (name "ghc-tuple-th")
9166 (uri (string-append "https://hackage.haskell.org/package/"
9167 "tuple-th-" version "/"
9168 "tuple-th-" version ".tar.gz"))
9171 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
9172 (build-system haskell-build-system)
9173 (home-page "https://github.com/DanielSchuessler/tuple-th")
9174 (synopsis "Generate utility functions for tuples of statically known size
9176 (description "This Haskell package contains Template Haskell functions for
9177 generating functions similar to those in @code{Data.List} for tuples of
9178 statically known size.")
9179 (license license:bsd-3)))
9181 (define-public ghc-contravariant-extras
9183 (name "ghc-contravariant-extras")
9188 (uri (string-append "https://hackage.haskell.org/package/"
9189 "contravariant-extras-" version "/"
9190 "contravariant-extras-" version ".tar.gz"))
9193 "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n"))))
9194 (build-system haskell-build-system)
9196 `(("ghc-tuple-th" ,ghc-tuple-th)
9197 ("ghc-contravariant" ,ghc-contravariant)
9198 ("ghc-base-prelude" ,ghc-base-prelude)
9199 ("ghc-semigroups" ,ghc-semigroups)))
9200 (home-page "https://github.com/nikita-volkov/contravariant-extras")
9201 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
9202 (description "This Haskell package provides extras for the
9203 @code{ghc-contravariant} package.")
9204 (license license:expat)))
9206 (define-public ghc-monadrandom
9208 (name "ghc-monadrandom")
9213 (uri (string-append "https://hackage.haskell.org/package/"
9214 "MonadRandom-" version "/"
9215 "MonadRandom-" version ".tar.gz"))
9218 "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb"))))
9219 (build-system haskell-build-system)
9220 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
9221 ("ghc-primitive" ,ghc-primitive)
9222 ("ghc-fail" ,ghc-fail)
9223 ("ghc-random" ,ghc-random)))
9224 (home-page "https://github.com/byorgey/MonadRandom")
9225 (synopsis "Random-number generation monad for Haskell")
9226 (description "This Haskell package provides support for computations
9227 which consume random values.")
9228 (license license:bsd-3)))
9230 (define-public ghc-either
9237 (uri (string-append "https://hackage.haskell.org/package/"
9238 "either-" version "/"
9239 "either-" version ".tar.gz"))
9242 "064hjfld7dkzs78sy30k5qkiva3hx24rax6dvzz5ygr2c0zypdkc"))))
9243 (build-system haskell-build-system)
9244 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
9245 ("ghc-exceptions" ,ghc-exceptions)
9246 ("ghc-free" ,ghc-free)
9247 ("ghc-monad-control" ,ghc-monad-control)
9248 ("ghc-manodrandom" ,ghc-monadrandom)
9249 ("ghc-mmorph" ,ghc-mmorph)
9250 ("ghc-profunctors" ,ghc-profunctors)
9251 ("ghc-semigroups" ,ghc-semigroups)
9252 ("ghc-semigroupoids" ,ghc-semigroupoids)
9253 ("ghc-transformers-base" ,ghc-transformers-base)))
9255 `(("ghc-quickcheck" ,ghc-quickcheck)
9256 ("ghc-test-framework" ,ghc-test-framework)
9257 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
9258 (home-page "https://github.com/ekmett/either")
9259 (synopsis "Provides an either monad transformer for Haskell")
9260 (description "This Haskell package provides an either monad transformer.")
9261 (license license:bsd-3)))
9263 (define-public ghc-pretty-hex
9265 (name "ghc-pretty-hex")
9270 (uri (string-append "https://hackage.haskell.org/package/"
9271 "pretty-hex-" version "/"
9272 "pretty-hex-" version ".tar.gz"))
9275 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
9276 (build-system haskell-build-system)
9277 (home-page "https://github.com/GaloisInc/hexdump")
9278 (synopsis "Haskell library for hex dumps of ByteStrings")
9279 (description "This Haskell library generates pretty hex dumps of
9280 ByteStrings in the style of other common *nix hex dump tools.")
9281 (license license:bsd-3)))
9283 (define-public ghc-network-info
9285 (name "ghc-network-info")
9286 (version "0.2.0.10")
9290 (uri (string-append "https://hackage.haskell.org/package/"
9291 "network-info-" version "/"
9292 "network-info-" version ".tar.gz"))
9295 "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n"))))
9296 (build-system haskell-build-system)
9297 (home-page "https://github.com/jystic/network-info")
9298 (synopsis "Access the local computer's basic network configuration")
9299 (description "This Haskell library provides simple read-only access to the
9300 local computer's networking configuration. It is currently capable of
9301 getting a list of all the network interfaces and their respective
9302 IPv4, IPv6 and MAC addresses.")
9303 (license license:bsd-3)))
9305 (define-public ghc-uuid-types
9307 (name "ghc-uuid-types")
9312 (uri (string-append "https://hackage.haskell.org/package/"
9313 "uuid-types-" version "/"
9314 "uuid-types-" version ".tar.gz"))
9317 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
9318 (build-system haskell-build-system)
9321 (modify-phases %standard-phases
9322 (add-before 'configure 'strip-test-framework-constraints
9324 (substitute* "uuid-types.cabal"
9325 (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
9326 (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
9327 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
9328 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
9329 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
9330 (inputs `(("ghc-hashable" ,ghc-hashable)
9331 ("ghc-random" ,ghc-random)
9332 ("ghc-text" ,ghc-text)))
9333 (native-inputs `(("ghc-hunit" ,ghc-hunit)
9334 ("ghc-quickcheck" ,ghc-quickcheck)
9335 ("ghc-tasty" ,ghc-tasty)
9336 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9337 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
9338 (home-page "https://github.com/hvr/uuid")
9339 (synopsis "Haskell type definitions for UUIDs")
9340 (description "This Haskell library contains type definitions for
9341 @dfn{Universally Unique Identifiers} or
9342 @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
9344 (license license:bsd-3)))
9346 (define-public ghc-uuid
9353 (uri (string-append "https://hackage.haskell.org/package/"
9355 "uuid-" version ".tar.gz"))
9358 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
9359 (build-system haskell-build-system)
9362 ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
9364 (modify-phases %standard-phases
9365 (add-before 'configure 'strip-test-framework-constraints
9367 (substitute* "uuid.cabal"
9368 (("HUnit >= 1\\.2 && < 1\\.4") "HUnit")
9369 (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck")
9370 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
9371 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
9372 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
9373 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
9374 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
9375 ("ghc-entropy" ,ghc-entropy)
9376 ("ghc-network-info" ,ghc-network-info)
9377 ("ghc-random" ,ghc-random)
9378 ("ghc-text" ,ghc-text)
9379 ("ghc-uuid-types" ,ghc-uuid-types)))
9380 (native-inputs `(("ghc-hunit" ,ghc-hunit)
9381 ("ghc-quickcheck" ,ghc-quickcheck)
9382 ("ghc-tasty" ,ghc-tasty)
9383 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9384 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
9385 (home-page "https://github.com/hvr/uuid")
9386 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
9387 (description "This Haskell library provides utilities creating, comparing,
9388 parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
9389 (license license:bsd-3)))
9391 (define-public ghc-rebase
9398 (uri (string-append "https://hackage.haskell.org/package/"
9399 "rebase-" version "/"
9400 "rebase-" version ".tar.gz"))
9403 "1gah2qwfpzwamnikbc5h4nv6dgvv9h16di9ka7946za3nibyasya"))))
9404 (build-system haskell-build-system)
9405 (inputs `(("ghc-stm" ,ghc-stm)
9406 ("ghc-hashable" ,ghc-hashable)
9407 ("ghc-vector" ,ghc-vector)
9408 ("ghc-unordered-containers" ,ghc-unordered-containers)
9409 ("ghc-text" ,ghc-text)
9410 ("ghc-scientific" ,ghc-scientific)
9411 ("ghc-uuid" ,ghc-uuid)
9412 ("ghc-dlist" ,ghc-dlist)
9413 ("ghc-void" ,ghc-void)
9414 ("ghc-bifunctors" ,ghc-bifunctors)
9415 ("ghc-profunctors" ,ghc-profunctors)
9416 ("ghc-contravariant" ,ghc-contravariant)
9417 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
9418 ("ghc-semigroups" ,ghc-semigroups)
9419 ("ghc-either" ,ghc-either)
9420 ("ghc-fail" ,ghc-fail)
9421 ("ghc-base-prelude" ,ghc-base-prelude)))
9422 (home-page "https://github.com/nikita-volkov/rebase")
9423 (synopsis "Progressive alternative to the base package
9425 (description "This Haskell package is intended for those who are
9426 tired of keeping long lists of dependencies to the same essential libraries
9427 in each package as well as the endless imports of the same APIs all over again.
9429 It also supports the modern tendencies in the language.
9431 To solve those problems this package does the following:
9434 @item Reexport the original APIs under the @code{Rebase} namespace.
9436 @item Export all the possible non-conflicting symbols from the
9437 @code{Rebase.Prelude} module.
9439 @item Give priority to the modern practices in the conflicting cases.
9442 The policy behind the package is only to reexport the non-ambiguous and
9443 non-controversial APIs, which the community has obviously settled on.
9444 The package is intended to rapidly evolve with the contribution from
9445 the community, with the missing features being added with pull-requests.")
9446 (license license:expat)))
9448 (define-public ghc-rerebase
9450 (name "ghc-rerebase")
9456 "https://hackage.haskell.org/package/rerebase/rerebase-"
9460 "11v6rmz7ql2rdx6mhb3lsal952lwihclfhh0m7fcnii5br0906ks"))))
9461 (build-system haskell-build-system)
9463 `(("ghc-rebase" ,ghc-rebase)))
9464 (home-page "https://github.com/nikita-volkov/rerebase")
9465 (synopsis "Reexports from ``base'' with many other standard libraries")
9466 (description "A rich drop-in replacement for @code{base}. For details and
9467 documentation please visit @uref{https://github.com/nikita-volkov/rerebase,
9468 the project's home page}.")
9469 (license license:expat)))
9471 (define-public ghc-vector-builder
9473 (name "ghc-vector-builder")
9478 (uri (string-append "https://hackage.haskell.org/package/"
9479 "vector-builder-" version "/"
9480 "vector-builder-" version ".tar.gz"))
9483 "06d2pa1fb3ydrl7l6rjazqyxv5i73v65x2f5fp0ypjxfbm6jsmn8"))))
9484 (build-system haskell-build-system)
9485 (inputs `(("ghc-vector" ,ghc-vector)
9486 ("ghc-semigroups" ,ghc-semigroups)
9487 ("ghc-base-prelude" ,ghc-base-prelude)))
9488 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9489 ("ghc-tasty" ,ghc-tasty)
9490 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9491 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9492 ("ghc-hunit" ,ghc-hunit)
9493 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9494 ("ghc-rerebase" ,ghc-rerebase)))
9495 (home-page "https://github.com/nikita-volkov/vector-builder")
9496 (synopsis "Vector builder for Haskell")
9497 (description "This Haskell package provides an API for constructing vectors.
9498 It provides the composable @code{Builder} abstraction, which has instances of the
9499 @code{Monoid} and @code{Semigroup} classes.
9501 You would first use the @code{Builder} abstraction to specify the structure of
9502 the vector; then you can execute the builder to actually produce the
9504 (license license:expat)))
9506 (define-public ghc-foldl
9513 (uri (string-append "https://hackage.haskell.org/package/"
9514 "foldl-" version "/"
9515 "foldl-" version ".tar.gz"))
9518 "13n0ca3hw5jzqf6rxsdbhbwkn61a9zlm13f0f205s60j3sc72jzk"))))
9519 (build-system haskell-build-system)
9520 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
9521 ("ghc-primitive" ,ghc-primitive)
9522 ("ghc-text" ,ghc-text)
9523 ("ghc-vector" ,ghc-vector)
9524 ("ghc-unordered-containers" ,ghc-unordered-containers)
9525 ("ghc-hashable" ,ghc-hashable)
9526 ("ghc-contravariant" ,ghc-contravariant)
9527 ("ghc-semigroups" ,ghc-semigroups)
9528 ("ghc-profunctors" ,ghc-profunctors)
9529 ("ghc-semigroupoids" ,ghc-semigroupoids)
9530 ("ghc-comonad" ,ghc-comonad)
9531 ("ghc-vector-builder" ,ghc-vector-builder)))
9532 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
9533 (synopsis "Composable, streaming, and efficient left folds for Haskell")
9534 (description "This Haskell library provides strict left folds that stream
9535 in constant memory, and you can combine folds using @code{Applicative} style
9536 to derive new folds. Derived folds still traverse the container just once
9537 and are often as efficient as hand-written folds.")
9538 (license license:bsd-3)))
9540 (define-public ghc-mono-traversable
9542 (name "ghc-mono-traversable")
9547 (uri (string-append "https://hackage.haskell.org/package/"
9548 "mono-traversable-" version "/"
9549 "mono-traversable-" version ".tar.gz"))
9552 "0180ks0dyvpk1r20w5jw2w2n79mjnk69n9vhspaxzlyxqgim5psa"))))
9553 (build-system haskell-build-system)
9554 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
9555 ("ghc-hashable" ,ghc-hashable)
9556 ("ghc-text" ,ghc-text)
9557 ("ghc-vector" ,ghc-vector)
9558 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
9559 ("ghc-split" ,ghc-split)))
9560 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9561 ("ghc-hunit" ,ghc-hunit)
9562 ("ghc-quickcheck" ,ghc-quickcheck)
9563 ("ghc-semigroups" ,ghc-semigroups)
9564 ("ghc-foldl" ,ghc-foldl)))
9565 (home-page "https://github.com/snoyberg/mono-traversable")
9566 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
9568 (description "This Haskell package provides Monomorphic variants of the
9569 Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
9570 basic typeclasses, you understand mono-traversable. In addition to what
9571 you are used to, it adds on an IsSequence typeclass and has code for marking
9572 data structures as non-empty.")
9573 (license license:expat)))
9575 (define-public ghc-conduit-combinators
9577 (name "ghc-conduit-combinators")
9582 (uri (string-append "https://hackage.haskell.org/package/"
9583 "conduit-combinators-" version "/"
9584 "conduit-combinators-" version ".tar.gz"))
9587 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
9588 (build-system haskell-build-system)
9589 (inputs `(("ghc-conduit" ,ghc-conduit)
9590 ("ghc-conduit-extra" ,ghc-conduit-extra)
9591 ("ghc-transformers-base" ,ghc-transformers-base)
9592 ("ghc-primitive" ,ghc-primitive)
9593 ("ghc-vector" ,ghc-vector)
9594 ("ghc-text" ,ghc-text)
9595 ("ghc-void" ,ghc-void)
9596 ("ghc-mwc-random" ,ghc-mwc-random)
9597 ("ghc-unix-compat" ,ghc-unix-compat)
9598 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9599 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9600 ("ghc-resourcet" ,ghc-resourcet)
9601 ("ghc-monad-control" ,ghc-monad-control)
9602 ("ghc-chunked-data" ,ghc-chunked-data)
9603 ("ghc-mono-traversable" ,ghc-mono-traversable)))
9604 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9605 ("ghc-silently" ,ghc-silently)
9606 ("ghc-safe" ,ghc-safe)
9607 ("ghc-quickcheck" ,ghc-quickcheck)))
9608 (home-page "https://github.com/snoyberg/mono-traversable")
9609 (synopsis "Commonly used conduit functions, for both chunked and
9611 (description "This Haskell package provides a replacement for Data.Conduit.List,
9612 as well as a convenient Conduit module.")
9613 (license license:expat)))
9615 (define-public ghc-aws
9622 (uri (string-append "https://hackage.haskell.org/package/"
9623 "aws-" version "/aws-" version ".tar.gz"))
9625 "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0"))))
9626 (build-system haskell-build-system)
9627 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
9629 `(("ghc-aeson" ,ghc-aeson)
9630 ("ghc-attoparsec" ,ghc-attoparsec)
9631 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9632 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9633 ("ghc-blaze-builder" ,ghc-blaze-builder)
9634 ("ghc-byteable" ,ghc-byteable)
9635 ("ghc-case-insensitive" ,ghc-case-insensitive)
9636 ("ghc-cereal" ,ghc-cereal)
9637 ("ghc-conduit" ,ghc-conduit)
9638 ("ghc-conduit-extra" ,ghc-conduit-extra)
9639 ("ghc-cryptonite" ,ghc-cryptonite)
9640 ("ghc-data-default" ,ghc-data-default)
9641 ("ghc-http-conduit" ,ghc-http-conduit)
9642 ("ghc-http-types" ,ghc-http-types)
9643 ("ghc-lifted-base" ,ghc-lifted-base)
9644 ("ghc-monad-control" ,ghc-monad-control)
9645 ("ghc-network" ,ghc-network)
9646 ("ghc-old-locale" ,ghc-old-locale)
9647 ("ghc-safe" ,ghc-safe)
9648 ("ghc-scientific" ,ghc-scientific)
9649 ("ghc-tagged" ,ghc-tagged)
9650 ("ghc-text" ,ghc-text)
9651 ("ghc-unordered-containers" ,ghc-unordered-containers)
9652 ("ghc-utf8-string" ,ghc-utf8-string)
9653 ("ghc-vector" ,ghc-vector)
9654 ("ghc-xml-conduit" ,ghc-xml-conduit)))
9656 `(("ghc-quickcheck" ,ghc-quickcheck)
9657 ("ghc-errors" ,ghc-errors)
9658 ("ghc-http-client" ,ghc-http-client)
9659 ("ghc-http-client-tls" ,ghc-http-client-tls)
9660 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9661 ("ghc-tasty" ,ghc-tasty)
9662 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9663 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9664 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
9665 (home-page "https://github.com/aristidb/aws")
9666 (synopsis "Amazon Web Services for Haskell")
9667 (description "This package attempts to provide support for using
9668 Amazon Web Services like S3 (storage), SQS (queuing) and others to
9669 Haskell programmers. The ultimate goal is to support all Amazon
9671 (license license:bsd-3)))
9673 (define-public ghc-basement
9675 (name "ghc-basement")
9680 (uri (string-append "https://hackage.haskell.org/package/"
9681 "basement/basement-" version ".tar.gz"))
9684 "194jw567di4q2758943q9rrwkbf9gl261my7qc21i9xhyabipx67"))))
9685 (build-system haskell-build-system)
9686 (home-page "https://github.com/haskell-foundation/foundation")
9687 (synopsis "Basic primitives for Foundation starter pack")
9689 "This package contains basic primitives for the Foundation set of
9691 (license license:bsd-3)))
9693 (define-public ghc-foundation
9695 (name "ghc-foundation")
9700 (uri (string-append "https://hackage.haskell.org/package/"
9701 "foundation/foundation-" version ".tar.gz"))
9704 "1q43y8wfj0wf9gdq2kzphwjwq6m5pvryy1lqgk954aq5z3ks1lsf"))))
9705 (build-system haskell-build-system)
9706 (inputs `(("ghc-basement" ,ghc-basement)))
9707 (home-page "https://github.com/haskell-foundation/foundation")
9708 (synopsis "Alternative prelude with batteries and no dependencies")
9710 "This package provides a custom prelude with no dependencies apart from
9713 Foundation has the following goals:
9716 @item provide a base like sets of modules that provide a consistent set of
9717 features and bugfixes across multiple versions of GHC (unlike base).
9718 @item provide a better and more efficient prelude than base's prelude.
9719 @item be self-sufficient: no external dependencies apart from base;
9720 @item provide better data-types: packed unicode string by default, arrays;
9721 @item Numerical classes that better represent mathematical things (no more
9722 all-in-one @code{Num});
9723 @item I/O system with less lazy IO.
9725 (license license:bsd-3)))
9727 (define-public ghc-stm-chans
9729 (name "ghc-stm-chans")
9734 (uri (string-append "https://hackage.haskell.org/package/"
9735 "stm-chans-" version "/"
9736 "stm-chans-" version ".tar.gz"))
9739 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
9740 (build-system haskell-build-system)
9741 (inputs `(("ghc-stm" ,ghc-stm)))
9742 (home-page "https://hackage.haskell.org/package/stm-chans")
9743 (synopsis "Additional types of channels for ghc-stm")
9744 (description "This Haskell package offers a collection of channel types,
9745 similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
9747 (license license:bsd-3)))
9749 (define-public ghc-monad-loops
9751 (name "ghc-monad-loops")
9756 (uri (string-append "https://hackage.haskell.org/package/"
9757 "monad-loops-" version "/"
9758 "monad-loops-" version ".tar.gz"))
9761 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
9762 (build-system haskell-build-system)
9763 (native-inputs `(("ghc-tasty" ,ghc-tasty)
9764 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9765 (home-page "https://github.com/mokus0/monad-loops")
9766 (synopsis "Monadic loops for Haskell")
9767 (description "This Haskell package provides some useful control
9768 operators for looping.")
9769 (license license:public-domain)))
9771 (define-public ghc-monad-logger
9773 (name "ghc-monad-logger")
9778 (uri (string-append "https://hackage.haskell.org/package/"
9779 "monad-logger-" version "/"
9780 "monad-logger-" version ".tar.gz"))
9783 "1z516s4pa9n94zf0l45mylssg07xr1d1m6zrz900p0iv3vfd07mv"))))
9784 (build-system haskell-build-system)
9785 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
9786 ("ghc-text" ,ghc-text)
9787 ("ghc-stm" ,ghc-stm)
9788 ("ghc-stm-chans" ,ghc-stm-chans)
9789 ("ghc-lifted-base" ,ghc-lifted-base)
9790 ("ghc-resourcet" ,ghc-resourcet)
9791 ("ghc-conduit" ,ghc-conduit)
9792 ("ghc-conduit-extra" ,ghc-conduit-extra)
9793 ("ghc-fast-logger" ,ghc-fast-logger)
9794 ("ghc-transformers-base" ,ghc-transformers-base)
9795 ("ghc-monad-control" ,ghc-monad-control)
9796 ("ghc-monad-loops" ,ghc-monad-loops)
9797 ("ghc-blaze-builder" ,ghc-blaze-builder)
9798 ("ghc-exceptions" ,ghc-exceptions)))
9799 (home-page "https://github.com/kazu-yamamoto/logger")
9800 (synopsis "Provides a class of monads which can log messages for Haskell")
9801 (description "This Haskell package uses a monad transformer approach
9804 This package provides Template Haskell functions for determining source
9805 code locations of messages.")
9806 (license license:expat)))
9808 (define-public ghc-shakespeare
9810 (name "ghc-shakespeare")
9815 (uri (string-append "https://hackage.haskell.org/package/"
9816 "shakespeare-" version "/"
9817 "shakespeare-" version ".tar.gz"))
9820 "1vk4b19zvwy4mpwaq9z3l3kfmz75gfyf7alhh0y112gspgpccm23"))))
9821 (build-system haskell-build-system)
9822 (inputs `(("ghc-parsec" ,ghc-parsec)
9823 ("ghc-text" ,ghc-text)
9824 ("ghc-aeson" ,ghc-aeson)
9825 ("ghc-blaze-markup" ,ghc-blaze-markup)
9826 ("ghc-blaze-html" ,ghc-blaze-html)
9827 ("ghc-exceptions" ,ghc-exceptions)
9828 ("ghc-vector" ,ghc-vector)
9829 ("ghc-unordered-containers" ,ghc-unordered-containers)
9830 ("ghc-scientific" ,ghc-scientific)))
9831 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9832 ("ghc-hunit" ,ghc-hunit)
9833 ("hspec-discover" ,hspec-discover)))
9834 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
9835 (synopsis "Family of type-safe template languages for Haskell")
9836 (description "This Haskell package provides a family of type-safe
9837 templates with simple variable interpolation. Shakespeare templates can
9838 be used inline with a quasi-quoter or in an external file and it
9839 interpolates variables according to the type being inserted.")
9840 (license license:expat)))
9842 (define-public ghc-securemem
9844 (name "ghc-securemem")
9849 (uri (string-append "https://hackage.haskell.org/package/"
9850 "securemem-" version "/"
9851 "securemem-" version ".tar.gz"))
9854 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
9855 (build-system haskell-build-system)
9856 (inputs `(("ghc-byteable" ,ghc-byteable)
9857 ("ghc-memory" ,ghc-memory)))
9858 (home-page "https://github.com/vincenthz/hs-securemem")
9859 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
9861 (description "SecureMem is similar to ByteString, except that it provides
9862 a memory chunk that will be auto-scrubbed after it run out of scope.")
9863 (license license:bsd-3)))
9865 (define-public ghc-resource-pool
9867 (name "ghc-resource-pool")
9872 (uri (string-append "https://hackage.haskell.org/package/"
9873 "resource-pool-" version "/"
9874 "resource-pool-" version ".tar.gz"))
9877 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
9878 (build-system haskell-build-system)
9879 (inputs `(("ghc-hashable" ,ghc-hashable)
9880 ("ghc-monad-control" ,ghc-monad-control)
9881 ("ghc-transformers-base" ,ghc-transformers-base)
9882 ("ghc-stm" ,ghc-stm)
9883 ("ghc-vector" ,ghc-vector)))
9884 (home-page "https://github.com/bos/pool")
9885 (synopsis "Striped resource pooling implementation in Haskell")
9886 (description "This Haskell package provides striped pooling abstraction
9887 for managing flexibly-sized collections of resources such as database
9889 (license license:bsd-3)))
9891 (define-public ghc-attoparsec-iso8601
9893 (name "ghc-attoparsec-iso8601")
9898 (uri (string-append "https://hackage.haskell.org/package/"
9899 "attoparsec-iso8601-" version "/"
9900 "attoparsec-iso8601-" version ".tar.gz"))
9903 "12l55b76bhya9q89mfmqmy6sl5v39b6gzrw5rf3f70vkb23nsv5a"))))
9904 (build-system haskell-build-system)
9907 ("1" "06f7pgmmc8456p3hc1y23kz1y127gfczy7s00wz1rls9g2sm2vi4")))
9908 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9909 ("ghc-base-compat" ,ghc-base-compat)
9910 ("ghc-text" ,ghc-text)))
9911 (home-page "https://github.com/bos/aeson")
9912 (synopsis "Parse ISO 8601 dates")
9913 (description "Haskell library for parsing of ISO 8601 dates, originally
9915 (license license:bsd-3)))
9917 (define-public ghc-generics-sop
9919 (name "ghc-generics-sop")
9924 (uri (string-append "https://hackage.haskell.org/package/"
9925 "generics-sop-" version "/"
9926 "generics-sop-" version ".tar.gz"))
9929 "168v62i845jh9jbfaz3ldz8svz4wmzq9mf2vhb7pxlnbkk8fqq1h"))))
9930 (build-system haskell-build-system)
9931 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)))
9932 (home-page "https://github.com/well-typed/generics-sop")
9933 (synopsis "Generic Programming using True Sums of Products for Haskell")
9934 (description "This Haskell package supports the definition of generic
9935 functions. Datatypes are viewed in a uniform, structured way: the choice
9936 between constructors is represented using an n-ary sum, and the arguments of
9937 each constructor are represented using an n-ary product.")
9938 (license license:bsd-3)))
9940 (define-public ghc-uri-bytestring
9942 (name "ghc-uri-bytestring")
9947 (uri (string-append "https://hackage.haskell.org/package/"
9948 "uri-bytestring-" version "/"
9949 "uri-bytestring-" version ".tar.gz"))
9952 "1q04j5ybvk37zk2m0bkjwyhblz0ymdj0cn4rvsvdca1ikn5xdv5c"))))
9953 (build-system haskell-build-system)
9954 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9955 ("ghc-fail" ,ghc-fail)
9956 ("ghc-blaze-builder" ,ghc-blaze-builder)
9957 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
9958 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9959 ("ghc-hunit" ,ghc-hunit)
9960 ("ghc-quickcheck" ,ghc-quickcheck)
9961 ("ghc-tasty" ,ghc-tasty)
9962 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9963 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9964 ("ghc-base-compat" ,ghc-base-compat)
9965 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9966 ("ghc-semigroups" ,ghc-semigroups)
9967 ("ghc-generics-sop" ,ghc-generics-sop)))
9968 (home-page "https://github.com/Soostone/uri-bytestring")
9969 (synopsis "Haskell URI parsing as ByteStrings")
9970 (description "This Haskell package aims to be an RFC3986 compliant URI
9971 parser that uses ByteStrings for parsing and representing the URI data.")
9972 (license license:bsd-3)))
9974 (define-public ghc-http-api-data
9976 (name "ghc-http-api-data")
9981 (uri (string-append "https://hackage.haskell.org/package/"
9982 "http-api-data-" version "/"
9983 "http-api-data-" version ".tar.gz"))
9986 "1cq6459b8wz6nvkvpi89dg189n5q2xdq4rdq435hf150555vmskf"))))
9987 (build-system haskell-build-system)
9988 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.9
9989 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9990 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
9991 ("ghc-hashable" ,ghc-hashable)
9992 ("ghc-http-types" ,ghc-http-types)
9993 ("ghc-text" ,ghc-text)
9994 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9995 ("ghc-unordered-containers" ,ghc-unordered-containers)
9996 ("ghc-uri-bytestring" ,ghc-uri-bytestring)
9997 ("ghc-uuid-types" ,ghc-uuid-types)))
9998 (home-page "https://github.com/fizruk/http-api-data")
9999 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
10001 (description "This Haskell package defines typeclasses used for converting
10002 Haskell data types to and from HTTP API data.")
10003 (license license:bsd-3)))
10005 (define-public ghc-persistent
10007 (name "ghc-persistent")
10012 (uri (string-append "https://hackage.haskell.org/package/"
10013 "persistent-" version "/"
10014 "persistent-" version ".tar.gz"))
10017 "1h0yijbf1yiwl50klyafy4ln99j8bib4kgbzviw7fc4y4mwv4sv9"))))
10018 (build-system haskell-build-system)
10019 (inputs `(("ghc-old-locale" ,ghc-old-locale)
10020 ("ghc-text" ,ghc-text)
10021 ("ghc-conduit" ,ghc-conduit)
10022 ("ghc-resourcet" ,ghc-resourcet)
10023 ("ghc-exceptions" ,ghc-exceptions)
10024 ("ghc-monad-control" ,ghc-monad-control)
10025 ("ghc-lifted-base" ,ghc-lifted-base)
10026 ("ghc-resource-pool" ,ghc-resource-pool)
10027 ("ghc-path-pieces" ,ghc-path-pieces)
10028 ("ghc-http-api-data" ,ghc-http-api-data)
10029 ("ghc-aeson" ,ghc-aeson)
10030 ("ghc-monad-logger" ,ghc-monad-logger)
10031 ("ghc-transformers-base" ,ghc-transformers-base)
10032 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
10033 ("ghc-unordered-containers" ,ghc-unordered-containers)
10034 ("ghc-vector" ,ghc-vector)
10035 ("ghc-attoparsec" ,ghc-attoparsec)
10036 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)
10037 ("ghc-blaze-html" ,ghc-blaze-html)
10038 ("ghc-blaze-markup" ,ghc-blaze-markup)
10039 ("ghc-silently" ,ghc-silently)
10040 ("ghc-fast-logger" ,ghc-fast-logger)
10041 ("ghc-scientific" ,ghc-scientific)
10042 ("ghc-tagged" ,ghc-tagged)
10043 ("ghc-void" ,ghc-void)))
10044 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
10045 (home-page "https://www.yesodweb.com/book/persistent")
10046 (synopsis "Type-safe, multi-backend data serialization for Haskell")
10047 (description "This Haskell package allows Haskell programs to access data
10048 storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
10050 (license license:expat)))
10052 (define-public ghc-aeson-compat
10054 (name "ghc-aeson-compat")
10059 (uri (string-append "https://hackage.haskell.org/package/"
10060 "aeson-compat-" version "/"
10061 "aeson-compat-" version ".tar.gz"))
10064 "0j4v13pgk21zy8hqkbx8hw0n05jdl17qphxz9rj4h333pr547r3i"))))
10065 (build-system haskell-build-system)
10066 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
10067 (inputs `(("ghc-base-compat" ,ghc-base-compat)
10068 ("ghc-aeson" ,ghc-aeson)
10069 ("ghc-attoparsec" ,ghc-attoparsec)
10070 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
10071 ("ghc-exceptions" ,ghc-exceptions)
10072 ("ghc-hashable" ,ghc-hashable)
10073 ("ghc-scientific" ,ghc-scientific)
10074 ("ghc-text" ,ghc-text)
10075 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
10076 ("ghc-unordered-containers" ,ghc-unordered-containers)
10077 ("ghc-vector" ,ghc-vector)
10078 ("ghc-tagged" ,ghc-tagged)
10079 ("ghc-semigroups" ,ghc-semigroups)
10080 ("ghc-nats" ,ghc-nats)))
10081 (home-page "https://github.com/phadej/aeson-compat")
10082 (synopsis "Compatibility layer for ghc-aeson")
10083 (description "This Haskell package provides compatibility layer for
10085 (license license:bsd-3)))
10087 (define-public ghc-persistent-template
10089 (name "ghc-persistent-template")
10094 (uri (string-append "https://hackage.haskell.org/package/"
10095 "persistent-template-" version "/"
10096 "persistent-template-" version ".tar.gz"))
10099 "008afcy7zbw7bzp9jww8gdldb51kfm0fg4p0x4xcp61gx4679bjc"))))
10100 (build-system haskell-build-system)
10103 ("2" "03qgwk32krldph3blw5agiqcpccr3649hajyn8wm9k71zz82dpn6")))
10104 (inputs `(("ghc-persistent" ,ghc-persistent)
10105 ("ghc-monad-control" ,ghc-monad-control)
10106 ("ghc-text" ,ghc-text)
10107 ("ghc-aeson" ,ghc-aeson)
10108 ("ghc-aeson-compat" ,ghc-aeson-compat)
10109 ("ghc-monad-logger" ,ghc-monad-logger)
10110 ("ghc-unordered-containers" ,ghc-unordered-containers)
10111 ("ghc-tagged" ,ghc-tagged)
10112 ("ghc-path-pieces" ,ghc-path-pieces)
10113 ("ghc-http-api-data" ,ghc-http-api-data)))
10114 (native-inputs `(("ghc-hspec" ,ghc-hspec)
10115 ("ghc-quickcheck" ,ghc-quickcheck)))
10116 (home-page "https://www.yesodweb.com/book/persistent")
10117 (synopsis "Type-safe, non-relational, multi-backend persistence")
10118 (description "This Haskell package provides interfaces and helper
10119 functions for the ghc-persistent package.")
10120 (license license:expat)))
10122 (define-public ghc-unliftio-core
10124 (name "ghc-unliftio-core")
10125 (version "0.1.1.0")
10129 (uri (string-append "https://hackage.haskell.org/package/"
10130 "unliftio-core-" version "/"
10131 "unliftio-core-" version ".tar.gz"))
10134 "1193fplsjm1lcr05xwvkj1rsyzx74i755f6kw3ikmxbsv0bv0l3m"))))
10135 (build-system haskell-build-system)
10138 ("1" "16bjwcsaghqqmyi69rq65dn3ydifyfaabq3ns37apdm00mwqbcj2")))
10140 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
10141 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
10142 (description "This Haskell package provides the core @code{MonadUnliftIO}
10143 typeclass, instances for base and transformers, and basic utility
10145 (license license:expat)))
10147 (define-public ghc-microlens
10149 (name "ghc-microlens")
10150 (version "0.4.9.1")
10154 (uri (string-append "https://hackage.haskell.org/package/"
10155 "microlens-" version "/"
10156 "microlens-" version ".tar.gz"))
10159 "0j2nzf0vpx2anvsrg2w0vy2z4jn3kkcs2n6glkzblhn1j9piqh51"))))
10160 (build-system haskell-build-system)
10162 "https://github.com/aelve/microlens")
10163 (synopsis "Provides a tiny lens Haskell library with no dependencies")
10164 (description "This Haskell package provides a lens library, just like
10165 @code{ghc-lens}, but smaller. It provides essential lenses and
10166 traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
10167 nice to have (like @code{each}, @code{at}, and @code{ix}), and some
10168 combinators (like @code{failing} and @code{singular}), but everything else is
10169 stripped. As the result, this package has no dependencies.")
10170 (license license:bsd-3)))
10172 (define-public ghc-microlens-th
10174 (name "ghc-microlens-th")
10175 (version "0.4.2.2")
10179 (uri (string-append "https://hackage.haskell.org/package/"
10180 "microlens-th-" version "/"
10181 "microlens-th-" version ".tar.gz"))
10184 "02nj7lnl61yffi3c6wn341arxhld5r0vj6nzcb5zmqjhnqsv8c05"))))
10185 (build-system haskell-build-system)
10186 (inputs `(("ghc-microlens" ,ghc-microlens)
10187 ("ghc-th-abstraction" ,ghc-th-abstraction)))
10189 "https://github.com/aelve/microlens")
10190 (synopsis "Automatic generation of record lenses for
10191 @code{ghc-microlens}")
10192 (description "This Haskell package lets you automatically generate lenses
10193 for data types; code was extracted from the lens package, and therefore
10194 generated lenses are fully compatible with ones generated by lens (and can be
10195 used both from lens and microlens).")
10196 (license license:bsd-3)))
10198 (define-public ghc-unliftio
10200 (name "ghc-unliftio")
10201 (version "0.2.7.0")
10205 (uri (string-append
10206 "https://hackage.haskell.org/package/unliftio/unliftio-"
10211 "0qql93lq5w7qghl454cc3s1i8v1jb4h08n82fqkw0kli4g3g9njs"))))
10212 (build-system haskell-build-system)
10213 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
10215 `(("ghc-async" ,ghc-async)
10216 ("ghc-stm" ,ghc-stm)
10217 ("ghc-unliftio-core" ,ghc-unliftio-core)))
10218 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
10219 (home-page "https://github.com/fpco/unliftio")
10220 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
10221 IO (batteries included)")
10222 (description "This Haskell package provides the core @code{MonadUnliftIO}
10223 typeclass, a number of common instances, and a collection of common functions
10225 (license license:expat)))
10227 (define-public ghc-persistent-sqlite
10229 (name "ghc-persistent-sqlite")
10234 (uri (string-append "https://hackage.haskell.org/package/"
10235 "persistent-sqlite-" version "/"
10236 "persistent-sqlite-" version ".tar.gz"))
10239 "1chbmvjz46smhgnzhha3bbkhys3fys6dip1jr4v7xp1jf78zbyp6"))))
10240 (build-system haskell-build-system)
10241 (inputs `(("ghc-persistent" ,ghc-persistent)
10242 ("ghc-unliftio-core" ,ghc-unliftio-core)
10243 ("ghc-aeson" ,ghc-aeson)
10244 ("ghc-conduit" ,ghc-conduit)
10245 ("ghc-monad-logger" ,ghc-monad-logger)
10246 ("ghc-microlens-th" ,ghc-microlens-th)
10247 ("ghc-resourcet" ,ghc-resourcet)
10248 ("ghc-old-locale" ,ghc-old-locale)
10249 ("ghc-resource-pool" ,ghc-resource-pool)
10250 ("ghc-unordered-containers" ,ghc-unordered-containers)))
10251 (native-inputs `(("ghc-hspec" ,ghc-hspec)
10252 ("ghc-persistent-template" ,ghc-persistent-template)
10253 ("ghc-temporary" ,ghc-temporary)
10254 ("ghc-text" ,ghc-text)))
10256 "https://www.yesodweb.com/book/persistent")
10257 (synopsis "Backend for the persistent library using sqlite3")
10258 (description "This Haskell package includes a thin sqlite3 wrapper based
10259 on the direct-sqlite package, as well as the entire C library, so there are no
10260 system dependencies.")
10261 (license license:expat)))
10263 (define-public ghc-email-validate
10265 (name "ghc-email-validate")
10266 (version "2.3.2.6")
10270 (uri (string-append
10271 "https://hackage.haskell.org/package/"
10272 "email-validate/email-validate-"
10277 "0chgylvc8xmhp933rdbmpg5sv4y7yg2h6kbf0ip1dzmbd5p55pa5"))))
10278 (build-system haskell-build-system)
10280 `(("ghc-attoparsec" ,ghc-attoparsec)
10281 ("ghc-hspec" ,ghc-hspec)
10282 ("ghc-quickcheck" ,ghc-quickcheck)
10283 ("ghc-doctest" ,ghc-doctest)))
10285 "https://github.com/Porges/email-validate-hs")
10286 (synopsis "Email address validator for Haskell")
10288 "This Haskell package provides a validator that can validate an email
10289 address string against RFC 5322.")
10290 (license license:bsd-3)))
10292 (define-public ghc-bytes
10300 (string-append "https://hackage.haskell.org/package/bytes-"
10302 version ".tar.gz"))
10303 (file-name (string-append name "-" version ".tar.gz"))
10306 "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683"))))
10307 (build-system haskell-build-system)
10308 (inputs `(("ghc-cereal" ,ghc-cereal)
10309 ("cabal-doctest" ,cabal-doctest)
10310 ("ghc-doctest" ,ghc-doctest)
10311 ("ghc-scientific" ,ghc-scientific)
10312 ("ghc-text" ,ghc-text)
10313 ("ghc-transformers-compat" ,ghc-transformers-compat)
10314 ("ghc-unordered-containers" ,ghc-unordered-containers)
10315 ("ghc-void" ,ghc-void)
10316 ("ghc-vector" ,ghc-vector)))
10317 (synopsis "Serialization between @code{binary} and @code{cereal}")
10318 (description "This package provides a simple compatibility shim that lets
10319 you work with both @code{binary} and @code{cereal} with one chunk of
10320 serialization code.")
10321 (home-page "https://hackage.haskell.org/package/bytes")
10322 (license license:bsd-3)))
10324 (define-public ghc-disk-free-space
10326 (name "ghc-disk-free-space")
10327 (version "0.1.0.1")
10331 (uri (string-append "https://hackage.haskell.org/package/"
10332 "disk-free-space/disk-free-space-"
10333 version ".tar.gz"))
10336 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
10337 (build-system haskell-build-system)
10338 (home-page "https://github.com/redneb/disk-free-space")
10339 (synopsis "Retrieve information about disk space usage")
10340 (description "A cross-platform library for retrieving information about
10341 disk space usage.")
10342 (license license:bsd-3)))
10344 (define-public ghc-xdg-basedir
10346 (name "ghc-xdg-basedir")
10351 (uri (string-append
10352 "https://hackage.haskell.org/package/xdg-basedir/"
10353 "xdg-basedir-" version ".tar.gz"))
10356 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
10357 (build-system haskell-build-system)
10358 (home-page "http://github.com/willdonnelly/xdg-basedir")
10359 (synopsis "XDG Base Directory library for Haskell")
10360 (description "This package provides a library implementing the XDG Base Directory spec.")
10361 (license license:bsd-3)))
10363 (define-public ghc-errorcall-eq-instance
10365 (name "ghc-errorcall-eq-instance")
10370 (uri (string-append "https://hackage.haskell.org/package/"
10371 "errorcall-eq-instance/errorcall-eq-instance-"
10372 version ".tar.gz"))
10375 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
10376 (build-system haskell-build-system)
10378 `(("ghc-base-orphans" ,ghc-base-orphans)))
10380 `(("ghc-quickcheck" ,ghc-quickcheck)
10381 ("ghc-hspec" ,ghc-hspec)
10382 ("hspec-discover" ,hspec-discover)))
10383 (home-page "http://hackage.haskell.org/package/errorcall-eq-instance")
10384 (synopsis "Orphan Eq instance for ErrorCall")
10386 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
10387 This package provides an orphan instance.")
10388 (license license:expat)))
10390 (define-public ghc-missingh
10392 (name "ghc-missingh")
10393 (version "1.4.0.1")
10397 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
10398 "MissingH-" version ".tar.gz"))
10401 "0wcvgrmav480w7nf4bl14yi0jq2yzanysxwzwas9hpb28vyjlgr8"))))
10402 (build-system haskell-build-system)
10403 ;; Tests require the unmaintained testpack package, which depends on the
10404 ;; outdated QuickCheck version 2.7, which can no longer be built with
10405 ;; recent versions of GHC and Haskell libraries.
10406 (arguments '(#:tests? #f))
10408 `(("ghc-network" ,ghc-network)
10409 ("ghc-parsec" ,ghc-parsec)
10410 ("ghc-hunit" ,ghc-hunit)
10411 ("ghc-regex-compat" ,ghc-regex-compat)
10412 ("ghc-hslogger" ,ghc-hslogger)
10413 ("ghc-random" ,ghc-random)
10414 ("ghc-old-time" ,ghc-old-time)
10415 ("ghc-old-locale" ,ghc-old-locale)))
10417 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
10418 ("ghc-quickcheck" ,ghc-quickcheck)
10419 ("ghc-hunit" ,ghc-hunit)))
10420 (home-page "http://software.complete.org/missingh")
10421 (synopsis "Large utility library")
10423 "MissingH is a library of all sorts of utility functions for Haskell
10424 programmers. It is written in pure Haskell and thus should be extremely
10425 portable and easy to use.")
10426 (license license:bsd-3)))
10428 (define-public ghc-intervalmap
10430 (name "ghc-intervalmap")
10431 (version "0.6.0.0")
10435 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
10436 "IntervalMap-" version ".tar.gz"))
10439 "06hin9wf1by8aqa7820fsi2339bh82184frkwz3jsb9sqa0hszcg"))))
10440 (build-system haskell-build-system)
10442 `(("ghc-quickcheck" ,ghc-quickcheck)))
10443 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
10444 (synopsis "Containers for intervals, with efficient search")
10446 "This package provides ordered containers of intervals, with efficient
10447 search for all keys containing a point or overlapping an interval. See the
10448 example code on the home page for a quick introduction.")
10449 (license license:bsd-3)))
10451 (define-public ghc-operational
10453 (name "ghc-operational")
10454 (version "0.2.3.5")
10458 (uri (string-append "https://hackage.haskell.org/package/operational/"
10459 "operational-" version ".tar.gz"))
10462 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
10463 (build-system haskell-build-system)
10465 `(("ghc-random" ,ghc-random)))
10466 (home-page "http://wiki.haskell.org/Operational")
10467 (synopsis "Implementation of difficult monads made easy with operational semantics")
10469 "This library makes it easy to implement monads with tricky control
10470 flow. This is useful for: writing web applications in a sequential style,
10471 programming games with a uniform interface for human and AI players and easy
10472 replay capababilities, implementing fast parser monads, designing monadic
10474 (license license:bsd-3)))
10476 (define-public ghc-gtk2hs-buildtools
10478 (name "ghc-gtk2hs-buildtools")
10479 (version "0.13.4.0")
10483 (uri (string-append "https://hackage.haskell.org/package/"
10484 "gtk2hs-buildtools/gtk2hs-buildtools-"
10485 version ".tar.gz"))
10488 "0yg6xmylgpylmnh5g33qwwn5x9bqckdvvv4czqzd9vrr12lnnghg"))))
10489 (build-system haskell-build-system)
10491 `(("ghc-random" ,ghc-random)
10492 ("ghc-hashtables" ,ghc-hashtables)))
10494 `(("ghc-alex" ,ghc-alex)
10495 ("ghc-happy" ,ghc-happy)))
10496 (home-page "http://projects.haskell.org/gtk2hs/")
10497 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
10499 "This package provides a set of helper programs necessary to build the
10500 Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
10501 that is used to generate FFI declarations, a tool to build a type hierarchy
10502 that mirrors the C type hierarchy of GObjects found in glib, and a generator
10503 for signal declarations that are used to call back from C to Haskell. These
10504 tools are not needed to actually run Gtk2Hs programs.")
10505 (license license:gpl2)))
10507 (define-public ghc-chart
10514 (uri (string-append "https://hackage.haskell.org/package/Chart/"
10515 "Chart-" version ".tar.gz"))
10518 "1f5azj17y8xsb3gjhf7gg1gnnlq12rxkmfjmgcly314d7vghs05z"))))
10519 (build-system haskell-build-system)
10521 `(("ghc-old-locale" ,ghc-old-locale)
10522 ("ghc-lens" ,ghc-lens)
10523 ("ghc-colour" ,ghc-colour)
10524 ("ghc-data-default-class" ,ghc-data-default-class)
10525 ("ghc-operational" ,ghc-operational)
10526 ("ghc-vector" ,ghc-vector)))
10527 (home-page "https://github.com/timbod7/haskell-chart/wiki")
10528 (synopsis "Library for generating 2D charts and plots")
10530 "This package provides a library for generating 2D charts and plots, with
10531 backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
10532 (license license:bsd-3)))
10534 (define-public ghc-wcwidth
10536 (name "ghc-wcwidth")
10541 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
10542 version ".tar.gz"))
10545 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
10546 (build-system haskell-build-system)
10548 `(("ghc-setlocale" ,ghc-setlocale)
10549 ("ghc-utf8-string" ,ghc-utf8-string)
10550 ("ghc-attoparsec" ,ghc-attoparsec)))
10551 (home-page "https://github.com/solidsnack/wcwidth/")
10552 (synopsis "Haskell bindings to wcwidth")
10553 (description "This package provides Haskell bindings to your system's
10554 native wcwidth and a command line tool to examine the widths assigned by it.
10555 The command line tool can compile a width table to Haskell code that assigns
10556 widths to the Char type.")
10557 (license license:bsd-3)))
10559 (define-public ghc-wcwidth-bootstrap
10561 (inherit ghc-wcwidth)
10562 (name "ghc-wcwidth-bootstrap")
10564 `(("ghc-setlocale" ,ghc-setlocale)
10565 ("ghc-utf8-string" ,ghc-utf8-string)
10566 ("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
10567 (properties '(hidden? #t))))
10569 (define-public ghc-rio
10572 (version "0.1.5.0")
10576 (uri (string-append
10577 "https://hackage.haskell.org/package/rio/rio-"
10578 version ".tar.gz"))
10581 "064h8a4hp53a479d3ak0vmqbx8hi0cpg7zn4wp23rjy26dka8p7g"))))
10582 (build-system haskell-build-system)
10584 `(("ghc-exceptions" ,ghc-exceptions)
10585 ("ghc-hashable" ,ghc-hashable)
10586 ("ghc-microlens" ,ghc-microlens)
10587 ("ghc-primitive" ,ghc-primitive)
10588 ("ghc-text" ,ghc-text)
10589 ("ghc-typed-process" ,ghc-typed-process)
10590 ("ghc-unliftio" ,ghc-unliftio)
10591 ("ghc-unordered-containers" ,ghc-unordered-containers)
10592 ("ghc-vector" ,ghc-vector)))
10594 `(("ghc-hspec" ,ghc-hspec)
10595 ("hspec-discover" ,hspec-discover)))
10596 (home-page "https://github.com/commercialhaskell/rio#readme")
10597 (synopsis "A standard library for Haskell")
10598 (description "This package works as a prelude replacement for Haskell,
10599 providing more functionality and types out of the box than the standard
10600 prelude (such as common data types like @code{ByteString} and
10601 @code{Text}), as well as removing common ``gotchas'', like partial
10602 functions and lazy I/O. The guiding principle here is:
10604 @item If something is safe to use in general and has no expected naming
10605 conflicts, expose it.
10606 @item If something should not always be used, or has naming conflicts,
10607 expose it from another module in the hierarchy.
10609 (license license:expat)))
10611 (define-public ghc-cairo
10614 (version "0.13.5.0")
10618 (uri (string-append "https://hackage.haskell.org/package/cairo/"
10619 "cairo-" version ".tar.gz"))
10622 "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2"))))
10623 (build-system haskell-build-system)
10625 `(#:modules ((guix build haskell-build-system)
10630 (modify-phases %standard-phases
10631 ;; FIXME: This is a copy of the standard configure phase with a tiny
10632 ;; difference: this package needs the -package-db flag to be passed
10633 ;; to "runhaskell" in addition to the "configure" action, because it
10634 ;; depends on gtk2hs-buildtools, which provide setup hooks. Without
10635 ;; this option the Setup.hs file cannot be evaluated. The
10636 ;; haskell-build-system should be changed to pass "-package-db" to
10637 ;; "runhaskell" in any case.
10638 (replace 'configure
10639 (lambda* (#:key outputs inputs tests? (configure-flags '())
10640 #:allow-other-keys)
10641 (let* ((out (assoc-ref outputs "out"))
10642 (name-version (strip-store-file-name out))
10643 (input-dirs (match inputs
10647 (ghc-path (getenv "GHC_PACKAGE_PATH"))
10648 (params (append `(,(string-append "--prefix=" out))
10649 `(,(string-append "--libdir=" out "/lib"))
10650 `(,(string-append "--bindir=" out "/bin"))
10653 "/share/doc/" name-version))
10654 '("--libsubdir=$compiler/$pkg-$version")
10655 '("--package-db=../package.conf.d")
10658 (cut string-append "--extra-include-dirs=" <>)
10659 (search-path-as-list '("include") input-dirs)))
10661 (cut string-append "--extra-lib-dirs=" <>)
10662 (search-path-as-list '("lib") input-dirs)))
10664 '("--enable-tests")
10667 (unsetenv "GHC_PACKAGE_PATH")
10668 (apply invoke "runhaskell" "-package-db=../package.conf.d"
10669 "Setup.hs" "configure" params)
10670 (setenv "GHC_PACKAGE_PATH" ghc-path)
10673 `(("ghc-utf8-string" ,ghc-utf8-string)
10674 ("ghc-text" ,ghc-text)
10677 `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools)
10678 ("pkg-config" ,pkg-config)))
10679 (home-page "http://projects.haskell.org/gtk2hs/")
10680 (synopsis "Haskell bindings to the Cairo vector graphics library")
10682 "Cairo is a library to render high quality vector graphics. There exist
10683 various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG
10684 documents, amongst others.")
10685 (license license:bsd-3)))
10687 (define-public ghc-chart-cairo
10689 (name "ghc-chart-cairo")
10694 (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/"
10695 "Chart-cairo-" version ".tar.gz"))
10698 "0iany6lfyfb1cw0pxfs5aw5k0a6x41m6ql9ad9w59biwdckbsyqr"))))
10699 (build-system haskell-build-system)
10701 `(("ghc-old-locale" ,ghc-old-locale)
10702 ("ghc-cairo" ,ghc-cairo)
10703 ("ghc-colour" ,ghc-colour)
10704 ("ghc-data-default-class" ,ghc-data-default-class)
10705 ("ghc-operational" ,ghc-operational)
10706 ("ghc-lens" ,ghc-lens)
10707 ("ghc-chart" ,ghc-chart)))
10708 (home-page "https://github.com/timbod7/haskell-chart/wiki")
10709 (synopsis "Cairo backend for Charts")
10710 (description "This package provides a Cairo vector graphics rendering
10711 backend for the Charts library.")
10712 (license license:bsd-3)))
10714 (define-public ghc-atomic-write
10716 (name "ghc-atomic-write")
10717 (version "0.2.0.5")
10721 (uri (string-append
10722 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
10727 "1iaq0hprxcv0sl1sgwcgmm87zraf738va1bciwnx2jkk3k1v9iyv"))))
10728 (build-system haskell-build-system)
10730 `(("ghc-temporary" ,ghc-temporary)
10731 ("ghc-unix-compat" ,ghc-unix-compat)
10732 ("ghc-text" ,ghc-text)))
10734 `(("ghc-temporary" ,ghc-temporary)
10735 ("ghc-unix-compat" ,ghc-unix-compat)
10736 ("ghc-text" ,ghc-text)
10737 ("ghc-hspec" ,ghc-hspec)
10738 ("hspec-discover" ,hspec-discover)))
10739 (home-page "https://github.com/stackbuilders/atomic-write")
10740 (synopsis "Atomically write to a file")
10742 "Atomically write to a file on POSIX-compliant systems while preserving
10743 permissions. @code{mv} is an atomic operation. This makes it simple to write
10744 to a file atomically just by using the @code{mv} operation. However, this
10745 will destroy the permissions on the original file. This library preserves
10746 permissions while atomically writing to a file.")
10747 (license license:expat)))
10749 (define-public ghc-cereal-conduit
10751 (name "ghc-cereal-conduit")
10756 (uri (string-append "https://hackage.haskell.org/package/"
10757 "cereal-conduit/cereal-conduit-"
10758 version ".tar.gz"))
10761 "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r"))))
10762 (build-system haskell-build-system)
10764 `(("ghc-conduit" ,ghc-conduit)
10765 ("ghc-resourcet" ,ghc-resourcet)
10766 ("ghc-cereal" ,ghc-cereal)))
10768 `(("ghc-hunit" ,ghc-hunit)))
10769 (home-page "https://github.com/snoyberg/conduit")
10770 (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits")
10772 "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into
10773 @code{Sources}, @code{Sinks}, and @code{Conduits}.")
10774 (license license:bsd-3)))
10776 (define-public ghc-lzma
10779 (version "0.0.0.3")
10783 (uri (string-append "https://hackage.haskell.org/package/lzma/"
10784 "lzma-" version ".tar.gz"))
10787 "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg"))))
10788 (build-system haskell-build-system)
10790 '(#:tests? #f ; requires older versions of QuickCheck and tasty.
10792 ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m")))
10794 `(("ghc-hunit" ,ghc-hunit)
10795 ("ghc-quickcheck" ,ghc-quickcheck)
10796 ("ghc-tasty" ,ghc-tasty)
10797 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10798 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
10799 (home-page "https://github.com/hvr/lzma")
10800 (synopsis "LZMA/XZ compression and decompression")
10802 "This package provides a pure interface for compressing and
10803 decompressing LZMA streams of data represented as lazy @code{ByteString}s. A
10804 monadic incremental interface is provided as well.")
10805 (license license:bsd-3)))
10807 (define-public ghc-stm-conduit
10809 (name "ghc-stm-conduit")
10814 (uri (string-append "https://hackage.haskell.org/package/stm-conduit/"
10815 "stm-conduit-" version ".tar.gz"))
10818 "0paapljn7nqfzrx889y0n8sszci38mdiaxkgr0bb00ph9246rr7z"))))
10819 (build-system haskell-build-system)
10821 `(("ghc-stm" ,ghc-stm)
10822 ("ghc-stm-chans" ,ghc-stm-chans)
10823 ("ghc-cereal" ,ghc-cereal)
10824 ("ghc-cereal-conduit" ,ghc-cereal-conduit)
10825 ("ghc-conduit" ,ghc-conduit)
10826 ("ghc-conduit-extra" ,ghc-conduit-extra)
10827 ("ghc-exceptions" ,ghc-exceptions)
10828 ("ghc-resourcet" ,ghc-resourcet)
10829 ("ghc-async" ,ghc-async)
10830 ("ghc-monad-loops" ,ghc-monad-loops)
10831 ("ghc-unliftio" ,ghc-unliftio)))
10833 `(("ghc-doctest" ,ghc-doctest)
10834 ("ghc-quickcheck" ,ghc-quickcheck)
10835 ("ghc-hunit" ,ghc-hunit)
10836 ("ghc-test-framework" ,ghc-test-framework)
10837 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
10838 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
10839 (home-page "https://github.com/cgaebel/stm-conduit")
10840 (synopsis "Introduces conduits to channels and promotes using conduits concurrently")
10842 "This package provides two simple conduit wrappers around STM channels: a
10843 source and a sink.")
10844 (license license:bsd-3)))
10846 (define-public ghc-bindings-dsl
10848 (name "ghc-bindings-dsl")
10853 (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/"
10854 "bindings-DSL-" version ".tar.gz"))
10857 "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3"))))
10858 (build-system haskell-build-system)
10859 (home-page "https://github.com/jwiegley/bindings-dsl/wiki")
10860 (synopsis "FFI domain specific language, on top of hsc2hs")
10862 "This is a set of macros to be used when writing Haskell FFI. They were
10863 designed to be able to fully describe C interfaces, so that @code{hsc2hs} can
10864 extract from them all Haskell code needed to mimic such interfaces. All
10865 Haskell names used are automatically derived from C names, structures are
10866 mapped to Haskell instances of @code{Storable}, and there are also macros you
10867 can use with C code to help write bindings to inline functions or macro
10869 (license license:bsd-3)))
10871 (define-public ghc-lzma-conduit
10873 (name "ghc-lzma-conduit")
10878 (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/"
10879 "lzma-conduit-" version ".tar.gz"))
10882 "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9"))))
10883 (build-system haskell-build-system)
10885 `(("ghc-conduit" ,ghc-conduit)
10886 ("ghc-lzma" ,ghc-lzma)
10887 ("ghc-resourcet" ,ghc-resourcet)))
10889 `(("ghc-base-compat" ,ghc-base-compat)
10890 ("ghc-test-framework" ,ghc-test-framework)
10891 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
10892 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
10893 ("ghc-hunit" ,ghc-hunit)
10894 ("ghc-quickcheck" ,ghc-quickcheck)))
10895 (home-page "https://github.com/alphaHeavy/lzma-conduit")
10896 (synopsis "Conduit interface for lzma/xz compression")
10898 "This package provides a @code{Conduit} interface for the LZMA
10899 compression algorithm used in the @code{.xz} file format.")
10900 (license license:bsd-3)))
10902 (define-public ghc-bzlib-conduit
10904 (name "ghc-bzlib-conduit")
10905 (version "0.3.0.1")
10909 (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/"
10910 "bzlib-conduit-" version ".tar.gz"))
10913 "0fd2hnr782s7qgipazg2yxwia9qqhkvm9bcm90773c3zkxa13n23"))))
10914 (build-system haskell-build-system)
10916 `(("ghc-bindings-dsl" ,ghc-bindings-dsl)
10917 ("ghc-conduit" ,ghc-conduit)
10918 ("ghc-data-default-class" ,ghc-data-default-class)
10919 ("ghc-resourcet" ,ghc-resourcet)))
10921 `(("ghc-hspec" ,ghc-hspec)
10922 ("ghc-random" ,ghc-random)))
10923 (home-page "https://github.com/snoyberg/bzlib-conduit")
10924 (synopsis "Streaming compression/decompression via conduits")
10926 "This package provides Haskell bindings to bzlib and Conduit support for
10927 streaming compression and decompression.")
10928 (license license:bsd-3)))
10930 (define-public ghc-pqueue
10932 (name "ghc-pqueue")
10933 (version "1.4.1.1")
10937 (uri (string-append "https://hackage.haskell.org/package/"
10938 "pqueue/pqueue-" version ".tar.gz"))
10941 "1zvwm1zcqqq5n101s1brjhgbay8rf9fviq6gxbplf40i63m57p1x"))))
10942 (build-system haskell-build-system)
10944 `(("ghc-quickcheck" ,ghc-quickcheck)))
10945 (home-page "https://hackage.haskell.org/package/pqueue")
10946 (synopsis "Reliable, persistent, fast priority queues")
10948 "This package provides a fast, reliable priority queue implementation
10949 based on a binomial heap.")
10950 (license license:bsd-3)))
10952 (define-public ghc-conduit-algorithms
10954 (name "ghc-conduit-algorithms")
10955 (version "0.0.8.1")
10959 (uri (string-append "https://hackage.haskell.org/package/"
10960 "conduit-algorithms/conduit-algorithms-"
10961 version ".tar.gz"))
10964 "07gx2q3d1bbfw14q41rmqg0i4m018pci10lswc0k1ij6lw7sb9fd"))))
10965 (build-system haskell-build-system)
10967 `(("ghc-async" ,ghc-async)
10968 ("ghc-bzlib-conduit" ,ghc-bzlib-conduit)
10969 ("ghc-conduit" ,ghc-conduit)
10970 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
10971 ("ghc-conduit-extra" ,ghc-conduit-extra)
10972 ("ghc-exceptions" ,ghc-exceptions)
10973 ("ghc-lzma-conduit" ,ghc-lzma-conduit)
10974 ("ghc-monad-control" ,ghc-monad-control)
10975 ("ghc-pqueue" ,ghc-pqueue)
10976 ("ghc-resourcet" ,ghc-resourcet)
10977 ("ghc-stm" ,ghc-stm)
10978 ("ghc-stm-conduit" ,ghc-stm-conduit)
10979 ("ghc-streaming-commons" ,ghc-streaming-commons)
10980 ("ghc-unliftio-core" ,ghc-unliftio-core)
10981 ("ghc-vector" ,ghc-vector)))
10983 `(("ghc-hunit" ,ghc-hunit)
10984 ("ghc-test-framework" ,ghc-test-framework)
10985 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
10986 ("ghc-test-framework-th" ,ghc-test-framework-th)))
10987 (home-page "https://github.com/luispedro/conduit-algorithms#readme")
10988 (synopsis "Conduit-based algorithms")
10990 "This package provides algorithms on @code{Conduits}, including higher
10991 level asynchronous processing and some other utilities.")
10992 (license license:expat)))
10994 (define-public ghc-interpolate
10996 (name "ghc-interpolate")
11001 (uri (string-append "https://hackage.haskell.org/package/interpolate/"
11002 "interpolate-" version ".tar.gz"))
11005 "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf"))))
11006 (build-system haskell-build-system)
11008 `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
11010 `(("ghc-base-compat" ,ghc-base-compat)
11011 ("ghc-hspec" ,ghc-hspec)
11012 ("ghc-quickcheck" ,ghc-quickcheck)
11013 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
11014 ("ghc-text" ,ghc-text)
11015 ("hspec-discover" ,hspec-discover)))
11016 (home-page "https://github.com/sol/interpolate")
11017 (synopsis "String interpolation library")
11018 (description "This package provides a string interpolation library for
11020 (license license:expat)))
11022 (define-public ghc-hpack
11029 (uri (string-append "https://hackage.haskell.org/package/hpack/"
11030 "hpack-" version ".tar.gz"))
11033 "18w0h76jdp3mk9vin8da9iz3cwhcxmw787xy8wlh8bxcpcr16q5r"))))
11034 (build-system haskell-build-system)
11036 `(("ghc-aeson" ,ghc-aeson)
11037 ("ghc-bifunctors" ,ghc-bifunctors)
11038 ("ghc-cryptonite" ,ghc-cryptonite)
11039 ("ghc-glob" ,ghc-glob)
11040 ("ghc-http-client" ,ghc-http-client)
11041 ("ghc-http-client-tls" ,ghc-http-client-tls)
11042 ("ghc-http-types" ,ghc-http-types)
11043 ("ghc-scientific" ,ghc-scientific)
11044 ("ghc-text" ,ghc-text)
11045 ("ghc-unordered-containers" ,ghc-unordered-containers)
11046 ("ghc-vector" ,ghc-vector)
11047 ("ghc-yaml" ,ghc-yaml)))
11049 `(("ghc-hspec" ,ghc-hspec)
11050 ("ghc-hunit" ,ghc-hunit)
11051 ("ghc-interpolate" ,ghc-interpolate)
11052 ("ghc-mockery" ,ghc-mockery)
11053 ("ghc-quickcheck" ,ghc-quickcheck)
11054 ("ghc-temporary" ,ghc-temporary)
11055 ("hspec-discover" ,hspec-discover)))
11056 (home-page "https://github.com/sol/hpack")
11057 (synopsis "Tools for an alternative Haskell package format")
11059 "Hpack is a format for Haskell packages. It is an alternative to the
11060 Cabal package format and follows different design principles. Hpack packages
11061 are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
11062 @code{stack} support @code{package.yaml} natively. For other build tools the
11063 @code{hpack} executable can be used to generate a @code{.cabal} file from
11064 @code{package.yaml}.")
11065 (license license:expat)))
11067 (define-public ghc-raw-strings-qq
11069 (name "ghc-raw-strings-qq")
11074 (uri (string-append "https://hackage.haskell.org/package/"
11075 "raw-strings-qq/raw-strings-qq-"
11076 version ".tar.gz"))
11079 "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f"))))
11080 (build-system haskell-build-system)
11081 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
11082 (home-page "https://github.com/23Skidoo/raw-strings-qq")
11083 (synopsis "Raw string literals for Haskell")
11085 "This package provides a quasiquoter for raw string literals, i.e. string
11086 literals that don't recognise the standard escape sequences. Basically, they
11087 make your code more readable by freeing you from the responsibility to escape
11088 backslashes. They are useful when working with regular expressions,
11089 DOS/Windows paths and markup languages (such as XML).")
11090 (license license:bsd-3)))
11092 (define-public ghc-inline-c
11094 (name "ghc-inline-c")
11095 (version "0.6.1.0")
11099 (uri (string-append "https://hackage.haskell.org/package/inline-c/"
11100 "inline-c-" version ".tar.gz"))
11103 "0vbfrsqsi7mdziqsnj68bsqlwbqxxhvrmy9rv6w8z18d1m8w3n6h"))))
11104 (build-system haskell-build-system)
11106 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
11107 ("ghc-cryptohash" ,ghc-cryptohash)
11108 ("ghc-hashable" ,ghc-hashable)
11109 ("ghc-parsec" ,ghc-parsec)
11110 ("ghc-parsers" ,ghc-parsers)
11111 ("ghc-unordered-containers" ,ghc-unordered-containers)
11112 ("ghc-vector" ,ghc-vector)))
11114 `(("ghc-quickcheck" ,ghc-quickcheck)
11115 ("ghc-hspec" ,ghc-hspec)
11116 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)
11117 ("ghc-regex-posix" ,ghc-regex-posix)))
11118 (home-page "http://hackage.haskell.org/package/inline-c")
11119 (synopsis "Write Haskell source files including C code inline")
11121 "inline-c lets you seamlessly call C libraries and embed high-performance
11122 inline C code in Haskell modules. Haskell and C can be freely intermixed in
11123 the same source file, and data passed to and from code in either language with
11124 minimal overhead. No FFI required.")
11125 (license license:expat)))
11127 (define-public ghc-weigh
11134 (uri (string-append "https://hackage.haskell.org/package/weigh/"
11135 "weigh-" version ".tar.gz"))
11138 "0zw2a997gxgdzqmd7j730kxgynzmjvvlkw84dajmfzf1v9pbij7x"))))
11139 (build-system haskell-build-system)
11141 `(("ghc-split" ,ghc-split)
11142 ("ghc-temporary" ,ghc-temporary)))
11143 (home-page "https://github.com/fpco/weigh#readme")
11144 (synopsis "Measure allocations of a Haskell functions/values")
11145 (description "This package provides tools to measure the memory usage of a
11146 Haskell value or function.")
11147 (license license:bsd-3)))
11149 (define-public ghc-linear
11151 (name "ghc-linear")
11156 (uri (string-append "https://hackage.haskell.org/package/linear/"
11157 "linear-" version ".tar.gz"))
11160 "046vkvxlb0s286qr55s0c6db0rlwbm1cmlmwhrrkqbkzhfcipgay"))))
11161 (build-system haskell-build-system)
11163 `(("ghc-adjunctions" ,ghc-adjunctions)
11164 ("ghc-base-orphans" ,ghc-base-orphans)
11165 ("ghc-bytes" ,ghc-bytes)
11166 ("ghc-cereal" ,ghc-cereal)
11167 ("ghc-distributive" ,ghc-distributive)
11168 ("ghc-hashable" ,ghc-hashable)
11169 ("ghc-lens" ,ghc-lens)
11170 ("ghc-reflection" ,ghc-reflection)
11171 ("ghc-semigroups" ,ghc-semigroups)
11172 ("ghc-semigroupoids" ,ghc-semigroupoids)
11173 ("ghc-tagged" ,ghc-tagged)
11174 ("ghc-transformers-compat" ,ghc-transformers-compat)
11175 ("ghc-unordered-containers" ,ghc-unordered-containers)
11176 ("ghc-vector" ,ghc-vector)
11177 ("ghc-void" ,ghc-void)))
11179 `(("cabal-doctest" ,cabal-doctest)
11180 ("ghc-doctest" ,ghc-doctest)
11181 ("ghc-simple-reflect" ,ghc-simple-reflect)
11182 ("ghc-test-framework" ,ghc-test-framework)
11183 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11184 ("ghc-hunit" ,ghc-hunit)))
11185 (home-page "http://github.com/ekmett/linear/")
11186 (synopsis "Linear algebra library for Haskell")
11188 "This package provides types and combinators for linear algebra on free
11190 (license license:bsd-3)))
11192 (define-public ghc-safe-exceptions
11194 (name "ghc-safe-exceptions")
11195 (version "0.1.7.0")
11199 (uri (string-append "https://hackage.haskell.org/package/"
11200 "safe-exceptions/safe-exceptions-"
11201 version ".tar.gz"))
11204 "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q"))))
11205 (build-system haskell-build-system)
11208 ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32")))
11209 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
11211 `(("ghc-hspec" ,ghc-hspec)
11212 ("ghc-void" ,ghc-void)
11213 ("hspec-discover" ,hspec-discover)))
11214 (home-page "https://github.com/fpco/safe-exceptions")
11215 (synopsis "Safe, consistent, and easy exception handling")
11216 (description "Runtime exceptions - as exposed in @code{base} by the
11217 @code{Control.Exception} module - have long been an intimidating part of the
11218 Haskell ecosystem. This package is intended to overcome this. It provides a
11219 safe and simple API on top of the existing exception handling machinery. The
11220 API is equivalent to the underlying implementation in terms of power but
11221 encourages best practices to minimize the chances of getting the exception
11223 (license license:expat)))
11225 (define-public ghc-inline-c-cpp
11227 (name "ghc-inline-c-cpp")
11228 (version "0.2.2.1")
11232 (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/"
11233 "inline-c-cpp-" version ".tar.gz"))
11236 "1rk7fmpkmxw9hhwr8df29kadnf0ybnwj64ggdbnsdrpfyhnkisci"))))
11237 (build-system haskell-build-system)
11239 `(("ghc-inline-c" ,ghc-inline-c)
11240 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
11242 `(("ghc-hspec" ,ghc-hspec)))
11243 (home-page "https://hackage.haskell.org/package/inline-c-cpp")
11244 (synopsis "Lets you embed C++ code into Haskell")
11246 "This package provides utilities to inline C++ code into Haskell using
11248 (license license:expat)))
11250 (define-public ghc-bytestring-lexing
11252 (name "ghc-bytestring-lexing")
11253 (version "0.5.0.2")
11257 (uri (string-append "https://hackage.haskell.org/package/"
11258 "bytestring-lexing/bytestring-lexing-"
11259 version ".tar.gz"))
11262 "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81"))))
11263 (build-system haskell-build-system)
11264 (home-page "http://code.haskell.org/~wren/")
11265 (synopsis "Parse and produce literals from strict or lazy bytestrings")
11267 "This package provides tools to parse and produce literals efficiently
11268 from strict or lazy bytestrings.")
11269 (license license:bsd-2)))
11271 (define-public ghc-configurator
11273 (name "ghc-configurator")
11274 (version "0.3.0.0")
11278 (uri (string-append "https://hackage.haskell.org/package/"
11279 "configurator/configurator-"
11280 version ".tar.gz"))
11283 "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"))))
11284 (build-system haskell-build-system)
11286 `(("ghc-attoparsec" ,ghc-attoparsec)
11287 ("ghc-hashable" ,ghc-hashable)
11288 ("ghc-text" ,ghc-text)
11289 ("ghc-unix-compat" ,ghc-unix-compat)
11290 ("ghc-unordered-containers" ,ghc-unordered-containers)))
11292 `(("ghc-hunit" ,ghc-hunit)
11293 ("ghc-test-framework" ,ghc-test-framework)
11294 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
11295 (home-page "http://github.com/bos/configurator")
11296 (synopsis "Configuration management")
11298 "This package provides a configuration management library for programs
11299 and daemons. The features include:
11302 @item Automatic, dynamic reloading in response to modifications to
11303 configuration files.
11304 @item A simple, but flexible, configuration language, supporting several of
11305 the most commonly needed types of data, along with interpolation of strings
11306 from the configuration or the system environment (e.g. @code{$(HOME)}).
11307 @item Subscription-based notification of changes to configuration properties.
11308 @item An @code{import} directive allows the configuration of a complex
11309 application to be split across several smaller files, or common configuration
11310 data to be shared across several applications.
11312 (license license:bsd-3)))
11314 (define-public ghc-file-embed
11316 (name "ghc-file-embed")
11317 (version "0.0.10.1")
11321 (uri (string-append "https://hackage.haskell.org/package/file-embed/"
11322 "file-embed-" version ".tar.gz"))
11325 "0lj164cnzqyd487mli91nnr7137a4h4qsasfwsnsh77sx12fpk9k"))))
11326 (build-system haskell-build-system)
11327 (home-page "https://github.com/snoyberg/file-embed")
11328 (synopsis "Use Template Haskell to embed file contents directly")
11330 "This package allows you to use Template Haskell to read a file or all
11331 the files in a directory, and turn them into @code{(path, bytestring)} pairs
11332 embedded in your Haskell code.")
11333 (license license:bsd-3)))
11335 (define-public ghc-safeio
11337 (name "ghc-safeio")
11338 (version "0.0.5.0")
11342 (uri (string-append "https://hackage.haskell.org/package/safeio/"
11343 "safeio-" version ".tar.gz"))
11346 "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm"))))
11347 (build-system haskell-build-system)
11349 `(("ghc-conduit" ,ghc-conduit)
11350 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
11351 ("ghc-exceptions" ,ghc-exceptions)
11352 ("ghc-resourcet" ,ghc-resourcet)))
11354 `(("ghc-hunit" ,ghc-hunit)
11355 ("ghc-test-framework" ,ghc-test-framework)
11356 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11357 ("ghc-test-framework-th" ,ghc-test-framework-th)))
11358 (home-page "https://github.com/luispedro/safeio")
11359 (synopsis "Write output to disk atomically")
11361 "This package implements utilities to perform atomic output so as to
11362 avoid the problem of partial intermediate files.")
11363 (license license:expat)))
11365 (define-public ghc-tldr
11368 (version "0.4.0.1")
11372 (uri (string-append
11373 "https://hackage.haskell.org/package/tldr/tldr-"
11378 "0nc581y9jjzwd8l88g48c72mla7k6q1w102akl7gl5jsk9ljamd3"))))
11379 (build-system haskell-build-system)
11381 `(("ghc-cmark" ,ghc-cmark)
11382 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
11383 ("ghc-typed-process" ,ghc-typed-process)
11384 ("ghc-semigroups" ,ghc-semigroups)))
11386 `(("ghc-tasty" ,ghc-tasty)
11387 ("ghc-tasty-golden" ,ghc-tasty-golden)))
11388 (home-page "https://github.com/psibi/tldr-hs#readme")
11389 (synopsis "Haskell tldr client")
11390 (description "This package provides the @command{tldr} command and a
11391 Haskell client library allowing users to update and view @code{tldr} pages
11392 from a shell. The @code{tldr} pages are a community effort to simplify the
11393 man pages with practical examples.")
11394 (license license:bsd-3)))
11396 (define-public ghc-c2hs
11403 (uri (string-append
11404 "https://hackage.haskell.org/package/c2hs/c2hs-"
11409 "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci"))))
11410 (build-system haskell-build-system)
11412 `(("ghc-language-c" ,ghc-language-c)
11413 ("ghc-dlist" ,ghc-dlist)))
11415 `(("ghc-test-framework" ,ghc-test-framework)
11416 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11417 ("ghc-hunit" ,ghc-hunit)
11418 ("ghc-shelly" ,ghc-shelly)
11419 ("ghc-text" ,ghc-text)
11422 `(;; XXX: Test failures are induced by a parse error in <bits/floatn.h>
11427 (modify-phases %standard-phases
11428 (add-before 'check 'set-cc
11429 ;; add a cc executable in the path, needed for some tests to pass
11430 (lambda* (#:key inputs #:allow-other-keys)
11431 (let ((gcc (assoc-ref inputs "gcc"))
11433 (curpath (getenv "PATH")))
11435 (symlink (which "gcc") (string-append tmpbin "/cc"))
11436 (setenv "PATH" (string-append tmpbin ":" curpath)))
11438 (add-after 'check 'remove-cc
11439 ;; clean the tmp dir made in 'set-cc
11441 (let* ((cc-path (which "cc"))
11442 (cc-dir (dirname cc-path)))
11443 (delete-file-recursively cc-dir)
11445 (home-page "https://github.com/haskell/c2hs")
11446 (synopsis "Create Haskell bindings to C libraries")
11447 (description "C->Haskell assists in the development of Haskell bindings to
11448 C libraries. It extracts interface information from C header files and
11449 generates Haskell code with foreign imports and marshaling. Unlike writing
11450 foreign imports by hand (or using hsc2hs), this ensures that C functions are
11451 imported with the correct Haskell types.")
11452 (license license:gpl2)))
11454 (define-public ghc-libmpd
11456 (name "ghc-libmpd")
11457 (version "0.9.0.9")
11461 (uri (string-append
11462 "mirror://hackage/package/libmpd/libmpd-"
11467 "1931m23iqb4wddpdidm4ph746zpaw41kkjzmb074j7yyfpk7x1jv"))))
11468 (build-system haskell-build-system)
11470 `(("ghc-attoparsec" ,ghc-attoparsec)
11471 ("ghc-old-locale" ,ghc-old-locale)
11472 ("ghc-text" ,ghc-text)
11473 ("ghc-data-default-class" ,ghc-data-default-class)
11474 ("ghc-network" ,ghc-network)
11475 ("ghc-utf8-string" ,ghc-utf8-string)))
11477 `(("ghc-quickcheck" ,ghc-quickcheck)
11478 ("ghc-hspec" ,ghc-hspec)
11479 ("hspec-discover" ,hspec-discover)))
11480 (home-page "https://github.com/vimus/libmpd-haskell")
11481 (synopsis "Haskell client library for the Music Player Daemon")
11482 (description "This package provides a pure Haskell client library for the
11483 Music Player Daemon.")
11484 (license license:expat)))
11486 (define-public ghc-alsa-core
11488 (name "ghc-alsa-core")
11489 (version "0.5.0.1")
11493 (uri (string-append
11494 "mirror://hackage/package/alsa-core/alsa-core-"
11499 "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b"))))
11500 (build-system haskell-build-system)
11502 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
11503 ("alsa-lib" ,alsa-lib)))
11505 `(("pkg-config" ,pkg-config)))
11506 (home-page "http://www.haskell.org/haskellwiki/ALSA")
11507 (synopsis "Binding to the ALSA Library API (Exceptions)")
11508 (description "This package provides access to ALSA infrastructure, that is
11509 needed by both alsa-seq and alsa-pcm.")
11510 (license license:bsd-3)))
11512 (define-public ghc-base-unicode-symbols
11514 (name "ghc-base-unicode-symbols")
11519 (uri (string-append
11520 "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-"
11525 "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf"))))
11526 (build-system haskell-build-system)
11527 (home-page "http://www.haskell.org/haskellwiki/Unicode-symbols")
11528 (synopsis "Unicode alternatives for common functions and operators")
11529 (description "This package defines new symbols for a number of functions,
11530 operators and types in the base package. All symbols are documented with
11531 their actual definition and information regarding their Unicode code point.
11532 They should be completely interchangeable with their definitions. For
11533 further Unicode goodness you can enable the @code{UnicodeSyntax}
11534 @url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax,
11535 language extension}. This extension enables Unicode characters to be used to
11536 stand for certain ASCII character sequences, i.e. → instead of @code{->},
11537 ∀ instead of @code{forall} and many others.")
11538 (license license:bsd-3)))
11540 (define-public ghc-stylish-haskell
11542 (name "ghc-stylish-haskell")
11543 (version "0.9.2.1")
11547 (uri (string-append
11548 "mirror://hackage/package/stylish-haskell/stylish-haskell-"
11553 "1ls11fdx6snvfx8yykpidz142zzxwi5bazl49hgfqlwx50rqcp7w"))))
11554 (build-system haskell-build-system)
11556 `(("ghc-aeson" ,ghc-aeson)
11557 ("ghc-file-embed" ,ghc-file-embed)
11558 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
11559 ("ghc-semigroups" ,ghc-semigroups)
11560 ("ghc-syb" ,ghc-syb)
11561 ("ghc-yaml" ,ghc-yaml)
11562 ("ghc-strict" ,ghc-strict)
11563 ("ghc-optparse-applicative"
11564 ,ghc-optparse-applicative)))
11566 `(("ghc-hunit" ,ghc-hunit)
11567 ("ghc-test-framework" ,ghc-test-framework)
11568 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
11569 (home-page "https://github.com/jaspervdj/stylish-haskell")
11570 (synopsis "Haskell code prettifier")
11571 (description "Stylish-haskell is a Haskell code prettifier. The goal is
11572 not to format all of the code in a file, to avoid \"getting in the way\".
11573 However, this tool can e.g. clean up import statements and help doing various
11574 tasks that get tedious very quickly. It can
11577 Align and sort @code{import} statements
11579 Group and wrap @code{{-# LANGUAGE #-}} pragmas, remove (some) redundant
11582 Remove trailing whitespaces
11584 Align branches in @code{case} and fields in records
11586 Convert line endings (customisable)
11588 Replace tabs by four spaces (turned off by default)
11590 Replace some ASCII sequences by their Unicode equivalent (turned off by
11593 (license license:bsd-3)))
11594 ;;; haskell.scm ends here