gnu: cups-filters: Update to 1.11.5.
[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 Ludovic Courtès <ludo@gnu.org>
7 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
8 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
9 ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
10 ;;;
11 ;;; This file is part of GNU Guix.
12 ;;;
13 ;;; GNU Guix is free software; you can redistribute it and/or modify it
14 ;;; under the terms of the GNU General Public License as published by
15 ;;; the Free Software Foundation; either version 3 of the License, or (at
16 ;;; your option) any later version.
17 ;;;
18 ;;; GNU Guix is distributed in the hope that it will be useful, but
19 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;;; GNU General Public License for more details.
22 ;;;
23 ;;; You should have received a copy of the GNU General Public License
24 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
25
26 (define-module (gnu packages haskell)
27 #:use-module (ice-9 regex)
28 #:use-module ((guix licenses) #:prefix license:)
29 #:use-module (guix packages)
30 #:use-module (guix download)
31 #:use-module (guix utils)
32 #:use-module (guix build-system gnu)
33 #:use-module (guix build-system haskell)
34 #:use-module (gnu packages pkg-config)
35 #:use-module (gnu packages perl)
36 #:use-module (gnu packages compression)
37 #:use-module (gnu packages elf)
38 #:use-module (gnu packages gl)
39 #:use-module (gnu packages sdl)
40 #:use-module (gnu packages bootstrap)
41 #:use-module (gnu packages zip)
42 #:use-module (gnu packages gcc)
43 #:use-module (gnu packages ghostscript)
44 #:use-module (gnu packages libffi)
45 #:use-module (gnu packages libedit)
46 #:use-module (gnu packages lua)
47 #:use-module (gnu packages maths)
48 #:use-module (gnu packages multiprecision)
49 #:use-module (gnu packages ncurses)
50 #:use-module (gnu packages python)
51 #:use-module (gnu packages pcre)
52 #:use-module (gnu packages xml)
53 #:use-module (gnu packages xorg))
54
55 (define ghc-bootstrap-x86_64-7.8.4
56 (origin
57 (method url-fetch)
58 (uri
59 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.xz")
60 (sha256
61 (base32
62 "13azsl53xgj20mi1hj9x0xb32vvcvs6cpmvwx6znxhas7blh0bpn"))))
63
64 (define ghc-bootstrap-i686-7.8.4
65 (origin
66 (method url-fetch)
67 (uri
68 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.xz")
69 (sha256
70 (base32
71 "0wj5s435j0zgww70bj1d3f6wvnnpzlxwvwcyh2qv4qjq5z8j64kg"))))
72
73 ;; 43 tests out of 3965 fail.
74 ;;
75 ;; Most of them do not appear to be serious:
76 ;;
77 ;; - some tests generate files referring to "/bin/sh" and "/bin/ls". I've not
78 ;; figured out how these references are generated.
79 ;;
80 ;; - Some tests allocate more memory than expected (ca. 3% above upper limit)
81 ;;
82 ;; - Some tests try to load unavailable libriries: Control.Concurrent.STM,
83 ;; Data.Vector, Control.Monad.State.
84 ;;
85 ;; - Test posix010 tries to check the existence of a user on the system:
86 ;; getUserEntryForName: does not exist (no such user)
87 (define-public ghc
88 (package
89 (name "ghc")
90 (version "7.10.2")
91 (source
92 (origin
93 (method url-fetch)
94 (uri (string-append "https://www.haskell.org/ghc/dist/"
95 version "/" name "-" version "-src.tar.xz"))
96 (sha256
97 (base32
98 "1x8m4rp2v7ydnrz6z9g8x7z3x3d3pxhv2pixy7i7hkbqbdsp7kal"))))
99 (build-system gnu-build-system)
100 (supported-systems '("i686-linux" "x86_64-linux"))
101 (outputs '("out" "doc"))
102 (inputs
103 `(("gmp" ,gmp)
104 ("ncurses" ,ncurses)
105 ("libffi" ,libffi)
106 ("libedit" ,libedit)
107 ("ghc-testsuite"
108 ,(origin
109 (method url-fetch)
110 (uri (string-append
111 "https://www.haskell.org/ghc/dist/"
112 version "/" name "-" version "-testsuite.tar.xz"))
113 (sha256
114 (base32
115 "0qp9da9ar87zbyn6wjgacd2ic1vgzbi3cklxnhsmjqyafv9qaj4b"))))))
116 (native-inputs
117 `(("perl" ,perl)
118 ("python" ,python-2) ; for tests (fails with python-3)
119 ("ghostscript" ,ghostscript) ; for tests
120 ("patchelf" ,patchelf)
121 ;; GHC is built with GHC. Therefore we need bootstrap binaries.
122 ("ghc-binary"
123 ,(if (string-match "x86_64" (or (%current-target-system) (%current-system)))
124 ghc-bootstrap-x86_64-7.8.4
125 ghc-bootstrap-i686-7.8.4))))
126 (arguments
127 `(#:test-target "test"
128 ;; We get a smaller number of test failures by disabling parallel test
129 ;; execution.
130 #:parallel-tests? #f
131
132 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
133 ;; gremlin) doesn't support it yet, so skip this phase.
134 #:validate-runpath? #f
135
136 ;; Don't pass --build=<triplet>, because the configure script
137 ;; auto-detects slightly different triplets for --host and --target and
138 ;; then complains that they don't match.
139 #:build #f
140
141 #:modules ((guix build gnu-build-system)
142 (guix build utils)
143 (guix build rpath)
144 (srfi srfi-26)
145 (srfi srfi-1))
146 #:imported-modules (,@%gnu-build-system-modules
147 (guix build rpath))
148 #:configure-flags
149 (list
150 (string-append "--with-gmp-libraries="
151 (assoc-ref %build-inputs "gmp") "/lib")
152 (string-append "--with-gmp-includes="
153 (assoc-ref %build-inputs "gmp") "/include")
154 "--with-system-libffi"
155 (string-append "--with-ffi-libraries="
156 (assoc-ref %build-inputs "libffi") "/lib")
157 (string-append "--with-ffi-includes="
158 (assoc-ref %build-inputs "libffi") "/include"))
159 ;; FIXME: The user-guide needs dblatex, docbook-xsl and docbook-utils.
160 ;; Currently we do not have the last one.
161 ;; #:make-flags
162 ;; (list "BUILD_DOCBOOK_HTML = YES")
163 #:phases
164 (let* ((ghc-bootstrap-path
165 (string-append (getcwd) "/" ,name "-" ,version "/ghc-bin"))
166 (ghc-bootstrap-prefix
167 (string-append ghc-bootstrap-path "/usr" )))
168 (alist-cons-after
169 'unpack-bin 'unpack-testsuite-and-fix-bins
170 (lambda* (#:key inputs outputs #:allow-other-keys)
171 (with-directory-excursion ".."
172 (copy-file (assoc-ref inputs "ghc-testsuite")
173 "ghc-testsuite.tar.xz")
174 (system* "tar" "xvf" "ghc-testsuite.tar.xz"))
175 (substitute*
176 (list "testsuite/timeout/Makefile"
177 "testsuite/timeout/timeout.py"
178 "testsuite/timeout/timeout.hs"
179 "testsuite/tests/rename/prog006/Setup.lhs"
180 "testsuite/tests/programs/life_space_leak/life.test"
181 "libraries/process/System/Process/Internals.hs"
182 "libraries/unix/cbits/execvpe.c")
183 (("/bin/sh") (which "sh"))
184 (("/bin/rm") "rm"))
185 #t)
186 (alist-cons-after
187 'unpack 'unpack-bin
188 (lambda* (#:key inputs outputs #:allow-other-keys)
189 (mkdir-p ghc-bootstrap-prefix)
190 (with-directory-excursion ghc-bootstrap-path
191 (copy-file (assoc-ref inputs "ghc-binary")
192 "ghc-bin.tar.xz")
193 (zero? (system* "tar" "xvf" "ghc-bin.tar.xz"))))
194 (alist-cons-before
195 'install-bin 'configure-bin
196 (lambda* (#:key inputs outputs #:allow-other-keys)
197 (let* ((binaries
198 (list
199 "./utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"
200 "./utils/hpc/dist-install/build/tmp/hpc"
201 "./utils/haddock/dist/build/tmp/haddock"
202 "./utils/hsc2hs/dist-install/build/tmp/hsc2hs"
203 "./utils/runghc/dist-install/build/tmp/runghc"
204 "./utils/ghc-cabal/dist-install/build/tmp/ghc-cabal"
205 "./utils/hp2ps/dist/build/tmp/hp2ps"
206 "./utils/ghc-pkg/dist-install/build/tmp/ghc-pkg"
207 "./utils/unlit/dist/build/tmp/unlit"
208 "./ghc/stage2/build/tmp/ghc-stage2"))
209 (gmp (assoc-ref inputs "gmp"))
210 (gmp-lib (string-append gmp "/lib"))
211 (gmp-include (string-append gmp "/include"))
212 (ncurses-lib
213 (string-append (assoc-ref inputs "ncurses") "/lib"))
214 (ld-so (string-append (assoc-ref inputs "libc")
215 ,(glibc-dynamic-linker)))
216 (libtinfo-dir
217 (string-append ghc-bootstrap-prefix
218 "/lib/ghc-7.8.4/terminfo-0.4.0.0")))
219 (with-directory-excursion
220 (string-append ghc-bootstrap-path "/ghc-7.8.4")
221 (setenv "CONFIG_SHELL" (which "bash"))
222 (setenv "LD_LIBRARY_PATH" gmp-lib)
223 ;; The binaries have "/lib64/ld-linux-x86-64.so.2" hardcoded.
224 (for-each
225 (cut system* "patchelf" "--set-interpreter" ld-so <>)
226 binaries)
227 ;; The binaries include a reference to libtinfo.so.5 which
228 ;; is a subset of libncurses.so.5. We create a symlink in a
229 ;; directory included in the bootstrap binaries rpath.
230 (mkdir-p libtinfo-dir)
231 (symlink
232 (string-append ncurses-lib "/libncursesw.so."
233 ,(version-major+minor
234 (package-version ncurses)))
235 (string-append libtinfo-dir "/libtinfo.so.5"))
236 (setenv "PATH"
237 (string-append (getenv "PATH") ":"
238 ghc-bootstrap-prefix "/bin"))
239 (system*
240 (string-append (getcwd) "/configure")
241 (string-append "--prefix=" ghc-bootstrap-prefix)
242 (string-append "--with-gmp-libraries=" gmp-lib)
243 (string-append "--with-gmp-includes=" gmp-include)))))
244 (alist-cons-before
245 'configure 'install-bin
246 (lambda* (#:key inputs outputs #:allow-other-keys)
247 (with-directory-excursion
248 (string-append ghc-bootstrap-path "/ghc-7.8.4")
249 (zero? (system* "make" "install"))))
250 %standard-phases)))))))
251 (native-search-paths (list (search-path-specification
252 (variable "GHC_PACKAGE_PATH")
253 (files (list
254 (string-append "lib/ghc-" version)))
255 (file-pattern ".*\\.conf\\.d$")
256 (file-type 'directory))))
257 (home-page "https://www.haskell.org/ghc")
258 (synopsis "The Glasgow Haskell Compiler")
259 (description
260 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
261 interactive environment for the functional language Haskell.")
262 (license license:bsd-3)))
263
264 (define-public ghc-8
265 (package
266 (name "ghc")
267 (version "8.0.1")
268 (source
269 (origin
270 (method url-fetch)
271 (uri (string-append "https://www.haskell.org/ghc/dist/"
272 version "/" name "-" version "-src.tar.xz"))
273 (sha256
274 (base32 "1lniqy29djhjkddnailpaqhlqh4ld2mqvb1fxgxw1qqjhz6j1ywh"))))
275 (build-system gnu-build-system)
276 (supported-systems '("i686-linux" "x86_64-linux"))
277 (outputs '("out" "doc"))
278 (inputs
279 `(("gmp" ,gmp)
280 ("ncurses" ,ncurses)
281 ("libffi" ,libffi)
282 ("libedit" ,libedit)
283 ("ghc-testsuite"
284 ,(origin
285 (method url-fetch)
286 (uri (string-append
287 "https://www.haskell.org/ghc/dist/"
288 version "/" name "-" version "-testsuite.tar.xz"))
289 (sha256
290 (base32 "0lc1vjivkxn01aw3jg2gd7fmqb5pj7a5j987c7pn5r7caqv1cmxw"))))))
291 (native-inputs
292 `(("perl" ,perl)
293 ("python" ,python-2) ; for tests
294 ("ghostscript" ,ghostscript) ; for tests
295 ;; GHC is built with GHC.
296 ("ghc-bootstrap" ,ghc)))
297 (arguments
298 `(#:test-target "test"
299 ;; We get a smaller number of test failures by disabling parallel test
300 ;; execution.
301 #:parallel-tests? #f
302
303 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
304 ;; gremlin) doesn't support it yet, so skip this phase.
305 #:validate-runpath? #f
306
307 ;; Don't pass --build=<triplet>, because the configure script
308 ;; auto-detects slightly different triplets for --host and --target and
309 ;; then complains that they don't match.
310 #:build #f
311
312 #:modules ((guix build gnu-build-system)
313 (guix build utils)
314 (guix build rpath)
315 (srfi srfi-26)
316 (srfi srfi-1))
317 #:imported-modules (,@%gnu-build-system-modules
318 (guix build rpath))
319 #:configure-flags
320 (list
321 (string-append "--with-gmp-libraries="
322 (assoc-ref %build-inputs "gmp") "/lib")
323 (string-append "--with-gmp-includes="
324 (assoc-ref %build-inputs "gmp") "/include")
325 "--with-system-libffi"
326 (string-append "--with-ffi-libraries="
327 (assoc-ref %build-inputs "libffi") "/lib")
328 (string-append "--with-ffi-includes="
329 (assoc-ref %build-inputs "libffi") "/include")
330 (string-append "--with-curses-libraries="
331 (assoc-ref %build-inputs "ncurses") "/lib")
332 (string-append "--with-curses-includes="
333 (assoc-ref %build-inputs "ncurses") "/include"))
334 #:phases
335 (modify-phases %standard-phases
336 (add-after 'unpack 'unpack-testsuite
337 (lambda* (#:key inputs #:allow-other-keys)
338 (with-directory-excursion ".."
339 (copy-file (assoc-ref inputs "ghc-testsuite")
340 "ghc-testsuite.tar.xz")
341 (zero? (system* "tar" "xvf" "ghc-testsuite.tar.xz")))))
342 (add-before 'build 'fix-lib-paths
343 (lambda _
344 (substitute*
345 (list "libraries/process/System/Process/Posix.hs"
346 "libraries/process/tests/process001.hs"
347 "libraries/process/tests/process002.hs"
348 "libraries/unix/cbits/execvpe.c")
349 (("/bin/sh") (which "sh"))
350 (("/bin/ls") (which "ls")))
351 #t))
352 (add-before 'build 'fix-environment
353 (lambda _
354 (unsetenv "GHC_PACKAGE_PATH")
355 (setenv "CONFIG_SHELL" (which "bash"))
356 #t))
357 (add-before 'check 'fix-testsuite
358 (lambda _
359 (substitute*
360 (list "testsuite/timeout/Makefile"
361 "testsuite/timeout/timeout.py"
362 "testsuite/timeout/timeout.hs"
363 "testsuite/tests/programs/life_space_leak/life.test")
364 (("/bin/sh") (which "sh"))
365 (("/bin/rm") "rm"))
366 #t))
367 ;; the testsuite can't find shared libraries.
368 (add-before 'check 'configure-testsuite
369 (lambda* (#:key inputs #:allow-other-keys)
370 (let* ((gmp (assoc-ref inputs "gmp"))
371 (gmp-lib (string-append gmp "/lib"))
372 (ffi (assoc-ref inputs "libffi"))
373 (ffi-lib (string-append ffi "/lib"))
374 (ncurses (assoc-ref inputs "ncurses"))
375 (ncurses-lib (string-append ncurses "/lib")))
376 (setenv "LD_LIBRARY_PATH"
377 (string-append gmp-lib ":" ffi-lib ":" ncurses-lib))
378 #t))))))
379 (native-search-paths (list (search-path-specification
380 (variable "GHC_PACKAGE_PATH")
381 (files (list
382 (string-append "lib/ghc-" version)))
383 (file-pattern ".*\\.conf\\.d$")
384 (file-type 'directory))))
385 (home-page "https://www.haskell.org/ghc")
386 (synopsis "The Glasgow Haskell Compiler")
387 (description
388 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
389 interactive environment for the functional language Haskell.")
390 (license license:bsd-3)))
391
392 (define-public ghc-hostname
393 (package
394 (name "ghc-hostname")
395 (version "1.0")
396 (source
397 (origin
398 (method url-fetch)
399 (uri (string-append "https://hackage.haskell.org/package/hostname/"
400 "hostname-" version ".tar.gz"))
401 (sha256
402 (base32
403 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
404 (build-system haskell-build-system)
405 (home-page "https://hackage.haskell.org/package/hostname")
406 (synopsis "Hostname in Haskell")
407 (description "Network.HostName is a simple package providing a means to
408 determine the hostname.")
409 (license license:bsd-3)))
410
411 (define-public ghc-libxml
412 (package
413 (name "ghc-libxml")
414 (version "0.1.1")
415 (source
416 (origin
417 (method url-fetch)
418 (uri (string-append "http://hackage.haskell.org/package/libxml/"
419 "libxml-" version ".tar.gz"))
420 (sha256
421 (base32
422 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
423 (build-system haskell-build-system)
424 (inputs
425 `(("ghc-mtl" ,ghc-mtl)
426 ("libxml2" ,libxml2)))
427 (arguments
428 `(#:configure-flags
429 `(,(string-append "--extra-include-dirs="
430 (assoc-ref %build-inputs "libxml2")
431 "/include/libxml2"))))
432 (home-page "http://hackage.haskell.org/package/libxml")
433 (synopsis "Haskell bindings to libxml2")
434 (description
435 "This library provides minimal Haskell binding to libxml2.")
436 (license license:bsd-3)))
437
438 (define-public ghc-prelude-extras
439 (package
440 (name "ghc-prelude-extras")
441 (version "0.4.0.2")
442 (source
443 (origin
444 (method url-fetch)
445 (uri (string-append
446 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
447 version
448 ".tar.gz"))
449 (sha256
450 (base32
451 "1q7mj9hysy747vimnlyrwsk1wb2axymxixa76fwcbcnmz3fi4llp"))))
452 (build-system haskell-build-system)
453 (home-page "https://github.com/ekmett/prelude-extras")
454 (synopsis "Higher order versions of Prelude classes")
455 (description "This library provides higher order versions of
456 @code{Prelude} classes to ease programming with polymorphic recursion and
457 reduce @code{UndecidableInstances}.")
458 (license license:bsd-3)))
459
460 (define-public ghc-data-default
461 (package
462 (name "ghc-data-default")
463 (version "0.5.3")
464 (source
465 (origin
466 (method url-fetch)
467 (uri (string-append
468 "https://hackage.haskell.org/package/data-default/data-default-"
469 version
470 ".tar.gz"))
471 (sha256
472 (base32 "0d1hm0l9kim3kszshr4msmgzizrzha48gz2kb7b61p7n3gs70m7c"))))
473 (build-system haskell-build-system)
474 (inputs
475 `(("ghc-data-default-class"
476 ,ghc-data-default-class)
477 ("ghc-data-default-instances-base"
478 ,ghc-data-default-instances-base)
479 ("ghc-data-default-instances-containers"
480 ,ghc-data-default-instances-containers)
481 ("ghc-data-default-instances-dlist"
482 ,ghc-data-default-instances-dlist)
483 ("ghc-data-default-instances-old-locale"
484 ,ghc-data-default-instances-old-locale)))
485 (home-page "https://hackage.haskell.org/package/data-default")
486 (synopsis "Types with default values")
487 (description
488 "This package defines a class for types with a default value, and
489 provides instances for types from the base, containers, dlist and old-locale
490 packages.")
491 (license license:bsd-3)))
492
493 (define-public ghc-data-default-class
494 (package
495 (name "ghc-data-default-class")
496 (version "0.0.1")
497 (source
498 (origin
499 (method url-fetch)
500 (uri (string-append
501 "https://hackage.haskell.org/package/data-default-class/"
502 "data-default-class-" version ".tar.gz"))
503 (sha256
504 (base32 "0ccgr3jllinchqhw3lsn73ic6axk4196if5274rr1rghls0fxj5d"))))
505 (build-system haskell-build-system)
506 (home-page "https://hackage.haskell.org/package/data-default-class")
507 (synopsis "Types with default values")
508 (description
509 "This package defines a class for types with default values.")
510 (license license:bsd-3)))
511
512 (define-public ghc-data-default-instances-base
513 (package
514 (name "ghc-data-default-instances-base")
515 (version "0.0.1")
516 (source
517 (origin
518 (method url-fetch)
519 (uri (string-append
520 "https://hackage.haskell.org/package/"
521 "data-default-instances-base/"
522 "data-default-instances-base-" version ".tar.gz"))
523 (sha256
524 (base32 "1832nq6by91f1iw73ycvkbgn8kpra83pvf2q61hy47xffh0zy4pb"))))
525 (build-system haskell-build-system)
526 (inputs
527 `(("ghc-data-default-class" ,ghc-data-default-class)))
528 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
529 (synopsis "Default instances for types in base")
530 (description
531 "This package provides default instances for types from the base
532 package.")
533 (license license:bsd-3)))
534
535 (define-public ghc-data-default-instances-containers
536 (package
537 (name "ghc-data-default-instances-containers")
538 (version "0.0.1")
539 (source
540 (origin
541 (method url-fetch)
542 (uri (string-append
543 "https://hackage.haskell.org/package/"
544 "data-default-instances-containers/"
545 "data-default-instances-containers-" version ".tar.gz"))
546 (sha256
547 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
548 (build-system haskell-build-system)
549 (inputs
550 `(("ghc-data-default-class" ,ghc-data-default-class)))
551 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
552 (synopsis "Default instances for types in containers")
553 (description "Provides default instances for types from the containers
554 package.")
555 (license license:bsd-3)))
556
557 (define-public ghc-data-default-instances-dlist
558 (package
559 (name "ghc-data-default-instances-dlist")
560 (version "0.0.1")
561 (source
562 (origin
563 (method url-fetch)
564 (uri (string-append
565 "https://hackage.haskell.org/package/"
566 "data-default-instances-dlist/"
567 "data-default-instances-dlist-" version ".tar.gz"))
568 (sha256
569 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
570 (build-system haskell-build-system)
571 (inputs
572 `(("ghc-data-default-class" ,ghc-data-default-class)
573 ("ghc-dlist" ,ghc-dlist)))
574 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
575 (synopsis "Default instances for types in dlist")
576 (description "Provides default instances for types from the dlist
577 package.")
578 (license license:bsd-3)))
579
580 (define-public ghc-haddock-library
581 (package
582 (name "ghc-haddock-library")
583 (version "1.2.1")
584 (source
585 (origin
586 (method url-fetch)
587 (uri (string-append
588 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
589 version
590 ".tar.gz"))
591 (sha256
592 (base32
593 "0mhh2ppfhrvvi9485ipwbkv2fbgj35jvz3la02y3jlvg5ffs1c8g"))))
594 (build-system haskell-build-system)
595 (inputs
596 `(("ghc-base-compat" ,ghc-base-compat)
597 ("ghc-hspec" ,ghc-hspec)
598 ("ghc-quickcheck" ,ghc-quickcheck)))
599 (native-inputs
600 `(("hspec-discover" ,hspec-discover)))
601 (home-page "http://www.haskell.org/haddock/")
602 (synopsis
603 "Library exposing some functionality of Haddock")
604 (description
605 "Haddock is a documentation-generation tool for Haskell libraries. These
606 modules expose some functionality of it without pulling in the GHC dependency.
607 Please note that the API is likely to change so specify upper bounds in your
608 project if you can't release often. For interacting with Haddock itself, see
609 the ‘haddock’ package.")
610 (license license:bsd-3)))
611
612 (define-public ghc-haddock-api
613 (package
614 (name "ghc-haddock-api")
615 (version "2.16.1")
616 (source
617 (origin
618 (method url-fetch)
619 (uri (string-append
620 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
621 version
622 ".tar.gz"))
623 (sha256
624 (base32
625 "1spd5axg1pdjv4dkdb5gcwjsc8gg37qi4mr2k2db6ayywdkis1p2"))))
626 (build-system haskell-build-system)
627 (inputs
628 `(("ghc-paths" ,ghc-paths)
629 ("ghc-haddock-library" ,ghc-haddock-library)))
630 (home-page "http://www.haskell.org/haddock/")
631 (synopsis "API for documentation-generation tool Haddock")
632 (description "This package provides an API to Haddock, the
633 documentation-generation tool for Haskell libraries.")
634 (license license:bsd-3)))
635
636 (define-public ghc-haddock
637 (package
638 (name "ghc-haddock")
639 (version "2.16.1")
640 (source
641 (origin
642 (method url-fetch)
643 (uri (string-append
644 "https://hackage.haskell.org/package/haddock/haddock-"
645 version
646 ".tar.gz"))
647 (sha256
648 (base32
649 "1mnnvc5jqp6n6rj7xw8wdm0z2xp9fndkz11c8p3vbljsrcqd3v26"))))
650 (build-system haskell-build-system)
651 (arguments `(#:tests? #f)) ; FIXME: Tests break with GHC 7.10.2, fixed
652 ; upstream. See
653 ; <https://github.com/haskell/haddock/issues/427>
654 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
655 (home-page "http://www.haskell.org/haddock/")
656 (synopsis
657 "Documentation-generation tool for Haskell libraries")
658 (description
659 "Haddock is a documentation-generation tool for Haskell libraries.")
660 (license license:bsd-3)))
661
662 (define-public ghc-simple-reflect
663 (package
664 (name "ghc-simple-reflect")
665 (version "0.3.2")
666 (source
667 (origin
668 (method url-fetch)
669 (uri (string-append
670 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
671 version
672 ".tar.gz"))
673 (sha256
674 (base32
675 "1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq"))))
676 (build-system haskell-build-system)
677 (home-page
678 "http://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
679 (synopsis
680 "Simple reflection of expressions containing variables")
681 (description
682 "This package allows simple reflection of expressions containing
683 variables. Reflection here means that a Haskell expression is turned into a
684 string. The primary aim of this package is teaching and understanding; there
685 are no options for manipulating the reflected expressions beyond showing
686 them.")
687 (license license:bsd-3)))
688
689 (define-public ghc-multipart
690 (package
691 (name "ghc-multipart")
692 (version "0.1.2")
693 (source
694 (origin
695 (method url-fetch)
696 (uri (string-append
697 "https://hackage.haskell.org/package/multipart/multipart-"
698 version
699 ".tar.gz"))
700 (sha256
701 (base32
702 "0g04jhyw1ib1s7c9bcldyyn4n90qd9x7dmvic4vgq57bgcqgnhz5"))))
703 (build-system haskell-build-system)
704 (inputs `(("ghc-parsec" ,ghc-parsec)))
705 (home-page
706 "http://www.github.com/silkapp/multipart")
707 (synopsis
708 "HTTP multipart library")
709 (description
710 "HTTP multipart split out of the cgi package, for Haskell.")
711 (license license:bsd-3)))
712
713 (define-public ghc-html
714 (package
715 (name "ghc-html")
716 (version "1.0.1.2")
717 (source
718 (origin
719 (method url-fetch)
720 (uri (string-append
721 "https://hackage.haskell.org/package/html/html-"
722 version
723 ".tar.gz"))
724 (sha256
725 (base32
726 "0q9hmfii62kc82ijlg238fxrzxhsivn42x5wd6ffcr9xldg4jd8c"))))
727 (build-system haskell-build-system)
728 (home-page
729 "https://hackage.haskell.org/package/html")
730 (synopsis "HTML combinator library")
731 (description
732 "This package contains a combinator library for constructing HTML
733 documents.")
734 (license license:bsd-3)))
735
736 (define-public ghc-xhtml
737 (package
738 (name "ghc-xhtml")
739 (version "3000.2.1")
740 (source
741 (origin
742 (method url-fetch)
743 (uri (string-append
744 "https://hackage.haskell.org/package/xhtml/xhtml-"
745 version
746 ".tar.gz"))
747 (sha256
748 (base32
749 "1n6wgzxbj8xf0wf1il827qidphnffb5vzhwzqlxhh70c2y10f0ik"))))
750 (build-system haskell-build-system)
751 (home-page "https://github.com/haskell/xhtml")
752 (synopsis "XHTML combinator library")
753 (description
754 "This package provides combinators for producing XHTML 1.0, including the
755 Strict, Transitional and Frameset variants.")
756 (license license:bsd-3)))
757
758 (define-public ghc-haskell-src
759 (package
760 (name "ghc-haskell-src")
761 (version "1.0.2.0")
762 (source
763 (origin
764 (method url-fetch)
765 (uri (string-append
766 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
767 version
768 ".tar.gz"))
769 (sha256
770 (base32
771 "19lilhpwnjb7cks9fq1ipnc8f7dwxy0ri3dgjkdxs3i355byw99a"))))
772 (build-system haskell-build-system)
773 (inputs
774 `(("ghc-happy" ,ghc-happy)
775 ("ghc-syb" ,ghc-syb)))
776 (home-page
777 "https://hackage.haskell.org/package/haskell-src")
778 (synopsis
779 "Support for manipulating Haskell source code")
780 (description
781 "The 'haskell-src' package provides support for manipulating Haskell
782 source code. The package provides a lexer, parser and pretty-printer, and a
783 definition of a Haskell abstract syntax tree (AST). Common uses of this
784 package are to parse or generate Haskell 98 code.")
785 (license license:bsd-3)))
786
787 (define-public ghc-alex
788 (package
789 (name "ghc-alex")
790 (version "3.1.4")
791 (source
792 (origin
793 (method url-fetch)
794 (uri (string-append
795 "https://hackage.haskell.org/package/alex/alex-"
796 version
797 ".tar.gz"))
798 (sha256
799 (base32
800 "17x13nbbr79xgdlzywjqw19vcl6iygjnssjnxnajgijkv764wknn"))))
801 (build-system haskell-build-system)
802 (arguments `(#:tests? #f)) ; FIXME: Tests broken for GHC 7.10. Fixed
803 ; upstream, see
804 ; <https://github.com/simonmar/alex/issues/62>
805 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
806 (home-page "http://www.haskell.org/alex/")
807 (synopsis
808 "Tool for generating lexical analysers in Haskell")
809 (description
810 "Alex is a tool for generating lexical analysers in Haskell. It takes a
811 description of tokens based on regular expressions and generates a Haskell
812 module containing code for scanning text efficiently. It is similar to the
813 tool lex or flex for C/C++.")
814 (license license:bsd-3)))
815
816 (define-public ghc-cgi
817 (package
818 (name "ghc-cgi")
819 (version "3001.2.2.2")
820 (source
821 (origin
822 (method url-fetch)
823 (uri (string-append
824 "https://hackage.haskell.org/package/cgi/cgi-"
825 version
826 ".tar.gz"))
827 (sha256
828 (base32
829 "0q1pxpa8gi42c0hsidcdkhk5xr5anfrvhqsn3iksr9c0rllhz193"))))
830 (build-system haskell-build-system)
831 (inputs
832 `(("ghc-parsec" ,ghc-parsec)
833 ("ghc-old-locale" ,ghc-old-locale)
834 ("ghc-old-time" ,ghc-old-time)
835 ("ghc-exceptions" ,ghc-exceptions)
836 ("ghc-multipart" ,ghc-multipart)
837 ("ghc-network-uri" ,ghc-network-uri)
838 ("ghc-network" ,ghc-network)
839 ("ghc-mtl" ,ghc-mtl)))
840 (home-page
841 "https://github.com/cheecheeo/haskell-cgi")
842 (synopsis "Library for writing CGI programs")
843 (description
844 "This is a Haskell library for writing CGI programs.")
845 (license license:bsd-3)))
846
847 (define-public ghc-cmdargs
848 (package
849 (name "ghc-cmdargs")
850 (version "0.10.13")
851 (source
852 (origin
853 (method url-fetch)
854 (uri (string-append
855 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
856 version
857 ".tar.gz"))
858 (sha256
859 (base32
860 "0vmz7f0ssrqlp6wzmc0mjqj4qczfgk58g0lr0yz7jamamlgpq4b6"))))
861 (build-system haskell-build-system)
862 (home-page
863 "http://community.haskell.org/~ndm/cmdargs/")
864 (synopsis "Command line argument processing")
865 (description
866 "This library provides an easy way to define command line parsers.")
867 (license license:bsd-3)))
868
869 (define-public ghc-concatenative
870 (package
871 (name "ghc-concatenative")
872 (version "1.0.1")
873 (source (origin
874 (method url-fetch)
875 (uri (string-append
876 "https://hackage.haskell.org/package/concatenative/concatenative-"
877 version ".tar.gz"))
878 (sha256
879 (base32
880 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
881 (build-system haskell-build-system)
882 (home-page
883 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
884 (synopsis "Library for postfix control flow")
885 (description
886 "Concatenative gives Haskell Factor-style combinators and arrows for
887 postfix notation. For more information on stack based languages, see
888 @uref{http://concatenative.org}.")
889 (license license:bsd-3)))
890
891 (define-public ghc-happy
892 (package
893 (name "ghc-happy")
894 (version "1.19.5")
895 (source
896 (origin
897 (method url-fetch)
898 (uri (string-append
899 "https://hackage.haskell.org/package/happy/happy-"
900 version
901 ".tar.gz"))
902 (sha256
903 (base32
904 "1nj353q4z1g186fpjzf0dnsg71qhxqpamx8jy89rjjvv3p0kmw32"))))
905 (build-system haskell-build-system)
906 (arguments `(#:tests? #f)) ;; cannot satisfy -package mtl. Possible Cabal
907 ;; issue.
908 (inputs
909 `(("ghc-mtl" ,ghc-mtl)))
910 (home-page "https://hackage.haskell.org/package/happy")
911 (synopsis "Parser generator for Haskell")
912 (description "Happy is a parser generator for Haskell. Given a grammar
913 specification in BNF, Happy generates Haskell code to parse the grammar.
914 Happy works in a similar way to the yacc tool for C.")
915 (license license:bsd-3)))
916
917 (define-public ghc-haskell-src-exts
918 (package
919 (name "ghc-haskell-src-exts")
920 (version "1.16.0.1")
921 (source
922 (origin
923 (method url-fetch)
924 (uri (string-append
925 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
926 version
927 ".tar.gz"))
928 (sha256
929 (base32
930 "1h8gjw5g92rvvzadqzpscg73x7ajvs1wlphrh27afim3scdd8frz"))))
931 (build-system haskell-build-system)
932 (inputs
933 `(("cpphs" ,cpphs)
934 ("ghc-mtl" ,ghc-mtl)
935 ("ghc-happy" ,ghc-happy)
936 ("ghc-syb" ,ghc-syb)))
937 (native-inputs
938 `(("ghc-smallcheck" ,ghc-smallcheck)
939 ("ghc-tasty" ,ghc-tasty)
940 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
941 ("ghc-tasty-golden" ,ghc-tasty-golden)))
942 (home-page "https://github.com/haskell-suite/haskell-src-exts")
943 (synopsis "Library for manipulating Haskell source")
944 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
945 extension of the standard @code{haskell-src} package, and handles most
946 registered syntactic extensions to Haskell. All extensions implemented in GHC
947 are supported. Apart from these standard extensions, it also handles regular
948 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
949 (license license:bsd-3)))
950
951 (define-public hlint
952 (package
953 (name "hlint")
954 (version "1.9.21")
955 (source
956 (origin
957 (method url-fetch)
958 (uri (string-append
959 "https://hackage.haskell.org/package/" name
960 "/" name "-" version ".tar.gz"))
961 (sha256
962 (base32
963 "14v3rdjjlml9nimdk7d5dvir2bw78ai49yylvms9lnzmw29s3546"))))
964 (build-system haskell-build-system)
965 (inputs
966 `(("cpphs" ,cpphs)
967 ("ghc-cmdargs" ,ghc-cmdargs)
968 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
969 ("ghc-uniplate" ,ghc-uniplate)
970 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
971 ("ghc-extra" ,ghc-extra)
972 ("hscolour" ,hscolour)))
973 (home-page "http://community.haskell.org/~ndm/hlint/")
974 (synopsis "Suggest improvements for Haskell source code")
975 (description "HLint reads Haskell programs and suggests changes that
976 hopefully make them easier to read. HLint also makes it easy to disable
977 unwanted suggestions, and to add your own custom suggestions.")
978 (license license:bsd-3)))
979
980 (define-public ghc-resourcet
981 (package
982 (name "ghc-resourcet")
983 (version "1.1.6")
984 (source
985 (origin
986 (method url-fetch)
987 (uri (string-append
988 "https://hackage.haskell.org/package/resourcet/resourcet-"
989 version
990 ".tar.gz"))
991 (sha256
992 (base32
993 "0zhsaaa4n8ry76vjih519a8npm2hrzk10d5asrgllcwpzmifl41y"))))
994 (build-system haskell-build-system)
995 (inputs
996 `(("ghc-transformers-base" ,ghc-transformers-base)
997 ("ghc-monad-control" ,ghc-monad-control)
998 ("ghc-transformers-compat" ,ghc-transformers-compat)
999 ("ghc-mtl" ,ghc-mtl)
1000 ("ghc-mmorph" ,ghc-mmorph)
1001 ("ghc-exceptions" ,ghc-exceptions)))
1002 (native-inputs
1003 `(("ghc-lifted-base" ,ghc-lifted-base)
1004 ("ghc-hspec" ,ghc-hspec)))
1005 (home-page "https://github.com/snoyberg/conduit")
1006 (synopsis "Deterministic allocation and freeing of scarce resources")
1007 (description "ResourceT is a monad transformer which creates a region of
1008 code where you can safely allocate resources.")
1009 (license license:bsd-3)))
1010
1011 (define-public ghc-xss-sanitize
1012 (package
1013 (name "ghc-xss-sanitize")
1014 (version "0.3.5.6")
1015 (source
1016 (origin
1017 (method url-fetch)
1018 (uri (string-append
1019 "https://hackage.haskell.org/package/xss-sanitize/xss-sanitize-"
1020 version
1021 ".tar.gz"))
1022 (sha256
1023 (base32
1024 "1j2qrn2dbfx01m7zyk9ilgnp9zjwq9mk62b0rdal4zkg4vh212h0"))))
1025 (build-system haskell-build-system)
1026 (inputs
1027 `(("ghc-tagsoup" ,ghc-tagsoup)
1028 ("ghc-utf8-string" ,ghc-utf8-string)
1029 ("ghc-css-text" ,ghc-css-text)
1030 ("ghc-network-uri" ,ghc-network-uri)))
1031 (native-inputs
1032 `(("ghc-text" ,ghc-text)
1033 ("ghc-attoparsec" ,ghc-attoparsec)
1034 ("ghc-hspec" ,ghc-hspec)
1035 ("ghc-hunit" ,ghc-hunit)))
1036 (home-page "https://github.com/yesodweb/haskell-xss-sanitize")
1037 (synopsis "Sanitize untrusted HTML to prevent XSS attacks")
1038 (description "This library provides @code{sanitizeXSS}. Run untrusted
1039 HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to prevent XSS
1040 attacks.")
1041 (license license:bsd-3)))
1042
1043 (define-public ghc-objectname
1044 (package
1045 (name "ghc-objectname")
1046 (version "1.1.0.0")
1047 (source
1048 (origin
1049 (method url-fetch)
1050 (uri (string-append
1051 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
1052 version
1053 ".tar.gz"))
1054 (sha256
1055 (base32
1056 "0kh5fb9ykag6rfsm3f0bx3w323s18w2cyry34w5xgli5ncqimadg"))))
1057 (build-system haskell-build-system)
1058 (home-page "https://hackage.haskell.org/package/ObjectName")
1059 (synopsis "Helper library for Haskell OpenGL")
1060 (description "This tiny package contains the class ObjectName, which
1061 corresponds to the general notion of explicitly handled identifiers for API
1062 objects, e.g. a texture object name in OpenGL or a buffer object name in
1063 OpenAL.")
1064 (license license:bsd-3)))
1065
1066 (define-public ghc-sdl
1067 (package
1068 (name "ghc-sdl")
1069 (version "0.6.5.1")
1070 (source
1071 (origin
1072 (method url-fetch)
1073 (uri (string-append
1074 "https://hackage.haskell.org/package/SDL/SDL-"
1075 version
1076 ".tar.gz"))
1077 (sha256
1078 (base32
1079 "1sa3zx3vrs1gbinxx33zwq0x2bsf3i964bff7419p7vzidn36k46"))))
1080 (build-system haskell-build-system)
1081 (inputs
1082 `(("sdl" ,sdl)))
1083 (home-page "https://hackage.haskell.org/package/SDL")
1084 (synopsis "LibSDL for Haskell")
1085 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
1086 multimedia library designed to provide low level access to audio, keyboard,
1087 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
1088 by MPEG playback software, emulators, and many popular games, including the
1089 award winning Linux port of \"Civilization: Call To Power.\"")
1090 (license license:bsd-3)))
1091
1092 (define-public ghc-sdl-mixer
1093 (package
1094 (name "ghc-sdl-mixer")
1095 (version "0.6.1.1")
1096 (source
1097 (origin
1098 (method url-fetch)
1099 (uri (string-append
1100 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
1101 version
1102 ".tar.gz"))
1103 (sha256
1104 (base32
1105 "0md3238hx79mxb9a7l43kg3b3d28x4mqvj0hjsbsh15ajnvy9x2z"))))
1106 (build-system haskell-build-system)
1107 (arguments
1108 `(#:configure-flags
1109 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
1110 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
1111 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
1112 (inputs
1113 `(("ghc-sdl" ,ghc-sdl)
1114 ("sdl-mixer" ,sdl-mixer)))
1115 (home-page "https://hackage.haskell.org/package/SDL-mixer")
1116 (synopsis "Haskell bindings to libSDL_mixer")
1117 (description "SDL_mixer is a sample multi-channel audio mixer library. It
1118 supports any number of simultaneously playing channels of 16 bit stereo audio,
1119 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
1120 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
1121 (license license:bsd-3)))
1122
1123 (define-public ghc-sdl-image
1124 (package
1125 (name "ghc-sdl-image")
1126 (version "0.6.1.1")
1127 (source
1128 (origin
1129 (method url-fetch)
1130 (uri (string-append
1131 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
1132 version
1133 ".tar.gz"))
1134 (sha256
1135 (base32
1136 "1m02q2426qp8m8pzz2jkk4srk2vb3j3ickiaga5jx9rkkhz732zq"))))
1137 (build-system haskell-build-system)
1138 (arguments
1139 `(#:configure-flags
1140 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
1141 (sdl-image-include (string-append sdl-image "/include/SDL")))
1142 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
1143 (inputs
1144 `(("ghc-sdl" ,ghc-sdl)
1145 ("sdl-image" ,sdl-image)))
1146 (home-page "https://hackage.haskell.org/package/SDL-image")
1147 (synopsis "Haskell bindings to libSDL_image")
1148 (description "SDL_image is an image file loading library. It loads images
1149 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
1150 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
1151 (license license:bsd-3)))
1152
1153 (define-public ghc-half
1154 (package
1155 (name "ghc-half")
1156 (version "0.2.2.1")
1157 (source
1158 (origin
1159 (method url-fetch)
1160 (uri (string-append
1161 "https://hackage.haskell.org/package/half/half-"
1162 version
1163 ".tar.gz"))
1164 (sha256
1165 (base32
1166 "0zhwc6ps5w4ccnxl8sy623z4rjsafmnry69jpkw4hrbq11l402f1"))))
1167 (build-system haskell-build-system)
1168 (home-page "https://github.com/ekmett/half")
1169 (synopsis "Half-precision floating-point computations")
1170 (description "This library provides a half-precision floating-point
1171 computation library for Haskell.")
1172 (license license:bsd-3)))
1173
1174 (define-public ghc-openglraw
1175 (package
1176 (name "ghc-openglraw")
1177 (version "2.5.1.0")
1178 (source
1179 (origin
1180 (method url-fetch)
1181 (uri (string-append
1182 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
1183 version
1184 ".tar.gz"))
1185 (sha256
1186 (base32
1187 "1kfq24mxg922ml3kkmym2qfpc56jbmrfbiix4rc2cxlwv05i191k"))))
1188 (build-system haskell-build-system)
1189 (inputs
1190 `(("ghc-half" ,ghc-half)
1191 ("glu" ,glu)
1192 ("ghc-text" ,ghc-text)))
1193 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1194 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
1195 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
1196 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
1197 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
1198 offers access to all necessary functions, tokens and types plus a general
1199 facility for loading extension entries. The module hierarchy closely mirrors
1200 the naming structure of the OpenGL extensions, making it easy to find the
1201 right module to import. All API entries are loaded dynamically, so no special
1202 C header files are needed for building this package. If an API entry is not
1203 found at runtime, a userError is thrown.")
1204 (license license:bsd-3)))
1205
1206 (define-public ghc-glut
1207 (package
1208 (name "ghc-glut")
1209 (version "2.7.0.3")
1210 (source
1211 (origin
1212 (method url-fetch)
1213 (uri (string-append
1214 "https://hackage.haskell.org/package/GLUT/GLUT-"
1215 version
1216 ".tar.gz"))
1217 (sha256
1218 (base32
1219 "1qfilpc10jm47anan44c20y8mh76f2dv09m5d22gk0f7am7hg4k2"))))
1220 (build-system haskell-build-system)
1221 (inputs
1222 `(("ghc-statevar" ,ghc-statevar)
1223 ("ghc-opengl" ,ghc-opengl)
1224 ("ghc-openglraw" ,ghc-openglraw)
1225 ("freeglut" ,freeglut)))
1226 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1227 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
1228 (description "This library provides Haskell bindings for the OpenGL
1229 Utility Toolkit, a window system-independent toolkit for writing OpenGL
1230 programs.")
1231 (license license:bsd-3)))
1232
1233 (define-public ghc-gluraw
1234 (package
1235 (name "ghc-gluraw")
1236 (version "1.5.0.2")
1237 (source
1238 (origin
1239 (method url-fetch)
1240 (uri (string-append
1241 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
1242 version
1243 ".tar.gz"))
1244 (sha256
1245 (base32
1246 "0gscd9lhp9mb10q8s716nx26m8qng9xbb4h6b3f48zzgkc1sy96x"))))
1247 (build-system haskell-build-system)
1248 (inputs
1249 `(("ghc-openglraw" ,ghc-openglraw)))
1250 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1251 (synopsis "Raw Haskell bindings GLU")
1252 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
1253 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
1254 basis for a nicer interface.")
1255 (license license:bsd-3)))
1256
1257 (define-public ghc-opengl
1258 (package
1259 (name "ghc-opengl")
1260 (version "2.12.0.1")
1261 (source
1262 (origin
1263 (method url-fetch)
1264 (uri (string-append
1265 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
1266 version
1267 ".tar.gz"))
1268 (sha256
1269 (base32
1270 "1mcfb167jl75qc2hgylh83vf2jqizvyvkvhhb72adi2crc3zqz4b"))))
1271 (build-system haskell-build-system)
1272 (inputs
1273 `(("ghc-text" ,ghc-text)
1274 ("ghc-objectname" ,ghc-objectname)
1275 ("ghc-gluraw" ,ghc-gluraw)
1276 ("ghc-statevar" ,ghc-statevar)
1277 ("ghc-openglraw" ,ghc-openglraw)))
1278 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1279 (synopsis "Haskell bindings for the OpenGL graphics system")
1280 (description "This package provides Haskell bindings for the OpenGL
1281 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
1282 version 1.3).")
1283 (license license:bsd-3)))
1284
1285 (define-public ghc-streaming-commons
1286 (package
1287 (name "ghc-streaming-commons")
1288 (version "0.1.14.2")
1289 (source
1290 (origin
1291 (method url-fetch)
1292 (uri (string-append
1293 "https://hackage.haskell.org/package/streaming-commons/streaming-commons-"
1294 version
1295 ".tar.gz"))
1296 (sha256
1297 (base32
1298 "12nw9bwvy6zrabkgvbp371klca3ds6qjlfncg1b8pbwx1y7m8c8h"))))
1299 (build-system haskell-build-system)
1300 (inputs
1301 `(("ghc-blaze-builder" ,ghc-blaze-builder)
1302 ("ghc-network" ,ghc-network)
1303 ("ghc-random" ,ghc-random)
1304 ("ghc-stm" ,ghc-stm)
1305 ("ghc-text" ,ghc-text)
1306 ("ghc-zlib" ,ghc-zlib)))
1307 (native-inputs
1308 `(("ghc-quickcheck" ,ghc-quickcheck)
1309 ("ghc-hspec" ,ghc-hspec)
1310 ("hspec-discover" ,hspec-discover)))
1311 (home-page "https://hackage.haskell.org/package/streaming-commons")
1312 (synopsis "Conduit and pipes needed by some streaming data libraries")
1313 (description "Provides low-dependency functionality commonly needed by
1314 various Haskell streaming data libraries, such as @code{conduit} and
1315 @code{pipe}s.")
1316 (license license:bsd-3)))
1317
1318 (define-public cpphs
1319 (package
1320 (name "cpphs")
1321 (version "1.19.3")
1322 (source
1323 (origin
1324 (method url-fetch)
1325 (uri (string-append
1326 "https://hackage.haskell.org/package/" name "/"
1327 name "-" version ".tar.gz"))
1328 (sha256
1329 (base32
1330 "1njpmxgpah5pcqppcl1cxb5xicf6xlqrd162qm12khp9hainlm72"))))
1331 (build-system haskell-build-system)
1332 (inputs
1333 `(("ghc-polyparse" ,ghc-polyparse)
1334 ("ghc-old-locale" ,ghc-old-locale)
1335 ("ghc-old-time" ,ghc-old-time)))
1336 (home-page "http://projects.haskell.org/cpphs/")
1337 (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
1338 (description "Cpphs is a re-implementation of the C pre-processor that is
1339 both more compatible with Haskell, and itself written in Haskell so that it
1340 can be distributed with compilers. This version of the C pre-processor is
1341 pretty-much feature-complete and compatible with traditional (K&R)
1342 pre-processors. Additional features include: a plain-text mode; an option to
1343 unlit literate code files; and an option to turn off macro-expansion.")
1344 (license (list license:lgpl2.1+ license:gpl3+))))
1345
1346 (define-public ghc-reflection
1347 (package
1348 (name "ghc-reflection")
1349 (version "2.1")
1350 (source
1351 (origin
1352 (method url-fetch)
1353 (uri (string-append
1354 "https://hackage.haskell.org/package/reflection/reflection-"
1355 version
1356 ".tar.gz"))
1357 (sha256
1358 (base32
1359 "10w3m6v3g6am203wbrikdbp57x9vw6b4jsh7bxdzsss4nmpm81zg"))))
1360 (build-system haskell-build-system)
1361 (inputs `(("ghc-tagged" ,ghc-tagged)))
1362 (home-page "https://github.com/ekmett/reflection")
1363 (synopsis "Reify arbitrary terms into types that can be reflected back
1364 into terms")
1365 (description "This package addresses the 'configuration problem' which is
1366 propogating configurations that are available at run-time, allowing multiple
1367 configurations to coexist without resorting to mutable global variables or
1368 @code{System.IO.Unsafe.unsafePerformIO}.")
1369 (license license:bsd-3)))
1370
1371 (define-public ghc-old-locale
1372 (package
1373 (name "ghc-old-locale")
1374 (version "1.0.0.7")
1375 (source
1376 (origin
1377 (method url-fetch)
1378 (uri (string-append
1379 "https://hackage.haskell.org/package/old-locale/old-locale-"
1380 version
1381 ".tar.gz"))
1382 (sha256
1383 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
1384 (build-system haskell-build-system)
1385 (home-page "https://hackage.haskell.org/package/old-locale")
1386 (synopsis "Adapt to locale conventions")
1387 (description
1388 "This package provides the ability to adapt to locale conventions such as
1389 date and time formats.")
1390 (license license:bsd-3)))
1391
1392 (define-public ghc-old-time
1393 (package
1394 (name "ghc-old-time")
1395 (version "1.1.0.3")
1396 (source
1397 (origin
1398 (method url-fetch)
1399 (uri (string-append
1400 "https://hackage.haskell.org/package/old-time/old-time-"
1401 version
1402 ".tar.gz"))
1403 (sha256
1404 (base32
1405 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
1406 (build-system haskell-build-system)
1407 (inputs
1408 `(("ghc-old-locale" ,ghc-old-locale)))
1409 (home-page "https://hackage.haskell.org/package/old-time")
1410 (synopsis "Time compatibility library for Haskell")
1411 (description "Old-time is a package for backwards compatibility with the
1412 old @code{time} library. For new projects, the newer
1413 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
1414 (license license:bsd-3)))
1415
1416 (define-public ghc-data-default-instances-old-locale
1417 (package
1418 (name "ghc-data-default-instances-old-locale")
1419 (version "0.0.1")
1420 (source
1421 (origin
1422 (method url-fetch)
1423 (uri (string-append
1424 "https://hackage.haskell.org/package/"
1425 "data-default-instances-old-locale/"
1426 "data-default-instances-old-locale-" version ".tar.gz"))
1427 (sha256
1428 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
1429 (build-system haskell-build-system)
1430 (inputs
1431 `(("ghc-data-default-class" ,ghc-data-default-class)
1432 ("ghc-old-locale" ,ghc-old-locale)))
1433 (home-page
1434 "https://hackage.haskell.org/package/data-default-instances-old-locale")
1435 (synopsis "Default instances for types in old-locale")
1436 (description "Provides Default instances for types from the old-locale
1437 package.")
1438 (license license:bsd-3)))
1439
1440 (define-public ghc-dlist
1441 (package
1442 (name "ghc-dlist")
1443 (version "0.7.1.2")
1444 (source
1445 (origin
1446 (method url-fetch)
1447 (uri (string-append
1448 "https://hackage.haskell.org/package/dlist/dlist-"
1449 version
1450 ".tar.gz"))
1451 (sha256
1452 (base32 "10rp96rryij7d8gz5kv8ygc6chm1624ck5mbnqs2a3fkdzqj2b9k"))))
1453 (build-system haskell-build-system)
1454 (inputs
1455 `(("ghc-quickcheck" ,ghc-quickcheck)))
1456 (home-page "https://github.com/spl/dlist")
1457 (synopsis "Difference lists")
1458 (description
1459 "Difference lists are a list-like type supporting O(1) append. This is
1460 particularly useful for efficient logging and pretty printing (e.g. with the
1461 Writer monad), where list append quickly becomes too expensive.")
1462 (license license:bsd-3)))
1463
1464 (define-public ghc-extensible-exceptions
1465 (package
1466 (name "ghc-extensible-exceptions")
1467 (version "0.1.1.4")
1468 (source
1469 (origin
1470 (method url-fetch)
1471 (uri (string-append "https://hackage.haskell.org/package/"
1472 "extensible-exceptions/extensible-exceptions-"
1473 version ".tar.gz"))
1474 (sha256
1475 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
1476 (build-system haskell-build-system)
1477 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
1478 (synopsis "Extensible exceptions for Haskell")
1479 (description
1480 "This package provides extensible exceptions for both new and old
1481 versions of GHC (i.e., < 6.10).")
1482 (license license:bsd-3)))
1483
1484 (define-public cabal-install
1485 (package
1486 (name "cabal-install")
1487 (version "1.22.6.0")
1488 (source
1489 (origin
1490 (method url-fetch)
1491 (uri (string-append
1492 "https://hackage.haskell.org/package/cabal-install/cabal-install-"
1493 version
1494 ".tar.gz"))
1495 (sha256
1496 (base32 "1d5h7h2wjwc2s3dvsvzjgmmfrfl2312ym2h6kyjgm9wnaqw9w8wx"))))
1497 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
1498 (build-system haskell-build-system)
1499 (inputs
1500 `(("ghc-http" ,ghc-http)
1501 ("ghc-mtl" ,ghc-mtl)
1502 ("ghc-network-uri" ,ghc-network-uri)
1503 ("ghc-network" ,ghc-network)
1504 ("ghc-random" ,ghc-random)
1505 ("ghc-stm" ,ghc-stm)
1506 ("ghc-zlib" ,ghc-zlib)))
1507 (home-page "http://www.haskell.org/cabal/")
1508 (synopsis "Command-line interface for Cabal and Hackage")
1509 (description
1510 "The cabal command-line program simplifies the process of managing
1511 Haskell software by automating the fetching, configuration, compilation and
1512 installation of Haskell libraries and programs.")
1513 (license license:bsd-3)))
1514
1515 (define-public ghc-mtl
1516 (package
1517 (name "ghc-mtl")
1518 (version "2.2.1")
1519 (outputs '("out" "doc"))
1520 (source
1521 (origin
1522 (method url-fetch)
1523 (uri (string-append
1524 "https://hackage.haskell.org/package/mtl/mtl-"
1525 version
1526 ".tar.gz"))
1527 (sha256
1528 (base32
1529 "1icdbj2rshzn0m1zz5wa7v3xvkf6qw811p4s7jgqwvx1ydwrvrfa"))))
1530 (build-system haskell-build-system)
1531 (home-page "https://github.com/ekmett/mtl")
1532 (synopsis
1533 "Monad classes, using functional dependencies")
1534 (description "Monad classes using functional dependencies, with instances
1535 for various monad transformers, inspired by the paper 'Functional Programming
1536 with Overloading and Higher-Order Polymorphism', by Mark P Jones, in 'Advanced
1537 School of Functional Programming', 1995. See
1538 @uref{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html, the paper}.")
1539 (license license:bsd-3)))
1540
1541 (define-public ghc-paths
1542 (package
1543 (name "ghc-paths")
1544 (version "0.1.0.9")
1545 (outputs '("out" "doc"))
1546 (source
1547 (origin
1548 (method url-fetch)
1549 (uri (string-append
1550 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
1551 version
1552 ".tar.gz"))
1553 (sha256
1554 (base32
1555 "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg"))))
1556 (build-system haskell-build-system)
1557 (home-page "https://github.com/simonmar/ghc-paths")
1558 (synopsis
1559 "Knowledge of GHC's installation directories")
1560 (description
1561 "Knowledge of GHC's installation directories.")
1562 (license license:bsd-3)))
1563
1564 (define-public ghc-utf8-string
1565 (package
1566 (name "ghc-utf8-string")
1567 (version "1.0.1.1")
1568 (source
1569 (origin
1570 (method url-fetch)
1571 (uri (string-append
1572 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
1573 version
1574 ".tar.gz"))
1575 (sha256
1576 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
1577 (build-system haskell-build-system)
1578 (home-page "https://github.com/glguy/utf8-string/")
1579 (synopsis "Support for reading and writing UTF8 Strings")
1580 (description
1581 "A UTF8 layer for Strings. The utf8-string package provides operations
1582 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
1583 UTF8 without truncation.")
1584 (license license:bsd-3)))
1585
1586 (define-public ghc-setenv
1587 (package
1588 (name "ghc-setenv")
1589 (version "0.1.1.3")
1590 (source
1591 (origin
1592 (method url-fetch)
1593 (uri (string-append
1594 "https://hackage.haskell.org/package/setenv/setenv-"
1595 version
1596 ".tar.gz"))
1597 (sha256
1598 (base32
1599 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
1600 (build-system haskell-build-system)
1601 (home-page "https://hackage.haskell.org/package/setenv")
1602 (synopsis "Library for setting environment variables")
1603 (description "This package provides a Haskell library for setting
1604 environment variables.")
1605 (license license:expat)))
1606
1607 (define-public ghc-x11
1608 (package
1609 (name "ghc-x11")
1610 (version "1.6.1.2")
1611 (source
1612 (origin
1613 (method url-fetch)
1614 (uri (string-append "https://hackage.haskell.org/package/X11/"
1615 "X11-" version ".tar.gz"))
1616 (sha256
1617 (base32 "1kzjcynm3rr83ihqx2y2d852jc49da4p18gv6jzm7g87z22x85jj"))))
1618 (build-system haskell-build-system)
1619 (inputs
1620 `(("libx11" ,libx11)
1621 ("libxrandr" ,libxrandr)
1622 ("libxinerama" ,libxinerama)
1623 ("libxscrnsaver" ,libxscrnsaver)
1624 ("ghc-data-default" ,ghc-data-default)))
1625 (home-page "https://github.com/haskell-pkg-janitors/X11")
1626 (synopsis "Bindings to the X11 graphics library")
1627 (description
1628 "This package provides Haskell bindings to the X11 graphics library. The
1629 bindings are a direct translation of the C bindings.")
1630 (license license:bsd-3)))
1631
1632 (define-public ghc-x11-xft
1633 (package
1634 (name "ghc-x11-xft")
1635 (version "0.3.1")
1636 (source
1637 (origin
1638 (method url-fetch)
1639 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
1640 "X11-xft-" version ".tar.gz"))
1641 (sha256
1642 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
1643 (inputs
1644 `(("ghc-x11" ,ghc-x11)
1645 ("ghc-utf8-string" ,ghc-utf8-string)
1646 ("libx11" ,libx11)
1647 ("libxft" ,libxft)
1648 ("xproto" ,xproto)))
1649 (native-inputs
1650 `(("pkg-config" ,pkg-config)))
1651 (build-system haskell-build-system)
1652 (home-page "https://hackage.haskell.org/package/X11-xft")
1653 (synopsis "Bindings to Xft")
1654 (description
1655 "Bindings to the Xft, X Free Type interface library, and some Xrender
1656 parts.")
1657 (license license:lgpl2.1)))
1658
1659 (define-public ghc-stringbuilder
1660 (package
1661 (name "ghc-stringbuilder")
1662 (version "0.5.0")
1663 (source
1664 (origin
1665 (method url-fetch)
1666 (uri (string-append
1667 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
1668 version
1669 ".tar.gz"))
1670 (sha256
1671 (base32
1672 "1ap95xphqnrhv64c2a137wqslkdmb2jjd9ldb17gs1pw48k8hrl9"))))
1673 (build-system haskell-build-system)
1674 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
1675 ; enabled
1676 (home-page "https://hackage.haskell.org/package/stringbuilder")
1677 (synopsis "Writer monad for multi-line string literals")
1678 (description "This package provides a writer monad for multi-line string
1679 literals.")
1680 (license license:expat)))
1681
1682 (define-public ghc-zlib
1683 (package
1684 (name "ghc-zlib")
1685 (version "0.5.4.2")
1686 (outputs '("out" "doc"))
1687 (source
1688 (origin
1689 (method url-fetch)
1690 (uri (string-append
1691 "https://hackage.haskell.org/package/zlib/zlib-"
1692 version
1693 ".tar.gz"))
1694 (sha256
1695 (base32
1696 "15hhsk7z3gvm7sz2ic2z1ca5c6rpsln2rr391mdbm1bxlzc1gmkm"))))
1697 (build-system haskell-build-system)
1698 (inputs `(("zlib" ,zlib)))
1699 (home-page "https://hackage.haskell.org/package/zlib")
1700 (synopsis
1701 "Compression and decompression in the gzip and zlib formats")
1702 (description
1703 "This package provides a pure interface for compressing and decompressing
1704 streams of data represented as lazy 'ByteString's. It uses the zlib C library
1705 so it has high performance. It supports the 'zlib', 'gzip' and 'raw'
1706 compression formats. It provides a convenient high level API suitable for
1707 most tasks and for the few cases where more control is needed it provides
1708 access to the full zlib feature set.")
1709 (license license:bsd-3)))
1710
1711 (define-public ghc-stm
1712 (package
1713 (name "ghc-stm")
1714 (version "2.4.4")
1715 (outputs '("out" "doc"))
1716 (source
1717 (origin
1718 (method url-fetch)
1719 (uri (string-append
1720 "https://hackage.haskell.org/package/stm/stm-"
1721 version
1722 ".tar.gz"))
1723 (sha256
1724 (base32
1725 "0gc8zvdijp3rwmidkpxv76b4i0dc8dw6nbd92rxl4vxl0655iysx"))))
1726 (build-system haskell-build-system)
1727 (home-page "https://hackage.haskell.org/package/stm")
1728 (synopsis "Software Transactional Memory")
1729 (description
1730 "A modular composable concurrency abstraction.")
1731 (license license:bsd-3)))
1732
1733 (define-public ghc-parallel
1734 (package
1735 (name "ghc-parallel")
1736 (version "3.2.0.6")
1737 (outputs '("out" "doc"))
1738 (source
1739 (origin
1740 (method url-fetch)
1741 (uri (string-append
1742 "https://hackage.haskell.org/package/parallel/parallel-"
1743 version
1744 ".tar.gz"))
1745 (sha256
1746 (base32
1747 "0hp6vf4zxsw6vz6lj505xihmnfhgjp39c9q7nyzlgcmps3xx6a5r"))))
1748 (build-system haskell-build-system)
1749 (home-page "https://hackage.haskell.org/package/parallel")
1750 (synopsis "Parallel programming library")
1751 (description
1752 "This package provides a library for parallel programming.")
1753 (license license:bsd-3)))
1754
1755 (define-public ghc-text
1756 (package
1757 (name "ghc-text")
1758 (version "1.2.1.3")
1759 (outputs '("out" "doc"))
1760 (source
1761 (origin
1762 (method url-fetch)
1763 (uri (string-append
1764 "https://hackage.haskell.org/package/text/text-"
1765 version
1766 ".tar.gz"))
1767 (sha256
1768 (base32
1769 "0gzqx5cpkdhshbz9xss51mpyq23pnf8dwjz4h3irbv2ryaa4qdlq"))))
1770 (build-system haskell-build-system)
1771 (arguments
1772 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1773 (home-page "https://github.com/bos/text")
1774 (synopsis "Efficient packed Unicode text type library")
1775 (description
1776 "An efficient packed, immutable Unicode text type (both strict and
1777 lazy), with a powerful loop fusion optimization framework.
1778
1779 The 'Text' type represents Unicode character strings, in a time and
1780 space-efficient manner. This package provides text processing
1781 capabilities that are optimized for performance critical use, both
1782 in terms of large data quantities and high speed.")
1783 (license license:bsd-3)))
1784
1785 (define-public ghc-hashable
1786 (package
1787 (name "ghc-hashable")
1788 (version "1.2.3.3")
1789 (outputs '("out" "doc"))
1790 (source
1791 (origin
1792 (method url-fetch)
1793 (uri (string-append
1794 "https://hackage.haskell.org/package/hashable/hashable-"
1795 version
1796 ".tar.gz"))
1797 (sha256
1798 (base32
1799 "0kp4aj0x1iicz9qirpqxxqd8x5g1njbapxk1d90n406w3xykz4pw"))))
1800 (build-system haskell-build-system)
1801 (arguments
1802 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1803 (inputs
1804 `(("ghc-text" ,ghc-text)))
1805 (home-page "https://github.com/tibbe/hashable")
1806 (synopsis
1807 "Class for types that can be converted to a hash value")
1808 (description
1809 "This package defines a class, 'Hashable', for types that can be
1810 converted to a hash value. This class exists for the benefit of hashing-based
1811 data structures. The package provides instances for basic types and a way to
1812 combine hash values.")
1813 (license license:bsd-3)))
1814
1815 (define-public ghc-hunit
1816 (package
1817 (name "ghc-hunit")
1818 (version "1.2.5.2")
1819 (outputs '("out" "doc"))
1820 (source
1821 (origin
1822 (method url-fetch)
1823 (uri (string-append
1824 "https://hackage.haskell.org/package/HUnit/HUnit-"
1825 version
1826 ".tar.gz"))
1827 (sha256
1828 (base32
1829 "0hcs6qh8bqhip1kkjjnw7ccgcsmawdz5yvffjj5y8zd2vcsavx8a"))))
1830 (build-system haskell-build-system)
1831 (home-page "http://hunit.sourceforge.net/")
1832 (synopsis "Unit testing framework for Haskell")
1833 (description
1834 "HUnit is a unit testing framework for Haskell, inspired by the
1835 JUnit tool for Java.")
1836 (license license:bsd-3)))
1837
1838 (define-public ghc-random
1839 (package
1840 (name "ghc-random")
1841 (version "1.1")
1842 (outputs '("out" "doc"))
1843 (source
1844 (origin
1845 (method url-fetch)
1846 (uri (string-append
1847 "https://hackage.haskell.org/package/random/random-"
1848 version
1849 ".tar.gz"))
1850 (sha256
1851 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
1852 (build-system haskell-build-system)
1853 (home-page "https://hackage.haskell.org/package/random")
1854 (synopsis "Random number library")
1855 (description "This package provides a basic random number generation
1856 library, including the ability to split random number generators.")
1857 (license license:bsd-3)))
1858
1859 (define-public ghc-primitive
1860 (package
1861 (name "ghc-primitive")
1862 (version "0.6.1.0")
1863 (outputs '("out" "doc"))
1864 (source
1865 (origin
1866 (method url-fetch)
1867 (uri (string-append
1868 "https://hackage.haskell.org/package/primitive/primitive-"
1869 version
1870 ".tar.gz"))
1871 (sha256
1872 (base32
1873 "1j1q7l21rdm8kfs93vibr3xwkkhqis181w2k6klfhx5g5skiywwk"))))
1874 (build-system haskell-build-system)
1875 (home-page
1876 "https://github.com/haskell/primitive")
1877 (synopsis "Primitive memory-related operations")
1878 (description
1879 "This package provides various primitive memory-related operations.")
1880 (license license:bsd-3)))
1881
1882 (define-public ghc-test-framework
1883 (package
1884 (name "ghc-test-framework")
1885 (version "0.8.1.1")
1886 (source
1887 (origin
1888 (method url-fetch)
1889 (uri (string-append "https://hackage.haskell.org/package/test-framework/"
1890 "test-framework-" version ".tar.gz"))
1891 (sha256
1892 (base32
1893 "0wxjgdvb1c4ykazw774zlx86550848wbsvgjgcrdzcgbb9m650vq"))))
1894 (build-system haskell-build-system)
1895 (native-inputs
1896 `(("ghc-hunit" ,ghc-hunit)
1897 ("ghc-quickcheck" ,ghc-quickcheck)))
1898 (inputs
1899 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
1900 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
1901 ("ghc-hostname" ,ghc-hostname)
1902 ("ghc-old-locale" ,ghc-old-locale)
1903 ("ghc-random" ,ghc-random)
1904 ("ghc-regex-posix" ,ghc-regex-posix)
1905 ("ghc-xml" ,ghc-xml)
1906 ("ghc-libxml" ,ghc-libxml)))
1907 (home-page "https://batterseapower.github.io/test-framework/")
1908 (synopsis "Framework for running and organising tests")
1909 (description
1910 "This package allows tests such as QuickCheck properties and HUnit test
1911 cases to be assembled into test groups, run in parallel (but reported in
1912 deterministic order, to aid diff interpretation) and filtered and controlled
1913 by command line options. All of this comes with colored test output, progress
1914 reporting and test statistics output.")
1915 (license license:bsd-3)))
1916
1917 (define-public ghc-test-framework-hunit
1918 (package
1919 (name "ghc-test-framework-hunit")
1920 (version "0.3.0.1")
1921 (source
1922 (origin
1923 (method url-fetch)
1924 (uri (string-append "https://hackage.haskell.org/package/"
1925 "test-framework-hunit/test-framework-hunit-"
1926 version ".tar.gz"))
1927 (sha256
1928 (base32
1929 "1h0h55kf6ff25nbfx1mhliwyknc0glwv3zi78wpzllbjbs7gvyfk"))))
1930 (build-system haskell-build-system)
1931 (inputs
1932 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
1933 ("ghc-hunit" ,ghc-hunit)
1934 ("ghc-test-framework" ,ghc-test-framework)))
1935 (home-page "https://batterseapower.github.io/test-framework/")
1936 (synopsis "HUnit support for test-framework")
1937 (description
1938 "This package provides HUnit support for the test-framework package.")
1939 (license license:bsd-3)))
1940
1941 (define-public ghc-test-framework-quickcheck2
1942 (package
1943 (name "ghc-test-framework-quickcheck2")
1944 (version "0.3.0.3")
1945 (source
1946 (origin
1947 (method url-fetch)
1948 (uri (string-append "https://hackage.haskell.org/package/"
1949 "test-framework-quickcheck2/"
1950 "test-framework-quickcheck2-" version ".tar.gz"))
1951 (sha256
1952 (base32
1953 "12p1zwrsz35r3j5gzbvixz9z1h5643rhihf5gqznmc991krwd5nc"))
1954 (modules '((guix build utils)))
1955 (snippet
1956 ;; The Hackage page and the cabal file linked there for this package
1957 ;; both list 2.9 as the upper version limit, but the source tarball
1958 ;; specifies 2.8. Assume the Hackage page is correct.
1959 '(substitute* "test-framework-quickcheck2.cabal"
1960 (("QuickCheck >= 2.4 && < 2.8") "QuickCheck >= 2.4 && < 2.9")))))
1961 (build-system haskell-build-system)
1962 (inputs
1963 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
1964 ("ghc-quickcheck" ,ghc-quickcheck)
1965 ("ghc-random" ,ghc-random)
1966 ("ghc-test-framework" ,ghc-test-framework)))
1967 (home-page "https://batterseapower.github.io/test-framework/")
1968 (synopsis "QuickCheck2 support for test-framework")
1969 (description
1970 "This packages provides QuickCheck2 support for the test-framework
1971 package.")
1972 (license license:bsd-3)))
1973
1974 (define-public ghc-tf-random
1975 (package
1976 (name "ghc-tf-random")
1977 (version "0.5")
1978 (outputs '("out" "doc"))
1979 (source
1980 (origin
1981 (method url-fetch)
1982 (uri (string-append
1983 "https://hackage.haskell.org/package/tf-random/tf-random-"
1984 version
1985 ".tar.gz"))
1986 (sha256
1987 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
1988 (build-system haskell-build-system)
1989 (inputs
1990 `(("ghc-primitive" ,ghc-primitive)
1991 ("ghc-random" ,ghc-random)))
1992 (home-page "https://hackage.haskell.org/package/tf-random")
1993 (synopsis "High-quality splittable pseudorandom number generator")
1994 (description "This package contains an implementation of a high-quality
1995 splittable pseudorandom number generator. The generator is based on a
1996 cryptographic hash function built on top of the ThreeFish block cipher. See
1997 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
1998 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
1999 (license license:bsd-3)))
2000
2001 (define-public ghc-transformers-base
2002 (package
2003 (name "ghc-transformers-base")
2004 (version "0.4.4")
2005 (source
2006 (origin
2007 (method url-fetch)
2008 (uri (string-append
2009 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
2010 version
2011 ".tar.gz"))
2012 (sha256
2013 (base32
2014 "11r3slgpgpra6zi2kjg3g60gvv17b1fh6qxipcpk8n86qx7lk8va"))))
2015 (build-system haskell-build-system)
2016 (inputs
2017 `(("ghc-stm" ,ghc-stm)
2018 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2019 (home-page
2020 "https://hackage.haskell.org/package/transformers-compat")
2021 (synopsis
2022 "Backported transformer library")
2023 (description
2024 "Backported versions of types that were added to transformers in
2025 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
2026 compatibility to run on old versions of the platform.")
2027 (license license:bsd-3)))
2028
2029 (define-public ghc-transformers-compat
2030 (package
2031 (name "ghc-transformers-compat")
2032 (version "0.4.0.4")
2033 (source
2034 (origin
2035 (method url-fetch)
2036 (uri (string-append
2037 "https://hackage.haskell.org/package/transformers-compat"
2038 "/transformers-compat-" version ".tar.gz"))
2039 (sha256
2040 (base32
2041 "0lmg8ry6bgigb0v2lg0n74lxi8z5m85qq0qi4h1k9llyjb4in8ym"))))
2042 (build-system haskell-build-system)
2043 (home-page "https://github.com/ekmett/transformers-compat/")
2044 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
2045 (description "This package includes backported versions of types that were
2046 added to transformers in transformers 0.3 and 0.4 for users who need strict
2047 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
2048 but also need those types.")
2049 (license license:bsd-3)))
2050
2051 (define-public ghc-unix-time
2052 (package
2053 (name "ghc-unix-time")
2054 (version "0.3.6")
2055 (source
2056 (origin
2057 (method url-fetch)
2058 (uri (string-append
2059 "https://hackage.haskell.org/package/unix-time/unix-time-"
2060 version
2061 ".tar.gz"))
2062 (sha256
2063 (base32
2064 "0dyvyxwaffb94bgri1wc4b9wqaasy32pyjn0lww3dqblxv8fn5ax"))))
2065 (build-system haskell-build-system)
2066 (arguments
2067 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
2068 ; is weird, that should be provided by GHC 7.10.2.
2069 (inputs
2070 `(("ghc-old-time" ,ghc-old-time)
2071 ("ghc-old-locale" ,ghc-old-locale)))
2072 (home-page "https://hackage.haskell.org/package/unix-time")
2073 (synopsis "Unix time parser/formatter and utilities")
2074 (description "This library provides fast parsing and formatting utilities
2075 for Unix time in Haskell.")
2076 (license license:bsd-3)))
2077
2078 (define-public ghc-unix-compat
2079 (package
2080 (name "ghc-unix-compat")
2081 (version "0.4.1.4")
2082 (source
2083 (origin
2084 (method url-fetch)
2085 (uri (string-append
2086 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
2087 version
2088 ".tar.gz"))
2089 (sha256
2090 (base32
2091 "0jxk7j5pz2kgfpqr4hznndjg31pqj5xg2qfc5308fcn9xyg1myps"))))
2092 (build-system haskell-build-system)
2093 (home-page
2094 "https://github.com/jystic/unix-compat")
2095 (synopsis "Portable POSIX-compatibility layer")
2096 (description
2097 "This package provides portable implementations of parts of the unix
2098 package. This package re-exports the unix package when available. When it
2099 isn't available, portable implementations are used.")
2100 (license license:bsd-3)))
2101
2102 (define-public ghc-http-types
2103 (package
2104 (name "ghc-http-types")
2105 (version "0.9")
2106 (source
2107 (origin
2108 (method url-fetch)
2109 (uri (string-append
2110 "https://hackage.haskell.org/package/http-types/http-types-"
2111 version
2112 ".tar.gz"))
2113 (sha256
2114 (base32
2115 "0ny15jgm5skhs2yx6snr13lrnw19hwjgfygrpsmhib8wqa8cz8cc"))))
2116 (build-system haskell-build-system)
2117 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find
2118 ; Blaze.Bytestring.Builder, which should be
2119 ; provided by ghc-blaze-builder.
2120 (inputs
2121 `(("ghc-case-insensitive" ,ghc-case-insensitive)
2122 ("ghc-blaze-builder" ,ghc-blaze-builder)
2123 ("ghc-text" ,ghc-text)))
2124 (home-page "https://github.com/aristidb/http-types")
2125 (synopsis "Generic HTTP types for Haskell")
2126 (description "This package provides generic HTTP types for Haskell (for
2127 both client and server code).")
2128 (license license:bsd-3)))
2129
2130 (define-public ghc-indents
2131 (package
2132 (name "ghc-indents")
2133 (version "0.3.3")
2134 (source (origin
2135 (method url-fetch)
2136 (uri (string-append
2137 "https://hackage.haskell.org/package/indents/indents-"
2138 version ".tar.gz"))
2139 (sha256
2140 (base32
2141 "16lz21bp9j14xilnq8yym22p3saxvc9fsgfcf5awn2a6i6n527xn"))))
2142 (build-system haskell-build-system)
2143 (inputs
2144 `(("ghc-parsec" ,ghc-parsec)
2145 ("ghc-concatenative" ,ghc-concatenative)
2146 ("ghc-mtl" ,ghc-mtl)))
2147 (home-page "http://patch-tag.com/r/salazar/indents")
2148 (synopsis "Indentation sensitive parser-combinators for parsec")
2149 (description
2150 "This library provides functions for use in parsing indentation sensitive
2151 contexts. It parses blocks of lines all indented to the same level as well as
2152 lines continued at an indented level below.")
2153 (license license:bsd-3)))
2154
2155 (define-public ghc-iproute
2156 (package
2157 (name "ghc-iproute")
2158 (version "1.7.0")
2159 (source
2160 (origin
2161 (method url-fetch)
2162 (uri (string-append
2163 "https://hackage.haskell.org/package/iproute/iproute-"
2164 version
2165 ".tar.gz"))
2166 (sha256
2167 (base32
2168 "1ply0i110c2sppjbfyysgw48jfjnsbam5zwil8xws0hp20rh1pb5"))))
2169 (build-system haskell-build-system)
2170 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
2171 ; exported by ghc-byteorder. Doctest issue.
2172 (inputs
2173 `(("ghc-appar" ,ghc-appar)
2174 ("ghc-byteorder" ,ghc-byteorder)
2175 ("ghc-network" ,ghc-network)
2176 ("ghc-safe" ,ghc-safe)))
2177 (home-page "http://www.mew.org/~kazu/proj/iproute/")
2178 (synopsis "IP routing table")
2179 (description "IP Routing Table is a tree of IP ranges to search one of
2180 them on the longest match base. It is a kind of TRIE with one way branching
2181 removed. Both IPv4 and IPv6 are supported.")
2182 (license license:bsd-3)))
2183
2184 (define-public ghc-regex-base
2185 (package
2186 (name "ghc-regex-base")
2187 (version "0.93.2")
2188 (source
2189 (origin
2190 (method url-fetch)
2191 (uri (string-append
2192 "https://hackage.haskell.org/package/regex-base/regex-base-"
2193 version
2194 ".tar.gz"))
2195 (sha256
2196 (base32
2197 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
2198 (build-system haskell-build-system)
2199 (inputs
2200 `(("ghc-mtl" ,ghc-mtl)))
2201 (home-page
2202 "http://sourceforge.net/projects/lazy-regex")
2203 (synopsis "Replaces/Enhances Text.Regex")
2204 (description "@code{Text.Regex.Base} provides the interface API for
2205 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
2206 (license license:bsd-3)))
2207
2208 (define-public ghc-regex-posix
2209 (package
2210 (name "ghc-regex-posix")
2211 (version "0.95.2")
2212 (source
2213 (origin
2214 (method url-fetch)
2215 (uri (string-append
2216 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
2217 version
2218 ".tar.gz"))
2219 (sha256
2220 (base32
2221 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
2222 (build-system haskell-build-system)
2223 (inputs
2224 `(("ghc-regex-base" ,ghc-regex-base)))
2225 (home-page "http://sourceforge.net/projects/lazy-regex")
2226 (synopsis "POSIX regular expressions for Haskell")
2227 (description "This library provides the POSIX regex backend used by the
2228 Haskell library @code{regex-base}.")
2229 (license license:bsd-3)))
2230
2231 (define-public ghc-regex-compat
2232 (package
2233 (name "ghc-regex-compat")
2234 (version "0.95.1")
2235 (source
2236 (origin
2237 (method url-fetch)
2238 (uri (string-append
2239 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
2240 version
2241 ".tar.gz"))
2242 (sha256
2243 (base32
2244 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
2245 (build-system haskell-build-system)
2246 (inputs
2247 `(("ghc-regex-base" ,ghc-regex-base)
2248 ("ghc-regex-posix" ,ghc-regex-posix)))
2249 (home-page "http://sourceforge.net/projects/lazy-regex")
2250 (synopsis "Replaces/Enhances Text.Regex")
2251 (description "This library provides one module layer over
2252 @code{regex-posix} to replace @code{Text.Regex}.")
2253 (license license:bsd-3)))
2254
2255 (define-public ghc-regex-tdfa-rc
2256 (package
2257 (name "ghc-regex-tdfa-rc")
2258 (version "1.1.8.3")
2259 (source
2260 (origin
2261 (method url-fetch)
2262 (uri (string-append
2263 "https://hackage.haskell.org/package/regex-tdfa-rc/regex-tdfa-rc-"
2264 version
2265 ".tar.gz"))
2266 (sha256
2267 (base32
2268 "1vi11i23gkkjg6193ak90g55akj69bhahy542frkwb68haky4pp3"))))
2269 (build-system haskell-build-system)
2270 (inputs
2271 `(("ghc-regex-base" ,ghc-regex-base)
2272 ("ghc-parsec" ,ghc-parsec)
2273 ("ghc-mtl" ,ghc-mtl)))
2274 (home-page
2275 "https://hackage.haskell.org/package/regex-tdfa")
2276 (synopsis "Tagged DFA regex engine for Haskell")
2277 (description "A new all-Haskell \"tagged\" DFA regex engine, inspired by
2278 @code{libtre} (fork by Roman Cheplyaka).")
2279 (license license:bsd-3)))
2280
2281 (define-public ghc-parsers
2282 (package
2283 (name "ghc-parsers")
2284 (version "0.12.3")
2285 (source
2286 (origin
2287 (method url-fetch)
2288 (uri (string-append
2289 "https://hackage.haskell.org/package/parsers/parsers-"
2290 version
2291 ".tar.gz"))
2292 (sha256
2293 (base32
2294 "18wzmp8y3py4qa8hdsxqm0jfzmwy744dw7xa48r5s8ynhpimi462"))))
2295 (build-system haskell-build-system)
2296 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2297 ; -package attoparsec-0.13.0.1"
2298 (inputs
2299 `(("ghc-base-orphans" ,ghc-base-orphans)
2300 ("ghc-attoparsec" ,ghc-attoparsec)
2301 ("ghc-parsec" ,ghc-parsec)
2302 ("ghc-scientific" ,ghc-scientific)
2303 ("ghc-charset" ,ghc-charset)
2304 ("ghc-text" ,ghc-text)
2305 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2306 (home-page "https://github.com/ekmett/parsers/")
2307 (synopsis "Parsing combinators")
2308 (description "This library provides convenient combinators for working
2309 with and building parsing combinator libraries. Given a few simple instances,
2310 you get access to a large number of canned definitions. Instances exist for
2311 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
2312 @code{Text.Read}.")
2313 (license license:bsd-3)))
2314
2315 (define-public ghc-trifecta
2316 (package
2317 (name "ghc-trifecta")
2318 (version "1.5.2")
2319 (source
2320 (origin
2321 (method url-fetch)
2322 (uri (string-append
2323 "https://hackage.haskell.org/package/trifecta/trifecta-"
2324 version
2325 ".tar.gz"))
2326 (sha256
2327 (base32
2328 "0fjhnsbafl3yw34pyhcsvrqy6a2mnhyqys6gna3rrlygs8ck7hpb"))))
2329 (build-system haskell-build-system)
2330 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2331 ; -package ansi-terminal-0.6.2.3"
2332 (inputs
2333 `(("ghc-charset" ,ghc-charset)
2334 ("ghc-comonad" ,ghc-comonad)
2335 ("ghc-lens" ,ghc-lens)
2336 ("ghc-profunctors" ,ghc-profunctors)
2337 ("ghc-reducers" ,ghc-reducers)
2338 ("ghc-semigroups" ,ghc-semigroups)
2339 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
2340 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2341 ("ghc-blaze-builder" ,ghc-blaze-builder)
2342 ("ghc-blaze-html" ,ghc-blaze-html)
2343 ("ghc-blaze-markup" ,ghc-blaze-markup)
2344 ("ghc-fingertree" ,ghc-fingertree)
2345 ("ghc-hashable" ,ghc-hashable)
2346 ("ghc-mtl" ,ghc-mtl)
2347 ("ghc-parsers" ,ghc-parsers)
2348 ("ghc-unordered-containers" ,ghc-unordered-containers)
2349 ("ghc-utf8-string" ,ghc-utf8-string)))
2350 (home-page "https://github.com/ekmett/trifecta/")
2351 (synopsis "Parser combinator library with convenient diagnostics")
2352 (description "Trifecta is a modern parser combinator library for Haskell,
2353 with slicing and Clang-style colored diagnostics.")
2354 (license license:bsd-3)))
2355
2356 (define-public ghc-attoparsec
2357 (package
2358 (name "ghc-attoparsec")
2359 (version "0.13.0.1")
2360 (source
2361 (origin
2362 (method url-fetch)
2363 (uri (string-append
2364 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
2365 version
2366 ".tar.gz"))
2367 (sha256
2368 (base32
2369 "0cprkr7bl4lrr80pz8mryb4rbfwdgpsrl7g0fbcaybhl8p5hm26f"))))
2370 (build-system haskell-build-system)
2371 (inputs
2372 `(("ghc-scientific" ,ghc-scientific)
2373 ("ghc-text" ,ghc-text)))
2374 (native-inputs
2375 `(("ghc-quickcheck" ,ghc-quickcheck)
2376 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
2377 ("ghc-test-framework" ,ghc-test-framework)
2378 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
2379 ("ghc-vector" ,ghc-vector)))
2380 (home-page "https://github.com/bos/attoparsec")
2381 (synopsis "Fast combinator parsing for bytestrings and text")
2382 (description "This library provides a fast parser combinator library,
2383 aimed particularly at dealing efficiently with network protocols and
2384 complicated text/binary file formats.")
2385 (license license:bsd-3)))
2386
2387 (define-public ghc-css-text
2388 (package
2389 (name "ghc-css-text")
2390 (version "0.1.2.1")
2391 (source
2392 (origin
2393 (method url-fetch)
2394 (uri (string-append
2395 "https://hackage.haskell.org/package/css-text/css-text-"
2396 version
2397 ".tar.gz"))
2398 (sha256
2399 (base32
2400 "1xi1n2f0g8y43p95lynhcg50wxbq7hqfzbfzm7fy8mn7gvd920nw"))))
2401 (build-system haskell-build-system)
2402 (inputs
2403 `(("ghc-text" ,ghc-text)
2404 ("ghc-attoparsec" ,ghc-attoparsec)
2405 ("ghc-hspec" ,ghc-hspec)
2406 ("ghc-quickcheck" ,ghc-quickcheck)))
2407 (home-page "http://www.yesodweb.com/")
2408 (synopsis "CSS parser and renderer")
2409 (description "This package provides a CSS parser and renderer for
2410 Haskell.")
2411 (license license:bsd-3)))
2412
2413 (define-public ghc-zip-archive
2414 (package
2415 (name "ghc-zip-archive")
2416 (version "0.2.3.7")
2417 (source
2418 (origin
2419 (method url-fetch)
2420 (uri (string-append
2421 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
2422 version
2423 ".tar.gz"))
2424 (sha256
2425 (base32
2426 "169nkxr5zlbymiz1ydlhlqr66vqiycmg85xh559phpkr64w3nqj1"))))
2427 (build-system haskell-build-system)
2428 (inputs
2429 `(("ghc-old-time" ,ghc-old-time)
2430 ("ghc-digest" ,ghc-digest)
2431 ("zip" ,zip)
2432 ("ghc-mtl" ,ghc-mtl)
2433 ("ghc-text" ,ghc-text)
2434 ("ghc-zlib" ,ghc-zlib)))
2435 (native-inputs
2436 `(("ghc-hunit" ,ghc-hunit)))
2437 (home-page "https://hackage.haskell.org/package/zip-archive")
2438 (synopsis "Zip archive library for Haskell")
2439 (description "The zip-archive library provides functions for creating,
2440 modifying, and extracting files from zip archives in Haskell.")
2441 (license license:bsd-3)))
2442
2443 (define-public ghc-distributive
2444 (package
2445 (name "ghc-distributive")
2446 (version "0.4.4")
2447 (source
2448 (origin
2449 (method url-fetch)
2450 (uri (string-append
2451 "https://hackage.haskell.org/package/distributive/distributive-"
2452 version
2453 ".tar.gz"))
2454 (sha256
2455 (base32
2456 "0s2ln9jv7bh4ri2y31178pvjl8x6nik5d0klx7j2b77yjlsgblc2"))))
2457 (build-system haskell-build-system)
2458 (arguments `(#:tests? #f)) ; FIXME: fails with "cannot satisfy -package
2459 ; tagged-0.8.1". Suspected Cabal issue.
2460 (inputs
2461 `(("ghc-tagged" ,ghc-tagged)
2462 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2463 (home-page "https://github.com/ekmett/distributive/")
2464 (synopsis "Distributive functors for Haskell")
2465 (description "This package provides distributive functors for Haskell.
2466 Dual to @code{Traversable}.")
2467 (license license:bsd-3)))
2468
2469 (define-public ghc-cereal
2470 (package
2471 (name "ghc-cereal")
2472 (version "0.4.1.1")
2473 (source
2474 (origin
2475 (method url-fetch)
2476 (uri (string-append
2477 "https://hackage.haskell.org/package/cereal/cereal-"
2478 version
2479 ".tar.gz"))
2480 (sha256
2481 (base32
2482 "15rhfn9hrjm01ksh9xpz9syxsp9vkvpp6b736iqq38wv2wb7416z"))))
2483 (build-system haskell-build-system)
2484 (home-page "https://hackage.haskell.org/package/cereal")
2485 (synopsis "Binary serialization library")
2486 (description "This package provides a binary serialization library,
2487 similar to @code{binary}, that introduces an @code{isolate} primitive for
2488 parser isolation, and labeled blocks for better error messages.")
2489 (license license:bsd-3)))
2490
2491 (define-public ghc-comonad
2492 (package
2493 (name "ghc-comonad")
2494 (version "4.2.7.2")
2495 (source
2496 (origin
2497 (method url-fetch)
2498 (uri (string-append
2499 "https://hackage.haskell.org/package/comonad/comonad-"
2500 version
2501 ".tar.gz"))
2502 (sha256
2503 (base32
2504 "0arvbaxgkawzdp38hh53akkahjg2aa3kj2b4ns0ni8a5ylg2cqmp"))))
2505 (build-system haskell-build-system)
2506 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2507 ; -package contravariant-1.3.3"
2508 (inputs
2509 `(("ghc-distributive" ,ghc-distributive)
2510 ("ghc-transformers-compat" ,ghc-transformers-compat)
2511 ("ghc-contravariant" ,ghc-contravariant)
2512 ("ghc-semigroups" ,ghc-semigroups)
2513 ("ghc-tagged" ,ghc-tagged)
2514 ("ghc-contravariant" ,ghc-contravariant)))
2515 (home-page "https://github.com/ekmett/comonad/")
2516 (synopsis "Comonads for Haskell")
2517 (description "This library provides @code{Comonad}s for Haskell.")
2518 (license license:bsd-3)))
2519
2520 (define-public hscolour
2521 (package
2522 (name "hscolour")
2523 (version "1.23")
2524 (source
2525 (origin
2526 (method url-fetch)
2527 (uri (string-append
2528 "https://hackage.haskell.org/package/hscolour/hscolour-"
2529 version
2530 ".tar.gz"))
2531 (sha256
2532 (base32
2533 "1c4i2zpami8g3w9949nm3f92g7xwh5c94vkx658zz7ihrjp7w5lp"))))
2534 (build-system haskell-build-system)
2535 (home-page "https://hackage.haskell.org/package/hscolour")
2536 (synopsis "Script to colourise Haskell code")
2537 (description "HSColour is a small Haskell script to colourise Haskell
2538 code. It currently has six output formats: ANSI terminal codes (optionally
2539 XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
2540 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
2541 and mIRC chat codes.")
2542 (license license:bsd-3)))
2543
2544 (define-public ghc-polyparse
2545 (package
2546 (name "ghc-polyparse")
2547 (version "1.11")
2548 (source
2549 (origin
2550 (method url-fetch)
2551 (uri (string-append
2552 "https://hackage.haskell.org/package/polyparse/polyparse-"
2553 version
2554 ".tar.gz"))
2555 (sha256
2556 (base32
2557 "1z417f80b0jm4dgv25fk408p3d9mmcd1dlbya3ry0zdx4md09vrh"))))
2558 (build-system haskell-build-system)
2559 (inputs
2560 `(("ghc-text" ,ghc-text)))
2561 (home-page
2562 "http://code.haskell.org/~malcolm/polyparse/")
2563 (synopsis
2564 "Alternative parser combinator libraries")
2565 (description
2566 "This package provides a variety of alternative parser combinator
2567 libraries, including the original HuttonMeijer set. The Poly sets have
2568 features like good error reporting, arbitrary token type, running state, lazy
2569 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
2570 standard Read class, for better deserialisation of Haskell values from
2571 Strings.")
2572 (license license:lgpl2.1)))
2573
2574 (define-public ghc-extra
2575 (package
2576 (name "ghc-extra")
2577 (version "1.4.2")
2578 (source
2579 (origin
2580 (method url-fetch)
2581 (uri (string-append
2582 "https://hackage.haskell.org/package/extra/extra-"
2583 version
2584 ".tar.gz"))
2585 (sha256
2586 (base32
2587 "1h9hxkrqrqscx420yz1lmivbrhi6jc3a5ap61vkxd2mhdgark9hf"))))
2588 (build-system haskell-build-system)
2589 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
2590 (home-page "https://github.com/ndmitchell/extra")
2591 (synopsis "Extra Haskell functions")
2592 (description "This library provides extra functions for the standard
2593 Haskell libraries. Most functions are simple additions, filling out missing
2594 functionality. A few functions are available in later versions of GHC, but
2595 this package makes them available back to GHC 7.2.")
2596 (license license:bsd-3)))
2597
2598 (define-public ghc-profunctors
2599 (package
2600 (name "ghc-profunctors")
2601 (version "5.1.1")
2602 (source
2603 (origin
2604 (method url-fetch)
2605 (uri (string-append
2606 "https://hackage.haskell.org/package/profunctors/profunctors-"
2607 version
2608 ".tar.gz"))
2609 (sha256
2610 (base32
2611 "0lw2ipacpnp9yqmi8zsp01pzpn5hwj8af3y0f3079mddrmw48gw7"))))
2612 (build-system haskell-build-system)
2613 (inputs
2614 `(("ghc-distributive" ,ghc-distributive)
2615 ("ghc-comonad" ,ghc-comonad)
2616 ("ghc-tagged" ,ghc-tagged)))
2617 (home-page "https://github.com/ekmett/profunctors/")
2618 (synopsis "Profunctors for Haskell")
2619 (description "This library provides profunctors for Haskell.")
2620 (license license:bsd-3)))
2621
2622 (define-public ghc-reducers
2623 (package
2624 (name "ghc-reducers")
2625 (version "3.12.1")
2626 (source
2627 (origin
2628 (method url-fetch)
2629 (uri (string-append
2630 "https://hackage.haskell.org/package/reducers/reducers-"
2631 version
2632 ".tar.gz"))
2633 (sha256
2634 (base32
2635 "0pkddg0s3cn759miq0nfrq7lnp3imk5sx784ihsilsbjh9kvffz4"))))
2636 (build-system haskell-build-system)
2637 (inputs
2638 `(("ghc-fingertree" ,ghc-fingertree)
2639 ("ghc-hashable" ,ghc-hashable)
2640 ("ghc-text" ,ghc-text)
2641 ("ghc-unordered-containers" ,ghc-unordered-containers)
2642 ("ghc-semigroupoids" ,ghc-semigroupoids)
2643 ("ghc-semigroups" ,ghc-semigroups)))
2644 (home-page "https://github.com/ekmett/reducers/")
2645 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
2646 (description "This library provides various semigroups, specialized
2647 containers and a general map/reduce framework for Haskell.")
2648 (license license:bsd-3)))
2649
2650 (define-public ghc-appar
2651 (package
2652 (name "ghc-appar")
2653 (version "0.1.4")
2654 (source
2655 (origin
2656 (method url-fetch)
2657 (uri (string-append
2658 "https://hackage.haskell.org/package/appar/appar-"
2659 version
2660 ".tar.gz"))
2661 (sha256
2662 (base32
2663 "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq"))))
2664 (build-system haskell-build-system)
2665 (home-page
2666 "https://hackage.haskell.org/package/appar")
2667 (synopsis "Simple applicative parser")
2668 (description "This package provides a simple applicative parser in Parsec
2669 style.")
2670 (license license:bsd-3)))
2671
2672 (define-public ghc-safe
2673 (package
2674 (name "ghc-safe")
2675 (version "0.3.9")
2676 (source
2677 (origin
2678 (method url-fetch)
2679 (uri (string-append
2680 "https://hackage.haskell.org/package/safe/safe-"
2681 version
2682 ".tar.gz"))
2683 (sha256
2684 (base32
2685 "1jdnp5zhvalf1xy8i872n29nljfjz6lnl9ghj80ffisrnnkrwcfh"))))
2686 (build-system haskell-build-system)
2687 (home-page "https://github.com/ndmitchell/safe#readme")
2688 (synopsis "Library of safe (exception free) functions")
2689 (description "This library provides wrappers around @code{Prelude} and
2690 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
2691 exceptions.")
2692 (license license:bsd-3)))
2693
2694 (define-public ghc-generic-deriving
2695 (package
2696 (name "ghc-generic-deriving")
2697 (version "1.8.0")
2698 (source
2699 (origin
2700 (method url-fetch)
2701 (uri (string-append
2702 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
2703 version
2704 ".tar.gz"))
2705 (sha256
2706 (base32
2707 "1kc6lhdanls6kgpk8xv5xi14lz1sngcd8xn930hkf7ilq4kxkcr6"))))
2708 (build-system haskell-build-system)
2709 (home-page "https://hackage.haskell.org/package/generic-deriving")
2710 (synopsis "Generalise the deriving mechanism to arbitrary classes")
2711 (description "This package provides functionality for generalising the
2712 deriving mechanism in Haskell to arbitrary classes.")
2713 (license license:bsd-3)))
2714
2715 (define-public ghc-pcre-light
2716 (package
2717 (name "ghc-pcre-light")
2718 (version "0.4.0.3")
2719 (source
2720 (origin
2721 (method url-fetch)
2722 (uri (string-append
2723 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
2724 version
2725 ".tar.gz"))
2726 (sha256
2727 (base32
2728 "0l1df2sk5qwf424bvb8mbdkr2xjg43fi92n5r22yd7vm1zz0jqvf"))))
2729 (build-system haskell-build-system)
2730 (inputs
2731 `(("pcre" ,pcre)))
2732 (home-page "https://github.com/Daniel-Diaz/pcre-light")
2733 (synopsis "Haskell library for Perl 5 compatible regular expressions")
2734 (description "This package provides a small, efficient, and portable regex
2735 library for Perl 5 compatible regular expressions. The PCRE library is a set
2736 of functions that implement regular expression pattern matching using the same
2737 syntax and semantics as Perl 5.")
2738 (license license:bsd-3)))
2739
2740 (define-public ghc-logict
2741 (package
2742 (name "ghc-logict")
2743 (version "0.6.0.2")
2744 (source
2745 (origin
2746 (method url-fetch)
2747 (uri (string-append
2748 "https://hackage.haskell.org/package/logict/logict-"
2749 version
2750 ".tar.gz"))
2751 (sha256
2752 (base32
2753 "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi"))))
2754 (build-system haskell-build-system)
2755 (inputs `(("ghc-mtl" ,ghc-mtl)))
2756 (home-page "http://code.haskell.org/~dolio/")
2757 (synopsis "Backtracking logic-programming monad")
2758 (description "This library provides a continuation-based, backtracking,
2759 logic programming monad. An adaptation of the two-continuation implementation
2760 found in the paper \"Backtracking, Interleaving, and Terminating Monad
2761 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
2762 online}.")
2763 (license license:bsd-3)))
2764
2765 (define-public ghc-xml
2766 (package
2767 (name "ghc-xml")
2768 (version "1.3.14")
2769 (source
2770 (origin
2771 (method url-fetch)
2772 (uri (string-append
2773 "https://hackage.haskell.org/package/xml/xml-"
2774 version
2775 ".tar.gz"))
2776 (sha256
2777 (base32
2778 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
2779 (build-system haskell-build-system)
2780 (inputs
2781 `(("ghc-text" ,ghc-text)))
2782 (home-page "http://code.galois.com")
2783 (synopsis "Simple XML library for Haskell")
2784 (description "This package provides a simple XML library for Haskell.")
2785 (license license:bsd-3)))
2786
2787 (define-public ghc-exceptions
2788 (package
2789 (name "ghc-exceptions")
2790 (version "0.8.0.2")
2791 (source
2792 (origin
2793 (method url-fetch)
2794 (uri (string-append
2795 "https://hackage.haskell.org/package/exceptions/exceptions-"
2796 version
2797 ".tar.gz"))
2798 (sha256
2799 (base32
2800 "1x1bk1jf42k1gigiqqmkkh38z2ffhx8rsqiszdq3f94m2h6kw2h7"))))
2801 (build-system haskell-build-system)
2802 (arguments `(#:tests? #f)) ; FIXME: Missing test-framework package.
2803 (inputs
2804 `(("ghc-stm" ,ghc-stm)
2805 ("ghc-mtl" ,ghc-mtl)
2806 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2807 (home-page "https://github.com/ekmett/exceptions/")
2808 (synopsis "Extensible optionally-pure exceptions")
2809 (description "This library provides extensible optionally-pure exceptions
2810 for Haskell.")
2811 (license license:bsd-3)))
2812
2813 (define-public ghc-temporary
2814 (package
2815 (name "ghc-temporary")
2816 (version "1.2.0.3")
2817 (source
2818 (origin
2819 (method url-fetch)
2820 (uri (string-append
2821 "https://hackage.haskell.org/package/temporary/temporary-"
2822 version
2823 ".tar.gz"))
2824 (sha256
2825 (base32
2826 "0is67bmsjmbbw6wymhis8wyq9gax3sszm573p5719fx2c9z9r24a"))))
2827 (build-system haskell-build-system)
2828 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
2829 (home-page "http://www.github.com/batterseapower/temporary")
2830 (synopsis "Temporary file and directory support")
2831 (description "The functions for creating temporary files and directories
2832 in the Haskelll base library are quite limited. This library just repackages
2833 the Cabal implementations of its own temporary file and folder functions so
2834 that you can use them without linking against Cabal or depending on it being
2835 installed.")
2836 (license license:bsd-3)))
2837
2838 (define-public ghc-temporary-rc
2839 (package
2840 (name "ghc-temporary-rc")
2841 (version "1.2.0.3")
2842 (source
2843 (origin
2844 (method url-fetch)
2845 (uri (string-append
2846 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
2847 version
2848 ".tar.gz"))
2849 (sha256
2850 (base32
2851 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
2852 (build-system haskell-build-system)
2853 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
2854 (home-page
2855 "http://www.github.com/feuerbach/temporary")
2856 (synopsis
2857 "Portable temporary file and directory support")
2858 (description
2859 "The functions for creating temporary files and directories in the base
2860 library are quite limited. The unixutils package contains some good ones, but
2861 they aren't portable to Windows. This library just repackages the Cabal
2862 implementations of its own temporary file and folder functions so that you can
2863 use them without linking against Cabal or depending on it being installed.
2864 This is a better maintained fork of the \"temporary\" package.")
2865 (license license:bsd-3)))
2866
2867 (define-public ghc-smallcheck
2868 (package
2869 (name "ghc-smallcheck")
2870 (version "1.1.1")
2871 (source
2872 (origin
2873 (method url-fetch)
2874 (uri (string-append
2875 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
2876 version
2877 ".tar.gz"))
2878 (sha256
2879 (base32
2880 "1ygrabxh40bym3grnzqyfqn96lirnxspb8cmwkkr213239y605sd"))))
2881 (build-system haskell-build-system)
2882 (inputs
2883 `(("ghc-logict" ,ghc-logict)
2884 ("ghc-mtl" ,ghc-mtl)))
2885 (home-page
2886 "https://github.com/feuerbach/smallcheck")
2887 (synopsis "Property-based testing library")
2888 (description "SmallCheck is a testing library that allows to verify
2889 properties for all test cases up to some depth. The test cases are generated
2890 automatically by SmallCheck.")
2891 (license license:bsd-3)))
2892
2893 (define-public ghc-tasty-ant-xml
2894 (package
2895 (name "ghc-tasty-ant-xml")
2896 (version "1.0.2")
2897 (source
2898 (origin
2899 (method url-fetch)
2900 (uri (string-append
2901 "https://hackage.haskell.org/package/tasty-ant-xml/tasty-ant-xml-"
2902 version
2903 ".tar.gz"))
2904 (sha256
2905 (base32
2906 "0pgz2lclg2hp72ykljcbxd88pjanfdfk8m5vb2qzcyjr85kwrhxv"))))
2907 (build-system haskell-build-system)
2908 (inputs
2909 `(("ghc-generic-deriving" ,ghc-generic-deriving)
2910 ("ghc-xml" ,ghc-xml)
2911 ("ghc-mtl" ,ghc-mtl)
2912 ("ghc-stm" ,ghc-stm)
2913 ("ghc-tagged" ,ghc-tagged)
2914 ("ghc-tasty" ,ghc-tasty)))
2915 (home-page
2916 "https://github.com/ocharles/tasty-ant-xml")
2917 (synopsis
2918 "Render tasty output to XML for Jenkins")
2919 (description
2920 "A tasty ingredient to output test results in XML, using the Ant
2921 schema. This XML can be consumed by the Jenkins continuous integration
2922 framework.")
2923 (license license:bsd-3)))
2924
2925 (define-public ghc-tasty-smallcheck
2926 (package
2927 (name "ghc-tasty-smallcheck")
2928 (version "0.8.0.1")
2929 (source
2930 (origin
2931 (method url-fetch)
2932 (uri (string-append
2933 "https://hackage.haskell.org/package/tasty-smallcheck/tasty-smallcheck-"
2934 version
2935 ".tar.gz"))
2936 (sha256
2937 (base32
2938 "0yckfbz8na8ccyw2911i3a4hd3fdncclk3ng5343hs5cylw6y4sm"))))
2939 (build-system haskell-build-system)
2940 (inputs
2941 `(("ghc-tasty" ,ghc-tasty)
2942 ("ghc-smallcheck" ,ghc-smallcheck)
2943 ("ghc-async" ,ghc-async)
2944 ("ghc-tagged" ,ghc-tagged)))
2945 (home-page "http://documentup.com/feuerbach/tasty")
2946 (synopsis "SmallCheck support for the Tasty test framework")
2947 (description "This package provides SmallCheck support for the Tasty
2948 Haskell test framework.")
2949 (license license:bsd-3)))
2950
2951 (define-public ghc-silently
2952 (package
2953 (name "ghc-silently")
2954 (version "1.2.5")
2955 (source
2956 (origin
2957 (method url-fetch)
2958 (uri (string-append
2959 "https://hackage.haskell.org/package/silently/silently-"
2960 version
2961 ".tar.gz"))
2962 (sha256
2963 (base32
2964 "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
2965 (build-system haskell-build-system)
2966 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
2967 ;; (inputs
2968 ;; `(("ghc-temporary" ,ghc-temporary)))
2969 (home-page "https://github.com/hspec/silently")
2970 (synopsis "Prevent writing to stdout")
2971 (description "This package provides functions to prevent or capture
2972 writing to stdout and other handles.")
2973 (license license:bsd-3)))
2974
2975 (define-public ghc-quickcheck-instances
2976 (package
2977 (name "ghc-quickcheck-instances")
2978 (version "0.3.11")
2979 (source
2980 (origin
2981 (method url-fetch)
2982 (uri (string-append
2983 "https://hackage.haskell.org/package/"
2984 "quickcheck-instances/quickcheck-instances-"
2985 version ".tar.gz"))
2986 (sha256
2987 (base32
2988 "041s6963czs1pz0fc9cx17lgd6p83czqy2nxji7bhxqxwl2j15h2"))))
2989 (build-system haskell-build-system)
2990 (inputs
2991 `(("ghc-old-time" ,ghc-old-time)
2992 ("ghc-unordered-containers" ,ghc-unordered-containers)
2993 ("ghc-hashable" ,ghc-hashable)
2994 ("ghc-quickcheck" ,ghc-quickcheck)
2995 ("ghc-text" ,ghc-text)))
2996 (home-page
2997 "https://github.com/aslatter/qc-instances")
2998 (synopsis "Common quickcheck instances")
2999 (description "This package provides QuickCheck instances for types
3000 provided by the Haskell Platform.")
3001 (license license:bsd-3)))
3002
3003 (define-public ghc-quickcheck-unicode
3004 (package
3005 (name "ghc-quickcheck-unicode")
3006 (version "1.0.0.1")
3007 (source
3008 (origin
3009 (method url-fetch)
3010 (uri (string-append
3011 "https://hackage.haskell.org/package/quickcheck-unicode/quickcheck-unicode-"
3012 version
3013 ".tar.gz"))
3014 (sha256
3015 (base32
3016 "1a8nl6x7l9b22yx61wm0bh2n1xzb1hd5i5zgg1w4fpaivjnrrhi4"))))
3017 (build-system haskell-build-system)
3018 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
3019 (home-page
3020 "https://github.com/bos/quickcheck-unicode")
3021 (synopsis "Generator functions Unicode-related tests")
3022 (description "This package provides generator and shrink functions for
3023 testing Unicode-related software.")
3024 (license license:bsd-3)))
3025
3026 (define-public ghc-quickcheck-io
3027 (package
3028 (name "ghc-quickcheck-io")
3029 (version "0.1.2")
3030 (source
3031 (origin
3032 (method url-fetch)
3033 (uri (string-append
3034 "https://hackage.haskell.org/package/quickcheck-io/quickcheck-io-"
3035 version
3036 ".tar.gz"))
3037 (sha256
3038 (base32
3039 "1kf1kfw9fsmly0rvzvdf6jvdw10qhkmikyj0wcwciw6wad95w9sh"))))
3040 (build-system haskell-build-system)
3041 (inputs
3042 `(("ghc-quickcheck" ,ghc-quickcheck)
3043 ("ghc-hunit" ,ghc-hunit)))
3044 (home-page
3045 "https://github.com/hspec/quickcheck-io#readme")
3046 (synopsis "Use HUnit assertions as QuickCheck properties")
3047 (description "This package provides an orphan instance that allows you to
3048 use HUnit assertions as QuickCheck properties.")
3049 (license license:expat)))
3050
3051 (define-public ghc-quickcheck
3052 (package
3053 (name "ghc-quickcheck")
3054 (version "2.8.1")
3055 (outputs '("out" "doc"))
3056 (source
3057 (origin
3058 (method url-fetch)
3059 (uri (string-append
3060 "https://hackage.haskell.org/package/QuickCheck/QuickCheck-"
3061 version
3062 ".tar.gz"))
3063 (sha256
3064 (base32
3065 "0fvnfl30fxmj5q920l13641ar896d53z0z6z66m7c1366lvalwvh"))))
3066 (build-system haskell-build-system)
3067 (arguments
3068 `(#:tests? #f ; FIXME: currently missing libraries used for tests.
3069 #:configure-flags '("-f base4")))
3070 (inputs
3071 `(("ghc-tf-random" ,ghc-tf-random)))
3072 (home-page
3073 "https://github.com/nick8325/quickcheck")
3074 (synopsis
3075 "Automatic testing of Haskell programs")
3076 (description
3077 "QuickCheck is a library for random testing of program properties.")
3078 (license license:bsd-3)))
3079
3080 (define-public ghc-case-insensitive
3081 (package
3082 (name "ghc-case-insensitive")
3083 (version "1.2.0.4")
3084 (outputs '("out" "doc"))
3085 (source
3086 (origin
3087 (method url-fetch)
3088 (uri (string-append
3089 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
3090 version
3091 ".tar.gz"))
3092 (sha256
3093 (base32
3094 "07nm40r9yw2p9qsfp3pjbsmyn4dabrxw34p48171zmccdd5hv0v3"))))
3095 (build-system haskell-build-system)
3096 (inputs
3097 `(("ghc-hunit" ,ghc-hunit)))
3098 ;; these inputs are necessary to use this library
3099 (inputs
3100 `(("ghc-text" ,ghc-text)
3101 ("ghc-hashable" ,ghc-hashable)))
3102 (arguments
3103 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3104 (home-page
3105 "https://github.com/basvandijk/case-insensitive")
3106 (synopsis "Case insensitive string comparison")
3107 (description
3108 "The module 'Data.CaseInsensitive' provides the 'CI' type constructor
3109 which can be parameterised by a string-like type like: 'String', 'ByteString',
3110 'Text', etc.. Comparisons of values of the resulting type will be insensitive
3111 to cases.")
3112 (license license:bsd-3)))
3113
3114 (define-public ghc-syb
3115 (package
3116 (name "ghc-syb")
3117 (version "0.6")
3118 (outputs '("out" "doc"))
3119 (source
3120 (origin
3121 (method url-fetch)
3122 (uri (string-append
3123 "https://hackage.haskell.org/package/syb/syb-"
3124 version
3125 ".tar.gz"))
3126 (sha256
3127 (base32
3128 "1p3cnqjm13677r4a966zffzhi9b3a321aln8zs8ckqj0d9z1z3d3"))))
3129 (build-system haskell-build-system)
3130 (inputs
3131 `(("ghc-hunit" ,ghc-hunit)
3132 ("ghc-mtl" ,ghc-mtl)))
3133 (home-page
3134 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
3135 (synopsis "Scrap Your Boilerplate")
3136 (description "This package contains the generics system described in the
3137 /Scrap Your Boilerplate/ papers (see
3138 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
3139 defines the 'Data' class of types permitting folding and unfolding of
3140 constructor applications, instances of this class for primitive types, and a
3141 variety of traversals.")
3142 (license license:bsd-3)))
3143
3144 (define-public ghc-fgl
3145 (package
3146 (name "ghc-fgl")
3147 (version "5.5.3.0")
3148 (outputs '("out" "doc"))
3149 (source
3150 (origin
3151 (method url-fetch)
3152 (uri (string-append
3153 "https://hackage.haskell.org/package/fgl/fgl-"
3154 version
3155 ".tar.gz"))
3156 (sha256
3157 (base32
3158 "0fbyb6jxy9whgrv6dgnkzz70cmy98arx3q2gnkhgl4a3d7idh36p"))))
3159 (build-system haskell-build-system)
3160 (inputs
3161 `(("ghc-mtl" ,ghc-mtl)
3162 ("ghc-hspec" ,ghc-hspec)
3163 ("ghc-quickcheck" ,ghc-quickcheck)))
3164 (home-page "http://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3165 (synopsis
3166 "Martin Erwig's Functional Graph Library")
3167 (description "The functional graph library, FGL, is a collection of type
3168 and function definitions to address graph problems. The basis of the library
3169 is an inductive definition of graphs in the style of algebraic data types that
3170 encourages inductive, recursive definitions of graph algorithms.")
3171 (license license:bsd-3)))
3172
3173 (define-public ghc-chasingbottoms
3174 (package
3175 (name "ghc-chasingbottoms")
3176 (version "1.3.0.13")
3177 (source
3178 (origin
3179 (method url-fetch)
3180 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
3181 "ChasingBottoms-" version ".tar.gz"))
3182 (sha256
3183 (base32
3184 "1fb86jd6cdz4rx3fj3r9n8d60kx824ywwy7dw4qnrdran46ja3pl"))
3185 (modules '((guix build utils)))
3186 (snippet
3187 ;; The Hackage page and the cabal file linked there for this package
3188 ;; both list 0.7 as the upper version limit, but the source tarball
3189 ;; specifies 0.6. Assume the Hackage page is correct.
3190 '(substitute* "ChasingBottoms.cabal"
3191 (("syb >= 0.1.0.2 && < 0.6") "syb >= 0.1.0.2 && < 0.7")))))
3192 (build-system haskell-build-system)
3193 (inputs
3194 `(("ghc-mtl" ,ghc-mtl)
3195 ("ghc-quickcheck" ,ghc-quickcheck)
3196 ("ghc-random" ,ghc-random)
3197 ("ghc-syb" ,ghc-syb)))
3198 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
3199 (synopsis "Testing of partial and infinite values in Haskell")
3200 (description
3201 ;; FIXME: There should be a @comma{} in the uref text, but it is not
3202 ;; rendered properly.
3203 "This is a library for testing code involving bottoms or infinite values.
3204 For the underlying theory and a larger example involving use of QuickCheck,
3205 see the article
3206 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
3207 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
3208 Partial and Infinite Values\"}.")
3209 (license license:expat)))
3210
3211 (define-public ghc-unordered-containers
3212 (package
3213 (name "ghc-unordered-containers")
3214 (version "0.2.5.1")
3215 (outputs '("out" "doc"))
3216 (source
3217 (origin
3218 (method url-fetch)
3219 (uri (string-append
3220 "https://hackage.haskell.org/package/unordered-containers"
3221 "/unordered-containers-" version ".tar.gz"))
3222 (sha256
3223 (base32
3224 "06l1xv7vhpxly75saxdrbc6p2zlgz1az278arfkz4rgawfnphn3f"))))
3225 (build-system haskell-build-system)
3226 (inputs
3227 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
3228 ("ghc-hunit" ,ghc-hunit)
3229 ("ghc-quickcheck" ,ghc-quickcheck)
3230 ("ghc-test-framework" ,ghc-test-framework)
3231 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3232 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3233 ("ghc-hashable" ,ghc-hashable)))
3234 (home-page
3235 "https://github.com/tibbe/unordered-containers")
3236 (synopsis
3237 "Efficient hashing-based container types")
3238 (description
3239 "Efficient hashing-based container types. The containers have been
3240 optimized for performance critical use, both in terms of large data quantities
3241 and high speed.")
3242 (license license:bsd-3)))
3243
3244 (define-public ghc-uniplate
3245 (package
3246 (name "ghc-uniplate")
3247 (version "1.6.12")
3248 (source
3249 (origin
3250 (method url-fetch)
3251 (uri (string-append
3252 "https://hackage.haskell.org/package/uniplate/uniplate-"
3253 version
3254 ".tar.gz"))
3255 (sha256
3256 (base32
3257 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
3258 (build-system haskell-build-system)
3259 (inputs
3260 `(("ghc-syb" ,ghc-syb)
3261 ("ghc-hashable" ,ghc-hashable)
3262 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3263 (home-page "http://community.haskell.org/~ndm/uniplate/")
3264 (synopsis "Simple, concise and fast generic operations")
3265 (description "Uniplate is a library for writing simple and concise generic
3266 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
3267 work, but is substantially simpler and faster.")
3268 (license license:bsd-3)))
3269
3270 (define-public ghc-base64-bytestring
3271 (package
3272 (name "ghc-base64-bytestring")
3273 (version "1.0.0.1")
3274 (source
3275 (origin
3276 (method url-fetch)
3277 (uri (string-append
3278 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
3279 version
3280 ".tar.gz"))
3281 (sha256
3282 (base32
3283 "0l1v4ddjdsgi9nqzyzcxxj76rwar3lzx8gmwf2r54bqan3san9db"))))
3284 (build-system haskell-build-system)
3285 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3286 (home-page "https://github.com/bos/base64-bytestring")
3287 (synopsis "Base64 encoding and decoding for ByteStrings")
3288 (description "This library provides fast base64 encoding and decoding for
3289 Haskell @code{ByteString}s.")
3290 (license license:bsd-3)))
3291
3292 (define-public ghc-annotated-wl-pprint
3293 (package
3294 (name "ghc-annotated-wl-pprint")
3295 (version "0.7.0")
3296 (source
3297 (origin
3298 (method url-fetch)
3299 (uri (string-append
3300 "https://hackage.haskell.org/package/annotated-wl-pprint"
3301 "/annotated-wl-pprint-" version
3302 ".tar.gz"))
3303 (sha256
3304 (base32
3305 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
3306 (build-system haskell-build-system)
3307 (home-page
3308 "https://github.com/david-christiansen/annotated-wl-pprint")
3309 (synopsis
3310 "The Wadler/Leijen Pretty Printer, with annotation support")
3311 (description "This is a modified version of wl-pprint, which was based on
3312 Wadler's paper \"A Prettier Printer\". This version allows the library user
3313 to annotate the text with semantic information, which can later be rendered in
3314 a variety of ways.")
3315 (license license:bsd-3)))
3316
3317 (define-public ghc-wl-pprint
3318 (package
3319 (name "ghc-wl-pprint")
3320 (version "1.2")
3321 (source (origin
3322 (method url-fetch)
3323 (uri (string-append
3324 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
3325 version ".tar.gz"))
3326 (sha256
3327 (base32
3328 "166zvk4zwn2zaa9kx66m1av38m34qp6h4i65bri2sfnxgvx0700r"))))
3329 (build-system haskell-build-system)
3330 (home-page "https://hackage.haskell.org/package/wl-pprint")
3331 (synopsis "Wadler/Leijen pretty printer")
3332 (description
3333 "This is a pretty printing library based on Wadler's paper @i{A Prettier
3334 Printer}. This version allows the library user to declare overlapping
3335 instances of the @code{Pretty} class.")
3336 (license license:bsd-3)))
3337
3338 (define-public ghc-ansi-wl-pprint
3339 (package
3340 (name "ghc-ansi-wl-pprint")
3341 (version "0.6.7.3")
3342 (source
3343 (origin
3344 (method url-fetch)
3345 (uri (string-append
3346 "https://hackage.haskell.org/package/ansi-wl-pprint/ansi-wl-pprint-"
3347 version
3348 ".tar.gz"))
3349 (sha256
3350 (base32
3351 "025pyphsjf0dnbrmj5nscbi6gzyigwgp3ifxb3psn7kji6mfr29p"))))
3352 (build-system haskell-build-system)
3353 (inputs
3354 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
3355 (home-page "https://github.com/ekmett/ansi-wl-pprint")
3356 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
3357 (description "This is a pretty printing library based on Wadler's paper
3358 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
3359 colored output using the ansi-terminal package.")
3360 (license license:bsd-3)))
3361
3362 (define-public ghc-split
3363 (package
3364 (name "ghc-split")
3365 (version "0.2.2")
3366 (outputs '("out" "doc"))
3367 (source
3368 (origin
3369 (method url-fetch)
3370 (uri (string-append
3371 "https://hackage.haskell.org/package/split/split-"
3372 version
3373 ".tar.gz"))
3374 (sha256
3375 (base32
3376 "0xa3j0gwr6k5vizxybnzk5fgb3pppgspi6mysnp2gwjp2dbrxkzr"))
3377 (modules '((guix build utils)))
3378 (snippet
3379 ;; The Cabal file on Hackage is updated, but the tar.gz does not
3380 ;; include it. See
3381 ;; <https://hackage.haskell.org/package/split-0.2.2/revisions/>.
3382 '(substitute* "split.cabal"
3383 (("base <4.8") "base <4.9")))))
3384 (build-system haskell-build-system)
3385 (inputs
3386 `(("ghc-quickcheck" ,ghc-quickcheck)))
3387 (home-page "https://hackage.haskell.org/package/split")
3388 (synopsis "Combinator library for splitting lists")
3389 (description "This package provides a collection of Haskell functions for
3390 splitting lists into parts, akin to the @code{split} function found in several
3391 mainstream languages.")
3392 (license license:bsd-3)))
3393
3394 (define-public ghc-parsec
3395 (package
3396 (name "ghc-parsec")
3397 (version "3.1.9")
3398 (outputs '("out" "doc"))
3399 (source
3400 (origin
3401 (method url-fetch)
3402 (uri (string-append
3403 "https://hackage.haskell.org/package/parsec/parsec-"
3404 version
3405 ".tar.gz"))
3406 (sha256
3407 (base32 "1ja20cmj6v336jy87c6h3jzjp00sdbakwbdwp11iln499k913xvi"))))
3408 (build-system haskell-build-system)
3409 (native-inputs
3410 `(("ghc-hunit" ,ghc-hunit)))
3411 (inputs
3412 `(("ghc-text" ,ghc-text)
3413 ("ghc-mtl" ,ghc-mtl)))
3414 (arguments
3415 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3416 (home-page
3417 "https://github.com/aslatter/parsec")
3418 (synopsis "Monadic parser combinators")
3419 (description "Parsec is a parser library. It is simple, safe, well
3420 documented, has extensive libraries, good error messages, and is fast. It is
3421 defined as a monad transformer that can be stacked on arbitrary monads, and it
3422 is also parametric in the input stream type.")
3423 (license license:bsd-3)))
3424
3425 (define-public ghc-vector
3426 (package
3427 (name "ghc-vector")
3428 (version "0.11.0.0")
3429 (outputs '("out" "doc"))
3430 (source
3431 (origin
3432 (method url-fetch)
3433 (uri (string-append
3434 "https://hackage.haskell.org/package/vector/vector-"
3435 version
3436 ".tar.gz"))
3437 (sha256
3438 (base32
3439 "1r1jlksy7b0kb0fy00g64isk6nyd9wzzdq31gx5v1wn38knj0lqa"))))
3440 (build-system haskell-build-system)
3441 (inputs
3442 `(("ghc-primitive" ,ghc-primitive)
3443 ("ghc-quickcheck" ,ghc-quickcheck)))
3444 (arguments
3445 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3446 (home-page "https://github.com/haskell/vector")
3447 (synopsis "Efficient Arrays")
3448 (description "This library provides an efficient implementation of
3449 Int-indexed arrays (both mutable and immutable), with a powerful loop
3450 optimisation framework.")
3451 (license license:bsd-3)))
3452
3453 (define-public ghc-vector-binary-instances
3454 (package
3455 (name "ghc-vector-binary-instances")
3456 (version "0.2.1.0")
3457 (source
3458 (origin
3459 (method url-fetch)
3460 (uri (string-append
3461 "https://hackage.haskell.org/package/"
3462 "vector-binary-instances/vector-binary-instances-"
3463 version ".tar.gz"))
3464 (sha256
3465 (base32
3466 "028rsf2w193rhs1gic5yvvrwidw9sblczcn10aw64npfc6502l4l"))))
3467 (build-system haskell-build-system)
3468 (inputs
3469 `(("ghc-cereal" ,ghc-cereal)
3470 ("ghc-vector" ,ghc-vector)))
3471 (home-page "https://github.com/bos/vector-binary-instances")
3472 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
3473 (description "This library provides instances of @code{Binary} for the
3474 types defined in the @code{vector} package, making it easy to serialize
3475 vectors to and from disk. We use the generic interface to vectors, so all
3476 vector types are supported. Specific instances are provided for unboxed,
3477 boxed and storable vectors.")
3478 (license license:bsd-3)))
3479
3480 (define-public ghc-network
3481 (package
3482 (name "ghc-network")
3483 (version "2.6.2.1")
3484 (outputs '("out" "doc"))
3485 (source
3486 (origin
3487 (method url-fetch)
3488 (uri (string-append
3489 "https://hackage.haskell.org/package/network/network-"
3490 version
3491 ".tar.gz"))
3492 (sha256
3493 (base32
3494 "1yhvpd4wigz165jvyvw9zslx7lgqdj63jh3zv5s74b5ykdfa3zd3"))))
3495 (build-system haskell-build-system)
3496 (inputs
3497 `(("ghc-hunit" ,ghc-hunit)))
3498 (arguments
3499 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3500 (home-page "https://github.com/haskell/network")
3501 (synopsis "Low-level networking interface")
3502 (description
3503 "This package provides a low-level networking interface.")
3504 (license license:bsd-3)))
3505
3506 (define-public ghc-network-uri
3507 (package
3508 (name "ghc-network-uri")
3509 (version "2.6.0.3")
3510 (outputs '("out" "doc"))
3511 (source
3512 (origin
3513 (method url-fetch)
3514 (uri (string-append
3515 "https://hackage.haskell.org/package/network-uri/network-uri-"
3516 version
3517 ".tar.gz"))
3518 (sha256
3519 (base32
3520 "1pwbqb2rk4rnvllvdch42p5368xcvpkanp7bxckdhxya8zzwvhhg"))))
3521 (build-system haskell-build-system)
3522 (arguments
3523 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3524 (native-inputs
3525 `(("ghc-hunit" ,ghc-hunit)))
3526 (inputs
3527 `(("ghc-parsec" ,ghc-parsec)
3528 ("ghc-network" ,ghc-network)))
3529 (home-page
3530 "https://github.com/haskell/network-uri")
3531 (synopsis "Library for URI manipulation")
3532 (description "This package provides an URI manipulation interface. In
3533 'network-2.6' the 'Network.URI' module was split off from the 'network'
3534 package into this package.")
3535 (license license:bsd-3)))
3536
3537 (define-public ghc-ansi-terminal
3538 (package
3539 (name "ghc-ansi-terminal")
3540 (version "0.6.2.3")
3541 (source
3542 (origin
3543 (method url-fetch)
3544 (uri (string-append
3545 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
3546 version
3547 ".tar.gz"))
3548 (sha256
3549 (base32
3550 "0hpfw0k025y681m9ml1c712skrb1p4vh7z5x1f0ci9ww7ssjrh2d"))))
3551 (build-system haskell-build-system)
3552 (home-page "https://github.com/feuerbach/ansi-terminal")
3553 (synopsis "ANSI terminal support for Haskell")
3554 (description "This package provides ANSI terminal support for Haskell. It
3555 allows cursor movement, screen clearing, color output showing or hiding the
3556 cursor, and changing the title.")
3557 (license license:bsd-3)))
3558
3559 (define-public ghc-http
3560 (package
3561 (name "ghc-http")
3562 (version "4000.2.20")
3563 (outputs '("out" "doc"))
3564 (source
3565 (origin
3566 (method url-fetch)
3567 (uri (string-append
3568 "https://hackage.haskell.org/package/HTTP/HTTP-"
3569 version
3570 ".tar.gz"))
3571 (sha256
3572 (base32
3573 "0nyqdxr5ls2dxkf4a1f3x15xzwdm46ppn99nkcbhswlr6s3cq1s4"))))
3574 (build-system haskell-build-system)
3575 (native-inputs
3576 `(("ghc-hunit" ,ghc-hunit)))
3577 (inputs
3578 `(("ghc-old-time" ,ghc-old-time)
3579 ("ghc-parsec" ,ghc-parsec)
3580 ("ghc-mtl" ,ghc-mtl)
3581 ("ghc-network" ,ghc-network)
3582 ("ghc-network-uri" ,ghc-network-uri)))
3583 (arguments
3584 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3585 (home-page "https://github.com/haskell/HTTP")
3586 (synopsis "Library for client-side HTTP")
3587 (description
3588 "The HTTP package supports client-side web programming in Haskell. It
3589 lets you set up HTTP connections, transmitting requests and processing the
3590 responses coming back.")
3591 (license license:bsd-3)))
3592
3593 (define-public ghc-hspec
3594 (package
3595 (name "ghc-hspec")
3596 (version "2.2.0")
3597 (source
3598 (origin
3599 (method url-fetch)
3600 (uri (string-append
3601 "https://hackage.haskell.org/package/hspec/hspec-"
3602 version
3603 ".tar.gz"))
3604 (sha256
3605 (base32
3606 "0zqisxznlbszivsgy3irvf566zhcr6ipqqj3x9i7pj5hy913jwqf"))))
3607 (build-system haskell-build-system)
3608 (inputs
3609 `(("ghc-hspec-core" ,ghc-hspec-core)
3610 ("hspec-discover" ,hspec-discover)
3611 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3612 ("ghc-quickcheck" ,ghc-quickcheck)
3613 ("ghc-hunit" ,ghc-hunit)
3614 ("ghc-stringbuilder" ,ghc-stringbuilder)
3615 ("ghc-hspec-meta" ,ghc-hspec-meta)))
3616 (home-page "http://hspec.github.io/")
3617 (synopsis "Testing Framework for Haskell")
3618 (description "This library provides the Hspec testing framework for
3619 Haskell, inspired by the Ruby library RSpec.")
3620 (license license:expat)))
3621
3622 (define-public ghc-hspec-contrib
3623 (package
3624 (name "ghc-hspec-contrib")
3625 (version "0.3.0")
3626 (source (origin
3627 (method url-fetch)
3628 (uri (string-append "https://hackage.haskell.org/package/"
3629 "hspec-contrib/hspec-contrib-"
3630 version ".tar.gz"))
3631 (sha256
3632 (base32
3633 "006syw8xagfhsx06ws9ywig1qx5lk4cgl7sq6pbid1s64c72mxn4"))))
3634 (build-system haskell-build-system)
3635 (inputs
3636 `(("ghc-hspec-core" ,ghc-hspec-core)
3637 ("ghc-hunit" ,ghc-hunit)
3638 ("ghc-hspec" ,ghc-hspec)
3639 ("ghc-quickcheck" ,ghc-quickcheck)))
3640 (native-inputs
3641 `(("hspec-discover" ,hspec-discover)))
3642 (home-page "http://hspec.github.io/")
3643 (synopsis "Contributed functionality for Hspec")
3644 (description
3645 "This package provides contributed Hspec extensions.")
3646 (license license:expat)))
3647
3648 (define-public ghc-hspec-expectations
3649 (package
3650 (name "ghc-hspec-expectations")
3651 (version "0.7.2")
3652 (source
3653 (origin
3654 (method url-fetch)
3655 (uri (string-append
3656 "https://hackage.haskell.org/package/hspec-expectations/hspec-expectations-"
3657 version
3658 ".tar.gz"))
3659 (sha256
3660 (base32
3661 "1w56jiqfyl237sr207gh3b0l8sr9layy0mdsgd5wknzb49mif6ip"))))
3662 (build-system haskell-build-system)
3663 (inputs `(("ghc-hunit" ,ghc-hunit)))
3664 (home-page "https://github.com/sol/hspec-expectations")
3665 (synopsis "Catchy combinators for HUnit")
3666 (description "This library provides catchy combinators for HUnit, see
3667 @uref{https://github.com/sol/hspec-expectations#readme, the README}.")
3668 (license license:expat)))
3669
3670 (define-public hspec-discover
3671 (package
3672 (name "hspec-discover")
3673 (version "2.2.0")
3674 (source
3675 (origin
3676 (method url-fetch)
3677 (uri (string-append
3678 "https://hackage.haskell.org/package/hspec-discover/hspec-discover-"
3679 version
3680 ".tar.gz"))
3681 (sha256
3682 (base32
3683 "0w3awzbljf4hqhxrjrxqa1lfcclg92bhmq641gz2q80vycspapzx"))))
3684 (build-system haskell-build-system)
3685 (arguments `(#:haddock? #f)) ; Haddock phase fails because there are no
3686 ; documentation files.
3687 (inputs `(("ghc-hspec-meta" ,ghc-hspec-meta)))
3688 (home-page "http://hspec.github.io/")
3689 (synopsis "Automatically discover and run Hspec tests")
3690 (description "hspec-discover is a tool which automatically discovers and
3691 runs Hspec tests.")
3692 (license license:expat)))
3693
3694 (define-public ghc-hspec-core
3695 (package
3696 (name "ghc-hspec-core")
3697 (version "2.2.0")
3698 (source
3699 (origin
3700 (method url-fetch)
3701 (uri (string-append
3702 "https://hackage.haskell.org/package/hspec-core/hspec-core-"
3703 version
3704 ".tar.gz"))
3705 (sha256
3706 (base32
3707 "1wgd55k652jaf81nkvciyqi67ycj7zamr4nd9z1cqf8nr9fc3sa4"))))
3708 (build-system haskell-build-system)
3709 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3710 (inputs
3711 `(("ghc-setenv" ,ghc-setenv)
3712 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
3713 ("ghc-async" ,ghc-async)
3714 ("ghc-quickcheck-io" ,ghc-quickcheck-io)
3715 ("ghc-hunit" ,ghc-hunit)
3716 ("ghc-quickcheck" ,ghc-quickcheck)
3717 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3718 ("ghc-silently" ,ghc-silently)))
3719 (home-page "http://hspec.github.io/")
3720 (synopsis "Testing framework for Haskell")
3721 (description "This library exposes internal types and functions that can
3722 be used to extend Hspec's functionality.")
3723 (license license:expat)))
3724
3725 (define-public ghc-hspec-meta
3726 (package
3727 (name "ghc-hspec-meta")
3728 (version "2.2.0")
3729 (source
3730 (origin
3731 (method url-fetch)
3732 (uri (string-append
3733 "https://hackage.haskell.org/package/hspec-meta/hspec-meta-"
3734 version
3735 ".tar.gz"))
3736 (sha256
3737 (base32
3738 "1fmqmgrzp135cxhmxxbaswkk4bqbpgfml00cmcz0d39n11vzpa5z"))))
3739 (build-system haskell-build-system)
3740 (inputs
3741 `(("ghc-quickcheck" ,ghc-quickcheck)
3742 ("ghc-hunit" ,ghc-hunit)
3743 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
3744 ("ghc-async" ,ghc-async)
3745 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3746 ("ghc-setenv" ,ghc-setenv)
3747 ("ghc-random" ,ghc-random)
3748 ("ghc-quickcheck-io" ,ghc-quickcheck-io)))
3749 (home-page "http://hspec.github.io/")
3750 (synopsis "Version of Hspec to test Hspec itself")
3751 (description "This library provides a stable version of Hspec which is
3752 used to test the in-development version of Hspec.")
3753 (license license:expat)))
3754
3755 (define-public ghc-vault
3756 (package
3757 (name "ghc-vault")
3758 (version "0.3.0.4")
3759 (source
3760 (origin
3761 (method url-fetch)
3762 (uri (string-append
3763 "https://hackage.haskell.org/package/vault/vault-"
3764 version
3765 ".tar.gz"))
3766 (sha256
3767 (base32
3768 "0ah6qrg71krc87f4vjy4b4shdd0mgyil8fikb3j6fl4kfwlg67jn"))))
3769 (build-system haskell-build-system)
3770 (inputs
3771 `(("ghc-unordered-containers" ,ghc-unordered-containers)
3772 ("ghc-hashable" ,ghc-hashable)))
3773 (home-page
3774 "https://github.com/HeinrichApfelmus/vault")
3775 (synopsis "Persistent store for arbitrary values")
3776 (description "This package provides vaults for Haskell. A vault is a
3777 persistent store for values of arbitrary types. It's like having first-class
3778 access to the storage space behind @code{IORefs}. The data structure is
3779 analogous to a bank vault, where you can access different bank boxes with
3780 different keys; hence the name. Also provided is a @code{locker} type,
3781 representing a store for a single element.")
3782 (license license:bsd-3)))
3783
3784 (define-public ghc-mmorph
3785 (package
3786 (name "ghc-mmorph")
3787 (version "1.0.4")
3788 (source
3789 (origin
3790 (method url-fetch)
3791 (uri (string-append
3792 "https://hackage.haskell.org/package/mmorph/mmorph-"
3793 version
3794 ".tar.gz"))
3795 (sha256
3796 (base32
3797 "0k5zlzmnixfwcjrqvhgi3i6xg532b0gsjvc39v5jigw69idndqr2"))))
3798 (build-system haskell-build-system)
3799 (home-page
3800 "https://hackage.haskell.org/package/mmorph")
3801 (synopsis "Monad morphisms")
3802 (description
3803 "This library provides monad morphism utilities, most commonly used for
3804 manipulating monad transformer stacks.")
3805 (license license:bsd-3)))
3806
3807 (define-public ghc-monad-control
3808 (package
3809 (name "ghc-monad-control")
3810 (version "1.0.0.4")
3811 (source
3812 (origin
3813 (method url-fetch)
3814 (uri (string-append
3815 "https://hackage.haskell.org/package/monad-control"
3816 "/monad-control-" version ".tar.gz"))
3817 (sha256
3818 (base32
3819 "07pn1p4m80wdd7gw62s4yny8rbvm60ka1q8qx5y1plznd8sbg179"))))
3820 (build-system haskell-build-system)
3821 (inputs
3822 `(("ghc-stm" ,ghc-stm)
3823 ("ghc-transformers-base" ,ghc-transformers-base)
3824 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3825 (home-page "https://github.com/basvandijk/monad-control")
3826 (synopsis "Monad transformers to lift control operations like exception
3827 catching")
3828 (description "This package defines the type class @code{MonadBaseControl},
3829 a subset of @code{MonadBase} into which generic control operations such as
3830 @code{catch} can be lifted from @code{IO} or any other base monad.")
3831 (license license:bsd-3)))
3832
3833 (define-public ghc-byteorder
3834 (package
3835 (name "ghc-byteorder")
3836 (version "1.0.4")
3837 (source
3838 (origin
3839 (method url-fetch)
3840 (uri (string-append
3841 "https://hackage.haskell.org/package/byteorder/byteorder-"
3842 version
3843 ".tar.gz"))
3844 (sha256
3845 (base32
3846 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
3847 (build-system haskell-build-system)
3848 (home-page
3849 "http://community.haskell.org/~aslatter/code/byteorder")
3850 (synopsis
3851 "Exposes the native endianness of the system")
3852 (description
3853 "This package is for working with the native byte-ordering of the
3854 system.")
3855 (license license:bsd-3)))
3856
3857 (define-public ghc-base-compat
3858 (package
3859 (name "ghc-base-compat")
3860 (version "0.8.2")
3861 (source
3862 (origin
3863 (method url-fetch)
3864 (uri (string-append
3865 "https://hackage.haskell.org/package/base-compat/base-compat-"
3866 version
3867 ".tar.gz"))
3868 (sha256
3869 (base32
3870 "02m93hzgxg4bcnp7xcc2fdh2hrsc2h6fwl8hix5nx9k864kwf41q"))))
3871 (build-system haskell-build-system)
3872 (native-inputs
3873 `(("ghc-quickcheck" ,ghc-quickcheck)
3874 ("ghc-hspec" ,ghc-hspec)
3875 ("hspec-discover" ,hspec-discover)))
3876 (home-page "https://hackage.haskell.org/package/base-compat")
3877 (synopsis "Haskell compiler compatibility library")
3878 (description "This library provides functions available in later versions
3879 of base to a wider range of compilers, without requiring the use of CPP
3880 pragmas in your code.")
3881 (license license:bsd-3)))
3882
3883 (define-public ghc-blaze-builder
3884 (package
3885 (name "ghc-blaze-builder")
3886 (version "0.4.0.1")
3887 (source
3888 (origin
3889 (method url-fetch)
3890 (uri (string-append
3891 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
3892 version
3893 ".tar.gz"))
3894 (sha256
3895 (base32
3896 "1id3w33x9f7q5m3xpggmvzw03bkp94bpfyz81625bldqgf3yqdn1"))))
3897 (build-system haskell-build-system)
3898 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
3899 (inputs
3900 `(("ghc-text" ,ghc-text)
3901 ("ghc-utf8-string" ,ghc-utf8-string)))
3902 (home-page "https://github.com/lpsmith/blaze-builder")
3903 (synopsis "Efficient buffered output")
3904 (description "This library provides an implementation of the older
3905 @code{blaze-builder} interface in terms of the new builder that shipped with
3906 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
3907 bridge to the new builder, so that code that uses the old interface can
3908 interoperate with code that uses the new implementation.")
3909 (license license:bsd-3)))
3910
3911 (define-public ghc-blaze-markup
3912 (package
3913 (name "ghc-blaze-markup")
3914 (version "0.7.0.3")
3915 (source
3916 (origin
3917 (method url-fetch)
3918 (uri (string-append
3919 "https://hackage.haskell.org/package/blaze-markup/blaze-markup-"
3920 version
3921 ".tar.gz"))
3922 (sha256
3923 (base32
3924 "080vlhd8dwjxrma4bb524lh8gxs5lm3xh122icy6lnnyipla0s9y"))))
3925 (build-system haskell-build-system)
3926 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3927 (inputs
3928 `(("ghc-blaze-builder" ,ghc-blaze-builder)
3929 ("ghc-text" ,ghc-text)))
3930 (home-page "http://jaspervdj.be/blaze")
3931 (synopsis "Fast markup combinator library for Haskell")
3932 (description "This library provides core modules of a markup combinator
3933 library for Haskell.")
3934 (license license:bsd-3)))
3935
3936 (define-public ghc-blaze-html
3937 (package
3938 (name "ghc-blaze-html")
3939 (version "0.8.1.1")
3940 (source
3941 (origin
3942 (method url-fetch)
3943 (uri (string-append
3944 "https://hackage.haskell.org/package/blaze-html/blaze-html-"
3945 version
3946 ".tar.gz"))
3947 (sha256
3948 (base32
3949 "1dnw50kh0s405cg9i2y4a8awanhj3bqzk21jwgfza65kcjby7lpq"))))
3950 (build-system haskell-build-system)
3951 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3952 (inputs
3953 `(("ghc-blaze-builder" ,ghc-blaze-builder)
3954 ("ghc-text" ,ghc-text)
3955 ("ghc-blaze-markup" ,ghc-blaze-markup)))
3956 (home-page "http://jaspervdj.be/blaze")
3957 (synopsis "Fast HTML combinator library")
3958 (description "This library provides HTML combinators for Haskell.")
3959 (license license:bsd-3)))
3960
3961 (define-public ghc-easy-file
3962 (package
3963 (name "ghc-easy-file")
3964 (version "0.2.1")
3965 (source
3966 (origin
3967 (method url-fetch)
3968 (uri (string-append
3969 "https://hackage.haskell.org/package/easy-file/easy-file-"
3970 version
3971 ".tar.gz"))
3972 (sha256
3973 (base32
3974 "0v75081bx4qzlqy29hh639nzlr7dncwza3qxbzm9njc4jarf31pz"))))
3975 (build-system haskell-build-system)
3976 (home-page
3977 "https://github.com/kazu-yamamoto/easy-file")
3978 (synopsis "File handling library for Haskell")
3979 (description "This library provides file handling utilities for Haskell.")
3980 (license license:bsd-3)))
3981
3982 (define-public ghc-async
3983 (package
3984 (name "ghc-async")
3985 (version "2.0.2")
3986 (source
3987 (origin
3988 (method url-fetch)
3989 (uri (string-append
3990 "https://hackage.haskell.org/package/async/async-"
3991 version
3992 ".tar.gz"))
3993 (sha256
3994 (base32
3995 "0azx4qk65a9a2gvqsfmz3w89m6shzr2iz0i5lly2zvly4n2d6m6v"))))
3996 (build-system haskell-build-system)
3997 (inputs
3998 `(("ghc-stm" ,ghc-stm)
3999 ("ghc-hunit" ,ghc-hunit)
4000 ("ghc-test-framework" ,ghc-test-framework)
4001 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4002 (home-page "https://github.com/simonmar/async")
4003 (synopsis "Library to run IO operations asynchronously")
4004 (description "Async provides a library to run IO operations
4005 asynchronously, and wait for their results. It is a higher-level interface
4006 over threads in Haskell, in which @code{Async a} is a concurrent thread that
4007 will eventually deliver a value of type @code{a}.")
4008 (license license:bsd-3)))
4009
4010 (define-public ghc-fingertree
4011 (package
4012 (name "ghc-fingertree")
4013 (version "0.1.1.0")
4014 (source
4015 (origin
4016 (method url-fetch)
4017 (uri (string-append
4018 "https://hackage.haskell.org/package/fingertree/fingertree-"
4019 version
4020 ".tar.gz"))
4021 (sha256
4022 (base32
4023 "1w6x3kp3by5yjmam6wlrf9vap5l5rrqaip0djbrdp0fpf2imn30n"))))
4024 (build-system haskell-build-system)
4025 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
4026 (home-page "https://hackage.haskell.org/package/fingertree")
4027 (synopsis "Generic finger-tree structure")
4028 (description "This library provides finger trees, a general sequence
4029 representation with arbitrary annotations, for use as a base for
4030 implementations of various collection types. It includes examples, as
4031 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4032 simple general-purpose data structure\".")
4033 (license license:bsd-3)))
4034
4035 (define-public ghc-optparse-applicative
4036 (package
4037 (name "ghc-optparse-applicative")
4038 (version "0.11.0.2")
4039 (source
4040 (origin
4041 (method url-fetch)
4042 (uri (string-append
4043 "https://hackage.haskell.org/package/optparse-applicative"
4044 "/optparse-applicative-" version ".tar.gz"))
4045 (sha256
4046 (base32
4047 "0ni52ii9555jngljvzxn1ngicr6i2w647ww3rzhdrmng04y95iii"))))
4048 (build-system haskell-build-system)
4049 (inputs
4050 `(("ghc-transformers-compat" ,ghc-transformers-compat)
4051 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
4052 (home-page "https://github.com/pcapriotti/optparse-applicative")
4053 (synopsis "Utilities and combinators for parsing command line options")
4054 (description "This package provides utilities and combinators for parsing
4055 command line options in Haskell.")
4056 (license license:bsd-3)))
4057
4058 (define-public ghc-base-orphans
4059 (package
4060 (name "ghc-base-orphans")
4061 (version "0.4.4")
4062 (source
4063 (origin
4064 (method url-fetch)
4065 (uri (string-append
4066 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
4067 version
4068 ".tar.gz"))
4069 (sha256
4070 (base32
4071 "0hhgpwjvx7jhvlhsygmmf0q5hv2ymijzz4bjilicw99bmv13qcpl"))))
4072 (build-system haskell-build-system)
4073 (native-inputs
4074 `(("ghc-quickcheck" ,ghc-quickcheck)
4075 ("ghc-hspec" ,ghc-hspec)
4076 ("hspec-discover" ,hspec-discover)))
4077 (home-page "https://hackage.haskell.org/package/base-orphans")
4078 (synopsis "Orphan instances for backwards compatibility")
4079 (description "This package defines orphan instances that mimic instances
4080 available in later versions of base to a wider (older) range of compilers.")
4081 (license license:bsd-3)))
4082
4083 (define-public ghc-auto-update
4084 (package
4085 (name "ghc-auto-update")
4086 (version "0.1.2.2")
4087 (source
4088 (origin
4089 (method url-fetch)
4090 (uri (string-append
4091 "https://hackage.haskell.org/package/auto-update/auto-update-"
4092 version
4093 ".tar.gz"))
4094 (sha256
4095 (base32
4096 "1ns4c5mqhnm7hsiqxf1ivjs5fflyq92b16ldzrcl0p85631h0c3v"))))
4097 (build-system haskell-build-system)
4098 (home-page "https://github.com/yesodweb/wai")
4099 (synopsis "Efficiently run periodic, on-demand actions")
4100 (description "This library provides mechanisms to efficiently run
4101 periodic, on-demand actions in Haskell.")
4102 (license license:expat)))
4103
4104 (define-public ghc-tagged
4105 (package
4106 (name "ghc-tagged")
4107 (version "0.8.1")
4108 (source
4109 (origin
4110 (method url-fetch)
4111 (uri (string-append
4112 "https://hackage.haskell.org/package/tagged/tagged-"
4113 version
4114 ".tar.gz"))
4115 (sha256
4116 (base32
4117 "1hc2qzhhz5p1xd8k03sklrdnhcflkwhgpl82k6fam8yckww9ipav"))))
4118 (build-system haskell-build-system)
4119 (home-page "https://hackage.haskell.org/package/tagged")
4120 (synopsis "Haskell phantom types to avoid passing dummy arguments")
4121 (description "This library provides phantom types for Haskell 98, to avoid
4122 having to unsafely pass dummy arguments.")
4123 (license license:bsd-3)))
4124
4125 (define-public ghc-unbounded-delays
4126 (package
4127 (name "ghc-unbounded-delays")
4128 (version "0.1.0.9")
4129 (source
4130 (origin
4131 (method url-fetch)
4132 (uri (string-append
4133 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
4134 version
4135 ".tar.gz"))
4136 (sha256
4137 (base32
4138 "1f4h87503m3smhip432q027wj3zih18pmz2rnafh60589ifcl420"))))
4139 (build-system haskell-build-system)
4140 (home-page "https://github.com/basvandijk/unbounded-delays")
4141 (synopsis "Unbounded thread delays and timeouts")
4142 (description "The @code{threadDelay} and @code{timeout} functions from the
4143 Haskell base library use the bounded @code{Int} type for specifying the delay
4144 or timeout period. This package provides alternative functions which use the
4145 unbounded @code{Integer} type.")
4146 (license license:bsd-3)))
4147
4148 ;; This package builds `clock` without tests, since the tests rely on tasty
4149 ;; and tasty-quickcheck, which in turn require clock to build. When tasty and
4150 ;; tasty-quickcheck are added, we will add ghc-clock with tests enabled.
4151 (define ghc-clock-bootstrap
4152 (package
4153 (name "ghc-clock-bootstrap")
4154 (version "0.5.1")
4155 (source
4156 (origin
4157 (method url-fetch)
4158 (uri (string-append
4159 "https://hackage.haskell.org/package/"
4160 "clock/"
4161 "clock-" version ".tar.gz"))
4162 (sha256
4163 (base32 "1ncph7vi2q6ywwc8ysxl1ibw6i5dwfvln88ssfazk8jgpj4iyykw"))))
4164 (build-system haskell-build-system)
4165 (arguments `(#:tests? #f)) ;; Testing suite depends on tasty and
4166 ;; tasty-quickcheck, which need clock to build.
4167 (home-page "https://hackage.haskell.org/package/clock")
4168 (synopsis "High-resolution clock for Haskell")
4169 (description "A package for convenient access to high-resolution clock and
4170 timer functions of different operating systems via a unified API.")
4171 (license license:bsd-3)))
4172
4173 (define-public ghc-clock
4174 (package
4175 (name "ghc-clock")
4176 (version "0.5.1")
4177 (source
4178 (origin
4179 (method url-fetch)
4180 (uri (string-append
4181 "https://hackage.haskell.org/package/"
4182 "clock/"
4183 "clock-" version ".tar.gz"))
4184 (sha256
4185 (base32 "1ncph7vi2q6ywwc8ysxl1ibw6i5dwfvln88ssfazk8jgpj4iyykw"))))
4186 (build-system haskell-build-system)
4187 (inputs
4188 `(("ghc-tasty" ,ghc-tasty)
4189 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4190 (home-page "https://hackage.haskell.org/package/clock")
4191 (synopsis "High-resolution clock for Haskell")
4192 (description "A package for convenient access to high-resolution clock and
4193 timer functions of different operating systems via a unified API.")
4194 (license license:bsd-3)))
4195
4196 (define-public ghc-charset
4197 (package
4198 (name "ghc-charset")
4199 (version "0.3.7.1")
4200 (source
4201 (origin
4202 (method url-fetch)
4203 (uri (string-append
4204 "https://hackage.haskell.org/package/charset/charset-"
4205 version
4206 ".tar.gz"))
4207 (sha256
4208 (base32
4209 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
4210 (build-system haskell-build-system)
4211 (inputs
4212 `(("ghc-semigroups" ,ghc-semigroups)
4213 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4214 (home-page "https://github.com/ekmett/charset")
4215 (synopsis "Fast unicode character sets for Haskell")
4216 (description "This package provides fast unicode character sets for
4217 Haskell, based on complemented PATRICIA tries.")
4218 (license license:bsd-3)))
4219
4220 (define-public ghc-bytestring-builder
4221 (package
4222 (name "ghc-bytestring-builder")
4223 (version "0.10.6.0.0")
4224 (source
4225 (origin
4226 (method url-fetch)
4227 (uri (string-append
4228 "https://hackage.haskell.org/package/bytestring-builder"
4229 "/bytestring-builder-" version ".tar.gz"))
4230 (sha256
4231 (base32
4232 "1mkg24zl0rapb3gqzkyj5ibp07wx3yzd72hmfczssl0is63rjhww"))))
4233 (build-system haskell-build-system)
4234 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4235 (home-page "https://hackage.haskell.org/package/bytestring-builder")
4236 (synopsis "The new bytestring builder, packaged outside of GHC")
4237 (description "This package provides the bytestring builder that is
4238 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
4239 Compatibility package for older packages.")
4240 (license license:bsd-3)))
4241
4242 (define-public ghc-nats
4243 (package
4244 (name "ghc-nats")
4245 (version "1")
4246 (source
4247 (origin
4248 (method url-fetch)
4249 (uri (string-append
4250 "https://hackage.haskell.org/package/nats/nats-"
4251 version
4252 ".tar.gz"))
4253 (sha256
4254 (base32
4255 "0r6s8l4s0yq3x2crrkv0b8zac13magfasr9v8hnq6rn1icsfhic0"))))
4256 (build-system haskell-build-system)
4257 (arguments `(#:haddock? #f))
4258 (inputs
4259 `(("ghc-hashable" ,ghc-hashable)))
4260 (home-page "https://hackage.haskell.org/package/nats")
4261 (synopsis "Natural numbers")
4262 (description "This library provides the natural numbers for Haskell.")
4263 (license license:bsd-3)))
4264
4265 (define-public ghc-void
4266 (package
4267 (name "ghc-void")
4268 (version "0.7.1")
4269 (source
4270 (origin
4271 (method url-fetch)
4272 (uri (string-append
4273 "https://hackage.haskell.org/package/void/void-"
4274 version
4275 ".tar.gz"))
4276 (sha256
4277 (base32
4278 "1x15x2axz84ndw2bf60vjqljhrb0w95lddaljsxrl0hcd29zvw69"))))
4279 (build-system haskell-build-system)
4280 (inputs
4281 `(("ghc-semigroups" ,ghc-semigroups)
4282 ("ghc-hashable" ,ghc-hashable)))
4283 (home-page "https://github.com/ekmett/void")
4284 (synopsis
4285 "Logically uninhabited data type")
4286 (description
4287 "A Haskell 98 logically uninhabited data type, used to indicate that a
4288 given term should not exist.")
4289 (license license:bsd-3)))
4290
4291 (define-public ghc-kan-extensions
4292 (package
4293 (name "ghc-kan-extensions")
4294 (version "4.2.3")
4295 (source
4296 (origin
4297 (method url-fetch)
4298 (uri (string-append
4299 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
4300 version
4301 ".tar.gz"))
4302 (sha256
4303 (base32
4304 "0iywbadpy8s3isfzlx9dlz3apaywhqq4gdbxkwygksq8pzdhwkrk"))))
4305 (build-system haskell-build-system)
4306 (inputs
4307 `(("ghc-adjunctions" ,ghc-adjunctions)
4308 ("ghc-comonad" ,ghc-comonad)
4309 ("ghc-contravariant" ,ghc-contravariant)
4310 ("ghc-distributive" ,ghc-distributive)
4311 ("ghc-free" ,ghc-free)
4312 ("ghc-mtl" ,ghc-mtl)
4313 ("ghc-semigroupoids" ,ghc-semigroupoids)
4314 ("ghc-tagged" ,ghc-tagged)))
4315 (home-page "https://github.com/ekmett/kan-extensions/")
4316 (synopsis "Kan extensions library")
4317 (description "This library provides Kan extensions, Kan lifts, various
4318 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
4319 (license license:bsd-3)))
4320
4321 (define-public ghc-statevar
4322 (package
4323 (name "ghc-statevar")
4324 (version "1.1.0.1")
4325 (source
4326 (origin
4327 (method url-fetch)
4328 (uri (string-append
4329 "https://hackage.haskell.org/package/StateVar/StateVar-"
4330 version
4331 ".tar.gz"))
4332 (sha256
4333 (base32
4334 "1ap51cvwq61xckx5hw44l82ihbxvsq3263xr5hqg42c5qp67kbhf"))))
4335 (build-system haskell-build-system)
4336 (inputs
4337 `(("ghc-stm" ,ghc-stm)))
4338 (home-page "https://hackage.haskell.org/package/StateVar")
4339 (synopsis "State variables for Haskell")
4340 (description "This package provides state variables, which are references
4341 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
4342 (license license:bsd-3)))
4343
4344 (define-public ghc-lens
4345 (package
4346 (name "ghc-lens")
4347 (version "4.13")
4348 (source
4349 (origin
4350 (method url-fetch)
4351 (uri (string-append
4352 "https://hackage.haskell.org/package/lens/lens-"
4353 version
4354 ".tar.gz"))
4355 (sha256
4356 (base32
4357 "0g4g0xksrb2m8wgsmraaq8qnk1sssb42kr65fc7clgyid6zyfmim"))))
4358 (build-system haskell-build-system)
4359 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4360 (inputs
4361 `(("ghc-base-orphans" ,ghc-base-orphans)
4362 ("ghc-bifunctors" ,ghc-bifunctors)
4363 ("ghc-distributive" ,ghc-distributive)
4364 ("ghc-exceptions" ,ghc-exceptions)
4365 ("ghc-free" ,ghc-free)
4366 ("ghc-kan-extensions" ,ghc-kan-extensions)
4367 ("ghc-parallel" ,ghc-parallel)
4368 ("ghc-reflection" ,ghc-reflection)
4369 ("ghc-semigroupoids" ,ghc-semigroupoids)
4370 ("ghc-vector" ,ghc-vector)
4371 ("ghc-comonad" ,ghc-comonad)
4372 ("ghc-contravariant" ,ghc-contravariant)
4373 ("ghc-hashable" ,ghc-hashable)
4374 ("ghc-mtl" ,ghc-mtl)
4375 ("ghc-profunctors" ,ghc-profunctors)
4376 ("ghc-semigroups" ,ghc-semigroups)
4377 ("ghc-tagged" ,ghc-tagged)
4378 ("ghc-text" ,ghc-text)
4379 ("ghc-transformers-compat" ,ghc-transformers-compat)
4380 ("ghc-unordered-containers" ,ghc-unordered-containers)
4381 ("ghc-void" ,ghc-void)
4382 ("ghc-generic-deriving" ,ghc-generic-deriving)
4383 ("ghc-nats" ,ghc-nats)
4384 ("ghc-simple-reflect" ,ghc-simple-reflect)
4385 ("hlint" ,hlint)))
4386 (home-page "https://github.com/ekmett/lens/")
4387 (synopsis "Lenses, Folds and Traversals")
4388 (description "This library provides @code{Control.Lens}. The combinators
4389 in @code{Control.Lens} provide a highly generic toolbox for composing families
4390 of getters, folds, isomorphisms, traversals, setters and lenses and their
4391 indexed variants.")
4392 (license license:bsd-3)))
4393
4394 (define-public ghc-tagsoup
4395 (package
4396 (name "ghc-tagsoup")
4397 (version "0.14")
4398 (source
4399 (origin
4400 (method url-fetch)
4401 (uri (string-append
4402 "https://hackage.haskell.org/package/tagsoup/tagsoup-"
4403 version
4404 ".tar.gz"))
4405 (sha256
4406 (base32
4407 "07pax7i0bl79dmqqz58zy09yrgpnyyr2ya0z183hv96kp65jv0lh"))))
4408 (build-system haskell-build-system)
4409 (inputs `(("ghc-text" ,ghc-text)))
4410 (home-page
4411 "http://community.haskell.org/~ndm/tagsoup/")
4412 (synopsis
4413 "Parsing and extracting information from (possibly malformed) HTML/XML
4414 documents")
4415 (description
4416 "TagSoup is a library for parsing HTML/XML. It supports the HTML 5
4417 specification, and can be used to parse either well-formed XML, or
4418 unstructured and malformed HTML from the web. The library also provides
4419 useful functions to extract information from an HTML document, making it ideal
4420 for screen-scraping.")
4421 (license license:bsd-3)))
4422
4423 (define-public ghc-digest
4424 (package
4425 (name "ghc-digest")
4426 (version "0.0.1.2")
4427 (source
4428 (origin
4429 (method url-fetch)
4430 (uri (string-append
4431 "https://hackage.haskell.org/package/digest/digest-"
4432 version
4433 ".tar.gz"))
4434 (sha256
4435 (base32
4436 "04gy2zp8yzvv7j9bdfvmfzcz3sqyqa6rwslqcn4vyair2vmif5v4"))))
4437 (build-system haskell-build-system)
4438 (inputs
4439 `(("zlib" ,zlib)))
4440 (home-page
4441 "https://hackage.haskell.org/package/digest")
4442 (synopsis
4443 "Various cryptographic hashes for bytestrings")
4444 (description
4445 "This package provides efficient cryptographic hash implementations for
4446 strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; they
4447 are implemented as FFI bindings to efficient code from zlib.")
4448 (license license:bsd-3)))
4449
4450 (define-public ghc-cheapskate
4451 (package
4452 (name "ghc-cheapskate")
4453 (version "0.1.0.4")
4454 (source
4455 (origin
4456 (method url-fetch)
4457 (uri (string-append
4458 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
4459 version
4460 ".tar.gz"))
4461 (sha256
4462 (base32
4463 "0drx1hlqvdcrij4097q6bxhbfcqm73jsqv1wwhd3hsnjdmr46ch2"))))
4464 (build-system haskell-build-system)
4465 (inputs
4466 `(("ghc-xss-sanitize" ,ghc-xss-sanitize)
4467 ("ghc-data-default" ,ghc-data-default)
4468 ("ghc-mtl" ,ghc-mtl)
4469 ("ghc-text" ,ghc-text)
4470 ("ghc-blaze-html" ,ghc-blaze-html)
4471 ("ghc-syb" ,ghc-syb)
4472 ("ghc-uniplate" ,ghc-uniplate)
4473 ("ghc-aeson" ,ghc-aeson)
4474 ("ghc-wai-extra" ,ghc-wai-extra)
4475 ("ghc-wai" ,ghc-wai)
4476 ("ghc-http-types" ,ghc-http-types)))
4477 (home-page "https://github.com/jgm/cheapskate")
4478 (synopsis "Experimental markdown processor")
4479 (description "Cheapskate is an experimental Markdown processor in pure
4480 Haskell. It aims to process Markdown efficiently and in the most forgiving
4481 possible way. It is designed to deal with any input, including garbage, with
4482 linear performance. Output is sanitized by default for protection against XSS
4483 attacks.")
4484 (license license:bsd-3)))
4485
4486 (define-public ghc-bifunctors
4487 (package
4488 (name "ghc-bifunctors")
4489 (version "5")
4490 (source
4491 (origin
4492 (method url-fetch)
4493 (uri (string-append
4494 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
4495 version
4496 ".tar.gz"))
4497 (sha256
4498 (base32
4499 "13990xdgx0n23qgi18ghhmsywj5zkr0a5bim0g8a4nzi0cx95ps1"))))
4500 (build-system haskell-build-system)
4501 (inputs
4502 `(("ghc-tagged" ,ghc-tagged)
4503 ("ghc-semigroups" ,ghc-semigroups)))
4504 (home-page "https://github.com/ekmett/bifunctors/")
4505 (synopsis "Bifunctors for Haskell")
4506 (description "This package provides bifunctors for Haskell.")
4507 (license license:bsd-3)))
4508
4509 (define-public ghc-semigroupoids
4510 (package
4511 (name "ghc-semigroupoids")
4512 (version "5.0.0.4")
4513 (source
4514 (origin
4515 (method url-fetch)
4516 (uri (string-append
4517 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
4518 version
4519 ".tar.gz"))
4520 (sha256
4521 (base32
4522 "1jf7jnfhdvl6p18wdr21yi2fim1xb8alcn6szhrdswj0dkilgq6d"))))
4523 (build-system haskell-build-system)
4524 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4525 (inputs
4526 `(("ghc-base-orphans" ,ghc-base-orphans)
4527 ("ghc-transformers-compat" ,ghc-transformers-compat)
4528 ("ghc-bifunctors" ,ghc-bifunctors)
4529 ("ghc-comonad" ,ghc-comonad)
4530 ("ghc-contravariant" ,ghc-contravariant)
4531 ("ghc-distributive" ,ghc-distributive)
4532 ("ghc-semigroups" ,ghc-semigroups)
4533 ("ghc-tagged" ,ghc-tagged)))
4534 (home-page "https://github.com/ekmett/semigroupoids")
4535 (synopsis "Semigroupoids operations for Haskell")
4536 (description "This library provides a wide array of (semi)groupoids and
4537 operations for working with them. A @code{Semigroupoid} is a @code{Category}
4538 without the requirement of identity arrows for every object in the category.
4539 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
4540 Finally, to work with these weaker structures it is beneficial to have
4541 containers that can provide stronger guarantees about their contents, so
4542 versions of @code{Traversable} and @code{Foldable} that can be folded with
4543 just a @code{Semigroup} are added.")
4544 (license license:bsd-3)))
4545
4546 (define-public ghc-contravariant
4547 (package
4548 (name "ghc-contravariant")
4549 (version "1.3.3")
4550 (source
4551 (origin
4552 (method url-fetch)
4553 (uri (string-append
4554 "https://hackage.haskell.org/package/contravariant/contravariant-"
4555 version
4556 ".tar.gz"))
4557 (sha256
4558 (base32
4559 "184hcmhsznqrkmqlc1kza9pb5p591anva574ry8wrh81vqmhwfb5"))))
4560 (build-system haskell-build-system)
4561 (inputs
4562 `(("ghc-void" ,ghc-void)
4563 ("ghc-transformers-compat" ,ghc-transformers-compat)
4564 ("ghc-statevar" ,ghc-statevar)
4565 ("ghc-semigroups" ,ghc-semigroups)))
4566 (home-page
4567 "https://github.com/ekmett/contravariant/")
4568 (synopsis "Contravariant functors")
4569 (description "Contravariant functors for Haskell.")
4570 (license license:bsd-3)))
4571
4572 (define-public ghc-semigroups
4573 (package
4574 (name "ghc-semigroups")
4575 (version "0.17.0.1")
4576 (source
4577 (origin
4578 (method url-fetch)
4579 (uri (string-append
4580 "https://hackage.haskell.org/package/semigroups/semigroups-"
4581 version
4582 ".tar.gz"))
4583 (sha256
4584 (base32
4585 "0gvpfi7s6ys4qha3y9a1zl1a15gf9cgg33wjb94ghg82ivcxnc3r"))))
4586 (build-system haskell-build-system)
4587 (inputs
4588 `(("ghc-nats" ,ghc-nats)
4589 ("ghc-tagged" ,ghc-tagged)
4590 ("ghc-unordered-containers" ,ghc-unordered-containers)
4591 ("ghc-text" ,ghc-text)
4592 ("ghc-hashable" ,ghc-hashable)))
4593 (home-page "https://github.com/ekmett/semigroups/")
4594 (synopsis "Semigroup operations for Haskell")
4595 (description "This package provides semigroups for Haskell. In
4596 mathematics, a semigroup is an algebraic structure consisting of a set
4597 together with an associative binary operation. A semigroup generalizes a
4598 monoid in that there might not exist an identity element. It
4599 also (originally) generalized a group (a monoid with all inverses) to a type
4600 where every element did not have to have an inverse, thus the name
4601 semigroup.")
4602 (license license:bsd-3)))
4603
4604 (define-public ghc-free
4605 (package
4606 (name "ghc-free")
4607 (version "4.12.1")
4608 (source
4609 (origin
4610 (method url-fetch)
4611 (uri (string-append
4612 "https://hackage.haskell.org/package/free/free-"
4613 version
4614 ".tar.gz"))
4615 (sha256
4616 (base32
4617 "0sr8phvrb4ny8j1wzq55rdn8q4br23q4pw2j276npr844825jr9p"))))
4618 (build-system haskell-build-system)
4619 (inputs
4620 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4621 ("ghc-profunctors" ,ghc-profunctors)
4622 ("ghc-exceptions" ,ghc-exceptions)
4623 ("ghc-bifunctors" ,ghc-bifunctors)
4624 ("ghc-comonad" ,ghc-comonad)
4625 ("ghc-distributive" ,ghc-distributive)
4626 ("ghc-mtl" ,ghc-mtl)
4627 ("ghc-semigroupoids" ,ghc-semigroupoids)
4628 ("ghc-semigroups" ,ghc-semigroups)))
4629 (home-page "https://github.com/ekmett/free/")
4630 (synopsis "Unrestricted monads for Haskell")
4631 (description "This library provides free monads, which are useful for many
4632 tree-like structures and domain specific languages. If @code{f} is a
4633 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4634 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4635 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4636 f} makes no constraining assumptions beyond those given by @code{f} and the
4637 definition of @code{Monad}.")
4638 (license license:bsd-3)))
4639
4640 (define-public ghc-adjunctions
4641 (package
4642 (name "ghc-adjunctions")
4643 (version "4.2.2")
4644 (source
4645 (origin
4646 (method url-fetch)
4647 (uri (string-append
4648 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
4649 version
4650 ".tar.gz"))
4651 (sha256
4652 (base32
4653 "00p030iypjzjib8pxz1x6mxfi59wvyrwjj11zv9bh766dgkdbwjq"))))
4654 (build-system haskell-build-system)
4655 (inputs
4656 `(("ghc-profunctors" ,ghc-profunctors)
4657 ("ghc-comonad" ,ghc-comonad)
4658 ("ghc-contravariant" ,ghc-contravariant)
4659 ("ghc-distributive" ,ghc-distributive)
4660 ("ghc-free" ,ghc-free)
4661 ("ghc-mtl" ,ghc-mtl)
4662 ("ghc-tagged" ,ghc-tagged)
4663 ("ghc-semigroupoids" ,ghc-semigroupoids)
4664 ("ghc-semigroups" ,ghc-semigroups)
4665 ("ghc-void" ,ghc-void)))
4666 (home-page "https://github.com/ekmett/adjunctions/")
4667 (synopsis "Adjunctions and representable functors")
4668 (description "This library provides adjunctions and representable functors
4669 for Haskell.")
4670 (license license:bsd-3)))
4671
4672 (define-public ghc-fast-logger
4673 (package
4674 (name "ghc-fast-logger")
4675 (version "2.4.1")
4676 (source
4677 (origin
4678 (method url-fetch)
4679 (uri (string-append
4680 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
4681 version
4682 ".tar.gz"))
4683 (sha256
4684 (base32
4685 "0kjk1861qcls8m8y7i55msfpprws5wk6c5mxzi35g2qbl2sih4p5"))))
4686 (build-system haskell-build-system)
4687 (inputs
4688 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
4689 ("ghc-auto-update" ,ghc-auto-update)
4690 ("ghc-text" ,ghc-text)))
4691 (native-inputs
4692 `(("hspec-discover" ,hspec-discover)
4693 ("ghc-hspec" ,ghc-hspec)))
4694 (home-page "https://hackage.haskell.org/package/fast-logger")
4695 (synopsis "Fast logging system")
4696 (description "This library provides a fast logging system for Haskell.")
4697 (license license:bsd-3)))
4698
4699 (define-public ghc-doctest
4700 (package
4701 (name "ghc-doctest")
4702 (version "0.10.1")
4703 (source
4704 (origin
4705 (method url-fetch)
4706 (uri (string-append
4707 "https://hackage.haskell.org/package/doctest/doctest-"
4708 version
4709 ".tar.gz"))
4710 (sha256
4711 (base32
4712 "1jbyhzbi2hfrfg7vbkpj6vriaap8cn99nnmzwcfscwaijz09jyrm"))))
4713 (build-system haskell-build-system)
4714 (arguments `(#:tests? #f)) ; FIXME: missing test framework
4715 (inputs
4716 `(("ghc-syb" ,ghc-syb)
4717 ("ghc-paths" ,ghc-paths)
4718 ("ghc-base-compat" ,ghc-base-compat)
4719 ("ghc-hunit" ,ghc-hunit)
4720 ("ghc-hspec" ,ghc-hspec)
4721 ("ghc-quickcheck" ,ghc-quickcheck)
4722 ("ghc-stringbuilder" ,ghc-stringbuilder)
4723 ("ghc-silently" ,ghc-silently)
4724 ("ghc-setenv" ,ghc-setenv)))
4725 (home-page
4726 "https://github.com/sol/doctest#readme")
4727 (synopsis "Test interactive Haskell examples")
4728 (description "The doctest program checks examples in source code comments.
4729 It is modeled after doctest for Python, see
4730 @uref{http://docs.python.org/library/doctest.html, the Doctest website}.")
4731 (license license:expat)))
4732
4733 (define-public ghc-lifted-base
4734 (package
4735 (name "ghc-lifted-base")
4736 (version "0.2.3.6")
4737 (source
4738 (origin
4739 (method url-fetch)
4740 (uri (string-append
4741 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
4742 version
4743 ".tar.gz"))
4744 (sha256
4745 (base32
4746 "1yz14a1rsgknwyl08n4kxrlc26hfwmb95a3c2drbnsgmhdyq7iap"))))
4747 (build-system haskell-build-system)
4748 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
4749 (inputs
4750 `(("ghc-transformers-base" ,ghc-transformers-base)
4751 ("ghc-monad-control" ,ghc-monad-control)
4752 ("ghc-transformers-compat" ,ghc-transformers-compat)
4753 ("ghc-hunit" ,ghc-hunit)))
4754 (home-page "https://github.com/basvandijk/lifted-base")
4755 (synopsis "Lifted IO operations from the base library")
4756 (description "Lifted-base exports IO operations from the @code{base}
4757 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
4758 Note that not all modules from @code{base} are converted yet. The package
4759 includes a copy of the @code{monad-peel} test suite written by Anders
4760 Kaseorg.")
4761 (license license:bsd-3)))
4762
4763 (define-public ghc-word8
4764 (package
4765 (name "ghc-word8")
4766 (version "0.1.2")
4767 (source
4768 (origin
4769 (method url-fetch)
4770 (uri (string-append
4771 "https://hackage.haskell.org/package/word8/word8-"
4772 version
4773 ".tar.gz"))
4774 (sha256
4775 (base32
4776 "1pbn8ra3qhwvw07p375cdmp7jzlg07hgdcr4cpscz3h7b9sy7fiw"))))
4777 (build-system haskell-build-system)
4778 (native-inputs
4779 `(("ghc-hspec" ,ghc-hspec)
4780 ("hspec-discover" ,hspec-discover)))
4781 (home-page "https://hackage.haskell.org/package/word8")
4782 (synopsis "Word8 library for Haskell")
4783 (description "Word8 library to be used with @code{Data.ByteString}.")
4784 (license license:bsd-3)))
4785
4786 (define-public ghc-stringsearch
4787 (package
4788 (name "ghc-stringsearch")
4789 (version "0.3.6.6")
4790 (source
4791 (origin
4792 (method url-fetch)
4793 (uri (string-append
4794 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
4795 version
4796 ".tar.gz"))
4797 (sha256
4798 (base32
4799 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
4800 (build-system haskell-build-system)
4801 (home-page "https://bitbucket.org/dafis/stringsearch")
4802 (synopsis "Fast searching, splitting and replacing of ByteStrings")
4803 (description "This package provides several functions to quickly search
4804 for substrings in strict or lazy @code{ByteStrings}. It also provides
4805 functions for breaking or splitting on substrings and replacing all
4806 occurrences of a substring (the first in case of overlaps) with another.")
4807 (license license:bsd-3)))
4808
4809 (define-public ghc-tasty-quickcheck
4810 (package
4811 (name "ghc-tasty-quickcheck")
4812 (version "0.8.4")
4813 (source
4814 (origin
4815 (method url-fetch)
4816 (uri (string-append
4817 "https://hackage.haskell.org/package/tasty-quickcheck/"
4818 "tasty-quickcheck-" version ".tar.gz"))
4819 (sha256
4820 (base32
4821 "15rjxib5jmjq0hzj47x15kgp3awc73va4cy1pmpf7k3hvfv4qprn"))))
4822 (build-system haskell-build-system)
4823 (inputs
4824 `(("ghc-quickcheck" ,ghc-quickcheck)
4825 ("ghc-tagged" ,ghc-tagged)
4826 ("ghc-tasty" ,ghc-tasty)
4827 ("ghc-random" ,ghc-random)
4828 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
4829 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4830 ("ghc-pcre-light" ,ghc-pcre-light)))
4831 (home-page "http://documentup.com/feuerbach/tasty")
4832 (synopsis "QuickCheck support for the Tasty test framework")
4833 (description "This package provides QuickCheck support for the Tasty
4834 Haskell test framework.")
4835 (license license:expat)))
4836
4837 (define-public ghc-tasty-golden
4838 (package
4839 (name "ghc-tasty-golden")
4840 (version "2.3.0.2")
4841 (source
4842 (origin
4843 (method url-fetch)
4844 (uri (string-append
4845 "https://hackage.haskell.org/package/tasty-golden/tasty-golden-"
4846 version
4847 ".tar.gz"))
4848 (sha256
4849 (base32
4850 "0n7nll1sx75n3lffwhgnjrxdn0jz1g0921z9mj193fxqw0wz8axh"))))
4851 (build-system haskell-build-system)
4852 (inputs
4853 `(("ghc-temporary" ,ghc-temporary)
4854 ("ghc-tasty" ,ghc-tasty)
4855 ("ghc-mtl" ,ghc-mtl)
4856 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
4857 ("ghc-tagged" ,ghc-tagged)
4858 ("ghc-async" ,ghc-async)
4859 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4860 ("ghc-temporary-rc" ,ghc-temporary-rc)))
4861 (home-page
4862 "https://github.com/feuerbach/tasty-golden")
4863 (synopsis "Golden tests support for tasty")
4864 (description
4865 "This package provides support for 'golden testing'. A golden test is an
4866 IO action that writes its result to a file. To pass the test, this output
4867 file should be identical to the corresponding 'golden' file, which contains
4868 the correct result for the test.")
4869 (license license:expat)))
4870
4871 (define-public ghc-tasty
4872 (package
4873 (name "ghc-tasty")
4874 (version "0.11.0.1")
4875 (source
4876 (origin
4877 (method url-fetch)
4878 (uri (string-append
4879 "https://hackage.haskell.org/package/tasty/tasty-"
4880 version
4881 ".tar.gz"))
4882 (sha256
4883 (base32
4884 "1chapivmmwsb1ghwagvdm80bfj3hdk75m94z4p212ng2i4ghpjkx"))))
4885 (build-system haskell-build-system)
4886 (inputs
4887 `(("ghc-stm" ,ghc-stm)
4888 ("ghc-mtl" ,ghc-mtl)
4889 ("ghc-tagged" ,ghc-tagged)
4890 ("ghc-regex-tdfa-rc" ,ghc-regex-tdfa-rc)
4891 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
4892 ("ghc-unbounded-delays" ,ghc-unbounded-delays)
4893 ("ghc-async" ,ghc-async)
4894 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
4895 ("ghc-clock-bootstrap" ,ghc-clock-bootstrap)))
4896 (home-page "http://documentup.com/feuerbach/tasty")
4897 (synopsis "Modern and extensible testing framework")
4898 (description "Tasty is a modern testing framework for Haskell. It lets
4899 you combine your unit tests, golden tests, QuickCheck/SmallCheck properties,
4900 and any other types of tests into a single test suite.")
4901 (license license:expat)))
4902
4903 (define-public ghc-tasty-hunit
4904 (package
4905 (name "ghc-tasty-hunit")
4906 (version "0.9.2")
4907 (source
4908 (origin
4909 (method url-fetch)
4910 (uri (string-append
4911 "https://hackage.haskell.org/package/tasty-hunit/tasty-hunit-"
4912 version
4913 ".tar.gz"))
4914 (sha256
4915 (base32
4916 "08qnxaw34wfnzi9irs1jd4d0zczqm3k5ffkd4zwhkz0dflmgq7mf"))))
4917 (build-system haskell-build-system)
4918 (inputs
4919 `(("ghc-tasty" ,ghc-tasty)))
4920 (home-page "http://documentup.com/feuerbach/tasty")
4921 (synopsis "HUnit support for the Tasty test framework")
4922 (description "This package provides HUnit support for the Tasty Haskell
4923 test framework.")
4924 (license license:expat)))
4925
4926 (define-public ghc-cookie
4927 (package
4928 (name "ghc-cookie")
4929 (version "0.4.1.6")
4930 (source
4931 (origin
4932 (method url-fetch)
4933 (uri (string-append
4934 "https://hackage.haskell.org/package/cookie/cookie-"
4935 version
4936 ".tar.gz"))
4937 (sha256
4938 (base32
4939 "0b6ym6fn29p5az4dwydy036lxj131kagrmgb93w4bbkqfkds8b9s"))))
4940 (build-system haskell-build-system)
4941 (inputs
4942 `(("ghc-old-locale" ,ghc-old-locale)
4943 ("ghc-blaze-builder" ,ghc-blaze-builder)
4944 ("ghc-text" ,ghc-text)
4945 ("ghc-data-default-class" ,ghc-data-default-class)
4946 ("ghc-hunit" ,ghc-hunit)
4947 ("ghc-quickcheck" ,ghc-quickcheck)
4948 ("ghc-tasty" ,ghc-tasty)
4949 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4950 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4951 (home-page "https://github.com/snoyberg/cookie")
4952 (synopsis "HTTP cookie parsing and rendering")
4953 (description "HTTP cookie parsing and rendering library for Haskell.")
4954 (license license:bsd-3)))
4955
4956 (define-public ghc-scientific
4957 (package
4958 (name "ghc-scientific")
4959 (version "0.3.4.2")
4960 (source
4961 (origin
4962 (method url-fetch)
4963 (uri (string-append
4964 "https://hackage.haskell.org/package/scientific/scientific-"
4965 version
4966 ".tar.gz"))
4967 (sha256
4968 (base32
4969 "0mimdkva0cgzaychr6whv9if29z0r5wwhkss9bmd4rz8kq1kgngn"))))
4970 (build-system haskell-build-system)
4971 (inputs
4972 `(("ghc-hashable" ,ghc-hashable)
4973 ("ghc-vector" ,ghc-vector)
4974 ("ghc-text" ,ghc-text)
4975 ("ghc-tasty" ,ghc-tasty)
4976 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
4977 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4978 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
4979 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
4980 ("ghc-smallcheck" ,ghc-smallcheck)
4981 ("ghc-quickcheck" ,ghc-quickcheck)))
4982 (home-page "https://github.com/basvandijk/scientific")
4983 (synopsis "Numbers represented using scientific notation")
4984 (description "This package provides @code{Data.Scientific}, which provides
4985 the number type @code{Scientific}. Scientific numbers are arbitrary precision
4986 and space efficient. They are represented using
4987 @uref{http://en.wikipedia.org/wiki/Scientific_notation, scientific
4988 notation}.")
4989 (license license:bsd-3)))
4990
4991 (define-public ghc-aeson
4992 (package
4993 (name "ghc-aeson")
4994 (version "0.10.0.0")
4995 (source
4996 (origin
4997 (method url-fetch)
4998 (uri (string-append
4999 "https://hackage.haskell.org/package/aeson/aeson-"
5000 version
5001 ".tar.gz"))
5002 (sha256
5003 (base32
5004 "19kp33rfivr4d3myyr8xn803wd7p8x5nc4wb3qvlgjwgyqjaxvrz"))))
5005 (build-system haskell-build-system)
5006 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
5007 (inputs
5008 `(("ghc-attoparsec" ,ghc-attoparsec)
5009 ("ghc-dlist" ,ghc-dlist)
5010 ("ghc-mtl" ,ghc-mtl)
5011 ("ghc-scientific" ,ghc-scientific)
5012 ("ghc-syb" ,ghc-syb)
5013 ("ghc-unordered-containers" ,ghc-unordered-containers)
5014 ("ghc-vector" ,ghc-vector)
5015 ("ghc-hashable" ,ghc-hashable)
5016 ("ghc-text" ,ghc-text)
5017 ("ghc-hunit" ,ghc-hunit)
5018 ("ghc-quickcheck" ,ghc-quickcheck)))
5019 (home-page "https://github.com/bos/aeson")
5020 (synopsis "Fast JSON parsing and encoding")
5021 (description "This package provides a JSON parsing and encoding library
5022 for Haskell, optimized for ease of use and high performance. (A note on
5023 naming: in Greek mythology, Aeson was the father of Jason.)")
5024 (license license:bsd-3)))
5025
5026 (define-public ghc-aeson-pretty
5027 (package
5028 (name "ghc-aeson-pretty")
5029 (version "0.7.2")
5030 (source (origin
5031 (method url-fetch)
5032 (uri (string-append
5033 "https://hackage.haskell.org/package/aeson-pretty/aeson-pretty-"
5034 version ".tar.gz"))
5035 (sha256
5036 (base32
5037 "03ap81853qi8yd9kdgczllrrni23a6glsfxrwj8zab6ipjrbh234"))))
5038 (build-system haskell-build-system)
5039 (inputs
5040 `(("ghc-aeson" ,ghc-aeson)
5041 ("ghc-vector" ,ghc-vector)
5042 ("ghc-text" ,ghc-text)
5043 ("ghc-unordered-containers"
5044 ,ghc-unordered-containers)
5045 ("ghc-attoparsec" ,ghc-attoparsec)
5046 ("ghc-cmdargs" ,ghc-cmdargs)))
5047 (home-page "https://github.com/informatikr/aeson-pretty")
5048 (synopsis "JSON pretty-printing library and command-line tool")
5049 (description
5050 "This package provides a JSON pretty-printing library compatible with aeson
5051 as well as a command-line tool to improve readabilty of streams of JSON data.
5052 The library provides the function @code{encodePretty}. It is a drop-in
5053 replacement for aeson's @code{encode} function, producing JSON-ByteStrings for
5054 human readers. The command-line tool reads JSON from stdin and writes
5055 prettified JSON to stdout. It also offers a complementary \"compact\"-mode,
5056 essentially the opposite of pretty-printing.")
5057 (license license:bsd-3)))
5058
5059 (define-public ghc-wai
5060 (package
5061 (name "ghc-wai")
5062 (version "3.0.4.0")
5063 (source
5064 (origin
5065 (method url-fetch)
5066 (uri (string-append
5067 "https://hackage.haskell.org/package/wai/wai-"
5068 version
5069 ".tar.gz"))
5070 (sha256
5071 (base32
5072 "1551n0g0n22vml33v0jz5xgjcy6j79algvsdqg11a1z5ljjrjlqf"))))
5073 (build-system haskell-build-system)
5074 (inputs
5075 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
5076 ("ghc-unix-compat" ,ghc-unix-compat)
5077 ("ghc-vault" ,ghc-vault)
5078 ("ghc-blaze-builder" ,ghc-blaze-builder)
5079 ("ghc-network" ,ghc-network)
5080 ("ghc-text" ,ghc-text)
5081 ("ghc-http-types" ,ghc-http-types)))
5082 (native-inputs
5083 `(("hspec-discover" ,hspec-discover)
5084 ("ghc-quickcheck" ,ghc-quickcheck)
5085 ("ghc-hunit" ,ghc-hunit)
5086 ("ghc-hspec" ,ghc-hspec)))
5087 (home-page "https://hackage.haskell.org/package/wai")
5088 (synopsis "Web application interface for Haskell")
5089 (description "This package provides a Web Application Interface (WAI)
5090 library for the Haskell language. It defines a common protocol for
5091 communication between web applications and web servers.")
5092 (license license:bsd-3)))
5093
5094 (define-public ghc-wai-logger
5095 (package
5096 (name "ghc-wai-logger")
5097 (version "2.2.4.1")
5098 (source
5099 (origin
5100 (method url-fetch)
5101 (uri (string-append
5102 "https://hackage.haskell.org/package/wai-logger/wai-logger-"
5103 version
5104 ".tar.gz"))
5105 (sha256
5106 (base32
5107 "1s6svvy3ci4j1dj1jaw8hg628miwj8f5gpy9n8d8hpsaxav6nzgk"))))
5108 (build-system haskell-build-system)
5109 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find libraries exported
5110 ; by propagated-inputs.
5111 (inputs
5112 `(("ghc-auto-update" ,ghc-auto-update)
5113 ("ghc-byteorder" ,ghc-byteorder)
5114 ("ghc-easy-file" ,ghc-easy-file)
5115 ("ghc-unix-time" ,ghc-unix-time)
5116 ("ghc-blaze-builder" ,ghc-blaze-builder)
5117 ("ghc-case-insensitive" ,ghc-case-insensitive)
5118 ("ghc-fast-logger" ,ghc-fast-logger)
5119 ("ghc-http-types" ,ghc-http-types)
5120 ("ghc-network" ,ghc-network)
5121 ("ghc-wai" ,ghc-wai)))
5122 (home-page "https://hackage.haskell.org/package/wai-logger")
5123 (synopsis "Logging system for WAI")
5124 (description "This package provides the logging system for WAI.")
5125 (license license:bsd-3)))
5126
5127 (define-public ghc-wai-extra
5128 (package
5129 (name "ghc-wai-extra")
5130 (version "3.0.11.1")
5131 (source
5132 (origin
5133 (method url-fetch)
5134 (uri (string-append
5135 "https://hackage.haskell.org/package/wai-extra/wai-extra-"
5136 version
5137 ".tar.gz"))
5138 (sha256
5139 (base32
5140 "1kr2s5qyx1dvnwr372h7pca4sgxjv0pdx96xkgsfi180h3mb0vq8"))))
5141 (build-system haskell-build-system)
5142 (inputs
5143 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
5144 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
5145 ("ghc-cookie" ,ghc-cookie)
5146 ("ghc-blaze-builder" ,ghc-blaze-builder)
5147 ("ghc-network" ,ghc-network)
5148 ("ghc-lifted-base" ,ghc-lifted-base)
5149 ("ghc-streaming-commons" ,ghc-streaming-commons)
5150 ("ghc-stringsearch" ,ghc-stringsearch)
5151 ("ghc-resourcet" ,ghc-resourcet)
5152 ("ghc-fast-logger" ,ghc-fast-logger)
5153 ("ghc-wai-logger" ,ghc-wai-logger)
5154 ("ghc-zlib" ,ghc-zlib)
5155 ("ghc-word8" ,ghc-word8)
5156 ("ghc-iproute" ,ghc-iproute)
5157 ("ghc-void" ,ghc-void)
5158 ("ghc-wai" ,ghc-wai)
5159 ("ghc-http-types" ,ghc-http-types)
5160 ("ghc-text" ,ghc-text)
5161 ("ghc-case-insensitive" ,ghc-case-insensitive)
5162 ("ghc-data-default-class" ,ghc-data-default-class)
5163 ("ghc-unix-compat" ,ghc-unix-compat)
5164 ("ghc-vault" ,ghc-vault)
5165 ("ghc-aeson" ,ghc-aeson)))
5166 (native-inputs
5167 `(("hspec-discover" ,hspec-discover)
5168 ("ghc-hspec" ,ghc-hspec)
5169 ("ghc-hunit" ,ghc-hunit)))
5170 (home-page "https://github.com/yesodweb/wai")
5171 (synopsis "Some basic WAI handlers and middleware")
5172 (description "This library provides basic WAI handlers and middleware
5173 functionality.")
5174 (license license:expat)))
5175
5176 (define-public ghc-deepseq-generics
5177 (package
5178 (name "ghc-deepseq-generics")
5179 (version "0.1.1.2")
5180 (source (origin
5181 (method url-fetch)
5182 (uri (string-append "https://hackage.haskell.org/package/"
5183 "deepseq-generics/deepseq-generics-"
5184 version ".tar.gz"))
5185 (sha256
5186 (base32
5187 "01pvigx8n9p8hwbzp2qiq6kzf7cxiam843jz2sjgliacmmp1v7l3"))))
5188 (build-system haskell-build-system)
5189 (arguments
5190 `(#:phases
5191 (modify-phases %standard-phases
5192 (add-after 'unpack 'relax-ghc-prim-dependency
5193 (lambda _
5194 (substitute* "deepseq-generics.cabal"
5195 (("< 0.4") "< 0.5"))
5196 #t)))))
5197 (native-inputs
5198 `(("ghc-hunit" ,ghc-hunit)
5199 ("ghc-test-framework" ,ghc-test-framework)
5200 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5201 (home-page "https://github.com/hvr/deepseq-generics")
5202 (synopsis "Generic RNF implementation")
5203 (description
5204 "This package provides a @code{GHC.Generics}-based
5205 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
5206 providing an 'rnf' implementation.")
5207 (license license:bsd-3)))
5208
5209 (define-public ghc-pandoc-types
5210 (package
5211 (name "ghc-pandoc-types")
5212 (version "1.16.1.1")
5213 (source (origin
5214 (method url-fetch)
5215 (uri (string-append "https://hackage.haskell.org/package/"
5216 "pandoc-types/pandoc-types-"
5217 version ".tar.gz"))
5218 (sha256
5219 (base32
5220 "094mzgdxva84kcpjf9m8b5n3chm1wm44bzflh5x6xhddz6pb7zpq"))))
5221 (build-system haskell-build-system)
5222 (inputs
5223 `(("ghc-syb" ,ghc-syb)
5224 ("ghc-aeson" ,ghc-aeson)
5225 ("ghc-deepseq-generics" ,ghc-deepseq-generics)))
5226 (home-page "http://johnmacfarlane.net/pandoc")
5227 (synopsis "Types for representing a structured document")
5228 (description
5229 "This module defines the @code{Pandoc} data structure, which is used by
5230 pandoc to represent structured documents. It also provides functions for
5231 building up, manipulating and serialising @code{Pandoc} structures.")
5232 (license license:bsd-3)))
5233
5234 (define-public ghc-texmath
5235 (package
5236 (name "ghc-texmath")
5237 (version "0.8.6.5")
5238 (source (origin
5239 (method url-fetch)
5240 (uri (string-append "https://hackage.haskell.org/package/"
5241 "texmath/texmath-" version ".tar.gz"))
5242 (sha256
5243 (base32
5244 "143c8k7dyhwa9blpa8svy23ybx7i4xzb9jnfcimj8iigizbw7y1k"))))
5245 (build-system haskell-build-system)
5246 (inputs
5247 `(("ghc-syb" ,ghc-syb)
5248 ("ghc-network-uri" ,ghc-network-uri)
5249 ("ghc-split" ,ghc-split)
5250 ("ghc-temporary" ,ghc-temporary)
5251 ("ghc-utf8-string" ,ghc-utf8-string)
5252 ("ghc-xml" ,ghc-xml)
5253 ("ghc-parsec" ,ghc-parsec)
5254 ("ghc-mtl" ,ghc-mtl)
5255 ("ghc-pandoc-types" ,ghc-pandoc-types)))
5256 (home-page "https://github.com/jgm/texmath")
5257 (synopsis "Conversion between formats used to represent mathematics")
5258 (description
5259 "The texmath library provides functions to read and write TeX math,
5260 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
5261 Office). Support is also included for converting math formats to pandoc's
5262 native format (allowing conversion, via pandoc, to a variety of different
5263 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
5264 it can parse and apply LaTeX macros.")
5265 (license license:gpl2+)))
5266
5267 (define-public ghc-regex-pcre-builtin
5268 (package
5269 (name "ghc-regex-pcre-builtin")
5270 (version "0.94.4.8.8.35")
5271 (source (origin
5272 (method url-fetch)
5273 (uri (string-append "https://hackage.haskell.org/package/"
5274 "regex-pcre-builtin/regex-pcre-builtin-"
5275 version ".tar.gz"))
5276 (sha256
5277 (base32
5278 "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b"))))
5279 (build-system haskell-build-system)
5280 (inputs
5281 `(("ghc-regex-base" ,ghc-regex-base)))
5282 (home-page "https://hackage.haskell.org/package/regex-pcre")
5283 (synopsis "Enhancement of the builtin Text.Regex library")
5284 (description
5285 "This package is an enhancement of the @code{Text.Regex} library,
5286 providing the PCRE backend to accompany regex-base, with bundled code from
5287 @url{http://www.pcre.org}.")
5288 (license license:bsd-3)))
5289
5290 (define-public ghc-diff
5291 (package
5292 (name "ghc-diff")
5293 (version "0.3.2")
5294 (source (origin
5295 (method url-fetch)
5296 (uri (string-append "https://hackage.haskell.org/package/"
5297 "Diff/Diff-" version ".tar.gz"))
5298 (sha256
5299 (base32
5300 "13iqqmpadcm7fvqwbfrz94w030rvjh66w2bdls1253128ac2n0vz"))))
5301 (build-system haskell-build-system)
5302 (home-page "http://hub.darcs.net/sterlingclover/Diff")
5303 (synopsis "O(ND) diff algorithm in Haskell")
5304 (description
5305 "This package provides an implementation of the standard diff algorithm,
5306 and utilities for pretty printing.")
5307 (license license:bsd-3)))
5308
5309 (define-public ghc-highlighting-kate
5310 (package
5311 (name "ghc-highlighting-kate")
5312 (version "0.6.3")
5313 (source (origin
5314 (method url-fetch)
5315 (uri (string-append "https://hackage.haskell.org/package/"
5316 "highlighting-kate/highlighting-kate-"
5317 version ".tar.gz"))
5318 (sha256
5319 (base32
5320 "03c4flh4h1jd48bx0qmplax3q8w6wj1dhbh6j0xhaf5h95fbinki"))))
5321 (build-system haskell-build-system)
5322 (inputs
5323 `(("ghc-diff" ,ghc-diff)
5324 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5325 (native-inputs
5326 `(("ghc-parsec" ,ghc-parsec)
5327 ("ghc-blaze-html" ,ghc-blaze-html)
5328 ("ghc-utf8-string" ,ghc-utf8-string)
5329 ("ghc-mtl" ,ghc-mtl)))
5330 (home-page "https://github.com/jgm/highlighting-kate")
5331 (synopsis "Syntax highlighting library")
5332 (description
5333 "Highlighting-kate is a syntax highlighting library with support for
5334 nearly one hundred languages. The syntax parsers are automatically generated
5335 from @uref{http://kate-editor.org/, Kate syntax descriptions}, so any syntax
5336 supported by Kate can be added. An (optional) command-line program is
5337 provided, along with a utility for generating new parsers from Kate XML syntax
5338 descriptions.")
5339 (license license:gpl2+)))
5340
5341 (define-public ghc-cmark
5342 (package
5343 (name "ghc-cmark")
5344 (version "0.5.3.1")
5345 (source (origin
5346 (method url-fetch)
5347 (uri (string-append "https://hackage.haskell.org/package/"
5348 "cmark/cmark-" version ".tar.gz"))
5349 (sha256
5350 (base32
5351 "09515h9b26az9c2mbl6l7azimaixa6yff8w359k0ml8jwykjvqaa"))))
5352 (build-system haskell-build-system)
5353 (inputs
5354 `(("ghc-text" ,ghc-text)))
5355 (native-inputs
5356 `(("ghc-hunit" ,ghc-hunit)))
5357 (home-page "https://github.com/jgm/commonmark-hs")
5358 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
5359 (description
5360 "This package provides Haskell bindings for
5361 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
5362 CommonMark, a fully specified variant of Markdown. It includes sources for
5363 libcmark (0.21.0) and does not require prior installation of the C library.")
5364 (license license:bsd-3)))
5365
5366 (define-public ghc-executable-path
5367 (package
5368 (name "ghc-executable-path")
5369 (version "0.0.3")
5370 (source (origin
5371 (method url-fetch)
5372 (uri (string-append "https://hackage.haskell.org/package/"
5373 "executable-path/executable-path-"
5374 version ".tar.gz"))
5375 (sha256
5376 (base32
5377 "1jg58qf19qz93c60ryglcavwdcysz4fd4qn8kpw5im9w9kniawlc"))))
5378 (build-system haskell-build-system)
5379 (home-page "https://hackage.haskell.org/package/executable-path")
5380 (synopsis "Find out the full path of the executable")
5381 (description
5382 "The documentation of @code{System.Environment.getProgName} says that
5383 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
5384 instead, for maximum portability, we just return the leafname of the program
5385 as invoked.\" This library tries to provide the missing path.")
5386 (license license:public-domain)))
5387
5388 (define-public ghc-enclosed-exceptions
5389 (package
5390 (name "ghc-enclosed-exceptions")
5391 (version "1.0.1.1")
5392 (source (origin
5393 (method url-fetch)
5394 (uri (string-append "https://hackage.haskell.org/package/"
5395 "enclosed-exceptions/enclosed-exceptions-"
5396 version ".tar.gz"))
5397 (sha256
5398 (base32
5399 "16ax1kqdsk4apg642qxkm2hf9vb5hzmkd14zmkxra8ssp8rn28z5"))))
5400 (build-system haskell-build-system)
5401 (inputs
5402 `(("ghc-lifted-base" ,ghc-lifted-base)
5403 ("ghc-monad-control" ,ghc-monad-control)
5404 ("ghc-async" ,ghc-async)
5405 ("ghc-transformers-base" ,ghc-transformers-base)))
5406 (native-inputs
5407 `(("ghc-hspec" ,ghc-hspec)
5408 ("ghc-quickcheck" ,ghc-quickcheck)))
5409 (home-page "https://github.com/jcristovao/enclosed-exceptions")
5410 (synopsis "Catch all exceptions from within an enclosed computation")
5411 (description
5412 "This library implements a technique to catch all exceptions raised
5413 within an enclosed computation, while remaining responsive to (external)
5414 asynchronous exceptions.")
5415 (license license:expat)))
5416
5417 (define-public ghc-packedstring
5418 (package
5419 (name "ghc-packedstring")
5420 (version "0.1.0.1")
5421 (source (origin
5422 (method url-fetch)
5423 (uri (string-append "https://hackage.haskell.org/package/"
5424 "packedstring/packedstring-"
5425 version ".tar.gz"))
5426 (sha256
5427 (base32
5428 "1x78pzzdlnpcmh9p37rlf8m5cxf3yqm2alf3whl4zpr9w25r0qj8"))))
5429 (build-system haskell-build-system)
5430 (arguments
5431 `(#:phases
5432 (modify-phases %standard-phases
5433 (add-after 'unpack 'enable-extension
5434 (lambda _
5435 ;; This package won't compile without the StandaloneDeriving
5436 ;; extension.
5437 (substitute* "packedstring.cabal"
5438 (("CPP") "CPP, StandaloneDeriving"))
5439 #t)))))
5440 (home-page "https://hackage.haskell.org/package/packedstring")
5441 (synopsis "Library for packed strings")
5442 (description
5443 "This deprecated library provides an implementation of packed strings.")
5444 (license license:bsd-3)))
5445
5446 (define-public ghc-th-lift
5447 (package
5448 (name "ghc-th-lift")
5449 (version "0.7.5")
5450 (source (origin
5451 (method url-fetch)
5452 (uri (string-append "https://hackage.haskell.org/package/"
5453 "th-lift/th-lift-" version ".tar.gz"))
5454 (sha256
5455 (base32
5456 "13xdkk1chdghf059sfx8d3d8r0mj1dbzdi5kf2zf0mjmz3qq7m7k"))))
5457 (build-system haskell-build-system)
5458 (inputs
5459 `(("ghc-packedstring" ,ghc-packedstring)))
5460 (home-page "https://github.com/mboes/th-lift")
5461 (synopsis "Derive Template Haskell's Lift class for datatypes")
5462 (description
5463 "This is a Haskell library to derive Template Haskell's Lift class for
5464 datatypes.")
5465 (license license:bsd-3)))
5466
5467 (define-public ghc-th-expand-syns
5468 (package
5469 (name "ghc-th-expand-syns")
5470 (version "0.3.0.6")
5471 (source (origin
5472 (method url-fetch)
5473 (uri (string-append "https://hackage.haskell.org/package/"
5474 "th-expand-syns/th-expand-syns-"
5475 version ".tar.gz"))
5476 (sha256
5477 (base32
5478 "03qv93pyqk8all39knsf0mzmbfdck5x61kqnyn8rbisw5c1ymx6j"))))
5479 (build-system haskell-build-system)
5480 (inputs
5481 `(("ghc-syb" ,ghc-syb)))
5482 (home-page "https://hackage.haskell.org/package/th-expand-syns")
5483 (synopsis "Expands type synonyms in Template Haskell ASTs")
5484 (description
5485 "This package enables users to expand type synonyms in Template Haskell
5486 @dfn{abstract syntax trees} (ASTs).")
5487 (license license:bsd-3)))
5488
5489 (define-public ghc-th-reify-many
5490 (package
5491 (name "ghc-th-reify-many")
5492 (version "0.1.3")
5493 (source (origin
5494 (method url-fetch)
5495 (uri (string-append "https://hackage.haskell.org/package/"
5496 "th-reify-many/th-reify-many-"
5497 version ".tar.gz"))
5498 (sha256
5499 (base32
5500 "00hryljcs434wcv1vaamfdbjk857f46djxv7mlwplkl3zsmfhlfx"))))
5501 (build-system haskell-build-system)
5502 (inputs
5503 `(("ghc-mtl" ,ghc-mtl)
5504 ("ghc-safe" ,ghc-safe)
5505 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
5506 (home-page "https://github.com/mgsloan/th-reify-many")
5507 (synopsis "Recurseively reify template haskell datatype info")
5508 (description
5509 "th-reify-many provides functions for recursively reifying top level
5510 declarations. The main intended use case is for enumerating the names of
5511 datatypes reachable from an initial datatype, and passing these names to some
5512 function which generates instances.")
5513 (license license:bsd-3)))
5514
5515 (define-public ghc-th-orphans
5516 (package
5517 (name "ghc-th-orphans")
5518 (version "0.13.0")
5519 (source (origin
5520 (method url-fetch)
5521 (uri (string-append "https://hackage.haskell.org/package/"
5522 "th-orphans/th-orphans-" version ".tar.gz"))
5523 (sha256
5524 (base32
5525 "105y03bxh0a2r69l603i7md17gg1vxs1jj1n40pn5q486lmfxbmx"))))
5526 (build-system haskell-build-system)
5527 (inputs
5528 `(("ghc-th-lift" ,ghc-th-lift)
5529 ("ghc-th-reify-many" ,ghc-th-reify-many)
5530 ("ghc-mtl" ,ghc-mtl)
5531 ("ghc-generic-deriving" ,ghc-generic-deriving)))
5532 (native-inputs
5533 `(("ghc-hspec" ,ghc-hspec)))
5534 (home-page "https://hackage.haskell.org/package/th-orphans")
5535 (synopsis "Orphan instances for TH datatypes")
5536 (description
5537 "This package provides orphan instances for Template Haskell datatypes. In particular,
5538 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
5539 and @code{Eq} instances. These instances used to live in the haskell-src-meta
5540 package, and that's where the version number started.")
5541 (license license:bsd-3)))
5542
5543 (define-public ghc-haskell-src-meta
5544 (package
5545 (name "ghc-haskell-src-meta")
5546 (version "0.6.0.12")
5547 (source (origin
5548 (method url-fetch)
5549 (uri (string-append "https://hackage.haskell.org/package/"
5550 "haskell-src-meta/haskell-src-meta-"
5551 version ".tar.gz"))
5552 (sha256
5553 (base32
5554 "1mzbfrfvl6pj8068w3m6alzry1403ir1gmz3czg66n5z198l4dql"))))
5555 (build-system haskell-build-system)
5556 (inputs
5557 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5558 ("ghc-syb" ,ghc-syb)
5559 ("ghc-th-orphans" ,ghc-th-orphans)))
5560 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5561 (synopsis "Parse source to template-haskell abstract syntax")
5562 (description
5563 "This package provides tools to parse Haskell sources to the
5564 template-haskell abstract syntax.")
5565 (license license:bsd-3)))
5566
5567 (define-public ghc-aeson-qq
5568 (package
5569 (name "ghc-aeson-qq")
5570 (version "0.8.1")
5571 (source (origin
5572 (method url-fetch)
5573 (uri (string-append "https://hackage.haskell.org/package/"
5574 "aeson-qq/aeson-qq-" version ".tar.gz"))
5575 (sha256
5576 (base32
5577 "1z8kh3qjc4khadz1ijdqm7fbk7dh17sisqhpwd3c9aibj2927k9d"))))
5578 (build-system haskell-build-system)
5579 (inputs
5580 `(("ghc-base-compat" ,ghc-base-compat)
5581 ("ghc-text" ,ghc-text)
5582 ("ghc-attoparsec" ,ghc-attoparsec)
5583 ("ghc-scientific" ,ghc-scientific)
5584 ("ghc-vector" ,ghc-vector)
5585 ("ghc-aeson" ,ghc-aeson)
5586 ("ghc-parsec" ,ghc-parsec)
5587 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
5588 (native-inputs
5589 `(("ghc-hspec" ,ghc-hspec)
5590 ("hspec-discover" ,hspec-discover)))
5591 (home-page "https://github.com/zalora/aeson-qq")
5592 (synopsis "JSON quasiquoter for Haskell")
5593 (description
5594 "aeson-qq provides a JSON quasiquoter for Haskell. This package exposes
5595 the function @code{aesonQQ} that compile-time converts a string representation
5596 of a JSON value into a @code{Data.Aeson.Value}.")
5597 (license license:expat)))
5598
5599 (define-public ghc-conduit
5600 (package
5601 (name "ghc-conduit")
5602 (version "1.2.5.1")
5603 (source (origin
5604 (method url-fetch)
5605 (uri (string-append "https://hackage.haskell.org/package/"
5606 "conduit/conduit-" version ".tar.gz"))
5607 (sha256
5608 (base32
5609 "0aq6wswd5dkhdmy7sjhd99mldpq33dqpgbdcwpm94ahvckqxs7v5"))))
5610 (build-system haskell-build-system)
5611 (inputs
5612 `(("ghc-exceptions" ,ghc-exceptions)
5613 ("ghc-lifted-base" ,ghc-lifted-base)
5614 ("ghc-mmorph" ,ghc-mmorph)
5615 ("ghc-mtl" ,ghc-mtl)
5616 ("ghc-resourcet" ,ghc-resourcet)
5617 ("ghc-transformers-base" ,ghc-transformers-base)
5618 ("ghc-void" ,ghc-void)))
5619 (native-inputs
5620 `(("ghc-quickcheck" ,ghc-quickcheck)
5621 ("ghc-hspec" ,ghc-hspec)
5622 ("ghc-safe" ,ghc-safe)))
5623 (home-page "https://github.com/snoyberg/conduit")
5624 (synopsis "Streaming data library ")
5625 (description
5626 "conduit is a solution to the streaming data problem, allowing for
5627 production, transformation, and consumption of streams of data in constant
5628 memory. It is an alternative to lazy I/O which guarantees deterministic
5629 resource handling, and fits in the same general solution space as
5630 enumerator/iteratee and pipes." )
5631 (license license:expat)))
5632
5633 (define-public ghc-logging-facade
5634 (package
5635 (name "ghc-logging-facade")
5636 (version "0.1.0")
5637 (source (origin
5638 (method url-fetch)
5639 (uri (string-append "https://hackage.haskell.org/package/"
5640 "logging-facade/logging-facade-"
5641 version ".tar.gz"))
5642 (sha256
5643 (base32
5644 "0zhdbjyj0j9by19rma9alxysrxnnl3s4kks4zk4bx0dg5xa0264y"))))
5645 (build-system haskell-build-system)
5646 (native-inputs
5647 `(("ghc-hspec" ,ghc-hspec)
5648 ("hspec-discover" ,hspec-discover)))
5649 (home-page "https://hackage.haskell.org/package/logging-facade")
5650 (synopsis "Simple logging abstraction that allows multiple back-ends")
5651 (description
5652 "This package provides a simple logging abstraction that allows multiple
5653 back-ends.")
5654 (license license:expat)))
5655
5656 (define-public ghc-mockery
5657 (package
5658 (name "ghc-mockery")
5659 (version "0.3.2")
5660 (source (origin
5661 (method url-fetch)
5662 (uri (string-append "https://hackage.haskell.org/package/"
5663 "mockery/mockery-" version ".tar.gz"))
5664 (sha256
5665 (base32
5666 "0m0lp2z63sgkylz5318j53r5hnrkp705qh7nqbb149ir4gy7g1bg"))))
5667 (build-system haskell-build-system)
5668 (inputs
5669 `(("ghc-temporary" ,ghc-temporary)
5670 ("ghc-logging-facade" ,ghc-logging-facade)))
5671 (native-inputs
5672 `(("ghc-hspec" ,ghc-hspec)
5673 ("hspec-discover" ,hspec-discover)))
5674 (home-page "https://hackage.haskell.org/package/mockery")
5675 (synopsis "Support functions for automated testing")
5676 (description
5677 "The mockery package provides support functions for automated testing.")
5678 (license license:expat)))
5679
5680 (define-public ghc-yaml
5681 (package
5682 (name "ghc-yaml")
5683 (version "0.8.15.1")
5684 (source (origin
5685 (method url-fetch)
5686 (uri (string-append "https://hackage.haskell.org/package/"
5687 "yaml/yaml-" version ".tar.gz"))
5688 (sha256
5689 (base32
5690 "0v6c435xmgm99zxb30pqr7lhkb2a56wxqp70g4hjz8p7rj0vichx"))))
5691 (build-system haskell-build-system)
5692 (inputs
5693 `(("ghc-conduit" ,ghc-conduit)
5694 ("ghc-resourcet" ,ghc-resourcet)
5695 ("ghc-aeson" ,ghc-aeson)
5696 ("ghc-unordered-containers" ,ghc-unordered-containers)
5697 ("ghc-vector" ,ghc-vector)
5698 ("ghc-text" ,ghc-text)
5699 ("ghc-attoparsec" ,ghc-attoparsec)
5700 ("ghc-scientific" ,ghc-scientific)
5701 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
5702 ("ghc-aeson-qq" ,ghc-aeson-qq)
5703 ("ghc-base-compat" ,ghc-base-compat)))
5704 (native-inputs
5705 `(("ghc-hspec" ,ghc-hspec)
5706 ("ghc-hunit" ,ghc-hunit)
5707 ("hspec-discover" ,hspec-discover)
5708 ("ghc-mockery" ,ghc-mockery)))
5709 (home-page "https://github.com/snoyberg/yaml/")
5710 (synopsis "Parsing and rendering YAML documents")
5711 (description
5712 "This package provides a library to parse and render YAML documents.")
5713 (license license:bsd-3)))
5714
5715 (define-public ghc-filemanip
5716 (package
5717 (name "ghc-filemanip")
5718 (version "0.3.6.3")
5719 (source (origin
5720 (method url-fetch)
5721 (uri (string-append "https://hackage.haskell.org/package/"
5722 "filemanip/filemanip-" version ".tar.gz"))
5723 (sha256
5724 (base32
5725 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
5726 (build-system haskell-build-system)
5727 (inputs
5728 `(("ghc-mtl" ,ghc-mtl)
5729 ("ghc-unix-compat" ,ghc-unix-compat)))
5730 (home-page "https://github.com/bos/filemanip")
5731 (synopsis "File and directory manipulation for Haskell")
5732 (description
5733 "This package provides a Haskell library for working with files and
5734 directories. It includes code for pattern matching, finding files, modifying
5735 file contents, and more.")
5736 (license license:bsd-3)))
5737
5738 (define-public ghc-mmap
5739 (package
5740 (name "ghc-mmap")
5741 (version "0.5.9")
5742 (source (origin
5743 (method url-fetch)
5744 (uri (string-append "https://hackage.haskell.org/package/"
5745 "mmap/mmap-" version ".tar.gz"))
5746 (sha256
5747 (base32
5748 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
5749 (build-system haskell-build-system)
5750 (home-page "https://hackage.haskell.org/package/mmap")
5751 (synopsis "Memory mapped files for Haskell")
5752 (description
5753 "This library provides a wrapper to @code{mmap}, allowing files or
5754 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
5755 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
5756 do on-demand loading.")
5757 (license license:bsd-3)))
5758
5759 (define-public ghc-juicypixels
5760 (package
5761 (name "ghc-juicypixels")
5762 (version "3.2.6.2")
5763 (source (origin
5764 (method url-fetch)
5765 (uri (string-append "https://hackage.haskell.org/package/"
5766 "JuicyPixels/JuicyPixels-"
5767 version ".tar.gz"))
5768 (sha256
5769 (base32
5770 "0hxa57cdknz86zywpjwfbdhac5lmk7j0wd5hy4mcnb8mw6r2m592"))))
5771 (build-system haskell-build-system)
5772 (inputs
5773 `(("ghc-mtl" ,ghc-mtl)
5774 ("ghc-zlib" ,ghc-zlib)
5775 ("ghc-vector" ,ghc-vector)
5776 ("ghc-primitive" ,ghc-primitive)
5777 ("ghc-mmap" ,ghc-mmap)))
5778 (home-page "https://github.com/Twinside/Juicy.Pixels")
5779 (synopsis "Picture loading and serialization library")
5780 (description
5781 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
5782 TIFF and GIF formats.")
5783 (license license:bsd-3)))
5784
5785 (define-public ghc-sha
5786 (package
5787 (name "ghc-sha")
5788 (version "1.6.4.2")
5789 (source (origin
5790 (method url-fetch)
5791 (uri (string-append "https://hackage.haskell.org/package/"
5792 "SHA/SHA-" version ".tar.gz"))
5793 (sha256
5794 (base32
5795 "134ajm87fm4lpsw86m9q8apv20dw4bpk46raa389zr6bcdpifw64"))))
5796 (build-system haskell-build-system)
5797 (native-inputs
5798 `(("ghc-quickcheck" ,ghc-quickcheck)
5799 ("ghc-test-framework" ,ghc-test-framework)
5800 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5801 (home-page "https://hackage.haskell.org/package/SHA")
5802 (synopsis "SHA suite of message digest functions")
5803 (description
5804 "This library implements the SHA suite of message digest functions,
5805 according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as the
5806 SHA-based HMAC routines. The functions have been tested against most of the
5807 NIST and RFC test vectors for the various functions. While some attention has
5808 been paid to performance, these do not presently reach the speed of well-tuned
5809 libraries, like OpenSSL.")
5810 (license license:bsd-3)))
5811
5812 (define-public ghc-hslua
5813 (package
5814 (name "ghc-hslua")
5815 (version "0.4.1")
5816 (source (origin
5817 (method url-fetch)
5818 (uri (string-append "https://hackage.haskell.org/package/"
5819 "hslua/hslua-" version ".tar.gz"))
5820 (sha256
5821 (base32
5822 "0gqp6qhp4v24kzv2j49kgk7bxqzw0w10x0zr0r2j9wkfavqb9wid"))))
5823 (build-system haskell-build-system)
5824 (arguments
5825 `(#:configure-flags '("-fsystem-lua")))
5826 (inputs
5827 `(("lua" ,lua-5.1)
5828 ("ghc-text" ,ghc-text)))
5829 (native-inputs
5830 `(("ghc-hspec" ,ghc-hspec)
5831 ("ghc-hspec-contrib" ,ghc-hspec-contrib)
5832 ("hspec-discover" ,hspec-discover)
5833 ("ghc-hunit" ,ghc-hunit)
5834 ("ghc-quickcheck" ,ghc-quickcheck)
5835 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
5836 (home-page "https://hackage.haskell.org/package/hslua")
5837 (synopsis "Lua language interpreter embedding in Haskell")
5838 (description
5839 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
5840 described in @url{http://www.lua.org/}.")
5841 (license license:expat)))
5842
5843 (define-public ghc-mime-types
5844 (package
5845 (name "ghc-mime-types")
5846 (version "0.1.0.6")
5847 (source (origin
5848 (method url-fetch)
5849 (uri (string-append "https://hackage.haskell.org/package/"
5850 "mime-types/mime-types-"
5851 version ".tar.gz"))
5852 (sha256
5853 (base32
5854 "090z3dp928243amnc6s8g10rk2h2bprk9y138q6wj3cpflzr72pw"))))
5855 (build-system haskell-build-system)
5856 (inputs
5857 `(("ghc-text" ,ghc-text)))
5858 (home-page "https://github.com/yesodweb/wai")
5859 (synopsis "Basic MIME type handling types and functions")
5860 (description
5861 "This library provides basic MIME type handling types and functions.")
5862 (license license:expat)))
5863
5864 (define-public ghc-http-client
5865 (package
5866 (name "ghc-http-client")
5867 (version "0.4.24")
5868 (source (origin
5869 (method url-fetch)
5870 (uri (string-append "https://hackage.haskell.org/package/"
5871 "http-client/http-client-"
5872 version ".tar.gz"))
5873 (sha256
5874 (base32
5875 "0xz133kdfiyy2rm6z95bmvjj6y2540xzd86cfmdv9s6kz4p1ir4k"))))
5876 (build-system haskell-build-system)
5877 ;; Tests require access to the web.
5878 (arguments `(#:tests? #f))
5879 (inputs
5880 `(("ghc-text" ,ghc-text)
5881 ("ghc-http-types" ,ghc-http-types)
5882 ("ghc-blaze-builder" ,ghc-blaze-builder)
5883 ("ghc-data-default-class" ,ghc-data-default-class)
5884 ("ghc-network" ,ghc-network)
5885 ("ghc-streaming-commons" ,ghc-streaming-commons)
5886 ("ghc-case-insensitive" ,ghc-case-insensitive)
5887 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
5888 ("ghc-cookie" ,ghc-cookie)
5889 ("ghc-exceptions" ,ghc-exceptions)
5890 ("ghc-random" ,ghc-random)
5891 ("ghc-mime-types" ,ghc-mime-types)
5892 ("ghc-network-uri" ,ghc-network-uri)
5893 ("ghc-monad-control" ,ghc-monad-control)
5894 ("ghc-zlib" ,ghc-zlib)
5895 ("ghc-async" ,ghc-async)))
5896 (native-inputs
5897 `(("ghc-hspec" ,ghc-hspec)))
5898 (home-page "https://github.com/snoyberg/http-client")
5899 (synopsis "HTTP client engine")
5900 (description
5901 "This package provides an HTTP client engine, intended as a base layer
5902 for more user-friendly packages.")
5903 (license license:expat)))
5904
5905 (define-public ghc-byteable
5906 (package
5907 (name "ghc-byteable")
5908 (version "0.1.1")
5909 (source (origin
5910 (method url-fetch)
5911 (uri (string-append "https://hackage.haskell.org/package/"
5912 "byteable/byteable-" version ".tar.gz"))
5913 (sha256
5914 (base32
5915 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
5916 (build-system haskell-build-system)
5917 (home-page "https://github.com/vincenthz/hs-byteable")
5918 (synopsis "Type class for sequence of bytes")
5919 (description
5920 "This package provides an abstract class to manipulate sequence of bytes.
5921 The use case of this class is abstracting manipulation of types that are just
5922 wrapping a bytestring with stronger and more meaniful name.")
5923 (license license:bsd-3)))
5924
5925 (define-public ghc-hourglass
5926 (package
5927 (name "ghc-hourglass")
5928 (version "0.2.9")
5929 (source (origin
5930 (method url-fetch)
5931 (uri (string-append "https://hackage.haskell.org/package/"
5932 "hourglass/hourglass-" version ".tar.gz"))
5933 (sha256
5934 (base32
5935 "1xha17nwzxdjizbcp63d2142c6q051y77facs7xribgcl5iz2m4v"))))
5936 (build-system haskell-build-system)
5937 (inputs
5938 `(("ghc-mtl" ,ghc-mtl)
5939 ("ghc-old-locale" ,ghc-old-locale)))
5940 (native-inputs
5941 `(("ghc-tasty" ,ghc-tasty)
5942 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5943 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5944 (home-page "https://github.com/vincenthz/hs-hourglass")
5945 (synopsis "Simple time-related library for Haskell")
5946 (description
5947 "This is a simple time library providing a simple but powerful and
5948 performant API. The backbone of the library are the @code{Timeable} and
5949 @code{Time} type classes. Each @code{Timeable} instances can be converted to
5950 a type that has a @code{Time} instances, and thus are different
5951 representations of current time.")
5952 (license license:bsd-3)))
5953
5954 (define-public ghc-pem
5955 (package
5956 (name "ghc-pem")
5957 (version "0.2.2")
5958 (source (origin
5959 (method url-fetch)
5960 (uri (string-append "https://hackage.haskell.org/package/"
5961 "pem/pem-" version ".tar.gz"))
5962 (sha256
5963 (base32
5964 "162sk5sg22w21wqz5qv8kx6ibxp99v5p20g3nknhm1kddk3hha1p"))))
5965 (build-system haskell-build-system)
5966 (inputs
5967 `(("ghc-mtl" ,ghc-mtl)
5968 ("ghc-base64-bytestring" ,ghc-base64-bytestring)))
5969 (native-inputs
5970 `(("ghc-test-framework" ,ghc-test-framework)
5971 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5972 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5973 ("ghc-hunit" ,ghc-hunit)
5974 ("ghc-quickcheck" ,ghc-quickcheck)))
5975 (home-page "https://github.com/vincenthz/hs-pem")
5976 (synopsis "Privacy Enhanced Mail (PEM) format reader and writer")
5977 (description
5978 "This library provides readers and writers for the @dfn{Privacy Enhanced
5979 Mail} (PEM) format.")
5980 (license license:bsd-3)))
5981
5982 (define-public ghc-asn1-types
5983 (package
5984 (name "ghc-asn1-types")
5985 (version "0.3.1")
5986 (source (origin
5987 (method url-fetch)
5988 (uri (string-append "https://hackage.haskell.org/package/"
5989 "asn1-types/asn1-types-"
5990 version ".tar.gz"))
5991 (sha256
5992 (base32
5993 "1iif9yrh4mmj249gyvam0zb2vb3jnlz777gahh2z9sx00dsx9rja"))))
5994 (build-system haskell-build-system)
5995 (inputs
5996 `(("ghc-memory" ,ghc-memory)
5997 ("ghc-hourglass" ,ghc-hourglass)))
5998 (home-page "https://github.com/vincenthz/hs-asn1-types")
5999 (synopsis "ASN.1 types for Haskell")
6000 (description
6001 "The package provides the standard types for dealing with the ASN.1
6002 format.")
6003 (license license:bsd-3)))
6004
6005 (define-public ghc-asn1-encoding
6006 (package
6007 (name "ghc-asn1-encoding")
6008 (version "0.9.3")
6009 (source (origin
6010 (method url-fetch)
6011 (uri (string-append "https://hackage.haskell.org/package/"
6012 "asn1-encoding/asn1-encoding-"
6013 version ".tar.gz"))
6014 (sha256
6015 (base32
6016 "01ki5msrpccgdbdiaaa5a9zw0icp1hki4hca8qx6hzlp0rcf1mwh"))))
6017 (build-system haskell-build-system)
6018 (inputs
6019 `(("ghc-hourglass" ,ghc-hourglass)
6020 ("ghc-asn1-types" ,ghc-asn1-types)
6021 ("ghc-text" ,ghc-text)
6022 ("ghc-mtl" ,ghc-mtl)))
6023 (native-inputs
6024 `(("ghc-tasty" ,ghc-tasty)
6025 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6026 (home-page "https://github.com/vincenthz/hs-asn1")
6027 (synopsis "ASN1 data reader and writer in RAW, BER and DER forms")
6028 (description
6029 "This package provides a reader and writer for ASN1 data in raw form with
6030 supports for high level forms of ASN1 (BER, and DER).")
6031 (license license:bsd-3)))
6032
6033 (define-public ghc-asn1-parse
6034 (package
6035 (name "ghc-asn1-parse")
6036 (version "0.9.4")
6037 (source (origin
6038 (method url-fetch)
6039 (uri (string-append "https://hackage.haskell.org/package/"
6040 "asn1-parse/asn1-parse-"
6041 version ".tar.gz"))
6042 (sha256
6043 (base32
6044 "025prsihk5g6rdv9xlfmj0zpa0wa3qjzj5i4ilzvg7f6f3sji8y6"))))
6045 (build-system haskell-build-system)
6046 (inputs
6047 `(("ghc-asn1-types" ,ghc-asn1-types)
6048 ("ghc-asn1-encoding" ,ghc-asn1-encoding)))
6049 (home-page "https://github.com/vincenthz/hs-asn1")
6050 (synopsis "Simple monadic parser for ASN1 stream types")
6051 (description
6052 "This package provides a simple monadic parser for ASN1 stream types,
6053 when ASN1 pattern matching is not convenient.")
6054 (license license:bsd-3)))
6055
6056 (define-public ghc-tasty-kat
6057 (package
6058 (name "ghc-tasty-kat")
6059 (version "0.0.3")
6060 (source (origin
6061 (method url-fetch)
6062 (uri (string-append "https://hackage.haskell.org/package/"
6063 "tasty-kat/tasty-kat-" version ".tar.gz"))
6064 (sha256
6065 (base32
6066 "14yvlpli6cv6bn3kh8mlfp4x1l6ns4fvmfv6hmj75cvxyzq029d7"))))
6067 (build-system haskell-build-system)
6068 (inputs
6069 `(("ghc-tasty" ,ghc-tasty)
6070 ("ghc-mtl" ,ghc-mtl)
6071 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6072 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6073 (home-page "https://github.com/vincenthz/tasty-kat")
6074 (synopsis "Known Answer Tests (KAT) framework for tasty")
6075 (description
6076 "This package provides a @dfn{Known Answer Tests} (KAT) framework for
6077 tasty.")
6078 (license license:expat)))
6079
6080 (define-public ghc-cryptonite
6081 (package
6082 (name "ghc-cryptonite")
6083 (version "0.19")
6084 (source (origin
6085 (method url-fetch)
6086 (uri (string-append "https://hackage.haskell.org/package/"
6087 "cryptonite/cryptonite-"
6088 version ".tar.gz"))
6089 (sha256
6090 (base32
6091 "1rw5k34vpn4134yrzdhf0rsshsrkixfbv9ap18di2n00z2cw1shw"))))
6092 (build-system haskell-build-system)
6093 (inputs
6094 `(("ghc-memory" ,ghc-memory)
6095 ("ghc-byteable" ,ghc-byteable)))
6096 (native-inputs
6097 `(("ghc-tasty" ,ghc-tasty)
6098 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6099 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6100 ("ghc-tasty-kat" ,ghc-tasty-kat)))
6101 (home-page "https://github.com/haskell-crypto/cryptonite")
6102 (synopsis "Cryptography primitives")
6103 (description
6104 "This package is a repository of cryptographic primitives for Haskell.
6105 It supports a wide range of symmetric ciphers, cryptographic hash functions,
6106 public key algorithms, key derivation numbers, cryptographic random number
6107 generators, and more.")
6108 (license license:bsd-3)))
6109
6110 (define-public ghc-memory
6111 (package
6112 (name "ghc-memory")
6113 (version "0.13")
6114 (source (origin
6115 (method url-fetch)
6116 (uri (string-append "https://hackage.haskell.org/package/"
6117 "memory/memory-" version ".tar.gz"))
6118 (sha256
6119 (base32
6120 "02l742qxjqy3jw1a347gb7sn7pn7a5qha1vzi2qqbvgafcjn0wyw"))))
6121 (build-system haskell-build-system)
6122 (native-inputs
6123 `(("ghc-tasty" ,ghc-tasty)
6124 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6125 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6126 (home-page "https://github.com/vincenthz/hs-memory")
6127 (synopsis "Memory abstractions for Haskell")
6128 (description
6129 "This package provides memory abstractions, such as chunk of memory,
6130 polymorphic byte array management and manipulation functions. It contains a
6131 polymorphic byte array abstraction and functions similar to strict ByteString,
6132 different type of byte array abstraction, raw memory IO operations (memory
6133 set, memory copy, ..) and more")
6134 (license license:bsd-3)))
6135
6136 (define-public ghc-x509
6137 (package
6138 (name "ghc-x509")
6139 (version "1.6.3")
6140 (source (origin
6141 (method url-fetch)
6142 (uri (string-append "https://hackage.haskell.org/package/"
6143 "x509/x509-" version ".tar.gz"))
6144 (sha256
6145 (base32
6146 "1pmsby29abn485fvnymsgipvb3p1ch9c591xj5ncszkf0ivjiiin"))))
6147 (build-system haskell-build-system)
6148 (inputs
6149 `(("ghc-memory" ,ghc-memory)
6150 ("ghc-mtl" ,ghc-mtl)
6151 ("ghc-hourglass" ,ghc-hourglass)
6152 ("ghc-pem" ,ghc-pem)
6153 ("ghc-asn1-types" ,ghc-asn1-types)
6154 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6155 ("ghc-asn1-parse" ,ghc-asn1-parse)
6156 ("ghc-cryptonite" ,ghc-cryptonite)))
6157 (native-inputs
6158 `(("ghc-tasty" ,ghc-tasty)
6159 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6160 (home-page "https://github.com/vincenthz/hs-certificate")
6161 (synopsis "X509 reader and writer")
6162 (description
6163 "This library provides functions to read and write X509 certificates.")
6164 (license license:bsd-3)))
6165
6166 (define-public ghc-x509-store
6167 (package
6168 (name "ghc-x509-store")
6169 (version "1.6.1")
6170 (source (origin
6171 (method url-fetch)
6172 (uri (string-append "https://hackage.haskell.org/package/"
6173 "x509-store/x509-store-"
6174 version ".tar.gz"))
6175 (sha256
6176 (base32
6177 "01abx528i9f7djq2772xyna8x2mykrnwqkcfrapcx7z3bhprvml3"))))
6178 (build-system haskell-build-system)
6179 (inputs
6180 `(("ghc-mtl" ,ghc-mtl)
6181 ("ghc-pem" ,ghc-pem)
6182 ("ghc-asn1-types" ,ghc-asn1-types)
6183 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6184 ("ghc-cryptonite" ,ghc-cryptonite)
6185 ("ghc-x509" ,ghc-x509)))
6186 (home-page "https://github.com/vincenthz/hs-certificate")
6187 (synopsis "X.509 collection accessing and storing methods")
6188 (description
6189 "This package provides functions for accessing and storing X.509
6190 collections, certificates, revocation lists, and exception lists.")
6191 (license license:bsd-3)))
6192
6193 (define-public ghc-x509-validation
6194 (package
6195 (name "ghc-x509-validation")
6196 (version "1.6.3")
6197 (source (origin
6198 (method url-fetch)
6199 (uri (string-append "https://hackage.haskell.org/package/"
6200 "x509-validation/x509-validation-"
6201 version ".tar.gz"))
6202 (sha256
6203 (base32
6204 "1qr1v561hdlhjgqjv9pj9mbk0q1xf2mr1j67ghy93nlxxyzd7dw0"))))
6205 (build-system haskell-build-system)
6206 (inputs
6207 `(("ghc-memory" ,ghc-memory)
6208 ("ghc-byteable" ,ghc-byteable)
6209 ("ghc-mtl" ,ghc-mtl)
6210 ("ghc-hourglass" ,ghc-hourglass)
6211 ("ghc-data-default-class" ,ghc-data-default-class)
6212 ("ghc-pem" ,ghc-pem)
6213 ("ghc-asn1-types" ,ghc-asn1-types)
6214 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6215 ("ghc-x509" ,ghc-x509)
6216 ("ghc-x509-store" ,ghc-x509-store)
6217 ("ghc-cryptonite" ,ghc-cryptonite)))
6218 (home-page "https://github.com/vincenthz/hs-certificate")
6219 (synopsis "X.509 certificate and revocation list validation")
6220 (description
6221 "This package provides functions for X.509 certificate and revocation
6222 list validation.")
6223 (license license:bsd-3)))
6224
6225 (define-public ghc-x509-system
6226 (package
6227 (name "ghc-x509-system")
6228 (version "1.6.1")
6229 (source (origin
6230 (method url-fetch)
6231 (uri (string-append "https://hackage.haskell.org/package/"
6232 "x509-system/x509-system-"
6233 version ".tar.gz"))
6234 (sha256
6235 (base32
6236 "10qf60d2f9jqwnbrhsb2cwpi86xg66m6dxndlxw967v1cdb3h6gf"))))
6237 (build-system haskell-build-system)
6238 (inputs
6239 `(("ghc-mtl" ,ghc-mtl)
6240 ("ghc-pem" ,ghc-pem)
6241 ("ghc-x509" ,ghc-x509)
6242 ("ghc-x509-store" ,ghc-x509-store)))
6243 (home-page "https://github.com/vincenthz/hs-certificate")
6244 (synopsis "Handle system X.509 accessors and storage")
6245 (description
6246 "This package provides a library to handle system accessors and storage
6247 for X.509 certificates.")
6248 (license license:bsd-3)))
6249
6250 (define-public ghc-tls
6251 (package
6252 (name "ghc-tls")
6253 (version "1.3.8")
6254 (source (origin
6255 (method url-fetch)
6256 (uri (string-append "https://hackage.haskell.org/package/"
6257 "tls/tls-" version ".tar.gz"))
6258 (sha256
6259 (base32
6260 "1rdidf18i781c0vdvy9yn79yh08hmcacf6fp3sgghyiy3h0wyh5l"))))
6261 (build-system haskell-build-system)
6262 (inputs
6263 `(("ghc-mtl" ,ghc-mtl)
6264 ("ghc-cereal" ,ghc-cereal)
6265 ("ghc-data-default-class" ,ghc-data-default-class)
6266 ("ghc-memory" ,ghc-memory)
6267 ("ghc-cryptonite" ,ghc-cryptonite)
6268 ("ghc-asn1-types" ,ghc-asn1-types)
6269 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6270 ("ghc-x509" ,ghc-x509)
6271 ("ghc-x509-store" ,ghc-x509-store)
6272 ("ghc-x509-validation" ,ghc-x509-validation)
6273 ("ghc-async" ,ghc-async)
6274 ("ghc-network" ,ghc-network)
6275 ("ghc-hourglass" ,ghc-hourglass)))
6276 (native-inputs
6277 `(("ghc-tasty" ,ghc-tasty)
6278 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6279 ("ghc-quickcheck" ,ghc-quickcheck)))
6280 (home-page "https://github.com/vincenthz/hs-tls")
6281 (synopsis
6282 "TLS/SSL protocol native implementation (Server and Client)")
6283 (description
6284 "Native Haskell TLS and SSL protocol implementation for server and client.
6285 This provides a high-level implementation of a sensitive security protocol,
6286 eliminating a common set of security issues through the use of the advanced
6287 type system, high level constructions and common Haskell features. Currently
6288 implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, and support RSA and
6289 Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges, and many
6290 extensions.")
6291 (license license:bsd-3)))
6292
6293 (define-public ghc-socks
6294 (package
6295 (name "ghc-socks")
6296 (version "0.5.4")
6297 (source (origin
6298 (method url-fetch)
6299 (uri (string-append "https://hackage.haskell.org/package/"
6300 "socks/socks-" version ".tar.gz"))
6301 (sha256
6302 (base32
6303 "1nmldlwxqasmg359i2aa3a903gi3lmnlspvf12xk49jrg3mf3dg9"))))
6304 (build-system haskell-build-system)
6305 (inputs
6306 `(("ghc-cereal" ,ghc-cereal)
6307 ("ghc-network" ,ghc-network)))
6308 (home-page "https://github.com/vincenthz/hs-socks")
6309 (synopsis "SOCKS proxy (version 5) implementation")
6310 (description
6311 "This library provides a SOCKS proxy (version 5) implementation.")
6312 (license license:bsd-3)))
6313
6314 (define-public ghc-connection
6315 (package
6316 (name "ghc-connection")
6317 (version "0.2.5")
6318 (source (origin
6319 (method url-fetch)
6320 (uri (string-append "https://hackage.haskell.org/package/"
6321 "connection/connection-"
6322 version ".tar.gz"))
6323 (sha256
6324 (base32
6325 "090il95jnm7ihwvcx3s9v6iwnp37nnsdx15q7722l845g51d95c8"))))
6326 (build-system haskell-build-system)
6327 (inputs
6328 `(("ghc-byteable" ,ghc-byteable)
6329 ("ghc-data-default-class" ,ghc-data-default-class)
6330 ("ghc-network" ,ghc-network)
6331 ("ghc-tls" ,ghc-tls)
6332 ("ghc-socks" ,ghc-socks)
6333 ("ghc-x509" ,ghc-x509)
6334 ("ghc-x509-store" ,ghc-x509-store)
6335 ("ghc-x509-system" ,ghc-x509-system)
6336 ("ghc-x509-validation" ,ghc-x509-validation)))
6337 (home-page "https://github.com/vincenthz/hs-connection")
6338 (synopsis "Simple and easy network connections API")
6339 (description
6340 "This package provides a simple network library for all your connection
6341 needs. It provides a very simple API to create sockets to a destination with
6342 the choice of SSL/TLS, and SOCKS.")
6343 (license license:bsd-3)))
6344
6345 (define-public ghc-http-client-tls
6346 (package
6347 (name "ghc-http-client-tls")
6348 (version "0.2.2")
6349 (source (origin
6350 (method url-fetch)
6351 (uri (string-append "https://hackage.haskell.org/package/"
6352 "http-client-tls/http-client-tls-"
6353 version ".tar.gz"))
6354 (sha256
6355 (base32
6356 "0a01r05h5fxswyn6k6cgqgak4scqjan72hyy5wbdqzzhl4rmh7j5"))))
6357 (build-system haskell-build-system)
6358 ;; Tests require Internet access
6359 (arguments `(#:tests? #f))
6360 (inputs
6361 `(("ghc-data-default-class" ,ghc-data-default-class)
6362 ("ghc-http-client" ,ghc-http-client)
6363 ("ghc-connection" ,ghc-connection)
6364 ("ghc-network" ,ghc-network)
6365 ("ghc-tls" ,ghc-tls)
6366 ("ghc-http-types" ,ghc-http-types)))
6367 (native-inputs
6368 `(("ghc-hspec" ,ghc-hspec)))
6369 (home-page "https://github.com/snoyberg/http-client")
6370 (synopsis "Backend for http-client using the TLS library")
6371 (description
6372 "This package provides a backend for the http-client package using the
6373 connection and TLS libraries. It is intended for use by higher-level
6374 libraries, such as http-conduit.")
6375 (license license:expat)))
6376
6377 (define-public ghc-pandoc
6378 (package
6379 (name "ghc-pandoc")
6380 (version "1.17.2")
6381 (source
6382 (origin
6383 (method url-fetch)
6384 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
6385 version ".tar.gz"))
6386 (sha256
6387 (base32
6388 "1v78zq12p71gq0pc24h08inxcq5gxd0xb7m5ds0xw9pv9l2pswl1"))))
6389 (build-system haskell-build-system)
6390 (inputs
6391 `(("ghc-syb" ,ghc-syb)
6392 ("ghc-unordered-containers" ,ghc-unordered-containers)
6393 ("ghc-parsec" ,ghc-parsec)
6394 ("ghc-mtl" ,ghc-mtl)
6395 ("ghc-text" ,ghc-text)
6396 ("ghc-zip-archive" ,ghc-zip-archive)
6397 ("ghc-http" ,ghc-http)
6398 ("ghc-texmath" ,ghc-texmath)
6399 ("ghc-xml" ,ghc-xml)
6400 ("ghc-random" ,ghc-random)
6401 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
6402 ("ghc-pandoc-types" ,ghc-pandoc-types)
6403 ("ghc-aeson" ,ghc-aeson)
6404 ("ghc-tagsoup" ,ghc-tagsoup)
6405 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6406 ("ghc-zlib" ,ghc-zlib)
6407 ("ghc-highlighting-kate" ,ghc-highlighting-kate)
6408 ("ghc-data-default" ,ghc-data-default)
6409 ("ghc-temporary" ,ghc-temporary)
6410 ("ghc-blaze-html" ,ghc-blaze-html)
6411 ("ghc-blaze-markup" ,ghc-blaze-markup)
6412 ("ghc-yaml" ,ghc-yaml)
6413 ("ghc-scientific" ,ghc-scientific)
6414 ("ghc-vector" ,ghc-vector)
6415 ("ghc-hslua" ,ghc-hslua)
6416 ("ghc-sha" ,ghc-sha)
6417 ("ghc-haddock-library" ,ghc-haddock-library)
6418 ("ghc-old-time" ,ghc-old-time)
6419 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6420 ("ghc-juicypixels" ,ghc-juicypixels)
6421 ("ghc-filemanip" ,ghc-filemanip)
6422 ("ghc-cmark" ,ghc-cmark)
6423 ("ghc-network-uri" ,ghc-network-uri)
6424 ("ghc-network" ,ghc-network)
6425 ("ghc-http-client" ,ghc-http-client)
6426 ("ghc-http-client-tls" ,ghc-http-client-tls)
6427 ("ghc-http-types" ,ghc-http-types)
6428 ("ghc-diff" ,ghc-diff)
6429 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6430 ("ghc-executable-path" ,ghc-executable-path)))
6431 (native-inputs
6432 `(("ghc-test-framework" ,ghc-test-framework)
6433 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6434 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6435 ("ghc-quickcheck" ,ghc-quickcheck)
6436 ("ghc-hunit" ,ghc-hunit)))
6437 (home-page "http://pandoc.org")
6438 (synopsis "Conversion between markup formats")
6439 (description
6440 "Pandoc is a Haskell library for converting from one markup format to
6441 another, and a command-line tool that uses this library. It can read and
6442 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
6443 LaTeX, DocBook, and many more.
6444
6445 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
6446 definition lists, tables, and other features. A compatibility mode is
6447 provided for those who need a drop-in replacement for Markdown.pl.")
6448 (license license:gpl2+)))
6449
6450 (define-public ghc-hs-bibutils
6451 (package
6452 (name "ghc-hs-bibutils")
6453 (version "5.5")
6454 (source
6455 (origin
6456 (method url-fetch)
6457 (uri (string-append
6458 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6459 version ".tar.gz"))
6460 (sha256
6461 (base32
6462 "0pf5lh179rw9jkmw16ss3kiwydlj6zgfk868mjl5s57kx55z7ycm"))))
6463 (build-system haskell-build-system)
6464 (inputs `(("ghc-syb" ,ghc-syb)))
6465 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6466 (synopsis "Haskell bindings to bibutils")
6467 (description
6468 "This package provides Haskell bindings to @code{bibutils}, a library
6469 that interconverts between various bibliography formats using a common
6470 MODS-format XML intermediate.")
6471 (license license:gpl2+)))
6472
6473 (define-public ghc-rfc5051
6474 (package
6475 (name "ghc-rfc5051")
6476 (version "0.1.0.3")
6477 (source
6478 (origin
6479 (method url-fetch)
6480 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
6481 "rfc5051-" version ".tar.gz"))
6482 (sha256
6483 (base32
6484 "0av4c3qvwbkbzrjrrg601ay9pds7wscqqp2lc2z78mv2lllap3g3"))))
6485 (build-system haskell-build-system)
6486 (home-page "http://hackage.haskell.org/package/rfc5051")
6487 (synopsis "Simple unicode collation as per RFC5051")
6488 (description
6489 "This library implements @code{unicode-casemap}, the simple, non
6490 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
6491 unicode collation can be done using @code{text-icu}, but that is a big
6492 dependency that depends on a large C library, and @code{rfc5051} might be
6493 better for some purposes.")
6494 (license license:bsd-3)))
6495
6496 (define-public ghc-conduit-extra
6497 (package
6498 (name "ghc-conduit-extra")
6499 (version "1.1.13.2")
6500 (source
6501 (origin
6502 (method url-fetch)
6503 (uri (string-append "https://hackage.haskell.org/package/"
6504 "conduit-extra/conduit-extra-"
6505 version ".tar.gz"))
6506 (sha256
6507 (base32
6508 "108vsn9dpsfwvar7nssw6wkqy26rxlf3p4ran6swa5xh8l6d5k4z"))))
6509 (build-system haskell-build-system)
6510 (inputs
6511 `(("ghc-conduit" ,ghc-conduit)
6512 ("ghc-exceptions" ,ghc-exceptions)
6513 ("ghc-monad-control" ,ghc-monad-control)
6514 ("ghc-text" ,ghc-text)
6515 ("ghc-transformers-base" ,ghc-transformers-base)
6516 ("ghc-async" ,ghc-async)
6517 ("ghc-attoparsec" ,ghc-attoparsec)
6518 ("ghc-blaze-builder" ,ghc-blaze-builder)
6519 ("ghc-network" ,ghc-network)
6520 ("ghc-primitive" ,ghc-primitive)
6521 ("ghc-resourcet" ,ghc-resourcet)
6522 ("ghc-stm" ,ghc-stm)
6523 ("ghc-streaming-commons" ,ghc-streaming-commons)
6524 ("ghc-hspec" ,ghc-hspec)
6525 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6526 ("ghc-quickcheck" ,ghc-quickcheck)))
6527 (native-inputs
6528 `(("hspec-discover" ,hspec-discover)))
6529 (home-page "http://github.com/snoyberg/conduit")
6530 (synopsis "Conduit adapters for common libraries")
6531 (description
6532 "The @code{conduit} package itself maintains relative small dependencies.
6533 The purpose of this package is to collect commonly used utility functions
6534 wrapping other library dependencies, without depending on heavier-weight
6535 dependencies. The basic idea is that this package should only depend on
6536 @code{haskell-platform} packages and @code{conduit}.")
6537 (license license:expat)))
6538
6539 (define-public ghc-xml-types
6540 (package
6541 (name "ghc-xml-types")
6542 (version "0.3.6")
6543 (source
6544 (origin
6545 (method url-fetch)
6546 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
6547 "xml-types-" version ".tar.gz"))
6548 (sha256
6549 (base32
6550 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
6551 (build-system haskell-build-system)
6552 (inputs `(("ghc-text" ,ghc-text)))
6553 (home-page "https://john-millikin.com/software/haskell-xml/")
6554 (synopsis "Basic types for representing XML")
6555 (description "This package provides basic types for representing XML
6556 documents.")
6557 (license license:expat)))
6558
6559 (define-public ghc-xml-conduit
6560 (package
6561 (name "ghc-xml-conduit")
6562 (version "1.3.5")
6563 (source
6564 (origin
6565 (method url-fetch)
6566 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
6567 "xml-conduit-" version ".tar.gz"))
6568 (sha256
6569 (base32
6570 "10yw8jiksw21jgwqjjd1ixflavcblisgkp9qq3ba05vadc35lqr5"))))
6571 (build-system haskell-build-system)
6572 (inputs
6573 `(("ghc-conduit" ,ghc-conduit)
6574 ("ghc-conduit-extra" ,ghc-conduit-extra)
6575 ("ghc-resourcet" ,ghc-resourcet)
6576 ("ghc-text" ,ghc-text)
6577 ("ghc-xml-types" ,ghc-xml-types)
6578 ("ghc-attoparsec" ,ghc-attoparsec)
6579 ("ghc-blaze-builder" ,ghc-blaze-builder)
6580 ("ghc-blaze-markup" ,ghc-blaze-markup)
6581 ("ghc-blaze-html" ,ghc-blaze-html)
6582 ("ghc-data-default" ,ghc-data-default)
6583 ("ghc-monad-control" ,ghc-monad-control)
6584 ("ghc-hspec" ,ghc-hspec)
6585 ("ghc-hunit" ,ghc-hunit)))
6586 (home-page "http://github.com/snoyberg/xml")
6587 (synopsis "Utilities for dealing with XML with the conduit package")
6588 (description
6589 "This package provides pure-Haskell utilities for dealing with XML with
6590 the @code{conduit} package.")
6591 (license license:expat)))
6592
6593 (define-public ghc-pandoc-citeproc
6594 (package
6595 (name "ghc-pandoc-citeproc")
6596 (version "0.10")
6597 (source
6598 (origin
6599 (method url-fetch)
6600 (uri (string-append "https://hackage.haskell.org/package/"
6601 "pandoc-citeproc/pandoc-citeproc-"
6602 version ".tar.gz"))
6603 (sha256
6604 (base32
6605 "00mprphppk51ylsrkg817mbk23f9fsfvkwzbys9qqbcjbrxi2r94"))))
6606 (build-system haskell-build-system)
6607 (arguments
6608 `(#:phases
6609 (modify-phases %standard-phases
6610 ;; Tests need to be run after installation.
6611 (delete 'check)
6612 (add-after 'install 'post-install-check
6613 (assoc-ref %standard-phases 'check)))))
6614 (inputs
6615 `(("ghc-mtl" ,ghc-mtl)
6616 ("ghc-pandoc-types" ,ghc-pandoc-types)
6617 ("ghc-pandoc" ,ghc-pandoc)
6618 ("ghc-tagsoup" ,ghc-tagsoup)
6619 ("ghc-aeson" ,ghc-aeson)
6620 ("ghc-text" ,ghc-text)
6621 ("ghc-vector" ,ghc-vector)
6622 ("ghc-xml-conduit" ,ghc-xml-conduit)
6623 ("ghc-unordered-containers" ,ghc-unordered-containers)
6624 ("ghc-data-default" ,ghc-data-default)
6625 ("ghc-setenv" ,ghc-setenv)
6626 ("ghc-split" ,ghc-split)
6627 ("ghc-yaml" ,ghc-yaml)
6628 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
6629 ("ghc-rfc5051" ,ghc-rfc5051)
6630 ("ghc-syb" ,ghc-syb)
6631 ("ghc-parsec" ,ghc-parsec)
6632 ("ghc-old-locale" ,ghc-old-locale)
6633 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
6634 ("ghc-attoparsec" ,ghc-attoparsec)
6635 ("ghc-temporary" ,ghc-temporary)))
6636 (home-page "https://github.com/jgm/pandoc-citeproc")
6637 (synopsis "Library for using pandoc with citeproc")
6638 (description
6639 "The @code{pandoc-citeproc} library exports functions for using the
6640 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
6641 rendering bibliographic reference citations into a variety of styles using a
6642 macro language called @dfn{Citation Style Language} (CSL). This package also
6643 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
6644 and also has a mode for converting bibliographic databases a YAML format
6645 suitable for inclusion in pandoc YAML metadata.")
6646 (license license:bsd-3)))
6647
6648 (define-public ghc-union-find
6649 (package
6650 (name "ghc-union-find")
6651 (version "0.2")
6652 (source (origin
6653 (method url-fetch)
6654 (uri (string-append
6655 "https://hackage.haskell.org/package/union-find/union-find-"
6656 version ".tar.gz"))
6657 (sha256
6658 (base32
6659 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
6660 (build-system haskell-build-system)
6661 (home-page "https://github.com/nominolo/union-find")
6662 (synopsis "Efficient union and equivalence testing of sets")
6663 (description
6664 "The Union/Find algorithm implements these operations in (effectively)
6665 constant-time:
6666 @enumerate
6667 @item Check whether two elements are in the same equivalence class.
6668 @item Create a union of two equivalence classes.
6669 @item Look up the descriptor of the equivalence class.
6670 @end enumerate\n")
6671 (license license:bsd-3)))
6672
6673 (define-public idris
6674 (package
6675 (name "idris")
6676 (version "0.9.19.1")
6677 (source
6678 (origin
6679 (method url-fetch)
6680 (uri (string-append "https://hackage.haskell.org/package/idris-"
6681 version "/idris-" version ".tar.gz"))
6682 (sha256
6683 (base32
6684 "10641svdsjlxbxmbvylpia04cz5nn9486lpiay8ibqcrc1792qgc"))
6685 (modules '((guix build utils)))
6686 (snippet
6687 '(substitute* "idris.cabal"
6688 ;; Package description file has a too-tight version restriction,
6689 ;; rendering it incompatible with GHC 7.10.2. This is fixed
6690 ;; upstream. See
6691 ;; <https://github.com/idris-lang/Idris-dev/issues/2734>.
6692 (("vector < 0.11") "vector < 0.12")))))
6693 (build-system haskell-build-system)
6694 (arguments
6695 `(#:phases (modify-phases %standard-phases
6696 (add-before 'configure 'patch-cc-command
6697 (lambda _
6698 (setenv "CC" "gcc"))))))
6699 (inputs
6700 `(("gmp" ,gmp)
6701 ("ncurses" ,ncurses)
6702 ("ghc-annotated-wl-pprint" ,ghc-annotated-wl-pprint)
6703 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6704 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
6705 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6706 ("ghc-blaze-html" ,ghc-blaze-html)
6707 ("ghc-blaze-markup" ,ghc-blaze-markup)
6708 ("ghc-cheapskate" ,ghc-cheapskate)
6709 ("ghc-fingertree" ,ghc-fingertree)
6710 ("ghc-mtl" ,ghc-mtl)
6711 ("ghc-network" ,ghc-network)
6712 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
6713 ("ghc-parsers" ,ghc-parsers)
6714 ("ghc-safe" ,ghc-safe)
6715 ("ghc-split" ,ghc-split)
6716 ("ghc-text" ,ghc-text)
6717 ("ghc-trifecta" ,ghc-trifecta)
6718 ("ghc-uniplate" ,ghc-uniplate)
6719 ("ghc-unordered-containers" ,ghc-unordered-containers)
6720 ("ghc-utf8-string" ,ghc-utf8-string)
6721 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)
6722 ("ghc-vector" ,ghc-vector)
6723 ("ghc-zip-archive" ,ghc-zip-archive)
6724 ("ghc-zlib" ,ghc-zlib)))
6725 (home-page "http://www.idris-lang.org")
6726 (synopsis "General purpose language with full dependent types")
6727 (description "Idris is a general purpose language with full dependent
6728 types. It is compiled, with eager evaluation. Dependent types allow types to
6729 be predicated on values, meaning that some aspects of a program's behaviour
6730 can be specified precisely in the type. The language is closely related to
6731 Epigram and Agda.")
6732 (license license:bsd-3)))
6733
6734 (define-public ghc-base16-bytestring
6735 (package
6736 (name "ghc-base16-bytestring")
6737 (version "0.1.1.6")
6738 (source
6739 (origin
6740 (method url-fetch)
6741 (uri (string-append
6742 "https://hackage.haskell.org/package/base16-bytestring/"
6743 "base16-bytestring-" version ".tar.gz"))
6744 (sha256
6745 (base32
6746 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
6747 (build-system haskell-build-system)
6748 (home-page "http://github.com/bos/base16-bytestring")
6749 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
6750 (description
6751 "This package provides a Haskell library for working with base16-encoded
6752 data quickly and efficiently, using the ByteString type.")
6753 (license license:bsd-3)))
6754
6755 (define-public ghc-binary
6756 (package
6757 (name "ghc-binary")
6758 (version "0.8.4.1")
6759 (source
6760 (origin
6761 (method url-fetch)
6762 (uri (string-append
6763 "https://hackage.haskell.org/package/binary/binary-"
6764 version ".tar.gz"))
6765 (sha256
6766 (base32
6767 "1fp7wxnf57cjzhbb7rgqs6fgws4690zh0dxgl924dj4nzq0cf4wd"))))
6768 (build-system haskell-build-system)
6769 (inputs
6770 `(("ghc-random" ,ghc-random)
6771 ("ghc-test-framework" ,ghc-test-framework)
6772 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6773 ("ghc-quickcheck" ,ghc-quickcheck)
6774 ("ghc-hunit" ,ghc-hunit)))
6775 (home-page "https://github.com/kolmodin/binary")
6776 (synopsis
6777 "Binary serialisation for Haskell values using lazy ByteStrings")
6778 (description
6779 "Efficient, pure binary serialisation using lazy ByteStrings. Haskell values
6780 may be encoded to and from binary formats, written to disk as binary, or sent over
6781 the network. The format used can be automatically generated, or you can choose to
6782 implement a custom format if needed. Serialisation speeds of over 1 G\\/sec have
6783 been observed, so this library should be suitable for high performance scenarios.")
6784 (license license:bsd-3)))
6785
6786 (define-public ghc-cryptohash
6787 (package
6788 (name "ghc-cryptohash")
6789 (version "0.11.9")
6790 (source
6791 (origin
6792 (method url-fetch)
6793 (uri (string-append
6794 "https://hackage.haskell.org/package/cryptohash/cryptohash-"
6795 version ".tar.gz"))
6796 (sha256
6797 (base32
6798 "1yr2iyb779znj79j3fq4ky8l1y8a600a2x1fx9p5pmpwq5zq93y2"))))
6799 (build-system haskell-build-system)
6800 (inputs
6801 `(("ghc-byteable" ,ghc-byteable)
6802 ("ghc-cryptonite" ,ghc-cryptonite)
6803 ("ghc-memory" ,ghc-memory)
6804 ("ghc-hunit" ,ghc-hunit)
6805 ("ghc-quickcheck" ,ghc-quickcheck)
6806 ("ghc-tasty" ,ghc-tasty)
6807 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6808 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6809 (home-page "http://github.com/vincenthz/hs-cryptohash")
6810 (synopsis "Collection of cryptographic hashes in Haskell")
6811 (description
6812 "A collection of crypto hashes, with a practical incremental and one-pass,
6813 pure APIs, with performance close to the fastest implementations available in
6814 other languages. The implementations are made in C with a haskell FFI wrapper
6815 that hides the C implementation.")
6816 (license license:bsd-3)))
6817
6818 (define-public ghc-data-ordlist
6819 (package
6820 (name "ghc-data-ordlist")
6821 (version "0.4.7.0")
6822 (source
6823 (origin
6824 (method url-fetch)
6825 (uri (string-append
6826 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
6827 version ".tar.gz"))
6828 (sha256
6829 (base32
6830 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
6831 (build-system haskell-build-system)
6832 (home-page "http://hackage.haskell.org/package/data-ordlist")
6833 (synopsis "Set and bag operations on ordered lists")
6834 (description
6835 "This module provides set and multiset operations on ordered lists.")
6836 (license license:bsd-3)))
6837
6838 (define-public ghc-haskeline
6839 (package
6840 (name "ghc-haskeline")
6841 (version "0.7.2.3")
6842 (source
6843 (origin
6844 (method url-fetch)
6845 (uri (string-append
6846 "https://hackage.haskell.org/package/haskeline/haskeline-"
6847 version ".tar.gz"))
6848 (sha256
6849 (base32
6850 "09wd6sxgn65xxpk7dhy1cg3ywlbk0ccqq7xylycwk4zazy3gjgkd"))))
6851 (build-system haskell-build-system)
6852 (inputs
6853 `(("ncurses" ,ncurses)))
6854 (arguments
6855 `(#:configure-flags (list "-fterminfo")))
6856 (home-page "https://github.com/judah/haskeline")
6857 (synopsis "Command-line interface for user input")
6858 (description
6859 "Haskeline provides a user interface for line input in command-line
6860 programs. This library is similar in purpose to readline, but since it
6861 is written in Haskell it is (hopefully) more easily used in other Haskell
6862 programs.")
6863 (license license:bsd-3)))
6864
6865 (define-public ghc-regex-applicative
6866 (package
6867 (name "ghc-regex-applicative")
6868 (version "0.3.3")
6869 (source
6870 (origin
6871 (method url-fetch)
6872 (uri (string-append
6873 "https://hackage.haskell.org/package/regex-applicative/"
6874 "regex-applicative-" version ".tar.gz"))
6875 (sha256
6876 (base32
6877 "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
6878 (build-system haskell-build-system)
6879 (inputs
6880 `(("ghc-smallcheck" ,ghc-smallcheck)
6881 ("ghc-tasty" ,ghc-tasty)
6882 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
6883 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6884 (home-page "https://github.com/feuerbach/regex-applicative")
6885 (synopsis "Regex-based parsing with applicative interface")
6886 (description
6887 "@code{regex-applicative} is a Haskell library for parsing using
6888 regular expressions. Parsers can be built using Applicative interface.")
6889 (license license:expat)))
6890
6891 (define-public ghc-regex-tdfa
6892 (package
6893 (name "ghc-regex-tdfa")
6894 (version "1.2.2")
6895 (source
6896 (origin
6897 (method url-fetch)
6898 (uri (string-append
6899 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
6900 version ".tar.gz"))
6901 (sha256
6902 (base32
6903 "0f8x8wyr6m21g8dnxvnvalz5bsq37l125l6qhs0fscbvprsxc4nb"))))
6904 (build-system haskell-build-system)
6905 (inputs
6906 `(("ghc-mtl" ,ghc-mtl)
6907 ("ghc-parsec" ,ghc-parsec)
6908 ("ghc-regex-base" ,ghc-regex-base)))
6909 (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
6910 (synopsis "POSIX extended regular expressions in Haskell.")
6911 (description
6912 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
6913 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
6914 inspired by libtre.")
6915 (license license:bsd-3)))
6916
6917 (define-public ghc-regex-compat-tdfa
6918 (package
6919 (name "ghc-regex-compat-tdfa")
6920 (version "0.95.1.4")
6921 (source
6922 (origin
6923 (method url-fetch)
6924 (uri (string-append
6925 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
6926 version ".tar.gz"))
6927 (sha256
6928 (base32
6929 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
6930 (build-system haskell-build-system)
6931 (inputs
6932 `(("ghc-regex-base" ,ghc-regex-base)
6933 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
6934 (home-page "http://hub.darcs.net/shelarcy/regex-compat-tdfa")
6935 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
6936 (description
6937 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
6938 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
6939 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
6940 this problem.")
6941 (license license:bsd-3)))
6942
6943 (define-public ghc-tasty-th
6944 (package
6945 (name "ghc-tasty-th")
6946 (version "0.1.4")
6947 (source
6948 (origin
6949 (method url-fetch)
6950 (uri (string-append
6951 "https://hackage.haskell.org/package/tasty-th/tasty-th-"
6952 version ".tar.gz"))
6953 (sha256
6954 (base32
6955 "0dff9si8i1qp0s7p4hlk0l29vq7wxfglw6mvlgmld43h7rllv88q"))))
6956 (build-system haskell-build-system)
6957 (inputs
6958 `(("ghc-tasty" ,ghc-tasty)))
6959 (home-page "http://github.com/bennofs/tasty-th")
6960 (synopsis "Automatically generate tasty TestTrees")
6961 (description
6962 "Tasty-th automatically generates tasty TestTrees from functions of the
6963 current module, using TemplateHaskell. This is a fork the original
6964 test-framework-th package, modified to work with tasty instead of
6965 test-framework.")
6966 (license license:bsd-3)))
6967
6968 (define-public ghc-sandi
6969 (package
6970 (name "ghc-sandi")
6971 (version "0.4.0") ; darcs-2.12.4 needs == 0.4.*
6972 (source
6973 (origin
6974 (method url-fetch)
6975 (uri (string-append
6976 "https://hackage.haskell.org/package/sandi/sandi-"
6977 version ".tar.gz"))
6978 (sha256
6979 (base32
6980 "1smf3bq44qni4zbgxpw7cy7b9g95fbrr73j8njjf6139naj9bj20"))))
6981 (build-system haskell-build-system)
6982 (inputs
6983 `(("ghc-stringsearch" ,ghc-stringsearch)
6984 ("ghc-conduit" ,ghc-conduit)
6985 ("ghc-exceptions" ,ghc-exceptions)
6986 ("ghc-hunit" ,ghc-hunit)
6987 ("ghc-tasty" ,ghc-tasty)
6988 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6989 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6990 ("ghc-tasty-th" ,ghc-tasty-th)))
6991 (home-page "http://hackage.haskell.org/package/sandi")
6992 (synopsis "Data encoding library")
6993 (description "Reasonably fast data encoding library.")
6994 (license license:bsd-3)))
6995
6996 (define-public ghc-bytestring-handle
6997 (package
6998 (name "ghc-bytestring-handle")
6999 (version "0.1.0.4")
7000 (source
7001 (origin
7002 (method url-fetch)
7003 (uri (string-append
7004 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
7005 version ".tar.gz"))
7006 (sha256
7007 (base32
7008 "0q5yzx90ad9w7qvaix05bynxwlsbqjrgfc4hqb355ibf991wd0rh"))))
7009 (build-system haskell-build-system)
7010 (inputs
7011 `(("ghc-quickcheck" ,ghc-quickcheck)
7012 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7013 ("ghc-hunit" ,ghc-hunit)
7014 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7015 ("ghc-test-framework" ,ghc-test-framework)))
7016 (home-page "http://hub.darcs.net/ganesh/bytestring-handle")
7017 (synopsis "ByteString-backed Handles")
7018 (description "ByteString-backed Handles") ; There is no description
7019 (license license:bsd-3)))
7020
7021 (define-public ghc-tar
7022 (package
7023 (name "ghc-tar")
7024 (version "0.5.0.3")
7025 (source
7026 (origin
7027 (method url-fetch)
7028 (uri (string-append
7029 "https://hackage.haskell.org/package/tar/tar-"
7030 version ".tar.gz"))
7031 (sha256
7032 (base32
7033 "18qq94j9bm91iswnxq2dm5dws5c7wm4k01q2rpf8py35cf3svnfq"))))
7034 (build-system haskell-build-system)
7035 (inputs
7036 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
7037 ("ghc-quickcheck" ,ghc-quickcheck)
7038 ("ghc-tasty" ,ghc-tasty)
7039 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7040 ("ghc-array" ,ghc-array)))
7041 (home-page "http://hackage.haskell.org/package/tar")
7042 (synopsis "Reading, writing and manipulating \".tar\" archive files")
7043 (description
7044 "This library is for working with \\\"@.tar@\\\" archive files.
7045 It can read and write a range of common variations of the tar archive format
7046 including V7, POSIX USTAR and GNU formats. It provides support for packing and
7047 unpacking portable archives. This makes it suitable for distribution but not
7048 backup because details like file ownership and exact permissions are not
7049 preserved. It also provides features for random access to archive content using
7050 an index.")
7051 (license license:bsd-3)))
7052
7053 (define-public ghc-transformers
7054 (package
7055 (name "ghc-transformers")
7056 (version "0.5.2.0")
7057 (source
7058 (origin
7059 (method url-fetch)
7060 (uri (string-append
7061 "https://hackage.haskell.org/package/transformers/transformers-"
7062 version ".tar.gz"))
7063 (sha256
7064 (base32
7065 "1qkhi8ssf8c4jnmrw9dzym3igqbzq7h48iisaykdfzdsm09qfh3c"))))
7066 (build-system haskell-build-system)
7067 (home-page "http://hackage.haskell.org/package/transformers")
7068 (synopsis "Concrete functor and monad transformers")
7069 (description
7070 "A portable library of functor and monad transformers, inspired by the paper
7071 'Functional Programming with Overloading and Higher-Order Polymorphism',
7072 by Mark P Jones. This package contains the monad transformer class and IO monad class,
7073 concrete functor and monad transformers, each with associated operations and functions
7074 to lift operations associated with other transformers. The package can be used on
7075 its own in portable Haskell code, in which case operations need to be manually lifted
7076 through transformer stacks. Alternatively, it can be used with the
7077 non-portable monad classes in the @code{mtl} or @code{monads-tf} packages,
7078 which automatically lift operations introduced by monad transformers through
7079 other transformers.")
7080 (license license:bsd-3)))
7081
7082 ;; darcs-2.12.0 requires transformers-0.4.2.0
7083 (define-public ghc-transformers-0.4.2.0
7084 (package
7085 (inherit ghc-transformers)
7086 (version "0.4.2.0")
7087 (source (origin
7088 (method url-fetch)
7089 (uri (string-append "https://hackage.haskell.org/package/transformers/"
7090 "transformers-" version ".tar.gz"))
7091 (sha256
7092 (base32
7093 "0a364zfcm17mhpy0c4ms2j88sys4yvgd6071qsgk93la2wjm8mkr"))))))
7094
7095 (define-public ghc-findbin
7096 (package
7097 (name "ghc-findbin")
7098 (version "0.0.5")
7099 (source
7100 (origin
7101 (method url-fetch)
7102 (uri (string-append
7103 "https://hackage.haskell.org/package/FindBin/FindBin-"
7104 version ".tar.gz"))
7105 (sha256
7106 (base32
7107 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
7108 (build-system haskell-build-system)
7109 (home-page "https://github.com/audreyt/findbin")
7110 (synopsis "Get the absolute path of the running program")
7111 (description
7112 "This module locates the full directory of the running program, to allow
7113 the use of paths relative to it. FindBin supports invocation of Haskell
7114 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
7115 an executable.")
7116 (license license:bsd-3)))
7117
7118 (define-public ghc-patience
7119 (package
7120 (name "ghc-patience")
7121 (version "0.1.1")
7122 (source
7123 (origin
7124 (method url-fetch)
7125 (uri (string-append
7126 "https://hackage.haskell.org/package/patience/patience-"
7127 version ".tar.gz"))
7128 (sha256
7129 (base32
7130 "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
7131 (build-system haskell-build-system)
7132 (home-page "http://hackage.haskell.org/package/patience")
7133 (synopsis "Patience diff and longest increasing subsequence")
7134 (description
7135 "This library implements the 'patience diff' algorithm, as well as the
7136 patience algorithm for the longest increasing subsequence problem.
7137 Patience diff computes the difference between two lists, for example the lines
7138 of two versions of a source file. It provides a good balance between
7139 performance, nice output for humans, and simplicity of implementation.")
7140 (license license:bsd-3)))
7141
7142 (define-public ghc-monads-tf
7143 (package
7144 (name "ghc-monads-tf")
7145 (version "0.1.0.3")
7146 (source
7147 (origin
7148 (method url-fetch)
7149 (uri (string-append
7150 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7151 version ".tar.gz"))
7152 (sha256
7153 (base32
7154 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7155 (build-system haskell-build-system)
7156 (home-page "http://hackage.haskell.org/package/monads-tf")
7157 (synopsis "Monad classes, using type families")
7158 (description
7159 "Monad classes using type families, with instances for various monad transformers,
7160 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7161 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7162 the @code{mtl-tf} package.")
7163 (license license:bsd-3)))
7164
7165 ;; Do not use this. Bytestring is a standard library and always included.
7166 (define-public ghc-bytestring
7167 (package
7168 (name "ghc-bytestring")
7169 (version "0.10.8.1")
7170 (source
7171 (origin
7172 (method url-fetch)
7173 (uri (string-append
7174 "https://hackage.haskell.org/package/bytestring/bytestring-"
7175 version ".tar.gz"))
7176 (sha256
7177 (base32
7178 "16zwb1p83z7vc5wlhvknpy80b5a2jxc5awx67rk52qnp9idmyq9d"))))
7179 (build-system haskell-build-system)
7180 (inputs
7181 `(("ghc-random" ,ghc-random)
7182 ("ghc-test-framework" ,ghc-test-framework)
7183 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7184 ("ghc-quickcheck" ,ghc-quickcheck)
7185 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7186 ("ghc-hunit" ,ghc-hunit)
7187 ("ghc-byteorder" ,ghc-byteorder)
7188 ("ghc-dlist" ,ghc-dlist)
7189 ("ghc-mtl" ,ghc-mtl)))
7190 (arguments
7191 `(#:tests? #f)) ; Test number two becomes non-responsive for 20+ minutes
7192 (home-page "https://github.com/haskell/bytestring")
7193 (synopsis "Fast, compact, strict and lazy byte strings with a list interface")
7194 (description
7195 "An efficient compact, immutable byte string type (both strict and lazy)
7196 suitable for binary or 8-bit character data. The 'ByteString' type represents
7197 sequences of bytes or 8-bit characters. It is suitable for high performance use,
7198 both in terms of large data quantities, or high speed requirements. The 'ByteString'
7199 functions follow the same style as ordinary lists, so it is easy to convert code
7200 from using 'String' to 'ByteString'.")
7201 (license license:bsd-3)))
7202
7203 (define-public ghc-colour
7204 (package
7205 (name "ghc-colour")
7206 (version "2.3.3")
7207 (source
7208 (origin
7209 (method url-fetch)
7210 (uri (string-append
7211 "https://hackage.haskell.org/package/colour/colour-"
7212 version ".tar.gz"))
7213 (sha256
7214 (base32
7215 "1qmn1778xzg07jg9nx4k1spdz2llivpblf6wwrps1qpqjhsac5cd"))))
7216 (build-system haskell-build-system)
7217 (home-page "http://www.haskell.org/haskellwiki/Colour")
7218 (synopsis "Model for human colour perception")
7219 (description
7220 "This package provides a data type for colours and transparency.
7221 Colours can be blended and composed. Various colour spaces are
7222 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
7223 (license license:expat)))
7224
7225 (define-public ghc-directory
7226 (package
7227 (name "ghc-directory")
7228 (version "1.2.7.0")
7229 (source
7230 (origin
7231 (method url-fetch)
7232 (uri (string-append
7233 "https://hackage.haskell.org/package/directory/directory-"
7234 version ".tar.gz"))
7235 (sha256
7236 (base32
7237 "0h3hrqskadmbigaxbz2k5xxjjjlmfaq2zdn2g7jh1wv9k6yrxraa"))))
7238 (build-system haskell-build-system)
7239 (home-page "http://hackage.haskell.org/package/directory")
7240 (synopsis "Platform-agnostic library for filesystem operations")
7241 (description
7242 "This library provides a basic set of operations for manipulating
7243 files and directories in a portable way.")
7244 (license license:bsd-3)))
7245
7246 ;; Do not use this as an input. It is part of GHC.
7247 (define-public ghc-process
7248 (package
7249 (name "ghc-process")
7250 (version "1.4.2.0")
7251 (source
7252 (origin
7253 (method url-fetch)
7254 (uri (string-append
7255 "https://hackage.haskell.org/package/process/process-"
7256 version ".tar.gz"))
7257 (sha256
7258 (base32
7259 "1v1bav5isqxq9fc4lw714x94qbfsjbm2nn12kjp69r1ql8jaaaqw"))))
7260 (build-system haskell-build-system)
7261 (arguments
7262 `(#:phases
7263 (modify-phases %standard-phases
7264 (add-after 'unpack 'patch-reference-to-/bin/sh
7265 (lambda _
7266 (substitute* "System/Process/Posix.hs"
7267 (("/bin/sh") (which "sh")))
7268 #t)))))
7269 (home-page "http://hackage.haskell.org/package/process")
7270 (synopsis "System process libraries")
7271 (description
7272 "This package contains libraries for dealing with system processes.")
7273 (license license:bsd-3)))
7274
7275 (define-public ghc-wl-pprint-text
7276 (package
7277 (name "ghc-wl-pprint-text")
7278 (version "1.1.0.4")
7279 (source
7280 (origin
7281 (method url-fetch)
7282 (uri (string-append
7283 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
7284 version ".tar.gz"))
7285 (sha256
7286 (base32
7287 "1xgizzimfw17mpmw2afvmnvyag976j8ggn7k5r564rkw9f0m6bgz"))))
7288 (build-system haskell-build-system)
7289 (inputs
7290 `(("ghc-text" ,ghc-text)))
7291 (home-page "http://hackage.haskell.org/package/wl-pprint-text")
7292 (synopsis "Wadler/Leijen Pretty Printer for Text values")
7293 (description
7294 "A clone of wl-pprint for use with the text library.")
7295 (license license:bsd-3)))
7296
7297 (define-public ghc-fgl-arbitrary
7298 (package
7299 (name "ghc-fgl-arbitrary")
7300 (version "0.2.0.2")
7301 (source
7302 (origin
7303 (method url-fetch)
7304 (uri (string-append
7305 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
7306 version ".tar.gz"))
7307 (sha256
7308 (base32
7309 "12qbsla4vivffris6y3gj29vrafkpyazqdbdy2m55nggypqpf7ah"))))
7310 (build-system haskell-build-system)
7311 (inputs
7312 `(("ghc-fgl" ,ghc-fgl)
7313 ("ghc-quickcheck" ,ghc-quickcheck)
7314 ("ghc-hspec" ,ghc-hspec)))
7315 (home-page "http://hackage.haskell.org/package/fgl-arbitrary")
7316 (synopsis "QuickCheck support for fgl")
7317 (description
7318 "Provides Arbitrary instances for fgl graphs to avoid adding a
7319 QuickCheck dependency for fgl whilst still making the instances
7320 available to others. Also available are non-fgl-specific functions
7321 for generating graph-like data structures.")
7322 (license license:bsd-3)))
7323
7324 (define-public ghc-graphviz
7325 (package
7326 (name "ghc-graphviz")
7327 (version "2999.18.1.2")
7328 (source (origin
7329 (method url-fetch)
7330 (uri (string-append "https://hackage.haskell.org/package/"
7331 "graphviz/graphviz-" version ".tar.gz"))
7332 (sha256
7333 (base32
7334 "1z453is01v0rnxlv6xx4iyaqv5vrp3bpz829mpv1a341sck2135h"))))
7335 (build-system haskell-build-system)
7336 (inputs
7337 `(("ghc-quickcheck" ,ghc-quickcheck)
7338 ("ghc-colour" ,ghc-colour)
7339 ("ghc-dlist" ,ghc-dlist)
7340 ("ghc-fgl" ,ghc-fgl)
7341 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
7342 ("ghc-polyparse" ,ghc-polyparse)
7343 ("ghc-temporary" ,ghc-temporary)
7344 ("ghc-text" ,ghc-text)
7345 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
7346 (home-page "https://hackage.haskell.org/package/graphviz")
7347 (synopsis "Bindings to Graphviz for graph visualisation")
7348 (description
7349 "This library provides bindings for the Dot language used by
7350 the @uref{http://graphviz.org/, Graphviz} suite of programs for
7351 visualising graphs, as well as functions to call those programs.
7352 Main features of the graphviz library include:
7353
7354 @enumerate
7355 @item Almost complete coverage of all Graphviz attributes and syntax
7356 @item Support for specifying clusters
7357 @item The ability to use a custom node type
7358 @item Functions for running a Graphviz layout tool with all specified output types
7359 @item Generate and parse Dot code with two options: strict and liberal
7360 @item Functions to convert FGL graphs and other graph-like data structures
7361 @item Round-trip support for passing an FGL graph through Graphviz to augment node
7362 and edge labels with positional information, etc.
7363 @end enumerate\n")
7364 (license license:bsd-3)))
7365
7366 (define-public ghc-array
7367 (package
7368 (name "ghc-array")
7369 (version "0.5.1.1")
7370 (source
7371 (origin
7372 (method url-fetch)
7373 (uri (string-append
7374 "https://hackage.haskell.org/package/array/array-"
7375 version ".tar.gz"))
7376 (sha256
7377 (base32
7378 "08r2rq4blvc737mrg3xhlwiw13jmsz5dlf2fd0ghb9cdaxc6kjc9"))))
7379 (build-system haskell-build-system)
7380 (home-page
7381 "http://hackage.haskell.org/package/array")
7382 (synopsis "Mutable and immutable arrays")
7383 (description
7384 "In addition to providing the @code{Data.Array} module, this package also defines
7385 the classes @code{IArray} of immutable arrays and @code{MArray} of arrays mutable
7386 within appropriate monads, as well as some instances of these classes.")
7387 (license license:bsd-3)))
7388
7389 (define-public ghc-constraints
7390 (package
7391 (name "ghc-constraints")
7392 (version "0.8")
7393 (source
7394 (origin
7395 (method url-fetch)
7396 (uri (string-append
7397 "https://hackage.haskell.org/package/constraints/constraints-"
7398 version ".tar.gz"))
7399 (sha256
7400 (base32
7401 "120mmv9rwbahslisc1z8zx9lw7v6hl5fzid4l0hiy5as6ijqgl2c"))))
7402 (build-system haskell-build-system)
7403 (inputs
7404 `(("ghc-hashable" ,ghc-hashable)
7405 ("ghc-mtl" ,ghc-mtl)
7406 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7407 (home-page "http://github.com/ekmett/constraints/")
7408 (synopsis "Constraint manipulation")
7409 (description
7410 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
7411 They stopped crashing the compiler in GHC 7.6. This package provides
7412 a vocabulary for working with them.")
7413 (license license:bsd-3)))
7414
7415 (define-public ghc-lifted-async
7416 (package
7417 (name "ghc-lifted-async")
7418 (version "0.9.0")
7419 (source
7420 (origin
7421 (method url-fetch)
7422 (uri (string-append
7423 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7424 version ".tar.gz"))
7425 (sha256
7426 (base32
7427 "00fnwfcnc6niq9jbbb9rap9rkdgv5qhcglwanzc5fi8834j94c1r"))))
7428 (build-system haskell-build-system)
7429 (inputs
7430 `(("ghc-async" ,ghc-async)
7431 ("ghc-lifted-base" ,ghc-lifted-base)
7432 ("ghc-transformers-base" ,ghc-transformers-base)
7433 ("ghc-monad-control" ,ghc-monad-control)
7434 ("ghc-constraints" ,ghc-constraints)
7435 ("ghc-hunit" ,ghc-hunit)
7436 ("ghc-mtl" ,ghc-mtl)
7437 ("ghc-tasty" ,ghc-tasty)
7438 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7439 ("ghc-tasty-th" ,ghc-tasty-th)))
7440 (home-page "https://github.com/maoe/lifted-async")
7441 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7442 (description
7443 "This package provides IO operations from @code{async} package lifted to any
7444 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7445 (license license:bsd-3)))
7446
7447 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
7448 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
7449 ;; which depends on ghc-chell and ghc-chell-quickcheck.
7450 ;; Therefore we bootstrap it with tests disabled.
7451 (define ghc-system-filepath-bootstrap
7452 (package
7453 (name "ghc-system-filepath-bootstrap")
7454 (version "0.4.13.4")
7455 (source
7456 (origin
7457 (method url-fetch)
7458 (uri (string-append
7459 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7460 version ".tar.gz"))
7461 (sha256
7462 (base32
7463 "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l"))))
7464 (build-system haskell-build-system)
7465 (arguments
7466 `(#:tests? #f))
7467 (inputs
7468 `(("ghc-text" ,ghc-text)
7469 ("ghc-quickcheck" ,ghc-quickcheck)))
7470 (home-page "https://github.com/fpco/haskell-filesystem")
7471 (synopsis "High-level, byte-based file and directory path manipulations")
7472 (description
7473 "Provides a FilePath datatype and utility functions for operating on it.
7474 Unlike the filepath package, this package does not simply reuse String,
7475 increasing type safety.")
7476 (license license:expat)))
7477
7478 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
7479 ;; ghc-system-filepath.
7480 (define ghc-system-fileio-bootstrap
7481 (package
7482 (name "ghc-system-fileio-bootstrap")
7483 (version "0.3.16.3")
7484 (source
7485 (origin
7486 (method url-fetch)
7487 (uri (string-append
7488 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7489 version ".tar.gz"))
7490 (sha256
7491 (base32
7492 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7493 (build-system haskell-build-system)
7494 (arguments
7495 `(#:tests? #f))
7496 (inputs
7497 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7498 ("ghc-text" ,ghc-text)
7499 ("ghc-temporary" ,ghc-temporary)))
7500 (home-page "https://github.com/fpco/haskell-filesystem")
7501 (synopsis "Consistent filesystem interaction across GHC versions")
7502 (description
7503 "This is a small wrapper around the directory, unix, and Win32 packages,
7504 for use with system-filepath. It provides a consistent API to the various
7505 versions of these packages distributed with different versions of GHC.
7506 In particular, this library supports working with POSIX files that have paths
7507 which can't be decoded in the current locale encoding.")
7508 (license license:expat)))
7509
7510 (define-public ghc-shelly
7511 (package
7512 (name "ghc-shelly")
7513 (version "1.6.8")
7514 (source
7515 (origin
7516 (method url-fetch)
7517 (uri (string-append
7518 "https://hackage.haskell.org/package/shelly/shelly-"
7519 version ".tar.gz"))
7520 (sha256
7521 (base32
7522 "0bg1pj5bhswfgwfgz66xr82i8cmjgrnx5ljvjy37052zxb82imnk"))))
7523 (build-system haskell-build-system)
7524 (inputs
7525 `(("ghc-mtl" ,ghc-mtl)
7526 ("ghc-unix-compat" ,ghc-unix-compat)
7527 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
7528 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
7529 ("ghc-monad-control" ,ghc-monad-control)
7530 ("ghc-lifted-base" ,ghc-lifted-base)
7531 ("ghc-lifted-async" ,ghc-lifted-async)
7532 ("ghc-exceptions" ,ghc-exceptions)
7533 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
7534 ("ghc-text" ,ghc-text)
7535 ("ghc-async" ,ghc-async)
7536 ("ghc-transformers-base" ,ghc-transformers-base)
7537 ("ghc-hunit" ,ghc-hunit)
7538 ("ghc-hspec" ,ghc-hspec)))
7539 (home-page "https://github.com/yesodweb/Shelly.hs")
7540 (synopsis "Shell-like (systems) programming in Haskell")
7541 (description
7542 "Shelly provides convenient systems programming in Haskell, similar in
7543 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
7544 (license license:bsd-3)))
7545
7546 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
7547 (define ghc-options-bootstrap
7548 (package
7549 (name "ghc-options-bootstrap")
7550 (version "1.2.1.1")
7551 (source
7552 (origin
7553 (method url-fetch)
7554 (uri (string-append
7555 "https://hackage.haskell.org/package/options/options-"
7556 version ".tar.gz"))
7557 (sha256
7558 (base32
7559 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7560 (build-system haskell-build-system)
7561 (arguments
7562 `(#:tests? #f))
7563 (inputs
7564 `(("ghc-monads-tf" ,ghc-monads-tf)))
7565 (home-page "https://john-millikin.com/software/haskell-options/")
7566 (synopsis "Powerful and easy-to-use command-line option parser")
7567 (description
7568 "The @code{options} package lets library and application developers
7569 easily work with command-line options.")
7570 (license license:expat)))
7571
7572 (define-public ghc-chell
7573 (package
7574 (name "ghc-chell")
7575 (version "0.4.0.1")
7576 (source
7577 (origin
7578 (method url-fetch)
7579 (uri (string-append
7580 "https://hackage.haskell.org/package/chell/chell-"
7581 version ".tar.gz"))
7582 (sha256
7583 (base32
7584 "0lb95abzxl4a87nfqxsxpb3a39pd52cci43hcvj8615hyhqvs2jz"))))
7585 (build-system haskell-build-system)
7586 (inputs
7587 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
7588 ("ghc-patience" ,ghc-patience)
7589 ("ghc-random" ,ghc-random)
7590 ("ghc-text" ,ghc-text)
7591 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
7592 (home-page "https://john-millikin.com/software/chell/")
7593 (synopsis "Simple and intuitive library for automated testing")
7594 (description
7595 "Chell is a simple and intuitive library for automated testing.
7596 It natively supports assertion-based testing, and can use companion
7597 libraries such as @code{chell-quickcheck} to support more complex
7598 testing strategies.")
7599 (license license:expat)))
7600
7601 (define ghc-chell-quickcheck-bootstrap
7602 (package
7603 (name "ghc-chell-quickcheck-bootstrap")
7604 (version "0.2.5")
7605 (source
7606 (origin
7607 (method url-fetch)
7608 (uri (string-append
7609 "https://hackage.haskell.org/package/chell-quickcheck/chell-quickcheck-"
7610 version ".tar.gz"))
7611 (sha256
7612 (base32
7613 "02bkcnx5k6r5csdnnkvk4wfd0l36nxb87i1463ynw17n7ym9s4cs"))))
7614 (build-system haskell-build-system)
7615 (inputs
7616 `(("ghc-chell" ,ghc-chell)
7617 ("ghc-random" ,ghc-random)
7618 ("ghc-quickcheck" ,ghc-quickcheck)))
7619 (arguments
7620 `(#:tests? #f))
7621 (home-page "https://john-millikin.com/software/chell/")
7622 (synopsis "QuickCheck support for the Chell testing library")
7623 (description "More complex tests for @code{chell}.")
7624 (license license:expat)))
7625
7626 (define-public ghc-chell-quickcheck
7627 (package
7628 (name "ghc-chell-quickcheck")
7629 (version "0.2.5")
7630 (source
7631 (origin
7632 (method url-fetch)
7633 (uri (string-append
7634 "https://hackage.haskell.org/package/chell-quickcheck/chell-quickcheck-"
7635 version ".tar.gz"))
7636 (sha256
7637 (base32
7638 "02bkcnx5k6r5csdnnkvk4wfd0l36nxb87i1463ynw17n7ym9s4cs"))))
7639 (build-system haskell-build-system)
7640 (inputs
7641 `(("ghc-chell" ,ghc-chell)
7642 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
7643 ("ghc-random" ,ghc-random)
7644 ("ghc-quickcheck" ,ghc-quickcheck)))
7645 (home-page "https://john-millikin.com/software/chell/")
7646 (synopsis "QuickCheck support for the Chell testing library")
7647 (description "More complex tests for @code{chell}.")
7648 (license license:expat)))
7649
7650 (define-public ghc-options
7651 (package
7652 (name "ghc-options")
7653 (version "1.2.1.1")
7654 (source
7655 (origin
7656 (method url-fetch)
7657 (uri (string-append
7658 "https://hackage.haskell.org/package/options/options-"
7659 version ".tar.gz"))
7660 (sha256
7661 (base32
7662 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7663 (build-system haskell-build-system)
7664 (inputs
7665 `(("ghc-monads-tf" ,ghc-monads-tf)
7666 ("ghc-chell" ,ghc-chell)
7667 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
7668 (home-page "https://john-millikin.com/software/haskell-options/")
7669 (synopsis "Powerful and easy-to-use command-line option parser")
7670 (description
7671 "The @code{options} package lets library and application developers
7672 easily work with command-line options.")
7673 (license license:expat)))
7674
7675 (define-public ghc-system-filepath
7676 (package
7677 (name "ghc-system-filepath")
7678 (version "0.4.13.4")
7679 (source
7680 (origin
7681 (method url-fetch)
7682 (uri (string-append
7683 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
7684 version ".tar.gz"))
7685 (sha256
7686 (base32
7687 "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l"))))
7688 (build-system haskell-build-system)
7689 (inputs
7690 `(("ghc-text" ,ghc-text)
7691 ("ghc-chell" ,ghc-chell)
7692 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
7693 ("ghc-quickcheck" ,ghc-quickcheck)))
7694 (home-page "https://github.com/fpco/haskell-filesystem")
7695 (synopsis "High-level, byte-based file and directory path manipulations")
7696 (description
7697 "Provides a FilePath datatype and utility functions for operating on it.
7698 Unlike the filepath package, this package does not simply reuse String,
7699 increasing type safety.")
7700 (license license:expat)))
7701
7702 (define-public ghc-system-fileio
7703 (package
7704 (name "ghc-system-fileio")
7705 (version "0.3.16.3")
7706 (source
7707 (origin
7708 (method url-fetch)
7709 (uri (string-append
7710 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
7711 version ".tar.gz"))
7712 (sha256
7713 (base32
7714 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
7715 (build-system haskell-build-system)
7716 (inputs
7717 `(("ghc-system-filepath" ,ghc-system-filepath)
7718 ("ghc-text" ,ghc-text)
7719 ("ghc-chell" ,ghc-chell)
7720 ("ghc-temporary" ,ghc-temporary)))
7721 (home-page "https://github.com/fpco/haskell-filesystem")
7722 (synopsis "Consistent filesystem interaction across GHC versions")
7723 (description
7724 "This is a small wrapper around the directory, unix, and Win32 packages,
7725 for use with system-filepath. It provides a consistent API to the various
7726 versions of these packages distributed with different versions of GHC.
7727 In particular, this library supports working with POSIX files that have paths
7728 which can't be decoded in the current locale encoding.")
7729 (license license:expat)))
7730
7731 (define-public ghc-storable-complex
7732 (package
7733 (name "ghc-storable-complex")
7734 (version "0.2.2")
7735 (source
7736 (origin
7737 (method url-fetch)
7738 (uri (string-append
7739 "http://hackage.haskell.org/package/storable-complex/storable-complex-"
7740 version ".tar.gz"))
7741 (sha256
7742 (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
7743 (build-system haskell-build-system)
7744 (home-page "https://github.com/cartazio/storable-complex")
7745 (synopsis "Haskell Storable instance for Complex")
7746 (description "This package provides a Haskell library including a
7747 Storable instance for Complex which is binary compatible with C99, C++
7748 and Fortran complex data types.")
7749 (license license:bsd-3)))
7750
7751 (define-public ghc-hmatrix
7752 (package
7753 (name "ghc-hmatrix")
7754 (version "0.17.0.2")
7755 (source
7756 (origin
7757 (method url-fetch)
7758 (uri (string-append
7759 "http://hackage.haskell.org/package/hmatrix/hmatrix-"
7760 version ".tar.gz"))
7761 (sha256
7762 (base32 "1fgsrh2y9y971pzrd3767rg97bjr1ghpdvwmn1nn65s90rc9bv98"))))
7763 (build-system haskell-build-system)
7764 (inputs
7765 `(("ghc-random" ,ghc-random)
7766 ("ghc-split" ,ghc-split)
7767 ("ghc-storable-complex" ,ghc-storable-complex)
7768 ("ghc-vector" ,ghc-vector)
7769 ;;("openblas" ,openblas)
7770 ("lapack" ,lapack)))
7771 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
7772 ;; disables inclusion of the LAPACK functions.
7773 ;; (arguments `(#:configure-flags '("--flags=openblas")))
7774 (home-page "https://github.com/albertoruiz/hmatrix")
7775 (synopsis "Haskell numeric linear algebra library")
7776 (description "The HMatrix package provices a Haskell library for
7777 dealing with linear systems, matrix decompositions, and other
7778 numerical computations based on BLAS and LAPACK.")
7779 (license license:bsd-3)))
7780
7781 (define-public ghc-hmatrix-gsl
7782 (package
7783 (name "ghc-hmatrix-gsl")
7784 (version "0.17.0.0")
7785 (source
7786 (origin
7787 (method url-fetch)
7788 (uri (string-append
7789 "http://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
7790 version ".tar.gz"))
7791 (sha256
7792 (base32 "1jbqwn9d2nldc4klhy0n8gcxr889h0daw2mjfhwgksfy1bwfjl7w"))))
7793 (build-system haskell-build-system)
7794 (inputs
7795 `(("ghc-hmatrix" ,ghc-hmatrix)
7796 ("ghc-vector" ,ghc-vector)
7797 ("ghc-random" ,ghc-random)
7798 ("gsl" ,gsl)))
7799 (native-inputs `(("pkg-config" ,pkg-config)))
7800 (home-page "https://github.com/albertoruiz/hmatrix")
7801 (synopsis "Haskell GSL binding")
7802 (description "This Haskell library provides a purely functional
7803 interface to selected numerical computations, internally implemented
7804 using GSL.")
7805 (license license:gpl3+)))
7806
7807 (define-public ghc-hmatrix-special
7808 (package
7809 (name "ghc-hmatrix-special")
7810 (version "0.4.0.0")
7811 (source
7812 (origin
7813 (method url-fetch)
7814 (uri
7815 (string-append
7816 "http://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
7817 version ".tar.gz"))
7818 (sha256
7819 (base32 "0cr9y3swzj7slrd84g1nhdkp1kpq4q5ihwapmiaidpr2bv3hrfhz"))))
7820 (build-system haskell-build-system)
7821 (inputs
7822 `(("ghc-hmatrix" ,ghc-hmatrix)
7823 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
7824 (home-page "https://github.com/albertoruiz/hmatrix")
7825 (synopsis "Haskell interface to GSL special functions")
7826 (description "This library provides an interface to GSL special
7827 functions for Haskell.")
7828 (license license:gpl3+)))
7829
7830 (define-public ghc-hmatrix-gsl-stats
7831 (package
7832 (name "ghc-hmatrix-gsl-stats")
7833 (version "0.4.1.3")
7834 (source
7835 (origin
7836 (method url-fetch)
7837 (uri
7838 (string-append
7839 "http://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
7840 version ".tar.gz"))
7841 (sha256
7842 (base32 "0f3pzi494n4js0xiq5b38n07cnby0h9da6gmwywf8plvxm9271fl"))))
7843 (build-system haskell-build-system)
7844 (inputs
7845 `(("ghc-vector" ,ghc-vector)
7846 ("ghc-storable-complex" ,ghc-storable-complex)
7847 ("ghc-hmatrix" ,ghc-hmatrix)
7848 ("gsl" ,gsl)))
7849 (native-inputs `(("pkg-config" ,pkg-config)))
7850 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
7851 (synopsis "GSL Statistics interface for Haskell")
7852 (description "This Haskell library provides a purely functional
7853 interface for statistics based on hmatrix and GSL.")
7854 (license license:bsd-3)))
7855
7856 (define-public ghc-easyplot
7857 (package
7858 (name "ghc-easyplot")
7859 (version "1.0")
7860 (source
7861 (origin
7862 (method url-fetch)
7863 (uri (string-append
7864 "http://hackage.haskell.org/package/easyplot/easyplot-"
7865 version ".tar.gz"))
7866 (sha256
7867 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
7868 (build-system haskell-build-system)
7869 (propagated-inputs `(("gnuplot" ,gnuplot)))
7870 (arguments
7871 `(#:phases (modify-phases %standard-phases
7872 (add-after 'unpack 'fix-setup-suffix
7873 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
7874 (home-page "http://hub.darcs.net/scravy/easyplot")
7875 (synopsis "Haskell plotting library based on gnuplot")
7876 (description "This package provides a plotting library for
7877 Haskell, using gnuplot for rendering.")
7878 (license license:expat)))
7879
7880 (define-public ghc-hashtables
7881 (package
7882 (name "ghc-hashtables")
7883 (version "1.2.1.0")
7884 (source
7885 (origin
7886 (method url-fetch)
7887 (uri (string-append
7888 "http://hackage.haskell.org/package/hashtables/hashtables-"
7889 version ".tar.gz"))
7890 (sha256
7891 (base32 "1b6w9xznk42732vpd8ili60k12yq190xnajgga0iwbdpyg424lgg"))))
7892 (build-system haskell-build-system)
7893 (inputs
7894 `(("ghc-hashable" ,ghc-hashable)
7895 ("ghc-primitive" ,ghc-primitive)
7896 ("ghc-vector" ,ghc-vector)))
7897 (home-page "http://github.com/gregorycollins/hashtables")
7898 (synopsis "Haskell Mutable hash tables in the ST monad")
7899 (description "This package provides a Haskell library including a
7900 couple of different implementations of mutable hash tables in the ST
7901 monad, as well as a typeclass abstracting their common operations, and
7902 a set of wrappers to use the hash tables in the IO monad.")
7903 (license license:bsd-3)))
7904
7905 ;;; haskell.scm ends here