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