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>
21 ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
23 ;;; This file is part of GNU Guix.
25 ;;; GNU Guix is free software; you can redistribute it and/or modify it
26 ;;; under the terms of the GNU General Public License as published by
27 ;;; the Free Software Foundation; either version 3 of the License, or (at
28 ;;; your option) any later version.
30 ;;; GNU Guix is distributed in the hope that it will be useful, but
31 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
32 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 ;;; GNU General Public License for more details.
35 ;;; You should have received a copy of the GNU General Public License
36 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
38 (define-module (gnu packages haskell)
39 #:use-module (gnu packages)
40 #:use-module (gnu packages base)
41 #:use-module (gnu packages bootstrap)
42 #:use-module (gnu packages check)
43 #:use-module (gnu packages compression)
44 #:use-module (gnu packages elf)
45 #:use-module (gnu packages emacs)
46 #:use-module (gnu packages gcc)
47 #:use-module (gnu packages ghostscript)
48 #:use-module (gnu packages gl)
49 #:use-module (gnu packages graphviz)
50 #:use-module (gnu packages gtk)
51 #:use-module (gnu packages haskell-check)
52 #:use-module (gnu packages haskell-crypto)
53 #:use-module (gnu packages haskell-web)
54 #:use-module (gnu packages libffi)
55 #:use-module (gnu packages linux)
56 #:use-module (gnu packages lisp)
57 #:use-module (gnu packages lua)
58 #:use-module (gnu packages maths)
59 #:use-module (gnu packages multiprecision)
60 #:use-module (gnu packages ncurses)
61 #:use-module (gnu packages pcre)
62 #:use-module (gnu packages perl)
63 #:use-module (gnu packages pkg-config)
64 #:use-module (gnu packages python)
65 #:use-module (gnu packages sdl)
66 #:use-module (gnu packages tls)
67 #:use-module (gnu packages xml)
68 #:use-module (gnu packages xorg)
69 #:use-module (guix build-system gnu)
70 #:use-module (guix build-system haskell)
71 #:use-module (guix download)
72 #:use-module (guix git-download)
73 #:use-module ((guix licenses) #:prefix license:)
74 #:use-module (guix packages)
75 #:use-module (guix utils)
76 #:use-module (ice-9 match)
77 #:use-module (ice-9 regex)
78 #:use-module ((srfi srfi-1) #:select (alist-delete)))
80 (define-public cl-yale-haskell
81 (let ((commit "85f94c72a16c5f70301dd8db04cde9de2d7dd270")
84 (name "cl-yale-haskell")
85 (version (string-append "2.0.5-" revision "." (string-take commit 9)))
89 (url "https://git.elephly.net/software/yale-haskell.git")
91 (file-name (string-append "yale-haskell-" commit "-checkout"))
94 "0bal3m6ryrjamz5p93bhs9rp5msk8k7lpcqr44wd7xs9b9k8w74g"))))
95 (build-system gnu-build-system)
97 `(#:tests? #f ; no tests
98 ;; Stripping binaries leads to a broken executable lisp system image.
101 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
103 (modify-phases %standard-phases
106 (setenv "PRELUDE" "./progs/prelude")
107 (setenv "HASKELL_LIBRARY" "./progs/lib")
108 (setenv "PRELUDEBIN" "./progs/prelude/clisp")
109 (setenv "HASKELLPROG" "./bin/clisp-haskell")
113 (home-page "https://git.elephly.net/software/yale-haskell.git")
114 (synopsis "Port of the Yale Haskell system to CLISP")
115 (description "This package provides the Yale Haskell system running on
117 (license license:bsd-4))))
119 (define ghc-bootstrap-x86_64-7.8.4
123 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.xz")
126 "13azsl53xgj20mi1hj9x0xb32vvcvs6cpmvwx6znxhas7blh0bpn"))))
128 (define ghc-bootstrap-i686-7.8.4
132 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.xz")
135 "0wj5s435j0zgww70bj1d3f6wvnnpzlxwvwcyh2qv4qjq5z8j64kg"))))
137 ;; 43 tests out of 3965 fail.
139 ;; Most of them do not appear to be serious:
141 ;; - some tests generate files referring to "/bin/sh" and "/bin/ls". I've not
142 ;; figured out how these references are generated.
144 ;; - Some tests allocate more memory than expected (ca. 3% above upper limit)
146 ;; - Some tests try to load unavailable libriries: Control.Concurrent.STM,
147 ;; Data.Vector, Control.Monad.State.
149 ;; - Test posix010 tries to check the existence of a user on the system:
150 ;; getUserEntryForName: does not exist (no such user)
158 (uri (string-append "https://www.haskell.org/ghc/dist/"
159 version "/" name "-" version "-src.tar.xz"))
162 "1x8m4rp2v7ydnrz6z9g8x7z3x3d3pxhv2pixy7i7hkbqbdsp7kal"))))
163 (build-system gnu-build-system)
164 (supported-systems '("i686-linux" "x86_64-linux"))
165 (outputs '("out" "doc"))
174 "https://www.haskell.org/ghc/dist/"
175 version "/" name "-" version "-testsuite.tar.xz"))
178 "0qp9da9ar87zbyn6wjgacd2ic1vgzbi3cklxnhsmjqyafv9qaj4b"))))))
181 ("python" ,python-2) ; for tests (fails with python-3)
182 ("ghostscript" ,ghostscript) ; for tests
183 ("patchelf" ,patchelf)
184 ;; GHC is built with GHC. Therefore we need bootstrap binaries.
186 ,(if (string-match "x86_64" (or (%current-target-system) (%current-system)))
187 ghc-bootstrap-x86_64-7.8.4
188 ghc-bootstrap-i686-7.8.4))))
190 `(#:test-target "test"
191 ;; We get a smaller number of test failures by disabling parallel test
195 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
196 ;; gremlin) doesn't support it yet, so skip this phase.
197 #:validate-runpath? #f
199 ;; Don't pass --build=<triplet>, because the configure script
200 ;; auto-detects slightly different triplets for --host and --target and
201 ;; then complains that they don't match.
204 #:modules ((guix build gnu-build-system)
209 #:imported-modules (,@%gnu-build-system-modules
213 (string-append "--with-gmp-libraries="
214 (assoc-ref %build-inputs "gmp") "/lib")
215 (string-append "--with-gmp-includes="
216 (assoc-ref %build-inputs "gmp") "/include")
217 "--with-system-libffi"
218 (string-append "--with-ffi-libraries="
219 (assoc-ref %build-inputs "libffi") "/lib")
220 (string-append "--with-ffi-includes="
221 (assoc-ref %build-inputs "libffi") "/include"))
222 ;; FIXME: The user-guide needs dblatex, docbook-xsl and docbook-utils.
223 ;; Currently we do not have the last one.
225 ;; (list "BUILD_DOCBOOK_HTML = YES")
227 (let* ((ghc-bootstrap-path
228 (string-append (getcwd) "/" ,name "-" ,version "/ghc-bin"))
229 (ghc-bootstrap-prefix
230 (string-append ghc-bootstrap-path "/usr" )))
232 'unpack-bin 'unpack-testsuite-and-fix-bins
233 (lambda* (#:key inputs outputs #:allow-other-keys)
234 (with-directory-excursion ".."
235 (copy-file (assoc-ref inputs "ghc-testsuite")
236 "ghc-testsuite.tar.xz")
237 (system* "tar" "xvf" "ghc-testsuite.tar.xz"))
239 (list "testsuite/timeout/Makefile"
240 "testsuite/timeout/timeout.py"
241 "testsuite/timeout/timeout.hs"
242 "testsuite/tests/rename/prog006/Setup.lhs"
243 "testsuite/tests/programs/life_space_leak/life.test"
244 "libraries/process/System/Process/Internals.hs"
245 "libraries/unix/cbits/execvpe.c")
246 (("/bin/sh") (which "sh"))
251 (lambda* (#:key inputs outputs #:allow-other-keys)
252 (mkdir-p ghc-bootstrap-prefix)
253 (with-directory-excursion ghc-bootstrap-path
254 (copy-file (assoc-ref inputs "ghc-binary")
256 (zero? (system* "tar" "xvf" "ghc-bin.tar.xz"))))
258 'install-bin 'configure-bin
259 (lambda* (#:key inputs outputs #:allow-other-keys)
262 "./utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"
263 "./utils/hpc/dist-install/build/tmp/hpc"
264 "./utils/haddock/dist/build/tmp/haddock"
265 "./utils/hsc2hs/dist-install/build/tmp/hsc2hs"
266 "./utils/runghc/dist-install/build/tmp/runghc"
267 "./utils/ghc-cabal/dist-install/build/tmp/ghc-cabal"
268 "./utils/hp2ps/dist/build/tmp/hp2ps"
269 "./utils/ghc-pkg/dist-install/build/tmp/ghc-pkg"
270 "./utils/unlit/dist/build/tmp/unlit"
271 "./ghc/stage2/build/tmp/ghc-stage2"))
272 (gmp (assoc-ref inputs "gmp"))
273 (gmp-lib (string-append gmp "/lib"))
274 (gmp-include (string-append gmp "/include"))
276 (string-append (assoc-ref inputs "ncurses") "/lib"))
277 (ld-so (string-append (assoc-ref inputs "libc")
278 ,(glibc-dynamic-linker)))
280 (string-append ghc-bootstrap-prefix
281 "/lib/ghc-7.8.4/terminfo-0.4.0.0")))
282 (with-directory-excursion
283 (string-append ghc-bootstrap-path "/ghc-7.8.4")
284 (setenv "CONFIG_SHELL" (which "bash"))
285 (setenv "LD_LIBRARY_PATH" gmp-lib)
286 ;; The binaries have "/lib64/ld-linux-x86-64.so.2" hardcoded.
288 (cut system* "patchelf" "--set-interpreter" ld-so <>)
290 ;; The binaries include a reference to libtinfo.so.5 which
291 ;; is a subset of libncurses.so.5. We create a symlink in a
292 ;; directory included in the bootstrap binaries rpath.
293 (mkdir-p libtinfo-dir)
295 (string-append ncurses-lib "/libncursesw.so."
296 ;; Extract "6.0" from "6.0-20170930" if a
297 ;; dash-separated version tag exists.
298 ,(let* ((v (package-version ncurses))
299 (d (or (string-index v #\-)
301 (version-major+minor (string-take v d))))
302 (string-append libtinfo-dir "/libtinfo.so.5"))
305 (string-append (getenv "PATH") ":"
306 ghc-bootstrap-prefix "/bin"))
308 (string-append (getcwd) "/configure")
309 (string-append "--prefix=" ghc-bootstrap-prefix)
310 (string-append "--with-gmp-libraries=" gmp-lib)
311 (string-append "--with-gmp-includes=" gmp-include)))))
313 'configure 'install-bin
314 (lambda* (#:key inputs outputs #:allow-other-keys)
315 (with-directory-excursion
316 (string-append ghc-bootstrap-path "/ghc-7.8.4")
317 (zero? (system* "make" "install"))))
318 %standard-phases)))))))
319 (native-search-paths (list (search-path-specification
320 (variable "GHC_PACKAGE_PATH")
322 (string-append "lib/ghc-" version)))
323 (file-pattern ".*\\.conf\\.d$")
324 (file-type 'directory))))
325 (home-page "https://www.haskell.org/ghc")
326 (synopsis "The Glasgow Haskell Compiler")
328 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
329 interactive environment for the functional language Haskell.")
330 (license license:bsd-3)))
332 (define-public ghc-8.0
339 (uri (string-append "https://www.haskell.org/ghc/dist/"
340 version "/" name "-" version "-src.tar.xz"))
342 (base32 "1c8qc4fhkycynk4g1f9hvk53dj6a1vvqi6bklqznns6hw59m8qhi"))
345 "ghc-dont-pass-linker-flags-via-response-files.patch"
346 "ghc-8.0-fall-back-to-madv_dontneed.patch"))))
347 (build-system gnu-build-system)
348 (supported-systems '("i686-linux" "x86_64-linux"))
349 (outputs '("out" "doc"))
358 "https://www.haskell.org/ghc/dist/"
359 version "/" name "-" version "-testsuite.tar.xz"))
361 (base32 "1wjc3x68l305bl1h1ijd3yhqp2vqj83lkp3kqbr94qmmkqlms8sj"))))))
364 ("python" ,python-2) ; for tests
365 ("ghostscript" ,ghostscript) ; for tests
366 ;; GHC is built with GHC.
367 ("ghc-bootstrap" ,ghc-7)))
369 `(#:test-target "test"
370 ;; We get a smaller number of test failures by disabling parallel test
374 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
375 ;; gremlin) doesn't support it yet, so skip this phase.
376 #:validate-runpath? #f
378 ;; Don't pass --build=<triplet>, because the configure script
379 ;; auto-detects slightly different triplets for --host and --target and
380 ;; then complains that they don't match.
385 (string-append "--with-gmp-libraries="
386 (assoc-ref %build-inputs "gmp") "/lib")
387 (string-append "--with-gmp-includes="
388 (assoc-ref %build-inputs "gmp") "/include")
389 "--with-system-libffi"
390 (string-append "--with-ffi-libraries="
391 (assoc-ref %build-inputs "libffi") "/lib")
392 (string-append "--with-ffi-includes="
393 (assoc-ref %build-inputs "libffi") "/include")
394 (string-append "--with-curses-libraries="
395 (assoc-ref %build-inputs "ncurses") "/lib")
396 (string-append "--with-curses-includes="
397 (assoc-ref %build-inputs "ncurses") "/include"))
399 (modify-phases %standard-phases
400 (add-after 'unpack 'unpack-testsuite
401 (lambda* (#:key inputs #:allow-other-keys)
402 (with-directory-excursion ".."
403 (copy-file (assoc-ref inputs "ghc-testsuite")
404 "ghc-testsuite.tar.xz")
405 (zero? (system* "tar" "xvf" "ghc-testsuite.tar.xz")))))
406 (add-before 'build 'fix-lib-paths
409 (list "libraries/process/System/Process/Posix.hs"
410 "libraries/process/tests/process001.hs"
411 "libraries/process/tests/process002.hs"
412 "libraries/unix/cbits/execvpe.c")
413 (("/bin/sh") (which "sh"))
414 (("/bin/ls") (which "ls")))
416 (add-before 'build 'fix-environment
418 (unsetenv "GHC_PACKAGE_PATH")
419 (setenv "CONFIG_SHELL" (which "bash"))
421 (add-before 'check 'fix-testsuite
424 (list "testsuite/timeout/Makefile"
425 "testsuite/timeout/timeout.py"
426 "testsuite/timeout/timeout.hs"
427 "testsuite/tests/programs/life_space_leak/life.test")
428 (("/bin/sh") (which "sh"))
431 (native-search-paths (list (search-path-specification
432 (variable "GHC_PACKAGE_PATH")
434 (string-append "lib/ghc-" version)))
435 (file-pattern ".*\\.conf\\.d$")
436 (file-type 'directory))))
437 (home-page "https://www.haskell.org/ghc")
438 (synopsis "The Glasgow Haskell Compiler")
440 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
441 interactive environment for the functional language Haskell.")
442 (license license:bsd-3)))
444 (define-public ghc-8.4
445 (package (inherit ghc-8.0)
451 (uri (string-append "https://www.haskell.org/ghc/dist/"
452 version "/" name "-" version "-src.tar.xz"))
454 (base32 "1mk046vb561j75saz05rghhbkps46ym5aci4264dwc2qk3dayixf"))))
459 ("target-binutils" ,binutils)
461 ("target-ld-wrapper" ,(make-ld-wrapper "ld-wrapper"
462 #:binutils binutils))))
465 ("python" ,python) ; for tests
466 ("ghostscript" ,ghostscript) ; for tests
467 ;; GHC 8.4.3 is built with GHC 8.
468 ("ghc-bootstrap" ,ghc-8.0)
473 "https://www.haskell.org/ghc/dist/"
474 version "/" name "-" version "-testsuite.tar.xz"))
477 "1z55b1z0m3plqd2d1ks6w5wvx7igm7zsk3i4v7cms003z0as0hzz"))))))
479 `(#:test-target "test"
480 ;; We get a smaller number of test failures by disabling parallel test
484 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
485 ;; gremlin) doesn't support it yet, so skip this phase.
486 #:validate-runpath? #f
488 ;; Don't pass --build=<triplet>, because the configure script
489 ;; auto-detects slightly different triplets for --host and --target and
490 ;; then complains that they don't match.
495 (string-append "--with-gmp-libraries="
496 (assoc-ref %build-inputs "gmp") "/lib")
497 (string-append "--with-gmp-includes="
498 (assoc-ref %build-inputs "gmp") "/include")
499 "--with-system-libffi"
500 (string-append "--with-ffi-libraries="
501 (assoc-ref %build-inputs "libffi") "/lib")
502 (string-append "--with-ffi-includes="
503 (assoc-ref %build-inputs "libffi") "/include")
504 (string-append "--with-curses-libraries="
505 (assoc-ref %build-inputs "ncurses") "/lib")
506 (string-append "--with-curses-includes="
507 (assoc-ref %build-inputs "ncurses") "/include"))
509 (modify-phases %standard-phases
510 (add-after 'unpack 'unpack-testsuite
511 (lambda* (#:key inputs #:allow-other-keys)
513 (assoc-ref inputs "ghc-testsuite")
514 "--strip-components=1")
516 ;; This phase patches the 'ghc-pkg' command so that it sorts the list
517 ;; of packages in the binary cache it generates.
518 (add-before 'build 'fix-ghc-pkg-nondeterminism
520 (substitute* "utils/ghc-pkg/Main.hs"
521 (("confs = map \\(path </>\\) \\$ filter \\(\".conf\" `isSuffixOf`\\) fs")
522 "confs = map (path </>) $ filter (\".conf\" `isSuffixOf`) (sort fs)"))
524 (add-after 'unpack-testsuite 'fix-shell-wrappers
526 (substitute* '("driver/ghci/ghc.mk"
527 "utils/mkdirhier/ghc.mk"
528 "rules/shell-wrapper.mk")
529 (("echo '#!/bin/sh'")
530 (format #f "echo '#!~a'" (which "sh"))))
532 ;; This is necessary because the configure system no longer uses
533 ;; “AC_PATH_” but “AC_CHECK_”, setting the variables to just the
534 ;; plain command names.
535 (add-before 'configure 'set-target-programs
536 (lambda* (#:key inputs #:allow-other-keys)
537 (let ((binutils (assoc-ref inputs "target-binutils"))
538 (gcc (assoc-ref inputs "target-gcc"))
539 (ld-wrapper (assoc-ref inputs "target-ld-wrapper")))
540 (setenv "CC" (string-append gcc "/bin/gcc"))
541 (setenv "CXX" (string-append gcc "/bin/g++"))
542 (setenv "LD" (string-append ld-wrapper "/bin/ld"))
543 (setenv "NM" (string-append binutils "/bin/nm"))
544 (setenv "RANLIB" (string-append binutils "/bin/ranlib"))
545 (setenv "STRIP" (string-append binutils "/bin/strip"))
546 ;; The 'ar' command does not follow the same pattern.
547 (setenv "fp_prog_ar" (string-append binutils "/bin/ar"))
549 (add-before 'build 'fix-references
551 (substitute* '("testsuite/timeout/Makefile"
552 "testsuite/timeout/timeout.py"
553 "testsuite/timeout/timeout.hs"
554 "testsuite/tests/programs/life_space_leak/life.test"
556 "libraries/process/System/Process/Posix.hs"
557 "libraries/process/tests/process001.hs"
558 "libraries/process/tests/process002.hs"
559 "libraries/unix/cbits/execvpe.c")
560 (("/bin/sh") (which "sh"))
561 (("/bin/ls") (which "ls"))
564 (add-before 'build 'fix-environment
566 (unsetenv "GHC_PACKAGE_PATH")
567 (setenv "CONFIG_SHELL" (which "bash"))
569 (native-search-paths (list (search-path-specification
570 (variable "GHC_PACKAGE_PATH")
572 (string-append "lib/ghc-" version)))
573 (file-pattern ".*\\.conf\\.d$")
574 (file-type 'directory))))))
576 (define-public ghc-8.6
577 (package (inherit ghc-8.4)
583 (uri (string-append "https://www.haskell.org/ghc/dist/"
584 version "/" name "-" version "-src.tar.xz"))
586 (base32 "0qg3zsmbk4rkwkc3jpas3zs74qaxmw4sp4v1mhsbj0a0dzls2jjd"))))
588 `(;; GHC 8.6.5 must be built with GHC >= 8.2.
589 ("ghc-bootstrap" ,ghc-8.4)
594 "https://www.haskell.org/ghc/dist/"
595 version "/" name "-" version "-testsuite.tar.xz"))
598 "0pw9r91g2np3i806g2f4f8z4jfdd7mx226cmdizk4swa7av1qf91"))))
599 ,@(filter (match-lambda
600 (("ghc-bootstrap" . _) #f)
601 (("ghc-testsuite" . _) #f)
603 (package-native-inputs ghc-8.4))))
605 (substitute-keyword-arguments (package-arguments ghc-8.4)
606 ((#:make-flags make-flags ''())
607 `(cons "EXTRA_RUNTEST_OPTS=--skip-perf-tests"
609 ((#:phases phases '%standard-phases)
610 `(modify-phases ,phases
611 ;; These two tests refer to the root user, which doesn't exist
612 ;; (see <https://bugs.gnu.org/36692>).
613 (add-after 'unpack-testsuite 'skip-tests
615 (substitute* "libraries/unix/tests/all.T"
616 (("^test\\('T8108'") "# guix skipped: test('T8108'"))
617 (substitute* "libraries/unix/tests/libposix/all.T"
618 (("^test\\('posix010'") "# guix skipped: test('posix010'"))
621 (define-public ghc-8 ghc-8.4)
623 (define-public ghc ghc-8)
625 (define-public ghc-hostname
627 (name "ghc-hostname")
632 (uri (string-append "https://hackage.haskell.org/package/hostname/"
633 "hostname-" version ".tar.gz"))
636 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
637 (build-system haskell-build-system)
638 (home-page "https://hackage.haskell.org/package/hostname")
639 (synopsis "Hostname in Haskell")
640 (description "Network.HostName is a simple package providing a means to
641 determine the hostname.")
642 (license license:bsd-3)))
644 (define-public ghc-convertible
646 (name "ghc-convertible")
651 (uri (string-append "https://hackage.haskell.org/package/convertible/"
652 "convertible-" version ".tar.gz"))
655 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
656 (build-system haskell-build-system)
658 `(("ghc-old-time" ,ghc-old-time)
659 ("ghc-old-locale" ,ghc-old-locale)))
660 (home-page "https://hackage.haskell.org/package/convertible")
661 (synopsis "Typeclasses and instances for converting between types")
663 "This package provides a typeclass with a single function that is
664 designed to help convert between different types: numeric values, dates and
665 times, and the like. The conversions perform bounds checking and return a
666 pure @code{Either} value. This means that you need not remember which specific
667 function performs the conversion you desire.")
668 (license license:bsd-3)))
670 (define-public ghc-double-conversion
672 (name "ghc-double-conversion")
677 (uri (string-append "https://hackage.haskell.org/package/"
678 "double-conversion/double-conversion-"
682 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
683 (build-system haskell-build-system)
685 `(("ghc-hunit" ,ghc-hunit)
686 ("ghc-test-framework" ,ghc-test-framework)
687 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
688 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
689 (home-page "https://github.com/bos/double-conversion")
690 (synopsis "Fast conversion between double precision floating point and text")
692 "This package provides a library that performs fast, accurate conversion
693 between double precision floating point and text.")
694 (license license:bsd-3)))
696 (define-public ghc-libxml
703 (uri (string-append "https://hackage.haskell.org/package/libxml/"
704 "libxml-" version ".tar.gz"))
707 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
708 (build-system haskell-build-system)
710 `(("libxml2" ,libxml2)))
713 `(,(string-append "--extra-include-dirs="
714 (assoc-ref %build-inputs "libxml2")
715 "/include/libxml2"))))
716 (home-page "https://hackage.haskell.org/package/libxml")
717 (synopsis "Haskell bindings to libxml2")
719 "This library provides minimal Haskell binding to libxml2.")
720 (license license:bsd-3)))
722 (define-public ghc-prelude-extras
724 (name "ghc-prelude-extras")
730 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
735 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
736 (build-system haskell-build-system)
737 (home-page "https://github.com/ekmett/prelude-extras")
738 (synopsis "Higher order versions of Prelude classes")
739 (description "This library provides higher order versions of
740 @code{Prelude} classes to ease programming with polymorphic recursion and
741 reduce @code{UndecidableInstances}.")
742 (license license:bsd-3)))
744 (define-public ghc-data-default
746 (name "ghc-data-default")
752 "https://hackage.haskell.org/package/data-default/data-default-"
756 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
757 (build-system haskell-build-system)
759 `(("ghc-data-default-class"
760 ,ghc-data-default-class)
761 ("ghc-data-default-instances-base"
762 ,ghc-data-default-instances-base)
763 ("ghc-data-default-instances-containers"
764 ,ghc-data-default-instances-containers)
765 ("ghc-data-default-instances-dlist"
766 ,ghc-data-default-instances-dlist)
767 ("ghc-data-default-instances-old-locale"
768 ,ghc-data-default-instances-old-locale)))
769 (home-page "https://hackage.haskell.org/package/data-default")
770 (synopsis "Types with default values")
772 "This package defines a class for types with a default value, and
773 provides instances for types from the base, containers, dlist and old-locale
775 (license license:bsd-3)))
777 (define-public ghc-data-default-class
779 (name "ghc-data-default-class")
785 "https://hackage.haskell.org/package/data-default-class/"
786 "data-default-class-" version ".tar.gz"))
788 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
789 (build-system haskell-build-system)
790 (home-page "https://hackage.haskell.org/package/data-default-class")
791 (synopsis "Types with default values")
793 "This package defines a class for types with default values.")
794 (license license:bsd-3)))
796 (define-public ghc-data-default-instances-base
798 (name "ghc-data-default-instances-base")
804 "https://hackage.haskell.org/package/"
805 "data-default-instances-base/"
806 "data-default-instances-base-" version ".tar.gz"))
808 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
809 (build-system haskell-build-system)
811 `(("ghc-data-default-class" ,ghc-data-default-class)))
812 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
813 (synopsis "Default instances for types in base")
815 "This package provides default instances for types from the base
817 (license license:bsd-3)))
819 (define-public ghc-data-default-instances-containers
821 (name "ghc-data-default-instances-containers")
827 "https://hackage.haskell.org/package/"
828 "data-default-instances-containers/"
829 "data-default-instances-containers-" version ".tar.gz"))
831 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
832 (build-system haskell-build-system)
834 `(("ghc-data-default-class" ,ghc-data-default-class)))
835 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
836 (synopsis "Default instances for types in containers")
837 (description "Provides default instances for types from the containers
839 (license license:bsd-3)))
841 (define-public ghc-data-default-instances-dlist
843 (name "ghc-data-default-instances-dlist")
849 "https://hackage.haskell.org/package/"
850 "data-default-instances-dlist/"
851 "data-default-instances-dlist-" version ".tar.gz"))
853 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
854 (build-system haskell-build-system)
856 `(("ghc-data-default-class" ,ghc-data-default-class)
857 ("ghc-dlist" ,ghc-dlist)))
858 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
859 (synopsis "Default instances for types in dlist")
860 (description "Provides default instances for types from the dlist
862 (license license:bsd-3)))
864 (define-public ghc-code-page
866 (name "ghc-code-page")
872 "https://hackage.haskell.org/package/code-page/code-page-"
876 "1491frk4jx6dlhifky9dvcxbsbcfssrz979a5hp5zn061rh8cp76"))))
877 (build-system haskell-build-system)
878 (home-page "https://github.com/RyanGlScott/code-page")
879 (synopsis "Windows code page library for Haskell")
880 (description "A cross-platform library with functions for adjusting
881 code pages on Windows. On all other operating systems, the library does
883 (license license:bsd-3)))
885 (define-public ghc-libffi
892 (uri (string-append "https://hackage.haskell.org/package/"
893 "libffi/libffi-" version ".tar.gz"))
896 "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28"))))
897 (build-system haskell-build-system)
898 (native-inputs `(("pkg-config" ,pkg-config)))
899 (inputs `(("libffi" ,libffi)))
900 (home-page "http://hackage.haskell.org/package/libffi")
901 (synopsis "Haskell binding to libffi")
903 "A binding to libffi, allowing C functions of types only known at runtime
904 to be called from Haskell.")
905 (license license:bsd-3)))
907 (define-public ghc-newtype-generics
909 (name "ghc-newtype-generics")
914 (uri (string-append "https://hackage.haskell.org/package/"
915 "newtype-generics/newtype-generics-"
919 "0igyisw2djg19v9vkna1rwf47k97mvkvk4bbkmswznvbm00z15gj"))))
920 (build-system haskell-build-system)
922 `(("ghc-hspec" ,ghc-hspec)
923 ("hspec-discover" ,hspec-discover)))
924 (home-page "http://github.com/sjakobi/newtype-generics")
925 (synopsis "Typeclass and set of functions for working with newtypes")
926 (description "The @code{Newtype} typeclass represents the packing and
927 unpacking of a newtype, and allows you to operate under that newtype with
928 functions such as @code{ala}. Generics support was added in version 0.4,
929 making this package a full replacement for the original newtype package,
930 and an alternative to newtype-th.")
931 (license license:bsd-3)))
933 (define-public ghc-memotrie
935 (name "ghc-memotrie")
941 "https://hackage.haskell.org/package/MemoTrie/MemoTrie-"
946 "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x"))))
947 (build-system haskell-build-system)
949 `(("ghc-newtype-generics" ,ghc-newtype-generics)))
950 (home-page "https://github.com/conal/MemoTrie")
951 (synopsis "Trie-based memo functions")
952 (description "This package provides a functional library for creating
953 efficient memo functions using tries.")
954 (license license:bsd-3)))
956 (define-public ghc-tree-diff
958 (name "ghc-tree-diff")
964 "https://hackage.haskell.org/package/tree-diff/tree-diff-"
969 "049v44c520jy3icxlnrvbdblh3mjmvd7m6qmkzxbzkf02x63xqmz"))))
970 (build-system haskell-build-system)
973 ("4" "1rqxxyj6hqllahs11693g855cxz8mgnb490s7j1ksd300i5xgjsp")
975 (modify-phases %standard-phases
976 (add-before 'configure 'update-constraints
978 (substitute* "tree-diff.cabal"
979 (("trifecta >=1\\.7\\.1\\.1 && <1\\.8")
980 "trifecta >=1.7.1.1 && <=2")))))))
982 `(("ghc-aeson" ,ghc-aeson)
983 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
984 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
985 ("ghc-base-compat" ,ghc-base-compat)
986 ("ghc-generics-sop" ,ghc-generics-sop)
987 ("ghc-hashable" ,ghc-hashable)
988 ("ghc-memotrie" ,ghc-memotrie)
989 ("ghc-parsers" ,ghc-parsers)
990 ("ghc-quickcheck" ,ghc-quickcheck)
991 ("ghc-scientific" ,ghc-scientific)
992 ("ghc-tagged" ,ghc-tagged)
993 ("ghc-unordered-containers" ,ghc-unordered-containers)
994 ("ghc-uuid-types" ,ghc-uuid-types)
995 ("ghc-vector" ,ghc-vector)))
997 `(("ghc-base-compat" ,ghc-base-compat)
998 ("ghc-quickcheck" ,ghc-quickcheck)
999 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
1000 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
1001 ("ghc-trifecta" ,ghc-trifecta)
1002 ("ghc-tasty" ,ghc-tasty)
1003 ("ghc-tasty-golden" ,ghc-tasty-golden)
1004 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
1005 (home-page "https://github.com/phadej/tree-diff")
1006 (synopsis "Compute difference between (expression) trees")
1007 (description "This Haskell library provides a function for computing
1008 the difference between (expression) trees. It also provides a way to
1009 compute the difference between arbitrary abstract datatypes (ADTs) using
1010 @code{Generics}-derivable helpers.")
1011 (license license:bsd-3)))
1013 (define-public ghc-haddock-library
1015 (name "ghc-haddock-library")
1021 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
1026 "1cmbg8l5xrwpliclwy3l057raypjqy0hsg1h1743ahaj8gq10b7z"))
1027 (patches (search-patches
1028 "ghc-haddock-library-unbundle.patch"))
1029 (modules '((guix build utils)))
1031 (delete-file-recursively "vendor")
1033 (build-system haskell-build-system)
1036 (modify-phases %standard-phases
1037 (add-before 'configure 'relax-test-suite-dependencies
1039 (substitute* "haddock-library.cabal"
1040 (("base-compat\\s*\\^>= 0\\.9\\.3") "base-compat")
1041 (("hspec\\s*\\^>= 2\\.4\\.4") "hspec"))))
1042 ;; The release tarball does not contain the "fixtures/examples"
1043 ;; directory, which is required for testing. In the upstream
1044 ;; repository, the directory exists and is populated. Here, we
1045 ;; create an empty directory to placate the tests.
1046 (add-before 'check 'add-examples-directory
1048 (mkdir "fixtures/examples")
1051 `(("ghc-base-compat" ,ghc-base-compat)
1052 ("ghc-hspec" ,ghc-hspec)
1053 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
1054 ("ghc-quickcheck" ,ghc-quickcheck)
1055 ("ghc-tree-diff" ,ghc-tree-diff)
1056 ("hspec-discover" ,hspec-discover)))
1057 (home-page "https://www.haskell.org/haddock/")
1058 (synopsis "Library exposing some functionality of Haddock")
1060 "Haddock is a documentation-generation tool for Haskell libraries. These
1061 modules expose some functionality of it without pulling in the GHC dependency.
1062 Please note that the API is likely to change so specify upper bounds in your
1063 project if you can't release often. For interacting with Haddock itself, see
1064 the ‘haddock’ package.")
1065 (license license:bsd-3)))
1067 (define-public ghc-haddock-api
1069 (name "ghc-haddock-api")
1070 (version "2.19.0.1")
1075 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
1080 "0c6i7sljp7myz25d90gyw68a90i5jcrkajkxcciikp2hjirfaas3"))))
1081 (build-system haskell-build-system)
1084 (modify-phases %standard-phases
1085 (add-before 'configure 'update-constraints
1087 (substitute* "haddock-api.cabal"
1088 (("Cabal \\^>= 2\\.0\\.0")
1090 (("hspec \\^>= 2\\.4\\.4")
1091 "hspec >= 2.4.4 && < 2.6")))))))
1093 `(("ghc-paths" ,ghc-paths)
1094 ("ghc-haddock-library" ,ghc-haddock-library)))
1096 `(("ghc-quickcheck" ,ghc-quickcheck)
1097 ("ghc-hspec" ,ghc-hspec)
1098 ("hspec-discover" ,hspec-discover)))
1099 (home-page "https://www.haskell.org/haddock/")
1100 (synopsis "API for documentation-generation tool Haddock")
1101 (description "This package provides an API to Haddock, the
1102 documentation-generation tool for Haskell libraries.")
1103 (license license:bsd-3)))
1105 (define-public ghc-haddock
1107 (name "ghc-haddock")
1108 (version "2.19.0.1")
1113 "https://hackage.haskell.org/package/haddock/haddock-"
1118 "1g1j9j0hf2yhyyh0gwz6bzbvfvliqz9x8a8hnkmwghm7w3xa6sb7"))))
1119 (build-system haskell-build-system)
1122 (modify-phases %standard-phases
1123 ;; There are four test suites that require the ghc-haddock-test
1124 ;; package, which no longer builds with GHC 8.4.3. This phase
1125 ;; removes these four test suites from the Cabal file, so that we
1126 ;; do not need ghc-haddock-test as an input.
1127 (add-before 'configure 'remove-haddock-test-test-suites
1129 (use-modules (ice-9 rdelim))
1130 (with-atomic-file-replacement "haddock.cabal"
1132 (let loop ((line (read-line in 'concat)) (deleting? #f))
1134 ((eof-object? line) #t)
1135 ((string-every char-set:whitespace line)
1136 (unless deleting? (display line out))
1137 (loop (read-line in 'concat) #f))
1138 ((member line '("test-suite html-test\n"
1139 "test-suite hypsrc-test\n"
1140 "test-suite latex-test\n"
1141 "test-suite hoogle-test\n"))
1142 (loop (read-line in 'concat) #t))
1144 (unless deleting? (display line out))
1145 (loop (read-line in 'concat) deleting?)))))))))))
1146 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
1148 `(("ghc-hspec" ,ghc-hspec)))
1149 (home-page "https://www.haskell.org/haddock/")
1151 "Documentation-generation tool for Haskell libraries")
1153 "Haddock is a documentation-generation tool for Haskell libraries.")
1154 (license license:bsd-3)))
1156 (define-public ghc-simple-reflect
1158 (name "ghc-simple-reflect")
1164 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
1169 "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7"))))
1170 (build-system haskell-build-system)
1172 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
1174 "Simple reflection of expressions containing variables")
1176 "This package allows simple reflection of expressions containing
1177 variables. Reflection here means that a Haskell expression is turned into a
1178 string. The primary aim of this package is teaching and understanding; there
1179 are no options for manipulating the reflected expressions beyond showing
1181 (license license:bsd-3)))
1183 (define-public ghc-haskell-src
1185 (name "ghc-haskell-src")
1191 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
1196 "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l"))))
1197 (build-system haskell-build-system)
1199 `(("ghc-happy" ,ghc-happy)
1200 ("ghc-syb" ,ghc-syb)))
1202 "https://hackage.haskell.org/package/haskell-src")
1204 "Support for manipulating Haskell source code")
1206 "The @code{haskell-src} package provides support for manipulating Haskell
1207 source code. The package provides a lexer, parser and pretty-printer, and a
1208 definition of a Haskell abstract syntax tree (AST). Common uses of this
1209 package are to parse or generate Haskell 98 code.")
1210 (license license:bsd-3)))
1212 (define-public ghc-alex
1220 "https://hackage.haskell.org/package/alex/alex-"
1225 "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm"))))
1226 (build-system haskell-build-system)
1229 (modify-phases %standard-phases
1230 (add-before 'check 'set-check-variables
1232 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
1234 (setenv "alex_datadir" (string-append (getcwd) "/data"))
1236 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
1238 `(("which" ,which)))
1239 (home-page "https://www.haskell.org/alex/")
1241 "Tool for generating lexical analysers in Haskell")
1243 "Alex is a tool for generating lexical analysers in Haskell. It takes a
1244 description of tokens based on regular expressions and generates a Haskell
1245 module containing code for scanning text efficiently. It is similar to the
1246 tool lex or flex for C/C++.")
1247 (license license:bsd-3)))
1249 (define-public ghc-cgi
1252 (version "3001.3.0.2")
1257 "https://hackage.haskell.org/package/cgi/cgi-"
1262 "1hbpplss1m4rdpm4ibip6fpimlhssqa14fl338kl2jbc463i64cj"))))
1263 (build-system haskell-build-system)
1266 (modify-phases %standard-phases
1267 (add-before 'configure 'update-constraints
1269 (substitute* "cgi.cabal"
1270 (("exceptions < 0\\.9")
1271 "exceptions < 0.11")
1272 (("time >= 1\\.5 && < 1\\.7")
1273 "time >= 1.5 && < 1.9")
1274 (("doctest >= 0\\.8 && < 0\\.12")
1275 "doctest >= 0.8 && < 0.17")
1276 (("QuickCheck >= 2\\.8\\.1 && < 2\\.10")
1277 "QuickCheck >= 2.8.1 && < 2.12")))))))
1279 `(("ghc-exceptions" ,ghc-exceptions)
1280 ("ghc-multipart" ,ghc-multipart)
1281 ("ghc-network-uri" ,ghc-network-uri)
1282 ("ghc-network" ,ghc-network)))
1284 `(("ghc-doctest" ,ghc-doctest)
1285 ("ghc-quickcheck" ,ghc-quickcheck)))
1287 "https://github.com/cheecheeo/haskell-cgi")
1288 (synopsis "Library for writing CGI programs")
1290 "This is a Haskell library for writing CGI programs.")
1291 (license license:bsd-3)))
1293 (define-public ghc-cmdargs
1295 (name "ghc-cmdargs")
1301 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
1305 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
1306 (build-system haskell-build-system)
1308 "http://community.haskell.org/~ndm/cmdargs/")
1309 (synopsis "Command line argument processing")
1311 "This library provides an easy way to define command line parsers.")
1312 (license license:bsd-3)))
1314 (define-public ghc-concatenative
1316 (name "ghc-concatenative")
1321 "https://hackage.haskell.org/package/concatenative/concatenative-"
1325 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
1326 (build-system haskell-build-system)
1328 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
1329 (synopsis "Library for postfix control flow")
1331 "Concatenative gives Haskell Factor-style combinators and arrows for
1332 postfix notation. For more information on stack based languages, see
1333 @uref{https://concatenative.org}.")
1334 (license license:bsd-3)))
1336 (define-public ghc-happy
1344 "https://hackage.haskell.org/package/happy/happy-"
1349 "138xpxdb7x62lpmgmb6b3v3vgdqqvqn4273jaap3mjmc2gla709y"))))
1350 (build-system haskell-build-system)
1353 (modify-phases %standard-phases
1354 (add-after 'unpack 'skip-test-issue93
1356 ;; Tests run out of memory on a system with 2GB of available RAM,
1357 ;; in 'issue93.a.hs' and 'issue93.n.hs'.
1358 (substitute* "tests/Makefile"
1359 ((" issue93.y ") " "))
1361 (home-page "https://hackage.haskell.org/package/happy")
1362 (synopsis "Parser generator for Haskell")
1363 (description "Happy is a parser generator for Haskell. Given a grammar
1364 specification in BNF, Happy generates Haskell code to parse the grammar.
1365 Happy works in a similar way to the yacc tool for C.")
1366 (license license:bsd-3)))
1368 (define-public ghc-haskell-lexer
1370 (name "ghc-haskell-lexer")
1376 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
1379 (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq"))))
1380 (build-system haskell-build-system)
1381 (home-page "http://hackage.haskell.org/package/haskell-lexer")
1382 (synopsis "Fully compliant Haskell 98 lexer")
1384 "This package provides a fully compliant Haskell 98 lexer.")
1385 (license license:bsd-3)))
1387 (define-public ghc-pretty-show
1389 (name "ghc-pretty-show")
1394 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
1395 "pretty-show-" version ".tar.gz"))
1398 "0br7pkxqqqhby2j2v1g847lgqsrasx56g1jw3dhmjh4flzs6warq"))))
1399 (build-system haskell-build-system)
1401 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
1402 ("ghc-happy" ,ghc-happy)))
1403 (home-page "http://wiki.github.com/yav/pretty-show")
1404 (synopsis "Tools for working with derived `Show` instances")
1406 "This package provides a library and an executable for working with
1407 derived @code{Show} instances. By using the library, derived @code{Show}
1408 instances can be parsed into a generic data structure. The @code{ppsh} tool
1409 uses the library to produce human-readable versions of @code{Show} instances,
1410 which can be quite handy for debugging Haskell programs. We can also render
1411 complex generic values into an interactive Html page, for easier
1413 (license license:expat)))
1415 (define-public ghc-haskell-src-exts
1417 (name "ghc-haskell-src-exts")
1423 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
1428 "1sm3z4v1p5yffg01ldgavz71s3bvfhjfa13k428rk14bpkl8crlz"))))
1429 (build-system haskell-build-system)
1432 ("ghc-happy" ,ghc-happy)
1433 ("ghc-pretty-show" ,ghc-pretty-show)))
1435 `(("ghc-smallcheck" ,ghc-smallcheck)
1436 ("ghc-tasty" ,ghc-tasty)
1437 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
1438 ("ghc-tasty-golden" ,ghc-tasty-golden)))
1439 (home-page "https://github.com/haskell-suite/haskell-src-exts")
1440 (synopsis "Library for manipulating Haskell source")
1441 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
1442 extension of the standard @code{haskell-src} package, and handles most
1443 registered syntactic extensions to Haskell. All extensions implemented in GHC
1444 are supported. Apart from these standard extensions, it also handles regular
1445 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
1446 (license license:bsd-3)))
1448 (define-public ghc-haskell-src-exts-util
1450 (name "ghc-haskell-src-exts-util")
1455 (uri (string-append "https://hackage.haskell.org/package/"
1456 "haskell-src-exts-util/haskell-src-exts-util-"
1460 "1803718paq89f8pdck4mb88hv2k1ah9lxzq0lgjgwi9n88ryycz8"))))
1461 (build-system haskell-build-system)
1463 `(("ghc-data-default" ,ghc-data-default)
1464 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1465 ("ghc-semigroups" ,ghc-semigroups)
1466 ("ghc-uniplate" ,ghc-uniplate)))
1467 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
1468 (synopsis "Helper functions for working with haskell-src-exts trees")
1470 "This package provides helper functions for working with
1471 @code{haskell-src-exts} trees.")
1472 (license license:bsd-3)))
1474 (define-public ghc-refact
1481 (uri (string-append "https://hackage.haskell.org/package/"
1486 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
1487 (build-system haskell-build-system)
1488 (home-page "http://hackage.haskell.org/package/refact")
1489 (synopsis "Specify refactorings to perform with apply-refact")
1491 "This library provides a datatype which can be interpreted by
1492 @code{apply-refact}. It exists as a separate library so that applications can
1493 specify refactorings without depending on GHC.")
1494 (license license:bsd-3)))
1496 (define-public hlint
1504 "https://hackage.haskell.org/package/" name
1505 "/" name "-" version ".tar.gz"))
1508 "19as2m9g75cr6n1agzvsij0cvqhb0wbjlk31w4y5d5mns87dki0w"))))
1509 (build-system haskell-build-system)
1512 ("ghc-unordered-containers" ,ghc-unordered-containers)
1513 ("ghc-yaml" ,ghc-yaml)
1514 ("ghc-vector" ,ghc-vector)
1515 ("ghc-data-default" ,ghc-data-default)
1516 ("ghc-cmdargs" ,ghc-cmdargs)
1517 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1518 ("ghc-haskell-src-exts-util" ,ghc-haskell-src-exts-util)
1519 ("ghc-uniplate" ,ghc-uniplate)
1520 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
1521 ("ghc-extra" ,ghc-extra)
1522 ("ghc-refact" ,ghc-refact)
1523 ("ghc-aeson" ,ghc-aeson)
1524 ("hscolour" ,hscolour)))
1525 (home-page "http://community.haskell.org/~ndm/hlint/")
1526 (synopsis "Suggest improvements for Haskell source code")
1527 (description "HLint reads Haskell programs and suggests changes that
1528 hopefully make them easier to read. HLint also makes it easy to disable
1529 unwanted suggestions, and to add your own custom suggestions.")
1530 (license license:bsd-3)))
1532 (define-public ghc-resourcet
1534 (name "ghc-resourcet")
1539 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
1540 "resourcet-" version ".tar.gz"))
1543 "0rzjzh34s36ssign7akqjnwnjxf11c3511wk7ky0xxy0dqmc2rg7"))))
1544 (build-system haskell-build-system)
1546 `(("ghc-transformers-base" ,ghc-transformers-base)
1547 ("ghc-monad-control" ,ghc-monad-control)
1548 ("ghc-transformers-compat" ,ghc-transformers-compat)
1549 ("ghc-mmorph" ,ghc-mmorph)
1550 ("ghc-exceptions" ,ghc-exceptions)
1551 ("ghc-unliftio-core" ,ghc-unliftio-core)))
1553 `(("ghc-lifted-base" ,ghc-lifted-base)
1554 ("ghc-hspec" ,ghc-hspec)))
1555 (home-page "https://github.com/snoyberg/conduit")
1556 (synopsis "Deterministic allocation and freeing of scarce resources")
1557 (description "ResourceT is a monad transformer which creates a region of
1558 code where you can safely allocate resources.")
1559 (license license:bsd-3)))
1561 (define-public ghc-objectname
1563 (name "ghc-objectname")
1569 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
1574 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
1575 (build-system haskell-build-system)
1576 (home-page "https://hackage.haskell.org/package/ObjectName")
1577 (synopsis "Helper library for Haskell OpenGL")
1578 (description "This tiny package contains the class ObjectName, which
1579 corresponds to the general notion of explicitly handled identifiers for API
1580 objects, e.g. a texture object name in OpenGL or a buffer object name in
1582 (license license:bsd-3)))
1584 (define-public ghc-sdl
1592 "https://hackage.haskell.org/package/SDL/SDL-"
1597 "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq"))))
1598 (build-system haskell-build-system)
1601 (home-page "https://hackage.haskell.org/package/SDL")
1602 (synopsis "LibSDL for Haskell")
1603 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
1604 multimedia library designed to provide low level access to audio, keyboard,
1605 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
1606 by MPEG playback software, emulators, and many popular games, including the
1607 award winning Linux port of \"Civilization: Call To Power.\"")
1608 (license license:bsd-3)))
1610 (define-public ghc-sdl-mixer
1612 (name "ghc-sdl-mixer")
1618 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
1623 "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r"))))
1624 (build-system haskell-build-system)
1627 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
1628 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
1629 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
1631 `(("ghc-sdl" ,ghc-sdl)
1632 ("sdl-mixer" ,sdl-mixer)))
1633 (home-page "https://hackage.haskell.org/package/SDL-mixer")
1634 (synopsis "Haskell bindings to libSDL_mixer")
1635 (description "SDL_mixer is a sample multi-channel audio mixer library. It
1636 supports any number of simultaneously playing channels of 16 bit stereo audio,
1637 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
1638 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
1639 (license license:bsd-3)))
1641 (define-public ghc-sdl-image
1643 (name "ghc-sdl-image")
1649 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
1654 "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1"))))
1655 (build-system haskell-build-system)
1658 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
1659 (sdl-image-include (string-append sdl-image "/include/SDL")))
1660 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
1662 `(("ghc-sdl" ,ghc-sdl)
1663 ("sdl-image" ,sdl-image)))
1664 (home-page "https://hackage.haskell.org/package/SDL-image")
1665 (synopsis "Haskell bindings to libSDL_image")
1666 (description "SDL_image is an image file loading library. It loads images
1667 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
1668 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
1669 (license license:bsd-3)))
1671 (define-public ghc-half
1679 "https://hackage.haskell.org/package/half/half-"
1683 "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6"))))
1684 (build-system haskell-build-system)
1686 `(("ghc-hspec" ,ghc-hspec)
1687 ("ghc-quickcheck" ,ghc-quickcheck)))
1688 (home-page "https://github.com/ekmett/half")
1689 (synopsis "Half-precision floating-point computations")
1690 (description "This library provides a half-precision floating-point
1691 computation library for Haskell.")
1692 (license license:bsd-3)))
1694 (define-public ghc-fixed
1701 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
1705 "1qhmwx8iqshns0crmr9d2f8hm65jxbcp3dvv0c39v34ra7if3a94"))))
1706 (build-system haskell-build-system)
1707 (home-page "https://github.com/ekmett/fixed")
1708 (synopsis "Signed 15.16 precision fixed point arithmetic")
1710 "This package provides functions for signed 15.16 precision fixed point
1712 (license license:bsd-3)))
1714 (define-public ghc-openglraw
1716 (name "ghc-openglraw")
1722 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
1727 "1x8w3x308jldj2c1xqcq3a3sc2jc06pdpgqkgjsmixi1skv4a1vb"))))
1728 (build-system haskell-build-system)
1730 `(("ghc-half" ,ghc-half)
1731 ("ghc-fixed" ,ghc-fixed)
1733 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1734 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
1735 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
1736 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
1737 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
1738 offers access to all necessary functions, tokens and types plus a general
1739 facility for loading extension entries. The module hierarchy closely mirrors
1740 the naming structure of the OpenGL extensions, making it easy to find the
1741 right module to import. All API entries are loaded dynamically, so no special
1742 C header files are needed for building this package. If an API entry is not
1743 found at runtime, a userError is thrown.")
1744 (license license:bsd-3)))
1746 (define-public ghc-glut
1749 (version "2.7.0.14")
1754 "https://hackage.haskell.org/package/GLUT/GLUT-"
1759 "01i162fly4q1751fp60lgkzlb8kr0qqbvmxj74zc6skb19qggy2w"))))
1760 (build-system haskell-build-system)
1762 `(("ghc-statevar" ,ghc-statevar)
1763 ("ghc-opengl" ,ghc-opengl)
1764 ("ghc-openglraw" ,ghc-openglraw)
1765 ("freeglut" ,freeglut)))
1766 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1767 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
1768 (description "This library provides Haskell bindings for the OpenGL
1769 Utility Toolkit, a window system-independent toolkit for writing OpenGL
1771 (license license:bsd-3)))
1773 (define-public ghc-gluraw
1781 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
1786 "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq"))))
1787 (build-system haskell-build-system)
1789 `(("ghc-openglraw" ,ghc-openglraw)))
1790 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1791 (synopsis "Raw Haskell bindings GLU")
1792 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
1793 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
1794 basis for a nicer interface.")
1795 (license license:bsd-3)))
1797 (define-public ghc-opengl
1805 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
1810 "19vxwvx2n8zq2klj176l25n2b64ybp0b8mhm4p46gvpcivz41fjc"))))
1811 (build-system haskell-build-system)
1813 `(("ghc-objectname" ,ghc-objectname)
1814 ("ghc-gluraw" ,ghc-gluraw)
1815 ("ghc-statevar" ,ghc-statevar)
1816 ("ghc-openglraw" ,ghc-openglraw)))
1817 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1818 (synopsis "Haskell bindings for the OpenGL graphics system")
1819 (description "This package provides Haskell bindings for the OpenGL
1820 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
1822 (license license:bsd-3)))
1824 (define-public ghc-streaming-commons
1826 (name "ghc-streaming-commons")
1831 (uri (string-append "https://hackage.haskell.org/package/"
1832 "streaming-commons/streaming-commons-"
1836 "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52"))))
1837 (build-system haskell-build-system)
1839 `(("ghc-async" ,ghc-async)
1840 ("ghc-blaze-builder" ,ghc-blaze-builder)
1841 ("ghc-network" ,ghc-network)
1842 ("ghc-random" ,ghc-random)
1843 ("ghc-zlib" ,ghc-zlib)))
1845 `(("ghc-quickcheck" ,ghc-quickcheck)
1846 ("ghc-hspec" ,ghc-hspec)
1847 ("hspec-discover" ,hspec-discover)))
1848 (home-page "https://hackage.haskell.org/package/streaming-commons")
1849 (synopsis "Conduit and pipes needed by some streaming data libraries")
1850 (description "This package provides low-dependency functionality commonly
1851 needed by various Haskell streaming data libraries, such as @code{conduit} and
1853 (license license:expat)))
1855 (define-public cpphs
1863 "https://hackage.haskell.org/package/" name "/"
1864 name "-" version ".tar.gz"))
1867 "1bh524asqhk9v1s0wvipl0hgn7l63iy3js867yv0z3h5v2kn8vg5"))))
1868 (build-system haskell-build-system)
1870 `(("ghc-polyparse" ,ghc-polyparse)
1871 ("ghc-old-locale" ,ghc-old-locale)
1872 ("ghc-old-time" ,ghc-old-time)))
1873 (home-page "http://projects.haskell.org/cpphs/")
1874 (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
1875 (description "Cpphs is a re-implementation of the C pre-processor that is
1876 both more compatible with Haskell, and itself written in Haskell so that it
1877 can be distributed with compilers. This version of the C pre-processor is
1878 pretty-much feature-complete and compatible with traditional (K&R)
1879 pre-processors. Additional features include: a plain-text mode; an option to
1880 unlit literate code files; and an option to turn off macro-expansion.")
1881 (license (list license:lgpl2.1+ license:gpl3+))))
1883 (define-public ghc-reflection
1885 (name "ghc-reflection")
1891 "https://hackage.haskell.org/package/reflection/reflection-"
1896 "0kf4a5ijw6jfnfibjcrpdy9vzh1n6v2pxia8dhyyqdissiwc8bzj"))))
1897 (build-system haskell-build-system)
1898 (inputs `(("ghc-tagged" ,ghc-tagged)))
1899 (home-page "https://github.com/ekmett/reflection")
1900 (synopsis "Reify arbitrary terms into types that can be reflected back
1902 (description "This package addresses the 'configuration problem' which is
1903 propagating configurations that are available at run-time, allowing multiple
1904 configurations to coexist without resorting to mutable global variables or
1905 @code{System.IO.Unsafe.unsafePerformIO}.")
1906 (license license:bsd-3)))
1908 (define-public ghc-old-locale
1910 (name "ghc-old-locale")
1916 "https://hackage.haskell.org/package/old-locale/old-locale-"
1920 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
1921 (build-system haskell-build-system)
1924 ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs")))
1925 (home-page "https://hackage.haskell.org/package/old-locale")
1926 (synopsis "Adapt to locale conventions")
1928 "This package provides the ability to adapt to locale conventions such as
1929 date and time formats.")
1930 (license license:bsd-3)))
1932 (define-public ghc-old-time
1934 (name "ghc-old-time")
1940 "https://hackage.haskell.org/package/old-time/old-time-"
1945 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
1946 (build-system haskell-build-system)
1949 ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9")))
1951 `(("ghc-old-locale" ,ghc-old-locale)))
1952 (home-page "https://hackage.haskell.org/package/old-time")
1953 (synopsis "Time compatibility library for Haskell")
1954 (description "Old-time is a package for backwards compatibility with the
1955 old @code{time} library. For new projects, the newer
1956 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
1957 (license license:bsd-3)))
1959 (define-public ghc-data-default-instances-old-locale
1961 (name "ghc-data-default-instances-old-locale")
1967 "https://hackage.haskell.org/package/"
1968 "data-default-instances-old-locale/"
1969 "data-default-instances-old-locale-" version ".tar.gz"))
1971 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
1972 (build-system haskell-build-system)
1974 `(("ghc-data-default-class" ,ghc-data-default-class)
1975 ("ghc-old-locale" ,ghc-old-locale)))
1977 "https://hackage.haskell.org/package/data-default-instances-old-locale")
1978 (synopsis "Default instances for types in old-locale")
1979 (description "Provides Default instances for types from the old-locale
1981 (license license:bsd-3)))
1983 (define-public ghc-dlist
1991 "https://hackage.haskell.org/package/dlist/dlist-"
1995 (base32 "0yirrh0s6acjy9hhvf5fqg2d6q5y6gm9xs04v6w1imndh1xqdwdc"))))
1996 (build-system haskell-build-system)
1998 `(("ghc-quickcheck" ,ghc-quickcheck)))
1999 (home-page "https://github.com/spl/dlist")
2000 (synopsis "Difference lists")
2002 "Difference lists are a list-like type supporting O(1) append. This is
2003 particularly useful for efficient logging and pretty printing (e.g. with the
2004 Writer monad), where list append quickly becomes too expensive.")
2005 (license license:bsd-3)))
2007 (define-public ghc-extensible-exceptions
2009 (name "ghc-extensible-exceptions")
2014 (uri (string-append "https://hackage.haskell.org/package/"
2015 "extensible-exceptions/extensible-exceptions-"
2018 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
2019 (build-system haskell-build-system)
2020 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
2021 (synopsis "Extensible exceptions for Haskell")
2023 "This package provides extensible exceptions for both new and old
2024 versions of GHC (i.e., < 6.10).")
2025 (license license:bsd-3)))
2027 (define-public ghc-echo
2035 "https://hackage.haskell.org/package/echo/echo-"
2039 "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh"))))
2040 (build-system haskell-build-system)
2043 ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l")))
2044 (home-page "https://github.com/RyanGlScott/echo")
2045 (synopsis "Echo terminal input portably")
2046 (description "The @code{base} library exposes the @code{hGetEcho} and
2047 @code{hSetEcho} functions for querying and setting echo status, but
2048 unfortunately, neither function works with MinTTY consoles on Windows.
2049 This library provides an alternative interface which works with both
2050 MinTTY and other consoles.")
2051 (license license:bsd-3)))
2053 (define-public ghc-hackage-security
2055 (name "ghc-hackage-security")
2060 (uri (string-append "https://hackage.haskell.org/package/"
2061 "hackage-security/hackage-security-"
2065 "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v"))))
2066 (build-system haskell-build-system)
2068 `(#:tests? #f)) ; Tests fail because of framework updates.
2070 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
2071 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
2072 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
2073 ("ghc-ed25519" ,ghc-ed25519)
2074 ("ghc-network" ,ghc-network)
2075 ("ghc-network-uri" ,ghc-network-uri)
2076 ("ghc-tar" ,ghc-tar)
2077 ("ghc-zlib" ,ghc-zlib)))
2079 `(("ghc-network-uri" ,ghc-network-uri)
2080 ("ghc-quickcheck" ,ghc-quickcheck)
2081 ("ghc-tar" ,ghc-tar)
2082 ("ghc-tasty" ,ghc-tasty)
2083 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2084 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
2085 ("ghc-temporary" ,ghc-temporary)
2086 ("ghc-zlib" ,ghc-zlib)))
2087 (home-page "https://github.com/haskell/hackage-security")
2088 (synopsis "Hackage security library")
2089 (description "This Hackage security library provides both server and
2090 client utilities for securing @uref{http://hackage.haskell.org/, the
2091 Hackage package server}. It is based on
2092 @uref{http://theupdateframework.com/, The Update Framework}, a set of
2093 recommendations developed by security researchers at various universities
2094 in the US as well as developers on the @uref{https://www.torproject.org/,
2096 (license license:bsd-3)))
2098 (define-public ghc-resolv
2106 "https://hackage.haskell.org/package/resolv/resolv-"
2110 "0wh7wj56l3f2bylz563g5g04a4nydj8acv60hpwa7k3mn792xca9"))))
2111 (build-system haskell-build-system)
2114 ("1" "15ay4n3x8c09cb3h4z1nan84yd3n9zpgvi6h114hk98bq10k8mma")
2115 #:tests? #f)) ; The required test frameworks are too old.
2117 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)))
2118 (home-page "https://github.com/haskell/hackage-security")
2119 (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}")
2120 (description "This package implements an API for accessing the
2121 @uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)}
2122 resolver service via the standard @code{libresolv} system library (whose
2123 API is often available directly via the standard @code{libc} C library) on
2125 (license license:gpl3)))
2127 (define-public cabal-install
2129 (name "cabal-install")
2135 "https://hackage.haskell.org/package/cabal-install/cabal-install-"
2139 (base32 "1nd3ch7qr4dpfxhgkcq2lnhvszx2kjgnn1kwb44vk9y5jgfs4mn8"))))
2140 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
2141 (build-system haskell-build-system)
2143 `(("ghc-async" ,ghc-async)
2144 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
2145 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
2146 ("ghc-echo" ,ghc-echo)
2147 ("ghc-edit-distance" ,ghc-edit-distance)
2148 ("ghc-hackage-security" ,ghc-hackage-security)
2149 ("ghc-hashable" ,ghc-hashable)
2150 ("ghc-http" ,ghc-http)
2151 ("ghc-network-uri" ,ghc-network-uri)
2152 ("ghc-network" ,ghc-network)
2153 ("ghc-random" ,ghc-random)
2154 ("ghc-resolv" ,ghc-resolv)
2155 ("ghc-tar" ,ghc-tar)
2156 ("ghc-zlib" ,ghc-zlib)))
2157 (home-page "https://www.haskell.org/cabal/")
2158 (synopsis "Command-line interface for Cabal and Hackage")
2160 "The cabal command-line program simplifies the process of managing
2161 Haskell software by automating the fetching, configuration, compilation and
2162 installation of Haskell libraries and programs.")
2163 (license license:bsd-3)))
2165 (define-public cabal-doctest
2167 (name "cabal-doctest")
2172 (uri (string-append "https://hackage.haskell.org/package/"
2173 "cabal-doctest/cabal-doctest-"
2177 "0bgd4jdmzxq5y465r4sf4jv2ix73yvblnr4c9wyazazafddamjny"))))
2178 (build-system haskell-build-system)
2181 ("1" "1bk85avgc93yvcggwbk01fy8nvg6753wgmaanhkry0hz55h7mpld")))
2182 (home-page "https://github.com/phadej/cabal-doctest")
2183 (synopsis "Setup.hs helper for running doctests")
2185 "To properly work, the @code{doctest} package needs plenty of
2186 configuration. This library provides the common bits for writing custom
2187 @file{Setup.hs} files.")
2188 (license license:bsd-3)))
2190 (define-public ghc-parsec-numbers
2192 (name "ghc-parsec-numbers")
2197 (uri (string-append "https://hackage.haskell.org/package/"
2198 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
2200 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
2201 (build-system haskell-build-system)
2202 (home-page "https://hackage.haskell.org/package/parsec-numbers")
2203 (synopsis "Utilities for parsing numbers from strings")
2205 "This package provides the number parsers without the need to use a large
2206 (and unportable) token parser.")
2207 (license license:bsd-3)))
2209 (define-public ghc-paths
2213 (outputs '("out" "doc"))
2218 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
2223 "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg"))))
2224 (build-system haskell-build-system)
2225 (home-page "https://github.com/simonmar/ghc-paths")
2227 "Knowledge of GHC's installation directories")
2229 "Knowledge of GHC's installation directories.")
2230 (license license:bsd-3)))
2232 (define-public ghc-utf8-string
2234 (name "ghc-utf8-string")
2240 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
2244 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
2245 (build-system haskell-build-system)
2248 ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38")))
2249 (home-page "https://github.com/glguy/utf8-string/")
2250 (synopsis "Support for reading and writing UTF8 Strings")
2252 "A UTF8 layer for Strings. The utf8-string package provides operations
2253 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
2254 UTF8 without truncation.")
2255 (license license:bsd-3)))
2257 (define-public ghc-setenv
2265 "https://hackage.haskell.org/package/setenv/setenv-"
2270 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
2271 (build-system haskell-build-system)
2272 (home-page "https://hackage.haskell.org/package/setenv")
2273 (synopsis "Library for setting environment variables")
2274 (description "This package provides a Haskell library for setting
2275 environment variables.")
2276 (license license:expat)))
2278 (define-public ghc-setlocale
2280 (name "ghc-setlocale")
2285 "https://hackage.haskell.org/package/setlocale-"
2286 version "/setlocale-" version ".tar.gz"))
2289 "0sdrsmkhw08483d73ysgm2926fdbhii61br03lqpqw0lfzj4ilbd"))))
2290 (build-system haskell-build-system)
2291 (home-page "https://hackage.haskell.org/package/setlocale")
2292 (synopsis "Haskell bindings to setlocale")
2293 (description "This package provides Haskell bindings to the
2294 @code{setlocale} C function.")
2295 (license license:bsd-3)))
2297 (define-public ghc-x11
2304 (uri (string-append "https://hackage.haskell.org/package/X11/"
2305 "X11-" version ".tar.gz"))
2307 (base32 "1f8dy6ckkyvpcv7zlniyv01cqjb9lgqscm8pml58cvwc7n38w4qh"))))
2308 (build-system haskell-build-system)
2310 `(("libx11" ,libx11)
2311 ("libxrandr" ,libxrandr)
2312 ("libxinerama" ,libxinerama)
2313 ("libxscrnsaver" ,libxscrnsaver)
2314 ("ghc-data-default" ,ghc-data-default)))
2315 (home-page "https://github.com/haskell-pkg-janitors/X11")
2316 (synopsis "Bindings to the X11 graphics library")
2318 "This package provides Haskell bindings to the X11 graphics library. The
2319 bindings are a direct translation of the C bindings.")
2320 (license license:bsd-3)))
2322 (define-public ghc-x11-xft
2324 (name "ghc-x11-xft")
2329 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
2330 "X11-xft-" version ".tar.gz"))
2332 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
2334 `(("ghc-x11" ,ghc-x11)
2335 ("ghc-utf8-string" ,ghc-utf8-string)
2338 ("xorgproto" ,xorgproto)))
2340 `(("pkg-config" ,pkg-config)))
2341 (build-system haskell-build-system)
2342 (home-page "https://hackage.haskell.org/package/X11-xft")
2343 (synopsis "Bindings to Xft")
2345 "Bindings to the Xft, X Free Type interface library, and some Xrender
2347 (license license:lgpl2.1)))
2349 (define-public ghc-stringbuilder
2351 (name "ghc-stringbuilder")
2357 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
2362 "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q"))))
2363 (build-system haskell-build-system)
2364 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
2366 (home-page "https://hackage.haskell.org/package/stringbuilder")
2367 (synopsis "Writer monad for multi-line string literals")
2368 (description "This package provides a writer monad for multi-line string
2370 (license license:expat)))
2372 (define-public ghc-zlib
2376 (outputs '("out" "doc"))
2381 "https://hackage.haskell.org/package/zlib/zlib-"
2386 "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d"))))
2387 (build-system haskell-build-system)
2390 (modify-phases %standard-phases
2391 (add-before 'configure 'strip-test-framework-constraints
2393 (substitute* "zlib.cabal"
2394 (("tasty >= 0\\.8 && < 0\\.12") "tasty")
2395 (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit")
2396 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
2397 (inputs `(("zlib" ,zlib)))
2399 `(("ghc-quickcheck" ,ghc-quickcheck)
2400 ("ghc-tasty" ,ghc-tasty)
2401 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2402 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
2403 (home-page "https://hackage.haskell.org/package/zlib")
2405 "Compression and decompression in the gzip and zlib formats")
2407 "This package provides a pure interface for compressing and decompressing
2408 streams of data represented as lazy @code{ByteString}s. It uses the zlib C
2409 library so it has high performance. It supports the @code{zlib}, @code{gzip}
2410 and @code{raw} compression formats. It provides a convenient high level API
2411 suitable for most tasks and for the few cases where more control is needed it
2412 provides access to the full zlib feature set.")
2413 (license license:bsd-3)))
2415 (define-public ghc-parallel
2417 (name "ghc-parallel")
2419 (outputs '("out" "doc"))
2424 "https://hackage.haskell.org/package/parallel/parallel-"
2429 "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"))))
2430 (build-system haskell-build-system)
2431 (home-page "https://hackage.haskell.org/package/parallel")
2432 (synopsis "Parallel programming library")
2434 "This package provides a library for parallel programming.")
2435 (license license:bsd-3)))
2437 (define-public ghc-safesemaphore
2439 (name "ghc-safesemaphore")
2444 (uri (string-append "https://hackage.haskell.org/package/"
2445 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
2448 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
2449 (build-system haskell-build-system)
2451 `(("ghc-hunit" ,ghc-hunit)))
2452 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
2453 (synopsis "Exception safe semaphores")
2454 (description "This library provides exception safe semaphores that can be
2455 used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
2456 are not exception safe and can be broken by @code{killThread}.")
2457 (license license:bsd-3)))
2459 (define-public ghc-text-binary
2461 (name "ghc-text-binary")
2466 (uri (string-append "https://hackage.haskell.org/package/"
2467 "text-binary/text-binary-"
2471 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
2472 (build-system haskell-build-system)
2473 (home-page "https://github.com/kawu/text-binary")
2474 (synopsis "Binary instances for text types")
2476 "This package provides a compatibility layer providing @code{Binary}
2477 instances for strict and lazy text types for versions older than 1.2.1 of the
2479 (license license:bsd-2)))
2481 (define-public ghc-strict
2488 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
2491 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
2492 (build-system haskell-build-system)
2493 (home-page "https://hackage.haskell.org/package/strict")
2494 (synopsis "Strict data types and String IO")
2496 "This package provides strict versions of some standard Haskell data
2497 types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
2499 (license license:bsd-3)))
2501 (define-public ghc-hashable
2503 (name "ghc-hashable")
2505 (outputs '("out" "doc"))
2510 "https://hackage.haskell.org/package/hashable/hashable-"
2515 "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc"))))
2516 (build-system haskell-build-system)
2518 `(("ghc-random" ,ghc-random)))
2520 `(("ghc-test-framework" ,ghc-test-framework)
2521 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2522 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
2523 ("ghc-hunit" ,ghc-hunit)
2524 ("ghc-quickcheck" ,ghc-quickcheck)))
2525 (home-page "https://github.com/tibbe/hashable")
2526 (synopsis "Class for types that can be converted to a hash value")
2528 "This package defines a class, @code{Hashable}, for types that can be
2529 converted to a hash value. This class exists for the benefit of hashing-based
2530 data structures. The package provides instances for basic types and a way to
2531 combine hash values.")
2532 (license license:bsd-3)))
2534 (define-public ghc-hashable-bootstrap
2536 (inherit ghc-hashable)
2537 (name "ghc-hashable-bootstrap")
2538 (arguments `(#:tests? #f))
2540 (properties '((hidden? #t)))))
2542 (define-public ghc-hashable-time
2544 (name "ghc-hashable-time")
2550 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
2555 "0k932nyd08l3xxbh2g3n76py2f4kd9yw4s5a065vjz0xp6wjnxdm"))))
2556 (build-system haskell-build-system)
2559 ("1" "0rv40xkg3gj8jnqsry1gq3f5s5la6d5arg8fzkirnwdpcgha1as6")))
2560 (inputs `(("ghc-hashable" ,ghc-hashable)))
2561 (home-page "http://hackage.haskell.org/package/hashable-time")
2562 (synopsis "Hashable instances for Data.Time")
2564 "This package provides @code{Hashable} instances for types in
2566 (license license:bsd-3)))
2568 (define-public ghc-data-hash
2570 (name "ghc-data-hash")
2575 (uri (string-append "https://hackage.haskell.org/package/data-hash"
2576 "/data-hash-" version ".tar.gz"))
2578 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
2579 (build-system haskell-build-system)
2581 `(("ghc-quickcheck" ,ghc-quickcheck)
2582 ("ghc-test-framework" ,ghc-test-framework)
2583 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2584 (home-page "https://hackage.haskell.org/package/data-hash")
2585 (synopsis "Combinators for building fast hashing functions")
2587 "This package provides combinators for building fast hashing functions.
2588 It includes hashing functions for all basic Haskell98 types.")
2589 (license license:bsd-3)))
2591 (define-public ghc-murmur-hash
2593 (name "ghc-murmur-hash")
2598 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
2599 "/murmur-hash-" version ".tar.gz"))
2601 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
2602 (build-system haskell-build-system)
2603 (home-page "https://github.com/nominolo/murmur-hash")
2604 (synopsis "MurmurHash2 implementation for Haskell")
2606 "This package provides an implementation of MurmurHash2, a good, fast,
2607 general-purpose, non-cryptographic hashing function. See
2608 @url{https://sites.google.com/site/murmurhash/} for details. This
2609 implementation is pure Haskell, so it might be a bit slower than a C FFI
2611 (license license:bsd-3)))
2613 (define-public ghc-random
2617 (outputs '("out" "doc"))
2622 "https://hackage.haskell.org/package/random/random-"
2626 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
2627 (build-system haskell-build-system)
2628 (home-page "https://hackage.haskell.org/package/random")
2629 (synopsis "Random number library")
2630 (description "This package provides a basic random number generation
2631 library, including the ability to split random number generators.")
2632 (license license:bsd-3)))
2634 (define-public ghc-primitive
2636 (name "ghc-primitive")
2638 (outputs '("out" "doc"))
2643 "https://hackage.haskell.org/package/primitive/primitive-"
2648 "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc"))))
2649 (build-system haskell-build-system)
2651 "https://github.com/haskell/primitive")
2652 (synopsis "Primitive memory-related operations")
2654 "This package provides various primitive memory-related operations.")
2655 (license license:bsd-3)))
2657 (define-public ghc-tf-random
2659 (name "ghc-tf-random")
2661 (outputs '("out" "doc"))
2666 "https://hackage.haskell.org/package/tf-random/tf-random-"
2670 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
2671 (build-system haskell-build-system)
2673 `(("ghc-primitive" ,ghc-primitive)
2674 ("ghc-random" ,ghc-random)))
2675 (home-page "https://hackage.haskell.org/package/tf-random")
2676 (synopsis "High-quality splittable pseudorandom number generator")
2677 (description "This package contains an implementation of a high-quality
2678 splittable pseudorandom number generator. The generator is based on a
2679 cryptographic hash function built on top of the ThreeFish block cipher. See
2680 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
2681 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
2682 (license license:bsd-3)))
2684 (define-public ghc-transformers-base
2686 (name "ghc-transformers-base")
2692 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
2697 "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h"))))
2698 (build-system haskell-build-system)
2700 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
2702 "https://hackage.haskell.org/package/transformers-compat")
2704 "Backported transformer library")
2706 "Backported versions of types that were added to transformers in
2707 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
2708 compatibility to run on old versions of the platform.")
2709 (license license:bsd-3)))
2711 (define-public ghc-transformers-compat
2713 (name "ghc-transformers-compat")
2719 "https://hackage.haskell.org/package/transformers-compat"
2720 "/transformers-compat-" version ".tar.gz"))
2723 "1gp4a8kvniwgm8947ghb4iwv4b7wd6ry4kvv4nfnym4agf5j41nw"))))
2724 (build-system haskell-build-system)
2725 (home-page "https://github.com/ekmett/transformers-compat/")
2726 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
2727 (description "This package includes backported versions of types that were
2728 added to transformers in transformers 0.3 and 0.4 for users who need strict
2729 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
2730 but also need those types.")
2731 (license license:bsd-3)))
2733 (define-public ghc-unix-time
2735 (name "ghc-unix-time")
2741 "https://hackage.haskell.org/package/unix-time/unix-time-"
2746 "051slgpid5cxiaw203ky0ql3823h28fcjs08axkzd4265wrvv8fw"))))
2747 (build-system haskell-build-system)
2749 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
2750 ; is weird, that should be provided by GHC 7.10.2.
2752 `(("ghc-old-time" ,ghc-old-time)
2753 ("ghc-old-locale" ,ghc-old-locale)))
2754 (home-page "https://hackage.haskell.org/package/unix-time")
2755 (synopsis "Unix time parser/formatter and utilities")
2756 (description "This library provides fast parsing and formatting utilities
2757 for Unix time in Haskell.")
2758 (license license:bsd-3)))
2760 (define-public ghc-unix-compat
2762 (name "ghc-unix-compat")
2768 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
2773 "0llwl7rp63fy2ychwdclz1afj45pbin5pfl01dvn6rwhvmwhr7d3"))))
2774 (build-system haskell-build-system)
2776 "https://github.com/jystic/unix-compat")
2777 (synopsis "Portable POSIX-compatibility layer")
2779 "This package provides portable implementations of parts of the unix
2780 package. This package re-exports the unix package when available. When it
2781 isn't available, portable implementations are used.")
2782 (license license:bsd-3)))
2784 (define-public ghc-indents
2786 (name "ghc-indents")
2791 "https://hackage.haskell.org/package/indents/indents-"
2795 "1ly3v41jacc6lrsvg4j3m5a6zs90gr8dyif5m6bf34hj1k5cgg0n"))))
2796 (build-system haskell-build-system)
2797 ;; This package needs an older version of tasty.
2798 (arguments '(#:tests? #f))
2800 `(("ghc-concatenative" ,ghc-concatenative)))
2802 `(("ghc-tasty" ,ghc-tasty)
2803 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
2804 (home-page "http://patch-tag.com/r/salazar/indents")
2805 (synopsis "Indentation sensitive parser-combinators for parsec")
2807 "This library provides functions for use in parsing indentation sensitive
2808 contexts. It parses blocks of lines all indented to the same level as well as
2809 lines continued at an indented level below.")
2810 (license license:bsd-3)))
2812 (define-public ghc-iproute
2814 (name "ghc-iproute")
2820 "https://hackage.haskell.org/package/iproute/iproute-"
2825 "1vw1nm3s8vz1hqnjnqd3wh5rr4q3m2r4izn5ynhf93h9185qwqzd"))))
2826 (build-system haskell-build-system)
2827 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
2828 ; exported by ghc-byteorder. Doctest issue.
2830 `(("ghc-appar" ,ghc-appar)
2831 ("ghc-byteorder" ,ghc-byteorder)
2832 ("ghc-network" ,ghc-network)
2833 ("ghc-safe" ,ghc-safe)))
2834 (home-page "https://www.mew.org/~kazu/proj/iproute/")
2835 (synopsis "IP routing table")
2836 (description "IP Routing Table is a tree of IP ranges to search one of
2837 them on the longest match base. It is a kind of TRIE with one way branching
2838 removed. Both IPv4 and IPv6 are supported.")
2839 (license license:bsd-3)))
2841 (define-public ghc-iwlib
2848 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
2851 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
2852 (build-system haskell-build-system)
2854 `(("wireless-tools" ,wireless-tools)))
2855 (home-page "https://github.com/jaor/iwlib")
2856 (synopsis "Haskell binding to the iw wireless networking library")
2858 "IWlib is a thin Haskell binding to the iw C library. It provides
2859 information about the current wireless network connections, and adapters on
2860 supported systems.")
2861 (license license:bsd-3)))
2863 (define-public ghc-regex-base
2865 (name "ghc-regex-base")
2871 "https://hackage.haskell.org/package/regex-base/regex-base-"
2876 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
2877 (build-system haskell-build-system)
2879 "https://sourceforge.net/projects/lazy-regex")
2880 (synopsis "Replaces/Enhances Text.Regex")
2881 (description "@code{Text.Regex.Base} provides the interface API for
2882 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
2883 (license license:bsd-3)))
2885 (define-public ghc-regex-posix
2887 (name "ghc-regex-posix")
2893 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
2898 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
2899 (build-system haskell-build-system)
2901 `(("ghc-regex-base" ,ghc-regex-base)))
2902 (home-page "https://sourceforge.net/projects/lazy-regex")
2903 (synopsis "POSIX regular expressions for Haskell")
2904 (description "This library provides the POSIX regex backend used by the
2905 Haskell library @code{regex-base}.")
2906 (license license:bsd-3)))
2908 (define-public ghc-regex-compat
2910 (name "ghc-regex-compat")
2916 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
2921 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
2922 (build-system haskell-build-system)
2924 `(("ghc-regex-base" ,ghc-regex-base)
2925 ("ghc-regex-posix" ,ghc-regex-posix)))
2926 (home-page "https://sourceforge.net/projects/lazy-regex")
2927 (synopsis "Replaces/Enhances Text.Regex")
2928 (description "This library provides one module layer over
2929 @code{regex-posix} to replace @code{Text.Regex}.")
2930 (license license:bsd-3)))
2932 (define-public ghc-regex-tdfa-text
2934 (name "ghc-regex-tdfa-text")
2940 "https://hackage.haskell.org/package/regex-tdfa-text/"
2941 "regex-tdfa-text-" version ".tar.gz"))
2944 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
2945 (build-system haskell-build-system)
2947 `(("ghc-regex-base" ,ghc-regex-base)
2948 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
2950 "http://hackage.haskell.org/package/regex-tdfa-text")
2951 (synopsis "Text interface for regex-tdfa")
2953 "This provides an extra text interface for regex-tdfa.")
2954 (license license:bsd-3)))
2956 (define-public ghc-regex
2963 (uri (string-append "https://hackage.haskell.org/package/regex/"
2964 "regex-" version ".tar.gz"))
2967 "1sjkpkgv4phy5b5v2lr89x4vx4dh44pj0sbvlsp6n86w9v6v4jwb"))))
2968 (build-system haskell-build-system)
2971 (modify-phases %standard-phases
2972 (add-after 'unpack 'relax-dependencies
2974 (substitute* "regex.cabal"
2975 (("base-compat.*>=.*0.6.*")
2976 "base-compat >= 0.6\n")
2977 (("template-haskell.*>=.*2.7.*")
2978 "template-haskell >= 2.7\n"))
2981 `(("ghc-base-compat" ,ghc-base-compat)
2982 ("ghc-hashable" ,ghc-hashable)
2983 ("ghc-regex-base" ,ghc-regex-base)
2984 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
2985 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
2986 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
2987 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
2988 ("ghc-unordered-containers" ,ghc-unordered-containers)
2989 ("ghc-utf8-string" ,ghc-utf8-string)))
2990 (home-page "http://regex.uk")
2991 (synopsis "Toolkit for regex-base")
2993 "This package provides a regular expression toolkit for @code{regex-base}
2994 with compile-time checking of regular expression syntax, data types for
2995 matches and captures, a text replacement toolkit, portable options, high-level
2996 AWK-like tools for building text processing apps, regular expression macros
2997 with parsers and test bench, comprehensive documentation, tutorials and
2999 (license license:bsd-3)))
3001 (define-public ghc-parsers
3003 (name "ghc-parsers")
3009 "https://hackage.haskell.org/package/parsers/parsers-"
3014 "1r05sc1mcglk8w596kq9a1brfn9c2vll8lq16j07ln0vsz4jzrc1"))))
3015 (build-system haskell-build-system)
3016 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
3017 ; -package attoparsec-0.13.0.1"
3019 `(("ghc-base-orphans" ,ghc-base-orphans)
3020 ("ghc-attoparsec" ,ghc-attoparsec)
3021 ("ghc-scientific" ,ghc-scientific)
3022 ("ghc-charset" ,ghc-charset)
3023 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3024 (home-page "https://github.com/ekmett/parsers/")
3025 (synopsis "Parsing combinators")
3026 (description "This library provides convenient combinators for working
3027 with and building parsing combinator libraries. Given a few simple instances,
3028 you get access to a large number of canned definitions. Instances exist for
3029 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
3031 (license license:bsd-3)))
3033 (define-public ghc-trifecta
3035 (name "ghc-trifecta")
3040 "https://hackage.haskell.org/package/trifecta/"
3041 "trifecta-" version ".tar.gz"))
3044 "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk"))))
3045 (build-system haskell-build-system)
3047 `(("ghc-reducers" ,ghc-reducers)
3048 ("ghc-semigroups" ,ghc-semigroups)
3049 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
3050 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
3051 ("ghc-blaze-builder" ,ghc-blaze-builder)
3052 ("ghc-blaze-html" ,ghc-blaze-html)
3053 ("ghc-blaze-markup" ,ghc-blaze-markup)
3054 ("ghc-charset" ,ghc-charset)
3055 ("ghc-comonad" ,ghc-comonad)
3056 ("ghc-fingertree" ,ghc-fingertree)
3057 ("ghc-hashable" ,ghc-hashable)
3058 ("ghc-lens" ,ghc-lens)
3059 ("ghc-parsers" ,ghc-parsers)
3060 ("ghc-profunctors" ,ghc-profunctors)
3061 ("ghc-unordered-containers" ,ghc-unordered-containers)
3062 ("ghc-utf8-string" ,ghc-utf8-string)))
3064 `(("cabal-doctest" ,cabal-doctest)
3065 ("ghc-doctest" ,ghc-doctest)
3066 ("ghc-quickcheck" ,ghc-quickcheck)))
3067 (home-page "https://github.com/ekmett/trifecta/")
3068 (synopsis "Parser combinator library with convenient diagnostics")
3069 (description "Trifecta is a modern parser combinator library for Haskell,
3070 with slicing and Clang-style colored diagnostics.")
3071 (license license:bsd-3)))
3073 (define-public ghc-time-locale-compat
3075 (name "ghc-time-locale-compat")
3080 (uri (string-append "https://hackage.haskell.org/package/"
3081 "time-locale-compat/time-locale-compat-"
3085 "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7"))))
3086 (build-system haskell-build-system)
3087 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
3088 (home-page "https://github.com/khibino/haskell-time-locale-compat")
3089 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
3090 (description "This package contains a wrapped name module for
3091 @code{TimeLocale}.")
3092 (license license:bsd-3)))
3094 (define-public ghc-attoparsec
3096 (name "ghc-attoparsec")
3097 (version "0.13.2.2")
3102 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
3107 "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx"))))
3108 (build-system haskell-build-system)
3111 (modify-phases %standard-phases
3112 (add-after 'unpack 'patch-for-newer-quickcheck
3114 (substitute* "attoparsec.cabal"
3115 (("QuickCheck >= 2\\.7 && < 2\\.10")
3116 "QuickCheck >= 2.7 && < 2.12"))
3117 ;; This test fails because of the newer QuickCheck:
3118 ;; <https://github.com/bos/attoparsec/issues/134>.
3119 (substitute* "tests/QC/ByteString.hs"
3120 ((", testProperty \"satisfyWith\" satisfyWith")
3123 `(("ghc-scientific" ,ghc-scientific)))
3125 `(("ghc-tasty" ,ghc-tasty)
3126 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
3127 ("ghc-quickcheck" ,ghc-quickcheck)
3128 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
3129 ("ghc-vector" ,ghc-vector)))
3130 (home-page "https://github.com/bos/attoparsec")
3131 (synopsis "Fast combinator parsing for bytestrings and text")
3132 (description "This library provides a fast parser combinator library,
3133 aimed particularly at dealing efficiently with network protocols and
3134 complicated text/binary file formats.")
3135 (license license:bsd-3)))
3137 (define-public ghc-attoparsec-bootstrap
3139 (inherit ghc-attoparsec)
3140 (name "ghc-attoparsec-bootstrap")
3141 (arguments `(#:tests? #f))
3143 `(("ghc-scientific" ,ghc-scientific-bootstrap)))
3145 (properties '(hidden? #t))))
3147 (define-public ghc-zip-archive
3149 (name "ghc-zip-archive")
3155 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
3160 "0kf8xyac168bng8a0za2jwrbss7a4ralvci9g54hnvl0gkkxx2lq"))))
3161 (build-system haskell-build-system)
3163 `(("ghc-digest" ,ghc-digest)
3164 ("ghc-temporary" ,ghc-temporary)
3165 ("ghc-zlib" ,ghc-zlib)))
3167 `(("ghc-hunit" ,ghc-hunit)
3169 (home-page "https://hackage.haskell.org/package/zip-archive")
3170 (synopsis "Zip archive library for Haskell")
3171 (description "The zip-archive library provides functions for creating,
3172 modifying, and extracting files from zip archives in Haskell.")
3173 (license license:bsd-3)))
3175 (define-public ghc-distributive
3177 (name "ghc-distributive")
3183 "https://hackage.haskell.org/package/distributive/distributive-"
3188 "0y566r97sfyvhsmd4yxiz4ns2mqgwf5bdbp56wgxl6wlkidq0wwi"))))
3189 (build-system haskell-build-system)
3192 ("6" "06bd38rf31yrvvy989r44pm0id3dsxwcp6nxg7wk6ccj3n2b8rzk")))
3194 `(("ghc-tagged" ,ghc-tagged)
3195 ("ghc-base-orphans" ,ghc-base-orphans)
3196 ("ghc-transformers-compat" ,ghc-transformers-compat)
3197 ("ghc-semigroups" ,ghc-semigroups)
3198 ("ghc-generic-deriving" ,ghc-generic-deriving)))
3200 `(("cabal-doctest" ,cabal-doctest)
3201 ("ghc-doctest" ,ghc-doctest)
3202 ("ghc-hspec" ,ghc-hspec)
3203 ("hspec-discover" ,hspec-discover)))
3204 (home-page "https://github.com/ekmett/distributive/")
3205 (synopsis "Distributive functors for Haskell")
3206 (description "This package provides distributive functors for Haskell.
3207 Dual to @code{Traversable}.")
3208 (license license:bsd-3)))
3210 (define-public ghc-cereal
3218 "https://hackage.haskell.org/package/cereal/cereal-"
3223 "1j7imh2mzqcljld7sx0av69699955rpy3hzivi5723i6a9nszgbs"))))
3224 (build-system haskell-build-system)
3226 `(("ghc-quickcheck" ,ghc-quickcheck)
3227 ("ghc-fail" ,ghc-fail)
3228 ("ghc-test-framework" ,ghc-test-framework)
3229 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3230 (home-page "https://hackage.haskell.org/package/cereal")
3231 (synopsis "Binary serialization library")
3232 (description "This package provides a binary serialization library,
3233 similar to @code{binary}, that introduces an @code{isolate} primitive for
3234 parser isolation, and labeled blocks for better error messages.")
3235 (license license:bsd-3)))
3237 (define-public ghc-comonad
3239 (name "ghc-comonad")
3245 "https://hackage.haskell.org/package/comonad/comonad-"
3250 "09g870c4flp4k3fgbibsd0mmfjani1qcpbcl685v8x89kxzrva3q"))))
3251 (build-system haskell-build-system)
3253 `(("cabal-doctest" ,cabal-doctest)
3254 ("ghc-doctest" ,ghc-doctest)))
3256 `(("ghc-contravariant" ,ghc-contravariant)
3257 ("ghc-distributive" ,ghc-distributive)
3258 ("ghc-semigroups" ,ghc-semigroups)
3259 ("ghc-tagged" ,ghc-tagged)
3260 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3261 (home-page "https://github.com/ekmett/comonad/")
3262 (synopsis "Comonads for Haskell")
3263 (description "This library provides @code{Comonad}s for Haskell.")
3264 (license license:bsd-3)))
3266 (define-public hscolour
3274 "https://hackage.haskell.org/package/hscolour/hscolour-"
3279 "079jwph4bwllfp03yfr26s5zc6m6kw3nhb1cggrifh99haq34cr4"))))
3280 (build-system haskell-build-system)
3281 (home-page "https://hackage.haskell.org/package/hscolour")
3282 (synopsis "Script to colourise Haskell code")
3283 (description "HSColour is a small Haskell script to colourise Haskell
3284 code. It currently has six output formats: ANSI terminal codes (optionally
3285 XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
3286 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
3287 and mIRC chat codes.")
3288 (license license:bsd-3)))
3290 (define-public ghc-polyparse
3292 (name "ghc-polyparse")
3298 "https://hackage.haskell.org/package/polyparse/polyparse-"
3303 "05dya1vdvq29hkhkdlsglzhw7bdn51rvs1javs0q75nf99c66k7m"))))
3304 (build-system haskell-build-system)
3306 "http://code.haskell.org/~malcolm/polyparse/")
3308 "Alternative parser combinator libraries")
3310 "This package provides a variety of alternative parser combinator
3311 libraries, including the original HuttonMeijer set. The Poly sets have
3312 features like good error reporting, arbitrary token type, running state, lazy
3313 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
3314 standard Read class, for better deserialisation of Haskell values from
3316 (license license:lgpl2.1)))
3318 (define-public ghc-extra
3326 "https://hackage.haskell.org/package/extra/extra-"
3331 "0xxcpb00pgwi9cmy6a7ghh6rblxry42p8pz5ssfgj20fs1xwzj1b"))))
3332 (build-system haskell-build-system)
3334 `(("ghc-clock" ,ghc-clock)
3335 ("ghc-quickcheck" ,ghc-quickcheck)))
3336 (home-page "https://github.com/ndmitchell/extra")
3337 (synopsis "Extra Haskell functions")
3338 (description "This library provides extra functions for the standard
3339 Haskell libraries. Most functions are simple additions, filling out missing
3340 functionality. A few functions are available in later versions of GHC, but
3341 this package makes them available back to GHC 7.2.")
3342 (license license:bsd-3)))
3344 (define-public ghc-profunctors
3346 (name "ghc-profunctors")
3352 "https://hackage.haskell.org/package/profunctors/profunctors-"
3357 "0s1pwjidbn761xk43pmzyvn99hm3psdifjd78ylki7f97aiyd0g9"))))
3358 (build-system haskell-build-system)
3361 ("2" "1ywlg9z8nlhd2avgb8c6gbkv8zyk7hvc25926bafyg0m0k8y1amq")))
3363 `(("ghc-base-orphans" ,ghc-base-orphans)
3364 ("ghc-bifunctors" ,ghc-bifunctors)
3365 ("ghc-comonad" ,ghc-comonad)
3366 ("ghc-contravariant" ,ghc-contravariant)
3367 ("ghc-distributive" ,ghc-distributive)
3368 ("ghc-semigroups" ,ghc-semigroups)
3369 ("ghc-tagged" ,ghc-tagged)))
3370 (home-page "https://github.com/ekmett/profunctors/")
3371 (synopsis "Profunctors for Haskell")
3372 (description "This library provides profunctors for Haskell.")
3373 (license license:bsd-3)))
3375 (define-public ghc-reducers
3377 (name "ghc-reducers")
3383 "https://hackage.haskell.org/package/reducers/reducers-"
3388 "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki"))))
3389 (build-system haskell-build-system)
3391 `(("ghc-fingertree" ,ghc-fingertree)
3392 ("ghc-hashable" ,ghc-hashable)
3393 ("ghc-unordered-containers" ,ghc-unordered-containers)
3394 ("ghc-semigroupoids" ,ghc-semigroupoids)
3395 ("ghc-semigroups" ,ghc-semigroups)))
3396 (home-page "https://github.com/ekmett/reducers/")
3397 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
3398 (description "This library provides various semigroups, specialized
3399 containers and a general map/reduce framework for Haskell.")
3400 (license license:bsd-3)))
3402 (define-public ghc-appar
3410 "https://hackage.haskell.org/package/appar/appar-"
3415 "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq"))))
3416 (build-system haskell-build-system)
3418 "https://hackage.haskell.org/package/appar")
3419 (synopsis "Simple applicative parser")
3420 (description "This package provides a simple applicative parser in Parsec
3422 (license license:bsd-3)))
3424 (define-public ghc-safe
3432 "https://hackage.haskell.org/package/safe/safe-"
3437 "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr"))))
3438 (build-system haskell-build-system)
3440 `(("ghc-quickcheck" ,ghc-quickcheck)))
3441 (home-page "https://github.com/ndmitchell/safe#readme")
3442 (synopsis "Library of safe (exception free) functions")
3443 (description "This library provides wrappers around @code{Prelude} and
3444 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
3446 (license license:bsd-3)))
3448 (define-public ghc-generic-deriving
3450 (name "ghc-generic-deriving")
3456 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
3461 "1i7d6cpj9yhaqb79zays3nqchhaacacjz9bkc0zlwj73y5gvi22n"))))
3462 (build-system haskell-build-system)
3464 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
3466 `(("ghc-hspec" ,ghc-hspec)
3467 ("hspec-discover" ,hspec-discover)))
3468 (home-page "https://hackage.haskell.org/package/generic-deriving")
3469 (synopsis "Generalise the deriving mechanism to arbitrary classes")
3470 (description "This package provides functionality for generalising the
3471 deriving mechanism in Haskell to arbitrary classes.")
3472 (license license:bsd-3)))
3474 (define-public ghc-pcre-light
3476 (name "ghc-pcre-light")
3482 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
3487 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
3488 (build-system haskell-build-system)
3492 `(("pkg-config" ,pkg-config)))
3493 (home-page "https://github.com/Daniel-Diaz/pcre-light")
3494 (synopsis "Haskell library for Perl 5 compatible regular expressions")
3495 (description "This package provides a small, efficient, and portable regex
3496 library for Perl 5 compatible regular expressions. The PCRE library is a set
3497 of functions that implement regular expression pattern matching using the same
3498 syntax and semantics as Perl 5.")
3499 (license license:bsd-3)))
3501 (define-public ghc-logict
3509 "https://hackage.haskell.org/package/logict/logict-"
3514 "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi"))))
3515 (build-system haskell-build-system)
3516 (home-page "http://code.haskell.org/~dolio/")
3517 (synopsis "Backtracking logic-programming monad")
3518 (description "This library provides a continuation-based, backtracking,
3519 logic programming monad. An adaptation of the two-continuation implementation
3520 found in the paper \"Backtracking, Interleaving, and Terminating Monad
3521 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
3523 (license license:bsd-3)))
3525 (define-public ghc-xml
3533 "https://hackage.haskell.org/package/xml/xml-"
3538 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
3539 (build-system haskell-build-system)
3540 (home-page "http://code.galois.com")
3541 (synopsis "Simple XML library for Haskell")
3542 (description "This package provides a simple XML library for Haskell.")
3543 (license license:bsd-3)))
3545 (define-public ghc-feed
3552 (uri (string-append "https://hackage.haskell.org/package/"
3553 "feed/feed-" version ".tar.gz"))
3556 "05rgg7x1984mgfhkmz792xj8lhwjgznixhygzr8blf517lns2nck"))))
3557 (build-system haskell-build-system)
3560 ("4" "0baavcavm3ywykcr9cm07aqr7sna98jba2n68lyn3kany8ri214d")))
3562 `(("ghc-base-compat" ,ghc-base-compat)
3563 ("ghc-old-locale" ,ghc-old-locale)
3564 ("ghc-old-time" ,ghc-old-time)
3565 ("ghc-safe" ,ghc-safe)
3566 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
3567 ("ghc-utf8-string" ,ghc-utf8-string)
3568 ("ghc-xml-conduit" ,ghc-xml-conduit)
3569 ("ghc-xml-types" ,ghc-xml-types)))
3571 `(("ghc-hunit" ,ghc-hunit)
3572 ("ghc-test-framework" ,ghc-test-framework)
3573 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3574 (home-page "https://github.com/bergmark/feed")
3575 (synopsis "Haskell package for handling various syndication formats")
3576 (description "This Haskell package includes tools for generating and
3577 consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
3578 (license license:bsd-3)))
3580 (define-public ghc-exceptions
3582 (name "ghc-exceptions")
3588 "https://hackage.haskell.org/package/exceptions/exceptions-"
3593 "1ms9zansv0pwzwdjncvx4kf18lnkjy2p61hvjhvxmjx5bqp93p8y"))))
3594 (build-system haskell-build-system)
3596 `(("ghc-quickcheck" ,ghc-quickcheck)
3597 ("ghc-test-framework" ,ghc-test-framework)
3598 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3599 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3601 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
3602 (home-page "https://github.com/ekmett/exceptions/")
3603 (synopsis "Extensible optionally-pure exceptions")
3604 (description "This library provides extensible optionally-pure exceptions
3606 (license license:bsd-3)))
3608 (define-public ghc-temporary
3610 (name "ghc-temporary")
3616 "https://hackage.haskell.org/package/temporary/temporary-"
3621 "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c"))))
3622 (build-system haskell-build-system)
3624 `(("ghc-exceptions" ,ghc-exceptions)
3625 ("ghc-random" ,ghc-random)))
3627 `(("ghc-base-compat" ,ghc-base-compat)
3628 ("ghc-tasty" ,ghc-tasty)
3629 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
3630 (home-page "https://www.github.com/batterseapower/temporary")
3631 (synopsis "Temporary file and directory support")
3632 (description "The functions for creating temporary files and directories
3633 in the Haskelll base library are quite limited. This library just repackages
3634 the Cabal implementations of its own temporary file and folder functions so
3635 that you can use them without linking against Cabal or depending on it being
3637 (license license:bsd-3)))
3639 (define-public ghc-temporary-rc
3641 (name "ghc-temporary-rc")
3647 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
3652 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
3653 (build-system haskell-build-system)
3654 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
3656 "https://www.github.com/feuerbach/temporary")
3658 "Portable temporary file and directory support")
3660 "The functions for creating temporary files and directories in the base
3661 library are quite limited. The unixutils package contains some good ones, but
3662 they aren't portable to Windows. This library just repackages the Cabal
3663 implementations of its own temporary file and folder functions so that you can
3664 use them without linking against Cabal or depending on it being installed.
3665 This is a better maintained fork of the \"temporary\" package.")
3666 (license license:bsd-3)))
3668 (define-public ghc-smallcheck
3670 (name "ghc-smallcheck")
3676 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
3681 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
3682 (build-system haskell-build-system)
3684 `(("ghc-logict" ,ghc-logict)))
3686 "https://github.com/feuerbach/smallcheck")
3687 (synopsis "Property-based testing library")
3688 (description "SmallCheck is a testing library that allows to verify
3689 properties for all test cases up to some depth. The test cases are generated
3690 automatically by SmallCheck.")
3691 (license license:bsd-3)))
3693 (define-public ghc-silently
3695 (name "ghc-silently")
3701 "https://hackage.haskell.org/package/silently/silently-"
3706 "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
3707 (build-system haskell-build-system)
3708 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
3710 ;; `(("ghc-temporary" ,ghc-temporary)))
3711 (home-page "https://github.com/hspec/silently")
3712 (synopsis "Prevent writing to stdout")
3713 (description "This package provides functions to prevent or capture
3714 writing to stdout and other handles.")
3715 (license license:bsd-3)))
3717 (define-public ghc-case-insensitive
3719 (name "ghc-case-insensitive")
3720 (version "1.2.0.11")
3721 (outputs '("out" "doc"))
3726 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
3731 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7"))))
3732 (build-system haskell-build-system)
3733 ;; these inputs are necessary to use this library
3735 `(("ghc-hashable" ,ghc-hashable)))
3737 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3739 "https://github.com/basvandijk/case-insensitive")
3740 (synopsis "Case insensitive string comparison")
3742 "The module @code{Data.CaseInsensitive} provides the @code{CI} type
3743 constructor which can be parameterised by a string-like type like:
3744 @code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of
3745 the resulting type will be insensitive to cases.")
3746 (license license:bsd-3)))
3748 (define-public ghc-syb
3752 (outputs '("out" "doc"))
3757 "https://hackage.haskell.org/package/syb/syb-"
3762 "1da2zz7gqm4xbkx5vpd74dayx1svaxyl145fl14mq15lbb77sxdq"))))
3763 (build-system haskell-build-system)
3765 `(("ghc-hunit" ,ghc-hunit)))
3767 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
3768 (synopsis "Scrap Your Boilerplate")
3769 (description "This package contains the generics system described in the
3770 /Scrap Your Boilerplate/ papers (see
3771 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
3772 defines the @code{Data} class of types permitting folding and unfolding of
3773 constructor applications, instances of this class for primitive types, and a
3774 variety of traversals.")
3775 (license license:bsd-3)))
3777 (define-public ghc-fgl
3781 (outputs '("out" "doc"))
3786 "https://hackage.haskell.org/package/fgl/fgl-"
3791 "1i6cp4b3w7sjk7y1dq3fh6bci2sm5h3lnbbaw9ln19nwncg2wwll"))))
3792 (build-system haskell-build-system)
3795 (modify-phases %standard-phases
3796 (add-before 'configure 'update-constraints
3798 (substitute* "fgl.cabal"
3799 (("QuickCheck >= 2\\.8 && < 2\\.10")
3800 "QuickCheck >= 2.8 && < 2.12")
3801 (("hspec >= 2\\.1 && < 2\\.5")
3802 "hspec >= 2.1 && < 2.6")))))))
3804 `(("ghc-hspec" ,ghc-hspec)
3805 ("ghc-quickcheck" ,ghc-quickcheck)))
3806 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3808 "Martin Erwig's Functional Graph Library")
3809 (description "The functional graph library, FGL, is a collection of type
3810 and function definitions to address graph problems. The basis of the library
3811 is an inductive definition of graphs in the style of algebraic data types that
3812 encourages inductive, recursive definitions of graph algorithms.")
3813 (license license:bsd-3)))
3815 (define-public ghc-chasingbottoms
3817 (name "ghc-chasingbottoms")
3822 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
3823 "ChasingBottoms-" version ".tar.gz"))
3826 "06cynx6hcbfpky7qq3b3mjjgwbnaxkwin3znbwq4b9ikiw0ng633"))))
3827 (build-system haskell-build-system)
3829 `(("ghc-quickcheck" ,ghc-quickcheck)
3830 ("ghc-random" ,ghc-random)
3831 ("ghc-syb" ,ghc-syb)))
3832 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
3833 (synopsis "Testing of partial and infinite values in Haskell")
3835 ;; FIXME: There should be a @comma{} in the uref text, but it is not
3836 ;; rendered properly.
3837 "This is a library for testing code involving bottoms or infinite values.
3838 For the underlying theory and a larger example involving use of QuickCheck,
3840 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
3841 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
3842 Partial and Infinite Values\"}.")
3843 (license license:expat)))
3845 (define-public ghc-unordered-containers
3847 (name "ghc-unordered-containers")
3849 (outputs '("out" "doc"))
3854 "https://hackage.haskell.org/package/unordered-containers"
3855 "/unordered-containers-" version ".tar.gz"))
3858 "0l4264p0av12cc6i8gls13q8y27x12z2ar4x34n3x59y99fcnc37"))))
3859 (build-system haskell-build-system)
3861 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
3862 ("ghc-hunit" ,ghc-hunit)
3863 ("ghc-quickcheck" ,ghc-quickcheck)
3864 ("ghc-test-framework" ,ghc-test-framework)
3865 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3866 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3867 ("ghc-hashable" ,ghc-hashable)))
3869 "https://github.com/tibbe/unordered-containers")
3871 "Efficient hashing-based container types")
3873 "Efficient hashing-based container types. The containers have been
3874 optimized for performance critical use, both in terms of large data quantities
3876 (license license:bsd-3)))
3878 (define-public ghc-unordered-containers-bootstrap
3880 (inherit ghc-unordered-containers)
3881 (name "ghc-unordered-containers-bootstrap")
3882 (arguments `(#:tests? #f))
3884 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
3885 (properties '(hidden? #t))))
3887 (define-public ghc-uniplate
3889 (name "ghc-uniplate")
3895 "https://hackage.haskell.org/package/uniplate/uniplate-"
3900 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
3901 (build-system haskell-build-system)
3903 `(("ghc-syb" ,ghc-syb)
3904 ("ghc-hashable" ,ghc-hashable)
3905 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3906 (home-page "http://community.haskell.org/~ndm/uniplate/")
3907 (synopsis "Simple, concise and fast generic operations")
3908 (description "Uniplate is a library for writing simple and concise generic
3909 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
3910 work, but is substantially simpler and faster.")
3911 (license license:bsd-3)))
3913 (define-public ghc-base64-bytestring
3915 (name "ghc-base64-bytestring")
3921 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
3925 (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr"))))
3926 (build-system haskell-build-system)
3927 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3928 (home-page "https://github.com/bos/base64-bytestring")
3929 (synopsis "Base64 encoding and decoding for ByteStrings")
3930 (description "This library provides fast base64 encoding and decoding for
3931 Haskell @code{ByteString}s.")
3932 (license license:bsd-3)))
3934 (define-public ghc-annotated-wl-pprint
3936 (name "ghc-annotated-wl-pprint")
3942 "https://hackage.haskell.org/package/annotated-wl-pprint"
3943 "/annotated-wl-pprint-" version
3947 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
3948 (build-system haskell-build-system)
3950 "https://github.com/david-christiansen/annotated-wl-pprint")
3952 "The Wadler/Leijen Pretty Printer, with annotation support")
3953 (description "This is a modified version of wl-pprint, which was based on
3954 Wadler's paper \"A Prettier Printer\". This version allows the library user
3955 to annotate the text with semantic information, which can later be rendered in
3956 a variety of ways.")
3957 (license license:bsd-3)))
3959 (define-public ghc-wl-pprint
3961 (name "ghc-wl-pprint")
3966 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
3970 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
3971 (build-system haskell-build-system)
3972 (home-page "https://hackage.haskell.org/package/wl-pprint")
3973 (synopsis "Wadler/Leijen pretty printer")
3975 "This is a pretty printing library based on Wadler's paper @i{A Prettier
3976 Printer}. This version allows the library user to declare overlapping
3977 instances of the @code{Pretty} class.")
3978 (license license:bsd-3)))
3980 (define-public ghc-ansi-wl-pprint
3982 (name "ghc-ansi-wl-pprint")
3987 (uri (string-append "https://hackage.haskell.org/package/"
3988 "ansi-wl-pprint/ansi-wl-pprint-"
3992 "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56"))))
3993 (build-system haskell-build-system)
3995 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
3996 (home-page "https://github.com/ekmett/ansi-wl-pprint")
3997 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
3998 (description "This is a pretty printing library based on Wadler's paper
3999 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
4000 colored output using the ansi-terminal package.")
4001 (license license:bsd-3)))
4003 (define-public ghc-split
4007 (outputs '("out" "doc"))
4012 "https://hackage.haskell.org/package/split/split-"
4017 "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x"))))
4018 (build-system haskell-build-system)
4020 `(("ghc-quickcheck" ,ghc-quickcheck)))
4021 (home-page "https://hackage.haskell.org/package/split")
4022 (synopsis "Combinator library for splitting lists")
4023 (description "This package provides a collection of Haskell functions for
4024 splitting lists into parts, akin to the @code{split} function found in several
4025 mainstream languages.")
4026 (license license:bsd-3)))
4028 (define-public ghc-parser-combinators
4030 (name "ghc-parser-combinators")
4035 (uri (string-append "https://hackage.haskell.org/package/"
4036 "parser-combinators/parser-combinators-"
4040 "1pwfdsklqwvaynwpdzmx1bs35mp6dpsyaqdnzxnqcrxwf5h8sk75"))))
4041 (build-system haskell-build-system)
4042 (home-page "https://github.com/mrkkrp/parser-combinators")
4043 (synopsis "Commonly useful parser combinators")
4045 "This is a lightweight package providing commonly useful parser
4047 (license license:bsd-3)))
4049 (define-public ghc-megaparsec
4051 (name "ghc-megaparsec")
4056 (uri (string-append "https://hackage.haskell.org/package/"
4057 "megaparsec/megaparsec-"
4061 "12iggy7qpf8x93jm64zf0g215xwy779bqyfyjk2bhmxqqr1yzgdy"))))
4062 (build-system haskell-build-system)
4065 ("4" "0ij3asi5vwlhbgwsy6nhli9a0qb7926mg809fsgyl1rnhs9fvpx1")))
4067 `(("ghc-case-insensitive" ,ghc-case-insensitive)
4068 ("ghc-parser-combinators" ,ghc-parser-combinators)
4069 ("ghc-scientific" ,ghc-scientific)))
4071 `(("ghc-quickcheck" ,ghc-quickcheck)
4072 ("ghc-hspec" ,ghc-hspec)
4073 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
4074 ("hspec-discover" ,hspec-discover)))
4075 (home-page "https://github.com/mrkkrp/megaparsec")
4076 (synopsis "Monadic parser combinators")
4078 "This is an industrial-strength monadic parser combinator library.
4079 Megaparsec is a feature-rich package that strikes a nice balance between
4080 speed, flexibility, and quality of parse errors.")
4081 (license license:bsd-2)))
4083 (define-public ghc-vector
4086 (version "0.12.0.1")
4087 (outputs '("out" "doc"))
4092 "https://hackage.haskell.org/package/vector/vector-"
4097 "0yrx2ypiaxahvaz84af5bi855hd3107kxkbqc8km29nsp5wyw05i"))))
4098 (build-system haskell-build-system)
4099 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
4100 ;; disabled for now.
4103 ("3" "0y5rh8k710i2a3p1h2rghvr5cfg78p5h0kbfi7ifxqqf6pzlyr1x")
4106 `(("ghc-primitive" ,ghc-primitive)
4107 ("ghc-random" ,ghc-random)
4108 ("ghc-quickcheck" ,ghc-quickcheck)
4109 ;; ("ghc-hunit" ,ghc-hunit)
4110 ;; ("ghc-test-framework" ,ghc-test-framework)
4111 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4112 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
4114 (home-page "https://github.com/haskell/vector")
4115 (synopsis "Efficient Arrays")
4116 (description "This library provides an efficient implementation of
4117 Int-indexed arrays (both mutable and immutable), with a powerful loop
4118 optimisation framework.")
4119 (license license:bsd-3)))
4121 (define-public ghc-vector-binary-instances
4123 (name "ghc-vector-binary-instances")
4129 "https://hackage.haskell.org/package/"
4130 "vector-binary-instances/vector-binary-instances-"
4134 "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb"))))
4135 (build-system haskell-build-system)
4138 ("1" "196frl4akhfk7xf1nxzn8lmq99dxhzhsimanswn9yy7ym8zhki4i")))
4140 `(("ghc-vector" ,ghc-vector)))
4142 `(("ghc-tasty" ,ghc-tasty)
4143 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4144 (home-page "https://github.com/bos/vector-binary-instances")
4145 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
4146 (description "This library provides instances of @code{Binary} for the
4147 types defined in the @code{vector} package, making it easy to serialize
4148 vectors to and from disk. We use the generic interface to vectors, so all
4149 vector types are supported. Specific instances are provided for unboxed,
4150 boxed and storable vectors.")
4151 (license license:bsd-3)))
4153 (define-public ghc-bloomfilter
4155 (name "ghc-bloomfilter")
4160 (uri (string-append "https://hackage.haskell.org/package/"
4161 "bloomfilter/bloomfilter-" version ".tar.gz"))
4164 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
4165 (build-system haskell-build-system)
4167 `(("ghc-quickcheck" ,ghc-quickcheck)
4168 ("ghc-random" ,ghc-random)
4169 ("ghc-test-framework" ,ghc-test-framework)
4170 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4171 (home-page "https://github.com/bos/bloomfilter")
4172 (synopsis "Pure and impure Bloom filter implementations")
4173 (description "This package provides both mutable and immutable Bloom
4174 filter data types, along with a family of hash functions and an easy-to-use
4176 (license license:bsd-3)))
4178 (define-public ghc-network
4180 (name "ghc-network")
4182 (outputs '("out" "doc"))
4187 "https://hackage.haskell.org/package/network/network-"
4192 "198mam7ahny48p9fajznbqq16a8ya2gw0xm3gnm1si1rmc4hdplv"))))
4193 (build-system haskell-build-system)
4194 ;; The regression tests depend on an unpublished module.
4195 (arguments `(#:tests? #f))
4197 `(("ghc-hunit" ,ghc-hunit)
4198 ("ghc-doctest" ,ghc-doctest)
4199 ("ghc-test-framework" ,ghc-test-framework)
4200 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4201 (home-page "https://github.com/haskell/network")
4202 (synopsis "Low-level networking interface")
4204 "This package provides a low-level networking interface.")
4205 (license license:bsd-3)))
4207 (define-public ghc-network-uri
4209 (name "ghc-network-uri")
4211 (outputs '("out" "doc"))
4216 "https://hackage.haskell.org/package/network-uri/network-uri-"
4221 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
4222 (build-system haskell-build-system)
4224 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
4226 `(("ghc-network" ,ghc-network)))
4228 `(("ghc-hunit" ,ghc-hunit)))
4230 "https://github.com/haskell/network-uri")
4231 (synopsis "Library for URI manipulation")
4232 (description "This package provides an URI manipulation interface. In
4233 @code{network-2.6} the @code{Network.URI} module was split off from the
4234 @code{network} package into this package.")
4235 (license license:bsd-3)))
4237 (define-public ghc-ansi-terminal
4239 (name "ghc-ansi-terminal")
4245 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
4250 "0428gq8m3fdnb7ldcsyk97qcch76hcxbgh2666p6f76fs2qbhg7b"))))
4251 (build-system haskell-build-system)
4253 `(("ghc-colour" ,ghc-colour)))
4254 (home-page "https://github.com/feuerbach/ansi-terminal")
4255 (synopsis "ANSI terminal support for Haskell")
4256 (description "This package provides ANSI terminal support for Haskell. It
4257 allows cursor movement, screen clearing, color output showing or hiding the
4258 cursor, and changing the title.")
4259 (license license:bsd-3)))
4261 (define-public ghc-vault
4269 "https://hackage.haskell.org/package/vault/vault-"
4274 "072mbrihsdsb8c6xvg6lvk0rqjgvxvi8qkg4n6wwym5hq0pfa04y"))))
4275 (build-system haskell-build-system)
4277 `(("ghc-unordered-containers" ,ghc-unordered-containers)
4278 ("ghc-hashable" ,ghc-hashable)
4279 ("ghc-semigroupoids" ,ghc-semigroupoids)))
4281 "https://github.com/HeinrichApfelmus/vault")
4282 (synopsis "Persistent store for arbitrary values")
4283 (description "This package provides vaults for Haskell. A vault is a
4284 persistent store for values of arbitrary types. It's like having first-class
4285 access to the storage space behind @code{IORefs}. The data structure is
4286 analogous to a bank vault, where you can access different bank boxes with
4287 different keys; hence the name. Also provided is a @code{locker} type,
4288 representing a store for a single element.")
4289 (license license:bsd-3)))
4291 (define-public ghc-edisonapi
4293 (name "ghc-edisonapi")
4298 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
4299 "/EdisonAPI-" version ".tar.gz"))
4301 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
4302 (build-system haskell-build-system)
4303 (home-page "http://rwd.rdockins.name/edison/home/")
4304 (synopsis "Library of efficient, purely-functional data structures (API)")
4306 "Edison is a library of purely functional data structures written by
4307 Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
4308 value EDiSon (Efficient Data Structures). Edison provides several families of
4309 abstractions, each with multiple implementations. The main abstractions
4310 provided by Edison are: Sequences such as stacks, queues, and dequeues;
4311 Collections such as sets, bags and heaps; and Associative Collections such as
4312 finite maps and priority queues where the priority and element are distinct.")
4313 (license license:expat)))
4315 (define-public ghc-edisoncore
4317 (name "ghc-edisoncore")
4322 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
4323 "/EdisonCore-" version ".tar.gz"))
4325 (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk"))))
4326 (build-system haskell-build-system)
4328 `(("ghc-quickcheck" ,ghc-quickcheck)
4329 ("ghc-edisonapi" ,ghc-edisonapi)))
4330 (home-page "http://rwd.rdockins.name/edison/home/")
4331 (synopsis "Library of efficient, purely-functional data structures")
4333 "This package provides the core Edison data structure implementations,
4334 including multiple sequence, set, bag, and finite map concrete implementations
4335 with various performance characteristics.")
4336 (license license:expat)))
4338 (define-public ghc-mmorph
4346 "https://hackage.haskell.org/package/mmorph/mmorph-"
4351 "1gjz1ib968lqybma7my1n19qq6cdj6a7nskrlnwy4jy9jrwzs2n9"))))
4352 (build-system haskell-build-system)
4354 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4355 (home-page "https://hackage.haskell.org/package/mmorph")
4356 (synopsis "Monad morphisms")
4358 "This library provides monad morphism utilities, most commonly used for
4359 manipulating monad transformer stacks.")
4360 (license license:bsd-3)))
4362 (define-public ghc-ifelse
4369 (uri (string-append "https://hackage.haskell.org/package/"
4370 "IfElse/IfElse-" version ".tar.gz"))
4373 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
4374 (build-system haskell-build-system)
4375 (home-page "http://hackage.haskell.org/package/IfElse")
4376 (synopsis "Monadic control flow with anaphoric variants")
4377 (description "This library provides functions for control flow inside of
4378 monads with anaphoric variants on @code{if} and @code{when} and a C-like
4379 @code{switch} function.")
4380 (license license:bsd-3)))
4382 (define-public ghc-monad-control
4384 (name "ghc-monad-control")
4390 "https://hackage.haskell.org/package/monad-control"
4391 "/monad-control-" version ".tar.gz"))
4394 "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c"))))
4395 (build-system haskell-build-system)
4397 `(("ghc-transformers-base" ,ghc-transformers-base)
4398 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4399 (home-page "https://github.com/basvandijk/monad-control")
4400 (synopsis "Monad transformers to lift control operations like exception
4402 (description "This package defines the type class @code{MonadBaseControl},
4403 a subset of @code{MonadBase} into which generic control operations such as
4404 @code{catch} can be lifted from @code{IO} or any other base monad.")
4405 (license license:bsd-3)))
4407 (define-public ghc-fail
4414 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
4417 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
4418 (build-system haskell-build-system)
4419 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4420 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
4421 (synopsis "Forward-compatible MonadFail class")
4423 "This package contains the @code{Control.Monad.Fail} module providing the
4424 @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
4425 class that became available in
4426 @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
4427 older @code{base} package versions. This package turns into an empty package
4428 when used with GHC versions which already provide the
4429 @code{Control.Monad.Fail} module.")
4430 (license license:bsd-3)))
4432 (define-public ghc-monadplus
4434 (name "ghc-monadplus")
4439 (uri (string-append "https://hackage.haskell.org/package/monadplus"
4440 "/monadplus-" version ".tar.gz"))
4442 (base32 "15b5320wdpmdp5slpphnc1x4rhjch3igw245dp2jxbqyvchdavin"))))
4443 (build-system haskell-build-system)
4444 (home-page "https://hackage.haskell.org/package/monadplus")
4445 (synopsis "Filtering and folding over arbitrary MonadPlus instances")
4447 "This package generalizes many common stream operations such as
4448 @code{filter}, @code{catMaybes} etc, enabling filtering and folding over
4449 arbitrary @code{MonadPlus} instances.")
4450 (license license:bsd-3)))
4452 (define-public ghc-byteorder
4454 (name "ghc-byteorder")
4460 "https://hackage.haskell.org/package/byteorder/byteorder-"
4465 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
4466 (build-system haskell-build-system)
4468 "http://community.haskell.org/~aslatter/code/byteorder")
4470 "Exposes the native endianness of the system")
4472 "This package is for working with the native byte-ordering of the
4474 (license license:bsd-3)))
4476 (define-public ghc-base-compat
4478 (name "ghc-base-compat")
4484 "https://hackage.haskell.org/package/base-compat/base-compat-"
4489 "0ksp990gxs731mq19rzbxrbs43nazfljjc8krlx5bjqblw3kfs8d"))))
4490 (build-system haskell-build-system)
4492 `(("ghc-quickcheck" ,ghc-quickcheck)
4493 ("ghc-hspec" ,ghc-hspec)
4494 ("hspec-discover" ,hspec-discover)))
4495 (home-page "https://hackage.haskell.org/package/base-compat")
4496 (synopsis "Haskell compiler compatibility library")
4497 (description "This library provides functions available in later versions
4498 of base to a wider range of compilers, without requiring the use of CPP
4499 pragmas in your code.")
4500 (license license:bsd-3)))
4502 (define-public ghc-blaze-builder
4504 (name "ghc-blaze-builder")
4510 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
4515 "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i"))))
4516 (build-system haskell-build-system)
4517 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
4519 `(("ghc-utf8-string" ,ghc-utf8-string)))
4520 (home-page "https://github.com/lpsmith/blaze-builder")
4521 (synopsis "Efficient buffered output")
4522 (description "This library provides an implementation of the older
4523 @code{blaze-builder} interface in terms of the new builder that shipped with
4524 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
4525 bridge to the new builder, so that code that uses the old interface can
4526 interoperate with code that uses the new implementation.")
4527 (license license:bsd-3)))
4529 (define-public ghc-blaze-markup
4531 (name "ghc-blaze-markup")
4536 (uri (string-append "https://hackage.haskell.org/package/"
4537 "blaze-markup/blaze-markup-"
4541 "0ih1c3qahkdgzbqihdhny5s313l2m66fbb88w8jbx7yz56y7rawh"))))
4542 (build-system haskell-build-system)
4545 (modify-phases %standard-phases
4546 (add-before 'configure 'update-constraints
4548 (substitute* "blaze-markup.cabal"
4549 (("tasty >= 1\\.0 && < 1\\.1")
4550 "tasty >= 1.0 && < 1.2")))))))
4552 `(("ghc-blaze-builder" ,ghc-blaze-builder)))
4554 `(("ghc-hunit" ,ghc-hunit)
4555 ("ghc-quickcheck" ,ghc-quickcheck)
4556 ("ghc-tasty" ,ghc-tasty)
4557 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4558 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4559 (home-page "https://jaspervdj.be/blaze")
4560 (synopsis "Fast markup combinator library for Haskell")
4561 (description "This library provides core modules of a markup combinator
4562 library for Haskell.")
4563 (license license:bsd-3)))
4565 (define-public ghc-easy-file
4567 (name "ghc-easy-file")
4573 "https://hackage.haskell.org/package/easy-file/easy-file-"
4578 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
4579 (build-system haskell-build-system)
4581 "https://github.com/kazu-yamamoto/easy-file")
4582 (synopsis "File handling library for Haskell")
4583 (description "This library provides file handling utilities for Haskell.")
4584 (license license:bsd-3)))
4586 (define-public ghc-async
4594 "https://hackage.haskell.org/package/async/async-"
4599 "09whscli1q5z7lzyq9rfk0bq1ydplh6pjmc6qv0x668k5818c2wg"))))
4600 (build-system haskell-build-system)
4602 `(("ghc-hashable" ,ghc-hashable)
4603 ("ghc-hunit" ,ghc-hunit)
4604 ("ghc-test-framework" ,ghc-test-framework)
4605 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4606 (home-page "https://github.com/simonmar/async")
4607 (synopsis "Library to run IO operations asynchronously")
4608 (description "Async provides a library to run IO operations
4609 asynchronously, and wait for their results. It is a higher-level interface
4610 over threads in Haskell, in which @code{Async a} is a concurrent thread that
4611 will eventually deliver a value of type @code{a}.")
4612 (license license:bsd-3)))
4614 (define-public ghc-fingertree
4616 (name "ghc-fingertree")
4622 "https://hackage.haskell.org/package/fingertree/fingertree-"
4626 "192fyzv0pn1437wdpqg1l80rswkk4rw3w61r4bq7dhv354bdqy4p"))))
4627 (build-system haskell-build-system)
4629 `(("ghc-hunit" ,ghc-hunit)
4630 ("ghc-quickcheck" ,ghc-quickcheck)
4631 ("ghc-test-framework" ,ghc-test-framework)
4632 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4633 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4634 (home-page "https://hackage.haskell.org/package/fingertree")
4635 (synopsis "Generic finger-tree structure")
4636 (description "This library provides finger trees, a general sequence
4637 representation with arbitrary annotations, for use as a base for
4638 implementations of various collection types. It includes examples, as
4639 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4640 simple general-purpose data structure\".")
4641 (license license:bsd-3)))
4643 (define-public ghc-optparse-applicative
4645 (name "ghc-optparse-applicative")
4646 (version "0.14.2.0")
4651 "https://hackage.haskell.org/package/optparse-applicative"
4652 "/optparse-applicative-" version ".tar.gz"))
4655 "0c3z1mvynlyv1garjbdmdd3npm40dabgm75js4r07cf766c1wd71"))))
4656 (build-system haskell-build-system)
4658 `(("ghc-transformers-compat" ,ghc-transformers-compat)
4659 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
4661 `(("ghc-quickcheck" ,ghc-quickcheck)))
4662 (home-page "https://github.com/pcapriotti/optparse-applicative")
4663 (synopsis "Utilities and combinators for parsing command line options")
4664 (description "This package provides utilities and combinators for parsing
4665 command line options in Haskell.")
4666 (license license:bsd-3)))
4668 (define-public ghc-base-orphans
4670 (name "ghc-base-orphans")
4676 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
4681 "057f9npnqk71ccfh95djfkpd54dzazphj06grwxa3fyhwcwxrb8a"))))
4682 (build-system haskell-build-system)
4684 `(("ghc-quickcheck" ,ghc-quickcheck)
4685 ("ghc-hspec" ,ghc-hspec)
4686 ("hspec-discover" ,hspec-discover)))
4687 (home-page "https://hackage.haskell.org/package/base-orphans")
4688 (synopsis "Orphan instances for backwards compatibility")
4689 (description "This package defines orphan instances that mimic instances
4690 available in later versions of base to a wider (older) range of compilers.")
4691 (license license:bsd-3)))
4693 (define-public ghc-auto-update
4695 (name "ghc-auto-update")
4701 "https://hackage.haskell.org/package/auto-update/auto-update-"
4706 "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy"))))
4707 (build-system haskell-build-system)
4708 (home-page "https://github.com/yesodweb/wai")
4709 (synopsis "Efficiently run periodic, on-demand actions")
4710 (description "This library provides mechanisms to efficiently run
4711 periodic, on-demand actions in Haskell.")
4712 (license license:expat)))
4714 (define-public ghc-tagged
4722 "https://hackage.haskell.org/package/tagged/tagged-"
4727 "16cdzh0bw16nvjnyyy5j9s60malhz4nnazw96vxb0xzdap4m2z74"))))
4728 (build-system haskell-build-system)
4731 ("2" "0r2knfcq0b4s652vlvlnfwxlc2mkc2ra9kl8bp4zdn1awmfy0ia5")))
4733 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4734 (home-page "https://hackage.haskell.org/package/tagged")
4735 (synopsis "Haskell phantom types to avoid passing dummy arguments")
4736 (description "This library provides phantom types for Haskell 98, to avoid
4737 having to unsafely pass dummy arguments.")
4738 (license license:bsd-3)))
4740 (define-public ghc-unbounded-delays
4742 (name "ghc-unbounded-delays")
4748 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
4753 "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa"))))
4754 (build-system haskell-build-system)
4755 (home-page "https://github.com/basvandijk/unbounded-delays")
4756 (synopsis "Unbounded thread delays and timeouts")
4757 (description "The @code{threadDelay} and @code{timeout} functions from the
4758 Haskell base library use the bounded @code{Int} type for specifying the delay
4759 or timeout period. This package provides alternative functions which use the
4760 unbounded @code{Integer} type.")
4761 (license license:bsd-3)))
4763 (define-public ghc-clock
4771 "https://hackage.haskell.org/package/"
4773 "clock-" version ".tar.gz"))
4775 (base32 "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8"))))
4776 (build-system haskell-build-system)
4778 `(("ghc-tasty" ,ghc-tasty)
4779 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4780 (home-page "https://hackage.haskell.org/package/clock")
4781 (synopsis "High-resolution clock for Haskell")
4782 (description "A package for convenient access to high-resolution clock and
4783 timer functions of different operating systems via a unified API.")
4784 (license license:bsd-3)))
4786 ;; This package builds `clock` without tests, since the tests rely on tasty
4787 ;; and tasty-quickcheck, which in turn require clock to build.
4788 (define-public ghc-clock-bootstrap
4791 (name "ghc-clock-bootstrap")
4792 (arguments '(#:tests? #f))
4794 (properties '((hidden? #t)))))
4796 (define-public ghc-charset
4798 (name "ghc-charset")
4804 "https://hackage.haskell.org/package/charset/charset-"
4809 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
4810 (build-system haskell-build-system)
4812 `(("ghc-semigroups" ,ghc-semigroups)
4813 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4814 (home-page "https://github.com/ekmett/charset")
4815 (synopsis "Fast unicode character sets for Haskell")
4816 (description "This package provides fast unicode character sets for
4817 Haskell, based on complemented PATRICIA tries.")
4818 (license license:bsd-3)))
4820 (define-public ghc-bytestring-builder
4822 (name "ghc-bytestring-builder")
4823 (version "0.10.8.1.0")
4828 "https://hackage.haskell.org/package/bytestring-builder"
4829 "/bytestring-builder-" version ".tar.gz"))
4832 "1hnvjac28y44yn78c9vdp1zvrknvlw98ky3g4n5vivr16rvh8x3d"))))
4833 (build-system haskell-build-system)
4834 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4835 (home-page "https://hackage.haskell.org/package/bytestring-builder")
4836 (synopsis "The new bytestring builder, packaged outside of GHC")
4837 (description "This package provides the bytestring builder that is
4838 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
4839 Compatibility package for older packages.")
4840 (license license:bsd-3)))
4842 (define-public ghc-nats
4850 "https://hackage.haskell.org/package/nats/nats-"
4855 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
4856 (build-system haskell-build-system)
4857 (arguments `(#:haddock? #f))
4859 `(("ghc-hashable" ,ghc-hashable)))
4860 (home-page "https://hackage.haskell.org/package/nats")
4861 (synopsis "Natural numbers")
4862 (description "This library provides the natural numbers for Haskell.")
4863 (license license:bsd-3)))
4865 (define-public ghc-nats-bootstrap
4868 (name "ghc-nats-bootstrap")
4870 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
4871 (properties '((hidden? #t)))))
4873 (define-public ghc-void
4881 "https://hackage.haskell.org/package/void/void-"
4886 "0aygw0yb1h3yhmfl3bkwh5d3h0l4mmsxz7j53vdm6jryl1kgxzyk"))))
4887 (build-system haskell-build-system)
4889 `(("ghc-semigroups" ,ghc-semigroups)
4890 ("ghc-hashable" ,ghc-hashable)))
4891 (home-page "https://github.com/ekmett/void")
4893 "Logically uninhabited data type")
4895 "A Haskell 98 logically uninhabited data type, used to indicate that a
4896 given term should not exist.")
4897 (license license:bsd-3)))
4899 (define-public ghc-invariant
4901 (name "ghc-invariant")
4907 "https://hackage.haskell.org/package/invariant/invariant-"
4911 "0aqj7z55632qdg45074kgn9qfdxzb0a2f8lgjzr0l0i4mm2rr37b"))))
4912 (build-system haskell-build-system)
4914 `(("ghc-bifunctors" ,ghc-bifunctors)
4915 ("ghc-comonad" ,ghc-comonad)
4916 ("ghc-contravariant" ,ghc-contravariant)
4917 ("ghc-profunctors" ,ghc-profunctors)
4918 ("ghc-semigroups" ,ghc-semigroups)
4919 ("ghc-statevar" ,ghc-statevar)
4920 ("ghc-tagged" ,ghc-tagged)
4921 ("ghc-th-abstraction" ,ghc-th-abstraction)
4922 ("ghc-transformers-compat" ,ghc-transformers-compat)
4923 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4925 `(("ghc-hspec" ,ghc-hspec)
4926 ("ghc-quickcheck" ,ghc-quickcheck)
4927 ("hspec-discover" ,hspec-discover)))
4928 (home-page "https://github.com/nfrisby/invariant-functors")
4929 (synopsis "Haskell98 invariant functors")
4930 (description "Haskell98 invariant functors (also known as exponential
4931 functors). For more information, see Edward Kmett's article
4932 @uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.")
4933 (license license:bsd-2)))
4935 (define-public ghc-kan-extensions
4937 (name "ghc-kan-extensions")
4943 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
4948 "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb"))))
4949 (build-system haskell-build-system)
4951 `(("ghc-adjunctions" ,ghc-adjunctions)
4952 ("ghc-comonad" ,ghc-comonad)
4953 ("ghc-contravariant" ,ghc-contravariant)
4954 ("ghc-distributive" ,ghc-distributive)
4955 ("ghc-free" ,ghc-free)
4956 ("ghc-invariant" ,ghc-invariant)
4957 ("ghc-semigroupoids" ,ghc-semigroupoids)
4958 ("ghc-tagged" ,ghc-tagged)
4959 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4960 (home-page "https://github.com/ekmett/kan-extensions/")
4961 (synopsis "Kan extensions library")
4962 (description "This library provides Kan extensions, Kan lifts, various
4963 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
4964 (license license:bsd-3)))
4966 (define-public ghc-call-stack
4968 (name "ghc-call-stack")
4973 (uri (string-append "https://hackage.haskell.org/package/"
4974 "call-stack/call-stack-"
4978 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
4979 (build-system haskell-build-system)
4980 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
4981 (home-page "https://github.com/sol/call-stack#readme")
4982 (synopsis "Use GHC call-stacks in a backward compatible way")
4983 (description "This package provides a compatibility layer for using GHC
4984 call stacks with different versions of the compiler.")
4985 (license license:expat)))
4987 ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
4988 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
4989 (define-public ghc-call-stack-boot
4992 (inherit ghc-call-stack)
4993 (arguments '(#:tests? #f))
4996 (define-public ghc-statevar
4998 (name "ghc-statevar")
5004 "https://hackage.haskell.org/package/StateVar/StateVar-"
5009 "08r2iw0gdmfs4f6wraaq19vfmkjdbics3dbhw39y7mdjd98kcr7b"))))
5010 (build-system haskell-build-system)
5011 (home-page "https://hackage.haskell.org/package/StateVar")
5012 (synopsis "State variables for Haskell")
5013 (description "This package provides state variables, which are references
5014 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
5015 (license license:bsd-3)))
5017 (define-public ghc-lens
5024 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
5028 "1im4drhbydbawd6i0jsrzpqihnmx4ywpkg7yg94ddwsw3mxwkgpm"))))
5029 (build-system haskell-build-system)
5032 ("2" "11h83lj5mba4grhz1qx3irz10ysm9c3k7k6i6xv2cr60q8xin3ri")))
5034 `(("ghc-base-orphans" ,ghc-base-orphans)
5035 ("ghc-bifunctors" ,ghc-bifunctors)
5036 ("ghc-distributive" ,ghc-distributive)
5037 ("ghc-exceptions" ,ghc-exceptions)
5038 ("ghc-free" ,ghc-free)
5039 ("ghc-kan-extensions" ,ghc-kan-extensions)
5040 ("ghc-parallel" ,ghc-parallel)
5041 ("ghc-reflection" ,ghc-reflection)
5042 ("ghc-semigroupoids" ,ghc-semigroupoids)
5043 ("ghc-vector" ,ghc-vector)
5044 ("ghc-call-stack" ,ghc-call-stack)
5045 ("ghc-comonad" ,ghc-comonad)
5046 ("ghc-contravariant" ,ghc-contravariant)
5047 ("ghc-hashable" ,ghc-hashable)
5048 ("ghc-profunctors" ,ghc-profunctors)
5049 ("ghc-semigroups" ,ghc-semigroups)
5050 ("ghc-tagged" ,ghc-tagged)
5051 ("ghc-transformers-compat" ,ghc-transformers-compat)
5052 ("ghc-unordered-containers" ,ghc-unordered-containers)
5053 ("ghc-void" ,ghc-void)
5054 ("ghc-generic-deriving" ,ghc-generic-deriving)
5055 ("ghc-nats" ,ghc-nats)
5056 ("ghc-simple-reflect" ,ghc-simple-reflect)
5059 `(("cabal-doctest" ,cabal-doctest)
5060 ("ghc-doctest" ,ghc-doctest)
5061 ("ghc-hunit" ,ghc-hunit)
5062 ("ghc-test-framework" ,ghc-test-framework)
5063 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5064 ("ghc-test-framework-th" ,ghc-test-framework-th)
5065 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5066 ("ghc-quickcheck" ,ghc-quickcheck)))
5067 (home-page "https://github.com/ekmett/lens/")
5068 (synopsis "Lenses, Folds and Traversals")
5069 (description "This library provides @code{Control.Lens}. The combinators
5070 in @code{Control.Lens} provide a highly generic toolbox for composing families
5071 of getters, folds, isomorphisms, traversals, setters and lenses and their
5073 (license license:bsd-3)))
5075 (define-public ghc-cheapskate
5077 (name "ghc-cheapskate")
5083 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
5088 "1hiqi7h76shjzs2zj0j8g6wnq2hbiq1hmfafdazr97fba2zl2432"))))
5089 (build-system haskell-build-system)
5091 `(("ghc-blaze-html" ,ghc-blaze-html)
5092 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
5093 ("ghc-data-default" ,ghc-data-default)
5094 ("ghc-syb" ,ghc-syb)
5095 ("ghc-uniplate" ,ghc-uniplate)))
5096 (home-page "https://github.com/jgm/cheapskate")
5097 (synopsis "Experimental markdown processor")
5098 (description "Cheapskate is an experimental Markdown processor in pure
5099 Haskell. It aims to process Markdown efficiently and in the most forgiving
5100 possible way. It is designed to deal with any input, including garbage, with
5101 linear performance. Output is sanitized by default for protection against
5102 cross-site scripting (@dfn{XSS}) attacks.")
5103 (license license:bsd-3)))
5105 (define-public ghc-bifunctors
5107 (name "ghc-bifunctors")
5113 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
5118 "1jn9rxg643xnlhrknmjz88nblcpsr45xwjkwwnn5nxpasa7m4d6l"))))
5119 (build-system haskell-build-system)
5121 `(("ghc-base-orphans" ,ghc-base-orphans)
5122 ("ghc-comonad" ,ghc-comonad)
5123 ("ghc-th-abstraction" ,ghc-th-abstraction)
5124 ("ghc-transformers-compat" ,ghc-transformers-compat)
5125 ("ghc-tagged" ,ghc-tagged)
5126 ("ghc-semigroups" ,ghc-semigroups)))
5128 `(("ghc-hspec" ,ghc-hspec)
5129 ("hspec-discover" ,hspec-discover)
5130 ("ghc-quickcheck" ,ghc-quickcheck)))
5131 (home-page "https://github.com/ekmett/bifunctors/")
5132 (synopsis "Bifunctors for Haskell")
5133 (description "This package provides bifunctors for Haskell.")
5134 (license license:bsd-3)))
5136 (define-public ghc-semigroupoids
5138 (name "ghc-semigroupoids")
5144 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
5149 "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4"))))
5150 (build-system haskell-build-system)
5153 ("4" "0pqfrxzypjq6z8lgdkzq4vhcyqkpk5326hny0r6snpc3gm78r4ij")))
5155 `(("ghc-base-orphans" ,ghc-base-orphans)
5156 ("ghc-transformers-compat" ,ghc-transformers-compat)
5157 ("ghc-bifunctors" ,ghc-bifunctors)
5158 ("ghc-comonad" ,ghc-comonad)
5159 ("ghc-contravariant" ,ghc-contravariant)
5160 ("ghc-distributive" ,ghc-distributive)
5161 ("ghc-hashable" ,ghc-hashable)
5162 ("ghc-semigroups" ,ghc-semigroups)
5163 ("ghc-tagged" ,ghc-tagged)
5164 ("ghc-unordered-containers" ,ghc-unordered-containers)))
5166 `(("cabal-doctest" ,cabal-doctest)
5167 ("ghc-doctest" ,ghc-doctest)))
5168 (home-page "https://github.com/ekmett/semigroupoids")
5169 (synopsis "Semigroupoids operations for Haskell")
5170 (description "This library provides a wide array of (semi)groupoids and
5171 operations for working with them. A @code{Semigroupoid} is a @code{Category}
5172 without the requirement of identity arrows for every object in the category.
5173 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
5174 Finally, to work with these weaker structures it is beneficial to have
5175 containers that can provide stronger guarantees about their contents, so
5176 versions of @code{Traversable} and @code{Foldable} that can be folded with
5177 just a @code{Semigroup} are added.")
5178 (license license:bsd-3)))
5180 (define-public ghc-contravariant
5182 (name "ghc-contravariant")
5188 "https://hackage.haskell.org/package/contravariant/contravariant-"
5193 "1vfhk8c5cxmmakx7rflap1ipkx5q0j5vnlrcz7yz6y53kxhksgf9"))))
5194 (build-system haskell-build-system)
5196 `(("ghc-void" ,ghc-void)
5197 ("ghc-transformers-compat" ,ghc-transformers-compat)
5198 ("ghc-statevar" ,ghc-statevar)
5199 ("ghc-semigroups" ,ghc-semigroups)))
5201 "https://github.com/ekmett/contravariant/")
5202 (synopsis "Contravariant functors")
5203 (description "Contravariant functors for Haskell.")
5204 (license license:bsd-3)))
5206 (define-public ghc-semigroups
5208 (name "ghc-semigroups")
5214 "https://hackage.haskell.org/package/semigroups/semigroups-"
5219 "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb"))))
5220 (build-system haskell-build-system)
5222 `(("ghc-nats" ,ghc-nats)
5223 ("ghc-tagged" ,ghc-tagged)
5224 ("ghc-unordered-containers" ,ghc-unordered-containers)
5225 ("ghc-hashable" ,ghc-hashable)))
5226 (home-page "https://github.com/ekmett/semigroups/")
5227 (synopsis "Semigroup operations for Haskell")
5228 (description "This package provides semigroups for Haskell. In
5229 mathematics, a semigroup is an algebraic structure consisting of a set
5230 together with an associative binary operation. A semigroup generalizes a
5231 monoid in that there might not exist an identity element. It
5232 also (originally) generalized a group (a monoid with all inverses) to a type
5233 where every element did not have to have an inverse, thus the name
5235 (license license:bsd-3)))
5237 (define-public ghc-semigroups-bootstrap
5239 (inherit ghc-semigroups)
5240 (name "ghc-semigroups-bootstrap")
5242 `(("ghc-nats" ,ghc-nats-bootstrap)
5243 ("ghc-tagged" ,ghc-tagged)
5244 ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap)
5245 ("ghc-hashable" ,ghc-hashable-bootstrap)))
5246 (properties '(hidden? #t))))
5248 (define-public ghc-free
5256 "https://hackage.haskell.org/package/free/free-"
5261 "15m3n9vhz7z3kzv1w3wlfa3x8jp4cbrkwmrcjr7jlx39iqffn1gg"))))
5262 (build-system haskell-build-system)
5264 `(("ghc-prelude-extras" ,ghc-prelude-extras)
5265 ("ghc-profunctors" ,ghc-profunctors)
5266 ("ghc-exceptions" ,ghc-exceptions)
5267 ("ghc-bifunctors" ,ghc-bifunctors)
5268 ("ghc-comonad" ,ghc-comonad)
5269 ("ghc-distributive" ,ghc-distributive)
5270 ("ghc-semigroupoids" ,ghc-semigroupoids)
5271 ("ghc-semigroups" ,ghc-semigroups)
5272 ("ghc-transformers-base" ,ghc-transformers-base)
5273 ("ghc-transformers-compat" ,ghc-transformers-compat)))
5274 (home-page "https://github.com/ekmett/free/")
5275 (synopsis "Unrestricted monads for Haskell")
5276 (description "This library provides free monads, which are useful for many
5277 tree-like structures and domain specific languages. If @code{f} is a
5278 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
5279 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
5280 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
5281 f} makes no constraining assumptions beyond those given by @code{f} and the
5282 definition of @code{Monad}.")
5283 (license license:bsd-3)))
5285 (define-public ghc-adjunctions
5287 (name "ghc-adjunctions")
5293 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
5298 "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h"))))
5299 (build-system haskell-build-system)
5301 `(("ghc-profunctors" ,ghc-profunctors)
5302 ("ghc-comonad" ,ghc-comonad)
5303 ("ghc-contravariant" ,ghc-contravariant)
5304 ("ghc-distributive" ,ghc-distributive)
5305 ("ghc-free" ,ghc-free)
5306 ("ghc-tagged" ,ghc-tagged)
5307 ("ghc-semigroupoids" ,ghc-semigroupoids)
5308 ("ghc-semigroups" ,ghc-semigroups)
5309 ("ghc-transformers-compat" ,ghc-transformers-compat)
5310 ("ghc-void" ,ghc-void)))
5312 `(("ghc-generic-deriving" ,ghc-generic-deriving)
5313 ("ghc-hspec" ,ghc-hspec)
5314 ("hspec-discover" ,hspec-discover)))
5315 (home-page "https://github.com/ekmett/adjunctions/")
5316 (synopsis "Adjunctions and representable functors")
5317 (description "This library provides adjunctions and representable functors
5319 (license license:bsd-3)))
5321 (define-public ghc-equivalence
5323 (name "ghc-equivalence")
5328 (uri (string-append "https://hackage.haskell.org/package/equivalence"
5329 "/equivalence-" version ".tar.gz"))
5331 (base32 "0a85bdyyvjqs5z4kfhhf758210k9gi9dv42ik66a3jl0z7aix8kx"))))
5332 (build-system haskell-build-system)
5334 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
5335 ("ghc-transformers-compat" ,ghc-transformers-compat)
5336 ("ghc-quickcheck" ,ghc-quickcheck)
5337 ("ghc-test-framework" ,ghc-test-framework)
5338 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5339 (home-page "https://github.com/pa-ba/equivalence")
5340 (synopsis "Maintaining an equivalence relation implemented as union-find")
5342 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
5343 Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
5344 22(2), 1975) in order to maintain an equivalence relation. This
5345 implementation is a port of the @code{union-find} package using the @code{ST}
5346 monad transformer (instead of the IO monad).")
5347 (license license:bsd-3)))
5349 (define-public ghc-fast-logger
5351 (name "ghc-fast-logger")
5357 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
5362 "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv"))))
5363 (build-system haskell-build-system)
5365 `(("ghc-auto-update" ,ghc-auto-update)
5366 ("ghc-easy-file" ,ghc-easy-file)
5367 ("ghc-unix-time" ,ghc-unix-time)))
5369 `(("hspec-discover" ,hspec-discover)
5370 ("ghc-hspec" ,ghc-hspec)))
5371 (home-page "https://hackage.haskell.org/package/fast-logger")
5372 (synopsis "Fast logging system")
5373 (description "This library provides a fast logging system for Haskell.")
5374 (license license:bsd-3)))
5376 (define-public ghc-doctest
5378 (name "ghc-doctest")
5384 "https://hackage.haskell.org/package/doctest/doctest-"
5389 "0hkccch65s3kp0b36h7bqhilnpi4bx8kngncm7ma9vbd3dwacjdv"))))
5390 (build-system haskell-build-system)
5391 (arguments `(#:tests? #f)) ; FIXME: missing test framework
5393 `(("ghc-syb" ,ghc-syb)
5394 ("ghc-paths" ,ghc-paths)
5395 ("ghc-base-compat" ,ghc-base-compat)
5396 ("ghc-code-page" ,ghc-code-page)
5397 ("ghc-hunit" ,ghc-hunit)
5398 ("ghc-hspec" ,ghc-hspec)
5399 ("ghc-quickcheck" ,ghc-quickcheck)
5400 ("ghc-stringbuilder" ,ghc-stringbuilder)
5401 ("ghc-silently" ,ghc-silently)
5402 ("ghc-setenv" ,ghc-setenv)))
5404 "https://github.com/sol/doctest#readme")
5405 (synopsis "Test interactive Haskell examples")
5406 (description "The doctest program checks examples in source code comments.
5407 It is modeled after doctest for Python, see
5408 @uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
5409 (license license:expat)))
5411 (define-public ghc-lifted-base
5413 (name "ghc-lifted-base")
5414 (version "0.2.3.12")
5419 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
5424 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
5425 (build-system haskell-build-system)
5426 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
5428 `(("ghc-transformers-base" ,ghc-transformers-base)
5429 ("ghc-monad-control" ,ghc-monad-control)
5430 ("ghc-transformers-compat" ,ghc-transformers-compat)
5431 ("ghc-hunit" ,ghc-hunit)))
5432 (home-page "https://github.com/basvandijk/lifted-base")
5433 (synopsis "Lifted IO operations from the base library")
5434 (description "Lifted-base exports IO operations from the @code{base}
5435 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
5436 Note that not all modules from @code{base} are converted yet. The package
5437 includes a copy of the @code{monad-peel} test suite written by Anders
5439 (license license:bsd-3)))
5441 (define-public ghc-word8
5449 "https://hackage.haskell.org/package/word8/word8-"
5454 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
5455 (build-system haskell-build-system)
5457 `(("ghc-hspec" ,ghc-hspec)
5458 ("hspec-discover" ,hspec-discover)))
5459 (home-page "https://hackage.haskell.org/package/word8")
5460 (synopsis "Word8 library for Haskell")
5461 (description "Word8 library to be used with @code{Data.ByteString}.")
5462 (license license:bsd-3)))
5464 (define-public ghc-stringsearch
5466 (name "ghc-stringsearch")
5472 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
5477 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
5478 (build-system haskell-build-system)
5479 (home-page "https://bitbucket.org/dafis/stringsearch")
5480 (synopsis "Fast searching, splitting and replacing of ByteStrings")
5481 (description "This package provides several functions to quickly search
5482 for substrings in strict or lazy @code{ByteStrings}. It also provides
5483 functions for breaking or splitting on substrings and replacing all
5484 occurrences of a substring (the first in case of overlaps) with another.")
5485 (license license:bsd-3)))
5487 (define-public ghc-integer-logarithms
5489 (name "ghc-integer-logarithms")
5494 (uri (string-append "https://hackage.haskell.org/package/"
5495 "integer-logarithms/integer-logarithms-"
5499 "1wj8kgjg5bn2yrs4zh9qfjv85cx6w998j9pi39yrbv305944mb9j"))))
5500 (build-system haskell-build-system)
5503 (modify-phases %standard-phases
5504 (add-before 'configure 'update-constraints
5506 (substitute* "integer-logarithms.cabal"
5507 (("tasty >= 0\\.10 && < 1\\.1")
5508 "tasty >= 0.10 && < 1.2")))))))
5510 `(("ghc-quickcheck" ,ghc-quickcheck)
5511 ("ghc-smallcheck" ,ghc-smallcheck)
5512 ("ghc-tasty" ,ghc-tasty)
5513 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5514 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5515 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
5516 (home-page "https://github.com/Bodigrim/integer-logarithms")
5517 (synopsis "Integer logarithms")
5519 "This package provides the following modules:
5520 @code{Math.NumberTheory.Logarithms} and
5521 @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
5522 @code{GHC.Integer.Logarithms.Compat} and
5523 @code{Math.NumberTheory.Power.Natural}, as well as some additional functions
5524 in migrated modules.")
5525 (license license:expat)))
5527 (define-public ghc-integer-logarithms-bootstrap
5529 (inherit ghc-integer-logarithms)
5530 (name "ghc-integer-logarithms-bootstrap")
5531 (arguments `(#:tests? #f))
5533 (properties '(hidden? #t))))
5535 (define-public ghc-scientific
5537 (name "ghc-scientific")
5543 "https://hackage.haskell.org/package/scientific/scientific-"
5548 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
5549 (build-system haskell-build-system)
5551 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
5552 ("ghc-hashable" ,ghc-hashable)
5553 ("ghc-primitive" ,ghc-primitive)))
5555 `(("ghc-tasty" ,ghc-tasty)
5556 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
5557 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5558 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5559 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5560 ("ghc-smallcheck" ,ghc-smallcheck)
5561 ("ghc-quickcheck" ,ghc-quickcheck)))
5562 (home-page "https://github.com/basvandijk/scientific")
5563 (synopsis "Numbers represented using scientific notation")
5564 (description "This package provides @code{Data.Scientific}, which provides
5565 the number type @code{Scientific}. Scientific numbers are arbitrary precision
5566 and space efficient. They are represented using
5567 @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
5569 (license license:bsd-3)))
5571 (define-public ghc-scientific-bootstrap
5573 (inherit ghc-scientific)
5574 (name "ghc-scientific-bootstrap")
5575 (arguments `(#:tests? #f))
5577 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
5578 ("ghc-hashable" ,ghc-hashable)
5579 ("ghc-primitive" ,ghc-primitive)))
5581 (properties '(hidden? #t))))
5583 (define-public ghc-boxes
5590 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
5593 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
5594 (build-system haskell-build-system)
5596 `(("ghc-split" ,ghc-split)
5597 ("ghc-quickcheck" ,ghc-quickcheck)))
5598 (home-page "https://hackage.haskell.org/package/boxes")
5599 (synopsis "2D text pretty-printing library")
5601 "Boxes is a pretty-printing library for laying out text in two dimensions,
5602 using a simple box model.")
5603 (license license:bsd-3)))
5605 (define-public ghc-deepseq-generics
5607 (name "ghc-deepseq-generics")
5611 (uri (string-append "https://hackage.haskell.org/package/"
5612 "deepseq-generics/deepseq-generics-"
5616 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
5617 (build-system haskell-build-system)
5620 ("2" "1pnidf8w8x0w5fsqgv8hhrw07slmhxwy5x4fikgk0bd6k76aqicb")))
5622 `(("ghc-hunit" ,ghc-hunit)
5623 ("ghc-test-framework" ,ghc-test-framework)
5624 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5625 (home-page "https://github.com/hvr/deepseq-generics")
5626 (synopsis "Generic RNF implementation")
5628 "This package provides a @code{GHC.Generics}-based
5629 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
5630 providing an @code{rnf} implementation.")
5631 (license license:bsd-3)))
5633 (define-public ghc-string-qq
5635 (name "ghc-string-qq")
5641 "https://hackage.haskell.org/package/string-qq/string-qq-"
5646 "0662m3i5xrdrr95w829bszkhp88mj9iy1zya54vk2sl5hz9wlmwp"))))
5647 (build-system haskell-build-system)
5648 (home-page "http://hackage.haskell.org/package/string-qq")
5650 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
5652 "This package provides a quasiquoter for non-interpolated strings, texts
5654 (license license:public-domain)))
5656 (define-public ghc-pandoc-types
5658 (name "ghc-pandoc-types")
5659 (version "1.17.5.1")
5662 (uri (string-append "https://hackage.haskell.org/package/"
5663 "pandoc-types/pandoc-types-"
5667 "1q6v2bynij724fv347mhqxdscwifzrx5jb9mq80608qf638fn717"))))
5668 (build-system haskell-build-system)
5670 `(("ghc-syb" ,ghc-syb)
5671 ("ghc-aeson" ,ghc-aeson)
5672 ("ghc-string-qq" ,ghc-string-qq)))
5674 `(("ghc-quickcheck" ,ghc-quickcheck)
5675 ("ghc-test-framework" ,ghc-test-framework)
5676 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5677 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5678 ("ghc-hunit" ,ghc-hunit)))
5679 (home-page "http://johnmacfarlane.net/pandoc")
5680 (synopsis "Types for representing a structured document")
5682 "This module defines the @code{Pandoc} data structure, which is used by
5683 pandoc to represent structured documents. It also provides functions for
5684 building up, manipulating and serialising @code{Pandoc} structures.")
5685 (license license:bsd-3)))
5687 (define-public ghc-texmath
5689 (name "ghc-texmath")
5690 (version "0.11.0.1")
5693 (uri (string-append "https://hackage.haskell.org/package/"
5694 "texmath/texmath-" version ".tar.gz"))
5697 "11dc09hfnyfsz20ch2c867w0zdgjkzq41506lm61i3dk87ngdisf"))))
5698 (build-system haskell-build-system)
5700 `(("ghc-syb" ,ghc-syb)
5701 ("ghc-network-uri" ,ghc-network-uri)
5702 ("ghc-split" ,ghc-split)
5703 ("ghc-temporary" ,ghc-temporary)
5704 ("ghc-utf8-string" ,ghc-utf8-string)
5705 ("ghc-xml" ,ghc-xml)
5706 ("ghc-pandoc-types" ,ghc-pandoc-types)))
5707 (home-page "https://github.com/jgm/texmath")
5708 (synopsis "Conversion between formats used to represent mathematics")
5710 "The texmath library provides functions to read and write TeX math,
5711 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
5712 Office). Support is also included for converting math formats to pandoc's
5713 native format (allowing conversion, via pandoc, to a variety of different
5714 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
5715 it can parse and apply LaTeX macros.")
5716 (license license:gpl2+)))
5718 (define-public ghc-regex-pcre-builtin
5720 (name "ghc-regex-pcre-builtin")
5721 (version "0.94.4.8.8.35")
5724 (uri (string-append "https://hackage.haskell.org/package/"
5725 "regex-pcre-builtin/regex-pcre-builtin-"
5729 "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b"))))
5730 (build-system haskell-build-system)
5732 `(("ghc-regex-base" ,ghc-regex-base)))
5733 (home-page "https://hackage.haskell.org/package/regex-pcre")
5734 (synopsis "Enhancement of the builtin Text.Regex library")
5736 "This package is an enhancement of the @code{Text.Regex} library,
5737 providing the PCRE backend to accompany regex-base, with bundled code from
5738 @url{https://www.pcre.org}.")
5739 (license license:bsd-3)))
5741 (define-public ghc-diff
5747 (uri (string-append "https://hackage.haskell.org/package/"
5748 "Diff/Diff-" version ".tar.gz"))
5751 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
5752 (build-system haskell-build-system)
5754 `(("ghc-quickcheck" ,ghc-quickcheck)
5755 ("ghc-test-framework" ,ghc-test-framework)
5756 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5757 (home-page "https://hub.darcs.net/sterlingclover/Diff")
5758 (synopsis "O(ND) diff algorithm in Haskell")
5760 "This package provides an implementation of the standard diff algorithm,
5761 and utilities for pretty printing.")
5762 (license license:bsd-3)))
5764 (define-public ghc-highlighting-kate
5766 (name "ghc-highlighting-kate")
5770 (uri (string-append "https://hackage.haskell.org/package/"
5771 "highlighting-kate/highlighting-kate-"
5775 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
5776 (build-system haskell-build-system)
5778 `(("ghc-diff" ,ghc-diff)
5779 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5781 `(("ghc-blaze-html" ,ghc-blaze-html)
5782 ("ghc-utf8-string" ,ghc-utf8-string)))
5783 (home-page "https://github.com/jgm/highlighting-kate")
5784 (synopsis "Syntax highlighting library")
5786 "Highlighting-kate is a syntax highlighting library with support for
5787 nearly one hundred languages. The syntax parsers are automatically generated
5788 from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5789 supported by Kate can be added. An (optional) command-line program is
5790 provided, along with a utility for generating new parsers from Kate XML syntax
5792 (license license:gpl2+)))
5794 (define-public ghc-cmark
5800 ;; XXX As of version 0.5.6, this package bundles libcmark 0.28.0.
5801 ;; See cbits/cmark_version.h.
5802 (uri (string-append "https://hackage.haskell.org/package/"
5803 "cmark/cmark-" version ".tar.gz"))
5806 "1c1j3a8b9qx5zk9myqm3gap8ymz7fipwrdmyfsq9wkkdr9x4np45"))))
5807 (build-system haskell-build-system)
5809 `(("ghc-hunit" ,ghc-hunit)))
5810 (home-page "https://github.com/jgm/commonmark-hs")
5811 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
5813 "This package provides Haskell bindings for
5814 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
5815 CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
5816 sources, and does not require prior installation of the C library.")
5817 (license license:bsd-3)))
5819 (define-public ghc-cmark-gfm
5821 (name "ghc-cmark-gfm")
5826 (uri (string-append "https://hackage.haskell.org/package/"
5827 "cmark-gfm/cmark-gfm-"
5831 "13b0mqks5c1q989slgsa3ixr5vvkfyic4ynzgv00kgl5qrs7hqk7"))))
5832 (build-system haskell-build-system)
5834 `(("ghc-hunit" ,ghc-hunit)))
5835 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
5837 "Fast, accurate GitHub Flavored Markdown parser and renderer")
5839 "This package provides Haskell bindings for libcmark-gfm, the reference
5840 parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
5841 It includes sources for libcmark-gfm and does not require prior installation
5843 (license license:bsd-3)))
5845 (define-public ghc-executable-path
5847 (name "ghc-executable-path")
5851 (uri (string-append "https://hackage.haskell.org/package/"
5852 "executable-path/executable-path-"
5856 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
5857 (build-system haskell-build-system)
5858 (home-page "https://hackage.haskell.org/package/executable-path")
5859 (synopsis "Find out the full path of the executable")
5861 "The documentation of @code{System.Environment.getProgName} says that
5862 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
5863 instead, for maximum portability, we just return the leafname of the program
5864 as invoked.\" This library tries to provide the missing path.")
5865 (license license:public-domain)))
5867 (define-public ghc-enclosed-exceptions
5869 (name "ghc-enclosed-exceptions")
5873 (uri (string-append "https://hackage.haskell.org/package/"
5874 "enclosed-exceptions/enclosed-exceptions-"
5878 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
5879 (build-system haskell-build-system)
5880 ;; FIXME: one of the tests blocks forever:
5881 ;; "thread blocked indefinitely in an MVar operation"
5882 (arguments '(#:tests? #f))
5884 `(("ghc-lifted-base" ,ghc-lifted-base)
5885 ("ghc-monad-control" ,ghc-monad-control)
5886 ("ghc-async" ,ghc-async)
5887 ("ghc-transformers-base" ,ghc-transformers-base)))
5889 `(("ghc-hspec" ,ghc-hspec)
5890 ("ghc-quickcheck" ,ghc-quickcheck)))
5891 (home-page "https://github.com/jcristovao/enclosed-exceptions")
5892 (synopsis "Catch all exceptions from within an enclosed computation")
5894 "This library implements a technique to catch all exceptions raised
5895 within an enclosed computation, while remaining responsive to (external)
5896 asynchronous exceptions.")
5897 (license license:expat)))
5899 (define-public ghc-th-abstraction
5901 (name "ghc-th-abstraction")
5906 (uri (string-append "https://hackage.haskell.org/package/"
5907 "th-abstraction/th-abstraction-"
5911 "0n17w4q2ykd0nica4sck2wng6md56rfad8x0icl0l8vnzb9nn4ya"))))
5912 (build-system haskell-build-system)
5913 (home-page "https://github.com/glguy/th-abstraction")
5914 (synopsis "Nicer interface for reified information about data types")
5916 "This package normalizes variations in the interface for inspecting
5917 datatype information via Template Haskell so that packages and support a
5918 single, easier to use informational datatype while supporting many versions of
5920 (license license:isc)))
5922 (define-public ghc-th-lift
5924 (name "ghc-th-lift")
5928 (uri (string-append "https://hackage.haskell.org/package/"
5929 "th-lift/th-lift-" version ".tar.gz"))
5932 "131360zxb0hazbqwbkk6ab2p77jkxr79bwwm618mrwrwkm3x2g6m"))))
5933 (build-system haskell-build-system)
5935 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
5936 (home-page "https://github.com/mboes/th-lift")
5937 (synopsis "Derive Template Haskell's Lift class for datatypes")
5939 "This is a Haskell library to derive Template Haskell's Lift class for
5941 (license license:bsd-3)))
5943 (define-public ghc-th-lift-instances
5945 (name "ghc-th-lift-instances")
5950 (uri (string-append "https://hackage.haskell.org/package/"
5951 "th-lift-instances/th-lift-instances-"
5955 "1f56cp6ckcalld5jchv0kxpjkwcsixd7smd0g7r8cg67ppx6m90x"))))
5956 (build-system haskell-build-system)
5958 `(("ghc-th-lift" ,ghc-th-lift)
5959 ("ghc-vector" ,ghc-vector)
5960 ("ghc-quickcheck" ,ghc-quickcheck)))
5961 (home-page "https://github.com/bennofs/th-lift-instances/")
5962 (synopsis "Lift instances for template-haskell for common data types.")
5963 (description "Most data types in the Haskell platform do not have Lift
5964 instances. This package provides orphan instances for @code{containers},
5965 @code{text}, @code{bytestring} and @code{vector}.")
5966 (license license:bsd-3)))
5968 (define-public ghc-th-expand-syns
5970 (name "ghc-th-expand-syns")
5974 (uri (string-append "https://hackage.haskell.org/package/"
5975 "th-expand-syns/th-expand-syns-"
5979 "01prlvh3py5hq5ccjidfyp9ixq2zd88dkbsidyjrpkja6v8m43yc"))))
5980 (build-system haskell-build-system)
5982 `(("ghc-syb" ,ghc-syb)))
5983 (home-page "https://hackage.haskell.org/package/th-expand-syns")
5984 (synopsis "Expands type synonyms in Template Haskell ASTs")
5986 "This package enables users to expand type synonyms in Template Haskell
5987 @dfn{abstract syntax trees} (ASTs).")
5988 (license license:bsd-3)))
5990 (define-public ghc-th-reify-many
5992 (name "ghc-th-reify-many")
5996 (uri (string-append "https://hackage.haskell.org/package/"
5997 "th-reify-many/th-reify-many-"
6001 "0hzy6hvhvcd6i60vx5cp2b7ggmnnjh9rx4h8bm8xw4grglcaxjnf"))))
6002 (build-system haskell-build-system)
6004 `(("ghc-safe" ,ghc-safe)
6005 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
6006 (home-page "https://github.com/mgsloan/th-reify-many")
6007 (synopsis "Recurseively reify template haskell datatype info")
6009 "th-reify-many provides functions for recursively reifying top level
6010 declarations. The main intended use case is for enumerating the names of
6011 datatypes reachable from an initial datatype, and passing these names to some
6012 function which generates instances.")
6013 (license license:bsd-3)))
6015 (define-public ghc-th-orphans
6017 (name "ghc-th-orphans")
6021 (uri (string-append "https://hackage.haskell.org/package/"
6022 "th-orphans/th-orphans-" version ".tar.gz"))
6025 "0sfl3pn9kq9da3ji3lsgzgzy82vz6yvsg80dmakc1jvk7awycibp"))))
6026 (build-system haskell-build-system)
6028 `(("ghc-th-lift" ,ghc-th-lift)
6029 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
6030 ("ghc-th-reify-many" ,ghc-th-reify-many)
6031 ("ghc-generic-deriving" ,ghc-generic-deriving)))
6033 `(("ghc-hspec" ,ghc-hspec)))
6034 (home-page "https://hackage.haskell.org/package/th-orphans")
6035 (synopsis "Orphan instances for TH datatypes")
6037 "This package provides orphan instances for Template Haskell datatypes. In particular,
6038 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
6039 and @code{Eq} instances. These instances used to live in the haskell-src-meta
6040 package, and that's where the version number started.")
6041 (license license:bsd-3)))
6043 (define-public ghc-geniplate-mirror
6045 (name "ghc-geniplate-mirror")
6050 (uri (string-append "https://hackage.haskell.org/package"
6052 "/geniplate-mirror-" version ".tar.gz"))
6054 (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb"))))
6055 (build-system haskell-build-system)
6056 (home-page "https://github.com/danr/geniplate")
6057 (synopsis "Use Template Haskell to generate Uniplate-like functions")
6059 "Use Template Haskell to generate Uniplate-like functions. This is a
6060 maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
6061 geniplate} package, written by Lennart Augustsson.")
6062 (license license:bsd-3)))
6064 (define-public ghc-gitrev
6071 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
6074 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
6075 (build-system haskell-build-system)
6076 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
6077 (home-page "https://github.com/acfoltzer/gitrev")
6078 (synopsis "Compile git revision info into Haskell projects")
6080 "This package provides some handy Template Haskell splices for including
6081 the current git hash and branch in the code of your project. This is useful
6082 for including in panic messages, @command{--version} output, or diagnostic
6083 info for more informative bug reports.")
6084 (license license:bsd-3)))
6086 (define-public ghc-haskell-src-meta
6088 (name "ghc-haskell-src-meta")
6092 (uri (string-append "https://hackage.haskell.org/package/"
6093 "haskell-src-meta/haskell-src-meta-"
6097 "08jq156zv4m0fjq6712n99c1jwxnpa6kj6sq8ch0r1l0a1ay6ww4"))))
6098 (build-system haskell-build-system)
6100 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
6101 ("ghc-syb" ,ghc-syb)
6102 ("ghc-th-orphans" ,ghc-th-orphans)))
6104 `(("ghc-hunit" ,ghc-hunit)
6105 ("ghc-test-framework" ,ghc-test-framework)
6106 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
6107 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
6108 (synopsis "Parse source to template-haskell abstract syntax")
6110 "This package provides tools to parse Haskell sources to the
6111 template-haskell abstract syntax.")
6112 (license license:bsd-3)))
6114 (define-public ghc-conduit
6116 (name "ghc-conduit")
6120 (uri (string-append "https://hackage.haskell.org/package/"
6121 "conduit/conduit-" version ".tar.gz"))
6124 "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v"))))
6125 (build-system haskell-build-system)
6127 `(("ghc-exceptions" ,ghc-exceptions)
6128 ("ghc-lifted-base" ,ghc-lifted-base)
6129 ("ghc-mono-traversable" ,ghc-mono-traversable)
6130 ("ghc-mmorph" ,ghc-mmorph)
6131 ("ghc-resourcet" ,ghc-resourcet)
6132 ("ghc-silently" ,ghc-silently)
6133 ("ghc-transformers-base" ,ghc-transformers-base)
6134 ("ghc-unliftio" ,ghc-unliftio)
6135 ("ghc-unliftio-core" ,ghc-unliftio-core)
6136 ("ghc-vector" ,ghc-vector)
6137 ("ghc-void" ,ghc-void)))
6139 `(("ghc-quickcheck" ,ghc-quickcheck)
6140 ("ghc-hspec" ,ghc-hspec)
6141 ("ghc-safe" ,ghc-safe)
6142 ("ghc-split" ,ghc-split)))
6143 (home-page "https://github.com/snoyberg/conduit")
6144 (synopsis "Streaming data library ")
6146 "The conduit package is a solution to the streaming data problem,
6147 allowing for production, transformation, and consumption of streams of data
6148 in constant memory. It is an alternative to lazy I/O which guarantees
6149 deterministic resource handling, and fits in the same general solution
6150 space as enumerator/iteratee and pipes.")
6151 (license license:expat)))
6153 (define-public ghc-logging-facade
6155 (name "ghc-logging-facade")
6159 (uri (string-append "https://hackage.haskell.org/package/"
6160 "logging-facade/logging-facade-"
6164 "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf"))))
6165 (build-system haskell-build-system)
6167 `(("ghc-hspec" ,ghc-hspec)
6168 ("hspec-discover" ,hspec-discover)))
6169 (home-page "https://hackage.haskell.org/package/logging-facade")
6170 (synopsis "Simple logging abstraction that allows multiple back-ends")
6172 "This package provides a simple logging abstraction that allows multiple
6174 (license license:expat)))
6176 (define-public ghc-mockery
6178 (name "ghc-mockery")
6182 (uri (string-append "https://hackage.haskell.org/package/"
6183 "mockery/mockery-" version ".tar.gz"))
6186 "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp"))))
6187 (build-system haskell-build-system)
6189 `(("ghc-temporary" ,ghc-temporary)
6190 ("ghc-logging-facade" ,ghc-logging-facade)
6191 ("ghc-base-compat" ,ghc-base-compat)))
6193 `(("ghc-hspec" ,ghc-hspec)
6194 ("hspec-discover" ,hspec-discover)))
6195 (home-page "https://hackage.haskell.org/package/mockery")
6196 (synopsis "Support functions for automated testing")
6198 "The mockery package provides support functions for automated testing.")
6199 (license license:expat)))
6201 (define-public ghc-yaml
6207 (uri (string-append "https://hackage.haskell.org/package/"
6208 "yaml/yaml-" version ".tar.gz"))
6211 "0cbsyh4ilvjzq1q7pxls43k6pdqxg1l85xzibcwpbvmlvrizh86w"))))
6212 (build-system haskell-build-system)
6214 `(("ghc-conduit" ,ghc-conduit)
6215 ("ghc-resourcet" ,ghc-resourcet)
6216 ("ghc-aeson" ,ghc-aeson)
6217 ("ghc-unordered-containers" ,ghc-unordered-containers)
6218 ("ghc-vector" ,ghc-vector)
6219 ("ghc-attoparsec" ,ghc-attoparsec)
6220 ("ghc-scientific" ,ghc-scientific)
6221 ("ghc-semigroups" ,ghc-semigroups)
6222 ("ghc-temporary" ,ghc-temporary)
6223 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
6224 ("ghc-base-compat" ,ghc-base-compat)))
6226 `(("ghc-hspec" ,ghc-hspec)
6227 ("ghc-hunit" ,ghc-hunit)
6228 ("hspec-discover" ,hspec-discover)
6229 ("ghc-mockery" ,ghc-mockery)))
6230 (home-page "https://github.com/snoyberg/yaml/")
6231 (synopsis "Parsing and rendering YAML documents")
6233 "This package provides a library to parse and render YAML documents.")
6234 (license license:bsd-3)))
6236 (define-public ghc-filemanip
6238 (name "ghc-filemanip")
6242 (uri (string-append "https://hackage.haskell.org/package/"
6243 "filemanip/filemanip-" version ".tar.gz"))
6246 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
6247 (build-system haskell-build-system)
6249 `(("ghc-unix-compat" ,ghc-unix-compat)))
6250 (home-page "https://github.com/bos/filemanip")
6251 (synopsis "File and directory manipulation for Haskell")
6253 "This package provides a Haskell library for working with files and
6254 directories. It includes code for pattern matching, finding files, modifying
6255 file contents, and more.")
6256 (license license:bsd-3)))
6258 (define-public ghc-mmap
6264 (uri (string-append "https://hackage.haskell.org/package/"
6265 "mmap/mmap-" version ".tar.gz"))
6268 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
6269 (build-system haskell-build-system)
6270 (home-page "https://hackage.haskell.org/package/mmap")
6271 (synopsis "Memory mapped files for Haskell")
6273 "This library provides a wrapper to @code{mmap}, allowing files or
6274 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
6275 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
6276 do on-demand loading.")
6277 (license license:bsd-3)))
6279 (define-public ghc-juicypixels
6281 (name "ghc-juicypixels")
6285 (uri (string-append "https://hackage.haskell.org/package/"
6286 "JuicyPixels/JuicyPixels-"
6290 "0mf3ihr0xy2wc2wzb9a17g0n3p60x7pvm8akwpvhdy8klvs6r744"))))
6291 (build-system haskell-build-system)
6293 `(("ghc-zlib" ,ghc-zlib)
6294 ("ghc-vector" ,ghc-vector)
6295 ("ghc-primitive" ,ghc-primitive)
6296 ("ghc-mmap" ,ghc-mmap)))
6297 (home-page "https://github.com/Twinside/Juicy.Pixels")
6298 (synopsis "Picture loading and serialization library")
6300 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
6301 TIFF and GIF formats.")
6302 (license license:bsd-3)))
6304 (define-public ghc-hslua
6310 (uri (string-append "https://hackage.haskell.org/package/"
6311 "hslua/hslua-" version ".tar.gz"))
6314 "1rdvv01p214zfjh6fcqjjgqwi8y42wad6cqzhlcv5gvclzw2ck8f"))))
6315 (build-system haskell-build-system)
6317 `(#:configure-flags '("-fsystem-lua")))
6320 ("ghc-exceptions" ,ghc-exceptions)
6321 ("ghc-fail" ,ghc-fail)))
6323 `(("ghc-tasty" ,ghc-tasty)
6324 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
6325 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6326 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6327 ("ghc-quickcheck" ,ghc-quickcheck)
6328 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
6329 (home-page "https://hackage.haskell.org/package/hslua")
6330 (synopsis "Lua language interpreter embedding in Haskell")
6332 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
6333 described in @url{https://www.lua.org/}.")
6334 (license license:expat)))
6336 (define-public ghc-hslua-module-text
6338 (name "ghc-hslua-module-text")
6343 (uri (string-append "https://hackage.haskell.org/package/"
6344 "hslua-module-text/hslua-module-text-"
6348 "0bcfpb1dhnxp0gr376ai4w7vczr9zrjl1r3r6w7kcxivfkwq9cxf"))))
6349 (build-system haskell-build-system)
6352 ("1" "0vajlsd7y6pwa08635q0cx8z5c1c55bk7fvavw7g2vmyvxqjzx6n")))
6354 `(("ghc-hslua" ,ghc-hslua)))
6356 `(("ghc-tasty" ,ghc-tasty)
6357 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6358 (home-page "https://github.com/hslua/hslua-module-text")
6359 (synopsis "Lua module for text")
6361 "This package provides a UTF-8 aware subset of Lua's @code{string} module
6362 for Haskell. The functions provided by this module are @code{upper},
6363 @code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
6364 (license license:expat)))
6366 (define-public ghc-byteable
6368 (name "ghc-byteable")
6372 (uri (string-append "https://hackage.haskell.org/package/"
6373 "byteable/byteable-" version ".tar.gz"))
6376 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
6377 (build-system haskell-build-system)
6378 (home-page "https://github.com/vincenthz/hs-byteable")
6379 (synopsis "Type class for sequence of bytes")
6381 "This package provides an abstract class to manipulate sequence of bytes.
6382 The use case of this class is abstracting manipulation of types that are just
6383 wrapping a bytestring with stronger and more meaniful name.")
6384 (license license:bsd-3)))
6386 (define-public ghc-hourglass
6388 (name "ghc-hourglass")
6392 (uri (string-append "https://hackage.haskell.org/package/"
6393 "hourglass/hourglass-" version ".tar.gz"))
6396 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
6397 (build-system haskell-build-system)
6399 `(("ghc-old-locale" ,ghc-old-locale)))
6401 `(("ghc-tasty" ,ghc-tasty)
6402 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6403 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6404 (home-page "https://github.com/vincenthz/hs-hourglass")
6405 (synopsis "Simple time-related library for Haskell")
6407 "This is a simple time library providing a simple but powerful and
6408 performant API. The backbone of the library are the @code{Timeable} and
6409 @code{Time} type classes. Each @code{Timeable} instances can be converted to
6410 a type that has a @code{Time} instances, and thus are different
6411 representations of current time.")
6412 (license license:bsd-3)))
6414 (define-public ghc-edit-distance
6416 (name "ghc-edit-distance")
6421 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
6422 "/edit-distance-" version ".tar.gz"))
6424 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
6425 (build-system haskell-build-system)
6428 (modify-phases %standard-phases
6429 (add-before 'configure 'update-constraints
6431 (substitute* "edit-distance.cabal"
6432 (("QuickCheck >= 2\\.4 && <2\\.9")
6433 "QuickCheck >= 2.4 && < 2.12")))))))
6435 `(("ghc-random" ,ghc-random)
6436 ("ghc-test-framework" ,ghc-test-framework)
6437 ("ghc-quickcheck" ,ghc-quickcheck)
6438 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6439 (home-page "https://github.com/phadej/edit-distance")
6440 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
6442 "This package provides optimized functions to determine the edit
6443 distances for fuzzy matching, including Levenshtein and restricted
6444 Damerau-Levenshtein algorithms.")
6445 (license license:bsd-3)))
6447 (define-public ghc-memory
6453 (uri (string-append "https://hackage.haskell.org/package/"
6454 "memory/memory-" version ".tar.gz"))
6457 "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v"))))
6458 (build-system haskell-build-system)
6460 `(("ghc-basement" ,ghc-basement)
6461 ("ghc-foundation" ,ghc-foundation)))
6463 `(("ghc-tasty" ,ghc-tasty)
6464 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6465 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6466 (home-page "https://github.com/vincenthz/hs-memory")
6467 (synopsis "Memory abstractions for Haskell")
6469 "This package provides memory abstractions, such as chunk of memory,
6470 polymorphic byte array management and manipulation functions. It contains a
6471 polymorphic byte array abstraction and functions similar to strict ByteString,
6472 different type of byte array abstraction, raw memory IO operations (memory
6473 set, memory copy, ..) and more")
6474 (license license:bsd-3)))
6476 (define-public ghc-socks
6482 (uri (string-append "https://hackage.haskell.org/package/"
6483 "socks/socks-" version ".tar.gz"))
6486 "0f44qy74i0n6ll3jym0a2ipafkpw1h67amcpqmj8iq95h21wsqzs"))))
6487 (build-system haskell-build-system)
6489 `(("ghc-cereal" ,ghc-cereal)
6490 ("ghc-network" ,ghc-network)))
6491 (home-page "https://github.com/vincenthz/hs-socks")
6492 (synopsis "SOCKS proxy (version 5) implementation")
6494 "This library provides a SOCKS proxy (version 5) implementation.")
6495 (license license:bsd-3)))
6497 (define-public ghc-connection
6499 (name "ghc-connection")
6503 (uri (string-append "https://hackage.haskell.org/package/"
6504 "connection/connection-"
6508 "1swkb9w5vx9ph7x55y51dc0srj2z27nd9ibgn8c0qcl6hx7g9cbh"))))
6509 (build-system haskell-build-system)
6511 `(("ghc-byteable" ,ghc-byteable)
6512 ("ghc-data-default-class" ,ghc-data-default-class)
6513 ("ghc-network" ,ghc-network)
6514 ("ghc-tls" ,ghc-tls)
6515 ("ghc-socks" ,ghc-socks)
6516 ("ghc-x509" ,ghc-x509)
6517 ("ghc-x509-store" ,ghc-x509-store)
6518 ("ghc-x509-system" ,ghc-x509-system)
6519 ("ghc-x509-validation" ,ghc-x509-validation)))
6520 (home-page "https://github.com/vincenthz/hs-connection")
6521 (synopsis "Simple and easy network connections API")
6523 "This package provides a simple network library for all your connection
6524 needs. It provides a very simple API to create sockets to a destination with
6525 the choice of SSL/TLS, and SOCKS.")
6526 (license license:bsd-3)))
6528 (define-public ghc-skylighting-core
6530 (name "ghc-skylighting-core")
6534 (uri (string-append "https://hackage.haskell.org/package/"
6535 "skylighting-core/skylighting-core-"
6539 "066fwmwsd7xcvwlinfk2izlzq0xp8697i6lnbgsbl71jdybyackq"))))
6540 (build-system haskell-build-system)
6542 `(("ghc-aeson" ,ghc-aeson)
6543 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6544 ("ghc-attoparsec" ,ghc-attoparsec)
6545 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6546 ("ghc-blaze-html" ,ghc-blaze-html)
6547 ("ghc-case-insensitive" ,ghc-case-insensitive)
6548 ("ghc-colour" ,ghc-colour)
6549 ("ghc-hxt" ,ghc-hxt)
6550 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6551 ("ghc-safe" ,ghc-safe)
6552 ("ghc-utf8-string" ,ghc-utf8-string)))
6554 `(("ghc-diff" ,ghc-diff)
6555 ("ghc-hunit" ,ghc-hunit)
6556 ("ghc-pretty-show" ,ghc-pretty-show)
6557 ("ghc-quickcheck" ,ghc-quickcheck)
6558 ("ghc-tasty" ,ghc-tasty)
6559 ("ghc-tasty-golden" ,ghc-tasty-golden)
6560 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6561 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6562 (home-page "https://github.com/jgm/skylighting")
6563 (synopsis "Syntax highlighting library")
6564 (description "Skylighting is a syntax highlighting library with support
6565 for over one hundred languages. It derives its tokenizers from XML syntax
6566 definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
6567 supported by that framework can be added. An optional command-line program is
6568 provided. Skylighting is intended to be the successor to highlighting-kate.")
6569 (license license:gpl2)))
6571 (define-public ghc-skylighting
6573 (inherit ghc-skylighting-core)
6574 (name "ghc-skylighting")
6578 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
6579 version "/skylighting-" version ".tar.gz"))
6582 "1rh3z1a7a4clvksdw1qlpmhxqkfahwypi70k91whgfamzsqpxdch"))))
6584 `(("ghc-skylighting-core" ,ghc-skylighting-core)
6585 ,@(package-inputs ghc-skylighting-core)))))
6587 (define-public ghc-doctemplates
6589 (name "ghc-doctemplates")
6594 (uri (string-append "https://hackage.haskell.org/package/"
6595 "doctemplates/doctemplates-"
6599 "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b"))))
6600 (build-system haskell-build-system)
6602 `(("ghc-aeson" ,ghc-aeson)
6603 ("ghc-blaze-markup" ,ghc-blaze-markup)
6604 ("ghc-blaze-html" ,ghc-blaze-html)
6605 ("ghc-vector" ,ghc-vector)
6606 ("ghc-unordered-containers" ,ghc-unordered-containers)
6607 ("ghc-scientific" ,ghc-scientific)))
6609 `(("ghc-hspec" ,ghc-hspec)))
6610 (home-page "https://github.com/jgm/doctemplates#readme")
6611 (synopsis "Pandoc-style document templates")
6613 "This package provides a simple text templating system used by pandoc.")
6614 (license license:bsd-3)))
6616 (define-public ghc-pandoc
6623 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6627 "1dqin92w513l7whg5wdgrngnxsj5mb8gppfvn7kjgyv2pdgpy0zy"))))
6628 (build-system haskell-build-system)
6631 (modify-phases %standard-phases
6632 (add-before 'configure 'update-constraints
6634 (substitute* "pandoc.cabal"
6635 (("tasty >= 0\\.11 && < 1\\.1")
6636 "tasty >= 0.11 && < 1.1.1"))))
6637 (add-before 'configure 'patch-tests
6639 ;; These tests fail benignly and have been adjusted upstream:
6640 ;; <https://github.com/commercialhaskell/stackage/issues/3719>.
6641 (substitute* "test/Tests/Old.hs"
6642 (("lhsWriterTests \"html\"") "[]")))))))
6644 `(("ghc-aeson" ,ghc-aeson)
6645 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6646 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6647 ("ghc-blaze-html" ,ghc-blaze-html)
6648 ("ghc-blaze-markup" ,ghc-blaze-markup)
6649 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
6650 ("ghc-data-default" ,ghc-data-default)
6651 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6652 ("ghc-diff" ,ghc-diff)
6653 ("ghc-doctemplates" ,ghc-doctemplates)
6654 ("ghc-executable-path" ,ghc-executable-path)
6655 ("ghc-glob" ,ghc-glob)
6656 ("ghc-haddock-library" ,ghc-haddock-library)
6657 ("ghc-hslua" ,ghc-hslua)
6658 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
6659 ("ghc-http" ,ghc-http)
6660 ("ghc-http-client" ,ghc-http-client)
6661 ("ghc-http-client-tls" ,ghc-http-client-tls)
6662 ("ghc-http-types" ,ghc-http-types)
6663 ("ghc-juicypixels" ,ghc-juicypixels)
6664 ("ghc-network" ,ghc-network)
6665 ("ghc-network-uri" ,ghc-network-uri)
6666 ("ghc-old-locale" ,ghc-old-locale)
6667 ("ghc-pandoc-types" ,ghc-pandoc-types)
6668 ("ghc-random" ,ghc-random)
6669 ("ghc-scientific" ,ghc-scientific)
6670 ("ghc-sha" ,ghc-sha)
6671 ("ghc-skylighting" ,ghc-skylighting)
6672 ("ghc-split" ,ghc-split)
6673 ("ghc-syb" ,ghc-syb)
6674 ("ghc-tagsoup" ,ghc-tagsoup)
6675 ("ghc-temporary" ,ghc-temporary)
6676 ("ghc-texmath" ,ghc-texmath)
6677 ("ghc-unordered-containers" ,ghc-unordered-containers)
6678 ("ghc-vector" ,ghc-vector)
6679 ("ghc-xml" ,ghc-xml)
6680 ("ghc-yaml" ,ghc-yaml)
6681 ("ghc-zip-archive" ,ghc-zip-archive)
6682 ("ghc-zlib" ,ghc-zlib)))
6684 `(("ghc-tasty" ,ghc-tasty)
6685 ("ghc-tasty-golden" ,ghc-tasty-golden)
6686 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6687 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6688 ("ghc-quickcheck" ,ghc-quickcheck)
6689 ("ghc-hunit" ,ghc-hunit)))
6690 (home-page "https://pandoc.org")
6691 (synopsis "Conversion between markup formats")
6693 "Pandoc is a Haskell library for converting from one markup format to
6694 another, and a command-line tool that uses this library. It can read and
6695 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
6696 LaTeX, DocBook, and many more.
6698 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
6699 definition lists, tables, and other features. A compatibility mode is
6700 provided for those who need a drop-in replacement for Markdown.pl.")
6701 (license license:gpl2+)))
6703 (define-public ghc-hs-bibutils
6705 (name "ghc-hs-bibutils")
6711 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6715 "0n2sz2zl4naspryd49ii858qkjp2lapns5a2gr8zm6vvn5sh1f0l"))))
6716 (build-system haskell-build-system)
6717 (inputs `(("ghc-syb" ,ghc-syb)))
6718 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6719 (synopsis "Haskell bindings to bibutils")
6721 "This package provides Haskell bindings to @code{bibutils}, a library
6722 that interconverts between various bibliography formats using a common
6723 MODS-format XML intermediate.")
6724 (license license:gpl2+)))
6726 (define-public ghc-rfc5051
6728 (name "ghc-rfc5051")
6733 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
6734 "rfc5051-" version ".tar.gz"))
6737 "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3"))))
6738 (build-system haskell-build-system)
6739 (home-page "https://hackage.haskell.org/package/rfc5051")
6740 (synopsis "Simple unicode collation as per RFC5051")
6742 "This library implements @code{unicode-casemap}, the simple, non
6743 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
6744 unicode collation can be done using @code{text-icu}, but that is a big
6745 dependency that depends on a large C library, and @code{rfc5051} might be
6746 better for some purposes.")
6747 (license license:bsd-3)))
6749 (define-public ghc-typed-process
6751 (name "ghc-typed-process")
6756 (uri (string-append "https://hackage.haskell.org/package/"
6757 "typed-process/typed-process-"
6761 "0j36vrc9w841m5qbwqra1lwiznx31xfnhin1sm8x2c2739csbpn0"))))
6762 (build-system haskell-build-system)
6764 `(("ghc-async" ,ghc-async)))
6766 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
6767 ("ghc-hspec" ,ghc-hspec)
6768 ("hspec-discover" ,hspec-discover)
6769 ("ghc-temporary" ,ghc-temporary)))
6770 (home-page "https://haskell-lang.org/library/typed-process")
6771 (synopsis "Run external processes with strong typing of streams")
6773 "This library provides the ability to launch and interact with external
6774 processes. It wraps around the @code{process} library, and intends to improve
6776 (license license:expat)))
6778 (define-public ghc-conduit-extra
6780 (name "ghc-conduit-extra")
6785 (uri (string-append "https://hackage.haskell.org/package/"
6786 "conduit-extra/conduit-extra-"
6790 "0jaj350vv6mbb26gdwcqz4gwzfzrjydv5pis2da49wz1npbakcfw"))))
6791 (build-system haskell-build-system)
6793 `(("ghc-conduit" ,ghc-conduit)
6794 ("ghc-exceptions" ,ghc-exceptions)
6795 ("ghc-monad-control" ,ghc-monad-control)
6796 ("ghc-transformers-base" ,ghc-transformers-base)
6797 ("ghc-typed-process" ,ghc-typed-process)
6798 ("ghc-async" ,ghc-async)
6799 ("ghc-attoparsec" ,ghc-attoparsec)
6800 ("ghc-blaze-builder" ,ghc-blaze-builder)
6801 ("ghc-network" ,ghc-network)
6802 ("ghc-primitive" ,ghc-primitive)
6803 ("ghc-resourcet" ,ghc-resourcet)
6804 ("ghc-streaming-commons" ,ghc-streaming-commons)
6805 ("ghc-hspec" ,ghc-hspec)
6806 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6807 ("ghc-quickcheck" ,ghc-quickcheck)))
6809 `(("hspec-discover" ,hspec-discover)))
6810 (home-page "https://github.com/snoyberg/conduit")
6811 (synopsis "Conduit adapters for common libraries")
6813 "The @code{conduit} package itself maintains relative small dependencies.
6814 The purpose of this package is to collect commonly used utility functions
6815 wrapping other library dependencies, without depending on heavier-weight
6816 dependencies. The basic idea is that this package should only depend on
6817 @code{haskell-platform} packages and @code{conduit}.")
6818 (license license:expat)))
6820 (define-public ghc-xml-types
6822 (name "ghc-xml-types")
6827 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
6828 "xml-types-" version ".tar.gz"))
6831 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
6832 (build-system haskell-build-system)
6833 (home-page "https://john-millikin.com/software/haskell-xml/")
6834 (synopsis "Basic types for representing XML")
6835 (description "This package provides basic types for representing XML
6837 (license license:expat)))
6839 (define-public ghc-xml-conduit
6841 (name "ghc-xml-conduit")
6846 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
6847 "xml-conduit-" version ".tar.gz"))
6850 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
6851 (build-system haskell-build-system)
6853 `(("ghc-conduit" ,ghc-conduit)
6854 ("ghc-conduit-extra" ,ghc-conduit-extra)
6855 ("ghc-doctest" ,ghc-doctest)
6856 ("ghc-resourcet" ,ghc-resourcet)
6857 ("ghc-xml-types" ,ghc-xml-types)
6858 ("ghc-attoparsec" ,ghc-attoparsec)
6859 ("ghc-data-default-class" ,ghc-data-default-class)
6860 ("ghc-blaze-markup" ,ghc-blaze-markup)
6861 ("ghc-blaze-html" ,ghc-blaze-html)
6862 ("ghc-monad-control" ,ghc-monad-control)
6863 ("ghc-hspec" ,ghc-hspec)
6864 ("ghc-hunit" ,ghc-hunit)))
6865 (home-page "https://github.com/snoyberg/xml")
6866 (synopsis "Utilities for dealing with XML with the conduit package")
6868 "This package provides pure-Haskell utilities for dealing with XML with
6869 the @code{conduit} package.")
6870 (license license:expat)))
6872 (define-public ghc-pandoc-citeproc
6874 (name "ghc-pandoc-citeproc")
6875 (version "0.14.3.1")
6879 (uri (string-append "https://hackage.haskell.org/package/"
6880 "pandoc-citeproc/pandoc-citeproc-"
6884 "0yj6rckwsc9vig40cm15ry0j3d01xpk04qma9n4byhal6v4b5h22"))))
6885 (build-system haskell-build-system)
6888 (modify-phases %standard-phases
6889 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
6890 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
6891 (add-before 'configure 'patch-tests
6893 (substitute* "tests/test-pandoc-citeproc.hs"
6894 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
6895 "let allTests = citeprocTests"))))
6896 ;; Tests need to be run after installation.
6898 (add-after 'install 'post-install-check
6899 (assoc-ref %standard-phases 'check)))))
6901 `(("ghc-pandoc-types" ,ghc-pandoc-types)
6902 ("ghc-pandoc" ,ghc-pandoc)
6903 ("ghc-tagsoup" ,ghc-tagsoup)
6904 ("ghc-aeson" ,ghc-aeson)
6905 ("ghc-vector" ,ghc-vector)
6906 ("ghc-xml-conduit" ,ghc-xml-conduit)
6907 ("ghc-unordered-containers" ,ghc-unordered-containers)
6908 ("ghc-data-default" ,ghc-data-default)
6909 ("ghc-setenv" ,ghc-setenv)
6910 ("ghc-split" ,ghc-split)
6911 ("ghc-yaml" ,ghc-yaml)
6912 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
6913 ("ghc-rfc5051" ,ghc-rfc5051)
6914 ("ghc-syb" ,ghc-syb)
6915 ("ghc-old-locale" ,ghc-old-locale)
6916 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6917 ("ghc-attoparsec" ,ghc-attoparsec)
6918 ("ghc-temporary" ,ghc-temporary)))
6919 (home-page "https://github.com/jgm/pandoc-citeproc")
6920 (synopsis "Library for using pandoc with citeproc")
6922 "The @code{pandoc-citeproc} library exports functions for using the
6923 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
6924 rendering bibliographic reference citations into a variety of styles using a
6925 macro language called @dfn{Citation Style Language} (CSL). This package also
6926 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
6927 and also has a mode for converting bibliographic databases a YAML format
6928 suitable for inclusion in pandoc YAML metadata.")
6929 (license license:bsd-3)))
6931 (define-public ghc-union-find
6933 (name "ghc-union-find")
6938 "https://hackage.haskell.org/package/union-find/union-find-"
6942 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
6943 (build-system haskell-build-system)
6944 (home-page "https://github.com/nominolo/union-find")
6945 (synopsis "Efficient union and equivalence testing of sets")
6947 "The Union/Find algorithm implements these operations in (effectively)
6950 @item Check whether two elements are in the same equivalence class.
6951 @item Create a union of two equivalence classes.
6952 @item Look up the descriptor of the equivalence class.
6954 (license license:bsd-3)))
6956 (define-public ghc-base16-bytestring
6958 (name "ghc-base16-bytestring")
6964 "https://hackage.haskell.org/package/base16-bytestring/"
6965 "base16-bytestring-" version ".tar.gz"))
6968 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
6969 (build-system haskell-build-system)
6970 (home-page "https://github.com/bos/base16-bytestring")
6971 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
6973 "This package provides a Haskell library for working with base16-encoded
6974 data quickly and efficiently, using the ByteString type.")
6975 (license license:bsd-3)))
6977 (define-public ghc-data-ordlist
6979 (name "ghc-data-ordlist")
6985 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
6989 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
6990 (build-system haskell-build-system)
6991 (home-page "https://hackage.haskell.org/package/data-ordlist")
6992 (synopsis "Set and bag operations on ordered lists")
6994 "This module provides set and multiset operations on ordered lists.")
6995 (license license:bsd-3)))
6997 (define-public ghc-regex-applicative
6999 (name "ghc-regex-applicative")
7005 "https://hackage.haskell.org/package/regex-applicative/"
7006 "regex-applicative-" version ".tar.gz"))
7009 "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
7010 (build-system haskell-build-system)
7012 `(("ghc-smallcheck" ,ghc-smallcheck)
7013 ("ghc-tasty" ,ghc-tasty)
7014 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
7015 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7016 (home-page "https://github.com/feuerbach/regex-applicative")
7017 (synopsis "Regex-based parsing with applicative interface")
7019 "@code{regex-applicative} is a Haskell library for parsing using
7020 regular expressions. Parsers can be built using Applicative interface.")
7021 (license license:expat)))
7023 (define-public ghc-regex-tdfa
7025 (name "ghc-regex-tdfa")
7031 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
7035 "0l7ajnh4hpgggf2a1r9dg0hx2fy679vd2kada5y7r02hy3nfxala"))))
7036 (build-system haskell-build-system)
7038 `(("ghc-regex-base" ,ghc-regex-base)))
7039 (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
7040 (synopsis "POSIX extended regular expressions in Haskell.")
7042 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
7043 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
7044 inspired by libtre.")
7045 (license license:bsd-3)))
7047 (define-public ghc-regex-compat-tdfa
7049 (name "ghc-regex-compat-tdfa")
7050 (version "0.95.1.4")
7055 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
7059 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
7060 (build-system haskell-build-system)
7062 `(("ghc-regex-base" ,ghc-regex-base)
7063 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
7064 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
7065 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
7067 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
7068 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
7069 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
7071 (license license:bsd-3)))
7073 (define-public ghc-sandi
7081 "https://hackage.haskell.org/package/sandi/sandi-"
7085 "0dvkpk91n9kz2ha04rvp231ra9sgd1ilyc1qkzf9l03iir7zrh9b"))))
7086 (build-system haskell-build-system)
7088 `(("ghc-stringsearch" ,ghc-stringsearch)
7089 ("ghc-conduit" ,ghc-conduit)
7090 ("ghc-exceptions" ,ghc-exceptions)
7091 ("ghc-hunit" ,ghc-hunit)
7092 ("ghc-tasty" ,ghc-tasty)
7093 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7094 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7095 ("ghc-tasty-th" ,ghc-tasty-th)))
7096 (home-page "https://hackage.haskell.org/package/sandi")
7097 (synopsis "Data encoding library")
7098 (description "Reasonably fast data encoding library.")
7099 (license license:bsd-3)))
7101 (define-public ghc-bytestring-handle
7103 (name "ghc-bytestring-handle")
7109 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
7113 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
7114 (build-system haskell-build-system)
7117 (modify-phases %standard-phases
7118 (add-before 'configure 'update-constraints
7120 (substitute* "bytestring-handle.cabal"
7121 (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
7122 "QuickCheck >= 2.1.2 && < 2.12")
7123 (("base >= 4\\.2 && < 4\\.11")
7124 "base >= 4.2 && < 4.12")))))))
7126 `(("ghc-hunit" ,ghc-hunit)
7127 ("ghc-quickcheck" ,ghc-quickcheck)
7128 ("ghc-test-framework" ,ghc-test-framework)
7129 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7130 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7131 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
7132 (synopsis "ByteString-backed Handles")
7133 (description "ByteString-backed Handles") ; There is no description
7134 (license license:bsd-3)))
7136 (define-public ghc-tar
7144 "https://hackage.haskell.org/package/tar/tar-"
7148 "0s2brvaxg5fki2jdkccmnpssiy6a3wjh24p6a3dkkdvjcixnk7f8"))))
7149 (build-system haskell-build-system)
7150 ;; FIXME: 2/24 tests fail.
7151 (arguments `(#:tests? #f))
7153 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
7154 ("ghc-quickcheck" ,ghc-quickcheck)
7155 ("ghc-tasty" ,ghc-tasty)
7156 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7157 (home-page "https://hackage.haskell.org/package/tar")
7158 (synopsis "Reading, writing and manipulating \".tar\" archive files")
7160 "This library is for working with \\\"@.tar@\\\" archive files.
7161 It can read and write a range of common variations of the tar archive format
7162 including V7, POSIX USTAR and GNU formats. It provides support for packing and
7163 unpacking portable archives. This makes it suitable for distribution but not
7164 backup because details like file ownership and exact permissions are not
7165 preserved. It also provides features for random access to archive content using
7167 (license license:bsd-3)))
7169 (define-public ghc-stmonadtrans
7171 (name "ghc-stmonadtrans")
7176 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
7177 "/STMonadTrans-" version ".tar.gz"))
7179 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
7180 (build-system haskell-build-system)
7181 (home-page "https://hackage.haskell.org/package/STMonadTrans")
7182 (synopsis "Monad transformer version of the ST monad")
7184 "This package provides a monad transformer version of the @code{ST} monad
7185 for strict state threads.")
7186 (license license:bsd-3)))
7188 (define-public ghc-findbin
7190 (name "ghc-findbin")
7196 "https://hackage.haskell.org/package/FindBin/FindBin-"
7200 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
7201 (build-system haskell-build-system)
7202 (home-page "https://github.com/audreyt/findbin")
7203 (synopsis "Get the absolute path of the running program")
7205 "This module locates the full directory of the running program, to allow
7206 the use of paths relative to it. FindBin supports invocation of Haskell
7207 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
7209 (license license:bsd-3)))
7211 (define-public ghc-patience
7213 (name "ghc-patience")
7219 "https://hackage.haskell.org/package/patience/patience-"
7223 "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
7224 (build-system haskell-build-system)
7225 (home-page "https://hackage.haskell.org/package/patience")
7226 (synopsis "Patience diff and longest increasing subsequence")
7228 "This library implements the 'patience diff' algorithm, as well as the
7229 patience algorithm for the longest increasing subsequence problem.
7230 Patience diff computes the difference between two lists, for example the lines
7231 of two versions of a source file. It provides a good balance between
7232 performance, nice output for humans, and simplicity of implementation.")
7233 (license license:bsd-3)))
7235 (define-public ghc-monads-tf
7237 (name "ghc-monads-tf")
7243 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7247 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7248 (build-system haskell-build-system)
7249 (home-page "https://hackage.haskell.org/package/monads-tf")
7250 (synopsis "Monad classes, using type families")
7252 "Monad classes using type families, with instances for various monad transformers,
7253 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7254 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7255 the @code{mtl-tf} package.")
7256 (license license:bsd-3)))
7258 (define-public ghc-colour
7266 "https://hackage.haskell.org/package/colour/colour-"
7270 "1sy51nz096sv91nxqk6yk7b92b5a40axv9183xakvki2nc09yhqg"))))
7272 ;; The tests for this package have the following dependency cycle:
7273 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
7275 (build-system haskell-build-system)
7276 (home-page "https://www.haskell.org/haskellwiki/Colour")
7277 (synopsis "Model for human colour perception")
7279 "This package provides a data type for colours and transparency.
7280 Colours can be blended and composed. Various colour spaces are
7281 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
7282 (license license:expat)))
7284 (define-public ghc-wl-pprint-text
7286 (name "ghc-wl-pprint-text")
7292 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
7296 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
7297 (build-system haskell-build-system)
7299 `(("ghc-base-compat" ,ghc-base-compat)))
7300 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
7301 (synopsis "Wadler/Leijen Pretty Printer for Text values")
7303 "A clone of wl-pprint for use with the text library.")
7304 (license license:bsd-3)))
7306 (define-public ghc-fgl-arbitrary
7308 (name "ghc-fgl-arbitrary")
7314 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
7318 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
7319 (build-system haskell-build-system)
7322 (modify-phases %standard-phases
7323 (add-before 'configure 'update-constraints
7325 (substitute* "fgl-arbitrary.cabal"
7326 (("QuickCheck >= 2\\.3 && < 2\\.10")
7327 "QuickCheck >= 2.3 && < 2.12")
7328 (("hspec >= 2\\.1 && < 2\\.5")
7329 "hspec >= 2.1 && < 2.6")))))))
7331 `(("ghc-fgl" ,ghc-fgl)
7332 ("ghc-quickcheck" ,ghc-quickcheck)
7333 ("ghc-hspec" ,ghc-hspec)))
7334 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
7335 (synopsis "QuickCheck support for fgl")
7337 "Provides Arbitrary instances for fgl graphs to avoid adding a
7338 QuickCheck dependency for fgl whilst still making the instances
7339 available to others. Also available are non-fgl-specific functions
7340 for generating graph-like data structures.")
7341 (license license:bsd-3)))
7343 (define-public ghc-graphviz
7345 (name "ghc-graphviz")
7346 (version "2999.20.0.2")
7349 (uri (string-append "https://hackage.haskell.org/package/"
7350 "graphviz/graphviz-" version ".tar.gz"))
7353 "0kj7ap0gnliviq2p8lscw1m06capnsa90vpvcys24nqy5nw2wrp7"))))
7354 (build-system haskell-build-system)
7356 `(("ghc-quickcheck" ,ghc-quickcheck)
7357 ("ghc-colour" ,ghc-colour)
7358 ("ghc-dlist" ,ghc-dlist)
7359 ("ghc-fgl" ,ghc-fgl)
7360 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
7361 ("ghc-polyparse" ,ghc-polyparse)
7362 ("ghc-temporary" ,ghc-temporary)
7363 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
7365 `(("ghc-hspec" ,ghc-hspec)
7366 ("graphviz" ,graphviz)
7367 ("hspec-discover" ,hspec-discover)))
7368 (home-page "https://hackage.haskell.org/package/graphviz")
7369 (synopsis "Bindings to Graphviz for graph visualisation")
7371 "This library provides bindings for the Dot language used by
7372 the @uref{https://graphviz.org/, Graphviz} suite of programs for
7373 visualising graphs, as well as functions to call those programs.
7374 Main features of the graphviz library include:
7377 @item Almost complete coverage of all Graphviz attributes and syntax
7378 @item Support for specifying clusters
7379 @item The ability to use a custom node type
7380 @item Functions for running a Graphviz layout tool with all specified output types
7381 @item Generate and parse Dot code with two options: strict and liberal
7382 @item Functions to convert FGL graphs and other graph-like data structures
7383 @item Round-trip support for passing an FGL graph through Graphviz to augment node
7384 and edge labels with positional information, etc.
7386 (license license:bsd-3)))
7388 (define-public ghc-constraints
7390 (name "ghc-constraints")
7396 "https://hackage.haskell.org/package/constraints/constraints-"
7400 "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q"))))
7401 (build-system haskell-build-system)
7403 `(("ghc-hashable" ,ghc-hashable)
7404 ("ghc-semigroups" ,ghc-semigroups)
7405 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7407 `(("ghc-hspec" ,ghc-hspec)
7408 ("hspec-discover" ,hspec-discover)))
7409 (home-page "https://github.com/ekmett/constraints/")
7410 (synopsis "Constraint manipulation")
7412 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
7413 They stopped crashing the compiler in GHC 7.6. This package provides
7414 a vocabulary for working with them.")
7415 (license license:bsd-3)))
7417 (define-public ghc-lifted-async
7419 (name "ghc-lifted-async")
7420 (version "0.10.0.2")
7425 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7429 "1073r512c1x2m1v0jar9bwqg656slg7jd1jhsyj6m8awgx1l1mwf"))))
7430 (build-system haskell-build-system)
7432 `(("ghc-async" ,ghc-async)
7433 ("ghc-lifted-base" ,ghc-lifted-base)
7434 ("ghc-transformers-base" ,ghc-transformers-base)
7435 ("ghc-monad-control" ,ghc-monad-control)
7436 ("ghc-constraints" ,ghc-constraints)
7437 ("ghc-hunit" ,ghc-hunit)
7438 ("ghc-tasty" ,ghc-tasty)
7439 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
7440 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7441 ("ghc-tasty-th" ,ghc-tasty-th)))
7442 (home-page "https://github.com/maoe/lifted-async")
7443 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7445 "This package provides IO operations from @code{async} package lifted to any
7446 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7447 (license license:bsd-3)))
7449 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
7450 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
7451 ;; which depends on ghc-chell and ghc-chell-quickcheck.
7452 ;; Therefore we bootstrap it with tests disabled.
7453 (define ghc-system-filepath-bootstrap
7455 (name "ghc-system-filepath-bootstrap")
7461 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7465 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
7466 (build-system haskell-build-system)
7470 `(("ghc-quickcheck" ,ghc-quickcheck)))
7471 (home-page "https://github.com/fpco/haskell-filesystem")
7472 (synopsis "High-level, byte-based file and directory path manipulations")
7474 "Provides a FilePath datatype and utility functions for operating on it.
7475 Unlike the filepath package, this package does not simply reuse String,
7476 increasing type safety.")
7477 (license license:expat)))
7479 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
7480 ;; ghc-system-filepath.
7481 (define ghc-system-fileio-bootstrap
7483 (name "ghc-system-fileio-bootstrap")
7484 (version "0.3.16.3")
7489 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7493 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7494 (build-system haskell-build-system)
7498 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7499 ("ghc-temporary" ,ghc-temporary)))
7500 (home-page "https://github.com/fpco/haskell-filesystem")
7501 (synopsis "Consistent file system interaction across GHC versions")
7503 "This is a small wrapper around the directory, unix, and Win32 packages,
7504 for use with system-filepath. It provides a consistent API to the various
7505 versions of these packages distributed with different versions of GHC.
7506 In particular, this library supports working with POSIX files that have paths
7507 which can't be decoded in the current locale encoding.")
7508 (license license:expat)))
7510 (define-public ghc-shelly
7518 "https://hackage.haskell.org/package/shelly/shelly-"
7522 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
7523 (build-system haskell-build-system)
7525 `(("ghc-unix-compat" ,ghc-unix-compat)
7526 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7527 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
7528 ("ghc-monad-control" ,ghc-monad-control)
7529 ("ghc-lifted-base" ,ghc-lifted-base)
7530 ("ghc-lifted-async" ,ghc-lifted-async)
7531 ("ghc-exceptions" ,ghc-exceptions)
7532 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
7533 ("ghc-async" ,ghc-async)
7534 ("ghc-transformers-base" ,ghc-transformers-base)
7535 ("ghc-hunit" ,ghc-hunit)
7536 ("ghc-hspec" ,ghc-hspec)
7537 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
7538 (home-page "https://github.com/yesodweb/Shelly.hs")
7539 (synopsis "Shell-like (systems) programming in Haskell")
7541 "Shelly provides convenient systems programming in Haskell, similar in
7542 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
7543 (license license:bsd-3)))
7545 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
7546 (define ghc-options-bootstrap
7548 (name "ghc-options-bootstrap")
7554 "https://hackage.haskell.org/package/options/options-"
7558 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7559 (build-system haskell-build-system)
7563 `(("ghc-monads-tf" ,ghc-monads-tf)))
7564 (home-page "https://john-millikin.com/software/haskell-options/")
7565 (synopsis "Powerful and easy-to-use command-line option parser")
7567 "The @code{options} package lets library and application developers
7568 easily work with command-line options.")
7569 (license license:expat)))
7571 (define-public ghc-chell
7579 "https://hackage.haskell.org/package/chell/chell-"
7583 "10ingy9qnbmc8cqh4i9pskcw43l0mzk8f3d76b3qz3fig5ary3j9"))))
7584 (build-system haskell-build-system)
7586 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
7587 ("ghc-patience" ,ghc-patience)
7588 ("ghc-random" ,ghc-random)
7589 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
7590 (home-page "https://john-millikin.com/software/chell/")
7591 (synopsis "Simple and intuitive library for automated testing")
7593 "Chell is a simple and intuitive library for automated testing.
7594 It natively supports assertion-based testing, and can use companion
7595 libraries such as @code{chell-quickcheck} to support more complex
7596 testing strategies.")
7597 (license license:expat)))
7599 (define ghc-chell-quickcheck-bootstrap
7601 (name "ghc-chell-quickcheck-bootstrap")
7607 "https://hackage.haskell.org/package/chell-quickcheck/"
7608 "chell-quickcheck-" version ".tar.gz"))
7611 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7612 (build-system haskell-build-system)
7614 `(("ghc-chell" ,ghc-chell)
7615 ("ghc-random" ,ghc-random)
7616 ("ghc-quickcheck" ,ghc-quickcheck)))
7620 (modify-phases %standard-phases
7621 (add-before 'configure 'update-constraints
7623 (substitute* "chell-quickcheck.cabal"
7624 (("QuickCheck >= 2\\.3 && < 2\\.11")
7625 "QuickCheck >= 2.3 && < 2.12")))))))
7626 (home-page "https://john-millikin.com/software/chell/")
7627 (synopsis "QuickCheck support for the Chell testing library")
7628 (description "More complex tests for @code{chell}.")
7629 (license license:expat)))
7631 (define-public ghc-chell-quickcheck
7633 (name "ghc-chell-quickcheck")
7639 "https://hackage.haskell.org/package/chell-quickcheck/"
7640 "chell-quickcheck-" version ".tar.gz"))
7643 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7644 (build-system haskell-build-system)
7647 (modify-phases %standard-phases
7648 (add-before 'configure 'update-constraints
7650 (substitute* "chell-quickcheck.cabal"
7651 (("QuickCheck >= 2\\.3 && < 2\\.11")
7652 "QuickCheck >= 2.3 && < 2.12")))))))
7654 `(("ghc-chell" ,ghc-chell)
7655 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
7656 ("ghc-random" ,ghc-random)
7657 ("ghc-quickcheck" ,ghc-quickcheck)))
7658 (home-page "https://john-millikin.com/software/chell/")
7659 (synopsis "QuickCheck support for the Chell testing library")
7660 (description "More complex tests for @code{chell}.")
7661 (license license:expat)))
7663 (define-public ghc-options
7665 (name "ghc-options")
7671 "https://hackage.haskell.org/package/options/options-"
7675 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7676 (build-system haskell-build-system)
7678 `(("ghc-monads-tf" ,ghc-monads-tf)
7679 ("ghc-chell" ,ghc-chell)
7680 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
7681 (home-page "https://john-millikin.com/software/haskell-options/")
7682 (synopsis "Powerful and easy-to-use command-line option parser")
7684 "The @code{options} package lets library and application developers
7685 easily work with command-line options.")
7686 (license license:expat)))
7688 (define-public ghc-system-filepath
7690 (name "ghc-system-filepath")
7696 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7700 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
7701 (build-system haskell-build-system)
7702 ;; FIXME: One of the tests fails:
7703 ;; [ FAIL ] tests.validity.posix
7704 ;; note: seed=7310214548328823169
7705 ;; *** Failed! Falsifiable (after 24 tests):
7706 ;; 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"
7707 (arguments `(#:tests? #f))
7709 `(("ghc-chell" ,ghc-chell)
7710 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
7711 ("ghc-quickcheck" ,ghc-quickcheck)))
7712 (home-page "https://github.com/fpco/haskell-filesystem")
7713 (synopsis "High-level, byte-based file and directory path manipulations")
7715 "Provides a FilePath datatype and utility functions for operating on it.
7716 Unlike the filepath package, this package does not simply reuse String,
7717 increasing type safety.")
7718 (license license:expat)))
7720 (define-public ghc-system-fileio
7722 (name "ghc-system-fileio")
7723 (version "0.3.16.3")
7728 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7732 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7733 (build-system haskell-build-system)
7735 `(("ghc-system-filepath" ,ghc-system-filepath)
7736 ("ghc-chell" ,ghc-chell)
7737 ("ghc-temporary" ,ghc-temporary)))
7738 (home-page "https://github.com/fpco/haskell-filesystem")
7739 (synopsis "Consistent file system interaction across GHC versions")
7741 "This is a small wrapper around the directory, unix, and Win32 packages,
7742 for use with system-filepath. It provides a consistent API to the various
7743 versions of these packages distributed with different versions of GHC.
7744 In particular, this library supports working with POSIX files that have paths
7745 which can't be decoded in the current locale encoding.")
7746 (license license:expat)))
7748 (define-public ghc-storable-complex
7750 (name "ghc-storable-complex")
7756 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
7759 (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
7760 (build-system haskell-build-system)
7761 (home-page "https://github.com/cartazio/storable-complex")
7762 (synopsis "Haskell Storable instance for Complex")
7763 (description "This package provides a Haskell library including a
7764 Storable instance for Complex which is binary compatible with C99, C++
7765 and Fortran complex data types.")
7766 (license license:bsd-3)))
7768 (define-public ghc-hmatrix
7770 (name "ghc-hmatrix")
7771 (version "0.19.0.0")
7776 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
7779 (base32 "10jd69nby29dggghcyjk6ykyr5wrn97nrv1dkpyrp0y5xm12xssj"))))
7780 (build-system haskell-build-system)
7782 `(("ghc-random" ,ghc-random)
7783 ("ghc-split" ,ghc-split)
7784 ("ghc-storable-complex" ,ghc-storable-complex)
7785 ("ghc-semigroups" ,ghc-semigroups)
7786 ("ghc-vector" ,ghc-vector)
7787 ;;("openblas" ,openblas)
7788 ("lapack" ,lapack)))
7789 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
7790 ;; disables inclusion of the LAPACK functions.
7791 ;; (arguments `(#:configure-flags '("--flags=openblas")))
7792 (home-page "https://github.com/albertoruiz/hmatrix")
7793 (synopsis "Haskell numeric linear algebra library")
7794 (description "The HMatrix package provices a Haskell library for
7795 dealing with linear systems, matrix decompositions, and other
7796 numerical computations based on BLAS and LAPACK.")
7797 (license license:bsd-3)))
7799 (define-public ghc-hmatrix-gsl
7801 (name "ghc-hmatrix-gsl")
7802 (version "0.19.0.1")
7807 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
7810 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
7811 (build-system haskell-build-system)
7813 `(("ghc-hmatrix" ,ghc-hmatrix)
7814 ("ghc-vector" ,ghc-vector)
7815 ("ghc-random" ,ghc-random)
7817 (native-inputs `(("pkg-config" ,pkg-config)))
7818 (home-page "https://github.com/albertoruiz/hmatrix")
7819 (synopsis "Haskell GSL binding")
7820 (description "This Haskell library provides a purely functional
7821 interface to selected numerical computations, internally implemented
7823 (license license:gpl3+)))
7825 (define-public ghc-hmatrix-special
7827 (name "ghc-hmatrix-special")
7828 (version "0.19.0.0")
7834 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
7837 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
7838 (build-system haskell-build-system)
7840 `(("ghc-hmatrix" ,ghc-hmatrix)
7841 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
7842 (home-page "https://github.com/albertoruiz/hmatrix")
7843 (synopsis "Haskell interface to GSL special functions")
7844 (description "This library provides an interface to GSL special
7845 functions for Haskell.")
7846 (license license:gpl3+)))
7848 (define-public ghc-hmatrix-gsl-stats
7850 (name "ghc-hmatrix-gsl-stats")
7857 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
7860 (base32 "1gslgk58lzin43cvbpivhw7nrn9qyaa6qwhy1z9ypvyal5p8n3sa"))))
7861 (build-system haskell-build-system)
7863 `(("ghc-vector" ,ghc-vector)
7864 ("ghc-storable-complex" ,ghc-storable-complex)
7865 ("ghc-hmatrix" ,ghc-hmatrix)
7867 (native-inputs `(("pkg-config" ,pkg-config)))
7868 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
7869 (synopsis "GSL Statistics interface for Haskell")
7870 (description "This Haskell library provides a purely functional
7871 interface for statistics based on hmatrix and GSL.")
7872 (license license:bsd-3)))
7874 (define-public ghc-easyplot
7876 (name "ghc-easyplot")
7882 "https://hackage.haskell.org/package/easyplot/easyplot-"
7885 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
7886 (build-system haskell-build-system)
7887 (propagated-inputs `(("gnuplot" ,gnuplot)))
7889 `(#:phases (modify-phases %standard-phases
7890 (add-after 'unpack 'fix-setup-suffix
7891 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
7892 (home-page "https://hub.darcs.net/scravy/easyplot")
7893 (synopsis "Haskell plotting library based on gnuplot")
7894 (description "This package provides a plotting library for
7895 Haskell, using gnuplot for rendering.")
7896 (license license:expat)))
7898 (define-public ghc-hashtables
7900 (name "ghc-hashtables")
7906 "https://hackage.haskell.org/package/hashtables/hashtables-"
7909 (base32 "1giw9caajr07slf09j7zry9b0kvm4yj9q78zy1mawzi6gk3wglcg"))))
7910 (build-system haskell-build-system)
7912 `(("ghc-hashable" ,ghc-hashable)
7913 ("ghc-primitive" ,ghc-primitive)
7914 ("ghc-vector" ,ghc-vector)))
7915 (home-page "https://github.com/gregorycollins/hashtables")
7916 (synopsis "Haskell Mutable hash tables in the ST monad")
7917 (description "This package provides a Haskell library including a
7918 couple of different implementations of mutable hash tables in the ST
7919 monad, as well as a typeclass abstracting their common operations, and
7920 a set of wrappers to use the hash tables in the IO monad.")
7921 (license license:bsd-3)))
7923 (define-public ghc-data-accessor
7925 (name "ghc-data-accessor")
7931 "mirror://hackage/package/data-accessor/data-accessor-"
7934 (base32 "1vf2g1gac3rm32g97rl0fll51m88q7ry4m6khnl5j47qsmx24r9l"))))
7935 (build-system haskell-build-system)
7936 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7938 "Haskell utilities for accessing and manipulating fields of records")
7939 (description "This package provides Haskell modules for accessing and
7940 manipulating fields of records.")
7941 (license license:bsd-3)))
7943 (define-public ghc-data-accessor-transformers
7945 (name "ghc-data-accessor-transformers")
7951 "mirror://hackage/package/data-accessor-transformers/"
7952 "data-accessor-transformers-" version ".tar.gz"))
7954 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
7955 (build-system haskell-build-system)
7956 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
7957 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7958 (synopsis "Use Accessor to access state in transformers State monad")
7959 (description "This package provides Haskell modules to allow use of
7960 Accessor to access state in transformers State monad.")
7961 (license license:bsd-3)))
7963 (define-public ghc-utility-ht
7965 (name "ghc-utility-ht")
7967 (home-page "https://hackage.haskell.org/package/utility-ht")
7971 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
7973 (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9"))))
7974 (build-system haskell-build-system)
7975 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
7976 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
7977 (description "This package includes Hakell modules providing various
7978 helper functions for Lists, Maybes, Tuples, Functions.")
7979 (license license:bsd-3)))
7981 (define-public ghc-gnuplot
7983 (name "ghc-gnuplot")
7989 "mirror://hackage/package/gnuplot/gnuplot-"
7992 (base32 "1mlppnc13ygjzmf6ldydys4wvy35yb3xjwwfgf9rbi7nfcqjr6mn"))))
7993 (build-system haskell-build-system)
7995 `(("ghc-temporary" ,ghc-temporary)
7996 ("ghc-utility-ht" ,ghc-utility-ht)
7997 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
7998 ("ghc-data-accessor" ,ghc-data-accessor)
7999 ("ghc-semigroups" ,ghc-semigroups)
8000 ("gnuplot" ,gnuplot)))
8003 (modify-phases %standard-phases
8004 (add-before 'configure 'fix-path-to-gnuplot
8005 (lambda* (#:key inputs #:allow-other-keys)
8006 (let ((gnuplot (assoc-ref inputs "gnuplot")))
8007 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
8008 (("(gnuplotName = ).*$" all cmd)
8009 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
8010 (home-page "https://www.haskell.org/haskellwiki/Gnuplot")
8011 (synopsis "2D and 3D plots using gnuplot")
8012 (description "This package provides a Haskell module for creating 2D and
8013 3D plots using gnuplot.")
8014 (license license:bsd-3)))
8016 (define-public ghc-hinotify
8018 (name "ghc-hinotify")
8023 "https://hackage.haskell.org/package/hinotify/"
8024 "hinotify-" version ".tar.gz"))
8027 "17ax3n68a5c2ddazp86aciliskrh6znd3bnry0wcllmb6dbpsaxg"))))
8028 (build-system haskell-build-system)
8030 `(("ghc-async" ,ghc-async)))
8031 (home-page "https://github.com/kolmodin/hinotify.git")
8032 (synopsis "Haskell binding to inotify")
8033 (description "This library provides a wrapper to the Linux kernel's inotify
8034 feature, allowing applications to subscribe to notifications when a file is
8035 accessed or modified.")
8036 (license license:bsd-3)))
8038 (define-public ghc-fsnotify
8040 (name "ghc-fsnotify")
8045 "https://hackage.haskell.org/package/fsnotify/"
8046 "fsnotify-" version ".tar.gz"))
8049 "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny"))))
8050 (build-system haskell-build-system)
8052 `(("ghc-async" ,ghc-async)
8053 ("ghc-unix-compat" ,ghc-unix-compat)
8054 ("ghc-hinotify" ,ghc-hinotify)
8055 ("ghc-tasty" ,ghc-tasty)
8056 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8057 ("ghc-random" ,ghc-random)
8058 ("ghc-shelly" ,ghc-shelly)
8059 ("ghc-temporary" ,ghc-temporary)))
8060 (home-page "https://github.com/haskell-fswatch/hfsnotify")
8061 (synopsis "Cross platform library for file change notification.")
8062 (description "Cross platform library for file creation, modification, and
8063 deletion notification. This library builds upon existing libraries for platform
8064 specific Windows, Mac, and Linux file system event notification.")
8065 (license license:bsd-3)))
8067 (define-public ghc-ieee754
8069 (name "ghc-ieee754")
8074 "https://hackage.haskell.org/package/ieee754/"
8075 "ieee754-" version ".tar.gz"))
8078 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
8079 (build-system haskell-build-system)
8080 (home-page "https://github.com/patperry/hs-ieee754")
8081 (synopsis "Utilities for dealing with IEEE floating point numbers")
8082 (description "Utilities for dealing with IEEE floating point numbers,
8083 ported from the Tango math library; approximate and exact equality comparisons
8084 for general types.")
8085 (license license:bsd-3)))
8087 (define-public ghc-terminal-size
8089 (name "ghc-terminal-size")
8094 "https://hackage.haskell.org/package/terminal-size/"
8095 "terminal-size-" version ".tar.gz"))
8098 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
8099 (build-system haskell-build-system)
8100 (home-page "https://hackage.haskell.org/package/terminal-size")
8101 (synopsis "Get terminal window height and width")
8102 (description "Get terminal window height and width without ncurses
8104 (license license:bsd-3)))
8106 (define-public ghc-language-c
8108 (name "ghc-language-c")
8113 (uri (string-append "https://hackage.haskell.org/package/"
8114 "language-c/language-c-" version ".tar.gz"))
8117 "0sdkjj0hq8p69fcdm6ljbjkjvrsrb8a6rl5dq6dj6byj32ajrm3d"))))
8118 (build-system haskell-build-system)
8119 (inputs `(("ghc-syb" ,ghc-syb)))
8121 `(("ghc-happy" ,ghc-happy)
8122 ("ghc-alex" ,ghc-alex)))
8123 (home-page "https://visq.github.io/language-c/")
8124 (synopsis "Analysis and generation of C code")
8126 "Language C is a Haskell library for the analysis and generation of C code.
8127 It features a complete, well-tested parser and pretty printer for all of C99
8128 and a large set of GNU extensions.")
8129 (license license:bsd-3)))
8131 (define-public ghc-markdown-unlit
8133 (name "ghc-markdown-unlit")
8138 "mirror://hackage/package/markdown-unlit/"
8139 "markdown-unlit-" version ".tar.gz"))
8142 "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7"))))
8143 (build-system haskell-build-system)
8145 `(("ghc-base-compat" ,ghc-base-compat)
8146 ("ghc-hspec" ,ghc-hspec)
8147 ("ghc-quickcheck" ,ghc-quickcheck)
8148 ("ghc-silently" ,ghc-silently)
8149 ("ghc-stringbuilder" ,ghc-stringbuilder)
8150 ("ghc-temporary" ,ghc-temporary)
8151 ("hspec-discover" ,hspec-discover)))
8152 (home-page "https://github.com/sol/markdown-unlit#readme")
8153 (synopsis "Literate Haskell support for Markdown")
8154 (description "This package allows you to have a README.md that at the
8155 same time is a literate Haskell program.")
8156 (license license:expat)))
8158 (define-public corrode
8159 (let ((commit "b6699fb2fa552a07c6091276285a44133e5c9789"))
8162 (version (string-append "0.0.1-" (string-take commit 7)))
8167 (url "https://github.com/jameysharp/corrode.git")
8168 (commit "b6699fb2fa552a07c6091276285a44133e5c9789")))
8170 (string-append name "-" version "-checkout"))
8172 (base32 "02v0yyj6sk4gpg2222wzsdqjxn8w66scbnf6b20x0kbmc69qcz4r"))))
8173 (build-system haskell-build-system)
8175 `(("ghc-language-c" ,ghc-language-c)
8176 ("ghc-markdown-unlit" ,ghc-markdown-unlit)))
8177 (home-page "https://github.com/jameysharp/corrode")
8178 (synopsis "Automatic semantics-preserving translation from C to Rust")
8180 "This program reads a C source file and prints an equivalent module in
8181 Rust syntax. It is intended to be useful for two different purposes:
8184 @item Partial automation for migrating legacy code that was implemented in C.
8185 @item A new, complementary approach to static analysis for C programs.
8187 (license license:gpl2+))))
8189 (define-public ghc-wave
8196 "https://hackage.haskell.org/package/wave/wave-"
8201 "03zycmwrchhqvi37fdvlzz2d1vl4hy0i8xyys1zznw38qfq0h2i5"))))
8202 (build-system haskell-build-system)
8205 (modify-phases %standard-phases
8206 (add-before 'configure 'update-constraints
8208 (substitute* "wave.cabal"
8209 (("temporary.* < 1\\.3")
8210 "temporary >= 1.1 && < 1.4")))))))
8212 `(("ghc-cereal" ,ghc-cereal)
8213 ("ghc-data-default-class"
8214 ,ghc-data-default-class)
8215 ("ghc-quickcheck" ,ghc-quickcheck)
8216 ("ghc-temporary" ,ghc-temporary)))
8218 `(("hspec-discover" ,hspec-discover)
8219 ("ghc-hspec" ,ghc-hspec)))
8220 (home-page "https://github.com/mrkkrp/wave")
8221 (synopsis "Work with WAVE and RF64 files in Haskell")
8222 (description "This package allows you to work with WAVE and RF64
8224 (license license:bsd-3)))
8226 (define-public ghc-hslogger
8228 (name "ghc-hslogger")
8233 (uri (string-append "https://hackage.haskell.org/package/"
8234 "hslogger-" version "/" "hslogger-"
8237 "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp"))))
8238 (build-system haskell-build-system)
8240 `(("ghc-network" ,ghc-network)
8241 ("ghc-old-locale" ,ghc-old-locale)))
8243 `(("ghc-hunit" ,ghc-hunit)))
8244 (home-page "https://software.complete.org/hslogger")
8245 (synopsis "Logging framework for Haskell, similar to Python's logging module")
8246 (description "Hslogger lets each log message have a priority and source be
8247 associated with it. The programmer can then define global handlers that route
8248 or filter messages based on the priority and source. It also has a syslog
8250 (license license:bsd-3)))
8252 (define-public ghc-unexceptionalio
8254 (name "ghc-unexceptionalio")
8259 (uri (string-append "https://hackage.haskell.org/package/"
8260 "unexceptionalio-" version "/" "unexceptionalio-"
8262 (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p"))))
8263 (build-system haskell-build-system)
8264 (home-page "https://github.com/singpolyma/unexceptionalio")
8265 (synopsis "IO without any non-error, synchronous exceptions")
8266 (description "When you've caught all the exceptions that can be
8267 handled safely, this is what you're left with.")
8268 (license license:isc)))
8270 (define-public ghc-json
8277 (uri (string-append "https://hackage.haskell.org/package/json/"
8278 "json-" version ".tar.gz"))
8281 "13kkfgx58z18jphbg56jn08jn72wi3kvfndlwwx87hqwg7x1dfz6"))))
8282 (build-system haskell-build-system)
8284 `(("ghc-syb" ,ghc-syb)))
8285 (home-page "https://hackage.haskell.org/package/json")
8286 (synopsis "Serializes Haskell data to and from JSON")
8287 (description "This package provides a parser and pretty printer for
8288 converting between Haskell values and JSON.
8289 JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
8290 (license license:bsd-3)))
8292 (define-public ghc-esqueleto
8293 (let ((version "2.5.3")
8295 (commit "b81e0d951e510ebffca03c5a58658ad884cc6fbd"))
8297 (name "ghc-esqueleto")
8298 (version (git-version version revision commit))
8303 (url "https://github.com/bitemyapp/esqueleto")
8305 (file-name (git-file-name name version))
8308 "0lz1qxms7cfg5p3j37inlych0r2fwhm8xbarcys3df9m7jy9nixa"))))
8309 (build-system haskell-build-system)
8311 `(#:haddock? #f ; Haddock reports an internal error.
8313 (modify-phases %standard-phases
8314 ;; This package normally runs tests for the MySQL, PostgreSQL, and
8315 ;; SQLite backends. Since we only have Haskell packages for
8316 ;; SQLite, we remove the other two test suites. FIXME: Add the
8317 ;; other backends and run all three test suites.
8318 (add-before 'configure 'remove-non-sqlite-test-suites
8320 (use-modules (ice-9 rdelim))
8321 (with-atomic-file-replacement "esqueleto.cabal"
8323 (let loop ((line (read-line in 'concat)) (deleting? #f))
8325 ((eof-object? line) #t)
8326 ((string-every char-set:whitespace line)
8327 (unless deleting? (display line out))
8328 (loop (read-line in 'concat) #f))
8329 ((member line '("test-suite mysql\n"
8330 "test-suite postgresql\n"))
8331 (loop (read-line in 'concat) #t))
8333 (unless deleting? (display line out))
8334 (loop (read-line in 'concat) deleting?)))))))))))
8336 `(("ghc-blaze-html" ,ghc-blaze-html)
8337 ("ghc-conduit" ,ghc-conduit)
8338 ("ghc-monad-logger" ,ghc-monad-logger)
8339 ("ghc-persistent" ,ghc-persistent)
8340 ("ghc-resourcet" ,ghc-resourcet)
8341 ("ghc-tagged" ,ghc-tagged)
8342 ("ghc-unliftio" ,ghc-unliftio)
8343 ("ghc-unordered-containers" ,ghc-unordered-containers)))
8345 `(("ghc-hspec" ,ghc-hspec)
8346 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
8347 ("ghc-persistent-template" ,ghc-persistent-template)))
8348 (home-page "https://github.com/bitemyapp/esqueleto")
8349 (synopsis "Type-safe embedded domain specific language for SQL queries")
8350 (description "This library provides a type-safe embedded domain specific
8351 language (EDSL) for SQL queries that works with SQL backends as provided by
8352 @code{ghc-persistent}. Its language closely resembles SQL, so you don't have
8353 to learn new concepts, just new syntax, and it's fairly easy to predict the
8354 generated SQL and optimize it for your backend.")
8355 (license license:bsd-3))))
8357 (define-public shellcheck
8365 "https://hackage.haskell.org/package/ShellCheck/ShellCheck-"
8369 "0z1hscbr11hwkq8k1v0vaa947hb9m6k4cm831jk1gpj8dxrk151b"))
8370 (file-name (string-append name "-" version ".tar.gz"))))
8371 (build-system haskell-build-system)
8373 `(("ghc-aeson" ,ghc-aeson)
8374 ("ghc-quickcheck" ,ghc-quickcheck)
8375 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
8376 (home-page "https://github.com/koalaman/shellcheck")
8377 (synopsis "Static analysis for shell scripts")
8378 (description "@code{shellcheck} provides static analysis for
8379 @command{bash} and @command{sh} shell scripts.
8380 It gives warnings and suggestions in order to:
8383 @item Point out and clarify typical beginner's syntax issues that cause
8384 a shell to give cryptic error messages.
8385 @item Point out and clarify typical intermediate level semantic problems
8386 that cause a shell to behave strangely and counter-intuitively.
8387 @item Point out subtle caveats, corner cases and pitfalls that may cause an
8388 advanced user's otherwise working script to fail under future circumstances.
8390 (license license:gpl3+)))
8392 (define-public ghc-simple-sendfile
8394 (name "ghc-simple-sendfile")
8399 (uri (string-append "https://hackage.haskell.org/package/"
8400 "simple-sendfile-" version "/"
8401 "simple-sendfile-" version ".tar.gz"))
8404 "1bwwqzcm56m2w4ymsa054sxmpbj76h9pvb0jf8zxp8lr41cp51gn"))))
8405 (build-system haskell-build-system)
8407 `(("ghc-conduit" ,ghc-conduit)
8408 ("ghc-conduit-extra" ,ghc-conduit-extra)
8409 ("ghc-network" ,ghc-network)
8410 ("ghc-resourcet" ,ghc-resourcet)))
8412 `(("ghc-hspec" ,ghc-hspec)
8413 ("hspec-discover" ,hspec-discover)))
8414 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
8415 (synopsis "Cross platform library for the sendfile system call")
8416 (description "This library tries to call minimum system calls which
8417 are the bottleneck of web servers.")
8418 (license license:bsd-3)))
8420 (define-public ghc-hex
8427 (uri (string-append "https://hackage.haskell.org/package/"
8429 "hex-" version ".tar.gz"))
8432 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
8433 (build-system haskell-build-system)
8434 (home-page "https://hackage.haskell.org/package/hex")
8435 (synopsis "Convert strings into hexadecimal and back")
8436 (description "This package provides conversion functions between
8437 bytestrings and their hexademical representation.")
8438 (license license:bsd-3)))
8440 (define-public ghc-psqueues
8442 (name "ghc-psqueues")
8447 (uri (string-append "https://hackage.haskell.org/package/"
8448 "psqueues-" version "/"
8449 "psqueues-" version ".tar.gz"))
8452 "1sjgc9bxh63kkdp59nbirx3xazr02ia5yhp4f4a0jnq1hj465wsc"))))
8453 (build-system haskell-build-system)
8455 `(("ghc-hashable" ,ghc-hashable)))
8457 `(("ghc-hunit" ,ghc-hunit)
8458 ("ghc-quickcheck" ,ghc-quickcheck)
8459 ("ghc-tagged" ,ghc-tagged)
8460 ("ghc-test-framework" ,ghc-test-framework)
8461 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8462 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8463 (home-page "https://github.com/jaspervdj/psqueues")
8464 (synopsis "Pure priority search queues")
8465 (description "The psqueues package provides
8466 @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
8467 three different flavors:
8470 @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
8471 fast insertion, deletion and lookup. This implementation is based on Ralf
8472 Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
8473 Implementation Technique for Priority Search Queues}.
8475 Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
8476 PSQueue} library, although it is considerably faster and provides a slightly
8479 @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
8480 key type to @code{Int} and uses a
8481 @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
8482 with an additional min-heap property.
8484 @item @code{HashPSQ k p v} is a fairly straightforward extension
8485 of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
8486 @code{IntPSQ}. If there are any hash collisions, it uses an
8487 @code{OrdPSQ} to resolve those. The performance of this implementation
8488 is comparable to that of @code{IntPSQ}, but it is more widely
8489 applicable since the keys are not restricted to @code{Int},
8490 but rather to any @code{Hashable} datatype.
8493 Each of the three implementations provides the same API, so they can
8494 be used interchangeably.
8496 Typical applications of Priority Search Queues include:
8499 @item Caches, and more specifically LRU Caches;
8501 @item Pathfinding algorithms, such as Dijkstra's and A*.
8503 (license license:bsd-3)))
8505 (define-public ghc-glob
8512 (uri (string-append "https://hackage.haskell.org/package/"
8514 "Glob-" version ".tar.gz"))
8517 "1rbwcq9w9951qsnp13vqcm9r01yax2yh1wk8s4zxa3ckk9717iwg"))))
8518 (build-system haskell-build-system)
8520 `(("ghc-dlist" ,ghc-dlist)
8521 ("ghc-semigroups" ,ghc-semigroups)
8522 ("ghc-transformers-compat" ,ghc-transformers-compat)))
8524 `(("ghc-hunit" ,ghc-hunit)
8525 ("ghc-quickcheck" ,ghc-quickcheck)
8526 ("ghc-test-framework" ,ghc-test-framework)
8527 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8528 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8529 (home-page "http://iki.fi/matti.niemenmaa/glob/")
8530 (synopsis "Haskell library matching glob patterns against file paths")
8531 (description "This package provides a Haskell library for @dfn{globbing}:
8532 matching patterns against file paths.")
8533 (license license:bsd-3)))
8535 (define-public ghc-errors
8542 (uri (string-append "https://hackage.haskell.org/package/"
8543 "errors-" version "/"
8544 "errors-" version ".tar.gz"))
8547 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
8548 (build-system haskell-build-system)
8550 `(("ghc-exceptions" ,ghc-exceptions)
8551 ("ghc-transformers-compat" ,ghc-transformers-compat)
8552 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
8553 ("ghc-safe" ,ghc-safe)))
8554 (home-page "https://github.com/gabriel439/haskell-errors-library")
8555 (synopsis "Error handling library for Haskell")
8556 (description "This library encourages an error-handling style that
8557 directly uses the type system, rather than out-of-band exceptions.")
8558 (license license:bsd-3)))
8560 (define-public ghc-vector-th-unbox
8562 (name "ghc-vector-th-unbox")
8567 (uri (string-append "https://hackage.haskell.org/package/"
8568 "vector-th-unbox-" version "/"
8569 "vector-th-unbox-" version ".tar.gz"))
8572 "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy"))))
8573 (build-system haskell-build-system)
8575 `(("ghc-vector" ,ghc-vector)
8576 ("ghc-data-default" ,ghc-data-default)))
8577 (home-page "https://github.com/liyang/vector-th-unbox")
8578 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
8579 (description "This Haskell library provides a Template Haskell
8580 deriver for unboxed vectors, given a pair of coercion functions to
8581 and from some existing type with an Unbox instance.")
8582 (license license:bsd-3)))
8584 (define-public ghc-erf
8591 (uri (string-append "https://hackage.haskell.org/package/"
8593 "erf-" version ".tar.gz"))
8596 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
8597 (build-system haskell-build-system)
8598 (home-page "https://hackage.haskell.org/package/erf")
8599 (synopsis "The error function, erf, and related functions for Haskell")
8600 (description "This Haskell library provides a type class for the
8601 error function, erf, and related functions. Instances for Float and
8603 (license license:bsd-3)))
8605 (define-public ghc-math-functions
8607 (name "ghc-math-functions")
8612 (uri (string-append "https://hackage.haskell.org/package/"
8613 "math-functions-" version "/"
8614 "math-functions-" version ".tar.gz"))
8617 "1sv5vabsx332v1lpb6v3jv4zrzvpx1n7yprzd8wlcda5vsc5a6zp"))))
8618 (build-system haskell-build-system)
8619 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
8621 `(("ghc-vector" ,ghc-vector)
8622 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
8624 `(("ghc-hunit" ,ghc-hunit)
8625 ("ghc-quickcheck" ,ghc-quickcheck)
8626 ("ghc-erf" ,ghc-erf)
8627 ("ghc-test-framework" ,ghc-test-framework)
8628 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8629 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8630 (home-page "https://github.com/bos/math-functions")
8631 (synopsis "Special functions and Chebyshev polynomials for Haskell")
8632 (description "This Haskell library provides implementations of
8633 special mathematical functions and Chebyshev polynomials. These
8634 functions are often useful in statistical and numerical computing.")
8635 (license license:bsd-3)))
8637 (define-public ghc-mwc-random
8639 (name "ghc-mwc-random")
8640 (version "0.13.6.0")
8644 (uri (string-append "https://hackage.haskell.org/package/"
8645 "mwc-random-" version "/"
8646 "mwc-random-" version ".tar.gz"))
8649 "05j7yh0hh9nxic3dijmzv44kc6gzclvamdph7sq7w19wq57k6pq6"))))
8650 (build-system haskell-build-system)
8652 `(("ghc-primitive" ,ghc-primitive)
8653 ("ghc-vector" ,ghc-vector)
8654 ("ghc-math-functions" ,ghc-math-functions)))
8656 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8658 `(("ghc-hunit" ,ghc-hunit)
8659 ("ghc-quickcheck" ,ghc-quickcheck)
8660 ("ghc-test-framework" ,ghc-test-framework)
8661 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8662 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8663 (home-page "https://github.com/bos/mwc-random")
8664 (synopsis "Random number generation library for Haskell")
8665 (description "This Haskell package contains code for generating
8666 high quality random numbers that follow either a uniform or normal
8667 distribution. The generated numbers are suitable for use in
8668 statistical applications.
8670 The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
8671 multiply-with-carry generator, which has a period of 2^{8222} and
8672 fares well in tests of randomness. It is also extremely fast,
8673 between 2 and 3 times faster than the Mersenne Twister.")
8674 (license license:bsd-3)))
8676 (define-public ghc-vector-algorithms
8678 (name "ghc-vector-algorithms")
8683 (uri (string-append "https://hackage.haskell.org/package/"
8684 "vector-algorithms-" version "/"
8685 "vector-algorithms-" version ".tar.gz"))
8688 "0mfa8ig9v69l41p2vb5jl4qmaln5y1rlzarr2mlgm8g1nvq8qqdg"))))
8689 (build-system haskell-build-system)
8691 `(("ghc-vector" ,ghc-vector)))
8693 `(("ghc-quickcheck" ,ghc-quickcheck)))
8694 (home-page "https://github.com/bos/math-functions")
8695 (synopsis "Algorithms for vector arrays in Haskell")
8696 (description "This Haskell library algorithms for vector arrays.")
8697 (license license:bsd-3)))
8699 (define-public ghc-language-haskell-extract
8701 (name "ghc-language-haskell-extract")
8706 (uri (string-append "https://hackage.haskell.org/package/"
8707 "language-haskell-extract-" version "/"
8708 "language-haskell-extract-" version ".tar.gz"))
8711 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
8712 (build-system haskell-build-system)
8714 `(("ghc-regex-posix" ,ghc-regex-posix)))
8715 (home-page "https://github.com/finnsson/template-helper")
8716 (synopsis "Haskell module to automatically extract functions from
8718 (description "This package contains helper functions on top of
8721 For example, @code{functionExtractor} extracts all functions after a
8722 regexp-pattern, which can be useful if you wish to extract all functions
8723 beginning with @code{test} (for a test framework) or all functions beginning
8724 with @code{wc} (for a web service).")
8725 (license license:bsd-3)))
8727 (define-public ghc-abstract-par
8729 (name "ghc-abstract-par")
8734 (uri (string-append "https://hackage.haskell.org/package/"
8735 "abstract-par-" version "/"
8736 "abstract-par-" version ".tar.gz"))
8739 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
8740 (build-system haskell-build-system)
8741 (home-page "https://github.com/simonmar/monad-par")
8742 (synopsis "Abstract parallelization interface for Haskell")
8743 (description "This Haskell package is an abstract interface
8744 only. It provides a number of type clasess, but not an
8745 implementation. The type classes separate different levels
8746 of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
8747 module for more details.")
8748 (license license:bsd-3)))
8750 (define-public ghc-monad-par-extras
8752 (name "ghc-monad-par-extras")
8757 (uri (string-append "https://hackage.haskell.org/package/"
8758 "monad-par-extras-" version "/"
8759 "monad-par-extras-" version ".tar.gz"))
8762 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
8763 (build-system haskell-build-system)
8764 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8765 ("ghc-cereal" ,ghc-cereal)
8766 ("ghc-random" ,ghc-random)))
8767 (home-page "https://github.com/simonmar/monad-par")
8768 (synopsis "Combinators and extra features for Par monads for Haskell")
8769 (description "This Haskell package provides additional data structures,
8770 and other added capabilities layered on top of the @code{Par} monad.")
8771 (license license:bsd-3)))
8773 (define-public ghc-abstract-deque
8775 (name "ghc-abstract-deque")
8780 (uri (string-append "https://hackage.haskell.org/package/"
8781 "abstract-deque-" version "/"
8782 "abstract-deque-" version ".tar.gz"))
8785 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
8786 (build-system haskell-build-system)
8787 (inputs `(("ghc-random" ,ghc-random)))
8788 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
8789 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
8790 (description "This Haskell package provides an abstract interface to
8791 highly-parameterizable queues/deques.
8793 Background: There exists a feature space for queues that extends between:
8796 @item Simple, single-ended, non-concurrent, bounded queues
8798 @item Double-ended, thread-safe, growable queues with important points
8799 in between (such as the queues used for work stealing).
8802 This package includes an interface for Deques that allows the programmer
8803 to use a single API for all of the above, while using the type system to
8804 select an efficient implementation given the requirements (using type families).
8806 This package also includes a simple reference implementation based on
8807 @code{IORef} and @code{Data.Sequence}.")
8808 (license license:bsd-3)))
8810 (define-public ghc-monad-par
8812 (name "ghc-monad-par")
8817 (uri (string-append "https://hackage.haskell.org/package/"
8818 "monad-par-" version "/"
8819 "monad-par-" version ".tar.gz"))
8822 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
8823 (build-system haskell-build-system)
8824 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8825 ("ghc-abstract-deque" ,ghc-abstract-deque)
8826 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
8827 ("ghc-mwc-random" ,ghc-mwc-random)
8828 ("ghc-parallel" ,ghc-parallel)))
8829 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
8830 ("ghc-hunit" ,ghc-hunit)
8831 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8832 ("ghc-test-framework-quickcheck2"
8833 ,ghc-test-framework-quickcheck2)
8834 ("ghc-test-framework" ,ghc-test-framework)
8835 ("ghc-test-framework-th" ,ghc-test-framework-th)))
8836 (home-page "https://github.com/simonmar/monad-par")
8837 (synopsis "Haskell library for parallel programming based on a monad")
8838 (description "The @code{Par} monad offers an API for parallel
8839 programming. The library works for parallelising both pure and @code{IO}
8840 computations, although only the pure version is deterministic. The default
8841 implementation provides a work-stealing scheduler and supports forking tasks
8842 that are much lighter weight than IO-threads.")
8843 (license license:bsd-3)))
8845 (define-public ghc-statistics
8847 (name "ghc-statistics")
8848 (version "0.14.0.2")
8852 (uri (string-append "https://hackage.haskell.org/package/"
8853 "statistics-" version "/"
8854 "statistics-" version ".tar.gz"))
8857 "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l"))))
8858 (build-system haskell-build-system)
8861 ("2" "1bx70yqkn62ii17fjv3pig4hklrzkqd09zj67zzjiyjzmn04fir3")
8862 ;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse".
8865 `(("ghc-aeson" ,ghc-aeson)
8866 ("ghc-base-orphans" ,ghc-base-orphans)
8867 ("ghc-erf" ,ghc-erf)
8868 ("ghc-math-functions" ,ghc-math-functions)
8869 ("ghc-monad-par" ,ghc-monad-par)
8870 ("ghc-mwc-random" ,ghc-mwc-random)
8871 ("ghc-primitive" ,ghc-primitive)
8872 ("ghc-vector" ,ghc-vector)
8873 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
8874 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
8875 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
8877 `(("ghc-hunit" ,ghc-hunit)
8878 ("ghc-quickcheck" ,ghc-quickcheck)
8879 ("ghc-ieee754" ,ghc-ieee754)
8880 ("ghc-test-framework" ,ghc-test-framework)
8881 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8882 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8883 (home-page "https://github.com/bos/mwc-random")
8884 (synopsis "Haskell library of statistical types, data, and functions")
8885 (description "This library provides a number of common functions
8886 and types useful in statistics. We focus on high performance, numerical
8887 robustness, and use of good algorithms. Where possible, we provide references
8888 to the statistical literature.
8890 The library's facilities can be divided into four broad categories:
8893 @item Working with widely used discrete and continuous probability
8894 distributions. (There are dozens of exotic distributions in use; we focus
8895 on the most common.)
8897 @item Computing with sample data: quantile estimation, kernel density
8898 estimation, histograms, bootstrap methods, significance testing,
8899 and regression and autocorrelation analysis.
8901 @item Random variate generation under several different distributions.
8903 @item Common statistical tests for significant differences between samples.
8905 (license license:bsd-2)))
8907 (define-public ghc-chunked-data
8909 (name "ghc-chunked-data")
8914 (uri (string-append "https://hackage.haskell.org/package/"
8915 "chunked-data-" version "/"
8916 "chunked-data-" version ".tar.gz"))
8919 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
8920 (build-system haskell-build-system)
8921 (inputs `(("ghc-vector" ,ghc-vector)
8922 ("ghc-semigroups" ,ghc-semigroups)))
8923 (home-page "https://github.com/snoyberg/mono-traversable")
8924 (synopsis "Typeclasses for dealing with various chunked data
8925 representations for Haskell")
8926 (description "This Haskell package was originally present in
8928 (license license:expat)))
8930 (define-public ghc-base-prelude
8932 (name "ghc-base-prelude")
8937 (uri (string-append "https://hackage.haskell.org/package/"
8938 "base-prelude-" version "/"
8939 "base-prelude-" version ".tar.gz"))
8942 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
8943 (build-system haskell-build-system)
8944 (home-page "https://github.com/nikita-volkov/base-prelude")
8945 (synopsis "The most complete prelude formed solely from the Haskell's base
8947 (description "This Haskell package aims to reexport all the non-conflicting
8948 and most general definitions from the \"base\" package.
8950 This includes APIs for applicatives, arrows, monoids, foldables, traversables,
8951 exceptions, generics, ST, MVars and STM.
8953 This package will never have any dependencies other than \"base\".
8957 The versioning policy of this package deviates from PVP in the sense
8958 that its exports in part are transitively determined by the version of \"base\".
8959 Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
8960 the bounds of \"base\" as well.")
8961 (license license:expat)))
8963 (define-public ghc-tuple-th
8965 (name "ghc-tuple-th")
8970 (uri (string-append "https://hackage.haskell.org/package/"
8971 "tuple-th-" version "/"
8972 "tuple-th-" version ".tar.gz"))
8975 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
8976 (build-system haskell-build-system)
8977 (home-page "https://github.com/DanielSchuessler/tuple-th")
8978 (synopsis "Generate utility functions for tuples of statically known size
8980 (description "This Haskell package contains Template Haskell functions for
8981 generating functions similar to those in @code{Data.List} for tuples of
8982 statically known size.")
8983 (license license:bsd-3)))
8985 (define-public ghc-contravariant-extras
8987 (name "ghc-contravariant-extras")
8992 (uri (string-append "https://hackage.haskell.org/package/"
8993 "contravariant-extras-" version "/"
8994 "contravariant-extras-" version ".tar.gz"))
8997 "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n"))))
8998 (build-system haskell-build-system)
9000 `(("ghc-tuple-th" ,ghc-tuple-th)
9001 ("ghc-contravariant" ,ghc-contravariant)
9002 ("ghc-base-prelude" ,ghc-base-prelude)
9003 ("ghc-semigroups" ,ghc-semigroups)))
9004 (home-page "https://github.com/nikita-volkov/contravariant-extras")
9005 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
9006 (description "This Haskell package provides extras for the
9007 @code{ghc-contravariant} package.")
9008 (license license:expat)))
9010 (define-public ghc-monadrandom
9012 (name "ghc-monadrandom")
9017 (uri (string-append "https://hackage.haskell.org/package/"
9018 "MonadRandom-" version "/"
9019 "MonadRandom-" version ".tar.gz"))
9022 "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb"))))
9023 (build-system haskell-build-system)
9024 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
9025 ("ghc-primitive" ,ghc-primitive)
9026 ("ghc-fail" ,ghc-fail)
9027 ("ghc-random" ,ghc-random)))
9028 (home-page "https://github.com/byorgey/MonadRandom")
9029 (synopsis "Random-number generation monad for Haskell")
9030 (description "This Haskell package provides support for computations
9031 which consume random values.")
9032 (license license:bsd-3)))
9034 (define-public ghc-either
9041 (uri (string-append "https://hackage.haskell.org/package/"
9042 "either-" version "/"
9043 "either-" version ".tar.gz"))
9046 "064hjfld7dkzs78sy30k5qkiva3hx24rax6dvzz5ygr2c0zypdkc"))))
9047 (build-system haskell-build-system)
9048 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
9049 ("ghc-exceptions" ,ghc-exceptions)
9050 ("ghc-free" ,ghc-free)
9051 ("ghc-monad-control" ,ghc-monad-control)
9052 ("ghc-manodrandom" ,ghc-monadrandom)
9053 ("ghc-mmorph" ,ghc-mmorph)
9054 ("ghc-profunctors" ,ghc-profunctors)
9055 ("ghc-semigroups" ,ghc-semigroups)
9056 ("ghc-semigroupoids" ,ghc-semigroupoids)
9057 ("ghc-transformers-base" ,ghc-transformers-base)))
9059 `(("ghc-quickcheck" ,ghc-quickcheck)
9060 ("ghc-test-framework" ,ghc-test-framework)
9061 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
9062 (home-page "https://github.com/ekmett/either")
9063 (synopsis "Provides an either monad transformer for Haskell")
9064 (description "This Haskell package provides an either monad transformer.")
9065 (license license:bsd-3)))
9067 (define-public ghc-pretty-hex
9069 (name "ghc-pretty-hex")
9074 (uri (string-append "https://hackage.haskell.org/package/"
9075 "pretty-hex-" version "/"
9076 "pretty-hex-" version ".tar.gz"))
9079 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
9080 (build-system haskell-build-system)
9081 (home-page "https://github.com/GaloisInc/hexdump")
9082 (synopsis "Haskell library for hex dumps of ByteStrings")
9083 (description "This Haskell library generates pretty hex dumps of
9084 ByteStrings in the style of other common *nix hex dump tools.")
9085 (license license:bsd-3)))
9087 (define-public ghc-network-info
9089 (name "ghc-network-info")
9090 (version "0.2.0.10")
9094 (uri (string-append "https://hackage.haskell.org/package/"
9095 "network-info-" version "/"
9096 "network-info-" version ".tar.gz"))
9099 "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n"))))
9100 (build-system haskell-build-system)
9101 (home-page "https://github.com/jystic/network-info")
9102 (synopsis "Access the local computer's basic network configuration")
9103 (description "This Haskell library provides simple read-only access to the
9104 local computer's networking configuration. It is currently capable of
9105 getting a list of all the network interfaces and their respective
9106 IPv4, IPv6 and MAC addresses.")
9107 (license license:bsd-3)))
9109 (define-public ghc-uuid-types
9111 (name "ghc-uuid-types")
9116 (uri (string-append "https://hackage.haskell.org/package/"
9117 "uuid-types-" version "/"
9118 "uuid-types-" version ".tar.gz"))
9121 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
9122 (build-system haskell-build-system)
9125 (modify-phases %standard-phases
9126 (add-before 'configure 'strip-test-framework-constraints
9128 (substitute* "uuid-types.cabal"
9129 (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
9130 (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
9131 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
9132 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
9133 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
9134 (inputs `(("ghc-hashable" ,ghc-hashable)
9135 ("ghc-random" ,ghc-random)))
9136 (native-inputs `(("ghc-hunit" ,ghc-hunit)
9137 ("ghc-quickcheck" ,ghc-quickcheck)
9138 ("ghc-tasty" ,ghc-tasty)
9139 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9140 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
9141 (home-page "https://github.com/hvr/uuid")
9142 (synopsis "Haskell type definitions for UUIDs")
9143 (description "This Haskell library contains type definitions for
9144 @dfn{Universally Unique Identifiers} or
9145 @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
9147 (license license:bsd-3)))
9149 (define-public ghc-uuid
9156 (uri (string-append "https://hackage.haskell.org/package/"
9158 "uuid-" version ".tar.gz"))
9161 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
9162 (build-system haskell-build-system)
9165 ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
9167 (modify-phases %standard-phases
9168 (add-before 'configure 'strip-test-framework-constraints
9170 (substitute* "uuid.cabal"
9171 (("HUnit >= 1\\.2 && < 1\\.4") "HUnit")
9172 (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck")
9173 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
9174 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
9175 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
9176 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
9177 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
9178 ("ghc-entropy" ,ghc-entropy)
9179 ("ghc-network-info" ,ghc-network-info)
9180 ("ghc-random" ,ghc-random)
9181 ("ghc-uuid-types" ,ghc-uuid-types)))
9182 (native-inputs `(("ghc-hunit" ,ghc-hunit)
9183 ("ghc-quickcheck" ,ghc-quickcheck)
9184 ("ghc-tasty" ,ghc-tasty)
9185 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9186 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
9187 (home-page "https://github.com/hvr/uuid")
9188 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
9189 (description "This Haskell library provides utilities creating, comparing,
9190 parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
9191 (license license:bsd-3)))
9193 (define-public ghc-rebase
9200 (uri (string-append "https://hackage.haskell.org/package/"
9201 "rebase-" version "/"
9202 "rebase-" version ".tar.gz"))
9205 "1gah2qwfpzwamnikbc5h4nv6dgvv9h16di9ka7946za3nibyasya"))))
9206 (build-system haskell-build-system)
9207 (inputs `(("ghc-hashable" ,ghc-hashable)
9208 ("ghc-vector" ,ghc-vector)
9209 ("ghc-unordered-containers" ,ghc-unordered-containers)
9210 ("ghc-scientific" ,ghc-scientific)
9211 ("ghc-uuid" ,ghc-uuid)
9212 ("ghc-dlist" ,ghc-dlist)
9213 ("ghc-void" ,ghc-void)
9214 ("ghc-bifunctors" ,ghc-bifunctors)
9215 ("ghc-profunctors" ,ghc-profunctors)
9216 ("ghc-contravariant" ,ghc-contravariant)
9217 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
9218 ("ghc-semigroups" ,ghc-semigroups)
9219 ("ghc-either" ,ghc-either)
9220 ("ghc-fail" ,ghc-fail)
9221 ("ghc-base-prelude" ,ghc-base-prelude)))
9222 (home-page "https://github.com/nikita-volkov/rebase")
9223 (synopsis "Progressive alternative to the base package
9225 (description "This Haskell package is intended for those who are
9226 tired of keeping long lists of dependencies to the same essential libraries
9227 in each package as well as the endless imports of the same APIs all over again.
9229 It also supports the modern tendencies in the language.
9231 To solve those problems this package does the following:
9234 @item Reexport the original APIs under the @code{Rebase} namespace.
9236 @item Export all the possible non-conflicting symbols from the
9237 @code{Rebase.Prelude} module.
9239 @item Give priority to the modern practices in the conflicting cases.
9242 The policy behind the package is only to reexport the non-ambiguous and
9243 non-controversial APIs, which the community has obviously settled on.
9244 The package is intended to rapidly evolve with the contribution from
9245 the community, with the missing features being added with pull-requests.")
9246 (license license:expat)))
9248 (define-public ghc-rerebase
9250 (name "ghc-rerebase")
9256 "https://hackage.haskell.org/package/rerebase/rerebase-"
9260 "11v6rmz7ql2rdx6mhb3lsal952lwihclfhh0m7fcnii5br0906ks"))))
9261 (build-system haskell-build-system)
9263 `(("ghc-rebase" ,ghc-rebase)))
9264 (home-page "https://github.com/nikita-volkov/rerebase")
9265 (synopsis "Reexports from ``base'' with many other standard libraries")
9266 (description "A rich drop-in replacement for @code{base}. For details and
9267 documentation please visit @uref{https://github.com/nikita-volkov/rerebase,
9268 the project's home page}.")
9269 (license license:expat)))
9271 (define-public ghc-vector-builder
9273 (name "ghc-vector-builder")
9278 (uri (string-append "https://hackage.haskell.org/package/"
9279 "vector-builder-" version "/"
9280 "vector-builder-" version ".tar.gz"))
9283 "06d2pa1fb3ydrl7l6rjazqyxv5i73v65x2f5fp0ypjxfbm6jsmn8"))))
9284 (build-system haskell-build-system)
9285 (inputs `(("ghc-vector" ,ghc-vector)
9286 ("ghc-semigroups" ,ghc-semigroups)
9287 ("ghc-base-prelude" ,ghc-base-prelude)))
9288 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9289 ("ghc-tasty" ,ghc-tasty)
9290 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9291 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9292 ("ghc-hunit" ,ghc-hunit)
9293 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9294 ("ghc-rerebase" ,ghc-rerebase)))
9295 (home-page "https://github.com/nikita-volkov/vector-builder")
9296 (synopsis "Vector builder for Haskell")
9297 (description "This Haskell package provides an API for constructing vectors.
9298 It provides the composable @code{Builder} abstraction, which has instances of the
9299 @code{Monoid} and @code{Semigroup} classes.
9301 You would first use the @code{Builder} abstraction to specify the structure of
9302 the vector; then you can execute the builder to actually produce the
9304 (license license:expat)))
9306 (define-public ghc-foldl
9313 (uri (string-append "https://hackage.haskell.org/package/"
9314 "foldl-" version "/"
9315 "foldl-" version ".tar.gz"))
9318 "13n0ca3hw5jzqf6rxsdbhbwkn61a9zlm13f0f205s60j3sc72jzk"))))
9319 (build-system haskell-build-system)
9320 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
9321 ("ghc-primitive" ,ghc-primitive)
9322 ("ghc-vector" ,ghc-vector)
9323 ("ghc-unordered-containers" ,ghc-unordered-containers)
9324 ("ghc-hashable" ,ghc-hashable)
9325 ("ghc-contravariant" ,ghc-contravariant)
9326 ("ghc-semigroups" ,ghc-semigroups)
9327 ("ghc-profunctors" ,ghc-profunctors)
9328 ("ghc-semigroupoids" ,ghc-semigroupoids)
9329 ("ghc-comonad" ,ghc-comonad)
9330 ("ghc-vector-builder" ,ghc-vector-builder)))
9331 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
9332 (synopsis "Composable, streaming, and efficient left folds for Haskell")
9333 (description "This Haskell library provides strict left folds that stream
9334 in constant memory, and you can combine folds using @code{Applicative} style
9335 to derive new folds. Derived folds still traverse the container just once
9336 and are often as efficient as hand-written folds.")
9337 (license license:bsd-3)))
9339 (define-public ghc-mono-traversable
9341 (name "ghc-mono-traversable")
9346 (uri (string-append "https://hackage.haskell.org/package/"
9347 "mono-traversable-" version "/"
9348 "mono-traversable-" version ".tar.gz"))
9351 "0180ks0dyvpk1r20w5jw2w2n79mjnk69n9vhspaxzlyxqgim5psa"))))
9352 (build-system haskell-build-system)
9353 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
9354 ("ghc-hashable" ,ghc-hashable)
9355 ("ghc-vector" ,ghc-vector)
9356 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
9357 ("ghc-split" ,ghc-split)))
9358 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9359 ("ghc-hunit" ,ghc-hunit)
9360 ("ghc-quickcheck" ,ghc-quickcheck)
9361 ("ghc-semigroups" ,ghc-semigroups)
9362 ("ghc-foldl" ,ghc-foldl)))
9363 (home-page "https://github.com/snoyberg/mono-traversable")
9364 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
9366 (description "This Haskell package provides Monomorphic variants of the
9367 Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
9368 basic typeclasses, you understand mono-traversable. In addition to what
9369 you are used to, it adds on an IsSequence typeclass and has code for marking
9370 data structures as non-empty.")
9371 (license license:expat)))
9373 (define-public ghc-conduit-combinators
9375 (name "ghc-conduit-combinators")
9380 (uri (string-append "https://hackage.haskell.org/package/"
9381 "conduit-combinators-" version "/"
9382 "conduit-combinators-" version ".tar.gz"))
9385 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
9386 (build-system haskell-build-system)
9387 (inputs `(("ghc-conduit" ,ghc-conduit)
9388 ("ghc-conduit-extra" ,ghc-conduit-extra)
9389 ("ghc-transformers-base" ,ghc-transformers-base)
9390 ("ghc-primitive" ,ghc-primitive)
9391 ("ghc-vector" ,ghc-vector)
9392 ("ghc-void" ,ghc-void)
9393 ("ghc-mwc-random" ,ghc-mwc-random)
9394 ("ghc-unix-compat" ,ghc-unix-compat)
9395 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9396 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9397 ("ghc-resourcet" ,ghc-resourcet)
9398 ("ghc-monad-control" ,ghc-monad-control)
9399 ("ghc-chunked-data" ,ghc-chunked-data)
9400 ("ghc-mono-traversable" ,ghc-mono-traversable)))
9401 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9402 ("ghc-silently" ,ghc-silently)
9403 ("ghc-safe" ,ghc-safe)
9404 ("ghc-quickcheck" ,ghc-quickcheck)))
9405 (home-page "https://github.com/snoyberg/mono-traversable")
9406 (synopsis "Commonly used conduit functions, for both chunked and
9408 (description "This Haskell package provides a replacement for Data.Conduit.List,
9409 as well as a convenient Conduit module.")
9410 (license license:expat)))
9412 (define-public ghc-aws
9419 (uri (string-append "https://hackage.haskell.org/package/"
9420 "aws-" version "/aws-" version ".tar.gz"))
9422 "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0"))))
9423 (build-system haskell-build-system)
9424 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
9426 `(("ghc-aeson" ,ghc-aeson)
9427 ("ghc-attoparsec" ,ghc-attoparsec)
9428 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9429 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9430 ("ghc-blaze-builder" ,ghc-blaze-builder)
9431 ("ghc-byteable" ,ghc-byteable)
9432 ("ghc-case-insensitive" ,ghc-case-insensitive)
9433 ("ghc-cereal" ,ghc-cereal)
9434 ("ghc-conduit" ,ghc-conduit)
9435 ("ghc-conduit-extra" ,ghc-conduit-extra)
9436 ("ghc-cryptonite" ,ghc-cryptonite)
9437 ("ghc-data-default" ,ghc-data-default)
9438 ("ghc-http-conduit" ,ghc-http-conduit)
9439 ("ghc-http-types" ,ghc-http-types)
9440 ("ghc-lifted-base" ,ghc-lifted-base)
9441 ("ghc-monad-control" ,ghc-monad-control)
9442 ("ghc-network" ,ghc-network)
9443 ("ghc-old-locale" ,ghc-old-locale)
9444 ("ghc-safe" ,ghc-safe)
9445 ("ghc-scientific" ,ghc-scientific)
9446 ("ghc-tagged" ,ghc-tagged)
9447 ("ghc-unordered-containers" ,ghc-unordered-containers)
9448 ("ghc-utf8-string" ,ghc-utf8-string)
9449 ("ghc-vector" ,ghc-vector)
9450 ("ghc-xml-conduit" ,ghc-xml-conduit)))
9452 `(("ghc-quickcheck" ,ghc-quickcheck)
9453 ("ghc-errors" ,ghc-errors)
9454 ("ghc-http-client" ,ghc-http-client)
9455 ("ghc-http-client-tls" ,ghc-http-client-tls)
9456 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9457 ("ghc-tasty" ,ghc-tasty)
9458 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9459 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9460 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
9461 (home-page "https://github.com/aristidb/aws")
9462 (synopsis "Amazon Web Services for Haskell")
9463 (description "This package attempts to provide support for using
9464 Amazon Web Services like S3 (storage), SQS (queuing) and others to
9465 Haskell programmers. The ultimate goal is to support all Amazon
9467 (license license:bsd-3)))
9469 (define-public ghc-basement
9471 (name "ghc-basement")
9476 (uri (string-append "https://hackage.haskell.org/package/"
9477 "basement/basement-" version ".tar.gz"))
9480 "194jw567di4q2758943q9rrwkbf9gl261my7qc21i9xhyabipx67"))))
9481 (build-system haskell-build-system)
9482 (home-page "https://github.com/haskell-foundation/foundation")
9483 (synopsis "Basic primitives for Foundation starter pack")
9485 "This package contains basic primitives for the Foundation set of
9487 (license license:bsd-3)))
9489 (define-public ghc-foundation
9491 (name "ghc-foundation")
9496 (uri (string-append "https://hackage.haskell.org/package/"
9497 "foundation/foundation-" version ".tar.gz"))
9500 "1q43y8wfj0wf9gdq2kzphwjwq6m5pvryy1lqgk954aq5z3ks1lsf"))))
9501 (build-system haskell-build-system)
9502 (inputs `(("ghc-basement" ,ghc-basement)))
9503 (home-page "https://github.com/haskell-foundation/foundation")
9504 (synopsis "Alternative prelude with batteries and no dependencies")
9506 "This package provides a custom prelude with no dependencies apart from
9509 Foundation has the following goals:
9512 @item provide a base like sets of modules that provide a consistent set of
9513 features and bugfixes across multiple versions of GHC (unlike base).
9514 @item provide a better and more efficient prelude than base's prelude.
9515 @item be self-sufficient: no external dependencies apart from base;
9516 @item provide better data-types: packed unicode string by default, arrays;
9517 @item Numerical classes that better represent mathematical things (no more
9518 all-in-one @code{Num});
9519 @item I/O system with less lazy IO.
9521 (license license:bsd-3)))
9523 (define-public ghc-stm-chans
9525 (name "ghc-stm-chans")
9530 (uri (string-append "https://hackage.haskell.org/package/"
9531 "stm-chans-" version "/"
9532 "stm-chans-" version ".tar.gz"))
9535 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
9536 (build-system haskell-build-system)
9537 (home-page "https://hackage.haskell.org/package/stm-chans")
9538 (synopsis "Additional types of channels for ghc-stm")
9539 (description "This Haskell package offers a collection of channel types,
9540 similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
9542 (license license:bsd-3)))
9544 (define-public ghc-monad-loops
9546 (name "ghc-monad-loops")
9551 (uri (string-append "https://hackage.haskell.org/package/"
9552 "monad-loops-" version "/"
9553 "monad-loops-" version ".tar.gz"))
9556 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
9557 (build-system haskell-build-system)
9558 (native-inputs `(("ghc-tasty" ,ghc-tasty)
9559 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9560 (home-page "https://github.com/mokus0/monad-loops")
9561 (synopsis "Monadic loops for Haskell")
9562 (description "This Haskell package provides some useful control
9563 operators for looping.")
9564 (license license:public-domain)))
9566 (define-public ghc-monad-logger
9568 (name "ghc-monad-logger")
9573 (uri (string-append "https://hackage.haskell.org/package/"
9574 "monad-logger-" version "/"
9575 "monad-logger-" version ".tar.gz"))
9578 "1z516s4pa9n94zf0l45mylssg07xr1d1m6zrz900p0iv3vfd07mv"))))
9579 (build-system haskell-build-system)
9580 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
9581 ("ghc-stm-chans" ,ghc-stm-chans)
9582 ("ghc-lifted-base" ,ghc-lifted-base)
9583 ("ghc-resourcet" ,ghc-resourcet)
9584 ("ghc-conduit" ,ghc-conduit)
9585 ("ghc-conduit-extra" ,ghc-conduit-extra)
9586 ("ghc-fast-logger" ,ghc-fast-logger)
9587 ("ghc-transformers-base" ,ghc-transformers-base)
9588 ("ghc-monad-control" ,ghc-monad-control)
9589 ("ghc-monad-loops" ,ghc-monad-loops)
9590 ("ghc-blaze-builder" ,ghc-blaze-builder)
9591 ("ghc-exceptions" ,ghc-exceptions)))
9592 (home-page "https://github.com/kazu-yamamoto/logger")
9593 (synopsis "Provides a class of monads which can log messages for Haskell")
9594 (description "This Haskell package uses a monad transformer approach
9597 This package provides Template Haskell functions for determining source
9598 code locations of messages.")
9599 (license license:expat)))
9601 (define-public ghc-shakespeare
9603 (name "ghc-shakespeare")
9608 (uri (string-append "https://hackage.haskell.org/package/"
9609 "shakespeare-" version "/"
9610 "shakespeare-" version ".tar.gz"))
9613 "1vk4b19zvwy4mpwaq9z3l3kfmz75gfyf7alhh0y112gspgpccm23"))))
9614 (build-system haskell-build-system)
9615 (inputs `(("ghc-aeson" ,ghc-aeson)
9616 ("ghc-blaze-markup" ,ghc-blaze-markup)
9617 ("ghc-blaze-html" ,ghc-blaze-html)
9618 ("ghc-exceptions" ,ghc-exceptions)
9619 ("ghc-vector" ,ghc-vector)
9620 ("ghc-unordered-containers" ,ghc-unordered-containers)
9621 ("ghc-scientific" ,ghc-scientific)))
9622 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9623 ("ghc-hunit" ,ghc-hunit)
9624 ("hspec-discover" ,hspec-discover)))
9625 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
9626 (synopsis "Family of type-safe template languages for Haskell")
9627 (description "This Haskell package provides a family of type-safe
9628 templates with simple variable interpolation. Shakespeare templates can
9629 be used inline with a quasi-quoter or in an external file and it
9630 interpolates variables according to the type being inserted.")
9631 (license license:expat)))
9633 (define-public ghc-securemem
9635 (name "ghc-securemem")
9640 (uri (string-append "https://hackage.haskell.org/package/"
9641 "securemem-" version "/"
9642 "securemem-" version ".tar.gz"))
9645 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
9646 (build-system haskell-build-system)
9647 (inputs `(("ghc-byteable" ,ghc-byteable)
9648 ("ghc-memory" ,ghc-memory)))
9649 (home-page "https://github.com/vincenthz/hs-securemem")
9650 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
9652 (description "SecureMem is similar to ByteString, except that it provides
9653 a memory chunk that will be auto-scrubbed after it run out of scope.")
9654 (license license:bsd-3)))
9656 (define-public ghc-resource-pool
9658 (name "ghc-resource-pool")
9663 (uri (string-append "https://hackage.haskell.org/package/"
9664 "resource-pool-" version "/"
9665 "resource-pool-" version ".tar.gz"))
9668 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
9669 (build-system haskell-build-system)
9670 (inputs `(("ghc-hashable" ,ghc-hashable)
9671 ("ghc-monad-control" ,ghc-monad-control)
9672 ("ghc-transformers-base" ,ghc-transformers-base)
9673 ("ghc-vector" ,ghc-vector)))
9674 (home-page "https://github.com/bos/pool")
9675 (synopsis "Striped resource pooling implementation in Haskell")
9676 (description "This Haskell package provides striped pooling abstraction
9677 for managing flexibly-sized collections of resources such as database
9679 (license license:bsd-3)))
9681 (define-public ghc-attoparsec-iso8601
9683 (name "ghc-attoparsec-iso8601")
9688 (uri (string-append "https://hackage.haskell.org/package/"
9689 "attoparsec-iso8601-" version "/"
9690 "attoparsec-iso8601-" version ".tar.gz"))
9693 "12l55b76bhya9q89mfmqmy6sl5v39b6gzrw5rf3f70vkb23nsv5a"))))
9694 (build-system haskell-build-system)
9697 ("1" "06f7pgmmc8456p3hc1y23kz1y127gfczy7s00wz1rls9g2sm2vi4")))
9698 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9699 ("ghc-base-compat" ,ghc-base-compat)))
9700 (home-page "https://github.com/bos/aeson")
9701 (synopsis "Parse ISO 8601 dates")
9702 (description "Haskell library for parsing of ISO 8601 dates, originally
9704 (license license:bsd-3)))
9706 (define-public ghc-generics-sop
9708 (name "ghc-generics-sop")
9713 (uri (string-append "https://hackage.haskell.org/package/"
9714 "generics-sop-" version "/"
9715 "generics-sop-" version ".tar.gz"))
9718 "168v62i845jh9jbfaz3ldz8svz4wmzq9mf2vhb7pxlnbkk8fqq1h"))))
9719 (build-system haskell-build-system)
9720 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)))
9721 (home-page "https://github.com/well-typed/generics-sop")
9722 (synopsis "Generic Programming using True Sums of Products for Haskell")
9723 (description "This Haskell package supports the definition of generic
9724 functions. Datatypes are viewed in a uniform, structured way: the choice
9725 between constructors is represented using an n-ary sum, and the arguments of
9726 each constructor are represented using an n-ary product.")
9727 (license license:bsd-3)))
9729 (define-public ghc-uri-bytestring
9731 (name "ghc-uri-bytestring")
9736 (uri (string-append "https://hackage.haskell.org/package/"
9737 "uri-bytestring-" version "/"
9738 "uri-bytestring-" version ".tar.gz"))
9741 "1q04j5ybvk37zk2m0bkjwyhblz0ymdj0cn4rvsvdca1ikn5xdv5c"))))
9742 (build-system haskell-build-system)
9743 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9744 ("ghc-fail" ,ghc-fail)
9745 ("ghc-blaze-builder" ,ghc-blaze-builder)
9746 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
9747 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9748 ("ghc-hunit" ,ghc-hunit)
9749 ("ghc-quickcheck" ,ghc-quickcheck)
9750 ("ghc-tasty" ,ghc-tasty)
9751 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9752 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9753 ("ghc-base-compat" ,ghc-base-compat)
9754 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9755 ("ghc-semigroups" ,ghc-semigroups)
9756 ("ghc-generics-sop" ,ghc-generics-sop)))
9757 (home-page "https://github.com/Soostone/uri-bytestring")
9758 (synopsis "Haskell URI parsing as ByteStrings")
9759 (description "This Haskell package aims to be an RFC3986 compliant URI
9760 parser that uses ByteStrings for parsing and representing the URI data.")
9761 (license license:bsd-3)))
9763 (define-public ghc-http-api-data
9765 (name "ghc-http-api-data")
9770 (uri (string-append "https://hackage.haskell.org/package/"
9771 "http-api-data-" version "/"
9772 "http-api-data-" version ".tar.gz"))
9775 "1cq6459b8wz6nvkvpi89dg189n5q2xdq4rdq435hf150555vmskf"))))
9776 (build-system haskell-build-system)
9777 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.9
9778 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9779 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
9780 ("ghc-hashable" ,ghc-hashable)
9781 ("ghc-http-types" ,ghc-http-types)
9782 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9783 ("ghc-unordered-containers" ,ghc-unordered-containers)
9784 ("ghc-uri-bytestring" ,ghc-uri-bytestring)
9785 ("ghc-uuid-types" ,ghc-uuid-types)))
9786 (home-page "https://github.com/fizruk/http-api-data")
9787 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
9789 (description "This Haskell package defines typeclasses used for converting
9790 Haskell data types to and from HTTP API data.")
9791 (license license:bsd-3)))
9793 (define-public ghc-persistent
9795 (name "ghc-persistent")
9800 (uri (string-append "https://hackage.haskell.org/package/"
9801 "persistent-" version "/"
9802 "persistent-" version ".tar.gz"))
9805 "1h0yijbf1yiwl50klyafy4ln99j8bib4kgbzviw7fc4y4mwv4sv9"))))
9806 (build-system haskell-build-system)
9807 (inputs `(("ghc-old-locale" ,ghc-old-locale)
9808 ("ghc-conduit" ,ghc-conduit)
9809 ("ghc-resourcet" ,ghc-resourcet)
9810 ("ghc-exceptions" ,ghc-exceptions)
9811 ("ghc-monad-control" ,ghc-monad-control)
9812 ("ghc-lifted-base" ,ghc-lifted-base)
9813 ("ghc-resource-pool" ,ghc-resource-pool)
9814 ("ghc-path-pieces" ,ghc-path-pieces)
9815 ("ghc-http-api-data" ,ghc-http-api-data)
9816 ("ghc-aeson" ,ghc-aeson)
9817 ("ghc-monad-logger" ,ghc-monad-logger)
9818 ("ghc-transformers-base" ,ghc-transformers-base)
9819 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9820 ("ghc-unordered-containers" ,ghc-unordered-containers)
9821 ("ghc-vector" ,ghc-vector)
9822 ("ghc-attoparsec" ,ghc-attoparsec)
9823 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)
9824 ("ghc-blaze-html" ,ghc-blaze-html)
9825 ("ghc-blaze-markup" ,ghc-blaze-markup)
9826 ("ghc-silently" ,ghc-silently)
9827 ("ghc-fast-logger" ,ghc-fast-logger)
9828 ("ghc-scientific" ,ghc-scientific)
9829 ("ghc-tagged" ,ghc-tagged)
9830 ("ghc-void" ,ghc-void)))
9831 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9832 (home-page "https://www.yesodweb.com/book/persistent")
9833 (synopsis "Type-safe, multi-backend data serialization for Haskell")
9834 (description "This Haskell package allows Haskell programs to access data
9835 storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
9837 (license license:expat)))
9839 (define-public ghc-aeson-compat
9841 (name "ghc-aeson-compat")
9846 (uri (string-append "https://hackage.haskell.org/package/"
9847 "aeson-compat-" version "/"
9848 "aeson-compat-" version ".tar.gz"))
9851 "0j4v13pgk21zy8hqkbx8hw0n05jdl17qphxz9rj4h333pr547r3i"))))
9852 (build-system haskell-build-system)
9853 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
9854 (inputs `(("ghc-base-compat" ,ghc-base-compat)
9855 ("ghc-aeson" ,ghc-aeson)
9856 ("ghc-attoparsec" ,ghc-attoparsec)
9857 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
9858 ("ghc-exceptions" ,ghc-exceptions)
9859 ("ghc-hashable" ,ghc-hashable)
9860 ("ghc-scientific" ,ghc-scientific)
9861 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9862 ("ghc-unordered-containers" ,ghc-unordered-containers)
9863 ("ghc-vector" ,ghc-vector)
9864 ("ghc-tagged" ,ghc-tagged)
9865 ("ghc-semigroups" ,ghc-semigroups)
9866 ("ghc-nats" ,ghc-nats)))
9867 (home-page "https://github.com/phadej/aeson-compat")
9868 (synopsis "Compatibility layer for ghc-aeson")
9869 (description "This Haskell package provides compatibility layer for
9871 (license license:bsd-3)))
9873 (define-public ghc-persistent-template
9875 (name "ghc-persistent-template")
9880 (uri (string-append "https://hackage.haskell.org/package/"
9881 "persistent-template-" version "/"
9882 "persistent-template-" version ".tar.gz"))
9885 "008afcy7zbw7bzp9jww8gdldb51kfm0fg4p0x4xcp61gx4679bjc"))))
9886 (build-system haskell-build-system)
9889 ("2" "03qgwk32krldph3blw5agiqcpccr3649hajyn8wm9k71zz82dpn6")))
9890 (inputs `(("ghc-persistent" ,ghc-persistent)
9891 ("ghc-monad-control" ,ghc-monad-control)
9892 ("ghc-aeson" ,ghc-aeson)
9893 ("ghc-aeson-compat" ,ghc-aeson-compat)
9894 ("ghc-monad-logger" ,ghc-monad-logger)
9895 ("ghc-unordered-containers" ,ghc-unordered-containers)
9896 ("ghc-tagged" ,ghc-tagged)
9897 ("ghc-path-pieces" ,ghc-path-pieces)
9898 ("ghc-http-api-data" ,ghc-http-api-data)))
9899 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9900 ("ghc-quickcheck" ,ghc-quickcheck)))
9901 (home-page "https://www.yesodweb.com/book/persistent")
9902 (synopsis "Type-safe, non-relational, multi-backend persistence")
9903 (description "This Haskell package provides interfaces and helper
9904 functions for the ghc-persistent package.")
9905 (license license:expat)))
9907 (define-public ghc-unliftio-core
9909 (name "ghc-unliftio-core")
9914 (uri (string-append "https://hackage.haskell.org/package/"
9915 "unliftio-core-" version "/"
9916 "unliftio-core-" version ".tar.gz"))
9919 "1193fplsjm1lcr05xwvkj1rsyzx74i755f6kw3ikmxbsv0bv0l3m"))))
9920 (build-system haskell-build-system)
9923 ("1" "16bjwcsaghqqmyi69rq65dn3ydifyfaabq3ns37apdm00mwqbcj2")))
9925 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
9926 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
9927 (description "This Haskell package provides the core @code{MonadUnliftIO}
9928 typeclass, instances for base and transformers, and basic utility
9930 (license license:expat)))
9932 (define-public ghc-microlens
9934 (name "ghc-microlens")
9939 (uri (string-append "https://hackage.haskell.org/package/"
9940 "microlens-" version "/"
9941 "microlens-" version ".tar.gz"))
9944 "0j2nzf0vpx2anvsrg2w0vy2z4jn3kkcs2n6glkzblhn1j9piqh51"))))
9945 (build-system haskell-build-system)
9947 "https://github.com/aelve/microlens")
9948 (synopsis "Provides a tiny lens Haskell library with no dependencies")
9949 (description "This Haskell package provides a lens library, just like
9950 @code{ghc-lens}, but smaller. It provides essential lenses and
9951 traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
9952 nice to have (like @code{each}, @code{at}, and @code{ix}), and some
9953 combinators (like @code{failing} and @code{singular}), but everything else is
9954 stripped. As the result, this package has no dependencies.")
9955 (license license:bsd-3)))
9957 (define-public ghc-microlens-th
9959 (name "ghc-microlens-th")
9964 (uri (string-append "https://hackage.haskell.org/package/"
9965 "microlens-th-" version "/"
9966 "microlens-th-" version ".tar.gz"))
9969 "02nj7lnl61yffi3c6wn341arxhld5r0vj6nzcb5zmqjhnqsv8c05"))))
9970 (build-system haskell-build-system)
9971 (inputs `(("ghc-microlens" ,ghc-microlens)
9972 ("ghc-th-abstraction" ,ghc-th-abstraction)))
9974 "https://github.com/aelve/microlens")
9975 (synopsis "Automatic generation of record lenses for
9976 @code{ghc-microlens}")
9977 (description "This Haskell package lets you automatically generate lenses
9978 for data types; code was extracted from the lens package, and therefore
9979 generated lenses are fully compatible with ones generated by lens (and can be
9980 used both from lens and microlens).")
9981 (license license:bsd-3)))
9983 (define-public ghc-unliftio
9985 (name "ghc-unliftio")
9991 "https://hackage.haskell.org/package/unliftio/unliftio-"
9996 "0qql93lq5w7qghl454cc3s1i8v1jb4h08n82fqkw0kli4g3g9njs"))))
9997 (build-system haskell-build-system)
9998 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
10000 `(("ghc-async" ,ghc-async)
10001 ("ghc-unliftio-core" ,ghc-unliftio-core)))
10002 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
10003 (home-page "https://github.com/fpco/unliftio")
10004 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
10005 IO (batteries included)")
10006 (description "This Haskell package provides the core @code{MonadUnliftIO}
10007 typeclass, a number of common instances, and a collection of common functions
10009 (license license:expat)))
10011 (define-public ghc-persistent-sqlite
10013 (name "ghc-persistent-sqlite")
10018 (uri (string-append "https://hackage.haskell.org/package/"
10019 "persistent-sqlite-" version "/"
10020 "persistent-sqlite-" version ".tar.gz"))
10023 "1chbmvjz46smhgnzhha3bbkhys3fys6dip1jr4v7xp1jf78zbyp6"))))
10024 (build-system haskell-build-system)
10025 (inputs `(("ghc-persistent" ,ghc-persistent)
10026 ("ghc-unliftio-core" ,ghc-unliftio-core)
10027 ("ghc-aeson" ,ghc-aeson)
10028 ("ghc-conduit" ,ghc-conduit)
10029 ("ghc-monad-logger" ,ghc-monad-logger)
10030 ("ghc-microlens-th" ,ghc-microlens-th)
10031 ("ghc-resourcet" ,ghc-resourcet)
10032 ("ghc-old-locale" ,ghc-old-locale)
10033 ("ghc-resource-pool" ,ghc-resource-pool)
10034 ("ghc-unordered-containers" ,ghc-unordered-containers)))
10035 (native-inputs `(("ghc-hspec" ,ghc-hspec)
10036 ("ghc-persistent-template" ,ghc-persistent-template)
10037 ("ghc-temporary" ,ghc-temporary)))
10039 "https://www.yesodweb.com/book/persistent")
10040 (synopsis "Backend for the persistent library using sqlite3")
10041 (description "This Haskell package includes a thin sqlite3 wrapper based
10042 on the direct-sqlite package, as well as the entire C library, so there are no
10043 system dependencies.")
10044 (license license:expat)))
10046 (define-public ghc-email-validate
10048 (name "ghc-email-validate")
10049 (version "2.3.2.6")
10053 (uri (string-append
10054 "https://hackage.haskell.org/package/"
10055 "email-validate/email-validate-"
10060 "0chgylvc8xmhp933rdbmpg5sv4y7yg2h6kbf0ip1dzmbd5p55pa5"))))
10061 (build-system haskell-build-system)
10063 `(("ghc-attoparsec" ,ghc-attoparsec)
10064 ("ghc-hspec" ,ghc-hspec)
10065 ("ghc-quickcheck" ,ghc-quickcheck)
10066 ("ghc-doctest" ,ghc-doctest)))
10068 "https://github.com/Porges/email-validate-hs")
10069 (synopsis "Email address validator for Haskell")
10071 "This Haskell package provides a validator that can validate an email
10072 address string against RFC 5322.")
10073 (license license:bsd-3)))
10075 (define-public ghc-bytes
10083 (string-append "https://hackage.haskell.org/package/bytes-"
10085 version ".tar.gz"))
10086 (file-name (string-append name "-" version ".tar.gz"))
10089 "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683"))))
10090 (build-system haskell-build-system)
10091 (inputs `(("ghc-cereal" ,ghc-cereal)
10092 ("cabal-doctest" ,cabal-doctest)
10093 ("ghc-doctest" ,ghc-doctest)
10094 ("ghc-scientific" ,ghc-scientific)
10095 ("ghc-transformers-compat" ,ghc-transformers-compat)
10096 ("ghc-unordered-containers" ,ghc-unordered-containers)
10097 ("ghc-void" ,ghc-void)
10098 ("ghc-vector" ,ghc-vector)))
10099 (synopsis "Serialization between @code{binary} and @code{cereal}")
10100 (description "This package provides a simple compatibility shim that lets
10101 you work with both @code{binary} and @code{cereal} with one chunk of
10102 serialization code.")
10103 (home-page "https://hackage.haskell.org/package/bytes")
10104 (license license:bsd-3)))
10106 (define-public ghc-disk-free-space
10108 (name "ghc-disk-free-space")
10109 (version "0.1.0.1")
10113 (uri (string-append "https://hackage.haskell.org/package/"
10114 "disk-free-space/disk-free-space-"
10115 version ".tar.gz"))
10118 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
10119 (build-system haskell-build-system)
10120 (home-page "https://github.com/redneb/disk-free-space")
10121 (synopsis "Retrieve information about disk space usage")
10122 (description "A cross-platform library for retrieving information about
10123 disk space usage.")
10124 (license license:bsd-3)))
10126 (define-public ghc-xdg-basedir
10128 (name "ghc-xdg-basedir")
10133 (uri (string-append
10134 "https://hackage.haskell.org/package/xdg-basedir/"
10135 "xdg-basedir-" version ".tar.gz"))
10138 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
10139 (build-system haskell-build-system)
10140 (home-page "http://github.com/willdonnelly/xdg-basedir")
10141 (synopsis "XDG Base Directory library for Haskell")
10142 (description "This package provides a library implementing the XDG Base Directory spec.")
10143 (license license:bsd-3)))
10145 (define-public ghc-errorcall-eq-instance
10147 (name "ghc-errorcall-eq-instance")
10152 (uri (string-append "https://hackage.haskell.org/package/"
10153 "errorcall-eq-instance/errorcall-eq-instance-"
10154 version ".tar.gz"))
10157 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
10158 (build-system haskell-build-system)
10160 `(("ghc-base-orphans" ,ghc-base-orphans)))
10162 `(("ghc-quickcheck" ,ghc-quickcheck)
10163 ("ghc-hspec" ,ghc-hspec)
10164 ("hspec-discover" ,hspec-discover)))
10165 (home-page "http://hackage.haskell.org/package/errorcall-eq-instance")
10166 (synopsis "Orphan Eq instance for ErrorCall")
10168 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
10169 This package provides an orphan instance.")
10170 (license license:expat)))
10172 (define-public ghc-missingh
10174 (name "ghc-missingh")
10175 (version "1.4.0.1")
10179 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
10180 "MissingH-" version ".tar.gz"))
10183 "0wcvgrmav480w7nf4bl14yi0jq2yzanysxwzwas9hpb28vyjlgr8"))))
10184 (build-system haskell-build-system)
10185 ;; Tests require the unmaintained testpack package, which depends on the
10186 ;; outdated QuickCheck version 2.7, which can no longer be built with
10187 ;; recent versions of GHC and Haskell libraries.
10188 (arguments '(#:tests? #f))
10190 `(("ghc-network" ,ghc-network)
10191 ("ghc-hunit" ,ghc-hunit)
10192 ("ghc-regex-compat" ,ghc-regex-compat)
10193 ("ghc-hslogger" ,ghc-hslogger)
10194 ("ghc-random" ,ghc-random)
10195 ("ghc-old-time" ,ghc-old-time)
10196 ("ghc-old-locale" ,ghc-old-locale)))
10198 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
10199 ("ghc-quickcheck" ,ghc-quickcheck)
10200 ("ghc-hunit" ,ghc-hunit)))
10201 (home-page "http://software.complete.org/missingh")
10202 (synopsis "Large utility library")
10204 "MissingH is a library of all sorts of utility functions for Haskell
10205 programmers. It is written in pure Haskell and thus should be extremely
10206 portable and easy to use.")
10207 (license license:bsd-3)))
10209 (define-public ghc-intervalmap
10211 (name "ghc-intervalmap")
10212 (version "0.6.0.0")
10216 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
10217 "IntervalMap-" version ".tar.gz"))
10220 "06hin9wf1by8aqa7820fsi2339bh82184frkwz3jsb9sqa0hszcg"))))
10221 (build-system haskell-build-system)
10223 `(("ghc-quickcheck" ,ghc-quickcheck)))
10224 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
10225 (synopsis "Containers for intervals, with efficient search")
10227 "This package provides ordered containers of intervals, with efficient
10228 search for all keys containing a point or overlapping an interval. See the
10229 example code on the home page for a quick introduction.")
10230 (license license:bsd-3)))
10232 (define-public ghc-operational
10234 (name "ghc-operational")
10235 (version "0.2.3.5")
10239 (uri (string-append "https://hackage.haskell.org/package/operational/"
10240 "operational-" version ".tar.gz"))
10243 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
10244 (build-system haskell-build-system)
10246 `(("ghc-random" ,ghc-random)))
10247 (home-page "http://wiki.haskell.org/Operational")
10248 (synopsis "Implementation of difficult monads made easy with operational semantics")
10250 "This library makes it easy to implement monads with tricky control
10251 flow. This is useful for: writing web applications in a sequential style,
10252 programming games with a uniform interface for human and AI players and easy
10253 replay capababilities, implementing fast parser monads, designing monadic
10255 (license license:bsd-3)))
10257 (define-public ghc-gtk2hs-buildtools
10259 (name "ghc-gtk2hs-buildtools")
10260 (version "0.13.4.0")
10264 (uri (string-append "https://hackage.haskell.org/package/"
10265 "gtk2hs-buildtools/gtk2hs-buildtools-"
10266 version ".tar.gz"))
10269 "0yg6xmylgpylmnh5g33qwwn5x9bqckdvvv4czqzd9vrr12lnnghg"))))
10270 (build-system haskell-build-system)
10272 `(("ghc-random" ,ghc-random)
10273 ("ghc-hashtables" ,ghc-hashtables)))
10275 `(("ghc-alex" ,ghc-alex)
10276 ("ghc-happy" ,ghc-happy)))
10277 (home-page "http://projects.haskell.org/gtk2hs/")
10278 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
10280 "This package provides a set of helper programs necessary to build the
10281 Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
10282 that is used to generate FFI declarations, a tool to build a type hierarchy
10283 that mirrors the C type hierarchy of GObjects found in glib, and a generator
10284 for signal declarations that are used to call back from C to Haskell. These
10285 tools are not needed to actually run Gtk2Hs programs.")
10286 (license license:gpl2)))
10288 (define-public ghc-chart
10295 (uri (string-append "https://hackage.haskell.org/package/Chart/"
10296 "Chart-" version ".tar.gz"))
10299 "1f5azj17y8xsb3gjhf7gg1gnnlq12rxkmfjmgcly314d7vghs05z"))))
10300 (build-system haskell-build-system)
10302 `(("ghc-old-locale" ,ghc-old-locale)
10303 ("ghc-lens" ,ghc-lens)
10304 ("ghc-colour" ,ghc-colour)
10305 ("ghc-data-default-class" ,ghc-data-default-class)
10306 ("ghc-operational" ,ghc-operational)
10307 ("ghc-vector" ,ghc-vector)))
10308 (home-page "https://github.com/timbod7/haskell-chart/wiki")
10309 (synopsis "Library for generating 2D charts and plots")
10311 "This package provides a library for generating 2D charts and plots, with
10312 backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
10313 (license license:bsd-3)))
10315 (define-public ghc-wcwidth
10317 (name "ghc-wcwidth")
10322 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
10323 version ".tar.gz"))
10326 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
10327 (build-system haskell-build-system)
10329 `(("ghc-setlocale" ,ghc-setlocale)
10330 ("ghc-utf8-string" ,ghc-utf8-string)
10331 ("ghc-attoparsec" ,ghc-attoparsec)))
10332 (home-page "https://github.com/solidsnack/wcwidth/")
10333 (synopsis "Haskell bindings to wcwidth")
10334 (description "This package provides Haskell bindings to your system's
10335 native wcwidth and a command line tool to examine the widths assigned by it.
10336 The command line tool can compile a width table to Haskell code that assigns
10337 widths to the Char type.")
10338 (license license:bsd-3)))
10340 (define-public ghc-wcwidth-bootstrap
10342 (inherit ghc-wcwidth)
10343 (name "ghc-wcwidth-bootstrap")
10345 `(("ghc-setlocale" ,ghc-setlocale)
10346 ("ghc-utf8-string" ,ghc-utf8-string)
10347 ("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
10348 (properties '(hidden? #t))))
10350 (define-public ghc-rio
10353 (version "0.1.5.0")
10357 (uri (string-append
10358 "https://hackage.haskell.org/package/rio/rio-"
10359 version ".tar.gz"))
10362 "064h8a4hp53a479d3ak0vmqbx8hi0cpg7zn4wp23rjy26dka8p7g"))))
10363 (build-system haskell-build-system)
10365 `(("ghc-exceptions" ,ghc-exceptions)
10366 ("ghc-hashable" ,ghc-hashable)
10367 ("ghc-microlens" ,ghc-microlens)
10368 ("ghc-primitive" ,ghc-primitive)
10369 ("ghc-typed-process" ,ghc-typed-process)
10370 ("ghc-unliftio" ,ghc-unliftio)
10371 ("ghc-unordered-containers" ,ghc-unordered-containers)
10372 ("ghc-vector" ,ghc-vector)))
10374 `(("ghc-hspec" ,ghc-hspec)
10375 ("hspec-discover" ,hspec-discover)))
10376 (home-page "https://github.com/commercialhaskell/rio#readme")
10377 (synopsis "A standard library for Haskell")
10378 (description "This package works as a prelude replacement for Haskell,
10379 providing more functionality and types out of the box than the standard
10380 prelude (such as common data types like @code{ByteString} and
10381 @code{Text}), as well as removing common ``gotchas'', like partial
10382 functions and lazy I/O. The guiding principle here is:
10384 @item If something is safe to use in general and has no expected naming
10385 conflicts, expose it.
10386 @item If something should not always be used, or has naming conflicts,
10387 expose it from another module in the hierarchy.
10389 (license license:expat)))
10391 (define-public ghc-cairo
10394 (version "0.13.5.0")
10398 (uri (string-append "https://hackage.haskell.org/package/cairo/"
10399 "cairo-" version ".tar.gz"))
10402 "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2"))))
10403 (build-system haskell-build-system)
10405 `(#:modules ((guix build haskell-build-system)
10410 (modify-phases %standard-phases
10411 ;; FIXME: This is a copy of the standard configure phase with a tiny
10412 ;; difference: this package needs the -package-db flag to be passed
10413 ;; to "runhaskell" in addition to the "configure" action, because it
10414 ;; depends on gtk2hs-buildtools, which provide setup hooks. Without
10415 ;; this option the Setup.hs file cannot be evaluated. The
10416 ;; haskell-build-system should be changed to pass "-package-db" to
10417 ;; "runhaskell" in any case.
10418 (replace 'configure
10419 (lambda* (#:key outputs inputs tests? (configure-flags '())
10420 #:allow-other-keys)
10421 (let* ((out (assoc-ref outputs "out"))
10422 (name-version (strip-store-file-name out))
10423 (input-dirs (match inputs
10427 (ghc-path (getenv "GHC_PACKAGE_PATH"))
10428 (params (append `(,(string-append "--prefix=" out))
10429 `(,(string-append "--libdir=" out "/lib"))
10430 `(,(string-append "--bindir=" out "/bin"))
10433 "/share/doc/" name-version))
10434 '("--libsubdir=$compiler/$pkg-$version")
10435 '("--package-db=../package.conf.d")
10438 (cut string-append "--extra-include-dirs=" <>)
10439 (search-path-as-list '("include") input-dirs)))
10441 (cut string-append "--extra-lib-dirs=" <>)
10442 (search-path-as-list '("lib") input-dirs)))
10444 '("--enable-tests")
10447 (unsetenv "GHC_PACKAGE_PATH")
10448 (apply invoke "runhaskell" "-package-db=../package.conf.d"
10449 "Setup.hs" "configure" params)
10450 (setenv "GHC_PACKAGE_PATH" ghc-path)
10453 `(("ghc-utf8-string" ,ghc-utf8-string)
10456 `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools)
10457 ("pkg-config" ,pkg-config)))
10458 (home-page "http://projects.haskell.org/gtk2hs/")
10459 (synopsis "Haskell bindings to the Cairo vector graphics library")
10461 "Cairo is a library to render high quality vector graphics. There exist
10462 various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG
10463 documents, amongst others.")
10464 (license license:bsd-3)))
10466 (define-public ghc-chart-cairo
10468 (name "ghc-chart-cairo")
10473 (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/"
10474 "Chart-cairo-" version ".tar.gz"))
10477 "0iany6lfyfb1cw0pxfs5aw5k0a6x41m6ql9ad9w59biwdckbsyqr"))))
10478 (build-system haskell-build-system)
10480 `(("ghc-old-locale" ,ghc-old-locale)
10481 ("ghc-cairo" ,ghc-cairo)
10482 ("ghc-colour" ,ghc-colour)
10483 ("ghc-data-default-class" ,ghc-data-default-class)
10484 ("ghc-operational" ,ghc-operational)
10485 ("ghc-lens" ,ghc-lens)
10486 ("ghc-chart" ,ghc-chart)))
10487 (home-page "https://github.com/timbod7/haskell-chart/wiki")
10488 (synopsis "Cairo backend for Charts")
10489 (description "This package provides a Cairo vector graphics rendering
10490 backend for the Charts library.")
10491 (license license:bsd-3)))
10493 (define-public ghc-atomic-write
10495 (name "ghc-atomic-write")
10496 (version "0.2.0.5")
10500 (uri (string-append
10501 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
10506 "1iaq0hprxcv0sl1sgwcgmm87zraf738va1bciwnx2jkk3k1v9iyv"))))
10507 (build-system haskell-build-system)
10509 `(("ghc-temporary" ,ghc-temporary)
10510 ("ghc-unix-compat" ,ghc-unix-compat)))
10512 `(("ghc-temporary" ,ghc-temporary)
10513 ("ghc-unix-compat" ,ghc-unix-compat)
10514 ("ghc-hspec" ,ghc-hspec)
10515 ("hspec-discover" ,hspec-discover)))
10516 (home-page "https://github.com/stackbuilders/atomic-write")
10517 (synopsis "Atomically write to a file")
10519 "Atomically write to a file on POSIX-compliant systems while preserving
10520 permissions. @code{mv} is an atomic operation. This makes it simple to write
10521 to a file atomically just by using the @code{mv} operation. However, this
10522 will destroy the permissions on the original file. This library preserves
10523 permissions while atomically writing to a file.")
10524 (license license:expat)))
10526 (define-public ghc-cereal-conduit
10528 (name "ghc-cereal-conduit")
10533 (uri (string-append "https://hackage.haskell.org/package/"
10534 "cereal-conduit/cereal-conduit-"
10535 version ".tar.gz"))
10538 "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r"))))
10539 (build-system haskell-build-system)
10541 `(("ghc-conduit" ,ghc-conduit)
10542 ("ghc-resourcet" ,ghc-resourcet)
10543 ("ghc-cereal" ,ghc-cereal)))
10545 `(("ghc-hunit" ,ghc-hunit)))
10546 (home-page "https://github.com/snoyberg/conduit")
10547 (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits")
10549 "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into
10550 @code{Sources}, @code{Sinks}, and @code{Conduits}.")
10551 (license license:bsd-3)))
10553 (define-public ghc-lzma
10556 (version "0.0.0.3")
10560 (uri (string-append "https://hackage.haskell.org/package/lzma/"
10561 "lzma-" version ".tar.gz"))
10564 "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg"))))
10565 (build-system haskell-build-system)
10567 '(#:tests? #f ; requires older versions of QuickCheck and tasty.
10569 ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m")))
10571 `(("ghc-hunit" ,ghc-hunit)
10572 ("ghc-quickcheck" ,ghc-quickcheck)
10573 ("ghc-tasty" ,ghc-tasty)
10574 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10575 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
10576 (home-page "https://github.com/hvr/lzma")
10577 (synopsis "LZMA/XZ compression and decompression")
10579 "This package provides a pure interface for compressing and
10580 decompressing LZMA streams of data represented as lazy @code{ByteString}s. A
10581 monadic incremental interface is provided as well.")
10582 (license license:bsd-3)))
10584 (define-public ghc-stm-conduit
10586 (name "ghc-stm-conduit")
10591 (uri (string-append "https://hackage.haskell.org/package/stm-conduit/"
10592 "stm-conduit-" version ".tar.gz"))
10595 "0paapljn7nqfzrx889y0n8sszci38mdiaxkgr0bb00ph9246rr7z"))))
10596 (build-system haskell-build-system)
10598 `(("ghc-stm-chans" ,ghc-stm-chans)
10599 ("ghc-cereal" ,ghc-cereal)
10600 ("ghc-cereal-conduit" ,ghc-cereal-conduit)
10601 ("ghc-conduit" ,ghc-conduit)
10602 ("ghc-conduit-extra" ,ghc-conduit-extra)
10603 ("ghc-exceptions" ,ghc-exceptions)
10604 ("ghc-resourcet" ,ghc-resourcet)
10605 ("ghc-async" ,ghc-async)
10606 ("ghc-monad-loops" ,ghc-monad-loops)
10607 ("ghc-unliftio" ,ghc-unliftio)))
10609 `(("ghc-doctest" ,ghc-doctest)
10610 ("ghc-quickcheck" ,ghc-quickcheck)
10611 ("ghc-hunit" ,ghc-hunit)
10612 ("ghc-test-framework" ,ghc-test-framework)
10613 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
10614 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
10615 (home-page "https://github.com/cgaebel/stm-conduit")
10616 (synopsis "Introduces conduits to channels and promotes using conduits concurrently")
10618 "This package provides two simple conduit wrappers around STM channels: a
10619 source and a sink.")
10620 (license license:bsd-3)))
10622 (define-public ghc-bindings-dsl
10624 (name "ghc-bindings-dsl")
10629 (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/"
10630 "bindings-DSL-" version ".tar.gz"))
10633 "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3"))))
10634 (build-system haskell-build-system)
10635 (home-page "https://github.com/jwiegley/bindings-dsl/wiki")
10636 (synopsis "FFI domain specific language, on top of hsc2hs")
10638 "This is a set of macros to be used when writing Haskell FFI. They were
10639 designed to be able to fully describe C interfaces, so that @code{hsc2hs} can
10640 extract from them all Haskell code needed to mimic such interfaces. All
10641 Haskell names used are automatically derived from C names, structures are
10642 mapped to Haskell instances of @code{Storable}, and there are also macros you
10643 can use with C code to help write bindings to inline functions or macro
10645 (license license:bsd-3)))
10647 (define-public ghc-lzma-conduit
10649 (name "ghc-lzma-conduit")
10654 (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/"
10655 "lzma-conduit-" version ".tar.gz"))
10658 "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9"))))
10659 (build-system haskell-build-system)
10661 `(("ghc-conduit" ,ghc-conduit)
10662 ("ghc-lzma" ,ghc-lzma)
10663 ("ghc-resourcet" ,ghc-resourcet)))
10665 `(("ghc-base-compat" ,ghc-base-compat)
10666 ("ghc-test-framework" ,ghc-test-framework)
10667 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
10668 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
10669 ("ghc-hunit" ,ghc-hunit)
10670 ("ghc-quickcheck" ,ghc-quickcheck)))
10671 (home-page "https://github.com/alphaHeavy/lzma-conduit")
10672 (synopsis "Conduit interface for lzma/xz compression")
10674 "This package provides a @code{Conduit} interface for the LZMA
10675 compression algorithm used in the @code{.xz} file format.")
10676 (license license:bsd-3)))
10678 (define-public ghc-bzlib-conduit
10680 (name "ghc-bzlib-conduit")
10681 (version "0.3.0.1")
10685 (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/"
10686 "bzlib-conduit-" version ".tar.gz"))
10689 "0fd2hnr782s7qgipazg2yxwia9qqhkvm9bcm90773c3zkxa13n23"))))
10690 (build-system haskell-build-system)
10692 `(("ghc-bindings-dsl" ,ghc-bindings-dsl)
10693 ("ghc-conduit" ,ghc-conduit)
10694 ("ghc-data-default-class" ,ghc-data-default-class)
10695 ("ghc-resourcet" ,ghc-resourcet)))
10697 `(("ghc-hspec" ,ghc-hspec)
10698 ("ghc-random" ,ghc-random)))
10699 (home-page "https://github.com/snoyberg/bzlib-conduit")
10700 (synopsis "Streaming compression/decompression via conduits")
10702 "This package provides Haskell bindings to bzlib and Conduit support for
10703 streaming compression and decompression.")
10704 (license license:bsd-3)))
10706 (define-public ghc-pqueue
10708 (name "ghc-pqueue")
10709 (version "1.4.1.1")
10713 (uri (string-append "https://hackage.haskell.org/package/"
10714 "pqueue/pqueue-" version ".tar.gz"))
10717 "1zvwm1zcqqq5n101s1brjhgbay8rf9fviq6gxbplf40i63m57p1x"))))
10718 (build-system haskell-build-system)
10720 `(("ghc-quickcheck" ,ghc-quickcheck)))
10721 (home-page "https://hackage.haskell.org/package/pqueue")
10722 (synopsis "Reliable, persistent, fast priority queues")
10724 "This package provides a fast, reliable priority queue implementation
10725 based on a binomial heap.")
10726 (license license:bsd-3)))
10728 (define-public ghc-conduit-algorithms
10730 (name "ghc-conduit-algorithms")
10731 (version "0.0.8.1")
10735 (uri (string-append "https://hackage.haskell.org/package/"
10736 "conduit-algorithms/conduit-algorithms-"
10737 version ".tar.gz"))
10740 "07gx2q3d1bbfw14q41rmqg0i4m018pci10lswc0k1ij6lw7sb9fd"))))
10741 (build-system haskell-build-system)
10743 `(("ghc-async" ,ghc-async)
10744 ("ghc-bzlib-conduit" ,ghc-bzlib-conduit)
10745 ("ghc-conduit" ,ghc-conduit)
10746 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
10747 ("ghc-conduit-extra" ,ghc-conduit-extra)
10748 ("ghc-exceptions" ,ghc-exceptions)
10749 ("ghc-lzma-conduit" ,ghc-lzma-conduit)
10750 ("ghc-monad-control" ,ghc-monad-control)
10751 ("ghc-pqueue" ,ghc-pqueue)
10752 ("ghc-resourcet" ,ghc-resourcet)
10753 ("ghc-stm-conduit" ,ghc-stm-conduit)
10754 ("ghc-streaming-commons" ,ghc-streaming-commons)
10755 ("ghc-unliftio-core" ,ghc-unliftio-core)
10756 ("ghc-vector" ,ghc-vector)))
10758 `(("ghc-hunit" ,ghc-hunit)
10759 ("ghc-test-framework" ,ghc-test-framework)
10760 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
10761 ("ghc-test-framework-th" ,ghc-test-framework-th)))
10762 (home-page "https://github.com/luispedro/conduit-algorithms#readme")
10763 (synopsis "Conduit-based algorithms")
10765 "This package provides algorithms on @code{Conduits}, including higher
10766 level asynchronous processing and some other utilities.")
10767 (license license:expat)))
10769 (define-public ghc-interpolate
10771 (name "ghc-interpolate")
10776 (uri (string-append "https://hackage.haskell.org/package/interpolate/"
10777 "interpolate-" version ".tar.gz"))
10780 "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf"))))
10781 (build-system haskell-build-system)
10783 `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
10785 `(("ghc-base-compat" ,ghc-base-compat)
10786 ("ghc-hspec" ,ghc-hspec)
10787 ("ghc-quickcheck" ,ghc-quickcheck)
10788 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
10789 ("hspec-discover" ,hspec-discover)))
10790 (home-page "https://github.com/sol/interpolate")
10791 (synopsis "String interpolation library")
10792 (description "This package provides a string interpolation library for
10794 (license license:expat)))
10796 (define-public ghc-hpack
10803 (uri (string-append "https://hackage.haskell.org/package/hpack/"
10804 "hpack-" version ".tar.gz"))
10807 "18w0h76jdp3mk9vin8da9iz3cwhcxmw787xy8wlh8bxcpcr16q5r"))))
10808 (build-system haskell-build-system)
10810 `(("ghc-aeson" ,ghc-aeson)
10811 ("ghc-bifunctors" ,ghc-bifunctors)
10812 ("ghc-cryptonite" ,ghc-cryptonite)
10813 ("ghc-glob" ,ghc-glob)
10814 ("ghc-http-client" ,ghc-http-client)
10815 ("ghc-http-client-tls" ,ghc-http-client-tls)
10816 ("ghc-http-types" ,ghc-http-types)
10817 ("ghc-scientific" ,ghc-scientific)
10818 ("ghc-unordered-containers" ,ghc-unordered-containers)
10819 ("ghc-vector" ,ghc-vector)
10820 ("ghc-yaml" ,ghc-yaml)))
10822 `(("ghc-hspec" ,ghc-hspec)
10823 ("ghc-hunit" ,ghc-hunit)
10824 ("ghc-interpolate" ,ghc-interpolate)
10825 ("ghc-mockery" ,ghc-mockery)
10826 ("ghc-quickcheck" ,ghc-quickcheck)
10827 ("ghc-temporary" ,ghc-temporary)
10828 ("hspec-discover" ,hspec-discover)))
10829 (home-page "https://github.com/sol/hpack")
10830 (synopsis "Tools for an alternative Haskell package format")
10832 "Hpack is a format for Haskell packages. It is an alternative to the
10833 Cabal package format and follows different design principles. Hpack packages
10834 are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
10835 @code{stack} support @code{package.yaml} natively. For other build tools the
10836 @code{hpack} executable can be used to generate a @code{.cabal} file from
10837 @code{package.yaml}.")
10838 (license license:expat)))
10840 (define-public ghc-raw-strings-qq
10842 (name "ghc-raw-strings-qq")
10847 (uri (string-append "https://hackage.haskell.org/package/"
10848 "raw-strings-qq/raw-strings-qq-"
10849 version ".tar.gz"))
10852 "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f"))))
10853 (build-system haskell-build-system)
10854 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
10855 (home-page "https://github.com/23Skidoo/raw-strings-qq")
10856 (synopsis "Raw string literals for Haskell")
10858 "This package provides a quasiquoter for raw string literals, i.e. string
10859 literals that don't recognise the standard escape sequences. Basically, they
10860 make your code more readable by freeing you from the responsibility to escape
10861 backslashes. They are useful when working with regular expressions,
10862 DOS/Windows paths and markup languages (such as XML).")
10863 (license license:bsd-3)))
10865 (define-public ghc-inline-c
10867 (name "ghc-inline-c")
10868 (version "0.6.1.0")
10872 (uri (string-append "https://hackage.haskell.org/package/inline-c/"
10873 "inline-c-" version ".tar.gz"))
10876 "0vbfrsqsi7mdziqsnj68bsqlwbqxxhvrmy9rv6w8z18d1m8w3n6h"))))
10877 (build-system haskell-build-system)
10879 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
10880 ("ghc-cryptohash" ,ghc-cryptohash)
10881 ("ghc-hashable" ,ghc-hashable)
10882 ("ghc-parsers" ,ghc-parsers)
10883 ("ghc-unordered-containers" ,ghc-unordered-containers)
10884 ("ghc-vector" ,ghc-vector)))
10886 `(("ghc-quickcheck" ,ghc-quickcheck)
10887 ("ghc-hspec" ,ghc-hspec)
10888 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)
10889 ("ghc-regex-posix" ,ghc-regex-posix)))
10890 (home-page "http://hackage.haskell.org/package/inline-c")
10891 (synopsis "Write Haskell source files including C code inline")
10893 "inline-c lets you seamlessly call C libraries and embed high-performance
10894 inline C code in Haskell modules. Haskell and C can be freely intermixed in
10895 the same source file, and data passed to and from code in either language with
10896 minimal overhead. No FFI required.")
10897 (license license:expat)))
10899 (define-public ghc-weigh
10906 (uri (string-append "https://hackage.haskell.org/package/weigh/"
10907 "weigh-" version ".tar.gz"))
10910 "0zw2a997gxgdzqmd7j730kxgynzmjvvlkw84dajmfzf1v9pbij7x"))))
10911 (build-system haskell-build-system)
10913 `(("ghc-split" ,ghc-split)
10914 ("ghc-temporary" ,ghc-temporary)))
10915 (home-page "https://github.com/fpco/weigh#readme")
10916 (synopsis "Measure allocations of a Haskell functions/values")
10917 (description "This package provides tools to measure the memory usage of a
10918 Haskell value or function.")
10919 (license license:bsd-3)))
10921 (define-public ghc-linear
10923 (name "ghc-linear")
10928 (uri (string-append "https://hackage.haskell.org/package/linear/"
10929 "linear-" version ".tar.gz"))
10932 "046vkvxlb0s286qr55s0c6db0rlwbm1cmlmwhrrkqbkzhfcipgay"))))
10933 (build-system haskell-build-system)
10935 `(("ghc-adjunctions" ,ghc-adjunctions)
10936 ("ghc-base-orphans" ,ghc-base-orphans)
10937 ("ghc-bytes" ,ghc-bytes)
10938 ("ghc-cereal" ,ghc-cereal)
10939 ("ghc-distributive" ,ghc-distributive)
10940 ("ghc-hashable" ,ghc-hashable)
10941 ("ghc-lens" ,ghc-lens)
10942 ("ghc-reflection" ,ghc-reflection)
10943 ("ghc-semigroups" ,ghc-semigroups)
10944 ("ghc-semigroupoids" ,ghc-semigroupoids)
10945 ("ghc-tagged" ,ghc-tagged)
10946 ("ghc-transformers-compat" ,ghc-transformers-compat)
10947 ("ghc-unordered-containers" ,ghc-unordered-containers)
10948 ("ghc-vector" ,ghc-vector)
10949 ("ghc-void" ,ghc-void)))
10951 `(("cabal-doctest" ,cabal-doctest)
10952 ("ghc-doctest" ,ghc-doctest)
10953 ("ghc-simple-reflect" ,ghc-simple-reflect)
10954 ("ghc-test-framework" ,ghc-test-framework)
10955 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
10956 ("ghc-hunit" ,ghc-hunit)))
10957 (home-page "http://github.com/ekmett/linear/")
10958 (synopsis "Linear algebra library for Haskell")
10960 "This package provides types and combinators for linear algebra on free
10962 (license license:bsd-3)))
10964 (define-public ghc-safe-exceptions
10966 (name "ghc-safe-exceptions")
10967 (version "0.1.7.0")
10971 (uri (string-append "https://hackage.haskell.org/package/"
10972 "safe-exceptions/safe-exceptions-"
10973 version ".tar.gz"))
10976 "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q"))))
10977 (build-system haskell-build-system)
10980 ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32")))
10981 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
10983 `(("ghc-hspec" ,ghc-hspec)
10984 ("ghc-void" ,ghc-void)
10985 ("hspec-discover" ,hspec-discover)))
10986 (home-page "https://github.com/fpco/safe-exceptions")
10987 (synopsis "Safe, consistent, and easy exception handling")
10988 (description "Runtime exceptions - as exposed in @code{base} by the
10989 @code{Control.Exception} module - have long been an intimidating part of the
10990 Haskell ecosystem. This package is intended to overcome this. It provides a
10991 safe and simple API on top of the existing exception handling machinery. The
10992 API is equivalent to the underlying implementation in terms of power but
10993 encourages best practices to minimize the chances of getting the exception
10995 (license license:expat)))
10997 (define-public ghc-inline-c-cpp
10999 (name "ghc-inline-c-cpp")
11000 (version "0.2.2.1")
11004 (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/"
11005 "inline-c-cpp-" version ".tar.gz"))
11008 "1rk7fmpkmxw9hhwr8df29kadnf0ybnwj64ggdbnsdrpfyhnkisci"))))
11009 (build-system haskell-build-system)
11011 `(("ghc-inline-c" ,ghc-inline-c)
11012 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
11014 `(("ghc-hspec" ,ghc-hspec)))
11015 (home-page "https://hackage.haskell.org/package/inline-c-cpp")
11016 (synopsis "Lets you embed C++ code into Haskell")
11018 "This package provides utilities to inline C++ code into Haskell using
11020 (license license:expat)))
11022 (define-public ghc-bytestring-lexing
11024 (name "ghc-bytestring-lexing")
11025 (version "0.5.0.2")
11029 (uri (string-append "https://hackage.haskell.org/package/"
11030 "bytestring-lexing/bytestring-lexing-"
11031 version ".tar.gz"))
11034 "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81"))))
11035 (build-system haskell-build-system)
11036 (home-page "http://code.haskell.org/~wren/")
11037 (synopsis "Parse and produce literals from strict or lazy bytestrings")
11039 "This package provides tools to parse and produce literals efficiently
11040 from strict or lazy bytestrings.")
11041 (license license:bsd-2)))
11043 (define-public ghc-configurator
11045 (name "ghc-configurator")
11046 (version "0.3.0.0")
11050 (uri (string-append "https://hackage.haskell.org/package/"
11051 "configurator/configurator-"
11052 version ".tar.gz"))
11055 "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"))))
11056 (build-system haskell-build-system)
11058 `(("ghc-attoparsec" ,ghc-attoparsec)
11059 ("ghc-hashable" ,ghc-hashable)
11060 ("ghc-unix-compat" ,ghc-unix-compat)
11061 ("ghc-unordered-containers" ,ghc-unordered-containers)))
11063 `(("ghc-hunit" ,ghc-hunit)
11064 ("ghc-test-framework" ,ghc-test-framework)
11065 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
11066 (home-page "http://github.com/bos/configurator")
11067 (synopsis "Configuration management")
11069 "This package provides a configuration management library for programs
11070 and daemons. The features include:
11073 @item Automatic, dynamic reloading in response to modifications to
11074 configuration files.
11075 @item A simple, but flexible, configuration language, supporting several of
11076 the most commonly needed types of data, along with interpolation of strings
11077 from the configuration or the system environment (e.g. @code{$(HOME)}).
11078 @item Subscription-based notification of changes to configuration properties.
11079 @item An @code{import} directive allows the configuration of a complex
11080 application to be split across several smaller files, or common configuration
11081 data to be shared across several applications.
11083 (license license:bsd-3)))
11085 (define-public ghc-file-embed
11087 (name "ghc-file-embed")
11088 (version "0.0.10.1")
11092 (uri (string-append "https://hackage.haskell.org/package/file-embed/"
11093 "file-embed-" version ".tar.gz"))
11096 "0lj164cnzqyd487mli91nnr7137a4h4qsasfwsnsh77sx12fpk9k"))))
11097 (build-system haskell-build-system)
11098 (home-page "https://github.com/snoyberg/file-embed")
11099 (synopsis "Use Template Haskell to embed file contents directly")
11101 "This package allows you to use Template Haskell to read a file or all
11102 the files in a directory, and turn them into @code{(path, bytestring)} pairs
11103 embedded in your Haskell code.")
11104 (license license:bsd-3)))
11106 (define-public ghc-safeio
11108 (name "ghc-safeio")
11109 (version "0.0.5.0")
11113 (uri (string-append "https://hackage.haskell.org/package/safeio/"
11114 "safeio-" version ".tar.gz"))
11117 "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm"))))
11118 (build-system haskell-build-system)
11120 `(("ghc-conduit" ,ghc-conduit)
11121 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
11122 ("ghc-exceptions" ,ghc-exceptions)
11123 ("ghc-resourcet" ,ghc-resourcet)))
11125 `(("ghc-hunit" ,ghc-hunit)
11126 ("ghc-test-framework" ,ghc-test-framework)
11127 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11128 ("ghc-test-framework-th" ,ghc-test-framework-th)))
11129 (home-page "https://github.com/luispedro/safeio")
11130 (synopsis "Write output to disk atomically")
11132 "This package implements utilities to perform atomic output so as to
11133 avoid the problem of partial intermediate files.")
11134 (license license:expat)))
11136 (define-public ghc-tldr
11139 (version "0.4.0.1")
11143 (uri (string-append
11144 "https://hackage.haskell.org/package/tldr/tldr-"
11149 "0nc581y9jjzwd8l88g48c72mla7k6q1w102akl7gl5jsk9ljamd3"))))
11150 (build-system haskell-build-system)
11152 `(("ghc-cmark" ,ghc-cmark)
11153 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
11154 ("ghc-typed-process" ,ghc-typed-process)
11155 ("ghc-semigroups" ,ghc-semigroups)))
11157 `(("ghc-tasty" ,ghc-tasty)
11158 ("ghc-tasty-golden" ,ghc-tasty-golden)))
11159 (home-page "https://github.com/psibi/tldr-hs#readme")
11160 (synopsis "Haskell tldr client")
11161 (description "This package provides the @command{tldr} command and a
11162 Haskell client library allowing users to update and view @code{tldr} pages
11163 from a shell. The @code{tldr} pages are a community effort to simplify the
11164 man pages with practical examples.")
11165 (license license:bsd-3)))
11167 (define-public ghc-c2hs
11174 (uri (string-append
11175 "https://hackage.haskell.org/package/c2hs/c2hs-"
11180 "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci"))))
11181 (build-system haskell-build-system)
11183 `(("ghc-language-c" ,ghc-language-c)
11184 ("ghc-dlist" ,ghc-dlist)))
11186 `(("ghc-test-framework" ,ghc-test-framework)
11187 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11188 ("ghc-hunit" ,ghc-hunit)
11189 ("ghc-shelly" ,ghc-shelly)
11192 `(;; XXX: Test failures are induced by a parse error in <bits/floatn.h>
11197 (modify-phases %standard-phases
11198 (add-before 'check 'set-cc
11199 ;; add a cc executable in the path, needed for some tests to pass
11200 (lambda* (#:key inputs #:allow-other-keys)
11201 (let ((gcc (assoc-ref inputs "gcc"))
11203 (curpath (getenv "PATH")))
11205 (symlink (which "gcc") (string-append tmpbin "/cc"))
11206 (setenv "PATH" (string-append tmpbin ":" curpath)))
11208 (add-after 'check 'remove-cc
11209 ;; clean the tmp dir made in 'set-cc
11211 (let* ((cc-path (which "cc"))
11212 (cc-dir (dirname cc-path)))
11213 (delete-file-recursively cc-dir)
11215 (home-page "https://github.com/haskell/c2hs")
11216 (synopsis "Create Haskell bindings to C libraries")
11217 (description "C->Haskell assists in the development of Haskell bindings to
11218 C libraries. It extracts interface information from C header files and
11219 generates Haskell code with foreign imports and marshaling. Unlike writing
11220 foreign imports by hand (or using hsc2hs), this ensures that C functions are
11221 imported with the correct Haskell types.")
11222 (license license:gpl2)))
11224 (define-public ghc-libmpd
11226 (name "ghc-libmpd")
11227 (version "0.9.0.9")
11231 (uri (string-append
11232 "mirror://hackage/package/libmpd/libmpd-"
11237 "1931m23iqb4wddpdidm4ph746zpaw41kkjzmb074j7yyfpk7x1jv"))))
11238 (build-system haskell-build-system)
11239 ;; Tests fail on i686.
11240 ;; See https://github.com/vimus/libmpd-haskell/issues/112
11241 (arguments `(#:tests? #f))
11243 `(("ghc-attoparsec" ,ghc-attoparsec)
11244 ("ghc-old-locale" ,ghc-old-locale)
11245 ("ghc-data-default-class" ,ghc-data-default-class)
11246 ("ghc-network" ,ghc-network)
11247 ("ghc-utf8-string" ,ghc-utf8-string)))
11249 `(("ghc-quickcheck" ,ghc-quickcheck)
11250 ("ghc-hspec" ,ghc-hspec)
11251 ("hspec-discover" ,hspec-discover)))
11252 (home-page "https://github.com/vimus/libmpd-haskell")
11253 (synopsis "Haskell client library for the Music Player Daemon")
11254 (description "This package provides a pure Haskell client library for the
11255 Music Player Daemon.")
11256 (license license:expat)))
11258 (define-public ghc-alsa-core
11260 (name "ghc-alsa-core")
11261 (version "0.5.0.1")
11265 (uri (string-append
11266 "mirror://hackage/package/alsa-core/alsa-core-"
11271 "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b"))))
11272 (build-system haskell-build-system)
11274 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
11275 ("alsa-lib" ,alsa-lib)))
11277 `(("pkg-config" ,pkg-config)))
11278 (home-page "http://www.haskell.org/haskellwiki/ALSA")
11279 (synopsis "Binding to the ALSA Library API (Exceptions)")
11280 (description "This package provides access to ALSA infrastructure, that is
11281 needed by both alsa-seq and alsa-pcm.")
11282 (license license:bsd-3)))
11284 (define-public ghc-base-unicode-symbols
11286 (name "ghc-base-unicode-symbols")
11291 (uri (string-append
11292 "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-"
11297 "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf"))))
11298 (build-system haskell-build-system)
11299 (home-page "http://www.haskell.org/haskellwiki/Unicode-symbols")
11300 (synopsis "Unicode alternatives for common functions and operators")
11301 (description "This package defines new symbols for a number of functions,
11302 operators and types in the base package. All symbols are documented with
11303 their actual definition and information regarding their Unicode code point.
11304 They should be completely interchangeable with their definitions. For
11305 further Unicode goodness you can enable the @code{UnicodeSyntax}
11306 @url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax,
11307 language extension}. This extension enables Unicode characters to be used to
11308 stand for certain ASCII character sequences, i.e. → instead of @code{->},
11309 ∀ instead of @code{forall} and many others.")
11310 (license license:bsd-3)))
11312 (define-public ghc-genvalidity
11314 (name "ghc-genvalidity")
11315 (version "0.5.1.0")
11319 (uri (string-append
11320 "https://hackage.haskell.org/package/genvalidity/genvalidity-"
11325 "17ykq38j9a2lzir6dqz5jgy6ndaafrpkhqhcg96c5ppg7wcxaaj0"))))
11326 (build-system haskell-build-system)
11328 `(("ghc-quickcheck" ,ghc-quickcheck)
11329 ("ghc-validity" ,ghc-validity)))
11331 `(("ghc-hspec" ,ghc-hspec)
11332 ("hspec-discover" ,hspec-discover)
11333 ("ghc-hspec-core" ,ghc-hspec-core)))
11335 "https://github.com/NorfairKing/validity")
11337 "Testing utilities for the @code{validity} library")
11339 "This package provides testing utilities that are useful in conjunction
11340 with the @code{Validity} typeclass.")
11341 (license license:expat)))
11343 (define-public ghc-genvalidity-property
11345 (name "ghc-genvalidity-property")
11346 (version "0.2.1.1")
11350 (uri (string-append
11351 "https://hackage.haskell.org/package/"
11352 "genvalidity-property/genvalidity-property-"
11357 "0cjw5i2pydidda9bnp6x37ylhxdk9g874x5sadr6sscg5kq85a1b"))))
11358 (build-system haskell-build-system)
11360 `(("ghc-quickcheck" ,ghc-quickcheck)
11361 ("ghc-genvalidity" ,ghc-genvalidity)
11362 ("ghc-hspec" ,ghc-hspec)
11363 ("hspec-discover" ,hspec-discover)
11364 ("ghc-validity" ,ghc-validity)))
11365 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
11367 "https://github.com/NorfairKing/validity")
11369 "Standard properties for functions on @code{Validity} types")
11371 "This package supplements the @code{Validity} typeclass with standard
11372 properties for functions operating on them.")
11373 (license license:expat)))
11375 (define-public ghc-validity
11377 (name "ghc-validity")
11378 (version "0.7.0.0")
11382 (uri (string-append
11383 "https://hackage.haskell.org/package/validity/validity-"
11388 "0xribw98amafihw87ddajk6vlirp7w9b26lrnjgq7jfm4710j95f"))))
11389 (build-system haskell-build-system)
11390 (native-inputs `(("ghc-hspec" ,ghc-hspec)
11391 ("hspec-discover" ,hspec-discover)))
11393 "https://github.com/NorfairKing/validity")
11394 (synopsis "Validity typeclass")
11396 "Values of custom types usually have invariants imposed upon them. This
11397 package provides the @code{Validity} type class, which makes these invariants
11398 explicit by providing a function to check whether the invariants hold.")
11399 (license license:expat)))
11401 (define-public ghc-path
11408 (uri (string-append
11409 "https://hackage.haskell.org/package/path/path-"
11414 "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb"))))
11415 (build-system haskell-build-system)
11417 ;; TODO: There are some Windows-related tests and modules that need to be
11421 ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463")))
11423 `(("ghc-aeson" ,ghc-aeson)
11424 ("ghc-exceptions" ,ghc-exceptions)
11425 ("ghc-hashable" ,ghc-hashable)))
11427 `(("ghc-hspec" ,ghc-hspec)
11428 ("ghc-quickcheck" ,ghc-quickcheck)
11429 ("ghc-genvalidity" ,ghc-genvalidity)
11430 ("ghc-genvalidity-property" ,ghc-genvalidity-property)
11431 ("ghc-hspec" ,ghc-hspec)
11432 ("ghc-validity" ,ghc-validity)))
11434 "http://hackage.haskell.org/package/path")
11435 (synopsis "Support for well-typed paths")
11436 (description "This package introduces a type for paths upholding useful
11438 (license license:bsd-3)))
11440 (define-public ghc-path-io
11442 (name "ghc-path-io")
11447 (uri (string-append
11448 "https://hackage.haskell.org/package/path-io/path-io-"
11453 "1g9m3qliqjk1img894wsb89diym5zrq51qkkrwhz4sbm9a8hbv1a"))))
11454 (build-system haskell-build-system)
11456 `(("ghc-dlist" ,ghc-dlist)
11457 ("ghc-exceptions" ,ghc-exceptions)
11458 ("ghc-path" ,ghc-path)
11459 ("ghc-transformers-base" ,ghc-transformers-base)
11460 ("ghc-unix-compat" ,ghc-unix-compat)
11461 ("ghc-temporary" ,ghc-temporary)))
11463 `(("ghc-hspec" ,ghc-hspec)))
11466 ("3" "1h9hsibbflkxpjl2fqamqiv3x3gasf51apnmklrs9l9x8r32hzcc")))
11468 "https://github.com/mrkkrp/path-io")
11469 (synopsis "Functions for manipulating well-typed paths")
11470 (description "This package provides an interface to the @code{directory}
11471 package for users of @code{path}. It also implements some missing stuff like
11472 recursive scanning and copying of directories, working with temporary
11473 files/directories, and more.")
11474 (license license:bsd-3)))
11476 (define-public ghc-hindent
11478 (name "ghc-hindent")
11483 (uri (string-append
11484 "https://hackage.haskell.org/package/hindent/hindent-"
11489 "0wkfik7mvqskk23kyh7ybgnlh3j9j1ym7d3ncahsbli9w654b7xg"))))
11490 (build-system haskell-build-system)
11492 `(#:modules ((guix build haskell-build-system)
11494 (guix build emacs-utils))
11495 #:imported-modules (,@%haskell-build-system-modules
11496 (guix build emacs-utils))
11498 (modify-phases %standard-phases
11499 (add-after 'install 'emacs-install
11500 (lambda* (#:key inputs outputs #:allow-other-keys)
11501 (let* ((out (assoc-ref outputs "out"))
11502 (elisp-file "elisp/hindent.el")
11503 (dest (string-append out "/share/emacs/site-lisp"
11504 "/guix.d/hindent-" ,version))
11505 (emacs (string-append (assoc-ref inputs "emacs")
11507 (make-file-writable elisp-file)
11508 (emacs-substitute-variables elisp-file
11509 ("hindent-process-path"
11510 (string-append out "/bin/hindent")))
11511 (install-file elisp-file dest)
11512 (emacs-generate-autoloads "hindent" dest)))))))
11514 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
11515 ("ghc-monad-loops" ,ghc-monad-loops)
11516 ("ghc-utf8-string" ,ghc-utf8-string)
11517 ("ghc-exceptions" ,ghc-exceptions)
11518 ("ghc-yaml" ,ghc-yaml)
11519 ("ghc-unix-compat" ,ghc-unix-compat)
11520 ("ghc-path" ,ghc-path)
11521 ("ghc-path-io" ,ghc-path-io)
11522 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
11524 `(("ghc-hspec" ,ghc-hspec)
11525 ("ghc-diff" ,ghc-diff)
11526 ("emacs" ,emacs-minimal)))
11528 "https://github.com/commercialhaskell/hindent")
11529 (synopsis "Extensible Haskell pretty printer")
11531 "This package provides automatic formatting for Haskell files. Both a
11532 library and an executable.")
11533 (license license:bsd-3)))
11535 (define-public ghc-descriptive
11537 (name "ghc-descriptive")
11542 (uri (string-append
11543 "https://hackage.haskell.org/package/descriptive/descriptive-"
11548 "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237"))))
11549 (build-system haskell-build-system)
11551 `(("ghc-aeson" ,ghc-aeson)
11552 ("ghc-bifunctors" ,ghc-bifunctors)
11553 ("ghc-scientific" ,ghc-scientific)
11554 ("ghc-vector" ,ghc-vector)))
11556 `(("ghc-hunit" ,ghc-hunit)
11557 ("ghc-hspec" ,ghc-hspec)))
11559 "https://github.com/chrisdone/descriptive")
11561 "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.")
11563 "This package provides datatypes and functions for creating consumers
11564 and parsers with useful semantics.")
11565 (license license:bsd-3)))
11567 (define-public ghc-exactprint
11569 (name "ghc-exactprint")
11570 (version "0.5.6.1")
11574 (uri (string-append
11575 "https://hackage.haskell.org/package/"
11576 "ghc-exactprint/ghc-exactprint-" version ".tar.gz"))
11579 "141k6qiys0m0r4br7ikp4i546vs3xcil9cwglzcdfcbnb5nj1z87"))))
11580 (build-system haskell-build-system)
11582 `(("ghc-paths" ,ghc-paths)
11583 ("ghc-syb" ,ghc-syb)
11584 ("ghc-free" ,ghc-free)))
11586 `(("ghc-hunit" ,ghc-hunit)
11587 ("ghc-diff" ,ghc-diff)
11588 ("ghc-silently" ,ghc-silently)
11589 ("ghc-filemanip" ,ghc-filemanip)))
11591 "http://hackage.haskell.org/package/ghc-exactprint")
11592 (synopsis "ExactPrint for GHC")
11594 "Using the API Annotations available from GHC 7.10.2, this library
11595 provides a means to round-trip any code that can be compiled by GHC, currently
11596 excluding @file{.lhs} files.")
11597 (license license:bsd-3)))
11599 (define-public ghc-microlens-mtl
11601 (name "ghc-microlens-mtl")
11602 (version "0.1.11.1")
11606 (uri (string-append
11607 "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-"
11612 "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk"))))
11613 (build-system haskell-build-system)
11615 `(("ghc-microlens" ,ghc-microlens)
11616 ("ghc-transformers-compat" ,ghc-transformers-compat)))
11617 (home-page "https://github.com/monadfix/microlens")
11619 "@code{microlens} support for Reader/Writer/State from mtl")
11621 "This package contains functions (like @code{view} or @code{+=}) which
11622 work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the
11623 mtl package. This package is a part of the
11624 @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
11625 readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
11626 (license license:bsd-3)))
11628 (define-public ghc-microlens-ghc
11630 (name "ghc-microlens-ghc")
11631 (version "0.4.9.1")
11635 (uri (string-append
11636 "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-"
11641 "03iwgg8zww9irv59l70c8yy7vzxir1zf66y12210xk91k5hq6jrj"))))
11642 (build-system haskell-build-system)
11643 (inputs `(("ghc-microlens" ,ghc-microlens)))
11644 (home-page "https://github.com/monadfix/microlens")
11645 (synopsis "Use @code{microlens} with GHC libraries like @code{array}")
11646 (description "This library provides everything that @code{microlens}
11647 provides plus instances to make @code{each}, @code{at}, and @code{ix}
11648 usable with arrays, @code{ByteString}, and containers. This package is
11649 a part of the @uref{http://hackage.haskell.org/package/microlens,
11650 microlens} family; see the readme
11651 @uref{https://github.com/aelve/microlens#readme, on Github}.")
11652 (license license:bsd-3)))
11654 (define-public ghc-microlens-platform
11656 (name "ghc-microlens-platform")
11661 (uri (string-append
11662 "https://hackage.haskell.org/package/"
11663 "microlens-platform/microlens-platform-" version ".tar.gz"))
11666 "1d4nhmgf9jq0ixc7qhwm7aaw3xdr0nalw58d0ydsydgf02cyazwv"))))
11667 (build-system haskell-build-system)
11669 `(("ghc-hashable" ,ghc-hashable)
11670 ("ghc-microlens" ,ghc-microlens)
11671 ("ghc-microlens-ghc" ,ghc-microlens-ghc)
11672 ("ghc-microlens-mtl" ,ghc-microlens-mtl)
11673 ("ghc-microlens-th" ,ghc-microlens-th)
11674 ("ghc-unordered-containers" ,ghc-unordered-containers)
11675 ("ghc-vector" ,ghc-vector)))
11676 (home-page "https://github.com/monadfix/microlens")
11677 (synopsis "Feature-complete microlens")
11679 "This package exports a module which is the recommended starting point
11680 for using @uref{http://hackage.haskell.org/package/microlens, microlens} if
11681 you aren't trying to keep your dependencies minimal. By importing
11682 @code{Lens.Micro.Platform} you get all functions and instances from
11683 @uref{http://hackage.haskell.org/package/microlens, microlens},
11684 @uref{http://hackage.haskell.org/package/microlens-th, microlens-th},
11685 @uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl},
11686 @uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as
11687 well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The
11688 minor and major versions of @code{microlens-platform} are incremented whenever
11689 the minor and major versions of any other @code{microlens} package are
11690 incremented, so you can depend on the exact version of
11691 @code{microlens-platform} without specifying the version of @code{microlens}
11692 you need. This package is a part of the
11693 @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
11694 readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
11695 (license license:bsd-3)))
11697 (define-public ghc-hasktags
11699 (name "ghc-hasktags")
11704 (uri (string-append
11705 "https://hackage.haskell.org/package/hasktags/hasktags-"
11710 "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c"))))
11711 (build-system haskell-build-system)
11713 `(("ghc-system-filepath" ,ghc-system-filepath)
11714 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
11716 `(("ghc-json" ,ghc-json)
11717 ("ghc-utf8-string" ,ghc-utf8-string)
11718 ("ghc-microlens-platform" ,ghc-microlens-platform)
11719 ("ghc-hunit" ,ghc-hunit)))
11720 (home-page "http://github.com/MarcWeber/hasktags")
11721 (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs")
11723 "This package provides a means of generating tag files for Emacs and
11725 (license license:bsd-3)))
11727 (define-public ghc-stylish-haskell
11729 (name "ghc-stylish-haskell")
11730 (version "0.9.2.1")
11734 (uri (string-append
11735 "mirror://hackage/package/stylish-haskell/stylish-haskell-"
11740 "1ls11fdx6snvfx8yykpidz142zzxwi5bazl49hgfqlwx50rqcp7w"))))
11741 (build-system haskell-build-system)
11743 `(("ghc-aeson" ,ghc-aeson)
11744 ("ghc-file-embed" ,ghc-file-embed)
11745 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
11746 ("ghc-semigroups" ,ghc-semigroups)
11747 ("ghc-syb" ,ghc-syb)
11748 ("ghc-yaml" ,ghc-yaml)
11749 ("ghc-strict" ,ghc-strict)
11750 ("ghc-optparse-applicative"
11751 ,ghc-optparse-applicative)))
11753 `(("ghc-hunit" ,ghc-hunit)
11754 ("ghc-test-framework" ,ghc-test-framework)
11755 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
11756 (home-page "https://github.com/jaspervdj/stylish-haskell")
11757 (synopsis "Haskell code prettifier")
11758 (description "Stylish-haskell is a Haskell code prettifier. The goal is
11759 not to format all of the code in a file, to avoid \"getting in the way\".
11760 However, this tool can e.g. clean up import statements and help doing various
11761 tasks that get tedious very quickly. It can
11764 Align and sort @code{import} statements
11766 Group and wrap @code{{-# LANGUAGE #-}} pragmas, remove (some) redundant
11769 Remove trailing whitespaces
11771 Align branches in @code{case} and fields in records
11773 Convert line endings (customisable)
11775 Replace tabs by four spaces (turned off by default)
11777 Replace some ASCII sequences by their Unicode equivalent (turned off by
11780 (license license:bsd-3)))
11782 (define-public ghc-validation
11784 (name "ghc-validation")
11789 (uri (string-append
11790 "mirror://hackage/package/validation/validation-"
11795 "08drmdvyzg2frbb26icy1mlz52xv0l6gi3v8gb7xp0vrcci5libh"))))
11796 (build-system haskell-build-system)
11799 ("1" "1x1g4nannz81j1h64l1m3ancc96zc57d1bjhj1wk7bwn1xxbi5h3")))
11801 `(("ghc-semigroups" ,ghc-semigroups)
11802 ("ghc-semigroupoids" ,ghc-semigroupoids)
11803 ("ghc-bifunctors" ,ghc-bifunctors)
11804 ("ghc-lens" ,ghc-lens)))
11806 `(("ghc-hedgehog" ,ghc-hedgehog)
11807 ("ghc-hunit" ,ghc-hunit)))
11808 (home-page "https://github.com/qfpl/validation")
11810 "Data-type like Either but with an accumulating Applicative")
11812 "A data-type like Either but with differing properties and type-class
11815 Library support is provided for this different representation, including
11816 @code{lens}-related functions for converting between each and abstracting over
11817 their similarities.
11819 The @code{Validation} data type is isomorphic to @code{Either}, but has an
11820 instance of @code{Applicative} that accumulates on the error side. That is to
11821 say, if two (or more) errors are encountered, they are appended using a
11822 @{Semigroup} operation.
11824 As a consequence of this @code{Applicative} instance, there is no
11825 corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an
11826 example of, \"An applicative functor that is not a monad.\"")
11827 (license license:bsd-3)))
11829 (define-public ghc-concurrent-output
11831 (name "ghc-concurrent-output")
11836 (uri (string-append
11837 "mirror://hackage/package/concurrent-output/concurrent-output-"
11842 "0mwf155w89nbbkjln7hhbn8k3f8p0ylcvgrg31cm7ijpx4499i4c"))))
11843 (build-system haskell-build-system)
11845 `(("ghc-async" ,ghc-async)
11846 ("ghc-exceptions" ,ghc-exceptions)
11847 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
11848 ("ghc-terminal-size" ,ghc-terminal-size)))
11850 "https://hackage.haskell.org/package/concurrent-output")
11852 "Ungarble output from several threads or commands")
11854 "Lets multiple threads and external processes concurrently output to the
11855 console, without it getting all garbled up.
11857 Built on top of that is a way of defining multiple output regions, which are
11858 automatically laid out on the screen and can be individually updated by
11859 concurrent threads. Can be used for progress displays etc.")
11860 (license license:bsd-2)))
11862 (define-public ghc-wl-pprint-annotated
11864 (name "ghc-wl-pprint-annotated")
11865 (version "0.1.0.1")
11869 (uri (string-append
11870 "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-"
11875 "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb"))))
11876 (build-system haskell-build-system)
11878 `(("ghc-tasty" ,ghc-tasty)
11879 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
11881 "https://github.com/minad/wl-pprint-annotated#readme")
11883 "Wadler/Leijen pretty printer with annotation support")
11885 "Annotations are useful for coloring. This is a limited version of
11886 @code{wl-pprint-extras} without support for point effects and without the free
11887 monad. Like in @code{annotated-wl-pprint}, only annotations are supported.
11888 Compared to @code{annotated-wl-pprint} this library provides a slightly
11889 modernized interface.")
11890 (license license:bsd-3)))
11891 ;;; haskell.scm ends here