gnu: ghc-openglraw: Update to 3.3.1.0.
[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-newtype-generics
827 (package
828 (name "ghc-newtype-generics")
829 (version "0.5.3")
830 (source
831 (origin
832 (method url-fetch)
833 (uri (string-append "https://hackage.haskell.org/package/"
834 "newtype-generics/newtype-generics-"
835 version ".tar.gz"))
836 (sha256
837 (base32
838 "0igyisw2djg19v9vkna1rwf47k97mvkvk4bbkmswznvbm00z15gj"))))
839 (build-system haskell-build-system)
840 (native-inputs
841 `(("ghc-hspec" ,ghc-hspec)
842 ("hspec-discover" ,hspec-discover)))
843 (home-page "http://github.com/sjakobi/newtype-generics")
844 (synopsis "Typeclass and set of functions for working with newtypes")
845 (description "The @code{Newtype} typeclass represents the packing and
846 unpacking of a newtype, and allows you to operate under that newtype with
847 functions such as @code{ala}. Generics support was added in version 0.4,
848 making this package a full replacement for the original newtype package,
849 and an alternative to newtype-th.")
850 (license license:bsd-3)))
851
852 (define-public ghc-memotrie
853 (package
854 (name "ghc-memotrie")
855 (version "0.6.9")
856 (source
857 (origin
858 (method url-fetch)
859 (uri (string-append
860 "https://hackage.haskell.org/package/MemoTrie/MemoTrie-"
861 version
862 ".tar.gz"))
863 (sha256
864 (base32
865 "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x"))))
866 (build-system haskell-build-system)
867 (inputs
868 `(("ghc-newtype-generics" ,ghc-newtype-generics)))
869 (home-page "https://github.com/conal/MemoTrie")
870 (synopsis "Trie-based memo functions")
871 (description "This package provides a functional library for creating
872 efficient memo functions using tries.")
873 (license license:bsd-3)))
874
875 (define-public ghc-haddock-library
876 (package
877 (name "ghc-haddock-library")
878 (version "1.4.3")
879 (source
880 (origin
881 (method url-fetch)
882 (uri (string-append
883 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
884 version
885 ".tar.gz"))
886 (sha256
887 (base32
888 "0ns4bpf6whmcfl0cm2gx2c73if416x4q3ac4l4qm8w84h0zpcr7p"))))
889 (build-system haskell-build-system)
890 (inputs
891 `(("ghc-base-compat" ,ghc-base-compat)))
892 (native-inputs
893 `(("hspec-discover" ,hspec-discover)
894 ("ghc-hspec" ,ghc-hspec)
895 ("ghc-quickcheck" ,ghc-quickcheck)))
896 (home-page "https://www.haskell.org/haddock/")
897 (synopsis "Library exposing some functionality of Haddock")
898 (description
899 "Haddock is a documentation-generation tool for Haskell libraries. These
900 modules expose some functionality of it without pulling in the GHC dependency.
901 Please note that the API is likely to change so specify upper bounds in your
902 project if you can't release often. For interacting with Haddock itself, see
903 the ‘haddock’ package.")
904 (license license:bsd-3)))
905
906 (define-public ghc-haddock-api
907 (package
908 (name "ghc-haddock-api")
909 ;; This is the last version to be supported by Cabal < 2.0
910 (version "2.17.4")
911 (source
912 (origin
913 (method url-fetch)
914 (uri (string-append
915 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
916 version
917 ".tar.gz"))
918 (sha256
919 (base32
920 "00fn6pzgg8xjbaw12d76jdqh2dbc5xy7miyz0x6kidvvar7i35ss"))))
921 (build-system haskell-build-system)
922 (inputs
923 `(("ghc-paths" ,ghc-paths)
924 ("ghc-haddock-library" ,ghc-haddock-library)))
925 (native-inputs
926 `(("ghc-quickcheck" ,ghc-quickcheck)
927 ("ghc-hspec" ,ghc-hspec)
928 ("hspec-discover" ,hspec-discover)))
929 (home-page "https://www.haskell.org/haddock/")
930 (synopsis "API for documentation-generation tool Haddock")
931 (description "This package provides an API to Haddock, the
932 documentation-generation tool for Haskell libraries.")
933 (license license:bsd-3)))
934
935 (define-public ghc-haddock-test
936 (package
937 (name "ghc-haddock-test")
938 (version "0.0.1")
939 (source
940 (origin
941 (method url-fetch)
942 (uri (string-append "https://hackage.haskell.org/package/"
943 "haddock-test/haddock-test-"
944 version ".tar.gz"))
945 (sha256
946 (base32
947 "1ax8fnfrwx66csj952f3virxzapipan9da7z5l1zc12nqkifbs7w"))))
948 (build-system haskell-build-system)
949 (inputs
950 `(("ghc-xml" ,ghc-xml)
951 ("ghc-syb" ,ghc-syb)))
952 (home-page "http://www.haskell.org/haddock/")
953 (synopsis "Test utilities for Haddock")
954 (description "This package provides test utilities for Haddock.")
955 (license license:bsd-3)))
956
957 (define-public ghc-haddock
958 (package
959 (name "ghc-haddock")
960 (version "2.17.4")
961 (source
962 (origin
963 (method url-fetch)
964 (uri (string-append
965 "https://hackage.haskell.org/package/haddock/haddock-"
966 version
967 ".tar.gz"))
968 (sha256
969 (base32
970 "1z3h3v7w84dzsm47iavdppc2w899mr4c1agq9fzghgz902i0a655"))))
971 (build-system haskell-build-system)
972 ;; FIXME: Tests fail with this error:
973 ;; driver-test/Main.hs:4:1: error:
974 ;; Failed to load interface for ‘ResponseFileSpec’
975 (arguments `(#:tests? #f))
976 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
977 (native-inputs
978 `(("ghc-hspec" ,ghc-hspec)
979 ("ghc-haddock-test" ,ghc-haddock-test)))
980 (home-page "https://www.haskell.org/haddock/")
981 (synopsis
982 "Documentation-generation tool for Haskell libraries")
983 (description
984 "Haddock is a documentation-generation tool for Haskell libraries.")
985 (license license:bsd-3)))
986
987 (define-public ghc-simple-reflect
988 (package
989 (name "ghc-simple-reflect")
990 (version "0.3.3")
991 (source
992 (origin
993 (method url-fetch)
994 (uri (string-append
995 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
996 version
997 ".tar.gz"))
998 (sha256
999 (base32
1000 "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7"))))
1001 (build-system haskell-build-system)
1002 (home-page
1003 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
1004 (synopsis
1005 "Simple reflection of expressions containing variables")
1006 (description
1007 "This package allows simple reflection of expressions containing
1008 variables. Reflection here means that a Haskell expression is turned into a
1009 string. The primary aim of this package is teaching and understanding; there
1010 are no options for manipulating the reflected expressions beyond showing
1011 them.")
1012 (license license:bsd-3)))
1013
1014 (define-public ghc-haskell-src
1015 (package
1016 (name "ghc-haskell-src")
1017 (version "1.0.3.0")
1018 (source
1019 (origin
1020 (method url-fetch)
1021 (uri (string-append
1022 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
1023 version
1024 ".tar.gz"))
1025 (sha256
1026 (base32
1027 "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l"))))
1028 (build-system haskell-build-system)
1029 (inputs
1030 `(("ghc-happy" ,ghc-happy)
1031 ("ghc-syb" ,ghc-syb)))
1032 (home-page
1033 "https://hackage.haskell.org/package/haskell-src")
1034 (synopsis
1035 "Support for manipulating Haskell source code")
1036 (description
1037 "The 'haskell-src' package provides support for manipulating Haskell
1038 source code. The package provides a lexer, parser and pretty-printer, and a
1039 definition of a Haskell abstract syntax tree (AST). Common uses of this
1040 package are to parse or generate Haskell 98 code.")
1041 (license license:bsd-3)))
1042
1043 (define-public ghc-alex
1044 (package
1045 (name "ghc-alex")
1046 (version "3.2.4")
1047 (source
1048 (origin
1049 (method url-fetch)
1050 (uri (string-append
1051 "https://hackage.haskell.org/package/alex/alex-"
1052 version
1053 ".tar.gz"))
1054 (sha256
1055 (base32
1056 "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm"))))
1057 (build-system haskell-build-system)
1058 (arguments
1059 `(#:phases
1060 (modify-phases %standard-phases
1061 (add-before 'check 'set-check-variables
1062 (lambda _
1063 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
1064 (getenv "PATH")))
1065 (setenv "alex_datadir" (string-append (getcwd) "/data"))
1066 #t)))))
1067 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
1068 (native-inputs
1069 `(("which" ,which)))
1070 (home-page "https://www.haskell.org/alex/")
1071 (synopsis
1072 "Tool for generating lexical analysers in Haskell")
1073 (description
1074 "Alex is a tool for generating lexical analysers in Haskell. It takes a
1075 description of tokens based on regular expressions and generates a Haskell
1076 module containing code for scanning text efficiently. It is similar to the
1077 tool lex or flex for C/C++.")
1078 (license license:bsd-3)))
1079
1080 (define-public ghc-cgi
1081 (package
1082 (name "ghc-cgi")
1083 (version "3001.3.0.2")
1084 (source
1085 (origin
1086 (method url-fetch)
1087 (uri (string-append
1088 "https://hackage.haskell.org/package/cgi/cgi-"
1089 version
1090 ".tar.gz"))
1091 (sha256
1092 (base32
1093 "1hbpplss1m4rdpm4ibip6fpimlhssqa14fl338kl2jbc463i64cj"))))
1094 (build-system haskell-build-system)
1095 (arguments
1096 `(#:configure-flags (list "--allow-newer=QuickCheck")))
1097 (inputs
1098 `(("ghc-parsec" ,ghc-parsec)
1099 ("ghc-exceptions" ,ghc-exceptions)
1100 ("ghc-multipart" ,ghc-multipart)
1101 ("ghc-network-uri" ,ghc-network-uri)
1102 ("ghc-network" ,ghc-network)))
1103 (native-inputs
1104 `(("ghc-doctest" ,ghc-doctest)
1105 ("ghc-quickcheck" ,ghc-quickcheck)))
1106 (home-page
1107 "https://github.com/cheecheeo/haskell-cgi")
1108 (synopsis "Library for writing CGI programs")
1109 (description
1110 "This is a Haskell library for writing CGI programs.")
1111 (license license:bsd-3)))
1112
1113 (define-public ghc-cmdargs
1114 (package
1115 (name "ghc-cmdargs")
1116 (version "0.10.20")
1117 (source
1118 (origin
1119 (method url-fetch)
1120 (uri (string-append
1121 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
1122 version ".tar.gz"))
1123 (sha256
1124 (base32
1125 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
1126 (build-system haskell-build-system)
1127 (home-page
1128 "http://community.haskell.org/~ndm/cmdargs/")
1129 (synopsis "Command line argument processing")
1130 (description
1131 "This library provides an easy way to define command line parsers.")
1132 (license license:bsd-3)))
1133
1134 (define-public ghc-concatenative
1135 (package
1136 (name "ghc-concatenative")
1137 (version "1.0.1")
1138 (source (origin
1139 (method url-fetch)
1140 (uri (string-append
1141 "https://hackage.haskell.org/package/concatenative/concatenative-"
1142 version ".tar.gz"))
1143 (sha256
1144 (base32
1145 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
1146 (build-system haskell-build-system)
1147 (home-page
1148 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
1149 (synopsis "Library for postfix control flow")
1150 (description
1151 "Concatenative gives Haskell Factor-style combinators and arrows for
1152 postfix notation. For more information on stack based languages, see
1153 @uref{https://concatenative.org}.")
1154 (license license:bsd-3)))
1155
1156 (define-public ghc-happy
1157 (package
1158 (name "ghc-happy")
1159 (version "1.19.9")
1160 (source
1161 (origin
1162 (method url-fetch)
1163 (uri (string-append
1164 "https://hackage.haskell.org/package/happy/happy-"
1165 version
1166 ".tar.gz"))
1167 (sha256
1168 (base32
1169 "138xpxdb7x62lpmgmb6b3v3vgdqqvqn4273jaap3mjmc2gla709y"))))
1170 (build-system haskell-build-system)
1171 (home-page "https://hackage.haskell.org/package/happy")
1172 (synopsis "Parser generator for Haskell")
1173 (description "Happy is a parser generator for Haskell. Given a grammar
1174 specification in BNF, Happy generates Haskell code to parse the grammar.
1175 Happy works in a similar way to the yacc tool for C.")
1176 (license license:bsd-3)))
1177
1178 (define-public ghc-haskell-lexer
1179 (package
1180 (name "ghc-haskell-lexer")
1181 (version "1.0.1")
1182 (source
1183 (origin
1184 (method url-fetch)
1185 (uri (string-append
1186 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
1187 version ".tar.gz"))
1188 (sha256
1189 (base32
1190 "0rj3r1pk88hh3sk3mj61whp8czz5kpxhbc78xlr04bxwqjrjmm6p"))))
1191 (build-system haskell-build-system)
1192 (home-page "http://hackage.haskell.org/package/haskell-lexer")
1193 (synopsis "Fully compliant Haskell 98 lexer")
1194 (description
1195 "This package provides a fully compliant Haskell 98 lexer.")
1196 (license license:bsd-3)))
1197
1198 (define-public ghc-pretty-show
1199 (package
1200 (name "ghc-pretty-show")
1201 (version "1.7")
1202 (source
1203 (origin
1204 (method url-fetch)
1205 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
1206 "pretty-show-" version ".tar.gz"))
1207 (sha256
1208 (base32
1209 "0br7pkxqqqhby2j2v1g847lgqsrasx56g1jw3dhmjh4flzs6warq"))))
1210 (build-system haskell-build-system)
1211 (inputs
1212 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
1213 ("ghc-happy" ,ghc-happy)))
1214 (home-page "http://wiki.github.com/yav/pretty-show")
1215 (synopsis "Tools for working with derived `Show` instances")
1216 (description
1217 "This package provides a library and an executable for working with
1218 derived @code{Show} instances. By using the library, derived @code{Show}
1219 instances can be parsed into a generic data structure. The @code{ppsh} tool
1220 uses the library to produce human-readable versions of @code{Show} instances,
1221 which can be quite handy for debugging Haskell programs. We can also render
1222 complex generic values into an interactive Html page, for easier
1223 examination.")
1224 (license license:expat)))
1225
1226 (define-public ghc-pretty-show-for-haskell-src-exts
1227 (package (inherit ghc-pretty-show)
1228 (name "ghc-pretty-show")
1229 (version "1.6.10")
1230 (source
1231 (origin
1232 (method url-fetch)
1233 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
1234 "pretty-show-" version ".tar.gz"))
1235 (sha256
1236 (base32
1237 "133s4l1gk46saf6ycm785rswycy8g3j0qqrv93b5wp8cp50kd0ww"))))))
1238
1239 (define-public ghc-haskell-src-exts
1240 (package
1241 (name "ghc-haskell-src-exts")
1242 (version "1.20.1")
1243 (source
1244 (origin
1245 (method url-fetch)
1246 (uri (string-append
1247 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
1248 version
1249 ".tar.gz"))
1250 (sha256
1251 (base32
1252 "1jsjl9hja2dpcfq4mzlfpwyr6axwnwgacfb7aa070kz4lbygzaa8"))))
1253 (build-system haskell-build-system)
1254 (inputs
1255 `(("cpphs" ,cpphs)
1256 ("ghc-happy" ,ghc-happy)
1257 ("ghc-pretty-show" ,ghc-pretty-show-for-haskell-src-exts)))
1258 (native-inputs
1259 `(("ghc-smallcheck" ,ghc-smallcheck)
1260 ("ghc-tasty" ,ghc-tasty)
1261 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
1262 ("ghc-tasty-golden" ,ghc-tasty-golden)))
1263 (home-page "https://github.com/haskell-suite/haskell-src-exts")
1264 (synopsis "Library for manipulating Haskell source")
1265 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
1266 extension of the standard @code{haskell-src} package, and handles most
1267 registered syntactic extensions to Haskell. All extensions implemented in GHC
1268 are supported. Apart from these standard extensions, it also handles regular
1269 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
1270 (license license:bsd-3)))
1271
1272 (define-public ghc-haskell-src-exts-util
1273 (package
1274 (name "ghc-haskell-src-exts-util")
1275 (version "0.2.2")
1276 (source
1277 (origin
1278 (method url-fetch)
1279 (uri (string-append "https://hackage.haskell.org/package/"
1280 "haskell-src-exts-util/haskell-src-exts-util-"
1281 version ".tar.gz"))
1282 (sha256
1283 (base32
1284 "14rhwcrdz3kfb69c64qn8kybl7wnpajrjlfz5p95ca4bva4mwclg"))))
1285 (build-system haskell-build-system)
1286 (inputs
1287 `(("ghc-data-default" ,ghc-data-default)
1288 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1289 ("ghc-semigroups" ,ghc-semigroups)
1290 ("ghc-uniplate" ,ghc-uniplate)))
1291 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
1292 (synopsis "Helper functions for working with haskell-src-exts trees")
1293 (description
1294 "This package provides helper functions for working with
1295 @code{haskell-src-exts} trees.")
1296 (license license:bsd-3)))
1297
1298 (define-public ghc-refact
1299 (package
1300 (name "ghc-refact")
1301 (version "0.3.0.2")
1302 (source
1303 (origin
1304 (method url-fetch)
1305 (uri (string-append "https://hackage.haskell.org/package/"
1306 "refact/refact-"
1307 version ".tar.gz"))
1308 (sha256
1309 (base32
1310 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
1311 (build-system haskell-build-system)
1312 (home-page "http://hackage.haskell.org/package/refact")
1313 (synopsis "Specify refactorings to perform with apply-refact")
1314 (description
1315 "This library provides a datatype which can be interpreted by
1316 @code{apply-refact}. It exists as a separate library so that applications can
1317 specify refactorings without depending on GHC.")
1318 (license license:bsd-3)))
1319
1320 (define-public hlint
1321 (package
1322 (name "hlint")
1323 (version "2.1.1")
1324 (source
1325 (origin
1326 (method url-fetch)
1327 (uri (string-append
1328 "https://hackage.haskell.org/package/" name
1329 "/" name "-" version ".tar.gz"))
1330 (sha256
1331 (base32
1332 "0mmfavd158l5ig5wb1b1zbhbraj8hhqvbk4mg85n6c8ndpr4grd4"))))
1333 (build-system haskell-build-system)
1334 (inputs
1335 `(("cpphs" ,cpphs)
1336 ("ghc-unordered-containers" ,ghc-unordered-containers)
1337 ("ghc-yaml" ,ghc-yaml)
1338 ("ghc-vector" ,ghc-vector)
1339 ("ghc-text" ,ghc-text)
1340 ("ghc-data-default" ,ghc-data-default)
1341 ("ghc-cmdargs" ,ghc-cmdargs)
1342 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
1343 ("ghc-haskell-src-exts-util" ,ghc-haskell-src-exts-util)
1344 ("ghc-uniplate" ,ghc-uniplate)
1345 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
1346 ("ghc-extra" ,ghc-extra)
1347 ("ghc-refact" ,ghc-refact)
1348 ("ghc-aeson" ,ghc-aeson)
1349 ("hscolour" ,hscolour)))
1350 (home-page "http://community.haskell.org/~ndm/hlint/")
1351 (synopsis "Suggest improvements for Haskell source code")
1352 (description "HLint reads Haskell programs and suggests changes that
1353 hopefully make them easier to read. HLint also makes it easy to disable
1354 unwanted suggestions, and to add your own custom suggestions.")
1355 (license license:bsd-3)))
1356
1357 (define-public ghc-resourcet
1358 (package
1359 (name "ghc-resourcet")
1360 (version "1.2.1")
1361 (source
1362 (origin
1363 (method url-fetch)
1364 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
1365 "resourcet-" version ".tar.gz"))
1366 (sha256
1367 (base32
1368 "0rzjzh34s36ssign7akqjnwnjxf11c3511wk7ky0xxy0dqmc2rg7"))))
1369 (build-system haskell-build-system)
1370 (inputs
1371 `(("ghc-transformers-base" ,ghc-transformers-base)
1372 ("ghc-monad-control" ,ghc-monad-control)
1373 ("ghc-transformers-compat" ,ghc-transformers-compat)
1374 ("ghc-mmorph" ,ghc-mmorph)
1375 ("ghc-exceptions" ,ghc-exceptions)
1376 ("ghc-unliftio-core" ,ghc-unliftio-core)))
1377 (native-inputs
1378 `(("ghc-lifted-base" ,ghc-lifted-base)
1379 ("ghc-hspec" ,ghc-hspec)))
1380 (home-page "https://github.com/snoyberg/conduit")
1381 (synopsis "Deterministic allocation and freeing of scarce resources")
1382 (description "ResourceT is a monad transformer which creates a region of
1383 code where you can safely allocate resources.")
1384 (license license:bsd-3)))
1385
1386 (define-public ghc-objectname
1387 (package
1388 (name "ghc-objectname")
1389 (version "1.1.0.1")
1390 (source
1391 (origin
1392 (method url-fetch)
1393 (uri (string-append
1394 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
1395 version
1396 ".tar.gz"))
1397 (sha256
1398 (base32
1399 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
1400 (build-system haskell-build-system)
1401 (home-page "https://hackage.haskell.org/package/ObjectName")
1402 (synopsis "Helper library for Haskell OpenGL")
1403 (description "This tiny package contains the class ObjectName, which
1404 corresponds to the general notion of explicitly handled identifiers for API
1405 objects, e.g. a texture object name in OpenGL or a buffer object name in
1406 OpenAL.")
1407 (license license:bsd-3)))
1408
1409 (define-public ghc-sdl
1410 (package
1411 (name "ghc-sdl")
1412 (version "0.6.7.0")
1413 (source
1414 (origin
1415 (method url-fetch)
1416 (uri (string-append
1417 "https://hackage.haskell.org/package/SDL/SDL-"
1418 version
1419 ".tar.gz"))
1420 (sha256
1421 (base32
1422 "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq"))))
1423 (build-system haskell-build-system)
1424 (inputs
1425 `(("sdl" ,sdl)))
1426 (home-page "https://hackage.haskell.org/package/SDL")
1427 (synopsis "LibSDL for Haskell")
1428 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
1429 multimedia library designed to provide low level access to audio, keyboard,
1430 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
1431 by MPEG playback software, emulators, and many popular games, including the
1432 award winning Linux port of \"Civilization: Call To Power.\"")
1433 (license license:bsd-3)))
1434
1435 (define-public ghc-sdl-mixer
1436 (package
1437 (name "ghc-sdl-mixer")
1438 (version "0.6.3.0")
1439 (source
1440 (origin
1441 (method url-fetch)
1442 (uri (string-append
1443 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
1444 version
1445 ".tar.gz"))
1446 (sha256
1447 (base32
1448 "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r"))))
1449 (build-system haskell-build-system)
1450 (arguments
1451 `(#:configure-flags
1452 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
1453 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
1454 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
1455 (inputs
1456 `(("ghc-sdl" ,ghc-sdl)
1457 ("sdl-mixer" ,sdl-mixer)))
1458 (home-page "https://hackage.haskell.org/package/SDL-mixer")
1459 (synopsis "Haskell bindings to libSDL_mixer")
1460 (description "SDL_mixer is a sample multi-channel audio mixer library. It
1461 supports any number of simultaneously playing channels of 16 bit stereo audio,
1462 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
1463 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
1464 (license license:bsd-3)))
1465
1466 (define-public ghc-sdl-image
1467 (package
1468 (name "ghc-sdl-image")
1469 (version "0.6.2.0")
1470 (source
1471 (origin
1472 (method url-fetch)
1473 (uri (string-append
1474 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
1475 version
1476 ".tar.gz"))
1477 (sha256
1478 (base32
1479 "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1"))))
1480 (build-system haskell-build-system)
1481 (arguments
1482 `(#:configure-flags
1483 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
1484 (sdl-image-include (string-append sdl-image "/include/SDL")))
1485 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
1486 (inputs
1487 `(("ghc-sdl" ,ghc-sdl)
1488 ("sdl-image" ,sdl-image)))
1489 (home-page "https://hackage.haskell.org/package/SDL-image")
1490 (synopsis "Haskell bindings to libSDL_image")
1491 (description "SDL_image is an image file loading library. It loads images
1492 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
1493 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
1494 (license license:bsd-3)))
1495
1496 (define-public ghc-half
1497 (package
1498 (name "ghc-half")
1499 (version "0.3")
1500 (source
1501 (origin
1502 (method url-fetch)
1503 (uri (string-append
1504 "https://hackage.haskell.org/package/half/half-"
1505 version ".tar.gz"))
1506 (sha256
1507 (base32
1508 "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6"))))
1509 (build-system haskell-build-system)
1510 (native-inputs
1511 `(("ghc-hspec" ,ghc-hspec)
1512 ("ghc-quickcheck" ,ghc-quickcheck)))
1513 (home-page "https://github.com/ekmett/half")
1514 (synopsis "Half-precision floating-point computations")
1515 (description "This library provides a half-precision floating-point
1516 computation library for Haskell.")
1517 (license license:bsd-3)))
1518
1519 (define-public ghc-fixed
1520 (package
1521 (name "ghc-fixed")
1522 (version "0.2.1.1")
1523 (source
1524 (origin
1525 (method url-fetch)
1526 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
1527 version ".tar.gz"))
1528 (sha256
1529 (base32
1530 "1qhmwx8iqshns0crmr9d2f8hm65jxbcp3dvv0c39v34ra7if3a94"))))
1531 (build-system haskell-build-system)
1532 (home-page "https://github.com/ekmett/fixed")
1533 (synopsis "Signed 15.16 precision fixed point arithmetic")
1534 (description
1535 "This package provides functions for signed 15.16 precision fixed point
1536 arithmetic.")
1537 (license license:bsd-3)))
1538
1539 (define-public ghc-openglraw
1540 (package
1541 (name "ghc-openglraw")
1542 (version "3.3.1.0")
1543 (source
1544 (origin
1545 (method url-fetch)
1546 (uri (string-append
1547 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
1548 version
1549 ".tar.gz"))
1550 (sha256
1551 (base32
1552 "1x8w3x308jldj2c1xqcq3a3sc2jc06pdpgqkgjsmixi1skv4a1vb"))))
1553 (build-system haskell-build-system)
1554 (inputs
1555 `(("ghc-half" ,ghc-half)
1556 ("ghc-fixed" ,ghc-fixed)
1557 ("glu" ,glu)
1558 ("ghc-text" ,ghc-text)))
1559 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1560 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
1561 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
1562 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
1563 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
1564 offers access to all necessary functions, tokens and types plus a general
1565 facility for loading extension entries. The module hierarchy closely mirrors
1566 the naming structure of the OpenGL extensions, making it easy to find the
1567 right module to import. All API entries are loaded dynamically, so no special
1568 C header files are needed for building this package. If an API entry is not
1569 found at runtime, a userError is thrown.")
1570 (license license:bsd-3)))
1571
1572 (define-public ghc-glut
1573 (package
1574 (name "ghc-glut")
1575 (version "2.7.0.10")
1576 (source
1577 (origin
1578 (method url-fetch)
1579 (uri (string-append
1580 "https://hackage.haskell.org/package/GLUT/GLUT-"
1581 version
1582 ".tar.gz"))
1583 (sha256
1584 (base32
1585 "0sbm943bg896nf3qjmlnsg3zzrr3pl330rzh9g0hwv47nzwwn4ab"))))
1586 (build-system haskell-build-system)
1587 (inputs
1588 `(("ghc-statevar" ,ghc-statevar)
1589 ("ghc-opengl" ,ghc-opengl)
1590 ("ghc-openglraw" ,ghc-openglraw)
1591 ("freeglut" ,freeglut)))
1592 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1593 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
1594 (description "This library provides Haskell bindings for the OpenGL
1595 Utility Toolkit, a window system-independent toolkit for writing OpenGL
1596 programs.")
1597 (license license:bsd-3)))
1598
1599 (define-public ghc-gluraw
1600 (package
1601 (name "ghc-gluraw")
1602 (version "2.0.0.2")
1603 (source
1604 (origin
1605 (method url-fetch)
1606 (uri (string-append
1607 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
1608 version
1609 ".tar.gz"))
1610 (sha256
1611 (base32
1612 "1phmvxr0kkxq89ykmr8rj77inj8dvcxd6h72z1ncdgdazfz3sjw8"))))
1613 (build-system haskell-build-system)
1614 (inputs
1615 `(("ghc-openglraw" ,ghc-openglraw)))
1616 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1617 (synopsis "Raw Haskell bindings GLU")
1618 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
1619 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
1620 basis for a nicer interface.")
1621 (license license:bsd-3)))
1622
1623 (define-public ghc-opengl
1624 (package
1625 (name "ghc-opengl")
1626 (version "3.0.1.0")
1627 (source
1628 (origin
1629 (method url-fetch)
1630 (uri (string-append
1631 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
1632 version
1633 ".tar.gz"))
1634 (sha256
1635 (base32
1636 "1nm2mzrn1h2nnfs9vl5p088hqpll7rdvcsyqsn8q641im9jhqp7l"))))
1637 (build-system haskell-build-system)
1638 (inputs
1639 `(("ghc-text" ,ghc-text)
1640 ("ghc-objectname" ,ghc-objectname)
1641 ("ghc-gluraw" ,ghc-gluraw)
1642 ("ghc-statevar" ,ghc-statevar)
1643 ("ghc-openglraw" ,ghc-openglraw)))
1644 (home-page "https://www.haskell.org/haskellwiki/Opengl")
1645 (synopsis "Haskell bindings for the OpenGL graphics system")
1646 (description "This package provides Haskell bindings for the OpenGL
1647 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
1648 version 1.3).")
1649 (license license:bsd-3)))
1650
1651 (define-public ghc-streaming-commons
1652 (package
1653 (name "ghc-streaming-commons")
1654 (version "0.2.1.0")
1655 (source
1656 (origin
1657 (method url-fetch)
1658 (uri (string-append "https://hackage.haskell.org/package/"
1659 "streaming-commons/streaming-commons-"
1660 version ".tar.gz"))
1661 (sha256
1662 (base32
1663 "13fn6qmpiggwpn8lczyydgp77cyzfypwds7wxskrwir4i5cgxlfq"))))
1664 (build-system haskell-build-system)
1665 (inputs
1666 `(("ghc-async" ,ghc-async)
1667 ("ghc-blaze-builder" ,ghc-blaze-builder)
1668 ("ghc-network" ,ghc-network)
1669 ("ghc-random" ,ghc-random)
1670 ("ghc-stm" ,ghc-stm)
1671 ("ghc-text" ,ghc-text)
1672 ("ghc-zlib" ,ghc-zlib)))
1673 (native-inputs
1674 `(("ghc-quickcheck" ,ghc-quickcheck)
1675 ("ghc-hspec" ,ghc-hspec)
1676 ("hspec-discover" ,hspec-discover)))
1677 (home-page "https://hackage.haskell.org/package/streaming-commons")
1678 (synopsis "Conduit and pipes needed by some streaming data libraries")
1679 (description "This package provides low-dependency functionality commonly
1680 needed by various Haskell streaming data libraries, such as @code{conduit} and
1681 @code{pipe}s.")
1682 (license license:expat)))
1683
1684 (define-public cpphs
1685 (package
1686 (name "cpphs")
1687 (version "1.20.8")
1688 (source
1689 (origin
1690 (method url-fetch)
1691 (uri (string-append
1692 "https://hackage.haskell.org/package/" name "/"
1693 name "-" version ".tar.gz"))
1694 (sha256
1695 (base32
1696 "1bh524asqhk9v1s0wvipl0hgn7l63iy3js867yv0z3h5v2kn8vg5"))))
1697 (build-system haskell-build-system)
1698 (inputs
1699 `(("ghc-polyparse" ,ghc-polyparse)
1700 ("ghc-old-locale" ,ghc-old-locale)
1701 ("ghc-old-time" ,ghc-old-time)))
1702 (home-page "http://projects.haskell.org/cpphs/")
1703 (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
1704 (description "Cpphs is a re-implementation of the C pre-processor that is
1705 both more compatible with Haskell, and itself written in Haskell so that it
1706 can be distributed with compilers. This version of the C pre-processor is
1707 pretty-much feature-complete and compatible with traditional (K&R)
1708 pre-processors. Additional features include: a plain-text mode; an option to
1709 unlit literate code files; and an option to turn off macro-expansion.")
1710 (license (list license:lgpl2.1+ license:gpl3+))))
1711
1712 (define-public ghc-reflection
1713 (package
1714 (name "ghc-reflection")
1715 (version "2.1.4")
1716 (source
1717 (origin
1718 (method url-fetch)
1719 (uri (string-append
1720 "https://hackage.haskell.org/package/reflection/reflection-"
1721 version
1722 ".tar.gz"))
1723 (sha256
1724 (base32
1725 "0kf4a5ijw6jfnfibjcrpdy9vzh1n6v2pxia8dhyyqdissiwc8bzj"))))
1726 (build-system haskell-build-system)
1727 (inputs `(("ghc-tagged" ,ghc-tagged)))
1728 (home-page "https://github.com/ekmett/reflection")
1729 (synopsis "Reify arbitrary terms into types that can be reflected back
1730 into terms")
1731 (description "This package addresses the 'configuration problem' which is
1732 propogating configurations that are available at run-time, allowing multiple
1733 configurations to coexist without resorting to mutable global variables or
1734 @code{System.IO.Unsafe.unsafePerformIO}.")
1735 (license license:bsd-3)))
1736
1737 (define-public ghc-old-locale
1738 (package
1739 (name "ghc-old-locale")
1740 (version "1.0.0.7")
1741 (source
1742 (origin
1743 (method url-fetch)
1744 (uri (string-append
1745 "https://hackage.haskell.org/package/old-locale/old-locale-"
1746 version
1747 ".tar.gz"))
1748 (sha256
1749 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
1750 (build-system haskell-build-system)
1751 (arguments
1752 `(#:cabal-revision
1753 ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs")))
1754 (home-page "https://hackage.haskell.org/package/old-locale")
1755 (synopsis "Adapt to locale conventions")
1756 (description
1757 "This package provides the ability to adapt to locale conventions such as
1758 date and time formats.")
1759 (license license:bsd-3)))
1760
1761 (define-public ghc-old-time
1762 (package
1763 (name "ghc-old-time")
1764 (version "1.1.0.3")
1765 (source
1766 (origin
1767 (method url-fetch)
1768 (uri (string-append
1769 "https://hackage.haskell.org/package/old-time/old-time-"
1770 version
1771 ".tar.gz"))
1772 (sha256
1773 (base32
1774 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
1775 (build-system haskell-build-system)
1776 (arguments
1777 `(#:cabal-revision
1778 ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9")))
1779 (inputs
1780 `(("ghc-old-locale" ,ghc-old-locale)))
1781 (home-page "https://hackage.haskell.org/package/old-time")
1782 (synopsis "Time compatibility library for Haskell")
1783 (description "Old-time is a package for backwards compatibility with the
1784 old @code{time} library. For new projects, the newer
1785 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
1786 (license license:bsd-3)))
1787
1788 (define-public ghc-data-default-instances-old-locale
1789 (package
1790 (name "ghc-data-default-instances-old-locale")
1791 (version "0.0.1")
1792 (source
1793 (origin
1794 (method url-fetch)
1795 (uri (string-append
1796 "https://hackage.haskell.org/package/"
1797 "data-default-instances-old-locale/"
1798 "data-default-instances-old-locale-" version ".tar.gz"))
1799 (sha256
1800 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
1801 (build-system haskell-build-system)
1802 (inputs
1803 `(("ghc-data-default-class" ,ghc-data-default-class)
1804 ("ghc-old-locale" ,ghc-old-locale)))
1805 (home-page
1806 "https://hackage.haskell.org/package/data-default-instances-old-locale")
1807 (synopsis "Default instances for types in old-locale")
1808 (description "Provides Default instances for types from the old-locale
1809 package.")
1810 (license license:bsd-3)))
1811
1812 (define-public ghc-dlist
1813 (package
1814 (name "ghc-dlist")
1815 (version "0.8.0.4")
1816 (source
1817 (origin
1818 (method url-fetch)
1819 (uri (string-append
1820 "https://hackage.haskell.org/package/dlist/dlist-"
1821 version
1822 ".tar.gz"))
1823 (sha256
1824 (base32 "0yirrh0s6acjy9hhvf5fqg2d6q5y6gm9xs04v6w1imndh1xqdwdc"))))
1825 (build-system haskell-build-system)
1826 (inputs
1827 `(("ghc-quickcheck" ,ghc-quickcheck)))
1828 (home-page "https://github.com/spl/dlist")
1829 (synopsis "Difference lists")
1830 (description
1831 "Difference lists are a list-like type supporting O(1) append. This is
1832 particularly useful for efficient logging and pretty printing (e.g. with the
1833 Writer monad), where list append quickly becomes too expensive.")
1834 (license license:bsd-3)))
1835
1836 (define-public ghc-extensible-exceptions
1837 (package
1838 (name "ghc-extensible-exceptions")
1839 (version "0.1.1.4")
1840 (source
1841 (origin
1842 (method url-fetch)
1843 (uri (string-append "https://hackage.haskell.org/package/"
1844 "extensible-exceptions/extensible-exceptions-"
1845 version ".tar.gz"))
1846 (sha256
1847 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
1848 (build-system haskell-build-system)
1849 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
1850 (synopsis "Extensible exceptions for Haskell")
1851 (description
1852 "This package provides extensible exceptions for both new and old
1853 versions of GHC (i.e., < 6.10).")
1854 (license license:bsd-3)))
1855
1856 (define-public cabal-install
1857 (package
1858 (name "cabal-install")
1859 (version "1.22.6.0")
1860 (source
1861 (origin
1862 (method url-fetch)
1863 (uri (string-append
1864 "https://hackage.haskell.org/package/cabal-install/cabal-install-"
1865 version
1866 ".tar.gz"))
1867 (sha256
1868 (base32 "1d5h7h2wjwc2s3dvsvzjgmmfrfl2312ym2h6kyjgm9wnaqw9w8wx"))))
1869 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
1870 (build-system haskell-build-system)
1871 (inputs
1872 `(("ghc-http" ,ghc-http)
1873 ("ghc-network-uri" ,ghc-network-uri)
1874 ("ghc-network" ,ghc-network)
1875 ("ghc-random" ,ghc-random)
1876 ("ghc-stm" ,ghc-stm)
1877 ("ghc-zlib" ,ghc-zlib)))
1878 (home-page "https://www.haskell.org/cabal/")
1879 (synopsis "Command-line interface for Cabal and Hackage")
1880 (description
1881 "The cabal command-line program simplifies the process of managing
1882 Haskell software by automating the fetching, configuration, compilation and
1883 installation of Haskell libraries and programs.")
1884 (license license:bsd-3)))
1885
1886 (define-public cabal-doctest
1887 (package
1888 (name "cabal-doctest")
1889 (version "1.0.6")
1890 (source
1891 (origin
1892 (method url-fetch)
1893 (uri (string-append "https://hackage.haskell.org/package/"
1894 "cabal-doctest/cabal-doctest-"
1895 version ".tar.gz"))
1896 (sha256
1897 (base32
1898 "0bgd4jdmzxq5y465r4sf4jv2ix73yvblnr4c9wyazazafddamjny"))))
1899 (build-system haskell-build-system)
1900 (arguments
1901 `(#:cabal-revision
1902 ("1" "1bk85avgc93yvcggwbk01fy8nvg6753wgmaanhkry0hz55h7mpld")))
1903 (home-page "https://github.com/phadej/cabal-doctest")
1904 (synopsis "Setup.hs helper for running doctests")
1905 (description
1906 "To properly work, the @code{doctest} package needs plenty of
1907 configuration. This library provides the common bits for writing custom
1908 @file{Setup.hs} files.")
1909 (license license:bsd-3)))
1910
1911 (define-public ghc-parsec-numbers
1912 (package
1913 (name "ghc-parsec-numbers")
1914 (version "0.1.0")
1915 (source
1916 (origin
1917 (method url-fetch)
1918 (uri (string-append "https://hackage.haskell.org/package/"
1919 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
1920 (sha256
1921 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
1922 (build-system haskell-build-system)
1923 (inputs
1924 `(("ghc-parsec" ,ghc-parsec)))
1925 (home-page "https://hackage.haskell.org/package/parsec-numbers")
1926 (synopsis "Utilities for parsing numbers from strings")
1927 (description
1928 "This package provides the number parsers without the need to use a large
1929 (and unportable) token parser.")
1930 (license license:bsd-3)))
1931
1932 (define-public ghc-paths
1933 (package
1934 (name "ghc-paths")
1935 (version "0.1.0.9")
1936 (outputs '("out" "doc"))
1937 (source
1938 (origin
1939 (method url-fetch)
1940 (uri (string-append
1941 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
1942 version
1943 ".tar.gz"))
1944 (sha256
1945 (base32
1946 "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg"))))
1947 (build-system haskell-build-system)
1948 (home-page "https://github.com/simonmar/ghc-paths")
1949 (synopsis
1950 "Knowledge of GHC's installation directories")
1951 (description
1952 "Knowledge of GHC's installation directories.")
1953 (license license:bsd-3)))
1954
1955 (define-public ghc-utf8-string
1956 (package
1957 (name "ghc-utf8-string")
1958 (version "1.0.1.1")
1959 (source
1960 (origin
1961 (method url-fetch)
1962 (uri (string-append
1963 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
1964 version
1965 ".tar.gz"))
1966 (sha256
1967 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
1968 (build-system haskell-build-system)
1969 (arguments
1970 `(#:cabal-revision
1971 ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38")))
1972 (home-page "https://github.com/glguy/utf8-string/")
1973 (synopsis "Support for reading and writing UTF8 Strings")
1974 (description
1975 "A UTF8 layer for Strings. The utf8-string package provides operations
1976 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
1977 UTF8 without truncation.")
1978 (license license:bsd-3)))
1979
1980 (define-public ghc-setenv
1981 (package
1982 (name "ghc-setenv")
1983 (version "0.1.1.3")
1984 (source
1985 (origin
1986 (method url-fetch)
1987 (uri (string-append
1988 "https://hackage.haskell.org/package/setenv/setenv-"
1989 version
1990 ".tar.gz"))
1991 (sha256
1992 (base32
1993 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
1994 (build-system haskell-build-system)
1995 (home-page "https://hackage.haskell.org/package/setenv")
1996 (synopsis "Library for setting environment variables")
1997 (description "This package provides a Haskell library for setting
1998 environment variables.")
1999 (license license:expat)))
2000
2001 (define-public ghc-setlocale
2002 (package
2003 (name "ghc-setlocale")
2004 (version "1.0.0.8")
2005 (source (origin
2006 (method url-fetch)
2007 (uri (string-append
2008 "https://hackage.haskell.org/package/setlocale-"
2009 version "/setlocale-" version ".tar.gz"))
2010 (sha256
2011 (base32
2012 "0sdrsmkhw08483d73ysgm2926fdbhii61br03lqpqw0lfzj4ilbd"))))
2013 (build-system haskell-build-system)
2014 (home-page "https://hackage.haskell.org/package/setlocale")
2015 (synopsis "Haskell bindings to setlocale")
2016 (description "This package provides Haskell bindings to the
2017 @code{setlocale} C function.")
2018 (license license:bsd-3)))
2019
2020 (define-public ghc-x11
2021 (package
2022 (name "ghc-x11")
2023 (version "1.9")
2024 (source
2025 (origin
2026 (method url-fetch)
2027 (uri (string-append "https://hackage.haskell.org/package/X11/"
2028 "X11-" version ".tar.gz"))
2029 (sha256
2030 (base32 "1f8dy6ckkyvpcv7zlniyv01cqjb9lgqscm8pml58cvwc7n38w4qh"))))
2031 (build-system haskell-build-system)
2032 (inputs
2033 `(("libx11" ,libx11)
2034 ("libxrandr" ,libxrandr)
2035 ("libxinerama" ,libxinerama)
2036 ("libxscrnsaver" ,libxscrnsaver)
2037 ("ghc-data-default" ,ghc-data-default)))
2038 (home-page "https://github.com/haskell-pkg-janitors/X11")
2039 (synopsis "Bindings to the X11 graphics library")
2040 (description
2041 "This package provides Haskell bindings to the X11 graphics library. The
2042 bindings are a direct translation of the C bindings.")
2043 (license license:bsd-3)))
2044
2045 (define-public ghc-x11-xft
2046 (package
2047 (name "ghc-x11-xft")
2048 (version "0.3.1")
2049 (source
2050 (origin
2051 (method url-fetch)
2052 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
2053 "X11-xft-" version ".tar.gz"))
2054 (sha256
2055 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
2056 (inputs
2057 `(("ghc-x11" ,ghc-x11)
2058 ("ghc-utf8-string" ,ghc-utf8-string)
2059 ("libx11" ,libx11)
2060 ("libxft" ,libxft)
2061 ("xorgproto" ,xorgproto)))
2062 (native-inputs
2063 `(("pkg-config" ,pkg-config)))
2064 (build-system haskell-build-system)
2065 (home-page "https://hackage.haskell.org/package/X11-xft")
2066 (synopsis "Bindings to Xft")
2067 (description
2068 "Bindings to the Xft, X Free Type interface library, and some Xrender
2069 parts.")
2070 (license license:lgpl2.1)))
2071
2072 (define-public ghc-stringbuilder
2073 (package
2074 (name "ghc-stringbuilder")
2075 (version "0.5.1")
2076 (source
2077 (origin
2078 (method url-fetch)
2079 (uri (string-append
2080 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
2081 version
2082 ".tar.gz"))
2083 (sha256
2084 (base32
2085 "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q"))))
2086 (build-system haskell-build-system)
2087 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
2088 ; enabled
2089 (home-page "https://hackage.haskell.org/package/stringbuilder")
2090 (synopsis "Writer monad for multi-line string literals")
2091 (description "This package provides a writer monad for multi-line string
2092 literals.")
2093 (license license:expat)))
2094
2095 (define-public ghc-zlib
2096 (package
2097 (name "ghc-zlib")
2098 (version "0.6.2")
2099 (outputs '("out" "doc"))
2100 (source
2101 (origin
2102 (method url-fetch)
2103 (uri (string-append
2104 "https://hackage.haskell.org/package/zlib/zlib-"
2105 version
2106 ".tar.gz"))
2107 (sha256
2108 (base32
2109 "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d"))))
2110 (build-system haskell-build-system)
2111 (arguments
2112 `(#:phases
2113 (modify-phases %standard-phases
2114 (add-before 'configure 'strip-test-framework-constraints
2115 (lambda _
2116 (substitute* "zlib.cabal"
2117 (("tasty >= 0\\.8 && < 0\\.12") "tasty")
2118 (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit")
2119 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
2120 (inputs `(("zlib" ,zlib)))
2121 (native-inputs
2122 `(("ghc-quickcheck" ,ghc-quickcheck)
2123 ("ghc-tasty" ,ghc-tasty)
2124 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2125 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
2126 (home-page "https://hackage.haskell.org/package/zlib")
2127 (synopsis
2128 "Compression and decompression in the gzip and zlib formats")
2129 (description
2130 "This package provides a pure interface for compressing and decompressing
2131 streams of data represented as lazy 'ByteString's. It uses the zlib C library
2132 so it has high performance. It supports the 'zlib', 'gzip' and 'raw'
2133 compression formats. It provides a convenient high level API suitable for
2134 most tasks and for the few cases where more control is needed it provides
2135 access to the full zlib feature set.")
2136 (license license:bsd-3)))
2137
2138 (define-public ghc-stm
2139 (package
2140 (name "ghc-stm")
2141 (version "2.4.5.0")
2142 (outputs '("out" "doc"))
2143 (source
2144 (origin
2145 (method url-fetch)
2146 (uri (string-append
2147 "https://hackage.haskell.org/package/stm/stm-"
2148 version
2149 ".tar.gz"))
2150 (sha256
2151 (base32
2152 "19sr11a0hqikhvf561b38phz6k3zg9s157a0f5ffvghk7wcdpmri"))))
2153 (build-system haskell-build-system)
2154 (home-page "https://hackage.haskell.org/package/stm")
2155 (synopsis "Software Transactional Memory")
2156 (description
2157 "Software Transactional Memory, or STM, is an abstraction for concurrent
2158 communication. The main benefits of STM are composability and modularity.
2159 That is, using STM you can write concurrent abstractions that can be easily
2160 composed with any other abstraction built using STM, without exposing the
2161 details of how your abstraction ensures safety. This is typically not the
2162 case with other forms of concurrent communication, such as locks or
2163 @code{MVar}s.")
2164 (license license:bsd-3)))
2165
2166 (define-public ghc-parallel
2167 (package
2168 (name "ghc-parallel")
2169 (version "3.2.2.0")
2170 (outputs '("out" "doc"))
2171 (source
2172 (origin
2173 (method url-fetch)
2174 (uri (string-append
2175 "https://hackage.haskell.org/package/parallel/parallel-"
2176 version
2177 ".tar.gz"))
2178 (sha256
2179 (base32
2180 "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"))))
2181 (build-system haskell-build-system)
2182 (home-page "https://hackage.haskell.org/package/parallel")
2183 (synopsis "Parallel programming library")
2184 (description
2185 "This package provides a library for parallel programming.")
2186 (license license:bsd-3)))
2187
2188 (define-public ghc-safesemaphore
2189 (package
2190 (name "ghc-safesemaphore")
2191 (version "0.10.1")
2192 (source
2193 (origin
2194 (method url-fetch)
2195 (uri (string-append "https://hackage.haskell.org/package/"
2196 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
2197 (sha256
2198 (base32
2199 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
2200 (build-system haskell-build-system)
2201 (inputs
2202 `(("ghc-stm" ,ghc-stm)))
2203 (native-inputs
2204 `(("ghc-hunit" ,ghc-hunit)))
2205 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
2206 (synopsis "Exception safe semaphores")
2207 (description "This library provides exception safe semaphores that can be
2208 used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
2209 are not exception safe and can be broken by @code{killThread}.")
2210 (license license:bsd-3)))
2211
2212 (define-public ghc-text
2213 (package
2214 (name "ghc-text")
2215 (version "1.2.3.0")
2216 (outputs '("out" "doc"))
2217 (source
2218 (origin
2219 (method url-fetch)
2220 (uri (string-append
2221 "https://hackage.haskell.org/package/text/text-"
2222 version
2223 ".tar.gz"))
2224 (sha256
2225 (base32
2226 "06iir7q99rnffzxi8gagn8w1k9m49368sbidgz634fv1gxib3q10"))))
2227 (build-system haskell-build-system)
2228 ;; The test dependencies depend on ghc-text: ghc-test-framework -> ghc-xml -> ghc-text
2229 (arguments `(#:tests? #f))
2230 (inputs
2231 `(("ghc-random" ,ghc-random)))
2232 (home-page "https://github.com/bos/text")
2233 (synopsis "Efficient packed Unicode text type library")
2234 (description
2235 "An efficient packed, immutable Unicode text type (both strict and
2236 lazy), with a powerful loop fusion optimization framework.
2237
2238 The 'Text' type represents Unicode character strings, in a time and
2239 space-efficient manner. This package provides text processing
2240 capabilities that are optimized for performance critical use, both
2241 in terms of large data quantities and high speed.")
2242 (license license:bsd-3)))
2243
2244 (define-public ghc-text-binary
2245 (package
2246 (name "ghc-text-binary")
2247 (version "0.2.1.1")
2248 (source
2249 (origin
2250 (method url-fetch)
2251 (uri (string-append "https://hackage.haskell.org/package/"
2252 "text-binary/text-binary-"
2253 version ".tar.gz"))
2254 (sha256
2255 (base32
2256 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
2257 (build-system haskell-build-system)
2258 (inputs `(("ghc-text" ,ghc-text)))
2259 (home-page "https://github.com/kawu/text-binary")
2260 (synopsis "Binary instances for text types")
2261 (description
2262 "This package provides a compatibility layer providing @code{Binary}
2263 instances for strict and lazy text types for versions older than 1.2.1 of the
2264 text package.")
2265 (license license:bsd-2)))
2266
2267 (define-public ghc-strict
2268 (package
2269 (name "ghc-strict")
2270 (version "0.3.2")
2271 (source
2272 (origin
2273 (method url-fetch)
2274 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
2275 version ".tar.gz"))
2276 (sha256
2277 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
2278 (build-system haskell-build-system)
2279 (home-page "https://hackage.haskell.org/package/strict")
2280 (synopsis "Strict data types and String IO")
2281 (description
2282 "This package provides strict versions of some standard Haskell data
2283 types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
2284 IO operations.")
2285 (license license:bsd-3)))
2286
2287 (define-public ghc-hashable
2288 (package
2289 (name "ghc-hashable")
2290 (version "1.2.7.0")
2291 (outputs '("out" "doc"))
2292 (source
2293 (origin
2294 (method url-fetch)
2295 (uri (string-append
2296 "https://hackage.haskell.org/package/hashable/hashable-"
2297 version
2298 ".tar.gz"))
2299 (sha256
2300 (base32
2301 "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc"))))
2302 (build-system haskell-build-system)
2303 (inputs
2304 `(("ghc-text" ,ghc-text)
2305 ("ghc-random" ,ghc-random)))
2306 (native-inputs
2307 `(("ghc-test-framework" ,ghc-test-framework)
2308 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2309 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
2310 ("ghc-hunit" ,ghc-hunit)
2311 ("ghc-quickcheck" ,ghc-quickcheck)))
2312 (home-page "https://github.com/tibbe/hashable")
2313 (synopsis "Class for types that can be converted to a hash value")
2314 (description
2315 "This package defines a class, @code{Hashable}, for types that can be
2316 converted to a hash value. This class exists for the benefit of hashing-based
2317 data structures. The package provides instances for basic types and a way to
2318 combine hash values.")
2319 (license license:bsd-3)))
2320
2321 (define-public ghc-hashable-bootstrap
2322 (package
2323 (inherit ghc-hashable)
2324 (name "ghc-hashable-bootstrap")
2325 (arguments `(#:tests? #f))
2326 (native-inputs '())
2327 (properties '((hidden? #t)))))
2328
2329 (define-public ghc-hashable-time
2330 (package
2331 (name "ghc-hashable-time")
2332 (version "0.2.0.1")
2333 (source
2334 (origin
2335 (method url-fetch)
2336 (uri (string-append
2337 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
2338 version
2339 ".tar.gz"))
2340 (sha256
2341 (base32
2342 "0k932nyd08l3xxbh2g3n76py2f4kd9yw4s5a065vjz0xp6wjnxdm"))))
2343 (build-system haskell-build-system)
2344 (arguments
2345 `(#:cabal-revision
2346 ("1" "0rv40xkg3gj8jnqsry1gq3f5s5la6d5arg8fzkirnwdpcgha1as6")))
2347 (inputs `(("ghc-hashable" ,ghc-hashable)))
2348 (home-page "http://hackage.haskell.org/package/hashable-time")
2349 (synopsis "Hashable instances for Data.Time")
2350 (description
2351 "This package provides @code{Hashable} instances for types in
2352 @code{Data.Time}.")
2353 (license license:bsd-3)))
2354
2355 (define-public ghc-data-hash
2356 (package
2357 (name "ghc-data-hash")
2358 (version "0.2.0.1")
2359 (source
2360 (origin
2361 (method url-fetch)
2362 (uri (string-append "https://hackage.haskell.org/package/data-hash"
2363 "/data-hash-" version ".tar.gz"))
2364 (sha256
2365 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
2366 (build-system haskell-build-system)
2367 (inputs
2368 `(("ghc-quickcheck" ,ghc-quickcheck)
2369 ("ghc-test-framework" ,ghc-test-framework)
2370 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2371 (home-page "https://hackage.haskell.org/package/data-hash")
2372 (synopsis "Combinators for building fast hashing functions")
2373 (description
2374 "This package provides combinators for building fast hashing functions.
2375 It includes hashing functions for all basic Haskell98 types.")
2376 (license license:bsd-3)))
2377
2378 (define-public ghc-murmur-hash
2379 (package
2380 (name "ghc-murmur-hash")
2381 (version "0.1.0.9")
2382 (source
2383 (origin
2384 (method url-fetch)
2385 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
2386 "/murmur-hash-" version ".tar.gz"))
2387 (sha256
2388 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
2389 (build-system haskell-build-system)
2390 (home-page "https://github.com/nominolo/murmur-hash")
2391 (synopsis "MurmurHash2 implementation for Haskell")
2392 (description
2393 "This package provides an implementation of MurmurHash2, a good, fast,
2394 general-purpose, non-cryptographic hashing function. See
2395 @url{https://sites.google.com/site/murmurhash/} for details. This
2396 implementation is pure Haskell, so it might be a bit slower than a C FFI
2397 binding.")
2398 (license license:bsd-3)))
2399
2400 (define-public ghc-random
2401 (package
2402 (name "ghc-random")
2403 (version "1.1")
2404 (outputs '("out" "doc"))
2405 (source
2406 (origin
2407 (method url-fetch)
2408 (uri (string-append
2409 "https://hackage.haskell.org/package/random/random-"
2410 version
2411 ".tar.gz"))
2412 (sha256
2413 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
2414 (build-system haskell-build-system)
2415 (home-page "https://hackage.haskell.org/package/random")
2416 (synopsis "Random number library")
2417 (description "This package provides a basic random number generation
2418 library, including the ability to split random number generators.")
2419 (license license:bsd-3)))
2420
2421 (define-public ghc-primitive
2422 (package
2423 (name "ghc-primitive")
2424 (version "0.6.3.0")
2425 (outputs '("out" "doc"))
2426 (source
2427 (origin
2428 (method url-fetch)
2429 (uri (string-append
2430 "https://hackage.haskell.org/package/primitive/primitive-"
2431 version
2432 ".tar.gz"))
2433 (sha256
2434 (base32
2435 "0mcmbnj08wd6zfwn7xk6zf5hy5zwbla5v78pw0dpymqg9s0gzpnd"))))
2436 (build-system haskell-build-system)
2437 (home-page
2438 "https://github.com/haskell/primitive")
2439 (synopsis "Primitive memory-related operations")
2440 (description
2441 "This package provides various primitive memory-related operations.")
2442 (license license:bsd-3)))
2443
2444 (define-public ghc-tf-random
2445 (package
2446 (name "ghc-tf-random")
2447 (version "0.5")
2448 (outputs '("out" "doc"))
2449 (source
2450 (origin
2451 (method url-fetch)
2452 (uri (string-append
2453 "https://hackage.haskell.org/package/tf-random/tf-random-"
2454 version
2455 ".tar.gz"))
2456 (sha256
2457 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
2458 (build-system haskell-build-system)
2459 (inputs
2460 `(("ghc-primitive" ,ghc-primitive)
2461 ("ghc-random" ,ghc-random)))
2462 (home-page "https://hackage.haskell.org/package/tf-random")
2463 (synopsis "High-quality splittable pseudorandom number generator")
2464 (description "This package contains an implementation of a high-quality
2465 splittable pseudorandom number generator. The generator is based on a
2466 cryptographic hash function built on top of the ThreeFish block cipher. See
2467 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
2468 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
2469 (license license:bsd-3)))
2470
2471 (define-public ghc-transformers-base
2472 (package
2473 (name "ghc-transformers-base")
2474 (version "0.4.5.2")
2475 (source
2476 (origin
2477 (method url-fetch)
2478 (uri (string-append
2479 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
2480 version
2481 ".tar.gz"))
2482 (sha256
2483 (base32
2484 "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h"))))
2485 (build-system haskell-build-system)
2486 (inputs
2487 `(("ghc-stm" ,ghc-stm)
2488 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2489 (home-page
2490 "https://hackage.haskell.org/package/transformers-compat")
2491 (synopsis
2492 "Backported transformer library")
2493 (description
2494 "Backported versions of types that were added to transformers in
2495 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
2496 compatibility to run on old versions of the platform.")
2497 (license license:bsd-3)))
2498
2499 (define-public ghc-transformers-compat
2500 (package
2501 (name "ghc-transformers-compat")
2502 (version "0.6.2")
2503 (source
2504 (origin
2505 (method url-fetch)
2506 (uri (string-append
2507 "https://hackage.haskell.org/package/transformers-compat"
2508 "/transformers-compat-" version ".tar.gz"))
2509 (sha256
2510 (base32
2511 "1gp4a8kvniwgm8947ghb4iwv4b7wd6ry4kvv4nfnym4agf5j41nw"))))
2512 (build-system haskell-build-system)
2513 (home-page "https://github.com/ekmett/transformers-compat/")
2514 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
2515 (description "This package includes backported versions of types that were
2516 added to transformers in transformers 0.3 and 0.4 for users who need strict
2517 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
2518 but also need those types.")
2519 (license license:bsd-3)))
2520
2521 (define-public ghc-unix-time
2522 (package
2523 (name "ghc-unix-time")
2524 (version "0.3.8")
2525 (source
2526 (origin
2527 (method url-fetch)
2528 (uri (string-append
2529 "https://hackage.haskell.org/package/unix-time/unix-time-"
2530 version
2531 ".tar.gz"))
2532 (sha256
2533 (base32
2534 "051slgpid5cxiaw203ky0ql3823h28fcjs08axkzd4265wrvv8fw"))))
2535 (build-system haskell-build-system)
2536 (arguments
2537 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
2538 ; is weird, that should be provided by GHC 7.10.2.
2539 (inputs
2540 `(("ghc-old-time" ,ghc-old-time)
2541 ("ghc-old-locale" ,ghc-old-locale)))
2542 (home-page "https://hackage.haskell.org/package/unix-time")
2543 (synopsis "Unix time parser/formatter and utilities")
2544 (description "This library provides fast parsing and formatting utilities
2545 for Unix time in Haskell.")
2546 (license license:bsd-3)))
2547
2548 (define-public ghc-unix-compat
2549 (package
2550 (name "ghc-unix-compat")
2551 (version "0.5.1")
2552 (source
2553 (origin
2554 (method url-fetch)
2555 (uri (string-append
2556 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
2557 version
2558 ".tar.gz"))
2559 (sha256
2560 (base32
2561 "0llwl7rp63fy2ychwdclz1afj45pbin5pfl01dvn6rwhvmwhr7d3"))))
2562 (build-system haskell-build-system)
2563 (home-page
2564 "https://github.com/jystic/unix-compat")
2565 (synopsis "Portable POSIX-compatibility layer")
2566 (description
2567 "This package provides portable implementations of parts of the unix
2568 package. This package re-exports the unix package when available. When it
2569 isn't available, portable implementations are used.")
2570 (license license:bsd-3)))
2571
2572 (define-public ghc-indents
2573 (package
2574 (name "ghc-indents")
2575 (version "0.5.0.0")
2576 (source (origin
2577 (method url-fetch)
2578 (uri (string-append
2579 "https://hackage.haskell.org/package/indents/indents-"
2580 version ".tar.gz"))
2581 (sha256
2582 (base32
2583 "1ly3v41jacc6lrsvg4j3m5a6zs90gr8dyif5m6bf34hj1k5cgg0n"))))
2584 (build-system haskell-build-system)
2585 (inputs
2586 `(("ghc-parsec" ,ghc-parsec)
2587 ("ghc-concatenative" ,ghc-concatenative)))
2588 (home-page "http://patch-tag.com/r/salazar/indents")
2589 (synopsis "Indentation sensitive parser-combinators for parsec")
2590 (description
2591 "This library provides functions for use in parsing indentation sensitive
2592 contexts. It parses blocks of lines all indented to the same level as well as
2593 lines continued at an indented level below.")
2594 (license license:bsd-3)))
2595
2596 (define-public ghc-iproute
2597 (package
2598 (name "ghc-iproute")
2599 (version "1.7.1")
2600 (source
2601 (origin
2602 (method url-fetch)
2603 (uri (string-append
2604 "https://hackage.haskell.org/package/iproute/iproute-"
2605 version
2606 ".tar.gz"))
2607 (sha256
2608 (base32
2609 "1viyxq3m1aifl05w0hxwrhhhcfpmvwz4ymil2gngi4nfm0yd1f2p"))))
2610 (build-system haskell-build-system)
2611 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
2612 ; exported by ghc-byteorder. Doctest issue.
2613 (inputs
2614 `(("ghc-appar" ,ghc-appar)
2615 ("ghc-byteorder" ,ghc-byteorder)
2616 ("ghc-network" ,ghc-network)
2617 ("ghc-safe" ,ghc-safe)))
2618 (home-page "https://www.mew.org/~kazu/proj/iproute/")
2619 (synopsis "IP routing table")
2620 (description "IP Routing Table is a tree of IP ranges to search one of
2621 them on the longest match base. It is a kind of TRIE with one way branching
2622 removed. Both IPv4 and IPv6 are supported.")
2623 (license license:bsd-3)))
2624
2625 (define-public ghc-iwlib
2626 (package
2627 (name "ghc-iwlib")
2628 (version "0.1.0")
2629 (source
2630 (origin
2631 (method url-fetch)
2632 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
2633 version ".tar.gz"))
2634 (sha256
2635 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
2636 (build-system haskell-build-system)
2637 (inputs
2638 `(("wireless-tools" ,wireless-tools)))
2639 (home-page "https://github.com/jaor/iwlib")
2640 (synopsis "Haskell binding to the iw wireless networking library")
2641 (description
2642 "IWlib is a thin Haskell binding to the iw C library. It provides
2643 information about the current wireless network connections, and adapters on
2644 supported systems.")
2645 (license license:bsd-3)))
2646
2647 (define-public ghc-regex-base
2648 (package
2649 (name "ghc-regex-base")
2650 (version "0.93.2")
2651 (source
2652 (origin
2653 (method url-fetch)
2654 (uri (string-append
2655 "https://hackage.haskell.org/package/regex-base/regex-base-"
2656 version
2657 ".tar.gz"))
2658 (sha256
2659 (base32
2660 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
2661 (build-system haskell-build-system)
2662 (home-page
2663 "https://sourceforge.net/projects/lazy-regex")
2664 (synopsis "Replaces/Enhances Text.Regex")
2665 (description "@code{Text.Regex.Base} provides the interface API for
2666 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
2667 (license license:bsd-3)))
2668
2669 (define-public ghc-regex-posix
2670 (package
2671 (name "ghc-regex-posix")
2672 (version "0.95.2")
2673 (source
2674 (origin
2675 (method url-fetch)
2676 (uri (string-append
2677 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
2678 version
2679 ".tar.gz"))
2680 (sha256
2681 (base32
2682 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
2683 (build-system haskell-build-system)
2684 (inputs
2685 `(("ghc-regex-base" ,ghc-regex-base)))
2686 (home-page "https://sourceforge.net/projects/lazy-regex")
2687 (synopsis "POSIX regular expressions for Haskell")
2688 (description "This library provides the POSIX regex backend used by the
2689 Haskell library @code{regex-base}.")
2690 (license license:bsd-3)))
2691
2692 (define-public ghc-regex-compat
2693 (package
2694 (name "ghc-regex-compat")
2695 (version "0.95.1")
2696 (source
2697 (origin
2698 (method url-fetch)
2699 (uri (string-append
2700 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
2701 version
2702 ".tar.gz"))
2703 (sha256
2704 (base32
2705 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
2706 (build-system haskell-build-system)
2707 (inputs
2708 `(("ghc-regex-base" ,ghc-regex-base)
2709 ("ghc-regex-posix" ,ghc-regex-posix)))
2710 (home-page "https://sourceforge.net/projects/lazy-regex")
2711 (synopsis "Replaces/Enhances Text.Regex")
2712 (description "This library provides one module layer over
2713 @code{regex-posix} to replace @code{Text.Regex}.")
2714 (license license:bsd-3)))
2715
2716 (define-public ghc-regex-tdfa-rc
2717 (package
2718 (name "ghc-regex-tdfa-rc")
2719 (version "1.1.8.3")
2720 (source
2721 (origin
2722 (method url-fetch)
2723 (uri (string-append
2724 "https://hackage.haskell.org/package/regex-tdfa-rc/regex-tdfa-rc-"
2725 version
2726 ".tar.gz"))
2727 (sha256
2728 (base32
2729 "1vi11i23gkkjg6193ak90g55akj69bhahy542frkwb68haky4pp3"))))
2730 (build-system haskell-build-system)
2731 (inputs
2732 `(("ghc-regex-base" ,ghc-regex-base)
2733 ("ghc-parsec" ,ghc-parsec)))
2734 (home-page
2735 "https://hackage.haskell.org/package/regex-tdfa")
2736 (synopsis "Tagged DFA regex engine for Haskell")
2737 (description "A new all-Haskell \"tagged\" DFA regex engine, inspired by
2738 @code{libtre} (fork by Roman Cheplyaka).")
2739 (license license:bsd-3)))
2740
2741 (define-public ghc-regex-tdfa-text
2742 (package
2743 (name "ghc-regex-tdfa-text")
2744 (version "1.0.0.3")
2745 (source
2746 (origin
2747 (method url-fetch)
2748 (uri (string-append
2749 "https://hackage.haskell.org/package/regex-tdfa-text/"
2750 "regex-tdfa-text-" version ".tar.gz"))
2751 (sha256
2752 (base32
2753 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
2754 (build-system haskell-build-system)
2755 (inputs
2756 `(("ghc-text" ,ghc-text)
2757 ("ghc-regex-base" ,ghc-regex-base)
2758 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
2759 (home-page
2760 "http://hackage.haskell.org/package/regex-tdfa-text")
2761 (synopsis "Text interface for regex-tdfa")
2762 (description
2763 "This provides an extra text interface for regex-tdfa.")
2764 (license license:bsd-3)))
2765
2766 (define-public ghc-regex
2767 (package
2768 (name "ghc-regex")
2769 (version "1.0.1.3")
2770 (source
2771 (origin
2772 (method url-fetch)
2773 (uri (string-append "https://hackage.haskell.org/package/regex/"
2774 "regex-" version ".tar.gz"))
2775 (sha256
2776 (base32
2777 "1sjkpkgv4phy5b5v2lr89x4vx4dh44pj0sbvlsp6n86w9v6v4jwb"))))
2778 (build-system haskell-build-system)
2779 (inputs
2780 `(("ghc-base-compat" ,ghc-base-compat)
2781 ("ghc-hashable" ,ghc-hashable)
2782 ("ghc-regex-base" ,ghc-regex-base)
2783 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
2784 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
2785 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
2786 ("ghc-text" ,ghc-text)
2787 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
2788 ("ghc-unordered-containers" ,ghc-unordered-containers)
2789 ("ghc-utf8-string" ,ghc-utf8-string)))
2790 (home-page "http://regex.uk")
2791 (synopsis "Toolkit for regex-base")
2792 (description
2793 "This package provides a regular expression toolkit for @code{regex-base}
2794 with compile-time checking of regular expression syntax, data types for
2795 matches and captures, a text replacement toolkit, portable options, high-level
2796 AWK-like tools for building text processing apps, regular expression macros
2797 with parsers and test bench, comprehensive documentation, tutorials and
2798 copious examples.")
2799 (license license:bsd-3)))
2800
2801 (define-public ghc-parsers
2802 (package
2803 (name "ghc-parsers")
2804 (version "0.12.4")
2805 (source
2806 (origin
2807 (method url-fetch)
2808 (uri (string-append
2809 "https://hackage.haskell.org/package/parsers/parsers-"
2810 version
2811 ".tar.gz"))
2812 (sha256
2813 (base32
2814 "07najh7f9y3ahh42z96sw4hnd0kc4x3wm0xlf739y0gh81ys5097"))))
2815 (build-system haskell-build-system)
2816 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2817 ; -package attoparsec-0.13.0.1"
2818 (inputs
2819 `(("ghc-base-orphans" ,ghc-base-orphans)
2820 ("ghc-attoparsec" ,ghc-attoparsec)
2821 ("ghc-parsec" ,ghc-parsec)
2822 ("ghc-scientific" ,ghc-scientific)
2823 ("ghc-charset" ,ghc-charset)
2824 ("ghc-text" ,ghc-text)
2825 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2826 (home-page "https://github.com/ekmett/parsers/")
2827 (synopsis "Parsing combinators")
2828 (description "This library provides convenient combinators for working
2829 with and building parsing combinator libraries. Given a few simple instances,
2830 you get access to a large number of canned definitions. Instances exist for
2831 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
2832 @code{Text.Read}.")
2833 (license license:bsd-3)))
2834
2835 (define-public ghc-trifecta
2836 (package
2837 (name "ghc-trifecta")
2838 (version "1.7.1.1")
2839 (source (origin
2840 (method url-fetch)
2841 (uri (string-append
2842 "https://hackage.haskell.org/package/trifecta/"
2843 "trifecta-" version ".tar.gz"))
2844 (sha256
2845 (base32
2846 "13n6a3fdxngnzsjnhfrzigv1c2g0xm6lqkjcnirpc37sd0rpby31"))))
2847 (build-system haskell-build-system)
2848 (inputs
2849 `(("ghc-doctest" ,ghc-doctest-0.13)
2850 ("ghc-reducers" ,ghc-reducers)
2851 ("ghc-semigroups" ,ghc-semigroups)
2852 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
2853 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2854 ("ghc-blaze-builder" ,ghc-blaze-builder)
2855 ("ghc-blaze-html" ,ghc-blaze-html)
2856 ("ghc-blaze-markup" ,ghc-blaze-markup)
2857 ("ghc-charset" ,ghc-charset)
2858 ("ghc-comonad" ,ghc-comonad)
2859 ("ghc-doctest" ,ghc-doctest)
2860 ("ghc-fingertree" ,ghc-fingertree)
2861 ("ghc-hashable" ,ghc-hashable)
2862 ("ghc-lens" ,ghc-lens)
2863 ("ghc-parsers" ,ghc-parsers)
2864 ("ghc-profunctors" ,ghc-profunctors)
2865 ("ghc-quickcheck" ,ghc-quickcheck)
2866 ("ghc-unordered-containers" ,ghc-unordered-containers)
2867 ("ghc-utf8-string" ,ghc-utf8-string)))
2868 (native-inputs
2869 `(("cabal-doctest" ,cabal-doctest)))
2870 (home-page "https://github.com/ekmett/trifecta/")
2871 (synopsis "Parser combinator library with convenient diagnostics")
2872 (description "Trifecta is a modern parser combinator library for Haskell,
2873 with slicing and Clang-style colored diagnostics.")
2874 (license license:bsd-3)))
2875
2876 (define-public ghc-time-locale-compat
2877 (package
2878 (name "ghc-time-locale-compat")
2879 (version "0.1.1.5")
2880 (source
2881 (origin
2882 (method url-fetch)
2883 (uri (string-append "https://hackage.haskell.org/package/"
2884 "time-locale-compat/time-locale-compat-"
2885 version ".tar.gz"))
2886 (sha256
2887 (base32
2888 "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7"))))
2889 (build-system haskell-build-system)
2890 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
2891 (home-page "https://github.com/khibino/haskell-time-locale-compat")
2892 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
2893 (description "This package contains a wrapped name module for
2894 @code{TimeLocale}.")
2895 (license license:bsd-3)))
2896
2897 (define-public ghc-attoparsec
2898 (package
2899 (name "ghc-attoparsec")
2900 (version "0.13.2.2")
2901 (source
2902 (origin
2903 (method url-fetch)
2904 (uri (string-append
2905 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
2906 version
2907 ".tar.gz"))
2908 (sha256
2909 (base32
2910 "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx"))))
2911 (build-system haskell-build-system)
2912 ;; FIXME: at least on test fails with QuickCheck > 2.9.2. Once upstream
2913 ;; has updated the tests to work with a later version of QuickCheck we can
2914 ;; re-enable them.
2915 (arguments `(#:tests? #f))
2916 (inputs
2917 `(("ghc-scientific" ,ghc-scientific)
2918 ("ghc-text" ,ghc-text)))
2919 (native-inputs
2920 `(("ghc-tasty" ,ghc-tasty)
2921 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
2922 ("ghc-quickcheck" ,ghc-quickcheck)
2923 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
2924 ("ghc-vector" ,ghc-vector)))
2925 (home-page "https://github.com/bos/attoparsec")
2926 (synopsis "Fast combinator parsing for bytestrings and text")
2927 (description "This library provides a fast parser combinator library,
2928 aimed particularly at dealing efficiently with network protocols and
2929 complicated text/binary file formats.")
2930 (license license:bsd-3)))
2931
2932 (define-public ghc-attoparsec-bootstrap
2933 (package
2934 (inherit ghc-attoparsec)
2935 (name "ghc-attoparsec-bootstrap")
2936 (arguments `(#:tests? #f))
2937 (inputs
2938 `(("ghc-scientific" ,ghc-scientific-bootstrap)
2939 ("ghc-text" ,ghc-text)))
2940 (native-inputs '())
2941 (properties '(hidden? #t))))
2942
2943 (define-public ghc-zip-archive
2944 (package
2945 (name "ghc-zip-archive")
2946 (version "0.3.0.5")
2947 (source
2948 (origin
2949 (method url-fetch)
2950 (uri (string-append
2951 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
2952 version
2953 ".tar.gz"))
2954 (sha256
2955 (base32
2956 "1iwpzjck4jg9bz1yqky051i2wljsqc14q5zbi10dydfp8ip3d0yw"))))
2957 (build-system haskell-build-system)
2958 (inputs
2959 `(("ghc-old-time" ,ghc-old-time)
2960 ("ghc-digest" ,ghc-digest)
2961 ("zip" ,zip)
2962 ("ghc-temporary" ,ghc-temporary)
2963 ("ghc-text" ,ghc-text)
2964 ("ghc-zlib" ,ghc-zlib)))
2965 (native-inputs
2966 `(("ghc-hunit" ,ghc-hunit)))
2967 (home-page "https://hackage.haskell.org/package/zip-archive")
2968 (synopsis "Zip archive library for Haskell")
2969 (description "The zip-archive library provides functions for creating,
2970 modifying, and extracting files from zip archives in Haskell.")
2971 (license license:bsd-3)))
2972
2973 (define-public ghc-distributive
2974 (package
2975 (name "ghc-distributive")
2976 (version "0.5.3")
2977 (source
2978 (origin
2979 (method url-fetch)
2980 (uri (string-append
2981 "https://hackage.haskell.org/package/distributive/distributive-"
2982 version
2983 ".tar.gz"))
2984 (sha256
2985 (base32
2986 "0y566r97sfyvhsmd4yxiz4ns2mqgwf5bdbp56wgxl6wlkidq0wwi"))))
2987 (build-system haskell-build-system)
2988 (inputs
2989 `(("ghc-tagged" ,ghc-tagged)
2990 ("ghc-base-orphans" ,ghc-base-orphans)
2991 ("ghc-transformers-compat" ,ghc-transformers-compat)
2992 ("ghc-semigroups" ,ghc-semigroups)
2993 ("ghc-generic-deriving" ,ghc-generic-deriving)))
2994 (native-inputs
2995 `(("cabal-doctest" ,cabal-doctest)
2996 ("ghc-doctest" ,ghc-doctest-0.12)
2997 ("ghc-hspec" ,ghc-hspec)
2998 ("hspec-discover" ,hspec-discover)))
2999 (home-page "https://github.com/ekmett/distributive/")
3000 (synopsis "Distributive functors for Haskell")
3001 (description "This package provides distributive functors for Haskell.
3002 Dual to @code{Traversable}.")
3003 (license license:bsd-3)))
3004
3005 (define-public ghc-cereal
3006 (package
3007 (name "ghc-cereal")
3008 (version "0.5.7.0")
3009 (source
3010 (origin
3011 (method url-fetch)
3012 (uri (string-append
3013 "https://hackage.haskell.org/package/cereal/cereal-"
3014 version
3015 ".tar.gz"))
3016 (sha256
3017 (base32
3018 "1j7imh2mzqcljld7sx0av69699955rpy3hzivi5723i6a9nszgbs"))))
3019 (build-system haskell-build-system)
3020 (native-inputs
3021 `(("ghc-quickcheck" ,ghc-quickcheck)
3022 ("ghc-fail" ,ghc-fail)
3023 ("ghc-test-framework" ,ghc-test-framework)
3024 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3025 (home-page "https://hackage.haskell.org/package/cereal")
3026 (synopsis "Binary serialization library")
3027 (description "This package provides a binary serialization library,
3028 similar to @code{binary}, that introduces an @code{isolate} primitive for
3029 parser isolation, and labeled blocks for better error messages.")
3030 (license license:bsd-3)))
3031
3032 (define-public ghc-comonad
3033 (package
3034 (name "ghc-comonad")
3035 (version "5")
3036 (source
3037 (origin
3038 (method url-fetch)
3039 (uri (string-append
3040 "https://hackage.haskell.org/package/comonad/comonad-"
3041 version
3042 ".tar.gz"))
3043 (sha256
3044 (base32
3045 "0anb36m9z52y9xsipxzj9w1b41b2rj8r389cxd6d20dplnfv3rbq"))))
3046 (build-system haskell-build-system)
3047 (native-inputs
3048 `(("ghc-doctest" ,ghc-doctest)))
3049 (inputs
3050 `(("ghc-contravariant" ,ghc-contravariant)
3051 ("ghc-distributive" ,ghc-distributive)
3052 ("ghc-semigroups" ,ghc-semigroups)
3053 ("ghc-tagged" ,ghc-tagged)
3054 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3055 (home-page "https://github.com/ekmett/comonad/")
3056 (synopsis "Comonads for Haskell")
3057 (description "This library provides @code{Comonad}s for Haskell.")
3058 (license license:bsd-3)))
3059
3060 (define-public hscolour
3061 (package
3062 (name "hscolour")
3063 (version "1.24.4")
3064 (source
3065 (origin
3066 (method url-fetch)
3067 (uri (string-append
3068 "https://hackage.haskell.org/package/hscolour/hscolour-"
3069 version
3070 ".tar.gz"))
3071 (sha256
3072 (base32
3073 "079jwph4bwllfp03yfr26s5zc6m6kw3nhb1cggrifh99haq34cr4"))))
3074 (build-system haskell-build-system)
3075 (home-page "https://hackage.haskell.org/package/hscolour")
3076 (synopsis "Script to colourise Haskell code")
3077 (description "HSColour is a small Haskell script to colourise Haskell
3078 code. It currently has six output formats: ANSI terminal codes (optionally
3079 XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
3080 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
3081 and mIRC chat codes.")
3082 (license license:bsd-3)))
3083
3084 (define-public ghc-polyparse
3085 (package
3086 (name "ghc-polyparse")
3087 (version "1.12")
3088 (source
3089 (origin
3090 (method url-fetch)
3091 (uri (string-append
3092 "https://hackage.haskell.org/package/polyparse/polyparse-"
3093 version
3094 ".tar.gz"))
3095 (sha256
3096 (base32
3097 "05dya1vdvq29hkhkdlsglzhw7bdn51rvs1javs0q75nf99c66k7m"))))
3098 (build-system haskell-build-system)
3099 (inputs
3100 `(("ghc-text" ,ghc-text)))
3101 (home-page
3102 "http://code.haskell.org/~malcolm/polyparse/")
3103 (synopsis
3104 "Alternative parser combinator libraries")
3105 (description
3106 "This package provides a variety of alternative parser combinator
3107 libraries, including the original HuttonMeijer set. The Poly sets have
3108 features like good error reporting, arbitrary token type, running state, lazy
3109 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
3110 standard Read class, for better deserialisation of Haskell values from
3111 Strings.")
3112 (license license:lgpl2.1)))
3113
3114 (define-public ghc-extra
3115 (package
3116 (name "ghc-extra")
3117 (version "1.6.9")
3118 (source
3119 (origin
3120 (method url-fetch)
3121 (uri (string-append
3122 "https://hackage.haskell.org/package/extra/extra-"
3123 version
3124 ".tar.gz"))
3125 (sha256
3126 (base32
3127 "0xxcpb00pgwi9cmy6a7ghh6rblxry42p8pz5ssfgj20fs1xwzj1b"))))
3128 (build-system haskell-build-system)
3129 (inputs
3130 `(("ghc-clock" ,ghc-clock)
3131 ("ghc-quickcheck" ,ghc-quickcheck)))
3132 (home-page "https://github.com/ndmitchell/extra")
3133 (synopsis "Extra Haskell functions")
3134 (description "This library provides extra functions for the standard
3135 Haskell libraries. Most functions are simple additions, filling out missing
3136 functionality. A few functions are available in later versions of GHC, but
3137 this package makes them available back to GHC 7.2.")
3138 (license license:bsd-3)))
3139
3140 (define-public ghc-profunctors
3141 (package
3142 (name "ghc-profunctors")
3143 (version "5.2.2")
3144 (source
3145 (origin
3146 (method url-fetch)
3147 (uri (string-append
3148 "https://hackage.haskell.org/package/profunctors/profunctors-"
3149 version
3150 ".tar.gz"))
3151 (sha256
3152 (base32
3153 "0s1pwjidbn761xk43pmzyvn99hm3psdifjd78ylki7f97aiyd0g9"))))
3154 (build-system haskell-build-system)
3155 (inputs
3156 `(("ghc-base-orphans" ,ghc-base-orphans)
3157 ("ghc-bifunctors" ,ghc-bifunctors)
3158 ("ghc-comonad" ,ghc-comonad)
3159 ("ghc-contravariant" ,ghc-contravariant)
3160 ("ghc-distributive" ,ghc-distributive)
3161 ("ghc-semigroups" ,ghc-semigroups)
3162 ("ghc-tagged" ,ghc-tagged)))
3163 (home-page "https://github.com/ekmett/profunctors/")
3164 (synopsis "Profunctors for Haskell")
3165 (description "This library provides profunctors for Haskell.")
3166 (license license:bsd-3)))
3167
3168 (define-public ghc-reducers
3169 (package
3170 (name "ghc-reducers")
3171 (version "3.12.2")
3172 (source
3173 (origin
3174 (method url-fetch)
3175 (uri (string-append
3176 "https://hackage.haskell.org/package/reducers/reducers-"
3177 version
3178 ".tar.gz"))
3179 (sha256
3180 (base32
3181 "1gbaa5x4zbvnbklcb0d4q4m8hk6w0gz4s0c4m288czi1nw43dl65"))))
3182 (build-system haskell-build-system)
3183 (inputs
3184 `(("ghc-fingertree" ,ghc-fingertree)
3185 ("ghc-hashable" ,ghc-hashable)
3186 ("ghc-text" ,ghc-text)
3187 ("ghc-unordered-containers" ,ghc-unordered-containers)
3188 ("ghc-semigroupoids" ,ghc-semigroupoids)
3189 ("ghc-semigroups" ,ghc-semigroups)))
3190 (home-page "https://github.com/ekmett/reducers/")
3191 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
3192 (description "This library provides various semigroups, specialized
3193 containers and a general map/reduce framework for Haskell.")
3194 (license license:bsd-3)))
3195
3196 (define-public ghc-appar
3197 (package
3198 (name "ghc-appar")
3199 (version "0.1.4")
3200 (source
3201 (origin
3202 (method url-fetch)
3203 (uri (string-append
3204 "https://hackage.haskell.org/package/appar/appar-"
3205 version
3206 ".tar.gz"))
3207 (sha256
3208 (base32
3209 "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq"))))
3210 (build-system haskell-build-system)
3211 (home-page
3212 "https://hackage.haskell.org/package/appar")
3213 (synopsis "Simple applicative parser")
3214 (description "This package provides a simple applicative parser in Parsec
3215 style.")
3216 (license license:bsd-3)))
3217
3218 (define-public ghc-safe
3219 (package
3220 (name "ghc-safe")
3221 (version "0.3.17")
3222 (source
3223 (origin
3224 (method url-fetch)
3225 (uri (string-append
3226 "https://hackage.haskell.org/package/safe/safe-"
3227 version
3228 ".tar.gz"))
3229 (sha256
3230 (base32
3231 "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr"))))
3232 (build-system haskell-build-system)
3233 (native-inputs
3234 `(("ghc-quickcheck" ,ghc-quickcheck)))
3235 (home-page "https://github.com/ndmitchell/safe#readme")
3236 (synopsis "Library of safe (exception free) functions")
3237 (description "This library provides wrappers around @code{Prelude} and
3238 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
3239 exceptions.")
3240 (license license:bsd-3)))
3241
3242 (define-public ghc-generic-deriving
3243 (package
3244 (name "ghc-generic-deriving")
3245 (version "1.12.2")
3246 (source
3247 (origin
3248 (method url-fetch)
3249 (uri (string-append
3250 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
3251 version
3252 ".tar.gz"))
3253 (sha256
3254 (base32
3255 "1i7d6cpj9yhaqb79zays3nqchhaacacjz9bkc0zlwj73y5gvi22n"))))
3256 (build-system haskell-build-system)
3257 (inputs
3258 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
3259 (native-inputs
3260 `(("ghc-hspec" ,ghc-hspec)
3261 ("hspec-discover" ,hspec-discover)))
3262 (home-page "https://hackage.haskell.org/package/generic-deriving")
3263 (synopsis "Generalise the deriving mechanism to arbitrary classes")
3264 (description "This package provides functionality for generalising the
3265 deriving mechanism in Haskell to arbitrary classes.")
3266 (license license:bsd-3)))
3267
3268 (define-public ghc-pcre-light
3269 (package
3270 (name "ghc-pcre-light")
3271 (version "0.4.0.4")
3272 (source
3273 (origin
3274 (method url-fetch)
3275 (uri (string-append
3276 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
3277 version
3278 ".tar.gz"))
3279 (sha256
3280 (base32
3281 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
3282 (build-system haskell-build-system)
3283 (inputs
3284 `(("pcre" ,pcre)))
3285 (native-inputs
3286 `(("pkg-config" ,pkg-config)))
3287 (home-page "https://github.com/Daniel-Diaz/pcre-light")
3288 (synopsis "Haskell library for Perl 5 compatible regular expressions")
3289 (description "This package provides a small, efficient, and portable regex
3290 library for Perl 5 compatible regular expressions. The PCRE library is a set
3291 of functions that implement regular expression pattern matching using the same
3292 syntax and semantics as Perl 5.")
3293 (license license:bsd-3)))
3294
3295 (define-public ghc-logict
3296 (package
3297 (name "ghc-logict")
3298 (version "0.6.0.2")
3299 (source
3300 (origin
3301 (method url-fetch)
3302 (uri (string-append
3303 "https://hackage.haskell.org/package/logict/logict-"
3304 version
3305 ".tar.gz"))
3306 (sha256
3307 (base32
3308 "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi"))))
3309 (build-system haskell-build-system)
3310 (home-page "http://code.haskell.org/~dolio/")
3311 (synopsis "Backtracking logic-programming monad")
3312 (description "This library provides a continuation-based, backtracking,
3313 logic programming monad. An adaptation of the two-continuation implementation
3314 found in the paper \"Backtracking, Interleaving, and Terminating Monad
3315 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
3316 online}.")
3317 (license license:bsd-3)))
3318
3319 (define-public ghc-xml
3320 (package
3321 (name "ghc-xml")
3322 (version "1.3.14")
3323 (source
3324 (origin
3325 (method url-fetch)
3326 (uri (string-append
3327 "https://hackage.haskell.org/package/xml/xml-"
3328 version
3329 ".tar.gz"))
3330 (sha256
3331 (base32
3332 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
3333 (build-system haskell-build-system)
3334 (inputs
3335 `(("ghc-text" ,ghc-text)))
3336 (home-page "http://code.galois.com")
3337 (synopsis "Simple XML library for Haskell")
3338 (description "This package provides a simple XML library for Haskell.")
3339 (license license:bsd-3)))
3340
3341 (define-public ghc-feed
3342 (package
3343 (name "ghc-feed")
3344 (version "0.3.12.0")
3345 (source
3346 (origin
3347 (method url-fetch)
3348 (uri (string-append "https://hackage.haskell.org/package/"
3349 "feed/feed-" version ".tar.gz"))
3350 (sha256
3351 (base32
3352 "0hkrsinspg70bbm3hwqdrvivws6zya1hyk0a3awpaz82j4xnlbfc"))))
3353 (build-system haskell-build-system)
3354 (inputs
3355 `(("ghc-old-locale" ,ghc-old-locale)
3356 ("ghc-old-time" ,ghc-old-time)
3357 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
3358 ("ghc-utf8-string" ,ghc-utf8-string)
3359 ("ghc-xml" ,ghc-xml)))
3360 (native-inputs
3361 `(("ghc-hunit" ,ghc-hunit)
3362 ("ghc-test-framework" ,ghc-test-framework)
3363 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3364 (home-page "https://github.com/bergmark/feed")
3365 (synopsis "Haskell package for handling various syndication formats")
3366 (description "This Haskell package includes tools for generating and
3367 consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
3368 (license license:bsd-3)))
3369
3370 (define-public ghc-exceptions
3371 (package
3372 (name "ghc-exceptions")
3373 (version "0.10.0")
3374 (source
3375 (origin
3376 (method url-fetch)
3377 (uri (string-append
3378 "https://hackage.haskell.org/package/exceptions/exceptions-"
3379 version
3380 ".tar.gz"))
3381 (sha256
3382 (base32
3383 "1ms9zansv0pwzwdjncvx4kf18lnkjy2p61hvjhvxmjx5bqp93p8y"))))
3384 (build-system haskell-build-system)
3385 (native-inputs
3386 `(("ghc-quickcheck" ,ghc-quickcheck)
3387 ("ghc-test-framework" ,ghc-test-framework)
3388 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3389 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3390 (inputs
3391 `(("ghc-stm" ,ghc-stm)
3392 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3393 (home-page "https://github.com/ekmett/exceptions/")
3394 (synopsis "Extensible optionally-pure exceptions")
3395 (description "This library provides extensible optionally-pure exceptions
3396 for Haskell.")
3397 (license license:bsd-3)))
3398
3399 (define-public ghc-temporary
3400 (package
3401 (name "ghc-temporary")
3402 (version "1.2.0.4")
3403 (source
3404 (origin
3405 (method url-fetch)
3406 (uri (string-append
3407 "https://hackage.haskell.org/package/temporary/temporary-"
3408 version
3409 ".tar.gz"))
3410 (sha256
3411 (base32
3412 "0qk741yqnpd69sksgks2vb7zi50rglp9m498lzw4sh268a017rsi"))))
3413 (build-system haskell-build-system)
3414 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
3415 (home-page "https://www.github.com/batterseapower/temporary")
3416 (synopsis "Temporary file and directory support")
3417 (description "The functions for creating temporary files and directories
3418 in the Haskelll base library are quite limited. This library just repackages
3419 the Cabal implementations of its own temporary file and folder functions so
3420 that you can use them without linking against Cabal or depending on it being
3421 installed.")
3422 (license license:bsd-3)))
3423
3424 (define-public ghc-temporary-rc
3425 (package
3426 (name "ghc-temporary-rc")
3427 (version "1.2.0.3")
3428 (source
3429 (origin
3430 (method url-fetch)
3431 (uri (string-append
3432 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
3433 version
3434 ".tar.gz"))
3435 (sha256
3436 (base32
3437 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
3438 (build-system haskell-build-system)
3439 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
3440 (home-page
3441 "https://www.github.com/feuerbach/temporary")
3442 (synopsis
3443 "Portable temporary file and directory support")
3444 (description
3445 "The functions for creating temporary files and directories in the base
3446 library are quite limited. The unixutils package contains some good ones, but
3447 they aren't portable to Windows. This library just repackages the Cabal
3448 implementations of its own temporary file and folder functions so that you can
3449 use them without linking against Cabal or depending on it being installed.
3450 This is a better maintained fork of the \"temporary\" package.")
3451 (license license:bsd-3)))
3452
3453 (define-public ghc-smallcheck
3454 (package
3455 (name "ghc-smallcheck")
3456 (version "1.1.5")
3457 (source
3458 (origin
3459 (method url-fetch)
3460 (uri (string-append
3461 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
3462 version
3463 ".tar.gz"))
3464 (sha256
3465 (base32
3466 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
3467 (build-system haskell-build-system)
3468 (inputs
3469 `(("ghc-logict" ,ghc-logict)))
3470 (home-page
3471 "https://github.com/feuerbach/smallcheck")
3472 (synopsis "Property-based testing library")
3473 (description "SmallCheck is a testing library that allows to verify
3474 properties for all test cases up to some depth. The test cases are generated
3475 automatically by SmallCheck.")
3476 (license license:bsd-3)))
3477
3478 (define-public ghc-silently
3479 (package
3480 (name "ghc-silently")
3481 (version "1.2.5")
3482 (source
3483 (origin
3484 (method url-fetch)
3485 (uri (string-append
3486 "https://hackage.haskell.org/package/silently/silently-"
3487 version
3488 ".tar.gz"))
3489 (sha256
3490 (base32
3491 "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
3492 (build-system haskell-build-system)
3493 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
3494 ;; (inputs
3495 ;; `(("ghc-temporary" ,ghc-temporary)))
3496 (home-page "https://github.com/hspec/silently")
3497 (synopsis "Prevent writing to stdout")
3498 (description "This package provides functions to prevent or capture
3499 writing to stdout and other handles.")
3500 (license license:bsd-3)))
3501
3502 (define-public ghc-case-insensitive
3503 (package
3504 (name "ghc-case-insensitive")
3505 (version "1.2.0.11")
3506 (outputs '("out" "doc"))
3507 (source
3508 (origin
3509 (method url-fetch)
3510 (uri (string-append
3511 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
3512 version
3513 ".tar.gz"))
3514 (sha256
3515 (base32
3516 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7"))))
3517 (build-system haskell-build-system)
3518 (inputs
3519 `(("ghc-hunit" ,ghc-hunit)))
3520 ;; these inputs are necessary to use this library
3521 (inputs
3522 `(("ghc-text" ,ghc-text)
3523 ("ghc-hashable" ,ghc-hashable)))
3524 (arguments
3525 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3526 (home-page
3527 "https://github.com/basvandijk/case-insensitive")
3528 (synopsis "Case insensitive string comparison")
3529 (description
3530 "The module 'Data.CaseInsensitive' provides the 'CI' type constructor
3531 which can be parameterised by a string-like type like: 'String', 'ByteString',
3532 'Text', etc.. Comparisons of values of the resulting type will be insensitive
3533 to cases.")
3534 (license license:bsd-3)))
3535
3536 (define-public ghc-syb
3537 (package
3538 (name "ghc-syb")
3539 (version "0.7")
3540 (outputs '("out" "doc"))
3541 (source
3542 (origin
3543 (method url-fetch)
3544 (uri (string-append
3545 "https://hackage.haskell.org/package/syb/syb-"
3546 version
3547 ".tar.gz"))
3548 (sha256
3549 (base32
3550 "1da2zz7gqm4xbkx5vpd74dayx1svaxyl145fl14mq15lbb77sxdq"))))
3551 (build-system haskell-build-system)
3552 (inputs
3553 `(("ghc-hunit" ,ghc-hunit)))
3554 (home-page
3555 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
3556 (synopsis "Scrap Your Boilerplate")
3557 (description "This package contains the generics system described in the
3558 /Scrap Your Boilerplate/ papers (see
3559 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
3560 defines the 'Data' class of types permitting folding and unfolding of
3561 constructor applications, instances of this class for primitive types, and a
3562 variety of traversals.")
3563 (license license:bsd-3)))
3564
3565 (define-public ghc-fgl
3566 (package
3567 (name "ghc-fgl")
3568 (version "5.6.0.0")
3569 (outputs '("out" "doc"))
3570 (source
3571 (origin
3572 (method url-fetch)
3573 (uri (string-append
3574 "https://hackage.haskell.org/package/fgl/fgl-"
3575 version
3576 ".tar.gz"))
3577 (sha256
3578 (base32
3579 "1i6cp4b3w7sjk7y1dq3fh6bci2sm5h3lnbbaw9ln19nwncg2wwll"))))
3580 (build-system haskell-build-system)
3581 (arguments
3582 `(#:phases
3583 (modify-phases %standard-phases
3584 (add-before 'configure 'update-constraints
3585 (lambda _
3586 (substitute* "fgl.cabal"
3587 (("QuickCheck >= 2\\.8 && < 2\\.10")
3588 "QuickCheck >= 2.8 && < 2.12")
3589 (("hspec >= 2\\.1 && < 2\\.5")
3590 "hspec >= 2.1 && < 2.6")))))))
3591 (inputs
3592 `(("ghc-hspec" ,ghc-hspec)
3593 ("ghc-quickcheck" ,ghc-quickcheck)))
3594 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3595 (synopsis
3596 "Martin Erwig's Functional Graph Library")
3597 (description "The functional graph library, FGL, is a collection of type
3598 and function definitions to address graph problems. The basis of the library
3599 is an inductive definition of graphs in the style of algebraic data types that
3600 encourages inductive, recursive definitions of graph algorithms.")
3601 (license license:bsd-3)))
3602
3603 (define-public ghc-chasingbottoms
3604 (package
3605 (name "ghc-chasingbottoms")
3606 (version "1.3.1.4")
3607 (source
3608 (origin
3609 (method url-fetch)
3610 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
3611 "ChasingBottoms-" version ".tar.gz"))
3612 (sha256
3613 (base32
3614 "06cynx6hcbfpky7qq3b3mjjgwbnaxkwin3znbwq4b9ikiw0ng633"))))
3615 (build-system haskell-build-system)
3616 (inputs
3617 `(("ghc-quickcheck" ,ghc-quickcheck)
3618 ("ghc-random" ,ghc-random)
3619 ("ghc-syb" ,ghc-syb)))
3620 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
3621 (synopsis "Testing of partial and infinite values in Haskell")
3622 (description
3623 ;; FIXME: There should be a @comma{} in the uref text, but it is not
3624 ;; rendered properly.
3625 "This is a library for testing code involving bottoms or infinite values.
3626 For the underlying theory and a larger example involving use of QuickCheck,
3627 see the article
3628 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
3629 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
3630 Partial and Infinite Values\"}.")
3631 (license license:expat)))
3632
3633 (define-public ghc-unordered-containers
3634 (package
3635 (name "ghc-unordered-containers")
3636 (version "0.2.9.0")
3637 (outputs '("out" "doc"))
3638 (source
3639 (origin
3640 (method url-fetch)
3641 (uri (string-append
3642 "https://hackage.haskell.org/package/unordered-containers"
3643 "/unordered-containers-" version ".tar.gz"))
3644 (sha256
3645 (base32
3646 "0l4264p0av12cc6i8gls13q8y27x12z2ar4x34n3x59y99fcnc37"))))
3647 (build-system haskell-build-system)
3648 (inputs
3649 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
3650 ("ghc-hunit" ,ghc-hunit)
3651 ("ghc-quickcheck" ,ghc-quickcheck)
3652 ("ghc-test-framework" ,ghc-test-framework)
3653 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3654 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3655 ("ghc-hashable" ,ghc-hashable)))
3656 (home-page
3657 "https://github.com/tibbe/unordered-containers")
3658 (synopsis
3659 "Efficient hashing-based container types")
3660 (description
3661 "Efficient hashing-based container types. The containers have been
3662 optimized for performance critical use, both in terms of large data quantities
3663 and high speed.")
3664 (license license:bsd-3)))
3665
3666 (define-public ghc-unordered-containers-bootstrap
3667 (package
3668 (inherit ghc-unordered-containers)
3669 (name "ghc-unordered-containers-bootstrap")
3670 (arguments `(#:tests? #f))
3671 (inputs
3672 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
3673 (properties '(hidden? #t))))
3674
3675 (define-public ghc-uniplate
3676 (package
3677 (name "ghc-uniplate")
3678 (version "1.6.12")
3679 (source
3680 (origin
3681 (method url-fetch)
3682 (uri (string-append
3683 "https://hackage.haskell.org/package/uniplate/uniplate-"
3684 version
3685 ".tar.gz"))
3686 (sha256
3687 (base32
3688 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
3689 (build-system haskell-build-system)
3690 (inputs
3691 `(("ghc-syb" ,ghc-syb)
3692 ("ghc-hashable" ,ghc-hashable)
3693 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3694 (home-page "http://community.haskell.org/~ndm/uniplate/")
3695 (synopsis "Simple, concise and fast generic operations")
3696 (description "Uniplate is a library for writing simple and concise generic
3697 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
3698 work, but is substantially simpler and faster.")
3699 (license license:bsd-3)))
3700
3701 (define-public ghc-base64-bytestring
3702 (package
3703 (name "ghc-base64-bytestring")
3704 (version "1.0.0.1")
3705 (source
3706 (origin
3707 (method url-fetch)
3708 (uri (string-append
3709 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
3710 version
3711 ".tar.gz"))
3712 (sha256
3713 (base32
3714 "0l1v4ddjdsgi9nqzyzcxxj76rwar3lzx8gmwf2r54bqan3san9db"))))
3715 (build-system haskell-build-system)
3716 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3717 (home-page "https://github.com/bos/base64-bytestring")
3718 (synopsis "Base64 encoding and decoding for ByteStrings")
3719 (description "This library provides fast base64 encoding and decoding for
3720 Haskell @code{ByteString}s.")
3721 (license license:bsd-3)))
3722
3723 (define-public ghc-annotated-wl-pprint
3724 (package
3725 (name "ghc-annotated-wl-pprint")
3726 (version "0.7.0")
3727 (source
3728 (origin
3729 (method url-fetch)
3730 (uri (string-append
3731 "https://hackage.haskell.org/package/annotated-wl-pprint"
3732 "/annotated-wl-pprint-" version
3733 ".tar.gz"))
3734 (sha256
3735 (base32
3736 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
3737 (build-system haskell-build-system)
3738 (home-page
3739 "https://github.com/david-christiansen/annotated-wl-pprint")
3740 (synopsis
3741 "The Wadler/Leijen Pretty Printer, with annotation support")
3742 (description "This is a modified version of wl-pprint, which was based on
3743 Wadler's paper \"A Prettier Printer\". This version allows the library user
3744 to annotate the text with semantic information, which can later be rendered in
3745 a variety of ways.")
3746 (license license:bsd-3)))
3747
3748 (define-public ghc-wl-pprint
3749 (package
3750 (name "ghc-wl-pprint")
3751 (version "1.2.1")
3752 (source (origin
3753 (method url-fetch)
3754 (uri (string-append
3755 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
3756 version ".tar.gz"))
3757 (sha256
3758 (base32
3759 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
3760 (build-system haskell-build-system)
3761 (home-page "https://hackage.haskell.org/package/wl-pprint")
3762 (synopsis "Wadler/Leijen pretty printer")
3763 (description
3764 "This is a pretty printing library based on Wadler's paper @i{A Prettier
3765 Printer}. This version allows the library user to declare overlapping
3766 instances of the @code{Pretty} class.")
3767 (license license:bsd-3)))
3768
3769 (define-public ghc-ansi-wl-pprint
3770 (package
3771 (name "ghc-ansi-wl-pprint")
3772 (version "0.6.8.2")
3773 (source
3774 (origin
3775 (method url-fetch)
3776 (uri (string-append "https://hackage.haskell.org/package/"
3777 "ansi-wl-pprint/ansi-wl-pprint-"
3778 version ".tar.gz"))
3779 (sha256
3780 (base32
3781 "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56"))))
3782 (build-system haskell-build-system)
3783 (inputs
3784 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
3785 (home-page "https://github.com/ekmett/ansi-wl-pprint")
3786 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
3787 (description "This is a pretty printing library based on Wadler's paper
3788 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
3789 colored output using the ansi-terminal package.")
3790 (license license:bsd-3)))
3791
3792 (define-public ghc-split
3793 (package
3794 (name "ghc-split")
3795 (version "0.2.3.3")
3796 (outputs '("out" "doc"))
3797 (source
3798 (origin
3799 (method url-fetch)
3800 (uri (string-append
3801 "https://hackage.haskell.org/package/split/split-"
3802 version
3803 ".tar.gz"))
3804 (sha256
3805 (base32
3806 "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x"))))
3807 (build-system haskell-build-system)
3808 (native-inputs
3809 `(("ghc-quickcheck" ,ghc-quickcheck)))
3810 (home-page "https://hackage.haskell.org/package/split")
3811 (synopsis "Combinator library for splitting lists")
3812 (description "This package provides a collection of Haskell functions for
3813 splitting lists into parts, akin to the @code{split} function found in several
3814 mainstream languages.")
3815 (license license:bsd-3)))
3816
3817 (define-public ghc-parsec
3818 (package
3819 (name "ghc-parsec")
3820 (version "3.1.13.0")
3821 (outputs '("out" "doc"))
3822 (source
3823 (origin
3824 (method url-fetch)
3825 (uri (string-append
3826 "https://hackage.haskell.org/package/parsec/parsec-"
3827 version
3828 ".tar.gz"))
3829 (sha256
3830 (base32 "1wc09pyn70p8z6llink10c8pqbh6ikyk554911yfwxv1g91swqbq"))))
3831 (build-system haskell-build-system)
3832 (native-inputs
3833 `(("ghc-hunit" ,ghc-hunit)))
3834 (inputs
3835 `(("ghc-text" ,ghc-text)))
3836 (arguments
3837 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3838 (home-page
3839 "https://github.com/aslatter/parsec")
3840 (synopsis "Monadic parser combinators")
3841 (description "Parsec is a parser library. It is simple, safe, well
3842 documented, has extensive libraries, good error messages, and is fast. It is
3843 defined as a monad transformer that can be stacked on arbitrary monads, and it
3844 is also parametric in the input stream type.")
3845 (license license:bsd-3)))
3846
3847 (define-public ghc-parser-combinators
3848 (package
3849 (name "ghc-parser-combinators")
3850 (version "1.0.0")
3851 (source
3852 (origin
3853 (method url-fetch)
3854 (uri (string-append "https://hackage.haskell.org/package/"
3855 "parser-combinators/parser-combinators-"
3856 version ".tar.gz"))
3857 (sha256
3858 (base32
3859 "1pwfdsklqwvaynwpdzmx1bs35mp6dpsyaqdnzxnqcrxwf5h8sk75"))))
3860 (build-system haskell-build-system)
3861 (home-page "https://github.com/mrkkrp/parser-combinators")
3862 (synopsis "Commonly useful parser combinators")
3863 (description
3864 "This is a lightweight package providing commonly useful parser
3865 combinators.")
3866 (license license:bsd-3)))
3867
3868 (define-public ghc-megaparsec
3869 (package
3870 (name "ghc-megaparsec")
3871 (version "6.4.0")
3872 (source
3873 (origin
3874 (method url-fetch)
3875 (uri (string-append "https://hackage.haskell.org/package/"
3876 "megaparsec/megaparsec-"
3877 version ".tar.gz"))
3878 (sha256
3879 (base32
3880 "0h9azhs0dfrc359vrbd1jljrg3yfdbwd4p62cxqkn7mnh8913jpd"))))
3881 (build-system haskell-build-system)
3882 (inputs
3883 `(("ghc-case-insensitive" ,ghc-case-insensitive)
3884 ("ghc-parser-combinators" ,ghc-parser-combinators)
3885 ("ghc-scientific" ,ghc-scientific)
3886 ("ghc-text" ,ghc-text)))
3887 (native-inputs
3888 `(("ghc-quickcheck" ,ghc-quickcheck)
3889 ("ghc-hspec" ,ghc-hspec)
3890 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3891 ("hspec-discover" ,hspec-discover)))
3892 (home-page "https://github.com/mrkkrp/megaparsec")
3893 (synopsis "Monadic parser combinators")
3894 (description
3895 "This is an industrial-strength monadic parser combinator library.
3896 Megaparsec is a feature-rich package that strikes a nice balance between
3897 speed, flexibility, and quality of parse errors.")
3898 (license license:bsd-2)))
3899
3900 (define-public ghc-vector
3901 (package
3902 (name "ghc-vector")
3903 (version "0.12.0.1")
3904 (outputs '("out" "doc"))
3905 (source
3906 (origin
3907 (method url-fetch)
3908 (uri (string-append
3909 "https://hackage.haskell.org/package/vector/vector-"
3910 version
3911 ".tar.gz"))
3912 (sha256
3913 (base32
3914 "0yrx2ypiaxahvaz84af5bi855hd3107kxkbqc8km29nsp5wyw05i"))))
3915 (build-system haskell-build-system)
3916 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
3917 ;; disabled for now.
3918 (arguments
3919 `(#:cabal-revision
3920 ("3" "0y5rh8k710i2a3p1h2rghvr5cfg78p5h0kbfi7ifxqqf6pzlyr1x")
3921 #:tests? #f))
3922 (inputs
3923 `(("ghc-primitive" ,ghc-primitive)
3924 ("ghc-random" ,ghc-random)
3925 ("ghc-quickcheck" ,ghc-quickcheck)
3926 ;; ("ghc-hunit" ,ghc-hunit)
3927 ;; ("ghc-test-framework" ,ghc-test-framework)
3928 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3929 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3930 ))
3931 (home-page "https://github.com/haskell/vector")
3932 (synopsis "Efficient Arrays")
3933 (description "This library provides an efficient implementation of
3934 Int-indexed arrays (both mutable and immutable), with a powerful loop
3935 optimisation framework.")
3936 (license license:bsd-3)))
3937
3938 (define-public ghc-vector-binary-instances
3939 (package
3940 (name "ghc-vector-binary-instances")
3941 (version "0.2.4")
3942 (source
3943 (origin
3944 (method url-fetch)
3945 (uri (string-append
3946 "https://hackage.haskell.org/package/"
3947 "vector-binary-instances/vector-binary-instances-"
3948 version ".tar.gz"))
3949 (sha256
3950 (base32
3951 "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb"))))
3952 (build-system haskell-build-system)
3953 (arguments
3954 `(#:cabal-revision
3955 ("1" "196frl4akhfk7xf1nxzn8lmq99dxhzhsimanswn9yy7ym8zhki4i")))
3956 (inputs
3957 `(("ghc-vector" ,ghc-vector)))
3958 (native-inputs
3959 `(("ghc-tasty" ,ghc-tasty)
3960 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3961 (home-page "https://github.com/bos/vector-binary-instances")
3962 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
3963 (description "This library provides instances of @code{Binary} for the
3964 types defined in the @code{vector} package, making it easy to serialize
3965 vectors to and from disk. We use the generic interface to vectors, so all
3966 vector types are supported. Specific instances are provided for unboxed,
3967 boxed and storable vectors.")
3968 (license license:bsd-3)))
3969
3970 (define-public ghc-bloomfilter
3971 (package
3972 (name "ghc-bloomfilter")
3973 (version "2.0.1.0")
3974 (source
3975 (origin
3976 (method url-fetch)
3977 (uri (string-append "https://hackage.haskell.org/package/"
3978 "bloomfilter/bloomfilter-" version ".tar.gz"))
3979 (sha256
3980 (base32
3981 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
3982 (build-system haskell-build-system)
3983 (native-inputs
3984 `(("ghc-quickcheck" ,ghc-quickcheck)
3985 ("ghc-random" ,ghc-random)
3986 ("ghc-test-framework" ,ghc-test-framework)
3987 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3988 (home-page "https://github.com/bos/bloomfilter")
3989 (synopsis "Pure and impure Bloom filter implementations")
3990 (description "This package provides both mutable and immutable Bloom
3991 filter data types, along with a family of hash functions and an easy-to-use
3992 interface.")
3993 (license license:bsd-3)))
3994
3995 (define-public ghc-network
3996 (package
3997 (name "ghc-network")
3998 (version "2.6.3.1")
3999 (outputs '("out" "doc"))
4000 (source
4001 (origin
4002 (method url-fetch)
4003 (uri (string-append
4004 "https://hackage.haskell.org/package/network/network-"
4005 version
4006 ".tar.gz"))
4007 (sha256
4008 (base32
4009 "1rl2gl37cf4k0ddsq93q15fwdz1l25nhl4w205krbh7d5dg5y12p"))))
4010 (build-system haskell-build-system)
4011 ;; The regression tests depend on an unpublished module.
4012 (arguments `(#:tests? #f))
4013 (native-inputs
4014 `(("ghc-hunit" ,ghc-hunit)
4015 ("ghc-doctest" ,ghc-doctest)
4016 ("ghc-test-framework" ,ghc-test-framework)
4017 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4018 (home-page "https://github.com/haskell/network")
4019 (synopsis "Low-level networking interface")
4020 (description
4021 "This package provides a low-level networking interface.")
4022 (license license:bsd-3)))
4023
4024 (define-public ghc-network-uri
4025 (package
4026 (name "ghc-network-uri")
4027 (version "2.6.1.0")
4028 (outputs '("out" "doc"))
4029 (source
4030 (origin
4031 (method url-fetch)
4032 (uri (string-append
4033 "https://hackage.haskell.org/package/network-uri/network-uri-"
4034 version
4035 ".tar.gz"))
4036 (sha256
4037 (base32
4038 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
4039 (build-system haskell-build-system)
4040 (arguments
4041 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
4042 (native-inputs
4043 `(("ghc-hunit" ,ghc-hunit)))
4044 (inputs
4045 `(("ghc-parsec" ,ghc-parsec)
4046 ("ghc-network" ,ghc-network)))
4047 (home-page
4048 "https://github.com/haskell/network-uri")
4049 (synopsis "Library for URI manipulation")
4050 (description "This package provides an URI manipulation interface. In
4051 'network-2.6' the 'Network.URI' module was split off from the 'network'
4052 package into this package.")
4053 (license license:bsd-3)))
4054
4055 (define-public ghc-ansi-terminal
4056 (package
4057 (name "ghc-ansi-terminal")
4058 (version "0.8.0.4")
4059 (source
4060 (origin
4061 (method url-fetch)
4062 (uri (string-append
4063 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
4064 version
4065 ".tar.gz"))
4066 (sha256
4067 (base32
4068 "0428gq8m3fdnb7ldcsyk97qcch76hcxbgh2666p6f76fs2qbhg7b"))))
4069 (build-system haskell-build-system)
4070 (inputs
4071 `(("ghc-colour" ,ghc-colour)))
4072 (home-page "https://github.com/feuerbach/ansi-terminal")
4073 (synopsis "ANSI terminal support for Haskell")
4074 (description "This package provides ANSI terminal support for Haskell. It
4075 allows cursor movement, screen clearing, color output showing or hiding the
4076 cursor, and changing the title.")
4077 (license license:bsd-3)))
4078
4079 (define-public ghc-vault
4080 (package
4081 (name "ghc-vault")
4082 (version "0.3.0.6")
4083 (source
4084 (origin
4085 (method url-fetch)
4086 (uri (string-append
4087 "https://hackage.haskell.org/package/vault/vault-"
4088 version
4089 ".tar.gz"))
4090 (sha256
4091 (base32
4092 "0j7gcs440q7qlgzi2hn36crgp2c0w69k40g6vj9hxlm31zk3shqb"))))
4093 (build-system haskell-build-system)
4094 (inputs
4095 `(("ghc-unordered-containers" ,ghc-unordered-containers)
4096 ("ghc-hashable" ,ghc-hashable)))
4097 (home-page
4098 "https://github.com/HeinrichApfelmus/vault")
4099 (synopsis "Persistent store for arbitrary values")
4100 (description "This package provides vaults for Haskell. A vault is a
4101 persistent store for values of arbitrary types. It's like having first-class
4102 access to the storage space behind @code{IORefs}. The data structure is
4103 analogous to a bank vault, where you can access different bank boxes with
4104 different keys; hence the name. Also provided is a @code{locker} type,
4105 representing a store for a single element.")
4106 (license license:bsd-3)))
4107
4108 (define-public ghc-edisonapi
4109 (package
4110 (name "ghc-edisonapi")
4111 (version "1.3.1")
4112 (source
4113 (origin
4114 (method url-fetch)
4115 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
4116 "/EdisonAPI-" version ".tar.gz"))
4117 (sha256
4118 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
4119 (build-system haskell-build-system)
4120 (home-page "http://rwd.rdockins.name/edison/home/")
4121 (synopsis "Library of efficient, purely-functional data structures (API)")
4122 (description
4123 "Edison is a library of purely functional data structures written by
4124 Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
4125 value EDiSon (Efficient Data Structures). Edison provides several families of
4126 abstractions, each with multiple implementations. The main abstractions
4127 provided by Edison are: Sequences such as stacks, queues, and dequeues;
4128 Collections such as sets, bags and heaps; and Associative Collections such as
4129 finite maps and priority queues where the priority and element are distinct.")
4130 (license license:expat)))
4131
4132 (define-public ghc-edisoncore
4133 (package
4134 (name "ghc-edisoncore")
4135 (version "1.3.2.1")
4136 (source
4137 (origin
4138 (method url-fetch)
4139 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
4140 "/EdisonCore-" version ".tar.gz"))
4141 (sha256
4142 (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk"))))
4143 (build-system haskell-build-system)
4144 (inputs
4145 `(("ghc-quickcheck" ,ghc-quickcheck)
4146 ("ghc-edisonapi" ,ghc-edisonapi)))
4147 (home-page "http://rwd.rdockins.name/edison/home/")
4148 (synopsis "Library of efficient, purely-functional data structures")
4149 (description
4150 "This package provides the core Edison data structure implementations,
4151 including multiple sequence, set, bag, and finite map concrete implementations
4152 with various performance characteristics.")
4153 (license license:expat)))
4154
4155 (define-public ghc-mmorph
4156 (package
4157 (name "ghc-mmorph")
4158 (version "1.1.2")
4159 (source
4160 (origin
4161 (method url-fetch)
4162 (uri (string-append
4163 "https://hackage.haskell.org/package/mmorph/mmorph-"
4164 version
4165 ".tar.gz"))
4166 (sha256
4167 (base32
4168 "1gjz1ib968lqybma7my1n19qq6cdj6a7nskrlnwy4jy9jrwzs2n9"))))
4169 (build-system haskell-build-system)
4170 (inputs
4171 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4172 (home-page "https://hackage.haskell.org/package/mmorph")
4173 (synopsis "Monad morphisms")
4174 (description
4175 "This library provides monad morphism utilities, most commonly used for
4176 manipulating monad transformer stacks.")
4177 (license license:bsd-3)))
4178
4179 (define-public ghc-ifelse
4180 (package
4181 (name "ghc-ifelse")
4182 (version "0.85")
4183 (source
4184 (origin
4185 (method url-fetch)
4186 (uri (string-append "https://hackage.haskell.org/package/"
4187 "IfElse/IfElse-" version ".tar.gz"))
4188 (sha256
4189 (base32
4190 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
4191 (build-system haskell-build-system)
4192 (home-page "http://hackage.haskell.org/package/IfElse")
4193 (synopsis "Monadic control flow with anaphoric variants")
4194 (description "This library provides functions for control flow inside of
4195 monads with anaphoric variants on @code{if} and @code{when} and a C-like
4196 @code{switch} function.")
4197 (license license:bsd-3)))
4198
4199 (define-public ghc-monad-control
4200 (package
4201 (name "ghc-monad-control")
4202 (version "1.0.2.3")
4203 (source
4204 (origin
4205 (method url-fetch)
4206 (uri (string-append
4207 "https://hackage.haskell.org/package/monad-control"
4208 "/monad-control-" version ".tar.gz"))
4209 (sha256
4210 (base32
4211 "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c"))))
4212 (build-system haskell-build-system)
4213 (inputs
4214 `(("ghc-stm" ,ghc-stm)
4215 ("ghc-transformers-base" ,ghc-transformers-base)
4216 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4217 (home-page "https://github.com/basvandijk/monad-control")
4218 (synopsis "Monad transformers to lift control operations like exception
4219 catching")
4220 (description "This package defines the type class @code{MonadBaseControl},
4221 a subset of @code{MonadBase} into which generic control operations such as
4222 @code{catch} can be lifted from @code{IO} or any other base monad.")
4223 (license license:bsd-3)))
4224
4225 (define-public ghc-fail
4226 (package
4227 (name "ghc-fail")
4228 (version "4.9.0.0")
4229 (source
4230 (origin
4231 (method url-fetch)
4232 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
4233 version ".tar.gz"))
4234 (sha256
4235 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
4236 (build-system haskell-build-system)
4237 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4238 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
4239 (synopsis "Forward-compatible MonadFail class")
4240 (description
4241 "This package contains the @code{Control.Monad.Fail} module providing the
4242 @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
4243 class that became available in
4244 @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
4245 older @code{base} package versions. This package turns into an empty package
4246 when used with GHC versions which already provide the
4247 @code{Control.Monad.Fail} module.")
4248 (license license:bsd-3)))
4249
4250 (define-public ghc-monadplus
4251 (package
4252 (name "ghc-monadplus")
4253 (version "1.4.2")
4254 (source
4255 (origin
4256 (method url-fetch)
4257 (uri (string-append "https://hackage.haskell.org/package/monadplus"
4258 "/monadplus-" version ".tar.gz"))
4259 (sha256
4260 (base32 "15b5320wdpmdp5slpphnc1x4rhjch3igw245dp2jxbqyvchdavin"))))
4261 (build-system haskell-build-system)
4262 (home-page "https://hackage.haskell.org/package/monadplus")
4263 (synopsis "Filtering and folding over arbitrary MonadPlus instances")
4264 (description
4265 "This package generalizes many common stream operations such as
4266 @code{filter}, @code{catMaybes} etc, enabling filtering and folding over
4267 arbitrary @code{MonadPlus} instances.")
4268 (license license:bsd-3)))
4269
4270 (define-public ghc-byteorder
4271 (package
4272 (name "ghc-byteorder")
4273 (version "1.0.4")
4274 (source
4275 (origin
4276 (method url-fetch)
4277 (uri (string-append
4278 "https://hackage.haskell.org/package/byteorder/byteorder-"
4279 version
4280 ".tar.gz"))
4281 (sha256
4282 (base32
4283 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
4284 (build-system haskell-build-system)
4285 (home-page
4286 "http://community.haskell.org/~aslatter/code/byteorder")
4287 (synopsis
4288 "Exposes the native endianness of the system")
4289 (description
4290 "This package is for working with the native byte-ordering of the
4291 system.")
4292 (license license:bsd-3)))
4293
4294 (define-public ghc-base-compat
4295 (package
4296 (name "ghc-base-compat")
4297 (version "0.9.3")
4298 (source
4299 (origin
4300 (method url-fetch)
4301 (uri (string-append
4302 "https://hackage.haskell.org/package/base-compat/base-compat-"
4303 version
4304 ".tar.gz"))
4305 (sha256
4306 (base32
4307 "0452l6zf6fjhy4kxqwv6i6hhg6yfx4wcg450k3axpyj30l7jnq3x"))))
4308 (build-system haskell-build-system)
4309 (native-inputs
4310 `(("ghc-quickcheck" ,ghc-quickcheck)
4311 ("ghc-hspec" ,ghc-hspec)
4312 ("hspec-discover" ,hspec-discover)))
4313 (home-page "https://hackage.haskell.org/package/base-compat")
4314 (synopsis "Haskell compiler compatibility library")
4315 (description "This library provides functions available in later versions
4316 of base to a wider range of compilers, without requiring the use of CPP
4317 pragmas in your code.")
4318 (license license:bsd-3)))
4319
4320 (define-public ghc-blaze-builder
4321 (package
4322 (name "ghc-blaze-builder")
4323 (version "0.4.1.0")
4324 (source
4325 (origin
4326 (method url-fetch)
4327 (uri (string-append
4328 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
4329 version
4330 ".tar.gz"))
4331 (sha256
4332 (base32
4333 "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i"))))
4334 (build-system haskell-build-system)
4335 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
4336 (inputs
4337 `(("ghc-text" ,ghc-text)
4338 ("ghc-utf8-string" ,ghc-utf8-string)))
4339 (home-page "https://github.com/lpsmith/blaze-builder")
4340 (synopsis "Efficient buffered output")
4341 (description "This library provides an implementation of the older
4342 @code{blaze-builder} interface in terms of the new builder that shipped with
4343 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
4344 bridge to the new builder, so that code that uses the old interface can
4345 interoperate with code that uses the new implementation.")
4346 (license license:bsd-3)))
4347
4348 (define-public ghc-blaze-markup
4349 (package
4350 (name "ghc-blaze-markup")
4351 (version "0.8.2.1")
4352 (source
4353 (origin
4354 (method url-fetch)
4355 (uri (string-append "https://hackage.haskell.org/package/"
4356 "blaze-markup/blaze-markup-"
4357 version ".tar.gz"))
4358 (sha256
4359 (base32
4360 "0ih1c3qahkdgzbqihdhny5s313l2m66fbb88w8jbx7yz56y7rawh"))))
4361 (build-system haskell-build-system)
4362 (arguments
4363 `(#:phases
4364 (modify-phases %standard-phases
4365 (add-before 'configure 'update-constraints
4366 (lambda _
4367 (substitute* "blaze-markup.cabal"
4368 (("tasty >= 1\\.0 && < 1\\.1")
4369 "tasty >= 1.0 && < 1.2")))))))
4370 (inputs
4371 `(("ghc-blaze-builder" ,ghc-blaze-builder)
4372 ("ghc-text" ,ghc-text)))
4373 (native-inputs
4374 `(("ghc-hunit" ,ghc-hunit)
4375 ("ghc-quickcheck" ,ghc-quickcheck)
4376 ("ghc-tasty" ,ghc-tasty)
4377 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4378 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4379 (home-page "https://jaspervdj.be/blaze")
4380 (synopsis "Fast markup combinator library for Haskell")
4381 (description "This library provides core modules of a markup combinator
4382 library for Haskell.")
4383 (license license:bsd-3)))
4384
4385 (define-public ghc-easy-file
4386 (package
4387 (name "ghc-easy-file")
4388 (version "0.2.2")
4389 (source
4390 (origin
4391 (method url-fetch)
4392 (uri (string-append
4393 "https://hackage.haskell.org/package/easy-file/easy-file-"
4394 version
4395 ".tar.gz"))
4396 (sha256
4397 (base32
4398 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
4399 (build-system haskell-build-system)
4400 (home-page
4401 "https://github.com/kazu-yamamoto/easy-file")
4402 (synopsis "File handling library for Haskell")
4403 (description "This library provides file handling utilities for Haskell.")
4404 (license license:bsd-3)))
4405
4406 (define-public ghc-async
4407 (package
4408 (name "ghc-async")
4409 (version "2.2.1")
4410 (source
4411 (origin
4412 (method url-fetch)
4413 (uri (string-append
4414 "https://hackage.haskell.org/package/async/async-"
4415 version
4416 ".tar.gz"))
4417 (sha256
4418 (base32
4419 "09whscli1q5z7lzyq9rfk0bq1ydplh6pjmc6qv0x668k5818c2wg"))))
4420 (build-system haskell-build-system)
4421 (inputs
4422 `(("ghc-stm" ,ghc-stm)
4423 ("ghc-hashable" ,ghc-hashable)
4424 ("ghc-hunit" ,ghc-hunit)
4425 ("ghc-test-framework" ,ghc-test-framework)
4426 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4427 (home-page "https://github.com/simonmar/async")
4428 (synopsis "Library to run IO operations asynchronously")
4429 (description "Async provides a library to run IO operations
4430 asynchronously, and wait for their results. It is a higher-level interface
4431 over threads in Haskell, in which @code{Async a} is a concurrent thread that
4432 will eventually deliver a value of type @code{a}.")
4433 (license license:bsd-3)))
4434
4435 (define-public ghc-fingertree
4436 (package
4437 (name "ghc-fingertree")
4438 (version "0.1.4.1")
4439 (source
4440 (origin
4441 (method url-fetch)
4442 (uri (string-append
4443 "https://hackage.haskell.org/package/fingertree/fingertree-"
4444 version ".tar.gz"))
4445 (sha256
4446 (base32
4447 "192fyzv0pn1437wdpqg1l80rswkk4rw3w61r4bq7dhv354bdqy4p"))))
4448 (build-system haskell-build-system)
4449 (native-inputs
4450 `(("ghc-hunit" ,ghc-hunit)
4451 ("ghc-quickcheck" ,ghc-quickcheck)
4452 ("ghc-test-framework" ,ghc-test-framework)
4453 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4454 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4455 (home-page "https://hackage.haskell.org/package/fingertree")
4456 (synopsis "Generic finger-tree structure")
4457 (description "This library provides finger trees, a general sequence
4458 representation with arbitrary annotations, for use as a base for
4459 implementations of various collection types. It includes examples, as
4460 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4461 simple general-purpose data structure\".")
4462 (license license:bsd-3)))
4463
4464 (define-public ghc-optparse-applicative
4465 (package
4466 (name "ghc-optparse-applicative")
4467 (version "0.14.2.0")
4468 (source
4469 (origin
4470 (method url-fetch)
4471 (uri (string-append
4472 "https://hackage.haskell.org/package/optparse-applicative"
4473 "/optparse-applicative-" version ".tar.gz"))
4474 (sha256
4475 (base32
4476 "0c3z1mvynlyv1garjbdmdd3npm40dabgm75js4r07cf766c1wd71"))))
4477 (build-system haskell-build-system)
4478 (inputs
4479 `(("ghc-transformers-compat" ,ghc-transformers-compat)
4480 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
4481 (native-inputs
4482 `(("ghc-quickcheck" ,ghc-quickcheck)))
4483 (home-page "https://github.com/pcapriotti/optparse-applicative")
4484 (synopsis "Utilities and combinators for parsing command line options")
4485 (description "This package provides utilities and combinators for parsing
4486 command line options in Haskell.")
4487 (license license:bsd-3)))
4488
4489 (define-public ghc-base-orphans
4490 (package
4491 (name "ghc-base-orphans")
4492 (version "0.7")
4493 (source
4494 (origin
4495 (method url-fetch)
4496 (uri (string-append
4497 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
4498 version
4499 ".tar.gz"))
4500 (sha256
4501 (base32
4502 "057f9npnqk71ccfh95djfkpd54dzazphj06grwxa3fyhwcwxrb8a"))))
4503 (build-system haskell-build-system)
4504 (native-inputs
4505 `(("ghc-quickcheck" ,ghc-quickcheck)
4506 ("ghc-hspec" ,ghc-hspec)
4507 ("hspec-discover" ,hspec-discover)))
4508 (home-page "https://hackage.haskell.org/package/base-orphans")
4509 (synopsis "Orphan instances for backwards compatibility")
4510 (description "This package defines orphan instances that mimic instances
4511 available in later versions of base to a wider (older) range of compilers.")
4512 (license license:bsd-3)))
4513
4514 (define-public ghc-auto-update
4515 (package
4516 (name "ghc-auto-update")
4517 (version "0.1.4")
4518 (source
4519 (origin
4520 (method url-fetch)
4521 (uri (string-append
4522 "https://hackage.haskell.org/package/auto-update/auto-update-"
4523 version
4524 ".tar.gz"))
4525 (sha256
4526 (base32
4527 "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy"))))
4528 (build-system haskell-build-system)
4529 (home-page "https://github.com/yesodweb/wai")
4530 (synopsis "Efficiently run periodic, on-demand actions")
4531 (description "This library provides mechanisms to efficiently run
4532 periodic, on-demand actions in Haskell.")
4533 (license license:expat)))
4534
4535 (define-public ghc-tagged
4536 (package
4537 (name "ghc-tagged")
4538 (version "0.8.5")
4539 (source
4540 (origin
4541 (method url-fetch)
4542 (uri (string-append
4543 "https://hackage.haskell.org/package/tagged/tagged-"
4544 version
4545 ".tar.gz"))
4546 (sha256
4547 (base32
4548 "16cdzh0bw16nvjnyyy5j9s60malhz4nnazw96vxb0xzdap4m2z74"))))
4549 (build-system haskell-build-system)
4550 (arguments
4551 `(#:cabal-revision
4552 ("2" "0r2knfcq0b4s652vlvlnfwxlc2mkc2ra9kl8bp4zdn1awmfy0ia5")))
4553 (inputs
4554 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4555 (home-page "https://hackage.haskell.org/package/tagged")
4556 (synopsis "Haskell phantom types to avoid passing dummy arguments")
4557 (description "This library provides phantom types for Haskell 98, to avoid
4558 having to unsafely pass dummy arguments.")
4559 (license license:bsd-3)))
4560
4561 (define-public ghc-unbounded-delays
4562 (package
4563 (name "ghc-unbounded-delays")
4564 (version "0.1.1.0")
4565 (source
4566 (origin
4567 (method url-fetch)
4568 (uri (string-append
4569 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
4570 version
4571 ".tar.gz"))
4572 (sha256
4573 (base32
4574 "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa"))))
4575 (build-system haskell-build-system)
4576 (home-page "https://github.com/basvandijk/unbounded-delays")
4577 (synopsis "Unbounded thread delays and timeouts")
4578 (description "The @code{threadDelay} and @code{timeout} functions from the
4579 Haskell base library use the bounded @code{Int} type for specifying the delay
4580 or timeout period. This package provides alternative functions which use the
4581 unbounded @code{Integer} type.")
4582 (license license:bsd-3)))
4583
4584 (define-public ghc-clock
4585 (package
4586 (name "ghc-clock")
4587 (version "0.7.2")
4588 (source
4589 (origin
4590 (method url-fetch)
4591 (uri (string-append
4592 "https://hackage.haskell.org/package/"
4593 "clock/"
4594 "clock-" version ".tar.gz"))
4595 (sha256
4596 (base32 "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8"))))
4597 (build-system haskell-build-system)
4598 (inputs
4599 `(("ghc-tasty" ,ghc-tasty)
4600 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4601 (home-page "https://hackage.haskell.org/package/clock")
4602 (synopsis "High-resolution clock for Haskell")
4603 (description "A package for convenient access to high-resolution clock and
4604 timer functions of different operating systems via a unified API.")
4605 (license license:bsd-3)))
4606
4607 (define-public ghc-charset
4608 (package
4609 (name "ghc-charset")
4610 (version "0.3.7.1")
4611 (source
4612 (origin
4613 (method url-fetch)
4614 (uri (string-append
4615 "https://hackage.haskell.org/package/charset/charset-"
4616 version
4617 ".tar.gz"))
4618 (sha256
4619 (base32
4620 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
4621 (build-system haskell-build-system)
4622 (inputs
4623 `(("ghc-semigroups" ,ghc-semigroups)
4624 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4625 (home-page "https://github.com/ekmett/charset")
4626 (synopsis "Fast unicode character sets for Haskell")
4627 (description "This package provides fast unicode character sets for
4628 Haskell, based on complemented PATRICIA tries.")
4629 (license license:bsd-3)))
4630
4631 (define-public ghc-bytestring-builder
4632 (package
4633 (name "ghc-bytestring-builder")
4634 (version "0.10.8.1.0")
4635 (source
4636 (origin
4637 (method url-fetch)
4638 (uri (string-append
4639 "https://hackage.haskell.org/package/bytestring-builder"
4640 "/bytestring-builder-" version ".tar.gz"))
4641 (sha256
4642 (base32
4643 "1hnvjac28y44yn78c9vdp1zvrknvlw98ky3g4n5vivr16rvh8x3d"))))
4644 (build-system haskell-build-system)
4645 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4646 (home-page "https://hackage.haskell.org/package/bytestring-builder")
4647 (synopsis "The new bytestring builder, packaged outside of GHC")
4648 (description "This package provides the bytestring builder that is
4649 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
4650 Compatibility package for older packages.")
4651 (license license:bsd-3)))
4652
4653 (define-public ghc-nats
4654 (package
4655 (name "ghc-nats")
4656 (version "1.1.2")
4657 (source
4658 (origin
4659 (method url-fetch)
4660 (uri (string-append
4661 "https://hackage.haskell.org/package/nats/nats-"
4662 version
4663 ".tar.gz"))
4664 (sha256
4665 (base32
4666 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
4667 (build-system haskell-build-system)
4668 (arguments `(#:haddock? #f))
4669 (inputs
4670 `(("ghc-hashable" ,ghc-hashable)))
4671 (home-page "https://hackage.haskell.org/package/nats")
4672 (synopsis "Natural numbers")
4673 (description "This library provides the natural numbers for Haskell.")
4674 (license license:bsd-3)))
4675
4676 (define-public ghc-nats-bootstrap
4677 (package
4678 (inherit ghc-nats)
4679 (name "ghc-nats-bootstrap")
4680 (inputs
4681 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
4682 (properties '((hidden? #t)))))
4683
4684 (define-public ghc-void
4685 (package
4686 (name "ghc-void")
4687 (version "0.7.2")
4688 (source
4689 (origin
4690 (method url-fetch)
4691 (uri (string-append
4692 "https://hackage.haskell.org/package/void/void-"
4693 version
4694 ".tar.gz"))
4695 (sha256
4696 (base32
4697 "0aygw0yb1h3yhmfl3bkwh5d3h0l4mmsxz7j53vdm6jryl1kgxzyk"))))
4698 (build-system haskell-build-system)
4699 (inputs
4700 `(("ghc-semigroups" ,ghc-semigroups)
4701 ("ghc-hashable" ,ghc-hashable)))
4702 (home-page "https://github.com/ekmett/void")
4703 (synopsis
4704 "Logically uninhabited data type")
4705 (description
4706 "A Haskell 98 logically uninhabited data type, used to indicate that a
4707 given term should not exist.")
4708 (license license:bsd-3)))
4709
4710 (define-public ghc-kan-extensions
4711 (package
4712 (name "ghc-kan-extensions")
4713 (version "5.0.1")
4714 (source
4715 (origin
4716 (method url-fetch)
4717 (uri (string-append
4718 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
4719 version
4720 ".tar.gz"))
4721 (sha256
4722 (base32
4723 "1qm0kf4krmyjbjynn96ab0h3q117vwcia5nin7n2b8b4f3jrzph1"))))
4724 (build-system haskell-build-system)
4725 (inputs
4726 `(("ghc-adjunctions" ,ghc-adjunctions)
4727 ("ghc-comonad" ,ghc-comonad)
4728 ("ghc-contravariant" ,ghc-contravariant)
4729 ("ghc-distributive" ,ghc-distributive)
4730 ("ghc-free" ,ghc-free)
4731 ("ghc-semigroupoids" ,ghc-semigroupoids)
4732 ("ghc-tagged" ,ghc-tagged)))
4733 (home-page "https://github.com/ekmett/kan-extensions/")
4734 (synopsis "Kan extensions library")
4735 (description "This library provides Kan extensions, Kan lifts, various
4736 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
4737 (license license:bsd-3)))
4738
4739 (define-public ghc-call-stack
4740 (package
4741 (name "ghc-call-stack")
4742 (version "0.1.0")
4743 (source
4744 (origin
4745 (method url-fetch)
4746 (uri (string-append "https://hackage.haskell.org/package/"
4747 "call-stack/call-stack-"
4748 version ".tar.gz"))
4749 (sha256
4750 (base32
4751 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
4752 (build-system haskell-build-system)
4753 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
4754 (home-page "https://github.com/sol/call-stack#readme")
4755 (synopsis "Use GHC call-stacks in a backward compatible way")
4756 (description "This package provides a compatibility layer for using GHC
4757 call stacks with different versions of the compiler.")
4758 (license license:expat)))
4759
4760 ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
4761 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
4762 (define-public ghc-call-stack-boot
4763 (package
4764 (inherit ghc-call-stack)
4765 (arguments '(#:tests? #f))
4766 (inputs '())))
4767
4768 (define-public ghc-statevar
4769 (package
4770 (name "ghc-statevar")
4771 (version "1.1.1.1")
4772 (source
4773 (origin
4774 (method url-fetch)
4775 (uri (string-append
4776 "https://hackage.haskell.org/package/StateVar/StateVar-"
4777 version
4778 ".tar.gz"))
4779 (sha256
4780 (base32
4781 "08r2iw0gdmfs4f6wraaq19vfmkjdbics3dbhw39y7mdjd98kcr7b"))))
4782 (build-system haskell-build-system)
4783 (inputs
4784 `(("ghc-stm" ,ghc-stm)))
4785 (home-page "https://hackage.haskell.org/package/StateVar")
4786 (synopsis "State variables for Haskell")
4787 (description "This package provides state variables, which are references
4788 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
4789 (license license:bsd-3)))
4790
4791 (define-public ghc-lens
4792 (package
4793 (name "ghc-lens")
4794 (version "4.15.4")
4795 (source
4796 (origin
4797 (method url-fetch)
4798 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
4799 version ".tar.gz"))
4800 (sha256
4801 (base32
4802 "1lkwlnhgpgnsz046mw4qs0fa7h4l012gilrr3nf3spllsy3pnbkl"))))
4803 (build-system haskell-build-system)
4804 (inputs
4805 `(("ghc-base-orphans" ,ghc-base-orphans)
4806 ("ghc-bifunctors" ,ghc-bifunctors)
4807 ("ghc-doctest" ,ghc-doctest-0.13)
4808 ("ghc-distributive" ,ghc-distributive)
4809 ("ghc-exceptions" ,ghc-exceptions)
4810 ("ghc-free" ,ghc-free)
4811 ("ghc-kan-extensions" ,ghc-kan-extensions)
4812 ("ghc-parallel" ,ghc-parallel)
4813 ("ghc-reflection" ,ghc-reflection)
4814 ("ghc-semigroupoids" ,ghc-semigroupoids)
4815 ("ghc-vector" ,ghc-vector)
4816 ("ghc-call-stack" ,ghc-call-stack)
4817 ("ghc-comonad" ,ghc-comonad)
4818 ("ghc-contravariant" ,ghc-contravariant)
4819 ("ghc-hashable" ,ghc-hashable)
4820 ("ghc-profunctors" ,ghc-profunctors)
4821 ("ghc-semigroups" ,ghc-semigroups)
4822 ("ghc-tagged" ,ghc-tagged)
4823 ("ghc-text" ,ghc-text)
4824 ("ghc-transformers-compat" ,ghc-transformers-compat)
4825 ("ghc-unordered-containers" ,ghc-unordered-containers)
4826 ("ghc-void" ,ghc-void)
4827 ("ghc-generic-deriving" ,ghc-generic-deriving)
4828 ("ghc-nats" ,ghc-nats)
4829 ("ghc-simple-reflect" ,ghc-simple-reflect)
4830 ("hlint" ,hlint)))
4831 (native-inputs
4832 `(("cabal-doctest" ,cabal-doctest)
4833 ("ghc-hunit" ,ghc-hunit)
4834 ("ghc-test-framework" ,ghc-test-framework)
4835 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4836 ("ghc-test-framework-th" ,ghc-test-framework-th)
4837 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
4838 ("ghc-quickcheck" ,ghc-quickcheck)))
4839 (home-page "https://github.com/ekmett/lens/")
4840 (synopsis "Lenses, Folds and Traversals")
4841 (description "This library provides @code{Control.Lens}. The combinators
4842 in @code{Control.Lens} provide a highly generic toolbox for composing families
4843 of getters, folds, isomorphisms, traversals, setters and lenses and their
4844 indexed variants.")
4845 (license license:bsd-3)))
4846
4847 (define-public ghc-cheapskate
4848 (package
4849 (name "ghc-cheapskate")
4850 (version "0.1.1")
4851 (source
4852 (origin
4853 (method url-fetch)
4854 (uri (string-append
4855 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
4856 version
4857 ".tar.gz"))
4858 (sha256
4859 (base32
4860 "1hiqi7h76shjzs2zj0j8g6wnq2hbiq1hmfafdazr97fba2zl2432"))))
4861 (build-system haskell-build-system)
4862 (inputs
4863 `(("ghc-text" ,ghc-text)
4864 ("ghc-blaze-html" ,ghc-blaze-html)
4865 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
4866 ("ghc-data-default" ,ghc-data-default)
4867 ("ghc-syb" ,ghc-syb)
4868 ("ghc-uniplate" ,ghc-uniplate)))
4869 (home-page "https://github.com/jgm/cheapskate")
4870 (synopsis "Experimental markdown processor")
4871 (description "Cheapskate is an experimental Markdown processor in pure
4872 Haskell. It aims to process Markdown efficiently and in the most forgiving
4873 possible way. It is designed to deal with any input, including garbage, with
4874 linear performance. Output is sanitized by default for protection against
4875 cross-site scripting (@dfn{XSS}) attacks.")
4876 (license license:bsd-3)))
4877
4878 (define-public ghc-bifunctors
4879 (package
4880 (name "ghc-bifunctors")
4881 (version "5.5.2")
4882 (source
4883 (origin
4884 (method url-fetch)
4885 (uri (string-append
4886 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
4887 version
4888 ".tar.gz"))
4889 (sha256
4890 (base32
4891 "04fbsysm6zl8kmvqgffmrqa9bxl9dl2gibrd51asqzg737mb4ark"))))
4892 (build-system haskell-build-system)
4893 (inputs
4894 `(("ghc-base-orphans" ,ghc-base-orphans)
4895 ("ghc-comonad" ,ghc-comonad)
4896 ("ghc-th-abstraction" ,ghc-th-abstraction)
4897 ("ghc-transformers-compat" ,ghc-transformers-compat)
4898 ("ghc-tagged" ,ghc-tagged)
4899 ("ghc-semigroups" ,ghc-semigroups)))
4900 (native-inputs
4901 `(("ghc-hspec" ,ghc-hspec)
4902 ("hspec-discover" ,hspec-discover)
4903 ("ghc-quickcheck" ,ghc-quickcheck)))
4904 (home-page "https://github.com/ekmett/bifunctors/")
4905 (synopsis "Bifunctors for Haskell")
4906 (description "This package provides bifunctors for Haskell.")
4907 (license license:bsd-3)))
4908
4909 (define-public ghc-semigroupoids
4910 (package
4911 (name "ghc-semigroupoids")
4912 (version "5.1")
4913 (source
4914 (origin
4915 (method url-fetch)
4916 (uri (string-append
4917 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
4918 version
4919 ".tar.gz"))
4920 (sha256
4921 (base32
4922 "0dgqc59p4xx5cl8qkpm6sn4wd3n59rq7l6din76hf10bnklqrb0n"))))
4923 (build-system haskell-build-system)
4924 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4925 (inputs
4926 `(("ghc-base-orphans" ,ghc-base-orphans)
4927 ("ghc-transformers-compat" ,ghc-transformers-compat)
4928 ("ghc-bifunctors" ,ghc-bifunctors)
4929 ("ghc-comonad" ,ghc-comonad)
4930 ("ghc-contravariant" ,ghc-contravariant)
4931 ("ghc-distributive" ,ghc-distributive)
4932 ("ghc-semigroups" ,ghc-semigroups)
4933 ("ghc-tagged" ,ghc-tagged)))
4934 (home-page "https://github.com/ekmett/semigroupoids")
4935 (synopsis "Semigroupoids operations for Haskell")
4936 (description "This library provides a wide array of (semi)groupoids and
4937 operations for working with them. A @code{Semigroupoid} is a @code{Category}
4938 without the requirement of identity arrows for every object in the category.
4939 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
4940 Finally, to work with these weaker structures it is beneficial to have
4941 containers that can provide stronger guarantees about their contents, so
4942 versions of @code{Traversable} and @code{Foldable} that can be folded with
4943 just a @code{Semigroup} are added.")
4944 (license license:bsd-3)))
4945
4946 (define-public ghc-contravariant
4947 (package
4948 (name "ghc-contravariant")
4949 (version "1.4.1")
4950 (source
4951 (origin
4952 (method url-fetch)
4953 (uri (string-append
4954 "https://hackage.haskell.org/package/contravariant/contravariant-"
4955 version
4956 ".tar.gz"))
4957 (sha256
4958 (base32
4959 "1vfhk8c5cxmmakx7rflap1ipkx5q0j5vnlrcz7yz6y53kxhksgf9"))))
4960 (build-system haskell-build-system)
4961 (inputs
4962 `(("ghc-void" ,ghc-void)
4963 ("ghc-transformers-compat" ,ghc-transformers-compat)
4964 ("ghc-statevar" ,ghc-statevar)
4965 ("ghc-semigroups" ,ghc-semigroups)))
4966 (home-page
4967 "https://github.com/ekmett/contravariant/")
4968 (synopsis "Contravariant functors")
4969 (description "Contravariant functors for Haskell.")
4970 (license license:bsd-3)))
4971
4972 (define-public ghc-semigroups
4973 (package
4974 (name "ghc-semigroups")
4975 (version "0.18.5")
4976 (source
4977 (origin
4978 (method url-fetch)
4979 (uri (string-append
4980 "https://hackage.haskell.org/package/semigroups/semigroups-"
4981 version
4982 ".tar.gz"))
4983 (sha256
4984 (base32
4985 "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb"))))
4986 (build-system haskell-build-system)
4987 (inputs
4988 `(("ghc-nats" ,ghc-nats)
4989 ("ghc-tagged" ,ghc-tagged)
4990 ("ghc-unordered-containers" ,ghc-unordered-containers)
4991 ("ghc-text" ,ghc-text)
4992 ("ghc-hashable" ,ghc-hashable)))
4993 (home-page "https://github.com/ekmett/semigroups/")
4994 (synopsis "Semigroup operations for Haskell")
4995 (description "This package provides semigroups for Haskell. In
4996 mathematics, a semigroup is an algebraic structure consisting of a set
4997 together with an associative binary operation. A semigroup generalizes a
4998 monoid in that there might not exist an identity element. It
4999 also (originally) generalized a group (a monoid with all inverses) to a type
5000 where every element did not have to have an inverse, thus the name
5001 semigroup.")
5002 (license license:bsd-3)))
5003
5004 (define-public ghc-semigroups-bootstrap
5005 (package
5006 (inherit ghc-semigroups)
5007 (name "ghc-semigroups-bootstrap")
5008 (inputs
5009 `(("ghc-nats" ,ghc-nats-bootstrap)
5010 ("ghc-tagged" ,ghc-tagged)
5011 ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap)
5012 ("ghc-text" ,ghc-text)
5013 ("ghc-hashable" ,ghc-hashable-bootstrap)))
5014 (properties '(hidden? #t))))
5015
5016 (define-public ghc-free
5017 (package
5018 (name "ghc-free")
5019 (version "4.12.4")
5020 (source
5021 (origin
5022 (method url-fetch)
5023 (uri (string-append
5024 "https://hackage.haskell.org/package/free/free-"
5025 version
5026 ".tar.gz"))
5027 (sha256
5028 (base32
5029 "1147s393442xf4gkpbq0rd1p286vmykgx85mxhk5d1c7wfm4bzn9"))))
5030 (build-system haskell-build-system)
5031 (inputs
5032 `(("ghc-prelude-extras" ,ghc-prelude-extras)
5033 ("ghc-profunctors" ,ghc-profunctors)
5034 ("ghc-exceptions" ,ghc-exceptions)
5035 ("ghc-bifunctors" ,ghc-bifunctors)
5036 ("ghc-comonad" ,ghc-comonad)
5037 ("ghc-distributive" ,ghc-distributive)
5038 ("ghc-semigroupoids" ,ghc-semigroupoids)
5039 ("ghc-semigroups" ,ghc-semigroups)))
5040 (home-page "https://github.com/ekmett/free/")
5041 (synopsis "Unrestricted monads for Haskell")
5042 (description "This library provides free monads, which are useful for many
5043 tree-like structures and domain specific languages. If @code{f} is a
5044 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
5045 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
5046 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
5047 f} makes no constraining assumptions beyond those given by @code{f} and the
5048 definition of @code{Monad}.")
5049 (license license:bsd-3)))
5050
5051 (define-public ghc-adjunctions
5052 (package
5053 (name "ghc-adjunctions")
5054 (version "4.3")
5055 (source
5056 (origin
5057 (method url-fetch)
5058 (uri (string-append
5059 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
5060 version
5061 ".tar.gz"))
5062 (sha256
5063 (base32
5064 "1k1ykisf96i4g2zm47c45md7p42c4vsp9r73392pz1g8mx7s2j5r"))))
5065 (build-system haskell-build-system)
5066 (inputs
5067 `(("ghc-profunctors" ,ghc-profunctors)
5068 ("ghc-comonad" ,ghc-comonad)
5069 ("ghc-contravariant" ,ghc-contravariant)
5070 ("ghc-distributive" ,ghc-distributive)
5071 ("ghc-free" ,ghc-free)
5072 ("ghc-tagged" ,ghc-tagged)
5073 ("ghc-semigroupoids" ,ghc-semigroupoids)
5074 ("ghc-semigroups" ,ghc-semigroups)
5075 ("ghc-void" ,ghc-void)))
5076 (home-page "https://github.com/ekmett/adjunctions/")
5077 (synopsis "Adjunctions and representable functors")
5078 (description "This library provides adjunctions and representable functors
5079 for Haskell.")
5080 (license license:bsd-3)))
5081
5082 (define-public ghc-equivalence
5083 (package
5084 (name "ghc-equivalence")
5085 (version "0.3.2")
5086 (source
5087 (origin
5088 (method url-fetch)
5089 (uri (string-append "https://hackage.haskell.org/package/equivalence"
5090 "/equivalence-" version ".tar.gz"))
5091 (sha256
5092 (base32 "0a85bdyyvjqs5z4kfhhf758210k9gi9dv42ik66a3jl0z7aix8kx"))))
5093 (build-system haskell-build-system)
5094 (inputs
5095 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
5096 ("ghc-transformers-compat" ,ghc-transformers-compat)
5097 ("ghc-quickcheck" ,ghc-quickcheck)
5098 ("ghc-test-framework" ,ghc-test-framework)
5099 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5100 (home-page "https://github.com/pa-ba/equivalence")
5101 (synopsis "Maintaining an equivalence relation implemented as union-find")
5102 (description
5103 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
5104 Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
5105 22(2), 1975) in order to maintain an equivalence relation. This
5106 implementation is a port of the @code{union-find} package using the @code{ST}
5107 monad transformer (instead of the IO monad).")
5108 (license license:bsd-3)))
5109
5110 (define-public ghc-fast-logger
5111 (package
5112 (name "ghc-fast-logger")
5113 (version "2.4.11")
5114 (source
5115 (origin
5116 (method url-fetch)
5117 (uri (string-append
5118 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
5119 version
5120 ".tar.gz"))
5121 (sha256
5122 (base32
5123 "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv"))))
5124 (build-system haskell-build-system)
5125 (inputs
5126 `(("ghc-auto-update" ,ghc-auto-update)
5127 ("ghc-easy-file" ,ghc-easy-file)
5128 ("ghc-text" ,ghc-text)
5129 ("ghc-unix-time" ,ghc-unix-time)))
5130 (native-inputs
5131 `(("hspec-discover" ,hspec-discover)
5132 ("ghc-hspec" ,ghc-hspec)))
5133 (home-page "https://hackage.haskell.org/package/fast-logger")
5134 (synopsis "Fast logging system")
5135 (description "This library provides a fast logging system for Haskell.")
5136 (license license:bsd-3)))
5137
5138 (define-public ghc-doctest
5139 (package
5140 (name "ghc-doctest")
5141 (version "0.16.0")
5142 (source
5143 (origin
5144 (method url-fetch)
5145 (uri (string-append
5146 "https://hackage.haskell.org/package/doctest/doctest-"
5147 version
5148 ".tar.gz"))
5149 (sha256
5150 (base32
5151 "0hkccch65s3kp0b36h7bqhilnpi4bx8kngncm7ma9vbd3dwacjdv"))))
5152 (build-system haskell-build-system)
5153 (arguments `(#:tests? #f)) ; FIXME: missing test framework
5154 (inputs
5155 `(("ghc-syb" ,ghc-syb)
5156 ("ghc-paths" ,ghc-paths)
5157 ("ghc-base-compat" ,ghc-base-compat)
5158 ("ghc-code-page" ,ghc-code-page)
5159 ("ghc-hunit" ,ghc-hunit)
5160 ("ghc-hspec" ,ghc-hspec)
5161 ("ghc-quickcheck" ,ghc-quickcheck)
5162 ("ghc-stringbuilder" ,ghc-stringbuilder)
5163 ("ghc-silently" ,ghc-silently)
5164 ("ghc-setenv" ,ghc-setenv)))
5165 (home-page
5166 "https://github.com/sol/doctest#readme")
5167 (synopsis "Test interactive Haskell examples")
5168 (description "The doctest program checks examples in source code comments.
5169 It is modeled after doctest for Python, see
5170 @uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
5171 (license license:expat)))
5172
5173 (define-public ghc-doctest-0.12
5174 (package (inherit ghc-doctest)
5175 (name "ghc-doctest")
5176 (version "0.12.0")
5177 (source
5178 (origin
5179 (method url-fetch)
5180 (uri (string-append
5181 "https://hackage.haskell.org/package/doctest/doctest-"
5182 version
5183 ".tar.gz"))
5184 (sha256
5185 (base32
5186 "13h549cpgcvb7c54c7wif28g5wak84dxc3ais0hlqhzk1q6la91a"))))
5187 (inputs
5188 `(("ghc-code-page" ,ghc-code-page)
5189 ,@(package-inputs ghc-doctest)))))
5190
5191 (define-public ghc-doctest-0.13
5192 (package (inherit ghc-doctest-0.12)
5193 (name "ghc-doctest")
5194 (version "0.13.0")
5195 (source
5196 (origin
5197 (method url-fetch)
5198 (uri (string-append "https://hackage.haskell.org/package/"
5199 "doctest/doctest-" version ".tar.gz"))
5200 (sha256
5201 (base32
5202 "08g3nmpqbnbkxc95d65hkhfabwax10qrq51vlynr342npn40mn2b"))))))
5203
5204 (define-public ghc-lifted-base
5205 (package
5206 (name "ghc-lifted-base")
5207 (version "0.2.3.12")
5208 (source
5209 (origin
5210 (method url-fetch)
5211 (uri (string-append
5212 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
5213 version
5214 ".tar.gz"))
5215 (sha256
5216 (base32
5217 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
5218 (build-system haskell-build-system)
5219 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
5220 (inputs
5221 `(("ghc-transformers-base" ,ghc-transformers-base)
5222 ("ghc-monad-control" ,ghc-monad-control)
5223 ("ghc-transformers-compat" ,ghc-transformers-compat)
5224 ("ghc-hunit" ,ghc-hunit)))
5225 (home-page "https://github.com/basvandijk/lifted-base")
5226 (synopsis "Lifted IO operations from the base library")
5227 (description "Lifted-base exports IO operations from the @code{base}
5228 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
5229 Note that not all modules from @code{base} are converted yet. The package
5230 includes a copy of the @code{monad-peel} test suite written by Anders
5231 Kaseorg.")
5232 (license license:bsd-3)))
5233
5234 (define-public ghc-word8
5235 (package
5236 (name "ghc-word8")
5237 (version "0.1.3")
5238 (source
5239 (origin
5240 (method url-fetch)
5241 (uri (string-append
5242 "https://hackage.haskell.org/package/word8/word8-"
5243 version
5244 ".tar.gz"))
5245 (sha256
5246 (base32
5247 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
5248 (build-system haskell-build-system)
5249 (native-inputs
5250 `(("ghc-hspec" ,ghc-hspec)
5251 ("hspec-discover" ,hspec-discover)))
5252 (home-page "https://hackage.haskell.org/package/word8")
5253 (synopsis "Word8 library for Haskell")
5254 (description "Word8 library to be used with @code{Data.ByteString}.")
5255 (license license:bsd-3)))
5256
5257 (define-public ghc-stringsearch
5258 (package
5259 (name "ghc-stringsearch")
5260 (version "0.3.6.6")
5261 (source
5262 (origin
5263 (method url-fetch)
5264 (uri (string-append
5265 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
5266 version
5267 ".tar.gz"))
5268 (sha256
5269 (base32
5270 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
5271 (build-system haskell-build-system)
5272 (home-page "https://bitbucket.org/dafis/stringsearch")
5273 (synopsis "Fast searching, splitting and replacing of ByteStrings")
5274 (description "This package provides several functions to quickly search
5275 for substrings in strict or lazy @code{ByteStrings}. It also provides
5276 functions for breaking or splitting on substrings and replacing all
5277 occurrences of a substring (the first in case of overlaps) with another.")
5278 (license license:bsd-3)))
5279
5280 (define-public ghc-integer-logarithms
5281 (package
5282 (name "ghc-integer-logarithms")
5283 (version "1.0.2.1")
5284 (source
5285 (origin
5286 (method url-fetch)
5287 (uri (string-append "https://hackage.haskell.org/package/"
5288 "integer-logarithms/integer-logarithms-"
5289 version ".tar.gz"))
5290 (sha256
5291 (base32
5292 "1wj8kgjg5bn2yrs4zh9qfjv85cx6w998j9pi39yrbv305944mb9j"))))
5293 (build-system haskell-build-system)
5294 (arguments
5295 `(#:phases
5296 (modify-phases %standard-phases
5297 (add-before 'configure 'update-constraints
5298 (lambda _
5299 (substitute* "integer-logarithms.cabal"
5300 (("tasty >= 0\\.10 && < 1\\.1")
5301 "tasty >= 0.10 && < 1.2")))))))
5302 (native-inputs
5303 `(("ghc-quickcheck" ,ghc-quickcheck)
5304 ("ghc-smallcheck" ,ghc-smallcheck)
5305 ("ghc-tasty" ,ghc-tasty)
5306 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5307 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5308 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
5309 (home-page "https://github.com/Bodigrim/integer-logarithms")
5310 (synopsis "Integer logarithms")
5311 (description
5312 "This package provides the following modules:
5313 @code{Math.NumberTheory.Logarithms} and
5314 @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
5315 @code{GHC.Integer.Logarithms.Compat} and
5316 @code{Math.NumberTheory.Power.Natural}, as well as some additional functions
5317 in migrated modules.")
5318 (license license:expat)))
5319
5320 (define-public ghc-integer-logarithms-bootstrap
5321 (package
5322 (inherit ghc-integer-logarithms)
5323 (name "ghc-integer-logarithms-bootstrap")
5324 (arguments `(#:tests? #f))
5325 (native-inputs '())
5326 (properties '(hidden? #t))))
5327
5328 (define-public ghc-scientific
5329 (package
5330 (name "ghc-scientific")
5331 (version "0.3.6.2")
5332 (source
5333 (origin
5334 (method url-fetch)
5335 (uri (string-append
5336 "https://hackage.haskell.org/package/scientific/scientific-"
5337 version
5338 ".tar.gz"))
5339 (sha256
5340 (base32
5341 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
5342 (build-system haskell-build-system)
5343 (inputs
5344 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
5345 ("ghc-text" ,ghc-text)
5346 ("ghc-hashable" ,ghc-hashable)
5347 ("ghc-primitive" ,ghc-primitive)))
5348 (native-inputs
5349 `(("ghc-tasty" ,ghc-tasty)
5350 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
5351 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5352 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5353 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5354 ("ghc-smallcheck" ,ghc-smallcheck)
5355 ("ghc-quickcheck" ,ghc-quickcheck)))
5356 (home-page "https://github.com/basvandijk/scientific")
5357 (synopsis "Numbers represented using scientific notation")
5358 (description "This package provides @code{Data.Scientific}, which provides
5359 the number type @code{Scientific}. Scientific numbers are arbitrary precision
5360 and space efficient. They are represented using
5361 @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
5362 notation}.")
5363 (license license:bsd-3)))
5364
5365 (define-public ghc-scientific-bootstrap
5366 (package
5367 (inherit ghc-scientific)
5368 (name "ghc-scientific-bootstrap")
5369 (arguments `(#:tests? #f))
5370 (inputs
5371 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
5372 ("ghc-text" ,ghc-text)
5373 ("ghc-hashable" ,ghc-hashable)
5374 ("ghc-primitive" ,ghc-primitive)))
5375 (native-inputs '())
5376 (properties '(hidden? #t))))
5377
5378 (define-public ghc-boxes
5379 (package
5380 (name "ghc-boxes")
5381 (version "0.1.5")
5382 (source
5383 (origin
5384 (method url-fetch)
5385 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
5386 version ".tar.gz"))
5387 (sha256
5388 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
5389 (build-system haskell-build-system)
5390 (inputs
5391 `(("ghc-split" ,ghc-split)
5392 ("ghc-quickcheck" ,ghc-quickcheck)))
5393 (home-page "https://hackage.haskell.org/package/boxes")
5394 (synopsis "2D text pretty-printing library")
5395 (description
5396 "Boxes is a pretty-printing library for laying out text in two dimensions,
5397 using a simple box model.")
5398 (license license:bsd-3)))
5399
5400 (define-public ghc-deepseq-generics
5401 (package
5402 (name "ghc-deepseq-generics")
5403 (version "0.2.0.0")
5404 (source (origin
5405 (method url-fetch)
5406 (uri (string-append "https://hackage.haskell.org/package/"
5407 "deepseq-generics/deepseq-generics-"
5408 version ".tar.gz"))
5409 (sha256
5410 (base32
5411 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
5412 (build-system haskell-build-system)
5413 (arguments
5414 `(#:cabal-revision
5415 ("2" "1pnidf8w8x0w5fsqgv8hhrw07slmhxwy5x4fikgk0bd6k76aqicb")))
5416 (native-inputs
5417 `(("ghc-hunit" ,ghc-hunit)
5418 ("ghc-test-framework" ,ghc-test-framework)
5419 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5420 (home-page "https://github.com/hvr/deepseq-generics")
5421 (synopsis "Generic RNF implementation")
5422 (description
5423 "This package provides a @code{GHC.Generics}-based
5424 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
5425 providing an 'rnf' implementation.")
5426 (license license:bsd-3)))
5427
5428 (define-public ghc-string-qq
5429 (package
5430 (name "ghc-string-qq")
5431 (version "0.0.2")
5432 (source
5433 (origin
5434 (method url-fetch)
5435 (uri (string-append
5436 "https://hackage.haskell.org/package/string-qq/string-qq-"
5437 version
5438 ".tar.gz"))
5439 (sha256
5440 (base32
5441 "0662m3i5xrdrr95w829bszkhp88mj9iy1zya54vk2sl5hz9wlmwp"))))
5442 (build-system haskell-build-system)
5443 (home-page "http://hackage.haskell.org/package/string-qq")
5444 (synopsis
5445 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
5446 (description
5447 "This package provides a quasiquoter for non-interpolated strings, texts
5448 and bytestrings.")
5449 (license license:public-domain)))
5450
5451 (define-public ghc-pandoc-types
5452 (package
5453 (name "ghc-pandoc-types")
5454 (version "1.17.5.1")
5455 (source (origin
5456 (method url-fetch)
5457 (uri (string-append "https://hackage.haskell.org/package/"
5458 "pandoc-types/pandoc-types-"
5459 version ".tar.gz"))
5460 (sha256
5461 (base32
5462 "1q6v2bynij724fv347mhqxdscwifzrx5jb9mq80608qf638fn717"))))
5463 (build-system haskell-build-system)
5464 (arguments
5465 `(#:configure-flags (list "--allow-newer=QuickCheck")))
5466 (inputs
5467 `(("ghc-syb" ,ghc-syb)
5468 ("ghc-aeson" ,ghc-aeson)
5469 ("ghc-string-qq" ,ghc-string-qq)))
5470 (native-inputs
5471 `(("ghc-quickcheck" ,ghc-quickcheck)
5472 ("ghc-test-framework" ,ghc-test-framework)
5473 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5474 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5475 ("ghc-hunit" ,ghc-hunit)))
5476 (home-page "http://johnmacfarlane.net/pandoc")
5477 (synopsis "Types for representing a structured document")
5478 (description
5479 "This module defines the @code{Pandoc} data structure, which is used by
5480 pandoc to represent structured documents. It also provides functions for
5481 building up, manipulating and serialising @code{Pandoc} structures.")
5482 (license license:bsd-3)))
5483
5484 (define-public ghc-pandoc-types-for-pandoc-1
5485 (package (inherit ghc-pandoc-types)
5486 (version "1.17.0.5")
5487 (source (origin
5488 (method url-fetch)
5489 (uri (string-append "https://hackage.haskell.org/package/"
5490 "pandoc-types/pandoc-types-"
5491 version ".tar.gz"))
5492 (sha256
5493 (base32
5494 "1csipjdq00iiq77k2wlrg4i7afrzlh8nl585q785xzw7nn45b0n8"))))
5495 (arguments
5496 `(#:configure-flags (list "--allow-newer=QuickCheck"
5497 "--allow-newer=HUnit")))
5498 (inputs
5499 `(("ghc-syb" ,ghc-syb)
5500 ("ghc-aeson" ,ghc-aeson-for-pandoc-1)
5501 ("ghc-string-qq" ,ghc-string-qq)))))
5502
5503 (define-public ghc-texmath
5504 (package
5505 (name "ghc-texmath")
5506 (version "0.11.0.1")
5507 (source (origin
5508 (method url-fetch)
5509 (uri (string-append "https://hackage.haskell.org/package/"
5510 "texmath/texmath-" version ".tar.gz"))
5511 (sha256
5512 (base32
5513 "11dc09hfnyfsz20ch2c867w0zdgjkzq41506lm61i3dk87ngdisf"))))
5514 (build-system haskell-build-system)
5515 (inputs
5516 `(("ghc-syb" ,ghc-syb)
5517 ("ghc-network-uri" ,ghc-network-uri)
5518 ("ghc-split" ,ghc-split)
5519 ("ghc-temporary" ,ghc-temporary)
5520 ("ghc-utf8-string" ,ghc-utf8-string)
5521 ("ghc-xml" ,ghc-xml)
5522 ("ghc-parsec" ,ghc-parsec)
5523 ("ghc-pandoc-types" ,ghc-pandoc-types)))
5524 (home-page "https://github.com/jgm/texmath")
5525 (synopsis "Conversion between formats used to represent mathematics")
5526 (description
5527 "The texmath library provides functions to read and write TeX math,
5528 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
5529 Office). Support is also included for converting math formats to pandoc's
5530 native format (allowing conversion, via pandoc, to a variety of different
5531 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
5532 it can parse and apply LaTeX macros.")
5533 (license license:gpl2+)))
5534
5535 (define-public ghc-texmath-for-pandoc-1
5536 (package (inherit ghc-texmath)
5537 (version "0.9.4.4")
5538 (source (origin
5539 (method url-fetch)
5540 (uri (string-append "https://hackage.haskell.org/package/"
5541 "texmath/texmath-" version ".tar.gz"))
5542 (sha256
5543 (base32
5544 "129q33m56diiv35kdwfb07838wrg0mm88kxdqxfyl1zvf9nzkqkd"))))
5545 (inputs
5546 `(("ghc-network-uri" ,ghc-network-uri)
5547 ("ghc-pandoc-types" ,ghc-pandoc-types-for-pandoc-1)
5548 ("ghc-parsec" ,ghc-parsec)
5549 ("ghc-split" ,ghc-split)
5550 ("ghc-syb" ,ghc-syb)
5551 ("ghc-temporary" ,ghc-temporary)
5552 ("ghc-utf8-string" ,ghc-utf8-string)
5553 ("ghc-xml" ,ghc-xml)))))
5554
5555 (define-public ghc-regex-pcre-builtin
5556 (package
5557 (name "ghc-regex-pcre-builtin")
5558 (version "0.94.4.8.8.35")
5559 (source (origin
5560 (method url-fetch)
5561 (uri (string-append "https://hackage.haskell.org/package/"
5562 "regex-pcre-builtin/regex-pcre-builtin-"
5563 version ".tar.gz"))
5564 (sha256
5565 (base32
5566 "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b"))))
5567 (build-system haskell-build-system)
5568 (inputs
5569 `(("ghc-regex-base" ,ghc-regex-base)))
5570 (home-page "https://hackage.haskell.org/package/regex-pcre")
5571 (synopsis "Enhancement of the builtin Text.Regex library")
5572 (description
5573 "This package is an enhancement of the @code{Text.Regex} library,
5574 providing the PCRE backend to accompany regex-base, with bundled code from
5575 @url{https://www.pcre.org}.")
5576 (license license:bsd-3)))
5577
5578 (define-public ghc-diff
5579 (package
5580 (name "ghc-diff")
5581 (version "0.3.4")
5582 (source (origin
5583 (method url-fetch)
5584 (uri (string-append "https://hackage.haskell.org/package/"
5585 "Diff/Diff-" version ".tar.gz"))
5586 (sha256
5587 (base32
5588 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
5589 (build-system haskell-build-system)
5590 (native-inputs
5591 `(("ghc-quickcheck" ,ghc-quickcheck)
5592 ("ghc-test-framework" ,ghc-test-framework)
5593 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5594 (home-page "https://hub.darcs.net/sterlingclover/Diff")
5595 (synopsis "O(ND) diff algorithm in Haskell")
5596 (description
5597 "This package provides an implementation of the standard diff algorithm,
5598 and utilities for pretty printing.")
5599 (license license:bsd-3)))
5600
5601 (define-public ghc-highlighting-kate
5602 (package
5603 (name "ghc-highlighting-kate")
5604 (version "0.6.4")
5605 (source (origin
5606 (method url-fetch)
5607 (uri (string-append "https://hackage.haskell.org/package/"
5608 "highlighting-kate/highlighting-kate-"
5609 version ".tar.gz"))
5610 (sha256
5611 (base32
5612 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
5613 (build-system haskell-build-system)
5614 (inputs
5615 `(("ghc-diff" ,ghc-diff)
5616 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5617 (native-inputs
5618 `(("ghc-parsec" ,ghc-parsec)
5619 ("ghc-blaze-html" ,ghc-blaze-html)
5620 ("ghc-utf8-string" ,ghc-utf8-string)))
5621 (home-page "https://github.com/jgm/highlighting-kate")
5622 (synopsis "Syntax highlighting library")
5623 (description
5624 "Highlighting-kate is a syntax highlighting library with support for
5625 nearly one hundred languages. The syntax parsers are automatically generated
5626 from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5627 supported by Kate can be added. An (optional) command-line program is
5628 provided, along with a utility for generating new parsers from Kate XML syntax
5629 descriptions.")
5630 (license license:gpl2+)))
5631
5632 (define-public ghc-cmark
5633 (package
5634 (name "ghc-cmark")
5635 (version "0.5.6")
5636 (source (origin
5637 (method url-fetch)
5638 ;; XXX As of version 0.5.6, this package bundles libcmark 0.28.0.
5639 ;; See cbits/cmark_version.h.
5640 (uri (string-append "https://hackage.haskell.org/package/"
5641 "cmark/cmark-" version ".tar.gz"))
5642 (sha256
5643 (base32
5644 "1c1j3a8b9qx5zk9myqm3gap8ymz7fipwrdmyfsq9wkkdr9x4np45"))))
5645 (build-system haskell-build-system)
5646 (inputs
5647 `(("ghc-text" ,ghc-text)))
5648 (native-inputs
5649 `(("ghc-hunit" ,ghc-hunit)))
5650 (home-page "https://github.com/jgm/commonmark-hs")
5651 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
5652 (description
5653 "This package provides Haskell bindings for
5654 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
5655 CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
5656 sources, and does not require prior installation of the C library.")
5657 (license license:bsd-3)))
5658
5659 (define-public ghc-cmark-gfm
5660 (package
5661 (name "ghc-cmark-gfm")
5662 (version "0.1.5")
5663 (source
5664 (origin
5665 (method url-fetch)
5666 (uri (string-append "https://hackage.haskell.org/package/"
5667 "cmark-gfm/cmark-gfm-"
5668 version ".tar.gz"))
5669 (sha256
5670 (base32
5671 "13b0mqks5c1q989slgsa3ixr5vvkfyic4ynzgv00kgl5qrs7hqk7"))))
5672 (build-system haskell-build-system)
5673 (inputs
5674 `(("ghc-text" ,ghc-text)))
5675 (native-inputs
5676 `(("ghc-hunit" ,ghc-hunit)))
5677 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
5678 (synopsis
5679 "Fast, accurate GitHub Flavored Markdown parser and renderer")
5680 (description
5681 "This package provides Haskell bindings for libcmark-gfm, the reference
5682 parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
5683 It includes sources for libcmark-gfm and does not require prior installation
5684 of the C library.")
5685 (license license:bsd-3)))
5686
5687 (define-public ghc-executable-path
5688 (package
5689 (name "ghc-executable-path")
5690 (version "0.0.3.1")
5691 (source (origin
5692 (method url-fetch)
5693 (uri (string-append "https://hackage.haskell.org/package/"
5694 "executable-path/executable-path-"
5695 version ".tar.gz"))
5696 (sha256
5697 (base32
5698 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
5699 (build-system haskell-build-system)
5700 (home-page "https://hackage.haskell.org/package/executable-path")
5701 (synopsis "Find out the full path of the executable")
5702 (description
5703 "The documentation of @code{System.Environment.getProgName} says that
5704 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
5705 instead, for maximum portability, we just return the leafname of the program
5706 as invoked.\" This library tries to provide the missing path.")
5707 (license license:public-domain)))
5708
5709 (define-public ghc-enclosed-exceptions
5710 (package
5711 (name "ghc-enclosed-exceptions")
5712 (version "1.0.3")
5713 (source (origin
5714 (method url-fetch)
5715 (uri (string-append "https://hackage.haskell.org/package/"
5716 "enclosed-exceptions/enclosed-exceptions-"
5717 version ".tar.gz"))
5718 (sha256
5719 (base32
5720 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
5721 (build-system haskell-build-system)
5722 ;; FIXME: one of the tests blocks forever:
5723 ;; "thread blocked indefinitely in an MVar operation"
5724 (arguments '(#:tests? #f))
5725 (inputs
5726 `(("ghc-lifted-base" ,ghc-lifted-base)
5727 ("ghc-monad-control" ,ghc-monad-control)
5728 ("ghc-async" ,ghc-async)
5729 ("ghc-transformers-base" ,ghc-transformers-base)))
5730 (native-inputs
5731 `(("ghc-hspec" ,ghc-hspec)
5732 ("ghc-quickcheck" ,ghc-quickcheck)))
5733 (home-page "https://github.com/jcristovao/enclosed-exceptions")
5734 (synopsis "Catch all exceptions from within an enclosed computation")
5735 (description
5736 "This library implements a technique to catch all exceptions raised
5737 within an enclosed computation, while remaining responsive to (external)
5738 asynchronous exceptions.")
5739 (license license:expat)))
5740
5741 (define-public ghc-packedstring
5742 (package
5743 (name "ghc-packedstring")
5744 (version "0.1.0.1")
5745 (source (origin
5746 (method url-fetch)
5747 (uri (string-append "https://hackage.haskell.org/package/"
5748 "packedstring/packedstring-"
5749 version ".tar.gz"))
5750 (sha256
5751 (base32
5752 "1x78pzzdlnpcmh9p37rlf8m5cxf3yqm2alf3whl4zpr9w25r0qj8"))))
5753 (build-system haskell-build-system)
5754 (arguments
5755 `(#:phases
5756 (modify-phases %standard-phases
5757 (add-after 'unpack 'enable-extension
5758 (lambda _
5759 ;; This package won't compile without the StandaloneDeriving
5760 ;; extension.
5761 (substitute* "packedstring.cabal"
5762 (("CPP") "CPP, StandaloneDeriving"))
5763 #t)))))
5764 (home-page "https://hackage.haskell.org/package/packedstring")
5765 (synopsis "Library for packed strings")
5766 (description
5767 "This deprecated library provides an implementation of packed strings.")
5768 (license license:bsd-3)))
5769
5770 (define-public ghc-th-abstraction
5771 (package
5772 (name "ghc-th-abstraction")
5773 (version "0.2.8.0")
5774 (source
5775 (origin
5776 (method url-fetch)
5777 (uri (string-append "https://hackage.haskell.org/package/"
5778 "th-abstraction/th-abstraction-"
5779 version ".tar.gz"))
5780 (sha256
5781 (base32
5782 "0n17w4q2ykd0nica4sck2wng6md56rfad8x0icl0l8vnzb9nn4ya"))))
5783 (build-system haskell-build-system)
5784 (home-page "https://github.com/glguy/th-abstraction")
5785 (synopsis "Nicer interface for reified information about data types")
5786 (description
5787 "This package normalizes variations in the interface for inspecting
5788 datatype information via Template Haskell so that packages and support a
5789 single, easier to use informational datatype while supporting many versions of
5790 Template Haskell.")
5791 (license license:isc)))
5792
5793 (define-public ghc-th-lift
5794 (package
5795 (name "ghc-th-lift")
5796 (version "0.7.11")
5797 (source (origin
5798 (method url-fetch)
5799 (uri (string-append "https://hackage.haskell.org/package/"
5800 "th-lift/th-lift-" version ".tar.gz"))
5801 (sha256
5802 (base32
5803 "131360zxb0hazbqwbkk6ab2p77jkxr79bwwm618mrwrwkm3x2g6m"))))
5804 (build-system haskell-build-system)
5805 (inputs
5806 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
5807 (home-page "https://github.com/mboes/th-lift")
5808 (synopsis "Derive Template Haskell's Lift class for datatypes")
5809 (description
5810 "This is a Haskell library to derive Template Haskell's Lift class for
5811 datatypes.")
5812 (license license:bsd-3)))
5813
5814 (define-public ghc-th-lift-instances
5815 (package
5816 (name "ghc-th-lift-instances")
5817 (version "0.1.11")
5818 (source
5819 (origin
5820 (method url-fetch)
5821 (uri (string-append "https://hackage.haskell.org/package/"
5822 "th-lift-instances/th-lift-instances-"
5823 version ".tar.gz"))
5824 (sha256
5825 (base32
5826 "1f56cp6ckcalld5jchv0kxpjkwcsixd7smd0g7r8cg67ppx6m90x"))))
5827 (build-system haskell-build-system)
5828 (inputs
5829 `(("ghc-th-lift" ,ghc-th-lift)
5830 ("ghc-vector" ,ghc-vector)
5831 ("ghc-text" ,ghc-text)
5832 ("ghc-quickcheck" ,ghc-quickcheck)))
5833 (home-page "https://github.com/bennofs/th-lift-instances/")
5834 (synopsis "Lift instances for template-haskell for common data types.")
5835 (description "Most data types in the Haskell platform do not have Lift
5836 instances. This package provides orphan instances for @code{containers},
5837 @code{text}, @code{bytestring} and @code{vector}.")
5838 (license license:bsd-3)))
5839
5840 (define-public ghc-th-expand-syns
5841 (package
5842 (name "ghc-th-expand-syns")
5843 (version "0.4.4.0")
5844 (source (origin
5845 (method url-fetch)
5846 (uri (string-append "https://hackage.haskell.org/package/"
5847 "th-expand-syns/th-expand-syns-"
5848 version ".tar.gz"))
5849 (sha256
5850 (base32
5851 "01prlvh3py5hq5ccjidfyp9ixq2zd88dkbsidyjrpkja6v8m43yc"))))
5852 (build-system haskell-build-system)
5853 (inputs
5854 `(("ghc-syb" ,ghc-syb)))
5855 (home-page "https://hackage.haskell.org/package/th-expand-syns")
5856 (synopsis "Expands type synonyms in Template Haskell ASTs")
5857 (description
5858 "This package enables users to expand type synonyms in Template Haskell
5859 @dfn{abstract syntax trees} (ASTs).")
5860 (license license:bsd-3)))
5861
5862 (define-public ghc-th-reify-many
5863 (package
5864 (name "ghc-th-reify-many")
5865 (version "0.1.8")
5866 (source (origin
5867 (method url-fetch)
5868 (uri (string-append "https://hackage.haskell.org/package/"
5869 "th-reify-many/th-reify-many-"
5870 version ".tar.gz"))
5871 (sha256
5872 (base32
5873 "0hzy6hvhvcd6i60vx5cp2b7ggmnnjh9rx4h8bm8xw4grglcaxjnf"))))
5874 (build-system haskell-build-system)
5875 (inputs
5876 `(("ghc-safe" ,ghc-safe)
5877 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
5878 (home-page "https://github.com/mgsloan/th-reify-many")
5879 (synopsis "Recurseively reify template haskell datatype info")
5880 (description
5881 "th-reify-many provides functions for recursively reifying top level
5882 declarations. The main intended use case is for enumerating the names of
5883 datatypes reachable from an initial datatype, and passing these names to some
5884 function which generates instances.")
5885 (license license:bsd-3)))
5886
5887 (define-public ghc-th-orphans
5888 (package
5889 (name "ghc-th-orphans")
5890 (version "0.13.2")
5891 (source (origin
5892 (method url-fetch)
5893 (uri (string-append "https://hackage.haskell.org/package/"
5894 "th-orphans/th-orphans-" version ".tar.gz"))
5895 (sha256
5896 (base32
5897 "0102vkyzpgnp2fys8pvw4khrhrh2y1b8dp1slgvn020vg4s351mc"))))
5898 (build-system haskell-build-system)
5899 (inputs
5900 `(("ghc-th-lift" ,ghc-th-lift)
5901 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
5902 ("ghc-th-reify-many" ,ghc-th-reify-many)
5903 ("ghc-generic-deriving" ,ghc-generic-deriving)))
5904 (native-inputs
5905 `(("ghc-hspec" ,ghc-hspec)))
5906 (home-page "https://hackage.haskell.org/package/th-orphans")
5907 (synopsis "Orphan instances for TH datatypes")
5908 (description
5909 "This package provides orphan instances for Template Haskell datatypes. In particular,
5910 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
5911 and @code{Eq} instances. These instances used to live in the haskell-src-meta
5912 package, and that's where the version number started.")
5913 (license license:bsd-3)))
5914
5915 (define-public ghc-geniplate-mirror
5916 (package
5917 (name "ghc-geniplate-mirror")
5918 (version "0.7.6")
5919 (source
5920 (origin
5921 (method url-fetch)
5922 (uri (string-append "https://hackage.haskell.org/package"
5923 "/geniplate-mirror"
5924 "/geniplate-mirror-" version ".tar.gz"))
5925 (sha256
5926 (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb"))))
5927 (build-system haskell-build-system)
5928 (home-page "https://github.com/danr/geniplate")
5929 (synopsis "Use Template Haskell to generate Uniplate-like functions")
5930 (description
5931 "Use Template Haskell to generate Uniplate-like functions. This is a
5932 maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
5933 geniplate} package, written by Lennart Augustsson.")
5934 (license license:bsd-3)))
5935
5936 (define-public ghc-gitrev
5937 (package
5938 (name "ghc-gitrev")
5939 (version "1.3.1")
5940 (source
5941 (origin
5942 (method url-fetch)
5943 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
5944 version ".tar.gz"))
5945 (sha256
5946 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
5947 (build-system haskell-build-system)
5948 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
5949 (home-page "https://github.com/acfoltzer/gitrev")
5950 (synopsis "Compile git revision info into Haskell projects")
5951 (description
5952 "This package provides some handy Template Haskell splices for including
5953 the current git hash and branch in the code of your project. This is useful
5954 for including in panic messages, @command{--version} output, or diagnostic
5955 info for more informative bug reports.")
5956 (license license:bsd-3)))
5957
5958 (define-public ghc-haskell-src-meta
5959 (package
5960 (name "ghc-haskell-src-meta")
5961 (version "0.8.0.2")
5962 (source (origin
5963 (method url-fetch)
5964 (uri (string-append "https://hackage.haskell.org/package/"
5965 "haskell-src-meta/haskell-src-meta-"
5966 version ".tar.gz"))
5967 (sha256
5968 (base32
5969 "12rc4v5dbbbcwdp7j8isvnm9vqpazv124j5kdfwlgwgwjhxi8ysb"))))
5970 (build-system haskell-build-system)
5971 (inputs
5972 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5973 ("ghc-syb" ,ghc-syb)
5974 ("ghc-th-orphans" ,ghc-th-orphans)))
5975 (native-inputs
5976 `(("ghc-hunit" ,ghc-hunit)
5977 ("ghc-test-framework" ,ghc-test-framework)
5978 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5979 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5980 (synopsis "Parse source to template-haskell abstract syntax")
5981 (description
5982 "This package provides tools to parse Haskell sources to the
5983 template-haskell abstract syntax.")
5984 (license license:bsd-3)))
5985
5986 (define-public ghc-conduit
5987 (package
5988 (name "ghc-conduit")
5989 (version "1.3.0.3")
5990 (source (origin
5991 (method url-fetch)
5992 (uri (string-append "https://hackage.haskell.org/package/"
5993 "conduit/conduit-" version ".tar.gz"))
5994 (sha256
5995 (base32
5996 "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v"))))
5997 (build-system haskell-build-system)
5998 (inputs
5999 `(("ghc-exceptions" ,ghc-exceptions)
6000 ("ghc-lifted-base" ,ghc-lifted-base)
6001 ("ghc-mono-traversable" ,ghc-mono-traversable)
6002 ("ghc-mmorph" ,ghc-mmorph)
6003 ("ghc-resourcet" ,ghc-resourcet)
6004 ("ghc-silently" ,ghc-silently)
6005 ("ghc-transformers-base" ,ghc-transformers-base)
6006 ("ghc-unliftio" ,ghc-unliftio)
6007 ("ghc-unliftio-core" ,ghc-unliftio-core)
6008 ("ghc-vector" ,ghc-vector)
6009 ("ghc-void" ,ghc-void)))
6010 (native-inputs
6011 `(("ghc-quickcheck" ,ghc-quickcheck)
6012 ("ghc-hspec" ,ghc-hspec)
6013 ("ghc-safe" ,ghc-safe)
6014 ("ghc-split" ,ghc-split)))
6015 (home-page "https://github.com/snoyberg/conduit")
6016 (synopsis "Streaming data library ")
6017 (description
6018 "The conduit package is a solution to the streaming data problem,
6019 allowing for production, transformation, and consumption of streams of data
6020 in constant memory. It is an alternative to lazy I/O which guarantees
6021 deterministic resource handling, and fits in the same general solution
6022 space as enumerator/iteratee and pipes.")
6023 (license license:expat)))
6024
6025 (define-public ghc-logging-facade
6026 (package
6027 (name "ghc-logging-facade")
6028 (version "0.3.0")
6029 (source (origin
6030 (method url-fetch)
6031 (uri (string-append "https://hackage.haskell.org/package/"
6032 "logging-facade/logging-facade-"
6033 version ".tar.gz"))
6034 (sha256
6035 (base32
6036 "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf"))))
6037 (build-system haskell-build-system)
6038 (native-inputs
6039 `(("ghc-hspec" ,ghc-hspec)
6040 ("hspec-discover" ,hspec-discover)))
6041 (home-page "https://hackage.haskell.org/package/logging-facade")
6042 (synopsis "Simple logging abstraction that allows multiple back-ends")
6043 (description
6044 "This package provides a simple logging abstraction that allows multiple
6045 back-ends.")
6046 (license license:expat)))
6047
6048 (define-public ghc-mockery
6049 (package
6050 (name "ghc-mockery")
6051 (version "0.3.3")
6052 (source (origin
6053 (method url-fetch)
6054 (uri (string-append "https://hackage.haskell.org/package/"
6055 "mockery/mockery-" version ".tar.gz"))
6056 (sha256
6057 (base32
6058 "1m7sq2vclgir3qbpngzl3g87ks4034blwwf7p3h02c0jlcwpl5b1"))))
6059 (build-system haskell-build-system)
6060 (inputs
6061 `(("ghc-temporary" ,ghc-temporary)
6062 ("ghc-logging-facade" ,ghc-logging-facade)
6063 ("ghc-base-compat" ,ghc-base-compat)))
6064 (native-inputs
6065 `(("ghc-hspec" ,ghc-hspec)
6066 ("hspec-discover" ,hspec-discover)))
6067 (home-page "https://hackage.haskell.org/package/mockery")
6068 (synopsis "Support functions for automated testing")
6069 (description
6070 "The mockery package provides support functions for automated testing.")
6071 (license license:expat)))
6072
6073 (define-public ghc-yaml
6074 (package
6075 (name "ghc-yaml")
6076 (version "0.8.28")
6077 (source (origin
6078 (method url-fetch)
6079 (uri (string-append "https://hackage.haskell.org/package/"
6080 "yaml/yaml-" version ".tar.gz"))
6081 (sha256
6082 (base32
6083 "0swgkzkfrwj0ac7lssn8rnrdfmh3lcsdn5fbq2iwv55di6jbc0pp"))))
6084 (build-system haskell-build-system)
6085 (inputs
6086 `(("ghc-conduit" ,ghc-conduit)
6087 ("ghc-resourcet" ,ghc-resourcet)
6088 ("ghc-aeson" ,ghc-aeson)
6089 ("ghc-unordered-containers" ,ghc-unordered-containers)
6090 ("ghc-vector" ,ghc-vector)
6091 ("ghc-text" ,ghc-text)
6092 ("ghc-attoparsec" ,ghc-attoparsec)
6093 ("ghc-scientific" ,ghc-scientific)
6094 ("ghc-semigroups" ,ghc-semigroups)
6095 ("ghc-temporary" ,ghc-temporary)
6096 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
6097 ("ghc-base-compat" ,ghc-base-compat)))
6098 (native-inputs
6099 `(("ghc-hspec" ,ghc-hspec)
6100 ("ghc-hunit" ,ghc-hunit)
6101 ("hspec-discover" ,hspec-discover)
6102 ("ghc-mockery" ,ghc-mockery)))
6103 (home-page "https://github.com/snoyberg/yaml/")
6104 (synopsis "Parsing and rendering YAML documents")
6105 (description
6106 "This package provides a library to parse and render YAML documents.")
6107 (license license:bsd-3)))
6108
6109 (define-public ghc-yaml-for-pandoc-1
6110 (package (inherit ghc-yaml)
6111 (inputs
6112 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6113 ,@(alist-delete "ghc-aeson" (package-inputs ghc-yaml))))))
6114
6115 (define-public ghc-filemanip
6116 (package
6117 (name "ghc-filemanip")
6118 (version "0.3.6.3")
6119 (source (origin
6120 (method url-fetch)
6121 (uri (string-append "https://hackage.haskell.org/package/"
6122 "filemanip/filemanip-" version ".tar.gz"))
6123 (sha256
6124 (base32
6125 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
6126 (build-system haskell-build-system)
6127 (inputs
6128 `(("ghc-unix-compat" ,ghc-unix-compat)))
6129 (home-page "https://github.com/bos/filemanip")
6130 (synopsis "File and directory manipulation for Haskell")
6131 (description
6132 "This package provides a Haskell library for working with files and
6133 directories. It includes code for pattern matching, finding files, modifying
6134 file contents, and more.")
6135 (license license:bsd-3)))
6136
6137 (define-public ghc-mmap
6138 (package
6139 (name "ghc-mmap")
6140 (version "0.5.9")
6141 (source (origin
6142 (method url-fetch)
6143 (uri (string-append "https://hackage.haskell.org/package/"
6144 "mmap/mmap-" version ".tar.gz"))
6145 (sha256
6146 (base32
6147 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
6148 (build-system haskell-build-system)
6149 (home-page "https://hackage.haskell.org/package/mmap")
6150 (synopsis "Memory mapped files for Haskell")
6151 (description
6152 "This library provides a wrapper to @code{mmap}, allowing files or
6153 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
6154 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
6155 do on-demand loading.")
6156 (license license:bsd-3)))
6157
6158 (define-public ghc-juicypixels
6159 (package
6160 (name "ghc-juicypixels")
6161 (version "3.2.9.5")
6162 (source (origin
6163 (method url-fetch)
6164 (uri (string-append "https://hackage.haskell.org/package/"
6165 "JuicyPixels/JuicyPixels-"
6166 version ".tar.gz"))
6167 (sha256
6168 (base32
6169 "0mf3ihr0xy2wc2wzb9a17g0n3p60x7pvm8akwpvhdy8klvs6r744"))))
6170 (build-system haskell-build-system)
6171 (inputs
6172 `(("ghc-zlib" ,ghc-zlib)
6173 ("ghc-vector" ,ghc-vector)
6174 ("ghc-primitive" ,ghc-primitive)
6175 ("ghc-mmap" ,ghc-mmap)))
6176 (home-page "https://github.com/Twinside/Juicy.Pixels")
6177 (synopsis "Picture loading and serialization library")
6178 (description
6179 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
6180 TIFF and GIF formats.")
6181 (license license:bsd-3)))
6182
6183 (define-public ghc-hslua
6184 (package
6185 (name "ghc-hslua")
6186 (version "0.9.5")
6187 (source (origin
6188 (method url-fetch)
6189 (uri (string-append "https://hackage.haskell.org/package/"
6190 "hslua/hslua-" version ".tar.gz"))
6191 (sha256
6192 (base32
6193 "1j2zk7f7nyywg2b0n6kb2yf6ljc7cn2sk9jz0h76g3ag2b70l12n"))))
6194 (build-system haskell-build-system)
6195 (arguments
6196 `(#:configure-flags '("-fsystem-lua")))
6197 (inputs
6198 `(("lua" ,lua)
6199 ("ghc-exceptions" ,ghc-exceptions)
6200 ("ghc-fail" ,ghc-fail)
6201 ("ghc-text" ,ghc-text)))
6202 (native-inputs
6203 `(("ghc-tasty" ,ghc-tasty)
6204 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
6205 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6206 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6207 ("ghc-quickcheck" ,ghc-quickcheck)
6208 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
6209 (home-page "https://hackage.haskell.org/package/hslua")
6210 (synopsis "Lua language interpreter embedding in Haskell")
6211 (description
6212 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
6213 described in @url{https://www.lua.org/}.")
6214 (license license:expat)))
6215
6216 (define-public ghc-hslua-for-pandoc-1
6217 (package (inherit ghc-hslua)
6218 (version "0.4.1")
6219 (source (origin
6220 (method url-fetch)
6221 (uri (string-append "https://hackage.haskell.org/package/"
6222 "hslua/hslua-" version ".tar.gz"))
6223 (sha256
6224 (base32
6225 "0gqp6qhp4v24kzv2j49kgk7bxqzw0w10x0zr0r2j9wkfavqb9wid"))))
6226 (inputs
6227 `(("lua" ,lua-5.1)
6228 ("ghc-text" ,ghc-text)))
6229 (native-inputs
6230 `(("ghc-quickcheck" ,ghc-quickcheck)
6231 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6232 ("ghc-hspec" ,ghc-hspec)
6233 ("ghc-hspec-contrib" ,ghc-hspec-contrib)
6234 ("ghc-hunit" ,ghc-hunit)
6235 ("hspec-discover" ,hspec-discover)))))
6236
6237 (define-public ghc-hslua-module-text
6238 (package
6239 (name "ghc-hslua-module-text")
6240 (version "0.1.2.1")
6241 (source
6242 (origin
6243 (method url-fetch)
6244 (uri (string-append "https://hackage.haskell.org/package/"
6245 "hslua-module-text/hslua-module-text-"
6246 version ".tar.gz"))
6247 (sha256
6248 (base32
6249 "0bcfpb1dhnxp0gr376ai4w7vczr9zrjl1r3r6w7kcxivfkwq9cxf"))))
6250 (build-system haskell-build-system)
6251 (inputs
6252 `(("ghc-hslua" ,ghc-hslua)
6253 ("ghc-text" ,ghc-text)))
6254 (native-inputs
6255 `(("ghc-tasty" ,ghc-tasty)
6256 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6257 (home-page "https://github.com/hslua/hslua-module-text")
6258 (synopsis "Lua module for text")
6259 (description
6260 "This package provides a UTF-8 aware subset of Lua's @code{string} module
6261 for Haskell. The functions provided by this module are @code{upper},
6262 @code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
6263 (license license:expat)))
6264
6265 (define-public ghc-byteable
6266 (package
6267 (name "ghc-byteable")
6268 (version "0.1.1")
6269 (source (origin
6270 (method url-fetch)
6271 (uri (string-append "https://hackage.haskell.org/package/"
6272 "byteable/byteable-" version ".tar.gz"))
6273 (sha256
6274 (base32
6275 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
6276 (build-system haskell-build-system)
6277 (home-page "https://github.com/vincenthz/hs-byteable")
6278 (synopsis "Type class for sequence of bytes")
6279 (description
6280 "This package provides an abstract class to manipulate sequence of bytes.
6281 The use case of this class is abstracting manipulation of types that are just
6282 wrapping a bytestring with stronger and more meaniful name.")
6283 (license license:bsd-3)))
6284
6285 (define-public ghc-hourglass
6286 (package
6287 (name "ghc-hourglass")
6288 (version "0.2.12")
6289 (source (origin
6290 (method url-fetch)
6291 (uri (string-append "https://hackage.haskell.org/package/"
6292 "hourglass/hourglass-" version ".tar.gz"))
6293 (sha256
6294 (base32
6295 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
6296 (build-system haskell-build-system)
6297 (inputs
6298 `(("ghc-old-locale" ,ghc-old-locale)))
6299 (native-inputs
6300 `(("ghc-tasty" ,ghc-tasty)
6301 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6302 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6303 (home-page "https://github.com/vincenthz/hs-hourglass")
6304 (synopsis "Simple time-related library for Haskell")
6305 (description
6306 "This is a simple time library providing a simple but powerful and
6307 performant API. The backbone of the library are the @code{Timeable} and
6308 @code{Time} type classes. Each @code{Timeable} instances can be converted to
6309 a type that has a @code{Time} instances, and thus are different
6310 representations of current time.")
6311 (license license:bsd-3)))
6312
6313 (define-public ghc-edit-distance
6314 (package
6315 (name "ghc-edit-distance")
6316 (version "0.2.2.1")
6317 (source
6318 (origin
6319 (method url-fetch)
6320 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
6321 "/edit-distance-" version ".tar.gz"))
6322 (sha256
6323 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
6324 (build-system haskell-build-system)
6325 (arguments
6326 `(#:phases
6327 (modify-phases %standard-phases
6328 (add-before 'configure 'update-constraints
6329 (lambda _
6330 (substitute* "edit-distance.cabal"
6331 (("QuickCheck >= 2\\.4 && <2\\.9")
6332 "QuickCheck >= 2.4 && < 2.12")))))))
6333 (inputs
6334 `(("ghc-random" ,ghc-random)
6335 ("ghc-test-framework" ,ghc-test-framework)
6336 ("ghc-quickcheck" ,ghc-quickcheck)
6337 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6338 (home-page "https://github.com/phadej/edit-distance")
6339 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
6340 (description
6341 "This package provides optimized functions to determine the edit
6342 distances for fuzzy matching, including Levenshtein and restricted
6343 Damerau-Levenshtein algorithms.")
6344 (license license:bsd-3)))
6345
6346 (define-public ghc-memory
6347 (package
6348 (name "ghc-memory")
6349 (version "0.14.16")
6350 (source (origin
6351 (method url-fetch)
6352 (uri (string-append "https://hackage.haskell.org/package/"
6353 "memory/memory-" version ".tar.gz"))
6354 (sha256
6355 (base32
6356 "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v"))))
6357 (build-system haskell-build-system)
6358 (inputs
6359 `(("ghc-basement" ,ghc-basement)
6360 ("ghc-foundation" ,ghc-foundation)))
6361 (native-inputs
6362 `(("ghc-tasty" ,ghc-tasty)
6363 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6364 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6365 (home-page "https://github.com/vincenthz/hs-memory")
6366 (synopsis "Memory abstractions for Haskell")
6367 (description
6368 "This package provides memory abstractions, such as chunk of memory,
6369 polymorphic byte array management and manipulation functions. It contains a
6370 polymorphic byte array abstraction and functions similar to strict ByteString,
6371 different type of byte array abstraction, raw memory IO operations (memory
6372 set, memory copy, ..) and more")
6373 (license license:bsd-3)))
6374
6375 (define-public ghc-socks
6376 (package
6377 (name "ghc-socks")
6378 (version "0.5.5")
6379 (source (origin
6380 (method url-fetch)
6381 (uri (string-append "https://hackage.haskell.org/package/"
6382 "socks/socks-" version ".tar.gz"))
6383 (sha256
6384 (base32
6385 "0s689w1hh9g8ifl75xhzbv96ir07hwn04b4lgvbxzl8swa9ylir6"))))
6386 (build-system haskell-build-system)
6387 (inputs
6388 `(("ghc-cereal" ,ghc-cereal)
6389 ("ghc-network" ,ghc-network)))
6390 (home-page "https://github.com/vincenthz/hs-socks")
6391 (synopsis "SOCKS proxy (version 5) implementation")
6392 (description
6393 "This library provides a SOCKS proxy (version 5) implementation.")
6394 (license license:bsd-3)))
6395
6396 (define-public ghc-connection
6397 (package
6398 (name "ghc-connection")
6399 (version "0.2.6")
6400 (source (origin
6401 (method url-fetch)
6402 (uri (string-append "https://hackage.haskell.org/package/"
6403 "connection/connection-"
6404 version ".tar.gz"))
6405 (sha256
6406 (base32
6407 "1c1prsgad669cmf6qrqlb5hmh0dnam2imijqzpwcr4ja14l6rh83"))))
6408 (build-system haskell-build-system)
6409 (inputs
6410 `(("ghc-byteable" ,ghc-byteable)
6411 ("ghc-data-default-class" ,ghc-data-default-class)
6412 ("ghc-network" ,ghc-network)
6413 ("ghc-tls" ,ghc-tls)
6414 ("ghc-socks" ,ghc-socks)
6415 ("ghc-x509" ,ghc-x509)
6416 ("ghc-x509-store" ,ghc-x509-store)
6417 ("ghc-x509-system" ,ghc-x509-system)
6418 ("ghc-x509-validation" ,ghc-x509-validation)))
6419 (home-page "https://github.com/vincenthz/hs-connection")
6420 (synopsis "Simple and easy network connections API")
6421 (description
6422 "This package provides a simple network library for all your connection
6423 needs. It provides a very simple API to create sockets to a destination with
6424 the choice of SSL/TLS, and SOCKS.")
6425 (license license:bsd-3)))
6426
6427 (define-public ghc-skylighting
6428 (package
6429 (name "ghc-skylighting")
6430 (version "0.5.1")
6431 (source (origin
6432 (method url-fetch)
6433 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
6434 version "/skylighting-" version ".tar.gz"))
6435 (sha256
6436 (base32
6437 "0l5lhhqqlfaq1fs7pn3n3b25kmazk8p4ahwvhagbrhcbm5hsigdg"))))
6438 (build-system haskell-build-system)
6439 (inputs
6440 `(("ghc-aeson" ,ghc-aeson)
6441 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6442 ("ghc-attoparsec" ,ghc-attoparsec)
6443 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6444 ("ghc-blaze-html" ,ghc-blaze-html)
6445 ("ghc-case-insensitive" ,ghc-case-insensitive)
6446 ("ghc-colour" ,ghc-colour)
6447 ("ghc-diff" ,ghc-diff)
6448 ("ghc-hxt" ,ghc-hxt)
6449 ("ghc-pretty-show" ,ghc-pretty-show)
6450 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6451 ("ghc-safe" ,ghc-safe)
6452 ("ghc-text" ,ghc-text)
6453 ("ghc-utf8-string" ,ghc-utf8-string)))
6454 (native-inputs
6455 `(("ghc-hunit" ,ghc-hunit)
6456 ("ghc-quickcheck" ,ghc-quickcheck)
6457 ("ghc-tasty" ,ghc-tasty)
6458 ("ghc-tasty-golden" ,ghc-tasty-golden)
6459 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6460 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6461 (home-page "https://hackage.haskell.org/package/skylighting")
6462 (synopsis "Syntax highlighting library")
6463 (description "Skylighting is a syntax highlighting library with support
6464 for over one hundred languages. It derives its tokenizers from XML syntax
6465 definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
6466 supported by that framework can be added. An optional command-line program is
6467 provided. Skylighting is intended to be the successor to highlighting-kate.")
6468 (license license:gpl2)))
6469
6470 (define-public ghc-skylighting-for-pandoc-1
6471 (package (inherit ghc-skylighting)
6472 (version "0.1.1.5")
6473 (source (origin
6474 (method git-fetch)
6475 ;; We take the sources from Github, because the tarball on
6476 ;; hackage does not include the XML files.
6477 (uri (git-reference
6478 (url "https://github.com/jgm/skylighting.git")
6479 (commit version)))
6480 (file-name (string-append "ghc-skylighting-" version "-checkout"))
6481 (sha256
6482 (base32
6483 "0z3yv8v2fqqgv6lsf0ff3ld0h2vkg97b2jiry9wn2f1rizwdqmzl"))))
6484 (arguments
6485 `(#:configure-flags '("-fbootstrap")
6486 #:phases
6487 (modify-phases %standard-phases
6488 ;; After building the skylighting-extract tool we use it to generate
6489 ;; syntax source files from the included XML files. These are then
6490 ;; added to the skylighting.cabal file.
6491 (add-after 'build 'extract-xml
6492 (lambda _
6493 (make-file-writable "skylighting.cabal")
6494 (apply invoke "./dist/build/skylighting-extract/skylighting-extract"
6495 (find-files "xml" "\\.xml$"))
6496 #t))
6497 ;; Reconfigure without bootstrap flag
6498 (add-after 'extract-xml 'configure-again
6499 (lambda* (#:key outputs inputs tests? #:allow-other-keys)
6500 ((assoc-ref %standard-phases 'configure)
6501 #:outputs outputs
6502 #:inputs inputs
6503 #:tests? tests?
6504 #:configure-flags '("-f-bootstrap"))))
6505 (add-after 'configure-again 'build-again
6506 (assoc-ref %standard-phases 'build)))))
6507 (inputs
6508 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6509 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6510 ("ghc-blaze-html" ,ghc-blaze-html)
6511 ("ghc-case-insensitive" ,ghc-case-insensitive)
6512 ("ghc-diff" ,ghc-diff)
6513 ("ghc-hxt" ,ghc-hxt)
6514 ("ghc-pretty-show" ,ghc-pretty-show)
6515 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6516 ("ghc-safe" ,ghc-safe)
6517 ("ghc-text" ,ghc-text)
6518 ("ghc-utf8-string" ,ghc-utf8-string)))))
6519
6520 (define-public ghc-doctemplates
6521 (package
6522 (name "ghc-doctemplates")
6523 (version "0.2.1")
6524 (source
6525 (origin
6526 (method url-fetch)
6527 (uri (string-append "https://hackage.haskell.org/package/"
6528 "doctemplates/doctemplates-"
6529 version ".tar.gz"))
6530 (sha256
6531 (base32
6532 "1bfs2kl5j5al2w2y4qpbn68p0xsnb65r7h51l356kpkzc326646p"))))
6533 (build-system haskell-build-system)
6534 (inputs
6535 `(("ghc-aeson" ,ghc-aeson)
6536 ("ghc-blaze-markup" ,ghc-blaze-markup)
6537 ("ghc-blaze-html" ,ghc-blaze-html)
6538 ("ghc-text" ,ghc-text)
6539 ("ghc-vector" ,ghc-vector)
6540 ("ghc-parsec" ,ghc-parsec)
6541 ("ghc-unordered-containers" ,ghc-unordered-containers)
6542 ("ghc-scientific" ,ghc-scientific)))
6543 (native-inputs
6544 `(("ghc-hspec" ,ghc-hspec)))
6545 (home-page "https://github.com/jgm/doctemplates#readme")
6546 (synopsis "Pandoc-style document templates")
6547 (description
6548 "This package provides a simple text templating system used by pandoc.")
6549 (license license:bsd-3)))
6550
6551 (define-public ghc-doctemplates-for-pandoc-1
6552 (package (inherit ghc-doctemplates)
6553 (version "0.1.0.2")
6554 (source
6555 (origin
6556 (method url-fetch)
6557 (uri (string-append "https://hackage.haskell.org/package/"
6558 "doctemplates/doctemplates-"
6559 version ".tar.gz"))
6560 (sha256
6561 (base32
6562 "0swal6rjya1293mwvl63jch5fx9ghpsil7qs4v7rpansa0izalmp"))))
6563 (build-system haskell-build-system)
6564 (inputs
6565 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6566 ("ghc-blaze-markup" ,ghc-blaze-markup)
6567 ("ghc-blaze-html" ,ghc-blaze-html)
6568 ("ghc-text" ,ghc-text)
6569 ("ghc-vector" ,ghc-vector)
6570 ("ghc-parsec" ,ghc-parsec)
6571 ("ghc-unordered-containers" ,ghc-unordered-containers)
6572 ("ghc-scientific" ,ghc-scientific)))))
6573
6574 (define-public ghc-pandoc
6575 (package
6576 (name "ghc-pandoc")
6577 (version "2.2.1")
6578 (source
6579 (origin
6580 (method url-fetch)
6581 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6582 version ".tar.gz"))
6583 (sha256
6584 (base32
6585 "1dqin92w513l7whg5wdgrngnxsj5mb8gppfvn7kjgyv2pdgpy0zy"))))
6586 (build-system haskell-build-system)
6587 (inputs
6588 `(("ghc-aeson" ,ghc-aeson)
6589 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6590 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6591 ("ghc-blaze-html" ,ghc-blaze-html)
6592 ("ghc-blaze-markup" ,ghc-blaze-markup)
6593 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
6594 ("ghc-data-default" ,ghc-data-default)
6595 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6596 ("ghc-diff" ,ghc-diff)
6597 ("ghc-doctemplates" ,ghc-doctemplates)
6598 ("ghc-executable-path" ,ghc-executable-path)
6599 ("ghc-glob" ,ghc-glob)
6600 ("ghc-haddock-library" ,ghc-haddock-library)
6601 ("ghc-hslua" ,ghc-hslua)
6602 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
6603 ("ghc-http" ,ghc-http)
6604 ("ghc-http-client" ,ghc-http-client)
6605 ("ghc-http-client-tls" ,ghc-http-client-tls)
6606 ("ghc-http-types" ,ghc-http-types)
6607 ("ghc-juicypixels" ,ghc-juicypixels)
6608 ("ghc-network" ,ghc-network)
6609 ("ghc-network-uri" ,ghc-network-uri)
6610 ("ghc-old-locale" ,ghc-old-locale)
6611 ("ghc-pandoc-types" ,ghc-pandoc-types)
6612 ("ghc-parsec" ,ghc-parsec)
6613 ("ghc-random" ,ghc-random)
6614 ("ghc-scientific" ,ghc-scientific)
6615 ("ghc-sha" ,ghc-sha)
6616 ("ghc-skylighting" ,ghc-skylighting)
6617 ("ghc-split" ,ghc-split)
6618 ("ghc-syb" ,ghc-syb)
6619 ("ghc-tagsoup" ,ghc-tagsoup)
6620 ("ghc-temporary" ,ghc-temporary)
6621 ("ghc-texmath" ,ghc-texmath)
6622 ("ghc-text" ,ghc-text)
6623 ("ghc-unordered-containers" ,ghc-unordered-containers)
6624 ("ghc-vector" ,ghc-vector)
6625 ("ghc-xml" ,ghc-xml)
6626 ("ghc-yaml" ,ghc-yaml)
6627 ("ghc-zip-archive" ,ghc-zip-archive)
6628 ("ghc-zlib" ,ghc-zlib)))
6629 (native-inputs
6630 `(("ghc-tasty" ,ghc-tasty)
6631 ("ghc-tasty-golden" ,ghc-tasty-golden)
6632 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6633 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6634 ("ghc-quickcheck" ,ghc-quickcheck)
6635 ("ghc-hunit" ,ghc-hunit)))
6636 (home-page "https://pandoc.org")
6637 (synopsis "Conversion between markup formats")
6638 (description
6639 "Pandoc is a Haskell library for converting from one markup format to
6640 another, and a command-line tool that uses this library. It can read and
6641 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
6642 LaTeX, DocBook, and many more.
6643
6644 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
6645 definition lists, tables, and other features. A compatibility mode is
6646 provided for those who need a drop-in replacement for Markdown.pl.")
6647 (license license:gpl2+)))
6648
6649 ;; This is the last version of Pandoc 1.x, which is preferred for Rmarkdown.
6650 (define-public ghc-pandoc-1
6651 (package (inherit ghc-pandoc)
6652 (version "1.19.2.4")
6653 (source
6654 (origin
6655 (method url-fetch)
6656 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6657 version ".tar.gz"))
6658 (sha256
6659 (base32
6660 "0mim429mpakrcnm50csxyqk3ljcx2l26r5grk6w9isnggwgqrq5v"))))
6661 (arguments
6662 `(#:configure-flags (list "--allow-newer=skylighting")))
6663 (inputs
6664 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6665 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6666 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6667 ("ghc-blaze-html" ,ghc-blaze-html)
6668 ("ghc-blaze-markup" ,ghc-blaze-markup)
6669 ("ghc-cmark" ,ghc-cmark)
6670 ("ghc-data-default" ,ghc-data-default)
6671 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6672 ("ghc-diff" ,ghc-diff)
6673 ("ghc-doctemplates" ,ghc-doctemplates-for-pandoc-1)
6674 ("ghc-executable-path" ,ghc-executable-path)
6675 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
6676 ("ghc-filemanip" ,ghc-filemanip)
6677 ("ghc-haddock-library" ,ghc-haddock-library)
6678 ("ghc-hslua" ,ghc-hslua-for-pandoc-1)
6679 ("ghc-http" ,ghc-http)
6680 ("ghc-http-client" ,ghc-http-client)
6681 ("ghc-http-client-tls" ,ghc-http-client-tls)
6682 ("ghc-http-types" ,ghc-http-types)
6683 ("ghc-juicypixels" ,ghc-juicypixels)
6684 ("ghc-network" ,ghc-network)
6685 ("ghc-network-uri" ,ghc-network-uri)
6686 ("ghc-old-time" ,ghc-old-time)
6687 ("ghc-pandoc-types" ,ghc-pandoc-types-for-pandoc-1)
6688 ("ghc-parsec" ,ghc-parsec)
6689 ("ghc-random" ,ghc-random)
6690 ("ghc-scientific" ,ghc-scientific)
6691 ("ghc-sha" ,ghc-sha)
6692 ("ghc-skylighting" ,ghc-skylighting-for-pandoc-1)
6693 ("ghc-syb" ,ghc-syb)
6694 ("ghc-tagsoup" ,ghc-tagsoup)
6695 ("ghc-temporary" ,ghc-temporary)
6696 ("ghc-texmath" ,ghc-texmath-for-pandoc-1)
6697 ("ghc-text" ,ghc-text)
6698 ("ghc-unordered-containers" ,ghc-unordered-containers)
6699 ("ghc-vector" ,ghc-vector)
6700 ("ghc-xml" ,ghc-xml)
6701 ("ghc-yaml" ,ghc-yaml-for-pandoc-1)
6702 ("ghc-zip-archive" ,ghc-zip-archive)
6703 ("ghc-zlib" ,ghc-zlib)))
6704 (native-inputs
6705 `(("ghc-test-framework" ,ghc-test-framework)
6706 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6707 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))))
6708
6709 (define-public ghc-hs-bibutils
6710 (package
6711 (name "ghc-hs-bibutils")
6712 (version "6.6.0.0")
6713 (source
6714 (origin
6715 (method url-fetch)
6716 (uri (string-append
6717 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6718 version ".tar.gz"))
6719 (sha256
6720 (base32
6721 "0n2sz2zl4naspryd49ii858qkjp2lapns5a2gr8zm6vvn5sh1f0l"))))
6722 (build-system haskell-build-system)
6723 (inputs `(("ghc-syb" ,ghc-syb)))
6724 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6725 (synopsis "Haskell bindings to bibutils")
6726 (description
6727 "This package provides Haskell bindings to @code{bibutils}, a library
6728 that interconverts between various bibliography formats using a common
6729 MODS-format XML intermediate.")
6730 (license license:gpl2+)))
6731
6732 (define-public ghc-rfc5051
6733 (package
6734 (name "ghc-rfc5051")
6735 (version "0.1.0.3")
6736 (source
6737 (origin
6738 (method url-fetch)
6739 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
6740 "rfc5051-" version ".tar.gz"))
6741 (sha256
6742 (base32
6743 "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3"))))
6744 (build-system haskell-build-system)
6745 (home-page "https://hackage.haskell.org/package/rfc5051")
6746 (synopsis "Simple unicode collation as per RFC5051")
6747 (description
6748 "This library implements @code{unicode-casemap}, the simple, non
6749 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
6750 unicode collation can be done using @code{text-icu}, but that is a big
6751 dependency that depends on a large C library, and @code{rfc5051} might be
6752 better for some purposes.")
6753 (license license:bsd-3)))
6754
6755 (define-public ghc-typed-process
6756 (package
6757 (name "ghc-typed-process")
6758 (version "0.2.2.0")
6759 (source
6760 (origin
6761 (method url-fetch)
6762 (uri (string-append "https://hackage.haskell.org/package/"
6763 "typed-process/typed-process-"
6764 version ".tar.gz"))
6765 (sha256
6766 (base32
6767 "0c6gvgvjyncbni9a5bvpbglknd4yclr3d3hfg9bhgahmkj40dva2"))))
6768 (build-system haskell-build-system)
6769 (inputs
6770 `(("ghc-async" ,ghc-async)
6771 ("ghc-stm" ,ghc-stm)))
6772 (native-inputs
6773 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
6774 ("ghc-hspec" ,ghc-hspec)
6775 ("hspec-discover" ,hspec-discover)
6776 ("ghc-temporary" ,ghc-temporary)))
6777 (home-page "https://haskell-lang.org/library/typed-process")
6778 (synopsis "Run external processes with strong typing of streams")
6779 (description
6780 "This library provides the ability to launch and interact with external
6781 processes. It wraps around the @code{process} library, and intends to improve
6782 upon it.")
6783 (license license:expat)))
6784
6785 (define-public ghc-conduit-extra
6786 (package
6787 (name "ghc-conduit-extra")
6788 (version "1.3.0")
6789 (source
6790 (origin
6791 (method url-fetch)
6792 (uri (string-append "https://hackage.haskell.org/package/"
6793 "conduit-extra/conduit-extra-"
6794 version ".tar.gz"))
6795 (sha256
6796 (base32
6797 "1bi2b6kdzy5f9glq46jzsk02has95jkxqz0cchpbmnakzhjwjh9c"))))
6798 (build-system haskell-build-system)
6799 (inputs
6800 `(("ghc-conduit" ,ghc-conduit)
6801 ("ghc-exceptions" ,ghc-exceptions)
6802 ("ghc-monad-control" ,ghc-monad-control)
6803 ("ghc-text" ,ghc-text)
6804 ("ghc-transformers-base" ,ghc-transformers-base)
6805 ("ghc-typed-process" ,ghc-typed-process)
6806 ("ghc-async" ,ghc-async)
6807 ("ghc-attoparsec" ,ghc-attoparsec)
6808 ("ghc-blaze-builder" ,ghc-blaze-builder)
6809 ("ghc-network" ,ghc-network)
6810 ("ghc-primitive" ,ghc-primitive)
6811 ("ghc-resourcet" ,ghc-resourcet)
6812 ("ghc-stm" ,ghc-stm)
6813 ("ghc-streaming-commons" ,ghc-streaming-commons)
6814 ("ghc-hspec" ,ghc-hspec)
6815 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6816 ("ghc-quickcheck" ,ghc-quickcheck)))
6817 (native-inputs
6818 `(("hspec-discover" ,hspec-discover)))
6819 (home-page "https://github.com/snoyberg/conduit")
6820 (synopsis "Conduit adapters for common libraries")
6821 (description
6822 "The @code{conduit} package itself maintains relative small dependencies.
6823 The purpose of this package is to collect commonly used utility functions
6824 wrapping other library dependencies, without depending on heavier-weight
6825 dependencies. The basic idea is that this package should only depend on
6826 @code{haskell-platform} packages and @code{conduit}.")
6827 (license license:expat)))
6828
6829 (define-public ghc-xml-types
6830 (package
6831 (name "ghc-xml-types")
6832 (version "0.3.6")
6833 (source
6834 (origin
6835 (method url-fetch)
6836 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
6837 "xml-types-" version ".tar.gz"))
6838 (sha256
6839 (base32
6840 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
6841 (build-system haskell-build-system)
6842 (inputs `(("ghc-text" ,ghc-text)))
6843 (home-page "https://john-millikin.com/software/haskell-xml/")
6844 (synopsis "Basic types for representing XML")
6845 (description "This package provides basic types for representing XML
6846 documents.")
6847 (license license:expat)))
6848
6849 (define-public ghc-xml-conduit
6850 (package
6851 (name "ghc-xml-conduit")
6852 (version "1.8.0.1")
6853 (source
6854 (origin
6855 (method url-fetch)
6856 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
6857 "xml-conduit-" version ".tar.gz"))
6858 (sha256
6859 (base32
6860 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
6861 (build-system haskell-build-system)
6862 (inputs
6863 `(("ghc-conduit" ,ghc-conduit)
6864 ("ghc-conduit-extra" ,ghc-conduit-extra)
6865 ("ghc-doctest" ,ghc-doctest)
6866 ("ghc-resourcet" ,ghc-resourcet)
6867 ("ghc-text" ,ghc-text)
6868 ("ghc-xml-types" ,ghc-xml-types)
6869 ("ghc-attoparsec" ,ghc-attoparsec)
6870 ("ghc-data-default-class" ,ghc-data-default-class)
6871 ("ghc-blaze-markup" ,ghc-blaze-markup)
6872 ("ghc-blaze-html" ,ghc-blaze-html)
6873 ("ghc-monad-control" ,ghc-monad-control)
6874 ("ghc-hspec" ,ghc-hspec)
6875 ("ghc-hunit" ,ghc-hunit)))
6876 (home-page "https://github.com/snoyberg/xml")
6877 (synopsis "Utilities for dealing with XML with the conduit package")
6878 (description
6879 "This package provides pure-Haskell utilities for dealing with XML with
6880 the @code{conduit} package.")
6881 (license license:expat)))
6882
6883 (define-public ghc-pandoc-citeproc
6884 (package
6885 (name "ghc-pandoc-citeproc")
6886 (version "0.14.3.1")
6887 (source
6888 (origin
6889 (method url-fetch)
6890 (uri (string-append "https://hackage.haskell.org/package/"
6891 "pandoc-citeproc/pandoc-citeproc-"
6892 version ".tar.gz"))
6893 (sha256
6894 (base32
6895 "0yj6rckwsc9vig40cm15ry0j3d01xpk04qma9n4byhal6v4b5h22"))))
6896 (build-system haskell-build-system)
6897 (arguments
6898 `(#:phases
6899 (modify-phases %standard-phases
6900 ;; Tests need to be run after installation.
6901 (delete 'check)
6902 (add-after 'install 'post-install-check
6903 (assoc-ref %standard-phases 'check)))))
6904 (inputs
6905 `(("ghc-pandoc-types" ,ghc-pandoc-types)
6906 ("ghc-pandoc" ,ghc-pandoc)
6907 ("ghc-tagsoup" ,ghc-tagsoup)
6908 ("ghc-aeson" ,ghc-aeson)
6909 ("ghc-text" ,ghc-text)
6910 ("ghc-vector" ,ghc-vector)
6911 ("ghc-xml-conduit" ,ghc-xml-conduit)
6912 ("ghc-unordered-containers" ,ghc-unordered-containers)
6913 ("ghc-data-default" ,ghc-data-default)
6914 ("ghc-setenv" ,ghc-setenv)
6915 ("ghc-split" ,ghc-split)
6916 ("ghc-yaml" ,ghc-yaml)
6917 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
6918 ("ghc-rfc5051" ,ghc-rfc5051)
6919 ("ghc-syb" ,ghc-syb)
6920 ("ghc-parsec" ,ghc-parsec)
6921 ("ghc-old-locale" ,ghc-old-locale)
6922 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6923 ("ghc-attoparsec" ,ghc-attoparsec)
6924 ("ghc-temporary" ,ghc-temporary)))
6925 (home-page "https://github.com/jgm/pandoc-citeproc")
6926 (synopsis "Library for using pandoc with citeproc")
6927 (description
6928 "The @code{pandoc-citeproc} library exports functions for using the
6929 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
6930 rendering bibliographic reference citations into a variety of styles using a
6931 macro language called @dfn{Citation Style Language} (CSL). This package also
6932 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
6933 and also has a mode for converting bibliographic databases a YAML format
6934 suitable for inclusion in pandoc YAML metadata.")
6935 (license license:bsd-3)))
6936
6937 (define-public ghc-pandoc-citeproc-with-pandoc-1
6938 (let ((for-pandoc-1
6939 (package-input-rewriting
6940 `((,ghc-aeson . ,ghc-aeson-for-pandoc-1)
6941 (,ghc-yaml . ,ghc-yaml-for-pandoc-1)
6942 (,ghc-texmath . ,ghc-texmath-for-pandoc-1)
6943 (,ghc-pandoc-types . ,ghc-pandoc-types-for-pandoc-1)
6944 (,ghc-hslua . ,ghc-hslua-for-pandoc-1)
6945 (,ghc-skylighting . ,ghc-skylighting-for-pandoc-1)
6946 (,ghc-doctemplates . ,ghc-doctemplates-for-pandoc-1)
6947 (,ghc-pandoc . ,ghc-pandoc-1)))))
6948 (for-pandoc-1 ghc-pandoc-citeproc)))
6949
6950 (define-public ghc-union-find
6951 (package
6952 (name "ghc-union-find")
6953 (version "0.2")
6954 (source (origin
6955 (method url-fetch)
6956 (uri (string-append
6957 "https://hackage.haskell.org/package/union-find/union-find-"
6958 version ".tar.gz"))
6959 (sha256
6960 (base32
6961 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
6962 (build-system haskell-build-system)
6963 (home-page "https://github.com/nominolo/union-find")
6964 (synopsis "Efficient union and equivalence testing of sets")
6965 (description
6966 "The Union/Find algorithm implements these operations in (effectively)
6967 constant-time:
6968 @enumerate
6969 @item Check whether two elements are in the same equivalence class.
6970 @item Create a union of two equivalence classes.
6971 @item Look up the descriptor of the equivalence class.
6972 @end enumerate\n")
6973 (license license:bsd-3)))
6974
6975 (define-public ghc-base16-bytestring
6976 (package
6977 (name "ghc-base16-bytestring")
6978 (version "0.1.1.6")
6979 (source
6980 (origin
6981 (method url-fetch)
6982 (uri (string-append
6983 "https://hackage.haskell.org/package/base16-bytestring/"
6984 "base16-bytestring-" version ".tar.gz"))
6985 (sha256
6986 (base32
6987 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
6988 (build-system haskell-build-system)
6989 (home-page "https://github.com/bos/base16-bytestring")
6990 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
6991 (description
6992 "This package provides a Haskell library for working with base16-encoded
6993 data quickly and efficiently, using the ByteString type.")
6994 (license license:bsd-3)))
6995
6996 (define-public ghc-data-ordlist
6997 (package
6998 (name "ghc-data-ordlist")
6999 (version "0.4.7.0")
7000 (source
7001 (origin
7002 (method url-fetch)
7003 (uri (string-append
7004 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
7005 version ".tar.gz"))
7006 (sha256
7007 (base32
7008 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
7009 (build-system haskell-build-system)
7010 (home-page "https://hackage.haskell.org/package/data-ordlist")
7011 (synopsis "Set and bag operations on ordered lists")
7012 (description
7013 "This module provides set and multiset operations on ordered lists.")
7014 (license license:bsd-3)))
7015
7016 (define-public ghc-regex-applicative
7017 (package
7018 (name "ghc-regex-applicative")
7019 (version "0.3.3")
7020 (source
7021 (origin
7022 (method url-fetch)
7023 (uri (string-append
7024 "https://hackage.haskell.org/package/regex-applicative/"
7025 "regex-applicative-" version ".tar.gz"))
7026 (sha256
7027 (base32
7028 "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
7029 (build-system haskell-build-system)
7030 (inputs
7031 `(("ghc-smallcheck" ,ghc-smallcheck)
7032 ("ghc-tasty" ,ghc-tasty)
7033 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
7034 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7035 (home-page "https://github.com/feuerbach/regex-applicative")
7036 (synopsis "Regex-based parsing with applicative interface")
7037 (description
7038 "@code{regex-applicative} is a Haskell library for parsing using
7039 regular expressions. Parsers can be built using Applicative interface.")
7040 (license license:expat)))
7041
7042 (define-public ghc-regex-tdfa
7043 (package
7044 (name "ghc-regex-tdfa")
7045 (version "1.2.3.1")
7046 (source
7047 (origin
7048 (method url-fetch)
7049 (uri (string-append
7050 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
7051 version ".tar.gz"))
7052 (sha256
7053 (base32
7054 "0l7ajnh4hpgggf2a1r9dg0hx2fy679vd2kada5y7r02hy3nfxala"))))
7055 (build-system haskell-build-system)
7056 (inputs
7057 `(("ghc-parsec" ,ghc-parsec)
7058 ("ghc-regex-base" ,ghc-regex-base)))
7059 (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
7060 (synopsis "POSIX extended regular expressions in Haskell.")
7061 (description
7062 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
7063 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
7064 inspired by libtre.")
7065 (license license:bsd-3)))
7066
7067 (define-public ghc-regex-compat-tdfa
7068 (package
7069 (name "ghc-regex-compat-tdfa")
7070 (version "0.95.1.4")
7071 (source
7072 (origin
7073 (method url-fetch)
7074 (uri (string-append
7075 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
7076 version ".tar.gz"))
7077 (sha256
7078 (base32
7079 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
7080 (build-system haskell-build-system)
7081 (inputs
7082 `(("ghc-regex-base" ,ghc-regex-base)
7083 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
7084 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
7085 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
7086 (description
7087 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
7088 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
7089 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
7090 this problem.")
7091 (license license:bsd-3)))
7092
7093 (define-public ghc-sandi
7094 (package
7095 (name "ghc-sandi")
7096 (version "0.4.2")
7097 (source
7098 (origin
7099 (method url-fetch)
7100 (uri (string-append
7101 "https://hackage.haskell.org/package/sandi/sandi-"
7102 version ".tar.gz"))
7103 (sha256
7104 (base32
7105 "0dvkpk91n9kz2ha04rvp231ra9sgd1ilyc1qkzf9l03iir7zrh9b"))))
7106 (build-system haskell-build-system)
7107 (inputs
7108 `(("ghc-stringsearch" ,ghc-stringsearch)
7109 ("ghc-conduit" ,ghc-conduit)
7110 ("ghc-exceptions" ,ghc-exceptions)
7111 ("ghc-hunit" ,ghc-hunit)
7112 ("ghc-tasty" ,ghc-tasty)
7113 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7114 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7115 ("ghc-tasty-th" ,ghc-tasty-th)))
7116 (home-page "https://hackage.haskell.org/package/sandi")
7117 (synopsis "Data encoding library")
7118 (description "Reasonably fast data encoding library.")
7119 (license license:bsd-3)))
7120
7121 (define-public ghc-bytestring-handle
7122 (package
7123 (name "ghc-bytestring-handle")
7124 (version "0.1.0.6")
7125 (source
7126 (origin
7127 (method url-fetch)
7128 (uri (string-append
7129 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
7130 version ".tar.gz"))
7131 (sha256
7132 (base32
7133 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
7134 (build-system haskell-build-system)
7135 (arguments
7136 `(#:phases
7137 (modify-phases %standard-phases
7138 (add-before 'configure 'update-constraints
7139 (lambda _
7140 (substitute* "bytestring-handle.cabal"
7141 (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
7142 "QuickCheck >= 2.1.2 && < 2.12")
7143 (("base >= 4\\.2 && < 4\\.11")
7144 "base >= 4.2 && < 4.12")))))))
7145 (inputs
7146 `(("ghc-hunit" ,ghc-hunit)
7147 ("ghc-quickcheck" ,ghc-quickcheck)
7148 ("ghc-test-framework" ,ghc-test-framework)
7149 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7150 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7151 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
7152 (synopsis "ByteString-backed Handles")
7153 (description "ByteString-backed Handles") ; There is no description
7154 (license license:bsd-3)))
7155
7156 (define-public ghc-tar
7157 (package
7158 (name "ghc-tar")
7159 (version "0.5.1.0")
7160 (source
7161 (origin
7162 (method url-fetch)
7163 (uri (string-append
7164 "https://hackage.haskell.org/package/tar/tar-"
7165 version ".tar.gz"))
7166 (sha256
7167 (base32
7168 "0s2brvaxg5fki2jdkccmnpssiy6a3wjh24p6a3dkkdvjcixnk7f8"))))
7169 (build-system haskell-build-system)
7170 ;; FIXME: 2/24 tests fail.
7171 (arguments `(#:tests? #f))
7172 (inputs
7173 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
7174 ("ghc-quickcheck" ,ghc-quickcheck)
7175 ("ghc-tasty" ,ghc-tasty)
7176 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7177 (home-page "https://hackage.haskell.org/package/tar")
7178 (synopsis "Reading, writing and manipulating \".tar\" archive files")
7179 (description
7180 "This library is for working with \\\"@.tar@\\\" archive files.
7181 It can read and write a range of common variations of the tar archive format
7182 including V7, POSIX USTAR and GNU formats. It provides support for packing and
7183 unpacking portable archives. This makes it suitable for distribution but not
7184 backup because details like file ownership and exact permissions are not
7185 preserved. It also provides features for random access to archive content using
7186 an index.")
7187 (license license:bsd-3)))
7188
7189 (define-public ghc-stmonadtrans
7190 (package
7191 (name "ghc-stmonadtrans")
7192 (version "0.4.3")
7193 (source
7194 (origin
7195 (method url-fetch)
7196 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
7197 "/STMonadTrans-" version ".tar.gz"))
7198 (sha256
7199 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
7200 (build-system haskell-build-system)
7201 (home-page "https://hackage.haskell.org/package/STMonadTrans")
7202 (synopsis "Monad transformer version of the ST monad")
7203 (description
7204 "This package provides a monad transformer version of the @code{ST} monad
7205 for strict state threads.")
7206 (license license:bsd-3)))
7207
7208 (define-public ghc-findbin
7209 (package
7210 (name "ghc-findbin")
7211 (version "0.0.5")
7212 (source
7213 (origin
7214 (method url-fetch)
7215 (uri (string-append
7216 "https://hackage.haskell.org/package/FindBin/FindBin-"
7217 version ".tar.gz"))
7218 (sha256
7219 (base32
7220 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
7221 (build-system haskell-build-system)
7222 (home-page "https://github.com/audreyt/findbin")
7223 (synopsis "Get the absolute path of the running program")
7224 (description
7225 "This module locates the full directory of the running program, to allow
7226 the use of paths relative to it. FindBin supports invocation of Haskell
7227 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
7228 an executable.")
7229 (license license:bsd-3)))
7230
7231 (define-public ghc-patience
7232 (package
7233 (name "ghc-patience")
7234 (version "0.1.1")
7235 (source
7236 (origin
7237 (method url-fetch)
7238 (uri (string-append
7239 "https://hackage.haskell.org/package/patience/patience-"
7240 version ".tar.gz"))
7241 (sha256
7242 (base32
7243 "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
7244 (build-system haskell-build-system)
7245 (home-page "https://hackage.haskell.org/package/patience")
7246 (synopsis "Patience diff and longest increasing subsequence")
7247 (description
7248 "This library implements the 'patience diff' algorithm, as well as the
7249 patience algorithm for the longest increasing subsequence problem.
7250 Patience diff computes the difference between two lists, for example the lines
7251 of two versions of a source file. It provides a good balance between
7252 performance, nice output for humans, and simplicity of implementation.")
7253 (license license:bsd-3)))
7254
7255 (define-public ghc-monads-tf
7256 (package
7257 (name "ghc-monads-tf")
7258 (version "0.1.0.3")
7259 (source
7260 (origin
7261 (method url-fetch)
7262 (uri (string-append
7263 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7264 version ".tar.gz"))
7265 (sha256
7266 (base32
7267 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7268 (build-system haskell-build-system)
7269 (home-page "https://hackage.haskell.org/package/monads-tf")
7270 (synopsis "Monad classes, using type families")
7271 (description
7272 "Monad classes using type families, with instances for various monad transformers,
7273 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7274 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7275 the @code{mtl-tf} package.")
7276 (license license:bsd-3)))
7277
7278 (define-public ghc-colour
7279 (package
7280 (name "ghc-colour")
7281 (version "2.3.4")
7282 (source
7283 (origin
7284 (method url-fetch)
7285 (uri (string-append
7286 "https://hackage.haskell.org/package/colour/colour-"
7287 version ".tar.gz"))
7288 (sha256
7289 (base32
7290 "1sy51nz096sv91nxqk6yk7b92b5a40axv9183xakvki2nc09yhqg"))))
7291 (arguments
7292 ;; The tests for this package have the following dependency cycle:
7293 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
7294 `(#:tests? #f))
7295 (build-system haskell-build-system)
7296 (home-page "https://www.haskell.org/haskellwiki/Colour")
7297 (synopsis "Model for human colour perception")
7298 (description
7299 "This package provides a data type for colours and transparency.
7300 Colours can be blended and composed. Various colour spaces are
7301 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
7302 (license license:expat)))
7303
7304 (define-public ghc-wl-pprint-text
7305 (package
7306 (name "ghc-wl-pprint-text")
7307 (version "1.2.0.0")
7308 (source
7309 (origin
7310 (method url-fetch)
7311 (uri (string-append
7312 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
7313 version ".tar.gz"))
7314 (sha256
7315 (base32
7316 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
7317 (build-system haskell-build-system)
7318 (inputs
7319 `(("ghc-base-compat" ,ghc-base-compat)
7320 ("ghc-text" ,ghc-text)))
7321 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
7322 (synopsis "Wadler/Leijen Pretty Printer for Text values")
7323 (description
7324 "A clone of wl-pprint for use with the text library.")
7325 (license license:bsd-3)))
7326
7327 (define-public ghc-fgl-arbitrary
7328 (package
7329 (name "ghc-fgl-arbitrary")
7330 (version "0.2.0.3")
7331 (source
7332 (origin
7333 (method url-fetch)
7334 (uri (string-append
7335 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
7336 version ".tar.gz"))
7337 (sha256
7338 (base32
7339 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
7340 (build-system haskell-build-system)
7341 (arguments
7342 `(#:phases
7343 (modify-phases %standard-phases
7344 (add-before 'configure 'update-constraints
7345 (lambda _
7346 (substitute* "fgl-arbitrary.cabal"
7347 (("QuickCheck >= 2\\.3 && < 2\\.10")
7348 "QuickCheck >= 2.3 && < 2.12")
7349 (("hspec >= 2\\.1 && < 2\\.5")
7350 "hspec >= 2.1 && < 2.6")))))))
7351 (inputs
7352 `(("ghc-fgl" ,ghc-fgl)
7353 ("ghc-quickcheck" ,ghc-quickcheck)
7354 ("ghc-hspec" ,ghc-hspec)))
7355 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
7356 (synopsis "QuickCheck support for fgl")
7357 (description
7358 "Provides Arbitrary instances for fgl graphs to avoid adding a
7359 QuickCheck dependency for fgl whilst still making the instances
7360 available to others. Also available are non-fgl-specific functions
7361 for generating graph-like data structures.")
7362 (license license:bsd-3)))
7363
7364 (define-public ghc-graphviz
7365 (package
7366 (name "ghc-graphviz")
7367 (version "2999.20.0.2")
7368 (source (origin
7369 (method url-fetch)
7370 (uri (string-append "https://hackage.haskell.org/package/"
7371 "graphviz/graphviz-" version ".tar.gz"))
7372 (sha256
7373 (base32
7374 "0kj7ap0gnliviq2p8lscw1m06capnsa90vpvcys24nqy5nw2wrp7"))))
7375 (build-system haskell-build-system)
7376 (arguments
7377 `(#:configure-flags (list "--allow-newer=QuickCheck")))
7378 (inputs
7379 `(("ghc-quickcheck" ,ghc-quickcheck)
7380 ("ghc-colour" ,ghc-colour)
7381 ("ghc-dlist" ,ghc-dlist)
7382 ("ghc-fgl" ,ghc-fgl)
7383 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
7384 ("ghc-polyparse" ,ghc-polyparse)
7385 ("ghc-temporary" ,ghc-temporary)
7386 ("ghc-text" ,ghc-text)
7387 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
7388 (native-inputs
7389 `(("ghc-hspec" ,ghc-hspec)
7390 ("graphviz" ,graphviz)
7391 ("hspec-discover" ,hspec-discover)))
7392 (home-page "https://hackage.haskell.org/package/graphviz")
7393 (synopsis "Bindings to Graphviz for graph visualisation")
7394 (description
7395 "This library provides bindings for the Dot language used by
7396 the @uref{https://graphviz.org/, Graphviz} suite of programs for
7397 visualising graphs, as well as functions to call those programs.
7398 Main features of the graphviz library include:
7399
7400 @enumerate
7401 @item Almost complete coverage of all Graphviz attributes and syntax
7402 @item Support for specifying clusters
7403 @item The ability to use a custom node type
7404 @item Functions for running a Graphviz layout tool with all specified output types
7405 @item Generate and parse Dot code with two options: strict and liberal
7406 @item Functions to convert FGL graphs and other graph-like data structures
7407 @item Round-trip support for passing an FGL graph through Graphviz to augment node
7408 and edge labels with positional information, etc.
7409 @end enumerate\n")
7410 (license license:bsd-3)))
7411
7412 (define-public ghc-constraints
7413 (package
7414 (name "ghc-constraints")
7415 (version "0.10.1")
7416 (source
7417 (origin
7418 (method url-fetch)
7419 (uri (string-append
7420 "https://hackage.haskell.org/package/constraints/constraints-"
7421 version ".tar.gz"))
7422 (sha256
7423 (base32
7424 "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q"))))
7425 (build-system haskell-build-system)
7426 (inputs
7427 `(("ghc-hashable" ,ghc-hashable)
7428 ("ghc-semigroups" ,ghc-semigroups)
7429 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7430 (native-inputs
7431 `(("ghc-hspec" ,ghc-hspec)
7432 ("hspec-discover" ,hspec-discover)))
7433 (home-page "https://github.com/ekmett/constraints/")
7434 (synopsis "Constraint manipulation")
7435 (description
7436 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
7437 They stopped crashing the compiler in GHC 7.6. This package provides
7438 a vocabulary for working with them.")
7439 (license license:bsd-3)))
7440
7441 (define-public ghc-lifted-async
7442 (package
7443 (name "ghc-lifted-async")
7444 (version "0.9.0")
7445 (source
7446 (origin
7447 (method url-fetch)
7448 (uri (string-append
7449 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7450 version ".tar.gz"))
7451 (sha256
7452 (base32
7453 "00fnwfcnc6niq9jbbb9rap9rkdgv5qhcglwanzc5fi8834j94c1r"))))
7454 (build-system haskell-build-system)
7455 (inputs
7456 `(("ghc-async" ,ghc-async)
7457 ("ghc-lifted-base" ,ghc-lifted-base)
7458 ("ghc-transformers-base" ,ghc-transformers-base)
7459 ("ghc-monad-control" ,ghc-monad-control)
7460 ("ghc-constraints" ,ghc-constraints)
7461 ("ghc-hunit" ,ghc-hunit)
7462 ("ghc-tasty" ,ghc-tasty)
7463 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7464 ("ghc-tasty-th" ,ghc-tasty-th)))
7465 (home-page "https://github.com/maoe/lifted-async")
7466 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7467 (description
7468 "This package provides IO operations from @code{async} package lifted to any
7469 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7470 (license license:bsd-3)))
7471
7472 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
7473 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
7474 ;; which depends on ghc-chell and ghc-chell-quickcheck.
7475 ;; Therefore we bootstrap it with tests disabled.
7476 (define ghc-system-filepath-bootstrap
7477 (package
7478 (name "ghc-system-filepath-bootstrap")
7479 (version "0.4.14")
7480 (source
7481 (origin
7482 (method url-fetch)
7483 (uri (string-append
7484 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7485 version ".tar.gz"))
7486 (sha256
7487 (base32
7488 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
7489 (build-system haskell-build-system)
7490 (arguments
7491 `(#:tests? #f))
7492 (inputs
7493 `(("ghc-text" ,ghc-text)
7494 ("ghc-quickcheck" ,ghc-quickcheck)))
7495 (home-page "https://github.com/fpco/haskell-filesystem")
7496 (synopsis "High-level, byte-based file and directory path manipulations")
7497 (description
7498 "Provides a FilePath datatype and utility functions for operating on it.
7499 Unlike the filepath package, this package does not simply reuse String,
7500 increasing type safety.")
7501 (license license:expat)))
7502
7503 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
7504 ;; ghc-system-filepath.
7505 (define ghc-system-fileio-bootstrap
7506 (package
7507 (name "ghc-system-fileio-bootstrap")
7508 (version "0.3.16.3")
7509 (source
7510 (origin
7511 (method url-fetch)
7512 (uri (string-append
7513 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7514 version ".tar.gz"))
7515 (sha256
7516 (base32
7517 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7518 (build-system haskell-build-system)
7519 (arguments
7520 `(#:tests? #f))
7521 (inputs
7522 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7523 ("ghc-text" ,ghc-text)
7524 ("ghc-temporary" ,ghc-temporary)))
7525 (home-page "https://github.com/fpco/haskell-filesystem")
7526 (synopsis "Consistent file system interaction across GHC versions")
7527 (description
7528 "This is a small wrapper around the directory, unix, and Win32 packages,
7529 for use with system-filepath. It provides a consistent API to the various
7530 versions of these packages distributed with different versions of GHC.
7531 In particular, this library supports working with POSIX files that have paths
7532 which can't be decoded in the current locale encoding.")
7533 (license license:expat)))
7534
7535 (define-public ghc-shelly
7536 (package
7537 (name "ghc-shelly")
7538 (version "1.8.1")
7539 (source
7540 (origin
7541 (method url-fetch)
7542 (uri (string-append
7543 "https://hackage.haskell.org/package/shelly/shelly-"
7544 version ".tar.gz"))
7545 (sha256
7546 (base32
7547 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
7548 (build-system haskell-build-system)
7549 (inputs
7550 `(("ghc-unix-compat" ,ghc-unix-compat)
7551 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7552 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
7553 ("ghc-monad-control" ,ghc-monad-control)
7554 ("ghc-lifted-base" ,ghc-lifted-base)
7555 ("ghc-lifted-async" ,ghc-lifted-async)
7556 ("ghc-exceptions" ,ghc-exceptions)
7557 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
7558 ("ghc-text" ,ghc-text)
7559 ("ghc-async" ,ghc-async)
7560 ("ghc-transformers-base" ,ghc-transformers-base)
7561 ("ghc-hunit" ,ghc-hunit)
7562 ("ghc-hspec" ,ghc-hspec)
7563 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
7564 (home-page "https://github.com/yesodweb/Shelly.hs")
7565 (synopsis "Shell-like (systems) programming in Haskell")
7566 (description
7567 "Shelly provides convenient systems programming in Haskell, similar in
7568 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
7569 (license license:bsd-3)))
7570
7571 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
7572 (define ghc-options-bootstrap
7573 (package
7574 (name "ghc-options-bootstrap")
7575 (version "1.2.1.1")
7576 (source
7577 (origin
7578 (method url-fetch)
7579 (uri (string-append
7580 "https://hackage.haskell.org/package/options/options-"
7581 version ".tar.gz"))
7582 (sha256
7583 (base32
7584 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7585 (build-system haskell-build-system)
7586 (arguments
7587 `(#:tests? #f))
7588 (inputs
7589 `(("ghc-monads-tf" ,ghc-monads-tf)))
7590 (home-page "https://john-millikin.com/software/haskell-options/")
7591 (synopsis "Powerful and easy-to-use command-line option parser")
7592 (description
7593 "The @code{options} package lets library and application developers
7594 easily work with command-line options.")
7595 (license license:expat)))
7596
7597 (define-public ghc-chell
7598 (package
7599 (name "ghc-chell")
7600 (version "0.4.0.2")
7601 (source
7602 (origin
7603 (method url-fetch)
7604 (uri (string-append
7605 "https://hackage.haskell.org/package/chell/chell-"
7606 version ".tar.gz"))
7607 (sha256
7608 (base32
7609 "10ingy9qnbmc8cqh4i9pskcw43l0mzk8f3d76b3qz3fig5ary3j9"))))
7610 (build-system haskell-build-system)
7611 (inputs
7612 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
7613 ("ghc-patience" ,ghc-patience)
7614 ("ghc-random" ,ghc-random)
7615 ("ghc-text" ,ghc-text)
7616 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
7617 (home-page "https://john-millikin.com/software/chell/")
7618 (synopsis "Simple and intuitive library for automated testing")
7619 (description
7620 "Chell is a simple and intuitive library for automated testing.
7621 It natively supports assertion-based testing, and can use companion
7622 libraries such as @code{chell-quickcheck} to support more complex
7623 testing strategies.")
7624 (license license:expat)))
7625
7626 (define ghc-chell-quickcheck-bootstrap
7627 (package
7628 (name "ghc-chell-quickcheck-bootstrap")
7629 (version "0.2.5.1")
7630 (source
7631 (origin
7632 (method url-fetch)
7633 (uri (string-append
7634 "https://hackage.haskell.org/package/chell-quickcheck/"
7635 "chell-quickcheck-" version ".tar.gz"))
7636 (sha256
7637 (base32
7638 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7639 (build-system haskell-build-system)
7640 (inputs
7641 `(("ghc-chell" ,ghc-chell)
7642 ("ghc-random" ,ghc-random)
7643 ("ghc-quickcheck" ,ghc-quickcheck)))
7644 (arguments
7645 `(#:tests? #f
7646 #:phases
7647 (modify-phases %standard-phases
7648 (add-before 'configure 'update-constraints
7649 (lambda _
7650 (substitute* "chell-quickcheck.cabal"
7651 (("QuickCheck >= 2\\.3 && < 2\\.11")
7652 "QuickCheck >= 2.3 && < 2.12")))))))
7653 (home-page "https://john-millikin.com/software/chell/")
7654 (synopsis "QuickCheck support for the Chell testing library")
7655 (description "More complex tests for @code{chell}.")
7656 (license license:expat)))
7657
7658 (define-public ghc-chell-quickcheck
7659 (package
7660 (name "ghc-chell-quickcheck")
7661 (version "0.2.5.1")
7662 (source
7663 (origin
7664 (method url-fetch)
7665 (uri (string-append
7666 "https://hackage.haskell.org/package/chell-quickcheck/"
7667 "chell-quickcheck-" version ".tar.gz"))
7668 (sha256
7669 (base32
7670 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7671 (build-system haskell-build-system)
7672 (arguments
7673 `(#:phases
7674 (modify-phases %standard-phases
7675 (add-before 'configure 'update-constraints
7676 (lambda _
7677 (substitute* "chell-quickcheck.cabal"
7678 (("QuickCheck >= 2\\.3 && < 2\\.11")
7679 "QuickCheck >= 2.3 && < 2.12")))))))
7680 (inputs
7681 `(("ghc-chell" ,ghc-chell)
7682 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
7683 ("ghc-random" ,ghc-random)
7684 ("ghc-quickcheck" ,ghc-quickcheck)))
7685 (home-page "https://john-millikin.com/software/chell/")
7686 (synopsis "QuickCheck support for the Chell testing library")
7687 (description "More complex tests for @code{chell}.")
7688 (license license:expat)))
7689
7690 (define-public ghc-options
7691 (package
7692 (name "ghc-options")
7693 (version "1.2.1.1")
7694 (source
7695 (origin
7696 (method url-fetch)
7697 (uri (string-append
7698 "https://hackage.haskell.org/package/options/options-"
7699 version ".tar.gz"))
7700 (sha256
7701 (base32
7702 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7703 (build-system haskell-build-system)
7704 (inputs
7705 `(("ghc-monads-tf" ,ghc-monads-tf)
7706 ("ghc-chell" ,ghc-chell)
7707 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
7708 (home-page "https://john-millikin.com/software/haskell-options/")
7709 (synopsis "Powerful and easy-to-use command-line option parser")
7710 (description
7711 "The @code{options} package lets library and application developers
7712 easily work with command-line options.")
7713 (license license:expat)))
7714
7715 (define-public ghc-system-filepath
7716 (package
7717 (name "ghc-system-filepath")
7718 (version "0.4.14")
7719 (source
7720 (origin
7721 (method url-fetch)
7722 (uri (string-append
7723 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7724 version ".tar.gz"))
7725 (sha256
7726 (base32
7727 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
7728 (build-system haskell-build-system)
7729 ;; FIXME: One of the tests fails:
7730 ;; [ FAIL ] tests.validity.posix
7731 ;; note: seed=7310214548328823169
7732 ;; *** Failed! Falsifiable (after 24 tests):
7733 ;; 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"
7734 (arguments `(#:tests? #f))
7735 (inputs
7736 `(("ghc-text" ,ghc-text)
7737 ("ghc-chell" ,ghc-chell)
7738 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
7739 ("ghc-quickcheck" ,ghc-quickcheck)))
7740 (home-page "https://github.com/fpco/haskell-filesystem")
7741 (synopsis "High-level, byte-based file and directory path manipulations")
7742 (description
7743 "Provides a FilePath datatype and utility functions for operating on it.
7744 Unlike the filepath package, this package does not simply reuse String,
7745 increasing type safety.")
7746 (license license:expat)))
7747
7748 (define-public ghc-system-fileio
7749 (package
7750 (name "ghc-system-fileio")
7751 (version "0.3.16.3")
7752 (source
7753 (origin
7754 (method url-fetch)
7755 (uri (string-append
7756 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7757 version ".tar.gz"))
7758 (sha256
7759 (base32
7760 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7761 (build-system haskell-build-system)
7762 (inputs
7763 `(("ghc-system-filepath" ,ghc-system-filepath)
7764 ("ghc-text" ,ghc-text)
7765 ("ghc-chell" ,ghc-chell)
7766 ("ghc-temporary" ,ghc-temporary)))
7767 (home-page "https://github.com/fpco/haskell-filesystem")
7768 (synopsis "Consistent file system interaction across GHC versions")
7769 (description
7770 "This is a small wrapper around the directory, unix, and Win32 packages,
7771 for use with system-filepath. It provides a consistent API to the various
7772 versions of these packages distributed with different versions of GHC.
7773 In particular, this library supports working with POSIX files that have paths
7774 which can't be decoded in the current locale encoding.")
7775 (license license:expat)))
7776
7777 (define-public ghc-storable-complex
7778 (package
7779 (name "ghc-storable-complex")
7780 (version "0.2.2")
7781 (source
7782 (origin
7783 (method url-fetch)
7784 (uri (string-append
7785 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
7786 version ".tar.gz"))
7787 (sha256
7788 (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
7789 (build-system haskell-build-system)
7790 (home-page "https://github.com/cartazio/storable-complex")
7791 (synopsis "Haskell Storable instance for Complex")
7792 (description "This package provides a Haskell library including a
7793 Storable instance for Complex which is binary compatible with C99, C++
7794 and Fortran complex data types.")
7795 (license license:bsd-3)))
7796
7797 (define-public ghc-hmatrix
7798 (package
7799 (name "ghc-hmatrix")
7800 (version "0.19.0.0")
7801 (source
7802 (origin
7803 (method url-fetch)
7804 (uri (string-append
7805 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
7806 version ".tar.gz"))
7807 (sha256
7808 (base32 "10jd69nby29dggghcyjk6ykyr5wrn97nrv1dkpyrp0y5xm12xssj"))))
7809 (build-system haskell-build-system)
7810 (inputs
7811 `(("ghc-random" ,ghc-random)
7812 ("ghc-split" ,ghc-split)
7813 ("ghc-storable-complex" ,ghc-storable-complex)
7814 ("ghc-semigroups" ,ghc-semigroups)
7815 ("ghc-vector" ,ghc-vector)
7816 ;;("openblas" ,openblas)
7817 ("lapack" ,lapack)))
7818 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
7819 ;; disables inclusion of the LAPACK functions.
7820 ;; (arguments `(#:configure-flags '("--flags=openblas")))
7821 (home-page "https://github.com/albertoruiz/hmatrix")
7822 (synopsis "Haskell numeric linear algebra library")
7823 (description "The HMatrix package provices a Haskell library for
7824 dealing with linear systems, matrix decompositions, and other
7825 numerical computations based on BLAS and LAPACK.")
7826 (license license:bsd-3)))
7827
7828 (define-public ghc-hmatrix-gsl
7829 (package
7830 (name "ghc-hmatrix-gsl")
7831 (version "0.19.0.1")
7832 (source
7833 (origin
7834 (method url-fetch)
7835 (uri (string-append
7836 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
7837 version ".tar.gz"))
7838 (sha256
7839 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
7840 (build-system haskell-build-system)
7841 (inputs
7842 `(("ghc-hmatrix" ,ghc-hmatrix)
7843 ("ghc-vector" ,ghc-vector)
7844 ("ghc-random" ,ghc-random)
7845 ("gsl" ,gsl)))
7846 (native-inputs `(("pkg-config" ,pkg-config)))
7847 (home-page "https://github.com/albertoruiz/hmatrix")
7848 (synopsis "Haskell GSL binding")
7849 (description "This Haskell library provides a purely functional
7850 interface to selected numerical computations, internally implemented
7851 using GSL.")
7852 (license license:gpl3+)))
7853
7854 (define-public ghc-hmatrix-special
7855 (package
7856 (name "ghc-hmatrix-special")
7857 (version "0.19.0.0")
7858 (source
7859 (origin
7860 (method url-fetch)
7861 (uri
7862 (string-append
7863 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
7864 version ".tar.gz"))
7865 (sha256
7866 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
7867 (build-system haskell-build-system)
7868 (inputs
7869 `(("ghc-hmatrix" ,ghc-hmatrix)
7870 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
7871 (home-page "https://github.com/albertoruiz/hmatrix")
7872 (synopsis "Haskell interface to GSL special functions")
7873 (description "This library provides an interface to GSL special
7874 functions for Haskell.")
7875 (license license:gpl3+)))
7876
7877 (define-public ghc-hmatrix-gsl-stats
7878 (package
7879 (name "ghc-hmatrix-gsl-stats")
7880 (version "0.4.1.7")
7881 (source
7882 (origin
7883 (method url-fetch)
7884 (uri
7885 (string-append
7886 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
7887 version ".tar.gz"))
7888 (sha256
7889 (base32 "1gslgk58lzin43cvbpivhw7nrn9qyaa6qwhy1z9ypvyal5p8n3sa"))))
7890 (build-system haskell-build-system)
7891 (inputs
7892 `(("ghc-vector" ,ghc-vector)
7893 ("ghc-storable-complex" ,ghc-storable-complex)
7894 ("ghc-hmatrix" ,ghc-hmatrix)
7895 ("gsl" ,gsl)))
7896 (native-inputs `(("pkg-config" ,pkg-config)))
7897 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
7898 (synopsis "GSL Statistics interface for Haskell")
7899 (description "This Haskell library provides a purely functional
7900 interface for statistics based on hmatrix and GSL.")
7901 (license license:bsd-3)))
7902
7903 (define-public ghc-easyplot
7904 (package
7905 (name "ghc-easyplot")
7906 (version "1.0")
7907 (source
7908 (origin
7909 (method url-fetch)
7910 (uri (string-append
7911 "https://hackage.haskell.org/package/easyplot/easyplot-"
7912 version ".tar.gz"))
7913 (sha256
7914 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
7915 (build-system haskell-build-system)
7916 (propagated-inputs `(("gnuplot" ,gnuplot)))
7917 (arguments
7918 `(#:phases (modify-phases %standard-phases
7919 (add-after 'unpack 'fix-setup-suffix
7920 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
7921 (home-page "https://hub.darcs.net/scravy/easyplot")
7922 (synopsis "Haskell plotting library based on gnuplot")
7923 (description "This package provides a plotting library for
7924 Haskell, using gnuplot for rendering.")
7925 (license license:expat)))
7926
7927 (define-public ghc-hashtables
7928 (package
7929 (name "ghc-hashtables")
7930 (version "1.2.3.1")
7931 (source
7932 (origin
7933 (method url-fetch)
7934 (uri (string-append
7935 "https://hackage.haskell.org/package/hashtables/hashtables-"
7936 version ".tar.gz"))
7937 (sha256
7938 (base32 "1giw9caajr07slf09j7zry9b0kvm4yj9q78zy1mawzi6gk3wglcg"))))
7939 (build-system haskell-build-system)
7940 (inputs
7941 `(("ghc-hashable" ,ghc-hashable)
7942 ("ghc-primitive" ,ghc-primitive)
7943 ("ghc-vector" ,ghc-vector)))
7944 (home-page "https://github.com/gregorycollins/hashtables")
7945 (synopsis "Haskell Mutable hash tables in the ST monad")
7946 (description "This package provides a Haskell library including a
7947 couple of different implementations of mutable hash tables in the ST
7948 monad, as well as a typeclass abstracting their common operations, and
7949 a set of wrappers to use the hash tables in the IO monad.")
7950 (license license:bsd-3)))
7951
7952 (define-public ghc-data-accessor
7953 (package
7954 (name "ghc-data-accessor")
7955 (version "0.2.2.7")
7956 (source
7957 (origin
7958 (method url-fetch)
7959 (uri (string-append
7960 "mirror://hackage/package/data-accessor/data-accessor-"
7961 version ".tar.gz"))
7962 (sha256
7963 (base32 "1vf2g1gac3rm32g97rl0fll51m88q7ry4m6khnl5j47qsmx24r9l"))))
7964 (build-system haskell-build-system)
7965 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7966 (synopsis
7967 "Haskell utilities for accessing and manipulating fields of records")
7968 (description "This package provides Haskell modules for accessing and
7969 manipulating fields of records.")
7970 (license license:bsd-3)))
7971
7972 (define-public ghc-data-accessor-transformers
7973 (package
7974 (name "ghc-data-accessor-transformers")
7975 (version "0.2.1.7")
7976 (source
7977 (origin
7978 (method url-fetch)
7979 (uri (string-append
7980 "mirror://hackage/package/data-accessor-transformers/"
7981 "data-accessor-transformers-" version ".tar.gz"))
7982 (sha256
7983 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
7984 (build-system haskell-build-system)
7985 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
7986 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7987 (synopsis "Use Accessor to access state in transformers State monad")
7988 (description "This package provides Haskell modules to allow use of
7989 Accessor to access state in transformers State monad.")
7990 (license license:bsd-3)))
7991
7992 (define-public ghc-utility-ht
7993 (package
7994 (name "ghc-utility-ht")
7995 (version "0.0.14")
7996 (home-page "https://hackage.haskell.org/package/utility-ht")
7997 (source
7998 (origin
7999 (method url-fetch)
8000 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
8001 (sha256
8002 (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9"))))
8003 (build-system haskell-build-system)
8004 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
8005 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
8006 (description "This package includes Hakell modules providing various
8007 helper functions for Lists, Maybes, Tuples, Functions.")
8008 (license license:bsd-3)))
8009
8010 (define-public ghc-gnuplot
8011 (package
8012 (name "ghc-gnuplot")
8013 (version "0.5.4.1")
8014 (source
8015 (origin
8016 (method url-fetch)
8017 (uri (string-append
8018 "mirror://hackage/package/gnuplot/gnuplot-"
8019 version ".tar.gz"))
8020 (sha256
8021 (base32 "1xz8prw9xjk0rsyrkp9bsmxykzrbhpv9qhhkdapy75mdbmgwjm7s"))))
8022 (build-system haskell-build-system)
8023 (inputs
8024 `(("ghc-temporary" ,ghc-temporary)
8025 ("ghc-utility-ht" ,ghc-utility-ht)
8026 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
8027 ("ghc-data-accessor" ,ghc-data-accessor)
8028 ("gnuplot" ,gnuplot)))
8029 (arguments
8030 `(#:phases
8031 (modify-phases %standard-phases
8032 (add-before 'configure 'fix-path-to-gnuplot
8033 (lambda* (#:key inputs #:allow-other-keys)
8034 (let ((gnuplot (assoc-ref inputs "gnuplot")))
8035 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
8036 (("(gnuplotName = ).*$" all cmd)
8037 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
8038 (home-page "https://www.haskell.org/haskellwiki/Gnuplot")
8039 (synopsis "2D and 3D plots using gnuplot")
8040 (description "This package provides a Haskell module for creating 2D and
8041 3D plots using gnuplot.")
8042 (license license:bsd-3)))
8043
8044 (define-public ghc-hinotify
8045 (package
8046 (name "ghc-hinotify")
8047 (version "0.3.10")
8048 (source (origin
8049 (method url-fetch)
8050 (uri (string-append
8051 "https://hackage.haskell.org/package/hinotify/"
8052 "hinotify-" version ".tar.gz"))
8053 (sha256
8054 (base32
8055 "17ax3n68a5c2ddazp86aciliskrh6znd3bnry0wcllmb6dbpsaxg"))))
8056 (build-system haskell-build-system)
8057 (inputs
8058 `(("ghc-async" ,ghc-async)))
8059 (home-page "https://github.com/kolmodin/hinotify.git")
8060 (synopsis "Haskell binding to inotify")
8061 (description "This library provides a wrapper to the Linux kernel's inotify
8062 feature, allowing applications to subscribe to notifications when a file is
8063 accessed or modified.")
8064 (license license:bsd-3)))
8065
8066 (define-public ghc-fsnotify
8067 (package
8068 (name "ghc-fsnotify")
8069 (version "0.2.1")
8070 (source (origin
8071 (method url-fetch)
8072 (uri (string-append
8073 "https://hackage.haskell.org/package/fsnotify/"
8074 "fsnotify-" version ".tar.gz"))
8075 (sha256
8076 (base32
8077 "0asl313a52qx2w6dw25g845683xsl840bwjh118nkwi5v1xipkzb"))))
8078 (build-system haskell-build-system)
8079 (inputs
8080 `(("ghc-text" ,ghc-text)
8081 ("ghc-async" ,ghc-async)
8082 ("ghc-unix-compat" ,ghc-unix-compat)
8083 ("ghc-hinotify" ,ghc-hinotify)
8084 ("ghc-tasty" ,ghc-tasty)
8085 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8086 ("ghc-temporary-rc" ,ghc-temporary-rc)))
8087 (home-page "https://github.com/haskell-fswatch/hfsnotify")
8088 (synopsis "Cross platform library for file change notification.")
8089 (description "Cross platform library for file creation, modification, and
8090 deletion notification. This library builds upon existing libraries for platform
8091 specific Windows, Mac, and Linux file system event notification.")
8092 (license license:bsd-3)))
8093
8094 (define-public ghc-ieee754
8095 (package
8096 (name "ghc-ieee754")
8097 (version "0.8.0")
8098 (source (origin
8099 (method url-fetch)
8100 (uri (string-append
8101 "https://hackage.haskell.org/package/ieee754/"
8102 "ieee754-" version ".tar.gz"))
8103 (sha256
8104 (base32
8105 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
8106 (build-system haskell-build-system)
8107 (home-page "https://github.com/patperry/hs-ieee754")
8108 (synopsis "Utilities for dealing with IEEE floating point numbers")
8109 (description "Utilities for dealing with IEEE floating point numbers,
8110 ported from the Tango math library; approximate and exact equality comparisons
8111 for general types.")
8112 (license license:bsd-3)))
8113
8114 (define-public ghc-terminal-size
8115 (package
8116 (name "ghc-terminal-size")
8117 (version "0.3.2.1")
8118 (source (origin
8119 (method url-fetch)
8120 (uri (string-append
8121 "https://hackage.haskell.org/package/terminal-size/"
8122 "terminal-size-" version ".tar.gz"))
8123 (sha256
8124 (base32
8125 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
8126 (build-system haskell-build-system)
8127 (home-page "https://hackage.haskell.org/package/terminal-size")
8128 (synopsis "Get terminal window height and width")
8129 (description "Get terminal window height and width without ncurses
8130 dependency.")
8131 (license license:bsd-3)))
8132
8133 (define-public ghc-language-c
8134 (package
8135 (name "ghc-language-c")
8136 (version "0.8.1")
8137 (source
8138 (origin
8139 (method url-fetch)
8140 (uri (string-append "https://hackage.haskell.org/package/"
8141 "language-c/language-c-" version ".tar.gz"))
8142 (sha256
8143 (base32
8144 "0sdkjj0hq8p69fcdm6ljbjkjvrsrb8a6rl5dq6dj6byj32ajrm3d"))))
8145 (build-system haskell-build-system)
8146 (inputs `(("ghc-syb" ,ghc-syb)))
8147 (native-inputs
8148 `(("ghc-happy" ,ghc-happy)
8149 ("ghc-alex" ,ghc-alex)))
8150 (home-page "https://visq.github.io/language-c/")
8151 (synopsis "Analysis and generation of C code")
8152 (description
8153 "Language C is a Haskell library for the analysis and generation of C code.
8154 It features a complete, well-tested parser and pretty printer for all of C99
8155 and a large set of GNU extensions.")
8156 (license license:bsd-3)))
8157
8158 (define-public ghc-markdown-unlit
8159 (package
8160 (name "ghc-markdown-unlit")
8161 (version "0.4.0")
8162 (source (origin
8163 (method url-fetch)
8164 (uri (string-append
8165 "mirror://hackage/package/markdown-unlit/"
8166 "markdown-unlit-" version ".tar.gz"))
8167 (sha256
8168 (base32
8169 "1kj2bffl7ndd8ygwwa3r1mbpwbxbfhyfgnbla8k8g9i6ffp0qrbw"))))
8170 (build-system haskell-build-system)
8171 (inputs
8172 `(("ghc-base-compat" ,ghc-base-compat)
8173 ("ghc-hspec" ,ghc-hspec)
8174 ("ghc-quickcheck" ,ghc-quickcheck)
8175 ("ghc-silently" ,ghc-silently)
8176 ("ghc-stringbuilder" ,ghc-stringbuilder)
8177 ("ghc-temporary" ,ghc-temporary)
8178 ("hspec-discover" ,hspec-discover)))
8179 (home-page "https://github.com/sol/markdown-unlit#readme")
8180 (synopsis "Literate Haskell support for Markdown")
8181 (description "This package allows you to have a README.md that at the
8182 same time is a literate Haskell program.")
8183 (license license:expat)))
8184
8185 (define-public corrode
8186 (let ((commit "b6699fb2fa552a07c6091276285a44133e5c9789"))
8187 (package
8188 (name "corrode")
8189 (version (string-append "0.0.1-" (string-take commit 7)))
8190 (source
8191 (origin
8192 (method git-fetch)
8193 (uri (git-reference
8194 (url "https://github.com/jameysharp/corrode.git")
8195 (commit "b6699fb2fa552a07c6091276285a44133e5c9789")))
8196 (file-name
8197 (string-append name "-" version "-checkout"))
8198 (sha256
8199 (base32 "02v0yyj6sk4gpg2222wzsdqjxn8w66scbnf6b20x0kbmc69qcz4r"))))
8200 (build-system haskell-build-system)
8201 (inputs
8202 `(("ghc-language-c" ,ghc-language-c)
8203 ("ghc-markdown-unlit" ,ghc-markdown-unlit)))
8204 (home-page "https://github.com/jameysharp/corrode")
8205 (synopsis "Automatic semantics-preserving translation from C to Rust")
8206 (description
8207 "This program reads a C source file and prints an equivalent module in
8208 Rust syntax. It is intended to be useful for two different purposes:
8209
8210 @enumerate
8211 @item Partial automation for migrating legacy code that was implemented in C.
8212 @item A new, complementary approach to static analysis for C programs.
8213 @end enumerate\n")
8214 (license license:gpl2+))))
8215
8216 (define-public ghc-wave
8217 (package
8218 (name "ghc-wave")
8219 (version "0.1.4")
8220 (source (origin
8221 (method url-fetch)
8222 (uri (string-append
8223 "https://hackage.haskell.org/package/wave/wave-"
8224 version
8225 ".tar.gz"))
8226 (sha256
8227 (base32
8228 "1g5nmqfk6p25v9ismwz4i66ay91bd1qh39xwj0hm4z6a5mw8frk8"))))
8229 (build-system haskell-build-system)
8230 (inputs
8231 `(("ghc-cereal" ,ghc-cereal)
8232 ("ghc-data-default-class"
8233 ,ghc-data-default-class)
8234 ("ghc-quickcheck" ,ghc-quickcheck)
8235 ("ghc-temporary" ,ghc-temporary)))
8236 (native-inputs
8237 `(("hspec-discover" ,hspec-discover)
8238 ("ghc-hspec" ,ghc-hspec)))
8239 (home-page "https://github.com/mrkkrp/wave")
8240 (synopsis "Work with WAVE and RF64 files in Haskell")
8241 (description "This package allows you to work with WAVE and RF64
8242 files in Haskell.")
8243 (license license:bsd-3)))
8244
8245 (define-public ghc-hslogger
8246 (package
8247 (name "ghc-hslogger")
8248 (version "1.2.10")
8249 (source
8250 (origin
8251 (method url-fetch)
8252 (uri (string-append "https://hackage.haskell.org/package/"
8253 "hslogger-" version "/" "hslogger-"
8254 version ".tar.gz"))
8255 (sha256 (base32
8256 "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp"))))
8257 (build-system haskell-build-system)
8258 (inputs
8259 `(("ghc-network" ,ghc-network)
8260 ("ghc-old-locale" ,ghc-old-locale)))
8261 (native-inputs
8262 `(("ghc-hunit" ,ghc-hunit)))
8263 (home-page "https://software.complete.org/hslogger")
8264 (synopsis "Logging framework for Haskell, similar to Python's logging module")
8265 (description "Hslogger lets each log message have a priority and source be
8266 associated with it. The programmer can then define global handlers that route
8267 or filter messages based on the priority and source. It also has a syslog
8268 handler built in.")
8269 (license license:bsd-3)))
8270
8271 (define-public ghc-unexceptionalio
8272 (package
8273 (name "ghc-unexceptionalio")
8274 (version "0.4.0")
8275 (source
8276 (origin
8277 (method url-fetch)
8278 (uri (string-append "https://hackage.haskell.org/package/"
8279 "unexceptionalio-" version "/" "unexceptionalio-"
8280 version ".tar.gz"))
8281 (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p"))))
8282 (build-system haskell-build-system)
8283 (home-page "https://github.com/singpolyma/unexceptionalio")
8284 (synopsis "IO without any non-error, synchronous exceptions")
8285 (description "When you've caught all the exceptions that can be
8286 handled safely, this is what you're left with.")
8287 (license license:isc)))
8288
8289 (define-public ghc-json
8290 (package
8291 (name "ghc-json")
8292 (version "0.9.2")
8293 (source
8294 (origin
8295 (method url-fetch)
8296 (uri (string-append "https://hackage.haskell.org/package/json/"
8297 "json-" version ".tar.gz"))
8298 (sha256
8299 (base32
8300 "13kkfgx58z18jphbg56jn08jn72wi3kvfndlwwx87hqwg7x1dfz6"))))
8301 (build-system haskell-build-system)
8302 (inputs
8303 `(("ghc-syb" ,ghc-syb)
8304 ("ghc-text" ,ghc-text)
8305 ("ghc-parsec" ,ghc-parsec)))
8306 (home-page "https://hackage.haskell.org/package/json")
8307 (synopsis "Serializes Haskell data to and from JSON")
8308 (description "This package provides a parser and pretty printer for
8309 converting between Haskell values and JSON.
8310 JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
8311 (license license:bsd-3)))
8312
8313 (define-public ghc-esqueleto
8314 (package
8315 (name "ghc-esqueleto")
8316 (version "2.5.3")
8317 (source
8318 (origin
8319 (method url-fetch)
8320 (uri (string-append "https://hackage.haskell.org/package/"
8321 "esqueleto/esqueleto-" version ".tar.gz"))
8322 (sha256
8323 (base32
8324 "10n49rzqmblky7pwjnysalyy6nacmxfms8dqbsdv6hlyzr8pb69x"))))
8325 (build-system haskell-build-system)
8326 (inputs
8327 `(("ghc-blaze-html" ,ghc-blaze-html)
8328 ("ghc-conduit" ,ghc-conduit)
8329 ("ghc-monad-logger" ,ghc-monad-logger)
8330 ("ghc-persistent" ,ghc-persistent)
8331 ("ghc-resourcet" ,ghc-resourcet)
8332 ("ghc-tagged" ,ghc-tagged)
8333 ("ghc-text" ,ghc-text)
8334 ("ghc-unordered-containers" ,ghc-unordered-containers)))
8335 (native-inputs
8336 `(("ghc-hspec" ,ghc-hspec)
8337 ("ghc-hunit" ,ghc-hunit)
8338 ("ghc-monad-control" ,ghc-monad-control)
8339 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
8340 ("ghc-persistent-template" ,ghc-persistent-template)
8341 ("ghc-quickcheck" ,ghc-quickcheck)))
8342 (home-page "https://github.com/bitemyapp/esqueleto")
8343 (synopsis "Type-safe embedded domain specific language for SQL queries")
8344 (description "This library provides a type-safe embedded domain specific
8345 language (EDSL) for SQL queries that works with SQL backends as provided by
8346 @code{ghc-persistent}. Its language closely resembles SQL, so you don't have
8347 to learn new concepts, just new syntax, and it's fairly easy to predict the
8348 generated SQL and optimize it for your backend.")
8349 (license license:bsd-3)))
8350
8351 (define-public shellcheck
8352 (package
8353 (name "shellcheck")
8354 (version "0.4.6")
8355 (source
8356 (origin
8357 (method url-fetch)
8358 (uri (string-append "https://github.com/koalaman/shellcheck/archive/"
8359 "v" version ".tar.gz"))
8360 (sha256
8361 (base32
8362 "1qkd69lc34n3l23ss9rq1azvx49bfq4hi4bmaj76rgxybscxhg0w"))
8363 (file-name (string-append name "-" version ".tar.gz"))))
8364 (build-system haskell-build-system)
8365 (inputs
8366 `(("ghc-quickcheck" ,ghc-quickcheck)
8367 ("ghc-json" ,ghc-json)
8368 ("ghc-parsec" ,ghc-parsec)
8369 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
8370 (home-page "https://github.com/koalaman/shellcheck")
8371 (synopsis "Static analysis for shell scripts")
8372 (description "@code{shellcheck} provides static analysis for
8373 @command{bash} and @command{sh} shell scripts.
8374 It gives warnings and suggestions in order to:
8375
8376 @enumerate
8377 @item Point out and clarify typical beginner's syntax issues that cause
8378 a shell to give cryptic error messages.
8379 @item Point out and clarify typical intermediate level semantic problems
8380 that cause a shell to behave strangely and counter-intuitively.
8381 @item Point out subtle caveats, corner cases and pitfalls that may cause an
8382 advanced user's otherwise working script to fail under future circumstances.
8383 @end enumerate")
8384 (license license:gpl3+)))
8385
8386 (define-public ghc-simple-sendfile
8387 (package
8388 (name "ghc-simple-sendfile")
8389 (version "0.2.25")
8390 (source
8391 (origin
8392 (method url-fetch)
8393 (uri (string-append "https://hackage.haskell.org/package/"
8394 "simple-sendfile-" version "/"
8395 "simple-sendfile-" version ".tar.gz"))
8396 (sha256
8397 (base32
8398 "0k99j9xfcf83c55jmn202hdinhjaa4yn3dal4rvjk2w2rlhqirha"))))
8399 (build-system haskell-build-system)
8400 (inputs
8401 `(("ghc-conduit" ,ghc-conduit)
8402 ("ghc-conduit-extra" ,ghc-conduit-extra)
8403 ("ghc-network" ,ghc-network)
8404 ("ghc-resourcet" ,ghc-resourcet)))
8405 (native-inputs
8406 `(("ghc-hspec" ,ghc-hspec)
8407 ("hspec-discover" ,hspec-discover)))
8408 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
8409 (synopsis "Cross platform library for the sendfile system call")
8410 (description "This library tries to call minimum system calls which
8411 are the bottleneck of web servers.")
8412 (license license:bsd-3)))
8413
8414 (define-public ghc-hex
8415 (package
8416 (name "ghc-hex")
8417 (version "0.1.2")
8418 (source
8419 (origin
8420 (method url-fetch)
8421 (uri (string-append "https://hackage.haskell.org/package/"
8422 "hex-" version "/"
8423 "hex-" version ".tar.gz"))
8424 (sha256
8425 (base32
8426 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
8427 (build-system haskell-build-system)
8428 (home-page "https://hackage.haskell.org/package/hex")
8429 (synopsis "Convert strings into hexadecimal and back")
8430 (description "This package provides conversion functions between
8431 bytestrings and their hexademical representation.")
8432 (license license:bsd-3)))
8433
8434 (define-public ghc-psqueues
8435 (package
8436 (name "ghc-psqueues")
8437 (version "0.2.7.0")
8438 (source
8439 (origin
8440 (method url-fetch)
8441 (uri (string-append "https://hackage.haskell.org/package/"
8442 "psqueues-" version "/"
8443 "psqueues-" version ".tar.gz"))
8444 (sha256
8445 (base32
8446 "1sjgc9bxh63kkdp59nbirx3xazr02ia5yhp4f4a0jnq1hj465wsc"))))
8447 (build-system haskell-build-system)
8448 (inputs
8449 `(("ghc-hashable" ,ghc-hashable)))
8450 (native-inputs
8451 `(("ghc-hunit" ,ghc-hunit)
8452 ("ghc-quickcheck" ,ghc-quickcheck)
8453 ("ghc-tagged" ,ghc-tagged)
8454 ("ghc-test-framework" ,ghc-test-framework)
8455 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8456 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8457 (home-page "https://github.com/jaspervdj/psqueues")
8458 (synopsis "Pure priority search queues")
8459 (description "The psqueues package provides
8460 @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
8461 three different flavors:
8462
8463 @itemize
8464 @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
8465 fast insertion, deletion and lookup. This implementation is based on Ralf
8466 Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
8467 Implementation Technique for Priority Search Queues}.
8468
8469 Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
8470 PSQueue} library, although it is considerably faster and provides a slightly
8471 different API.
8472
8473 @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
8474 key type to @code{Int} and uses a
8475 @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
8476 with an additional min-heap property.
8477
8478 @item @code{HashPSQ k p v} is a fairly straightforward extension
8479 of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
8480 @code{IntPSQ}. If there are any hash collisions, it uses an
8481 @code{OrdPSQ} to resolve those. The performance of this implementation
8482 is comparable to that of @code{IntPSQ}, but it is more widely
8483 applicable since the keys are not restricted to @code{Int},
8484 but rather to any @code{Hashable} datatype.
8485 @end itemize
8486
8487 Each of the three implementations provides the same API, so they can
8488 be used interchangeably.
8489
8490 Typical applications of Priority Search Queues include:
8491
8492 @itemize
8493 @item Caches, and more specifically LRU Caches;
8494 @item Schedulers;
8495 @item Pathfinding algorithms, such as Dijkstra's and A*.
8496 @end itemize")
8497 (license license:bsd-3)))
8498
8499 (define-public ghc-glob
8500 (package
8501 (name "ghc-glob")
8502 (version "0.9.2")
8503 (source
8504 (origin
8505 (method url-fetch)
8506 (uri (string-append "https://hackage.haskell.org/package/"
8507 "Glob-" version "/"
8508 "Glob-" version ".tar.gz"))
8509 (sha256
8510 (base32
8511 "1rbwcq9w9951qsnp13vqcm9r01yax2yh1wk8s4zxa3ckk9717iwg"))))
8512 (build-system haskell-build-system)
8513 (inputs
8514 `(("ghc-dlist" ,ghc-dlist)
8515 ("ghc-semigroups" ,ghc-semigroups)
8516 ("ghc-transformers-compat" ,ghc-transformers-compat)))
8517 (native-inputs
8518 `(("ghc-hunit" ,ghc-hunit)
8519 ("ghc-quickcheck" ,ghc-quickcheck)
8520 ("ghc-test-framework" ,ghc-test-framework)
8521 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8522 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8523 (home-page "http://iki.fi/matti.niemenmaa/glob/")
8524 (synopsis "Haskell library matching glob patterns against file paths")
8525 (description "This package provides a Haskell library for @dfn{globbing}:
8526 matching patterns against file paths.")
8527 (license license:bsd-3)))
8528
8529 (define-public ghc-errors
8530 (package
8531 (name "ghc-errors")
8532 (version "2.3.0")
8533 (source
8534 (origin
8535 (method url-fetch)
8536 (uri (string-append "https://hackage.haskell.org/package/"
8537 "errors-" version "/"
8538 "errors-" version ".tar.gz"))
8539 (sha256
8540 (base32
8541 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
8542 (build-system haskell-build-system)
8543 (inputs
8544 `(("ghc-exceptions" ,ghc-exceptions)
8545 ("ghc-text" ,ghc-text)
8546 ("ghc-transformers-compat" ,ghc-transformers-compat)
8547 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
8548 ("ghc-safe" ,ghc-safe)))
8549 (home-page "https://github.com/gabriel439/haskell-errors-library")
8550 (synopsis "Error handling library for Haskell")
8551 (description "This library encourages an error-handling style that
8552 directly uses the type system, rather than out-of-band exceptions.")
8553 (license license:bsd-3)))
8554
8555 (define-public ghc-vector-th-unbox
8556 (package
8557 (name "ghc-vector-th-unbox")
8558 (version "0.2.1.6")
8559 (source
8560 (origin
8561 (method url-fetch)
8562 (uri (string-append "https://hackage.haskell.org/package/"
8563 "vector-th-unbox-" version "/"
8564 "vector-th-unbox-" version ".tar.gz"))
8565 (sha256
8566 (base32
8567 "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy"))))
8568 (build-system haskell-build-system)
8569 (inputs
8570 `(("ghc-vector" ,ghc-vector)
8571 ("ghc-data-default" ,ghc-data-default)))
8572 (home-page "https://github.com/liyang/vector-th-unbox")
8573 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
8574 (description "This Haskell library provides a Template Haskell
8575 deriver for unboxed vectors, given a pair of coercion functions to
8576 and from some existing type with an Unbox instance.")
8577 (license license:bsd-3)))
8578
8579 (define-public ghc-erf
8580 (package
8581 (name "ghc-erf")
8582 (version "2.0.0.0")
8583 (source
8584 (origin
8585 (method url-fetch)
8586 (uri (string-append "https://hackage.haskell.org/package/"
8587 "erf-" version "/"
8588 "erf-" version ".tar.gz"))
8589 (sha256
8590 (base32
8591 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
8592 (build-system haskell-build-system)
8593 (home-page "https://hackage.haskell.org/package/erf")
8594 (synopsis "The error function, erf, and related functions for Haskell")
8595 (description "This Haskell library provides a type class for the
8596 error function, erf, and related functions. Instances for Float and
8597 Double.")
8598 (license license:bsd-3)))
8599
8600 (define-public ghc-math-functions
8601 (package
8602 (name "ghc-math-functions")
8603 (version "0.2.1.0")
8604 (source
8605 (origin
8606 (method url-fetch)
8607 (uri (string-append "https://hackage.haskell.org/package/"
8608 "math-functions-" version "/"
8609 "math-functions-" version ".tar.gz"))
8610 (sha256
8611 (base32
8612 "1sv5vabsx332v1lpb6v3jv4zrzvpx1n7yprzd8wlcda5vsc5a6zp"))))
8613 (build-system haskell-build-system)
8614 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
8615 (inputs
8616 `(("ghc-vector" ,ghc-vector)
8617 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
8618 (native-inputs
8619 `(("ghc-hunit" ,ghc-hunit)
8620 ("ghc-quickcheck" ,ghc-quickcheck)
8621 ("ghc-erf" ,ghc-erf)
8622 ("ghc-test-framework" ,ghc-test-framework)
8623 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8624 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8625 (home-page "https://github.com/bos/math-functions")
8626 (synopsis "Special functions and Chebyshev polynomials for Haskell")
8627 (description "This Haskell library provides implementations of
8628 special mathematical functions and Chebyshev polynomials. These
8629 functions are often useful in statistical and numerical computing.")
8630 (license license:bsd-3)))
8631
8632 (define-public ghc-mwc-random
8633 (package
8634 (name "ghc-mwc-random")
8635 (version "0.13.6.0")
8636 (source
8637 (origin
8638 (method url-fetch)
8639 (uri (string-append "https://hackage.haskell.org/package/"
8640 "mwc-random-" version "/"
8641 "mwc-random-" version ".tar.gz"))
8642 (sha256
8643 (base32
8644 "05j7yh0hh9nxic3dijmzv44kc6gzclvamdph7sq7w19wq57k6pq6"))))
8645 (build-system haskell-build-system)
8646 (inputs
8647 `(("ghc-primitive" ,ghc-primitive)
8648 ("ghc-vector" ,ghc-vector)
8649 ("ghc-math-functions" ,ghc-math-functions)))
8650 (arguments
8651 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8652 (native-inputs
8653 `(("ghc-hunit" ,ghc-hunit)
8654 ("ghc-quickcheck" ,ghc-quickcheck)
8655 ("ghc-test-framework" ,ghc-test-framework)
8656 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8657 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8658 (home-page "https://github.com/bos/mwc-random")
8659 (synopsis "Random number generation library for Haskell")
8660 (description "This Haskell package contains code for generating
8661 high quality random numbers that follow either a uniform or normal
8662 distribution. The generated numbers are suitable for use in
8663 statistical applications.
8664
8665 The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
8666 multiply-with-carry generator, which has a period of 2^{8222} and
8667 fares well in tests of randomness. It is also extremely fast,
8668 between 2 and 3 times faster than the Mersenne Twister.")
8669 (license license:bsd-3)))
8670
8671 (define-public ghc-vector-algorithms
8672 (package
8673 (name "ghc-vector-algorithms")
8674 (version "0.7.0.4")
8675 (source
8676 (origin
8677 (method url-fetch)
8678 (uri (string-append "https://hackage.haskell.org/package/"
8679 "vector-algorithms-" version "/"
8680 "vector-algorithms-" version ".tar.gz"))
8681 (sha256
8682 (base32
8683 "0mfa8ig9v69l41p2vb5jl4qmaln5y1rlzarr2mlgm8g1nvq8qqdg"))))
8684 (build-system haskell-build-system)
8685 (inputs
8686 `(("ghc-vector" ,ghc-vector)))
8687 (native-inputs
8688 `(("ghc-quickcheck" ,ghc-quickcheck)))
8689 (home-page "https://github.com/bos/math-functions")
8690 (synopsis "Algorithms for vector arrays in Haskell")
8691 (description "This Haskell library algorithms for vector arrays.")
8692 (license license:bsd-3)))
8693
8694 (define-public ghc-language-haskell-extract
8695 (package
8696 (name "ghc-language-haskell-extract")
8697 (version "0.2.4")
8698 (source
8699 (origin
8700 (method url-fetch)
8701 (uri (string-append "https://hackage.haskell.org/package/"
8702 "language-haskell-extract-" version "/"
8703 "language-haskell-extract-" version ".tar.gz"))
8704 (sha256
8705 (base32
8706 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
8707 (build-system haskell-build-system)
8708 (inputs
8709 `(("ghc-regex-posix" ,ghc-regex-posix)))
8710 (home-page "https://github.com/finnsson/template-helper")
8711 (synopsis "Haskell module to automatically extract functions from
8712 the local code")
8713 (description "This package contains helper functions on top of
8714 Template Haskell.
8715
8716 For example, @code{functionExtractor} extracts all functions after a
8717 regexp-pattern, which can be useful if you wish to extract all functions
8718 beginning with @code{test} (for a test framework) or all functions beginning
8719 with @code{wc} (for a web service).")
8720 (license license:bsd-3)))
8721
8722 (define-public ghc-abstract-par
8723 (package
8724 (name "ghc-abstract-par")
8725 (version "0.3.3")
8726 (source
8727 (origin
8728 (method url-fetch)
8729 (uri (string-append "https://hackage.haskell.org/package/"
8730 "abstract-par-" version "/"
8731 "abstract-par-" version ".tar.gz"))
8732 (sha256
8733 (base32
8734 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
8735 (build-system haskell-build-system)
8736 (home-page "https://github.com/simonmar/monad-par")
8737 (synopsis "Abstract parallelization interface for Haskell")
8738 (description "This Haskell package is an abstract interface
8739 only. It provides a number of type clasess, but not an
8740 implementation. The type classes separate different levels
8741 of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
8742 module for more details.")
8743 (license license:bsd-3)))
8744
8745 (define-public ghc-monad-par-extras
8746 (package
8747 (name "ghc-monad-par-extras")
8748 (version "0.3.3")
8749 (source
8750 (origin
8751 (method url-fetch)
8752 (uri (string-append "https://hackage.haskell.org/package/"
8753 "monad-par-extras-" version "/"
8754 "monad-par-extras-" version ".tar.gz"))
8755 (sha256
8756 (base32
8757 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
8758 (build-system haskell-build-system)
8759 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8760 ("ghc-cereal" ,ghc-cereal)
8761 ("ghc-random" ,ghc-random)))
8762 (home-page "https://github.com/simonmar/monad-par")
8763 (synopsis "Combinators and extra features for Par monads for Haskell")
8764 (description "This Haskell package provides additional data structures,
8765 and other added capabilities layered on top of the @code{Par} monad.")
8766 (license license:bsd-3)))
8767
8768 (define-public ghc-abstract-deque
8769 (package
8770 (name "ghc-abstract-deque")
8771 (version "0.3")
8772 (source
8773 (origin
8774 (method url-fetch)
8775 (uri (string-append "https://hackage.haskell.org/package/"
8776 "abstract-deque-" version "/"
8777 "abstract-deque-" version ".tar.gz"))
8778 (sha256
8779 (base32
8780 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
8781 (build-system haskell-build-system)
8782 (inputs `(("ghc-random" ,ghc-random)))
8783 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
8784 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
8785 (description "This Haskell package provides an abstract interface to
8786 highly-parameterizable queues/deques.
8787
8788 Background: There exists a feature space for queues that extends between:
8789
8790 @itemize
8791 @item Simple, single-ended, non-concurrent, bounded queues
8792
8793 @item Double-ended, thread-safe, growable queues with important points
8794 in between (such as the queues used for work stealing).
8795 @end itemize
8796
8797 This package includes an interface for Deques that allows the programmer
8798 to use a single API for all of the above, while using the type system to
8799 select an efficient implementation given the requirements (using type families).
8800
8801 This package also includes a simple reference implementation based on
8802 @code{IORef} and @code{Data.Sequence}.")
8803 (license license:bsd-3)))
8804
8805 (define-public ghc-monad-par
8806 (package
8807 (name "ghc-monad-par")
8808 (version "0.3.4.8")
8809 (source
8810 (origin
8811 (method url-fetch)
8812 (uri (string-append "https://hackage.haskell.org/package/"
8813 "monad-par-" version "/"
8814 "monad-par-" version ".tar.gz"))
8815 (sha256
8816 (base32
8817 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
8818 (build-system haskell-build-system)
8819 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8820 ("ghc-abstract-deque" ,ghc-abstract-deque)
8821 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
8822 ("ghc-mwc-random" ,ghc-mwc-random)
8823 ("ghc-parallel" ,ghc-parallel)))
8824 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
8825 ("ghc-hunit" ,ghc-hunit)
8826 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8827 ("ghc-test-framework-quickcheck2"
8828 ,ghc-test-framework-quickcheck2)
8829 ("ghc-test-framework" ,ghc-test-framework)
8830 ("ghc-test-framework-th" ,ghc-test-framework-th)))
8831 (home-page "https://github.com/simonmar/monad-par")
8832 (synopsis "Haskell library for parallel programming based on a monad")
8833 (description "The @code{Par} monad offers an API for parallel
8834 programming. The library works for parallelising both pure and @code{IO}
8835 computations, although only the pure version is deterministic. The default
8836 implementation provides a work-stealing scheduler and supports forking tasks
8837 that are much lighter weight than IO-threads.")
8838 (license license:bsd-3)))
8839
8840 (define-public ghc-statistics
8841 (package
8842 (name "ghc-statistics")
8843 (version "0.14.0.2")
8844 (source
8845 (origin
8846 (method url-fetch)
8847 (uri (string-append "https://hackage.haskell.org/package/"
8848 "statistics-" version "/"
8849 "statistics-" version ".tar.gz"))
8850 (sha256
8851 (base32
8852 "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l"))))
8853 (build-system haskell-build-system)
8854 (inputs
8855 `(("ghc-aeson" ,ghc-aeson)
8856 ("ghc-base-orphans" ,ghc-base-orphans)
8857 ("ghc-erf" ,ghc-erf)
8858 ("ghc-math-functions" ,ghc-math-functions)
8859 ("ghc-monad-par" ,ghc-monad-par)
8860 ("ghc-mwc-random" ,ghc-mwc-random)
8861 ("ghc-primitive" ,ghc-primitive)
8862 ("ghc-vector" ,ghc-vector)
8863 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
8864 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
8865 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
8866 (native-inputs
8867 `(("ghc-hunit" ,ghc-hunit)
8868 ("ghc-quickcheck" ,ghc-quickcheck)
8869 ("ghc-ieee754" ,ghc-ieee754)
8870 ("ghc-test-framework" ,ghc-test-framework)
8871 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8872 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8873 (arguments
8874 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8875 (home-page "https://github.com/bos/mwc-random")
8876 (synopsis "Haskell library of statistical types, data, and functions")
8877 (description "This library provides a number of common functions
8878 and types useful in statistics. We focus on high performance, numerical
8879 robustness, and use of good algorithms. Where possible, we provide references
8880 to the statistical literature.
8881
8882 The library's facilities can be divided into four broad categories:
8883
8884 @itemize
8885 @item Working with widely used discrete and continuous probability
8886 distributions. (There are dozens of exotic distributions in use; we focus
8887 on the most common.)
8888
8889 @item Computing with sample data: quantile estimation, kernel density
8890 estimation, histograms, bootstrap methods, significance testing,
8891 and regression and autocorrelation analysis.
8892
8893 @item Random variate generation under several different distributions.
8894
8895 @item Common statistical tests for significant differences between samples.
8896 @end itemize")
8897 (license license:bsd-2)))
8898
8899 (define-public ghc-chunked-data
8900 (package
8901 (name "ghc-chunked-data")
8902 (version "0.3.1")
8903 (source
8904 (origin
8905 (method url-fetch)
8906 (uri (string-append "https://hackage.haskell.org/package/"
8907 "chunked-data-" version "/"
8908 "chunked-data-" version ".tar.gz"))
8909 (sha256
8910 (base32
8911 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
8912 (build-system haskell-build-system)
8913 (inputs `(("ghc-vector" ,ghc-vector)
8914 ("ghc-semigroups" ,ghc-semigroups)
8915 ("ghc-text" ,ghc-text)))
8916 (home-page "https://github.com/snoyberg/mono-traversable")
8917 (synopsis "Typeclasses for dealing with various chunked data
8918 representations for Haskell")
8919 (description "This Haskell package was originally present in
8920 classy-prelude.")
8921 (license license:expat)))
8922
8923 (define-public ghc-base-prelude
8924 (package
8925 (name "ghc-base-prelude")
8926 (version "1.3")
8927 (source
8928 (origin
8929 (method url-fetch)
8930 (uri (string-append "https://hackage.haskell.org/package/"
8931 "base-prelude-" version "/"
8932 "base-prelude-" version ".tar.gz"))
8933 (sha256
8934 (base32
8935 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
8936 (build-system haskell-build-system)
8937 (home-page "https://github.com/nikita-volkov/base-prelude")
8938 (synopsis "The most complete prelude formed solely from the Haskell's base
8939 package")
8940 (description "This Haskell package aims to reexport all the non-conflicting
8941 and most general definitions from the \"base\" package.
8942
8943 This includes APIs for applicatives, arrows, monoids, foldables, traversables,
8944 exceptions, generics, ST, MVars and STM.
8945
8946 This package will never have any dependencies other than \"base\".
8947
8948 Versioning policy:
8949
8950 The versioning policy of this package deviates from PVP in the sense
8951 that its exports in part are transitively determined by the version of \"base\".
8952 Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
8953 the bounds of \"base\" as well.")
8954 (license license:expat)))
8955
8956 (define-public ghc-tuple-th
8957 (package
8958 (name "ghc-tuple-th")
8959 (version "0.2.5")
8960 (source
8961 (origin
8962 (method url-fetch)
8963 (uri (string-append "https://hackage.haskell.org/package/"
8964 "tuple-th-" version "/"
8965 "tuple-th-" version ".tar.gz"))
8966 (sha256
8967 (base32
8968 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
8969 (build-system haskell-build-system)
8970 (home-page "https://github.com/DanielSchuessler/tuple-th")
8971 (synopsis "Generate utility functions for tuples of statically known size
8972 for Haskell")
8973 (description "This Haskell package contains Template Haskell functions for
8974 generating functions similar to those in @code{Data.List} for tuples of
8975 statically known size.")
8976 (license license:bsd-3)))
8977
8978 (define-public ghc-contravariant-extras
8979 (package
8980 (name "ghc-contravariant-extras")
8981 (version "0.3.4")
8982 (source
8983 (origin
8984 (method url-fetch)
8985 (uri (string-append "https://hackage.haskell.org/package/"
8986 "contravariant-extras-" version "/"
8987 "contravariant-extras-" version ".tar.gz"))
8988 (sha256
8989 (base32
8990 "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n"))))
8991 (build-system haskell-build-system)
8992 (inputs
8993 `(("ghc-tuple-th" ,ghc-tuple-th)
8994 ("ghc-contravariant" ,ghc-contravariant)
8995 ("ghc-base-prelude" ,ghc-base-prelude)
8996 ("ghc-semigroups" ,ghc-semigroups)))
8997 (home-page "https://github.com/nikita-volkov/contravariant-extras")
8998 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
8999 (description "This Haskell package provides extras for the
9000 @code{ghc-contravariant} package.")
9001 (license license:expat)))
9002
9003 (define-public ghc-monadrandom
9004 (package
9005 (name "ghc-monadrandom")
9006 (version "0.5.1.1")
9007 (source
9008 (origin
9009 (method url-fetch)
9010 (uri (string-append "https://hackage.haskell.org/package/"
9011 "MonadRandom-" version "/"
9012 "MonadRandom-" version ".tar.gz"))
9013 (sha256
9014 (base32
9015 "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb"))))
9016 (build-system haskell-build-system)
9017 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
9018 ("ghc-primitive" ,ghc-primitive)
9019 ("ghc-fail" ,ghc-fail)
9020 ("ghc-random" ,ghc-random)))
9021 (home-page "https://github.com/byorgey/MonadRandom")
9022 (synopsis "Random-number generation monad for Haskell")
9023 (description "This Haskell package provides support for computations
9024 which consume random values.")
9025 (license license:bsd-3)))
9026
9027 (define-public ghc-either
9028 (package
9029 (name "ghc-either")
9030 (version "4.4.1.1")
9031 (source
9032 (origin
9033 (method url-fetch)
9034 (uri (string-append "https://hackage.haskell.org/package/"
9035 "either-" version "/"
9036 "either-" version ".tar.gz"))
9037 (sha256
9038 (base32
9039 "1lrlwqqnm6ibfcydlv5qvvssw7bm0c6yypy0rayjzv1znq7wp1xh"))))
9040 (build-system haskell-build-system)
9041 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
9042 ("ghc-exceptions" ,ghc-exceptions)
9043 ("ghc-free" ,ghc-free)
9044 ("ghc-monad-control" ,ghc-monad-control)
9045 ("ghc-manodrandom" ,ghc-monadrandom)
9046 ("ghc-mmorph" ,ghc-mmorph)
9047 ("ghc-profunctors" ,ghc-profunctors)
9048 ("ghc-semigroups" ,ghc-semigroups)
9049 ("ghc-semigroupoids" ,ghc-semigroupoids)
9050 ("ghc-transformers-base" ,ghc-transformers-base)))
9051 (home-page "https://github.com/ekmett/either")
9052 (synopsis "Provides an either monad transformer for Haskell")
9053 (description "This Haskell package provides an either monad transformer.")
9054 (license license:bsd-3)))
9055
9056 (define-public ghc-pretty-hex
9057 (package
9058 (name "ghc-pretty-hex")
9059 (version "1.0")
9060 (source
9061 (origin
9062 (method url-fetch)
9063 (uri (string-append "https://hackage.haskell.org/package/"
9064 "pretty-hex-" version "/"
9065 "pretty-hex-" version ".tar.gz"))
9066 (sha256
9067 (base32
9068 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
9069 (build-system haskell-build-system)
9070 (home-page "https://github.com/GaloisInc/hexdump")
9071 (synopsis "Haskell library for hex dumps of ByteStrings")
9072 (description "This Haskell library generates pretty hex dumps of
9073 ByteStrings in the style of other common *nix hex dump tools.")
9074 (license license:bsd-3)))
9075
9076 (define-public ghc-network-info
9077 (package
9078 (name "ghc-network-info")
9079 (version "0.2.0.10")
9080 (source
9081 (origin
9082 (method url-fetch)
9083 (uri (string-append "https://hackage.haskell.org/package/"
9084 "network-info-" version "/"
9085 "network-info-" version ".tar.gz"))
9086 (sha256
9087 (base32
9088 "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n"))))
9089 (build-system haskell-build-system)
9090 (home-page "https://github.com/jystic/network-info")
9091 (synopsis "Access the local computer's basic network configuration")
9092 (description "This Haskell library provides simple read-only access to the
9093 local computer's networking configuration. It is currently capable of
9094 getting a list of all the network interfaces and their respective
9095 IPv4, IPv6 and MAC addresses.")
9096 (license license:bsd-3)))
9097
9098 (define-public ghc-uuid-types
9099 (package
9100 (name "ghc-uuid-types")
9101 (version "1.0.3")
9102 (source
9103 (origin
9104 (method url-fetch)
9105 (uri (string-append "https://hackage.haskell.org/package/"
9106 "uuid-types-" version "/"
9107 "uuid-types-" version ".tar.gz"))
9108 (sha256
9109 (base32
9110 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
9111 (build-system haskell-build-system)
9112 (arguments
9113 `(#:phases
9114 (modify-phases %standard-phases
9115 (add-before 'configure 'strip-test-framework-constraints
9116 (lambda _
9117 (substitute* "uuid-types.cabal"
9118 (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
9119 (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
9120 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
9121 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
9122 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
9123 (inputs `(("ghc-hashable" ,ghc-hashable)
9124 ("ghc-random" ,ghc-random)
9125 ("ghc-text" ,ghc-text)))
9126 (native-inputs `(("ghc-hunit" ,ghc-hunit)
9127 ("ghc-quickcheck" ,ghc-quickcheck)
9128 ("ghc-tasty" ,ghc-tasty)
9129 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9130 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
9131 (home-page "https://github.com/hvr/uuid")
9132 (synopsis "Haskell type definitions for UUIDs")
9133 (description "This Haskell library contains type definitions for
9134 @dfn{Universally Unique Identifiers} or
9135 @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
9136 functions.")
9137 (license license:bsd-3)))
9138
9139 (define-public ghc-uuid
9140 (package
9141 (name "ghc-uuid")
9142 (version "1.3.13")
9143 (source
9144 (origin
9145 (method url-fetch)
9146 (uri (string-append "https://hackage.haskell.org/package/"
9147 "uuid-" version "/"
9148 "uuid-" version ".tar.gz"))
9149 (sha256
9150 (base32
9151 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
9152 (build-system haskell-build-system)
9153 (arguments
9154 `(#:cabal-revision
9155 ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
9156 #:phases
9157 (modify-phases %standard-phases
9158 (add-before 'configure 'strip-test-framework-constraints
9159 (lambda _
9160 (substitute* "uuid.cabal"
9161 (("HUnit >= 1\\.2 && < 1\\.4") "HUnit")
9162 (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck")
9163 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
9164 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
9165 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
9166 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
9167 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
9168 ("ghc-entropy" ,ghc-entropy)
9169 ("ghc-network-info" ,ghc-network-info)
9170 ("ghc-random" ,ghc-random)
9171 ("ghc-text" ,ghc-text)
9172 ("ghc-uuid-types" ,ghc-uuid-types)))
9173 (native-inputs `(("ghc-hunit" ,ghc-hunit)
9174 ("ghc-quickcheck" ,ghc-quickcheck)
9175 ("ghc-tasty" ,ghc-tasty)
9176 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9177 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
9178 (home-page "https://github.com/hvr/uuid")
9179 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
9180 (description "This Haskell library provides utilities creating, comparing,
9181 parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
9182 (license license:bsd-3)))
9183
9184 (define-public ghc-rebase
9185 (package
9186 (name "ghc-rebase")
9187 (version "1.1")
9188 (source
9189 (origin
9190 (method url-fetch)
9191 (uri (string-append "https://hackage.haskell.org/package/"
9192 "rebase-" version "/"
9193 "rebase-" version ".tar.gz"))
9194 (sha256
9195 (base32
9196 "1qkhnpcc4g2vd6jmbf3b6psqkan6hyawqzrwzqdd931hsb02l6ia"))))
9197 (build-system haskell-build-system)
9198 (inputs `(("ghc-stm" ,ghc-stm)
9199 ("ghc-hashable" ,ghc-hashable)
9200 ("ghc-vector" ,ghc-vector)
9201 ("ghc-unordered-containers" ,ghc-unordered-containers)
9202 ("ghc-text" ,ghc-text)
9203 ("ghc-scientific" ,ghc-scientific)
9204 ("ghc-uuid" ,ghc-uuid)
9205 ("ghc-dlist" ,ghc-dlist)
9206 ("ghc-void" ,ghc-void)
9207 ("ghc-bifunctors" ,ghc-bifunctors)
9208 ("ghc-profunctors" ,ghc-profunctors)
9209 ("ghc-contravariant" ,ghc-contravariant)
9210 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
9211 ("ghc-semigroups" ,ghc-semigroups)
9212 ("ghc-either" ,ghc-either)
9213 ("ghc-fail" ,ghc-fail)
9214 ("ghc-base-prelude" ,ghc-base-prelude)))
9215 (home-page "https://github.com/nikita-volkov/rebase")
9216 (synopsis "Progressive alternative to the base package
9217 for Haskell")
9218 (description "This Haskell package is intended for those who are
9219 tired of keeping long lists of dependencies to the same essential libraries
9220 in each package as well as the endless imports of the same APIs all over again.
9221
9222 It also supports the modern tendencies in the language.
9223
9224 To solve those problems this package does the following:
9225
9226 @itemize
9227 @item Reexport the original APIs under the @code{Rebase} namespace.
9228
9229 @item Export all the possible non-conflicting symbols from the
9230 @code{Rebase.Prelude} module.
9231
9232 @item Give priority to the modern practices in the conflicting cases.
9233 @end itemize
9234
9235 The policy behind the package is only to reexport the non-ambiguous and
9236 non-controversial APIs, which the community has obviously settled on.
9237 The package is intended to rapidly evolve with the contribution from
9238 the community, with the missing features being added with pull-requests.")
9239 (license license:expat)))
9240
9241 (define-public ghc-vector-builder
9242 (package
9243 (name "ghc-vector-builder")
9244 (version "0.3.1")
9245 (source
9246 (origin
9247 (method url-fetch)
9248 (uri (string-append "https://hackage.haskell.org/package/"
9249 "vector-builder-" version "/"
9250 "vector-builder-" version ".tar.gz"))
9251 (sha256
9252 (base32
9253 "1l6sfgd2s107zkp1qd1w6jdjcbznp31769qf99pxar087f697wvp"))))
9254 (build-system haskell-build-system)
9255 (inputs `(("ghc-vector" ,ghc-vector)
9256 ("ghc-semigroups" ,ghc-semigroups)
9257 ("ghc-base-prelude" ,ghc-base-prelude)))
9258 (native-inputs `(("ghc-tasty" ,ghc-tasty)
9259 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9260 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9261 ("ghc-hunit" ,ghc-hunit)
9262 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9263 ("ghc-rebase" ,ghc-rebase)))
9264 (home-page "https://github.com/nikita-volkov/vector-builder")
9265 (synopsis "Vector builder for Haskell")
9266 (description "This Haskell package provides an API for constructing vectors.
9267 It provides the composable @code{Builder} abstraction, which has instances of the
9268 @code{Monoid} and @code{Semigroup} classes.
9269
9270 You would first use the @code{Builder} abstraction to specify the structure of
9271 the vector; then you can execute the builder to actually produce the
9272 vector. ")
9273 (license license:expat)))
9274
9275 (define-public ghc-foldl
9276 (package
9277 (name "ghc-foldl")
9278 (version "1.3.5")
9279 (source
9280 (origin
9281 (method url-fetch)
9282 (uri (string-append "https://hackage.haskell.org/package/"
9283 "foldl-" version "/"
9284 "foldl-" version ".tar.gz"))
9285 (sha256
9286 (base32
9287 "10qsp7dj2xsq4q2xm6x6b12y5pq32qf7my41hnkmdwwbccvhdxb2"))))
9288 (build-system haskell-build-system)
9289 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
9290 ("ghc-primitive" ,ghc-primitive)
9291 ("ghc-text" ,ghc-text)
9292 ("ghc-vector" ,ghc-vector)
9293 ("ghc-unordered-containers" ,ghc-unordered-containers)
9294 ("ghc-hashable" ,ghc-hashable)
9295 ("ghc-contravariant" ,ghc-contravariant)
9296 ("ghc-profunctors" ,ghc-profunctors)
9297 ("ghc-comonad" ,ghc-comonad)
9298 ("ghc-vector-builder" ,ghc-vector-builder)))
9299 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
9300 (synopsis "Composable, streaming, and efficient left folds for Haskell")
9301 (description "This Haskell library provides strict left folds that stream
9302 in constant memory, and you can combine folds using @code{Applicative} style
9303 to derive new folds. Derived folds still traverse the container just once
9304 and are often as efficient as hand-written folds.")
9305 (license license:bsd-3)))
9306
9307 (define-public ghc-mono-traversable
9308 (package
9309 (name "ghc-mono-traversable")
9310 (version "1.0.9.0")
9311 (source
9312 (origin
9313 (method url-fetch)
9314 (uri (string-append "https://hackage.haskell.org/package/"
9315 "mono-traversable-" version "/"
9316 "mono-traversable-" version ".tar.gz"))
9317 (sha256
9318 (base32
9319 "0180ks0dyvpk1r20w5jw2w2n79mjnk69n9vhspaxzlyxqgim5psa"))))
9320 (build-system haskell-build-system)
9321 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
9322 ("ghc-hashable" ,ghc-hashable)
9323 ("ghc-text" ,ghc-text)
9324 ("ghc-vector" ,ghc-vector)
9325 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
9326 ("ghc-split" ,ghc-split)))
9327 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9328 ("ghc-hunit" ,ghc-hunit)
9329 ("ghc-quickcheck" ,ghc-quickcheck)
9330 ("ghc-semigroups" ,ghc-semigroups)
9331 ("ghc-foldl" ,ghc-foldl)))
9332 (home-page "https://github.com/snoyberg/mono-traversable")
9333 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
9334 containers")
9335 (description "This Haskell package provides Monomorphic variants of the
9336 Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
9337 basic typeclasses, you understand mono-traversable. In addition to what
9338 you are used to, it adds on an IsSequence typeclass and has code for marking
9339 data structures as non-empty.")
9340 (license license:expat)))
9341
9342 (define-public ghc-conduit-combinators
9343 (package
9344 (name "ghc-conduit-combinators")
9345 (version "1.3.0")
9346 (source
9347 (origin
9348 (method url-fetch)
9349 (uri (string-append "https://hackage.haskell.org/package/"
9350 "conduit-combinators-" version "/"
9351 "conduit-combinators-" version ".tar.gz"))
9352 (sha256
9353 (base32
9354 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
9355 (build-system haskell-build-system)
9356 (inputs `(("ghc-conduit" ,ghc-conduit)
9357 ("ghc-conduit-extra" ,ghc-conduit-extra)
9358 ("ghc-transformers-base" ,ghc-transformers-base)
9359 ("ghc-primitive" ,ghc-primitive)
9360 ("ghc-vector" ,ghc-vector)
9361 ("ghc-text" ,ghc-text)
9362 ("ghc-void" ,ghc-void)
9363 ("ghc-mwc-random" ,ghc-mwc-random)
9364 ("ghc-unix-compat" ,ghc-unix-compat)
9365 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9366 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9367 ("ghc-resourcet" ,ghc-resourcet)
9368 ("ghc-monad-control" ,ghc-monad-control)
9369 ("ghc-chunked-data" ,ghc-chunked-data)
9370 ("ghc-mono-traversable" ,ghc-mono-traversable)))
9371 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9372 ("ghc-silently" ,ghc-silently)
9373 ("ghc-safe" ,ghc-safe)
9374 ("ghc-quickcheck" ,ghc-quickcheck)))
9375 (home-page "https://github.com/snoyberg/mono-traversable")
9376 (synopsis "Commonly used conduit functions, for both chunked and
9377 unchunked data")
9378 (description "This Haskell package provides a replacement for Data.Conduit.List,
9379 as well as a convenient Conduit module.")
9380 (license license:expat)))
9381
9382 (define-public ghc-aws
9383 (package
9384 (name "ghc-aws")
9385 (version "0.18")
9386 (source
9387 (origin
9388 (method url-fetch)
9389 (uri (string-append "https://hackage.haskell.org/package/"
9390 "aws-" version "/aws-" version ".tar.gz"))
9391 (sha256 (base32
9392 "0h7473wkvc5xjzx5fd5k5fp70rjq5gqmn1cpy95mswvvfsq3irxj"))))
9393 (build-system haskell-build-system)
9394 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
9395 (inputs
9396 `(("ghc-aeson" ,ghc-aeson)
9397 ("ghc-attoparsec" ,ghc-attoparsec)
9398 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9399 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9400 ("ghc-blaze-builder" ,ghc-blaze-builder)
9401 ("ghc-byteable" ,ghc-byteable)
9402 ("ghc-case-insensitive" ,ghc-case-insensitive)
9403 ("ghc-cereal" ,ghc-cereal)
9404 ("ghc-conduit" ,ghc-conduit)
9405 ("ghc-conduit-extra" ,ghc-conduit-extra)
9406 ("ghc-cryptonite" ,ghc-cryptonite)
9407 ("ghc-data-default" ,ghc-data-default)
9408 ("ghc-http-conduit" ,ghc-http-conduit)
9409 ("ghc-http-types" ,ghc-http-types)
9410 ("ghc-monad-control" ,ghc-monad-control)
9411 ("ghc-network" ,ghc-network)
9412 ("ghc-old-locale" ,ghc-old-locale)
9413 ("ghc-safe" ,ghc-safe)
9414 ("ghc-scientific" ,ghc-scientific)
9415 ("ghc-tagged" ,ghc-tagged)
9416 ("ghc-text" ,ghc-text)
9417 ("ghc-unordered-containers" ,ghc-unordered-containers)
9418 ("ghc-utf8-string" ,ghc-utf8-string)
9419 ("ghc-vector" ,ghc-vector)
9420 ("ghc-xml-conduit" ,ghc-xml-conduit)))
9421 (native-inputs
9422 `(("ghc-quickcheck" ,ghc-quickcheck)
9423 ("ghc-errors" ,ghc-errors)
9424 ("ghc-http-client" ,ghc-http-client)
9425 ("ghc-http-client-tls" ,ghc-http-client-tls)
9426 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9427 ("ghc-tasty" ,ghc-tasty)
9428 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9429 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9430 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
9431 (home-page "https://github.com/aristidb/aws")
9432 (synopsis "Amazon Web Services for Haskell")
9433 (description "This package attempts to provide support for using
9434 Amazon Web Services like S3 (storage), SQS (queuing) and others to
9435 Haskell programmers. The ultimate goal is to support all Amazon
9436 Web Services.")
9437 (license license:bsd-3)))
9438
9439 (define-public ghc-basement
9440 (package
9441 (name "ghc-basement")
9442 (version "0.0.8")
9443 (source
9444 (origin
9445 (method url-fetch)
9446 (uri (string-append "https://hackage.haskell.org/package/"
9447 "basement/basement-" version ".tar.gz"))
9448 (sha256
9449 (base32
9450 "194jw567di4q2758943q9rrwkbf9gl261my7qc21i9xhyabipx67"))))
9451 (build-system haskell-build-system)
9452 (home-page "https://github.com/haskell-foundation/foundation")
9453 (synopsis "Basic primitives for Foundation starter pack")
9454 (description
9455 "This package contains basic primitives for the Foundation set of
9456 packages.")
9457 (license license:bsd-3)))
9458
9459 (define-public ghc-foundation
9460 (package
9461 (name "ghc-foundation")
9462 (version "0.0.21")
9463 (source
9464 (origin
9465 (method url-fetch)
9466 (uri (string-append "https://hackage.haskell.org/package/"
9467 "foundation/foundation-" version ".tar.gz"))
9468 (sha256
9469 (base32
9470 "1q43y8wfj0wf9gdq2kzphwjwq6m5pvryy1lqgk954aq5z3ks1lsf"))))
9471 (build-system haskell-build-system)
9472 (arguments
9473 `(#:phases
9474 (modify-phases %standard-phases
9475 (add-after 'unpack 'add-setup-script
9476 (lambda _
9477 ;; The usual "Setup.hs" script is missing from the source.
9478 (with-output-to-file "Setup.hs"
9479 (lambda ()
9480 (format #t "import Distribution.Simple~%")
9481 (format #t "main = defaultMain~%"))))))))
9482 (inputs `(("ghc-basement" ,ghc-basement)))
9483 (home-page "https://github.com/haskell-foundation/foundation")
9484 (synopsis "Alternative prelude with batteries and no dependencies")
9485 (description
9486 "This package provides a custom prelude with no dependencies apart from
9487 the base package.
9488
9489 Foundation has the following goals:
9490
9491 @enumerate
9492 @item provide a base like sets of modules that provide a consistent set of
9493 features and bugfixes across multiple versions of GHC (unlike base).
9494 @item provide a better and more efficient prelude than base's prelude.
9495 @item be self-sufficient: no external dependencies apart from base;
9496 @item provide better data-types: packed unicode string by default, arrays;
9497 @item Numerical classes that better represent mathematical things (no more
9498 all-in-one @code{Num});
9499 @item I/O system with less lazy IO.
9500 @end enumerate\n")
9501 (license license:bsd-3)))
9502
9503 (define-public ghc-stm-chans
9504 (package
9505 (name "ghc-stm-chans")
9506 (version "3.0.0.4")
9507 (source
9508 (origin
9509 (method url-fetch)
9510 (uri (string-append "https://hackage.haskell.org/package/"
9511 "stm-chans-" version "/"
9512 "stm-chans-" version ".tar.gz"))
9513 (sha256
9514 (base32
9515 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
9516 (build-system haskell-build-system)
9517 (inputs `(("ghc-stm" ,ghc-stm)))
9518 (home-page "https://hackage.haskell.org/package/stm-chans")
9519 (synopsis "Additional types of channels for ghc-stm")
9520 (description "This Haskell package offers a collection of channel types,
9521 similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
9522 features.")
9523 (license license:bsd-3)))
9524
9525 (define-public ghc-monad-loops
9526 (package
9527 (name "ghc-monad-loops")
9528 (version "0.4.3")
9529 (source
9530 (origin
9531 (method url-fetch)
9532 (uri (string-append "https://hackage.haskell.org/package/"
9533 "monad-loops-" version "/"
9534 "monad-loops-" version ".tar.gz"))
9535 (sha256
9536 (base32
9537 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
9538 (build-system haskell-build-system)
9539 (native-inputs `(("ghc-tasty" ,ghc-tasty)
9540 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9541 (home-page "https://github.com/mokus0/monad-loops")
9542 (synopsis "Monadic loops for Haskell")
9543 (description "This Haskell package provides some useful control
9544 operators for looping.")
9545 (license license:public-domain)))
9546
9547 (define-public ghc-monad-logger
9548 (package
9549 (name "ghc-monad-logger")
9550 (version "0.3.25.1")
9551 (source
9552 (origin
9553 (method url-fetch)
9554 (uri (string-append "https://hackage.haskell.org/package/"
9555 "monad-logger-" version "/"
9556 "monad-logger-" version ".tar.gz"))
9557 (sha256
9558 (base32
9559 "0yv4fsi566zrn30j2g5l901lyqgmflhvzy4hji7ikcbh5d45m920"))))
9560 (build-system haskell-build-system)
9561 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
9562 ("ghc-text" ,ghc-text)
9563 ("ghc-stm" ,ghc-stm)
9564 ("ghc-stm-chans" ,ghc-stm-chans)
9565 ("ghc-lifted-base" ,ghc-lifted-base)
9566 ("ghc-resourcet" ,ghc-resourcet)
9567 ("ghc-conduit" ,ghc-conduit)
9568 ("ghc-conduit-extra" ,ghc-conduit-extra)
9569 ("ghc-fast-logger" ,ghc-fast-logger)
9570 ("ghc-transformers-base" ,ghc-transformers-base)
9571 ("ghc-monad-control" ,ghc-monad-control)
9572 ("ghc-monad-loops" ,ghc-monad-loops)
9573 ("ghc-blaze-builder" ,ghc-blaze-builder)
9574 ("ghc-exceptions" ,ghc-exceptions)))
9575 (home-page "https://github.com/kazu-yamamoto/logger")
9576 (synopsis "Provides a class of monads which can log messages for Haskell")
9577 (description "This Haskell package uses a monad transformer approach
9578 for logging.
9579
9580 This package provides Template Haskell functions for determining source
9581 code locations of messages.")
9582 (license license:expat)))
9583
9584 (define-public ghc-shakespeare
9585 (package
9586 (name "ghc-shakespeare")
9587 (version "2.0.14")
9588 (source
9589 (origin
9590 (method url-fetch)
9591 (uri (string-append "https://hackage.haskell.org/package/"
9592 "shakespeare-" version "/"
9593 "shakespeare-" version ".tar.gz"))
9594 (sha256
9595 (base32
9596 "0j5zx8ka7d7scvb9shm7k3376qzl3k4kpim9aqqfs6n86901zpl4"))))
9597 (build-system haskell-build-system)
9598 (inputs `(("ghc-parsec" ,ghc-parsec)
9599 ("ghc-text" ,ghc-text)
9600 ("ghc-aeson" ,ghc-aeson)
9601 ("ghc-blaze-markup" ,ghc-blaze-markup)
9602 ("ghc-blaze-html" ,ghc-blaze-html)
9603 ("ghc-exceptions" ,ghc-exceptions)
9604 ("ghc-vector" ,ghc-vector)
9605 ("ghc-unordered-containers" ,ghc-unordered-containers)
9606 ("ghc-scientific" ,ghc-scientific)))
9607 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9608 ("ghc-hunit" ,ghc-hunit)
9609 ("hspec-discover" ,hspec-discover)))
9610 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
9611 (synopsis "Family of type-safe template languages for Haskell")
9612 (description "This Haskell package provides a family of type-safe
9613 templates with simple variable interpolation. Shakespeare templates can
9614 be used inline with a quasi-quoter or in an external file and it
9615 interpolates variables according to the type being inserted.")
9616 (license license:expat)))
9617
9618 (define-public ghc-securemem
9619 (package
9620 (name "ghc-securemem")
9621 (version "0.1.10")
9622 (source
9623 (origin
9624 (method url-fetch)
9625 (uri (string-append "https://hackage.haskell.org/package/"
9626 "securemem-" version "/"
9627 "securemem-" version ".tar.gz"))
9628 (sha256
9629 (base32
9630 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
9631 (build-system haskell-build-system)
9632 (inputs `(("ghc-byteable" ,ghc-byteable)
9633 ("ghc-memory" ,ghc-memory)))
9634 (home-page "https://github.com/vincenthz/hs-securemem")
9635 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
9636 Haskell")
9637 (description "SecureMem is similar to ByteString, except that it provides
9638 a memory chunk that will be auto-scrubbed after it run out of scope.")
9639 (license license:bsd-3)))
9640
9641 (define-public ghc-resource-pool
9642 (package
9643 (name "ghc-resource-pool")
9644 (version "0.2.3.2")
9645 (source
9646 (origin
9647 (method url-fetch)
9648 (uri (string-append "https://hackage.haskell.org/package/"
9649 "resource-pool-" version "/"
9650 "resource-pool-" version ".tar.gz"))
9651 (sha256
9652 (base32
9653 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
9654 (build-system haskell-build-system)
9655 (inputs `(("ghc-hashable" ,ghc-hashable)
9656 ("ghc-monad-control" ,ghc-monad-control)
9657 ("ghc-transformers-base" ,ghc-transformers-base)
9658 ("ghc-stm" ,ghc-stm)
9659 ("ghc-vector" ,ghc-vector)))
9660 (home-page "https://github.com/bos/pool")
9661 (synopsis "Striped resource pooling implementation in Haskell")
9662 (description "This Haskell package provides striped pooling abstraction
9663 for managing flexibly-sized collections of resources such as database
9664 connections.")
9665 (license license:bsd-3)))
9666
9667 (define-public ghc-attoparsec-iso8601
9668 (package
9669 (name "ghc-attoparsec-iso8601")
9670 (version "1.0.0.0")
9671 (source
9672 (origin
9673 (method url-fetch)
9674 (uri (string-append "https://hackage.haskell.org/package/"
9675 "attoparsec-iso8601-" version "/"
9676 "attoparsec-iso8601-" version ".tar.gz"))
9677 (sha256
9678 (base32
9679 "12l55b76bhya9q89mfmqmy6sl5v39b6gzrw5rf3f70vkb23nsv5a"))))
9680 (build-system haskell-build-system)
9681 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9682 ("ghc-base-compat" ,ghc-base-compat)
9683 ("ghc-text" ,ghc-text)))
9684 (home-page "https://github.com/bos/aeson")
9685 (synopsis "Parse ISO 8601 dates")
9686 (description "Haskell library for parsing of ISO 8601 dates, originally
9687 from aeson.")
9688 (license license:bsd-3)))
9689
9690 (define-public ghc-generics-sop
9691 (package
9692 (name "ghc-generics-sop")
9693 (version "0.3.2.0")
9694 (source
9695 (origin
9696 (method url-fetch)
9697 (uri (string-append "https://hackage.haskell.org/package/"
9698 "generics-sop-" version "/"
9699 "generics-sop-" version ".tar.gz"))
9700 (sha256
9701 (base32
9702 "168v62i845jh9jbfaz3ldz8svz4wmzq9mf2vhb7pxlnbkk8fqq1h"))))
9703 (build-system haskell-build-system)
9704 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)))
9705 (home-page "https://github.com/well-typed/generics-sop")
9706 (synopsis "Generic Programming using True Sums of Products for Haskell")
9707 (description "This Haskell package supports the definition of generic
9708 functions. Datatypes are viewed in a uniform, structured way: the choice
9709 between constructors is represented using an n-ary sum, and the arguments of
9710 each constructor are represented using an n-ary product.")
9711 (license license:bsd-3)))
9712
9713 (define-public ghc-uri-bytestring
9714 (package
9715 (name "ghc-uri-bytestring")
9716 (version "0.3.1.0")
9717 (source
9718 (origin
9719 (method url-fetch)
9720 (uri (string-append "https://hackage.haskell.org/package/"
9721 "uri-bytestring-" version "/"
9722 "uri-bytestring-" version ".tar.gz"))
9723 (sha256
9724 (base32
9725 "04qjv1sgyrdg538290p9hqnvyxnahvr5cjwl8vm1rn9j0fv3ymq9"))))
9726 (build-system haskell-build-system)
9727 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9728 ("ghc-fail" ,ghc-fail)
9729 ("ghc-blaze-builder" ,ghc-blaze-builder)
9730 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
9731 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9732 ("ghc-hunit" ,ghc-hunit)
9733 ("ghc-quickcheck" ,ghc-quickcheck)
9734 ("ghc-tasty" ,ghc-tasty)
9735 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9736 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9737 ("ghc-base-compat" ,ghc-base-compat)
9738 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9739 ("ghc-semigroups" ,ghc-semigroups)
9740 ("ghc-generics-sop" ,ghc-generics-sop)))
9741 (home-page "https://github.com/Soostone/uri-bytestring")
9742 (synopsis "Haskell URI parsing as ByteStrings")
9743 (description "This Haskell package aims to be an RFC3986 compliant URI
9744 parser that uses ByteStrings for parsing and representing the URI data.")
9745 (license license:bsd-3)))
9746
9747 (define-public ghc-http-api-data
9748 (package
9749 (name "ghc-http-api-data")
9750 (version "0.3.7.1")
9751 (source
9752 (origin
9753 (method url-fetch)
9754 (uri (string-append "https://hackage.haskell.org/package/"
9755 "http-api-data-" version "/"
9756 "http-api-data-" version ".tar.gz"))
9757 (sha256
9758 (base32
9759 "1zbmf0kkfsw7pfznisi205gh7jd284gfarxsyiavd2iw26akwqwc"))))
9760 (build-system haskell-build-system)
9761 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.9
9762 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9763 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
9764 ("ghc-hashable" ,ghc-hashable)
9765 ("ghc-http-types" ,ghc-http-types)
9766 ("ghc-text" ,ghc-text)
9767 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9768 ("ghc-unordered-containers" ,ghc-unordered-containers)
9769 ("ghc-uri-bytestring" ,ghc-uri-bytestring)
9770 ("ghc-uuid-types" ,ghc-uuid-types)))
9771 (home-page "https://github.com/fizruk/http-api-data")
9772 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
9773 query parameters")
9774 (description "This Haskell package defines typeclasses used for converting
9775 Haskell data types to and from HTTP API data.")
9776 (license license:bsd-3)))
9777
9778 (define-public ghc-persistent
9779 (package
9780 (name "ghc-persistent")
9781 (version "2.7.3.1")
9782 (source
9783 (origin
9784 (method url-fetch)
9785 (uri (string-append "https://hackage.haskell.org/package/"
9786 "persistent-" version "/"
9787 "persistent-" version ".tar.gz"))
9788 (sha256
9789 (base32
9790 "1jbvavdvr9qz5ld7vf6l1jgiadhmxx6zc4vqsdk9ivfq6d5wlg1p"))))
9791 (build-system haskell-build-system)
9792 (inputs `(("ghc-old-locale" ,ghc-old-locale)
9793 ("ghc-text" ,ghc-text)
9794 ("ghc-conduit" ,ghc-conduit)
9795 ("ghc-resourcet" ,ghc-resourcet)
9796 ("ghc-exceptions" ,ghc-exceptions)
9797 ("ghc-monad-control" ,ghc-monad-control)
9798 ("ghc-lifted-base" ,ghc-lifted-base)
9799 ("ghc-resource-pool" ,ghc-resource-pool)
9800 ("ghc-path-pieces" ,ghc-path-pieces)
9801 ("ghc-http-api-data" ,ghc-http-api-data)
9802 ("ghc-aeson" ,ghc-aeson)
9803 ("ghc-monad-logger" ,ghc-monad-logger)
9804 ("ghc-transformers-base" ,ghc-transformers-base)
9805 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9806 ("ghc-unordered-containers" ,ghc-unordered-containers)
9807 ("ghc-vector" ,ghc-vector)
9808 ("ghc-attoparsec" ,ghc-attoparsec)
9809 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)
9810 ("ghc-blaze-html" ,ghc-blaze-html)
9811 ("ghc-blaze-markup" ,ghc-blaze-markup)
9812 ("ghc-silently" ,ghc-silently)
9813 ("ghc-fast-logger" ,ghc-fast-logger)
9814 ("ghc-scientific" ,ghc-scientific)
9815 ("ghc-tagged" ,ghc-tagged)))
9816 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9817 (home-page "https://www.yesodweb.com/book/persistent")
9818 (synopsis "Type-safe, multi-backend data serialization for Haskell")
9819 (description "This Haskell package allows Haskell programs to access data
9820 storage sytems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
9821 way.")
9822 (license license:expat)))
9823
9824 (define-public ghc-aeson-compat
9825 (package
9826 (name "ghc-aeson-compat")
9827 (version "0.3.7.1")
9828 (source
9829 (origin
9830 (method url-fetch)
9831 (uri (string-append "https://hackage.haskell.org/package/"
9832 "aeson-compat-" version "/"
9833 "aeson-compat-" version ".tar.gz"))
9834 (sha256
9835 (base32
9836 "1jya3lm9imclhb8qqihv39hhb62vvs3qpws7pc5fc23vwg0hsx2r"))))
9837 (build-system haskell-build-system)
9838 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
9839 (inputs `(("ghc-base-compat" ,ghc-base-compat)
9840 ("ghc-aeson" ,ghc-aeson)
9841 ("ghc-attoparsec" ,ghc-attoparsec)
9842 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
9843 ("ghc-exceptions" ,ghc-exceptions)
9844 ("ghc-hashable" ,ghc-hashable)
9845 ("ghc-scientific" ,ghc-scientific)
9846 ("ghc-text" ,ghc-text)
9847 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9848 ("ghc-unordered-containers" ,ghc-unordered-containers)
9849 ("ghc-vector" ,ghc-vector)
9850 ("ghc-tagged" ,ghc-tagged)
9851 ("ghc-semigroups" ,ghc-semigroups)
9852 ("ghc-nats" ,ghc-nats)))
9853 (home-page "https://github.com/phadej/aeson-compat")
9854 (synopsis "Compatibility layer for ghc-aeson")
9855 (description "This Haskell package provides compatibility layer for
9856 ghc-aeson.")
9857 (license license:bsd-3)))
9858
9859 (define-public ghc-persistent-template
9860 (package
9861 (name "ghc-persistent-template")
9862 (version "2.5.3.1")
9863 (source
9864 (origin
9865 (method url-fetch)
9866 (uri (string-append "https://hackage.haskell.org/package/"
9867 "persistent-template-" version "/"
9868 "persistent-template-" version ".tar.gz"))
9869 (sha256
9870 (base32
9871 "0449piw3n02q7dag7k1pakfmzmf3ms4wk1qmnagczpm1ckajinwd"))))
9872 (build-system haskell-build-system)
9873 (inputs `(("ghc-persistent" ,ghc-persistent)
9874 ("ghc-monad-control" ,ghc-monad-control)
9875 ("ghc-text" ,ghc-text)
9876 ("ghc-aeson" ,ghc-aeson)
9877 ("ghc-aeson-compat" ,ghc-aeson-compat)
9878 ("ghc-monad-logger" ,ghc-monad-logger)
9879 ("ghc-unordered-containers" ,ghc-unordered-containers)
9880 ("ghc-tagged" ,ghc-tagged)
9881 ("ghc-path-pieces" ,ghc-path-pieces)
9882 ("ghc-http-api-data" ,ghc-http-api-data)))
9883 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9884 ("ghc-quickcheck" ,ghc-quickcheck)))
9885 (home-page "https://www.yesodweb.com/book/persistent")
9886 (synopsis "Type-safe, non-relational, multi-backend persistence")
9887 (description "This Haskell package provides interfaces and helper
9888 functions for the ghc-persistent package.")
9889 (license license:expat)))
9890
9891 (define-public ghc-unliftio-core
9892 (package
9893 (name "ghc-unliftio-core")
9894 (version "0.1.1.0")
9895 (source
9896 (origin
9897 (method url-fetch)
9898 (uri (string-append "https://hackage.haskell.org/package/"
9899 "unliftio-core-" version "/"
9900 "unliftio-core-" version ".tar.gz"))
9901 (sha256
9902 (base32
9903 "1193fplsjm1lcr05xwvkj1rsyzx74i755f6kw3ikmxbsv0bv0l3m"))))
9904 (build-system haskell-build-system)
9905 (arguments
9906 `(#:cabal-revision
9907 ("1" "16bjwcsaghqqmyi69rq65dn3ydifyfaabq3ns37apdm00mwqbcj2")))
9908 (home-page
9909 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
9910 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
9911 (description "This Haskell package provides the core @code{MonadUnliftIO}
9912 typeclass, instances for base and transformers, and basic utility
9913 functions.")
9914 (license license:expat)))
9915
9916 (define-public ghc-microlens
9917 (package
9918 (name "ghc-microlens")
9919 (version "0.4.9.1")
9920 (source
9921 (origin
9922 (method url-fetch)
9923 (uri (string-append "https://hackage.haskell.org/package/"
9924 "microlens-" version "/"
9925 "microlens-" version ".tar.gz"))
9926 (sha256
9927 (base32
9928 "0j2nzf0vpx2anvsrg2w0vy2z4jn3kkcs2n6glkzblhn1j9piqh51"))))
9929 (build-system haskell-build-system)
9930 (home-page
9931 "https://github.com/aelve/microlens")
9932 (synopsis "Provides a tiny lens Haskell library with no dependencies")
9933 (description "This Haskell package provides a lens library, just like
9934 @code{ghc-lens}, but smaller. It provides essential lenses and
9935 traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
9936 nice to have (like @code{each}, @code{at}, and @code{ix}), and some
9937 combinators (like @code{failing} and @code{singular}), but everything else is
9938 stripped. As the result, this package has no dependencies.")
9939 (license license:bsd-3)))
9940
9941 (define-public ghc-microlens-th
9942 (package
9943 (name "ghc-microlens-th")
9944 (version "0.4.2.2")
9945 (source
9946 (origin
9947 (method url-fetch)
9948 (uri (string-append "https://hackage.haskell.org/package/"
9949 "microlens-th-" version "/"
9950 "microlens-th-" version ".tar.gz"))
9951 (sha256
9952 (base32
9953 "02nj7lnl61yffi3c6wn341arxhld5r0vj6nzcb5zmqjhnqsv8c05"))))
9954 (build-system haskell-build-system)
9955 (inputs `(("ghc-microlens" ,ghc-microlens)
9956 ("ghc-th-abstraction" ,ghc-th-abstraction)))
9957 (home-page
9958 "https://github.com/aelve/microlens")
9959 (synopsis "Automatic generation of record lenses for
9960 @code{ghc-microlens}")
9961 (description "This Haskell package lets you automatically generate lenses
9962 for data types; code was extracted from the lens package, and therefore
9963 generated lenses are fully compatible with ones generated by lens (and can be
9964 used both from lens and microlens).")
9965 (license license:bsd-3)))
9966
9967 (define-public ghc-unliftio
9968 (package
9969 (name "ghc-unliftio")
9970 (version "0.2.7.0")
9971 (source
9972 (origin
9973 (method url-fetch)
9974 (uri (string-append
9975 "https://hackage.haskell.org/package/unliftio/unliftio-"
9976 version
9977 ".tar.gz"))
9978 (sha256
9979 (base32
9980 "0qql93lq5w7qghl454cc3s1i8v1jb4h08n82fqkw0kli4g3g9njs"))))
9981 (build-system haskell-build-system)
9982 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
9983 (inputs
9984 `(("ghc-async" ,ghc-async)
9985 ("ghc-stm" ,ghc-stm)
9986 ("ghc-unliftio-core" ,ghc-unliftio-core)))
9987 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9988 (home-page "https://github.com/fpco/unliftio")
9989 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
9990 IO (batteries included)")
9991 (description "This Haskell package provides the core @code{MonadUnliftIO}
9992 typeclass, a number of common instances, and a collection of common functions
9993 working with it.")
9994 (license license:expat)))
9995
9996 (define-public ghc-persistent-sqlite
9997 (package
9998 (name "ghc-persistent-sqlite")
9999 (version "2.6.4")
10000 (source
10001 (origin
10002 (method url-fetch)
10003 (uri (string-append "https://hackage.haskell.org/package/"
10004 "persistent-sqlite-" version "/"
10005 "persistent-sqlite-" version ".tar.gz"))
10006 (sha256
10007 (base32
10008 "16mc2ra0hbyyc8ckjlxxc11bpskdymbr8c3g6ih6wzik639xprbm"))))
10009 (build-system haskell-build-system)
10010 (inputs `(("ghc-persistent" ,ghc-persistent)
10011 ("ghc-unliftio-core" ,ghc-unliftio-core)
10012 ("ghc-aeson" ,ghc-aeson)
10013 ("ghc-conduit" ,ghc-conduit)
10014 ("ghc-monad-logger" ,ghc-monad-logger)
10015 ("ghc-microlens-th" ,ghc-microlens-th)
10016 ("ghc-resourcet" ,ghc-resourcet)
10017 ("ghc-old-locale" ,ghc-old-locale)
10018 ("ghc-resource-pool" ,ghc-resource-pool)
10019 ("ghc-unordered-containers" ,ghc-unordered-containers)))
10020 (native-inputs `(("ghc-hspec" ,ghc-hspec)
10021 ("ghc-persistent-template" ,ghc-persistent-template)
10022 ("ghc-temporary" ,ghc-temporary)
10023 ("ghc-text" ,ghc-text)))
10024 (home-page
10025 "https://www.yesodweb.com/book/persistent")
10026 (synopsis "Backend for the persistent library using sqlite3")
10027 (description "This Haskell package includes a thin sqlite3 wrapper based
10028 on the direct-sqlite package, as well as the entire C library, so there are no
10029 system dependencies.")
10030 (license license:expat)))
10031
10032 (define-public ghc-email-validate
10033 (package
10034 (name "ghc-email-validate")
10035 (version "2.3.2.1")
10036 (source
10037 (origin
10038 (method url-fetch)
10039 (uri (string-append
10040 "https://hackage.haskell.org/package/"
10041 "email-validate/email-validate-"
10042 version
10043 ".tar.gz"))
10044 (sha256
10045 (base32
10046 "0qvxysiap3r4mi3xff5nsk9qv6diqxfgwj186bypbamzvzlz0lav"))))
10047 (build-system haskell-build-system)
10048 (inputs
10049 `(("ghc-attoparsec" ,ghc-attoparsec)
10050 ("ghc-hspec" ,ghc-hspec)
10051 ("ghc-quickcheck" ,ghc-quickcheck)
10052 ("ghc-doctest" ,ghc-doctest)))
10053 (home-page
10054 "https://github.com/Porges/email-validate-hs")
10055 (synopsis "Email address validator for Haskell")
10056 (description
10057 "This Haskell package provides a validator that can validate an email
10058 address string against RFC 5322.")
10059 (license license:bsd-3)))
10060
10061 (define-public ghc-semigroupoids-5.2.2
10062 (package
10063 (inherit ghc-semigroupoids)
10064 (name "ghc-semigroupoids")
10065 (version "5.2.2")
10066 (source (origin
10067 (method url-fetch)
10068 (uri (string-append "https://hackage.haskell.org/package/"
10069 "semigroupoids-" version "/semigroupoids-"
10070 version ".tar.gz"))
10071 (sha256
10072 (base32
10073 "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4"))))
10074 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
10075 ,@(package-inputs ghc-semigroupoids)))))
10076
10077 (define-public ghc-bytes
10078 (package
10079 (name "ghc-bytes")
10080 (version "0.15.4")
10081 (source
10082 (origin
10083 (method url-fetch)
10084 (uri
10085 (string-append "https://hackage.haskell.org/package/bytes-"
10086 version "/bytes-"
10087 version ".tar.gz"))
10088 (file-name (string-append name "-" version ".tar.gz"))
10089 (sha256
10090 (base32
10091 "121x3iqlm8pghw8cd9g30cnqbl7jrdpfjxdanmqdqllajw6xivrm"))))
10092 (build-system haskell-build-system)
10093 (inputs `(("ghc-cereal" ,ghc-cereal)
10094 ("cabal-doctest" ,cabal-doctest)
10095 ("ghc-doctest" ,ghc-doctest-0.13)
10096 ("ghc-scientific" ,ghc-scientific)
10097 ("ghc-text" ,ghc-text)
10098 ("ghc-transformers-compat" ,ghc-transformers-compat)
10099 ("ghc-unordered-containers" ,ghc-unordered-containers)
10100 ("ghc-void" ,ghc-void)
10101 ("ghc-vector" ,ghc-vector)))
10102 (synopsis "Serialization between @code{binary} and @code{cereal}")
10103 (description "This package provides a simple compatibility shim that lets
10104 you work with both @code{binary} and @code{cereal} with one chunk of
10105 serialization code.")
10106 (home-page "https://hackage.haskell.org/package/bytes")
10107 (license license:bsd-3)))
10108
10109 (define-public ghc-disk-free-space
10110 (package
10111 (name "ghc-disk-free-space")
10112 (version "0.1.0.1")
10113 (source
10114 (origin
10115 (method url-fetch)
10116 (uri (string-append "https://hackage.haskell.org/package/"
10117 "disk-free-space/disk-free-space-"
10118 version ".tar.gz"))
10119 (sha256
10120 (base32
10121 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
10122 (build-system haskell-build-system)
10123 (home-page "https://github.com/redneb/disk-free-space")
10124 (synopsis "Retrieve information about disk space usage")
10125 (description "A cross-platform library for retrieving information about
10126 disk space usage.")
10127 (license license:bsd-3)))
10128
10129 (define-public ghc-xdg-basedir
10130 (package
10131 (name "ghc-xdg-basedir")
10132 (version "0.2.2")
10133 (source
10134 (origin
10135 (method url-fetch)
10136 (uri (string-append
10137 "https://hackage.haskell.org/package/xdg-basedir/"
10138 "xdg-basedir-" version ".tar.gz"))
10139 (sha256
10140 (base32
10141 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
10142 (build-system haskell-build-system)
10143 (home-page "http://github.com/willdonnelly/xdg-basedir")
10144 (synopsis "XDG Base Directory library for Haskell")
10145 (description "This package provides a library implementing the XDG Base Directory spec.")
10146 (license license:bsd-3)))
10147
10148 (define-public ghc-errorcall-eq-instance
10149 (package
10150 (name "ghc-errorcall-eq-instance")
10151 (version "0.3.0")
10152 (source
10153 (origin
10154 (method url-fetch)
10155 (uri (string-append "https://hackage.haskell.org/package/"
10156 "errorcall-eq-instance/errorcall-eq-instance-"
10157 version ".tar.gz"))
10158 (sha256
10159 (base32
10160 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
10161 (build-system haskell-build-system)
10162 (inputs
10163 `(("ghc-base-orphans" ,ghc-base-orphans)))
10164 (native-inputs
10165 `(("ghc-quickcheck" ,ghc-quickcheck)
10166 ("ghc-hspec" ,ghc-hspec)
10167 ("hspec-discover" ,hspec-discover)))
10168 (home-page "http://hackage.haskell.org/package/errorcall-eq-instance")
10169 (synopsis "Orphan Eq instance for ErrorCall")
10170 (description
10171 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
10172 This package provides an orphan instance.")
10173 (license license:expat)))
10174
10175 (define-public ghc-missingh
10176 (package
10177 (name "ghc-missingh")
10178 (version "1.4.0.1")
10179 (source
10180 (origin
10181 (method url-fetch)
10182 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
10183 "MissingH-" version ".tar.gz"))
10184 (sha256
10185 (base32
10186 "0wcvgrmav480w7nf4bl14yi0jq2yzanysxwzwas9hpb28vyjlgr8"))))
10187 (build-system haskell-build-system)
10188 ;; Tests require the unmaintained testpack package, which depends on the
10189 ;; outdated QuickCheck version 2.7, which can no longer be built with
10190 ;; recent versions of GHC and Haskell libraries.
10191 (arguments '(#:tests? #f))
10192 (inputs
10193 `(("ghc-network" ,ghc-network)
10194 ("ghc-parsec" ,ghc-parsec)
10195 ("ghc-hunit" ,ghc-hunit)
10196 ("ghc-regex-compat" ,ghc-regex-compat)
10197 ("ghc-hslogger" ,ghc-hslogger)
10198 ("ghc-random" ,ghc-random)
10199 ("ghc-old-time" ,ghc-old-time)
10200 ("ghc-old-locale" ,ghc-old-locale)))
10201 (native-inputs
10202 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
10203 ("ghc-quickcheck" ,ghc-quickcheck)
10204 ("ghc-hunit" ,ghc-hunit)))
10205 (home-page "http://software.complete.org/missingh")
10206 (synopsis "Large utility library")
10207 (description
10208 "MissingH is a library of all sorts of utility functions for Haskell
10209 programmers. It is written in pure Haskell and thus should be extremely
10210 portable and easy to use.")
10211 (license license:bsd-3)))
10212
10213 (define-public ghc-intervalmap
10214 (package
10215 (name "ghc-intervalmap")
10216 (version "0.6.0.0")
10217 (source
10218 (origin
10219 (method url-fetch)
10220 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
10221 "IntervalMap-" version ".tar.gz"))
10222 (sha256
10223 (base32
10224 "06hin9wf1by8aqa7820fsi2339bh82184frkwz3jsb9sqa0hszcg"))))
10225 (build-system haskell-build-system)
10226 (native-inputs
10227 `(("ghc-quickcheck" ,ghc-quickcheck)))
10228 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
10229 (synopsis "Containers for intervals, with efficient search")
10230 (description
10231 "This package provides ordered containers of intervals, with efficient
10232 search for all keys containing a point or overlapping an interval. See the
10233 example code on the home page for a quick introduction.")
10234 (license license:bsd-3)))
10235
10236 (define-public ghc-operational
10237 (package
10238 (name "ghc-operational")
10239 (version "0.2.3.5")
10240 (source
10241 (origin
10242 (method url-fetch)
10243 (uri (string-append "https://hackage.haskell.org/package/operational/"
10244 "operational-" version ".tar.gz"))
10245 (sha256
10246 (base32
10247 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
10248 (build-system haskell-build-system)
10249 (inputs
10250 `(("ghc-random" ,ghc-random)))
10251 (home-page "http://wiki.haskell.org/Operational")
10252 (synopsis "Implementation of difficult monads made easy with operational semantics")
10253 (description
10254 "This library makes it easy to implement monads with tricky control
10255 flow. This is useful for: writing web applications in a sequential style,
10256 programming games with a uniform interface for human and AI players and easy
10257 replay capababilities, implementing fast parser monads, designing monadic
10258 DSLs, etc.")
10259 (license license:bsd-3)))
10260
10261 (define-public ghc-gtk2hs-buildtools
10262 (package
10263 (name "ghc-gtk2hs-buildtools")
10264 (version "0.13.4.0")
10265 (source
10266 (origin
10267 (method url-fetch)
10268 (uri (string-append "https://hackage.haskell.org/package/"
10269 "gtk2hs-buildtools/gtk2hs-buildtools-"
10270 version ".tar.gz"))
10271 (sha256
10272 (base32
10273 "0yg6xmylgpylmnh5g33qwwn5x9bqckdvvv4czqzd9vrr12lnnghg"))))
10274 (build-system haskell-build-system)
10275 (inputs
10276 `(("ghc-random" ,ghc-random)
10277 ("ghc-hashtables" ,ghc-hashtables)))
10278 (native-inputs
10279 `(("ghc-alex" ,ghc-alex)
10280 ("ghc-happy" ,ghc-happy)))
10281 (home-page "http://projects.haskell.org/gtk2hs/")
10282 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
10283 (description
10284 "This package provides a set of helper programs necessary to build the
10285 Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
10286 that is used to generate FFI declarations, a tool to build a type hierarchy
10287 that mirrors the C type hierarchy of GObjects found in glib, and a generator
10288 for signal declarations that are used to call back from C to Haskell. These
10289 tools are not needed to actually run Gtk2Hs programs.")
10290 (license license:gpl2)))
10291
10292 (define-public ghc-chart
10293 (package
10294 (name "ghc-chart")
10295 (version "1.8.3")
10296 (source
10297 (origin
10298 (method url-fetch)
10299 (uri (string-append "https://hackage.haskell.org/package/Chart/"
10300 "Chart-" version ".tar.gz"))
10301 (sha256
10302 (base32
10303 "13s64fhb2pmkdmx5bkgbgcn25qjihs364fvr47a1dw25f804kiy1"))))
10304 (build-system haskell-build-system)
10305 (inputs
10306 `(("ghc-old-locale" ,ghc-old-locale)
10307 ("ghc-lens" ,ghc-lens)
10308 ("ghc-colour" ,ghc-colour)
10309 ("ghc-data-default-class" ,ghc-data-default-class)
10310 ("ghc-operational" ,ghc-operational)
10311 ("ghc-vector" ,ghc-vector)))
10312 (home-page "https://github.com/timbod7/haskell-chart/wiki")
10313 (synopsis "Library for generating 2D charts and plots")
10314 (description
10315 "This package provides a library for generating 2D charts and plots, with
10316 backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
10317 (license license:bsd-3)))
10318
10319 (define-public ghc-wcwidth
10320 (package
10321 (name "ghc-wcwidth")
10322 (version "0.0.2")
10323 (source
10324 (origin
10325 (method url-fetch)
10326 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
10327 version ".tar.gz"))
10328 (sha256
10329 (base32
10330 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
10331 (build-system haskell-build-system)
10332 (inputs
10333 `(("ghc-setlocale" ,ghc-setlocale)
10334 ("ghc-utf8-string" ,ghc-utf8-string)
10335 ("ghc-attoparsec" ,ghc-attoparsec)))
10336 (home-page "https://github.com/solidsnack/wcwidth/")
10337 (synopsis "Haskell bindings to wcwidth")
10338 (description "This package provides Haskell bindings to your system's
10339 native wcwidth and a command line tool to examine the widths assigned by it.
10340 The command line tool can compile a width table to Haskell code that assigns
10341 widths to the Char type.")
10342 (license license:bsd-3)))
10343
10344 (define-public ghc-wcwidth-bootstrap
10345 (package
10346 (inherit ghc-wcwidth)
10347 (name "ghc-wcwidth-bootstrap")
10348 (inputs
10349 `(("ghc-setlocale" ,ghc-setlocale)
10350 ("ghc-utf8-string" ,ghc-utf8-string)
10351 ("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
10352 (properties '(hidden? #t))))
10353
10354 ;;; haskell.scm ends here