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 John Soo <jsoo1@asu.edu>
23 ;;; Copyright © 2019 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>
30 ;;; This file is part of GNU Guix.
32 ;;; GNU Guix is free software; you can redistribute it and/or modify it
33 ;;; under the terms of the GNU General Public License as published by
34 ;;; the Free Software Foundation; either version 3 of the License, or (at
35 ;;; your option) any later version.
37 ;;; GNU Guix is distributed in the hope that it will be useful, but
38 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
39 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40 ;;; GNU General Public License for more details.
42 ;;; You should have received a copy of the GNU General Public License
43 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
45 (define-module (gnu packages haskell-xyz)
46 #:use-module (gnu packages)
47 #:use-module (gnu packages base)
48 #:use-module (gnu packages compression)
49 #:use-module (gnu packages emacs)
50 #:use-module (gnu packages gcc)
51 #:use-module (gnu packages gl)
52 #:use-module (gnu packages graphviz)
53 #:use-module (gnu packages gtk)
54 #:use-module (gnu packages haskell-apps)
55 #:use-module (gnu packages haskell-check)
56 #:use-module (gnu packages haskell-crypto)
57 #:use-module (gnu packages haskell-web)
58 #:use-module (gnu packages libffi)
59 #:use-module (gnu packages linux)
60 #:use-module (gnu packages llvm)
61 #:use-module (gnu packages lua)
62 #:use-module (gnu packages maths)
63 #:use-module (gnu packages ncurses)
64 #:use-module (gnu packages pcre)
65 #:use-module (gnu packages pkg-config)
66 #:use-module (gnu packages sdl)
67 #:use-module (gnu packages web)
68 #:use-module (gnu packages xml)
69 #:use-module (gnu packages xorg)
70 #:use-module (guix build-system haskell)
71 #:use-module (guix download)
72 #:use-module (guix git-download)
73 #:use-module (guix utils)
74 #:use-module ((guix licenses) #:prefix license:)
75 #:use-module (guix packages))
77 (define-public ghc-abstract-deque
79 (name "ghc-abstract-deque")
84 (uri (string-append "https://hackage.haskell.org/package/"
85 "abstract-deque-" version "/"
86 "abstract-deque-" version ".tar.gz"))
89 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
90 (build-system haskell-build-system)
91 (inputs `(("ghc-random" ,ghc-random)))
92 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
93 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
94 (description "This Haskell package provides an abstract interface to
95 highly-parameterizable queues/deques.
97 Background: There exists a feature space for queues that extends between:
100 @item Simple, single-ended, non-concurrent, bounded queues
102 @item Double-ended, thread-safe, growable queues with important points
103 in between (such as the queues used for work stealing).
106 This package includes an interface for Deques that allows the programmer
107 to use a single API for all of the above, while using the type system to
108 select an efficient implementation given the requirements (using type families).
110 This package also includes a simple reference implementation based on
111 @code{IORef} and @code{Data.Sequence}.")
112 (license license:bsd-3)))
114 (define-public ghc-abstract-par
116 (name "ghc-abstract-par")
121 (uri (string-append "https://hackage.haskell.org/package/"
122 "abstract-par-" version "/"
123 "abstract-par-" version ".tar.gz"))
126 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
127 (build-system haskell-build-system)
128 (home-page "https://github.com/simonmar/monad-par")
129 (synopsis "Abstract parallelization interface for Haskell")
130 (description "This Haskell package is an abstract interface
131 only. It provides a number of type clasess, but not an
132 implementation. The type classes separate different levels
133 of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
134 module for more details.")
135 (license license:bsd-3)))
137 (define-public ghc-active
144 (uri (string-append "https://hackage.haskell.org/package/"
145 "active/active-" version ".tar.gz"))
148 "0x3b4ln6csa554qls28wbxvclkbdz3yi60i1m0q5ing0cs16fifz"))))
149 (build-system haskell-build-system)
151 `(("ghc-vector" ,ghc-vector)
152 ("ghc-semigroups" ,ghc-semigroups)
153 ("ghc-semigroupoids" ,ghc-semigroupoids)
154 ("ghc-lens" ,ghc-lens)
155 ("ghc-linear" ,ghc-linear)))
157 `(("ghc-quickcheck" ,ghc-quickcheck)))
158 (home-page "https://hackage.haskell.org/package/active")
159 (synopsis "Abstractions for animation")
160 (description "This package defines an @code{Active} abstraction for
161 time-varying values with finite start and end times. It is used for
162 describing animations within the
163 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
164 diagrams framework}.")
165 (license license:bsd-3)))
167 (define-public ghc-adjunctions
169 (name "ghc-adjunctions")
175 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
180 "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h"))))
181 (build-system haskell-build-system)
184 ("2" "1yfsjx7dqikg3hvld7i91xfsg5lawmr5980lvfd794sybmgxsf17")))
186 `(("ghc-profunctors" ,ghc-profunctors)
187 ("ghc-comonad" ,ghc-comonad)
188 ("ghc-contravariant" ,ghc-contravariant)
189 ("ghc-distributive" ,ghc-distributive)
190 ("ghc-free" ,ghc-free)
191 ("ghc-tagged" ,ghc-tagged)
192 ("ghc-semigroupoids" ,ghc-semigroupoids)
193 ("ghc-semigroups" ,ghc-semigroups)
194 ("ghc-transformers-compat" ,ghc-transformers-compat)
195 ("ghc-void" ,ghc-void)))
197 `(("ghc-generic-deriving" ,ghc-generic-deriving)
198 ("ghc-hspec" ,ghc-hspec)
199 ("hspec-discover" ,hspec-discover)))
200 (home-page "https://github.com/ekmett/adjunctions/")
201 (synopsis "Adjunctions and representable functors")
202 (description "This library provides adjunctions and representable functors
204 (license license:bsd-3)))
206 (define-public ghc-aeson-compat
208 (name "ghc-aeson-compat")
213 (uri (string-append "https://hackage.haskell.org/package/"
214 "aeson-compat-" version "/"
215 "aeson-compat-" version ".tar.gz"))
218 "1j13gykv4ryvmr14w5blz0nnpdb4p0hpa27wahw3mhb1lwdr8hz0"))))
219 (build-system haskell-build-system)
220 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
221 (inputs `(("ghc-base-compat" ,ghc-base-compat)
222 ("ghc-aeson" ,ghc-aeson)
223 ("ghc-attoparsec" ,ghc-attoparsec)
224 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
225 ("ghc-exceptions" ,ghc-exceptions)
226 ("ghc-hashable" ,ghc-hashable)
227 ("ghc-scientific" ,ghc-scientific)
228 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
229 ("ghc-unordered-containers" ,ghc-unordered-containers)
230 ("ghc-vector" ,ghc-vector)
231 ("ghc-tagged" ,ghc-tagged)
232 ("ghc-semigroups" ,ghc-semigroups)
233 ("ghc-nats" ,ghc-nats)))
234 (home-page "https://github.com/phadej/aeson-compat")
235 (synopsis "Compatibility layer for ghc-aeson")
236 (description "This Haskell package provides compatibility layer for
238 (license license:bsd-3)))
240 (define-public ghc-aeson-diff
242 (name "ghc-aeson-diff")
247 (uri (string-append "https://hackage.haskell.org/package/"
248 "aeson-diff/aeson-diff-" version ".tar.gz"))
251 "01d48pd7d1mb9cd5yxfajln8rmjdjq8ch91s0lav4qw1azv6vp2r"))))
252 (build-system haskell-build-system)
254 `(("ghc-aeson" ,ghc-aeson)
255 ("ghc-edit-distance-vector" ,ghc-edit-distance-vector)
256 ("ghc-hashable" ,ghc-hashable)
257 ("ghc-scientific" ,ghc-scientific)
258 ("ghc-unordered-containers" ,ghc-unordered-containers)
259 ("ghc-vector" ,ghc-vector)
260 ("ghc-semigroups" ,ghc-semigroups)
261 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
263 `(("ghc-quickcheck" ,ghc-quickcheck)
264 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
265 ("ghc-glob" ,ghc-glob)
266 ("ghc-quickcheck" ,ghc-quickcheck)
267 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
268 ("ghc-quickcheck" ,ghc-quickcheck)
269 ("ghc-doctest" ,ghc-doctest)
271 (home-page "https://github.com/thsutton/aeson-diff")
272 (synopsis "Extract and apply patches to JSON documents")
273 (description "This is a small library for working with changes to JSON
274 documents. It includes a library and two command-line executables in the
275 style of the @command{diff} and @command{patch} commands available on many
277 (license license:bsd-3)))
279 (define-public ghc-alex
287 "https://hackage.haskell.org/package/alex/alex-"
292 "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm"))))
293 (build-system haskell-build-system)
296 (modify-phases %standard-phases
297 (add-before 'check 'set-check-variables
299 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
301 (setenv "alex_datadir" (string-append (getcwd) "/data"))
303 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
306 (home-page "https://www.haskell.org/alex/")
308 "Tool for generating lexical analysers in Haskell")
310 "Alex is a tool for generating lexical analysers in Haskell. It takes a
311 description of tokens based on regular expressions and generates a Haskell
312 module containing code for scanning text efficiently. It is similar to the
313 tool lex or flex for C/C++.")
314 (license license:bsd-3)))
316 (define-public ghc-alsa-core
318 (name "ghc-alsa-core")
324 "mirror://hackage/package/alsa-core/alsa-core-"
329 "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b"))))
330 (build-system haskell-build-system)
332 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
333 ("alsa-lib" ,alsa-lib)))
335 `(("pkg-config" ,pkg-config)))
336 (home-page "http://www.haskell.org/haskellwiki/ALSA")
337 (synopsis "Binding to the ALSA Library API (Exceptions)")
338 (description "This package provides access to ALSA infrastructure, that is
339 needed by both alsa-seq and alsa-pcm.")
340 (license license:bsd-3)))
342 (define-public ghc-alsa-mixer
344 (name "ghc-alsa-mixer")
351 "mirror://hackage/package/alsa-mixer/alsa-mixer-"
355 "00ny2p3276jilidjs44npc8zmbhynz3f2lpmlwwl6swwx5yijsnb"))))
356 (build-system haskell-build-system)
357 (inputs `(("ghc-alsa-core" ,ghc-alsa-core)))
358 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
359 (home-page "https://github.com/ttuegel/alsa-mixer")
360 (synopsis "Bindings to the ALSA simple mixer API")
362 "This package provides bindings to the ALSA simple mixer API.")
363 (license license:bsd-3)))
365 (define-public ghc-annotated-wl-pprint
367 (name "ghc-annotated-wl-pprint")
373 "https://hackage.haskell.org/package/annotated-wl-pprint"
374 "/annotated-wl-pprint-" version
378 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
379 (build-system haskell-build-system)
381 "https://github.com/david-christiansen/annotated-wl-pprint")
383 "The Wadler/Leijen Pretty Printer, with annotation support")
384 (description "This is a modified version of wl-pprint, which was based on
385 Wadler's paper \"A Prettier Printer\". This version allows the library user
386 to annotate the text with semantic information, which can later be rendered in
388 (license license:bsd-3)))
390 (define-public ghc-ansi-terminal
392 (name "ghc-ansi-terminal")
398 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
403 "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l"))))
404 (build-system haskell-build-system)
406 `(("ghc-colour" ,ghc-colour)))
407 (home-page "https://github.com/feuerbach/ansi-terminal")
408 (synopsis "ANSI terminal support for Haskell")
409 (description "This package provides ANSI terminal support for Haskell. It
410 allows cursor movement, screen clearing, color output showing or hiding the
411 cursor, and changing the title.")
412 (license license:bsd-3)))
414 (define-public ghc-ansi-wl-pprint
416 (name "ghc-ansi-wl-pprint")
421 (uri (string-append "https://hackage.haskell.org/package/"
422 "ansi-wl-pprint/ansi-wl-pprint-"
426 "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7"))))
427 (build-system haskell-build-system)
429 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
430 (home-page "https://github.com/ekmett/ansi-wl-pprint")
431 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
432 (description "This is a pretty printing library based on Wadler's paper
433 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
434 colored output using the ansi-terminal package.")
435 (license license:bsd-3)))
437 (define-public ghc-appar
445 "https://hackage.haskell.org/package/appar/appar-"
450 "07v3h766q9mnhphsm53718h1lds147ix7dj15kc5hnsj4vffvkn4"))))
451 (build-system haskell-build-system)
453 "https://hackage.haskell.org/package/appar")
454 (synopsis "Simple applicative parser")
455 (description "This package provides a simple applicative parser in Parsec
457 (license license:bsd-3)))
459 (define-public ghc-assoc
467 "https://hackage.haskell.org/package/assoc/assoc-"
472 "1m9n4vp190bvn2wcrd4ggfwa9pi93jp0zgx02mdgywn2zfidw020"))))
473 (build-system haskell-build-system)
475 `(("ghc-bifunctors" ,ghc-bifunctors)
476 ("ghc-tagged" ,ghc-tagged)))
478 "http://hackage.haskell.org/package/assoc")
480 "Swap and assoc: Symmetric and Semigroupy Bifunctors")
482 "Provides generalisations of @code{swap :: (a,b) -> (b,a)} and
483 @code{assoc :: ((a,b),c) -> (a,(b,c))} to @code{Bifunctor}s supporting
484 similar operations (e.g. @code{Either}, @code{These}).")
485 (license license:bsd-3)))
487 (define-public ghc-async
495 "https://hackage.haskell.org/package/async/async-"
500 "1zxvfcyy4sg8lmzphi5dgnavksj5pav6rbvd5kc48lf4hanb2jjb"))))
501 (build-system haskell-build-system)
503 `(("ghc-hashable" ,ghc-hashable)
504 ("ghc-hunit" ,ghc-hunit)
505 ("ghc-test-framework" ,ghc-test-framework)
506 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
507 (home-page "https://github.com/simonmar/async")
508 (synopsis "Library to run IO operations asynchronously")
509 (description "Async provides a library to run IO operations
510 asynchronously, and wait for their results. It is a higher-level interface
511 over threads in Haskell, in which @code{Async a} is a concurrent thread that
512 will eventually deliver a value of type @code{a}.")
513 (license license:bsd-3)))
515 (define-public ghc-atomic-primops
517 (name "ghc-atomic-primops")
522 (uri (string-append "https://hackage.haskell.org/package/atomic-primops"
523 "/atomic-primops-" version ".tar.gz"))
526 "03n5dmyplrqgbyf8dr91izkxci7gkl3i3fnp82i5ld869zrgjfh0"))))
527 (build-system haskell-build-system)
528 (inputs `(("ghc-primitive" ,ghc-primitive)))
529 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
530 (synopsis "Safe approach to CAS and other atomic ops")
532 "GHC 7.4 introduced a new @code{casMutVar} PrimOp which is difficult to
533 use safely, because pointer equality is a highly unstable property in Haskell.
534 This library provides a safer method based on the concept of @code{Ticket}s.")
535 (license license:bsd-3)))
537 (define-public ghc-atomic-write
539 (name "ghc-atomic-write")
545 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
550 "1xs3shwnlj8hmnm3q6jc8nv78z0481i5n4hrqqdmbpx8grvlnqyl"))))
551 (build-system haskell-build-system)
553 `(("ghc-temporary" ,ghc-temporary)
554 ("ghc-unix-compat" ,ghc-unix-compat)))
556 `(("ghc-temporary" ,ghc-temporary)
557 ("ghc-unix-compat" ,ghc-unix-compat)
558 ("ghc-hspec" ,ghc-hspec)
559 ("hspec-discover" ,hspec-discover)))
560 (home-page "https://github.com/stackbuilders/atomic-write")
561 (synopsis "Atomically write to a file")
563 "Atomically write to a file on POSIX-compliant systems while preserving
564 permissions. @code{mv} is an atomic operation. This makes it simple to write
565 to a file atomically just by using the @code{mv} operation. However, this
566 will destroy the permissions on the original file. This library preserves
567 permissions while atomically writing to a file.")
568 (license license:expat)))
570 (define-public ghc-attoparsec
572 (name "ghc-attoparsec")
578 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
583 "1ngjn9h5n0vyki0m2jir4mg85875ysswy9hznpmj1r856mqwc6ix"))))
584 (build-system haskell-build-system)
587 (modify-phases %standard-phases
588 (add-after 'unpack 'patch-for-newer-quickcheck
590 (substitute* "attoparsec.cabal"
591 (("QuickCheck >= 2\\.7 && < 2\\.10")
592 "QuickCheck >= 2.7 && < 2.12"))
593 ;; This test fails because of the newer QuickCheck:
594 ;; <https://github.com/bos/attoparsec/issues/134>.
595 (substitute* "tests/QC/ByteString.hs"
596 ((", testProperty \"satisfyWith\" satisfyWith")
599 `(("ghc-scientific" ,ghc-scientific)))
601 `(("ghc-tasty" ,ghc-tasty)
602 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
603 ("ghc-quickcheck" ,ghc-quickcheck)
604 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
605 ("ghc-vector" ,ghc-vector)))
606 (home-page "https://github.com/bos/attoparsec")
607 (synopsis "Fast combinator parsing for bytestrings and text")
608 (description "This library provides a fast parser combinator library,
609 aimed particularly at dealing efficiently with network protocols and
610 complicated text/binary file formats.")
611 (license license:bsd-3)))
613 (define-public ghc-attoparsec-bootstrap
615 (inherit ghc-attoparsec)
616 (name "ghc-attoparsec-bootstrap")
617 (arguments `(#:tests? #f))
619 `(("ghc-scientific" ,ghc-scientific-bootstrap)))
621 (properties '((hidden? #t)))))
623 (define-public ghc-attoparsec-iso8601
625 (name "ghc-attoparsec-iso8601")
630 (uri (string-append "https://hackage.haskell.org/package/"
631 "attoparsec-iso8601-" version "/"
632 "attoparsec-iso8601-" version ".tar.gz"))
635 "0hj10w15qp2z5bz2v4xahhmbgzclpyfi5l2sv97wqycysg9gp7s9"))))
636 (build-system haskell-build-system)
639 ("1" "1rjhscmczgs1bwyqx7lvkm8py3ylxjd2797mrzgnq60fvm292750")))
640 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
641 ("ghc-base-compat" ,ghc-base-compat)))
642 (home-page "https://github.com/bos/aeson")
643 (synopsis "Parse ISO 8601 dates")
644 (description "Haskell library for parsing of ISO 8601 dates, originally
646 (license license:bsd-3)))
648 (define-public ghc-auto-update
650 (name "ghc-auto-update")
656 "https://hackage.haskell.org/package/auto-update/auto-update-"
661 "1i36xc2i34aync8271x3pv515l3zb53i518dybn8ghqkhzf27q7l"))))
662 (build-system haskell-build-system)
664 `(("ghc-hspec" ,ghc-hspec)
665 ("ghc-hunit" ,ghc-hunit)
666 ("ghc-retry" ,ghc-retry)
667 ("hspec-discover" ,hspec-discover)))
668 (home-page "https://github.com/yesodweb/wai")
669 (synopsis "Efficiently run periodic, on-demand actions")
670 (description "This library provides mechanisms to efficiently run
671 periodic, on-demand actions in Haskell.")
672 (license license:expat)))
674 (define-public ghc-aws
681 (uri (string-append "https://hackage.haskell.org/package/"
682 "aws-" version "/aws-" version ".tar.gz"))
684 "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0"))))
685 (build-system haskell-build-system)
686 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
688 `(("ghc-aeson" ,ghc-aeson)
689 ("ghc-attoparsec" ,ghc-attoparsec)
690 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
691 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
692 ("ghc-blaze-builder" ,ghc-blaze-builder)
693 ("ghc-byteable" ,ghc-byteable)
694 ("ghc-case-insensitive" ,ghc-case-insensitive)
695 ("ghc-cereal" ,ghc-cereal)
696 ("ghc-conduit" ,ghc-conduit)
697 ("ghc-conduit-extra" ,ghc-conduit-extra)
698 ("ghc-cryptonite" ,ghc-cryptonite)
699 ("ghc-data-default" ,ghc-data-default)
700 ("ghc-http-conduit" ,ghc-http-conduit)
701 ("ghc-http-types" ,ghc-http-types)
702 ("ghc-lifted-base" ,ghc-lifted-base)
703 ("ghc-monad-control" ,ghc-monad-control)
704 ("ghc-network" ,ghc-network)
705 ("ghc-old-locale" ,ghc-old-locale)
706 ("ghc-safe" ,ghc-safe)
707 ("ghc-scientific" ,ghc-scientific)
708 ("ghc-tagged" ,ghc-tagged)
709 ("ghc-unordered-containers" ,ghc-unordered-containers)
710 ("ghc-utf8-string" ,ghc-utf8-string)
711 ("ghc-vector" ,ghc-vector)
712 ("ghc-xml-conduit" ,ghc-xml-conduit)))
714 `(("ghc-quickcheck" ,ghc-quickcheck)
715 ("ghc-errors" ,ghc-errors)
716 ("ghc-http-client" ,ghc-http-client)
717 ("ghc-http-client-tls" ,ghc-http-client-tls)
718 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
719 ("ghc-tasty" ,ghc-tasty)
720 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
721 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
722 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
723 (home-page "https://github.com/aristidb/aws")
724 (synopsis "Amazon Web Services for Haskell")
725 (description "This package attempts to provide support for using
726 Amazon Web Services like S3 (storage), SQS (queuing) and others to
727 Haskell programmers. The ultimate goal is to support all Amazon
729 (license license:bsd-3)))
731 (define-public ghc-base16-bytestring
733 (name "ghc-base16-bytestring")
739 "https://hackage.haskell.org/package/base16-bytestring/"
740 "base16-bytestring-" version ".tar.gz"))
743 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
744 (build-system haskell-build-system)
745 (home-page "https://github.com/bos/base16-bytestring")
746 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
748 "This package provides a Haskell library for working with base16-encoded
749 data quickly and efficiently, using the ByteString type.")
750 (license license:bsd-3)))
752 (define-public ghc-base64-bytestring
754 (name "ghc-base64-bytestring")
760 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
764 (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr"))))
765 (build-system haskell-build-system)
766 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
767 (home-page "https://github.com/bos/base64-bytestring")
768 (synopsis "Base64 encoding and decoding for ByteStrings")
769 (description "This library provides fast base64 encoding and decoding for
770 Haskell @code{ByteString}s.")
771 (license license:bsd-3)))
773 (define-public ghc-base-compat
775 (name "ghc-base-compat")
781 "https://hackage.haskell.org/package/base-compat/base-compat-"
786 "0hgvlqcr852hfp52jp99snhbj550mvxxpi8qn15d8ml9aqhyl2lr"))))
787 (build-system haskell-build-system)
789 `(("ghc-quickcheck" ,ghc-quickcheck)
790 ("ghc-hspec" ,ghc-hspec)
791 ("hspec-discover" ,hspec-discover)))
792 (home-page "https://hackage.haskell.org/package/base-compat")
793 (synopsis "Haskell compiler compatibility library")
794 (description "This library provides functions available in later versions
795 of base to a wider range of compilers, without requiring the use of CPP
796 pragmas in your code.")
797 (license license:bsd-3)))
799 (define-public ghc-base-compat-batteries
801 (name "ghc-base-compat-batteries")
806 (uri (string-append "https://hackage.haskell.org/package/"
807 "base-compat-batteries/base-compat-batteries-"
811 "1vkhc639vqiv5p39jn1v312z32i7yk5q2lf0ap4jxl1v8p8wyp8p"))))
812 (build-system haskell-build-system)
814 `(("ghc-base-compat" ,ghc-base-compat)))
816 `(("ghc-hspec" ,ghc-hspec)
817 ("ghc-quickcheck" ,ghc-quickcheck)
818 ("hspec-discover" ,hspec-discover)))
821 ("1" "15sn2qc8k0hxbb2nai341kkrci98hlhzcj2ci087m0zxcg5jcdbp")))
822 (home-page "https://hackage.haskell.org/package/base-compat-batteries")
823 (synopsis "base-compat with extra batteries")
824 (description "This library provides functions available in later
825 versions of @code{base} to a wider range of compilers, without requiring
826 you to use CPP pragmas in your code. This package provides the same API
827 as the @code{base-compat} library, but depends on compatibility
828 packages (such as @code{semigroups}) to offer a wider support window
829 than @code{base-compat}, which has no dependencies.")
830 (license license:expat)))
832 (define-public ghc-basement
834 (name "ghc-basement")
839 (uri (string-append "https://hackage.haskell.org/package/"
840 "basement/basement-" version ".tar.gz"))
843 "0srlws74yiraqaapgcjd9p5d1fwb3zr9swcz74jpjm55fls2nn37"))))
844 (build-system haskell-build-system)
845 (home-page "https://github.com/haskell-foundation/foundation")
846 (synopsis "Basic primitives for Foundation starter pack")
848 "This package contains basic primitives for the Foundation set of
850 (license license:bsd-3)))
852 (define-public ghc-base-orphans
854 (name "ghc-base-orphans")
860 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
865 "1nwr9av27i9p72k0sn96mw3ywdczw65dy5gd5wxpabhhxlxdcas4"))))
866 (build-system haskell-build-system)
868 `(("ghc-quickcheck" ,ghc-quickcheck)
869 ("ghc-hspec" ,ghc-hspec)
870 ("hspec-discover" ,hspec-discover)))
871 (home-page "https://hackage.haskell.org/package/base-orphans")
872 (synopsis "Orphan instances for backwards compatibility")
873 (description "This package defines orphan instances that mimic instances
874 available in later versions of base to a wider (older) range of compilers.")
875 (license license:bsd-3)))
877 (define-public ghc-base-prelude
879 (name "ghc-base-prelude")
884 (uri (string-append "https://hackage.haskell.org/package/"
885 "base-prelude-" version "/"
886 "base-prelude-" version ".tar.gz"))
889 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
890 (build-system haskell-build-system)
891 (home-page "https://github.com/nikita-volkov/base-prelude")
892 (synopsis "The most complete prelude formed solely from the Haskell's base
894 (description "This Haskell package aims to reexport all the non-conflicting
895 and most general definitions from the \"base\" package.
897 This includes APIs for applicatives, arrows, monoids, foldables, traversables,
898 exceptions, generics, ST, MVars and STM.
900 This package will never have any dependencies other than \"base\".
904 The versioning policy of this package deviates from PVP in the sense
905 that its exports in part are transitively determined by the version of \"base\".
906 Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
907 the bounds of \"base\" as well.")
908 (license license:expat)))
910 (define-public ghc-base-unicode-symbols
912 (name "ghc-base-unicode-symbols")
918 "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-"
923 "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf"))))
924 (build-system haskell-build-system)
925 (home-page "http://www.haskell.org/haskellwiki/Unicode-symbols")
926 (synopsis "Unicode alternatives for common functions and operators")
927 (description "This package defines new symbols for a number of functions,
928 operators and types in the base package. All symbols are documented with
929 their actual definition and information regarding their Unicode code point.
930 They should be completely interchangeable with their definitions. For
931 further Unicode goodness you can enable the @code{UnicodeSyntax}
932 @url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax,
933 language extension}. This extension enables Unicode characters to be used to
934 stand for certain ASCII character sequences, i.e. → instead of @code{->},
935 ∀ instead of @code{forall} and many others.")
936 (license license:bsd-3)))
938 (define-public ghc-basic-prelude
940 (name "ghc-basic-prelude")
946 "https://hackage.haskell.org/package/basic-prelude/"
947 "basic-prelude-" version ".tar.gz"))
950 "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h"))))
951 (build-system haskell-build-system)
953 `(("ghc-hashable" ,ghc-hashable)
954 ("ghc-unordered-containers"
955 ,ghc-unordered-containers)
956 ("ghc-vector" ,ghc-vector)))
957 (home-page "https://github.com/snoyberg/basic-prelude#readme")
958 (synopsis "Enhanced core prelude; a common foundation for alternate preludes")
960 "The premise of basic-prelude is that there are a lot of very commonly
961 desired features missing from the standard Prelude, such as commonly used
962 operators (<$> and >=>, for instance) and imports for common datatypes
963 (e.g., ByteString and Vector). At the same time, there are lots of other
964 components which are more debatable, such as providing polymorphic versions
967 So basic-prelude is intended to give a common foundation for a number of
968 alternate preludes. The package provides two modules: CorePrelude provides
969 the common ground for other preludes to build on top of, while BasicPrelude
970 exports CorePrelude together with commonly used list functions to provide a
971 drop-in replacement for the standard Prelude.
973 Users wishing to have an improved Prelude can use BasicPrelude. Developers
974 wishing to create a new prelude should use CorePrelude.")
975 (license license:expat)))
977 (define-public ghc-bifunctors
979 (name "ghc-bifunctors")
985 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
990 "0rn47q8dzv0g1fyams99p4py6q0asxdc50q9k0nj497brk738xcb"))))
991 (build-system haskell-build-system)
993 `(("ghc-base-orphans" ,ghc-base-orphans)
994 ("ghc-comonad" ,ghc-comonad)
995 ("ghc-th-abstraction" ,ghc-th-abstraction)
996 ("ghc-transformers-compat" ,ghc-transformers-compat)
997 ("ghc-tagged" ,ghc-tagged)
998 ("ghc-semigroups" ,ghc-semigroups)))
1000 `(("ghc-hspec" ,ghc-hspec)
1001 ("hspec-discover" ,hspec-discover)
1002 ("ghc-quickcheck" ,ghc-quickcheck)))
1003 (home-page "https://github.com/ekmett/bifunctors/")
1004 (synopsis "Bifunctors for Haskell")
1005 (description "This package provides bifunctors for Haskell.")
1006 (license license:bsd-3)))
1008 (define-public ghc-bindings-dsl
1010 (name "ghc-bindings-dsl")
1015 (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/"
1016 "bindings-DSL-" version ".tar.gz"))
1019 "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3"))))
1020 (build-system haskell-build-system)
1021 (home-page "https://github.com/jwiegley/bindings-dsl/wiki")
1022 (synopsis "FFI domain specific language, on top of hsc2hs")
1024 "This is a set of macros to be used when writing Haskell FFI. They were
1025 designed to be able to fully describe C interfaces, so that @code{hsc2hs} can
1026 extract from them all Haskell code needed to mimic such interfaces. All
1027 Haskell names used are automatically derived from C names, structures are
1028 mapped to Haskell instances of @code{Storable}, and there are also macros you
1029 can use with C code to help write bindings to inline functions or macro
1031 (license license:bsd-3)))
1033 (define-public ghc-bitarray
1035 (name "ghc-bitarray")
1040 (uri (string-append "https://hackage.haskell.org/package/"
1041 "bitarray/bitarray-" version ".tar.gz"))
1044 "00nqd62cbh42qqqvcl6iv1i9kbv0f0mkiygv4j70wfh5cl86yzxj"))))
1045 (build-system haskell-build-system)
1048 ("1" "10fk92v9afjqk43zi621jxl0n8kci0xjj32lz3vqa9xbh67zjz45")))
1049 (home-page "https://hackage.haskell.org/package/bitarray")
1050 (synopsis "Mutable and immutable bit arrays")
1051 (description "The package provides mutable and immutable bit arrays.")
1052 (license license:bsd-3)))
1054 (define-public ghc-blaze-builder
1056 (name "ghc-blaze-builder")
1062 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
1067 "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i"))))
1068 (build-system haskell-build-system)
1069 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
1071 `(("ghc-utf8-string" ,ghc-utf8-string)))
1072 (home-page "https://github.com/lpsmith/blaze-builder")
1073 (synopsis "Efficient buffered output")
1074 (description "This library provides an implementation of the older
1075 @code{blaze-builder} interface in terms of the new builder that shipped with
1076 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
1077 bridge to the new builder, so that code that uses the old interface can
1078 interoperate with code that uses the new implementation.")
1079 (license license:bsd-3)))
1081 (define-public ghc-blaze-markup
1083 (name "ghc-blaze-markup")
1088 (uri (string-append "https://hackage.haskell.org/package/"
1089 "blaze-markup/blaze-markup-"
1093 "1g9m7ansj7fdyzhz1wqkbzn5amjm50vjgjdwkbjc5qqhagnv1y3j"))))
1094 (build-system haskell-build-system)
1097 (modify-phases %standard-phases
1098 (add-before 'configure 'update-constraints
1100 (substitute* "blaze-markup.cabal"
1101 (("tasty >= 1\\.0 && < 1\\.1")
1102 "tasty >= 1.0 && < 1.2")))))))
1104 `(("ghc-blaze-builder" ,ghc-blaze-builder)))
1106 `(("ghc-hunit" ,ghc-hunit)
1107 ("ghc-quickcheck" ,ghc-quickcheck)
1108 ("ghc-tasty" ,ghc-tasty)
1109 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
1110 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
1111 (home-page "https://jaspervdj.be/blaze")
1112 (synopsis "Fast markup combinator library for Haskell")
1113 (description "This library provides core modules of a markup combinator
1114 library for Haskell.")
1115 (license license:bsd-3)))
1117 (define-public ghc-bloomfilter
1119 (name "ghc-bloomfilter")
1124 (uri (string-append "https://hackage.haskell.org/package/"
1125 "bloomfilter/bloomfilter-" version ".tar.gz"))
1128 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
1129 (build-system haskell-build-system)
1131 `(("ghc-quickcheck" ,ghc-quickcheck)
1132 ("ghc-random" ,ghc-random)
1133 ("ghc-test-framework" ,ghc-test-framework)
1134 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1135 (home-page "https://github.com/bos/bloomfilter")
1136 (synopsis "Pure and impure Bloom filter implementations")
1137 (description "This package provides both mutable and immutable Bloom
1138 filter data types, along with a family of hash functions and an easy-to-use
1140 (license license:bsd-3)))
1142 (define-public ghc-boxes
1149 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
1152 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
1153 (build-system haskell-build-system)
1155 `(("ghc-split" ,ghc-split)
1156 ("ghc-quickcheck" ,ghc-quickcheck)))
1157 (home-page "https://hackage.haskell.org/package/boxes")
1158 (synopsis "2D text pretty-printing library")
1160 "Boxes is a pretty-printing library for laying out text in two dimensions,
1161 using a simple box model.")
1162 (license license:bsd-3)))
1164 (define-public ghc-byteable
1166 (name "ghc-byteable")
1170 (uri (string-append "https://hackage.haskell.org/package/"
1171 "byteable/byteable-" version ".tar.gz"))
1174 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
1175 (build-system haskell-build-system)
1176 (home-page "https://github.com/vincenthz/hs-byteable")
1177 (synopsis "Type class for sequence of bytes")
1179 "This package provides an abstract class to manipulate sequence of bytes.
1180 The use case of this class is abstracting manipulation of types that are just
1181 wrapping a bytestring with stronger and more meaniful name.")
1182 (license license:bsd-3)))
1184 (define-public ghc-byteorder
1186 (name "ghc-byteorder")
1192 "https://hackage.haskell.org/package/byteorder/byteorder-"
1197 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
1198 (build-system haskell-build-system)
1200 "http://community.haskell.org/~aslatter/code/byteorder")
1202 "Exposes the native endianness of the system")
1204 "This package is for working with the native byte-ordering of the
1206 (license license:bsd-3)))
1208 (define-public ghc-bytes
1216 (string-append "https://hackage.haskell.org/package/bytes-"
1219 (file-name (string-append name "-" version ".tar.gz"))
1222 "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683"))))
1223 (build-system haskell-build-system)
1224 (inputs `(("ghc-cereal" ,ghc-cereal)
1225 ("cabal-doctest" ,cabal-doctest)
1226 ("ghc-doctest" ,ghc-doctest)
1227 ("ghc-scientific" ,ghc-scientific)
1228 ("ghc-transformers-compat" ,ghc-transformers-compat)
1229 ("ghc-unordered-containers" ,ghc-unordered-containers)
1230 ("ghc-void" ,ghc-void)
1231 ("ghc-vector" ,ghc-vector)))
1232 (synopsis "Serialization between @code{binary} and @code{cereal}")
1233 (description "This package provides a simple compatibility shim that lets
1234 you work with both @code{binary} and @code{cereal} with one chunk of
1235 serialization code.")
1236 (home-page "https://hackage.haskell.org/package/bytes")
1237 (license license:bsd-3)))
1239 (define-public ghc-bytestring-builder
1241 (name "ghc-bytestring-builder")
1242 (version "0.10.8.2.0")
1247 "https://hackage.haskell.org/package/bytestring-builder"
1248 "/bytestring-builder-" version ".tar.gz"))
1251 "0grcrgwwwcvwrs9az7l4d3kf0lsqfa9qpmjzf6iyanvwn9nyzyi7"))))
1252 (build-system haskell-build-system)
1253 (arguments `(#:haddock? #f)) ; Package contains no documentation.
1254 (home-page "https://hackage.haskell.org/package/bytestring-builder")
1255 (synopsis "The new bytestring builder, packaged outside of GHC")
1256 (description "This package provides the bytestring builder that is
1257 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
1258 Compatibility package for older packages.")
1259 (license license:bsd-3)))
1261 (define-public ghc-bytestring-handle
1263 (name "ghc-bytestring-handle")
1269 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
1273 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
1274 (build-system haskell-build-system)
1277 ("1" "0x11aj6w1lijh84jcdq1qgyvdnc7i9ivbyq4wf9rxicg57viisz9")
1279 (modify-phases %standard-phases
1280 (add-before 'configure 'update-constraints
1282 (substitute* "bytestring-handle.cabal"
1283 (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
1284 "QuickCheck >= 2.1.2 && < 2.14")))))))
1286 `(("ghc-hunit" ,ghc-hunit)
1287 ("ghc-quickcheck" ,ghc-quickcheck)
1288 ("ghc-test-framework" ,ghc-test-framework)
1289 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1290 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1291 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
1292 (synopsis "ByteString-backed Handles")
1293 (description "ByteString-backed Handles") ; There is no description
1294 (license license:bsd-3)))
1296 (define-public ghc-bytestring-lexing
1298 (name "ghc-bytestring-lexing")
1303 (uri (string-append "https://hackage.haskell.org/package/"
1304 "bytestring-lexing/bytestring-lexing-"
1308 "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81"))))
1309 (build-system haskell-build-system)
1310 (home-page "http://code.haskell.org/~wren/")
1311 (synopsis "Parse and produce literals from strict or lazy bytestrings")
1313 "This package provides tools to parse and produce literals efficiently
1314 from strict or lazy bytestrings.")
1315 (license license:bsd-2)))
1317 (define-public ghc-bzlib-conduit
1319 (name "ghc-bzlib-conduit")
1324 (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/"
1325 "bzlib-conduit-" version ".tar.gz"))
1328 "0a21zin5plsl37hkxh2jv8cxwyjrbs2fy7n5cyrzgdaa7lmp6b7b"))))
1329 (build-system haskell-build-system)
1331 `(("ghc-bindings-dsl" ,ghc-bindings-dsl)
1332 ("ghc-conduit" ,ghc-conduit)
1333 ("ghc-data-default-class" ,ghc-data-default-class)
1334 ("ghc-resourcet" ,ghc-resourcet)))
1336 `(("ghc-hspec" ,ghc-hspec)
1337 ("ghc-random" ,ghc-random)))
1338 (home-page "https://github.com/snoyberg/bzlib-conduit")
1339 (synopsis "Streaming compression/decompression via conduits")
1341 "This package provides Haskell bindings to bzlib and Conduit support for
1342 streaming compression and decompression.")
1343 (license license:bsd-3)))
1345 (define-public ghc-c2hs
1353 "https://hackage.haskell.org/package/c2hs/c2hs-"
1358 "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci"))))
1359 (build-system haskell-build-system)
1361 `(("ghc-language-c" ,ghc-language-c)
1362 ("ghc-dlist" ,ghc-dlist)))
1364 `(("ghc-test-framework" ,ghc-test-framework)
1365 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1366 ("ghc-hunit" ,ghc-hunit)
1367 ("ghc-shelly" ,ghc-shelly)
1370 `(;; XXX: Test failures are induced by a parse error in <bits/floatn.h>
1375 (modify-phases %standard-phases
1376 (add-before 'check 'set-cc
1377 ;; add a cc executable in the path, needed for some tests to pass
1378 (lambda* (#:key inputs #:allow-other-keys)
1379 (let ((gcc (assoc-ref inputs "gcc"))
1381 (curpath (getenv "PATH")))
1383 (symlink (which "gcc") (string-append tmpbin "/cc"))
1384 (setenv "PATH" (string-append tmpbin ":" curpath)))
1386 (add-after 'check 'remove-cc
1387 ;; clean the tmp dir made in 'set-cc
1389 (let* ((cc-path (which "cc"))
1390 (cc-dir (dirname cc-path)))
1391 (delete-file-recursively cc-dir)
1393 (home-page "https://github.com/haskell/c2hs")
1394 (synopsis "Create Haskell bindings to C libraries")
1395 (description "C->Haskell assists in the development of Haskell bindings to
1396 C libraries. It extracts interface information from C header files and
1397 generates Haskell code with foreign imports and marshaling. Unlike writing
1398 foreign imports by hand (or using hsc2hs), this ensures that C functions are
1399 imported with the correct Haskell types.")
1400 (license license:gpl2)))
1402 (define-public ghc-cairo
1405 (version "0.13.5.0")
1409 (uri (string-append "https://hackage.haskell.org/package/cairo/"
1410 "cairo-" version ".tar.gz"))
1413 "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2"))))
1414 (build-system haskell-build-system)
1416 `(#:modules ((guix build haskell-build-system)
1421 (modify-phases %standard-phases
1422 ;; FIXME: This is a copy of the standard configure phase with a tiny
1423 ;; difference: this package needs the -package-db flag to be passed
1424 ;; to "runhaskell" in addition to the "configure" action, because it
1425 ;; depends on gtk2hs-buildtools, which provide setup hooks. Without
1426 ;; this option the Setup.hs file cannot be evaluated. The
1427 ;; haskell-build-system should be changed to pass "-package-db" to
1428 ;; "runhaskell" in any case.
1430 (lambda* (#:key outputs inputs tests? (configure-flags '())
1432 (let* ((out (assoc-ref outputs "out"))
1433 (name-version (strip-store-file-name out))
1434 (input-dirs (match inputs
1438 (ghc-path (getenv "GHC_PACKAGE_PATH"))
1439 (params (append `(,(string-append "--prefix=" out))
1440 `(,(string-append "--libdir=" out "/lib"))
1441 `(,(string-append "--bindir=" out "/bin"))
1444 "/share/doc/" name-version))
1445 '("--libsubdir=$compiler/$pkg-$version")
1446 '("--package-db=../package.conf.d")
1449 (cut string-append "--extra-include-dirs=" <>)
1450 (search-path-as-list '("include") input-dirs)))
1452 (cut string-append "--extra-lib-dirs=" <>)
1453 (search-path-as-list '("lib") input-dirs)))
1458 (unsetenv "GHC_PACKAGE_PATH")
1459 (apply invoke "runhaskell" "-package-db=../package.conf.d"
1460 "Setup.hs" "configure" params)
1461 (setenv "GHC_PACKAGE_PATH" ghc-path)
1464 `(("ghc-utf8-string" ,ghc-utf8-string)
1467 `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools)
1468 ("pkg-config" ,pkg-config)))
1469 (home-page "http://projects.haskell.org/gtk2hs/")
1470 (synopsis "Haskell bindings to the Cairo vector graphics library")
1472 "Cairo is a library to render high quality vector graphics. There exist
1473 various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG
1474 documents, amongst others.")
1475 (license license:bsd-3)))
1477 (define-public ghc-call-stack
1479 (name "ghc-call-stack")
1484 (uri (string-append "https://hackage.haskell.org/package/"
1485 "call-stack/call-stack-"
1489 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
1490 (build-system haskell-build-system)
1491 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
1492 (home-page "https://github.com/sol/call-stack#readme")
1493 (synopsis "Use GHC call-stacks in a backward compatible way")
1494 (description "This package provides a compatibility layer for using GHC
1495 call stacks with different versions of the compiler.")
1496 (license license:expat)))
1498 ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
1499 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
1500 (define-public ghc-call-stack-boot
1503 (inherit ghc-call-stack)
1504 (arguments '(#:tests? #f))
1507 (define-public ghc-case-insensitive
1509 (name "ghc-case-insensitive")
1510 (version "1.2.0.11")
1511 (outputs '("out" "doc"))
1516 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
1521 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7"))))
1522 (build-system haskell-build-system)
1523 ;; these inputs are necessary to use this library
1525 `(("ghc-hashable" ,ghc-hashable)))
1527 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1529 "https://github.com/basvandijk/case-insensitive")
1530 (synopsis "Case insensitive string comparison")
1532 "The module @code{Data.CaseInsensitive} provides the @code{CI} type
1533 constructor which can be parameterised by a string-like type like:
1534 @code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of
1535 the resulting type will be insensitive to cases.")
1536 (license license:bsd-3)))
1538 (define-public ghc-cereal
1546 "https://hackage.haskell.org/package/cereal/cereal-"
1551 "1mqvd1iwzr50az4y24332x3g3wsrzw8j1iwph02vr7jbjfn8i7id"))))
1552 (build-system haskell-build-system)
1554 `(("ghc-quickcheck" ,ghc-quickcheck)
1555 ("ghc-fail" ,ghc-fail)
1556 ("ghc-test-framework" ,ghc-test-framework)
1557 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1558 (home-page "https://hackage.haskell.org/package/cereal")
1559 (synopsis "Binary serialization library")
1560 (description "This package provides a binary serialization library,
1561 similar to @code{binary}, that introduces an @code{isolate} primitive for
1562 parser isolation, and labeled blocks for better error messages.")
1563 (license license:bsd-3)))
1565 (define-public ghc-cereal-conduit
1567 (name "ghc-cereal-conduit")
1572 (uri (string-append "https://hackage.haskell.org/package/"
1573 "cereal-conduit/cereal-conduit-"
1577 "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r"))))
1578 (build-system haskell-build-system)
1580 `(("ghc-conduit" ,ghc-conduit)
1581 ("ghc-resourcet" ,ghc-resourcet)
1582 ("ghc-cereal" ,ghc-cereal)))
1584 `(("ghc-hunit" ,ghc-hunit)))
1585 (home-page "https://github.com/snoyberg/conduit")
1586 (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits")
1588 "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into
1589 @code{Sources}, @code{Sinks}, and @code{Conduits}.")
1590 (license license:bsd-3)))
1592 (define-public ghc-cgi
1595 (version "3001.4.0.0")
1600 "https://hackage.haskell.org/package/cgi/cgi-"
1605 "1d0nh5ymkqskkp4yn0gfz4mff8i0cxyw1wws8xxp6k1mg1ywa25k"))))
1606 (build-system haskell-build-system)
1608 `(("ghc-exceptions" ,ghc-exceptions)
1609 ("ghc-multipart" ,ghc-multipart)
1610 ("ghc-network-uri" ,ghc-network-uri)
1611 ("ghc-network" ,ghc-network)))
1613 `(("ghc-doctest" ,ghc-doctest)
1614 ("ghc-quickcheck" ,ghc-quickcheck)))
1616 "https://github.com/cheecheeo/haskell-cgi")
1617 (synopsis "Library for writing CGI programs")
1619 "This is a Haskell library for writing CGI programs.")
1620 (license license:bsd-3)))
1622 (define-public ghc-charset
1624 (name "ghc-charset")
1630 "https://hackage.haskell.org/package/charset/charset-"
1635 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
1636 (build-system haskell-build-system)
1639 ("1" "1z6nxw2g9vgsjq0g159sk8mwj68lwzxzi5iv5ynha0h85jcqxszy")))
1641 `(("ghc-semigroups" ,ghc-semigroups)
1642 ("ghc-unordered-containers" ,ghc-unordered-containers)))
1643 (home-page "https://github.com/ekmett/charset")
1644 (synopsis "Fast unicode character sets for Haskell")
1645 (description "This package provides fast unicode character sets for
1646 Haskell, based on complemented PATRICIA tries.")
1647 (license license:bsd-3)))
1649 (define-public ghc-chart
1656 (uri (string-append "https://hackage.haskell.org/package/Chart/"
1657 "Chart-" version ".tar.gz"))
1660 "1pn735k9ifxlb9mdh8xy7wi22cxni8xyr28n8zx9w0j6vprcg89l"))))
1661 (build-system haskell-build-system)
1663 `(("ghc-old-locale" ,ghc-old-locale)
1664 ("ghc-lens" ,ghc-lens)
1665 ("ghc-colour" ,ghc-colour)
1666 ("ghc-data-default-class" ,ghc-data-default-class)
1667 ("ghc-operational" ,ghc-operational)
1668 ("ghc-vector" ,ghc-vector)))
1669 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1670 (synopsis "Library for generating 2D charts and plots")
1672 "This package provides a library for generating 2D charts and plots, with
1673 backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
1674 (license license:bsd-3)))
1676 (define-public ghc-chart-cairo
1678 (name "ghc-chart-cairo")
1683 (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/"
1684 "Chart-cairo-" version ".tar.gz"))
1687 "0hknj4rsjf2m8p5pyq5zff8ai7v80yvmxb5c6n0bkgxs4317nbl9"))))
1688 (build-system haskell-build-system)
1690 `(("ghc-old-locale" ,ghc-old-locale)
1691 ("ghc-cairo" ,ghc-cairo)
1692 ("ghc-colour" ,ghc-colour)
1693 ("ghc-data-default-class" ,ghc-data-default-class)
1694 ("ghc-operational" ,ghc-operational)
1695 ("ghc-lens" ,ghc-lens)
1696 ("ghc-chart" ,ghc-chart)))
1697 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1698 (synopsis "Cairo backend for Charts")
1699 (description "This package provides a Cairo vector graphics rendering
1700 backend for the Charts library.")
1701 (license license:bsd-3)))
1703 (define-public ghc-chasingbottoms
1705 (name "ghc-chasingbottoms")
1710 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
1711 "ChasingBottoms-" version ".tar.gz"))
1714 "0ziiqfsvv1ypdra6kd0bhbsl852i0wqn43jkfii38yl879cdacan"))))
1715 (build-system haskell-build-system)
1717 `(("ghc-quickcheck" ,ghc-quickcheck)
1718 ("ghc-random" ,ghc-random)
1719 ("ghc-syb" ,ghc-syb)))
1720 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
1721 (synopsis "Testing of partial and infinite values in Haskell")
1723 ;; FIXME: There should be a @comma{} in the uref text, but it is not
1724 ;; rendered properly.
1725 "This is a library for testing code involving bottoms or infinite values.
1726 For the underlying theory and a larger example involving use of QuickCheck,
1728 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
1729 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
1730 Partial and Infinite Values\"}.")
1731 (license license:expat)))
1733 (define-public ghc-cheapskate
1735 (name "ghc-cheapskate")
1741 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
1746 "0qnyd8bni2rby6b02ff4bvfdhm1hwc8vzpmnms84jgrlg1lly3fm"))))
1747 (build-system haskell-build-system)
1749 `(("ghc-blaze-html" ,ghc-blaze-html)
1750 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
1751 ("ghc-data-default" ,ghc-data-default)
1752 ("ghc-syb" ,ghc-syb)
1753 ("ghc-uniplate" ,ghc-uniplate)))
1754 (home-page "https://github.com/jgm/cheapskate")
1755 (synopsis "Experimental markdown processor")
1756 (description "Cheapskate is an experimental Markdown processor in pure
1757 Haskell. It aims to process Markdown efficiently and in the most forgiving
1758 possible way. It is designed to deal with any input, including garbage, with
1759 linear performance. Output is sanitized by default for protection against
1760 cross-site scripting (@dfn{XSS}) attacks.")
1761 (license license:bsd-3)))
1763 (define-public ghc-chell
1771 "https://hackage.haskell.org/package/chell/chell-"
1775 "1i845isfbk0yq852am9bqmxfpfkpnlha8nfidffsv4gw2p8gg6fg"))))
1776 (build-system haskell-build-system)
1779 ("1" "1q93wrw03ix4cmnkz3lzkixcvvizw6i2ia2zifdfak1dvxnblxk0")))
1781 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
1782 ("ghc-patience" ,ghc-patience)
1783 ("ghc-random" ,ghc-random)
1784 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
1785 (home-page "https://john-millikin.com/software/chell/")
1786 (synopsis "Simple and intuitive library for automated testing")
1788 "Chell is a simple and intuitive library for automated testing.
1789 It natively supports assertion-based testing, and can use companion
1790 libraries such as @code{chell-quickcheck} to support more complex
1791 testing strategies.")
1792 (license license:expat)))
1794 (define-public ghc-chell-quickcheck
1796 (name "ghc-chell-quickcheck")
1802 "https://hackage.haskell.org/package/chell-quickcheck/"
1803 "chell-quickcheck-" version ".tar.gz"))
1806 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
1807 (build-system haskell-build-system)
1810 (modify-phases %standard-phases
1811 (add-before 'configure 'update-constraints
1813 (substitute* "chell-quickcheck.cabal"
1814 (("QuickCheck >= 2\\.3 && < 2\\.13")
1815 "QuickCheck >= 2.3 && < 2.14")))))))
1817 `(("ghc-chell" ,ghc-chell)
1818 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
1819 ("ghc-random" ,ghc-random)
1820 ("ghc-quickcheck" ,ghc-quickcheck)))
1821 (home-page "https://john-millikin.com/software/chell/")
1822 (synopsis "QuickCheck support for the Chell testing library")
1823 (description "More complex tests for @code{chell}.")
1824 (license license:expat)))
1826 (define ghc-chell-quickcheck-bootstrap
1828 (name "ghc-chell-quickcheck-bootstrap")
1834 "https://hackage.haskell.org/package/chell-quickcheck/"
1835 "chell-quickcheck-" version ".tar.gz"))
1838 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
1839 (build-system haskell-build-system)
1841 `(("ghc-chell" ,ghc-chell)
1842 ("ghc-random" ,ghc-random)
1843 ("ghc-quickcheck" ,ghc-quickcheck)))
1847 (modify-phases %standard-phases
1848 (add-before 'configure 'update-constraints
1850 (substitute* "chell-quickcheck.cabal"
1851 (("QuickCheck >= 2\\.3 && < 2\\.13")
1852 "QuickCheck >= 2.3 && < 2.14")))))))
1853 (home-page "https://john-millikin.com/software/chell/")
1854 (synopsis "QuickCheck support for the Chell testing library")
1855 (description "More complex tests for @code{chell}.")
1856 (license license:expat)))
1858 (define-public ghc-chunked-data
1860 (name "ghc-chunked-data")
1865 (uri (string-append "https://hackage.haskell.org/package/"
1866 "chunked-data-" version "/"
1867 "chunked-data-" version ".tar.gz"))
1870 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
1871 (build-system haskell-build-system)
1872 (inputs `(("ghc-vector" ,ghc-vector)
1873 ("ghc-semigroups" ,ghc-semigroups)))
1874 (home-page "https://github.com/snoyberg/mono-traversable")
1875 (synopsis "Typeclasses for dealing with various chunked data
1876 representations for Haskell")
1877 (description "This Haskell package was originally present in
1879 (license license:expat)))
1881 (define-public ghc-clock
1889 "https://hackage.haskell.org/package/"
1891 "clock-" version ".tar.gz"))
1893 (base32 "0539w9bjw6xbfv9v6aq9hijszxqdnqhilwpbwpql1400ji95r8q8"))))
1894 (build-system haskell-build-system)
1896 `(("ghc-tasty" ,ghc-tasty)
1897 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
1898 (home-page "https://hackage.haskell.org/package/clock")
1899 (synopsis "High-resolution clock for Haskell")
1900 (description "A package for convenient access to high-resolution clock and
1901 timer functions of different operating systems via a unified API.")
1902 (license license:bsd-3)))
1904 ;; This package builds `clock` without tests, since the tests rely on tasty
1905 ;; and tasty-quickcheck, which in turn require clock to build.
1906 (define-public ghc-clock-bootstrap
1909 (name "ghc-clock-bootstrap")
1910 (arguments '(#:tests? #f))
1912 (properties '((hidden? #t)))))
1914 (define-public ghc-cmark
1920 ;; XXX As of version 0.6, this package bundles libcmark 0.28.0.
1921 ;; See cbits/cmark_version.h.
1922 (uri (string-append "https://hackage.haskell.org/package/"
1923 "cmark/cmark-" version ".tar.gz"))
1926 "1p41z6z8dqxk62287lvhhg4ayy9laai9ljh4azsnzb029v6mbv0d"))))
1927 (build-system haskell-build-system)
1929 `(("ghc-hunit" ,ghc-hunit)))
1930 (home-page "https://github.com/jgm/commonmark-hs")
1931 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
1933 "This package provides Haskell bindings for
1934 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
1935 CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
1936 sources, and does not require prior installation of the C library.")
1937 (license license:bsd-3)))
1939 (define-public ghc-cmark-gfm
1941 (name "ghc-cmark-gfm")
1946 (uri (string-append "https://hackage.haskell.org/package/"
1947 "cmark-gfm/cmark-gfm-"
1951 "03xflrkyw84qv3yjly5iks9311bqv5cmrmsylr763v4ph0fn7rjq"))))
1952 (build-system haskell-build-system)
1954 `(("ghc-hunit" ,ghc-hunit)))
1955 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
1957 "Fast, accurate GitHub Flavored Markdown parser and renderer")
1959 "This package provides Haskell bindings for libcmark-gfm, the reference
1960 parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
1961 It includes sources for libcmark-gfm and does not require prior installation
1963 (license license:bsd-3)))
1965 (define-public ghc-cmdargs
1967 (name "ghc-cmdargs")
1973 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
1977 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
1978 (build-system haskell-build-system)
1980 "http://community.haskell.org/~ndm/cmdargs/")
1981 (synopsis "Command line argument processing")
1983 "This library provides an easy way to define command line parsers.")
1984 (license license:bsd-3)))
1986 (define-public ghc-code-page
1988 (name "ghc-code-page")
1994 "https://hackage.haskell.org/package/code-page/code-page-"
1998 "0i0qbrbhvrwkbikqb7hh7yxaipaavwzvyrw211d0vkz99f62mqxz"))))
1999 (build-system haskell-build-system)
2000 (home-page "https://github.com/RyanGlScott/code-page")
2001 (synopsis "Windows code page library for Haskell")
2002 (description "A cross-platform library with functions for adjusting
2003 code pages on Windows. On all other operating systems, the library does
2005 (license license:bsd-3)))
2007 (define-public ghc-colour
2015 "https://hackage.haskell.org/package/colour/colour-"
2019 "1rq4l46jx4lpdppy71wf7m1n7pw2jwy788rm35ycwzb1g4clg39v"))))
2021 ;; The tests for this package have the following dependency cycle:
2022 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
2024 (build-system haskell-build-system)
2025 (home-page "https://www.haskell.org/haskellwiki/Colour")
2026 (synopsis "Model for human colour perception")
2028 "This package provides a data type for colours and transparency.
2029 Colours can be blended and composed. Various colour spaces are
2030 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
2031 (license license:expat)))
2033 (define-public ghc-comonad
2035 (name "ghc-comonad")
2041 "https://hackage.haskell.org/package/comonad/comonad-"
2046 "1l7snp2mszgnjgd0nc9kzfyd13vla0rlazqi03rwx2akcxk14n3c"))))
2047 (build-system haskell-build-system)
2049 `(("cabal-doctest" ,cabal-doctest)
2050 ("ghc-doctest" ,ghc-doctest)))
2052 `(("ghc-contravariant" ,ghc-contravariant)
2053 ("ghc-distributive" ,ghc-distributive)
2054 ("ghc-semigroups" ,ghc-semigroups)
2055 ("ghc-tagged" ,ghc-tagged)
2056 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2057 (home-page "https://github.com/ekmett/comonad/")
2058 (synopsis "Comonads for Haskell")
2059 (description "This library provides @code{Comonad}s for Haskell.")
2060 (license license:bsd-3)))
2062 (define-public ghc-concatenative
2064 (name "ghc-concatenative")
2069 "https://hackage.haskell.org/package/concatenative/concatenative-"
2073 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
2074 (build-system haskell-build-system)
2076 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
2077 (synopsis "Library for postfix control flow")
2079 "Concatenative gives Haskell Factor-style combinators and arrows for
2080 postfix notation. For more information on stack based languages, see
2081 @uref{https://concatenative.org}.")
2082 (license license:bsd-3)))
2084 (define-public ghc-concurrent-extra
2086 (name "ghc-concurrent-extra")
2087 (version "0.7.0.12")
2091 (uri (string-append "https://hackage.haskell.org/package/"
2092 "concurrent-extra/concurrent-extra-"
2096 "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4"))))
2097 (build-system haskell-build-system)
2099 ;; XXX: The ReadWriteLock 'stressTest' fails.
2102 `(("ghc-unbounded-delays" ,ghc-unbounded-delays)))
2104 `(("ghc-async" ,ghc-async)
2105 ("ghc-hunit" ,ghc-hunit)
2106 ("ghc-random" ,ghc-random)
2107 ("ghc-test-framework" ,ghc-test-framework)
2108 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2109 (home-page "https://github.com/basvandijk/concurrent-extra")
2110 (synopsis "Extra concurrency primitives")
2111 (description "This Haskell library offers (among other things) the
2112 following selection of synchronisation primitives:
2115 @item @code{Broadcast}: Wake multiple threads by broadcasting a value.
2116 @item @code{Event}: Wake multiple threads by signalling an event.
2117 @item @code{Lock}: Enforce exclusive access to a resource. Also known
2118 as a binary semaphore or mutex. The package additionally provides an
2119 alternative that works in the STM monad.
2120 @item @code{RLock}: A lock which can be acquired multiple times by the
2121 same thread. Also known as a reentrant mutex.
2122 @item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used
2123 to protect shared resources which may be concurrently read, but only
2124 sequentially written.
2125 @item @code{ReadWriteVar}: Concurrent read, sequential write variables.
2128 Please consult the API documentation of the individual modules for more
2129 detailed information.
2131 This package was inspired by the concurrency libraries of Java and
2133 (license license:bsd-3)))
2135 (define-public ghc-concurrent-output
2137 (name "ghc-concurrent-output")
2143 "mirror://hackage/package/concurrent-output/concurrent-output-"
2148 "1d1aaqg5814k59b0iws3fh06p3g2siaj922gkhs75qgncj0my2p3"))))
2149 (build-system haskell-build-system)
2151 `(("ghc-async" ,ghc-async)
2152 ("ghc-exceptions" ,ghc-exceptions)
2153 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2154 ("ghc-terminal-size" ,ghc-terminal-size)))
2156 "https://hackage.haskell.org/package/concurrent-output")
2158 "Ungarble output from several threads or commands")
2160 "Lets multiple threads and external processes concurrently output to the
2161 console, without it getting all garbled up.
2163 Built on top of that is a way of defining multiple output regions, which are
2164 automatically laid out on the screen and can be individually updated by
2165 concurrent threads. Can be used for progress displays etc.")
2166 (license license:bsd-2)))
2168 (define-public ghc-conduit
2170 (name "ghc-conduit")
2174 (uri (string-append "https://hackage.haskell.org/package/"
2175 "conduit/conduit-" version ".tar.gz"))
2178 "18izjgff4pmrknc8py06yvg3g6x27nx0rzmlwjxcflwm5v4szpw4"))))
2179 (build-system haskell-build-system)
2181 `(("ghc-exceptions" ,ghc-exceptions)
2182 ("ghc-lifted-base" ,ghc-lifted-base)
2183 ("ghc-mono-traversable" ,ghc-mono-traversable)
2184 ("ghc-mmorph" ,ghc-mmorph)
2185 ("ghc-resourcet" ,ghc-resourcet)
2186 ("ghc-silently" ,ghc-silently)
2187 ("ghc-transformers-base" ,ghc-transformers-base)
2188 ("ghc-unliftio" ,ghc-unliftio)
2189 ("ghc-unliftio-core" ,ghc-unliftio-core)
2190 ("ghc-vector" ,ghc-vector)
2191 ("ghc-void" ,ghc-void)))
2193 `(("ghc-quickcheck" ,ghc-quickcheck)
2194 ("ghc-hspec" ,ghc-hspec)
2195 ("ghc-safe" ,ghc-safe)
2196 ("ghc-split" ,ghc-split)))
2197 (home-page "https://github.com/snoyberg/conduit")
2198 (synopsis "Streaming data library ")
2200 "The conduit package is a solution to the streaming data problem,
2201 allowing for production, transformation, and consumption of streams of data
2202 in constant memory. It is an alternative to lazy I/O which guarantees
2203 deterministic resource handling, and fits in the same general solution
2204 space as enumerator/iteratee and pipes.")
2205 (license license:expat)))
2207 (define-public ghc-conduit-algorithms
2209 (name "ghc-conduit-algorithms")
2210 (version "0.0.11.0")
2214 (uri (string-append "https://hackage.haskell.org/package/"
2215 "conduit-algorithms/conduit-algorithms-"
2219 "0c1jwz30kkvimx7lb61782yk0kyfamrf5bqc3g1h7g51lk8bbv9i"))))
2220 (build-system haskell-build-system)
2222 `(("ghc-async" ,ghc-async)
2223 ("ghc-bzlib-conduit" ,ghc-bzlib-conduit)
2224 ("ghc-conduit" ,ghc-conduit)
2225 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2226 ("ghc-conduit-extra" ,ghc-conduit-extra)
2227 ("ghc-conduit-zstd" ,ghc-conduit-zstd)
2228 ("ghc-exceptions" ,ghc-exceptions)
2229 ("ghc-lzma-conduit" ,ghc-lzma-conduit)
2230 ("ghc-monad-control" ,ghc-monad-control)
2231 ("ghc-pqueue" ,ghc-pqueue)
2232 ("ghc-resourcet" ,ghc-resourcet)
2233 ("ghc-stm-conduit" ,ghc-stm-conduit)
2234 ("ghc-streaming-commons" ,ghc-streaming-commons)
2235 ("ghc-unliftio-core" ,ghc-unliftio-core)
2236 ("ghc-vector" ,ghc-vector)))
2238 `(("ghc-hunit" ,ghc-hunit)
2239 ("ghc-test-framework" ,ghc-test-framework)
2240 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2241 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2242 (home-page "https://github.com/luispedro/conduit-algorithms#readme")
2243 (synopsis "Conduit-based algorithms")
2245 "This package provides algorithms on @code{Conduits}, including higher
2246 level asynchronous processing and some other utilities.")
2247 (license license:expat)))
2249 (define-public ghc-conduit-combinators
2251 (name "ghc-conduit-combinators")
2256 (uri (string-append "https://hackage.haskell.org/package/"
2257 "conduit-combinators-" version "/"
2258 "conduit-combinators-" version ".tar.gz"))
2261 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
2262 (build-system haskell-build-system)
2263 (inputs `(("ghc-conduit" ,ghc-conduit)
2264 ("ghc-conduit-extra" ,ghc-conduit-extra)
2265 ("ghc-transformers-base" ,ghc-transformers-base)
2266 ("ghc-primitive" ,ghc-primitive)
2267 ("ghc-vector" ,ghc-vector)
2268 ("ghc-void" ,ghc-void)
2269 ("ghc-mwc-random" ,ghc-mwc-random)
2270 ("ghc-unix-compat" ,ghc-unix-compat)
2271 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
2272 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
2273 ("ghc-resourcet" ,ghc-resourcet)
2274 ("ghc-monad-control" ,ghc-monad-control)
2275 ("ghc-chunked-data" ,ghc-chunked-data)
2276 ("ghc-mono-traversable" ,ghc-mono-traversable)))
2277 (native-inputs `(("ghc-hspec" ,ghc-hspec)
2278 ("ghc-silently" ,ghc-silently)
2279 ("ghc-safe" ,ghc-safe)
2280 ("ghc-quickcheck" ,ghc-quickcheck)))
2281 (home-page "https://github.com/snoyberg/mono-traversable")
2282 (synopsis "Commonly used conduit functions, for both chunked and
2284 (description "This Haskell package provides a replacement for Data.Conduit.List,
2285 as well as a convenient Conduit module.")
2286 (license license:expat)))
2288 (define-public ghc-conduit-extra
2290 (name "ghc-conduit-extra")
2295 (uri (string-append "https://hackage.haskell.org/package/"
2296 "conduit-extra/conduit-extra-"
2300 "1d853d39vj5pb8yxfcsnjwdzqzkm34ixzbnba8bslpihb7182wxi"))))
2301 (build-system haskell-build-system)
2303 `(("ghc-conduit" ,ghc-conduit)
2304 ("ghc-exceptions" ,ghc-exceptions)
2305 ("ghc-monad-control" ,ghc-monad-control)
2306 ("ghc-transformers-base" ,ghc-transformers-base)
2307 ("ghc-typed-process" ,ghc-typed-process)
2308 ("ghc-async" ,ghc-async)
2309 ("ghc-attoparsec" ,ghc-attoparsec)
2310 ("ghc-blaze-builder" ,ghc-blaze-builder)
2311 ("ghc-network" ,ghc-network)
2312 ("ghc-primitive" ,ghc-primitive)
2313 ("ghc-resourcet" ,ghc-resourcet)
2314 ("ghc-streaming-commons" ,ghc-streaming-commons)
2315 ("ghc-hspec" ,ghc-hspec)
2316 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
2317 ("ghc-quickcheck" ,ghc-quickcheck)))
2319 `(("hspec-discover" ,hspec-discover)))
2320 (home-page "https://github.com/snoyberg/conduit")
2321 (synopsis "Conduit adapters for common libraries")
2323 "The @code{conduit} package itself maintains relative small dependencies.
2324 The purpose of this package is to collect commonly used utility functions
2325 wrapping other library dependencies, without depending on heavier-weight
2326 dependencies. The basic idea is that this package should only depend on
2327 @code{haskell-platform} packages and @code{conduit}.")
2328 (license license:expat)))
2330 (define-public ghc-conduit-zstd
2332 (name "ghc-conduit-zstd")
2337 (uri (string-append "https://hackage.haskell.org/package/"
2338 "conduit-zstd/conduit-zstd-" version ".tar.gz"))
2341 "04h7w2903hgw4gjcx2pg29yinnmfapawvc19hd3r57rr12fzb0c6"))))
2342 (build-system haskell-build-system)
2344 `(("ghc-conduit" ,ghc-conduit)
2345 ("ghc-zstd" ,ghc-zstd)))
2347 `(("ghc-hunit" ,ghc-hunit)
2348 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2349 ("ghc-conduit-extra" ,ghc-conduit-extra)
2350 ("ghc-test-framework" ,ghc-test-framework)
2351 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2352 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2353 (home-page "https://github.com/luispedro/conduit-zstd#readme")
2354 (synopsis "Conduit-based ZStd Compression")
2355 (description "Zstandard compression packaged as a conduit. This is
2356 a very thin wrapper around the
2357 @url{https://github.com/facebookexperimental/hs-zstd/, official hs-zstd
2359 (license license:expat)))
2361 (define-public ghc-configurator
2363 (name "ghc-configurator")
2368 (uri (string-append "https://hackage.haskell.org/package/"
2369 "configurator/configurator-"
2373 "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"))))
2374 (build-system haskell-build-system)
2376 `(("ghc-attoparsec" ,ghc-attoparsec)
2377 ("ghc-hashable" ,ghc-hashable)
2378 ("ghc-unix-compat" ,ghc-unix-compat)
2379 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2381 `(("ghc-hunit" ,ghc-hunit)
2382 ("ghc-test-framework" ,ghc-test-framework)
2383 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2384 (home-page "http://github.com/bos/configurator")
2385 (synopsis "Configuration management")
2387 "This package provides a configuration management library for programs
2388 and daemons. The features include:
2391 @item Automatic, dynamic reloading in response to modifications to
2392 configuration files.
2393 @item A simple, but flexible, configuration language, supporting several of
2394 the most commonly needed types of data, along with interpolation of strings
2395 from the configuration or the system environment (e.g. @code{$(HOME)}).
2396 @item Subscription-based notification of changes to configuration properties.
2397 @item An @code{import} directive allows the configuration of a complex
2398 application to be split across several smaller files, or common configuration
2399 data to be shared across several applications.
2401 (license license:bsd-3)))
2403 (define-public ghc-connection
2405 (name "ghc-connection")
2409 (uri (string-append "https://hackage.haskell.org/package/"
2410 "connection/connection-"
2414 "1nbmafhlg0wy4aa3p7amjddbamdz6avzrxn4py3lvhrjqn4raxax"))))
2415 (build-system haskell-build-system)
2417 `(("ghc-byteable" ,ghc-byteable)
2418 ("ghc-data-default-class" ,ghc-data-default-class)
2419 ("ghc-network" ,ghc-network)
2420 ("ghc-tls" ,ghc-tls)
2421 ("ghc-socks" ,ghc-socks)
2422 ("ghc-x509" ,ghc-x509)
2423 ("ghc-x509-store" ,ghc-x509-store)
2424 ("ghc-x509-system" ,ghc-x509-system)
2425 ("ghc-x509-validation" ,ghc-x509-validation)))
2426 (home-page "https://github.com/vincenthz/hs-connection")
2427 (synopsis "Simple and easy network connections API")
2429 "This package provides a simple network library for all your connection
2430 needs. It provides a very simple API to create sockets to a destination with
2431 the choice of SSL/TLS, and SOCKS.")
2432 (license license:bsd-3)))
2434 (define-public ghc-constraints
2436 (name "ghc-constraints")
2442 "https://hackage.haskell.org/package/constraints/constraints-"
2446 "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q"))))
2447 (build-system haskell-build-system)
2449 `(("ghc-hashable" ,ghc-hashable)
2450 ("ghc-semigroups" ,ghc-semigroups)
2451 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2453 `(("ghc-hspec" ,ghc-hspec)
2454 ("hspec-discover" ,hspec-discover)))
2455 (home-page "https://github.com/ekmett/constraints/")
2456 (synopsis "Constraint manipulation")
2458 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
2459 They stopped crashing the compiler in GHC 7.6. This package provides
2460 a vocabulary for working with them.")
2461 (license license:bsd-3)))
2463 (define-public ghc-contravariant
2465 (name "ghc-contravariant")
2471 "https://hackage.haskell.org/package/contravariant/contravariant-"
2476 "0366gl62wwwdbl9i6kqy60asf60876k55v91la6bmhnwwcj2q9n4"))))
2477 (build-system haskell-build-system)
2479 `(("ghc-void" ,ghc-void)
2480 ("ghc-transformers-compat" ,ghc-transformers-compat)
2481 ("ghc-statevar" ,ghc-statevar)
2482 ("ghc-semigroups" ,ghc-semigroups)))
2484 "https://github.com/ekmett/contravariant/")
2485 (synopsis "Contravariant functors")
2486 (description "Contravariant functors for Haskell.")
2487 (license license:bsd-3)))
2489 (define-public ghc-contravariant-extras
2491 (name "ghc-contravariant-extras")
2496 (uri (string-append "https://hackage.haskell.org/package/"
2497 "contravariant-extras-" version "/"
2498 "contravariant-extras-" version ".tar.gz"))
2501 "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n"))))
2502 (build-system haskell-build-system)
2505 ("1" "1h2955ahga6i4fn7k8v66l03v77p6fhsac6ck8gpabkc08ij60wp")))
2507 `(("ghc-tuple-th" ,ghc-tuple-th)
2508 ("ghc-contravariant" ,ghc-contravariant)
2509 ("ghc-base-prelude" ,ghc-base-prelude)
2510 ("ghc-semigroups" ,ghc-semigroups)))
2511 (home-page "https://github.com/nikita-volkov/contravariant-extras")
2512 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
2513 (description "This Haskell package provides extras for the
2514 @code{ghc-contravariant} package.")
2515 (license license:expat)))
2517 (define-public ghc-convertible
2519 (name "ghc-convertible")
2524 (uri (string-append "https://hackage.haskell.org/package/convertible/"
2525 "convertible-" version ".tar.gz"))
2528 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
2529 (build-system haskell-build-system)
2531 `(("ghc-old-time" ,ghc-old-time)
2532 ("ghc-old-locale" ,ghc-old-locale)))
2533 (home-page "https://hackage.haskell.org/package/convertible")
2534 (synopsis "Typeclasses and instances for converting between types")
2536 "This package provides a typeclass with a single function that is
2537 designed to help convert between different types: numeric values, dates and
2538 times, and the like. The conversions perform bounds checking and return a
2539 pure @code{Either} value. This means that you need not remember which specific
2540 function performs the conversion you desire.")
2541 (license license:bsd-3)))
2543 (define-public ghc-data-accessor
2545 (name "ghc-data-accessor")
2551 "mirror://hackage/package/data-accessor/data-accessor-"
2554 (base32 "1fq4gygxbz0bd0mzgvc1sl3m4gjnsv8nbgpnmdpa29zj5lb9agxc"))))
2555 (build-system haskell-build-system)
2556 (home-page "https://www.haskell.org/haskellwiki/Record_access")
2558 "Haskell utilities for accessing and manipulating fields of records")
2559 (description "This package provides Haskell modules for accessing and
2560 manipulating fields of records.")
2561 (license license:bsd-3)))
2563 (define-public ghc-data-accessor-transformers
2565 (name "ghc-data-accessor-transformers")
2571 "mirror://hackage/package/data-accessor-transformers/"
2572 "data-accessor-transformers-" version ".tar.gz"))
2574 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
2575 (build-system haskell-build-system)
2576 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
2577 (home-page "https://www.haskell.org/haskellwiki/Record_access")
2578 (synopsis "Use Accessor to access state in transformers State monad")
2579 (description "This package provides Haskell modules to allow use of
2580 Accessor to access state in transformers State monad.")
2581 (license license:bsd-3)))
2583 (define-public ghc-data-default
2585 (name "ghc-data-default")
2591 "https://hackage.haskell.org/package/data-default/data-default-"
2595 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
2596 (build-system haskell-build-system)
2598 `(("ghc-data-default-class"
2599 ,ghc-data-default-class)
2600 ("ghc-data-default-instances-base"
2601 ,ghc-data-default-instances-base)
2602 ("ghc-data-default-instances-containers"
2603 ,ghc-data-default-instances-containers)
2604 ("ghc-data-default-instances-dlist"
2605 ,ghc-data-default-instances-dlist)
2606 ("ghc-data-default-instances-old-locale"
2607 ,ghc-data-default-instances-old-locale)))
2608 (home-page "https://hackage.haskell.org/package/data-default")
2609 (synopsis "Types with default values")
2611 "This package defines a class for types with a default value, and
2612 provides instances for types from the base, containers, dlist and old-locale
2614 (license license:bsd-3)))
2616 (define-public ghc-data-default-class
2618 (name "ghc-data-default-class")
2624 "https://hackage.haskell.org/package/data-default-class/"
2625 "data-default-class-" version ".tar.gz"))
2627 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
2628 (build-system haskell-build-system)
2629 (home-page "https://hackage.haskell.org/package/data-default-class")
2630 (synopsis "Types with default values")
2632 "This package defines a class for types with default values.")
2633 (license license:bsd-3)))
2635 (define-public ghc-data-default-instances-base
2637 (name "ghc-data-default-instances-base")
2643 "https://hackage.haskell.org/package/"
2644 "data-default-instances-base/"
2645 "data-default-instances-base-" version ".tar.gz"))
2647 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
2648 (build-system haskell-build-system)
2650 `(("ghc-data-default-class" ,ghc-data-default-class)))
2651 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
2652 (synopsis "Default instances for types in base")
2654 "This package provides default instances for types from the base
2656 (license license:bsd-3)))
2658 (define-public ghc-data-default-instances-containers
2660 (name "ghc-data-default-instances-containers")
2666 "https://hackage.haskell.org/package/"
2667 "data-default-instances-containers/"
2668 "data-default-instances-containers-" version ".tar.gz"))
2670 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
2671 (build-system haskell-build-system)
2673 `(("ghc-data-default-class" ,ghc-data-default-class)))
2674 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
2675 (synopsis "Default instances for types in containers")
2676 (description "Provides default instances for types from the containers
2678 (license license:bsd-3)))
2680 (define-public ghc-data-default-instances-dlist
2682 (name "ghc-data-default-instances-dlist")
2688 "https://hackage.haskell.org/package/"
2689 "data-default-instances-dlist/"
2690 "data-default-instances-dlist-" version ".tar.gz"))
2692 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
2693 (build-system haskell-build-system)
2695 `(("ghc-data-default-class" ,ghc-data-default-class)
2696 ("ghc-dlist" ,ghc-dlist)))
2697 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
2698 (synopsis "Default instances for types in dlist")
2699 (description "Provides default instances for types from the dlist
2701 (license license:bsd-3)))
2703 (define-public ghc-data-default-instances-old-locale
2705 (name "ghc-data-default-instances-old-locale")
2711 "https://hackage.haskell.org/package/"
2712 "data-default-instances-old-locale/"
2713 "data-default-instances-old-locale-" version ".tar.gz"))
2715 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
2716 (build-system haskell-build-system)
2718 `(("ghc-data-default-class" ,ghc-data-default-class)
2719 ("ghc-old-locale" ,ghc-old-locale)))
2721 "https://hackage.haskell.org/package/data-default-instances-old-locale")
2722 (synopsis "Default instances for types in old-locale")
2723 (description "Provides Default instances for types from the old-locale
2725 (license license:bsd-3)))
2727 (define-public ghc-data-hash
2729 (name "ghc-data-hash")
2734 (uri (string-append "https://hackage.haskell.org/package/data-hash"
2735 "/data-hash-" version ".tar.gz"))
2737 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
2738 (build-system haskell-build-system)
2740 `(("ghc-quickcheck" ,ghc-quickcheck)
2741 ("ghc-test-framework" ,ghc-test-framework)
2742 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2743 (home-page "https://hackage.haskell.org/package/data-hash")
2744 (synopsis "Combinators for building fast hashing functions")
2746 "This package provides combinators for building fast hashing functions.
2747 It includes hashing functions for all basic Haskell98 types.")
2748 (license license:bsd-3)))
2750 (define-public ghc-data-ordlist
2752 (name "ghc-data-ordlist")
2758 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
2762 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
2763 (build-system haskell-build-system)
2764 (home-page "https://hackage.haskell.org/package/data-ordlist")
2765 (synopsis "Set and bag operations on ordered lists")
2767 "This module provides set and multiset operations on ordered lists.")
2768 (license license:bsd-3)))
2770 (define-public ghc-dbus
2779 "mirror://hackage/package/dbus/dbus-"
2783 "0ypkjlw9fn65g7p28kb3p82glk7qs7p7vyffccw7qxa3z57s12w5"))))
2784 (build-system haskell-build-system)
2786 `(("ghc-cereal" ,ghc-cereal)
2787 ("ghc-conduit" ,ghc-conduit)
2788 ("ghc-exceptions" ,ghc-exceptions)
2789 ("ghc-lens" ,ghc-lens)
2790 ("ghc-network" ,ghc-network)
2791 ("ghc-random" ,ghc-random)
2792 ("ghc-split" ,ghc-split)
2793 ("ghc-th-lift" ,ghc-th-lift)
2794 ("ghc-vector" ,ghc-vector)
2795 ("ghc-xml-conduit" ,ghc-xml-conduit)
2796 ("ghc-xml-types" ,ghc-xml-types)))
2798 `(("ghc-extra" ,ghc-extra)
2799 ("ghc-quickcheck" ,ghc-quickcheck)
2800 ("ghc-resourcet" ,ghc-resourcet)
2801 ("ghc-tasty" ,ghc-tasty)
2802 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2803 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
2804 ;; FIXME - Some tests try to talk to network.
2805 (arguments `(#:tests? #f))
2806 (home-page "https://github.com/rblaze/haskell-dbus")
2807 (synopsis "Client library for the D-Bus IPC system")
2809 "D-Bus is a simple, message-based protocol for inter-process
2810 communication, which allows applications to interact with other parts
2811 of the machine and the user's session using remote procedure
2812 calls. D-Bus is a essential part of the modern Linux desktop, where
2813 it replaces earlier protocols such as CORBA and DCOP. This library
2814 is an implementation of the D-Bus protocol in Haskell. It can be used
2815 to add D-Bus support to Haskell applications, without the awkward
2816 interfaces common to foreign bindings.")
2817 (license license:asl2.0)))
2819 (define-public ghc-deepseq-generics
2821 (name "ghc-deepseq-generics")
2825 (uri (string-append "https://hackage.haskell.org/package/"
2826 "deepseq-generics/deepseq-generics-"
2830 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
2831 (build-system haskell-build-system)
2834 ("4" "0928s2qnbqsjzrm94x88rvmvbigfmhcyp4m73gw6asinp2qg1kii")))
2836 `(("ghc-hunit" ,ghc-hunit)
2837 ("ghc-test-framework" ,ghc-test-framework)
2838 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2839 (home-page "https://github.com/hvr/deepseq-generics")
2840 (synopsis "Generic RNF implementation")
2842 "This package provides a @code{GHC.Generics}-based
2843 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
2844 providing an @code{rnf} implementation.")
2845 (license license:bsd-3)))
2847 (define-public ghc-dense-linear-algebra
2849 (name "ghc-dense-linear-algebra")
2854 (uri (string-append "https://hackage.haskell.org/package/"
2855 "dense-linear-algebra/dense-linear-algebra-"
2859 "1m7jjxahqxj7ilic3r9806mwp5rnnsmn8vvipkmk40xl65wplxzp"))))
2860 (build-system haskell-build-system)
2862 `(("ghc-math-functions" ,ghc-math-functions)
2863 ("ghc-primitive" ,ghc-primitive)
2864 ("ghc-vector" ,ghc-vector)
2865 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
2866 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
2867 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
2869 `(("ghc-hspec" ,ghc-hspec)
2870 ("ghc-quickcheck" ,ghc-quickcheck)))
2871 (home-page "https://hackage.haskell.org/package/dense-linear-algebra")
2872 (synopsis "Simple and incomplete implementation of linear algebra")
2873 (description "This library is simply a collection of linear-algebra
2874 related modules split from the statistics library.")
2875 (license license:bsd-2)))
2877 (define-public ghc-descriptive
2879 (name "ghc-descriptive")
2885 "https://hackage.haskell.org/package/descriptive/descriptive-"
2890 "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237"))))
2891 (build-system haskell-build-system)
2893 `(("ghc-aeson" ,ghc-aeson)
2894 ("ghc-bifunctors" ,ghc-bifunctors)
2895 ("ghc-scientific" ,ghc-scientific)
2896 ("ghc-vector" ,ghc-vector)))
2898 `(("ghc-hunit" ,ghc-hunit)
2899 ("ghc-hspec" ,ghc-hspec)))
2901 "https://github.com/chrisdone/descriptive")
2903 "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.")
2905 "This package provides datatypes and functions for creating consumers
2906 and parsers with useful semantics.")
2907 (license license:bsd-3)))
2909 (define-public ghc-diagrams-core
2911 (name "ghc-diagrams-core")
2916 (uri (string-append "https://hackage.haskell.org/package/"
2917 "diagrams-core/diagrams-core-" version ".tar.gz"))
2920 "0qgb43vy23g4fxh3nmxfq6jyp34imqvkhgflaa6rz0iq6d60gl43"))))
2921 (build-system haskell-build-system)
2923 `(("ghc-unordered-containers" ,ghc-unordered-containers)
2924 ("ghc-semigroups" ,ghc-semigroups)
2925 ("ghc-monoid-extras" ,ghc-monoid-extras)
2926 ("ghc-dual-tree" ,ghc-dual-tree)
2927 ("ghc-lens" ,ghc-lens)
2928 ("ghc-linear" ,ghc-linear)
2929 ("ghc-adjunctions" ,ghc-adjunctions)
2930 ("ghc-distributive" ,ghc-distributive)
2931 ("ghc-profunctors" ,ghc-profunctors)))
2932 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
2933 (synopsis "Core libraries for diagrams embedded domain-specific language")
2934 (description "This package provides the core modules underlying
2935 diagrams, an embedded domain-specific language for compositional,
2936 declarative drawing.")
2937 (license license:bsd-3)))
2939 (define-public ghc-diagrams-lib
2941 (name "ghc-diagrams-lib")
2946 (uri (string-append "https://hackage.haskell.org/package/"
2947 "diagrams-lib/diagrams-lib-" version ".tar.gz"))
2950 "175yzi5kw4yd8ykdkpf64q85c7j3p89l90m3h6qcsx9ipv6av9r5"))))
2951 (build-system haskell-build-system)
2953 `(("ghc-semigroups" ,ghc-semigroups)
2954 ("ghc-monoid-extras" ,ghc-monoid-extras)
2955 ("ghc-dual-tree" ,ghc-dual-tree)
2956 ("ghc-diagrams-core" ,ghc-diagrams-core)
2957 ("ghc-diagrams-solve" ,ghc-diagrams-solve)
2958 ("ghc-active" ,ghc-active)
2959 ("ghc-colour" ,ghc-colour)
2960 ("ghc-data-default-class" ,ghc-data-default-class)
2961 ("ghc-fingertree" ,ghc-fingertree)
2962 ("ghc-intervals" ,ghc-intervals)
2963 ("ghc-lens" ,ghc-lens)
2964 ("ghc-tagged" ,ghc-tagged)
2965 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
2966 ("ghc-juicypixels" ,ghc-juicypixels)
2967 ("ghc-hashable" ,ghc-hashable)
2968 ("ghc-linear" ,ghc-linear)
2969 ("ghc-adjunctions" ,ghc-adjunctions)
2970 ("ghc-distributive" ,ghc-distributive)
2971 ("ghc-fsnotify" ,ghc-fsnotify)
2972 ("ghc-unordered-containers" ,ghc-unordered-containers)
2973 ("ghc-profunctors" ,ghc-profunctors)
2974 ("ghc-exceptions" ,ghc-exceptions)
2975 ("ghc-cereal" ,ghc-cereal)))
2977 `(("ghc-tasty" ,ghc-tasty)
2978 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2979 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
2980 ("ghc-numeric-extras" ,ghc-numeric-extras)))
2983 ("3" "157y2qdsh0aczs81vzlm377mks976mpv6y3aqnchwsnr7apzp8ai")))
2984 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
2985 (synopsis "Embedded domain-specific language for declarative graphics")
2986 (description "Diagrams is a flexible, extensible embedded
2987 domain-specific language (EDSL) for creating graphics of many types.
2988 Graphics can be created in arbitrary vector spaces and rendered with
2989 multiple backends. This package provides a standard library of
2990 primitives and operations for creating diagrams.")
2991 (license license:bsd-3)))
2993 (define-public ghc-diagrams-solve
2995 (name "ghc-diagrams-solve")
3000 (uri (string-append "https://hackage.haskell.org/package/"
3001 "diagrams-solve/diagrams-solve-"
3005 "17agchqkmj14b17sw50kzxq4hm056g5d8yy0wnqn5w8h1d0my7x4"))))
3006 (build-system haskell-build-system)
3008 `(("ghc-tasty" ,ghc-tasty)
3009 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3010 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3013 ("5" "1yl8cs05fzqcz49p601am1ij66m9pa70yamhfxgcvya2pf8nimlf")))
3014 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3015 (synopsis "Pure Haskell solver routines used by diagrams")
3016 (description "This library provides Pure Haskell solver routines for
3018 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3019 diagrams framework}. It currently includes routines for finding real
3020 roots of low-degree (@math{n < 5}) polynomials, and solving tridiagonal
3021 and cyclic tridiagonal linear systems.")
3022 (license license:bsd-3)))
3024 (define-public ghc-diagrams-svg
3026 (name "ghc-diagrams-svg")
3031 (uri (string-append "https://hackage.haskell.org/package/"
3032 "diagrams-svg/diagrams-svg-" version ".tar.gz"))
3035 "1lnyxx45yawqas7hmvvannwaa3ycf1l9g40lsl2m8sl2ja6vcmal"))))
3036 (build-system haskell-build-system)
3038 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
3039 ("ghc-colour" ,ghc-colour)
3040 ("ghc-diagrams-core" ,ghc-diagrams-core)
3041 ("ghc-diagrams-lib" ,ghc-diagrams-lib)
3042 ("ghc-monoid-extras" ,ghc-monoid-extras)
3043 ("ghc-svg-builder" ,ghc-svg-builder)
3044 ("ghc-juicypixels" ,ghc-juicypixels)
3045 ("ghc-split" ,ghc-split)
3046 ("ghc-lens" ,ghc-lens)
3047 ("ghc-hashable" ,ghc-hashable)
3048 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
3049 ("ghc-semigroups" ,ghc-semigroups)))
3052 ("2" "15sn85xaachw4cj56w61bjcwrbf4qmnkfl8mbgdapxi5k0y4f2qv")))
3053 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3054 (synopsis "Scalable Vector Grpahics backend for the diagrams framework")
3055 (description "This package provides a modular backend for rendering
3056 diagrams created with the diagrams embedded domain-specific
3057 language (EDSL) to Scalable Vector Graphics (SVG) files.")
3058 (license license:bsd-3)))
3060 (define-public ghc-dictionary-sharing
3062 (name "ghc-dictionary-sharing")
3067 (uri (string-append "https://hackage.haskell.org/package/"
3068 "dictionary-sharing/dictionary-sharing-"
3072 "00aspv943qdqhlk39mbk00kb1dsa5r0caj8sslrn81fnsn252fwc"))))
3073 (build-system haskell-build-system)
3076 ("3" "1mn7jcc7h3b8f1pn9zigqp6mc2n0qb66lms5qnrx4zswdv5w9439")))
3077 (home-page "https://hackage.haskell.org/package/dictionary-sharing")
3078 (synopsis "Sharing/memoization of class members")
3079 (description "This library provides tools for ensuring that class
3080 members are shared.")
3081 (license license:bsd-3)))
3083 (define-public ghc-diff
3089 (uri (string-append "https://hackage.haskell.org/package/"
3090 "Diff/Diff-" version ".tar.gz"))
3091 (patches (search-patches "ghc-diff-swap-cover-args.patch"))
3094 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
3095 (build-system haskell-build-system)
3097 `(("ghc-quickcheck" ,ghc-quickcheck)
3098 ("ghc-test-framework" ,ghc-test-framework)
3099 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3100 (home-page "https://hub.darcs.net/sterlingclover/Diff")
3101 (synopsis "O(ND) diff algorithm in Haskell")
3103 "This package provides an implementation of the standard diff algorithm,
3104 and utilities for pretty printing.")
3105 (license license:bsd-3)))
3107 (define-public ghc-disk-free-space
3109 (name "ghc-disk-free-space")
3114 (uri (string-append "https://hackage.haskell.org/package/"
3115 "disk-free-space/disk-free-space-"
3119 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
3120 (build-system haskell-build-system)
3121 (home-page "https://github.com/redneb/disk-free-space")
3122 (synopsis "Retrieve information about disk space usage")
3123 (description "A cross-platform library for retrieving information about
3125 (license license:bsd-3)))
3127 (define-public ghc-distributive
3129 (name "ghc-distributive")
3135 "https://hackage.haskell.org/package/distributive/distributive-"
3140 "1wnayzzb4vk8rhh9gzhdpd9f64366k4vmbhximavmqqmp3cv2jbp"))))
3141 (build-system haskell-build-system)
3143 `(("ghc-tagged" ,ghc-tagged)
3144 ("ghc-base-orphans" ,ghc-base-orphans)
3145 ("ghc-transformers-compat" ,ghc-transformers-compat)
3146 ("ghc-semigroups" ,ghc-semigroups)
3147 ("ghc-generic-deriving" ,ghc-generic-deriving)))
3149 `(("cabal-doctest" ,cabal-doctest)
3150 ("ghc-doctest" ,ghc-doctest)
3151 ("ghc-hspec" ,ghc-hspec)
3152 ("hspec-discover" ,hspec-discover)))
3153 (home-page "https://github.com/ekmett/distributive/")
3154 (synopsis "Distributive functors for Haskell")
3155 (description "This package provides distributive functors for Haskell.
3156 Dual to @code{Traversable}.")
3157 (license license:bsd-3)))
3159 (define-public ghc-dlist
3167 "https://hackage.haskell.org/package/dlist/dlist-"
3171 (base32 "0b5spkzvj2kx8pk86xz0djkxs13j7dryf5fl16dk4mlp1wh6mh53"))))
3172 (build-system haskell-build-system)
3174 `(("ghc-quickcheck" ,ghc-quickcheck)))
3175 (home-page "https://github.com/spl/dlist")
3176 (synopsis "Difference lists")
3178 "Difference lists are a list-like type supporting O(1) append. This is
3179 particularly useful for efficient logging and pretty printing (e.g. with the
3180 Writer monad), where list append quickly becomes too expensive.")
3181 (license license:bsd-3)))
3183 (define-public ghc-doctemplates
3185 (name "ghc-doctemplates")
3190 (uri (string-append "https://hackage.haskell.org/package/"
3191 "doctemplates/doctemplates-"
3195 "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b"))))
3196 (build-system haskell-build-system)
3198 `(("ghc-aeson" ,ghc-aeson)
3199 ("ghc-blaze-markup" ,ghc-blaze-markup)
3200 ("ghc-blaze-html" ,ghc-blaze-html)
3201 ("ghc-vector" ,ghc-vector)
3202 ("ghc-unordered-containers" ,ghc-unordered-containers)
3203 ("ghc-scientific" ,ghc-scientific)))
3205 `(("ghc-hspec" ,ghc-hspec)))
3206 (home-page "https://github.com/jgm/doctemplates#readme")
3207 (synopsis "Pandoc-style document templates")
3209 "This package provides a simple text templating system used by pandoc.")
3210 (license license:bsd-3)))
3212 (define-public ghc-doctest
3214 (name "ghc-doctest")
3220 "https://hackage.haskell.org/package/doctest/doctest-"
3225 "0lk4cjfzi5bx2snfzw1zi06li0gvgz3ckfh2kwa98l7nxfdl39ag"))))
3226 (build-system haskell-build-system)
3227 (arguments `(#:tests? #f)) ; FIXME: missing test framework
3229 `(("ghc-syb" ,ghc-syb)
3230 ("ghc-paths" ,ghc-paths)
3231 ("ghc-base-compat" ,ghc-base-compat)
3232 ("ghc-code-page" ,ghc-code-page)
3233 ("ghc-hunit" ,ghc-hunit)
3234 ("ghc-hspec" ,ghc-hspec)
3235 ("ghc-quickcheck" ,ghc-quickcheck)
3236 ("ghc-stringbuilder" ,ghc-stringbuilder)
3237 ("ghc-silently" ,ghc-silently)
3238 ("ghc-setenv" ,ghc-setenv)))
3240 "https://github.com/sol/doctest#readme")
3241 (synopsis "Test interactive Haskell examples")
3242 (description "The doctest program checks examples in source code comments.
3243 It is modeled after doctest for Python, see
3244 @uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
3245 (license license:expat)))
3247 (define-public ghc-double-conversion
3249 (name "ghc-double-conversion")
3254 (uri (string-append "https://hackage.haskell.org/package/"
3255 "double-conversion/double-conversion-"
3259 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
3260 (build-system haskell-build-system)
3262 `(("ghc-hunit" ,ghc-hunit)
3263 ("ghc-test-framework" ,ghc-test-framework)
3264 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3265 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3266 (home-page "https://github.com/bos/double-conversion")
3267 (synopsis "Fast conversion between double precision floating point and text")
3269 "This package provides a library that performs fast, accurate conversion
3270 between double precision floating point and text.")
3271 (license license:bsd-3)))
3273 (define-public ghc-dual-tree
3275 (name "ghc-dual-tree")
3280 (uri (string-append "https://hackage.haskell.org/package/"
3281 "dual-tree/dual-tree-" version ".tar.gz"))
3284 "17kdfnf0df0z5pkiifxrlmyd1xd7hjjaazd2kzyajl0gd00vbszx"))))
3285 (build-system haskell-build-system)
3287 `(("ghc-semigroups" ,ghc-semigroups)
3288 ("ghc-newtype-generics" ,ghc-newtype-generics)
3289 ("ghc-monoid-extras" ,ghc-monoid-extras)))
3291 `(("ghc-quickcheck" ,ghc-quickcheck)
3292 ("ghc-testing-feat" ,ghc-testing-feat)))
3293 (home-page "https://hackage.haskell.org/package/dual-tree")
3294 (synopsis "Rose trees with cached and accumulating monoidal annotations")
3295 (description "Rose (@math{n}-ary) trees with both upwards- (i.e.
3296 cached) and downwards-traveling (i.e. accumulating) monoidal
3297 annotations. This is used as the core data structure underlying the
3298 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3299 diagrams framework}, but potentially has other applications as well.")
3300 (license license:bsd-3)))
3302 (define-public ghc-easy-file
3304 (name "ghc-easy-file")
3310 "https://hackage.haskell.org/package/easy-file/easy-file-"
3315 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
3316 (build-system haskell-build-system)
3318 "https://github.com/kazu-yamamoto/easy-file")
3319 (synopsis "File handling library for Haskell")
3320 (description "This library provides file handling utilities for Haskell.")
3321 (license license:bsd-3)))
3323 (define-public ghc-easyplot
3325 (name "ghc-easyplot")
3331 "https://hackage.haskell.org/package/easyplot/easyplot-"
3334 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
3335 (build-system haskell-build-system)
3336 (propagated-inputs `(("gnuplot" ,gnuplot)))
3338 `(#:phases (modify-phases %standard-phases
3339 (add-after 'unpack 'fix-setup-suffix
3340 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
3341 (home-page "https://hub.darcs.net/scravy/easyplot")
3342 (synopsis "Haskell plotting library based on gnuplot")
3343 (description "This package provides a plotting library for
3344 Haskell, using gnuplot for rendering.")
3345 (license license:expat)))
3347 (define-public ghc-echo
3355 "https://hackage.haskell.org/package/echo/echo-"
3359 "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh"))))
3360 (build-system haskell-build-system)
3363 ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l")))
3364 (home-page "https://github.com/RyanGlScott/echo")
3365 (synopsis "Echo terminal input portably")
3366 (description "The @code{base} library exposes the @code{hGetEcho} and
3367 @code{hSetEcho} functions for querying and setting echo status, but
3368 unfortunately, neither function works with MinTTY consoles on Windows.
3369 This library provides an alternative interface which works with both
3370 MinTTY and other consoles.")
3371 (license license:bsd-3)))
3373 (define-public ghc-edisonapi
3375 (name "ghc-edisonapi")
3380 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
3381 "/EdisonAPI-" version ".tar.gz"))
3383 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
3384 (build-system haskell-build-system)
3385 (home-page "http://rwd.rdockins.name/edison/home/")
3386 (synopsis "Library of efficient, purely-functional data structures (API)")
3388 "Edison is a library of purely functional data structures written by
3389 Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
3390 value EDiSon (Efficient Data Structures). Edison provides several families of
3391 abstractions, each with multiple implementations. The main abstractions
3392 provided by Edison are: Sequences such as stacks, queues, and dequeues;
3393 Collections such as sets, bags and heaps; and Associative Collections such as
3394 finite maps and priority queues where the priority and element are distinct.")
3395 (license license:expat)))
3397 (define-public ghc-edisoncore
3399 (name "ghc-edisoncore")
3404 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
3405 "/EdisonCore-" version ".tar.gz"))
3407 (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk"))))
3408 (build-system haskell-build-system)
3410 `(("ghc-quickcheck" ,ghc-quickcheck)
3411 ("ghc-edisonapi" ,ghc-edisonapi)))
3412 (home-page "http://rwd.rdockins.name/edison/home/")
3413 (synopsis "Library of efficient, purely-functional data structures")
3415 "This package provides the core Edison data structure implementations,
3416 including multiple sequence, set, bag, and finite map concrete implementations
3417 with various performance characteristics.")
3418 (license license:expat)))
3420 (define-public ghc-edit-distance
3422 (name "ghc-edit-distance")
3427 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
3428 "/edit-distance-" version ".tar.gz"))
3430 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
3431 (build-system haskell-build-system)
3434 (modify-phases %standard-phases
3435 (add-before 'configure 'update-constraints
3437 (substitute* "edit-distance.cabal"
3438 (("QuickCheck >= 2\\.4 && <2\\.9")
3439 "QuickCheck >= 2.4 && < 2.14")))))))
3441 `(("ghc-random" ,ghc-random)
3442 ("ghc-test-framework" ,ghc-test-framework)
3443 ("ghc-quickcheck" ,ghc-quickcheck)
3444 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3445 (home-page "https://github.com/phadej/edit-distance")
3446 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
3448 "This package provides optimized functions to determine the edit
3449 distances for fuzzy matching, including Levenshtein and restricted
3450 Damerau-Levenshtein algorithms.")
3451 (license license:bsd-3)))
3453 (define-public ghc-edit-distance-vector
3455 (name "ghc-edit-distance-vector")
3460 (uri (string-append "https://hackage.haskell.org/package/"
3461 "edit-distance-vector/edit-distance-vector-"
3465 "07qgc8dyi9kkzkd3xcd78wdlljy0xwhz65b4r2qg2piidpcdvpxp"))))
3466 (build-system haskell-build-system)
3468 `(("ghc-vector" ,ghc-vector)))
3470 `(("ghc-quickcheck" ,ghc-quickcheck)
3471 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
3472 (home-page "https://github.com/thsutton/edit-distance-vector")
3473 (synopsis "Calculate edit distances and edit scripts between vectors")
3474 (description "This package provides implementation of the
3475 Wagner-Fischer dynamic programming algorithm to find the optimal edit
3476 script and cost between two sequences. The implementation in this
3477 package is specialised to sequences represented with @code{Data.Vector}
3478 but is otherwise agnostic to:
3480 @item The type of values in the vectors;
3481 @item The type representing edit operations; and
3482 @item The type representing the cost of operations.
3484 (license license:bsd-3)) )
3486 (define-public ghc-either
3493 (uri (string-append "https://hackage.haskell.org/package/"
3494 "either-" version "/"
3495 "either-" version ".tar.gz"))
3498 "09yzki8ss56xhy9vggdw1rls86b2kf55hjl5wi0vbv02d8fxahq2"))))
3499 (build-system haskell-build-system)
3500 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
3501 ("ghc-exceptions" ,ghc-exceptions)
3502 ("ghc-free" ,ghc-free)
3503 ("ghc-monad-control" ,ghc-monad-control)
3504 ("ghc-manodrandom" ,ghc-monadrandom)
3505 ("ghc-mmorph" ,ghc-mmorph)
3506 ("ghc-profunctors" ,ghc-profunctors)
3507 ("ghc-semigroups" ,ghc-semigroups)
3508 ("ghc-semigroupoids" ,ghc-semigroupoids)
3509 ("ghc-transformers-base" ,ghc-transformers-base)))
3511 `(("ghc-quickcheck" ,ghc-quickcheck)
3512 ("ghc-test-framework" ,ghc-test-framework)
3513 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3514 (home-page "https://github.com/ekmett/either")
3515 (synopsis "Provides an either monad transformer for Haskell")
3516 (description "This Haskell package provides an either monad transformer.")
3517 (license license:bsd-3)))
3519 (define-public ghc-email-validate
3521 (name "ghc-email-validate")
3522 (version "2.3.2.12")
3527 "https://hackage.haskell.org/package/"
3528 "email-validate/email-validate-"
3533 "0ar3cfjia3x11chb7w60mi7hp5djanms883ddk875l6lifr2lyqf"))))
3534 (build-system haskell-build-system)
3536 `(("ghc-attoparsec" ,ghc-attoparsec)
3537 ("ghc-hspec" ,ghc-hspec)
3538 ("ghc-quickcheck" ,ghc-quickcheck)
3539 ("ghc-doctest" ,ghc-doctest)))
3541 "https://github.com/Porges/email-validate-hs")
3542 (synopsis "Email address validator for Haskell")
3544 "This Haskell package provides a validator that can validate an email
3545 address string against RFC 5322.")
3546 (license license:bsd-3)))
3548 (define-public ghc-enclosed-exceptions
3550 (name "ghc-enclosed-exceptions")
3554 (uri (string-append "https://hackage.haskell.org/package/"
3555 "enclosed-exceptions/enclosed-exceptions-"
3559 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
3560 (build-system haskell-build-system)
3561 ;; FIXME: one of the tests blocks forever:
3562 ;; "thread blocked indefinitely in an MVar operation"
3563 (arguments '(#:tests? #f))
3565 `(("ghc-lifted-base" ,ghc-lifted-base)
3566 ("ghc-monad-control" ,ghc-monad-control)
3567 ("ghc-async" ,ghc-async)
3568 ("ghc-transformers-base" ,ghc-transformers-base)))
3570 `(("ghc-hspec" ,ghc-hspec)
3571 ("ghc-quickcheck" ,ghc-quickcheck)))
3572 (home-page "https://github.com/jcristovao/enclosed-exceptions")
3573 (synopsis "Catch all exceptions from within an enclosed computation")
3575 "This library implements a technique to catch all exceptions raised
3576 within an enclosed computation, while remaining responsive to (external)
3577 asynchronous exceptions.")
3578 (license license:expat)))
3580 (define-public ghc-equivalence
3582 (name "ghc-equivalence")
3587 (uri (string-append "https://hackage.haskell.org/package/equivalence"
3588 "/equivalence-" version ".tar.gz"))
3590 (base32 "167njzd1cf32aa7br90rjafrxy6hw3fxkk8awifqbxjrcwm5maqp"))))
3591 (build-system haskell-build-system)
3593 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
3594 ("ghc-transformers-compat" ,ghc-transformers-compat)
3595 ("ghc-fail" ,ghc-fail)
3596 ("ghc-quickcheck" ,ghc-quickcheck)))
3597 (home-page "https://github.com/pa-ba/equivalence")
3598 (synopsis "Maintaining an equivalence relation implemented as union-find")
3600 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
3601 Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
3602 22(2), 1975) in order to maintain an equivalence relation. This
3603 implementation is a port of the @code{union-find} package using the @code{ST}
3604 monad transformer (instead of the IO monad).")
3605 (license license:bsd-3)))
3607 (define-public ghc-erf
3614 (uri (string-append "https://hackage.haskell.org/package/"
3616 "erf-" version ".tar.gz"))
3619 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
3620 (build-system haskell-build-system)
3621 (home-page "https://hackage.haskell.org/package/erf")
3622 (synopsis "The error function, erf, and related functions for Haskell")
3623 (description "This Haskell library provides a type class for the
3624 error function, erf, and related functions. Instances for Float and
3626 (license license:bsd-3)))
3628 (define-public ghc-errorcall-eq-instance
3630 (name "ghc-errorcall-eq-instance")
3635 (uri (string-append "https://hackage.haskell.org/package/"
3636 "errorcall-eq-instance/errorcall-eq-instance-"
3640 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
3641 (build-system haskell-build-system)
3643 `(("ghc-base-orphans" ,ghc-base-orphans)))
3645 `(("ghc-quickcheck" ,ghc-quickcheck)
3646 ("ghc-hspec" ,ghc-hspec)
3647 ("hspec-discover" ,hspec-discover)))
3648 (home-page "https://hackage.haskell.org/package/errorcall-eq-instance")
3649 (synopsis "Orphan Eq instance for ErrorCall")
3651 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
3652 This package provides an orphan instance.")
3653 (license license:expat)))
3655 (define-public ghc-errors
3662 (uri (string-append "https://hackage.haskell.org/package/"
3663 "errors-" version "/"
3664 "errors-" version ".tar.gz"))
3667 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
3668 (build-system haskell-build-system)
3670 `(("ghc-exceptions" ,ghc-exceptions)
3671 ("ghc-transformers-compat" ,ghc-transformers-compat)
3672 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
3673 ("ghc-safe" ,ghc-safe)))
3674 (home-page "https://github.com/gabriel439/haskell-errors-library")
3675 (synopsis "Error handling library for Haskell")
3676 (description "This library encourages an error-handling style that
3677 directly uses the type system, rather than out-of-band exceptions.")
3678 (license license:bsd-3)))
3680 (define-public ghc-esqueleto
3682 (name "ghc-esqueleto")
3687 (uri (string-append "https://hackage.haskell.org/package/"
3688 "esqueleto/esqueleto-" version ".tar.gz"))
3691 "1qi28ma8j5kfygjxnixlazxsyrkdqv8ljz3icwqi5dlscsnj6v3v"))))
3692 (build-system haskell-build-system)
3694 `(#:haddock? #f ; Haddock reports an internal error.
3696 (modify-phases %standard-phases
3697 ;; This package normally runs tests for the MySQL, PostgreSQL, and
3698 ;; SQLite backends. Since we only have Haskell packages for
3699 ;; SQLite, we remove the other two test suites. FIXME: Add the
3700 ;; other backends and run all three test suites.
3701 (add-before 'configure 'remove-non-sqlite-test-suites
3703 (use-modules (ice-9 rdelim))
3704 (with-atomic-file-replacement "esqueleto.cabal"
3706 (let loop ((line (read-line in 'concat)) (deleting? #f))
3708 ((eof-object? line) #t)
3709 ((string-every char-set:whitespace line)
3710 (unless deleting? (display line out))
3711 (loop (read-line in 'concat) #f))
3712 ((member line '("test-suite mysql\n"
3713 "test-suite postgresql\n"))
3714 (loop (read-line in 'concat) #t))
3716 (unless deleting? (display line out))
3717 (loop (read-line in 'concat) deleting?)))))))))))
3719 `(("ghc-blaze-html" ,ghc-blaze-html)
3720 ("ghc-conduit" ,ghc-conduit)
3721 ("ghc-monad-logger" ,ghc-monad-logger)
3722 ("ghc-persistent" ,ghc-persistent)
3723 ("ghc-resourcet" ,ghc-resourcet)
3724 ("ghc-tagged" ,ghc-tagged)
3725 ("ghc-unliftio" ,ghc-unliftio)
3726 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3728 `(("ghc-hspec" ,ghc-hspec)
3729 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
3730 ("ghc-persistent-template" ,ghc-persistent-template)))
3731 (home-page "https://github.com/bitemyapp/esqueleto")
3732 (synopsis "Type-safe embedded domain specific language for SQL queries")
3733 (description "This library provides a type-safe embedded domain specific
3734 language (EDSL) for SQL queries that works with SQL backends as provided by
3735 @code{ghc-persistent}. Its language closely resembles SQL, so you don't have
3736 to learn new concepts, just new syntax, and it's fairly easy to predict the
3737 generated SQL and optimize it for your backend.")
3738 (license license:bsd-3)))
3740 (define-public ghc-exactprint
3742 (name "ghc-exactprint")
3748 "https://hackage.haskell.org/package/"
3749 "ghc-exactprint/ghc-exactprint-" version ".tar.gz"))
3752 "12nqpqmi9c57a3hgpfy8q073zryz66ylmcvf29hyffpj7vmmnvhl"))))
3753 (build-system haskell-build-system)
3755 `(("ghc-paths" ,ghc-paths)
3756 ("ghc-syb" ,ghc-syb)
3757 ("ghc-free" ,ghc-free)))
3759 `(("ghc-hunit" ,ghc-hunit)
3760 ("ghc-diff" ,ghc-diff)
3761 ("ghc-silently" ,ghc-silently)
3762 ("ghc-filemanip" ,ghc-filemanip)))
3764 "https://hackage.haskell.org/package/ghc-exactprint")
3765 (synopsis "ExactPrint for GHC")
3767 "Using the API Annotations available from GHC 7.10.2, this library
3768 provides a means to round-trip any code that can be compiled by GHC, currently
3769 excluding @file{.lhs} files.")
3770 (license license:bsd-3)))
3772 (define-public ghc-exceptions
3774 (name "ghc-exceptions")
3780 "https://hackage.haskell.org/package/exceptions/exceptions-"
3785 "1w25j4ys5s6v239vbqlbipm9fdwxl1j2ap2lzms7f7rgnik5ir24"))))
3786 (build-system haskell-build-system)
3788 `(("ghc-quickcheck" ,ghc-quickcheck)
3789 ("ghc-test-framework" ,ghc-test-framework)
3790 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3791 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3793 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
3794 (home-page "https://github.com/ekmett/exceptions/")
3795 (synopsis "Extensible optionally-pure exceptions")
3796 (description "This library provides extensible optionally-pure exceptions
3798 (license license:bsd-3)))
3800 (define-public ghc-executable-path
3802 (name "ghc-executable-path")
3806 (uri (string-append "https://hackage.haskell.org/package/"
3807 "executable-path/executable-path-"
3811 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
3812 (build-system haskell-build-system)
3813 (home-page "https://hackage.haskell.org/package/executable-path")
3814 (synopsis "Find out the full path of the executable")
3816 "The documentation of @code{System.Environment.getProgName} says that
3817 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
3818 instead, for maximum portability, we just return the leafname of the program
3819 as invoked.\" This library tries to provide the missing path.")
3820 (license license:public-domain)))
3822 (define-public ghc-extensible-exceptions
3824 (name "ghc-extensible-exceptions")
3829 (uri (string-append "https://hackage.haskell.org/package/"
3830 "extensible-exceptions/extensible-exceptions-"
3833 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
3834 (build-system haskell-build-system)
3835 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
3836 (synopsis "Extensible exceptions for Haskell")
3838 "This package provides extensible exceptions for both new and old
3839 versions of GHC (i.e., < 6.10).")
3840 (license license:bsd-3)))
3842 (define-public ghc-extra
3850 "https://hackage.haskell.org/package/extra/extra-"
3855 "1gjx98w4w61g043k6rzc8i34cbxpcigi8lb6i7pp1vwp8w8jm5vl"))))
3856 (build-system haskell-build-system)
3858 `(("ghc-clock" ,ghc-clock)
3859 ("ghc-semigroups" ,ghc-semigroups)
3860 ("ghc-quickcheck" ,ghc-quickcheck)
3861 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
3862 (home-page "https://github.com/ndmitchell/extra")
3863 (synopsis "Extra Haskell functions")
3864 (description "This library provides extra functions for the standard
3865 Haskell libraries. Most functions are simple additions, filling out missing
3866 functionality. A few functions are available in later versions of GHC, but
3867 this package makes them available back to GHC 7.2.")
3868 (license license:bsd-3)))
3870 (define-public ghc-fail
3877 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
3880 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
3881 (build-system haskell-build-system)
3882 (arguments `(#:haddock? #f)) ; Package contains no documentation.
3883 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
3884 (synopsis "Forward-compatible MonadFail class")
3886 "This package contains the @code{Control.Monad.Fail} module providing the
3887 @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
3888 class that became available in
3889 @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
3890 older @code{base} package versions. This package turns into an empty package
3891 when used with GHC versions which already provide the
3892 @code{Control.Monad.Fail} module.")
3893 (license license:bsd-3)))
3895 (define-public ghc-fast-logger
3897 (name "ghc-fast-logger")
3903 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
3908 "02mxb1ckvx1s2r2m11l5i2l5rdl7232p0f61af6773haykjp0qxk"))))
3909 (build-system haskell-build-system)
3911 `(("ghc-auto-update" ,ghc-auto-update)
3912 ("ghc-easy-file" ,ghc-easy-file)
3913 ("ghc-unix-time" ,ghc-unix-time)
3914 ("ghc-unix-compat" ,ghc-unix-compat)))
3916 `(("hspec-discover" ,hspec-discover)
3917 ("ghc-hspec" ,ghc-hspec)))
3918 (home-page "https://hackage.haskell.org/package/fast-logger")
3919 (synopsis "Fast logging system")
3920 (description "This library provides a fast logging system for Haskell.")
3921 (license license:bsd-3)))
3923 (define-public ghc-feed
3930 (uri (string-append "https://hackage.haskell.org/package/"
3931 "feed/feed-" version ".tar.gz"))
3934 "004lwdng4slj6yl8mgscr3cgj0zzc8hzkf4450dby2l6cardg4w0"))))
3935 (build-system haskell-build-system)
3937 `(("ghc-base-compat" ,ghc-base-compat)
3938 ("ghc-old-locale" ,ghc-old-locale)
3939 ("ghc-old-time" ,ghc-old-time)
3940 ("ghc-safe" ,ghc-safe)
3941 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
3942 ("ghc-utf8-string" ,ghc-utf8-string)
3943 ("ghc-xml-conduit" ,ghc-xml-conduit)
3944 ("ghc-xml-types" ,ghc-xml-types)))
3946 `(("ghc-hunit" ,ghc-hunit)
3947 ("ghc-markdown-unlit" ,ghc-markdown-unlit)
3948 ("ghc-test-framework" ,ghc-test-framework)
3949 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3950 (home-page "https://github.com/bergmark/feed")
3951 (synopsis "Haskell package for handling various syndication formats")
3952 (description "This Haskell package includes tools for generating and
3953 consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
3954 (license license:bsd-3)))
3956 (define-public ghc-fgl
3960 (outputs '("out" "doc"))
3965 "https://hackage.haskell.org/package/fgl/fgl-"
3970 "04793yh778ck3kz1z2svnfdwwls2kisbnky4lzvf4zjfgpv7mkpz"))))
3971 (build-system haskell-build-system)
3974 (modify-phases %standard-phases
3975 (add-before 'configure 'update-constraints
3977 (substitute* "fgl.cabal"
3978 (("QuickCheck >= 2\\.8 && < 2\\.13")
3979 "QuickCheck >= 2.8 && < 2.14")
3980 (("hspec >= 2\\.1 && < 2\\.7")
3981 "hspec >= 2.1 && < 2.8")))))))
3983 `(("ghc-hspec" ,ghc-hspec)
3984 ("ghc-quickcheck" ,ghc-quickcheck)))
3985 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3987 "Martin Erwig's Functional Graph Library")
3988 (description "The functional graph library, FGL, is a collection of type
3989 and function definitions to address graph problems. The basis of the library
3990 is an inductive definition of graphs in the style of algebraic data types that
3991 encourages inductive, recursive definitions of graph algorithms.")
3992 (license license:bsd-3)))
3994 (define-public ghc-fgl-arbitrary
3996 (name "ghc-fgl-arbitrary")
4002 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
4006 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
4007 (build-system haskell-build-system)
4010 (modify-phases %standard-phases
4011 (add-before 'configure 'update-constraints
4013 (substitute* "fgl-arbitrary.cabal"
4014 (("QuickCheck >= 2\\.3 && < 2\\.10")
4015 "QuickCheck >= 2.3 && < 2.14")
4016 (("hspec >= 2\\.1 && < 2\\.5")
4017 "hspec >= 2.1 && < 2.8")))))))
4019 `(("ghc-fgl" ,ghc-fgl)
4020 ("ghc-quickcheck" ,ghc-quickcheck)
4021 ("ghc-hspec" ,ghc-hspec)))
4022 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
4023 (synopsis "QuickCheck support for fgl")
4025 "Provides Arbitrary instances for fgl graphs to avoid adding a
4026 QuickCheck dependency for fgl whilst still making the instances
4027 available to others. Also available are non-fgl-specific functions
4028 for generating graph-like data structures.")
4029 (license license:bsd-3)))
4031 (define-public ghc-file-embed
4033 (name "ghc-file-embed")
4038 (uri (string-append "https://hackage.haskell.org/package/file-embed/"
4039 "file-embed-" version ".tar.gz"))
4042 "0l6dkwccbzzyx8rcav03lya2334dgi3vfwk96h7l93l0fc4x19gf"))))
4043 (build-system haskell-build-system)
4044 (home-page "https://github.com/snoyberg/file-embed")
4045 (synopsis "Use Template Haskell to embed file contents directly")
4047 "This package allows you to use Template Haskell to read a file or all
4048 the files in a directory, and turn them into @code{(path, bytestring)} pairs
4049 embedded in your Haskell code.")
4050 (license license:bsd-3)))
4052 (define-public ghc-filemanip
4054 (name "ghc-filemanip")
4058 (uri (string-append "https://hackage.haskell.org/package/"
4059 "filemanip/filemanip-" version ".tar.gz"))
4062 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
4063 (build-system haskell-build-system)
4065 `(("ghc-unix-compat" ,ghc-unix-compat)))
4066 (home-page "https://github.com/bos/filemanip")
4067 (synopsis "File and directory manipulation for Haskell")
4069 "This package provides a Haskell library for working with files and
4070 directories. It includes code for pattern matching, finding files, modifying
4071 file contents, and more.")
4072 (license license:bsd-3)))
4074 (define-public ghc-filepath-bytestring
4076 (name "ghc-filepath-bytestring")
4077 (version "1.4.2.1.1")
4082 "https://hackage.haskell.org/package/filepath-bytestring/"
4083 "filepath-bytestring-" version ".tar.gz"))
4086 "06shdskjj391hb9295slm9gg2rbn5fdq5v6fg0mgn3yl5dv8q5dx"))))
4087 (build-system haskell-build-system)
4089 `(("ghc-quickcheck" ,ghc-quickcheck)))
4090 (home-page "https://hackage.haskell.org/package/filepath-bytestring")
4091 (synopsis "Library for manipulating RawFilePaths in a cross-platform way")
4092 (description "This package provides a drop-in replacement for the standard
4093 @code{filepath} library, operating on @code{RawFilePath} values rather than
4094 @code{FilePath} values to get the speed benefits of using @code{ByteStrings}.")
4095 (license license:bsd-3)))
4097 (define-public ghc-findbin
4099 (name "ghc-findbin")
4105 "https://hackage.haskell.org/package/FindBin/FindBin-"
4109 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
4110 (build-system haskell-build-system)
4111 (home-page "https://github.com/audreyt/findbin")
4112 (synopsis "Get the absolute path of the running program")
4114 "This module locates the full directory of the running program, to allow
4115 the use of paths relative to it. FindBin supports invocation of Haskell
4116 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
4118 (license license:bsd-3)))
4120 (define-public ghc-fingertree
4122 (name "ghc-fingertree")
4128 "https://hackage.haskell.org/package/fingertree/fingertree-"
4132 "0zvandj8fysck7ygpn0dw5bhrhmj1s63i326nalxbfkh2ls4iacm"))))
4133 (build-system haskell-build-system)
4135 `(("ghc-hunit" ,ghc-hunit)
4136 ("ghc-quickcheck" ,ghc-quickcheck)
4137 ("ghc-test-framework" ,ghc-test-framework)
4138 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4139 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4140 (home-page "https://hackage.haskell.org/package/fingertree")
4141 (synopsis "Generic finger-tree structure")
4142 (description "This library provides finger trees, a general sequence
4143 representation with arbitrary annotations, for use as a base for
4144 implementations of various collection types. It includes examples, as
4145 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4146 simple general-purpose data structure\".")
4147 (license license:bsd-3)))
4149 (define-public ghc-fixed
4156 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
4160 "10l2sh179xarb774q92cff2gkb20rsrlilfwp1fk61rzmz9yn64j"))))
4161 (build-system haskell-build-system)
4162 (home-page "https://github.com/ekmett/fixed")
4163 (synopsis "Signed 15.16 precision fixed point arithmetic")
4165 "This package provides functions for signed 15.16 precision fixed point
4167 (license license:bsd-3)))
4169 (define-public ghc-fmlist
4178 "https://hackage.haskell.org/package/fmlist/fmlist-"
4182 "1w9nhm2zybdx4c1lalkajwqr8wcs731lfjld2r8gknd7y96x8pwf"))))
4183 (build-system haskell-build-system)
4184 (home-page "https://github.com/sjoerdvisscher/fmlist")
4185 (synopsis "FoldMap lists")
4186 (description "FoldMap lists are lists represented by their
4187 @code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and
4188 append, just like DLists, but other operations might have favorable
4189 performance characteristics as well. These wild claims are still
4190 completely unverified though.")
4191 (license license:bsd-3)))
4193 (define-public ghc-foldl
4200 (uri (string-append "https://hackage.haskell.org/package/"
4201 "foldl-" version "/"
4202 "foldl-" version ".tar.gz"))
4205 "19qjmzc7gaxfwgqbgy0kq4vhbxvh3qjnwsxnc7pzwws2if5bv80b"))))
4206 (build-system haskell-build-system)
4207 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
4208 ("ghc-primitive" ,ghc-primitive)
4209 ("ghc-vector" ,ghc-vector)
4210 ("ghc-unordered-containers" ,ghc-unordered-containers)
4211 ("ghc-hashable" ,ghc-hashable)
4212 ("ghc-contravariant" ,ghc-contravariant)
4213 ("ghc-semigroups" ,ghc-semigroups)
4214 ("ghc-profunctors" ,ghc-profunctors)
4215 ("ghc-semigroupoids" ,ghc-semigroupoids)
4216 ("ghc-comonad" ,ghc-comonad)
4217 ("ghc-vector-builder" ,ghc-vector-builder)))
4218 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
4219 (synopsis "Composable, streaming, and efficient left folds for Haskell")
4220 (description "This Haskell library provides strict left folds that stream
4221 in constant memory, and you can combine folds using @code{Applicative} style
4222 to derive new folds. Derived folds still traverse the container just once
4223 and are often as efficient as hand-written folds.")
4224 (license license:bsd-3)))
4226 (define-public ghc-foundation
4228 (name "ghc-foundation")
4233 (uri (string-append "https://hackage.haskell.org/package/"
4234 "foundation/foundation-" version ".tar.gz"))
4237 "0q6kx57ygmznlpf8n499hid4x6mj3180paijx0a8dgi9hh7man61"))))
4238 (build-system haskell-build-system)
4241 (modify-phases %standard-phases
4242 ;; This test is broken. For details, see
4243 ;; https://github.com/haskell-foundation/foundation/issues/530
4244 (add-after 'unpack 'patch-tests
4246 (substitute* "tests/Test/Foundation/Number.hs"
4247 ((", testDividible proxy") ""))
4249 (inputs `(("ghc-basement" ,ghc-basement)))
4250 (home-page "https://github.com/haskell-foundation/foundation")
4251 (synopsis "Alternative prelude with batteries and no dependencies")
4253 "This package provides a custom prelude with no dependencies apart from
4256 Foundation has the following goals:
4259 @item provide a base like sets of modules that provide a consistent set of
4260 features and bugfixes across multiple versions of GHC (unlike base).
4261 @item provide a better and more efficient prelude than base's prelude.
4262 @item be self-sufficient: no external dependencies apart from base;
4263 @item provide better data-types: packed unicode string by default, arrays;
4264 @item Numerical classes that better represent mathematical things (no more
4265 all-in-one @code{Num});
4266 @item I/O system with less lazy IO.
4268 (license license:bsd-3)))
4270 (define-public ghc-free
4278 "https://hackage.haskell.org/package/free/free-"
4283 "0vlf3f2ckl3cr7z2zl8c9c8qkdlfgvmh04gxkp2fg0z9dz80nlyb"))))
4284 (build-system haskell-build-system)
4286 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4287 ("ghc-profunctors" ,ghc-profunctors)
4288 ("ghc-exceptions" ,ghc-exceptions)
4289 ("ghc-bifunctors" ,ghc-bifunctors)
4290 ("ghc-comonad" ,ghc-comonad)
4291 ("ghc-distributive" ,ghc-distributive)
4292 ("ghc-semigroupoids" ,ghc-semigroupoids)
4293 ("ghc-semigroups" ,ghc-semigroups)
4294 ("ghc-transformers-base" ,ghc-transformers-base)
4295 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4296 (home-page "https://github.com/ekmett/free/")
4297 (synopsis "Unrestricted monads for Haskell")
4298 (description "This library provides free monads, which are useful for many
4299 tree-like structures and domain specific languages. If @code{f} is a
4300 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4301 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4302 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4303 f} makes no constraining assumptions beyond those given by @code{f} and the
4304 definition of @code{Monad}.")
4305 (license license:bsd-3)))
4307 (define-public ghc-fsnotify
4309 (name "ghc-fsnotify")
4314 "https://hackage.haskell.org/package/fsnotify/"
4315 "fsnotify-" version ".tar.gz"))
4318 "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny"))))
4319 (build-system haskell-build-system)
4321 `(("ghc-async" ,ghc-async)
4322 ("ghc-unix-compat" ,ghc-unix-compat)
4323 ("ghc-hinotify" ,ghc-hinotify)
4324 ("ghc-tasty" ,ghc-tasty)
4325 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4326 ("ghc-random" ,ghc-random)
4327 ("ghc-shelly" ,ghc-shelly)
4328 ("ghc-temporary" ,ghc-temporary)))
4329 (home-page "https://github.com/haskell-fswatch/hfsnotify")
4330 (synopsis "Cross platform library for file change notification.")
4331 (description "Cross platform library for file creation, modification, and
4332 deletion notification. This library builds upon existing libraries for platform
4333 specific Windows, Mac, and Linux file system event notification.")
4334 (license license:bsd-3)))
4336 (define-public ghc-generic-deriving
4338 (name "ghc-generic-deriving")
4344 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
4349 "0vdg9qdq35jl3m11a87wk8cq1y71qm4i1g1b2pxki0wk70yw20a4"))))
4350 (build-system haskell-build-system)
4352 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
4354 `(("ghc-hspec" ,ghc-hspec)
4355 ("hspec-discover" ,hspec-discover)))
4356 (home-page "https://hackage.haskell.org/package/generic-deriving")
4357 (synopsis "Generalise the deriving mechanism to arbitrary classes")
4358 (description "This package provides functionality for generalising the
4359 deriving mechanism in Haskell to arbitrary classes.")
4360 (license license:bsd-3)))
4362 (define-public ghc-generics-sop
4364 (name "ghc-generics-sop")
4369 (uri (string-append "https://hackage.haskell.org/package/"
4370 "generics-sop-" version "/"
4371 "generics-sop-" version ".tar.gz"))
4374 "160knr2phnzh2gldfv954lz029jzc7y8kz5xpmbf4z3vb5ngm6fw"))))
4375 (build-system haskell-build-system)
4377 `(("ghc-sop-core" ,ghc-sop-core)
4378 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4379 (home-page "https://github.com/well-typed/generics-sop")
4380 (synopsis "Generic Programming using True Sums of Products for Haskell")
4381 (description "This Haskell package supports the definition of generic
4382 functions. Datatypes are viewed in a uniform, structured way: the choice
4383 between constructors is represented using an n-ary sum, and the arguments of
4384 each constructor are represented using an n-ary product.")
4385 (license license:bsd-3)))
4387 (define-public ghc-geniplate-mirror
4389 (name "ghc-geniplate-mirror")
4394 (uri (string-append "https://hackage.haskell.org/package"
4396 "/geniplate-mirror-" version ".tar.gz"))
4398 (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb"))))
4399 (build-system haskell-build-system)
4402 ("2" "03fg4vfm1wgq4mylggawdx0bfvbbjmdn700sqx7v3hk1bx0kjfzh")))
4403 (home-page "https://github.com/danr/geniplate")
4404 (synopsis "Use Template Haskell to generate Uniplate-like functions")
4406 "Use Template Haskell to generate Uniplate-like functions. This is a
4407 maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
4408 geniplate} package, written by Lennart Augustsson.")
4409 (license license:bsd-3)))
4411 (define-public ghc-genvalidity
4413 (name "ghc-genvalidity")
4419 "https://hackage.haskell.org/package/genvalidity/genvalidity-"
4424 "0w38aq9hfyymidncgkrs6yvja7j573d9sap5qfg5rz910fhsij9a"))))
4425 (build-system haskell-build-system)
4427 `(("ghc-quickcheck" ,ghc-quickcheck)
4428 ("ghc-validity" ,ghc-validity)))
4430 `(("ghc-hspec" ,ghc-hspec)
4431 ("hspec-discover" ,hspec-discover)
4432 ("ghc-hspec-core" ,ghc-hspec-core)))
4434 "https://github.com/NorfairKing/validity")
4436 "Testing utilities for the @code{validity} library")
4438 "This package provides testing utilities that are useful in conjunction
4439 with the @code{Validity} typeclass.")
4440 (license license:expat)))
4442 (define-public ghc-genvalidity-property
4444 (name "ghc-genvalidity-property")
4450 "https://hackage.haskell.org/package/"
4451 "genvalidity-property/genvalidity-property-"
4456 "0zayycx62226w54rvkxwhvqhznsr33dk3ds55yyqrfqbnhvph1s9"))))
4457 (build-system haskell-build-system)
4459 `(("ghc-quickcheck" ,ghc-quickcheck)
4460 ("ghc-genvalidity" ,ghc-genvalidity)
4461 ("ghc-hspec" ,ghc-hspec)
4462 ("hspec-discover" ,hspec-discover)
4463 ("ghc-validity" ,ghc-validity)))
4464 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
4466 "https://github.com/NorfairKing/validity")
4468 "Standard properties for functions on @code{Validity} types")
4470 "This package supplements the @code{Validity} typeclass with standard
4471 properties for functions operating on them.")
4472 (license license:expat)))
4474 (define-public ghc-getopt-generics
4476 (name "ghc-getopt-generics")
4477 (version "0.13.0.4")
4481 (uri (string-append "https://hackage.haskell.org/package/"
4482 "getopt-generics/getopt-generics-"
4486 "1rszkcn1rg38wf35538ljk5bbqjc57y9sb3a0al7qxm82gy8yigr"))))
4487 (build-system haskell-build-system)
4489 `(("ghc-base-compat" ,ghc-base-compat)
4490 ("ghc-base-orphans" ,ghc-base-orphans)
4491 ("ghc-generics-sop" ,ghc-generics-sop)
4492 ("ghc-tagged" ,ghc-tagged)))
4494 `(("ghc-quickcheck" ,ghc-quickcheck)
4495 ("ghc-hspec" ,ghc-hspec)
4496 ("ghc-safe" ,ghc-safe)
4497 ("ghc-silently" ,ghc-silently)
4498 ("hspec-discover" ,hspec-discover)))
4499 (home-page "https://github.com/soenkehahn/getopt-generics")
4500 (synopsis "Create command line interfaces with ease")
4501 (description "This library provides tools to create command line
4502 interfaces with ease.")
4503 (license license:bsd-3)))
4505 (define-public ghc-gitrev
4512 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
4515 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
4516 (build-system haskell-build-system)
4517 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
4518 (home-page "https://github.com/acfoltzer/gitrev")
4519 (synopsis "Compile git revision info into Haskell projects")
4521 "This package provides some handy Template Haskell splices for including
4522 the current git hash and branch in the code of your project. This is useful
4523 for including in panic messages, @command{--version} output, or diagnostic
4524 info for more informative bug reports.")
4525 (license license:bsd-3)))
4527 (define-public ghc-glob
4534 (uri (string-append "https://hackage.haskell.org/package/"
4536 "Glob-" version ".tar.gz"))
4539 "0953f91f62ncna402vsrfzdcyxhdpjna3bgdw017kad0dfymacs7"))))
4540 (build-system haskell-build-system)
4542 `(("ghc-dlist" ,ghc-dlist)
4543 ("ghc-semigroups" ,ghc-semigroups)
4544 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4546 `(("ghc-hunit" ,ghc-hunit)
4547 ("ghc-quickcheck" ,ghc-quickcheck)
4548 ("ghc-test-framework" ,ghc-test-framework)
4549 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4550 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4551 (home-page "http://iki.fi/matti.niemenmaa/glob/")
4552 (synopsis "Haskell library matching glob patterns against file paths")
4553 (description "This package provides a Haskell library for @dfn{globbing}:
4554 matching patterns against file paths.")
4555 (license license:bsd-3)))
4557 (define-public ghc-gluraw
4565 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
4570 "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq"))))
4571 (build-system haskell-build-system)
4573 `(("ghc-openglraw" ,ghc-openglraw)))
4574 (home-page "https://www.haskell.org/haskellwiki/Opengl")
4575 (synopsis "Raw Haskell bindings GLU")
4576 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
4577 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
4578 basis for a nicer interface.")
4579 (license license:bsd-3)))
4581 (define-public ghc-glut
4584 (version "2.7.0.15")
4589 "https://hackage.haskell.org/package/GLUT/GLUT-"
4594 "0271vnf6wllhxjwy0m348x90kv27aybxcbqkkglmd5w4cpwjg5g9"))))
4595 (build-system haskell-build-system)
4597 `(("ghc-statevar" ,ghc-statevar)
4598 ("ghc-opengl" ,ghc-opengl)
4599 ("ghc-openglraw" ,ghc-openglraw)
4600 ("freeglut" ,freeglut)))
4601 (home-page "https://www.haskell.org/haskellwiki/Opengl")
4602 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
4603 (description "This library provides Haskell bindings for the OpenGL
4604 Utility Toolkit, a window system-independent toolkit for writing OpenGL
4606 (license license:bsd-3)))
4608 (define-public ghc-gnuplot
4610 (name "ghc-gnuplot")
4616 "mirror://hackage/package/gnuplot/gnuplot-"
4619 (base32 "1g6xgnlkh17avivn1rlq7l2nvs26dvrbx4rkfld0bf6kyqaqwrgp"))))
4620 (build-system haskell-build-system)
4622 `(("ghc-temporary" ,ghc-temporary)
4623 ("ghc-utility-ht" ,ghc-utility-ht)
4624 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
4625 ("ghc-data-accessor" ,ghc-data-accessor)
4626 ("ghc-semigroups" ,ghc-semigroups)
4627 ("gnuplot" ,gnuplot)))
4630 (modify-phases %standard-phases
4631 (add-before 'configure 'fix-path-to-gnuplot
4632 (lambda* (#:key inputs #:allow-other-keys)
4633 (let ((gnuplot (assoc-ref inputs "gnuplot")))
4634 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
4635 (("(gnuplotName = ).*$" all cmd)
4636 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
4637 (home-page "https://www.haskell.org/haskellwiki/Gnuplot")
4638 (synopsis "2D and 3D plots using gnuplot")
4639 (description "This package provides a Haskell module for creating 2D and
4640 3D plots using gnuplot.")
4641 (license license:bsd-3)))
4643 (define-public ghc-graphviz
4645 (name "ghc-graphviz")
4646 (version "2999.20.0.3")
4649 (uri (string-append "https://hackage.haskell.org/package/"
4650 "graphviz/graphviz-" version ".tar.gz"))
4653 "04k26zw61nfv1pkd00iaq89pgsaiym0sf4cbzkmm2k2fj5xa587g"))))
4654 (build-system haskell-build-system)
4657 (modify-phases %standard-phases
4658 (add-before 'configure 'update-constraints
4660 (substitute* "graphviz.cabal"
4661 (("QuickCheck >= 2\\.3 && < 2\\.13")
4662 "QuickCheck >= 2.3 && < 2.14")
4663 (("hspec >= 2\\.1 && < 2\\.7")
4664 "hspec >= 2.1 && < 2.8")))))))
4666 `(("ghc-quickcheck" ,ghc-quickcheck)
4667 ("ghc-colour" ,ghc-colour)
4668 ("ghc-dlist" ,ghc-dlist)
4669 ("ghc-fgl" ,ghc-fgl)
4670 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
4671 ("ghc-polyparse" ,ghc-polyparse)
4672 ("ghc-temporary" ,ghc-temporary)
4673 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
4675 `(("ghc-hspec" ,ghc-hspec)
4676 ("graphviz" ,graphviz)
4677 ("hspec-discover" ,hspec-discover)))
4678 (home-page "https://hackage.haskell.org/package/graphviz")
4679 (synopsis "Bindings to Graphviz for graph visualisation")
4681 "This library provides bindings for the Dot language used by
4682 the @uref{https://graphviz.org/, Graphviz} suite of programs for
4683 visualising graphs, as well as functions to call those programs.
4684 Main features of the graphviz library include:
4687 @item Almost complete coverage of all Graphviz attributes and syntax
4688 @item Support for specifying clusters
4689 @item The ability to use a custom node type
4690 @item Functions for running a Graphviz layout tool with all specified output types
4691 @item Generate and parse Dot code with two options: strict and liberal
4692 @item Functions to convert FGL graphs and other graph-like data structures
4693 @item Round-trip support for passing an FGL graph through Graphviz to augment node
4694 and edge labels with positional information, etc.
4696 (license license:bsd-3)))
4698 (define-public ghc-groups
4705 (uri (string-append "https://hackage.haskell.org/package/"
4706 "groups/groups-" version ".tar.gz"))
4709 "0ggkygkyxw5ga4cza82bjvdraavl294k0h6b62d2px7z3nvqhifx"))))
4710 (build-system haskell-build-system)
4711 (home-page "https://hackage.haskell.org/package/groups")
4712 (synopsis "Haskell 98 groups")
4713 (description "This package provides Haskell 98 groups. A group is a
4714 monoid with invertibility.")
4715 (license license:bsd-3)))
4717 (define-public ghc-gtk2hs-buildtools
4719 (name "ghc-gtk2hs-buildtools")
4720 (version "0.13.5.4")
4724 (uri (string-append "https://hackage.haskell.org/package/"
4725 "gtk2hs-buildtools/gtk2hs-buildtools-"
4729 "1flxsacxwmabzzalhn8558kmj95z01c0lmikrn56nxh7p62nxm25"))))
4730 (build-system haskell-build-system)
4732 `(("ghc-random" ,ghc-random)
4733 ("ghc-hashtables" ,ghc-hashtables)))
4735 `(("ghc-alex" ,ghc-alex)
4736 ("ghc-happy" ,ghc-happy)))
4737 (home-page "http://projects.haskell.org/gtk2hs/")
4738 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
4740 "This package provides a set of helper programs necessary to build the
4741 Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
4742 that is used to generate FFI declarations, a tool to build a type hierarchy
4743 that mirrors the C type hierarchy of GObjects found in glib, and a generator
4744 for signal declarations that are used to call back from C to Haskell. These
4745 tools are not needed to actually run Gtk2Hs programs.")
4746 (license license:gpl2)))
4748 (define-public ghc-hackage-security
4750 (name "ghc-hackage-security")
4755 (uri (string-append "https://hackage.haskell.org/package/"
4756 "hackage-security/hackage-security-"
4760 "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v"))))
4761 (build-system haskell-build-system)
4764 ("6" "1xs2nkzlvkdz8g27yzfxbjdbdadfmgiydnlpn5dm77cg18r495ay")
4765 #:tests? #f)) ; Tests fail because of framework updates.
4767 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
4768 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
4769 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
4770 ("ghc-ed25519" ,ghc-ed25519)
4771 ("ghc-network" ,ghc-network)
4772 ("ghc-network-uri" ,ghc-network-uri)
4773 ("ghc-tar" ,ghc-tar)
4774 ("ghc-zlib" ,ghc-zlib)))
4776 `(("ghc-network-uri" ,ghc-network-uri)
4777 ("ghc-quickcheck" ,ghc-quickcheck)
4778 ("ghc-tar" ,ghc-tar)
4779 ("ghc-tasty" ,ghc-tasty)
4780 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4781 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
4782 ("ghc-temporary" ,ghc-temporary)
4783 ("ghc-zlib" ,ghc-zlib)))
4784 (home-page "https://github.com/haskell/hackage-security")
4785 (synopsis "Hackage security library")
4786 (description "This Hackage security library provides both server and
4787 client utilities for securing @uref{http://hackage.haskell.org/, the
4788 Hackage package server}. It is based on
4789 @uref{http://theupdateframework.com/, The Update Framework}, a set of
4790 recommendations developed by security researchers at various universities
4791 in the US as well as developers on the @uref{https://www.torproject.org/,
4793 (license license:bsd-3)))
4795 (define-public ghc-haddock
4797 (name "ghc-haddock")
4803 "https://hackage.haskell.org/package/haddock/haddock-"
4808 "1k42z2zh550rl93c8pa9cg2xsanp6wvb031xvan6cmngnplmdib6"))))
4809 (build-system haskell-build-system)
4812 (modify-phases %standard-phases
4813 ;; The release tarball for 2.22.0 is missing the test data for
4814 ;; the Hoogle test, causing it to fail. This is fixed in the
4815 ;; next release, but for now we disable it.
4816 (add-before 'configure 'remove-hoogle-test
4818 (use-modules (ice-9 rdelim))
4819 (with-atomic-file-replacement "haddock.cabal"
4821 (let loop ((line (read-line in 'concat)) (deleting? #f))
4823 ((eof-object? line) #t)
4824 ((string-every char-set:whitespace line)
4825 (unless deleting? (display line out))
4826 (loop (read-line in 'concat) #f))
4827 ((string=? line "test-suite hoogle-test\n")
4828 (loop (read-line in 'concat) #t))
4830 (unless deleting? (display line out))
4831 (loop (read-line in 'concat) deleting?))))))))
4832 (add-before 'check 'add-haddock-to-path
4834 (setenv "PATH" (string-append (getcwd) "/dist/build/haddock"
4835 ":" (getenv "PATH")))
4837 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
4839 `(("ghc-haddock-test" ,ghc-haddock-test)
4840 ("ghc-hspec" ,ghc-hspec)))
4841 (home-page "https://www.haskell.org/haddock/")
4843 "Documentation-generation tool for Haskell libraries")
4845 "Haddock is a documentation-generation tool for Haskell libraries.")
4846 (license license:bsd-3)))
4848 (define-public ghc-haddock-api
4850 (name "ghc-haddock-api")
4856 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
4859 (patches (search-patches "ghc-haddock-api-fix-haddock.patch"))
4862 "149q4zlf4m7wcrr4af2n2flh0jxjsypshbc229vsj1m0kmz4z014"))))
4863 (build-system haskell-build-system)
4866 (modify-phases %standard-phases
4867 (add-before 'configure 'update-constraints
4869 (substitute* "haddock-api.cabal"
4870 (("QuickCheck \\^>= 2\\.11")
4871 "QuickCheck ^>= 2.13")
4872 (("hspec >= 2\\.4\\.4 && < 2\\.6")
4873 "hspec >= 2.4.4 && < 2.8")))))))
4875 `(("ghc-paths" ,ghc-paths)
4876 ("ghc-haddock-library" ,ghc-haddock-library)))
4878 `(("ghc-quickcheck" ,ghc-quickcheck)
4879 ("ghc-hspec" ,ghc-hspec)
4880 ("hspec-discover" ,hspec-discover)))
4881 (home-page "https://www.haskell.org/haddock/")
4882 (synopsis "API for documentation-generation tool Haddock")
4883 (description "This package provides an API to Haddock, the
4884 documentation-generation tool for Haskell libraries.")
4885 (license license:bsd-3)))
4887 (define-public ghc-haddock-library
4889 (name "ghc-haddock-library")
4895 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
4900 "04fhcjk0pvsaqvsgp2w06cv2qvshq1xs1bwc157q4lmkgr57khp7"))))
4901 (build-system haskell-build-system)
4904 (modify-phases %standard-phases
4905 ;; Since there is no revised Cabal file upstream, we have to
4906 ;; patch it manually.
4907 (add-before 'configure 'relax-test-suite-dependencies
4909 (substitute* "haddock-library.cabal"
4910 (("hspec\\s*>= 2.4.4 && < 2.6") "hspec")
4911 (("QuickCheck\\s*\\^>= 2.11") "QuickCheck"))
4914 `(("ghc-base-compat" ,ghc-base-compat)
4915 ("ghc-hspec" ,ghc-hspec)
4916 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
4917 ("ghc-quickcheck" ,ghc-quickcheck)
4918 ("ghc-tree-diff" ,ghc-tree-diff)
4919 ("hspec-discover" ,hspec-discover)))
4920 (home-page "https://www.haskell.org/haddock/")
4921 (synopsis "Library exposing some functionality of Haddock")
4923 "Haddock is a documentation-generation tool for Haskell libraries. These
4924 modules expose some functionality of it without pulling in the GHC dependency.
4925 Please note that the API is likely to change so specify upper bounds in your
4926 project if you can't release often. For interacting with Haddock itself, see
4927 the ‘haddock’ package.")
4928 (license license:bsd-3)))
4930 ;; This package is needed for testing 'ghc-haddock'. It is no longer
4931 ;; published to Hackage, but it is maintained in the Haddock Git
4933 (define ghc-haddock-test
4935 (name "ghc-haddock-test")
4941 (url "https://github.com/haskell/haddock.git")
4942 (commit (string-append "haddock-" version "-release"))))
4943 (file-name (git-file-name name version))
4946 "1ywxmqqan10gs0ppybdmdgsmvkzkpw7yirj2rw4qylg3x49a9zca"))))
4947 (build-system haskell-build-system)
4950 (modify-phases %standard-phases
4951 (add-after 'unpack 'change-directory
4953 (chdir "haddock-test"))))))
4955 `(("ghc-syb" ,ghc-syb)
4956 ("ghc-xml" ,ghc-xml)))
4957 (home-page "http://www.haskell.org/haddock/")
4958 (synopsis "Test utilities for Haddock")
4959 (description "This package provides test utilities for Haddock.")
4960 (license license:bsd-3)
4961 (properties '((hidden? #t)))))
4963 (define-public ghc-half
4971 "https://hackage.haskell.org/package/half/half-"
4975 "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6"))))
4976 (build-system haskell-build-system)
4978 `(("ghc-hspec" ,ghc-hspec)
4979 ("ghc-quickcheck" ,ghc-quickcheck)))
4980 (home-page "https://github.com/ekmett/half")
4981 (synopsis "Half-precision floating-point computations")
4982 (description "This library provides a half-precision floating-point
4983 computation library for Haskell.")
4984 (license license:bsd-3)))
4986 (define-public ghc-happy
4994 "https://hackage.haskell.org/package/happy/happy-"
4999 "03xlmq6qmdx4zvzw8bp33kd9g7yvcq5cz4wg50xilw812kj276pv"))))
5000 (build-system haskell-build-system)
5003 (modify-phases %standard-phases
5004 (add-after 'unpack 'skip-test-issue93
5006 ;; Tests run out of memory on a system with 2GB of available RAM,
5007 ;; in 'issue93.a.hs' and 'issue93.n.hs'.
5008 (substitute* "tests/Makefile"
5009 ((" issue93.y ") " "))
5011 (home-page "https://hackage.haskell.org/package/happy")
5012 (synopsis "Parser generator for Haskell")
5013 (description "Happy is a parser generator for Haskell. Given a grammar
5014 specification in BNF, Happy generates Haskell code to parse the grammar.
5015 Happy works in a similar way to the yacc tool for C.")
5016 (license license:bsd-3)))
5018 (define-public ghc-hashable
5020 (name "ghc-hashable")
5022 (outputs '("out" "doc"))
5027 "https://hackage.haskell.org/package/hashable/hashable-"
5032 "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc"))))
5033 (build-system haskell-build-system)
5036 ("1" "197063dpl0wn67dp7a06yc2hxp81n24ykk7klbjx0fndm5n87dh3")))
5038 `(("ghc-random" ,ghc-random)))
5040 `(("ghc-test-framework" ,ghc-test-framework)
5041 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5042 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5043 ("ghc-hunit" ,ghc-hunit)
5044 ("ghc-quickcheck" ,ghc-quickcheck)))
5045 (home-page "https://github.com/tibbe/hashable")
5046 (synopsis "Class for types that can be converted to a hash value")
5048 "This package defines a class, @code{Hashable}, for types that can be
5049 converted to a hash value. This class exists for the benefit of hashing-based
5050 data structures. The package provides instances for basic types and a way to
5051 combine hash values.")
5052 (license license:bsd-3)))
5054 (define-public ghc-hashable-bootstrap
5056 (inherit ghc-hashable)
5057 (name "ghc-hashable-bootstrap")
5060 ,@(package-arguments ghc-hashable)))
5062 (properties '((hidden? #t)))))
5064 (define-public ghc-hashable-time
5066 (name "ghc-hashable-time")
5072 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
5077 "1q7y4plqqwy5286hhx2fygn12h8lqk0y047b597sbdckskxzfqgs"))))
5078 (build-system haskell-build-system)
5081 ("2" "006phc5y9rrvsshdcmjmhxzxh8dpgs685mpqbkjm9c40xb1ydjbz")))
5082 (inputs `(("ghc-hashable" ,ghc-hashable)))
5083 (home-page "https://hackage.haskell.org/package/hashable-time")
5084 (synopsis "Hashable instances for Data.Time")
5086 "This package provides @code{Hashable} instances for types in
5088 (license license:bsd-3)))
5090 (define-public ghc-hashtables
5092 (name "ghc-hashtables")
5098 "https://hackage.haskell.org/package/hashtables/hashtables-"
5101 (base32 "1rjmxnr30g4hygiywkpz5p9sanh0abs7ap4zc1kgd8zv04kycp0j"))))
5102 (build-system haskell-build-system)
5104 `(("ghc-hashable" ,ghc-hashable)
5105 ("ghc-primitive" ,ghc-primitive)
5106 ("ghc-vector" ,ghc-vector)))
5107 (home-page "https://github.com/gregorycollins/hashtables")
5108 (synopsis "Haskell Mutable hash tables in the ST monad")
5109 (description "This package provides a Haskell library including a
5110 couple of different implementations of mutable hash tables in the ST
5111 monad, as well as a typeclass abstracting their common operations, and
5112 a set of wrappers to use the hash tables in the IO monad.")
5113 (license license:bsd-3)))
5115 (define-public ghc-haskell-lexer
5117 (name "ghc-haskell-lexer")
5123 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
5126 (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq"))))
5127 (build-system haskell-build-system)
5128 (home-page "https://hackage.haskell.org/package/haskell-lexer")
5129 (synopsis "Fully compliant Haskell 98 lexer")
5131 "This package provides a fully compliant Haskell 98 lexer.")
5132 (license license:bsd-3)))
5134 (define-public ghc-haskell-src
5136 (name "ghc-haskell-src")
5142 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
5147 "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l"))))
5148 (build-system haskell-build-system)
5150 `(("ghc-happy" ,ghc-happy)
5151 ("ghc-syb" ,ghc-syb)))
5153 "https://hackage.haskell.org/package/haskell-src")
5155 "Support for manipulating Haskell source code")
5157 "The @code{haskell-src} package provides support for manipulating Haskell
5158 source code. The package provides a lexer, parser and pretty-printer, and a
5159 definition of a Haskell abstract syntax tree (AST). Common uses of this
5160 package are to parse or generate Haskell 98 code.")
5161 (license license:bsd-3)))
5163 (define-public ghc-haskell-src-exts
5165 (name "ghc-haskell-src-exts")
5171 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
5176 "0q1y8n3d82gid9bcx8wxsqqmj9mq11fg3gp5yzpfbw958dhi3j9f"))))
5177 (build-system haskell-build-system)
5180 ("ghc-happy" ,ghc-happy)
5181 ("ghc-pretty-show" ,ghc-pretty-show)))
5183 `(("ghc-smallcheck" ,ghc-smallcheck)
5184 ("ghc-tasty" ,ghc-tasty)
5185 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5186 ("ghc-tasty-golden" ,ghc-tasty-golden)))
5187 (home-page "https://github.com/haskell-suite/haskell-src-exts")
5188 (synopsis "Library for manipulating Haskell source")
5189 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
5190 extension of the standard @code{haskell-src} package, and handles most
5191 registered syntactic extensions to Haskell. All extensions implemented in GHC
5192 are supported. Apart from these standard extensions, it also handles regular
5193 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
5194 (license license:bsd-3)))
5196 (define-public ghc-haskell-src-exts-util
5198 (name "ghc-haskell-src-exts-util")
5203 (uri (string-append "https://hackage.haskell.org/package/"
5204 "haskell-src-exts-util/haskell-src-exts-util-"
5208 "0fvqi72m74p7q5sbpy8m2chm8a1lgy10mfrcxcz8wrh59vngj0n8"))))
5209 (build-system haskell-build-system)
5211 `(("ghc-data-default" ,ghc-data-default)
5212 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5213 ("ghc-semigroups" ,ghc-semigroups)
5214 ("ghc-uniplate" ,ghc-uniplate)))
5215 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
5216 (synopsis "Helper functions for working with haskell-src-exts trees")
5218 "This package provides helper functions for working with
5219 @code{haskell-src-exts} trees.")
5220 (license license:bsd-3)))
5222 (define-public ghc-haskell-src-meta
5224 (name "ghc-haskell-src-meta")
5228 (uri (string-append "https://hackage.haskell.org/package/"
5229 "haskell-src-meta/haskell-src-meta-"
5233 "17znnaqj2hnnfyc9p9xjzbs97h2jh1h4f4qbw648y3xa14wx5ra9"))))
5234 (build-system haskell-build-system)
5236 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5237 ("ghc-syb" ,ghc-syb)
5238 ("ghc-th-orphans" ,ghc-th-orphans)))
5240 `(("ghc-hunit" ,ghc-hunit)
5241 ("ghc-tasty" ,ghc-tasty)
5242 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5243 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5244 (synopsis "Parse source to template-haskell abstract syntax")
5246 "This package provides tools to parse Haskell sources to the
5247 template-haskell abstract syntax.")
5248 (license license:bsd-3)))
5250 (define-public ghc-hasktags
5252 (name "ghc-hasktags")
5258 "https://hackage.haskell.org/package/hasktags/hasktags-"
5263 "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c"))))
5264 (build-system haskell-build-system)
5266 `(("ghc-system-filepath" ,ghc-system-filepath)
5267 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5269 `(("ghc-json" ,ghc-json)
5270 ("ghc-utf8-string" ,ghc-utf8-string)
5271 ("ghc-microlens-platform" ,ghc-microlens-platform)
5272 ("ghc-hunit" ,ghc-hunit)))
5273 (home-page "http://github.com/MarcWeber/hasktags")
5274 (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs")
5276 "This package provides a means of generating tag files for Emacs and
5278 (license license:bsd-3)))
5280 (define-public ghc-hex
5287 (uri (string-append "https://hackage.haskell.org/package/"
5289 "hex-" version ".tar.gz"))
5292 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
5293 (build-system haskell-build-system)
5294 (home-page "https://hackage.haskell.org/package/hex")
5295 (synopsis "Convert strings into hexadecimal and back")
5296 (description "This package provides conversion functions between
5297 bytestrings and their hexademical representation.")
5298 (license license:bsd-3)))
5300 (define-public ghc-highlighting-kate
5302 (name "ghc-highlighting-kate")
5306 (uri (string-append "https://hackage.haskell.org/package/"
5307 "highlighting-kate/highlighting-kate-"
5311 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
5312 (build-system haskell-build-system)
5314 `(("ghc-diff" ,ghc-diff)
5315 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5317 `(("ghc-blaze-html" ,ghc-blaze-html)
5318 ("ghc-utf8-string" ,ghc-utf8-string)))
5319 (home-page "https://github.com/jgm/highlighting-kate")
5320 (synopsis "Syntax highlighting library")
5322 "Highlighting-kate is a syntax highlighting library with support for
5323 nearly one hundred languages. The syntax parsers are automatically generated
5324 from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5325 supported by Kate can be added. An (optional) command-line program is
5326 provided, along with a utility for generating new parsers from Kate XML syntax
5328 (license license:gpl2+)))
5330 (define-public ghc-hindent
5332 (name "ghc-hindent")
5338 "https://hackage.haskell.org/package/hindent/hindent-"
5343 "008s8zm9qs972b7v5kkmr8l3i9kc6zm7yj33mkw6dv69b7h3c01l"))))
5344 (build-system haskell-build-system)
5346 `(#:modules ((guix build haskell-build-system)
5348 (guix build emacs-utils))
5349 #:imported-modules (,@%haskell-build-system-modules
5350 (guix build emacs-utils))
5352 (modify-phases %standard-phases
5353 (add-after 'install 'emacs-install
5354 (lambda* (#:key inputs outputs #:allow-other-keys)
5355 (let* ((out (assoc-ref outputs "out"))
5356 (elisp-file "elisp/hindent.el")
5357 (dest (string-append out "/share/emacs/site-lisp"))
5358 (emacs (string-append (assoc-ref inputs "emacs")
5360 (make-file-writable elisp-file)
5361 (emacs-substitute-variables elisp-file
5362 ("hindent-process-path"
5363 (string-append out "/bin/hindent")))
5364 (install-file elisp-file dest)
5365 (emacs-generate-autoloads "hindent" dest)))))))
5367 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5368 ("ghc-monad-loops" ,ghc-monad-loops)
5369 ("ghc-utf8-string" ,ghc-utf8-string)
5370 ("ghc-exceptions" ,ghc-exceptions)
5371 ("ghc-yaml" ,ghc-yaml)
5372 ("ghc-unix-compat" ,ghc-unix-compat)
5373 ("ghc-path" ,ghc-path)
5374 ("ghc-path-io" ,ghc-path-io)
5375 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5377 `(("ghc-hspec" ,ghc-hspec)
5378 ("ghc-diff" ,ghc-diff)
5379 ("emacs" ,emacs-minimal)))
5381 "https://github.com/commercialhaskell/hindent")
5382 (synopsis "Extensible Haskell pretty printer")
5384 "This package provides automatic formatting for Haskell files. Both a
5385 library and an executable.")
5386 (license license:bsd-3)))
5388 (define-public ghc-hinotify
5390 (name "ghc-hinotify")
5395 "https://hackage.haskell.org/package/hinotify/"
5396 "hinotify-" version ".tar.gz"))
5399 "1x1lm685ws2q0z0ibwq6x3l72xh67mj06s36xiga3al48d92q63x"))))
5400 (build-system haskell-build-system)
5402 `(("ghc-async" ,ghc-async)))
5403 (home-page "https://github.com/kolmodin/hinotify.git")
5404 (synopsis "Haskell binding to inotify")
5405 (description "This library provides a wrapper to the Linux kernel's inotify
5406 feature, allowing applications to subscribe to notifications when a file is
5407 accessed or modified.")
5408 (license license:bsd-3)))
5410 (define-public ghc-hmatrix
5412 (name "ghc-hmatrix")
5413 (version "0.20.0.0")
5418 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
5421 (base32 "1sqy1aci5zfagkb34mz3xdil7cl96z4b4cx28cha54vc5sx1lhpg"))))
5422 (build-system haskell-build-system)
5424 `(("ghc-random" ,ghc-random)
5425 ("ghc-split" ,ghc-split)
5426 ("ghc-storable-complex" ,ghc-storable-complex)
5427 ("ghc-semigroups" ,ghc-semigroups)
5428 ("ghc-vector" ,ghc-vector)
5429 ;;("openblas" ,openblas)
5430 ("lapack" ,lapack)))
5431 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
5432 ;; disables inclusion of the LAPACK functions.
5433 ;; (arguments `(#:configure-flags '("--flags=openblas")))
5434 (home-page "https://github.com/albertoruiz/hmatrix")
5435 (synopsis "Haskell numeric linear algebra library")
5436 (description "The HMatrix package provices a Haskell library for
5437 dealing with linear systems, matrix decompositions, and other
5438 numerical computations based on BLAS and LAPACK.")
5439 (license license:bsd-3)))
5441 (define-public ghc-hmatrix-gsl
5443 (name "ghc-hmatrix-gsl")
5444 (version "0.19.0.1")
5449 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
5452 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
5453 (build-system haskell-build-system)
5455 `(("ghc-hmatrix" ,ghc-hmatrix)
5456 ("ghc-vector" ,ghc-vector)
5457 ("ghc-random" ,ghc-random)
5459 (native-inputs `(("pkg-config" ,pkg-config)))
5460 (home-page "https://github.com/albertoruiz/hmatrix")
5461 (synopsis "Haskell GSL binding")
5462 (description "This Haskell library provides a purely functional
5463 interface to selected numerical computations, internally implemented
5465 (license license:gpl3+)))
5467 (define-public ghc-hmatrix-gsl-stats
5469 (name "ghc-hmatrix-gsl-stats")
5476 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
5479 (base32 "1cq049sj3q5r06x7i35hqrkf2jc4p4kfi9zv0jmi2vp7w4644i5q"))))
5480 (build-system haskell-build-system)
5482 `(("ghc-vector" ,ghc-vector)
5483 ("ghc-storable-complex" ,ghc-storable-complex)
5484 ("ghc-hmatrix" ,ghc-hmatrix)
5486 (native-inputs `(("pkg-config" ,pkg-config)))
5487 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
5488 (synopsis "GSL Statistics interface for Haskell")
5489 (description "This Haskell library provides a purely functional
5490 interface for statistics based on hmatrix and GSL.")
5491 (license license:bsd-3)))
5493 (define-public ghc-hmatrix-special
5495 (name "ghc-hmatrix-special")
5496 (version "0.19.0.0")
5502 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
5505 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
5506 (build-system haskell-build-system)
5508 `(("ghc-hmatrix" ,ghc-hmatrix)
5509 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
5510 (home-page "https://github.com/albertoruiz/hmatrix")
5511 (synopsis "Haskell interface to GSL special functions")
5512 (description "This library provides an interface to GSL special
5513 functions for Haskell.")
5514 (license license:gpl3+)))
5516 (define-public ghc-hostname
5518 (name "ghc-hostname")
5523 (uri (string-append "https://hackage.haskell.org/package/hostname/"
5524 "hostname-" version ".tar.gz"))
5527 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
5528 (build-system haskell-build-system)
5529 (home-page "https://hackage.haskell.org/package/hostname")
5530 (synopsis "Hostname in Haskell")
5531 (description "Network.HostName is a simple package providing a means to
5532 determine the hostname.")
5533 (license license:bsd-3)))
5535 (define-public ghc-hourglass
5537 (name "ghc-hourglass")
5541 (uri (string-append "https://hackage.haskell.org/package/"
5542 "hourglass/hourglass-" version ".tar.gz"))
5545 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
5546 (build-system haskell-build-system)
5548 `(("ghc-old-locale" ,ghc-old-locale)))
5550 `(("ghc-tasty" ,ghc-tasty)
5551 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5552 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5553 (home-page "https://github.com/vincenthz/hs-hourglass")
5554 (synopsis "Simple time-related library for Haskell")
5556 "This is a simple time library providing a simple but powerful and
5557 performant API. The backbone of the library are the @code{Timeable} and
5558 @code{Time} type classes. Each @code{Timeable} instances can be converted to
5559 a type that has a @code{Time} instances, and thus are different
5560 representations of current time.")
5561 (license license:bsd-3)))
5563 (define-public ghc-hpack
5570 (uri (string-append "https://hackage.haskell.org/package/hpack/"
5571 "hpack-" version ".tar.gz"))
5572 (patches (search-patches "ghc-hpack-fix-tests.patch"))
5575 "1l2d6185lawwhsj70swxkvcacm0hvcn9qsrlx4ph4gs6k578603g"))))
5576 (build-system haskell-build-system)
5578 `(("ghc-aeson" ,ghc-aeson)
5579 ("ghc-bifunctors" ,ghc-bifunctors)
5580 ("ghc-cryptonite" ,ghc-cryptonite)
5581 ("ghc-glob" ,ghc-glob)
5582 ("ghc-http-client" ,ghc-http-client)
5583 ("ghc-http-client-tls" ,ghc-http-client-tls)
5584 ("ghc-http-types" ,ghc-http-types)
5585 ("ghc-infer-license" ,ghc-infer-license)
5586 ("ghc-scientific" ,ghc-scientific)
5587 ("ghc-unordered-containers" ,ghc-unordered-containers)
5588 ("ghc-vector" ,ghc-vector)
5589 ("ghc-yaml" ,ghc-yaml)))
5591 `(("ghc-hspec" ,ghc-hspec)
5592 ("ghc-hunit" ,ghc-hunit)
5593 ("ghc-interpolate" ,ghc-interpolate)
5594 ("ghc-mockery" ,ghc-mockery)
5595 ("ghc-quickcheck" ,ghc-quickcheck)
5596 ("ghc-temporary" ,ghc-temporary)
5597 ("hspec-discover" ,hspec-discover)))
5598 (home-page "https://github.com/sol/hpack")
5599 (synopsis "Tools for an alternative Haskell package format")
5601 "Hpack is a format for Haskell packages. It is an alternative to the
5602 Cabal package format and follows different design principles. Hpack packages
5603 are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
5604 @code{stack} support @code{package.yaml} natively. For other build tools the
5605 @code{hpack} executable can be used to generate a @code{.cabal} file from
5606 @code{package.yaml}.")
5607 (license license:expat)))
5609 (define-public ghc-hs-bibutils
5611 (name "ghc-hs-bibutils")
5617 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
5621 "1qfyssl76lm4g09yxr3y10kmf8cnzls46g5h0ijk0wpk9wlhbln5"))))
5622 (build-system haskell-build-system)
5623 (inputs `(("ghc-syb" ,ghc-syb)))
5624 (home-page "https://hackage.haskell.org/package/hs-bibutils")
5625 (synopsis "Haskell bindings to bibutils")
5627 "This package provides Haskell bindings to @code{bibutils}, a library
5628 that interconverts between various bibliography formats using a common
5629 MODS-format XML intermediate.")
5630 (license license:gpl2+)))
5632 (define-public ghc-hslogger
5634 (name "ghc-hslogger")
5639 (uri (string-append "https://hackage.haskell.org/package/"
5640 "hslogger-" version "/" "hslogger-"
5643 "0ykcsk7wqygvrg60r5kpl6xfinr706al8pfyk5wj67wjs24lqypr"))))
5644 (build-system haskell-build-system)
5646 `(("ghc-network" ,ghc-network)
5647 ("ghc-old-locale" ,ghc-old-locale)))
5649 `(("ghc-hunit" ,ghc-hunit)))
5650 (home-page "https://software.complete.org/hslogger")
5651 (synopsis "Logging framework for Haskell, similar to Python's logging module")
5652 (description "Hslogger lets each log message have a priority and source be
5653 associated with it. The programmer can then define global handlers that route
5654 or filter messages based on the priority and source. It also has a syslog
5656 (license license:bsd-3)))
5658 (define-public ghc-hslua
5664 (uri (string-append "https://hackage.haskell.org/package/"
5665 "hslua/hslua-" version ".tar.gz"))
5668 "183bgl5jcx5y2r94lviqfw0a5w9089nxjd1z40k8vx9y2h60pm6j"))))
5669 (build-system haskell-build-system)
5671 `(#:configure-flags '("-fsystem-lua")))
5674 ("ghc-exceptions" ,ghc-exceptions)
5675 ("ghc-fail" ,ghc-fail)))
5677 `(("ghc-tasty" ,ghc-tasty)
5678 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
5679 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5680 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5681 ("ghc-quickcheck" ,ghc-quickcheck)
5682 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
5683 (home-page "https://hackage.haskell.org/package/hslua")
5684 (synopsis "Lua language interpreter embedding in Haskell")
5686 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
5687 described in @url{https://www.lua.org/}.")
5688 (license license:expat)))
5690 (define-public ghc-hslua-module-system
5692 (name "ghc-hslua-module-system")
5697 (uri (string-append "https://hackage.haskell.org/package/"
5698 "hslua-module-system/hslua-module-system-"
5702 "1m7wz3g5c34pyizqw5mllzhsy2vziddhlbhjfwdvd7nhd3p4v3hh"))))
5703 (build-system haskell-build-system)
5705 `(("ghc-exceptions" ,ghc-exceptions)
5706 ("ghc-hslua" ,ghc-hslua)
5707 ("ghc-temporary" ,ghc-temporary)))
5709 `(("ghc-tasty" ,ghc-tasty)
5710 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5711 (home-page "https://github.com/hslua/hslua-module-system")
5712 (synopsis "Lua module wrapper around Haskell's System module")
5713 (description "This library provides access to system information and
5714 functionality to Lua scripts via Haskell's @code{System} module. Intended
5715 usage for this package is to preload it by adding the loader function to
5716 @code{package.preload}. Note that the Lua @code{package} library must have
5717 already been loaded before the loader can be added.")
5718 (license license:expat)))
5720 (define-public ghc-hslua-module-text
5722 (name "ghc-hslua-module-text")
5727 (uri (string-append "https://hackage.haskell.org/package/"
5728 "hslua-module-text/hslua-module-text-"
5732 "1ikdwvvxhbd5wmfr85dzs2ccamh9rbbpgy899z7s1vlv5q1dj0hk"))))
5733 (build-system haskell-build-system)
5735 `(("ghc-hslua" ,ghc-hslua)))
5737 `(("ghc-tasty" ,ghc-tasty)
5738 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5739 (home-page "https://github.com/hslua/hslua-module-text")
5740 (synopsis "Lua module for text")
5742 "This package provides a UTF-8 aware subset of Lua's @code{string} module
5743 for Haskell. The functions provided by this module are @code{upper},
5744 @code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
5745 (license license:expat)))
5747 (define-public ghc-hsyaml
5754 (uri (string-append "https://hackage.haskell.org/package/"
5755 "HsYAML/HsYAML-" version ".tar.gz"))
5758 "1pajfhj16559v64ixm8j7bvxdqmxg6c3c0z3wz7in8ckswgzfp54"))))
5759 (build-system haskell-build-system)
5762 ("1" "0j6qmmcz5yqh89hs2cq453maix50q61vl2h0ahj5lg02bygn42cf")))
5763 (home-page "https://github.com/haskell-hvr/HsYAML")
5764 (synopsis "Pure Haskell YAML 1.2 parser")
5765 (description "This library provides a
5766 @url{http://yaml.org/spec/1.2/spec.html, YAML 1.2} parser implementation
5767 for Haskell. Its features include:
5770 @item Pure Haskell implementation with small dependency footprint and
5771 emphasis on strict compliance with the YAML 1.2 specification.
5773 @item Direct decoding to native Haskell types via (aeson-inspired)
5774 typeclass-based API (see @code{Data.YAML}).
5776 @item Support for constructing custom YAML node graph
5777 representation (including support for cyclic YAML data structures).
5779 @item Support for the standard (untyped) @emph{Failsafe}, (strict)
5780 @emph{JSON}, and (flexible) @emph{Core} ``schemas'' providing implicit
5781 typing rules as defined in the YAML 1.2 specification (including support
5782 for user-defined custom schemas).
5784 @item Event-based API resembling LibYAML's Event-based API (see
5785 @code{Data.YAML.Event}).
5787 @item Low-level API access to lexical token-based scanner (see
5788 @code{Data.YAML.Token}).
5790 (license license:gpl2+)))
5792 (define-public ghc-http-api-data
5794 (name "ghc-http-api-data")
5799 (uri (string-append "https://hackage.haskell.org/package/"
5800 "http-api-data-" version "/"
5801 "http-api-data-" version ".tar.gz"))
5804 "1ps4bvln43gz72dr9mc3c9n1rn38c4rz6m49vxzz9nz6jz1978rv"))))
5805 (build-system haskell-build-system)
5806 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
5807 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
5808 ("ghc-cookie" ,ghc-cookie)
5809 ("ghc-hashable" ,ghc-hashable)
5810 ("ghc-http-types" ,ghc-http-types)
5811 ("ghc-time-compat" ,ghc-time-compat)
5812 ("ghc-unordered-containers" ,ghc-unordered-containers)
5813 ("ghc-uuid-types" ,ghc-uuid-types)))
5815 `(("cabal-doctest" ,cabal-doctest)
5816 ("ghc-nats" ,ghc-nats)
5817 ("ghc-hunit" ,ghc-hunit)
5818 ("ghc-hspec" ,ghc-hspec)
5819 ("ghc-quickcheck" ,ghc-quickcheck)
5820 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
5821 ("ghc-doctest" ,ghc-doctest)
5822 ("hspec-discover" ,hspec-discover)))
5823 (home-page "https://github.com/fizruk/http-api-data")
5824 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
5826 (description "This Haskell package defines typeclasses used for converting
5827 Haskell data types to and from HTTP API data.")
5828 (license license:bsd-3)))
5830 (define-public ghc-ieee754
5832 (name "ghc-ieee754")
5837 "https://hackage.haskell.org/package/ieee754/"
5838 "ieee754-" version ".tar.gz"))
5841 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
5842 (build-system haskell-build-system)
5843 (home-page "https://github.com/patperry/hs-ieee754")
5844 (synopsis "Utilities for dealing with IEEE floating point numbers")
5845 (description "Utilities for dealing with IEEE floating point numbers,
5846 ported from the Tango math library; approximate and exact equality comparisons
5847 for general types.")
5848 (license license:bsd-3)))
5850 (define-public ghc-ifelse
5857 (uri (string-append "https://hackage.haskell.org/package/"
5858 "IfElse/IfElse-" version ".tar.gz"))
5861 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
5862 (build-system haskell-build-system)
5863 (home-page "https://hackage.haskell.org/package/IfElse")
5864 (synopsis "Monadic control flow with anaphoric variants")
5865 (description "This library provides functions for control flow inside of
5866 monads with anaphoric variants on @code{if} and @code{when} and a C-like
5867 @code{switch} function.")
5868 (license license:bsd-3)))
5870 (define-public ghc-indents
5872 (name "ghc-indents")
5877 "https://hackage.haskell.org/package/indents/indents-"
5881 "0dpcwiz0dwn5aqdsc50plfaawh86adhf7jx5dsmhn5q5nz32qn51"))))
5882 (build-system haskell-build-system)
5883 ;; This package needs an older version of tasty.
5884 (arguments '(#:tests? #f))
5886 `(("ghc-concatenative" ,ghc-concatenative)))
5888 `(("ghc-tasty" ,ghc-tasty)
5889 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5890 (home-page "http://patch-tag.com/r/salazar/indents")
5891 (synopsis "Indentation sensitive parser-combinators for parsec")
5893 "This library provides functions for use in parsing indentation sensitive
5894 contexts. It parses blocks of lines all indented to the same level as well as
5895 lines continued at an indented level below.")
5896 (license license:bsd-3)))
5898 (define-public ghc-infer-license
5900 (name "ghc-infer-license")
5905 (uri (string-append "https://hackage.haskell.org/package/"
5906 "infer-license/infer-license-" version ".tar.gz"))
5909 "0wlfm6bf55kfvm74xar9lmjg5v1103rs9m3grw1rq5bmcmhzxrhj"))))
5910 (build-system haskell-build-system)
5912 `(("ghc-text-metrics" ,ghc-text-metrics)))
5914 `(("ghc-hspec" ,ghc-hspec)
5915 ("hspec-discover" ,hspec-discover)))
5916 (home-page "https://hackage.haskell.org/package/infer-license")
5917 (synopsis "Infer software license from a given license file")
5918 (description "This library provides tools to infer a software
5919 license from a given license file.")
5920 (license license:expat)))
5922 (define-public ghc-inline-c
5924 (name "ghc-inline-c")
5929 (uri (string-append "https://hackage.haskell.org/package/inline-c/"
5930 "inline-c-" version ".tar.gz"))
5933 "19scbviwiv1fbsdcjji3dscjg7w0xa8r97xwkqqrwm7zhvrg5wns"))))
5934 (build-system haskell-build-system)
5936 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
5937 ("ghc-cryptohash" ,ghc-cryptohash)
5938 ("ghc-hashable" ,ghc-hashable)
5939 ("ghc-parsers" ,ghc-parsers)
5940 ("ghc-unordered-containers" ,ghc-unordered-containers)
5941 ("ghc-vector" ,ghc-vector)))
5943 `(("ghc-quickcheck" ,ghc-quickcheck)
5944 ("ghc-hspec" ,ghc-hspec)
5945 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)
5946 ("ghc-regex-posix" ,ghc-regex-posix)))
5947 (home-page "https://hackage.haskell.org/package/inline-c")
5948 (synopsis "Write Haskell source files including C code inline")
5950 "inline-c lets you seamlessly call C libraries and embed high-performance
5951 inline C code in Haskell modules. Haskell and C can be freely intermixed in
5952 the same source file, and data passed to and from code in either language with
5953 minimal overhead. No FFI required.")
5954 (license license:expat)))
5956 (define-public ghc-inline-c-cpp
5958 (name "ghc-inline-c-cpp")
5963 (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/"
5964 "inline-c-cpp-" version ".tar.gz"))
5967 "1sxwx9dh60qfpa72dymj015zwd6prhb70x5mkabqzi7nhg3aakln"))))
5968 (build-system haskell-build-system)
5970 `(("ghc-inline-c" ,ghc-inline-c)
5971 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
5973 `(("ghc-hspec" ,ghc-hspec)))
5974 (home-page "https://hackage.haskell.org/package/inline-c-cpp")
5975 (synopsis "Lets you embed C++ code into Haskell")
5977 "This package provides utilities to inline C++ code into Haskell using
5979 (license license:expat)))
5981 (define-public ghc-integer-logarithms
5983 (name "ghc-integer-logarithms")
5988 (uri (string-append "https://hackage.haskell.org/package/"
5989 "integer-logarithms/integer-logarithms-"
5993 "05pc5hws66csvcvfswlwcr2fplwn1lbssvwifjxkbbwqhq0n5qjs"))))
5994 (build-system haskell-build-system)
5997 (modify-phases %standard-phases
5998 (add-before 'configure 'update-constraints
6000 (substitute* "integer-logarithms.cabal"
6001 (("tasty >= 0\\.10 && < 1\\.1")
6002 "tasty >= 0.10 && < 1.2")))))))
6004 `(("ghc-quickcheck" ,ghc-quickcheck)
6005 ("ghc-smallcheck" ,ghc-smallcheck)
6006 ("ghc-tasty" ,ghc-tasty)
6007 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6008 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6009 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
6010 (home-page "https://github.com/Bodigrim/integer-logarithms")
6011 (synopsis "Integer logarithms")
6013 "This package provides the following modules:
6014 @code{Math.NumberTheory.Logarithms} and
6015 @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
6016 @code{GHC.Integer.Logarithms.Compat} and
6017 @code{Math.NumberTheory.Power.Natural}, as well as some additional functions
6018 in migrated modules.")
6019 (license license:expat)))
6021 (define-public ghc-integer-logarithms-bootstrap
6023 (inherit ghc-integer-logarithms)
6024 (name "ghc-integer-logarithms-bootstrap")
6025 (arguments `(#:tests? #f))
6027 (properties '((hidden? #t)))))
6029 (define-public ghc-interpolate
6031 (name "ghc-interpolate")
6036 (uri (string-append "https://hackage.haskell.org/package/interpolate/"
6037 "interpolate-" version ".tar.gz"))
6040 "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf"))))
6041 (build-system haskell-build-system)
6043 `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
6045 `(("ghc-base-compat" ,ghc-base-compat)
6046 ("ghc-hspec" ,ghc-hspec)
6047 ("ghc-quickcheck" ,ghc-quickcheck)
6048 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6049 ("hspec-discover" ,hspec-discover)))
6050 (home-page "https://github.com/sol/interpolate")
6051 (synopsis "String interpolation library")
6052 (description "This package provides a string interpolation library for
6054 (license license:expat)))
6056 (define-public ghc-intervalmap
6058 (name "ghc-intervalmap")
6063 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
6064 "IntervalMap-" version ".tar.gz"))
6067 "0vdlvxvhf7vjyv0mfn6jaj2i2gclqv8419ck32s2jxfcmki5m5g8"))))
6068 (build-system haskell-build-system)
6070 `(("ghc-quickcheck" ,ghc-quickcheck)))
6071 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
6072 (synopsis "Containers for intervals, with efficient search")
6074 "This package provides ordered containers of intervals, with efficient
6075 search for all keys containing a point or overlapping an interval. See the
6076 example code on the home page for a quick introduction.")
6077 (license license:bsd-3)))
6079 (define-public ghc-intervals
6081 (name "ghc-intervals")
6086 (uri (string-append "https://hackage.haskell.org/package/"
6087 "intervals/intervals-" version ".tar.gz"))
6090 "00vyxf3ba9d7aas3npfapr53w71fslgh69fczjb25axr66fvzqww"))))
6091 (build-system haskell-build-system)
6093 `(("ghc-distributive" ,ghc-distributive)))
6095 `(("cabal-doctest" ,cabal-doctest)
6096 ("ghc-doctest" ,ghc-doctest)
6097 ("ghc-quickcheck" ,ghc-quickcheck)))
6100 ("4" "1qx3q0v13l1zaln9zdk8chxpxhshbz5x0vqm0qda7d1kpv7h6a7r")))
6101 (home-page "https://github.com/ekmett/intervals")
6102 (synopsis "Interval arithmetic")
6103 (description "This library provides
6104 @code{Numeric.Interval.Interval}, which represets a closed, convex set
6105 of floating point values.")
6106 (license license:bsd-3)))
6108 (define-public ghc-invariant
6110 (name "ghc-invariant")
6116 "https://hackage.haskell.org/package/invariant/invariant-"
6120 "03245nhcqxx6b0yw81fzqaqd7cgllmx8awzhvs2xv7ys73pmsgnp"))))
6121 (build-system haskell-build-system)
6123 `(("ghc-bifunctors" ,ghc-bifunctors)
6124 ("ghc-comonad" ,ghc-comonad)
6125 ("ghc-contravariant" ,ghc-contravariant)
6126 ("ghc-profunctors" ,ghc-profunctors)
6127 ("ghc-semigroups" ,ghc-semigroups)
6128 ("ghc-statevar" ,ghc-statevar)
6129 ("ghc-tagged" ,ghc-tagged)
6130 ("ghc-th-abstraction" ,ghc-th-abstraction)
6131 ("ghc-transformers-compat" ,ghc-transformers-compat)
6132 ("ghc-unordered-containers" ,ghc-unordered-containers)))
6134 `(("ghc-hspec" ,ghc-hspec)
6135 ("ghc-quickcheck" ,ghc-quickcheck)
6136 ("hspec-discover" ,hspec-discover)))
6137 (home-page "https://github.com/nfrisby/invariant-functors")
6138 (synopsis "Haskell98 invariant functors")
6139 (description "Haskell98 invariant functors (also known as exponential
6140 functors). For more information, see Edward Kmett's article
6141 @uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.")
6142 (license license:bsd-2)))
6144 (define-public ghc-io-streams
6146 (name "ghc-io-streams")
6151 (uri (string-append "https://hackage.haskell.org/package/"
6152 "io-streams/io-streams-" version ".tar.gz"))
6155 "1c7byr943x41nxpc3bnz152fvfbmakafq2958wyf9qiyp2pz18la"))))
6156 (build-system haskell-build-system)
6158 `(("ghc-attoparsec" ,ghc-attoparsec)
6159 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6160 ("ghc-network" ,ghc-network)
6161 ("ghc-primitive" ,ghc-primitive)
6162 ("ghc-vector" ,ghc-vector)
6163 ("ghc-zlib-bindings" ,ghc-zlib-bindings)))
6165 `(("ghc-hunit" ,ghc-hunit)
6166 ("ghc-quickcheck" ,ghc-quickcheck)
6167 ("ghc-test-framework" ,ghc-test-framework)
6168 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6169 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6170 ("ghc-zlib" ,ghc-zlib)))
6171 (home-page "https://hackage.haskell.org/package/io-streams")
6172 (synopsis "Simple and composable stream I/O")
6173 (description "This library contains simple and easy-to-use
6174 primitives for I/O using streams.")
6175 (license license:bsd-3)))
6177 (define-public ghc-io-streams-haproxy
6179 (name "ghc-io-streams-haproxy")
6184 (uri (string-append "https://hackage.haskell.org/package/"
6185 "io-streams-haproxy/io-streams-haproxy-"
6189 "1dcn5hd4fiwyq7m01r6fi93vfvygca5s6mz87c78m0zyj29clkmp"))))
6190 (build-system haskell-build-system)
6192 `(("ghc-attoparsec" ,ghc-attoparsec)
6193 ("ghc-io-streams" ,ghc-io-streams)
6194 ("ghc-network" ,ghc-network)))
6196 `(("ghc-hunit" ,ghc-hunit)
6197 ("ghc-test-framework" ,ghc-test-framework)
6198 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
6199 (home-page "http://snapframework.com/")
6200 (synopsis "HAProxy protocol 1.5 support for io-streams")
6201 (description "HAProxy protocol version 1.5 support
6202 (see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt})
6203 for applications using io-streams. The proxy protocol allows information
6204 about a networked peer (like remote address and port) to be propagated
6205 through a forwarding proxy that is configured to speak this protocol.")
6206 (license license:bsd-3)))
6208 (define-public ghc-iproute
6210 (name "ghc-iproute")
6216 "https://hackage.haskell.org/package/iproute/iproute-"
6221 "0gab5930nvzrpvisx3x43ydnp2rd4fbmy9cq1zpgqy1adx5gx8z6"))))
6222 (build-system haskell-build-system)
6223 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
6224 ; exported by ghc-byteorder. Doctest issue.
6226 `(("ghc-appar" ,ghc-appar)
6227 ("ghc-byteorder" ,ghc-byteorder)
6228 ("ghc-network" ,ghc-network)
6229 ("ghc-safe" ,ghc-safe)))
6230 (home-page "https://www.mew.org/~kazu/proj/iproute/")
6231 (synopsis "IP routing table")
6232 (description "IP Routing Table is a tree of IP ranges to search one of
6233 them on the longest match base. It is a kind of TRIE with one way branching
6234 removed. Both IPv4 and IPv6 are supported.")
6235 (license license:bsd-3)))
6237 (define-public ghc-ipynb
6244 (uri (string-append "https://hackage.haskell.org/package/"
6245 "ipynb/ipynb-" version ".tar.gz"))
6248 "0daadhzil4q573mqb0rpvjzm0vpkzgzqcimw480qpvlh6rhppwj5"))))
6249 (build-system haskell-build-system)
6251 `(("ghc-unordered-containers" ,ghc-unordered-containers)
6252 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6253 ("ghc-aeson" ,ghc-aeson)
6254 ("ghc-semigroups" ,ghc-semigroups)))
6256 `(("ghc-tasty" ,ghc-tasty)
6257 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6258 ("ghc-aeson-diff" ,ghc-aeson-diff)
6259 ("ghc-microlens-aeson" ,ghc-microlens-aeson)
6260 ("ghc-microlens" ,ghc-microlens)
6261 ("ghc-vector" ,ghc-vector)))
6262 (home-page "https://hackage.haskell.org/package/ipynb")
6263 (synopsis "Data structure for working with Jupyter notebooks")
6264 (description "This library defines a data structure for representing
6265 Jupyter notebooks, along with @code{ToJSON} and @code{FromJSON}
6266 instances for conversion to and from JSON .ipynb files.")
6267 (license license:bsd-3)))
6269 (define-public ghc-iwlib
6276 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
6279 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
6280 (build-system haskell-build-system)
6282 `(("wireless-tools" ,wireless-tools)))
6283 (home-page "https://github.com/jaor/iwlib")
6284 (synopsis "Haskell binding to the iw wireless networking library")
6286 "IWlib is a thin Haskell binding to the iw C library. It provides
6287 information about the current wireless network connections, and adapters on
6288 supported systems.")
6289 (license license:bsd-3)))
6291 (define-public ghc-json
6298 (uri (string-append "https://hackage.haskell.org/package/json/"
6299 "json-" version ".tar.gz"))
6302 "1z8s3mfg76p2flqqd2wqsi96l5bg8k8w8m58zlv81pw3k7h1vbwb"))))
6303 (build-system haskell-build-system)
6305 `(("ghc-syb" ,ghc-syb)))
6306 (home-page "https://hackage.haskell.org/package/json")
6307 (synopsis "Serializes Haskell data to and from JSON")
6308 (description "This package provides a parser and pretty printer for
6309 converting between Haskell values and JSON.
6310 JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
6311 (license license:bsd-3)))
6313 (define-public ghc-juicypixels
6315 (name "ghc-juicypixels")
6319 (uri (string-append "https://hackage.haskell.org/package/"
6320 "JuicyPixels/JuicyPixels-"
6324 "0qacrnz2qcykj3f6c4k2p8qd31pa2slpv3ykfblgizrfh3401q6x"))))
6325 (build-system haskell-build-system)
6327 `(("ghc-zlib" ,ghc-zlib)
6328 ("ghc-vector" ,ghc-vector)
6329 ("ghc-primitive" ,ghc-primitive)
6330 ("ghc-mmap" ,ghc-mmap)))
6331 (home-page "https://github.com/Twinside/Juicy.Pixels")
6332 (synopsis "Picture loading and serialization library")
6334 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
6335 TIFF and GIF formats.")
6336 (license license:bsd-3)))
6338 (define-public ghc-kan-extensions
6340 (name "ghc-kan-extensions")
6346 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
6351 "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb"))))
6352 (build-system haskell-build-system)
6354 `(("ghc-adjunctions" ,ghc-adjunctions)
6355 ("ghc-comonad" ,ghc-comonad)
6356 ("ghc-contravariant" ,ghc-contravariant)
6357 ("ghc-distributive" ,ghc-distributive)
6358 ("ghc-free" ,ghc-free)
6359 ("ghc-invariant" ,ghc-invariant)
6360 ("ghc-semigroupoids" ,ghc-semigroupoids)
6361 ("ghc-tagged" ,ghc-tagged)
6362 ("ghc-transformers-compat" ,ghc-transformers-compat)))
6363 (home-page "https://github.com/ekmett/kan-extensions/")
6364 (synopsis "Kan extensions library")
6365 (description "This library provides Kan extensions, Kan lifts, various
6366 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
6367 (license license:bsd-3)))
6369 (define-public ghc-language-c
6371 (name "ghc-language-c")
6376 (uri (string-append "https://hackage.haskell.org/package/"
6377 "language-c/language-c-" version ".tar.gz"))
6380 "0bi02jdirkys8v7flf39vrpla2a74z1z0sdhy9lb9v7cmcc6rmpk"))))
6381 (build-system haskell-build-system)
6382 (inputs `(("ghc-syb" ,ghc-syb)))
6384 `(("ghc-happy" ,ghc-happy)
6385 ("ghc-alex" ,ghc-alex)))
6386 (home-page "https://visq.github.io/language-c/")
6387 (synopsis "Analysis and generation of C code")
6389 "Language C is a Haskell library for the analysis and generation of C code.
6390 It features a complete, well-tested parser and pretty printer for all of C99
6391 and a large set of GNU extensions.")
6392 (license license:bsd-3)))
6394 (define-public ghc-language-glsl
6396 (name "ghc-language-glsl")
6401 (uri (string-append "https://hackage.haskell.org/package/"
6402 "language-glsl/language-glsl-" version ".tar.gz"))
6405 "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1"))))
6406 (build-system haskell-build-system)
6407 (inputs `(("ghc-prettyclass" ,ghc-prettyclass)))
6411 ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5")))
6412 (home-page "https://hackage.haskell.org/package/language-glsl")
6413 (synopsis "GLSL abstract syntax tree, parser, and pretty-printer")
6414 (description "This package is a Haskell library for the
6415 representation, parsing, and pretty-printing of GLSL 1.50 code.")
6416 (license license:bsd-3)))
6418 (define-public ghc-language-haskell-extract
6420 (name "ghc-language-haskell-extract")
6425 (uri (string-append "https://hackage.haskell.org/package/"
6426 "language-haskell-extract-" version "/"
6427 "language-haskell-extract-" version ".tar.gz"))
6430 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
6431 (build-system haskell-build-system)
6433 `(("ghc-regex-posix" ,ghc-regex-posix)))
6434 (home-page "https://github.com/finnsson/template-helper")
6435 (synopsis "Haskell module to automatically extract functions from
6437 (description "This package contains helper functions on top of
6440 For example, @code{functionExtractor} extracts all functions after a
6441 regexp-pattern, which can be useful if you wish to extract all functions
6442 beginning with @code{test} (for a test framework) or all functions beginning
6443 with @code{wc} (for a web service).")
6444 (license license:bsd-3)))
6446 (define-public ghc-lens
6453 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
6457 "1gpkc53l2cggnfrgg5k4ih82rycjbdvpj9pnbi5cq8ms0dbvs4a7"))))
6458 (build-system haskell-build-system)
6460 `(("ghc-base-orphans" ,ghc-base-orphans)
6461 ("ghc-bifunctors" ,ghc-bifunctors)
6462 ("ghc-distributive" ,ghc-distributive)
6463 ("ghc-exceptions" ,ghc-exceptions)
6464 ("ghc-free" ,ghc-free)
6465 ("ghc-kan-extensions" ,ghc-kan-extensions)
6466 ("ghc-parallel" ,ghc-parallel)
6467 ("ghc-reflection" ,ghc-reflection)
6468 ("ghc-semigroupoids" ,ghc-semigroupoids)
6469 ("ghc-vector" ,ghc-vector)
6470 ("ghc-call-stack" ,ghc-call-stack)
6471 ("ghc-comonad" ,ghc-comonad)
6472 ("ghc-contravariant" ,ghc-contravariant)
6473 ("ghc-hashable" ,ghc-hashable)
6474 ("ghc-profunctors" ,ghc-profunctors)
6475 ("ghc-semigroups" ,ghc-semigroups)
6476 ("ghc-tagged" ,ghc-tagged)
6477 ("ghc-transformers-compat" ,ghc-transformers-compat)
6478 ("ghc-unordered-containers" ,ghc-unordered-containers)
6479 ("ghc-void" ,ghc-void)
6480 ("ghc-generic-deriving" ,ghc-generic-deriving)
6481 ("ghc-nats" ,ghc-nats)
6482 ("ghc-simple-reflect" ,ghc-simple-reflect)
6485 `(("cabal-doctest" ,cabal-doctest)
6486 ("ghc-doctest" ,ghc-doctest)
6487 ("ghc-hunit" ,ghc-hunit)
6488 ("ghc-test-framework" ,ghc-test-framework)
6489 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6490 ("ghc-test-framework-th" ,ghc-test-framework-th)
6491 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6492 ("ghc-quickcheck" ,ghc-quickcheck)))
6493 (home-page "https://github.com/ekmett/lens/")
6494 (synopsis "Lenses, Folds and Traversals")
6495 (description "This library provides @code{Control.Lens}. The combinators
6496 in @code{Control.Lens} provide a highly generic toolbox for composing families
6497 of getters, folds, isomorphisms, traversals, setters and lenses and their
6499 (license license:bsd-3)))
6501 (define-public ghc-libffi
6508 (uri (string-append "https://hackage.haskell.org/package/"
6509 "libffi/libffi-" version ".tar.gz"))
6512 "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28"))))
6513 (build-system haskell-build-system)
6514 (native-inputs `(("pkg-config" ,pkg-config)))
6515 (inputs `(("libffi" ,libffi)))
6516 (home-page "https://hackage.haskell.org/package/libffi")
6517 (synopsis "Haskell binding to libffi")
6519 "A binding to libffi, allowing C functions of types only known at runtime
6520 to be called from Haskell.")
6521 (license license:bsd-3)))
6523 (define-public ghc-libmpd
6526 (version "0.9.0.10")
6531 "mirror://hackage/package/libmpd/libmpd-"
6536 "0vy287mn1vk8kvij5i3hc0p02l886cpsq5dds7kl6g520si3abkb"))))
6537 (build-system haskell-build-system)
6538 ;; Tests fail on i686.
6539 ;; See https://github.com/vimus/libmpd-haskell/issues/112
6540 (arguments `(#:tests? #f))
6542 `(("ghc-attoparsec" ,ghc-attoparsec)
6543 ("ghc-old-locale" ,ghc-old-locale)
6544 ("ghc-data-default-class" ,ghc-data-default-class)
6545 ("ghc-network" ,ghc-network)
6546 ("ghc-safe-exceptions" ,ghc-safe-exceptions)
6547 ("ghc-utf8-string" ,ghc-utf8-string)))
6549 `(("ghc-quickcheck" ,ghc-quickcheck)
6550 ("ghc-hspec" ,ghc-hspec)
6551 ("hspec-discover" ,hspec-discover)))
6552 (home-page "https://github.com/vimus/libmpd-haskell")
6553 (synopsis "Haskell client library for the Music Player Daemon")
6554 (description "This package provides a pure Haskell client library for the
6555 Music Player Daemon.")
6556 (license license:expat)))
6558 (define-public ghc-lib-parser
6560 (name "ghc-lib-parser")
6561 (version "8.8.0.20190424")
6565 (uri (string-append "https://hackage.haskell.org/package/"
6566 "ghc-lib-parser/ghc-lib-parser-" version ".tar.gz"))
6569 "12gsh994pr13bsybwlravmi21la66dyw74pk74yfw2pnz682wv10"))))
6570 (build-system haskell-build-system)
6572 `(("ghc-alex" ,ghc-alex)
6573 ("ghc-happy" ,ghc-happy)))
6574 (home-page "https://github.com/digital-asset/ghc-lib")
6575 (synopsis "The GHC API, decoupled from GHC versions")
6576 (description "This library implements the GHC API. It is like the
6577 compiler-provided @code{ghc} package, but it can be loaded on many
6578 compiler versions.")
6579 (license license:bsd-3)))
6581 (define-public ghc-libxml
6588 (uri (string-append "https://hackage.haskell.org/package/libxml/"
6589 "libxml-" version ".tar.gz"))
6592 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
6593 (build-system haskell-build-system)
6595 `(("libxml2" ,libxml2)))
6598 `(,(string-append "--extra-include-dirs="
6599 (assoc-ref %build-inputs "libxml2")
6600 "/include/libxml2"))))
6601 (home-page "https://hackage.haskell.org/package/libxml")
6602 (synopsis "Haskell bindings to libxml2")
6604 "This library provides minimal Haskell binding to libxml2.")
6605 (license license:bsd-3)))
6607 (define-public ghc-libyaml
6609 (name "ghc-libyaml")
6614 (uri (string-append "https://hackage.haskell.org/package/"
6615 "libyaml/libyaml-" version ".tar.gz"))
6618 "0psznm9c3yjsyj9aj8m2svvv9m2v0x90hnwarcx5sbswyi3l00va"))
6619 (modules '((guix build utils)))
6621 ;; Delete bundled LibYAML.
6623 (delete-file-recursively "libyaml_src")
6625 (build-system haskell-build-system)
6627 `(#:configure-flags `("--flags=system-libyaml")))
6629 `(("ghc-conduit" ,ghc-conduit)
6630 ("ghc-resourcet" ,ghc-resourcet)
6631 ("libyaml" ,libyaml-2.1)))
6632 (home-page "https://github.com/snoyberg/yaml#readme")
6633 (synopsis "Low-level, streaming YAML interface.")
6634 (description "This package provides a Haskell wrapper over the
6635 LibYAML C library.")
6636 (license license:bsd-3)))
6638 (define-public ghc-lifted-async
6640 (name "ghc-lifted-async")
6641 (version "0.10.0.4")
6646 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
6650 "0cwl1d0wjpdk0v1l1qxiqiksmak950c8gx169c1q77cg0z18ijf9"))))
6651 (build-system haskell-build-system)
6653 `(("ghc-async" ,ghc-async)
6654 ("ghc-lifted-base" ,ghc-lifted-base)
6655 ("ghc-transformers-base" ,ghc-transformers-base)
6656 ("ghc-monad-control" ,ghc-monad-control)
6657 ("ghc-constraints" ,ghc-constraints)
6658 ("ghc-hunit" ,ghc-hunit)
6659 ("ghc-tasty" ,ghc-tasty)
6660 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
6661 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6662 ("ghc-tasty-th" ,ghc-tasty-th)))
6663 (home-page "https://github.com/maoe/lifted-async")
6664 (synopsis "Run lifted IO operations asynchronously and wait for their results")
6666 "This package provides IO operations from @code{async} package lifted to any
6667 instance of @code{MonadBase} or @code{MonadBaseControl}.")
6668 (license license:bsd-3)))
6670 (define-public ghc-lifted-base
6672 (name "ghc-lifted-base")
6673 (version "0.2.3.12")
6678 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
6683 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
6684 (build-system haskell-build-system)
6685 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
6687 `(("ghc-transformers-base" ,ghc-transformers-base)
6688 ("ghc-monad-control" ,ghc-monad-control)
6689 ("ghc-transformers-compat" ,ghc-transformers-compat)
6690 ("ghc-hunit" ,ghc-hunit)))
6691 (home-page "https://github.com/basvandijk/lifted-base")
6692 (synopsis "Lifted IO operations from the base library")
6693 (description "Lifted-base exports IO operations from the @code{base}
6694 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
6695 Note that not all modules from @code{base} are converted yet. The package
6696 includes a copy of the @code{monad-peel} test suite written by Anders
6698 (license license:bsd-3)))
6700 (define-public ghc-linear
6707 (uri (string-append "https://hackage.haskell.org/package/linear/"
6708 "linear-" version ".tar.gz"))
6711 "0h7yqigq593n7wsl7nz6a5f137wznm7y679wsii0ph0zsc4v5af5"))))
6712 (build-system haskell-build-system)
6714 `(("ghc-adjunctions" ,ghc-adjunctions)
6715 ("ghc-base-orphans" ,ghc-base-orphans)
6716 ("ghc-bytes" ,ghc-bytes)
6717 ("ghc-cereal" ,ghc-cereal)
6718 ("ghc-distributive" ,ghc-distributive)
6719 ("ghc-hashable" ,ghc-hashable)
6720 ("ghc-lens" ,ghc-lens)
6721 ("ghc-reflection" ,ghc-reflection)
6722 ("ghc-semigroups" ,ghc-semigroups)
6723 ("ghc-semigroupoids" ,ghc-semigroupoids)
6724 ("ghc-tagged" ,ghc-tagged)
6725 ("ghc-transformers-compat" ,ghc-transformers-compat)
6726 ("ghc-unordered-containers" ,ghc-unordered-containers)
6727 ("ghc-vector" ,ghc-vector)
6728 ("ghc-void" ,ghc-void)))
6730 `(("cabal-doctest" ,cabal-doctest)
6731 ("ghc-doctest" ,ghc-doctest)
6732 ("ghc-simple-reflect" ,ghc-simple-reflect)
6733 ("ghc-test-framework" ,ghc-test-framework)
6734 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6735 ("ghc-hunit" ,ghc-hunit)))
6736 (home-page "http://github.com/ekmett/linear/")
6737 (synopsis "Linear algebra library for Haskell")
6739 "This package provides types and combinators for linear algebra on free
6741 (license license:bsd-3)))
6743 (define-public ghc-listlike
6745 (name "ghc-listlike")
6752 "https://hackage.haskell.org/package/ListLike/ListLike-"
6756 "0m65x8yaq7q50gznln8mga2wrc8cvjx6gw9rim8s7xqcrx6y5zjh"))))
6757 (build-system haskell-build-system)
6759 `(("ghc-vector" ,ghc-vector)
6760 ("ghc-dlist" ,ghc-dlist)
6761 ("ghc-fmlist" ,ghc-fmlist)
6762 ("ghc-hunit" ,ghc-hunit)
6763 ("ghc-quickcheck" ,ghc-quickcheck)
6764 ("ghc-random" ,ghc-random)
6765 ("ghc-utf8-string" ,ghc-utf8-string)))
6766 (home-page "https://github.com/JohnLato/listlike")
6767 (synopsis "Generic support for list-like structures")
6768 (description "The ListLike module provides a common interface to the
6769 various Haskell types that are list-like. Predefined interfaces include
6770 standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings.
6771 Custom types can easily be made ListLike instances as well.
6773 ListLike also provides for String-like types, such as String and
6774 ByteString, for types that support input and output, and for types that
6775 can handle infinite lists.")
6776 (license license:bsd-3)))
6778 (define-public ghc-llvm-hs-pure
6780 (name "ghc-llvm-hs-pure")
6785 (uri (string-append "https://hackage.haskell.org/package/llvm-hs-pure/"
6786 "llvm-hs-pure-" version ".tar.gz"))
6789 "0pxb5ah8r5pzpz2ibqw3g9g1isigb4z7pbzfrwr8kmcjn74ab3kf"))))
6790 (build-system haskell-build-system)
6792 `(("ghc-attoparsec" ,ghc-attoparsec)
6793 ("ghc-fail" ,ghc-fail)
6794 ("ghc-unordered-containers" ,ghc-unordered-containers)))
6796 `(("ghc-tasty" ,ghc-tasty)
6797 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6798 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6799 (home-page "https://github.com/llvm-hs/llvm-hs/")
6800 (synopsis "Pure Haskell LLVM functionality (no FFI)")
6801 (description "llvm-hs-pure is a set of pure Haskell types and functions
6802 for interacting with LLVM. It includes an algebraic datatype (ADT) to represent
6803 LLVM IR. The llvm-hs package builds on this one with FFI bindings to LLVM, but
6804 llvm-hs-pure does not require LLVM to be available.")
6805 (license license:bsd-3)))
6807 (define-public ghc-llvm-hs
6809 (name "ghc-llvm-hs")
6814 (uri (string-append "https://hackage.haskell.org/package/llvm-hs/llvm-hs-"
6818 "0723xgh45h9cyxmmjsvxnsp8bpn1ljy4qgh7a7vqq3sj9d6wzq00"))))
6819 (build-system haskell-build-system)
6821 `(("ghc-attoparsec" ,ghc-attoparsec)
6822 ("ghc-exceptions" ,ghc-exceptions)
6823 ("ghc-utf8-string" ,ghc-utf8-string)
6824 ("ghc-llvm-hs-pure" ,ghc-llvm-hs-pure)
6827 `(("ghc-tasty" ,ghc-tasty)
6828 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6829 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6830 ("ghc-quickcheck" ,ghc-quickcheck)
6831 ("ghc-temporary" ,ghc-temporary)
6832 ("ghc-pretty-show" ,ghc-pretty-show)
6833 ("ghc-temporary" ,ghc-temporary)))
6834 (home-page "https://github.com/llvm-hs/llvm-hs/")
6835 (synopsis "General purpose LLVM bindings for Haskell")
6836 (description "llvm-hs is a set of Haskell bindings for LLVM. Unlike other
6837 current Haskell bindings, it uses an algebraic datatype (ADT) to represent LLVM
6838 IR, and so offers two advantages: it handles almost all of the stateful
6839 complexities of using the LLVM API to build IR; and it supports moving IR not
6840 only from Haskell into LLVM C++ objects, but the other direction - from LLVM C++
6842 (license license:bsd-3)))
6844 (define-public ghc-logging-facade
6846 (name "ghc-logging-facade")
6850 (uri (string-append "https://hackage.haskell.org/package/"
6851 "logging-facade/logging-facade-"
6855 "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf"))))
6856 (build-system haskell-build-system)
6858 `(("ghc-hspec" ,ghc-hspec)
6859 ("hspec-discover" ,hspec-discover)))
6860 (home-page "https://hackage.haskell.org/package/logging-facade")
6861 (synopsis "Simple logging abstraction that allows multiple back-ends")
6863 "This package provides a simple logging abstraction that allows multiple
6865 (license license:expat)))
6867 (define-public ghc-logict
6875 "https://hackage.haskell.org/package/logict/logict-"
6880 "1xfgdsxg0lp8m0a2cb83rcxrnnc37asfikay2kydi933anh9ihfc"))))
6881 (build-system haskell-build-system)
6883 `(("ghc-tasty" ,ghc-tasty)
6884 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6885 (home-page "http://code.haskell.org/~dolio/")
6886 (synopsis "Backtracking logic-programming monad")
6887 (description "This library provides a continuation-based, backtracking,
6888 logic programming monad. An adaptation of the two-continuation implementation
6889 found in the paper \"Backtracking, Interleaving, and Terminating Monad
6890 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
6892 (license license:bsd-3)))
6894 (define-public ghc-lzma
6901 (uri (string-append "https://hackage.haskell.org/package/lzma/"
6902 "lzma-" version ".tar.gz"))
6905 "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg"))))
6906 (build-system haskell-build-system)
6908 '(#:tests? #f ; requires older versions of QuickCheck and tasty.
6910 ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m")))
6912 `(("ghc-hunit" ,ghc-hunit)
6913 ("ghc-quickcheck" ,ghc-quickcheck)
6914 ("ghc-tasty" ,ghc-tasty)
6915 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6916 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6917 (home-page "https://github.com/hvr/lzma")
6918 (synopsis "LZMA/XZ compression and decompression")
6920 "This package provides a pure interface for compressing and
6921 decompressing LZMA streams of data represented as lazy @code{ByteString}s. A
6922 monadic incremental interface is provided as well.")
6923 (license license:bsd-3)))
6925 (define-public ghc-lzma-conduit
6927 (name "ghc-lzma-conduit")
6932 (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/"
6933 "lzma-conduit-" version ".tar.gz"))
6936 "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9"))))
6937 (build-system haskell-build-system)
6939 `(("ghc-conduit" ,ghc-conduit)
6940 ("ghc-lzma" ,ghc-lzma)
6941 ("ghc-resourcet" ,ghc-resourcet)))
6943 `(("ghc-base-compat" ,ghc-base-compat)
6944 ("ghc-test-framework" ,ghc-test-framework)
6945 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6946 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6947 ("ghc-hunit" ,ghc-hunit)
6948 ("ghc-quickcheck" ,ghc-quickcheck)))
6949 (home-page "https://github.com/alphaHeavy/lzma-conduit")
6950 (synopsis "Conduit interface for lzma/xz compression")
6952 "This package provides a @code{Conduit} interface for the LZMA
6953 compression algorithm used in the @code{.xz} file format.")
6954 (license license:bsd-3)))
6956 (define-public ghc-magic
6964 "https://hackage.haskell.org/package/magic/magic-"
6968 "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j"))))
6969 (build-system haskell-build-system)
6970 (home-page "https://hackage.haskell.org/package/magic")
6971 (synopsis "Interface to C file/magic library")
6973 "This package provides a full-featured binding to the C libmagic library.
6974 With it, you can determine the type of a file by examining its contents rather
6976 (license license:bsd-3)))
6978 (define-public ghc-markdown-unlit
6980 (name "ghc-markdown-unlit")
6985 "mirror://hackage/package/markdown-unlit/"
6986 "markdown-unlit-" version ".tar.gz"))
6989 "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7"))))
6990 (build-system haskell-build-system)
6992 `(("ghc-base-compat" ,ghc-base-compat)
6993 ("ghc-hspec" ,ghc-hspec)
6994 ("ghc-quickcheck" ,ghc-quickcheck)
6995 ("ghc-silently" ,ghc-silently)
6996 ("ghc-stringbuilder" ,ghc-stringbuilder)
6997 ("ghc-temporary" ,ghc-temporary)
6998 ("hspec-discover" ,hspec-discover)))
6999 (home-page "https://github.com/sol/markdown-unlit#readme")
7000 (synopsis "Literate Haskell support for Markdown")
7001 (description "This package allows you to have a README.md that at the
7002 same time is a literate Haskell program.")
7003 (license license:expat)))
7005 (define-public ghc-math-functions
7007 (name "ghc-math-functions")
7012 (uri (string-append "https://hackage.haskell.org/package/"
7013 "math-functions-" version "/"
7014 "math-functions-" version ".tar.gz"))
7017 "1s5nbs40sc3r4z08n0j8bw40cy0zkp03fjjn3p27zkd4fvm9kib3"))))
7018 (build-system haskell-build-system)
7019 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
7021 `(("ghc-data-default-class" ,ghc-data-default-class)
7022 ("ghc-vector" ,ghc-vector)
7023 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
7025 `(("ghc-hunit" ,ghc-hunit)
7026 ("ghc-quickcheck" ,ghc-quickcheck)
7027 ("ghc-erf" ,ghc-erf)
7028 ("ghc-test-framework" ,ghc-test-framework)
7029 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7030 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7031 (home-page "https://github.com/bos/math-functions")
7032 (synopsis "Special functions and Chebyshev polynomials for Haskell")
7033 (description "This Haskell library provides implementations of
7034 special mathematical functions and Chebyshev polynomials. These
7035 functions are often useful in statistical and numerical computing.")
7036 (license license:bsd-3)))
7038 (define-public ghc-megaparsec
7040 (name "ghc-megaparsec")
7045 (uri (string-append "https://hackage.haskell.org/package/"
7046 "megaparsec/megaparsec-"
7050 "0bqx1icbmk8s7wmbcdzsgnlh607c7kzg8l80cp02dxr5valjxp7j"))))
7051 (build-system haskell-build-system)
7053 `(("ghc-case-insensitive" ,ghc-case-insensitive)
7054 ("ghc-parser-combinators" ,ghc-parser-combinators)
7055 ("ghc-scientific" ,ghc-scientific)))
7057 `(("ghc-quickcheck" ,ghc-quickcheck)
7058 ("ghc-hspec" ,ghc-hspec)
7059 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
7060 ("hspec-discover" ,hspec-discover)))
7061 (home-page "https://github.com/mrkkrp/megaparsec")
7062 (synopsis "Monadic parser combinators")
7064 "This is an industrial-strength monadic parser combinator library.
7065 Megaparsec is a feature-rich package that strikes a nice balance between
7066 speed, flexibility, and quality of parse errors.")
7067 (license license:bsd-2)))
7069 (define-public ghc-memory
7075 (uri (string-append "https://hackage.haskell.org/package/"
7076 "memory/memory-" version ".tar.gz"))
7079 "01rmq3vagxzjmm96qnfxk4f0516cn12bp5m8inn8h5r918bqsigm"))))
7080 (build-system haskell-build-system)
7082 `(("ghc-basement" ,ghc-basement)
7083 ("ghc-foundation" ,ghc-foundation)))
7085 `(("ghc-tasty" ,ghc-tasty)
7086 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7087 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7088 (home-page "https://github.com/vincenthz/hs-memory")
7089 (synopsis "Memory abstractions for Haskell")
7091 "This package provides memory abstractions, such as chunk of memory,
7092 polymorphic byte array management and manipulation functions. It contains a
7093 polymorphic byte array abstraction and functions similar to strict ByteString,
7094 different type of byte array abstraction, raw memory IO operations (memory
7095 set, memory copy, ..) and more")
7096 (license license:bsd-3)))
7098 (define-public ghc-memotrie
7100 (name "ghc-memotrie")
7106 "https://hackage.haskell.org/package/MemoTrie/MemoTrie-"
7111 "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x"))))
7112 (build-system haskell-build-system)
7114 `(("ghc-newtype-generics" ,ghc-newtype-generics)))
7115 (home-page "https://github.com/conal/MemoTrie")
7116 (synopsis "Trie-based memo functions")
7117 (description "This package provides a functional library for creating
7118 efficient memo functions using tries.")
7119 (license license:bsd-3)))
7121 (define-public ghc-microlens
7123 (name "ghc-microlens")
7128 (uri (string-append "https://hackage.haskell.org/package/"
7129 "microlens-" version "/"
7130 "microlens-" version ".tar.gz"))
7133 "1v277yyy4p9q57xr2lfp6qs24agglfczmcabrapxrzci3jfshmcw"))))
7134 (build-system haskell-build-system)
7136 "https://github.com/aelve/microlens")
7137 (synopsis "Provides a tiny lens Haskell library with no dependencies")
7138 (description "This Haskell package provides a lens library, just like
7139 @code{ghc-lens}, but smaller. It provides essential lenses and
7140 traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
7141 nice to have (like @code{each}, @code{at}, and @code{ix}), and some
7142 combinators (like @code{failing} and @code{singular}), but everything else is
7143 stripped. As the result, this package has no dependencies.")
7144 (license license:bsd-3)))
7146 (define-public ghc-microlens-aeson
7148 (name "ghc-microlens-aeson")
7153 (uri (string-append "https://hackage.haskell.org/package/"
7154 "microlens-aeson/microlens-aeson-"
7156 (patches (search-patches "ghc-microlens-aeson-fix-tests.patch"))
7159 "0w630kk5bnily1qh41081gqgbwmslrh5ad21899gwnb2r3jripyw"))))
7160 (build-system haskell-build-system)
7162 `(("ghc-aeson" ,ghc-aeson)
7163 ("ghc-attoparsec" ,ghc-attoparsec)
7164 ("ghc-hashable" ,ghc-hashable)
7165 ("ghc-microlens" ,ghc-microlens)
7166 ("ghc-scientific" ,ghc-scientific)
7167 ("ghc-unordered-containers" ,ghc-unordered-containers)
7168 ("ghc-vector" ,ghc-vector)))
7170 `(("ghc-tasty" ,ghc-tasty)
7171 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7172 (home-page "https://github.com/fosskers/microlens-aeson")
7173 (synopsis "Law-abiding lenses for Aeson, using microlens")
7174 (description "This library provides law-abiding lenses for Aeson, using
7176 (license license:expat)))
7178 (define-public ghc-microlens-ghc
7180 (name "ghc-microlens-ghc")
7186 "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-"
7191 "102dbrdsdadxbbhvx8avv1wbk84767a7lkb8ckp3zxk9g7qlly33"))))
7192 (build-system haskell-build-system)
7193 (inputs `(("ghc-microlens" ,ghc-microlens)))
7194 (home-page "https://github.com/monadfix/microlens")
7195 (synopsis "Use @code{microlens} with GHC libraries like @code{array}")
7196 (description "This library provides everything that @code{microlens}
7197 provides plus instances to make @code{each}, @code{at}, and @code{ix}
7198 usable with arrays, @code{ByteString}, and containers. This package is
7199 a part of the @uref{http://hackage.haskell.org/package/microlens,
7200 microlens} family; see the readme
7201 @uref{https://github.com/aelve/microlens#readme, on Github}.")
7202 (license license:bsd-3)))
7204 (define-public ghc-microlens-mtl
7206 (name "ghc-microlens-mtl")
7207 (version "0.1.11.1")
7212 "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-"
7217 "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk"))))
7218 (build-system haskell-build-system)
7220 `(("ghc-microlens" ,ghc-microlens)
7221 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7222 (home-page "https://github.com/monadfix/microlens")
7224 "@code{microlens} support for Reader/Writer/State from mtl")
7226 "This package contains functions (like @code{view} or @code{+=}) which
7227 work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the
7228 mtl package. This package is a part of the
7229 @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7230 readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7231 (license license:bsd-3)))
7233 (define-public ghc-microlens-platform
7235 (name "ghc-microlens-platform")
7241 "https://hackage.haskell.org/package/"
7242 "microlens-platform/microlens-platform-" version ".tar.gz"))
7245 "18950lxgmsg5ksvyyi3zs1smjmb1qf1q73a3p3g44bh21miz0xwb"))))
7246 (build-system haskell-build-system)
7248 `(("ghc-hashable" ,ghc-hashable)
7249 ("ghc-microlens" ,ghc-microlens)
7250 ("ghc-microlens-ghc" ,ghc-microlens-ghc)
7251 ("ghc-microlens-mtl" ,ghc-microlens-mtl)
7252 ("ghc-microlens-th" ,ghc-microlens-th)
7253 ("ghc-unordered-containers" ,ghc-unordered-containers)
7254 ("ghc-vector" ,ghc-vector)))
7255 (home-page "https://github.com/monadfix/microlens")
7256 (synopsis "Feature-complete microlens")
7258 "This package exports a module which is the recommended starting point
7259 for using @uref{http://hackage.haskell.org/package/microlens, microlens} if
7260 you aren't trying to keep your dependencies minimal. By importing
7261 @code{Lens.Micro.Platform} you get all functions and instances from
7262 @uref{http://hackage.haskell.org/package/microlens, microlens},
7263 @uref{http://hackage.haskell.org/package/microlens-th, microlens-th},
7264 @uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl},
7265 @uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as
7266 well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The
7267 minor and major versions of @code{microlens-platform} are incremented whenever
7268 the minor and major versions of any other @code{microlens} package are
7269 incremented, so you can depend on the exact version of
7270 @code{microlens-platform} without specifying the version of @code{microlens}
7271 you need. This package is a part of the
7272 @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7273 readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7274 (license license:bsd-3)))
7276 (define-public ghc-microlens-th
7278 (name "ghc-microlens-th")
7283 (uri (string-append "https://hackage.haskell.org/package/"
7284 "microlens-th-" version "/"
7285 "microlens-th-" version ".tar.gz"))
7288 "13qw0pwcgd6f6i39rwgqwcwk1d4da5x7wv3gna7gdlxaq331h41j"))))
7289 (build-system haskell-build-system)
7292 ("1" "167in7b1qhgrspx81bdm2jyg9qji66sk7id282c0s99kmp0d01n6")))
7293 (inputs `(("ghc-microlens" ,ghc-microlens)
7294 ("ghc-th-abstraction" ,ghc-th-abstraction)))
7296 "https://github.com/aelve/microlens")
7297 (synopsis "Automatic generation of record lenses for
7298 @code{ghc-microlens}")
7299 (description "This Haskell package lets you automatically generate lenses
7300 for data types; code was extracted from the lens package, and therefore
7301 generated lenses are fully compatible with ones generated by lens (and can be
7302 used both from lens and microlens).")
7303 (license license:bsd-3)))
7305 (define-public ghc-missingh
7307 (name "ghc-missingh")
7312 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
7313 "MissingH-" version ".tar.gz"))
7316 "1jp0vk6w9a7fzrbxfhx773105jp2s1n50klq9ak6spfl7bgx5v29"))))
7317 (build-system haskell-build-system)
7318 ;; Tests require the unmaintained testpack package, which depends on the
7319 ;; outdated QuickCheck version 2.7, which can no longer be built with
7320 ;; recent versions of GHC and Haskell libraries.
7321 (arguments '(#:tests? #f))
7323 `(("ghc-network" ,ghc-network)
7324 ("ghc-hunit" ,ghc-hunit)
7325 ("ghc-regex-compat" ,ghc-regex-compat)
7326 ("ghc-hslogger" ,ghc-hslogger)
7327 ("ghc-random" ,ghc-random)
7328 ("ghc-old-time" ,ghc-old-time)
7329 ("ghc-old-locale" ,ghc-old-locale)))
7331 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
7332 ("ghc-quickcheck" ,ghc-quickcheck)
7333 ("ghc-hunit" ,ghc-hunit)))
7334 (home-page "https://software.complete.org/missingh")
7335 (synopsis "Large utility library")
7337 "MissingH is a library of all sorts of utility functions for Haskell
7338 programmers. It is written in pure Haskell and thus should be extremely
7339 portable and easy to use.")
7340 (license license:bsd-3)))
7342 (define-public ghc-mmap
7348 (uri (string-append "https://hackage.haskell.org/package/"
7349 "mmap/mmap-" version ".tar.gz"))
7352 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
7353 (build-system haskell-build-system)
7354 (home-page "https://hackage.haskell.org/package/mmap")
7355 (synopsis "Memory mapped files for Haskell")
7357 "This library provides a wrapper to @code{mmap}, allowing files or
7358 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
7359 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
7360 do on-demand loading.")
7361 (license license:bsd-3)))
7363 (define-public ghc-mmorph
7371 "https://hackage.haskell.org/package/mmorph/mmorph-"
7376 "0rfsy9n9mlinpmqi2s17fhc67fzma2ig5fbmh6m5m830canzf8vr"))))
7377 (build-system haskell-build-system)
7379 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
7380 (home-page "https://hackage.haskell.org/package/mmorph")
7381 (synopsis "Monad morphisms")
7383 "This library provides monad morphism utilities, most commonly used for
7384 manipulating monad transformer stacks.")
7385 (license license:bsd-3)))
7387 (define-public ghc-mockery
7389 (name "ghc-mockery")
7393 (uri (string-append "https://hackage.haskell.org/package/"
7394 "mockery/mockery-" version ".tar.gz"))
7397 "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp"))))
7398 (build-system haskell-build-system)
7400 `(("ghc-temporary" ,ghc-temporary)
7401 ("ghc-logging-facade" ,ghc-logging-facade)
7402 ("ghc-base-compat" ,ghc-base-compat)))
7404 `(("ghc-hspec" ,ghc-hspec)
7405 ("hspec-discover" ,hspec-discover)))
7406 (home-page "https://hackage.haskell.org/package/mockery")
7407 (synopsis "Support functions for automated testing")
7409 "The mockery package provides support functions for automated testing.")
7410 (license license:expat)))
7412 (define-public ghc-monad-control
7414 (name "ghc-monad-control")
7420 "https://hackage.haskell.org/package/monad-control"
7421 "/monad-control-" version ".tar.gz"))
7424 "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c"))))
7425 (build-system haskell-build-system)
7427 `(("ghc-transformers-base" ,ghc-transformers-base)
7428 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7429 (home-page "https://github.com/basvandijk/monad-control")
7430 (synopsis "Monad transformers to lift control operations like exception
7432 (description "This package defines the type class @code{MonadBaseControl},
7433 a subset of @code{MonadBase} into which generic control operations such as
7434 @code{catch} can be lifted from @code{IO} or any other base monad.")
7435 (license license:bsd-3)))
7437 (define-public ghc-monad-logger
7439 (name "ghc-monad-logger")
7444 (uri (string-append "https://hackage.haskell.org/package/"
7445 "monad-logger-" version "/"
7446 "monad-logger-" version ".tar.gz"))
7449 "102l0v75hbvkmrypiyg4ybb6rbc7nij5nxs1aihmqfdpg04rkkp7"))))
7450 (build-system haskell-build-system)
7451 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
7452 ("ghc-stm-chans" ,ghc-stm-chans)
7453 ("ghc-lifted-base" ,ghc-lifted-base)
7454 ("ghc-resourcet" ,ghc-resourcet)
7455 ("ghc-conduit" ,ghc-conduit)
7456 ("ghc-conduit-extra" ,ghc-conduit-extra)
7457 ("ghc-fast-logger" ,ghc-fast-logger)
7458 ("ghc-transformers-base" ,ghc-transformers-base)
7459 ("ghc-monad-control" ,ghc-monad-control)
7460 ("ghc-monad-loops" ,ghc-monad-loops)
7461 ("ghc-blaze-builder" ,ghc-blaze-builder)
7462 ("ghc-exceptions" ,ghc-exceptions)))
7463 (home-page "https://github.com/kazu-yamamoto/logger")
7464 (synopsis "Provides a class of monads which can log messages for Haskell")
7465 (description "This Haskell package uses a monad transformer approach
7468 This package provides Template Haskell functions for determining source
7469 code locations of messages.")
7470 (license license:expat)))
7472 (define-public ghc-monad-loops
7474 (name "ghc-monad-loops")
7479 (uri (string-append "https://hackage.haskell.org/package/"
7480 "monad-loops-" version "/"
7481 "monad-loops-" version ".tar.gz"))
7484 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
7485 (build-system haskell-build-system)
7486 (native-inputs `(("ghc-tasty" ,ghc-tasty)
7487 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7488 (home-page "https://github.com/mokus0/monad-loops")
7489 (synopsis "Monadic loops for Haskell")
7490 (description "This Haskell package provides some useful control
7491 operators for looping.")
7492 (license license:public-domain)))
7494 (define-public ghc-monad-par
7496 (name "ghc-monad-par")
7501 (uri (string-append "https://hackage.haskell.org/package/"
7502 "monad-par-" version "/"
7503 "monad-par-" version ".tar.gz"))
7504 (patches (search-patches "ghc-monad-par-fix-tests.patch"))
7507 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
7508 (build-system haskell-build-system)
7509 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
7510 ("ghc-abstract-deque" ,ghc-abstract-deque)
7511 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
7512 ("ghc-mwc-random" ,ghc-mwc-random)
7513 ("ghc-parallel" ,ghc-parallel)))
7514 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
7515 ("ghc-hunit" ,ghc-hunit)
7516 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7517 ("ghc-test-framework-quickcheck2"
7518 ,ghc-test-framework-quickcheck2)
7519 ("ghc-test-framework" ,ghc-test-framework)
7520 ("ghc-test-framework-th" ,ghc-test-framework-th)))
7521 (home-page "https://github.com/simonmar/monad-par")
7522 (synopsis "Haskell library for parallel programming based on a monad")
7523 (description "The @code{Par} monad offers an API for parallel
7524 programming. The library works for parallelising both pure and @code{IO}
7525 computations, although only the pure version is deterministic. The default
7526 implementation provides a work-stealing scheduler and supports forking tasks
7527 that are much lighter weight than IO-threads.")
7528 (license license:bsd-3)))
7530 (define-public ghc-monad-par-extras
7532 (name "ghc-monad-par-extras")
7537 (uri (string-append "https://hackage.haskell.org/package/"
7538 "monad-par-extras-" version "/"
7539 "monad-par-extras-" version ".tar.gz"))
7542 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
7543 (build-system haskell-build-system)
7544 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
7545 ("ghc-cereal" ,ghc-cereal)
7546 ("ghc-random" ,ghc-random)))
7547 (home-page "https://github.com/simonmar/monad-par")
7548 (synopsis "Combinators and extra features for Par monads for Haskell")
7549 (description "This Haskell package provides additional data structures,
7550 and other added capabilities layered on top of the @code{Par} monad.")
7551 (license license:bsd-3)))
7553 (define-public ghc-monadrandom
7555 (name "ghc-monadrandom")
7560 (uri (string-append "https://hackage.haskell.org/package/"
7561 "MonadRandom-" version "/"
7562 "MonadRandom-" version ".tar.gz"))
7565 "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb"))))
7566 (build-system haskell-build-system)
7567 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
7568 ("ghc-primitive" ,ghc-primitive)
7569 ("ghc-fail" ,ghc-fail)
7570 ("ghc-random" ,ghc-random)))
7571 (home-page "https://github.com/byorgey/MonadRandom")
7572 (synopsis "Random-number generation monad for Haskell")
7573 (description "This Haskell package provides support for computations
7574 which consume random values.")
7575 (license license:bsd-3)))
7577 (define-public ghc-monads-tf
7579 (name "ghc-monads-tf")
7585 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7589 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7590 (build-system haskell-build-system)
7591 (home-page "https://hackage.haskell.org/package/monads-tf")
7592 (synopsis "Monad classes, using type families")
7594 "Monad classes using type families, with instances for various monad transformers,
7595 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7596 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7597 the @code{mtl-tf} package.")
7598 (license license:bsd-3)))
7600 (define-public ghc-mono-traversable
7602 (name "ghc-mono-traversable")
7603 (version "1.0.13.0")
7607 (uri (string-append "https://hackage.haskell.org/package/"
7608 "mono-traversable-" version "/"
7609 "mono-traversable-" version ".tar.gz"))
7612 "1bqy982lpdb83lacfy76n8kqw5bvd31avxj25kg8gkgycdh0g0ma"))))
7613 (build-system haskell-build-system)
7614 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
7615 ("ghc-hashable" ,ghc-hashable)
7616 ("ghc-vector" ,ghc-vector)
7617 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
7618 ("ghc-split" ,ghc-split)))
7619 (native-inputs `(("ghc-hspec" ,ghc-hspec)
7620 ("ghc-hunit" ,ghc-hunit)
7621 ("ghc-quickcheck" ,ghc-quickcheck)
7622 ("ghc-semigroups" ,ghc-semigroups)
7623 ("ghc-foldl" ,ghc-foldl)))
7624 (home-page "https://github.com/snoyberg/mono-traversable")
7625 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
7627 (description "This Haskell package provides Monomorphic variants of the
7628 Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
7629 basic typeclasses, you understand mono-traversable. In addition to what
7630 you are used to, it adds on an IsSequence typeclass and has code for marking
7631 data structures as non-empty.")
7632 (license license:expat)))
7634 (define-public ghc-monoid-extras
7636 (name "ghc-monoid-extras")
7641 (uri (string-append "https://hackage.haskell.org/package/"
7642 "monoid-extras/monoid-extras-" version ".tar.gz"))
7645 "0xfrkgqn9d31z54l617m3w3kkd5m9vjb4yl247r3zzql3mpb1f37"))))
7646 (build-system haskell-build-system)
7648 `(("ghc-groups" ,ghc-groups)
7649 ("ghc-semigroups" ,ghc-semigroups)
7650 ("ghc-semigroupoids" ,ghc-semigroupoids)))
7653 ("1" "0b8x5d6vh7mpigvjvcd8f38a1nyzn1vfdqypslw7z9fgsr742913")))
7654 (home-page "https://hackage.haskell.org/package/monoid-extras")
7655 (synopsis "Various extra monoid-related definitions and utilities")
7656 (description "This package provides various extra monoid-related
7657 definitions and utilities, such as monoid actions, monoid coproducts,
7658 semi-direct products, \"deletable\" monoids, \"split\" monoids, and
7660 (license license:bsd-3)))
7662 (define-public ghc-mtl-compat
7664 (name "ghc-mtl-compat")
7670 "mirror://hackage/package/mtl-compat/mtl-compat-"
7675 "17iszr5yb4f17g8mq6i74hsamii8z6m2qfsmgzs78mhiwa7kjm8r"))))
7676 (build-system haskell-build-system)
7678 "https://github.com/haskell-compat/mtl-compat")
7680 "Backported Control.Monad.Except module from mtl")
7682 "This package backports the Control.Monad.Except module from mtl (if
7683 using mtl-2.2.0.1 or earlier), which reexports the ExceptT monad transformer
7684 and the MonadError class.
7686 This package should only be used if there is a need to use the
7687 Control.Monad.Except module specifically. If you just want the mtl class
7688 instances for ExceptT, use transformers-compat instead, since mtl-compat does
7689 nothing but reexport the instances from that package.
7691 Note that unlike how mtl-2.2 or later works, the Control.Monad.Except
7692 module defined in this package exports all of ExceptT's monad class instances.
7693 Therefore, you may have to declare @code{import Control.Monad.Except ()} at
7694 the top of your file to get all of the ExceptT instances in scope.")
7695 (license license:bsd-3)))
7697 (define-public ghc-murmur-hash
7699 (name "ghc-murmur-hash")
7704 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
7705 "/murmur-hash-" version ".tar.gz"))
7707 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
7708 (build-system haskell-build-system)
7709 (home-page "https://github.com/nominolo/murmur-hash")
7710 (synopsis "MurmurHash2 implementation for Haskell")
7712 "This package provides an implementation of MurmurHash2, a good, fast,
7713 general-purpose, non-cryptographic hashing function. See
7714 @url{https://sites.google.com/site/murmurhash/} for details. This
7715 implementation is pure Haskell, so it might be a bit slower than a C FFI
7717 (license license:bsd-3)))
7719 (define-public ghc-mwc-random
7721 (name "ghc-mwc-random")
7722 (version "0.14.0.0")
7726 (uri (string-append "https://hackage.haskell.org/package/"
7727 "mwc-random-" version "/"
7728 "mwc-random-" version ".tar.gz"))
7731 "18pg24sw3b79b32cwx8q01q4k0lm34mwr3l6cdkchl8alvd0wdq0"))))
7732 (build-system haskell-build-system)
7734 `(("ghc-primitive" ,ghc-primitive)
7735 ("ghc-vector" ,ghc-vector)
7736 ("ghc-math-functions" ,ghc-math-functions)))
7738 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
7740 `(("ghc-hunit" ,ghc-hunit)
7741 ("ghc-quickcheck" ,ghc-quickcheck)
7742 ("ghc-test-framework" ,ghc-test-framework)
7743 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7744 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7745 (home-page "https://github.com/bos/mwc-random")
7746 (synopsis "Random number generation library for Haskell")
7747 (description "This Haskell package contains code for generating
7748 high quality random numbers that follow either a uniform or normal
7749 distribution. The generated numbers are suitable for use in
7750 statistical applications.
7752 The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
7753 multiply-with-carry generator, which has a period of 2^{8222} and
7754 fares well in tests of randomness. It is also extremely fast,
7755 between 2 and 3 times faster than the Mersenne Twister.")
7756 (license license:bsd-3)))
7758 (define-public ghc-nats
7766 "https://hackage.haskell.org/package/nats/nats-"
7771 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
7772 (build-system haskell-build-system)
7773 (arguments `(#:haddock? #f))
7775 `(("ghc-hashable" ,ghc-hashable)))
7776 (home-page "https://hackage.haskell.org/package/nats")
7777 (synopsis "Natural numbers")
7778 (description "This library provides the natural numbers for Haskell.")
7779 (license license:bsd-3)))
7781 (define-public ghc-nats-bootstrap
7784 (name "ghc-nats-bootstrap")
7786 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
7787 (properties '((hidden? #t)))))
7789 (define-public ghc-ncurses
7791 (name "ghc-ncurses")
7797 "https://hackage.haskell.org/package/ncurses/ncurses-"
7801 "0gsyyaqyh5r9zc0rhwpj5spyd6i4w2vj61h4nihgmmh0yyqvf3z5"))))
7802 (build-system haskell-build-system)
7805 (modify-phases %standard-phases
7806 (add-before 'build 'fix-includes
7808 (substitute* '("cbits/hsncurses-shim.h"
7809 "lib/UI/NCurses.chs"
7810 "lib/UI/NCurses/Enums.chs"
7811 "lib/UI/NCurses/Panel.chs")
7812 (("<ncursesw/") "<"))
7816 "1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca")))
7817 (inputs `(("ncurses" ,ncurses)))
7818 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
7819 (home-page "https://john-millikin.com/software/haskell-ncurses/")
7820 (synopsis "Modernised bindings to GNU ncurses")
7821 (description "GNU ncurses is a library for creating command-line application
7822 with pseudo-graphical interfaces. This package is a nice, modern binding to GNU
7824 (license license:gpl3)))
7826 (define-public ghc-network
7828 (name "ghc-network")
7830 (outputs '("out" "doc"))
7835 "https://hackage.haskell.org/package/network/network-"
7840 "0im8k51rw3ahmr23ny10pshwbz09jfg0fdpam0hzf2hgxnzmvxb1"))))
7841 (build-system haskell-build-system)
7842 ;; The regression tests depend on an unpublished module.
7843 (arguments `(#:tests? #f))
7845 `(("ghc-hunit" ,ghc-hunit)
7846 ("ghc-doctest" ,ghc-doctest)
7847 ("ghc-test-framework" ,ghc-test-framework)
7848 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
7849 (home-page "https://github.com/haskell/network")
7850 (synopsis "Low-level networking interface")
7852 "This package provides a low-level networking interface.")
7853 (license license:bsd-3)))
7855 (define-public ghc-network-bsd
7857 (name "ghc-network-bsd")
7862 (uri (string-append "https://hackage.haskell.org/package/"
7863 "network-bsd/network-bsd-" version ".tar.gz"))
7866 "0dfbwgrr28y6ypw7p1ppqg7v746qf14569q4xazj4ahdjw2xkpi5"))))
7867 (build-system haskell-build-system)
7869 `(("ghc-network" ,ghc-network)))
7870 (home-page "https://github.com/haskell/network-bsd")
7871 (synopsis "POSIX network database (<netdb.h>) API")
7872 (description "This package provides Haskell bindings to the the POSIX
7873 network database (<netdb.h>) API.")
7874 (license license:bsd-3)))
7876 (define-public ghc-network-byte-order
7878 (name "ghc-network-byte-order")
7883 (uri (string-append "https://hackage.haskell.org/package/"
7884 "network-byte-order/network-byte-order-"
7888 "19cs6157amcc925vwr92q1azwwzkbam5g0k70i6qi80fhpikh37c"))))
7889 (build-system haskell-build-system)
7891 `(("ghc-doctest" ,ghc-doctest)))
7892 (home-page "https://hackage.haskell.org/package/network-byte-order")
7893 (synopsis "Network byte order utilities")
7894 (description "This library provides peek and poke functions for network
7896 (license license:bsd-3)))
7898 (define-public ghc-network-info
7900 (name "ghc-network-info")
7901 (version "0.2.0.10")
7905 (uri (string-append "https://hackage.haskell.org/package/"
7906 "network-info-" version "/"
7907 "network-info-" version ".tar.gz"))
7910 "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n"))))
7911 (build-system haskell-build-system)
7912 (home-page "https://github.com/jystic/network-info")
7913 (synopsis "Access the local computer's basic network configuration")
7914 (description "This Haskell library provides simple read-only access to the
7915 local computer's networking configuration. It is currently capable of
7916 getting a list of all the network interfaces and their respective
7917 IPv4, IPv6 and MAC addresses.")
7918 (license license:bsd-3)))
7920 (define-public ghc-network-uri
7922 (name "ghc-network-uri")
7924 (outputs '("out" "doc"))
7929 "https://hackage.haskell.org/package/network-uri/network-uri-"
7934 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
7935 (build-system haskell-build-system)
7937 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
7939 `(("ghc-network" ,ghc-network)))
7941 `(("ghc-hunit" ,ghc-hunit)))
7943 "https://github.com/haskell/network-uri")
7944 (synopsis "Library for URI manipulation")
7945 (description "This package provides an URI manipulation interface. In
7946 @code{network-2.6} the @code{Network.URI} module was split off from the
7947 @code{network} package into this package.")
7948 (license license:bsd-3)))
7950 (define-public ghc-newtype-generics
7952 (name "ghc-newtype-generics")
7957 (uri (string-append "https://hackage.haskell.org/package/"
7958 "newtype-generics/newtype-generics-"
7962 "0cprfg4n0z62cnix1qrbc79bfdd4s50b05fj9m9hk6vm1pc3szq0"))))
7963 (build-system haskell-build-system)
7965 `(("ghc-hspec" ,ghc-hspec)
7966 ("hspec-discover" ,hspec-discover)))
7967 (home-page "http://github.com/sjakobi/newtype-generics")
7968 (synopsis "Typeclass and set of functions for working with newtypes")
7969 (description "The @code{Newtype} typeclass represents the packing and
7970 unpacking of a newtype, and allows you to operate under that newtype with
7971 functions such as @code{ala}. Generics support was added in version 0.4,
7972 making this package a full replacement for the original newtype package,
7973 and an alternative to newtype-th.")
7974 (license license:bsd-3)))
7976 (define-public ghc-non-negative
7978 (name "ghc-non-negative")
7985 "https://hackage.haskell.org/package/non-negative/non-negative-"
7989 "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n"))))
7990 (build-system haskell-build-system)
7992 `(("ghc-semigroups" ,ghc-semigroups)
7993 ("ghc-utility-ht" ,ghc-utility-ht)
7994 ("ghc-quickcheck" ,ghc-quickcheck)))
7995 (home-page "https://hackage.haskell.org/package/non-negative")
7996 (synopsis "Non-negative numbers class")
7997 (description "This library provides a class for non-negative numbers,
7998 a wrapper which can turn any ordered numeric type into a member of that
7999 class, and a lazy number type for non-negative numbers (a generalization
8000 of Peano numbers).")
8001 (license license:gpl3+)))
8003 (define-public ghc-nonce
8011 "https://hackage.haskell.org/package/nonce/"
8012 "nonce-" version ".tar.gz"))
8015 "1q9ph0aq51mvdvydnriqd12sfin36pfb8f588zgac1ybn8r64ksb"))))
8016 (build-system haskell-build-system)
8018 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
8019 ("ghc-entropy" ,ghc-entropy)
8020 ("ghc-unliftio" ,ghc-unliftio)
8021 ("ghc-unliftio-core" ,ghc-unliftio-core)))
8022 (home-page "https://github.com/prowdsponsor/nonce")
8023 (synopsis "Generate cryptographic nonces in Haskell")
8025 "A nonce is an arbitrary number used only once in a cryptographic
8026 communication. This package contain helper functions for generating nonces.
8027 There are many kinds of nonces used in different situations. It's not
8028 guaranteed that by using the nonces from this package you won't have any
8029 security issues. Please make sure that the nonces generated via this
8030 package are usable on your design.")
8031 (license license:bsd-3)))
8033 (define-public ghc-numeric-extras
8035 (name "ghc-numeric-extras")
8040 (uri (string-append "https://hackage.haskell.org/package/"
8041 "numeric-extras/numeric-extras-"
8045 "1mk11c0gz1yjy5b8dvq6czfny57pln0bs7x28fz38qyr44872067"))))
8046 (build-system haskell-build-system)
8047 (home-page "https://github.com/ekmett/numeric-extras")
8048 (synopsis "Useful tools from the C standard library")
8049 (description "This library provides some useful tools from the C
8051 (license license:bsd-3)))
8053 (define-public ghc-objectname
8055 (name "ghc-objectname")
8061 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
8066 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
8067 (build-system haskell-build-system)
8068 (home-page "https://hackage.haskell.org/package/ObjectName")
8069 (synopsis "Helper library for Haskell OpenGL")
8070 (description "This tiny package contains the class ObjectName, which
8071 corresponds to the general notion of explicitly handled identifiers for API
8072 objects, e.g. a texture object name in OpenGL or a buffer object name in
8074 (license license:bsd-3)))
8076 (define-public ghc-old-locale
8078 (name "ghc-old-locale")
8084 "https://hackage.haskell.org/package/old-locale/old-locale-"
8088 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
8089 (build-system haskell-build-system)
8092 ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs")))
8093 (home-page "https://hackage.haskell.org/package/old-locale")
8094 (synopsis "Adapt to locale conventions")
8096 "This package provides the ability to adapt to locale conventions such as
8097 date and time formats.")
8098 (license license:bsd-3)))
8100 (define-public ghc-old-time
8102 (name "ghc-old-time")
8108 "https://hackage.haskell.org/package/old-time/old-time-"
8113 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
8114 (build-system haskell-build-system)
8117 ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9")))
8119 `(("ghc-old-locale" ,ghc-old-locale)))
8120 (home-page "https://hackage.haskell.org/package/old-time")
8121 (synopsis "Time compatibility library for Haskell")
8122 (description "Old-time is a package for backwards compatibility with the
8123 old @code{time} library. For new projects, the newer
8124 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
8125 (license license:bsd-3)))
8127 (define-public ghc-opengl
8135 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
8140 "069fg8jcxqq2z9iikynd8vi3jxm2b5y3qywdh4bdviyzab3zy1as"))))
8141 (build-system haskell-build-system)
8144 ("1" "1748mrb6r9mpf5jbrx436lwbg8w6dadyy8dhxw2dwnrj5z7zf741")))
8146 `(("ghc-objectname" ,ghc-objectname)
8147 ("ghc-gluraw" ,ghc-gluraw)
8148 ("ghc-statevar" ,ghc-statevar)
8149 ("ghc-openglraw" ,ghc-openglraw)))
8150 (home-page "https://www.haskell.org/haskellwiki/Opengl")
8151 (synopsis "Haskell bindings for the OpenGL graphics system")
8152 (description "This package provides Haskell bindings for the OpenGL
8153 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
8155 (license license:bsd-3)))
8157 (define-public ghc-openglraw
8159 (name "ghc-openglraw")
8165 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
8170 "0zgllb4bcash2i2cispa3j565aw3dpxs41ghmhpvyvi4a6xmyldx"))))
8171 (build-system haskell-build-system)
8173 `(("ghc-half" ,ghc-half)
8174 ("ghc-fixed" ,ghc-fixed)
8176 (home-page "https://www.haskell.org/haskellwiki/Opengl")
8177 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
8178 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
8179 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
8180 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
8181 offers access to all necessary functions, tokens and types plus a general
8182 facility for loading extension entries. The module hierarchy closely mirrors
8183 the naming structure of the OpenGL extensions, making it easy to find the
8184 right module to import. All API entries are loaded dynamically, so no special
8185 C header files are needed for building this package. If an API entry is not
8186 found at runtime, a userError is thrown.")
8187 (license license:bsd-3)))
8189 (define-public ghc-operational
8191 (name "ghc-operational")
8196 (uri (string-append "https://hackage.haskell.org/package/operational/"
8197 "operational-" version ".tar.gz"))
8200 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
8201 (build-system haskell-build-system)
8203 `(("ghc-random" ,ghc-random)))
8204 (home-page "http://wiki.haskell.org/Operational")
8205 (synopsis "Implementation of difficult monads made easy with operational semantics")
8207 "This library makes it easy to implement monads with tricky control
8208 flow. This is useful for: writing web applications in a sequential style,
8209 programming games with a uniform interface for human and AI players and easy
8210 replay capababilities, implementing fast parser monads, designing monadic
8212 (license license:bsd-3)))
8214 (define-public ghc-options
8216 (name "ghc-options")
8222 "https://hackage.haskell.org/package/options/options-"
8226 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
8227 (build-system haskell-build-system)
8230 (modify-phases %standard-phases
8231 (add-before 'configure 'update-constraints
8233 (substitute* "options.cabal"
8234 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4 && < 0.6"))
8237 `(("ghc-monads-tf" ,ghc-monads-tf)
8238 ("ghc-chell" ,ghc-chell)
8239 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
8240 (home-page "https://john-millikin.com/software/haskell-options/")
8241 (synopsis "Powerful and easy-to-use command-line option parser")
8243 "The @code{options} package lets library and application developers
8244 easily work with command-line options.")
8245 (license license:expat)))
8247 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
8248 (define ghc-options-bootstrap
8250 (name "ghc-options-bootstrap")
8256 "https://hackage.haskell.org/package/options/options-"
8260 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
8261 (build-system haskell-build-system)
8265 `(("ghc-monads-tf" ,ghc-monads-tf)))
8266 (home-page "https://john-millikin.com/software/haskell-options/")
8267 (synopsis "Powerful and easy-to-use command-line option parser")
8269 "The @code{options} package lets library and application developers
8270 easily work with command-line options.")
8271 (license license:expat)))
8274 (define-public ghc-optparse-applicative
8276 (name "ghc-optparse-applicative")
8277 (version "0.14.3.0")
8282 "https://hackage.haskell.org/package/optparse-applicative"
8283 "/optparse-applicative-" version ".tar.gz"))
8286 "0qvn1s7jwrabbpmqmh6d6iafln3v3h9ddmxj2y4m0njmzq166ivj"))))
8287 (build-system haskell-build-system)
8290 ("2" "1a08dqjly1xy730f6jf45frr8g8gap0n1vg9b0mpzpydv0kgzmrp")))
8292 `(("ghc-transformers-compat" ,ghc-transformers-compat)
8293 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
8295 `(("ghc-quickcheck" ,ghc-quickcheck)))
8296 (home-page "https://github.com/pcapriotti/optparse-applicative")
8297 (synopsis "Utilities and combinators for parsing command line options")
8298 (description "This package provides utilities and combinators for parsing
8299 command line options in Haskell.")
8300 (license license:bsd-3)))
8302 (define-public ghc-jira-wiki-markup
8304 (name "ghc-jira-wiki-markup")
8310 "https://hackage.haskell.org/package/jira-wiki-markup/"
8311 "jira-wiki-markup-" version ".tar.gz"))
8313 (base32 "1sl2jjcsqg61si33mxjwpf8zdn56kbbgcwqqqzbgifx2qbv4wmf8"))))
8314 (build-system haskell-build-system)
8316 `(("ghc-tasty" ,ghc-tasty)
8317 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
8318 (home-page "https://github.com/tarleb/jira-wiki-markup")
8319 (synopsis "Handle Jira wiki markup")
8321 "Parse jira wiki text into an abstract syntax tree for easy transformation
8323 (license license:expat)))
8325 (define-public ghc-emojis
8333 "https://hackage.haskell.org/package/emojis/"
8334 "emojis-" version ".tar.gz"))
8336 (base32 "1c6zkj9gmk1y90gbdrn50hyp7mw1mggzhnr2khqd728ryipw60ss"))))
8337 (build-system haskell-build-system)
8339 `(("ghc-hunit" ,ghc-hunit)))
8340 (home-page "https://github.com/jgm/emojis#readme")
8341 (synopsis "Conversion between emoji characters and their names.")
8343 "This package provides functions for converting emoji names to emoji
8344 characters and vice versa.
8346 How does it differ from the @code{emoji} package?
8348 @item It supports a fuller range of emojis, including all those supported by
8350 @item It supports lookup of emoji aliases from emoji
8351 @item It uses Text rather than String
8352 @item It has a lighter dependency footprint: in particular, it does not
8354 @item It does not require TemplateHaskell
8356 (license license:bsd-3)))
8358 (define-public ghc-text-conversions
8360 (name "ghc-text-conversions")
8366 "https://hackage.haskell.org/package/text-conversions/"
8367 "text-conversions-" version ".tar.gz"))
8369 (base32 "089c56vdj9xysqfr1hnvbnrghlg83q6w10xk02gflpsidcpvwmhp"))))
8370 (build-system haskell-build-system)
8372 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
8373 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
8374 ("ghc-errors" ,ghc-errors)))
8376 `(("ghc-hspec" ,ghc-hspec)
8377 ("hspec-discover" ,hspec-discover)))
8378 (home-page "https://github.com/cjdev/text-conversions#readme")
8379 (synopsis "Safe conversions between textual types")
8380 (description "Safe conversions between textual types")
8381 (license license:isc)))
8383 (define-public ghc-doclayout
8385 (name "ghc-doclayout")
8391 "https://hackage.haskell.org/package/doclayout/"
8392 "doclayout-" version ".tar.gz"))
8394 (base32 "1wmnwq28jcyd6c80srivsnd5znmyl9sgmwwnlk2crwiiwqadbal7"))))
8395 (build-system haskell-build-system)
8397 `(("ghc-safe" ,ghc-safe)))
8399 `(("ghc-tasty" ,ghc-tasty)
8400 ("ghc-tasty-golden" ,ghc-tasty-golden)
8401 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
8402 (home-page "https://github.com/jgm/doclayout")
8403 (synopsis "Pretty-printing library for laying out text documents")
8405 "doclayout is a pretty-printing library for laying out text documents,
8406 with several features not present in pretty-printing libraries designed for
8407 code. It was designed for use in @code{Pandoc}.")
8408 (license license:bsd-3)))
8410 (define-public ghc-pandoc
8417 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
8419 (patches (search-patches "ghc-pandoc-fix-html-tests.patch"
8420 "ghc-pandoc-fix-latex-test.patch"))
8423 "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8"))))
8424 (build-system haskell-build-system)
8426 `(("ghc-aeson" ,ghc-aeson)
8427 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
8428 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
8429 ("ghc-blaze-html" ,ghc-blaze-html)
8430 ("ghc-blaze-markup" ,ghc-blaze-markup)
8431 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
8432 ("ghc-data-default" ,ghc-data-default)
8433 ("ghc-diff" ,ghc-diff)
8434 ("ghc-doctemplates" ,ghc-doctemplates)
8435 ("ghc-executable-path" ,ghc-executable-path)
8436 ("ghc-glob" ,ghc-glob)
8437 ("ghc-haddock-library" ,ghc-haddock-library)
8438 ("ghc-hslua" ,ghc-hslua)
8439 ("ghc-hslua-module-system" ,ghc-hslua-module-system)
8440 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
8441 ("ghc-hsyaml" ,ghc-hsyaml)
8442 ("ghc-http" ,ghc-http)
8443 ("ghc-http-client" ,ghc-http-client)
8444 ("ghc-http-client-tls" ,ghc-http-client-tls)
8445 ("ghc-http-types" ,ghc-http-types)
8446 ("ghc-ipynb" ,ghc-ipynb)
8447 ("ghc-juicypixels" ,ghc-juicypixels)
8448 ("ghc-network" ,ghc-network)
8449 ("ghc-network-uri" ,ghc-network-uri)
8450 ("ghc-pandoc-types" ,ghc-pandoc-types)
8451 ("ghc-random" ,ghc-random)
8452 ("ghc-scientific" ,ghc-scientific)
8453 ("ghc-sha" ,ghc-sha)
8454 ("ghc-skylighting" ,ghc-skylighting)
8455 ("ghc-split" ,ghc-split)
8456 ("ghc-syb" ,ghc-syb)
8457 ("ghc-tagsoup" ,ghc-tagsoup)
8458 ("ghc-temporary" ,ghc-temporary)
8459 ("ghc-texmath" ,ghc-texmath)
8460 ("ghc-unicode-transforms" ,ghc-unicode-transforms)
8461 ("ghc-unordered-containers" ,ghc-unordered-containers)
8462 ("ghc-vector" ,ghc-vector)
8463 ("ghc-xml" ,ghc-xml)
8464 ("ghc-zip-archive" ,ghc-zip-archive)
8465 ("ghc-zlib" ,ghc-zlib)))
8467 `(("ghc-tasty" ,ghc-tasty)
8468 ("ghc-tasty-golden" ,ghc-tasty-golden)
8469 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8470 ("ghc-tasty-lua" ,ghc-tasty-lua)
8471 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
8472 ("ghc-quickcheck" ,ghc-quickcheck)
8473 ("ghc-hunit" ,ghc-hunit)))
8474 (home-page "https://pandoc.org")
8475 (synopsis "Conversion between markup formats")
8477 "Pandoc is a Haskell library for converting from one markup format to
8478 another, and a command-line tool that uses this library. It can read and
8479 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
8480 LaTeX, DocBook, and many more.
8482 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
8483 definition lists, tables, and other features. A compatibility mode is
8484 provided for those who need a drop-in replacement for Markdown.pl.")
8485 (license license:gpl2+)))
8487 (define-public ghc-pandoc-citeproc
8489 (name "ghc-pandoc-citeproc")
8494 (uri (string-append "https://hackage.haskell.org/package/"
8495 "pandoc-citeproc/pandoc-citeproc-"
8499 "15mm17awgi1b5yazwhr5nh8b59qml1qk6pz6gpyijks70fq2arsv"))))
8500 (build-system haskell-build-system)
8503 (modify-phases %standard-phases
8504 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
8505 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
8506 (add-before 'configure 'patch-tests
8508 (substitute* "tests/test-pandoc-citeproc.hs"
8509 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
8510 "let allTests = citeprocTests"))))
8511 ;; Tests need to be run after installation.
8513 (add-after 'install 'post-install-check
8514 (assoc-ref %standard-phases 'check)))))
8516 `(("ghc-pandoc-types" ,ghc-pandoc-types)
8517 ("ghc-pandoc" ,ghc-pandoc)
8518 ("ghc-tagsoup" ,ghc-tagsoup)
8519 ("ghc-aeson" ,ghc-aeson)
8520 ("ghc-vector" ,ghc-vector)
8521 ("ghc-xml-conduit" ,ghc-xml-conduit)
8522 ("ghc-unordered-containers" ,ghc-unordered-containers)
8523 ("ghc-data-default" ,ghc-data-default)
8524 ("ghc-setenv" ,ghc-setenv)
8525 ("ghc-split" ,ghc-split)
8526 ("ghc-yaml" ,ghc-yaml)
8527 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
8528 ("ghc-rfc5051" ,ghc-rfc5051)
8529 ("ghc-syb" ,ghc-syb)
8530 ("ghc-old-locale" ,ghc-old-locale)
8531 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
8532 ("ghc-attoparsec" ,ghc-attoparsec)
8533 ("ghc-temporary" ,ghc-temporary)))
8534 (home-page "https://github.com/jgm/pandoc-citeproc")
8535 (synopsis "Library for using pandoc with citeproc")
8537 "The @code{pandoc-citeproc} library exports functions for using the
8538 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
8539 rendering bibliographic reference citations into a variety of styles using a
8540 macro language called @dfn{Citation Style Language} (CSL). This package also
8541 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
8542 and also has a mode for converting bibliographic databases a YAML format
8543 suitable for inclusion in pandoc YAML metadata.")
8544 (license license:bsd-3)))
8546 (define-public ghc-pandoc-types
8548 (name "ghc-pandoc-types")
8549 (version "1.17.6.1")
8552 (uri (string-append "https://hackage.haskell.org/package/"
8553 "pandoc-types/pandoc-types-"
8557 "1d6ygq991ddria71l7hg9yd7lq94sjy4m71rdws1v8hq943c4d0q"))))
8558 (build-system haskell-build-system)
8560 `(("ghc-syb" ,ghc-syb)
8561 ("ghc-aeson" ,ghc-aeson)
8562 ("ghc-string-qq" ,ghc-string-qq)))
8564 `(("ghc-quickcheck" ,ghc-quickcheck)
8565 ("ghc-test-framework" ,ghc-test-framework)
8566 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8567 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
8568 ("ghc-hunit" ,ghc-hunit)))
8569 (home-page "http://johnmacfarlane.net/pandoc")
8570 (synopsis "Types for representing a structured document")
8572 "This module defines the @code{Pandoc} data structure, which is used by
8573 pandoc to represent structured documents. It also provides functions for
8574 building up, manipulating and serialising @code{Pandoc} structures.")
8575 (license license:bsd-3)))
8577 (define-public ghc-parallel
8579 (name "ghc-parallel")
8581 (outputs '("out" "doc"))
8586 "https://hackage.haskell.org/package/parallel/parallel-"
8591 "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"))))
8592 (build-system haskell-build-system)
8593 (home-page "https://hackage.haskell.org/package/parallel")
8594 (synopsis "Parallel programming library")
8596 "This package provides a library for parallel programming.")
8597 (license license:bsd-3)))
8599 (define-public ghc-parsec-numbers
8601 (name "ghc-parsec-numbers")
8606 (uri (string-append "https://hackage.haskell.org/package/"
8607 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
8609 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
8610 (build-system haskell-build-system)
8611 (home-page "https://hackage.haskell.org/package/parsec-numbers")
8612 (synopsis "Utilities for parsing numbers from strings")
8614 "This package provides the number parsers without the need to use a large
8615 (and unportable) token parser.")
8616 (license license:bsd-3)))
8618 (define-public ghc-parser-combinators
8620 (name "ghc-parser-combinators")
8625 (uri (string-append "https://hackage.haskell.org/package/"
8626 "parser-combinators/parser-combinators-"
8630 "149yhbnrrl108h1jinrsxni3rwrldhphpk9bbmbpr90q5fbl4xmc"))))
8631 (build-system haskell-build-system)
8632 (home-page "https://github.com/mrkkrp/parser-combinators")
8633 (synopsis "Commonly useful parser combinators")
8635 "This is a lightweight package providing commonly useful parser
8637 (license license:bsd-3)))
8639 (define-public ghc-parsers
8641 (name "ghc-parsers")
8647 "https://hackage.haskell.org/package/parsers/parsers-"
8652 "0v0smxbzk1qpdfkfqqmrzd2dngv3vxba10mkjn9nfm6a309izf8p"))))
8653 (build-system haskell-build-system)
8654 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
8655 ; -package attoparsec-0.13.0.1"
8657 `(("ghc-base-orphans" ,ghc-base-orphans)
8658 ("ghc-attoparsec" ,ghc-attoparsec)
8659 ("ghc-scientific" ,ghc-scientific)
8660 ("ghc-charset" ,ghc-charset)
8661 ("ghc-unordered-containers" ,ghc-unordered-containers)))
8662 (home-page "https://github.com/ekmett/parsers/")
8663 (synopsis "Parsing combinators")
8664 (description "This library provides convenient combinators for working
8665 with and building parsing combinator libraries. Given a few simple instances,
8666 you get access to a large number of canned definitions. Instances exist for
8667 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
8669 (license license:bsd-3)))
8671 (define-public ghc-path
8679 "https://hackage.haskell.org/package/path/path-"
8684 "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb"))))
8685 (build-system haskell-build-system)
8687 ;; TODO: There are some Windows-related tests and modules that need to be
8691 ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463")))
8693 `(("ghc-aeson" ,ghc-aeson)
8694 ("ghc-exceptions" ,ghc-exceptions)
8695 ("ghc-hashable" ,ghc-hashable)))
8697 `(("ghc-hspec" ,ghc-hspec)
8698 ("ghc-quickcheck" ,ghc-quickcheck)
8699 ("ghc-genvalidity" ,ghc-genvalidity)
8700 ("ghc-genvalidity-property" ,ghc-genvalidity-property)
8701 ("ghc-hspec" ,ghc-hspec)
8702 ("ghc-validity" ,ghc-validity)))
8704 "https://hackage.haskell.org/package/path")
8705 (synopsis "Support for well-typed paths")
8706 (description "This package introduces a type for paths upholding useful
8708 (license license:bsd-3)))
8710 (define-public ghc-path-io
8712 (name "ghc-path-io")
8718 "https://hackage.haskell.org/package/path-io/path-io-"
8723 "0jqx3mi4an4kb3kg78n1p3xrz832yrfrnvj795b0xhkv6h1z5ir3"))))
8724 (build-system haskell-build-system)
8726 `(("ghc-dlist" ,ghc-dlist)
8727 ("ghc-exceptions" ,ghc-exceptions)
8728 ("ghc-path" ,ghc-path)
8729 ("ghc-transformers-base" ,ghc-transformers-base)
8730 ("ghc-unix-compat" ,ghc-unix-compat)
8731 ("ghc-temporary" ,ghc-temporary)))
8733 `(("ghc-hspec" ,ghc-hspec)))
8735 "https://github.com/mrkkrp/path-io")
8736 (synopsis "Functions for manipulating well-typed paths")
8737 (description "This package provides an interface to the @code{directory}
8738 package for users of @code{path}. It also implements some missing stuff like
8739 recursive scanning and copying of directories, working with temporary
8740 files/directories, and more.")
8741 (license license:bsd-3)))
8743 (define-public ghc-paths
8746 (version "0.1.0.12")
8747 (outputs '("out" "doc"))
8752 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
8757 "1164w9pqnf7rjm05mmfjznz7rrn415blrkk1kjc0gjvks1vfdjvf"))))
8758 (build-system haskell-build-system)
8759 (home-page "https://github.com/simonmar/ghc-paths")
8761 "Knowledge of GHC's installation directories")
8763 "Knowledge of GHC's installation directories.")
8764 (license license:bsd-3)))
8766 (define-public ghc-patience
8768 (name "ghc-patience")
8774 "https://hackage.haskell.org/package/patience/patience-"
8778 "1i1b37lgi31c17yrjyf8pdm4nf5lq8vw90z3rri78hf0k66d0p3i"))))
8779 (build-system haskell-build-system)
8780 (home-page "https://hackage.haskell.org/package/patience")
8781 (synopsis "Patience diff and longest increasing subsequence")
8783 "This library implements the 'patience diff' algorithm, as well as the
8784 patience algorithm for the longest increasing subsequence problem.
8785 Patience diff computes the difference between two lists, for example the lines
8786 of two versions of a source file. It provides a good balance between
8787 performance, nice output for humans, and simplicity of implementation.")
8788 (license license:bsd-3)))
8790 (define-public ghc-pattern-arrows
8792 (name "ghc-pattern-arrows")
8798 "mirror://hackage/package/pattern-arrows/pattern-arrows-"
8803 "13q7bj19hd60rnjfc05wxlyck8llxy11z3mns8kxg197wxrdkhkg"))))
8804 (build-system haskell-build-system)
8806 "https://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html")
8807 (synopsis "Arrows for Pretty Printing")
8809 "A library for generating concise pretty printers based on precedence
8811 (license license:expat)))
8813 (define-public ghc-pcre-light
8815 (name "ghc-pcre-light")
8821 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
8826 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
8827 (build-system haskell-build-system)
8831 `(("pkg-config" ,pkg-config)))
8832 (home-page "https://github.com/Daniel-Diaz/pcre-light")
8833 (synopsis "Haskell library for Perl 5 compatible regular expressions")
8834 (description "This package provides a small, efficient, and portable regex
8835 library for Perl 5 compatible regular expressions. The PCRE library is a set
8836 of functions that implement regular expression pattern matching using the same
8837 syntax and semantics as Perl 5.")
8838 (license license:bsd-3)))
8840 (define-public ghc-persistent
8842 (name "ghc-persistent")
8848 "https://hackage.haskell.org/package/persistent/"
8849 "persistent-" version ".tar.gz"))
8852 "1cxswz72sqdg2z1nbpgp1k5qr41djgk8qbf8nz7wfppsrhacyffi"))))
8853 (build-system haskell-build-system)
8855 `(("ghc-aeson" ,ghc-aeson)
8856 ("ghc-attoparsec" ,ghc-attoparsec)
8857 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
8858 ("ghc-blaze-html" ,ghc-blaze-html)
8859 ("ghc-conduit" ,ghc-conduit)
8860 ("ghc-fast-logger" ,ghc-fast-logger)
8861 ("ghc-http-api-data" ,ghc-http-api-data)
8862 ("ghc-monad-logger" ,ghc-monad-logger)
8863 ("ghc-path-pieces" ,ghc-path-pieces)
8864 ("ghc-resource-pool" ,ghc-resource-pool)
8865 ("ghc-resourcet" ,ghc-resourcet)
8866 ("ghc-scientific" ,ghc-scientific)
8867 ("ghc-silently" ,ghc-silently)
8868 ("ghc-unliftio-core" ,ghc-unliftio-core)
8869 ("ghc-unliftio" ,ghc-unliftio)
8870 ("ghc-unordered-containers"
8871 ,ghc-unordered-containers)
8872 ("ghc-vector" ,ghc-vector)))
8873 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
8874 (home-page "https://www.yesodweb.com/book/persistent")
8875 (synopsis "Type-safe, multi-backend data serialization for Haskell")
8876 (description "This Haskell package allows Haskell programs to access data
8877 storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
8879 (license license:expat)))
8881 (define-public ghc-persistent-sqlite
8883 (name "ghc-persistent-sqlite")
8884 (version "2.10.5.2")
8889 "https://hackage.haskell.org/package/persistent-sqlite/"
8890 "persistent-sqlite-" version ".tar.gz"))
8893 "0agag3cgivl6mk38pqzr0qw5lxps9p2bgdwvi5658l46hs7bixxn"))))
8894 (build-system haskell-build-system)
8896 `(("ghc-persistent" ,ghc-persistent)
8897 ("ghc-aeson" ,ghc-aeson)
8898 ("ghc-conduit" ,ghc-conduit)
8899 ("ghc-microlens-th" ,ghc-microlens-th)
8900 ("ghc-monad-logger" ,ghc-monad-logger)
8901 ("ghc-resource-pool" ,ghc-resource-pool)
8902 ("ghc-resourcet" ,ghc-resourcet)
8903 ("ghc-unliftio-core" ,ghc-unliftio-core)
8904 ("ghc-unordered-containers"
8905 ,ghc-unordered-containers)))
8907 `(("ghc-persistent-template"
8908 ,ghc-persistent-template)
8909 ("ghc-persistent-test" ,ghc-persistent-test)
8910 ("ghc-exceptions" ,ghc-exceptions)
8911 ("ghc-fast-logger" ,ghc-fast-logger)
8912 ("ghc-hspec" ,ghc-hspec)
8913 ("ghc-hunit" ,ghc-hunit)
8914 ("ghc-quickcheck" ,ghc-quickcheck)
8915 ("ghc-system-fileio" ,ghc-system-fileio)
8916 ("ghc-system-filepath" ,ghc-system-filepath)
8917 ("ghc-temporary" ,ghc-temporary)))
8919 "https://www.yesodweb.com/book/persistent")
8920 (synopsis "Backend for the persistent library using sqlite3")
8921 (description "This Haskell package includes a thin sqlite3 wrapper based
8922 on the direct-sqlite package, as well as the entire C library, so there are no
8923 system dependencies.")
8924 (license license:expat)))
8926 (define-public ghc-persistent-template
8928 (name "ghc-persistent-template")
8934 "https://hackage.haskell.org/package/persistent-template/"
8935 "persistent-template-" version ".tar.gz"))
8938 "16yjrl0gh4jbs4skr7iv6a55lny59bqhd6hjmvch1cl9j5d0c0g3"))))
8939 (build-system haskell-build-system)
8941 `(("ghc-persistent" ,ghc-persistent)
8942 ("ghc-aeson" ,ghc-aeson)
8943 ("ghc-http-api-data" ,ghc-http-api-data)
8944 ("ghc-monad-control" ,ghc-monad-control)
8945 ("ghc-monad-logger" ,ghc-monad-logger)
8946 ("ghc-path-pieces" ,ghc-path-pieces)
8947 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
8948 ("ghc-unordered-containers"
8949 ,ghc-unordered-containers)))
8951 `(("ghc-hspec" ,ghc-hspec)
8952 ("ghc-quickcheck" ,ghc-quickcheck)))
8953 (home-page "https://www.yesodweb.com/book/persistent")
8954 (synopsis "Type-safe, non-relational, multi-backend persistence")
8955 (description "This Haskell package provides interfaces and helper
8956 functions for the ghc-persistent package.")
8957 (license license:expat)))
8959 (define-public ghc-persistent-test
8961 (name "ghc-persistent-test")
8967 "https://hackage.haskell.org/package/persistent-test/"
8968 "persistent-test-" version ".tar.gz"))
8971 "11aq5cy0n43jamf6mg4sr4300bc2zdbjxsczzxwjkb4hzs0ijsdv"))))
8972 (build-system haskell-build-system)
8974 `(("ghc-aeson" ,ghc-aeson)
8975 ("ghc-blaze-html" ,ghc-blaze-html)
8976 ("ghc-conduit" ,ghc-conduit)
8977 ("ghc-monad-control" ,ghc-monad-control)
8978 ("ghc-monad-logger" ,ghc-monad-logger)
8979 ("ghc-path-pieces" ,ghc-path-pieces)
8980 ("ghc-persistent" ,ghc-persistent)
8981 ("ghc-persistent-template" ,ghc-persistent-template)
8982 ("ghc-random" ,ghc-random)
8983 ("ghc-resourcet" ,ghc-resourcet)
8984 ("ghc-transformers-base" ,ghc-transformers-base)
8985 ("ghc-unliftio" ,ghc-unliftio)
8986 ("ghc-unliftio-core" ,ghc-unliftio-core)
8987 ("ghc-unordered-containers" ,ghc-unordered-containers)))
8989 `(("ghc-quickcheck" ,ghc-quickcheck)
8990 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
8991 ("ghc-hspec" ,ghc-hspec)
8992 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
8993 ("ghc-hunit" ,ghc-hunit)))
8994 (home-page "https://www.yesodweb.com/book/persistent")
8995 (synopsis "Tests for the Persistent database library")
8997 "This is only for use in developing libraries that should conform to
8998 the persistent interface, not for users of the persistent suite of database
9000 (license license:expat)))
9002 (define-public ghc-pipes
9010 "https://hackage.haskell.org/package/pipes/"
9011 "pipes-" version ".tar.gz"))
9014 "1ch3xr5f5if0psd3lsyrpkwrgh36synnzqcpimghprys68l4zfkn"))))
9015 (build-system haskell-build-system)
9017 `(("ghc-exceptions" ,ghc-exceptions)
9018 ("ghc-mmorph" ,ghc-mmorph)
9019 ("ghc-void" ,ghc-void)
9020 ("ghc-semigroups" ,ghc-semigroups)))
9022 `(("ghc-quickcheck" ,ghc-quickcheck)
9023 ("ghc-test-framework" ,ghc-test-framework)
9024 ("ghc-test-framework-quickcheck2"
9025 ,ghc-test-framework-quickcheck2)))
9027 "https://hackage.haskell.org/package/pipes")
9028 (synopsis "Compositional pipelines")
9030 "A clean and powerful stream processing library that lets you build
9031 and connect reusable streaming components. Advantages over traditional streaming
9034 @item Concise API: Use simple commands like @code{for}, (@code{>->}), @code{await},
9036 @item Blazing fast: Implementation tuned for speed, including shortcut fusion
9037 @item Lightweight Dependency: pipes is small and compiles very rapidly, including
9039 @item Elegant semantics: Use practical category theory
9040 @item ListT: Correct implementation of @code{ListT} that interconverts with pipes
9041 @item Bidirectionality: Implement duplex channels
9043 (license license:bsd-3)))
9045 (define-public ghc-pointedlist
9047 (name "ghc-pointedlist")
9053 "https://hackage.haskell.org/package/pointedlist/"
9054 "pointedlist-" version ".tar.gz"))
9057 "16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l"))))
9058 (build-system haskell-build-system)
9060 "https://hackage.haskell.org/package/pointedlist")
9062 "Zipper-like comonad which works as a list, tracking a position")
9064 "A PointedList tracks the position in a non-empty list which works
9065 similarly to a zipper. A current item is always required, and therefore
9066 the list may never be empty. A circular PointedList wraps around to the
9067 other end when progressing past the actual edge.")
9068 (license license:bsd-3)))
9070 (define-public ghc-polyparse
9072 (name "ghc-polyparse")
9078 "https://hackage.haskell.org/package/polyparse/polyparse-"
9083 "19fs18g7fvfdkm9zy28cgighjcxfa6mcpqgyp6whmsjkb3h393fx"))))
9084 (build-system haskell-build-system)
9086 "http://code.haskell.org/~malcolm/polyparse/")
9088 "Alternative parser combinator libraries")
9090 "This package provides a variety of alternative parser combinator
9091 libraries, including the original HuttonMeijer set. The Poly sets have
9092 features like good error reporting, arbitrary token type, running state, lazy
9093 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
9094 standard Read class, for better deserialisation of Haskell values from
9096 (license license:lgpl2.1)))
9098 (define-public ghc-pqueue
9105 (uri (string-append "https://hackage.haskell.org/package/"
9106 "pqueue/pqueue-" version ".tar.gz"))
9109 "1v4zhv2sc1zsw91hvnarkjhayx2dnf7ccxz6rrhsqpcs0szaranj"))))
9110 (build-system haskell-build-system)
9112 `(("ghc-quickcheck" ,ghc-quickcheck)))
9113 (home-page "https://hackage.haskell.org/package/pqueue")
9114 (synopsis "Reliable, persistent, fast priority queues")
9116 "This package provides a fast, reliable priority queue implementation
9117 based on a binomial heap.")
9118 (license license:bsd-3)))
9120 (define-public ghc-prelude-extras
9122 (name "ghc-prelude-extras")
9128 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
9133 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
9134 (build-system haskell-build-system)
9135 (home-page "https://github.com/ekmett/prelude-extras")
9136 (synopsis "Higher order versions of Prelude classes")
9137 (description "This library provides higher order versions of
9138 @code{Prelude} classes to ease programming with polymorphic recursion and
9139 reduce @code{UndecidableInstances}.")
9140 (license license:bsd-3)))
9142 (define-public ghc-prettyclass
9144 (name "ghc-prettyclass")
9149 (uri (string-append "https://hackage.haskell.org/package/"
9150 "prettyclass/prettyclass-" version ".tar.gz"))
9153 "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5"))))
9154 (build-system haskell-build-system)
9155 (home-page "https://hackage.haskell.org/package/prettyclass")
9156 (synopsis "Pretty printing class similar to Show")
9157 (description "This package provides a pretty printing class similar
9158 to @code{Show}, based on the HughesPJ pretty printing library. It
9159 provides the pretty printing class and instances for the Prelude
9161 (license license:bsd-3)))
9163 (define-public ghc-pretty-hex
9165 (name "ghc-pretty-hex")
9170 (uri (string-append "https://hackage.haskell.org/package/"
9171 "pretty-hex-" version "/"
9172 "pretty-hex-" version ".tar.gz"))
9175 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
9176 (build-system haskell-build-system)
9177 (home-page "https://github.com/GaloisInc/hexdump")
9178 (synopsis "Haskell library for hex dumps of ByteStrings")
9179 (description "This Haskell library generates pretty hex dumps of
9180 ByteStrings in the style of other common *nix hex dump tools.")
9181 (license license:bsd-3)))
9183 (define-public ghc-pretty-show
9185 (name "ghc-pretty-show")
9190 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
9191 "pretty-show-" version ".tar.gz"))
9194 "0gs2pabi4qa4b0r5vffpf9b1cf5n9y2939a3lljjw7cmg6xvx5dh"))))
9195 (build-system haskell-build-system)
9197 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
9198 ("ghc-happy" ,ghc-happy)))
9199 (home-page "http://wiki.github.com/yav/pretty-show")
9200 (synopsis "Tools for working with derived `Show` instances")
9202 "This package provides a library and an executable for working with
9203 derived @code{Show} instances. By using the library, derived @code{Show}
9204 instances can be parsed into a generic data structure. The @code{ppsh} tool
9205 uses the library to produce human-readable versions of @code{Show} instances,
9206 which can be quite handy for debugging Haskell programs. We can also render
9207 complex generic values into an interactive Html page, for easier
9209 (license license:expat)))
9211 (define-public ghc-primitive
9213 (name "ghc-primitive")
9215 (outputs '("out" "doc"))
9220 "https://hackage.haskell.org/package/primitive/primitive-"
9225 "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc"))))
9226 (build-system haskell-build-system)
9229 ("1" "18a14k1yiam1m4l29rin9a0y53yp3nxvkz358nysld8aqwy2qsjv")))
9231 "https://github.com/haskell/primitive")
9232 (synopsis "Primitive memory-related operations")
9234 "This package provides various primitive memory-related operations.")
9235 (license license:bsd-3)))
9237 (define-public ghc-process-extras
9239 (name "ghc-process-extras")
9246 "https://hackage.haskell.org/package/process-extras/"
9247 "process-extras-" version ".tar.gz"))
9250 "0klqgr37f1z2z6i0a9b0giapmq0p35l5k9kz1p7f0k1597w7agi9"))))
9251 (build-system haskell-build-system)
9253 `(("ghc-data-default" ,ghc-data-default)
9254 ("ghc-generic-deriving" ,ghc-generic-deriving)
9255 ("ghc-hunit" ,ghc-hunit)
9256 ("ghc-listlike" ,ghc-listlike)))
9257 (home-page "https://github.com/seereason/process-extras")
9258 (synopsis "Extra tools for managing processes")
9259 (description "This package extends
9260 @url{http://hackage.haskell.org/package/process}. It allows you to read
9261 process input and output as ByteStrings or Text, or write your own
9262 ProcessOutput instance. It also provides lazy process input and output,
9263 and a ProcessMaker class for more flexibility in the process creation
9265 (license license:expat)))
9267 (define-public ghc-profunctors
9269 (name "ghc-profunctors")
9275 "https://hackage.haskell.org/package/profunctors/profunctors-"
9280 "1dx3nkc27yxsrbrhh3iwhq7dl1xn6bj7n62yx6nh8vmpbg62lqvl"))))
9281 (build-system haskell-build-system)
9283 `(("ghc-base-orphans" ,ghc-base-orphans)
9284 ("ghc-bifunctors" ,ghc-bifunctors)
9285 ("ghc-comonad" ,ghc-comonad)
9286 ("ghc-contravariant" ,ghc-contravariant)
9287 ("ghc-distributive" ,ghc-distributive)
9288 ("ghc-semigroups" ,ghc-semigroups)
9289 ("ghc-tagged" ,ghc-tagged)))
9290 (home-page "https://github.com/ekmett/profunctors/")
9291 (synopsis "Profunctors for Haskell")
9292 (description "This library provides profunctors for Haskell.")
9293 (license license:bsd-3)))
9295 (define-public ghc-project-template
9297 (name "ghc-project-template")
9303 "https://hackage.haskell.org/package/project-template/project-template-"
9307 "1p69ww4rhah2qxragl615wl4a6mk4x9w09am8knmz3s4lxpljlpb"))))
9308 (build-system haskell-build-system)
9310 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
9311 ("ghc-conduit" ,ghc-conduit)
9312 ("ghc-conduit-extra" ,ghc-conduit-extra)
9313 ("ghc-resourcet" ,ghc-resourcet)))
9315 `(("ghc-hspec" ,ghc-hspec)
9316 ("hspec-discover" ,hspec-discover)
9317 ("ghc-quickcheck" ,ghc-quickcheck)))
9321 "0lq3sqnq0nr0gbvgzp0lqdl3j3mqdmdlf8xsw0j3pjh581xj3k0a")))
9322 (home-page "https://github.com/fpco/haskell-ide")
9323 (synopsis "Specify Haskell project templates and generate files")
9325 "Haskell library for both generating and consuming project templates.
9327 ost IDEs provide the concept of a project template: instead of writing all
9328 of the code for a project from scratch, you select a template, answer a few
9329 questions, and a bunch of files are automatically generated.
9331 project-template tries to provide a canonical Haskell library for implementing
9332 the ideal templating system.")
9333 (license license:bsd-3)))
9335 (define-public ghc-protolude
9337 (name "ghc-protolude")
9343 "mirror://hackage/package/protolude/protolude-"
9348 "0zzkyxz0vmcbncpid7gp72fpjj0fla3gqhlfkij5c5lg12skjgfj"))))
9349 (build-system haskell-build-system)
9351 `(("ghc-async" ,ghc-async)
9352 ("ghc-hashable" ,ghc-hashable)
9353 ("ghc-mtl-compat" ,ghc-mtl-compat)
9354 ("ghc-transformers-compat" ,ghc-transformers-compat)))
9355 (home-page "https://github.com/protolude/protolude")
9356 (synopsis "Sensible set of defaults for writing custom Preludes")
9358 "Protolude gives you sensible defaults for writing custom Preludes to
9359 replace the standard one provided by GHC.")
9360 (license license:expat)))
9362 (define-public ghc-psqueues
9364 (name "ghc-psqueues")
9369 (uri (string-append "https://hackage.haskell.org/package/"
9370 "psqueues-" version "/"
9371 "psqueues-" version ".tar.gz"))
9374 "1yckx2csqswghiy9nfj03cybmza8104nmnpbpcc9ngwlbmakn9i6"))))
9375 (build-system haskell-build-system)
9377 `(("ghc-hashable" ,ghc-hashable)))
9379 `(("ghc-hunit" ,ghc-hunit)
9380 ("ghc-quickcheck" ,ghc-quickcheck)
9381 ("ghc-tagged" ,ghc-tagged)
9382 ("ghc-tasty" ,ghc-tasty)
9383 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9384 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
9385 (home-page "https://github.com/jaspervdj/psqueues")
9386 (synopsis "Pure priority search queues")
9387 (description "The psqueues package provides
9388 @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
9389 three different flavors:
9392 @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
9393 fast insertion, deletion and lookup. This implementation is based on Ralf
9394 Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
9395 Implementation Technique for Priority Search Queues}.
9397 Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
9398 PSQueue} library, although it is considerably faster and provides a slightly
9401 @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
9402 key type to @code{Int} and uses a
9403 @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
9404 with an additional min-heap property.
9406 @item @code{HashPSQ k p v} is a fairly straightforward extension
9407 of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
9408 @code{IntPSQ}. If there are any hash collisions, it uses an
9409 @code{OrdPSQ} to resolve those. The performance of this implementation
9410 is comparable to that of @code{IntPSQ}, but it is more widely
9411 applicable since the keys are not restricted to @code{Int},
9412 but rather to any @code{Hashable} datatype.
9415 Each of the three implementations provides the same API, so they can
9416 be used interchangeably.
9418 Typical applications of Priority Search Queues include:
9421 @item Caches, and more specifically LRU Caches;
9423 @item Pathfinding algorithms, such as Dijkstra's and A*.
9425 (license license:bsd-3)))
9427 (define-public ghc-pwstore-fast
9429 (name "ghc-pwstore-fast")
9435 "https://hackage.haskell.org/package/pwstore-fast/"
9436 "pwstore-fast-" version ".tar.gz"))
9439 "1cpvlwzg3qznhygrr78f75p65mnljd9v5cvnagfxjqppnrkay6bj"))))
9440 (build-system haskell-build-system)
9442 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
9443 ("ghc-cryptohash" ,ghc-cryptohash)
9444 ("ghc-random" ,ghc-random)
9445 ("ghc-byteable" ,ghc-byteable)))
9446 (home-page "https://github.com/PeterScott/pwstore")
9447 (synopsis "Secure password storage")
9449 "To store passwords securely, they should be salted, then hashed with
9450 a slow hash function. This library uses PBKDF1-SHA256, and handles all the
9451 details. It uses the cryptohash package for speed; if you need a pure
9452 Haskell library, pwstore-purehaskell has the exact same API, but uses only
9453 pure Haskell. It is about 25 times slower than this package, but still quite
9455 (license license:bsd-3)))
9457 (define-public ghc-random
9461 (outputs '("out" "doc"))
9466 "https://hackage.haskell.org/package/random/random-"
9470 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
9471 (build-system haskell-build-system)
9472 (home-page "https://hackage.haskell.org/package/random")
9473 (synopsis "Random number library")
9474 (description "This package provides a basic random number generation
9475 library, including the ability to split random number generators.")
9476 (license license:bsd-3)))
9478 (define-public ghc-raw-strings-qq
9480 (name "ghc-raw-strings-qq")
9485 (uri (string-append "https://hackage.haskell.org/package/"
9486 "raw-strings-qq/raw-strings-qq-"
9490 "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f"))))
9491 (build-system haskell-build-system)
9492 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
9493 (home-page "https://github.com/23Skidoo/raw-strings-qq")
9494 (synopsis "Raw string literals for Haskell")
9496 "This package provides a quasiquoter for raw string literals, i.e. string
9497 literals that don't recognise the standard escape sequences. Basically, they
9498 make your code more readable by freeing you from the responsibility to escape
9499 backslashes. They are useful when working with regular expressions,
9500 DOS/Windows paths and markup languages (such as XML).")
9501 (license license:bsd-3)))
9503 (define-public ghc-readable
9505 (name "ghc-readable")
9510 (uri (string-append "https://hackage.haskell.org/package/"
9511 "readable/readable-" version ".tar.gz"))
9514 "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h"))))
9515 (build-system haskell-build-system)
9516 (home-page "https://github.com/mightybyte/readable")
9517 (synopsis "Type class for reading from Text and ByteString")
9518 (description "This package provides a @code{Readable} type class for
9519 reading data types from @code{ByteString} and @code{Text}. It also
9520 includes efficient implementations for common data types.")
9521 (license license:bsd-3)))
9523 (define-public ghc-rebase
9530 (uri (string-append "https://hackage.haskell.org/package/"
9531 "rebase-" version "/"
9532 "rebase-" version ".tar.gz"))
9535 "0q4m2fa7wkgxs0grir8rlqwibasmi3s1x7c107ynndwfm62nzv0a"))))
9536 (build-system haskell-build-system)
9537 (inputs `(("ghc-hashable" ,ghc-hashable)
9538 ("ghc-vector" ,ghc-vector)
9539 ("ghc-unordered-containers" ,ghc-unordered-containers)
9540 ("ghc-scientific" ,ghc-scientific)
9541 ("ghc-uuid" ,ghc-uuid)
9542 ("ghc-dlist" ,ghc-dlist)
9543 ("ghc-void" ,ghc-void)
9544 ("ghc-bifunctors" ,ghc-bifunctors)
9545 ("ghc-profunctors" ,ghc-profunctors)
9546 ("ghc-contravariant" ,ghc-contravariant)
9547 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
9548 ("ghc-semigroups" ,ghc-semigroups)
9549 ("ghc-either" ,ghc-either)
9550 ("ghc-fail" ,ghc-fail)
9551 ("ghc-base-prelude" ,ghc-base-prelude)))
9552 (home-page "https://github.com/nikita-volkov/rebase")
9553 (synopsis "Progressive alternative to the base package
9555 (description "This Haskell package is intended for those who are
9556 tired of keeping long lists of dependencies to the same essential libraries
9557 in each package as well as the endless imports of the same APIs all over again.
9559 It also supports the modern tendencies in the language.
9561 To solve those problems this package does the following:
9564 @item Reexport the original APIs under the @code{Rebase} namespace.
9566 @item Export all the possible non-conflicting symbols from the
9567 @code{Rebase.Prelude} module.
9569 @item Give priority to the modern practices in the conflicting cases.
9572 The policy behind the package is only to reexport the non-ambiguous and
9573 non-controversial APIs, which the community has obviously settled on.
9574 The package is intended to rapidly evolve with the contribution from
9575 the community, with the missing features being added with pull-requests.")
9576 (license license:expat)))
9578 (define-public ghc-reducers
9580 (name "ghc-reducers")
9586 "https://hackage.haskell.org/package/reducers/reducers-"
9591 "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki"))))
9592 (build-system haskell-build-system)
9594 `(("ghc-fingertree" ,ghc-fingertree)
9595 ("ghc-hashable" ,ghc-hashable)
9596 ("ghc-unordered-containers" ,ghc-unordered-containers)
9597 ("ghc-semigroupoids" ,ghc-semigroupoids)
9598 ("ghc-semigroups" ,ghc-semigroups)))
9599 (home-page "https://github.com/ekmett/reducers/")
9600 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
9601 (description "This library provides various semigroups, specialized
9602 containers and a general map/reduce framework for Haskell.")
9603 (license license:bsd-3)))
9605 (define-public ghc-refact
9612 (uri (string-append "https://hackage.haskell.org/package/"
9617 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
9618 (build-system haskell-build-system)
9619 (home-page "https://hackage.haskell.org/package/refact")
9620 (synopsis "Specify refactorings to perform with apply-refact")
9622 "This library provides a datatype which can be interpreted by
9623 @code{apply-refact}. It exists as a separate library so that applications can
9624 specify refactorings without depending on GHC.")
9625 (license license:bsd-3)))
9627 (define-public ghc-reflection
9629 (name "ghc-reflection")
9635 "https://hackage.haskell.org/package/reflection/reflection-"
9640 "0xr947nj1vww5b8fwqmypxm3y3j5sxl4z8wnf834f83jzfzyjbi7"))))
9641 (build-system haskell-build-system)
9642 (inputs `(("ghc-tagged" ,ghc-tagged)))
9644 `(("ghc-hspec" ,ghc-hspec)
9645 ("ghc-quickcheck" ,ghc-quickcheck)
9646 ("hspec-discover" ,hspec-discover)))
9647 (home-page "https://github.com/ekmett/reflection")
9648 (synopsis "Reify arbitrary terms into types that can be reflected back
9650 (description "This package addresses the 'configuration problem' which is
9651 propagating configurations that are available at run-time, allowing multiple
9652 configurations to coexist without resorting to mutable global variables or
9653 @code{System.IO.Unsafe.unsafePerformIO}.")
9654 (license license:bsd-3)))
9656 (define-public ghc-regex
9663 (uri (string-append "https://hackage.haskell.org/package/regex/"
9664 "regex-" version ".tar.gz"))
9667 "1f2z025hif1fr24b5khq3qxxyvpxrnhyx8xmbms332arw28rpkda"))))
9668 (build-system haskell-build-system)
9671 (modify-phases %standard-phases
9672 (add-after 'unpack 'relax-dependencies
9674 (substitute* "regex.cabal"
9675 (("base-compat.*>=.*0.6.*")
9676 "base-compat >= 0.6\n")
9677 (("template-haskell.*>=.*2.7.*")
9678 "template-haskell >= 2.7\n"))
9681 `(("ghc-base-compat" ,ghc-base-compat)
9682 ("ghc-hashable" ,ghc-hashable)
9683 ("ghc-regex-base" ,ghc-regex-base)
9684 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
9685 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
9686 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
9687 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9688 ("ghc-unordered-containers" ,ghc-unordered-containers)
9689 ("ghc-utf8-string" ,ghc-utf8-string)))
9690 (home-page "http://regex.uk")
9691 (synopsis "Toolkit for regex-base")
9693 "This package provides a regular expression toolkit for @code{regex-base}
9694 with compile-time checking of regular expression syntax, data types for
9695 matches and captures, a text replacement toolkit, portable options, high-level
9696 AWK-like tools for building text processing apps, regular expression macros
9697 with parsers and test bench, comprehensive documentation, tutorials and
9699 (license license:bsd-3)))
9701 (define-public ghc-regex-applicative
9703 (name "ghc-regex-applicative")
9709 "https://hackage.haskell.org/package/regex-applicative/"
9710 "regex-applicative-" version ".tar.gz"))
9713 "0p0anx5vamrhrdvviwkh2zn6pa3pv2bjb7nfyc7dvz2q7g14y1lg"))))
9714 (build-system haskell-build-system)
9716 `(("ghc-smallcheck" ,ghc-smallcheck)
9717 ("ghc-tasty" ,ghc-tasty)
9718 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
9719 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9720 (home-page "https://github.com/feuerbach/regex-applicative")
9721 (synopsis "Regex-based parsing with applicative interface")
9723 "@code{regex-applicative} is a Haskell library for parsing using
9724 regular expressions. Parsers can be built using Applicative interface.")
9725 (license license:expat)))
9727 (define-public ghc-regex-base
9729 (name "ghc-regex-base")
9735 "https://hackage.haskell.org/package/regex-base/regex-base-"
9740 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
9741 (build-system haskell-build-system)
9743 "https://sourceforge.net/projects/lazy-regex")
9744 (synopsis "Replaces/Enhances Text.Regex")
9745 (description "@code{Text.Regex.Base} provides the interface API for
9746 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
9747 (license license:bsd-3)))
9749 (define-public ghc-regex-compat
9751 (name "ghc-regex-compat")
9757 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
9762 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
9763 (build-system haskell-build-system)
9765 `(("ghc-regex-base" ,ghc-regex-base)
9766 ("ghc-regex-posix" ,ghc-regex-posix)))
9767 (home-page "https://sourceforge.net/projects/lazy-regex")
9768 (synopsis "Replaces/Enhances Text.Regex")
9769 (description "This library provides one module layer over
9770 @code{regex-posix} to replace @code{Text.Regex}.")
9771 (license license:bsd-3)))
9773 (define-public ghc-regex-compat-tdfa
9775 (name "ghc-regex-compat-tdfa")
9776 (version "0.95.1.4")
9781 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
9785 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
9786 (build-system haskell-build-system)
9788 `(("ghc-regex-base" ,ghc-regex-base)
9789 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
9790 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
9791 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
9793 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
9794 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
9795 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
9797 (license license:bsd-3)))
9799 (define-public ghc-regex-pcre-builtin
9801 (name "ghc-regex-pcre-builtin")
9802 (version "0.94.5.8.8.35")
9805 (uri (string-append "https://hackage.haskell.org/package/"
9806 "regex-pcre-builtin/regex-pcre-builtin-"
9810 "1s755qdg1mxrf125sh83bsc5kjkrj8fkq8wf6dg1jan86c7p7gl4"))))
9811 (build-system haskell-build-system)
9813 `(("ghc-regex-base" ,ghc-regex-base)))
9814 (home-page "https://hackage.haskell.org/package/regex-pcre")
9815 (synopsis "Enhancement of the builtin Text.Regex library")
9817 "This package is an enhancement of the @code{Text.Regex} library,
9818 providing the PCRE backend to accompany regex-base, with bundled code from
9819 @url{https://www.pcre.org}.")
9820 (license license:bsd-3)))
9822 (define-public ghc-regex-posix
9824 (name "ghc-regex-posix")
9830 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
9835 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
9836 (build-system haskell-build-system)
9838 `(("ghc-regex-base" ,ghc-regex-base)))
9839 (home-page "https://sourceforge.net/projects/lazy-regex")
9840 (synopsis "POSIX regular expressions for Haskell")
9841 (description "This library provides the POSIX regex backend used by the
9842 Haskell library @code{regex-base}.")
9843 (license license:bsd-3)))
9845 (define-public ghc-regex-tdfa
9847 (name "ghc-regex-tdfa")
9853 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
9857 "03yhpqrqz977nwlnhnyz9dacnbzw8xb6j18h365rkgmbc05sb3hf"))))
9858 (build-system haskell-build-system)
9860 `(("ghc-regex-base" ,ghc-regex-base)))
9861 (home-page "https://github.com/haskell-hvr/regex-tdfa")
9862 (synopsis "POSIX extended regular expressions in Haskell.")
9864 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
9865 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
9866 inspired by libtre.")
9867 (license license:bsd-3)))
9869 (define-public ghc-regex-tdfa-text
9871 (name "ghc-regex-tdfa-text")
9877 "https://hackage.haskell.org/package/regex-tdfa-text/"
9878 "regex-tdfa-text-" version ".tar.gz"))
9881 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
9882 (build-system haskell-build-system)
9884 `(("ghc-regex-base" ,ghc-regex-base)
9885 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
9887 "https://hackage.haskell.org/package/regex-tdfa-text")
9888 (synopsis "Text interface for regex-tdfa")
9890 "This provides an extra text interface for regex-tdfa.")
9891 (license license:bsd-3)))
9893 (define-public ghc-rerebase
9895 (name "ghc-rerebase")
9901 "https://hackage.haskell.org/package/rerebase/rerebase-"
9905 "1jbqif6k249rkknm2zwk8v8jil3kgi9ar53358v8l4ffx346rm82"))))
9906 (build-system haskell-build-system)
9908 `(("ghc-rebase" ,ghc-rebase)))
9909 (home-page "https://github.com/nikita-volkov/rerebase")
9910 (synopsis "Reexports from ``base'' with many other standard libraries")
9911 (description "A rich drop-in replacement for @code{base}. For details and
9912 documentation please visit @uref{https://github.com/nikita-volkov/rerebase,
9913 the project's home page}.")
9914 (license license:expat)))
9916 (define-public ghc-resolv
9924 "https://hackage.haskell.org/package/resolv/resolv-"
9928 "0wczdy3vmpfcfwjn1m95bygc5d83m97xxmavhdvy5ayn8c402fp4"))))
9929 (build-system haskell-build-system)
9932 (modify-phases %standard-phases
9933 (add-before 'configure 'update-constraints
9935 (substitute* "resolv.cabal"
9936 (("tasty >= 1\\.1 && < 1\\.2")
9937 "tasty >= 1.1 && < 1.3"))
9940 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)))
9942 `(("ghc-tasty" ,ghc-tasty)
9943 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9944 (home-page "https://github.com/haskell/hackage-security")
9945 (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}")
9946 (description "This package implements an API for accessing the
9947 @uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)}
9948 resolver service via the standard @code{libresolv} system library (whose
9949 API is often available directly via the standard @code{libc} C library) on
9951 (license license:gpl3)))
9953 (define-public ghc-resource-pool
9955 (name "ghc-resource-pool")
9960 (uri (string-append "https://hackage.haskell.org/package/"
9961 "resource-pool-" version "/"
9962 "resource-pool-" version ".tar.gz"))
9965 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
9966 (build-system haskell-build-system)
9967 (inputs `(("ghc-hashable" ,ghc-hashable)
9968 ("ghc-monad-control" ,ghc-monad-control)
9969 ("ghc-transformers-base" ,ghc-transformers-base)
9970 ("ghc-vector" ,ghc-vector)))
9971 (home-page "https://github.com/bos/pool")
9972 (synopsis "Striped resource pooling implementation in Haskell")
9973 (description "This Haskell package provides striped pooling abstraction
9974 for managing flexibly-sized collections of resources such as database
9976 (license license:bsd-3)))
9978 (define-public ghc-resourcet
9980 (name "ghc-resourcet")
9985 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
9986 "resourcet-" version ".tar.gz"))
9989 "1rfbfcv3r1h29y0yqr3x6a1s04lbc3vzm3jqnfg4f9rqp9d448qk"))))
9990 (build-system haskell-build-system)
9992 `(("ghc-transformers-base" ,ghc-transformers-base)
9993 ("ghc-monad-control" ,ghc-monad-control)
9994 ("ghc-transformers-compat" ,ghc-transformers-compat)
9995 ("ghc-mmorph" ,ghc-mmorph)
9996 ("ghc-exceptions" ,ghc-exceptions)
9997 ("ghc-unliftio-core" ,ghc-unliftio-core)))
9999 `(("ghc-lifted-base" ,ghc-lifted-base)
10000 ("ghc-hspec" ,ghc-hspec)))
10001 (home-page "https://github.com/snoyberg/conduit")
10002 (synopsis "Deterministic allocation and freeing of scarce resources")
10003 (description "ResourceT is a monad transformer which creates a region of
10004 code where you can safely allocate resources.")
10005 (license license:bsd-3)))
10007 (define-public ghc-retry
10010 (version "0.8.1.0")
10014 (uri (string-append "https://hackage.haskell.org/package/"
10015 "retry/retry-" version ".tar.gz"))
10018 "02k03r86amg1vbrsvb644342ym13d9jwkzki9sk93pdg5l8j35dj"))))
10019 (build-system haskell-build-system)
10021 `(("ghc-exceptions" ,ghc-exceptions)
10022 ("ghc-random" ,ghc-random)))
10024 `(("ghc-hunit" ,ghc-hunit)
10025 ("ghc-tasty" ,ghc-tasty)
10026 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10027 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
10028 ("ghc-hedgehog" ,ghc-hedgehog)))
10029 (home-page "http://github.com/Soostone/retry")
10030 (synopsis "Retry combinators for monadic actions that may fail")
10031 (description "This package exposes combinators that can wrap
10032 arbitrary monadic actions. They run the action and potentially retry
10033 running it with some configurable delay for a configurable number of
10034 times. The purpose is to make it easier to work with IO and especially
10035 network IO actions that often experience temporary failure and warrant
10036 retrying of the original action. For example, a database query may time
10037 out for a while, in which case we should hang back for a bit and retry
10038 the query instead of simply raising an exception.")
10039 (license license:bsd-3)))
10041 (define-public ghc-rfc5051
10043 (name "ghc-rfc5051")
10044 (version "0.1.0.4")
10048 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
10049 "rfc5051-" version ".tar.gz"))
10052 "1lxkq414ni986ciml4gbvf463fn55z299knky7pq3ixb1qislpb1"))))
10053 (build-system haskell-build-system)
10054 (home-page "https://hackage.haskell.org/package/rfc5051")
10055 (synopsis "Simple unicode collation as per RFC5051")
10057 "This library implements @code{unicode-casemap}, the simple, non
10058 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
10059 unicode collation can be done using @code{text-icu}, but that is a big
10060 dependency that depends on a large C library, and @code{rfc5051} might be
10061 better for some purposes.")
10062 (license license:bsd-3)))
10064 (define-public ghc-rio
10067 (version "0.1.12.0")
10071 (uri (string-append
10072 "https://hackage.haskell.org/package/rio/rio-"
10073 version ".tar.gz"))
10076 "0xzjkh6aavynpyskikhs8dmv0zhkiqiwz9zdn80zbd25b2182pif"))))
10077 (build-system haskell-build-system)
10079 `(("ghc-exceptions" ,ghc-exceptions)
10080 ("ghc-hashable" ,ghc-hashable)
10081 ("ghc-microlens" ,ghc-microlens)
10082 ("ghc-primitive" ,ghc-primitive)
10083 ("ghc-typed-process" ,ghc-typed-process)
10084 ("ghc-unliftio" ,ghc-unliftio)
10085 ("ghc-unordered-containers" ,ghc-unordered-containers)
10086 ("ghc-vector" ,ghc-vector)))
10088 `(("ghc-hspec" ,ghc-hspec)
10089 ("hspec-discover" ,hspec-discover)))
10090 (home-page "https://github.com/commercialhaskell/rio#readme")
10091 (synopsis "A standard library for Haskell")
10092 (description "This package works as a prelude replacement for Haskell,
10093 providing more functionality and types out of the box than the standard
10094 prelude (such as common data types like @code{ByteString} and
10095 @code{Text}), as well as removing common ``gotchas'', like partial
10096 functions and lazy I/O. The guiding principle here is:
10098 @item If something is safe to use in general and has no expected naming
10099 conflicts, expose it.
10100 @item If something should not always be used, or has naming conflicts,
10101 expose it from another module in the hierarchy.
10103 (license license:expat)))
10105 (define-public ghc-safe
10112 (uri (string-append
10113 "https://hackage.haskell.org/package/safe/safe-"
10118 "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr"))))
10119 (build-system haskell-build-system)
10121 `(("ghc-quickcheck" ,ghc-quickcheck)))
10122 (home-page "https://github.com/ndmitchell/safe#readme")
10123 (synopsis "Library of safe (exception free) functions")
10124 (description "This library provides wrappers around @code{Prelude} and
10125 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
10127 (license license:bsd-3)))
10129 (define-public ghc-safe-exceptions
10131 (name "ghc-safe-exceptions")
10132 (version "0.1.7.0")
10136 (uri (string-append "https://hackage.haskell.org/package/"
10137 "safe-exceptions/safe-exceptions-"
10138 version ".tar.gz"))
10141 "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q"))))
10142 (build-system haskell-build-system)
10145 ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32")))
10146 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
10148 `(("ghc-hspec" ,ghc-hspec)
10149 ("ghc-void" ,ghc-void)
10150 ("hspec-discover" ,hspec-discover)))
10151 (home-page "https://github.com/fpco/safe-exceptions")
10152 (synopsis "Safe, consistent, and easy exception handling")
10153 (description "Runtime exceptions - as exposed in @code{base} by the
10154 @code{Control.Exception} module - have long been an intimidating part of the
10155 Haskell ecosystem. This package is intended to overcome this. It provides a
10156 safe and simple API on top of the existing exception handling machinery. The
10157 API is equivalent to the underlying implementation in terms of power but
10158 encourages best practices to minimize the chances of getting the exception
10160 (license license:expat)))
10162 (define-public ghc-safeio
10164 (name "ghc-safeio")
10165 (version "0.0.5.0")
10169 (uri (string-append "https://hackage.haskell.org/package/safeio/"
10170 "safeio-" version ".tar.gz"))
10173 "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm"))))
10174 (build-system haskell-build-system)
10176 `(("ghc-conduit" ,ghc-conduit)
10177 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
10178 ("ghc-exceptions" ,ghc-exceptions)
10179 ("ghc-resourcet" ,ghc-resourcet)))
10181 `(("ghc-hunit" ,ghc-hunit)
10182 ("ghc-test-framework" ,ghc-test-framework)
10183 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
10184 ("ghc-test-framework-th" ,ghc-test-framework-th)))
10185 (home-page "https://github.com/luispedro/safeio")
10186 (synopsis "Write output to disk atomically")
10188 "This package implements utilities to perform atomic output so as to
10189 avoid the problem of partial intermediate files.")
10190 (license license:expat)))
10192 (define-public ghc-safesemaphore
10194 (name "ghc-safesemaphore")
10199 (uri (string-append "https://hackage.haskell.org/package/"
10200 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
10203 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
10204 (build-system haskell-build-system)
10206 `(("ghc-hunit" ,ghc-hunit)))
10207 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
10208 (synopsis "Exception safe semaphores")
10209 (description "This library provides exception safe semaphores that can be
10210 used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
10211 are not exception safe and can be broken by @code{killThread}.")
10212 (license license:bsd-3)))
10214 (define-public ghc-sandi
10221 (uri (string-append
10222 "https://hackage.haskell.org/package/sandi/sandi-"
10223 version ".tar.gz"))
10226 "1ndgai8idlxyccvkz5zsgq06v58blc30i6hkky5b1sf5x6gs2h29"))))
10227 (build-system haskell-build-system)
10229 `(("ghc-stringsearch" ,ghc-stringsearch)
10230 ("ghc-conduit" ,ghc-conduit)
10231 ("ghc-exceptions" ,ghc-exceptions)
10232 ("ghc-hunit" ,ghc-hunit)
10233 ("ghc-tasty" ,ghc-tasty)
10234 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10235 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
10236 ("ghc-tasty-th" ,ghc-tasty-th)))
10237 (home-page "https://hackage.haskell.org/package/sandi")
10238 (synopsis "Data encoding library")
10239 (description "Reasonably fast data encoding library.")
10240 (license license:bsd-3)))
10242 (define-public ghc-say
10245 (version "0.1.0.1")
10249 (uri (string-append
10250 "https://hackage.haskell.org/package/say/say-"
10255 "1r5kffjfwpas45g74sip8glrj1m9nygrnxjm7xgw898rq9pnafgn"))))
10256 (build-system haskell-build-system)
10258 `(("ghc-hspec" ,ghc-hspec)
10259 ("hspec-discover" ,hspec-discover)
10260 ("ghc-unliftio" ,ghc-unliftio)))
10261 (home-page "https://github.com/fpco/say")
10263 "Send textual messages to a Handle in a thread-friendly way")
10265 "A thread safe API to write a line of textual data to a Handle, such
10266 as sending some messages to the terminal - that has the following properties:
10268 @item Properly handle character encoding settings on the Handle
10269 @item For reasonably sized messages, ensure that the entire message is written
10270 in one chunk to avoid interleaving data with other threads
10271 @item Avoid unnecessary memory allocations and copies
10272 @item Minimize locking.
10274 (license license:expat)))
10276 (define-public ghc-scientific
10278 (name "ghc-scientific")
10279 (version "0.3.6.2")
10283 (uri (string-append
10284 "https://hackage.haskell.org/package/scientific/scientific-"
10289 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
10290 (build-system haskell-build-system)
10292 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
10293 ("ghc-hashable" ,ghc-hashable)
10294 ("ghc-primitive" ,ghc-primitive)))
10296 `(("ghc-tasty" ,ghc-tasty)
10297 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
10298 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10299 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
10300 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
10301 ("ghc-smallcheck" ,ghc-smallcheck)
10302 ("ghc-quickcheck" ,ghc-quickcheck)))
10303 (home-page "https://github.com/basvandijk/scientific")
10304 (synopsis "Numbers represented using scientific notation")
10305 (description "This package provides @code{Data.Scientific}, which provides
10306 the number type @code{Scientific}. Scientific numbers are arbitrary precision
10307 and space efficient. They are represented using
10308 @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
10310 (license license:bsd-3)))
10312 (define-public ghc-scientific-bootstrap
10314 (inherit ghc-scientific)
10315 (name "ghc-scientific-bootstrap")
10316 (arguments `(#:tests? #f))
10318 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
10319 ("ghc-hashable" ,ghc-hashable)
10320 ("ghc-primitive" ,ghc-primitive)))
10321 (native-inputs '())
10322 (properties '((hidden? #t)))))
10324 (define-public ghc-sdl
10327 (version "0.6.7.0")
10331 (uri (string-append
10332 "https://hackage.haskell.org/package/SDL/SDL-"
10337 "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq"))))
10338 (build-system haskell-build-system)
10341 (home-page "https://hackage.haskell.org/package/SDL")
10342 (synopsis "LibSDL for Haskell")
10343 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
10344 multimedia library designed to provide low level access to audio, keyboard,
10345 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
10346 by MPEG playback software, emulators, and many popular games, including the
10347 award winning Linux port of \"Civilization: Call To Power.\"")
10348 (license license:bsd-3)))
10350 (define-public ghc-sdl2
10353 (version "2.5.0.0")
10357 (uri (string-append "https://hackage.haskell.org/package/"
10358 "sdl2/sdl2-" version ".tar.gz"))
10361 "1x368yhdd55b3cvx8dvj1sj6nzygzigbhrwhssjs4k0rcxlwqfw8"))))
10362 (build-system haskell-build-system)
10363 (arguments '(#:tests? #f)) ; tests require graphical environment
10365 `(("ghc-exceptions" ,ghc-exceptions)
10366 ("ghc-linear" ,ghc-linear)
10367 ("ghc-statevar" ,ghc-statevar)
10368 ("ghc-vector" ,ghc-vector)
10371 `(("ghc-weigh" ,ghc-weigh)
10372 ("pkg-config" ,pkg-config)))
10373 (home-page "https://hackage.haskell.org/package/sdl2")
10374 (synopsis "High- and low-level bindings to the SDL library")
10376 "This package contains bindings to the SDL 2 library, in both high- and
10377 low-level forms. The @code{SDL} namespace contains high-level bindings, where
10378 enumerations are split into sum types, and we perform automatic
10379 error-checking. The @code{SDL.Raw} namespace contains an almost 1-1
10380 translation of the C API into Haskell FFI calls. As such, this does not
10381 contain sum types nor error checking. Thus this namespace is suitable for
10382 building your own abstraction over SDL, but is not recommended for day-to-day
10384 (license license:bsd-3)))
10386 (define-public ghc-sdl2-image
10388 (name "ghc-sdl2-image")
10393 (uri (string-append "https://hackage.haskell.org/package/sdl2-image/"
10394 "sdl2-image-" version ".tar.gz"))
10397 "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr"))))
10398 (build-system haskell-build-system)
10400 `(("ghc-sdl2" ,ghc-sdl2)
10401 ("sdl2-image" ,sdl2-image)))
10403 `(("pkg-config" ,pkg-config)))
10404 (home-page "https://hackage.haskell.org/package/sdl2-image")
10405 (synopsis "Bindings to SDL2_image")
10406 (description "This package provides Haskell bindings to
10407 @code{SDL2_image}.")
10408 (license license:expat)))
10410 (define-public ghc-sdl2-mixer
10412 (name "ghc-sdl2-mixer")
10417 (uri (string-append "https://hackage.haskell.org/package/sdl2-mixer/"
10418 "sdl2-mixer-" version ".tar.gz"))
10421 "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g"))))
10422 (build-system haskell-build-system)
10424 `(("ghc-data-default-class" ,ghc-data-default-class)
10425 ("ghc-lifted-base" ,ghc-lifted-base)
10426 ("ghc-monad-control" ,ghc-monad-control)
10427 ("ghc-sdl2" ,ghc-sdl2)
10428 ("ghc-vector" ,ghc-vector)
10429 ("sdl2-mixer" ,sdl2-mixer)))
10431 `(("pkg-config" ,pkg-config)))
10432 (home-page "https://hackage.haskell.org/package/sdl2-mixer")
10433 (synopsis "Bindings to SDL2 mixer")
10434 (description "This package provides Haskell bindings to
10435 @code{SDL2_mixer}.")
10436 (license license:bsd-3)))
10438 (define-public ghc-sdl-image
10440 (name "ghc-sdl-image")
10441 (version "0.6.2.0")
10445 (uri (string-append
10446 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
10451 "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1"))))
10452 (build-system haskell-build-system)
10454 `(#:configure-flags
10455 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
10456 (sdl-image-include (string-append sdl-image "/include/SDL")))
10457 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
10459 `(("ghc-sdl" ,ghc-sdl)
10460 ("sdl-image" ,sdl-image)))
10461 (home-page "https://hackage.haskell.org/package/SDL-image")
10462 (synopsis "Haskell bindings to libSDL_image")
10463 (description "SDL_image is an image file loading library. It loads images
10464 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
10465 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
10466 (license license:bsd-3)))
10468 (define-public ghc-sdl-mixer
10470 (name "ghc-sdl-mixer")
10471 (version "0.6.3.0")
10475 (uri (string-append
10476 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
10481 "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r"))))
10482 (build-system haskell-build-system)
10484 `(#:configure-flags
10485 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
10486 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
10487 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
10489 `(("ghc-sdl" ,ghc-sdl)
10490 ("sdl-mixer" ,sdl-mixer)))
10491 (home-page "https://hackage.haskell.org/package/SDL-mixer")
10492 (synopsis "Haskell bindings to libSDL_mixer")
10493 (description "SDL_mixer is a sample multi-channel audio mixer library. It
10494 supports any number of simultaneously playing channels of 16 bit stereo audio,
10495 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
10496 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
10497 (license license:bsd-3)))
10499 (define-public ghc-securemem
10501 (name "ghc-securemem")
10506 (uri (string-append "https://hackage.haskell.org/package/"
10507 "securemem-" version "/"
10508 "securemem-" version ".tar.gz"))
10511 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
10512 (build-system haskell-build-system)
10513 (inputs `(("ghc-byteable" ,ghc-byteable)
10514 ("ghc-memory" ,ghc-memory)))
10515 (home-page "https://github.com/vincenthz/hs-securemem")
10516 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
10518 (description "SecureMem is similar to ByteString, except that it provides
10519 a memory chunk that will be auto-scrubbed after it run out of scope.")
10520 (license license:bsd-3)))
10522 (define-public ghc-semialign
10524 (name "ghc-semialign")
10529 (uri (string-append
10530 "https://hackage.haskell.org/package/semialign/semialign-"
10535 "004x0a80sqqdgvsyk4z0nasxpi6z3g1d8kgwj804bj9ka8dlc75m"))))
10536 (build-system haskell-build-system)
10538 `(("ghc-these" ,ghc-these)
10539 ("ghc-base-compat" ,ghc-base-compat)
10540 ("ghc-hashable" ,ghc-hashable)
10541 ("ghc-tagged" ,ghc-tagged)
10542 ("ghc-unordered-containers" ,ghc-unordered-containers)
10543 ("ghc-vector" ,ghc-vector)
10544 ("ghc-semigroupoids" ,ghc-semigroupoids)))
10548 "0qnqnyfng4kwy2h2anrcy5id2ijnawava3zcc5h5b8ri1y6ks6zi")))
10550 "https://github.com/isomorphism/these")
10552 "Align and Zip type-classes from the common Semialign ancestor ")
10554 "The major use of @code{These} of this is provided by the
10555 @code{align} member of @code{Semialign} class, representing a
10556 generalized notion of \"zipping with padding\" that combines
10557 structures without truncating to the size of the smaller input. It
10558 turns out that @code{zip} operation fits well the @code{Semialign}
10559 class, forming lattice-like structure.")
10560 (license license:bsd-3)))
10562 (define-public ghc-semigroupoids
10564 (name "ghc-semigroupoids")
10569 (uri (string-append
10570 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
10575 "016hc4imr9l4szs3p7f1aahvxr5wv4clvr3qzrm3nibssg5vrs61"))))
10576 (build-system haskell-build-system)
10578 `(("ghc-base-orphans" ,ghc-base-orphans)
10579 ("ghc-transformers-compat" ,ghc-transformers-compat)
10580 ("ghc-bifunctors" ,ghc-bifunctors)
10581 ("ghc-comonad" ,ghc-comonad)
10582 ("ghc-contravariant" ,ghc-contravariant)
10583 ("ghc-distributive" ,ghc-distributive)
10584 ("ghc-hashable" ,ghc-hashable)
10585 ("ghc-semigroups" ,ghc-semigroups)
10586 ("ghc-tagged" ,ghc-tagged)
10587 ("ghc-unordered-containers" ,ghc-unordered-containers)))
10589 `(("cabal-doctest" ,cabal-doctest)
10590 ("ghc-doctest" ,ghc-doctest)))
10591 (home-page "https://github.com/ekmett/semigroupoids")
10592 (synopsis "Semigroupoids operations for Haskell")
10593 (description "This library provides a wide array of (semi)groupoids and
10594 operations for working with them. A @code{Semigroupoid} is a @code{Category}
10595 without the requirement of identity arrows for every object in the category.
10596 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
10597 Finally, to work with these weaker structures it is beneficial to have
10598 containers that can provide stronger guarantees about their contents, so
10599 versions of @code{Traversable} and @code{Foldable} that can be folded with
10600 just a @code{Semigroup} are added.")
10601 (license license:bsd-3)))
10603 (define-public ghc-semigroups
10605 (name "ghc-semigroups")
10610 (uri (string-append
10611 "https://hackage.haskell.org/package/semigroups/semigroups-"
10616 "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb"))))
10617 (build-system haskell-build-system)
10619 `(("ghc-nats" ,ghc-nats)
10620 ("ghc-tagged" ,ghc-tagged)
10621 ("ghc-unordered-containers" ,ghc-unordered-containers)
10622 ("ghc-hashable" ,ghc-hashable)))
10623 (home-page "https://github.com/ekmett/semigroups/")
10624 (synopsis "Semigroup operations for Haskell")
10625 (description "This package provides semigroups for Haskell. In
10626 mathematics, a semigroup is an algebraic structure consisting of a set
10627 together with an associative binary operation. A semigroup generalizes a
10628 monoid in that there might not exist an identity element. It
10629 also (originally) generalized a group (a monoid with all inverses) to a type
10630 where every element did not have to have an inverse, thus the name
10632 (license license:bsd-3)))
10634 (define-public ghc-semigroups-bootstrap
10636 (inherit ghc-semigroups)
10637 (name "ghc-semigroups-bootstrap")
10639 `(("ghc-nats" ,ghc-nats-bootstrap)
10640 ("ghc-tagged" ,ghc-tagged)
10641 ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap)
10642 ("ghc-hashable" ,ghc-hashable-bootstrap)))
10643 (properties '((hidden? #t)))))
10645 (define-public ghc-setenv
10647 (name "ghc-setenv")
10648 (version "0.1.1.3")
10652 (uri (string-append
10653 "https://hackage.haskell.org/package/setenv/setenv-"
10658 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
10659 (build-system haskell-build-system)
10660 (home-page "https://hackage.haskell.org/package/setenv")
10661 (synopsis "Library for setting environment variables")
10662 (description "This package provides a Haskell library for setting
10663 environment variables.")
10664 (license license:expat)))
10666 (define-public ghc-setlocale
10668 (name "ghc-setlocale")
10669 (version "1.0.0.9")
10672 (uri (string-append
10673 "https://hackage.haskell.org/package/setlocale-"
10674 version "/setlocale-" version ".tar.gz"))
10677 "18b6xafspzxrmz5m9r9nzy3z053crqi59xc8n8aqd4gw0pvqdcrv"))))
10678 (build-system haskell-build-system)
10679 (home-page "https://hackage.haskell.org/package/setlocale")
10680 (synopsis "Haskell bindings to setlocale")
10681 (description "This package provides Haskell bindings to the
10682 @code{setlocale} C function.")
10683 (license license:bsd-3)))
10685 (define-public ghc-shakespeare
10687 (name "ghc-shakespeare")
10692 (uri (string-append "https://hackage.haskell.org/package/"
10693 "shakespeare-" version "/"
10694 "shakespeare-" version ".tar.gz"))
10697 "1mc1a0vv070gcawwcx6vzpj6gpfh1qnlqrndiyfic3p500y656vh"))))
10698 (build-system haskell-build-system)
10699 (inputs `(("ghc-aeson" ,ghc-aeson)
10700 ("ghc-blaze-markup" ,ghc-blaze-markup)
10701 ("ghc-blaze-html" ,ghc-blaze-html)
10702 ("ghc-exceptions" ,ghc-exceptions)
10703 ("ghc-vector" ,ghc-vector)
10704 ("ghc-unordered-containers" ,ghc-unordered-containers)
10705 ("ghc-scientific" ,ghc-scientific)))
10706 (native-inputs `(("ghc-hspec" ,ghc-hspec)
10707 ("ghc-hunit" ,ghc-hunit)
10708 ("hspec-discover" ,hspec-discover)))
10709 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
10710 (synopsis "Family of type-safe template languages for Haskell")
10711 (description "This Haskell package provides a family of type-safe
10712 templates with simple variable interpolation. Shakespeare templates can
10713 be used inline with a quasi-quoter or in an external file and it
10714 interpolates variables according to the type being inserted.")
10715 (license license:expat)))
10717 (define-public ghc-shelly
10719 (name "ghc-shelly")
10724 (uri (string-append
10725 "https://hackage.haskell.org/package/shelly/shelly-"
10726 version ".tar.gz"))
10729 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
10730 (build-system haskell-build-system)
10732 `(("ghc-unix-compat" ,ghc-unix-compat)
10733 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
10734 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
10735 ("ghc-monad-control" ,ghc-monad-control)
10736 ("ghc-lifted-base" ,ghc-lifted-base)
10737 ("ghc-lifted-async" ,ghc-lifted-async)
10738 ("ghc-exceptions" ,ghc-exceptions)
10739 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
10740 ("ghc-async" ,ghc-async)
10741 ("ghc-transformers-base" ,ghc-transformers-base)
10742 ("ghc-hunit" ,ghc-hunit)
10743 ("ghc-hspec" ,ghc-hspec)
10744 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
10745 (home-page "https://github.com/yesodweb/Shelly.hs")
10746 (synopsis "Shell-like (systems) programming in Haskell")
10748 "Shelly provides convenient systems programming in Haskell, similar in
10749 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
10750 (license license:bsd-3)))
10752 (define-public ghc-silently
10754 (name "ghc-silently")
10755 (version "1.2.5.1")
10759 (uri (string-append
10760 "https://hackage.haskell.org/package/silently/silently-"
10765 "1lgs1gsr5dp0x21diqn4l03fxgai2kgdmj85gqp0iz3zykvbmjbz"))))
10766 (build-system haskell-build-system)
10767 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
10769 ;; `(("ghc-temporary" ,ghc-temporary)))
10770 (home-page "https://github.com/hspec/silently")
10771 (synopsis "Prevent writing to stdout")
10772 (description "This package provides functions to prevent or capture
10773 writing to stdout and other handles.")
10774 (license license:bsd-3)))
10776 (define-public ghc-simple-reflect
10778 (name "ghc-simple-reflect")
10783 (uri (string-append
10784 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
10789 "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7"))))
10790 (build-system haskell-build-system)
10792 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
10794 "Simple reflection of expressions containing variables")
10796 "This package allows simple reflection of expressions containing
10797 variables. Reflection here means that a Haskell expression is turned into a
10798 string. The primary aim of this package is teaching and understanding; there
10799 are no options for manipulating the reflected expressions beyond showing
10801 (license license:bsd-3)))
10803 (define-public ghc-simple-sendfile
10805 (name "ghc-simple-sendfile")
10810 (uri (string-append "https://hackage.haskell.org/package/"
10811 "simple-sendfile-" version "/"
10812 "simple-sendfile-" version ".tar.gz"))
10815 "112j0qfsjazf9wg1zywf7hjybgsiywk9wkm27yi8xzv27hmlv1mn"))))
10816 (build-system haskell-build-system)
10818 `(("ghc-conduit" ,ghc-conduit)
10819 ("ghc-conduit-extra" ,ghc-conduit-extra)
10820 ("ghc-network" ,ghc-network)
10821 ("ghc-resourcet" ,ghc-resourcet)))
10823 `(("ghc-hspec" ,ghc-hspec)
10824 ("hspec-discover" ,hspec-discover)))
10825 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
10826 (synopsis "Cross platform library for the sendfile system call")
10827 (description "This library tries to call minimum system calls which
10828 are the bottleneck of web servers.")
10829 (license license:bsd-3)))
10831 (define-public ghc-size-based
10833 (name "ghc-size-based")
10834 (version "0.1.2.0")
10838 (uri (string-append "https://hackage.haskell.org/package/"
10839 "size-based/size-based-" version ".tar.gz"))
10842 "06hmlic0n73ncwlkpx49xlv09bzsrr27ncnp5byhzlknak2gd7vp"))))
10843 (build-system haskell-build-system)
10845 `(("ghc-dictionary-sharing" ,ghc-dictionary-sharing)
10846 ("ghc-testing-type-modifiers" ,ghc-testing-type-modifiers)
10847 ("ghc-semigroups" ,ghc-semigroups)))
10850 ("1" "0kax1ypjyglkn6iff1x4yz12y7f2n249m95xvdhrc63hsa4xlcqv")))
10851 (home-page "https://hackage.haskell.org/package/size-based")
10852 (synopsis "Sized functors for size-based enumerations")
10853 (description "This library provides a framework for size-based
10855 (license license:bsd-3)))
10857 (define-public ghc-skylighting-core
10859 (name "ghc-skylighting-core")
10860 (version "0.8.2.1")
10863 (uri (string-append "https://hackage.haskell.org/package/"
10864 "skylighting-core/skylighting-core-"
10865 version ".tar.gz"))
10868 "0hdchivb4af9w7v5v7lrwfwawd3kcwmpzk69m1vkkm3pis8lcr1s"))))
10869 (build-system haskell-build-system)
10871 `(("ghc-aeson" ,ghc-aeson)
10872 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
10873 ("ghc-attoparsec" ,ghc-attoparsec)
10874 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
10875 ("ghc-blaze-html" ,ghc-blaze-html)
10876 ("ghc-case-insensitive" ,ghc-case-insensitive)
10877 ("ghc-colour" ,ghc-colour)
10878 ("ghc-hxt" ,ghc-hxt)
10879 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
10880 ("ghc-safe" ,ghc-safe)
10881 ("ghc-utf8-string" ,ghc-utf8-string)))
10883 `(("ghc-diff" ,ghc-diff)
10884 ("ghc-hunit" ,ghc-hunit)
10885 ("ghc-pretty-show" ,ghc-pretty-show)
10886 ("ghc-quickcheck" ,ghc-quickcheck)
10887 ("ghc-tasty" ,ghc-tasty)
10888 ("ghc-tasty-golden" ,ghc-tasty-golden)
10889 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10890 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
10891 (home-page "https://github.com/jgm/skylighting")
10892 (synopsis "Syntax highlighting library")
10893 (description "Skylighting is a syntax highlighting library with support
10894 for over one hundred languages. It derives its tokenizers from XML syntax
10895 definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
10896 supported by that framework can be added. An optional command-line program is
10897 provided. Skylighting is intended to be the successor to highlighting-kate.")
10898 (license license:gpl2)))
10900 (define-public ghc-skylighting
10902 (inherit ghc-skylighting-core)
10903 (name "ghc-skylighting")
10904 (version "0.8.2.1")
10907 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
10908 version "/skylighting-" version ".tar.gz"))
10911 "1xls8ycad77m55ax4hp55k60h3pi5sm3m32hycbc8baixbgfx5xz"))))
10913 `(("ghc-skylighting-core" ,ghc-skylighting-core)
10914 ,@(package-inputs ghc-skylighting-core)))))
10916 (define-public ghc-smallcheck
10918 (name "ghc-smallcheck")
10923 (uri (string-append
10924 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
10929 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
10930 (build-system haskell-build-system)
10932 `(("ghc-logict" ,ghc-logict)))
10934 "https://github.com/feuerbach/smallcheck")
10935 (synopsis "Property-based testing library")
10936 (description "SmallCheck is a testing library that verifies
10937 properties for all test cases up to some depth. The test cases are generated
10938 automatically by SmallCheck.")
10939 (license license:bsd-3)))
10941 (define-public ghc-socks
10947 (uri (string-append "https://hackage.haskell.org/package/"
10948 "socks/socks-" version ".tar.gz"))
10951 "0wvaxy3dkv97wrncjv1rxrmjr4014hgxz82kixvcwqdhidalfi3k"))))
10952 (build-system haskell-build-system)
10954 `(("ghc-cereal" ,ghc-cereal)
10955 ("ghc-basement" ,ghc-basement)
10956 ("ghc-network" ,ghc-network)))
10957 (home-page "https://github.com/vincenthz/hs-socks")
10958 (synopsis "SOCKS proxy (version 5) implementation")
10960 "This library provides a SOCKS proxy (version 5) implementation.")
10961 (license license:bsd-3)))
10963 (define-public ghc-sop-core
10965 (name "ghc-sop-core")
10966 (version "0.4.0.0")
10970 (uri (string-append "https://hackage.haskell.org/package/"
10971 "sop-core/sop-core-" version ".tar.gz"))
10974 "07ci2mh8cbjvipb576rxsj3iyhkj5c5dnsns4xkdppp2p3pv10d3"))))
10975 (build-system haskell-build-system)
10976 (home-page "https://hackage.haskell.org/package/sop-core")
10977 (synopsis "True Sums of Products")
10978 (description "This package provides an implementation of
10979 @math{n}-ary sums and @math{n}-ary products. The module @code{Data.SOP}
10980 is the main module of this library and contains more detailed
10981 documentation. The main use case of this package is to serve as the
10982 core of @url{https://hackage.haskell.org/package/generics-sop,
10984 (license license:bsd-3)))
10986 (define-public ghc-split
10989 (version "0.2.3.3")
10990 (outputs '("out" "doc"))
10994 (uri (string-append
10995 "https://hackage.haskell.org/package/split/split-"
11000 "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x"))))
11001 (build-system haskell-build-system)
11004 ("2" "1c8bcssxq5rkxkixgms6w6x6lzf4n7cxk6cx6av1dp3lixdy9j34")))
11006 `(("ghc-quickcheck" ,ghc-quickcheck)))
11007 (home-page "https://hackage.haskell.org/package/split")
11008 (synopsis "Combinator library for splitting lists")
11009 (description "This package provides a collection of Haskell functions for
11010 splitting lists into parts, akin to the @code{split} function found in several
11011 mainstream languages.")
11012 (license license:bsd-3)))
11014 (define-public ghc-splitmix
11016 (name "ghc-splitmix")
11021 (uri (string-append "https://hackage.haskell.org/package/"
11022 "splitmix/splitmix-" version ".tar.gz"))
11025 "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w"))))
11026 (build-system haskell-build-system)
11028 `(("ghc-random" ,ghc-random)))
11030 `(("ghc-hunit" ,ghc-hunit)
11031 ("ghc-async" ,ghc-async)
11032 ("ghc-base-compat-batteries" ,ghc-base-compat-batteries)
11033 ("ghc-tf-random" ,ghc-tf-random)
11034 ("ghc-vector" ,ghc-vector)))
11035 (home-page "https://hackage.haskell.org/package/splitmix")
11036 (synopsis "Fast and splittable pseudorandom number generator")
11037 (description "This package provides a Pure Haskell implementation of the
11038 SplitMix pseudorandom number generator. SplitMix is a \"splittable\"
11039 pseudorandom number generator that is quite fast: 9 64-bit
11040 arithmetic/logical operations per 64 bits generated. SplitMix is tested
11041 with two standard statistical test suites (DieHarder and TestU01, this
11042 implementation only using the former) and it appears to be adequate for
11043 \"everyday\" use, such as Monte Carlo algorithms and randomized data
11044 structures where speed is important. In particular, it @strong{should not
11045 be used for cryptographic or security applications}, because generated
11046 sequences of pseudorandom values are too predictable (the mixing functions
11047 are easily inverted, and two successive outputs suffice to reconstruct the
11049 (license license:bsd-3)))
11051 (define-public ghc-splitmix-bootstrap
11053 (inherit ghc-splitmix)
11054 (name "ghc-splitmix-bootstrap")
11055 (arguments `(#:tests? #f))
11056 (native-inputs '())
11057 (properties '((hidden? #t)))))
11059 (define-public ghc-statevar
11061 (name "ghc-statevar")
11066 (uri (string-append
11067 "https://hackage.haskell.org/package/StateVar/StateVar-"
11072 "12sz6zkc9j5z3lwrjvljrkfxa5vhwnir5wsarigz2f6d3w13dh5g"))))
11073 (build-system haskell-build-system)
11074 (home-page "https://hackage.haskell.org/package/StateVar")
11075 (synopsis "State variables for Haskell")
11076 (description "This package provides state variables, which are references
11077 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
11078 (license license:bsd-3)))
11080 (define-public ghc-statistics
11082 (name "ghc-statistics")
11083 (version "0.15.1.1")
11087 (uri (string-append "https://hackage.haskell.org/package/"
11088 "statistics-" version "/"
11089 "statistics-" version ".tar.gz"))
11092 "015rn74f1glii26j4b2fh1fc63xvxzrh2xckiancz48kc8jdzabj"))))
11093 (build-system haskell-build-system)
11095 '(;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse".
11098 `(("ghc-aeson" ,ghc-aeson)
11099 ("ghc-async" ,ghc-async)
11100 ("ghc-base-orphans" ,ghc-base-orphans)
11101 ("ghc-dense-linear-algebra" ,ghc-dense-linear-algebra)
11102 ("ghc-math-functions" ,ghc-math-functions)
11103 ("ghc-monad-par" ,ghc-monad-par)
11104 ("ghc-mwc-random" ,ghc-mwc-random)
11105 ("ghc-primitive" ,ghc-primitive)
11106 ("ghc-vector" ,ghc-vector)
11107 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
11108 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
11109 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
11111 `(("ghc-hunit" ,ghc-hunit)
11112 ("ghc-quickcheck" ,ghc-quickcheck)
11113 ("ghc-ieee754" ,ghc-ieee754)
11114 ("ghc-test-framework" ,ghc-test-framework)
11115 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11116 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
11117 (home-page "https://github.com/bos/mwc-random")
11118 (synopsis "Haskell library of statistical types, data, and functions")
11119 (description "This library provides a number of common functions
11120 and types useful in statistics. We focus on high performance, numerical
11121 robustness, and use of good algorithms. Where possible, we provide references
11122 to the statistical literature.
11124 The library's facilities can be divided into four broad categories:
11127 @item Working with widely used discrete and continuous probability
11128 distributions. (There are dozens of exotic distributions in use; we focus
11129 on the most common.)
11131 @item Computing with sample data: quantile estimation, kernel density
11132 estimation, histograms, bootstrap methods, significance testing,
11133 and regression and autocorrelation analysis.
11135 @item Random variate generation under several different distributions.
11137 @item Common statistical tests for significant differences between samples.
11139 (license license:bsd-2)))
11141 (define-public ghc-stm-chans
11143 (name "ghc-stm-chans")
11144 (version "3.0.0.4")
11148 (uri (string-append "https://hackage.haskell.org/package/"
11149 "stm-chans-" version "/"
11150 "stm-chans-" version ".tar.gz"))
11153 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
11154 (build-system haskell-build-system)
11155 (home-page "https://hackage.haskell.org/package/stm-chans")
11156 (synopsis "Additional types of channels for ghc-stm")
11157 (description "This Haskell package offers a collection of channel types,
11158 similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
11160 (license license:bsd-3)))
11162 (define-public ghc-stm-conduit
11164 (name "ghc-stm-conduit")
11169 (uri (string-append "https://hackage.haskell.org/package/stm-conduit/"
11170 "stm-conduit-" version ".tar.gz"))
11173 "0hhlxvpp7mah8dcvkknh6skx44jfk3092zz2w52zlr255bkmn3p8"))))
11174 (build-system haskell-build-system)
11176 `(("ghc-stm-chans" ,ghc-stm-chans)
11177 ("ghc-cereal" ,ghc-cereal)
11178 ("ghc-cereal-conduit" ,ghc-cereal-conduit)
11179 ("ghc-conduit" ,ghc-conduit)
11180 ("ghc-conduit-extra" ,ghc-conduit-extra)
11181 ("ghc-exceptions" ,ghc-exceptions)
11182 ("ghc-resourcet" ,ghc-resourcet)
11183 ("ghc-async" ,ghc-async)
11184 ("ghc-monad-loops" ,ghc-monad-loops)
11185 ("ghc-unliftio" ,ghc-unliftio)))
11187 `(("ghc-doctest" ,ghc-doctest)
11188 ("ghc-quickcheck" ,ghc-quickcheck)
11189 ("ghc-hunit" ,ghc-hunit)
11190 ("ghc-test-framework" ,ghc-test-framework)
11191 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11192 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
11193 (home-page "https://github.com/cgaebel/stm-conduit")
11194 (synopsis "Introduces conduits to channels and promotes using conduits concurrently")
11196 "This package provides two simple conduit wrappers around STM channels: a
11197 source and a sink.")
11198 (license license:bsd-3)))
11200 (define-public ghc-stmonadtrans
11202 (name "ghc-stmonadtrans")
11207 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
11208 "/STMonadTrans-" version ".tar.gz"))
11210 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
11211 (build-system haskell-build-system)
11212 (home-page "https://hackage.haskell.org/package/STMonadTrans")
11213 (synopsis "Monad transformer version of the ST monad")
11215 "This package provides a monad transformer version of the @code{ST} monad
11216 for strict state threads.")
11217 (license license:bsd-3)))
11219 (define-public ghc-storable-complex
11221 (name "ghc-storable-complex")
11222 (version "0.2.3.0")
11226 (uri (string-append
11227 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
11228 version ".tar.gz"))
11230 (base32 "0fnwbfmd5vsaaqvf9182qdcjrzcfjd1zhdyvjwzifbwvn6r9kx4s"))))
11231 (build-system haskell-build-system)
11233 `(("ghc-base-orphans" ,ghc-base-orphans)))
11234 (home-page "https://github.com/cartazio/storable-complex")
11235 (synopsis "Haskell Storable instance for Complex")
11236 (description "This package provides a Haskell library including a
11237 Storable instance for Complex which is binary compatible with C99, C++
11238 and Fortran complex data types.")
11239 (license license:bsd-3)))
11241 (define-public ghc-storable-record
11243 (name "ghc-storable-record")
11250 "https://hackage.haskell.org/package/storable-record/"
11251 "storable-record-" version ".tar.gz"))
11254 "0hjs1km0fc9ch0i1rbycxia5w3939hk4p4md73ikgg4aipqb5zyf"))))
11255 (build-system haskell-build-system)
11257 `(("ghc-semigroups" ,ghc-semigroups)
11258 ("ghc-utility-ht" ,ghc-utility-ht)
11259 ("ghc-storablevector" ,ghc-storablevector)
11260 ("ghc-timeit" ,ghc-timeit)))
11261 (home-page "https://hackage.haskell.org/package/storable-record")
11262 (synopsis "Elegant definition of Storable instances for records")
11263 (description "With this package you can build a Storable instance of
11264 a record type from Storable instances of its elements in an elegant way.
11265 It does not do any magic, just a bit arithmetic to compute the right
11266 offsets, that would be otherwise done manually or by a preprocessor like
11267 C2HS. There is no guarantee that the generated memory layout is
11268 compatible with that of a corresponding C struct. However, the module
11269 generates the smallest layout that is possible with respect to the
11270 alignment of the record elements.")
11271 (license license:bsd-3)))
11273 (define-public ghc-storable-tuple
11275 (name "ghc-storable-tuple")
11276 (version "0.0.3.3")
11282 "https://hackage.haskell.org/package/storable-tuple/"
11283 "storable-tuple-" version ".tar.gz"))
11286 "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw"))))
11287 (build-system haskell-build-system)
11289 `(("ghc-storable-record" ,ghc-storable-record)
11290 ("ghc-utility-ht" ,ghc-utility-ht)
11291 ("ghc-base-orphans" ,ghc-base-orphans)))
11292 (home-page "https://hackage.haskell.org/package/storable-tuple")
11293 (synopsis "Storable instance for pairs and triples")
11294 (description "This package provides a Storable instance for pairs
11295 and triples which should be binary compatible with C99 and C++. The
11296 only purpose of this package is to provide a standard location for this
11297 instance so that other packages needing this instance can play nicely
11299 (license license:bsd-3)))
11301 (define-public ghc-storablevector
11303 (name "ghc-storablevector")
11310 "https://hackage.haskell.org/package/storablevector/storablevector-"
11311 version ".tar.gz"))
11314 "1zmr738vwnhnyxbikayqnaz31ilv2qlmscp6iqgl7adcfbal4dzq"))))
11315 (build-system haskell-build-system)
11317 `(("ghc-non-negative" ,ghc-non-negative)
11318 ("ghc-utility-ht" ,ghc-utility-ht)
11319 ("ghc-semigroups" ,ghc-semigroups)
11320 ("ghc-unsafe" ,ghc-unsafe)
11321 ("ghc-quickcheck" ,ghc-quickcheck)
11322 ("ghc-syb" ,ghc-syb)))
11323 (home-page "https://www.haskell.org/haskellwiki/Storable_Vector")
11324 (synopsis "Fast, packed, strict storable arrays with a list interface")
11325 (description "This library provides fast, packed, strict storable
11326 arrays with a list interface, a chunky lazy list interface with variable
11327 chunk size and an interface for write access via the ST monad. This is
11328 much like bytestring and binary but can be used for every
11329 @code{Foreign.Storable.Storable} type. See also
11330 @url{http://hackage.haskell.org/package/vector}, a library with a
11333 This library does not do advanced fusion optimization, since especially
11334 for lazy vectors this would either be incorrect or not applicable. See
11335 @url{http://hackage.haskell.org/package/storablevector-streamfusion} for
11336 a library that provides fusion with lazy lists.")
11337 (license license:bsd-3)))
11339 (define-public ghc-streaming-commons
11341 (name "ghc-streaming-commons")
11342 (version "0.2.1.1")
11346 (uri (string-append "https://hackage.haskell.org/package/"
11347 "streaming-commons/streaming-commons-"
11348 version ".tar.gz"))
11351 "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52"))))
11352 (build-system haskell-build-system)
11354 `(("ghc-async" ,ghc-async)
11355 ("ghc-blaze-builder" ,ghc-blaze-builder)
11356 ("ghc-network" ,ghc-network)
11357 ("ghc-random" ,ghc-random)
11358 ("ghc-zlib" ,ghc-zlib)))
11360 `(("ghc-quickcheck" ,ghc-quickcheck)
11361 ("ghc-hspec" ,ghc-hspec)
11362 ("hspec-discover" ,hspec-discover)))
11363 (home-page "https://hackage.haskell.org/package/streaming-commons")
11364 (synopsis "Conduit and pipes needed by some streaming data libraries")
11365 (description "This package provides low-dependency functionality commonly
11366 needed by various Haskell streaming data libraries, such as @code{conduit} and
11368 (license license:expat)))
11370 (define-public ghc-strict
11372 (name "ghc-strict")
11377 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
11378 version ".tar.gz"))
11380 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
11381 (build-system haskell-build-system)
11382 (home-page "https://hackage.haskell.org/package/strict")
11383 (synopsis "Strict data types and String IO")
11385 "This package provides strict versions of some standard Haskell data
11386 types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
11388 (license license:bsd-3)))
11390 (define-public ghc-stringbuilder
11392 (name "ghc-stringbuilder")
11397 (uri (string-append
11398 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
11403 "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q"))))
11404 (build-system haskell-build-system)
11405 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
11407 (home-page "https://hackage.haskell.org/package/stringbuilder")
11408 (synopsis "Writer monad for multi-line string literals")
11409 (description "This package provides a writer monad for multi-line string
11411 (license license:expat)))
11413 (define-public ghc-string-qq
11415 (name "ghc-string-qq")
11420 (uri (string-append
11421 "https://hackage.haskell.org/package/string-qq/string-qq-"
11426 "0wfxkw4x6j6jq9nd82k83g2k3hskpsvk1dp4cpkshvjr4wg9qny8"))))
11427 (build-system haskell-build-system)
11429 `(("ghc-hunit" ,ghc-hunit)))
11430 (home-page "https://hackage.haskell.org/package/string-qq")
11432 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
11434 "This package provides a quasiquoter for non-interpolated strings, texts
11436 (license license:public-domain)))
11438 (define-public ghc-stringsearch
11440 (name "ghc-stringsearch")
11441 (version "0.3.6.6")
11445 (uri (string-append
11446 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
11451 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
11452 (build-system haskell-build-system)
11455 ("1" "0z5pz5dccapz9k39r2zmf056m0x2m2lj3jahhnw3mfxlmps07378")))
11456 (home-page "https://bitbucket.org/dafis/stringsearch")
11457 (synopsis "Fast searching, splitting and replacing of ByteStrings")
11458 (description "This package provides several functions to quickly search
11459 for substrings in strict or lazy @code{ByteStrings}. It also provides
11460 functions for breaking or splitting on substrings and replacing all
11461 occurrences of a substring (the first in case of overlaps) with another.")
11462 (license license:bsd-3)))
11464 (define-public ghc-svg-builder
11466 (name "ghc-svg-builder")
11471 (uri (string-append "https://hackage.haskell.org/package/"
11472 "svg-builder/svg-builder-" version ".tar.gz"))
11475 "1k420f497lzkymmxin88ql6ib8dziic43avykv31yq65rgrf7l2g"))))
11476 (build-system haskell-build-system)
11478 `(("ghc-blaze-builder" ,ghc-blaze-builder)
11479 ("ghc-hashable" ,ghc-hashable)
11480 ("ghc-unordered-containers" ,ghc-unordered-containers)))
11483 ("1" "1bhp9gvid2iis411k1vvyj5krzc4ahxcqcd9cwx9h37jxg180xw1")))
11484 (home-page "https://github.com/diagrams/svg-builder.git")
11485 (synopsis "Domain-specific language for building Scalable Vector Graphics")
11486 (description "Easy-to-write domain-specific language (DSL) for
11487 building Scalable Vector Graphics (SVG).")
11488 (license license:bsd-3)))
11490 (define-public ghc-syb
11494 (outputs '("out" "doc"))
11498 (uri (string-append
11499 "https://hackage.haskell.org/package/syb/syb-"
11504 "0077vxzyi9ppbphi2ialac3p376k49qly1kskdgf57wdwix9qjp0"))))
11505 (build-system haskell-build-system)
11507 `(("ghc-hunit" ,ghc-hunit)))
11509 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
11510 (synopsis "Scrap Your Boilerplate")
11511 (description "This package contains the generics system described in the
11512 /Scrap Your Boilerplate/ papers (see
11513 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
11514 defines the @code{Data} class of types permitting folding and unfolding of
11515 constructor applications, instances of this class for primitive types, and a
11516 variety of traversals.")
11517 (license license:bsd-3)))
11519 (define-public ghc-system-fileio
11521 (name "ghc-system-fileio")
11522 (version "0.3.16.4")
11526 (uri (string-append
11527 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
11528 version ".tar.gz"))
11531 "1iy6g1f35gzyj12g9mdiw4zf75mmxpv1l8cyaldgyscsl648pr9l"))))
11532 (build-system haskell-build-system)
11535 (modify-phases %standard-phases
11536 (add-before 'configure 'update-constraints
11538 (substitute* "system-fileio.cabal"
11539 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4"))
11542 `(("ghc-system-filepath" ,ghc-system-filepath)
11543 ("ghc-chell" ,ghc-chell)
11544 ("ghc-temporary" ,ghc-temporary)))
11545 (home-page "https://github.com/fpco/haskell-filesystem")
11546 (synopsis "Consistent file system interaction across GHC versions")
11548 "This is a small wrapper around the directory, unix, and Win32 packages,
11549 for use with system-filepath. It provides a consistent API to the various
11550 versions of these packages distributed with different versions of GHC.
11551 In particular, this library supports working with POSIX files that have paths
11552 which can't be decoded in the current locale encoding.")
11553 (license license:expat)))
11555 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
11556 ;; ghc-system-filepath.
11557 (define ghc-system-fileio-bootstrap
11559 (name "ghc-system-fileio-bootstrap")
11560 (version "0.3.16.3")
11564 (uri (string-append
11565 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
11566 version ".tar.gz"))
11569 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
11570 (build-system haskell-build-system)
11574 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
11575 ("ghc-temporary" ,ghc-temporary)))
11576 (home-page "https://github.com/fpco/haskell-filesystem")
11577 (synopsis "Consistent file system interaction across GHC versions")
11579 "This is a small wrapper around the directory, unix, and Win32 packages,
11580 for use with system-filepath. It provides a consistent API to the various
11581 versions of these packages distributed with different versions of GHC.
11582 In particular, this library supports working with POSIX files that have paths
11583 which can't be decoded in the current locale encoding.")
11584 (license license:expat)))
11587 (define-public ghc-system-filepath
11589 (name "ghc-system-filepath")
11594 (uri (string-append
11595 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
11596 version ".tar.gz"))
11599 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
11600 (build-system haskell-build-system)
11601 ;; FIXME: One of the tests fails:
11602 ;; [ FAIL ] tests.validity.posix
11603 ;; note: seed=7310214548328823169
11604 ;; *** Failed! Falsifiable (after 24 tests):
11605 ;; 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"
11606 (arguments `(#:tests? #f))
11608 `(("ghc-chell" ,ghc-chell)
11609 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
11610 ("ghc-quickcheck" ,ghc-quickcheck)))
11611 (home-page "https://github.com/fpco/haskell-filesystem")
11612 (synopsis "High-level, byte-based file and directory path manipulations")
11614 "Provides a FilePath datatype and utility functions for operating on it.
11615 Unlike the filepath package, this package does not simply reuse String,
11616 increasing type safety.")
11617 (license license:expat)))
11619 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
11620 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
11621 ;; which depends on ghc-chell and ghc-chell-quickcheck.
11622 ;; Therefore we bootstrap it with tests disabled.
11623 (define ghc-system-filepath-bootstrap
11625 (name "ghc-system-filepath-bootstrap")
11630 (uri (string-append
11631 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
11632 version ".tar.gz"))
11635 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
11636 (build-system haskell-build-system)
11640 `(("ghc-quickcheck" ,ghc-quickcheck)))
11641 (home-page "https://github.com/fpco/haskell-filesystem")
11642 (synopsis "High-level, byte-based file and directory path manipulations")
11644 "Provides a FilePath datatype and utility functions for operating on it.
11645 Unlike the filepath package, this package does not simply reuse String,
11646 increasing type safety.")
11647 (license license:expat)))
11650 (define-public ghc-tagged
11652 (name "ghc-tagged")
11657 (uri (string-append
11658 "https://hackage.haskell.org/package/tagged/tagged-"
11663 "1pciqzxf9ncv954v4r527xkxkn7r5hcr13mfw5dg1xjci3qdw5md"))))
11664 (build-system haskell-build-system)
11667 ("1" "070xwfw7y81hd63il76dmwbdl9ca1rd07c54zynfx6vpr4wyx4vh")))
11669 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
11670 (home-page "https://hackage.haskell.org/package/tagged")
11671 (synopsis "Haskell phantom types to avoid passing dummy arguments")
11672 (description "This library provides phantom types for Haskell 98, to avoid
11673 having to unsafely pass dummy arguments.")
11674 (license license:bsd-3)))
11676 (define-public ghc-tar
11679 (version "0.5.1.1")
11683 (uri (string-append
11684 "https://hackage.haskell.org/package/tar/tar-"
11685 version ".tar.gz"))
11688 "1ppim7cgmn7ng8zbdrwkxhhizc30h15h1c9cdlzamc5jcagl915k"))))
11689 (build-system haskell-build-system)
11690 ;; FIXME: 2/24 tests fail.
11691 (arguments `(#:tests? #f))
11693 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
11694 ("ghc-quickcheck" ,ghc-quickcheck)
11695 ("ghc-tasty" ,ghc-tasty)
11696 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
11697 (home-page "https://hackage.haskell.org/package/tar")
11698 (synopsis "Reading, writing and manipulating \".tar\" archive files")
11700 "This library is for working with \\\"@.tar@\\\" archive files.
11701 It can read and write a range of common variations of the tar archive format
11702 including V7, POSIX USTAR and GNU formats. It provides support for packing and
11703 unpacking portable archives. This makes it suitable for distribution but not
11704 backup because details like file ownership and exact permissions are not
11705 preserved. It also provides features for random access to archive content using
11707 (license license:bsd-3)))
11709 (define-public ghc-tar-conduit
11711 (name "ghc-tar-conduit")
11716 (uri (string-append "https://hackage.haskell.org/package/"
11717 "tar-conduit/tar-conduit-" version ".tar.gz"))
11720 "0bgn3hyf20g1gfnzy8f41s7nj54kfcyjk2izw99svrw8f3dphi80"))))
11721 (build-system haskell-build-system)
11723 `(("ghc-conduit" ,ghc-conduit)
11724 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
11725 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
11727 `(("ghc-quickcheck" ,ghc-quickcheck)
11728 ("ghc-conduit-extra" ,ghc-conduit-extra)
11729 ("ghc-hspec" ,ghc-hspec)
11730 ("ghc-hspec" ,ghc-hspec)
11731 ("ghc-weigh" ,ghc-weigh)))
11732 (home-page "https://github.com/snoyberg/tar-conduit#readme")
11733 (synopsis "Extract and create tar files using conduit for streaming")
11734 (description "This library provides a conduit-based, streaming
11735 interface for extracting and creating tar files.")
11736 (license license:expat)))
11738 (define-public ghc-temporary
11740 (name "ghc-temporary")
11745 (uri (string-append
11746 "https://hackage.haskell.org/package/temporary/temporary-"
11751 "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c"))))
11752 (build-system haskell-build-system)
11754 `(("ghc-exceptions" ,ghc-exceptions)
11755 ("ghc-random" ,ghc-random)))
11757 `(("ghc-base-compat" ,ghc-base-compat)
11758 ("ghc-tasty" ,ghc-tasty)
11759 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
11760 (home-page "https://www.github.com/batterseapower/temporary")
11761 (synopsis "Temporary file and directory support")
11762 (description "The functions for creating temporary files and directories
11763 in the Haskelll base library are quite limited. This library just repackages
11764 the Cabal implementations of its own temporary file and folder functions so
11765 that you can use them without linking against Cabal or depending on it being
11767 (license license:bsd-3)))
11769 (define-public ghc-temporary-rc
11771 (name "ghc-temporary-rc")
11772 (version "1.2.0.3")
11776 (uri (string-append
11777 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
11782 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
11783 (build-system haskell-build-system)
11784 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
11786 "https://www.github.com/feuerbach/temporary")
11788 "Portable temporary file and directory support")
11790 "The functions for creating temporary files and directories in the base
11791 library are quite limited. The unixutils package contains some good ones, but
11792 they aren't portable to Windows. This library just repackages the Cabal
11793 implementations of its own temporary file and folder functions so that you can
11794 use them without linking against Cabal or depending on it being installed.
11795 This is a better maintained fork of the \"temporary\" package.")
11796 (license license:bsd-3)))
11798 (define-public ghc-terminal-size
11800 (name "ghc-terminal-size")
11801 (version "0.3.2.1")
11804 (uri (string-append
11805 "https://hackage.haskell.org/package/terminal-size/"
11806 "terminal-size-" version ".tar.gz"))
11809 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
11810 (build-system haskell-build-system)
11811 (home-page "https://hackage.haskell.org/package/terminal-size")
11812 (synopsis "Get terminal window height and width")
11813 (description "Get terminal window height and width without ncurses
11815 (license license:bsd-3)))
11817 (define-public ghc-texmath
11819 (name "ghc-texmath")
11823 (uri (string-append "https://hackage.haskell.org/package/"
11824 "texmath/texmath-" version ".tar.gz"))
11827 "03rpxbp43bjs62mmw4hv4785n6f6nbf8kj2y9mma5nzk6i2xs09f"))))
11828 (build-system haskell-build-system)
11830 `(("ghc-syb" ,ghc-syb)
11831 ("ghc-network-uri" ,ghc-network-uri)
11832 ("ghc-split" ,ghc-split)
11833 ("ghc-temporary" ,ghc-temporary)
11834 ("ghc-utf8-string" ,ghc-utf8-string)
11835 ("ghc-xml" ,ghc-xml)
11836 ("ghc-pandoc-types" ,ghc-pandoc-types)))
11837 (home-page "https://github.com/jgm/texmath")
11838 (synopsis "Conversion between formats used to represent mathematics")
11840 "The texmath library provides functions to read and write TeX math,
11841 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
11842 Office). Support is also included for converting math formats to pandoc's
11843 native format (allowing conversion, via pandoc, to a variety of different
11844 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
11845 it can parse and apply LaTeX macros.")
11846 (license license:gpl2+)))
11848 (define-public ghc-text-binary
11850 (name "ghc-text-binary")
11851 (version "0.2.1.1")
11855 (uri (string-append "https://hackage.haskell.org/package/"
11856 "text-binary/text-binary-"
11857 version ".tar.gz"))
11860 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
11861 (build-system haskell-build-system)
11862 (home-page "https://github.com/kawu/text-binary")
11863 (synopsis "Binary instances for text types")
11865 "This package provides a compatibility layer providing @code{Binary}
11866 instances for strict and lazy text types for versions older than 1.2.1 of the
11868 (license license:bsd-2)))
11870 (define-public ghc-text-metrics
11872 (name "ghc-text-metrics")
11877 (uri (string-append "https://hackage.haskell.org/package/"
11878 "text-metrics/text-metrics-" version ".tar.gz"))
11881 "18mzxwkdvjp31r720ai9bnxr638qq8x3a2v408bz0d8f0rsayx1q"))))
11882 (build-system haskell-build-system)
11884 `(("ghc-vector" ,ghc-vector)))
11886 `(("ghc-quickcheck" ,ghc-quickcheck)
11887 ("ghc-hspec" ,ghc-hspec)))
11890 ("4" "017drxq9x56b345d8w5m8xdsi1zzs0z16pbdx8j35cd1lsnh3kf1")))
11891 (home-page "https://github.com/mrkkrp/text-metrics")
11892 (synopsis "Calculate various string metrics efficiently")
11893 (description "This library provides tools to calculate various
11894 string metrics efficiently.")
11895 (license license:bsd-3)))
11897 (define-public ghc-tf-random
11899 (name "ghc-tf-random")
11901 (outputs '("out" "doc"))
11905 (uri (string-append
11906 "https://hackage.haskell.org/package/tf-random/tf-random-"
11910 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
11911 (build-system haskell-build-system)
11913 `(("ghc-primitive" ,ghc-primitive)
11914 ("ghc-random" ,ghc-random)))
11915 (home-page "https://hackage.haskell.org/package/tf-random")
11916 (synopsis "High-quality splittable pseudorandom number generator")
11917 (description "This package contains an implementation of a high-quality
11918 splittable pseudorandom number generator. The generator is based on a
11919 cryptographic hash function built on top of the ThreeFish block cipher. See
11920 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
11921 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
11922 (license license:bsd-3)))
11924 (define-public ghc-th-abstraction
11926 (name "ghc-th-abstraction")
11927 (version "0.3.1.0")
11931 (uri (string-append "https://hackage.haskell.org/package/"
11932 "th-abstraction/th-abstraction-"
11933 version ".tar.gz"))
11936 "1f81w0gshvc816cf9qz0f19jsrzh6wpzmmy317xrgn63dv61p7jb"))))
11937 (build-system haskell-build-system)
11938 (home-page "https://github.com/glguy/th-abstraction")
11939 (synopsis "Nicer interface for reified information about data types")
11941 "This package normalizes variations in the interface for inspecting
11942 datatype information via Template Haskell so that packages and support a
11943 single, easier to use informational datatype while supporting many versions of
11944 Template Haskell.")
11945 (license license:isc)))
11947 (define-public ghc-th-expand-syns
11949 (name "ghc-th-expand-syns")
11950 (version "0.4.5.0")
11953 (uri (string-append "https://hackage.haskell.org/package/"
11954 "th-expand-syns/th-expand-syns-"
11955 version ".tar.gz"))
11958 "1p4wfyycan8zsp9wi7npx36qwbfsbcgdyxi3ii51scf69dkrx42y"))))
11959 (build-system haskell-build-system)
11961 `(("ghc-syb" ,ghc-syb)))
11962 (home-page "https://hackage.haskell.org/package/th-expand-syns")
11963 (synopsis "Expands type synonyms in Template Haskell ASTs")
11965 "This package enables users to expand type synonyms in Template Haskell
11966 @dfn{abstract syntax trees} (ASTs).")
11967 (license license:bsd-3)))
11969 (define-public ghc-th-lift
11971 (name "ghc-th-lift")
11972 (version "0.8.0.1")
11975 (uri (string-append "https://hackage.haskell.org/package/"
11976 "th-lift/th-lift-" version ".tar.gz"))
11979 "1a6qlbdg15cfr5rvl9g3blgwx4v1p0xic0pzv13zx165xbc36ld0"))))
11980 (build-system haskell-build-system)
11982 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
11983 (home-page "https://github.com/mboes/th-lift")
11984 (synopsis "Derive Template Haskell's Lift class for datatypes")
11986 "This is a Haskell library to derive Template Haskell's Lift class for
11988 (license license:bsd-3)))
11990 (define-public ghc-th-lift-instances
11992 (name "ghc-th-lift-instances")
11997 (uri (string-append "https://hackage.haskell.org/package/"
11998 "th-lift-instances/th-lift-instances-"
11999 version ".tar.gz"))
12002 "0r1b4jnvcj64wp4hfccwkl4a70n1p1q7qzyx6ax7cmd8k961jz78"))))
12003 (build-system haskell-build-system)
12005 `(("ghc-th-lift" ,ghc-th-lift)
12006 ("ghc-vector" ,ghc-vector)
12007 ("ghc-quickcheck" ,ghc-quickcheck)))
12008 (home-page "https://github.com/bennofs/th-lift-instances/")
12009 (synopsis "Lift instances for template-haskell for common data types.")
12010 (description "Most data types in the Haskell platform do not have Lift
12011 instances. This package provides orphan instances for @code{containers},
12012 @code{text}, @code{bytestring} and @code{vector}.")
12013 (license license:bsd-3)))
12015 (define-public ghc-th-orphans
12017 (name "ghc-th-orphans")
12021 (uri (string-append "https://hackage.haskell.org/package/"
12022 "th-orphans/th-orphans-" version ".tar.gz"))
12025 "1xj1gssv77hdx1r3ndg8k49v3ipj3a6r7crkyvx13jrps3m6ng1z"))))
12026 (build-system haskell-build-system)
12028 `(("ghc-th-lift" ,ghc-th-lift)
12029 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
12030 ("ghc-th-reify-many" ,ghc-th-reify-many)
12031 ("ghc-generic-deriving" ,ghc-generic-deriving)))
12033 `(("ghc-hspec" ,ghc-hspec)))
12034 (home-page "https://hackage.haskell.org/package/th-orphans")
12035 (synopsis "Orphan instances for TH datatypes")
12037 "This package provides orphan instances for Template Haskell datatypes. In particular,
12038 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
12039 and @code{Eq} instances. These instances used to live in the haskell-src-meta
12040 package, and that's where the version number started.")
12041 (license license:bsd-3)))
12043 (define-public ghc-these
12050 (uri (string-append
12051 "https://hackage.haskell.org/package/these/these-"
12056 "1k0pi65g7cm9hzdw6my6bzz2zvddkmj1qs45ymqmi316bpiixk3r"))))
12057 (build-system haskell-build-system)
12059 `(("ghc-base-compat" ,ghc-base-compat)
12060 ("ghc-hashable" ,ghc-hashable)
12061 ("ghc-aeson" ,ghc-aeson)
12062 ("ghc-unordered-containers" ,ghc-unordered-containers)
12063 ("ghc-assoc" ,ghc-assoc)
12064 ("ghc-semigroupoids" ,ghc-semigroupoids)
12065 ("ghc-quickcheck" ,ghc-quickcheck)))
12069 "0923r86fnmgpx0msm68aszirh2n19nn5bccgjxfh2146jw4z7w3z")))
12071 "https://github.com/isomorphism/these")
12072 (synopsis "Either-or-both data type")
12074 "This package provides a data type @code{These a b} which can
12075 hold a value of either type or values of each type. This is usually
12076 thought of as an \"inclusive or\" type (contrasting @code{Either a b} as
12077 \"exclusive or\") or as an \"outer join\" type (contrasting @code{(a, b)}
12078 as \"inner join\").
12080 @code{data These a b = This a | That b | These a b}
12082 Since version 1, this package was split into parts:
12086 https://hackage.haskell.org/package/semialign For @code{Align} and
12087 @code{Zip} type-classes.
12089 https://hackage.haskell.org/package/semialign-indexed For
12090 @code{SemialignWithIndex} class, providing @code{ialignWith} and
12093 https://hackage.haskell.org/package/these-lens For lens combinators.
12095 http://hackage.haskell.org/package/monad-chronicle For transformers
12096 variant of @code{These}.
12098 (license license:bsd-3)))
12100 (define-public ghc-threads
12102 (name "ghc-threads")
12103 (version "0.5.1.6")
12107 (uri (string-append "https://hackage.haskell.org/package/"
12108 "threads/threads-" version ".tar.gz"))
12111 "0bjnjhnq3km6xqk0fn1fgyz5xdw4h6lylbwwbcmkkfzwcz0c76hk"))))
12112 (build-system haskell-build-system)
12114 `(("ghc-concurrent-extra" ,ghc-concurrent-extra)
12115 ("ghc-hunit" ,ghc-hunit)
12116 ("ghc-test-framework" ,ghc-test-framework)
12117 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
12118 (home-page "https://github.com/basvandijk/threads")
12119 (synopsis "Fork threads and wait for their result")
12120 (description "This package provides functions to fork threads and
12121 wait for their result, whether it's an exception or a normal value.
12122 Besides waiting for the termination of a single thread this package also
12123 provides functions to wait for a group of threads to terminate. This
12124 package is similar to the @code{threadmanager}, @code{async} and
12125 @code{spawn} packages. The advantages of this package are:
12129 @item More efficient in both space and time.
12130 @item No space-leak when forking a large number of threads.
12131 @item Correct handling of asynchronous exceptions.
12132 @item GHC specific functionality like @code{forkOn} and
12133 @code{forkIOWithUnmask}.
12135 (license license:bsd-3)))
12137 (define-public ghc-th-reify-many
12139 (name "ghc-th-reify-many")
12143 (uri (string-append "https://hackage.haskell.org/package/"
12144 "th-reify-many/th-reify-many-"
12145 version ".tar.gz"))
12148 "0hxf56filzqnyrc8q7766vai80y6cgrrbrczx6n93caskl1dv2gq"))))
12149 (build-system haskell-build-system)
12151 `(("ghc-safe" ,ghc-safe)
12152 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
12153 (home-page "https://github.com/mgsloan/th-reify-many")
12154 (synopsis "Recurseively reify template haskell datatype info")
12156 "th-reify-many provides functions for recursively reifying top level
12157 declarations. The main intended use case is for enumerating the names of
12158 datatypes reachable from an initial datatype, and passing these names to some
12159 function which generates instances.")
12160 (license license:bsd-3)))
12162 (define-public ghc-time-compat
12164 (name "ghc-time-compat")
12165 (version "1.9.2.2")
12169 (uri (string-append "https://hackage.haskell.org/package/"
12170 "time-compat/time-compat-" version ".tar.gz"))
12173 "05va0rqs759vbridbcl6hksp967j9anjvys8vx72fnfkhlrn2s52"))))
12174 (build-system haskell-build-system)
12176 `(("ghc-base-orphans" ,ghc-base-orphans)))
12178 `(("ghc-hunit" ,ghc-hunit)
12179 ("ghc-base-compat" ,ghc-base-compat)
12180 ("ghc-quickcheck" ,ghc-quickcheck)
12181 ("ghc-tagged" ,ghc-tagged)
12182 ("ghc-tasty" ,ghc-tasty)
12183 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
12184 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
12187 ("1" "0k8ph4sydaiqp8dav4if6hpiaq8h1xsr93khmdr7a1mmfwdxr64r")))
12188 (home-page "https://github.com/phadej/time-compat")
12189 (synopsis "Compatibility package for time")
12190 (description "This package tries to compat as many @code{time}
12191 features as possible.")
12192 (license license:bsd-3)))
12194 (define-public ghc-time-locale-compat
12196 (name "ghc-time-locale-compat")
12197 (version "0.1.1.5")
12201 (uri (string-append "https://hackage.haskell.org/package/"
12202 "time-locale-compat/time-locale-compat-"
12203 version ".tar.gz"))
12206 "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7"))))
12207 (build-system haskell-build-system)
12208 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
12209 (home-page "https://github.com/khibino/haskell-time-locale-compat")
12210 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
12211 (description "This package contains a wrapped name module for
12212 @code{TimeLocale}.")
12213 (license license:bsd-3)))
12215 (define-public ghc-time-manager
12217 (name "ghc-time-manager")
12222 (uri (string-append "https://hackage.haskell.org/package/"
12223 "time-manager/time-manager-" version ".tar.gz"))
12226 "1nzwj0fxz370ks6vr1sylcidx33rnqq45y3q9yv9n4dj43nid9lh"))))
12227 (build-system haskell-build-system)
12229 `(("ghc-auto-update" ,ghc-auto-update)))
12230 (home-page "https://github.com/yesodweb/wai")
12231 (synopsis "Scalable timer")
12232 (description "This library contains scalable timer functions provided by a
12234 (license license:expat)))
12236 (define-public ghc-timeit
12238 (name "ghc-timeit")
12245 "https://hackage.haskell.org/package/timeit/timeit-"
12246 version ".tar.gz"))
12249 "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1"))))
12250 (build-system haskell-build-system)
12251 (home-page "https://github.com/merijn/timeit")
12252 (synopsis "Time monadic computations with an IO base")
12253 (description "This package provides a simple wrapper to show the
12254 used CPU time of monadic computation with an IO base.")
12255 (license license:bsd-3)))
12257 (define-public ghc-timezone-series
12259 (name "ghc-timezone-series")
12266 "mirror://hackage/package/timezone-series/timezone-series-"
12267 version ".tar.gz"))
12270 "1blwgnyzqn917rgqkl4dncv9whv3xmk0lav040qq0214vksmvlz5"))))
12271 (build-system haskell-build-system)
12272 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
12273 (synopsis "Enhanced timezone handling for Time")
12275 "This package endows @code{Data.Time}, from the time package, with several
12276 data types and functions for enhanced processing of timezones. For one way to
12277 create timezone series, see the ghc-timezone-olson package.")
12278 (license license:bsd-3)))
12280 (define-public ghc-timezone-olson
12282 (name "ghc-timezone-olson")
12289 "mirror://hackage/package/timezone-olson/timezone-olson-"
12290 version ".tar.gz"))
12293 "05abywx1nrcaz0nqzfy4zw62bc5qd7pdfnjvv4drxkwv084ha8rj"))))
12294 (build-system haskell-build-system)
12296 `(("ghc-timezone-series" ,ghc-timezone-series)
12297 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)))
12298 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
12299 (synopsis "Parser and renderer for binary Olson timezone files")
12301 "A parser and renderer for binary Olson timezone files whose format
12302 is specified by the tzfile(5) man page on Unix-like systems. For more
12303 information about this format, see
12304 @url{http://www.iana.org/time-zones/repository/tz-link.html}. Functions
12305 are provided for converting the parsed data into @code{TimeZoneSeries}
12306 objects from the timezone-series package.")
12307 (license license:bsd-3)))
12309 (define-public ghc-tldr
12312 (version "0.4.0.2")
12316 (uri (string-append
12317 "https://hackage.haskell.org/package/tldr/tldr-"
12322 "1zy9yyg7bxiyz1prkvrscggsb9p0f8y0nqxxxzlgzvnh2nmqf8f2"))))
12323 (build-system haskell-build-system)
12325 `(("ghc-cmark" ,ghc-cmark)
12326 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
12327 ("ghc-typed-process" ,ghc-typed-process)
12328 ("ghc-semigroups" ,ghc-semigroups)))
12330 `(("ghc-tasty" ,ghc-tasty)
12331 ("ghc-tasty-golden" ,ghc-tasty-golden)))
12332 (home-page "https://github.com/psibi/tldr-hs#readme")
12333 (synopsis "Haskell tldr client")
12334 (description "This package provides the @command{tldr} command and a
12335 Haskell client library allowing users to update and view @code{tldr} pages
12336 from a shell. The @code{tldr} pages are a community effort to simplify the
12337 man pages with practical examples.")
12338 (license license:bsd-3)))
12340 (define-public ghc-transformers
12342 (name "ghc-transformers")
12343 (version "0.5.6.2")
12347 (uri (string-append
12348 "mirror://hackage/package/transformers/transformers-"
12353 "0v66j5k0xqk51pmca55wq192qyw2p43s2mgxlz4f95q2c1fpjs5n"))))
12354 (build-system haskell-build-system)
12356 "http://hackage.haskell.org/package/transformers")
12357 (synopsis "Concrete functor and monad transformers")
12359 "Transformers provides functor and monad transformers, inspired by the
12360 paper \"Functional Programming with Overloading and Higher-Order
12361 Polymorphism\", by Mark P Jones, in Advanced School of Functional Programming,
12362 1995 @url{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html}.
12364 This package contains:
12366 @item the monad transformer class (in @code{Control.Monad.Trans.Class})
12367 @item concrete functor and monad transformers, each with associated operations
12368 and functions to lift operations associated with other transformers.
12371 This package can be used on its own in portable Haskell code, in which case
12372 operations need to be manually lifted through transformer stacks (see
12373 @code{Control.Monad.Trans.Class} for some examples). Alternatively, it can be
12374 used with the non-portable monad classes in the mtl or monads-tf packages,
12375 which automatically lift operations introduced by monad transformers through
12376 other transformers.")
12377 (license license:bsd-3)))
12379 (define-public ghc-transformers-base
12381 (name "ghc-transformers-base")
12382 (version "0.4.5.2")
12386 (uri (string-append
12387 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
12392 "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h"))))
12393 (build-system haskell-build-system)
12395 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
12397 "https://hackage.haskell.org/package/transformers-compat")
12399 "Backported transformer library")
12401 "Backported versions of types that were added to transformers in
12402 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
12403 compatibility to run on old versions of the platform.")
12404 (license license:bsd-3)))
12406 (define-public ghc-transformers-compat
12408 (name "ghc-transformers-compat")
12413 (uri (string-append
12414 "https://hackage.haskell.org/package/transformers-compat"
12415 "/transformers-compat-" version ".tar.gz"))
12418 "02v2fjbvcrlpvhcsssap8dy8y9pp95jykrlc5arm39sxa48wyrys"))))
12419 (build-system haskell-build-system)
12420 (home-page "https://github.com/ekmett/transformers-compat/")
12421 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
12422 (description "This package includes backported versions of types that were
12423 added to transformers in transformers 0.3 and 0.4 for users who need strict
12424 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
12425 but also need those types.")
12426 (license license:bsd-3)))
12428 (define-public ghc-tree-diff
12430 (name "ghc-tree-diff")
12435 (uri (string-append
12436 "https://hackage.haskell.org/package/tree-diff/tree-diff-"
12441 "1156nbqn0pn9lp4zjsy4vv5g5wmy4zxwmbqdgvq349rydynh3ng3"))))
12442 (build-system haskell-build-system)
12444 `(("ghc-aeson" ,ghc-aeson)
12445 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
12446 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
12447 ("ghc-base-compat" ,ghc-base-compat)
12448 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
12449 ("ghc-hashable" ,ghc-hashable)
12450 ("ghc-parsers" ,ghc-parsers)
12451 ("ghc-quickcheck" ,ghc-quickcheck)
12452 ("ghc-scientific" ,ghc-scientific)
12453 ("ghc-tagged" ,ghc-tagged)
12454 ("ghc-unordered-containers" ,ghc-unordered-containers)
12455 ("ghc-uuid-types" ,ghc-uuid-types)
12456 ("ghc-vector" ,ghc-vector)))
12458 `(("ghc-base-compat" ,ghc-base-compat)
12459 ("ghc-quickcheck" ,ghc-quickcheck)
12460 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
12461 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
12462 ("ghc-trifecta" ,ghc-trifecta)
12463 ("ghc-tasty" ,ghc-tasty)
12464 ("ghc-tasty-golden" ,ghc-tasty-golden)
12465 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
12466 (home-page "https://github.com/phadej/tree-diff")
12467 (synopsis "Compute difference between (expression) trees")
12468 (description "This Haskell library provides a function for computing
12469 the difference between (expression) trees. It also provides a way to
12470 compute the difference between arbitrary abstract datatypes (ADTs) using
12471 @code{Generics}-derivable helpers.")
12472 (license license:bsd-3)))
12474 (define-public ghc-trifecta
12476 (name "ghc-trifecta")
12480 (uri (string-append
12481 "https://hackage.haskell.org/package/trifecta/"
12482 "trifecta-" version ".tar.gz"))
12485 "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk"))))
12486 (build-system haskell-build-system)
12488 `(#:tests? #f ; doctest suite fails to build on i686
12490 ("4" "0xbwyvwl6f2zylk60f2akwgq03qv49113xil7b1z1s3vlwbn5aj1")))
12492 `(("ghc-reducers" ,ghc-reducers)
12493 ("ghc-semigroups" ,ghc-semigroups)
12494 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
12495 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
12496 ("ghc-blaze-builder" ,ghc-blaze-builder)
12497 ("ghc-blaze-html" ,ghc-blaze-html)
12498 ("ghc-blaze-markup" ,ghc-blaze-markup)
12499 ("ghc-charset" ,ghc-charset)
12500 ("ghc-comonad" ,ghc-comonad)
12501 ("ghc-fingertree" ,ghc-fingertree)
12502 ("ghc-hashable" ,ghc-hashable)
12503 ("ghc-lens" ,ghc-lens)
12504 ("ghc-parsers" ,ghc-parsers)
12505 ("ghc-profunctors" ,ghc-profunctors)
12506 ("ghc-unordered-containers" ,ghc-unordered-containers)
12507 ("ghc-utf8-string" ,ghc-utf8-string)))
12509 `(("cabal-doctest" ,cabal-doctest)
12510 ("ghc-doctest" ,ghc-doctest)
12511 ("ghc-quickcheck" ,ghc-quickcheck)))
12512 (home-page "https://github.com/ekmett/trifecta/")
12513 (synopsis "Parser combinator library with convenient diagnostics")
12514 (description "Trifecta is a modern parser combinator library for Haskell,
12515 with slicing and Clang-style colored diagnostics.")
12516 (license license:bsd-3)))
12518 (define-public ghc-tuple-th
12520 (name "ghc-tuple-th")
12525 (uri (string-append "https://hackage.haskell.org/package/"
12526 "tuple-th-" version "/"
12527 "tuple-th-" version ".tar.gz"))
12530 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
12531 (build-system haskell-build-system)
12532 (home-page "https://github.com/DanielSchuessler/tuple-th")
12533 (synopsis "Generate utility functions for tuples of statically known size
12535 (description "This Haskell package contains Template Haskell functions for
12536 generating functions similar to those in @code{Data.List} for tuples of
12537 statically known size.")
12538 (license license:bsd-3)))
12540 (define-public ghc-typed-process
12542 (name "ghc-typed-process")
12543 (version "0.2.6.0")
12547 (uri (string-append "https://hackage.haskell.org/package/"
12548 "typed-process/typed-process-"
12549 version ".tar.gz"))
12552 "1cf2pfym8zdxvvy7xv72ixj7wy3rjrdss6f57k1ysgs66cgsi8ii"))))
12553 (build-system haskell-build-system)
12555 `(("ghc-async" ,ghc-async)
12556 ("ghc-unliftio-core" ,ghc-unliftio-core)))
12558 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
12559 ("ghc-hspec" ,ghc-hspec)
12560 ("hspec-discover" ,hspec-discover)
12561 ("ghc-temporary" ,ghc-temporary)))
12562 (home-page "https://haskell-lang.org/library/typed-process")
12563 (synopsis "Run external processes with strong typing of streams")
12565 "This library provides the ability to launch and interact with external
12566 processes. It wraps around the @code{process} library, and intends to improve
12568 (license license:expat)))
12570 (define-public ghc-unagi-chan
12572 (name "ghc-unagi-chan")
12573 (version "0.4.1.2")
12577 (uri (string-append "https://hackage.haskell.org/package/unagi-chan"
12578 "/unagi-chan-" version ".tar.gz"))
12581 "1lnl5n4jnjmm4chp461glcwkrrw63rjz3fvprwxcy3lkpbkrqvgn"))))
12582 (build-system haskell-build-system)
12584 `(("ghc-atomic-primops" ,ghc-atomic-primops)
12585 ("ghc-primitive" ,ghc-primitive)))
12587 `(#:tests? #f ; FIXME: Tests expect primitive 0.7
12590 "09pqi867wskwgc5lpn197f895mbn1174ydgllvcppcsmrz2b6yr6")))
12591 (home-page "https://hackage.haskell.org/package/unagi-chan")
12592 (synopsis "Fast concurrent queues with a Chan-like API, and more")
12594 "This library provides implementations of concurrent FIFO queues (for
12595 both general boxed and primitive unboxed values) that are fast, perform well
12596 under contention, and offer a Chan-like interface. The library may be of
12597 limited usefulness outside of x86 architectures where the fetch-and-add
12598 instruction is not available.")
12599 (license license:bsd-3)))
12601 (define-public ghc-unbounded-delays
12603 (name "ghc-unbounded-delays")
12604 (version "0.1.1.0")
12608 (uri (string-append
12609 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
12614 "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa"))))
12615 (build-system haskell-build-system)
12616 (home-page "https://github.com/basvandijk/unbounded-delays")
12617 (synopsis "Unbounded thread delays and timeouts")
12618 (description "The @code{threadDelay} and @code{timeout} functions from the
12619 Haskell base library use the bounded @code{Int} type for specifying the delay
12620 or timeout period. This package provides alternative functions which use the
12621 unbounded @code{Integer} type.")
12622 (license license:bsd-3)))
12624 (define-public ghc-unexceptionalio
12626 (name "ghc-unexceptionalio")
12631 (uri (string-append "https://hackage.haskell.org/package/"
12632 "unexceptionalio-" version "/" "unexceptionalio-"
12633 version ".tar.gz"))
12634 (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p"))))
12635 (build-system haskell-build-system)
12636 (home-page "https://github.com/singpolyma/unexceptionalio")
12637 (synopsis "IO without any non-error, synchronous exceptions")
12638 (description "When you've caught all the exceptions that can be
12639 handled safely, this is what you're left with.")
12640 (license license:isc)))
12642 (define-public ghc-unicode-transforms
12644 (name "ghc-unicode-transforms")
12649 (uri (string-append "https://hackage.haskell.org/package/"
12650 "unicode-transforms/unicode-transforms-"
12651 version ".tar.gz"))
12654 "1akscvyssif4hki3g6hy0jmjyr8cqly1whzvzj0km2b3qh0x09l3"))))
12655 (build-system haskell-build-system)
12657 `(("ghc-bitarray" ,ghc-bitarray)))
12659 `(("ghc-quickcheck" ,ghc-quickcheck)
12660 ("ghc-getopt-generics" ,ghc-getopt-generics)
12661 ("ghc-split" ,ghc-split)))
12662 (home-page "https://github.com/composewell/unicode-transforms")
12663 (synopsis "Unicode normalization")
12664 (description "This library provides tools for fast Unicode 12.1.0
12665 normalization in Haskell (normalization forms C, KC, D, and KD).")
12666 (license license:bsd-3)))
12668 (define-public ghc-union-find
12670 (name "ghc-union-find")
12674 (uri (string-append
12675 "https://hackage.haskell.org/package/union-find/union-find-"
12676 version ".tar.gz"))
12679 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
12680 (build-system haskell-build-system)
12681 (home-page "https://github.com/nominolo/union-find")
12682 (synopsis "Efficient union and equivalence testing of sets")
12684 "The Union/Find algorithm implements these operations in (effectively)
12687 @item Check whether two elements are in the same equivalence class.
12688 @item Create a union of two equivalence classes.
12689 @item Look up the descriptor of the equivalence class.
12691 (license license:bsd-3)))
12693 (define-public ghc-uniplate
12695 (name "ghc-uniplate")
12700 (uri (string-append
12701 "https://hackage.haskell.org/package/uniplate/uniplate-"
12706 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
12707 (build-system haskell-build-system)
12709 `(("ghc-syb" ,ghc-syb)
12710 ("ghc-hashable" ,ghc-hashable)
12711 ("ghc-unordered-containers" ,ghc-unordered-containers)))
12712 (home-page "http://community.haskell.org/~ndm/uniplate/")
12713 (synopsis "Simple, concise and fast generic operations")
12714 (description "Uniplate is a library for writing simple and concise generic
12715 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
12716 work, but is substantially simpler and faster.")
12717 (license license:bsd-3)))
12719 (define-public ghc-unix-compat
12721 (name "ghc-unix-compat")
12726 (uri (string-append
12727 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
12732 "1a8brv9fax76b1fymslzyghwa6ma8yijiyyhn12msl3i5x24x6k5"))))
12733 (build-system haskell-build-system)
12735 "https://github.com/jystic/unix-compat")
12736 (synopsis "Portable POSIX-compatibility layer")
12738 "This package provides portable implementations of parts of the unix
12739 package. This package re-exports the unix package when available. When it
12740 isn't available, portable implementations are used.")
12741 (license license:bsd-3)))
12743 (define-public ghc-unix-time
12745 (name "ghc-unix-time")
12750 (uri (string-append
12751 "https://hackage.haskell.org/package/unix-time/unix-time-"
12756 "02fyh298lm8jsg52i3z0ikazwz477ljqjmhnqr2d88grmn5ky8qr"))))
12757 (build-system haskell-build-system)
12759 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
12760 ; is weird, that should be provided by GHC 7.10.2.
12762 `(("ghc-old-time" ,ghc-old-time)
12763 ("ghc-old-locale" ,ghc-old-locale)))
12764 (home-page "https://hackage.haskell.org/package/unix-time")
12765 (synopsis "Unix time parser/formatter and utilities")
12766 (description "This library provides fast parsing and formatting utilities
12767 for Unix time in Haskell.")
12768 (license license:bsd-3)))
12770 (define-public ghc-unliftio
12772 (name "ghc-unliftio")
12777 (uri (string-append
12778 "https://hackage.haskell.org/package/unliftio/unliftio-"
12783 "02gy1zrxgzg4xmzm8lafsf1nyr3as1q20r8ld73xg3q7rkag9acg"))))
12784 (build-system haskell-build-system)
12785 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
12787 `(("ghc-async" ,ghc-async)
12788 ("ghc-unliftio-core" ,ghc-unliftio-core)))
12789 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
12790 (home-page "https://github.com/fpco/unliftio")
12791 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
12792 IO (batteries included)")
12793 (description "This Haskell package provides the core @code{MonadUnliftIO}
12794 typeclass, a number of common instances, and a collection of common functions
12796 (license license:expat)))
12798 (define-public ghc-unliftio-core
12800 (name "ghc-unliftio-core")
12801 (version "0.1.2.0")
12805 (uri (string-append "https://hackage.haskell.org/package/"
12806 "unliftio-core-" version "/"
12807 "unliftio-core-" version ".tar.gz"))
12810 "0y3siyx3drkw7igs380a87h8qfbbgcyxxlcnshp698hcc4yqphr4"))))
12811 (build-system haskell-build-system)
12814 ("2" "0jqrjjbgicx48wzcjxs1xmih48ay79rhmrz6081dldlfxynli6vz")))
12816 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
12817 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
12818 (description "This Haskell package provides the core @code{MonadUnliftIO}
12819 typeclass, instances for base and transformers, and basic utility
12821 (license license:expat)))
12823 (define-public ghc-unordered-containers
12825 (name "ghc-unordered-containers")
12826 (version "0.2.10.0")
12827 (outputs '("out" "doc"))
12831 (uri (string-append
12832 "https://hackage.haskell.org/package/unordered-containers"
12833 "/unordered-containers-" version ".tar.gz"))
12836 "0wy5hfrs880hh8hvp648bl07ws777n3kkmczzdszr7papnyigwb5"))))
12837 (build-system haskell-build-system)
12839 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
12840 ("ghc-hunit" ,ghc-hunit)
12841 ("ghc-quickcheck" ,ghc-quickcheck)
12842 ("ghc-test-framework" ,ghc-test-framework)
12843 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
12844 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
12845 ("ghc-hashable" ,ghc-hashable)))
12847 "https://github.com/tibbe/unordered-containers")
12849 "Efficient hashing-based container types")
12851 "Efficient hashing-based container types. The containers have been
12852 optimized for performance critical use, both in terms of large data quantities
12854 (license license:bsd-3)))
12856 (define-public ghc-unordered-containers-bootstrap
12858 (inherit ghc-unordered-containers)
12859 (name "ghc-unordered-containers-bootstrap")
12860 (arguments `(#:tests? #f))
12862 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
12863 (properties '((hidden? #t)))))
12865 (define-public ghc-unsafe
12867 (name "ghc-unsafe")
12874 "https://hackage.haskell.org/package/unsafe/unsafe-"
12875 version ".tar.gz"))
12878 "0hc6xr1i3hkz25gdgfx1jqgpsc9mwa05bkfynp0mcfdlyz6782nz"))))
12879 (build-system haskell-build-system)
12880 (home-page "https://hackage.haskell.org/package/unsafe")
12881 (synopsis "Unified interface to unsafe functions")
12882 (description "Safe Haskell introduced the notion of safe and unsafe
12883 modules. In order to make as many as possible modules ``safe'', the
12884 well-known unsafe functions were moved to distinguished modules. This
12885 makes it hard to write packages that work with both old and new versions
12886 of GHC. This package provides a single module System.Unsafe that
12887 exports the unsafe functions from the base package. It provides them in
12888 a style ready for qualification, that is, you should import them by
12889 @code{import qualified System.Unsafe as Unsafe}.")
12890 (license license:bsd-3)))
12892 (define-public ghc-uri-bytestring
12894 (name "ghc-uri-bytestring")
12895 (version "0.3.2.2")
12899 (uri (string-append "https://hackage.haskell.org/package/"
12900 "uri-bytestring-" version "/"
12901 "uri-bytestring-" version ".tar.gz"))
12904 "0spzv3mwlpxiamd7347sxwcy2xri16ak1y7p1v4fisnvq4jprm67"))))
12905 (build-system haskell-build-system)
12906 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
12907 ("ghc-blaze-builder" ,ghc-blaze-builder)
12908 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
12909 (native-inputs `(("ghc-hunit" ,ghc-hunit)
12910 ("ghc-tasty" ,ghc-tasty)
12911 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
12912 ("ghc-hedgehog" ,ghc-hedgehog)
12913 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
12914 ("ghc-base-compat" ,ghc-base-compat)
12915 ("ghc-semigroups" ,ghc-semigroups)
12916 ("ghc-safe" ,ghc-safe)))
12917 (home-page "https://github.com/Soostone/uri-bytestring")
12918 (synopsis "Haskell URI parsing as ByteStrings")
12919 (description "This Haskell package aims to be an RFC3986 compliant URI
12920 parser that uses ByteStrings for parsing and representing the URI data.")
12921 (license license:bsd-3)))
12923 (define-public ghc-utf8-light
12925 (name "ghc-utf8-light")
12930 (uri (string-append
12931 "mirror://hackage/package/utf8-light/utf8-light-"
12936 "0rwyc5z331yfnm4hpx0sph6i1zvkd1z10vvglhnp0vc9wy644k0q"))))
12937 (build-system haskell-build-system)
12939 "http://hackage.haskell.org/package/utf8-light")
12940 (synopsis "Lightweight unicode support for Haskell")
12942 "This package profides a class for encoding and decoding UTF8 strings
12943 with instances for several common types. It also includes several functions
12944 for working with UTF8. It aims to be lightweight, depending only on Base and
12945 including only one module.")
12946 (license license:bsd-3)))
12948 (define-public ghc-utf8-string
12950 (name "ghc-utf8-string")
12951 (version "1.0.1.1")
12955 (uri (string-append
12956 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
12960 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
12961 (build-system haskell-build-system)
12964 ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38")))
12965 (home-page "https://github.com/glguy/utf8-string/")
12966 (synopsis "Support for reading and writing UTF8 Strings")
12968 "A UTF8 layer for Strings. The utf8-string package provides operations
12969 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
12970 UTF8 without truncation.")
12971 (license license:bsd-3)))
12973 (define-public ghc-utility-ht
12975 (name "ghc-utility-ht")
12977 (home-page "https://hackage.haskell.org/package/utility-ht")
12981 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
12983 (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9"))))
12984 (build-system haskell-build-system)
12985 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
12986 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
12987 (description "This package includes Hakell modules providing various
12988 helper functions for Lists, Maybes, Tuples, Functions.")
12989 (license license:bsd-3)))
12991 (define-public ghc-uuid
12998 (uri (string-append "https://hackage.haskell.org/package/"
12999 "uuid-" version "/"
13000 "uuid-" version ".tar.gz"))
13003 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
13004 (build-system haskell-build-system)
13007 ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
13009 (modify-phases %standard-phases
13010 (add-before 'configure 'strip-test-framework-constraints
13012 (substitute* "uuid.cabal"
13013 (("HUnit >= 1\\.2 && < 1\\.4") "HUnit")
13014 (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck")
13015 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
13016 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
13017 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
13018 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
13019 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
13020 ("ghc-entropy" ,ghc-entropy)
13021 ("ghc-network-info" ,ghc-network-info)
13022 ("ghc-random" ,ghc-random)
13023 ("ghc-uuid-types" ,ghc-uuid-types)))
13024 (native-inputs `(("ghc-hunit" ,ghc-hunit)
13025 ("ghc-quickcheck" ,ghc-quickcheck)
13026 ("ghc-tasty" ,ghc-tasty)
13027 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13028 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13029 (home-page "https://github.com/hvr/uuid")
13030 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
13031 (description "This Haskell library provides utilities creating, comparing,
13032 parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
13033 (license license:bsd-3)))
13035 (define-public ghc-uuid-types
13037 (name "ghc-uuid-types")
13042 (uri (string-append "https://hackage.haskell.org/package/"
13043 "uuid-types-" version "/"
13044 "uuid-types-" version ".tar.gz"))
13047 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
13048 (build-system haskell-build-system)
13051 (modify-phases %standard-phases
13052 (add-before 'configure 'strip-test-framework-constraints
13054 (substitute* "uuid-types.cabal"
13055 (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
13056 (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
13057 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
13058 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
13059 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
13060 (inputs `(("ghc-hashable" ,ghc-hashable)
13061 ("ghc-random" ,ghc-random)))
13062 (native-inputs `(("ghc-hunit" ,ghc-hunit)
13063 ("ghc-quickcheck" ,ghc-quickcheck)
13064 ("ghc-tasty" ,ghc-tasty)
13065 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13066 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13067 (home-page "https://github.com/hvr/uuid")
13068 (synopsis "Haskell type definitions for UUIDs")
13069 (description "This Haskell library contains type definitions for
13070 @dfn{Universally Unique Identifiers} or
13071 @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
13073 (license license:bsd-3)))
13075 (define-public ghc-validation
13077 (name "ghc-validation")
13082 (uri (string-append
13083 "mirror://hackage/package/validation/validation-"
13088 "1acj7mh3581ks405xswxw6667z7y1y0slisg6jvp6chc191ji9l5"))))
13089 (build-system haskell-build-system)
13092 ("1" "1rrjg9z399k6pb55nv85mlr5bkmdqbjwkvl1cy7ydccdx6ks4syp")))
13094 `(("ghc-semigroups" ,ghc-semigroups)
13095 ("ghc-semigroupoids" ,ghc-semigroupoids)
13096 ("ghc-bifunctors" ,ghc-bifunctors)
13097 ("ghc-lens" ,ghc-lens)))
13099 `(("ghc-hedgehog" ,ghc-hedgehog)
13100 ("ghc-hunit" ,ghc-hunit)))
13101 (home-page "https://github.com/qfpl/validation")
13103 "Data-type like Either but with an accumulating Applicative")
13105 "A data-type like Either but with differing properties and type-class
13108 Library support is provided for this different representation, including
13109 @code{lens}-related functions for converting between each and abstracting over
13110 their similarities.
13112 The @code{Validation} data type is isomorphic to @code{Either}, but has an
13113 instance of @code{Applicative} that accumulates on the error side. That is to
13114 say, if two (or more) errors are encountered, they are appended using a
13115 @{Semigroup} operation.
13117 As a consequence of this @code{Applicative} instance, there is no
13118 corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an
13119 example of, \"An applicative functor that is not a monad.\"")
13120 (license license:bsd-3)))
13122 (define-public ghc-validity
13124 (name "ghc-validity")
13125 (version "0.9.0.2")
13129 (uri (string-append
13130 "https://hackage.haskell.org/package/validity/validity-"
13135 "1aa93lp1pqwv7vhx19nazlig8qhbp3psblbz360s5lii3s5rli2v"))))
13136 (build-system haskell-build-system)
13137 (native-inputs `(("ghc-hspec" ,ghc-hspec)
13138 ("hspec-discover" ,hspec-discover)))
13140 "https://github.com/NorfairKing/validity")
13141 (synopsis "Validity typeclass")
13143 "Values of custom types usually have invariants imposed upon them. This
13144 package provides the @code{Validity} type class, which makes these invariants
13145 explicit by providing a function to check whether the invariants hold.")
13146 (license license:expat)))
13148 (define-public ghc-vault
13151 (version "0.3.1.3")
13155 (uri (string-append
13156 "https://hackage.haskell.org/package/vault/vault-"
13161 "0vdm472vn734xa27jjm2mjacl37mxiqaaahvm4hzqjgyh4cqq377"))))
13162 (build-system haskell-build-system)
13164 `(("ghc-unordered-containers" ,ghc-unordered-containers)
13165 ("ghc-hashable" ,ghc-hashable)
13166 ("ghc-semigroups" ,ghc-semigroups)))
13168 "https://github.com/HeinrichApfelmus/vault")
13169 (synopsis "Persistent store for arbitrary values")
13170 (description "This package provides vaults for Haskell. A vault is a
13171 persistent store for values of arbitrary types. It's like having first-class
13172 access to the storage space behind @code{IORefs}. The data structure is
13173 analogous to a bank vault, where you can access different bank boxes with
13174 different keys; hence the name. Also provided is a @code{locker} type,
13175 representing a store for a single element.")
13176 (license license:bsd-3)))
13178 (define-public ghc-vector
13180 (name "ghc-vector")
13181 (version "0.12.0.3")
13182 (outputs '("out" "doc"))
13186 (uri (string-append
13187 "https://hackage.haskell.org/package/vector/vector-"
13192 "1a756s4w759ji3als5alfxwlckh5zcmykfg9rll4mlr2knzvz8mq"))))
13193 (build-system haskell-build-system)
13194 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
13195 ;; disabled for now.
13199 `(("ghc-primitive" ,ghc-primitive)
13200 ("ghc-random" ,ghc-random)
13201 ("ghc-quickcheck" ,ghc-quickcheck)
13202 ;; ("ghc-hunit" ,ghc-hunit)
13203 ;; ("ghc-test-framework" ,ghc-test-framework)
13204 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
13205 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
13207 (home-page "https://github.com/haskell/vector")
13208 (synopsis "Efficient Arrays")
13209 (description "This library provides an efficient implementation of
13210 Int-indexed arrays (both mutable and immutable), with a powerful loop
13211 optimisation framework.")
13212 (license license:bsd-3)))
13214 (define-public ghc-vector-algorithms
13216 (name "ghc-vector-algorithms")
13217 (version "0.8.0.1")
13221 (uri (string-append "https://hackage.haskell.org/package/"
13222 "vector-algorithms-" version "/"
13223 "vector-algorithms-" version ".tar.gz"))
13226 "1zip8r7hh5g12xrjvhbg38z6hfxy7l6h6pl88qcqc0ygdmwdxg0m"))))
13227 (build-system haskell-build-system)
13229 `(("ghc-vector" ,ghc-vector)))
13231 `(("ghc-quickcheck" ,ghc-quickcheck)))
13232 (home-page "https://github.com/bos/math-functions")
13233 (synopsis "Algorithms for vector arrays in Haskell")
13234 (description "This Haskell library algorithms for vector arrays.")
13235 (license license:bsd-3)))
13237 (define-public ghc-vector-binary-instances
13239 (name "ghc-vector-binary-instances")
13240 (version "0.2.5.1")
13244 (uri (string-append
13245 "https://hackage.haskell.org/package/"
13246 "vector-binary-instances/vector-binary-instances-"
13247 version ".tar.gz"))
13250 "04n5cqm1v95pw1bp68l9drjkxqiy2vswxdq0fy1rqcgxisgvji9r"))))
13251 (build-system haskell-build-system)
13253 `(("ghc-vector" ,ghc-vector)))
13255 `(("ghc-tasty" ,ghc-tasty)
13256 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13257 (home-page "https://github.com/bos/vector-binary-instances")
13258 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
13259 (description "This library provides instances of @code{Binary} for the
13260 types defined in the @code{vector} package, making it easy to serialize
13261 vectors to and from disk. We use the generic interface to vectors, so all
13262 vector types are supported. Specific instances are provided for unboxed,
13263 boxed and storable vectors.")
13264 (license license:bsd-3)))
13266 (define-public ghc-vector-builder
13268 (name "ghc-vector-builder")
13273 (uri (string-append "https://hackage.haskell.org/package/"
13274 "vector-builder-" version "/"
13275 "vector-builder-" version ".tar.gz"))
13278 "0ww0l52p8s6gmh985adnjbvm1vrqpqbm08qdcrvxwhhcqmxgv6m3"))))
13279 (build-system haskell-build-system)
13280 (inputs `(("ghc-vector" ,ghc-vector)
13281 ("ghc-semigroups" ,ghc-semigroups)
13282 ("ghc-base-prelude" ,ghc-base-prelude)))
13283 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
13284 ("ghc-tasty" ,ghc-tasty)
13285 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13286 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
13287 ("ghc-hunit" ,ghc-hunit)
13288 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
13289 ("ghc-rerebase" ,ghc-rerebase)))
13290 (home-page "https://github.com/nikita-volkov/vector-builder")
13291 (synopsis "Vector builder for Haskell")
13292 (description "This Haskell package provides an API for constructing vectors.
13293 It provides the composable @code{Builder} abstraction, which has instances of the
13294 @code{Monoid} and @code{Semigroup} classes.
13296 You would first use the @code{Builder} abstraction to specify the structure of
13297 the vector; then you can execute the builder to actually produce the
13299 (license license:expat)))
13301 (define-public ghc-vector-th-unbox
13303 (name "ghc-vector-th-unbox")
13304 (version "0.2.1.7")
13308 (uri (string-append "https://hackage.haskell.org/package/"
13309 "vector-th-unbox-" version "/"
13310 "vector-th-unbox-" version ".tar.gz"))
13313 "0q8dqnbv1c2gi7jjdhqj14abj1vik23ki6lq4iz2sz18yc7q69fi"))))
13314 (build-system haskell-build-system)
13316 `(("ghc-vector" ,ghc-vector)
13317 ("ghc-data-default" ,ghc-data-default)))
13318 (home-page "https://github.com/liyang/vector-th-unbox")
13319 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
13320 (description "This Haskell library provides a Template Haskell
13321 deriver for unboxed vectors, given a pair of coercion functions to
13322 and from some existing type with an Unbox instance.")
13323 (license license:bsd-3)))
13325 (define-public ghc-void
13332 (uri (string-append
13333 "https://hackage.haskell.org/package/void/void-"
13338 "05vk3x1r9a2pqnzfji475m5gdih2im1h7rbi2sc67p1pvj6pbbsk"))))
13339 (build-system haskell-build-system)
13341 `(("ghc-semigroups" ,ghc-semigroups)
13342 ("ghc-hashable" ,ghc-hashable)))
13343 (home-page "https://github.com/ekmett/void")
13345 "Logically uninhabited data type")
13347 "A Haskell 98 logically uninhabited data type, used to indicate that a
13348 given term should not exist.")
13349 (license license:bsd-3)))
13351 (define-public ghc-wave
13357 (uri (string-append
13358 "https://hackage.haskell.org/package/wave/wave-"
13363 "149kgwngq3qxc7gxpkqb16j669j0wpv2f3gnvfwp58yg6m4259ki"))))
13364 (build-system haskell-build-system)
13367 (modify-phases %standard-phases
13368 (add-before 'configure 'update-constraints
13370 (substitute* "wave.cabal"
13371 (("temporary.* < 1\\.3")
13372 "temporary >= 1.1 && < 1.4")))))))
13374 `(("ghc-cereal" ,ghc-cereal)
13375 ("ghc-data-default-class"
13376 ,ghc-data-default-class)
13377 ("ghc-quickcheck" ,ghc-quickcheck)
13378 ("ghc-temporary" ,ghc-temporary)))
13380 `(("hspec-discover" ,hspec-discover)
13381 ("ghc-hspec" ,ghc-hspec)))
13382 (home-page "https://github.com/mrkkrp/wave")
13383 (synopsis "Work with WAVE and RF64 files in Haskell")
13384 (description "This package allows you to work with WAVE and RF64
13385 files in Haskell.")
13386 (license license:bsd-3)))
13388 (define-public ghc-wcwidth
13390 (name "ghc-wcwidth")
13395 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
13396 version ".tar.gz"))
13399 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
13400 (build-system haskell-build-system)
13402 `(("ghc-setlocale" ,ghc-setlocale)
13403 ("ghc-utf8-string" ,ghc-utf8-string)
13404 ("ghc-attoparsec" ,ghc-attoparsec)))
13405 (home-page "https://github.com/solidsnack/wcwidth/")
13406 (synopsis "Haskell bindings to wcwidth")
13407 (description "This package provides Haskell bindings to your system's
13408 native wcwidth and a command line tool to examine the widths assigned by it.
13409 The command line tool can compile a width table to Haskell code that assigns
13410 widths to the Char type.")
13411 (license license:bsd-3)))
13413 (define-public ghc-wcwidth-bootstrap
13415 (inherit ghc-wcwidth)
13416 (name "ghc-wcwidth-bootstrap")
13418 `(("ghc-setlocale" ,ghc-setlocale)
13419 ("ghc-utf8-string" ,ghc-utf8-string)
13420 ("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
13421 (properties '((hidden? #t)))))
13423 (define-public ghc-weigh
13430 (uri (string-append "https://hackage.haskell.org/package/weigh/"
13431 "weigh-" version ".tar.gz"))
13434 "0l85marb5rl9nr1c0id42dnr5i9fk1jciy5h6lywhb34w3hbj61g"))))
13435 (build-system haskell-build-system)
13437 `(("ghc-split" ,ghc-split)
13438 ("ghc-temporary" ,ghc-temporary)))
13439 (home-page "https://github.com/fpco/weigh#readme")
13440 (synopsis "Measure allocations of a Haskell functions/values")
13441 (description "This package provides tools to measure the memory usage of a
13442 Haskell value or function.")
13443 (license license:bsd-3)))
13445 (define-public ghc-wl-pprint
13447 (name "ghc-wl-pprint")
13451 (uri (string-append
13452 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
13453 version ".tar.gz"))
13456 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
13457 (build-system haskell-build-system)
13458 (home-page "https://hackage.haskell.org/package/wl-pprint")
13459 (synopsis "Wadler/Leijen pretty printer")
13461 "This is a pretty printing library based on Wadler's paper @i{A Prettier
13462 Printer}. This version allows the library user to declare overlapping
13463 instances of the @code{Pretty} class.")
13464 (license license:bsd-3)))
13466 (define-public ghc-wl-pprint-annotated
13468 (name "ghc-wl-pprint-annotated")
13469 (version "0.1.0.1")
13473 (uri (string-append
13474 "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-"
13479 "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb"))))
13480 (build-system haskell-build-system)
13482 `(("ghc-tasty" ,ghc-tasty)
13483 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
13485 "https://github.com/minad/wl-pprint-annotated#readme")
13487 "Wadler/Leijen pretty printer with annotation support")
13489 "Annotations are useful for coloring. This is a limited version of
13490 @code{wl-pprint-extras} without support for point effects and without the free
13491 monad. Like in @code{annotated-wl-pprint}, only annotations are supported.
13492 Compared to @code{annotated-wl-pprint} this library provides a slightly
13493 modernized interface.")
13494 (license license:bsd-3)))
13496 (define-public ghc-wl-pprint-text
13498 (name "ghc-wl-pprint-text")
13499 (version "1.2.0.0")
13503 (uri (string-append
13504 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
13505 version ".tar.gz"))
13508 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
13509 (build-system haskell-build-system)
13511 `(("ghc-base-compat" ,ghc-base-compat)))
13512 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
13513 (synopsis "Wadler/Leijen Pretty Printer for Text values")
13515 "A clone of wl-pprint for use with the text library.")
13516 (license license:bsd-3)))
13518 (define-public ghc-word8
13525 (uri (string-append
13526 "https://hackage.haskell.org/package/word8/word8-"
13531 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
13532 (build-system haskell-build-system)
13534 `(("ghc-hspec" ,ghc-hspec)
13535 ("hspec-discover" ,hspec-discover)))
13536 (home-page "https://hackage.haskell.org/package/word8")
13537 (synopsis "Word8 library for Haskell")
13538 (description "Word8 library to be used with @code{Data.ByteString}.")
13539 (license license:bsd-3)))
13541 (define-public ghc-x11
13548 (uri (string-append "https://hackage.haskell.org/package/X11/"
13549 "X11-" version ".tar.gz"))
13551 (base32 "0gg6852mrlgl8zng1j84fismz7k81jr5fk92glgkscf8q6ryg0bm"))))
13552 (build-system haskell-build-system)
13554 `(("libx11" ,libx11)
13555 ("libxrandr" ,libxrandr)
13556 ("libxinerama" ,libxinerama)
13557 ("libxscrnsaver" ,libxscrnsaver)
13558 ("ghc-data-default" ,ghc-data-default)))
13559 (home-page "https://github.com/haskell-pkg-janitors/X11")
13560 (synopsis "Bindings to the X11 graphics library")
13562 "This package provides Haskell bindings to the X11 graphics library. The
13563 bindings are a direct translation of the C bindings.")
13564 (license license:bsd-3)))
13566 (define-public ghc-x11-xft
13568 (name "ghc-x11-xft")
13573 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
13574 "X11-xft-" version ".tar.gz"))
13576 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
13578 `(("ghc-x11" ,ghc-x11)
13579 ("ghc-utf8-string" ,ghc-utf8-string)
13582 ("xorgproto" ,xorgproto)))
13584 `(("pkg-config" ,pkg-config)))
13585 (build-system haskell-build-system)
13586 (home-page "https://hackage.haskell.org/package/X11-xft")
13587 (synopsis "Bindings to Xft")
13589 "Bindings to the Xft, X Free Type interface library, and some Xrender
13591 (license license:lgpl2.1)))
13593 (define-public ghc-xdg-basedir
13595 (name "ghc-xdg-basedir")
13600 (uri (string-append
13601 "https://hackage.haskell.org/package/xdg-basedir/"
13602 "xdg-basedir-" version ".tar.gz"))
13605 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
13606 (build-system haskell-build-system)
13607 (home-page "http://github.com/willdonnelly/xdg-basedir")
13608 (synopsis "XDG Base Directory library for Haskell")
13609 (description "This package provides a library implementing the XDG Base Directory spec.")
13610 (license license:bsd-3)))
13612 (define-public ghc-xml
13619 (uri (string-append
13620 "https://hackage.haskell.org/package/xml/xml-"
13625 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
13626 (build-system haskell-build-system)
13627 (home-page "https://github.com/GaloisInc/xml")
13628 (synopsis "Simple XML library for Haskell")
13629 (description "This package provides a simple XML library for Haskell.")
13630 (license license:bsd-3)))
13632 (define-public ghc-xml-conduit
13634 (name "ghc-xml-conduit")
13635 (version "1.8.0.1")
13639 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
13640 "xml-conduit-" version ".tar.gz"))
13643 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
13644 (build-system haskell-build-system)
13646 `(("ghc-conduit" ,ghc-conduit)
13647 ("ghc-conduit-extra" ,ghc-conduit-extra)
13648 ("ghc-doctest" ,ghc-doctest)
13649 ("ghc-resourcet" ,ghc-resourcet)
13650 ("ghc-xml-types" ,ghc-xml-types)
13651 ("ghc-attoparsec" ,ghc-attoparsec)
13652 ("ghc-data-default-class" ,ghc-data-default-class)
13653 ("ghc-blaze-markup" ,ghc-blaze-markup)
13654 ("ghc-blaze-html" ,ghc-blaze-html)
13655 ("ghc-monad-control" ,ghc-monad-control)
13656 ("ghc-hspec" ,ghc-hspec)
13657 ("ghc-hunit" ,ghc-hunit)))
13658 (home-page "https://github.com/snoyberg/xml")
13659 (synopsis "Utilities for dealing with XML with the conduit package")
13661 "This package provides pure-Haskell utilities for dealing with XML with
13662 the @code{conduit} package.")
13663 (license license:expat)))
13665 (define-public ghc-xml-types
13667 (name "ghc-xml-types")
13672 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
13673 "xml-types-" version ".tar.gz"))
13676 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
13677 (build-system haskell-build-system)
13678 (home-page "https://john-millikin.com/software/haskell-xml/")
13679 (synopsis "Basic types for representing XML")
13680 (description "This package provides basic types for representing XML
13682 (license license:expat)))
13684 (define-public ghc-yaml
13687 (version "0.11.1.2")
13690 (uri (string-append "https://hackage.haskell.org/package/"
13691 "yaml/yaml-" version ".tar.gz"))
13694 "028pz77n92l6kjgjv263h4b6yhw1iibdbf3a3dkn5qnz537xpzhc"))))
13695 (build-system haskell-build-system)
13697 `(("ghc-conduit" ,ghc-conduit)
13698 ("ghc-resourcet" ,ghc-resourcet)
13699 ("ghc-aeson" ,ghc-aeson)
13700 ("ghc-unordered-containers" ,ghc-unordered-containers)
13701 ("ghc-vector" ,ghc-vector)
13702 ("ghc-attoparsec" ,ghc-attoparsec)
13703 ("ghc-scientific" ,ghc-scientific)
13704 ("ghc-semigroups" ,ghc-semigroups)
13705 ("ghc-temporary" ,ghc-temporary)
13706 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
13707 ("ghc-base-compat" ,ghc-base-compat)
13708 ("ghc-libyaml" ,ghc-libyaml)))
13710 `(("ghc-hspec" ,ghc-hspec)
13711 ("ghc-hunit" ,ghc-hunit)
13712 ("hspec-discover" ,hspec-discover)
13713 ("ghc-mockery" ,ghc-mockery)
13714 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)))
13715 (home-page "https://github.com/snoyberg/yaml/")
13716 (synopsis "Parsing and rendering YAML documents")
13718 "This package provides a library to parse and render YAML documents.")
13719 (license license:bsd-3)))
13721 (define-public ghc-zip-archive
13723 (name "ghc-zip-archive")
13728 (uri (string-append
13729 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
13734 "1cdix5mnxrbs7b2kivhdydhfzgxidd9dqlw71mdw5p21cabwkmf5"))))
13735 (build-system haskell-build-system)
13738 (modify-phases %standard-phases
13739 (add-before 'check 'set-PATH-for-tests
13740 (lambda* (#:key inputs #:allow-other-keys)
13741 (let ((unzip (assoc-ref inputs "unzip"))
13742 (which (assoc-ref inputs "which"))
13743 (path (getenv "PATH")))
13744 (setenv "PATH" (string-append unzip "/bin:" which "/bin:" path))
13747 `(("ghc-digest" ,ghc-digest)
13748 ("ghc-temporary" ,ghc-temporary)
13749 ("ghc-zlib" ,ghc-zlib)))
13751 `(("ghc-hunit" ,ghc-hunit)
13754 (home-page "https://hackage.haskell.org/package/zip-archive")
13755 (synopsis "Zip archive library for Haskell")
13756 (description "The zip-archive library provides functions for creating,
13757 modifying, and extracting files from zip archives in Haskell.")
13758 (license license:bsd-3)))
13760 (define-public ghc-zlib
13763 (version "0.6.2.1")
13764 (outputs '("out" "doc"))
13768 (uri (string-append
13769 "https://hackage.haskell.org/package/zlib/zlib-"
13774 "1l11jraslcrp9d4wnhwfyhwk4fsiq1aq8i6vj81vcq1m2zzi1y7h"))))
13775 (build-system haskell-build-system)
13778 (modify-phases %standard-phases
13779 (add-before 'configure 'strip-test-framework-constraints
13781 (substitute* "zlib.cabal"
13782 (("tasty >= 0\\.8 && < 0\\.12") "tasty")
13783 (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit")
13784 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
13785 (inputs `(("zlib" ,zlib)))
13787 `(("ghc-quickcheck" ,ghc-quickcheck)
13788 ("ghc-tasty" ,ghc-tasty)
13789 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13790 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13791 (home-page "https://hackage.haskell.org/package/zlib")
13793 "Compression and decompression in the gzip and zlib formats")
13795 "This package provides a pure interface for compressing and decompressing
13796 streams of data represented as lazy @code{ByteString}s. It uses the zlib C
13797 library so it has high performance. It supports the @code{zlib}, @code{gzip}
13798 and @code{raw} compression formats. It provides a convenient high level API
13799 suitable for most tasks and for the few cases where more control is needed it
13800 provides access to the full zlib feature set.")
13801 (license license:bsd-3)))
13803 (define-public ghc-zlib-bindings
13805 (name "ghc-zlib-bindings")
13806 (version "0.1.1.5")
13810 (uri (string-append "https://hackage.haskell.org/package/"
13811 "zlib-bindings/zlib-bindings-" version ".tar.gz"))
13814 "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8"))))
13815 (build-system haskell-build-system)
13817 `(("ghc-zlib" ,ghc-zlib)))
13819 `(("ghc-hspec" ,ghc-hspec)
13820 ("ghc-quickcheck" ,ghc-quickcheck)))
13823 ("2" "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc")))
13824 (home-page "https://github.com/snapframework/zlib-bindings")
13825 (synopsis "Low-level bindings to the @code{zlib} package")
13826 (description "This package provides low-level bindings to the
13827 @code{zlib} package.")
13828 (license license:bsd-3)))
13830 (define-public ghc-zstd
13833 (version "0.1.1.2")
13837 (uri (string-append "https://hackage.haskell.org/package/"
13838 "zstd/zstd-" version ".tar.gz"))
13841 "147s496zvw13akxqzg65mgfvk3bvhrcilxgf8n786prxg5cm4jz2"))))
13842 (build-system haskell-build-system)
13844 `(("ghc-quickcheck" ,ghc-quickcheck)
13845 ("ghc-test-framework" ,ghc-test-framework)
13846 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
13847 (home-page "https://github.com/luispedro/hs-zstd")
13848 (synopsis "Haskell bindings to the Zstandard compression algorithm")
13849 (description "This library provides Haskell bindings to the
13850 Zstandard compression algorithm, a fast lossless compression algorithm
13851 targeting real-time compression scenarios at zlib-level and better
13852 compression ratios.")
13853 (license license:bsd-3)))