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