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