f5a5299379491ecc307946395c8bdb36826a410a
[jackhill/guix/guix.git] / gnu / packages / haskell.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch>
3 ;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
4 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
5 ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2016, 2018 Ludovic Courtès <ludo@gnu.org>
7 ;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
8 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
9 ;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
10 ;;; Copyright © 2016, 2017 David Craven <david@craven.ch>
11 ;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
12 ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
13 ;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com>
14 ;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
15 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
16 ;;; Copyright © 2018 Tonton <tonton@riseup.net>
17 ;;; Copyright © 2018 Timothy Sample <samplet@ngyro.com>
18 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
19 ;;;
20 ;;; This file is part of GNU Guix.
21 ;;;
22 ;;; GNU Guix is free software; you can redistribute it and/or modify it
23 ;;; under the terms of the GNU General Public License as published by
24 ;;; the Free Software Foundation; either version 3 of the License, or (at
25 ;;; your option) any later version.
26 ;;;
27 ;;; GNU Guix is distributed in the hope that it will be useful, but
28 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
29 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 ;;; GNU General Public License for more details.
31 ;;;
32 ;;; You should have received a copy of the GNU General Public License
33 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
34
35 (define-module (gnu packages haskell)
36 #:use-module (gnu packages)
37 #:use-module (gnu packages base)
38 #:use-module (gnu packages bootstrap)
39 #:use-module (gnu packages check)
40 #:use-module (gnu packages compression)
41 #:use-module (gnu packages elf)
42 #:use-module (gnu packages gcc)
43 #:use-module (gnu packages ghostscript)
44 #:use-module (gnu packages gl)
45 #:use-module (gnu packages graphviz)
46 #:use-module (gnu packages haskell-check)
47 #:use-module (gnu packages haskell-crypto)
48 #:use-module (gnu packages haskell-web)
49 #:use-module (gnu packages libffi)
50 #:use-module (gnu packages linux)
51 #:use-module (gnu packages lisp)
52 #:use-module (gnu packages lua)
53 #:use-module (gnu packages maths)
54 #:use-module (gnu packages multiprecision)
55 #:use-module (gnu packages ncurses)
56 #:use-module (gnu packages pcre)
57 #:use-module (gnu packages perl)
58 #:use-module (gnu packages pkg-config)
59 #:use-module (gnu packages python)
60 #:use-module (gnu packages sdl)
61 #:use-module (gnu packages tls)
62 #:use-module (gnu packages xml)
63 #:use-module (gnu packages xorg)
64 #:use-module (guix build-system gnu)
65 #:use-module (guix build-system haskell)
66 #:use-module (guix download)
67 #:use-module (guix git-download)
68 #:use-module ((guix licenses) #:prefix license:)
69 #:use-module (guix packages)
70 #:use-module (guix utils)
71 #:use-module (ice-9 regex)
72 #:use-module ((srfi srfi-1) #:select (alist-delete)))
73
74 (define-public cl-yale-haskell
75 (let ((commit "85f94c72a16c5f70301dd8db04cde9de2d7dd270")
76 (revision "1"))
77 (package
78 (name "cl-yale-haskell")
79 (version (string-append "2.0.5-" revision "." (string-take commit 9)))
80 (source (origin
81 (method git-fetch)
82 (uri (git-reference
83 (url "https://git.elephly.net/software/yale-haskell.git")
84 (commit commit)))
85 (file-name (string-append "yale-haskell-" commit "-checkout"))
86 (sha256
87 (base32
88 "0bal3m6ryrjamz5p93bhs9rp5msk8k7lpcqr44wd7xs9b9k8w74g"))))
89 (build-system gnu-build-system)
90 (arguments
91 `(#:tests? #f ; no tests
92 ;; Stripping binaries leads to a broken executable lisp system image.
93 #:strip-binaries? #f
94 #:make-flags
95 (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
96 #:phases
97 (modify-phases %standard-phases
98 (replace 'configure
99 (lambda _
100 (setenv "PRELUDE" "./progs/prelude")
101 (setenv "HASKELL_LIBRARY" "./progs/lib")
102 (setenv "PRELUDEBIN" "./progs/prelude/clisp")
103 (setenv "HASKELLPROG" "./bin/clisp-haskell")
104 #t)))))
105 (inputs
106 `(("clisp" ,clisp)))
107 (home-page "https://git.elephly.net/software/yale-haskell.git")
108 (synopsis "Port of the Yale Haskell system to CLISP")
109 (description "This package provides the Yale Haskell system running on
110 top of CLISP.")
111 (license license:bsd-4))))
112
113 (define ghc-bootstrap-x86_64-7.8.4
114 (origin
115 (method url-fetch)
116 (uri
117 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.xz")
118 (sha256
119 (base32
120 "13azsl53xgj20mi1hj9x0xb32vvcvs6cpmvwx6znxhas7blh0bpn"))))
121
122 (define ghc-bootstrap-i686-7.8.4
123 (origin
124 (method url-fetch)
125 (uri
126 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.xz")
127 (sha256
128 (base32
129 "0wj5s435j0zgww70bj1d3f6wvnnpzlxwvwcyh2qv4qjq5z8j64kg"))))
130
131 ;; 43 tests out of 3965 fail.
132 ;;
133 ;; Most of them do not appear to be serious:
134 ;;
135 ;; - some tests generate files referring to "/bin/sh" and "/bin/ls". I've not
136 ;; figured out how these references are generated.
137 ;;
138 ;; - Some tests allocate more memory than expected (ca. 3% above upper limit)
139 ;;
140 ;; - Some tests try to load unavailable libriries: Control.Concurrent.STM,
141 ;; Data.Vector, Control.Monad.State.
142 ;;
143 ;; - Test posix010 tries to check the existence of a user on the system:
144 ;; getUserEntryForName: does not exist (no such user)
145 (define-public ghc-7
146 (package
147 (name "ghc")
148 (version "7.10.2")
149 (source
150 (origin
151 (method url-fetch)
152 (uri (string-append "https://www.haskell.org/ghc/dist/"
153 version "/" name "-" version "-src.tar.xz"))
154 (sha256
155 (base32
156 "1x8m4rp2v7ydnrz6z9g8x7z3x3d3pxhv2pixy7i7hkbqbdsp7kal"))))
157 (build-system gnu-build-system)
158 (supported-systems '("i686-linux" "x86_64-linux"))
159 (outputs '("out" "doc"))
160 (inputs
161 `(("gmp" ,gmp)
162 ("ncurses" ,ncurses)
163 ("libffi" ,libffi)
164 ("ghc-testsuite"
165 ,(origin
166 (method url-fetch)
167 (uri (string-append
168 "https://www.haskell.org/ghc/dist/"
169 version "/" name "-" version "-testsuite.tar.xz"))
170 (sha256
171 (base32
172 "0qp9da9ar87zbyn6wjgacd2ic1vgzbi3cklxnhsmjqyafv9qaj4b"))))))
173 (native-inputs
174 `(("perl" ,perl)
175 ("python" ,python-2) ; for tests (fails with python-3)
176 ("ghostscript" ,ghostscript) ; for tests
177 ("patchelf" ,patchelf)
178 ;; GHC is built with GHC. Therefore we need bootstrap binaries.
179 ("ghc-binary"
180 ,(if (string-match "x86_64" (or (%current-target-system) (%current-system)))
181 ghc-bootstrap-x86_64-7.8.4
182 ghc-bootstrap-i686-7.8.4))))
183 (arguments
184 `(#:test-target "test"
185 ;; We get a smaller number of test failures by disabling parallel test
186 ;; execution.
187 #:parallel-tests? #f
188
189 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
190 ;; gremlin) doesn't support it yet, so skip this phase.
191 #:validate-runpath? #f
192
193 ;; Don't pass --build=<triplet>, because the configure script
194 ;; auto-detects slightly different triplets for --host and --target and
195 ;; then complains that they don't match.
196 #:build #f
197
198 #:modules ((guix build gnu-build-system)
199 (guix build utils)
200 (guix build rpath)
201 (srfi srfi-26)
202 (srfi srfi-1))
203 #:imported-modules (,@%gnu-build-system-modules
204 (guix build rpath))
205 #:configure-flags
206 (list
207 (string-append "--with-gmp-libraries="
208 (assoc-ref %build-inputs "gmp") "/lib")
209 (string-append "--with-gmp-includes="
210 (assoc-ref %build-inputs "gmp") "/include")
211 "--with-system-libffi"
212 (string-append "--with-ffi-libraries="
213 (assoc-ref %build-inputs "libffi") "/lib")
214 (string-append "--with-ffi-includes="
215 (assoc-ref %build-inputs "libffi") "/include"))
216 ;; FIXME: The user-guide needs dblatex, docbook-xsl and docbook-utils.
217 ;; Currently we do not have the last one.
218 ;; #:make-flags
219 ;; (list "BUILD_DOCBOOK_HTML = YES")
220 #:phases
221 (let* ((ghc-bootstrap-path
222 (string-append (getcwd) "/" ,name "-" ,version "/ghc-bin"))
223 (ghc-bootstrap-prefix
224 (string-append ghc-bootstrap-path "/usr" )))
225 (alist-cons-after
226 'unpack-bin 'unpack-testsuite-and-fix-bins
227 (lambda* (#:key inputs outputs #:allow-other-keys)
228 (with-directory-excursion ".."
229 (copy-file (assoc-ref inputs "ghc-testsuite")
230 "ghc-testsuite.tar.xz")
231 (system* "tar" "xvf" "ghc-testsuite.tar.xz"))
232 (substitute*
233 (list "testsuite/timeout/Makefile"
234 "testsuite/timeout/timeout.py"
235 "testsuite/timeout/timeout.hs"
236 "testsuite/tests/rename/prog006/Setup.lhs"
237 "testsuite/tests/programs/life_space_leak/life.test"
238 "libraries/process/System/Process/Internals.hs"
239 "libraries/unix/cbits/execvpe.c")
240 (("/bin/sh") (which "sh"))
241 (("/bin/rm") "rm"))
242 #t)
243 (alist-cons-after
244 'unpack 'unpack-bin
245 (lambda* (#:key inputs outputs #:allow-other-keys)
246 (mkdir-p ghc-bootstrap-prefix)
247 (with-directory-excursion ghc-bootstrap-path
248 (copy-file (assoc-ref inputs "ghc-binary")
249 "ghc-bin.tar.xz")
250 (zero? (system* "tar" "xvf" "ghc-bin.tar.xz"))))
251 (alist-cons-before
252 'install-bin 'configure-bin
253 (lambda* (#:key inputs outputs #:allow-other-keys)
254 (let* ((binaries
255 (list
256 "./utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"
257 "./utils/hpc/dist-install/build/tmp/hpc"
258 "./utils/haddock/dist/build/tmp/haddock"
259 "./utils/hsc2hs/dist-install/build/tmp/hsc2hs"
260 "./utils/runghc/dist-install/build/tmp/runghc"
261 "./utils/ghc-cabal/dist-install/build/tmp/ghc-cabal"
262 "./utils/hp2ps/dist/build/tmp/hp2ps"
263 "./utils/ghc-pkg/dist-install/build/tmp/ghc-pkg"
264 "./utils/unlit/dist/build/tmp/unlit"
265 "./ghc/stage2/build/tmp/ghc-stage2"))
266 (gmp (assoc-ref inputs "gmp"))
267 (gmp-lib (string-append gmp "/lib"))
268 (gmp-include (string-append gmp "/include"))
269 (ncurses-lib
270 (string-append (assoc-ref inputs "ncurses") "/lib"))
271 (ld-so (string-append (assoc-ref inputs "libc")
272 ,(glibc-dynamic-linker)))
273 (libtinfo-dir
274 (string-append ghc-bootstrap-prefix
275 "/lib/ghc-7.8.4/terminfo-0.4.0.0")))
276 (with-directory-excursion
277 (string-append ghc-bootstrap-path "/ghc-7.8.4")
278 (setenv "CONFIG_SHELL" (which "bash"))
279 (setenv "LD_LIBRARY_PATH" gmp-lib)
280 ;; The binaries have "/lib64/ld-linux-x86-64.so.2" hardcoded.
281 (for-each
282 (cut system* "patchelf" "--set-interpreter" ld-so <>)
283 binaries)
284 ;; The binaries include a reference to libtinfo.so.5 which
285 ;; is a subset of libncurses.so.5. We create a symlink in a
286 ;; directory included in the bootstrap binaries rpath.
287 (mkdir-p libtinfo-dir)
288 (symlink
289 (string-append ncurses-lib "/libncursesw.so."
290 ;; Extract "6.0" from "6.0-20170930" if a
291 ;; dash-separated version tag exists.
292 ,(let* ((v (package-version ncurses))
293 (d (or (string-index v #\-)
294 (string-length v))))
295 (version-major+minor (string-take v d))))
296 (string-append libtinfo-dir "/libtinfo.so.5"))
297
298 (setenv "PATH"
299 (string-append (getenv "PATH") ":"
300 ghc-bootstrap-prefix "/bin"))
301 (system*
302 (string-append (getcwd) "/configure")
303 (string-append "--prefix=" ghc-bootstrap-prefix)
304 (string-append "--with-gmp-libraries=" gmp-lib)
305 (string-append "--with-gmp-includes=" gmp-include)))))
306 (alist-cons-before
307 'configure 'install-bin
308 (lambda* (#:key inputs outputs #:allow-other-keys)
309 (with-directory-excursion
310 (string-append ghc-bootstrap-path "/ghc-7.8.4")
311 (zero? (system* "make" "install"))))
312 %standard-phases)))))))
313 (native-search-paths (list (search-path-specification
314 (variable "GHC_PACKAGE_PATH")
315 (files (list
316 (string-append "lib/ghc-" version)))
317 (file-pattern ".*\\.conf\\.d$")
318 (file-type 'directory))))
319 (home-page "https://www.haskell.org/ghc")
320 (synopsis "The Glasgow Haskell Compiler")
321 (description
322 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
323 interactive environment for the functional language Haskell.")
324 (license license:bsd-3)))
325
326 (define-public ghc-8.0
327 (package
328 (name "ghc")
329 (version "8.0.2")
330 (source
331 (origin
332 (method url-fetch)
333 (uri (string-append "https://www.haskell.org/ghc/dist/"
334 version "/" name "-" version "-src.tar.xz"))
335 (sha256
336 (base32 "1c8qc4fhkycynk4g1f9hvk53dj6a1vvqi6bklqznns6hw59m8qhi"))
337 (patches
338 (search-patches
339 "ghc-dont-pass-linker-flags-via-response-files.patch"
340 "ghc-8.0-fall-back-to-madv_dontneed.patch"))))
341 (build-system gnu-build-system)
342 (supported-systems '("i686-linux" "x86_64-linux"))
343 (outputs '("out" "doc"))
344 (inputs
345 `(("gmp" ,gmp)
346 ("ncurses" ,ncurses)
347 ("libffi" ,libffi)
348 ("ghc-testsuite"
349 ,(origin
350 (method url-fetch)
351 (uri (string-append
352 "https://www.haskell.org/ghc/dist/"
353 version "/" name "-" version "-testsuite.tar.xz"))
354 (sha256
355 (base32 "1wjc3x68l305bl1h1ijd3yhqp2vqj83lkp3kqbr94qmmkqlms8sj"))))))
356 (native-inputs
357 `(("perl" ,perl)
358 ("python" ,python-2) ; for tests
359 ("ghostscript" ,ghostscript) ; for tests
360 ;; GHC is built with GHC.
361 ("ghc-bootstrap" ,ghc-7)))
362 (arguments
363 `(#:test-target "test"
364 ;; We get a smaller number of test failures by disabling parallel test
365 ;; execution.
366 #:parallel-tests? #f
367
368 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
369 ;; gremlin) doesn't support it yet, so skip this phase.
370 #:validate-runpath? #f
371
372 ;; Don't pass --build=<triplet>, because the configure script
373 ;; auto-detects slightly different triplets for --host and --target and
374 ;; then complains that they don't match.
375 #:build #f
376
377 #:configure-flags
378 (list
379 (string-append "--with-gmp-libraries="
380 (assoc-ref %build-inputs "gmp") "/lib")
381 (string-append "--with-gmp-includes="
382 (assoc-ref %build-inputs "gmp") "/include")
383 "--with-system-libffi"
384 (string-append "--with-ffi-libraries="
385 (assoc-ref %build-inputs "libffi") "/lib")
386 (string-append "--with-ffi-includes="
387 (assoc-ref %build-inputs "libffi") "/include")
388 (string-append "--with-curses-libraries="
389 (assoc-ref %build-inputs "ncurses") "/lib")
390 (string-append "--with-curses-includes="
391 (assoc-ref %build-inputs "ncurses") "/include"))
392 #:phases
393 (modify-phases %standard-phases
394 (add-after 'unpack 'unpack-testsuite
395 (lambda* (#:key inputs #:allow-other-keys)
396 (with-directory-excursion ".."
397 (copy-file (assoc-ref inputs "ghc-testsuite")
398 "ghc-testsuite.tar.xz")
399 (zero? (system* "tar" "xvf" "ghc-testsuite.tar.xz")))))
400 (add-before 'build 'fix-lib-paths
401 (lambda _
402 (substitute*
403 (list "libraries/process/System/Process/Posix.hs"
404 "libraries/process/tests/process001.hs"
405 "libraries/process/tests/process002.hs"
406 "libraries/unix/cbits/execvpe.c")
407 (("/bin/sh") (which "sh"))
408 (("/bin/ls") (which "ls")))
409 #t))
410 (add-before 'build 'fix-environment
411 (lambda _
412 (unsetenv "GHC_PACKAGE_PATH")
413 (setenv "CONFIG_SHELL" (which "bash"))
414 #t))
415 (add-before 'check 'fix-testsuite
416 (lambda _
417 (substitute*
418 (list "testsuite/timeout/Makefile"
419 "testsuite/timeout/timeout.py"
420 "testsuite/timeout/timeout.hs"
421 "testsuite/tests/programs/life_space_leak/life.test")
422 (("/bin/sh") (which "sh"))
423 (("/bin/rm") "rm"))
424 #t)))))
425 (native-search-paths (list (search-path-specification
426 (variable "GHC_PACKAGE_PATH")
427 (files (list
428 (string-append "lib/ghc-" version)))
429 (file-pattern ".*\\.conf\\.d$")
430 (file-type 'directory))))
431 (home-page "https://www.haskell.org/ghc")
432 (synopsis "The Glasgow Haskell Compiler")
433 (description
434 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
435 interactive environment for the functional language Haskell.")
436 (license license:bsd-3)))
437
438 (define-public ghc-8
439 (package (inherit ghc-8.0)
440 (name "ghc")
441 (version "8.4.3")
442 (source
443 (origin
444 (method url-fetch)
445 (uri (string-append "https://www.haskell.org/ghc/dist/"
446 version "/" name "-" version "-src.tar.xz"))
447 (sha256
448 (base32 "1mk046vb561j75saz05rghhbkps46ym5aci4264dwc2qk3dayixf"))))
449 (inputs
450 `(("gmp" ,gmp)
451 ("ncurses" ,ncurses)
452 ("libffi" ,libffi)
453 ("target-binutils" ,binutils)
454 ("target-gcc" ,gcc)
455 ("target-ld-wrapper" ,(make-ld-wrapper "ld-wrapper"
456 #:binutils binutils))))
457 (native-inputs
458 `(("perl" ,perl)
459 ("python" ,python) ; for tests
460 ("ghostscript" ,ghostscript) ; for tests
461 ;; GHC 8.4.3 is built with GHC 8.
462 ("ghc-bootstrap" ,ghc-8.0)
463 ("ghc-testsuite"
464 ,(origin
465 (method url-fetch)
466 (uri (string-append
467 "https://www.haskell.org/ghc/dist/"
468 version "/" name "-" version "-testsuite.tar.xz"))
469 (sha256
470 (base32
471 "1z55b1z0m3plqd2d1ks6w5wvx7igm7zsk3i4v7cms003z0as0hzz"))))))
472 (arguments
473 `(#:test-target "test"
474 ;; We get a smaller number of test failures by disabling parallel test
475 ;; execution.
476 #:parallel-tests? #f
477
478 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
479 ;; gremlin) doesn't support it yet, so skip this phase.
480 #:validate-runpath? #f
481
482 ;; Don't pass --build=<triplet>, because the configure script
483 ;; auto-detects slightly different triplets for --host and --target and
484 ;; then complains that they don't match.
485 #:build #f
486
487 #:configure-flags
488 (list
489 (string-append "--with-gmp-libraries="
490 (assoc-ref %build-inputs "gmp") "/lib")
491 (string-append "--with-gmp-includes="
492 (assoc-ref %build-inputs "gmp") "/include")
493 "--with-system-libffi"
494 (string-append "--with-ffi-libraries="
495 (assoc-ref %build-inputs "libffi") "/lib")
496 (string-append "--with-ffi-includes="
497 (assoc-ref %build-inputs "libffi") "/include")
498 (string-append "--with-curses-libraries="
499 (assoc-ref %build-inputs "ncurses") "/lib")
500 (string-append "--with-curses-includes="
501 (assoc-ref %build-inputs "ncurses") "/include"))
502 #:phases
503 (modify-phases %standard-phases
504 (add-after 'unpack 'unpack-testsuite
505 (lambda* (#:key inputs #:allow-other-keys)
506 (invoke "tar" "xvf"
507 (assoc-ref inputs "ghc-testsuite")
508 "--strip-components=1")
509 #t))
510 (add-after 'unpack-testsuite 'fix-shell-wrappers
511 (lambda _
512 (substitute* '("driver/ghci/ghc.mk"
513 "utils/mkdirhier/ghc.mk"
514 "rules/shell-wrapper.mk")
515 (("echo '#!/bin/sh'")
516 (format #f "echo '#!~a'" (which "sh"))))
517 #t))
518 ;; This is necessary because the configure system no longer uses
519 ;; “AC_PATH_” but “AC_CHECK_”, setting the variables to just the
520 ;; plain command names.
521 (add-before 'configure 'set-target-programs
522 (lambda* (#:key inputs #:allow-other-keys)
523 (let ((binutils (assoc-ref inputs "target-binutils"))
524 (gcc (assoc-ref inputs "target-gcc"))
525 (ld-wrapper (assoc-ref inputs "target-ld-wrapper")))
526 (setenv "CC" (string-append gcc "/bin/gcc"))
527 (setenv "CXX" (string-append gcc "/bin/g++"))
528 (setenv "LD" (string-append ld-wrapper "/bin/ld"))
529 (setenv "NM" (string-append binutils "/bin/nm"))
530 (setenv "RANLIB" (string-append binutils "/bin/ranlib"))
531 (setenv "STRIP" (string-append binutils "/bin/strip"))
532 ;; The 'ar' command does not follow the same pattern.
533 (setenv "fp_prog_ar" (string-append binutils "/bin/ar"))
534 #t)))
535 (add-before 'build 'fix-references
536 (lambda _
537 (substitute* '("testsuite/timeout/Makefile"
538 "testsuite/timeout/timeout.py"
539 "testsuite/timeout/timeout.hs"
540 "testsuite/tests/programs/life_space_leak/life.test"
541 ;; libraries
542 "libraries/process/System/Process/Posix.hs"
543 "libraries/process/tests/process001.hs"
544 "libraries/process/tests/process002.hs"
545 "libraries/unix/cbits/execvpe.c")
546 (("/bin/sh") (which "sh"))
547 (("/bin/ls") (which "ls"))
548 (("/bin/rm") "rm"))
549 #t))
550 (add-before 'build 'fix-environment
551 (lambda _
552 (unsetenv "GHC_PACKAGE_PATH")
553 (setenv "CONFIG_SHELL" (which "bash"))
554 #t)))))
555 (native-search-paths (list (search-path-specification
556 (variable "GHC_PACKAGE_PATH")
557 (files (list
558 (string-append "lib/ghc-" version)))
559 (file-pattern ".*\\.conf\\.d$")
560 (file-type 'directory))))))
561
562 (define-public ghc ghc-8)
563
564 (define-public ghc-hostname
565 (package
566 (name "ghc-hostname")
567 (version "1.0")
568 (source
569 (origin
570 (method url-fetch)
571 (uri (string-append "https://hackage.haskell.org/package/hostname/"
572 "hostname-" version ".tar.gz"))
573 (sha256
574 (base32
575 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
576 (build-system haskell-build-system)
577 (home-page "https://hackage.haskell.org/package/hostname")
578 (synopsis "Hostname in Haskell")
579 (description "Network.HostName is a simple package providing a means to
580 determine the hostname.")
581 (license license:bsd-3)))
582
583 (define-public ghc-convertible
584 (package
585 (name "ghc-convertible")
586 (version "1.1.1.0")
587 (source
588 (origin
589 (method url-fetch)
590 (uri (string-append "https://hackage.haskell.org/package/convertible/"
591 "convertible-" version ".tar.gz"))
592 (sha256
593 (base32
594 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
595 (build-system haskell-build-system)
596 (inputs
597 `(("ghc-old-time" ,ghc-old-time)
598 ("ghc-old-locale" ,ghc-old-locale)
599 ("ghc-text" ,ghc-text)))
600 (home-page "https://hackage.haskell.org/package/convertible")
601 (synopsis "Typeclasses and instances for converting between types")
602 (description
603 "This package provides a typeclass with a single function that is
604 designed to help convert between different types: numeric values, dates and
605 times, and the like. The conversions perform bounds checking and return a
606 pure @code{Either} value. This means that you need not remember which specific
607 function performs the conversion you desire.")
608 (license license:bsd-3)))
609
610 (define-public ghc-double-conversion
611 (package
612 (name "ghc-double-conversion")
613 (version "2.0.2.0")
614 (source
615 (origin
616 (method url-fetch)
617 (uri (string-append "https://hackage.haskell.org/package/"
618 "double-conversion/double-conversion-"
619 version ".tar.gz"))
620 (sha256
621 (base32
622 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
623 (build-system haskell-build-system)
624 (inputs `(("ghc-text" ,ghc-text)))
625 (native-inputs
626 `(("ghc-hunit" ,ghc-hunit)
627 ("ghc-test-framework" ,ghc-test-framework)
628 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
629 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
630 (home-page "https://github.com/bos/double-conversion")
631 (synopsis "Fast conversion between double precision floating point and text")
632 (description
633 "This package provides a library that performs fast, accurate conversion
634 between double precision floating point and text.")
635 (license license:bsd-3)))
636
637 (define-public ghc-libxml
638 (package
639 (name "ghc-libxml")
640 (version "0.1.1")
641 (source
642 (origin
643 (method url-fetch)
644 (uri (string-append "https://hackage.haskell.org/package/libxml/"
645 "libxml-" version ".tar.gz"))
646 (sha256
647 (base32
648 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
649 (build-system haskell-build-system)
650 (inputs
651 `(("libxml2" ,libxml2)))
652 (arguments
653 `(#:configure-flags
654 `(,(string-append "--extra-include-dirs="
655 (assoc-ref %build-inputs "libxml2")
656 "/include/libxml2"))))
657 (home-page "https://hackage.haskell.org/package/libxml")
658 (synopsis "Haskell bindings to libxml2")
659 (description
660 "This library provides minimal Haskell binding to libxml2.")
661 (license license:bsd-3)))
662
663 (define-public ghc-prelude-extras
664 (package
665 (name "ghc-prelude-extras")
666 (version "0.4.0.3")
667 (source
668 (origin
669 (method url-fetch)
670 (uri (string-append
671 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
672 version
673 ".tar.gz"))
674 (sha256
675 (base32
676 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
677 (build-system haskell-build-system)
678 (home-page "https://github.com/ekmett/prelude-extras")
679 (synopsis "Higher order versions of Prelude classes")
680 (description "This library provides higher order versions of
681 @code{Prelude} classes to ease programming with polymorphic recursion and
682 reduce @code{UndecidableInstances}.")
683 (license license:bsd-3)))
684
685 (define-public ghc-data-default
686 (package
687 (name "ghc-data-default")
688 (version "0.7.1.1")
689 (source
690 (origin
691 (method url-fetch)
692 (uri (string-append
693 "https://hackage.haskell.org/package/data-default/data-default-"
694 version
695 ".tar.gz"))
696 (sha256
697 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
698 (build-system haskell-build-system)
699 (inputs
700 `(("ghc-data-default-class"
701 ,ghc-data-default-class)
702 ("ghc-data-default-instances-base"
703 ,ghc-data-default-instances-base)
704 ("ghc-data-default-instances-containers"
705 ,ghc-data-default-instances-containers)
706 ("ghc-data-default-instances-dlist"
707 ,ghc-data-default-instances-dlist)
708 ("ghc-data-default-instances-old-locale"
709 ,ghc-data-default-instances-old-locale)))
710 (home-page "https://hackage.haskell.org/package/data-default")
711 (synopsis "Types with default values")
712 (description
713 "This package defines a class for types with a default value, and
714 provides instances for types from the base, containers, dlist and old-locale
715 packages.")
716 (license license:bsd-3)))
717
718 (define-public ghc-data-default-class
719 (package
720 (name "ghc-data-default-class")
721 (version "0.1.2.0")
722 (source
723 (origin
724 (method url-fetch)
725 (uri (string-append
726 "https://hackage.haskell.org/package/data-default-class/"
727 "data-default-class-" version ".tar.gz"))
728 (sha256
729 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
730 (build-system haskell-build-system)
731 (home-page "https://hackage.haskell.org/package/data-default-class")
732 (synopsis "Types with default values")
733 (description
734 "This package defines a class for types with default values.")
735 (license license:bsd-3)))
736
737 (define-public ghc-data-default-instances-base
738 (package
739 (name "ghc-data-default-instances-base")
740 (version "0.1.0.1")
741 (source
742 (origin
743 (method url-fetch)
744 (uri (string-append
745 "https://hackage.haskell.org/package/"
746 "data-default-instances-base/"
747 "data-default-instances-base-" version ".tar.gz"))
748 (sha256
749 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
750 (build-system haskell-build-system)
751 (inputs
752 `(("ghc-data-default-class" ,ghc-data-default-class)))
753 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
754 (synopsis "Default instances for types in base")
755 (description
756 "This package provides default instances for types from the base
757 package.")
758 (license license:bsd-3)))
759
760 (define-public ghc-data-default-instances-containers
761 (package
762 (name "ghc-data-default-instances-containers")
763 (version "0.0.1")
764 (source
765 (origin
766 (method url-fetch)
767 (uri (string-append
768 "https://hackage.haskell.org/package/"
769 "data-default-instances-containers/"
770 "data-default-instances-containers-" version ".tar.gz"))
771 (sha256
772 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
773 (build-system haskell-build-system)
774 (inputs
775 `(("ghc-data-default-class" ,ghc-data-default-class)))
776 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
777 (synopsis "Default instances for types in containers")
778 (description "Provides default instances for types from the containers
779 package.")
780 (license license:bsd-3)))
781
782 (define-public ghc-data-default-instances-dlist
783 (package
784 (name "ghc-data-default-instances-dlist")
785 (version "0.0.1")
786 (source
787 (origin
788 (method url-fetch)
789 (uri (string-append
790 "https://hackage.haskell.org/package/"
791 "data-default-instances-dlist/"
792 "data-default-instances-dlist-" version ".tar.gz"))
793 (sha256
794 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
795 (build-system haskell-build-system)
796 (inputs
797 `(("ghc-data-default-class" ,ghc-data-default-class)
798 ("ghc-dlist" ,ghc-dlist)))
799 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
800 (synopsis "Default instances for types in dlist")
801 (description "Provides default instances for types from the dlist
802 package.")
803 (license license:bsd-3)))
804
805 (define-public ghc-code-page
806 (package
807 (name "ghc-code-page")
808 (version "0.1.3")
809 (source
810 (origin
811 (method url-fetch)
812 (uri (string-append
813 "https://hackage.haskell.org/package/code-page/code-page-"
814 version ".tar.gz"))
815 (sha256
816 (base32
817 "1491frk4jx6dlhifky9dvcxbsbcfssrz979a5hp5zn061rh8cp76"))))
818 (build-system haskell-build-system)
819 (home-page "https://github.com/RyanGlScott/code-page")
820 (synopsis "Windows code page library for Haskell")
821 (description "A cross-platform library with functions for adjusting
822 code pages on Windows. On all other operating systems, the library does
823 nothing.")
824 (license license:bsd-3)))
825
826 (define-public ghc-haddock-library
827 (package
828 (name "ghc-haddock-library")
829 (version "1.4.3")
830 (source
831 (origin
832 (method url-fetch)
833 (uri (string-append
834 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
835 version
836 ".tar.gz"))
837 (sha256
838 (base32
839 "0ns4bpf6whmcfl0cm2gx2c73if416x4q3ac4l4qm8w84h0zpcr7p"))))
840 (build-system haskell-build-system)
841 (inputs
842 `(("ghc-base-compat" ,ghc-base-compat)))
843 (native-inputs
844 `(("hspec-discover" ,hspec-discover)
845 ("ghc-hspec" ,ghc-hspec)
846 ("ghc-quickcheck" ,ghc-quickcheck)))
847 (home-page "https://www.haskell.org/haddock/")
848 (synopsis "Library exposing some functionality of Haddock")
849 (description
850 "Haddock is a documentation-generation tool for Haskell libraries. These
851 modules expose some functionality of it without pulling in the GHC dependency.
852 Please note that the API is likely to change so specify upper bounds in your
853 project if you can't release often. For interacting with Haddock itself, see
854 the ‘haddock’ package.")
855 (license license:bsd-3)))
856
857 (define-public ghc-haddock-api
858 (package
859 (name "ghc-haddock-api")
860 ;; This is the last version to be supported by Cabal < 2.0
861 (version "2.17.4")
862 (source
863 (origin
864 (method url-fetch)
865 (uri (string-append
866 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
867 version
868 ".tar.gz"))
869 (sha256
870 (base32
871 "00fn6pzgg8xjbaw12d76jdqh2dbc5xy7miyz0x6kidvvar7i35ss"))))
872 (build-system haskell-build-system)
873 (inputs
874 `(("ghc-paths" ,ghc-paths)
875 ("ghc-haddock-library" ,ghc-haddock-library)))
876 (native-inputs
877 `(("ghc-quickcheck" ,ghc-quickcheck)
878 ("ghc-hspec" ,ghc-hspec)
879 ("hspec-discover" ,hspec-discover)))
880 (home-page "https://www.haskell.org/haddock/")
881 (synopsis "API for documentation-generation tool Haddock")
882 (description "This package provides an API to Haddock, the
883 documentation-generation tool for Haskell libraries.")
884 (license license:bsd-3)))
885
886 (define-public ghc-haddock-test
887 (package
888 (name "ghc-haddock-test")
889 (version "0.0.1")
890 (source
891 (origin
892 (method url-fetch)
893 (uri (string-append "https://hackage.haskell.org/package/"
894 "haddock-test/haddock-test-"
895 version ".tar.gz"))
896 (sha256
897 (base32
898 "1ax8fnfrwx66csj952f3virxzapipan9da7z5l1zc12nqkifbs7w"))))
899 (build-system haskell-build-system)
900 (inputs
901 `(("ghc-xml" ,ghc-xml)
902 ("ghc-syb" ,ghc-syb)))
903 (home-page "http://www.haskell.org/haddock/")
904 (synopsis "Test utilities for Haddock")
905 (description "This package provides test utilities for Haddock.")
906 (license license:bsd-3)))
907
908 (define-public ghc-haddock
909 (package
910 (name "ghc-haddock")
911 (version "2.17.4")
912 (source
913 (origin
914 (method url-fetch)
915 (uri (string-append
916 "https://hackage.haskell.org/package/haddock/haddock-"
917 version
918 ".tar.gz"))
919 (sha256
920 (base32
921 "1z3h3v7w84dzsm47iavdppc2w899mr4c1agq9fzghgz902i0a655"))))
922 (build-system haskell-build-system)
923 ;; FIXME: Tests fail with this error:
924 ;; driver-test/Main.hs:4:1: error:
925 ;; Failed to load interface for ‘ResponseFileSpec’
926 (arguments `(#:tests? #f))
927 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
928 (native-inputs
929 `(("ghc-hspec" ,ghc-hspec)
930 ("ghc-haddock-test" ,ghc-haddock-test)))
931 (home-page "https://www.haskell.org/haddock/")
932 (synopsis
933 "Documentation-generation tool for Haskell libraries")
934 (description
935 "Haddock is a documentation-generation tool for Haskell libraries.")
936 (license license:bsd-3)))
937
938 (define-public ghc-simple-reflect
939 (package
940 (name "ghc-simple-reflect")
941 (version "0.3.2")
942 (source
943 (origin
944 (method url-fetch)
945 (uri (string-append
946 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
947 version
948 ".tar.gz"))
949 (sha256
950 (base32
951 "1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq"))))
952 (build-system haskell-build-system)
953 (home-page
954 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
955 (synopsis
956 "Simple reflection of expressions containing variables")
957 (description
958 "This package allows simple reflection of expressions containing
959 variables. Reflection here means that a Haskell expression is turned into a
960 string. The primary aim of this package is teaching and understanding; there
961 are no options for manipulating the reflected expressions beyond showing
962 them.")
963 (license license:bsd-3)))
964
965 (define-public ghc-haskell-src
966 (package
967 (name "ghc-haskell-src")
968 (version "1.0.2.0")
969 (source
970 (origin
971 (method url-fetch)
972 (uri (string-append
973 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
974 version
975 ".tar.gz"))
976 (sha256
977 (base32
978 "19lilhpwnjb7cks9fq1ipnc8f7dwxy0ri3dgjkdxs3i355byw99a"))))
979 (build-system haskell-build-system)
980 (inputs
981 `(("ghc-happy" ,ghc-happy)
982 ("ghc-syb" ,ghc-syb)))
983 (home-page
984 "https://hackage.haskell.org/package/haskell-src")
985 (synopsis
986 "Support for manipulating Haskell source code")
987 (description
988 "The 'haskell-src' package provides support for manipulating Haskell
989 source code. The package provides a lexer, parser and pretty-printer, and a
990 definition of a Haskell abstract syntax tree (AST). Common uses of this
991 package are to parse or generate Haskell 98 code.")
992 (license license:bsd-3)))
993
994 (define-public ghc-alex
995 (package
996 (name "ghc-alex")
997 (version "3.2.3")
998 (source
999 (origin
1000 (method url-fetch)
1001 (uri (string-append
1002 "https://hackage.haskell.org/package/alex/alex-"
1003 version
1004 ".tar.gz"))
1005 (sha256
1006 (base32
1007 "0bi1cs9b8ir33h1fl6x2xw4ymygapqbr713ridpf7rmk2wa7jqqs"))))
1008 (build-system haskell-build-system)
1009 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
1010 (home-page "https://www.haskell.org/alex/")
1011 (synopsis
1012 "Tool for generating lexical analysers in Haskell")
1013 (description
1014 "Alex is a tool for generating lexical analysers in Haskell. It takes a
1015 description of tokens based on regular expressions and generates a Haskell
1016 module containing code for scanning text efficiently. It is similar to the
1017 tool lex or flex for C/C++.")
1018 (license license:bsd-3)))
1019
1020 (define-public ghc-cgi
1021 (package
1022 (name "ghc-cgi")
1023 (version "3001.3.0.2")
1024 (source
1025 (origin
1026 (method url-fetch)
1027 (uri (string-append
1028 "https://hackage.haskell.org/package/cgi/cgi-"
1029 version
1030 ".tar.gz"))
1031 (sha256
1032 (base32
1033 "1hbpplss1m4rdpm4ibip6fpimlhssqa14fl338kl2jbc463i64cj"))))
1034 (build-system haskell-build-system)
1035 (arguments
1036 `(#:configure-flags (list "--allow-newer=QuickCheck")))
1037 (inputs
1038 `(("ghc-parsec" ,ghc-parsec)
1039 ("ghc-exceptions" ,ghc-exceptions)
1040 ("ghc-multipart" ,ghc-multipart)
1041 ("ghc-network-uri" ,ghc-network-uri)
1042 ("ghc-network" ,ghc-network)))
1043 (native-inputs
1044 `(("ghc-doctest" ,ghc-doctest)
1045 ("ghc-quickcheck" ,ghc-quickcheck)))
1046 (home-page
1047 "https://github.com/cheecheeo/haskell-cgi")
1048 (synopsis "Library for writing CGI programs")
1049 (description
1050 "This is a Haskell library for writing CGI programs.")
1051 (license license:bsd-3)))
1052
1053 (define-public ghc-cmdargs
1054 (package
1055 (name "ghc-cmdargs")
1056 (version "0.10.20")
1057 (source
1058 (origin
1059 (method url-fetch)
1060 (uri (string-append
1061 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
1062 version ".tar.gz"))
1063 (sha256
1064 (base32
1065 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
1066 (build-system haskell-build-system)
1067 (home-page
1068 "http://community.haskell.org/~ndm/cmdargs/")
1069 (synopsis "Command line argument processing")
1070 (description
1071 "This library provides an easy way to define command line parsers.")
1072 (license license:bsd-3)))
1073
1074 (define-public ghc-concatenative
1075 (package
1076 (name "ghc-concatenative")
1077 (version "1.0.1")
1078 (source (origin
1079 (method url-fetch)
1080 (uri (string-append
1081 "https://hackage.haskell.org/package/concatenative/concatenative-"
1082 version ".tar.gz"))
1083 (sha256
1084 (base32
1085 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
1086 (build-system haskell-build-system)
1087 (home-page
1088 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
1089 (synopsis "Library for postfix control flow")
1090 (description
1091 "Concatenative gives Haskell Factor-style combinators and arrows for
1092 postfix notation. For more information on stack based languages, see
1093 @uref{https://concatenative.org}.")
1094 (license license:bsd-3)))
1095
1096 (define-public ghc-happy
1097 (package
1098 (name "ghc-happy")
1099 (version "1.19.8")
1100 (source
1101 (origin
1102 (method url-fetch)
1103 (uri (string-append
1104 "https://hackage.haskell.org/package/happy/happy-"
1105 version
1106 ".tar.gz"))
1107 (sha256
1108 (base32
1109 "186ky3bly0i3cc56qk3r7j7pxh2108aackq4n2lli7jmbnb3kxsd"))))
1110 (build-system haskell-build-system)
1111 (home-page "https://hackage.haskell.org/package/happy")
1112 (synopsis "Parser generator for Haskell")
1113 (description "Happy is a parser generator for Haskell. Given a grammar
1114 specification in BNF, Happy generates Haskell code to parse the grammar.
1115 Happy works in a similar way to the yacc tool for C.")
1116 (license license:bsd-3)))
1117
1118 (define-public ghc-haskell-lexer
1119 (package
1120 (name "ghc-haskell-lexer")
1121 (version "1.0.1")
1122 (source
1123 (origin
1124 (method url-fetch)
1125 (uri (string-append
1126 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
1127 version ".tar.gz"))
1128 (sha256
1129 (base32
1130 "0rj3r1pk88hh3sk3mj61whp8czz5kpxhbc78xlr04bxwqjrjmm6p"))))
1131 (build-system haskell-build-system)
1132 (home-page "http://hackage.haskell.org/package/haskell-lexer")
1133 (synopsis "Fully compliant Haskell 98 lexer")
1134 (description
1135 "This package provides a fully compliant Haskell 98 lexer.")
1136 (license license:bsd-3)))
1137
1138 (define-public ghc-pretty-show
1139 (package
1140 (name "ghc-pretty-show")
1141 (version "1.6.12")
1142 (source
1143 (origin
1144 (method url-fetch)
1145 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
1146 "pretty-show-" version ".tar.gz"))
1147 (sha256
1148 (base32
1149 "1fblcxw4z4ry14brin1mvwccs6hqqlhi7xhwv1f23szjq25cjacn"))))
1150 (build-system haskell-build-system)
1151 (inputs
1152 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
1153 ("ghc-happy" ,ghc-happy)))
1154 (home-page "http://wiki.github.com/yav/pretty-show")
1155 (synopsis "Tools for working with derived `Show` instances")
1156 (description
1157 "This package provides a library and an executable for working with
1158 derived @code{Show} instances. By using the library, derived @code{Show}
1159 instances can be parsed into a generic data structure. The @code{ppsh} tool
1160 uses the library to produce human-readable versions of @code{Show} instances,
1161 which can be quite handy for debugging Haskell programs. We can also render
1162 complex generic values into an interactive Html page, for easier
1163 examination.")
1164 (license license:expat)))
1165
1166 (define-public ghc-pretty-show-for-haskell-src-exts
1167 (package (inherit ghc-pretty-show)
1168 (name "ghc-pretty-show")
1169 (version "1.6.10")
1170 (source
1171 (origin
1172 (method url-fetch)
1173 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
1174 "pretty-show-" version ".tar.gz"))
1175 (sha256
1176 (base32
1177 "133s4l1gk46saf6ycm785rswycy8g3j0qqrv93b5wp8cp50kd0ww"))))))
1178
1179 (define-public ghc-haskell-src-exts
1180 (package
1181 (name "ghc-haskell-src-exts")
1182 (version "1.20.1")
1183 (source
1184 (origin
1185 (method url-fetch)
1186 (uri (string-append
1187 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
1188 version
1189 ".tar.gz"))
1190 (sha256
1191 (base32
1192 "1jsjl9hja2dpcfq4mzlfpwyr6axwnwgacfb7aa070kz4lbygzaa8"))))
1193 (build-system haskell-build-system)
1194 (inputs
1195 `(("cpphs" ,cpphs)
1196 ("ghc-happy" ,ghc-happy)
1197 ("ghc-pretty-show" ,ghc-pretty-show-for-haskell-src-exts)))
1198 (native-inputs
1199 `(("ghc-smallcheck" ,ghc-smallcheck)
1200 ("ghc-tasty" ,ghc-tasty)
1201 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
1202 ("ghc-tasty-golden" ,ghc-tasty-golden)))
1203 (home-page "https://github.com/haskell-suite/haskell-src-exts")
1204 (synopsis "Library for manipulating Haskell source")
1205 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
1206 extension of the standard @code{haskell-src} package, and handles most
1207 registered syntactic extensions to Haskell. All extensions implemented in GHC
1208 are supported. Apart from these standard extensions, it also handles regular
1209 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
1210 (license license:bsd-3)))
1211
1212 (define-public ghc-haskell-src-exts-util
1213 (package
1214 (name "ghc-haskell-src-exts-util")
1215 (version "0.2.2")
1216 (source
1217 (origin
1218 (method url-fetch)
1219 (uri (string-append "https://hackage.haskell.org/package/"
1220 "haskell-src-exts-util/haskell-src-exts-util-"
1221 version ".tar.gz"))
1222 (sha256
1223 (base32
1224 "14rhwcrdz3kfb69c64qn8kybl7wnpajrjlfz5p95ca4bva4mwclg"))))
1225 (build-system haskell-build-system)
1226 (inputs
1227 `(("ghc-data-default" ,ghc-data-default)
1228 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1229 ("ghc-semigroups" ,ghc-semigroups)
1230 ("ghc-uniplate" ,ghc-uniplate)))
1231 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
1232 (synopsis "Helper functions for working with haskell-src-exts trees")
1233 (description
1234 "This package provides helper functions for working with
1235 @code{haskell-src-exts} trees.")
1236 (license license:bsd-3)))
1237
1238 (define-public ghc-refact
1239 (package
1240 (name "ghc-refact")
1241 (version "0.3.0.2")
1242 (source
1243 (origin
1244 (method url-fetch)
1245 (uri (string-append "https://hackage.haskell.org/package/"
1246 "refact/refact-"
1247 version ".tar.gz"))
1248 (sha256
1249 (base32
1250 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
1251 (build-system haskell-build-system)
1252 (home-page "http://hackage.haskell.org/package/refact")
1253 (synopsis "Specify refactorings to perform with apply-refact")
1254 (description
1255 "This library provides a datatype which can be interpreted by
1256 @code{apply-refact}. It exists as a separate library so that applications can
1257 specify refactorings without depending on GHC.")
1258 (license license:bsd-3)))
1259
1260 (define-public hlint
1261 (package
1262 (name "hlint")
1263 (version "2.1.1")
1264 (source
1265 (origin
1266 (method url-fetch)
1267 (uri (string-append
1268 "https://hackage.haskell.org/package/" name
1269 "/" name "-" version ".tar.gz"))
1270 (sha256
1271 (base32
1272 "0mmfavd158l5ig5wb1b1zbhbraj8hhqvbk4mg85n6c8ndpr4grd4"))))
1273 (build-system haskell-build-system)
1274 (inputs
1275 `(("cpphs" ,cpphs)
1276 ("ghc-unordered-containers" ,ghc-unordered-containers)
1277 ("ghc-yaml" ,ghc-yaml)
1278 ("ghc-vector" ,ghc-vector)
1279 ("ghc-text" ,ghc-text)
1280 ("ghc-data-default" ,ghc-data-default)
1281 ("ghc-cmdargs" ,ghc-cmdargs)
1282 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1283 ("ghc-haskell-src-exts-util" ,ghc-haskell-src-exts-util)
1284 ("ghc-uniplate" ,ghc-uniplate)
1285 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
1286 ("ghc-extra" ,ghc-extra)
1287 ("ghc-refact" ,ghc-refact)
1288 ("ghc-aeson" ,ghc-aeson)
1289 ("hscolour" ,hscolour)))
1290 (home-page "http://community.haskell.org/~ndm/hlint/")
1291 (synopsis "Suggest improvements for Haskell source code")
1292 (description "HLint reads Haskell programs and suggests changes that
1293 hopefully make them easier to read. HLint also makes it easy to disable
1294 unwanted suggestions, and to add your own custom suggestions.")
1295 (license license:bsd-3)))
1296
1297 (define-public ghc-resourcet
1298 (package
1299 (name "ghc-resourcet")
1300 (version "1.2.1")
1301 (source
1302 (origin
1303 (method url-fetch)
1304 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
1305 "resourcet-" version ".tar.gz"))
1306 (sha256
1307 (base32
1308 "0rzjzh34s36ssign7akqjnwnjxf11c3511wk7ky0xxy0dqmc2rg7"))))
1309 (build-system haskell-build-system)
1310 (inputs
1311 `(("ghc-transformers-base" ,ghc-transformers-base)
1312 ("ghc-monad-control" ,ghc-monad-control)
1313 ("ghc-transformers-compat" ,ghc-transformers-compat)
1314 ("ghc-mmorph" ,ghc-mmorph)
1315 ("ghc-exceptions" ,ghc-exceptions)
1316 ("ghc-unliftio-core" ,ghc-unliftio-core)))
1317 (native-inputs
1318 `(("ghc-lifted-base" ,ghc-lifted-base)
1319 ("ghc-hspec" ,ghc-hspec)))
1320 (home-page "https://github.com/snoyberg/conduit")
1321 (synopsis "Deterministic allocation and freeing of scarce resources")
1322 (description "ResourceT is a monad transformer which creates a region of
1323 code where you can safely allocate resources.")
1324 (license license:bsd-3)))
1325
1326 (define-public ghc-objectname
1327 (package
1328 (name "ghc-objectname")
1329 (version "1.1.0.1")
1330 (source
1331 (origin
1332 (method url-fetch)
1333 (uri (string-append
1334 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
1335 version
1336 ".tar.gz"))
1337 (sha256
1338 (base32
1339 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
1340 (build-system haskell-build-system)
1341 (home-page "https://hackage.haskell.org/package/ObjectName")
1342 (synopsis "Helper library for Haskell OpenGL")
1343 (description "This tiny package contains the class ObjectName, which
1344 corresponds to the general notion of explicitly handled identifiers for API
1345 objects, e.g. a texture object name in OpenGL or a buffer object name in
1346 OpenAL.")
1347 (license license:bsd-3)))
1348
1349 (define-public ghc-sdl
1350 (package
1351 (name "ghc-sdl")
1352 (version "0.6.5.1")
1353 (source
1354 (origin
1355 (method url-fetch)
1356 (uri (string-append
1357 "https://hackage.haskell.org/package/SDL/SDL-"
1358 version
1359 ".tar.gz"))
1360 (sha256
1361 (base32
1362 "1sa3zx3vrs1gbinxx33zwq0x2bsf3i964bff7419p7vzidn36k46"))))
1363 (build-system haskell-build-system)
1364 (inputs
1365 `(("sdl" ,sdl)))
1366 (home-page "https://hackage.haskell.org/package/SDL")
1367 (synopsis "LibSDL for Haskell")
1368 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
1369 multimedia library designed to provide low level access to audio, keyboard,
1370 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
1371 by MPEG playback software, emulators, and many popular games, including the
1372 award winning Linux port of \"Civilization: Call To Power.\"")
1373 (license license:bsd-3)))
1374
1375 (define-public ghc-sdl-mixer
1376 (package
1377 (name "ghc-sdl-mixer")
1378 (version "0.6.2.0")
1379 (source
1380 (origin
1381 (method url-fetch)
1382 (uri (string-append
1383 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
1384 version
1385 ".tar.gz"))
1386 (sha256
1387 (base32
1388 "1fhray79d80dk2aj9mx3ks05mm48sd832g8zgxli226jx471fs8r"))))
1389 (build-system haskell-build-system)
1390 (arguments
1391 `(#:configure-flags
1392 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
1393 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
1394 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
1395 (inputs
1396 `(("ghc-sdl" ,ghc-sdl)
1397 ("sdl-mixer" ,sdl-mixer)))
1398 (home-page "https://hackage.haskell.org/package/SDL-mixer")
1399 (synopsis "Haskell bindings to libSDL_mixer")
1400 (description "SDL_mixer is a sample multi-channel audio mixer library. It
1401 supports any number of simultaneously playing channels of 16 bit stereo audio,
1402 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
1403 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
1404 (license license:bsd-3)))
1405
1406 (define-public ghc-sdl-image
1407 (package
1408 (name "ghc-sdl-image")
1409 (version "0.6.1.2")
1410 (source
1411 (origin
1412 (method url-fetch)
1413 (uri (string-append
1414 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
1415 version
1416 ".tar.gz"))
1417 (sha256
1418 (base32
1419 "1ybdwlqi5nqzpsbh2md5mxhwmjn910iqysf6nykwjxlmvhcjk281"))))
1420 (build-system haskell-build-system)
1421 (arguments
1422 `(#:configure-flags
1423 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
1424 (sdl-image-include (string-append sdl-image "/include/SDL")))
1425 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
1426 (inputs
1427 `(("ghc-sdl" ,ghc-sdl)
1428 ("sdl-image" ,sdl-image)))
1429 (home-page "https://hackage.haskell.org/package/SDL-image")
1430 (synopsis "Haskell bindings to libSDL_image")
1431 (description "SDL_image is an image file loading library. It loads images
1432 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
1433 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
1434 (license license:bsd-3)))
1435
1436 (define-public ghc-half
1437 (package
1438 (name "ghc-half")
1439 (version "0.2.2.3")
1440 (source
1441 (origin
1442 (method url-fetch)
1443 (uri (string-append
1444 "https://hackage.haskell.org/package/half/half-"
1445 version ".tar.gz"))
1446 (sha256
1447 (base32
1448 "0p4sb7vv9cljv48wlx65wgdnkryrk5d6yfh7g4yrm20w1p449hl5"))))
1449 (build-system haskell-build-system)
1450 (home-page "https://github.com/ekmett/half")
1451 (synopsis "Half-precision floating-point computations")
1452 (description "This library provides a half-precision floating-point
1453 computation library for Haskell.")
1454 (license license:bsd-3)))
1455
1456 (define-public ghc-fixed
1457 (package
1458 (name "ghc-fixed")
1459 (version "0.2.1.1")
1460 (source
1461 (origin
1462 (method url-fetch)
1463 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
1464 version ".tar.gz"))
1465 (sha256
1466 (base32
1467 "1qhmwx8iqshns0crmr9d2f8hm65jxbcp3dvv0c39v34ra7if3a94"))))
1468 (build-system haskell-build-system)
1469 (home-page "https://github.com/ekmett/fixed")
1470 (synopsis "Signed 15.16 precision fixed point arithmetic")
1471 (description
1472 "This package provides functions for signed 15.16 precision fixed point
1473 arithmetic.")
1474 (license license:bsd-3)))
1475
1476 (define-public ghc-openglraw
1477 (package
1478 (name "ghc-openglraw")
1479 (version "3.2.7.0")
1480 (source
1481 (origin
1482 (method url-fetch)
1483 (uri (string-append
1484 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
1485 version
1486 ".tar.gz"))
1487 (sha256
1488 (base32
1489 "024aln102d1mmsdalq9jd5mmwjbnrb8gxcak73lybrc7q87kswk2"))))
1490 (build-system haskell-build-system)
1491 (inputs
1492 `(("ghc-half" ,ghc-half)
1493 ("ghc-fixed" ,ghc-fixed)
1494 ("glu" ,glu)
1495 ("ghc-text" ,ghc-text)))
1496 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1497 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
1498 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
1499 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
1500 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
1501 offers access to all necessary functions, tokens and types plus a general
1502 facility for loading extension entries. The module hierarchy closely mirrors
1503 the naming structure of the OpenGL extensions, making it easy to find the
1504 right module to import. All API entries are loaded dynamically, so no special
1505 C header files are needed for building this package. If an API entry is not
1506 found at runtime, a userError is thrown.")
1507 (license license:bsd-3)))
1508
1509 (define-public ghc-glut
1510 (package
1511 (name "ghc-glut")
1512 (version "2.7.0.10")
1513 (source
1514 (origin
1515 (method url-fetch)
1516 (uri (string-append
1517 "https://hackage.haskell.org/package/GLUT/GLUT-"
1518 version
1519 ".tar.gz"))
1520 (sha256
1521 (base32
1522 "0sbm943bg896nf3qjmlnsg3zzrr3pl330rzh9g0hwv47nzwwn4ab"))))
1523 (build-system haskell-build-system)
1524 (inputs
1525 `(("ghc-statevar" ,ghc-statevar)
1526 ("ghc-opengl" ,ghc-opengl)
1527 ("ghc-openglraw" ,ghc-openglraw)
1528 ("freeglut" ,freeglut)))
1529 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1530 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
1531 (description "This library provides Haskell bindings for the OpenGL
1532 Utility Toolkit, a window system-independent toolkit for writing OpenGL
1533 programs.")
1534 (license license:bsd-3)))
1535
1536 (define-public ghc-gluraw
1537 (package
1538 (name "ghc-gluraw")
1539 (version "2.0.0.2")
1540 (source
1541 (origin
1542 (method url-fetch)
1543 (uri (string-append
1544 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
1545 version
1546 ".tar.gz"))
1547 (sha256
1548 (base32
1549 "1phmvxr0kkxq89ykmr8rj77inj8dvcxd6h72z1ncdgdazfz3sjw8"))))
1550 (build-system haskell-build-system)
1551 (inputs
1552 `(("ghc-openglraw" ,ghc-openglraw)))
1553 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1554 (synopsis "Raw Haskell bindings GLU")
1555 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
1556 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
1557 basis for a nicer interface.")
1558 (license license:bsd-3)))
1559
1560 (define-public ghc-opengl
1561 (package
1562 (name "ghc-opengl")
1563 (version "3.0.1.0")
1564 (source
1565 (origin
1566 (method url-fetch)
1567 (uri (string-append
1568 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
1569 version
1570 ".tar.gz"))
1571 (sha256
1572 (base32
1573 "1nm2mzrn1h2nnfs9vl5p088hqpll7rdvcsyqsn8q641im9jhqp7l"))))
1574 (build-system haskell-build-system)
1575 (inputs
1576 `(("ghc-text" ,ghc-text)
1577 ("ghc-objectname" ,ghc-objectname)
1578 ("ghc-gluraw" ,ghc-gluraw)
1579 ("ghc-statevar" ,ghc-statevar)
1580 ("ghc-openglraw" ,ghc-openglraw)))
1581 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1582 (synopsis "Haskell bindings for the OpenGL graphics system")
1583 (description "This package provides Haskell bindings for the OpenGL
1584 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
1585 version 1.3).")
1586 (license license:bsd-3)))
1587
1588 (define-public ghc-streaming-commons
1589 (package
1590 (name "ghc-streaming-commons")
1591 (version "0.2.1.0")
1592 (source
1593 (origin
1594 (method url-fetch)
1595 (uri (string-append "https://hackage.haskell.org/package/"
1596 "streaming-commons/streaming-commons-"
1597 version ".tar.gz"))
1598 (sha256
1599 (base32
1600 "13fn6qmpiggwpn8lczyydgp77cyzfypwds7wxskrwir4i5cgxlfq"))))
1601 (build-system haskell-build-system)
1602 (inputs
1603 `(("ghc-async" ,ghc-async)
1604 ("ghc-blaze-builder" ,ghc-blaze-builder)
1605 ("ghc-network" ,ghc-network)
1606 ("ghc-random" ,ghc-random)
1607 ("ghc-stm" ,ghc-stm)
1608 ("ghc-text" ,ghc-text)
1609 ("ghc-zlib" ,ghc-zlib)))
1610 (native-inputs
1611 `(("ghc-quickcheck" ,ghc-quickcheck)
1612 ("ghc-hspec" ,ghc-hspec)
1613 ("hspec-discover" ,hspec-discover)))
1614 (home-page "https://hackage.haskell.org/package/streaming-commons")
1615 (synopsis "Conduit and pipes needed by some streaming data libraries")
1616 (description "This package provides low-dependency functionality commonly
1617 needed by various Haskell streaming data libraries, such as @code{conduit} and
1618 @code{pipe}s.")
1619 (license license:expat)))
1620
1621 (define-public cpphs
1622 (package
1623 (name "cpphs")
1624 (version "1.20.8")
1625 (source
1626 (origin
1627 (method url-fetch)
1628 (uri (string-append
1629 "https://hackage.haskell.org/package/" name "/"
1630 name "-" version ".tar.gz"))
1631 (sha256
1632 (base32
1633 "1bh524asqhk9v1s0wvipl0hgn7l63iy3js867yv0z3h5v2kn8vg5"))))
1634 (build-system haskell-build-system)
1635 (inputs
1636 `(("ghc-polyparse" ,ghc-polyparse)
1637 ("ghc-old-locale" ,ghc-old-locale)
1638 ("ghc-old-time" ,ghc-old-time)))
1639 (home-page "http://projects.haskell.org/cpphs/")
1640 (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
1641 (description "Cpphs is a re-implementation of the C pre-processor that is
1642 both more compatible with Haskell, and itself written in Haskell so that it
1643 can be distributed with compilers. This version of the C pre-processor is
1644 pretty-much feature-complete and compatible with traditional (K&R)
1645 pre-processors. Additional features include: a plain-text mode; an option to
1646 unlit literate code files; and an option to turn off macro-expansion.")
1647 (license (list license:lgpl2.1+ license:gpl3+))))
1648
1649 (define-public ghc-reflection
1650 (package
1651 (name "ghc-reflection")
1652 (version "2.1.2")
1653 (source
1654 (origin
1655 (method url-fetch)
1656 (uri (string-append
1657 "https://hackage.haskell.org/package/reflection/reflection-"
1658 version
1659 ".tar.gz"))
1660 (sha256
1661 (base32
1662 "0f9w0akbm6p8h7kzgcd2f6nnpw1wy84pqn45vfz1ch5j0hn8h2d9"))))
1663 (build-system haskell-build-system)
1664 (inputs `(("ghc-tagged" ,ghc-tagged)))
1665 (home-page "https://github.com/ekmett/reflection")
1666 (synopsis "Reify arbitrary terms into types that can be reflected back
1667 into terms")
1668 (description "This package addresses the 'configuration problem' which is
1669 propogating configurations that are available at run-time, allowing multiple
1670 configurations to coexist without resorting to mutable global variables or
1671 @code{System.IO.Unsafe.unsafePerformIO}.")
1672 (license license:bsd-3)))
1673
1674 (define-public ghc-old-locale
1675 (package
1676 (name "ghc-old-locale")
1677 (version "1.0.0.7")
1678 (source
1679 (origin
1680 (method url-fetch)
1681 (uri (string-append
1682 "https://hackage.haskell.org/package/old-locale/old-locale-"
1683 version
1684 ".tar.gz"))
1685 (sha256
1686 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
1687 (build-system haskell-build-system)
1688 (arguments
1689 `(#:configure-flags (list "--allow-newer=base")))
1690 (home-page "https://hackage.haskell.org/package/old-locale")
1691 (synopsis "Adapt to locale conventions")
1692 (description
1693 "This package provides the ability to adapt to locale conventions such as
1694 date and time formats.")
1695 (license license:bsd-3)))
1696
1697 (define-public ghc-old-time
1698 (package
1699 (name "ghc-old-time")
1700 (version "1.1.0.3")
1701 (source
1702 (origin
1703 (method url-fetch)
1704 (uri (string-append
1705 "https://hackage.haskell.org/package/old-time/old-time-"
1706 version
1707 ".tar.gz"))
1708 (sha256
1709 (base32
1710 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
1711 (build-system haskell-build-system)
1712 (arguments
1713 `(#:configure-flags (list "--allow-newer=base")))
1714 (inputs
1715 `(("ghc-old-locale" ,ghc-old-locale)))
1716 (home-page "https://hackage.haskell.org/package/old-time")
1717 (synopsis "Time compatibility library for Haskell")
1718 (description "Old-time is a package for backwards compatibility with the
1719 old @code{time} library. For new projects, the newer
1720 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
1721 (license license:bsd-3)))
1722
1723 (define-public ghc-data-default-instances-old-locale
1724 (package
1725 (name "ghc-data-default-instances-old-locale")
1726 (version "0.0.1")
1727 (source
1728 (origin
1729 (method url-fetch)
1730 (uri (string-append
1731 "https://hackage.haskell.org/package/"
1732 "data-default-instances-old-locale/"
1733 "data-default-instances-old-locale-" version ".tar.gz"))
1734 (sha256
1735 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
1736 (build-system haskell-build-system)
1737 (inputs
1738 `(("ghc-data-default-class" ,ghc-data-default-class)
1739 ("ghc-old-locale" ,ghc-old-locale)))
1740 (home-page
1741 "https://hackage.haskell.org/package/data-default-instances-old-locale")
1742 (synopsis "Default instances for types in old-locale")
1743 (description "Provides Default instances for types from the old-locale
1744 package.")
1745 (license license:bsd-3)))
1746
1747 (define-public ghc-dlist
1748 (package
1749 (name "ghc-dlist")
1750 (version "0.8.0.4")
1751 (source
1752 (origin
1753 (method url-fetch)
1754 (uri (string-append
1755 "https://hackage.haskell.org/package/dlist/dlist-"
1756 version
1757 ".tar.gz"))
1758 (sha256
1759 (base32 "0yirrh0s6acjy9hhvf5fqg2d6q5y6gm9xs04v6w1imndh1xqdwdc"))))
1760 (build-system haskell-build-system)
1761 (inputs
1762 `(("ghc-quickcheck" ,ghc-quickcheck)))
1763 (home-page "https://github.com/spl/dlist")
1764 (synopsis "Difference lists")
1765 (description
1766 "Difference lists are a list-like type supporting O(1) append. This is
1767 particularly useful for efficient logging and pretty printing (e.g. with the
1768 Writer monad), where list append quickly becomes too expensive.")
1769 (license license:bsd-3)))
1770
1771 (define-public ghc-extensible-exceptions
1772 (package
1773 (name "ghc-extensible-exceptions")
1774 (version "0.1.1.4")
1775 (source
1776 (origin
1777 (method url-fetch)
1778 (uri (string-append "https://hackage.haskell.org/package/"
1779 "extensible-exceptions/extensible-exceptions-"
1780 version ".tar.gz"))
1781 (sha256
1782 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
1783 (build-system haskell-build-system)
1784 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
1785 (synopsis "Extensible exceptions for Haskell")
1786 (description
1787 "This package provides extensible exceptions for both new and old
1788 versions of GHC (i.e., < 6.10).")
1789 (license license:bsd-3)))
1790
1791 (define-public cabal-install
1792 (package
1793 (name "cabal-install")
1794 (version "1.22.6.0")
1795 (source
1796 (origin
1797 (method url-fetch)
1798 (uri (string-append
1799 "https://hackage.haskell.org/package/cabal-install/cabal-install-"
1800 version
1801 ".tar.gz"))
1802 (sha256
1803 (base32 "1d5h7h2wjwc2s3dvsvzjgmmfrfl2312ym2h6kyjgm9wnaqw9w8wx"))))
1804 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
1805 (build-system haskell-build-system)
1806 (inputs
1807 `(("ghc-http" ,ghc-http)
1808 ("ghc-network-uri" ,ghc-network-uri)
1809 ("ghc-network" ,ghc-network)
1810 ("ghc-random" ,ghc-random)
1811 ("ghc-stm" ,ghc-stm)
1812 ("ghc-zlib" ,ghc-zlib)))
1813 (home-page "https://www.haskell.org/cabal/")
1814 (synopsis "Command-line interface for Cabal and Hackage")
1815 (description
1816 "The cabal command-line program simplifies the process of managing
1817 Haskell software by automating the fetching, configuration, compilation and
1818 installation of Haskell libraries and programs.")
1819 (license license:bsd-3)))
1820
1821 (define-public cabal-doctest
1822 (package
1823 (name "cabal-doctest")
1824 (version "1.0.6")
1825 (source
1826 (origin
1827 (method url-fetch)
1828 (uri (string-append "https://hackage.haskell.org/package/"
1829 "cabal-doctest/cabal-doctest-"
1830 version ".tar.gz"))
1831 (sha256
1832 (base32
1833 "0bgd4jdmzxq5y465r4sf4jv2ix73yvblnr4c9wyazazafddamjny"))))
1834 (build-system haskell-build-system)
1835 (arguments
1836 `(#:cabal-revision
1837 ("1" "1bk85avgc93yvcggwbk01fy8nvg6753wgmaanhkry0hz55h7mpld")))
1838 (home-page "https://github.com/phadej/cabal-doctest")
1839 (synopsis "Setup.hs helper for running doctests")
1840 (description
1841 "To properly work, the @code{doctest} package needs plenty of
1842 configuration. This library provides the common bits for writing custom
1843 @file{Setup.hs} files.")
1844 (license license:bsd-3)))
1845
1846 (define-public ghc-parsec-numbers
1847 (package
1848 (name "ghc-parsec-numbers")
1849 (version "0.1.0")
1850 (source
1851 (origin
1852 (method url-fetch)
1853 (uri (string-append "https://hackage.haskell.org/package/"
1854 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
1855 (sha256
1856 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
1857 (build-system haskell-build-system)
1858 (inputs
1859 `(("ghc-parsec" ,ghc-parsec)))
1860 (home-page "https://hackage.haskell.org/package/parsec-numbers")
1861 (synopsis "Utilities for parsing numbers from strings")
1862 (description
1863 "This package provides the number parsers without the need to use a large
1864 (and unportable) token parser.")
1865 (license license:bsd-3)))
1866
1867 (define-public ghc-paths
1868 (package
1869 (name "ghc-paths")
1870 (version "0.1.0.9")
1871 (outputs '("out" "doc"))
1872 (source
1873 (origin
1874 (method url-fetch)
1875 (uri (string-append
1876 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
1877 version
1878 ".tar.gz"))
1879 (sha256
1880 (base32
1881 "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg"))))
1882 (build-system haskell-build-system)
1883 (home-page "https://github.com/simonmar/ghc-paths")
1884 (synopsis
1885 "Knowledge of GHC's installation directories")
1886 (description
1887 "Knowledge of GHC's installation directories.")
1888 (license license:bsd-3)))
1889
1890 (define-public ghc-utf8-string
1891 (package
1892 (name "ghc-utf8-string")
1893 (version "1.0.1.1")
1894 (source
1895 (origin
1896 (method url-fetch)
1897 (uri (string-append
1898 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
1899 version
1900 ".tar.gz"))
1901 (sha256
1902 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
1903 (build-system haskell-build-system)
1904 (arguments
1905 `(#:configure-flags (list "--allow-newer=base")))
1906 (home-page "https://github.com/glguy/utf8-string/")
1907 (synopsis "Support for reading and writing UTF8 Strings")
1908 (description
1909 "A UTF8 layer for Strings. The utf8-string package provides operations
1910 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
1911 UTF8 without truncation.")
1912 (license license:bsd-3)))
1913
1914 (define-public ghc-setenv
1915 (package
1916 (name "ghc-setenv")
1917 (version "0.1.1.3")
1918 (source
1919 (origin
1920 (method url-fetch)
1921 (uri (string-append
1922 "https://hackage.haskell.org/package/setenv/setenv-"
1923 version
1924 ".tar.gz"))
1925 (sha256
1926 (base32
1927 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
1928 (build-system haskell-build-system)
1929 (home-page "https://hackage.haskell.org/package/setenv")
1930 (synopsis "Library for setting environment variables")
1931 (description "This package provides a Haskell library for setting
1932 environment variables.")
1933 (license license:expat)))
1934
1935 (define-public ghc-setlocale
1936 (package
1937 (name "ghc-setlocale")
1938 (version "1.0.0.6")
1939 (source (origin
1940 (method url-fetch)
1941 (uri (string-append
1942 "https://hackage.haskell.org/package/setlocale-"
1943 version "/setlocale-" version ".tar.gz"))
1944 (sha256
1945 (base32
1946 "1rl8qb8vzv8fdbczy2dxwgn4cb68lfrjdxf2w8nn9wy1acqzcyjq"))))
1947 (build-system haskell-build-system)
1948 (home-page "https://hackage.haskell.org/package/setlocale")
1949 (synopsis "Haskell bindings to setlocale")
1950 (description "This package provides Haskell bindings to the
1951 @code{setlocale} C function.")
1952 (license license:bsd-3)))
1953
1954 (define-public ghc-x11
1955 (package
1956 (name "ghc-x11")
1957 (version "1.8")
1958 (source
1959 (origin
1960 (method url-fetch)
1961 (uri (string-append "https://hackage.haskell.org/package/X11/"
1962 "X11-" version ".tar.gz"))
1963 (sha256
1964 (base32 "13lxq36856fzp61y4api78vssykyh8fm2aplr0nsj18ymdm1c6sl"))))
1965 (build-system haskell-build-system)
1966 (inputs
1967 `(("libx11" ,libx11)
1968 ("libxrandr" ,libxrandr)
1969 ("libxinerama" ,libxinerama)
1970 ("libxscrnsaver" ,libxscrnsaver)
1971 ("ghc-data-default" ,ghc-data-default)))
1972 (home-page "https://github.com/haskell-pkg-janitors/X11")
1973 (synopsis "Bindings to the X11 graphics library")
1974 (description
1975 "This package provides Haskell bindings to the X11 graphics library. The
1976 bindings are a direct translation of the C bindings.")
1977 (license license:bsd-3)))
1978
1979 (define-public ghc-x11-xft
1980 (package
1981 (name "ghc-x11-xft")
1982 (version "0.3.1")
1983 (source
1984 (origin
1985 (method url-fetch)
1986 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
1987 "X11-xft-" version ".tar.gz"))
1988 (sha256
1989 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
1990 (inputs
1991 `(("ghc-x11" ,ghc-x11)
1992 ("ghc-utf8-string" ,ghc-utf8-string)
1993 ("libx11" ,libx11)
1994 ("libxft" ,libxft)
1995 ("xorgproto" ,xorgproto)))
1996 (native-inputs
1997 `(("pkg-config" ,pkg-config)))
1998 (build-system haskell-build-system)
1999 (home-page "https://hackage.haskell.org/package/X11-xft")
2000 (synopsis "Bindings to Xft")
2001 (description
2002 "Bindings to the Xft, X Free Type interface library, and some Xrender
2003 parts.")
2004 (license license:lgpl2.1)))
2005
2006 (define-public ghc-stringbuilder
2007 (package
2008 (name "ghc-stringbuilder")
2009 (version "0.5.0")
2010 (source
2011 (origin
2012 (method url-fetch)
2013 (uri (string-append
2014 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
2015 version
2016 ".tar.gz"))
2017 (sha256
2018 (base32
2019 "1ap95xphqnrhv64c2a137wqslkdmb2jjd9ldb17gs1pw48k8hrl9"))))
2020 (build-system haskell-build-system)
2021 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
2022 ; enabled
2023 (home-page "https://hackage.haskell.org/package/stringbuilder")
2024 (synopsis "Writer monad for multi-line string literals")
2025 (description "This package provides a writer monad for multi-line string
2026 literals.")
2027 (license license:expat)))
2028
2029 (define-public ghc-zlib
2030 (package
2031 (name "ghc-zlib")
2032 (version "0.6.2")
2033 (outputs '("out" "doc"))
2034 (source
2035 (origin
2036 (method url-fetch)
2037 (uri (string-append
2038 "https://hackage.haskell.org/package/zlib/zlib-"
2039 version
2040 ".tar.gz"))
2041 (sha256
2042 (base32
2043 "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d"))))
2044 (build-system haskell-build-system)
2045 (arguments `(#:configure-flags (list "--allow-newer=tasty")))
2046 (inputs `(("zlib" ,zlib)))
2047 (native-inputs
2048 `(("ghc-quickcheck" ,ghc-quickcheck)
2049 ("ghc-tasty" ,ghc-tasty)
2050 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2051 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
2052 (home-page "https://hackage.haskell.org/package/zlib")
2053 (synopsis
2054 "Compression and decompression in the gzip and zlib formats")
2055 (description
2056 "This package provides a pure interface for compressing and decompressing
2057 streams of data represented as lazy 'ByteString's. It uses the zlib C library
2058 so it has high performance. It supports the 'zlib', 'gzip' and 'raw'
2059 compression formats. It provides a convenient high level API suitable for
2060 most tasks and for the few cases where more control is needed it provides
2061 access to the full zlib feature set.")
2062 (license license:bsd-3)))
2063
2064 (define-public ghc-stm
2065 (package
2066 (name "ghc-stm")
2067 (version "2.4.5.0")
2068 (outputs '("out" "doc"))
2069 (source
2070 (origin
2071 (method url-fetch)
2072 (uri (string-append
2073 "https://hackage.haskell.org/package/stm/stm-"
2074 version
2075 ".tar.gz"))
2076 (sha256
2077 (base32
2078 "19sr11a0hqikhvf561b38phz6k3zg9s157a0f5ffvghk7wcdpmri"))))
2079 (build-system haskell-build-system)
2080 (home-page "https://hackage.haskell.org/package/stm")
2081 (synopsis "Software Transactional Memory")
2082 (description
2083 "Software Transactional Memory, or STM, is an abstraction for concurrent
2084 communication. The main benefits of STM are composability and modularity.
2085 That is, using STM you can write concurrent abstractions that can be easily
2086 composed with any other abstraction built using STM, without exposing the
2087 details of how your abstraction ensures safety. This is typically not the
2088 case with other forms of concurrent communication, such as locks or
2089 @code{MVar}s.")
2090 (license license:bsd-3)))
2091
2092 (define-public ghc-parallel
2093 (package
2094 (name "ghc-parallel")
2095 (version "3.2.1.0")
2096 (outputs '("out" "doc"))
2097 (source
2098 (origin
2099 (method url-fetch)
2100 (uri (string-append
2101 "https://hackage.haskell.org/package/parallel/parallel-"
2102 version
2103 ".tar.gz"))
2104 (sha256
2105 (base32
2106 "09l52k1gsn667lmv0pp052cbwkzkbhfivp51f2xkrlfzf6xwvqsd"))))
2107 (build-system haskell-build-system)
2108 (home-page "https://hackage.haskell.org/package/parallel")
2109 (synopsis "Parallel programming library")
2110 (description
2111 "This package provides a library for parallel programming.")
2112 (license license:bsd-3)))
2113
2114 (define-public ghc-safesemaphore
2115 (package
2116 (name "ghc-safesemaphore")
2117 (version "0.10.1")
2118 (source
2119 (origin
2120 (method url-fetch)
2121 (uri (string-append "https://hackage.haskell.org/package/"
2122 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
2123 (sha256
2124 (base32
2125 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
2126 (build-system haskell-build-system)
2127 (inputs
2128 `(("ghc-stm" ,ghc-stm)))
2129 (native-inputs
2130 `(("ghc-hunit" ,ghc-hunit)))
2131 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
2132 (synopsis "Exception safe semaphores")
2133 (description "This library provides exception safe semaphores that can be
2134 used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
2135 are not exception safe and can be broken by @code{killThread}.")
2136 (license license:bsd-3)))
2137
2138 (define-public ghc-text
2139 (package
2140 (name "ghc-text")
2141 (version "1.2.2.2")
2142 (outputs '("out" "doc"))
2143 (source
2144 (origin
2145 (method url-fetch)
2146 (uri (string-append
2147 "https://hackage.haskell.org/package/text/text-"
2148 version
2149 ".tar.gz"))
2150 (sha256
2151 (base32
2152 "1y9d0zjs2ls0c574mr5xw7y3y49s62sd3wcn9lhpwz8a6q352iii"))))
2153 (build-system haskell-build-system)
2154 ;; The test dependencies depend on ghc-text: ghc-test-framework -> ghc-xml -> ghc-text
2155 (arguments `(#:tests? #f))
2156 (inputs
2157 `(("ghc-random" ,ghc-random)))
2158 (home-page "https://github.com/bos/text")
2159 (synopsis "Efficient packed Unicode text type library")
2160 (description
2161 "An efficient packed, immutable Unicode text type (both strict and
2162 lazy), with a powerful loop fusion optimization framework.
2163
2164 The 'Text' type represents Unicode character strings, in a time and
2165 space-efficient manner. This package provides text processing
2166 capabilities that are optimized for performance critical use, both
2167 in terms of large data quantities and high speed.")
2168 (license license:bsd-3)))
2169
2170 (define-public ghc-text-binary
2171 (package
2172 (name "ghc-text-binary")
2173 (version "0.2.1.1")
2174 (source
2175 (origin
2176 (method url-fetch)
2177 (uri (string-append "https://hackage.haskell.org/package/"
2178 "text-binary/text-binary-"
2179 version ".tar.gz"))
2180 (sha256
2181 (base32
2182 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
2183 (build-system haskell-build-system)
2184 (inputs `(("ghc-text" ,ghc-text)))
2185 (home-page "https://github.com/kawu/text-binary")
2186 (synopsis "Binary instances for text types")
2187 (description
2188 "This package provides a compatibility layer providing @code{Binary}
2189 instances for strict and lazy text types for versions older than 1.2.1 of the
2190 text package.")
2191 (license license:bsd-2)))
2192
2193 (define-public ghc-strict
2194 (package
2195 (name "ghc-strict")
2196 (version "0.3.2")
2197 (source
2198 (origin
2199 (method url-fetch)
2200 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
2201 version ".tar.gz"))
2202 (sha256
2203 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
2204 (build-system haskell-build-system)
2205 (home-page "https://hackage.haskell.org/package/strict")
2206 (synopsis "Strict data types and String IO")
2207 (description
2208 "This package provides strict versions of some standard Haskell data
2209 types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
2210 IO operations.")
2211 (license license:bsd-3)))
2212
2213 (define-public ghc-hashable
2214 (package
2215 (name "ghc-hashable")
2216 (version "1.2.6.1")
2217 (outputs '("out" "doc"))
2218 (source
2219 (origin
2220 (method url-fetch)
2221 (uri (string-append
2222 "https://hackage.haskell.org/package/hashable/hashable-"
2223 version
2224 ".tar.gz"))
2225 (sha256
2226 (base32
2227 "0ymv2mcrrgbdc2w39rib171fwnhg7fgp0sy4h8amrh1vw64qgjll"))))
2228 (build-system haskell-build-system)
2229 (inputs
2230 `(("ghc-text" ,ghc-text)
2231 ("ghc-random" ,ghc-random)))
2232 (native-inputs
2233 `(("ghc-test-framework" ,ghc-test-framework)
2234 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2235 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
2236 ("ghc-hunit" ,ghc-hunit)
2237 ("ghc-quickcheck" ,ghc-quickcheck)))
2238 (home-page "https://github.com/tibbe/hashable")
2239 (synopsis "Class for types that can be converted to a hash value")
2240 (description
2241 "This package defines a class, @code{Hashable}, for types that can be
2242 converted to a hash value. This class exists for the benefit of hashing-based
2243 data structures. The package provides instances for basic types and a way to
2244 combine hash values.")
2245 (license license:bsd-3)))
2246
2247 (define-public ghc-hashable-time
2248 (package
2249 (name "ghc-hashable-time")
2250 (version "0.2.0.1")
2251 (source
2252 (origin
2253 (method url-fetch)
2254 (uri (string-append
2255 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
2256 version
2257 ".tar.gz"))
2258 (sha256
2259 (base32
2260 "0k932nyd08l3xxbh2g3n76py2f4kd9yw4s5a065vjz0xp6wjnxdm"))))
2261 (build-system haskell-build-system)
2262 (inputs `(("ghc-hashable" ,ghc-hashable)))
2263 (home-page "http://hackage.haskell.org/package/hashable-time")
2264 (synopsis "Hashable instances for Data.Time")
2265 (description
2266 "This package provides @code{Hashable} instances for types in
2267 @code{Data.Time}.")
2268 (license license:bsd-3)))
2269
2270 (define-public ghc-data-hash
2271 (package
2272 (name "ghc-data-hash")
2273 (version "0.2.0.1")
2274 (source
2275 (origin
2276 (method url-fetch)
2277 (uri (string-append "https://hackage.haskell.org/package/data-hash"
2278 "/data-hash-" version ".tar.gz"))
2279 (sha256
2280 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
2281 (build-system haskell-build-system)
2282 (inputs
2283 `(("ghc-quickcheck" ,ghc-quickcheck)
2284 ("ghc-test-framework" ,ghc-test-framework)
2285 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2286 (home-page "https://hackage.haskell.org/package/data-hash")
2287 (synopsis "Combinators for building fast hashing functions")
2288 (description
2289 "This package provides combinators for building fast hashing functions.
2290 It includes hashing functions for all basic Haskell98 types.")
2291 (license license:bsd-3)))
2292
2293 (define-public ghc-murmur-hash
2294 (package
2295 (name "ghc-murmur-hash")
2296 (version "0.1.0.9")
2297 (source
2298 (origin
2299 (method url-fetch)
2300 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
2301 "/murmur-hash-" version ".tar.gz"))
2302 (sha256
2303 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
2304 (build-system haskell-build-system)
2305 (home-page "https://github.com/nominolo/murmur-hash")
2306 (synopsis "MurmurHash2 implementation for Haskell")
2307 (description
2308 "This package provides an implementation of MurmurHash2, a good, fast,
2309 general-purpose, non-cryptographic hashing function. See
2310 @url{https://sites.google.com/site/murmurhash/} for details. This
2311 implementation is pure Haskell, so it might be a bit slower than a C FFI
2312 binding.")
2313 (license license:bsd-3)))
2314
2315 (define-public ghc-random
2316 (package
2317 (name "ghc-random")
2318 (version "1.1")
2319 (outputs '("out" "doc"))
2320 (source
2321 (origin
2322 (method url-fetch)
2323 (uri (string-append
2324 "https://hackage.haskell.org/package/random/random-"
2325 version
2326 ".tar.gz"))
2327 (sha256
2328 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
2329 (build-system haskell-build-system)
2330 (home-page "https://hackage.haskell.org/package/random")
2331 (synopsis "Random number library")
2332 (description "This package provides a basic random number generation
2333 library, including the ability to split random number generators.")
2334 (license license:bsd-3)))
2335
2336 (define-public ghc-primitive
2337 (package
2338 (name "ghc-primitive")
2339 (version "0.6.3.0")
2340 (outputs '("out" "doc"))
2341 (source
2342 (origin
2343 (method url-fetch)
2344 (uri (string-append
2345 "https://hackage.haskell.org/package/primitive/primitive-"
2346 version
2347 ".tar.gz"))
2348 (sha256
2349 (base32
2350 "0mcmbnj08wd6zfwn7xk6zf5hy5zwbla5v78pw0dpymqg9s0gzpnd"))))
2351 (build-system haskell-build-system)
2352 (home-page
2353 "https://github.com/haskell/primitive")
2354 (synopsis "Primitive memory-related operations")
2355 (description
2356 "This package provides various primitive memory-related operations.")
2357 (license license:bsd-3)))
2358
2359 (define-public ghc-tf-random
2360 (package
2361 (name "ghc-tf-random")
2362 (version "0.5")
2363 (outputs '("out" "doc"))
2364 (source
2365 (origin
2366 (method url-fetch)
2367 (uri (string-append
2368 "https://hackage.haskell.org/package/tf-random/tf-random-"
2369 version
2370 ".tar.gz"))
2371 (sha256
2372 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
2373 (build-system haskell-build-system)
2374 (inputs
2375 `(("ghc-primitive" ,ghc-primitive)
2376 ("ghc-random" ,ghc-random)))
2377 (home-page "https://hackage.haskell.org/package/tf-random")
2378 (synopsis "High-quality splittable pseudorandom number generator")
2379 (description "This package contains an implementation of a high-quality
2380 splittable pseudorandom number generator. The generator is based on a
2381 cryptographic hash function built on top of the ThreeFish block cipher. See
2382 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
2383 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
2384 (license license:bsd-3)))
2385
2386 (define-public ghc-transformers-base
2387 (package
2388 (name "ghc-transformers-base")
2389 (version "0.4.4")
2390 (source
2391 (origin
2392 (method url-fetch)
2393 (uri (string-append
2394 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
2395 version
2396 ".tar.gz"))
2397 (sha256
2398 (base32
2399 "11r3slgpgpra6zi2kjg3g60gvv17b1fh6qxipcpk8n86qx7lk8va"))))
2400 (build-system haskell-build-system)
2401 (inputs
2402 `(("ghc-stm" ,ghc-stm)
2403 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2404 (home-page
2405 "https://hackage.haskell.org/package/transformers-compat")
2406 (synopsis
2407 "Backported transformer library")
2408 (description
2409 "Backported versions of types that were added to transformers in
2410 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
2411 compatibility to run on old versions of the platform.")
2412 (license license:bsd-3)))
2413
2414 (define-public ghc-transformers-compat
2415 (package
2416 (name "ghc-transformers-compat")
2417 (version "0.5.1.4")
2418 (source
2419 (origin
2420 (method url-fetch)
2421 (uri (string-append
2422 "https://hackage.haskell.org/package/transformers-compat"
2423 "/transformers-compat-" version ".tar.gz"))
2424 (sha256
2425 (base32
2426 "17yam0199fh9ndsn9n69jx9nvbsmymzzwbi23dck3dk4q57fz0fq"))))
2427 (build-system haskell-build-system)
2428 (home-page "https://github.com/ekmett/transformers-compat/")
2429 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
2430 (description "This package includes backported versions of types that were
2431 added to transformers in transformers 0.3 and 0.4 for users who need strict
2432 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
2433 but also need those types.")
2434 (license license:bsd-3)))
2435
2436 (define-public ghc-unix-time
2437 (package
2438 (name "ghc-unix-time")
2439 (version "0.3.7")
2440 (source
2441 (origin
2442 (method url-fetch)
2443 (uri (string-append
2444 "https://hackage.haskell.org/package/unix-time/unix-time-"
2445 version
2446 ".tar.gz"))
2447 (sha256
2448 (base32
2449 "1qdlc9raih8s0m3x8x3n7q3ngh4faw2alv9l78sp6gnx648k0c8i"))))
2450 (build-system haskell-build-system)
2451 (arguments
2452 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
2453 ; is weird, that should be provided by GHC 7.10.2.
2454 (inputs
2455 `(("ghc-old-time" ,ghc-old-time)
2456 ("ghc-old-locale" ,ghc-old-locale)))
2457 (home-page "https://hackage.haskell.org/package/unix-time")
2458 (synopsis "Unix time parser/formatter and utilities")
2459 (description "This library provides fast parsing and formatting utilities
2460 for Unix time in Haskell.")
2461 (license license:bsd-3)))
2462
2463 (define-public ghc-unix-compat
2464 (package
2465 (name "ghc-unix-compat")
2466 (version "0.4.2.0")
2467 (source
2468 (origin
2469 (method url-fetch)
2470 (uri (string-append
2471 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
2472 version
2473 ".tar.gz"))
2474 (sha256
2475 (base32
2476 "036nv05w0yjxc3rfpar60ddjrlzc40mdgr5k6ihvwlvqfmq1gw9m"))))
2477 (build-system haskell-build-system)
2478 (home-page
2479 "https://github.com/jystic/unix-compat")
2480 (synopsis "Portable POSIX-compatibility layer")
2481 (description
2482 "This package provides portable implementations of parts of the unix
2483 package. This package re-exports the unix package when available. When it
2484 isn't available, portable implementations are used.")
2485 (license license:bsd-3)))
2486
2487 (define-public ghc-indents
2488 (package
2489 (name "ghc-indents")
2490 (version "0.3.3")
2491 (source (origin
2492 (method url-fetch)
2493 (uri (string-append
2494 "https://hackage.haskell.org/package/indents/indents-"
2495 version ".tar.gz"))
2496 (sha256
2497 (base32
2498 "16lz21bp9j14xilnq8yym22p3saxvc9fsgfcf5awn2a6i6n527xn"))))
2499 (build-system haskell-build-system)
2500 (inputs
2501 `(("ghc-parsec" ,ghc-parsec)
2502 ("ghc-concatenative" ,ghc-concatenative)))
2503 (home-page "http://patch-tag.com/r/salazar/indents")
2504 (synopsis "Indentation sensitive parser-combinators for parsec")
2505 (description
2506 "This library provides functions for use in parsing indentation sensitive
2507 contexts. It parses blocks of lines all indented to the same level as well as
2508 lines continued at an indented level below.")
2509 (license license:bsd-3)))
2510
2511 (define-public ghc-iproute
2512 (package
2513 (name "ghc-iproute")
2514 (version "1.7.1")
2515 (source
2516 (origin
2517 (method url-fetch)
2518 (uri (string-append
2519 "https://hackage.haskell.org/package/iproute/iproute-"
2520 version
2521 ".tar.gz"))
2522 (sha256
2523 (base32
2524 "1viyxq3m1aifl05w0hxwrhhhcfpmvwz4ymil2gngi4nfm0yd1f2p"))))
2525 (build-system haskell-build-system)
2526 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
2527 ; exported by ghc-byteorder. Doctest issue.
2528 (inputs
2529 `(("ghc-appar" ,ghc-appar)
2530 ("ghc-byteorder" ,ghc-byteorder)
2531 ("ghc-network" ,ghc-network)
2532 ("ghc-safe" ,ghc-safe)))
2533 (home-page "https://www.mew.org/~kazu/proj/iproute/")
2534 (synopsis "IP routing table")
2535 (description "IP Routing Table is a tree of IP ranges to search one of
2536 them on the longest match base. It is a kind of TRIE with one way branching
2537 removed. Both IPv4 and IPv6 are supported.")
2538 (license license:bsd-3)))
2539
2540 (define-public ghc-iwlib
2541 (package
2542 (name "ghc-iwlib")
2543 (version "0.1.0")
2544 (source
2545 (origin
2546 (method url-fetch)
2547 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
2548 version ".tar.gz"))
2549 (sha256
2550 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
2551 (build-system haskell-build-system)
2552 (inputs
2553 `(("wireless-tools" ,wireless-tools)))
2554 (home-page "https://github.com/jaor/iwlib")
2555 (synopsis "Haskell binding to the iw wireless networking library")
2556 (description
2557 "IWlib is a thin Haskell binding to the iw C library. It provides
2558 information about the current wireless network connections, and adapters on
2559 supported systems.")
2560 (license license:bsd-3)))
2561
2562 (define-public ghc-regex-base
2563 (package
2564 (name "ghc-regex-base")
2565 (version "0.93.2")
2566 (source
2567 (origin
2568 (method url-fetch)
2569 (uri (string-append
2570 "https://hackage.haskell.org/package/regex-base/regex-base-"
2571 version
2572 ".tar.gz"))
2573 (sha256
2574 (base32
2575 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
2576 (build-system haskell-build-system)
2577 (home-page
2578 "https://sourceforge.net/projects/lazy-regex")
2579 (synopsis "Replaces/Enhances Text.Regex")
2580 (description "@code{Text.Regex.Base} provides the interface API for
2581 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
2582 (license license:bsd-3)))
2583
2584 (define-public ghc-regex-posix
2585 (package
2586 (name "ghc-regex-posix")
2587 (version "0.95.2")
2588 (source
2589 (origin
2590 (method url-fetch)
2591 (uri (string-append
2592 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
2593 version
2594 ".tar.gz"))
2595 (sha256
2596 (base32
2597 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
2598 (build-system haskell-build-system)
2599 (inputs
2600 `(("ghc-regex-base" ,ghc-regex-base)))
2601 (home-page "https://sourceforge.net/projects/lazy-regex")
2602 (synopsis "POSIX regular expressions for Haskell")
2603 (description "This library provides the POSIX regex backend used by the
2604 Haskell library @code{regex-base}.")
2605 (license license:bsd-3)))
2606
2607 (define-public ghc-regex-compat
2608 (package
2609 (name "ghc-regex-compat")
2610 (version "0.95.1")
2611 (source
2612 (origin
2613 (method url-fetch)
2614 (uri (string-append
2615 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
2616 version
2617 ".tar.gz"))
2618 (sha256
2619 (base32
2620 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
2621 (build-system haskell-build-system)
2622 (inputs
2623 `(("ghc-regex-base" ,ghc-regex-base)
2624 ("ghc-regex-posix" ,ghc-regex-posix)))
2625 (home-page "https://sourceforge.net/projects/lazy-regex")
2626 (synopsis "Replaces/Enhances Text.Regex")
2627 (description "This library provides one module layer over
2628 @code{regex-posix} to replace @code{Text.Regex}.")
2629 (license license:bsd-3)))
2630
2631 (define-public ghc-regex-tdfa-rc
2632 (package
2633 (name "ghc-regex-tdfa-rc")
2634 (version "1.1.8.3")
2635 (source
2636 (origin
2637 (method url-fetch)
2638 (uri (string-append
2639 "https://hackage.haskell.org/package/regex-tdfa-rc/regex-tdfa-rc-"
2640 version
2641 ".tar.gz"))
2642 (sha256
2643 (base32
2644 "1vi11i23gkkjg6193ak90g55akj69bhahy542frkwb68haky4pp3"))))
2645 (build-system haskell-build-system)
2646 (inputs
2647 `(("ghc-regex-base" ,ghc-regex-base)
2648 ("ghc-parsec" ,ghc-parsec)))
2649 (home-page
2650 "https://hackage.haskell.org/package/regex-tdfa")
2651 (synopsis "Tagged DFA regex engine for Haskell")
2652 (description "A new all-Haskell \"tagged\" DFA regex engine, inspired by
2653 @code{libtre} (fork by Roman Cheplyaka).")
2654 (license license:bsd-3)))
2655
2656 (define-public ghc-regex-tdfa-text
2657 (package
2658 (name "ghc-regex-tdfa-text")
2659 (version "1.0.0.3")
2660 (source
2661 (origin
2662 (method url-fetch)
2663 (uri (string-append
2664 "https://hackage.haskell.org/package/regex-tdfa-text/"
2665 "regex-tdfa-text-" version ".tar.gz"))
2666 (sha256
2667 (base32
2668 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
2669 (build-system haskell-build-system)
2670 (inputs
2671 `(("ghc-text" ,ghc-text)
2672 ("ghc-regex-base" ,ghc-regex-base)
2673 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
2674 (home-page
2675 "http://hackage.haskell.org/package/regex-tdfa-text")
2676 (synopsis "Text interface for regex-tdfa")
2677 (description
2678 "This provides an extra text interface for regex-tdfa.")
2679 (license license:bsd-3)))
2680
2681 (define-public ghc-regex
2682 (package
2683 (name "ghc-regex")
2684 (version "1.0.1.3")
2685 (source
2686 (origin
2687 (method url-fetch)
2688 (uri (string-append "https://hackage.haskell.org/package/regex/"
2689 "regex-" version ".tar.gz"))
2690 (sha256
2691 (base32
2692 "1sjkpkgv4phy5b5v2lr89x4vx4dh44pj0sbvlsp6n86w9v6v4jwb"))))
2693 (build-system haskell-build-system)
2694 (inputs
2695 `(("ghc-base-compat" ,ghc-base-compat)
2696 ("ghc-hashable" ,ghc-hashable)
2697 ("ghc-regex-base" ,ghc-regex-base)
2698 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
2699 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
2700 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
2701 ("ghc-text" ,ghc-text)
2702 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
2703 ("ghc-unordered-containers" ,ghc-unordered-containers)
2704 ("ghc-utf8-string" ,ghc-utf8-string)))
2705 (home-page "http://regex.uk")
2706 (synopsis "Toolkit for regex-base")
2707 (description
2708 "This package provides a regular expression toolkit for @code{regex-base}
2709 with compile-time checking of regular expression syntax, data types for
2710 matches and captures, a text replacement toolkit, portable options, high-level
2711 AWK-like tools for building text processing apps, regular expression macros
2712 with parsers and test bench, comprehensive documentation, tutorials and
2713 copious examples.")
2714 (license license:bsd-3)))
2715
2716 (define-public ghc-parsers
2717 (package
2718 (name "ghc-parsers")
2719 (version "0.12.4")
2720 (source
2721 (origin
2722 (method url-fetch)
2723 (uri (string-append
2724 "https://hackage.haskell.org/package/parsers/parsers-"
2725 version
2726 ".tar.gz"))
2727 (sha256
2728 (base32
2729 "07najh7f9y3ahh42z96sw4hnd0kc4x3wm0xlf739y0gh81ys5097"))))
2730 (build-system haskell-build-system)
2731 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2732 ; -package attoparsec-0.13.0.1"
2733 (inputs
2734 `(("ghc-base-orphans" ,ghc-base-orphans)
2735 ("ghc-attoparsec" ,ghc-attoparsec)
2736 ("ghc-parsec" ,ghc-parsec)
2737 ("ghc-scientific" ,ghc-scientific)
2738 ("ghc-charset" ,ghc-charset)
2739 ("ghc-text" ,ghc-text)
2740 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2741 (home-page "https://github.com/ekmett/parsers/")
2742 (synopsis "Parsing combinators")
2743 (description "This library provides convenient combinators for working
2744 with and building parsing combinator libraries. Given a few simple instances,
2745 you get access to a large number of canned definitions. Instances exist for
2746 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
2747 @code{Text.Read}.")
2748 (license license:bsd-3)))
2749
2750 (define-public ghc-trifecta
2751 (package
2752 (name "ghc-trifecta")
2753 (version "1.7.1.1")
2754 (source (origin
2755 (method url-fetch)
2756 (uri (string-append
2757 "https://hackage.haskell.org/package/trifecta/"
2758 "trifecta-" version ".tar.gz"))
2759 (sha256
2760 (base32
2761 "13n6a3fdxngnzsjnhfrzigv1c2g0xm6lqkjcnirpc37sd0rpby31"))))
2762 (build-system haskell-build-system)
2763 (inputs
2764 `(("ghc-doctest" ,ghc-doctest-0.13)
2765 ("ghc-reducers" ,ghc-reducers)
2766 ("ghc-semigroups" ,ghc-semigroups)
2767 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
2768 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2769 ("ghc-blaze-builder" ,ghc-blaze-builder)
2770 ("ghc-blaze-html" ,ghc-blaze-html)
2771 ("ghc-blaze-markup" ,ghc-blaze-markup)
2772 ("ghc-charset" ,ghc-charset)
2773 ("ghc-comonad" ,ghc-comonad)
2774 ("ghc-doctest" ,ghc-doctest)
2775 ("ghc-fingertree" ,ghc-fingertree)
2776 ("ghc-hashable" ,ghc-hashable)
2777 ("ghc-lens" ,ghc-lens)
2778 ("ghc-parsers" ,ghc-parsers)
2779 ("ghc-profunctors" ,ghc-profunctors)
2780 ("ghc-quickcheck" ,ghc-quickcheck)
2781 ("ghc-unordered-containers" ,ghc-unordered-containers)
2782 ("ghc-utf8-string" ,ghc-utf8-string)))
2783 (native-inputs
2784 `(("cabal-doctest" ,cabal-doctest)))
2785 (home-page "https://github.com/ekmett/trifecta/")
2786 (synopsis "Parser combinator library with convenient diagnostics")
2787 (description "Trifecta is a modern parser combinator library for Haskell,
2788 with slicing and Clang-style colored diagnostics.")
2789 (license license:bsd-3)))
2790
2791 (define-public ghc-time-locale-compat
2792 (package
2793 (name "ghc-time-locale-compat")
2794 (version "0.1.1.3")
2795 (source
2796 (origin
2797 (method url-fetch)
2798 (uri (string-append "https://hackage.haskell.org/package/"
2799 "time-locale-compat/time-locale-compat-"
2800 version ".tar.gz"))
2801 (sha256
2802 (base32
2803 "1vdcfr2hp9qh3ag90x6ikbdf42wiqpdylnplffna54bpnilbyi4i"))))
2804 (build-system haskell-build-system)
2805 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
2806 (home-page "https://github.com/khibino/haskell-time-locale-compat")
2807 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
2808 (description "This package contains a wrapped name module for
2809 @code{TimeLocale}.")
2810 (license license:bsd-3)))
2811
2812 (define-public ghc-attoparsec
2813 (package
2814 (name "ghc-attoparsec")
2815 (version "0.13.2.2")
2816 (source
2817 (origin
2818 (method url-fetch)
2819 (uri (string-append
2820 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
2821 version
2822 ".tar.gz"))
2823 (sha256
2824 (base32
2825 "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx"))))
2826 (build-system haskell-build-system)
2827 ;; FIXME: at least on test fails with QuickCheck > 2.9.2. Once upstream
2828 ;; has updated the tests to work with a later version of QuickCheck we can
2829 ;; re-enable them.
2830 (arguments `(#:tests? #f))
2831 (inputs
2832 `(("ghc-scientific" ,ghc-scientific)
2833 ("ghc-text" ,ghc-text)))
2834 (native-inputs
2835 `(("ghc-tasty" ,ghc-tasty)
2836 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
2837 ("ghc-quickcheck" ,ghc-quickcheck)
2838 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
2839 ("ghc-vector" ,ghc-vector)))
2840 (home-page "https://github.com/bos/attoparsec")
2841 (synopsis "Fast combinator parsing for bytestrings and text")
2842 (description "This library provides a fast parser combinator library,
2843 aimed particularly at dealing efficiently with network protocols and
2844 complicated text/binary file formats.")
2845 (license license:bsd-3)))
2846
2847 (define-public ghc-zip-archive
2848 (package
2849 (name "ghc-zip-archive")
2850 (version "0.3.0.5")
2851 (source
2852 (origin
2853 (method url-fetch)
2854 (uri (string-append
2855 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
2856 version
2857 ".tar.gz"))
2858 (sha256
2859 (base32
2860 "1iwpzjck4jg9bz1yqky051i2wljsqc14q5zbi10dydfp8ip3d0yw"))))
2861 (build-system haskell-build-system)
2862 (inputs
2863 `(("ghc-old-time" ,ghc-old-time)
2864 ("ghc-digest" ,ghc-digest)
2865 ("zip" ,zip)
2866 ("ghc-temporary" ,ghc-temporary)
2867 ("ghc-text" ,ghc-text)
2868 ("ghc-zlib" ,ghc-zlib)))
2869 (native-inputs
2870 `(("ghc-hunit" ,ghc-hunit)))
2871 (home-page "https://hackage.haskell.org/package/zip-archive")
2872 (synopsis "Zip archive library for Haskell")
2873 (description "The zip-archive library provides functions for creating,
2874 modifying, and extracting files from zip archives in Haskell.")
2875 (license license:bsd-3)))
2876
2877 (define-public ghc-distributive
2878 (package
2879 (name "ghc-distributive")
2880 (version "0.5.3")
2881 (source
2882 (origin
2883 (method url-fetch)
2884 (uri (string-append
2885 "https://hackage.haskell.org/package/distributive/distributive-"
2886 version
2887 ".tar.gz"))
2888 (sha256
2889 (base32
2890 "0y566r97sfyvhsmd4yxiz4ns2mqgwf5bdbp56wgxl6wlkidq0wwi"))))
2891 (build-system haskell-build-system)
2892 (inputs
2893 `(("ghc-tagged" ,ghc-tagged)
2894 ("ghc-base-orphans" ,ghc-base-orphans)
2895 ("ghc-transformers-compat" ,ghc-transformers-compat)
2896 ("ghc-semigroups" ,ghc-semigroups)
2897 ("ghc-generic-deriving" ,ghc-generic-deriving)))
2898 (native-inputs
2899 `(("cabal-doctest" ,cabal-doctest)
2900 ("ghc-doctest" ,ghc-doctest-0.12)
2901 ("ghc-hspec" ,ghc-hspec)
2902 ("hspec-discover" ,hspec-discover)))
2903 (home-page "https://github.com/ekmett/distributive/")
2904 (synopsis "Distributive functors for Haskell")
2905 (description "This package provides distributive functors for Haskell.
2906 Dual to @code{Traversable}.")
2907 (license license:bsd-3)))
2908
2909 (define-public ghc-cereal
2910 (package
2911 (name "ghc-cereal")
2912 (version "0.5.3.0")
2913 (source
2914 (origin
2915 (method url-fetch)
2916 (uri (string-append
2917 "https://hackage.haskell.org/package/cereal/cereal-"
2918 version
2919 ".tar.gz"))
2920 (sha256
2921 (base32
2922 "1x4aib7nnaf4x2b9zlndq5n5zsqniw78jifkf55nhnbmvryf05n3"))))
2923 (build-system haskell-build-system)
2924 (native-inputs
2925 `(("ghc-quickcheck" ,ghc-quickcheck)
2926 ("ghc-fail" ,ghc-fail)
2927 ("ghc-test-framework" ,ghc-test-framework)
2928 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2929 (home-page "https://hackage.haskell.org/package/cereal")
2930 (synopsis "Binary serialization library")
2931 (description "This package provides a binary serialization library,
2932 similar to @code{binary}, that introduces an @code{isolate} primitive for
2933 parser isolation, and labeled blocks for better error messages.")
2934 (license license:bsd-3)))
2935
2936 (define-public ghc-comonad
2937 (package
2938 (name "ghc-comonad")
2939 (version "5")
2940 (source
2941 (origin
2942 (method url-fetch)
2943 (uri (string-append
2944 "https://hackage.haskell.org/package/comonad/comonad-"
2945 version
2946 ".tar.gz"))
2947 (sha256
2948 (base32
2949 "0anb36m9z52y9xsipxzj9w1b41b2rj8r389cxd6d20dplnfv3rbq"))))
2950 (build-system haskell-build-system)
2951 (native-inputs
2952 `(("ghc-doctest" ,ghc-doctest)))
2953 (inputs
2954 `(("ghc-contravariant" ,ghc-contravariant)
2955 ("ghc-distributive" ,ghc-distributive)
2956 ("ghc-semigroups" ,ghc-semigroups)
2957 ("ghc-tagged" ,ghc-tagged)
2958 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2959 (home-page "https://github.com/ekmett/comonad/")
2960 (synopsis "Comonads for Haskell")
2961 (description "This library provides @code{Comonad}s for Haskell.")
2962 (license license:bsd-3)))
2963
2964 (define-public hscolour
2965 (package
2966 (name "hscolour")
2967 (version "1.24.1")
2968 (source
2969 (origin
2970 (method url-fetch)
2971 (uri (string-append
2972 "https://hackage.haskell.org/package/hscolour/hscolour-"
2973 version
2974 ".tar.gz"))
2975 (sha256
2976 (base32
2977 "1j3rpzjygh3igvnd1n2xn63bq68rs047cjxr2qi6xyfnivgf6vz4"))))
2978 (build-system haskell-build-system)
2979 (home-page "https://hackage.haskell.org/package/hscolour")
2980 (synopsis "Script to colourise Haskell code")
2981 (description "HSColour is a small Haskell script to colourise Haskell
2982 code. It currently has six output formats: ANSI terminal codes (optionally
2983 XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
2984 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
2985 and mIRC chat codes.")
2986 (license license:bsd-3)))
2987
2988 (define-public ghc-polyparse
2989 (package
2990 (name "ghc-polyparse")
2991 (version "1.12")
2992 (source
2993 (origin
2994 (method url-fetch)
2995 (uri (string-append
2996 "https://hackage.haskell.org/package/polyparse/polyparse-"
2997 version
2998 ".tar.gz"))
2999 (sha256
3000 (base32
3001 "05dya1vdvq29hkhkdlsglzhw7bdn51rvs1javs0q75nf99c66k7m"))))
3002 (build-system haskell-build-system)
3003 (inputs
3004 `(("ghc-text" ,ghc-text)))
3005 (home-page
3006 "http://code.haskell.org/~malcolm/polyparse/")
3007 (synopsis
3008 "Alternative parser combinator libraries")
3009 (description
3010 "This package provides a variety of alternative parser combinator
3011 libraries, including the original HuttonMeijer set. The Poly sets have
3012 features like good error reporting, arbitrary token type, running state, lazy
3013 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
3014 standard Read class, for better deserialisation of Haskell values from
3015 Strings.")
3016 (license license:lgpl2.1)))
3017
3018 (define-public ghc-extra
3019 (package
3020 (name "ghc-extra")
3021 (version "1.6.3")
3022 (source
3023 (origin
3024 (method url-fetch)
3025 (uri (string-append
3026 "https://hackage.haskell.org/package/extra/extra-"
3027 version
3028 ".tar.gz"))
3029 (sha256
3030 (base32
3031 "06ds0jlx6sljwdf63l154qbzia9mnsri79i9qm3xikky3nj9ia1m"))))
3032 (build-system haskell-build-system)
3033 (inputs
3034 `(("ghc-clock" ,ghc-clock)
3035 ("ghc-quickcheck" ,ghc-quickcheck)))
3036 (home-page "https://github.com/ndmitchell/extra")
3037 (synopsis "Extra Haskell functions")
3038 (description "This library provides extra functions for the standard
3039 Haskell libraries. Most functions are simple additions, filling out missing
3040 functionality. A few functions are available in later versions of GHC, but
3041 this package makes them available back to GHC 7.2.")
3042 (license license:bsd-3)))
3043
3044 (define-public ghc-profunctors
3045 (package
3046 (name "ghc-profunctors")
3047 (version "5.2.2")
3048 (source
3049 (origin
3050 (method url-fetch)
3051 (uri (string-append
3052 "https://hackage.haskell.org/package/profunctors/profunctors-"
3053 version
3054 ".tar.gz"))
3055 (sha256
3056 (base32
3057 "0s1pwjidbn761xk43pmzyvn99hm3psdifjd78ylki7f97aiyd0g9"))))
3058 (build-system haskell-build-system)
3059 (inputs
3060 `(("ghc-base-orphans" ,ghc-base-orphans)
3061 ("ghc-bifunctors" ,ghc-bifunctors)
3062 ("ghc-comonad" ,ghc-comonad)
3063 ("ghc-contravariant" ,ghc-contravariant)
3064 ("ghc-distributive" ,ghc-distributive)
3065 ("ghc-semigroups" ,ghc-semigroups)
3066 ("ghc-tagged" ,ghc-tagged)))
3067 (home-page "https://github.com/ekmett/profunctors/")
3068 (synopsis "Profunctors for Haskell")
3069 (description "This library provides profunctors for Haskell.")
3070 (license license:bsd-3)))
3071
3072 (define-public ghc-reducers
3073 (package
3074 (name "ghc-reducers")
3075 (version "3.12.2")
3076 (source
3077 (origin
3078 (method url-fetch)
3079 (uri (string-append
3080 "https://hackage.haskell.org/package/reducers/reducers-"
3081 version
3082 ".tar.gz"))
3083 (sha256
3084 (base32
3085 "1gbaa5x4zbvnbklcb0d4q4m8hk6w0gz4s0c4m288czi1nw43dl65"))))
3086 (build-system haskell-build-system)
3087 (inputs
3088 `(("ghc-fingertree" ,ghc-fingertree)
3089 ("ghc-hashable" ,ghc-hashable)
3090 ("ghc-text" ,ghc-text)
3091 ("ghc-unordered-containers" ,ghc-unordered-containers)
3092 ("ghc-semigroupoids" ,ghc-semigroupoids)
3093 ("ghc-semigroups" ,ghc-semigroups)))
3094 (home-page "https://github.com/ekmett/reducers/")
3095 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
3096 (description "This library provides various semigroups, specialized
3097 containers and a general map/reduce framework for Haskell.")
3098 (license license:bsd-3)))
3099
3100 (define-public ghc-appar
3101 (package
3102 (name "ghc-appar")
3103 (version "0.1.4")
3104 (source
3105 (origin
3106 (method url-fetch)
3107 (uri (string-append
3108 "https://hackage.haskell.org/package/appar/appar-"
3109 version
3110 ".tar.gz"))
3111 (sha256
3112 (base32
3113 "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq"))))
3114 (build-system haskell-build-system)
3115 (home-page
3116 "https://hackage.haskell.org/package/appar")
3117 (synopsis "Simple applicative parser")
3118 (description "This package provides a simple applicative parser in Parsec
3119 style.")
3120 (license license:bsd-3)))
3121
3122 (define-public ghc-safe
3123 (package
3124 (name "ghc-safe")
3125 (version "0.3.9")
3126 (source
3127 (origin
3128 (method url-fetch)
3129 (uri (string-append
3130 "https://hackage.haskell.org/package/safe/safe-"
3131 version
3132 ".tar.gz"))
3133 (sha256
3134 (base32
3135 "1jdnp5zhvalf1xy8i872n29nljfjz6lnl9ghj80ffisrnnkrwcfh"))))
3136 (build-system haskell-build-system)
3137 (home-page "https://github.com/ndmitchell/safe#readme")
3138 (synopsis "Library of safe (exception free) functions")
3139 (description "This library provides wrappers around @code{Prelude} and
3140 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
3141 exceptions.")
3142 (license license:bsd-3)))
3143
3144 (define-public ghc-generic-deriving
3145 (package
3146 (name "ghc-generic-deriving")
3147 (version "1.11.1")
3148 (source
3149 (origin
3150 (method url-fetch)
3151 (uri (string-append
3152 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
3153 version
3154 ".tar.gz"))
3155 (sha256
3156 (base32
3157 "1sdh5hpcwvh3b6zvgfk3pr3hla8p88l82njnih880c0gk5zl53dk"))))
3158 (build-system haskell-build-system)
3159 (native-inputs
3160 `(("ghc-hspec" ,ghc-hspec)
3161 ("hspec-discover" ,hspec-discover)))
3162 (home-page "https://hackage.haskell.org/package/generic-deriving")
3163 (synopsis "Generalise the deriving mechanism to arbitrary classes")
3164 (description "This package provides functionality for generalising the
3165 deriving mechanism in Haskell to arbitrary classes.")
3166 (license license:bsd-3)))
3167
3168 (define-public ghc-pcre-light
3169 (package
3170 (name "ghc-pcre-light")
3171 (version "0.4.0.4")
3172 (source
3173 (origin
3174 (method url-fetch)
3175 (uri (string-append
3176 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
3177 version
3178 ".tar.gz"))
3179 (sha256
3180 (base32
3181 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
3182 (build-system haskell-build-system)
3183 (inputs
3184 `(("pcre" ,pcre)))
3185 (native-inputs
3186 `(("pkg-config" ,pkg-config)))
3187 (home-page "https://github.com/Daniel-Diaz/pcre-light")
3188 (synopsis "Haskell library for Perl 5 compatible regular expressions")
3189 (description "This package provides a small, efficient, and portable regex
3190 library for Perl 5 compatible regular expressions. The PCRE library is a set
3191 of functions that implement regular expression pattern matching using the same
3192 syntax and semantics as Perl 5.")
3193 (license license:bsd-3)))
3194
3195 (define-public ghc-logict
3196 (package
3197 (name "ghc-logict")
3198 (version "0.6.0.2")
3199 (source
3200 (origin
3201 (method url-fetch)
3202 (uri (string-append
3203 "https://hackage.haskell.org/package/logict/logict-"
3204 version
3205 ".tar.gz"))
3206 (sha256
3207 (base32
3208 "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi"))))
3209 (build-system haskell-build-system)
3210 (home-page "http://code.haskell.org/~dolio/")
3211 (synopsis "Backtracking logic-programming monad")
3212 (description "This library provides a continuation-based, backtracking,
3213 logic programming monad. An adaptation of the two-continuation implementation
3214 found in the paper \"Backtracking, Interleaving, and Terminating Monad
3215 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
3216 online}.")
3217 (license license:bsd-3)))
3218
3219 (define-public ghc-xml
3220 (package
3221 (name "ghc-xml")
3222 (version "1.3.14")
3223 (source
3224 (origin
3225 (method url-fetch)
3226 (uri (string-append
3227 "https://hackage.haskell.org/package/xml/xml-"
3228 version
3229 ".tar.gz"))
3230 (sha256
3231 (base32
3232 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
3233 (build-system haskell-build-system)
3234 (inputs
3235 `(("ghc-text" ,ghc-text)))
3236 (home-page "http://code.galois.com")
3237 (synopsis "Simple XML library for Haskell")
3238 (description "This package provides a simple XML library for Haskell.")
3239 (license license:bsd-3)))
3240
3241 (define-public ghc-feed
3242 (package
3243 (name "ghc-feed")
3244 (version "0.3.12.0")
3245 (source
3246 (origin
3247 (method url-fetch)
3248 (uri (string-append "https://hackage.haskell.org/package/"
3249 "feed/feed-" version ".tar.gz"))
3250 (sha256
3251 (base32
3252 "0hkrsinspg70bbm3hwqdrvivws6zya1hyk0a3awpaz82j4xnlbfc"))))
3253 (build-system haskell-build-system)
3254 (inputs
3255 `(("ghc-old-locale" ,ghc-old-locale)
3256 ("ghc-old-time" ,ghc-old-time)
3257 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
3258 ("ghc-utf8-string" ,ghc-utf8-string)
3259 ("ghc-xml" ,ghc-xml)))
3260 (native-inputs
3261 `(("ghc-hunit" ,ghc-hunit)
3262 ("ghc-test-framework" ,ghc-test-framework)
3263 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3264 (home-page "https://github.com/bergmark/feed")
3265 (synopsis "Haskell package for handling various syndication formats")
3266 (description "This Haskell package includes tools for generating and
3267 consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
3268 (license license:bsd-3)))
3269
3270 (define-public ghc-exceptions
3271 (package
3272 (name "ghc-exceptions")
3273 (version "0.8.3")
3274 (source
3275 (origin
3276 (method url-fetch)
3277 (uri (string-append
3278 "https://hackage.haskell.org/package/exceptions/exceptions-"
3279 version
3280 ".tar.gz"))
3281 (sha256
3282 (base32
3283 "1gl7xzffsqmigam6zg0jsglncgzxqafld2p6kb7ccp9xirzdjsjd"))))
3284 (build-system haskell-build-system)
3285 (arguments
3286 `(#:configure-flags (list "--allow-newer=QuickCheck")))
3287 (native-inputs
3288 `(("ghc-test-framework" ,ghc-test-framework)
3289 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3290 (inputs
3291 `(("ghc-stm" ,ghc-stm)
3292 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3293 (home-page "https://github.com/ekmett/exceptions/")
3294 (synopsis "Extensible optionally-pure exceptions")
3295 (description "This library provides extensible optionally-pure exceptions
3296 for Haskell.")
3297 (license license:bsd-3)))
3298
3299 (define-public ghc-temporary
3300 (package
3301 (name "ghc-temporary")
3302 (version "1.2.0.4")
3303 (source
3304 (origin
3305 (method url-fetch)
3306 (uri (string-append
3307 "https://hackage.haskell.org/package/temporary/temporary-"
3308 version
3309 ".tar.gz"))
3310 (sha256
3311 (base32
3312 "0qk741yqnpd69sksgks2vb7zi50rglp9m498lzw4sh268a017rsi"))))
3313 (build-system haskell-build-system)
3314 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
3315 (home-page "https://www.github.com/batterseapower/temporary")
3316 (synopsis "Temporary file and directory support")
3317 (description "The functions for creating temporary files and directories
3318 in the Haskelll base library are quite limited. This library just repackages
3319 the Cabal implementations of its own temporary file and folder functions so
3320 that you can use them without linking against Cabal or depending on it being
3321 installed.")
3322 (license license:bsd-3)))
3323
3324 (define-public ghc-temporary-rc
3325 (package
3326 (name "ghc-temporary-rc")
3327 (version "1.2.0.3")
3328 (source
3329 (origin
3330 (method url-fetch)
3331 (uri (string-append
3332 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
3333 version
3334 ".tar.gz"))
3335 (sha256
3336 (base32
3337 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
3338 (build-system haskell-build-system)
3339 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
3340 (home-page
3341 "https://www.github.com/feuerbach/temporary")
3342 (synopsis
3343 "Portable temporary file and directory support")
3344 (description
3345 "The functions for creating temporary files and directories in the base
3346 library are quite limited. The unixutils package contains some good ones, but
3347 they aren't portable to Windows. This library just repackages the Cabal
3348 implementations of its own temporary file and folder functions so that you can
3349 use them without linking against Cabal or depending on it being installed.
3350 This is a better maintained fork of the \"temporary\" package.")
3351 (license license:bsd-3)))
3352
3353 (define-public ghc-smallcheck
3354 (package
3355 (name "ghc-smallcheck")
3356 (version "1.1.5")
3357 (source
3358 (origin
3359 (method url-fetch)
3360 (uri (string-append
3361 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
3362 version
3363 ".tar.gz"))
3364 (sha256
3365 (base32
3366 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
3367 (build-system haskell-build-system)
3368 (inputs
3369 `(("ghc-logict" ,ghc-logict)))
3370 (home-page
3371 "https://github.com/feuerbach/smallcheck")
3372 (synopsis "Property-based testing library")
3373 (description "SmallCheck is a testing library that allows to verify
3374 properties for all test cases up to some depth. The test cases are generated
3375 automatically by SmallCheck.")
3376 (license license:bsd-3)))
3377
3378 (define-public ghc-silently
3379 (package
3380 (name "ghc-silently")
3381 (version "1.2.5")
3382 (source
3383 (origin
3384 (method url-fetch)
3385 (uri (string-append
3386 "https://hackage.haskell.org/package/silently/silently-"
3387 version
3388 ".tar.gz"))
3389 (sha256
3390 (base32
3391 "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
3392 (build-system haskell-build-system)
3393 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
3394 ;; (inputs
3395 ;; `(("ghc-temporary" ,ghc-temporary)))
3396 (home-page "https://github.com/hspec/silently")
3397 (synopsis "Prevent writing to stdout")
3398 (description "This package provides functions to prevent or capture
3399 writing to stdout and other handles.")
3400 (license license:bsd-3)))
3401
3402 (define-public ghc-case-insensitive
3403 (package
3404 (name "ghc-case-insensitive")
3405 (version "1.2.0.7")
3406 (outputs '("out" "doc"))
3407 (source
3408 (origin
3409 (method url-fetch)
3410 (uri (string-append
3411 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
3412 version
3413 ".tar.gz"))
3414 (sha256
3415 (base32
3416 "1j6ahvrz1g5q89y2difyk838yhwjc8z67zr0v2z512qdznc3h38n"))))
3417 (build-system haskell-build-system)
3418 (inputs
3419 `(("ghc-hunit" ,ghc-hunit)))
3420 ;; these inputs are necessary to use this library
3421 (inputs
3422 `(("ghc-text" ,ghc-text)
3423 ("ghc-hashable" ,ghc-hashable)))
3424 (arguments
3425 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3426 (home-page
3427 "https://github.com/basvandijk/case-insensitive")
3428 (synopsis "Case insensitive string comparison")
3429 (description
3430 "The module 'Data.CaseInsensitive' provides the 'CI' type constructor
3431 which can be parameterised by a string-like type like: 'String', 'ByteString',
3432 'Text', etc.. Comparisons of values of the resulting type will be insensitive
3433 to cases.")
3434 (license license:bsd-3)))
3435
3436 (define-public ghc-syb
3437 (package
3438 (name "ghc-syb")
3439 (version "0.6")
3440 (outputs '("out" "doc"))
3441 (source
3442 (origin
3443 (method url-fetch)
3444 (uri (string-append
3445 "https://hackage.haskell.org/package/syb/syb-"
3446 version
3447 ".tar.gz"))
3448 (sha256
3449 (base32
3450 "1p3cnqjm13677r4a966zffzhi9b3a321aln8zs8ckqj0d9z1z3d3"))))
3451 (build-system haskell-build-system)
3452 (inputs
3453 `(("ghc-hunit" ,ghc-hunit)))
3454 (home-page
3455 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
3456 (synopsis "Scrap Your Boilerplate")
3457 (description "This package contains the generics system described in the
3458 /Scrap Your Boilerplate/ papers (see
3459 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
3460 defines the 'Data' class of types permitting folding and unfolding of
3461 constructor applications, instances of this class for primitive types, and a
3462 variety of traversals.")
3463 (license license:bsd-3)))
3464
3465 (define-public ghc-fgl
3466 (package
3467 (name "ghc-fgl")
3468 (version "5.6.0.0")
3469 (outputs '("out" "doc"))
3470 (source
3471 (origin
3472 (method url-fetch)
3473 (uri (string-append
3474 "https://hackage.haskell.org/package/fgl/fgl-"
3475 version
3476 ".tar.gz"))
3477 (sha256
3478 (base32
3479 "1i6cp4b3w7sjk7y1dq3fh6bci2sm5h3lnbbaw9ln19nwncg2wwll"))))
3480 (build-system haskell-build-system)
3481 (arguments
3482 `(#:configure-flags (list "--allow-newer=QuickCheck"
3483 "--allow-newer=hspec")))
3484 (inputs
3485 `(("ghc-hspec" ,ghc-hspec)
3486 ("ghc-quickcheck" ,ghc-quickcheck)))
3487 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3488 (synopsis
3489 "Martin Erwig's Functional Graph Library")
3490 (description "The functional graph library, FGL, is a collection of type
3491 and function definitions to address graph problems. The basis of the library
3492 is an inductive definition of graphs in the style of algebraic data types that
3493 encourages inductive, recursive definitions of graph algorithms.")
3494 (license license:bsd-3)))
3495
3496 (define-public ghc-chasingbottoms
3497 (package
3498 (name "ghc-chasingbottoms")
3499 (version "1.3.1.3")
3500 (source
3501 (origin
3502 (method url-fetch)
3503 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
3504 "ChasingBottoms-" version ".tar.gz"))
3505 (sha256
3506 (base32
3507 "04jwwjs22mqc4hvpp4c3gpb79inrrq5sapks5khknspv2hslm61q"))))
3508 (build-system haskell-build-system)
3509 (inputs
3510 `(("ghc-quickcheck" ,ghc-quickcheck)
3511 ("ghc-random" ,ghc-random)
3512 ("ghc-syb" ,ghc-syb)))
3513 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
3514 (synopsis "Testing of partial and infinite values in Haskell")
3515 (description
3516 ;; FIXME: There should be a @comma{} in the uref text, but it is not
3517 ;; rendered properly.
3518 "This is a library for testing code involving bottoms or infinite values.
3519 For the underlying theory and a larger example involving use of QuickCheck,
3520 see the article
3521 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
3522 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
3523 Partial and Infinite Values\"}.")
3524 (license license:expat)))
3525
3526 (define-public ghc-unordered-containers
3527 (package
3528 (name "ghc-unordered-containers")
3529 (version "0.2.7.1")
3530 (outputs '("out" "doc"))
3531 (source
3532 (origin
3533 (method url-fetch)
3534 (uri (string-append
3535 "https://hackage.haskell.org/package/unordered-containers"
3536 "/unordered-containers-" version ".tar.gz"))
3537 (sha256
3538 (base32
3539 "00npqiphivjp2d7ryqsdavfn4m5v3w1lq2azhdsrfh0wsvqpg4ig"))))
3540 (build-system haskell-build-system)
3541 (inputs
3542 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
3543 ("ghc-hunit" ,ghc-hunit)
3544 ("ghc-quickcheck" ,ghc-quickcheck)
3545 ("ghc-test-framework" ,ghc-test-framework)
3546 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3547 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3548 ("ghc-hashable" ,ghc-hashable)))
3549 (home-page
3550 "https://github.com/tibbe/unordered-containers")
3551 (synopsis
3552 "Efficient hashing-based container types")
3553 (description
3554 "Efficient hashing-based container types. The containers have been
3555 optimized for performance critical use, both in terms of large data quantities
3556 and high speed.")
3557 (license license:bsd-3)))
3558
3559 (define-public ghc-uniplate
3560 (package
3561 (name "ghc-uniplate")
3562 (version "1.6.12")
3563 (source
3564 (origin
3565 (method url-fetch)
3566 (uri (string-append
3567 "https://hackage.haskell.org/package/uniplate/uniplate-"
3568 version
3569 ".tar.gz"))
3570 (sha256
3571 (base32
3572 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
3573 (build-system haskell-build-system)
3574 (inputs
3575 `(("ghc-syb" ,ghc-syb)
3576 ("ghc-hashable" ,ghc-hashable)
3577 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3578 (home-page "http://community.haskell.org/~ndm/uniplate/")
3579 (synopsis "Simple, concise and fast generic operations")
3580 (description "Uniplate is a library for writing simple and concise generic
3581 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
3582 work, but is substantially simpler and faster.")
3583 (license license:bsd-3)))
3584
3585 (define-public ghc-base64-bytestring
3586 (package
3587 (name "ghc-base64-bytestring")
3588 (version "1.0.0.1")
3589 (source
3590 (origin
3591 (method url-fetch)
3592 (uri (string-append
3593 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
3594 version
3595 ".tar.gz"))
3596 (sha256
3597 (base32
3598 "0l1v4ddjdsgi9nqzyzcxxj76rwar3lzx8gmwf2r54bqan3san9db"))))
3599 (build-system haskell-build-system)
3600 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3601 (home-page "https://github.com/bos/base64-bytestring")
3602 (synopsis "Base64 encoding and decoding for ByteStrings")
3603 (description "This library provides fast base64 encoding and decoding for
3604 Haskell @code{ByteString}s.")
3605 (license license:bsd-3)))
3606
3607 (define-public ghc-annotated-wl-pprint
3608 (package
3609 (name "ghc-annotated-wl-pprint")
3610 (version "0.7.0")
3611 (source
3612 (origin
3613 (method url-fetch)
3614 (uri (string-append
3615 "https://hackage.haskell.org/package/annotated-wl-pprint"
3616 "/annotated-wl-pprint-" version
3617 ".tar.gz"))
3618 (sha256
3619 (base32
3620 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
3621 (build-system haskell-build-system)
3622 (home-page
3623 "https://github.com/david-christiansen/annotated-wl-pprint")
3624 (synopsis
3625 "The Wadler/Leijen Pretty Printer, with annotation support")
3626 (description "This is a modified version of wl-pprint, which was based on
3627 Wadler's paper \"A Prettier Printer\". This version allows the library user
3628 to annotate the text with semantic information, which can later be rendered in
3629 a variety of ways.")
3630 (license license:bsd-3)))
3631
3632 (define-public ghc-wl-pprint
3633 (package
3634 (name "ghc-wl-pprint")
3635 (version "1.2")
3636 (source (origin
3637 (method url-fetch)
3638 (uri (string-append
3639 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
3640 version ".tar.gz"))
3641 (sha256
3642 (base32
3643 "166zvk4zwn2zaa9kx66m1av38m34qp6h4i65bri2sfnxgvx0700r"))))
3644 (build-system haskell-build-system)
3645 (home-page "https://hackage.haskell.org/package/wl-pprint")
3646 (synopsis "Wadler/Leijen pretty printer")
3647 (description
3648 "This is a pretty printing library based on Wadler's paper @i{A Prettier
3649 Printer}. This version allows the library user to declare overlapping
3650 instances of the @code{Pretty} class.")
3651 (license license:bsd-3)))
3652
3653 (define-public ghc-ansi-wl-pprint
3654 (package
3655 (name "ghc-ansi-wl-pprint")
3656 (version "0.6.8.2")
3657 (source
3658 (origin
3659 (method url-fetch)
3660 (uri (string-append "https://hackage.haskell.org/package/"
3661 "ansi-wl-pprint/ansi-wl-pprint-"
3662 version ".tar.gz"))
3663 (sha256
3664 (base32
3665 "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56"))))
3666 (build-system haskell-build-system)
3667 (inputs
3668 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
3669 (home-page "https://github.com/ekmett/ansi-wl-pprint")
3670 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
3671 (description "This is a pretty printing library based on Wadler's paper
3672 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
3673 colored output using the ansi-terminal package.")
3674 (license license:bsd-3)))
3675
3676 (define-public ghc-split
3677 (package
3678 (name "ghc-split")
3679 (version "0.2.3.1")
3680 (outputs '("out" "doc"))
3681 (source
3682 (origin
3683 (method url-fetch)
3684 (uri (string-append
3685 "https://hackage.haskell.org/package/split/split-"
3686 version
3687 ".tar.gz"))
3688 (sha256
3689 (base32
3690 "12660m16c6sib3laaxn6w9s453pyx1b49myrmzfij372vq5bc5bn"))))
3691 (build-system haskell-build-system)
3692 (native-inputs
3693 `(("ghc-quickcheck" ,ghc-quickcheck)))
3694 (home-page "https://hackage.haskell.org/package/split")
3695 (synopsis "Combinator library for splitting lists")
3696 (description "This package provides a collection of Haskell functions for
3697 splitting lists into parts, akin to the @code{split} function found in several
3698 mainstream languages.")
3699 (license license:bsd-3)))
3700
3701 (define-public ghc-parsec
3702 (package
3703 (name "ghc-parsec")
3704 (version "3.1.11")
3705 (outputs '("out" "doc"))
3706 (source
3707 (origin
3708 (method url-fetch)
3709 (uri (string-append
3710 "https://hackage.haskell.org/package/parsec/parsec-"
3711 version
3712 ".tar.gz"))
3713 (sha256
3714 (base32 "0vk7q9j2128q191zf1sg0ylj9s9djwayqk9747k0a5fin4f2b1vg"))))
3715 (build-system haskell-build-system)
3716 (native-inputs
3717 `(("ghc-hunit" ,ghc-hunit)))
3718 (inputs
3719 `(("ghc-text" ,ghc-text)))
3720 (arguments
3721 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3722 (home-page
3723 "https://github.com/aslatter/parsec")
3724 (synopsis "Monadic parser combinators")
3725 (description "Parsec is a parser library. It is simple, safe, well
3726 documented, has extensive libraries, good error messages, and is fast. It is
3727 defined as a monad transformer that can be stacked on arbitrary monads, and it
3728 is also parametric in the input stream type.")
3729 (license license:bsd-3)))
3730
3731 (define-public ghc-parser-combinators
3732 (package
3733 (name "ghc-parser-combinators")
3734 (version "0.4.0")
3735 (source
3736 (origin
3737 (method url-fetch)
3738 (uri (string-append "https://hackage.haskell.org/package/"
3739 "parser-combinators/parser-combinators-"
3740 version ".tar.gz"))
3741 (sha256
3742 (base32
3743 "1azkz0a6ikym02s8wydjcklp7rz8k512bs4s9lp9g1g03m0yj95i"))))
3744 (build-system haskell-build-system)
3745 (home-page "https://github.com/mrkkrp/parser-combinators")
3746 (synopsis "Commonly useful parser combinators")
3747 (description
3748 "This is a lightweight package providing commonly useful parser
3749 combinators.")
3750 (license license:bsd-3)))
3751
3752 (define-public ghc-megaparsec
3753 (package
3754 (name "ghc-megaparsec")
3755 (version "6.4.0")
3756 (source
3757 (origin
3758 (method url-fetch)
3759 (uri (string-append "https://hackage.haskell.org/package/"
3760 "megaparsec/megaparsec-"
3761 version ".tar.gz"))
3762 (sha256
3763 (base32
3764 "0h9azhs0dfrc359vrbd1jljrg3yfdbwd4p62cxqkn7mnh8913jpd"))))
3765 (build-system haskell-build-system)
3766 (inputs
3767 `(("ghc-case-insensitive" ,ghc-case-insensitive)
3768 ("ghc-parser-combinators" ,ghc-parser-combinators)
3769 ("ghc-scientific" ,ghc-scientific)
3770 ("ghc-text" ,ghc-text)))
3771 (native-inputs
3772 `(("ghc-quickcheck" ,ghc-quickcheck)
3773 ("ghc-hspec" ,ghc-hspec)
3774 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3775 ("hspec-discover" ,hspec-discover)))
3776 (home-page "https://github.com/mrkkrp/megaparsec")
3777 (synopsis "Monadic parser combinators")
3778 (description
3779 "This is an industrial-strength monadic parser combinator library.
3780 Megaparsec is a feature-rich package that strikes a nice balance between
3781 speed, flexibility, and quality of parse errors.")
3782 (license license:bsd-2)))
3783
3784 (define-public ghc-vector
3785 (package
3786 (name "ghc-vector")
3787 (version "0.12.0.1")
3788 (outputs '("out" "doc"))
3789 (source
3790 (origin
3791 (method url-fetch)
3792 (uri (string-append
3793 "https://hackage.haskell.org/package/vector/vector-"
3794 version
3795 ".tar.gz"))
3796 (sha256
3797 (base32
3798 "0yrx2ypiaxahvaz84af5bi855hd3107kxkbqc8km29nsp5wyw05i"))))
3799 (build-system haskell-build-system)
3800 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
3801 ;; disabled for now.
3802 (arguments `(#:tests? #f))
3803 (inputs
3804 `(("ghc-primitive" ,ghc-primitive)
3805 ("ghc-random" ,ghc-random)
3806 ("ghc-quickcheck" ,ghc-quickcheck)
3807 ;; ("ghc-hunit" ,ghc-hunit)
3808 ;; ("ghc-test-framework" ,ghc-test-framework)
3809 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3810 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3811 ))
3812 (home-page "https://github.com/haskell/vector")
3813 (synopsis "Efficient Arrays")
3814 (description "This library provides an efficient implementation of
3815 Int-indexed arrays (both mutable and immutable), with a powerful loop
3816 optimisation framework.")
3817 (license license:bsd-3)))
3818
3819 (define-public ghc-vector-binary-instances
3820 (package
3821 (name "ghc-vector-binary-instances")
3822 (version "0.2.4")
3823 (source
3824 (origin
3825 (method url-fetch)
3826 (uri (string-append
3827 "https://hackage.haskell.org/package/"
3828 "vector-binary-instances/vector-binary-instances-"
3829 version ".tar.gz"))
3830 (sha256
3831 (base32
3832 "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb"))))
3833 (build-system haskell-build-system)
3834 (inputs
3835 `(("ghc-vector" ,ghc-vector)))
3836 (native-inputs
3837 `(("ghc-tasty" ,ghc-tasty)
3838 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3839 (home-page "https://github.com/bos/vector-binary-instances")
3840 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
3841 (description "This library provides instances of @code{Binary} for the
3842 types defined in the @code{vector} package, making it easy to serialize
3843 vectors to and from disk. We use the generic interface to vectors, so all
3844 vector types are supported. Specific instances are provided for unboxed,
3845 boxed and storable vectors.")
3846 (license license:bsd-3)))
3847
3848 (define-public ghc-bloomfilter
3849 (package
3850 (name "ghc-bloomfilter")
3851 (version "2.0.1.0")
3852 (source
3853 (origin
3854 (method url-fetch)
3855 (uri (string-append "https://hackage.haskell.org/package/"
3856 "bloomfilter/bloomfilter-" version ".tar.gz"))
3857 (sha256
3858 (base32
3859 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
3860 (build-system haskell-build-system)
3861 (native-inputs
3862 `(("ghc-quickcheck" ,ghc-quickcheck)
3863 ("ghc-random" ,ghc-random)
3864 ("ghc-test-framework" ,ghc-test-framework)
3865 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3866 (home-page "https://github.com/bos/bloomfilter")
3867 (synopsis "Pure and impure Bloom filter implementations")
3868 (description "This package provides both mutable and immutable Bloom
3869 filter data types, along with a family of hash functions and an easy-to-use
3870 interface.")
3871 (license license:bsd-3)))
3872
3873 (define-public ghc-network
3874 (package
3875 (name "ghc-network")
3876 (version "2.6.3.1")
3877 (outputs '("out" "doc"))
3878 (source
3879 (origin
3880 (method url-fetch)
3881 (uri (string-append
3882 "https://hackage.haskell.org/package/network/network-"
3883 version
3884 ".tar.gz"))
3885 (sha256
3886 (base32
3887 "1rl2gl37cf4k0ddsq93q15fwdz1l25nhl4w205krbh7d5dg5y12p"))))
3888 (build-system haskell-build-system)
3889 ;; The regression tests depend on an unpublished module.
3890 (arguments `(#:tests? #f))
3891 (native-inputs
3892 `(("ghc-hunit" ,ghc-hunit)
3893 ("ghc-doctest" ,ghc-doctest)
3894 ("ghc-test-framework" ,ghc-test-framework)
3895 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3896 (home-page "https://github.com/haskell/network")
3897 (synopsis "Low-level networking interface")
3898 (description
3899 "This package provides a low-level networking interface.")
3900 (license license:bsd-3)))
3901
3902 (define-public ghc-network-uri
3903 (package
3904 (name "ghc-network-uri")
3905 (version "2.6.1.0")
3906 (outputs '("out" "doc"))
3907 (source
3908 (origin
3909 (method url-fetch)
3910 (uri (string-append
3911 "https://hackage.haskell.org/package/network-uri/network-uri-"
3912 version
3913 ".tar.gz"))
3914 (sha256
3915 (base32
3916 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
3917 (build-system haskell-build-system)
3918 (arguments
3919 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3920 (native-inputs
3921 `(("ghc-hunit" ,ghc-hunit)))
3922 (inputs
3923 `(("ghc-parsec" ,ghc-parsec)
3924 ("ghc-network" ,ghc-network)))
3925 (home-page
3926 "https://github.com/haskell/network-uri")
3927 (synopsis "Library for URI manipulation")
3928 (description "This package provides an URI manipulation interface. In
3929 'network-2.6' the 'Network.URI' module was split off from the 'network'
3930 package into this package.")
3931 (license license:bsd-3)))
3932
3933 (define-public ghc-ansi-terminal
3934 (package
3935 (name "ghc-ansi-terminal")
3936 (version "0.6.2.3")
3937 (source
3938 (origin
3939 (method url-fetch)
3940 (uri (string-append
3941 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
3942 version
3943 ".tar.gz"))
3944 (sha256
3945 (base32
3946 "0hpfw0k025y681m9ml1c712skrb1p4vh7z5x1f0ci9ww7ssjrh2d"))))
3947 (build-system haskell-build-system)
3948 (home-page "https://github.com/feuerbach/ansi-terminal")
3949 (synopsis "ANSI terminal support for Haskell")
3950 (description "This package provides ANSI terminal support for Haskell. It
3951 allows cursor movement, screen clearing, color output showing or hiding the
3952 cursor, and changing the title.")
3953 (license license:bsd-3)))
3954
3955 (define-public ghc-vault
3956 (package
3957 (name "ghc-vault")
3958 (version "0.3.0.6")
3959 (source
3960 (origin
3961 (method url-fetch)
3962 (uri (string-append
3963 "https://hackage.haskell.org/package/vault/vault-"
3964 version
3965 ".tar.gz"))
3966 (sha256
3967 (base32
3968 "0j7gcs440q7qlgzi2hn36crgp2c0w69k40g6vj9hxlm31zk3shqb"))))
3969 (build-system haskell-build-system)
3970 (inputs
3971 `(("ghc-unordered-containers" ,ghc-unordered-containers)
3972 ("ghc-hashable" ,ghc-hashable)))
3973 (home-page
3974 "https://github.com/HeinrichApfelmus/vault")
3975 (synopsis "Persistent store for arbitrary values")
3976 (description "This package provides vaults for Haskell. A vault is a
3977 persistent store for values of arbitrary types. It's like having first-class
3978 access to the storage space behind @code{IORefs}. The data structure is
3979 analogous to a bank vault, where you can access different bank boxes with
3980 different keys; hence the name. Also provided is a @code{locker} type,
3981 representing a store for a single element.")
3982 (license license:bsd-3)))
3983
3984 (define-public ghc-edisonapi
3985 (package
3986 (name "ghc-edisonapi")
3987 (version "1.3.1")
3988 (source
3989 (origin
3990 (method url-fetch)
3991 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
3992 "/EdisonAPI-" version ".tar.gz"))
3993 (sha256
3994 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
3995 (build-system haskell-build-system)
3996 (home-page "http://rwd.rdockins.name/edison/home/")
3997 (synopsis "Library of efficient, purely-functional data structures (API)")
3998 (description
3999 "Edison is a library of purely functional data structures written by
4000 Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
4001 value EDiSon (Efficient Data Structures). Edison provides several families of
4002 abstractions, each with multiple implementations. The main abstractions
4003 provided by Edison are: Sequences such as stacks, queues, and dequeues;
4004 Collections such as sets, bags and heaps; and Associative Collections such as
4005 finite maps and priority queues where the priority and element are distinct.")
4006 (license license:expat)))
4007
4008 (define-public ghc-edisoncore
4009 (package
4010 (name "ghc-edisoncore")
4011 (version "1.3.1.1")
4012 (source
4013 (origin
4014 (method url-fetch)
4015 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
4016 "/EdisonCore-" version ".tar.gz"))
4017 (sha256
4018 (base32 "06shxmcqxcahcn6zgl64vlqix4fnq53d97drcgsh94qp7gp201ry"))))
4019 (build-system haskell-build-system)
4020 (inputs
4021 `(("ghc-quickcheck" ,ghc-quickcheck)
4022 ("ghc-edisonapi" ,ghc-edisonapi)))
4023 (home-page "http://rwd.rdockins.name/edison/home/")
4024 (synopsis "Library of efficient, purely-functional data structures")
4025 (description
4026 "This package provides the core Edison data structure implementations,
4027 including multiple sequence, set, bag, and finite map concrete implementations
4028 with various performance characteristics.")
4029 (license license:expat)))
4030
4031 (define-public ghc-mmorph
4032 (package
4033 (name "ghc-mmorph")
4034 (version "1.0.6")
4035 (source
4036 (origin
4037 (method url-fetch)
4038 (uri (string-append
4039 "https://hackage.haskell.org/package/mmorph/mmorph-"
4040 version
4041 ".tar.gz"))
4042 (sha256
4043 (base32
4044 "1i8dzrc5qi3ryc9vrrmpn3sihmramsbhhd592w4w2k5g26qr3hql"))))
4045 (build-system haskell-build-system)
4046 (inputs
4047 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4048 (home-page "https://hackage.haskell.org/package/mmorph")
4049 (synopsis "Monad morphisms")
4050 (description
4051 "This library provides monad morphism utilities, most commonly used for
4052 manipulating monad transformer stacks.")
4053 (license license:bsd-3)))
4054
4055 (define-public ghc-ifelse
4056 (package
4057 (name "ghc-ifelse")
4058 (version "0.85")
4059 (source
4060 (origin
4061 (method url-fetch)
4062 (uri (string-append "https://hackage.haskell.org/package/"
4063 "IfElse/IfElse-" version ".tar.gz"))
4064 (sha256
4065 (base32
4066 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
4067 (build-system haskell-build-system)
4068 (home-page "http://hackage.haskell.org/package/IfElse")
4069 (synopsis "Monadic control flow with anaphoric variants")
4070 (description "This library provides functions for control flow inside of
4071 monads with anaphoric variants on @code{if} and @code{when} and a C-like
4072 @code{switch} function.")
4073 (license license:bsd-3)))
4074
4075 (define-public ghc-monad-control
4076 (package
4077 (name "ghc-monad-control")
4078 (version "1.0.1.0")
4079 (source
4080 (origin
4081 (method url-fetch)
4082 (uri (string-append
4083 "https://hackage.haskell.org/package/monad-control"
4084 "/monad-control-" version ".tar.gz"))
4085 (sha256
4086 (base32
4087 "1x018gi5irznx5rgzmkr2nrgh26r8cvqwkcfc6n6y05pdjf21c6l"))))
4088 (build-system haskell-build-system)
4089 (inputs
4090 `(("ghc-stm" ,ghc-stm)
4091 ("ghc-transformers-base" ,ghc-transformers-base)
4092 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4093 (home-page "https://github.com/basvandijk/monad-control")
4094 (synopsis "Monad transformers to lift control operations like exception
4095 catching")
4096 (description "This package defines the type class @code{MonadBaseControl},
4097 a subset of @code{MonadBase} into which generic control operations such as
4098 @code{catch} can be lifted from @code{IO} or any other base monad.")
4099 (license license:bsd-3)))
4100
4101 (define-public ghc-fail
4102 (package
4103 (name "ghc-fail")
4104 (version "4.9.0.0")
4105 (source
4106 (origin
4107 (method url-fetch)
4108 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
4109 version ".tar.gz"))
4110 (sha256
4111 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
4112 (build-system haskell-build-system)
4113 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4114 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
4115 (synopsis "Forward-compatible MonadFail class")
4116 (description
4117 "This package contains the @code{Control.Monad.Fail} module providing the
4118 @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
4119 class that became available in
4120 @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
4121 older @code{base} package versions. This package turns into an empty package
4122 when used with GHC versions which already provide the
4123 @code{Control.Monad.Fail} module.")
4124 (license license:bsd-3)))
4125
4126 (define-public ghc-monadplus
4127 (package
4128 (name "ghc-monadplus")
4129 (version "1.4.2")
4130 (source
4131 (origin
4132 (method url-fetch)
4133 (uri (string-append "https://hackage.haskell.org/package/monadplus"
4134 "/monadplus-" version ".tar.gz"))
4135 (sha256
4136 (base32 "15b5320wdpmdp5slpphnc1x4rhjch3igw245dp2jxbqyvchdavin"))))
4137 (build-system haskell-build-system)
4138 (home-page "https://hackage.haskell.org/package/monadplus")
4139 (synopsis "Filtering and folding over arbitrary MonadPlus instances")
4140 (description
4141 "This package generalizes many common stream operations such as
4142 @code{filter}, @code{catMaybes} etc, enabling filtering and folding over
4143 arbitrary @code{MonadPlus} instances.")
4144 (license license:bsd-3)))
4145
4146 (define-public ghc-byteorder
4147 (package
4148 (name "ghc-byteorder")
4149 (version "1.0.4")
4150 (source
4151 (origin
4152 (method url-fetch)
4153 (uri (string-append
4154 "https://hackage.haskell.org/package/byteorder/byteorder-"
4155 version
4156 ".tar.gz"))
4157 (sha256
4158 (base32
4159 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
4160 (build-system haskell-build-system)
4161 (home-page
4162 "http://community.haskell.org/~aslatter/code/byteorder")
4163 (synopsis
4164 "Exposes the native endianness of the system")
4165 (description
4166 "This package is for working with the native byte-ordering of the
4167 system.")
4168 (license license:bsd-3)))
4169
4170 (define-public ghc-base-compat
4171 (package
4172 (name "ghc-base-compat")
4173 (version "0.9.3")
4174 (source
4175 (origin
4176 (method url-fetch)
4177 (uri (string-append
4178 "https://hackage.haskell.org/package/base-compat/base-compat-"
4179 version
4180 ".tar.gz"))
4181 (sha256
4182 (base32
4183 "0452l6zf6fjhy4kxqwv6i6hhg6yfx4wcg450k3axpyj30l7jnq3x"))))
4184 (build-system haskell-build-system)
4185 (native-inputs
4186 `(("ghc-quickcheck" ,ghc-quickcheck)
4187 ("ghc-hspec" ,ghc-hspec)
4188 ("hspec-discover" ,hspec-discover)))
4189 (home-page "https://hackage.haskell.org/package/base-compat")
4190 (synopsis "Haskell compiler compatibility library")
4191 (description "This library provides functions available in later versions
4192 of base to a wider range of compilers, without requiring the use of CPP
4193 pragmas in your code.")
4194 (license license:bsd-3)))
4195
4196 (define-public ghc-blaze-builder
4197 (package
4198 (name "ghc-blaze-builder")
4199 (version "0.4.0.2")
4200 (source
4201 (origin
4202 (method url-fetch)
4203 (uri (string-append
4204 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
4205 version
4206 ".tar.gz"))
4207 (sha256
4208 (base32
4209 "1m33y6p5xldni8p4fzg8fmsyqvkfmnimdamr1xjnsmgm3dkf9lws"))))
4210 (build-system haskell-build-system)
4211 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
4212 (inputs
4213 `(("ghc-text" ,ghc-text)
4214 ("ghc-utf8-string" ,ghc-utf8-string)))
4215 (home-page "https://github.com/lpsmith/blaze-builder")
4216 (synopsis "Efficient buffered output")
4217 (description "This library provides an implementation of the older
4218 @code{blaze-builder} interface in terms of the new builder that shipped with
4219 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
4220 bridge to the new builder, so that code that uses the old interface can
4221 interoperate with code that uses the new implementation.")
4222 (license license:bsd-3)))
4223
4224 (define-public ghc-blaze-markup
4225 (package
4226 (name "ghc-blaze-markup")
4227 (version "0.8.2.0")
4228 (source
4229 (origin
4230 (method url-fetch)
4231 (uri (string-append "https://hackage.haskell.org/package/"
4232 "blaze-markup/blaze-markup-"
4233 version ".tar.gz"))
4234 (sha256
4235 (base32
4236 "0m3h3ryxj5r74mv5g5dnfq5jbbwmvkl7ray18vi20d5vd93sydj4"))))
4237 (build-system haskell-build-system)
4238 (inputs
4239 `(("ghc-blaze-builder" ,ghc-blaze-builder)
4240 ("ghc-text" ,ghc-text)))
4241 (native-inputs
4242 `(("ghc-hunit" ,ghc-hunit)
4243 ("ghc-quickcheck" ,ghc-quickcheck)
4244 ("ghc-tasty" ,ghc-tasty)
4245 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4246 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4247 (home-page "https://jaspervdj.be/blaze")
4248 (synopsis "Fast markup combinator library for Haskell")
4249 (description "This library provides core modules of a markup combinator
4250 library for Haskell.")
4251 (license license:bsd-3)))
4252
4253 (define-public ghc-easy-file
4254 (package
4255 (name "ghc-easy-file")
4256 (version "0.2.1")
4257 (source
4258 (origin
4259 (method url-fetch)
4260 (uri (string-append
4261 "https://hackage.haskell.org/package/easy-file/easy-file-"
4262 version
4263 ".tar.gz"))
4264 (sha256
4265 (base32
4266 "0v75081bx4qzlqy29hh639nzlr7dncwza3qxbzm9njc4jarf31pz"))))
4267 (build-system haskell-build-system)
4268 (home-page
4269 "https://github.com/kazu-yamamoto/easy-file")
4270 (synopsis "File handling library for Haskell")
4271 (description "This library provides file handling utilities for Haskell.")
4272 (license license:bsd-3)))
4273
4274 (define-public ghc-async
4275 (package
4276 (name "ghc-async")
4277 (version "2.1.1.1")
4278 (source
4279 (origin
4280 (method url-fetch)
4281 (uri (string-append
4282 "https://hackage.haskell.org/package/async/async-"
4283 version
4284 ".tar.gz"))
4285 (sha256
4286 (base32
4287 "1qj4fp1ynwg0l453gmm27vgkzb5k5m2hzdlg5rdqi9kf8rqy90yd"))))
4288 (build-system haskell-build-system)
4289 (inputs
4290 `(("ghc-stm" ,ghc-stm)
4291 ("ghc-hunit" ,ghc-hunit)
4292 ("ghc-test-framework" ,ghc-test-framework)
4293 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4294 (home-page "https://github.com/simonmar/async")
4295 (synopsis "Library to run IO operations asynchronously")
4296 (description "Async provides a library to run IO operations
4297 asynchronously, and wait for their results. It is a higher-level interface
4298 over threads in Haskell, in which @code{Async a} is a concurrent thread that
4299 will eventually deliver a value of type @code{a}.")
4300 (license license:bsd-3)))
4301
4302 (define-public ghc-fingertree
4303 (package
4304 (name "ghc-fingertree")
4305 (version "0.1.3.0")
4306 (source
4307 (origin
4308 (method url-fetch)
4309 (uri (string-append
4310 "https://hackage.haskell.org/package/fingertree/fingertree-"
4311 version ".tar.gz"))
4312 (sha256
4313 (base32
4314 "1ryjj7qrx70ckcjlr02x9zh86kfp76azbxq05r7hawqkaqg44sfs"))))
4315 (build-system haskell-build-system)
4316 (native-inputs
4317 `(("ghc-hunit" ,ghc-hunit)
4318 ("ghc-quickcheck" ,ghc-quickcheck)
4319 ("ghc-test-framework" ,ghc-test-framework)
4320 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4321 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4322 (home-page "https://hackage.haskell.org/package/fingertree")
4323 (synopsis "Generic finger-tree structure")
4324 (description "This library provides finger trees, a general sequence
4325 representation with arbitrary annotations, for use as a base for
4326 implementations of various collection types. It includes examples, as
4327 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4328 simple general-purpose data structure\".")
4329 (license license:bsd-3)))
4330
4331 (define-public ghc-optparse-applicative
4332 (package
4333 (name "ghc-optparse-applicative")
4334 (version "0.14.2.0")
4335 (source
4336 (origin
4337 (method url-fetch)
4338 (uri (string-append
4339 "https://hackage.haskell.org/package/optparse-applicative"
4340 "/optparse-applicative-" version ".tar.gz"))
4341 (sha256
4342 (base32
4343 "0c3z1mvynlyv1garjbdmdd3npm40dabgm75js4r07cf766c1wd71"))))
4344 (build-system haskell-build-system)
4345 (inputs
4346 `(("ghc-transformers-compat" ,ghc-transformers-compat)
4347 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
4348 (native-inputs
4349 `(("ghc-quickcheck" ,ghc-quickcheck)))
4350 (home-page "https://github.com/pcapriotti/optparse-applicative")
4351 (synopsis "Utilities and combinators for parsing command line options")
4352 (description "This package provides utilities and combinators for parsing
4353 command line options in Haskell.")
4354 (license license:bsd-3)))
4355
4356 (define-public ghc-base-orphans
4357 (package
4358 (name "ghc-base-orphans")
4359 (version "0.6")
4360 (source
4361 (origin
4362 (method url-fetch)
4363 (uri (string-append
4364 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
4365 version
4366 ".tar.gz"))
4367 (sha256
4368 (base32
4369 "03mdww5j0gwai7aqlx3m71ldmjcr99jzpkcclzjfclk6a6kjla67"))))
4370 (build-system haskell-build-system)
4371 (native-inputs
4372 `(("ghc-quickcheck" ,ghc-quickcheck)
4373 ("ghc-hspec" ,ghc-hspec)
4374 ("hspec-discover" ,hspec-discover)))
4375 (home-page "https://hackage.haskell.org/package/base-orphans")
4376 (synopsis "Orphan instances for backwards compatibility")
4377 (description "This package defines orphan instances that mimic instances
4378 available in later versions of base to a wider (older) range of compilers.")
4379 (license license:bsd-3)))
4380
4381 (define-public ghc-auto-update
4382 (package
4383 (name "ghc-auto-update")
4384 (version "0.1.4")
4385 (source
4386 (origin
4387 (method url-fetch)
4388 (uri (string-append
4389 "https://hackage.haskell.org/package/auto-update/auto-update-"
4390 version
4391 ".tar.gz"))
4392 (sha256
4393 (base32
4394 "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy"))))
4395 (build-system haskell-build-system)
4396 (home-page "https://github.com/yesodweb/wai")
4397 (synopsis "Efficiently run periodic, on-demand actions")
4398 (description "This library provides mechanisms to efficiently run
4399 periodic, on-demand actions in Haskell.")
4400 (license license:expat)))
4401
4402 (define-public ghc-tagged
4403 (package
4404 (name "ghc-tagged")
4405 (version "0.8.5")
4406 (source
4407 (origin
4408 (method url-fetch)
4409 (uri (string-append
4410 "https://hackage.haskell.org/package/tagged/tagged-"
4411 version
4412 ".tar.gz"))
4413 (sha256
4414 (base32
4415 "16cdzh0bw16nvjnyyy5j9s60malhz4nnazw96vxb0xzdap4m2z74"))))
4416 (build-system haskell-build-system)
4417 (inputs
4418 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4419 (home-page "https://hackage.haskell.org/package/tagged")
4420 (synopsis "Haskell phantom types to avoid passing dummy arguments")
4421 (description "This library provides phantom types for Haskell 98, to avoid
4422 having to unsafely pass dummy arguments.")
4423 (license license:bsd-3)))
4424
4425 (define-public ghc-unbounded-delays
4426 (package
4427 (name "ghc-unbounded-delays")
4428 (version "0.1.0.9")
4429 (source
4430 (origin
4431 (method url-fetch)
4432 (uri (string-append
4433 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
4434 version
4435 ".tar.gz"))
4436 (sha256
4437 (base32
4438 "1f4h87503m3smhip432q027wj3zih18pmz2rnafh60589ifcl420"))))
4439 (build-system haskell-build-system)
4440 (home-page "https://github.com/basvandijk/unbounded-delays")
4441 (synopsis "Unbounded thread delays and timeouts")
4442 (description "The @code{threadDelay} and @code{timeout} functions from the
4443 Haskell base library use the bounded @code{Int} type for specifying the delay
4444 or timeout period. This package provides alternative functions which use the
4445 unbounded @code{Integer} type.")
4446 (license license:bsd-3)))
4447
4448 (define-public ghc-clock
4449 (package
4450 (name "ghc-clock")
4451 (version "0.7.2")
4452 (source
4453 (origin
4454 (method url-fetch)
4455 (uri (string-append
4456 "https://hackage.haskell.org/package/"
4457 "clock/"
4458 "clock-" version ".tar.gz"))
4459 (sha256
4460 (base32 "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8"))))
4461 (build-system haskell-build-system)
4462 (inputs
4463 `(("ghc-tasty" ,ghc-tasty)
4464 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4465 (home-page "https://hackage.haskell.org/package/clock")
4466 (synopsis "High-resolution clock for Haskell")
4467 (description "A package for convenient access to high-resolution clock and
4468 timer functions of different operating systems via a unified API.")
4469 (license license:bsd-3)))
4470
4471 (define-public ghc-charset
4472 (package
4473 (name "ghc-charset")
4474 (version "0.3.7.1")
4475 (source
4476 (origin
4477 (method url-fetch)
4478 (uri (string-append
4479 "https://hackage.haskell.org/package/charset/charset-"
4480 version
4481 ".tar.gz"))
4482 (sha256
4483 (base32
4484 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
4485 (build-system haskell-build-system)
4486 (inputs
4487 `(("ghc-semigroups" ,ghc-semigroups)
4488 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4489 (home-page "https://github.com/ekmett/charset")
4490 (synopsis "Fast unicode character sets for Haskell")
4491 (description "This package provides fast unicode character sets for
4492 Haskell, based on complemented PATRICIA tries.")
4493 (license license:bsd-3)))
4494
4495 (define-public ghc-bytestring-builder
4496 (package
4497 (name "ghc-bytestring-builder")
4498 (version "0.10.8.1.0")
4499 (source
4500 (origin
4501 (method url-fetch)
4502 (uri (string-append
4503 "https://hackage.haskell.org/package/bytestring-builder"
4504 "/bytestring-builder-" version ".tar.gz"))
4505 (sha256
4506 (base32
4507 "1hnvjac28y44yn78c9vdp1zvrknvlw98ky3g4n5vivr16rvh8x3d"))))
4508 (build-system haskell-build-system)
4509 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4510 (home-page "https://hackage.haskell.org/package/bytestring-builder")
4511 (synopsis "The new bytestring builder, packaged outside of GHC")
4512 (description "This package provides the bytestring builder that is
4513 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
4514 Compatibility package for older packages.")
4515 (license license:bsd-3)))
4516
4517 (define-public ghc-nats
4518 (package
4519 (name "ghc-nats")
4520 (version "1.1.1")
4521 (source
4522 (origin
4523 (method url-fetch)
4524 (uri (string-append
4525 "https://hackage.haskell.org/package/nats/nats-"
4526 version
4527 ".tar.gz"))
4528 (sha256
4529 (base32
4530 "1kfl2yy97nb7q0j17v96rl73xvi3z4db9bk0xychc76dax41n78k"))))
4531 (build-system haskell-build-system)
4532 (arguments `(#:haddock? #f))
4533 (inputs
4534 `(("ghc-hashable" ,ghc-hashable)))
4535 (home-page "https://hackage.haskell.org/package/nats")
4536 (synopsis "Natural numbers")
4537 (description "This library provides the natural numbers for Haskell.")
4538 (license license:bsd-3)))
4539
4540 (define-public ghc-void
4541 (package
4542 (name "ghc-void")
4543 (version "0.7.1")
4544 (source
4545 (origin
4546 (method url-fetch)
4547 (uri (string-append
4548 "https://hackage.haskell.org/package/void/void-"
4549 version
4550 ".tar.gz"))
4551 (sha256
4552 (base32
4553 "1x15x2axz84ndw2bf60vjqljhrb0w95lddaljsxrl0hcd29zvw69"))))
4554 (build-system haskell-build-system)
4555 (inputs
4556 `(("ghc-semigroups" ,ghc-semigroups)
4557 ("ghc-hashable" ,ghc-hashable)))
4558 (home-page "https://github.com/ekmett/void")
4559 (synopsis
4560 "Logically uninhabited data type")
4561 (description
4562 "A Haskell 98 logically uninhabited data type, used to indicate that a
4563 given term should not exist.")
4564 (license license:bsd-3)))
4565
4566 (define-public ghc-kan-extensions
4567 (package
4568 (name "ghc-kan-extensions")
4569 (version "5.0.1")
4570 (source
4571 (origin
4572 (method url-fetch)
4573 (uri (string-append
4574 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
4575 version
4576 ".tar.gz"))
4577 (sha256
4578 (base32
4579 "1qm0kf4krmyjbjynn96ab0h3q117vwcia5nin7n2b8b4f3jrzph1"))))
4580 (build-system haskell-build-system)
4581 (inputs
4582 `(("ghc-adjunctions" ,ghc-adjunctions)
4583 ("ghc-comonad" ,ghc-comonad)
4584 ("ghc-contravariant" ,ghc-contravariant)
4585 ("ghc-distributive" ,ghc-distributive)
4586 ("ghc-free" ,ghc-free)
4587 ("ghc-semigroupoids" ,ghc-semigroupoids)
4588 ("ghc-tagged" ,ghc-tagged)))
4589 (home-page "https://github.com/ekmett/kan-extensions/")
4590 (synopsis "Kan extensions library")
4591 (description "This library provides Kan extensions, Kan lifts, various
4592 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
4593 (license license:bsd-3)))
4594
4595 (define-public ghc-call-stack
4596 (package
4597 (name "ghc-call-stack")
4598 (version "0.1.0")
4599 (source
4600 (origin
4601 (method url-fetch)
4602 (uri (string-append "https://hackage.haskell.org/package/"
4603 "call-stack/call-stack-"
4604 version ".tar.gz"))
4605 (sha256
4606 (base32
4607 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
4608 (build-system haskell-build-system)
4609 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
4610 (home-page "https://github.com/sol/call-stack#readme")
4611 (synopsis "Use GHC call-stacks in a backward compatible way")
4612 (description "This package provides a compatibility layer for using GHC
4613 call stacks with different versions of the compiler.")
4614 (license license:expat)))
4615
4616 ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
4617 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
4618 (define-public ghc-call-stack-boot
4619 (package
4620 (inherit ghc-call-stack)
4621 (arguments '(#:tests? #f))
4622 (inputs '())))
4623
4624 (define-public ghc-statevar
4625 (package
4626 (name "ghc-statevar")
4627 (version "1.1.0.4")
4628 (source
4629 (origin
4630 (method url-fetch)
4631 (uri (string-append
4632 "https://hackage.haskell.org/package/StateVar/StateVar-"
4633 version
4634 ".tar.gz"))
4635 (sha256
4636 (base32
4637 "1dzz9l0haswgag9x56q7n57kw18v7nhmzkjyr61nz9y9npn8vmks"))))
4638 (build-system haskell-build-system)
4639 (inputs
4640 `(("ghc-stm" ,ghc-stm)))
4641 (home-page "https://hackage.haskell.org/package/StateVar")
4642 (synopsis "State variables for Haskell")
4643 (description "This package provides state variables, which are references
4644 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
4645 (license license:bsd-3)))
4646
4647 (define-public ghc-lens
4648 (package
4649 (name "ghc-lens")
4650 (version "4.15.4")
4651 (source
4652 (origin
4653 (method url-fetch)
4654 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
4655 version ".tar.gz"))
4656 (sha256
4657 (base32
4658 "1lkwlnhgpgnsz046mw4qs0fa7h4l012gilrr3nf3spllsy3pnbkl"))))
4659 (build-system haskell-build-system)
4660 (inputs
4661 `(("ghc-base-orphans" ,ghc-base-orphans)
4662 ("ghc-bifunctors" ,ghc-bifunctors)
4663 ("ghc-doctest" ,ghc-doctest-0.13)
4664 ("ghc-distributive" ,ghc-distributive)
4665 ("ghc-exceptions" ,ghc-exceptions)
4666 ("ghc-free" ,ghc-free)
4667 ("ghc-kan-extensions" ,ghc-kan-extensions)
4668 ("ghc-parallel" ,ghc-parallel)
4669 ("ghc-reflection" ,ghc-reflection)
4670 ("ghc-semigroupoids" ,ghc-semigroupoids)
4671 ("ghc-vector" ,ghc-vector)
4672 ("ghc-call-stack" ,ghc-call-stack)
4673 ("ghc-comonad" ,ghc-comonad)
4674 ("ghc-contravariant" ,ghc-contravariant)
4675 ("ghc-hashable" ,ghc-hashable)
4676 ("ghc-profunctors" ,ghc-profunctors)
4677 ("ghc-semigroups" ,ghc-semigroups)
4678 ("ghc-tagged" ,ghc-tagged)
4679 ("ghc-text" ,ghc-text)
4680 ("ghc-transformers-compat" ,ghc-transformers-compat)
4681 ("ghc-unordered-containers" ,ghc-unordered-containers)
4682 ("ghc-void" ,ghc-void)
4683 ("ghc-generic-deriving" ,ghc-generic-deriving)
4684 ("ghc-nats" ,ghc-nats)
4685 ("ghc-simple-reflect" ,ghc-simple-reflect)
4686 ("hlint" ,hlint)))
4687 (native-inputs
4688 `(("cabal-doctest" ,cabal-doctest)
4689 ("ghc-hunit" ,ghc-hunit)
4690 ("ghc-test-framework" ,ghc-test-framework)
4691 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4692 ("ghc-test-framework-th" ,ghc-test-framework-th)
4693 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
4694 ("ghc-quickcheck" ,ghc-quickcheck)))
4695 (home-page "https://github.com/ekmett/lens/")
4696 (synopsis "Lenses, Folds and Traversals")
4697 (description "This library provides @code{Control.Lens}. The combinators
4698 in @code{Control.Lens} provide a highly generic toolbox for composing families
4699 of getters, folds, isomorphisms, traversals, setters and lenses and their
4700 indexed variants.")
4701 (license license:bsd-3)))
4702
4703 (define-public ghc-cheapskate
4704 (package
4705 (name "ghc-cheapskate")
4706 (version "0.1.1")
4707 (source
4708 (origin
4709 (method url-fetch)
4710 (uri (string-append
4711 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
4712 version
4713 ".tar.gz"))
4714 (sha256
4715 (base32
4716 "1hiqi7h76shjzs2zj0j8g6wnq2hbiq1hmfafdazr97fba2zl2432"))))
4717 (build-system haskell-build-system)
4718 (inputs
4719 `(("ghc-text" ,ghc-text)
4720 ("ghc-blaze-html" ,ghc-blaze-html)
4721 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
4722 ("ghc-data-default" ,ghc-data-default)
4723 ("ghc-syb" ,ghc-syb)
4724 ("ghc-uniplate" ,ghc-uniplate)))
4725 (home-page "https://github.com/jgm/cheapskate")
4726 (synopsis "Experimental markdown processor")
4727 (description "Cheapskate is an experimental Markdown processor in pure
4728 Haskell. It aims to process Markdown efficiently and in the most forgiving
4729 possible way. It is designed to deal with any input, including garbage, with
4730 linear performance. Output is sanitized by default for protection against
4731 cross-site scripting (@dfn{XSS}) attacks.")
4732 (license license:bsd-3)))
4733
4734 (define-public ghc-bifunctors
4735 (package
4736 (name "ghc-bifunctors")
4737 (version "5.5.2")
4738 (source
4739 (origin
4740 (method url-fetch)
4741 (uri (string-append
4742 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
4743 version
4744 ".tar.gz"))
4745 (sha256
4746 (base32
4747 "04fbsysm6zl8kmvqgffmrqa9bxl9dl2gibrd51asqzg737mb4ark"))))
4748 (build-system haskell-build-system)
4749 (inputs
4750 `(("ghc-base-orphans" ,ghc-base-orphans)
4751 ("ghc-comonad" ,ghc-comonad)
4752 ("ghc-th-abstraction" ,ghc-th-abstraction)
4753 ("ghc-transformers-compat" ,ghc-transformers-compat)
4754 ("ghc-tagged" ,ghc-tagged)
4755 ("ghc-semigroups" ,ghc-semigroups)))
4756 (native-inputs
4757 `(("ghc-hspec" ,ghc-hspec)
4758 ("hspec-discover" ,hspec-discover)
4759 ("ghc-quickcheck" ,ghc-quickcheck)))
4760 (home-page "https://github.com/ekmett/bifunctors/")
4761 (synopsis "Bifunctors for Haskell")
4762 (description "This package provides bifunctors for Haskell.")
4763 (license license:bsd-3)))
4764
4765 (define-public ghc-semigroupoids
4766 (package
4767 (name "ghc-semigroupoids")
4768 (version "5.1")
4769 (source
4770 (origin
4771 (method url-fetch)
4772 (uri (string-append
4773 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
4774 version
4775 ".tar.gz"))
4776 (sha256
4777 (base32
4778 "0dgqc59p4xx5cl8qkpm6sn4wd3n59rq7l6din76hf10bnklqrb0n"))))
4779 (build-system haskell-build-system)
4780 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4781 (inputs
4782 `(("ghc-base-orphans" ,ghc-base-orphans)
4783 ("ghc-transformers-compat" ,ghc-transformers-compat)
4784 ("ghc-bifunctors" ,ghc-bifunctors)
4785 ("ghc-comonad" ,ghc-comonad)
4786 ("ghc-contravariant" ,ghc-contravariant)
4787 ("ghc-distributive" ,ghc-distributive)
4788 ("ghc-semigroups" ,ghc-semigroups)
4789 ("ghc-tagged" ,ghc-tagged)))
4790 (home-page "https://github.com/ekmett/semigroupoids")
4791 (synopsis "Semigroupoids operations for Haskell")
4792 (description "This library provides a wide array of (semi)groupoids and
4793 operations for working with them. A @code{Semigroupoid} is a @code{Category}
4794 without the requirement of identity arrows for every object in the category.
4795 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
4796 Finally, to work with these weaker structures it is beneficial to have
4797 containers that can provide stronger guarantees about their contents, so
4798 versions of @code{Traversable} and @code{Foldable} that can be folded with
4799 just a @code{Semigroup} are added.")
4800 (license license:bsd-3)))
4801
4802 (define-public ghc-contravariant
4803 (package
4804 (name "ghc-contravariant")
4805 (version "1.4")
4806 (source
4807 (origin
4808 (method url-fetch)
4809 (uri (string-append
4810 "https://hackage.haskell.org/package/contravariant/contravariant-"
4811 version
4812 ".tar.gz"))
4813 (sha256
4814 (base32
4815 "117fff8kkrvlmr8cb2jpj71z7lf2pdiyks6ilyx89mry6zqnsrp1"))))
4816 (build-system haskell-build-system)
4817 (inputs
4818 `(("ghc-void" ,ghc-void)
4819 ("ghc-transformers-compat" ,ghc-transformers-compat)
4820 ("ghc-statevar" ,ghc-statevar)
4821 ("ghc-semigroups" ,ghc-semigroups)))
4822 (home-page
4823 "https://github.com/ekmett/contravariant/")
4824 (synopsis "Contravariant functors")
4825 (description "Contravariant functors for Haskell.")
4826 (license license:bsd-3)))
4827
4828 (define-public ghc-semigroups
4829 (package
4830 (name "ghc-semigroups")
4831 (version "0.18.2")
4832 (source
4833 (origin
4834 (method url-fetch)
4835 (uri (string-append
4836 "https://hackage.haskell.org/package/semigroups/semigroups-"
4837 version
4838 ".tar.gz"))
4839 (sha256
4840 (base32
4841 "1r6hsn3am3dpf4rprrj4m04d9318v9iq02bin0pl29dg4a3gzjax"))))
4842 (build-system haskell-build-system)
4843 (inputs
4844 `(("ghc-nats" ,ghc-nats)
4845 ("ghc-tagged" ,ghc-tagged)
4846 ("ghc-unordered-containers" ,ghc-unordered-containers)
4847 ("ghc-text" ,ghc-text)
4848 ("ghc-hashable" ,ghc-hashable)))
4849 (home-page "https://github.com/ekmett/semigroups/")
4850 (synopsis "Semigroup operations for Haskell")
4851 (description "This package provides semigroups for Haskell. In
4852 mathematics, a semigroup is an algebraic structure consisting of a set
4853 together with an associative binary operation. A semigroup generalizes a
4854 monoid in that there might not exist an identity element. It
4855 also (originally) generalized a group (a monoid with all inverses) to a type
4856 where every element did not have to have an inverse, thus the name
4857 semigroup.")
4858 (license license:bsd-3)))
4859
4860 (define-public ghc-free
4861 (package
4862 (name "ghc-free")
4863 (version "4.12.4")
4864 (source
4865 (origin
4866 (method url-fetch)
4867 (uri (string-append
4868 "https://hackage.haskell.org/package/free/free-"
4869 version
4870 ".tar.gz"))
4871 (sha256
4872 (base32
4873 "1147s393442xf4gkpbq0rd1p286vmykgx85mxhk5d1c7wfm4bzn9"))))
4874 (build-system haskell-build-system)
4875 (inputs
4876 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4877 ("ghc-profunctors" ,ghc-profunctors)
4878 ("ghc-exceptions" ,ghc-exceptions)
4879 ("ghc-bifunctors" ,ghc-bifunctors)
4880 ("ghc-comonad" ,ghc-comonad)
4881 ("ghc-distributive" ,ghc-distributive)
4882 ("ghc-semigroupoids" ,ghc-semigroupoids)
4883 ("ghc-semigroups" ,ghc-semigroups)))
4884 (home-page "https://github.com/ekmett/free/")
4885 (synopsis "Unrestricted monads for Haskell")
4886 (description "This library provides free monads, which are useful for many
4887 tree-like structures and domain specific languages. If @code{f} is a
4888 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4889 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4890 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4891 f} makes no constraining assumptions beyond those given by @code{f} and the
4892 definition of @code{Monad}.")
4893 (license license:bsd-3)))
4894
4895 (define-public ghc-adjunctions
4896 (package
4897 (name "ghc-adjunctions")
4898 (version "4.3")
4899 (source
4900 (origin
4901 (method url-fetch)
4902 (uri (string-append
4903 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
4904 version
4905 ".tar.gz"))
4906 (sha256
4907 (base32
4908 "1k1ykisf96i4g2zm47c45md7p42c4vsp9r73392pz1g8mx7s2j5r"))))
4909 (build-system haskell-build-system)
4910 (inputs
4911 `(("ghc-profunctors" ,ghc-profunctors)
4912 ("ghc-comonad" ,ghc-comonad)
4913 ("ghc-contravariant" ,ghc-contravariant)
4914 ("ghc-distributive" ,ghc-distributive)
4915 ("ghc-free" ,ghc-free)
4916 ("ghc-tagged" ,ghc-tagged)
4917 ("ghc-semigroupoids" ,ghc-semigroupoids)
4918 ("ghc-semigroups" ,ghc-semigroups)
4919 ("ghc-void" ,ghc-void)))
4920 (home-page "https://github.com/ekmett/adjunctions/")
4921 (synopsis "Adjunctions and representable functors")
4922 (description "This library provides adjunctions and representable functors
4923 for Haskell.")
4924 (license license:bsd-3)))
4925
4926 (define-public ghc-equivalence
4927 (package
4928 (name "ghc-equivalence")
4929 (version "0.3.2")
4930 (source
4931 (origin
4932 (method url-fetch)
4933 (uri (string-append "https://hackage.haskell.org/package/equivalence"
4934 "/equivalence-" version ".tar.gz"))
4935 (sha256
4936 (base32 "0a85bdyyvjqs5z4kfhhf758210k9gi9dv42ik66a3jl0z7aix8kx"))))
4937 (build-system haskell-build-system)
4938 (inputs
4939 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
4940 ("ghc-transformers-compat" ,ghc-transformers-compat)
4941 ("ghc-quickcheck" ,ghc-quickcheck)
4942 ("ghc-test-framework" ,ghc-test-framework)
4943 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4944 (home-page "https://github.com/pa-ba/equivalence")
4945 (synopsis "Maintaining an equivalence relation implemented as union-find")
4946 (description
4947 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
4948 Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
4949 22(2), 1975) in order to maintain an equivalence relation. This
4950 implementation is a port of the @code{union-find} package using the @code{ST}
4951 monad transformer (instead of the IO monad).")
4952 (license license:bsd-3)))
4953
4954 (define-public ghc-fast-logger
4955 (package
4956 (name "ghc-fast-logger")
4957 (version "2.4.11")
4958 (source
4959 (origin
4960 (method url-fetch)
4961 (uri (string-append
4962 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
4963 version
4964 ".tar.gz"))
4965 (sha256
4966 (base32
4967 "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv"))))
4968 (build-system haskell-build-system)
4969 (inputs
4970 `(("ghc-auto-update" ,ghc-auto-update)
4971 ("ghc-easy-file" ,ghc-easy-file)
4972 ("ghc-text" ,ghc-text)
4973 ("ghc-unix-time" ,ghc-unix-time)))
4974 (native-inputs
4975 `(("hspec-discover" ,hspec-discover)
4976 ("ghc-hspec" ,ghc-hspec)))
4977 (home-page "https://hackage.haskell.org/package/fast-logger")
4978 (synopsis "Fast logging system")
4979 (description "This library provides a fast logging system for Haskell.")
4980 (license license:bsd-3)))
4981
4982 (define-public ghc-doctest
4983 (package
4984 (name "ghc-doctest")
4985 (version "0.11.0")
4986 (source
4987 (origin
4988 (method url-fetch)
4989 (uri (string-append
4990 "https://hackage.haskell.org/package/doctest/doctest-"
4991 version
4992 ".tar.gz"))
4993 (sha256
4994 (base32
4995 "0xv4vx1r3mk7cmiwywzrq25545cx3i7imhcx33mk47r88j5c49fj"))))
4996 (build-system haskell-build-system)
4997 (arguments `(#:tests? #f)) ; FIXME: missing test framework
4998 (inputs
4999 `(("ghc-syb" ,ghc-syb)
5000 ("ghc-paths" ,ghc-paths)
5001 ("ghc-base-compat" ,ghc-base-compat)
5002 ("ghc-hunit" ,ghc-hunit)
5003 ("ghc-hspec" ,ghc-hspec)
5004 ("ghc-quickcheck" ,ghc-quickcheck)
5005 ("ghc-stringbuilder" ,ghc-stringbuilder)
5006 ("ghc-silently" ,ghc-silently)
5007 ("ghc-setenv" ,ghc-setenv)))
5008 (home-page
5009 "https://github.com/sol/doctest#readme")
5010 (synopsis "Test interactive Haskell examples")
5011 (description "The doctest program checks examples in source code comments.
5012 It is modeled after doctest for Python, see
5013 @uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
5014 (license license:expat)))
5015
5016 (define-public ghc-doctest-0.12
5017 (package (inherit ghc-doctest)
5018 (name "ghc-doctest")
5019 (version "0.12.0")
5020 (source
5021 (origin
5022 (method url-fetch)
5023 (uri (string-append
5024 "https://hackage.haskell.org/package/doctest/doctest-"
5025 version
5026 ".tar.gz"))
5027 (sha256
5028 (base32
5029 "13h549cpgcvb7c54c7wif28g5wak84dxc3ais0hlqhzk1q6la91a"))))
5030 (inputs
5031 `(("ghc-code-page" ,ghc-code-page)
5032 ,@(package-inputs ghc-doctest)))))
5033
5034 (define-public ghc-doctest-0.13
5035 (package (inherit ghc-doctest-0.12)
5036 (name "ghc-doctest")
5037 (version "0.13.0")
5038 (source
5039 (origin
5040 (method url-fetch)
5041 (uri (string-append "https://hackage.haskell.org/package/"
5042 "doctest/doctest-" version ".tar.gz"))
5043 (sha256
5044 (base32
5045 "08g3nmpqbnbkxc95d65hkhfabwax10qrq51vlynr342npn40mn2b"))))))
5046
5047 (define-public ghc-lifted-base
5048 (package
5049 (name "ghc-lifted-base")
5050 (version "0.2.3.8")
5051 (source
5052 (origin
5053 (method url-fetch)
5054 (uri (string-append
5055 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
5056 version
5057 ".tar.gz"))
5058 (sha256
5059 (base32
5060 "17yz4n7q96x4cp8vxai8csn2vmpigxvipkfh48arahf91f0xy18n"))))
5061 (build-system haskell-build-system)
5062 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
5063 (inputs
5064 `(("ghc-transformers-base" ,ghc-transformers-base)
5065 ("ghc-monad-control" ,ghc-monad-control)
5066 ("ghc-transformers-compat" ,ghc-transformers-compat)
5067 ("ghc-hunit" ,ghc-hunit)))
5068 (home-page "https://github.com/basvandijk/lifted-base")
5069 (synopsis "Lifted IO operations from the base library")
5070 (description "Lifted-base exports IO operations from the @code{base}
5071 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
5072 Note that not all modules from @code{base} are converted yet. The package
5073 includes a copy of the @code{monad-peel} test suite written by Anders
5074 Kaseorg.")
5075 (license license:bsd-3)))
5076
5077 (define-public ghc-word8
5078 (package
5079 (name "ghc-word8")
5080 (version "0.1.3")
5081 (source
5082 (origin
5083 (method url-fetch)
5084 (uri (string-append
5085 "https://hackage.haskell.org/package/word8/word8-"
5086 version
5087 ".tar.gz"))
5088 (sha256
5089 (base32
5090 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
5091 (build-system haskell-build-system)
5092 (native-inputs
5093 `(("ghc-hspec" ,ghc-hspec)
5094 ("hspec-discover" ,hspec-discover)))
5095 (home-page "https://hackage.haskell.org/package/word8")
5096 (synopsis "Word8 library for Haskell")
5097 (description "Word8 library to be used with @code{Data.ByteString}.")
5098 (license license:bsd-3)))
5099
5100 (define-public ghc-stringsearch
5101 (package
5102 (name "ghc-stringsearch")
5103 (version "0.3.6.6")
5104 (source
5105 (origin
5106 (method url-fetch)
5107 (uri (string-append
5108 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
5109 version
5110 ".tar.gz"))
5111 (sha256
5112 (base32
5113 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
5114 (build-system haskell-build-system)
5115 (home-page "https://bitbucket.org/dafis/stringsearch")
5116 (synopsis "Fast searching, splitting and replacing of ByteStrings")
5117 (description "This package provides several functions to quickly search
5118 for substrings in strict or lazy @code{ByteStrings}. It also provides
5119 functions for breaking or splitting on substrings and replacing all
5120 occurrences of a substring (the first in case of overlaps) with another.")
5121 (license license:bsd-3)))
5122
5123 (define-public ghc-integer-logarithms
5124 (package
5125 (name "ghc-integer-logarithms")
5126 (version "1.0.2.1")
5127 (source
5128 (origin
5129 (method url-fetch)
5130 (uri (string-append "https://hackage.haskell.org/package/"
5131 "integer-logarithms/integer-logarithms-"
5132 version ".tar.gz"))
5133 (sha256
5134 (base32
5135 "1wj8kgjg5bn2yrs4zh9qfjv85cx6w998j9pi39yrbv305944mb9j"))))
5136 (build-system haskell-build-system)
5137 (arguments
5138 `(#:configure-flags (list "--allow-newer=tasty")))
5139 (native-inputs
5140 `(("ghc-quickcheck" ,ghc-quickcheck)
5141 ("ghc-smallcheck" ,ghc-smallcheck)
5142 ("ghc-tasty" ,ghc-tasty)
5143 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5144 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5145 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
5146 (home-page "https://github.com/Bodigrim/integer-logarithms")
5147 (synopsis "Integer logarithms")
5148 (description
5149 "This package provides the following modules:
5150 @code{Math.NumberTheory.Logarithms} and
5151 @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
5152 @code{GHC.Integer.Logarithms.Compat} and
5153 @code{Math.NumberTheory.Power.Natural}, as well as some additional functions
5154 in migrated modules.")
5155 (license license:expat)))
5156
5157 (define-public ghc-scientific
5158 (package
5159 (name "ghc-scientific")
5160 (version "0.3.6.2")
5161 (source
5162 (origin
5163 (method url-fetch)
5164 (uri (string-append
5165 "https://hackage.haskell.org/package/scientific/scientific-"
5166 version
5167 ".tar.gz"))
5168 (sha256
5169 (base32
5170 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
5171 (build-system haskell-build-system)
5172 (inputs
5173 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
5174 ("ghc-text" ,ghc-text)
5175 ("ghc-hashable" ,ghc-hashable)
5176 ("ghc-primitive" ,ghc-primitive)))
5177 (native-inputs
5178 `(("ghc-tasty" ,ghc-tasty)
5179 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
5180 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5181 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5182 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5183 ("ghc-smallcheck" ,ghc-smallcheck)
5184 ("ghc-quickcheck" ,ghc-quickcheck)))
5185 (home-page "https://github.com/basvandijk/scientific")
5186 (synopsis "Numbers represented using scientific notation")
5187 (description "This package provides @code{Data.Scientific}, which provides
5188 the number type @code{Scientific}. Scientific numbers are arbitrary precision
5189 and space efficient. They are represented using
5190 @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
5191 notation}.")
5192 (license license:bsd-3)))
5193
5194 (define-public ghc-boxes
5195 (package
5196 (name "ghc-boxes")
5197 (version "0.1.4")
5198 (source
5199 (origin
5200 (method url-fetch)
5201 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
5202 version ".tar.gz"))
5203 (sha256
5204 (base32 "1n7xiplzd3s1a39nizwjcgsh3wi2348mp21c3fk19v98ialfjgjf"))))
5205 (build-system haskell-build-system)
5206 (inputs
5207 `(("ghc-split" ,ghc-split)
5208 ("ghc-quickcheck" ,ghc-quickcheck)))
5209 (home-page "https://hackage.haskell.org/package/boxes")
5210 (synopsis "2D text pretty-printing library")
5211 (description
5212 "Boxes is a pretty-printing library for laying out text in two dimensions,
5213 using a simple box model.")
5214 (license license:bsd-3)))
5215
5216 (define-public ghc-deepseq-generics
5217 (package
5218 (name "ghc-deepseq-generics")
5219 (version "0.2.0.0")
5220 (source (origin
5221 (method url-fetch)
5222 (uri (string-append "https://hackage.haskell.org/package/"
5223 "deepseq-generics/deepseq-generics-"
5224 version ".tar.gz"))
5225 (sha256
5226 (base32
5227 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
5228 (build-system haskell-build-system)
5229 (native-inputs
5230 `(("ghc-hunit" ,ghc-hunit)
5231 ("ghc-test-framework" ,ghc-test-framework)
5232 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5233 (home-page "https://github.com/hvr/deepseq-generics")
5234 (synopsis "Generic RNF implementation")
5235 (description
5236 "This package provides a @code{GHC.Generics}-based
5237 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
5238 providing an 'rnf' implementation.")
5239 (license license:bsd-3)))
5240
5241 (define-public ghc-string-qq
5242 (package
5243 (name "ghc-string-qq")
5244 (version "0.0.2")
5245 (source
5246 (origin
5247 (method url-fetch)
5248 (uri (string-append
5249 "https://hackage.haskell.org/package/string-qq/string-qq-"
5250 version
5251 ".tar.gz"))
5252 (sha256
5253 (base32
5254 "0662m3i5xrdrr95w829bszkhp88mj9iy1zya54vk2sl5hz9wlmwp"))))
5255 (build-system haskell-build-system)
5256 (home-page "http://hackage.haskell.org/package/string-qq")
5257 (synopsis
5258 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
5259 (description
5260 "This package provides a quasiquoter for non-interpolated strings, texts
5261 and bytestrings.")
5262 (license license:public-domain)))
5263
5264 (define-public ghc-pandoc-types
5265 (package
5266 (name "ghc-pandoc-types")
5267 (version "1.17.5.1")
5268 (source (origin
5269 (method url-fetch)
5270 (uri (string-append "https://hackage.haskell.org/package/"
5271 "pandoc-types/pandoc-types-"
5272 version ".tar.gz"))
5273 (sha256
5274 (base32
5275 "1q6v2bynij724fv347mhqxdscwifzrx5jb9mq80608qf638fn717"))))
5276 (build-system haskell-build-system)
5277 (arguments
5278 `(#:configure-flags (list "--allow-newer=QuickCheck")))
5279 (inputs
5280 `(("ghc-syb" ,ghc-syb)
5281 ("ghc-aeson" ,ghc-aeson)
5282 ("ghc-string-qq" ,ghc-string-qq)))
5283 (native-inputs
5284 `(("ghc-quickcheck" ,ghc-quickcheck)
5285 ("ghc-test-framework" ,ghc-test-framework)
5286 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5287 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5288 ("ghc-hunit" ,ghc-hunit)))
5289 (home-page "http://johnmacfarlane.net/pandoc")
5290 (synopsis "Types for representing a structured document")
5291 (description
5292 "This module defines the @code{Pandoc} data structure, which is used by
5293 pandoc to represent structured documents. It also provides functions for
5294 building up, manipulating and serialising @code{Pandoc} structures.")
5295 (license license:bsd-3)))
5296
5297 (define-public ghc-pandoc-types-for-pandoc-1
5298 (package (inherit ghc-pandoc-types)
5299 (version "1.17.0.5")
5300 (source (origin
5301 (method url-fetch)
5302 (uri (string-append "https://hackage.haskell.org/package/"
5303 "pandoc-types/pandoc-types-"
5304 version ".tar.gz"))
5305 (sha256
5306 (base32
5307 "1csipjdq00iiq77k2wlrg4i7afrzlh8nl585q785xzw7nn45b0n8"))))
5308 (arguments
5309 `(#:configure-flags (list "--allow-newer=QuickCheck"
5310 "--allow-newer=HUnit")))
5311 (inputs
5312 `(("ghc-syb" ,ghc-syb)
5313 ("ghc-aeson" ,ghc-aeson-for-pandoc-1)
5314 ("ghc-string-qq" ,ghc-string-qq)))))
5315
5316 (define-public ghc-texmath
5317 (package
5318 (name "ghc-texmath")
5319 (version "0.11.0.1")
5320 (source (origin
5321 (method url-fetch)
5322 (uri (string-append "https://hackage.haskell.org/package/"
5323 "texmath/texmath-" version ".tar.gz"))
5324 (sha256
5325 (base32
5326 "11dc09hfnyfsz20ch2c867w0zdgjkzq41506lm61i3dk87ngdisf"))))
5327 (build-system haskell-build-system)
5328 (inputs
5329 `(("ghc-syb" ,ghc-syb)
5330 ("ghc-network-uri" ,ghc-network-uri)
5331 ("ghc-split" ,ghc-split)
5332 ("ghc-temporary" ,ghc-temporary)
5333 ("ghc-utf8-string" ,ghc-utf8-string)
5334 ("ghc-xml" ,ghc-xml)
5335 ("ghc-parsec" ,ghc-parsec)
5336 ("ghc-pandoc-types" ,ghc-pandoc-types)))
5337 (home-page "https://github.com/jgm/texmath")
5338 (synopsis "Conversion between formats used to represent mathematics")
5339 (description
5340 "The texmath library provides functions to read and write TeX math,
5341 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
5342 Office). Support is also included for converting math formats to pandoc's
5343 native format (allowing conversion, via pandoc, to a variety of different
5344 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
5345 it can parse and apply LaTeX macros.")
5346 (license license:gpl2+)))
5347
5348 (define-public ghc-texmath-for-pandoc-1
5349 (package (inherit ghc-texmath)
5350 (version "0.9.4.4")
5351 (source (origin
5352 (method url-fetch)
5353 (uri (string-append "https://hackage.haskell.org/package/"
5354 "texmath/texmath-" version ".tar.gz"))
5355 (sha256
5356 (base32
5357 "129q33m56diiv35kdwfb07838wrg0mm88kxdqxfyl1zvf9nzkqkd"))))
5358 (inputs
5359 `(("ghc-network-uri" ,ghc-network-uri)
5360 ("ghc-pandoc-types" ,ghc-pandoc-types-for-pandoc-1)
5361 ("ghc-parsec" ,ghc-parsec)
5362 ("ghc-split" ,ghc-split)
5363 ("ghc-syb" ,ghc-syb)
5364 ("ghc-temporary" ,ghc-temporary)
5365 ("ghc-utf8-string" ,ghc-utf8-string)
5366 ("ghc-xml" ,ghc-xml)))))
5367
5368 (define-public ghc-regex-pcre-builtin
5369 (package
5370 (name "ghc-regex-pcre-builtin")
5371 (version "0.94.4.8.8.35")
5372 (source (origin
5373 (method url-fetch)
5374 (uri (string-append "https://hackage.haskell.org/package/"
5375 "regex-pcre-builtin/regex-pcre-builtin-"
5376 version ".tar.gz"))
5377 (sha256
5378 (base32
5379 "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b"))))
5380 (build-system haskell-build-system)
5381 (inputs
5382 `(("ghc-regex-base" ,ghc-regex-base)))
5383 (home-page "https://hackage.haskell.org/package/regex-pcre")
5384 (synopsis "Enhancement of the builtin Text.Regex library")
5385 (description
5386 "This package is an enhancement of the @code{Text.Regex} library,
5387 providing the PCRE backend to accompany regex-base, with bundled code from
5388 @url{https://www.pcre.org}.")
5389 (license license:bsd-3)))
5390
5391 (define-public ghc-diff
5392 (package
5393 (name "ghc-diff")
5394 (version "0.3.4")
5395 (source (origin
5396 (method url-fetch)
5397 (uri (string-append "https://hackage.haskell.org/package/"
5398 "Diff/Diff-" version ".tar.gz"))
5399 (sha256
5400 (base32
5401 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
5402 (build-system haskell-build-system)
5403 (native-inputs
5404 `(("ghc-quickcheck" ,ghc-quickcheck)
5405 ("ghc-test-framework" ,ghc-test-framework)
5406 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5407 (home-page "https://hub.darcs.net/sterlingclover/Diff")
5408 (synopsis "O(ND) diff algorithm in Haskell")
5409 (description
5410 "This package provides an implementation of the standard diff algorithm,
5411 and utilities for pretty printing.")
5412 (license license:bsd-3)))
5413
5414 (define-public ghc-highlighting-kate
5415 (package
5416 (name "ghc-highlighting-kate")
5417 (version "0.6.3")
5418 (source (origin
5419 (method url-fetch)
5420 (uri (string-append "https://hackage.haskell.org/package/"
5421 "highlighting-kate/highlighting-kate-"
5422 version ".tar.gz"))
5423 (sha256
5424 (base32
5425 "03c4flh4h1jd48bx0qmplax3q8w6wj1dhbh6j0xhaf5h95fbinki"))))
5426 (build-system haskell-build-system)
5427 (inputs
5428 `(("ghc-diff" ,ghc-diff)
5429 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5430 (native-inputs
5431 `(("ghc-parsec" ,ghc-parsec)
5432 ("ghc-blaze-html" ,ghc-blaze-html)
5433 ("ghc-utf8-string" ,ghc-utf8-string)))
5434 (home-page "https://github.com/jgm/highlighting-kate")
5435 (synopsis "Syntax highlighting library")
5436 (description
5437 "Highlighting-kate is a syntax highlighting library with support for
5438 nearly one hundred languages. The syntax parsers are automatically generated
5439 from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5440 supported by Kate can be added. An (optional) command-line program is
5441 provided, along with a utility for generating new parsers from Kate XML syntax
5442 descriptions.")
5443 (license license:gpl2+)))
5444
5445 (define-public ghc-cmark
5446 (package
5447 (name "ghc-cmark")
5448 (version "0.5.6")
5449 (source (origin
5450 (method url-fetch)
5451 ;; XXX As of version 0.5.6, this package bundles libcmark 0.28.0.
5452 ;; See cbits/cmark_version.h.
5453 (uri (string-append "https://hackage.haskell.org/package/"
5454 "cmark/cmark-" version ".tar.gz"))
5455 (sha256
5456 (base32
5457 "1c1j3a8b9qx5zk9myqm3gap8ymz7fipwrdmyfsq9wkkdr9x4np45"))))
5458 (build-system haskell-build-system)
5459 (inputs
5460 `(("ghc-text" ,ghc-text)))
5461 (native-inputs
5462 `(("ghc-hunit" ,ghc-hunit)))
5463 (home-page "https://github.com/jgm/commonmark-hs")
5464 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
5465 (description
5466 "This package provides Haskell bindings for
5467 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
5468 CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
5469 sources, and does not require prior installation of the C library.")
5470 (license license:bsd-3)))
5471
5472 (define-public ghc-cmark-gfm
5473 (package
5474 (name "ghc-cmark-gfm")
5475 (version "0.1.3")
5476 (source
5477 (origin
5478 (method url-fetch)
5479 (uri (string-append "https://hackage.haskell.org/package/"
5480 "cmark-gfm/cmark-gfm-"
5481 version ".tar.gz"))
5482 (sha256
5483 (base32
5484 "1fkisbrydmdx5h8yad09fzk8h1b1j53r02g7vb81izgdwj9b673k"))))
5485 (build-system haskell-build-system)
5486 (inputs
5487 `(("ghc-text" ,ghc-text)))
5488 (native-inputs
5489 `(("ghc-hunit" ,ghc-hunit)))
5490 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
5491 (synopsis
5492 "Fast, accurate GitHub Flavored Markdown parser and renderer")
5493 (description
5494 "This package provides Haskell bindings for libcmark-gfm, the reference
5495 parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
5496 It includes sources for libcmark-gfm and does not require prior installation
5497 of the C library.")
5498 (license license:bsd-3)))
5499
5500 (define-public ghc-executable-path
5501 (package
5502 (name "ghc-executable-path")
5503 (version "0.0.3.1")
5504 (source (origin
5505 (method url-fetch)
5506 (uri (string-append "https://hackage.haskell.org/package/"
5507 "executable-path/executable-path-"
5508 version ".tar.gz"))
5509 (sha256
5510 (base32
5511 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
5512 (build-system haskell-build-system)
5513 (home-page "https://hackage.haskell.org/package/executable-path")
5514 (synopsis "Find out the full path of the executable")
5515 (description
5516 "The documentation of @code{System.Environment.getProgName} says that
5517 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
5518 instead, for maximum portability, we just return the leafname of the program
5519 as invoked.\" This library tries to provide the missing path.")
5520 (license license:public-domain)))
5521
5522 (define-public ghc-enclosed-exceptions
5523 (package
5524 (name "ghc-enclosed-exceptions")
5525 (version "1.0.3")
5526 (source (origin
5527 (method url-fetch)
5528 (uri (string-append "https://hackage.haskell.org/package/"
5529 "enclosed-exceptions/enclosed-exceptions-"
5530 version ".tar.gz"))
5531 (sha256
5532 (base32
5533 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
5534 (build-system haskell-build-system)
5535 ;; FIXME: one of the tests blocks forever:
5536 ;; "thread blocked indefinitely in an MVar operation"
5537 (arguments '(#:tests? #f))
5538 (inputs
5539 `(("ghc-lifted-base" ,ghc-lifted-base)
5540 ("ghc-monad-control" ,ghc-monad-control)
5541 ("ghc-async" ,ghc-async)
5542 ("ghc-transformers-base" ,ghc-transformers-base)))
5543 (native-inputs
5544 `(("ghc-hspec" ,ghc-hspec)
5545 ("ghc-quickcheck" ,ghc-quickcheck)))
5546 (home-page "https://github.com/jcristovao/enclosed-exceptions")
5547 (synopsis "Catch all exceptions from within an enclosed computation")
5548 (description
5549 "This library implements a technique to catch all exceptions raised
5550 within an enclosed computation, while remaining responsive to (external)
5551 asynchronous exceptions.")
5552 (license license:expat)))
5553
5554 (define-public ghc-packedstring
5555 (package
5556 (name "ghc-packedstring")
5557 (version "0.1.0.1")
5558 (source (origin
5559 (method url-fetch)
5560 (uri (string-append "https://hackage.haskell.org/package/"
5561 "packedstring/packedstring-"
5562 version ".tar.gz"))
5563 (sha256
5564 (base32
5565 "1x78pzzdlnpcmh9p37rlf8m5cxf3yqm2alf3whl4zpr9w25r0qj8"))))
5566 (build-system haskell-build-system)
5567 (arguments
5568 `(#:phases
5569 (modify-phases %standard-phases
5570 (add-after 'unpack 'enable-extension
5571 (lambda _
5572 ;; This package won't compile without the StandaloneDeriving
5573 ;; extension.
5574 (substitute* "packedstring.cabal"
5575 (("CPP") "CPP, StandaloneDeriving"))
5576 #t)))))
5577 (home-page "https://hackage.haskell.org/package/packedstring")
5578 (synopsis "Library for packed strings")
5579 (description
5580 "This deprecated library provides an implementation of packed strings.")
5581 (license license:bsd-3)))
5582
5583 (define-public ghc-th-abstraction
5584 (package
5585 (name "ghc-th-abstraction")
5586 (version "0.2.6.0")
5587 (source
5588 (origin
5589 (method url-fetch)
5590 (uri (string-append "https://hackage.haskell.org/package/"
5591 "th-abstraction/th-abstraction-"
5592 version ".tar.gz"))
5593 (sha256
5594 (base32
5595 "0g42h6wnj2awc5ryhbvx009wd8w75pn66bjzsq1z4s3xajd2hbp5"))))
5596 (build-system haskell-build-system)
5597 (home-page "https://github.com/glguy/th-abstraction")
5598 (synopsis "Nicer interface for reified information about data types")
5599 (description
5600 "This package normalizes variations in the interface for inspecting
5601 datatype information via Template Haskell so that packages and support a
5602 single, easier to use informational datatype while supporting many versions of
5603 Template Haskell.")
5604 (license license:isc)))
5605
5606 (define-public ghc-th-lift
5607 (package
5608 (name "ghc-th-lift")
5609 (version "0.7.8")
5610 (source (origin
5611 (method url-fetch)
5612 (uri (string-append "https://hackage.haskell.org/package/"
5613 "th-lift/th-lift-" version ".tar.gz"))
5614 (sha256
5615 (base32
5616 "0ay10b78x3969rpqqrgzy8srkl6iby2cljbf3mm17na8x22k7y1c"))))
5617 (build-system haskell-build-system)
5618 (home-page "https://github.com/mboes/th-lift")
5619 (synopsis "Derive Template Haskell's Lift class for datatypes")
5620 (description
5621 "This is a Haskell library to derive Template Haskell's Lift class for
5622 datatypes.")
5623 (license license:bsd-3)))
5624
5625 (define-public ghc-th-lift-instances
5626 (package
5627 (name "ghc-th-lift-instances")
5628 (version "0.1.11")
5629 (source
5630 (origin
5631 (method url-fetch)
5632 (uri (string-append "https://hackage.haskell.org/package/"
5633 "th-lift-instances/th-lift-instances-"
5634 version ".tar.gz"))
5635 (sha256
5636 (base32
5637 "1f56cp6ckcalld5jchv0kxpjkwcsixd7smd0g7r8cg67ppx6m90x"))))
5638 (build-system haskell-build-system)
5639 (inputs
5640 `(("ghc-th-lift" ,ghc-th-lift)
5641 ("ghc-vector" ,ghc-vector)
5642 ("ghc-text" ,ghc-text)
5643 ("ghc-quickcheck" ,ghc-quickcheck)))
5644 (home-page "https://github.com/bennofs/th-lift-instances/")
5645 (synopsis "Lift instances for template-haskell for common data types.")
5646 (description "Most data types in the Haskell platform do not have Lift
5647 instances. This package provides orphan instances for @code{containers},
5648 @code{text}, @code{bytestring} and @code{vector}.")
5649 (license license:bsd-3)))
5650
5651 (define-public ghc-th-expand-syns
5652 (package
5653 (name "ghc-th-expand-syns")
5654 (version "0.4.0.0")
5655 (source (origin
5656 (method url-fetch)
5657 (uri (string-append "https://hackage.haskell.org/package/"
5658 "th-expand-syns/th-expand-syns-"
5659 version ".tar.gz"))
5660 (sha256
5661 (base32
5662 "1sjy7a17zwyvlbkc8gklii67sy78wpnw35fyb00lsbnpk4cryd2r"))))
5663 (build-system haskell-build-system)
5664 (inputs
5665 `(("ghc-syb" ,ghc-syb)))
5666 (home-page "https://hackage.haskell.org/package/th-expand-syns")
5667 (synopsis "Expands type synonyms in Template Haskell ASTs")
5668 (description
5669 "This package enables users to expand type synonyms in Template Haskell
5670 @dfn{abstract syntax trees} (ASTs).")
5671 (license license:bsd-3)))
5672
5673 (define-public ghc-th-reify-many
5674 (package
5675 (name "ghc-th-reify-many")
5676 (version "0.1.6")
5677 (source (origin
5678 (method url-fetch)
5679 (uri (string-append "https://hackage.haskell.org/package/"
5680 "th-reify-many/th-reify-many-"
5681 version ".tar.gz"))
5682 (sha256
5683 (base32
5684 "1b76zjxkj0v0n8zj9l0nwav2irm0c43rx6qjihfw8klmmxvx59df"))))
5685 (build-system haskell-build-system)
5686 (inputs
5687 `(("ghc-safe" ,ghc-safe)
5688 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
5689 (home-page "https://github.com/mgsloan/th-reify-many")
5690 (synopsis "Recurseively reify template haskell datatype info")
5691 (description
5692 "th-reify-many provides functions for recursively reifying top level
5693 declarations. The main intended use case is for enumerating the names of
5694 datatypes reachable from an initial datatype, and passing these names to some
5695 function which generates instances.")
5696 (license license:bsd-3)))
5697
5698 (define-public ghc-th-orphans
5699 (package
5700 (name "ghc-th-orphans")
5701 (version "0.13.2")
5702 (source (origin
5703 (method url-fetch)
5704 (uri (string-append "https://hackage.haskell.org/package/"
5705 "th-orphans/th-orphans-" version ".tar.gz"))
5706 (sha256
5707 (base32
5708 "0102vkyzpgnp2fys8pvw4khrhrh2y1b8dp1slgvn020vg4s351mc"))))
5709 (build-system haskell-build-system)
5710 (inputs
5711 `(("ghc-th-lift" ,ghc-th-lift)
5712 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
5713 ("ghc-th-reify-many" ,ghc-th-reify-many)
5714 ("ghc-generic-deriving" ,ghc-generic-deriving)))
5715 (native-inputs
5716 `(("ghc-hspec" ,ghc-hspec)))
5717 (home-page "https://hackage.haskell.org/package/th-orphans")
5718 (synopsis "Orphan instances for TH datatypes")
5719 (description
5720 "This package provides orphan instances for Template Haskell datatypes. In particular,
5721 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
5722 and @code{Eq} instances. These instances used to live in the haskell-src-meta
5723 package, and that's where the version number started.")
5724 (license license:bsd-3)))
5725
5726 (define-public ghc-geniplate-mirror
5727 (package
5728 (name "ghc-geniplate-mirror")
5729 (version "0.7.5")
5730 (source
5731 (origin
5732 (method url-fetch)
5733 (uri (string-append "https://hackage.haskell.org/package"
5734 "/geniplate-mirror"
5735 "/geniplate-mirror-" version ".tar.gz"))
5736 (sha256
5737 (base32 "17vjps2118s5z3k39ij00lkmkxv3mqf8h59wv6qdamlgmhyr36si"))))
5738 (build-system haskell-build-system)
5739 (home-page "https://github.com/danr/geniplate")
5740 (synopsis "Use Template Haskell to generate Uniplate-like functions")
5741 (description
5742 "Use Template Haskell to generate Uniplate-like functions. This is a
5743 maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
5744 geniplate} package, written by Lennart Augustsson.")
5745 (license license:bsd-3)))
5746
5747 (define-public ghc-gitrev
5748 (package
5749 (name "ghc-gitrev")
5750 (version "1.3.1")
5751 (source
5752 (origin
5753 (method url-fetch)
5754 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
5755 version ".tar.gz"))
5756 (sha256
5757 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
5758 (build-system haskell-build-system)
5759 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
5760 (home-page "https://github.com/acfoltzer/gitrev")
5761 (synopsis "Compile git revision info into Haskell projects")
5762 (description
5763 "This package provides some handy Template Haskell splices for including
5764 the current git hash and branch in the code of your project. This is useful
5765 for including in panic messages, @command{--version} output, or diagnostic
5766 info for more informative bug reports.")
5767 (license license:bsd-3)))
5768
5769 (define-public ghc-haskell-src-meta
5770 (package
5771 (name "ghc-haskell-src-meta")
5772 (version "0.8.0.2")
5773 (source (origin
5774 (method url-fetch)
5775 (uri (string-append "https://hackage.haskell.org/package/"
5776 "haskell-src-meta/haskell-src-meta-"
5777 version ".tar.gz"))
5778 (sha256
5779 (base32
5780 "12rc4v5dbbbcwdp7j8isvnm9vqpazv124j5kdfwlgwgwjhxi8ysb"))))
5781 (build-system haskell-build-system)
5782 (inputs
5783 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5784 ("ghc-syb" ,ghc-syb)
5785 ("ghc-th-orphans" ,ghc-th-orphans)))
5786 (native-inputs
5787 `(("ghc-hunit" ,ghc-hunit)
5788 ("ghc-test-framework" ,ghc-test-framework)
5789 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5790 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5791 (synopsis "Parse source to template-haskell abstract syntax")
5792 (description
5793 "This package provides tools to parse Haskell sources to the
5794 template-haskell abstract syntax.")
5795 (license license:bsd-3)))
5796
5797 (define-public ghc-conduit
5798 (package
5799 (name "ghc-conduit")
5800 (version "1.3.0.3")
5801 (source (origin
5802 (method url-fetch)
5803 (uri (string-append "https://hackage.haskell.org/package/"
5804 "conduit/conduit-" version ".tar.gz"))
5805 (sha256
5806 (base32
5807 "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v"))))
5808 (build-system haskell-build-system)
5809 (inputs
5810 `(("ghc-exceptions" ,ghc-exceptions)
5811 ("ghc-lifted-base" ,ghc-lifted-base)
5812 ("ghc-mono-traversable" ,ghc-mono-traversable)
5813 ("ghc-mmorph" ,ghc-mmorph)
5814 ("ghc-resourcet" ,ghc-resourcet)
5815 ("ghc-silently" ,ghc-silently)
5816 ("ghc-transformers-base" ,ghc-transformers-base)
5817 ("ghc-unliftio" ,ghc-unliftio)
5818 ("ghc-unliftio-core" ,ghc-unliftio-core)
5819 ("ghc-vector" ,ghc-vector)
5820 ("ghc-void" ,ghc-void)))
5821 (native-inputs
5822 `(("ghc-quickcheck" ,ghc-quickcheck)
5823 ("ghc-hspec" ,ghc-hspec)
5824 ("ghc-safe" ,ghc-safe)
5825 ("ghc-split" ,ghc-split)))
5826 (home-page "https://github.com/snoyberg/conduit")
5827 (synopsis "Streaming data library ")
5828 (description
5829 "The conduit package is a solution to the streaming data problem,
5830 allowing for production, transformation, and consumption of streams of data
5831 in constant memory. It is an alternative to lazy I/O which guarantees
5832 deterministic resource handling, and fits in the same general solution
5833 space as enumerator/iteratee and pipes.")
5834 (license license:expat)))
5835
5836 (define-public ghc-logging-facade
5837 (package
5838 (name "ghc-logging-facade")
5839 (version "0.1.1")
5840 (source (origin
5841 (method url-fetch)
5842 (uri (string-append "https://hackage.haskell.org/package/"
5843 "logging-facade/logging-facade-"
5844 version ".tar.gz"))
5845 (sha256
5846 (base32
5847 "18ldv6rsff480rqpbs3iabjpvn1fhw0i2a0g80jnhxg9ajfz5yb0"))))
5848 (build-system haskell-build-system)
5849 (native-inputs
5850 `(("ghc-hspec" ,ghc-hspec)
5851 ("hspec-discover" ,hspec-discover)))
5852 (home-page "https://hackage.haskell.org/package/logging-facade")
5853 (synopsis "Simple logging abstraction that allows multiple back-ends")
5854 (description
5855 "This package provides a simple logging abstraction that allows multiple
5856 back-ends.")
5857 (license license:expat)))
5858
5859 (define-public ghc-mockery
5860 (package
5861 (name "ghc-mockery")
5862 (version "0.3.3")
5863 (source (origin
5864 (method url-fetch)
5865 (uri (string-append "https://hackage.haskell.org/package/"
5866 "mockery/mockery-" version ".tar.gz"))
5867 (sha256
5868 (base32
5869 "1m7sq2vclgir3qbpngzl3g87ks4034blwwf7p3h02c0jlcwpl5b1"))))
5870 (build-system haskell-build-system)
5871 (inputs
5872 `(("ghc-temporary" ,ghc-temporary)
5873 ("ghc-logging-facade" ,ghc-logging-facade)
5874 ("ghc-base-compat" ,ghc-base-compat)))
5875 (native-inputs
5876 `(("ghc-hspec" ,ghc-hspec)
5877 ("hspec-discover" ,hspec-discover)))
5878 (home-page "https://hackage.haskell.org/package/mockery")
5879 (synopsis "Support functions for automated testing")
5880 (description
5881 "The mockery package provides support functions for automated testing.")
5882 (license license:expat)))
5883
5884 (define-public ghc-yaml
5885 (package
5886 (name "ghc-yaml")
5887 (version "0.8.28")
5888 (source (origin
5889 (method url-fetch)
5890 (uri (string-append "https://hackage.haskell.org/package/"
5891 "yaml/yaml-" version ".tar.gz"))
5892 (sha256
5893 (base32
5894 "0swgkzkfrwj0ac7lssn8rnrdfmh3lcsdn5fbq2iwv55di6jbc0pp"))))
5895 (build-system haskell-build-system)
5896 (inputs
5897 `(("ghc-conduit" ,ghc-conduit)
5898 ("ghc-resourcet" ,ghc-resourcet)
5899 ("ghc-aeson" ,ghc-aeson)
5900 ("ghc-unordered-containers" ,ghc-unordered-containers)
5901 ("ghc-vector" ,ghc-vector)
5902 ("ghc-text" ,ghc-text)
5903 ("ghc-attoparsec" ,ghc-attoparsec)
5904 ("ghc-scientific" ,ghc-scientific)
5905 ("ghc-semigroups" ,ghc-semigroups)
5906 ("ghc-temporary" ,ghc-temporary)
5907 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
5908 ("ghc-base-compat" ,ghc-base-compat)))
5909 (native-inputs
5910 `(("ghc-hspec" ,ghc-hspec)
5911 ("ghc-hunit" ,ghc-hunit)
5912 ("hspec-discover" ,hspec-discover)
5913 ("ghc-mockery" ,ghc-mockery)))
5914 (home-page "https://github.com/snoyberg/yaml/")
5915 (synopsis "Parsing and rendering YAML documents")
5916 (description
5917 "This package provides a library to parse and render YAML documents.")
5918 (license license:bsd-3)))
5919
5920 (define-public ghc-yaml-for-pandoc-1
5921 (package (inherit ghc-yaml)
5922 (inputs
5923 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
5924 ,@(alist-delete "ghc-aeson" (package-inputs ghc-yaml))))))
5925
5926 (define-public ghc-filemanip
5927 (package
5928 (name "ghc-filemanip")
5929 (version "0.3.6.3")
5930 (source (origin
5931 (method url-fetch)
5932 (uri (string-append "https://hackage.haskell.org/package/"
5933 "filemanip/filemanip-" version ".tar.gz"))
5934 (sha256
5935 (base32
5936 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
5937 (build-system haskell-build-system)
5938 (inputs
5939 `(("ghc-unix-compat" ,ghc-unix-compat)))
5940 (home-page "https://github.com/bos/filemanip")
5941 (synopsis "File and directory manipulation for Haskell")
5942 (description
5943 "This package provides a Haskell library for working with files and
5944 directories. It includes code for pattern matching, finding files, modifying
5945 file contents, and more.")
5946 (license license:bsd-3)))
5947
5948 (define-public ghc-mmap
5949 (package
5950 (name "ghc-mmap")
5951 (version "0.5.9")
5952 (source (origin
5953 (method url-fetch)
5954 (uri (string-append "https://hackage.haskell.org/package/"
5955 "mmap/mmap-" version ".tar.gz"))
5956 (sha256
5957 (base32
5958 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
5959 (build-system haskell-build-system)
5960 (home-page "https://hackage.haskell.org/package/mmap")
5961 (synopsis "Memory mapped files for Haskell")
5962 (description
5963 "This library provides a wrapper to @code{mmap}, allowing files or
5964 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
5965 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
5966 do on-demand loading.")
5967 (license license:bsd-3)))
5968
5969 (define-public ghc-juicypixels
5970 (package
5971 (name "ghc-juicypixels")
5972 (version "3.2.9.3")
5973 (source (origin
5974 (method url-fetch)
5975 (uri (string-append "https://hackage.haskell.org/package/"
5976 "JuicyPixels/JuicyPixels-"
5977 version ".tar.gz"))
5978 (sha256
5979 (base32
5980 "14s57fgf6kd5n5al2kcvk1aaxbq1ph0r5h8blflrjkx83yl6r8yn"))))
5981 (build-system haskell-build-system)
5982 (inputs
5983 `(("ghc-zlib" ,ghc-zlib)
5984 ("ghc-vector" ,ghc-vector)
5985 ("ghc-primitive" ,ghc-primitive)
5986 ("ghc-mmap" ,ghc-mmap)))
5987 (home-page "https://github.com/Twinside/Juicy.Pixels")
5988 (synopsis "Picture loading and serialization library")
5989 (description
5990 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
5991 TIFF and GIF formats.")
5992 (license license:bsd-3)))
5993
5994 (define-public ghc-hslua
5995 (package
5996 (name "ghc-hslua")
5997 (version "0.9.5")
5998 (source (origin
5999 (method url-fetch)
6000 (uri (string-append "https://hackage.haskell.org/package/"
6001 "hslua/hslua-" version ".tar.gz"))
6002 (sha256
6003 (base32
6004 "1j2zk7f7nyywg2b0n6kb2yf6ljc7cn2sk9jz0h76g3ag2b70l12n"))))
6005 (build-system haskell-build-system)
6006 (arguments
6007 `(#:configure-flags '("-fsystem-lua")))
6008 (inputs
6009 `(("lua" ,lua)
6010 ("ghc-exceptions" ,ghc-exceptions)
6011 ("ghc-fail" ,ghc-fail)
6012 ("ghc-text" ,ghc-text)))
6013 (native-inputs
6014 `(("ghc-tasty" ,ghc-tasty)
6015 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
6016 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6017 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6018 ("ghc-quickcheck" ,ghc-quickcheck)
6019 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
6020 (home-page "https://hackage.haskell.org/package/hslua")
6021 (synopsis "Lua language interpreter embedding in Haskell")
6022 (description
6023 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
6024 described in @url{https://www.lua.org/}.")
6025 (license license:expat)))
6026
6027 (define-public ghc-hslua-for-pandoc-1
6028 (package (inherit ghc-hslua)
6029 (version "0.4.1")
6030 (source (origin
6031 (method url-fetch)
6032 (uri (string-append "https://hackage.haskell.org/package/"
6033 "hslua/hslua-" version ".tar.gz"))
6034 (sha256
6035 (base32
6036 "0gqp6qhp4v24kzv2j49kgk7bxqzw0w10x0zr0r2j9wkfavqb9wid"))))
6037 (inputs
6038 `(("lua" ,lua-5.1)
6039 ("ghc-text" ,ghc-text)))
6040 (native-inputs
6041 `(("ghc-quickcheck" ,ghc-quickcheck)
6042 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6043 ("ghc-hspec" ,ghc-hspec)
6044 ("ghc-hspec-contrib" ,ghc-hspec-contrib)
6045 ("ghc-hunit" ,ghc-hunit)
6046 ("hspec-discover" ,hspec-discover)))))
6047
6048 (define-public ghc-hslua-module-text
6049 (package
6050 (name "ghc-hslua-module-text")
6051 (version "0.1.2.1")
6052 (source
6053 (origin
6054 (method url-fetch)
6055 (uri (string-append "https://hackage.haskell.org/package/"
6056 "hslua-module-text/hslua-module-text-"
6057 version ".tar.gz"))
6058 (sha256
6059 (base32
6060 "0bcfpb1dhnxp0gr376ai4w7vczr9zrjl1r3r6w7kcxivfkwq9cxf"))))
6061 (build-system haskell-build-system)
6062 (inputs
6063 `(("ghc-hslua" ,ghc-hslua)
6064 ("ghc-text" ,ghc-text)))
6065 (native-inputs
6066 `(("ghc-tasty" ,ghc-tasty)
6067 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6068 (home-page "https://github.com/hslua/hslua-module-text")
6069 (synopsis "Lua module for text")
6070 (description
6071 "This package provides a UTF-8 aware subset of Lua's @code{string} module
6072 for Haskell. The functions provided by this module are @code{upper},
6073 @code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
6074 (license license:expat)))
6075
6076 (define-public ghc-byteable
6077 (package
6078 (name "ghc-byteable")
6079 (version "0.1.1")
6080 (source (origin
6081 (method url-fetch)
6082 (uri (string-append "https://hackage.haskell.org/package/"
6083 "byteable/byteable-" version ".tar.gz"))
6084 (sha256
6085 (base32
6086 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
6087 (build-system haskell-build-system)
6088 (home-page "https://github.com/vincenthz/hs-byteable")
6089 (synopsis "Type class for sequence of bytes")
6090 (description
6091 "This package provides an abstract class to manipulate sequence of bytes.
6092 The use case of this class is abstracting manipulation of types that are just
6093 wrapping a bytestring with stronger and more meaniful name.")
6094 (license license:bsd-3)))
6095
6096 (define-public ghc-hourglass
6097 (package
6098 (name "ghc-hourglass")
6099 (version "0.2.10")
6100 (source (origin
6101 (method url-fetch)
6102 (uri (string-append "https://hackage.haskell.org/package/"
6103 "hourglass/hourglass-" version ".tar.gz"))
6104 (sha256
6105 (base32
6106 "104d1yd84hclprg740nkz60vx589mnm094zriw6zczbgg8nkclym"))))
6107 (build-system haskell-build-system)
6108 (inputs
6109 `(("ghc-old-locale" ,ghc-old-locale)))
6110 (native-inputs
6111 `(("ghc-tasty" ,ghc-tasty)
6112 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6113 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6114 (home-page "https://github.com/vincenthz/hs-hourglass")
6115 (synopsis "Simple time-related library for Haskell")
6116 (description
6117 "This is a simple time library providing a simple but powerful and
6118 performant API. The backbone of the library are the @code{Timeable} and
6119 @code{Time} type classes. Each @code{Timeable} instances can be converted to
6120 a type that has a @code{Time} instances, and thus are different
6121 representations of current time.")
6122 (license license:bsd-3)))
6123
6124 (define-public ghc-edit-distance
6125 (package
6126 (name "ghc-edit-distance")
6127 (version "0.2.2.1")
6128 (source
6129 (origin
6130 (method url-fetch)
6131 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
6132 "/edit-distance-" version ".tar.gz"))
6133 (sha256
6134 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
6135 (build-system haskell-build-system)
6136 (arguments
6137 `(#:configure-flags (list "--allow-newer=QuickCheck")))
6138 (inputs
6139 `(("ghc-random" ,ghc-random)
6140 ("ghc-test-framework" ,ghc-test-framework)
6141 ("ghc-quickcheck" ,ghc-quickcheck)
6142 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6143 (home-page "https://github.com/phadej/edit-distance")
6144 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
6145 (description
6146 "This package provides optimized functions to determine the edit
6147 distances for fuzzy matching, including Levenshtein and restricted
6148 Damerau-Levenshtein algorithms.")
6149 (license license:bsd-3)))
6150
6151 (define-public ghc-memory
6152 (package
6153 (name "ghc-memory")
6154 (version "0.14.16")
6155 (source (origin
6156 (method url-fetch)
6157 (uri (string-append "https://hackage.haskell.org/package/"
6158 "memory/memory-" version ".tar.gz"))
6159 (sha256
6160 (base32
6161 "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v"))))
6162 (build-system haskell-build-system)
6163 (inputs
6164 `(("ghc-basement" ,ghc-basement)
6165 ("ghc-foundation" ,ghc-foundation)))
6166 (native-inputs
6167 `(("ghc-tasty" ,ghc-tasty)
6168 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6169 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6170 (home-page "https://github.com/vincenthz/hs-memory")
6171 (synopsis "Memory abstractions for Haskell")
6172 (description
6173 "This package provides memory abstractions, such as chunk of memory,
6174 polymorphic byte array management and manipulation functions. It contains a
6175 polymorphic byte array abstraction and functions similar to strict ByteString,
6176 different type of byte array abstraction, raw memory IO operations (memory
6177 set, memory copy, ..) and more")
6178 (license license:bsd-3)))
6179
6180 (define-public ghc-socks
6181 (package
6182 (name "ghc-socks")
6183 (version "0.5.5")
6184 (source (origin
6185 (method url-fetch)
6186 (uri (string-append "https://hackage.haskell.org/package/"
6187 "socks/socks-" version ".tar.gz"))
6188 (sha256
6189 (base32
6190 "0s689w1hh9g8ifl75xhzbv96ir07hwn04b4lgvbxzl8swa9ylir6"))))
6191 (build-system haskell-build-system)
6192 (inputs
6193 `(("ghc-cereal" ,ghc-cereal)
6194 ("ghc-network" ,ghc-network)))
6195 (home-page "https://github.com/vincenthz/hs-socks")
6196 (synopsis "SOCKS proxy (version 5) implementation")
6197 (description
6198 "This library provides a SOCKS proxy (version 5) implementation.")
6199 (license license:bsd-3)))
6200
6201 (define-public ghc-connection
6202 (package
6203 (name "ghc-connection")
6204 (version "0.2.6")
6205 (source (origin
6206 (method url-fetch)
6207 (uri (string-append "https://hackage.haskell.org/package/"
6208 "connection/connection-"
6209 version ".tar.gz"))
6210 (sha256
6211 (base32
6212 "1c1prsgad669cmf6qrqlb5hmh0dnam2imijqzpwcr4ja14l6rh83"))))
6213 (build-system haskell-build-system)
6214 (inputs
6215 `(("ghc-byteable" ,ghc-byteable)
6216 ("ghc-data-default-class" ,ghc-data-default-class)
6217 ("ghc-network" ,ghc-network)
6218 ("ghc-tls" ,ghc-tls)
6219 ("ghc-socks" ,ghc-socks)
6220 ("ghc-x509" ,ghc-x509)
6221 ("ghc-x509-store" ,ghc-x509-store)
6222 ("ghc-x509-system" ,ghc-x509-system)
6223 ("ghc-x509-validation" ,ghc-x509-validation)))
6224 (home-page "https://github.com/vincenthz/hs-connection")
6225 (synopsis "Simple and easy network connections API")
6226 (description
6227 "This package provides a simple network library for all your connection
6228 needs. It provides a very simple API to create sockets to a destination with
6229 the choice of SSL/TLS, and SOCKS.")
6230 (license license:bsd-3)))
6231
6232 (define-public ghc-skylighting
6233 (package
6234 (name "ghc-skylighting")
6235 (version "0.5.1")
6236 (source (origin
6237 (method url-fetch)
6238 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
6239 version "/skylighting-" version ".tar.gz"))
6240 (sha256
6241 (base32
6242 "0l5lhhqqlfaq1fs7pn3n3b25kmazk8p4ahwvhagbrhcbm5hsigdg"))))
6243 (build-system haskell-build-system)
6244 (inputs
6245 `(("ghc-aeson" ,ghc-aeson)
6246 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6247 ("ghc-attoparsec" ,ghc-attoparsec)
6248 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6249 ("ghc-blaze-html" ,ghc-blaze-html)
6250 ("ghc-case-insensitive" ,ghc-case-insensitive)
6251 ("ghc-colour" ,ghc-colour)
6252 ("ghc-diff" ,ghc-diff)
6253 ("ghc-hxt" ,ghc-hxt)
6254 ("ghc-pretty-show" ,ghc-pretty-show)
6255 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6256 ("ghc-safe" ,ghc-safe)
6257 ("ghc-text" ,ghc-text)
6258 ("ghc-utf8-string" ,ghc-utf8-string)))
6259 (native-inputs
6260 `(("ghc-hunit" ,ghc-hunit)
6261 ("ghc-quickcheck" ,ghc-quickcheck)
6262 ("ghc-tasty" ,ghc-tasty)
6263 ("ghc-tasty-golden" ,ghc-tasty-golden)
6264 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6265 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6266 (home-page "https://hackage.haskell.org/package/skylighting")
6267 (synopsis "Syntax highlighting library")
6268 (description "Skylighting is a syntax highlighting library with support
6269 for over one hundred languages. It derives its tokenizers from XML syntax
6270 definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
6271 supported by that framework can be added. An optional command-line program is
6272 provided. Skylighting is intended to be the successor to highlighting-kate.")
6273 (license license:gpl2)))
6274
6275 (define-public ghc-skylighting-for-pandoc-1
6276 (package (inherit ghc-skylighting)
6277 (version "0.1.1.5")
6278 (source (origin
6279 (method git-fetch)
6280 ;; We take the sources from Github, because the tarball on
6281 ;; hackage does not include the XML files.
6282 (uri (git-reference
6283 (url "https://github.com/jgm/skylighting.git")
6284 (commit version)))
6285 (file-name (string-append "ghc-skylighting-" version "-checkout"))
6286 (sha256
6287 (base32
6288 "0z3yv8v2fqqgv6lsf0ff3ld0h2vkg97b2jiry9wn2f1rizwdqmzl"))))
6289 (arguments
6290 `(#:configure-flags '("-fbootstrap")
6291 #:phases
6292 (modify-phases %standard-phases
6293 ;; After building the skylighting-extract tool we use it to generate
6294 ;; syntax source files from the included XML files. These are then
6295 ;; added to the skylighting.cabal file.
6296 (add-after 'build 'extract-xml
6297 (lambda _
6298 (make-file-writable "skylighting.cabal")
6299 (apply invoke "./dist/build/skylighting-extract/skylighting-extract"
6300 (find-files "xml" "\\.xml$"))
6301 #t))
6302 ;; Reconfigure without bootstrap flag
6303 (add-after 'extract-xml 'configure-again
6304 (lambda* (#:key outputs inputs tests? #:allow-other-keys)
6305 ((assoc-ref %standard-phases 'configure)
6306 #:outputs outputs
6307 #:inputs inputs
6308 #:tests? tests?
6309 #:configure-flags '("-f-bootstrap"))))
6310 (add-after 'configure-again 'build-again
6311 (assoc-ref %standard-phases 'build)))))
6312 (inputs
6313 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6314 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6315 ("ghc-blaze-html" ,ghc-blaze-html)
6316 ("ghc-case-insensitive" ,ghc-case-insensitive)
6317 ("ghc-diff" ,ghc-diff)
6318 ("ghc-hxt" ,ghc-hxt)
6319 ("ghc-pretty-show" ,ghc-pretty-show)
6320 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6321 ("ghc-safe" ,ghc-safe)
6322 ("ghc-text" ,ghc-text)
6323 ("ghc-utf8-string" ,ghc-utf8-string)))))
6324
6325 (define-public ghc-doctemplates
6326 (package
6327 (name "ghc-doctemplates")
6328 (version "0.2.1")
6329 (source
6330 (origin
6331 (method url-fetch)
6332 (uri (string-append "https://hackage.haskell.org/package/"
6333 "doctemplates/doctemplates-"
6334 version ".tar.gz"))
6335 (sha256
6336 (base32
6337 "1bfs2kl5j5al2w2y4qpbn68p0xsnb65r7h51l356kpkzc326646p"))))
6338 (build-system haskell-build-system)
6339 (inputs
6340 `(("ghc-aeson" ,ghc-aeson)
6341 ("ghc-blaze-markup" ,ghc-blaze-markup)
6342 ("ghc-blaze-html" ,ghc-blaze-html)
6343 ("ghc-text" ,ghc-text)
6344 ("ghc-vector" ,ghc-vector)
6345 ("ghc-parsec" ,ghc-parsec)
6346 ("ghc-unordered-containers" ,ghc-unordered-containers)
6347 ("ghc-scientific" ,ghc-scientific)))
6348 (native-inputs
6349 `(("ghc-hspec" ,ghc-hspec)))
6350 (home-page "https://github.com/jgm/doctemplates#readme")
6351 (synopsis "Pandoc-style document templates")
6352 (description
6353 "This package provides a simple text templating system used by pandoc.")
6354 (license license:bsd-3)))
6355
6356 (define-public ghc-doctemplates-for-pandoc-1
6357 (package (inherit ghc-doctemplates)
6358 (version "0.1.0.2")
6359 (source
6360 (origin
6361 (method url-fetch)
6362 (uri (string-append "https://hackage.haskell.org/package/"
6363 "doctemplates/doctemplates-"
6364 version ".tar.gz"))
6365 (sha256
6366 (base32
6367 "0swal6rjya1293mwvl63jch5fx9ghpsil7qs4v7rpansa0izalmp"))))
6368 (build-system haskell-build-system)
6369 (inputs
6370 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6371 ("ghc-blaze-markup" ,ghc-blaze-markup)
6372 ("ghc-blaze-html" ,ghc-blaze-html)
6373 ("ghc-text" ,ghc-text)
6374 ("ghc-vector" ,ghc-vector)
6375 ("ghc-parsec" ,ghc-parsec)
6376 ("ghc-unordered-containers" ,ghc-unordered-containers)
6377 ("ghc-scientific" ,ghc-scientific)))))
6378
6379 (define-public ghc-pandoc
6380 (package
6381 (name "ghc-pandoc")
6382 (version "2.2.1")
6383 (source
6384 (origin
6385 (method url-fetch)
6386 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6387 version ".tar.gz"))
6388 (sha256
6389 (base32
6390 "1dqin92w513l7whg5wdgrngnxsj5mb8gppfvn7kjgyv2pdgpy0zy"))))
6391 (build-system haskell-build-system)
6392 (inputs
6393 `(("ghc-aeson" ,ghc-aeson)
6394 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6395 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6396 ("ghc-blaze-html" ,ghc-blaze-html)
6397 ("ghc-blaze-markup" ,ghc-blaze-markup)
6398 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
6399 ("ghc-data-default" ,ghc-data-default)
6400 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6401 ("ghc-diff" ,ghc-diff)
6402 ("ghc-doctemplates" ,ghc-doctemplates)
6403 ("ghc-executable-path" ,ghc-executable-path)
6404 ("ghc-glob" ,ghc-glob)
6405 ("ghc-haddock-library" ,ghc-haddock-library)
6406 ("ghc-hslua" ,ghc-hslua)
6407 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
6408 ("ghc-http" ,ghc-http)
6409 ("ghc-http-client" ,ghc-http-client)
6410 ("ghc-http-client-tls" ,ghc-http-client-tls)
6411 ("ghc-http-types" ,ghc-http-types)
6412 ("ghc-juicypixels" ,ghc-juicypixels)
6413 ("ghc-network" ,ghc-network)
6414 ("ghc-network-uri" ,ghc-network-uri)
6415 ("ghc-old-locale" ,ghc-old-locale)
6416 ("ghc-pandoc-types" ,ghc-pandoc-types)
6417 ("ghc-parsec" ,ghc-parsec)
6418 ("ghc-random" ,ghc-random)
6419 ("ghc-scientific" ,ghc-scientific)
6420 ("ghc-sha" ,ghc-sha)
6421 ("ghc-skylighting" ,ghc-skylighting)
6422 ("ghc-split" ,ghc-split)
6423 ("ghc-syb" ,ghc-syb)
6424 ("ghc-tagsoup" ,ghc-tagsoup)
6425 ("ghc-temporary" ,ghc-temporary)
6426 ("ghc-texmath" ,ghc-texmath)
6427 ("ghc-text" ,ghc-text)
6428 ("ghc-unordered-containers" ,ghc-unordered-containers)
6429 ("ghc-vector" ,ghc-vector)
6430 ("ghc-xml" ,ghc-xml)
6431 ("ghc-yaml" ,ghc-yaml)
6432 ("ghc-zip-archive" ,ghc-zip-archive)
6433 ("ghc-zlib" ,ghc-zlib)))
6434 (native-inputs
6435 `(("ghc-tasty" ,ghc-tasty)
6436 ("ghc-tasty-golden" ,ghc-tasty-golden)
6437 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6438 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6439 ("ghc-quickcheck" ,ghc-quickcheck)
6440 ("ghc-hunit" ,ghc-hunit)))
6441 (home-page "https://pandoc.org")
6442 (synopsis "Conversion between markup formats")
6443 (description
6444 "Pandoc is a Haskell library for converting from one markup format to
6445 another, and a command-line tool that uses this library. It can read and
6446 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
6447 LaTeX, DocBook, and many more.
6448
6449 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
6450 definition lists, tables, and other features. A compatibility mode is
6451 provided for those who need a drop-in replacement for Markdown.pl.")
6452 (license license:gpl2+)))
6453
6454 ;; This is the last version of Pandoc 1.x, which is preferred for Rmarkdown.
6455 (define-public ghc-pandoc-1
6456 (package (inherit ghc-pandoc)
6457 (version "1.19.2.4")
6458 (source
6459 (origin
6460 (method url-fetch)
6461 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6462 version ".tar.gz"))
6463 (sha256
6464 (base32
6465 "0mim429mpakrcnm50csxyqk3ljcx2l26r5grk6w9isnggwgqrq5v"))))
6466 (arguments
6467 `(#:configure-flags (list "--allow-newer=skylighting")))
6468 (inputs
6469 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6470 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6471 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6472 ("ghc-blaze-html" ,ghc-blaze-html)
6473 ("ghc-blaze-markup" ,ghc-blaze-markup)
6474 ("ghc-cmark" ,ghc-cmark)
6475 ("ghc-data-default" ,ghc-data-default)
6476 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6477 ("ghc-diff" ,ghc-diff)
6478 ("ghc-doctemplates" ,ghc-doctemplates-for-pandoc-1)
6479 ("ghc-executable-path" ,ghc-executable-path)
6480 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
6481 ("ghc-filemanip" ,ghc-filemanip)
6482 ("ghc-haddock-library" ,ghc-haddock-library)
6483 ("ghc-hslua" ,ghc-hslua-for-pandoc-1)
6484 ("ghc-http" ,ghc-http)
6485 ("ghc-http-client" ,ghc-http-client)
6486 ("ghc-http-client-tls" ,ghc-http-client-tls)
6487 ("ghc-http-types" ,ghc-http-types)
6488 ("ghc-juicypixels" ,ghc-juicypixels)
6489 ("ghc-network" ,ghc-network)
6490 ("ghc-network-uri" ,ghc-network-uri)
6491 ("ghc-old-time" ,ghc-old-time)
6492 ("ghc-pandoc-types" ,ghc-pandoc-types-for-pandoc-1)
6493 ("ghc-parsec" ,ghc-parsec)
6494 ("ghc-random" ,ghc-random)
6495 ("ghc-scientific" ,ghc-scientific)
6496 ("ghc-sha" ,ghc-sha)
6497 ("ghc-skylighting" ,ghc-skylighting-for-pandoc-1)
6498 ("ghc-syb" ,ghc-syb)
6499 ("ghc-tagsoup" ,ghc-tagsoup)
6500 ("ghc-temporary" ,ghc-temporary)
6501 ("ghc-texmath" ,ghc-texmath-for-pandoc-1)
6502 ("ghc-text" ,ghc-text)
6503 ("ghc-unordered-containers" ,ghc-unordered-containers)
6504 ("ghc-vector" ,ghc-vector)
6505 ("ghc-xml" ,ghc-xml)
6506 ("ghc-yaml" ,ghc-yaml-for-pandoc-1)
6507 ("ghc-zip-archive" ,ghc-zip-archive)
6508 ("ghc-zlib" ,ghc-zlib)))
6509 (native-inputs
6510 `(("ghc-test-framework" ,ghc-test-framework)
6511 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6512 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))))
6513
6514 (define-public ghc-hs-bibutils
6515 (package
6516 (name "ghc-hs-bibutils")
6517 (version "6.2.0.1")
6518 (source
6519 (origin
6520 (method url-fetch)
6521 (uri (string-append
6522 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6523 version ".tar.gz"))
6524 (sha256
6525 (base32
6526 "0c56sjgg82kjcg5rrplnyn7vf02ccsj3kkcbgc87zxlv0j880rjb"))))
6527 (build-system haskell-build-system)
6528 (inputs `(("ghc-syb" ,ghc-syb)))
6529 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6530 (synopsis "Haskell bindings to bibutils")
6531 (description
6532 "This package provides Haskell bindings to @code{bibutils}, a library
6533 that interconverts between various bibliography formats using a common
6534 MODS-format XML intermediate.")
6535 (license license:gpl2+)))
6536
6537 (define-public ghc-rfc5051
6538 (package
6539 (name "ghc-rfc5051")
6540 (version "0.1.0.3")
6541 (source
6542 (origin
6543 (method url-fetch)
6544 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
6545 "rfc5051-" version ".tar.gz"))
6546 (sha256
6547 (base32
6548 "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3"))))
6549 (build-system haskell-build-system)
6550 (home-page "https://hackage.haskell.org/package/rfc5051")
6551 (synopsis "Simple unicode collation as per RFC5051")
6552 (description
6553 "This library implements @code{unicode-casemap}, the simple, non
6554 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
6555 unicode collation can be done using @code{text-icu}, but that is a big
6556 dependency that depends on a large C library, and @code{rfc5051} might be
6557 better for some purposes.")
6558 (license license:bsd-3)))
6559
6560 (define-public ghc-typed-process
6561 (package
6562 (name "ghc-typed-process")
6563 (version "0.2.2.0")
6564 (source
6565 (origin
6566 (method url-fetch)
6567 (uri (string-append "https://hackage.haskell.org/package/"
6568 "typed-process/typed-process-"
6569 version ".tar.gz"))
6570 (sha256
6571 (base32
6572 "0c6gvgvjyncbni9a5bvpbglknd4yclr3d3hfg9bhgahmkj40dva2"))))
6573 (build-system haskell-build-system)
6574 (inputs
6575 `(("ghc-async" ,ghc-async)
6576 ("ghc-stm" ,ghc-stm)))
6577 (native-inputs
6578 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
6579 ("ghc-hspec" ,ghc-hspec)
6580 ("hspec-discover" ,hspec-discover)
6581 ("ghc-temporary" ,ghc-temporary)))
6582 (home-page "https://haskell-lang.org/library/typed-process")
6583 (synopsis "Run external processes with strong typing of streams")
6584 (description
6585 "This library provides the ability to launch and interact with external
6586 processes. It wraps around the @code{process} library, and intends to improve
6587 upon it.")
6588 (license license:expat)))
6589
6590 (define-public ghc-conduit-extra
6591 (package
6592 (name "ghc-conduit-extra")
6593 (version "1.3.0")
6594 (source
6595 (origin
6596 (method url-fetch)
6597 (uri (string-append "https://hackage.haskell.org/package/"
6598 "conduit-extra/conduit-extra-"
6599 version ".tar.gz"))
6600 (sha256
6601 (base32
6602 "1bi2b6kdzy5f9glq46jzsk02has95jkxqz0cchpbmnakzhjwjh9c"))))
6603 (build-system haskell-build-system)
6604 (inputs
6605 `(("ghc-conduit" ,ghc-conduit)
6606 ("ghc-exceptions" ,ghc-exceptions)
6607 ("ghc-monad-control" ,ghc-monad-control)
6608 ("ghc-text" ,ghc-text)
6609 ("ghc-transformers-base" ,ghc-transformers-base)
6610 ("ghc-typed-process" ,ghc-typed-process)
6611 ("ghc-async" ,ghc-async)
6612 ("ghc-attoparsec" ,ghc-attoparsec)
6613 ("ghc-blaze-builder" ,ghc-blaze-builder)
6614 ("ghc-network" ,ghc-network)
6615 ("ghc-primitive" ,ghc-primitive)
6616 ("ghc-resourcet" ,ghc-resourcet)
6617 ("ghc-stm" ,ghc-stm)
6618 ("ghc-streaming-commons" ,ghc-streaming-commons)
6619 ("ghc-hspec" ,ghc-hspec)
6620 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6621 ("ghc-quickcheck" ,ghc-quickcheck)))
6622 (native-inputs
6623 `(("hspec-discover" ,hspec-discover)))
6624 (home-page "https://github.com/snoyberg/conduit")
6625 (synopsis "Conduit adapters for common libraries")
6626 (description
6627 "The @code{conduit} package itself maintains relative small dependencies.
6628 The purpose of this package is to collect commonly used utility functions
6629 wrapping other library dependencies, without depending on heavier-weight
6630 dependencies. The basic idea is that this package should only depend on
6631 @code{haskell-platform} packages and @code{conduit}.")
6632 (license license:expat)))
6633
6634 (define-public ghc-xml-types
6635 (package
6636 (name "ghc-xml-types")
6637 (version "0.3.6")
6638 (source
6639 (origin
6640 (method url-fetch)
6641 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
6642 "xml-types-" version ".tar.gz"))
6643 (sha256
6644 (base32
6645 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
6646 (build-system haskell-build-system)
6647 (inputs `(("ghc-text" ,ghc-text)))
6648 (home-page "https://john-millikin.com/software/haskell-xml/")
6649 (synopsis "Basic types for representing XML")
6650 (description "This package provides basic types for representing XML
6651 documents.")
6652 (license license:expat)))
6653
6654 (define-public ghc-xml-conduit
6655 (package
6656 (name "ghc-xml-conduit")
6657 (version "1.8.0.1")
6658 (source
6659 (origin
6660 (method url-fetch)
6661 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
6662 "xml-conduit-" version ".tar.gz"))
6663 (sha256
6664 (base32
6665 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
6666 (build-system haskell-build-system)
6667 (inputs
6668 `(("ghc-conduit" ,ghc-conduit)
6669 ("ghc-conduit-extra" ,ghc-conduit-extra)
6670 ("ghc-doctest" ,ghc-doctest)
6671 ("ghc-resourcet" ,ghc-resourcet)
6672 ("ghc-text" ,ghc-text)
6673 ("ghc-xml-types" ,ghc-xml-types)
6674 ("ghc-attoparsec" ,ghc-attoparsec)
6675 ("ghc-data-default-class" ,ghc-data-default-class)
6676 ("ghc-blaze-markup" ,ghc-blaze-markup)
6677 ("ghc-blaze-html" ,ghc-blaze-html)
6678 ("ghc-monad-control" ,ghc-monad-control)
6679 ("ghc-hspec" ,ghc-hspec)
6680 ("ghc-hunit" ,ghc-hunit)))
6681 (home-page "https://github.com/snoyberg/xml")
6682 (synopsis "Utilities for dealing with XML with the conduit package")
6683 (description
6684 "This package provides pure-Haskell utilities for dealing with XML with
6685 the @code{conduit} package.")
6686 (license license:expat)))
6687
6688 (define-public ghc-pandoc-citeproc
6689 (package
6690 (name "ghc-pandoc-citeproc")
6691 (version "0.14.3.1")
6692 (source
6693 (origin
6694 (method url-fetch)
6695 (uri (string-append "https://hackage.haskell.org/package/"
6696 "pandoc-citeproc/pandoc-citeproc-"
6697 version ".tar.gz"))
6698 (sha256
6699 (base32
6700 "0yj6rckwsc9vig40cm15ry0j3d01xpk04qma9n4byhal6v4b5h22"))))
6701 (build-system haskell-build-system)
6702 (arguments
6703 `(#:phases
6704 (modify-phases %standard-phases
6705 ;; Tests need to be run after installation.
6706 (delete 'check)
6707 (add-after 'install 'post-install-check
6708 (assoc-ref %standard-phases 'check)))))
6709 (inputs
6710 `(("ghc-pandoc-types" ,ghc-pandoc-types)
6711 ("ghc-pandoc" ,ghc-pandoc)
6712 ("ghc-tagsoup" ,ghc-tagsoup)
6713 ("ghc-aeson" ,ghc-aeson)
6714 ("ghc-text" ,ghc-text)
6715 ("ghc-vector" ,ghc-vector)
6716 ("ghc-xml-conduit" ,ghc-xml-conduit)
6717 ("ghc-unordered-containers" ,ghc-unordered-containers)
6718 ("ghc-data-default" ,ghc-data-default)
6719 ("ghc-setenv" ,ghc-setenv)
6720 ("ghc-split" ,ghc-split)
6721 ("ghc-yaml" ,ghc-yaml)
6722 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
6723 ("ghc-rfc5051" ,ghc-rfc5051)
6724 ("ghc-syb" ,ghc-syb)
6725 ("ghc-parsec" ,ghc-parsec)
6726 ("ghc-old-locale" ,ghc-old-locale)
6727 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6728 ("ghc-attoparsec" ,ghc-attoparsec)
6729 ("ghc-temporary" ,ghc-temporary)))
6730 (home-page "https://github.com/jgm/pandoc-citeproc")
6731 (synopsis "Library for using pandoc with citeproc")
6732 (description
6733 "The @code{pandoc-citeproc} library exports functions for using the
6734 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
6735 rendering bibliographic reference citations into a variety of styles using a
6736 macro language called @dfn{Citation Style Language} (CSL). This package also
6737 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
6738 and also has a mode for converting bibliographic databases a YAML format
6739 suitable for inclusion in pandoc YAML metadata.")
6740 (license license:bsd-3)))
6741
6742 (define-public ghc-pandoc-citeproc-with-pandoc-1
6743 (let ((for-pandoc-1
6744 (package-input-rewriting
6745 `((,ghc-aeson . ,ghc-aeson-for-pandoc-1)
6746 (,ghc-yaml . ,ghc-yaml-for-pandoc-1)
6747 (,ghc-texmath . ,ghc-texmath-for-pandoc-1)
6748 (,ghc-pandoc-types . ,ghc-pandoc-types-for-pandoc-1)
6749 (,ghc-hslua . ,ghc-hslua-for-pandoc-1)
6750 (,ghc-skylighting . ,ghc-skylighting-for-pandoc-1)
6751 (,ghc-doctemplates . ,ghc-doctemplates-for-pandoc-1)
6752 (,ghc-pandoc . ,ghc-pandoc-1)))))
6753 (for-pandoc-1 ghc-pandoc-citeproc)))
6754
6755 (define-public ghc-union-find
6756 (package
6757 (name "ghc-union-find")
6758 (version "0.2")
6759 (source (origin
6760 (method url-fetch)
6761 (uri (string-append
6762 "https://hackage.haskell.org/package/union-find/union-find-"
6763 version ".tar.gz"))
6764 (sha256
6765 (base32
6766 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
6767 (build-system haskell-build-system)
6768 (home-page "https://github.com/nominolo/union-find")
6769 (synopsis "Efficient union and equivalence testing of sets")
6770 (description
6771 "The Union/Find algorithm implements these operations in (effectively)
6772 constant-time:
6773 @enumerate
6774 @item Check whether two elements are in the same equivalence class.
6775 @item Create a union of two equivalence classes.
6776 @item Look up the descriptor of the equivalence class.
6777 @end enumerate\n")
6778 (license license:bsd-3)))
6779
6780 (define-public ghc-base16-bytestring
6781 (package
6782 (name "ghc-base16-bytestring")
6783 (version "0.1.1.6")
6784 (source
6785 (origin
6786 (method url-fetch)
6787 (uri (string-append
6788 "https://hackage.haskell.org/package/base16-bytestring/"
6789 "base16-bytestring-" version ".tar.gz"))
6790 (sha256
6791 (base32
6792 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
6793 (build-system haskell-build-system)
6794 (home-page "https://github.com/bos/base16-bytestring")
6795 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
6796 (description
6797 "This package provides a Haskell library for working with base16-encoded
6798 data quickly and efficiently, using the ByteString type.")
6799 (license license:bsd-3)))
6800
6801 (define-public ghc-data-ordlist
6802 (package
6803 (name "ghc-data-ordlist")
6804 (version "0.4.7.0")
6805 (source
6806 (origin
6807 (method url-fetch)
6808 (uri (string-append
6809 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
6810 version ".tar.gz"))
6811 (sha256
6812 (base32
6813 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
6814 (build-system haskell-build-system)
6815 (home-page "https://hackage.haskell.org/package/data-ordlist")
6816 (synopsis "Set and bag operations on ordered lists")
6817 (description
6818 "This module provides set and multiset operations on ordered lists.")
6819 (license license:bsd-3)))
6820
6821 (define-public ghc-regex-applicative
6822 (package
6823 (name "ghc-regex-applicative")
6824 (version "0.3.3")
6825 (source
6826 (origin
6827 (method url-fetch)
6828 (uri (string-append
6829 "https://hackage.haskell.org/package/regex-applicative/"
6830 "regex-applicative-" version ".tar.gz"))
6831 (sha256
6832 (base32
6833 "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
6834 (build-system haskell-build-system)
6835 (inputs
6836 `(("ghc-smallcheck" ,ghc-smallcheck)
6837 ("ghc-tasty" ,ghc-tasty)
6838 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
6839 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6840 (home-page "https://github.com/feuerbach/regex-applicative")
6841 (synopsis "Regex-based parsing with applicative interface")
6842 (description
6843 "@code{regex-applicative} is a Haskell library for parsing using
6844 regular expressions. Parsers can be built using Applicative interface.")
6845 (license license:expat)))
6846
6847 (define-public ghc-regex-tdfa
6848 (package
6849 (name "ghc-regex-tdfa")
6850 (version "1.2.2")
6851 (source
6852 (origin
6853 (method url-fetch)
6854 (uri (string-append
6855 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
6856 version ".tar.gz"))
6857 (sha256
6858 (base32
6859 "0f8x8wyr6m21g8dnxvnvalz5bsq37l125l6qhs0fscbvprsxc4nb"))))
6860 (build-system haskell-build-system)
6861 (inputs
6862 `(("ghc-parsec" ,ghc-parsec)
6863 ("ghc-regex-base" ,ghc-regex-base)))
6864 (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
6865 (synopsis "POSIX extended regular expressions in Haskell.")
6866 (description
6867 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
6868 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
6869 inspired by libtre.")
6870 (license license:bsd-3)))
6871
6872 (define-public ghc-regex-compat-tdfa
6873 (package
6874 (name "ghc-regex-compat-tdfa")
6875 (version "0.95.1.4")
6876 (source
6877 (origin
6878 (method url-fetch)
6879 (uri (string-append
6880 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
6881 version ".tar.gz"))
6882 (sha256
6883 (base32
6884 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
6885 (build-system haskell-build-system)
6886 (inputs
6887 `(("ghc-regex-base" ,ghc-regex-base)
6888 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
6889 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
6890 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
6891 (description
6892 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
6893 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
6894 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
6895 this problem.")
6896 (license license:bsd-3)))
6897
6898 (define-public ghc-sandi
6899 (package
6900 (name "ghc-sandi")
6901 (version "0.4.2")
6902 (source
6903 (origin
6904 (method url-fetch)
6905 (uri (string-append
6906 "https://hackage.haskell.org/package/sandi/sandi-"
6907 version ".tar.gz"))
6908 (sha256
6909 (base32
6910 "0dvkpk91n9kz2ha04rvp231ra9sgd1ilyc1qkzf9l03iir7zrh9b"))))
6911 (build-system haskell-build-system)
6912 (inputs
6913 `(("ghc-stringsearch" ,ghc-stringsearch)
6914 ("ghc-conduit" ,ghc-conduit)
6915 ("ghc-exceptions" ,ghc-exceptions)
6916 ("ghc-hunit" ,ghc-hunit)
6917 ("ghc-tasty" ,ghc-tasty)
6918 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6919 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6920 ("ghc-tasty-th" ,ghc-tasty-th)))
6921 (home-page "https://hackage.haskell.org/package/sandi")
6922 (synopsis "Data encoding library")
6923 (description "Reasonably fast data encoding library.")
6924 (license license:bsd-3)))
6925
6926 (define-public ghc-bytestring-handle
6927 (package
6928 (name "ghc-bytestring-handle")
6929 (version "0.1.0.6")
6930 (source
6931 (origin
6932 (method url-fetch)
6933 (uri (string-append
6934 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
6935 version ".tar.gz"))
6936 (sha256
6937 (base32
6938 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
6939 (build-system haskell-build-system)
6940 (inputs
6941 `(("ghc-hunit" ,ghc-hunit)
6942 ("ghc-quickcheck" ,ghc-quickcheck)
6943 ("ghc-test-framework" ,ghc-test-framework)
6944 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6945 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6946 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
6947 (synopsis "ByteString-backed Handles")
6948 (description "ByteString-backed Handles") ; There is no description
6949 (license license:bsd-3)))
6950
6951 (define-public ghc-tar
6952 (package
6953 (name "ghc-tar")
6954 (version "0.5.0.3")
6955 (source
6956 (origin
6957 (method url-fetch)
6958 (uri (string-append
6959 "https://hackage.haskell.org/package/tar/tar-"
6960 version ".tar.gz"))
6961 (sha256
6962 (base32
6963 "18qq94j9bm91iswnxq2dm5dws5c7wm4k01q2rpf8py35cf3svnfq"))))
6964 (build-system haskell-build-system)
6965 ;; FIXME: 2/24 tests fail.
6966 (arguments `(#:tests? #f))
6967 (inputs
6968 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
6969 ("ghc-quickcheck" ,ghc-quickcheck)
6970 ("ghc-tasty" ,ghc-tasty)
6971 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6972 (home-page "https://hackage.haskell.org/package/tar")
6973 (synopsis "Reading, writing and manipulating \".tar\" archive files")
6974 (description
6975 "This library is for working with \\\"@.tar@\\\" archive files.
6976 It can read and write a range of common variations of the tar archive format
6977 including V7, POSIX USTAR and GNU formats. It provides support for packing and
6978 unpacking portable archives. This makes it suitable for distribution but not
6979 backup because details like file ownership and exact permissions are not
6980 preserved. It also provides features for random access to archive content using
6981 an index.")
6982 (license license:bsd-3)))
6983
6984 (define-public ghc-stmonadtrans
6985 (package
6986 (name "ghc-stmonadtrans")
6987 (version "0.4.3")
6988 (source
6989 (origin
6990 (method url-fetch)
6991 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
6992 "/STMonadTrans-" version ".tar.gz"))
6993 (sha256
6994 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
6995 (build-system haskell-build-system)
6996 (home-page "https://hackage.haskell.org/package/STMonadTrans")
6997 (synopsis "Monad transformer version of the ST monad")
6998 (description
6999 "This package provides a monad transformer version of the @code{ST} monad
7000 for strict state threads.")
7001 (license license:bsd-3)))
7002
7003 (define-public ghc-findbin
7004 (package
7005 (name "ghc-findbin")
7006 (version "0.0.5")
7007 (source
7008 (origin
7009 (method url-fetch)
7010 (uri (string-append
7011 "https://hackage.haskell.org/package/FindBin/FindBin-"
7012 version ".tar.gz"))
7013 (sha256
7014 (base32
7015 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
7016 (build-system haskell-build-system)
7017 (home-page "https://github.com/audreyt/findbin")
7018 (synopsis "Get the absolute path of the running program")
7019 (description
7020 "This module locates the full directory of the running program, to allow
7021 the use of paths relative to it. FindBin supports invocation of Haskell
7022 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
7023 an executable.")
7024 (license license:bsd-3)))
7025
7026 (define-public ghc-patience
7027 (package
7028 (name "ghc-patience")
7029 (version "0.1.1")
7030 (source
7031 (origin
7032 (method url-fetch)
7033 (uri (string-append
7034 "https://hackage.haskell.org/package/patience/patience-"
7035 version ".tar.gz"))
7036 (sha256
7037 (base32
7038 "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
7039 (build-system haskell-build-system)
7040 (home-page "https://hackage.haskell.org/package/patience")
7041 (synopsis "Patience diff and longest increasing subsequence")
7042 (description
7043 "This library implements the 'patience diff' algorithm, as well as the
7044 patience algorithm for the longest increasing subsequence problem.
7045 Patience diff computes the difference between two lists, for example the lines
7046 of two versions of a source file. It provides a good balance between
7047 performance, nice output for humans, and simplicity of implementation.")
7048 (license license:bsd-3)))
7049
7050 (define-public ghc-monads-tf
7051 (package
7052 (name "ghc-monads-tf")
7053 (version "0.1.0.3")
7054 (source
7055 (origin
7056 (method url-fetch)
7057 (uri (string-append
7058 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7059 version ".tar.gz"))
7060 (sha256
7061 (base32
7062 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7063 (build-system haskell-build-system)
7064 (home-page "https://hackage.haskell.org/package/monads-tf")
7065 (synopsis "Monad classes, using type families")
7066 (description
7067 "Monad classes using type families, with instances for various monad transformers,
7068 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7069 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7070 the @code{mtl-tf} package.")
7071 (license license:bsd-3)))
7072
7073 (define-public ghc-colour
7074 (package
7075 (name "ghc-colour")
7076 (version "2.3.3")
7077 (source
7078 (origin
7079 (method url-fetch)
7080 (uri (string-append
7081 "https://hackage.haskell.org/package/colour/colour-"
7082 version ".tar.gz"))
7083 (sha256
7084 (base32
7085 "1qmn1778xzg07jg9nx4k1spdz2llivpblf6wwrps1qpqjhsac5cd"))))
7086 (build-system haskell-build-system)
7087 (home-page "https://www.haskell.org/haskellwiki/Colour")
7088 (synopsis "Model for human colour perception")
7089 (description
7090 "This package provides a data type for colours and transparency.
7091 Colours can be blended and composed. Various colour spaces are
7092 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
7093 (license license:expat)))
7094
7095 (define-public ghc-wl-pprint-text
7096 (package
7097 (name "ghc-wl-pprint-text")
7098 (version "1.2.0.0")
7099 (source
7100 (origin
7101 (method url-fetch)
7102 (uri (string-append
7103 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
7104 version ".tar.gz"))
7105 (sha256
7106 (base32
7107 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
7108 (build-system haskell-build-system)
7109 (inputs
7110 `(("ghc-base-compat" ,ghc-base-compat)
7111 ("ghc-text" ,ghc-text)))
7112 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
7113 (synopsis "Wadler/Leijen Pretty Printer for Text values")
7114 (description
7115 "A clone of wl-pprint for use with the text library.")
7116 (license license:bsd-3)))
7117
7118 (define-public ghc-fgl-arbitrary
7119 (package
7120 (name "ghc-fgl-arbitrary")
7121 (version "0.2.0.3")
7122 (source
7123 (origin
7124 (method url-fetch)
7125 (uri (string-append
7126 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
7127 version ".tar.gz"))
7128 (sha256
7129 (base32
7130 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
7131 (build-system haskell-build-system)
7132 (arguments
7133 `(#:configure-flags (list "--allow-newer=QuickCheck"
7134 "--allow-newer=hspec")))
7135 (inputs
7136 `(("ghc-fgl" ,ghc-fgl)
7137 ("ghc-quickcheck" ,ghc-quickcheck)
7138 ("ghc-hspec" ,ghc-hspec)))
7139 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
7140 (synopsis "QuickCheck support for fgl")
7141 (description
7142 "Provides Arbitrary instances for fgl graphs to avoid adding a
7143 QuickCheck dependency for fgl whilst still making the instances
7144 available to others. Also available are non-fgl-specific functions
7145 for generating graph-like data structures.")
7146 (license license:bsd-3)))
7147
7148 (define-public ghc-graphviz
7149 (package
7150 (name "ghc-graphviz")
7151 (version "2999.20.0.2")
7152 (source (origin
7153 (method url-fetch)
7154 (uri (string-append "https://hackage.haskell.org/package/"
7155 "graphviz/graphviz-" version ".tar.gz"))
7156 (sha256
7157 (base32
7158 "0kj7ap0gnliviq2p8lscw1m06capnsa90vpvcys24nqy5nw2wrp7"))))
7159 (build-system haskell-build-system)
7160 (arguments
7161 `(#:configure-flags (list "--allow-newer=QuickCheck")))
7162 (inputs
7163 `(("ghc-quickcheck" ,ghc-quickcheck)
7164 ("ghc-colour" ,ghc-colour)
7165 ("ghc-dlist" ,ghc-dlist)
7166 ("ghc-fgl" ,ghc-fgl)
7167 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
7168 ("ghc-polyparse" ,ghc-polyparse)
7169 ("ghc-temporary" ,ghc-temporary)
7170 ("ghc-text" ,ghc-text)
7171 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
7172 (native-inputs
7173 `(("ghc-hspec" ,ghc-hspec)
7174 ("graphviz" ,graphviz)
7175 ("hspec-discover" ,hspec-discover)))
7176 (home-page "https://hackage.haskell.org/package/graphviz")
7177 (synopsis "Bindings to Graphviz for graph visualisation")
7178 (description
7179 "This library provides bindings for the Dot language used by
7180 the @uref{https://graphviz.org/, Graphviz} suite of programs for
7181 visualising graphs, as well as functions to call those programs.
7182 Main features of the graphviz library include:
7183
7184 @enumerate
7185 @item Almost complete coverage of all Graphviz attributes and syntax
7186 @item Support for specifying clusters
7187 @item The ability to use a custom node type
7188 @item Functions for running a Graphviz layout tool with all specified output types
7189 @item Generate and parse Dot code with two options: strict and liberal
7190 @item Functions to convert FGL graphs and other graph-like data structures
7191 @item Round-trip support for passing an FGL graph through Graphviz to augment node
7192 and edge labels with positional information, etc.
7193 @end enumerate\n")
7194 (license license:bsd-3)))
7195
7196 (define-public ghc-constraints
7197 (package
7198 (name "ghc-constraints")
7199 (version "0.8")
7200 (source
7201 (origin
7202 (method url-fetch)
7203 (uri (string-append
7204 "https://hackage.haskell.org/package/constraints/constraints-"
7205 version ".tar.gz"))
7206 (sha256
7207 (base32
7208 "120mmv9rwbahslisc1z8zx9lw7v6hl5fzid4l0hiy5as6ijqgl2c"))))
7209 (build-system haskell-build-system)
7210 (inputs
7211 `(("ghc-hashable" ,ghc-hashable)
7212 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7213 (home-page "https://github.com/ekmett/constraints/")
7214 (synopsis "Constraint manipulation")
7215 (description
7216 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
7217 They stopped crashing the compiler in GHC 7.6. This package provides
7218 a vocabulary for working with them.")
7219 (license license:bsd-3)))
7220
7221 (define-public ghc-lifted-async
7222 (package
7223 (name "ghc-lifted-async")
7224 (version "0.9.0")
7225 (source
7226 (origin
7227 (method url-fetch)
7228 (uri (string-append
7229 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7230 version ".tar.gz"))
7231 (sha256
7232 (base32
7233 "00fnwfcnc6niq9jbbb9rap9rkdgv5qhcglwanzc5fi8834j94c1r"))))
7234 (build-system haskell-build-system)
7235 (inputs
7236 `(("ghc-async" ,ghc-async)
7237 ("ghc-lifted-base" ,ghc-lifted-base)
7238 ("ghc-transformers-base" ,ghc-transformers-base)
7239 ("ghc-monad-control" ,ghc-monad-control)
7240 ("ghc-constraints" ,ghc-constraints)
7241 ("ghc-hunit" ,ghc-hunit)
7242 ("ghc-tasty" ,ghc-tasty)
7243 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7244 ("ghc-tasty-th" ,ghc-tasty-th)))
7245 (home-page "https://github.com/maoe/lifted-async")
7246 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7247 (description
7248 "This package provides IO operations from @code{async} package lifted to any
7249 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7250 (license license:bsd-3)))
7251
7252 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
7253 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
7254 ;; which depends on ghc-chell and ghc-chell-quickcheck.
7255 ;; Therefore we bootstrap it with tests disabled.
7256 (define ghc-system-filepath-bootstrap
7257 (package
7258 (name "ghc-system-filepath-bootstrap")
7259 (version "0.4.13.4")
7260 (source
7261 (origin
7262 (method url-fetch)
7263 (uri (string-append
7264 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7265 version ".tar.gz"))
7266 (sha256
7267 (base32
7268 "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l"))))
7269 (build-system haskell-build-system)
7270 (arguments
7271 `(#:tests? #f))
7272 (inputs
7273 `(("ghc-text" ,ghc-text)
7274 ("ghc-quickcheck" ,ghc-quickcheck)))
7275 (home-page "https://github.com/fpco/haskell-filesystem")
7276 (synopsis "High-level, byte-based file and directory path manipulations")
7277 (description
7278 "Provides a FilePath datatype and utility functions for operating on it.
7279 Unlike the filepath package, this package does not simply reuse String,
7280 increasing type safety.")
7281 (license license:expat)))
7282
7283 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
7284 ;; ghc-system-filepath.
7285 (define ghc-system-fileio-bootstrap
7286 (package
7287 (name "ghc-system-fileio-bootstrap")
7288 (version "0.3.16.3")
7289 (source
7290 (origin
7291 (method url-fetch)
7292 (uri (string-append
7293 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7294 version ".tar.gz"))
7295 (sha256
7296 (base32
7297 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7298 (build-system haskell-build-system)
7299 (arguments
7300 `(#:tests? #f))
7301 (inputs
7302 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7303 ("ghc-text" ,ghc-text)
7304 ("ghc-temporary" ,ghc-temporary)))
7305 (home-page "https://github.com/fpco/haskell-filesystem")
7306 (synopsis "Consistent file system interaction across GHC versions")
7307 (description
7308 "This is a small wrapper around the directory, unix, and Win32 packages,
7309 for use with system-filepath. It provides a consistent API to the various
7310 versions of these packages distributed with different versions of GHC.
7311 In particular, this library supports working with POSIX files that have paths
7312 which can't be decoded in the current locale encoding.")
7313 (license license:expat)))
7314
7315 (define-public ghc-shelly
7316 (package
7317 (name "ghc-shelly")
7318 (version "1.8.1")
7319 (source
7320 (origin
7321 (method url-fetch)
7322 (uri (string-append
7323 "https://hackage.haskell.org/package/shelly/shelly-"
7324 version ".tar.gz"))
7325 (sha256
7326 (base32
7327 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
7328 (build-system haskell-build-system)
7329 (inputs
7330 `(("ghc-unix-compat" ,ghc-unix-compat)
7331 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7332 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
7333 ("ghc-monad-control" ,ghc-monad-control)
7334 ("ghc-lifted-base" ,ghc-lifted-base)
7335 ("ghc-lifted-async" ,ghc-lifted-async)
7336 ("ghc-exceptions" ,ghc-exceptions)
7337 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
7338 ("ghc-text" ,ghc-text)
7339 ("ghc-async" ,ghc-async)
7340 ("ghc-transformers-base" ,ghc-transformers-base)
7341 ("ghc-hunit" ,ghc-hunit)
7342 ("ghc-hspec" ,ghc-hspec)
7343 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
7344 (home-page "https://github.com/yesodweb/Shelly.hs")
7345 (synopsis "Shell-like (systems) programming in Haskell")
7346 (description
7347 "Shelly provides convenient systems programming in Haskell, similar in
7348 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
7349 (license license:bsd-3)))
7350
7351 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
7352 (define ghc-options-bootstrap
7353 (package
7354 (name "ghc-options-bootstrap")
7355 (version "1.2.1.1")
7356 (source
7357 (origin
7358 (method url-fetch)
7359 (uri (string-append
7360 "https://hackage.haskell.org/package/options/options-"
7361 version ".tar.gz"))
7362 (sha256
7363 (base32
7364 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7365 (build-system haskell-build-system)
7366 (arguments
7367 `(#:tests? #f))
7368 (inputs
7369 `(("ghc-monads-tf" ,ghc-monads-tf)))
7370 (home-page "https://john-millikin.com/software/haskell-options/")
7371 (synopsis "Powerful and easy-to-use command-line option parser")
7372 (description
7373 "The @code{options} package lets library and application developers
7374 easily work with command-line options.")
7375 (license license:expat)))
7376
7377 (define-public ghc-chell
7378 (package
7379 (name "ghc-chell")
7380 (version "0.4.0.1")
7381 (source
7382 (origin
7383 (method url-fetch)
7384 (uri (string-append
7385 "https://hackage.haskell.org/package/chell/chell-"
7386 version ".tar.gz"))
7387 (sha256
7388 (base32
7389 "0lb95abzxl4a87nfqxsxpb3a39pd52cci43hcvj8615hyhqvs2jz"))))
7390 (build-system haskell-build-system)
7391 (inputs
7392 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
7393 ("ghc-patience" ,ghc-patience)
7394 ("ghc-random" ,ghc-random)
7395 ("ghc-text" ,ghc-text)
7396 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
7397 (home-page "https://john-millikin.com/software/chell/")
7398 (synopsis "Simple and intuitive library for automated testing")
7399 (description
7400 "Chell is a simple and intuitive library for automated testing.
7401 It natively supports assertion-based testing, and can use companion
7402 libraries such as @code{chell-quickcheck} to support more complex
7403 testing strategies.")
7404 (license license:expat)))
7405
7406 (define ghc-chell-quickcheck-bootstrap
7407 (package
7408 (name "ghc-chell-quickcheck-bootstrap")
7409 (version "0.2.5.1")
7410 (source
7411 (origin
7412 (method url-fetch)
7413 (uri (string-append
7414 "https://hackage.haskell.org/package/chell-quickcheck/"
7415 "chell-quickcheck-" version ".tar.gz"))
7416 (sha256
7417 (base32
7418 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7419 (build-system haskell-build-system)
7420 (inputs
7421 `(("ghc-chell" ,ghc-chell)
7422 ("ghc-random" ,ghc-random)
7423 ("ghc-quickcheck" ,ghc-quickcheck)))
7424 (arguments
7425 `(#:tests? #f))
7426 (home-page "https://john-millikin.com/software/chell/")
7427 (synopsis "QuickCheck support for the Chell testing library")
7428 (description "More complex tests for @code{chell}.")
7429 (license license:expat)))
7430
7431 (define-public ghc-chell-quickcheck
7432 (package
7433 (name "ghc-chell-quickcheck")
7434 (version "0.2.5.1")
7435 (source
7436 (origin
7437 (method url-fetch)
7438 (uri (string-append
7439 "https://hackage.haskell.org/package/chell-quickcheck/"
7440 "chell-quickcheck-" version ".tar.gz"))
7441 (sha256
7442 (base32
7443 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7444 (build-system haskell-build-system)
7445 (inputs
7446 `(("ghc-chell" ,ghc-chell)
7447 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
7448 ("ghc-random" ,ghc-random)
7449 ("ghc-quickcheck" ,ghc-quickcheck)))
7450 (home-page "https://john-millikin.com/software/chell/")
7451 (synopsis "QuickCheck support for the Chell testing library")
7452 (description "More complex tests for @code{chell}.")
7453 (license license:expat)))
7454
7455 (define-public ghc-options
7456 (package
7457 (name "ghc-options")
7458 (version "1.2.1.1")
7459 (source
7460 (origin
7461 (method url-fetch)
7462 (uri (string-append
7463 "https://hackage.haskell.org/package/options/options-"
7464 version ".tar.gz"))
7465 (sha256
7466 (base32
7467 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7468 (build-system haskell-build-system)
7469 (inputs
7470 `(("ghc-monads-tf" ,ghc-monads-tf)
7471 ("ghc-chell" ,ghc-chell)
7472 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
7473 (home-page "https://john-millikin.com/software/haskell-options/")
7474 (synopsis "Powerful and easy-to-use command-line option parser")
7475 (description
7476 "The @code{options} package lets library and application developers
7477 easily work with command-line options.")
7478 (license license:expat)))
7479
7480 (define-public ghc-system-filepath
7481 (package
7482 (name "ghc-system-filepath")
7483 (version "0.4.14")
7484 (source
7485 (origin
7486 (method url-fetch)
7487 (uri (string-append
7488 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7489 version ".tar.gz"))
7490 (sha256
7491 (base32
7492 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
7493 (build-system haskell-build-system)
7494 ;; FIXME: One of the tests fails:
7495 ;; [ FAIL ] tests.validity.posix
7496 ;; note: seed=7310214548328823169
7497 ;; *** Failed! Falsifiable (after 24 tests):
7498 ;; 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"
7499 (arguments `(#:tests? #f))
7500 (inputs
7501 `(("ghc-text" ,ghc-text)
7502 ("ghc-chell" ,ghc-chell)
7503 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
7504 ("ghc-quickcheck" ,ghc-quickcheck)))
7505 (home-page "https://github.com/fpco/haskell-filesystem")
7506 (synopsis "High-level, byte-based file and directory path manipulations")
7507 (description
7508 "Provides a FilePath datatype and utility functions for operating on it.
7509 Unlike the filepath package, this package does not simply reuse String,
7510 increasing type safety.")
7511 (license license:expat)))
7512
7513 (define-public ghc-system-fileio
7514 (package
7515 (name "ghc-system-fileio")
7516 (version "0.3.16.3")
7517 (source
7518 (origin
7519 (method url-fetch)
7520 (uri (string-append
7521 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7522 version ".tar.gz"))
7523 (sha256
7524 (base32
7525 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7526 (build-system haskell-build-system)
7527 (inputs
7528 `(("ghc-system-filepath" ,ghc-system-filepath)
7529 ("ghc-text" ,ghc-text)
7530 ("ghc-chell" ,ghc-chell)
7531 ("ghc-temporary" ,ghc-temporary)))
7532 (home-page "https://github.com/fpco/haskell-filesystem")
7533 (synopsis "Consistent file system interaction across GHC versions")
7534 (description
7535 "This is a small wrapper around the directory, unix, and Win32 packages,
7536 for use with system-filepath. It provides a consistent API to the various
7537 versions of these packages distributed with different versions of GHC.
7538 In particular, this library supports working with POSIX files that have paths
7539 which can't be decoded in the current locale encoding.")
7540 (license license:expat)))
7541
7542 (define-public ghc-storable-complex
7543 (package
7544 (name "ghc-storable-complex")
7545 (version "0.2.2")
7546 (source
7547 (origin
7548 (method url-fetch)
7549 (uri (string-append
7550 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
7551 version ".tar.gz"))
7552 (sha256
7553 (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
7554 (build-system haskell-build-system)
7555 (home-page "https://github.com/cartazio/storable-complex")
7556 (synopsis "Haskell Storable instance for Complex")
7557 (description "This package provides a Haskell library including a
7558 Storable instance for Complex which is binary compatible with C99, C++
7559 and Fortran complex data types.")
7560 (license license:bsd-3)))
7561
7562 (define-public ghc-hmatrix
7563 (package
7564 (name "ghc-hmatrix")
7565 (version "0.18.1.0")
7566 (source
7567 (origin
7568 (method url-fetch)
7569 (uri (string-append
7570 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
7571 version ".tar.gz"))
7572 (sha256
7573 (base32 "07zkwvg872hfk6jyn4s54ws8mvclynazaxf7fsbqi16dmf9dn61c"))))
7574 (build-system haskell-build-system)
7575 (inputs
7576 `(("ghc-random" ,ghc-random)
7577 ("ghc-split" ,ghc-split)
7578 ("ghc-storable-complex" ,ghc-storable-complex)
7579 ("ghc-vector" ,ghc-vector)
7580 ;;("openblas" ,openblas)
7581 ("lapack" ,lapack)))
7582 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
7583 ;; disables inclusion of the LAPACK functions.
7584 ;; (arguments `(#:configure-flags '("--flags=openblas")))
7585 (home-page "https://github.com/albertoruiz/hmatrix")
7586 (synopsis "Haskell numeric linear algebra library")
7587 (description "The HMatrix package provices a Haskell library for
7588 dealing with linear systems, matrix decompositions, and other
7589 numerical computations based on BLAS and LAPACK.")
7590 (license license:bsd-3)))
7591
7592 (define-public ghc-hmatrix-gsl
7593 (package
7594 (name "ghc-hmatrix-gsl")
7595 (version "0.18.0.1")
7596 (source
7597 (origin
7598 (method url-fetch)
7599 (uri (string-append
7600 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
7601 version ".tar.gz"))
7602 (sha256
7603 (base32 "0mflm7zg6c6a5vy092pa429rzpyv5drc1589r3x4fbmvcyqc79gx"))))
7604 (build-system haskell-build-system)
7605 (inputs
7606 `(("ghc-hmatrix" ,ghc-hmatrix)
7607 ("ghc-vector" ,ghc-vector)
7608 ("ghc-random" ,ghc-random)
7609 ("gsl" ,gsl)))
7610 (native-inputs `(("pkg-config" ,pkg-config)))
7611 (home-page "https://github.com/albertoruiz/hmatrix")
7612 (synopsis "Haskell GSL binding")
7613 (description "This Haskell library provides a purely functional
7614 interface to selected numerical computations, internally implemented
7615 using GSL.")
7616 (license license:gpl3+)))
7617
7618 (define-public ghc-hmatrix-special
7619 (package
7620 (name "ghc-hmatrix-special")
7621 (version "0.4.0.1")
7622 (source
7623 (origin
7624 (method url-fetch)
7625 (uri
7626 (string-append
7627 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
7628 version ".tar.gz"))
7629 (sha256
7630 (base32 "0kpcqdchi7ikzhqacy4rh4dxz3v37paxyb84wqa66sysb72wkabj"))))
7631 (build-system haskell-build-system)
7632 (inputs
7633 `(("ghc-hmatrix" ,ghc-hmatrix)
7634 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
7635 (home-page "https://github.com/albertoruiz/hmatrix")
7636 (synopsis "Haskell interface to GSL special functions")
7637 (description "This library provides an interface to GSL special
7638 functions for Haskell.")
7639 (license license:gpl3+)))
7640
7641 (define-public ghc-hmatrix-gsl-stats
7642 (package
7643 (name "ghc-hmatrix-gsl-stats")
7644 (version "0.4.1.7")
7645 (source
7646 (origin
7647 (method url-fetch)
7648 (uri
7649 (string-append
7650 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
7651 version ".tar.gz"))
7652 (sha256
7653 (base32 "1gslgk58lzin43cvbpivhw7nrn9qyaa6qwhy1z9ypvyal5p8n3sa"))))
7654 (build-system haskell-build-system)
7655 (inputs
7656 `(("ghc-vector" ,ghc-vector)
7657 ("ghc-storable-complex" ,ghc-storable-complex)
7658 ("ghc-hmatrix" ,ghc-hmatrix)
7659 ("gsl" ,gsl)))
7660 (native-inputs `(("pkg-config" ,pkg-config)))
7661 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
7662 (synopsis "GSL Statistics interface for Haskell")
7663 (description "This Haskell library provides a purely functional
7664 interface for statistics based on hmatrix and GSL.")
7665 (license license:bsd-3)))
7666
7667 (define-public ghc-easyplot
7668 (package
7669 (name "ghc-easyplot")
7670 (version "1.0")
7671 (source
7672 (origin
7673 (method url-fetch)
7674 (uri (string-append
7675 "https://hackage.haskell.org/package/easyplot/easyplot-"
7676 version ".tar.gz"))
7677 (sha256
7678 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
7679 (build-system haskell-build-system)
7680 (propagated-inputs `(("gnuplot" ,gnuplot)))
7681 (arguments
7682 `(#:phases (modify-phases %standard-phases
7683 (add-after 'unpack 'fix-setup-suffix
7684 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
7685 (home-page "https://hub.darcs.net/scravy/easyplot")
7686 (synopsis "Haskell plotting library based on gnuplot")
7687 (description "This package provides a plotting library for
7688 Haskell, using gnuplot for rendering.")
7689 (license license:expat)))
7690
7691 (define-public ghc-hashtables
7692 (package
7693 (name "ghc-hashtables")
7694 (version "1.2.1.0")
7695 (source
7696 (origin
7697 (method url-fetch)
7698 (uri (string-append
7699 "https://hackage.haskell.org/package/hashtables/hashtables-"
7700 version ".tar.gz"))
7701 (sha256
7702 (base32 "1b6w9xznk42732vpd8ili60k12yq190xnajgga0iwbdpyg424lgg"))))
7703 (build-system haskell-build-system)
7704 (arguments
7705 `(#:configure-flags (list "--allow-newer=vector")))
7706 (inputs
7707 `(("ghc-hashable" ,ghc-hashable)
7708 ("ghc-primitive" ,ghc-primitive)
7709 ("ghc-vector" ,ghc-vector)))
7710 (home-page "https://github.com/gregorycollins/hashtables")
7711 (synopsis "Haskell Mutable hash tables in the ST monad")
7712 (description "This package provides a Haskell library including a
7713 couple of different implementations of mutable hash tables in the ST
7714 monad, as well as a typeclass abstracting their common operations, and
7715 a set of wrappers to use the hash tables in the IO monad.")
7716 (license license:bsd-3)))
7717
7718 (define-public ghc-data-accessor
7719 (package
7720 (name "ghc-data-accessor")
7721 (version "0.2.2.7")
7722 (source
7723 (origin
7724 (method url-fetch)
7725 (uri (string-append
7726 "mirror://hackage/package/data-accessor/data-accessor-"
7727 version ".tar.gz"))
7728 (sha256
7729 (base32 "1vf2g1gac3rm32g97rl0fll51m88q7ry4m6khnl5j47qsmx24r9l"))))
7730 (build-system haskell-build-system)
7731 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7732 (synopsis
7733 "Haskell utilities for accessing and manipulating fields of records")
7734 (description "This package provides Haskell modules for accessing and
7735 manipulating fields of records.")
7736 (license license:bsd-3)))
7737
7738 (define-public ghc-data-accessor-transformers
7739 (package
7740 (name "ghc-data-accessor-transformers")
7741 (version "0.2.1.7")
7742 (source
7743 (origin
7744 (method url-fetch)
7745 (uri (string-append
7746 "mirror://hackage/package/data-accessor-transformers/"
7747 "data-accessor-transformers-" version ".tar.gz"))
7748 (sha256
7749 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
7750 (build-system haskell-build-system)
7751 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
7752 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7753 (synopsis "Use Accessor to access state in transformers State monad")
7754 (description "This package provides Haskell modules to allow use of
7755 Accessor to access state in transformers State monad.")
7756 (license license:bsd-3)))
7757
7758 (define-public ghc-utility-ht
7759 (package
7760 (name "ghc-utility-ht")
7761 (version "0.0.12")
7762 (home-page "https://hackage.haskell.org/package/utility-ht")
7763 (source
7764 (origin
7765 (method url-fetch)
7766 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
7767 (sha256
7768 (base32 "1vq5bd51rl9l5lgfmaqxgiggddk38hzgngcj7qgrqnalcd1myi54"))))
7769 (build-system haskell-build-system)
7770 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
7771 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
7772 (description "This package includes Hakell modules providing various
7773 helper functions for Lists, Maybes, Tuples, Functions.")
7774 (license license:bsd-3)))
7775
7776 (define-public ghc-gnuplot
7777 (package
7778 (name "ghc-gnuplot")
7779 (version "0.5.4.1")
7780 (source
7781 (origin
7782 (method url-fetch)
7783 (uri (string-append
7784 "mirror://hackage/package/gnuplot/gnuplot-"
7785 version ".tar.gz"))
7786 (sha256
7787 (base32 "1xz8prw9xjk0rsyrkp9bsmxykzrbhpv9qhhkdapy75mdbmgwjm7s"))))
7788 (build-system haskell-build-system)
7789 (inputs
7790 `(("ghc-temporary" ,ghc-temporary)
7791 ("ghc-utility-ht" ,ghc-utility-ht)
7792 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
7793 ("ghc-data-accessor" ,ghc-data-accessor)
7794 ("gnuplot" ,gnuplot)))
7795 (arguments
7796 `(#:phases
7797 (modify-phases %standard-phases
7798 (add-before 'configure 'fix-path-to-gnuplot
7799 (lambda* (#:key inputs #:allow-other-keys)
7800 (let ((gnuplot (assoc-ref inputs "gnuplot")))
7801 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
7802 (("(gnuplotName = ).*$" all cmd)
7803 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
7804 (home-page "https://www.haskell.org/haskellwiki/Gnuplot")
7805 (synopsis "2D and 3D plots using gnuplot")
7806 (description "This package provides a Haskell module for creating 2D and
7807 3D plots using gnuplot.")
7808 (license license:bsd-3)))
7809
7810 (define-public ghc-hinotify
7811 (package
7812 (name "ghc-hinotify")
7813 (version "0.3.8.1")
7814 (source (origin
7815 (method url-fetch)
7816 (uri (string-append
7817 "https://hackage.haskell.org/package/hinotify/"
7818 "hinotify-" version ".tar.gz"))
7819 (sha256
7820 (base32
7821 "03c1f4d7x805zdiq2w26kl09xrfjw19saycdkhnixzv2qcr6xm1p"))))
7822 (build-system haskell-build-system)
7823 (home-page "https://github.com/kolmodin/hinotify.git")
7824 (synopsis "Haskell binding to inotify")
7825 (description "This library provides a wrapper to the Linux kernel's inotify
7826 feature, allowing applications to subscribe to notifications when a file is
7827 accessed or modified.")
7828 (license license:bsd-3)))
7829
7830 (define-public ghc-fsnotify
7831 (package
7832 (name "ghc-fsnotify")
7833 (version "0.2.1")
7834 (source (origin
7835 (method url-fetch)
7836 (uri (string-append
7837 "https://hackage.haskell.org/package/fsnotify/"
7838 "fsnotify-" version ".tar.gz"))
7839 (sha256
7840 (base32
7841 "0asl313a52qx2w6dw25g845683xsl840bwjh118nkwi5v1xipkzb"))))
7842 (build-system haskell-build-system)
7843 (inputs
7844 `(("ghc-text" ,ghc-text)
7845 ("ghc-async" ,ghc-async)
7846 ("ghc-unix-compat" ,ghc-unix-compat)
7847 ("ghc-hinotify" ,ghc-hinotify)
7848 ("ghc-tasty" ,ghc-tasty)
7849 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7850 ("ghc-temporary-rc" ,ghc-temporary-rc)))
7851 (home-page "https://github.com/haskell-fswatch/hfsnotify")
7852 (synopsis "Cross platform library for file change notification.")
7853 (description "Cross platform library for file creation, modification, and
7854 deletion notification. This library builds upon existing libraries for platform
7855 specific Windows, Mac, and Linux file system event notification.")
7856 (license license:bsd-3)))
7857
7858 (define-public ghc-ieee754
7859 (package
7860 (name "ghc-ieee754")
7861 (version "0.7.8")
7862 (source (origin
7863 (method url-fetch)
7864 (uri (string-append
7865 "https://hackage.haskell.org/package/ieee754/"
7866 "ieee754-" version ".tar.gz"))
7867 (sha256
7868 (base32
7869 "1zvfnnd5nm5kgr60214cdyks0kqdqyzpwk5sdh0s60yr8b7fyjny"))))
7870 (build-system haskell-build-system)
7871 (home-page "https://github.com/patperry/hs-ieee754")
7872 (synopsis "Utilities for dealing with IEEE floating point numbers")
7873 (description "Utilities for dealing with IEEE floating point numbers,
7874 ported from the Tango math library; approximate and exact equality comparisons
7875 for general types.")
7876 (license license:bsd-3)))
7877
7878 (define-public ghc-terminal-size
7879 (package
7880 (name "ghc-terminal-size")
7881 (version "0.3.2.1")
7882 (source (origin
7883 (method url-fetch)
7884 (uri (string-append
7885 "https://hackage.haskell.org/package/terminal-size/"
7886 "terminal-size-" version ".tar.gz"))
7887 (sha256
7888 (base32
7889 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
7890 (build-system haskell-build-system)
7891 (home-page "https://hackage.haskell.org/package/terminal-size")
7892 (synopsis "Get terminal window height and width")
7893 (description "Get terminal window height and width without ncurses
7894 dependency.")
7895 (license license:bsd-3)))
7896
7897 (define-public ghc-language-c
7898 (package
7899 (name "ghc-language-c")
7900 (version "0.5.0")
7901 (source
7902 (origin
7903 (method url-fetch)
7904 (uri (string-append "https://hackage.haskell.org/package/"
7905 "language-c/language-c-" version ".tar.gz"))
7906 (sha256
7907 (base32
7908 "08i2bl7jmmymn2sldzlbz6ig7lx3wfwhlpadzibs3fx72z08pmc6"))))
7909 (build-system haskell-build-system)
7910 (inputs `(("ghc-syb" ,ghc-syb)))
7911 (native-inputs
7912 `(("ghc-happy" ,ghc-happy)
7913 ("ghc-alex" ,ghc-alex)))
7914 (home-page "https://visq.github.io/language-c/")
7915 (synopsis "Analysis and generation of C code")
7916 (description
7917 "Language C is a Haskell library for the analysis and generation of C code.
7918 It features a complete, well-tested parser and pretty printer for all of C99
7919 and a large set of GNU extensions.")
7920 (license license:bsd-3)))
7921
7922 (define-public ghc-markdown-unlit
7923 (package
7924 (name "ghc-markdown-unlit")
7925 (version "0.4.0")
7926 (source (origin
7927 (method url-fetch)
7928 (uri (string-append
7929 "mirror://hackage/package/markdown-unlit/"
7930 "markdown-unlit-" version ".tar.gz"))
7931 (sha256
7932 (base32
7933 "1kj2bffl7ndd8ygwwa3r1mbpwbxbfhyfgnbla8k8g9i6ffp0qrbw"))))
7934 (build-system haskell-build-system)
7935 (inputs
7936 `(("ghc-base-compat" ,ghc-base-compat)
7937 ("ghc-hspec" ,ghc-hspec)
7938 ("ghc-quickcheck" ,ghc-quickcheck)
7939 ("ghc-silently" ,ghc-silently)
7940 ("ghc-stringbuilder" ,ghc-stringbuilder)
7941 ("ghc-temporary" ,ghc-temporary)
7942 ("hspec-discover" ,hspec-discover)))
7943 (home-page "https://github.com/sol/markdown-unlit#readme")
7944 (synopsis "Literate Haskell support for Markdown")
7945 (description "This package allows you to have a README.md that at the
7946 same time is a literate Haskell program.")
7947 (license license:expat)))
7948
7949 (define-public corrode
7950 (let ((commit "b6699fb2fa552a07c6091276285a44133e5c9789"))
7951 (package
7952 (name "corrode")
7953 (version (string-append "0.0.1-" (string-take commit 7)))
7954 (source
7955 (origin
7956 (method git-fetch)
7957 (uri (git-reference
7958 (url "https://github.com/jameysharp/corrode.git")
7959 (commit "b6699fb2fa552a07c6091276285a44133e5c9789")))
7960 (file-name
7961 (string-append name "-" version "-checkout"))
7962 (sha256
7963 (base32 "02v0yyj6sk4gpg2222wzsdqjxn8w66scbnf6b20x0kbmc69qcz4r"))))
7964 (build-system haskell-build-system)
7965 (inputs
7966 `(("ghc-language-c" ,ghc-language-c)
7967 ("ghc-markdown-unlit" ,ghc-markdown-unlit)))
7968 (home-page "https://github.com/jameysharp/corrode")
7969 (synopsis "Automatic semantics-preserving translation from C to Rust")
7970 (description
7971 "This program reads a C source file and prints an equivalent module in
7972 Rust syntax. It is intended to be useful for two different purposes:
7973
7974 @enumerate
7975 @item Partial automation for migrating legacy code that was implemented in C.
7976 @item A new, complementary approach to static analysis for C programs.
7977 @end enumerate\n")
7978 (license license:gpl2+))))
7979
7980 (define-public ghc-wave
7981 (package
7982 (name "ghc-wave")
7983 (version "0.1.4")
7984 (source (origin
7985 (method url-fetch)
7986 (uri (string-append
7987 "https://hackage.haskell.org/package/wave/wave-"
7988 version
7989 ".tar.gz"))
7990 (sha256
7991 (base32
7992 "1g5nmqfk6p25v9ismwz4i66ay91bd1qh39xwj0hm4z6a5mw8frk8"))))
7993 (build-system haskell-build-system)
7994 (inputs
7995 `(("ghc-cereal" ,ghc-cereal)
7996 ("ghc-data-default-class"
7997 ,ghc-data-default-class)
7998 ("ghc-quickcheck" ,ghc-quickcheck)
7999 ("ghc-temporary" ,ghc-temporary)))
8000 (native-inputs
8001 `(("hspec-discover" ,hspec-discover)
8002 ("ghc-hspec" ,ghc-hspec)))
8003 (home-page "https://github.com/mrkkrp/wave")
8004 (synopsis "Work with WAVE and RF64 files in Haskell")
8005 (description "This package allows you to work with WAVE and RF64
8006 files in Haskell.")
8007 (license license:bsd-3)))
8008
8009 (define-public ghc-hslogger
8010 (package
8011 (name "ghc-hslogger")
8012 (version "1.2.10")
8013 (source
8014 (origin
8015 (method url-fetch)
8016 (uri (string-append "https://hackage.haskell.org/package/"
8017 "hslogger-" version "/" "hslogger-"
8018 version ".tar.gz"))
8019 (sha256 (base32
8020 "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp"))))
8021 (build-system haskell-build-system)
8022 (inputs
8023 `(("ghc-network" ,ghc-network)
8024 ("ghc-old-locale" ,ghc-old-locale)))
8025 (native-inputs
8026 `(("ghc-hunit" ,ghc-hunit)))
8027 (home-page "https://software.complete.org/hslogger")
8028 (synopsis "Logging framework for Haskell, similar to Python's logging module")
8029 (description "Hslogger lets each log message have a priority and source be
8030 associated with it. The programmer can then define global handlers that route
8031 or filter messages based on the priority and source. It also has a syslog
8032 handler built in.")
8033 (license license:bsd-3)))
8034
8035 (define-public ghc-unexceptionalio
8036 (package
8037 (name "ghc-unexceptionalio")
8038 (version "0.3.0")
8039 (source
8040 (origin
8041 (method url-fetch)
8042 (uri (string-append "https://hackage.haskell.org/package/"
8043 "unexceptionalio-" version "/" "unexceptionalio-"
8044 version ".tar.gz"))
8045 (sha256 (base32 "1f7h7zwky4scdcyjspg4ksfh7x6yra0wjybxq70p7vcwpgk2nzlj"))))
8046 (build-system haskell-build-system)
8047 (home-page "https://github.com/singpolyma/unexceptionalio")
8048 (synopsis "IO without any non-error, synchronous exceptions")
8049 (description "When you've caught all the exceptions that can be
8050 handled safely, this is what you're left with.")
8051 (license license:isc)))
8052
8053 (define-public ghc-json
8054 (package
8055 (name "ghc-json")
8056 (version "0.9.1")
8057 (source
8058 (origin
8059 (method url-fetch)
8060 (uri (string-append "https://hackage.haskell.org/package/json/"
8061 "json-" version ".tar.gz"))
8062 (sha256
8063 (base32
8064 "18l5027vc68hnnxrxlnyl59vkkg95a92m1zzms0dqiby2r6pxdcn"))))
8065 (build-system haskell-build-system)
8066 (inputs
8067 `(("ghc-syb" ,ghc-syb)
8068 ("ghc-text" ,ghc-text)
8069 ("ghc-parsec" ,ghc-parsec)))
8070 (home-page "https://hackage.haskell.org/package/json")
8071 (synopsis "Serializes Haskell data to and from JSON")
8072 (description "This package provides a parser and pretty printer for
8073 converting between Haskell values and JSON.
8074 JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
8075 (license license:bsd-3)))
8076
8077 (define-public ghc-esqueleto
8078 (package
8079 (name "ghc-esqueleto")
8080 (version "2.5.3")
8081 (source
8082 (origin
8083 (method url-fetch)
8084 (uri (string-append "https://hackage.haskell.org/package/"
8085 "esqueleto/esqueleto-" version ".tar.gz"))
8086 (sha256
8087 (base32
8088 "10n49rzqmblky7pwjnysalyy6nacmxfms8dqbsdv6hlyzr8pb69x"))))
8089 (build-system haskell-build-system)
8090 (inputs
8091 `(("ghc-blaze-html" ,ghc-blaze-html)
8092 ("ghc-conduit" ,ghc-conduit)
8093 ("ghc-monad-logger" ,ghc-monad-logger)
8094 ("ghc-persistent" ,ghc-persistent)
8095 ("ghc-resourcet" ,ghc-resourcet)
8096 ("ghc-tagged" ,ghc-tagged)
8097 ("ghc-text" ,ghc-text)
8098 ("ghc-unordered-containers" ,ghc-unordered-containers)))
8099 (native-inputs
8100 `(("ghc-hspec" ,ghc-hspec)
8101 ("ghc-hunit" ,ghc-hunit)
8102 ("ghc-monad-control" ,ghc-monad-control)
8103 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
8104 ("ghc-persistent-template" ,ghc-persistent-template)
8105 ("ghc-quickcheck" ,ghc-quickcheck)))
8106 (home-page "https://github.com/bitemyapp/esqueleto")
8107 (synopsis "Type-safe embedded domain specific language for SQL queries")
8108 (description "This library provides a type-safe embedded domain specific
8109 language (EDSL) for SQL queries that works with SQL backends as provided by
8110 @code{ghc-persistent}. Its language closely resembles SQL, so you don't have
8111 to learn new concepts, just new syntax, and it's fairly easy to predict the
8112 generated SQL and optimize it for your backend.")
8113 (license license:bsd-3)))
8114
8115 (define-public shellcheck
8116 (package
8117 (name "shellcheck")
8118 (version "0.4.6")
8119 (source
8120 (origin
8121 (method url-fetch)
8122 (uri (string-append "https://github.com/koalaman/shellcheck/archive/"
8123 "v" version ".tar.gz"))
8124 (sha256
8125 (base32
8126 "1qkd69lc34n3l23ss9rq1azvx49bfq4hi4bmaj76rgxybscxhg0w"))
8127 (file-name (string-append name "-" version ".tar.gz"))))
8128 (build-system haskell-build-system)
8129 (inputs
8130 `(("ghc-quickcheck" ,ghc-quickcheck)
8131 ("ghc-json" ,ghc-json)
8132 ("ghc-parsec" ,ghc-parsec)
8133 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
8134 (home-page "https://github.com/koalaman/shellcheck")
8135 (synopsis "Static analysis for shell scripts")
8136 (description "@code{shellcheck} provides static analysis for
8137 @command{bash} and @command{sh} shell scripts.
8138 It gives warnings and suggestions in order to:
8139
8140 @enumerate
8141 @item Point out and clarify typical beginner's syntax issues that cause
8142 a shell to give cryptic error messages.
8143 @item Point out and clarify typical intermediate level semantic problems
8144 that cause a shell to behave strangely and counter-intuitively.
8145 @item Point out subtle caveats, corner cases and pitfalls that may cause an
8146 advanced user's otherwise working script to fail under future circumstances.
8147 @end enumerate")
8148 (license license:gpl3+)))
8149
8150 (define-public ghc-simple-sendfile
8151 (package
8152 (name "ghc-simple-sendfile")
8153 (version "0.2.25")
8154 (source
8155 (origin
8156 (method url-fetch)
8157 (uri (string-append "https://hackage.haskell.org/package/"
8158 "simple-sendfile-" version "/"
8159 "simple-sendfile-" version ".tar.gz"))
8160 (sha256
8161 (base32
8162 "0k99j9xfcf83c55jmn202hdinhjaa4yn3dal4rvjk2w2rlhqirha"))))
8163 (build-system haskell-build-system)
8164 (inputs
8165 `(("ghc-conduit" ,ghc-conduit)
8166 ("ghc-conduit-extra" ,ghc-conduit-extra)
8167 ("ghc-network" ,ghc-network)
8168 ("ghc-resourcet" ,ghc-resourcet)))
8169 (native-inputs
8170 `(("ghc-hspec" ,ghc-hspec)
8171 ("hspec-discover" ,hspec-discover)))
8172 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
8173 (synopsis "Cross platform library for the sendfile system call")
8174 (description "This library tries to call minimum system calls which
8175 are the bottleneck of web servers.")
8176 (license license:bsd-3)))
8177
8178 (define-public ghc-hex
8179 (package
8180 (name "ghc-hex")
8181 (version "0.1.2")
8182 (source
8183 (origin
8184 (method url-fetch)
8185 (uri (string-append "https://hackage.haskell.org/package/"
8186 "hex-" version "/"
8187 "hex-" version ".tar.gz"))
8188 (sha256
8189 (base32
8190 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
8191 (build-system haskell-build-system)
8192 (home-page "https://hackage.haskell.org/package/hex")
8193 (synopsis "Convert strings into hexadecimal and back")
8194 (description "This package provides conversion functions between
8195 bytestrings and their hexademical representation.")
8196 (license license:bsd-3)))
8197
8198 (define-public ghc-psqueues
8199 (package
8200 (name "ghc-psqueues")
8201 (version "0.2.6.0")
8202 (source
8203 (origin
8204 (method url-fetch)
8205 (uri (string-append "https://hackage.haskell.org/package/"
8206 "psqueues-" version "/"
8207 "psqueues-" version ".tar.gz"))
8208 (sha256
8209 (base32
8210 "0n39s1i88j6s7vvsdhpbhcr3gpbwlzabwcc3nbd7nqb4kb4i0sls"))))
8211 (build-system haskell-build-system)
8212 (arguments
8213 `(#:configure-flags (list "--allow-newer=QuickCheck")))
8214 (inputs
8215 `(("ghc-hashable" ,ghc-hashable)))
8216 (native-inputs
8217 `(("ghc-hunit" ,ghc-hunit)
8218 ("ghc-quickcheck" ,ghc-quickcheck)
8219 ("ghc-tagged" ,ghc-tagged)
8220 ("ghc-test-framework" ,ghc-test-framework)
8221 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8222 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8223 (home-page "https://github.com/jaspervdj/psqueues")
8224 (synopsis "Pure priority search queues")
8225 (description "The psqueues package provides
8226 @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
8227 three different flavors:
8228
8229 @itemize
8230 @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
8231 fast insertion, deletion and lookup. This implementation is based on Ralf
8232 Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
8233 Implementation Technique for Priority Search Queues}.
8234
8235 Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
8236 PSQueue} library, although it is considerably faster and provides a slightly
8237 different API.
8238
8239 @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
8240 key type to @code{Int} and uses a
8241 @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
8242 with an additional min-heap property.
8243
8244 @item @code{HashPSQ k p v} is a fairly straightforward extension
8245 of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
8246 @code{IntPSQ}. If there are any hash collisions, it uses an
8247 @code{OrdPSQ} to resolve those. The performance of this implementation
8248 is comparable to that of @code{IntPSQ}, but it is more widely
8249 applicable since the keys are not restricted to @code{Int},
8250 but rather to any @code{Hashable} datatype.
8251 @end itemize
8252
8253 Each of the three implementations provides the same API, so they can
8254 be used interchangeably.
8255
8256 Typical applications of Priority Search Queues include:
8257
8258 @itemize
8259 @item Caches, and more specifically LRU Caches;
8260 @item Schedulers;
8261 @item Pathfinding algorithms, such as Dijkstra's and A*.
8262 @end itemize")
8263 (license license:bsd-3)))
8264
8265 (define-public ghc-glob
8266 (package
8267 (name "ghc-glob")
8268 (version "0.9.1")
8269 (source
8270 (origin
8271 (method url-fetch)
8272 (uri (string-append "https://hackage.haskell.org/package/"
8273 "Glob-" version "/"
8274 "Glob-" version ".tar.gz"))
8275 (sha256
8276 (base32
8277 "0rzmsknl02p332dxmm36fyrz3dpma7bchn0ymyjipxvqil20pjw0"))))
8278 (build-system haskell-build-system)
8279 (inputs
8280 `(("ghc-dlist" ,ghc-dlist)
8281 ("ghc-semigroups" ,ghc-semigroups)
8282 ("ghc-transformers-compat" ,ghc-transformers-compat)))
8283 (native-inputs
8284 `(("ghc-hunit" ,ghc-hunit)
8285 ("ghc-quickcheck" ,ghc-quickcheck)
8286 ("ghc-test-framework" ,ghc-test-framework)
8287 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8288 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8289 (home-page "http://iki.fi/matti.niemenmaa/glob/")
8290 (synopsis "Haskell library matching glob patterns against file paths")
8291 (description "This package provides a Haskell library for @dfn{globbing}:
8292 matching patterns against file paths.")
8293 (license license:bsd-3)))
8294
8295 (define-public ghc-errors
8296 (package
8297 (name "ghc-errors")
8298 (version "2.2.2")
8299 (source
8300 (origin
8301 (method url-fetch)
8302 (uri (string-append "https://hackage.haskell.org/package/"
8303 "errors-" version "/"
8304 "errors-" version ".tar.gz"))
8305 (sha256
8306 (base32
8307 "13sflhglcm5skwrxb48fw96skdcx7ydiy4zg22200733pxhjncpn"))))
8308 (build-system haskell-build-system)
8309 (inputs
8310 `(("ghc-exceptions" ,ghc-exceptions)
8311 ("ghc-text" ,ghc-text)
8312 ("ghc-transformers-compat" ,ghc-transformers-compat)
8313 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
8314 ("ghc-safe" ,ghc-safe)))
8315 (home-page "https://github.com/gabriel439/haskell-errors-library")
8316 (synopsis "Error handling library for Haskell")
8317 (description "This library encourages an error-handling style that
8318 directly uses the type system, rather than out-of-band exceptions.")
8319 (license license:bsd-3)))
8320
8321 (define-public ghc-vector-th-unbox
8322 (package
8323 (name "ghc-vector-th-unbox")
8324 (version "0.2.1.6")
8325 (source
8326 (origin
8327 (method url-fetch)
8328 (uri (string-append "https://hackage.haskell.org/package/"
8329 "vector-th-unbox-" version "/"
8330 "vector-th-unbox-" version ".tar.gz"))
8331 (sha256
8332 (base32
8333 "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy"))))
8334 (build-system haskell-build-system)
8335 (inputs
8336 `(("ghc-vector" ,ghc-vector)
8337 ("ghc-data-default" ,ghc-data-default)))
8338 (home-page "https://github.com/liyang/vector-th-unbox")
8339 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
8340 (description "This Haskell library provides a Template Haskell
8341 deriver for unboxed vectors, given a pair of coercion functions to
8342 and from some existing type with an Unbox instance.")
8343 (license license:bsd-3)))
8344
8345 (define-public ghc-erf
8346 (package
8347 (name "ghc-erf")
8348 (version "2.0.0.0")
8349 (source
8350 (origin
8351 (method url-fetch)
8352 (uri (string-append "https://hackage.haskell.org/package/"
8353 "erf-" version "/"
8354 "erf-" version ".tar.gz"))
8355 (sha256
8356 (base32
8357 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
8358 (build-system haskell-build-system)
8359 (home-page "https://hackage.haskell.org/package/erf")
8360 (synopsis "The error function, erf, and related functions for Haskell")
8361 (description "This Haskell library provides a type class for the
8362 error function, erf, and related functions. Instances for Float and
8363 Double.")
8364 (license license:bsd-3)))
8365
8366 (define-public ghc-math-functions
8367 (package
8368 (name "ghc-math-functions")
8369 (version "0.2.1.0")
8370 (source
8371 (origin
8372 (method url-fetch)
8373 (uri (string-append "https://hackage.haskell.org/package/"
8374 "math-functions-" version "/"
8375 "math-functions-" version ".tar.gz"))
8376 (sha256
8377 (base32
8378 "1sv5vabsx332v1lpb6v3jv4zrzvpx1n7yprzd8wlcda5vsc5a6zp"))))
8379 (build-system haskell-build-system)
8380 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
8381 (inputs
8382 `(("ghc-vector" ,ghc-vector)
8383 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
8384 (native-inputs
8385 `(("ghc-hunit" ,ghc-hunit)
8386 ("ghc-quickcheck" ,ghc-quickcheck)
8387 ("ghc-erf" ,ghc-erf)
8388 ("ghc-test-framework" ,ghc-test-framework)
8389 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8390 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8391 (home-page "https://github.com/bos/math-functions")
8392 (synopsis "Special functions and Chebyshev polynomials for Haskell")
8393 (description "This Haskell library provides implementations of
8394 special mathematical functions and Chebyshev polynomials. These
8395 functions are often useful in statistical and numerical computing.")
8396 (license license:bsd-3)))
8397
8398 (define-public ghc-mwc-random
8399 (package
8400 (name "ghc-mwc-random")
8401 (version "0.13.6.0")
8402 (source
8403 (origin
8404 (method url-fetch)
8405 (uri (string-append "https://hackage.haskell.org/package/"
8406 "mwc-random-" version "/"
8407 "mwc-random-" version ".tar.gz"))
8408 (sha256
8409 (base32
8410 "05j7yh0hh9nxic3dijmzv44kc6gzclvamdph7sq7w19wq57k6pq6"))))
8411 (build-system haskell-build-system)
8412 (inputs
8413 `(("ghc-primitive" ,ghc-primitive)
8414 ("ghc-vector" ,ghc-vector)
8415 ("ghc-math-functions" ,ghc-math-functions)))
8416 (arguments
8417 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8418 (native-inputs
8419 `(("ghc-hunit" ,ghc-hunit)
8420 ("ghc-quickcheck" ,ghc-quickcheck)
8421 ("ghc-test-framework" ,ghc-test-framework)
8422 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8423 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8424 (home-page "https://github.com/bos/mwc-random")
8425 (synopsis "Random number generation library for Haskell")
8426 (description "This Haskell package contains code for generating
8427 high quality random numbers that follow either a uniform or normal
8428 distribution. The generated numbers are suitable for use in
8429 statistical applications.
8430
8431 The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
8432 multiply-with-carry generator, which has a period of 2^{8222} and
8433 fares well in tests of randomness. It is also extremely fast,
8434 between 2 and 3 times faster than the Mersenne Twister.")
8435 (license license:bsd-3)))
8436
8437 (define-public ghc-vector-algorithms
8438 (package
8439 (name "ghc-vector-algorithms")
8440 (version "0.7.0.1")
8441 (source
8442 (origin
8443 (method url-fetch)
8444 (uri (string-append "https://hackage.haskell.org/package/"
8445 "vector-algorithms-" version "/"
8446 "vector-algorithms-" version ".tar.gz"))
8447 (sha256
8448 (base32
8449 "0w4hf598lpxfg58rnimcqxrbnpqq2jmpjx82qa5md3q6r90hlipd"))))
8450 (build-system haskell-build-system)
8451 ;; The limits have been adjusted in a revision of the cabal file.
8452 (arguments
8453 '(#:configure-flags (list "--allow-newer=vector")
8454 #:phases
8455 (modify-phases %standard-phases
8456 ;; The tests cannot be built due to type errors.
8457 (add-after 'unpack 'do-not-build-quickcheck-tests
8458 (lambda _
8459 (substitute* "vector-algorithms.cabal"
8460 (("\\!flag\\(properties\\)") "True"))
8461 #t)))))
8462 (inputs
8463 `(("ghc-vector" ,ghc-vector)
8464 ("ghc-mwc-random" ,ghc-mwc-random)))
8465 (native-inputs
8466 `(("ghc-quickcheck" ,ghc-quickcheck)))
8467 (home-page "https://github.com/bos/math-functions")
8468 (synopsis "Algorithms for vector arrays in Haskell")
8469 (description "This Haskell library algorithms for vector arrays.")
8470 (license license:bsd-3)))
8471
8472 (define-public ghc-language-haskell-extract
8473 (package
8474 (name "ghc-language-haskell-extract")
8475 (version "0.2.4")
8476 (source
8477 (origin
8478 (method url-fetch)
8479 (uri (string-append "https://hackage.haskell.org/package/"
8480 "language-haskell-extract-" version "/"
8481 "language-haskell-extract-" version ".tar.gz"))
8482 (sha256
8483 (base32
8484 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
8485 (build-system haskell-build-system)
8486 (inputs
8487 `(("ghc-regex-posix" ,ghc-regex-posix)))
8488 (home-page "https://github.com/finnsson/template-helper")
8489 (synopsis "Haskell module to automatically extract functions from
8490 the local code")
8491 (description "This package contains helper functions on top of
8492 Template Haskell.
8493
8494 For example, @code{functionExtractor} extracts all functions after a
8495 regexp-pattern, which can be useful if you wish to extract all functions
8496 beginning with @code{test} (for a test framework) or all functions beginning
8497 with @code{wc} (for a web service).")
8498 (license license:bsd-3)))
8499
8500 (define-public ghc-abstract-par
8501 (package
8502 (name "ghc-abstract-par")
8503 (version "0.3.3")
8504 (source
8505 (origin
8506 (method url-fetch)
8507 (uri (string-append "https://hackage.haskell.org/package/"
8508 "abstract-par-" version "/"
8509 "abstract-par-" version ".tar.gz"))
8510 (sha256
8511 (base32
8512 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
8513 (build-system haskell-build-system)
8514 (home-page "https://github.com/simonmar/monad-par")
8515 (synopsis "Abstract parallelization interface for Haskell")
8516 (description "This Haskell package is an abstract interface
8517 only. It provides a number of type clasess, but not an
8518 implementation. The type classes separate different levels
8519 of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
8520 module for more details.")
8521 (license license:bsd-3)))
8522
8523 (define-public ghc-monad-par-extras
8524 (package
8525 (name "ghc-monad-par-extras")
8526 (version "0.3.3")
8527 (source
8528 (origin
8529 (method url-fetch)
8530 (uri (string-append "https://hackage.haskell.org/package/"
8531 "monad-par-extras-" version "/"
8532 "monad-par-extras-" version ".tar.gz"))
8533 (sha256
8534 (base32
8535 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
8536 (build-system haskell-build-system)
8537 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8538 ("ghc-cereal" ,ghc-cereal)
8539 ("ghc-random" ,ghc-random)))
8540 (home-page "https://github.com/simonmar/monad-par")
8541 (synopsis "Combinators and extra features for Par monads for Haskell")
8542 (description "This Haskell package provides additional data structures,
8543 and other added capabilities layered on top of the @code{Par} monad.")
8544 (license license:bsd-3)))
8545
8546 (define-public ghc-abstract-deque
8547 (package
8548 (name "ghc-abstract-deque")
8549 (version "0.3")
8550 (source
8551 (origin
8552 (method url-fetch)
8553 (uri (string-append "https://hackage.haskell.org/package/"
8554 "abstract-deque-" version "/"
8555 "abstract-deque-" version ".tar.gz"))
8556 (sha256
8557 (base32
8558 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
8559 (build-system haskell-build-system)
8560 (inputs `(("ghc-random" ,ghc-random)))
8561 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
8562 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
8563 (description "This Haskell package provides an abstract interface to
8564 highly-parameterizable queues/deques.
8565
8566 Background: There exists a feature space for queues that extends between:
8567
8568 @itemize
8569 @item Simple, single-ended, non-concurrent, bounded queues
8570
8571 @item Double-ended, thread-safe, growable queues with important points
8572 in between (such as the queues used for work stealing).
8573 @end itemize
8574
8575 This package includes an interface for Deques that allows the programmer
8576 to use a single API for all of the above, while using the type system to
8577 select an efficient implementation given the requirements (using type families).
8578
8579 This package also includes a simple reference implementation based on
8580 @code{IORef} and @code{Data.Sequence}.")
8581 (license license:bsd-3)))
8582
8583 (define-public ghc-monad-par
8584 (package
8585 (name "ghc-monad-par")
8586 (version "0.3.4.8")
8587 (source
8588 (origin
8589 (method url-fetch)
8590 (uri (string-append "https://hackage.haskell.org/package/"
8591 "monad-par-" version "/"
8592 "monad-par-" version ".tar.gz"))
8593 (sha256
8594 (base32
8595 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
8596 (build-system haskell-build-system)
8597 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8598 ("ghc-abstract-deque" ,ghc-abstract-deque)
8599 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
8600 ("ghc-mwc-random" ,ghc-mwc-random)
8601 ("ghc-parallel" ,ghc-parallel)))
8602 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
8603 ("ghc-hunit" ,ghc-hunit)
8604 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8605 ("ghc-test-framework-quickcheck2"
8606 ,ghc-test-framework-quickcheck2)
8607 ("ghc-test-framework" ,ghc-test-framework)
8608 ("ghc-test-framework-th" ,ghc-test-framework-th)))
8609 (home-page "https://github.com/simonmar/monad-par")
8610 (synopsis "Haskell library for parallel programming based on a monad")
8611 (description "The @code{Par} monad offers an API for parallel
8612 programming. The library works for parallelising both pure and @code{IO}
8613 computations, although only the pure version is deterministic. The default
8614 implementation provides a work-stealing scheduler and supports forking tasks
8615 that are much lighter weight than IO-threads.")
8616 (license license:bsd-3)))
8617
8618 (define-public ghc-statistics
8619 (package
8620 (name "ghc-statistics")
8621 (version "0.14.0.2")
8622 (source
8623 (origin
8624 (method url-fetch)
8625 (uri (string-append "https://hackage.haskell.org/package/"
8626 "statistics-" version "/"
8627 "statistics-" version ".tar.gz"))
8628 (sha256
8629 (base32
8630 "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l"))))
8631 (build-system haskell-build-system)
8632 (inputs
8633 `(("ghc-aeson" ,ghc-aeson)
8634 ("ghc-base-orphans" ,ghc-base-orphans)
8635 ("ghc-erf" ,ghc-erf)
8636 ("ghc-math-functions" ,ghc-math-functions)
8637 ("ghc-monad-par" ,ghc-monad-par)
8638 ("ghc-mwc-random" ,ghc-mwc-random)
8639 ("ghc-primitive" ,ghc-primitive)
8640 ("ghc-vector" ,ghc-vector)
8641 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
8642 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
8643 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
8644 (native-inputs
8645 `(("ghc-hunit" ,ghc-hunit)
8646 ("ghc-quickcheck" ,ghc-quickcheck)
8647 ("ghc-ieee754" ,ghc-ieee754)
8648 ("ghc-test-framework" ,ghc-test-framework)
8649 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8650 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8651 (arguments
8652 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8653 (home-page "https://github.com/bos/mwc-random")
8654 (synopsis "Haskell library of statistical types, data, and functions")
8655 (description "This library provides a number of common functions
8656 and types useful in statistics. We focus on high performance, numerical
8657 robustness, and use of good algorithms. Where possible, we provide references
8658 to the statistical literature.
8659
8660 The library's facilities can be divided into four broad categories:
8661
8662 @itemize
8663 @item Working with widely used discrete and continuous probability
8664 distributions. (There are dozens of exotic distributions in use; we focus
8665 on the most common.)
8666
8667 @item Computing with sample data: quantile estimation, kernel density
8668 estimation, histograms, bootstrap methods, significance testing,
8669 and regression and autocorrelation analysis.
8670
8671 @item Random variate generation under several different distributions.
8672
8673 @item Common statistical tests for significant differences between samples.
8674 @end itemize")
8675 (license license:bsd-2)))
8676
8677 (define-public ghc-chunked-data
8678 (package
8679 (name "ghc-chunked-data")
8680 (version "0.3.0")
8681 (source
8682 (origin
8683 (method url-fetch)
8684 (uri (string-append "https://hackage.haskell.org/package/"
8685 "chunked-data-" version "/"
8686 "chunked-data-" version ".tar.gz"))
8687 (sha256
8688 (base32
8689 "0bszq6fijnr4pmadzz89smj7kfmzx0ca3wd9ga8gv0in9jk9vgp1"))))
8690 (build-system haskell-build-system)
8691 (inputs `(("ghc-vector" ,ghc-vector)
8692 ("ghc-semigroups" ,ghc-semigroups)
8693 ("ghc-text" ,ghc-text)))
8694 (home-page "https://github.com/snoyberg/mono-traversable")
8695 (synopsis "Typeclasses for dealing with various chunked data
8696 representations for Haskell")
8697 (description "This Haskell package was originally present in
8698 classy-prelude.")
8699 (license license:expat)))
8700
8701 (define-public ghc-base-prelude
8702 (package
8703 (name "ghc-base-prelude")
8704 (version "1.3")
8705 (source
8706 (origin
8707 (method url-fetch)
8708 (uri (string-append "https://hackage.haskell.org/package/"
8709 "base-prelude-" version "/"
8710 "base-prelude-" version ".tar.gz"))
8711 (sha256
8712 (base32
8713 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
8714 (build-system haskell-build-system)
8715 (home-page "https://github.com/nikita-volkov/base-prelude")
8716 (synopsis "The most complete prelude formed solely from the Haskell's base
8717 package")
8718 (description "This Haskell package aims to reexport all the non-conflicting
8719 and most general definitions from the \"base\" package.
8720
8721 This includes APIs for applicatives, arrows, monoids, foldables, traversables,
8722 exceptions, generics, ST, MVars and STM.
8723
8724 This package will never have any dependencies other than \"base\".
8725
8726 Versioning policy:
8727
8728 The versioning policy of this package deviates from PVP in the sense
8729 that its exports in part are transitively determined by the version of \"base\".
8730 Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
8731 the bounds of \"base\" as well.")
8732 (license license:expat)))
8733
8734 (define-public ghc-tuple-th
8735 (package
8736 (name "ghc-tuple-th")
8737 (version "0.2.5")
8738 (source
8739 (origin
8740 (method url-fetch)
8741 (uri (string-append "https://hackage.haskell.org/package/"
8742 "tuple-th-" version "/"
8743 "tuple-th-" version ".tar.gz"))
8744 (sha256
8745 (base32
8746 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
8747 (build-system haskell-build-system)
8748 (home-page "https://github.com/DanielSchuessler/tuple-th")
8749 (synopsis "Generate utility functions for tuples of statically known size
8750 for Haskell")
8751 (description "This Haskell package contains Template Haskell functions for
8752 generating functions similar to those in @code{Data.List} for tuples of
8753 statically known size.")
8754 (license license:bsd-3)))
8755
8756 (define-public ghc-contravariant-extras
8757 (package
8758 (name "ghc-contravariant-extras")
8759 (version "0.3.3.1")
8760 (source
8761 (origin
8762 (method url-fetch)
8763 (uri (string-append "https://hackage.haskell.org/package/"
8764 "contravariant-extras-" version "/"
8765 "contravariant-extras-" version ".tar.gz"))
8766 (sha256
8767 (base32
8768 "1mbrgjybdx8fjdck4ldwi8955w4qnmm0ql56zix7dyn0s7s9spgk"))))
8769 (build-system haskell-build-system)
8770 (inputs `(("ghc-tuple-th" ,ghc-tuple-th)
8771 ("ghc-contravariant" ,ghc-contravariant)
8772 ("ghc-base-prelude" ,ghc-base-prelude)))
8773 (home-page "https://github.com/nikita-volkov/contravariant-extras")
8774 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
8775 (description "This Haskell package provides extras for the
8776 @code{ghc-contravariant} package.")
8777 (license license:expat)))
8778
8779 (define-public ghc-monadrandom
8780 (package
8781 (name "ghc-monadrandom")
8782 (version "0.4.2.3")
8783 (source
8784 (origin
8785 (method url-fetch)
8786 (uri (string-append "https://hackage.haskell.org/package/"
8787 "MonadRandom-" version "/"
8788 "MonadRandom-" version ".tar.gz"))
8789 (sha256
8790 (base32
8791 "1h1nhswrcmhy3mq6vd530p0df51fcnnf4csbwnljar7cf0mb2h6y"))))
8792 (build-system haskell-build-system)
8793 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
8794 ("ghc-primitive" ,ghc-primitive)
8795 ("ghc-fail" ,ghc-fail)
8796 ("ghc-random" ,ghc-random)))
8797 (home-page "https://github.com/byorgey/MonadRandom")
8798 (synopsis "Random-number generation monad for Haskell")
8799 (description "This Haskell package provides support for computations
8800 which consume random values.")
8801 (license license:bsd-3)))
8802
8803 (define-public ghc-either
8804 (package
8805 (name "ghc-either")
8806 (version "4.4.1.1")
8807 (source
8808 (origin
8809 (method url-fetch)
8810 (uri (string-append "https://hackage.haskell.org/package/"
8811 "either-" version "/"
8812 "either-" version ".tar.gz"))
8813 (sha256
8814 (base32
8815 "1lrlwqqnm6ibfcydlv5qvvssw7bm0c6yypy0rayjzv1znq7wp1xh"))))
8816 (build-system haskell-build-system)
8817 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
8818 ("ghc-exceptions" ,ghc-exceptions)
8819 ("ghc-free" ,ghc-free)
8820 ("ghc-monad-control" ,ghc-monad-control)
8821 ("ghc-manodrandom" ,ghc-monadrandom)
8822 ("ghc-mmorph" ,ghc-mmorph)
8823 ("ghc-profunctors" ,ghc-profunctors)
8824 ("ghc-semigroups" ,ghc-semigroups)
8825 ("ghc-semigroupoids" ,ghc-semigroupoids)
8826 ("ghc-transformers-base" ,ghc-transformers-base)))
8827 (home-page "https://github.com/ekmett/either")
8828 (synopsis "Provides an either monad transformer for Haskell")
8829 (description "This Haskell package provides an either monad transformer.")
8830 (license license:bsd-3)))
8831
8832 (define-public ghc-pretty-hex
8833 (package
8834 (name "ghc-pretty-hex")
8835 (version "1.0")
8836 (source
8837 (origin
8838 (method url-fetch)
8839 (uri (string-append "https://hackage.haskell.org/package/"
8840 "pretty-hex-" version "/"
8841 "pretty-hex-" version ".tar.gz"))
8842 (sha256
8843 (base32
8844 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
8845 (build-system haskell-build-system)
8846 (home-page "https://github.com/GaloisInc/hexdump")
8847 (synopsis "Haskell library for hex dumps of ByteStrings")
8848 (description "This Haskell library generates pretty hex dumps of
8849 ByteStrings in the style of other common *nix hex dump tools.")
8850 (license license:bsd-3)))
8851
8852 (define-public ghc-network-info
8853 (package
8854 (name "ghc-network-info")
8855 (version "0.2.0.8")
8856 (source
8857 (origin
8858 (method url-fetch)
8859 (uri (string-append "https://hackage.haskell.org/package/"
8860 "network-info-" version "/"
8861 "network-info-" version ".tar.gz"))
8862 (sha256
8863 (base32
8864 "0xndvg776241fgjmynxfpy81f1csjmh8dg33yf0c8m71ychz3pzc"))))
8865 (build-system haskell-build-system)
8866 (home-page "https://github.com/jystic/network-info")
8867 (synopsis "Access the local computer's basic network configuration")
8868 (description "This Haskell library provides simple read-only access to the
8869 local computer's networking configuration. It is currently capable of
8870 getting a list of all the network interfaces and their respective
8871 IPv4, IPv6 and MAC addresses.")
8872 (license license:bsd-3)))
8873
8874 (define-public ghc-uuid-types
8875 (package
8876 (name "ghc-uuid-types")
8877 (version "1.0.3")
8878 (source
8879 (origin
8880 (method url-fetch)
8881 (uri (string-append "https://hackage.haskell.org/package/"
8882 "uuid-types-" version "/"
8883 "uuid-types-" version ".tar.gz"))
8884 (sha256
8885 (base32
8886 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
8887 (build-system haskell-build-system)
8888 (arguments
8889 `(#:configure-flags (list "--allow-newer=QuickCheck"
8890 "--allow-newer=HUnit")))
8891 (inputs `(("ghc-hashable" ,ghc-hashable)
8892 ("ghc-random" ,ghc-random)
8893 ("ghc-text" ,ghc-text)))
8894 (native-inputs `(("ghc-hunit" ,ghc-hunit)
8895 ("ghc-quickcheck" ,ghc-quickcheck)
8896 ("ghc-tasty" ,ghc-tasty)
8897 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8898 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
8899 (home-page "https://github.com/hvr/uuid")
8900 (synopsis "Haskell type definitions for UUIDs")
8901 (description "This Haskell library contains type definitions for
8902 @dfn{Universally Unique Identifiers} or
8903 @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
8904 functions.")
8905 (license license:bsd-3)))
8906
8907 (define-public ghc-uuid
8908 (package
8909 (name "ghc-uuid")
8910 (version "1.3.13")
8911 (source
8912 (origin
8913 (method url-fetch)
8914 (uri (string-append "https://hackage.haskell.org/package/"
8915 "uuid-" version "/"
8916 "uuid-" version ".tar.gz"))
8917 (sha256
8918 (base32
8919 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
8920 (build-system haskell-build-system)
8921 (arguments
8922 `(#:configure-flags (list "--allow-newer=QuickCheck"
8923 "--allow-newer=HUnit")))
8924 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
8925 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
8926 ("ghc-entropy" ,ghc-entropy)
8927 ("ghc-network-info" ,ghc-network-info)
8928 ("ghc-random" ,ghc-random)
8929 ("ghc-text" ,ghc-text)
8930 ("ghc-uuid-types" ,ghc-uuid-types)))
8931 (native-inputs `(("ghc-hunit" ,ghc-hunit)
8932 ("ghc-quickcheck" ,ghc-quickcheck)
8933 ("ghc-tasty" ,ghc-tasty)
8934 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8935 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
8936 (home-page "https://github.com/hvr/uuid")
8937 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
8938 (description "This Haskell library provides utilities creating, comparing,
8939 parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
8940 (license license:bsd-3)))
8941
8942 (define-public ghc-rebase
8943 (package
8944 (name "ghc-rebase")
8945 (version "1.1")
8946 (source
8947 (origin
8948 (method url-fetch)
8949 (uri (string-append "https://hackage.haskell.org/package/"
8950 "rebase-" version "/"
8951 "rebase-" version ".tar.gz"))
8952 (sha256
8953 (base32
8954 "1qkhnpcc4g2vd6jmbf3b6psqkan6hyawqzrwzqdd931hsb02l6ia"))))
8955 (build-system haskell-build-system)
8956 (inputs `(("ghc-stm" ,ghc-stm)
8957 ("ghc-hashable" ,ghc-hashable)
8958 ("ghc-vector" ,ghc-vector)
8959 ("ghc-unordered-containers" ,ghc-unordered-containers)
8960 ("ghc-text" ,ghc-text)
8961 ("ghc-scientific" ,ghc-scientific)
8962 ("ghc-uuid" ,ghc-uuid)
8963 ("ghc-dlist" ,ghc-dlist)
8964 ("ghc-void" ,ghc-void)
8965 ("ghc-bifunctors" ,ghc-bifunctors)
8966 ("ghc-profunctors" ,ghc-profunctors)
8967 ("ghc-contravariant" ,ghc-contravariant)
8968 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
8969 ("ghc-semigroups" ,ghc-semigroups)
8970 ("ghc-either" ,ghc-either)
8971 ("ghc-fail" ,ghc-fail)
8972 ("ghc-base-prelude" ,ghc-base-prelude)))
8973 (home-page "https://github.com/nikita-volkov/rebase")
8974 (synopsis "Progressive alternative to the base package
8975 for Haskell")
8976 (description "This Haskell package is intended for those who are
8977 tired of keeping long lists of dependencies to the same essential libraries
8978 in each package as well as the endless imports of the same APIs all over again.
8979
8980 It also supports the modern tendencies in the language.
8981
8982 To solve those problems this package does the following:
8983
8984 @itemize
8985 @item Reexport the original APIs under the @code{Rebase} namespace.
8986
8987 @item Export all the possible non-conflicting symbols from the
8988 @code{Rebase.Prelude} module.
8989
8990 @item Give priority to the modern practices in the conflicting cases.
8991 @end itemize
8992
8993 The policy behind the package is only to reexport the non-ambiguous and
8994 non-controversial APIs, which the community has obviously settled on.
8995 The package is intended to rapidly evolve with the contribution from
8996 the community, with the missing features being added with pull-requests.")
8997 (license license:expat)))
8998
8999 (define-public ghc-vector-builder
9000 (package
9001 (name "ghc-vector-builder")
9002 (version "0.3.1")
9003 (source
9004 (origin
9005 (method url-fetch)
9006 (uri (string-append "https://hackage.haskell.org/package/"
9007 "vector-builder-" version "/"
9008 "vector-builder-" version ".tar.gz"))
9009 (sha256
9010 (base32
9011 "1l6sfgd2s107zkp1qd1w6jdjcbznp31769qf99pxar087f697wvp"))))
9012 (build-system haskell-build-system)
9013 (inputs `(("ghc-vector" ,ghc-vector)
9014 ("ghc-semigroups" ,ghc-semigroups)
9015 ("ghc-base-prelude" ,ghc-base-prelude)))
9016 (native-inputs `(("ghc-tasty" ,ghc-tasty)
9017 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9018 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9019 ("ghc-hunit" ,ghc-hunit)
9020 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9021 ("ghc-rebase" ,ghc-rebase)))
9022 (home-page "https://github.com/nikita-volkov/vector-builder")
9023 (synopsis "Vector builder for Haskell")
9024 (description "This Haskell package provides an API for constructing vectors.
9025 It provides the composable @code{Builder} abstraction, which has instances of the
9026 @code{Monoid} and @code{Semigroup} classes.
9027
9028 You would first use the @code{Builder} abstraction to specify the structure of
9029 the vector; then you can execute the builder to actually produce the
9030 vector. ")
9031 (license license:expat)))
9032
9033 (define-public ghc-foldl
9034 (package
9035 (name "ghc-foldl")
9036 (version "1.3.5")
9037 (source
9038 (origin
9039 (method url-fetch)
9040 (uri (string-append "https://hackage.haskell.org/package/"
9041 "foldl-" version "/"
9042 "foldl-" version ".tar.gz"))
9043 (sha256
9044 (base32
9045 "10qsp7dj2xsq4q2xm6x6b12y5pq32qf7my41hnkmdwwbccvhdxb2"))))
9046 (build-system haskell-build-system)
9047 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
9048 ("ghc-primitive" ,ghc-primitive)
9049 ("ghc-text" ,ghc-text)
9050 ("ghc-vector" ,ghc-vector)
9051 ("ghc-unordered-containers" ,ghc-unordered-containers)
9052 ("ghc-hashable" ,ghc-hashable)
9053 ("ghc-contravariant" ,ghc-contravariant)
9054 ("ghc-profunctors" ,ghc-profunctors)
9055 ("ghc-comonad" ,ghc-comonad)
9056 ("ghc-vector-builder" ,ghc-vector-builder)))
9057 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
9058 (synopsis "Composable, streaming, and efficient left folds for Haskell")
9059 (description "This Haskell library provides strict left folds that stream
9060 in constant memory, and you can combine folds using @code{Applicative} style
9061 to derive new folds. Derived folds still traverse the container just once
9062 and are often as efficient as hand-written folds.")
9063 (license license:bsd-3)))
9064
9065 (define-public ghc-mono-traversable
9066 (package
9067 (name "ghc-mono-traversable")
9068 (version "1.0.9.0")
9069 (source
9070 (origin
9071 (method url-fetch)
9072 (uri (string-append "https://hackage.haskell.org/package/"
9073 "mono-traversable-" version "/"
9074 "mono-traversable-" version ".tar.gz"))
9075 (sha256
9076 (base32
9077 "0180ks0dyvpk1r20w5jw2w2n79mjnk69n9vhspaxzlyxqgim5psa"))))
9078 (build-system haskell-build-system)
9079 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
9080 ("ghc-hashable" ,ghc-hashable)
9081 ("ghc-text" ,ghc-text)
9082 ("ghc-vector" ,ghc-vector)
9083 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
9084 ("ghc-split" ,ghc-split)))
9085 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9086 ("ghc-hunit" ,ghc-hunit)
9087 ("ghc-quickcheck" ,ghc-quickcheck)
9088 ("ghc-semigroups" ,ghc-semigroups)
9089 ("ghc-foldl" ,ghc-foldl)))
9090 (home-page "https://github.com/snoyberg/mono-traversable")
9091 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
9092 containers")
9093 (description "This Haskell package provides Monomorphic variants of the
9094 Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
9095 basic typeclasses, you understand mono-traversable. In addition to what
9096 you are used to, it adds on an IsSequence typeclass and has code for marking
9097 data structures as non-empty.")
9098 (license license:expat)))
9099
9100 (define-public ghc-conduit-combinators
9101 (package
9102 (name "ghc-conduit-combinators")
9103 (version "1.3.0")
9104 (source
9105 (origin
9106 (method url-fetch)
9107 (uri (string-append "https://hackage.haskell.org/package/"
9108 "conduit-combinators-" version "/"
9109 "conduit-combinators-" version ".tar.gz"))
9110 (sha256
9111 (base32
9112 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
9113 (build-system haskell-build-system)
9114 (inputs `(("ghc-conduit" ,ghc-conduit)
9115 ("ghc-conduit-extra" ,ghc-conduit-extra)
9116 ("ghc-transformers-base" ,ghc-transformers-base)
9117 ("ghc-primitive" ,ghc-primitive)
9118 ("ghc-vector" ,ghc-vector)
9119 ("ghc-text" ,ghc-text)
9120 ("ghc-void" ,ghc-void)
9121 ("ghc-mwc-random" ,ghc-mwc-random)
9122 ("ghc-unix-compat" ,ghc-unix-compat)
9123 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9124 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9125 ("ghc-resourcet" ,ghc-resourcet)
9126 ("ghc-monad-control" ,ghc-monad-control)
9127 ("ghc-chunked-data" ,ghc-chunked-data)
9128 ("ghc-mono-traversable" ,ghc-mono-traversable)))
9129 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9130 ("ghc-silently" ,ghc-silently)
9131 ("ghc-safe" ,ghc-safe)
9132 ("ghc-quickcheck" ,ghc-quickcheck)))
9133 (home-page "https://github.com/snoyberg/mono-traversable")
9134 (synopsis "Commonly used conduit functions, for both chunked and
9135 unchunked data")
9136 (description "This Haskell package provides a replacement for Data.Conduit.List,
9137 as well as a convenient Conduit module.")
9138 (license license:expat)))
9139
9140 (define-public ghc-aws
9141 (package
9142 (name "ghc-aws")
9143 (version "0.18")
9144 (source
9145 (origin
9146 (method url-fetch)
9147 (uri (string-append "https://hackage.haskell.org/package/"
9148 "aws-" version "/aws-" version ".tar.gz"))
9149 (sha256 (base32
9150 "0h7473wkvc5xjzx5fd5k5fp70rjq5gqmn1cpy95mswvvfsq3irxj"))))
9151 (build-system haskell-build-system)
9152 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
9153 (inputs
9154 `(("ghc-aeson" ,ghc-aeson)
9155 ("ghc-attoparsec" ,ghc-attoparsec)
9156 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9157 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9158 ("ghc-blaze-builder" ,ghc-blaze-builder)
9159 ("ghc-byteable" ,ghc-byteable)
9160 ("ghc-case-insensitive" ,ghc-case-insensitive)
9161 ("ghc-cereal" ,ghc-cereal)
9162 ("ghc-conduit" ,ghc-conduit)
9163 ("ghc-conduit-extra" ,ghc-conduit-extra)
9164 ("ghc-cryptonite" ,ghc-cryptonite)
9165 ("ghc-data-default" ,ghc-data-default)
9166 ("ghc-http-conduit" ,ghc-http-conduit)
9167 ("ghc-http-types" ,ghc-http-types)
9168 ("ghc-monad-control" ,ghc-monad-control)
9169 ("ghc-network" ,ghc-network)
9170 ("ghc-old-locale" ,ghc-old-locale)
9171 ("ghc-safe" ,ghc-safe)
9172 ("ghc-scientific" ,ghc-scientific)
9173 ("ghc-tagged" ,ghc-tagged)
9174 ("ghc-text" ,ghc-text)
9175 ("ghc-unordered-containers" ,ghc-unordered-containers)
9176 ("ghc-utf8-string" ,ghc-utf8-string)
9177 ("ghc-vector" ,ghc-vector)
9178 ("ghc-xml-conduit" ,ghc-xml-conduit)))
9179 (native-inputs
9180 `(("ghc-quickcheck" ,ghc-quickcheck)
9181 ("ghc-errors" ,ghc-errors)
9182 ("ghc-http-client" ,ghc-http-client)
9183 ("ghc-http-client-tls" ,ghc-http-client-tls)
9184 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9185 ("ghc-tasty" ,ghc-tasty)
9186 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9187 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9188 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
9189 (home-page "https://github.com/aristidb/aws")
9190 (synopsis "Amazon Web Services for Haskell")
9191 (description "This package attempts to provide support for using
9192 Amazon Web Services like S3 (storage), SQS (queuing) and others to
9193 Haskell programmers. The ultimate goal is to support all Amazon
9194 Web Services.")
9195 (license license:bsd-3)))
9196
9197 (define-public ghc-basement
9198 (package
9199 (name "ghc-basement")
9200 (version "0.0.8")
9201 (source
9202 (origin
9203 (method url-fetch)
9204 (uri (string-append "https://hackage.haskell.org/package/"
9205 "basement/basement-" version ".tar.gz"))
9206 (sha256
9207 (base32
9208 "194jw567di4q2758943q9rrwkbf9gl261my7qc21i9xhyabipx67"))))
9209 (build-system haskell-build-system)
9210 (home-page "https://github.com/haskell-foundation/foundation")
9211 (synopsis "Basic primitives for Foundation starter pack")
9212 (description
9213 "This package contains basic primitives for the Foundation set of
9214 packages.")
9215 (license license:bsd-3)))
9216
9217 (define-public ghc-foundation
9218 (package
9219 (name "ghc-foundation")
9220 (version "0.0.20")
9221 (source
9222 (origin
9223 (method url-fetch)
9224 (uri (string-append "https://hackage.haskell.org/package/"
9225 "foundation/foundation-" version ".tar.gz"))
9226 (sha256
9227 (base32
9228 "0bg4g0xf4pb2vmahnfp8c4f0a3v0av73lb5g8bwnp170khxfcsms"))))
9229 (build-system haskell-build-system)
9230 (inputs `(("ghc-basement" ,ghc-basement)))
9231 (home-page "https://github.com/haskell-foundation/foundation")
9232 (synopsis "Alternative prelude with batteries and no dependencies")
9233 (description
9234 "This package provides a custom prelude with no dependencies apart from
9235 the base package.
9236
9237 Foundation has the following goals:
9238
9239 @enumerate
9240 @item provide a base like sets of modules that provide a consistent set of
9241 features and bugfixes across multiple versions of GHC (unlike base).
9242 @item provide a better and more efficient prelude than base's prelude.
9243 @item be self-sufficient: no external dependencies apart from base;
9244 @item provide better data-types: packed unicode string by default, arrays;
9245 @item Numerical classes that better represent mathematical things (no more
9246 all-in-one @code{Num});
9247 @item I/O system with less lazy IO.
9248 @end enumerate\n")
9249 (license license:bsd-3)))
9250
9251 (define-public ghc-stm-chans
9252 (package
9253 (name "ghc-stm-chans")
9254 (version "3.0.0.4")
9255 (source
9256 (origin
9257 (method url-fetch)
9258 (uri (string-append "https://hackage.haskell.org/package/"
9259 "stm-chans-" version "/"
9260 "stm-chans-" version ".tar.gz"))
9261 (sha256
9262 (base32
9263 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
9264 (build-system haskell-build-system)
9265 (inputs `(("ghc-stm" ,ghc-stm)))
9266 (home-page "https://hackage.haskell.org/package/stm-chans")
9267 (synopsis "Additional types of channels for ghc-stm")
9268 (description "This Haskell package offers a collection of channel types,
9269 similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
9270 features.")
9271 (license license:bsd-3)))
9272
9273 (define-public ghc-monad-loops
9274 (package
9275 (name "ghc-monad-loops")
9276 (version "0.4.3")
9277 (source
9278 (origin
9279 (method url-fetch)
9280 (uri (string-append "https://hackage.haskell.org/package/"
9281 "monad-loops-" version "/"
9282 "monad-loops-" version ".tar.gz"))
9283 (sha256
9284 (base32
9285 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
9286 (build-system haskell-build-system)
9287 (native-inputs `(("ghc-tasty" ,ghc-tasty)
9288 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9289 (home-page "https://github.com/mokus0/monad-loops")
9290 (synopsis "Monadic loops for Haskell")
9291 (description "This Haskell package provides some useful control
9292 operators for looping.")
9293 (license license:public-domain)))
9294
9295 (define-public ghc-monad-logger
9296 (package
9297 (name "ghc-monad-logger")
9298 (version "0.3.25.1")
9299 (source
9300 (origin
9301 (method url-fetch)
9302 (uri (string-append "https://hackage.haskell.org/package/"
9303 "monad-logger-" version "/"
9304 "monad-logger-" version ".tar.gz"))
9305 (sha256
9306 (base32
9307 "0yv4fsi566zrn30j2g5l901lyqgmflhvzy4hji7ikcbh5d45m920"))))
9308 (build-system haskell-build-system)
9309 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
9310 ("ghc-text" ,ghc-text)
9311 ("ghc-stm" ,ghc-stm)
9312 ("ghc-stm-chans" ,ghc-stm-chans)
9313 ("ghc-lifted-base" ,ghc-lifted-base)
9314 ("ghc-resourcet" ,ghc-resourcet)
9315 ("ghc-conduit" ,ghc-conduit)
9316 ("ghc-conduit-extra" ,ghc-conduit-extra)
9317 ("ghc-fast-logger" ,ghc-fast-logger)
9318 ("ghc-transformers-base" ,ghc-transformers-base)
9319 ("ghc-monad-control" ,ghc-monad-control)
9320 ("ghc-monad-loops" ,ghc-monad-loops)
9321 ("ghc-blaze-builder" ,ghc-blaze-builder)
9322 ("ghc-exceptions" ,ghc-exceptions)))
9323 (home-page "https://github.com/kazu-yamamoto/logger")
9324 (synopsis "Provides a class of monads which can log messages for Haskell")
9325 (description "This Haskell package uses a monad transformer approach
9326 for logging.
9327
9328 This package provides Template Haskell functions for determining source
9329 code locations of messages.")
9330 (license license:expat)))
9331
9332 (define-public ghc-shakespeare
9333 (package
9334 (name "ghc-shakespeare")
9335 (version "2.0.14")
9336 (source
9337 (origin
9338 (method url-fetch)
9339 (uri (string-append "https://hackage.haskell.org/package/"
9340 "shakespeare-" version "/"
9341 "shakespeare-" version ".tar.gz"))
9342 (sha256
9343 (base32
9344 "0j5zx8ka7d7scvb9shm7k3376qzl3k4kpim9aqqfs6n86901zpl4"))))
9345 (build-system haskell-build-system)
9346 (inputs `(("ghc-parsec" ,ghc-parsec)
9347 ("ghc-text" ,ghc-text)
9348 ("ghc-aeson" ,ghc-aeson)
9349 ("ghc-blaze-markup" ,ghc-blaze-markup)
9350 ("ghc-blaze-html" ,ghc-blaze-html)
9351 ("ghc-exceptions" ,ghc-exceptions)
9352 ("ghc-vector" ,ghc-vector)
9353 ("ghc-unordered-containers" ,ghc-unordered-containers)
9354 ("ghc-scientific" ,ghc-scientific)))
9355 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9356 ("ghc-hunit" ,ghc-hunit)
9357 ("hspec-discover" ,hspec-discover)))
9358 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
9359 (synopsis "Family of type-safe template languages for Haskell")
9360 (description "This Haskell package provides a family of type-safe
9361 templates with simple variable interpolation. Shakespeare templates can
9362 be used inline with a quasi-quoter or in an external file and it
9363 interpolates variables according to the type being inserted.")
9364 (license license:expat)))
9365
9366 (define-public ghc-securemem
9367 (package
9368 (name "ghc-securemem")
9369 (version "0.1.9")
9370 (source
9371 (origin
9372 (method url-fetch)
9373 (uri (string-append "https://hackage.haskell.org/package/"
9374 "securemem-" version "/"
9375 "securemem-" version ".tar.gz"))
9376 (sha256
9377 (base32
9378 "0dkhhjxa7njc3qbgvd5a23rkvr39vj2kn2a9nk6yjg7a8b2hvdpy"))))
9379 (build-system haskell-build-system)
9380 (inputs `(("ghc-byteable" ,ghc-byteable)
9381 ("ghc-memory" ,ghc-memory)))
9382 (home-page "https://github.com/vincenthz/hs-securemem")
9383 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
9384 Haskell")
9385 (description "SecureMem is similar to ByteString, except that it provides
9386 a memory chunk that will be auto-scrubbed after it run out of scope.")
9387 (license license:bsd-3)))
9388
9389 (define-public ghc-resource-pool
9390 (package
9391 (name "ghc-resource-pool")
9392 (version "0.2.3.2")
9393 (source
9394 (origin
9395 (method url-fetch)
9396 (uri (string-append "https://hackage.haskell.org/package/"
9397 "resource-pool-" version "/"
9398 "resource-pool-" version ".tar.gz"))
9399 (sha256
9400 (base32
9401 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
9402 (build-system haskell-build-system)
9403 (inputs `(("ghc-hashable" ,ghc-hashable)
9404 ("ghc-monad-control" ,ghc-monad-control)
9405 ("ghc-transformers-base" ,ghc-transformers-base)
9406 ("ghc-stm" ,ghc-stm)
9407 ("ghc-vector" ,ghc-vector)))
9408 (home-page "https://github.com/bos/pool")
9409 (synopsis "Striped resource pooling implementation in Haskell")
9410 (description "This Haskell package provides striped pooling abstraction
9411 for managing flexibly-sized collections of resources such as database
9412 connections.")
9413 (license license:bsd-3)))
9414
9415 (define-public ghc-attoparsec-iso8601
9416 (package
9417 (name "ghc-attoparsec-iso8601")
9418 (version "1.0.0.0")
9419 (source
9420 (origin
9421 (method url-fetch)
9422 (uri (string-append "https://hackage.haskell.org/package/"
9423 "attoparsec-iso8601-" version "/"
9424 "attoparsec-iso8601-" version ".tar.gz"))
9425 (sha256
9426 (base32
9427 "12l55b76bhya9q89mfmqmy6sl5v39b6gzrw5rf3f70vkb23nsv5a"))))
9428 (build-system haskell-build-system)
9429 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9430 ("ghc-base-compat" ,ghc-base-compat)
9431 ("ghc-text" ,ghc-text)))
9432 (home-page "https://github.com/bos/aeson")
9433 (synopsis "Parse ISO 8601 dates")
9434 (description "Haskell library for parsing of ISO 8601 dates, originally
9435 from aeson.")
9436 (license license:bsd-3)))
9437
9438 (define-public ghc-generics-sop
9439 (package
9440 (name "ghc-generics-sop")
9441 (version "0.3.1.0")
9442 (source
9443 (origin
9444 (method url-fetch)
9445 (uri (string-append "https://hackage.haskell.org/package/"
9446 "generics-sop-" version "/"
9447 "generics-sop-" version ".tar.gz"))
9448 (sha256
9449 (base32
9450 "1bazlhgmxcwv7vd44jhdx74cnhmaz6yy47jxfycapjj4mjrnp0x7"))))
9451 (build-system haskell-build-system)
9452 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)))
9453 (home-page "https://github.com/well-typed/generics-sop")
9454 (synopsis "Generic Programming using True Sums of Products for Haskell")
9455 (description "This Haskell package supports the definition of generic
9456 functions. Datatypes are viewed in a uniform, structured way: the choice
9457 between constructors is represented using an n-ary sum, and the arguments of
9458 each constructor are represented using an n-ary product.")
9459 (license license:bsd-3)))
9460
9461 (define-public ghc-uri-bytestring
9462 (package
9463 (name "ghc-uri-bytestring")
9464 (version "0.3.1.0")
9465 (source
9466 (origin
9467 (method url-fetch)
9468 (uri (string-append "https://hackage.haskell.org/package/"
9469 "uri-bytestring-" version "/"
9470 "uri-bytestring-" version ".tar.gz"))
9471 (sha256
9472 (base32
9473 "04qjv1sgyrdg538290p9hqnvyxnahvr5cjwl8vm1rn9j0fv3ymq9"))))
9474 (build-system haskell-build-system)
9475 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9476 ("ghc-fail" ,ghc-fail)
9477 ("ghc-blaze-builder" ,ghc-blaze-builder)
9478 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
9479 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9480 ("ghc-hunit" ,ghc-hunit)
9481 ("ghc-quickcheck" ,ghc-quickcheck)
9482 ("ghc-tasty" ,ghc-tasty)
9483 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9484 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9485 ("ghc-base-compat" ,ghc-base-compat)
9486 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9487 ("ghc-semigroups" ,ghc-semigroups)
9488 ("ghc-generics-sop" ,ghc-generics-sop)))
9489 (home-page "https://github.com/Soostone/uri-bytestring")
9490 (synopsis "Haskell URI parsing as ByteStrings")
9491 (description "This Haskell package aims to be an RFC3986 compliant URI
9492 parser that uses ByteStrings for parsing and representing the URI data.")
9493 (license license:bsd-3)))
9494
9495 (define-public ghc-http-api-data
9496 (package
9497 (name "ghc-http-api-data")
9498 (version "0.3.7.1")
9499 (source
9500 (origin
9501 (method url-fetch)
9502 (uri (string-append "https://hackage.haskell.org/package/"
9503 "http-api-data-" version "/"
9504 "http-api-data-" version ".tar.gz"))
9505 (sha256
9506 (base32
9507 "1zbmf0kkfsw7pfznisi205gh7jd284gfarxsyiavd2iw26akwqwc"))))
9508 (build-system haskell-build-system)
9509 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.9
9510 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9511 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
9512 ("ghc-hashable" ,ghc-hashable)
9513 ("ghc-http-types" ,ghc-http-types)
9514 ("ghc-text" ,ghc-text)
9515 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9516 ("ghc-unordered-containers" ,ghc-unordered-containers)
9517 ("ghc-uri-bytestring" ,ghc-uri-bytestring)
9518 ("ghc-uuid-types" ,ghc-uuid-types)))
9519 (home-page "https://github.com/fizruk/http-api-data")
9520 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
9521 query parameters")
9522 (description "This Haskell package defines typeclasses used for converting
9523 Haskell data types to and from HTTP API data.")
9524 (license license:bsd-3)))
9525
9526 (define-public ghc-persistent
9527 (package
9528 (name "ghc-persistent")
9529 (version "2.7.3.1")
9530 (source
9531 (origin
9532 (method url-fetch)
9533 (uri (string-append "https://hackage.haskell.org/package/"
9534 "persistent-" version "/"
9535 "persistent-" version ".tar.gz"))
9536 (sha256
9537 (base32
9538 "1jbvavdvr9qz5ld7vf6l1jgiadhmxx6zc4vqsdk9ivfq6d5wlg1p"))))
9539 (build-system haskell-build-system)
9540 (inputs `(("ghc-old-locale" ,ghc-old-locale)
9541 ("ghc-text" ,ghc-text)
9542 ("ghc-conduit" ,ghc-conduit)
9543 ("ghc-resourcet" ,ghc-resourcet)
9544 ("ghc-exceptions" ,ghc-exceptions)
9545 ("ghc-monad-control" ,ghc-monad-control)
9546 ("ghc-lifted-base" ,ghc-lifted-base)
9547 ("ghc-resource-pool" ,ghc-resource-pool)
9548 ("ghc-path-pieces" ,ghc-path-pieces)
9549 ("ghc-http-api-data" ,ghc-http-api-data)
9550 ("ghc-aeson" ,ghc-aeson)
9551 ("ghc-monad-logger" ,ghc-monad-logger)
9552 ("ghc-transformers-base" ,ghc-transformers-base)
9553 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9554 ("ghc-unordered-containers" ,ghc-unordered-containers)
9555 ("ghc-vector" ,ghc-vector)
9556 ("ghc-attoparsec" ,ghc-attoparsec)
9557 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)
9558 ("ghc-blaze-html" ,ghc-blaze-html)
9559 ("ghc-blaze-markup" ,ghc-blaze-markup)
9560 ("ghc-silently" ,ghc-silently)
9561 ("ghc-fast-logger" ,ghc-fast-logger)
9562 ("ghc-scientific" ,ghc-scientific)
9563 ("ghc-tagged" ,ghc-tagged)))
9564 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9565 (home-page "https://www.yesodweb.com/book/persistent")
9566 (synopsis "Type-safe, multi-backend data serialization for Haskell")
9567 (description "This Haskell package allows Haskell programs to access data
9568 storage sytems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
9569 way.")
9570 (license license:expat)))
9571
9572 (define-public ghc-aeson-compat
9573 (package
9574 (name "ghc-aeson-compat")
9575 (version "0.3.7.1")
9576 (source
9577 (origin
9578 (method url-fetch)
9579 (uri (string-append "https://hackage.haskell.org/package/"
9580 "aeson-compat-" version "/"
9581 "aeson-compat-" version ".tar.gz"))
9582 (sha256
9583 (base32
9584 "1jya3lm9imclhb8qqihv39hhb62vvs3qpws7pc5fc23vwg0hsx2r"))))
9585 (build-system haskell-build-system)
9586 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
9587 (inputs `(("ghc-base-compat" ,ghc-base-compat)
9588 ("ghc-aeson" ,ghc-aeson)
9589 ("ghc-attoparsec" ,ghc-attoparsec)
9590 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
9591 ("ghc-exceptions" ,ghc-exceptions)
9592 ("ghc-hashable" ,ghc-hashable)
9593 ("ghc-scientific" ,ghc-scientific)
9594 ("ghc-text" ,ghc-text)
9595 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9596 ("ghc-unordered-containers" ,ghc-unordered-containers)
9597 ("ghc-vector" ,ghc-vector)
9598 ("ghc-tagged" ,ghc-tagged)
9599 ("ghc-semigroups" ,ghc-semigroups)
9600 ("ghc-nats" ,ghc-nats)))
9601 (home-page "https://github.com/phadej/aeson-compat")
9602 (synopsis "Compatibility layer for ghc-aeson")
9603 (description "This Haskell package provides compatibility layer for
9604 ghc-aeson.")
9605 (license license:bsd-3)))
9606
9607 (define-public ghc-persistent-template
9608 (package
9609 (name "ghc-persistent-template")
9610 (version "2.5.3.1")
9611 (source
9612 (origin
9613 (method url-fetch)
9614 (uri (string-append "https://hackage.haskell.org/package/"
9615 "persistent-template-" version "/"
9616 "persistent-template-" version ".tar.gz"))
9617 (sha256
9618 (base32
9619 "0449piw3n02q7dag7k1pakfmzmf3ms4wk1qmnagczpm1ckajinwd"))))
9620 (build-system haskell-build-system)
9621 (inputs `(("ghc-persistent" ,ghc-persistent)
9622 ("ghc-monad-control" ,ghc-monad-control)
9623 ("ghc-text" ,ghc-text)
9624 ("ghc-aeson" ,ghc-aeson)
9625 ("ghc-aeson-compat" ,ghc-aeson-compat)
9626 ("ghc-monad-logger" ,ghc-monad-logger)
9627 ("ghc-unordered-containers" ,ghc-unordered-containers)
9628 ("ghc-tagged" ,ghc-tagged)
9629 ("ghc-path-pieces" ,ghc-path-pieces)
9630 ("ghc-http-api-data" ,ghc-http-api-data)))
9631 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9632 ("ghc-quickcheck" ,ghc-quickcheck)))
9633 (home-page "https://www.yesodweb.com/book/persistent")
9634 (synopsis "Type-safe, non-relational, multi-backend persistence")
9635 (description "This Haskell package provides interfaces and helper
9636 functions for the ghc-persistent package.")
9637 (license license:expat)))
9638
9639 (define-public ghc-unliftio-core
9640 (package
9641 (name "ghc-unliftio-core")
9642 (version "0.1.1.0")
9643 (source
9644 (origin
9645 (method url-fetch)
9646 (uri (string-append "https://hackage.haskell.org/package/"
9647 "unliftio-core-" version "/"
9648 "unliftio-core-" version ".tar.gz"))
9649 (sha256
9650 (base32
9651 "1193fplsjm1lcr05xwvkj1rsyzx74i755f6kw3ikmxbsv0bv0l3m"))))
9652 (build-system haskell-build-system)
9653 (home-page
9654 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
9655 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
9656 (description "This Haskell package provides the core @code{MonadUnliftIO}
9657 typeclass, instances for base and transformers, and basic utility
9658 functions.")
9659 (license license:expat)))
9660
9661 (define-public ghc-microlens
9662 (package
9663 (name "ghc-microlens")
9664 (version "0.4.8.3")
9665 (source
9666 (origin
9667 (method url-fetch)
9668 (uri (string-append "https://hackage.haskell.org/package/"
9669 "microlens-" version "/"
9670 "microlens-" version ".tar.gz"))
9671 (sha256
9672 (base32
9673 "17qx2mbqdrlnkc3gxq8njbp7qw8nh51drmz6fc8khgj9bls5ni2k"))))
9674 (build-system haskell-build-system)
9675 (home-page
9676 "https://github.com/aelve/microlens")
9677 (synopsis "Provides a tiny lens Haskell library with no dependencies")
9678 (description "This Haskell package provides a lens library, just like
9679 @code{ghc-lens}, but smaller. It provides essential lenses and
9680 traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
9681 nice to have (like @code{each}, @code{at}, and @code{ix}), and some
9682 combinators (like @code{failing} and @code{singular}), but everything else is
9683 stripped. As the result, this package has no dependencies.")
9684 (license license:bsd-3)))
9685
9686 (define-public ghc-microlens-th
9687 (package
9688 (name "ghc-microlens-th")
9689 (version "0.4.1.3")
9690 (source
9691 (origin
9692 (method url-fetch)
9693 (uri (string-append "https://hackage.haskell.org/package/"
9694 "microlens-th-" version "/"
9695 "microlens-th-" version ".tar.gz"))
9696 (sha256
9697 (base32
9698 "15a12cqxlgbcn1n73zwrxnp2vfm8b0ma0a0sdd8zmjbs8zy3np4f"))))
9699 (build-system haskell-build-system)
9700 (inputs `(("ghc-microlens" ,ghc-microlens)))
9701 (home-page
9702 "https://github.com/aelve/microlens")
9703 (synopsis "Automatic generation of record lenses for
9704 @code{ghc-microlens}")
9705 (description "This Haskell package lets you automatically generate lenses
9706 for data types; code was extracted from the lens package, and therefore
9707 generated lenses are fully compatible with ones generated by lens (and can be
9708 used both from lens and microlens).")
9709 (license license:bsd-3)))
9710
9711 (define-public ghc-unliftio
9712 (package
9713 (name "ghc-unliftio")
9714 (version "0.2.4.0")
9715 (source
9716 (origin
9717 (method url-fetch)
9718 (uri (string-append
9719 "https://hackage.haskell.org/package/unliftio/unliftio-"
9720 version
9721 ".tar.gz"))
9722 (sha256
9723 (base32
9724 "0vpncmwaq5zb6bziqfns4qdgxmq8ky0rlxna2yngxp170s5zxx9z"))))
9725 (build-system haskell-build-system)
9726 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
9727 (inputs
9728 `(("ghc-async" ,ghc-async)
9729 ("ghc-stm" ,ghc-stm)
9730 ("ghc-unliftio-core" ,ghc-unliftio-core)))
9731 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9732 (home-page "https://github.com/fpco/unliftio")
9733 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
9734 IO (batteries included)")
9735 (description "This Haskell package provides the core @code{MonadUnliftIO}
9736 typeclass, a number of common instances, and a collection of common functions
9737 working with it.")
9738 (license license:expat)))
9739
9740 (define-public ghc-persistent-sqlite
9741 (package
9742 (name "ghc-persistent-sqlite")
9743 (version "2.6.4")
9744 (source
9745 (origin
9746 (method url-fetch)
9747 (uri (string-append "https://hackage.haskell.org/package/"
9748 "persistent-sqlite-" version "/"
9749 "persistent-sqlite-" version ".tar.gz"))
9750 (sha256
9751 (base32
9752 "16mc2ra0hbyyc8ckjlxxc11bpskdymbr8c3g6ih6wzik639xprbm"))))
9753 (build-system haskell-build-system)
9754 (inputs `(("ghc-persistent" ,ghc-persistent)
9755 ("ghc-unliftio-core" ,ghc-unliftio-core)
9756 ("ghc-aeson" ,ghc-aeson)
9757 ("ghc-conduit" ,ghc-conduit)
9758 ("ghc-monad-logger" ,ghc-monad-logger)
9759 ("ghc-microlens-th" ,ghc-microlens-th)
9760 ("ghc-resourcet" ,ghc-resourcet)
9761 ("ghc-old-locale" ,ghc-old-locale)
9762 ("ghc-resource-pool" ,ghc-resource-pool)
9763 ("ghc-unordered-containers" ,ghc-unordered-containers)))
9764 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9765 ("ghc-persistent-template" ,ghc-persistent-template)
9766 ("ghc-temporary" ,ghc-temporary)
9767 ("ghc-text" ,ghc-text)))
9768 (home-page
9769 "https://www.yesodweb.com/book/persistent")
9770 (synopsis "Backend for the persistent library using sqlite3")
9771 (description "This Haskell package includes a thin sqlite3 wrapper based
9772 on the direct-sqlite package, as well as the entire C library, so there are no
9773 system dependencies.")
9774 (license license:expat)))
9775
9776 (define-public ghc-email-validate
9777 (package
9778 (name "ghc-email-validate")
9779 (version "2.3.2.1")
9780 (source
9781 (origin
9782 (method url-fetch)
9783 (uri (string-append
9784 "https://hackage.haskell.org/package/"
9785 "email-validate/email-validate-"
9786 version
9787 ".tar.gz"))
9788 (sha256
9789 (base32
9790 "0qvxysiap3r4mi3xff5nsk9qv6diqxfgwj186bypbamzvzlz0lav"))))
9791 (build-system haskell-build-system)
9792 (inputs
9793 `(("ghc-attoparsec" ,ghc-attoparsec)
9794 ("ghc-hspec" ,ghc-hspec)
9795 ("ghc-quickcheck" ,ghc-quickcheck)
9796 ("ghc-doctest" ,ghc-doctest)))
9797 (home-page
9798 "https://github.com/Porges/email-validate-hs")
9799 (synopsis "Email address validator for Haskell")
9800 (description
9801 "This Haskell package provides a validator that can validate an email
9802 address string against RFC 5322.")
9803 (license license:bsd-3)))
9804
9805 (define-public ghc-semigroupoids-5.2.2
9806 (package
9807 (inherit ghc-semigroupoids)
9808 (name "ghc-semigroupoids")
9809 (version "5.2.2")
9810 (source (origin
9811 (method url-fetch)
9812 (uri (string-append "https://hackage.haskell.org/package/"
9813 "semigroupoids-" version "/semigroupoids-"
9814 version ".tar.gz"))
9815 (sha256
9816 (base32
9817 "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4"))))
9818 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
9819 ,@(package-inputs ghc-semigroupoids)))))
9820
9821 (define-public ghc-bytes
9822 (package
9823 (name "ghc-bytes")
9824 (version "0.15.4")
9825 (source
9826 (origin
9827 (method url-fetch)
9828 (uri
9829 (string-append "https://hackage.haskell.org/package/bytes-"
9830 version "/bytes-"
9831 version ".tar.gz"))
9832 (file-name (string-append name "-" version ".tar.gz"))
9833 (sha256
9834 (base32
9835 "121x3iqlm8pghw8cd9g30cnqbl7jrdpfjxdanmqdqllajw6xivrm"))))
9836 (build-system haskell-build-system)
9837 (inputs `(("ghc-cereal" ,ghc-cereal)
9838 ("cabal-doctest" ,cabal-doctest)
9839 ("ghc-doctest" ,ghc-doctest-0.13)
9840 ("ghc-scientific" ,ghc-scientific)
9841 ("ghc-text" ,ghc-text)
9842 ("ghc-transformers-compat" ,ghc-transformers-compat)
9843 ("ghc-unordered-containers" ,ghc-unordered-containers)
9844 ("ghc-void" ,ghc-void)
9845 ("ghc-vector" ,ghc-vector)))
9846 (synopsis "Serialization between @code{binary} and @code{cereal}")
9847 (description "This package provides a simple compatibility shim that lets
9848 you work with both @code{binary} and @code{cereal} with one chunk of
9849 serialization code.")
9850 (home-page "https://hackage.haskell.org/package/bytes")
9851 (license license:bsd-3)))
9852
9853 (define-public ghc-disk-free-space
9854 (package
9855 (name "ghc-disk-free-space")
9856 (version "0.1.0.1")
9857 (source
9858 (origin
9859 (method url-fetch)
9860 (uri (string-append "https://hackage.haskell.org/package/"
9861 "disk-free-space/disk-free-space-"
9862 version ".tar.gz"))
9863 (sha256
9864 (base32
9865 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
9866 (build-system haskell-build-system)
9867 (home-page "https://github.com/redneb/disk-free-space")
9868 (synopsis "Retrieve information about disk space usage")
9869 (description "A cross-platform library for retrieving information about
9870 disk space usage.")
9871 (license license:bsd-3)))
9872
9873 (define-public ghc-xdg-basedir
9874 (package
9875 (name "ghc-xdg-basedir")
9876 (version "0.2.2")
9877 (source
9878 (origin
9879 (method url-fetch)
9880 (uri (string-append
9881 "https://hackage.haskell.org/package/xdg-basedir/"
9882 "xdg-basedir-" version ".tar.gz"))
9883 (sha256
9884 (base32
9885 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
9886 (build-system haskell-build-system)
9887 (home-page "http://github.com/willdonnelly/xdg-basedir")
9888 (synopsis "XDG Base Directory library for Haskell")
9889 (description "This package provides a library implementing the XDG Base Directory spec.")
9890 (license license:bsd-3)))
9891
9892 (define-public ghc-errorcall-eq-instance
9893 (package
9894 (name "ghc-errorcall-eq-instance")
9895 (version "0.3.0")
9896 (source
9897 (origin
9898 (method url-fetch)
9899 (uri (string-append "https://hackage.haskell.org/package/"
9900 "errorcall-eq-instance/errorcall-eq-instance-"
9901 version ".tar.gz"))
9902 (sha256
9903 (base32
9904 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
9905 (build-system haskell-build-system)
9906 (inputs
9907 `(("ghc-base-orphans" ,ghc-base-orphans)))
9908 (native-inputs
9909 `(("ghc-quickcheck" ,ghc-quickcheck)
9910 ("ghc-hspec" ,ghc-hspec)
9911 ("hspec-discover" ,hspec-discover)))
9912 (home-page "http://hackage.haskell.org/package/errorcall-eq-instance")
9913 (synopsis "Orphan Eq instance for ErrorCall")
9914 (description
9915 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
9916 This package provides an orphan instance.")
9917 (license license:expat)))
9918
9919 (define-public ghc-missingh
9920 (package
9921 (name "ghc-missingh")
9922 (version "1.4.0.1")
9923 (source
9924 (origin
9925 (method url-fetch)
9926 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
9927 "MissingH-" version ".tar.gz"))
9928 (sha256
9929 (base32
9930 "0wcvgrmav480w7nf4bl14yi0jq2yzanysxwzwas9hpb28vyjlgr8"))))
9931 (build-system haskell-build-system)
9932 ;; Tests require the unmaintained testpack package, which depends on the
9933 ;; outdated QuickCheck version 2.7, which can no longer be built with
9934 ;; recent versions of GHC and Haskell libraries.
9935 (arguments '(#:tests? #f))
9936 (inputs
9937 `(("ghc-network" ,ghc-network)
9938 ("ghc-parsec" ,ghc-parsec)
9939 ("ghc-hunit" ,ghc-hunit)
9940 ("ghc-regex-compat" ,ghc-regex-compat)
9941 ("ghc-hslogger" ,ghc-hslogger)
9942 ("ghc-random" ,ghc-random)
9943 ("ghc-old-time" ,ghc-old-time)
9944 ("ghc-old-locale" ,ghc-old-locale)))
9945 (native-inputs
9946 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
9947 ("ghc-quickcheck" ,ghc-quickcheck)
9948 ("ghc-hunit" ,ghc-hunit)))
9949 (home-page "http://software.complete.org/missingh")
9950 (synopsis "Large utility library")
9951 (description
9952 "MissingH is a library of all sorts of utility functions for Haskell
9953 programmers. It is written in pure Haskell and thus should be extremely
9954 portable and easy to use.")
9955 (license license:bsd-3)))
9956
9957 (define-public ghc-intervalmap
9958 (package
9959 (name "ghc-intervalmap")
9960 (version "0.6.0.0")
9961 (source
9962 (origin
9963 (method url-fetch)
9964 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
9965 "IntervalMap-" version ".tar.gz"))
9966 (sha256
9967 (base32
9968 "06hin9wf1by8aqa7820fsi2339bh82184frkwz3jsb9sqa0hszcg"))))
9969 (build-system haskell-build-system)
9970 (native-inputs
9971 `(("ghc-quickcheck" ,ghc-quickcheck)))
9972 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
9973 (synopsis "Containers for intervals, with efficient search")
9974 (description
9975 "This package provides ordered containers of intervals, with efficient
9976 search for all keys containing a point or overlapping an interval. See the
9977 example code on the home page for a quick introduction.")
9978 (license license:bsd-3)))
9979
9980 (define-public ghc-operational
9981 (package
9982 (name "ghc-operational")
9983 (version "0.2.3.5")
9984 (source
9985 (origin
9986 (method url-fetch)
9987 (uri (string-append "https://hackage.haskell.org/package/operational/"
9988 "operational-" version ".tar.gz"))
9989 (sha256
9990 (base32
9991 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
9992 (build-system haskell-build-system)
9993 (inputs
9994 `(("ghc-random" ,ghc-random)))
9995 (home-page "http://wiki.haskell.org/Operational")
9996 (synopsis "Implementation of difficult monads made easy with operational semantics")
9997 (description
9998 "This library makes it easy to implement monads with tricky control
9999 flow. This is useful for: writing web applications in a sequential style,
10000 programming games with a uniform interface for human and AI players and easy
10001 replay capababilities, implementing fast parser monads, designing monadic
10002 DSLs, etc.")
10003 (license license:bsd-3)))
10004
10005 (define-public ghc-gtk2hs-buildtools
10006 (package
10007 (name "ghc-gtk2hs-buildtools")
10008 (version "0.13.4.0")
10009 (source
10010 (origin
10011 (method url-fetch)
10012 (uri (string-append "https://hackage.haskell.org/package/"
10013 "gtk2hs-buildtools/gtk2hs-buildtools-"
10014 version ".tar.gz"))
10015 (sha256
10016 (base32
10017 "0yg6xmylgpylmnh5g33qwwn5x9bqckdvvv4czqzd9vrr12lnnghg"))))
10018 (build-system haskell-build-system)
10019 (inputs
10020 `(("ghc-random" ,ghc-random)
10021 ("ghc-hashtables" ,ghc-hashtables)))
10022 (native-inputs
10023 `(("ghc-alex" ,ghc-alex)
10024 ("ghc-happy" ,ghc-happy)))
10025 (home-page "http://projects.haskell.org/gtk2hs/")
10026 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
10027 (description
10028 "This package provides a set of helper programs necessary to build the
10029 Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
10030 that is used to generate FFI declarations, a tool to build a type hierarchy
10031 that mirrors the C type hierarchy of GObjects found in glib, and a generator
10032 for signal declarations that are used to call back from C to Haskell. These
10033 tools are not needed to actually run Gtk2Hs programs.")
10034 (license license:gpl2)))
10035
10036 (define-public ghc-chart
10037 (package
10038 (name "ghc-chart")
10039 (version "1.8.3")
10040 (source
10041 (origin
10042 (method url-fetch)
10043 (uri (string-append "https://hackage.haskell.org/package/Chart/"
10044 "Chart-" version ".tar.gz"))
10045 (sha256
10046 (base32
10047 "13s64fhb2pmkdmx5bkgbgcn25qjihs364fvr47a1dw25f804kiy1"))))
10048 (build-system haskell-build-system)
10049 (inputs
10050 `(("ghc-old-locale" ,ghc-old-locale)
10051 ("ghc-lens" ,ghc-lens)
10052 ("ghc-colour" ,ghc-colour)
10053 ("ghc-data-default-class" ,ghc-data-default-class)
10054 ("ghc-operational" ,ghc-operational)
10055 ("ghc-vector" ,ghc-vector)))
10056 (home-page "https://github.com/timbod7/haskell-chart/wiki")
10057 (synopsis "Library for generating 2D charts and plots")
10058 (description
10059 "This package provides a library for generating 2D charts and plots, with
10060 backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
10061 (license license:bsd-3)))
10062
10063 (define-public ghc-wcwidth
10064 (package
10065 (name "ghc-wcwidth")
10066 (version "0.0.2")
10067 (source
10068 (origin
10069 (method url-fetch)
10070 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
10071 version ".tar.gz"))
10072 (sha256
10073 (base32
10074 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
10075 (build-system haskell-build-system)
10076 (inputs
10077 `(("ghc-setlocale" ,ghc-setlocale)
10078 ("ghc-utf8-string" ,ghc-utf8-string)
10079 ("ghc-attoparsec" ,ghc-attoparsec)))
10080 (home-page "https://github.com/solidsnack/wcwidth/")
10081 (synopsis "Haskell bindings to wcwidth")
10082 (description "This package provides Haskell bindings to your system's
10083 native wcwidth and a command line tool to examine the widths assigned by it.
10084 The command line tool can compile a width table to Haskell code that assigns
10085 widths to the Char type.")
10086 (license license:bsd-3)))
10087
10088 ;;; haskell.scm ends here