gnu: ghc-th-orphans: Update to 0.13.6.
[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.3")
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 "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c"))))
3413 (build-system haskell-build-system)
3414 (inputs
3415 `(("ghc-exceptions" ,ghc-exceptions)
3416 ("ghc-random" ,ghc-random)))
3417 (native-inputs
3418 `(("ghc-base-compat" ,ghc-base-compat)
3419 ("ghc-tasty" ,ghc-tasty)
3420 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
3421 (home-page "https://www.github.com/batterseapower/temporary")
3422 (synopsis "Temporary file and directory support")
3423 (description "The functions for creating temporary files and directories
3424 in the Haskelll base library are quite limited. This library just repackages
3425 the Cabal implementations of its own temporary file and folder functions so
3426 that you can use them without linking against Cabal or depending on it being
3427 installed.")
3428 (license license:bsd-3)))
3429
3430 (define-public ghc-temporary-rc
3431 (package
3432 (name "ghc-temporary-rc")
3433 (version "1.2.0.3")
3434 (source
3435 (origin
3436 (method url-fetch)
3437 (uri (string-append
3438 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
3439 version
3440 ".tar.gz"))
3441 (sha256
3442 (base32
3443 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
3444 (build-system haskell-build-system)
3445 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
3446 (home-page
3447 "https://www.github.com/feuerbach/temporary")
3448 (synopsis
3449 "Portable temporary file and directory support")
3450 (description
3451 "The functions for creating temporary files and directories in the base
3452 library are quite limited. The unixutils package contains some good ones, but
3453 they aren't portable to Windows. This library just repackages the Cabal
3454 implementations of its own temporary file and folder functions so that you can
3455 use them without linking against Cabal or depending on it being installed.
3456 This is a better maintained fork of the \"temporary\" package.")
3457 (license license:bsd-3)))
3458
3459 (define-public ghc-smallcheck
3460 (package
3461 (name "ghc-smallcheck")
3462 (version "1.1.5")
3463 (source
3464 (origin
3465 (method url-fetch)
3466 (uri (string-append
3467 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
3468 version
3469 ".tar.gz"))
3470 (sha256
3471 (base32
3472 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
3473 (build-system haskell-build-system)
3474 (inputs
3475 `(("ghc-logict" ,ghc-logict)))
3476 (home-page
3477 "https://github.com/feuerbach/smallcheck")
3478 (synopsis "Property-based testing library")
3479 (description "SmallCheck is a testing library that allows to verify
3480 properties for all test cases up to some depth. The test cases are generated
3481 automatically by SmallCheck.")
3482 (license license:bsd-3)))
3483
3484 (define-public ghc-silently
3485 (package
3486 (name "ghc-silently")
3487 (version "1.2.5")
3488 (source
3489 (origin
3490 (method url-fetch)
3491 (uri (string-append
3492 "https://hackage.haskell.org/package/silently/silently-"
3493 version
3494 ".tar.gz"))
3495 (sha256
3496 (base32
3497 "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
3498 (build-system haskell-build-system)
3499 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
3500 ;; (inputs
3501 ;; `(("ghc-temporary" ,ghc-temporary)))
3502 (home-page "https://github.com/hspec/silently")
3503 (synopsis "Prevent writing to stdout")
3504 (description "This package provides functions to prevent or capture
3505 writing to stdout and other handles.")
3506 (license license:bsd-3)))
3507
3508 (define-public ghc-case-insensitive
3509 (package
3510 (name "ghc-case-insensitive")
3511 (version "1.2.0.11")
3512 (outputs '("out" "doc"))
3513 (source
3514 (origin
3515 (method url-fetch)
3516 (uri (string-append
3517 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
3518 version
3519 ".tar.gz"))
3520 (sha256
3521 (base32
3522 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7"))))
3523 (build-system haskell-build-system)
3524 (inputs
3525 `(("ghc-hunit" ,ghc-hunit)))
3526 ;; these inputs are necessary to use this library
3527 (inputs
3528 `(("ghc-text" ,ghc-text)
3529 ("ghc-hashable" ,ghc-hashable)))
3530 (arguments
3531 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3532 (home-page
3533 "https://github.com/basvandijk/case-insensitive")
3534 (synopsis "Case insensitive string comparison")
3535 (description
3536 "The module 'Data.CaseInsensitive' provides the 'CI' type constructor
3537 which can be parameterised by a string-like type like: 'String', 'ByteString',
3538 'Text', etc.. Comparisons of values of the resulting type will be insensitive
3539 to cases.")
3540 (license license:bsd-3)))
3541
3542 (define-public ghc-syb
3543 (package
3544 (name "ghc-syb")
3545 (version "0.7")
3546 (outputs '("out" "doc"))
3547 (source
3548 (origin
3549 (method url-fetch)
3550 (uri (string-append
3551 "https://hackage.haskell.org/package/syb/syb-"
3552 version
3553 ".tar.gz"))
3554 (sha256
3555 (base32
3556 "1da2zz7gqm4xbkx5vpd74dayx1svaxyl145fl14mq15lbb77sxdq"))))
3557 (build-system haskell-build-system)
3558 (inputs
3559 `(("ghc-hunit" ,ghc-hunit)))
3560 (home-page
3561 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
3562 (synopsis "Scrap Your Boilerplate")
3563 (description "This package contains the generics system described in the
3564 /Scrap Your Boilerplate/ papers (see
3565 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
3566 defines the 'Data' class of types permitting folding and unfolding of
3567 constructor applications, instances of this class for primitive types, and a
3568 variety of traversals.")
3569 (license license:bsd-3)))
3570
3571 (define-public ghc-fgl
3572 (package
3573 (name "ghc-fgl")
3574 (version "5.6.0.0")
3575 (outputs '("out" "doc"))
3576 (source
3577 (origin
3578 (method url-fetch)
3579 (uri (string-append
3580 "https://hackage.haskell.org/package/fgl/fgl-"
3581 version
3582 ".tar.gz"))
3583 (sha256
3584 (base32
3585 "1i6cp4b3w7sjk7y1dq3fh6bci2sm5h3lnbbaw9ln19nwncg2wwll"))))
3586 (build-system haskell-build-system)
3587 (arguments
3588 `(#:phases
3589 (modify-phases %standard-phases
3590 (add-before 'configure 'update-constraints
3591 (lambda _
3592 (substitute* "fgl.cabal"
3593 (("QuickCheck >= 2\\.8 && < 2\\.10")
3594 "QuickCheck >= 2.8 && < 2.12")
3595 (("hspec >= 2\\.1 && < 2\\.5")
3596 "hspec >= 2.1 && < 2.6")))))))
3597 (inputs
3598 `(("ghc-hspec" ,ghc-hspec)
3599 ("ghc-quickcheck" ,ghc-quickcheck)))
3600 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3601 (synopsis
3602 "Martin Erwig's Functional Graph Library")
3603 (description "The functional graph library, FGL, is a collection of type
3604 and function definitions to address graph problems. The basis of the library
3605 is an inductive definition of graphs in the style of algebraic data types that
3606 encourages inductive, recursive definitions of graph algorithms.")
3607 (license license:bsd-3)))
3608
3609 (define-public ghc-chasingbottoms
3610 (package
3611 (name "ghc-chasingbottoms")
3612 (version "1.3.1.4")
3613 (source
3614 (origin
3615 (method url-fetch)
3616 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
3617 "ChasingBottoms-" version ".tar.gz"))
3618 (sha256
3619 (base32
3620 "06cynx6hcbfpky7qq3b3mjjgwbnaxkwin3znbwq4b9ikiw0ng633"))))
3621 (build-system haskell-build-system)
3622 (inputs
3623 `(("ghc-quickcheck" ,ghc-quickcheck)
3624 ("ghc-random" ,ghc-random)
3625 ("ghc-syb" ,ghc-syb)))
3626 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
3627 (synopsis "Testing of partial and infinite values in Haskell")
3628 (description
3629 ;; FIXME: There should be a @comma{} in the uref text, but it is not
3630 ;; rendered properly.
3631 "This is a library for testing code involving bottoms or infinite values.
3632 For the underlying theory and a larger example involving use of QuickCheck,
3633 see the article
3634 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
3635 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
3636 Partial and Infinite Values\"}.")
3637 (license license:expat)))
3638
3639 (define-public ghc-unordered-containers
3640 (package
3641 (name "ghc-unordered-containers")
3642 (version "0.2.9.0")
3643 (outputs '("out" "doc"))
3644 (source
3645 (origin
3646 (method url-fetch)
3647 (uri (string-append
3648 "https://hackage.haskell.org/package/unordered-containers"
3649 "/unordered-containers-" version ".tar.gz"))
3650 (sha256
3651 (base32
3652 "0l4264p0av12cc6i8gls13q8y27x12z2ar4x34n3x59y99fcnc37"))))
3653 (build-system haskell-build-system)
3654 (inputs
3655 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
3656 ("ghc-hunit" ,ghc-hunit)
3657 ("ghc-quickcheck" ,ghc-quickcheck)
3658 ("ghc-test-framework" ,ghc-test-framework)
3659 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3660 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3661 ("ghc-hashable" ,ghc-hashable)))
3662 (home-page
3663 "https://github.com/tibbe/unordered-containers")
3664 (synopsis
3665 "Efficient hashing-based container types")
3666 (description
3667 "Efficient hashing-based container types. The containers have been
3668 optimized for performance critical use, both in terms of large data quantities
3669 and high speed.")
3670 (license license:bsd-3)))
3671
3672 (define-public ghc-unordered-containers-bootstrap
3673 (package
3674 (inherit ghc-unordered-containers)
3675 (name "ghc-unordered-containers-bootstrap")
3676 (arguments `(#:tests? #f))
3677 (inputs
3678 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
3679 (properties '(hidden? #t))))
3680
3681 (define-public ghc-uniplate
3682 (package
3683 (name "ghc-uniplate")
3684 (version "1.6.12")
3685 (source
3686 (origin
3687 (method url-fetch)
3688 (uri (string-append
3689 "https://hackage.haskell.org/package/uniplate/uniplate-"
3690 version
3691 ".tar.gz"))
3692 (sha256
3693 (base32
3694 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
3695 (build-system haskell-build-system)
3696 (inputs
3697 `(("ghc-syb" ,ghc-syb)
3698 ("ghc-hashable" ,ghc-hashable)
3699 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3700 (home-page "http://community.haskell.org/~ndm/uniplate/")
3701 (synopsis "Simple, concise and fast generic operations")
3702 (description "Uniplate is a library for writing simple and concise generic
3703 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
3704 work, but is substantially simpler and faster.")
3705 (license license:bsd-3)))
3706
3707 (define-public ghc-base64-bytestring
3708 (package
3709 (name "ghc-base64-bytestring")
3710 (version "1.0.0.1")
3711 (source
3712 (origin
3713 (method url-fetch)
3714 (uri (string-append
3715 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
3716 version
3717 ".tar.gz"))
3718 (sha256
3719 (base32
3720 "0l1v4ddjdsgi9nqzyzcxxj76rwar3lzx8gmwf2r54bqan3san9db"))))
3721 (build-system haskell-build-system)
3722 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3723 (home-page "https://github.com/bos/base64-bytestring")
3724 (synopsis "Base64 encoding and decoding for ByteStrings")
3725 (description "This library provides fast base64 encoding and decoding for
3726 Haskell @code{ByteString}s.")
3727 (license license:bsd-3)))
3728
3729 (define-public ghc-annotated-wl-pprint
3730 (package
3731 (name "ghc-annotated-wl-pprint")
3732 (version "0.7.0")
3733 (source
3734 (origin
3735 (method url-fetch)
3736 (uri (string-append
3737 "https://hackage.haskell.org/package/annotated-wl-pprint"
3738 "/annotated-wl-pprint-" version
3739 ".tar.gz"))
3740 (sha256
3741 (base32
3742 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
3743 (build-system haskell-build-system)
3744 (home-page
3745 "https://github.com/david-christiansen/annotated-wl-pprint")
3746 (synopsis
3747 "The Wadler/Leijen Pretty Printer, with annotation support")
3748 (description "This is a modified version of wl-pprint, which was based on
3749 Wadler's paper \"A Prettier Printer\". This version allows the library user
3750 to annotate the text with semantic information, which can later be rendered in
3751 a variety of ways.")
3752 (license license:bsd-3)))
3753
3754 (define-public ghc-wl-pprint
3755 (package
3756 (name "ghc-wl-pprint")
3757 (version "1.2.1")
3758 (source (origin
3759 (method url-fetch)
3760 (uri (string-append
3761 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
3762 version ".tar.gz"))
3763 (sha256
3764 (base32
3765 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
3766 (build-system haskell-build-system)
3767 (home-page "https://hackage.haskell.org/package/wl-pprint")
3768 (synopsis "Wadler/Leijen pretty printer")
3769 (description
3770 "This is a pretty printing library based on Wadler's paper @i{A Prettier
3771 Printer}. This version allows the library user to declare overlapping
3772 instances of the @code{Pretty} class.")
3773 (license license:bsd-3)))
3774
3775 (define-public ghc-ansi-wl-pprint
3776 (package
3777 (name "ghc-ansi-wl-pprint")
3778 (version "0.6.8.2")
3779 (source
3780 (origin
3781 (method url-fetch)
3782 (uri (string-append "https://hackage.haskell.org/package/"
3783 "ansi-wl-pprint/ansi-wl-pprint-"
3784 version ".tar.gz"))
3785 (sha256
3786 (base32
3787 "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56"))))
3788 (build-system haskell-build-system)
3789 (inputs
3790 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
3791 (home-page "https://github.com/ekmett/ansi-wl-pprint")
3792 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
3793 (description "This is a pretty printing library based on Wadler's paper
3794 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
3795 colored output using the ansi-terminal package.")
3796 (license license:bsd-3)))
3797
3798 (define-public ghc-split
3799 (package
3800 (name "ghc-split")
3801 (version "0.2.3.3")
3802 (outputs '("out" "doc"))
3803 (source
3804 (origin
3805 (method url-fetch)
3806 (uri (string-append
3807 "https://hackage.haskell.org/package/split/split-"
3808 version
3809 ".tar.gz"))
3810 (sha256
3811 (base32
3812 "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x"))))
3813 (build-system haskell-build-system)
3814 (native-inputs
3815 `(("ghc-quickcheck" ,ghc-quickcheck)))
3816 (home-page "https://hackage.haskell.org/package/split")
3817 (synopsis "Combinator library for splitting lists")
3818 (description "This package provides a collection of Haskell functions for
3819 splitting lists into parts, akin to the @code{split} function found in several
3820 mainstream languages.")
3821 (license license:bsd-3)))
3822
3823 (define-public ghc-parsec
3824 (package
3825 (name "ghc-parsec")
3826 (version "3.1.13.0")
3827 (outputs '("out" "doc"))
3828 (source
3829 (origin
3830 (method url-fetch)
3831 (uri (string-append
3832 "https://hackage.haskell.org/package/parsec/parsec-"
3833 version
3834 ".tar.gz"))
3835 (sha256
3836 (base32 "1wc09pyn70p8z6llink10c8pqbh6ikyk554911yfwxv1g91swqbq"))))
3837 (build-system haskell-build-system)
3838 (native-inputs
3839 `(("ghc-hunit" ,ghc-hunit)))
3840 (inputs
3841 `(("ghc-text" ,ghc-text)))
3842 (arguments
3843 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3844 (home-page
3845 "https://github.com/aslatter/parsec")
3846 (synopsis "Monadic parser combinators")
3847 (description "Parsec is a parser library. It is simple, safe, well
3848 documented, has extensive libraries, good error messages, and is fast. It is
3849 defined as a monad transformer that can be stacked on arbitrary monads, and it
3850 is also parametric in the input stream type.")
3851 (license license:bsd-3)))
3852
3853 (define-public ghc-parser-combinators
3854 (package
3855 (name "ghc-parser-combinators")
3856 (version "1.0.0")
3857 (source
3858 (origin
3859 (method url-fetch)
3860 (uri (string-append "https://hackage.haskell.org/package/"
3861 "parser-combinators/parser-combinators-"
3862 version ".tar.gz"))
3863 (sha256
3864 (base32
3865 "1pwfdsklqwvaynwpdzmx1bs35mp6dpsyaqdnzxnqcrxwf5h8sk75"))))
3866 (build-system haskell-build-system)
3867 (home-page "https://github.com/mrkkrp/parser-combinators")
3868 (synopsis "Commonly useful parser combinators")
3869 (description
3870 "This is a lightweight package providing commonly useful parser
3871 combinators.")
3872 (license license:bsd-3)))
3873
3874 (define-public ghc-megaparsec
3875 (package
3876 (name "ghc-megaparsec")
3877 (version "6.4.0")
3878 (source
3879 (origin
3880 (method url-fetch)
3881 (uri (string-append "https://hackage.haskell.org/package/"
3882 "megaparsec/megaparsec-"
3883 version ".tar.gz"))
3884 (sha256
3885 (base32
3886 "0h9azhs0dfrc359vrbd1jljrg3yfdbwd4p62cxqkn7mnh8913jpd"))))
3887 (build-system haskell-build-system)
3888 (inputs
3889 `(("ghc-case-insensitive" ,ghc-case-insensitive)
3890 ("ghc-parser-combinators" ,ghc-parser-combinators)
3891 ("ghc-scientific" ,ghc-scientific)
3892 ("ghc-text" ,ghc-text)))
3893 (native-inputs
3894 `(("ghc-quickcheck" ,ghc-quickcheck)
3895 ("ghc-hspec" ,ghc-hspec)
3896 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3897 ("hspec-discover" ,hspec-discover)))
3898 (home-page "https://github.com/mrkkrp/megaparsec")
3899 (synopsis "Monadic parser combinators")
3900 (description
3901 "This is an industrial-strength monadic parser combinator library.
3902 Megaparsec is a feature-rich package that strikes a nice balance between
3903 speed, flexibility, and quality of parse errors.")
3904 (license license:bsd-2)))
3905
3906 (define-public ghc-vector
3907 (package
3908 (name "ghc-vector")
3909 (version "0.12.0.1")
3910 (outputs '("out" "doc"))
3911 (source
3912 (origin
3913 (method url-fetch)
3914 (uri (string-append
3915 "https://hackage.haskell.org/package/vector/vector-"
3916 version
3917 ".tar.gz"))
3918 (sha256
3919 (base32
3920 "0yrx2ypiaxahvaz84af5bi855hd3107kxkbqc8km29nsp5wyw05i"))))
3921 (build-system haskell-build-system)
3922 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
3923 ;; disabled for now.
3924 (arguments
3925 `(#:cabal-revision
3926 ("3" "0y5rh8k710i2a3p1h2rghvr5cfg78p5h0kbfi7ifxqqf6pzlyr1x")
3927 #:tests? #f))
3928 (inputs
3929 `(("ghc-primitive" ,ghc-primitive)
3930 ("ghc-random" ,ghc-random)
3931 ("ghc-quickcheck" ,ghc-quickcheck)
3932 ;; ("ghc-hunit" ,ghc-hunit)
3933 ;; ("ghc-test-framework" ,ghc-test-framework)
3934 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3935 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3936 ))
3937 (home-page "https://github.com/haskell/vector")
3938 (synopsis "Efficient Arrays")
3939 (description "This library provides an efficient implementation of
3940 Int-indexed arrays (both mutable and immutable), with a powerful loop
3941 optimisation framework.")
3942 (license license:bsd-3)))
3943
3944 (define-public ghc-vector-binary-instances
3945 (package
3946 (name "ghc-vector-binary-instances")
3947 (version "0.2.4")
3948 (source
3949 (origin
3950 (method url-fetch)
3951 (uri (string-append
3952 "https://hackage.haskell.org/package/"
3953 "vector-binary-instances/vector-binary-instances-"
3954 version ".tar.gz"))
3955 (sha256
3956 (base32
3957 "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb"))))
3958 (build-system haskell-build-system)
3959 (arguments
3960 `(#:cabal-revision
3961 ("1" "196frl4akhfk7xf1nxzn8lmq99dxhzhsimanswn9yy7ym8zhki4i")))
3962 (inputs
3963 `(("ghc-vector" ,ghc-vector)))
3964 (native-inputs
3965 `(("ghc-tasty" ,ghc-tasty)
3966 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3967 (home-page "https://github.com/bos/vector-binary-instances")
3968 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
3969 (description "This library provides instances of @code{Binary} for the
3970 types defined in the @code{vector} package, making it easy to serialize
3971 vectors to and from disk. We use the generic interface to vectors, so all
3972 vector types are supported. Specific instances are provided for unboxed,
3973 boxed and storable vectors.")
3974 (license license:bsd-3)))
3975
3976 (define-public ghc-bloomfilter
3977 (package
3978 (name "ghc-bloomfilter")
3979 (version "2.0.1.0")
3980 (source
3981 (origin
3982 (method url-fetch)
3983 (uri (string-append "https://hackage.haskell.org/package/"
3984 "bloomfilter/bloomfilter-" version ".tar.gz"))
3985 (sha256
3986 (base32
3987 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
3988 (build-system haskell-build-system)
3989 (native-inputs
3990 `(("ghc-quickcheck" ,ghc-quickcheck)
3991 ("ghc-random" ,ghc-random)
3992 ("ghc-test-framework" ,ghc-test-framework)
3993 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3994 (home-page "https://github.com/bos/bloomfilter")
3995 (synopsis "Pure and impure Bloom filter implementations")
3996 (description "This package provides both mutable and immutable Bloom
3997 filter data types, along with a family of hash functions and an easy-to-use
3998 interface.")
3999 (license license:bsd-3)))
4000
4001 (define-public ghc-network
4002 (package
4003 (name "ghc-network")
4004 (version "2.6.3.1")
4005 (outputs '("out" "doc"))
4006 (source
4007 (origin
4008 (method url-fetch)
4009 (uri (string-append
4010 "https://hackage.haskell.org/package/network/network-"
4011 version
4012 ".tar.gz"))
4013 (sha256
4014 (base32
4015 "1rl2gl37cf4k0ddsq93q15fwdz1l25nhl4w205krbh7d5dg5y12p"))))
4016 (build-system haskell-build-system)
4017 ;; The regression tests depend on an unpublished module.
4018 (arguments `(#:tests? #f))
4019 (native-inputs
4020 `(("ghc-hunit" ,ghc-hunit)
4021 ("ghc-doctest" ,ghc-doctest)
4022 ("ghc-test-framework" ,ghc-test-framework)
4023 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4024 (home-page "https://github.com/haskell/network")
4025 (synopsis "Low-level networking interface")
4026 (description
4027 "This package provides a low-level networking interface.")
4028 (license license:bsd-3)))
4029
4030 (define-public ghc-network-uri
4031 (package
4032 (name "ghc-network-uri")
4033 (version "2.6.1.0")
4034 (outputs '("out" "doc"))
4035 (source
4036 (origin
4037 (method url-fetch)
4038 (uri (string-append
4039 "https://hackage.haskell.org/package/network-uri/network-uri-"
4040 version
4041 ".tar.gz"))
4042 (sha256
4043 (base32
4044 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
4045 (build-system haskell-build-system)
4046 (arguments
4047 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
4048 (native-inputs
4049 `(("ghc-hunit" ,ghc-hunit)))
4050 (inputs
4051 `(("ghc-parsec" ,ghc-parsec)
4052 ("ghc-network" ,ghc-network)))
4053 (home-page
4054 "https://github.com/haskell/network-uri")
4055 (synopsis "Library for URI manipulation")
4056 (description "This package provides an URI manipulation interface. In
4057 'network-2.6' the 'Network.URI' module was split off from the 'network'
4058 package into this package.")
4059 (license license:bsd-3)))
4060
4061 (define-public ghc-ansi-terminal
4062 (package
4063 (name "ghc-ansi-terminal")
4064 (version "0.8.0.4")
4065 (source
4066 (origin
4067 (method url-fetch)
4068 (uri (string-append
4069 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
4070 version
4071 ".tar.gz"))
4072 (sha256
4073 (base32
4074 "0428gq8m3fdnb7ldcsyk97qcch76hcxbgh2666p6f76fs2qbhg7b"))))
4075 (build-system haskell-build-system)
4076 (inputs
4077 `(("ghc-colour" ,ghc-colour)))
4078 (home-page "https://github.com/feuerbach/ansi-terminal")
4079 (synopsis "ANSI terminal support for Haskell")
4080 (description "This package provides ANSI terminal support for Haskell. It
4081 allows cursor movement, screen clearing, color output showing or hiding the
4082 cursor, and changing the title.")
4083 (license license:bsd-3)))
4084
4085 (define-public ghc-vault
4086 (package
4087 (name "ghc-vault")
4088 (version "0.3.0.6")
4089 (source
4090 (origin
4091 (method url-fetch)
4092 (uri (string-append
4093 "https://hackage.haskell.org/package/vault/vault-"
4094 version
4095 ".tar.gz"))
4096 (sha256
4097 (base32
4098 "0j7gcs440q7qlgzi2hn36crgp2c0w69k40g6vj9hxlm31zk3shqb"))))
4099 (build-system haskell-build-system)
4100 (inputs
4101 `(("ghc-unordered-containers" ,ghc-unordered-containers)
4102 ("ghc-hashable" ,ghc-hashable)))
4103 (home-page
4104 "https://github.com/HeinrichApfelmus/vault")
4105 (synopsis "Persistent store for arbitrary values")
4106 (description "This package provides vaults for Haskell. A vault is a
4107 persistent store for values of arbitrary types. It's like having first-class
4108 access to the storage space behind @code{IORefs}. The data structure is
4109 analogous to a bank vault, where you can access different bank boxes with
4110 different keys; hence the name. Also provided is a @code{locker} type,
4111 representing a store for a single element.")
4112 (license license:bsd-3)))
4113
4114 (define-public ghc-edisonapi
4115 (package
4116 (name "ghc-edisonapi")
4117 (version "1.3.1")
4118 (source
4119 (origin
4120 (method url-fetch)
4121 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
4122 "/EdisonAPI-" version ".tar.gz"))
4123 (sha256
4124 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
4125 (build-system haskell-build-system)
4126 (home-page "http://rwd.rdockins.name/edison/home/")
4127 (synopsis "Library of efficient, purely-functional data structures (API)")
4128 (description
4129 "Edison is a library of purely functional data structures written by
4130 Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
4131 value EDiSon (Efficient Data Structures). Edison provides several families of
4132 abstractions, each with multiple implementations. The main abstractions
4133 provided by Edison are: Sequences such as stacks, queues, and dequeues;
4134 Collections such as sets, bags and heaps; and Associative Collections such as
4135 finite maps and priority queues where the priority and element are distinct.")
4136 (license license:expat)))
4137
4138 (define-public ghc-edisoncore
4139 (package
4140 (name "ghc-edisoncore")
4141 (version "1.3.2.1")
4142 (source
4143 (origin
4144 (method url-fetch)
4145 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
4146 "/EdisonCore-" version ".tar.gz"))
4147 (sha256
4148 (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk"))))
4149 (build-system haskell-build-system)
4150 (inputs
4151 `(("ghc-quickcheck" ,ghc-quickcheck)
4152 ("ghc-edisonapi" ,ghc-edisonapi)))
4153 (home-page "http://rwd.rdockins.name/edison/home/")
4154 (synopsis "Library of efficient, purely-functional data structures")
4155 (description
4156 "This package provides the core Edison data structure implementations,
4157 including multiple sequence, set, bag, and finite map concrete implementations
4158 with various performance characteristics.")
4159 (license license:expat)))
4160
4161 (define-public ghc-mmorph
4162 (package
4163 (name "ghc-mmorph")
4164 (version "1.1.2")
4165 (source
4166 (origin
4167 (method url-fetch)
4168 (uri (string-append
4169 "https://hackage.haskell.org/package/mmorph/mmorph-"
4170 version
4171 ".tar.gz"))
4172 (sha256
4173 (base32
4174 "1gjz1ib968lqybma7my1n19qq6cdj6a7nskrlnwy4jy9jrwzs2n9"))))
4175 (build-system haskell-build-system)
4176 (inputs
4177 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4178 (home-page "https://hackage.haskell.org/package/mmorph")
4179 (synopsis "Monad morphisms")
4180 (description
4181 "This library provides monad morphism utilities, most commonly used for
4182 manipulating monad transformer stacks.")
4183 (license license:bsd-3)))
4184
4185 (define-public ghc-ifelse
4186 (package
4187 (name "ghc-ifelse")
4188 (version "0.85")
4189 (source
4190 (origin
4191 (method url-fetch)
4192 (uri (string-append "https://hackage.haskell.org/package/"
4193 "IfElse/IfElse-" version ".tar.gz"))
4194 (sha256
4195 (base32
4196 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
4197 (build-system haskell-build-system)
4198 (home-page "http://hackage.haskell.org/package/IfElse")
4199 (synopsis "Monadic control flow with anaphoric variants")
4200 (description "This library provides functions for control flow inside of
4201 monads with anaphoric variants on @code{if} and @code{when} and a C-like
4202 @code{switch} function.")
4203 (license license:bsd-3)))
4204
4205 (define-public ghc-monad-control
4206 (package
4207 (name "ghc-monad-control")
4208 (version "1.0.2.3")
4209 (source
4210 (origin
4211 (method url-fetch)
4212 (uri (string-append
4213 "https://hackage.haskell.org/package/monad-control"
4214 "/monad-control-" version ".tar.gz"))
4215 (sha256
4216 (base32
4217 "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c"))))
4218 (build-system haskell-build-system)
4219 (inputs
4220 `(("ghc-stm" ,ghc-stm)
4221 ("ghc-transformers-base" ,ghc-transformers-base)
4222 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4223 (home-page "https://github.com/basvandijk/monad-control")
4224 (synopsis "Monad transformers to lift control operations like exception
4225 catching")
4226 (description "This package defines the type class @code{MonadBaseControl},
4227 a subset of @code{MonadBase} into which generic control operations such as
4228 @code{catch} can be lifted from @code{IO} or any other base monad.")
4229 (license license:bsd-3)))
4230
4231 (define-public ghc-fail
4232 (package
4233 (name "ghc-fail")
4234 (version "4.9.0.0")
4235 (source
4236 (origin
4237 (method url-fetch)
4238 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
4239 version ".tar.gz"))
4240 (sha256
4241 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
4242 (build-system haskell-build-system)
4243 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4244 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
4245 (synopsis "Forward-compatible MonadFail class")
4246 (description
4247 "This package contains the @code{Control.Monad.Fail} module providing the
4248 @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
4249 class that became available in
4250 @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
4251 older @code{base} package versions. This package turns into an empty package
4252 when used with GHC versions which already provide the
4253 @code{Control.Monad.Fail} module.")
4254 (license license:bsd-3)))
4255
4256 (define-public ghc-monadplus
4257 (package
4258 (name "ghc-monadplus")
4259 (version "1.4.2")
4260 (source
4261 (origin
4262 (method url-fetch)
4263 (uri (string-append "https://hackage.haskell.org/package/monadplus"
4264 "/monadplus-" version ".tar.gz"))
4265 (sha256
4266 (base32 "15b5320wdpmdp5slpphnc1x4rhjch3igw245dp2jxbqyvchdavin"))))
4267 (build-system haskell-build-system)
4268 (home-page "https://hackage.haskell.org/package/monadplus")
4269 (synopsis "Filtering and folding over arbitrary MonadPlus instances")
4270 (description
4271 "This package generalizes many common stream operations such as
4272 @code{filter}, @code{catMaybes} etc, enabling filtering and folding over
4273 arbitrary @code{MonadPlus} instances.")
4274 (license license:bsd-3)))
4275
4276 (define-public ghc-byteorder
4277 (package
4278 (name "ghc-byteorder")
4279 (version "1.0.4")
4280 (source
4281 (origin
4282 (method url-fetch)
4283 (uri (string-append
4284 "https://hackage.haskell.org/package/byteorder/byteorder-"
4285 version
4286 ".tar.gz"))
4287 (sha256
4288 (base32
4289 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
4290 (build-system haskell-build-system)
4291 (home-page
4292 "http://community.haskell.org/~aslatter/code/byteorder")
4293 (synopsis
4294 "Exposes the native endianness of the system")
4295 (description
4296 "This package is for working with the native byte-ordering of the
4297 system.")
4298 (license license:bsd-3)))
4299
4300 (define-public ghc-base-compat
4301 (package
4302 (name "ghc-base-compat")
4303 (version "0.9.3")
4304 (source
4305 (origin
4306 (method url-fetch)
4307 (uri (string-append
4308 "https://hackage.haskell.org/package/base-compat/base-compat-"
4309 version
4310 ".tar.gz"))
4311 (sha256
4312 (base32
4313 "0452l6zf6fjhy4kxqwv6i6hhg6yfx4wcg450k3axpyj30l7jnq3x"))))
4314 (build-system haskell-build-system)
4315 (native-inputs
4316 `(("ghc-quickcheck" ,ghc-quickcheck)
4317 ("ghc-hspec" ,ghc-hspec)
4318 ("hspec-discover" ,hspec-discover)))
4319 (home-page "https://hackage.haskell.org/package/base-compat")
4320 (synopsis "Haskell compiler compatibility library")
4321 (description "This library provides functions available in later versions
4322 of base to a wider range of compilers, without requiring the use of CPP
4323 pragmas in your code.")
4324 (license license:bsd-3)))
4325
4326 (define-public ghc-blaze-builder
4327 (package
4328 (name "ghc-blaze-builder")
4329 (version "0.4.1.0")
4330 (source
4331 (origin
4332 (method url-fetch)
4333 (uri (string-append
4334 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
4335 version
4336 ".tar.gz"))
4337 (sha256
4338 (base32
4339 "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i"))))
4340 (build-system haskell-build-system)
4341 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
4342 (inputs
4343 `(("ghc-text" ,ghc-text)
4344 ("ghc-utf8-string" ,ghc-utf8-string)))
4345 (home-page "https://github.com/lpsmith/blaze-builder")
4346 (synopsis "Efficient buffered output")
4347 (description "This library provides an implementation of the older
4348 @code{blaze-builder} interface in terms of the new builder that shipped with
4349 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
4350 bridge to the new builder, so that code that uses the old interface can
4351 interoperate with code that uses the new implementation.")
4352 (license license:bsd-3)))
4353
4354 (define-public ghc-blaze-markup
4355 (package
4356 (name "ghc-blaze-markup")
4357 (version "0.8.2.1")
4358 (source
4359 (origin
4360 (method url-fetch)
4361 (uri (string-append "https://hackage.haskell.org/package/"
4362 "blaze-markup/blaze-markup-"
4363 version ".tar.gz"))
4364 (sha256
4365 (base32
4366 "0ih1c3qahkdgzbqihdhny5s313l2m66fbb88w8jbx7yz56y7rawh"))))
4367 (build-system haskell-build-system)
4368 (arguments
4369 `(#:phases
4370 (modify-phases %standard-phases
4371 (add-before 'configure 'update-constraints
4372 (lambda _
4373 (substitute* "blaze-markup.cabal"
4374 (("tasty >= 1\\.0 && < 1\\.1")
4375 "tasty >= 1.0 && < 1.2")))))))
4376 (inputs
4377 `(("ghc-blaze-builder" ,ghc-blaze-builder)
4378 ("ghc-text" ,ghc-text)))
4379 (native-inputs
4380 `(("ghc-hunit" ,ghc-hunit)
4381 ("ghc-quickcheck" ,ghc-quickcheck)
4382 ("ghc-tasty" ,ghc-tasty)
4383 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4384 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4385 (home-page "https://jaspervdj.be/blaze")
4386 (synopsis "Fast markup combinator library for Haskell")
4387 (description "This library provides core modules of a markup combinator
4388 library for Haskell.")
4389 (license license:bsd-3)))
4390
4391 (define-public ghc-easy-file
4392 (package
4393 (name "ghc-easy-file")
4394 (version "0.2.2")
4395 (source
4396 (origin
4397 (method url-fetch)
4398 (uri (string-append
4399 "https://hackage.haskell.org/package/easy-file/easy-file-"
4400 version
4401 ".tar.gz"))
4402 (sha256
4403 (base32
4404 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
4405 (build-system haskell-build-system)
4406 (home-page
4407 "https://github.com/kazu-yamamoto/easy-file")
4408 (synopsis "File handling library for Haskell")
4409 (description "This library provides file handling utilities for Haskell.")
4410 (license license:bsd-3)))
4411
4412 (define-public ghc-async
4413 (package
4414 (name "ghc-async")
4415 (version "2.2.1")
4416 (source
4417 (origin
4418 (method url-fetch)
4419 (uri (string-append
4420 "https://hackage.haskell.org/package/async/async-"
4421 version
4422 ".tar.gz"))
4423 (sha256
4424 (base32
4425 "09whscli1q5z7lzyq9rfk0bq1ydplh6pjmc6qv0x668k5818c2wg"))))
4426 (build-system haskell-build-system)
4427 (inputs
4428 `(("ghc-stm" ,ghc-stm)
4429 ("ghc-hashable" ,ghc-hashable)
4430 ("ghc-hunit" ,ghc-hunit)
4431 ("ghc-test-framework" ,ghc-test-framework)
4432 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4433 (home-page "https://github.com/simonmar/async")
4434 (synopsis "Library to run IO operations asynchronously")
4435 (description "Async provides a library to run IO operations
4436 asynchronously, and wait for their results. It is a higher-level interface
4437 over threads in Haskell, in which @code{Async a} is a concurrent thread that
4438 will eventually deliver a value of type @code{a}.")
4439 (license license:bsd-3)))
4440
4441 (define-public ghc-fingertree
4442 (package
4443 (name "ghc-fingertree")
4444 (version "0.1.4.1")
4445 (source
4446 (origin
4447 (method url-fetch)
4448 (uri (string-append
4449 "https://hackage.haskell.org/package/fingertree/fingertree-"
4450 version ".tar.gz"))
4451 (sha256
4452 (base32
4453 "192fyzv0pn1437wdpqg1l80rswkk4rw3w61r4bq7dhv354bdqy4p"))))
4454 (build-system haskell-build-system)
4455 (native-inputs
4456 `(("ghc-hunit" ,ghc-hunit)
4457 ("ghc-quickcheck" ,ghc-quickcheck)
4458 ("ghc-test-framework" ,ghc-test-framework)
4459 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4460 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4461 (home-page "https://hackage.haskell.org/package/fingertree")
4462 (synopsis "Generic finger-tree structure")
4463 (description "This library provides finger trees, a general sequence
4464 representation with arbitrary annotations, for use as a base for
4465 implementations of various collection types. It includes examples, as
4466 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4467 simple general-purpose data structure\".")
4468 (license license:bsd-3)))
4469
4470 (define-public ghc-optparse-applicative
4471 (package
4472 (name "ghc-optparse-applicative")
4473 (version "0.14.2.0")
4474 (source
4475 (origin
4476 (method url-fetch)
4477 (uri (string-append
4478 "https://hackage.haskell.org/package/optparse-applicative"
4479 "/optparse-applicative-" version ".tar.gz"))
4480 (sha256
4481 (base32
4482 "0c3z1mvynlyv1garjbdmdd3npm40dabgm75js4r07cf766c1wd71"))))
4483 (build-system haskell-build-system)
4484 (inputs
4485 `(("ghc-transformers-compat" ,ghc-transformers-compat)
4486 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
4487 (native-inputs
4488 `(("ghc-quickcheck" ,ghc-quickcheck)))
4489 (home-page "https://github.com/pcapriotti/optparse-applicative")
4490 (synopsis "Utilities and combinators for parsing command line options")
4491 (description "This package provides utilities and combinators for parsing
4492 command line options in Haskell.")
4493 (license license:bsd-3)))
4494
4495 (define-public ghc-base-orphans
4496 (package
4497 (name "ghc-base-orphans")
4498 (version "0.7")
4499 (source
4500 (origin
4501 (method url-fetch)
4502 (uri (string-append
4503 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
4504 version
4505 ".tar.gz"))
4506 (sha256
4507 (base32
4508 "057f9npnqk71ccfh95djfkpd54dzazphj06grwxa3fyhwcwxrb8a"))))
4509 (build-system haskell-build-system)
4510 (native-inputs
4511 `(("ghc-quickcheck" ,ghc-quickcheck)
4512 ("ghc-hspec" ,ghc-hspec)
4513 ("hspec-discover" ,hspec-discover)))
4514 (home-page "https://hackage.haskell.org/package/base-orphans")
4515 (synopsis "Orphan instances for backwards compatibility")
4516 (description "This package defines orphan instances that mimic instances
4517 available in later versions of base to a wider (older) range of compilers.")
4518 (license license:bsd-3)))
4519
4520 (define-public ghc-auto-update
4521 (package
4522 (name "ghc-auto-update")
4523 (version "0.1.4")
4524 (source
4525 (origin
4526 (method url-fetch)
4527 (uri (string-append
4528 "https://hackage.haskell.org/package/auto-update/auto-update-"
4529 version
4530 ".tar.gz"))
4531 (sha256
4532 (base32
4533 "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy"))))
4534 (build-system haskell-build-system)
4535 (home-page "https://github.com/yesodweb/wai")
4536 (synopsis "Efficiently run periodic, on-demand actions")
4537 (description "This library provides mechanisms to efficiently run
4538 periodic, on-demand actions in Haskell.")
4539 (license license:expat)))
4540
4541 (define-public ghc-tagged
4542 (package
4543 (name "ghc-tagged")
4544 (version "0.8.5")
4545 (source
4546 (origin
4547 (method url-fetch)
4548 (uri (string-append
4549 "https://hackage.haskell.org/package/tagged/tagged-"
4550 version
4551 ".tar.gz"))
4552 (sha256
4553 (base32
4554 "16cdzh0bw16nvjnyyy5j9s60malhz4nnazw96vxb0xzdap4m2z74"))))
4555 (build-system haskell-build-system)
4556 (arguments
4557 `(#:cabal-revision
4558 ("2" "0r2knfcq0b4s652vlvlnfwxlc2mkc2ra9kl8bp4zdn1awmfy0ia5")))
4559 (inputs
4560 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4561 (home-page "https://hackage.haskell.org/package/tagged")
4562 (synopsis "Haskell phantom types to avoid passing dummy arguments")
4563 (description "This library provides phantom types for Haskell 98, to avoid
4564 having to unsafely pass dummy arguments.")
4565 (license license:bsd-3)))
4566
4567 (define-public ghc-unbounded-delays
4568 (package
4569 (name "ghc-unbounded-delays")
4570 (version "0.1.1.0")
4571 (source
4572 (origin
4573 (method url-fetch)
4574 (uri (string-append
4575 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
4576 version
4577 ".tar.gz"))
4578 (sha256
4579 (base32
4580 "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa"))))
4581 (build-system haskell-build-system)
4582 (home-page "https://github.com/basvandijk/unbounded-delays")
4583 (synopsis "Unbounded thread delays and timeouts")
4584 (description "The @code{threadDelay} and @code{timeout} functions from the
4585 Haskell base library use the bounded @code{Int} type for specifying the delay
4586 or timeout period. This package provides alternative functions which use the
4587 unbounded @code{Integer} type.")
4588 (license license:bsd-3)))
4589
4590 (define-public ghc-clock
4591 (package
4592 (name "ghc-clock")
4593 (version "0.7.2")
4594 (source
4595 (origin
4596 (method url-fetch)
4597 (uri (string-append
4598 "https://hackage.haskell.org/package/"
4599 "clock/"
4600 "clock-" version ".tar.gz"))
4601 (sha256
4602 (base32 "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8"))))
4603 (build-system haskell-build-system)
4604 (inputs
4605 `(("ghc-tasty" ,ghc-tasty)
4606 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4607 (home-page "https://hackage.haskell.org/package/clock")
4608 (synopsis "High-resolution clock for Haskell")
4609 (description "A package for convenient access to high-resolution clock and
4610 timer functions of different operating systems via a unified API.")
4611 (license license:bsd-3)))
4612
4613 (define-public ghc-charset
4614 (package
4615 (name "ghc-charset")
4616 (version "0.3.7.1")
4617 (source
4618 (origin
4619 (method url-fetch)
4620 (uri (string-append
4621 "https://hackage.haskell.org/package/charset/charset-"
4622 version
4623 ".tar.gz"))
4624 (sha256
4625 (base32
4626 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
4627 (build-system haskell-build-system)
4628 (inputs
4629 `(("ghc-semigroups" ,ghc-semigroups)
4630 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4631 (home-page "https://github.com/ekmett/charset")
4632 (synopsis "Fast unicode character sets for Haskell")
4633 (description "This package provides fast unicode character sets for
4634 Haskell, based on complemented PATRICIA tries.")
4635 (license license:bsd-3)))
4636
4637 (define-public ghc-bytestring-builder
4638 (package
4639 (name "ghc-bytestring-builder")
4640 (version "0.10.8.1.0")
4641 (source
4642 (origin
4643 (method url-fetch)
4644 (uri (string-append
4645 "https://hackage.haskell.org/package/bytestring-builder"
4646 "/bytestring-builder-" version ".tar.gz"))
4647 (sha256
4648 (base32
4649 "1hnvjac28y44yn78c9vdp1zvrknvlw98ky3g4n5vivr16rvh8x3d"))))
4650 (build-system haskell-build-system)
4651 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4652 (home-page "https://hackage.haskell.org/package/bytestring-builder")
4653 (synopsis "The new bytestring builder, packaged outside of GHC")
4654 (description "This package provides the bytestring builder that is
4655 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
4656 Compatibility package for older packages.")
4657 (license license:bsd-3)))
4658
4659 (define-public ghc-nats
4660 (package
4661 (name "ghc-nats")
4662 (version "1.1.2")
4663 (source
4664 (origin
4665 (method url-fetch)
4666 (uri (string-append
4667 "https://hackage.haskell.org/package/nats/nats-"
4668 version
4669 ".tar.gz"))
4670 (sha256
4671 (base32
4672 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
4673 (build-system haskell-build-system)
4674 (arguments `(#:haddock? #f))
4675 (inputs
4676 `(("ghc-hashable" ,ghc-hashable)))
4677 (home-page "https://hackage.haskell.org/package/nats")
4678 (synopsis "Natural numbers")
4679 (description "This library provides the natural numbers for Haskell.")
4680 (license license:bsd-3)))
4681
4682 (define-public ghc-nats-bootstrap
4683 (package
4684 (inherit ghc-nats)
4685 (name "ghc-nats-bootstrap")
4686 (inputs
4687 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
4688 (properties '((hidden? #t)))))
4689
4690 (define-public ghc-void
4691 (package
4692 (name "ghc-void")
4693 (version "0.7.2")
4694 (source
4695 (origin
4696 (method url-fetch)
4697 (uri (string-append
4698 "https://hackage.haskell.org/package/void/void-"
4699 version
4700 ".tar.gz"))
4701 (sha256
4702 (base32
4703 "0aygw0yb1h3yhmfl3bkwh5d3h0l4mmsxz7j53vdm6jryl1kgxzyk"))))
4704 (build-system haskell-build-system)
4705 (inputs
4706 `(("ghc-semigroups" ,ghc-semigroups)
4707 ("ghc-hashable" ,ghc-hashable)))
4708 (home-page "https://github.com/ekmett/void")
4709 (synopsis
4710 "Logically uninhabited data type")
4711 (description
4712 "A Haskell 98 logically uninhabited data type, used to indicate that a
4713 given term should not exist.")
4714 (license license:bsd-3)))
4715
4716 (define-public ghc-kan-extensions
4717 (package
4718 (name "ghc-kan-extensions")
4719 (version "5.0.1")
4720 (source
4721 (origin
4722 (method url-fetch)
4723 (uri (string-append
4724 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
4725 version
4726 ".tar.gz"))
4727 (sha256
4728 (base32
4729 "1qm0kf4krmyjbjynn96ab0h3q117vwcia5nin7n2b8b4f3jrzph1"))))
4730 (build-system haskell-build-system)
4731 (inputs
4732 `(("ghc-adjunctions" ,ghc-adjunctions)
4733 ("ghc-comonad" ,ghc-comonad)
4734 ("ghc-contravariant" ,ghc-contravariant)
4735 ("ghc-distributive" ,ghc-distributive)
4736 ("ghc-free" ,ghc-free)
4737 ("ghc-semigroupoids" ,ghc-semigroupoids)
4738 ("ghc-tagged" ,ghc-tagged)))
4739 (home-page "https://github.com/ekmett/kan-extensions/")
4740 (synopsis "Kan extensions library")
4741 (description "This library provides Kan extensions, Kan lifts, various
4742 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
4743 (license license:bsd-3)))
4744
4745 (define-public ghc-call-stack
4746 (package
4747 (name "ghc-call-stack")
4748 (version "0.1.0")
4749 (source
4750 (origin
4751 (method url-fetch)
4752 (uri (string-append "https://hackage.haskell.org/package/"
4753 "call-stack/call-stack-"
4754 version ".tar.gz"))
4755 (sha256
4756 (base32
4757 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
4758 (build-system haskell-build-system)
4759 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
4760 (home-page "https://github.com/sol/call-stack#readme")
4761 (synopsis "Use GHC call-stacks in a backward compatible way")
4762 (description "This package provides a compatibility layer for using GHC
4763 call stacks with different versions of the compiler.")
4764 (license license:expat)))
4765
4766 ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
4767 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
4768 (define-public ghc-call-stack-boot
4769 (package
4770 (inherit ghc-call-stack)
4771 (arguments '(#:tests? #f))
4772 (inputs '())))
4773
4774 (define-public ghc-statevar
4775 (package
4776 (name "ghc-statevar")
4777 (version "1.1.1.1")
4778 (source
4779 (origin
4780 (method url-fetch)
4781 (uri (string-append
4782 "https://hackage.haskell.org/package/StateVar/StateVar-"
4783 version
4784 ".tar.gz"))
4785 (sha256
4786 (base32
4787 "08r2iw0gdmfs4f6wraaq19vfmkjdbics3dbhw39y7mdjd98kcr7b"))))
4788 (build-system haskell-build-system)
4789 (inputs
4790 `(("ghc-stm" ,ghc-stm)))
4791 (home-page "https://hackage.haskell.org/package/StateVar")
4792 (synopsis "State variables for Haskell")
4793 (description "This package provides state variables, which are references
4794 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
4795 (license license:bsd-3)))
4796
4797 (define-public ghc-lens
4798 (package
4799 (name "ghc-lens")
4800 (version "4.15.4")
4801 (source
4802 (origin
4803 (method url-fetch)
4804 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
4805 version ".tar.gz"))
4806 (sha256
4807 (base32
4808 "1lkwlnhgpgnsz046mw4qs0fa7h4l012gilrr3nf3spllsy3pnbkl"))))
4809 (build-system haskell-build-system)
4810 (inputs
4811 `(("ghc-base-orphans" ,ghc-base-orphans)
4812 ("ghc-bifunctors" ,ghc-bifunctors)
4813 ("ghc-doctest" ,ghc-doctest-0.13)
4814 ("ghc-distributive" ,ghc-distributive)
4815 ("ghc-exceptions" ,ghc-exceptions)
4816 ("ghc-free" ,ghc-free)
4817 ("ghc-kan-extensions" ,ghc-kan-extensions)
4818 ("ghc-parallel" ,ghc-parallel)
4819 ("ghc-reflection" ,ghc-reflection)
4820 ("ghc-semigroupoids" ,ghc-semigroupoids)
4821 ("ghc-vector" ,ghc-vector)
4822 ("ghc-call-stack" ,ghc-call-stack)
4823 ("ghc-comonad" ,ghc-comonad)
4824 ("ghc-contravariant" ,ghc-contravariant)
4825 ("ghc-hashable" ,ghc-hashable)
4826 ("ghc-profunctors" ,ghc-profunctors)
4827 ("ghc-semigroups" ,ghc-semigroups)
4828 ("ghc-tagged" ,ghc-tagged)
4829 ("ghc-text" ,ghc-text)
4830 ("ghc-transformers-compat" ,ghc-transformers-compat)
4831 ("ghc-unordered-containers" ,ghc-unordered-containers)
4832 ("ghc-void" ,ghc-void)
4833 ("ghc-generic-deriving" ,ghc-generic-deriving)
4834 ("ghc-nats" ,ghc-nats)
4835 ("ghc-simple-reflect" ,ghc-simple-reflect)
4836 ("hlint" ,hlint)))
4837 (native-inputs
4838 `(("cabal-doctest" ,cabal-doctest)
4839 ("ghc-hunit" ,ghc-hunit)
4840 ("ghc-test-framework" ,ghc-test-framework)
4841 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4842 ("ghc-test-framework-th" ,ghc-test-framework-th)
4843 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
4844 ("ghc-quickcheck" ,ghc-quickcheck)))
4845 (home-page "https://github.com/ekmett/lens/")
4846 (synopsis "Lenses, Folds and Traversals")
4847 (description "This library provides @code{Control.Lens}. The combinators
4848 in @code{Control.Lens} provide a highly generic toolbox for composing families
4849 of getters, folds, isomorphisms, traversals, setters and lenses and their
4850 indexed variants.")
4851 (license license:bsd-3)))
4852
4853 (define-public ghc-cheapskate
4854 (package
4855 (name "ghc-cheapskate")
4856 (version "0.1.1")
4857 (source
4858 (origin
4859 (method url-fetch)
4860 (uri (string-append
4861 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
4862 version
4863 ".tar.gz"))
4864 (sha256
4865 (base32
4866 "1hiqi7h76shjzs2zj0j8g6wnq2hbiq1hmfafdazr97fba2zl2432"))))
4867 (build-system haskell-build-system)
4868 (inputs
4869 `(("ghc-text" ,ghc-text)
4870 ("ghc-blaze-html" ,ghc-blaze-html)
4871 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
4872 ("ghc-data-default" ,ghc-data-default)
4873 ("ghc-syb" ,ghc-syb)
4874 ("ghc-uniplate" ,ghc-uniplate)))
4875 (home-page "https://github.com/jgm/cheapskate")
4876 (synopsis "Experimental markdown processor")
4877 (description "Cheapskate is an experimental Markdown processor in pure
4878 Haskell. It aims to process Markdown efficiently and in the most forgiving
4879 possible way. It is designed to deal with any input, including garbage, with
4880 linear performance. Output is sanitized by default for protection against
4881 cross-site scripting (@dfn{XSS}) attacks.")
4882 (license license:bsd-3)))
4883
4884 (define-public ghc-bifunctors
4885 (package
4886 (name "ghc-bifunctors")
4887 (version "5.5.2")
4888 (source
4889 (origin
4890 (method url-fetch)
4891 (uri (string-append
4892 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
4893 version
4894 ".tar.gz"))
4895 (sha256
4896 (base32
4897 "04fbsysm6zl8kmvqgffmrqa9bxl9dl2gibrd51asqzg737mb4ark"))))
4898 (build-system haskell-build-system)
4899 (inputs
4900 `(("ghc-base-orphans" ,ghc-base-orphans)
4901 ("ghc-comonad" ,ghc-comonad)
4902 ("ghc-th-abstraction" ,ghc-th-abstraction)
4903 ("ghc-transformers-compat" ,ghc-transformers-compat)
4904 ("ghc-tagged" ,ghc-tagged)
4905 ("ghc-semigroups" ,ghc-semigroups)))
4906 (native-inputs
4907 `(("ghc-hspec" ,ghc-hspec)
4908 ("hspec-discover" ,hspec-discover)
4909 ("ghc-quickcheck" ,ghc-quickcheck)))
4910 (home-page "https://github.com/ekmett/bifunctors/")
4911 (synopsis "Bifunctors for Haskell")
4912 (description "This package provides bifunctors for Haskell.")
4913 (license license:bsd-3)))
4914
4915 (define-public ghc-semigroupoids
4916 (package
4917 (name "ghc-semigroupoids")
4918 (version "5.1")
4919 (source
4920 (origin
4921 (method url-fetch)
4922 (uri (string-append
4923 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
4924 version
4925 ".tar.gz"))
4926 (sha256
4927 (base32
4928 "0dgqc59p4xx5cl8qkpm6sn4wd3n59rq7l6din76hf10bnklqrb0n"))))
4929 (build-system haskell-build-system)
4930 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4931 (inputs
4932 `(("ghc-base-orphans" ,ghc-base-orphans)
4933 ("ghc-transformers-compat" ,ghc-transformers-compat)
4934 ("ghc-bifunctors" ,ghc-bifunctors)
4935 ("ghc-comonad" ,ghc-comonad)
4936 ("ghc-contravariant" ,ghc-contravariant)
4937 ("ghc-distributive" ,ghc-distributive)
4938 ("ghc-semigroups" ,ghc-semigroups)
4939 ("ghc-tagged" ,ghc-tagged)))
4940 (home-page "https://github.com/ekmett/semigroupoids")
4941 (synopsis "Semigroupoids operations for Haskell")
4942 (description "This library provides a wide array of (semi)groupoids and
4943 operations for working with them. A @code{Semigroupoid} is a @code{Category}
4944 without the requirement of identity arrows for every object in the category.
4945 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
4946 Finally, to work with these weaker structures it is beneficial to have
4947 containers that can provide stronger guarantees about their contents, so
4948 versions of @code{Traversable} and @code{Foldable} that can be folded with
4949 just a @code{Semigroup} are added.")
4950 (license license:bsd-3)))
4951
4952 (define-public ghc-contravariant
4953 (package
4954 (name "ghc-contravariant")
4955 (version "1.4.1")
4956 (source
4957 (origin
4958 (method url-fetch)
4959 (uri (string-append
4960 "https://hackage.haskell.org/package/contravariant/contravariant-"
4961 version
4962 ".tar.gz"))
4963 (sha256
4964 (base32
4965 "1vfhk8c5cxmmakx7rflap1ipkx5q0j5vnlrcz7yz6y53kxhksgf9"))))
4966 (build-system haskell-build-system)
4967 (inputs
4968 `(("ghc-void" ,ghc-void)
4969 ("ghc-transformers-compat" ,ghc-transformers-compat)
4970 ("ghc-statevar" ,ghc-statevar)
4971 ("ghc-semigroups" ,ghc-semigroups)))
4972 (home-page
4973 "https://github.com/ekmett/contravariant/")
4974 (synopsis "Contravariant functors")
4975 (description "Contravariant functors for Haskell.")
4976 (license license:bsd-3)))
4977
4978 (define-public ghc-semigroups
4979 (package
4980 (name "ghc-semigroups")
4981 (version "0.18.5")
4982 (source
4983 (origin
4984 (method url-fetch)
4985 (uri (string-append
4986 "https://hackage.haskell.org/package/semigroups/semigroups-"
4987 version
4988 ".tar.gz"))
4989 (sha256
4990 (base32
4991 "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb"))))
4992 (build-system haskell-build-system)
4993 (inputs
4994 `(("ghc-nats" ,ghc-nats)
4995 ("ghc-tagged" ,ghc-tagged)
4996 ("ghc-unordered-containers" ,ghc-unordered-containers)
4997 ("ghc-text" ,ghc-text)
4998 ("ghc-hashable" ,ghc-hashable)))
4999 (home-page "https://github.com/ekmett/semigroups/")
5000 (synopsis "Semigroup operations for Haskell")
5001 (description "This package provides semigroups for Haskell. In
5002 mathematics, a semigroup is an algebraic structure consisting of a set
5003 together with an associative binary operation. A semigroup generalizes a
5004 monoid in that there might not exist an identity element. It
5005 also (originally) generalized a group (a monoid with all inverses) to a type
5006 where every element did not have to have an inverse, thus the name
5007 semigroup.")
5008 (license license:bsd-3)))
5009
5010 (define-public ghc-semigroups-bootstrap
5011 (package
5012 (inherit ghc-semigroups)
5013 (name "ghc-semigroups-bootstrap")
5014 (inputs
5015 `(("ghc-nats" ,ghc-nats-bootstrap)
5016 ("ghc-tagged" ,ghc-tagged)
5017 ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap)
5018 ("ghc-text" ,ghc-text)
5019 ("ghc-hashable" ,ghc-hashable-bootstrap)))
5020 (properties '(hidden? #t))))
5021
5022 (define-public ghc-free
5023 (package
5024 (name "ghc-free")
5025 (version "4.12.4")
5026 (source
5027 (origin
5028 (method url-fetch)
5029 (uri (string-append
5030 "https://hackage.haskell.org/package/free/free-"
5031 version
5032 ".tar.gz"))
5033 (sha256
5034 (base32
5035 "1147s393442xf4gkpbq0rd1p286vmykgx85mxhk5d1c7wfm4bzn9"))))
5036 (build-system haskell-build-system)
5037 (inputs
5038 `(("ghc-prelude-extras" ,ghc-prelude-extras)
5039 ("ghc-profunctors" ,ghc-profunctors)
5040 ("ghc-exceptions" ,ghc-exceptions)
5041 ("ghc-bifunctors" ,ghc-bifunctors)
5042 ("ghc-comonad" ,ghc-comonad)
5043 ("ghc-distributive" ,ghc-distributive)
5044 ("ghc-semigroupoids" ,ghc-semigroupoids)
5045 ("ghc-semigroups" ,ghc-semigroups)))
5046 (home-page "https://github.com/ekmett/free/")
5047 (synopsis "Unrestricted monads for Haskell")
5048 (description "This library provides free monads, which are useful for many
5049 tree-like structures and domain specific languages. If @code{f} is a
5050 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
5051 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
5052 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
5053 f} makes no constraining assumptions beyond those given by @code{f} and the
5054 definition of @code{Monad}.")
5055 (license license:bsd-3)))
5056
5057 (define-public ghc-adjunctions
5058 (package
5059 (name "ghc-adjunctions")
5060 (version "4.3")
5061 (source
5062 (origin
5063 (method url-fetch)
5064 (uri (string-append
5065 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
5066 version
5067 ".tar.gz"))
5068 (sha256
5069 (base32
5070 "1k1ykisf96i4g2zm47c45md7p42c4vsp9r73392pz1g8mx7s2j5r"))))
5071 (build-system haskell-build-system)
5072 (inputs
5073 `(("ghc-profunctors" ,ghc-profunctors)
5074 ("ghc-comonad" ,ghc-comonad)
5075 ("ghc-contravariant" ,ghc-contravariant)
5076 ("ghc-distributive" ,ghc-distributive)
5077 ("ghc-free" ,ghc-free)
5078 ("ghc-tagged" ,ghc-tagged)
5079 ("ghc-semigroupoids" ,ghc-semigroupoids)
5080 ("ghc-semigroups" ,ghc-semigroups)
5081 ("ghc-void" ,ghc-void)))
5082 (home-page "https://github.com/ekmett/adjunctions/")
5083 (synopsis "Adjunctions and representable functors")
5084 (description "This library provides adjunctions and representable functors
5085 for Haskell.")
5086 (license license:bsd-3)))
5087
5088 (define-public ghc-equivalence
5089 (package
5090 (name "ghc-equivalence")
5091 (version "0.3.2")
5092 (source
5093 (origin
5094 (method url-fetch)
5095 (uri (string-append "https://hackage.haskell.org/package/equivalence"
5096 "/equivalence-" version ".tar.gz"))
5097 (sha256
5098 (base32 "0a85bdyyvjqs5z4kfhhf758210k9gi9dv42ik66a3jl0z7aix8kx"))))
5099 (build-system haskell-build-system)
5100 (inputs
5101 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
5102 ("ghc-transformers-compat" ,ghc-transformers-compat)
5103 ("ghc-quickcheck" ,ghc-quickcheck)
5104 ("ghc-test-framework" ,ghc-test-framework)
5105 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5106 (home-page "https://github.com/pa-ba/equivalence")
5107 (synopsis "Maintaining an equivalence relation implemented as union-find")
5108 (description
5109 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
5110 Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
5111 22(2), 1975) in order to maintain an equivalence relation. This
5112 implementation is a port of the @code{union-find} package using the @code{ST}
5113 monad transformer (instead of the IO monad).")
5114 (license license:bsd-3)))
5115
5116 (define-public ghc-fast-logger
5117 (package
5118 (name "ghc-fast-logger")
5119 (version "2.4.11")
5120 (source
5121 (origin
5122 (method url-fetch)
5123 (uri (string-append
5124 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
5125 version
5126 ".tar.gz"))
5127 (sha256
5128 (base32
5129 "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv"))))
5130 (build-system haskell-build-system)
5131 (inputs
5132 `(("ghc-auto-update" ,ghc-auto-update)
5133 ("ghc-easy-file" ,ghc-easy-file)
5134 ("ghc-text" ,ghc-text)
5135 ("ghc-unix-time" ,ghc-unix-time)))
5136 (native-inputs
5137 `(("hspec-discover" ,hspec-discover)
5138 ("ghc-hspec" ,ghc-hspec)))
5139 (home-page "https://hackage.haskell.org/package/fast-logger")
5140 (synopsis "Fast logging system")
5141 (description "This library provides a fast logging system for Haskell.")
5142 (license license:bsd-3)))
5143
5144 (define-public ghc-doctest
5145 (package
5146 (name "ghc-doctest")
5147 (version "0.16.0")
5148 (source
5149 (origin
5150 (method url-fetch)
5151 (uri (string-append
5152 "https://hackage.haskell.org/package/doctest/doctest-"
5153 version
5154 ".tar.gz"))
5155 (sha256
5156 (base32
5157 "0hkccch65s3kp0b36h7bqhilnpi4bx8kngncm7ma9vbd3dwacjdv"))))
5158 (build-system haskell-build-system)
5159 (arguments `(#:tests? #f)) ; FIXME: missing test framework
5160 (inputs
5161 `(("ghc-syb" ,ghc-syb)
5162 ("ghc-paths" ,ghc-paths)
5163 ("ghc-base-compat" ,ghc-base-compat)
5164 ("ghc-code-page" ,ghc-code-page)
5165 ("ghc-hunit" ,ghc-hunit)
5166 ("ghc-hspec" ,ghc-hspec)
5167 ("ghc-quickcheck" ,ghc-quickcheck)
5168 ("ghc-stringbuilder" ,ghc-stringbuilder)
5169 ("ghc-silently" ,ghc-silently)
5170 ("ghc-setenv" ,ghc-setenv)))
5171 (home-page
5172 "https://github.com/sol/doctest#readme")
5173 (synopsis "Test interactive Haskell examples")
5174 (description "The doctest program checks examples in source code comments.
5175 It is modeled after doctest for Python, see
5176 @uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
5177 (license license:expat)))
5178
5179 (define-public ghc-doctest-0.12
5180 (package (inherit ghc-doctest)
5181 (name "ghc-doctest")
5182 (version "0.12.0")
5183 (source
5184 (origin
5185 (method url-fetch)
5186 (uri (string-append
5187 "https://hackage.haskell.org/package/doctest/doctest-"
5188 version
5189 ".tar.gz"))
5190 (sha256
5191 (base32
5192 "13h549cpgcvb7c54c7wif28g5wak84dxc3ais0hlqhzk1q6la91a"))))
5193 (inputs
5194 `(("ghc-code-page" ,ghc-code-page)
5195 ,@(package-inputs ghc-doctest)))))
5196
5197 (define-public ghc-doctest-0.13
5198 (package (inherit ghc-doctest-0.12)
5199 (name "ghc-doctest")
5200 (version "0.13.0")
5201 (source
5202 (origin
5203 (method url-fetch)
5204 (uri (string-append "https://hackage.haskell.org/package/"
5205 "doctest/doctest-" version ".tar.gz"))
5206 (sha256
5207 (base32
5208 "08g3nmpqbnbkxc95d65hkhfabwax10qrq51vlynr342npn40mn2b"))))))
5209
5210 (define-public ghc-lifted-base
5211 (package
5212 (name "ghc-lifted-base")
5213 (version "0.2.3.12")
5214 (source
5215 (origin
5216 (method url-fetch)
5217 (uri (string-append
5218 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
5219 version
5220 ".tar.gz"))
5221 (sha256
5222 (base32
5223 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
5224 (build-system haskell-build-system)
5225 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
5226 (inputs
5227 `(("ghc-transformers-base" ,ghc-transformers-base)
5228 ("ghc-monad-control" ,ghc-monad-control)
5229 ("ghc-transformers-compat" ,ghc-transformers-compat)
5230 ("ghc-hunit" ,ghc-hunit)))
5231 (home-page "https://github.com/basvandijk/lifted-base")
5232 (synopsis "Lifted IO operations from the base library")
5233 (description "Lifted-base exports IO operations from the @code{base}
5234 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
5235 Note that not all modules from @code{base} are converted yet. The package
5236 includes a copy of the @code{monad-peel} test suite written by Anders
5237 Kaseorg.")
5238 (license license:bsd-3)))
5239
5240 (define-public ghc-word8
5241 (package
5242 (name "ghc-word8")
5243 (version "0.1.3")
5244 (source
5245 (origin
5246 (method url-fetch)
5247 (uri (string-append
5248 "https://hackage.haskell.org/package/word8/word8-"
5249 version
5250 ".tar.gz"))
5251 (sha256
5252 (base32
5253 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
5254 (build-system haskell-build-system)
5255 (native-inputs
5256 `(("ghc-hspec" ,ghc-hspec)
5257 ("hspec-discover" ,hspec-discover)))
5258 (home-page "https://hackage.haskell.org/package/word8")
5259 (synopsis "Word8 library for Haskell")
5260 (description "Word8 library to be used with @code{Data.ByteString}.")
5261 (license license:bsd-3)))
5262
5263 (define-public ghc-stringsearch
5264 (package
5265 (name "ghc-stringsearch")
5266 (version "0.3.6.6")
5267 (source
5268 (origin
5269 (method url-fetch)
5270 (uri (string-append
5271 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
5272 version
5273 ".tar.gz"))
5274 (sha256
5275 (base32
5276 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
5277 (build-system haskell-build-system)
5278 (home-page "https://bitbucket.org/dafis/stringsearch")
5279 (synopsis "Fast searching, splitting and replacing of ByteStrings")
5280 (description "This package provides several functions to quickly search
5281 for substrings in strict or lazy @code{ByteStrings}. It also provides
5282 functions for breaking or splitting on substrings and replacing all
5283 occurrences of a substring (the first in case of overlaps) with another.")
5284 (license license:bsd-3)))
5285
5286 (define-public ghc-integer-logarithms
5287 (package
5288 (name "ghc-integer-logarithms")
5289 (version "1.0.2.1")
5290 (source
5291 (origin
5292 (method url-fetch)
5293 (uri (string-append "https://hackage.haskell.org/package/"
5294 "integer-logarithms/integer-logarithms-"
5295 version ".tar.gz"))
5296 (sha256
5297 (base32
5298 "1wj8kgjg5bn2yrs4zh9qfjv85cx6w998j9pi39yrbv305944mb9j"))))
5299 (build-system haskell-build-system)
5300 (arguments
5301 `(#:phases
5302 (modify-phases %standard-phases
5303 (add-before 'configure 'update-constraints
5304 (lambda _
5305 (substitute* "integer-logarithms.cabal"
5306 (("tasty >= 0\\.10 && < 1\\.1")
5307 "tasty >= 0.10 && < 1.2")))))))
5308 (native-inputs
5309 `(("ghc-quickcheck" ,ghc-quickcheck)
5310 ("ghc-smallcheck" ,ghc-smallcheck)
5311 ("ghc-tasty" ,ghc-tasty)
5312 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5313 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5314 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
5315 (home-page "https://github.com/Bodigrim/integer-logarithms")
5316 (synopsis "Integer logarithms")
5317 (description
5318 "This package provides the following modules:
5319 @code{Math.NumberTheory.Logarithms} and
5320 @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
5321 @code{GHC.Integer.Logarithms.Compat} and
5322 @code{Math.NumberTheory.Power.Natural}, as well as some additional functions
5323 in migrated modules.")
5324 (license license:expat)))
5325
5326 (define-public ghc-integer-logarithms-bootstrap
5327 (package
5328 (inherit ghc-integer-logarithms)
5329 (name "ghc-integer-logarithms-bootstrap")
5330 (arguments `(#:tests? #f))
5331 (native-inputs '())
5332 (properties '(hidden? #t))))
5333
5334 (define-public ghc-scientific
5335 (package
5336 (name "ghc-scientific")
5337 (version "0.3.6.2")
5338 (source
5339 (origin
5340 (method url-fetch)
5341 (uri (string-append
5342 "https://hackage.haskell.org/package/scientific/scientific-"
5343 version
5344 ".tar.gz"))
5345 (sha256
5346 (base32
5347 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
5348 (build-system haskell-build-system)
5349 (inputs
5350 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
5351 ("ghc-text" ,ghc-text)
5352 ("ghc-hashable" ,ghc-hashable)
5353 ("ghc-primitive" ,ghc-primitive)))
5354 (native-inputs
5355 `(("ghc-tasty" ,ghc-tasty)
5356 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
5357 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5358 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5359 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5360 ("ghc-smallcheck" ,ghc-smallcheck)
5361 ("ghc-quickcheck" ,ghc-quickcheck)))
5362 (home-page "https://github.com/basvandijk/scientific")
5363 (synopsis "Numbers represented using scientific notation")
5364 (description "This package provides @code{Data.Scientific}, which provides
5365 the number type @code{Scientific}. Scientific numbers are arbitrary precision
5366 and space efficient. They are represented using
5367 @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
5368 notation}.")
5369 (license license:bsd-3)))
5370
5371 (define-public ghc-scientific-bootstrap
5372 (package
5373 (inherit ghc-scientific)
5374 (name "ghc-scientific-bootstrap")
5375 (arguments `(#:tests? #f))
5376 (inputs
5377 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
5378 ("ghc-text" ,ghc-text)
5379 ("ghc-hashable" ,ghc-hashable)
5380 ("ghc-primitive" ,ghc-primitive)))
5381 (native-inputs '())
5382 (properties '(hidden? #t))))
5383
5384 (define-public ghc-boxes
5385 (package
5386 (name "ghc-boxes")
5387 (version "0.1.5")
5388 (source
5389 (origin
5390 (method url-fetch)
5391 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
5392 version ".tar.gz"))
5393 (sha256
5394 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
5395 (build-system haskell-build-system)
5396 (inputs
5397 `(("ghc-split" ,ghc-split)
5398 ("ghc-quickcheck" ,ghc-quickcheck)))
5399 (home-page "https://hackage.haskell.org/package/boxes")
5400 (synopsis "2D text pretty-printing library")
5401 (description
5402 "Boxes is a pretty-printing library for laying out text in two dimensions,
5403 using a simple box model.")
5404 (license license:bsd-3)))
5405
5406 (define-public ghc-deepseq-generics
5407 (package
5408 (name "ghc-deepseq-generics")
5409 (version "0.2.0.0")
5410 (source (origin
5411 (method url-fetch)
5412 (uri (string-append "https://hackage.haskell.org/package/"
5413 "deepseq-generics/deepseq-generics-"
5414 version ".tar.gz"))
5415 (sha256
5416 (base32
5417 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
5418 (build-system haskell-build-system)
5419 (arguments
5420 `(#:cabal-revision
5421 ("2" "1pnidf8w8x0w5fsqgv8hhrw07slmhxwy5x4fikgk0bd6k76aqicb")))
5422 (native-inputs
5423 `(("ghc-hunit" ,ghc-hunit)
5424 ("ghc-test-framework" ,ghc-test-framework)
5425 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5426 (home-page "https://github.com/hvr/deepseq-generics")
5427 (synopsis "Generic RNF implementation")
5428 (description
5429 "This package provides a @code{GHC.Generics}-based
5430 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
5431 providing an 'rnf' implementation.")
5432 (license license:bsd-3)))
5433
5434 (define-public ghc-string-qq
5435 (package
5436 (name "ghc-string-qq")
5437 (version "0.0.2")
5438 (source
5439 (origin
5440 (method url-fetch)
5441 (uri (string-append
5442 "https://hackage.haskell.org/package/string-qq/string-qq-"
5443 version
5444 ".tar.gz"))
5445 (sha256
5446 (base32
5447 "0662m3i5xrdrr95w829bszkhp88mj9iy1zya54vk2sl5hz9wlmwp"))))
5448 (build-system haskell-build-system)
5449 (home-page "http://hackage.haskell.org/package/string-qq")
5450 (synopsis
5451 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
5452 (description
5453 "This package provides a quasiquoter for non-interpolated strings, texts
5454 and bytestrings.")
5455 (license license:public-domain)))
5456
5457 (define-public ghc-pandoc-types
5458 (package
5459 (name "ghc-pandoc-types")
5460 (version "1.17.5.1")
5461 (source (origin
5462 (method url-fetch)
5463 (uri (string-append "https://hackage.haskell.org/package/"
5464 "pandoc-types/pandoc-types-"
5465 version ".tar.gz"))
5466 (sha256
5467 (base32
5468 "1q6v2bynij724fv347mhqxdscwifzrx5jb9mq80608qf638fn717"))))
5469 (build-system haskell-build-system)
5470 (arguments
5471 `(#:configure-flags (list "--allow-newer=QuickCheck")))
5472 (inputs
5473 `(("ghc-syb" ,ghc-syb)
5474 ("ghc-aeson" ,ghc-aeson)
5475 ("ghc-string-qq" ,ghc-string-qq)))
5476 (native-inputs
5477 `(("ghc-quickcheck" ,ghc-quickcheck)
5478 ("ghc-test-framework" ,ghc-test-framework)
5479 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5480 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5481 ("ghc-hunit" ,ghc-hunit)))
5482 (home-page "http://johnmacfarlane.net/pandoc")
5483 (synopsis "Types for representing a structured document")
5484 (description
5485 "This module defines the @code{Pandoc} data structure, which is used by
5486 pandoc to represent structured documents. It also provides functions for
5487 building up, manipulating and serialising @code{Pandoc} structures.")
5488 (license license:bsd-3)))
5489
5490 (define-public ghc-pandoc-types-for-pandoc-1
5491 (package (inherit ghc-pandoc-types)
5492 (version "1.17.0.5")
5493 (source (origin
5494 (method url-fetch)
5495 (uri (string-append "https://hackage.haskell.org/package/"
5496 "pandoc-types/pandoc-types-"
5497 version ".tar.gz"))
5498 (sha256
5499 (base32
5500 "1csipjdq00iiq77k2wlrg4i7afrzlh8nl585q785xzw7nn45b0n8"))))
5501 (arguments
5502 `(#:configure-flags (list "--allow-newer=QuickCheck"
5503 "--allow-newer=HUnit")))
5504 (inputs
5505 `(("ghc-syb" ,ghc-syb)
5506 ("ghc-aeson" ,ghc-aeson-for-pandoc-1)
5507 ("ghc-string-qq" ,ghc-string-qq)))))
5508
5509 (define-public ghc-texmath
5510 (package
5511 (name "ghc-texmath")
5512 (version "0.11.0.1")
5513 (source (origin
5514 (method url-fetch)
5515 (uri (string-append "https://hackage.haskell.org/package/"
5516 "texmath/texmath-" version ".tar.gz"))
5517 (sha256
5518 (base32
5519 "11dc09hfnyfsz20ch2c867w0zdgjkzq41506lm61i3dk87ngdisf"))))
5520 (build-system haskell-build-system)
5521 (inputs
5522 `(("ghc-syb" ,ghc-syb)
5523 ("ghc-network-uri" ,ghc-network-uri)
5524 ("ghc-split" ,ghc-split)
5525 ("ghc-temporary" ,ghc-temporary)
5526 ("ghc-utf8-string" ,ghc-utf8-string)
5527 ("ghc-xml" ,ghc-xml)
5528 ("ghc-parsec" ,ghc-parsec)
5529 ("ghc-pandoc-types" ,ghc-pandoc-types)))
5530 (home-page "https://github.com/jgm/texmath")
5531 (synopsis "Conversion between formats used to represent mathematics")
5532 (description
5533 "The texmath library provides functions to read and write TeX math,
5534 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
5535 Office). Support is also included for converting math formats to pandoc's
5536 native format (allowing conversion, via pandoc, to a variety of different
5537 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
5538 it can parse and apply LaTeX macros.")
5539 (license license:gpl2+)))
5540
5541 (define-public ghc-texmath-for-pandoc-1
5542 (package (inherit ghc-texmath)
5543 (version "0.9.4.4")
5544 (source (origin
5545 (method url-fetch)
5546 (uri (string-append "https://hackage.haskell.org/package/"
5547 "texmath/texmath-" version ".tar.gz"))
5548 (sha256
5549 (base32
5550 "129q33m56diiv35kdwfb07838wrg0mm88kxdqxfyl1zvf9nzkqkd"))))
5551 (inputs
5552 `(("ghc-network-uri" ,ghc-network-uri)
5553 ("ghc-pandoc-types" ,ghc-pandoc-types-for-pandoc-1)
5554 ("ghc-parsec" ,ghc-parsec)
5555 ("ghc-split" ,ghc-split)
5556 ("ghc-syb" ,ghc-syb)
5557 ("ghc-temporary" ,ghc-temporary)
5558 ("ghc-utf8-string" ,ghc-utf8-string)
5559 ("ghc-xml" ,ghc-xml)))))
5560
5561 (define-public ghc-regex-pcre-builtin
5562 (package
5563 (name "ghc-regex-pcre-builtin")
5564 (version "0.94.4.8.8.35")
5565 (source (origin
5566 (method url-fetch)
5567 (uri (string-append "https://hackage.haskell.org/package/"
5568 "regex-pcre-builtin/regex-pcre-builtin-"
5569 version ".tar.gz"))
5570 (sha256
5571 (base32
5572 "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b"))))
5573 (build-system haskell-build-system)
5574 (inputs
5575 `(("ghc-regex-base" ,ghc-regex-base)))
5576 (home-page "https://hackage.haskell.org/package/regex-pcre")
5577 (synopsis "Enhancement of the builtin Text.Regex library")
5578 (description
5579 "This package is an enhancement of the @code{Text.Regex} library,
5580 providing the PCRE backend to accompany regex-base, with bundled code from
5581 @url{https://www.pcre.org}.")
5582 (license license:bsd-3)))
5583
5584 (define-public ghc-diff
5585 (package
5586 (name "ghc-diff")
5587 (version "0.3.4")
5588 (source (origin
5589 (method url-fetch)
5590 (uri (string-append "https://hackage.haskell.org/package/"
5591 "Diff/Diff-" version ".tar.gz"))
5592 (sha256
5593 (base32
5594 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
5595 (build-system haskell-build-system)
5596 (native-inputs
5597 `(("ghc-quickcheck" ,ghc-quickcheck)
5598 ("ghc-test-framework" ,ghc-test-framework)
5599 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5600 (home-page "https://hub.darcs.net/sterlingclover/Diff")
5601 (synopsis "O(ND) diff algorithm in Haskell")
5602 (description
5603 "This package provides an implementation of the standard diff algorithm,
5604 and utilities for pretty printing.")
5605 (license license:bsd-3)))
5606
5607 (define-public ghc-highlighting-kate
5608 (package
5609 (name "ghc-highlighting-kate")
5610 (version "0.6.4")
5611 (source (origin
5612 (method url-fetch)
5613 (uri (string-append "https://hackage.haskell.org/package/"
5614 "highlighting-kate/highlighting-kate-"
5615 version ".tar.gz"))
5616 (sha256
5617 (base32
5618 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
5619 (build-system haskell-build-system)
5620 (inputs
5621 `(("ghc-diff" ,ghc-diff)
5622 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5623 (native-inputs
5624 `(("ghc-parsec" ,ghc-parsec)
5625 ("ghc-blaze-html" ,ghc-blaze-html)
5626 ("ghc-utf8-string" ,ghc-utf8-string)))
5627 (home-page "https://github.com/jgm/highlighting-kate")
5628 (synopsis "Syntax highlighting library")
5629 (description
5630 "Highlighting-kate is a syntax highlighting library with support for
5631 nearly one hundred languages. The syntax parsers are automatically generated
5632 from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5633 supported by Kate can be added. An (optional) command-line program is
5634 provided, along with a utility for generating new parsers from Kate XML syntax
5635 descriptions.")
5636 (license license:gpl2+)))
5637
5638 (define-public ghc-cmark
5639 (package
5640 (name "ghc-cmark")
5641 (version "0.5.6")
5642 (source (origin
5643 (method url-fetch)
5644 ;; XXX As of version 0.5.6, this package bundles libcmark 0.28.0.
5645 ;; See cbits/cmark_version.h.
5646 (uri (string-append "https://hackage.haskell.org/package/"
5647 "cmark/cmark-" version ".tar.gz"))
5648 (sha256
5649 (base32
5650 "1c1j3a8b9qx5zk9myqm3gap8ymz7fipwrdmyfsq9wkkdr9x4np45"))))
5651 (build-system haskell-build-system)
5652 (inputs
5653 `(("ghc-text" ,ghc-text)))
5654 (native-inputs
5655 `(("ghc-hunit" ,ghc-hunit)))
5656 (home-page "https://github.com/jgm/commonmark-hs")
5657 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
5658 (description
5659 "This package provides Haskell bindings for
5660 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
5661 CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
5662 sources, and does not require prior installation of the C library.")
5663 (license license:bsd-3)))
5664
5665 (define-public ghc-cmark-gfm
5666 (package
5667 (name "ghc-cmark-gfm")
5668 (version "0.1.5")
5669 (source
5670 (origin
5671 (method url-fetch)
5672 (uri (string-append "https://hackage.haskell.org/package/"
5673 "cmark-gfm/cmark-gfm-"
5674 version ".tar.gz"))
5675 (sha256
5676 (base32
5677 "13b0mqks5c1q989slgsa3ixr5vvkfyic4ynzgv00kgl5qrs7hqk7"))))
5678 (build-system haskell-build-system)
5679 (inputs
5680 `(("ghc-text" ,ghc-text)))
5681 (native-inputs
5682 `(("ghc-hunit" ,ghc-hunit)))
5683 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
5684 (synopsis
5685 "Fast, accurate GitHub Flavored Markdown parser and renderer")
5686 (description
5687 "This package provides Haskell bindings for libcmark-gfm, the reference
5688 parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
5689 It includes sources for libcmark-gfm and does not require prior installation
5690 of the C library.")
5691 (license license:bsd-3)))
5692
5693 (define-public ghc-executable-path
5694 (package
5695 (name "ghc-executable-path")
5696 (version "0.0.3.1")
5697 (source (origin
5698 (method url-fetch)
5699 (uri (string-append "https://hackage.haskell.org/package/"
5700 "executable-path/executable-path-"
5701 version ".tar.gz"))
5702 (sha256
5703 (base32
5704 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
5705 (build-system haskell-build-system)
5706 (home-page "https://hackage.haskell.org/package/executable-path")
5707 (synopsis "Find out the full path of the executable")
5708 (description
5709 "The documentation of @code{System.Environment.getProgName} says that
5710 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
5711 instead, for maximum portability, we just return the leafname of the program
5712 as invoked.\" This library tries to provide the missing path.")
5713 (license license:public-domain)))
5714
5715 (define-public ghc-enclosed-exceptions
5716 (package
5717 (name "ghc-enclosed-exceptions")
5718 (version "1.0.3")
5719 (source (origin
5720 (method url-fetch)
5721 (uri (string-append "https://hackage.haskell.org/package/"
5722 "enclosed-exceptions/enclosed-exceptions-"
5723 version ".tar.gz"))
5724 (sha256
5725 (base32
5726 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
5727 (build-system haskell-build-system)
5728 ;; FIXME: one of the tests blocks forever:
5729 ;; "thread blocked indefinitely in an MVar operation"
5730 (arguments '(#:tests? #f))
5731 (inputs
5732 `(("ghc-lifted-base" ,ghc-lifted-base)
5733 ("ghc-monad-control" ,ghc-monad-control)
5734 ("ghc-async" ,ghc-async)
5735 ("ghc-transformers-base" ,ghc-transformers-base)))
5736 (native-inputs
5737 `(("ghc-hspec" ,ghc-hspec)
5738 ("ghc-quickcheck" ,ghc-quickcheck)))
5739 (home-page "https://github.com/jcristovao/enclosed-exceptions")
5740 (synopsis "Catch all exceptions from within an enclosed computation")
5741 (description
5742 "This library implements a technique to catch all exceptions raised
5743 within an enclosed computation, while remaining responsive to (external)
5744 asynchronous exceptions.")
5745 (license license:expat)))
5746
5747 (define-public ghc-packedstring
5748 (package
5749 (name "ghc-packedstring")
5750 (version "0.1.0.1")
5751 (source (origin
5752 (method url-fetch)
5753 (uri (string-append "https://hackage.haskell.org/package/"
5754 "packedstring/packedstring-"
5755 version ".tar.gz"))
5756 (sha256
5757 (base32
5758 "1x78pzzdlnpcmh9p37rlf8m5cxf3yqm2alf3whl4zpr9w25r0qj8"))))
5759 (build-system haskell-build-system)
5760 (arguments
5761 `(#:phases
5762 (modify-phases %standard-phases
5763 (add-after 'unpack 'enable-extension
5764 (lambda _
5765 ;; This package won't compile without the StandaloneDeriving
5766 ;; extension.
5767 (substitute* "packedstring.cabal"
5768 (("CPP") "CPP, StandaloneDeriving"))
5769 #t)))))
5770 (home-page "https://hackage.haskell.org/package/packedstring")
5771 (synopsis "Library for packed strings")
5772 (description
5773 "This deprecated library provides an implementation of packed strings.")
5774 (license license:bsd-3)))
5775
5776 (define-public ghc-th-abstraction
5777 (package
5778 (name "ghc-th-abstraction")
5779 (version "0.2.8.0")
5780 (source
5781 (origin
5782 (method url-fetch)
5783 (uri (string-append "https://hackage.haskell.org/package/"
5784 "th-abstraction/th-abstraction-"
5785 version ".tar.gz"))
5786 (sha256
5787 (base32
5788 "0n17w4q2ykd0nica4sck2wng6md56rfad8x0icl0l8vnzb9nn4ya"))))
5789 (build-system haskell-build-system)
5790 (home-page "https://github.com/glguy/th-abstraction")
5791 (synopsis "Nicer interface for reified information about data types")
5792 (description
5793 "This package normalizes variations in the interface for inspecting
5794 datatype information via Template Haskell so that packages and support a
5795 single, easier to use informational datatype while supporting many versions of
5796 Template Haskell.")
5797 (license license:isc)))
5798
5799 (define-public ghc-th-lift
5800 (package
5801 (name "ghc-th-lift")
5802 (version "0.7.11")
5803 (source (origin
5804 (method url-fetch)
5805 (uri (string-append "https://hackage.haskell.org/package/"
5806 "th-lift/th-lift-" version ".tar.gz"))
5807 (sha256
5808 (base32
5809 "131360zxb0hazbqwbkk6ab2p77jkxr79bwwm618mrwrwkm3x2g6m"))))
5810 (build-system haskell-build-system)
5811 (inputs
5812 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
5813 (home-page "https://github.com/mboes/th-lift")
5814 (synopsis "Derive Template Haskell's Lift class for datatypes")
5815 (description
5816 "This is a Haskell library to derive Template Haskell's Lift class for
5817 datatypes.")
5818 (license license:bsd-3)))
5819
5820 (define-public ghc-th-lift-instances
5821 (package
5822 (name "ghc-th-lift-instances")
5823 (version "0.1.11")
5824 (source
5825 (origin
5826 (method url-fetch)
5827 (uri (string-append "https://hackage.haskell.org/package/"
5828 "th-lift-instances/th-lift-instances-"
5829 version ".tar.gz"))
5830 (sha256
5831 (base32
5832 "1f56cp6ckcalld5jchv0kxpjkwcsixd7smd0g7r8cg67ppx6m90x"))))
5833 (build-system haskell-build-system)
5834 (inputs
5835 `(("ghc-th-lift" ,ghc-th-lift)
5836 ("ghc-vector" ,ghc-vector)
5837 ("ghc-text" ,ghc-text)
5838 ("ghc-quickcheck" ,ghc-quickcheck)))
5839 (home-page "https://github.com/bennofs/th-lift-instances/")
5840 (synopsis "Lift instances for template-haskell for common data types.")
5841 (description "Most data types in the Haskell platform do not have Lift
5842 instances. This package provides orphan instances for @code{containers},
5843 @code{text}, @code{bytestring} and @code{vector}.")
5844 (license license:bsd-3)))
5845
5846 (define-public ghc-th-expand-syns
5847 (package
5848 (name "ghc-th-expand-syns")
5849 (version "0.4.4.0")
5850 (source (origin
5851 (method url-fetch)
5852 (uri (string-append "https://hackage.haskell.org/package/"
5853 "th-expand-syns/th-expand-syns-"
5854 version ".tar.gz"))
5855 (sha256
5856 (base32
5857 "01prlvh3py5hq5ccjidfyp9ixq2zd88dkbsidyjrpkja6v8m43yc"))))
5858 (build-system haskell-build-system)
5859 (inputs
5860 `(("ghc-syb" ,ghc-syb)))
5861 (home-page "https://hackage.haskell.org/package/th-expand-syns")
5862 (synopsis "Expands type synonyms in Template Haskell ASTs")
5863 (description
5864 "This package enables users to expand type synonyms in Template Haskell
5865 @dfn{abstract syntax trees} (ASTs).")
5866 (license license:bsd-3)))
5867
5868 (define-public ghc-th-reify-many
5869 (package
5870 (name "ghc-th-reify-many")
5871 (version "0.1.8")
5872 (source (origin
5873 (method url-fetch)
5874 (uri (string-append "https://hackage.haskell.org/package/"
5875 "th-reify-many/th-reify-many-"
5876 version ".tar.gz"))
5877 (sha256
5878 (base32
5879 "0hzy6hvhvcd6i60vx5cp2b7ggmnnjh9rx4h8bm8xw4grglcaxjnf"))))
5880 (build-system haskell-build-system)
5881 (inputs
5882 `(("ghc-safe" ,ghc-safe)
5883 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
5884 (home-page "https://github.com/mgsloan/th-reify-many")
5885 (synopsis "Recurseively reify template haskell datatype info")
5886 (description
5887 "th-reify-many provides functions for recursively reifying top level
5888 declarations. The main intended use case is for enumerating the names of
5889 datatypes reachable from an initial datatype, and passing these names to some
5890 function which generates instances.")
5891 (license license:bsd-3)))
5892
5893 (define-public ghc-th-orphans
5894 (package
5895 (name "ghc-th-orphans")
5896 (version "0.13.6")
5897 (source (origin
5898 (method url-fetch)
5899 (uri (string-append "https://hackage.haskell.org/package/"
5900 "th-orphans/th-orphans-" version ".tar.gz"))
5901 (sha256
5902 (base32
5903 "0sfl3pn9kq9da3ji3lsgzgzy82vz6yvsg80dmakc1jvk7awycibp"))))
5904 (build-system haskell-build-system)
5905 (inputs
5906 `(("ghc-th-lift" ,ghc-th-lift)
5907 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
5908 ("ghc-th-reify-many" ,ghc-th-reify-many)
5909 ("ghc-generic-deriving" ,ghc-generic-deriving)))
5910 (native-inputs
5911 `(("ghc-hspec" ,ghc-hspec)))
5912 (home-page "https://hackage.haskell.org/package/th-orphans")
5913 (synopsis "Orphan instances for TH datatypes")
5914 (description
5915 "This package provides orphan instances for Template Haskell datatypes. In particular,
5916 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
5917 and @code{Eq} instances. These instances used to live in the haskell-src-meta
5918 package, and that's where the version number started.")
5919 (license license:bsd-3)))
5920
5921 (define-public ghc-geniplate-mirror
5922 (package
5923 (name "ghc-geniplate-mirror")
5924 (version "0.7.6")
5925 (source
5926 (origin
5927 (method url-fetch)
5928 (uri (string-append "https://hackage.haskell.org/package"
5929 "/geniplate-mirror"
5930 "/geniplate-mirror-" version ".tar.gz"))
5931 (sha256
5932 (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb"))))
5933 (build-system haskell-build-system)
5934 (home-page "https://github.com/danr/geniplate")
5935 (synopsis "Use Template Haskell to generate Uniplate-like functions")
5936 (description
5937 "Use Template Haskell to generate Uniplate-like functions. This is a
5938 maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
5939 geniplate} package, written by Lennart Augustsson.")
5940 (license license:bsd-3)))
5941
5942 (define-public ghc-gitrev
5943 (package
5944 (name "ghc-gitrev")
5945 (version "1.3.1")
5946 (source
5947 (origin
5948 (method url-fetch)
5949 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
5950 version ".tar.gz"))
5951 (sha256
5952 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
5953 (build-system haskell-build-system)
5954 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
5955 (home-page "https://github.com/acfoltzer/gitrev")
5956 (synopsis "Compile git revision info into Haskell projects")
5957 (description
5958 "This package provides some handy Template Haskell splices for including
5959 the current git hash and branch in the code of your project. This is useful
5960 for including in panic messages, @command{--version} output, or diagnostic
5961 info for more informative bug reports.")
5962 (license license:bsd-3)))
5963
5964 (define-public ghc-haskell-src-meta
5965 (package
5966 (name "ghc-haskell-src-meta")
5967 (version "0.8.0.2")
5968 (source (origin
5969 (method url-fetch)
5970 (uri (string-append "https://hackage.haskell.org/package/"
5971 "haskell-src-meta/haskell-src-meta-"
5972 version ".tar.gz"))
5973 (sha256
5974 (base32
5975 "12rc4v5dbbbcwdp7j8isvnm9vqpazv124j5kdfwlgwgwjhxi8ysb"))))
5976 (build-system haskell-build-system)
5977 (inputs
5978 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5979 ("ghc-syb" ,ghc-syb)
5980 ("ghc-th-orphans" ,ghc-th-orphans)))
5981 (native-inputs
5982 `(("ghc-hunit" ,ghc-hunit)
5983 ("ghc-test-framework" ,ghc-test-framework)
5984 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5985 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5986 (synopsis "Parse source to template-haskell abstract syntax")
5987 (description
5988 "This package provides tools to parse Haskell sources to the
5989 template-haskell abstract syntax.")
5990 (license license:bsd-3)))
5991
5992 (define-public ghc-conduit
5993 (package
5994 (name "ghc-conduit")
5995 (version "1.3.0.3")
5996 (source (origin
5997 (method url-fetch)
5998 (uri (string-append "https://hackage.haskell.org/package/"
5999 "conduit/conduit-" version ".tar.gz"))
6000 (sha256
6001 (base32
6002 "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v"))))
6003 (build-system haskell-build-system)
6004 (inputs
6005 `(("ghc-exceptions" ,ghc-exceptions)
6006 ("ghc-lifted-base" ,ghc-lifted-base)
6007 ("ghc-mono-traversable" ,ghc-mono-traversable)
6008 ("ghc-mmorph" ,ghc-mmorph)
6009 ("ghc-resourcet" ,ghc-resourcet)
6010 ("ghc-silently" ,ghc-silently)
6011 ("ghc-transformers-base" ,ghc-transformers-base)
6012 ("ghc-unliftio" ,ghc-unliftio)
6013 ("ghc-unliftio-core" ,ghc-unliftio-core)
6014 ("ghc-vector" ,ghc-vector)
6015 ("ghc-void" ,ghc-void)))
6016 (native-inputs
6017 `(("ghc-quickcheck" ,ghc-quickcheck)
6018 ("ghc-hspec" ,ghc-hspec)
6019 ("ghc-safe" ,ghc-safe)
6020 ("ghc-split" ,ghc-split)))
6021 (home-page "https://github.com/snoyberg/conduit")
6022 (synopsis "Streaming data library ")
6023 (description
6024 "The conduit package is a solution to the streaming data problem,
6025 allowing for production, transformation, and consumption of streams of data
6026 in constant memory. It is an alternative to lazy I/O which guarantees
6027 deterministic resource handling, and fits in the same general solution
6028 space as enumerator/iteratee and pipes.")
6029 (license license:expat)))
6030
6031 (define-public ghc-logging-facade
6032 (package
6033 (name "ghc-logging-facade")
6034 (version "0.3.0")
6035 (source (origin
6036 (method url-fetch)
6037 (uri (string-append "https://hackage.haskell.org/package/"
6038 "logging-facade/logging-facade-"
6039 version ".tar.gz"))
6040 (sha256
6041 (base32
6042 "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf"))))
6043 (build-system haskell-build-system)
6044 (native-inputs
6045 `(("ghc-hspec" ,ghc-hspec)
6046 ("hspec-discover" ,hspec-discover)))
6047 (home-page "https://hackage.haskell.org/package/logging-facade")
6048 (synopsis "Simple logging abstraction that allows multiple back-ends")
6049 (description
6050 "This package provides a simple logging abstraction that allows multiple
6051 back-ends.")
6052 (license license:expat)))
6053
6054 (define-public ghc-mockery
6055 (package
6056 (name "ghc-mockery")
6057 (version "0.3.3")
6058 (source (origin
6059 (method url-fetch)
6060 (uri (string-append "https://hackage.haskell.org/package/"
6061 "mockery/mockery-" version ".tar.gz"))
6062 (sha256
6063 (base32
6064 "1m7sq2vclgir3qbpngzl3g87ks4034blwwf7p3h02c0jlcwpl5b1"))))
6065 (build-system haskell-build-system)
6066 (inputs
6067 `(("ghc-temporary" ,ghc-temporary)
6068 ("ghc-logging-facade" ,ghc-logging-facade)
6069 ("ghc-base-compat" ,ghc-base-compat)))
6070 (native-inputs
6071 `(("ghc-hspec" ,ghc-hspec)
6072 ("hspec-discover" ,hspec-discover)))
6073 (home-page "https://hackage.haskell.org/package/mockery")
6074 (synopsis "Support functions for automated testing")
6075 (description
6076 "The mockery package provides support functions for automated testing.")
6077 (license license:expat)))
6078
6079 (define-public ghc-yaml
6080 (package
6081 (name "ghc-yaml")
6082 (version "0.8.28")
6083 (source (origin
6084 (method url-fetch)
6085 (uri (string-append "https://hackage.haskell.org/package/"
6086 "yaml/yaml-" version ".tar.gz"))
6087 (sha256
6088 (base32
6089 "0swgkzkfrwj0ac7lssn8rnrdfmh3lcsdn5fbq2iwv55di6jbc0pp"))))
6090 (build-system haskell-build-system)
6091 (inputs
6092 `(("ghc-conduit" ,ghc-conduit)
6093 ("ghc-resourcet" ,ghc-resourcet)
6094 ("ghc-aeson" ,ghc-aeson)
6095 ("ghc-unordered-containers" ,ghc-unordered-containers)
6096 ("ghc-vector" ,ghc-vector)
6097 ("ghc-text" ,ghc-text)
6098 ("ghc-attoparsec" ,ghc-attoparsec)
6099 ("ghc-scientific" ,ghc-scientific)
6100 ("ghc-semigroups" ,ghc-semigroups)
6101 ("ghc-temporary" ,ghc-temporary)
6102 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
6103 ("ghc-base-compat" ,ghc-base-compat)))
6104 (native-inputs
6105 `(("ghc-hspec" ,ghc-hspec)
6106 ("ghc-hunit" ,ghc-hunit)
6107 ("hspec-discover" ,hspec-discover)
6108 ("ghc-mockery" ,ghc-mockery)))
6109 (home-page "https://github.com/snoyberg/yaml/")
6110 (synopsis "Parsing and rendering YAML documents")
6111 (description
6112 "This package provides a library to parse and render YAML documents.")
6113 (license license:bsd-3)))
6114
6115 (define-public ghc-yaml-for-pandoc-1
6116 (package (inherit ghc-yaml)
6117 (inputs
6118 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6119 ,@(alist-delete "ghc-aeson" (package-inputs ghc-yaml))))))
6120
6121 (define-public ghc-filemanip
6122 (package
6123 (name "ghc-filemanip")
6124 (version "0.3.6.3")
6125 (source (origin
6126 (method url-fetch)
6127 (uri (string-append "https://hackage.haskell.org/package/"
6128 "filemanip/filemanip-" version ".tar.gz"))
6129 (sha256
6130 (base32
6131 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
6132 (build-system haskell-build-system)
6133 (inputs
6134 `(("ghc-unix-compat" ,ghc-unix-compat)))
6135 (home-page "https://github.com/bos/filemanip")
6136 (synopsis "File and directory manipulation for Haskell")
6137 (description
6138 "This package provides a Haskell library for working with files and
6139 directories. It includes code for pattern matching, finding files, modifying
6140 file contents, and more.")
6141 (license license:bsd-3)))
6142
6143 (define-public ghc-mmap
6144 (package
6145 (name "ghc-mmap")
6146 (version "0.5.9")
6147 (source (origin
6148 (method url-fetch)
6149 (uri (string-append "https://hackage.haskell.org/package/"
6150 "mmap/mmap-" version ".tar.gz"))
6151 (sha256
6152 (base32
6153 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
6154 (build-system haskell-build-system)
6155 (home-page "https://hackage.haskell.org/package/mmap")
6156 (synopsis "Memory mapped files for Haskell")
6157 (description
6158 "This library provides a wrapper to @code{mmap}, allowing files or
6159 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
6160 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
6161 do on-demand loading.")
6162 (license license:bsd-3)))
6163
6164 (define-public ghc-juicypixels
6165 (package
6166 (name "ghc-juicypixels")
6167 (version "3.2.9.5")
6168 (source (origin
6169 (method url-fetch)
6170 (uri (string-append "https://hackage.haskell.org/package/"
6171 "JuicyPixels/JuicyPixels-"
6172 version ".tar.gz"))
6173 (sha256
6174 (base32
6175 "0mf3ihr0xy2wc2wzb9a17g0n3p60x7pvm8akwpvhdy8klvs6r744"))))
6176 (build-system haskell-build-system)
6177 (inputs
6178 `(("ghc-zlib" ,ghc-zlib)
6179 ("ghc-vector" ,ghc-vector)
6180 ("ghc-primitive" ,ghc-primitive)
6181 ("ghc-mmap" ,ghc-mmap)))
6182 (home-page "https://github.com/Twinside/Juicy.Pixels")
6183 (synopsis "Picture loading and serialization library")
6184 (description
6185 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
6186 TIFF and GIF formats.")
6187 (license license:bsd-3)))
6188
6189 (define-public ghc-hslua
6190 (package
6191 (name "ghc-hslua")
6192 (version "0.9.5")
6193 (source (origin
6194 (method url-fetch)
6195 (uri (string-append "https://hackage.haskell.org/package/"
6196 "hslua/hslua-" version ".tar.gz"))
6197 (sha256
6198 (base32
6199 "1j2zk7f7nyywg2b0n6kb2yf6ljc7cn2sk9jz0h76g3ag2b70l12n"))))
6200 (build-system haskell-build-system)
6201 (arguments
6202 `(#:configure-flags '("-fsystem-lua")))
6203 (inputs
6204 `(("lua" ,lua)
6205 ("ghc-exceptions" ,ghc-exceptions)
6206 ("ghc-fail" ,ghc-fail)
6207 ("ghc-text" ,ghc-text)))
6208 (native-inputs
6209 `(("ghc-tasty" ,ghc-tasty)
6210 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
6211 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6212 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6213 ("ghc-quickcheck" ,ghc-quickcheck)
6214 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
6215 (home-page "https://hackage.haskell.org/package/hslua")
6216 (synopsis "Lua language interpreter embedding in Haskell")
6217 (description
6218 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
6219 described in @url{https://www.lua.org/}.")
6220 (license license:expat)))
6221
6222 (define-public ghc-hslua-for-pandoc-1
6223 (package (inherit ghc-hslua)
6224 (version "0.4.1")
6225 (source (origin
6226 (method url-fetch)
6227 (uri (string-append "https://hackage.haskell.org/package/"
6228 "hslua/hslua-" version ".tar.gz"))
6229 (sha256
6230 (base32
6231 "0gqp6qhp4v24kzv2j49kgk7bxqzw0w10x0zr0r2j9wkfavqb9wid"))))
6232 (inputs
6233 `(("lua" ,lua-5.1)
6234 ("ghc-text" ,ghc-text)))
6235 (native-inputs
6236 `(("ghc-quickcheck" ,ghc-quickcheck)
6237 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6238 ("ghc-hspec" ,ghc-hspec)
6239 ("ghc-hspec-contrib" ,ghc-hspec-contrib)
6240 ("ghc-hunit" ,ghc-hunit)
6241 ("hspec-discover" ,hspec-discover)))))
6242
6243 (define-public ghc-hslua-module-text
6244 (package
6245 (name "ghc-hslua-module-text")
6246 (version "0.1.2.1")
6247 (source
6248 (origin
6249 (method url-fetch)
6250 (uri (string-append "https://hackage.haskell.org/package/"
6251 "hslua-module-text/hslua-module-text-"
6252 version ".tar.gz"))
6253 (sha256
6254 (base32
6255 "0bcfpb1dhnxp0gr376ai4w7vczr9zrjl1r3r6w7kcxivfkwq9cxf"))))
6256 (build-system haskell-build-system)
6257 (inputs
6258 `(("ghc-hslua" ,ghc-hslua)
6259 ("ghc-text" ,ghc-text)))
6260 (native-inputs
6261 `(("ghc-tasty" ,ghc-tasty)
6262 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6263 (home-page "https://github.com/hslua/hslua-module-text")
6264 (synopsis "Lua module for text")
6265 (description
6266 "This package provides a UTF-8 aware subset of Lua's @code{string} module
6267 for Haskell. The functions provided by this module are @code{upper},
6268 @code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
6269 (license license:expat)))
6270
6271 (define-public ghc-byteable
6272 (package
6273 (name "ghc-byteable")
6274 (version "0.1.1")
6275 (source (origin
6276 (method url-fetch)
6277 (uri (string-append "https://hackage.haskell.org/package/"
6278 "byteable/byteable-" version ".tar.gz"))
6279 (sha256
6280 (base32
6281 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
6282 (build-system haskell-build-system)
6283 (home-page "https://github.com/vincenthz/hs-byteable")
6284 (synopsis "Type class for sequence of bytes")
6285 (description
6286 "This package provides an abstract class to manipulate sequence of bytes.
6287 The use case of this class is abstracting manipulation of types that are just
6288 wrapping a bytestring with stronger and more meaniful name.")
6289 (license license:bsd-3)))
6290
6291 (define-public ghc-hourglass
6292 (package
6293 (name "ghc-hourglass")
6294 (version "0.2.12")
6295 (source (origin
6296 (method url-fetch)
6297 (uri (string-append "https://hackage.haskell.org/package/"
6298 "hourglass/hourglass-" version ".tar.gz"))
6299 (sha256
6300 (base32
6301 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
6302 (build-system haskell-build-system)
6303 (inputs
6304 `(("ghc-old-locale" ,ghc-old-locale)))
6305 (native-inputs
6306 `(("ghc-tasty" ,ghc-tasty)
6307 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6308 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6309 (home-page "https://github.com/vincenthz/hs-hourglass")
6310 (synopsis "Simple time-related library for Haskell")
6311 (description
6312 "This is a simple time library providing a simple but powerful and
6313 performant API. The backbone of the library are the @code{Timeable} and
6314 @code{Time} type classes. Each @code{Timeable} instances can be converted to
6315 a type that has a @code{Time} instances, and thus are different
6316 representations of current time.")
6317 (license license:bsd-3)))
6318
6319 (define-public ghc-edit-distance
6320 (package
6321 (name "ghc-edit-distance")
6322 (version "0.2.2.1")
6323 (source
6324 (origin
6325 (method url-fetch)
6326 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
6327 "/edit-distance-" version ".tar.gz"))
6328 (sha256
6329 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
6330 (build-system haskell-build-system)
6331 (arguments
6332 `(#:phases
6333 (modify-phases %standard-phases
6334 (add-before 'configure 'update-constraints
6335 (lambda _
6336 (substitute* "edit-distance.cabal"
6337 (("QuickCheck >= 2\\.4 && <2\\.9")
6338 "QuickCheck >= 2.4 && < 2.12")))))))
6339 (inputs
6340 `(("ghc-random" ,ghc-random)
6341 ("ghc-test-framework" ,ghc-test-framework)
6342 ("ghc-quickcheck" ,ghc-quickcheck)
6343 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6344 (home-page "https://github.com/phadej/edit-distance")
6345 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
6346 (description
6347 "This package provides optimized functions to determine the edit
6348 distances for fuzzy matching, including Levenshtein and restricted
6349 Damerau-Levenshtein algorithms.")
6350 (license license:bsd-3)))
6351
6352 (define-public ghc-memory
6353 (package
6354 (name "ghc-memory")
6355 (version "0.14.16")
6356 (source (origin
6357 (method url-fetch)
6358 (uri (string-append "https://hackage.haskell.org/package/"
6359 "memory/memory-" version ".tar.gz"))
6360 (sha256
6361 (base32
6362 "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v"))))
6363 (build-system haskell-build-system)
6364 (inputs
6365 `(("ghc-basement" ,ghc-basement)
6366 ("ghc-foundation" ,ghc-foundation)))
6367 (native-inputs
6368 `(("ghc-tasty" ,ghc-tasty)
6369 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6370 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6371 (home-page "https://github.com/vincenthz/hs-memory")
6372 (synopsis "Memory abstractions for Haskell")
6373 (description
6374 "This package provides memory abstractions, such as chunk of memory,
6375 polymorphic byte array management and manipulation functions. It contains a
6376 polymorphic byte array abstraction and functions similar to strict ByteString,
6377 different type of byte array abstraction, raw memory IO operations (memory
6378 set, memory copy, ..) and more")
6379 (license license:bsd-3)))
6380
6381 (define-public ghc-socks
6382 (package
6383 (name "ghc-socks")
6384 (version "0.5.5")
6385 (source (origin
6386 (method url-fetch)
6387 (uri (string-append "https://hackage.haskell.org/package/"
6388 "socks/socks-" version ".tar.gz"))
6389 (sha256
6390 (base32
6391 "0s689w1hh9g8ifl75xhzbv96ir07hwn04b4lgvbxzl8swa9ylir6"))))
6392 (build-system haskell-build-system)
6393 (inputs
6394 `(("ghc-cereal" ,ghc-cereal)
6395 ("ghc-network" ,ghc-network)))
6396 (home-page "https://github.com/vincenthz/hs-socks")
6397 (synopsis "SOCKS proxy (version 5) implementation")
6398 (description
6399 "This library provides a SOCKS proxy (version 5) implementation.")
6400 (license license:bsd-3)))
6401
6402 (define-public ghc-connection
6403 (package
6404 (name "ghc-connection")
6405 (version "0.2.6")
6406 (source (origin
6407 (method url-fetch)
6408 (uri (string-append "https://hackage.haskell.org/package/"
6409 "connection/connection-"
6410 version ".tar.gz"))
6411 (sha256
6412 (base32
6413 "1c1prsgad669cmf6qrqlb5hmh0dnam2imijqzpwcr4ja14l6rh83"))))
6414 (build-system haskell-build-system)
6415 (inputs
6416 `(("ghc-byteable" ,ghc-byteable)
6417 ("ghc-data-default-class" ,ghc-data-default-class)
6418 ("ghc-network" ,ghc-network)
6419 ("ghc-tls" ,ghc-tls)
6420 ("ghc-socks" ,ghc-socks)
6421 ("ghc-x509" ,ghc-x509)
6422 ("ghc-x509-store" ,ghc-x509-store)
6423 ("ghc-x509-system" ,ghc-x509-system)
6424 ("ghc-x509-validation" ,ghc-x509-validation)))
6425 (home-page "https://github.com/vincenthz/hs-connection")
6426 (synopsis "Simple and easy network connections API")
6427 (description
6428 "This package provides a simple network library for all your connection
6429 needs. It provides a very simple API to create sockets to a destination with
6430 the choice of SSL/TLS, and SOCKS.")
6431 (license license:bsd-3)))
6432
6433 (define-public ghc-skylighting
6434 (package
6435 (name "ghc-skylighting")
6436 (version "0.5.1")
6437 (source (origin
6438 (method url-fetch)
6439 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
6440 version "/skylighting-" version ".tar.gz"))
6441 (sha256
6442 (base32
6443 "0l5lhhqqlfaq1fs7pn3n3b25kmazk8p4ahwvhagbrhcbm5hsigdg"))))
6444 (build-system haskell-build-system)
6445 (inputs
6446 `(("ghc-aeson" ,ghc-aeson)
6447 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6448 ("ghc-attoparsec" ,ghc-attoparsec)
6449 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6450 ("ghc-blaze-html" ,ghc-blaze-html)
6451 ("ghc-case-insensitive" ,ghc-case-insensitive)
6452 ("ghc-colour" ,ghc-colour)
6453 ("ghc-diff" ,ghc-diff)
6454 ("ghc-hxt" ,ghc-hxt)
6455 ("ghc-pretty-show" ,ghc-pretty-show)
6456 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6457 ("ghc-safe" ,ghc-safe)
6458 ("ghc-text" ,ghc-text)
6459 ("ghc-utf8-string" ,ghc-utf8-string)))
6460 (native-inputs
6461 `(("ghc-hunit" ,ghc-hunit)
6462 ("ghc-quickcheck" ,ghc-quickcheck)
6463 ("ghc-tasty" ,ghc-tasty)
6464 ("ghc-tasty-golden" ,ghc-tasty-golden)
6465 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6466 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6467 (home-page "https://hackage.haskell.org/package/skylighting")
6468 (synopsis "Syntax highlighting library")
6469 (description "Skylighting is a syntax highlighting library with support
6470 for over one hundred languages. It derives its tokenizers from XML syntax
6471 definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
6472 supported by that framework can be added. An optional command-line program is
6473 provided. Skylighting is intended to be the successor to highlighting-kate.")
6474 (license license:gpl2)))
6475
6476 (define-public ghc-skylighting-for-pandoc-1
6477 (package (inherit ghc-skylighting)
6478 (version "0.1.1.5")
6479 (source (origin
6480 (method git-fetch)
6481 ;; We take the sources from Github, because the tarball on
6482 ;; hackage does not include the XML files.
6483 (uri (git-reference
6484 (url "https://github.com/jgm/skylighting.git")
6485 (commit version)))
6486 (file-name (string-append "ghc-skylighting-" version "-checkout"))
6487 (sha256
6488 (base32
6489 "0z3yv8v2fqqgv6lsf0ff3ld0h2vkg97b2jiry9wn2f1rizwdqmzl"))))
6490 (arguments
6491 `(#:configure-flags '("-fbootstrap")
6492 #:phases
6493 (modify-phases %standard-phases
6494 ;; After building the skylighting-extract tool we use it to generate
6495 ;; syntax source files from the included XML files. These are then
6496 ;; added to the skylighting.cabal file.
6497 (add-after 'build 'extract-xml
6498 (lambda _
6499 (make-file-writable "skylighting.cabal")
6500 (apply invoke "./dist/build/skylighting-extract/skylighting-extract"
6501 (find-files "xml" "\\.xml$"))
6502 #t))
6503 ;; Reconfigure without bootstrap flag
6504 (add-after 'extract-xml 'configure-again
6505 (lambda* (#:key outputs inputs tests? #:allow-other-keys)
6506 ((assoc-ref %standard-phases 'configure)
6507 #:outputs outputs
6508 #:inputs inputs
6509 #:tests? tests?
6510 #:configure-flags '("-f-bootstrap"))))
6511 (add-after 'configure-again 'build-again
6512 (assoc-ref %standard-phases 'build)))))
6513 (inputs
6514 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6515 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6516 ("ghc-blaze-html" ,ghc-blaze-html)
6517 ("ghc-case-insensitive" ,ghc-case-insensitive)
6518 ("ghc-diff" ,ghc-diff)
6519 ("ghc-hxt" ,ghc-hxt)
6520 ("ghc-pretty-show" ,ghc-pretty-show)
6521 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
6522 ("ghc-safe" ,ghc-safe)
6523 ("ghc-text" ,ghc-text)
6524 ("ghc-utf8-string" ,ghc-utf8-string)))))
6525
6526 (define-public ghc-doctemplates
6527 (package
6528 (name "ghc-doctemplates")
6529 (version "0.2.1")
6530 (source
6531 (origin
6532 (method url-fetch)
6533 (uri (string-append "https://hackage.haskell.org/package/"
6534 "doctemplates/doctemplates-"
6535 version ".tar.gz"))
6536 (sha256
6537 (base32
6538 "1bfs2kl5j5al2w2y4qpbn68p0xsnb65r7h51l356kpkzc326646p"))))
6539 (build-system haskell-build-system)
6540 (inputs
6541 `(("ghc-aeson" ,ghc-aeson)
6542 ("ghc-blaze-markup" ,ghc-blaze-markup)
6543 ("ghc-blaze-html" ,ghc-blaze-html)
6544 ("ghc-text" ,ghc-text)
6545 ("ghc-vector" ,ghc-vector)
6546 ("ghc-parsec" ,ghc-parsec)
6547 ("ghc-unordered-containers" ,ghc-unordered-containers)
6548 ("ghc-scientific" ,ghc-scientific)))
6549 (native-inputs
6550 `(("ghc-hspec" ,ghc-hspec)))
6551 (home-page "https://github.com/jgm/doctemplates#readme")
6552 (synopsis "Pandoc-style document templates")
6553 (description
6554 "This package provides a simple text templating system used by pandoc.")
6555 (license license:bsd-3)))
6556
6557 (define-public ghc-doctemplates-for-pandoc-1
6558 (package (inherit ghc-doctemplates)
6559 (version "0.1.0.2")
6560 (source
6561 (origin
6562 (method url-fetch)
6563 (uri (string-append "https://hackage.haskell.org/package/"
6564 "doctemplates/doctemplates-"
6565 version ".tar.gz"))
6566 (sha256
6567 (base32
6568 "0swal6rjya1293mwvl63jch5fx9ghpsil7qs4v7rpansa0izalmp"))))
6569 (build-system haskell-build-system)
6570 (inputs
6571 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6572 ("ghc-blaze-markup" ,ghc-blaze-markup)
6573 ("ghc-blaze-html" ,ghc-blaze-html)
6574 ("ghc-text" ,ghc-text)
6575 ("ghc-vector" ,ghc-vector)
6576 ("ghc-parsec" ,ghc-parsec)
6577 ("ghc-unordered-containers" ,ghc-unordered-containers)
6578 ("ghc-scientific" ,ghc-scientific)))))
6579
6580 (define-public ghc-pandoc
6581 (package
6582 (name "ghc-pandoc")
6583 (version "2.2.1")
6584 (source
6585 (origin
6586 (method url-fetch)
6587 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6588 version ".tar.gz"))
6589 (sha256
6590 (base32
6591 "1dqin92w513l7whg5wdgrngnxsj5mb8gppfvn7kjgyv2pdgpy0zy"))))
6592 (build-system haskell-build-system)
6593 (inputs
6594 `(("ghc-aeson" ,ghc-aeson)
6595 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6596 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6597 ("ghc-blaze-html" ,ghc-blaze-html)
6598 ("ghc-blaze-markup" ,ghc-blaze-markup)
6599 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
6600 ("ghc-data-default" ,ghc-data-default)
6601 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6602 ("ghc-diff" ,ghc-diff)
6603 ("ghc-doctemplates" ,ghc-doctemplates)
6604 ("ghc-executable-path" ,ghc-executable-path)
6605 ("ghc-glob" ,ghc-glob)
6606 ("ghc-haddock-library" ,ghc-haddock-library)
6607 ("ghc-hslua" ,ghc-hslua)
6608 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
6609 ("ghc-http" ,ghc-http)
6610 ("ghc-http-client" ,ghc-http-client)
6611 ("ghc-http-client-tls" ,ghc-http-client-tls)
6612 ("ghc-http-types" ,ghc-http-types)
6613 ("ghc-juicypixels" ,ghc-juicypixels)
6614 ("ghc-network" ,ghc-network)
6615 ("ghc-network-uri" ,ghc-network-uri)
6616 ("ghc-old-locale" ,ghc-old-locale)
6617 ("ghc-pandoc-types" ,ghc-pandoc-types)
6618 ("ghc-parsec" ,ghc-parsec)
6619 ("ghc-random" ,ghc-random)
6620 ("ghc-scientific" ,ghc-scientific)
6621 ("ghc-sha" ,ghc-sha)
6622 ("ghc-skylighting" ,ghc-skylighting)
6623 ("ghc-split" ,ghc-split)
6624 ("ghc-syb" ,ghc-syb)
6625 ("ghc-tagsoup" ,ghc-tagsoup)
6626 ("ghc-temporary" ,ghc-temporary)
6627 ("ghc-texmath" ,ghc-texmath)
6628 ("ghc-text" ,ghc-text)
6629 ("ghc-unordered-containers" ,ghc-unordered-containers)
6630 ("ghc-vector" ,ghc-vector)
6631 ("ghc-xml" ,ghc-xml)
6632 ("ghc-yaml" ,ghc-yaml)
6633 ("ghc-zip-archive" ,ghc-zip-archive)
6634 ("ghc-zlib" ,ghc-zlib)))
6635 (native-inputs
6636 `(("ghc-tasty" ,ghc-tasty)
6637 ("ghc-tasty-golden" ,ghc-tasty-golden)
6638 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6639 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6640 ("ghc-quickcheck" ,ghc-quickcheck)
6641 ("ghc-hunit" ,ghc-hunit)))
6642 (home-page "https://pandoc.org")
6643 (synopsis "Conversion between markup formats")
6644 (description
6645 "Pandoc is a Haskell library for converting from one markup format to
6646 another, and a command-line tool that uses this library. It can read and
6647 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
6648 LaTeX, DocBook, and many more.
6649
6650 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
6651 definition lists, tables, and other features. A compatibility mode is
6652 provided for those who need a drop-in replacement for Markdown.pl.")
6653 (license license:gpl2+)))
6654
6655 ;; This is the last version of Pandoc 1.x, which is preferred for Rmarkdown.
6656 (define-public ghc-pandoc-1
6657 (package (inherit ghc-pandoc)
6658 (version "1.19.2.4")
6659 (source
6660 (origin
6661 (method url-fetch)
6662 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6663 version ".tar.gz"))
6664 (sha256
6665 (base32
6666 "0mim429mpakrcnm50csxyqk3ljcx2l26r5grk6w9isnggwgqrq5v"))))
6667 (arguments
6668 `(#:configure-flags (list "--allow-newer=skylighting")))
6669 (inputs
6670 `(("ghc-aeson" ,ghc-aeson-for-pandoc-1)
6671 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6672 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6673 ("ghc-blaze-html" ,ghc-blaze-html)
6674 ("ghc-blaze-markup" ,ghc-blaze-markup)
6675 ("ghc-cmark" ,ghc-cmark)
6676 ("ghc-data-default" ,ghc-data-default)
6677 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6678 ("ghc-diff" ,ghc-diff)
6679 ("ghc-doctemplates" ,ghc-doctemplates-for-pandoc-1)
6680 ("ghc-executable-path" ,ghc-executable-path)
6681 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
6682 ("ghc-filemanip" ,ghc-filemanip)
6683 ("ghc-haddock-library" ,ghc-haddock-library)
6684 ("ghc-hslua" ,ghc-hslua-for-pandoc-1)
6685 ("ghc-http" ,ghc-http)
6686 ("ghc-http-client" ,ghc-http-client)
6687 ("ghc-http-client-tls" ,ghc-http-client-tls)
6688 ("ghc-http-types" ,ghc-http-types)
6689 ("ghc-juicypixels" ,ghc-juicypixels)
6690 ("ghc-network" ,ghc-network)
6691 ("ghc-network-uri" ,ghc-network-uri)
6692 ("ghc-old-time" ,ghc-old-time)
6693 ("ghc-pandoc-types" ,ghc-pandoc-types-for-pandoc-1)
6694 ("ghc-parsec" ,ghc-parsec)
6695 ("ghc-random" ,ghc-random)
6696 ("ghc-scientific" ,ghc-scientific)
6697 ("ghc-sha" ,ghc-sha)
6698 ("ghc-skylighting" ,ghc-skylighting-for-pandoc-1)
6699 ("ghc-syb" ,ghc-syb)
6700 ("ghc-tagsoup" ,ghc-tagsoup)
6701 ("ghc-temporary" ,ghc-temporary)
6702 ("ghc-texmath" ,ghc-texmath-for-pandoc-1)
6703 ("ghc-text" ,ghc-text)
6704 ("ghc-unordered-containers" ,ghc-unordered-containers)
6705 ("ghc-vector" ,ghc-vector)
6706 ("ghc-xml" ,ghc-xml)
6707 ("ghc-yaml" ,ghc-yaml-for-pandoc-1)
6708 ("ghc-zip-archive" ,ghc-zip-archive)
6709 ("ghc-zlib" ,ghc-zlib)))
6710 (native-inputs
6711 `(("ghc-test-framework" ,ghc-test-framework)
6712 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6713 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))))
6714
6715 (define-public ghc-hs-bibutils
6716 (package
6717 (name "ghc-hs-bibutils")
6718 (version "6.6.0.0")
6719 (source
6720 (origin
6721 (method url-fetch)
6722 (uri (string-append
6723 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6724 version ".tar.gz"))
6725 (sha256
6726 (base32
6727 "0n2sz2zl4naspryd49ii858qkjp2lapns5a2gr8zm6vvn5sh1f0l"))))
6728 (build-system haskell-build-system)
6729 (inputs `(("ghc-syb" ,ghc-syb)))
6730 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6731 (synopsis "Haskell bindings to bibutils")
6732 (description
6733 "This package provides Haskell bindings to @code{bibutils}, a library
6734 that interconverts between various bibliography formats using a common
6735 MODS-format XML intermediate.")
6736 (license license:gpl2+)))
6737
6738 (define-public ghc-rfc5051
6739 (package
6740 (name "ghc-rfc5051")
6741 (version "0.1.0.3")
6742 (source
6743 (origin
6744 (method url-fetch)
6745 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
6746 "rfc5051-" version ".tar.gz"))
6747 (sha256
6748 (base32
6749 "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3"))))
6750 (build-system haskell-build-system)
6751 (home-page "https://hackage.haskell.org/package/rfc5051")
6752 (synopsis "Simple unicode collation as per RFC5051")
6753 (description
6754 "This library implements @code{unicode-casemap}, the simple, non
6755 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
6756 unicode collation can be done using @code{text-icu}, but that is a big
6757 dependency that depends on a large C library, and @code{rfc5051} might be
6758 better for some purposes.")
6759 (license license:bsd-3)))
6760
6761 (define-public ghc-typed-process
6762 (package
6763 (name "ghc-typed-process")
6764 (version "0.2.2.0")
6765 (source
6766 (origin
6767 (method url-fetch)
6768 (uri (string-append "https://hackage.haskell.org/package/"
6769 "typed-process/typed-process-"
6770 version ".tar.gz"))
6771 (sha256
6772 (base32
6773 "0c6gvgvjyncbni9a5bvpbglknd4yclr3d3hfg9bhgahmkj40dva2"))))
6774 (build-system haskell-build-system)
6775 (inputs
6776 `(("ghc-async" ,ghc-async)
6777 ("ghc-stm" ,ghc-stm)))
6778 (native-inputs
6779 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
6780 ("ghc-hspec" ,ghc-hspec)
6781 ("hspec-discover" ,hspec-discover)
6782 ("ghc-temporary" ,ghc-temporary)))
6783 (home-page "https://haskell-lang.org/library/typed-process")
6784 (synopsis "Run external processes with strong typing of streams")
6785 (description
6786 "This library provides the ability to launch and interact with external
6787 processes. It wraps around the @code{process} library, and intends to improve
6788 upon it.")
6789 (license license:expat)))
6790
6791 (define-public ghc-conduit-extra
6792 (package
6793 (name "ghc-conduit-extra")
6794 (version "1.3.0")
6795 (source
6796 (origin
6797 (method url-fetch)
6798 (uri (string-append "https://hackage.haskell.org/package/"
6799 "conduit-extra/conduit-extra-"
6800 version ".tar.gz"))
6801 (sha256
6802 (base32
6803 "1bi2b6kdzy5f9glq46jzsk02has95jkxqz0cchpbmnakzhjwjh9c"))))
6804 (build-system haskell-build-system)
6805 (inputs
6806 `(("ghc-conduit" ,ghc-conduit)
6807 ("ghc-exceptions" ,ghc-exceptions)
6808 ("ghc-monad-control" ,ghc-monad-control)
6809 ("ghc-text" ,ghc-text)
6810 ("ghc-transformers-base" ,ghc-transformers-base)
6811 ("ghc-typed-process" ,ghc-typed-process)
6812 ("ghc-async" ,ghc-async)
6813 ("ghc-attoparsec" ,ghc-attoparsec)
6814 ("ghc-blaze-builder" ,ghc-blaze-builder)
6815 ("ghc-network" ,ghc-network)
6816 ("ghc-primitive" ,ghc-primitive)
6817 ("ghc-resourcet" ,ghc-resourcet)
6818 ("ghc-stm" ,ghc-stm)
6819 ("ghc-streaming-commons" ,ghc-streaming-commons)
6820 ("ghc-hspec" ,ghc-hspec)
6821 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6822 ("ghc-quickcheck" ,ghc-quickcheck)))
6823 (native-inputs
6824 `(("hspec-discover" ,hspec-discover)))
6825 (home-page "https://github.com/snoyberg/conduit")
6826 (synopsis "Conduit adapters for common libraries")
6827 (description
6828 "The @code{conduit} package itself maintains relative small dependencies.
6829 The purpose of this package is to collect commonly used utility functions
6830 wrapping other library dependencies, without depending on heavier-weight
6831 dependencies. The basic idea is that this package should only depend on
6832 @code{haskell-platform} packages and @code{conduit}.")
6833 (license license:expat)))
6834
6835 (define-public ghc-xml-types
6836 (package
6837 (name "ghc-xml-types")
6838 (version "0.3.6")
6839 (source
6840 (origin
6841 (method url-fetch)
6842 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
6843 "xml-types-" version ".tar.gz"))
6844 (sha256
6845 (base32
6846 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
6847 (build-system haskell-build-system)
6848 (inputs `(("ghc-text" ,ghc-text)))
6849 (home-page "https://john-millikin.com/software/haskell-xml/")
6850 (synopsis "Basic types for representing XML")
6851 (description "This package provides basic types for representing XML
6852 documents.")
6853 (license license:expat)))
6854
6855 (define-public ghc-xml-conduit
6856 (package
6857 (name "ghc-xml-conduit")
6858 (version "1.8.0.1")
6859 (source
6860 (origin
6861 (method url-fetch)
6862 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
6863 "xml-conduit-" version ".tar.gz"))
6864 (sha256
6865 (base32
6866 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
6867 (build-system haskell-build-system)
6868 (inputs
6869 `(("ghc-conduit" ,ghc-conduit)
6870 ("ghc-conduit-extra" ,ghc-conduit-extra)
6871 ("ghc-doctest" ,ghc-doctest)
6872 ("ghc-resourcet" ,ghc-resourcet)
6873 ("ghc-text" ,ghc-text)
6874 ("ghc-xml-types" ,ghc-xml-types)
6875 ("ghc-attoparsec" ,ghc-attoparsec)
6876 ("ghc-data-default-class" ,ghc-data-default-class)
6877 ("ghc-blaze-markup" ,ghc-blaze-markup)
6878 ("ghc-blaze-html" ,ghc-blaze-html)
6879 ("ghc-monad-control" ,ghc-monad-control)
6880 ("ghc-hspec" ,ghc-hspec)
6881 ("ghc-hunit" ,ghc-hunit)))
6882 (home-page "https://github.com/snoyberg/xml")
6883 (synopsis "Utilities for dealing with XML with the conduit package")
6884 (description
6885 "This package provides pure-Haskell utilities for dealing with XML with
6886 the @code{conduit} package.")
6887 (license license:expat)))
6888
6889 (define-public ghc-pandoc-citeproc
6890 (package
6891 (name "ghc-pandoc-citeproc")
6892 (version "0.14.3.1")
6893 (source
6894 (origin
6895 (method url-fetch)
6896 (uri (string-append "https://hackage.haskell.org/package/"
6897 "pandoc-citeproc/pandoc-citeproc-"
6898 version ".tar.gz"))
6899 (sha256
6900 (base32
6901 "0yj6rckwsc9vig40cm15ry0j3d01xpk04qma9n4byhal6v4b5h22"))))
6902 (build-system haskell-build-system)
6903 (arguments
6904 `(#:phases
6905 (modify-phases %standard-phases
6906 ;; Tests need to be run after installation.
6907 (delete 'check)
6908 (add-after 'install 'post-install-check
6909 (assoc-ref %standard-phases 'check)))))
6910 (inputs
6911 `(("ghc-pandoc-types" ,ghc-pandoc-types)
6912 ("ghc-pandoc" ,ghc-pandoc)
6913 ("ghc-tagsoup" ,ghc-tagsoup)
6914 ("ghc-aeson" ,ghc-aeson)
6915 ("ghc-text" ,ghc-text)
6916 ("ghc-vector" ,ghc-vector)
6917 ("ghc-xml-conduit" ,ghc-xml-conduit)
6918 ("ghc-unordered-containers" ,ghc-unordered-containers)
6919 ("ghc-data-default" ,ghc-data-default)
6920 ("ghc-setenv" ,ghc-setenv)
6921 ("ghc-split" ,ghc-split)
6922 ("ghc-yaml" ,ghc-yaml)
6923 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
6924 ("ghc-rfc5051" ,ghc-rfc5051)
6925 ("ghc-syb" ,ghc-syb)
6926 ("ghc-parsec" ,ghc-parsec)
6927 ("ghc-old-locale" ,ghc-old-locale)
6928 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6929 ("ghc-attoparsec" ,ghc-attoparsec)
6930 ("ghc-temporary" ,ghc-temporary)))
6931 (home-page "https://github.com/jgm/pandoc-citeproc")
6932 (synopsis "Library for using pandoc with citeproc")
6933 (description
6934 "The @code{pandoc-citeproc} library exports functions for using the
6935 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
6936 rendering bibliographic reference citations into a variety of styles using a
6937 macro language called @dfn{Citation Style Language} (CSL). This package also
6938 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
6939 and also has a mode for converting bibliographic databases a YAML format
6940 suitable for inclusion in pandoc YAML metadata.")
6941 (license license:bsd-3)))
6942
6943 (define-public ghc-pandoc-citeproc-with-pandoc-1
6944 (let ((for-pandoc-1
6945 (package-input-rewriting
6946 `((,ghc-aeson . ,ghc-aeson-for-pandoc-1)
6947 (,ghc-yaml . ,ghc-yaml-for-pandoc-1)
6948 (,ghc-texmath . ,ghc-texmath-for-pandoc-1)
6949 (,ghc-pandoc-types . ,ghc-pandoc-types-for-pandoc-1)
6950 (,ghc-hslua . ,ghc-hslua-for-pandoc-1)
6951 (,ghc-skylighting . ,ghc-skylighting-for-pandoc-1)
6952 (,ghc-doctemplates . ,ghc-doctemplates-for-pandoc-1)
6953 (,ghc-pandoc . ,ghc-pandoc-1)))))
6954 (for-pandoc-1 ghc-pandoc-citeproc)))
6955
6956 (define-public ghc-union-find
6957 (package
6958 (name "ghc-union-find")
6959 (version "0.2")
6960 (source (origin
6961 (method url-fetch)
6962 (uri (string-append
6963 "https://hackage.haskell.org/package/union-find/union-find-"
6964 version ".tar.gz"))
6965 (sha256
6966 (base32
6967 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
6968 (build-system haskell-build-system)
6969 (home-page "https://github.com/nominolo/union-find")
6970 (synopsis "Efficient union and equivalence testing of sets")
6971 (description
6972 "The Union/Find algorithm implements these operations in (effectively)
6973 constant-time:
6974 @enumerate
6975 @item Check whether two elements are in the same equivalence class.
6976 @item Create a union of two equivalence classes.
6977 @item Look up the descriptor of the equivalence class.
6978 @end enumerate\n")
6979 (license license:bsd-3)))
6980
6981 (define-public ghc-base16-bytestring
6982 (package
6983 (name "ghc-base16-bytestring")
6984 (version "0.1.1.6")
6985 (source
6986 (origin
6987 (method url-fetch)
6988 (uri (string-append
6989 "https://hackage.haskell.org/package/base16-bytestring/"
6990 "base16-bytestring-" version ".tar.gz"))
6991 (sha256
6992 (base32
6993 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
6994 (build-system haskell-build-system)
6995 (home-page "https://github.com/bos/base16-bytestring")
6996 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
6997 (description
6998 "This package provides a Haskell library for working with base16-encoded
6999 data quickly and efficiently, using the ByteString type.")
7000 (license license:bsd-3)))
7001
7002 (define-public ghc-data-ordlist
7003 (package
7004 (name "ghc-data-ordlist")
7005 (version "0.4.7.0")
7006 (source
7007 (origin
7008 (method url-fetch)
7009 (uri (string-append
7010 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
7011 version ".tar.gz"))
7012 (sha256
7013 (base32
7014 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
7015 (build-system haskell-build-system)
7016 (home-page "https://hackage.haskell.org/package/data-ordlist")
7017 (synopsis "Set and bag operations on ordered lists")
7018 (description
7019 "This module provides set and multiset operations on ordered lists.")
7020 (license license:bsd-3)))
7021
7022 (define-public ghc-regex-applicative
7023 (package
7024 (name "ghc-regex-applicative")
7025 (version "0.3.3")
7026 (source
7027 (origin
7028 (method url-fetch)
7029 (uri (string-append
7030 "https://hackage.haskell.org/package/regex-applicative/"
7031 "regex-applicative-" version ".tar.gz"))
7032 (sha256
7033 (base32
7034 "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
7035 (build-system haskell-build-system)
7036 (inputs
7037 `(("ghc-smallcheck" ,ghc-smallcheck)
7038 ("ghc-tasty" ,ghc-tasty)
7039 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
7040 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7041 (home-page "https://github.com/feuerbach/regex-applicative")
7042 (synopsis "Regex-based parsing with applicative interface")
7043 (description
7044 "@code{regex-applicative} is a Haskell library for parsing using
7045 regular expressions. Parsers can be built using Applicative interface.")
7046 (license license:expat)))
7047
7048 (define-public ghc-regex-tdfa
7049 (package
7050 (name "ghc-regex-tdfa")
7051 (version "1.2.3.1")
7052 (source
7053 (origin
7054 (method url-fetch)
7055 (uri (string-append
7056 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
7057 version ".tar.gz"))
7058 (sha256
7059 (base32
7060 "0l7ajnh4hpgggf2a1r9dg0hx2fy679vd2kada5y7r02hy3nfxala"))))
7061 (build-system haskell-build-system)
7062 (inputs
7063 `(("ghc-parsec" ,ghc-parsec)
7064 ("ghc-regex-base" ,ghc-regex-base)))
7065 (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
7066 (synopsis "POSIX extended regular expressions in Haskell.")
7067 (description
7068 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
7069 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
7070 inspired by libtre.")
7071 (license license:bsd-3)))
7072
7073 (define-public ghc-regex-compat-tdfa
7074 (package
7075 (name "ghc-regex-compat-tdfa")
7076 (version "0.95.1.4")
7077 (source
7078 (origin
7079 (method url-fetch)
7080 (uri (string-append
7081 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
7082 version ".tar.gz"))
7083 (sha256
7084 (base32
7085 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
7086 (build-system haskell-build-system)
7087 (inputs
7088 `(("ghc-regex-base" ,ghc-regex-base)
7089 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
7090 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
7091 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
7092 (description
7093 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
7094 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
7095 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
7096 this problem.")
7097 (license license:bsd-3)))
7098
7099 (define-public ghc-sandi
7100 (package
7101 (name "ghc-sandi")
7102 (version "0.4.2")
7103 (source
7104 (origin
7105 (method url-fetch)
7106 (uri (string-append
7107 "https://hackage.haskell.org/package/sandi/sandi-"
7108 version ".tar.gz"))
7109 (sha256
7110 (base32
7111 "0dvkpk91n9kz2ha04rvp231ra9sgd1ilyc1qkzf9l03iir7zrh9b"))))
7112 (build-system haskell-build-system)
7113 (inputs
7114 `(("ghc-stringsearch" ,ghc-stringsearch)
7115 ("ghc-conduit" ,ghc-conduit)
7116 ("ghc-exceptions" ,ghc-exceptions)
7117 ("ghc-hunit" ,ghc-hunit)
7118 ("ghc-tasty" ,ghc-tasty)
7119 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7120 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7121 ("ghc-tasty-th" ,ghc-tasty-th)))
7122 (home-page "https://hackage.haskell.org/package/sandi")
7123 (synopsis "Data encoding library")
7124 (description "Reasonably fast data encoding library.")
7125 (license license:bsd-3)))
7126
7127 (define-public ghc-bytestring-handle
7128 (package
7129 (name "ghc-bytestring-handle")
7130 (version "0.1.0.6")
7131 (source
7132 (origin
7133 (method url-fetch)
7134 (uri (string-append
7135 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
7136 version ".tar.gz"))
7137 (sha256
7138 (base32
7139 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
7140 (build-system haskell-build-system)
7141 (arguments
7142 `(#:phases
7143 (modify-phases %standard-phases
7144 (add-before 'configure 'update-constraints
7145 (lambda _
7146 (substitute* "bytestring-handle.cabal"
7147 (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
7148 "QuickCheck >= 2.1.2 && < 2.12")
7149 (("base >= 4\\.2 && < 4\\.11")
7150 "base >= 4.2 && < 4.12")))))))
7151 (inputs
7152 `(("ghc-hunit" ,ghc-hunit)
7153 ("ghc-quickcheck" ,ghc-quickcheck)
7154 ("ghc-test-framework" ,ghc-test-framework)
7155 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7156 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7157 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
7158 (synopsis "ByteString-backed Handles")
7159 (description "ByteString-backed Handles") ; There is no description
7160 (license license:bsd-3)))
7161
7162 (define-public ghc-tar
7163 (package
7164 (name "ghc-tar")
7165 (version "0.5.1.0")
7166 (source
7167 (origin
7168 (method url-fetch)
7169 (uri (string-append
7170 "https://hackage.haskell.org/package/tar/tar-"
7171 version ".tar.gz"))
7172 (sha256
7173 (base32
7174 "0s2brvaxg5fki2jdkccmnpssiy6a3wjh24p6a3dkkdvjcixnk7f8"))))
7175 (build-system haskell-build-system)
7176 ;; FIXME: 2/24 tests fail.
7177 (arguments `(#:tests? #f))
7178 (inputs
7179 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
7180 ("ghc-quickcheck" ,ghc-quickcheck)
7181 ("ghc-tasty" ,ghc-tasty)
7182 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7183 (home-page "https://hackage.haskell.org/package/tar")
7184 (synopsis "Reading, writing and manipulating \".tar\" archive files")
7185 (description
7186 "This library is for working with \\\"@.tar@\\\" archive files.
7187 It can read and write a range of common variations of the tar archive format
7188 including V7, POSIX USTAR and GNU formats. It provides support for packing and
7189 unpacking portable archives. This makes it suitable for distribution but not
7190 backup because details like file ownership and exact permissions are not
7191 preserved. It also provides features for random access to archive content using
7192 an index.")
7193 (license license:bsd-3)))
7194
7195 (define-public ghc-stmonadtrans
7196 (package
7197 (name "ghc-stmonadtrans")
7198 (version "0.4.3")
7199 (source
7200 (origin
7201 (method url-fetch)
7202 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
7203 "/STMonadTrans-" version ".tar.gz"))
7204 (sha256
7205 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
7206 (build-system haskell-build-system)
7207 (home-page "https://hackage.haskell.org/package/STMonadTrans")
7208 (synopsis "Monad transformer version of the ST monad")
7209 (description
7210 "This package provides a monad transformer version of the @code{ST} monad
7211 for strict state threads.")
7212 (license license:bsd-3)))
7213
7214 (define-public ghc-findbin
7215 (package
7216 (name "ghc-findbin")
7217 (version "0.0.5")
7218 (source
7219 (origin
7220 (method url-fetch)
7221 (uri (string-append
7222 "https://hackage.haskell.org/package/FindBin/FindBin-"
7223 version ".tar.gz"))
7224 (sha256
7225 (base32
7226 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
7227 (build-system haskell-build-system)
7228 (home-page "https://github.com/audreyt/findbin")
7229 (synopsis "Get the absolute path of the running program")
7230 (description
7231 "This module locates the full directory of the running program, to allow
7232 the use of paths relative to it. FindBin supports invocation of Haskell
7233 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
7234 an executable.")
7235 (license license:bsd-3)))
7236
7237 (define-public ghc-patience
7238 (package
7239 (name "ghc-patience")
7240 (version "0.1.1")
7241 (source
7242 (origin
7243 (method url-fetch)
7244 (uri (string-append
7245 "https://hackage.haskell.org/package/patience/patience-"
7246 version ".tar.gz"))
7247 (sha256
7248 (base32
7249 "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
7250 (build-system haskell-build-system)
7251 (home-page "https://hackage.haskell.org/package/patience")
7252 (synopsis "Patience diff and longest increasing subsequence")
7253 (description
7254 "This library implements the 'patience diff' algorithm, as well as the
7255 patience algorithm for the longest increasing subsequence problem.
7256 Patience diff computes the difference between two lists, for example the lines
7257 of two versions of a source file. It provides a good balance between
7258 performance, nice output for humans, and simplicity of implementation.")
7259 (license license:bsd-3)))
7260
7261 (define-public ghc-monads-tf
7262 (package
7263 (name "ghc-monads-tf")
7264 (version "0.1.0.3")
7265 (source
7266 (origin
7267 (method url-fetch)
7268 (uri (string-append
7269 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7270 version ".tar.gz"))
7271 (sha256
7272 (base32
7273 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7274 (build-system haskell-build-system)
7275 (home-page "https://hackage.haskell.org/package/monads-tf")
7276 (synopsis "Monad classes, using type families")
7277 (description
7278 "Monad classes using type families, with instances for various monad transformers,
7279 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7280 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7281 the @code{mtl-tf} package.")
7282 (license license:bsd-3)))
7283
7284 (define-public ghc-colour
7285 (package
7286 (name "ghc-colour")
7287 (version "2.3.4")
7288 (source
7289 (origin
7290 (method url-fetch)
7291 (uri (string-append
7292 "https://hackage.haskell.org/package/colour/colour-"
7293 version ".tar.gz"))
7294 (sha256
7295 (base32
7296 "1sy51nz096sv91nxqk6yk7b92b5a40axv9183xakvki2nc09yhqg"))))
7297 (arguments
7298 ;; The tests for this package have the following dependency cycle:
7299 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
7300 `(#:tests? #f))
7301 (build-system haskell-build-system)
7302 (home-page "https://www.haskell.org/haskellwiki/Colour")
7303 (synopsis "Model for human colour perception")
7304 (description
7305 "This package provides a data type for colours and transparency.
7306 Colours can be blended and composed. Various colour spaces are
7307 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
7308 (license license:expat)))
7309
7310 (define-public ghc-wl-pprint-text
7311 (package
7312 (name "ghc-wl-pprint-text")
7313 (version "1.2.0.0")
7314 (source
7315 (origin
7316 (method url-fetch)
7317 (uri (string-append
7318 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
7319 version ".tar.gz"))
7320 (sha256
7321 (base32
7322 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
7323 (build-system haskell-build-system)
7324 (inputs
7325 `(("ghc-base-compat" ,ghc-base-compat)
7326 ("ghc-text" ,ghc-text)))
7327 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
7328 (synopsis "Wadler/Leijen Pretty Printer for Text values")
7329 (description
7330 "A clone of wl-pprint for use with the text library.")
7331 (license license:bsd-3)))
7332
7333 (define-public ghc-fgl-arbitrary
7334 (package
7335 (name "ghc-fgl-arbitrary")
7336 (version "0.2.0.3")
7337 (source
7338 (origin
7339 (method url-fetch)
7340 (uri (string-append
7341 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
7342 version ".tar.gz"))
7343 (sha256
7344 (base32
7345 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
7346 (build-system haskell-build-system)
7347 (arguments
7348 `(#:phases
7349 (modify-phases %standard-phases
7350 (add-before 'configure 'update-constraints
7351 (lambda _
7352 (substitute* "fgl-arbitrary.cabal"
7353 (("QuickCheck >= 2\\.3 && < 2\\.10")
7354 "QuickCheck >= 2.3 && < 2.12")
7355 (("hspec >= 2\\.1 && < 2\\.5")
7356 "hspec >= 2.1 && < 2.6")))))))
7357 (inputs
7358 `(("ghc-fgl" ,ghc-fgl)
7359 ("ghc-quickcheck" ,ghc-quickcheck)
7360 ("ghc-hspec" ,ghc-hspec)))
7361 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
7362 (synopsis "QuickCheck support for fgl")
7363 (description
7364 "Provides Arbitrary instances for fgl graphs to avoid adding a
7365 QuickCheck dependency for fgl whilst still making the instances
7366 available to others. Also available are non-fgl-specific functions
7367 for generating graph-like data structures.")
7368 (license license:bsd-3)))
7369
7370 (define-public ghc-graphviz
7371 (package
7372 (name "ghc-graphviz")
7373 (version "2999.20.0.2")
7374 (source (origin
7375 (method url-fetch)
7376 (uri (string-append "https://hackage.haskell.org/package/"
7377 "graphviz/graphviz-" version ".tar.gz"))
7378 (sha256
7379 (base32
7380 "0kj7ap0gnliviq2p8lscw1m06capnsa90vpvcys24nqy5nw2wrp7"))))
7381 (build-system haskell-build-system)
7382 (arguments
7383 `(#:configure-flags (list "--allow-newer=QuickCheck")))
7384 (inputs
7385 `(("ghc-quickcheck" ,ghc-quickcheck)
7386 ("ghc-colour" ,ghc-colour)
7387 ("ghc-dlist" ,ghc-dlist)
7388 ("ghc-fgl" ,ghc-fgl)
7389 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
7390 ("ghc-polyparse" ,ghc-polyparse)
7391 ("ghc-temporary" ,ghc-temporary)
7392 ("ghc-text" ,ghc-text)
7393 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
7394 (native-inputs
7395 `(("ghc-hspec" ,ghc-hspec)
7396 ("graphviz" ,graphviz)
7397 ("hspec-discover" ,hspec-discover)))
7398 (home-page "https://hackage.haskell.org/package/graphviz")
7399 (synopsis "Bindings to Graphviz for graph visualisation")
7400 (description
7401 "This library provides bindings for the Dot language used by
7402 the @uref{https://graphviz.org/, Graphviz} suite of programs for
7403 visualising graphs, as well as functions to call those programs.
7404 Main features of the graphviz library include:
7405
7406 @enumerate
7407 @item Almost complete coverage of all Graphviz attributes and syntax
7408 @item Support for specifying clusters
7409 @item The ability to use a custom node type
7410 @item Functions for running a Graphviz layout tool with all specified output types
7411 @item Generate and parse Dot code with two options: strict and liberal
7412 @item Functions to convert FGL graphs and other graph-like data structures
7413 @item Round-trip support for passing an FGL graph through Graphviz to augment node
7414 and edge labels with positional information, etc.
7415 @end enumerate\n")
7416 (license license:bsd-3)))
7417
7418 (define-public ghc-constraints
7419 (package
7420 (name "ghc-constraints")
7421 (version "0.10.1")
7422 (source
7423 (origin
7424 (method url-fetch)
7425 (uri (string-append
7426 "https://hackage.haskell.org/package/constraints/constraints-"
7427 version ".tar.gz"))
7428 (sha256
7429 (base32
7430 "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q"))))
7431 (build-system haskell-build-system)
7432 (inputs
7433 `(("ghc-hashable" ,ghc-hashable)
7434 ("ghc-semigroups" ,ghc-semigroups)
7435 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7436 (native-inputs
7437 `(("ghc-hspec" ,ghc-hspec)
7438 ("hspec-discover" ,hspec-discover)))
7439 (home-page "https://github.com/ekmett/constraints/")
7440 (synopsis "Constraint manipulation")
7441 (description
7442 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
7443 They stopped crashing the compiler in GHC 7.6. This package provides
7444 a vocabulary for working with them.")
7445 (license license:bsd-3)))
7446
7447 (define-public ghc-lifted-async
7448 (package
7449 (name "ghc-lifted-async")
7450 (version "0.9.0")
7451 (source
7452 (origin
7453 (method url-fetch)
7454 (uri (string-append
7455 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7456 version ".tar.gz"))
7457 (sha256
7458 (base32
7459 "00fnwfcnc6niq9jbbb9rap9rkdgv5qhcglwanzc5fi8834j94c1r"))))
7460 (build-system haskell-build-system)
7461 (inputs
7462 `(("ghc-async" ,ghc-async)
7463 ("ghc-lifted-base" ,ghc-lifted-base)
7464 ("ghc-transformers-base" ,ghc-transformers-base)
7465 ("ghc-monad-control" ,ghc-monad-control)
7466 ("ghc-constraints" ,ghc-constraints)
7467 ("ghc-hunit" ,ghc-hunit)
7468 ("ghc-tasty" ,ghc-tasty)
7469 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7470 ("ghc-tasty-th" ,ghc-tasty-th)))
7471 (home-page "https://github.com/maoe/lifted-async")
7472 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7473 (description
7474 "This package provides IO operations from @code{async} package lifted to any
7475 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7476 (license license:bsd-3)))
7477
7478 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
7479 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
7480 ;; which depends on ghc-chell and ghc-chell-quickcheck.
7481 ;; Therefore we bootstrap it with tests disabled.
7482 (define ghc-system-filepath-bootstrap
7483 (package
7484 (name "ghc-system-filepath-bootstrap")
7485 (version "0.4.14")
7486 (source
7487 (origin
7488 (method url-fetch)
7489 (uri (string-append
7490 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7491 version ".tar.gz"))
7492 (sha256
7493 (base32
7494 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
7495 (build-system haskell-build-system)
7496 (arguments
7497 `(#:tests? #f))
7498 (inputs
7499 `(("ghc-text" ,ghc-text)
7500 ("ghc-quickcheck" ,ghc-quickcheck)))
7501 (home-page "https://github.com/fpco/haskell-filesystem")
7502 (synopsis "High-level, byte-based file and directory path manipulations")
7503 (description
7504 "Provides a FilePath datatype and utility functions for operating on it.
7505 Unlike the filepath package, this package does not simply reuse String,
7506 increasing type safety.")
7507 (license license:expat)))
7508
7509 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
7510 ;; ghc-system-filepath.
7511 (define ghc-system-fileio-bootstrap
7512 (package
7513 (name "ghc-system-fileio-bootstrap")
7514 (version "0.3.16.3")
7515 (source
7516 (origin
7517 (method url-fetch)
7518 (uri (string-append
7519 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7520 version ".tar.gz"))
7521 (sha256
7522 (base32
7523 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7524 (build-system haskell-build-system)
7525 (arguments
7526 `(#:tests? #f))
7527 (inputs
7528 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7529 ("ghc-text" ,ghc-text)
7530 ("ghc-temporary" ,ghc-temporary)))
7531 (home-page "https://github.com/fpco/haskell-filesystem")
7532 (synopsis "Consistent file system interaction across GHC versions")
7533 (description
7534 "This is a small wrapper around the directory, unix, and Win32 packages,
7535 for use with system-filepath. It provides a consistent API to the various
7536 versions of these packages distributed with different versions of GHC.
7537 In particular, this library supports working with POSIX files that have paths
7538 which can't be decoded in the current locale encoding.")
7539 (license license:expat)))
7540
7541 (define-public ghc-shelly
7542 (package
7543 (name "ghc-shelly")
7544 (version "1.8.1")
7545 (source
7546 (origin
7547 (method url-fetch)
7548 (uri (string-append
7549 "https://hackage.haskell.org/package/shelly/shelly-"
7550 version ".tar.gz"))
7551 (sha256
7552 (base32
7553 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
7554 (build-system haskell-build-system)
7555 (inputs
7556 `(("ghc-unix-compat" ,ghc-unix-compat)
7557 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7558 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
7559 ("ghc-monad-control" ,ghc-monad-control)
7560 ("ghc-lifted-base" ,ghc-lifted-base)
7561 ("ghc-lifted-async" ,ghc-lifted-async)
7562 ("ghc-exceptions" ,ghc-exceptions)
7563 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
7564 ("ghc-text" ,ghc-text)
7565 ("ghc-async" ,ghc-async)
7566 ("ghc-transformers-base" ,ghc-transformers-base)
7567 ("ghc-hunit" ,ghc-hunit)
7568 ("ghc-hspec" ,ghc-hspec)
7569 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
7570 (home-page "https://github.com/yesodweb/Shelly.hs")
7571 (synopsis "Shell-like (systems) programming in Haskell")
7572 (description
7573 "Shelly provides convenient systems programming in Haskell, similar in
7574 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
7575 (license license:bsd-3)))
7576
7577 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
7578 (define ghc-options-bootstrap
7579 (package
7580 (name "ghc-options-bootstrap")
7581 (version "1.2.1.1")
7582 (source
7583 (origin
7584 (method url-fetch)
7585 (uri (string-append
7586 "https://hackage.haskell.org/package/options/options-"
7587 version ".tar.gz"))
7588 (sha256
7589 (base32
7590 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7591 (build-system haskell-build-system)
7592 (arguments
7593 `(#:tests? #f))
7594 (inputs
7595 `(("ghc-monads-tf" ,ghc-monads-tf)))
7596 (home-page "https://john-millikin.com/software/haskell-options/")
7597 (synopsis "Powerful and easy-to-use command-line option parser")
7598 (description
7599 "The @code{options} package lets library and application developers
7600 easily work with command-line options.")
7601 (license license:expat)))
7602
7603 (define-public ghc-chell
7604 (package
7605 (name "ghc-chell")
7606 (version "0.4.0.2")
7607 (source
7608 (origin
7609 (method url-fetch)
7610 (uri (string-append
7611 "https://hackage.haskell.org/package/chell/chell-"
7612 version ".tar.gz"))
7613 (sha256
7614 (base32
7615 "10ingy9qnbmc8cqh4i9pskcw43l0mzk8f3d76b3qz3fig5ary3j9"))))
7616 (build-system haskell-build-system)
7617 (inputs
7618 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
7619 ("ghc-patience" ,ghc-patience)
7620 ("ghc-random" ,ghc-random)
7621 ("ghc-text" ,ghc-text)
7622 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
7623 (home-page "https://john-millikin.com/software/chell/")
7624 (synopsis "Simple and intuitive library for automated testing")
7625 (description
7626 "Chell is a simple and intuitive library for automated testing.
7627 It natively supports assertion-based testing, and can use companion
7628 libraries such as @code{chell-quickcheck} to support more complex
7629 testing strategies.")
7630 (license license:expat)))
7631
7632 (define ghc-chell-quickcheck-bootstrap
7633 (package
7634 (name "ghc-chell-quickcheck-bootstrap")
7635 (version "0.2.5.1")
7636 (source
7637 (origin
7638 (method url-fetch)
7639 (uri (string-append
7640 "https://hackage.haskell.org/package/chell-quickcheck/"
7641 "chell-quickcheck-" version ".tar.gz"))
7642 (sha256
7643 (base32
7644 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7645 (build-system haskell-build-system)
7646 (inputs
7647 `(("ghc-chell" ,ghc-chell)
7648 ("ghc-random" ,ghc-random)
7649 ("ghc-quickcheck" ,ghc-quickcheck)))
7650 (arguments
7651 `(#:tests? #f
7652 #:phases
7653 (modify-phases %standard-phases
7654 (add-before 'configure 'update-constraints
7655 (lambda _
7656 (substitute* "chell-quickcheck.cabal"
7657 (("QuickCheck >= 2\\.3 && < 2\\.11")
7658 "QuickCheck >= 2.3 && < 2.12")))))))
7659 (home-page "https://john-millikin.com/software/chell/")
7660 (synopsis "QuickCheck support for the Chell testing library")
7661 (description "More complex tests for @code{chell}.")
7662 (license license:expat)))
7663
7664 (define-public ghc-chell-quickcheck
7665 (package
7666 (name "ghc-chell-quickcheck")
7667 (version "0.2.5.1")
7668 (source
7669 (origin
7670 (method url-fetch)
7671 (uri (string-append
7672 "https://hackage.haskell.org/package/chell-quickcheck/"
7673 "chell-quickcheck-" version ".tar.gz"))
7674 (sha256
7675 (base32
7676 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
7677 (build-system haskell-build-system)
7678 (arguments
7679 `(#:phases
7680 (modify-phases %standard-phases
7681 (add-before 'configure 'update-constraints
7682 (lambda _
7683 (substitute* "chell-quickcheck.cabal"
7684 (("QuickCheck >= 2\\.3 && < 2\\.11")
7685 "QuickCheck >= 2.3 && < 2.12")))))))
7686 (inputs
7687 `(("ghc-chell" ,ghc-chell)
7688 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
7689 ("ghc-random" ,ghc-random)
7690 ("ghc-quickcheck" ,ghc-quickcheck)))
7691 (home-page "https://john-millikin.com/software/chell/")
7692 (synopsis "QuickCheck support for the Chell testing library")
7693 (description "More complex tests for @code{chell}.")
7694 (license license:expat)))
7695
7696 (define-public ghc-options
7697 (package
7698 (name "ghc-options")
7699 (version "1.2.1.1")
7700 (source
7701 (origin
7702 (method url-fetch)
7703 (uri (string-append
7704 "https://hackage.haskell.org/package/options/options-"
7705 version ".tar.gz"))
7706 (sha256
7707 (base32
7708 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7709 (build-system haskell-build-system)
7710 (inputs
7711 `(("ghc-monads-tf" ,ghc-monads-tf)
7712 ("ghc-chell" ,ghc-chell)
7713 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
7714 (home-page "https://john-millikin.com/software/haskell-options/")
7715 (synopsis "Powerful and easy-to-use command-line option parser")
7716 (description
7717 "The @code{options} package lets library and application developers
7718 easily work with command-line options.")
7719 (license license:expat)))
7720
7721 (define-public ghc-system-filepath
7722 (package
7723 (name "ghc-system-filepath")
7724 (version "0.4.14")
7725 (source
7726 (origin
7727 (method url-fetch)
7728 (uri (string-append
7729 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7730 version ".tar.gz"))
7731 (sha256
7732 (base32
7733 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
7734 (build-system haskell-build-system)
7735 ;; FIXME: One of the tests fails:
7736 ;; [ FAIL ] tests.validity.posix
7737 ;; note: seed=7310214548328823169
7738 ;; *** Failed! Falsifiable (after 24 tests):
7739 ;; 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"
7740 (arguments `(#:tests? #f))
7741 (inputs
7742 `(("ghc-text" ,ghc-text)
7743 ("ghc-chell" ,ghc-chell)
7744 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
7745 ("ghc-quickcheck" ,ghc-quickcheck)))
7746 (home-page "https://github.com/fpco/haskell-filesystem")
7747 (synopsis "High-level, byte-based file and directory path manipulations")
7748 (description
7749 "Provides a FilePath datatype and utility functions for operating on it.
7750 Unlike the filepath package, this package does not simply reuse String,
7751 increasing type safety.")
7752 (license license:expat)))
7753
7754 (define-public ghc-system-fileio
7755 (package
7756 (name "ghc-system-fileio")
7757 (version "0.3.16.3")
7758 (source
7759 (origin
7760 (method url-fetch)
7761 (uri (string-append
7762 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7763 version ".tar.gz"))
7764 (sha256
7765 (base32
7766 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7767 (build-system haskell-build-system)
7768 (inputs
7769 `(("ghc-system-filepath" ,ghc-system-filepath)
7770 ("ghc-text" ,ghc-text)
7771 ("ghc-chell" ,ghc-chell)
7772 ("ghc-temporary" ,ghc-temporary)))
7773 (home-page "https://github.com/fpco/haskell-filesystem")
7774 (synopsis "Consistent file system interaction across GHC versions")
7775 (description
7776 "This is a small wrapper around the directory, unix, and Win32 packages,
7777 for use with system-filepath. It provides a consistent API to the various
7778 versions of these packages distributed with different versions of GHC.
7779 In particular, this library supports working with POSIX files that have paths
7780 which can't be decoded in the current locale encoding.")
7781 (license license:expat)))
7782
7783 (define-public ghc-storable-complex
7784 (package
7785 (name "ghc-storable-complex")
7786 (version "0.2.2")
7787 (source
7788 (origin
7789 (method url-fetch)
7790 (uri (string-append
7791 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
7792 version ".tar.gz"))
7793 (sha256
7794 (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
7795 (build-system haskell-build-system)
7796 (home-page "https://github.com/cartazio/storable-complex")
7797 (synopsis "Haskell Storable instance for Complex")
7798 (description "This package provides a Haskell library including a
7799 Storable instance for Complex which is binary compatible with C99, C++
7800 and Fortran complex data types.")
7801 (license license:bsd-3)))
7802
7803 (define-public ghc-hmatrix
7804 (package
7805 (name "ghc-hmatrix")
7806 (version "0.19.0.0")
7807 (source
7808 (origin
7809 (method url-fetch)
7810 (uri (string-append
7811 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
7812 version ".tar.gz"))
7813 (sha256
7814 (base32 "10jd69nby29dggghcyjk6ykyr5wrn97nrv1dkpyrp0y5xm12xssj"))))
7815 (build-system haskell-build-system)
7816 (inputs
7817 `(("ghc-random" ,ghc-random)
7818 ("ghc-split" ,ghc-split)
7819 ("ghc-storable-complex" ,ghc-storable-complex)
7820 ("ghc-semigroups" ,ghc-semigroups)
7821 ("ghc-vector" ,ghc-vector)
7822 ;;("openblas" ,openblas)
7823 ("lapack" ,lapack)))
7824 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
7825 ;; disables inclusion of the LAPACK functions.
7826 ;; (arguments `(#:configure-flags '("--flags=openblas")))
7827 (home-page "https://github.com/albertoruiz/hmatrix")
7828 (synopsis "Haskell numeric linear algebra library")
7829 (description "The HMatrix package provices a Haskell library for
7830 dealing with linear systems, matrix decompositions, and other
7831 numerical computations based on BLAS and LAPACK.")
7832 (license license:bsd-3)))
7833
7834 (define-public ghc-hmatrix-gsl
7835 (package
7836 (name "ghc-hmatrix-gsl")
7837 (version "0.19.0.1")
7838 (source
7839 (origin
7840 (method url-fetch)
7841 (uri (string-append
7842 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
7843 version ".tar.gz"))
7844 (sha256
7845 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
7846 (build-system haskell-build-system)
7847 (inputs
7848 `(("ghc-hmatrix" ,ghc-hmatrix)
7849 ("ghc-vector" ,ghc-vector)
7850 ("ghc-random" ,ghc-random)
7851 ("gsl" ,gsl)))
7852 (native-inputs `(("pkg-config" ,pkg-config)))
7853 (home-page "https://github.com/albertoruiz/hmatrix")
7854 (synopsis "Haskell GSL binding")
7855 (description "This Haskell library provides a purely functional
7856 interface to selected numerical computations, internally implemented
7857 using GSL.")
7858 (license license:gpl3+)))
7859
7860 (define-public ghc-hmatrix-special
7861 (package
7862 (name "ghc-hmatrix-special")
7863 (version "0.19.0.0")
7864 (source
7865 (origin
7866 (method url-fetch)
7867 (uri
7868 (string-append
7869 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
7870 version ".tar.gz"))
7871 (sha256
7872 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
7873 (build-system haskell-build-system)
7874 (inputs
7875 `(("ghc-hmatrix" ,ghc-hmatrix)
7876 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
7877 (home-page "https://github.com/albertoruiz/hmatrix")
7878 (synopsis "Haskell interface to GSL special functions")
7879 (description "This library provides an interface to GSL special
7880 functions for Haskell.")
7881 (license license:gpl3+)))
7882
7883 (define-public ghc-hmatrix-gsl-stats
7884 (package
7885 (name "ghc-hmatrix-gsl-stats")
7886 (version "0.4.1.7")
7887 (source
7888 (origin
7889 (method url-fetch)
7890 (uri
7891 (string-append
7892 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
7893 version ".tar.gz"))
7894 (sha256
7895 (base32 "1gslgk58lzin43cvbpivhw7nrn9qyaa6qwhy1z9ypvyal5p8n3sa"))))
7896 (build-system haskell-build-system)
7897 (inputs
7898 `(("ghc-vector" ,ghc-vector)
7899 ("ghc-storable-complex" ,ghc-storable-complex)
7900 ("ghc-hmatrix" ,ghc-hmatrix)
7901 ("gsl" ,gsl)))
7902 (native-inputs `(("pkg-config" ,pkg-config)))
7903 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
7904 (synopsis "GSL Statistics interface for Haskell")
7905 (description "This Haskell library provides a purely functional
7906 interface for statistics based on hmatrix and GSL.")
7907 (license license:bsd-3)))
7908
7909 (define-public ghc-easyplot
7910 (package
7911 (name "ghc-easyplot")
7912 (version "1.0")
7913 (source
7914 (origin
7915 (method url-fetch)
7916 (uri (string-append
7917 "https://hackage.haskell.org/package/easyplot/easyplot-"
7918 version ".tar.gz"))
7919 (sha256
7920 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
7921 (build-system haskell-build-system)
7922 (propagated-inputs `(("gnuplot" ,gnuplot)))
7923 (arguments
7924 `(#:phases (modify-phases %standard-phases
7925 (add-after 'unpack 'fix-setup-suffix
7926 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
7927 (home-page "https://hub.darcs.net/scravy/easyplot")
7928 (synopsis "Haskell plotting library based on gnuplot")
7929 (description "This package provides a plotting library for
7930 Haskell, using gnuplot for rendering.")
7931 (license license:expat)))
7932
7933 (define-public ghc-hashtables
7934 (package
7935 (name "ghc-hashtables")
7936 (version "1.2.3.1")
7937 (source
7938 (origin
7939 (method url-fetch)
7940 (uri (string-append
7941 "https://hackage.haskell.org/package/hashtables/hashtables-"
7942 version ".tar.gz"))
7943 (sha256
7944 (base32 "1giw9caajr07slf09j7zry9b0kvm4yj9q78zy1mawzi6gk3wglcg"))))
7945 (build-system haskell-build-system)
7946 (inputs
7947 `(("ghc-hashable" ,ghc-hashable)
7948 ("ghc-primitive" ,ghc-primitive)
7949 ("ghc-vector" ,ghc-vector)))
7950 (home-page "https://github.com/gregorycollins/hashtables")
7951 (synopsis "Haskell Mutable hash tables in the ST monad")
7952 (description "This package provides a Haskell library including a
7953 couple of different implementations of mutable hash tables in the ST
7954 monad, as well as a typeclass abstracting their common operations, and
7955 a set of wrappers to use the hash tables in the IO monad.")
7956 (license license:bsd-3)))
7957
7958 (define-public ghc-data-accessor
7959 (package
7960 (name "ghc-data-accessor")
7961 (version "0.2.2.7")
7962 (source
7963 (origin
7964 (method url-fetch)
7965 (uri (string-append
7966 "mirror://hackage/package/data-accessor/data-accessor-"
7967 version ".tar.gz"))
7968 (sha256
7969 (base32 "1vf2g1gac3rm32g97rl0fll51m88q7ry4m6khnl5j47qsmx24r9l"))))
7970 (build-system haskell-build-system)
7971 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7972 (synopsis
7973 "Haskell utilities for accessing and manipulating fields of records")
7974 (description "This package provides Haskell modules for accessing and
7975 manipulating fields of records.")
7976 (license license:bsd-3)))
7977
7978 (define-public ghc-data-accessor-transformers
7979 (package
7980 (name "ghc-data-accessor-transformers")
7981 (version "0.2.1.7")
7982 (source
7983 (origin
7984 (method url-fetch)
7985 (uri (string-append
7986 "mirror://hackage/package/data-accessor-transformers/"
7987 "data-accessor-transformers-" version ".tar.gz"))
7988 (sha256
7989 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
7990 (build-system haskell-build-system)
7991 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
7992 (home-page "https://www.haskell.org/haskellwiki/Record_access")
7993 (synopsis "Use Accessor to access state in transformers State monad")
7994 (description "This package provides Haskell modules to allow use of
7995 Accessor to access state in transformers State monad.")
7996 (license license:bsd-3)))
7997
7998 (define-public ghc-utility-ht
7999 (package
8000 (name "ghc-utility-ht")
8001 (version "0.0.14")
8002 (home-page "https://hackage.haskell.org/package/utility-ht")
8003 (source
8004 (origin
8005 (method url-fetch)
8006 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
8007 (sha256
8008 (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9"))))
8009 (build-system haskell-build-system)
8010 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
8011 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
8012 (description "This package includes Hakell modules providing various
8013 helper functions for Lists, Maybes, Tuples, Functions.")
8014 (license license:bsd-3)))
8015
8016 (define-public ghc-gnuplot
8017 (package
8018 (name "ghc-gnuplot")
8019 (version "0.5.4.1")
8020 (source
8021 (origin
8022 (method url-fetch)
8023 (uri (string-append
8024 "mirror://hackage/package/gnuplot/gnuplot-"
8025 version ".tar.gz"))
8026 (sha256
8027 (base32 "1xz8prw9xjk0rsyrkp9bsmxykzrbhpv9qhhkdapy75mdbmgwjm7s"))))
8028 (build-system haskell-build-system)
8029 (inputs
8030 `(("ghc-temporary" ,ghc-temporary)
8031 ("ghc-utility-ht" ,ghc-utility-ht)
8032 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
8033 ("ghc-data-accessor" ,ghc-data-accessor)
8034 ("gnuplot" ,gnuplot)))
8035 (arguments
8036 `(#:phases
8037 (modify-phases %standard-phases
8038 (add-before 'configure 'fix-path-to-gnuplot
8039 (lambda* (#:key inputs #:allow-other-keys)
8040 (let ((gnuplot (assoc-ref inputs "gnuplot")))
8041 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
8042 (("(gnuplotName = ).*$" all cmd)
8043 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
8044 (home-page "https://www.haskell.org/haskellwiki/Gnuplot")
8045 (synopsis "2D and 3D plots using gnuplot")
8046 (description "This package provides a Haskell module for creating 2D and
8047 3D plots using gnuplot.")
8048 (license license:bsd-3)))
8049
8050 (define-public ghc-hinotify
8051 (package
8052 (name "ghc-hinotify")
8053 (version "0.3.10")
8054 (source (origin
8055 (method url-fetch)
8056 (uri (string-append
8057 "https://hackage.haskell.org/package/hinotify/"
8058 "hinotify-" version ".tar.gz"))
8059 (sha256
8060 (base32
8061 "17ax3n68a5c2ddazp86aciliskrh6znd3bnry0wcllmb6dbpsaxg"))))
8062 (build-system haskell-build-system)
8063 (inputs
8064 `(("ghc-async" ,ghc-async)))
8065 (home-page "https://github.com/kolmodin/hinotify.git")
8066 (synopsis "Haskell binding to inotify")
8067 (description "This library provides a wrapper to the Linux kernel's inotify
8068 feature, allowing applications to subscribe to notifications when a file is
8069 accessed or modified.")
8070 (license license:bsd-3)))
8071
8072 (define-public ghc-fsnotify
8073 (package
8074 (name "ghc-fsnotify")
8075 (version "0.2.1")
8076 (source (origin
8077 (method url-fetch)
8078 (uri (string-append
8079 "https://hackage.haskell.org/package/fsnotify/"
8080 "fsnotify-" version ".tar.gz"))
8081 (sha256
8082 (base32
8083 "0asl313a52qx2w6dw25g845683xsl840bwjh118nkwi5v1xipkzb"))))
8084 (build-system haskell-build-system)
8085 (inputs
8086 `(("ghc-text" ,ghc-text)
8087 ("ghc-async" ,ghc-async)
8088 ("ghc-unix-compat" ,ghc-unix-compat)
8089 ("ghc-hinotify" ,ghc-hinotify)
8090 ("ghc-tasty" ,ghc-tasty)
8091 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8092 ("ghc-temporary-rc" ,ghc-temporary-rc)))
8093 (home-page "https://github.com/haskell-fswatch/hfsnotify")
8094 (synopsis "Cross platform library for file change notification.")
8095 (description "Cross platform library for file creation, modification, and
8096 deletion notification. This library builds upon existing libraries for platform
8097 specific Windows, Mac, and Linux file system event notification.")
8098 (license license:bsd-3)))
8099
8100 (define-public ghc-ieee754
8101 (package
8102 (name "ghc-ieee754")
8103 (version "0.8.0")
8104 (source (origin
8105 (method url-fetch)
8106 (uri (string-append
8107 "https://hackage.haskell.org/package/ieee754/"
8108 "ieee754-" version ".tar.gz"))
8109 (sha256
8110 (base32
8111 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
8112 (build-system haskell-build-system)
8113 (home-page "https://github.com/patperry/hs-ieee754")
8114 (synopsis "Utilities for dealing with IEEE floating point numbers")
8115 (description "Utilities for dealing with IEEE floating point numbers,
8116 ported from the Tango math library; approximate and exact equality comparisons
8117 for general types.")
8118 (license license:bsd-3)))
8119
8120 (define-public ghc-terminal-size
8121 (package
8122 (name "ghc-terminal-size")
8123 (version "0.3.2.1")
8124 (source (origin
8125 (method url-fetch)
8126 (uri (string-append
8127 "https://hackage.haskell.org/package/terminal-size/"
8128 "terminal-size-" version ".tar.gz"))
8129 (sha256
8130 (base32
8131 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
8132 (build-system haskell-build-system)
8133 (home-page "https://hackage.haskell.org/package/terminal-size")
8134 (synopsis "Get terminal window height and width")
8135 (description "Get terminal window height and width without ncurses
8136 dependency.")
8137 (license license:bsd-3)))
8138
8139 (define-public ghc-language-c
8140 (package
8141 (name "ghc-language-c")
8142 (version "0.8.1")
8143 (source
8144 (origin
8145 (method url-fetch)
8146 (uri (string-append "https://hackage.haskell.org/package/"
8147 "language-c/language-c-" version ".tar.gz"))
8148 (sha256
8149 (base32
8150 "0sdkjj0hq8p69fcdm6ljbjkjvrsrb8a6rl5dq6dj6byj32ajrm3d"))))
8151 (build-system haskell-build-system)
8152 (inputs `(("ghc-syb" ,ghc-syb)))
8153 (native-inputs
8154 `(("ghc-happy" ,ghc-happy)
8155 ("ghc-alex" ,ghc-alex)))
8156 (home-page "https://visq.github.io/language-c/")
8157 (synopsis "Analysis and generation of C code")
8158 (description
8159 "Language C is a Haskell library for the analysis and generation of C code.
8160 It features a complete, well-tested parser and pretty printer for all of C99
8161 and a large set of GNU extensions.")
8162 (license license:bsd-3)))
8163
8164 (define-public ghc-markdown-unlit
8165 (package
8166 (name "ghc-markdown-unlit")
8167 (version "0.4.0")
8168 (source (origin
8169 (method url-fetch)
8170 (uri (string-append
8171 "mirror://hackage/package/markdown-unlit/"
8172 "markdown-unlit-" version ".tar.gz"))
8173 (sha256
8174 (base32
8175 "1kj2bffl7ndd8ygwwa3r1mbpwbxbfhyfgnbla8k8g9i6ffp0qrbw"))))
8176 (build-system haskell-build-system)
8177 (inputs
8178 `(("ghc-base-compat" ,ghc-base-compat)
8179 ("ghc-hspec" ,ghc-hspec)
8180 ("ghc-quickcheck" ,ghc-quickcheck)
8181 ("ghc-silently" ,ghc-silently)
8182 ("ghc-stringbuilder" ,ghc-stringbuilder)
8183 ("ghc-temporary" ,ghc-temporary)
8184 ("hspec-discover" ,hspec-discover)))
8185 (home-page "https://github.com/sol/markdown-unlit#readme")
8186 (synopsis "Literate Haskell support for Markdown")
8187 (description "This package allows you to have a README.md that at the
8188 same time is a literate Haskell program.")
8189 (license license:expat)))
8190
8191 (define-public corrode
8192 (let ((commit "b6699fb2fa552a07c6091276285a44133e5c9789"))
8193 (package
8194 (name "corrode")
8195 (version (string-append "0.0.1-" (string-take commit 7)))
8196 (source
8197 (origin
8198 (method git-fetch)
8199 (uri (git-reference
8200 (url "https://github.com/jameysharp/corrode.git")
8201 (commit "b6699fb2fa552a07c6091276285a44133e5c9789")))
8202 (file-name
8203 (string-append name "-" version "-checkout"))
8204 (sha256
8205 (base32 "02v0yyj6sk4gpg2222wzsdqjxn8w66scbnf6b20x0kbmc69qcz4r"))))
8206 (build-system haskell-build-system)
8207 (inputs
8208 `(("ghc-language-c" ,ghc-language-c)
8209 ("ghc-markdown-unlit" ,ghc-markdown-unlit)))
8210 (home-page "https://github.com/jameysharp/corrode")
8211 (synopsis "Automatic semantics-preserving translation from C to Rust")
8212 (description
8213 "This program reads a C source file and prints an equivalent module in
8214 Rust syntax. It is intended to be useful for two different purposes:
8215
8216 @enumerate
8217 @item Partial automation for migrating legacy code that was implemented in C.
8218 @item A new, complementary approach to static analysis for C programs.
8219 @end enumerate\n")
8220 (license license:gpl2+))))
8221
8222 (define-public ghc-wave
8223 (package
8224 (name "ghc-wave")
8225 (version "0.1.4")
8226 (source (origin
8227 (method url-fetch)
8228 (uri (string-append
8229 "https://hackage.haskell.org/package/wave/wave-"
8230 version
8231 ".tar.gz"))
8232 (sha256
8233 (base32
8234 "1g5nmqfk6p25v9ismwz4i66ay91bd1qh39xwj0hm4z6a5mw8frk8"))))
8235 (build-system haskell-build-system)
8236 (inputs
8237 `(("ghc-cereal" ,ghc-cereal)
8238 ("ghc-data-default-class"
8239 ,ghc-data-default-class)
8240 ("ghc-quickcheck" ,ghc-quickcheck)
8241 ("ghc-temporary" ,ghc-temporary)))
8242 (native-inputs
8243 `(("hspec-discover" ,hspec-discover)
8244 ("ghc-hspec" ,ghc-hspec)))
8245 (home-page "https://github.com/mrkkrp/wave")
8246 (synopsis "Work with WAVE and RF64 files in Haskell")
8247 (description "This package allows you to work with WAVE and RF64
8248 files in Haskell.")
8249 (license license:bsd-3)))
8250
8251 (define-public ghc-hslogger
8252 (package
8253 (name "ghc-hslogger")
8254 (version "1.2.10")
8255 (source
8256 (origin
8257 (method url-fetch)
8258 (uri (string-append "https://hackage.haskell.org/package/"
8259 "hslogger-" version "/" "hslogger-"
8260 version ".tar.gz"))
8261 (sha256 (base32
8262 "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp"))))
8263 (build-system haskell-build-system)
8264 (inputs
8265 `(("ghc-network" ,ghc-network)
8266 ("ghc-old-locale" ,ghc-old-locale)))
8267 (native-inputs
8268 `(("ghc-hunit" ,ghc-hunit)))
8269 (home-page "https://software.complete.org/hslogger")
8270 (synopsis "Logging framework for Haskell, similar to Python's logging module")
8271 (description "Hslogger lets each log message have a priority and source be
8272 associated with it. The programmer can then define global handlers that route
8273 or filter messages based on the priority and source. It also has a syslog
8274 handler built in.")
8275 (license license:bsd-3)))
8276
8277 (define-public ghc-unexceptionalio
8278 (package
8279 (name "ghc-unexceptionalio")
8280 (version "0.4.0")
8281 (source
8282 (origin
8283 (method url-fetch)
8284 (uri (string-append "https://hackage.haskell.org/package/"
8285 "unexceptionalio-" version "/" "unexceptionalio-"
8286 version ".tar.gz"))
8287 (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p"))))
8288 (build-system haskell-build-system)
8289 (home-page "https://github.com/singpolyma/unexceptionalio")
8290 (synopsis "IO without any non-error, synchronous exceptions")
8291 (description "When you've caught all the exceptions that can be
8292 handled safely, this is what you're left with.")
8293 (license license:isc)))
8294
8295 (define-public ghc-json
8296 (package
8297 (name "ghc-json")
8298 (version "0.9.2")
8299 (source
8300 (origin
8301 (method url-fetch)
8302 (uri (string-append "https://hackage.haskell.org/package/json/"
8303 "json-" version ".tar.gz"))
8304 (sha256
8305 (base32
8306 "13kkfgx58z18jphbg56jn08jn72wi3kvfndlwwx87hqwg7x1dfz6"))))
8307 (build-system haskell-build-system)
8308 (inputs
8309 `(("ghc-syb" ,ghc-syb)
8310 ("ghc-text" ,ghc-text)
8311 ("ghc-parsec" ,ghc-parsec)))
8312 (home-page "https://hackage.haskell.org/package/json")
8313 (synopsis "Serializes Haskell data to and from JSON")
8314 (description "This package provides a parser and pretty printer for
8315 converting between Haskell values and JSON.
8316 JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
8317 (license license:bsd-3)))
8318
8319 (define-public ghc-esqueleto
8320 (package
8321 (name "ghc-esqueleto")
8322 (version "2.5.3")
8323 (source
8324 (origin
8325 (method url-fetch)
8326 (uri (string-append "https://hackage.haskell.org/package/"
8327 "esqueleto/esqueleto-" version ".tar.gz"))
8328 (sha256
8329 (base32
8330 "10n49rzqmblky7pwjnysalyy6nacmxfms8dqbsdv6hlyzr8pb69x"))))
8331 (build-system haskell-build-system)
8332 (inputs
8333 `(("ghc-blaze-html" ,ghc-blaze-html)
8334 ("ghc-conduit" ,ghc-conduit)
8335 ("ghc-monad-logger" ,ghc-monad-logger)
8336 ("ghc-persistent" ,ghc-persistent)
8337 ("ghc-resourcet" ,ghc-resourcet)
8338 ("ghc-tagged" ,ghc-tagged)
8339 ("ghc-text" ,ghc-text)
8340 ("ghc-unordered-containers" ,ghc-unordered-containers)))
8341 (native-inputs
8342 `(("ghc-hspec" ,ghc-hspec)
8343 ("ghc-hunit" ,ghc-hunit)
8344 ("ghc-monad-control" ,ghc-monad-control)
8345 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
8346 ("ghc-persistent-template" ,ghc-persistent-template)
8347 ("ghc-quickcheck" ,ghc-quickcheck)))
8348 (home-page "https://github.com/bitemyapp/esqueleto")
8349 (synopsis "Type-safe embedded domain specific language for SQL queries")
8350 (description "This library provides a type-safe embedded domain specific
8351 language (EDSL) for SQL queries that works with SQL backends as provided by
8352 @code{ghc-persistent}. Its language closely resembles SQL, so you don't have
8353 to learn new concepts, just new syntax, and it's fairly easy to predict the
8354 generated SQL and optimize it for your backend.")
8355 (license license:bsd-3)))
8356
8357 (define-public shellcheck
8358 (package
8359 (name "shellcheck")
8360 (version "0.4.6")
8361 (source
8362 (origin
8363 (method url-fetch)
8364 (uri (string-append "https://github.com/koalaman/shellcheck/archive/"
8365 "v" version ".tar.gz"))
8366 (sha256
8367 (base32
8368 "1qkd69lc34n3l23ss9rq1azvx49bfq4hi4bmaj76rgxybscxhg0w"))
8369 (file-name (string-append name "-" version ".tar.gz"))))
8370 (build-system haskell-build-system)
8371 (inputs
8372 `(("ghc-quickcheck" ,ghc-quickcheck)
8373 ("ghc-json" ,ghc-json)
8374 ("ghc-parsec" ,ghc-parsec)
8375 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
8376 (home-page "https://github.com/koalaman/shellcheck")
8377 (synopsis "Static analysis for shell scripts")
8378 (description "@code{shellcheck} provides static analysis for
8379 @command{bash} and @command{sh} shell scripts.
8380 It gives warnings and suggestions in order to:
8381
8382 @enumerate
8383 @item Point out and clarify typical beginner's syntax issues that cause
8384 a shell to give cryptic error messages.
8385 @item Point out and clarify typical intermediate level semantic problems
8386 that cause a shell to behave strangely and counter-intuitively.
8387 @item Point out subtle caveats, corner cases and pitfalls that may cause an
8388 advanced user's otherwise working script to fail under future circumstances.
8389 @end enumerate")
8390 (license license:gpl3+)))
8391
8392 (define-public ghc-simple-sendfile
8393 (package
8394 (name "ghc-simple-sendfile")
8395 (version "0.2.25")
8396 (source
8397 (origin
8398 (method url-fetch)
8399 (uri (string-append "https://hackage.haskell.org/package/"
8400 "simple-sendfile-" version "/"
8401 "simple-sendfile-" version ".tar.gz"))
8402 (sha256
8403 (base32
8404 "0k99j9xfcf83c55jmn202hdinhjaa4yn3dal4rvjk2w2rlhqirha"))))
8405 (build-system haskell-build-system)
8406 (inputs
8407 `(("ghc-conduit" ,ghc-conduit)
8408 ("ghc-conduit-extra" ,ghc-conduit-extra)
8409 ("ghc-network" ,ghc-network)
8410 ("ghc-resourcet" ,ghc-resourcet)))
8411 (native-inputs
8412 `(("ghc-hspec" ,ghc-hspec)
8413 ("hspec-discover" ,hspec-discover)))
8414 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
8415 (synopsis "Cross platform library for the sendfile system call")
8416 (description "This library tries to call minimum system calls which
8417 are the bottleneck of web servers.")
8418 (license license:bsd-3)))
8419
8420 (define-public ghc-hex
8421 (package
8422 (name "ghc-hex")
8423 (version "0.1.2")
8424 (source
8425 (origin
8426 (method url-fetch)
8427 (uri (string-append "https://hackage.haskell.org/package/"
8428 "hex-" version "/"
8429 "hex-" version ".tar.gz"))
8430 (sha256
8431 (base32
8432 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
8433 (build-system haskell-build-system)
8434 (home-page "https://hackage.haskell.org/package/hex")
8435 (synopsis "Convert strings into hexadecimal and back")
8436 (description "This package provides conversion functions between
8437 bytestrings and their hexademical representation.")
8438 (license license:bsd-3)))
8439
8440 (define-public ghc-psqueues
8441 (package
8442 (name "ghc-psqueues")
8443 (version "0.2.7.0")
8444 (source
8445 (origin
8446 (method url-fetch)
8447 (uri (string-append "https://hackage.haskell.org/package/"
8448 "psqueues-" version "/"
8449 "psqueues-" version ".tar.gz"))
8450 (sha256
8451 (base32
8452 "1sjgc9bxh63kkdp59nbirx3xazr02ia5yhp4f4a0jnq1hj465wsc"))))
8453 (build-system haskell-build-system)
8454 (inputs
8455 `(("ghc-hashable" ,ghc-hashable)))
8456 (native-inputs
8457 `(("ghc-hunit" ,ghc-hunit)
8458 ("ghc-quickcheck" ,ghc-quickcheck)
8459 ("ghc-tagged" ,ghc-tagged)
8460 ("ghc-test-framework" ,ghc-test-framework)
8461 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8462 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8463 (home-page "https://github.com/jaspervdj/psqueues")
8464 (synopsis "Pure priority search queues")
8465 (description "The psqueues package provides
8466 @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
8467 three different flavors:
8468
8469 @itemize
8470 @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
8471 fast insertion, deletion and lookup. This implementation is based on Ralf
8472 Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
8473 Implementation Technique for Priority Search Queues}.
8474
8475 Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
8476 PSQueue} library, although it is considerably faster and provides a slightly
8477 different API.
8478
8479 @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
8480 key type to @code{Int} and uses a
8481 @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
8482 with an additional min-heap property.
8483
8484 @item @code{HashPSQ k p v} is a fairly straightforward extension
8485 of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
8486 @code{IntPSQ}. If there are any hash collisions, it uses an
8487 @code{OrdPSQ} to resolve those. The performance of this implementation
8488 is comparable to that of @code{IntPSQ}, but it is more widely
8489 applicable since the keys are not restricted to @code{Int},
8490 but rather to any @code{Hashable} datatype.
8491 @end itemize
8492
8493 Each of the three implementations provides the same API, so they can
8494 be used interchangeably.
8495
8496 Typical applications of Priority Search Queues include:
8497
8498 @itemize
8499 @item Caches, and more specifically LRU Caches;
8500 @item Schedulers;
8501 @item Pathfinding algorithms, such as Dijkstra's and A*.
8502 @end itemize")
8503 (license license:bsd-3)))
8504
8505 (define-public ghc-glob
8506 (package
8507 (name "ghc-glob")
8508 (version "0.9.2")
8509 (source
8510 (origin
8511 (method url-fetch)
8512 (uri (string-append "https://hackage.haskell.org/package/"
8513 "Glob-" version "/"
8514 "Glob-" version ".tar.gz"))
8515 (sha256
8516 (base32
8517 "1rbwcq9w9951qsnp13vqcm9r01yax2yh1wk8s4zxa3ckk9717iwg"))))
8518 (build-system haskell-build-system)
8519 (inputs
8520 `(("ghc-dlist" ,ghc-dlist)
8521 ("ghc-semigroups" ,ghc-semigroups)
8522 ("ghc-transformers-compat" ,ghc-transformers-compat)))
8523 (native-inputs
8524 `(("ghc-hunit" ,ghc-hunit)
8525 ("ghc-quickcheck" ,ghc-quickcheck)
8526 ("ghc-test-framework" ,ghc-test-framework)
8527 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8528 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8529 (home-page "http://iki.fi/matti.niemenmaa/glob/")
8530 (synopsis "Haskell library matching glob patterns against file paths")
8531 (description "This package provides a Haskell library for @dfn{globbing}:
8532 matching patterns against file paths.")
8533 (license license:bsd-3)))
8534
8535 (define-public ghc-errors
8536 (package
8537 (name "ghc-errors")
8538 (version "2.3.0")
8539 (source
8540 (origin
8541 (method url-fetch)
8542 (uri (string-append "https://hackage.haskell.org/package/"
8543 "errors-" version "/"
8544 "errors-" version ".tar.gz"))
8545 (sha256
8546 (base32
8547 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
8548 (build-system haskell-build-system)
8549 (inputs
8550 `(("ghc-exceptions" ,ghc-exceptions)
8551 ("ghc-text" ,ghc-text)
8552 ("ghc-transformers-compat" ,ghc-transformers-compat)
8553 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
8554 ("ghc-safe" ,ghc-safe)))
8555 (home-page "https://github.com/gabriel439/haskell-errors-library")
8556 (synopsis "Error handling library for Haskell")
8557 (description "This library encourages an error-handling style that
8558 directly uses the type system, rather than out-of-band exceptions.")
8559 (license license:bsd-3)))
8560
8561 (define-public ghc-vector-th-unbox
8562 (package
8563 (name "ghc-vector-th-unbox")
8564 (version "0.2.1.6")
8565 (source
8566 (origin
8567 (method url-fetch)
8568 (uri (string-append "https://hackage.haskell.org/package/"
8569 "vector-th-unbox-" version "/"
8570 "vector-th-unbox-" version ".tar.gz"))
8571 (sha256
8572 (base32
8573 "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy"))))
8574 (build-system haskell-build-system)
8575 (inputs
8576 `(("ghc-vector" ,ghc-vector)
8577 ("ghc-data-default" ,ghc-data-default)))
8578 (home-page "https://github.com/liyang/vector-th-unbox")
8579 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
8580 (description "This Haskell library provides a Template Haskell
8581 deriver for unboxed vectors, given a pair of coercion functions to
8582 and from some existing type with an Unbox instance.")
8583 (license license:bsd-3)))
8584
8585 (define-public ghc-erf
8586 (package
8587 (name "ghc-erf")
8588 (version "2.0.0.0")
8589 (source
8590 (origin
8591 (method url-fetch)
8592 (uri (string-append "https://hackage.haskell.org/package/"
8593 "erf-" version "/"
8594 "erf-" version ".tar.gz"))
8595 (sha256
8596 (base32
8597 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
8598 (build-system haskell-build-system)
8599 (home-page "https://hackage.haskell.org/package/erf")
8600 (synopsis "The error function, erf, and related functions for Haskell")
8601 (description "This Haskell library provides a type class for the
8602 error function, erf, and related functions. Instances for Float and
8603 Double.")
8604 (license license:bsd-3)))
8605
8606 (define-public ghc-math-functions
8607 (package
8608 (name "ghc-math-functions")
8609 (version "0.2.1.0")
8610 (source
8611 (origin
8612 (method url-fetch)
8613 (uri (string-append "https://hackage.haskell.org/package/"
8614 "math-functions-" version "/"
8615 "math-functions-" version ".tar.gz"))
8616 (sha256
8617 (base32
8618 "1sv5vabsx332v1lpb6v3jv4zrzvpx1n7yprzd8wlcda5vsc5a6zp"))))
8619 (build-system haskell-build-system)
8620 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
8621 (inputs
8622 `(("ghc-vector" ,ghc-vector)
8623 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
8624 (native-inputs
8625 `(("ghc-hunit" ,ghc-hunit)
8626 ("ghc-quickcheck" ,ghc-quickcheck)
8627 ("ghc-erf" ,ghc-erf)
8628 ("ghc-test-framework" ,ghc-test-framework)
8629 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8630 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8631 (home-page "https://github.com/bos/math-functions")
8632 (synopsis "Special functions and Chebyshev polynomials for Haskell")
8633 (description "This Haskell library provides implementations of
8634 special mathematical functions and Chebyshev polynomials. These
8635 functions are often useful in statistical and numerical computing.")
8636 (license license:bsd-3)))
8637
8638 (define-public ghc-mwc-random
8639 (package
8640 (name "ghc-mwc-random")
8641 (version "0.13.6.0")
8642 (source
8643 (origin
8644 (method url-fetch)
8645 (uri (string-append "https://hackage.haskell.org/package/"
8646 "mwc-random-" version "/"
8647 "mwc-random-" version ".tar.gz"))
8648 (sha256
8649 (base32
8650 "05j7yh0hh9nxic3dijmzv44kc6gzclvamdph7sq7w19wq57k6pq6"))))
8651 (build-system haskell-build-system)
8652 (inputs
8653 `(("ghc-primitive" ,ghc-primitive)
8654 ("ghc-vector" ,ghc-vector)
8655 ("ghc-math-functions" ,ghc-math-functions)))
8656 (arguments
8657 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8658 (native-inputs
8659 `(("ghc-hunit" ,ghc-hunit)
8660 ("ghc-quickcheck" ,ghc-quickcheck)
8661 ("ghc-test-framework" ,ghc-test-framework)
8662 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8663 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8664 (home-page "https://github.com/bos/mwc-random")
8665 (synopsis "Random number generation library for Haskell")
8666 (description "This Haskell package contains code for generating
8667 high quality random numbers that follow either a uniform or normal
8668 distribution. The generated numbers are suitable for use in
8669 statistical applications.
8670
8671 The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
8672 multiply-with-carry generator, which has a period of 2^{8222} and
8673 fares well in tests of randomness. It is also extremely fast,
8674 between 2 and 3 times faster than the Mersenne Twister.")
8675 (license license:bsd-3)))
8676
8677 (define-public ghc-vector-algorithms
8678 (package
8679 (name "ghc-vector-algorithms")
8680 (version "0.7.0.4")
8681 (source
8682 (origin
8683 (method url-fetch)
8684 (uri (string-append "https://hackage.haskell.org/package/"
8685 "vector-algorithms-" version "/"
8686 "vector-algorithms-" version ".tar.gz"))
8687 (sha256
8688 (base32
8689 "0mfa8ig9v69l41p2vb5jl4qmaln5y1rlzarr2mlgm8g1nvq8qqdg"))))
8690 (build-system haskell-build-system)
8691 (inputs
8692 `(("ghc-vector" ,ghc-vector)))
8693 (native-inputs
8694 `(("ghc-quickcheck" ,ghc-quickcheck)))
8695 (home-page "https://github.com/bos/math-functions")
8696 (synopsis "Algorithms for vector arrays in Haskell")
8697 (description "This Haskell library algorithms for vector arrays.")
8698 (license license:bsd-3)))
8699
8700 (define-public ghc-language-haskell-extract
8701 (package
8702 (name "ghc-language-haskell-extract")
8703 (version "0.2.4")
8704 (source
8705 (origin
8706 (method url-fetch)
8707 (uri (string-append "https://hackage.haskell.org/package/"
8708 "language-haskell-extract-" version "/"
8709 "language-haskell-extract-" version ".tar.gz"))
8710 (sha256
8711 (base32
8712 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
8713 (build-system haskell-build-system)
8714 (inputs
8715 `(("ghc-regex-posix" ,ghc-regex-posix)))
8716 (home-page "https://github.com/finnsson/template-helper")
8717 (synopsis "Haskell module to automatically extract functions from
8718 the local code")
8719 (description "This package contains helper functions on top of
8720 Template Haskell.
8721
8722 For example, @code{functionExtractor} extracts all functions after a
8723 regexp-pattern, which can be useful if you wish to extract all functions
8724 beginning with @code{test} (for a test framework) or all functions beginning
8725 with @code{wc} (for a web service).")
8726 (license license:bsd-3)))
8727
8728 (define-public ghc-abstract-par
8729 (package
8730 (name "ghc-abstract-par")
8731 (version "0.3.3")
8732 (source
8733 (origin
8734 (method url-fetch)
8735 (uri (string-append "https://hackage.haskell.org/package/"
8736 "abstract-par-" version "/"
8737 "abstract-par-" version ".tar.gz"))
8738 (sha256
8739 (base32
8740 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
8741 (build-system haskell-build-system)
8742 (home-page "https://github.com/simonmar/monad-par")
8743 (synopsis "Abstract parallelization interface for Haskell")
8744 (description "This Haskell package is an abstract interface
8745 only. It provides a number of type clasess, but not an
8746 implementation. The type classes separate different levels
8747 of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
8748 module for more details.")
8749 (license license:bsd-3)))
8750
8751 (define-public ghc-monad-par-extras
8752 (package
8753 (name "ghc-monad-par-extras")
8754 (version "0.3.3")
8755 (source
8756 (origin
8757 (method url-fetch)
8758 (uri (string-append "https://hackage.haskell.org/package/"
8759 "monad-par-extras-" version "/"
8760 "monad-par-extras-" version ".tar.gz"))
8761 (sha256
8762 (base32
8763 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
8764 (build-system haskell-build-system)
8765 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8766 ("ghc-cereal" ,ghc-cereal)
8767 ("ghc-random" ,ghc-random)))
8768 (home-page "https://github.com/simonmar/monad-par")
8769 (synopsis "Combinators and extra features for Par monads for Haskell")
8770 (description "This Haskell package provides additional data structures,
8771 and other added capabilities layered on top of the @code{Par} monad.")
8772 (license license:bsd-3)))
8773
8774 (define-public ghc-abstract-deque
8775 (package
8776 (name "ghc-abstract-deque")
8777 (version "0.3")
8778 (source
8779 (origin
8780 (method url-fetch)
8781 (uri (string-append "https://hackage.haskell.org/package/"
8782 "abstract-deque-" version "/"
8783 "abstract-deque-" version ".tar.gz"))
8784 (sha256
8785 (base32
8786 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
8787 (build-system haskell-build-system)
8788 (inputs `(("ghc-random" ,ghc-random)))
8789 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
8790 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
8791 (description "This Haskell package provides an abstract interface to
8792 highly-parameterizable queues/deques.
8793
8794 Background: There exists a feature space for queues that extends between:
8795
8796 @itemize
8797 @item Simple, single-ended, non-concurrent, bounded queues
8798
8799 @item Double-ended, thread-safe, growable queues with important points
8800 in between (such as the queues used for work stealing).
8801 @end itemize
8802
8803 This package includes an interface for Deques that allows the programmer
8804 to use a single API for all of the above, while using the type system to
8805 select an efficient implementation given the requirements (using type families).
8806
8807 This package also includes a simple reference implementation based on
8808 @code{IORef} and @code{Data.Sequence}.")
8809 (license license:bsd-3)))
8810
8811 (define-public ghc-monad-par
8812 (package
8813 (name "ghc-monad-par")
8814 (version "0.3.4.8")
8815 (source
8816 (origin
8817 (method url-fetch)
8818 (uri (string-append "https://hackage.haskell.org/package/"
8819 "monad-par-" version "/"
8820 "monad-par-" version ".tar.gz"))
8821 (sha256
8822 (base32
8823 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
8824 (build-system haskell-build-system)
8825 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8826 ("ghc-abstract-deque" ,ghc-abstract-deque)
8827 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
8828 ("ghc-mwc-random" ,ghc-mwc-random)
8829 ("ghc-parallel" ,ghc-parallel)))
8830 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
8831 ("ghc-hunit" ,ghc-hunit)
8832 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8833 ("ghc-test-framework-quickcheck2"
8834 ,ghc-test-framework-quickcheck2)
8835 ("ghc-test-framework" ,ghc-test-framework)
8836 ("ghc-test-framework-th" ,ghc-test-framework-th)))
8837 (home-page "https://github.com/simonmar/monad-par")
8838 (synopsis "Haskell library for parallel programming based on a monad")
8839 (description "The @code{Par} monad offers an API for parallel
8840 programming. The library works for parallelising both pure and @code{IO}
8841 computations, although only the pure version is deterministic. The default
8842 implementation provides a work-stealing scheduler and supports forking tasks
8843 that are much lighter weight than IO-threads.")
8844 (license license:bsd-3)))
8845
8846 (define-public ghc-statistics
8847 (package
8848 (name "ghc-statistics")
8849 (version "0.14.0.2")
8850 (source
8851 (origin
8852 (method url-fetch)
8853 (uri (string-append "https://hackage.haskell.org/package/"
8854 "statistics-" version "/"
8855 "statistics-" version ".tar.gz"))
8856 (sha256
8857 (base32
8858 "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l"))))
8859 (build-system haskell-build-system)
8860 (inputs
8861 `(("ghc-aeson" ,ghc-aeson)
8862 ("ghc-base-orphans" ,ghc-base-orphans)
8863 ("ghc-erf" ,ghc-erf)
8864 ("ghc-math-functions" ,ghc-math-functions)
8865 ("ghc-monad-par" ,ghc-monad-par)
8866 ("ghc-mwc-random" ,ghc-mwc-random)
8867 ("ghc-primitive" ,ghc-primitive)
8868 ("ghc-vector" ,ghc-vector)
8869 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
8870 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
8871 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
8872 (native-inputs
8873 `(("ghc-hunit" ,ghc-hunit)
8874 ("ghc-quickcheck" ,ghc-quickcheck)
8875 ("ghc-ieee754" ,ghc-ieee754)
8876 ("ghc-test-framework" ,ghc-test-framework)
8877 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8878 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8879 (arguments
8880 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8881 (home-page "https://github.com/bos/mwc-random")
8882 (synopsis "Haskell library of statistical types, data, and functions")
8883 (description "This library provides a number of common functions
8884 and types useful in statistics. We focus on high performance, numerical
8885 robustness, and use of good algorithms. Where possible, we provide references
8886 to the statistical literature.
8887
8888 The library's facilities can be divided into four broad categories:
8889
8890 @itemize
8891 @item Working with widely used discrete and continuous probability
8892 distributions. (There are dozens of exotic distributions in use; we focus
8893 on the most common.)
8894
8895 @item Computing with sample data: quantile estimation, kernel density
8896 estimation, histograms, bootstrap methods, significance testing,
8897 and regression and autocorrelation analysis.
8898
8899 @item Random variate generation under several different distributions.
8900
8901 @item Common statistical tests for significant differences between samples.
8902 @end itemize")
8903 (license license:bsd-2)))
8904
8905 (define-public ghc-chunked-data
8906 (package
8907 (name "ghc-chunked-data")
8908 (version "0.3.1")
8909 (source
8910 (origin
8911 (method url-fetch)
8912 (uri (string-append "https://hackage.haskell.org/package/"
8913 "chunked-data-" version "/"
8914 "chunked-data-" version ".tar.gz"))
8915 (sha256
8916 (base32
8917 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
8918 (build-system haskell-build-system)
8919 (inputs `(("ghc-vector" ,ghc-vector)
8920 ("ghc-semigroups" ,ghc-semigroups)
8921 ("ghc-text" ,ghc-text)))
8922 (home-page "https://github.com/snoyberg/mono-traversable")
8923 (synopsis "Typeclasses for dealing with various chunked data
8924 representations for Haskell")
8925 (description "This Haskell package was originally present in
8926 classy-prelude.")
8927 (license license:expat)))
8928
8929 (define-public ghc-base-prelude
8930 (package
8931 (name "ghc-base-prelude")
8932 (version "1.3")
8933 (source
8934 (origin
8935 (method url-fetch)
8936 (uri (string-append "https://hackage.haskell.org/package/"
8937 "base-prelude-" version "/"
8938 "base-prelude-" version ".tar.gz"))
8939 (sha256
8940 (base32
8941 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
8942 (build-system haskell-build-system)
8943 (home-page "https://github.com/nikita-volkov/base-prelude")
8944 (synopsis "The most complete prelude formed solely from the Haskell's base
8945 package")
8946 (description "This Haskell package aims to reexport all the non-conflicting
8947 and most general definitions from the \"base\" package.
8948
8949 This includes APIs for applicatives, arrows, monoids, foldables, traversables,
8950 exceptions, generics, ST, MVars and STM.
8951
8952 This package will never have any dependencies other than \"base\".
8953
8954 Versioning policy:
8955
8956 The versioning policy of this package deviates from PVP in the sense
8957 that its exports in part are transitively determined by the version of \"base\".
8958 Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
8959 the bounds of \"base\" as well.")
8960 (license license:expat)))
8961
8962 (define-public ghc-tuple-th
8963 (package
8964 (name "ghc-tuple-th")
8965 (version "0.2.5")
8966 (source
8967 (origin
8968 (method url-fetch)
8969 (uri (string-append "https://hackage.haskell.org/package/"
8970 "tuple-th-" version "/"
8971 "tuple-th-" version ".tar.gz"))
8972 (sha256
8973 (base32
8974 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
8975 (build-system haskell-build-system)
8976 (home-page "https://github.com/DanielSchuessler/tuple-th")
8977 (synopsis "Generate utility functions for tuples of statically known size
8978 for Haskell")
8979 (description "This Haskell package contains Template Haskell functions for
8980 generating functions similar to those in @code{Data.List} for tuples of
8981 statically known size.")
8982 (license license:bsd-3)))
8983
8984 (define-public ghc-contravariant-extras
8985 (package
8986 (name "ghc-contravariant-extras")
8987 (version "0.3.4")
8988 (source
8989 (origin
8990 (method url-fetch)
8991 (uri (string-append "https://hackage.haskell.org/package/"
8992 "contravariant-extras-" version "/"
8993 "contravariant-extras-" version ".tar.gz"))
8994 (sha256
8995 (base32
8996 "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n"))))
8997 (build-system haskell-build-system)
8998 (inputs
8999 `(("ghc-tuple-th" ,ghc-tuple-th)
9000 ("ghc-contravariant" ,ghc-contravariant)
9001 ("ghc-base-prelude" ,ghc-base-prelude)
9002 ("ghc-semigroups" ,ghc-semigroups)))
9003 (home-page "https://github.com/nikita-volkov/contravariant-extras")
9004 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
9005 (description "This Haskell package provides extras for the
9006 @code{ghc-contravariant} package.")
9007 (license license:expat)))
9008
9009 (define-public ghc-monadrandom
9010 (package
9011 (name "ghc-monadrandom")
9012 (version "0.5.1.1")
9013 (source
9014 (origin
9015 (method url-fetch)
9016 (uri (string-append "https://hackage.haskell.org/package/"
9017 "MonadRandom-" version "/"
9018 "MonadRandom-" version ".tar.gz"))
9019 (sha256
9020 (base32
9021 "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb"))))
9022 (build-system haskell-build-system)
9023 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
9024 ("ghc-primitive" ,ghc-primitive)
9025 ("ghc-fail" ,ghc-fail)
9026 ("ghc-random" ,ghc-random)))
9027 (home-page "https://github.com/byorgey/MonadRandom")
9028 (synopsis "Random-number generation monad for Haskell")
9029 (description "This Haskell package provides support for computations
9030 which consume random values.")
9031 (license license:bsd-3)))
9032
9033 (define-public ghc-either
9034 (package
9035 (name "ghc-either")
9036 (version "4.4.1.1")
9037 (source
9038 (origin
9039 (method url-fetch)
9040 (uri (string-append "https://hackage.haskell.org/package/"
9041 "either-" version "/"
9042 "either-" version ".tar.gz"))
9043 (sha256
9044 (base32
9045 "1lrlwqqnm6ibfcydlv5qvvssw7bm0c6yypy0rayjzv1znq7wp1xh"))))
9046 (build-system haskell-build-system)
9047 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
9048 ("ghc-exceptions" ,ghc-exceptions)
9049 ("ghc-free" ,ghc-free)
9050 ("ghc-monad-control" ,ghc-monad-control)
9051 ("ghc-manodrandom" ,ghc-monadrandom)
9052 ("ghc-mmorph" ,ghc-mmorph)
9053 ("ghc-profunctors" ,ghc-profunctors)
9054 ("ghc-semigroups" ,ghc-semigroups)
9055 ("ghc-semigroupoids" ,ghc-semigroupoids)
9056 ("ghc-transformers-base" ,ghc-transformers-base)))
9057 (home-page "https://github.com/ekmett/either")
9058 (synopsis "Provides an either monad transformer for Haskell")
9059 (description "This Haskell package provides an either monad transformer.")
9060 (license license:bsd-3)))
9061
9062 (define-public ghc-pretty-hex
9063 (package
9064 (name "ghc-pretty-hex")
9065 (version "1.0")
9066 (source
9067 (origin
9068 (method url-fetch)
9069 (uri (string-append "https://hackage.haskell.org/package/"
9070 "pretty-hex-" version "/"
9071 "pretty-hex-" version ".tar.gz"))
9072 (sha256
9073 (base32
9074 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
9075 (build-system haskell-build-system)
9076 (home-page "https://github.com/GaloisInc/hexdump")
9077 (synopsis "Haskell library for hex dumps of ByteStrings")
9078 (description "This Haskell library generates pretty hex dumps of
9079 ByteStrings in the style of other common *nix hex dump tools.")
9080 (license license:bsd-3)))
9081
9082 (define-public ghc-network-info
9083 (package
9084 (name "ghc-network-info")
9085 (version "0.2.0.10")
9086 (source
9087 (origin
9088 (method url-fetch)
9089 (uri (string-append "https://hackage.haskell.org/package/"
9090 "network-info-" version "/"
9091 "network-info-" version ".tar.gz"))
9092 (sha256
9093 (base32
9094 "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n"))))
9095 (build-system haskell-build-system)
9096 (home-page "https://github.com/jystic/network-info")
9097 (synopsis "Access the local computer's basic network configuration")
9098 (description "This Haskell library provides simple read-only access to the
9099 local computer's networking configuration. It is currently capable of
9100 getting a list of all the network interfaces and their respective
9101 IPv4, IPv6 and MAC addresses.")
9102 (license license:bsd-3)))
9103
9104 (define-public ghc-uuid-types
9105 (package
9106 (name "ghc-uuid-types")
9107 (version "1.0.3")
9108 (source
9109 (origin
9110 (method url-fetch)
9111 (uri (string-append "https://hackage.haskell.org/package/"
9112 "uuid-types-" version "/"
9113 "uuid-types-" version ".tar.gz"))
9114 (sha256
9115 (base32
9116 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
9117 (build-system haskell-build-system)
9118 (arguments
9119 `(#:phases
9120 (modify-phases %standard-phases
9121 (add-before 'configure 'strip-test-framework-constraints
9122 (lambda _
9123 (substitute* "uuid-types.cabal"
9124 (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
9125 (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
9126 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
9127 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
9128 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
9129 (inputs `(("ghc-hashable" ,ghc-hashable)
9130 ("ghc-random" ,ghc-random)
9131 ("ghc-text" ,ghc-text)))
9132 (native-inputs `(("ghc-hunit" ,ghc-hunit)
9133 ("ghc-quickcheck" ,ghc-quickcheck)
9134 ("ghc-tasty" ,ghc-tasty)
9135 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9136 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
9137 (home-page "https://github.com/hvr/uuid")
9138 (synopsis "Haskell type definitions for UUIDs")
9139 (description "This Haskell library contains type definitions for
9140 @dfn{Universally Unique Identifiers} or
9141 @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
9142 functions.")
9143 (license license:bsd-3)))
9144
9145 (define-public ghc-uuid
9146 (package
9147 (name "ghc-uuid")
9148 (version "1.3.13")
9149 (source
9150 (origin
9151 (method url-fetch)
9152 (uri (string-append "https://hackage.haskell.org/package/"
9153 "uuid-" version "/"
9154 "uuid-" version ".tar.gz"))
9155 (sha256
9156 (base32
9157 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
9158 (build-system haskell-build-system)
9159 (arguments
9160 `(#:cabal-revision
9161 ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
9162 #:phases
9163 (modify-phases %standard-phases
9164 (add-before 'configure 'strip-test-framework-constraints
9165 (lambda _
9166 (substitute* "uuid.cabal"
9167 (("HUnit >= 1\\.2 && < 1\\.4") "HUnit")
9168 (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck")
9169 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
9170 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
9171 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
9172 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
9173 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
9174 ("ghc-entropy" ,ghc-entropy)
9175 ("ghc-network-info" ,ghc-network-info)
9176 ("ghc-random" ,ghc-random)
9177 ("ghc-text" ,ghc-text)
9178 ("ghc-uuid-types" ,ghc-uuid-types)))
9179 (native-inputs `(("ghc-hunit" ,ghc-hunit)
9180 ("ghc-quickcheck" ,ghc-quickcheck)
9181 ("ghc-tasty" ,ghc-tasty)
9182 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9183 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
9184 (home-page "https://github.com/hvr/uuid")
9185 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
9186 (description "This Haskell library provides utilities creating, comparing,
9187 parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
9188 (license license:bsd-3)))
9189
9190 (define-public ghc-rebase
9191 (package
9192 (name "ghc-rebase")
9193 (version "1.1")
9194 (source
9195 (origin
9196 (method url-fetch)
9197 (uri (string-append "https://hackage.haskell.org/package/"
9198 "rebase-" version "/"
9199 "rebase-" version ".tar.gz"))
9200 (sha256
9201 (base32
9202 "1qkhnpcc4g2vd6jmbf3b6psqkan6hyawqzrwzqdd931hsb02l6ia"))))
9203 (build-system haskell-build-system)
9204 (inputs `(("ghc-stm" ,ghc-stm)
9205 ("ghc-hashable" ,ghc-hashable)
9206 ("ghc-vector" ,ghc-vector)
9207 ("ghc-unordered-containers" ,ghc-unordered-containers)
9208 ("ghc-text" ,ghc-text)
9209 ("ghc-scientific" ,ghc-scientific)
9210 ("ghc-uuid" ,ghc-uuid)
9211 ("ghc-dlist" ,ghc-dlist)
9212 ("ghc-void" ,ghc-void)
9213 ("ghc-bifunctors" ,ghc-bifunctors)
9214 ("ghc-profunctors" ,ghc-profunctors)
9215 ("ghc-contravariant" ,ghc-contravariant)
9216 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
9217 ("ghc-semigroups" ,ghc-semigroups)
9218 ("ghc-either" ,ghc-either)
9219 ("ghc-fail" ,ghc-fail)
9220 ("ghc-base-prelude" ,ghc-base-prelude)))
9221 (home-page "https://github.com/nikita-volkov/rebase")
9222 (synopsis "Progressive alternative to the base package
9223 for Haskell")
9224 (description "This Haskell package is intended for those who are
9225 tired of keeping long lists of dependencies to the same essential libraries
9226 in each package as well as the endless imports of the same APIs all over again.
9227
9228 It also supports the modern tendencies in the language.
9229
9230 To solve those problems this package does the following:
9231
9232 @itemize
9233 @item Reexport the original APIs under the @code{Rebase} namespace.
9234
9235 @item Export all the possible non-conflicting symbols from the
9236 @code{Rebase.Prelude} module.
9237
9238 @item Give priority to the modern practices in the conflicting cases.
9239 @end itemize
9240
9241 The policy behind the package is only to reexport the non-ambiguous and
9242 non-controversial APIs, which the community has obviously settled on.
9243 The package is intended to rapidly evolve with the contribution from
9244 the community, with the missing features being added with pull-requests.")
9245 (license license:expat)))
9246
9247 (define-public ghc-vector-builder
9248 (package
9249 (name "ghc-vector-builder")
9250 (version "0.3.1")
9251 (source
9252 (origin
9253 (method url-fetch)
9254 (uri (string-append "https://hackage.haskell.org/package/"
9255 "vector-builder-" version "/"
9256 "vector-builder-" version ".tar.gz"))
9257 (sha256
9258 (base32
9259 "1l6sfgd2s107zkp1qd1w6jdjcbznp31769qf99pxar087f697wvp"))))
9260 (build-system haskell-build-system)
9261 (inputs `(("ghc-vector" ,ghc-vector)
9262 ("ghc-semigroups" ,ghc-semigroups)
9263 ("ghc-base-prelude" ,ghc-base-prelude)))
9264 (native-inputs `(("ghc-tasty" ,ghc-tasty)
9265 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9266 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9267 ("ghc-hunit" ,ghc-hunit)
9268 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9269 ("ghc-rebase" ,ghc-rebase)))
9270 (home-page "https://github.com/nikita-volkov/vector-builder")
9271 (synopsis "Vector builder for Haskell")
9272 (description "This Haskell package provides an API for constructing vectors.
9273 It provides the composable @code{Builder} abstraction, which has instances of the
9274 @code{Monoid} and @code{Semigroup} classes.
9275
9276 You would first use the @code{Builder} abstraction to specify the structure of
9277 the vector; then you can execute the builder to actually produce the
9278 vector. ")
9279 (license license:expat)))
9280
9281 (define-public ghc-foldl
9282 (package
9283 (name "ghc-foldl")
9284 (version "1.3.5")
9285 (source
9286 (origin
9287 (method url-fetch)
9288 (uri (string-append "https://hackage.haskell.org/package/"
9289 "foldl-" version "/"
9290 "foldl-" version ".tar.gz"))
9291 (sha256
9292 (base32
9293 "10qsp7dj2xsq4q2xm6x6b12y5pq32qf7my41hnkmdwwbccvhdxb2"))))
9294 (build-system haskell-build-system)
9295 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
9296 ("ghc-primitive" ,ghc-primitive)
9297 ("ghc-text" ,ghc-text)
9298 ("ghc-vector" ,ghc-vector)
9299 ("ghc-unordered-containers" ,ghc-unordered-containers)
9300 ("ghc-hashable" ,ghc-hashable)
9301 ("ghc-contravariant" ,ghc-contravariant)
9302 ("ghc-profunctors" ,ghc-profunctors)
9303 ("ghc-comonad" ,ghc-comonad)
9304 ("ghc-vector-builder" ,ghc-vector-builder)))
9305 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
9306 (synopsis "Composable, streaming, and efficient left folds for Haskell")
9307 (description "This Haskell library provides strict left folds that stream
9308 in constant memory, and you can combine folds using @code{Applicative} style
9309 to derive new folds. Derived folds still traverse the container just once
9310 and are often as efficient as hand-written folds.")
9311 (license license:bsd-3)))
9312
9313 (define-public ghc-mono-traversable
9314 (package
9315 (name "ghc-mono-traversable")
9316 (version "1.0.9.0")
9317 (source
9318 (origin
9319 (method url-fetch)
9320 (uri (string-append "https://hackage.haskell.org/package/"
9321 "mono-traversable-" version "/"
9322 "mono-traversable-" version ".tar.gz"))
9323 (sha256
9324 (base32
9325 "0180ks0dyvpk1r20w5jw2w2n79mjnk69n9vhspaxzlyxqgim5psa"))))
9326 (build-system haskell-build-system)
9327 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
9328 ("ghc-hashable" ,ghc-hashable)
9329 ("ghc-text" ,ghc-text)
9330 ("ghc-vector" ,ghc-vector)
9331 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
9332 ("ghc-split" ,ghc-split)))
9333 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9334 ("ghc-hunit" ,ghc-hunit)
9335 ("ghc-quickcheck" ,ghc-quickcheck)
9336 ("ghc-semigroups" ,ghc-semigroups)
9337 ("ghc-foldl" ,ghc-foldl)))
9338 (home-page "https://github.com/snoyberg/mono-traversable")
9339 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
9340 containers")
9341 (description "This Haskell package provides Monomorphic variants of the
9342 Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
9343 basic typeclasses, you understand mono-traversable. In addition to what
9344 you are used to, it adds on an IsSequence typeclass and has code for marking
9345 data structures as non-empty.")
9346 (license license:expat)))
9347
9348 (define-public ghc-conduit-combinators
9349 (package
9350 (name "ghc-conduit-combinators")
9351 (version "1.3.0")
9352 (source
9353 (origin
9354 (method url-fetch)
9355 (uri (string-append "https://hackage.haskell.org/package/"
9356 "conduit-combinators-" version "/"
9357 "conduit-combinators-" version ".tar.gz"))
9358 (sha256
9359 (base32
9360 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
9361 (build-system haskell-build-system)
9362 (inputs `(("ghc-conduit" ,ghc-conduit)
9363 ("ghc-conduit-extra" ,ghc-conduit-extra)
9364 ("ghc-transformers-base" ,ghc-transformers-base)
9365 ("ghc-primitive" ,ghc-primitive)
9366 ("ghc-vector" ,ghc-vector)
9367 ("ghc-text" ,ghc-text)
9368 ("ghc-void" ,ghc-void)
9369 ("ghc-mwc-random" ,ghc-mwc-random)
9370 ("ghc-unix-compat" ,ghc-unix-compat)
9371 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9372 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9373 ("ghc-resourcet" ,ghc-resourcet)
9374 ("ghc-monad-control" ,ghc-monad-control)
9375 ("ghc-chunked-data" ,ghc-chunked-data)
9376 ("ghc-mono-traversable" ,ghc-mono-traversable)))
9377 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9378 ("ghc-silently" ,ghc-silently)
9379 ("ghc-safe" ,ghc-safe)
9380 ("ghc-quickcheck" ,ghc-quickcheck)))
9381 (home-page "https://github.com/snoyberg/mono-traversable")
9382 (synopsis "Commonly used conduit functions, for both chunked and
9383 unchunked data")
9384 (description "This Haskell package provides a replacement for Data.Conduit.List,
9385 as well as a convenient Conduit module.")
9386 (license license:expat)))
9387
9388 (define-public ghc-aws
9389 (package
9390 (name "ghc-aws")
9391 (version "0.18")
9392 (source
9393 (origin
9394 (method url-fetch)
9395 (uri (string-append "https://hackage.haskell.org/package/"
9396 "aws-" version "/aws-" version ".tar.gz"))
9397 (sha256 (base32
9398 "0h7473wkvc5xjzx5fd5k5fp70rjq5gqmn1cpy95mswvvfsq3irxj"))))
9399 (build-system haskell-build-system)
9400 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
9401 (inputs
9402 `(("ghc-aeson" ,ghc-aeson)
9403 ("ghc-attoparsec" ,ghc-attoparsec)
9404 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
9405 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9406 ("ghc-blaze-builder" ,ghc-blaze-builder)
9407 ("ghc-byteable" ,ghc-byteable)
9408 ("ghc-case-insensitive" ,ghc-case-insensitive)
9409 ("ghc-cereal" ,ghc-cereal)
9410 ("ghc-conduit" ,ghc-conduit)
9411 ("ghc-conduit-extra" ,ghc-conduit-extra)
9412 ("ghc-cryptonite" ,ghc-cryptonite)
9413 ("ghc-data-default" ,ghc-data-default)
9414 ("ghc-http-conduit" ,ghc-http-conduit)
9415 ("ghc-http-types" ,ghc-http-types)
9416 ("ghc-monad-control" ,ghc-monad-control)
9417 ("ghc-network" ,ghc-network)
9418 ("ghc-old-locale" ,ghc-old-locale)
9419 ("ghc-safe" ,ghc-safe)
9420 ("ghc-scientific" ,ghc-scientific)
9421 ("ghc-tagged" ,ghc-tagged)
9422 ("ghc-text" ,ghc-text)
9423 ("ghc-unordered-containers" ,ghc-unordered-containers)
9424 ("ghc-utf8-string" ,ghc-utf8-string)
9425 ("ghc-vector" ,ghc-vector)
9426 ("ghc-xml-conduit" ,ghc-xml-conduit)))
9427 (native-inputs
9428 `(("ghc-quickcheck" ,ghc-quickcheck)
9429 ("ghc-errors" ,ghc-errors)
9430 ("ghc-http-client" ,ghc-http-client)
9431 ("ghc-http-client-tls" ,ghc-http-client-tls)
9432 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9433 ("ghc-tasty" ,ghc-tasty)
9434 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9435 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9436 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
9437 (home-page "https://github.com/aristidb/aws")
9438 (synopsis "Amazon Web Services for Haskell")
9439 (description "This package attempts to provide support for using
9440 Amazon Web Services like S3 (storage), SQS (queuing) and others to
9441 Haskell programmers. The ultimate goal is to support all Amazon
9442 Web Services.")
9443 (license license:bsd-3)))
9444
9445 (define-public ghc-basement
9446 (package
9447 (name "ghc-basement")
9448 (version "0.0.8")
9449 (source
9450 (origin
9451 (method url-fetch)
9452 (uri (string-append "https://hackage.haskell.org/package/"
9453 "basement/basement-" version ".tar.gz"))
9454 (sha256
9455 (base32
9456 "194jw567di4q2758943q9rrwkbf9gl261my7qc21i9xhyabipx67"))))
9457 (build-system haskell-build-system)
9458 (home-page "https://github.com/haskell-foundation/foundation")
9459 (synopsis "Basic primitives for Foundation starter pack")
9460 (description
9461 "This package contains basic primitives for the Foundation set of
9462 packages.")
9463 (license license:bsd-3)))
9464
9465 (define-public ghc-foundation
9466 (package
9467 (name "ghc-foundation")
9468 (version "0.0.21")
9469 (source
9470 (origin
9471 (method url-fetch)
9472 (uri (string-append "https://hackage.haskell.org/package/"
9473 "foundation/foundation-" version ".tar.gz"))
9474 (sha256
9475 (base32
9476 "1q43y8wfj0wf9gdq2kzphwjwq6m5pvryy1lqgk954aq5z3ks1lsf"))))
9477 (build-system haskell-build-system)
9478 (arguments
9479 `(#:phases
9480 (modify-phases %standard-phases
9481 (add-after 'unpack 'add-setup-script
9482 (lambda _
9483 ;; The usual "Setup.hs" script is missing from the source.
9484 (with-output-to-file "Setup.hs"
9485 (lambda ()
9486 (format #t "import Distribution.Simple~%")
9487 (format #t "main = defaultMain~%"))))))))
9488 (inputs `(("ghc-basement" ,ghc-basement)))
9489 (home-page "https://github.com/haskell-foundation/foundation")
9490 (synopsis "Alternative prelude with batteries and no dependencies")
9491 (description
9492 "This package provides a custom prelude with no dependencies apart from
9493 the base package.
9494
9495 Foundation has the following goals:
9496
9497 @enumerate
9498 @item provide a base like sets of modules that provide a consistent set of
9499 features and bugfixes across multiple versions of GHC (unlike base).
9500 @item provide a better and more efficient prelude than base's prelude.
9501 @item be self-sufficient: no external dependencies apart from base;
9502 @item provide better data-types: packed unicode string by default, arrays;
9503 @item Numerical classes that better represent mathematical things (no more
9504 all-in-one @code{Num});
9505 @item I/O system with less lazy IO.
9506 @end enumerate\n")
9507 (license license:bsd-3)))
9508
9509 (define-public ghc-stm-chans
9510 (package
9511 (name "ghc-stm-chans")
9512 (version "3.0.0.4")
9513 (source
9514 (origin
9515 (method url-fetch)
9516 (uri (string-append "https://hackage.haskell.org/package/"
9517 "stm-chans-" version "/"
9518 "stm-chans-" version ".tar.gz"))
9519 (sha256
9520 (base32
9521 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
9522 (build-system haskell-build-system)
9523 (inputs `(("ghc-stm" ,ghc-stm)))
9524 (home-page "https://hackage.haskell.org/package/stm-chans")
9525 (synopsis "Additional types of channels for ghc-stm")
9526 (description "This Haskell package offers a collection of channel types,
9527 similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
9528 features.")
9529 (license license:bsd-3)))
9530
9531 (define-public ghc-monad-loops
9532 (package
9533 (name "ghc-monad-loops")
9534 (version "0.4.3")
9535 (source
9536 (origin
9537 (method url-fetch)
9538 (uri (string-append "https://hackage.haskell.org/package/"
9539 "monad-loops-" version "/"
9540 "monad-loops-" version ".tar.gz"))
9541 (sha256
9542 (base32
9543 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
9544 (build-system haskell-build-system)
9545 (native-inputs `(("ghc-tasty" ,ghc-tasty)
9546 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9547 (home-page "https://github.com/mokus0/monad-loops")
9548 (synopsis "Monadic loops for Haskell")
9549 (description "This Haskell package provides some useful control
9550 operators for looping.")
9551 (license license:public-domain)))
9552
9553 (define-public ghc-monad-logger
9554 (package
9555 (name "ghc-monad-logger")
9556 (version "0.3.25.1")
9557 (source
9558 (origin
9559 (method url-fetch)
9560 (uri (string-append "https://hackage.haskell.org/package/"
9561 "monad-logger-" version "/"
9562 "monad-logger-" version ".tar.gz"))
9563 (sha256
9564 (base32
9565 "0yv4fsi566zrn30j2g5l901lyqgmflhvzy4hji7ikcbh5d45m920"))))
9566 (build-system haskell-build-system)
9567 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
9568 ("ghc-text" ,ghc-text)
9569 ("ghc-stm" ,ghc-stm)
9570 ("ghc-stm-chans" ,ghc-stm-chans)
9571 ("ghc-lifted-base" ,ghc-lifted-base)
9572 ("ghc-resourcet" ,ghc-resourcet)
9573 ("ghc-conduit" ,ghc-conduit)
9574 ("ghc-conduit-extra" ,ghc-conduit-extra)
9575 ("ghc-fast-logger" ,ghc-fast-logger)
9576 ("ghc-transformers-base" ,ghc-transformers-base)
9577 ("ghc-monad-control" ,ghc-monad-control)
9578 ("ghc-monad-loops" ,ghc-monad-loops)
9579 ("ghc-blaze-builder" ,ghc-blaze-builder)
9580 ("ghc-exceptions" ,ghc-exceptions)))
9581 (home-page "https://github.com/kazu-yamamoto/logger")
9582 (synopsis "Provides a class of monads which can log messages for Haskell")
9583 (description "This Haskell package uses a monad transformer approach
9584 for logging.
9585
9586 This package provides Template Haskell functions for determining source
9587 code locations of messages.")
9588 (license license:expat)))
9589
9590 (define-public ghc-shakespeare
9591 (package
9592 (name "ghc-shakespeare")
9593 (version "2.0.14")
9594 (source
9595 (origin
9596 (method url-fetch)
9597 (uri (string-append "https://hackage.haskell.org/package/"
9598 "shakespeare-" version "/"
9599 "shakespeare-" version ".tar.gz"))
9600 (sha256
9601 (base32
9602 "0j5zx8ka7d7scvb9shm7k3376qzl3k4kpim9aqqfs6n86901zpl4"))))
9603 (build-system haskell-build-system)
9604 (inputs `(("ghc-parsec" ,ghc-parsec)
9605 ("ghc-text" ,ghc-text)
9606 ("ghc-aeson" ,ghc-aeson)
9607 ("ghc-blaze-markup" ,ghc-blaze-markup)
9608 ("ghc-blaze-html" ,ghc-blaze-html)
9609 ("ghc-exceptions" ,ghc-exceptions)
9610 ("ghc-vector" ,ghc-vector)
9611 ("ghc-unordered-containers" ,ghc-unordered-containers)
9612 ("ghc-scientific" ,ghc-scientific)))
9613 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9614 ("ghc-hunit" ,ghc-hunit)
9615 ("hspec-discover" ,hspec-discover)))
9616 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
9617 (synopsis "Family of type-safe template languages for Haskell")
9618 (description "This Haskell package provides a family of type-safe
9619 templates with simple variable interpolation. Shakespeare templates can
9620 be used inline with a quasi-quoter or in an external file and it
9621 interpolates variables according to the type being inserted.")
9622 (license license:expat)))
9623
9624 (define-public ghc-securemem
9625 (package
9626 (name "ghc-securemem")
9627 (version "0.1.10")
9628 (source
9629 (origin
9630 (method url-fetch)
9631 (uri (string-append "https://hackage.haskell.org/package/"
9632 "securemem-" version "/"
9633 "securemem-" version ".tar.gz"))
9634 (sha256
9635 (base32
9636 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
9637 (build-system haskell-build-system)
9638 (inputs `(("ghc-byteable" ,ghc-byteable)
9639 ("ghc-memory" ,ghc-memory)))
9640 (home-page "https://github.com/vincenthz/hs-securemem")
9641 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
9642 Haskell")
9643 (description "SecureMem is similar to ByteString, except that it provides
9644 a memory chunk that will be auto-scrubbed after it run out of scope.")
9645 (license license:bsd-3)))
9646
9647 (define-public ghc-resource-pool
9648 (package
9649 (name "ghc-resource-pool")
9650 (version "0.2.3.2")
9651 (source
9652 (origin
9653 (method url-fetch)
9654 (uri (string-append "https://hackage.haskell.org/package/"
9655 "resource-pool-" version "/"
9656 "resource-pool-" version ".tar.gz"))
9657 (sha256
9658 (base32
9659 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
9660 (build-system haskell-build-system)
9661 (inputs `(("ghc-hashable" ,ghc-hashable)
9662 ("ghc-monad-control" ,ghc-monad-control)
9663 ("ghc-transformers-base" ,ghc-transformers-base)
9664 ("ghc-stm" ,ghc-stm)
9665 ("ghc-vector" ,ghc-vector)))
9666 (home-page "https://github.com/bos/pool")
9667 (synopsis "Striped resource pooling implementation in Haskell")
9668 (description "This Haskell package provides striped pooling abstraction
9669 for managing flexibly-sized collections of resources such as database
9670 connections.")
9671 (license license:bsd-3)))
9672
9673 (define-public ghc-attoparsec-iso8601
9674 (package
9675 (name "ghc-attoparsec-iso8601")
9676 (version "1.0.0.0")
9677 (source
9678 (origin
9679 (method url-fetch)
9680 (uri (string-append "https://hackage.haskell.org/package/"
9681 "attoparsec-iso8601-" version "/"
9682 "attoparsec-iso8601-" version ".tar.gz"))
9683 (sha256
9684 (base32
9685 "12l55b76bhya9q89mfmqmy6sl5v39b6gzrw5rf3f70vkb23nsv5a"))))
9686 (build-system haskell-build-system)
9687 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9688 ("ghc-base-compat" ,ghc-base-compat)
9689 ("ghc-text" ,ghc-text)))
9690 (home-page "https://github.com/bos/aeson")
9691 (synopsis "Parse ISO 8601 dates")
9692 (description "Haskell library for parsing of ISO 8601 dates, originally
9693 from aeson.")
9694 (license license:bsd-3)))
9695
9696 (define-public ghc-generics-sop
9697 (package
9698 (name "ghc-generics-sop")
9699 (version "0.3.2.0")
9700 (source
9701 (origin
9702 (method url-fetch)
9703 (uri (string-append "https://hackage.haskell.org/package/"
9704 "generics-sop-" version "/"
9705 "generics-sop-" version ".tar.gz"))
9706 (sha256
9707 (base32
9708 "168v62i845jh9jbfaz3ldz8svz4wmzq9mf2vhb7pxlnbkk8fqq1h"))))
9709 (build-system haskell-build-system)
9710 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)))
9711 (home-page "https://github.com/well-typed/generics-sop")
9712 (synopsis "Generic Programming using True Sums of Products for Haskell")
9713 (description "This Haskell package supports the definition of generic
9714 functions. Datatypes are viewed in a uniform, structured way: the choice
9715 between constructors is represented using an n-ary sum, and the arguments of
9716 each constructor are represented using an n-ary product.")
9717 (license license:bsd-3)))
9718
9719 (define-public ghc-uri-bytestring
9720 (package
9721 (name "ghc-uri-bytestring")
9722 (version "0.3.1.0")
9723 (source
9724 (origin
9725 (method url-fetch)
9726 (uri (string-append "https://hackage.haskell.org/package/"
9727 "uri-bytestring-" version "/"
9728 "uri-bytestring-" version ".tar.gz"))
9729 (sha256
9730 (base32
9731 "04qjv1sgyrdg538290p9hqnvyxnahvr5cjwl8vm1rn9j0fv3ymq9"))))
9732 (build-system haskell-build-system)
9733 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9734 ("ghc-fail" ,ghc-fail)
9735 ("ghc-blaze-builder" ,ghc-blaze-builder)
9736 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
9737 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9738 ("ghc-hunit" ,ghc-hunit)
9739 ("ghc-quickcheck" ,ghc-quickcheck)
9740 ("ghc-tasty" ,ghc-tasty)
9741 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9742 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9743 ("ghc-base-compat" ,ghc-base-compat)
9744 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9745 ("ghc-semigroups" ,ghc-semigroups)
9746 ("ghc-generics-sop" ,ghc-generics-sop)))
9747 (home-page "https://github.com/Soostone/uri-bytestring")
9748 (synopsis "Haskell URI parsing as ByteStrings")
9749 (description "This Haskell package aims to be an RFC3986 compliant URI
9750 parser that uses ByteStrings for parsing and representing the URI data.")
9751 (license license:bsd-3)))
9752
9753 (define-public ghc-http-api-data
9754 (package
9755 (name "ghc-http-api-data")
9756 (version "0.3.7.1")
9757 (source
9758 (origin
9759 (method url-fetch)
9760 (uri (string-append "https://hackage.haskell.org/package/"
9761 "http-api-data-" version "/"
9762 "http-api-data-" version ".tar.gz"))
9763 (sha256
9764 (base32
9765 "1zbmf0kkfsw7pfznisi205gh7jd284gfarxsyiavd2iw26akwqwc"))))
9766 (build-system haskell-build-system)
9767 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.9
9768 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
9769 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
9770 ("ghc-hashable" ,ghc-hashable)
9771 ("ghc-http-types" ,ghc-http-types)
9772 ("ghc-text" ,ghc-text)
9773 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9774 ("ghc-unordered-containers" ,ghc-unordered-containers)
9775 ("ghc-uri-bytestring" ,ghc-uri-bytestring)
9776 ("ghc-uuid-types" ,ghc-uuid-types)))
9777 (home-page "https://github.com/fizruk/http-api-data")
9778 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
9779 query parameters")
9780 (description "This Haskell package defines typeclasses used for converting
9781 Haskell data types to and from HTTP API data.")
9782 (license license:bsd-3)))
9783
9784 (define-public ghc-persistent
9785 (package
9786 (name "ghc-persistent")
9787 (version "2.7.3.1")
9788 (source
9789 (origin
9790 (method url-fetch)
9791 (uri (string-append "https://hackage.haskell.org/package/"
9792 "persistent-" version "/"
9793 "persistent-" version ".tar.gz"))
9794 (sha256
9795 (base32
9796 "1jbvavdvr9qz5ld7vf6l1jgiadhmxx6zc4vqsdk9ivfq6d5wlg1p"))))
9797 (build-system haskell-build-system)
9798 (inputs `(("ghc-old-locale" ,ghc-old-locale)
9799 ("ghc-text" ,ghc-text)
9800 ("ghc-conduit" ,ghc-conduit)
9801 ("ghc-resourcet" ,ghc-resourcet)
9802 ("ghc-exceptions" ,ghc-exceptions)
9803 ("ghc-monad-control" ,ghc-monad-control)
9804 ("ghc-lifted-base" ,ghc-lifted-base)
9805 ("ghc-resource-pool" ,ghc-resource-pool)
9806 ("ghc-path-pieces" ,ghc-path-pieces)
9807 ("ghc-http-api-data" ,ghc-http-api-data)
9808 ("ghc-aeson" ,ghc-aeson)
9809 ("ghc-monad-logger" ,ghc-monad-logger)
9810 ("ghc-transformers-base" ,ghc-transformers-base)
9811 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9812 ("ghc-unordered-containers" ,ghc-unordered-containers)
9813 ("ghc-vector" ,ghc-vector)
9814 ("ghc-attoparsec" ,ghc-attoparsec)
9815 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)
9816 ("ghc-blaze-html" ,ghc-blaze-html)
9817 ("ghc-blaze-markup" ,ghc-blaze-markup)
9818 ("ghc-silently" ,ghc-silently)
9819 ("ghc-fast-logger" ,ghc-fast-logger)
9820 ("ghc-scientific" ,ghc-scientific)
9821 ("ghc-tagged" ,ghc-tagged)))
9822 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9823 (home-page "https://www.yesodweb.com/book/persistent")
9824 (synopsis "Type-safe, multi-backend data serialization for Haskell")
9825 (description "This Haskell package allows Haskell programs to access data
9826 storage sytems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
9827 way.")
9828 (license license:expat)))
9829
9830 (define-public ghc-aeson-compat
9831 (package
9832 (name "ghc-aeson-compat")
9833 (version "0.3.7.1")
9834 (source
9835 (origin
9836 (method url-fetch)
9837 (uri (string-append "https://hackage.haskell.org/package/"
9838 "aeson-compat-" version "/"
9839 "aeson-compat-" version ".tar.gz"))
9840 (sha256
9841 (base32
9842 "1jya3lm9imclhb8qqihv39hhb62vvs3qpws7pc5fc23vwg0hsx2r"))))
9843 (build-system haskell-build-system)
9844 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
9845 (inputs `(("ghc-base-compat" ,ghc-base-compat)
9846 ("ghc-aeson" ,ghc-aeson)
9847 ("ghc-attoparsec" ,ghc-attoparsec)
9848 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
9849 ("ghc-exceptions" ,ghc-exceptions)
9850 ("ghc-hashable" ,ghc-hashable)
9851 ("ghc-scientific" ,ghc-scientific)
9852 ("ghc-text" ,ghc-text)
9853 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9854 ("ghc-unordered-containers" ,ghc-unordered-containers)
9855 ("ghc-vector" ,ghc-vector)
9856 ("ghc-tagged" ,ghc-tagged)
9857 ("ghc-semigroups" ,ghc-semigroups)
9858 ("ghc-nats" ,ghc-nats)))
9859 (home-page "https://github.com/phadej/aeson-compat")
9860 (synopsis "Compatibility layer for ghc-aeson")
9861 (description "This Haskell package provides compatibility layer for
9862 ghc-aeson.")
9863 (license license:bsd-3)))
9864
9865 (define-public ghc-persistent-template
9866 (package
9867 (name "ghc-persistent-template")
9868 (version "2.5.3.1")
9869 (source
9870 (origin
9871 (method url-fetch)
9872 (uri (string-append "https://hackage.haskell.org/package/"
9873 "persistent-template-" version "/"
9874 "persistent-template-" version ".tar.gz"))
9875 (sha256
9876 (base32
9877 "0449piw3n02q7dag7k1pakfmzmf3ms4wk1qmnagczpm1ckajinwd"))))
9878 (build-system haskell-build-system)
9879 (inputs `(("ghc-persistent" ,ghc-persistent)
9880 ("ghc-monad-control" ,ghc-monad-control)
9881 ("ghc-text" ,ghc-text)
9882 ("ghc-aeson" ,ghc-aeson)
9883 ("ghc-aeson-compat" ,ghc-aeson-compat)
9884 ("ghc-monad-logger" ,ghc-monad-logger)
9885 ("ghc-unordered-containers" ,ghc-unordered-containers)
9886 ("ghc-tagged" ,ghc-tagged)
9887 ("ghc-path-pieces" ,ghc-path-pieces)
9888 ("ghc-http-api-data" ,ghc-http-api-data)))
9889 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9890 ("ghc-quickcheck" ,ghc-quickcheck)))
9891 (home-page "https://www.yesodweb.com/book/persistent")
9892 (synopsis "Type-safe, non-relational, multi-backend persistence")
9893 (description "This Haskell package provides interfaces and helper
9894 functions for the ghc-persistent package.")
9895 (license license:expat)))
9896
9897 (define-public ghc-unliftio-core
9898 (package
9899 (name "ghc-unliftio-core")
9900 (version "0.1.1.0")
9901 (source
9902 (origin
9903 (method url-fetch)
9904 (uri (string-append "https://hackage.haskell.org/package/"
9905 "unliftio-core-" version "/"
9906 "unliftio-core-" version ".tar.gz"))
9907 (sha256
9908 (base32
9909 "1193fplsjm1lcr05xwvkj1rsyzx74i755f6kw3ikmxbsv0bv0l3m"))))
9910 (build-system haskell-build-system)
9911 (arguments
9912 `(#:cabal-revision
9913 ("1" "16bjwcsaghqqmyi69rq65dn3ydifyfaabq3ns37apdm00mwqbcj2")))
9914 (home-page
9915 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
9916 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
9917 (description "This Haskell package provides the core @code{MonadUnliftIO}
9918 typeclass, instances for base and transformers, and basic utility
9919 functions.")
9920 (license license:expat)))
9921
9922 (define-public ghc-microlens
9923 (package
9924 (name "ghc-microlens")
9925 (version "0.4.9.1")
9926 (source
9927 (origin
9928 (method url-fetch)
9929 (uri (string-append "https://hackage.haskell.org/package/"
9930 "microlens-" version "/"
9931 "microlens-" version ".tar.gz"))
9932 (sha256
9933 (base32
9934 "0j2nzf0vpx2anvsrg2w0vy2z4jn3kkcs2n6glkzblhn1j9piqh51"))))
9935 (build-system haskell-build-system)
9936 (home-page
9937 "https://github.com/aelve/microlens")
9938 (synopsis "Provides a tiny lens Haskell library with no dependencies")
9939 (description "This Haskell package provides a lens library, just like
9940 @code{ghc-lens}, but smaller. It provides essential lenses and
9941 traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
9942 nice to have (like @code{each}, @code{at}, and @code{ix}), and some
9943 combinators (like @code{failing} and @code{singular}), but everything else is
9944 stripped. As the result, this package has no dependencies.")
9945 (license license:bsd-3)))
9946
9947 (define-public ghc-microlens-th
9948 (package
9949 (name "ghc-microlens-th")
9950 (version "0.4.2.2")
9951 (source
9952 (origin
9953 (method url-fetch)
9954 (uri (string-append "https://hackage.haskell.org/package/"
9955 "microlens-th-" version "/"
9956 "microlens-th-" version ".tar.gz"))
9957 (sha256
9958 (base32
9959 "02nj7lnl61yffi3c6wn341arxhld5r0vj6nzcb5zmqjhnqsv8c05"))))
9960 (build-system haskell-build-system)
9961 (inputs `(("ghc-microlens" ,ghc-microlens)
9962 ("ghc-th-abstraction" ,ghc-th-abstraction)))
9963 (home-page
9964 "https://github.com/aelve/microlens")
9965 (synopsis "Automatic generation of record lenses for
9966 @code{ghc-microlens}")
9967 (description "This Haskell package lets you automatically generate lenses
9968 for data types; code was extracted from the lens package, and therefore
9969 generated lenses are fully compatible with ones generated by lens (and can be
9970 used both from lens and microlens).")
9971 (license license:bsd-3)))
9972
9973 (define-public ghc-unliftio
9974 (package
9975 (name "ghc-unliftio")
9976 (version "0.2.7.0")
9977 (source
9978 (origin
9979 (method url-fetch)
9980 (uri (string-append
9981 "https://hackage.haskell.org/package/unliftio/unliftio-"
9982 version
9983 ".tar.gz"))
9984 (sha256
9985 (base32
9986 "0qql93lq5w7qghl454cc3s1i8v1jb4h08n82fqkw0kli4g3g9njs"))))
9987 (build-system haskell-build-system)
9988 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
9989 (inputs
9990 `(("ghc-async" ,ghc-async)
9991 ("ghc-stm" ,ghc-stm)
9992 ("ghc-unliftio-core" ,ghc-unliftio-core)))
9993 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9994 (home-page "https://github.com/fpco/unliftio")
9995 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
9996 IO (batteries included)")
9997 (description "This Haskell package provides the core @code{MonadUnliftIO}
9998 typeclass, a number of common instances, and a collection of common functions
9999 working with it.")
10000 (license license:expat)))
10001
10002 (define-public ghc-persistent-sqlite
10003 (package
10004 (name "ghc-persistent-sqlite")
10005 (version "2.6.4")
10006 (source
10007 (origin
10008 (method url-fetch)
10009 (uri (string-append "https://hackage.haskell.org/package/"
10010 "persistent-sqlite-" version "/"
10011 "persistent-sqlite-" version ".tar.gz"))
10012 (sha256
10013 (base32
10014 "16mc2ra0hbyyc8ckjlxxc11bpskdymbr8c3g6ih6wzik639xprbm"))))
10015 (build-system haskell-build-system)
10016 (inputs `(("ghc-persistent" ,ghc-persistent)
10017 ("ghc-unliftio-core" ,ghc-unliftio-core)
10018 ("ghc-aeson" ,ghc-aeson)
10019 ("ghc-conduit" ,ghc-conduit)
10020 ("ghc-monad-logger" ,ghc-monad-logger)
10021 ("ghc-microlens-th" ,ghc-microlens-th)
10022 ("ghc-resourcet" ,ghc-resourcet)
10023 ("ghc-old-locale" ,ghc-old-locale)
10024 ("ghc-resource-pool" ,ghc-resource-pool)
10025 ("ghc-unordered-containers" ,ghc-unordered-containers)))
10026 (native-inputs `(("ghc-hspec" ,ghc-hspec)
10027 ("ghc-persistent-template" ,ghc-persistent-template)
10028 ("ghc-temporary" ,ghc-temporary)
10029 ("ghc-text" ,ghc-text)))
10030 (home-page
10031 "https://www.yesodweb.com/book/persistent")
10032 (synopsis "Backend for the persistent library using sqlite3")
10033 (description "This Haskell package includes a thin sqlite3 wrapper based
10034 on the direct-sqlite package, as well as the entire C library, so there are no
10035 system dependencies.")
10036 (license license:expat)))
10037
10038 (define-public ghc-email-validate
10039 (package
10040 (name "ghc-email-validate")
10041 (version "2.3.2.1")
10042 (source
10043 (origin
10044 (method url-fetch)
10045 (uri (string-append
10046 "https://hackage.haskell.org/package/"
10047 "email-validate/email-validate-"
10048 version
10049 ".tar.gz"))
10050 (sha256
10051 (base32
10052 "0qvxysiap3r4mi3xff5nsk9qv6diqxfgwj186bypbamzvzlz0lav"))))
10053 (build-system haskell-build-system)
10054 (inputs
10055 `(("ghc-attoparsec" ,ghc-attoparsec)
10056 ("ghc-hspec" ,ghc-hspec)
10057 ("ghc-quickcheck" ,ghc-quickcheck)
10058 ("ghc-doctest" ,ghc-doctest)))
10059 (home-page
10060 "https://github.com/Porges/email-validate-hs")
10061 (synopsis "Email address validator for Haskell")
10062 (description
10063 "This Haskell package provides a validator that can validate an email
10064 address string against RFC 5322.")
10065 (license license:bsd-3)))
10066
10067 (define-public ghc-semigroupoids-5.2.2
10068 (package
10069 (inherit ghc-semigroupoids)
10070 (name "ghc-semigroupoids")
10071 (version "5.2.2")
10072 (source (origin
10073 (method url-fetch)
10074 (uri (string-append "https://hackage.haskell.org/package/"
10075 "semigroupoids-" version "/semigroupoids-"
10076 version ".tar.gz"))
10077 (sha256
10078 (base32
10079 "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4"))))
10080 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
10081 ,@(package-inputs ghc-semigroupoids)))))
10082
10083 (define-public ghc-bytes
10084 (package
10085 (name "ghc-bytes")
10086 (version "0.15.4")
10087 (source
10088 (origin
10089 (method url-fetch)
10090 (uri
10091 (string-append "https://hackage.haskell.org/package/bytes-"
10092 version "/bytes-"
10093 version ".tar.gz"))
10094 (file-name (string-append name "-" version ".tar.gz"))
10095 (sha256
10096 (base32
10097 "121x3iqlm8pghw8cd9g30cnqbl7jrdpfjxdanmqdqllajw6xivrm"))))
10098 (build-system haskell-build-system)
10099 (inputs `(("ghc-cereal" ,ghc-cereal)
10100 ("cabal-doctest" ,cabal-doctest)
10101 ("ghc-doctest" ,ghc-doctest-0.13)
10102 ("ghc-scientific" ,ghc-scientific)
10103 ("ghc-text" ,ghc-text)
10104 ("ghc-transformers-compat" ,ghc-transformers-compat)
10105 ("ghc-unordered-containers" ,ghc-unordered-containers)
10106 ("ghc-void" ,ghc-void)
10107 ("ghc-vector" ,ghc-vector)))
10108 (synopsis "Serialization between @code{binary} and @code{cereal}")
10109 (description "This package provides a simple compatibility shim that lets
10110 you work with both @code{binary} and @code{cereal} with one chunk of
10111 serialization code.")
10112 (home-page "https://hackage.haskell.org/package/bytes")
10113 (license license:bsd-3)))
10114
10115 (define-public ghc-disk-free-space
10116 (package
10117 (name "ghc-disk-free-space")
10118 (version "0.1.0.1")
10119 (source
10120 (origin
10121 (method url-fetch)
10122 (uri (string-append "https://hackage.haskell.org/package/"
10123 "disk-free-space/disk-free-space-"
10124 version ".tar.gz"))
10125 (sha256
10126 (base32
10127 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
10128 (build-system haskell-build-system)
10129 (home-page "https://github.com/redneb/disk-free-space")
10130 (synopsis "Retrieve information about disk space usage")
10131 (description "A cross-platform library for retrieving information about
10132 disk space usage.")
10133 (license license:bsd-3)))
10134
10135 (define-public ghc-xdg-basedir
10136 (package
10137 (name "ghc-xdg-basedir")
10138 (version "0.2.2")
10139 (source
10140 (origin
10141 (method url-fetch)
10142 (uri (string-append
10143 "https://hackage.haskell.org/package/xdg-basedir/"
10144 "xdg-basedir-" version ".tar.gz"))
10145 (sha256
10146 (base32
10147 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
10148 (build-system haskell-build-system)
10149 (home-page "http://github.com/willdonnelly/xdg-basedir")
10150 (synopsis "XDG Base Directory library for Haskell")
10151 (description "This package provides a library implementing the XDG Base Directory spec.")
10152 (license license:bsd-3)))
10153
10154 (define-public ghc-errorcall-eq-instance
10155 (package
10156 (name "ghc-errorcall-eq-instance")
10157 (version "0.3.0")
10158 (source
10159 (origin
10160 (method url-fetch)
10161 (uri (string-append "https://hackage.haskell.org/package/"
10162 "errorcall-eq-instance/errorcall-eq-instance-"
10163 version ".tar.gz"))
10164 (sha256
10165 (base32
10166 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
10167 (build-system haskell-build-system)
10168 (inputs
10169 `(("ghc-base-orphans" ,ghc-base-orphans)))
10170 (native-inputs
10171 `(("ghc-quickcheck" ,ghc-quickcheck)
10172 ("ghc-hspec" ,ghc-hspec)
10173 ("hspec-discover" ,hspec-discover)))
10174 (home-page "http://hackage.haskell.org/package/errorcall-eq-instance")
10175 (synopsis "Orphan Eq instance for ErrorCall")
10176 (description
10177 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
10178 This package provides an orphan instance.")
10179 (license license:expat)))
10180
10181 (define-public ghc-missingh
10182 (package
10183 (name "ghc-missingh")
10184 (version "1.4.0.1")
10185 (source
10186 (origin
10187 (method url-fetch)
10188 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
10189 "MissingH-" version ".tar.gz"))
10190 (sha256
10191 (base32
10192 "0wcvgrmav480w7nf4bl14yi0jq2yzanysxwzwas9hpb28vyjlgr8"))))
10193 (build-system haskell-build-system)
10194 ;; Tests require the unmaintained testpack package, which depends on the
10195 ;; outdated QuickCheck version 2.7, which can no longer be built with
10196 ;; recent versions of GHC and Haskell libraries.
10197 (arguments '(#:tests? #f))
10198 (inputs
10199 `(("ghc-network" ,ghc-network)
10200 ("ghc-parsec" ,ghc-parsec)
10201 ("ghc-hunit" ,ghc-hunit)
10202 ("ghc-regex-compat" ,ghc-regex-compat)
10203 ("ghc-hslogger" ,ghc-hslogger)
10204 ("ghc-random" ,ghc-random)
10205 ("ghc-old-time" ,ghc-old-time)
10206 ("ghc-old-locale" ,ghc-old-locale)))
10207 (native-inputs
10208 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
10209 ("ghc-quickcheck" ,ghc-quickcheck)
10210 ("ghc-hunit" ,ghc-hunit)))
10211 (home-page "http://software.complete.org/missingh")
10212 (synopsis "Large utility library")
10213 (description
10214 "MissingH is a library of all sorts of utility functions for Haskell
10215 programmers. It is written in pure Haskell and thus should be extremely
10216 portable and easy to use.")
10217 (license license:bsd-3)))
10218
10219 (define-public ghc-intervalmap
10220 (package
10221 (name "ghc-intervalmap")
10222 (version "0.6.0.0")
10223 (source
10224 (origin
10225 (method url-fetch)
10226 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
10227 "IntervalMap-" version ".tar.gz"))
10228 (sha256
10229 (base32
10230 "06hin9wf1by8aqa7820fsi2339bh82184frkwz3jsb9sqa0hszcg"))))
10231 (build-system haskell-build-system)
10232 (native-inputs
10233 `(("ghc-quickcheck" ,ghc-quickcheck)))
10234 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
10235 (synopsis "Containers for intervals, with efficient search")
10236 (description
10237 "This package provides ordered containers of intervals, with efficient
10238 search for all keys containing a point or overlapping an interval. See the
10239 example code on the home page for a quick introduction.")
10240 (license license:bsd-3)))
10241
10242 (define-public ghc-operational
10243 (package
10244 (name "ghc-operational")
10245 (version "0.2.3.5")
10246 (source
10247 (origin
10248 (method url-fetch)
10249 (uri (string-append "https://hackage.haskell.org/package/operational/"
10250 "operational-" version ".tar.gz"))
10251 (sha256
10252 (base32
10253 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
10254 (build-system haskell-build-system)
10255 (inputs
10256 `(("ghc-random" ,ghc-random)))
10257 (home-page "http://wiki.haskell.org/Operational")
10258 (synopsis "Implementation of difficult monads made easy with operational semantics")
10259 (description
10260 "This library makes it easy to implement monads with tricky control
10261 flow. This is useful for: writing web applications in a sequential style,
10262 programming games with a uniform interface for human and AI players and easy
10263 replay capababilities, implementing fast parser monads, designing monadic
10264 DSLs, etc.")
10265 (license license:bsd-3)))
10266
10267 (define-public ghc-gtk2hs-buildtools
10268 (package
10269 (name "ghc-gtk2hs-buildtools")
10270 (version "0.13.4.0")
10271 (source
10272 (origin
10273 (method url-fetch)
10274 (uri (string-append "https://hackage.haskell.org/package/"
10275 "gtk2hs-buildtools/gtk2hs-buildtools-"
10276 version ".tar.gz"))
10277 (sha256
10278 (base32
10279 "0yg6xmylgpylmnh5g33qwwn5x9bqckdvvv4czqzd9vrr12lnnghg"))))
10280 (build-system haskell-build-system)
10281 (inputs
10282 `(("ghc-random" ,ghc-random)
10283 ("ghc-hashtables" ,ghc-hashtables)))
10284 (native-inputs
10285 `(("ghc-alex" ,ghc-alex)
10286 ("ghc-happy" ,ghc-happy)))
10287 (home-page "http://projects.haskell.org/gtk2hs/")
10288 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
10289 (description
10290 "This package provides a set of helper programs necessary to build the
10291 Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
10292 that is used to generate FFI declarations, a tool to build a type hierarchy
10293 that mirrors the C type hierarchy of GObjects found in glib, and a generator
10294 for signal declarations that are used to call back from C to Haskell. These
10295 tools are not needed to actually run Gtk2Hs programs.")
10296 (license license:gpl2)))
10297
10298 (define-public ghc-chart
10299 (package
10300 (name "ghc-chart")
10301 (version "1.8.3")
10302 (source
10303 (origin
10304 (method url-fetch)
10305 (uri (string-append "https://hackage.haskell.org/package/Chart/"
10306 "Chart-" version ".tar.gz"))
10307 (sha256
10308 (base32
10309 "13s64fhb2pmkdmx5bkgbgcn25qjihs364fvr47a1dw25f804kiy1"))))
10310 (build-system haskell-build-system)
10311 (inputs
10312 `(("ghc-old-locale" ,ghc-old-locale)
10313 ("ghc-lens" ,ghc-lens)
10314 ("ghc-colour" ,ghc-colour)
10315 ("ghc-data-default-class" ,ghc-data-default-class)
10316 ("ghc-operational" ,ghc-operational)
10317 ("ghc-vector" ,ghc-vector)))
10318 (home-page "https://github.com/timbod7/haskell-chart/wiki")
10319 (synopsis "Library for generating 2D charts and plots")
10320 (description
10321 "This package provides a library for generating 2D charts and plots, with
10322 backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
10323 (license license:bsd-3)))
10324
10325 (define-public ghc-wcwidth
10326 (package
10327 (name "ghc-wcwidth")
10328 (version "0.0.2")
10329 (source
10330 (origin
10331 (method url-fetch)
10332 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
10333 version ".tar.gz"))
10334 (sha256
10335 (base32
10336 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
10337 (build-system haskell-build-system)
10338 (inputs
10339 `(("ghc-setlocale" ,ghc-setlocale)
10340 ("ghc-utf8-string" ,ghc-utf8-string)
10341 ("ghc-attoparsec" ,ghc-attoparsec)))
10342 (home-page "https://github.com/solidsnack/wcwidth/")
10343 (synopsis "Haskell bindings to wcwidth")
10344 (description "This package provides Haskell bindings to your system's
10345 native wcwidth and a command line tool to examine the widths assigned by it.
10346 The command line tool can compile a width table to Haskell code that assigns
10347 widths to the Char type.")
10348 (license license:bsd-3)))
10349
10350 (define-public ghc-wcwidth-bootstrap
10351 (package
10352 (inherit ghc-wcwidth)
10353 (name "ghc-wcwidth-bootstrap")
10354 (inputs
10355 `(("ghc-setlocale" ,ghc-setlocale)
10356 ("ghc-utf8-string" ,ghc-utf8-string)
10357 ("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
10358 (properties '(hidden? #t))))
10359
10360 ;;; haskell.scm ends here