1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 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>
7 ;;; This file is part of GNU Guix.
9 ;;; GNU Guix is free software; you can redistribute it and/or modify it
10 ;;; under the terms of the GNU General Public License as published by
11 ;;; the Free Software Foundation; either version 3 of the License, or (at
12 ;;; your option) any later version.
14 ;;; GNU Guix is distributed in the hope that it will be useful, but
15 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
19 ;;; You should have received a copy of the GNU General Public License
20 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22 (define-module (gnu packages haskell)
23 #:use-module (ice-9 regex)
24 #:use-module ((guix licenses) #:prefix license:)
25 #:use-module (guix packages)
26 #:use-module (guix download)
27 #:use-module (guix utils)
28 #:use-module (guix build-system gnu)
29 #:use-module (guix build-system haskell)
30 #:use-module (gnu packages pkg-config)
31 #:use-module (gnu packages perl)
32 #:use-module (gnu packages compression)
33 #:use-module (gnu packages elf)
34 #:use-module (gnu packages gl)
35 #:use-module (gnu packages sdl)
36 #:use-module (gnu packages bootstrap)
37 #:use-module (gnu packages zip)
38 #:use-module (gnu packages gcc)
39 #:use-module (gnu packages ghostscript)
40 #:use-module (gnu packages libffi)
41 #:use-module (gnu packages libedit)
42 #:use-module (gnu packages lua)
43 #:use-module (gnu packages multiprecision)
44 #:use-module (gnu packages ncurses)
45 #:use-module (gnu packages python)
46 #:use-module (gnu packages pcre)
47 #:use-module (gnu packages xml)
48 #:use-module (gnu packages xorg))
50 (define ghc-bootstrap-x86_64-7.8.4
54 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.xz")
57 "13azsl53xgj20mi1hj9x0xb32vvcvs6cpmvwx6znxhas7blh0bpn"))))
59 (define ghc-bootstrap-i686-7.8.4
63 "https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.xz")
66 "0wj5s435j0zgww70bj1d3f6wvnnpzlxwvwcyh2qv4qjq5z8j64kg"))))
68 ;; 43 tests out of 3965 fail.
70 ;; Most of them do not appear to be serious:
72 ;; - some tests generate files referring to "/bin/sh" and "/bin/ls". I've not
73 ;; figured out how these references are generated.
75 ;; - Some tests allocate more memory than expected (ca. 3% above upper limit)
77 ;; - Some tests try to load unavailable libriries: Control.Concurrent.STM,
78 ;; Data.Vector, Control.Monad.State.
80 ;; - Test posix010 tries to check the existence of a user on the system:
81 ;; getUserEntryForName: does not exist (no such user)
89 (uri (string-append "https://www.haskell.org/ghc/dist/"
90 version "/" name "-" version "-src.tar.xz"))
93 "1x8m4rp2v7ydnrz6z9g8x7z3x3d3pxhv2pixy7i7hkbqbdsp7kal"))))
94 (build-system gnu-build-system)
95 (supported-systems '("i686-linux" "x86_64-linux"))
96 (outputs '("out" "doc"))
106 "https://www.haskell.org/ghc/dist/"
107 version "/" name "-" version "-testsuite.tar.xz"))
110 "0qp9da9ar87zbyn6wjgacd2ic1vgzbi3cklxnhsmjqyafv9qaj4b"))))))
113 ("python" ,python-2) ; for tests (fails with python-3)
114 ("ghostscript" ,ghostscript) ; for tests
115 ("patchelf" ,patchelf)
116 ;; GHC is built with GHC. Therefore we need bootstrap binaries.
118 ,(if (string-match "x86_64" (or (%current-target-system) (%current-system)))
119 ghc-bootstrap-x86_64-7.8.4
120 ghc-bootstrap-i686-7.8.4))))
122 `(#:test-target "test"
123 ;; We get a smaller number of test failures by disabling parallel test
127 ;; The DSOs use $ORIGIN to refer to each other, but (guix build
128 ;; gremlin) doesn't support it yet, so skip this phase.
129 #:validate-runpath? #f
131 ;; Don't pass --build=<triplet>, because the configure script
132 ;; auto-detects slightly different triplets for --host and --target and
133 ;; then complains that they don't match.
136 #:modules ((guix build gnu-build-system)
141 #:imported-modules (,@%gnu-build-system-modules
145 (string-append "--with-gmp-libraries="
146 (assoc-ref %build-inputs "gmp") "/lib")
147 (string-append "--with-gmp-includes="
148 (assoc-ref %build-inputs "gmp") "/include")
149 "--with-system-libffi"
150 (string-append "--with-ffi-libraries="
151 (assoc-ref %build-inputs "libffi") "/lib")
152 (string-append "--with-ffi-includes="
153 (assoc-ref %build-inputs "libffi") "/include"))
154 ;; FIXME: The user-guide needs dblatex, docbook-xsl and docbook-utils.
155 ;; Currently we do not have the last one.
157 ;; (list "BUILD_DOCBOOK_HTML = YES")
159 (let* ((ghc-bootstrap-path
160 (string-append (getcwd) "/" ,name "-" ,version "/ghc-bin"))
161 (ghc-bootstrap-prefix
162 (string-append ghc-bootstrap-path "/usr" )))
164 'unpack-bin 'unpack-testsuite-and-fix-bins
165 (lambda* (#:key inputs outputs #:allow-other-keys)
166 (with-directory-excursion ".."
167 (copy-file (assoc-ref inputs "ghc-testsuite")
168 "ghc-testsuite.tar.xz")
169 (system* "tar" "xvf" "ghc-testsuite.tar.xz"))
171 (list "testsuite/timeout/Makefile"
172 "testsuite/timeout/timeout.py"
173 "testsuite/timeout/timeout.hs"
174 "testsuite/tests/rename/prog006/Setup.lhs"
175 "testsuite/tests/programs/life_space_leak/life.test"
176 "libraries/process/System/Process/Internals.hs"
177 "libraries/unix/cbits/execvpe.c")
178 (("/bin/sh") (which "sh"))
183 (lambda* (#:key inputs outputs #:allow-other-keys)
184 (mkdir-p ghc-bootstrap-prefix)
185 (with-directory-excursion ghc-bootstrap-path
186 (copy-file (assoc-ref inputs "ghc-binary")
188 (zero? (system* "tar" "xvf" "ghc-bin.tar.xz"))))
190 'install-bin 'configure-bin
191 (lambda* (#:key inputs outputs #:allow-other-keys)
194 "./utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"
195 "./utils/hpc/dist-install/build/tmp/hpc"
196 "./utils/haddock/dist/build/tmp/haddock"
197 "./utils/hsc2hs/dist-install/build/tmp/hsc2hs"
198 "./utils/runghc/dist-install/build/tmp/runghc"
199 "./utils/ghc-cabal/dist-install/build/tmp/ghc-cabal"
200 "./utils/hp2ps/dist/build/tmp/hp2ps"
201 "./utils/ghc-pkg/dist-install/build/tmp/ghc-pkg"
202 "./utils/unlit/dist/build/tmp/unlit"
203 "./ghc/stage2/build/tmp/ghc-stage2"))
204 (gmp (assoc-ref inputs "gmp"))
205 (gmp-lib (string-append gmp "/lib"))
206 (gmp-include (string-append gmp "/include"))
208 (string-append (assoc-ref inputs "ncurses") "/lib"))
209 (ld-so (string-append (assoc-ref inputs "libc")
210 ,(glibc-dynamic-linker)))
212 (string-append ghc-bootstrap-prefix
213 "/lib/ghc-7.8.4/terminfo-0.4.0.0")))
214 (with-directory-excursion
215 (string-append ghc-bootstrap-path "/ghc-7.8.4")
216 (setenv "CONFIG_SHELL" (which "bash"))
217 (setenv "LD_LIBRARY_PATH" gmp-lib)
218 ;; The binaries have "/lib64/ld-linux-x86-64.so.2" hardcoded.
220 (cut system* "patchelf" "--set-interpreter" ld-so <>)
222 ;; The binaries include a reference to libtinfo.so.5 which
223 ;; is a subset of libncurses.so.5. We create a symlink in a
224 ;; directory included in the bootstrap binaries rpath.
225 (mkdir-p libtinfo-dir)
227 (string-append ncurses-lib "/libncursesw.so."
228 ,(version-major+minor
229 (package-version ncurses)))
230 (string-append libtinfo-dir "/libtinfo.so.5"))
232 (string-append (getenv "PATH") ":"
233 ghc-bootstrap-prefix "/bin"))
235 (string-append (getcwd) "/configure")
236 (string-append "--prefix=" ghc-bootstrap-prefix)
237 (string-append "--with-gmp-libraries=" gmp-lib)
238 (string-append "--with-gmp-includes=" gmp-include)))))
240 'configure 'install-bin
241 (lambda* (#:key inputs outputs #:allow-other-keys)
242 (with-directory-excursion
243 (string-append ghc-bootstrap-path "/ghc-7.8.4")
244 (zero? (system* "make" "install"))))
245 %standard-phases)))))))
246 (native-search-paths (list (search-path-specification
247 (variable "GHC_PACKAGE_PATH")
249 (string-append "lib/ghc-" version)))
250 (file-pattern ".*\\.conf\\.d$")
251 (file-type 'directory))))
252 (home-page "https://www.haskell.org/ghc")
253 (synopsis "The Glasgow Haskell Compiler")
255 "The Glasgow Haskell Compiler (GHC) is a state-of-the-art compiler and
256 interactive environment for the functional language Haskell.")
257 (license license:bsd-3)))
259 (define-public ghc-hostname
261 (name "ghc-hostname")
266 (uri (string-append "http://hackage.haskell.org/package/hostname/"
267 "hostname-" version ".tar.gz"))
270 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
271 (build-system haskell-build-system)
272 (home-page "https://hackage.haskell.org/package/hostname")
273 (synopsis "Hostname in Haskell")
274 (description "Network.HostName is a simple package providing a means to
275 determine the hostname.")
276 (license license:bsd-3)))
278 (define-public ghc-libxml
285 (uri (string-append "http://hackage.haskell.org/package/libxml/"
286 "libxml-" version ".tar.gz"))
289 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
290 (build-system haskell-build-system)
292 `(("ghc-mtl" ,ghc-mtl)
293 ("libxml2" ,libxml2)))
296 `(,(string-append "--extra-include-dirs="
297 (assoc-ref %build-inputs "libxml2")
298 "/include/libxml2"))))
299 (home-page "http://hackage.haskell.org/package/libxml")
300 (synopsis "Haskell bindings to libxml2")
302 "This library provides minimal Haskell binding to libxml2.")
303 (license license:bsd-3)))
305 (define-public ghc-prelude-extras
307 (name "ghc-prelude-extras")
313 "http://hackage.haskell.org/package/prelude-extras/prelude-extras-"
318 "1q7mj9hysy747vimnlyrwsk1wb2axymxixa76fwcbcnmz3fi4llp"))))
319 (build-system haskell-build-system)
320 (home-page "http://github.com/ekmett/prelude-extras")
321 (synopsis "Higher order versions of Prelude classes")
322 (description "This library provides higher order versions of
323 @code{Prelude} classes to ease programming with polymorphic recursion and
324 reduce @code{UndecidableInstances}.")
325 (license license:bsd-3)))
327 (define-public ghc-data-default
329 (name "ghc-data-default")
335 "http://hackage.haskell.org/package/data-default/data-default-"
339 (base32 "0d1hm0l9kim3kszshr4msmgzizrzha48gz2kb7b61p7n3gs70m7c"))))
340 (build-system haskell-build-system)
342 `(("ghc-data-default-class"
343 ,ghc-data-default-class)
344 ("ghc-data-default-instances-base"
345 ,ghc-data-default-instances-base)
346 ("ghc-data-default-instances-containers"
347 ,ghc-data-default-instances-containers)
348 ("ghc-data-default-instances-dlist"
349 ,ghc-data-default-instances-dlist)
350 ("ghc-data-default-instances-old-locale"
351 ,ghc-data-default-instances-old-locale)))
352 (home-page "http://hackage.haskell.org/package/data-default")
353 (synopsis "Types with default values")
355 "This package defines a class for types with a default value, and
356 provides instances for types from the base, containers, dlist and old-locale
358 (license license:bsd-3)))
360 (define-public ghc-data-default-class
362 (name "ghc-data-default-class")
368 "http://hackage.haskell.org/package/data-default-class/"
369 "data-default-class-" version ".tar.gz"))
371 (base32 "0ccgr3jllinchqhw3lsn73ic6axk4196if5274rr1rghls0fxj5d"))))
372 (build-system haskell-build-system)
373 (home-page "http://hackage.haskell.org/package/data-default-class")
374 (synopsis "Types with default values")
376 "This package defines a class for types with default values.")
377 (license license:bsd-3)))
379 (define-public ghc-data-default-instances-base
381 (name "ghc-data-default-instances-base")
387 "http://hackage.haskell.org/package/"
388 "data-default-instances-base/"
389 "data-default-instances-base-" version ".tar.gz"))
391 (base32 "1832nq6by91f1iw73ycvkbgn8kpra83pvf2q61hy47xffh0zy4pb"))))
392 (build-system haskell-build-system)
394 `(("ghc-data-default-class" ,ghc-data-default-class)))
395 (home-page "http://hackage.haskell.org/package/data-default-instances-base")
396 (synopsis "Default instances for types in base")
398 "This package provides default instances for types from the base
400 (license license:bsd-3)))
402 (define-public ghc-data-default-instances-containers
404 (name "ghc-data-default-instances-containers")
410 "http://hackage.haskell.org/package/"
411 "data-default-instances-containers/"
412 "data-default-instances-containers-" version ".tar.gz"))
414 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
415 (build-system haskell-build-system)
417 `(("ghc-data-default-class" ,ghc-data-default-class)))
418 (home-page "http://hackage.haskell.org/package/data-default-instances-containers")
419 (synopsis "Default instances for types in containers")
420 (description "Provides default instances for types from the containers
422 (license license:bsd-3)))
424 (define-public ghc-data-default-instances-dlist
426 (name "ghc-data-default-instances-dlist")
432 "http://hackage.haskell.org/package/"
433 "data-default-instances-dlist/"
434 "data-default-instances-dlist-" version ".tar.gz"))
436 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
437 (build-system haskell-build-system)
439 `(("ghc-data-default-class" ,ghc-data-default-class)
440 ("ghc-dlist" ,ghc-dlist)))
441 (home-page "http://hackage.haskell.org/package/data-default-instances-dlist")
442 (synopsis "Default instances for types in dlist")
443 (description "Provides default instances for types from the dlist
445 (license license:bsd-3)))
447 (define-public ghc-haddock-library
449 (name "ghc-haddock-library")
455 "http://hackage.haskell.org/package/haddock-library/haddock-library-"
460 "0mhh2ppfhrvvi9485ipwbkv2fbgj35jvz3la02y3jlvg5ffs1c8g"))))
461 (build-system haskell-build-system)
463 `(("ghc-base-compat" ,ghc-base-compat)
464 ("ghc-hspec" ,ghc-hspec)
465 ("ghc-quickcheck" ,ghc-quickcheck)))
466 (home-page "http://www.haskell.org/haddock/")
468 "Library exposing some functionality of Haddock")
470 "Haddock is a documentation-generation tool for Haskell libraries. These
471 modules expose some functionality of it without pulling in the GHC dependency.
472 Please note that the API is likely to change so specify upper bounds in your
473 project if you can't release often. For interacting with Haddock itself, see
474 the ‘haddock’ package.")
475 (license license:bsd-3)))
477 (define-public ghc-haddock-api
479 (name "ghc-haddock-api")
485 "http://hackage.haskell.org/package/haddock-api/haddock-api-"
490 "1spd5axg1pdjv4dkdb5gcwjsc8gg37qi4mr2k2db6ayywdkis1p2"))))
491 (build-system haskell-build-system)
493 `(("ghc-paths" ,ghc-paths)
494 ("ghc-haddock-library" ,ghc-haddock-library)))
495 (home-page "http://www.haskell.org/haddock/")
496 (synopsis "API for documentation-generation tool Haddock")
497 (description "This package provides an API to Haddock, the
498 documentation-generation tool for Haskell libraries.")
499 (license license:bsd-3)))
501 (define-public ghc-haddock
509 "http://hackage.haskell.org/package/haddock/haddock-"
514 "1mnnvc5jqp6n6rj7xw8wdm0z2xp9fndkz11c8p3vbljsrcqd3v26"))))
515 (build-system haskell-build-system)
516 (arguments `(#:tests? #f)) ; FIXME: Tests break with GHC 7.10.2, fixed
518 ; <https://github.com/haskell/haddock/issues/427>
519 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
520 (home-page "http://www.haskell.org/haddock/")
522 "Documentation-generation tool for Haskell libraries")
524 "Haddock is a documentation-generation tool for Haskell libraries.")
525 (license license:bsd-3)))
527 (define-public ghc-simple-reflect
529 (name "ghc-simple-reflect")
535 "http://hackage.haskell.org/package/simple-reflect/simple-reflect-"
540 "1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq"))))
541 (build-system haskell-build-system)
543 "http://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
545 "Simple reflection of expressions containing variables")
547 "This package allows simple reflection of expressions containing
548 variables. Reflection here means that a Haskell expression is turned into a
549 string. The primary aim of this package is teaching and understanding; there
550 are no options for manipulating the reflected expressions beyond showing
552 (license license:bsd-3)))
554 (define-public ghc-multipart
556 (name "ghc-multipart")
562 "http://hackage.haskell.org/package/multipart/multipart-"
567 "0g04jhyw1ib1s7c9bcldyyn4n90qd9x7dmvic4vgq57bgcqgnhz5"))))
568 (build-system haskell-build-system)
569 (inputs `(("ghc-parsec" ,ghc-parsec)))
571 "http://www.github.com/silkapp/multipart")
573 "HTTP multipart library")
575 "HTTP multipart split out of the cgi package, for Haskell.")
576 (license license:bsd-3)))
578 (define-public ghc-html
586 "http://hackage.haskell.org/package/html/html-"
591 "0q9hmfii62kc82ijlg238fxrzxhsivn42x5wd6ffcr9xldg4jd8c"))))
592 (build-system haskell-build-system)
594 "http://hackage.haskell.org/package/html")
595 (synopsis "HTML combinator library")
597 "This package contains a combinator library for constructing HTML
599 (license license:bsd-3)))
601 (define-public ghc-xhtml
609 "http://hackage.haskell.org/package/xhtml/xhtml-"
614 "1n6wgzxbj8xf0wf1il827qidphnffb5vzhwzqlxhh70c2y10f0ik"))))
615 (build-system haskell-build-system)
616 (home-page "https://github.com/haskell/xhtml")
617 (synopsis "XHTML combinator library")
619 "This package provides combinators for producing XHTML 1.0, including the
620 Strict, Transitional and Frameset variants.")
621 (license license:bsd-3)))
623 (define-public ghc-haskell-src
625 (name "ghc-haskell-src")
631 "http://hackage.haskell.org/package/haskell-src/haskell-src-"
636 "19lilhpwnjb7cks9fq1ipnc8f7dwxy0ri3dgjkdxs3i355byw99a"))))
637 (build-system haskell-build-system)
639 `(("ghc-happy" ,ghc-happy)
640 ("ghc-syb" ,ghc-syb)))
642 "http://hackage.haskell.org/package/haskell-src")
644 "Support for manipulating Haskell source code")
646 "The 'haskell-src' package provides support for manipulating Haskell
647 source code. The package provides a lexer, parser and pretty-printer, and a
648 definition of a Haskell abstract syntax tree (AST). Common uses of this
649 package are to parse or generate Haskell 98 code.")
650 (license license:bsd-3)))
652 (define-public ghc-alex
660 "http://hackage.haskell.org/package/alex/alex-"
665 "17x13nbbr79xgdlzywjqw19vcl6iygjnssjnxnajgijkv764wknn"))))
666 (build-system haskell-build-system)
667 (arguments `(#:tests? #f)) ; FIXME: Tests broken for GHC 7.10. Fixed
669 ; <https://github.com/simonmar/alex/issues/62>
670 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
671 (home-page "http://www.haskell.org/alex/")
673 "Tool for generating lexical analysers in Haskell")
675 "Alex is a tool for generating lexical analysers in Haskell. It takes a
676 description of tokens based on regular expressions and generates a Haskell
677 module containing code for scanning text efficiently. It is similar to the
678 tool lex or flex for C/C++.")
679 (license license:bsd-3)))
681 (define-public ghc-cgi
684 (version "3001.2.2.2")
689 "http://hackage.haskell.org/package/cgi/cgi-"
694 "0q1pxpa8gi42c0hsidcdkhk5xr5anfrvhqsn3iksr9c0rllhz193"))))
695 (build-system haskell-build-system)
697 `(("ghc-parsec" ,ghc-parsec)
698 ("ghc-old-locale" ,ghc-old-locale)
699 ("ghc-old-time" ,ghc-old-time)
700 ("ghc-exceptions" ,ghc-exceptions)
701 ("ghc-multipart" ,ghc-multipart)
702 ("ghc-network-uri" ,ghc-network-uri)
703 ("ghc-network" ,ghc-network)
704 ("ghc-mtl" ,ghc-mtl)))
706 "https://github.com/cheecheeo/haskell-cgi")
707 (synopsis "Library for writing CGI programs")
709 "This is a Haskell library for writing CGI programs.")
710 (license license:bsd-3)))
712 (define-public ghc-cmdargs
720 "http://hackage.haskell.org/package/cmdargs/cmdargs-"
725 "0vmz7f0ssrqlp6wzmc0mjqj4qczfgk58g0lr0yz7jamamlgpq4b6"))))
726 (build-system haskell-build-system)
728 "http://community.haskell.org/~ndm/cmdargs/")
729 (synopsis "Command line argument processing")
731 "This library provides an easy way to define command line parsers.")
732 (license license:bsd-3)))
734 (define-public ghc-happy
742 "http://hackage.haskell.org/package/happy/happy-"
747 "1nj353q4z1g186fpjzf0dnsg71qhxqpamx8jy89rjjvv3p0kmw32"))))
748 (build-system haskell-build-system)
749 (arguments `(#:tests? #f)) ;; cannot satisfy -package mtl. Possible Cabal
752 `(("ghc-mtl" ,ghc-mtl)))
753 (home-page "https://hackage.haskell.org/package/happy")
754 (synopsis "Parser generator for Haskell")
755 (description "Happy is a parser generator for Haskell. Given a grammar
756 specification in BNF, Happy generates Haskell code to parse the grammar.
757 Happy works in a similar way to the yacc tool for C.")
758 (license license:bsd-3)))
760 (define-public ghc-haskell-src-exts
762 (name "ghc-haskell-src-exts")
768 "http://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
773 "1h8gjw5g92rvvzadqzpscg73x7ajvs1wlphrh27afim3scdd8frz"))))
774 (build-system haskell-build-system)
778 ("ghc-happy" ,ghc-happy)
779 ("ghc-syb" ,ghc-syb)))
781 `(("ghc-smallcheck" ,ghc-smallcheck)
782 ("ghc-tasty" ,ghc-tasty)
783 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
784 ("ghc-tasty-golden" ,ghc-tasty-golden)))
785 (home-page "https://github.com/haskell-suite/haskell-src-exts")
786 (synopsis "Library for manipulating Haskell source")
787 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
788 extension of the standard @code{haskell-src} package, and handles most
789 registered syntactic extensions to Haskell. All extensions implemented in GHC
790 are supported. Apart from these standard extensions, it also handles regular
791 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
792 (license license:bsd-3)))
802 "http://hackage.haskell.org/package/" name
803 "/" name "-" version ".tar.gz"))
806 "14v3rdjjlml9nimdk7d5dvir2bw78ai49yylvms9lnzmw29s3546"))))
807 (build-system haskell-build-system)
810 ("ghc-cmdargs" ,ghc-cmdargs)
811 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
812 ("ghc-uniplate" ,ghc-uniplate)
813 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
814 ("ghc-extra" ,ghc-extra)
815 ("hscolour" ,hscolour)))
816 (home-page "http://community.haskell.org/~ndm/hlint/")
817 (synopsis "Suggest improvements for Haskell source code")
818 (description "HLint reads Haskell programs and suggests changes that
819 hopefully make them easier to read. HLint also makes it easy to disable
820 unwanted suggestions, and to add your own custom suggestions.")
821 (license license:bsd-3)))
823 (define-public ghc-resourcet
825 (name "ghc-resourcet")
831 "http://hackage.haskell.org/package/resourcet/resourcet-"
836 "0zhsaaa4n8ry76vjih519a8npm2hrzk10d5asrgllcwpzmifl41y"))))
837 (build-system haskell-build-system)
839 `(("ghc-transformers-base" ,ghc-transformers-base)
840 ("ghc-monad-control" ,ghc-monad-control)
841 ("ghc-transformers-compat" ,ghc-transformers-compat)
843 ("ghc-mmorph" ,ghc-mmorph)
844 ("ghc-exceptions" ,ghc-exceptions)))
846 `(("ghc-lifted-base" ,ghc-lifted-base)
847 ("ghc-hspec" ,ghc-hspec)))
848 (home-page "http://github.com/snoyberg/conduit")
849 (synopsis "Deterministic allocation and freeing of scarce resources")
850 (description "ResourceT is a monad transformer which creates a region of
851 code where you can safely allocate resources.")
852 (license license:bsd-3)))
854 (define-public ghc-xss-sanitize
856 (name "ghc-xss-sanitize")
862 "http://hackage.haskell.org/package/xss-sanitize/xss-sanitize-"
867 "1j2qrn2dbfx01m7zyk9ilgnp9zjwq9mk62b0rdal4zkg4vh212h0"))))
868 (build-system haskell-build-system)
870 `(("ghc-tagsoup" ,ghc-tagsoup)
871 ("ghc-utf8-string" ,ghc-utf8-string)
872 ("ghc-css-text" ,ghc-css-text)
873 ("ghc-network-uri" ,ghc-network-uri)))
875 `(("ghc-text" ,ghc-text)
876 ("ghc-attoparsec" ,ghc-attoparsec)
877 ("ghc-hspec" ,ghc-hspec)
878 ("ghc-hunit" ,ghc-hunit)))
879 (home-page "http://github.com/yesodweb/haskell-xss-sanitize")
880 (synopsis "Sanitize untrusted HTML to prevent XSS attacks")
881 (description "This library provides @code{sanitizeXSS}. Run untrusted
882 HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to prevent XSS
884 (license license:bsd-3)))
886 (define-public ghc-objectname
888 (name "ghc-objectname")
894 "http://hackage.haskell.org/package/ObjectName/ObjectName-"
899 "0kh5fb9ykag6rfsm3f0bx3w323s18w2cyry34w5xgli5ncqimadg"))))
900 (build-system haskell-build-system)
901 (home-page "https://hackage.haskell.org/package/ObjectName")
902 (synopsis "Helper library for Haskell OpenGL")
903 (description "This tiny package contains the class ObjectName, which
904 corresponds to the general notion of explicitly handled identifiers for API
905 objects, e.g. a texture object name in OpenGL or a buffer object name in
907 (license license:bsd-3)))
909 (define-public ghc-sdl
917 "http://hackage.haskell.org/package/SDL/SDL-"
922 "1sa3zx3vrs1gbinxx33zwq0x2bsf3i964bff7419p7vzidn36k46"))))
923 (build-system haskell-build-system)
926 (home-page "https://hackage.haskell.org/package/SDL")
927 (synopsis "LibSDL for Haskell")
928 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
929 multimedia library designed to provide low level access to audio, keyboard,
930 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
931 by MPEG playback software, emulators, and many popular games, including the
932 award winning Linux port of \"Civilization: Call To Power.\"")
933 (license license:bsd-3)))
935 (define-public ghc-sdl-mixer
937 (name "ghc-sdl-mixer")
943 "http://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
948 "0md3238hx79mxb9a7l43kg3b3d28x4mqvj0hjsbsh15ajnvy9x2z"))))
949 (build-system haskell-build-system)
952 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
953 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
954 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
956 `(("ghc-sdl" ,ghc-sdl)))
958 `(("sdl-mixer" ,sdl-mixer)))
959 (home-page "http://hackage.haskell.org/package/SDL-mixer")
960 (synopsis "Haskell bindings to libSDL_mixer")
961 (description "SDL_mixer is a sample multi-channel audio mixer library. It
962 supports any number of simultaneously playing channels of 16 bit stereo audio,
963 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
964 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
965 (license license:bsd-3)))
967 (define-public ghc-sdl-image
969 (name "ghc-sdl-image")
975 "http://hackage.haskell.org/package/SDL-image/SDL-image-"
980 "1m02q2426qp8m8pzz2jkk4srk2vb3j3ickiaga5jx9rkkhz732zq"))))
981 (build-system haskell-build-system)
984 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
985 (sdl-image-include (string-append sdl-image "/include/SDL")))
986 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
988 `(("ghc-sdl" ,ghc-sdl)))
990 `(("sdl-image" ,sdl-image)))
991 (home-page "http://hackage.haskell.org/package/SDL-image")
992 (synopsis "Haskell bindings to libSDL_image")
993 (description "SDL_image is an image file loading library. It loads images
994 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
995 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
996 (license license:bsd-3)))
998 (define-public ghc-half
1006 "http://hackage.haskell.org/package/half/half-"
1011 "0zhwc6ps5w4ccnxl8sy623z4rjsafmnry69jpkw4hrbq11l402f1"))))
1012 (build-system haskell-build-system)
1013 (home-page "http://github.com/ekmett/half")
1014 (synopsis "Half-precision floating-point computations")
1015 (description "This library provides a half-precision floating-point
1016 computation library for Haskell.")
1017 (license license:bsd-3)))
1019 (define-public ghc-openglraw
1021 (name "ghc-openglraw")
1027 "http://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
1032 "1kfq24mxg922ml3kkmym2qfpc56jbmrfbiix4rc2cxlwv05i191k"))))
1033 (build-system haskell-build-system)
1035 `(("ghc-half" ,ghc-half)
1037 ("ghc-text" ,ghc-text)))
1038 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1039 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
1040 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
1041 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
1042 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
1043 offers access to all necessary functions, tokens and types plus a general
1044 facility for loading extension entries. The module hierarchy closely mirrors
1045 the naming structure of the OpenGL extensions, making it easy to find the
1046 right module to import. All API entries are loaded dynamically, so no special
1047 C header files are needed for building this package. If an API entry is not
1048 found at runtime, a userError is thrown.")
1049 (license license:bsd-3)))
1051 (define-public ghc-glut
1059 "http://hackage.haskell.org/package/GLUT/GLUT-"
1064 "1qfilpc10jm47anan44c20y8mh76f2dv09m5d22gk0f7am7hg4k2"))))
1065 (build-system haskell-build-system)
1067 `(("ghc-statevar" ,ghc-statevar)
1068 ("ghc-openglraw" ,ghc-openglraw)
1069 ("freeglut" ,freeglut)))
1071 `(("ghc-opengl" ,ghc-opengl)))
1072 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1073 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
1074 (description "This library provides Haskell bindings for the OpenGL
1075 Utility Toolkit, a window system-independent toolkit for writing OpenGL
1077 (license license:bsd-3)))
1079 (define-public ghc-gluraw
1087 "http://hackage.haskell.org/package/GLURaw/GLURaw-"
1092 "0gscd9lhp9mb10q8s716nx26m8qng9xbb4h6b3f48zzgkc1sy96x"))))
1093 (build-system haskell-build-system)
1095 `(("ghc-openglraw" ,ghc-openglraw)))
1096 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1097 (synopsis "Raw Haskell bindings GLU")
1098 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
1099 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
1100 basis for a nicer interface.")
1101 (license license:bsd-3)))
1103 (define-public ghc-opengl
1106 (version "2.12.0.1")
1111 "http://hackage.haskell.org/package/OpenGL/OpenGL-"
1116 "1mcfb167jl75qc2hgylh83vf2jqizvyvkvhhb72adi2crc3zqz4b"))))
1117 (build-system haskell-build-system)
1119 `(("ghc-text" ,ghc-text)
1120 ("ghc-objectname" ,ghc-objectname)
1121 ("ghc-gluraw" ,ghc-gluraw)
1122 ("ghc-statevar" ,ghc-statevar)
1123 ("ghc-openglraw" ,ghc-openglraw)))
1124 (home-page "http://www.haskell.org/haskellwiki/Opengl")
1125 (synopsis "Haskell bindings for the OpenGL graphics system")
1126 (description "This package provides Haskell bindings for the OpenGL
1127 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
1129 (license license:bsd-3)))
1131 (define-public ghc-streaming-commons
1133 (name "ghc-streaming-commons")
1134 (version "0.1.14.2")
1139 "http://hackage.haskell.org/package/streaming-commons/streaming-commons-"
1144 "12nw9bwvy6zrabkgvbp371klca3ds6qjlfncg1b8pbwx1y7m8c8h"))))
1145 (build-system haskell-build-system)
1147 `(("ghc-random" ,ghc-random)))
1149 `(("ghc-quickcheck" ,ghc-quickcheck)
1150 ("ghc-async" ,ghc-async)
1151 ("ghc-blaze-builder" ,ghc-blaze-builder)
1152 ("ghc-hspec" ,ghc-hspec)
1153 ("ghc-stm" ,ghc-stm)
1154 ("ghc-text" ,ghc-text)
1155 ("ghc-network" ,ghc-network)
1156 ("ghc-zlib" ,ghc-zlib)))
1157 (home-page "https://hackage.haskell.org/package/streaming-commons")
1158 (synopsis "Conduit and pipes needed by some streaming data libraries")
1159 (description "Provides low-dependency functionality commonly needed by
1160 various Haskell streaming data libraries, such as @code{conduit} and
1162 (license license:bsd-3)))
1164 (define-public cpphs
1172 "http://hackage.haskell.org/package/" name "/"
1173 name "-" version ".tar.gz"))
1176 "1njpmxgpah5pcqppcl1cxb5xicf6xlqrd162qm12khp9hainlm72"))))
1177 (build-system haskell-build-system)
1179 `(("ghc-polyparse" ,ghc-polyparse)
1180 ("ghc-old-locale" ,ghc-old-locale)
1181 ("ghc-old-time" ,ghc-old-time)))
1182 (home-page "http://projects.haskell.org/cpphs/")
1183 (synopsis "Liberalised re-implementation of cpp, the C pre-processor")
1184 (description "Cpphs is a re-implementation of the C pre-processor that is
1185 both more compatible with Haskell, and itself written in Haskell so that it
1186 can be distributed with compilers. This version of the C pre-processor is
1187 pretty-much feature-complete and compatible with traditional (K&R)
1188 pre-processors. Additional features include: a plain-text mode; an option to
1189 unlit literate code files; and an option to turn off macro-expansion.")
1190 (license (list license:lgpl2.1+ license:gpl3+))))
1192 (define-public ghc-reflection
1194 (name "ghc-reflection")
1200 "http://hackage.haskell.org/package/reflection/reflection-"
1205 "10w3m6v3g6am203wbrikdbp57x9vw6b4jsh7bxdzsss4nmpm81zg"))))
1206 (build-system haskell-build-system)
1207 (inputs `(("ghc-tagged" ,ghc-tagged)))
1208 (home-page "http://github.com/ekmett/reflection")
1209 (synopsis "Reify arbitrary terms into types that can be reflected back
1211 (description "This package addresses the 'configuration problem' which is
1212 propogating configurations that are available at run-time, allowing multiple
1213 configurations to coexist without resorting to mutable global variables or
1214 @code{System.IO.Unsafe.unsafePerformIO}.")
1215 (license license:bsd-3)))
1217 (define-public ghc-old-locale
1219 (name "ghc-old-locale")
1225 "http://hackage.haskell.org/package/old-locale/old-locale-"
1229 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
1230 (build-system haskell-build-system)
1231 (home-page "http://hackage.haskell.org/package/old-locale")
1232 (synopsis "Adapt to locale conventions")
1234 "This package provides the ability to adapt to locale conventions such as
1235 date and time formats.")
1236 (license license:bsd-3)))
1238 (define-public ghc-old-time
1240 (name "ghc-old-time")
1246 "http://hackage.haskell.org/package/old-time/old-time-"
1251 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
1252 (build-system haskell-build-system)
1254 `(("ghc-old-locale" ,ghc-old-locale)))
1255 (home-page "http://hackage.haskell.org/package/old-time")
1256 (synopsis "Time compatibility library for Haskell")
1257 (description "Old-time is a package for backwards compatibility with the
1258 old @code{time} library. For new projects, the newer
1259 @uref{http://hackage.haskell.org/package/time, time library} is recommended.")
1260 (license license:bsd-3)))
1262 (define-public ghc-data-default-instances-old-locale
1264 (name "ghc-data-default-instances-old-locale")
1270 "http://hackage.haskell.org/package/"
1271 "data-default-instances-old-locale/"
1272 "data-default-instances-old-locale-" version ".tar.gz"))
1274 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
1275 (build-system haskell-build-system)
1277 `(("ghc-data-default-class" ,ghc-data-default-class)
1278 ("ghc-old-locale" ,ghc-old-locale)))
1280 "http://hackage.haskell.org/package/data-default-instances-old-locale")
1281 (synopsis "Default instances for types in old-locale")
1282 (description "Provides Default instances for types from the old-locale
1284 (license license:bsd-3)))
1286 (define-public ghc-dlist
1294 "http://hackage.haskell.org/package/dlist/dlist-"
1298 (base32 "10rp96rryij7d8gz5kv8ygc6chm1624ck5mbnqs2a3fkdzqj2b9k"))))
1299 (build-system haskell-build-system)
1301 `(("ghc-quickcheck" ,ghc-quickcheck)))
1302 (home-page "https://github.com/spl/dlist")
1303 (synopsis "Difference lists")
1305 "Difference lists are a list-like type supporting O(1) append. This is
1306 particularly useful for efficient logging and pretty printing (e.g. with the
1307 Writer monad), where list append quickly becomes too expensive.")
1308 (license license:bsd-3)))
1310 (define-public ghc-extensible-exceptions
1312 (name "ghc-extensible-exceptions")
1317 (uri (string-append "http://hackage.haskell.org/package/"
1318 "extensible-exceptions/extensible-exceptions-"
1321 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
1322 (build-system haskell-build-system)
1323 (home-page "http://hackage.haskell.org/package/extensible-exceptions")
1324 (synopsis "Extensible exceptions for Haskell")
1326 "This package provides extensible exceptions for both new and old
1327 versions of GHC (i.e., < 6.10).")
1328 (license license:bsd-3)))
1330 (define-public cabal-install
1332 (name "cabal-install")
1333 (version "1.22.6.0")
1338 "http://hackage.haskell.org/package/cabal-install/cabal-install-"
1342 (base32 "1d5h7h2wjwc2s3dvsvzjgmmfrfl2312ym2h6kyjgm9wnaqw9w8wx"))))
1343 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
1344 (build-system haskell-build-system)
1346 `(("ghc-http" ,ghc-http)
1347 ("ghc-mtl" ,ghc-mtl)
1348 ("ghc-network-uri" ,ghc-network-uri)
1349 ("ghc-network" ,ghc-network)
1350 ("ghc-random" ,ghc-random)
1351 ("ghc-stm" ,ghc-stm)
1352 ("ghc-zlib" ,ghc-zlib)))
1353 (home-page "http://www.haskell.org/cabal/")
1354 (synopsis "Command-line interface for Cabal and Hackage")
1356 "The cabal command-line program simplifies the process of managing
1357 Haskell software by automating the fetching, configuration, compilation and
1358 installation of Haskell libraries and programs.")
1359 (license license:bsd-3)))
1361 (define-public ghc-mtl
1365 (outputs '("out" "doc"))
1370 "http://hackage.haskell.org/package/mtl/mtl-"
1375 "1icdbj2rshzn0m1zz5wa7v3xvkf6qw811p4s7jgqwvx1ydwrvrfa"))))
1376 (build-system haskell-build-system)
1377 (home-page "http://github.com/ekmett/mtl")
1379 "Monad classes, using functional dependencies")
1380 (description "Monad classes using functional dependencies, with instances
1381 for various monad transformers, inspired by the paper 'Functional Programming
1382 with Overloading and Higher-Order Polymorphism', by Mark P Jones, in 'Advanced
1383 School of Functional Programming', 1995. See
1384 @uref{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html, the paper}.")
1385 (license license:bsd-3)))
1387 (define-public ghc-paths
1391 (outputs '("out" "doc"))
1396 "http://hackage.haskell.org/package/ghc-paths/ghc-paths-"
1401 "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg"))))
1402 (build-system haskell-build-system)
1403 (home-page "https://github.com/simonmar/ghc-paths")
1405 "Knowledge of GHC's installation directories")
1407 "Knowledge of GHC's installation directories.")
1408 (license license:bsd-3)))
1410 (define-public ghc-utf8-string
1412 (name "ghc-utf8-string")
1418 "http://hackage.haskell.org/package/utf8-string/utf8-string-"
1422 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
1423 (build-system haskell-build-system)
1424 (home-page "http://github.com/glguy/utf8-string/")
1425 (synopsis "Support for reading and writing UTF8 Strings")
1427 "A UTF8 layer for Strings. The utf8-string package provides operations
1428 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
1429 UTF8 without truncation.")
1430 (license license:bsd-3)))
1432 (define-public ghc-setenv
1440 "http://hackage.haskell.org/package/setenv/setenv-"
1445 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
1446 (build-system haskell-build-system)
1447 (home-page "http://hackage.haskell.org/package/setenv")
1448 (synopsis "Library for setting environment variables")
1449 (description "This package provides a Haskell library for setting
1450 environment variables.")
1451 (license license:expat)))
1453 (define-public ghc-x11
1460 (uri (string-append "http://hackage.haskell.org/package/X11/"
1461 "X11-" version ".tar.gz"))
1463 (base32 "1kzjcynm3rr83ihqx2y2d852jc49da4p18gv6jzm7g87z22x85jj"))))
1464 (build-system haskell-build-system)
1466 `(("libx11" ,libx11)
1467 ("libxrandr" ,libxrandr)
1468 ("libxinerama" ,libxinerama)
1469 ("libxscrnsaver" ,libxscrnsaver)))
1471 `(("ghc-data-default" ,ghc-data-default)))
1472 (home-page "https://github.com/haskell-pkg-janitors/X11")
1473 (synopsis "Bindings to the X11 graphics library")
1475 "This package provides Haskell bindings to the X11 graphics library. The
1476 bindings are a direct translation of the C bindings.")
1477 (license license:bsd-3)))
1479 (define-public ghc-x11-xft
1481 (name "ghc-x11-xft")
1486 (uri (string-append "http://hackage.haskell.org/package/X11-xft/"
1487 "X11-xft-" version ".tar.gz"))
1489 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
1491 `(("ghc-x11" ,ghc-x11)
1492 ("ghc-utf8-string" ,ghc-utf8-string)))
1494 `(("libx11" ,libx11)
1496 ("xproto" ,xproto)))
1498 `(("pkg-config" ,pkg-config)))
1499 (build-system haskell-build-system)
1500 (home-page "http://hackage.haskell.org/package/X11-xft")
1501 (synopsis "Bindings to Xft")
1503 "Bindings to the Xft, X Free Type interface library, and some Xrender
1505 (license license:lgpl2.1)))
1507 (define-public ghc-stringbuilder
1509 (name "ghc-stringbuilder")
1515 "http://hackage.haskell.org/package/stringbuilder/stringbuilder-"
1520 "1ap95xphqnrhv64c2a137wqslkdmb2jjd9ldb17gs1pw48k8hrl9"))))
1521 (build-system haskell-build-system)
1522 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
1524 (home-page "http://hackage.haskell.org/package/stringbuilder")
1525 (synopsis "Writer monad for multi-line string literals")
1526 (description "This package provides a writer monad for multi-line string
1528 (license license:expat)))
1530 (define-public ghc-zlib
1534 (outputs '("out" "doc"))
1539 "http://hackage.haskell.org/package/zlib/zlib-"
1544 "15hhsk7z3gvm7sz2ic2z1ca5c6rpsln2rr391mdbm1bxlzc1gmkm"))))
1545 (build-system haskell-build-system)
1546 (inputs `(("zlib" ,zlib)))
1547 (home-page "http://hackage.haskell.org/package/zlib")
1549 "Compression and decompression in the gzip and zlib formats")
1551 "This package provides a pure interface for compressing and decompressing
1552 streams of data represented as lazy 'ByteString's. It uses the zlib C library
1553 so it has high performance. It supports the 'zlib', 'gzip' and 'raw'
1554 compression formats. It provides a convenient high level API suitable for
1555 most tasks and for the few cases where more control is needed it provides
1556 access to the full zlib feature set.")
1557 (license license:bsd-3)))
1559 (define-public ghc-stm
1563 (outputs '("out" "doc"))
1568 "http://hackage.haskell.org/package/stm/stm-"
1573 "0gc8zvdijp3rwmidkpxv76b4i0dc8dw6nbd92rxl4vxl0655iysx"))))
1574 (build-system haskell-build-system)
1575 (home-page "http://hackage.haskell.org/package/stm")
1576 (synopsis "Software Transactional Memory")
1578 "A modular composable concurrency abstraction.")
1579 (license license:bsd-3)))
1581 (define-public ghc-parallel
1583 (name "ghc-parallel")
1585 (outputs '("out" "doc"))
1590 "http://hackage.haskell.org/package/parallel/parallel-"
1595 "0hp6vf4zxsw6vz6lj505xihmnfhgjp39c9q7nyzlgcmps3xx6a5r"))))
1596 (build-system haskell-build-system)
1597 (home-page "http://hackage.haskell.org/package/parallel")
1598 (synopsis "Parallel programming library")
1600 "This package provides a library for parallel programming.")
1601 (license license:bsd-3)))
1603 (define-public ghc-text
1607 (outputs '("out" "doc"))
1612 "http://hackage.haskell.org/package/text/text-"
1617 "0gzqx5cpkdhshbz9xss51mpyq23pnf8dwjz4h3irbv2ryaa4qdlq"))))
1618 (build-system haskell-build-system)
1620 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1621 (home-page "https://github.com/bos/text")
1622 (synopsis "Efficient packed Unicode text type library")
1624 "An efficient packed, immutable Unicode text type (both strict and
1625 lazy), with a powerful loop fusion optimization framework.
1627 The 'Text' type represents Unicode character strings, in a time and
1628 space-efficient manner. This package provides text processing
1629 capabilities that are optimized for performance critical use, both
1630 in terms of large data quantities and high speed.")
1631 (license license:bsd-3)))
1633 (define-public ghc-hashable
1635 (name "ghc-hashable")
1637 (outputs '("out" "doc"))
1642 "http://hackage.haskell.org/package/hashable/hashable-"
1647 "0kp4aj0x1iicz9qirpqxxqd8x5g1njbapxk1d90n406w3xykz4pw"))))
1648 (build-system haskell-build-system)
1650 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1651 ;; these inputs are necessary to use this library
1653 `(("ghc-text" ,ghc-text)))
1654 (home-page "http://github.com/tibbe/hashable")
1656 "Class for types that can be converted to a hash value")
1658 "This package defines a class, 'Hashable', for types that can be
1659 converted to a hash value. This class exists for the benefit of hashing-based
1660 data structures. The package provides instances for basic types and a way to
1661 combine hash values.")
1662 (license license:bsd-3)))
1664 (define-public ghc-hunit
1668 (outputs '("out" "doc"))
1673 "http://hackage.haskell.org/package/HUnit/HUnit-"
1678 "0hcs6qh8bqhip1kkjjnw7ccgcsmawdz5yvffjj5y8zd2vcsavx8a"))))
1679 (build-system haskell-build-system)
1680 (home-page "http://hunit.sourceforge.net/")
1681 (synopsis "Unit testing framework for Haskell")
1683 "HUnit is a unit testing framework for Haskell, inspired by the
1684 JUnit tool for Java.")
1685 (license license:bsd-3)))
1687 (define-public ghc-random
1691 (outputs '("out" "doc"))
1696 "http://hackage.haskell.org/package/random/random-"
1700 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
1701 (build-system haskell-build-system)
1702 (home-page "http://hackage.haskell.org/package/random")
1703 (synopsis "Random number library")
1704 (description "This package provides a basic random number generation
1705 library, including the ability to split random number generators.")
1706 (license license:bsd-3)))
1708 (define-public ghc-primitive
1710 (name "ghc-primitive")
1712 (outputs '("out" "doc"))
1717 "http://hackage.haskell.org/package/primitive/primitive-"
1722 "1j1q7l21rdm8kfs93vibr3xwkkhqis181w2k6klfhx5g5skiywwk"))))
1723 (build-system haskell-build-system)
1725 "https://github.com/haskell/primitive")
1726 (synopsis "Primitive memory-related operations")
1728 "This package provides various primitive memory-related operations.")
1729 (license license:bsd-3)))
1731 (define-public ghc-test-framework
1733 (name "ghc-test-framework")
1738 (uri (string-append "http://hackage.haskell.org/package/test-framework/"
1739 "test-framework-" version ".tar.gz"))
1742 "0wxjgdvb1c4ykazw774zlx86550848wbsvgjgcrdzcgbb9m650vq"))))
1743 (build-system haskell-build-system)
1745 `(("ghc-hunit" ,ghc-hunit)
1746 ("ghc-libxml" ,ghc-libxml)
1747 ("ghc-quickcheck" ,ghc-quickcheck)))
1749 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
1750 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
1751 ("ghc-hostname" ,ghc-hostname)
1752 ("ghc-old-locale" ,ghc-old-locale)
1753 ("ghc-random" ,ghc-random)
1754 ("ghc-regex-posix" ,ghc-regex-posix)
1755 ("ghc-xml" ,ghc-xml)))
1756 (home-page "https://batterseapower.github.io/test-framework/")
1757 (synopsis "Framework for running and organising tests")
1759 "This package allows tests such as QuickCheck properties and HUnit test
1760 cases to be assembled into test groups, run in parallel (but reported in
1761 deterministic order, to aid diff interpretation) and filtered and controlled
1762 by command line options. All of this comes with colored test output, progress
1763 reporting and test statistics output.")
1764 (license license:bsd-3)))
1766 (define-public ghc-test-framework-hunit
1768 (name "ghc-test-framework-hunit")
1773 (uri (string-append "http://hackage.haskell.org/package/"
1774 "test-framework-hunit/test-framework-hunit-"
1778 "1h0h55kf6ff25nbfx1mhliwyknc0glwv3zi78wpzllbjbs7gvyfk"))))
1779 (build-system haskell-build-system)
1781 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
1782 ("ghc-hunit" ,ghc-hunit)
1783 ("ghc-test-framework" ,ghc-test-framework)))
1784 (home-page "https://batterseapower.github.io/test-framework/")
1785 (synopsis "HUnit support for test-framework")
1787 "This package provides HUnit support for the test-framework package.")
1788 (license license:bsd-3)))
1790 (define-public ghc-test-framework-quickcheck2
1792 (name "ghc-test-framework-quickcheck2")
1797 (uri (string-append "http://hackage.haskell.org/package/"
1798 "test-framework-quickcheck2/"
1799 "test-framework-quickcheck2-" version ".tar.gz"))
1802 "12p1zwrsz35r3j5gzbvixz9z1h5643rhihf5gqznmc991krwd5nc"))
1803 (modules '((guix build utils)))
1805 ;; The Hackage page and the cabal file linked there for this package
1806 ;; both list 2.9 as the upper version limit, but the source tarball
1807 ;; specifies 2.8. Assume the Hackage page is correct.
1808 '(substitute* "test-framework-quickcheck2.cabal"
1809 (("QuickCheck >= 2.4 && < 2.8") "QuickCheck >= 2.4 && < 2.9")))))
1810 (build-system haskell-build-system)
1812 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
1813 ("ghc-quickcheck" ,ghc-quickcheck)
1814 ("ghc-random" ,ghc-random)
1815 ("ghc-test-framework" ,ghc-test-framework)))
1816 (home-page "https://batterseapower.github.io/test-framework/")
1817 (synopsis "QuickCheck2 support for test-framework")
1819 "This packages provides QuickCheck2 support for the test-framework
1821 (license license:bsd-3)))
1823 (define-public ghc-tf-random
1825 (name "ghc-tf-random")
1827 (outputs '("out" "doc"))
1832 "http://hackage.haskell.org/package/tf-random/tf-random-"
1836 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
1837 (build-system haskell-build-system)
1838 ;; these inputs are necessary to use this package
1840 `(("ghc-primitive" ,ghc-primitive)
1841 ("ghc-random" ,ghc-random)))
1842 (home-page "http://hackage.haskell.org/package/tf-random")
1843 (synopsis "High-quality splittable pseudorandom number generator")
1844 (description "This package contains an implementation of a high-quality
1845 splittable pseudorandom number generator. The generator is based on a
1846 cryptographic hash function built on top of the ThreeFish block cipher. See
1847 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
1848 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
1849 (license license:bsd-3)))
1851 (define-public ghc-transformers-base
1853 (name "ghc-transformers-base")
1859 "http://hackage.haskell.org/package/transformers-base/transformers-base-"
1864 "11r3slgpgpra6zi2kjg3g60gvv17b1fh6qxipcpk8n86qx7lk8va"))))
1865 (build-system haskell-build-system)
1867 `(("ghc-stm" ,ghc-stm)))
1869 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
1871 "http://hackage.haskell.org/package/transformers-compat")
1873 "Backported transformer library")
1875 "Backported versions of types that were added to transformers in
1876 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
1877 compatibility to run on old versions of the platform.")
1878 (license license:bsd-3)))
1880 (define-public ghc-transformers-compat
1882 (name "ghc-transformers-compat")
1888 "http://hackage.haskell.org/package/transformers-compat"
1889 "/transformers-compat-" version ".tar.gz"))
1892 "0lmg8ry6bgigb0v2lg0n74lxi8z5m85qq0qi4h1k9llyjb4in8ym"))))
1893 (build-system haskell-build-system)
1894 (home-page "http://github.com/ekmett/transformers-compat/")
1895 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
1896 (description "This package includes backported versions of types that were
1897 added to transformers in transformers 0.3 and 0.4 for users who need strict
1898 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
1899 but also need those types.")
1900 (license license:bsd-3)))
1902 (define-public ghc-unix-time
1904 (name "ghc-unix-time")
1910 "http://hackage.haskell.org/package/unix-time/unix-time-"
1915 "0dyvyxwaffb94bgri1wc4b9wqaasy32pyjn0lww3dqblxv8fn5ax"))))
1916 (build-system haskell-build-system)
1918 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
1919 ; is weird, that should be provided by GHC 7.10.2.
1921 `(("ghc-old-time" ,ghc-old-time)
1922 ("ghc-old-locale" ,ghc-old-locale)))
1923 (home-page "http://hackage.haskell.org/package/unix-time")
1924 (synopsis "Unix time parser/formatter and utilities")
1925 (description "This library provides fast parsing and formatting utilities
1926 for Unix time in Haskell.")
1927 (license license:bsd-3)))
1929 (define-public ghc-unix-compat
1931 (name "ghc-unix-compat")
1937 "http://hackage.haskell.org/package/unix-compat/unix-compat-"
1942 "0jxk7j5pz2kgfpqr4hznndjg31pqj5xg2qfc5308fcn9xyg1myps"))))
1943 (build-system haskell-build-system)
1945 "http://github.com/jystic/unix-compat")
1946 (synopsis "Portable POSIX-compatibility layer")
1948 "This package provides portable implementations of parts of the unix
1949 package. This package re-exports the unix package when available. When it
1950 isn't available, portable implementations are used.")
1951 (license license:bsd-3)))
1953 (define-public ghc-http-types
1955 (name "ghc-http-types")
1961 "http://hackage.haskell.org/package/http-types/http-types-"
1966 "0ny15jgm5skhs2yx6snr13lrnw19hwjgfygrpsmhib8wqa8cz8cc"))))
1967 (build-system haskell-build-system)
1968 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find
1969 ; Blaze.Bytestring.Builder, which should be
1970 ; provided by ghc-blaze-builder.
1972 `(("ghc-case-insensitive" ,ghc-case-insensitive)
1973 ("ghc-blaze-builder" ,ghc-blaze-builder)))
1975 `(("ghc-text" ,ghc-text)))
1976 (home-page "https://github.com/aristidb/http-types")
1977 (synopsis "Generic HTTP types for Haskell")
1978 (description "This package provides generic HTTP types for Haskell (for
1979 both client and server code).")
1980 (license license:bsd-3)))
1982 (define-public ghc-iproute
1984 (name "ghc-iproute")
1990 "http://hackage.haskell.org/package/iproute/iproute-"
1995 "1ply0i110c2sppjbfyysgw48jfjnsbam5zwil8xws0hp20rh1pb5"))))
1996 (build-system haskell-build-system)
1997 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
1998 ; exported by ghc-byteorder. Doctest issue.
2000 `(("ghc-appar" ,ghc-appar)
2001 ("ghc-byteorder" ,ghc-byteorder)))
2003 `(("ghc-network" ,ghc-network)
2004 ("ghc-safe" ,ghc-safe)))
2005 (home-page "http://www.mew.org/~kazu/proj/iproute/")
2006 (synopsis "IP routing table")
2007 (description "IP Routing Table is a tree of IP ranges to search one of
2008 them on the longest match base. It is a kind of TRIE with one way branching
2009 removed. Both IPv4 and IPv6 are supported.")
2010 (license license:bsd-3)))
2012 (define-public ghc-regex-base
2014 (name "ghc-regex-base")
2020 "http://hackage.haskell.org/package/regex-base/regex-base-"
2025 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
2026 (build-system haskell-build-system)
2028 `(("ghc-mtl" ,ghc-mtl)))
2030 "http://sourceforge.net/projects/lazy-regex")
2031 (synopsis "Replaces/Enhances Text.Regex")
2032 (description "@code{Text.Regex.Base} provides the interface API for
2033 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
2034 (license license:bsd-3)))
2036 (define-public ghc-regex-posix
2038 (name "ghc-regex-posix")
2044 "http://hackage.haskell.org/package/regex-posix/regex-posix-"
2049 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
2050 (build-system haskell-build-system)
2052 `(("ghc-regex-base" ,ghc-regex-base)))
2053 (home-page "http://sourceforge.net/projects/lazy-regex")
2054 (synopsis "POSIX regular expressions for Haskell")
2055 (description "This library provides the POSIX regex backend used by the
2056 Haskell library @code{regex-base}.")
2057 (license license:bsd-3)))
2059 (define-public ghc-regex-compat
2061 (name "ghc-regex-compat")
2067 "http://hackage.haskell.org/package/regex-compat/regex-compat-"
2072 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
2073 (build-system haskell-build-system)
2075 `(("ghc-regex-base" ,ghc-regex-base)
2076 ("ghc-regex-posix" ,ghc-regex-posix)))
2077 (home-page "http://sourceforge.net/projects/lazy-regex")
2078 (synopsis "Replaces/Enhances Text.Regex")
2079 (description "This library provides one module layer over
2080 @code{regex-posix} to replace @code{Text.Regex}.")
2081 (license license:bsd-3)))
2083 (define-public ghc-regex-tdfa-rc
2085 (name "ghc-regex-tdfa-rc")
2091 "http://hackage.haskell.org/package/regex-tdfa-rc/regex-tdfa-rc-"
2096 "1vi11i23gkkjg6193ak90g55akj69bhahy542frkwb68haky4pp3"))))
2097 (build-system haskell-build-system)
2099 `(("ghc-regex-base" ,ghc-regex-base)
2100 ("ghc-parsec" ,ghc-parsec)))
2102 `(("ghc-mtl" ,ghc-mtl)))
2104 "http://hackage.haskell.org/package/regex-tdfa")
2105 (synopsis "Tagged DFA regex engine for Haskell")
2106 (description "A new all-Haskell \"tagged\" DFA regex engine, inspired by
2107 @code{libtre} (fork by Roman Cheplyaka).")
2108 (license license:bsd-3)))
2110 (define-public ghc-parsers
2112 (name "ghc-parsers")
2118 "http://hackage.haskell.org/package/parsers/parsers-"
2123 "18wzmp8y3py4qa8hdsxqm0jfzmwy744dw7xa48r5s8ynhpimi462"))))
2124 (build-system haskell-build-system)
2125 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2126 ; -package attoparsec-0.13.0.1"
2128 `(("ghc-base-orphans" ,ghc-base-orphans)
2129 ("ghc-attoparsec" ,ghc-attoparsec)
2130 ("ghc-parsec" ,ghc-parsec)
2131 ("ghc-scientific" ,ghc-scientific)
2132 ("ghc-charset" ,ghc-charset)))
2134 `(("ghc-text" ,ghc-text)
2135 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2136 (home-page "http://github.com/ekmett/parsers/")
2137 (synopsis "Parsing combinators")
2138 (description "This library provides convenient combinators for working
2139 with and building parsing combinator libraries. Given a few simple instances,
2140 you get access to a large number of canned definitions. Instances exist for
2141 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
2143 (license license:bsd-3)))
2145 (define-public ghc-trifecta
2147 (name "ghc-trifecta")
2153 "http://hackage.haskell.org/package/trifecta/trifecta-"
2158 "0fjhnsbafl3yw34pyhcsvrqy6a2mnhyqys6gna3rrlygs8ck7hpb"))))
2159 (build-system haskell-build-system)
2160 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2161 ; -package ansi-terminal-0.6.2.3"
2163 `(("ghc-charset" ,ghc-charset)
2164 ("ghc-comonad" ,ghc-comonad)
2165 ("ghc-lens" ,ghc-lens)
2166 ("ghc-profunctors" ,ghc-profunctors)
2167 ("ghc-reducers" ,ghc-reducers)
2168 ("ghc-semigroups" ,ghc-semigroups)))
2170 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
2171 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2172 ("ghc-blaze-builder" ,ghc-blaze-builder)
2173 ("ghc-blaze-html" ,ghc-blaze-html)
2174 ("ghc-blaze-markup" ,ghc-blaze-markup)
2175 ("ghc-fingertree" ,ghc-fingertree)
2176 ("ghc-hashable" ,ghc-hashable)
2177 ("ghc-mtl" ,ghc-mtl)
2178 ("ghc-parsers" ,ghc-parsers)
2179 ("ghc-unordered-containers" ,ghc-unordered-containers)
2180 ("ghc-utf8-string" ,ghc-utf8-string)))
2181 (home-page "http://github.com/ekmett/trifecta/")
2182 (synopsis "Parser combinator library with convenient diagnostics")
2183 (description "Trifecta is a modern parser combinator library for Haskell,
2184 with slicing and Clang-style colored diagnostics.")
2185 (license license:bsd-3)))
2187 (define-public ghc-attoparsec
2189 (name "ghc-attoparsec")
2190 (version "0.13.0.1")
2195 "http://hackage.haskell.org/package/attoparsec/attoparsec-"
2200 "0cprkr7bl4lrr80pz8mryb4rbfwdgpsrl7g0fbcaybhl8p5hm26f"))))
2201 (build-system haskell-build-system)
2203 `(("ghc-scientific" ,ghc-scientific)))
2205 `(("ghc-quickcheck" ,ghc-quickcheck)
2206 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
2207 ("ghc-test-framework" ,ghc-test-framework)
2208 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
2209 ("ghc-text" ,ghc-text)
2210 ("ghc-vector" ,ghc-vector)))
2211 (home-page "https://github.com/bos/attoparsec")
2212 (synopsis "Fast combinator parsing for bytestrings and text")
2213 (description "This library provides a fast parser combinator library,
2214 aimed particularly at dealing efficiently with network protocols and
2215 complicated text/binary file formats.")
2216 (license license:bsd-3)))
2218 (define-public ghc-css-text
2220 (name "ghc-css-text")
2226 "http://hackage.haskell.org/package/css-text/css-text-"
2231 "1xi1n2f0g8y43p95lynhcg50wxbq7hqfzbfzm7fy8mn7gvd920nw"))))
2232 (build-system haskell-build-system)
2234 `(("ghc-text" ,ghc-text)
2235 ("ghc-attoparsec" ,ghc-attoparsec)
2236 ("ghc-hspec" ,ghc-hspec)
2237 ("ghc-quickcheck" ,ghc-quickcheck)))
2238 (home-page "http://www.yesodweb.com/")
2239 (synopsis "CSS parser and renderer")
2240 (description "This package provides a CSS parser and renderer for
2242 (license license:bsd-3)))
2244 (define-public ghc-zip-archive
2246 (name "ghc-zip-archive")
2252 "http://hackage.haskell.org/package/zip-archive/zip-archive-"
2257 "169nkxr5zlbymiz1ydlhlqr66vqiycmg85xh559phpkr64w3nqj1"))))
2258 (build-system haskell-build-system)
2260 `(("ghc-old-time" ,ghc-old-time)
2261 ("ghc-digest" ,ghc-digest)))
2263 `(("ghc-hunit" ,ghc-hunit)
2264 ("ghc-mtl" ,ghc-mtl)
2266 ("ghc-text" ,ghc-text)
2267 ("ghc-zlib" ,ghc-zlib)))
2268 (home-page "https://hackage.haskell.org/package/zip-archive")
2269 (synopsis "Zip archive library for Haskell")
2270 (description "The zip-archive library provides functions for creating,
2271 modifying, and extracting files from zip archives in Haskell.")
2272 (license license:bsd-3)))
2274 (define-public ghc-distributive
2276 (name "ghc-distributive")
2282 "http://hackage.haskell.org/package/distributive/distributive-"
2287 "0s2ln9jv7bh4ri2y31178pvjl8x6nik5d0klx7j2b77yjlsgblc2"))))
2288 (build-system haskell-build-system)
2289 (arguments `(#:tests? #f)) ; FIXME: fails with "cannot satisfy -package
2290 ; tagged-0.8.1". Suspected Cabal issue.
2292 `(("ghc-tagged" ,ghc-tagged)
2293 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2294 (home-page "http://github.com/ekmett/distributive/")
2295 (synopsis "Distributive functors for Haskell")
2296 (description "This package provides distributive functors for Haskell.
2297 Dual to @code{Traversable}.")
2298 (license license:bsd-3)))
2300 (define-public ghc-cereal
2308 "http://hackage.haskell.org/package/cereal/cereal-"
2313 "15rhfn9hrjm01ksh9xpz9syxsp9vkvpp6b736iqq38wv2wb7416z"))))
2314 (build-system haskell-build-system)
2315 (home-page "http://hackage.haskell.org/package/cereal")
2316 (synopsis "Binary serialization library")
2317 (description "This package provides a binary serialization library,
2318 similar to @code{binary}, that introduces an @code{isolate} primitive for
2319 parser isolation, and labeled blocks for better error messages.")
2320 (license license:bsd-3)))
2322 (define-public ghc-comonad
2324 (name "ghc-comonad")
2330 "http://hackage.haskell.org/package/comonad/comonad-"
2335 "0arvbaxgkawzdp38hh53akkahjg2aa3kj2b4ns0ni8a5ylg2cqmp"))))
2336 (build-system haskell-build-system)
2338 `(("ghc-distributive" ,ghc-distributive)
2339 ("ghc-transformers-compat" ,ghc-transformers-compat)
2340 ("ghc-contravariant" ,ghc-contravariant)))
2341 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
2342 ; -package contravariant-1.3.3"
2344 `(("ghc-semigroups" ,ghc-semigroups)
2345 ("ghc-tagged" ,ghc-tagged)
2346 ("ghc-contravariant" ,ghc-contravariant)))
2347 (home-page "http://github.com/ekmett/comonad/")
2348 (synopsis "Comonads for Haskell")
2349 (description "This library provides @code{Comonad}s for Haskell.")
2350 (license license:bsd-3)))
2352 (define-public hscolour
2360 "http://hackage.haskell.org/package/hscolour/hscolour-"
2365 "1c4i2zpami8g3w9949nm3f92g7xwh5c94vkx658zz7ihrjp7w5lp"))))
2366 (build-system haskell-build-system)
2367 (home-page "https://hackage.haskell.org/package/hscolour")
2368 (synopsis "Script to colourise Haskell code")
2369 (description "HSColour is a small Haskell script to colourise Haskell
2370 code. It currently has six output formats: ANSI terminal codes (optionally
2371 XTerm-256colour codes), HTML 3.2 with font tags, HTML 4.01 with CSS, HTML 4.01
2372 with CSS and mouseover annotations, XHTML 1.0 with inline CSS styling, LaTeX,
2373 and mIRC chat codes.")
2374 (license license:bsd-3)))
2376 (define-public ghc-polyparse
2378 (name "ghc-polyparse")
2384 "http://hackage.haskell.org/package/polyparse/polyparse-"
2389 "1z417f80b0jm4dgv25fk408p3d9mmcd1dlbya3ry0zdx4md09vrh"))))
2390 (build-system haskell-build-system)
2392 `(("ghc-text" ,ghc-text)))
2394 "http://code.haskell.org/~malcolm/polyparse/")
2396 "Alternative parser combinator libraries")
2398 "This package provides a variety of alternative parser combinator
2399 libraries, including the original HuttonMeijer set. The Poly sets have
2400 features like good error reporting, arbitrary token type, running state, lazy
2401 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
2402 standard Read class, for better deserialisation of Haskell values from
2404 (license license:lgpl2.1)))
2406 (define-public ghc-extra
2414 "http://hackage.haskell.org/package/extra/extra-"
2419 "1h9hxkrqrqscx420yz1lmivbrhi6jc3a5ap61vkxd2mhdgark9hf"))))
2420 (build-system haskell-build-system)
2421 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
2422 (home-page "https://github.com/ndmitchell/extra")
2423 (synopsis "Extra Haskell functions")
2424 (description "This library provides extra functions for the standard
2425 Haskell libraries. Most functions are simple additions, filling out missing
2426 functionality. A few functions are available in later versions of GHC, but
2427 this package makes them available back to GHC 7.2.")
2428 (license license:bsd-3)))
2430 (define-public ghc-profunctors
2432 (name "ghc-profunctors")
2438 "http://hackage.haskell.org/package/profunctors/profunctors-"
2443 "0lw2ipacpnp9yqmi8zsp01pzpn5hwj8af3y0f3079mddrmw48gw7"))))
2444 (build-system haskell-build-system)
2446 `(("ghc-distributive" ,ghc-distributive)))
2448 `(("ghc-comonad" ,ghc-comonad)
2449 ("ghc-tagged" ,ghc-tagged)))
2450 (home-page "http://github.com/ekmett/profunctors/")
2451 (synopsis "Profunctors for Haskell")
2452 (description "This library provides profunctors for Haskell.")
2453 (license license:bsd-3)))
2455 (define-public ghc-reducers
2457 (name "ghc-reducers")
2463 "http://hackage.haskell.org/package/reducers/reducers-"
2468 "0pkddg0s3cn759miq0nfrq7lnp3imk5sx784ihsilsbjh9kvffz4"))))
2469 (build-system haskell-build-system)
2471 `(("ghc-semigroupoids" ,ghc-semigroupoids)))
2473 `(("ghc-fingertree" ,ghc-fingertree)
2474 ("ghc-hashable" ,ghc-hashable)
2475 ("ghc-text" ,ghc-text)
2476 ("ghc-unordered-containers" ,ghc-unordered-containers)
2477 ("ghc-semigroups" ,ghc-semigroups)))
2478 (home-page "http://github.com/ekmett/reducers/")
2479 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
2480 (description "This library provides various semigroups, specialized
2481 containers and a general map/reduce framework for Haskell.")
2482 (license license:bsd-3)))
2484 (define-public ghc-appar
2492 "http://hackage.haskell.org/package/appar/appar-"
2497 "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq"))))
2498 (build-system haskell-build-system)
2500 "http://hackage.haskell.org/package/appar")
2501 (synopsis "Simple applicative parser")
2502 (description "This package provides a simple applicative parser in Parsec
2504 (license license:bsd-3)))
2506 (define-public ghc-safe
2514 "http://hackage.haskell.org/package/safe/safe-"
2519 "1jdnp5zhvalf1xy8i872n29nljfjz6lnl9ghj80ffisrnnkrwcfh"))))
2520 (build-system haskell-build-system)
2521 (home-page "https://github.com/ndmitchell/safe#readme")
2522 (synopsis "Library of safe (exception free) functions")
2523 (description "This library provides wrappers around @code{Prelude} and
2524 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
2526 (license license:bsd-3)))
2528 (define-public ghc-generic-deriving
2530 (name "ghc-generic-deriving")
2536 "http://hackage.haskell.org/package/generic-deriving/generic-deriving-"
2541 "1kc6lhdanls6kgpk8xv5xi14lz1sngcd8xn930hkf7ilq4kxkcr6"))))
2542 (build-system haskell-build-system)
2543 (home-page "https://hackage.haskell.org/package/generic-deriving")
2544 (synopsis "Generalise the deriving mechanism to arbitrary classes")
2545 (description "This package provides functionality for generalising the
2546 deriving mechanism in Haskell to arbitrary classes.")
2547 (license license:bsd-3)))
2549 (define-public ghc-pcre-light
2551 (name "ghc-pcre-light")
2557 "http://hackage.haskell.org/package/pcre-light/pcre-light-"
2562 "0l1df2sk5qwf424bvb8mbdkr2xjg43fi92n5r22yd7vm1zz0jqvf"))))
2563 (build-system haskell-build-system)
2566 (home-page "https://github.com/Daniel-Diaz/pcre-light")
2567 (synopsis "Haskell library for Perl 5 compatible regular expressions")
2568 (description "This package provides a small, efficient, and portable regex
2569 library for Perl 5 compatible regular expressions. The PCRE library is a set
2570 of functions that implement regular expression pattern matching using the same
2571 syntax and semantics as Perl 5.")
2572 (license license:bsd-3)))
2574 (define-public ghc-logict
2582 "http://hackage.haskell.org/package/logict/logict-"
2587 "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi"))))
2588 (build-system haskell-build-system)
2589 (inputs `(("ghc-mtl" ,ghc-mtl)))
2590 (home-page "http://code.haskell.org/~dolio/")
2591 (synopsis "Backtracking logic-programming monad")
2592 (description "This library provides a continuation-based, backtracking,
2593 logic programming monad. An adaptation of the two-continuation implementation
2594 found in the paper \"Backtracking, Interleaving, and Terminating Monad
2595 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
2597 (license license:bsd-3)))
2599 (define-public ghc-xml
2607 "http://hackage.haskell.org/package/xml/xml-"
2612 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
2613 (build-system haskell-build-system)
2615 `(("ghc-text" ,ghc-text)))
2616 (home-page "http://code.galois.com")
2617 (synopsis "Simple XML library for Haskell")
2618 (description "This package provides a simple XML library for Haskell.")
2619 (license license:bsd-3)))
2621 (define-public ghc-exceptions
2623 (name "ghc-exceptions")
2629 "http://hackage.haskell.org/package/exceptions/exceptions-"
2634 "1x1bk1jf42k1gigiqqmkkh38z2ffhx8rsqiszdq3f94m2h6kw2h7"))))
2635 (build-system haskell-build-system)
2636 (arguments `(#:tests? #f)) ; FIXME: Missing test-framework package.
2638 `(("ghc-stm" ,ghc-stm)
2639 ("ghc-mtl" ,ghc-mtl)
2640 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2641 (home-page "http://github.com/ekmett/exceptions/")
2642 (synopsis "Extensible optionally-pure exceptions")
2643 (description "This library provides extensible optionally-pure exceptions
2645 (license license:bsd-3)))
2647 (define-public ghc-temporary
2649 (name "ghc-temporary")
2655 "http://hackage.haskell.org/package/temporary/temporary-"
2660 "0is67bmsjmbbw6wymhis8wyq9gax3sszm573p5719fx2c9z9r24a"))))
2661 (build-system haskell-build-system)
2662 (propagated-inputs `(("ghc-exceptions" ,ghc-exceptions)))
2663 (home-page "http://www.github.com/batterseapower/temporary")
2664 (synopsis "Temporary file and directory support")
2665 (description "The functions for creating temporary files and directories
2666 in the Haskelll base library are quite limited. This library just repackages
2667 the Cabal implementations of its own temporary file and folder functions so
2668 that you can use them without linking against Cabal or depending on it being
2670 (license license:bsd-3)))
2672 (define-public ghc-temporary-rc
2674 (name "ghc-temporary-rc")
2680 "http://hackage.haskell.org/package/temporary-rc/temporary-rc-"
2685 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
2686 (build-system haskell-build-system)
2687 (propagated-inputs `(("ghc-exceptions" ,ghc-exceptions)))
2689 "http://www.github.com/feuerbach/temporary")
2691 "Portable temporary file and directory support")
2693 "The functions for creating temporary files and directories in the base
2694 library are quite limited. The unixutils package contains some good ones, but
2695 they aren't portable to Windows. This library just repackages the Cabal
2696 implementations of its own temporary file and folder functions so that you can
2697 use them without linking against Cabal or depending on it being installed.
2698 This is a better maintained fork of the \"temporary\" package.")
2699 (license license:bsd-3)))
2701 (define-public ghc-smallcheck
2703 (name "ghc-smallcheck")
2709 "http://hackage.haskell.org/package/smallcheck/smallcheck-"
2714 "1ygrabxh40bym3grnzqyfqn96lirnxspb8cmwkkr213239y605sd"))))
2715 (build-system haskell-build-system)
2717 `(("ghc-logict" ,ghc-logict)))
2719 `(("ghc-mtl" ,ghc-mtl)))
2721 "https://github.com/feuerbach/smallcheck")
2722 (synopsis "Property-based testing library")
2723 (description "SmallCheck is a testing library that allows to verify
2724 properties for all test cases up to some depth. The test cases are generated
2725 automatically by SmallCheck.")
2726 (license license:bsd-3)))
2728 (define-public ghc-tasty-ant-xml
2730 (name "ghc-tasty-ant-xml")
2736 "http://hackage.haskell.org/package/tasty-ant-xml/tasty-ant-xml-"
2741 "0pgz2lclg2hp72ykljcbxd88pjanfdfk8m5vb2qzcyjr85kwrhxv"))))
2742 (build-system haskell-build-system)
2744 `(("ghc-generic-deriving" ,ghc-generic-deriving)
2745 ("ghc-xml" ,ghc-xml)))
2747 `(("ghc-mtl" ,ghc-mtl)
2748 ("ghc-stm" ,ghc-stm)
2749 ("ghc-tagged" ,ghc-tagged)
2750 ("ghc-tasty" ,ghc-tasty)))
2752 "http://github.com/ocharles/tasty-ant-xml")
2754 "Render tasty output to XML for Jenkins")
2756 "A tasty ingredient to output test results in XML, using the Ant
2757 schema. This XML can be consumed by the Jenkins continuous integration
2759 (license license:bsd-3)))
2761 (define-public ghc-tasty-smallcheck
2763 (name "ghc-tasty-smallcheck")
2769 "http://hackage.haskell.org/package/tasty-smallcheck/tasty-smallcheck-"
2774 "0yckfbz8na8ccyw2911i3a4hd3fdncclk3ng5343hs5cylw6y4sm"))))
2775 (build-system haskell-build-system)
2777 `(("ghc-tasty" ,ghc-tasty)
2778 ("ghc-smallcheck" ,ghc-smallcheck)
2779 ("ghc-async" ,ghc-async)
2780 ("ghc-tagged" ,ghc-tagged)))
2781 (home-page "http://documentup.com/feuerbach/tasty")
2782 (synopsis "SmallCheck support for the Tasty test framework")
2783 (description "This package provides SmallCheck support for the Tasty
2784 Haskell test framework.")
2785 (license license:bsd-3)))
2787 (define-public ghc-silently
2789 (name "ghc-silently")
2795 "http://hackage.haskell.org/package/silently/silently-"
2800 "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
2801 (build-system haskell-build-system)
2802 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
2804 ;; `(("ghc-temporary" ,ghc-temporary)))
2805 (home-page "https://github.com/hspec/silently")
2806 (synopsis "Prevent writing to stdout")
2807 (description "This package provides functions to prevent or capture
2808 writing to stdout and other handles.")
2809 (license license:bsd-3)))
2811 (define-public ghc-quickcheck-instances
2813 (name "ghc-quickcheck-instances")
2819 "http://hackage.haskell.org/package/"
2820 "quickcheck-instances/quickcheck-instances-"
2824 "041s6963czs1pz0fc9cx17lgd6p83czqy2nxji7bhxqxwl2j15h2"))))
2825 (build-system haskell-build-system)
2827 `(("ghc-old-time" ,ghc-old-time)
2828 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2830 `(("ghc-hashable" ,ghc-hashable)
2831 ("ghc-quickcheck" ,ghc-quickcheck)
2832 ("ghc-text" ,ghc-text)))
2834 "https://github.com/aslatter/qc-instances")
2835 (synopsis "Common quickcheck instances")
2836 (description "This package provides QuickCheck instances for types
2837 provided by the Haskell Platform.")
2838 (license license:bsd-3)))
2840 (define-public ghc-quickcheck-unicode
2842 (name "ghc-quickcheck-unicode")
2848 "http://hackage.haskell.org/package/quickcheck-unicode/quickcheck-unicode-"
2853 "1a8nl6x7l9b22yx61wm0bh2n1xzb1hd5i5zgg1w4fpaivjnrrhi4"))))
2854 (build-system haskell-build-system)
2855 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
2857 "https://github.com/bos/quickcheck-unicode")
2858 (synopsis "Generator functions Unicode-related tests")
2859 (description "This package provides generator and shrink functions for
2860 testing Unicode-related software.")
2861 (license license:bsd-3)))
2863 (define-public ghc-quickcheck-io
2865 (name "ghc-quickcheck-io")
2871 "http://hackage.haskell.org/package/quickcheck-io/quickcheck-io-"
2876 "1kf1kfw9fsmly0rvzvdf6jvdw10qhkmikyj0wcwciw6wad95w9sh"))))
2877 (build-system haskell-build-system)
2879 `(("ghc-quickcheck" ,ghc-quickcheck)
2880 ("ghc-hunit" ,ghc-hunit)))
2882 "https://github.com/hspec/quickcheck-io#readme")
2883 (synopsis "Use HUnit assertions as QuickCheck properties")
2884 (description "This package provides an orphan instance that allows you to
2885 use HUnit assertions as QuickCheck properties.")
2886 (license license:expat)))
2888 (define-public ghc-quickcheck
2890 (name "ghc-quickcheck")
2892 (outputs '("out" "doc"))
2897 "http://hackage.haskell.org/package/QuickCheck/QuickCheck-"
2902 "0fvnfl30fxmj5q920l13641ar896d53z0z6z66m7c1366lvalwvh"))))
2903 (build-system haskell-build-system)
2905 `(#:tests? #f ; FIXME: currently missing libraries used for tests.
2906 #:configure-flags '("-f base4")))
2907 ;; these inputs are necessary to use this package
2909 `(("ghc-tf-random" ,ghc-tf-random)))
2911 "https://github.com/nick8325/quickcheck")
2913 "Automatic testing of Haskell programs")
2915 "QuickCheck is a library for random testing of program properties.")
2916 (license license:bsd-3)))
2918 (define-public ghc-case-insensitive
2920 (name "ghc-case-insensitive")
2922 (outputs '("out" "doc"))
2927 "http://hackage.haskell.org/package/case-insensitive/case-insensitive-"
2932 "07nm40r9yw2p9qsfp3pjbsmyn4dabrxw34p48171zmccdd5hv0v3"))))
2933 (build-system haskell-build-system)
2935 `(("ghc-hunit" ,ghc-hunit)))
2936 ;; these inputs are necessary to use this library
2938 `(("ghc-text" ,ghc-text)
2939 ("ghc-hashable" ,ghc-hashable)))
2941 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
2943 "https://github.com/basvandijk/case-insensitive")
2944 (synopsis "Case insensitive string comparison")
2946 "The module 'Data.CaseInsensitive' provides the 'CI' type constructor
2947 which can be parameterised by a string-like type like: 'String', 'ByteString',
2948 'Text', etc.. Comparisons of values of the resulting type will be insensitive
2950 (license license:bsd-3)))
2952 (define-public ghc-syb
2956 (outputs '("out" "doc"))
2961 "http://hackage.haskell.org/package/syb/syb-"
2966 "1p3cnqjm13677r4a966zffzhi9b3a321aln8zs8ckqj0d9z1z3d3"))))
2967 (build-system haskell-build-system)
2969 `(("ghc-hunit" ,ghc-hunit)
2970 ("ghc-mtl" ,ghc-mtl)))
2972 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
2973 (synopsis "Scrap Your Boilerplate")
2974 (description "This package contains the generics system described in the
2975 /Scrap Your Boilerplate/ papers (see
2976 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
2977 defines the 'Data' class of types permitting folding and unfolding of
2978 constructor applications, instances of this class for primitive types, and a
2979 variety of traversals.")
2980 (license license:bsd-3)))
2982 (define-public ghc-fgl
2986 (outputs '("out" "doc"))
2991 "http://hackage.haskell.org/package/fgl/fgl-"
2996 "0rcmz0xlyr1wj490ffja29z1jgl51gz19ka609da6bx39bwx7nga"))))
2997 (build-system haskell-build-system)
2998 (inputs `(("ghc-mtl" ,ghc-mtl)))
2999 (home-page "http://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3001 "Martin Erwig's Functional Graph Library")
3002 (description "The functional graph library, FGL, is a collection of type
3003 and function definitions to address graph problems. The basis of the library
3004 is an inductive definition of graphs in the style of algebraic data types that
3005 encourages inductive, recursive definitions of graph algorithms.")
3006 (license license:bsd-3)))
3008 (define-public ghc-chasingbottoms
3010 (name "ghc-chasingbottoms")
3011 (version "1.3.0.13")
3015 (uri (string-append "http://hackage.haskell.org/package/ChasingBottoms/"
3016 "ChasingBottoms-" version ".tar.gz"))
3019 "1fb86jd6cdz4rx3fj3r9n8d60kx824ywwy7dw4qnrdran46ja3pl"))
3020 (modules '((guix build utils)))
3022 ;; The Hackage page and the cabal file linked there for this package
3023 ;; both list 0.7 as the upper version limit, but the source tarball
3024 ;; specifies 0.6. Assume the Hackage page is correct.
3025 '(substitute* "ChasingBottoms.cabal"
3026 (("syb >= 0.1.0.2 && < 0.6") "syb >= 0.1.0.2 && < 0.7")))))
3027 (build-system haskell-build-system)
3029 `(("ghc-mtl" ,ghc-mtl)
3030 ("ghc-quickcheck" ,ghc-quickcheck)
3031 ("ghc-random" ,ghc-random)
3032 ("ghc-syb" ,ghc-syb)))
3033 (home-page "http://hackage.haskell.org/package/ChasingBottoms")
3034 (synopsis "Testing of partial and infinite values in Haskell")
3036 ;; FIXME: There should be a @comma{} in the uref text, but it is not
3037 ;; rendered properly.
3038 "This is a library for testing code involving bottoms or infinite values.
3039 For the underlying theory and a larger example involving use of QuickCheck,
3041 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
3042 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
3043 Partial and Infinite Values\"}.")
3044 (license license:expat)))
3046 (define-public ghc-unordered-containers
3048 (name "ghc-unordered-containers")
3050 (outputs '("out" "doc"))
3055 "http://hackage.haskell.org/package/unordered-containers"
3056 "/unordered-containers-" version ".tar.gz"))
3059 "06l1xv7vhpxly75saxdrbc6p2zlgz1az278arfkz4rgawfnphn3f"))))
3060 (build-system haskell-build-system)
3062 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
3063 ("ghc-hunit" ,ghc-hunit)
3064 ("ghc-quickcheck" ,ghc-quickcheck)
3065 ("ghc-test-framework" ,ghc-test-framework)
3066 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3067 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3068 ;; these inputs are necessary to use this library
3069 (propagated-inputs `(("ghc-hashable" ,ghc-hashable)))
3071 "https://github.com/tibbe/unordered-containers")
3073 "Efficient hashing-based container types")
3075 "Efficient hashing-based container types. The containers have been
3076 optimized for performance critical use, both in terms of large data quantities
3078 (license license:bsd-3)))
3080 (define-public ghc-uniplate
3082 (name "ghc-uniplate")
3088 "http://hackage.haskell.org/package/uniplate/uniplate-"
3093 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
3094 (build-system haskell-build-system)
3096 `(("ghc-syb" ,ghc-syb)
3097 ("ghc-hashable" ,ghc-hashable)
3098 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3099 (home-page "http://community.haskell.org/~ndm/uniplate/")
3100 (synopsis "Simple, concise and fast generic operations")
3101 (description "Uniplate is a library for writing simple and concise generic
3102 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
3103 work, but is substantially simpler and faster.")
3104 (license license:bsd-3)))
3106 (define-public ghc-base64-bytestring
3108 (name "ghc-base64-bytestring")
3114 "http://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
3119 "0l1v4ddjdsgi9nqzyzcxxj76rwar3lzx8gmwf2r54bqan3san9db"))))
3120 (build-system haskell-build-system)
3121 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3122 (home-page "https://github.com/bos/base64-bytestring")
3123 (synopsis "Base64 encoding and decoding for ByteStrings")
3124 (description "This library provides fast base64 encoding and decoding for
3125 Haskell @code{ByteString}s.")
3126 (license license:bsd-3)))
3128 (define-public ghc-annotated-wl-pprint
3130 (name "ghc-annotated-wl-pprint")
3136 "http://hackage.haskell.org/package/annotated-wl-pprint"
3137 "/annotated-wl-pprint-" version
3141 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
3142 (build-system haskell-build-system)
3144 "https://github.com/david-christiansen/annotated-wl-pprint")
3146 "The Wadler/Leijen Pretty Printer, with annotation support")
3147 (description "This is a modified version of wl-pprint, which was based on
3148 Wadler's paper \"A Prettier Printer\". This version allows the library user
3149 to annotate the text with semantic information, which can later be rendered in
3150 a variety of ways.")
3151 (license license:bsd-3)))
3153 (define-public ghc-ansi-wl-pprint
3155 (name "ghc-ansi-wl-pprint")
3161 "http://hackage.haskell.org/package/ansi-wl-pprint/ansi-wl-pprint-"
3166 "025pyphsjf0dnbrmj5nscbi6gzyigwgp3ifxb3psn7kji6mfr29p"))))
3167 (build-system haskell-build-system)
3169 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
3170 (home-page "http://github.com/ekmett/ansi-wl-pprint")
3171 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
3172 (description "This is a pretty printing library based on Wadler's paper
3173 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
3174 colored output using the ansi-terminal package.")
3175 (license license:bsd-3)))
3177 (define-public ghc-split
3181 (outputs '("out" "doc"))
3186 "http://hackage.haskell.org/package/split/split-"
3191 "0xa3j0gwr6k5vizxybnzk5fgb3pppgspi6mysnp2gwjp2dbrxkzr"))
3192 (modules '((guix build utils)))
3194 ;; The Cabal file on Hackage is updated, but the tar.gz does not
3196 ;; <https://hackage.haskell.org/package/split-0.2.2/revisions/>.
3197 '(substitute* "split.cabal"
3198 (("base <4.8") "base <4.9")))))
3199 (build-system haskell-build-system)
3201 `(("ghc-quickcheck" ,ghc-quickcheck)))
3202 (home-page "http://hackage.haskell.org/package/split")
3203 (synopsis "Combinator library for splitting lists")
3204 (description "This package provides a collection of Haskell functions for
3205 splitting lists into parts, akin to the @code{split} function found in several
3206 mainstream languages.")
3207 (license license:bsd-3)))
3209 (define-public ghc-parsec
3213 (outputs '("out" "doc"))
3218 "http://hackage.haskell.org/package/parsec/parsec-"
3222 (base32 "1ja20cmj6v336jy87c6h3jzjp00sdbakwbdwp11iln499k913xvi"))))
3223 (build-system haskell-build-system)
3225 `(("ghc-hunit" ,ghc-hunit)))
3226 ;; these inputs are necessary to use this library
3228 `(("ghc-text" ,ghc-text)
3229 ("ghc-mtl" ,ghc-mtl)))
3231 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3233 "https://github.com/aslatter/parsec")
3234 (synopsis "Monadic parser combinators")
3235 (description "Parsec is a parser library. It is simple, safe, well
3236 documented, has extensive libraries, good error messages, and is fast. It is
3237 defined as a monad transformer that can be stacked on arbitrary monads, and it
3238 is also parametric in the input stream type.")
3239 (license license:bsd-3)))
3241 (define-public ghc-vector
3244 (version "0.11.0.0")
3245 (outputs '("out" "doc"))
3250 "http://hackage.haskell.org/package/vector/vector-"
3255 "1r1jlksy7b0kb0fy00g64isk6nyd9wzzdq31gx5v1wn38knj0lqa"))))
3256 (build-system haskell-build-system)
3258 `(("ghc-quickcheck" ,ghc-quickcheck)))
3259 ;; these inputs are necessary to use this library
3261 `(("ghc-primitive" ,ghc-primitive)))
3263 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3264 (home-page "https://github.com/haskell/vector")
3265 (synopsis "Efficient Arrays")
3266 (description "This library provides an efficient implementation of
3267 Int-indexed arrays (both mutable and immutable), with a powerful loop
3268 optimisation framework.")
3269 (license license:bsd-3)))
3271 (define-public ghc-vector-binary-instances
3273 (name "ghc-vector-binary-instances")
3279 "http://hackage.haskell.org/package/"
3280 "vector-binary-instances/vector-binary-instances-"
3284 "028rsf2w193rhs1gic5yvvrwidw9sblczcn10aw64npfc6502l4l"))))
3285 (build-system haskell-build-system)
3287 `(("ghc-cereal" ,ghc-cereal)))
3289 `(("ghc-vector" ,ghc-vector)))
3290 (home-page "https://github.com/bos/vector-binary-instances")
3291 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
3292 (description "This library provides instances of @code{Binary} for the
3293 types defined in the @code{vector} package, making it easy to serialize
3294 vectors to and from disk. We use the generic interface to vectors, so all
3295 vector types are supported. Specific instances are provided for unboxed,
3296 boxed and storable vectors.")
3297 (license license:bsd-3)))
3299 (define-public ghc-network
3301 (name "ghc-network")
3303 (outputs '("out" "doc"))
3308 "http://hackage.haskell.org/package/network/network-"
3313 "1yhvpd4wigz165jvyvw9zslx7lgqdj63jh3zv5s74b5ykdfa3zd3"))))
3314 (build-system haskell-build-system)
3316 `(("ghc-hunit" ,ghc-hunit)))
3318 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3319 (home-page "https://github.com/haskell/network")
3320 (synopsis "Low-level networking interface")
3322 "This package provides a low-level networking interface.")
3323 (license license:bsd-3)))
3325 (define-public ghc-network-uri
3327 (name "ghc-network-uri")
3329 (outputs '("out" "doc"))
3334 "http://hackage.haskell.org/package/network-uri/network-uri-"
3339 "1pwbqb2rk4rnvllvdch42p5368xcvpkanp7bxckdhxya8zzwvhhg"))))
3340 (build-system haskell-build-system)
3342 `(("ghc-hunit" ,ghc-hunit)
3343 ("ghc-network" ,ghc-network)))
3345 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3347 `(("ghc-parsec" ,ghc-parsec)))
3349 "https://github.com/haskell/network-uri")
3350 (synopsis "Library for URI manipulation")
3351 (description "This package provides an URI manipulation interface. In
3352 'network-2.6' the 'Network.URI' module was split off from the 'network'
3353 package into this package.")
3354 (license license:bsd-3)))
3356 (define-public ghc-ansi-terminal
3358 (name "ghc-ansi-terminal")
3364 "http://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
3369 "0hpfw0k025y681m9ml1c712skrb1p4vh7z5x1f0ci9ww7ssjrh2d"))))
3370 (build-system haskell-build-system)
3371 (home-page "https://github.com/feuerbach/ansi-terminal")
3372 (synopsis "ANSI terminal support for Haskell")
3373 (description "This package provides ANSI terminal support for Haskell. It
3374 allows cursor movement, screen clearing, color output showing or hiding the
3375 cursor, and changing the title.")
3376 (license license:bsd-3)))
3378 (define-public ghc-http
3381 (version "4000.2.20")
3382 (outputs '("out" "doc"))
3387 "http://hackage.haskell.org/package/HTTP/HTTP-"
3392 "0nyqdxr5ls2dxkf4a1f3x15xzwdm46ppn99nkcbhswlr6s3cq1s4"))))
3393 (build-system haskell-build-system)
3395 `(("ghc-hunit" ,ghc-hunit)))
3397 `(("ghc-old-time" ,ghc-old-time)
3398 ("ghc-parsec" ,ghc-parsec)
3399 ("ghc-mtl" ,ghc-mtl)
3400 ("ghc-network" ,ghc-network)
3401 ("ghc-network-uri" ,ghc-network-uri)))
3403 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
3404 (home-page "https://github.com/haskell/HTTP")
3405 (synopsis "Library for client-side HTTP")
3407 "The HTTP package supports client-side web programming in Haskell. It
3408 lets you set up HTTP connections, transmitting requests and processing the
3409 responses coming back.")
3410 (license license:bsd-3)))
3412 (define-public ghc-hspec
3420 "http://hackage.haskell.org/package/hspec/hspec-"
3425 "0zqisxznlbszivsgy3irvf566zhcr6ipqqj3x9i7pj5hy913jwqf"))))
3426 (build-system haskell-build-system)
3428 `(("ghc-hspec-core" ,ghc-hspec-core)
3429 ("hspec-discover" ,hspec-discover)
3430 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3431 ("ghc-quickcheck" ,ghc-quickcheck)
3432 ("ghc-hunit" ,ghc-hunit)))
3434 `(("ghc-stringbuilder" ,ghc-stringbuilder)
3435 ("ghc-hspec-meta" ,ghc-hspec-meta)))
3436 (home-page "http://hspec.github.io/")
3437 (synopsis "Testing Framework for Haskell")
3438 (description "This library provides the Hspec testing framework for
3439 Haskell, inspired by the Ruby library RSpec.")
3440 (license license:expat)))
3442 (define-public ghc-hspec-contrib
3444 (name "ghc-hspec-contrib")
3448 (uri (string-append "http://hackage.haskell.org/package/"
3449 "hspec-contrib/hspec-contrib-"
3453 "006syw8xagfhsx06ws9ywig1qx5lk4cgl7sq6pbid1s64c72mxn4"))))
3454 (build-system haskell-build-system)
3456 `(("ghc-hspec-core" ,ghc-hspec-core)
3457 ("ghc-hunit" ,ghc-hunit)
3458 ("ghc-hspec" ,ghc-hspec)
3459 ("ghc-quickcheck" ,ghc-quickcheck)))
3460 (home-page "http://hspec.github.io/")
3461 (synopsis "Contributed functionality for Hspec")
3463 "This package provides contributed Hspec extensions.")
3464 (license license:expat)))
3466 (define-public ghc-hspec-expectations
3468 (name "ghc-hspec-expectations")
3474 "http://hackage.haskell.org/package/hspec-expectations/hspec-expectations-"
3479 "1w56jiqfyl237sr207gh3b0l8sr9layy0mdsgd5wknzb49mif6ip"))))
3480 (build-system haskell-build-system)
3481 (inputs `(("ghc-hunit" ,ghc-hunit)))
3482 (home-page "https://github.com/sol/hspec-expectations")
3483 (synopsis "Catchy combinators for HUnit")
3484 (description "This library provides catchy combinators for HUnit, see
3485 @uref{https://github.com/sol/hspec-expectations#readme, the README}.")
3486 (license license:expat)))
3488 (define-public hspec-discover
3490 (name "hspec-discover")
3496 "http://hackage.haskell.org/package/hspec-discover/hspec-discover-"
3501 "0w3awzbljf4hqhxrjrxqa1lfcclg92bhmq641gz2q80vycspapzx"))))
3502 (build-system haskell-build-system)
3503 (arguments `(#:haddock? #f)) ; Haddock phase fails because there are no
3504 ; documentation files.
3505 (inputs `(("ghc-hspec-meta" ,ghc-hspec-meta)))
3506 (home-page "http://hspec.github.io/")
3507 (synopsis "Automatically discover and run Hspec tests")
3508 (description "hspec-discover is a tool which automatically discovers and
3510 (license license:expat)))
3512 (define-public ghc-hspec-core
3514 (name "ghc-hspec-core")
3520 "http://hackage.haskell.org/package/hspec-core/hspec-core-"
3525 "1wgd55k652jaf81nkvciyqi67ycj7zamr4nd9z1cqf8nr9fc3sa4"))))
3526 (build-system haskell-build-system)
3527 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3529 `(("ghc-setenv" ,ghc-setenv)
3530 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
3531 ("ghc-async" ,ghc-async)
3532 ("ghc-quickcheck-io" ,ghc-quickcheck-io)))
3534 `(("ghc-hunit" ,ghc-hunit)
3535 ("ghc-quickcheck" ,ghc-quickcheck)
3536 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3537 ("ghc-silently" ,ghc-silently)))
3538 (home-page "http://hspec.github.io/")
3539 (synopsis "Testing framework for Haskell")
3540 (description "This library exposes internal types and functions that can
3541 be used to extend Hspec's functionality.")
3542 (license license:expat)))
3544 (define-public ghc-hspec-meta
3546 (name "ghc-hspec-meta")
3552 "http://hackage.haskell.org/package/hspec-meta/hspec-meta-"
3557 "1fmqmgrzp135cxhmxxbaswkk4bqbpgfml00cmcz0d39n11vzpa5z"))))
3558 (build-system haskell-build-system)
3560 `(("ghc-quickcheck" ,ghc-quickcheck)
3561 ("ghc-hunit" ,ghc-hunit)
3562 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
3563 ("ghc-async" ,ghc-async)
3564 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
3565 ("ghc-setenv" ,ghc-setenv)
3566 ("ghc-random" ,ghc-random)
3567 ("ghc-quickcheck-io" ,ghc-quickcheck-io)))
3568 (home-page "http://hspec.github.io/")
3569 (synopsis "Version of Hspec to test Hspec itself")
3570 (description "This library provides a stable version of Hspec which is
3571 used to test the in-development version of Hspec.")
3572 (license license:expat)))
3574 (define-public ghc-vault
3582 "http://hackage.haskell.org/package/vault/vault-"
3587 "0ah6qrg71krc87f4vjy4b4shdd0mgyil8fikb3j6fl4kfwlg67jn"))))
3588 (build-system haskell-build-system)
3590 `(("ghc-unordered-containers" ,ghc-unordered-containers)
3591 ("ghc-hashable" ,ghc-hashable)))
3593 "https://github.com/HeinrichApfelmus/vault")
3594 (synopsis "Persistent store for arbitrary values")
3595 (description "This package provides vaults for Haskell. A vault is a
3596 persistent store for values of arbitrary types. It's like having first-class
3597 access to the storage space behind @code{IORefs}. The data structure is
3598 analogous to a bank vault, where you can access different bank boxes with
3599 different keys; hence the name. Also provided is a @code{locker} type,
3600 representing a store for a single element.")
3601 (license license:bsd-3)))
3603 (define-public ghc-mmorph
3611 "http://hackage.haskell.org/package/mmorph/mmorph-"
3616 "0k5zlzmnixfwcjrqvhgi3i6xg532b0gsjvc39v5jigw69idndqr2"))))
3617 (build-system haskell-build-system)
3619 "http://hackage.haskell.org/package/mmorph")
3620 (synopsis "Monad morphisms")
3622 "This library provides monad morphism utilities, most commonly used for
3623 manipulating monad transformer stacks.")
3624 (license license:bsd-3)))
3626 (define-public ghc-monad-control
3628 (name "ghc-monad-control")
3634 "http://hackage.haskell.org/package/monad-control"
3635 "/monad-control-" version ".tar.gz"))
3638 "07pn1p4m80wdd7gw62s4yny8rbvm60ka1q8qx5y1plznd8sbg179"))))
3639 (build-system haskell-build-system)
3641 `(("ghc-stm" ,ghc-stm)
3642 ("ghc-transformers-base" ,ghc-transformers-base)
3643 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3644 (home-page "https://github.com/basvandijk/monad-control")
3645 (synopsis "Monad transformers to lift control operations like exception
3647 (description "This package defines the type class @code{MonadBaseControl},
3648 a subset of @code{MonadBase} into which generic control operations such as
3649 @code{catch} can be lifted from @code{IO} or any other base monad.")
3650 (license license:bsd-3)))
3652 (define-public ghc-byteorder
3654 (name "ghc-byteorder")
3660 "http://hackage.haskell.org/package/byteorder/byteorder-"
3665 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
3666 (build-system haskell-build-system)
3668 "http://community.haskell.org/~aslatter/code/byteorder")
3670 "Exposes the native endianness of the system")
3672 "This package is for working with the native byte-ordering of the
3674 (license license:bsd-3)))
3676 (define-public ghc-base-compat
3678 (name "ghc-base-compat")
3684 "http://hackage.haskell.org/package/base-compat/base-compat-"
3689 "02m93hzgxg4bcnp7xcc2fdh2hrsc2h6fwl8hix5nx9k864kwf41q"))))
3690 (build-system haskell-build-system)
3692 `(("ghc-quickcheck" ,ghc-quickcheck)
3693 ("ghc-hspec" ,ghc-hspec)))
3694 (home-page "https://hackage.haskell.org/package/base-compat")
3695 (synopsis "Haskell compiler compatibility library")
3696 (description "This library provides functions available in later versions
3697 of base to a wider range of compilers, without requiring the use of CPP
3698 pragmas in your code.")
3699 (license license:bsd-3)))
3701 (define-public ghc-blaze-builder
3703 (name "ghc-blaze-builder")
3709 "http://hackage.haskell.org/package/blaze-builder/blaze-builder-"
3714 "1id3w33x9f7q5m3xpggmvzw03bkp94bpfyz81625bldqgf3yqdn1"))))
3715 (build-system haskell-build-system)
3716 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
3718 `(("ghc-text" ,ghc-text)
3719 ("ghc-utf8-string" ,ghc-utf8-string)))
3720 (home-page "http://github.com/lpsmith/blaze-builder")
3721 (synopsis "Efficient buffered output")
3722 (description "This library provides an implementation of the older
3723 @code{blaze-builder} interface in terms of the new builder that shipped with
3724 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
3725 bridge to the new builder, so that code that uses the old interface can
3726 interoperate with code that uses the new implementation.")
3727 (license license:bsd-3)))
3729 (define-public ghc-blaze-markup
3731 (name "ghc-blaze-markup")
3737 "http://hackage.haskell.org/package/blaze-markup/blaze-markup-"
3742 "080vlhd8dwjxrma4bb524lh8gxs5lm3xh122icy6lnnyipla0s9y"))))
3743 (build-system haskell-build-system)
3744 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3746 `(("ghc-blaze-builder" ,ghc-blaze-builder)
3747 ("ghc-text" ,ghc-text)))
3748 (home-page "http://jaspervdj.be/blaze")
3749 (synopsis "Fast markup combinator library for Haskell")
3750 (description "This library provides core modules of a markup combinator
3751 library for Haskell.")
3752 (license license:bsd-3)))
3754 (define-public ghc-blaze-html
3756 (name "ghc-blaze-html")
3762 "http://hackage.haskell.org/package/blaze-html/blaze-html-"
3767 "1dnw50kh0s405cg9i2y4a8awanhj3bqzk21jwgfza65kcjby7lpq"))))
3768 (build-system haskell-build-system)
3769 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3771 `(("ghc-blaze-builder" ,ghc-blaze-builder)
3772 ("ghc-text" ,ghc-text)
3773 ("ghc-blaze-markup" ,ghc-blaze-markup)))
3774 (home-page "http://jaspervdj.be/blaze")
3775 (synopsis "Fast HTML combinator library")
3776 (description "This library provides HTML combinators for Haskell.")
3777 (license license:bsd-3)))
3779 (define-public ghc-easy-file
3781 (name "ghc-easy-file")
3787 "http://hackage.haskell.org/package/easy-file/easy-file-"
3792 "0v75081bx4qzlqy29hh639nzlr7dncwza3qxbzm9njc4jarf31pz"))))
3793 (build-system haskell-build-system)
3795 "http://github.com/kazu-yamamoto/easy-file")
3796 (synopsis "File handling library for Haskell")
3797 (description "This library provides file handling utilities for Haskell.")
3798 (license license:bsd-3)))
3800 (define-public ghc-async
3808 "http://hackage.haskell.org/package/async/async-"
3813 "0azx4qk65a9a2gvqsfmz3w89m6shzr2iz0i5lly2zvly4n2d6m6v"))))
3814 (build-system haskell-build-system)
3816 `(("ghc-hunit" ,ghc-hunit)
3817 ("ghc-test-framework" ,ghc-test-framework)
3818 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3820 `(("ghc-stm" ,ghc-stm)))
3821 (home-page "https://github.com/simonmar/async")
3822 (synopsis "Library to run IO operations asynchronously")
3823 (description "Async provides a library to run IO operations
3824 asynchronously, and wait for their results. It is a higher-level interface
3825 over threads in Haskell, in which @code{Async a} is a concurrent thread that
3826 will eventually deliver a value of type @code{a}.")
3827 (license license:bsd-3)))
3829 (define-public ghc-fingertree
3831 (name "ghc-fingertree")
3837 "http://hackage.haskell.org/package/fingertree/fingertree-"
3842 "1w6x3kp3by5yjmam6wlrf9vap5l5rrqaip0djbrdp0fpf2imn30n"))))
3843 (build-system haskell-build-system)
3844 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
3845 (home-page "http://hackage.haskell.org/package/fingertree")
3846 (synopsis "Generic finger-tree structure")
3847 (description "This library provides finger trees, a general sequence
3848 representation with arbitrary annotations, for use as a base for
3849 implementations of various collection types. It includes examples, as
3850 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
3851 simple general-purpose data structure\".")
3852 (license license:bsd-3)))
3854 (define-public ghc-optparse-applicative
3856 (name "ghc-optparse-applicative")
3857 (version "0.11.0.2")
3862 "http://hackage.haskell.org/package/optparse-applicative"
3863 "/optparse-applicative-" version ".tar.gz"))
3866 "0ni52ii9555jngljvzxn1ngicr6i2w647ww3rzhdrmng04y95iii"))))
3867 (build-system haskell-build-system)
3869 `(("ghc-transformers-compat" ,ghc-transformers-compat)
3870 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
3871 (home-page "https://github.com/pcapriotti/optparse-applicative")
3872 (synopsis "Utilities and combinators for parsing command line options")
3873 (description "This package provides utilities and combinators for parsing
3874 command line options in Haskell.")
3875 (license license:bsd-3)))
3877 (define-public ghc-base-orphans
3879 (name "ghc-base-orphans")
3885 "http://hackage.haskell.org/package/base-orphans/base-orphans-"
3890 "0hhgpwjvx7jhvlhsygmmf0q5hv2ymijzz4bjilicw99bmv13qcpl"))))
3891 (build-system haskell-build-system)
3893 `(("ghc-quickcheck" ,ghc-quickcheck)
3894 ("ghc-hspec" ,ghc-hspec)))
3895 (home-page "https://hackage.haskell.org/package/base-orphans")
3896 (synopsis "Orphan instances for backwards compatibility")
3897 (description "This package defines orphan instances that mimic instances
3898 available in later versions of base to a wider (older) range of compilers.")
3899 (license license:bsd-3)))
3901 (define-public ghc-auto-update
3903 (name "ghc-auto-update")
3909 "http://hackage.haskell.org/package/auto-update/auto-update-"
3914 "1ns4c5mqhnm7hsiqxf1ivjs5fflyq92b16ldzrcl0p85631h0c3v"))))
3915 (build-system haskell-build-system)
3916 (home-page "https://github.com/yesodweb/wai")
3917 (synopsis "Efficiently run periodic, on-demand actions")
3918 (description "This library provides mechanisms to efficiently run
3919 periodic, on-demand actions in Haskell.")
3920 (license license:expat)))
3922 (define-public ghc-tagged
3930 "http://hackage.haskell.org/package/tagged/tagged-"
3935 "1hc2qzhhz5p1xd8k03sklrdnhcflkwhgpl82k6fam8yckww9ipav"))))
3936 (build-system haskell-build-system)
3937 (home-page "https://hackage.haskell.org/package/tagged")
3938 (synopsis "Haskell phantom types to avoid passing dummy arguments")
3939 (description "This library provides phantom types for Haskell 98, to avoid
3940 having to unsafely pass dummy arguments.")
3941 (license license:bsd-3)))
3943 (define-public ghc-unbounded-delays
3945 (name "ghc-unbounded-delays")
3951 "http://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
3956 "1f4h87503m3smhip432q027wj3zih18pmz2rnafh60589ifcl420"))))
3957 (build-system haskell-build-system)
3958 (home-page "https://github.com/basvandijk/unbounded-delays")
3959 (synopsis "Unbounded thread delays and timeouts")
3960 (description "The @code{threadDelay} and @code{timeout} functions from the
3961 Haskell base library use the bounded @code{Int} type for specifying the delay
3962 or timeout period. This package provides alternative functions which use the
3963 unbounded @code{Integer} type.")
3964 (license license:bsd-3)))
3966 ;; This package builds `clock` without tests, since the tests rely on tasty
3967 ;; and tasty-quickcheck, which in turn require clock to build. When tasty and
3968 ;; tasty-quickcheck are added, we will add ghc-clock with tests enabled.
3969 (define ghc-clock-bootstrap
3971 (name "ghc-clock-bootstrap")
3977 "http://hackage.haskell.org/package/"
3979 "clock-" version ".tar.gz"))
3981 (base32 "1ncph7vi2q6ywwc8ysxl1ibw6i5dwfvln88ssfazk8jgpj4iyykw"))))
3982 (build-system haskell-build-system)
3983 (arguments `(#:tests? #f)) ;; Testing suite depends on tasty and
3984 ;; tasty-quickcheck, which need clock to build.
3985 (home-page "https://hackage.haskell.org/package/clock")
3986 (synopsis "High-resolution clock for Haskell")
3987 (description "A package for convenient access to high-resolution clock and
3988 timer functions of different operating systems via a unified API.")
3989 (license license:bsd-3)))
3991 (define-public ghc-clock
3999 "http://hackage.haskell.org/package/"
4001 "clock-" version ".tar.gz"))
4003 (base32 "1ncph7vi2q6ywwc8ysxl1ibw6i5dwfvln88ssfazk8jgpj4iyykw"))))
4004 (build-system haskell-build-system)
4006 `(("ghc-tasty" ,ghc-tasty)
4007 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4008 (home-page "https://hackage.haskell.org/package/clock")
4009 (synopsis "High-resolution clock for Haskell")
4010 (description "A package for convenient access to high-resolution clock and
4011 timer functions of different operating systems via a unified API.")
4012 (license license:bsd-3)))
4014 (define-public ghc-charset
4016 (name "ghc-charset")
4022 "http://hackage.haskell.org/package/charset/charset-"
4027 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
4028 (build-system haskell-build-system)
4030 `(("ghc-semigroups" ,ghc-semigroups)))
4032 `(("ghc-unordered-containers" ,ghc-unordered-containers)))
4033 (home-page "http://github.com/ekmett/charset")
4034 (synopsis "Fast unicode character sets for Haskell")
4035 (description "This package provides fast unicode character sets for
4036 Haskell, based on complemented PATRICIA tries.")
4037 (license license:bsd-3)))
4039 (define-public ghc-bytestring-builder
4041 (name "ghc-bytestring-builder")
4042 (version "0.10.6.0.0")
4047 "http://hackage.haskell.org/package/bytestring-builder"
4048 "/bytestring-builder-" version ".tar.gz"))
4051 "1mkg24zl0rapb3gqzkyj5ibp07wx3yzd72hmfczssl0is63rjhww"))))
4052 (build-system haskell-build-system)
4053 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4054 (home-page "http://hackage.haskell.org/package/bytestring-builder")
4055 (synopsis "The new bytestring builder, packaged outside of GHC")
4056 (description "This package provides the bytestring builder that is
4057 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
4058 Compatibility package for older packages.")
4059 (license license:bsd-3)))
4061 (define-public ghc-nats
4069 "http://hackage.haskell.org/package/nats/nats-"
4074 "0r6s8l4s0yq3x2crrkv0b8zac13magfasr9v8hnq6rn1icsfhic0"))))
4075 (build-system haskell-build-system)
4076 (arguments `(#:haddock? #f))
4078 `(("ghc-hashable" ,ghc-hashable)))
4079 (home-page "https://hackage.haskell.org/package/nats")
4080 (synopsis "Natural numbers")
4081 (description "This library provides the natural numbers for Haskell.")
4082 (license license:bsd-3)))
4084 (define-public ghc-void
4092 "http://hackage.haskell.org/package/void/void-"
4097 "1x15x2axz84ndw2bf60vjqljhrb0w95lddaljsxrl0hcd29zvw69"))))
4098 (build-system haskell-build-system)
4100 `(("ghc-semigroups" ,ghc-semigroups)))
4102 `(("ghc-hashable" ,ghc-hashable)))
4103 (home-page "http://github.com/ekmett/void")
4105 "Logically uninhabited data type")
4107 "A Haskell 98 logically uninhabited data type, used to indicate that a
4108 given term should not exist.")
4109 (license license:bsd-3)))
4111 (define-public ghc-kan-extensions
4113 (name "ghc-kan-extensions")
4119 "http://hackage.haskell.org/package/kan-extensions/kan-extensions-"
4124 "0iywbadpy8s3isfzlx9dlz3apaywhqq4gdbxkwygksq8pzdhwkrk"))))
4125 (build-system haskell-build-system)
4127 `(("ghc-adjunctions" ,ghc-adjunctions)))
4129 `(("ghc-comonad" ,ghc-comonad)
4130 ("ghc-contravariant" ,ghc-contravariant)
4131 ("ghc-distributive" ,ghc-distributive)
4132 ("ghc-free" ,ghc-free)
4133 ("ghc-mtl" ,ghc-mtl)
4134 ("ghc-semigroupoids" ,ghc-semigroupoids)
4135 ("ghc-tagged" ,ghc-tagged)))
4136 (home-page "http://github.com/ekmett/kan-extensions/")
4137 (synopsis "Kan extensions library")
4138 (description "This library provides Kan extensions, Kan lifts, various
4139 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
4140 (license license:bsd-3)))
4142 (define-public ghc-statevar
4144 (name "ghc-statevar")
4150 "http://hackage.haskell.org/package/StateVar/StateVar-"
4155 "1ap51cvwq61xckx5hw44l82ihbxvsq3263xr5hqg42c5qp67kbhf"))))
4156 (build-system haskell-build-system)
4158 `(("ghc-stm" ,ghc-stm)))
4159 (home-page "http://hackage.haskell.org/package/StateVar")
4160 (synopsis "State variables for Haskell")
4161 (description "This package provides state variables, which are references
4162 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
4163 (license license:bsd-3)))
4165 (define-public ghc-lens
4173 "http://hackage.haskell.org/package/lens/lens-"
4178 "0g4g0xksrb2m8wgsmraaq8qnk1sssb42kr65fc7clgyid6zyfmim"))))
4179 (build-system haskell-build-system)
4180 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4182 `(("ghc-base-orphans" ,ghc-base-orphans)
4183 ("ghc-bifunctors" ,ghc-bifunctors)
4184 ("ghc-distributive" ,ghc-distributive)
4185 ("ghc-exceptions" ,ghc-exceptions)
4186 ("ghc-free" ,ghc-free)
4187 ("ghc-kan-extensions" ,ghc-kan-extensions)
4188 ("ghc-parallel" ,ghc-parallel)
4189 ("ghc-reflection" ,ghc-reflection)
4190 ("ghc-semigroupoids" ,ghc-semigroupoids)
4191 ("ghc-vector" ,ghc-vector)))
4193 `(("ghc-comonad" ,ghc-comonad)
4194 ("ghc-contravariant" ,ghc-contravariant)
4195 ("ghc-hashable" ,ghc-hashable)
4196 ("ghc-mtl" ,ghc-mtl)
4197 ("ghc-profunctors" ,ghc-profunctors)
4198 ("ghc-semigroups" ,ghc-semigroups)
4199 ("ghc-tagged" ,ghc-tagged)
4200 ("ghc-text" ,ghc-text)
4201 ("ghc-transformers-compat" ,ghc-transformers-compat)
4202 ("ghc-unordered-containers" ,ghc-unordered-containers)
4203 ("ghc-void" ,ghc-void)
4204 ("ghc-generic-deriving" ,ghc-generic-deriving)
4205 ("ghc-nats" ,ghc-nats)
4206 ("ghc-simple-reflect" ,ghc-simple-reflect)
4208 (home-page "http://github.com/ekmett/lens/")
4209 (synopsis "Lenses, Folds and Traversals")
4210 (description "This library provides @code{Control.Lens}. The combinators
4211 in @code{Control.Lens} provide a highly generic toolbox for composing families
4212 of getters, folds, isomorphisms, traversals, setters and lenses and their
4214 (license license:bsd-3)))
4216 (define-public ghc-tagsoup
4218 (name "ghc-tagsoup")
4224 "http://hackage.haskell.org/package/tagsoup/tagsoup-"
4229 "13b6zy6346r3cxhaivys84fnxarg8wbv7r2znazfjdkqil8n5a1j"))))
4230 (build-system haskell-build-system)
4231 (inputs `(("ghc-text" ,ghc-text)))
4233 "http://community.haskell.org/~ndm/tagsoup/")
4235 "Parsing and extracting information from (possibly malformed) HTML/XML
4238 "TagSoup is a library for parsing HTML/XML. It supports the HTML 5
4239 specification, and can be used to parse either well-formed XML, or
4240 unstructured and malformed HTML from the web. The library also provides
4241 useful functions to extract information from an HTML document, making it ideal
4242 for screen-scraping.")
4243 (license license:bsd-3)))
4245 (define-public ghc-digest
4253 "http://hackage.haskell.org/package/digest/digest-"
4258 "04gy2zp8yzvv7j9bdfvmfzcz3sqyqa6rwslqcn4vyair2vmif5v4"))))
4259 (build-system haskell-build-system)
4263 "http://hackage.haskell.org/package/digest")
4265 "Various cryptographic hashes for bytestrings")
4267 "This package provides efficient cryptographic hash implementations for
4268 strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; they
4269 are implemented as FFI bindings to efficient code from zlib.")
4270 (license license:bsd-3)))
4272 (define-public ghc-cheapskate
4274 (name "ghc-cheapskate")
4280 "http://hackage.haskell.org/package/cheapskate/cheapskate-"
4285 "0drx1hlqvdcrij4097q6bxhbfcqm73jsqv1wwhd3hsnjdmr46ch2"))))
4286 (build-system haskell-build-system)
4288 `(("ghc-xss-sanitize" ,ghc-xss-sanitize)
4289 ("ghc-data-default" ,ghc-data-default)))
4291 `(("ghc-mtl" ,ghc-mtl)
4292 ("ghc-text" ,ghc-text)
4293 ("ghc-blaze-html" ,ghc-blaze-html)
4294 ("ghc-syb" ,ghc-syb)
4295 ("ghc-uniplate" ,ghc-uniplate)
4296 ("ghc-aeson" ,ghc-aeson)
4297 ("ghc-wai-extra" ,ghc-wai-extra)
4298 ("ghc-wai" ,ghc-wai)
4299 ("ghc-http-types" ,ghc-http-types)))
4300 (home-page "http://github.com/jgm/cheapskate")
4301 (synopsis "Experimental markdown processor")
4302 (description "Cheapskate is an experimental Markdown processor in pure
4303 Haskell. It aims to process Markdown efficiently and in the most forgiving
4304 possible way. It is designed to deal with any input, including garbage, with
4305 linear performance. Output is sanitized by default for protection against XSS
4307 (license license:bsd-3)))
4309 (define-public ghc-bifunctors
4311 (name "ghc-bifunctors")
4317 "http://hackage.haskell.org/package/bifunctors/bifunctors-"
4322 "13990xdgx0n23qgi18ghhmsywj5zkr0a5bim0g8a4nzi0cx95ps1"))))
4323 (build-system haskell-build-system)
4325 `(("ghc-tagged" ,ghc-tagged)
4326 ("ghc-semigroups" ,ghc-semigroups)))
4327 (home-page "http://github.com/ekmett/bifunctors/")
4328 (synopsis "Bifunctors for Haskell")
4329 (description "This package provides bifunctors for Haskell.")
4330 (license license:bsd-3)))
4332 (define-public ghc-semigroupoids
4334 (name "ghc-semigroupoids")
4340 "http://hackage.haskell.org/package/semigroupoids/semigroupoids-"
4345 "1jf7jnfhdvl6p18wdr21yi2fim1xb8alcn6szhrdswj0dkilgq6d"))))
4346 (build-system haskell-build-system)
4348 `(("ghc-base-orphans" ,ghc-base-orphans)
4349 ("ghc-transformers-compat" ,ghc-transformers-compat)
4350 ("ghc-bifunctors" ,ghc-bifunctors)
4351 ("ghc-comonad" ,ghc-comonad)
4352 ("ghc-contravariant" ,ghc-contravariant)
4353 ("ghc-distributive" ,ghc-distributive)))
4354 (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
4356 `(("ghc-semigroups" ,ghc-semigroups)
4357 ("ghc-tagged" ,ghc-tagged)))
4358 (home-page "http://github.com/ekmett/semigroupoids")
4359 (synopsis "Semigroupoids operations for Haskell")
4360 (description "This library provides a wide array of (semi)groupoids and
4361 operations for working with them. A @code{Semigroupoid} is a @code{Category}
4362 without the requirement of identity arrows for every object in the category.
4363 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
4364 Finally, to work with these weaker structures it is beneficial to have
4365 containers that can provide stronger guarantees about their contents, so
4366 versions of @code{Traversable} and @code{Foldable} that can be folded with
4367 just a @code{Semigroup} are added.")
4368 (license license:bsd-3)))
4370 (define-public ghc-contravariant
4372 (name "ghc-contravariant")
4378 "http://hackage.haskell.org/package/contravariant/contravariant-"
4383 "184hcmhsznqrkmqlc1kza9pb5p591anva574ry8wrh81vqmhwfb5"))))
4384 (build-system haskell-build-system)
4386 `(("ghc-void" ,ghc-void)
4387 ("ghc-transformers-compat" ,ghc-transformers-compat)
4388 ("ghc-statevar" ,ghc-statevar)))
4390 `(("ghc-semigroups" ,ghc-semigroups)))
4392 "http://github.com/ekmett/contravariant/")
4393 (synopsis "Contravariant functors")
4394 (description "Contravariant functors for Haskell.")
4395 (license license:bsd-3)))
4397 (define-public ghc-semigroups
4399 (name "ghc-semigroups")
4400 (version "0.17.0.1")
4405 "http://hackage.haskell.org/package/semigroups/semigroups-"
4410 "0gvpfi7s6ys4qha3y9a1zl1a15gf9cgg33wjb94ghg82ivcxnc3r"))))
4411 (build-system haskell-build-system)
4413 `(("ghc-nats" ,ghc-nats)
4414 ("ghc-tagged" ,ghc-tagged)
4415 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4417 `(("ghc-text" ,ghc-text)
4418 ("ghc-hashable" ,ghc-hashable)))
4419 (home-page "http://github.com/ekmett/semigroups/")
4420 (synopsis "Semigroup operations for Haskell")
4421 (description "This package provides semigroups for Haskell. In
4422 mathematics, a semigroup is an algebraic structure consisting of a set
4423 together with an associative binary operation. A semigroup generalizes a
4424 monoid in that there might not exist an identity element. It
4425 also (originally) generalized a group (a monoid with all inverses) to a type
4426 where every element did not have to have an inverse, thus the name
4428 (license license:bsd-3)))
4430 (define-public ghc-free
4438 "http://hackage.haskell.org/package/free/free-"
4443 "0sr8phvrb4ny8j1wzq55rdn8q4br23q4pw2j276npr844825jr9p"))))
4444 (build-system haskell-build-system)
4446 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4447 ("ghc-profunctors" ,ghc-profunctors)
4448 ("ghc-exceptions" ,ghc-exceptions)))
4450 `(("ghc-bifunctors" ,ghc-bifunctors)
4451 ("ghc-comonad" ,ghc-comonad)
4452 ("ghc-distributive" ,ghc-distributive)
4453 ("ghc-mtl" ,ghc-mtl)
4454 ("ghc-semigroupoids" ,ghc-semigroupoids)
4455 ("ghc-semigroups" ,ghc-semigroups)))
4456 (home-page "http://github.com/ekmett/free/")
4457 (synopsis "Unrestricted monads for Haskell")
4458 (description "This library provides free monads, which are useful for many
4459 tree-like structures and domain specific languages. If @code{f} is a
4460 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4461 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4462 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4463 f} makes no constraining assumptions beyond those given by @code{f} and the
4464 definition of @code{Monad}.")
4465 (license license:bsd-3)))
4467 (define-public ghc-adjunctions
4469 (name "ghc-adjunctions")
4475 "http://hackage.haskell.org/package/adjunctions/adjunctions-"
4480 "00p030iypjzjib8pxz1x6mxfi59wvyrwjj11zv9bh766dgkdbwjq"))))
4481 (build-system haskell-build-system)
4483 `(("ghc-profunctors" ,ghc-profunctors)))
4485 `(("ghc-comonad" ,ghc-comonad)
4486 ("ghc-contravariant" ,ghc-contravariant)
4487 ("ghc-distributive" ,ghc-distributive)
4488 ("ghc-free" ,ghc-free)
4489 ("ghc-mtl" ,ghc-mtl)
4490 ("ghc-tagged" ,ghc-tagged)
4491 ("ghc-semigroupoids" ,ghc-semigroupoids)
4492 ("ghc-semigroups" ,ghc-semigroups)
4493 ("ghc-void" ,ghc-void)))
4494 (home-page "http://github.com/ekmett/adjunctions/")
4495 (synopsis "Adjunctions and representable functors")
4496 (description "This library provides adjunctions and representable functors
4498 (license license:bsd-3)))
4500 (define-public ghc-fast-logger
4502 (name "ghc-fast-logger")
4508 "http://hackage.haskell.org/package/fast-logger/fast-logger-"
4513 "0kjk1861qcls8m8y7i55msfpprws5wk6c5mxzi35g2qbl2sih4p5"))))
4514 (build-system haskell-build-system)
4516 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
4517 ("ghc-auto-update" ,ghc-auto-update)))
4519 `(("ghc-hspec" ,ghc-hspec)
4520 ("ghc-text" ,ghc-text)))
4521 (home-page "https://hackage.haskell.org/package/fast-logger")
4522 (synopsis "Fast logging system")
4523 (description "This library provides a fast logging system for Haskell.")
4524 (license license:bsd-3)))
4526 (define-public ghc-doctest
4528 (name "ghc-doctest")
4534 "http://hackage.haskell.org/package/doctest/doctest-"
4539 "1jbyhzbi2hfrfg7vbkpj6vriaap8cn99nnmzwcfscwaijz09jyrm"))))
4540 (build-system haskell-build-system)
4541 (arguments `(#:tests? #f)) ; FIXME: missing test framework
4543 `(("ghc-syb" ,ghc-syb)
4544 ("ghc-paths" ,ghc-paths)))
4546 `(("ghc-base-compat" ,ghc-base-compat)
4547 ("ghc-hunit" ,ghc-hunit)
4548 ("ghc-hspec" ,ghc-hspec)
4549 ("ghc-quickcheck" ,ghc-quickcheck)
4550 ("ghc-stringbuilder" ,ghc-stringbuilder)
4551 ("ghc-silently" ,ghc-silently)
4552 ("ghc-setenv" ,ghc-setenv)))
4554 "https://github.com/sol/doctest#readme")
4555 (synopsis "Test interactive Haskell examples")
4556 (description "The doctest program checks examples in source code comments.
4557 It is modeled after doctest for Python, see
4558 @uref{http://docs.python.org/library/doctest.html, the Doctest website}.")
4559 (license license:expat)))
4561 (define-public ghc-lifted-base
4563 (name "ghc-lifted-base")
4569 "http://hackage.haskell.org/package/lifted-base/lifted-base-"
4574 "1yz14a1rsgknwyl08n4kxrlc26hfwmb95a3c2drbnsgmhdyq7iap"))))
4575 (build-system haskell-build-system)
4576 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
4578 `(("ghc-transformers-base" ,ghc-transformers-base)
4579 ("ghc-monad-control" ,ghc-monad-control)))
4581 `(("ghc-transformers-compat" ,ghc-transformers-compat)
4582 ("ghc-hunit" ,ghc-hunit)))
4583 (home-page "https://github.com/basvandijk/lifted-base")
4584 (synopsis "Lifted IO operations from the base library")
4585 (description "Lifted-base exports IO operations from the @code{base}
4586 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
4587 Note that not all modules from @code{base} are converted yet. The package
4588 includes a copy of the @code{monad-peel} test suite written by Anders
4590 (license license:bsd-3)))
4592 (define-public ghc-word8
4600 "http://hackage.haskell.org/package/word8/word8-"
4605 "1pbn8ra3qhwvw07p375cdmp7jzlg07hgdcr4cpscz3h7b9sy7fiw"))))
4606 (build-system haskell-build-system)
4608 `(("ghc-hspec" ,ghc-hspec)))
4609 (home-page "http://hackage.haskell.org/package/word8")
4610 (synopsis "Word8 library for Haskell")
4611 (description "Word8 library to be used with @code{Data.ByteString}.")
4612 (license license:bsd-3)))
4614 (define-public ghc-stringsearch
4616 (name "ghc-stringsearch")
4622 "http://hackage.haskell.org/package/stringsearch/stringsearch-"
4627 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
4628 (build-system haskell-build-system)
4629 (home-page "https://bitbucket.org/dafis/stringsearch")
4630 (synopsis "Fast searching, splitting and replacing of ByteStrings")
4631 (description "This package provides several functions to quickly search
4632 for substrings in strict or lazy @code{ByteStrings}. It also provides
4633 functions for breaking or splitting on substrings and replacing all
4634 occurrences of a substring (the first in case of overlaps) with another.")
4635 (license license:bsd-3)))
4637 (define-public ghc-tasty-quickcheck
4639 (name "ghc-tasty-quickcheck")
4645 "http://hackage.haskell.org/package/tasty-quickcheck/"
4646 "tasty-quickcheck-" version ".tar.gz"))
4649 "15rjxib5jmjq0hzj47x15kgp3awc73va4cy1pmpf7k3hvfv4qprn"))))
4650 (build-system haskell-build-system)
4652 `(("ghc-quickcheck" ,ghc-quickcheck)))
4654 `(("ghc-tagged" ,ghc-tagged)
4655 ("ghc-tasty" ,ghc-tasty)
4656 ("ghc-random" ,ghc-random)
4657 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
4658 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4659 ("ghc-pcre-light" ,ghc-pcre-light)))
4660 (home-page "http://documentup.com/feuerbach/tasty")
4661 (synopsis "QuickCheck support for the Tasty test framework")
4662 (description "This package provides QuickCheck support for the Tasty
4663 Haskell test framework.")
4664 (license license:expat)))
4666 (define-public ghc-tasty-golden
4668 (name "ghc-tasty-golden")
4674 "http://hackage.haskell.org/package/tasty-golden/tasty-golden-"
4679 "0n7nll1sx75n3lffwhgnjrxdn0jz1g0921z9mj193fxqw0wz8axh"))))
4680 (build-system haskell-build-system)
4682 `(("ghc-temporary" ,ghc-temporary)))
4684 `(("ghc-tasty" ,ghc-tasty)
4685 ("ghc-mtl" ,ghc-mtl)
4686 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
4687 ("ghc-tagged" ,ghc-tagged)
4688 ("ghc-async" ,ghc-async)
4689 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4690 ("ghc-temporary-rc" ,ghc-temporary-rc)))
4692 "https://github.com/feuerbach/tasty-golden")
4693 (synopsis "Golden tests support for tasty")
4695 "This package provides support for 'golden testing'. A golden test is an
4696 IO action that writes its result to a file. To pass the test, this output
4697 file should be identical to the corresponding 'golden' file, which contains
4698 the correct result for the test.")
4699 (license license:expat)))
4701 (define-public ghc-tasty
4704 (version "0.11.0.1")
4709 "http://hackage.haskell.org/package/tasty/tasty-"
4714 "1chapivmmwsb1ghwagvdm80bfj3hdk75m94z4p212ng2i4ghpjkx"))))
4715 (build-system haskell-build-system)
4717 `(("ghc-stm" ,ghc-stm)
4718 ("ghc-mtl" ,ghc-mtl)
4719 ("ghc-tagged" ,ghc-tagged)
4720 ("ghc-regex-tdfa-rc" ,ghc-regex-tdfa-rc)
4721 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
4722 ("ghc-unbounded-delays" ,ghc-unbounded-delays)
4723 ("ghc-async" ,ghc-async)
4724 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
4725 ("ghc-clock-bootstrap" ,ghc-clock-bootstrap)))
4726 (home-page "http://documentup.com/feuerbach/tasty")
4727 (synopsis "Modern and extensible testing framework")
4728 (description "Tasty is a modern testing framework for Haskell. It lets
4729 you combine your unit tests, golden tests, QuickCheck/SmallCheck properties,
4730 and any other types of tests into a single test suite.")
4731 (license license:expat)))
4733 (define-public ghc-tasty-hunit
4735 (name "ghc-tasty-hunit")
4741 "http://hackage.haskell.org/package/tasty-hunit/tasty-hunit-"
4746 "08qnxaw34wfnzi9irs1jd4d0zczqm3k5ffkd4zwhkz0dflmgq7mf"))))
4747 (build-system haskell-build-system)
4749 `(("ghc-tasty" ,ghc-tasty)))
4750 (home-page "http://documentup.com/feuerbach/tasty")
4751 (synopsis "HUnit support for the Tasty test framework")
4752 (description "This package provides HUnit support for the Tasty Haskell
4754 (license license:expat)))
4756 (define-public ghc-cookie
4764 "http://hackage.haskell.org/package/cookie/cookie-"
4769 "0b6ym6fn29p5az4dwydy036lxj131kagrmgb93w4bbkqfkds8b9s"))))
4770 (build-system haskell-build-system)
4772 `(("ghc-old-locale" ,ghc-old-locale)))
4774 `(("ghc-blaze-builder" ,ghc-blaze-builder)
4775 ("ghc-text" ,ghc-text)
4776 ("ghc-data-default-class" ,ghc-data-default-class)
4777 ("ghc-hunit" ,ghc-hunit)
4778 ("ghc-quickcheck" ,ghc-quickcheck)
4779 ("ghc-tasty" ,ghc-tasty)
4780 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4781 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
4782 (home-page "http://github.com/snoyberg/cookie")
4783 (synopsis "HTTP cookie parsing and rendering")
4784 (description "HTTP cookie parsing and rendering library for Haskell.")
4785 (license license:bsd-3)))
4787 (define-public ghc-scientific
4789 (name "ghc-scientific")
4795 "http://hackage.haskell.org/package/scientific/scientific-"
4800 "0mimdkva0cgzaychr6whv9if29z0r5wwhkss9bmd4rz8kq1kgngn"))))
4801 (build-system haskell-build-system)
4803 `(("ghc-hashable" ,ghc-hashable)
4804 ("ghc-vector" ,ghc-vector)))
4806 `(("ghc-text" ,ghc-text)
4807 ("ghc-tasty" ,ghc-tasty)
4808 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
4809 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4810 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
4811 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
4812 ("ghc-smallcheck" ,ghc-smallcheck)
4813 ("ghc-quickcheck" ,ghc-quickcheck)))
4814 (home-page "https://github.com/basvandijk/scientific")
4815 (synopsis "Numbers represented using scientific notation")
4816 (description "This package provides @code{Data.Scientific}, which provides
4817 the number type @code{Scientific}. Scientific numbers are arbitrary precision
4818 and space efficient. They are represented using
4819 @uref{http://en.wikipedia.org/wiki/Scientific_notation, scientific
4821 (license license:bsd-3)))
4823 (define-public ghc-aeson
4826 (version "0.10.0.0")
4831 "http://hackage.haskell.org/package/aeson/aeson-"
4836 "19kp33rfivr4d3myyr8xn803wd7p8x5nc4wb3qvlgjwgyqjaxvrz"))))
4837 (build-system haskell-build-system)
4838 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
4840 `(("ghc-attoparsec" ,ghc-attoparsec)
4841 ("ghc-dlist" ,ghc-dlist)
4842 ("ghc-mtl" ,ghc-mtl)
4843 ("ghc-scientific" ,ghc-scientific)
4844 ("ghc-syb" ,ghc-syb)
4845 ("ghc-unordered-containers" ,ghc-unordered-containers)
4846 ("ghc-vector" ,ghc-vector)))
4848 `(("ghc-hashable" ,ghc-hashable)
4849 ("ghc-text" ,ghc-text)
4850 ("ghc-hunit" ,ghc-hunit)
4851 ("ghc-quickcheck" ,ghc-quickcheck)))
4852 (home-page "https://github.com/bos/aeson")
4853 (synopsis "Fast JSON parsing and encoding")
4854 (description "This package provides a JSON parsing and encoding library
4855 for Haskell, optimized for ease of use and high performance. (A note on
4856 naming: in Greek mythology, Aeson was the father of Jason.)")
4857 (license license:bsd-3)))
4859 (define-public ghc-wai
4867 "http://hackage.haskell.org/package/wai/wai-"
4872 "1551n0g0n22vml33v0jz5xgjcy6j79algvsdqg11a1z5ljjrjlqf"))))
4873 (build-system haskell-build-system)
4875 `(("ghc-bytestring-builder" ,ghc-bytestring-builder)
4876 ("ghc-unix-compat" ,ghc-unix-compat)
4877 ("ghc-vault" ,ghc-vault)
4878 ("ghc-blaze-builder" ,ghc-blaze-builder)
4879 ("ghc-network" ,ghc-network)))
4881 `(("ghc-quickcheck" ,ghc-quickcheck)
4882 ("ghc-hunit" ,ghc-hunit)
4883 ("ghc-hspec" ,ghc-hspec)
4884 ("ghc-text" ,ghc-text)
4885 ("ghc-http-types" ,ghc-http-types)))
4886 (home-page "https://hackage.haskell.org/package/wai")
4887 (synopsis "Web application interface for Haskell")
4888 (description "This package provides a Web Application Interface (WAI)
4889 library for the Haskell language. It defines a common protocol for
4890 communication between web applications and web servers.")
4891 (license license:bsd-3)))
4893 (define-public ghc-wai-logger
4895 (name "ghc-wai-logger")
4901 "http://hackage.haskell.org/package/wai-logger/wai-logger-"
4906 "1s6svvy3ci4j1dj1jaw8hg628miwj8f5gpy9n8d8hpsaxav6nzgk"))))
4907 (build-system haskell-build-system)
4908 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find libraries exported
4909 ; by propagated-inputs.
4911 `(("ghc-auto-update" ,ghc-auto-update)
4912 ("ghc-byteorder" ,ghc-byteorder)
4913 ("ghc-easy-file" ,ghc-easy-file)
4914 ("ghc-unix-time" ,ghc-unix-time)))
4916 `(("ghc-blaze-builder" ,ghc-blaze-builder)
4917 ("ghc-case-insensitive" ,ghc-case-insensitive)
4918 ("ghc-fast-logger" ,ghc-fast-logger)
4919 ("ghc-http-types" ,ghc-http-types)
4920 ("ghc-network" ,ghc-network)
4921 ("ghc-wai" ,ghc-wai)))
4922 (home-page "http://hackage.haskell.org/package/wai-logger")
4923 (synopsis "Logging system for WAI")
4924 (description "This package provides the logging system for WAI.")
4925 (license license:bsd-3)))
4927 (define-public ghc-wai-extra
4929 (name "ghc-wai-extra")
4930 (version "3.0.11.1")
4935 "http://hackage.haskell.org/package/wai-extra/wai-extra-"
4940 "1kr2s5qyx1dvnwr372h7pca4sgxjv0pdx96xkgsfi180h3mb0vq8"))))
4941 (build-system haskell-build-system)
4943 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
4944 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
4945 ("ghc-cookie" ,ghc-cookie)
4946 ("ghc-blaze-builder" ,ghc-blaze-builder)
4947 ("ghc-network" ,ghc-network)
4948 ("ghc-lifted-base" ,ghc-lifted-base)
4949 ("ghc-streaming-commons" ,ghc-streaming-commons)
4950 ("ghc-stringsearch" ,ghc-stringsearch)
4951 ("ghc-resourcet" ,ghc-resourcet)
4952 ("ghc-fast-logger" ,ghc-fast-logger)
4953 ("ghc-wai-logger" ,ghc-wai-logger)
4954 ("ghc-zlib" ,ghc-zlib)
4955 ("ghc-word8" ,ghc-word8)
4956 ("ghc-iproute" ,ghc-iproute)
4957 ("ghc-void" ,ghc-void)))
4959 `(("ghc-wai" ,ghc-wai)
4960 ("ghc-http-types" ,ghc-http-types)
4961 ("ghc-text" ,ghc-text)
4962 ("ghc-case-insensitive" ,ghc-case-insensitive)
4963 ("ghc-data-default-class" ,ghc-data-default-class)
4964 ("ghc-unix-compat" ,ghc-unix-compat)
4965 ("ghc-vault" ,ghc-vault)
4966 ("ghc-aeson" ,ghc-aeson)
4967 ("ghc-hspec" ,ghc-hspec)
4968 ("ghc-hunit" ,ghc-hunit)))
4969 (home-page "http://github.com/yesodweb/wai")
4970 (synopsis "Some basic WAI handlers and middleware")
4971 (description "This library provides basic WAI handlers and middleware
4973 (license license:expat)))
4975 (define-public ghc-deepseq-generics
4977 (name "ghc-deepseq-generics")
4981 (uri (string-append "http://hackage.haskell.org/package/"
4982 "deepseq-generics/deepseq-generics-"
4986 "01pvigx8n9p8hwbzp2qiq6kzf7cxiam843jz2sjgliacmmp1v7l3"))))
4987 (build-system haskell-build-system)
4990 (modify-phases %standard-phases
4991 (add-after 'unpack 'relax-ghc-prim-dependency
4993 (substitute* "deepseq-generics.cabal"
4994 (("< 0.4") "< 0.5"))
4997 `(("ghc-hunit" ,ghc-hunit)
4998 ("ghc-test-framework" ,ghc-test-framework)
4999 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5000 (home-page "https://github.com/hvr/deepseq-generics")
5001 (synopsis "Generic RNF implementation")
5003 "This package provides a @code{GHC.Generics}-based
5004 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
5005 providing an 'rnf' implementation.")
5006 (license license:bsd-3)))
5008 (define-public ghc-pandoc-types
5010 (name "ghc-pandoc-types")
5011 (version "1.12.4.7")
5014 (uri (string-append "http://hackage.haskell.org/package/"
5015 "pandoc-types/pandoc-types-"
5019 "108n11kbdaj2ii3cyf0xczhsx90p1gjbxwqp1f0wyn2m3cls632n"))))
5020 (build-system haskell-build-system)
5022 `(("ghc-syb" ,ghc-syb)
5023 ("ghc-aeson" ,ghc-aeson)
5024 ("ghc-deepseq-generics" ,ghc-deepseq-generics)))
5025 (home-page "http://johnmacfarlane.net/pandoc")
5026 (synopsis "Types for representing a structured document")
5028 "This module defines the @code{Pandoc} data structure, which is used by
5029 pandoc to represent structured documents. It also provides functions for
5030 building up, manipulating and serialising @code{Pandoc} structures.")
5031 (license license:bsd-3)))
5033 (define-public ghc-texmath
5035 (name "ghc-texmath")
5039 (uri (string-append "http://hackage.haskell.org/package/"
5040 "texmath/texmath-" version ".tar.gz"))
5043 "15821jg64fbr4rwaglp5ksah6q8qqz1vkjxlqp6d3bbb1rj8v2ri"))))
5044 (build-system haskell-build-system)
5046 `(("ghc-syb" ,ghc-syb)
5047 ("ghc-network-uri" ,ghc-network-uri)
5048 ("ghc-split" ,ghc-split)
5049 ("ghc-temporary" ,ghc-temporary)
5050 ("ghc-utf8-string" ,ghc-utf8-string)
5051 ("ghc-xml" ,ghc-xml)
5052 ("ghc-parsec" ,ghc-parsec)
5053 ("ghc-mtl" ,ghc-mtl)
5054 ("ghc-pandoc-types" ,ghc-pandoc-types)))
5055 (home-page "http://github.com/jgm/texmath")
5056 (synopsis "Conversion between formats used to represent mathematics")
5058 "The texmath library provides functions to read and write TeX math,
5059 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
5060 Office). Support is also included for converting math formats to pandoc's
5061 native format (allowing conversion, via pandoc, to a variety of different
5062 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
5063 it can parse and apply LaTeX macros.")
5064 (license license:gpl2+)))
5066 (define-public ghc-regex-pcre-builtin
5068 (name "ghc-regex-pcre-builtin")
5069 (version "0.94.4.8.8.35")
5072 (uri (string-append "http://hackage.haskell.org/package/"
5073 "regex-pcre-builtin/regex-pcre-builtin-"
5077 "0y7as9wqlkykpipka2cfdhmcnin345q01pp0wsva8fwmvsavdl8b"))))
5078 (build-system haskell-build-system)
5080 `(("ghc-regex-base" ,ghc-regex-base)))
5081 (home-page "http://hackage.haskell.org/package/regex-pcre")
5082 (synopsis "Enhancement of the builtin Text.Regex library")
5084 "This package is an enhancement of the @code{Text.Regex} library,
5085 providing the PCRE backend to accompany regex-base, with bundled code from
5086 @url{http://www.pcre.org}.")
5087 (license license:bsd-3)))
5089 (define-public ghc-diff
5095 (uri (string-append "http://hackage.haskell.org/package/"
5096 "Diff/Diff-" version ".tar.gz"))
5099 "13iqqmpadcm7fvqwbfrz94w030rvjh66w2bdls1253128ac2n0vz"))))
5100 (build-system haskell-build-system)
5101 (home-page "http://hub.darcs.net/sterlingclover/Diff")
5102 (synopsis "O(ND) diff algorithm in Haskell")
5104 "This package provides an implementation of the standard diff algorithm,
5105 and utilities for pretty printing.")
5106 (license license:bsd-3)))
5108 (define-public ghc-highlighting-kate
5110 (name "ghc-highlighting-kate")
5114 (uri (string-append "http://hackage.haskell.org/package/"
5115 "highlighting-kate/highlighting-kate-"
5119 "16334fbiyq6017zbgc59qc00h0bk24xh4dcrbqx63dvf72ac37dk"))))
5120 (build-system haskell-build-system)
5122 `(("ghc-diff" ,ghc-diff)
5123 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5125 `(("ghc-parsec" ,ghc-parsec)
5126 ("ghc-blaze-html" ,ghc-blaze-html)
5127 ("ghc-utf8-string" ,ghc-utf8-string)
5128 ("ghc-mtl" ,ghc-mtl)))
5129 (home-page "http://github.com/jgm/highlighting-kate")
5130 (synopsis "Syntax highlighting library")
5132 "Highlighting-kate is a syntax highlighting library with support for
5133 nearly one hundred languages. The syntax parsers are automatically generated
5134 from @uref{http://kate-editor.org/, Kate syntax descriptions}, so any syntax
5135 supported by Kate can be added. An (optional) command-line program is
5136 provided, along with a utility for generating new parsers from Kate XML syntax
5138 (license license:gpl2+)))
5140 (define-public ghc-cmark
5146 (uri (string-append "http://hackage.haskell.org/package/"
5147 "cmark/cmark-" version ".tar.gz"))
5150 "0c134qh65viaq4q6pv7bnnr5wchzivg94nv0dj8pc1326sx0dw12"))))
5151 (build-system haskell-build-system)
5153 `(("ghc-text" ,ghc-text)))
5155 `(("ghc-hunit" ,ghc-hunit)))
5156 (home-page "https://github.com/jgm/commonmark-hs")
5157 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
5159 "This package provides Haskell bindings for
5160 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
5161 CommonMark, a fully specified variant of Markdown. It includes sources for
5162 libcmark (0.21.0) and does not require prior installation of the C library.")
5163 (license license:bsd-3)))
5165 (define-public ghc-executable-path
5167 (name "ghc-executable-path")
5171 (uri (string-append "http://hackage.haskell.org/package/"
5172 "executable-path/executable-path-"
5176 "1jg58qf19qz93c60ryglcavwdcysz4fd4qn8kpw5im9w9kniawlc"))))
5177 (build-system haskell-build-system)
5178 (home-page "http://hackage.haskell.org/package/executable-path")
5179 (synopsis "Find out the full path of the executable")
5181 "The documentation of @code{System.Environment.getProgName} says that
5182 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
5183 instead, for maximum portability, we just return the leafname of the program
5184 as invoked.\" This library tries to provide the missing path.")
5185 (license license:public-domain)))
5187 (define-public ghc-enclosed-exceptions
5189 (name "ghc-enclosed-exceptions")
5193 (uri (string-append "http://hackage.haskell.org/package/"
5194 "enclosed-exceptions/enclosed-exceptions-"
5198 "16ax1kqdsk4apg642qxkm2hf9vb5hzmkd14zmkxra8ssp8rn28z5"))))
5199 (build-system haskell-build-system)
5201 `(("ghc-lifted-base" ,ghc-lifted-base)
5202 ("ghc-monad-control" ,ghc-monad-control)
5203 ("ghc-async" ,ghc-async)
5204 ("ghc-transformers-base" ,ghc-transformers-base)))
5206 `(("ghc-hspec" ,ghc-hspec)
5207 ("ghc-quickcheck" ,ghc-quickcheck)))
5208 (home-page "https://github.com/jcristovao/enclosed-exceptions")
5209 (synopsis "Catch all exceptions from within an enclosed computation")
5211 "This library implements a technique to catch all exceptions raised
5212 within an enclosed computation, while remaining responsive to (external)
5213 asynchronous exceptions.")
5214 (license license:expat)))
5216 (define-public ghc-packedstring
5218 (name "ghc-packedstring")
5222 (uri (string-append "http://hackage.haskell.org/package/"
5223 "packedstring/packedstring-"
5227 "1x78pzzdlnpcmh9p37rlf8m5cxf3yqm2alf3whl4zpr9w25r0qj8"))))
5228 (build-system haskell-build-system)
5231 (modify-phases %standard-phases
5232 (add-after 'unpack 'enable-extension
5234 ;; This package won't compile without the StandaloneDeriving
5236 (substitute* "packedstring.cabal"
5237 (("CPP") "CPP, StandaloneDeriving"))
5239 (home-page "http://hackage.haskell.org/package/packedstring")
5240 (synopsis "Library for packed strings")
5242 "This deprecated library provides an implementation of packed strings.")
5243 (license license:bsd-3)))
5245 (define-public ghc-th-lift
5247 (name "ghc-th-lift")
5251 (uri (string-append "http://hackage.haskell.org/package/"
5252 "th-lift/th-lift-" version ".tar.gz"))
5255 "13xdkk1chdghf059sfx8d3d8r0mj1dbzdi5kf2zf0mjmz3qq7m7k"))))
5256 (build-system haskell-build-system)
5258 `(("ghc-packedstring" ,ghc-packedstring)))
5259 (home-page "http://github.com/mboes/th-lift")
5260 (synopsis "Derive Template Haskell's Lift class for datatypes")
5262 "This is a Haskell library to derive Template Haskell's Lift class for
5264 (license license:bsd-3)))
5266 (define-public ghc-th-expand-syns
5268 (name "ghc-th-expand-syns")
5272 (uri (string-append "http://hackage.haskell.org/package/"
5273 "th-expand-syns/th-expand-syns-"
5277 "03qv93pyqk8all39knsf0mzmbfdck5x61kqnyn8rbisw5c1ymx6j"))))
5278 (build-system haskell-build-system)
5280 `(("ghc-syb" ,ghc-syb)))
5281 (home-page "http://hackage.haskell.org/package/th-expand-syns")
5282 (synopsis "Expands type synonyms in Template Haskell ASTs")
5284 "This package enables users to expand type synonyms in Template Haskell
5285 @dfn{abstract syntax trees} (ASTs).")
5286 (license license:bsd-3)))
5288 (define-public ghc-th-reify-many
5290 (name "ghc-th-reify-many")
5294 (uri (string-append "http://hackage.haskell.org/package/"
5295 "th-reify-many/th-reify-many-"
5299 "00hryljcs434wcv1vaamfdbjk857f46djxv7mlwplkl3zsmfhlfx"))))
5300 (build-system haskell-build-system)
5302 `(("ghc-mtl" ,ghc-mtl)
5303 ("ghc-safe" ,ghc-safe)
5304 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
5305 (home-page "http://github.com/mgsloan/th-reify-many")
5306 (synopsis "Recurseively reify template haskell datatype info")
5308 "th-reify-many provides functions for recursively reifying top level
5309 declarations. The main intended use case is for enumerating the names of
5310 datatypes reachable from an initial datatype, and passing these names to some
5311 function which generates instances.")
5312 (license license:bsd-3)))
5314 (define-public ghc-th-orphans
5316 (name "ghc-th-orphans")
5320 (uri (string-append "http://hackage.haskell.org/package/"
5321 "th-orphans/th-orphans-" version ".tar.gz"))
5324 "105y03bxh0a2r69l603i7md17gg1vxs1jj1n40pn5q486lmfxbmx"))))
5325 (build-system haskell-build-system)
5327 `(("ghc-th-lift" ,ghc-th-lift)
5328 ("ghc-th-reify-many" ,ghc-th-reify-many)
5329 ("ghc-mtl" ,ghc-mtl)
5330 ("ghc-generic-deriving" ,ghc-generic-deriving)))
5332 `(("ghc-hspec" ,ghc-hspec)))
5333 (home-page "http://hackage.haskell.org/package/th-orphans")
5334 (synopsis "Orphan instances for TH datatypes")
5336 "This package provides orphan instances for Template Haskell datatypes. In particular,
5337 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
5338 and @code{Eq} instances. These instances used to live in the haskell-src-meta
5339 package, and that's where the version number started.")
5340 (license license:bsd-3)))
5342 (define-public ghc-haskell-src-meta
5344 (name "ghc-haskell-src-meta")
5345 (version "0.6.0.12")
5348 (uri (string-append "http://hackage.haskell.org/package/"
5349 "haskell-src-meta/haskell-src-meta-"
5353 "1mzbfrfvl6pj8068w3m6alzry1403ir1gmz3czg66n5z198l4dql"))))
5354 (build-system haskell-build-system)
5356 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5357 ("ghc-syb" ,ghc-syb)
5358 ("ghc-th-orphans" ,ghc-th-orphans)))
5359 (home-page "http://hackage.haskell.org/package/haskell-src-meta")
5360 (synopsis "Parse source to template-haskell abstract syntax")
5362 "This package provides tools to parse Haskell sources to the
5363 template-haskell abstract syntax.")
5364 (license license:bsd-3)))
5366 (define-public ghc-aeson-qq
5368 (name "ghc-aeson-qq")
5372 (uri (string-append "http://hackage.haskell.org/package/"
5373 "aeson-qq/aeson-qq-" version ".tar.gz"))
5376 "1z8kh3qjc4khadz1ijdqm7fbk7dh17sisqhpwd3c9aibj2927k9d"))))
5377 (build-system haskell-build-system)
5379 `(("ghc-base-compat" ,ghc-base-compat)
5380 ("ghc-text" ,ghc-text)
5381 ("ghc-attoparsec" ,ghc-attoparsec)
5382 ("ghc-scientific" ,ghc-scientific)
5383 ("ghc-vector" ,ghc-vector)
5384 ("ghc-aeson" ,ghc-aeson)
5385 ("ghc-parsec" ,ghc-parsec)
5386 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
5388 `(("ghc-hspec" ,ghc-hspec)))
5389 (home-page "http://github.com/zalora/aeson-qq")
5390 (synopsis "JSON quasiquoter for Haskell")
5392 "aeson-qq provides a JSON quasiquoter for Haskell. This package exposes
5393 the function @code{aesonQQ} that compile-time converts a string representation
5394 of a JSON value into a @code{Data.Aeson.Value}.")
5395 (license license:expat)))
5397 (define-public ghc-conduit
5399 (name "ghc-conduit")
5403 (uri (string-append "http://hackage.haskell.org/package/"
5404 "conduit/conduit-" version ".tar.gz"))
5407 "0aq6wswd5dkhdmy7sjhd99mldpq33dqpgbdcwpm94ahvckqxs7v5"))))
5408 (build-system haskell-build-system)
5410 `(("ghc-exceptions" ,ghc-exceptions)
5411 ("ghc-lifted-base" ,ghc-lifted-base)
5412 ("ghc-mmorph" ,ghc-mmorph)
5413 ("ghc-mtl" ,ghc-mtl)
5414 ("ghc-resourcet" ,ghc-resourcet)
5415 ("ghc-transformers-base" ,ghc-transformers-base)
5416 ("ghc-void" ,ghc-void)))
5418 `(("ghc-quickcheck" ,ghc-quickcheck)
5419 ("ghc-hspec" ,ghc-hspec)
5420 ("ghc-safe" ,ghc-safe)))
5421 (home-page "https://github.com/snoyberg/conduit")
5422 (synopsis "Streaming data library ")
5424 "conduit is a solution to the streaming data problem, allowing for
5425 production, transformation, and consumption of streams of data in constant
5426 memory. It is an alternative to lazy I/O which guarantees deterministic
5427 resource handling, and fits in the same general solution space as
5428 enumerator/iteratee and pipes." )
5429 (license license:expat)))
5431 (define-public ghc-logging-facade
5433 (name "ghc-logging-facade")
5437 (uri (string-append "http://hackage.haskell.org/package/"
5438 "logging-facade/logging-facade-"
5442 "0zhdbjyj0j9by19rma9alxysrxnnl3s4kks4zk4bx0dg5xa0264y"))))
5443 (build-system haskell-build-system)
5445 `(("ghc-hspec" ,ghc-hspec)))
5446 (home-page "http://hackage.haskell.org/package/logging-facade")
5447 (synopsis "Simple logging abstraction that allows multiple back-ends")
5449 "This package provides a simple logging abstraction that allows multiple
5451 (license license:expat)))
5453 (define-public ghc-mockery
5455 (name "ghc-mockery")
5459 (uri (string-append "http://hackage.haskell.org/package/"
5460 "mockery/mockery-" version ".tar.gz"))
5463 "0m0lp2z63sgkylz5318j53r5hnrkp705qh7nqbb149ir4gy7g1bg"))))
5464 (build-system haskell-build-system)
5466 `(("ghc-temporary" ,ghc-temporary)
5467 ("ghc-logging-facade" ,ghc-logging-facade)))
5469 `(("ghc-hspec" ,ghc-hspec)))
5470 (home-page "http://hackage.haskell.org/package/mockery")
5471 (synopsis "Support functions for automated testing")
5473 "The mockery package provides support functions for automated testing.")
5474 (license license:expat)))
5476 (define-public ghc-yaml
5479 (version "0.8.15.1")
5482 (uri (string-append "http://hackage.haskell.org/package/"
5483 "yaml/yaml-" version ".tar.gz"))
5486 "0v6c435xmgm99zxb30pqr7lhkb2a56wxqp70g4hjz8p7rj0vichx"))))
5487 (build-system haskell-build-system)
5489 `(("ghc-conduit" ,ghc-conduit)
5490 ("ghc-resourcet" ,ghc-resourcet)
5491 ("ghc-aeson" ,ghc-aeson)
5492 ("ghc-unordered-containers" ,ghc-unordered-containers)
5493 ("ghc-vector" ,ghc-vector)
5494 ("ghc-text" ,ghc-text)
5495 ("ghc-attoparsec" ,ghc-attoparsec)
5496 ("ghc-scientific" ,ghc-scientific)
5497 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
5498 ("ghc-aeson-qq" ,ghc-aeson-qq)
5499 ("ghc-base-compat" ,ghc-base-compat)))
5501 `(("ghc-hspec" ,ghc-hspec)
5502 ("ghc-hunit" ,ghc-hunit)
5503 ("ghc-mockery" ,ghc-mockery)))
5504 (home-page "http://github.com/snoyberg/yaml/")
5505 (synopsis "Parsing and rendering YAML documents")
5507 "This package provides a library to parse and render YAML documents.")
5508 (license license:bsd-3)))
5510 (define-public ghc-filemanip
5512 (name "ghc-filemanip")
5516 (uri (string-append "http://hackage.haskell.org/package/"
5517 "filemanip/filemanip-" version ".tar.gz"))
5520 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
5521 (build-system haskell-build-system)
5523 `(("ghc-mtl" ,ghc-mtl)
5524 ("ghc-unix-compat" ,ghc-unix-compat)))
5525 (home-page "https://github.com/bos/filemanip")
5526 (synopsis "File and directory manipulation for Haskell")
5528 "This package provides a Haskell library for working with files and
5529 directories. It includes code for pattern matching, finding files, modifying
5530 file contents, and more.")
5531 (license license:bsd-3)))
5533 (define-public ghc-mmap
5539 (uri (string-append "http://hackage.haskell.org/package/"
5540 "mmap/mmap-" version ".tar.gz"))
5543 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
5544 (build-system haskell-build-system)
5545 (home-page "http://hackage.haskell.org/package/mmap")
5546 (synopsis "Memory mapped files for Haskell")
5548 "This library provides a wrapper to @code{mmap}, allowing files or
5549 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
5550 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
5551 do on-demand loading.")
5552 (license license:bsd-3)))
5554 (define-public ghc-juicypixels
5556 (name "ghc-juicypixels")
5560 (uri (string-append "http://hackage.haskell.org/package/"
5561 "JuicyPixels/JuicyPixels-"
5565 "0hxa57cdknz86zywpjwfbdhac5lmk7j0wd5hy4mcnb8mw6r2m592"))))
5566 (build-system haskell-build-system)
5568 `(("ghc-mtl" ,ghc-mtl)
5569 ("ghc-zlib" ,ghc-zlib)
5570 ("ghc-vector" ,ghc-vector)
5571 ("ghc-primitive" ,ghc-primitive)
5572 ("ghc-mmap" ,ghc-mmap)))
5573 (home-page "https://github.com/Twinside/Juicy.Pixels")
5574 (synopsis "Picture loading and serialization library")
5576 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
5577 TIFF and GIF formats.")
5578 (license license:bsd-3)))
5580 (define-public ghc-sha
5586 (uri (string-append "http://hackage.haskell.org/package/"
5587 "SHA/SHA-" version ".tar.gz"))
5590 "134ajm87fm4lpsw86m9q8apv20dw4bpk46raa389zr6bcdpifw64"))))
5591 (build-system haskell-build-system)
5593 `(("ghc-quickcheck" ,ghc-quickcheck)
5594 ("ghc-test-framework" ,ghc-test-framework)
5595 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
5596 (home-page "http://hackage.haskell.org/package/SHA")
5597 (synopsis "SHA suite of message digest functions")
5599 "This library implements the SHA suite of message digest functions,
5600 according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as the
5601 SHA-based HMAC routines. The functions have been tested against most of the
5602 NIST and RFC test vectors for the various functions. While some attention has
5603 been paid to performance, these do not presently reach the speed of well-tuned
5604 libraries, like OpenSSL.")
5605 (license license:bsd-3)))
5607 (define-public ghc-hslua
5613 (uri (string-append "http://hackage.haskell.org/package/"
5614 "hslua/hslua-" version ".tar.gz"))
5617 "0gqp6qhp4v24kzv2j49kgk7bxqzw0w10x0zr0r2j9wkfavqb9wid"))))
5618 (build-system haskell-build-system)
5620 `(#:configure-flags '("-fsystem-lua")))
5622 `(("lua" ,lua-5.1)))
5624 `(("ghc-text" ,ghc-text)))
5626 `(("ghc-hspec" ,ghc-hspec)
5627 ("ghc-hspec-contrib" ,ghc-hspec-contrib)
5628 ("ghc-hunit" ,ghc-hunit)
5629 ("ghc-quickcheck" ,ghc-quickcheck)
5630 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
5631 (home-page "http://hackage.haskell.org/package/hslua")
5632 (synopsis "Lua language interpreter embedding in Haskell")
5634 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
5635 described in @url{http://www.lua.org/}.")
5636 (license license:expat)))
5638 (define-public ghc-mime-types
5640 (name "ghc-mime-types")
5644 (uri (string-append "http://hackage.haskell.org/package/"
5645 "mime-types/mime-types-"
5649 "090z3dp928243amnc6s8g10rk2h2bprk9y138q6wj3cpflzr72pw"))))
5650 (build-system haskell-build-system)
5652 `(("ghc-text" ,ghc-text)))
5653 (home-page "https://github.com/yesodweb/wai")
5654 (synopsis "Basic MIME type handling types and functions")
5656 "This library provides basic MIME type handling types and functions.")
5657 (license license:expat)))
5659 (define-public ghc-http-client
5661 (name "ghc-http-client")
5665 (uri (string-append "http://hackage.haskell.org/package/"
5666 "http-client/http-client-"
5670 "0xz133kdfiyy2rm6z95bmvjj6y2540xzd86cfmdv9s6kz4p1ir4k"))))
5671 (build-system haskell-build-system)
5672 ;; Tests require access to the web.
5673 (arguments `(#:tests? #f))
5675 `(("ghc-text" ,ghc-text)
5676 ("ghc-http-types" ,ghc-http-types)
5677 ("ghc-blaze-builder" ,ghc-blaze-builder)
5678 ("ghc-data-default-class" ,ghc-data-default-class)
5679 ("ghc-network" ,ghc-network)
5680 ("ghc-streaming-commons" ,ghc-streaming-commons)
5681 ("ghc-case-insensitive" ,ghc-case-insensitive)
5682 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
5683 ("ghc-cookie" ,ghc-cookie)
5684 ("ghc-exceptions" ,ghc-exceptions)
5685 ("ghc-random" ,ghc-random)
5686 ("ghc-mime-types" ,ghc-mime-types)
5687 ("ghc-network-uri" ,ghc-network-uri)
5688 ("ghc-monad-control" ,ghc-monad-control)
5689 ("ghc-zlib" ,ghc-zlib)
5690 ("ghc-async" ,ghc-async)))
5692 `(("ghc-hspec" ,ghc-hspec)))
5693 (home-page "https://github.com/snoyberg/http-client")
5694 (synopsis "HTTP client engine")
5696 "This package provides an HTTP client engine, intended as a base layer
5697 for more user-friendly packages.")
5698 (license license:expat)))
5700 (define-public ghc-byteable
5702 (name "ghc-byteable")
5706 (uri (string-append "http://hackage.haskell.org/package/"
5707 "byteable/byteable-" version ".tar.gz"))
5710 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
5711 (build-system haskell-build-system)
5712 (home-page "http://github.com/vincenthz/hs-byteable")
5713 (synopsis "Type class for sequence of bytes")
5715 "This package provides an abstract class to manipulate sequence of bytes.
5716 The use case of this class is abstracting manipulation of types that are just
5717 wrapping a bytestring with stronger and more meaniful name.")
5718 (license license:bsd-3)))
5720 (define-public ghc-hourglass
5722 (name "ghc-hourglass")
5726 (uri (string-append "http://hackage.haskell.org/package/"
5727 "hourglass/hourglass-" version ".tar.gz"))
5730 "1xha17nwzxdjizbcp63d2142c6q051y77facs7xribgcl5iz2m4v"))))
5731 (build-system haskell-build-system)
5733 `(("ghc-mtl" ,ghc-mtl)
5734 ("ghc-old-locale" ,ghc-old-locale)))
5736 `(("ghc-tasty" ,ghc-tasty)
5737 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5738 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5739 (home-page "https://github.com/vincenthz/hs-hourglass")
5740 (synopsis "Simple time-related library for Haskell")
5742 "This is a simple time library providing a simple but powerful and
5743 performant API. The backbone of the library are the @code{Timeable} and
5744 @code{Time} type classes. Each @code{Timeable} instances can be converted to
5745 a type that has a @code{Time} instances, and thus are different
5746 representations of current time.")
5747 (license license:bsd-3)))
5749 (define-public ghc-pem
5755 (uri (string-append "http://hackage.haskell.org/package/"
5756 "pem/pem-" version ".tar.gz"))
5759 "162sk5sg22w21wqz5qv8kx6ibxp99v5p20g3nknhm1kddk3hha1p"))))
5760 (build-system haskell-build-system)
5762 `(("ghc-mtl" ,ghc-mtl)
5763 ("ghc-base64-bytestring" ,ghc-base64-bytestring)))
5765 `(("ghc-test-framework" ,ghc-test-framework)
5766 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5767 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5768 ("ghc-hunit" ,ghc-hunit)
5769 ("ghc-quickcheck" ,ghc-quickcheck)))
5770 (home-page "http://github.com/vincenthz/hs-pem")
5771 (synopsis "Privacy Enhanced Mail (PEM) format reader and writer")
5773 "This library provides readers and writers for the @dfn{Privacy Enhanced
5774 Mail} (PEM) format.")
5775 (license license:bsd-3)))
5777 (define-public ghc-asn1-types
5779 (name "ghc-asn1-types")
5783 (uri (string-append "http://hackage.haskell.org/package/"
5784 "asn1-types/asn1-types-"
5788 "1iif9yrh4mmj249gyvam0zb2vb3jnlz777gahh2z9sx00dsx9rja"))))
5789 (build-system haskell-build-system)
5791 `(("ghc-memory" ,ghc-memory)
5792 ("ghc-hourglass" ,ghc-hourglass)))
5793 (home-page "http://github.com/vincenthz/hs-asn1-types")
5794 (synopsis "ASN.1 types for Haskell")
5796 "The package provides the standard types for dealing with the ASN.1
5798 (license license:bsd-3)))
5800 (define-public ghc-asn1-encoding
5802 (name "ghc-asn1-encoding")
5806 (uri (string-append "http://hackage.haskell.org/package/"
5807 "asn1-encoding/asn1-encoding-"
5811 "01ki5msrpccgdbdiaaa5a9zw0icp1hki4hca8qx6hzlp0rcf1mwh"))))
5812 (build-system haskell-build-system)
5814 `(("ghc-hourglass" ,ghc-hourglass)
5815 ("ghc-asn1-types" ,ghc-asn1-types)
5816 ("ghc-text" ,ghc-text)
5817 ("ghc-mtl" ,ghc-mtl)))
5819 `(("ghc-tasty" ,ghc-tasty)
5820 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
5821 (home-page "http://github.com/vincenthz/hs-asn1")
5822 (synopsis "ASN1 data reader and writer in RAW, BER and DER forms")
5824 "This package provides a reader and writer for ASN1 data in raw form with
5825 supports for high level forms of ASN1 (BER, and DER).")
5826 (license license:bsd-3)))
5828 (define-public ghc-asn1-parse
5830 (name "ghc-asn1-parse")
5834 (uri (string-append "http://hackage.haskell.org/package/"
5835 "asn1-parse/asn1-parse-"
5839 "025prsihk5g6rdv9xlfmj0zpa0wa3qjzj5i4ilzvg7f6f3sji8y6"))))
5840 (build-system haskell-build-system)
5842 `(("ghc-asn1-types" ,ghc-asn1-types)
5843 ("ghc-asn1-encoding" ,ghc-asn1-encoding)))
5844 (home-page "https://github.com/vincenthz/hs-asn1")
5845 (synopsis "Simple monadic parser for ASN1 stream types")
5847 "This package provides a simple monadic parser for ASN1 stream types,
5848 when ASN1 pattern matching is not convenient.")
5849 (license license:bsd-3)))
5851 (define-public ghc-tasty-kat
5853 (name "ghc-tasty-kat")
5857 (uri (string-append "http://hackage.haskell.org/package/"
5858 "tasty-kat/tasty-kat-" version ".tar.gz"))
5861 "14yvlpli6cv6bn3kh8mlfp4x1l6ns4fvmfv6hmj75cvxyzq029d7"))))
5862 (build-system haskell-build-system)
5864 `(("ghc-tasty" ,ghc-tasty)
5865 ("ghc-mtl" ,ghc-mtl)
5866 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5867 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5868 (home-page "https://github.com/vincenthz/tasty-kat")
5869 (synopsis "Known Answer Tests (KAT) framework for tasty")
5871 "This package provides a @dfn{Known Answer Tests} (KAT) framework for
5873 (license license:expat)))
5875 (define-public ghc-cryptonite
5877 (name "ghc-cryptonite")
5881 (uri (string-append "http://hackage.haskell.org/package/"
5882 "cryptonite/cryptonite-"
5886 "1h22x22lq2m8h456v5j50xm0l25bcm3h1pchsk83br909hjxql4z"))))
5887 (build-system haskell-build-system)
5889 `(("ghc-memory" ,ghc-memory)
5890 ("ghc-byteable" ,ghc-byteable)))
5892 `(("ghc-tasty" ,ghc-tasty)
5893 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5894 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5895 ("ghc-tasty-kat" ,ghc-tasty-kat)))
5896 (home-page "https://github.com/haskell-crypto/cryptonite")
5897 (synopsis "Cryptography primitives")
5899 "This package is a repository of cryptographic primitives for Haskell.
5900 It supports a wide range of symmetric ciphers, cryptographic hash functions,
5901 public key algorithms, key derivation numbers, cryptographic random number
5902 generators, and more.")
5903 (license license:bsd-3)))
5905 (define-public ghc-memory
5911 (uri (string-append "http://hackage.haskell.org/package/"
5912 "memory/memory-" version ".tar.gz"))
5915 "1xqs9zmjbjihb7gfbk25f2q00m2lsi4kc3jv672175ac8a36pgag"))))
5916 (build-system haskell-build-system)
5918 `(("ghc-tasty" ,ghc-tasty)
5919 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5920 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5921 (home-page "https://github.com/vincenthz/hs-memory")
5922 (synopsis "Memory abstractions for Haskell")
5924 "This package provides memory abstractions, such as chunk of memory,
5925 polymorphic byte array management and manipulation functions. It contains a
5926 polymorphic byte array abstraction and functions similar to strict ByteString,
5927 different type of byte array abstraction, raw memory IO operations (memory
5928 set, memory copy, ..) and more")
5929 (license license:bsd-3)))
5931 (define-public ghc-x509
5937 (uri (string-append "http://hackage.haskell.org/package/"
5938 "x509/x509-" version ".tar.gz"))
5941 "1pmsby29abn485fvnymsgipvb3p1ch9c591xj5ncszkf0ivjiiin"))))
5942 (build-system haskell-build-system)
5944 `(("ghc-memory" ,ghc-memory)
5945 ("ghc-mtl" ,ghc-mtl)
5946 ("ghc-hourglass" ,ghc-hourglass)
5947 ("ghc-pem" ,ghc-pem)
5948 ("ghc-asn1-types" ,ghc-asn1-types)
5949 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
5950 ("ghc-asn1-parse" ,ghc-asn1-parse)
5951 ("ghc-cryptonite" ,ghc-cryptonite)))
5953 `(("ghc-tasty" ,ghc-tasty)
5954 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
5955 (home-page "http://github.com/vincenthz/hs-certificate")
5956 (synopsis "X509 reader and writer")
5958 "This library provides functions to read and write X509 certificates.")
5959 (license license:bsd-3)))
5961 (define-public ghc-x509-store
5963 (name "ghc-x509-store")
5967 (uri (string-append "http://hackage.haskell.org/package/"
5968 "x509-store/x509-store-"
5972 "01abx528i9f7djq2772xyna8x2mykrnwqkcfrapcx7z3bhprvml3"))))
5973 (build-system haskell-build-system)
5975 `(("ghc-mtl" ,ghc-mtl)
5976 ("ghc-pem" ,ghc-pem)
5977 ("ghc-asn1-types" ,ghc-asn1-types)
5978 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
5979 ("ghc-cryptonite" ,ghc-cryptonite)
5980 ("ghc-x509" ,ghc-x509)))
5981 (home-page "http://github.com/vincenthz/hs-certificate")
5982 (synopsis "X.509 collection accessing and storing methods")
5984 "This package provides functions for accessing and storing X.509
5985 collections, certificates, revocation lists, and exception lists.")
5986 (license license:bsd-3)))
5988 (define-public ghc-x509-validation
5990 (name "ghc-x509-validation")
5994 (uri (string-append "http://hackage.haskell.org/package/"
5995 "x509-validation/x509-validation-"
5999 "1qr1v561hdlhjgqjv9pj9mbk0q1xf2mr1j67ghy93nlxxyzd7dw0"))))
6000 (build-system haskell-build-system)
6002 `(("ghc-memory" ,ghc-memory)
6003 ("ghc-byteable" ,ghc-byteable)
6004 ("ghc-mtl" ,ghc-mtl)
6005 ("ghc-hourglass" ,ghc-hourglass)
6006 ("ghc-data-default-class" ,ghc-data-default-class)
6007 ("ghc-pem" ,ghc-pem)
6008 ("ghc-asn1-types" ,ghc-asn1-types)
6009 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6010 ("ghc-x509" ,ghc-x509)
6011 ("ghc-x509-store" ,ghc-x509-store)
6012 ("ghc-cryptonite" ,ghc-cryptonite)))
6013 (home-page "http://github.com/vincenthz/hs-certificate")
6014 (synopsis "X.509 certificate and revocation list validation")
6016 "This package provides functions for X.509 certificate and revocation
6018 (license license:bsd-3)))
6020 (define-public ghc-x509-system
6022 (name "ghc-x509-system")
6026 (uri (string-append "http://hackage.haskell.org/package/"
6027 "x509-system/x509-system-"
6031 "10qf60d2f9jqwnbrhsb2cwpi86xg66m6dxndlxw967v1cdb3h6gf"))))
6032 (build-system haskell-build-system)
6034 `(("ghc-mtl" ,ghc-mtl)
6035 ("ghc-pem" ,ghc-pem)
6036 ("ghc-x509" ,ghc-x509)
6037 ("ghc-x509-store" ,ghc-x509-store)))
6038 (home-page "http://github.com/vincenthz/hs-certificate")
6039 (synopsis "Handle system X.509 accessors and storage")
6041 "This package provides a library to handle system accessors and storage
6042 for X.509 certificates.")
6043 (license license:bsd-3)))
6045 (define-public ghc-tls
6051 (uri (string-append "http://hackage.haskell.org/package/"
6052 "tls/tls-" version ".tar.gz"))
6055 "096ay54bwy6qi9z8ypncww3ls853zj37yaficvcg7qcqj42zn0wz"))))
6056 (build-system haskell-build-system)
6058 `(("ghc-mtl" ,ghc-mtl)
6059 ("ghc-cereal" ,ghc-cereal)
6060 ("ghc-data-default-class" ,ghc-data-default-class)
6061 ("ghc-memory" ,ghc-memory)
6062 ("ghc-cryptonite" ,ghc-cryptonite)
6063 ("ghc-asn1-types" ,ghc-asn1-types)
6064 ("ghc-asn1-encoding" ,ghc-asn1-encoding)
6065 ("ghc-x509" ,ghc-x509)
6066 ("ghc-x509-store" ,ghc-x509-store)
6067 ("ghc-x509-validation" ,ghc-x509-validation)
6068 ("ghc-async" ,ghc-async)
6069 ("ghc-network" ,ghc-network)
6070 ("ghc-hourglass" ,ghc-hourglass)))
6072 `(("ghc-tasty" ,ghc-tasty)
6073 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6074 ("ghc-quickcheck" ,ghc-quickcheck)))
6075 (home-page "http://github.com/vincenthz/hs-tls")
6077 "TLS/SSL protocol native implementation (Server and Client)")
6079 "Native Haskell TLS and SSL protocol implementation for server and client.
6080 This provides a high-level implementation of a sensitive security protocol,
6081 eliminating a common set of security issues through the use of the advanced
6082 type system, high level constructions and common Haskell features. Currently
6083 implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, and support RSA and
6084 Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges, and many
6086 (license license:bsd-3)))
6088 (define-public ghc-socks
6094 (uri (string-append "http://hackage.haskell.org/package/"
6095 "socks/socks-" version ".tar.gz"))
6098 "1nmldlwxqasmg359i2aa3a903gi3lmnlspvf12xk49jrg3mf3dg9"))))
6099 (build-system haskell-build-system)
6101 `(("ghc-cereal" ,ghc-cereal)
6102 ("ghc-network" ,ghc-network)))
6103 (home-page "http://github.com/vincenthz/hs-socks")
6104 (synopsis "SOCKS proxy (version 5) implementation.")
6106 "This library provides a SOCKS proxy (version 5) implementation.")
6107 (license license:bsd-3)))
6109 (define-public ghc-connection
6111 (name "ghc-connection")
6115 (uri (string-append "http://hackage.haskell.org/package/"
6116 "connection/connection-"
6120 "090il95jnm7ihwvcx3s9v6iwnp37nnsdx15q7722l845g51d95c8"))))
6121 (build-system haskell-build-system)
6123 `(("ghc-byteable" ,ghc-byteable)
6124 ("ghc-data-default-class" ,ghc-data-default-class)
6125 ("ghc-network" ,ghc-network)
6126 ("ghc-tls" ,ghc-tls)
6127 ("ghc-socks" ,ghc-socks)
6128 ("ghc-x509" ,ghc-x509)
6129 ("ghc-x509-store" ,ghc-x509-store)
6130 ("ghc-x509-system" ,ghc-x509-system)
6131 ("ghc-x509-validation" ,ghc-x509-validation)))
6132 (home-page "http://github.com/vincenthz/hs-connection")
6133 (synopsis "Simple and easy network connections API")
6135 "This package provides a simple network library for all your connection
6136 needs. It provides a very simple API to create sockets to a destination with
6137 the choice of SSL/TLS, and SOCKS.")
6138 (license license:bsd-3)))
6140 (define-public ghc-http-client-tls
6142 (name "ghc-http-client-tls")
6146 (uri (string-append "http://hackage.haskell.org/package/"
6147 "http-client-tls/http-client-tls-"
6151 "0a01r05h5fxswyn6k6cgqgak4scqjan72hyy5wbdqzzhl4rmh7j5"))))
6152 (build-system haskell-build-system)
6153 ;; Tests require Internet access
6154 (arguments `(#:tests? #f))
6156 `(("ghc-data-default-class" ,ghc-data-default-class)
6157 ("ghc-http-client" ,ghc-http-client)
6158 ("ghc-connection" ,ghc-connection)
6159 ("ghc-network" ,ghc-network)
6160 ("ghc-tls" ,ghc-tls)
6161 ("ghc-http-types" ,ghc-http-types)))
6163 `(("ghc-hspec" ,ghc-hspec)))
6164 (home-page "https://github.com/snoyberg/http-client")
6165 (synopsis "Backend for http-client using the TLS library")
6167 "This package provides a backend for the http-client package using the
6168 connection and TLS libraries. It is intended for use by higher-level
6169 libraries, such as http-conduit.")
6170 (license license:expat)))
6172 (define-public ghc-pandoc
6175 (version "1.15.2.1")
6179 (uri (string-append "http://hackage.haskell.org/package/pandoc/pandoc-"
6183 "0nfzwsdvrvg9zypgyqk0246p10yzlpqsqnkds8yraqybbvkb1g30"))))
6184 (build-system haskell-build-system)
6186 `(("ghc-syb" ,ghc-syb)
6187 ("ghc-unordered-containers" ,ghc-unordered-containers)
6188 ("ghc-parsec" ,ghc-parsec)
6189 ("ghc-mtl" ,ghc-mtl)
6190 ("ghc-text" ,ghc-text)
6191 ("ghc-zip-archive" ,ghc-zip-archive)
6192 ("ghc-http" ,ghc-http)
6193 ("ghc-texmath" ,ghc-texmath)
6194 ("ghc-xml" ,ghc-xml)
6195 ("ghc-random" ,ghc-random)
6196 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
6197 ("ghc-pandoc-types" ,ghc-pandoc-types)
6198 ("ghc-aeson" ,ghc-aeson)
6199 ("ghc-tagsoup" ,ghc-tagsoup)
6200 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6201 ("ghc-zlib" ,ghc-zlib)
6202 ("ghc-highlighting-kate" ,ghc-highlighting-kate)
6203 ("ghc-data-default" ,ghc-data-default)
6204 ("ghc-temporary" ,ghc-temporary)
6205 ("ghc-blaze-html" ,ghc-blaze-html)
6206 ("ghc-blaze-markup" ,ghc-blaze-markup)
6207 ("ghc-yaml" ,ghc-yaml)
6208 ("ghc-scientific" ,ghc-scientific)
6209 ("ghc-vector" ,ghc-vector)
6210 ("ghc-hslua" ,ghc-hslua)
6211 ("ghc-sha" ,ghc-sha)
6212 ("ghc-haddock-library" ,ghc-haddock-library)
6213 ("ghc-old-time" ,ghc-old-time)
6214 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
6215 ("ghc-juicypixels" ,ghc-juicypixels)
6216 ("ghc-filemanip" ,ghc-filemanip)
6217 ("ghc-cmark" ,ghc-cmark)
6218 ("ghc-network-uri" ,ghc-network-uri)
6219 ("ghc-network" ,ghc-network)
6220 ("ghc-http-client" ,ghc-http-client)
6221 ("ghc-http-client-tls" ,ghc-http-client-tls)
6222 ("ghc-http-types" ,ghc-http-types)
6223 ("ghc-diff" ,ghc-diff)
6224 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6225 ("ghc-executable-path" ,ghc-executable-path)))
6227 `(("ghc-test-framework" ,ghc-test-framework)
6228 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6229 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6230 ("ghc-quickcheck" ,ghc-quickcheck)
6231 ("ghc-hunit" ,ghc-hunit)))
6232 (home-page "http://pandoc.org")
6233 (synopsis "Conversion between markup formats")
6235 "Pandoc is a Haskell library for converting from one markup format to
6236 another, and a command-line tool that uses this library. It can read and
6237 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
6238 LaTeX, DocBook, and many more.
6240 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
6241 definition lists, tables, and other features. A compatibility mode is
6242 provided for those who need a drop-in replacement for Markdown.pl.")
6243 (license license:gpl2+)))
6245 (define-public idris
6248 (version "0.9.19.1")
6252 (uri (string-append "https://hackage.haskell.org/package/idris-"
6253 version "/idris-" version ".tar.gz"))
6256 "10641svdsjlxbxmbvylpia04cz5nn9486lpiay8ibqcrc1792qgc"))
6257 (modules '((guix build utils)))
6259 '(substitute* "idris.cabal"
6260 ;; Package description file has a too-tight version restriction,
6261 ;; rendering it incompatible with GHC 7.10.2. This is fixed
6263 ;; <https://github.com/idris-lang/Idris-dev/issues/2734>.
6264 (("vector < 0.11") "vector < 0.12")))))
6265 (build-system haskell-build-system)
6267 `(#:phases (modify-phases %standard-phases
6268 (add-before 'configure 'patch-cc-command
6270 (setenv "CC" "gcc"))))))
6273 ("ncurses" ,ncurses)
6274 ("ghc-annotated-wl-pprint" ,ghc-annotated-wl-pprint)
6275 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
6276 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
6277 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6278 ("ghc-blaze-html" ,ghc-blaze-html)
6279 ("ghc-blaze-markup" ,ghc-blaze-markup)
6280 ("ghc-cheapskate" ,ghc-cheapskate)
6281 ("ghc-fingertree" ,ghc-fingertree)
6282 ("ghc-mtl" ,ghc-mtl)
6283 ("ghc-network" ,ghc-network)
6284 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
6285 ("ghc-parsers" ,ghc-parsers)
6286 ("ghc-safe" ,ghc-safe)
6287 ("ghc-split" ,ghc-split)
6288 ("ghc-text" ,ghc-text)
6289 ("ghc-trifecta" ,ghc-trifecta)
6290 ("ghc-uniplate" ,ghc-uniplate)
6291 ("ghc-unordered-containers" ,ghc-unordered-containers)
6292 ("ghc-utf8-string" ,ghc-utf8-string)
6293 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)
6294 ("ghc-vector" ,ghc-vector)
6295 ("ghc-zip-archive" ,ghc-zip-archive)
6296 ("ghc-zlib" ,ghc-zlib)))
6297 (home-page "http://www.idris-lang.org")
6298 (synopsis "General purpose language with full dependent types")
6299 (description "Idris is a general purpose language with full dependent
6300 types. It is compiled, with eager evaluation. Dependent types allow types to
6301 be predicated on values, meaning that some aspects of a program's behaviour
6302 can be specified precisely in the type. The language is closely related to
6304 (license license:bsd-3)))
6306 ;;; haskell.scm ends here