1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch>
3 ;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
4 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
5 ;;; Copyright © 2015, 2019 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2016, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
7 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
8 ;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
9 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
10 ;;; Copyright © 2016, 2017 David Craven <david@craven.ch>
11 ;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
12 ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
13 ;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com>
14 ;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
15 ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
16 ;;; Copyright © 2018 Tonton <tonton@riseup.net>
17 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
18 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2018, 2019 Gabriel Hondet <gabrielhondet@gmail.com>
20 ;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
21 ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
22 ;;; Copyright © 2019,2020 John Soo <jsoo1@asu.edu>
23 ;;; Copyright © 2019, 2020 Kyle Meyer <kyle@kyleam.com>
24 ;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
25 ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
26 ;;; Copyright © 2020 JoJo <jo@jo.zone>
27 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
28 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
29 ;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
30 ;;; Copyright © 2020 Christopher Lemmer Webber <cwebber@dustycloud.org>
32 ;;; This file is part of GNU Guix.
34 ;;; GNU Guix is free software; you can redistribute it and/or modify it
35 ;;; under the terms of the GNU General Public License as published by
36 ;;; the Free Software Foundation; either version 3 of the License, or (at
37 ;;; your option) any later version.
39 ;;; GNU Guix is distributed in the hope that it will be useful, but
40 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
41 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42 ;;; GNU General Public License for more details.
44 ;;; You should have received a copy of the GNU General Public License
45 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
47 (define-module (gnu packages haskell-xyz)
48 #:use-module (gnu packages)
49 #:use-module (gnu packages base)
50 #:use-module (gnu packages compression)
51 #:use-module (gnu packages emacs)
52 #:use-module (gnu packages gl)
53 #:use-module (gnu packages graphviz)
54 #:use-module (gnu packages gtk)
55 #:use-module (gnu packages haskell)
56 #:use-module (gnu packages haskell-apps)
57 #:use-module (gnu packages haskell-check)
58 #:use-module (gnu packages haskell-crypto)
59 #:use-module (gnu packages haskell-web)
60 #:use-module (gnu packages libffi)
61 #:use-module (gnu packages linux)
62 #:use-module (gnu packages llvm)
63 #:use-module (gnu packages lua)
64 #:use-module (gnu packages maths)
65 #:use-module (gnu packages ncurses)
66 #:use-module (gnu packages pcre)
67 #:use-module (gnu packages pkg-config)
68 #:use-module (gnu packages sdl)
69 #:use-module (gnu packages web)
70 #:use-module (gnu packages xml)
71 #:use-module (gnu packages xorg)
72 #:use-module (guix build-system haskell)
73 #:use-module (guix download)
74 #:use-module (guix git-download)
75 #:use-module (guix utils)
76 #:use-module ((guix licenses) #:prefix license:)
77 #:use-module (guix packages)
78 #:use-module (srfi srfi-1))
80 (define-public ghc-abstract-deque
82 (name "ghc-abstract-deque")
87 (uri (string-append "https://hackage.haskell.org/package/"
88 "abstract-deque-" version "/"
89 "abstract-deque-" version ".tar.gz"))
92 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
93 (build-system haskell-build-system)
94 (inputs `(("ghc-random" ,ghc-random)))
95 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
96 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
97 (description "This Haskell package provides an abstract interface to
98 highly-parameterizable queues/deques.
100 Background: There exists a feature space for queues that extends between:
103 @item Simple, single-ended, non-concurrent, bounded queues
105 @item Double-ended, thread-safe, growable queues with important points
106 in between (such as the queues used for work stealing).
109 This package includes an interface for Deques that allows the programmer
110 to use a single API for all of the above, while using the type system to
111 select an efficient implementation given the requirements (using type families).
113 This package also includes a simple reference implementation based on
114 @code{IORef} and @code{Data.Sequence}.")
115 (license license:bsd-3)))
117 (define-public ghc-abstract-par
119 (name "ghc-abstract-par")
124 (uri (string-append "https://hackage.haskell.org/package/"
125 "abstract-par-" version "/"
126 "abstract-par-" version ".tar.gz"))
129 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
130 (build-system haskell-build-system)
131 (home-page "https://github.com/simonmar/monad-par")
132 (synopsis "Abstract parallelization interface for Haskell")
133 (description "This Haskell package is an abstract interface
134 only. It provides a number of type clasess, but not an
135 implementation. The type classes separate different levels
136 of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
137 module for more details.")
138 (license license:bsd-3)))
140 (define-public ghc-active
147 (uri (string-append "https://hackage.haskell.org/package/"
148 "active/active-" version ".tar.gz"))
151 "0x3b4ln6csa554qls28wbxvclkbdz3yi60i1m0q5ing0cs16fifz"))))
152 (build-system haskell-build-system)
154 `(("ghc-vector" ,ghc-vector)
155 ("ghc-semigroups" ,ghc-semigroups)
156 ("ghc-semigroupoids" ,ghc-semigroupoids)
157 ("ghc-lens" ,ghc-lens)
158 ("ghc-linear" ,ghc-linear)))
160 `(("ghc-quickcheck" ,ghc-quickcheck)))
161 (home-page "https://hackage.haskell.org/package/active")
162 (synopsis "Abstractions for animation")
163 (description "This package defines an @code{Active} abstraction for
164 time-varying values with finite start and end times. It is used for
165 describing animations within the
166 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
167 diagrams framework}.")
168 (license license:bsd-3)))
170 (define-public ghc-adjunctions
172 (name "ghc-adjunctions")
178 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
183 "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h"))))
184 (build-system haskell-build-system)
187 ("2" "1yfsjx7dqikg3hvld7i91xfsg5lawmr5980lvfd794sybmgxsf17")))
189 `(("ghc-profunctors" ,ghc-profunctors)
190 ("ghc-comonad" ,ghc-comonad)
191 ("ghc-contravariant" ,ghc-contravariant)
192 ("ghc-distributive" ,ghc-distributive)
193 ("ghc-free" ,ghc-free)
194 ("ghc-tagged" ,ghc-tagged)
195 ("ghc-semigroupoids" ,ghc-semigroupoids)
196 ("ghc-semigroups" ,ghc-semigroups)
197 ("ghc-transformers-compat" ,ghc-transformers-compat)
198 ("ghc-void" ,ghc-void)))
200 `(("ghc-generic-deriving" ,ghc-generic-deriving)
201 ("ghc-hspec" ,ghc-hspec)
202 ("hspec-discover" ,hspec-discover)))
203 (home-page "https://github.com/ekmett/adjunctions/")
204 (synopsis "Adjunctions and representable functors")
205 (description "This library provides adjunctions and representable functors
207 (license license:bsd-3)))
209 (define-public ghc-aeson-compat
211 (name "ghc-aeson-compat")
216 (uri (string-append "https://hackage.haskell.org/package/"
217 "aeson-compat-" version "/"
218 "aeson-compat-" version ".tar.gz"))
221 "1j13gykv4ryvmr14w5blz0nnpdb4p0hpa27wahw3mhb1lwdr8hz0"))))
222 (build-system haskell-build-system)
223 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
224 (inputs `(("ghc-base-compat" ,ghc-base-compat)
225 ("ghc-aeson" ,ghc-aeson)
226 ("ghc-attoparsec" ,ghc-attoparsec)
227 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
228 ("ghc-exceptions" ,ghc-exceptions)
229 ("ghc-hashable" ,ghc-hashable)
230 ("ghc-scientific" ,ghc-scientific)
231 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
232 ("ghc-unordered-containers" ,ghc-unordered-containers)
233 ("ghc-vector" ,ghc-vector)
234 ("ghc-tagged" ,ghc-tagged)
235 ("ghc-semigroups" ,ghc-semigroups)
236 ("ghc-nats" ,ghc-nats)))
237 (home-page "https://github.com/phadej/aeson-compat")
238 (synopsis "Compatibility layer for ghc-aeson")
239 (description "This Haskell package provides compatibility layer for
241 (license license:bsd-3)))
243 (define-public ghc-aeson-diff
245 (name "ghc-aeson-diff")
250 (uri (string-append "https://hackage.haskell.org/package/"
251 "aeson-diff/aeson-diff-" version ".tar.gz"))
254 "01d48pd7d1mb9cd5yxfajln8rmjdjq8ch91s0lav4qw1azv6vp2r"))))
255 (build-system haskell-build-system)
257 `(("ghc-aeson" ,ghc-aeson)
258 ("ghc-edit-distance-vector" ,ghc-edit-distance-vector)
259 ("ghc-hashable" ,ghc-hashable)
260 ("ghc-scientific" ,ghc-scientific)
261 ("ghc-unordered-containers" ,ghc-unordered-containers)
262 ("ghc-vector" ,ghc-vector)
263 ("ghc-semigroups" ,ghc-semigroups)
264 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
266 `(("ghc-quickcheck" ,ghc-quickcheck)
267 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
268 ("ghc-glob" ,ghc-glob)
269 ("ghc-quickcheck" ,ghc-quickcheck)
270 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
271 ("ghc-quickcheck" ,ghc-quickcheck)
272 ("ghc-doctest" ,ghc-doctest)
274 (home-page "https://github.com/thsutton/aeson-diff")
275 (synopsis "Extract and apply patches to JSON documents")
276 (description "This is a small library for working with changes to JSON
277 documents. It includes a library and two command-line executables in the
278 style of the @command{diff} and @command{patch} commands available on many
280 (license license:bsd-3)))
282 (define-public ghc-alex
290 "https://hackage.haskell.org/package/alex/alex-"
295 "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm"))))
296 (build-system haskell-build-system)
299 (modify-phases %standard-phases
300 (add-before 'check 'set-check-variables
302 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
304 (setenv "alex_datadir" (string-append (getcwd) "/data"))
306 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
309 (home-page "https://www.haskell.org/alex/")
311 "Tool for generating lexical analysers in Haskell")
313 "Alex is a tool for generating lexical analysers in Haskell. It takes a
314 description of tokens based on regular expressions and generates a Haskell
315 module containing code for scanning text efficiently. It is similar to the
316 tool lex or flex for C/C++.")
317 (license license:bsd-3)))
319 (define-public ghc-alsa-core
321 (name "ghc-alsa-core")
327 "mirror://hackage/package/alsa-core/alsa-core-"
332 "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b"))))
333 (build-system haskell-build-system)
335 `(#:extra-directories ("alsa-lib")))
337 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
338 ("alsa-lib" ,alsa-lib)))
340 `(("pkg-config" ,pkg-config)))
341 (home-page "https://wiki.haskell.org/ALSA")
342 (synopsis "Binding to the ALSA Library API (Exceptions)")
343 (description "This package provides access to ALSA infrastructure, that is
344 needed by both alsa-seq and alsa-pcm.")
345 (license license:bsd-3)))
347 (define-public ghc-alsa-mixer
349 (name "ghc-alsa-mixer")
356 "mirror://hackage/package/alsa-mixer/alsa-mixer-"
360 "00ny2p3276jilidjs44npc8zmbhynz3f2lpmlwwl6swwx5yijsnb"))))
361 (build-system haskell-build-system)
362 (inputs `(("ghc-alsa-core" ,ghc-alsa-core)))
363 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
364 (home-page "https://github.com/ttuegel/alsa-mixer")
365 (synopsis "Bindings to the ALSA simple mixer API")
367 "This package provides bindings to the ALSA simple mixer API.")
368 (license license:bsd-3)))
370 (define-public ghc-annotated-wl-pprint
372 (name "ghc-annotated-wl-pprint")
378 "https://hackage.haskell.org/package/annotated-wl-pprint"
379 "/annotated-wl-pprint-" version
383 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
384 (build-system haskell-build-system)
386 "https://github.com/david-christiansen/annotated-wl-pprint")
388 "The Wadler/Leijen Pretty Printer, with annotation support")
389 (description "This is a modified version of wl-pprint, which was based on
390 Wadler's paper \"A Prettier Printer\". This version allows the library user
391 to annotate the text with semantic information, which can later be rendered in
393 (license license:bsd-3)))
395 (define-public ghc-ansi-terminal
397 (name "ghc-ansi-terminal")
403 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
408 "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l"))))
409 (build-system haskell-build-system)
411 `(("ghc-colour" ,ghc-colour)))
412 (home-page "https://github.com/feuerbach/ansi-terminal")
413 (synopsis "ANSI terminal support for Haskell")
414 (description "This package provides ANSI terminal support for Haskell. It
415 allows cursor movement, screen clearing, color output showing or hiding the
416 cursor, and changing the title.")
417 (license license:bsd-3)))
419 (define-public ghc-ansi-wl-pprint
421 (name "ghc-ansi-wl-pprint")
426 (uri (string-append "https://hackage.haskell.org/package/"
427 "ansi-wl-pprint/ansi-wl-pprint-"
431 "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7"))))
432 (build-system haskell-build-system)
434 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
435 (home-page "https://github.com/ekmett/ansi-wl-pprint")
436 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
437 (description "This is a pretty printing library based on Wadler's paper
438 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
439 colored output using the ansi-terminal package.")
440 (license license:bsd-3)))
442 (define-public ghc-appar
450 "https://hackage.haskell.org/package/appar/appar-"
455 "07v3h766q9mnhphsm53718h1lds147ix7dj15kc5hnsj4vffvkn4"))))
456 (build-system haskell-build-system)
458 "https://hackage.haskell.org/package/appar")
459 (synopsis "Simple applicative parser")
460 (description "This package provides a simple applicative parser in Parsec
462 (license license:bsd-3)))
464 (define-public ghc-assoc
472 "https://hackage.haskell.org/package/assoc/assoc-"
477 "1m9n4vp190bvn2wcrd4ggfwa9pi93jp0zgx02mdgywn2zfidw020"))))
478 (build-system haskell-build-system)
480 `(("ghc-bifunctors" ,ghc-bifunctors)
481 ("ghc-tagged" ,ghc-tagged)))
483 "http://hackage.haskell.org/package/assoc")
485 "Swap and assoc: Symmetric and Semigroupy Bifunctors")
487 "Provides generalisations of @code{swap :: (a,b) -> (b,a)} and
488 @code{assoc :: ((a,b),c) -> (a,(b,c))} to @code{Bifunctor}s supporting
489 similar operations (e.g. @code{Either}, @code{These}).")
490 (license license:bsd-3)))
492 (define-public ghc-async
500 "https://hackage.haskell.org/package/async/async-"
505 "1zxvfcyy4sg8lmzphi5dgnavksj5pav6rbvd5kc48lf4hanb2jjb"))))
506 (build-system haskell-build-system)
508 `(("ghc-hashable" ,ghc-hashable)
509 ("ghc-hunit" ,ghc-hunit)
510 ("ghc-test-framework" ,ghc-test-framework)
511 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
512 (home-page "https://github.com/simonmar/async")
513 (synopsis "Library to run IO operations asynchronously")
514 (description "Async provides a library to run IO operations
515 asynchronously, and wait for their results. It is a higher-level interface
516 over threads in Haskell, in which @code{Async a} is a concurrent thread that
517 will eventually deliver a value of type @code{a}.")
518 (license license:bsd-3)))
520 (define-public ghc-atomic-primops
522 (name "ghc-atomic-primops")
527 (uri (string-append "https://hackage.haskell.org/package/atomic-primops"
528 "/atomic-primops-" version ".tar.gz"))
531 "03n5dmyplrqgbyf8dr91izkxci7gkl3i3fnp82i5ld869zrgjfh0"))))
532 (build-system haskell-build-system)
533 (inputs `(("ghc-primitive" ,ghc-primitive)))
534 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
535 (synopsis "Safe approach to CAS and other atomic ops")
537 "GHC 7.4 introduced a new @code{casMutVar} PrimOp which is difficult to
538 use safely, because pointer equality is a highly unstable property in Haskell.
539 This library provides a safer method based on the concept of @code{Ticket}s.")
540 (license license:bsd-3)))
542 (define-public ghc-atomic-write
544 (name "ghc-atomic-write")
550 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
555 "1xs3shwnlj8hmnm3q6jc8nv78z0481i5n4hrqqdmbpx8grvlnqyl"))))
556 (build-system haskell-build-system)
558 `(("ghc-temporary" ,ghc-temporary)
559 ("ghc-unix-compat" ,ghc-unix-compat)))
561 `(("ghc-temporary" ,ghc-temporary)
562 ("ghc-unix-compat" ,ghc-unix-compat)
563 ("ghc-hspec" ,ghc-hspec)
564 ("hspec-discover" ,hspec-discover)))
565 (home-page "https://github.com/stackbuilders/atomic-write")
566 (synopsis "Atomically write to a file")
568 "Atomically write to a file on POSIX-compliant systems while preserving
569 permissions. @code{mv} is an atomic operation. This makes it simple to write
570 to a file atomically just by using the @code{mv} operation. However, this
571 will destroy the permissions on the original file. This library preserves
572 permissions while atomically writing to a file.")
573 (license license:expat)))
575 (define-public ghc-atomic-write-0.2.0.7
577 (inherit ghc-atomic-write)
581 (inherit (package-source ghc-atomic-write))
583 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
588 "03cn3ii74h0w3g4h78xsx9v2sn58r3qsr2dbdwq340xwhiwcgxdm"))))))
590 (define-public ghc-attoparsec
592 (name "ghc-attoparsec")
598 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
603 "1ngjn9h5n0vyki0m2jir4mg85875ysswy9hznpmj1r856mqwc6ix"))))
604 (build-system haskell-build-system)
607 (modify-phases %standard-phases
608 (add-after 'unpack 'patch-for-newer-quickcheck
610 (substitute* "attoparsec.cabal"
611 (("QuickCheck >= 2\\.7 && < 2\\.10")
612 "QuickCheck >= 2.7 && < 2.12"))
613 ;; This test fails because of the newer QuickCheck:
614 ;; <https://github.com/bos/attoparsec/issues/134>.
615 (substitute* "tests/QC/ByteString.hs"
616 ((", testProperty \"satisfyWith\" satisfyWith")
619 `(("ghc-scientific" ,ghc-scientific)))
621 `(("ghc-tasty" ,ghc-tasty)
622 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
623 ("ghc-quickcheck" ,ghc-quickcheck)
624 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
625 ("ghc-vector" ,ghc-vector)))
626 (home-page "https://github.com/bos/attoparsec")
627 (synopsis "Fast combinator parsing for bytestrings and text")
628 (description "This library provides a fast parser combinator library,
629 aimed particularly at dealing efficiently with network protocols and
630 complicated text/binary file formats.")
631 (license license:bsd-3)))
633 (define-public ghc-attoparsec-bootstrap
635 (inherit ghc-attoparsec)
636 (name "ghc-attoparsec-bootstrap")
637 (arguments `(#:tests? #f))
639 `(("ghc-scientific" ,ghc-scientific-bootstrap)))
641 (properties '((hidden? #t)))))
643 (define-public ghc-attoparsec-iso8601
645 (name "ghc-attoparsec-iso8601")
650 (uri (string-append "https://hackage.haskell.org/package/"
651 "attoparsec-iso8601-" version "/"
652 "attoparsec-iso8601-" version ".tar.gz"))
655 "0hj10w15qp2z5bz2v4xahhmbgzclpyfi5l2sv97wqycysg9gp7s9"))))
656 (build-system haskell-build-system)
659 ("1" "1rjhscmczgs1bwyqx7lvkm8py3ylxjd2797mrzgnq60fvm292750")))
660 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
661 ("ghc-base-compat" ,ghc-base-compat)))
662 (home-page "https://github.com/bos/aeson")
663 (synopsis "Parse ISO 8601 dates")
664 (description "Haskell library for parsing of ISO 8601 dates, originally
666 (license license:bsd-3)))
668 (define-public ghc-auto-update
670 (name "ghc-auto-update")
676 "https://hackage.haskell.org/package/auto-update/auto-update-"
681 "1i36xc2i34aync8271x3pv515l3zb53i518dybn8ghqkhzf27q7l"))))
682 (build-system haskell-build-system)
684 `(("ghc-hspec" ,ghc-hspec)
685 ("ghc-hunit" ,ghc-hunit)
686 ("ghc-retry" ,ghc-retry)
687 ("hspec-discover" ,hspec-discover)))
688 (home-page "https://github.com/yesodweb/wai")
689 (synopsis "Efficiently run periodic, on-demand actions")
690 (description "This library provides mechanisms to efficiently run
691 periodic, on-demand actions in Haskell.")
692 (license license:expat)))
694 (define-public ghc-aws
701 (uri (string-append "https://hackage.haskell.org/package/"
702 "aws-" version "/aws-" version ".tar.gz"))
704 "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0"))))
705 (build-system haskell-build-system)
706 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
708 `(("ghc-aeson" ,ghc-aeson)
709 ("ghc-attoparsec" ,ghc-attoparsec)
710 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
711 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
712 ("ghc-blaze-builder" ,ghc-blaze-builder)
713 ("ghc-byteable" ,ghc-byteable)
714 ("ghc-case-insensitive" ,ghc-case-insensitive)
715 ("ghc-cereal" ,ghc-cereal)
716 ("ghc-conduit" ,ghc-conduit)
717 ("ghc-conduit-extra" ,ghc-conduit-extra)
718 ("ghc-cryptonite" ,ghc-cryptonite)
719 ("ghc-data-default" ,ghc-data-default)
720 ("ghc-http-conduit" ,ghc-http-conduit)
721 ("ghc-http-types" ,ghc-http-types)
722 ("ghc-lifted-base" ,ghc-lifted-base)
723 ("ghc-monad-control" ,ghc-monad-control)
724 ("ghc-network" ,ghc-network)
725 ("ghc-old-locale" ,ghc-old-locale)
726 ("ghc-safe" ,ghc-safe)
727 ("ghc-scientific" ,ghc-scientific)
728 ("ghc-tagged" ,ghc-tagged)
729 ("ghc-unordered-containers" ,ghc-unordered-containers)
730 ("ghc-utf8-string" ,ghc-utf8-string)
731 ("ghc-vector" ,ghc-vector)
732 ("ghc-xml-conduit" ,ghc-xml-conduit)))
734 `(("ghc-quickcheck" ,ghc-quickcheck)
735 ("ghc-errors" ,ghc-errors)
736 ("ghc-http-client" ,ghc-http-client)
737 ("ghc-http-client-tls" ,ghc-http-client-tls)
738 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
739 ("ghc-tasty" ,ghc-tasty)
740 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
741 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
742 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
743 (home-page "https://github.com/aristidb/aws")
744 (synopsis "Amazon Web Services for Haskell")
745 (description "This package attempts to provide support for using
746 Amazon Web Services like S3 (storage), SQS (queuing) and others to
747 Haskell programmers. The ultimate goal is to support all Amazon
749 (license license:bsd-3)))
751 (define-public ghc-base16-bytestring
753 (name "ghc-base16-bytestring")
759 "https://hackage.haskell.org/package/base16-bytestring/"
760 "base16-bytestring-" version ".tar.gz"))
763 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
764 (build-system haskell-build-system)
765 (home-page "https://github.com/bos/base16-bytestring")
766 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
768 "This package provides a Haskell library for working with base16-encoded
769 data quickly and efficiently, using the ByteString type.")
770 (license license:bsd-3)))
772 (define-public ghc-base64-bytestring
774 (name "ghc-base64-bytestring")
780 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
784 (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr"))))
785 (build-system haskell-build-system)
786 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
787 (home-page "https://github.com/bos/base64-bytestring")
788 (synopsis "Base64 encoding and decoding for ByteStrings")
789 (description "This library provides fast base64 encoding and decoding for
790 Haskell @code{ByteString}s.")
791 (license license:bsd-3)))
793 (define-public ghc-base-compat
795 (name "ghc-base-compat")
801 "https://hackage.haskell.org/package/base-compat/base-compat-"
806 "0hgvlqcr852hfp52jp99snhbj550mvxxpi8qn15d8ml9aqhyl2lr"))))
807 (build-system haskell-build-system)
808 (outputs '("out" "static" "doc"))
810 `(("ghc-quickcheck" ,ghc-quickcheck)
811 ("ghc-hspec" ,ghc-hspec)
812 ("hspec-discover" ,hspec-discover)))
813 (home-page "https://hackage.haskell.org/package/base-compat")
814 (synopsis "Haskell compiler compatibility library")
815 (description "This library provides functions available in later versions
816 of base to a wider range of compilers, without requiring the use of CPP
817 pragmas in your code.")
818 (license license:bsd-3)))
820 (define-public ghc-base-compat-batteries
822 (name "ghc-base-compat-batteries")
827 (uri (string-append "https://hackage.haskell.org/package/"
828 "base-compat-batteries/base-compat-batteries-"
832 "1vkhc639vqiv5p39jn1v312z32i7yk5q2lf0ap4jxl1v8p8wyp8p"))))
833 (build-system haskell-build-system)
835 `(("ghc-base-compat" ,ghc-base-compat)))
837 `(("ghc-hspec" ,ghc-hspec)
838 ("ghc-quickcheck" ,ghc-quickcheck)
839 ("hspec-discover" ,hspec-discover)))
842 ("1" "15sn2qc8k0hxbb2nai341kkrci98hlhzcj2ci087m0zxcg5jcdbp")))
843 (home-page "https://hackage.haskell.org/package/base-compat-batteries")
844 (synopsis "base-compat with extra batteries")
845 (description "This library provides functions available in later
846 versions of @code{base} to a wider range of compilers, without requiring
847 you to use CPP pragmas in your code. This package provides the same API
848 as the @code{base-compat} library, but depends on compatibility
849 packages (such as @code{semigroups}) to offer a wider support window
850 than @code{base-compat}, which has no dependencies.")
851 (license license:expat)))
853 (define-public ghc-basement
855 (name "ghc-basement")
860 (uri (string-append "https://hackage.haskell.org/package/"
861 "basement/basement-" version ".tar.gz"))
864 "0srlws74yiraqaapgcjd9p5d1fwb3zr9swcz74jpjm55fls2nn37"))))
865 (build-system haskell-build-system)
866 (outputs '("out" "static" "doc"))
867 (home-page "https://github.com/haskell-foundation/foundation")
868 (synopsis "Basic primitives for Foundation starter pack")
870 "This package contains basic primitives for the Foundation set of
872 (license license:bsd-3)))
874 (define-public ghc-base-orphans
876 (name "ghc-base-orphans")
882 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
887 "1nwr9av27i9p72k0sn96mw3ywdczw65dy5gd5wxpabhhxlxdcas4"))))
888 (build-system haskell-build-system)
890 `(("ghc-quickcheck" ,ghc-quickcheck)
891 ("ghc-hspec" ,ghc-hspec)
892 ("hspec-discover" ,hspec-discover)))
893 (home-page "https://hackage.haskell.org/package/base-orphans")
894 (synopsis "Orphan instances for backwards compatibility")
895 (description "This package defines orphan instances that mimic instances
896 available in later versions of base to a wider (older) range of compilers.")
897 (license license:bsd-3)))
899 (define-public ghc-base-prelude
901 (name "ghc-base-prelude")
906 (uri (string-append "https://hackage.haskell.org/package/"
907 "base-prelude-" version "/"
908 "base-prelude-" version ".tar.gz"))
911 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
912 (build-system haskell-build-system)
913 (outputs '("out" "static" "doc"))
914 (home-page "https://github.com/nikita-volkov/base-prelude")
915 (synopsis "The most complete prelude formed solely from the Haskell's base
917 (description "This Haskell package aims to reexport all the non-conflicting
918 and most general definitions from the \"base\" package.
920 This includes APIs for applicatives, arrows, monoids, foldables, traversables,
921 exceptions, generics, ST, MVars and STM.
923 This package will never have any dependencies other than \"base\".
927 The versioning policy of this package deviates from PVP in the sense
928 that its exports in part are transitively determined by the version of \"base\".
929 Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
930 the bounds of \"base\" as well.")
931 (license license:expat)))
933 (define-public ghc-base-unicode-symbols
935 (name "ghc-base-unicode-symbols")
941 "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-"
946 "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf"))))
947 (build-system haskell-build-system)
948 (home-page "https://wiki.haskell.org/Unicode-symbols")
949 (synopsis "Unicode alternatives for common functions and operators")
950 (description "This package defines new symbols for a number of functions,
951 operators and types in the base package. All symbols are documented with
952 their actual definition and information regarding their Unicode code point.
953 They should be completely interchangeable with their definitions. For
954 further Unicode goodness you can enable the @code{UnicodeSyntax}
955 @url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax,
956 language extension}. This extension enables Unicode characters to be used to
957 stand for certain ASCII character sequences, i.e. → instead of @code{->},
958 ∀ instead of @code{forall} and many others.")
959 (license license:bsd-3)))
961 (define-public ghc-basic-prelude
963 (name "ghc-basic-prelude")
969 "https://hackage.haskell.org/package/basic-prelude/"
970 "basic-prelude-" version ".tar.gz"))
973 "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h"))))
974 (build-system haskell-build-system)
976 `(("ghc-hashable" ,ghc-hashable)
977 ("ghc-unordered-containers"
978 ,ghc-unordered-containers)
979 ("ghc-vector" ,ghc-vector)))
980 (home-page "https://github.com/snoyberg/basic-prelude#readme")
981 (synopsis "Enhanced core prelude; a common foundation for alternate preludes")
983 "The premise of basic-prelude is that there are a lot of very commonly
984 desired features missing from the standard Prelude, such as commonly used
985 operators (<$> and >=>, for instance) and imports for common datatypes
986 (e.g., ByteString and Vector). At the same time, there are lots of other
987 components which are more debatable, such as providing polymorphic versions
990 So basic-prelude is intended to give a common foundation for a number of
991 alternate preludes. The package provides two modules: CorePrelude provides
992 the common ground for other preludes to build on top of, while BasicPrelude
993 exports CorePrelude together with commonly used list functions to provide a
994 drop-in replacement for the standard Prelude.
996 Users wishing to have an improved Prelude can use BasicPrelude. Developers
997 wishing to create a new prelude should use CorePrelude.")
998 (license license:expat)))
1000 (define-public ghc-bencode
1002 (name "ghc-bencode")
1008 "https://hackage.haskell.org/package/bencode/bencode-"
1011 (base32 "0znv0y3b3zm5jvhlvj5f5s7y93db67j9yd59w1bnrw2pqv30gqaq"))))
1012 (build-system haskell-build-system)
1014 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
1016 `(("ghc-hspec" ,ghc-hspec)
1017 ("ghc-quickcheck" ,ghc-quickcheck)))
1018 (home-page "https://hackage.haskell.org/package/bencode")
1019 (synopsis "Parsers and printers for bencoded data")
1021 "This library provides parsers and printers for bencoded data. Bencode
1022 is the encoding used by the peer-to-peer file sharing system BitTorrent for
1023 storing and transmitting loosely structured data.")
1024 (license license:bsd-3)))
1026 (define-public ghc-bifunctors
1028 (name "ghc-bifunctors")
1034 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
1039 "0rn47q8dzv0g1fyams99p4py6q0asxdc50q9k0nj497brk738xcb"))))
1040 (build-system haskell-build-system)
1042 `(("ghc-base-orphans" ,ghc-base-orphans)
1043 ("ghc-comonad" ,ghc-comonad)
1044 ("ghc-th-abstraction" ,ghc-th-abstraction)
1045 ("ghc-transformers-compat" ,ghc-transformers-compat)
1046 ("ghc-tagged" ,ghc-tagged)
1047 ("ghc-semigroups" ,ghc-semigroups)))
1049 `(("ghc-hspec" ,ghc-hspec)
1050 ("hspec-discover" ,hspec-discover)
1051 ("ghc-quickcheck" ,ghc-quickcheck)))
1052 (home-page "https://github.com/ekmett/bifunctors/")
1053 (synopsis "Bifunctors for Haskell")
1054 (description "This package provides bifunctors for Haskell.")
1055 (license license:bsd-3)))
1057 (define-public ghc-bindings-dsl
1059 (name "ghc-bindings-dsl")
1064 (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/"
1065 "bindings-DSL-" version ".tar.gz"))
1068 "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3"))))
1069 (build-system haskell-build-system)
1070 (home-page "https://github.com/jwiegley/bindings-dsl/wiki")
1071 (synopsis "FFI domain specific language, on top of hsc2hs")
1073 "This is a set of macros to be used when writing Haskell FFI. They were
1074 designed to be able to fully describe C interfaces, so that @code{hsc2hs} can
1075 extract from them all Haskell code needed to mimic such interfaces. All
1076 Haskell names used are automatically derived from C names, structures are
1077 mapped to Haskell instances of @code{Storable}, and there are also macros you
1078 can use with C code to help write bindings to inline functions or macro
1080 (license license:bsd-3)))
1082 (define-public ghc-bitarray
1084 (name "ghc-bitarray")
1089 (uri (string-append "https://hackage.haskell.org/package/"
1090 "bitarray/bitarray-" version ".tar.gz"))
1093 "00nqd62cbh42qqqvcl6iv1i9kbv0f0mkiygv4j70wfh5cl86yzxj"))))
1094 (build-system haskell-build-system)
1097 ("1" "10fk92v9afjqk43zi621jxl0n8kci0xjj32lz3vqa9xbh67zjz45")))
1098 (home-page "https://hackage.haskell.org/package/bitarray")
1099 (synopsis "Mutable and immutable bit arrays")
1100 (description "The package provides mutable and immutable bit arrays.")
1101 (license license:bsd-3)))
1103 (define-public ghc-blaze-builder
1105 (name "ghc-blaze-builder")
1111 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
1116 "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i"))))
1117 (build-system haskell-build-system)
1118 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
1120 `(("ghc-utf8-string" ,ghc-utf8-string)))
1121 (home-page "https://github.com/lpsmith/blaze-builder")
1122 (synopsis "Efficient buffered output")
1123 (description "This library provides an implementation of the older
1124 @code{blaze-builder} interface in terms of the new builder that shipped with
1125 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
1126 bridge to the new builder, so that code that uses the old interface can
1127 interoperate with code that uses the new implementation.")
1128 (license license:bsd-3)))
1130 (define-public ghc-blaze-markup
1132 (name "ghc-blaze-markup")
1137 (uri (string-append "https://hackage.haskell.org/package/"
1138 "blaze-markup/blaze-markup-"
1142 "1g9m7ansj7fdyzhz1wqkbzn5amjm50vjgjdwkbjc5qqhagnv1y3j"))))
1143 (build-system haskell-build-system)
1146 (modify-phases %standard-phases
1147 (add-before 'configure 'update-constraints
1149 (substitute* "blaze-markup.cabal"
1150 (("tasty >= 1\\.0 && < 1\\.1")
1151 "tasty >= 1.0 && < 1.2")))))))
1153 `(("ghc-blaze-builder" ,ghc-blaze-builder)))
1155 `(("ghc-hunit" ,ghc-hunit)
1156 ("ghc-quickcheck" ,ghc-quickcheck)
1157 ("ghc-tasty" ,ghc-tasty)
1158 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
1159 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
1160 (home-page "https://jaspervdj.be/blaze")
1161 (synopsis "Fast markup combinator library for Haskell")
1162 (description "This library provides core modules of a markup combinator
1163 library for Haskell.")
1164 (license license:bsd-3)))
1166 (define-public ghc-bloomfilter
1168 (name "ghc-bloomfilter")
1173 (uri (string-append "https://hackage.haskell.org/package/"
1174 "bloomfilter/bloomfilter-" version ".tar.gz"))
1177 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
1178 (build-system haskell-build-system)
1180 `(("ghc-quickcheck" ,ghc-quickcheck)
1181 ("ghc-random" ,ghc-random)
1182 ("ghc-test-framework" ,ghc-test-framework)
1183 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1184 (home-page "https://github.com/bos/bloomfilter")
1185 (synopsis "Pure and impure Bloom filter implementations")
1186 (description "This package provides both mutable and immutable Bloom
1187 filter data types, along with a family of hash functions and an easy-to-use
1189 (license license:bsd-3)))
1191 (define-public ghc-boxes
1198 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
1201 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
1202 (build-system haskell-build-system)
1204 `(("ghc-split" ,ghc-split)
1205 ("ghc-quickcheck" ,ghc-quickcheck)))
1206 (home-page "https://hackage.haskell.org/package/boxes")
1207 (synopsis "2D text pretty-printing library")
1209 "Boxes is a pretty-printing library for laying out text in two dimensions,
1210 using a simple box model.")
1211 (license license:bsd-3)))
1213 (define-public ghc-byteable
1215 (name "ghc-byteable")
1219 (uri (string-append "https://hackage.haskell.org/package/"
1220 "byteable/byteable-" version ".tar.gz"))
1223 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
1224 (build-system haskell-build-system)
1225 (home-page "https://github.com/vincenthz/hs-byteable")
1226 (synopsis "Type class for sequence of bytes")
1228 "This package provides an abstract class to manipulate sequence of bytes.
1229 The use case of this class is abstracting manipulation of types that are just
1230 wrapping a bytestring with stronger and more meaniful name.")
1231 (license license:bsd-3)))
1233 (define-public ghc-byteorder
1235 (name "ghc-byteorder")
1241 "https://hackage.haskell.org/package/byteorder/byteorder-"
1246 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
1247 (build-system haskell-build-system)
1249 "http://community.haskell.org/~aslatter/code/byteorder")
1251 "Exposes the native endianness of the system")
1253 "This package is for working with the native byte-ordering of the
1255 (license license:bsd-3)))
1257 (define-public ghc-bytes
1265 (string-append "https://hackage.haskell.org/package/bytes-"
1268 (file-name (string-append name "-" version ".tar.gz"))
1271 "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683"))))
1272 (build-system haskell-build-system)
1273 (inputs `(("ghc-cereal" ,ghc-cereal)
1274 ("cabal-doctest" ,cabal-doctest)
1275 ("ghc-doctest" ,ghc-doctest)
1276 ("ghc-scientific" ,ghc-scientific)
1277 ("ghc-transformers-compat" ,ghc-transformers-compat)
1278 ("ghc-unordered-containers" ,ghc-unordered-containers)
1279 ("ghc-void" ,ghc-void)
1280 ("ghc-vector" ,ghc-vector)))
1281 (synopsis "Serialization between @code{binary} and @code{cereal}")
1282 (description "This package provides a simple compatibility shim that lets
1283 you work with both @code{binary} and @code{cereal} with one chunk of
1284 serialization code.")
1285 (home-page "https://hackage.haskell.org/package/bytes")
1286 (license license:bsd-3)))
1288 (define-public ghc-bytestring-builder
1290 (name "ghc-bytestring-builder")
1291 (version "0.10.8.2.0")
1296 "https://hackage.haskell.org/package/bytestring-builder"
1297 "/bytestring-builder-" version ".tar.gz"))
1300 "0grcrgwwwcvwrs9az7l4d3kf0lsqfa9qpmjzf6iyanvwn9nyzyi7"))))
1301 (build-system haskell-build-system)
1302 (arguments `(#:haddock? #f)) ; Package contains no documentation.
1303 (home-page "https://hackage.haskell.org/package/bytestring-builder")
1304 (synopsis "The new bytestring builder, packaged outside of GHC")
1305 (description "This package provides the bytestring builder that is
1306 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
1307 Compatibility package for older packages.")
1308 (license license:bsd-3)))
1310 (define-public ghc-bytestring-handle
1312 (name "ghc-bytestring-handle")
1318 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
1322 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
1323 (build-system haskell-build-system)
1326 ("1" "0x11aj6w1lijh84jcdq1qgyvdnc7i9ivbyq4wf9rxicg57viisz9")
1328 (modify-phases %standard-phases
1329 (add-before 'configure 'update-constraints
1331 (substitute* "bytestring-handle.cabal"
1332 (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
1333 "QuickCheck >= 2.1.2 && < 2.14")))))))
1335 `(("ghc-hunit" ,ghc-hunit)
1336 ("ghc-quickcheck" ,ghc-quickcheck)
1337 ("ghc-test-framework" ,ghc-test-framework)
1338 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1339 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1340 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
1341 (synopsis "ByteString-backed Handles")
1342 (description "ByteString-backed Handles") ; There is no description
1343 (license license:bsd-3)))
1345 (define-public ghc-bytestring-lexing
1347 (name "ghc-bytestring-lexing")
1352 (uri (string-append "https://hackage.haskell.org/package/"
1353 "bytestring-lexing/bytestring-lexing-"
1357 "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81"))))
1358 (build-system haskell-build-system)
1359 (home-page "http://code.haskell.org/~wren/")
1360 (synopsis "Parse and produce literals from strict or lazy bytestrings")
1362 "This package provides tools to parse and produce literals efficiently
1363 from strict or lazy bytestrings.")
1364 (license license:bsd-2)))
1366 (define-public ghc-bzlib-conduit
1368 (name "ghc-bzlib-conduit")
1373 (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/"
1374 "bzlib-conduit-" version ".tar.gz"))
1377 "0a21zin5plsl37hkxh2jv8cxwyjrbs2fy7n5cyrzgdaa7lmp6b7b"))))
1378 (build-system haskell-build-system)
1380 `(("ghc-bindings-dsl" ,ghc-bindings-dsl)
1381 ("ghc-conduit" ,ghc-conduit)
1382 ("ghc-data-default-class" ,ghc-data-default-class)
1383 ("ghc-resourcet" ,ghc-resourcet)))
1385 `(("ghc-hspec" ,ghc-hspec)
1386 ("ghc-random" ,ghc-random)))
1387 (home-page "https://github.com/snoyberg/bzlib-conduit")
1388 (synopsis "Streaming compression/decompression via conduits")
1390 "This package provides Haskell bindings to bzlib and Conduit support for
1391 streaming compression and decompression.")
1392 (license license:bsd-3)))
1394 (define-public ghc-c2hs
1402 "https://hackage.haskell.org/package/c2hs/c2hs-"
1407 "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci"))))
1408 (build-system haskell-build-system)
1410 `(("ghc-language-c" ,ghc-language-c)
1411 ("ghc-dlist" ,ghc-dlist)))
1413 `(("ghc-test-framework" ,ghc-test-framework)
1414 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1415 ("ghc-hunit" ,ghc-hunit)
1416 ("ghc-shelly" ,ghc-shelly)))
1419 (modify-phases %standard-phases
1420 (add-before 'check 'set-cc
1421 ;; add a cc executable in the path, needed for some tests to pass
1422 (lambda* (#:key inputs #:allow-other-keys)
1423 (let ((gcc (assoc-ref inputs "gcc"))
1425 (curpath (getenv "PATH")))
1427 (symlink (which "gcc") (string-append tmpbin "/cc"))
1428 (setenv "PATH" (string-append tmpbin ":" curpath)))
1430 (add-after 'check 'remove-cc
1431 ;; clean the tmp dir made in 'set-cc
1433 (let* ((cc-path (which "cc"))
1434 (cc-dir (dirname cc-path)))
1435 (delete-file-recursively cc-dir)
1437 (home-page "https://github.com/haskell/c2hs")
1438 (synopsis "Create Haskell bindings to C libraries")
1439 (description "C->Haskell assists in the development of Haskell bindings to
1440 C libraries. It extracts interface information from C header files and
1441 generates Haskell code with foreign imports and marshaling. Unlike writing
1442 foreign imports by hand (or using hsc2hs), this ensures that C functions are
1443 imported with the correct Haskell types.")
1444 (license license:gpl2)))
1446 (define-public ghc-cairo
1449 (version "0.13.5.0")
1453 (uri (string-append "https://hackage.haskell.org/package/cairo/"
1454 "cairo-" version ".tar.gz"))
1457 "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2"))))
1458 (build-system haskell-build-system)
1460 `(#:modules ((guix build haskell-build-system)
1465 (modify-phases %standard-phases
1466 ;; FIXME: This is a copy of the standard configure phase with a tiny
1467 ;; difference: this package needs the -package-db flag to be passed
1468 ;; to "runhaskell" in addition to the "configure" action, because it
1469 ;; depends on gtk2hs-buildtools, which provide setup hooks. Without
1470 ;; this option the Setup.hs file cannot be evaluated. The
1471 ;; haskell-build-system should be changed to pass "-package-db" to
1472 ;; "runhaskell" in any case.
1474 (lambda* (#:key outputs inputs tests? (configure-flags '())
1476 (let* ((out (assoc-ref outputs "out"))
1477 (name-version (strip-store-file-name out))
1478 (input-dirs (match inputs
1482 (ghc-path (getenv "GHC_PACKAGE_PATH"))
1483 (params (append `(,(string-append "--prefix=" out))
1484 `(,(string-append "--libdir=" out "/lib"))
1485 `(,(string-append "--bindir=" out "/bin"))
1488 "/share/doc/" name-version))
1489 '("--libsubdir=$compiler/$pkg-$version")
1490 '("--package-db=../package.conf.d")
1493 (cut string-append "--extra-include-dirs=" <>)
1494 (search-path-as-list '("include") input-dirs)))
1496 (cut string-append "--extra-lib-dirs=" <>)
1497 (search-path-as-list '("lib") input-dirs)))
1502 (unsetenv "GHC_PACKAGE_PATH")
1503 (apply invoke "runhaskell" "-package-db=../package.conf.d"
1504 "Setup.hs" "configure" params)
1505 (setenv "GHC_PACKAGE_PATH" ghc-path)
1508 `(("ghc-utf8-string" ,ghc-utf8-string)
1511 `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools)
1512 ("pkg-config" ,pkg-config)))
1513 (home-page "http://projects.haskell.org/gtk2hs/")
1514 (synopsis "Haskell bindings to the Cairo vector graphics library")
1516 "Cairo is a library to render high quality vector graphics. There exist
1517 various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG
1518 documents, amongst others.")
1519 (license license:bsd-3)))
1521 (define-public ghc-call-stack
1523 (name "ghc-call-stack")
1528 (uri (string-append "https://hackage.haskell.org/package/"
1529 "call-stack/call-stack-"
1533 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
1534 (build-system haskell-build-system)
1535 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
1536 (home-page "https://github.com/sol/call-stack#readme")
1537 (synopsis "Use GHC call-stacks in a backward compatible way")
1538 (description "This package provides a compatibility layer for using GHC
1539 call stacks with different versions of the compiler.")
1540 (license license:expat)))
1542 ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
1543 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
1544 (define-public ghc-call-stack-boot
1547 (inherit ghc-call-stack)
1548 (arguments '(#:tests? #f))
1551 (define-public ghc-case-insensitive
1553 (name "ghc-case-insensitive")
1554 (version "1.2.0.11")
1555 (outputs '("out" "static" "doc"))
1560 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
1565 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7"))))
1566 (build-system haskell-build-system)
1567 ;; these inputs are necessary to use this library
1569 `(("ghc-hashable" ,ghc-hashable)))
1571 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1573 "https://github.com/basvandijk/case-insensitive")
1574 (synopsis "Case insensitive string comparison")
1576 "The module @code{Data.CaseInsensitive} provides the @code{CI} type
1577 constructor which can be parameterised by a string-like type like:
1578 @code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of
1579 the resulting type will be insensitive to cases.")
1580 (license license:bsd-3)))
1582 (define-public ghc-cassava
1584 (name "ghc-cassava")
1590 "https://hackage.haskell.org/package/cassava/cassava-"
1595 "01h1zrdqb313cjd4rqm1107azzx4czqi018c2djf66a5i7ajl3dk"))))
1596 (build-system haskell-build-system)
1598 `(("ghc-attoparsec" ,ghc-attoparsec)
1599 ("ghc-hashable" ,ghc-hashable)
1600 ("ghc-scientific" ,ghc-scientific)
1601 ("ghc-unordered-containers" ,ghc-unordered-containers)
1602 ("ghc-vector" ,ghc-vector)
1603 ("ghc-only" ,ghc-only)
1604 ("ghc-text-short" ,ghc-text-short)
1605 ("ghc-bytestring-builder" ,ghc-bytestring-builder)))
1607 `(("ghc-hunit" ,ghc-hunit)
1608 ("ghc-quickcheck" ,ghc-quickcheck)
1609 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
1610 ("ghc-test-framework" ,ghc-test-framework)
1611 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1612 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1616 "1ph8rf91z4nf1ryrh9s4gd1kq98jlgk2manwddkpch8k0n9xvfk4")
1617 #:configure-flags '("--flags=-bytestring--lt-0_10_4")))
1618 (home-page "https://github.com/haskell-hvr/cassava")
1619 (synopsis "CSV parsing and encoding library")
1621 "@code{cassava} is a library for parsing and encoding
1622 @url{https://tools.ietf.org/html/rfc4180, RFC 4180} compliant @url{https://
1623 en.wikipedia.org/wiki/Comma-separated_values, comma-separated values (CSV)}
1624 data, which is a textual line-oriented format commonly used for exchanging
1627 @code{cassava}'s API includes support for:
1632 Index-based record-conversion
1634 Name-based record-conversion
1636 Typeclass directed conversion of fields and records
1638 Built-in field-conversion instances for standard types
1640 Customizable record-conversion instance derivation via GHC generics
1642 Low-level @url{https://hackage.haskell.org/package/bytestring), bytestring}
1643 builders (see @url{https://hackage.haskell.org/package/cassava-0.5.2.0/docs/
1644 Data-Csv-Builder.html, Data.Csv.Builder})
1646 Incremental decoding and encoding API (see @url{https://hackage.haskell.org/
1647 package/cassava-0.5.2.0/docs/Data-Csv-Incremental.html, Data.Csv.Incremental})
1649 Streaming API for constant-space decoding (see @url{https://hackage.haskell.org/
1650 package/cassava-0.5.2.0/docs/Data-Csv-Streaming.html, Data.Csv.Streaming})
1653 Moreover, this library is designed to be easy to use; for instance, here's a
1654 very simple example of encoding CSV data:
1657 >>> Data.Csv.encode [(\"John\",27),(\"Jane\",28)]
1658 \"John,27\r\nJane,28\r\n\"
1661 (license license:bsd-3)))
1663 (define-public ghc-cassava-megaparsec
1665 (name "ghc-cassava-megaparsec")
1671 "https://hackage.haskell.org/package/cassava-megaparsec/"
1672 "cassava-megaparsec-"
1677 "0q4skw98nzy6icmgpwqvgw0c5pqcgi25rf7nmwh2pksvv94pi3p3"))))
1678 (build-system haskell-build-system)
1680 `(("ghc-cassava" ,ghc-cassava)
1681 ("ghc-megaparsec" ,ghc-megaparsec)
1682 ("ghc-unordered-containers" ,ghc-unordered-containers)
1683 ("ghc-vector" ,ghc-vector)))
1685 `(("ghc-hspec" ,ghc-hspec)
1686 ("ghc-hspec-megaparsec" ,ghc-hspec-megaparsec)))
1687 (home-page "https://github.com/stackbuilders/cassava-megaparsec")
1688 (synopsis "Megaparsec parser for CSV files that plays nicely with Cassava")
1690 "Alternative parser for the Cassava package written with Megaparsec that
1691 provides for better error messages at the expense of some speed.")
1692 (license license:expat)))
1694 (define-public ghc-cborg
1702 "mirror://hackage/package/cborg/cborg-"
1707 "1rdnvy0w17s70ikmbyrnwax5rvqh19l95sh8i7ipgxi23z1r0bp1"))))
1708 (build-system haskell-build-system)
1710 `(("ghc-half" ,ghc-half)
1711 ("ghc-primitive" ,ghc-primitive)))
1713 `(("ghc-aeson" ,ghc-aeson)
1714 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
1715 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
1716 ("ghc-fail" ,ghc-fail)
1717 ("ghc-quickcheck" ,ghc-quickcheck)
1718 ("ghc-scientific" ,ghc-scientific)
1719 ("ghc-tasty" ,ghc-tasty)
1720 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
1721 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
1722 ("ghc-vector" ,ghc-vector)))
1723 (home-page "http://hackage.haskell.org/package/cborg")
1724 (synopsis "Concise Binary Object Representation")
1726 "This package (formerly binary-serialise-cbor) provides an
1727 efficient implementation of the Concise Binary Object
1728 Representation (CBOR), as specified by RFC 7049 at
1729 https://tools.ietf.org/html/rfc7049.
1731 If you are looking for a library for serialisation of Haskell values, have a
1732 look at the @url{https://hackage.haskell.org/package/serialise} package, which
1733 is built upon this library.
1735 An implementation of the standard bijection between CBOR and JSON is provided
1736 by the @url{https://hackage.haskell.org/package/cborg-json} package.
1738 Also see @code{https://hackage.haskell.org/package/cbor-tool} for a convenient
1739 command-line utility for working with CBOR data.")
1740 (license license:bsd-3)))
1742 (define-public ghc-cborg-json
1744 (name "ghc-cborg-json")
1750 "mirror://hackage/package/cborg-json/cborg-json-"
1754 (base32 "0ysilz7rrjk94sqr3a61s98hr9qfi1xg13bskmlpc6mpgi2s4s5b"))))
1755 (build-system haskell-build-system)
1757 `(("ghc-aeson" ,ghc-aeson)
1758 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
1759 ("ghc-unordered-containers" ,ghc-unordered-containers)
1760 ("ghc-scientific" ,ghc-scientific)
1761 ("ghc-vector" ,ghc-vector)
1762 ("ghc-cborg" ,ghc-cborg)))
1763 (home-page "https://github.com/well-typed/cborg")
1764 (synopsis "A library for encoding JSON as CBOR")
1766 "This package implements the bijection between JSON and CBOR
1767 defined in the CBOR specification, RFC 7049.")
1768 (license license:bsd-3)))
1770 (define-public ghc-cereal
1778 "https://hackage.haskell.org/package/cereal/cereal-"
1783 "1mqvd1iwzr50az4y24332x3g3wsrzw8j1iwph02vr7jbjfn8i7id"))))
1784 (build-system haskell-build-system)
1786 `(("ghc-quickcheck" ,ghc-quickcheck)
1787 ("ghc-fail" ,ghc-fail)
1788 ("ghc-test-framework" ,ghc-test-framework)
1789 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1790 (home-page "https://hackage.haskell.org/package/cereal")
1791 (synopsis "Binary serialization library")
1792 (description "This package provides a binary serialization library,
1793 similar to @code{binary}, that introduces an @code{isolate} primitive for
1794 parser isolation, and labeled blocks for better error messages.")
1795 (license license:bsd-3)))
1797 (define-public ghc-cereal-conduit
1799 (name "ghc-cereal-conduit")
1804 (uri (string-append "https://hackage.haskell.org/package/"
1805 "cereal-conduit/cereal-conduit-"
1809 "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r"))))
1810 (build-system haskell-build-system)
1812 `(("ghc-conduit" ,ghc-conduit)
1813 ("ghc-resourcet" ,ghc-resourcet)
1814 ("ghc-cereal" ,ghc-cereal)))
1816 `(("ghc-hunit" ,ghc-hunit)))
1817 (home-page "https://github.com/snoyberg/conduit")
1818 (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits")
1820 "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into
1821 @code{Sources}, @code{Sinks}, and @code{Conduits}.")
1822 (license license:bsd-3)))
1824 (define-public ghc-cgi
1827 (version "3001.4.0.0")
1832 "https://hackage.haskell.org/package/cgi/cgi-"
1837 "1d0nh5ymkqskkp4yn0gfz4mff8i0cxyw1wws8xxp6k1mg1ywa25k"))))
1838 (build-system haskell-build-system)
1840 `(("ghc-exceptions" ,ghc-exceptions)
1841 ("ghc-multipart" ,ghc-multipart)
1842 ("ghc-network-uri" ,ghc-network-uri)
1843 ("ghc-network" ,ghc-network)))
1845 `(("ghc-doctest" ,ghc-doctest)
1846 ("ghc-quickcheck" ,ghc-quickcheck)))
1848 "https://github.com/cheecheeo/haskell-cgi")
1849 (synopsis "Library for writing CGI programs")
1851 "This is a Haskell library for writing CGI programs.")
1852 (license license:bsd-3)))
1854 (define-public ghc-charset
1856 (name "ghc-charset")
1862 "https://hackage.haskell.org/package/charset/charset-"
1867 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
1868 (build-system haskell-build-system)
1871 ("1" "1z6nxw2g9vgsjq0g159sk8mwj68lwzxzi5iv5ynha0h85jcqxszy")))
1873 `(("ghc-semigroups" ,ghc-semigroups)
1874 ("ghc-unordered-containers" ,ghc-unordered-containers)))
1875 (home-page "https://github.com/ekmett/charset")
1876 (synopsis "Fast unicode character sets for Haskell")
1877 (description "This package provides fast unicode character sets for
1878 Haskell, based on complemented PATRICIA tries.")
1879 (license license:bsd-3)))
1881 (define-public ghc-chart
1888 (uri (string-append "https://hackage.haskell.org/package/Chart/"
1889 "Chart-" version ".tar.gz"))
1892 "1pn735k9ifxlb9mdh8xy7wi22cxni8xyr28n8zx9w0j6vprcg89l"))))
1893 (build-system haskell-build-system)
1895 `(("ghc-old-locale" ,ghc-old-locale)
1896 ("ghc-lens" ,ghc-lens)
1897 ("ghc-colour" ,ghc-colour)
1898 ("ghc-data-default-class" ,ghc-data-default-class)
1899 ("ghc-operational" ,ghc-operational)
1900 ("ghc-vector" ,ghc-vector)))
1901 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1902 (synopsis "Library for generating 2D charts and plots")
1904 "This package provides a library for generating 2D charts and plots, with
1905 backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
1906 (license license:bsd-3)))
1908 (define-public ghc-chart-cairo
1910 (name "ghc-chart-cairo")
1915 (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/"
1916 "Chart-cairo-" version ".tar.gz"))
1919 "0hknj4rsjf2m8p5pyq5zff8ai7v80yvmxb5c6n0bkgxs4317nbl9"))))
1920 (build-system haskell-build-system)
1922 `(("ghc-old-locale" ,ghc-old-locale)
1923 ("ghc-cairo" ,ghc-cairo)
1924 ("ghc-colour" ,ghc-colour)
1925 ("ghc-data-default-class" ,ghc-data-default-class)
1926 ("ghc-operational" ,ghc-operational)
1927 ("ghc-lens" ,ghc-lens)
1928 ("ghc-chart" ,ghc-chart)))
1929 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1930 (synopsis "Cairo backend for Charts")
1931 (description "This package provides a Cairo vector graphics rendering
1932 backend for the Charts library.")
1933 (license license:bsd-3)))
1935 (define-public ghc-chasingbottoms
1937 (name "ghc-chasingbottoms")
1942 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
1943 "ChasingBottoms-" version ".tar.gz"))
1946 "0ziiqfsvv1ypdra6kd0bhbsl852i0wqn43jkfii38yl879cdacan"))))
1947 (build-system haskell-build-system)
1949 `(("ghc-quickcheck" ,ghc-quickcheck)
1950 ("ghc-random" ,ghc-random)
1951 ("ghc-syb" ,ghc-syb)))
1952 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
1953 (synopsis "Testing of partial and infinite values in Haskell")
1955 ;; FIXME: There should be a @comma{} in the uref text, but it is not
1956 ;; rendered properly.
1957 "This is a library for testing code involving bottoms or infinite values.
1958 For the underlying theory and a larger example involving use of QuickCheck,
1960 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
1961 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
1962 Partial and Infinite Values\"}.")
1963 (license license:expat)))
1965 (define-public ghc-cheapskate
1967 (name "ghc-cheapskate")
1973 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
1978 "0qnyd8bni2rby6b02ff4bvfdhm1hwc8vzpmnms84jgrlg1lly3fm"))))
1979 (build-system haskell-build-system)
1981 `(("ghc-blaze-html" ,ghc-blaze-html)
1982 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
1983 ("ghc-data-default" ,ghc-data-default)
1984 ("ghc-syb" ,ghc-syb)
1985 ("ghc-uniplate" ,ghc-uniplate)))
1986 (home-page "https://github.com/jgm/cheapskate")
1987 (synopsis "Experimental markdown processor")
1988 (description "Cheapskate is an experimental Markdown processor in pure
1989 Haskell. It aims to process Markdown efficiently and in the most forgiving
1990 possible way. It is designed to deal with any input, including garbage, with
1991 linear performance. Output is sanitized by default for protection against
1992 cross-site scripting (@dfn{XSS}) attacks.")
1993 (license license:bsd-3)))
1995 (define-public ghc-chell
2003 "https://hackage.haskell.org/package/chell/chell-"
2007 "1i845isfbk0yq852am9bqmxfpfkpnlha8nfidffsv4gw2p8gg6fg"))))
2008 (build-system haskell-build-system)
2011 ("1" "1q93wrw03ix4cmnkz3lzkixcvvizw6i2ia2zifdfak1dvxnblxk0")))
2013 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
2014 ("ghc-patience" ,ghc-patience)
2015 ("ghc-random" ,ghc-random)
2016 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
2017 (home-page "https://john-millikin.com/software/chell/")
2018 (synopsis "Simple and intuitive library for automated testing")
2020 "Chell is a simple and intuitive library for automated testing.
2021 It natively supports assertion-based testing, and can use companion
2022 libraries such as @code{chell-quickcheck} to support more complex
2023 testing strategies.")
2024 (license license:expat)))
2026 (define-public ghc-chell-quickcheck
2028 (name "ghc-chell-quickcheck")
2034 "https://hackage.haskell.org/package/chell-quickcheck/"
2035 "chell-quickcheck-" version ".tar.gz"))
2038 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
2039 (build-system haskell-build-system)
2042 (modify-phases %standard-phases
2043 (add-before 'configure 'update-constraints
2045 (substitute* "chell-quickcheck.cabal"
2046 (("QuickCheck >= 2\\.3 && < 2\\.13")
2047 "QuickCheck >= 2.3 && < 2.14")))))))
2049 `(("ghc-chell" ,ghc-chell)
2050 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
2051 ("ghc-random" ,ghc-random)
2052 ("ghc-quickcheck" ,ghc-quickcheck)))
2053 (home-page "https://john-millikin.com/software/chell/")
2054 (synopsis "QuickCheck support for the Chell testing library")
2055 (description "More complex tests for @code{chell}.")
2056 (license license:expat)))
2058 (define ghc-chell-quickcheck-bootstrap
2060 (name "ghc-chell-quickcheck-bootstrap")
2066 "https://hackage.haskell.org/package/chell-quickcheck/"
2067 "chell-quickcheck-" version ".tar.gz"))
2070 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
2071 (build-system haskell-build-system)
2073 `(("ghc-chell" ,ghc-chell)
2074 ("ghc-random" ,ghc-random)
2075 ("ghc-quickcheck" ,ghc-quickcheck)))
2079 (modify-phases %standard-phases
2080 (add-before 'configure 'update-constraints
2082 (substitute* "chell-quickcheck.cabal"
2083 (("QuickCheck >= 2\\.3 && < 2\\.13")
2084 "QuickCheck >= 2.3 && < 2.14")))))))
2085 (home-page "https://john-millikin.com/software/chell/")
2086 (synopsis "QuickCheck support for the Chell testing library")
2087 (description "More complex tests for @code{chell}.")
2088 (license license:expat)))
2090 (define-public ghc-chunked-data
2092 (name "ghc-chunked-data")
2097 (uri (string-append "https://hackage.haskell.org/package/"
2098 "chunked-data-" version "/"
2099 "chunked-data-" version ".tar.gz"))
2102 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
2103 (build-system haskell-build-system)
2104 (inputs `(("ghc-vector" ,ghc-vector)
2105 ("ghc-semigroups" ,ghc-semigroups)))
2106 (home-page "https://github.com/snoyberg/mono-traversable")
2107 (synopsis "Typeclasses for dealing with various chunked data
2108 representations for Haskell")
2109 (description "This Haskell package was originally present in
2111 (license license:expat)))
2113 (define-public ghc-clock
2121 "https://hackage.haskell.org/package/"
2123 "clock-" version ".tar.gz"))
2125 (base32 "0539w9bjw6xbfv9v6aq9hijszxqdnqhilwpbwpql1400ji95r8q8"))))
2126 (build-system haskell-build-system)
2128 `(("ghc-tasty" ,ghc-tasty)
2129 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
2130 (home-page "https://hackage.haskell.org/package/clock")
2131 (synopsis "High-resolution clock for Haskell")
2132 (description "A package for convenient access to high-resolution clock and
2133 timer functions of different operating systems via a unified API.")
2134 (license license:bsd-3)))
2136 ;; This package builds `clock` without tests, since the tests rely on tasty
2137 ;; and tasty-quickcheck, which in turn require clock to build.
2138 (define-public ghc-clock-bootstrap
2141 (name "ghc-clock-bootstrap")
2142 (arguments '(#:tests? #f))
2144 (properties '((hidden? #t)))))
2146 (define-public ghc-cmark
2152 ;; XXX As of version 0.6, this package bundles libcmark 0.28.0.
2153 ;; See cbits/cmark_version.h.
2154 (uri (string-append "https://hackage.haskell.org/package/"
2155 "cmark/cmark-" version ".tar.gz"))
2158 "1p41z6z8dqxk62287lvhhg4ayy9laai9ljh4azsnzb029v6mbv0d"))))
2159 (build-system haskell-build-system)
2161 `(("ghc-hunit" ,ghc-hunit)))
2162 (home-page "https://github.com/jgm/commonmark-hs")
2163 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
2165 "This package provides Haskell bindings for
2166 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
2167 CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
2168 sources, and does not require prior installation of the C library.")
2169 (license license:bsd-3)))
2171 (define-public ghc-cmark-gfm
2173 (name "ghc-cmark-gfm")
2178 (uri (string-append "https://hackage.haskell.org/package/"
2179 "cmark-gfm/cmark-gfm-"
2183 "03xflrkyw84qv3yjly5iks9311bqv5cmrmsylr763v4ph0fn7rjq"))))
2184 (build-system haskell-build-system)
2186 `(("ghc-hunit" ,ghc-hunit)))
2187 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
2189 "Fast, accurate GitHub Flavored Markdown parser and renderer")
2191 "This package provides Haskell bindings for libcmark-gfm, the reference
2192 parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
2193 It includes sources for libcmark-gfm and does not require prior installation
2195 (license license:bsd-3)))
2197 (define-public ghc-cmdargs
2199 (name "ghc-cmdargs")
2205 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
2209 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
2210 (build-system haskell-build-system)
2211 (outputs '("out" "static" "doc"))
2213 "http://community.haskell.org/~ndm/cmdargs/")
2214 (synopsis "Command line argument processing")
2216 "This library provides an easy way to define command line parsers.")
2217 (license license:bsd-3)))
2219 (define-public ghc-code-page
2221 (name "ghc-code-page")
2227 "https://hackage.haskell.org/package/code-page/code-page-"
2231 "0i0qbrbhvrwkbikqb7hh7yxaipaavwzvyrw211d0vkz99f62mqxz"))))
2232 (build-system haskell-build-system)
2233 (home-page "https://github.com/RyanGlScott/code-page")
2234 (synopsis "Windows code page library for Haskell")
2235 (description "A cross-platform library with functions for adjusting
2236 code pages on Windows. On all other operating systems, the library does
2238 (license license:bsd-3)))
2240 (define-public ghc-colour
2248 "https://hackage.haskell.org/package/colour/colour-"
2252 "1rq4l46jx4lpdppy71wf7m1n7pw2jwy788rm35ycwzb1g4clg39v"))))
2254 ;; The tests for this package have the following dependency cycle:
2255 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
2257 (build-system haskell-build-system)
2258 (home-page "https://wiki.haskell.org/Colour")
2259 (synopsis "Model for human colour perception")
2261 "This package provides a data type for colours and transparency.
2262 Colours can be blended and composed. Various colour spaces are
2263 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
2264 (license license:expat)))
2266 (define-public ghc-comonad
2268 (name "ghc-comonad")
2274 "https://hackage.haskell.org/package/comonad/comonad-"
2279 "1l7snp2mszgnjgd0nc9kzfyd13vla0rlazqi03rwx2akcxk14n3c"))))
2280 (build-system haskell-build-system)
2282 `(("cabal-doctest" ,cabal-doctest)
2283 ("ghc-doctest" ,ghc-doctest)))
2285 `(("ghc-contravariant" ,ghc-contravariant)
2286 ("ghc-distributive" ,ghc-distributive)
2287 ("ghc-semigroups" ,ghc-semigroups)
2288 ("ghc-tagged" ,ghc-tagged)
2289 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2290 (home-page "https://github.com/ekmett/comonad/")
2291 (synopsis "Comonads for Haskell")
2292 (description "This library provides @code{Comonad}s for Haskell.")
2293 (license license:bsd-3)))
2295 (define-public ghc-concatenative
2297 (name "ghc-concatenative")
2302 "https://hackage.haskell.org/package/concatenative/concatenative-"
2306 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
2307 (build-system haskell-build-system)
2309 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
2310 (synopsis "Library for postfix control flow")
2312 "Concatenative gives Haskell Factor-style combinators and arrows for
2313 postfix notation. For more information on stack based languages, see
2314 @uref{https://concatenative.org}.")
2315 (license license:bsd-3)))
2317 (define-public ghc-concurrent-extra
2319 (name "ghc-concurrent-extra")
2320 (version "0.7.0.12")
2324 (uri (string-append "https://hackage.haskell.org/package/"
2325 "concurrent-extra/concurrent-extra-"
2329 "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4"))))
2330 (build-system haskell-build-system)
2332 ;; XXX: The ReadWriteLock 'stressTest' fails.
2335 `(("ghc-unbounded-delays" ,ghc-unbounded-delays)))
2337 `(("ghc-async" ,ghc-async)
2338 ("ghc-hunit" ,ghc-hunit)
2339 ("ghc-random" ,ghc-random)
2340 ("ghc-test-framework" ,ghc-test-framework)
2341 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2342 (home-page "https://github.com/basvandijk/concurrent-extra")
2343 (synopsis "Extra concurrency primitives")
2344 (description "This Haskell library offers (among other things) the
2345 following selection of synchronisation primitives:
2348 @item @code{Broadcast}: Wake multiple threads by broadcasting a value.
2349 @item @code{Event}: Wake multiple threads by signalling an event.
2350 @item @code{Lock}: Enforce exclusive access to a resource. Also known
2351 as a binary semaphore or mutex. The package additionally provides an
2352 alternative that works in the STM monad.
2353 @item @code{RLock}: A lock which can be acquired multiple times by the
2354 same thread. Also known as a reentrant mutex.
2355 @item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used
2356 to protect shared resources which may be concurrently read, but only
2357 sequentially written.
2358 @item @code{ReadWriteVar}: Concurrent read, sequential write variables.
2361 Please consult the API documentation of the individual modules for more
2362 detailed information.
2364 This package was inspired by the concurrency libraries of Java and
2366 (license license:bsd-3)))
2368 (define-public ghc-concurrent-output
2370 (name "ghc-concurrent-output")
2376 "mirror://hackage/package/concurrent-output/concurrent-output-"
2381 "1d1aaqg5814k59b0iws3fh06p3g2siaj922gkhs75qgncj0my2p3"))))
2382 (build-system haskell-build-system)
2384 `(("ghc-async" ,ghc-async)
2385 ("ghc-exceptions" ,ghc-exceptions)
2386 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2387 ("ghc-terminal-size" ,ghc-terminal-size)))
2389 "https://hackage.haskell.org/package/concurrent-output")
2391 "Ungarble output from several threads or commands")
2393 "Lets multiple threads and external processes concurrently output to the
2394 console, without it getting all garbled up.
2396 Built on top of that is a way of defining multiple output regions, which are
2397 automatically laid out on the screen and can be individually updated by
2398 concurrent threads. Can be used for progress displays etc.")
2399 (license license:bsd-2)))
2401 (define-public ghc-conduit
2403 (name "ghc-conduit")
2407 (uri (string-append "https://hackage.haskell.org/package/"
2408 "conduit/conduit-" version ".tar.gz"))
2411 "18izjgff4pmrknc8py06yvg3g6x27nx0rzmlwjxcflwm5v4szpw4"))))
2412 (build-system haskell-build-system)
2413 (outputs '("out" "static" "doc"))
2415 `(("ghc-exceptions" ,ghc-exceptions)
2416 ("ghc-lifted-base" ,ghc-lifted-base)
2417 ("ghc-mono-traversable" ,ghc-mono-traversable)
2418 ("ghc-mmorph" ,ghc-mmorph)
2419 ("ghc-resourcet" ,ghc-resourcet)
2420 ("ghc-silently" ,ghc-silently)
2421 ("ghc-transformers-base" ,ghc-transformers-base)
2422 ("ghc-unliftio" ,ghc-unliftio)
2423 ("ghc-unliftio-core" ,ghc-unliftio-core)
2424 ("ghc-vector" ,ghc-vector)
2425 ("ghc-void" ,ghc-void)))
2427 `(("ghc-quickcheck" ,ghc-quickcheck)
2428 ("ghc-hspec" ,ghc-hspec)
2429 ("ghc-safe" ,ghc-safe)
2430 ("ghc-split" ,ghc-split)))
2431 (home-page "https://github.com/snoyberg/conduit")
2432 (synopsis "Streaming data library ")
2434 "The conduit package is a solution to the streaming data problem,
2435 allowing for production, transformation, and consumption of streams of data
2436 in constant memory. It is an alternative to lazy I/O which guarantees
2437 deterministic resource handling, and fits in the same general solution
2438 space as enumerator/iteratee and pipes.")
2439 (license license:expat)))
2441 (define-public ghc-conduit-algorithms
2443 (name "ghc-conduit-algorithms")
2444 (version "0.0.11.0")
2448 (uri (string-append "https://hackage.haskell.org/package/"
2449 "conduit-algorithms/conduit-algorithms-"
2453 "0c1jwz30kkvimx7lb61782yk0kyfamrf5bqc3g1h7g51lk8bbv9i"))))
2454 (build-system haskell-build-system)
2456 `(("ghc-async" ,ghc-async)
2457 ("ghc-bzlib-conduit" ,ghc-bzlib-conduit)
2458 ("ghc-conduit" ,ghc-conduit)
2459 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2460 ("ghc-conduit-extra" ,ghc-conduit-extra)
2461 ("ghc-conduit-zstd" ,ghc-conduit-zstd)
2462 ("ghc-exceptions" ,ghc-exceptions)
2463 ("ghc-lzma-conduit" ,ghc-lzma-conduit)
2464 ("ghc-monad-control" ,ghc-monad-control)
2465 ("ghc-pqueue" ,ghc-pqueue)
2466 ("ghc-resourcet" ,ghc-resourcet)
2467 ("ghc-stm-conduit" ,ghc-stm-conduit)
2468 ("ghc-streaming-commons" ,ghc-streaming-commons)
2469 ("ghc-unliftio-core" ,ghc-unliftio-core)
2470 ("ghc-vector" ,ghc-vector)))
2472 `(("ghc-hunit" ,ghc-hunit)
2473 ("ghc-test-framework" ,ghc-test-framework)
2474 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2475 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2476 (home-page "https://github.com/luispedro/conduit-algorithms#readme")
2477 (synopsis "Conduit-based algorithms")
2479 "This package provides algorithms on @code{Conduits}, including higher
2480 level asynchronous processing and some other utilities.")
2481 (license license:expat)))
2483 (define-public ghc-conduit-combinators
2485 (name "ghc-conduit-combinators")
2490 (uri (string-append "https://hackage.haskell.org/package/"
2491 "conduit-combinators-" version "/"
2492 "conduit-combinators-" version ".tar.gz"))
2495 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
2496 (build-system haskell-build-system)
2497 (inputs `(("ghc-conduit" ,ghc-conduit)
2498 ("ghc-conduit-extra" ,ghc-conduit-extra)
2499 ("ghc-transformers-base" ,ghc-transformers-base)
2500 ("ghc-primitive" ,ghc-primitive)
2501 ("ghc-vector" ,ghc-vector)
2502 ("ghc-void" ,ghc-void)
2503 ("ghc-mwc-random" ,ghc-mwc-random)
2504 ("ghc-unix-compat" ,ghc-unix-compat)
2505 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
2506 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
2507 ("ghc-resourcet" ,ghc-resourcet)
2508 ("ghc-monad-control" ,ghc-monad-control)
2509 ("ghc-chunked-data" ,ghc-chunked-data)
2510 ("ghc-mono-traversable" ,ghc-mono-traversable)))
2511 (native-inputs `(("ghc-hspec" ,ghc-hspec)
2512 ("ghc-silently" ,ghc-silently)
2513 ("ghc-safe" ,ghc-safe)
2514 ("ghc-quickcheck" ,ghc-quickcheck)))
2515 (home-page "https://github.com/snoyberg/mono-traversable")
2516 (synopsis "Commonly used conduit functions, for both chunked and
2518 (description "This Haskell package provides a replacement for Data.Conduit.List,
2519 as well as a convenient Conduit module.")
2520 (license license:expat)))
2522 (define-public ghc-conduit-extra
2524 (name "ghc-conduit-extra")
2529 (uri (string-append "https://hackage.haskell.org/package/"
2530 "conduit-extra/conduit-extra-"
2534 "1d853d39vj5pb8yxfcsnjwdzqzkm34ixzbnba8bslpihb7182wxi"))))
2535 (build-system haskell-build-system)
2537 `(("ghc-conduit" ,ghc-conduit)
2538 ("ghc-exceptions" ,ghc-exceptions)
2539 ("ghc-monad-control" ,ghc-monad-control)
2540 ("ghc-transformers-base" ,ghc-transformers-base)
2541 ("ghc-typed-process" ,ghc-typed-process)
2542 ("ghc-async" ,ghc-async)
2543 ("ghc-attoparsec" ,ghc-attoparsec)
2544 ("ghc-blaze-builder" ,ghc-blaze-builder)
2545 ("ghc-network" ,ghc-network)
2546 ("ghc-primitive" ,ghc-primitive)
2547 ("ghc-resourcet" ,ghc-resourcet)
2548 ("ghc-streaming-commons" ,ghc-streaming-commons)
2549 ("ghc-hspec" ,ghc-hspec)
2550 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
2551 ("ghc-quickcheck" ,ghc-quickcheck)))
2553 `(("hspec-discover" ,hspec-discover)))
2554 (home-page "https://github.com/snoyberg/conduit")
2555 (synopsis "Conduit adapters for common libraries")
2557 "The @code{conduit} package itself maintains relative small dependencies.
2558 The purpose of this package is to collect commonly used utility functions
2559 wrapping other library dependencies, without depending on heavier-weight
2560 dependencies. The basic idea is that this package should only depend on
2561 @code{haskell-platform} packages and @code{conduit}.")
2562 (license license:expat)))
2564 (define-public ghc-conduit-zstd
2566 (name "ghc-conduit-zstd")
2571 (uri (string-append "https://hackage.haskell.org/package/"
2572 "conduit-zstd/conduit-zstd-" version ".tar.gz"))
2575 "04h7w2903hgw4gjcx2pg29yinnmfapawvc19hd3r57rr12fzb0c6"))))
2576 (build-system haskell-build-system)
2578 `(("ghc-conduit" ,ghc-conduit)
2579 ("ghc-zstd" ,ghc-zstd)))
2581 `(("ghc-hunit" ,ghc-hunit)
2582 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2583 ("ghc-conduit-extra" ,ghc-conduit-extra)
2584 ("ghc-test-framework" ,ghc-test-framework)
2585 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2586 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2587 (home-page "https://github.com/luispedro/conduit-zstd#readme")
2588 (synopsis "Conduit-based ZStd Compression")
2589 (description "Zstandard compression packaged as a conduit. This is
2590 a very thin wrapper around the
2591 @url{https://github.com/facebookexperimental/hs-zstd/, official hs-zstd
2593 (license license:expat)))
2595 (define-public ghc-configurator
2597 (name "ghc-configurator")
2602 (uri (string-append "https://hackage.haskell.org/package/"
2603 "configurator/configurator-"
2607 "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"))))
2608 (build-system haskell-build-system)
2610 `(("ghc-attoparsec" ,ghc-attoparsec)
2611 ("ghc-hashable" ,ghc-hashable)
2612 ("ghc-unix-compat" ,ghc-unix-compat)
2613 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2615 `(("ghc-hunit" ,ghc-hunit)
2616 ("ghc-test-framework" ,ghc-test-framework)
2617 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2618 (home-page "https://github.com/bos/configurator")
2619 (synopsis "Configuration management")
2621 "This package provides a configuration management library for programs
2622 and daemons. The features include:
2625 @item Automatic, dynamic reloading in response to modifications to
2626 configuration files.
2627 @item A simple, but flexible, configuration language, supporting several of
2628 the most commonly needed types of data, along with interpolation of strings
2629 from the configuration or the system environment (e.g. @code{$(HOME)}).
2630 @item Subscription-based notification of changes to configuration properties.
2631 @item An @code{import} directive allows the configuration of a complex
2632 application to be split across several smaller files, or common configuration
2633 data to be shared across several applications.
2635 (license license:bsd-3)))
2637 (define-public ghc-connection
2639 (name "ghc-connection")
2643 (uri (string-append "https://hackage.haskell.org/package/"
2644 "connection/connection-"
2648 "1nbmafhlg0wy4aa3p7amjddbamdz6avzrxn4py3lvhrjqn4raxax"))))
2649 (build-system haskell-build-system)
2651 `(("ghc-byteable" ,ghc-byteable)
2652 ("ghc-data-default-class" ,ghc-data-default-class)
2653 ("ghc-network" ,ghc-network)
2654 ("ghc-tls" ,ghc-tls)
2655 ("ghc-socks" ,ghc-socks)
2656 ("ghc-x509" ,ghc-x509)
2657 ("ghc-x509-store" ,ghc-x509-store)
2658 ("ghc-x509-system" ,ghc-x509-system)
2659 ("ghc-x509-validation" ,ghc-x509-validation)))
2660 (home-page "https://github.com/vincenthz/hs-connection")
2661 (synopsis "Simple and easy network connections API")
2663 "This package provides a simple network library for all your connection
2664 needs. It provides a very simple API to create sockets to a destination with
2665 the choice of SSL/TLS, and SOCKS.")
2666 (license license:bsd-3)))
2668 (define-public ghc-constraints
2670 (name "ghc-constraints")
2676 "https://hackage.haskell.org/package/constraints/constraints-"
2680 "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q"))))
2681 (build-system haskell-build-system)
2683 `(("ghc-hashable" ,ghc-hashable)
2684 ("ghc-semigroups" ,ghc-semigroups)
2685 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2687 `(("ghc-hspec" ,ghc-hspec)
2688 ("hspec-discover" ,hspec-discover)))
2689 (home-page "https://github.com/ekmett/constraints/")
2690 (synopsis "Constraint manipulation")
2692 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
2693 They stopped crashing the compiler in GHC 7.6. This package provides
2694 a vocabulary for working with them.")
2695 (license license:bsd-3)))
2697 (define-public ghc-contravariant
2699 (name "ghc-contravariant")
2705 "https://hackage.haskell.org/package/contravariant/contravariant-"
2710 "0366gl62wwwdbl9i6kqy60asf60876k55v91la6bmhnwwcj2q9n4"))))
2711 (build-system haskell-build-system)
2713 `(("ghc-void" ,ghc-void)
2714 ("ghc-transformers-compat" ,ghc-transformers-compat)
2715 ("ghc-statevar" ,ghc-statevar)
2716 ("ghc-semigroups" ,ghc-semigroups)))
2718 "https://github.com/ekmett/contravariant/")
2719 (synopsis "Contravariant functors")
2720 (description "Contravariant functors for Haskell.")
2721 (license license:bsd-3)))
2723 (define-public ghc-contravariant-extras
2725 (name "ghc-contravariant-extras")
2730 (uri (string-append "https://hackage.haskell.org/package/"
2731 "contravariant-extras-" version "/"
2732 "contravariant-extras-" version ".tar.gz"))
2735 "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n"))))
2736 (build-system haskell-build-system)
2739 ("1" "1h2955ahga6i4fn7k8v66l03v77p6fhsac6ck8gpabkc08ij60wp")))
2741 `(("ghc-tuple-th" ,ghc-tuple-th)
2742 ("ghc-contravariant" ,ghc-contravariant)
2743 ("ghc-base-prelude" ,ghc-base-prelude)
2744 ("ghc-semigroups" ,ghc-semigroups)))
2745 (home-page "https://github.com/nikita-volkov/contravariant-extras")
2746 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
2747 (description "This Haskell package provides extras for the
2748 @code{ghc-contravariant} package.")
2749 (license license:expat)))
2751 (define-public ghc-control-monad-free
2753 (name "ghc-control-monad-free")
2759 "https://hackage.haskell.org/"
2760 "package/control-monad-free/control-monad-free-"
2765 "1habgf7byffqf1rqjkzpihvdhclaafgqsqpfpwp3fgpj5ayk1j33"))))
2766 (build-system haskell-build-system)
2767 (home-page "https://github.com/pepeiborra/control-monad-free")
2768 (synopsis "Free monads and monad transformers")
2770 "This package provides datatypes to construct Free monads, Free monad
2771 transformers, and useful instances. In addition it provides the constructs to
2772 avoid quadratic complexity of left associative bind, as explained in:
2776 Janis Voigtlander, @cite{Asymptotic Improvement of Computations over
2777 Free Monads, MPC'08}
2779 (license license:public-domain)))
2781 (define-public ghc-convertible
2783 (name "ghc-convertible")
2788 (uri (string-append "https://hackage.haskell.org/package/convertible/"
2789 "convertible-" version ".tar.gz"))
2792 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
2793 (build-system haskell-build-system)
2795 `(("ghc-old-time" ,ghc-old-time)
2796 ("ghc-old-locale" ,ghc-old-locale)))
2797 (home-page "https://hackage.haskell.org/package/convertible")
2798 (synopsis "Typeclasses and instances for converting between types")
2800 "This package provides a typeclass with a single function that is
2801 designed to help convert between different types: numeric values, dates and
2802 times, and the like. The conversions perform bounds checking and return a
2803 pure @code{Either} value. This means that you need not remember which specific
2804 function performs the conversion you desire.")
2805 (license license:bsd-3)))
2807 (define-public ghc-csv
2815 "https://hackage.haskell.org/package/csv/csv-"
2820 "00767ai09wm7f0yzmpqck3cpgxncpr9djnmmz5l17ajz69139x4c"))))
2821 (build-system haskell-build-system)
2822 (home-page "http://hackage.haskell.org/package/csv")
2823 (synopsis "CSV loader and dumper")
2825 "This library parses and dumps documents that are formatted according to
2826 RFC 4180, @cite{The common Format and MIME Type for Comma-Separated
2827 Values (CSV) Files}. This format is used, among many other things, as a
2828 lingua franca for spreadsheets, and for certain web services.")
2829 (license license:expat)))
2831 (define-public ghc-data-accessor
2833 (name "ghc-data-accessor")
2839 "mirror://hackage/package/data-accessor/data-accessor-"
2842 (base32 "1fq4gygxbz0bd0mzgvc1sl3m4gjnsv8nbgpnmdpa29zj5lb9agxc"))))
2843 (build-system haskell-build-system)
2844 (home-page "https://wiki.haskell.org/Record_access")
2846 "Haskell utilities for accessing and manipulating fields of records")
2847 (description "This package provides Haskell modules for accessing and
2848 manipulating fields of records.")
2849 (license license:bsd-3)))
2851 (define-public ghc-data-accessor-transformers
2853 (name "ghc-data-accessor-transformers")
2859 "mirror://hackage/package/data-accessor-transformers/"
2860 "data-accessor-transformers-" version ".tar.gz"))
2862 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
2863 (build-system haskell-build-system)
2864 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
2865 (home-page "https://wiki.haskell.org/Record_access")
2866 (synopsis "Use Accessor to access state in transformers State monad")
2867 (description "This package provides Haskell modules to allow use of
2868 Accessor to access state in transformers State monad.")
2869 (license license:bsd-3)))
2871 (define-public ghc-data-default
2873 (name "ghc-data-default")
2879 "https://hackage.haskell.org/package/data-default/data-default-"
2883 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
2884 (build-system haskell-build-system)
2886 `(("ghc-data-default-class"
2887 ,ghc-data-default-class)
2888 ("ghc-data-default-instances-base"
2889 ,ghc-data-default-instances-base)
2890 ("ghc-data-default-instances-containers"
2891 ,ghc-data-default-instances-containers)
2892 ("ghc-data-default-instances-dlist"
2893 ,ghc-data-default-instances-dlist)
2894 ("ghc-data-default-instances-old-locale"
2895 ,ghc-data-default-instances-old-locale)))
2896 (home-page "https://hackage.haskell.org/package/data-default")
2897 (synopsis "Types with default values")
2899 "This package defines a class for types with a default value, and
2900 provides instances for types from the base, containers, dlist and old-locale
2902 (license license:bsd-3)))
2904 (define-public ghc-data-default-class
2906 (name "ghc-data-default-class")
2912 "https://hackage.haskell.org/package/data-default-class/"
2913 "data-default-class-" version ".tar.gz"))
2915 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
2916 (build-system haskell-build-system)
2917 (home-page "https://hackage.haskell.org/package/data-default-class")
2918 (synopsis "Types with default values")
2920 "This package defines a class for types with default values.")
2921 (license license:bsd-3)))
2923 (define-public ghc-data-default-instances-base
2925 (name "ghc-data-default-instances-base")
2931 "https://hackage.haskell.org/package/"
2932 "data-default-instances-base/"
2933 "data-default-instances-base-" version ".tar.gz"))
2935 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
2936 (build-system haskell-build-system)
2938 `(("ghc-data-default-class" ,ghc-data-default-class)))
2939 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
2940 (synopsis "Default instances for types in base")
2942 "This package provides default instances for types from the base
2944 (license license:bsd-3)))
2946 (define-public ghc-data-default-instances-containers
2948 (name "ghc-data-default-instances-containers")
2954 "https://hackage.haskell.org/package/"
2955 "data-default-instances-containers/"
2956 "data-default-instances-containers-" version ".tar.gz"))
2958 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
2959 (build-system haskell-build-system)
2961 `(("ghc-data-default-class" ,ghc-data-default-class)))
2962 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
2963 (synopsis "Default instances for types in containers")
2964 (description "Provides default instances for types from the containers
2966 (license license:bsd-3)))
2968 (define-public ghc-data-default-instances-dlist
2970 (name "ghc-data-default-instances-dlist")
2976 "https://hackage.haskell.org/package/"
2977 "data-default-instances-dlist/"
2978 "data-default-instances-dlist-" version ".tar.gz"))
2980 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
2981 (build-system haskell-build-system)
2983 `(("ghc-data-default-class" ,ghc-data-default-class)
2984 ("ghc-dlist" ,ghc-dlist)))
2985 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
2986 (synopsis "Default instances for types in dlist")
2987 (description "Provides default instances for types from the dlist
2989 (license license:bsd-3)))
2991 (define-public ghc-data-default-instances-old-locale
2993 (name "ghc-data-default-instances-old-locale")
2999 "https://hackage.haskell.org/package/"
3000 "data-default-instances-old-locale/"
3001 "data-default-instances-old-locale-" version ".tar.gz"))
3003 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
3004 (build-system haskell-build-system)
3006 `(("ghc-data-default-class" ,ghc-data-default-class)
3007 ("ghc-old-locale" ,ghc-old-locale)))
3009 "https://hackage.haskell.org/package/data-default-instances-old-locale")
3010 (synopsis "Default instances for types in old-locale")
3011 (description "Provides Default instances for types from the old-locale
3013 (license license:bsd-3)))
3015 (define-public ghc-data-fix
3017 (name "ghc-data-fix")
3023 "mirror://hackage/package/data-fix/"
3024 "data-fix-" version ".tar.gz"))
3026 (base32 "14hk6hq5hdb3l5bhmzhw086jpzlvp9qbw9dzw30wlz5jbh2ihmvy"))))
3027 (build-system haskell-build-system)
3028 (home-page "https://github.com/spell-music/data-fix")
3029 (synopsis "Fixpoint data types")
3031 "Fixpoint types and recursion schemes. If you define your AST as
3032 fixpoint type, you get fold and unfold operations for free.
3034 Thanks for contribution to: Matej Kollar, Herbert Valerio Riedel")
3035 (license license:bsd-3)))
3037 (define-public ghc-data-hash
3039 (name "ghc-data-hash")
3044 (uri (string-append "https://hackage.haskell.org/package/data-hash"
3045 "/data-hash-" version ".tar.gz"))
3047 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
3048 (build-system haskell-build-system)
3050 `(("ghc-quickcheck" ,ghc-quickcheck)
3051 ("ghc-test-framework" ,ghc-test-framework)
3052 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3053 (home-page "https://hackage.haskell.org/package/data-hash")
3054 (synopsis "Combinators for building fast hashing functions")
3056 "This package provides combinators for building fast hashing functions.
3057 It includes hashing functions for all basic Haskell98 types.")
3058 (license license:bsd-3)))
3060 (define-public ghc-data-ordlist
3062 (name "ghc-data-ordlist")
3068 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
3072 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
3073 (build-system haskell-build-system)
3074 (home-page "https://hackage.haskell.org/package/data-ordlist")
3075 (synopsis "Set and bag operations on ordered lists")
3077 "This module provides set and multiset operations on ordered lists.")
3078 (license license:bsd-3)))
3080 (define-public ghc-dbus
3089 "mirror://hackage/package/dbus/dbus-"
3093 "0ypkjlw9fn65g7p28kb3p82glk7qs7p7vyffccw7qxa3z57s12w5"))))
3094 (build-system haskell-build-system)
3096 `(("ghc-cereal" ,ghc-cereal)
3097 ("ghc-conduit" ,ghc-conduit)
3098 ("ghc-exceptions" ,ghc-exceptions)
3099 ("ghc-lens" ,ghc-lens)
3100 ("ghc-network" ,ghc-network)
3101 ("ghc-random" ,ghc-random)
3102 ("ghc-split" ,ghc-split)
3103 ("ghc-th-lift" ,ghc-th-lift)
3104 ("ghc-vector" ,ghc-vector)
3105 ("ghc-xml-conduit" ,ghc-xml-conduit)
3106 ("ghc-xml-types" ,ghc-xml-types)))
3108 `(("ghc-extra" ,ghc-extra)
3109 ("ghc-quickcheck" ,ghc-quickcheck)
3110 ("ghc-resourcet" ,ghc-resourcet)
3111 ("ghc-tasty" ,ghc-tasty)
3112 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3113 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3114 ;; FIXME - Some tests try to talk to network.
3115 (arguments `(#:tests? #f))
3116 (home-page "https://github.com/rblaze/haskell-dbus")
3117 (synopsis "Client library for the D-Bus IPC system")
3119 "D-Bus is a simple, message-based protocol for inter-process
3120 communication, which allows applications to interact with other parts
3121 of the machine and the user's session using remote procedure
3122 calls. D-Bus is a essential part of the modern Linux desktop, where
3123 it replaces earlier protocols such as CORBA and DCOP. This library
3124 is an implementation of the D-Bus protocol in Haskell. It can be used
3125 to add D-Bus support to Haskell applications, without the awkward
3126 interfaces common to foreign bindings.")
3127 (license license:asl2.0)))
3129 (define-public ghc-decimal
3131 (name "ghc-decimal")
3137 "https://hackage.haskell.org/package/Decimal/Decimal-"
3142 "0k7kh05mr2f54w1lpgq1nln0h8k6s6h99dyp5jzsb9cfbb3aap2p"))))
3143 (build-system haskell-build-system)
3145 `(("ghc-hunit" ,ghc-hunit)
3146 ("ghc-quickcheck" ,ghc-quickcheck)
3147 ("ghc-test-framework" ,ghc-test-framework)
3148 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3149 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3150 (home-page "https://github.com/PaulJohnson/Haskell-Decimal")
3151 (synopsis "Decimal numbers with variable precision")
3153 "A decimal number has an integer mantissa and a negative exponent.
3154 The exponent can be interpreted as the number of decimal places in the
3156 (license license:bsd-3)))
3158 (define-public ghc-deepseq-generics
3160 (name "ghc-deepseq-generics")
3164 (uri (string-append "https://hackage.haskell.org/package/"
3165 "deepseq-generics/deepseq-generics-"
3169 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
3170 (build-system haskell-build-system)
3173 ("4" "0928s2qnbqsjzrm94x88rvmvbigfmhcyp4m73gw6asinp2qg1kii")))
3175 `(("ghc-hunit" ,ghc-hunit)
3176 ("ghc-test-framework" ,ghc-test-framework)
3177 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3178 (home-page "https://github.com/hvr/deepseq-generics")
3179 (synopsis "Generic RNF implementation")
3181 "This package provides a @code{GHC.Generics}-based
3182 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
3183 providing an @code{rnf} implementation.")
3184 (license license:bsd-3)))
3186 (define-public ghc-dense-linear-algebra
3188 (name "ghc-dense-linear-algebra")
3193 (uri (string-append "https://hackage.haskell.org/package/"
3194 "dense-linear-algebra/dense-linear-algebra-"
3198 "1m7jjxahqxj7ilic3r9806mwp5rnnsmn8vvipkmk40xl65wplxzp"))))
3199 (build-system haskell-build-system)
3201 `(("ghc-math-functions" ,ghc-math-functions)
3202 ("ghc-primitive" ,ghc-primitive)
3203 ("ghc-vector" ,ghc-vector)
3204 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
3205 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
3206 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
3208 `(("ghc-hspec" ,ghc-hspec)
3209 ("ghc-quickcheck" ,ghc-quickcheck)))
3210 (home-page "https://hackage.haskell.org/package/dense-linear-algebra")
3211 (synopsis "Simple and incomplete implementation of linear algebra")
3212 (description "This library is simply a collection of linear-algebra
3213 related modules split from the statistics library.")
3214 (license license:bsd-2)))
3216 (define-public ghc-descriptive
3218 (name "ghc-descriptive")
3224 "https://hackage.haskell.org/package/descriptive/descriptive-"
3229 "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237"))))
3230 (build-system haskell-build-system)
3232 `(("ghc-aeson" ,ghc-aeson)
3233 ("ghc-bifunctors" ,ghc-bifunctors)
3234 ("ghc-scientific" ,ghc-scientific)
3235 ("ghc-vector" ,ghc-vector)))
3237 `(("ghc-hunit" ,ghc-hunit)
3238 ("ghc-hspec" ,ghc-hspec)))
3240 "https://github.com/chrisdone/descriptive")
3242 "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.")
3244 "This package provides datatypes and functions for creating consumers
3245 and parsers with useful semantics.")
3246 (license license:bsd-3)))
3248 (define-public ghc-diagrams-core
3250 (name "ghc-diagrams-core")
3255 (uri (string-append "https://hackage.haskell.org/package/"
3256 "diagrams-core/diagrams-core-" version ".tar.gz"))
3259 "0qgb43vy23g4fxh3nmxfq6jyp34imqvkhgflaa6rz0iq6d60gl43"))))
3260 (build-system haskell-build-system)
3262 `(("ghc-unordered-containers" ,ghc-unordered-containers)
3263 ("ghc-semigroups" ,ghc-semigroups)
3264 ("ghc-monoid-extras" ,ghc-monoid-extras)
3265 ("ghc-dual-tree" ,ghc-dual-tree)
3266 ("ghc-lens" ,ghc-lens)
3267 ("ghc-linear" ,ghc-linear)
3268 ("ghc-adjunctions" ,ghc-adjunctions)
3269 ("ghc-distributive" ,ghc-distributive)
3270 ("ghc-profunctors" ,ghc-profunctors)))
3271 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3272 (synopsis "Core libraries for diagrams embedded domain-specific language")
3273 (description "This package provides the core modules underlying
3274 diagrams, an embedded domain-specific language for compositional,
3275 declarative drawing.")
3276 (license license:bsd-3)))
3278 (define-public ghc-diagrams-lib
3280 (name "ghc-diagrams-lib")
3285 (uri (string-append "https://hackage.haskell.org/package/"
3286 "diagrams-lib/diagrams-lib-" version ".tar.gz"))
3289 "175yzi5kw4yd8ykdkpf64q85c7j3p89l90m3h6qcsx9ipv6av9r5"))))
3290 (build-system haskell-build-system)
3292 `(("ghc-semigroups" ,ghc-semigroups)
3293 ("ghc-monoid-extras" ,ghc-monoid-extras)
3294 ("ghc-dual-tree" ,ghc-dual-tree)
3295 ("ghc-diagrams-core" ,ghc-diagrams-core)
3296 ("ghc-diagrams-solve" ,ghc-diagrams-solve)
3297 ("ghc-active" ,ghc-active)
3298 ("ghc-colour" ,ghc-colour)
3299 ("ghc-data-default-class" ,ghc-data-default-class)
3300 ("ghc-fingertree" ,ghc-fingertree)
3301 ("ghc-intervals" ,ghc-intervals)
3302 ("ghc-lens" ,ghc-lens)
3303 ("ghc-tagged" ,ghc-tagged)
3304 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
3305 ("ghc-juicypixels" ,ghc-juicypixels)
3306 ("ghc-hashable" ,ghc-hashable)
3307 ("ghc-linear" ,ghc-linear)
3308 ("ghc-adjunctions" ,ghc-adjunctions)
3309 ("ghc-distributive" ,ghc-distributive)
3310 ("ghc-fsnotify" ,ghc-fsnotify)
3311 ("ghc-unordered-containers" ,ghc-unordered-containers)
3312 ("ghc-profunctors" ,ghc-profunctors)
3313 ("ghc-exceptions" ,ghc-exceptions)
3314 ("ghc-cereal" ,ghc-cereal)))
3316 `(("ghc-tasty" ,ghc-tasty)
3317 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3318 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
3319 ("ghc-numeric-extras" ,ghc-numeric-extras)))
3322 ("3" "157y2qdsh0aczs81vzlm377mks976mpv6y3aqnchwsnr7apzp8ai")))
3323 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3324 (synopsis "Embedded domain-specific language for declarative graphics")
3325 (description "Diagrams is a flexible, extensible embedded
3326 domain-specific language (EDSL) for creating graphics of many types.
3327 Graphics can be created in arbitrary vector spaces and rendered with
3328 multiple backends. This package provides a standard library of
3329 primitives and operations for creating diagrams.")
3330 (license license:bsd-3)))
3332 (define-public ghc-diagrams-solve
3334 (name "ghc-diagrams-solve")
3339 (uri (string-append "https://hackage.haskell.org/package/"
3340 "diagrams-solve/diagrams-solve-"
3344 "17agchqkmj14b17sw50kzxq4hm056g5d8yy0wnqn5w8h1d0my7x4"))))
3345 (build-system haskell-build-system)
3347 `(("ghc-tasty" ,ghc-tasty)
3348 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3349 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3352 ("5" "1yl8cs05fzqcz49p601am1ij66m9pa70yamhfxgcvya2pf8nimlf")))
3353 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3354 (synopsis "Pure Haskell solver routines used by diagrams")
3355 (description "This library provides Pure Haskell solver routines for
3357 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3358 diagrams framework}. It currently includes routines for finding real
3359 roots of low-degree (@math{n < 5}) polynomials, and solving tridiagonal
3360 and cyclic tridiagonal linear systems.")
3361 (license license:bsd-3)))
3363 (define-public ghc-diagrams-svg
3365 (name "ghc-diagrams-svg")
3370 (uri (string-append "https://hackage.haskell.org/package/"
3371 "diagrams-svg/diagrams-svg-" version ".tar.gz"))
3374 "1lnyxx45yawqas7hmvvannwaa3ycf1l9g40lsl2m8sl2ja6vcmal"))))
3375 (build-system haskell-build-system)
3377 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
3378 ("ghc-colour" ,ghc-colour)
3379 ("ghc-diagrams-core" ,ghc-diagrams-core)
3380 ("ghc-diagrams-lib" ,ghc-diagrams-lib)
3381 ("ghc-monoid-extras" ,ghc-monoid-extras)
3382 ("ghc-svg-builder" ,ghc-svg-builder)
3383 ("ghc-juicypixels" ,ghc-juicypixels)
3384 ("ghc-split" ,ghc-split)
3385 ("ghc-lens" ,ghc-lens)
3386 ("ghc-hashable" ,ghc-hashable)
3387 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
3388 ("ghc-semigroups" ,ghc-semigroups)))
3391 ("2" "15sn85xaachw4cj56w61bjcwrbf4qmnkfl8mbgdapxi5k0y4f2qv")))
3392 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3393 (synopsis "Scalable Vector Grpahics backend for the diagrams framework")
3394 (description "This package provides a modular backend for rendering
3395 diagrams created with the diagrams embedded domain-specific
3396 language (EDSL) to Scalable Vector Graphics (SVG) files.")
3397 (license license:bsd-3)))
3399 (define-public ghc-dictionary-sharing
3401 (name "ghc-dictionary-sharing")
3406 (uri (string-append "https://hackage.haskell.org/package/"
3407 "dictionary-sharing/dictionary-sharing-"
3411 "00aspv943qdqhlk39mbk00kb1dsa5r0caj8sslrn81fnsn252fwc"))))
3412 (build-system haskell-build-system)
3415 ("3" "1mn7jcc7h3b8f1pn9zigqp6mc2n0qb66lms5qnrx4zswdv5w9439")))
3416 (home-page "https://hackage.haskell.org/package/dictionary-sharing")
3417 (synopsis "Sharing/memoization of class members")
3418 (description "This library provides tools for ensuring that class
3419 members are shared.")
3420 (license license:bsd-3)))
3422 (define-public ghc-diff
3428 (uri (string-append "https://hackage.haskell.org/package/"
3429 "Diff/Diff-" version ".tar.gz"))
3430 (patches (search-patches "ghc-diff-swap-cover-args.patch"))
3433 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
3434 (build-system haskell-build-system)
3436 `(("ghc-quickcheck" ,ghc-quickcheck)
3437 ("ghc-test-framework" ,ghc-test-framework)
3438 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3439 (home-page "https://hub.darcs.net/sterlingclover/Diff")
3440 (synopsis "O(ND) diff algorithm in Haskell")
3442 "This package provides an implementation of the standard diff algorithm,
3443 and utilities for pretty printing.")
3444 (license license:bsd-3)))
3446 (define-public ghc-disk-free-space
3448 (name "ghc-disk-free-space")
3453 (uri (string-append "https://hackage.haskell.org/package/"
3454 "disk-free-space/disk-free-space-"
3458 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
3459 (build-system haskell-build-system)
3460 (home-page "https://github.com/redneb/disk-free-space")
3461 (synopsis "Retrieve information about disk space usage")
3462 (description "A cross-platform library for retrieving information about
3464 (license license:bsd-3)))
3466 (define-public ghc-distributive
3468 (name "ghc-distributive")
3474 "https://hackage.haskell.org/package/distributive/distributive-"
3479 "1j93zkfffm6s16kgr0j0z87y5ds28rw0r2gyc5ncwcylvrqy4kl2"))))
3480 (build-system haskell-build-system)
3482 `(("ghc-tagged" ,ghc-tagged)
3483 ("ghc-base-orphans" ,ghc-base-orphans)
3484 ("ghc-transformers-compat" ,ghc-transformers-compat)
3485 ("ghc-semigroups" ,ghc-semigroups)
3486 ("ghc-generic-deriving" ,ghc-generic-deriving)))
3488 `(("cabal-doctest" ,cabal-doctest)
3489 ("ghc-doctest" ,ghc-doctest)
3490 ("ghc-hspec" ,ghc-hspec)
3491 ("hspec-discover" ,hspec-discover)))
3492 (home-page "https://github.com/ekmett/distributive/")
3493 (synopsis "Distributive functors for Haskell")
3494 (description "This package provides distributive functors for Haskell.
3495 Dual to @code{Traversable}.")
3496 (license license:bsd-3)))
3498 (define-public ghc-dlist
3506 "https://hackage.haskell.org/package/dlist/dlist-"
3510 (base32 "0b5spkzvj2kx8pk86xz0djkxs13j7dryf5fl16dk4mlp1wh6mh53"))))
3511 (build-system haskell-build-system)
3513 `(("ghc-quickcheck" ,ghc-quickcheck)))
3514 (home-page "https://github.com/spl/dlist")
3515 (synopsis "Difference lists")
3517 "Difference lists are a list-like type supporting O(1) append. This is
3518 particularly useful for efficient logging and pretty printing (e.g. with the
3519 Writer monad), where list append quickly becomes too expensive.")
3520 (license license:bsd-3)))
3522 (define-public ghc-doctemplates
3524 (name "ghc-doctemplates")
3529 (uri (string-append "https://hackage.haskell.org/package/"
3530 "doctemplates/doctemplates-"
3534 "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b"))))
3535 (build-system haskell-build-system)
3537 `(("ghc-aeson" ,ghc-aeson)
3538 ("ghc-blaze-markup" ,ghc-blaze-markup)
3539 ("ghc-blaze-html" ,ghc-blaze-html)
3540 ("ghc-vector" ,ghc-vector)
3541 ("ghc-unordered-containers" ,ghc-unordered-containers)
3542 ("ghc-scientific" ,ghc-scientific)))
3544 `(("ghc-hspec" ,ghc-hspec)))
3545 (home-page "https://github.com/jgm/doctemplates#readme")
3546 (synopsis "Pandoc-style document templates")
3548 "This package provides a simple text templating system used by pandoc.")
3549 (license license:bsd-3)))
3551 (define-public ghc-doctest
3553 (name "ghc-doctest")
3559 "https://hackage.haskell.org/package/doctest/doctest-"
3564 "0lk4cjfzi5bx2snfzw1zi06li0gvgz3ckfh2kwa98l7nxfdl39ag"))))
3565 (build-system haskell-build-system)
3566 (arguments `(#:tests? #f)) ; FIXME: missing test framework
3568 `(("ghc-base-compat" ,ghc-base-compat)
3569 ("ghc-code-page" ,ghc-code-page)
3570 ("ghc-paths" ,ghc-paths)
3571 ("ghc-syb" ,ghc-syb)))
3573 `(("ghc-hunit" ,ghc-hunit)
3574 ("ghc-quickcheck" ,ghc-quickcheck)
3575 ("ghc-hspec" ,ghc-hspec)
3576 ("ghc-mockery" ,ghc-mockery)
3577 ("ghc-setenv" ,ghc-setenv)
3578 ("ghc-silently" ,ghc-silently)
3579 ("ghc-stringbuilder" ,ghc-stringbuilder)))
3581 "https://github.com/sol/doctest#readme")
3582 (synopsis "Test interactive Haskell examples")
3583 (description "The doctest program checks examples in source code comments.
3584 It is modeled after doctest for Python, see
3585 @uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
3586 (license license:expat)))
3588 (define-public ghc-dotgen
3596 "mirror://hackage/package/dotgen/dotgen-"
3601 "148q93qsmqgr5pzdwvpjqfd6bdm1pwzcp2rblfwswx2x8c5f43fg"))))
3602 (build-system haskell-build-system)
3603 (home-page "https://github.com/ku-fpg/dotgen")
3605 "Simple interface for building .dot graph files")
3607 "This package provides a simple interface for building .dot graph
3608 files, for input into the dot and graphviz tools. It includes a
3609 monadic interface for building graphs.")
3610 (license license:bsd-3)))
3612 (define-public ghc-double-conversion
3614 (name "ghc-double-conversion")
3619 (uri (string-append "https://hackage.haskell.org/package/"
3620 "double-conversion/double-conversion-"
3624 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
3625 (build-system haskell-build-system)
3627 `(("ghc-hunit" ,ghc-hunit)
3628 ("ghc-test-framework" ,ghc-test-framework)
3629 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3630 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3631 (home-page "https://github.com/bos/double-conversion")
3632 (synopsis "Fast conversion between double precision floating point and text")
3634 "This package provides a library that performs fast, accurate conversion
3635 between double precision floating point and text.")
3636 (license license:bsd-3)))
3638 (define-public ghc-dual-tree
3640 (name "ghc-dual-tree")
3645 (uri (string-append "https://hackage.haskell.org/package/"
3646 "dual-tree/dual-tree-" version ".tar.gz"))
3649 "17kdfnf0df0z5pkiifxrlmyd1xd7hjjaazd2kzyajl0gd00vbszx"))))
3650 (build-system haskell-build-system)
3652 `(("ghc-semigroups" ,ghc-semigroups)
3653 ("ghc-newtype-generics" ,ghc-newtype-generics)
3654 ("ghc-monoid-extras" ,ghc-monoid-extras)))
3656 `(("ghc-quickcheck" ,ghc-quickcheck)
3657 ("ghc-testing-feat" ,ghc-testing-feat)))
3658 (home-page "https://hackage.haskell.org/package/dual-tree")
3659 (synopsis "Rose trees with cached and accumulating monoidal annotations")
3660 (description "Rose (@math{n}-ary) trees with both upwards- (i.e.
3661 cached) and downwards-traveling (i.e. accumulating) monoidal
3662 annotations. This is used as the core data structure underlying the
3663 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3664 diagrams framework}, but potentially has other applications as well.")
3665 (license license:bsd-3)))
3667 (define-public ghc-easy-file
3669 (name "ghc-easy-file")
3675 "https://hackage.haskell.org/package/easy-file/easy-file-"
3680 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
3681 (build-system haskell-build-system)
3683 "https://github.com/kazu-yamamoto/easy-file")
3684 (synopsis "File handling library for Haskell")
3685 (description "This library provides file handling utilities for Haskell.")
3686 (license license:bsd-3)))
3688 (define-public ghc-easyplot
3690 (name "ghc-easyplot")
3696 "https://hackage.haskell.org/package/easyplot/easyplot-"
3699 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
3700 (build-system haskell-build-system)
3701 (propagated-inputs `(("gnuplot" ,gnuplot)))
3703 `(#:phases (modify-phases %standard-phases
3704 (add-after 'unpack 'fix-setup-suffix
3705 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
3706 (home-page "https://hub.darcs.net/scravy/easyplot")
3707 (synopsis "Haskell plotting library based on gnuplot")
3708 (description "This package provides a plotting library for
3709 Haskell, using gnuplot for rendering.")
3710 (license license:expat)))
3712 (define-public ghc-echo
3720 "https://hackage.haskell.org/package/echo/echo-"
3724 "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh"))))
3725 (build-system haskell-build-system)
3728 ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l")))
3729 (home-page "https://github.com/RyanGlScott/echo")
3730 (synopsis "Echo terminal input portably")
3731 (description "The @code{base} library exposes the @code{hGetEcho} and
3732 @code{hSetEcho} functions for querying and setting echo status, but
3733 unfortunately, neither function works with MinTTY consoles on Windows.
3734 This library provides an alternative interface which works with both
3735 MinTTY and other consoles.")
3736 (license license:bsd-3)))
3738 (define-public ghc-edisonapi
3740 (name "ghc-edisonapi")
3745 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
3746 "/EdisonAPI-" version ".tar.gz"))
3748 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
3749 (build-system haskell-build-system)
3750 (home-page "http://rwd.rdockins.name/edison/home/")
3751 (synopsis "Library of efficient, purely-functional data structures (API)")
3753 "Edison is a library of purely functional data structures written by
3754 Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
3755 value EDiSon (Efficient Data Structures). Edison provides several families of
3756 abstractions, each with multiple implementations. The main abstractions
3757 provided by Edison are: Sequences such as stacks, queues, and dequeues;
3758 Collections such as sets, bags and heaps; and Associative Collections such as
3759 finite maps and priority queues where the priority and element are distinct.")
3760 (license license:expat)))
3762 (define-public ghc-edisoncore
3764 (name "ghc-edisoncore")
3769 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
3770 "/EdisonCore-" version ".tar.gz"))
3772 (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk"))))
3773 (build-system haskell-build-system)
3775 `(("ghc-quickcheck" ,ghc-quickcheck)
3776 ("ghc-edisonapi" ,ghc-edisonapi)))
3777 (home-page "http://rwd.rdockins.name/edison/home/")
3778 (synopsis "Library of efficient, purely-functional data structures")
3780 "This package provides the core Edison data structure implementations,
3781 including multiple sequence, set, bag, and finite map concrete implementations
3782 with various performance characteristics.")
3783 (license license:expat)))
3785 (define-public ghc-edit-distance
3787 (name "ghc-edit-distance")
3792 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
3793 "/edit-distance-" version ".tar.gz"))
3795 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
3796 (build-system haskell-build-system)
3799 (modify-phases %standard-phases
3800 (add-before 'configure 'update-constraints
3802 (substitute* "edit-distance.cabal"
3803 (("QuickCheck >= 2\\.4 && <2\\.9")
3804 "QuickCheck >= 2.4 && < 2.14")))))))
3806 `(("ghc-random" ,ghc-random)
3807 ("ghc-test-framework" ,ghc-test-framework)
3808 ("ghc-quickcheck" ,ghc-quickcheck)
3809 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3810 (home-page "https://github.com/phadej/edit-distance")
3811 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
3813 "This package provides optimized functions to determine the edit
3814 distances for fuzzy matching, including Levenshtein and restricted
3815 Damerau-Levenshtein algorithms.")
3816 (license license:bsd-3)))
3818 (define-public ghc-edit-distance-vector
3820 (name "ghc-edit-distance-vector")
3825 (uri (string-append "https://hackage.haskell.org/package/"
3826 "edit-distance-vector/edit-distance-vector-"
3830 "07qgc8dyi9kkzkd3xcd78wdlljy0xwhz65b4r2qg2piidpcdvpxp"))))
3831 (build-system haskell-build-system)
3833 `(("ghc-vector" ,ghc-vector)))
3835 `(("ghc-quickcheck" ,ghc-quickcheck)
3836 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
3837 (home-page "https://github.com/thsutton/edit-distance-vector")
3838 (synopsis "Calculate edit distances and edit scripts between vectors")
3839 (description "This package provides implementation of the
3840 Wagner-Fischer dynamic programming algorithm to find the optimal edit
3841 script and cost between two sequences. The implementation in this
3842 package is specialised to sequences represented with @code{Data.Vector}
3843 but is otherwise agnostic to:
3845 @item The type of values in the vectors;
3846 @item The type representing edit operations; and
3847 @item The type representing the cost of operations.
3849 (license license:bsd-3)) )
3851 (define-public ghc-either
3858 (uri (string-append "https://hackage.haskell.org/package/"
3859 "either-" version "/"
3860 "either-" version ".tar.gz"))
3863 "09yzki8ss56xhy9vggdw1rls86b2kf55hjl5wi0vbv02d8fxahq2"))))
3864 (build-system haskell-build-system)
3865 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
3866 ("ghc-exceptions" ,ghc-exceptions)
3867 ("ghc-free" ,ghc-free)
3868 ("ghc-monad-control" ,ghc-monad-control)
3869 ("ghc-manodrandom" ,ghc-monadrandom)
3870 ("ghc-mmorph" ,ghc-mmorph)
3871 ("ghc-profunctors" ,ghc-profunctors)
3872 ("ghc-semigroups" ,ghc-semigroups)
3873 ("ghc-semigroupoids" ,ghc-semigroupoids)
3874 ("ghc-transformers-base" ,ghc-transformers-base)))
3876 `(("ghc-quickcheck" ,ghc-quickcheck)
3877 ("ghc-test-framework" ,ghc-test-framework)
3878 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3879 (home-page "https://github.com/ekmett/either")
3880 (synopsis "Provides an either monad transformer for Haskell")
3881 (description "This Haskell package provides an either monad transformer.")
3882 (license license:bsd-3)))
3884 (define-public ghc-email-validate
3886 (name "ghc-email-validate")
3887 (version "2.3.2.12")
3892 "https://hackage.haskell.org/package/"
3893 "email-validate/email-validate-"
3898 "0ar3cfjia3x11chb7w60mi7hp5djanms883ddk875l6lifr2lyqf"))))
3899 (build-system haskell-build-system)
3901 `(("ghc-attoparsec" ,ghc-attoparsec)
3902 ("ghc-hspec" ,ghc-hspec)
3903 ("ghc-quickcheck" ,ghc-quickcheck)
3904 ("ghc-doctest" ,ghc-doctest)))
3906 "https://github.com/Porges/email-validate-hs")
3907 (synopsis "Email address validator for Haskell")
3909 "This Haskell package provides a validator that can validate an email
3910 address string against RFC 5322.")
3911 (license license:bsd-3)))
3913 (define-public ghc-enclosed-exceptions
3915 (name "ghc-enclosed-exceptions")
3919 (uri (string-append "https://hackage.haskell.org/package/"
3920 "enclosed-exceptions/enclosed-exceptions-"
3924 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
3925 (build-system haskell-build-system)
3926 ;; FIXME: one of the tests blocks forever:
3927 ;; "thread blocked indefinitely in an MVar operation"
3928 (arguments '(#:tests? #f))
3930 `(("ghc-lifted-base" ,ghc-lifted-base)
3931 ("ghc-monad-control" ,ghc-monad-control)
3932 ("ghc-async" ,ghc-async)
3933 ("ghc-transformers-base" ,ghc-transformers-base)))
3935 `(("ghc-hspec" ,ghc-hspec)
3936 ("ghc-quickcheck" ,ghc-quickcheck)))
3937 (home-page "https://github.com/jcristovao/enclosed-exceptions")
3938 (synopsis "Catch all exceptions from within an enclosed computation")
3940 "This library implements a technique to catch all exceptions raised
3941 within an enclosed computation, while remaining responsive to (external)
3942 asynchronous exceptions.")
3943 (license license:expat)))
3945 (define-public ghc-equivalence
3947 (name "ghc-equivalence")
3952 (uri (string-append "https://hackage.haskell.org/package/equivalence"
3953 "/equivalence-" version ".tar.gz"))
3955 (base32 "167njzd1cf32aa7br90rjafrxy6hw3fxkk8awifqbxjrcwm5maqp"))))
3956 (build-system haskell-build-system)
3958 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
3959 ("ghc-transformers-compat" ,ghc-transformers-compat)
3960 ("ghc-fail" ,ghc-fail)
3961 ("ghc-quickcheck" ,ghc-quickcheck)))
3962 (home-page "https://github.com/pa-ba/equivalence")
3963 (synopsis "Maintaining an equivalence relation implemented as union-find")
3965 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
3966 Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
3967 22(2), 1975) in order to maintain an equivalence relation. This
3968 implementation is a port of the @code{union-find} package using the @code{ST}
3969 monad transformer (instead of the IO monad).")
3970 (license license:bsd-3)))
3972 (define-public ghc-erf
3979 (uri (string-append "https://hackage.haskell.org/package/"
3981 "erf-" version ".tar.gz"))
3984 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
3985 (build-system haskell-build-system)
3986 (home-page "https://hackage.haskell.org/package/erf")
3987 (synopsis "The error function, erf, and related functions for Haskell")
3988 (description "This Haskell library provides a type class for the
3989 error function, erf, and related functions. Instances for Float and
3991 (license license:bsd-3)))
3993 (define-public ghc-errorcall-eq-instance
3995 (name "ghc-errorcall-eq-instance")
4000 (uri (string-append "https://hackage.haskell.org/package/"
4001 "errorcall-eq-instance/errorcall-eq-instance-"
4005 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
4006 (build-system haskell-build-system)
4008 `(("ghc-base-orphans" ,ghc-base-orphans)))
4010 `(("ghc-quickcheck" ,ghc-quickcheck)
4011 ("ghc-hspec" ,ghc-hspec)
4012 ("hspec-discover" ,hspec-discover)))
4013 (home-page "https://hackage.haskell.org/package/errorcall-eq-instance")
4014 (synopsis "Orphan Eq instance for ErrorCall")
4016 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
4017 This package provides an orphan instance.")
4018 (license license:expat)))
4020 (define-public ghc-errors
4027 (uri (string-append "https://hackage.haskell.org/package/"
4028 "errors-" version "/"
4029 "errors-" version ".tar.gz"))
4032 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
4033 (build-system haskell-build-system)
4035 `(("ghc-exceptions" ,ghc-exceptions)
4036 ("ghc-transformers-compat" ,ghc-transformers-compat)
4037 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
4038 ("ghc-safe" ,ghc-safe)))
4039 (home-page "https://github.com/gabriel439/haskell-errors-library")
4040 (synopsis "Error handling library for Haskell")
4041 (description "This library encourages an error-handling style that
4042 directly uses the type system, rather than out-of-band exceptions.")
4043 (license license:bsd-3)))
4045 (define-public ghc-esqueleto
4047 (name "ghc-esqueleto")
4052 (uri (string-append "https://hackage.haskell.org/package/"
4053 "esqueleto/esqueleto-" version ".tar.gz"))
4056 "1qi28ma8j5kfygjxnixlazxsyrkdqv8ljz3icwqi5dlscsnj6v3v"))))
4057 (build-system haskell-build-system)
4059 `(#:haddock? #f ; Haddock reports an internal error.
4061 (modify-phases %standard-phases
4062 ;; This package normally runs tests for the MySQL, PostgreSQL, and
4063 ;; SQLite backends. Since we only have Haskell packages for
4064 ;; SQLite, we remove the other two test suites. FIXME: Add the
4065 ;; other backends and run all three test suites.
4066 (add-before 'configure 'remove-non-sqlite-test-suites
4068 (use-modules (ice-9 rdelim))
4069 (with-atomic-file-replacement "esqueleto.cabal"
4071 (let loop ((line (read-line in 'concat)) (deleting? #f))
4073 ((eof-object? line) #t)
4074 ((string-every char-set:whitespace line)
4075 (unless deleting? (display line out))
4076 (loop (read-line in 'concat) #f))
4077 ((member line '("test-suite mysql\n"
4078 "test-suite postgresql\n"))
4079 (loop (read-line in 'concat) #t))
4081 (unless deleting? (display line out))
4082 (loop (read-line in 'concat) deleting?)))))))))))
4084 `(("ghc-blaze-html" ,ghc-blaze-html)
4085 ("ghc-conduit" ,ghc-conduit)
4086 ("ghc-monad-logger" ,ghc-monad-logger)
4087 ("ghc-persistent" ,ghc-persistent)
4088 ("ghc-resourcet" ,ghc-resourcet)
4089 ("ghc-tagged" ,ghc-tagged)
4090 ("ghc-unliftio" ,ghc-unliftio)
4091 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4093 `(("ghc-hspec" ,ghc-hspec)
4094 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
4095 ("ghc-persistent-template" ,ghc-persistent-template)))
4096 (home-page "https://github.com/bitemyapp/esqueleto")
4097 (synopsis "Type-safe embedded domain specific language for SQL queries")
4098 (description "This library provides a type-safe embedded domain specific
4099 language (EDSL) for SQL queries that works with SQL backends as provided by
4100 @code{ghc-persistent}. Its language closely resembles SQL, so you don't have
4101 to learn new concepts, just new syntax, and it's fairly easy to predict the
4102 generated SQL and optimize it for your backend.")
4103 (license license:bsd-3)))
4105 (define-public ghc-exactprint
4107 (name "ghc-exactprint")
4113 "https://hackage.haskell.org/package/"
4114 "ghc-exactprint/ghc-exactprint-" version ".tar.gz"))
4117 "12nqpqmi9c57a3hgpfy8q073zryz66ylmcvf29hyffpj7vmmnvhl"))))
4118 (build-system haskell-build-system)
4120 `(("ghc-paths" ,ghc-paths)
4121 ("ghc-syb" ,ghc-syb)
4122 ("ghc-free" ,ghc-free)))
4124 `(("ghc-hunit" ,ghc-hunit)
4125 ("ghc-diff" ,ghc-diff)
4126 ("ghc-silently" ,ghc-silently)
4127 ("ghc-filemanip" ,ghc-filemanip)))
4129 "https://hackage.haskell.org/package/ghc-exactprint")
4130 (synopsis "ExactPrint for GHC")
4132 "Using the API Annotations available from GHC 7.10.2, this library
4133 provides a means to round-trip any code that can be compiled by GHC, currently
4134 excluding @file{.lhs} files.")
4135 (license license:bsd-3)))
4137 (define-public ghc-exceptions
4139 (name "ghc-exceptions")
4145 "https://hackage.haskell.org/package/exceptions/exceptions-"
4150 "1w25j4ys5s6v239vbqlbipm9fdwxl1j2ap2lzms7f7rgnik5ir24"))))
4151 (build-system haskell-build-system)
4153 `(("ghc-quickcheck" ,ghc-quickcheck)
4154 ("ghc-test-framework" ,ghc-test-framework)
4155 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4156 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4158 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4159 (home-page "https://github.com/ekmett/exceptions/")
4160 (synopsis "Extensible optionally-pure exceptions")
4161 (description "This library provides extensible optionally-pure exceptions
4163 (license license:bsd-3)))
4165 (define-public ghc-executable-path
4167 (name "ghc-executable-path")
4171 (uri (string-append "https://hackage.haskell.org/package/"
4172 "executable-path/executable-path-"
4176 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
4177 (build-system haskell-build-system)
4178 (home-page "https://hackage.haskell.org/package/executable-path")
4179 (synopsis "Find out the full path of the executable")
4181 "The documentation of @code{System.Environment.getProgName} says that
4182 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
4183 instead, for maximum portability, we just return the leafname of the program
4184 as invoked.\" This library tries to provide the missing path.")
4185 (license license:public-domain)))
4187 (define-public ghc-extensible-exceptions
4189 (name "ghc-extensible-exceptions")
4194 (uri (string-append "https://hackage.haskell.org/package/"
4195 "extensible-exceptions/extensible-exceptions-"
4198 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
4199 (build-system haskell-build-system)
4200 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
4201 (synopsis "Extensible exceptions for Haskell")
4203 "This package provides extensible exceptions for both new and old
4204 versions of GHC (i.e., < 6.10).")
4205 (license license:bsd-3)))
4207 (define-public ghc-extra
4215 "https://hackage.haskell.org/package/extra/extra-"
4220 "1gjx98w4w61g043k6rzc8i34cbxpcigi8lb6i7pp1vwp8w8jm5vl"))))
4221 (build-system haskell-build-system)
4223 `(("ghc-clock" ,ghc-clock)
4224 ("ghc-semigroups" ,ghc-semigroups)
4225 ("ghc-quickcheck" ,ghc-quickcheck)
4226 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
4227 (home-page "https://github.com/ndmitchell/extra")
4228 (synopsis "Extra Haskell functions")
4229 (description "This library provides extra functions for the standard
4230 Haskell libraries. Most functions are simple additions, filling out missing
4231 functionality. A few functions are available in later versions of GHC, but
4232 this package makes them available back to GHC 7.2.")
4233 (license license:bsd-3)))
4235 (define-public ghc-fail
4242 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
4245 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
4246 (build-system haskell-build-system)
4247 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4248 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
4249 (synopsis "Forward-compatible MonadFail class")
4251 "This package contains the @code{Control.Monad.Fail} module providing the
4252 @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
4253 class that became available in
4254 @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
4255 older @code{base} package versions. This package turns into an empty package
4256 when used with GHC versions which already provide the
4257 @code{Control.Monad.Fail} module.")
4258 (license license:bsd-3)))
4260 (define-public ghc-fast-logger
4262 (name "ghc-fast-logger")
4268 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
4273 "02mxb1ckvx1s2r2m11l5i2l5rdl7232p0f61af6773haykjp0qxk"))))
4274 (build-system haskell-build-system)
4276 `(("ghc-auto-update" ,ghc-auto-update)
4277 ("ghc-easy-file" ,ghc-easy-file)
4278 ("ghc-unix-time" ,ghc-unix-time)
4279 ("ghc-unix-compat" ,ghc-unix-compat)))
4281 `(("hspec-discover" ,hspec-discover)
4282 ("ghc-hspec" ,ghc-hspec)))
4283 (home-page "https://hackage.haskell.org/package/fast-logger")
4284 (synopsis "Fast logging system")
4285 (description "This library provides a fast logging system for Haskell.")
4286 (license license:bsd-3)))
4288 (define-public ghc-feed
4295 (uri (string-append "https://hackage.haskell.org/package/"
4296 "feed/feed-" version ".tar.gz"))
4299 "004lwdng4slj6yl8mgscr3cgj0zzc8hzkf4450dby2l6cardg4w0"))))
4300 (build-system haskell-build-system)
4302 `(("ghc-base-compat" ,ghc-base-compat)
4303 ("ghc-old-locale" ,ghc-old-locale)
4304 ("ghc-old-time" ,ghc-old-time)
4305 ("ghc-safe" ,ghc-safe)
4306 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
4307 ("ghc-utf8-string" ,ghc-utf8-string)
4308 ("ghc-xml-conduit" ,ghc-xml-conduit)
4309 ("ghc-xml-types" ,ghc-xml-types)))
4311 `(("ghc-hunit" ,ghc-hunit)
4312 ("ghc-markdown-unlit" ,ghc-markdown-unlit)
4313 ("ghc-test-framework" ,ghc-test-framework)
4314 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4315 (home-page "https://github.com/bergmark/feed")
4316 (synopsis "Haskell package for handling various syndication formats")
4317 (description "This Haskell package includes tools for generating and
4318 consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
4319 (license license:bsd-3)))
4321 (define-public ghc-fgl
4325 (outputs '("out" "static" "doc"))
4330 "https://hackage.haskell.org/package/fgl/fgl-"
4335 "04793yh778ck3kz1z2svnfdwwls2kisbnky4lzvf4zjfgpv7mkpz"))))
4336 (build-system haskell-build-system)
4339 (modify-phases %standard-phases
4340 (add-before 'configure 'update-constraints
4342 (substitute* "fgl.cabal"
4343 (("QuickCheck >= 2\\.8 && < 2\\.13")
4344 "QuickCheck >= 2.8 && < 2.14")
4345 (("hspec >= 2\\.1 && < 2\\.7")
4346 "hspec >= 2.1 && < 2.8")))))))
4348 `(("ghc-hspec" ,ghc-hspec)
4349 ("ghc-quickcheck" ,ghc-quickcheck)))
4350 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
4352 "Martin Erwig's Functional Graph Library")
4353 (description "The functional graph library, FGL, is a collection of type
4354 and function definitions to address graph problems. The basis of the library
4355 is an inductive definition of graphs in the style of algebraic data types that
4356 encourages inductive, recursive definitions of graph algorithms.")
4357 (license license:bsd-3)))
4359 (define-public ghc-fgl-arbitrary
4361 (name "ghc-fgl-arbitrary")
4367 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
4371 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
4372 (build-system haskell-build-system)
4375 (modify-phases %standard-phases
4376 (add-before 'configure 'update-constraints
4378 (substitute* "fgl-arbitrary.cabal"
4379 (("QuickCheck >= 2\\.3 && < 2\\.10")
4380 "QuickCheck >= 2.3 && < 2.14")
4381 (("hspec >= 2\\.1 && < 2\\.5")
4382 "hspec >= 2.1 && < 2.8")))))))
4384 `(("ghc-fgl" ,ghc-fgl)
4385 ("ghc-quickcheck" ,ghc-quickcheck)
4386 ("ghc-hspec" ,ghc-hspec)))
4387 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
4388 (synopsis "QuickCheck support for fgl")
4390 "Provides Arbitrary instances for fgl graphs to avoid adding a
4391 QuickCheck dependency for fgl whilst still making the instances
4392 available to others. Also available are non-fgl-specific functions
4393 for generating graph-like data structures.")
4394 (license license:bsd-3)))
4396 (define-public ghc-file-embed
4398 (name "ghc-file-embed")
4403 (uri (string-append "https://hackage.haskell.org/package/file-embed/"
4404 "file-embed-" version ".tar.gz"))
4407 "0l6dkwccbzzyx8rcav03lya2334dgi3vfwk96h7l93l0fc4x19gf"))))
4408 (build-system haskell-build-system)
4409 (home-page "https://github.com/snoyberg/file-embed")
4410 (synopsis "Use Template Haskell to embed file contents directly")
4412 "This package allows you to use Template Haskell to read a file or all
4413 the files in a directory, and turn them into @code{(path, bytestring)} pairs
4414 embedded in your Haskell code.")
4415 (license license:bsd-3)))
4417 (define-public ghc-filemanip
4419 (name "ghc-filemanip")
4423 (uri (string-append "https://hackage.haskell.org/package/"
4424 "filemanip/filemanip-" version ".tar.gz"))
4427 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
4428 (build-system haskell-build-system)
4430 `(("ghc-unix-compat" ,ghc-unix-compat)))
4431 (home-page "https://github.com/bos/filemanip")
4432 (synopsis "File and directory manipulation for Haskell")
4434 "This package provides a Haskell library for working with files and
4435 directories. It includes code for pattern matching, finding files, modifying
4436 file contents, and more.")
4437 (license license:bsd-3)))
4439 (define-public ghc-filepath-bytestring
4441 (name "ghc-filepath-bytestring")
4442 (version "1.4.2.1.6")
4447 "https://hackage.haskell.org/package/filepath-bytestring/"
4448 "filepath-bytestring-" version ".tar.gz"))
4451 "11xrrzdkm5i96dazbz0gi1qp8nnj2lwbnxzwy7f4cnahskz4f4g7"))))
4452 (build-system haskell-build-system)
4454 `(("ghc-quickcheck" ,ghc-quickcheck)))
4455 (home-page "https://hackage.haskell.org/package/filepath-bytestring")
4456 (synopsis "Library for manipulating RawFilePaths in a cross-platform way")
4457 (description "This package provides a drop-in replacement for the standard
4458 @code{filepath} library, operating on @code{RawFilePath} values rather than
4459 @code{FilePath} values to get the speed benefits of using @code{ByteStrings}.")
4460 (license license:bsd-3)))
4462 (define-public ghc-findbin
4464 (name "ghc-findbin")
4470 "https://hackage.haskell.org/package/FindBin/FindBin-"
4474 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
4475 (build-system haskell-build-system)
4476 (home-page "https://github.com/audreyt/findbin")
4477 (synopsis "Get the absolute path of the running program")
4479 "This module locates the full directory of the running program, to allow
4480 the use of paths relative to it. FindBin supports invocation of Haskell
4481 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
4483 (license license:bsd-3)))
4485 (define-public ghc-fingertree
4487 (name "ghc-fingertree")
4493 "https://hackage.haskell.org/package/fingertree/fingertree-"
4497 "0zvandj8fysck7ygpn0dw5bhrhmj1s63i326nalxbfkh2ls4iacm"))))
4498 (build-system haskell-build-system)
4500 `(("ghc-hunit" ,ghc-hunit)
4501 ("ghc-quickcheck" ,ghc-quickcheck)
4502 ("ghc-test-framework" ,ghc-test-framework)
4503 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4504 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4505 (home-page "https://hackage.haskell.org/package/fingertree")
4506 (synopsis "Generic finger-tree structure")
4507 (description "This library provides finger trees, a general sequence
4508 representation with arbitrary annotations, for use as a base for
4509 implementations of various collection types. It includes examples, as
4510 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4511 simple general-purpose data structure\".")
4512 (license license:bsd-3)))
4514 (define-public ghc-fixed
4521 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
4525 "10l2sh179xarb774q92cff2gkb20rsrlilfwp1fk61rzmz9yn64j"))))
4526 (build-system haskell-build-system)
4527 (home-page "https://github.com/ekmett/fixed")
4528 (synopsis "Signed 15.16 precision fixed point arithmetic")
4530 "This package provides functions for signed 15.16 precision fixed point
4532 (license license:bsd-3)))
4534 (define-public ghc-fmlist
4543 "https://hackage.haskell.org/package/fmlist/fmlist-"
4547 "1w9nhm2zybdx4c1lalkajwqr8wcs731lfjld2r8gknd7y96x8pwf"))))
4548 (build-system haskell-build-system)
4549 (home-page "https://github.com/sjoerdvisscher/fmlist")
4550 (synopsis "FoldMap lists")
4551 (description "FoldMap lists are lists represented by their
4552 @code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and
4553 append, just like DLists, but other operations might have favorable
4554 performance characteristics as well. These wild claims are still
4555 completely unverified though.")
4556 (license license:bsd-3)))
4558 (define-public ghc-foldl
4565 (uri (string-append "https://hackage.haskell.org/package/"
4566 "foldl-" version "/"
4567 "foldl-" version ".tar.gz"))
4570 "19qjmzc7gaxfwgqbgy0kq4vhbxvh3qjnwsxnc7pzwws2if5bv80b"))))
4571 (build-system haskell-build-system)
4572 (outputs '("out" "static" "doc"))
4573 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
4574 ("ghc-primitive" ,ghc-primitive)
4575 ("ghc-vector" ,ghc-vector)
4576 ("ghc-unordered-containers" ,ghc-unordered-containers)
4577 ("ghc-hashable" ,ghc-hashable)
4578 ("ghc-contravariant" ,ghc-contravariant)
4579 ("ghc-semigroups" ,ghc-semigroups)
4580 ("ghc-profunctors" ,ghc-profunctors)
4581 ("ghc-semigroupoids" ,ghc-semigroupoids)
4582 ("ghc-comonad" ,ghc-comonad)
4583 ("ghc-vector-builder" ,ghc-vector-builder)))
4584 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
4585 (synopsis "Composable, streaming, and efficient left folds for Haskell")
4586 (description "This Haskell library provides strict left folds that stream
4587 in constant memory, and you can combine folds using @code{Applicative} style
4588 to derive new folds. Derived folds still traverse the container just once
4589 and are often as efficient as hand-written folds.")
4590 (license license:bsd-3)))
4592 (define-public ghc-foundation
4594 (name "ghc-foundation")
4599 (uri (string-append "https://hackage.haskell.org/package/"
4600 "foundation/foundation-" version ".tar.gz"))
4603 "0q6kx57ygmznlpf8n499hid4x6mj3180paijx0a8dgi9hh7man61"))))
4604 (build-system haskell-build-system)
4607 (modify-phases %standard-phases
4608 ;; This test is broken. For details, see
4609 ;; https://github.com/haskell-foundation/foundation/issues/530
4610 (add-after 'unpack 'patch-tests
4612 (substitute* "tests/Test/Foundation/Number.hs"
4613 ((", testDividible proxy") ""))
4615 (outputs '("out" "static" "doc"))
4616 (inputs `(("ghc-basement" ,ghc-basement)))
4617 (home-page "https://github.com/haskell-foundation/foundation")
4618 (synopsis "Alternative prelude with batteries and no dependencies")
4620 "This package provides a custom prelude with no dependencies apart from
4623 Foundation has the following goals:
4626 @item provide a base like sets of modules that provide a consistent set of
4627 features and bugfixes across multiple versions of GHC (unlike base).
4628 @item provide a better and more efficient prelude than base's prelude.
4629 @item be self-sufficient: no external dependencies apart from base;
4630 @item provide better data-types: packed unicode string by default, arrays;
4631 @item Numerical classes that better represent mathematical things (no more
4632 all-in-one @code{Num});
4633 @item I/O system with less lazy IO.
4635 (license license:bsd-3)))
4637 (define-public ghc-free
4645 "https://hackage.haskell.org/package/free/free-"
4650 "0vlf3f2ckl3cr7z2zl8c9c8qkdlfgvmh04gxkp2fg0z9dz80nlyb"))))
4651 (build-system haskell-build-system)
4652 (outputs '("out" "static" "doc"))
4654 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4655 ("ghc-profunctors" ,ghc-profunctors)
4656 ("ghc-exceptions" ,ghc-exceptions)
4657 ("ghc-bifunctors" ,ghc-bifunctors)
4658 ("ghc-comonad" ,ghc-comonad)
4659 ("ghc-distributive" ,ghc-distributive)
4660 ("ghc-semigroupoids" ,ghc-semigroupoids)
4661 ("ghc-semigroups" ,ghc-semigroups)
4662 ("ghc-transformers-base" ,ghc-transformers-base)
4663 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4664 (home-page "https://github.com/ekmett/free/")
4665 (synopsis "Unrestricted monads for Haskell")
4666 (description "This library provides free monads, which are useful for many
4667 tree-like structures and domain specific languages. If @code{f} is a
4668 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4669 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4670 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4671 f} makes no constraining assumptions beyond those given by @code{f} and the
4672 definition of @code{Monad}.")
4673 (license license:bsd-3)))
4675 (define-public ghc-fsnotify
4677 (name "ghc-fsnotify")
4682 "https://hackage.haskell.org/package/fsnotify/"
4683 "fsnotify-" version ".tar.gz"))
4686 "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny"))))
4687 (build-system haskell-build-system)
4689 `(("ghc-async" ,ghc-async)
4690 ("ghc-unix-compat" ,ghc-unix-compat)
4691 ("ghc-hinotify" ,ghc-hinotify)
4692 ("ghc-tasty" ,ghc-tasty)
4693 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4694 ("ghc-random" ,ghc-random)
4695 ("ghc-shelly" ,ghc-shelly)
4696 ("ghc-temporary" ,ghc-temporary)))
4697 (home-page "https://github.com/haskell-fswatch/hfsnotify")
4698 (synopsis "Cross platform library for file change notification.")
4699 (description "Cross platform library for file creation, modification, and
4700 deletion notification. This library builds upon existing libraries for platform
4701 specific Windows, Mac, and Linux file system event notification.")
4702 (license license:bsd-3)))
4704 (define-public ghc-generic-deriving
4706 (name "ghc-generic-deriving")
4712 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
4717 "0vdg9qdq35jl3m11a87wk8cq1y71qm4i1g1b2pxki0wk70yw20a4"))))
4718 (build-system haskell-build-system)
4719 (outputs '("out" "static" "doc"))
4721 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
4723 `(("ghc-hspec" ,ghc-hspec)
4724 ("hspec-discover" ,hspec-discover)))
4725 (home-page "https://hackage.haskell.org/package/generic-deriving")
4726 (synopsis "Generalise the deriving mechanism to arbitrary classes")
4727 (description "This package provides functionality for generalising the
4728 deriving mechanism in Haskell to arbitrary classes.")
4729 (license license:bsd-3)))
4731 (define-public ghc-generic-random
4733 (name "ghc-generic-random")
4739 "https://hackage.haskell.org/package/generic-random/"
4740 "generic-random-" version ".tar.gz"))
4742 (base32 "130lmblycxnpqbsl7vf6a90zccibnvcb5zaclfajcn3by39007lv"))))
4743 (build-system haskell-build-system)
4744 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
4746 `(("ghc-inspection-testing" ,ghc-inspection-testing)))
4749 ("1" "1d0hx41r7yq2a86ydnfh2fv540ah8cz05l071s2z4wxcjw0ymyn4")))
4751 "https://github.com/lysxia/generic-random")
4753 "Generic random generators for QuickCheck")
4755 "Derive instances of @code{Arbitrary} for QuickCheck, with various options
4756 to customize implementations.
4758 Automating the arbitrary boilerplate also ensures that when a type changes to
4759 have more or fewer constructors, then the generator either fixes itself to
4760 generate that new case (when using the uniform distribution) or causes a
4761 compilation error so you remember to fix it (when using an explicit
4764 This package also offers a simple (optional) strategy to ensure termination
4765 for recursive types: make @code{Test.QuickCheck.Gen}'s size parameter decrease
4766 at every recursive call; when it reaches zero, sample directly from a
4767 trivially terminating generator given explicitly (@code{genericArbitraryRec}
4768 and @code{withBaseCase}) or implicitly (@code{genericArbitrary'}).")
4769 (license license:expat)))
4771 (define-public ghc-generic-random-1.3.0.1
4773 (inherit ghc-generic-random)
4779 "https://hackage.haskell.org/package/generic-random/"
4780 "generic-random-" version ".tar.gz"))
4782 (base32 "0d9w7xcmsb31b95fr9d5jwbsajcl1yi4347dlbw4bybil2vjwd7k"))))
4785 (define-public ghc-generics-sop
4787 (name "ghc-generics-sop")
4792 (uri (string-append "https://hackage.haskell.org/package/"
4793 "generics-sop-" version "/"
4794 "generics-sop-" version ".tar.gz"))
4797 "160knr2phnzh2gldfv954lz029jzc7y8kz5xpmbf4z3vb5ngm6fw"))))
4798 (build-system haskell-build-system)
4799 (outputs '("out" "static" "doc"))
4801 `(("ghc-sop-core" ,ghc-sop-core)
4802 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4803 (home-page "https://github.com/well-typed/generics-sop")
4804 (synopsis "Generic Programming using True Sums of Products for Haskell")
4805 (description "This Haskell package supports the definition of generic
4806 functions. Datatypes are viewed in a uniform, structured way: the choice
4807 between constructors is represented using an n-ary sum, and the arguments of
4808 each constructor are represented using an n-ary product.")
4809 (license license:bsd-3)))
4811 (define-public ghc-geniplate-mirror
4813 (name "ghc-geniplate-mirror")
4818 (uri (string-append "https://hackage.haskell.org/package"
4820 "/geniplate-mirror-" version ".tar.gz"))
4822 (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb"))))
4823 (build-system haskell-build-system)
4826 ("2" "03fg4vfm1wgq4mylggawdx0bfvbbjmdn700sqx7v3hk1bx0kjfzh")))
4827 (home-page "https://github.com/danr/geniplate")
4828 (synopsis "Use Template Haskell to generate Uniplate-like functions")
4830 "Use Template Haskell to generate Uniplate-like functions. This is a
4831 maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
4832 geniplate} package, written by Lennart Augustsson.")
4833 (license license:bsd-3)))
4835 (define-public ghc-genvalidity
4837 (name "ghc-genvalidity")
4843 "https://hackage.haskell.org/package/genvalidity/genvalidity-"
4848 "0w38aq9hfyymidncgkrs6yvja7j573d9sap5qfg5rz910fhsij9a"))))
4849 (build-system haskell-build-system)
4851 `(("ghc-quickcheck" ,ghc-quickcheck)
4852 ("ghc-validity" ,ghc-validity)))
4854 `(("ghc-hspec" ,ghc-hspec)
4855 ("hspec-discover" ,hspec-discover)
4856 ("ghc-hspec-core" ,ghc-hspec-core)))
4858 "https://github.com/NorfairKing/validity")
4860 "Testing utilities for the @code{validity} library")
4862 "This package provides testing utilities that are useful in conjunction
4863 with the @code{Validity} typeclass.")
4864 (license license:expat)))
4866 (define-public ghc-genvalidity-property
4868 (name "ghc-genvalidity-property")
4874 "https://hackage.haskell.org/package/"
4875 "genvalidity-property/genvalidity-property-"
4880 "0zayycx62226w54rvkxwhvqhznsr33dk3ds55yyqrfqbnhvph1s9"))))
4881 (build-system haskell-build-system)
4883 `(("ghc-quickcheck" ,ghc-quickcheck)
4884 ("ghc-genvalidity" ,ghc-genvalidity)
4885 ("ghc-hspec" ,ghc-hspec)
4886 ("hspec-discover" ,hspec-discover)
4887 ("ghc-validity" ,ghc-validity)))
4888 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
4890 "https://github.com/NorfairKing/validity")
4892 "Standard properties for functions on @code{Validity} types")
4894 "This package supplements the @code{Validity} typeclass with standard
4895 properties for functions operating on them.")
4896 (license license:expat)))
4898 (define-public ghc-getopt-generics
4900 (name "ghc-getopt-generics")
4901 (version "0.13.0.4")
4905 (uri (string-append "https://hackage.haskell.org/package/"
4906 "getopt-generics/getopt-generics-"
4910 "1rszkcn1rg38wf35538ljk5bbqjc57y9sb3a0al7qxm82gy8yigr"))))
4911 (build-system haskell-build-system)
4913 `(("ghc-base-compat" ,ghc-base-compat)
4914 ("ghc-base-orphans" ,ghc-base-orphans)
4915 ("ghc-generics-sop" ,ghc-generics-sop)
4916 ("ghc-tagged" ,ghc-tagged)))
4918 `(("ghc-quickcheck" ,ghc-quickcheck)
4919 ("ghc-hspec" ,ghc-hspec)
4920 ("ghc-safe" ,ghc-safe)
4921 ("ghc-silently" ,ghc-silently)
4922 ("hspec-discover" ,hspec-discover)))
4923 (home-page "https://github.com/soenkehahn/getopt-generics")
4924 (synopsis "Create command line interfaces with ease")
4925 (description "This library provides tools to create command line
4926 interfaces with ease.")
4927 (license license:bsd-3)))
4929 (define-public ghc-gitrev
4936 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
4939 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
4940 (build-system haskell-build-system)
4941 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
4942 (home-page "https://github.com/acfoltzer/gitrev")
4943 (synopsis "Compile git revision info into Haskell projects")
4945 "This package provides some handy Template Haskell splices for including
4946 the current git hash and branch in the code of your project. This is useful
4947 for including in panic messages, @command{--version} output, or diagnostic
4948 info for more informative bug reports.")
4949 (license license:bsd-3)))
4951 (define-public ghc-glob
4958 (uri (string-append "https://hackage.haskell.org/package/"
4960 "Glob-" version ".tar.gz"))
4963 "0953f91f62ncna402vsrfzdcyxhdpjna3bgdw017kad0dfymacs7"))))
4964 (build-system haskell-build-system)
4966 `(("ghc-dlist" ,ghc-dlist)
4967 ("ghc-semigroups" ,ghc-semigroups)
4968 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4970 `(("ghc-hunit" ,ghc-hunit)
4971 ("ghc-quickcheck" ,ghc-quickcheck)
4972 ("ghc-test-framework" ,ghc-test-framework)
4973 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4974 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4975 (home-page "http://iki.fi/matti.niemenmaa/glob/")
4976 (synopsis "Haskell library matching glob patterns against file paths")
4977 (description "This package provides a Haskell library for @dfn{globbing}:
4978 matching patterns against file paths.")
4979 (license license:bsd-3)))
4981 (define-public ghc-gluraw
4989 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
4994 "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq"))))
4995 (build-system haskell-build-system)
4997 `(("ghc-openglraw" ,ghc-openglraw)))
4998 (home-page "https://wiki.haskell.org/Opengl")
4999 (synopsis "Raw Haskell bindings GLU")
5000 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
5001 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
5002 basis for a nicer interface.")
5003 (license license:bsd-3)))
5005 (define-public ghc-glut
5008 (version "2.7.0.15")
5013 "https://hackage.haskell.org/package/GLUT/GLUT-"
5018 "0271vnf6wllhxjwy0m348x90kv27aybxcbqkkglmd5w4cpwjg5g9"))))
5019 (build-system haskell-build-system)
5021 `(("ghc-statevar" ,ghc-statevar)
5022 ("ghc-opengl" ,ghc-opengl)
5023 ("ghc-openglraw" ,ghc-openglraw)
5024 ("freeglut" ,freeglut)))
5025 (home-page "https://wiki.haskell.org/Opengl")
5026 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
5027 (description "This library provides Haskell bindings for the OpenGL
5028 Utility Toolkit, a window system-independent toolkit for writing OpenGL
5030 (license license:bsd-3)))
5032 (define-public ghc-gnuplot
5034 (name "ghc-gnuplot")
5040 "mirror://hackage/package/gnuplot/gnuplot-"
5043 (base32 "1g6xgnlkh17avivn1rlq7l2nvs26dvrbx4rkfld0bf6kyqaqwrgp"))))
5044 (build-system haskell-build-system)
5046 `(("ghc-temporary" ,ghc-temporary)
5047 ("ghc-utility-ht" ,ghc-utility-ht)
5048 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
5049 ("ghc-data-accessor" ,ghc-data-accessor)
5050 ("ghc-semigroups" ,ghc-semigroups)
5051 ("gnuplot" ,gnuplot)))
5054 (modify-phases %standard-phases
5055 (add-before 'configure 'fix-path-to-gnuplot
5056 (lambda* (#:key inputs #:allow-other-keys)
5057 (let ((gnuplot (assoc-ref inputs "gnuplot")))
5058 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
5059 (("(gnuplotName = ).*$" all cmd)
5060 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
5061 (home-page "https://wiki.haskell.org/Gnuplot")
5062 (synopsis "2D and 3D plots using gnuplot")
5063 (description "This package provides a Haskell module for creating 2D and
5064 3D plots using gnuplot.")
5065 (license license:bsd-3)))
5067 (define-public ghc-graphviz
5069 (name "ghc-graphviz")
5070 (version "2999.20.0.3")
5073 (uri (string-append "https://hackage.haskell.org/package/"
5074 "graphviz/graphviz-" version ".tar.gz"))
5077 "04k26zw61nfv1pkd00iaq89pgsaiym0sf4cbzkmm2k2fj5xa587g"))))
5078 (build-system haskell-build-system)
5081 (modify-phases %standard-phases
5082 (add-before 'configure 'update-constraints
5084 (substitute* "graphviz.cabal"
5085 (("QuickCheck >= 2\\.3 && < 2\\.13")
5086 "QuickCheck >= 2.3 && < 2.14")
5087 (("hspec >= 2\\.1 && < 2\\.7")
5088 "hspec >= 2.1 && < 2.8")))))))
5090 `(("ghc-quickcheck" ,ghc-quickcheck)
5091 ("ghc-colour" ,ghc-colour)
5092 ("ghc-dlist" ,ghc-dlist)
5093 ("ghc-fgl" ,ghc-fgl)
5094 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
5095 ("ghc-polyparse" ,ghc-polyparse)
5096 ("ghc-temporary" ,ghc-temporary)
5097 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
5099 `(("ghc-hspec" ,ghc-hspec)
5100 ("graphviz" ,graphviz)
5101 ("hspec-discover" ,hspec-discover)))
5102 (home-page "https://hackage.haskell.org/package/graphviz")
5103 (synopsis "Bindings to Graphviz for graph visualisation")
5105 "This library provides bindings for the Dot language used by
5106 the @uref{https://graphviz.org/, Graphviz} suite of programs for
5107 visualising graphs, as well as functions to call those programs.
5108 Main features of the graphviz library include:
5111 @item Almost complete coverage of all Graphviz attributes and syntax
5112 @item Support for specifying clusters
5113 @item The ability to use a custom node type
5114 @item Functions for running a Graphviz layout tool with all specified output types
5115 @item Generate and parse Dot code with two options: strict and liberal
5116 @item Functions to convert FGL graphs and other graph-like data structures
5117 @item Round-trip support for passing an FGL graph through Graphviz to augment node
5118 and edge labels with positional information, etc.
5120 (license license:bsd-3)))
5122 (define-public ghc-groups
5129 (uri (string-append "https://hackage.haskell.org/package/"
5130 "groups/groups-" version ".tar.gz"))
5133 "0ggkygkyxw5ga4cza82bjvdraavl294k0h6b62d2px7z3nvqhifx"))))
5134 (build-system haskell-build-system)
5135 (home-page "https://hackage.haskell.org/package/groups")
5136 (synopsis "Haskell 98 groups")
5137 (description "This package provides Haskell 98 groups. A group is a
5138 monoid with invertibility.")
5139 (license license:bsd-3)))
5141 (define-public ghc-gtk2hs-buildtools
5143 (name "ghc-gtk2hs-buildtools")
5144 (version "0.13.5.4")
5148 (uri (string-append "https://hackage.haskell.org/package/"
5149 "gtk2hs-buildtools/gtk2hs-buildtools-"
5153 "1flxsacxwmabzzalhn8558kmj95z01c0lmikrn56nxh7p62nxm25"))))
5154 (build-system haskell-build-system)
5156 `(("ghc-random" ,ghc-random)
5157 ("ghc-hashtables" ,ghc-hashtables)))
5159 `(("ghc-alex" ,ghc-alex)
5160 ("ghc-happy" ,ghc-happy)))
5161 (home-page "http://projects.haskell.org/gtk2hs/")
5162 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
5164 "This package provides a set of helper programs necessary to build the
5165 Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
5166 that is used to generate FFI declarations, a tool to build a type hierarchy
5167 that mirrors the C type hierarchy of GObjects found in glib, and a generator
5168 for signal declarations that are used to call back from C to Haskell. These
5169 tools are not needed to actually run Gtk2Hs programs.")
5170 (license license:gpl2)))
5172 (define-public ghc-hackage-security
5174 (name "ghc-hackage-security")
5179 (uri (string-append "https://hackage.haskell.org/package/"
5180 "hackage-security/hackage-security-"
5184 "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v"))))
5185 (build-system haskell-build-system)
5188 ("6" "1xs2nkzlvkdz8g27yzfxbjdbdadfmgiydnlpn5dm77cg18r495ay")
5189 #:tests? #f)) ; Tests fail because of framework updates.
5191 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
5192 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
5193 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
5194 ("ghc-ed25519" ,ghc-ed25519)
5195 ("ghc-network" ,ghc-network)
5196 ("ghc-network-uri" ,ghc-network-uri)
5197 ("ghc-tar" ,ghc-tar)
5198 ("ghc-zlib" ,ghc-zlib)))
5200 `(("ghc-network-uri" ,ghc-network-uri)
5201 ("ghc-quickcheck" ,ghc-quickcheck)
5202 ("ghc-tar" ,ghc-tar)
5203 ("ghc-tasty" ,ghc-tasty)
5204 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5205 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5206 ("ghc-temporary" ,ghc-temporary)
5207 ("ghc-zlib" ,ghc-zlib)))
5208 (home-page "https://github.com/haskell/hackage-security")
5209 (synopsis "Hackage security library")
5210 (description "This Hackage security library provides both server and
5211 client utilities for securing @uref{http://hackage.haskell.org/, the
5212 Hackage package server}. It is based on
5213 @uref{http://theupdateframework.com/, The Update Framework}, a set of
5214 recommendations developed by security researchers at various universities
5215 in the US as well as developers on the @uref{https://www.torproject.org/,
5217 (license license:bsd-3)))
5219 (define-public ghc-haddock
5221 (name "ghc-haddock")
5227 "https://hackage.haskell.org/package/haddock/haddock-"
5232 "1k42z2zh550rl93c8pa9cg2xsanp6wvb031xvan6cmngnplmdib6"))))
5233 (build-system haskell-build-system)
5236 (modify-phases %standard-phases
5237 ;; The release tarball for 2.22.0 is missing the test data for
5238 ;; the Hoogle test, causing it to fail. This is fixed in the
5239 ;; next release, but for now we disable it.
5240 (add-before 'configure 'remove-hoogle-test
5242 (use-modules (ice-9 rdelim))
5243 (with-atomic-file-replacement "haddock.cabal"
5245 (let loop ((line (read-line in 'concat)) (deleting? #f))
5247 ((eof-object? line) #t)
5248 ((string-every char-set:whitespace line)
5249 (unless deleting? (display line out))
5250 (loop (read-line in 'concat) #f))
5251 ((string=? line "test-suite hoogle-test\n")
5252 (loop (read-line in 'concat) #t))
5254 (unless deleting? (display line out))
5255 (loop (read-line in 'concat) deleting?))))))))
5256 (add-before 'check 'add-haddock-to-path
5258 (setenv "PATH" (string-append (getcwd) "/dist/build/haddock"
5259 ":" (getenv "PATH")))
5261 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
5263 `(("ghc-haddock-test" ,ghc-haddock-test)
5264 ("ghc-hspec" ,ghc-hspec)))
5265 (home-page "https://www.haskell.org/haddock/")
5267 "Documentation-generation tool for Haskell libraries")
5269 "Haddock is a documentation-generation tool for Haskell libraries.")
5270 (license license:bsd-3)))
5272 (define-public ghc-haddock-api
5274 (name "ghc-haddock-api")
5280 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
5283 (patches (search-patches "ghc-haddock-api-fix-haddock.patch"))
5286 "149q4zlf4m7wcrr4af2n2flh0jxjsypshbc229vsj1m0kmz4z014"))))
5287 (build-system haskell-build-system)
5290 (modify-phases %standard-phases
5291 (add-before 'configure 'update-constraints
5293 (substitute* "haddock-api.cabal"
5294 (("QuickCheck \\^>= 2\\.11")
5295 "QuickCheck ^>= 2.13")
5296 (("hspec >= 2\\.4\\.4 && < 2\\.6")
5297 "hspec >= 2.4.4 && < 2.8")))))))
5299 `(("ghc-paths" ,ghc-paths)
5300 ("ghc-haddock-library" ,ghc-haddock-library)))
5302 `(("ghc-quickcheck" ,ghc-quickcheck)
5303 ("ghc-hspec" ,ghc-hspec)
5304 ("hspec-discover" ,hspec-discover)))
5305 (home-page "https://www.haskell.org/haddock/")
5306 (synopsis "API for documentation-generation tool Haddock")
5307 (description "This package provides an API to Haddock, the
5308 documentation-generation tool for Haskell libraries.")
5309 (license license:bsd-3)))
5311 (define-public ghc-haddock-library
5313 (name "ghc-haddock-library")
5319 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
5324 "04fhcjk0pvsaqvsgp2w06cv2qvshq1xs1bwc157q4lmkgr57khp7"))))
5325 (build-system haskell-build-system)
5328 (modify-phases %standard-phases
5329 ;; Since there is no revised Cabal file upstream, we have to
5330 ;; patch it manually.
5331 (add-before 'configure 'relax-test-suite-dependencies
5333 (substitute* "haddock-library.cabal"
5334 (("hspec\\s*>= 2.4.4 && < 2.6") "hspec")
5335 (("QuickCheck\\s*\\^>= 2.11") "QuickCheck"))
5338 `(("ghc-base-compat" ,ghc-base-compat)
5339 ("ghc-hspec" ,ghc-hspec)
5340 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
5341 ("ghc-quickcheck" ,ghc-quickcheck)
5342 ("ghc-tree-diff" ,ghc-tree-diff)
5343 ("hspec-discover" ,hspec-discover)))
5344 (home-page "https://www.haskell.org/haddock/")
5345 (synopsis "Library exposing some functionality of Haddock")
5347 "Haddock is a documentation-generation tool for Haskell libraries. These
5348 modules expose some functionality of it without pulling in the GHC dependency.
5349 Please note that the API is likely to change so specify upper bounds in your
5350 project if you can't release often. For interacting with Haddock itself, see
5351 the ‘haddock’ package.")
5352 (license license:bsd-3)))
5354 ;; This package is needed for testing 'ghc-haddock'. It is no longer
5355 ;; published to Hackage, but it is maintained in the Haddock Git
5357 (define ghc-haddock-test
5359 (name "ghc-haddock-test")
5365 (url "https://github.com/haskell/haddock")
5366 (commit (string-append "haddock-" version "-release"))))
5367 (file-name (git-file-name name version))
5370 "1ywxmqqan10gs0ppybdmdgsmvkzkpw7yirj2rw4qylg3x49a9zca"))))
5371 (build-system haskell-build-system)
5374 (modify-phases %standard-phases
5375 (add-after 'unpack 'change-directory
5377 (chdir "haddock-test"))))))
5379 `(("ghc-syb" ,ghc-syb)
5380 ("ghc-xml" ,ghc-xml)))
5381 (home-page "https://www.haskell.org/haddock/")
5382 (synopsis "Test utilities for Haddock")
5383 (description "This package provides test utilities for Haddock.")
5384 (license license:bsd-3)
5385 (properties '((hidden? #t)))))
5387 (define-public ghc-half
5395 "https://hackage.haskell.org/package/half/half-"
5399 "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6"))))
5400 (build-system haskell-build-system)
5402 `(("ghc-hspec" ,ghc-hspec)
5403 ("ghc-quickcheck" ,ghc-quickcheck)))
5404 (home-page "https://github.com/ekmett/half")
5405 (synopsis "Half-precision floating-point computations")
5406 (description "This library provides a half-precision floating-point
5407 computation library for Haskell.")
5408 (license license:bsd-3)))
5410 (define-public ghc-happy
5418 "https://hackage.haskell.org/package/happy/happy-"
5423 "03xlmq6qmdx4zvzw8bp33kd9g7yvcq5cz4wg50xilw812kj276pv"))))
5424 (build-system haskell-build-system)
5427 (modify-phases %standard-phases
5428 (add-after 'unpack 'skip-test-issue93
5430 ;; Tests run out of memory on a system with 2GB of available RAM,
5431 ;; in 'issue93.a.hs' and 'issue93.n.hs'.
5432 (substitute* "tests/Makefile"
5433 ((" issue93.y ") " "))
5435 (home-page "https://hackage.haskell.org/package/happy")
5436 (synopsis "Parser generator for Haskell")
5437 (description "Happy is a parser generator for Haskell. Given a grammar
5438 specification in BNF, Happy generates Haskell code to parse the grammar.
5439 Happy works in a similar way to the yacc tool for C.")
5440 (license license:bsd-3)))
5442 (define-public ghc-hashable
5444 (name "ghc-hashable")
5446 (outputs '("out" "static" "doc"))
5451 "https://hackage.haskell.org/package/hashable/hashable-"
5456 "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc"))))
5457 (build-system haskell-build-system)
5460 ("1" "197063dpl0wn67dp7a06yc2hxp81n24ykk7klbjx0fndm5n87dh3")))
5462 `(("ghc-random" ,ghc-random)))
5464 `(("ghc-test-framework" ,ghc-test-framework)
5465 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5466 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5467 ("ghc-hunit" ,ghc-hunit)
5468 ("ghc-quickcheck" ,ghc-quickcheck)))
5469 (home-page "https://github.com/tibbe/hashable")
5470 (synopsis "Class for types that can be converted to a hash value")
5472 "This package defines a class, @code{Hashable}, for types that can be
5473 converted to a hash value. This class exists for the benefit of hashing-based
5474 data structures. The package provides instances for basic types and a way to
5475 combine hash values.")
5476 (license license:bsd-3)))
5478 (define-public ghc-hashable-bootstrap
5480 (inherit ghc-hashable)
5481 (name "ghc-hashable-bootstrap")
5484 ,@(package-arguments ghc-hashable)))
5486 (properties '((hidden? #t)))))
5488 (define-public ghc-hashable-time
5490 (name "ghc-hashable-time")
5496 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
5501 "1q7y4plqqwy5286hhx2fygn12h8lqk0y047b597sbdckskxzfqgs"))))
5502 (build-system haskell-build-system)
5505 ("2" "006phc5y9rrvsshdcmjmhxzxh8dpgs685mpqbkjm9c40xb1ydjbz")))
5506 (inputs `(("ghc-hashable" ,ghc-hashable)))
5507 (home-page "https://hackage.haskell.org/package/hashable-time")
5508 (synopsis "Hashable instances for Data.Time")
5510 "This package provides @code{Hashable} instances for types in
5512 (license license:bsd-3)))
5514 (define-public ghc-hashtables
5516 (name "ghc-hashtables")
5522 "https://hackage.haskell.org/package/hashtables/hashtables-"
5525 (base32 "1rjmxnr30g4hygiywkpz5p9sanh0abs7ap4zc1kgd8zv04kycp0j"))))
5526 (build-system haskell-build-system)
5528 `(("ghc-hashable" ,ghc-hashable)
5529 ("ghc-primitive" ,ghc-primitive)
5530 ("ghc-vector" ,ghc-vector)))
5531 (home-page "https://github.com/gregorycollins/hashtables")
5532 (synopsis "Haskell Mutable hash tables in the ST monad")
5533 (description "This package provides a Haskell library including a
5534 couple of different implementations of mutable hash tables in the ST
5535 monad, as well as a typeclass abstracting their common operations, and
5536 a set of wrappers to use the hash tables in the IO monad.")
5537 (license license:bsd-3)))
5539 (define-public ghc-haskeline-0.8
5541 (name "ghc-haskeline")
5547 "https://hackage.haskell.org/package/haskeline/haskeline-"
5552 "0gqsa5s0drim9m42hv4wrq61mnvcdylxysfxfw3acncwilfrn9pb"))))
5553 (build-system haskell-build-system)
5554 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
5555 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
5556 ;; FIXME: Tests failing
5557 (arguments `(#:tests? #f))
5558 (home-page "https://github.com/judah/haskeline")
5560 "Command-line interface for user input, written in Haskell")
5562 "Haskeline provides a user interface for line input in command-line
5563 programs. This library is similar in purpose to readline, but since it is
5564 written in Haskell it is (hopefully) more easily used in other Haskell
5567 Haskeline runs both on POSIX-compatible systems and on Windows.")
5568 (license license:bsd-3)))
5570 (define-public ghc-haskell-lexer
5572 (name "ghc-haskell-lexer")
5578 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
5581 (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq"))))
5582 (build-system haskell-build-system)
5583 (home-page "https://hackage.haskell.org/package/haskell-lexer")
5584 (synopsis "Fully compliant Haskell 98 lexer")
5586 "This package provides a fully compliant Haskell 98 lexer.")
5587 (license license:bsd-3)))
5589 (define-public ghc-haskell-src
5591 (name "ghc-haskell-src")
5597 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
5602 "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l"))))
5603 (build-system haskell-build-system)
5605 `(("ghc-happy" ,ghc-happy)
5606 ("ghc-syb" ,ghc-syb)))
5608 "https://hackage.haskell.org/package/haskell-src")
5610 "Support for manipulating Haskell source code")
5612 "The @code{haskell-src} package provides support for manipulating Haskell
5613 source code. The package provides a lexer, parser and pretty-printer, and a
5614 definition of a Haskell abstract syntax tree (AST). Common uses of this
5615 package are to parse or generate Haskell 98 code.")
5616 (license license:bsd-3)))
5618 (define-public ghc-haskell-src-exts
5620 (name "ghc-haskell-src-exts")
5626 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
5631 "0q1y8n3d82gid9bcx8wxsqqmj9mq11fg3gp5yzpfbw958dhi3j9f"))))
5632 (build-system haskell-build-system)
5633 (outputs '("out" "static" "doc"))
5636 ("ghc-happy" ,ghc-happy)
5637 ("ghc-pretty-show" ,ghc-pretty-show)))
5639 `(("ghc-smallcheck" ,ghc-smallcheck)
5640 ("ghc-tasty" ,ghc-tasty)
5641 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5642 ("ghc-tasty-golden" ,ghc-tasty-golden)))
5643 (home-page "https://github.com/haskell-suite/haskell-src-exts")
5644 (synopsis "Library for manipulating Haskell source")
5645 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
5646 extension of the standard @code{haskell-src} package, and handles most
5647 registered syntactic extensions to Haskell. All extensions implemented in GHC
5648 are supported. Apart from these standard extensions, it also handles regular
5649 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
5650 (license license:bsd-3)))
5652 (define-public ghc-haskell-src-exts-util
5654 (name "ghc-haskell-src-exts-util")
5659 (uri (string-append "https://hackage.haskell.org/package/"
5660 "haskell-src-exts-util/haskell-src-exts-util-"
5664 "0fvqi72m74p7q5sbpy8m2chm8a1lgy10mfrcxcz8wrh59vngj0n8"))))
5665 (build-system haskell-build-system)
5667 `(("ghc-data-default" ,ghc-data-default)
5668 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5669 ("ghc-semigroups" ,ghc-semigroups)
5670 ("ghc-uniplate" ,ghc-uniplate)))
5671 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
5672 (synopsis "Helper functions for working with haskell-src-exts trees")
5674 "This package provides helper functions for working with
5675 @code{haskell-src-exts} trees.")
5676 (license license:bsd-3)))
5678 (define-public ghc-haskell-src-meta
5680 (name "ghc-haskell-src-meta")
5684 (uri (string-append "https://hackage.haskell.org/package/"
5685 "haskell-src-meta/haskell-src-meta-"
5689 "17znnaqj2hnnfyc9p9xjzbs97h2jh1h4f4qbw648y3xa14wx5ra9"))))
5690 (build-system haskell-build-system)
5692 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5693 ("ghc-syb" ,ghc-syb)
5694 ("ghc-th-orphans" ,ghc-th-orphans)))
5696 `(("ghc-hunit" ,ghc-hunit)
5697 ("ghc-tasty" ,ghc-tasty)
5698 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5699 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5700 (synopsis "Parse source to template-haskell abstract syntax")
5702 "This package provides tools to parse Haskell sources to the
5703 template-haskell abstract syntax.")
5704 (license license:bsd-3)))
5706 (define-public ghc-hasktags
5708 (name "ghc-hasktags")
5714 "https://hackage.haskell.org/package/hasktags/hasktags-"
5719 "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c"))))
5720 (build-system haskell-build-system)
5722 `(("ghc-system-filepath" ,ghc-system-filepath)
5723 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5725 `(("ghc-json" ,ghc-json)
5726 ("ghc-utf8-string" ,ghc-utf8-string)
5727 ("ghc-microlens-platform" ,ghc-microlens-platform)
5728 ("ghc-hunit" ,ghc-hunit)))
5729 (home-page "https://github.com/MarcWeber/hasktags")
5730 (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs")
5732 "This package provides a means of generating tag files for Emacs and
5734 (license license:bsd-3)))
5736 (define-public ghc-hex
5743 (uri (string-append "https://hackage.haskell.org/package/"
5745 "hex-" version ".tar.gz"))
5748 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
5749 (build-system haskell-build-system)
5750 (home-page "https://hackage.haskell.org/package/hex")
5751 (synopsis "Convert strings into hexadecimal and back")
5752 (description "This package converts between bytestrings and their
5753 hexadecimal string representation.")
5754 (license license:bsd-3)))
5756 (define-public ghc-highlighting-kate
5758 (name "ghc-highlighting-kate")
5762 (uri (string-append "https://hackage.haskell.org/package/"
5763 "highlighting-kate/highlighting-kate-"
5767 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
5768 (build-system haskell-build-system)
5770 `(("ghc-diff" ,ghc-diff)
5771 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5773 `(("ghc-blaze-html" ,ghc-blaze-html)
5774 ("ghc-utf8-string" ,ghc-utf8-string)))
5775 (home-page "https://github.com/jgm/highlighting-kate")
5776 (synopsis "Syntax highlighting library")
5778 "Highlighting-kate is a syntax highlighting library with support for
5779 nearly one hundred languages. The syntax parsers are automatically generated
5780 from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5781 supported by Kate can be added. An (optional) command-line program is
5782 provided, along with a utility for generating new parsers from Kate XML syntax
5784 (license license:gpl2+)))
5786 (define-public ghc-hindent
5788 (name "ghc-hindent")
5794 "https://hackage.haskell.org/package/hindent/hindent-"
5799 "008s8zm9qs972b7v5kkmr8l3i9kc6zm7yj33mkw6dv69b7h3c01l"))))
5800 (build-system haskell-build-system)
5802 `(#:modules ((guix build haskell-build-system)
5804 (guix build emacs-utils))
5805 #:imported-modules (,@%haskell-build-system-modules
5806 (guix build emacs-utils))
5808 (modify-phases %standard-phases
5809 (add-after 'install 'emacs-install
5810 (lambda* (#:key inputs outputs #:allow-other-keys)
5811 (let* ((out (assoc-ref outputs "out"))
5812 (elisp-file "elisp/hindent.el")
5813 (dest (string-append out "/share/emacs/site-lisp"))
5814 (emacs (string-append (assoc-ref inputs "emacs")
5816 (make-file-writable elisp-file)
5817 (emacs-substitute-variables elisp-file
5818 ("hindent-process-path"
5819 (string-append out "/bin/hindent")))
5820 (install-file elisp-file dest)
5821 (emacs-generate-autoloads "hindent" dest)))))))
5823 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5824 ("ghc-monad-loops" ,ghc-monad-loops)
5825 ("ghc-utf8-string" ,ghc-utf8-string)
5826 ("ghc-exceptions" ,ghc-exceptions)
5827 ("ghc-yaml" ,ghc-yaml)
5828 ("ghc-unix-compat" ,ghc-unix-compat)
5829 ("ghc-path" ,ghc-path)
5830 ("ghc-path-io" ,ghc-path-io)
5831 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5833 `(("ghc-hspec" ,ghc-hspec)
5834 ("ghc-diff" ,ghc-diff)
5835 ("emacs" ,emacs-minimal)))
5837 "https://github.com/commercialhaskell/hindent")
5838 (synopsis "Extensible Haskell pretty printer")
5840 "This package provides automatic formatting for Haskell files. Both a
5841 library and an executable.")
5842 (license license:bsd-3)))
5844 (define-public ghc-hinotify
5846 (name "ghc-hinotify")
5851 "https://hackage.haskell.org/package/hinotify/"
5852 "hinotify-" version ".tar.gz"))
5855 "1x1lm685ws2q0z0ibwq6x3l72xh67mj06s36xiga3al48d92q63x"))))
5856 (build-system haskell-build-system)
5858 `(("ghc-async" ,ghc-async)))
5859 (home-page "https://github.com/kolmodin/hinotify.git")
5860 (synopsis "Haskell binding to inotify")
5861 (description "This library provides a wrapper to the Linux kernel's inotify
5862 feature, allowing applications to subscribe to notifications when a file is
5863 accessed or modified.")
5864 (license license:bsd-3)))
5866 (define-public ghc-hledger-lib
5868 (name "ghc-hledger-lib")
5874 "https://hackage.haskell.org/package/hledger-lib/hledger-lib-"
5879 "1w6qp01cak6spnpldm01czlm6i5a2alw47w76875l2nagrc4rfp2"))))
5880 (build-system haskell-build-system)
5882 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
5883 ("ghc-base-compat-batteries" ,ghc-base-compat-batteries)
5884 ("ghc-blaze-markup" ,ghc-blaze-markup)
5885 ("ghc-call-stack" ,ghc-call-stack)
5886 ("ghc-cassava" ,ghc-cassava)
5887 ("ghc-cassava-megaparsec" ,ghc-cassava-megaparsec)
5888 ("ghc-cmdargs" ,ghc-cmdargs)
5889 ("ghc-data-default" ,ghc-data-default)
5890 ("ghc-decimal" ,ghc-decimal)
5891 ("ghc-easytest" ,ghc-easytest)
5892 ("ghc-extra" ,ghc-extra)
5893 ("ghc-file-embed" ,ghc-file-embed)
5894 ("ghc-glob" ,ghc-glob)
5895 ("ghc-hashtables" ,ghc-hashtables)
5896 ("ghc-megaparsec" ,ghc-megaparsec)
5897 ("ghc-mtl-compat" ,ghc-mtl-compat)
5898 ("ghc-old-time" ,ghc-old-time)
5899 ("ghc-parser-combinators" ,ghc-parser-combinators)
5900 ("ghc-pretty-show" ,ghc-pretty-show)
5901 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
5902 ("ghc-safe" ,ghc-safe)
5903 ("ghc-split" ,ghc-split)
5904 ("ghc-tabular" ,ghc-tabular)
5905 ("ghc-uglymemo" ,ghc-uglymemo)
5906 ("ghc-utf8-string" ,ghc-utf8-string)))
5907 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
5908 (home-page "https://hledger.org")
5909 (synopsis "Reusable library providing the core functionality of hledger")
5911 "A reusable library containing hledger's core functionality.
5912 This is used by most hledger* packages so that they support the same common
5913 file formats, command line options, reports etc.
5915 hledger is a robust, cross-platform set of tools for tracking money, time, or
5916 any other commodity, using double-entry accounting and a simple, editable file
5917 format, with command-line, terminal and web interfaces. It is a Haskell
5918 rewrite of Ledger, and one of the leading implementations of Plain Text
5920 (license license:gpl3)))
5922 (define-public ghc-hmatrix
5924 (name "ghc-hmatrix")
5925 (version "0.20.0.0")
5930 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
5933 (base32 "1sqy1aci5zfagkb34mz3xdil7cl96z4b4cx28cha54vc5sx1lhpg"))))
5934 (build-system haskell-build-system)
5936 `(#:extra-directories ("lapack")))
5938 `(("ghc-random" ,ghc-random)
5939 ("ghc-split" ,ghc-split)
5940 ("ghc-storable-complex" ,ghc-storable-complex)
5941 ("ghc-semigroups" ,ghc-semigroups)
5942 ("ghc-vector" ,ghc-vector)
5943 ;;("openblas" ,openblas)
5944 ("lapack" ,lapack)))
5945 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
5946 ;; disables inclusion of the LAPACK functions.
5947 ;; (arguments `(#:configure-flags '("--flags=openblas")))
5948 (home-page "https://github.com/albertoruiz/hmatrix")
5949 (synopsis "Haskell numeric linear algebra library")
5950 (description "The HMatrix package provices a Haskell library for
5951 dealing with linear systems, matrix decompositions, and other
5952 numerical computations based on BLAS and LAPACK.")
5953 (license license:bsd-3)))
5955 (define-public ghc-hmatrix-gsl
5957 (name "ghc-hmatrix-gsl")
5958 (version "0.19.0.1")
5963 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
5966 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
5967 (build-system haskell-build-system)
5969 `(#:extra-directories ("gsl")))
5971 `(("ghc-hmatrix" ,ghc-hmatrix)
5972 ("ghc-vector" ,ghc-vector)
5973 ("ghc-random" ,ghc-random)
5975 (native-inputs `(("pkg-config" ,pkg-config)))
5976 (home-page "https://github.com/albertoruiz/hmatrix")
5977 (synopsis "Haskell GSL binding")
5978 (description "This Haskell library provides a purely functional
5979 interface to selected numerical computations, internally implemented
5981 (license license:gpl3+)))
5983 (define-public ghc-hmatrix-gsl-stats
5985 (name "ghc-hmatrix-gsl-stats")
5992 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
5995 (base32 "1cq049sj3q5r06x7i35hqrkf2jc4p4kfi9zv0jmi2vp7w4644i5q"))))
5996 (build-system haskell-build-system)
5998 `(("ghc-vector" ,ghc-vector)
5999 ("ghc-storable-complex" ,ghc-storable-complex)
6000 ("ghc-hmatrix" ,ghc-hmatrix)
6002 (native-inputs `(("pkg-config" ,pkg-config)))
6003 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
6004 (synopsis "GSL Statistics interface for Haskell")
6005 (description "This Haskell library provides a purely functional
6006 interface for statistics based on hmatrix and GSL.")
6007 (license license:bsd-3)))
6009 (define-public ghc-hmatrix-special
6011 (name "ghc-hmatrix-special")
6012 (version "0.19.0.0")
6018 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
6021 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
6022 (build-system haskell-build-system)
6024 `(("ghc-hmatrix" ,ghc-hmatrix)
6025 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
6026 (home-page "https://github.com/albertoruiz/hmatrix")
6027 (synopsis "Haskell interface to GSL special functions")
6028 (description "This library provides an interface to GSL special
6029 functions for Haskell.")
6030 (license license:gpl3+)))
6032 (define-public ghc-hostname
6034 (name "ghc-hostname")
6039 (uri (string-append "https://hackage.haskell.org/package/hostname/"
6040 "hostname-" version ".tar.gz"))
6043 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
6044 (build-system haskell-build-system)
6045 (home-page "https://hackage.haskell.org/package/hostname")
6046 (synopsis "Hostname in Haskell")
6047 (description "Network.HostName is a simple package providing a means to
6048 determine the hostname.")
6049 (license license:bsd-3)))
6051 (define-public ghc-hourglass
6053 (name "ghc-hourglass")
6057 (uri (string-append "https://hackage.haskell.org/package/"
6058 "hourglass/hourglass-" version ".tar.gz"))
6061 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
6062 (build-system haskell-build-system)
6064 `(("ghc-old-locale" ,ghc-old-locale)))
6066 `(("ghc-tasty" ,ghc-tasty)
6067 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6068 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6069 (home-page "https://github.com/vincenthz/hs-hourglass")
6070 (synopsis "Simple time-related library for Haskell")
6072 "This is a simple time library providing a simple but powerful and
6073 performant API. The backbone of the library are the @code{Timeable} and
6074 @code{Time} type classes. Each @code{Timeable} instances can be converted to
6075 a type that has a @code{Time} instances, and thus are different
6076 representations of current time.")
6077 (license license:bsd-3)))
6079 (define-public ghc-hpack
6086 (uri (string-append "https://hackage.haskell.org/package/hpack/"
6087 "hpack-" version ".tar.gz"))
6088 (patches (search-patches "ghc-hpack-fix-tests.patch"))
6091 "1l2d6185lawwhsj70swxkvcacm0hvcn9qsrlx4ph4gs6k578603g"))))
6092 (build-system haskell-build-system)
6094 `(("ghc-aeson" ,ghc-aeson)
6095 ("ghc-bifunctors" ,ghc-bifunctors)
6096 ("ghc-cryptonite" ,ghc-cryptonite)
6097 ("ghc-glob" ,ghc-glob)
6098 ("ghc-http-client" ,ghc-http-client)
6099 ("ghc-http-client-tls" ,ghc-http-client-tls)
6100 ("ghc-http-types" ,ghc-http-types)
6101 ("ghc-infer-license" ,ghc-infer-license)
6102 ("ghc-scientific" ,ghc-scientific)
6103 ("ghc-unordered-containers" ,ghc-unordered-containers)
6104 ("ghc-vector" ,ghc-vector)
6105 ("ghc-yaml" ,ghc-yaml)))
6107 `(("ghc-hspec" ,ghc-hspec)
6108 ("ghc-hunit" ,ghc-hunit)
6109 ("ghc-interpolate" ,ghc-interpolate)
6110 ("ghc-mockery" ,ghc-mockery)
6111 ("ghc-quickcheck" ,ghc-quickcheck)
6112 ("ghc-temporary" ,ghc-temporary)
6113 ("hspec-discover" ,hspec-discover)))
6114 (home-page "https://github.com/sol/hpack")
6115 (synopsis "Tools for an alternative Haskell package format")
6117 "Hpack is a format for Haskell packages. It is an alternative to the
6118 Cabal package format and follows different design principles. Hpack packages
6119 are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
6120 @code{stack} support @code{package.yaml} natively. For other build tools the
6121 @code{hpack} executable can be used to generate a @code{.cabal} file from
6122 @code{package.yaml}.")
6123 (license license:expat)))
6125 (define-public ghc-hspec-megaparsec
6127 (name "ghc-hspec-megaparsec")
6133 "https://hackage.haskell.org/"
6134 "package/hspec-megaparsec/hspec-megaparsec-"
6139 "0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg"))))
6140 (build-system haskell-build-system)
6142 `(("ghc-hspec-expectations" ,ghc-hspec-expectations)
6143 ("ghc-megaparsec" ,ghc-megaparsec)))
6145 `(("ghc-hspec" ,ghc-hspec)))
6146 (home-page "https://github.com/mrkkrp/hspec-megaparsec")
6147 (synopsis "Utility functions for testing Megaparsec parsers with Hspec")
6149 "Provides a small set of helper functions for testing Megaparsec parsers
6151 (license license:bsd-3)))
6153 (define-public ghc-hs-bibutils
6155 (name "ghc-hs-bibutils")
6161 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6165 "1qfyssl76lm4g09yxr3y10kmf8cnzls46g5h0ijk0wpk9wlhbln5"))))
6166 (build-system haskell-build-system)
6167 (inputs `(("ghc-syb" ,ghc-syb)))
6168 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6169 (synopsis "Haskell bindings to bibutils")
6171 "This package provides Haskell bindings to @code{bibutils}, a library
6172 that interconverts between various bibliography formats using a common
6173 MODS-format XML intermediate.")
6174 (license license:gpl2+)))
6176 (define-public ghc-hslogger
6178 (name "ghc-hslogger")
6183 (uri (string-append "https://hackage.haskell.org/package/"
6184 "hslogger-" version "/" "hslogger-"
6187 "0ykcsk7wqygvrg60r5kpl6xfinr706al8pfyk5wj67wjs24lqypr"))))
6188 (build-system haskell-build-system)
6190 `(("ghc-network" ,ghc-network)
6191 ("ghc-old-locale" ,ghc-old-locale)))
6193 `(("ghc-hunit" ,ghc-hunit)))
6194 (home-page "https://software.complete.org/hslogger")
6195 (synopsis "Logging framework for Haskell, similar to Python's logging module")
6196 (description "Hslogger lets each log message have a priority and source be
6197 associated with it. The programmer can then define global handlers that route
6198 or filter messages based on the priority and source. It also has a syslog
6200 (license license:bsd-3)))
6202 (define-public ghc-hslua
6208 (uri (string-append "https://hackage.haskell.org/package/"
6209 "hslua/hslua-" version ".tar.gz"))
6212 "183bgl5jcx5y2r94lviqfw0a5w9089nxjd1z40k8vx9y2h60pm6j"))))
6213 (build-system haskell-build-system)
6215 `(#:configure-flags '("-fsystem-lua")
6216 #:extra-directories ("lua")))
6219 ("ghc-exceptions" ,ghc-exceptions)
6220 ("ghc-fail" ,ghc-fail)))
6222 `(("ghc-tasty" ,ghc-tasty)
6223 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
6224 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6225 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6226 ("ghc-quickcheck" ,ghc-quickcheck)
6227 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
6228 (home-page "https://hackage.haskell.org/package/hslua")
6229 (synopsis "Lua language interpreter embedding in Haskell")
6231 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
6232 described in @url{https://www.lua.org/}.")
6233 (license license:expat)))
6235 (define-public ghc-hslua-module-system
6237 (name "ghc-hslua-module-system")
6242 (uri (string-append "https://hackage.haskell.org/package/"
6243 "hslua-module-system/hslua-module-system-"
6247 "1m7wz3g5c34pyizqw5mllzhsy2vziddhlbhjfwdvd7nhd3p4v3hh"))))
6248 (build-system haskell-build-system)
6250 `(("ghc-exceptions" ,ghc-exceptions)
6251 ("ghc-hslua" ,ghc-hslua)
6252 ("ghc-temporary" ,ghc-temporary)))
6254 `(("ghc-tasty" ,ghc-tasty)
6255 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6256 (home-page "https://github.com/hslua/hslua-module-system")
6257 (synopsis "Lua module wrapper around Haskell's System module")
6258 (description "This library provides access to system information and
6259 functionality to Lua scripts via Haskell's @code{System} module. Intended
6260 usage for this package is to preload it by adding the loader function to
6261 @code{package.preload}. Note that the Lua @code{package} library must have
6262 already been loaded before the loader can be added.")
6263 (license license:expat)))
6265 (define-public ghc-hslua-module-text
6267 (name "ghc-hslua-module-text")
6272 (uri (string-append "https://hackage.haskell.org/package/"
6273 "hslua-module-text/hslua-module-text-"
6277 "1ikdwvvxhbd5wmfr85dzs2ccamh9rbbpgy899z7s1vlv5q1dj0hk"))))
6278 (build-system haskell-build-system)
6280 `(("ghc-hslua" ,ghc-hslua)))
6282 `(("ghc-tasty" ,ghc-tasty)
6283 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6284 (home-page "https://github.com/hslua/hslua-module-text")
6285 (synopsis "Lua module for text")
6287 "This package provides a UTF-8 aware subset of Lua's @code{string} module
6288 for Haskell. The functions provided by this module are @code{upper},
6289 @code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
6290 (license license:expat)))
6292 (define-public ghc-hsyaml
6299 (uri (string-append "https://hackage.haskell.org/package/"
6300 "HsYAML/HsYAML-" version ".tar.gz"))
6303 "1pajfhj16559v64ixm8j7bvxdqmxg6c3c0z3wz7in8ckswgzfp54"))))
6304 (build-system haskell-build-system)
6307 ("1" "0j6qmmcz5yqh89hs2cq453maix50q61vl2h0ahj5lg02bygn42cf")))
6308 (home-page "https://github.com/haskell-hvr/HsYAML")
6309 (synopsis "Pure Haskell YAML 1.2 parser")
6310 (description "This library provides a
6311 @url{http://yaml.org/spec/1.2/spec.html, YAML 1.2} parser implementation
6312 for Haskell. Its features include:
6315 @item Pure Haskell implementation with small dependency footprint and
6316 emphasis on strict compliance with the YAML 1.2 specification.
6318 @item Direct decoding to native Haskell types via (aeson-inspired)
6319 typeclass-based API (see @code{Data.YAML}).
6321 @item Support for constructing custom YAML node graph
6322 representation (including support for cyclic YAML data structures).
6324 @item Support for the standard (untyped) @emph{Failsafe}, (strict)
6325 @emph{JSON}, and (flexible) @emph{Core} ``schemas'' providing implicit
6326 typing rules as defined in the YAML 1.2 specification (including support
6327 for user-defined custom schemas).
6329 @item Event-based API resembling LibYAML's Event-based API (see
6330 @code{Data.YAML.Event}).
6332 @item Low-level API access to lexical token-based scanner (see
6333 @code{Data.YAML.Token}).
6335 (license license:gpl2+)))
6337 (define-public ghc-http-api-data
6339 (name "ghc-http-api-data")
6344 (uri (string-append "https://hackage.haskell.org/package/"
6345 "http-api-data-" version "/"
6346 "http-api-data-" version ".tar.gz"))
6349 "1ps4bvln43gz72dr9mc3c9n1rn38c4rz6m49vxzz9nz6jz1978rv"))))
6350 (build-system haskell-build-system)
6351 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
6352 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
6353 ("ghc-cookie" ,ghc-cookie)
6354 ("ghc-hashable" ,ghc-hashable)
6355 ("ghc-http-types" ,ghc-http-types)
6356 ("ghc-time-compat" ,ghc-time-compat)
6357 ("ghc-unordered-containers" ,ghc-unordered-containers)
6358 ("ghc-uuid-types" ,ghc-uuid-types)))
6360 `(("cabal-doctest" ,cabal-doctest)
6361 ("ghc-nats" ,ghc-nats)
6362 ("ghc-hunit" ,ghc-hunit)
6363 ("ghc-hspec" ,ghc-hspec)
6364 ("ghc-quickcheck" ,ghc-quickcheck)
6365 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6366 ("ghc-doctest" ,ghc-doctest)
6367 ("hspec-discover" ,hspec-discover)))
6368 (home-page "https://github.com/fizruk/http-api-data")
6369 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
6371 (description "This Haskell package defines typeclasses used for converting
6372 Haskell data types to and from HTTP API data.")
6373 (license license:bsd-3)))
6375 (define-public ghc-ieee754
6377 (name "ghc-ieee754")
6382 "https://hackage.haskell.org/package/ieee754/"
6383 "ieee754-" version ".tar.gz"))
6386 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
6387 (build-system haskell-build-system)
6388 (home-page "https://github.com/patperry/hs-ieee754")
6389 (synopsis "Utilities for dealing with IEEE floating point numbers")
6390 (description "Utilities for dealing with IEEE floating point numbers,
6391 ported from the Tango math library; approximate and exact equality comparisons
6392 for general types.")
6393 (license license:bsd-3)))
6395 (define-public ghc-ifelse
6402 (uri (string-append "https://hackage.haskell.org/package/"
6403 "IfElse/IfElse-" version ".tar.gz"))
6406 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
6407 (build-system haskell-build-system)
6408 (home-page "https://hackage.haskell.org/package/IfElse")
6409 (synopsis "Monadic control flow with anaphoric variants")
6410 (description "This library provides functions for control flow inside of
6411 monads with anaphoric variants on @code{if} and @code{when} and a C-like
6412 @code{switch} function.")
6413 (license license:bsd-3)))
6415 (define-public ghc-indents
6417 (name "ghc-indents")
6422 "https://hackage.haskell.org/package/indents/indents-"
6426 "0dpcwiz0dwn5aqdsc50plfaawh86adhf7jx5dsmhn5q5nz32qn51"))))
6427 (build-system haskell-build-system)
6428 ;; This package needs an older version of tasty.
6429 (arguments '(#:tests? #f))
6431 `(("ghc-concatenative" ,ghc-concatenative)))
6433 `(("ghc-tasty" ,ghc-tasty)
6434 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6435 (home-page "http://patch-tag.com/r/salazar/indents")
6436 (synopsis "Indentation sensitive parser-combinators for parsec")
6438 "This library provides functions for use in parsing indentation sensitive
6439 contexts. It parses blocks of lines all indented to the same level as well as
6440 lines continued at an indented level below.")
6441 (license license:bsd-3)))
6443 (define-public ghc-infer-license
6445 (name "ghc-infer-license")
6450 (uri (string-append "https://hackage.haskell.org/package/"
6451 "infer-license/infer-license-" version ".tar.gz"))
6454 "0wlfm6bf55kfvm74xar9lmjg5v1103rs9m3grw1rq5bmcmhzxrhj"))))
6455 (build-system haskell-build-system)
6457 `(("ghc-text-metrics" ,ghc-text-metrics)))
6459 `(("ghc-hspec" ,ghc-hspec)
6460 ("hspec-discover" ,hspec-discover)))
6461 (home-page "https://hackage.haskell.org/package/infer-license")
6462 (synopsis "Infer software license from a given license file")
6463 (description "This library provides tools to infer a software
6464 license from a given license file.")
6465 (license license:expat)))
6467 (define-public ghc-inline-c
6469 (name "ghc-inline-c")
6474 (uri (string-append "https://hackage.haskell.org/package/inline-c/"
6475 "inline-c-" version ".tar.gz"))
6478 "19scbviwiv1fbsdcjji3dscjg7w0xa8r97xwkqqrwm7zhvrg5wns"))))
6479 (build-system haskell-build-system)
6481 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
6482 ("ghc-cryptohash" ,ghc-cryptohash)
6483 ("ghc-hashable" ,ghc-hashable)
6484 ("ghc-parsers" ,ghc-parsers)
6485 ("ghc-unordered-containers" ,ghc-unordered-containers)
6486 ("ghc-vector" ,ghc-vector)))
6488 `(("ghc-quickcheck" ,ghc-quickcheck)
6489 ("ghc-hspec" ,ghc-hspec)
6490 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)
6491 ("ghc-regex-posix" ,ghc-regex-posix)))
6492 (home-page "https://hackage.haskell.org/package/inline-c")
6493 (synopsis "Write Haskell source files including C code inline")
6495 "inline-c lets you seamlessly call C libraries and embed high-performance
6496 inline C code in Haskell modules. Haskell and C can be freely intermixed in
6497 the same source file, and data passed to and from code in either language with
6498 minimal overhead. No FFI required.")
6499 (license license:expat)))
6501 (define-public ghc-inline-c-cpp
6503 (name "ghc-inline-c-cpp")
6508 (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/"
6509 "inline-c-cpp-" version ".tar.gz"))
6512 "1sxwx9dh60qfpa72dymj015zwd6prhb70x5mkabqzi7nhg3aakln"))))
6513 (build-system haskell-build-system)
6515 `(("ghc-inline-c" ,ghc-inline-c)
6516 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
6518 `(("ghc-hspec" ,ghc-hspec)))
6519 (home-page "https://hackage.haskell.org/package/inline-c-cpp")
6520 (synopsis "Lets you embed C++ code into Haskell")
6522 "This package provides utilities to inline C++ code into Haskell using
6524 (license license:expat)))
6526 (define-public ghc-integer-logarithms
6528 (name "ghc-integer-logarithms")
6533 (uri (string-append "https://hackage.haskell.org/package/"
6534 "integer-logarithms/integer-logarithms-"
6538 "05pc5hws66csvcvfswlwcr2fplwn1lbssvwifjxkbbwqhq0n5qjs"))))
6539 (build-system haskell-build-system)
6542 (modify-phases %standard-phases
6543 (add-before 'configure 'update-constraints
6545 (substitute* "integer-logarithms.cabal"
6546 (("tasty >= 0\\.10 && < 1\\.1")
6547 "tasty >= 0.10 && < 1.2")))))))
6549 `(("ghc-quickcheck" ,ghc-quickcheck)
6550 ("ghc-smallcheck" ,ghc-smallcheck)
6551 ("ghc-tasty" ,ghc-tasty)
6552 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6553 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6554 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
6555 (home-page "https://github.com/Bodigrim/integer-logarithms")
6556 (synopsis "Integer logarithms")
6558 "This package provides the following modules:
6559 @code{Math.NumberTheory.Logarithms} and
6560 @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
6561 @code{GHC.Integer.Logarithms.Compat} and
6562 @code{Math.NumberTheory.Power.Natural}, as well as some additional functions
6563 in migrated modules.")
6564 (license license:expat)))
6566 (define-public ghc-integer-logarithms-bootstrap
6568 (inherit ghc-integer-logarithms)
6569 (name "ghc-integer-logarithms-bootstrap")
6570 (arguments `(#:tests? #f))
6572 (properties '((hidden? #t)))))
6574 (define-public ghc-interpolate
6576 (name "ghc-interpolate")
6581 (uri (string-append "https://hackage.haskell.org/package/interpolate/"
6582 "interpolate-" version ".tar.gz"))
6585 "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf"))))
6586 (build-system haskell-build-system)
6588 `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
6590 `(("ghc-base-compat" ,ghc-base-compat)
6591 ("ghc-hspec" ,ghc-hspec)
6592 ("ghc-quickcheck" ,ghc-quickcheck)
6593 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6594 ("hspec-discover" ,hspec-discover)))
6595 (home-page "https://github.com/sol/interpolate")
6596 (synopsis "String interpolation library")
6597 (description "This package provides a string interpolation library for
6599 (license license:expat)))
6601 (define-public ghc-intervalmap
6603 (name "ghc-intervalmap")
6608 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
6609 "IntervalMap-" version ".tar.gz"))
6612 "0vdlvxvhf7vjyv0mfn6jaj2i2gclqv8419ck32s2jxfcmki5m5g8"))))
6613 (build-system haskell-build-system)
6615 `(("ghc-quickcheck" ,ghc-quickcheck)))
6616 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
6617 (synopsis "Containers for intervals, with efficient search")
6619 "This package provides ordered containers of intervals, with efficient
6620 search for all keys containing a point or overlapping an interval. See the
6621 example code on the home page for a quick introduction.")
6622 (license license:bsd-3)))
6624 (define-public ghc-intervals
6626 (name "ghc-intervals")
6631 (uri (string-append "https://hackage.haskell.org/package/"
6632 "intervals/intervals-" version ".tar.gz"))
6635 "00vyxf3ba9d7aas3npfapr53w71fslgh69fczjb25axr66fvzqww"))))
6636 (build-system haskell-build-system)
6638 `(("ghc-distributive" ,ghc-distributive)))
6640 `(("cabal-doctest" ,cabal-doctest)
6641 ("ghc-doctest" ,ghc-doctest)
6642 ("ghc-quickcheck" ,ghc-quickcheck)))
6645 ("4" "1qx3q0v13l1zaln9zdk8chxpxhshbz5x0vqm0qda7d1kpv7h6a7r")))
6646 (home-page "https://github.com/ekmett/intervals")
6647 (synopsis "Interval arithmetic")
6648 (description "This library provides
6649 @code{Numeric.Interval.Interval}, which represets a closed, convex set
6650 of floating point values.")
6651 (license license:bsd-3)))
6653 (define-public ghc-invariant
6655 (name "ghc-invariant")
6661 "https://hackage.haskell.org/package/invariant/invariant-"
6665 "03245nhcqxx6b0yw81fzqaqd7cgllmx8awzhvs2xv7ys73pmsgnp"))))
6666 (build-system haskell-build-system)
6668 `(("ghc-bifunctors" ,ghc-bifunctors)
6669 ("ghc-comonad" ,ghc-comonad)
6670 ("ghc-contravariant" ,ghc-contravariant)
6671 ("ghc-profunctors" ,ghc-profunctors)
6672 ("ghc-semigroups" ,ghc-semigroups)
6673 ("ghc-statevar" ,ghc-statevar)
6674 ("ghc-tagged" ,ghc-tagged)
6675 ("ghc-th-abstraction" ,ghc-th-abstraction)
6676 ("ghc-transformers-compat" ,ghc-transformers-compat)
6677 ("ghc-unordered-containers" ,ghc-unordered-containers)))
6679 `(("ghc-hspec" ,ghc-hspec)
6680 ("ghc-quickcheck" ,ghc-quickcheck)
6681 ("hspec-discover" ,hspec-discover)))
6682 (home-page "https://github.com/nfrisby/invariant-functors")
6683 (synopsis "Haskell98 invariant functors")
6684 (description "Haskell98 invariant functors (also known as exponential
6685 functors). For more information, see Edward Kmett's article
6686 @uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.")
6687 (license license:bsd-2)))
6689 (define-public ghc-io-streams
6691 (name "ghc-io-streams")
6696 (uri (string-append "https://hackage.haskell.org/package/"
6697 "io-streams/io-streams-" version ".tar.gz"))
6700 "1c7byr943x41nxpc3bnz152fvfbmakafq2958wyf9qiyp2pz18la"))))
6701 (build-system haskell-build-system)
6703 `(("ghc-attoparsec" ,ghc-attoparsec)
6704 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6705 ("ghc-network" ,ghc-network)
6706 ("ghc-primitive" ,ghc-primitive)
6707 ("ghc-vector" ,ghc-vector)
6708 ("ghc-zlib-bindings" ,ghc-zlib-bindings)))
6710 `(("ghc-hunit" ,ghc-hunit)
6711 ("ghc-quickcheck" ,ghc-quickcheck)
6712 ("ghc-test-framework" ,ghc-test-framework)
6713 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6714 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6715 ("ghc-zlib" ,ghc-zlib)))
6716 (home-page "https://hackage.haskell.org/package/io-streams")
6717 (synopsis "Simple and composable stream I/O")
6718 (description "This library contains simple and easy-to-use
6719 primitives for I/O using streams.")
6720 (license license:bsd-3)))
6722 (define-public ghc-io-streams-haproxy
6724 (name "ghc-io-streams-haproxy")
6729 (uri (string-append "https://hackage.haskell.org/package/"
6730 "io-streams-haproxy/io-streams-haproxy-"
6734 "1dcn5hd4fiwyq7m01r6fi93vfvygca5s6mz87c78m0zyj29clkmp"))))
6735 (build-system haskell-build-system)
6737 `(("ghc-attoparsec" ,ghc-attoparsec)
6738 ("ghc-io-streams" ,ghc-io-streams)
6739 ("ghc-network" ,ghc-network)))
6741 `(("ghc-hunit" ,ghc-hunit)
6742 ("ghc-test-framework" ,ghc-test-framework)
6743 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
6744 (home-page "http://snapframework.com/")
6745 (synopsis "HAProxy protocol 1.5 support for io-streams")
6746 (description "HAProxy protocol version 1.5 support
6747 (see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt})
6748 for applications using io-streams. The proxy protocol allows information
6749 about a networked peer (like remote address and port) to be propagated
6750 through a forwarding proxy that is configured to speak this protocol.")
6751 (license license:bsd-3)))
6753 (define-public ghc-iproute
6755 (name "ghc-iproute")
6761 "https://hackage.haskell.org/package/iproute/iproute-"
6766 "0gab5930nvzrpvisx3x43ydnp2rd4fbmy9cq1zpgqy1adx5gx8z6"))))
6767 (build-system haskell-build-system)
6768 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
6769 ; exported by ghc-byteorder. Doctest issue.
6771 `(("ghc-appar" ,ghc-appar)
6772 ("ghc-byteorder" ,ghc-byteorder)
6773 ("ghc-network" ,ghc-network)
6774 ("ghc-safe" ,ghc-safe)))
6775 (home-page "https://www.mew.org/~kazu/proj/iproute/")
6776 (synopsis "IP routing table")
6777 (description "IP Routing Table is a tree of IP ranges to search one of
6778 them on the longest match base. It is a kind of TRIE with one way branching
6779 removed. Both IPv4 and IPv6 are supported.")
6780 (license license:bsd-3)))
6782 (define-public ghc-ipynb
6789 (uri (string-append "https://hackage.haskell.org/package/"
6790 "ipynb/ipynb-" version ".tar.gz"))
6793 "0daadhzil4q573mqb0rpvjzm0vpkzgzqcimw480qpvlh6rhppwj5"))))
6794 (build-system haskell-build-system)
6796 `(("ghc-unordered-containers" ,ghc-unordered-containers)
6797 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6798 ("ghc-aeson" ,ghc-aeson)
6799 ("ghc-semigroups" ,ghc-semigroups)))
6801 `(("ghc-tasty" ,ghc-tasty)
6802 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6803 ("ghc-aeson-diff" ,ghc-aeson-diff)
6804 ("ghc-microlens-aeson" ,ghc-microlens-aeson)
6805 ("ghc-microlens" ,ghc-microlens)
6806 ("ghc-vector" ,ghc-vector)))
6807 (home-page "https://hackage.haskell.org/package/ipynb")
6808 (synopsis "Data structure for working with Jupyter notebooks")
6809 (description "This library defines a data structure for representing
6810 Jupyter notebooks, along with @code{ToJSON} and @code{FromJSON}
6811 instances for conversion to and from JSON .ipynb files.")
6812 (license license:bsd-3)))
6814 (define-public ghc-iwlib
6821 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
6824 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
6825 (build-system haskell-build-system)
6827 `(#:extra-directories ("wireless-tools")))
6829 `(("wireless-tools" ,wireless-tools)))
6830 (home-page "https://github.com/jaor/iwlib")
6831 (synopsis "Haskell binding to the iw wireless networking library")
6833 "IWlib is a thin Haskell binding to the iw C library. It provides
6834 information about the current wireless network connections, and adapters on
6835 supported systems.")
6836 (license license:bsd-3)))
6838 (define-public ghc-json
6845 (uri (string-append "https://hackage.haskell.org/package/json/"
6846 "json-" version ".tar.gz"))
6849 "1z8s3mfg76p2flqqd2wqsi96l5bg8k8w8m58zlv81pw3k7h1vbwb"))))
6850 (build-system haskell-build-system)
6852 `(("ghc-syb" ,ghc-syb)))
6853 (home-page "https://hackage.haskell.org/package/json")
6854 (synopsis "Serializes Haskell data to and from JSON")
6855 (description "This package provides a parser and pretty printer for
6856 converting between Haskell values and JSON.
6857 JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
6858 (license license:bsd-3)))
6860 (define-public ghc-juicypixels
6862 (name "ghc-juicypixels")
6866 (uri (string-append "https://hackage.haskell.org/package/"
6867 "JuicyPixels/JuicyPixels-"
6871 "0qacrnz2qcykj3f6c4k2p8qd31pa2slpv3ykfblgizrfh3401q6x"))))
6872 (build-system haskell-build-system)
6873 (outputs '("out" "static" "doc"))
6875 `(("ghc-zlib" ,ghc-zlib)
6876 ("ghc-vector" ,ghc-vector)
6877 ("ghc-primitive" ,ghc-primitive)
6878 ("ghc-mmap" ,ghc-mmap)))
6879 (home-page "https://github.com/Twinside/Juicy.Pixels")
6880 (synopsis "Picture loading and serialization library")
6882 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
6883 TIFF and GIF formats.")
6884 (license license:bsd-3)))
6886 (define-public ghc-kan-extensions
6888 (name "ghc-kan-extensions")
6894 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
6899 "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb"))))
6900 (build-system haskell-build-system)
6902 `(("ghc-adjunctions" ,ghc-adjunctions)
6903 ("ghc-comonad" ,ghc-comonad)
6904 ("ghc-contravariant" ,ghc-contravariant)
6905 ("ghc-distributive" ,ghc-distributive)
6906 ("ghc-free" ,ghc-free)
6907 ("ghc-invariant" ,ghc-invariant)
6908 ("ghc-semigroupoids" ,ghc-semigroupoids)
6909 ("ghc-tagged" ,ghc-tagged)
6910 ("ghc-transformers-compat" ,ghc-transformers-compat)))
6911 (home-page "https://github.com/ekmett/kan-extensions/")
6912 (synopsis "Kan extensions library")
6913 (description "This library provides Kan extensions, Kan lifts, various
6914 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
6915 (license license:bsd-3)))
6917 (define-public ghc-language-c
6919 (name "ghc-language-c")
6924 (uri (string-append "https://hackage.haskell.org/package/"
6925 "language-c/language-c-" version ".tar.gz"))
6928 "0bi02jdirkys8v7flf39vrpla2a74z1z0sdhy9lb9v7cmcc6rmpk"))))
6929 (build-system haskell-build-system)
6930 (inputs `(("ghc-syb" ,ghc-syb)))
6932 `(("ghc-happy" ,ghc-happy)
6933 ("ghc-alex" ,ghc-alex)))
6934 (home-page "https://visq.github.io/language-c/")
6935 (synopsis "Analysis and generation of C code")
6937 "Language C is a Haskell library for the analysis and generation of C code.
6938 It features a complete, well-tested parser and pretty printer for all of C99
6939 and a large set of GNU extensions.")
6940 (license license:bsd-3)))
6942 (define-public ghc-language-glsl
6944 (name "ghc-language-glsl")
6949 (uri (string-append "https://hackage.haskell.org/package/"
6950 "language-glsl/language-glsl-" version ".tar.gz"))
6953 "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1"))))
6954 (build-system haskell-build-system)
6955 (inputs `(("ghc-prettyclass" ,ghc-prettyclass)))
6959 ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5")))
6960 (home-page "https://hackage.haskell.org/package/language-glsl")
6961 (synopsis "GLSL abstract syntax tree, parser, and pretty-printer")
6962 (description "This package is a Haskell library for the
6963 representation, parsing, and pretty-printing of GLSL 1.50 code.")
6964 (license license:bsd-3)))
6966 (define-public ghc-language-haskell-extract
6968 (name "ghc-language-haskell-extract")
6973 (uri (string-append "https://hackage.haskell.org/package/"
6974 "language-haskell-extract-" version "/"
6975 "language-haskell-extract-" version ".tar.gz"))
6978 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
6979 (build-system haskell-build-system)
6981 `(("ghc-regex-posix" ,ghc-regex-posix)))
6982 (home-page "https://github.com/finnsson/template-helper")
6983 (synopsis "Haskell module to automatically extract functions from
6985 (description "This package contains helper functions on top of
6988 For example, @code{functionExtractor} extracts all functions after a
6989 regexp-pattern, which can be useful if you wish to extract all functions
6990 beginning with @code{test} (for a test framework) or all functions beginning
6991 with @code{wc} (for a web service).")
6992 (license license:bsd-3)))
6994 (define-public ghc-lens
7001 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
7005 "1gpkc53l2cggnfrgg5k4ih82rycjbdvpj9pnbi5cq8ms0dbvs4a7"))))
7006 (build-system haskell-build-system)
7007 (outputs '("out" "static" "doc"))
7009 `(("ghc-base-orphans" ,ghc-base-orphans)
7010 ("ghc-bifunctors" ,ghc-bifunctors)
7011 ("ghc-distributive" ,ghc-distributive)
7012 ("ghc-exceptions" ,ghc-exceptions)
7013 ("ghc-free" ,ghc-free)
7014 ("ghc-kan-extensions" ,ghc-kan-extensions)
7015 ("ghc-parallel" ,ghc-parallel)
7016 ("ghc-reflection" ,ghc-reflection)
7017 ("ghc-semigroupoids" ,ghc-semigroupoids)
7018 ("ghc-vector" ,ghc-vector)
7019 ("ghc-call-stack" ,ghc-call-stack)
7020 ("ghc-comonad" ,ghc-comonad)
7021 ("ghc-contravariant" ,ghc-contravariant)
7022 ("ghc-hashable" ,ghc-hashable)
7023 ("ghc-profunctors" ,ghc-profunctors)
7024 ("ghc-semigroups" ,ghc-semigroups)
7025 ("ghc-tagged" ,ghc-tagged)
7026 ("ghc-transformers-compat" ,ghc-transformers-compat)
7027 ("ghc-unordered-containers" ,ghc-unordered-containers)
7028 ("ghc-void" ,ghc-void)
7029 ("ghc-generic-deriving" ,ghc-generic-deriving)
7030 ("ghc-nats" ,ghc-nats)
7031 ("ghc-simple-reflect" ,ghc-simple-reflect)
7034 `(("cabal-doctest" ,cabal-doctest)
7035 ("ghc-doctest" ,ghc-doctest)
7036 ("ghc-hunit" ,ghc-hunit)
7037 ("ghc-test-framework" ,ghc-test-framework)
7038 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7039 ("ghc-test-framework-th" ,ghc-test-framework-th)
7040 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7041 ("ghc-quickcheck" ,ghc-quickcheck)))
7042 (home-page "https://github.com/ekmett/lens/")
7043 (synopsis "Lenses, Folds and Traversals")
7044 (description "This library provides @code{Control.Lens}. The combinators
7045 in @code{Control.Lens} provide a highly generic toolbox for composing families
7046 of getters, folds, isomorphisms, traversals, setters and lenses and their
7048 (license license:bsd-3)))
7050 (define-public ghc-lens-family-core
7052 (name "ghc-lens-family-core")
7058 "mirror://hackage/package/lens-family-core/lens-family-core-"
7063 "009rf10pj1cb50v44cc1pq7qvfrmkkk9dikahs9qmvbvgl3mykwi"))))
7064 (build-system haskell-build-system)
7066 "http://hackage.haskell.org/package/lens-family-core")
7067 (synopsis "Haskell 98 Lens Families")
7069 "This package provides first class functional references. In addition to
7070 the usual operations of getting, setting and composition, plus integration
7071 with the state monad, lens families provide some unique features:
7074 @item Polymorphic updating
7076 @item Cast projection functions to read-only lenses
7077 @item Cast @code{toList} functions to read-only traversals
7078 @item Cast semantic editor combinators to modify-only traversals
7081 For optimal first-class support use the lens-family package with rank 2/rank N
7082 polymorphism. @code{Lens.Family.Clone} allows for first-class support of
7083 lenses and traversals for those who require Haskell 98.")
7084 (license license:bsd-3)))
7086 (define-public ghc-libffi
7093 (uri (string-append "https://hackage.haskell.org/package/"
7094 "libffi/libffi-" version ".tar.gz"))
7097 "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28"))))
7098 (build-system haskell-build-system)
7099 (native-inputs `(("pkg-config" ,pkg-config)))
7100 (inputs `(("libffi" ,libffi)))
7101 (home-page "https://hackage.haskell.org/package/libffi")
7102 (synopsis "Haskell binding to libffi")
7104 "A binding to libffi, allowing C functions of types only known at runtime
7105 to be called from Haskell.")
7106 (license license:bsd-3)))
7108 (define-public ghc-libmpd
7111 (version "0.9.0.10")
7116 "mirror://hackage/package/libmpd/libmpd-"
7121 "0vy287mn1vk8kvij5i3hc0p02l886cpsq5dds7kl6g520si3abkb"))))
7122 (build-system haskell-build-system)
7123 ;; Tests fail on i686.
7124 ;; See https://github.com/vimus/libmpd-haskell/issues/112
7125 (arguments `(#:tests? #f))
7127 `(("ghc-attoparsec" ,ghc-attoparsec)
7128 ("ghc-old-locale" ,ghc-old-locale)
7129 ("ghc-data-default-class" ,ghc-data-default-class)
7130 ("ghc-network" ,ghc-network)
7131 ("ghc-safe-exceptions" ,ghc-safe-exceptions)
7132 ("ghc-utf8-string" ,ghc-utf8-string)))
7134 `(("ghc-quickcheck" ,ghc-quickcheck)
7135 ("ghc-hspec" ,ghc-hspec)
7136 ("hspec-discover" ,hspec-discover)))
7137 (home-page "https://github.com/vimus/libmpd-haskell")
7138 (synopsis "Haskell client library for the Music Player Daemon")
7139 (description "This package provides a pure Haskell client library for the
7140 Music Player Daemon.")
7141 (license license:expat)))
7143 (define-public ghc-lib-parser
7145 (name "ghc-lib-parser")
7146 (version "8.8.0.20190424")
7150 (uri (string-append "https://hackage.haskell.org/package/"
7151 "ghc-lib-parser/ghc-lib-parser-" version ".tar.gz"))
7154 "12gsh994pr13bsybwlravmi21la66dyw74pk74yfw2pnz682wv10"))))
7155 (build-system haskell-build-system)
7156 (outputs '("out" "static" "doc")) ; documentation is 39M
7158 `(("ghc-alex" ,ghc-alex)
7159 ("ghc-happy" ,ghc-happy)))
7160 (home-page "https://github.com/digital-asset/ghc-lib")
7161 (synopsis "The GHC API, decoupled from GHC versions")
7162 (description "This library implements the GHC API. It is like the
7163 compiler-provided @code{ghc} package, but it can be loaded on many
7164 compiler versions.")
7165 (license license:bsd-3)))
7167 (define-public ghc-libxml
7174 (uri (string-append "https://hackage.haskell.org/package/libxml/"
7175 "libxml-" version ".tar.gz"))
7178 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
7179 (build-system haskell-build-system)
7181 `(("libxml2" ,libxml2)))
7184 `(,(string-append "--extra-include-dirs="
7185 (assoc-ref %build-inputs "libxml2")
7186 "/include/libxml2"))))
7187 (home-page "https://hackage.haskell.org/package/libxml")
7188 (synopsis "Haskell bindings to libxml2")
7190 "This library provides minimal Haskell binding to libxml2.")
7191 (license license:bsd-3)))
7193 (define-public ghc-libyaml
7195 (name "ghc-libyaml")
7200 (uri (string-append "https://hackage.haskell.org/package/"
7201 "libyaml/libyaml-" version ".tar.gz"))
7204 "0psznm9c3yjsyj9aj8m2svvv9m2v0x90hnwarcx5sbswyi3l00va"))
7205 (modules '((guix build utils)))
7207 ;; Delete bundled LibYAML.
7209 (delete-file-recursively "libyaml_src")
7211 (build-system haskell-build-system)
7213 `(#:configure-flags `("--flags=system-libyaml")
7214 #:extra-directories ("libyaml+static")))
7216 `(("ghc-conduit" ,ghc-conduit)
7217 ("ghc-resourcet" ,ghc-resourcet)
7218 ("libyaml+static" ,libyaml+static)))
7219 (home-page "https://github.com/snoyberg/yaml#readme")
7220 (synopsis "Low-level, streaming YAML interface.")
7221 (description "This package provides a Haskell wrapper over the
7222 LibYAML C library.")
7223 (license license:bsd-3)))
7225 (define-public ghc-lifted-async
7227 (name "ghc-lifted-async")
7228 (version "0.10.0.4")
7233 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7237 "0cwl1d0wjpdk0v1l1qxiqiksmak950c8gx169c1q77cg0z18ijf9"))))
7238 (build-system haskell-build-system)
7240 `(("ghc-async" ,ghc-async)
7241 ("ghc-lifted-base" ,ghc-lifted-base)
7242 ("ghc-transformers-base" ,ghc-transformers-base)
7243 ("ghc-monad-control" ,ghc-monad-control)
7244 ("ghc-constraints" ,ghc-constraints)
7245 ("ghc-hunit" ,ghc-hunit)
7246 ("ghc-tasty" ,ghc-tasty)
7247 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
7248 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7249 ("ghc-tasty-th" ,ghc-tasty-th)))
7250 (home-page "https://github.com/maoe/lifted-async")
7251 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7253 "This package provides IO operations from @code{async} package lifted to any
7254 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7255 (license license:bsd-3)))
7257 (define-public ghc-lifted-base
7259 (name "ghc-lifted-base")
7260 (version "0.2.3.12")
7265 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
7270 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
7271 (build-system haskell-build-system)
7272 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
7274 `(("ghc-transformers-base" ,ghc-transformers-base)
7275 ("ghc-monad-control" ,ghc-monad-control)
7276 ("ghc-transformers-compat" ,ghc-transformers-compat)
7277 ("ghc-hunit" ,ghc-hunit)))
7278 (home-page "https://github.com/basvandijk/lifted-base")
7279 (synopsis "Lifted IO operations from the base library")
7280 (description "Lifted-base exports IO operations from the @code{base}
7281 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
7282 Note that not all modules from @code{base} are converted yet. The package
7283 includes a copy of the @code{monad-peel} test suite written by Anders
7285 (license license:bsd-3)))
7287 (define-public ghc-linear
7294 (uri (string-append "https://hackage.haskell.org/package/linear/"
7295 "linear-" version ".tar.gz"))
7298 "0h7yqigq593n7wsl7nz6a5f137wznm7y679wsii0ph0zsc4v5af5"))))
7299 (build-system haskell-build-system)
7301 `(("ghc-adjunctions" ,ghc-adjunctions)
7302 ("ghc-base-orphans" ,ghc-base-orphans)
7303 ("ghc-bytes" ,ghc-bytes)
7304 ("ghc-cereal" ,ghc-cereal)
7305 ("ghc-distributive" ,ghc-distributive)
7306 ("ghc-hashable" ,ghc-hashable)
7307 ("ghc-lens" ,ghc-lens)
7308 ("ghc-reflection" ,ghc-reflection)
7309 ("ghc-semigroups" ,ghc-semigroups)
7310 ("ghc-semigroupoids" ,ghc-semigroupoids)
7311 ("ghc-tagged" ,ghc-tagged)
7312 ("ghc-transformers-compat" ,ghc-transformers-compat)
7313 ("ghc-unordered-containers" ,ghc-unordered-containers)
7314 ("ghc-vector" ,ghc-vector)
7315 ("ghc-void" ,ghc-void)))
7317 `(("cabal-doctest" ,cabal-doctest)
7318 ("ghc-doctest" ,ghc-doctest)
7319 ("ghc-simple-reflect" ,ghc-simple-reflect)
7320 ("ghc-test-framework" ,ghc-test-framework)
7321 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7322 ("ghc-hunit" ,ghc-hunit)))
7323 (home-page "https://github.com/ekmett/linear/")
7324 (synopsis "Linear algebra library for Haskell")
7326 "This package provides types and combinators for linear algebra on free
7328 (license license:bsd-3)))
7330 (define-public ghc-listlike
7332 (name "ghc-listlike")
7339 "https://hackage.haskell.org/package/ListLike/ListLike-"
7343 "0m65x8yaq7q50gznln8mga2wrc8cvjx6gw9rim8s7xqcrx6y5zjh"))))
7344 (build-system haskell-build-system)
7346 `(("ghc-vector" ,ghc-vector)
7347 ("ghc-dlist" ,ghc-dlist)
7348 ("ghc-fmlist" ,ghc-fmlist)
7349 ("ghc-hunit" ,ghc-hunit)
7350 ("ghc-quickcheck" ,ghc-quickcheck)
7351 ("ghc-random" ,ghc-random)
7352 ("ghc-utf8-string" ,ghc-utf8-string)))
7353 (home-page "https://github.com/JohnLato/listlike")
7354 (synopsis "Generic support for list-like structures")
7355 (description "The ListLike module provides a common interface to the
7356 various Haskell types that are list-like. Predefined interfaces include
7357 standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings.
7358 Custom types can easily be made ListLike instances as well.
7360 ListLike also provides for String-like types, such as String and
7361 ByteString, for types that support input and output, and for types that
7362 can handle infinite lists.")
7363 (license license:bsd-3)))
7365 (define-public ghc-llvm-hs-pure
7367 (name "ghc-llvm-hs-pure")
7372 (uri (string-append "https://hackage.haskell.org/package/llvm-hs-pure/"
7373 "llvm-hs-pure-" version ".tar.gz"))
7376 "0pxb5ah8r5pzpz2ibqw3g9g1isigb4z7pbzfrwr8kmcjn74ab3kf"))))
7377 (build-system haskell-build-system)
7379 `(("ghc-attoparsec" ,ghc-attoparsec)
7380 ("ghc-fail" ,ghc-fail)
7381 ("ghc-unordered-containers" ,ghc-unordered-containers)))
7383 `(("ghc-tasty" ,ghc-tasty)
7384 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7385 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7386 (home-page "https://github.com/llvm-hs/llvm-hs/")
7387 (synopsis "Pure Haskell LLVM functionality (no FFI)")
7388 (description "llvm-hs-pure is a set of pure Haskell types and functions
7389 for interacting with LLVM. It includes an algebraic datatype (ADT) to represent
7390 LLVM IR. The llvm-hs package builds on this one with FFI bindings to LLVM, but
7391 llvm-hs-pure does not require LLVM to be available.")
7392 (license license:bsd-3)))
7394 (define-public ghc-llvm-hs
7396 (name "ghc-llvm-hs")
7401 (uri (string-append "https://hackage.haskell.org/package/llvm-hs/llvm-hs-"
7405 "0723xgh45h9cyxmmjsvxnsp8bpn1ljy4qgh7a7vqq3sj9d6wzq00"))))
7406 (build-system haskell-build-system)
7408 `(("ghc-attoparsec" ,ghc-attoparsec)
7409 ("ghc-exceptions" ,ghc-exceptions)
7410 ("ghc-utf8-string" ,ghc-utf8-string)
7411 ("ghc-llvm-hs-pure" ,ghc-llvm-hs-pure)
7414 `(("ghc-tasty" ,ghc-tasty)
7415 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7416 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7417 ("ghc-quickcheck" ,ghc-quickcheck)
7418 ("ghc-temporary" ,ghc-temporary)
7419 ("ghc-pretty-show" ,ghc-pretty-show)
7420 ("ghc-temporary" ,ghc-temporary)))
7421 (home-page "https://github.com/llvm-hs/llvm-hs/")
7422 (synopsis "General purpose LLVM bindings for Haskell")
7423 (description "llvm-hs is a set of Haskell bindings for LLVM. Unlike other
7424 current Haskell bindings, it uses an algebraic datatype (ADT) to represent LLVM
7425 IR, and so offers two advantages: it handles almost all of the stateful
7426 complexities of using the LLVM API to build IR; and it supports moving IR not
7427 only from Haskell into LLVM C++ objects, but the other direction - from LLVM C++
7429 (license license:bsd-3)))
7431 (define-public ghc-logging-facade
7433 (name "ghc-logging-facade")
7437 (uri (string-append "https://hackage.haskell.org/package/"
7438 "logging-facade/logging-facade-"
7442 "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf"))))
7443 (build-system haskell-build-system)
7445 `(("ghc-hspec" ,ghc-hspec)
7446 ("hspec-discover" ,hspec-discover)))
7447 (home-page "https://hackage.haskell.org/package/logging-facade")
7448 (synopsis "Simple logging abstraction that allows multiple back-ends")
7450 "This package provides a simple logging abstraction that allows multiple
7452 (license license:expat)))
7454 (define-public ghc-logict
7462 "https://hackage.haskell.org/package/logict/logict-"
7467 "1xfgdsxg0lp8m0a2cb83rcxrnnc37asfikay2kydi933anh9ihfc"))))
7468 (build-system haskell-build-system)
7470 `(("ghc-tasty" ,ghc-tasty)
7471 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7472 (home-page "http://code.haskell.org/~dolio/")
7473 (synopsis "Backtracking logic-programming monad")
7474 (description "This library provides a continuation-based, backtracking,
7475 logic programming monad. An adaptation of the two-continuation implementation
7476 found in the paper \"Backtracking, Interleaving, and Terminating Monad
7477 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
7479 (license license:bsd-3)))
7481 (define-public ghc-lucid
7489 "https://hackage.haskell.org/package/lucid/lucid-"
7494 "156wniydd1hlb7rygbm95zln8ky8lai8rn2apkkv0rax9cdw6jrh"))))
7495 (build-system haskell-build-system)
7497 `(("ghc-blaze-builder" ,ghc-blaze-builder)
7498 ("ghc-hashable" ,ghc-hashable)
7499 ("ghc-mmorph" ,ghc-mmorph)
7500 ("ghc-unordered-containers" ,ghc-unordered-containers)))
7502 `(("ghc-hunit" ,ghc-hunit)
7503 ("ghc-hspec" ,ghc-hspec)
7504 ("ghc-bifunctors" ,ghc-bifunctors)))
7508 "1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9")))
7509 (home-page "https://github.com/chrisdone/lucid")
7510 (synopsis "Haskell DSL for rendering HTML")
7511 (description "Clear to write, read and edit Haskell DSL for HTML.
7515 Names are consistent, and do not conflict with base or are keywords
7516 (all have suffix @code{-}).
7518 Same combinator can be used for attributes and elements
7519 (e.g. @code{style_}).
7521 (license license:bsd-3)))
7523 (define-public ghc-lzma
7530 (uri (string-append "https://hackage.haskell.org/package/lzma/"
7531 "lzma-" version ".tar.gz"))
7534 "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg"))))
7535 (build-system haskell-build-system)
7537 '(#:tests? #f ; requires older versions of QuickCheck and tasty.
7539 ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m")))
7541 `(("ghc-hunit" ,ghc-hunit)
7542 ("ghc-quickcheck" ,ghc-quickcheck)
7543 ("ghc-tasty" ,ghc-tasty)
7544 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7545 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7546 (home-page "https://github.com/hvr/lzma")
7547 (synopsis "LZMA/XZ compression and decompression")
7549 "This package provides a pure interface for compressing and
7550 decompressing LZMA streams of data represented as lazy @code{ByteString}s. A
7551 monadic incremental interface is provided as well.")
7552 (license license:bsd-3)))
7554 (define-public ghc-lzma-conduit
7556 (name "ghc-lzma-conduit")
7561 (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/"
7562 "lzma-conduit-" version ".tar.gz"))
7565 "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9"))))
7566 (build-system haskell-build-system)
7568 `(("ghc-conduit" ,ghc-conduit)
7569 ("ghc-lzma" ,ghc-lzma)
7570 ("ghc-resourcet" ,ghc-resourcet)))
7572 `(("ghc-base-compat" ,ghc-base-compat)
7573 ("ghc-test-framework" ,ghc-test-framework)
7574 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7575 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7576 ("ghc-hunit" ,ghc-hunit)
7577 ("ghc-quickcheck" ,ghc-quickcheck)))
7578 (home-page "https://github.com/alphaHeavy/lzma-conduit")
7579 (synopsis "Conduit interface for lzma/xz compression")
7581 "This package provides a @code{Conduit} interface for the LZMA
7582 compression algorithm used in the @code{.xz} file format.")
7583 (license license:bsd-3)))
7585 (define-public ghc-magic
7593 "https://hackage.haskell.org/package/magic/magic-"
7597 "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j"))))
7598 (build-system haskell-build-system)
7599 (home-page "https://hackage.haskell.org/package/magic")
7600 (synopsis "Interface to C file/magic library")
7602 "This package provides a full-featured binding to the C libmagic library.
7603 With it, you can determine the type of a file by examining its contents rather
7605 (license license:bsd-3)))
7607 (define-public ghc-managed
7609 (name "ghc-managed")
7615 "mirror://hackage/package/managed/managed-"
7620 "1kbrw99yh5x5blykmx2n88mplbbi4ss1ij5j17b7asw6q0ihm9zi"))))
7621 (build-system haskell-build-system)
7622 (home-page "http://hackage.haskell.org/package/managed")
7623 (synopsis "Monad for managed values")
7625 "In Haskell you very often acquire values using the with... idiom using
7626 functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a
7627 special case of the ContT monad (from transformers) or the Codensity
7628 monad (from kan-extensions). The main purpose behind this package is to
7629 provide a restricted form of these monads specialized to this unusually common
7632 The reason this package defines a specialized version of these types
7636 @item be more beginner-friendly,
7637 @item simplify inferred types and error messages, and:
7638 @item provide some additional type class instances that would otherwise be
7641 (license license:bsd-3)))
7643 (define-public ghc-markdown-unlit
7645 (name "ghc-markdown-unlit")
7650 "mirror://hackage/package/markdown-unlit/"
7651 "markdown-unlit-" version ".tar.gz"))
7654 "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7"))))
7655 (build-system haskell-build-system)
7657 `(("ghc-base-compat" ,ghc-base-compat)
7658 ("ghc-hspec" ,ghc-hspec)
7659 ("ghc-quickcheck" ,ghc-quickcheck)
7660 ("ghc-silently" ,ghc-silently)
7661 ("ghc-stringbuilder" ,ghc-stringbuilder)
7662 ("ghc-temporary" ,ghc-temporary)
7663 ("hspec-discover" ,hspec-discover)))
7664 (home-page "https://github.com/sol/markdown-unlit#readme")
7665 (synopsis "Literate Haskell support for Markdown")
7666 (description "This package allows you to have a README.md that at the
7667 same time is a literate Haskell program.")
7668 (license license:expat)))
7670 (define-public ghc-math-functions
7672 (name "ghc-math-functions")
7677 (uri (string-append "https://hackage.haskell.org/package/"
7678 "math-functions-" version "/"
7679 "math-functions-" version ".tar.gz"))
7682 "1s5nbs40sc3r4z08n0j8bw40cy0zkp03fjjn3p27zkd4fvm9kib3"))))
7683 (build-system haskell-build-system)
7684 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
7686 `(("ghc-data-default-class" ,ghc-data-default-class)
7687 ("ghc-vector" ,ghc-vector)
7688 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
7690 `(("ghc-hunit" ,ghc-hunit)
7691 ("ghc-quickcheck" ,ghc-quickcheck)
7692 ("ghc-erf" ,ghc-erf)
7693 ("ghc-test-framework" ,ghc-test-framework)
7694 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7695 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7696 (home-page "https://github.com/bos/math-functions")
7697 (synopsis "Special functions and Chebyshev polynomials for Haskell")
7698 (description "This Haskell library provides implementations of
7699 special mathematical functions and Chebyshev polynomials. These
7700 functions are often useful in statistical and numerical computing.")
7701 (license license:bsd-3)))
7703 (define-public ghc-megaparsec
7705 (name "ghc-megaparsec")
7710 (uri (string-append "https://hackage.haskell.org/package/"
7711 "megaparsec/megaparsec-"
7715 "0bqx1icbmk8s7wmbcdzsgnlh607c7kzg8l80cp02dxr5valjxp7j"))))
7716 (build-system haskell-build-system)
7718 `(("ghc-case-insensitive" ,ghc-case-insensitive)
7719 ("ghc-parser-combinators" ,ghc-parser-combinators)
7720 ("ghc-scientific" ,ghc-scientific)))
7722 `(("ghc-quickcheck" ,ghc-quickcheck)
7723 ("ghc-hspec" ,ghc-hspec)
7724 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
7725 ("hspec-discover" ,hspec-discover)))
7726 (home-page "https://github.com/mrkkrp/megaparsec")
7727 (synopsis "Monadic parser combinators")
7729 "This is an industrial-strength monadic parser combinator library.
7730 Megaparsec is a feature-rich package that strikes a nice balance between
7731 speed, flexibility, and quality of parse errors.")
7732 (license license:bsd-2)))
7734 (define-public ghc-memory
7740 (uri (string-append "https://hackage.haskell.org/package/"
7741 "memory/memory-" version ".tar.gz"))
7744 "01rmq3vagxzjmm96qnfxk4f0516cn12bp5m8inn8h5r918bqsigm"))))
7745 (build-system haskell-build-system)
7747 `(("ghc-basement" ,ghc-basement)
7748 ("ghc-foundation" ,ghc-foundation)))
7750 `(("ghc-tasty" ,ghc-tasty)
7751 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7752 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7753 (home-page "https://github.com/vincenthz/hs-memory")
7754 (synopsis "Memory abstractions for Haskell")
7756 "This package provides memory abstractions, such as chunk of memory,
7757 polymorphic byte array management and manipulation functions. It contains a
7758 polymorphic byte array abstraction and functions similar to strict ByteString,
7759 different type of byte array abstraction, raw memory IO operations (memory
7760 set, memory copy, ..) and more")
7761 (license license:bsd-3)))
7763 (define-public ghc-memotrie
7765 (name "ghc-memotrie")
7771 "https://hackage.haskell.org/package/MemoTrie/MemoTrie-"
7776 "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x"))))
7777 (build-system haskell-build-system)
7779 `(("ghc-newtype-generics" ,ghc-newtype-generics)))
7780 (home-page "https://github.com/conal/MemoTrie")
7781 (synopsis "Trie-based memo functions")
7782 (description "This package provides a functional library for creating
7783 efficient memo functions using tries.")
7784 (license license:bsd-3)))
7786 (define-public ghc-microlens
7788 (name "ghc-microlens")
7793 (uri (string-append "https://hackage.haskell.org/package/"
7794 "microlens-" version "/"
7795 "microlens-" version ".tar.gz"))
7798 "1v277yyy4p9q57xr2lfp6qs24agglfczmcabrapxrzci3jfshmcw"))))
7799 (build-system haskell-build-system)
7801 "https://github.com/aelve/microlens")
7802 (synopsis "Provides a tiny lens Haskell library with no dependencies")
7803 (description "This Haskell package provides a lens library, just like
7804 @code{ghc-lens}, but smaller. It provides essential lenses and
7805 traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
7806 nice to have (like @code{each}, @code{at}, and @code{ix}), and some
7807 combinators (like @code{failing} and @code{singular}), but everything else is
7808 stripped. As the result, this package has no dependencies.")
7809 (license license:bsd-3)))
7811 (define-public ghc-microlens-aeson
7813 (name "ghc-microlens-aeson")
7818 (uri (string-append "https://hackage.haskell.org/package/"
7819 "microlens-aeson/microlens-aeson-"
7821 (patches (search-patches "ghc-microlens-aeson-fix-tests.patch"))
7824 "0w630kk5bnily1qh41081gqgbwmslrh5ad21899gwnb2r3jripyw"))))
7825 (build-system haskell-build-system)
7827 `(("ghc-aeson" ,ghc-aeson)
7828 ("ghc-attoparsec" ,ghc-attoparsec)
7829 ("ghc-hashable" ,ghc-hashable)
7830 ("ghc-microlens" ,ghc-microlens)
7831 ("ghc-scientific" ,ghc-scientific)
7832 ("ghc-unordered-containers" ,ghc-unordered-containers)
7833 ("ghc-vector" ,ghc-vector)))
7835 `(("ghc-tasty" ,ghc-tasty)
7836 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7837 (home-page "https://github.com/fosskers/microlens-aeson")
7838 (synopsis "Law-abiding lenses for Aeson, using microlens")
7839 (description "This library provides law-abiding lenses for Aeson, using
7841 (license license:expat)))
7843 (define-public ghc-microlens-ghc
7845 (name "ghc-microlens-ghc")
7851 "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-"
7856 "102dbrdsdadxbbhvx8avv1wbk84767a7lkb8ckp3zxk9g7qlly33"))))
7857 (build-system haskell-build-system)
7858 (inputs `(("ghc-microlens" ,ghc-microlens)))
7859 (home-page "https://github.com/monadfix/microlens")
7860 (synopsis "Use @code{microlens} with GHC libraries like @code{array}")
7861 (description "This library provides everything that @code{microlens}
7862 provides plus instances to make @code{each}, @code{at}, and @code{ix}
7863 usable with arrays, @code{ByteString}, and containers. This package is
7864 a part of the @uref{http://hackage.haskell.org/package/microlens,
7865 microlens} family; see the readme
7866 @uref{https://github.com/aelve/microlens#readme, on Github}.")
7867 (license license:bsd-3)))
7869 (define-public ghc-microlens-mtl
7871 (name "ghc-microlens-mtl")
7872 (version "0.1.11.1")
7877 "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-"
7882 "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk"))))
7883 (build-system haskell-build-system)
7885 `(("ghc-microlens" ,ghc-microlens)
7886 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7887 (home-page "https://github.com/monadfix/microlens")
7889 "@code{microlens} support for Reader/Writer/State from mtl")
7891 "This package contains functions (like @code{view} or @code{+=}) which
7892 work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the
7893 mtl package. This package is a part of the
7894 @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7895 readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7896 (license license:bsd-3)))
7898 (define-public ghc-microlens-platform
7900 (name "ghc-microlens-platform")
7906 "https://hackage.haskell.org/package/"
7907 "microlens-platform/microlens-platform-" version ".tar.gz"))
7910 "18950lxgmsg5ksvyyi3zs1smjmb1qf1q73a3p3g44bh21miz0xwb"))))
7911 (build-system haskell-build-system)
7913 `(("ghc-hashable" ,ghc-hashable)
7914 ("ghc-microlens" ,ghc-microlens)
7915 ("ghc-microlens-ghc" ,ghc-microlens-ghc)
7916 ("ghc-microlens-mtl" ,ghc-microlens-mtl)
7917 ("ghc-microlens-th" ,ghc-microlens-th)
7918 ("ghc-unordered-containers" ,ghc-unordered-containers)
7919 ("ghc-vector" ,ghc-vector)))
7920 (home-page "https://github.com/monadfix/microlens")
7921 (synopsis "Feature-complete microlens")
7923 "This package exports a module which is the recommended starting point
7924 for using @uref{http://hackage.haskell.org/package/microlens, microlens} if
7925 you aren't trying to keep your dependencies minimal. By importing
7926 @code{Lens.Micro.Platform} you get all functions and instances from
7927 @uref{http://hackage.haskell.org/package/microlens, microlens},
7928 @uref{http://hackage.haskell.org/package/microlens-th, microlens-th},
7929 @uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl},
7930 @uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as
7931 well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The
7932 minor and major versions of @code{microlens-platform} are incremented whenever
7933 the minor and major versions of any other @code{microlens} package are
7934 incremented, so you can depend on the exact version of
7935 @code{microlens-platform} without specifying the version of @code{microlens}
7936 you need. This package is a part of the
7937 @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7938 readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7939 (license license:bsd-3)))
7941 (define-public ghc-microlens-th
7943 (name "ghc-microlens-th")
7948 (uri (string-append "https://hackage.haskell.org/package/"
7949 "microlens-th-" version "/"
7950 "microlens-th-" version ".tar.gz"))
7953 "13qw0pwcgd6f6i39rwgqwcwk1d4da5x7wv3gna7gdlxaq331h41j"))))
7954 (build-system haskell-build-system)
7957 ("1" "167in7b1qhgrspx81bdm2jyg9qji66sk7id282c0s99kmp0d01n6")))
7958 (inputs `(("ghc-microlens" ,ghc-microlens)
7959 ("ghc-th-abstraction" ,ghc-th-abstraction)))
7961 "https://github.com/aelve/microlens")
7962 (synopsis "Automatic generation of record lenses for
7963 @code{ghc-microlens}")
7964 (description "This Haskell package lets you automatically generate lenses
7965 for data types; code was extracted from the lens package, and therefore
7966 generated lenses are fully compatible with ones generated by lens (and can be
7967 used both from lens and microlens).")
7968 (license license:bsd-3)))
7970 (define-public ghc-missingh
7972 (name "ghc-missingh")
7977 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
7978 "MissingH-" version ".tar.gz"))
7981 "1jp0vk6w9a7fzrbxfhx773105jp2s1n50klq9ak6spfl7bgx5v29"))))
7982 (build-system haskell-build-system)
7983 ;; Tests require the unmaintained testpack package, which depends on the
7984 ;; outdated QuickCheck version 2.7, which can no longer be built with
7985 ;; recent versions of GHC and Haskell libraries.
7986 (arguments '(#:tests? #f))
7988 `(("ghc-network" ,ghc-network)
7989 ("ghc-hunit" ,ghc-hunit)
7990 ("ghc-regex-compat" ,ghc-regex-compat)
7991 ("ghc-hslogger" ,ghc-hslogger)
7992 ("ghc-random" ,ghc-random)
7993 ("ghc-old-time" ,ghc-old-time)
7994 ("ghc-old-locale" ,ghc-old-locale)))
7996 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
7997 ("ghc-quickcheck" ,ghc-quickcheck)
7998 ("ghc-hunit" ,ghc-hunit)))
7999 ;; ‘Official’ <http://software.complete.org/missingh> redirects to a 404.
8000 (home-page "https://github.com/haskell-hvr/missingh")
8001 (synopsis "Large utility library")
8003 "MissingH is a library of all sorts of utility functions for Haskell
8004 programmers. It is written in pure Haskell and thus should be extremely
8005 portable and easy to use.")
8006 (license license:bsd-3)))
8008 (define-public ghc-mmap
8014 (uri (string-append "https://hackage.haskell.org/package/"
8015 "mmap/mmap-" version ".tar.gz"))
8018 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
8019 (build-system haskell-build-system)
8020 (home-page "https://hackage.haskell.org/package/mmap")
8021 (synopsis "Memory mapped files for Haskell")
8023 "This library provides a wrapper to @code{mmap}, allowing files or
8024 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
8025 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
8026 do on-demand loading.")
8027 (license license:bsd-3)))
8029 (define-public ghc-mmorph
8037 "https://hackage.haskell.org/package/mmorph/mmorph-"
8042 "0rfsy9n9mlinpmqi2s17fhc67fzma2ig5fbmh6m5m830canzf8vr"))))
8043 (build-system haskell-build-system)
8045 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
8046 (home-page "https://hackage.haskell.org/package/mmorph")
8047 (synopsis "Monad morphisms")
8049 "This library provides monad morphism utilities, most commonly used for
8050 manipulating monad transformer stacks.")
8051 (license license:bsd-3)))
8053 (define-public ghc-mockery
8055 (name "ghc-mockery")
8059 (uri (string-append "https://hackage.haskell.org/package/"
8060 "mockery/mockery-" version ".tar.gz"))
8063 "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp"))))
8064 (build-system haskell-build-system)
8066 `(("ghc-temporary" ,ghc-temporary)
8067 ("ghc-logging-facade" ,ghc-logging-facade)
8068 ("ghc-base-compat" ,ghc-base-compat)))
8070 `(("ghc-hspec" ,ghc-hspec)
8071 ("hspec-discover" ,hspec-discover)))
8072 (home-page "https://hackage.haskell.org/package/mockery")
8073 (synopsis "Support functions for automated testing")
8075 "The mockery package provides support functions for automated testing.")
8076 (license license:expat)))
8078 (define-public ghc-monad-control
8080 (name "ghc-monad-control")
8086 "https://hackage.haskell.org/package/monad-control"
8087 "/monad-control-" version ".tar.gz"))
8090 "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c"))))
8091 (build-system haskell-build-system)
8093 `(("ghc-transformers-base" ,ghc-transformers-base)
8094 ("ghc-transformers-compat" ,ghc-transformers-compat)))
8095 (home-page "https://github.com/basvandijk/monad-control")
8096 (synopsis "Monad transformers to lift control operations like exception
8098 (description "This package defines the type class @code{MonadBaseControl},
8099 a subset of @code{MonadBase} into which generic control operations such as
8100 @code{catch} can be lifted from @code{IO} or any other base monad.")
8101 (license license:bsd-3)))
8103 (define-public ghc-monad-logger
8105 (name "ghc-monad-logger")
8110 (uri (string-append "https://hackage.haskell.org/package/"
8111 "monad-logger-" version "/"
8112 "monad-logger-" version ".tar.gz"))
8115 "102l0v75hbvkmrypiyg4ybb6rbc7nij5nxs1aihmqfdpg04rkkp7"))))
8116 (build-system haskell-build-system)
8117 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
8118 ("ghc-stm-chans" ,ghc-stm-chans)
8119 ("ghc-lifted-base" ,ghc-lifted-base)
8120 ("ghc-resourcet" ,ghc-resourcet)
8121 ("ghc-conduit" ,ghc-conduit)
8122 ("ghc-conduit-extra" ,ghc-conduit-extra)
8123 ("ghc-fast-logger" ,ghc-fast-logger)
8124 ("ghc-transformers-base" ,ghc-transformers-base)
8125 ("ghc-monad-control" ,ghc-monad-control)
8126 ("ghc-monad-loops" ,ghc-monad-loops)
8127 ("ghc-blaze-builder" ,ghc-blaze-builder)
8128 ("ghc-exceptions" ,ghc-exceptions)))
8129 (home-page "https://github.com/kazu-yamamoto/logger")
8130 (synopsis "Provides a class of monads which can log messages for Haskell")
8131 (description "This Haskell package uses a monad transformer approach
8134 This package provides Template Haskell functions for determining source
8135 code locations of messages.")
8136 (license license:expat)))
8138 (define-public ghc-monad-loops
8140 (name "ghc-monad-loops")
8145 (uri (string-append "https://hackage.haskell.org/package/"
8146 "monad-loops-" version "/"
8147 "monad-loops-" version ".tar.gz"))
8150 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
8151 (build-system haskell-build-system)
8152 (native-inputs `(("ghc-tasty" ,ghc-tasty)
8153 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
8154 (home-page "https://github.com/mokus0/monad-loops")
8155 (synopsis "Monadic loops for Haskell")
8156 (description "This Haskell package provides some useful control
8157 operators for looping.")
8158 (license license:public-domain)))
8160 (define-public ghc-monad-par
8162 (name "ghc-monad-par")
8167 (uri (string-append "https://hackage.haskell.org/package/"
8168 "monad-par-" version "/"
8169 "monad-par-" version ".tar.gz"))
8170 (patches (search-patches "ghc-monad-par-fix-tests.patch"))
8173 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
8174 (build-system haskell-build-system)
8175 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8176 ("ghc-abstract-deque" ,ghc-abstract-deque)
8177 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
8178 ("ghc-mwc-random" ,ghc-mwc-random)
8179 ("ghc-parallel" ,ghc-parallel)))
8180 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
8181 ("ghc-hunit" ,ghc-hunit)
8182 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8183 ("ghc-test-framework-quickcheck2"
8184 ,ghc-test-framework-quickcheck2)
8185 ("ghc-test-framework" ,ghc-test-framework)
8186 ("ghc-test-framework-th" ,ghc-test-framework-th)))
8187 (home-page "https://github.com/simonmar/monad-par")
8188 (synopsis "Haskell library for parallel programming based on a monad")
8189 (description "The @code{Par} monad offers an API for parallel
8190 programming. The library works for parallelising both pure and @code{IO}
8191 computations, although only the pure version is deterministic. The default
8192 implementation provides a work-stealing scheduler and supports forking tasks
8193 that are much lighter weight than IO-threads.")
8194 (license license:bsd-3)))
8196 (define-public ghc-monad-par-extras
8198 (name "ghc-monad-par-extras")
8203 (uri (string-append "https://hackage.haskell.org/package/"
8204 "monad-par-extras-" version "/"
8205 "monad-par-extras-" version ".tar.gz"))
8208 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
8209 (build-system haskell-build-system)
8210 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8211 ("ghc-cereal" ,ghc-cereal)
8212 ("ghc-random" ,ghc-random)))
8213 (home-page "https://github.com/simonmar/monad-par")
8214 (synopsis "Combinators and extra features for Par monads for Haskell")
8215 (description "This Haskell package provides additional data structures,
8216 and other added capabilities layered on top of the @code{Par} monad.")
8217 (license license:bsd-3)))
8219 (define-public ghc-monadrandom
8221 (name "ghc-monadrandom")
8226 (uri (string-append "https://hackage.haskell.org/package/"
8227 "MonadRandom-" version "/"
8228 "MonadRandom-" version ".tar.gz"))
8231 "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb"))))
8232 (build-system haskell-build-system)
8233 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
8234 ("ghc-primitive" ,ghc-primitive)
8235 ("ghc-fail" ,ghc-fail)
8236 ("ghc-random" ,ghc-random)))
8237 (home-page "https://github.com/byorgey/MonadRandom")
8238 (synopsis "Random-number generation monad for Haskell")
8239 (description "This Haskell package provides support for computations
8240 which consume random values.")
8241 (license license:bsd-3)))
8243 (define-public ghc-monads-tf
8245 (name "ghc-monads-tf")
8251 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
8255 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
8256 (build-system haskell-build-system)
8257 (home-page "https://hackage.haskell.org/package/monads-tf")
8258 (synopsis "Monad classes, using type families")
8260 "Monad classes using type families, with instances for various monad transformers,
8261 inspired by the paper 'Functional Programming with Overloading and Higher-Order
8262 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
8263 the @code{mtl-tf} package.")
8264 (license license:bsd-3)))
8266 (define-public ghc-mono-traversable
8268 (name "ghc-mono-traversable")
8269 (version "1.0.13.0")
8273 (uri (string-append "https://hackage.haskell.org/package/"
8274 "mono-traversable-" version "/"
8275 "mono-traversable-" version ".tar.gz"))
8278 "1bqy982lpdb83lacfy76n8kqw5bvd31avxj25kg8gkgycdh0g0ma"))))
8279 (build-system haskell-build-system)
8280 (outputs '("out" "static" "doc"))
8281 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
8282 ("ghc-hashable" ,ghc-hashable)
8283 ("ghc-vector" ,ghc-vector)
8284 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
8285 ("ghc-split" ,ghc-split)))
8286 (native-inputs `(("ghc-hspec" ,ghc-hspec)
8287 ("ghc-hunit" ,ghc-hunit)
8288 ("ghc-quickcheck" ,ghc-quickcheck)
8289 ("ghc-semigroups" ,ghc-semigroups)
8290 ("ghc-foldl" ,ghc-foldl)))
8291 (home-page "https://github.com/snoyberg/mono-traversable")
8292 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
8294 (description "This Haskell package provides Monomorphic variants of the
8295 Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
8296 basic typeclasses, you understand mono-traversable. In addition to what
8297 you are used to, it adds on an IsSequence typeclass and has code for marking
8298 data structures as non-empty.")
8299 (license license:expat)))
8301 (define-public ghc-monoid-extras
8303 (name "ghc-monoid-extras")
8308 (uri (string-append "https://hackage.haskell.org/package/"
8309 "monoid-extras/monoid-extras-" version ".tar.gz"))
8312 "0xfrkgqn9d31z54l617m3w3kkd5m9vjb4yl247r3zzql3mpb1f37"))))
8313 (build-system haskell-build-system)
8315 `(("ghc-groups" ,ghc-groups)
8316 ("ghc-semigroups" ,ghc-semigroups)
8317 ("ghc-semigroupoids" ,ghc-semigroupoids)))
8320 ("1" "0b8x5d6vh7mpigvjvcd8f38a1nyzn1vfdqypslw7z9fgsr742913")))
8321 (home-page "https://hackage.haskell.org/package/monoid-extras")
8322 (synopsis "Various extra monoid-related definitions and utilities")
8323 (description "This package provides various extra monoid-related
8324 definitions and utilities, such as monoid actions, monoid coproducts,
8325 semi-direct products, \"deletable\" monoids, \"split\" monoids, and
8327 (license license:bsd-3)))
8329 (define-public ghc-mountpoints
8331 (name "ghc-mountpoints")
8337 "https://hackage.haskell.org/package/mountpoints/mountpoints-"
8342 "1hnm31pqcffphyc463wf0vbik9fzm5lb2r4wjdc1y4dqzmjdzz37"))))
8343 (build-system haskell-build-system)
8345 "http://hackage.haskell.org/package/mountpoints")
8346 (synopsis "Haskell library for listing mount points")
8347 (description "This library provides Haskell bindings for checking
8348 currently mounted filesystems.")
8349 (license license:lgpl2.1+)))
8351 (define-public ghc-mtl-compat
8353 (name "ghc-mtl-compat")
8359 "mirror://hackage/package/mtl-compat/mtl-compat-"
8364 "17iszr5yb4f17g8mq6i74hsamii8z6m2qfsmgzs78mhiwa7kjm8r"))))
8365 (build-system haskell-build-system)
8367 "https://github.com/haskell-compat/mtl-compat")
8369 "Backported Control.Monad.Except module from mtl")
8371 "This package backports the Control.Monad.Except module from mtl (if
8372 using mtl-2.2.0.1 or earlier), which reexports the ExceptT monad transformer
8373 and the MonadError class.
8375 This package should only be used if there is a need to use the
8376 Control.Monad.Except module specifically. If you just want the mtl class
8377 instances for ExceptT, use transformers-compat instead, since mtl-compat does
8378 nothing but reexport the instances from that package.
8380 Note that unlike how mtl-2.2 or later works, the Control.Monad.Except
8381 module defined in this package exports all of ExceptT's monad class instances.
8382 Therefore, you may have to declare @code{import Control.Monad.Except ()} at
8383 the top of your file to get all of the ExceptT instances in scope.")
8384 (license license:bsd-3)))
8386 (define-public ghc-murmur-hash
8388 (name "ghc-murmur-hash")
8393 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
8394 "/murmur-hash-" version ".tar.gz"))
8396 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
8397 (build-system haskell-build-system)
8398 (home-page "https://github.com/nominolo/murmur-hash")
8399 (synopsis "MurmurHash2 implementation for Haskell")
8401 "This package provides an implementation of MurmurHash2, a good, fast,
8402 general-purpose, non-cryptographic hashing function. See
8403 @url{https://sites.google.com/site/murmurhash/} for details. This
8404 implementation is pure Haskell, so it might be a bit slower than a C FFI
8406 (license license:bsd-3)))
8408 (define-public ghc-mwc-random
8410 (name "ghc-mwc-random")
8411 (version "0.14.0.0")
8415 (uri (string-append "https://hackage.haskell.org/package/"
8416 "mwc-random-" version "/"
8417 "mwc-random-" version ".tar.gz"))
8420 "18pg24sw3b79b32cwx8q01q4k0lm34mwr3l6cdkchl8alvd0wdq0"))))
8421 (build-system haskell-build-system)
8423 `(("ghc-primitive" ,ghc-primitive)
8424 ("ghc-vector" ,ghc-vector)
8425 ("ghc-math-functions" ,ghc-math-functions)))
8427 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8429 `(("ghc-hunit" ,ghc-hunit)
8430 ("ghc-quickcheck" ,ghc-quickcheck)
8431 ("ghc-test-framework" ,ghc-test-framework)
8432 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8433 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8434 (home-page "https://github.com/bos/mwc-random")
8435 (synopsis "Random number generation library for Haskell")
8436 (description "This Haskell package contains code for generating
8437 high quality random numbers that follow either a uniform or normal
8438 distribution. The generated numbers are suitable for use in
8439 statistical applications.
8441 The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
8442 multiply-with-carry generator, which has a period of 2^{8222} and
8443 fares well in tests of randomness. It is also extremely fast,
8444 between 2 and 3 times faster than the Mersenne Twister.")
8445 (license license:bsd-3)))
8447 (define-public ghc-nats
8455 "https://hackage.haskell.org/package/nats/nats-"
8460 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
8461 (build-system haskell-build-system)
8462 (arguments `(#:haddock? #f))
8464 `(("ghc-hashable" ,ghc-hashable)))
8465 (home-page "https://hackage.haskell.org/package/nats")
8466 (synopsis "Natural numbers")
8467 (description "This library provides the natural numbers for Haskell.")
8468 (license license:bsd-3)))
8470 (define-public ghc-nats-bootstrap
8473 (name "ghc-nats-bootstrap")
8475 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
8476 (properties '((hidden? #t)))))
8478 (define-public ghc-ncurses
8480 (name "ghc-ncurses")
8486 "https://hackage.haskell.org/package/ncurses/ncurses-"
8490 "0gsyyaqyh5r9zc0rhwpj5spyd6i4w2vj61h4nihgmmh0yyqvf3z5"))))
8491 (build-system haskell-build-system)
8493 '(#:extra-directories ("ncurses")
8495 (modify-phases %standard-phases
8496 (add-before 'build 'fix-includes
8498 (substitute* '("cbits/hsncurses-shim.h"
8499 "lib/UI/NCurses.chs"
8500 "lib/UI/NCurses/Enums.chs"
8501 "lib/UI/NCurses/Panel.chs")
8502 (("<ncursesw/") "<"))
8506 "1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca")))
8507 (inputs `(("ncurses" ,ncurses)))
8508 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
8509 (home-page "https://john-millikin.com/software/haskell-ncurses/")
8510 (synopsis "Modernised bindings to GNU ncurses")
8511 (description "GNU ncurses is a library for creating command-line application
8512 with pseudo-graphical interfaces. This package is a nice, modern binding to GNU
8514 (license license:gpl3)))
8516 (define-public ghc-network
8518 (name "ghc-network")
8520 (outputs '("out" "static" "doc"))
8525 "https://hackage.haskell.org/package/network/network-"
8530 "0im8k51rw3ahmr23ny10pshwbz09jfg0fdpam0hzf2hgxnzmvxb1"))))
8531 (build-system haskell-build-system)
8532 ;; The regression tests depend on an unpublished module.
8533 (arguments `(#:tests? #f))
8535 `(("ghc-hunit" ,ghc-hunit)
8536 ("ghc-doctest" ,ghc-doctest)
8537 ("ghc-test-framework" ,ghc-test-framework)
8538 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
8539 (home-page "https://github.com/haskell/network")
8540 (synopsis "Low-level networking interface")
8542 "This package provides a low-level networking interface.")
8543 (license license:bsd-3)))
8545 (define-public ghc-network-bsd
8547 (name "ghc-network-bsd")
8552 (uri (string-append "https://hackage.haskell.org/package/"
8553 "network-bsd/network-bsd-" version ".tar.gz"))
8556 "0dfbwgrr28y6ypw7p1ppqg7v746qf14569q4xazj4ahdjw2xkpi5"))))
8557 (build-system haskell-build-system)
8559 `(("ghc-network" ,ghc-network)))
8560 (home-page "https://github.com/haskell/network-bsd")
8561 (synopsis "POSIX network database (<netdb.h>) API")
8562 (description "This package provides Haskell bindings to the the POSIX
8563 network database (<netdb.h>) API.")
8564 (license license:bsd-3)))
8566 (define-public ghc-network-byte-order
8568 (name "ghc-network-byte-order")
8573 (uri (string-append "https://hackage.haskell.org/package/"
8574 "network-byte-order/network-byte-order-"
8578 "19cs6157amcc925vwr92q1azwwzkbam5g0k70i6qi80fhpikh37c"))))
8579 (build-system haskell-build-system)
8581 `(("ghc-doctest" ,ghc-doctest)))
8582 (home-page "https://hackage.haskell.org/package/network-byte-order")
8583 (synopsis "Network byte order utilities")
8584 (description "This library provides peek and poke functions for network
8586 (license license:bsd-3)))
8588 (define-public ghc-network-info
8590 (name "ghc-network-info")
8591 (version "0.2.0.10")
8595 (uri (string-append "https://hackage.haskell.org/package/"
8596 "network-info-" version "/"
8597 "network-info-" version ".tar.gz"))
8600 "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n"))))
8601 (build-system haskell-build-system)
8602 (home-page "https://github.com/jystic/network-info")
8603 (synopsis "Access the local computer's basic network configuration")
8604 (description "This Haskell library provides simple read-only access to the
8605 local computer's networking configuration. It is currently capable of
8606 getting a list of all the network interfaces and their respective
8607 IPv4, IPv6 and MAC addresses.")
8608 (license license:bsd-3)))
8610 (define-public ghc-network-multicast
8612 (name "ghc-network-multicast")
8618 "https://hackage.haskell.org/package/network-multicast/network-multicast-"
8623 "0whvi0pbwjy6dbwfdf9rv1j3yr3lcmfp3q7a8pwq63g537l4l2l3"))))
8624 (build-system haskell-build-system)
8626 `(("ghc-network" ,ghc-network)
8627 ("ghc-network-bsd" ,ghc-network-bsd)))
8629 "http://hackage.haskell.org/package/network-multicast")
8630 (synopsis "Simple multicast library for Haskell")
8632 "This package provides the Network.Multicast Haskell module for
8633 sending UDP datagrams over multicast (class D) addresses.")
8634 ;; Note that this is technically under CC0 1.0 and Expat, though it's not
8635 ;; totally clear what the breakdown is. Since CC0 1.0 is effectively
8636 ;; "public domain with a minimal fallback license", figuring marking it
8637 ;; as effectively Expat is probably correct.
8638 (license license:expat)))
8640 (define-public ghc-network-uri
8642 (name "ghc-network-uri")
8644 (outputs '("out" "static" "doc"))
8649 "https://hackage.haskell.org/package/network-uri/network-uri-"
8654 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
8655 (build-system haskell-build-system)
8657 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
8659 `(("ghc-network" ,ghc-network)))
8661 `(("ghc-hunit" ,ghc-hunit)))
8663 "https://github.com/haskell/network-uri")
8664 (synopsis "Library for URI manipulation")
8665 (description "This package provides an URI manipulation interface. In
8666 @code{network-2.6} the @code{Network.URI} module was split off from the
8667 @code{network} package into this package.")
8668 (license license:bsd-3)))
8670 (define-public ghc-newtype-generics
8672 (name "ghc-newtype-generics")
8677 (uri (string-append "https://hackage.haskell.org/package/"
8678 "newtype-generics/newtype-generics-"
8682 "0cprfg4n0z62cnix1qrbc79bfdd4s50b05fj9m9hk6vm1pc3szq0"))))
8683 (build-system haskell-build-system)
8685 `(("ghc-hspec" ,ghc-hspec)
8686 ("hspec-discover" ,hspec-discover)))
8687 (home-page "https://github.com/sjakobi/newtype-generics")
8688 (synopsis "Typeclass and set of functions for working with newtypes")
8689 (description "The @code{Newtype} typeclass represents the packing and
8690 unpacking of a newtype, and allows you to operate under that newtype with
8691 functions such as @code{ala}. Generics support was added in version 0.4,
8692 making this package a full replacement for the original newtype package,
8693 and an alternative to newtype-th.")
8694 (license license:bsd-3)))
8696 (define-public ghc-non-negative
8698 (name "ghc-non-negative")
8705 "https://hackage.haskell.org/package/non-negative/non-negative-"
8709 "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n"))))
8710 (build-system haskell-build-system)
8712 `(("ghc-semigroups" ,ghc-semigroups)
8713 ("ghc-utility-ht" ,ghc-utility-ht)
8714 ("ghc-quickcheck" ,ghc-quickcheck)))
8715 (home-page "https://hackage.haskell.org/package/non-negative")
8716 (synopsis "Non-negative numbers class")
8717 (description "This library provides a class for non-negative numbers,
8718 a wrapper which can turn any ordered numeric type into a member of that
8719 class, and a lazy number type for non-negative numbers (a generalization
8720 of Peano numbers).")
8721 (license license:gpl3+)))
8723 (define-public ghc-nonce
8731 "https://hackage.haskell.org/package/nonce/"
8732 "nonce-" version ".tar.gz"))
8735 "1q9ph0aq51mvdvydnriqd12sfin36pfb8f588zgac1ybn8r64ksb"))))
8736 (build-system haskell-build-system)
8738 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
8739 ("ghc-entropy" ,ghc-entropy)
8740 ("ghc-unliftio" ,ghc-unliftio)
8741 ("ghc-unliftio-core" ,ghc-unliftio-core)))
8742 (home-page "https://github.com/prowdsponsor/nonce")
8743 (synopsis "Generate cryptographic nonces in Haskell")
8745 "A nonce is an arbitrary number used only once in a cryptographic
8746 communication. This package contain helper functions for generating nonces.
8747 There are many kinds of nonces used in different situations. It's not
8748 guaranteed that by using the nonces from this package you won't have any
8749 security issues. Please make sure that the nonces generated via this
8750 package are usable on your design.")
8751 (license license:bsd-3)))
8753 (define-public ghc-numeric-extras
8755 (name "ghc-numeric-extras")
8760 (uri (string-append "https://hackage.haskell.org/package/"
8761 "numeric-extras/numeric-extras-"
8765 "1mk11c0gz1yjy5b8dvq6czfny57pln0bs7x28fz38qyr44872067"))))
8766 (build-system haskell-build-system)
8767 (home-page "https://github.com/ekmett/numeric-extras")
8768 (synopsis "Useful tools from the C standard library")
8769 (description "This library provides some useful tools from the C
8771 (license license:bsd-3)))
8773 (define-public ghc-objectname
8775 (name "ghc-objectname")
8781 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
8786 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
8787 (build-system haskell-build-system)
8788 (home-page "https://hackage.haskell.org/package/ObjectName")
8789 (synopsis "Helper library for Haskell OpenGL")
8790 (description "This tiny package contains the class ObjectName, which
8791 corresponds to the general notion of explicitly handled identifiers for API
8792 objects, e.g. a texture object name in OpenGL or a buffer object name in
8794 (license license:bsd-3)))
8796 (define-public ghc-old-locale
8798 (name "ghc-old-locale")
8804 "https://hackage.haskell.org/package/old-locale/old-locale-"
8808 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
8809 (build-system haskell-build-system)
8812 ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs")))
8813 (home-page "https://hackage.haskell.org/package/old-locale")
8814 (synopsis "Adapt to locale conventions")
8816 "This package provides the ability to adapt to locale conventions such as
8817 date and time formats.")
8818 (license license:bsd-3)))
8820 (define-public ghc-old-time
8822 (name "ghc-old-time")
8828 "https://hackage.haskell.org/package/old-time/old-time-"
8833 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
8834 (build-system haskell-build-system)
8837 ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9")))
8839 `(("ghc-old-locale" ,ghc-old-locale)))
8840 (home-page "https://hackage.haskell.org/package/old-time")
8841 (synopsis "Time compatibility library for Haskell")
8842 (description "Old-time is a package for backwards compatibility with the
8843 old @code{time} library. For new projects, the newer
8844 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
8845 (license license:bsd-3)))
8847 (define-public ghc-only
8855 "https://hackage.haskell.org/package/Only/Only-"
8860 "0rdj3a629fk2vp121jq8mf2smkblrz5w3cxhlsyx6my2x29s2ymb"))))
8861 (build-system haskell-build-system)
8865 "1ahk7p34kmh041mz7lyc10nhcxgv2i4z8nvzxvqm2x34gslmsbzr")))
8866 (home-page "https://hackage.haskell.org/package/Only")
8867 (synopsis "The 1-tuple type or single-value collection")
8869 "This package provides a canonical anonymous 1-tuple type missing from
8870 Haskell for attaching typeclass instances.
8872 There is also the @url{https://hackage.haskell.org/package/OneTuple, OneTuple
8873 package} which by using a boxed @code{data}-type provides a 1-tuple type which
8874 has laziness properties which are more faithful to the ones of Haskell's
8875 native tuples; whereas the primary purpose of @code{Only} is to provide the
8876 traditionally so named type-wrapper for attaching typeclass instances.")
8877 (license license:bsd-3)))
8879 (define-public ghc-opengl
8887 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
8892 "069fg8jcxqq2z9iikynd8vi3jxm2b5y3qywdh4bdviyzab3zy1as"))))
8893 (build-system haskell-build-system)
8896 ("1" "1748mrb6r9mpf5jbrx436lwbg8w6dadyy8dhxw2dwnrj5z7zf741")))
8898 `(("ghc-objectname" ,ghc-objectname)
8899 ("ghc-gluraw" ,ghc-gluraw)
8900 ("ghc-statevar" ,ghc-statevar)
8901 ("ghc-openglraw" ,ghc-openglraw)))
8902 (home-page "https://wiki.haskell.org/Opengl")
8903 (synopsis "Haskell bindings for the OpenGL graphics system")
8904 (description "This package provides Haskell bindings for the OpenGL
8905 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
8907 (license license:bsd-3)))
8909 (define-public ghc-openglraw
8911 (name "ghc-openglraw")
8917 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
8922 "0zgllb4bcash2i2cispa3j565aw3dpxs41ghmhpvyvi4a6xmyldx"))))
8923 (build-system haskell-build-system)
8925 `(#:extra-directories ("glu")))
8927 `(("ghc-half" ,ghc-half)
8928 ("ghc-fixed" ,ghc-fixed)
8930 (home-page "https://wiki.haskell.org/Opengl")
8931 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
8932 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
8933 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
8934 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
8935 offers access to all necessary functions, tokens and types plus a general
8936 facility for loading extension entries. The module hierarchy closely mirrors
8937 the naming structure of the OpenGL extensions, making it easy to find the
8938 right module to import. All API entries are loaded dynamically, so no special
8939 C header files are needed for building this package. If an API entry is not
8940 found at runtime, a userError is thrown.")
8941 (license license:bsd-3)))
8943 (define-public ghc-operational
8945 (name "ghc-operational")
8950 (uri (string-append "https://hackage.haskell.org/package/operational/"
8951 "operational-" version ".tar.gz"))
8954 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
8955 (build-system haskell-build-system)
8957 `(("ghc-random" ,ghc-random)))
8958 (home-page "http://wiki.haskell.org/Operational")
8959 (synopsis "Implementation of difficult monads made easy with operational semantics")
8961 "This library makes it easy to implement monads with tricky control
8962 flow. This is useful for: writing web applications in a sequential style,
8963 programming games with a uniform interface for human and AI players and easy
8964 replay capababilities, implementing fast parser monads, designing monadic
8966 (license license:bsd-3)))
8968 (define-public ghc-optional-args
8970 (name "ghc-optional-args")
8976 "mirror://hackage/package/optional-args/optional-args-"
8981 "1r5hhn6xvc01grggxdyy48daibwzi0aikgidq0ahpa6bfynm8d1f"))))
8982 (build-system haskell-build-system)
8984 "http://hackage.haskell.org/package/optional-args")
8985 (synopsis "Optional function arguments")
8987 "This library provides a type for specifying @code{Optional} function
8989 (license license:bsd-3)))
8991 (define-public ghc-options
8993 (name "ghc-options")
8999 "https://hackage.haskell.org/package/options/options-"
9003 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
9004 (build-system haskell-build-system)
9007 (modify-phases %standard-phases
9008 (add-before 'configure 'update-constraints
9010 (substitute* "options.cabal"
9011 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4 && < 0.6"))
9014 `(("ghc-monads-tf" ,ghc-monads-tf)
9015 ("ghc-chell" ,ghc-chell)
9016 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
9017 (home-page "https://john-millikin.com/software/haskell-options/")
9018 (synopsis "Powerful and easy-to-use command-line option parser")
9020 "The @code{options} package lets library and application developers
9021 easily work with command-line options.")
9022 (license license:expat)))
9024 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
9025 (define ghc-options-bootstrap
9027 (name "ghc-options-bootstrap")
9033 "https://hackage.haskell.org/package/options/options-"
9037 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
9038 (build-system haskell-build-system)
9042 `(("ghc-monads-tf" ,ghc-monads-tf)))
9043 (home-page "https://john-millikin.com/software/haskell-options/")
9044 (synopsis "Powerful and easy-to-use command-line option parser")
9046 "The @code{options} package lets library and application developers
9047 easily work with command-line options.")
9048 (license license:expat)))
9051 (define-public ghc-optparse-applicative
9053 (name "ghc-optparse-applicative")
9054 (version "0.14.3.0")
9059 "https://hackage.haskell.org/package/optparse-applicative"
9060 "/optparse-applicative-" version ".tar.gz"))
9063 "0qvn1s7jwrabbpmqmh6d6iafln3v3h9ddmxj2y4m0njmzq166ivj"))))
9064 (build-system haskell-build-system)
9067 ("2" "1a08dqjly1xy730f6jf45frr8g8gap0n1vg9b0mpzpydv0kgzmrp")))
9069 `(("ghc-transformers-compat" ,ghc-transformers-compat)
9070 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
9072 `(("ghc-quickcheck" ,ghc-quickcheck)))
9073 (home-page "https://github.com/pcapriotti/optparse-applicative")
9074 (synopsis "Utilities and combinators for parsing command line options")
9075 (description "This package provides utilities and combinators for parsing
9076 command line options in Haskell.")
9077 (license license:bsd-3)))
9079 (define-public ghc-jira-wiki-markup
9081 (name "ghc-jira-wiki-markup")
9087 "https://hackage.haskell.org/package/jira-wiki-markup/"
9088 "jira-wiki-markup-" version ".tar.gz"))
9090 (base32 "1sl2jjcsqg61si33mxjwpf8zdn56kbbgcwqqqzbgifx2qbv4wmf8"))))
9091 (build-system haskell-build-system)
9093 `(("ghc-tasty" ,ghc-tasty)
9094 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9095 (home-page "https://github.com/tarleb/jira-wiki-markup")
9096 (synopsis "Handle Jira wiki markup")
9098 "Parse jira wiki text into an abstract syntax tree for easy transformation
9100 (license license:expat)))
9102 (define-public ghc-emojis
9110 "https://hackage.haskell.org/package/emojis/"
9111 "emojis-" version ".tar.gz"))
9113 (base32 "1c6zkj9gmk1y90gbdrn50hyp7mw1mggzhnr2khqd728ryipw60ss"))))
9114 (build-system haskell-build-system)
9116 `(("ghc-hunit" ,ghc-hunit)))
9117 (home-page "https://github.com/jgm/emojis#readme")
9118 (synopsis "Conversion between emoji characters and their names.")
9120 "This package provides functions for converting emoji names to emoji
9121 characters and vice versa.
9123 How does it differ from the @code{emoji} package?
9125 @item It supports a fuller range of emojis, including all those supported by
9127 @item It supports lookup of emoji aliases from emoji
9128 @item It uses Text rather than String
9129 @item It has a lighter dependency footprint: in particular, it does not
9131 @item It does not require TemplateHaskell
9133 (license license:bsd-3)))
9135 (define-public ghc-text-conversions
9137 (name "ghc-text-conversions")
9143 "https://hackage.haskell.org/package/text-conversions/"
9144 "text-conversions-" version ".tar.gz"))
9146 (base32 "089c56vdj9xysqfr1hnvbnrghlg83q6w10xk02gflpsidcpvwmhp"))))
9147 (build-system haskell-build-system)
9149 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
9150 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9151 ("ghc-errors" ,ghc-errors)))
9153 `(("ghc-hspec" ,ghc-hspec)
9154 ("hspec-discover" ,hspec-discover)))
9155 (home-page "https://github.com/cjdev/text-conversions#readme")
9156 (synopsis "Safe conversions between textual types")
9157 (description "Safe conversions between textual types")
9158 (license license:isc)))
9160 (define-public ghc-text-short
9162 (name "ghc-text-short")
9168 "https://hackage.haskell.org/package/text-short/text-short-"
9173 "0xyrxlb602z8bc9sr2y1fag0x56a20yj5qrkvy7iwc6hnznrynxz"))))
9174 (build-system haskell-build-system)
9175 (inputs `(("ghc-hashable" ,ghc-hashable)))
9177 `(("ghc-tasty" ,ghc-tasty)
9178 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9179 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9180 ("ghc-quickcheck-instances"
9181 ,ghc-quickcheck-instances)))
9185 "17cb7p0qywf2dsrq3g8qb3ssknd9wl5k0nc2pxz9gc3l8rxpkw51")))
9186 (home-page "https://hackage.haskell.org/package/text-short")
9187 (synopsis "Memory-efficient representation of Unicode text strings")
9188 (description "This package provides the @code{ShortText} type which
9189 is suitable for keeping many short strings in memory. This is similar
9190 to how @code{ShortByteString} relates to @code{ByteString}.
9192 The main difference between @code{Text} and @code{ShortText} is that
9193 @code{ShortText} uses UTF-8 instead of UTF-16 internally and also doesn't
9194 support zero-copy slicing (thereby saving 2 words). Consequently, the memory
9195 footprint of a (boxed) @{ShortText} value is 4 words (2 words when unboxed)
9196 plus the length of the UTF-8 encoded payload.")
9197 (license license:bsd-3)))
9199 (define-public ghc-doclayout
9201 (name "ghc-doclayout")
9207 "https://hackage.haskell.org/package/doclayout/"
9208 "doclayout-" version ".tar.gz"))
9210 (base32 "1wmnwq28jcyd6c80srivsnd5znmyl9sgmwwnlk2crwiiwqadbal7"))))
9211 (build-system haskell-build-system)
9213 `(("ghc-safe" ,ghc-safe)))
9215 `(("ghc-tasty" ,ghc-tasty)
9216 ("ghc-tasty-golden" ,ghc-tasty-golden)
9217 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9218 (home-page "https://github.com/jgm/doclayout")
9219 (synopsis "Pretty-printing library for laying out text documents")
9221 "doclayout is a pretty-printing library for laying out text documents,
9222 with several features not present in pretty-printing libraries designed for
9223 code. It was designed for use in @code{Pandoc}.")
9224 (license license:bsd-3)))
9226 (define-public ghc-pandoc
9233 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
9235 (patches (search-patches "ghc-pandoc-fix-html-tests.patch"
9236 "ghc-pandoc-fix-latex-test.patch"))
9239 "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8"))))
9240 (build-system haskell-build-system)
9243 (modify-phases %standard-phases
9244 (add-after 'unpack 'find-library
9246 (substitute* "test/Tests/Command.hs"
9248 (format #f "= [(\"LD_LIBRARY_PATH\" , \"~a/dist/build\")]"
9251 (outputs '("out" "static" "doc"))
9253 `(("ghc-aeson" ,ghc-aeson)
9254 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
9255 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9256 ("ghc-blaze-html" ,ghc-blaze-html)
9257 ("ghc-blaze-markup" ,ghc-blaze-markup)
9258 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
9259 ("ghc-data-default" ,ghc-data-default)
9260 ("ghc-diff" ,ghc-diff)
9261 ("ghc-doctemplates" ,ghc-doctemplates)
9262 ("ghc-executable-path" ,ghc-executable-path)
9263 ("ghc-glob" ,ghc-glob)
9264 ("ghc-haddock-library" ,ghc-haddock-library)
9265 ("ghc-hslua" ,ghc-hslua)
9266 ("ghc-hslua-module-system" ,ghc-hslua-module-system)
9267 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
9268 ("ghc-hsyaml" ,ghc-hsyaml)
9269 ("ghc-http" ,ghc-http)
9270 ("ghc-http-client" ,ghc-http-client)
9271 ("ghc-http-client-tls" ,ghc-http-client-tls)
9272 ("ghc-http-types" ,ghc-http-types)
9273 ("ghc-ipynb" ,ghc-ipynb)
9274 ("ghc-juicypixels" ,ghc-juicypixels)
9275 ("ghc-network" ,ghc-network)
9276 ("ghc-network-uri" ,ghc-network-uri)
9277 ("ghc-pandoc-types" ,ghc-pandoc-types)
9278 ("ghc-random" ,ghc-random)
9279 ("ghc-scientific" ,ghc-scientific)
9280 ("ghc-sha" ,ghc-sha)
9281 ("ghc-skylighting" ,ghc-skylighting)
9282 ("ghc-split" ,ghc-split)
9283 ("ghc-syb" ,ghc-syb)
9284 ("ghc-tagsoup" ,ghc-tagsoup)
9285 ("ghc-temporary" ,ghc-temporary)
9286 ("ghc-texmath" ,ghc-texmath)
9287 ("ghc-unicode-transforms" ,ghc-unicode-transforms)
9288 ("ghc-unordered-containers" ,ghc-unordered-containers)
9289 ("ghc-vector" ,ghc-vector)
9290 ("ghc-xml" ,ghc-xml)
9291 ("ghc-zip-archive" ,ghc-zip-archive)
9292 ("ghc-zlib" ,ghc-zlib)))
9294 `(("ghc-tasty" ,ghc-tasty)
9295 ("ghc-tasty-golden" ,ghc-tasty-golden)
9296 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9297 ("ghc-tasty-lua" ,ghc-tasty-lua)
9298 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9299 ("ghc-quickcheck" ,ghc-quickcheck)
9300 ("ghc-hunit" ,ghc-hunit)))
9301 (home-page "https://pandoc.org")
9302 (synopsis "Conversion between markup formats")
9304 "Pandoc is a Haskell library for converting from one markup format to
9305 another, and a command-line tool that uses this library. It can read and
9306 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
9307 LaTeX, DocBook, and many more.
9309 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
9310 definition lists, tables, and other features. A compatibility mode is
9311 provided for those who need a drop-in replacement for Markdown.pl.")
9312 (license license:gpl2+)))
9314 (define-public pandoc
9316 (inherit ghc-pandoc)
9321 ;; Do not build trypandoc; this is the default but it's better to
9324 ;; TODO: Without these we cannot link the Haskell libraries
9325 ;; statically. It would be nice if we could also build the
9326 ;; shared libraries.
9328 "--disable-executable-dynamic"
9329 ;; That's where we place all static libraries
9330 "--extra-lib-dirs=static-libs/"
9331 "--ghc-option=-static")
9332 #:modules ((guix build haskell-build-system)
9337 (modify-phases %standard-phases
9338 (add-after 'unpack 'create-simple-paths-module
9339 (lambda* (#:key outputs #:allow-other-keys)
9340 (call-with-output-file "Paths_pandoc.hs"
9343 {-# LANGUAGE CPP #-}
9344 {-# LANGUAGE NoRebindableSyntax #-}
9345 {-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
9346 module Paths_pandoc (version,getDataDir,getDataFileName) where
9348 import Data.Version (Version(..))
9351 version = Version [~a] []
9354 datadir = \"~a/share/\" ++
9357 compilerName ++ \"-~a/pandoc-~a\"
9359 getDataDir :: IO FilePath
9360 getDataDir = return datadir
9362 getDataFileName :: FilePath -> IO FilePath
9363 getDataFileName name = do
9365 return (dir ++ \"/\" ++ name)
9367 (string-map (lambda (chr) (if (eq? chr #\.) #\, chr))
9368 ,(package-version ghc-pandoc))
9369 (assoc-ref outputs "out")
9370 ,(package-version ghc)
9371 ,(package-version ghc-pandoc))))
9373 (add-after 'unpack 'prepare-static-libraries
9374 (lambda* (#:key inputs #:allow-other-keys)
9375 (mkdir-p (string-append (getcwd) "/static-libs"))
9378 (when (or (string-prefix? "static-" (car input))
9379 (string-prefix? "ghc" (car input)))
9380 (match (find-files (cdr input) "\\.a$")
9381 ((and (first . rest) libs)
9382 (for-each (lambda (lib)
9383 (let ((target (string-append (getcwd) "/static-libs/"
9385 (unless (file-exists? target)
9386 (symlink first target))))
9392 (add-after 'install 'post-install-check
9393 (assoc-ref %standard-phases 'check)))))
9394 (outputs '("out" "lib" "static" "doc"))
9396 (let* ((direct-inputs (package-inputs ghc-pandoc))
9399 (list (string-append "static-" (package-name pkg))
9402 (append (map cadr direct-inputs)
9403 (filter (lambda (pkg)
9404 (string-prefix? "ghc-" (package-name pkg)))
9406 (map cadr direct-inputs))))))))
9407 `(("zlib:static" ,zlib "static")
9411 (let* ((direct-inputs (package-native-inputs ghc-pandoc))
9414 (list (string-append "static-" (package-name pkg))
9417 (append (map cadr direct-inputs)
9418 (filter (lambda (pkg)
9419 (string-prefix? "ghc-" (package-name pkg)))
9421 (map cadr direct-inputs))))))))
9422 `(,@all-static-inputs
9423 ,@direct-inputs)))))
9425 (define-public ghc-pandoc-citeproc
9427 (name "ghc-pandoc-citeproc")
9432 (uri (string-append "https://hackage.haskell.org/package/"
9433 "pandoc-citeproc/pandoc-citeproc-"
9437 "15mm17awgi1b5yazwhr5nh8b59qml1qk6pz6gpyijks70fq2arsv"))))
9438 (build-system haskell-build-system)
9441 (modify-phases %standard-phases
9442 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
9443 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
9444 (add-before 'configure 'patch-tests
9446 (substitute* "tests/test-pandoc-citeproc.hs"
9447 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
9448 "let allTests = citeprocTests"))))
9449 ;; Tests need to be run after installation.
9451 (add-after 'install 'post-install-check
9452 (assoc-ref %standard-phases 'check)))))
9454 `(("ghc-pandoc-types" ,ghc-pandoc-types)
9455 ("ghc-pandoc" ,ghc-pandoc)
9456 ("ghc-tagsoup" ,ghc-tagsoup)
9457 ("ghc-aeson" ,ghc-aeson)
9458 ("ghc-vector" ,ghc-vector)
9459 ("ghc-xml-conduit" ,ghc-xml-conduit)
9460 ("ghc-unordered-containers" ,ghc-unordered-containers)
9461 ("ghc-data-default" ,ghc-data-default)
9462 ("ghc-setenv" ,ghc-setenv)
9463 ("ghc-split" ,ghc-split)
9464 ("ghc-yaml" ,ghc-yaml)
9465 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
9466 ("ghc-rfc5051" ,ghc-rfc5051)
9467 ("ghc-syb" ,ghc-syb)
9468 ("ghc-old-locale" ,ghc-old-locale)
9469 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
9470 ("ghc-attoparsec" ,ghc-attoparsec)
9471 ("ghc-temporary" ,ghc-temporary)))
9472 (home-page "https://github.com/jgm/pandoc-citeproc")
9473 (synopsis "Library for using pandoc with citeproc")
9475 "The @code{pandoc-citeproc} library exports functions for using the
9476 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
9477 rendering bibliographic reference citations into a variety of styles using a
9478 macro language called @dfn{Citation Style Language} (CSL). This package also
9479 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
9480 and also has a mode for converting bibliographic databases a YAML format
9481 suitable for inclusion in pandoc YAML metadata.")
9482 (license license:bsd-3)))
9484 (define-public pandoc-citeproc
9485 (package (inherit ghc-pandoc-citeproc)
9486 (name "pandoc-citeproc")
9491 "--disable-executable-dynamic"
9492 ;; That's where we place all static libraries
9493 "--extra-lib-dirs=static-libs/"
9494 "--ghc-option=-static")
9495 #:modules ((guix build haskell-build-system)
9500 (modify-phases %standard-phases
9501 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
9502 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
9503 (add-before 'configure 'patch-tests
9505 (substitute* "tests/test-pandoc-citeproc.hs"
9506 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
9507 "let allTests = citeprocTests"))))
9508 ;; Tests need to be run after installation.
9510 (add-after 'install 'post-install-check
9511 (assoc-ref %standard-phases 'check))
9512 (add-after 'unpack 'create-simple-paths-module
9513 (lambda* (#:key outputs #:allow-other-keys)
9514 (call-with-output-file "Paths_pandoc_citeproc.hs"
9517 {-# LANGUAGE CPP #-}
9518 {-# LANGUAGE NoRebindableSyntax #-}
9519 {-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
9520 module Paths_pandoc_citeproc (version,getDataFileName) where
9522 import Data.Version (Version(..))
9525 version = Version [~a] []
9528 datadir = \"~a/share/\" ++
9531 compilerName ++ \"-~a/pandoc-citeproc-~a\"
9533 getDataDir :: IO FilePath
9534 getDataDir = return datadir
9536 getDataFileName :: FilePath -> IO FilePath
9537 getDataFileName name = do
9539 return (dir ++ \"/\" ++ name)
9541 (string-map (lambda (chr) (if (eq? chr #\.) #\, chr))
9542 ,(package-version ghc-pandoc-citeproc))
9543 (assoc-ref outputs "out")
9544 ,(package-version ghc)
9545 ,(package-version ghc-pandoc-citeproc))))
9547 (add-after 'unpack 'prepare-static-libraries
9548 (lambda* (#:key inputs #:allow-other-keys)
9549 (mkdir-p (string-append (getcwd) "/static-libs"))
9552 (when (or (string-prefix? "static-" (car input))
9553 (string-prefix? "ghc" (car input)))
9554 (match (find-files (cdr input) "\\.a$")
9555 ((and (first . rest) libs)
9556 (for-each (lambda (lib)
9557 (let ((target (string-append (getcwd) "/static-libs/"
9559 (unless (file-exists? target)
9560 (symlink first target))))
9566 (let* ((direct-inputs
9567 (cons `("ghc-pandoc" ,pandoc)
9568 (alist-delete "ghc-pandoc"
9569 (package-inputs ghc-pandoc-citeproc))))
9572 (list (string-append "static-" (package-name pkg))
9575 (append (map cadr direct-inputs)
9576 (filter (lambda (pkg)
9577 (string-prefix? "ghc-" (package-name pkg)))
9579 (map cadr direct-inputs))))))))
9580 `(("zlib:static" ,zlib "static")
9581 ("pandoc" ,pandoc "lib")
9584 (outputs '("out" "lib" "static" "doc"))
9585 (synopsis "Pandoc filter for bibliographic references")))
9587 (define-public ghc-pandoc-types
9589 (name "ghc-pandoc-types")
9590 (version "1.17.6.1")
9593 (uri (string-append "https://hackage.haskell.org/package/"
9594 "pandoc-types/pandoc-types-"
9598 "1d6ygq991ddria71l7hg9yd7lq94sjy4m71rdws1v8hq943c4d0q"))))
9599 (build-system haskell-build-system)
9602 (modify-phases %standard-phases
9603 ;; None of the directory names are actually used. By generating a
9604 ;; simpler module without references to store names we avoid
9605 ;; introducing references in the pandoc executable.
9606 (add-after 'unpack 'create-simple-paths-module
9608 (call-with-output-file "Paths_pandoc_types.hs"
9611 {-# LANGUAGE CPP #-}
9612 {-# LANGUAGE NoRebindableSyntax #-}
9613 {-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
9614 module Paths_pandoc_types (version) where
9615 import Data.Version (Version(..))
9617 version = Version [~a] []
9618 " (string-map (lambda (chr) (if (eq? chr #\.) #\, chr)) ,version))))
9621 `(("ghc-syb" ,ghc-syb)
9622 ("ghc-aeson" ,ghc-aeson)
9623 ("ghc-string-qq" ,ghc-string-qq)))
9625 `(("ghc-quickcheck" ,ghc-quickcheck)
9626 ("ghc-test-framework" ,ghc-test-framework)
9627 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
9628 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
9629 ("ghc-hunit" ,ghc-hunit)))
9630 (home-page "https://johnmacfarlane.net/pandoc")
9631 (synopsis "Types for representing a structured document")
9633 "This module defines the @code{Pandoc} data structure, which is used by
9634 pandoc to represent structured documents. It also provides functions for
9635 building up, manipulating and serialising @code{Pandoc} structures.")
9636 (license license:bsd-3)))
9638 (define-public ghc-parallel
9640 (name "ghc-parallel")
9642 (outputs '("out" "static" "doc"))
9647 "https://hackage.haskell.org/package/parallel/parallel-"
9652 "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"))))
9653 (build-system haskell-build-system)
9654 (home-page "https://hackage.haskell.org/package/parallel")
9655 (synopsis "Parallel programming library")
9657 "This package provides a library for parallel programming.")
9658 (license license:bsd-3)))
9660 (define-public ghc-parsec-numbers
9662 (name "ghc-parsec-numbers")
9667 (uri (string-append "https://hackage.haskell.org/package/"
9668 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
9670 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
9671 (build-system haskell-build-system)
9672 (home-page "https://hackage.haskell.org/package/parsec-numbers")
9673 (synopsis "Utilities for parsing numbers from strings")
9675 "This package provides the number parsers without the need to use a large
9676 (and unportable) token parser.")
9677 (license license:bsd-3)))
9679 (define-public ghc-parser-combinators
9681 (name "ghc-parser-combinators")
9686 (uri (string-append "https://hackage.haskell.org/package/"
9687 "parser-combinators/parser-combinators-"
9691 "149yhbnrrl108h1jinrsxni3rwrldhphpk9bbmbpr90q5fbl4xmc"))))
9692 (build-system haskell-build-system)
9693 (home-page "https://github.com/mrkkrp/parser-combinators")
9694 (synopsis "Commonly useful parser combinators")
9696 "This is a lightweight package providing commonly useful parser
9698 (license license:bsd-3)))
9700 (define-public ghc-parsers
9702 (name "ghc-parsers")
9708 "https://hackage.haskell.org/package/parsers/parsers-"
9713 "0v0smxbzk1qpdfkfqqmrzd2dngv3vxba10mkjn9nfm6a309izf8p"))))
9714 (build-system haskell-build-system)
9715 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
9716 ; -package attoparsec-0.13.0.1"
9718 `(("ghc-base-orphans" ,ghc-base-orphans)
9719 ("ghc-attoparsec" ,ghc-attoparsec)
9720 ("ghc-scientific" ,ghc-scientific)
9721 ("ghc-charset" ,ghc-charset)
9722 ("ghc-unordered-containers" ,ghc-unordered-containers)))
9723 (home-page "https://github.com/ekmett/parsers/")
9724 (synopsis "Parsing combinators")
9725 (description "This library provides convenient combinators for working
9726 with and building parsing combinator libraries. Given a few simple instances,
9727 you get access to a large number of canned definitions. Instances exist for
9728 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
9730 (license license:bsd-3)))
9732 (define-public ghc-path
9740 "https://hackage.haskell.org/package/path/path-"
9745 "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb"))))
9746 (build-system haskell-build-system)
9748 ;; TODO: There are some Windows-related tests and modules that need to be
9752 ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463")))
9754 `(("ghc-aeson" ,ghc-aeson)
9755 ("ghc-exceptions" ,ghc-exceptions)
9756 ("ghc-hashable" ,ghc-hashable)))
9758 `(("ghc-hspec" ,ghc-hspec)
9759 ("ghc-quickcheck" ,ghc-quickcheck)
9760 ("ghc-genvalidity" ,ghc-genvalidity)
9761 ("ghc-genvalidity-property" ,ghc-genvalidity-property)
9762 ("ghc-hspec" ,ghc-hspec)
9763 ("ghc-validity" ,ghc-validity)))
9765 "https://hackage.haskell.org/package/path")
9766 (synopsis "Support for well-typed paths")
9767 (description "This package introduces a type for paths upholding useful
9769 (license license:bsd-3)))
9771 (define-public ghc-path-io
9773 (name "ghc-path-io")
9779 "https://hackage.haskell.org/package/path-io/path-io-"
9784 "0jqx3mi4an4kb3kg78n1p3xrz832yrfrnvj795b0xhkv6h1z5ir3"))))
9785 (build-system haskell-build-system)
9787 `(("ghc-dlist" ,ghc-dlist)
9788 ("ghc-exceptions" ,ghc-exceptions)
9789 ("ghc-path" ,ghc-path)
9790 ("ghc-transformers-base" ,ghc-transformers-base)
9791 ("ghc-unix-compat" ,ghc-unix-compat)
9792 ("ghc-temporary" ,ghc-temporary)))
9794 `(("ghc-hspec" ,ghc-hspec)))
9796 "https://github.com/mrkkrp/path-io")
9797 (synopsis "Functions for manipulating well-typed paths")
9798 (description "This package provides an interface to the @code{directory}
9799 package for users of @code{path}. It also implements some missing stuff like
9800 recursive scanning and copying of directories, working with temporary
9801 files/directories, and more.")
9802 (license license:bsd-3)))
9804 (define-public ghc-paths
9807 (version "0.1.0.12")
9808 (outputs '("out" "static" "doc"))
9813 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
9818 "1164w9pqnf7rjm05mmfjznz7rrn415blrkk1kjc0gjvks1vfdjvf"))))
9819 (build-system haskell-build-system)
9820 (home-page "https://github.com/simonmar/ghc-paths")
9822 "Knowledge of GHC's installation directories")
9824 "Knowledge of GHC's installation directories.")
9825 (license license:bsd-3)))
9827 (define-public ghc-patience
9829 (name "ghc-patience")
9835 "https://hackage.haskell.org/package/patience/patience-"
9839 "1i1b37lgi31c17yrjyf8pdm4nf5lq8vw90z3rri78hf0k66d0p3i"))))
9840 (build-system haskell-build-system)
9841 (home-page "https://hackage.haskell.org/package/patience")
9842 (synopsis "Patience diff and longest increasing subsequence")
9844 "This library implements the 'patience diff' algorithm, as well as the
9845 patience algorithm for the longest increasing subsequence problem.
9846 Patience diff computes the difference between two lists, for example the lines
9847 of two versions of a source file. It provides a good balance between
9848 performance, nice output for humans, and simplicity of implementation.")
9849 (license license:bsd-3)))
9851 (define-public ghc-pattern-arrows
9853 (name "ghc-pattern-arrows")
9859 "mirror://hackage/package/pattern-arrows/pattern-arrows-"
9864 "13q7bj19hd60rnjfc05wxlyck8llxy11z3mns8kxg197wxrdkhkg"))))
9865 (build-system haskell-build-system)
9867 "https://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html")
9868 (synopsis "Arrows for Pretty Printing")
9870 "A library for generating concise pretty printers based on precedence
9872 (license license:expat)))
9874 (define-public ghc-pcre-light
9876 (name "ghc-pcre-light")
9882 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
9887 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
9888 (build-system haskell-build-system)
9890 `(#:extra-directories ("pcre")))
9894 `(("pkg-config" ,pkg-config)))
9895 (home-page "https://github.com/Daniel-Diaz/pcre-light")
9896 (synopsis "Haskell library for Perl 5 compatible regular expressions")
9897 (description "This package provides a small, efficient, and portable regex
9898 library for Perl 5 compatible regular expressions. The PCRE library is a set
9899 of functions that implement regular expression pattern matching using the same
9900 syntax and semantics as Perl 5.")
9901 (license license:bsd-3)))
9903 (define-public ghc-persistent
9905 (name "ghc-persistent")
9911 "https://hackage.haskell.org/package/persistent/"
9912 "persistent-" version ".tar.gz"))
9915 "1cxswz72sqdg2z1nbpgp1k5qr41djgk8qbf8nz7wfppsrhacyffi"))))
9916 (build-system haskell-build-system)
9918 `(("ghc-aeson" ,ghc-aeson)
9919 ("ghc-attoparsec" ,ghc-attoparsec)
9920 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9921 ("ghc-blaze-html" ,ghc-blaze-html)
9922 ("ghc-conduit" ,ghc-conduit)
9923 ("ghc-fast-logger" ,ghc-fast-logger)
9924 ("ghc-http-api-data" ,ghc-http-api-data)
9925 ("ghc-monad-logger" ,ghc-monad-logger)
9926 ("ghc-path-pieces" ,ghc-path-pieces)
9927 ("ghc-resource-pool" ,ghc-resource-pool)
9928 ("ghc-resourcet" ,ghc-resourcet)
9929 ("ghc-scientific" ,ghc-scientific)
9930 ("ghc-silently" ,ghc-silently)
9931 ("ghc-unliftio-core" ,ghc-unliftio-core)
9932 ("ghc-unliftio" ,ghc-unliftio)
9933 ("ghc-unordered-containers"
9934 ,ghc-unordered-containers)
9935 ("ghc-vector" ,ghc-vector)))
9936 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9937 (home-page "https://www.yesodweb.com/book/persistent")
9938 (synopsis "Type-safe, multi-backend data serialization for Haskell")
9939 (description "This Haskell package allows Haskell programs to access data
9940 storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
9942 (license license:expat)))
9944 (define-public ghc-persistent-sqlite
9946 (name "ghc-persistent-sqlite")
9947 (version "2.10.5.2")
9952 "https://hackage.haskell.org/package/persistent-sqlite/"
9953 "persistent-sqlite-" version ".tar.gz"))
9956 "0agag3cgivl6mk38pqzr0qw5lxps9p2bgdwvi5658l46hs7bixxn"))))
9957 (build-system haskell-build-system)
9959 `(("ghc-persistent" ,ghc-persistent)
9960 ("ghc-aeson" ,ghc-aeson)
9961 ("ghc-conduit" ,ghc-conduit)
9962 ("ghc-microlens-th" ,ghc-microlens-th)
9963 ("ghc-monad-logger" ,ghc-monad-logger)
9964 ("ghc-resource-pool" ,ghc-resource-pool)
9965 ("ghc-resourcet" ,ghc-resourcet)
9966 ("ghc-unliftio-core" ,ghc-unliftio-core)
9967 ("ghc-unordered-containers"
9968 ,ghc-unordered-containers)))
9970 `(("ghc-persistent-template"
9971 ,ghc-persistent-template)
9972 ("ghc-persistent-test" ,ghc-persistent-test)
9973 ("ghc-exceptions" ,ghc-exceptions)
9974 ("ghc-fast-logger" ,ghc-fast-logger)
9975 ("ghc-hspec" ,ghc-hspec)
9976 ("ghc-hunit" ,ghc-hunit)
9977 ("ghc-quickcheck" ,ghc-quickcheck)
9978 ("ghc-system-fileio" ,ghc-system-fileio)
9979 ("ghc-system-filepath" ,ghc-system-filepath)
9980 ("ghc-temporary" ,ghc-temporary)))
9982 "https://www.yesodweb.com/book/persistent")
9983 (synopsis "Backend for the persistent library using sqlite3")
9984 (description "This Haskell package includes a thin sqlite3 wrapper based
9985 on the direct-sqlite package, as well as the entire C library, so there are no
9986 system dependencies.")
9987 (license license:expat)))
9989 (define-public ghc-persistent-template
9991 (name "ghc-persistent-template")
9997 "https://hackage.haskell.org/package/persistent-template/"
9998 "persistent-template-" version ".tar.gz"))
10001 "16yjrl0gh4jbs4skr7iv6a55lny59bqhd6hjmvch1cl9j5d0c0g3"))))
10002 (build-system haskell-build-system)
10004 `(("ghc-persistent" ,ghc-persistent)
10005 ("ghc-aeson" ,ghc-aeson)
10006 ("ghc-http-api-data" ,ghc-http-api-data)
10007 ("ghc-monad-control" ,ghc-monad-control)
10008 ("ghc-monad-logger" ,ghc-monad-logger)
10009 ("ghc-path-pieces" ,ghc-path-pieces)
10010 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
10011 ("ghc-unordered-containers"
10012 ,ghc-unordered-containers)))
10014 `(("ghc-hspec" ,ghc-hspec)
10015 ("ghc-quickcheck" ,ghc-quickcheck)))
10016 (home-page "https://www.yesodweb.com/book/persistent")
10017 (synopsis "Type-safe, non-relational, multi-backend persistence")
10018 (description "This Haskell package provides interfaces and helper
10019 functions for the ghc-persistent package.")
10020 (license license:expat)))
10022 (define-public ghc-persistent-test
10024 (name "ghc-persistent-test")
10025 (version "2.0.3.1")
10029 (uri (string-append
10030 "https://hackage.haskell.org/package/persistent-test/"
10031 "persistent-test-" version ".tar.gz"))
10034 "11aq5cy0n43jamf6mg4sr4300bc2zdbjxsczzxwjkb4hzs0ijsdv"))))
10035 (build-system haskell-build-system)
10037 `(("ghc-aeson" ,ghc-aeson)
10038 ("ghc-blaze-html" ,ghc-blaze-html)
10039 ("ghc-conduit" ,ghc-conduit)
10040 ("ghc-monad-control" ,ghc-monad-control)
10041 ("ghc-monad-logger" ,ghc-monad-logger)
10042 ("ghc-path-pieces" ,ghc-path-pieces)
10043 ("ghc-persistent" ,ghc-persistent)
10044 ("ghc-persistent-template" ,ghc-persistent-template)
10045 ("ghc-random" ,ghc-random)
10046 ("ghc-resourcet" ,ghc-resourcet)
10047 ("ghc-transformers-base" ,ghc-transformers-base)
10048 ("ghc-unliftio" ,ghc-unliftio)
10049 ("ghc-unliftio-core" ,ghc-unliftio-core)
10050 ("ghc-unordered-containers" ,ghc-unordered-containers)))
10052 `(("ghc-quickcheck" ,ghc-quickcheck)
10053 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
10054 ("ghc-hspec" ,ghc-hspec)
10055 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
10056 ("ghc-hunit" ,ghc-hunit)))
10057 (home-page "https://www.yesodweb.com/book/persistent")
10058 (synopsis "Tests for the Persistent database library")
10060 "This is only for use in developing libraries that should conform to
10061 the persistent interface, not for users of the persistent suite of database
10063 (license license:expat)))
10065 (define-public ghc-pgp-wordlist
10067 (name "ghc-pgp-wordlist")
10068 (version "0.1.0.3")
10072 (uri (string-append
10073 "mirror://hackage/package/pgp-wordlist/pgp-wordlist-"
10078 "15g6qh0fb7kjj3l0w8cama7cxgnhnhybw760md9yy7cqfq15cfzg"))))
10079 (build-system haskell-build-system)
10081 `(("ghc-vector" ,ghc-vector)))
10083 `(("ghc-hunit" ,ghc-hunit)
10084 ("ghc-tasty" ,ghc-tasty)
10085 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10086 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
10087 ("ghc-doctest" ,ghc-doctest)))
10089 "https://github.com/quchen/pgp-wordlist")
10091 "Translate between binary data and a human-readable collection of words")
10093 "The PGP Word List consists of two phonetic alphabets, each with one word
10094 per possible byte value. A string of bytes is translated with these
10095 alphabets, alternating between them at each byte.
10097 The PGP words corresponding to the bytes 5B 1D CA 6E are \"erase breakaway
10098 spellbind headwaters\", for example.
10100 For further information, see
10101 @url{http://en.wikipedia.org/wiki/PGP_word_list}.")
10102 (license license:bsd-3)))
10104 (define-public ghc-pipes
10111 (uri (string-append
10112 "https://hackage.haskell.org/package/pipes/"
10113 "pipes-" version ".tar.gz"))
10116 "1ch3xr5f5if0psd3lsyrpkwrgh36synnzqcpimghprys68l4zfkn"))))
10117 (build-system haskell-build-system)
10119 `(("ghc-exceptions" ,ghc-exceptions)
10120 ("ghc-mmorph" ,ghc-mmorph)
10121 ("ghc-void" ,ghc-void)
10122 ("ghc-semigroups" ,ghc-semigroups)))
10124 `(("ghc-quickcheck" ,ghc-quickcheck)
10125 ("ghc-test-framework" ,ghc-test-framework)
10126 ("ghc-test-framework-quickcheck2"
10127 ,ghc-test-framework-quickcheck2)))
10129 "https://hackage.haskell.org/package/pipes")
10130 (synopsis "Compositional pipelines")
10132 "A clean and powerful stream processing library that lets you build
10133 and connect reusable streaming components. Advantages over traditional streaming
10136 @item Concise API: Use simple commands like @code{for}, (@code{>->}), @code{await},
10138 @item Blazing fast: Implementation tuned for speed, including shortcut fusion
10139 @item Lightweight Dependency: pipes is small and compiles very rapidly, including
10141 @item Elegant semantics: Use practical category theory
10142 @item ListT: Correct implementation of @code{ListT} that interconverts with pipes
10143 @item Bidirectionality: Implement duplex channels
10145 (license license:bsd-3)))
10147 (define-public ghc-pointedlist
10149 (name "ghc-pointedlist")
10154 (uri (string-append
10155 "https://hackage.haskell.org/package/pointedlist/"
10156 "pointedlist-" version ".tar.gz"))
10159 "16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l"))))
10160 (build-system haskell-build-system)
10162 "https://hackage.haskell.org/package/pointedlist")
10164 "Zipper-like comonad which works as a list, tracking a position")
10166 "A PointedList tracks the position in a non-empty list which works
10167 similarly to a zipper. A current item is always required, and therefore
10168 the list may never be empty. A circular PointedList wraps around to the
10169 other end when progressing past the actual edge.")
10170 (license license:bsd-3)))
10172 (define-public ghc-polyparse
10174 (name "ghc-polyparse")
10179 (uri (string-append
10180 "https://hackage.haskell.org/package/polyparse/polyparse-"
10185 "19fs18g7fvfdkm9zy28cgighjcxfa6mcpqgyp6whmsjkb3h393fx"))))
10186 (build-system haskell-build-system)
10188 "http://code.haskell.org/~malcolm/polyparse/")
10190 "Alternative parser combinator libraries")
10192 "This package provides a variety of alternative parser combinator
10193 libraries, including the original HuttonMeijer set. The Poly sets have
10194 features like good error reporting, arbitrary token type, running state, lazy
10195 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
10196 standard Read class, for better deserialisation of Haskell values from
10198 (license license:lgpl2.1)))
10200 (define-public ghc-pqueue
10202 (name "ghc-pqueue")
10203 (version "1.4.1.2")
10207 (uri (string-append "https://hackage.haskell.org/package/"
10208 "pqueue/pqueue-" version ".tar.gz"))
10211 "1v4zhv2sc1zsw91hvnarkjhayx2dnf7ccxz6rrhsqpcs0szaranj"))))
10212 (build-system haskell-build-system)
10214 `(("ghc-quickcheck" ,ghc-quickcheck)))
10215 (home-page "https://hackage.haskell.org/package/pqueue")
10216 (synopsis "Reliable, persistent, fast priority queues")
10218 "This package provides a fast, reliable priority queue implementation
10219 based on a binomial heap.")
10220 (license license:bsd-3)))
10222 (define-public ghc-prelude-extras
10224 (name "ghc-prelude-extras")
10225 (version "0.4.0.3")
10229 (uri (string-append
10230 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
10235 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
10236 (build-system haskell-build-system)
10237 (home-page "https://github.com/ekmett/prelude-extras")
10238 (synopsis "Higher order versions of Prelude classes")
10239 (description "This library provides higher order versions of
10240 @code{Prelude} classes to ease programming with polymorphic recursion and
10241 reduce @code{UndecidableInstances}.")
10242 (license license:bsd-3)))
10244 (define-public ghc-prettyclass
10246 (name "ghc-prettyclass")
10247 (version "1.0.0.0")
10251 (uri (string-append "https://hackage.haskell.org/package/"
10252 "prettyclass/prettyclass-" version ".tar.gz"))
10255 "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5"))))
10256 (build-system haskell-build-system)
10257 (home-page "https://hackage.haskell.org/package/prettyclass")
10258 (synopsis "Pretty printing class similar to Show")
10259 (description "This package provides a pretty printing class similar
10260 to @code{Show}, based on the HughesPJ pretty printing library. It
10261 provides the pretty printing class and instances for the Prelude
10263 (license license:bsd-3)))
10265 (define-public ghc-prettyprinter
10267 (name "ghc-prettyprinter")
10268 (version "1.2.1.1")
10272 (uri (string-append
10273 "mirror://hackage/package/prettyprinter/prettyprinter-"
10277 (base32 "1p9c3q55hba4c0zyxc624g5df7wgsclpsmd8wqpdnmib882q9d1v"))))
10278 (build-system haskell-build-system)
10280 `(("ghc-doctest" ,ghc-doctest)
10281 ("ghc-pgp-wordlist" ,ghc-pgp-wordlist)
10282 ("ghc-tasty" ,ghc-tasty)
10283 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10284 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
10285 (home-page "https://github.com/quchen/prettyprinter")
10287 "Modern, easy to use, well-documented, extensible pretty-printer")
10289 "A prettyprinter/text rendering engine. Easy to use, well-documented,
10290 ANSI terminal backend exists, HTML backend is trivial to implement, no name
10291 clashes, @code{Text}-based, extensible.")
10292 (license license:bsd-2)))
10294 (define-public ghc-prettyprinter-1.6
10296 (inherit ghc-prettyprinter)
10301 (uri (string-append
10302 "mirror://hackage/package/prettyprinter/prettyprinter-"
10306 (base32 "10fphxh8lvdaw7i8jyllwmj87w02db92mf99zfw5vddp9mv6b5rz"))))
10308 `(("ghc-quickckeck-instances" , ghc-quickcheck-instances)
10309 ,@(package-inputs ghc-prettyprinter)))))
10311 (define-public ghc-prettyprinter-ansi-terminal
10313 (name "ghc-prettyprinter-ansi-terminal")
10314 (version "1.1.1.2")
10318 (uri (string-append
10319 "mirror://hackage/package/prettyprinter-ansi-terminal/"
10320 "prettyprinter-ansi-terminal-" version ".tar.gz"))
10322 (base32 "0ha6vz707qzb5ky7kdsnw2zgphg2dnxrpbrxy8gaw119vwhb9q6k"))))
10323 (build-system haskell-build-system)
10325 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
10326 ("ghc-prettyprinter" ,ghc-prettyprinter-1.6)))
10327 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
10329 "https://github.com/quchen/prettyprinter")
10331 "ANSI terminal backend for the prettyprinter package")
10332 (description "ANSI terminal backend for the prettyprinter package.")
10333 (license license:bsd-2)))
10335 (define-public ghc-pretty-hex
10337 (name "ghc-pretty-hex")
10342 (uri (string-append "https://hackage.haskell.org/package/"
10343 "pretty-hex-" version "/"
10344 "pretty-hex-" version ".tar.gz"))
10347 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
10348 (build-system haskell-build-system)
10349 (home-page "https://github.com/GaloisInc/hexdump")
10350 (synopsis "Haskell library for hex dumps of ByteStrings")
10351 (description "This Haskell library generates pretty hex dumps of
10352 ByteStrings in the style of other common *nix hex dump tools.")
10353 (license license:bsd-3)))
10355 (define-public ghc-pretty-show
10357 (name "ghc-pretty-show")
10362 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
10363 "pretty-show-" version ".tar.gz"))
10366 "0gs2pabi4qa4b0r5vffpf9b1cf5n9y2939a3lljjw7cmg6xvx5dh"))))
10367 (build-system haskell-build-system)
10369 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
10370 ("ghc-happy" ,ghc-happy)))
10371 (home-page "https://wiki.github.com/yav/pretty-show")
10372 (synopsis "Tools for working with derived `Show` instances")
10374 "This package provides a library and an executable for working with
10375 derived @code{Show} instances. By using the library, derived @code{Show}
10376 instances can be parsed into a generic data structure. The @code{ppsh} tool
10377 uses the library to produce human-readable versions of @code{Show} instances,
10378 which can be quite handy for debugging Haskell programs. We can also render
10379 complex generic values into an interactive Html page, for easier
10381 (license license:expat)))
10383 (define-public ghc-pretty-simple
10385 (name "ghc-pretty-simple")
10386 (version "2.2.0.1")
10390 (uri (string-append
10391 "mirror://hackage/package/pretty-simple/"
10392 "pretty-simple-" version ".tar.gz"))
10394 (base32 "0wsi9235ihm15s145lxi7325vv2k4bhighc5m88kn1lk0pl81aqq"))))
10395 (build-system haskell-build-system)
10397 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
10398 ("ghc-glob" ,ghc-glob)
10399 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
10400 ("ghc-aeson" ,ghc-aeson)))
10402 `(("ghc-doctest" ,ghc-doctest)))
10403 (home-page "https://github.com/cdepillabout/pretty-simple")
10404 (synopsis "Pretty printer for data types with a 'Show' instance")
10406 "Pretty-simple is a pretty printer for Haskell data types that have a
10408 (license license:bsd-3)))
10410 (define-public ghc-primitive
10412 (name "ghc-primitive")
10413 (version "0.6.4.0")
10414 (outputs '("out" "static" "doc"))
10418 (uri (string-append
10419 "https://hackage.haskell.org/package/primitive/primitive-"
10424 "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc"))))
10425 (build-system haskell-build-system)
10428 ("1" "18a14k1yiam1m4l29rin9a0y53yp3nxvkz358nysld8aqwy2qsjv")))
10430 "https://github.com/haskell/primitive")
10431 (synopsis "Primitive memory-related operations")
10433 "This package provides various primitive memory-related operations.")
10434 (license license:bsd-3)))
10436 (define-public ghc-process-extras
10438 (name "ghc-process-extras")
10445 "https://hackage.haskell.org/package/process-extras/"
10446 "process-extras-" version ".tar.gz"))
10449 "0klqgr37f1z2z6i0a9b0giapmq0p35l5k9kz1p7f0k1597w7agi9"))))
10450 (build-system haskell-build-system)
10452 `(("ghc-data-default" ,ghc-data-default)
10453 ("ghc-generic-deriving" ,ghc-generic-deriving)
10454 ("ghc-hunit" ,ghc-hunit)
10455 ("ghc-listlike" ,ghc-listlike)))
10456 (home-page "https://github.com/seereason/process-extras")
10457 (synopsis "Extra tools for managing processes")
10458 (description "This package extends
10459 @url{http://hackage.haskell.org/package/process}. It allows you to read
10460 process input and output as ByteStrings or Text, or write your own
10461 ProcessOutput instance. It also provides lazy process input and output,
10462 and a ProcessMaker class for more flexibility in the process creation
10464 (license license:expat)))
10466 (define-public ghc-profunctors
10468 (name "ghc-profunctors")
10473 (uri (string-append
10474 "https://hackage.haskell.org/package/profunctors/profunctors-"
10479 "1dx3nkc27yxsrbrhh3iwhq7dl1xn6bj7n62yx6nh8vmpbg62lqvl"))))
10480 (build-system haskell-build-system)
10481 (outputs '("out" "static" "doc"))
10483 `(("ghc-base-orphans" ,ghc-base-orphans)
10484 ("ghc-bifunctors" ,ghc-bifunctors)
10485 ("ghc-comonad" ,ghc-comonad)
10486 ("ghc-contravariant" ,ghc-contravariant)
10487 ("ghc-distributive" ,ghc-distributive)
10488 ("ghc-semigroups" ,ghc-semigroups)
10489 ("ghc-tagged" ,ghc-tagged)))
10490 (home-page "https://github.com/ekmett/profunctors/")
10491 (synopsis "Profunctors for Haskell")
10492 (description "This library provides profunctors for Haskell.")
10493 (license license:bsd-3)))
10495 (define-public ghc-project-template
10497 (name "ghc-project-template")
10498 (version "0.2.0.1")
10502 (uri (string-append
10503 "https://hackage.haskell.org/package/project-template/project-template-"
10504 version ".tar.gz"))
10507 "1p69ww4rhah2qxragl615wl4a6mk4x9w09am8knmz3s4lxpljlpb"))))
10508 (build-system haskell-build-system)
10510 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
10511 ("ghc-conduit" ,ghc-conduit)
10512 ("ghc-conduit-extra" ,ghc-conduit-extra)
10513 ("ghc-resourcet" ,ghc-resourcet)))
10515 `(("ghc-hspec" ,ghc-hspec)
10516 ("hspec-discover" ,hspec-discover)
10517 ("ghc-quickcheck" ,ghc-quickcheck)))
10521 "0lq3sqnq0nr0gbvgzp0lqdl3j3mqdmdlf8xsw0j3pjh581xj3k0a")))
10522 (home-page "https://github.com/fpco/haskell-ide")
10523 (synopsis "Specify Haskell project templates and generate files")
10525 "Haskell library for both generating and consuming project templates.
10527 ost IDEs provide the concept of a project template: instead of writing all
10528 of the code for a project from scratch, you select a template, answer a few
10529 questions, and a bunch of files are automatically generated.
10531 project-template tries to provide a canonical Haskell library for implementing
10532 the ideal templating system.")
10533 (license license:bsd-3)))
10535 (define-public ghc-protolude
10537 (name "ghc-protolude")
10542 (uri (string-append
10543 "mirror://hackage/package/protolude/protolude-"
10548 "0zzkyxz0vmcbncpid7gp72fpjj0fla3gqhlfkij5c5lg12skjgfj"))))
10549 (build-system haskell-build-system)
10551 `(("ghc-async" ,ghc-async)
10552 ("ghc-hashable" ,ghc-hashable)
10553 ("ghc-mtl-compat" ,ghc-mtl-compat)
10554 ("ghc-transformers-compat" ,ghc-transformers-compat)))
10555 (home-page "https://github.com/protolude/protolude")
10556 (synopsis "Sensible set of defaults for writing custom Preludes")
10558 "Protolude gives you sensible defaults for writing custom Preludes to
10559 replace the standard one provided by GHC.")
10560 (license license:expat)))
10562 (define-public ghc-psqueue
10564 (name "ghc-psqueue")
10565 (version "1.1.0.1")
10568 (uri (string-append "mirror://hackage/package/PSQueue-"
10569 version "/PSQueue-" version ".tar.gz"))
10572 "1cik7sw10sacsijmfhghzy54gm1qcyxw14shlp86lx8z89kcnkza"))))
10573 (build-system haskell-build-system)
10574 (home-page "https://hackage.haskell.org/package/PSQueue")
10575 (synopsis "Priority search queue")
10577 "A @dfn{priority search queue} efficiently supports the operations of
10578 both a search tree and a priority queue. A @code{Binding} is a product of
10579 a key and a priority. Bindings can be inserted, deleted, modified and queried
10580 in logarithmic time, and the binding with the least priority can be retrieved
10581 in constant time. A queue can be built from a list of bindings, sorted by
10582 keys, in linear time.")
10583 (license license:bsd-3)))
10585 (define-public ghc-psqueues
10587 (name "ghc-psqueues")
10588 (version "0.2.7.2")
10592 (uri (string-append "https://hackage.haskell.org/package/"
10593 "psqueues-" version "/"
10594 "psqueues-" version ".tar.gz"))
10597 "1yckx2csqswghiy9nfj03cybmza8104nmnpbpcc9ngwlbmakn9i6"))))
10598 (build-system haskell-build-system)
10600 `(("ghc-hashable" ,ghc-hashable)))
10602 `(("ghc-hunit" ,ghc-hunit)
10603 ("ghc-quickcheck" ,ghc-quickcheck)
10604 ("ghc-tagged" ,ghc-tagged)
10605 ("ghc-tasty" ,ghc-tasty)
10606 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10607 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
10608 (home-page "https://github.com/jaspervdj/psqueues")
10609 (synopsis "Pure priority search queues")
10610 (description "The psqueues package provides
10611 @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
10612 three different flavors:
10615 @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
10616 fast insertion, deletion and lookup. This implementation is based on Ralf
10617 Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
10618 Implementation Technique for Priority Search Queues}.
10620 Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
10621 PSQueue} library, although it is considerably faster and provides a slightly
10624 @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
10625 key type to @code{Int} and uses a
10626 @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
10627 with an additional min-heap property.
10629 @item @code{HashPSQ k p v} is a fairly straightforward extension
10630 of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
10631 @code{IntPSQ}. If there are any hash collisions, it uses an
10632 @code{OrdPSQ} to resolve those. The performance of this implementation
10633 is comparable to that of @code{IntPSQ}, but it is more widely
10634 applicable since the keys are not restricted to @code{Int},
10635 but rather to any @code{Hashable} datatype.
10638 Each of the three implementations provides the same API, so they can
10639 be used interchangeably.
10641 Typical applications of Priority Search Queues include:
10644 @item Caches, and more specifically LRU Caches;
10646 @item Pathfinding algorithms, such as Dijkstra's and A*.
10648 (license license:bsd-3)))
10650 (define-public ghc-pwstore-fast
10652 (name "ghc-pwstore-fast")
10657 (uri (string-append
10658 "https://hackage.haskell.org/package/pwstore-fast/"
10659 "pwstore-fast-" version ".tar.gz"))
10662 "1cpvlwzg3qznhygrr78f75p65mnljd9v5cvnagfxjqppnrkay6bj"))))
10663 (build-system haskell-build-system)
10665 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
10666 ("ghc-cryptohash" ,ghc-cryptohash)
10667 ("ghc-random" ,ghc-random)
10668 ("ghc-byteable" ,ghc-byteable)))
10669 (home-page "https://github.com/PeterScott/pwstore")
10670 (synopsis "Secure password storage")
10672 "To store passwords securely, they should be salted, then hashed with
10673 a slow hash function. This library uses PBKDF1-SHA256, and handles all the
10674 details. It uses the cryptohash package for speed; if you need a pure
10675 Haskell library, pwstore-purehaskell has the exact same API, but uses only
10676 pure Haskell. It is about 25 times slower than this package, but still quite
10678 (license license:bsd-3)))
10680 (define-public ghc-random
10682 (name "ghc-random")
10684 (outputs '("out" "static" "doc"))
10688 (uri (string-append
10689 "https://hackage.haskell.org/package/random/random-"
10693 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
10694 (build-system haskell-build-system)
10695 (home-page "https://hackage.haskell.org/package/random")
10696 (synopsis "Random number library")
10697 (description "This package provides a basic random number generation
10698 library, including the ability to split random number generators.")
10699 (license license:bsd-3)))
10701 (define-public ghc-raw-strings-qq
10703 (name "ghc-raw-strings-qq")
10708 (uri (string-append "https://hackage.haskell.org/package/"
10709 "raw-strings-qq/raw-strings-qq-"
10710 version ".tar.gz"))
10713 "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f"))))
10714 (build-system haskell-build-system)
10715 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
10716 (home-page "https://github.com/23Skidoo/raw-strings-qq")
10717 (synopsis "Raw string literals for Haskell")
10719 "This package provides a quasiquoter for raw string literals, i.e. string
10720 literals that don't recognise the standard escape sequences. Basically, they
10721 make your code more readable by freeing you from the responsibility to escape
10722 backslashes. They are useful when working with regular expressions,
10723 DOS/Windows paths and markup languages (such as XML).")
10724 (license license:bsd-3)))
10726 (define-public ghc-readable
10728 (name "ghc-readable")
10733 (uri (string-append "https://hackage.haskell.org/package/"
10734 "readable/readable-" version ".tar.gz"))
10737 "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h"))))
10738 (build-system haskell-build-system)
10739 (home-page "https://github.com/mightybyte/readable")
10740 (synopsis "Type class for reading from Text and ByteString")
10741 (description "This package provides a @code{Readable} type class for
10742 reading data types from @code{ByteString} and @code{Text}. It also
10743 includes efficient implementations for common data types.")
10744 (license license:bsd-3)))
10746 (define-public ghc-rebase
10748 (name "ghc-rebase")
10749 (version "1.3.1.1")
10753 (uri (string-append "https://hackage.haskell.org/package/"
10754 "rebase-" version "/"
10755 "rebase-" version ".tar.gz"))
10758 "0q4m2fa7wkgxs0grir8rlqwibasmi3s1x7c107ynndwfm62nzv0a"))))
10759 (build-system haskell-build-system)
10760 (outputs '("out" "static" "doc"))
10761 (inputs `(("ghc-hashable" ,ghc-hashable)
10762 ("ghc-vector" ,ghc-vector)
10763 ("ghc-unordered-containers" ,ghc-unordered-containers)
10764 ("ghc-scientific" ,ghc-scientific)
10765 ("ghc-uuid" ,ghc-uuid)
10766 ("ghc-dlist" ,ghc-dlist)
10767 ("ghc-void" ,ghc-void)
10768 ("ghc-bifunctors" ,ghc-bifunctors)
10769 ("ghc-profunctors" ,ghc-profunctors)
10770 ("ghc-contravariant" ,ghc-contravariant)
10771 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
10772 ("ghc-semigroups" ,ghc-semigroups)
10773 ("ghc-either" ,ghc-either)
10774 ("ghc-fail" ,ghc-fail)
10775 ("ghc-base-prelude" ,ghc-base-prelude)))
10776 (home-page "https://github.com/nikita-volkov/rebase")
10777 (synopsis "Progressive alternative to the base package
10779 (description "This Haskell package is intended for those who are
10780 tired of keeping long lists of dependencies to the same essential libraries
10781 in each package as well as the endless imports of the same APIs all over again.
10783 It also supports the modern tendencies in the language.
10785 To solve those problems this package does the following:
10788 @item Reexport the original APIs under the @code{Rebase} namespace.
10790 @item Export all the possible non-conflicting symbols from the
10791 @code{Rebase.Prelude} module.
10793 @item Give priority to the modern practices in the conflicting cases.
10796 The policy behind the package is only to reexport the non-ambiguous and
10797 non-controversial APIs, which the community has obviously settled on.
10798 The package is intended to rapidly evolve with the contribution from
10799 the community, with the missing features being added with pull-requests.")
10800 (license license:expat)))
10802 (define-public ghc-reducers
10804 (name "ghc-reducers")
10809 (uri (string-append
10810 "https://hackage.haskell.org/package/reducers/reducers-"
10815 "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki"))))
10816 (build-system haskell-build-system)
10818 `(("ghc-fingertree" ,ghc-fingertree)
10819 ("ghc-hashable" ,ghc-hashable)
10820 ("ghc-unordered-containers" ,ghc-unordered-containers)
10821 ("ghc-semigroupoids" ,ghc-semigroupoids)
10822 ("ghc-semigroups" ,ghc-semigroups)))
10823 (home-page "https://github.com/ekmett/reducers/")
10824 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
10825 (description "This library provides various semigroups, specialized
10826 containers and a general map/reduce framework for Haskell.")
10827 (license license:bsd-3)))
10829 (define-public ghc-refact
10831 (name "ghc-refact")
10832 (version "0.3.0.2")
10836 (uri (string-append "https://hackage.haskell.org/package/"
10838 version ".tar.gz"))
10841 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
10842 (build-system haskell-build-system)
10843 (home-page "https://hackage.haskell.org/package/refact")
10844 (synopsis "Specify refactorings to perform with apply-refact")
10846 "This library provides a datatype which can be interpreted by
10847 @code{apply-refact}. It exists as a separate library so that applications can
10848 specify refactorings without depending on GHC.")
10849 (license license:bsd-3)))
10851 (define-public ghc-reflection
10853 (name "ghc-reflection")
10858 (uri (string-append
10859 "https://hackage.haskell.org/package/reflection/reflection-"
10864 "0xr947nj1vww5b8fwqmypxm3y3j5sxl4z8wnf834f83jzfzyjbi7"))))
10865 (build-system haskell-build-system)
10866 (inputs `(("ghc-tagged" ,ghc-tagged)))
10868 `(("ghc-hspec" ,ghc-hspec)
10869 ("ghc-quickcheck" ,ghc-quickcheck)
10870 ("hspec-discover" ,hspec-discover)))
10871 (home-page "https://github.com/ekmett/reflection")
10872 (synopsis "Reify arbitrary terms into types that can be reflected back
10874 (description "This package addresses the 'configuration problem' which is
10875 propagating configurations that are available at run-time, allowing multiple
10876 configurations to coexist without resorting to mutable global variables or
10877 @code{System.IO.Unsafe.unsafePerformIO}.")
10878 (license license:bsd-3)))
10880 (define-public ghc-regex
10883 (version "1.0.2.0")
10887 (uri (string-append "https://hackage.haskell.org/package/regex/"
10888 "regex-" version ".tar.gz"))
10891 "1f2z025hif1fr24b5khq3qxxyvpxrnhyx8xmbms332arw28rpkda"))))
10892 (build-system haskell-build-system)
10895 (modify-phases %standard-phases
10896 (add-after 'unpack 'relax-dependencies
10898 (substitute* "regex.cabal"
10899 (("base-compat.*>=.*0.6.*")
10900 "base-compat >= 0.6\n")
10901 (("template-haskell.*>=.*2.7.*")
10902 "template-haskell >= 2.7\n"))
10905 `(("ghc-base-compat" ,ghc-base-compat)
10906 ("ghc-hashable" ,ghc-hashable)
10907 ("ghc-regex-base" ,ghc-regex-base)
10908 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
10909 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
10910 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
10911 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
10912 ("ghc-unordered-containers" ,ghc-unordered-containers)
10913 ("ghc-utf8-string" ,ghc-utf8-string)))
10914 (home-page "http://regex.uk")
10915 (synopsis "Toolkit for regex-base")
10917 "This package provides a regular expression toolkit for @code{regex-base}
10918 with compile-time checking of regular expression syntax, data types for
10919 matches and captures, a text replacement toolkit, portable options, high-level
10920 AWK-like tools for building text processing apps, regular expression macros
10921 with parsers and test bench, comprehensive documentation, tutorials and
10922 copious examples.")
10923 (license license:bsd-3)))
10925 (define-public ghc-regex-applicative
10927 (name "ghc-regex-applicative")
10928 (version "0.3.3.1")
10932 (uri (string-append
10933 "https://hackage.haskell.org/package/regex-applicative/"
10934 "regex-applicative-" version ".tar.gz"))
10937 "0p0anx5vamrhrdvviwkh2zn6pa3pv2bjb7nfyc7dvz2q7g14y1lg"))))
10938 (build-system haskell-build-system)
10940 `(("ghc-smallcheck" ,ghc-smallcheck)
10941 ("ghc-tasty" ,ghc-tasty)
10942 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
10943 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
10944 (home-page "https://github.com/feuerbach/regex-applicative")
10945 (synopsis "Regex-based parsing with applicative interface")
10947 "@code{regex-applicative} is a Haskell library for parsing using
10948 regular expressions. Parsers can be built using Applicative interface.")
10949 (license license:expat)))
10951 (define-public ghc-regex-base
10953 (name "ghc-regex-base")
10958 (uri (string-append
10959 "https://hackage.haskell.org/package/regex-base/regex-base-"
10964 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
10965 (build-system haskell-build-system)
10967 "https://sourceforge.net/projects/lazy-regex")
10968 (synopsis "Replaces/Enhances Text.Regex")
10969 (description "@code{Text.Regex.Base} provides the interface API for
10970 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
10971 (license license:bsd-3)))
10973 (define-public ghc-regex-compat
10975 (name "ghc-regex-compat")
10980 (uri (string-append
10981 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
10986 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
10987 (build-system haskell-build-system)
10989 `(("ghc-regex-base" ,ghc-regex-base)
10990 ("ghc-regex-posix" ,ghc-regex-posix)))
10991 (home-page "https://sourceforge.net/projects/lazy-regex")
10992 (synopsis "Replaces/Enhances Text.Regex")
10993 (description "This library provides one module layer over
10994 @code{regex-posix} to replace @code{Text.Regex}.")
10995 (license license:bsd-3)))
10997 (define-public ghc-regex-compat-tdfa
10999 (name "ghc-regex-compat-tdfa")
11000 (version "0.95.1.4")
11004 (uri (string-append
11005 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
11006 version ".tar.gz"))
11009 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
11010 (build-system haskell-build-system)
11012 `(("ghc-regex-base" ,ghc-regex-base)
11013 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
11014 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
11015 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
11017 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
11018 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
11019 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
11021 (license license:bsd-3)))
11023 (define-public ghc-regex-pcre
11025 (name "ghc-regex-pcre")
11029 (uri (string-append "https://hackage.haskell.org/package/"
11030 "regex-pcre/regex-pcre-" version ".tar.gz"))
11033 "1h16w994g9s62iwkdqa7bar2n9cfixmkzz2rm8svm960qr57valf"))))
11034 (build-system haskell-build-system)
11036 `(#:extra-directories ("pcre")))
11038 `(("ghc-regex-base" ,ghc-regex-base)
11040 (home-page "https://hackage.haskell.org/package/regex-pcre")
11041 (synopsis "Enhancement of the builtin Text.Regex library")
11043 "This package is an enhancement of the @code{Text.Regex} library.
11044 It wraps the @code{PCRE} C library providing Perl-compatible regular
11046 (license license:bsd-3)))
11048 (define-public ghc-regex-pcre-builtin
11050 (name "ghc-regex-pcre-builtin")
11051 (version "0.94.5.8.8.35")
11054 (uri (string-append "https://hackage.haskell.org/package/"
11055 "regex-pcre-builtin/regex-pcre-builtin-"
11056 version ".tar.gz"))
11059 "1s755qdg1mxrf125sh83bsc5kjkrj8fkq8wf6dg1jan86c7p7gl4"))))
11060 (build-system haskell-build-system)
11062 `(("ghc-regex-base" ,ghc-regex-base)))
11063 (home-page "https://hackage.haskell.org/package/regex-pcre-builtin")
11064 (synopsis "Enhancement of the builtin Text.Regex library")
11066 "This package is an enhancement of the @code{Text.Regex} library,
11067 providing the PCRE backend to accompany regex-base, with bundled code from
11068 @url{https://www.pcre.org}.")
11069 (license license:bsd-3)))
11071 (define-public ghc-regex-posix
11073 (name "ghc-regex-posix")
11078 (uri (string-append
11079 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
11084 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
11085 (build-system haskell-build-system)
11087 `(("ghc-regex-base" ,ghc-regex-base)))
11088 (home-page "https://sourceforge.net/projects/lazy-regex")
11089 (synopsis "POSIX regular expressions for Haskell")
11090 (description "This library provides the POSIX regex backend used by the
11091 Haskell library @code{regex-base}.")
11092 (license license:bsd-3)))
11094 (define-public ghc-regex-tdfa
11096 (name "ghc-regex-tdfa")
11097 (version "1.2.3.2")
11101 (uri (string-append
11102 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
11103 version ".tar.gz"))
11106 "03yhpqrqz977nwlnhnyz9dacnbzw8xb6j18h365rkgmbc05sb3hf"))))
11107 (build-system haskell-build-system)
11108 (outputs '("out" "static" "doc"))
11110 `(("ghc-regex-base" ,ghc-regex-base)))
11111 (home-page "https://github.com/haskell-hvr/regex-tdfa")
11112 (synopsis "POSIX extended regular expressions in Haskell.")
11114 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
11115 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
11116 inspired by libtre.")
11117 (license license:bsd-3)))
11119 (define-public ghc-regex-tdfa-text
11121 (name "ghc-regex-tdfa-text")
11122 (version "1.0.0.3")
11126 (uri (string-append
11127 "https://hackage.haskell.org/package/regex-tdfa-text/"
11128 "regex-tdfa-text-" version ".tar.gz"))
11131 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
11132 (build-system haskell-build-system)
11134 `(("ghc-regex-base" ,ghc-regex-base)
11135 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
11137 "https://hackage.haskell.org/package/regex-tdfa-text")
11138 (synopsis "Text interface for regex-tdfa")
11140 "This provides an extra text interface for regex-tdfa.")
11141 (license license:bsd-3)))
11143 (define-public ghc-repline
11145 (name "ghc-repline")
11146 (version "0.2.0.0")
11150 (uri (string-append
11151 "mirror://hackage/package/repline/repline-"
11156 "1ph21kbbanlcs8n5lwk16g9vqkb98mkbz5mzwrp8j2rls2921izc"))))
11157 (build-system haskell-build-system)
11158 (home-page "https://github.com/sdiehl/repline")
11159 (synopsis "Haskeline wrapper for GHCi-like REPL interfaces")
11161 "Haskeline wrapper for GHCi-like REPL interfaces. Composable with
11162 normal mtl transformers.")
11163 (license license:expat)))
11165 (define-public ghc-repline-0.3
11167 (inherit ghc-repline)
11168 (version "0.3.0.0")
11172 (uri (string-append
11173 "mirror://hackage/package/repline/repline-"
11178 "0niihfyggg2qisadg7w49cr5k5qyyynia93iip0ng2bbmzwi88g8"))))
11180 `(("ghc-exceptions" ,ghc-exceptions)
11181 ("ghc-haskeline" ,ghc-haskeline-0.8)))))
11183 (define-public ghc-rerebase
11185 (name "ghc-rerebase")
11186 (version "1.3.1.1")
11190 (uri (string-append
11191 "https://hackage.haskell.org/package/rerebase/rerebase-"
11192 version ".tar.gz"))
11195 "1jbqif6k249rkknm2zwk8v8jil3kgi9ar53358v8l4ffx346rm82"))))
11196 (build-system haskell-build-system)
11197 (outputs '("out" "static" "doc"))
11199 `(("ghc-rebase" ,ghc-rebase)))
11200 (home-page "https://github.com/nikita-volkov/rerebase")
11201 (synopsis "Reexports from ``base'' with many other standard libraries")
11202 (description "A rich drop-in replacement for @code{base}. For details and
11203 documentation please visit @uref{https://github.com/nikita-volkov/rerebase,
11204 the project's home page}.")
11205 (license license:expat)))
11207 (define-public ghc-resolv
11209 (name "ghc-resolv")
11210 (version "0.1.1.2")
11214 (uri (string-append
11215 "https://hackage.haskell.org/package/resolv/resolv-"
11216 version ".tar.gz"))
11219 "0wczdy3vmpfcfwjn1m95bygc5d83m97xxmavhdvy5ayn8c402fp4"))))
11220 (build-system haskell-build-system)
11223 (modify-phases %standard-phases
11224 (add-before 'configure 'update-constraints
11226 (substitute* "resolv.cabal"
11227 (("tasty >= 1\\.1 && < 1\\.2")
11228 "tasty >= 1.1 && < 1.3"))
11231 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)))
11233 `(("ghc-tasty" ,ghc-tasty)
11234 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
11235 (home-page "https://github.com/haskell/hackage-security")
11236 (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}")
11237 (description "This package implements an API for accessing the
11238 @uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)}
11239 resolver service via the standard @code{libresolv} system library (whose
11240 API is often available directly via the standard @code{libc} C library) on
11242 (license license:gpl3)))
11244 (define-public ghc-resource-pool
11246 (name "ghc-resource-pool")
11247 (version "0.2.3.2")
11251 (uri (string-append "https://hackage.haskell.org/package/"
11252 "resource-pool-" version "/"
11253 "resource-pool-" version ".tar.gz"))
11256 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
11257 (build-system haskell-build-system)
11258 (inputs `(("ghc-hashable" ,ghc-hashable)
11259 ("ghc-monad-control" ,ghc-monad-control)
11260 ("ghc-transformers-base" ,ghc-transformers-base)
11261 ("ghc-vector" ,ghc-vector)))
11262 (home-page "https://github.com/bos/pool")
11263 (synopsis "Striped resource pooling implementation in Haskell")
11264 (description "This Haskell package provides striped pooling abstraction
11265 for managing flexibly-sized collections of resources such as database
11267 (license license:bsd-3)))
11269 (define-public ghc-resourcet
11271 (name "ghc-resourcet")
11276 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
11277 "resourcet-" version ".tar.gz"))
11280 "1rfbfcv3r1h29y0yqr3x6a1s04lbc3vzm3jqnfg4f9rqp9d448qk"))))
11281 (build-system haskell-build-system)
11283 `(("ghc-transformers-base" ,ghc-transformers-base)
11284 ("ghc-monad-control" ,ghc-monad-control)
11285 ("ghc-transformers-compat" ,ghc-transformers-compat)
11286 ("ghc-mmorph" ,ghc-mmorph)
11287 ("ghc-exceptions" ,ghc-exceptions)
11288 ("ghc-unliftio-core" ,ghc-unliftio-core)))
11290 `(("ghc-lifted-base" ,ghc-lifted-base)
11291 ("ghc-hspec" ,ghc-hspec)))
11292 (home-page "https://github.com/snoyberg/conduit")
11293 (synopsis "Deterministic allocation and freeing of scarce resources")
11294 (description "ResourceT is a monad transformer which creates a region of
11295 code where you can safely allocate resources.")
11296 (license license:bsd-3)))
11298 (define-public ghc-retry
11301 (version "0.8.1.0")
11305 (uri (string-append "https://hackage.haskell.org/package/"
11306 "retry/retry-" version ".tar.gz"))
11309 "02k03r86amg1vbrsvb644342ym13d9jwkzki9sk93pdg5l8j35dj"))))
11310 (build-system haskell-build-system)
11312 `(("ghc-exceptions" ,ghc-exceptions)
11313 ("ghc-random" ,ghc-random)))
11315 `(("ghc-hunit" ,ghc-hunit)
11316 ("ghc-tasty" ,ghc-tasty)
11317 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11318 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
11319 ("ghc-hedgehog" ,ghc-hedgehog)))
11320 (home-page "https://github.com/Soostone/retry")
11321 (synopsis "Retry combinators for monadic actions that may fail")
11322 (description "This package exposes combinators that can wrap
11323 arbitrary monadic actions. They run the action and potentially retry
11324 running it with some configurable delay for a configurable number of
11325 times. The purpose is to make it easier to work with IO and especially
11326 network IO actions that often experience temporary failure and warrant
11327 retrying of the original action. For example, a database query may time
11328 out for a while, in which case we should hang back for a bit and retry
11329 the query instead of simply raising an exception.")
11330 (license license:bsd-3)))
11332 (define-public ghc-rfc5051
11334 (name "ghc-rfc5051")
11335 (version "0.1.0.4")
11339 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
11340 "rfc5051-" version ".tar.gz"))
11343 "1lxkq414ni986ciml4gbvf463fn55z299knky7pq3ixb1qislpb1"))))
11344 (build-system haskell-build-system)
11345 (home-page "https://hackage.haskell.org/package/rfc5051")
11346 (synopsis "Simple unicode collation as per RFC5051")
11348 "This library implements @code{unicode-casemap}, the simple, non
11349 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
11350 unicode collation can be done using @code{text-icu}, but that is a big
11351 dependency that depends on a large C library, and @code{rfc5051} might be
11352 better for some purposes.")
11353 (license license:bsd-3)))
11355 (define-public ghc-rio
11358 (version "0.1.12.0")
11362 (uri (string-append
11363 "https://hackage.haskell.org/package/rio/rio-"
11364 version ".tar.gz"))
11367 "0xzjkh6aavynpyskikhs8dmv0zhkiqiwz9zdn80zbd25b2182pif"))))
11368 (build-system haskell-build-system)
11370 `(("ghc-exceptions" ,ghc-exceptions)
11371 ("ghc-hashable" ,ghc-hashable)
11372 ("ghc-microlens" ,ghc-microlens)
11373 ("ghc-primitive" ,ghc-primitive)
11374 ("ghc-typed-process" ,ghc-typed-process)
11375 ("ghc-unliftio" ,ghc-unliftio)
11376 ("ghc-unordered-containers" ,ghc-unordered-containers)
11377 ("ghc-vector" ,ghc-vector)))
11379 `(("ghc-hspec" ,ghc-hspec)
11380 ("hspec-discover" ,hspec-discover)))
11381 (home-page "https://github.com/commercialhaskell/rio#readme")
11382 (synopsis "A standard library for Haskell")
11383 (description "This package works as a prelude replacement for Haskell,
11384 providing more functionality and types out of the box than the standard
11385 prelude (such as common data types like @code{ByteString} and
11386 @code{Text}), as well as removing common ``gotchas'', like partial
11387 functions and lazy I/O. The guiding principle here is:
11389 @item If something is safe to use in general and has no expected naming
11390 conflicts, expose it.
11391 @item If something should not always be used, or has naming conflicts,
11392 expose it from another module in the hierarchy.
11394 (license license:expat)))
11396 (define-public ghc-safe
11403 (uri (string-append
11404 "https://hackage.haskell.org/package/safe/safe-"
11409 "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr"))))
11410 (build-system haskell-build-system)
11412 `(("ghc-quickcheck" ,ghc-quickcheck)))
11413 (home-page "https://github.com/ndmitchell/safe#readme")
11414 (synopsis "Library of safe (exception free) functions")
11415 (description "This library provides wrappers around @code{Prelude} and
11416 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
11418 (license license:bsd-3)))
11420 (define-public ghc-safe-exceptions
11422 (name "ghc-safe-exceptions")
11423 (version "0.1.7.0")
11427 (uri (string-append "https://hackage.haskell.org/package/"
11428 "safe-exceptions/safe-exceptions-"
11429 version ".tar.gz"))
11432 "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q"))))
11433 (build-system haskell-build-system)
11436 ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32")))
11437 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
11439 `(("ghc-hspec" ,ghc-hspec)
11440 ("ghc-void" ,ghc-void)
11441 ("hspec-discover" ,hspec-discover)))
11442 (home-page "https://github.com/fpco/safe-exceptions")
11443 (synopsis "Safe, consistent, and easy exception handling")
11444 (description "Runtime exceptions - as exposed in @code{base} by the
11445 @code{Control.Exception} module - have long been an intimidating part of the
11446 Haskell ecosystem. This package is intended to overcome this. It provides a
11447 safe and simple API on top of the existing exception handling machinery. The
11448 API is equivalent to the underlying implementation in terms of power but
11449 encourages best practices to minimize the chances of getting the exception
11451 (license license:expat)))
11453 (define-public ghc-safeio
11455 (name "ghc-safeio")
11456 (version "0.0.5.0")
11460 (uri (string-append "https://hackage.haskell.org/package/safeio/"
11461 "safeio-" version ".tar.gz"))
11464 "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm"))))
11465 (build-system haskell-build-system)
11467 `(("ghc-conduit" ,ghc-conduit)
11468 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
11469 ("ghc-exceptions" ,ghc-exceptions)
11470 ("ghc-resourcet" ,ghc-resourcet)))
11472 `(("ghc-hunit" ,ghc-hunit)
11473 ("ghc-test-framework" ,ghc-test-framework)
11474 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11475 ("ghc-test-framework-th" ,ghc-test-framework-th)))
11476 (home-page "https://github.com/luispedro/safeio")
11477 (synopsis "Write output to disk atomically")
11479 "This package implements utilities to perform atomic output so as to
11480 avoid the problem of partial intermediate files.")
11481 (license license:expat)))
11483 (define-public ghc-safesemaphore
11485 (name "ghc-safesemaphore")
11490 (uri (string-append "https://hackage.haskell.org/package/"
11491 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
11494 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
11495 (build-system haskell-build-system)
11497 `(("ghc-hunit" ,ghc-hunit)))
11498 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
11499 (synopsis "Exception safe semaphores")
11500 (description "This library provides exception safe semaphores that can be
11501 used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
11502 are not exception safe and can be broken by @code{killThread}.")
11503 (license license:bsd-3)))
11505 (define-public ghc-sandi
11512 (uri (string-append
11513 "https://hackage.haskell.org/package/sandi/sandi-"
11514 version ".tar.gz"))
11517 "1ndgai8idlxyccvkz5zsgq06v58blc30i6hkky5b1sf5x6gs2h29"))))
11518 (build-system haskell-build-system)
11520 `(("ghc-stringsearch" ,ghc-stringsearch)
11521 ("ghc-conduit" ,ghc-conduit)
11522 ("ghc-exceptions" ,ghc-exceptions)
11523 ("ghc-hunit" ,ghc-hunit)
11524 ("ghc-tasty" ,ghc-tasty)
11525 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11526 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11527 ("ghc-tasty-th" ,ghc-tasty-th)))
11528 (home-page "https://hackage.haskell.org/package/sandi")
11529 (synopsis "Data encoding library")
11530 (description "Reasonably fast data encoding library.")
11531 (license license:bsd-3)))
11533 (define-public ghc-say
11536 (version "0.1.0.1")
11540 (uri (string-append
11541 "https://hackage.haskell.org/package/say/say-"
11546 "1r5kffjfwpas45g74sip8glrj1m9nygrnxjm7xgw898rq9pnafgn"))))
11547 (build-system haskell-build-system)
11549 `(("ghc-hspec" ,ghc-hspec)
11550 ("hspec-discover" ,hspec-discover)
11551 ("ghc-unliftio" ,ghc-unliftio)))
11552 (home-page "https://github.com/fpco/say")
11554 "Send textual messages to a Handle in a thread-friendly way")
11556 "A thread safe API to write a line of textual data to a Handle, such
11557 as sending some messages to the terminal - that has the following properties:
11559 @item Properly handle character encoding settings on the Handle
11560 @item For reasonably sized messages, ensure that the entire message is written
11561 in one chunk to avoid interleaving data with other threads
11562 @item Avoid unnecessary memory allocations and copies
11563 @item Minimize locking.
11565 (license license:expat)))
11567 (define-public ghc-scientific
11569 (name "ghc-scientific")
11570 (version "0.3.6.2")
11574 (uri (string-append
11575 "https://hackage.haskell.org/package/scientific/scientific-"
11580 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
11581 (build-system haskell-build-system)
11583 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
11584 ("ghc-hashable" ,ghc-hashable)
11585 ("ghc-primitive" ,ghc-primitive)))
11587 `(("ghc-tasty" ,ghc-tasty)
11588 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
11589 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11590 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
11591 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11592 ("ghc-smallcheck" ,ghc-smallcheck)
11593 ("ghc-quickcheck" ,ghc-quickcheck)))
11594 (home-page "https://github.com/basvandijk/scientific")
11595 (synopsis "Numbers represented using scientific notation")
11596 (description "This package provides @code{Data.Scientific}, which provides
11597 the number type @code{Scientific}. Scientific numbers are arbitrary precision
11598 and space efficient. They are represented using
11599 @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
11601 (license license:bsd-3)))
11603 (define-public ghc-scientific-bootstrap
11605 (inherit ghc-scientific)
11606 (name "ghc-scientific-bootstrap")
11607 (arguments `(#:tests? #f))
11609 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
11610 ("ghc-hashable" ,ghc-hashable)
11611 ("ghc-primitive" ,ghc-primitive)))
11612 (native-inputs '())
11613 (properties '((hidden? #t)))))
11615 (define-public ghc-sdl
11618 (version "0.6.7.0")
11622 (uri (string-append
11623 "https://hackage.haskell.org/package/SDL/SDL-"
11628 "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq"))))
11629 (build-system haskell-build-system)
11632 (home-page "https://hackage.haskell.org/package/SDL")
11633 (synopsis "LibSDL for Haskell")
11634 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
11635 multimedia library designed to provide low level access to audio, keyboard,
11636 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
11637 by MPEG playback software, emulators, and many popular games, including the
11638 award winning Linux port of \"Civilization: Call To Power.\"")
11639 (license license:bsd-3)))
11641 (define-public ghc-sdl2
11644 (version "2.5.0.0")
11648 (uri (string-append "https://hackage.haskell.org/package/"
11649 "sdl2/sdl2-" version ".tar.gz"))
11652 "1x368yhdd55b3cvx8dvj1sj6nzygzigbhrwhssjs4k0rcxlwqfw8"))))
11653 (build-system haskell-build-system)
11654 (arguments '(#:tests? #f)) ; tests require graphical environment
11656 `(("ghc-exceptions" ,ghc-exceptions)
11657 ("ghc-linear" ,ghc-linear)
11658 ("ghc-statevar" ,ghc-statevar)
11659 ("ghc-vector" ,ghc-vector)
11662 `(("ghc-weigh" ,ghc-weigh)
11663 ("pkg-config" ,pkg-config)))
11664 (home-page "https://hackage.haskell.org/package/sdl2")
11665 (synopsis "High- and low-level bindings to the SDL library")
11667 "This package contains bindings to the SDL 2 library, in both high- and
11668 low-level forms. The @code{SDL} namespace contains high-level bindings, where
11669 enumerations are split into sum types, and we perform automatic
11670 error-checking. The @code{SDL.Raw} namespace contains an almost 1-1
11671 translation of the C API into Haskell FFI calls. As such, this does not
11672 contain sum types nor error checking. Thus this namespace is suitable for
11673 building your own abstraction over SDL, but is not recommended for day-to-day
11675 (license license:bsd-3)))
11677 (define-public ghc-sdl2-image
11679 (name "ghc-sdl2-image")
11684 (uri (string-append "https://hackage.haskell.org/package/sdl2-image/"
11685 "sdl2-image-" version ".tar.gz"))
11688 "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr"))))
11689 (build-system haskell-build-system)
11691 `(("ghc-sdl2" ,ghc-sdl2)
11692 ("sdl2-image" ,sdl2-image)))
11694 `(("pkg-config" ,pkg-config)))
11695 (home-page "https://hackage.haskell.org/package/sdl2-image")
11696 (synopsis "Bindings to SDL2_image")
11697 (description "This package provides Haskell bindings to
11698 @code{SDL2_image}.")
11699 (license license:expat)))
11701 (define-public ghc-sdl2-mixer
11703 (name "ghc-sdl2-mixer")
11708 (uri (string-append "https://hackage.haskell.org/package/sdl2-mixer/"
11709 "sdl2-mixer-" version ".tar.gz"))
11712 "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g"))))
11713 (build-system haskell-build-system)
11715 `(("ghc-data-default-class" ,ghc-data-default-class)
11716 ("ghc-lifted-base" ,ghc-lifted-base)
11717 ("ghc-monad-control" ,ghc-monad-control)
11718 ("ghc-sdl2" ,ghc-sdl2)
11719 ("ghc-vector" ,ghc-vector)
11720 ("sdl2-mixer" ,sdl2-mixer)))
11722 `(("pkg-config" ,pkg-config)))
11723 (home-page "https://hackage.haskell.org/package/sdl2-mixer")
11724 (synopsis "Bindings to SDL2 mixer")
11725 (description "This package provides Haskell bindings to
11726 @code{SDL2_mixer}.")
11727 (license license:bsd-3)))
11729 (define-public ghc-sdl-image
11731 (name "ghc-sdl-image")
11732 (version "0.6.2.0")
11736 (uri (string-append
11737 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
11742 "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1"))))
11743 (build-system haskell-build-system)
11745 `(#:configure-flags
11746 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
11747 (sdl-image-include (string-append sdl-image "/include/SDL")))
11748 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
11750 `(("ghc-sdl" ,ghc-sdl)
11751 ("sdl-image" ,sdl-image)))
11752 (home-page "https://hackage.haskell.org/package/SDL-image")
11753 (synopsis "Haskell bindings to libSDL_image")
11754 (description "SDL_image is an image file loading library. It loads images
11755 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
11756 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
11757 (license license:bsd-3)))
11759 (define-public ghc-sdl-mixer
11761 (name "ghc-sdl-mixer")
11762 (version "0.6.3.0")
11766 (uri (string-append
11767 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
11772 "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r"))))
11773 (build-system haskell-build-system)
11775 `(#:configure-flags
11776 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
11777 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
11778 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
11780 `(("ghc-sdl" ,ghc-sdl)
11781 ("sdl-mixer" ,sdl-mixer)))
11782 (home-page "https://hackage.haskell.org/package/SDL-mixer")
11783 (synopsis "Haskell bindings to libSDL_mixer")
11784 (description "SDL_mixer is a sample multi-channel audio mixer library. It
11785 supports any number of simultaneously playing channels of 16 bit stereo audio,
11786 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
11787 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
11788 (license license:bsd-3)))
11790 (define-public ghc-securemem
11792 (name "ghc-securemem")
11797 (uri (string-append "https://hackage.haskell.org/package/"
11798 "securemem-" version "/"
11799 "securemem-" version ".tar.gz"))
11802 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
11803 (build-system haskell-build-system)
11804 (inputs `(("ghc-byteable" ,ghc-byteable)
11805 ("ghc-memory" ,ghc-memory)))
11806 (home-page "https://github.com/vincenthz/hs-securemem")
11807 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
11809 (description "SecureMem is similar to ByteString, except that it provides
11810 a memory chunk that will be auto-scrubbed after it run out of scope.")
11811 (license license:bsd-3)))
11813 (define-public ghc-semialign
11815 (name "ghc-semialign")
11820 (uri (string-append
11821 "https://hackage.haskell.org/package/semialign/semialign-"
11826 "004x0a80sqqdgvsyk4z0nasxpi6z3g1d8kgwj804bj9ka8dlc75m"))))
11827 (build-system haskell-build-system)
11829 `(("ghc-these" ,ghc-these)
11830 ("ghc-base-compat" ,ghc-base-compat)
11831 ("ghc-hashable" ,ghc-hashable)
11832 ("ghc-tagged" ,ghc-tagged)
11833 ("ghc-unordered-containers" ,ghc-unordered-containers)
11834 ("ghc-vector" ,ghc-vector)
11835 ("ghc-semigroupoids" ,ghc-semigroupoids)))
11839 "0qnqnyfng4kwy2h2anrcy5id2ijnawava3zcc5h5b8ri1y6ks6zi")))
11841 "https://github.com/isomorphism/these")
11843 "Align and Zip type-classes from the common Semialign ancestor ")
11845 "The major use of @code{These} of this is provided by the
11846 @code{align} member of @code{Semialign} class, representing a
11847 generalized notion of \"zipping with padding\" that combines
11848 structures without truncating to the size of the smaller input. It
11849 turns out that @code{zip} operation fits well the @code{Semialign}
11850 class, forming lattice-like structure.")
11851 (license license:bsd-3)))
11853 (define-public ghc-semigroupoids
11855 (name "ghc-semigroupoids")
11860 (uri (string-append
11861 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
11866 "016hc4imr9l4szs3p7f1aahvxr5wv4clvr3qzrm3nibssg5vrs61"))))
11867 (build-system haskell-build-system)
11868 (outputs '("out" "static" "doc"))
11870 `(("ghc-base-orphans" ,ghc-base-orphans)
11871 ("ghc-transformers-compat" ,ghc-transformers-compat)
11872 ("ghc-bifunctors" ,ghc-bifunctors)
11873 ("ghc-comonad" ,ghc-comonad)
11874 ("ghc-contravariant" ,ghc-contravariant)
11875 ("ghc-distributive" ,ghc-distributive)
11876 ("ghc-hashable" ,ghc-hashable)
11877 ("ghc-semigroups" ,ghc-semigroups)
11878 ("ghc-tagged" ,ghc-tagged)
11879 ("ghc-unordered-containers" ,ghc-unordered-containers)))
11881 `(("cabal-doctest" ,cabal-doctest)
11882 ("ghc-doctest" ,ghc-doctest)))
11883 (home-page "https://github.com/ekmett/semigroupoids")
11884 (synopsis "Semigroupoids operations for Haskell")
11885 (description "This library provides a wide array of (semi)groupoids and
11886 operations for working with them. A @code{Semigroupoid} is a @code{Category}
11887 without the requirement of identity arrows for every object in the category.
11888 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
11889 Finally, to work with these weaker structures it is beneficial to have
11890 containers that can provide stronger guarantees about their contents, so
11891 versions of @code{Traversable} and @code{Foldable} that can be folded with
11892 just a @code{Semigroup} are added.")
11893 (license license:bsd-3)))
11895 (define-public ghc-semigroups
11897 (name "ghc-semigroups")
11902 (uri (string-append
11903 "https://hackage.haskell.org/package/semigroups/semigroups-"
11908 "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb"))))
11909 (build-system haskell-build-system)
11911 `(("ghc-nats" ,ghc-nats)
11912 ("ghc-tagged" ,ghc-tagged)
11913 ("ghc-unordered-containers" ,ghc-unordered-containers)
11914 ("ghc-hashable" ,ghc-hashable)))
11915 (home-page "https://github.com/ekmett/semigroups/")
11916 (synopsis "Semigroup operations for Haskell")
11917 (description "This package provides semigroups for Haskell. In
11918 mathematics, a semigroup is an algebraic structure consisting of a set
11919 together with an associative binary operation. A semigroup generalizes a
11920 monoid in that there might not exist an identity element. It
11921 also (originally) generalized a group (a monoid with all inverses) to a type
11922 where every element did not have to have an inverse, thus the name
11924 (license license:bsd-3)))
11926 (define-public ghc-semigroups-bootstrap
11928 (inherit ghc-semigroups)
11929 (name "ghc-semigroups-bootstrap")
11931 `(("ghc-nats" ,ghc-nats-bootstrap)
11932 ("ghc-tagged" ,ghc-tagged)
11933 ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap)
11934 ("ghc-hashable" ,ghc-hashable-bootstrap)))
11935 (properties '((hidden? #t)))))
11937 (define-public ghc-serialise
11939 (name "ghc-serialise")
11940 (version "0.2.1.0")
11944 (uri (string-append
11945 "mirror://hackage/package/serialise/serialise-"
11950 "19ary6ivzk8z7wcxhm860qmh7pwqj0qjqzav1h42y85l608zqgh4"))))
11951 (build-system haskell-build-system)
11953 `(("ghc-cborg" ,ghc-cborg)
11954 ("ghc-half" ,ghc-half)
11955 ("ghc-hashable" ,ghc-hashable)
11956 ("ghc-primitive" ,ghc-primitive)
11957 ("ghc-unordered-containers" ,ghc-unordered-containers)
11958 ("ghc-vector" ,ghc-vector)))
11960 `(("ghc-quickcheck" ,ghc-quickcheck)
11961 ("ghc-tasty" ,ghc-tasty)
11962 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11963 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11964 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
11967 ("1" "1rknhad1i8bpknsnphmcmb6dnb48c2p2c13ia2qqch3hkhsvfpr6")))
11968 (home-page "https://github.com/well-typed/cborg")
11969 (synopsis "Binary serialisation library for Haskell values")
11971 "This package (formerly binary-serialise-cbor) provides pure,
11972 efficient serialization of Haskell values directly into ByteStrings for
11973 storage or transmission purposes. By providing a set of type class instances,
11974 you can also serialise any custom data type you have as well.
11976 The underlying binary format used is the 'Concise Binary Object
11977 Representation', or CBOR, specified in RFC 7049. As a result, serialised
11978 Haskell values have implicit structure outside of the Haskell program itself,
11979 meaning they can be inspected or analyzed without custom tools.
11981 An implementation of the standard bijection between CBOR and JSON is
11982 provided by the https://hackage.haskell.org/package/cborg-json
11983 package. Also see https://hackage.haskell.org/package/cbor-tool for a
11984 convenient command-line utility for working with CBOR data.")
11985 (license license:bsd-3)))
11987 (define-public ghc-setenv
11989 (name "ghc-setenv")
11990 (version "0.1.1.3")
11994 (uri (string-append
11995 "https://hackage.haskell.org/package/setenv/setenv-"
12000 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
12001 (build-system haskell-build-system)
12002 (home-page "https://hackage.haskell.org/package/setenv")
12003 (synopsis "Library for setting environment variables")
12004 (description "This package provides a Haskell library for setting
12005 environment variables.")
12006 (license license:expat)))
12008 (define-public ghc-setlocale
12010 (name "ghc-setlocale")
12011 (version "1.0.0.9")
12014 (uri (string-append
12015 "https://hackage.haskell.org/package/setlocale-"
12016 version "/setlocale-" version ".tar.gz"))
12019 "18b6xafspzxrmz5m9r9nzy3z053crqi59xc8n8aqd4gw0pvqdcrv"))))
12020 (build-system haskell-build-system)
12021 (home-page "https://hackage.haskell.org/package/setlocale")
12022 (synopsis "Haskell bindings to setlocale")
12023 (description "This package provides Haskell bindings to the
12024 @code{setlocale} C function.")
12025 (license license:bsd-3)))
12027 (define-public ghc-shakespeare
12029 (name "ghc-shakespeare")
12034 (uri (string-append "https://hackage.haskell.org/package/"
12035 "shakespeare-" version "/"
12036 "shakespeare-" version ".tar.gz"))
12039 "1mc1a0vv070gcawwcx6vzpj6gpfh1qnlqrndiyfic3p500y656vh"))))
12040 (build-system haskell-build-system)
12041 (inputs `(("ghc-aeson" ,ghc-aeson)
12042 ("ghc-blaze-markup" ,ghc-blaze-markup)
12043 ("ghc-blaze-html" ,ghc-blaze-html)
12044 ("ghc-exceptions" ,ghc-exceptions)
12045 ("ghc-vector" ,ghc-vector)
12046 ("ghc-unordered-containers" ,ghc-unordered-containers)
12047 ("ghc-scientific" ,ghc-scientific)))
12048 (native-inputs `(("ghc-hspec" ,ghc-hspec)
12049 ("ghc-hunit" ,ghc-hunit)
12050 ("hspec-discover" ,hspec-discover)))
12051 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
12052 (synopsis "Family of type-safe template languages for Haskell")
12053 (description "This Haskell package provides a family of type-safe
12054 templates with simple variable interpolation. Shakespeare templates can
12055 be used inline with a quasi-quoter or in an external file and it
12056 interpolates variables according to the type being inserted.")
12057 (license license:expat)))
12059 (define-public ghc-shelly
12061 (name "ghc-shelly")
12066 (uri (string-append
12067 "https://hackage.haskell.org/package/shelly/shelly-"
12068 version ".tar.gz"))
12071 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
12072 (build-system haskell-build-system)
12074 `(("ghc-unix-compat" ,ghc-unix-compat)
12075 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
12076 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
12077 ("ghc-monad-control" ,ghc-monad-control)
12078 ("ghc-lifted-base" ,ghc-lifted-base)
12079 ("ghc-lifted-async" ,ghc-lifted-async)
12080 ("ghc-exceptions" ,ghc-exceptions)
12081 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
12082 ("ghc-async" ,ghc-async)
12083 ("ghc-transformers-base" ,ghc-transformers-base)
12084 ("ghc-hunit" ,ghc-hunit)
12085 ("ghc-hspec" ,ghc-hspec)
12086 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
12087 (home-page "https://github.com/yesodweb/Shelly.hs")
12088 (synopsis "Shell-like (systems) programming in Haskell")
12090 "Shelly provides convenient systems programming in Haskell, similar in
12091 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
12092 (license license:bsd-3)))
12094 (define-public ghc-silently
12096 (name "ghc-silently")
12097 (version "1.2.5.1")
12101 (uri (string-append
12102 "https://hackage.haskell.org/package/silently/silently-"
12107 "1lgs1gsr5dp0x21diqn4l03fxgai2kgdmj85gqp0iz3zykvbmjbz"))))
12108 (build-system haskell-build-system)
12109 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
12111 ;; `(("ghc-temporary" ,ghc-temporary)))
12112 (home-page "https://github.com/hspec/silently")
12113 (synopsis "Prevent writing to stdout")
12114 (description "This package provides functions to prevent or capture
12115 writing to stdout and other handles.")
12116 (license license:bsd-3)))
12118 (define-public ghc-simple-reflect
12120 (name "ghc-simple-reflect")
12125 (uri (string-append
12126 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
12131 "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7"))))
12132 (build-system haskell-build-system)
12134 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
12136 "Simple reflection of expressions containing variables")
12138 "This package allows simple reflection of expressions containing
12139 variables. Reflection here means that a Haskell expression is turned into a
12140 string. The primary aim of this package is teaching and understanding; there
12141 are no options for manipulating the reflected expressions beyond showing
12143 (license license:bsd-3)))
12145 (define-public ghc-simple-sendfile
12147 (name "ghc-simple-sendfile")
12152 (uri (string-append "https://hackage.haskell.org/package/"
12153 "simple-sendfile-" version "/"
12154 "simple-sendfile-" version ".tar.gz"))
12157 "112j0qfsjazf9wg1zywf7hjybgsiywk9wkm27yi8xzv27hmlv1mn"))))
12158 (build-system haskell-build-system)
12160 `(("ghc-conduit" ,ghc-conduit)
12161 ("ghc-conduit-extra" ,ghc-conduit-extra)
12162 ("ghc-network" ,ghc-network)
12163 ("ghc-resourcet" ,ghc-resourcet)))
12165 `(("ghc-hspec" ,ghc-hspec)
12166 ("hspec-discover" ,hspec-discover)))
12167 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
12168 (synopsis "Cross platform library for the sendfile system call")
12169 (description "This library tries to call minimum system calls which
12170 are the bottleneck of web servers.")
12171 (license license:bsd-3)))
12173 (define-public ghc-size-based
12175 (name "ghc-size-based")
12176 (version "0.1.2.0")
12180 (uri (string-append "https://hackage.haskell.org/package/"
12181 "size-based/size-based-" version ".tar.gz"))
12184 "06hmlic0n73ncwlkpx49xlv09bzsrr27ncnp5byhzlknak2gd7vp"))))
12185 (build-system haskell-build-system)
12187 `(("ghc-dictionary-sharing" ,ghc-dictionary-sharing)
12188 ("ghc-testing-type-modifiers" ,ghc-testing-type-modifiers)
12189 ("ghc-semigroups" ,ghc-semigroups)))
12192 ("1" "0kax1ypjyglkn6iff1x4yz12y7f2n249m95xvdhrc63hsa4xlcqv")))
12193 (home-page "https://hackage.haskell.org/package/size-based")
12194 (synopsis "Sized functors for size-based enumerations")
12195 (description "This library provides a framework for size-based
12197 (license license:bsd-3)))
12199 (define-public ghc-skylighting-core
12201 (name "ghc-skylighting-core")
12202 (version "0.8.2.1")
12205 (uri (string-append "https://hackage.haskell.org/package/"
12206 "skylighting-core/skylighting-core-"
12207 version ".tar.gz"))
12210 "0hdchivb4af9w7v5v7lrwfwawd3kcwmpzk69m1vkkm3pis8lcr1s"))))
12211 (build-system haskell-build-system)
12213 `(("ghc-aeson" ,ghc-aeson)
12214 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
12215 ("ghc-attoparsec" ,ghc-attoparsec)
12216 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
12217 ("ghc-blaze-html" ,ghc-blaze-html)
12218 ("ghc-case-insensitive" ,ghc-case-insensitive)
12219 ("ghc-colour" ,ghc-colour)
12220 ("ghc-hxt" ,ghc-hxt)
12221 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
12222 ("ghc-safe" ,ghc-safe)
12223 ("ghc-utf8-string" ,ghc-utf8-string)))
12225 `(("ghc-diff" ,ghc-diff)
12226 ("ghc-hunit" ,ghc-hunit)
12227 ("ghc-pretty-show" ,ghc-pretty-show)
12228 ("ghc-quickcheck" ,ghc-quickcheck)
12229 ("ghc-tasty" ,ghc-tasty)
12230 ("ghc-tasty-golden" ,ghc-tasty-golden)
12231 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
12232 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
12233 (home-page "https://github.com/jgm/skylighting")
12234 (synopsis "Syntax highlighting library")
12235 (description "Skylighting is a syntax highlighting library with support
12236 for over one hundred languages. It derives its tokenizers from XML syntax
12237 definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
12238 supported by that framework can be added. An optional command-line program is
12239 provided. Skylighting is intended to be the successor to highlighting-kate.")
12240 (license license:gpl2)))
12242 (define-public ghc-skylighting
12244 (inherit ghc-skylighting-core)
12245 (name "ghc-skylighting")
12246 (version "0.8.2.1")
12249 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
12250 version "/skylighting-" version ".tar.gz"))
12253 "1xls8ycad77m55ax4hp55k60h3pi5sm3m32hycbc8baixbgfx5xz"))))
12255 `(("ghc-skylighting-core" ,ghc-skylighting-core)
12256 ,@(package-inputs ghc-skylighting-core)))))
12258 (define-public ghc-smallcheck
12260 (name "ghc-smallcheck")
12265 (uri (string-append
12266 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
12271 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
12272 (build-system haskell-build-system)
12274 `(("ghc-logict" ,ghc-logict)))
12276 "https://github.com/feuerbach/smallcheck")
12277 (synopsis "Property-based testing library")
12278 (description "SmallCheck is a testing library that verifies
12279 properties for all test cases up to some depth. The test cases are generated
12280 automatically by SmallCheck.")
12281 (license license:bsd-3)))
12283 (define-public ghc-socks
12289 (uri (string-append "https://hackage.haskell.org/package/"
12290 "socks/socks-" version ".tar.gz"))
12293 "0wvaxy3dkv97wrncjv1rxrmjr4014hgxz82kixvcwqdhidalfi3k"))))
12294 (build-system haskell-build-system)
12296 `(("ghc-cereal" ,ghc-cereal)
12297 ("ghc-basement" ,ghc-basement)
12298 ("ghc-network" ,ghc-network)))
12299 (home-page "https://github.com/vincenthz/hs-socks")
12300 (synopsis "SOCKS proxy (version 5) implementation")
12302 "This library provides a SOCKS proxy (version 5) implementation.")
12303 (license license:bsd-3)))
12305 (define-public ghc-sop-core
12307 (name "ghc-sop-core")
12308 (version "0.4.0.0")
12312 (uri (string-append "https://hackage.haskell.org/package/"
12313 "sop-core/sop-core-" version ".tar.gz"))
12316 "07ci2mh8cbjvipb576rxsj3iyhkj5c5dnsns4xkdppp2p3pv10d3"))))
12317 (build-system haskell-build-system)
12318 (home-page "https://hackage.haskell.org/package/sop-core")
12319 (synopsis "True Sums of Products")
12320 (description "This package provides an implementation of
12321 @math{n}-ary sums and @math{n}-ary products. The module @code{Data.SOP}
12322 is the main module of this library and contains more detailed
12323 documentation. The main use case of this package is to serve as the
12324 core of @url{https://hackage.haskell.org/package/generics-sop,
12326 (license license:bsd-3)))
12328 (define-public ghc-special-values
12330 (name "ghc-special-values")
12331 (version "0.1.0.0")
12335 (uri (string-append
12336 "https://hackage.haskell.org/package/special-values/"
12337 "special-values-" version ".tar.gz"))
12340 "1kkdw2c4d2hha99v9f89ahmifjxp7fxmxyfwq9a8xk6s0h9xs51w"))))
12341 (build-system haskell-build-system)
12343 `(("ghc-scientific" ,ghc-scientific)
12344 ("ghc-ieee754" ,ghc-ieee754)
12345 ("ghc-nats" ,ghc-nats)))
12347 "https://github.com/minad/special-values#readme")
12348 (synopsis "Typeclass providing special values")
12350 "Special values are provided by a SpecialValues typeclass. Those can be
12351 used for example by QuickCheck, see quickcheck-special." )
12352 (license license:expat)))
12354 (define-public ghc-split
12357 (version "0.2.3.3")
12358 (outputs '("out" "static" "doc"))
12362 (uri (string-append
12363 "https://hackage.haskell.org/package/split/split-"
12368 "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x"))))
12369 (build-system haskell-build-system)
12372 ("2" "1c8bcssxq5rkxkixgms6w6x6lzf4n7cxk6cx6av1dp3lixdy9j34")))
12374 `(("ghc-quickcheck" ,ghc-quickcheck)))
12375 (home-page "https://hackage.haskell.org/package/split")
12376 (synopsis "Combinator library for splitting lists")
12377 (description "This package provides a collection of Haskell functions for
12378 splitting lists into parts, akin to the @code{split} function found in several
12379 mainstream languages.")
12380 (license license:bsd-3)))
12382 (define-public ghc-splitmix
12384 (name "ghc-splitmix")
12389 (uri (string-append "https://hackage.haskell.org/package/"
12390 "splitmix/splitmix-" version ".tar.gz"))
12393 "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w"))))
12394 (build-system haskell-build-system)
12396 `(("ghc-random" ,ghc-random)))
12398 `(("ghc-hunit" ,ghc-hunit)
12399 ("ghc-async" ,ghc-async)
12400 ("ghc-base-compat-batteries" ,ghc-base-compat-batteries)
12401 ("ghc-tf-random" ,ghc-tf-random)
12402 ("ghc-vector" ,ghc-vector)))
12403 (home-page "https://hackage.haskell.org/package/splitmix")
12404 (synopsis "Fast and splittable pseudorandom number generator")
12405 (description "This package provides a Pure Haskell implementation of the
12406 SplitMix pseudorandom number generator. SplitMix is a \"splittable\"
12407 pseudorandom number generator that is quite fast: 9 64-bit
12408 arithmetic/logical operations per 64 bits generated. SplitMix is tested
12409 with two standard statistical test suites (DieHarder and TestU01, this
12410 implementation only using the former) and it appears to be adequate for
12411 \"everyday\" use, such as Monte Carlo algorithms and randomized data
12412 structures where speed is important. In particular, it @strong{should not
12413 be used for cryptographic or security applications}, because generated
12414 sequences of pseudorandom values are too predictable (the mixing functions
12415 are easily inverted, and two successive outputs suffice to reconstruct the
12417 (license license:bsd-3)))
12419 (define-public ghc-splitmix-bootstrap
12421 (inherit ghc-splitmix)
12422 (name "ghc-splitmix-bootstrap")
12423 (arguments `(#:tests? #f))
12424 (native-inputs '())
12425 (properties '((hidden? #t)))))
12427 (define-public ghc-spoon
12434 (uri (string-append
12435 "https://hackage.haskell.org/package/spoon/spoon-"
12440 "1m41k0mfy6fpfrv2ym4m5jsjaj9xdfl2iqpppd3c4d0fffv51cxr"))))
12441 (build-system haskell-build-system)
12445 "09s5jjcsg4g4qxchq9g2l4i9d5zh3rixpkbiysqcgl69kj8mwv74")))
12447 "http://hackage.haskell.org/package/spoon")
12449 "Catch errors thrown from pure computations")
12451 "Takes an error-throwing expression and puts it back in the Maybe it
12454 Note that this suffers from the
12455 @url{https://ghc.haskell.org/trac/ghc/ticket/5902}. Buyer beware.")
12456 (license license:bsd-3)))
12458 (define-public ghc-statevar
12460 (name "ghc-statevar")
12465 (uri (string-append
12466 "https://hackage.haskell.org/package/StateVar/StateVar-"
12471 "12sz6zkc9j5z3lwrjvljrkfxa5vhwnir5wsarigz2f6d3w13dh5g"))))
12472 (build-system haskell-build-system)
12473 (home-page "https://hackage.haskell.org/package/StateVar")
12474 (synopsis "State variables for Haskell")
12475 (description "This package provides state variables, which are references
12476 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
12477 (license license:bsd-3)))
12479 (define-public ghc-statistics
12481 (name "ghc-statistics")
12482 (version "0.15.1.1")
12486 (uri (string-append "https://hackage.haskell.org/package/"
12487 "statistics-" version "/"
12488 "statistics-" version ".tar.gz"))
12491 "015rn74f1glii26j4b2fh1fc63xvxzrh2xckiancz48kc8jdzabj"))))
12492 (build-system haskell-build-system)
12494 '(;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse".
12497 `(("ghc-aeson" ,ghc-aeson)
12498 ("ghc-async" ,ghc-async)
12499 ("ghc-base-orphans" ,ghc-base-orphans)
12500 ("ghc-dense-linear-algebra" ,ghc-dense-linear-algebra)
12501 ("ghc-math-functions" ,ghc-math-functions)
12502 ("ghc-monad-par" ,ghc-monad-par)
12503 ("ghc-mwc-random" ,ghc-mwc-random)
12504 ("ghc-primitive" ,ghc-primitive)
12505 ("ghc-vector" ,ghc-vector)
12506 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
12507 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
12508 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
12510 `(("ghc-hunit" ,ghc-hunit)
12511 ("ghc-quickcheck" ,ghc-quickcheck)
12512 ("ghc-ieee754" ,ghc-ieee754)
12513 ("ghc-test-framework" ,ghc-test-framework)
12514 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
12515 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
12516 (home-page "https://github.com/bos/mwc-random")
12517 (synopsis "Haskell library of statistical types, data, and functions")
12518 (description "This library provides a number of common functions
12519 and types useful in statistics. We focus on high performance, numerical
12520 robustness, and use of good algorithms. Where possible, we provide references
12521 to the statistical literature.
12523 The library's facilities can be divided into four broad categories:
12526 @item Working with widely used discrete and continuous probability
12527 distributions. (There are dozens of exotic distributions in use; we focus
12528 on the most common.)
12530 @item Computing with sample data: quantile estimation, kernel density
12531 estimation, histograms, bootstrap methods, significance testing,
12532 and regression and autocorrelation analysis.
12534 @item Random variate generation under several different distributions.
12536 @item Common statistical tests for significant differences between samples.
12538 (license license:bsd-2)))
12540 (define-public ghc-stm-chans
12542 (name "ghc-stm-chans")
12543 (version "3.0.0.4")
12547 (uri (string-append "https://hackage.haskell.org/package/"
12548 "stm-chans-" version "/"
12549 "stm-chans-" version ".tar.gz"))
12552 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
12553 (build-system haskell-build-system)
12554 (home-page "https://hackage.haskell.org/package/stm-chans")
12555 (synopsis "Additional types of channels for ghc-stm")
12556 (description "This Haskell package offers a collection of channel types,
12557 similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
12559 (license license:bsd-3)))
12561 (define-public ghc-stm-conduit
12563 (name "ghc-stm-conduit")
12568 (uri (string-append "https://hackage.haskell.org/package/stm-conduit/"
12569 "stm-conduit-" version ".tar.gz"))
12572 "0hhlxvpp7mah8dcvkknh6skx44jfk3092zz2w52zlr255bkmn3p8"))))
12573 (build-system haskell-build-system)
12575 `(("ghc-stm-chans" ,ghc-stm-chans)
12576 ("ghc-cereal" ,ghc-cereal)
12577 ("ghc-cereal-conduit" ,ghc-cereal-conduit)
12578 ("ghc-conduit" ,ghc-conduit)
12579 ("ghc-conduit-extra" ,ghc-conduit-extra)
12580 ("ghc-exceptions" ,ghc-exceptions)
12581 ("ghc-resourcet" ,ghc-resourcet)
12582 ("ghc-async" ,ghc-async)
12583 ("ghc-monad-loops" ,ghc-monad-loops)
12584 ("ghc-unliftio" ,ghc-unliftio)))
12586 `(("ghc-doctest" ,ghc-doctest)
12587 ("ghc-quickcheck" ,ghc-quickcheck)
12588 ("ghc-hunit" ,ghc-hunit)
12589 ("ghc-test-framework" ,ghc-test-framework)
12590 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
12591 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
12592 (home-page "https://github.com/cgaebel/stm-conduit")
12593 (synopsis "Introduces conduits to channels and promotes using conduits concurrently")
12595 "This package provides two simple conduit wrappers around STM channels: a
12596 source and a sink.")
12597 (license license:bsd-3)))
12599 (define-public ghc-stmonadtrans
12601 (name "ghc-stmonadtrans")
12606 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
12607 "/STMonadTrans-" version ".tar.gz"))
12609 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
12610 (build-system haskell-build-system)
12611 (home-page "https://hackage.haskell.org/package/STMonadTrans")
12612 (synopsis "Monad transformer version of the ST monad")
12614 "This package provides a monad transformer version of the @code{ST} monad
12615 for strict state threads.")
12616 (license license:bsd-3)))
12618 (define-public ghc-storable-complex
12620 (name "ghc-storable-complex")
12621 (version "0.2.3.0")
12625 (uri (string-append
12626 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
12627 version ".tar.gz"))
12629 (base32 "0fnwbfmd5vsaaqvf9182qdcjrzcfjd1zhdyvjwzifbwvn6r9kx4s"))))
12630 (build-system haskell-build-system)
12632 `(("ghc-base-orphans" ,ghc-base-orphans)))
12633 (home-page "https://github.com/cartazio/storable-complex")
12634 (synopsis "Haskell Storable instance for Complex")
12635 (description "This package provides a Haskell library including a
12636 Storable instance for Complex which is binary compatible with C99, C++
12637 and Fortran complex data types.")
12638 (license license:bsd-3)))
12640 (define-public ghc-storable-record
12642 (name "ghc-storable-record")
12649 "https://hackage.haskell.org/package/storable-record/"
12650 "storable-record-" version ".tar.gz"))
12653 "0hjs1km0fc9ch0i1rbycxia5w3939hk4p4md73ikgg4aipqb5zyf"))))
12654 (build-system haskell-build-system)
12656 `(("ghc-semigroups" ,ghc-semigroups)
12657 ("ghc-utility-ht" ,ghc-utility-ht)
12658 ("ghc-storablevector" ,ghc-storablevector)
12659 ("ghc-timeit" ,ghc-timeit)))
12660 (home-page "https://hackage.haskell.org/package/storable-record")
12661 (synopsis "Elegant definition of Storable instances for records")
12662 (description "With this package you can build a Storable instance of
12663 a record type from Storable instances of its elements in an elegant way.
12664 It does not do any magic, just a bit arithmetic to compute the right
12665 offsets, that would be otherwise done manually or by a preprocessor like
12666 C2HS. There is no guarantee that the generated memory layout is
12667 compatible with that of a corresponding C struct. However, the module
12668 generates the smallest layout that is possible with respect to the
12669 alignment of the record elements.")
12670 (license license:bsd-3)))
12672 (define-public ghc-storable-tuple
12674 (name "ghc-storable-tuple")
12675 (version "0.0.3.3")
12681 "https://hackage.haskell.org/package/storable-tuple/"
12682 "storable-tuple-" version ".tar.gz"))
12685 "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw"))))
12686 (build-system haskell-build-system)
12688 `(("ghc-storable-record" ,ghc-storable-record)
12689 ("ghc-utility-ht" ,ghc-utility-ht)
12690 ("ghc-base-orphans" ,ghc-base-orphans)))
12691 (home-page "https://hackage.haskell.org/package/storable-tuple")
12692 (synopsis "Storable instance for pairs and triples")
12693 (description "This package provides a Storable instance for pairs
12694 and triples which should be binary compatible with C99 and C++. The
12695 only purpose of this package is to provide a standard location for this
12696 instance so that other packages needing this instance can play nicely
12698 (license license:bsd-3)))
12700 (define-public ghc-storablevector
12702 (name "ghc-storablevector")
12709 "https://hackage.haskell.org/package/storablevector/storablevector-"
12710 version ".tar.gz"))
12713 "1zmr738vwnhnyxbikayqnaz31ilv2qlmscp6iqgl7adcfbal4dzq"))))
12714 (build-system haskell-build-system)
12716 `(("ghc-non-negative" ,ghc-non-negative)
12717 ("ghc-utility-ht" ,ghc-utility-ht)
12718 ("ghc-semigroups" ,ghc-semigroups)
12719 ("ghc-unsafe" ,ghc-unsafe)
12720 ("ghc-quickcheck" ,ghc-quickcheck)
12721 ("ghc-syb" ,ghc-syb)))
12722 (home-page "https://wiki.haskell.org/Storable_Vector")
12723 (synopsis "Fast, packed, strict storable arrays with a list interface")
12724 (description "This library provides fast, packed, strict storable
12725 arrays with a list interface, a chunky lazy list interface with variable
12726 chunk size and an interface for write access via the ST monad. This is
12727 much like bytestring and binary but can be used for every
12728 @code{Foreign.Storable.Storable} type. See also
12729 @url{http://hackage.haskell.org/package/vector}, a library with a
12732 This library does not do advanced fusion optimization, since especially
12733 for lazy vectors this would either be incorrect or not applicable. See
12734 @url{http://hackage.haskell.org/package/storablevector-streamfusion} for
12735 a library that provides fusion with lazy lists.")
12736 (license license:bsd-3)))
12738 (define-public ghc-streaming-commons
12740 (name "ghc-streaming-commons")
12741 (version "0.2.1.1")
12745 (uri (string-append "https://hackage.haskell.org/package/"
12746 "streaming-commons/streaming-commons-"
12747 version ".tar.gz"))
12750 "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52"))))
12751 (build-system haskell-build-system)
12753 `(("ghc-async" ,ghc-async)
12754 ("ghc-blaze-builder" ,ghc-blaze-builder)
12755 ("ghc-network" ,ghc-network)
12756 ("ghc-random" ,ghc-random)
12757 ("ghc-zlib" ,ghc-zlib)))
12759 `(("ghc-quickcheck" ,ghc-quickcheck)
12760 ("ghc-hspec" ,ghc-hspec)
12761 ("hspec-discover" ,hspec-discover)))
12762 (home-page "https://hackage.haskell.org/package/streaming-commons")
12763 (synopsis "Conduit and pipes needed by some streaming data libraries")
12764 (description "This package provides low-dependency functionality commonly
12765 needed by various Haskell streaming data libraries, such as @code{conduit} and
12767 (license license:expat)))
12769 (define-public ghc-strict
12771 (name "ghc-strict")
12776 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
12777 version ".tar.gz"))
12779 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
12780 (build-system haskell-build-system)
12781 (home-page "https://hackage.haskell.org/package/strict")
12782 (synopsis "Strict data types and String IO")
12784 "This package provides strict versions of some standard Haskell data
12785 types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
12787 (license license:bsd-3)))
12789 (define-public ghc-stringbuilder
12791 (name "ghc-stringbuilder")
12796 (uri (string-append
12797 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
12802 "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q"))))
12803 (build-system haskell-build-system)
12804 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
12806 (home-page "https://hackage.haskell.org/package/stringbuilder")
12807 (synopsis "Writer monad for multi-line string literals")
12808 (description "This package provides a writer monad for multi-line string
12810 (license license:expat)))
12812 (define-public ghc-string-qq
12814 (name "ghc-string-qq")
12819 (uri (string-append
12820 "https://hackage.haskell.org/package/string-qq/string-qq-"
12825 "0wfxkw4x6j6jq9nd82k83g2k3hskpsvk1dp4cpkshvjr4wg9qny8"))))
12826 (build-system haskell-build-system)
12828 `(("ghc-hunit" ,ghc-hunit)))
12829 (home-page "https://hackage.haskell.org/package/string-qq")
12831 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
12833 "This package provides a quasiquoter for non-interpolated strings, texts
12835 (license license:public-domain)))
12837 (define-public ghc-stringsearch
12839 (name "ghc-stringsearch")
12840 (version "0.3.6.6")
12844 (uri (string-append
12845 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
12850 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
12851 (build-system haskell-build-system)
12854 ("1" "0z5pz5dccapz9k39r2zmf056m0x2m2lj3jahhnw3mfxlmps07378")))
12855 (home-page "https://bitbucket.org/dafis/stringsearch")
12856 (synopsis "Fast searching, splitting and replacing of ByteStrings")
12857 (description "This package provides several functions to quickly search
12858 for substrings in strict or lazy @code{ByteStrings}. It also provides
12859 functions for breaking or splitting on substrings and replacing all
12860 occurrences of a substring (the first in case of overlaps) with another.")
12861 (license license:bsd-3)))
12863 (define-public ghc-svg-builder
12865 (name "ghc-svg-builder")
12870 (uri (string-append "https://hackage.haskell.org/package/"
12871 "svg-builder/svg-builder-" version ".tar.gz"))
12874 "1k420f497lzkymmxin88ql6ib8dziic43avykv31yq65rgrf7l2g"))))
12875 (build-system haskell-build-system)
12877 `(("ghc-blaze-builder" ,ghc-blaze-builder)
12878 ("ghc-hashable" ,ghc-hashable)
12879 ("ghc-unordered-containers" ,ghc-unordered-containers)))
12882 ("1" "1bhp9gvid2iis411k1vvyj5krzc4ahxcqcd9cwx9h37jxg180xw1")))
12883 (home-page "https://github.com/diagrams/svg-builder.git")
12884 (synopsis "Domain-specific language for building Scalable Vector Graphics")
12885 (description "Easy-to-write domain-specific language (DSL) for
12886 building Scalable Vector Graphics (SVG).")
12887 (license license:bsd-3)))
12889 (define-public ghc-syb
12893 (outputs '("out" "static" "doc"))
12897 (uri (string-append
12898 "https://hackage.haskell.org/package/syb/syb-"
12903 "0077vxzyi9ppbphi2ialac3p376k49qly1kskdgf57wdwix9qjp0"))))
12904 (build-system haskell-build-system)
12906 `(("ghc-hunit" ,ghc-hunit)))
12908 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
12909 (synopsis "Scrap Your Boilerplate")
12910 (description "This package contains the generics system described in the
12911 /Scrap Your Boilerplate/ papers (see
12912 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
12913 defines the @code{Data} class of types permitting folding and unfolding of
12914 constructor applications, instances of this class for primitive types, and a
12915 variety of traversals.")
12916 (license license:bsd-3)))
12918 (define-public ghc-system-fileio
12920 (name "ghc-system-fileio")
12921 (version "0.3.16.4")
12925 (uri (string-append
12926 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
12927 version ".tar.gz"))
12930 "1iy6g1f35gzyj12g9mdiw4zf75mmxpv1l8cyaldgyscsl648pr9l"))))
12931 (build-system haskell-build-system)
12934 (modify-phases %standard-phases
12935 (add-before 'configure 'update-constraints
12937 (substitute* "system-fileio.cabal"
12938 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4"))
12941 `(("ghc-system-filepath" ,ghc-system-filepath)
12942 ("ghc-chell" ,ghc-chell)
12943 ("ghc-temporary" ,ghc-temporary)))
12944 (home-page "https://github.com/fpco/haskell-filesystem")
12945 (synopsis "Consistent file system interaction across GHC versions")
12947 "This is a small wrapper around the directory, unix, and Win32 packages,
12948 for use with system-filepath. It provides a consistent API to the various
12949 versions of these packages distributed with different versions of GHC.
12950 In particular, this library supports working with POSIX files that have paths
12951 which can't be decoded in the current locale encoding.")
12952 (license license:expat)))
12954 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
12955 ;; ghc-system-filepath.
12956 (define ghc-system-fileio-bootstrap
12958 (name "ghc-system-fileio-bootstrap")
12959 (version "0.3.16.3")
12963 (uri (string-append
12964 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
12965 version ".tar.gz"))
12968 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
12969 (build-system haskell-build-system)
12973 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
12974 ("ghc-temporary" ,ghc-temporary)))
12975 (home-page "https://github.com/fpco/haskell-filesystem")
12976 (synopsis "Consistent file system interaction across GHC versions")
12978 "This is a small wrapper around the directory, unix, and Win32 packages,
12979 for use with system-filepath. It provides a consistent API to the various
12980 versions of these packages distributed with different versions of GHC.
12981 In particular, this library supports working with POSIX files that have paths
12982 which can't be decoded in the current locale encoding.")
12983 (license license:expat)))
12986 (define-public ghc-system-filepath
12988 (name "ghc-system-filepath")
12993 (uri (string-append
12994 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
12995 version ".tar.gz"))
12998 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
12999 (build-system haskell-build-system)
13000 ;; FIXME: One of the tests fails:
13001 ;; [ FAIL ] tests.validity.posix
13002 ;; note: seed=7310214548328823169
13003 ;; *** Failed! Falsifiable (after 24 tests):
13004 ;; FilePath "/r2\ENQ52\t ;$/o\US=/okG\146\&6\n<u\DC3/5\182\223a\DELN\EOT#\NUL/`[m/\USEKV\ETX([)b6/\ACK\SOo\245\ETBO/f\128\STX`|\EM\"/*\EMA\USD3/\143\&4/\CAN?\SUBee\CANR/9/B0\187Kx4/Vqr\232'b:/\a\234\DLE.\"\179/\ENQ{J/|/G)@^\237/\219ml/\DC3pd\ESC"
13005 (arguments `(#:tests? #f))
13007 `(("ghc-chell" ,ghc-chell)
13008 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
13009 ("ghc-quickcheck" ,ghc-quickcheck)))
13010 (home-page "https://github.com/fpco/haskell-filesystem")
13011 (synopsis "High-level, byte-based file and directory path manipulations")
13013 "Provides a FilePath datatype and utility functions for operating on it.
13014 Unlike the filepath package, this package does not simply reuse String,
13015 increasing type safety.")
13016 (license license:expat)))
13018 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
13019 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
13020 ;; which depends on ghc-chell and ghc-chell-quickcheck.
13021 ;; Therefore we bootstrap it with tests disabled.
13022 (define ghc-system-filepath-bootstrap
13024 (name "ghc-system-filepath-bootstrap")
13029 (uri (string-append
13030 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
13031 version ".tar.gz"))
13034 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
13035 (build-system haskell-build-system)
13039 `(("ghc-quickcheck" ,ghc-quickcheck)))
13040 (home-page "https://github.com/fpco/haskell-filesystem")
13041 (synopsis "High-level, byte-based file and directory path manipulations")
13043 "Provides a FilePath datatype and utility functions for operating on it.
13044 Unlike the filepath package, this package does not simply reuse String,
13045 increasing type safety.")
13046 (license license:expat)))
13048 (define-public ghc-tabular
13050 (name "ghc-tabular")
13051 (version "0.2.2.7")
13055 (uri (string-append
13056 "https://hackage.haskell.org/package/tabular/tabular-"
13061 "1ysgq7rrks7f98nnvxil8xz1q27hxdgz4szbjhqwzbwd209dmy0k"))))
13062 (build-system haskell-build-system)
13064 `(("ghc-csv" ,ghc-csv)
13065 ("ghc-html" ,ghc-html)))
13066 (home-page "https://github.com/bgamari/tabular")
13067 (synopsis "Two-dimensional data tables with rendering functions")
13069 "Tabular provides a Haskell representation of two-dimensional data
13070 tables, the kind that you might find in a spreadsheet or or a research report.
13071 It also comes with some default rendering functions for turning those tables
13072 into ASCII art, simple text with an arbitrary delimiter, CSV, HTML or LaTeX.
13074 Below is an example of the kind of output this library produces. The tabular
13075 package can group rows and columns, each group having one of three
13076 separators (no line, single line, double line) between its members.
13080 || memtest 1 | memtest 2 || time test | time test 2
13081 ====++===========+===========++=============+============
13082 A 1 || hog | terrible || slow | slower
13083 A 2 || pig | not bad || fast | slowest
13084 ----++-----------+-----------++-------------+------------
13085 B 1 || good | awful || intolerable | bearable
13086 B 2 || better | no chance || crawling | amazing
13087 B 3 || meh | well... || worst ever | ok
13090 (license license:bsd-3)))
13092 (define-public ghc-tagged
13094 (name "ghc-tagged")
13099 (uri (string-append
13100 "https://hackage.haskell.org/package/tagged/tagged-"
13105 "1pciqzxf9ncv954v4r527xkxkn7r5hcr13mfw5dg1xjci3qdw5md"))))
13106 (build-system haskell-build-system)
13109 ("1" "070xwfw7y81hd63il76dmwbdl9ca1rd07c54zynfx6vpr4wyx4vh")))
13111 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
13112 (home-page "https://hackage.haskell.org/package/tagged")
13113 (synopsis "Haskell phantom types to avoid passing dummy arguments")
13114 (description "This library provides phantom types for Haskell 98, to avoid
13115 having to unsafely pass dummy arguments.")
13116 (license license:bsd-3)))
13118 (define-public ghc-tar
13121 (version "0.5.1.1")
13125 (uri (string-append
13126 "https://hackage.haskell.org/package/tar/tar-"
13127 version ".tar.gz"))
13130 "1ppim7cgmn7ng8zbdrwkxhhizc30h15h1c9cdlzamc5jcagl915k"))))
13131 (build-system haskell-build-system)
13132 ;; FIXME: 2/24 tests fail.
13133 (arguments `(#:tests? #f))
13135 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
13136 ("ghc-quickcheck" ,ghc-quickcheck)
13137 ("ghc-tasty" ,ghc-tasty)
13138 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13139 (home-page "https://hackage.haskell.org/package/tar")
13140 (synopsis "Reading, writing and manipulating \".tar\" archive files")
13142 "This library is for working with \\\"@.tar@\\\" archive files.
13143 It can read and write a range of common variations of the tar archive format
13144 including V7, POSIX USTAR and GNU formats. It provides support for packing and
13145 unpacking portable archives. This makes it suitable for distribution but not
13146 backup because details like file ownership and exact permissions are not
13147 preserved. It also provides features for random access to archive content using
13149 (license license:bsd-3)))
13151 (define-public ghc-tar-conduit
13153 (name "ghc-tar-conduit")
13158 (uri (string-append "https://hackage.haskell.org/package/"
13159 "tar-conduit/tar-conduit-" version ".tar.gz"))
13162 "0bgn3hyf20g1gfnzy8f41s7nj54kfcyjk2izw99svrw8f3dphi80"))))
13163 (build-system haskell-build-system)
13165 `(("ghc-conduit" ,ghc-conduit)
13166 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
13167 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
13169 `(("ghc-quickcheck" ,ghc-quickcheck)
13170 ("ghc-conduit-extra" ,ghc-conduit-extra)
13171 ("ghc-hspec" ,ghc-hspec)
13172 ("ghc-hspec" ,ghc-hspec)
13173 ("ghc-weigh" ,ghc-weigh)))
13174 (home-page "https://github.com/snoyberg/tar-conduit#readme")
13175 (synopsis "Extract and create tar files using conduit for streaming")
13176 (description "This library provides a conduit-based, streaming
13177 interface for extracting and creating tar files.")
13178 (license license:expat)))
13180 (define-public ghc-temporary
13182 (name "ghc-temporary")
13187 (uri (string-append
13188 "https://hackage.haskell.org/package/temporary/temporary-"
13193 "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c"))))
13194 (build-system haskell-build-system)
13196 `(("ghc-exceptions" ,ghc-exceptions)
13197 ("ghc-random" ,ghc-random)))
13199 `(("ghc-base-compat" ,ghc-base-compat)
13200 ("ghc-tasty" ,ghc-tasty)
13201 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
13202 (home-page "https://www.github.com/batterseapower/temporary")
13203 (synopsis "Temporary file and directory support")
13204 (description "The functions for creating temporary files and directories
13205 in the Haskelll base library are quite limited. This library just repackages
13206 the Cabal implementations of its own temporary file and folder functions so
13207 that you can use them without linking against Cabal or depending on it being
13209 (license license:bsd-3)))
13211 (define-public ghc-temporary-rc
13213 (name "ghc-temporary-rc")
13214 (version "1.2.0.3")
13218 (uri (string-append
13219 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
13224 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
13225 (build-system haskell-build-system)
13226 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
13228 "https://www.github.com/feuerbach/temporary")
13230 "Portable temporary file and directory support")
13232 "The functions for creating temporary files and directories in the base
13233 library are quite limited. The unixutils package contains some good ones, but
13234 they aren't portable to Windows. This library just repackages the Cabal
13235 implementations of its own temporary file and folder functions so that you can
13236 use them without linking against Cabal or depending on it being installed.
13237 This is a better maintained fork of the \"temporary\" package.")
13238 (license license:bsd-3)))
13240 (define-public ghc-terminal-size
13242 (name "ghc-terminal-size")
13243 (version "0.3.2.1")
13246 (uri (string-append
13247 "https://hackage.haskell.org/package/terminal-size/"
13248 "terminal-size-" version ".tar.gz"))
13251 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
13252 (build-system haskell-build-system)
13253 (home-page "https://hackage.haskell.org/package/terminal-size")
13254 (synopsis "Get terminal window height and width")
13255 (description "Get terminal window height and width without ncurses
13257 (license license:bsd-3)))
13259 (define-public ghc-texmath
13261 (name "ghc-texmath")
13265 (uri (string-append "https://hackage.haskell.org/package/"
13266 "texmath/texmath-" version ".tar.gz"))
13269 "03rpxbp43bjs62mmw4hv4785n6f6nbf8kj2y9mma5nzk6i2xs09f"))))
13270 (build-system haskell-build-system)
13272 `(("ghc-syb" ,ghc-syb)
13273 ("ghc-network-uri" ,ghc-network-uri)
13274 ("ghc-split" ,ghc-split)
13275 ("ghc-temporary" ,ghc-temporary)
13276 ("ghc-utf8-string" ,ghc-utf8-string)
13277 ("ghc-xml" ,ghc-xml)
13278 ("ghc-pandoc-types" ,ghc-pandoc-types)))
13279 (home-page "https://github.com/jgm/texmath")
13280 (synopsis "Conversion between formats used to represent mathematics")
13282 "The texmath library provides functions to read and write TeX math,
13283 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
13284 Office). Support is also included for converting math formats to pandoc's
13285 native format (allowing conversion, via pandoc, to a variety of different
13286 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
13287 it can parse and apply LaTeX macros.")
13288 (license license:gpl2+)))
13290 (define-public ghc-text-binary
13292 (name "ghc-text-binary")
13293 (version "0.2.1.1")
13297 (uri (string-append "https://hackage.haskell.org/package/"
13298 "text-binary/text-binary-"
13299 version ".tar.gz"))
13302 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
13303 (build-system haskell-build-system)
13304 (home-page "https://github.com/kawu/text-binary")
13305 (synopsis "Binary instances for text types")
13307 "This package provides a compatibility layer providing @code{Binary}
13308 instances for strict and lazy text types for versions older than 1.2.1 of the
13310 (license license:bsd-2)))
13312 (define-public ghc-text-manipulate
13314 (name "ghc-text-manipulate")
13315 (version "0.2.0.1")
13319 (uri (string-append
13320 "https://hackage.haskell.org/package/text-manipulate"
13321 "/text-manipulate-"
13326 "0bwxyjj3ll45srxhsp2ihikgqglvjc6m02ixr8xpvyqwkcfwgsg0"))))
13327 (build-system haskell-build-system)
13329 `(("ghc-tasty" ,ghc-tasty)
13330 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
13332 "https://github.com/brendanhay/text-manipulate")
13334 "Case conversion, word boundary manipulation, and textual subjugation")
13336 "Manipulate identifiers and structurally non-complex pieces of text by
13337 delimiting word boundaries via a combination of whitespace,
13338 control-characters, and case-sensitivity.
13340 Has support for common idioms like casing of programmatic variable names,
13341 taking, dropping, and splitting by word, and modifying the first character of
13344 Caution: this library makes heavy use of the text library's internal loop
13345 optimisation framework. Since internal modules are not guaranteed to have a
13346 stable API there is potential for build breakage when the text dependency is
13347 upgraded. Consider yourself warned!")
13348 (license license:mpl2.0)))
13350 (define-public ghc-text-metrics
13352 (name "ghc-text-metrics")
13357 (uri (string-append "https://hackage.haskell.org/package/"
13358 "text-metrics/text-metrics-" version ".tar.gz"))
13361 "18mzxwkdvjp31r720ai9bnxr638qq8x3a2v408bz0d8f0rsayx1q"))))
13362 (build-system haskell-build-system)
13364 `(("ghc-vector" ,ghc-vector)))
13366 `(("ghc-quickcheck" ,ghc-quickcheck)
13367 ("ghc-hspec" ,ghc-hspec)))
13370 ("4" "017drxq9x56b345d8w5m8xdsi1zzs0z16pbdx8j35cd1lsnh3kf1")))
13371 (home-page "https://github.com/mrkkrp/text-metrics")
13372 (synopsis "Calculate various string metrics efficiently")
13373 (description "This library provides tools to calculate various
13374 string metrics efficiently.")
13375 (license license:bsd-3)))
13377 (define-public ghc-tf-random
13379 (name "ghc-tf-random")
13381 (outputs '("out" "static" "doc"))
13385 (uri (string-append
13386 "https://hackage.haskell.org/package/tf-random/tf-random-"
13390 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
13391 (build-system haskell-build-system)
13393 `(("ghc-primitive" ,ghc-primitive)
13394 ("ghc-random" ,ghc-random)))
13395 (home-page "https://hackage.haskell.org/package/tf-random")
13396 (synopsis "High-quality splittable pseudorandom number generator")
13397 (description "This package contains an implementation of a high-quality
13398 splittable pseudorandom number generator. The generator is based on a
13399 cryptographic hash function built on top of the ThreeFish block cipher. See
13400 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
13401 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
13402 (license license:bsd-3)))
13404 (define-public ghc-th-abstraction
13406 (name "ghc-th-abstraction")
13407 (version "0.3.1.0")
13411 (uri (string-append "https://hackage.haskell.org/package/"
13412 "th-abstraction/th-abstraction-"
13413 version ".tar.gz"))
13416 "1f81w0gshvc816cf9qz0f19jsrzh6wpzmmy317xrgn63dv61p7jb"))))
13417 (build-system haskell-build-system)
13418 (home-page "https://github.com/glguy/th-abstraction")
13419 (synopsis "Nicer interface for reified information about data types")
13421 "This package normalizes variations in the interface for inspecting
13422 datatype information via Template Haskell so that packages and support a
13423 single, easier to use informational datatype while supporting many versions of
13424 Template Haskell.")
13425 (license license:isc)))
13427 (define-public ghc-th-expand-syns
13429 (name "ghc-th-expand-syns")
13430 (version "0.4.5.0")
13433 (uri (string-append "https://hackage.haskell.org/package/"
13434 "th-expand-syns/th-expand-syns-"
13435 version ".tar.gz"))
13438 "1p4wfyycan8zsp9wi7npx36qwbfsbcgdyxi3ii51scf69dkrx42y"))))
13439 (build-system haskell-build-system)
13441 `(("ghc-syb" ,ghc-syb)))
13442 (home-page "https://hackage.haskell.org/package/th-expand-syns")
13443 (synopsis "Expands type synonyms in Template Haskell ASTs")
13445 "This package enables users to expand type synonyms in Template Haskell
13446 @dfn{abstract syntax trees} (ASTs).")
13447 (license license:bsd-3)))
13449 (define-public ghc-th-lift
13451 (name "ghc-th-lift")
13452 (version "0.8.0.1")
13455 (uri (string-append "https://hackage.haskell.org/package/"
13456 "th-lift/th-lift-" version ".tar.gz"))
13459 "1a6qlbdg15cfr5rvl9g3blgwx4v1p0xic0pzv13zx165xbc36ld0"))))
13460 (build-system haskell-build-system)
13462 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
13463 (home-page "https://github.com/mboes/th-lift")
13464 (synopsis "Derive Template Haskell's Lift class for datatypes")
13466 "This is a Haskell library to derive Template Haskell's Lift class for
13468 (license license:bsd-3)))
13470 (define-public ghc-th-lift-instances
13472 (name "ghc-th-lift-instances")
13477 (uri (string-append "https://hackage.haskell.org/package/"
13478 "th-lift-instances/th-lift-instances-"
13479 version ".tar.gz"))
13482 "0r1b4jnvcj64wp4hfccwkl4a70n1p1q7qzyx6ax7cmd8k961jz78"))))
13483 (build-system haskell-build-system)
13485 `(("ghc-th-lift" ,ghc-th-lift)
13486 ("ghc-vector" ,ghc-vector)
13487 ("ghc-quickcheck" ,ghc-quickcheck)))
13488 (home-page "https://github.com/bennofs/th-lift-instances/")
13489 (synopsis "Lift instances for template-haskell for common data types.")
13490 (description "Most data types in the Haskell platform do not have Lift
13491 instances. This package provides orphan instances for @code{containers},
13492 @code{text}, @code{bytestring} and @code{vector}.")
13493 (license license:bsd-3)))
13495 (define-public ghc-th-orphans
13497 (name "ghc-th-orphans")
13501 (uri (string-append "https://hackage.haskell.org/package/"
13502 "th-orphans/th-orphans-" version ".tar.gz"))
13505 "1xj1gssv77hdx1r3ndg8k49v3ipj3a6r7crkyvx13jrps3m6ng1z"))))
13506 (build-system haskell-build-system)
13508 `(("ghc-th-lift" ,ghc-th-lift)
13509 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
13510 ("ghc-th-reify-many" ,ghc-th-reify-many)
13511 ("ghc-generic-deriving" ,ghc-generic-deriving)))
13513 `(("ghc-hspec" ,ghc-hspec)))
13514 (home-page "https://hackage.haskell.org/package/th-orphans")
13515 (synopsis "Orphan instances for TH datatypes")
13517 "This package provides orphan instances for Template Haskell datatypes. In particular,
13518 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
13519 and @code{Eq} instances. These instances used to live in the haskell-src-meta
13520 package, and that's where the version number started.")
13521 (license license:bsd-3)))
13523 (define-public ghc-these
13530 (uri (string-append
13531 "https://hackage.haskell.org/package/these/these-"
13536 "1k0pi65g7cm9hzdw6my6bzz2zvddkmj1qs45ymqmi316bpiixk3r"))))
13537 (build-system haskell-build-system)
13539 `(("ghc-base-compat" ,ghc-base-compat)
13540 ("ghc-hashable" ,ghc-hashable)
13541 ("ghc-aeson" ,ghc-aeson)
13542 ("ghc-unordered-containers" ,ghc-unordered-containers)
13543 ("ghc-assoc" ,ghc-assoc)
13544 ("ghc-semigroupoids" ,ghc-semigroupoids)
13545 ("ghc-quickcheck" ,ghc-quickcheck)))
13549 "0923r86fnmgpx0msm68aszirh2n19nn5bccgjxfh2146jw4z7w3z")))
13551 "https://github.com/isomorphism/these")
13552 (synopsis "Either-or-both data type")
13554 "This package provides a data type @code{These a b} which can
13555 hold a value of either type or values of each type. This is usually
13556 thought of as an \"inclusive or\" type (contrasting @code{Either a b} as
13557 \"exclusive or\") or as an \"outer join\" type (contrasting @code{(a, b)}
13558 as \"inner join\").
13560 @code{data These a b = This a | That b | These a b}
13562 Since version 1, this package was split into parts:
13566 https://hackage.haskell.org/package/semialign For @code{Align} and
13567 @code{Zip} type-classes.
13569 https://hackage.haskell.org/package/semialign-indexed For
13570 @code{SemialignWithIndex} class, providing @code{ialignWith} and
13573 https://hackage.haskell.org/package/these-lens For lens combinators.
13575 http://hackage.haskell.org/package/monad-chronicle For transformers
13576 variant of @code{These}.
13578 (license license:bsd-3)))
13580 (define-public ghc-threads
13582 (name "ghc-threads")
13583 (version "0.5.1.6")
13587 (uri (string-append "https://hackage.haskell.org/package/"
13588 "threads/threads-" version ".tar.gz"))
13591 "0bjnjhnq3km6xqk0fn1fgyz5xdw4h6lylbwwbcmkkfzwcz0c76hk"))))
13592 (build-system haskell-build-system)
13594 `(("ghc-concurrent-extra" ,ghc-concurrent-extra)
13595 ("ghc-hunit" ,ghc-hunit)
13596 ("ghc-test-framework" ,ghc-test-framework)
13597 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
13598 (home-page "https://github.com/basvandijk/threads")
13599 (synopsis "Fork threads and wait for their result")
13600 (description "This package provides functions to fork threads and
13601 wait for their result, whether it's an exception or a normal value.
13602 Besides waiting for the termination of a single thread this package also
13603 provides functions to wait for a group of threads to terminate. This
13604 package is similar to the @code{threadmanager}, @code{async} and
13605 @code{spawn} packages. The advantages of this package are:
13609 @item More efficient in both space and time.
13610 @item No space-leak when forking a large number of threads.
13611 @item Correct handling of asynchronous exceptions.
13612 @item GHC specific functionality like @code{forkOn} and
13613 @code{forkIOWithUnmask}.
13615 (license license:bsd-3)))
13617 (define-public ghc-th-reify-many
13619 (name "ghc-th-reify-many")
13623 (uri (string-append "https://hackage.haskell.org/package/"
13624 "th-reify-many/th-reify-many-"
13625 version ".tar.gz"))
13628 "0hxf56filzqnyrc8q7766vai80y6cgrrbrczx6n93caskl1dv2gq"))))
13629 (build-system haskell-build-system)
13631 `(("ghc-safe" ,ghc-safe)
13632 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
13633 (home-page "https://github.com/mgsloan/th-reify-many")
13634 (synopsis "Recurseively reify template haskell datatype info")
13636 "th-reify-many provides functions for recursively reifying top level
13637 declarations. The main intended use case is for enumerating the names of
13638 datatypes reachable from an initial datatype, and passing these names to some
13639 function which generates instances.")
13640 (license license:bsd-3)))
13642 (define-public ghc-time-compat
13644 (name "ghc-time-compat")
13645 (version "1.9.2.2")
13649 (uri (string-append "https://hackage.haskell.org/package/"
13650 "time-compat/time-compat-" version ".tar.gz"))
13653 "05va0rqs759vbridbcl6hksp967j9anjvys8vx72fnfkhlrn2s52"))))
13654 (build-system haskell-build-system)
13656 `(("ghc-base-orphans" ,ghc-base-orphans)))
13658 `(("ghc-hunit" ,ghc-hunit)
13659 ("ghc-base-compat" ,ghc-base-compat)
13660 ("ghc-quickcheck" ,ghc-quickcheck)
13661 ("ghc-tagged" ,ghc-tagged)
13662 ("ghc-tasty" ,ghc-tasty)
13663 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13664 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13667 ("1" "0k8ph4sydaiqp8dav4if6hpiaq8h1xsr93khmdr7a1mmfwdxr64r")))
13668 (home-page "https://github.com/phadej/time-compat")
13669 (synopsis "Compatibility package for time")
13670 (description "This package tries to compat as many @code{time}
13671 features as possible.")
13672 (license license:bsd-3)))
13674 (define-public ghc-time-locale-compat
13676 (name "ghc-time-locale-compat")
13677 (version "0.1.1.5")
13681 (uri (string-append "https://hackage.haskell.org/package/"
13682 "time-locale-compat/time-locale-compat-"
13683 version ".tar.gz"))
13686 "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7"))))
13687 (build-system haskell-build-system)
13688 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
13689 (home-page "https://github.com/khibino/haskell-time-locale-compat")
13690 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
13691 (description "This package contains a wrapped name module for
13692 @code{TimeLocale}.")
13693 (license license:bsd-3)))
13695 (define-public ghc-time-manager
13697 (name "ghc-time-manager")
13702 (uri (string-append "https://hackage.haskell.org/package/"
13703 "time-manager/time-manager-" version ".tar.gz"))
13706 "1nzwj0fxz370ks6vr1sylcidx33rnqq45y3q9yv9n4dj43nid9lh"))))
13707 (build-system haskell-build-system)
13709 `(("ghc-auto-update" ,ghc-auto-update)))
13710 (home-page "https://github.com/yesodweb/wai")
13711 (synopsis "Scalable timer")
13712 (description "This library contains scalable timer functions provided by a
13714 (license license:expat)))
13716 (define-public ghc-timeit
13718 (name "ghc-timeit")
13725 "https://hackage.haskell.org/package/timeit/timeit-"
13726 version ".tar.gz"))
13729 "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1"))))
13730 (build-system haskell-build-system)
13731 (home-page "https://github.com/merijn/timeit")
13732 (synopsis "Time monadic computations with an IO base")
13733 (description "This package provides a simple wrapper to show the
13734 used CPU time of monadic computation with an IO base.")
13735 (license license:bsd-3)))
13737 (define-public ghc-timezone-series
13739 (name "ghc-timezone-series")
13746 "mirror://hackage/package/timezone-series/timezone-series-"
13747 version ".tar.gz"))
13750 "1blwgnyzqn917rgqkl4dncv9whv3xmk0lav040qq0214vksmvlz5"))))
13751 (build-system haskell-build-system)
13752 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
13753 (synopsis "Enhanced timezone handling for Time")
13755 "This package endows @code{Data.Time}, from the time package, with several
13756 data types and functions for enhanced processing of timezones. For one way to
13757 create timezone series, see the ghc-timezone-olson package.")
13758 (license license:bsd-3)))
13760 (define-public ghc-timezone-olson
13762 (name "ghc-timezone-olson")
13769 "mirror://hackage/package/timezone-olson/timezone-olson-"
13770 version ".tar.gz"))
13773 "05abywx1nrcaz0nqzfy4zw62bc5qd7pdfnjvv4drxkwv084ha8rj"))))
13774 (build-system haskell-build-system)
13776 `(("ghc-timezone-series" ,ghc-timezone-series)
13777 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)))
13778 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
13779 (synopsis "Parser and renderer for binary Olson timezone files")
13781 "A parser and renderer for binary Olson timezone files whose format
13782 is specified by the tzfile(5) man page on Unix-like systems. For more
13783 information about this format, see
13784 @url{http://www.iana.org/time-zones/repository/tz-link.html}. Functions
13785 are provided for converting the parsed data into @code{TimeZoneSeries}
13786 objects from the timezone-series package.")
13787 (license license:bsd-3)))
13789 (define-public ghc-tldr
13792 (version "0.4.0.2")
13796 (uri (string-append
13797 "https://hackage.haskell.org/package/tldr/tldr-"
13802 "1zy9yyg7bxiyz1prkvrscggsb9p0f8y0nqxxxzlgzvnh2nmqf8f2"))))
13803 (build-system haskell-build-system)
13805 `(("ghc-cmark" ,ghc-cmark)
13806 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
13807 ("ghc-typed-process" ,ghc-typed-process)
13808 ("ghc-semigroups" ,ghc-semigroups)))
13810 `(("ghc-tasty" ,ghc-tasty)
13811 ("ghc-tasty-golden" ,ghc-tasty-golden)))
13812 (home-page "https://github.com/psibi/tldr-hs#readme")
13813 (synopsis "Haskell tldr client")
13814 (description "This package provides the @command{tldr} command and a
13815 Haskell client library allowing users to update and view @code{tldr} pages
13816 from a shell. The @code{tldr} pages are a community effort to simplify the
13817 man pages with practical examples.")
13818 (license license:bsd-3)))
13820 (define-public ghc-torrent
13822 (name "ghc-torrent")
13823 (version "10000.1.1")
13827 (uri (string-append
13828 "https://hackage.haskell.org/package/torrent/torrent-"
13829 version ".tar.gz"))
13831 (base32 "0m7s0q7f8c7glxzqhf2j86ch5xhk6jnzwwsa4mkywag22119c290"))))
13832 (build-system haskell-build-system)
13834 `(("ghc-bencode" ,ghc-bencode)
13835 ("ghc-syb" ,ghc-syb)))
13836 (home-page "https://hackage.haskell.org/package/torrent")
13837 (synopsis "BitTorrent file parser and generator")
13838 (description "This library provides support for parsing and generating
13839 BitTorrent files.")
13840 (license license:bsd-3)))
13842 (define-public ghc-transformers
13844 (name "ghc-transformers")
13845 (version "0.5.6.2")
13849 (uri (string-append
13850 "mirror://hackage/package/transformers/transformers-"
13855 "0v66j5k0xqk51pmca55wq192qyw2p43s2mgxlz4f95q2c1fpjs5n"))))
13856 (build-system haskell-build-system)
13858 "http://hackage.haskell.org/package/transformers")
13859 (synopsis "Concrete functor and monad transformers")
13861 "Transformers provides functor and monad transformers, inspired by the
13862 paper \"Functional Programming with Overloading and Higher-Order
13863 Polymorphism\", by Mark P Jones, in Advanced School of Functional Programming,
13864 1995 @url{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html}.
13866 This package contains:
13868 @item the monad transformer class (in @code{Control.Monad.Trans.Class})
13869 @item concrete functor and monad transformers, each with associated operations
13870 and functions to lift operations associated with other transformers.
13873 This package can be used on its own in portable Haskell code, in which case
13874 operations need to be manually lifted through transformer stacks (see
13875 @code{Control.Monad.Trans.Class} for some examples). Alternatively, it can be
13876 used with the non-portable monad classes in the mtl or monads-tf packages,
13877 which automatically lift operations introduced by monad transformers through
13878 other transformers.")
13879 (license license:bsd-3)))
13881 (define-public ghc-transformers-base
13883 (name "ghc-transformers-base")
13884 (version "0.4.5.2")
13888 (uri (string-append
13889 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
13894 "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h"))))
13895 (build-system haskell-build-system)
13897 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
13899 "https://hackage.haskell.org/package/transformers-compat")
13901 "Backported transformer library")
13903 "Backported versions of types that were added to transformers in
13904 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
13905 compatibility to run on old versions of the platform.")
13906 (license license:bsd-3)))
13908 (define-public ghc-transformers-compat
13910 (name "ghc-transformers-compat")
13915 (uri (string-append
13916 "https://hackage.haskell.org/package/transformers-compat"
13917 "/transformers-compat-" version ".tar.gz"))
13920 "02v2fjbvcrlpvhcsssap8dy8y9pp95jykrlc5arm39sxa48wyrys"))))
13921 (build-system haskell-build-system)
13922 (home-page "https://github.com/ekmett/transformers-compat/")
13923 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
13924 (description "This package includes backported versions of types that were
13925 added to transformers in transformers 0.3 and 0.4 for users who need strict
13926 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
13927 but also need those types.")
13928 (license license:bsd-3)))
13930 (define-public ghc-tree-diff
13932 (name "ghc-tree-diff")
13937 (uri (string-append
13938 "https://hackage.haskell.org/package/tree-diff/tree-diff-"
13943 "1156nbqn0pn9lp4zjsy4vv5g5wmy4zxwmbqdgvq349rydynh3ng3"))))
13944 (build-system haskell-build-system)
13946 `(("ghc-aeson" ,ghc-aeson)
13947 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13948 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13949 ("ghc-base-compat" ,ghc-base-compat)
13950 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
13951 ("ghc-hashable" ,ghc-hashable)
13952 ("ghc-parsers" ,ghc-parsers)
13953 ("ghc-quickcheck" ,ghc-quickcheck)
13954 ("ghc-scientific" ,ghc-scientific)
13955 ("ghc-tagged" ,ghc-tagged)
13956 ("ghc-unordered-containers" ,ghc-unordered-containers)
13957 ("ghc-uuid-types" ,ghc-uuid-types)
13958 ("ghc-vector" ,ghc-vector)))
13960 `(("ghc-base-compat" ,ghc-base-compat)
13961 ("ghc-quickcheck" ,ghc-quickcheck)
13962 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13963 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13964 ("ghc-trifecta" ,ghc-trifecta)
13965 ("ghc-tasty" ,ghc-tasty)
13966 ("ghc-tasty-golden" ,ghc-tasty-golden)
13967 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13968 (home-page "https://github.com/phadej/tree-diff")
13969 (synopsis "Compute difference between (expression) trees")
13970 (description "This Haskell library provides a function for computing
13971 the difference between (expression) trees. It also provides a way to
13972 compute the difference between arbitrary abstract datatypes (ADTs) using
13973 @code{Generics}-derivable helpers.")
13974 (license license:bsd-3)))
13976 (define-public ghc-trifecta
13978 (name "ghc-trifecta")
13982 (uri (string-append
13983 "https://hackage.haskell.org/package/trifecta/"
13984 "trifecta-" version ".tar.gz"))
13987 "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk"))))
13988 (build-system haskell-build-system)
13990 `(#:tests? #f ; doctest suite fails to build on i686
13992 ("4" "0xbwyvwl6f2zylk60f2akwgq03qv49113xil7b1z1s3vlwbn5aj1")))
13994 `(("ghc-reducers" ,ghc-reducers)
13995 ("ghc-semigroups" ,ghc-semigroups)
13996 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13997 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13998 ("ghc-blaze-builder" ,ghc-blaze-builder)
13999 ("ghc-blaze-html" ,ghc-blaze-html)
14000 ("ghc-blaze-markup" ,ghc-blaze-markup)
14001 ("ghc-charset" ,ghc-charset)
14002 ("ghc-comonad" ,ghc-comonad)
14003 ("ghc-fingertree" ,ghc-fingertree)
14004 ("ghc-hashable" ,ghc-hashable)
14005 ("ghc-lens" ,ghc-lens)
14006 ("ghc-parsers" ,ghc-parsers)
14007 ("ghc-profunctors" ,ghc-profunctors)
14008 ("ghc-unordered-containers" ,ghc-unordered-containers)
14009 ("ghc-utf8-string" ,ghc-utf8-string)))
14011 `(("cabal-doctest" ,cabal-doctest)
14012 ("ghc-doctest" ,ghc-doctest)
14013 ("ghc-quickcheck" ,ghc-quickcheck)))
14014 (home-page "https://github.com/ekmett/trifecta/")
14015 (synopsis "Parser combinator library with convenient diagnostics")
14016 (description "Trifecta is a modern parser combinator library for Haskell,
14017 with slicing and Clang-style colored diagnostics.")
14018 (license license:bsd-3)))
14020 (define-public ghc-tuple-th
14022 (name "ghc-tuple-th")
14027 (uri (string-append "https://hackage.haskell.org/package/"
14028 "tuple-th-" version "/"
14029 "tuple-th-" version ".tar.gz"))
14032 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
14033 (build-system haskell-build-system)
14034 (home-page "https://github.com/DanielSchuessler/tuple-th")
14035 (synopsis "Generate utility functions for tuples of statically known size
14037 (description "This Haskell package contains Template Haskell functions for
14038 generating functions similar to those in @code{Data.List} for tuples of
14039 statically known size.")
14040 (license license:bsd-3)))
14042 (define-public ghc-turtle
14044 (name "ghc-turtle")
14049 (uri (string-append
14050 "mirror://hackage/package/turtle/turtle-"
14055 "0yckgsc2a4g5x867gni80ldp226bsnhncfbil4ql6v2zwm4r8p7f"))))
14056 (build-system haskell-build-system)
14058 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
14059 ("ghc-async" ,ghc-async)
14060 ("ghc-clock" ,ghc-clock)
14061 ("ghc-exceptions" ,ghc-exceptions)
14062 ("ghc-foldl" ,ghc-foldl)
14063 ("ghc-hostname" ,ghc-hostname)
14064 ("ghc-managed" ,ghc-managed)
14065 ("ghc-semigroups" ,ghc-semigroups)
14066 ("ghc-system-filepath" ,ghc-system-filepath)
14067 ("ghc-system-fileio" ,ghc-system-fileio)
14068 ("ghc-streaming-commons" ,ghc-streaming-commons)
14069 ("ghc-temporary" ,ghc-temporary)
14070 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
14071 ("ghc-optional-args" ,ghc-optional-args)
14072 ("ghc-unix-compat" ,ghc-unix-compat)))
14074 `(("ghc-doctest" ,ghc-doctest)
14075 ("ghc-fail" ,ghc-fail)))
14078 ("1" "02q1rv7zx31xz9wnmcqwd4w3iw7623p07iyi21zr0cqlignic5pg")))
14080 "http://hackage.haskell.org/package/turtle")
14081 (synopsis "Shell programming, Haskell-style")
14083 "Turtle is a reimplementation of the Unix command line environment in
14084 Haskell so that you can use Haskell as both a shell and a scripting
14085 language. Features include:
14088 @item Batteries included: Command an extended suite of predefined utilities.
14089 @item Interoperability: You can still run external shell commands.
14090 @item Portability: Works on Windows, OS X, and Linux.
14091 @item Exception safety: Safely acquire and release resources.
14092 @item Streaming: Transform or fold command output in constant space.
14093 @item Patterns: Use typed regular expressions that can parse structured values.
14094 @item Formatting: Type-safe printf-style text formatting.
14095 @item Modern: Supports text and system-filepath.
14098 Read \"Turtle.Tutorial\" for a detailed tutorial or \"Turtle.Prelude\" for a
14099 quick-start guide. Turtle is designed to be beginner-friendly, but as a
14100 result lacks certain features, like tracing commands. If you feel comfortable
14101 using turtle then you should also check out the Shelly library which provides
14102 similar functionality.")
14103 (license license:bsd-3)))
14105 (define-public ghc-typed-process
14107 (name "ghc-typed-process")
14108 (version "0.2.6.0")
14112 (uri (string-append "https://hackage.haskell.org/package/"
14113 "typed-process/typed-process-"
14114 version ".tar.gz"))
14117 "1cf2pfym8zdxvvy7xv72ixj7wy3rjrdss6f57k1ysgs66cgsi8ii"))))
14118 (build-system haskell-build-system)
14120 `(("ghc-async" ,ghc-async)
14121 ("ghc-unliftio-core" ,ghc-unliftio-core)))
14123 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
14124 ("ghc-hspec" ,ghc-hspec)
14125 ("hspec-discover" ,hspec-discover)
14126 ("ghc-temporary" ,ghc-temporary)))
14127 (home-page "https://haskell-lang.org/library/typed-process")
14128 (synopsis "Run external processes with strong typing of streams")
14130 "This library provides the ability to launch and interact with external
14131 processes. It wraps around the @code{process} library, and intends to improve
14133 (license license:expat)))
14135 (define-public ghc-uglymemo
14137 (name "ghc-uglymemo")
14138 (version "0.1.0.1")
14142 (uri (string-append
14143 "https://hackage.haskell.org/package/uglymemo/uglymemo-"
14148 "0ixqg5d0ly1r18jbgaa89i6kjzgi6c5hanw1b1y8c5fbq14yz2gy"))))
14149 (build-system haskell-build-system)
14150 (home-page "https://hackage.haskell.org/package/uglymemo")
14151 (synopsis "Simple memoization function for Haskell")
14153 "This package provides a simple (but internally ugly) memoization
14155 (license license:public-domain)))
14157 (define-public ghc-unagi-chan
14159 (name "ghc-unagi-chan")
14160 (version "0.4.1.2")
14164 (uri (string-append "https://hackage.haskell.org/package/unagi-chan"
14165 "/unagi-chan-" version ".tar.gz"))
14168 "1lnl5n4jnjmm4chp461glcwkrrw63rjz3fvprwxcy3lkpbkrqvgn"))))
14169 (build-system haskell-build-system)
14171 `(("ghc-atomic-primops" ,ghc-atomic-primops)
14172 ("ghc-primitive" ,ghc-primitive)))
14174 `(#:tests? #f ; FIXME: Tests expect primitive 0.7
14177 "09pqi867wskwgc5lpn197f895mbn1174ydgllvcppcsmrz2b6yr6")))
14178 (home-page "https://hackage.haskell.org/package/unagi-chan")
14179 (synopsis "Fast concurrent queues with a Chan-like API, and more")
14181 "This library provides implementations of concurrent FIFO queues (for
14182 both general boxed and primitive unboxed values) that are fast, perform well
14183 under contention, and offer a Chan-like interface. The library may be of
14184 limited usefulness outside of x86 architectures where the fetch-and-add
14185 instruction is not available.")
14186 (license license:bsd-3)))
14188 (define-public ghc-unbounded-delays
14190 (name "ghc-unbounded-delays")
14191 (version "0.1.1.0")
14195 (uri (string-append
14196 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
14201 "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa"))))
14202 (build-system haskell-build-system)
14203 (home-page "https://github.com/basvandijk/unbounded-delays")
14204 (synopsis "Unbounded thread delays and timeouts")
14205 (description "The @code{threadDelay} and @code{timeout} functions from the
14206 Haskell base library use the bounded @code{Int} type for specifying the delay
14207 or timeout period. This package provides alternative functions which use the
14208 unbounded @code{Integer} type.")
14209 (license license:bsd-3)))
14211 (define-public ghc-unexceptionalio
14213 (name "ghc-unexceptionalio")
14218 (uri (string-append "https://hackage.haskell.org/package/"
14219 "unexceptionalio-" version "/" "unexceptionalio-"
14220 version ".tar.gz"))
14221 (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p"))))
14222 (build-system haskell-build-system)
14223 (home-page "https://github.com/singpolyma/unexceptionalio")
14224 (synopsis "IO without any non-error, synchronous exceptions")
14225 (description "When you've caught all the exceptions that can be
14226 handled safely, this is what you're left with.")
14227 (license license:isc)))
14229 (define-public ghc-unicode-transforms
14231 (name "ghc-unicode-transforms")
14236 (uri (string-append "https://hackage.haskell.org/package/"
14237 "unicode-transforms/unicode-transforms-"
14238 version ".tar.gz"))
14241 "1akscvyssif4hki3g6hy0jmjyr8cqly1whzvzj0km2b3qh0x09l3"))))
14242 (build-system haskell-build-system)
14244 `(("ghc-bitarray" ,ghc-bitarray)))
14246 `(("ghc-quickcheck" ,ghc-quickcheck)
14247 ("ghc-getopt-generics" ,ghc-getopt-generics)
14248 ("ghc-split" ,ghc-split)))
14249 (home-page "https://github.com/composewell/unicode-transforms")
14250 (synopsis "Unicode normalization")
14251 (description "This library provides tools for fast Unicode 12.1.0
14252 normalization in Haskell (normalization forms C, KC, D, and KD).")
14253 (license license:bsd-3)))
14255 (define-public ghc-union-find
14257 (name "ghc-union-find")
14261 (uri (string-append
14262 "https://hackage.haskell.org/package/union-find/union-find-"
14263 version ".tar.gz"))
14266 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
14267 (build-system haskell-build-system)
14268 (home-page "https://github.com/nominolo/union-find")
14269 (synopsis "Efficient union and equivalence testing of sets")
14271 "The Union/Find algorithm implements these operations in (effectively)
14274 @item Check whether two elements are in the same equivalence class.
14275 @item Create a union of two equivalence classes.
14276 @item Look up the descriptor of the equivalence class.
14278 (license license:bsd-3)))
14280 (define-public ghc-uniplate
14282 (name "ghc-uniplate")
14287 (uri (string-append
14288 "https://hackage.haskell.org/package/uniplate/uniplate-"
14293 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
14294 (build-system haskell-build-system)
14296 `(("ghc-syb" ,ghc-syb)
14297 ("ghc-hashable" ,ghc-hashable)
14298 ("ghc-unordered-containers" ,ghc-unordered-containers)))
14299 (home-page "https://github.com/ndmitchell/uniplate")
14300 (synopsis "Simple, concise and fast generic operations")
14301 (description "Uniplate is a library for writing simple and concise generic
14302 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
14303 work, but is substantially simpler and faster.")
14304 (license license:bsd-3)))
14306 (define-public ghc-unix-compat
14308 (name "ghc-unix-compat")
14313 (uri (string-append
14314 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
14319 "1a8brv9fax76b1fymslzyghwa6ma8yijiyyhn12msl3i5x24x6k5"))))
14320 (build-system haskell-build-system)
14322 "https://github.com/jystic/unix-compat")
14323 (synopsis "Portable POSIX-compatibility layer")
14325 "This package provides portable implementations of parts of the unix
14326 package. This package re-exports the unix package when available. When it
14327 isn't available, portable implementations are used.")
14328 (license license:bsd-3)))
14330 (define-public ghc-unix-time
14332 (name "ghc-unix-time")
14337 (uri (string-append
14338 "https://hackage.haskell.org/package/unix-time/unix-time-"
14343 "02fyh298lm8jsg52i3z0ikazwz477ljqjmhnqr2d88grmn5ky8qr"))))
14344 (build-system haskell-build-system)
14346 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
14347 ; is weird, that should be provided by GHC 7.10.2.
14349 `(("ghc-old-time" ,ghc-old-time)
14350 ("ghc-old-locale" ,ghc-old-locale)))
14351 (home-page "https://hackage.haskell.org/package/unix-time")
14352 (synopsis "Unix time parser/formatter and utilities")
14353 (description "This library provides fast parsing and formatting utilities
14354 for Unix time in Haskell.")
14355 (license license:bsd-3)))
14357 (define-public ghc-unliftio
14359 (name "ghc-unliftio")
14364 (uri (string-append
14365 "https://hackage.haskell.org/package/unliftio/unliftio-"
14370 "02gy1zrxgzg4xmzm8lafsf1nyr3as1q20r8ld73xg3q7rkag9acg"))))
14371 (build-system haskell-build-system)
14372 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
14373 (outputs '("out" "static" "doc"))
14375 `(("ghc-async" ,ghc-async)
14376 ("ghc-unliftio-core" ,ghc-unliftio-core)))
14377 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
14378 (home-page "https://github.com/fpco/unliftio")
14379 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
14380 IO (batteries included)")
14381 (description "This Haskell package provides the core @code{MonadUnliftIO}
14382 typeclass, a number of common instances, and a collection of common functions
14384 (license license:expat)))
14386 (define-public ghc-unliftio-core
14388 (name "ghc-unliftio-core")
14389 (version "0.1.2.0")
14393 (uri (string-append "https://hackage.haskell.org/package/"
14394 "unliftio-core-" version "/"
14395 "unliftio-core-" version ".tar.gz"))
14398 "0y3siyx3drkw7igs380a87h8qfbbgcyxxlcnshp698hcc4yqphr4"))))
14399 (build-system haskell-build-system)
14402 ("2" "0jqrjjbgicx48wzcjxs1xmih48ay79rhmrz6081dldlfxynli6vz")))
14404 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
14405 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
14406 (description "This Haskell package provides the core @code{MonadUnliftIO}
14407 typeclass, instances for base and transformers, and basic utility
14409 (license license:expat)))
14411 (define-public ghc-unordered-containers
14413 (name "ghc-unordered-containers")
14414 (version "0.2.10.0")
14415 (outputs '("out" "static" "doc"))
14419 (uri (string-append
14420 "https://hackage.haskell.org/package/unordered-containers"
14421 "/unordered-containers-" version ".tar.gz"))
14424 "0wy5hfrs880hh8hvp648bl07ws777n3kkmczzdszr7papnyigwb5"))))
14425 (build-system haskell-build-system)
14427 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
14428 ("ghc-hunit" ,ghc-hunit)
14429 ("ghc-quickcheck" ,ghc-quickcheck)
14430 ("ghc-test-framework" ,ghc-test-framework)
14431 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
14432 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
14433 ("ghc-hashable" ,ghc-hashable)))
14435 "https://github.com/tibbe/unordered-containers")
14437 "Efficient hashing-based container types")
14439 "Efficient hashing-based container types. The containers have been
14440 optimized for performance critical use, both in terms of large data quantities
14442 (license license:bsd-3)))
14444 (define-public ghc-unordered-containers-bootstrap
14446 (inherit ghc-unordered-containers)
14447 (name "ghc-unordered-containers-bootstrap")
14448 (arguments `(#:tests? #f))
14450 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
14451 (properties '((hidden? #t)))))
14453 (define-public ghc-unsafe
14455 (name "ghc-unsafe")
14462 "https://hackage.haskell.org/package/unsafe/unsafe-"
14463 version ".tar.gz"))
14466 "0hc6xr1i3hkz25gdgfx1jqgpsc9mwa05bkfynp0mcfdlyz6782nz"))))
14467 (build-system haskell-build-system)
14468 (home-page "https://hackage.haskell.org/package/unsafe")
14469 (synopsis "Unified interface to unsafe functions")
14470 (description "Safe Haskell introduced the notion of safe and unsafe
14471 modules. In order to make as many as possible modules ``safe'', the
14472 well-known unsafe functions were moved to distinguished modules. This
14473 makes it hard to write packages that work with both old and new versions
14474 of GHC. This package provides a single module System.Unsafe that
14475 exports the unsafe functions from the base package. It provides them in
14476 a style ready for qualification, that is, you should import them by
14477 @code{import qualified System.Unsafe as Unsafe}.")
14478 (license license:bsd-3)))
14480 (define-public ghc-uri-bytestring
14482 (name "ghc-uri-bytestring")
14483 (version "0.3.2.2")
14487 (uri (string-append "https://hackage.haskell.org/package/"
14488 "uri-bytestring-" version "/"
14489 "uri-bytestring-" version ".tar.gz"))
14492 "0spzv3mwlpxiamd7347sxwcy2xri16ak1y7p1v4fisnvq4jprm67"))))
14493 (build-system haskell-build-system)
14494 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
14495 ("ghc-blaze-builder" ,ghc-blaze-builder)
14496 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
14497 (native-inputs `(("ghc-hunit" ,ghc-hunit)
14498 ("ghc-tasty" ,ghc-tasty)
14499 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14500 ("ghc-hedgehog" ,ghc-hedgehog)
14501 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
14502 ("ghc-base-compat" ,ghc-base-compat)
14503 ("ghc-semigroups" ,ghc-semigroups)
14504 ("ghc-safe" ,ghc-safe)))
14505 (home-page "https://github.com/Soostone/uri-bytestring")
14506 (synopsis "Haskell URI parsing as ByteStrings")
14507 (description "This Haskell package aims to be an RFC3986 compliant URI
14508 parser that uses ByteStrings for parsing and representing the URI data.")
14509 (license license:bsd-3)))
14511 (define-public ghc-utf8-light
14513 (name "ghc-utf8-light")
14518 (uri (string-append
14519 "mirror://hackage/package/utf8-light/utf8-light-"
14524 "0rwyc5z331yfnm4hpx0sph6i1zvkd1z10vvglhnp0vc9wy644k0q"))))
14525 (build-system haskell-build-system)
14527 "http://hackage.haskell.org/package/utf8-light")
14528 (synopsis "Lightweight unicode support for Haskell")
14530 "This package profides a class for encoding and decoding UTF8 strings
14531 with instances for several common types. It also includes several functions
14532 for working with UTF8. It aims to be lightweight, depending only on Base and
14533 including only one module.")
14534 (license license:bsd-3)))
14536 (define-public ghc-utf8-string
14538 (name "ghc-utf8-string")
14539 (version "1.0.1.1")
14543 (uri (string-append
14544 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
14548 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
14549 (build-system haskell-build-system)
14552 ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38")))
14553 (home-page "https://github.com/glguy/utf8-string/")
14554 (synopsis "Support for reading and writing UTF8 Strings")
14556 "A UTF8 layer for Strings. The utf8-string package provides operations
14557 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
14558 UTF8 without truncation.")
14559 (license license:bsd-3)))
14561 (define-public ghc-utility-ht
14563 (name "ghc-utility-ht")
14565 (home-page "https://hackage.haskell.org/package/utility-ht")
14569 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
14571 (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9"))))
14572 (build-system haskell-build-system)
14573 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
14574 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
14575 (description "This package includes Hakell modules providing various
14576 helper functions for Lists, Maybes, Tuples, Functions.")
14577 (license license:bsd-3)))
14579 (define-public ghc-uuid
14586 (uri (string-append "https://hackage.haskell.org/package/"
14587 "uuid-" version "/"
14588 "uuid-" version ".tar.gz"))
14591 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
14592 (build-system haskell-build-system)
14595 ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
14597 (modify-phases %standard-phases
14598 (add-before 'configure 'strip-test-framework-constraints
14600 (substitute* "uuid.cabal"
14601 (("HUnit >= 1\\.2 && < 1\\.4") "HUnit")
14602 (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck")
14603 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
14604 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
14605 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
14606 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
14607 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
14608 ("ghc-entropy" ,ghc-entropy)
14609 ("ghc-network-info" ,ghc-network-info)
14610 ("ghc-random" ,ghc-random)
14611 ("ghc-uuid-types" ,ghc-uuid-types)))
14612 (native-inputs `(("ghc-hunit" ,ghc-hunit)
14613 ("ghc-quickcheck" ,ghc-quickcheck)
14614 ("ghc-tasty" ,ghc-tasty)
14615 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14616 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14617 (home-page "https://github.com/hvr/uuid")
14618 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
14619 (description "This Haskell library provides utilities creating, comparing,
14620 parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
14621 (license license:bsd-3)))
14623 (define-public ghc-uuid-types
14625 (name "ghc-uuid-types")
14630 (uri (string-append "https://hackage.haskell.org/package/"
14631 "uuid-types-" version "/"
14632 "uuid-types-" version ".tar.gz"))
14635 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
14636 (build-system haskell-build-system)
14639 (modify-phases %standard-phases
14640 (add-before 'configure 'strip-test-framework-constraints
14642 (substitute* "uuid-types.cabal"
14643 (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
14644 (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
14645 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
14646 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
14647 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
14648 (inputs `(("ghc-hashable" ,ghc-hashable)
14649 ("ghc-random" ,ghc-random)))
14650 (native-inputs `(("ghc-hunit" ,ghc-hunit)
14651 ("ghc-quickcheck" ,ghc-quickcheck)
14652 ("ghc-tasty" ,ghc-tasty)
14653 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14654 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14655 (home-page "https://github.com/hvr/uuid")
14656 (synopsis "Haskell type definitions for UUIDs")
14657 (description "This Haskell library contains type definitions for
14658 @dfn{Universally Unique Identifiers} or
14659 @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
14661 (license license:bsd-3)))
14663 (define-public ghc-validation
14665 (name "ghc-validation")
14670 (uri (string-append
14671 "mirror://hackage/package/validation/validation-"
14676 "1acj7mh3581ks405xswxw6667z7y1y0slisg6jvp6chc191ji9l5"))))
14677 (build-system haskell-build-system)
14680 ("1" "1rrjg9z399k6pb55nv85mlr5bkmdqbjwkvl1cy7ydccdx6ks4syp")))
14682 `(("ghc-semigroups" ,ghc-semigroups)
14683 ("ghc-semigroupoids" ,ghc-semigroupoids)
14684 ("ghc-bifunctors" ,ghc-bifunctors)
14685 ("ghc-lens" ,ghc-lens)))
14687 `(("ghc-hedgehog" ,ghc-hedgehog)
14688 ("ghc-hunit" ,ghc-hunit)))
14689 (home-page "https://github.com/qfpl/validation")
14691 "Data-type like Either but with an accumulating Applicative")
14693 "A data-type like Either but with differing properties and type-class
14696 Library support is provided for this different representation, including
14697 @code{lens}-related functions for converting between each and abstracting over
14698 their similarities.
14700 The @code{Validation} data type is isomorphic to @code{Either}, but has an
14701 instance of @code{Applicative} that accumulates on the error side. That is to
14702 say, if two (or more) errors are encountered, they are appended using a
14703 @{Semigroup} operation.
14705 As a consequence of this @code{Applicative} instance, there is no
14706 corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an
14707 example of, \"An applicative functor that is not a monad.\"")
14708 (license license:bsd-3)))
14710 (define-public ghc-validity
14712 (name "ghc-validity")
14713 (version "0.9.0.2")
14717 (uri (string-append
14718 "https://hackage.haskell.org/package/validity/validity-"
14723 "1aa93lp1pqwv7vhx19nazlig8qhbp3psblbz360s5lii3s5rli2v"))))
14724 (build-system haskell-build-system)
14725 (native-inputs `(("ghc-hspec" ,ghc-hspec)
14726 ("hspec-discover" ,hspec-discover)))
14728 "https://github.com/NorfairKing/validity")
14729 (synopsis "Validity typeclass")
14731 "Values of custom types usually have invariants imposed upon them. This
14732 package provides the @code{Validity} type class, which makes these invariants
14733 explicit by providing a function to check whether the invariants hold.")
14734 (license license:expat)))
14736 (define-public ghc-vault
14739 (version "0.3.1.3")
14743 (uri (string-append
14744 "https://hackage.haskell.org/package/vault/vault-"
14749 "0vdm472vn734xa27jjm2mjacl37mxiqaaahvm4hzqjgyh4cqq377"))))
14750 (build-system haskell-build-system)
14752 `(("ghc-unordered-containers" ,ghc-unordered-containers)
14753 ("ghc-hashable" ,ghc-hashable)
14754 ("ghc-semigroups" ,ghc-semigroups)))
14756 "https://github.com/HeinrichApfelmus/vault")
14757 (synopsis "Persistent store for arbitrary values")
14758 (description "This package provides vaults for Haskell. A vault is a
14759 persistent store for values of arbitrary types. It's like having first-class
14760 access to the storage space behind @code{IORefs}. The data structure is
14761 analogous to a bank vault, where you can access different bank boxes with
14762 different keys; hence the name. Also provided is a @code{locker} type,
14763 representing a store for a single element.")
14764 (license license:bsd-3)))
14766 (define-public ghc-vector
14768 (name "ghc-vector")
14769 (version "0.12.0.3")
14770 (outputs '("out" "static" "doc"))
14774 (uri (string-append
14775 "https://hackage.haskell.org/package/vector/vector-"
14780 "1a756s4w759ji3als5alfxwlckh5zcmykfg9rll4mlr2knzvz8mq"))))
14781 (build-system haskell-build-system)
14782 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
14783 ;; disabled for now.
14787 `(("ghc-primitive" ,ghc-primitive)
14788 ("ghc-random" ,ghc-random)
14789 ("ghc-quickcheck" ,ghc-quickcheck)
14790 ;; ("ghc-hunit" ,ghc-hunit)
14791 ;; ("ghc-test-framework" ,ghc-test-framework)
14792 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
14793 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
14795 (home-page "https://github.com/haskell/vector")
14796 (synopsis "Efficient Arrays")
14797 (description "This library provides an efficient implementation of
14798 Int-indexed arrays (both mutable and immutable), with a powerful loop
14799 optimisation framework.")
14800 (license license:bsd-3)))
14802 (define-public ghc-vector-algorithms
14804 (name "ghc-vector-algorithms")
14805 (version "0.8.0.1")
14809 (uri (string-append "https://hackage.haskell.org/package/"
14810 "vector-algorithms-" version "/"
14811 "vector-algorithms-" version ".tar.gz"))
14814 "1zip8r7hh5g12xrjvhbg38z6hfxy7l6h6pl88qcqc0ygdmwdxg0m"))))
14815 (build-system haskell-build-system)
14817 `(("ghc-vector" ,ghc-vector)))
14819 `(("ghc-quickcheck" ,ghc-quickcheck)))
14820 (home-page "https://github.com/bos/math-functions")
14821 (synopsis "Algorithms for vector arrays in Haskell")
14822 (description "This Haskell library algorithms for vector arrays.")
14823 (license license:bsd-3)))
14825 (define-public ghc-vector-binary-instances
14827 (name "ghc-vector-binary-instances")
14828 (version "0.2.5.1")
14832 (uri (string-append
14833 "https://hackage.haskell.org/package/"
14834 "vector-binary-instances/vector-binary-instances-"
14835 version ".tar.gz"))
14838 "04n5cqm1v95pw1bp68l9drjkxqiy2vswxdq0fy1rqcgxisgvji9r"))))
14839 (build-system haskell-build-system)
14841 `(("ghc-vector" ,ghc-vector)))
14843 `(("ghc-tasty" ,ghc-tasty)
14844 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14845 (home-page "https://github.com/bos/vector-binary-instances")
14846 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
14847 (description "This library provides instances of @code{Binary} for the
14848 types defined in the @code{vector} package, making it easy to serialize
14849 vectors to and from disk. We use the generic interface to vectors, so all
14850 vector types are supported. Specific instances are provided for unboxed,
14851 boxed and storable vectors.")
14852 (license license:bsd-3)))
14854 (define-public ghc-vector-builder
14856 (name "ghc-vector-builder")
14861 (uri (string-append "https://hackage.haskell.org/package/"
14862 "vector-builder-" version "/"
14863 "vector-builder-" version ".tar.gz"))
14866 "0ww0l52p8s6gmh985adnjbvm1vrqpqbm08qdcrvxwhhcqmxgv6m3"))))
14867 (build-system haskell-build-system)
14868 (inputs `(("ghc-vector" ,ghc-vector)
14869 ("ghc-semigroups" ,ghc-semigroups)
14870 ("ghc-base-prelude" ,ghc-base-prelude)))
14871 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
14872 ("ghc-tasty" ,ghc-tasty)
14873 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14874 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
14875 ("ghc-hunit" ,ghc-hunit)
14876 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
14877 ("ghc-rerebase" ,ghc-rerebase)))
14878 (home-page "https://github.com/nikita-volkov/vector-builder")
14879 (synopsis "Vector builder for Haskell")
14880 (description "This Haskell package provides an API for constructing vectors.
14881 It provides the composable @code{Builder} abstraction, which has instances of the
14882 @code{Monoid} and @code{Semigroup} classes.
14884 You would first use the @code{Builder} abstraction to specify the structure of
14885 the vector; then you can execute the builder to actually produce the
14887 (license license:expat)))
14889 (define-public ghc-vector-th-unbox
14891 (name "ghc-vector-th-unbox")
14892 (version "0.2.1.7")
14896 (uri (string-append "https://hackage.haskell.org/package/"
14897 "vector-th-unbox-" version "/"
14898 "vector-th-unbox-" version ".tar.gz"))
14901 "0q8dqnbv1c2gi7jjdhqj14abj1vik23ki6lq4iz2sz18yc7q69fi"))))
14902 (build-system haskell-build-system)
14904 `(("ghc-vector" ,ghc-vector)
14905 ("ghc-data-default" ,ghc-data-default)))
14906 (home-page "https://github.com/liyang/vector-th-unbox")
14907 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
14908 (description "This Haskell library provides a Template Haskell
14909 deriver for unboxed vectors, given a pair of coercion functions to
14910 and from some existing type with an Unbox instance.")
14911 (license license:bsd-3)))
14913 (define-public ghc-void
14920 (uri (string-append
14921 "https://hackage.haskell.org/package/void/void-"
14926 "05vk3x1r9a2pqnzfji475m5gdih2im1h7rbi2sc67p1pvj6pbbsk"))))
14927 (build-system haskell-build-system)
14929 `(("ghc-semigroups" ,ghc-semigroups)
14930 ("ghc-hashable" ,ghc-hashable)))
14931 (home-page "https://github.com/ekmett/void")
14933 "Logically uninhabited data type")
14935 "A Haskell 98 logically uninhabited data type, used to indicate that a
14936 given term should not exist.")
14937 (license license:bsd-3)))
14939 (define-public ghc-wave
14945 (uri (string-append
14946 "https://hackage.haskell.org/package/wave/wave-"
14951 "149kgwngq3qxc7gxpkqb16j669j0wpv2f3gnvfwp58yg6m4259ki"))))
14952 (build-system haskell-build-system)
14955 (modify-phases %standard-phases
14956 (add-before 'configure 'update-constraints
14958 (substitute* "wave.cabal"
14959 (("temporary.* < 1\\.3")
14960 "temporary >= 1.1 && < 1.4")))))))
14962 `(("ghc-cereal" ,ghc-cereal)
14963 ("ghc-data-default-class"
14964 ,ghc-data-default-class)
14965 ("ghc-quickcheck" ,ghc-quickcheck)
14966 ("ghc-temporary" ,ghc-temporary)))
14968 `(("hspec-discover" ,hspec-discover)
14969 ("ghc-hspec" ,ghc-hspec)))
14970 (home-page "https://github.com/mrkkrp/wave")
14971 (synopsis "Work with WAVE and RF64 files in Haskell")
14972 (description "This package allows you to work with WAVE and RF64
14973 files in Haskell.")
14974 (license license:bsd-3)))
14976 (define-public ghc-wcwidth
14978 (name "ghc-wcwidth")
14983 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
14984 version ".tar.gz"))
14987 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
14988 (build-system haskell-build-system)
14990 `(("ghc-setlocale" ,ghc-setlocale)
14991 ("ghc-utf8-string" ,ghc-utf8-string)
14992 ("ghc-attoparsec" ,ghc-attoparsec)))
14993 (home-page "https://github.com/solidsnack/wcwidth/")
14994 (synopsis "Haskell bindings to wcwidth")
14995 (description "This package provides Haskell bindings to your system's
14996 native wcwidth and a command line tool to examine the widths assigned by it.
14997 The command line tool can compile a width table to Haskell code that assigns
14998 widths to the Char type.")
14999 (license license:bsd-3)))
15001 (define-public ghc-wcwidth-bootstrap
15003 (inherit ghc-wcwidth)
15004 (name "ghc-wcwidth-bootstrap")
15006 `(("ghc-setlocale" ,ghc-setlocale)
15007 ("ghc-utf8-string" ,ghc-utf8-string)
15008 ("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
15009 (properties '((hidden? #t)))))
15011 (define-public ghc-weigh
15018 (uri (string-append "https://hackage.haskell.org/package/weigh/"
15019 "weigh-" version ".tar.gz"))
15022 "0l85marb5rl9nr1c0id42dnr5i9fk1jciy5h6lywhb34w3hbj61g"))))
15023 (build-system haskell-build-system)
15025 `(("ghc-split" ,ghc-split)
15026 ("ghc-temporary" ,ghc-temporary)))
15027 (home-page "https://github.com/fpco/weigh#readme")
15028 (synopsis "Measure allocations of a Haskell functions/values")
15029 (description "This package provides tools to measure the memory usage of a
15030 Haskell value or function.")
15031 (license license:bsd-3)))
15033 (define-public ghc-wizards
15035 (name "ghc-wizards")
15040 (uri (string-append
15041 "https://hackage.haskell.org/package/wizards/wizards-"
15046 "1clvbd1ckhvy29qrbmpkn7bya7300fq6znnps23nn3nxyrxhsr85"))))
15047 (build-system haskell-build-system)
15049 `(("ghc-control-monad-free" ,ghc-control-monad-free)))
15053 "095qd17zrdhqmcvmslbyzfa5sh9glvvsnsvnlz31gzsmi8nnsgim")))
15054 (home-page "http://hackage.haskell.org/package/wizards")
15055 (synopsis "High level, generic library for interrogative user interfaces")
15057 "@code{wizards} is a package designed for the quick and painless
15058 development of @emph{interrogative} programs, which revolve around a dialogue
15059 with the user, who is asked a series of questions in a sequence much like an
15060 installation wizard.
15062 Everything from interactive system scripts, to installation wizards, to
15063 full-blown shells can be implemented with the support of @code{wizards}.
15065 It is developed transparently on top of a free monad, which separates out the
15066 semantics of the program from any particular interface. A variety of backends
15067 exist, including console-based @code{System.Console.Wizard.Haskeline} and
15068 @code{System.Console.Wizard.BasicIO}, and the pure
15069 @code{System.Console.Wizard.Pure}. It is also possible to write your own
15070 backends, or extend existing back-ends with new features. While both built-in
15071 IO backends operate on a console, there is no reason why @code{wizards} cannot
15072 also be used for making GUI wizard interfaces.")
15073 (license license:bsd-3)))
15075 (define-public ghc-wl-pprint
15077 (name "ghc-wl-pprint")
15081 (uri (string-append
15082 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
15083 version ".tar.gz"))
15086 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
15087 (build-system haskell-build-system)
15088 (home-page "https://hackage.haskell.org/package/wl-pprint")
15089 (synopsis "Wadler/Leijen pretty printer")
15091 "This is a pretty printing library based on Wadler's paper @i{A Prettier
15092 Printer}. This version allows the library user to declare overlapping
15093 instances of the @code{Pretty} class.")
15094 (license license:bsd-3)))
15096 (define-public ghc-wl-pprint-annotated
15098 (name "ghc-wl-pprint-annotated")
15099 (version "0.1.0.1")
15103 (uri (string-append
15104 "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-"
15109 "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb"))))
15110 (build-system haskell-build-system)
15112 `(("ghc-tasty" ,ghc-tasty)
15113 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
15115 "https://github.com/minad/wl-pprint-annotated#readme")
15117 "Wadler/Leijen pretty printer with annotation support")
15119 "Annotations are useful for coloring. This is a limited version of
15120 @code{wl-pprint-extras} without support for point effects and without the free
15121 monad. Like in @code{annotated-wl-pprint}, only annotations are supported.
15122 Compared to @code{annotated-wl-pprint} this library provides a slightly
15123 modernized interface.")
15124 (license license:bsd-3)))
15126 (define-public ghc-wl-pprint-text
15128 (name "ghc-wl-pprint-text")
15129 (version "1.2.0.0")
15133 (uri (string-append
15134 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
15135 version ".tar.gz"))
15138 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
15139 (build-system haskell-build-system)
15141 `(("ghc-base-compat" ,ghc-base-compat)))
15142 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
15143 (synopsis "Wadler/Leijen Pretty Printer for Text values")
15145 "A clone of wl-pprint for use with the text library.")
15146 (license license:bsd-3)))
15148 (define-public ghc-word8
15155 (uri (string-append
15156 "https://hackage.haskell.org/package/word8/word8-"
15161 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
15162 (build-system haskell-build-system)
15164 `(("ghc-hspec" ,ghc-hspec)
15165 ("hspec-discover" ,hspec-discover)))
15166 (home-page "https://hackage.haskell.org/package/word8")
15167 (synopsis "Word8 library for Haskell")
15168 (description "Word8 library to be used with @code{Data.ByteString}.")
15169 (license license:bsd-3)))
15171 (define-public ghc-x11
15178 (uri (string-append "https://hackage.haskell.org/package/X11/"
15179 "X11-" version ".tar.gz"))
15181 (base32 "0gg6852mrlgl8zng1j84fismz7k81jr5fk92glgkscf8q6ryg0bm"))))
15182 (build-system haskell-build-system)
15184 `(#:extra-directories
15185 ("libx11" "libxrandr" "libxinerama" "libxscrnsaver")))
15187 `(("libx11" ,libx11)
15188 ("libxrandr" ,libxrandr)
15189 ("libxinerama" ,libxinerama)
15190 ("libxscrnsaver" ,libxscrnsaver)
15191 ("ghc-data-default" ,ghc-data-default)))
15192 (home-page "https://github.com/haskell-pkg-janitors/X11")
15193 (synopsis "Bindings to the X11 graphics library")
15195 "This package provides Haskell bindings to the X11 graphics library. The
15196 bindings are a direct translation of the C bindings.")
15197 (license license:bsd-3)))
15199 (define-public ghc-x11-xft
15201 (name "ghc-x11-xft")
15206 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
15207 "X11-xft-" version ".tar.gz"))
15209 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
15211 `(#:extra-directories ("libx11" "libxft" "xorgproto")))
15213 `(("ghc-x11" ,ghc-x11)
15214 ("ghc-utf8-string" ,ghc-utf8-string)
15217 ("xorgproto" ,xorgproto)))
15219 `(("pkg-config" ,pkg-config)))
15220 (build-system haskell-build-system)
15221 (home-page "https://hackage.haskell.org/package/X11-xft")
15222 (synopsis "Bindings to Xft")
15224 "Bindings to the Xft, X Free Type interface library, and some Xrender
15226 (license license:lgpl2.1)))
15228 (define-public ghc-xdg-basedir
15230 (name "ghc-xdg-basedir")
15235 (uri (string-append
15236 "https://hackage.haskell.org/package/xdg-basedir/"
15237 "xdg-basedir-" version ".tar.gz"))
15240 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
15241 (build-system haskell-build-system)
15242 (home-page "https://github.com/willdonnelly/xdg-basedir")
15243 (synopsis "XDG Base Directory library for Haskell")
15244 (description "This package provides a library implementing the XDG Base Directory spec.")
15245 (license license:bsd-3)))
15247 (define-public ghc-xml
15254 (uri (string-append
15255 "https://hackage.haskell.org/package/xml/xml-"
15260 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
15261 (build-system haskell-build-system)
15262 (home-page "https://github.com/GaloisInc/xml")
15263 (synopsis "Simple XML library for Haskell")
15264 (description "This package provides a simple XML library for Haskell.")
15265 (license license:bsd-3)))
15267 (define-public ghc-xml-conduit
15269 (name "ghc-xml-conduit")
15270 (version "1.8.0.1")
15274 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
15275 "xml-conduit-" version ".tar.gz"))
15278 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
15279 (build-system haskell-build-system)
15281 `(("ghc-conduit" ,ghc-conduit)
15282 ("ghc-conduit-extra" ,ghc-conduit-extra)
15283 ("ghc-doctest" ,ghc-doctest)
15284 ("ghc-resourcet" ,ghc-resourcet)
15285 ("ghc-xml-types" ,ghc-xml-types)
15286 ("ghc-attoparsec" ,ghc-attoparsec)
15287 ("ghc-data-default-class" ,ghc-data-default-class)
15288 ("ghc-blaze-markup" ,ghc-blaze-markup)
15289 ("ghc-blaze-html" ,ghc-blaze-html)
15290 ("ghc-monad-control" ,ghc-monad-control)
15291 ("ghc-hspec" ,ghc-hspec)
15292 ("ghc-hunit" ,ghc-hunit)))
15293 (home-page "https://github.com/snoyberg/xml")
15294 (synopsis "Utilities for dealing with XML with the conduit package")
15296 "This package provides pure-Haskell utilities for dealing with XML with
15297 the @code{conduit} package.")
15298 (license license:expat)))
15300 (define-public ghc-xml-types
15302 (name "ghc-xml-types")
15307 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
15308 "xml-types-" version ".tar.gz"))
15311 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
15312 (build-system haskell-build-system)
15313 (home-page "https://john-millikin.com/software/haskell-xml/")
15314 (synopsis "Basic types for representing XML")
15315 (description "This package provides basic types for representing XML
15317 (license license:expat)))
15319 (define-public ghc-xml-hamlet
15321 (name "ghc-xml-hamlet")
15322 (version "0.5.0.1")
15326 (uri (string-append "https://hackage.haskell.org/package/xml-hamlet/"
15327 "xml-hamlet-" version ".tar.gz"))
15329 (base32 "0jrhcjy7ww59dafg857f2g2df1fw2jmbwcs1q379ph0pc5rxj3lj"))))
15330 (build-system haskell-build-system)
15332 `(("ghc-shakespeare" ,ghc-shakespeare)
15333 ("ghc-xml-conduit" ,ghc-xml-conduit)))
15335 `(("ghc-hspec" ,ghc-hspec)
15336 ("ghc-hunit" ,ghc-hunit)))
15337 (home-page "https://www.yesodweb.com/")
15338 (synopsis "Hamlet-style quasiquoter for XML content")
15339 (description "This package provides a type-safe tool for generating XML
15340 code via quasi-quoting built on top of @code{ghc-shakespeare}.")
15341 (license license:bsd-3)))
15343 (define-public ghc-yaml
15346 (version "0.11.1.2")
15349 (uri (string-append "https://hackage.haskell.org/package/"
15350 "yaml/yaml-" version ".tar.gz"))
15353 "028pz77n92l6kjgjv263h4b6yhw1iibdbf3a3dkn5qnz537xpzhc"))))
15354 (build-system haskell-build-system)
15356 `(("ghc-conduit" ,ghc-conduit)
15357 ("ghc-resourcet" ,ghc-resourcet)
15358 ("ghc-aeson" ,ghc-aeson)
15359 ("ghc-unordered-containers" ,ghc-unordered-containers)
15360 ("ghc-vector" ,ghc-vector)
15361 ("ghc-attoparsec" ,ghc-attoparsec)
15362 ("ghc-scientific" ,ghc-scientific)
15363 ("ghc-semigroups" ,ghc-semigroups)
15364 ("ghc-temporary" ,ghc-temporary)
15365 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
15366 ("ghc-base-compat" ,ghc-base-compat)
15367 ("ghc-libyaml" ,ghc-libyaml)))
15369 `(("ghc-hspec" ,ghc-hspec)
15370 ("ghc-hunit" ,ghc-hunit)
15371 ("hspec-discover" ,hspec-discover)
15372 ("ghc-mockery" ,ghc-mockery)
15373 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)))
15374 (home-page "https://github.com/snoyberg/yaml/")
15375 (synopsis "Parsing and rendering YAML documents")
15377 "This package provides a library to parse and render YAML documents.")
15378 (license license:bsd-3)))
15380 (define-public ghc-zip-archive
15382 (name "ghc-zip-archive")
15387 (uri (string-append
15388 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
15393 "1cdix5mnxrbs7b2kivhdydhfzgxidd9dqlw71mdw5p21cabwkmf5"))))
15394 (build-system haskell-build-system)
15397 (modify-phases %standard-phases
15398 (add-before 'check 'set-PATH-for-tests
15399 (lambda* (#:key inputs #:allow-other-keys)
15400 (let ((unzip (assoc-ref inputs "unzip"))
15401 (which (assoc-ref inputs "which"))
15402 (path (getenv "PATH")))
15403 (setenv "PATH" (string-append unzip "/bin:" which "/bin:" path))
15406 `(("ghc-digest" ,ghc-digest)
15407 ("ghc-temporary" ,ghc-temporary)
15408 ("ghc-zlib" ,ghc-zlib)))
15410 `(("ghc-hunit" ,ghc-hunit)
15413 (home-page "https://hackage.haskell.org/package/zip-archive")
15414 (synopsis "Zip archive library for Haskell")
15415 (description "The zip-archive library provides functions for creating,
15416 modifying, and extracting files from zip archives in Haskell.")
15417 (license license:bsd-3)))
15419 (define-public ghc-zlib
15422 (version "0.6.2.1")
15423 (outputs '("out" "static" "doc"))
15427 (uri (string-append
15428 "https://hackage.haskell.org/package/zlib/zlib-"
15433 "1l11jraslcrp9d4wnhwfyhwk4fsiq1aq8i6vj81vcq1m2zzi1y7h"))))
15434 (build-system haskell-build-system)
15436 `(#:extra-directories ("zlib")
15438 (modify-phases %standard-phases
15439 (add-before 'configure 'strip-test-framework-constraints
15441 (substitute* "zlib.cabal"
15442 (("tasty >= 0\\.8 && < 0\\.12") "tasty")
15443 (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit")
15444 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
15445 (inputs `(("zlib" ,zlib)))
15447 `(("ghc-quickcheck" ,ghc-quickcheck)
15448 ("ghc-tasty" ,ghc-tasty)
15449 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
15450 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
15451 (home-page "https://hackage.haskell.org/package/zlib")
15453 "Compression and decompression in the gzip and zlib formats")
15455 "This package provides a pure interface for compressing and decompressing
15456 streams of data represented as lazy @code{ByteString}s. It uses the zlib C
15457 library so it has high performance. It supports the @code{zlib}, @code{gzip}
15458 and @code{raw} compression formats. It provides a convenient high level API
15459 suitable for most tasks and for the few cases where more control is needed it
15460 provides access to the full zlib feature set.")
15461 (license license:bsd-3)))
15463 (define-public ghc-zlib-bindings
15465 (name "ghc-zlib-bindings")
15466 (version "0.1.1.5")
15470 (uri (string-append "https://hackage.haskell.org/package/"
15471 "zlib-bindings/zlib-bindings-" version ".tar.gz"))
15474 "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8"))))
15475 (build-system haskell-build-system)
15477 `(("ghc-zlib" ,ghc-zlib)))
15479 `(("ghc-hspec" ,ghc-hspec)
15480 ("ghc-quickcheck" ,ghc-quickcheck)))
15483 ("2" "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc")))
15484 (home-page "https://github.com/snapframework/zlib-bindings")
15485 (synopsis "Low-level bindings to the @code{zlib} package")
15486 (description "This package provides low-level bindings to the
15487 @code{zlib} package.")
15488 (license license:bsd-3)))
15490 (define-public ghc-zstd
15493 (version "0.1.1.2")
15497 (uri (string-append "https://hackage.haskell.org/package/"
15498 "zstd/zstd-" version ".tar.gz"))
15501 "147s496zvw13akxqzg65mgfvk3bvhrcilxgf8n786prxg5cm4jz2"))))
15502 (build-system haskell-build-system)
15504 `(("ghc-quickcheck" ,ghc-quickcheck)
15505 ("ghc-test-framework" ,ghc-test-framework)
15506 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
15507 (home-page "https://github.com/luispedro/hs-zstd")
15508 (synopsis "Haskell bindings to the Zstandard compression algorithm")
15509 (description "This library provides Haskell bindings to the
15510 Zstandard compression algorithm, a fast lossless compression algorithm
15511 targeting real-time compression scenarios at zlib-level and better
15512 compression ratios.")
15513 (license license:bsd-3)))