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