69ff954ce4bfefe401179b32db97560c3a535eb2
[jackhill/guix/guix.git] / gnu / packages / haskell-xyz.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch>
3 ;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
4 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
5 ;;; Copyright © 2015, 2019 Eric Bavier <bavier@member.fsf.org>
6 ;;; Copyright © 2016, 2018, 2019, 2021 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–2019, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
16 ;;; Copyright © 2018 Tonton <tonton@riseup.net>
17 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
18 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2018, 2019 Gabriel Hondet <gabrielhondet@gmail.com>
20 ;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
21 ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
22 ;;; Copyright © 2019,2020 John Soo <jsoo1@asu.edu>
23 ;;; Copyright © 2019, 2020 Kyle Meyer <kyle@kyleam.com>
24 ;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
25 ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
26 ;;; Copyright © 2020 JoJo <jo@jo.zone>
27 ;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
28 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
29 ;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
30 ;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org>
31 ;;; Copyright © 2021, 2022 Alice BRENON <alice.brenon@ens-lyon.fr>
32 ;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
33 ;;; Copyright © 2022 jgart <jgart@dismail.de>
34 ;;;
35 ;;; This file is part of GNU Guix.
36 ;;;
37 ;;; GNU Guix is free software; you can redistribute it and/or modify it
38 ;;; under the terms of the GNU General Public License as published by
39 ;;; the Free Software Foundation; either version 3 of the License, or (at
40 ;;; your option) any later version.
41 ;;;
42 ;;; GNU Guix is distributed in the hope that it will be useful, but
43 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
44 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45 ;;; GNU General Public License for more details.
46 ;;;
47 ;;; You should have received a copy of the GNU General Public License
48 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
49
50 (define-module (gnu packages haskell-xyz)
51 #:use-module (gnu packages)
52 #:use-module (gnu packages base)
53 #:use-module (gnu packages compression)
54 #:use-module (gnu packages databases)
55 #:use-module (gnu packages emacs)
56 #:use-module (gnu packages freedesktop)
57 #:use-module (gnu packages gl)
58 #:use-module (gnu packages glib)
59 #:use-module (gnu packages graphviz)
60 #:use-module (gnu packages gtk)
61 #:use-module (gnu packages haskell)
62 #:use-module (gnu packages haskell-apps)
63 #:use-module (gnu packages haskell-check)
64 #:use-module (gnu packages haskell-crypto)
65 #:use-module (gnu packages haskell-web)
66 #:use-module (gnu packages libffi)
67 #:use-module (gnu packages linux)
68 #:use-module (gnu packages llvm)
69 #:use-module (gnu packages lua)
70 #:use-module (gnu packages maths)
71 #:use-module (gnu packages ncurses)
72 #:use-module (gnu packages pcre)
73 #:use-module (gnu packages pkg-config)
74 #:use-module (gnu packages sdl)
75 #:use-module (gnu packages serialization)
76 #:use-module (gnu packages tls)
77 #:use-module (gnu packages version-control)
78 #:use-module (gnu packages xml)
79 #:use-module (gnu packages xorg)
80 #:use-module (guix build-system haskell)
81 #:use-module (guix download)
82 #:use-module (guix gexp)
83 #:use-module (guix git-download)
84 #:use-module (guix utils)
85 #:use-module ((guix licenses) #:prefix license:)
86 #:use-module (guix packages)
87 #:use-module (srfi srfi-1))
88
89 (define-public ghc-abstract-deque
90 (package
91 (name "ghc-abstract-deque")
92 (version "0.3")
93 (source
94 (origin
95 (method url-fetch)
96 (uri (hackage-uri "abstract-deque" version))
97 (sha256
98 (base32
99 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
100 (build-system haskell-build-system)
101 (properties '((upstream-name . "abstract-deque")))
102 (inputs (list ghc-random))
103 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
104 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
105 (description "This Haskell package provides an abstract interface to
106 highly-parameterizable queues/deques.
107
108 Background: There exists a feature space for queues that extends between:
109
110 @itemize
111 @item Simple, single-ended, non-concurrent, bounded queues
112
113 @item Double-ended, thread-safe, growable queues with important points
114 in between (such as the queues used for work stealing).
115 @end itemize
116
117 This package includes an interface for Deques that allows the programmer
118 to use a single API for all of the above, while using the type system to
119 select an efficient implementation given the requirements (using type families).
120
121 This package also includes a simple reference implementation based on
122 @code{IORef} and @code{Data.Sequence}.")
123 (license license:bsd-3)))
124
125 (define-public ghc-abstract-par
126 (package
127 (name "ghc-abstract-par")
128 (version "0.3.3")
129 (source
130 (origin
131 (method url-fetch)
132 (uri (hackage-uri "abstract-par" version))
133 (sha256
134 (base32
135 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
136 (build-system haskell-build-system)
137 (properties '((upstream-name . "abstract-par")))
138 (home-page "https://github.com/simonmar/monad-par")
139 (synopsis "Abstract parallelization interface for Haskell")
140 (description "This Haskell package is an abstract interface
141 only. It provides a number of type clasess, but not an
142 implementation. The type classes separate different levels
143 of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
144 module for more details.")
145 (license license:bsd-3)))
146
147 (define-public ghc-active
148 (package
149 (name "ghc-active")
150 (version "0.2.0.16")
151 (source (origin
152 (method url-fetch)
153 (uri (hackage-uri "active" version))
154 (sha256
155 (base32
156 "1fz2rsyk41p9f9avlmn9lrdmii5alv88lkw677mw8q6mzyxpw67i"))))
157 (build-system haskell-build-system)
158 (properties '((upstream-name . "active")))
159 (inputs (list ghc-vector ghc-semigroups ghc-semigroupoids ghc-lens
160 ghc-linear))
161 (native-inputs (list ghc-quickcheck))
162 (arguments
163 `(#:cabal-revision ("1"
164 "0cyfwrr5c14f5rgrf8dv7i8qsrnmnzigw0xp6l88kfxd61zhk4n8")))
165 (home-page "http://hackage.haskell.org/package/active")
166 (synopsis "Abstractions for animation")
167 (description
168 "This package defines an @code{Active} abstraction for
169 time-varying values with finite start and end times. It is used for
170 describing animations within the
171 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
172 diagrams framework}.")
173 (license license:bsd-3)))
174
175 (define-public ghc-adjunctions
176 (package
177 (name "ghc-adjunctions")
178 (version "4.4.2")
179 (source (origin
180 (method url-fetch)
181 (uri (hackage-uri "adjunctions" version))
182 (sha256
183 (base32
184 "06354xzgf78jl4g1xw11rp74gi7zh94rgvsji7ma1g0hp26myyql"))))
185 (build-system haskell-build-system)
186 (properties '((upstream-name . "adjunctions")))
187 (inputs (list ghc-comonad
188 ghc-contravariant
189 ghc-distributive
190 ghc-free
191 ghc-profunctors
192 ghc-tagged
193 ghc-semigroupoids
194 ghc-semigroups
195 ghc-transformers-compat
196 ghc-void))
197 (native-inputs (list ghc-generic-deriving ghc-hspec hspec-discover))
198 (home-page "http://github.com/ekmett/adjunctions/")
199 (synopsis "Adjunctions and representable functors")
200 (description "This library provides adjunctions and representable functors
201 for Haskell.")
202 (license license:bsd-3)))
203
204 ;; Deprecated package.
205 (define-public ghc-aeson-compat
206 (package
207 (name "ghc-aeson-compat")
208 (version "0.3.10")
209 (source
210 (origin
211 (method url-fetch)
212 (uri (hackage-uri "aeson-compat" version))
213 (sha256
214 (base32
215 "0ia3qfdpbrzhwwg4ywpdwca0z1m85k081pcz6jh1sx8qjsvcr71w"))))
216 (build-system haskell-build-system)
217 (properties '((upstream-name . "aeson-compat")))
218 (inputs (list ghc-base-compat
219 ghc-aeson
220 ghc-attoparsec
221 ghc-attoparsec-iso8601
222 ghc-hashable
223 ghc-scientific
224 ghc-time-locale-compat
225 ghc-unordered-containers
226 ghc-vector
227 ghc-tagged))
228 (native-inputs
229 (list ghc-tasty
230 ghc-tasty-hunit
231 ghc-tasty-quickcheck
232 ghc-quickcheck
233 ghc-quickcheck-instances
234 ghc-base-orphans))
235 (arguments
236 `(#:cabal-revision ("4"
237 "001w7pck3q5k4cnx53npllil5cblkg1ssqza4s9v347dfih3zmss")))
238 (home-page "https://github.com/phadej/aeson-compat")
239 (synopsis "Compatibility layer for ghc-aeson")
240 (description "This Haskell package provides compatibility layer for
241 ghc-aeson.")
242 (license license:bsd-3)))
243
244 (define-public ghc-aeson-diff
245 (package
246 (name "ghc-aeson-diff")
247 (version "1.1.0.13")
248 (source
249 (origin
250 (method url-fetch)
251 (uri (hackage-uri "aeson-diff" version))
252 (sha256
253 (base32
254 "0sd13q0nj0k1sam5xfj6dcjcki18f375sa69hm6i4xc6snfhn3cb"))))
255 (build-system haskell-build-system)
256 (properties '((upstream-name . "aeson-diff")))
257 (inputs
258 (list ghc-aeson
259 ghc-edit-distance-vector
260 ghc-hashable
261 ghc-scientific
262 ghc-unordered-containers
263 ghc-vector
264 ghc-semigroups
265 ghc-optparse-applicative))
266 (native-inputs
267 (list ghc-quickcheck
268 ghc-quickcheck-instances
269 ghc-glob
270 ghc-quickcheck
271 ghc-quickcheck-instances
272 ghc-quickcheck
273 ghc-doctest
274 hlint))
275 (arguments
276 `(#:cabal-revision ("1"
277 "1028adallw7bm72948lj322bb5a99gfs0qc1j0pnm8hryp6n7ma5")
278 #:tests? #f ; Needs doctest Setup.hs
279 #:phases
280 (modify-phases %standard-phases
281 ;; Tries to use non-existent doctest API.
282 (add-after 'unpack 'disable-doctest
283 (lambda _
284 (with-output-to-file "Setup.hs"
285 (lambda _
286 (display
287 "import Distribution.Simple\nmain = defaultMain\n"))))))))
288 (home-page "https://github.com/thsutton/aeson-diff")
289 (synopsis "Extract and apply patches to JSON documents")
290 (description "This is a small library for working with changes to JSON
291 documents. It includes a library and two command-line executables in the
292 style of the @command{diff} and @command{patch} commands available on many
293 systems.")
294 (license license:bsd-3)))
295
296 (define-public ghc-alex
297 (package
298 (name "ghc-alex")
299 (version "3.2.7.1")
300 (source (origin
301 (method url-fetch)
302 (uri (hackage-uri "alex" version))
303 (sha256
304 (base32
305 "1v0vm1l4xvybzwj1p6j5j58yiw5nhbnx7yxjnpyjy6wggsig3llv"))))
306 (build-system haskell-build-system)
307 (properties '((upstream-name . "alex")))
308 (home-page "http://www.haskell.org/alex/")
309 (synopsis "Tool for generating lexical analysers in Haskell")
310 (description
311 "Alex is a tool for generating lexical analysers in Haskell. It takes a
312 description of tokens based on regular expressions and generates a Haskell
313 module containing code for scanning text efficiently. It is similar to the
314 tool lex or flex for C/C++.")
315 (license license:bsd-3)))
316
317 (define-public ghc-alsa-core
318 (package
319 (name "ghc-alsa-core")
320 (version "0.5.0.1")
321 (source
322 (origin
323 (method url-fetch)
324 (uri (hackage-uri "alsa-core" version))
325 (sha256
326 (base32
327 "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b"))))
328 (build-system haskell-build-system)
329 (properties '((upstream-name . "alsa-core")))
330 (arguments
331 `(#:extra-directories ("alsa-lib")))
332 (inputs
333 (list ghc-extensible-exceptions alsa-lib))
334 (native-inputs
335 (list pkg-config))
336 (home-page "https://wiki.haskell.org/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)))
341
342 (define-public ghc-alsa-mixer
343 (package
344 (name "ghc-alsa-mixer")
345 (version "0.3.0")
346 (source
347 (origin
348 (method url-fetch)
349 (uri
350 (hackage-uri "alsa-mixer" version))
351 (sha256
352 (base32
353 "00ny2p3276jilidjs44npc8zmbhynz3f2lpmlwwl6swwx5yijsnb"))))
354 (build-system haskell-build-system)
355 (properties '((upstream-name . "alsa-mixer")))
356 (inputs (list ghc-alsa-core))
357 (native-inputs (list ghc-c2hs))
358 (home-page "https://github.com/ttuegel/alsa-mixer")
359 (synopsis "Bindings to the ALSA simple mixer API")
360 (description
361 "This package provides bindings to the ALSA simple mixer API.")
362 (license license:bsd-3)))
363
364 (define-public ghc-annotated-wl-pprint
365 (package
366 (name "ghc-annotated-wl-pprint")
367 (version "0.7.0")
368 (source
369 (origin
370 (method url-fetch)
371 (uri (hackage-uri "annotated-wl-pprint" version))
372 (sha256
373 (base32
374 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
375 (build-system haskell-build-system)
376 (properties '((upstream-name . "annotated-wl-pprint")))
377 (home-page
378 "https://github.com/david-christiansen/annotated-wl-pprint")
379 (synopsis
380 "The Wadler/Leijen Pretty Printer, with annotation support")
381 (description "This is a modified version of wl-pprint, which was based on
382 Wadler's paper \"A Prettier Printer\". This version allows the library user
383 to annotate the text with semantic information, which can later be rendered in
384 a variety of ways.")
385 (license license:bsd-3)))
386
387 (define-public ghc-ansi-terminal
388 (package
389 (name "ghc-ansi-terminal")
390 (version "0.11.4")
391 (source (origin
392 (method url-fetch)
393 (uri (hackage-uri "ansi-terminal" version))
394 (sha256
395 (base32
396 "098f8bdxqmgxaz8y87s6b6bshsq950zq0b75rmbihp2k1a7y963q"))))
397 (build-system haskell-build-system)
398 (properties '((upstream-name . "ansi-terminal")))
399 (inputs (list ghc-colour))
400 (home-page "https://github.com/UnkindPartition/ansi-terminal")
401 (synopsis "ANSI terminal support for Haskell")
402 (description
403 "This package provides ANSI terminal support for Haskell. It
404 allows cursor movement, screen clearing, color output showing or hiding the
405 cursor, and changing the title.")
406 (license license:bsd-3)))
407
408 (define-public ghc-ansi-wl-pprint
409 (package
410 (name "ghc-ansi-wl-pprint")
411 (version "0.6.9")
412 (source
413 (origin
414 (method url-fetch)
415 (uri (hackage-uri "ansi-wl-pprint" version))
416 (sha256
417 (base32
418 "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7"))))
419 (build-system haskell-build-system)
420 (properties '((upstream-name . "ansi-wl-pprint")))
421 (arguments
422 `(#:cabal-revision
423 ("2" "1xrv66v5hqchjhj8a0g3awy1qpsswk2jqb4w4yh3mm1py5s0dlr0")))
424 (inputs
425 (list ghc-ansi-terminal))
426 (home-page "https://github.com/ekmett/ansi-wl-pprint")
427 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
428 (description "This is a pretty printing library based on Wadler's paper
429 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
430 colored output using the ansi-terminal package.")
431 (license license:bsd-3)))
432
433 (define-public ghc-appar
434 (package
435 (name "ghc-appar")
436 (version "0.1.8")
437 (source
438 (origin
439 (method url-fetch)
440 (uri (hackage-uri "appar" version))
441 (sha256
442 (base32
443 "07v3h766q9mnhphsm53718h1lds147ix7dj15kc5hnsj4vffvkn4"))))
444 (build-system haskell-build-system)
445 (properties '((upstream-name . "appar")))
446 (home-page
447 "https://hackage.haskell.org/package/appar")
448 (synopsis "Simple applicative parser")
449 (description "This package provides a simple applicative parser in Parsec
450 style.")
451 (license license:bsd-3)))
452
453 (define-public ghc-assoc
454 (package
455 (name "ghc-assoc")
456 (version "1.0.2")
457 (source
458 (origin
459 (method url-fetch)
460 (uri (hackage-uri "assoc" version))
461 (sha256
462 (base32
463 "0kqlizznjy94fm8zr1ng633yxbinjff7cnsiaqs7m33ix338v66q"))))
464 (build-system haskell-build-system)
465 (properties '((upstream-name . "assoc")))
466 (inputs
467 (list ghc-bifunctors ghc-tagged))
468 (arguments
469 `(#:cabal-revision ("3"
470 "0mrb12dx316q4gxyn68x2rl8jq0gd77zffd12r8j1r41l0xd9f4k")))
471 (home-page
472 "https://hackage.haskell.org/package/assoc")
473 (synopsis
474 "Swap and assoc: Symmetric and Semigroupy Bifunctors")
475 (description
476 "Provides generalisations of @code{swap :: (a,b) -> (b,a)} and
477 @code{assoc :: ((a,b),c) -> (a,(b,c))} to @code{Bifunctor}s supporting
478 similar operations (e.g. @code{Either}, @code{These}).")
479 (license license:bsd-3)))
480
481 (define-public ghc-async
482 (package
483 (name "ghc-async")
484 (version "2.2.4")
485 (source
486 (origin
487 (method url-fetch)
488 (uri (hackage-uri "async" version))
489 (sha256
490 (base32
491 "09d7w3krfhnmf9dp6yffa9wykinhw541wibnjgnlyv77w1dzhka8"))))
492 (build-system haskell-build-system)
493 (properties '((upstream-name . "async")))
494 (inputs
495 (list ghc-hashable))
496 (native-inputs
497 (list ghc-hunit ghc-test-framework ghc-test-framework-hunit))
498 (arguments
499 `(#:cabal-revision ("2"
500 "1j93w1krkadqijn59yjiws1366yhcn2mad1irqrk50in6l10k51b")))
501 (home-page "https://github.com/simonmar/async")
502 (synopsis "Library to run IO operations asynchronously")
503 (description "Async provides a library to run IO operations
504 asynchronously, and wait for their results. It is a higher-level interface
505 over threads in Haskell, in which @code{Async a} is a concurrent thread that
506 will eventually deliver a value of type @code{a}.")
507 (license license:bsd-3)))
508
509 (define-public ghc-atomic-primops
510 (package
511 (name "ghc-atomic-primops")
512 (version "0.8.4")
513 (source
514 (origin
515 (method url-fetch)
516 (uri (hackage-uri "atomic-primops" version))
517 (sha256
518 (base32
519 "0gidqyk913vhcz3q4vnpadx3vkkrwb66rqhsxvdba8g2p5z63a12"))))
520 (build-system haskell-build-system)
521 (properties '((upstream-name . "atomic-primops")))
522 (inputs (list ghc-primitive))
523 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
524 (synopsis "Safe approach to CAS and other atomic ops")
525 (description
526 "GHC 7.4 introduced a new @code{casMutVar} PrimOp which is difficult to
527 use safely, because pointer equality is a highly unstable property in Haskell.
528 This library provides a safer method based on the concept of @code{Ticket}s.")
529 (license license:bsd-3)))
530
531 (define-public ghc-atomic-write
532 (package
533 (name "ghc-atomic-write")
534 (version "0.2.0.7")
535 (source
536 (origin
537 (method url-fetch)
538 (uri (hackage-uri "atomic-write" version))
539 (sha256
540 (base32
541 "03cn3ii74h0w3g4h78xsx9v2sn58r3qsr2dbdwq340xwhiwcgxdm"))))
542 (build-system haskell-build-system)
543 (properties `((upstream-name . "atomic-write")))
544 (inputs
545 (list ghc-temporary ghc-unix-compat))
546 (native-inputs
547 (list ghc-temporary ghc-unix-compat ghc-hspec hspec-discover))
548 (home-page "https://github.com/stackbuilders/atomic-write")
549 (synopsis "Atomically write to a file")
550 (description
551 "Atomically write to a file on POSIX-compliant systems while preserving
552 permissions. @code{mv} is an atomic operation. This makes it simple to write
553 to a file atomically just by using the @code{mv} operation. However, this
554 will destroy the permissions on the original file. This library preserves
555 permissions while atomically writing to a file.")
556 (license license:expat)))
557
558 (define-public ghc-attoparsec
559 (package
560 (name "ghc-attoparsec")
561 (version "0.14.4")
562 (source (origin
563 (method url-fetch)
564 (uri (hackage-uri "attoparsec" version))
565 (sha256
566 (base32
567 "0v4yjz4qi8bwhbyavqxlhsfb1iv07v10gxi64khmsmi4hvjpycrz"))))
568 (build-system haskell-build-system)
569 (properties '((upstream-name . "attoparsec")))
570 (inputs (list ghc-scientific))
571 (native-inputs (list ghc-quickcheck ghc-quickcheck-unicode ghc-tasty
572 ghc-tasty-quickcheck ghc-vector))
573 (arguments
574 `(#:cabal-revision ("2"
575 "00jyrn2asz1kp698l3fyh19xxxz4npf1993y041x9b9cq239smn0")))
576 (home-page "https://github.com/bgamari/attoparsec")
577 (synopsis "Fast combinator parsing for bytestrings and text")
578 (description
579 "This library provides a fast parser combinator library,
580 aimed particularly at dealing efficiently with network protocols and
581 complicated text/binary file formats.")
582 (license license:bsd-3)))
583
584 (define-public ghc-attoparsec-bootstrap
585 (package
586 (inherit ghc-attoparsec)
587 (name "ghc-attoparsec-bootstrap")
588 (arguments `(#:tests? #f))
589 (inputs
590 `(("ghc-scientific" ,ghc-scientific-bootstrap)))
591 (native-inputs '())
592 (properties '((hidden? #t)))))
593
594 (define-public ghc-attoparsec-iso8601
595 (package
596 (name "ghc-attoparsec-iso8601")
597 (version "1.0.2.1")
598 (source (origin
599 (method url-fetch)
600 (uri (hackage-uri "attoparsec-iso8601" version))
601 (sha256
602 (base32
603 "1zmj6v63xjj20ja50ffbi222yg513cnnqyxl76ybb4x98z9jld0k"))))
604 (build-system haskell-build-system)
605 (properties '((upstream-name . "attoparsec-iso8601")))
606 (inputs (list ghc-attoparsec ghc-base-compat-batteries ghc-time-compat))
607 (home-page "https://github.com/haskell/aeson")
608 (synopsis "Parse ISO 8601 dates")
609 (description "Haskell library for parsing of ISO 8601 dates, originally
610 from aeson.")
611 (license license:bsd-3)))
612
613 (define-public ghc-auto-update
614 (package
615 (name "ghc-auto-update")
616 (version "0.1.6")
617 (source
618 (origin
619 (method url-fetch)
620 (uri (hackage-uri "auto-update" version))
621 (sha256
622 (base32
623 "1i36xc2i34aync8271x3pv515l3zb53i518dybn8ghqkhzf27q7l"))))
624 (build-system haskell-build-system)
625 (properties '((upstream-name . "auto-update")))
626 (native-inputs
627 (list ghc-hspec ghc-hunit ghc-retry hspec-discover))
628 (home-page "https://github.com/yesodweb/wai")
629 (synopsis "Efficiently run periodic, on-demand actions")
630 (description "This library provides mechanisms to efficiently run
631 periodic, on-demand actions in Haskell.")
632 (license license:expat)))
633
634 (define-public ghc-aws
635 (package
636 (name "ghc-aws")
637 (version "0.23")
638 (source
639 (origin
640 (method url-fetch)
641 (uri (hackage-uri "aws" version))
642 (sha256 (base32
643 "0kfdj9hxjvziq1y74xj9mm17zcgwywpvp9c0i6gfd5malf4qxgg0"))))
644 (build-system haskell-build-system)
645 (properties '((upstream-name . "aws")))
646 (arguments
647 `(#:tests? #f ; Tests require AWS credentials.
648 #:configure-flags (list "-fNetworkBSD"))) ; Use network-bsd.
649 (inputs
650 (list ghc-aeson
651 ghc-attoparsec
652 ghc-base16-bytestring
653 ghc-base64-bytestring
654 ghc-blaze-builder
655 ghc-byteable
656 ghc-case-insensitive
657 ghc-cereal
658 ghc-conduit
659 ghc-conduit-extra
660 ghc-cryptonite
661 ghc-data-default
662 ghc-http-conduit
663 ghc-http-types
664 ghc-lifted-base
665 ghc-monad-control
666 ghc-network
667 ghc-network-bsd
668 ghc-old-locale
669 ghc-safe
670 ghc-scientific
671 ghc-tagged
672 ghc-unordered-containers
673 ghc-utf8-string
674 ghc-vector
675 ghc-xml-conduit))
676 (native-inputs
677 (list ghc-quickcheck
678 ghc-errors
679 ghc-http-client
680 ghc-http-client-tls
681 ghc-quickcheck-instances
682 ghc-tasty
683 ghc-tasty-quickcheck
684 ghc-tasty-hunit
685 ghc-conduit-combinators))
686 (home-page "https://github.com/aristidb/aws")
687 (synopsis "Amazon Web Services for Haskell")
688 (description "This package attempts to provide support for using
689 Amazon Web Services like S3 (storage), SQS (queuing) and others to
690 Haskell programmers. The ultimate goal is to support all Amazon
691 Web Services.")
692 (license license:bsd-3)))
693
694 (define-public ghc-base16-bytestring
695 (package
696 (name "ghc-base16-bytestring")
697 (version "1.0.2.0")
698 (source (origin
699 (method url-fetch)
700 (uri (hackage-uri "base16-bytestring" version))
701 (sha256
702 (base32
703 "1167f9jaivnabn6kg2gc421ac9njb67fr4v0adbj3qph7qa92nhx"))))
704 (build-system haskell-build-system)
705 (properties '((upstream-name . "base16-bytestring")))
706 (native-inputs (list ghc-hunit ghc-quickcheck ghc-test-framework
707 ghc-test-framework-hunit
708 ghc-test-framework-quickcheck2))
709 (home-page "http://github.com/haskell/base16-bytestring")
710 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
711 (description
712 "This package provides a Haskell library for working with base16-encoded
713 data quickly and efficiently, using the ByteString type.")
714 (license license:bsd-3)))
715
716 (define-public ghc-base64-bytestring
717 (package
718 (name "ghc-base64-bytestring")
719 (version "1.2.1.0")
720 (source (origin
721 (method url-fetch)
722 (uri (hackage-uri "base64-bytestring" version))
723 (sha256
724 (base32
725 "1ja9vkgnpkzaw8gz6sm5jmgha6wg3m1j281m0nv1w9yyxlqfvy7v"))))
726 (build-system haskell-build-system)
727 (properties '((upstream-name . "base64-bytestring")))
728 (native-inputs (list ghc-hunit ghc-quickcheck ghc-test-framework
729 ghc-test-framework-hunit
730 ghc-test-framework-quickcheck2))
731 (home-page "https://github.com/haskell/base64-bytestring")
732 (synopsis "Base64 encoding and decoding for ByteStrings")
733 (description "This library provides fast base64 encoding and decoding for
734 Haskell @code{ByteString}s.")
735 (license license:bsd-3)))
736
737 (define-public ghc-base-compat
738 (package
739 (name "ghc-base-compat")
740 (version "0.12.2")
741 (source (origin
742 (method url-fetch)
743 (uri (hackage-uri "base-compat" version))
744 (sha256
745 (base32
746 "1gah466nd6hkj716gwljfh0g270iaqy2rq2a1vw3di2s7a4dqam6"))))
747 (build-system haskell-build-system)
748 (properties '((upstream-name . "base-compat")))
749 (home-page "http://hackage.haskell.org/package/base-compat")
750 (synopsis "Haskell compiler compatibility library")
751 (description
752 "This library provides functions available in later versions
753 of base to a wider range of compilers, without requiring the use of CPP
754 pragmas in your code.")
755 (license license:expat)))
756
757 (define-public ghc-base-compat-batteries
758 (package
759 (name "ghc-base-compat-batteries")
760 (version "0.12.2")
761 (source (origin
762 (method url-fetch)
763 (uri (hackage-uri "base-compat-batteries" version))
764 (sha256
765 (base32
766 "16gbqng8556wqcvrmj3dmqxh9sxp7z6ixgv0j5sy017r0wp0ksgd"))))
767 (build-system haskell-build-system)
768 (properties '((upstream-name . "base-compat-batteries")))
769 (inputs (list ghc-base-compat))
770 (native-inputs (list ghc-hspec ghc-quickcheck hspec-discover))
771 (home-page "http://hackage.haskell.org/package/base-compat-batteries")
772 (synopsis "base-compat with extra batteries")
773 (description
774 "This library provides functions available in later
775 versions of @code{base} to a wider range of compilers, without requiring
776 you to use CPP pragmas in your code. This package provides the same API
777 as the @code{base-compat} library, but depends on compatibility
778 packages (such as @code{semigroups}) to offer a wider support window
779 than @code{base-compat}, which has no dependencies.")
780 (license license:expat)))
781
782 (define-public ghc-basement
783 (package
784 (name "ghc-basement")
785 (version "0.0.15")
786 (source (origin
787 (method url-fetch)
788 (uri (hackage-uri "basement" version))
789 (sha256
790 (base32
791 "1d2xj5dmjps7nc7rwp5s0kyjcg9v8xfql6ik4yk1d3affnvazhjn"))))
792 (build-system haskell-build-system)
793 (properties '((upstream-name . "basement")))
794 (home-page "https://github.com/haskell-foundation/foundation#readme")
795 (synopsis "Basic primitives for Foundation starter pack")
796 (description
797 "This package contains basic primitives for the Foundation set of
798 packages.")
799 (license license:bsd-3)))
800
801 (define-public ghc-base-orphans
802 (package
803 (name "ghc-base-orphans")
804 (version "0.8.7")
805 (source (origin
806 (method url-fetch)
807 (uri (hackage-uri "base-orphans" version))
808 (sha256
809 (base32
810 "0iz4v4h2ydncdwfqzs8fd2qwl38dx0n94w5iymw2g4xy1mzxd3w8"))))
811 (build-system haskell-build-system)
812 (properties '((upstream-name . "base-orphans")))
813 (native-inputs (list ghc-quickcheck ghc-hspec hspec-discover))
814 (home-page "https://github.com/haskell-compat/base-orphans#readme")
815 (synopsis "Orphan instances for backwards compatibility")
816 (description
817 "This package defines orphan instances that mimic instances
818 available in later versions of base to a wider (older) range of compilers.")
819 (license license:expat)))
820
821 (define-public ghc-base-orphans-bootstrap
822 (package
823 (inherit ghc-base-orphans)
824 (name "ghc-base-orphans-bootstrap")
825 (arguments '(#:tests? #f))
826 (native-inputs '())
827 (properties '((hidden? #t)))))
828
829 (define-public ghc-base-prelude
830 (package
831 (name "ghc-base-prelude")
832 (version "1.6.1")
833 (source (origin
834 (method url-fetch)
835 (uri (hackage-uri "base-prelude" version))
836 (sha256
837 (base32
838 "0rbx6k85svqrkw5ixp2xal8bg6xrz729g7rrhkgsr3ixv38k943j"))))
839 (build-system haskell-build-system)
840 (properties '((upstream-name . "base-prelude")))
841 (home-page "https://github.com/nikita-volkov/base-prelude")
842 (synopsis "The most complete prelude formed solely from the Haskell's base
843 package")
844 (description
845 "This Haskell package aims to reexport all the non-conflicting
846 and most general definitions from the \"base\" package.
847
848 This includes APIs for applicatives, arrows, monoids, foldables, traversables,
849 exceptions, generics, ST, MVars and STM.
850
851 This package will never have any dependencies other than \"base\".
852
853 Versioning policy:
854
855 The versioning policy of this package deviates from PVP in the sense
856 that its exports in part are transitively determined by the version of \"base\".
857 Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
858 the bounds of \"base\" as well.")
859 (license license:expat)))
860
861 (define-public ghc-base-unicode-symbols
862 (package
863 (name "ghc-base-unicode-symbols")
864 (version "0.2.4.2")
865 (source
866 (origin
867 (method url-fetch)
868 (uri (hackage-uri "base-unicode-symbols" version))
869 (sha256
870 (base32
871 "0qkhp4ybmx4nbqqkrmw3hkm47bv61i2wpi20qb09wvk10g2dcr23"))))
872 (build-system haskell-build-system)
873 (properties '((upstream-name . "base-unicode-symbols")))
874 (home-page "https://wiki.haskell.org/Unicode-symbols")
875 (synopsis "Unicode alternatives for common functions and operators")
876 (description "This package defines new symbols for a number of functions,
877 operators and types in the base package. All symbols are documented with
878 their actual definition and information regarding their Unicode code point.
879 They should be completely interchangeable with their definitions. For
880 further Unicode goodness you can enable the @code{UnicodeSyntax}
881 @url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax,
882 language extension}. This extension enables Unicode characters to be used to
883 stand for certain ASCII character sequences, i.e. → instead of @code{->},
884 ∀ instead of @code{forall} and many others.")
885 (license license:bsd-3)))
886
887 (define-public ghc-basic-prelude
888 (package
889 (name "ghc-basic-prelude")
890 (version "0.7.0")
891 (source
892 (origin
893 (method url-fetch)
894 (uri (hackage-uri "basic-prelude" version))
895 (sha256
896 (base32
897 "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h"))))
898 (build-system haskell-build-system)
899 (properties '((upstream-name . "basic-prelude")))
900 (inputs
901 (list ghc-hashable ghc-unordered-containers ghc-vector))
902 (home-page "https://github.com/snoyberg/basic-prelude#readme")
903 (synopsis "Enhanced core prelude; a common foundation for alternate preludes")
904 (description
905 "The premise of basic-prelude is that there are a lot of very commonly
906 desired features missing from the standard Prelude, such as commonly used
907 operators (<$> and >=>, for instance) and imports for common datatypes
908 (e.g., ByteString and Vector). At the same time, there are lots of other
909 components which are more debatable, such as providing polymorphic versions
910 of common functions.
911
912 So basic-prelude is intended to give a common foundation for a number of
913 alternate preludes. The package provides two modules: CorePrelude provides
914 the common ground for other preludes to build on top of, while BasicPrelude
915 exports CorePrelude together with commonly used list functions to provide a
916 drop-in replacement for the standard Prelude.
917
918 Users wishing to have an improved Prelude can use BasicPrelude. Developers
919 wishing to create a new prelude should use CorePrelude.")
920 (license license:expat)))
921
922 (define-public ghc-bencode
923 (package
924 (name "ghc-bencode")
925 (version "0.6.1.1")
926 (source
927 (origin
928 (method url-fetch)
929 (uri (hackage-uri "bencode" version))
930 (sha256
931 (base32 "0znv0y3b3zm5jvhlvj5f5s7y93db67j9yd59w1bnrw2pqv30gqaq"))))
932 (build-system haskell-build-system)
933 (properties '((upstream-name . "bencode")))
934 (inputs
935 (list ghc-transformers-compat))
936 (native-inputs
937 (list ghc-hspec ghc-quickcheck))
938 (home-page "https://hackage.haskell.org/package/bencode")
939 (synopsis "Parsers and printers for bencoded data")
940 (description
941 "This library provides parsers and printers for bencoded data. Bencode
942 is the encoding used by the peer-to-peer file sharing system BitTorrent for
943 storing and transmitting loosely structured data.")
944 (license license:bsd-3)))
945
946 (define-public ghc-bifunctors
947 (package
948 (name "ghc-bifunctors")
949 (version "5.5.14")
950 (source (origin
951 (method url-fetch)
952 (uri (hackage-uri "bifunctors" version))
953 (sha256
954 (base32
955 "0r4jd4s66xvnx0bk75rz0cwnf6cr0lgx3dxrqdv3ppkwqk81c0ak"))))
956 (build-system haskell-build-system)
957 (properties '((upstream-name . "bifunctors")))
958 (inputs (list ghc-base-orphans ghc-comonad ghc-th-abstraction ghc-tagged))
959 (native-inputs (list ghc-hspec ghc-quickcheck ghc-transformers-compat hspec-discover))
960 (home-page "http://github.com/ekmett/bifunctors/")
961 (synopsis "Bifunctors for Haskell")
962 (description "This package provides bifunctors for Haskell.")
963 (license license:bsd-3)))
964
965 (define-public ghc-bindings-dsl
966 (package
967 (name "ghc-bindings-dsl")
968 (version "1.0.25")
969 (source
970 (origin
971 (method url-fetch)
972 (uri (hackage-uri "bindings-DSL" version))
973 (sha256
974 (base32
975 "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3"))))
976 (build-system haskell-build-system)
977 (properties '((upstream-name . "bindings-DSL")))
978 (home-page "https://github.com/jwiegley/bindings-dsl/wiki")
979 (synopsis "FFI domain specific language, on top of hsc2hs")
980 (description
981 "This is a set of macros to be used when writing Haskell FFI. They were
982 designed to be able to fully describe C interfaces, so that @code{hsc2hs} can
983 extract from them all Haskell code needed to mimic such interfaces. All
984 Haskell names used are automatically derived from C names, structures are
985 mapped to Haskell instances of @code{Storable}, and there are also macros you
986 can use with C code to help write bindings to inline functions or macro
987 functions.")
988 (license license:bsd-3)))
989
990 (define-public ghc-bitarray
991 (package
992 (name "ghc-bitarray")
993 (version "0.0.1.1")
994 (source
995 (origin
996 (method url-fetch)
997 (uri (hackage-uri "bitarray" version))
998 (sha256
999 (base32
1000 "00nqd62cbh42qqqvcl6iv1i9kbv0f0mkiygv4j70wfh5cl86yzxj"))))
1001 (build-system haskell-build-system)
1002 (properties '((upstream-name . "bitarray")))
1003 (arguments
1004 `(#:cabal-revision
1005 ("1" "10fk92v9afjqk43zi621jxl0n8kci0xjj32lz3vqa9xbh67zjz45")))
1006 (home-page "https://hackage.haskell.org/package/bitarray")
1007 (synopsis "Mutable and immutable bit arrays")
1008 (description "The package provides mutable and immutable bit arrays.")
1009 (license license:bsd-3)))
1010
1011 (define-public ghc-blaze-builder
1012 (package
1013 (name "ghc-blaze-builder")
1014 (version "0.4.2.2")
1015 (source
1016 (origin
1017 (method url-fetch)
1018 (uri (hackage-uri "blaze-builder" version))
1019 (sha256
1020 (base32
1021 "0rxg6vjr0ji6g1nngrqpl4k1q9w66fwkhld9cqm5yfhx0a69kp1c"))))
1022 (build-system haskell-build-system)
1023 (properties '((upstream-name . "blaze-builder")))
1024 (inputs
1025 (list ghc-bytestring-builder ghc-semigroups))
1026 (native-inputs
1027 (list ghc-hunit
1028 ghc-quickcheck
1029 ghc-test-framework
1030 ghc-test-framework-hunit
1031 ghc-test-framework-quickcheck2
1032 ghc-utf8-string))
1033 (home-page "https://github.com/lpsmith/blaze-builder")
1034 (synopsis "Efficient buffered output")
1035 (description "This library provides an implementation of the older
1036 @code{blaze-builder} interface in terms of the new builder that shipped with
1037 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
1038 bridge to the new builder, so that code that uses the old interface can
1039 interoperate with code that uses the new implementation.")
1040 (license license:bsd-3)))
1041
1042 (define-public ghc-blaze-markup
1043 (package
1044 (name "ghc-blaze-markup")
1045 (version "0.8.2.8")
1046 (source
1047 (origin
1048 (method url-fetch)
1049 (uri (hackage-uri "blaze-markup" version))
1050 (sha256
1051 (base32
1052 "0jd30wg5yz0a97b36zwqg4hv8faifza1n2gys3l1p3fwf9l3zz23"))))
1053 (build-system haskell-build-system)
1054 (properties '((upstream-name . "blaze-markup")))
1055 (inputs
1056 (list ghc-blaze-builder))
1057 (native-inputs
1058 (list ghc-hunit ghc-quickcheck ghc-tasty ghc-tasty-hunit
1059 ghc-tasty-quickcheck))
1060 (arguments
1061 `(#:cabal-revision ("3"
1062 "1hn694kk615prqdn7bfzl0wvbw8bksxk4cxwmx8yhwpl0cq3fiwa")))
1063 (home-page "https://jaspervdj.be/blaze")
1064 (synopsis "Fast markup combinator library for Haskell")
1065 (description "This library provides core modules of a markup combinator
1066 library for Haskell.")
1067 (license license:bsd-3)))
1068
1069 (define-public ghc-bloomfilter
1070 (package
1071 (name "ghc-bloomfilter")
1072 (version "2.0.1.0")
1073 (source
1074 (origin
1075 (method url-fetch)
1076 (uri (hackage-uri "bloomfilter" version))
1077 (sha256
1078 (base32
1079 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))
1080 (patches (search-patches "ghc-bloomfilter-ghc9.2.patch"))))
1081 (build-system haskell-build-system)
1082 (properties '((upstream-name . "bloomfilter")))
1083 (native-inputs
1084 (list ghc-quickcheck ghc-random ghc-test-framework
1085 ghc-test-framework-quickcheck2))
1086 (arguments
1087 `(#:cabal-revision ("2"
1088 "1hi6hwvhv7lxqv0l6hv2854g1rvc52zcmr3ldvnaan1l1b666867")
1089 #:phases
1090 (modify-phases %standard-phases
1091 (add-before 'configure 'update-constraints
1092 (lambda _
1093 (substitute* "bloomfilter.cabal"
1094 (("\\b(base)\\s+[^,]+" all dep)
1095 dep)))))))
1096 (home-page "https://github.com/bos/bloomfilter")
1097 (synopsis "Pure and impure Bloom filter implementations")
1098 (description "This package provides both mutable and immutable Bloom
1099 filter data types, along with a family of hash functions and an easy-to-use
1100 interface.")
1101 (license license:bsd-3)))
1102
1103 (define-public ghc-boxes
1104 (package
1105 (name "ghc-boxes")
1106 (version "0.1.5")
1107 (source
1108 (origin
1109 (method url-fetch)
1110 (uri (hackage-uri "boxes" version))
1111 (sha256
1112 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
1113 (build-system haskell-build-system)
1114 (properties '((upstream-name . "boxes")))
1115 (inputs
1116 (list ghc-split ghc-quickcheck))
1117 (home-page "https://hackage.haskell.org/package/boxes")
1118 (synopsis "2D text pretty-printing library")
1119 (description
1120 "Boxes is a pretty-printing library for laying out text in two dimensions,
1121 using a simple box model.")
1122 (license license:bsd-3)))
1123
1124 (define-public ghc-byteable
1125 (package
1126 (name "ghc-byteable")
1127 (version "0.1.1")
1128 (source (origin
1129 (method url-fetch)
1130 (uri (hackage-uri "byteable" version))
1131 (sha256
1132 (base32
1133 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
1134 (build-system haskell-build-system)
1135 (properties '((upstream-name . "byteable")))
1136 (home-page "https://github.com/vincenthz/hs-byteable")
1137 (synopsis "Type class for sequence of bytes")
1138 (description
1139 "This package provides an abstract class to manipulate sequence of bytes.
1140 The use case of this class is abstracting manipulation of types that are just
1141 wrapping a bytestring with stronger and more meaniful name.")
1142 (license license:bsd-3)))
1143
1144 (define-public ghc-byteorder
1145 (package
1146 (name "ghc-byteorder")
1147 (version "1.0.4")
1148 (source
1149 (origin
1150 (method url-fetch)
1151 (uri (hackage-uri "byteorder" version))
1152 (sha256
1153 (base32
1154 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
1155 (build-system haskell-build-system)
1156 (properties '((upstream-name . "byteorder")))
1157 (home-page
1158 "http://community.haskell.org/~aslatter/code/byteorder")
1159 (synopsis
1160 "Exposes the native endianness of the system")
1161 (description
1162 "This package is for working with the native byte-ordering of the
1163 system.")
1164 (license license:bsd-3)))
1165
1166 (define-public ghc-bytes
1167 (package
1168 (name "ghc-bytes")
1169 (version "0.17.2")
1170 (source (origin
1171 (method url-fetch)
1172 (uri (hackage-uri "bytes" version))
1173 (sha256
1174 (base32
1175 "06kqqk19qjhrwdqi6pyd1lwqfnj2sw3b3s49lc5vr2fmv8gg8mdw"))))
1176 (build-system haskell-build-system)
1177 (properties '((upstream-name . "bytes")))
1178 (inputs (list ghc-binary-orphans
1179 ghc-cereal
1180 ghc-hashable
1181 ghc-transformers-compat
1182 ghc-unordered-containers
1183 ghc-scientific
1184 ghc-void))
1185 (arguments
1186 `(#:cabal-revision ("1"
1187 "0frs6ag93kmg2fw3vd686czx8g7h9qmdn1ip6wdk96d94ap0fz9i")))
1188 (home-page "https://github.com/ekmett/bytes")
1189 (synopsis "Serialization between @code{binary} and @code{cereal}")
1190 (description
1191 "This package provides a simple compatibility shim that lets
1192 you work with both @code{binary} and @code{cereal} with one chunk of
1193 serialization code.")
1194 (license license:bsd-3)))
1195
1196 (define-public ghc-bytestring-builder
1197 (package
1198 (name "ghc-bytestring-builder")
1199 (version "0.10.8.2.0")
1200 (source
1201 (origin
1202 (method url-fetch)
1203 (uri (hackage-uri "bytestring-builder" version))
1204 (sha256
1205 (base32
1206 "0grcrgwwwcvwrs9az7l4d3kf0lsqfa9qpmjzf6iyanvwn9nyzyi7"))))
1207 (build-system haskell-build-system)
1208 (properties '((upstream-name . "bytestring-builder")))
1209 (arguments `(#:haddock? #f)) ; Package contains no documentation.
1210 (home-page "https://hackage.haskell.org/package/bytestring-builder")
1211 (synopsis "The new bytestring builder, packaged outside of GHC")
1212 (description "This package provides the bytestring builder that is
1213 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
1214 Compatibility package for older packages.")
1215 (license license:bsd-3)))
1216
1217 ;; XXX: Incompatible with base
1218 (define-public ghc-bytestring-handle
1219 (package
1220 (name "ghc-bytestring-handle")
1221 (version "0.1.0.6")
1222 (source
1223 (origin
1224 (method url-fetch)
1225 (uri (hackage-uri "bytestring-handle" version))
1226 (sha256
1227 (base32
1228 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))
1229 (patches (search-patches "ghc-bytestring-handle-ghc9.patch"))))
1230 (build-system haskell-build-system)
1231 (properties '((upstream-name . "bytestring-handle")))
1232 (arguments
1233 `(#:cabal-revision
1234 ("2" "1x1sy3dz2ph9v6jk22wmcv5gk2bka5fv4s68i8q0j9m9pk085w37")
1235 #:phases
1236 (modify-phases %standard-phases
1237 (add-before 'configure 'update-constraints
1238 (lambda _
1239 (substitute* "bytestring-handle.cabal"
1240 (("base >= 4\\.2 && < 4\\.15") "base")))))))
1241 (inputs
1242 (list ghc-hunit ghc-quickcheck ghc-test-framework
1243 ghc-test-framework-hunit ghc-test-framework-quickcheck2))
1244 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
1245 (synopsis "ByteString-backed Handles")
1246 (description "ByteString-backed Handles") ; There is no description
1247 (license license:bsd-3)))
1248
1249 (define-public ghc-bytestring-lexing
1250 (package
1251 (name "ghc-bytestring-lexing")
1252 (version "0.5.0.9")
1253 (source (origin
1254 (method url-fetch)
1255 (uri (hackage-uri "bytestring-lexing" version))
1256 (sha256
1257 (base32
1258 "14nx7sfs75g57mlfiwgzm5sc3wm4va58zryjp27m5lmfdp30873c"))))
1259 (build-system haskell-build-system)
1260 (properties '((upstream-name . "bytestring-lexing")))
1261 (native-inputs (list ghc-tasty ghc-tasty-smallcheck ghc-tasty-quickcheck))
1262 (home-page "https://wrengr.org/software/hackage.html")
1263 (synopsis "Parse and produce literals from strict or lazy bytestrings")
1264 (description
1265 "This package provides tools to parse and produce literals efficiently
1266 from strict or lazy bytestrings.")
1267 (license license:bsd-3)))
1268
1269 (define-public ghc-bzlib-conduit
1270 (package
1271 (name "ghc-bzlib-conduit")
1272 (version "0.3.0.2")
1273 (source
1274 (origin
1275 (method url-fetch)
1276 (uri (hackage-uri "bzlib-conduit" version))
1277 (sha256
1278 (base32
1279 "0a21zin5plsl37hkxh2jv8cxwyjrbs2fy7n5cyrzgdaa7lmp6b7b"))))
1280 (build-system haskell-build-system)
1281 (properties '((upstream-name . "bzlib-conduit")))
1282 (inputs
1283 (list ghc-bindings-dsl ghc-conduit ghc-data-default-class
1284 ghc-resourcet))
1285 (native-inputs
1286 (list ghc-hspec ghc-random))
1287 (home-page "https://github.com/snoyberg/bzlib-conduit")
1288 (synopsis "Streaming compression/decompression via conduits")
1289 (description
1290 "This package provides Haskell bindings to bzlib and Conduit support for
1291 streaming compression and decompression.")
1292 (license license:bsd-3)))
1293
1294 (define-public ghc-c2hs
1295 (package
1296 (name "ghc-c2hs")
1297 (version "0.28.8")
1298 (source
1299 (origin
1300 (method url-fetch)
1301 (uri (hackage-uri "c2hs" version))
1302 (sha256
1303 (base32
1304 "0k482wv94jbpwd96a2c2lc7qz9k8072slx7l7943472nzk7k41ir"))))
1305 (build-system haskell-build-system)
1306 (properties '((upstream-name . "c2hs")))
1307 (inputs
1308 (list ghc-language-c ghc-dlist))
1309 (native-inputs
1310 (list ghc-test-framework ghc-test-framework-hunit ghc-hunit
1311 ghc-shelly))
1312 (arguments
1313 `(#:cabal-revision
1314 ("1" "0hbv1j9b04gm617c5xqndr4iqidabwdpcn2dcrnaacc04ylchvl2")
1315 #:phases
1316 (modify-phases %standard-phases
1317 ;; The tarball on Hackage does not ship these tests. See
1318 ;; https://github.com/haskell/c2hs/issues/269
1319 (add-after 'unpack 'disable-tests
1320 (lambda _
1321 (substitute* "tests/test-bugs.hs"
1322 ((", testCase \"Issue #242\" issue242") ""))
1323 (substitute* "tests/test-system.hs"
1324 ((", testCase \"Interruptible\" test_interruptible") ""))))
1325 (add-before 'check 'set-cc
1326 ;; add a cc executable in the path, needed for some tests to pass
1327 (lambda* (#:key inputs #:allow-other-keys)
1328 (let ((gcc (assoc-ref inputs "gcc"))
1329 (tmpbin (tmpnam))
1330 (curpath (getenv "PATH")))
1331 (mkdir-p tmpbin)
1332 (symlink (which "gcc") (string-append tmpbin "/cc"))
1333 (setenv "PATH" (string-append tmpbin ":" curpath)))
1334 #t))
1335 (add-after 'check 'remove-cc
1336 ;; clean the tmp dir made in 'set-cc
1337 (lambda _
1338 (let* ((cc-path (which "cc"))
1339 (cc-dir (dirname cc-path)))
1340 (delete-file-recursively cc-dir)
1341 #t))))))
1342 (home-page "https://github.com/haskell/c2hs")
1343 (synopsis "Create Haskell bindings to C libraries")
1344 (description "C->Haskell assists in the development of Haskell bindings to
1345 C libraries. It extracts interface information from C header files and
1346 generates Haskell code with foreign imports and marshaling. Unlike writing
1347 foreign imports by hand (or using hsc2hs), this ensures that C functions are
1348 imported with the correct Haskell types.")
1349 (license license:gpl2)))
1350
1351 (define-public ghc-cairo
1352 (package
1353 (name "ghc-cairo")
1354 (version "0.13.8.2")
1355 (source (origin
1356 (method url-fetch)
1357 (uri (hackage-uri "cairo" version))
1358 (sha256
1359 (base32
1360 "1sq2imy359vnbny610n7655a4z5a8fgdxanys4f5nw84246hc2yl"))))
1361 (build-system haskell-build-system)
1362 (properties '((upstream-name . "cairo")))
1363 (inputs (list ghc-utf8-string cairo))
1364 (native-inputs (list ghc-gtk2hs-buildtools pkg-config))
1365 (arguments
1366 `(#:extra-directories ("cairo")))
1367 (home-page "https://projects.haskell.org/gtk2hs/")
1368 (synopsis "Haskell bindings to the Cairo vector graphics library")
1369 (description
1370 "Cairo is a library to render high quality vector graphics. There exist
1371 various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG
1372 documents, amongst others.")
1373 (license license:bsd-3)))
1374
1375 (define-public ghc-call-stack
1376 (package
1377 (name "ghc-call-stack")
1378 (version "0.4.0")
1379 (source (origin
1380 (method url-fetch)
1381 (uri (hackage-uri "call-stack" version))
1382 (sha256
1383 (base32
1384 "0yxq6v37kcmgv6rrna4g1ipr8mhkgf00ng2p359ybxq46j5cy2s3"))))
1385 (build-system haskell-build-system)
1386 (properties '((upstream-name . "call-stack")))
1387 ;(arguments (list #:tests? #f))
1388 (native-inputs (list ghc-nanospec-bootstrap))
1389 (home-page "https://github.com/sol/call-stack#readme")
1390 (synopsis "Use GHC call-stacks in a backward compatible way")
1391 (description "This package provides a compatibility layer for using GHC
1392 call stacks with different versions of the compiler.")
1393 (license license:expat)))
1394
1395 ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
1396 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
1397 (define-public ghc-call-stack-boot
1398 (hidden-package
1399 (package
1400 (inherit ghc-call-stack)
1401 (arguments '(#:tests? #f))
1402 (native-inputs '()))))
1403
1404 (define-public ghc-case-insensitive
1405 (package
1406 (name "ghc-case-insensitive")
1407 (version "1.2.1.0")
1408 (outputs '("out" "static" "doc"))
1409 (source
1410 (origin
1411 (method url-fetch)
1412 (uri (hackage-uri "case-insensitive" version))
1413 (sha256
1414 (base32
1415 "01p40hfjyldfds5jg6vlvvn3ihs4ki63xn6fh8yzngaz1izc2v99"))))
1416 (build-system haskell-build-system)
1417 (properties '((upstream-name . "case-insensitive")))
1418 ;; these inputs are necessary to use this library
1419 (inputs
1420 (list ghc-hashable))
1421 (arguments
1422 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1423 (home-page
1424 "https://github.com/basvandijk/case-insensitive")
1425 (synopsis "Case insensitive string comparison")
1426 (description
1427 "The module @code{Data.CaseInsensitive} provides the @code{CI} type
1428 constructor which can be parameterised by a string-like type like:
1429 @code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of
1430 the resulting type will be insensitive to cases.")
1431 (license license:bsd-3)))
1432
1433 (define-public ghc-cassava
1434 (package
1435 (name "ghc-cassava")
1436 (version "0.5.3.0")
1437 (source (origin
1438 (method url-fetch)
1439 (uri (hackage-uri "cassava" version))
1440 (sha256
1441 (base32
1442 "1gp954w05bj83z4i6isq2qxi1flqwppsgxxrp1f75mrs8cglbj5l"))))
1443 (build-system haskell-build-system)
1444 (properties '((upstream-name . "cassava")))
1445 (inputs (list ghc-attoparsec
1446 ghc-hashable
1447 ghc-scientific
1448 ghc-unordered-containers
1449 ghc-vector
1450 ghc-only
1451 ghc-bytestring-builder
1452 ghc-nats))
1453 (native-inputs (list ghc-hunit
1454 ghc-quickcheck
1455 ghc-quickcheck-instances
1456 ghc-test-framework
1457 ghc-test-framework-hunit
1458 ghc-test-framework-quickcheck2))
1459 (home-page "https://github.com/haskell-hvr/cassava")
1460 (synopsis "CSV parsing and encoding library")
1461 (description
1462 "@code{cassava} is a library for parsing and encoding
1463 @url{https://tools.ietf.org/html/rfc4180, RFC 4180} compliant @url{https://
1464 en.wikipedia.org/wiki/Comma-separated_values, comma-separated values (CSV)}
1465 data, which is a textual line-oriented format commonly used for exchanging
1466 tabular data.
1467
1468 @code{cassava}'s API includes support for:
1469
1470 @itemize @bullet
1471
1472 @item
1473 Index-based record-conversion
1474 @item
1475 Name-based record-conversion
1476 @item
1477 Typeclass directed conversion of fields and records
1478 @item
1479 Built-in field-conversion instances for standard types
1480 @item
1481 Customizable record-conversion instance derivation via GHC generics
1482 @item
1483 Low-level @url{https://hackage.haskell.org/package/bytestring), bytestring}
1484 builders (see @url{https://hackage.haskell.org/package/cassava-0.5.2.0/docs/
1485 Data-Csv-Builder.html, Data.Csv.Builder})
1486 @item
1487 Incremental decoding and encoding API (see @url{https://hackage.haskell.org/
1488 package/cassava-0.5.2.0/docs/Data-Csv-Incremental.html, Data.Csv.Incremental})
1489 @item
1490 Streaming API for constant-space decoding (see @url{https://hackage.haskell.org/
1491 package/cassava-0.5.2.0/docs/Data-Csv-Streaming.html, Data.Csv.Streaming})
1492 @end itemize
1493
1494 Moreover, this library is designed to be easy to use; for instance, here's a
1495 very simple example of encoding CSV data:
1496
1497 @verbatim
1498 >>> Data.Csv.encode [(\"John\",27),(\"Jane\",28)]
1499 \"John,27
1500 Jane,28
1501 \"
1502 @end verbatim
1503 ")
1504 (license license:bsd-3)))
1505
1506 (define-public ghc-cassava-megaparsec
1507 (package
1508 (name "ghc-cassava-megaparsec")
1509 (version "2.0.4")
1510 (source
1511 (origin
1512 (method url-fetch)
1513 (uri (hackage-uri "cassava-megaparsec" version))
1514 (sha256
1515 (base32
1516 "0pg9z38jmrylbj683b6pf7psipp7lrdq6mn1hbj8v2gj5lh8yf8n"))))
1517 (build-system haskell-build-system)
1518 (properties '((upstream-name . "cassava-megaparsec")))
1519 (inputs
1520 (list ghc-cassava ghc-megaparsec ghc-unordered-containers ghc-vector))
1521 (native-inputs
1522 (list ghc-hspec ghc-hspec-megaparsec))
1523 (home-page "https://github.com/stackbuilders/cassava-megaparsec")
1524 (synopsis "Megaparsec parser for CSV files that plays nicely with Cassava")
1525 (description
1526 "Alternative parser for the Cassava package written with Megaparsec that
1527 provides for better error messages at the expense of some speed.")
1528 (license license:expat)))
1529
1530 (define-public ghc-cborg
1531 (package
1532 (name "ghc-cborg")
1533 (version "0.2.8.0")
1534 (source (origin
1535 (method url-fetch)
1536 (uri (hackage-uri "cborg" version))
1537 (sha256
1538 (base32
1539 "07mh5bk61k5dz2x5g7fqw2cv7bjzs7v65yxvzkq7mdbkq8kwhn9f"))))
1540 (build-system haskell-build-system)
1541 (properties '((upstream-name . "cborg")))
1542 (inputs (list ghc-half ghc-primitive))
1543 (native-inputs (list ghc-base-orphans
1544 ghc-aeson
1545 ghc-base64-bytestring
1546 ghc-base16-bytestring
1547 ghc-quickcheck
1548 ghc-random
1549 ghc-scientific
1550 ghc-tasty
1551 ghc-tasty-hunit
1552 ghc-tasty-quickcheck
1553 ghc-vector))
1554 (arguments
1555 `(#:cabal-revision ("1"
1556 "13m2shrlpvg5s9d40a2463mmckzg50y8jb47zfd6i1rg6q3q6xx6")))
1557 (home-page "https://hackage.haskell.org/package/cborg")
1558 (synopsis "Concise Binary Object Representation")
1559 (description
1560 "This package (formerly binary-serialise-cbor) provides an
1561 efficient implementation of the Concise Binary Object
1562 Representation (CBOR), as specified by RFC 7049 at
1563 https://tools.ietf.org/html/rfc7049.
1564
1565 If you are looking for a library for serialisation of Haskell values, have a
1566 look at the @url{https://hackage.haskell.org/package/serialise} package, which
1567 is built upon this library.
1568
1569 An implementation of the standard bijection between CBOR and JSON is provided
1570 by the @url{https://hackage.haskell.org/package/cborg-json} package.
1571
1572 Also see @code{https://hackage.haskell.org/package/cbor-tool} for a convenient
1573 command-line utility for working with CBOR data.")
1574 (license license:bsd-3)))
1575
1576 (define-public ghc-cborg-json
1577 (package
1578 (name "ghc-cborg-json")
1579 (version "0.2.5.0")
1580 (source (origin
1581 (method url-fetch)
1582 (uri (hackage-uri "cborg-json" version))
1583 (sha256
1584 (base32
1585 "1m3w0yyp6xb07fx04g5c52pb0b46vpkgpi32w1c8bz867x2p7hsq"))))
1586 (build-system haskell-build-system)
1587 (properties '((upstream-name . "cborg-json")))
1588 (inputs (list ghc-aeson
1589 ghc-aeson-pretty
1590 ghc-unordered-containers
1591 ghc-scientific
1592 ghc-vector
1593 ghc-cborg))
1594 (arguments
1595 `(#:cabal-revision ("1"
1596 "0zzn2p6yl9mqw7agm5w7iiz105078gv66vxr8bqazilgssqk5wyg")))
1597 (home-page "https://github.com/well-typed/cborg")
1598 (synopsis "Library for encoding JSON as CBOR")
1599 (description "This package implements the bijection between JSON and CBOR
1600 defined in the CBOR specification, RFC 7049.")
1601 (license license:bsd-3)))
1602
1603 (define-public ghc-cereal
1604 (package
1605 (name "ghc-cereal")
1606 (version "0.5.8.3")
1607 (source (origin
1608 (method url-fetch)
1609 (uri (hackage-uri "cereal" version))
1610 (sha256
1611 (base32
1612 "0shg3q933cvf18j1gmxill48d4sl4mvxj2qkj6yya9hvcqh5544r"))))
1613 (build-system haskell-build-system)
1614 (properties '((upstream-name . "cereal")))
1615 (native-inputs (list ghc-quickcheck ghc-test-framework
1616 ghc-test-framework-quickcheck2))
1617 (home-page "https://github.com/GaloisInc/cereal")
1618 (synopsis "Binary serialization library")
1619 (description
1620 "This package provides a binary serialization library,
1621 similar to @code{binary}, that introduces an @code{isolate} primitive for
1622 parser isolation, and labeled blocks for better error messages.")
1623 (license license:bsd-3)))
1624
1625 (define-public ghc-cereal-conduit
1626 (package
1627 (name "ghc-cereal-conduit")
1628 (version "0.8.0")
1629 (source
1630 (origin
1631 (method url-fetch)
1632 (uri (hackage-uri "cereal-conduit" version))
1633 (sha256
1634 (base32
1635 "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r"))))
1636 (build-system haskell-build-system)
1637 (properties '((upstream-name . "cereal-conduit")))
1638 (inputs
1639 (list ghc-conduit ghc-resourcet ghc-cereal))
1640 (native-inputs
1641 (list ghc-hunit))
1642 (home-page "https://github.com/snoyberg/conduit")
1643 (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits")
1644 (description
1645 "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into
1646 @code{Sources}, @code{Sinks}, and @code{Conduits}.")
1647 (license license:bsd-3)))
1648
1649 ;; XXX: bytestring <0.11, time >=1.5 && <1.10
1650 (define-public ghc-cgi
1651 (package
1652 (name "ghc-cgi")
1653 (version "3001.5.0.0")
1654 (source
1655 (origin
1656 (method url-fetch)
1657 (uri (hackage-uri "cgi" version))
1658 (sha256
1659 (base32
1660 "09wvp9vkqasns4flw9z46nhcy96r4qxjv6h47d5f90drz77pmm8a"))))
1661 (build-system haskell-build-system)
1662 (properties '((upstream-name . "cgi")))
1663 (inputs
1664 (list ghc-exceptions ghc-multipart ghc-network-uri ghc-network))
1665 (native-inputs
1666 (list ghc-doctest ghc-quickcheck))
1667 (arguments
1668 `(#:phases
1669 (modify-phases %standard-phases
1670 (add-before 'configure 'update-constraints
1671 (lambda _
1672 (substitute* "cgi.cabal"
1673 (("\\b(bytestring|time)\\s+[^,]+" all dep)
1674 dep)))))))
1675 (home-page
1676 "https://github.com/cheecheeo/haskell-cgi")
1677 (synopsis "Library for writing CGI programs")
1678 (description
1679 "This is a Haskell library for writing CGI programs.")
1680 (license license:bsd-3)))
1681
1682 (define-public ghc-charset
1683 (package
1684 (name "ghc-charset")
1685 (version "0.3.9")
1686 (source (origin
1687 (method url-fetch)
1688 (uri (hackage-uri "charset" version))
1689 (sha256
1690 (base32
1691 "12wrphd5j1asb3n6awbph4n695mfmnzk6yzggrp387hx960qfkyb"))))
1692 (build-system haskell-build-system)
1693 (properties '((upstream-name . "charset")))
1694 (inputs (list ghc-unordered-containers ghc-semigroups))
1695 (home-page "http://github.com/ekmett/charset")
1696 (synopsis "Fast unicode character sets for Haskell")
1697 (description "This package provides fast unicode character sets for
1698 Haskell, based on complemented PATRICIA tries.")
1699 (license license:bsd-3)))
1700
1701 (define-public ghc-chart
1702 (package
1703 (name "ghc-chart")
1704 (version "1.9.4")
1705 (source (origin
1706 (method url-fetch)
1707 (uri (hackage-uri "Chart" version))
1708 (sha256
1709 (base32
1710 "0ylxin419s35xq1j4hcnylrch3m252wqdkfjp5b323qhv4a8y1im"))))
1711 (build-system haskell-build-system)
1712 (properties '((upstream-name . "Chart")))
1713 (inputs (list ghc-old-locale
1714 ghc-lens
1715 ghc-colour
1716 ghc-data-default-class
1717 ghc-operational
1718 ghc-vector))
1719 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1720 (synopsis "Library for generating 2D charts and plots")
1721 (description
1722 "This package provides a library for generating 2D charts and plots, with
1723 backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
1724 (license license:bsd-3)))
1725
1726 (define-public ghc-chart-cairo
1727 (package
1728 (name "ghc-chart-cairo")
1729 (version "1.9.3")
1730 (source
1731 (origin
1732 (method url-fetch)
1733 (uri (hackage-uri "Chart-cairo" version))
1734 (sha256
1735 (base32
1736 "0clm68alzsakkn5m4h49dgx33crajacsykb4hry2fh9zxp9j743f"))))
1737 (build-system haskell-build-system)
1738 (properties '((upstream-name . "Chart-cairo")))
1739 (arguments
1740 `(#:cabal-revision ("3"
1741 "1d48i6y0lzj066swdb3x56jipxwlx1szwn7j43d50hxmcfjrsgc9")))
1742 (inputs
1743 (list ghc-old-locale
1744 ghc-cairo
1745 ghc-colour
1746 ghc-data-default-class
1747 ghc-operational
1748 ghc-lens
1749 ghc-chart
1750 zlib))
1751 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1752 (synopsis "Cairo backend for Charts")
1753 (description "This package provides a Cairo vector graphics rendering
1754 backend for the Charts library.")
1755 (license license:bsd-3)))
1756
1757 (define-public ghc-chasingbottoms
1758 (package
1759 (name "ghc-chasingbottoms")
1760 (version "1.3.1.12")
1761 (source (origin
1762 (method url-fetch)
1763 (uri (hackage-uri "ChasingBottoms" version))
1764 (sha256
1765 (base32
1766 "1vy9yq07p95qiap1pcp2bbbn1mqvp3spyrswpdz0qfcn06656650"))))
1767 (build-system haskell-build-system)
1768 (properties '((upstream-name . "ChasingBottoms")))
1769 (inputs (list ghc-quickcheck ghc-random ghc-syb))
1770 (home-page "http://hackage.haskell.org/package/ChasingBottoms")
1771 (synopsis "Testing of partial and infinite values in Haskell")
1772 (description
1773 "This is a library for testing code involving bottoms or infinite values.
1774 For the underlying theory and a larger example involving use of QuickCheck,
1775 see the article
1776 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
1777 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
1778 Partial and Infinite Values\"}.")
1779 (license license:expat)))
1780
1781 (define-public ghc-cheapskate
1782 (package
1783 (name "ghc-cheapskate")
1784 (version "0.1.1.2")
1785 (source
1786 (origin
1787 (method url-fetch)
1788 (uri (hackage-uri "cheapskate" version))
1789 (sha256
1790 (base32
1791 "17n6laihqrjn62l8qw4565nf77zkvrl68bjmc3vzr4ckqfblhdzd"))))
1792 (build-system haskell-build-system)
1793 (properties '((upstream-name . "cheapskate")))
1794 (inputs
1795 (list ghc-blaze-html ghc-xss-sanitize ghc-data-default ghc-syb
1796 ghc-uniplate))
1797 (home-page "https://github.com/jgm/cheapskate")
1798 (synopsis "Experimental markdown processor")
1799 (description "Cheapskate is an experimental Markdown processor in pure
1800 Haskell. It aims to process Markdown efficiently and in the most forgiving
1801 possible way. It is designed to deal with any input, including garbage, with
1802 linear performance. Output is sanitized by default for protection against
1803 cross-site scripting (@dfn{XSS}) attacks.")
1804 (license license:bsd-3)))
1805
1806 (define-public ghc-chell
1807 (package
1808 (name "ghc-chell")
1809 (version "0.5")
1810 (source
1811 (origin
1812 (method url-fetch)
1813 (uri (hackage-uri "chell" version))
1814 (sha256
1815 (base32
1816 "1i845isfbk0yq852am9bqmxfpfkpnlha8nfidffsv4gw2p8gg6fg"))))
1817 (build-system haskell-build-system)
1818 (properties '((upstream-name . "chell")))
1819 (arguments
1820 `(#:cabal-revision
1821 ("1" "1q93wrw03ix4cmnkz3lzkixcvvizw6i2ia2zifdfak1dvxnblxk0")))
1822 (inputs
1823 (list ghc-options-bootstrap ghc-patience ghc-random
1824 ghc-ansi-terminal))
1825 (home-page "https://john-millikin.com/software/chell/")
1826 (synopsis "Simple and intuitive library for automated testing")
1827 (description
1828 "Chell is a simple and intuitive library for automated testing.
1829 It natively supports assertion-based testing, and can use companion
1830 libraries such as @code{chell-quickcheck} to support more complex
1831 testing strategies.")
1832 (license license:expat)))
1833
1834 (define-public ghc-chell-quickcheck
1835 (package
1836 (name "ghc-chell-quickcheck")
1837 (version "0.2.5.2")
1838 (source
1839 (origin
1840 (method url-fetch)
1841 (uri (hackage-uri "chell-quickcheck" version))
1842 (sha256
1843 (base32
1844 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
1845 (build-system haskell-build-system)
1846 (properties '((upstream-name . "chell-quickcheck")))
1847 (arguments
1848 `(#:phases
1849 (modify-phases %standard-phases
1850 (add-before 'configure 'update-constraints
1851 (lambda _
1852 (substitute* "chell-quickcheck.cabal"
1853 (("QuickCheck >= 2\\.3 && < 2\\.13")
1854 "QuickCheck >= 2.3 && < 2.15")))))))
1855 (inputs
1856 (list ghc-chell ghc-chell-quickcheck-bootstrap ghc-random
1857 ghc-quickcheck))
1858 (home-page "https://john-millikin.com/software/chell/")
1859 (synopsis "QuickCheck support for the Chell testing library")
1860 (description "More complex tests for @code{chell}.")
1861 (license license:expat)))
1862
1863 (define ghc-chell-quickcheck-bootstrap
1864 (package
1865 (name "ghc-chell-quickcheck-bootstrap")
1866 (version "0.2.5.2")
1867 (source
1868 (origin
1869 (method url-fetch)
1870 (uri (string-append
1871 "https://hackage.haskell.org/package/chell-quickcheck/"
1872 "chell-quickcheck-" version ".tar.gz"))
1873 (sha256
1874 (base32
1875 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
1876 (build-system haskell-build-system)
1877 (inputs
1878 `(("ghc-chell" ,ghc-chell)
1879 ("ghc-random" ,ghc-random)
1880 ("ghc-quickcheck" ,ghc-quickcheck)))
1881 (arguments
1882 `(#:tests? #f
1883 #:phases
1884 (modify-phases %standard-phases
1885 (add-before 'configure 'update-constraints
1886 (lambda _
1887 (substitute* "chell-quickcheck.cabal"
1888 (("QuickCheck >= 2\\.3 && < 2\\.13")
1889 "QuickCheck >= 2.3 && < 2.15")))))))
1890 (home-page "https://john-millikin.com/software/chell/")
1891 (synopsis "QuickCheck support for the Chell testing library")
1892 (description "More complex tests for @code{chell}.")
1893 (license license:expat)))
1894
1895 (define-public ghc-chunked-data
1896 (package
1897 (name "ghc-chunked-data")
1898 (version "0.3.1")
1899 (source
1900 (origin
1901 (method url-fetch)
1902 (uri (hackage-uri "chunked-data" version))
1903 (sha256
1904 (base32
1905 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
1906 (build-system haskell-build-system)
1907 (properties '((upstream-name . "chunked-data")))
1908 (inputs (list ghc-vector ghc-semigroups))
1909 (home-page "https://github.com/snoyberg/mono-traversable")
1910 (synopsis "Typeclasses for dealing with various chunked data
1911 representations for Haskell")
1912 (description "This Haskell package was originally present in
1913 classy-prelude.")
1914 (license license:expat)))
1915
1916 (define-public ghc-clock
1917 (package
1918 (name "ghc-clock")
1919 (version "0.8.3")
1920 (source (origin
1921 (method url-fetch)
1922 (uri (hackage-uri "clock" version))
1923 (sha256
1924 (base32
1925 "1l850pf1dxjf3i15wc47d64gzkpzgvw0bq13fd8zvklq9kdyap44"))))
1926 (build-system haskell-build-system)
1927 (properties '((upstream-name . "clock")))
1928 (native-inputs (list ghc-tasty ghc-tasty-quickcheck))
1929 (home-page "https://github.com/corsis/clock")
1930 (synopsis "High-resolution clock for Haskell")
1931 (description
1932 "A package for convenient access to high-resolution clock and
1933 timer functions of different operating systems via a unified API.")
1934 (license license:bsd-3)))
1935
1936 ;; This package builds `clock` without tests, since the tests rely on tasty
1937 ;; and tasty-quickcheck, which in turn require clock to build.
1938 (define-public ghc-clock-bootstrap
1939 (package
1940 (inherit ghc-clock)
1941 (name "ghc-clock-bootstrap")
1942 (arguments '(#:tests? #f))
1943 (inputs '())
1944 (properties '((hidden? #t)))))
1945
1946 (define-public ghc-cmark
1947 (package
1948 (name "ghc-cmark")
1949 (version "0.6")
1950 (source (origin
1951 (method url-fetch)
1952 ;; XXX As of version 0.6, this package bundles libcmark 0.28.0.
1953 ;; See cbits/cmark_version.h.
1954 (uri (hackage-uri "cmark" version))
1955 (sha256
1956 (base32
1957 "1p41z6z8dqxk62287lvhhg4ayy9laai9ljh4azsnzb029v6mbv0d"))))
1958 (build-system haskell-build-system)
1959 (properties '((upstream-name . "cmark")))
1960 (native-inputs
1961 (list ghc-hunit))
1962 (home-page "https://github.com/jgm/commonmark-hs")
1963 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
1964 (description
1965 "This package provides Haskell bindings for
1966 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
1967 CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
1968 sources, and does not require prior installation of the C library.")
1969 (license license:bsd-3)))
1970
1971 (define-public ghc-cmark-gfm
1972 (package
1973 (name "ghc-cmark-gfm")
1974 (version "0.2.5")
1975 (source (origin
1976 (method url-fetch)
1977 (uri (hackage-uri "cmark-gfm" version))
1978 (sha256
1979 (base32
1980 "0la4sd0cmv3zmn0kygbd77dknyh55h0b0qx5jg883hqnvnhaq721"))))
1981 (build-system haskell-build-system)
1982 (properties '((upstream-name . "cmark-gfm")))
1983 (native-inputs (list ghc-hunit))
1984 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
1985 (synopsis "Fast, accurate GitHub Flavored Markdown parser and renderer")
1986 (description
1987 "This package provides Haskell bindings for libcmark-gfm, the reference
1988 parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
1989 It includes sources for libcmark-gfm and does not require prior installation
1990 of the C library.")
1991 (license license:bsd-3)))
1992
1993 (define-public ghc-cmdargs
1994 (package
1995 (name "ghc-cmdargs")
1996 (version "0.10.21")
1997 (source
1998 (origin
1999 (method url-fetch)
2000 (uri (hackage-uri "cmdargs" version))
2001 (sha256
2002 (base32
2003 "0xfabq187n1vqrnnm4ciprpl0dcjq97rksyjnpcniwva9rffmn7p"))))
2004 (build-system haskell-build-system)
2005 (properties '((upstream-name . "cmdargs")))
2006 (outputs '("out" "static" "doc"))
2007 (home-page
2008 "http://community.haskell.org/~ndm/cmdargs/")
2009 (synopsis "Command line argument processing")
2010 (description
2011 "This library provides an easy way to define command line parsers.")
2012 (license license:bsd-3)))
2013
2014 (define-public ghc-code-page
2015 (package
2016 (name "ghc-code-page")
2017 (version "0.2.1")
2018 (source
2019 (origin
2020 (method url-fetch)
2021 (uri (hackage-uri "code-page" version))
2022 (sha256
2023 (base32
2024 "1aiavczjk6f2kc1cdwjc1mwkr4d9shiz3xwmfbzsdn0yqqchxydj"))))
2025 (build-system haskell-build-system)
2026 (properties '((upstream-name . "code-page")))
2027 (home-page "https://github.com/RyanGlScott/code-page")
2028 (synopsis "Windows code page library for Haskell")
2029 (description "A cross-platform library with functions for adjusting
2030 code pages on Windows. On all other operating systems, the library does
2031 nothing.")
2032 (license license:bsd-3)))
2033
2034 (define-public ghc-colour
2035 (package
2036 (name "ghc-colour")
2037 (version "2.3.6")
2038 (source
2039 (origin
2040 (method url-fetch)
2041 (uri (hackage-uri "colour" version))
2042 (sha256
2043 (base32
2044 "0wgqj64mh2y2zk77kv59k3xb3dk4wmgfp988y74sp9a4d76mvlrc"))))
2045 (arguments
2046 ;; The tests for this package have the following dependency cycle:
2047 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
2048 `(#:tests? #f))
2049 (build-system haskell-build-system)
2050 (properties '((upstream-name . "colour")))
2051 (home-page "https://wiki.haskell.org/Colour")
2052 (synopsis "Model for human colour perception")
2053 (description
2054 "This package provides a data type for colours and transparency.
2055 Colours can be blended and composed. Various colour spaces are
2056 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
2057 (license license:expat)))
2058
2059 (define-public ghc-comonad
2060 (package
2061 (name "ghc-comonad")
2062 (version "5.0.8")
2063 (source
2064 (origin
2065 (method url-fetch)
2066 (uri (hackage-uri "comonad" version))
2067 (sha256
2068 (base32
2069 "04rxycp2pbkrvhjgpgx08jmsipjz4cdmhv59dbp47k4jq8ndyv7g"))))
2070 (build-system haskell-build-system)
2071 (properties '((upstream-name . "comonad")))
2072 (inputs
2073 (list ghc-distributive ghc-tagged ghc-indexed-traversable
2074 ghc-transformers-compat))
2075 (home-page "https://github.com/ekmett/comonad/")
2076 (synopsis "Comonads for Haskell")
2077 (description "This library provides @code{Comonad}s for Haskell.")
2078 (license license:bsd-3)))
2079
2080 (define-public ghc-concatenative
2081 (package
2082 (name "ghc-concatenative")
2083 (version "1.0.1")
2084 (source (origin
2085 (method url-fetch)
2086 (uri (hackage-uri "concatenative" version))
2087 (sha256
2088 (base32
2089 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
2090 (build-system haskell-build-system)
2091 (properties '((upstream-name . "concatenative")))
2092 (home-page
2093 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
2094 (synopsis "Library for postfix control flow")
2095 (description
2096 "Concatenative gives Haskell Factor-style combinators and arrows for
2097 postfix notation. For more information on stack based languages, see
2098 @uref{https://concatenative.org}.")
2099 (license license:bsd-3)))
2100
2101 (define-public ghc-concurrent-extra
2102 (package
2103 (name "ghc-concurrent-extra")
2104 (version "0.7.0.12")
2105 (source
2106 (origin
2107 (method url-fetch)
2108 (uri (hackage-uri "concurrent-extra" version))
2109 (sha256
2110 (base32
2111 "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4"))))
2112 (build-system haskell-build-system)
2113 (properties '((upstream-name . "concurrent-extra")))
2114 (arguments
2115 ;; XXX: The ReadWriteLock 'stressTest' fails.
2116 `(#:tests? #f))
2117 (inputs
2118 (list ghc-unbounded-delays))
2119 (native-inputs
2120 (list ghc-async ghc-hunit ghc-random ghc-test-framework
2121 ghc-test-framework-hunit))
2122 (home-page "https://github.com/basvandijk/concurrent-extra")
2123 (synopsis "Extra concurrency primitives")
2124 (description "This Haskell library offers (among other things) the
2125 following selection of synchronisation primitives:
2126
2127 @itemize
2128 @item @code{Broadcast}: Wake multiple threads by broadcasting a value.
2129 @item @code{Event}: Wake multiple threads by signalling an event.
2130 @item @code{Lock}: Enforce exclusive access to a resource. Also known
2131 as a binary semaphore or mutex. The package additionally provides an
2132 alternative that works in the STM monad.
2133 @item @code{RLock}: A lock which can be acquired multiple times by the
2134 same thread. Also known as a reentrant mutex.
2135 @item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used
2136 to protect shared resources which may be concurrently read, but only
2137 sequentially written.
2138 @item @code{ReadWriteVar}: Concurrent read, sequential write variables.
2139 @end itemize
2140
2141 Please consult the API documentation of the individual modules for more
2142 detailed information.
2143
2144 This package was inspired by the concurrency libraries of Java and
2145 Python.")
2146 (license license:bsd-3)))
2147
2148 (define-public ghc-concurrent-output
2149 (package
2150 (name "ghc-concurrent-output")
2151 (version "1.10.16")
2152 (source (origin
2153 (method url-fetch)
2154 (uri (hackage-uri "concurrent-output" version))
2155 (sha256
2156 (base32
2157 "0l4k0bkq5bddqraf14g3ngyzwff17f3ngg4axlilcl3zf3c4bamh"))))
2158 (build-system haskell-build-system)
2159 (properties '((upstream-name . "concurrent-output")))
2160 (inputs (list ghc-async ghc-ansi-terminal ghc-terminal-size))
2161 (home-page "http://hackage.haskell.org/package/concurrent-output")
2162 (synopsis "Ungarble output from several threads or commands")
2163 (description
2164 "Lets multiple threads and external processes concurrently output to the
2165 console, without it getting all garbled up.
2166
2167 Built on top of that is a way of defining multiple output regions, which are
2168 automatically laid out on the screen and can be individually updated by
2169 concurrent threads. Can be used for progress displays etc.")
2170 (license license:bsd-2)))
2171
2172 (define-public ghc-conduit
2173 (package
2174 (name "ghc-conduit")
2175 (version "1.3.1.1")
2176 (source (origin
2177 (method url-fetch)
2178 (uri (hackage-uri "conduit" version))
2179 (sha256
2180 (base32
2181 "18izjgff4pmrknc8py06yvg3g6x27nx0rzmlwjxcflwm5v4szpw4"))))
2182 (build-system haskell-build-system)
2183 (properties '((upstream-name . "conduit")))
2184 (outputs '("out" "static" "doc"))
2185 (inputs
2186 (list ghc-exceptions
2187 ghc-lifted-base
2188 ghc-mono-traversable
2189 ghc-mmorph
2190 ghc-resourcet
2191 ghc-silently
2192 ghc-transformers-base
2193 ghc-unliftio
2194 ghc-unliftio-core
2195 ghc-vector
2196 ghc-void))
2197 (native-inputs
2198 (list ghc-quickcheck ghc-hspec ghc-safe ghc-split))
2199 (home-page "https://github.com/snoyberg/conduit")
2200 (synopsis "Streaming data library")
2201 (description
2202 "The conduit package is a solution to the streaming data problem,
2203 allowing for production, transformation, and consumption of streams of data
2204 in constant memory. It is an alternative to lazy I/O which guarantees
2205 deterministic resource handling, and fits in the same general solution
2206 space as enumerator/iteratee and pipes.")
2207 (license license:expat)))
2208
2209 (define-public ghc-conduit-algorithms
2210 (package
2211 (name "ghc-conduit-algorithms")
2212 (version "0.0.13.0")
2213 (source (origin
2214 (method url-fetch)
2215 (uri (hackage-uri "conduit-algorithms" version))
2216 (sha256
2217 (base32
2218 "1i5jq66xylcnk3yhv2m6lhyqfdrwr94w8v67jzwlvja15jv7mj9v"))))
2219 (build-system haskell-build-system)
2220 (properties '((upstream-name . "conduit-algorithms")))
2221 (inputs (list ghc-async
2222 ghc-bzlib-conduit
2223 ghc-conduit
2224 ghc-conduit-combinators
2225 ghc-conduit-extra
2226 ghc-conduit-zstd
2227 ghc-fingertree
2228 ghc-lzma-conduit
2229 ghc-monad-control
2230 ghc-resourcet
2231 ghc-stm-conduit
2232 ghc-streaming-commons
2233 ghc-unliftio-core
2234 ghc-vector))
2235 (native-inputs (list ghc-hunit
2236 ghc-quickcheck
2237 ghc-tasty
2238 ghc-tasty-hunit
2239 ghc-tasty-quickcheck
2240 ghc-tasty-th))
2241 (home-page "https://github.com/luispedro/conduit-algorithms#readme")
2242 (synopsis "Conduit-based algorithms")
2243 (description
2244 "This package provides algorithms on @code{Conduits}, including higher
2245 level asynchronous processing and some other utilities.")
2246 (license license:expat)))
2247
2248 (define-public ghc-conduit-combinators
2249 (package
2250 (name "ghc-conduit-combinators")
2251 (version "1.3.0")
2252 (source
2253 (origin
2254 (method url-fetch)
2255 (uri (hackage-uri "conduit-combinators" version))
2256 (sha256
2257 (base32
2258 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
2259 (build-system haskell-build-system)
2260 (properties '((upstream-name . "conduit-combinators")))
2261 (inputs (list ghc-conduit
2262 ghc-conduit-extra
2263 ghc-transformers-base
2264 ghc-primitive
2265 ghc-vector
2266 ghc-void
2267 ghc-mwc-random
2268 ghc-unix-compat
2269 ghc-base16-bytestring
2270 ghc-base64-bytestring
2271 ghc-resourcet
2272 ghc-monad-control
2273 ghc-chunked-data
2274 ghc-mono-traversable))
2275 (native-inputs (list ghc-hspec ghc-silently ghc-safe ghc-quickcheck))
2276 (home-page "https://github.com/snoyberg/mono-traversable")
2277 (synopsis "Commonly used conduit functions, for both chunked and
2278 unchunked data")
2279 (description "This Haskell package provides a replacement for Data.Conduit.List,
2280 as well as a convenient Conduit module.")
2281 (license license:expat)))
2282
2283 (define-public ghc-conduit-extra
2284 (package
2285 (name "ghc-conduit-extra")
2286 (version "1.3.6")
2287 (source (origin
2288 (method url-fetch)
2289 (uri (hackage-uri "conduit-extra" version))
2290 (sha256
2291 (base32
2292 "0lzip3af77wxf3a3vilfymqhd26gkvabx2fkj22w74nq960c6l49"))))
2293 (build-system haskell-build-system)
2294 (properties '((upstream-name . "conduit-extra")))
2295 (inputs (list ghc-conduit
2296 ghc-async
2297 ghc-attoparsec
2298 ghc-network
2299 ghc-primitive
2300 ghc-resourcet
2301 ghc-streaming-commons
2302 ghc-unliftio-core
2303 ghc-typed-process
2304 hspec-discover))
2305 (native-inputs (list ghc-hspec ghc-quickcheck ghc-transformers-base))
2306 (home-page "http://github.com/snoyberg/conduit")
2307 (synopsis "Conduit adapters for common libraries")
2308 (description
2309 "The @code{conduit} package itself maintains relative small dependencies.
2310 The purpose of this package is to collect commonly used utility functions
2311 wrapping other library dependencies, without depending on heavier-weight
2312 dependencies. The basic idea is that this package should only depend on
2313 @code{haskell-platform} packages and @code{conduit}.")
2314 (license license:expat)))
2315
2316 (define-public ghc-conduit-zstd
2317 (package
2318 (name "ghc-conduit-zstd")
2319 (version "0.0.2.0")
2320 (source
2321 (origin
2322 (method url-fetch)
2323 (uri (hackage-uri "conduit-zstd" version))
2324 (sha256
2325 (base32
2326 "0f0ir4zs3skw33c8mfppxhfsyqh1c2cnc4gkf8bvv3bdiikdj1yl"))))
2327 (build-system haskell-build-system)
2328 (properties '((upstream-name . "conduit-zstd")))
2329 (inputs
2330 (list ghc-conduit ghc-zstd))
2331 (native-inputs
2332 (list ghc-conduit-combinators ghc-conduit-extra
2333 ghc-quickcheck-instances ghc-tasty ghc-tasty-quickcheck))
2334 (home-page "https://github.com/luispedro/conduit-zstd#readme")
2335 (synopsis "Conduit-based ZStd Compression")
2336 (description "Zstandard compression packaged as a conduit. This is
2337 a very thin wrapper around the
2338 @url{https://github.com/facebookexperimental/hs-zstd/, official hs-zstd
2339 interface}.")
2340 (license license:expat)))
2341
2342 (define-public ghc-config-ini
2343 (package
2344 (name "ghc-config-ini")
2345 (version "0.2.5.0")
2346 (source (origin
2347 (method url-fetch)
2348 (uri (hackage-uri "config-ini" version))
2349 (sha256
2350 (base32
2351 "07vgpydzd44ayhq9c3q1335vphw384z8baf0wd0mnarr48yfaz3g"))))
2352 (build-system haskell-build-system)
2353 (properties '((upstream-name . "config-ini")))
2354 (inputs (list ghc-unordered-containers ghc-megaparsec))
2355 (native-inputs (list ghc-ini ghc-hedgehog ghc-doctest ghc-microlens))
2356 (home-page "https://github.com/aisamanra/config-ini")
2357 (synopsis "Monadic Haskell DSL for parsing simple INI configuration files")
2358 (description
2359 "The @code{config-ini} Haskell library exports some simple monadic
2360 functions to ease the parsing of @file{.ini}-style configuration files, and
2361 to write and update them in an efficient @i{diff-minimal} way. This means that
2362 if you parse a file, update a single field, and reserialize, that file should
2363 differ only in the field we changed and @emph{that's it}: field order, comments,
2364 and incidental whitespace will remain unchanged. The library aims to produce
2365 human-readable error messages when things go wrong.")
2366 (license license:bsd-3)))
2367
2368 (define-public ghc-configurator
2369 (package
2370 (name "ghc-configurator")
2371 (version "0.3.0.0")
2372 (source
2373 (origin
2374 (method url-fetch)
2375 (uri (hackage-uri "configurator" version))
2376 (sha256
2377 (base32
2378 "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"))))
2379 (build-system haskell-build-system)
2380 (properties '((upstream-name . "configurator")))
2381 (inputs
2382 (list ghc-attoparsec ghc-hashable ghc-unix-compat
2383 ghc-unordered-containers))
2384 (native-inputs
2385 (list ghc-hunit ghc-test-framework ghc-test-framework-hunit))
2386 (home-page "https://github.com/bos/configurator")
2387 (synopsis "Configuration management")
2388 (description
2389 "This package provides a configuration management library for programs
2390 and daemons. The features include:
2391
2392 @enumerate
2393 @item Automatic, dynamic reloading in response to modifications to
2394 configuration files.
2395 @item A simple, but flexible, configuration language, supporting several of
2396 the most commonly needed types of data, along with interpolation of strings
2397 from the configuration or the system environment (e.g. @code{$(HOME)}).
2398 @item Subscription-based notification of changes to configuration properties.
2399 @item An @code{import} directive allows the configuration of a complex
2400 application to be split across several smaller files, or common configuration
2401 data to be shared across several applications.
2402 @end enumerate\n")
2403 (license license:bsd-3)))
2404
2405 (define-public ghc-connection
2406 (package
2407 (name "ghc-connection")
2408 (version "0.3.1")
2409 (source (origin
2410 (method url-fetch)
2411 (uri (hackage-uri "connection" version))
2412 (sha256
2413 (base32
2414 "1nbmafhlg0wy4aa3p7amjddbamdz6avzrxn4py3lvhrjqn4raxax"))))
2415 (build-system haskell-build-system)
2416 (properties '((upstream-name . "connection")))
2417 (inputs
2418 (list ghc-byteable
2419 ghc-data-default-class
2420 ghc-network
2421 ghc-tls
2422 ghc-socks
2423 ghc-x509
2424 ghc-x509-store
2425 ghc-x509-system
2426 ghc-x509-validation))
2427 (home-page "https://github.com/vincenthz/hs-connection")
2428 (synopsis "Simple and easy network connections API")
2429 (description
2430 "This package provides a simple network library for all your connection
2431 needs. It provides a very simple API to create sockets to a destination with
2432 the choice of SSL/TLS, and SOCKS.")
2433 (license license:bsd-3)))
2434
2435 (define-public ghc-constraints
2436 (package
2437 (name "ghc-constraints")
2438 (version "0.13.4")
2439 (source (origin
2440 (method url-fetch)
2441 (uri (hackage-uri "constraints" version))
2442 (sha256
2443 (base32
2444 "0d248szyp70k1qlivsimk0j5vz9hdx1alhismry5v35qyinr91j1"))))
2445 (build-system haskell-build-system)
2446 (properties '((upstream-name . "constraints")))
2447 (inputs (list ghc-hashable ghc-transformers-compat ghc-type-equality
2448 ghc-semigroups-bootstrap))
2449 (native-inputs (list ghc-hspec hspec-discover))
2450 (home-page "http://github.com/ekmett/constraints/")
2451 (synopsis "Constraint manipulation")
2452 (description
2453 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
2454 They stopped crashing the compiler in GHC 7.6. This package provides
2455 a vocabulary for working with them.")
2456 (license license:bsd-2)))
2457
2458 (define-public ghc-contravariant
2459 (package
2460 (name "ghc-contravariant")
2461 (version "1.5.5")
2462 (source
2463 (origin
2464 (method url-fetch)
2465 (uri (hackage-uri "contravariant" version))
2466 (sha256
2467 (base32
2468 "1ynz89vfn7czxpa203zmdqknkvpylzzl9rlkpasx1anph1jxcbq6"))))
2469 (build-system haskell-build-system)
2470 (properties '((upstream-name . "contravariant")))
2471 (inputs
2472 (list ghc-void ghc-transformers-compat ghc-statevar ghc-semigroups))
2473 (home-page
2474 "https://github.com/ekmett/contravariant/")
2475 (synopsis "Contravariant functors")
2476 (description "Contravariant functors for Haskell.")
2477 (license license:bsd-3)))
2478
2479 (define-public ghc-contravariant-extras
2480 (package
2481 (name "ghc-contravariant-extras")
2482 (version "0.3.5.3")
2483 (source (origin
2484 (method url-fetch)
2485 (uri (hackage-uri "contravariant-extras" version))
2486 (sha256
2487 (base32
2488 "0r4bnl4gi6zd46h6fjkr33hw37rjxwwr00m08vgbzgkdp853g1ba"))))
2489 (build-system haskell-build-system)
2490 (properties '((upstream-name . "contravariant-extras")))
2491 (inputs (list ghc-contravariant ghc-template-haskell-compat-v0208))
2492 (home-page "https://github.com/nikita-volkov/contravariant-extras")
2493 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
2494 (description "This Haskell package provides extras for the
2495 @code{ghc-contravariant} package.")
2496 (license license:expat)))
2497
2498 (define-public ghc-control-monad-free
2499 (package
2500 (name "ghc-control-monad-free")
2501 (version "0.6.2")
2502 (source
2503 (origin
2504 (method url-fetch)
2505 (uri (hackage-uri "control-monad-free" version))
2506 (sha256
2507 (base32
2508 "1habgf7byffqf1rqjkzpihvdhclaafgqsqpfpwp3fgpj5ayk1j33"))))
2509 (build-system haskell-build-system)
2510 (properties '((upstream-name . "control-monad-free")))
2511 (home-page "https://github.com/pepeiborra/control-monad-free")
2512 (synopsis "Free monads and monad transformers")
2513 (description
2514 "This package provides datatypes to construct Free monads, Free monad
2515 transformers, and useful instances. In addition it provides the constructs to
2516 avoid quadratic complexity of left associative bind, as explained in:
2517
2518 @itemize @bullet
2519 @item
2520 Janis Voigtlander, @cite{Asymptotic Improvement of Computations over
2521 Free Monads, MPC'08}
2522 @end itemize")
2523 (license license:public-domain)))
2524
2525 (define-public ghc-convertible
2526 (package
2527 (name "ghc-convertible")
2528 (version "1.1.1.1")
2529 (source (origin
2530 (method url-fetch)
2531 (uri (hackage-uri "convertible" version))
2532 (sha256
2533 (base32
2534 "1vwc6h1z88xkw4bq3js8x9x86jnk3amdskyksca77p0kwiqbs7lr"))))
2535 (build-system haskell-build-system)
2536 (properties '((upstream-name . "convertible")))
2537 (inputs (list ghc-old-time))
2538 (native-inputs (list ghc-quickcheck))
2539 (home-page "http://hackage.haskell.org/package/convertible")
2540 (synopsis "Typeclasses and instances for converting between types")
2541 (description
2542 "This package provides a typeclass with a single function that is
2543 designed to help convert between different types: numeric values, dates and
2544 times, and the like. The conversions perform bounds checking and return a
2545 pure @code{Either} value. This means that you need not remember which specific
2546 function performs the conversion you desire.")
2547 (license license:bsd-3)))
2548
2549 (define-public ghc-csv
2550 (package
2551 (name "ghc-csv")
2552 (version "0.1.2")
2553 (source
2554 (origin
2555 (method url-fetch)
2556 (uri (hackage-uri "csv" version))
2557 (sha256
2558 (base32
2559 "00767ai09wm7f0yzmpqck3cpgxncpr9djnmmz5l17ajz69139x4c"))))
2560 (build-system haskell-build-system)
2561 (properties '((upstream-name . "csv")))
2562 (arguments
2563 `(#:phases
2564 (modify-phases %standard-phases
2565 (add-before 'configure 'fix-Setup.hs
2566 (lambda _
2567 (substitute* "Setup.hs"
2568 (("defaultMainWithHooks defaultUserHooks")
2569 "defaultMain")))))))
2570 (home-page "https://hackage.haskell.org/package/csv")
2571 (synopsis "CSV loader and dumper")
2572 (description
2573 "This library parses and dumps documents that are formatted according to
2574 RFC 4180, @cite{The common Format and MIME Type for Comma-Separated
2575 Values (CSV) Files}. This format is used, among many other things, as a
2576 lingua franca for spreadsheets, and for certain web services.")
2577 (license license:expat)))
2578
2579 (define-public ghc-data-accessor
2580 (package
2581 (name "ghc-data-accessor")
2582 (version "0.2.3")
2583 (source
2584 (origin
2585 (method url-fetch)
2586 (uri (hackage-uri "data-accessor" version))
2587 (sha256
2588 (base32 "0f1yvvzr24qgrx6k2g101s7vp012802iw6kli903n28nig93yn0x"))))
2589 (build-system haskell-build-system)
2590 (properties '((upstream-name . "data-accessor")))
2591 (home-page "https://wiki.haskell.org/Record_access")
2592 (synopsis
2593 "Haskell utilities for accessing and manipulating fields of records")
2594 (description "This package provides Haskell modules for accessing and
2595 manipulating fields of records.")
2596 (license license:bsd-3)))
2597
2598 (define-public ghc-data-accessor-transformers
2599 (package
2600 (name "ghc-data-accessor-transformers")
2601 (version "0.2.1.7")
2602 (source
2603 (origin
2604 (method url-fetch)
2605 (uri (hackage-uri "data-accessor-transformers" version))
2606 (sha256
2607 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
2608 (build-system haskell-build-system)
2609 (properties '((upstream-name . "data-accessor-transformers")))
2610 (inputs (list ghc-data-accessor))
2611 (home-page "https://wiki.haskell.org/Record_access")
2612 (synopsis "Use Accessor to access state in transformers State monad")
2613 (description "This package provides Haskell modules to allow use of
2614 Accessor to access state in transformers State monad.")
2615 (license license:bsd-3)))
2616
2617 (define-public ghc-data-clist
2618 (package
2619 (name "ghc-data-clist")
2620 (version "0.2")
2621 (source (origin
2622 (method url-fetch)
2623 (uri (hackage-uri "data-clist" version))
2624 (sha256
2625 (base32
2626 "04mj0d1yp0l27v2my51w9q5zpdrdhp29fdyvmwqgxxp8f6yiwfhw"))))
2627 (build-system haskell-build-system)
2628 (properties '((upstream-name . "data-clist")))
2629 (native-inputs (list ghc-quickcheck))
2630 (home-page "https://github.com/sw17ch/data-clist")
2631 (synopsis "Simple, functional, bidirectional circular list type")
2632 (description
2633 "This Haskell library provides a simple purely functional circular list,
2634 or ring, data type: a circular data structure such that if you continue rotating
2635 the ring in either direction, you'll eventually return to the element you first
2636 observed.")
2637 (license license:bsd-3)))
2638
2639 (define-public ghc-data-default
2640 (package
2641 (name "ghc-data-default")
2642 (version "0.7.1.1")
2643 (source
2644 (origin
2645 (method url-fetch)
2646 (uri (hackage-uri "data-default" version))
2647 (sha256
2648 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
2649 (build-system haskell-build-system)
2650 (properties '((upstream-name . "data-default")))
2651 (inputs
2652 (list ghc-data-default-class ghc-data-default-instances-base
2653 ghc-data-default-instances-containers
2654 ghc-data-default-instances-dlist
2655 ghc-data-default-instances-old-locale))
2656 (home-page "https://hackage.haskell.org/package/data-default")
2657 (synopsis "Types with default values")
2658 (description
2659 "This package defines a class for types with a default value, and
2660 provides instances for types from the base, containers, dlist and old-locale
2661 packages.")
2662 (license license:bsd-3)))
2663
2664 (define-public ghc-data-default-class
2665 (package
2666 (name "ghc-data-default-class")
2667 (version "0.1.2.0")
2668 (source
2669 (origin
2670 (method url-fetch)
2671 (uri (hackage-uri "data-default-class" version))
2672 (sha256
2673 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
2674 (build-system haskell-build-system)
2675 (properties '((upstream-name . "data-default-class")))
2676 (home-page "https://hackage.haskell.org/package/data-default-class")
2677 (synopsis "Types with default values")
2678 (description
2679 "This package defines a class for types with default values.")
2680 (license license:bsd-3)))
2681
2682 (define-public ghc-data-default-instances-base
2683 (package
2684 (name "ghc-data-default-instances-base")
2685 (version "0.1.0.1")
2686 (source
2687 (origin
2688 (method url-fetch)
2689 (uri (hackage-uri "data-default-instances-base" version))
2690 (sha256
2691 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
2692 (build-system haskell-build-system)
2693 (properties '((upstream-name . "data-default-instances-base")))
2694 (inputs
2695 (list ghc-data-default-class))
2696 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
2697 (synopsis "Default instances for types in base")
2698 (description
2699 "This package provides default instances for types from the base
2700 package.")
2701 (license license:bsd-3)))
2702
2703 (define-public ghc-data-default-instances-containers
2704 (package
2705 (name "ghc-data-default-instances-containers")
2706 (version "0.0.1")
2707 (source
2708 (origin
2709 (method url-fetch)
2710 (uri (hackage-uri "data-default-instances-containers" version))
2711 (sha256
2712 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
2713 (build-system haskell-build-system)
2714 (properties '((upstream-name . "data-default-instances-containers")))
2715 (inputs
2716 (list ghc-data-default-class))
2717 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
2718 (synopsis "Default instances for types in containers")
2719 (description "Provides default instances for types from the containers
2720 package.")
2721 (license license:bsd-3)))
2722
2723 (define-public ghc-data-default-instances-dlist
2724 (package
2725 (name "ghc-data-default-instances-dlist")
2726 (version "0.0.1")
2727 (source
2728 (origin
2729 (method url-fetch)
2730 (uri (hackage-uri "data-default-instances-dlist" version))
2731 (sha256
2732 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
2733 (build-system haskell-build-system)
2734 (properties '((upstream-name . "data-default-instances-dlist")))
2735 (inputs
2736 (list ghc-data-default-class ghc-dlist))
2737 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
2738 (synopsis "Default instances for types in dlist")
2739 (description "Provides default instances for types from the dlist
2740 package.")
2741 (license license:bsd-3)))
2742
2743 (define-public ghc-data-default-instances-old-locale
2744 (package
2745 (name "ghc-data-default-instances-old-locale")
2746 (version "0.0.1")
2747 (source
2748 (origin
2749 (method url-fetch)
2750 (uri (hackage-uri "data-default-instances-old-locale" version))
2751 (sha256
2752 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
2753 (build-system haskell-build-system)
2754 (properties '((upstream-name . "data-default-instances-old-locale")))
2755 (inputs
2756 (list ghc-data-default-class ghc-old-locale))
2757 (home-page
2758 "https://hackage.haskell.org/package/data-default-instances-old-locale")
2759 (synopsis "Default instances for types in old-locale")
2760 (description "Provides Default instances for types from the old-locale
2761 package.")
2762 (license license:bsd-3)))
2763
2764 (define-public ghc-data-fix
2765 (package
2766 (name "ghc-data-fix")
2767 (version "0.3.2")
2768 (source
2769 (origin
2770 (method url-fetch)
2771 (uri (hackage-uri "data-fix" version))
2772 (sha256
2773 (base32 "1k0rcbb6dzv0ggdxqa2bh4jr829y0bczjrg98mrk5733q0xjs5rs"))))
2774 (build-system haskell-build-system)
2775 (properties '((upstream-name . "data-fix")))
2776 (inputs (list ghc-hashable))
2777 (arguments
2778 `(#:cabal-revision ("3"
2779 "0z77i9y86wlc13396akl8qxq39rwpkhhcs5fadzk47bwn7v1gsmx")))
2780 (home-page "https://github.com/spell-music/data-fix")
2781 (synopsis "Fixpoint data types")
2782 (description
2783 "Fixpoint types and recursion schemes. If you define your AST as
2784 fixpoint type, you get fold and unfold operations for free.
2785
2786 Thanks for contribution to: Matej Kollar, Herbert Valerio Riedel")
2787 (license license:bsd-3)))
2788
2789 (define-public ghc-data-hash
2790 (package
2791 (name "ghc-data-hash")
2792 (version "0.2.0.1")
2793 (source
2794 (origin
2795 (method url-fetch)
2796 (uri (hackage-uri "data-hash" version))
2797 (sha256
2798 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
2799 (build-system haskell-build-system)
2800 (properties '((upstream-name . "data-hash")))
2801 (inputs
2802 (list ghc-quickcheck ghc-test-framework
2803 ghc-test-framework-quickcheck2))
2804 (home-page "https://hackage.haskell.org/package/data-hash")
2805 (synopsis "Combinators for building fast hashing functions")
2806 (description
2807 "This package provides combinators for building fast hashing functions.
2808 It includes hashing functions for all basic Haskell98 types.")
2809 (license license:bsd-3)))
2810
2811 (define-public ghc-data-ordlist
2812 (package
2813 (name "ghc-data-ordlist")
2814 (version "0.4.7.0")
2815 (source
2816 (origin
2817 (method url-fetch)
2818 (uri (hackage-uri "data-ordlist" version))
2819 (sha256
2820 (base32
2821 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
2822 (build-system haskell-build-system)
2823 (properties '((upstream-name . "data-ordlist")))
2824 (home-page "https://hackage.haskell.org/package/data-ordlist")
2825 (synopsis "Set and bag operations on ordered lists")
2826 (description
2827 "This module provides set and multiset operations on ordered lists.")
2828 (license license:bsd-3)))
2829
2830 (define-public ghc-dbus
2831 (package
2832 (name "ghc-dbus")
2833 (version "1.2.27")
2834 (source (origin
2835 (method url-fetch)
2836 (uri (hackage-uri "dbus" version))
2837 (sha256
2838 (base32
2839 "0lkk9hd78h2ilvi0bj5jqq5q5lwyxzdlknwvckhwyxnlf3y6dz8z"))))
2840 (build-system haskell-build-system)
2841 (properties '((upstream-name . "dbus")))
2842 (inputs (list ghc-cereal
2843 ghc-conduit
2844 ghc-lens
2845 ghc-network
2846 ghc-random
2847 ghc-split
2848 ghc-th-lift
2849 ghc-vector
2850 ghc-xml-conduit
2851 ghc-xml-types))
2852 (native-inputs (list ghc-extra
2853 ghc-quickcheck
2854 ghc-resourcet
2855 ghc-tasty
2856 ghc-tasty-hunit
2857 ghc-tasty-quickcheck
2858 ;; dbus-daemon spawned by testsuite.
2859 dbus))
2860 (arguments (list #:tests? #f)) ; Network tests fail to connect.
2861 (home-page "https://github.com/rblaze/haskell-dbus#readme")
2862 (synopsis "Client library for the D-Bus IPC system")
2863 (description
2864 "D-Bus is a simple, message-based protocol for inter-process
2865 communication, which allows applications to interact with other parts
2866 of the machine and the user's session using remote procedure
2867 calls. D-Bus is a essential part of the modern Linux desktop, where
2868 it replaces earlier protocols such as CORBA and DCOP. This library
2869 is an implementation of the D-Bus protocol in Haskell. It can be used
2870 to add D-Bus support to Haskell applications, without the awkward
2871 interfaces common to foreign bindings.")
2872 (license license:asl2.0)))
2873
2874 (define-public ghc-decimal
2875 (package
2876 (name "ghc-decimal")
2877 (version "0.5.2")
2878 (source
2879 (origin
2880 (method url-fetch)
2881 (uri (hackage-uri "Decimal" version))
2882 (sha256
2883 (base32
2884 "19w7i9f0lbiyzwa0v3bm95233vi7f1688f0xms6cnjsf88h04ym3"))))
2885 (build-system haskell-build-system)
2886 (properties '((upstream-name . "Decimal")))
2887 (native-inputs
2888 (list ghc-hunit ghc-quickcheck ghc-test-framework
2889 ghc-test-framework-quickcheck2 ghc-test-framework-hunit))
2890 (home-page "https://github.com/PaulJohnson/Haskell-Decimal")
2891 (synopsis "Decimal numbers with variable precision")
2892 (description
2893 "A decimal number has an integer mantissa and a negative exponent.
2894 The exponent can be interpreted as the number of decimal places in the
2895 value.")
2896 (license license:bsd-3)))
2897
2898 (define-public ghc-deepseq-generics
2899 (package
2900 (name "ghc-deepseq-generics")
2901 (version "0.2.0.0")
2902 (source (origin
2903 (method url-fetch)
2904 (uri (hackage-uri "deepseq-generics" version))
2905 (sha256
2906 (base32
2907 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
2908 (build-system haskell-build-system)
2909 (properties '((upstream-name . "deepseq-generics")))
2910 (arguments
2911 `(#:cabal-revision ("8"
2912 "0dcv4kf2g4xyacjpci9kql1gm706lkzhcyz9ks9jkbdvyvs8lf90")))
2913 (native-inputs
2914 (list ghc-hunit ghc-test-framework ghc-test-framework-hunit))
2915 (home-page "https://github.com/hvr/deepseq-generics")
2916 (synopsis "Generic RNF implementation")
2917 (description
2918 "This package provides a @code{GHC.Generics}-based
2919 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
2920 providing an @code{rnf} implementation.")
2921 (license license:bsd-3)))
2922
2923 (define-public ghc-dense-linear-algebra
2924 (package
2925 (name "ghc-dense-linear-algebra")
2926 (version "0.1.0.0")
2927 (source
2928 (origin
2929 (method url-fetch)
2930 (uri (hackage-uri "dense-linear-algebra" version))
2931 (sha256
2932 (base32
2933 "1m7jjxahqxj7ilic3r9806mwp5rnnsmn8vvipkmk40xl65wplxzp"))))
2934 (build-system haskell-build-system)
2935 (properties '((upstream-name . "dense-linear-algebra")))
2936 (inputs
2937 (list ghc-math-functions
2938 ghc-primitive
2939 ghc-vector
2940 ghc-vector-algorithms
2941 ghc-vector-th-unbox
2942 ghc-vector-binary-instances))
2943 (native-inputs
2944 (list ghc-hspec ghc-quickcheck))
2945 (home-page "https://hackage.haskell.org/package/dense-linear-algebra")
2946 (synopsis "Simple and incomplete implementation of linear algebra")
2947 (description "This library is simply a collection of linear-algebra
2948 related modules split from the statistics library.")
2949 (license license:bsd-2)))
2950
2951 (define-public ghc-diagrams-core
2952 (package
2953 (name "ghc-diagrams-core")
2954 (version "1.5.0.1")
2955 (source (origin
2956 (method url-fetch)
2957 (uri (hackage-uri "diagrams-core" version))
2958 (sha256
2959 (base32
2960 "1gv1p5hrxi3hks0nb4l38gdgfq9bh9d86b6dxcyzqxrwxbxk1khn"))))
2961 (build-system haskell-build-system)
2962 (properties '((upstream-name . "diagrams-core")))
2963 (inputs (list ghc-unordered-containers
2964 ghc-semigroups
2965 ghc-monoid-extras
2966 ghc-dual-tree
2967 ghc-lens
2968 ghc-linear
2969 ghc-adjunctions
2970 ghc-distributive
2971 ghc-profunctors))
2972 (arguments
2973 `(#:cabal-revision ("1"
2974 "1gahbyv00xyr4pcmpq4g95jyh7844fp8z0g9l2ybifv4s73vdrym")))
2975 (home-page "https://diagrams.github.io")
2976 (synopsis "Core libraries for diagrams embedded domain-specific language")
2977 (description
2978 "This package provides the core modules underlying
2979 diagrams, an embedded domain-specific language for compositional,
2980 declarative drawing.")
2981 (license license:bsd-3)))
2982
2983 (define-public ghc-diagrams-lib
2984 (package
2985 (name "ghc-diagrams-lib")
2986 (version "1.4.5.2")
2987 (source (origin
2988 (method url-fetch)
2989 (uri (hackage-uri "diagrams-lib" version))
2990 (sha256
2991 (base32
2992 "1vx51g9znb4a9bf20pjd9zr98wmh39avk2i06217p0iidcw8whz6"))))
2993 (build-system haskell-build-system)
2994 (properties '((upstream-name . "diagrams-lib")))
2995 (inputs (list ghc-semigroups
2996 ghc-monoid-extras
2997 ghc-dual-tree
2998 ghc-diagrams-core
2999 ghc-diagrams-solve
3000 ghc-active
3001 ghc-colour
3002 ghc-data-default-class
3003 ghc-fingertree
3004 ghc-intervals
3005 ghc-lens
3006 ghc-tagged
3007 ghc-optparse-applicative
3008 ghc-juicypixels
3009 ghc-hashable
3010 ghc-linear
3011 ghc-adjunctions
3012 ghc-distributive
3013 ghc-fsnotify
3014 ghc-unordered-containers
3015 ghc-profunctors
3016 ghc-cereal))
3017 (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-tasty-quickcheck
3018 ghc-quickcheck ghc-numeric-extras))
3019 (arguments
3020 `(#:cabal-revision ("1"
3021 "14lxvlxdzkrhdgblgglr5k0rwak0yl4gzawqkfla04mkg6hkh5bb")))
3022 (home-page "http://diagrams.github.io")
3023 (synopsis "Embedded domain-specific language for declarative graphics")
3024 (description
3025 "Diagrams is a flexible, extensible embedded
3026 domain-specific language (EDSL) for creating graphics of many types.
3027 Graphics can be created in arbitrary vector spaces and rendered with
3028 multiple backends. This package provides a standard library of
3029 primitives and operations for creating diagrams.")
3030 (license license:bsd-3)))
3031
3032 (define-public ghc-diagrams-solve
3033 (package
3034 (name "ghc-diagrams-solve")
3035 (version "0.1.3")
3036 (source
3037 (origin
3038 (method url-fetch)
3039 (uri (hackage-uri "diagrams-solve" version))
3040 (sha256
3041 (base32
3042 "09qqwcvbvd3a0j5fnp40dbzw0i3py9c7kgizj2aawajwbyjvpd17"))))
3043 (build-system haskell-build-system)
3044 (properties '((upstream-name . "diagrams-solve")))
3045 (native-inputs
3046 (list ghc-tasty ghc-tasty-hunit ghc-tasty-quickcheck))
3047 (arguments
3048 `(#:cabal-revision
3049 ("1" "0dp61igq17l7hvhs3167skdi1vmlm773qrrmsqmj08951l4cgv0h")))
3050 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3051 (synopsis "Pure Haskell solver routines used by diagrams")
3052 (description "This library provides Pure Haskell solver routines for
3053 use by the
3054 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3055 diagrams framework}. It currently includes routines for finding real
3056 roots of low-degree (@math{n < 5}) polynomials, and solving tridiagonal
3057 and cyclic tridiagonal linear systems.")
3058 (license license:bsd-3)))
3059
3060 (define-public ghc-diagrams-svg
3061 (package
3062 (name "ghc-diagrams-svg")
3063 (version "1.4.3.1")
3064 (source (origin
3065 (method url-fetch)
3066 (uri (hackage-uri "diagrams-svg" version))
3067 (sha256
3068 (base32
3069 "002lgmq78c6rsvds9bgm6m4w8j6qpg260mc52hf97wj6m050l237"))))
3070 (build-system haskell-build-system)
3071 (properties '((upstream-name . "diagrams-svg")))
3072 (inputs (list ghc-base64-bytestring
3073 ghc-colour
3074 ghc-diagrams-core
3075 ghc-diagrams-lib
3076 ghc-monoid-extras
3077 ghc-svg-builder
3078 ghc-juicypixels
3079 ghc-split
3080 ghc-lens
3081 ghc-hashable
3082 ghc-optparse-applicative
3083 ghc-semigroups))
3084 (arguments
3085 `(#:cabal-revision ("4"
3086 "026mkj9fz64rdrap25mp8cwdrzwj90h35qg9kkn078fac93aaq10")))
3087 (home-page "https://diagrams.github.io/")
3088 (synopsis "Scalable Vector Grpahics backend for the diagrams framework")
3089 (description "This package provides a modular backend for rendering
3090 diagrams created with the diagrams embedded domain-specific
3091 language (EDSL) to Scalable Vector Graphics (SVG) files.")
3092 (license license:bsd-3)))
3093
3094 (define-public ghc-dictionary-sharing
3095 (package
3096 (name "ghc-dictionary-sharing")
3097 (version "0.1.0.0")
3098 (source
3099 (origin
3100 (method url-fetch)
3101 (uri (hackage-uri "dictionary-sharing" version))
3102 (sha256
3103 (base32
3104 "00aspv943qdqhlk39mbk00kb1dsa5r0caj8sslrn81fnsn252fwc"))))
3105 (build-system haskell-build-system)
3106 (properties '((upstream-name . "dictionary-sharing")))
3107 (arguments
3108 `(#:cabal-revision
3109 ("3" "1mn7jcc7h3b8f1pn9zigqp6mc2n0qb66lms5qnrx4zswdv5w9439")))
3110 (home-page "https://hackage.haskell.org/package/dictionary-sharing")
3111 (synopsis "Sharing/memoization of class members")
3112 (description "This library provides tools for ensuring that class
3113 members are shared.")
3114 (license license:bsd-3)))
3115
3116 (define-public ghc-diff
3117 (package
3118 (name "ghc-diff")
3119 (version "0.4.1")
3120 (source (origin
3121 (method url-fetch)
3122 (uri (hackage-uri "Diff" version))
3123 (sha256
3124 (base32
3125 "0w166w5jksiqad7xf2ldjl2ykap0xf08byrl92qwp6r1qym4lppx"))))
3126 (build-system haskell-build-system)
3127 (properties '((upstream-name . "Diff")))
3128 (native-inputs (list ghc-quickcheck ghc-test-framework
3129 ghc-test-framework-quickcheck2))
3130 (home-page "http://hackage.haskell.org/package/Diff")
3131 (synopsis "O(ND) diff algorithm in Haskell")
3132 (description
3133 "This package provides an implementation of the standard diff algorithm,
3134 and utilities for pretty printing.")
3135 (license license:bsd-3)))
3136
3137 (define-public ghc-disk-free-space
3138 (package
3139 (name "ghc-disk-free-space")
3140 (version "0.1.0.1")
3141 (source
3142 (origin
3143 (method url-fetch)
3144 (uri (hackage-uri "disk-free-space" version))
3145 (sha256
3146 (base32
3147 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
3148 (build-system haskell-build-system)
3149 (properties '((upstream-name . "disk-free-space")))
3150 (home-page "https://github.com/redneb/disk-free-space")
3151 (synopsis "Retrieve information about disk space usage")
3152 (description "A cross-platform library for retrieving information about
3153 disk space usage.")
3154 (license license:bsd-3)))
3155
3156 (define-public ghc-distributive
3157 (package
3158 (name "ghc-distributive")
3159 (version "0.6.2.1")
3160 (source
3161 (origin
3162 (method url-fetch)
3163 (uri (hackage-uri "distributive" version))
3164 (sha256
3165 (base32
3166 "14bb66qyfn43bj688igfvnfjw7iycjf4n2k38sm8rxbqw2916dfp"))))
3167 (build-system haskell-build-system)
3168 (properties '((upstream-name . "distributive")))
3169 (inputs
3170 (list ghc-tagged ghc-base-orphans ghc-transformers-compat
3171 ghc-semigroups ghc-generic-deriving))
3172 (native-inputs
3173 (list ghc-doctest ghc-hspec hspec-discover))
3174 (home-page "https://github.com/ekmett/distributive/")
3175 (synopsis "Distributive functors for Haskell")
3176 (description "This package provides distributive functors for Haskell.
3177 Dual to @code{Traversable}.")
3178 (license license:bsd-3)))
3179
3180 (define-public ghc-dlist
3181 (package
3182 (name "ghc-dlist")
3183 (version "1.0")
3184 (source
3185 (origin
3186 (method url-fetch)
3187 (uri (hackage-uri "dlist" version))
3188 (sha256
3189 (base32 "0581a60xw4gw7pmqlmg5w2hr4hm9yjgx4c2z6v63y5xv51rn6g8p"))))
3190 (build-system haskell-build-system)
3191 (properties '((upstream-name . "dlist")))
3192 (inputs
3193 (list ghc-quickcheck))
3194 (home-page "https://github.com/spl/dlist")
3195 (synopsis "Difference lists")
3196 (description
3197 "Difference lists are a list-like type supporting O(1) append. This is
3198 particularly useful for efficient logging and pretty printing (e.g. with the
3199 Writer monad), where list append quickly becomes too expensive.")
3200 (license license:bsd-3)))
3201
3202 (define-public ghc-doctemplates
3203 (package
3204 (name "ghc-doctemplates")
3205 (version "0.10.0.2")
3206 (source (origin
3207 (method url-fetch)
3208 (uri (hackage-uri "doctemplates" version))
3209 (sha256
3210 (base32
3211 "0as0sc4x4ch5z233dqlb8xqg97xbfbzw2dqsz9rfq8rw10v9yx57"))))
3212 (build-system haskell-build-system)
3213 (properties '((upstream-name . "doctemplates")))
3214 (inputs (list ghc-safe
3215 ghc-text-conversions
3216 ghc-aeson
3217 ghc-hsyaml
3218 ghc-doclayout
3219 ghc-vector
3220 ghc-scientific))
3221 (native-inputs (list ghc-glob ghc-tasty ghc-tasty-golden ghc-tasty-hunit
3222 ghc-temporary))
3223 (arguments
3224 `(#:cabal-revision ("1"
3225 "17r6ig72bzqd59p11sjaf9y27pm4yig1a1s1igs57s88cy47qz05")))
3226 (home-page "https://github.com/jgm/doctemplates#readme")
3227 (synopsis "Pandoc-style document templates")
3228 (description
3229 "This package provides a simple text templating system used by pandoc.")
3230 (license license:bsd-3)))
3231
3232 (define-public ghc-doctest
3233 (package
3234 (name "ghc-doctest")
3235 (version "0.20.1")
3236 (source (origin
3237 (method url-fetch)
3238 (uri (hackage-uri "doctest" version))
3239 (sha256
3240 (base32
3241 "00jbpqvcqxx1nmf41li947d9d3ifwchzzp37mlag68hgnza6z9a4"))))
3242 (build-system haskell-build-system)
3243 (properties '((upstream-name . "doctest")))
3244 (inputs (list ghc-base-compat ghc-code-page ghc-paths ghc-syb))
3245 (native-inputs (list ghc-hunit
3246 ghc-quickcheck
3247 ghc-hspec
3248 ghc-hspec-core
3249 ghc-mockery
3250 ghc-setenv
3251 ghc-silently
3252 ghc-stringbuilder
3253 hspec-discover))
3254 (home-page "https://github.com/sol/doctest#readme")
3255 (synopsis "Test interactive Haskell examples")
3256 (description
3257 "The doctest program checks examples in source code comments.
3258 It is modeled after doctest for Python, see
3259 @uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
3260 (license license:expat)))
3261
3262 (define-public ghc-dotgen
3263 (package
3264 (name "ghc-dotgen")
3265 (version "0.4.3")
3266 (source
3267 (origin
3268 (method url-fetch)
3269 (uri (hackage-uri "dotgen" version))
3270 (sha256
3271 (base32
3272 "1jcn5m9342jrdq7jln2v9msf9978ngrx0pq9rrjh8izhvbvph76s"))))
3273 (build-system haskell-build-system)
3274 (properties '((upstream-name . "dotgen")))
3275 (home-page "https://github.com/ku-fpg/dotgen")
3276 (synopsis
3277 "Simple interface for building .dot graph files")
3278 (description
3279 "This package provides a simple interface for building .dot graph
3280 files, for input into the dot and graphviz tools. It includes a
3281 monadic interface for building graphs.")
3282 (license license:bsd-3)))
3283
3284 (define-public ghc-double-conversion
3285 (package
3286 (name "ghc-double-conversion")
3287 (version "2.0.4.2")
3288 (source (origin
3289 (method url-fetch)
3290 (uri (hackage-uri "double-conversion" version))
3291 (sha256
3292 (base32
3293 "0r7c1801gzdm5x1flmpx8ajxygbc9dl7sgdj0xn3bpm71wgvrf4s"))))
3294 (build-system haskell-build-system)
3295 (properties '((upstream-name . "double-conversion")))
3296 (native-inputs (list ghc-hunit ghc-test-framework ghc-test-framework-hunit
3297 ghc-test-framework-quickcheck2))
3298 (arguments
3299 `(#:cabal-revision ("2"
3300 "1mpnx4m2pg5crfz9k8wamh5mgsha0np3ynnllrmglmwh54gvfjj3")))
3301 (home-page "https://github.com/haskell/double-conversion")
3302 (synopsis
3303 "Fast conversion between double precision floating point and text")
3304 (description
3305 "This package provides a library that performs fast, accurate conversion
3306 between double precision floating point and text.")
3307 (license license:bsd-3)))
3308
3309 (define-public ghc-dual-tree
3310 (package
3311 (name "ghc-dual-tree")
3312 (version "0.2.3.1")
3313 (source (origin
3314 (method url-fetch)
3315 (uri (hackage-uri "dual-tree" version))
3316 (sha256
3317 (base32
3318 "19nm34d166fhlkk7npx0iq9kbx7300a82bg75q1sx98jqfa4nffh"))))
3319 (build-system haskell-build-system)
3320 (properties '((upstream-name . "dual-tree")))
3321 (inputs (list ghc-semigroups ghc-monoid-extras))
3322 (native-inputs (list ghc-quickcheck ghc-testing-feat))
3323 (home-page "http://hackage.haskell.org/package/dual-tree")
3324 (synopsis "Rose trees with cached and accumulating monoidal annotations")
3325 (description
3326 "Rose (@math{n}-ary) trees with both upwards- (i.e.
3327 cached) and downwards-traveling (i.e. accumulating) monoidal
3328 annotations. This is used as the core data structure underlying the
3329 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3330 diagrams framework}, but potentially has other applications as well.")
3331 (license license:bsd-3)))
3332
3333 (define-public ghc-easy-file
3334 (package
3335 (name "ghc-easy-file")
3336 (version "0.2.2")
3337 (source
3338 (origin
3339 (method url-fetch)
3340 (uri (hackage-uri "easy-file" version))
3341 (sha256
3342 (base32
3343 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
3344 (build-system haskell-build-system)
3345 (properties '((upstream-name . "easy-file")))
3346 (home-page
3347 "https://github.com/kazu-yamamoto/easy-file")
3348 (synopsis "File handling library for Haskell")
3349 (description "This library provides file handling utilities for Haskell.")
3350 (license license:bsd-3)))
3351
3352 (define-public ghc-easyplot
3353 (package
3354 (name "ghc-easyplot")
3355 (version "1.0")
3356 (source
3357 (origin
3358 (method url-fetch)
3359 (uri (hackage-uri "easyplot" version))
3360 (sha256
3361 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
3362 (build-system haskell-build-system)
3363 (properties '((upstream-name . "easyplot")))
3364 (propagated-inputs (list gnuplot))
3365 (arguments
3366 `(#:phases (modify-phases %standard-phases
3367 (add-after 'unpack 'fix-setup-suffix
3368 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
3369 (home-page "https://hub.darcs.net/scravy/easyplot")
3370 (synopsis "Haskell plotting library based on gnuplot")
3371 (description "This package provides a plotting library for
3372 Haskell, using gnuplot for rendering.")
3373 (license license:expat)))
3374
3375 (define-public ghc-echo
3376 (package
3377 (name "ghc-echo")
3378 (version "0.1.4")
3379 (source
3380 (origin
3381 (method url-fetch)
3382 (uri (hackage-uri "echo" version))
3383 (sha256
3384 (base32
3385 "0hqfdd4kvpp59cjjv790bkf72yqr9xjfqlbjcrdsc9a8j3r1pzn9"))))
3386 (build-system haskell-build-system)
3387 (properties '((upstream-name . "echo")))
3388 (arguments
3389 `(#:cabal-revision
3390 ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l")))
3391 (home-page "https://github.com/RyanGlScott/echo")
3392 (synopsis "Echo terminal input portably")
3393 (description "The @code{base} library exposes the @code{hGetEcho} and
3394 @code{hSetEcho} functions for querying and setting echo status, but
3395 unfortunately, neither function works with MinTTY consoles on Windows.
3396 This library provides an alternative interface which works with both
3397 MinTTY and other consoles.")
3398 (license license:bsd-3)))
3399
3400 (define-public ghc-edit-distance
3401 (package
3402 (name "ghc-edit-distance")
3403 (version "0.2.2.1")
3404 (source
3405 (origin
3406 (method url-fetch)
3407 (uri (hackage-uri "edit-distance" version))
3408 (sha256
3409 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
3410 (build-system haskell-build-system)
3411 (properties '((upstream-name . "edit-distance")))
3412 (arguments
3413 `(#:tests? #f ; TODO: Needs quickcheck<2.10
3414 #:cabal-revision
3415 ("1" "1vjn4ryzdilz7l1ad7czh11nw48h5mj8if7ij3q0mmc3sffa8csd")))
3416 (inputs
3417 (list ghc-random ghc-test-framework ghc-quickcheck
3418 ghc-test-framework-quickcheck2))
3419 (home-page "https://github.com/phadej/edit-distance")
3420 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
3421 (description
3422 "This package provides optimized functions to determine the edit
3423 distances for fuzzy matching, including Levenshtein and restricted
3424 Damerau-Levenshtein algorithms.")
3425 (license license:bsd-3)))
3426
3427 (define-public ghc-edit-distance-vector
3428 (package
3429 (name "ghc-edit-distance-vector")
3430 (version "1.0.0.4")
3431 (source
3432 (origin
3433 (method url-fetch)
3434 (uri (hackage-uri "edit-distance-vector" version))
3435 (sha256
3436 (base32
3437 "07qgc8dyi9kkzkd3xcd78wdlljy0xwhz65b4r2qg2piidpcdvpxp"))))
3438 (build-system haskell-build-system)
3439 (properties '((upstream-name . "edit-distance-vector")))
3440 (inputs
3441 (list ghc-vector))
3442 (native-inputs
3443 (list ghc-quickcheck ghc-quickcheck-instances))
3444 (home-page "https://github.com/thsutton/edit-distance-vector")
3445 (synopsis "Calculate edit distances and edit scripts between vectors")
3446 (description "This package provides implementation of the
3447 Wagner-Fischer dynamic programming algorithm to find the optimal edit
3448 script and cost between two sequences. The implementation in this
3449 package is specialised to sequences represented with @code{Data.Vector}
3450 but is otherwise agnostic to:
3451 @itemize
3452 @item The type of values in the vectors;
3453 @item The type representing edit operations; and
3454 @item The type representing the cost of operations.
3455 @end itemize")
3456 (license license:bsd-3)) )
3457
3458 (define-public ghc-either
3459 (package
3460 (name "ghc-either")
3461 (version "5.0.2")
3462 (source (origin
3463 (method url-fetch)
3464 (uri (hackage-uri "either" version))
3465 (sha256
3466 (base32
3467 "1gl748ia68bldbqb2fl7vjv44g0y8ivn659fjmy1qyypgyb5p95z"))))
3468 (build-system haskell-build-system)
3469 (properties '((upstream-name . "either")))
3470 (inputs (list ghc-bifunctors ghc-profunctors ghc-semigroupoids))
3471 (native-inputs (list ghc-test-framework ghc-test-framework-quickcheck2
3472 ghc-quickcheck))
3473 (home-page "http://github.com/ekmett/either/")
3474 (synopsis "Provides an either monad transformer for Haskell")
3475 (description "This Haskell package provides an either monad transformer.")
3476 (license license:bsd-3)))
3477
3478 (define-public ghc-email-validate
3479 (package
3480 (name "ghc-email-validate")
3481 (version "2.3.2.18")
3482 (source (origin
3483 (method url-fetch)
3484 (uri (hackage-uri "email-validate" version))
3485 (sha256
3486 (base32
3487 "11bi5y5qmri62nl34nl5pv4zs59bjpjknw560yw5ds62gsi2sjcp"))))
3488 (build-system haskell-build-system)
3489 (properties '((upstream-name . "email-validate")))
3490 (inputs (list ghc-attoparsec))
3491 (native-inputs (list ghc-hspec ghc-quickcheck ghc-doctest))
3492 (home-page "https://github.com/Porges/email-validate-hs")
3493 (synopsis "Email address validator for Haskell")
3494 (description
3495 "This Haskell package provides a validator that can validate an email
3496 address string against RFC 5322.")
3497 (license license:bsd-3)))
3498
3499 (define-public ghc-enclosed-exceptions
3500 (package
3501 (name "ghc-enclosed-exceptions")
3502 (version "1.0.3")
3503 (source (origin
3504 (method url-fetch)
3505 (uri (hackage-uri "enclosed-exceptions" version))
3506 (sha256
3507 (base32
3508 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
3509 (build-system haskell-build-system)
3510 (properties '((upstream-name . "enclosed-exceptions")))
3511 ;; FIXME: one of the tests blocks forever:
3512 ;; "thread blocked indefinitely in an MVar operation"
3513 (arguments '(#:tests? #f))
3514 (inputs
3515 (list ghc-lifted-base ghc-monad-control ghc-async
3516 ghc-transformers-base))
3517 (native-inputs
3518 (list ghc-hspec ghc-quickcheck))
3519 (home-page "https://github.com/jcristovao/enclosed-exceptions")
3520 (synopsis "Catch all exceptions from within an enclosed computation")
3521 (description
3522 "This library implements a technique to catch all exceptions raised
3523 within an enclosed computation, while remaining responsive to (external)
3524 asynchronous exceptions.")
3525 (license license:expat)))
3526
3527 (define-public ghc-equivalence
3528 (package
3529 (name "ghc-equivalence")
3530 (version "0.4.1")
3531 (source (origin
3532 (method url-fetch)
3533 (uri (hackage-uri "equivalence" version))
3534 (sha256
3535 (base32
3536 "13q0lklm58n0l7bx0d4k1cw1i2il8hpdjp76lb79ix8lv7cxd2jr"))))
3537 (build-system haskell-build-system)
3538 (properties '((upstream-name . "equivalence")))
3539 (inputs (list ghc-stmonadtrans ghc-transformers-compat ghc-fail))
3540 (native-inputs (list ghc-quickcheck))
3541 (home-page "https://github.com/pa-ba/equivalence")
3542 (synopsis "Maintaining an equivalence relation implemented as union-find")
3543 (description
3544 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
3545 Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
3546 22(2), 1975) in order to maintain an equivalence relation. This
3547 implementation is a port of the @code{union-find} package using the @code{ST}
3548 monad transformer (instead of the IO monad).")
3549 (license license:bsd-3)))
3550
3551 (define-public ghc-erf
3552 (package
3553 (name "ghc-erf")
3554 (version "2.0.0.0")
3555 (source
3556 (origin
3557 (method url-fetch)
3558 (uri (hackage-uri "erf" version))
3559 (sha256
3560 (base32
3561 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
3562 (build-system haskell-build-system)
3563 (properties '((upstream-name . "erf")))
3564 (home-page "https://hackage.haskell.org/package/erf")
3565 (synopsis "The error function, erf, and related functions for Haskell")
3566 (description "This Haskell library provides a type class for the
3567 error function, erf, and related functions. Instances for Float and
3568 Double.")
3569 (license license:bsd-3)))
3570
3571 (define-public ghc-errorcall-eq-instance
3572 (package
3573 (name "ghc-errorcall-eq-instance")
3574 (version "0.3.0")
3575 (source
3576 (origin
3577 (method url-fetch)
3578 (uri (hackage-uri "errorcall-eq-instance" version))
3579 (sha256
3580 (base32
3581 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
3582 (build-system haskell-build-system)
3583 (properties '((upstream-name . "errorcall-eq-instance")))
3584 (inputs
3585 (list ghc-base-orphans))
3586 (native-inputs
3587 (list ghc-quickcheck ghc-hspec hspec-discover))
3588 (home-page "https://hackage.haskell.org/package/errorcall-eq-instance")
3589 (synopsis "Orphan Eq instance for ErrorCall")
3590 (description
3591 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
3592 This package provides an orphan instance.")
3593 (license license:expat)))
3594
3595 (define-public ghc-errors
3596 (package
3597 (name "ghc-errors")
3598 (version "2.3.0")
3599 (source
3600 (origin
3601 (method url-fetch)
3602 (uri (hackage-uri "errors" version))
3603 (sha256
3604 (base32
3605 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
3606 (build-system haskell-build-system)
3607 (properties '((upstream-name . "errors")))
3608 (inputs
3609 (list ghc-exceptions ghc-transformers-compat ghc-unexceptionalio
3610 ghc-safe))
3611 (arguments
3612 `(#:cabal-revision ("4"
3613 "0sji6ny86f4j9ch1cyf2p1mcr5b2ighvw4bb9rssvypxb6k2r68f")))
3614 (home-page "https://github.com/gabriel439/haskell-errors-library")
3615 (synopsis "Error handling library for Haskell")
3616 (description "This library encourages an error-handling style that
3617 directly uses the type system, rather than out-of-band exceptions.")
3618 (license license:bsd-3)))
3619
3620 (define-public ghc-esqueleto
3621 (package
3622 (name "ghc-esqueleto")
3623 (version "3.5.8.1")
3624 (source (origin
3625 (method url-fetch)
3626 (uri (hackage-uri "esqueleto" version))
3627 (sha256
3628 (base32
3629 "0k7h2hbxv14x0kq9w2wi83h0swzlri99ic9rj76540l39yqwjc5v"))))
3630 (build-system haskell-build-system)
3631 (properties '((upstream-name . "esqueleto")))
3632 (inputs (list ghc-aeson
3633 ghc-attoparsec
3634 ghc-blaze-html
3635 ghc-conduit
3636 ghc-monad-logger
3637 ghc-persistent
3638 ghc-resourcet
3639 ghc-tagged
3640 ghc-unliftio
3641 ghc-unordered-containers
3642 openssl
3643 zlib))
3644 (native-inputs (list ghc-hspec
3645 ghc-hspec-core
3646 ghc-mysql
3647 ghc-mysql-simple
3648 ghc-persistent-mysql
3649 ghc-persistent-postgresql
3650 ghc-persistent-sqlite
3651 ghc-postgresql-simple
3652 ghc-quickcheck))
3653 (arguments (list #:tests? #f)) ; Needs a running MySQLd.
3654 (home-page "https://github.com/bitemyapp/esqueleto")
3655 (synopsis "Type-safe embedded domain specific language for SQL queries")
3656 (description
3657 "This library provides a type-safe embedded domain specific
3658 language (EDSL) for SQL queries that works with SQL backends as provided by
3659 @code{ghc-persistent}. Its language closely resembles SQL, so you don't have
3660 to learn new concepts, just new syntax, and it's fairly easy to predict the
3661 generated SQL and optimize it for your backend.")
3662 (license license:bsd-3)))
3663
3664 (define-public ghc-exactprint
3665 (package
3666 (name "ghc-exactprint")
3667 (version "1.5.0")
3668 (source (origin
3669 (method url-fetch)
3670 (uri (hackage-uri "ghc-exactprint" version))
3671 (sha256
3672 (base32
3673 "07m4cg47knrrvpyimnbc0nq9176vkzwwa64b2iqfj6azn6q2hagp"))))
3674 (build-system haskell-build-system)
3675 (properties '((upstream-name . "ghc-exactprint")))
3676 (inputs (list ghc-ordered-containers
3677 ghc-data-default
3678 ghc-paths
3679 ghc-syb
3680 ghc-free
3681 ghc-fail))
3682 (native-inputs (list ghc-hunit ghc-diff ghc-silently ghc-filemanip))
3683 (arguments
3684 `(#:cabal-revision ("1"
3685 "1v6my8bnhjhw7k3v2q9iwjpz9lj5g6ilvlzdq6svcabxahmzbr2c")))
3686 (home-page "http://hackage.haskell.org/package/ghc-exactprint")
3687 (synopsis "ExactPrint for GHC")
3688 (description
3689 "Using the API Annotations available from GHC 7.10.2, this library
3690 provides a means to round-trip any code that can be compiled by GHC, currently
3691 excluding @file{.lhs} files.")
3692 (license license:bsd-3)))
3693
3694 (define-public ghc-exceptions
3695 (package
3696 (name "ghc-exceptions")
3697 (version "0.10.4")
3698 (source
3699 (origin
3700 (method url-fetch)
3701 (uri (hackage-uri "exceptions" version))
3702 (sha256
3703 (base32
3704 "1kw4pmx7j7zwbdwm0dyn9rcs6kp4byfxy48861yxdz6gam1zn2sd"))))
3705 (build-system haskell-build-system)
3706 (properties '((upstream-name . "exceptions")))
3707 (arguments
3708 `(#:cabal-revision
3709 ("2" "1154g0dqil2xf4wc1v6gndzhnbf5saf2dzf77c6lcjxssx360m6j")))
3710 (native-inputs
3711 (list ghc-quickcheck ghc-test-framework ghc-test-framework-hunit
3712 ghc-test-framework-quickcheck2))
3713 (inputs
3714 (list ghc-transformers-compat))
3715 (home-page "https://github.com/ekmett/exceptions/")
3716 (synopsis "Extensible optionally-pure exceptions")
3717 (description "This library provides extensible optionally-pure exceptions
3718 for Haskell.")
3719 (license license:bsd-3)))
3720
3721 (define-public ghc-executable-path
3722 (package
3723 (name "ghc-executable-path")
3724 (version "0.0.3.1")
3725 (source (origin
3726 (method url-fetch)
3727 (uri (hackage-uri "executable-path" version))
3728 (sha256
3729 (base32
3730 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
3731 (build-system haskell-build-system)
3732 (properties '((upstream-name . "executable-path")))
3733 (home-page "https://hackage.haskell.org/package/executable-path")
3734 (synopsis "Find out the full path of the executable")
3735 (description
3736 "The documentation of @code{System.Environment.getProgName} says that
3737 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
3738 instead, for maximum portability, we just return the leafname of the program
3739 as invoked.\" This library tries to provide the missing path.")
3740 (license license:public-domain)))
3741
3742 (define-public ghc-extensible-exceptions
3743 (package
3744 (name "ghc-extensible-exceptions")
3745 (version "0.1.1.4")
3746 (source
3747 (origin
3748 (method url-fetch)
3749 (uri (hackage-uri "extensible-exceptions" version))
3750 (sha256
3751 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
3752 (build-system haskell-build-system)
3753 (properties '((upstream-name . "extensible-exceptions")))
3754 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
3755 (synopsis "Extensible exceptions for Haskell")
3756 (description
3757 "This package provides extensible exceptions for both new and old
3758 versions of GHC (i.e., < 6.10).")
3759 (license license:bsd-3)))
3760
3761 (define-public ghc-extra
3762 (package
3763 (name "ghc-extra")
3764 (version "1.7.12")
3765 (source (origin
3766 (method url-fetch)
3767 (uri (hackage-uri "extra" version))
3768 (sha256
3769 (base32
3770 "0g5h8fp0nq4k9asiknw0bhvb10zpfnsixfp0n3xz0rc83pnajwg5"))))
3771 (build-system haskell-build-system)
3772 (properties '((upstream-name . "extra")))
3773 (inputs (list ghc-clock))
3774 (native-inputs (list ghc-quickcheck ghc-quickcheck-instances))
3775 (home-page "https://github.com/ndmitchell/extra#readme")
3776 (synopsis "Extra Haskell functions")
3777 (description
3778 "This library provides extra functions for the standard
3779 Haskell libraries. Most functions are simple additions, filling out missing
3780 functionality. A few functions are available in later versions of GHC, but
3781 this package makes them available back to GHC 7.2.")
3782 (license license:bsd-3)))
3783
3784 (define-public ghc-fail
3785 (package
3786 (name "ghc-fail")
3787 (version "4.9.0.0")
3788 (source
3789 (origin
3790 (method url-fetch)
3791 (uri (hackage-uri "fail" version))
3792 (sha256
3793 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
3794 (build-system haskell-build-system)
3795 (properties '((upstream-name . "fail")))
3796 (arguments `(#:haddock? #f)) ; Package contains no documentation.
3797 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
3798 (synopsis "Forward-compatible MonadFail class")
3799 (description
3800 "This package contains the @code{Control.Monad.Fail} module providing the
3801 @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
3802 class that became available in
3803 @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
3804 older @code{base} package versions. This package turns into an empty package
3805 when used with GHC versions which already provide the
3806 @code{Control.Monad.Fail} module.")
3807 (license license:bsd-3)))
3808
3809 (define-public ghc-fast-logger
3810 (package
3811 (name "ghc-fast-logger")
3812 (version "3.1.1")
3813 (source (origin
3814 (method url-fetch)
3815 (uri (hackage-uri "fast-logger" version))
3816 (sha256
3817 (base32
3818 "1rx866swvqq7lzngv4bx7qinnwmm3aa2la8caljvbfbi0xz6wps3"))))
3819 (build-system haskell-build-system)
3820 (properties '((upstream-name . "fast-logger")))
3821 (inputs (list ghc-auto-update ghc-easy-file ghc-unix-time ghc-unix-compat
3822 ghc-bytestring-builder hspec-discover))
3823 (native-inputs (list ghc-hspec))
3824 (home-page "https://github.com/kazu-yamamoto/logger")
3825 (synopsis "Fast logging system")
3826 (description "This library provides a fast logging system for Haskell.")
3827 (license license:bsd-3)))
3828
3829 (define-public ghc-feed
3830 (package
3831 (name "ghc-feed")
3832 (version "1.3.2.1")
3833 (source (origin
3834 (method url-fetch)
3835 (uri (hackage-uri "feed" version))
3836 (sha256
3837 (base32
3838 "0marh7qmggq1z5339nid3gil7k786d3yk79b0rwfkxxaxmr41xd8"))))
3839 (build-system haskell-build-system)
3840 (properties '((upstream-name . "feed")))
3841 (inputs (list ghc-base-compat
3842 ghc-old-locale
3843 ghc-old-time
3844 ghc-safe
3845 ghc-time-locale-compat
3846 ghc-utf8-string
3847 ghc-xml-types
3848 ghc-xml-conduit))
3849 (native-inputs (list ghc-hunit
3850 ghc-markdown-unlit
3851 ghc-syb
3852 ghc-test-framework
3853 ghc-test-framework-hunit
3854 ghc-doctest
3855 ghc-doctest-driver-gen))
3856 (arguments (list #:tests? #f)) ; Must be installed before testing.
3857 (home-page "https://github.com/haskell-party/feed")
3858 (synopsis "Haskell package for handling various syndication formats")
3859 (description
3860 "This Haskell package includes tools for generating and
3861 consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
3862 (license license:bsd-3)))
3863
3864 (define-public ghc-fgl
3865 (package
3866 (name "ghc-fgl")
3867 (version "5.7.0.3")
3868 (outputs '("out" "static" "doc"))
3869 (source
3870 (origin
3871 (method url-fetch)
3872 (uri (hackage-uri "fgl" version))
3873 (sha256
3874 (base32
3875 "04k5grp5d381wkc7sxgcl0sd3z3nlm6l6mmh103vhzh6p49vhs99"))))
3876 (build-system haskell-build-system)
3877 (properties '((upstream-name . "fgl")))
3878 (arguments
3879 `(#:cabal-revision ("1"
3880 "0d5b88j42a3f50b7kbksszvwvcgr59f8pcg3p6cvzq9f4n7y51s7")
3881 #:phases
3882 (modify-phases %standard-phases
3883 (add-before 'configure 'update-constraints
3884 (lambda _
3885 (substitute* "fgl.cabal"
3886 (("hspec >= 2\\.1 && < 2\\.8") "hspec")))))))
3887 (inputs
3888 (list ghc-hspec ghc-quickcheck))
3889 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3890 (synopsis
3891 "Martin Erwig's Functional Graph Library")
3892 (description "The functional graph library, FGL, is a collection of type
3893 and function definitions to address graph problems. The basis of the library
3894 is an inductive definition of graphs in the style of algebraic data types that
3895 encourages inductive, recursive definitions of graph algorithms.")
3896 (license license:bsd-3)))
3897
3898 (define-public ghc-fgl-arbitrary
3899 (package
3900 (name "ghc-fgl-arbitrary")
3901 (version "0.2.0.6")
3902 (source
3903 (origin
3904 (method url-fetch)
3905 (uri (hackage-uri "fgl-arbitrary" version))
3906 (sha256
3907 (base32
3908 "1mykbd1r43gpsn10ys8q3nr0i4wnhn6wq23hcici18mxxji11wkc"))))
3909 (build-system haskell-build-system)
3910 (properties '((upstream-name . "fgl-arbitrary")))
3911 (inputs
3912 (list ghc-fgl ghc-quickcheck ghc-hspec))
3913 (arguments
3914 `(#:phases
3915 (modify-phases %standard-phases
3916 (add-before 'configure 'update-constraints
3917 (lambda _
3918 (substitute* "fgl-arbitrary.cabal"
3919 (("hspec >= 2\\.1 && < 2\\.8") "hspec")))))))
3920 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
3921 (synopsis "QuickCheck support for fgl")
3922 (description
3923 "Provides Arbitrary instances for fgl graphs to avoid adding a
3924 QuickCheck dependency for fgl whilst still making the instances
3925 available to others. Also available are non-fgl-specific functions
3926 for generating graph-like data structures.")
3927 (license license:bsd-3)))
3928
3929 (define-public ghc-file-embed
3930 (package
3931 (name "ghc-file-embed")
3932 (version "0.0.15.0")
3933 (source
3934 (origin
3935 (method url-fetch)
3936 (uri (hackage-uri "file-embed" version))
3937 (sha256
3938 (base32
3939 "1pavxj642phrkq67620g10wqykjfhmm9yj2rm8pja83sadfvhrph"))))
3940 (build-system haskell-build-system)
3941 (properties '((upstream-name . "file-embed")))
3942 (home-page "https://github.com/snoyberg/file-embed")
3943 (synopsis "Use Template Haskell to embed file contents directly")
3944 (description
3945 "This package allows you to use Template Haskell to read a file or all
3946 the files in a directory, and turn them into @code{(path, bytestring)} pairs
3947 embedded in your Haskell code.")
3948 (license license:bsd-3)))
3949
3950 (define-public ghc-filemanip
3951 (package
3952 (name "ghc-filemanip")
3953 (version "0.3.6.3")
3954 (source (origin
3955 (method url-fetch)
3956 (uri (hackage-uri "filemanip" version))
3957 (sha256
3958 (base32
3959 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
3960 (build-system haskell-build-system)
3961 (properties '((upstream-name . "filemanip")))
3962 (inputs
3963 (list ghc-unix-compat))
3964 (home-page "https://github.com/bos/filemanip")
3965 (synopsis "File and directory manipulation for Haskell")
3966 (description
3967 "This package provides a Haskell library for working with files and
3968 directories. It includes code for pattern matching, finding files, modifying
3969 file contents, and more.")
3970 (license license:bsd-3)))
3971
3972 ;; Deprecated.
3973 (define-public ghc-filepath-bytestring
3974 (package
3975 (name "ghc-filepath-bytestring")
3976 (version "1.4.2.1.12")
3977 (source (origin
3978 (method url-fetch)
3979 (uri (hackage-uri "filepath-bytestring" version))
3980 (sha256
3981 (base32
3982 "0i8j724fz8h1bcqvlvp3sxmgyrvx2sim74cvzkpc9m05yn9p27sq"))))
3983 (build-system haskell-build-system)
3984 (properties '((upstream-name . "filepath-bytestring")))
3985 (native-inputs (list ghc-quickcheck))
3986 (arguments
3987 `(#:phases
3988 (modify-phases %standard-phases
3989 (add-before 'configure 'update-constraints
3990 (lambda _
3991 (substitute* "filepath-bytestring.cabal"
3992 (("filepath >= 1\\.4\\.2 && <= 1\\.4\\.2\\.1") "filepath")))))))
3993 (home-page "http://hackage.haskell.org/package/filepath-bytestring")
3994 (synopsis "Library for manipulating RawFilePaths in a cross-platform way")
3995 (description
3996 "This package provides a drop-in replacement for the standard
3997 @code{filepath} library, operating on @code{RawFilePath} values rather than
3998 @code{FilePath} values to get the speed benefits of using @code{ByteStrings}.")
3999 (license license:bsd-3)))
4000
4001 (define-public ghc-findbin
4002 (package
4003 (name "ghc-findbin")
4004 (version "0.0.5")
4005 (source
4006 (origin
4007 (method url-fetch)
4008 (uri (hackage-uri "FindBin" version))
4009 (sha256
4010 (base32
4011 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
4012 (build-system haskell-build-system)
4013 (properties '((upstream-name . "FindBin")))
4014 (home-page "https://github.com/audreyt/findbin")
4015 (synopsis "Get the absolute path of the running program")
4016 (description
4017 "This module locates the full directory of the running program, to allow
4018 the use of paths relative to it. FindBin supports invocation of Haskell
4019 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
4020 an executable.")
4021 (license license:bsd-3)))
4022
4023 (define-public ghc-fingertree
4024 (package
4025 (name "ghc-fingertree")
4026 (version "0.1.5.0")
4027 (source (origin
4028 (method url-fetch)
4029 (uri (hackage-uri "fingertree" version))
4030 (sha256
4031 (base32
4032 "0wdzpli8bpgk8lrsp105zb0y5gn1r2029laclvhz264bza93q9pk"))))
4033 (build-system haskell-build-system)
4034 (properties '((upstream-name . "fingertree")))
4035 (native-inputs (list ghc-hunit ghc-quickcheck ghc-test-framework
4036 ghc-test-framework-hunit
4037 ghc-test-framework-quickcheck2))
4038 (home-page "http://hackage.haskell.org/package/fingertree")
4039 (synopsis "Generic finger-tree structure")
4040 (description
4041 "This library provides finger trees, a general sequence
4042 representation with arbitrary annotations, for use as a base for
4043 implementations of various collection types. It includes examples, as
4044 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4045 simple general-purpose data structure\".")
4046 (license license:bsd-3)))
4047
4048 (define-public ghc-finite-typelits
4049 (package
4050 (name "ghc-finite-typelits")
4051 (version "0.1.6.0")
4052 (source (origin
4053 (method url-fetch)
4054 (uri (hackage-uri "finite-typelits" version))
4055 (sha256
4056 (base32
4057 "0f047dywlxiz3pl3rq6maym9wpwjwl4zjqfwlwnj0yiv7dmlaiih"))))
4058 (build-system haskell-build-system)
4059 (properties '((upstream-name . "finite-typelits")))
4060 (native-inputs (list ghc-quickcheck))
4061 (home-page "https://github.com/mniip/finite-typelits")
4062 (synopsis "Finitely many values, indexed by type-level naturals")
4063 (description
4064 "This package provides a Haskell type inhabited by finitely many values
4065 and indexed by type-level naturals.")
4066 (license license:bsd-3)))
4067
4068 (define-public ghc-fixed
4069 (package
4070 (name "ghc-fixed")
4071 (version "0.3")
4072 (source
4073 (origin
4074 (method url-fetch)
4075 (uri (hackage-uri "fixed" version))
4076 (sha256
4077 (base32
4078 "10l2sh179xarb774q92cff2gkb20rsrlilfwp1fk61rzmz9yn64j"))))
4079 (build-system haskell-build-system)
4080 (properties '((upstream-name . "fixed")))
4081 (home-page "https://github.com/ekmett/fixed")
4082 (synopsis "Signed 15.16 precision fixed point arithmetic")
4083 (description
4084 "This package provides functions for signed 15.16 precision fixed point
4085 arithmetic.")
4086 (license license:bsd-3)))
4087
4088 (define-public ghc-fmlist
4089 (package
4090 (name "ghc-fmlist")
4091 (version "0.9.4")
4092 (source
4093 (origin
4094 (method url-fetch)
4095 (uri
4096 (hackage-uri "fmlist" version))
4097 (sha256
4098 (base32
4099 "19h95ph7lh7llw6j1v1rssrdi5k7xw8x0iac9rgzss371s2w3g9d"))))
4100 (build-system haskell-build-system)
4101 (properties '((upstream-name . "fmlist")))
4102 (home-page "https://github.com/sjoerdvisscher/fmlist")
4103 (synopsis "FoldMap lists")
4104 (description "FoldMap lists are lists represented by their
4105 @code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and
4106 append, just like DLists, but other operations might have favorable
4107 performance characteristics as well. These wild claims are still
4108 completely unverified though.")
4109 (license license:bsd-3)))
4110
4111 (define-public ghc-foldl
4112 (package
4113 (name "ghc-foldl")
4114 (version "1.4.13")
4115 (source (origin
4116 (method url-fetch)
4117 (uri (hackage-uri "foldl" version))
4118 (sha256
4119 (base32
4120 "14vlhgf40qmwkznwza37z4www3q1v5acsx4nw5vmg25wdnc8ibfw"))))
4121 (build-system haskell-build-system)
4122 (properties '((upstream-name . "foldl")))
4123 (inputs (list ghc-random
4124 ghc-primitive
4125 ghc-vector
4126 ghc-unordered-containers
4127 ghc-hashable
4128 ghc-contravariant
4129 ghc-profunctors
4130 ghc-semigroupoids
4131 ghc-comonad
4132 ghc-semigroups))
4133 (native-inputs (list ghc-doctest))
4134 (home-page "http://hackage.haskell.org/package/foldl")
4135 (synopsis "Composable, streaming, and efficient left folds for Haskell")
4136 (description
4137 "This Haskell library provides strict left folds that stream
4138 in constant memory, and you can combine folds using @code{Applicative} style
4139 to derive new folds. Derived folds still traverse the container just once
4140 and are often as efficient as hand-written folds.")
4141 (license license:bsd-3)))
4142
4143 (define-public ghc-foundation
4144 (package
4145 (name "ghc-foundation")
4146 (version "0.0.29")
4147 (source (origin
4148 (method url-fetch)
4149 (uri (hackage-uri "foundation" version))
4150 (sha256
4151 (base32
4152 "1hbkh6a3g6wsj2z48pjimd7djkm82mdxfwc24bnmmzag8amrp0rl"))))
4153 (build-system haskell-build-system)
4154 (properties '((upstream-name . "foundation")))
4155 (inputs (list ghc-basement))
4156 (home-page "https://github.com/haskell-foundation/foundation")
4157 (synopsis "Alternative prelude with batteries and no dependencies")
4158 (description
4159 "This package provides a custom prelude with no dependencies apart from
4160 the base package.
4161
4162 Foundation has the following goals:
4163
4164 @enumerate
4165 @item provide a base like sets of modules that provide a consistent set of
4166 features and bugfixes across multiple versions of GHC (unlike base).
4167 @item provide a better and more efficient prelude than base's prelude.
4168 @item be self-sufficient: no external dependencies apart from base;
4169 @item provide better data-types: packed unicode string by default, arrays;
4170 @item Numerical classes that better represent mathematical things (no more
4171 all-in-one @code{Num});
4172 @item I/O system with less lazy IO.
4173 @end enumerate
4174 ")
4175 (license license:bsd-3)))
4176
4177 (define-public ghc-free
4178 (package
4179 (name "ghc-free")
4180 (version "5.1.10")
4181 (source (origin
4182 (method url-fetch)
4183 (uri (hackage-uri "free" version))
4184 (sha256
4185 (base32
4186 "0whff0r0nvii5l9z9crw7v0rj0wwblwbnfp99515siyxjkzs9phj"))))
4187 (build-system haskell-build-system)
4188 (properties '((upstream-name . "free")))
4189 (inputs (list ghc-comonad
4190 ghc-distributive
4191 ghc-indexed-traversable
4192 ghc-semigroupoids
4193 ghc-th-abstraction
4194 ghc-transformers-base
4195 ghc-profunctors))
4196 (home-page "http://github.com/ekmett/free/")
4197 (synopsis "Unrestricted monads for Haskell")
4198 (description
4199 "This library provides free monads, which are useful for many
4200 tree-like structures and domain specific languages. If @code{f} is a
4201 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4202 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4203 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4204 f} makes no constraining assumptions beyond those given by @code{f} and the
4205 definition of @code{Monad}.")
4206 (license license:bsd-3)))
4207
4208 (define-public ghc-fsnotify
4209 (package
4210 (name "ghc-fsnotify")
4211 (version "0.3.0.1")
4212 (source (origin
4213 (method url-fetch)
4214 (uri (hackage-uri "fsnotify" version))
4215 (sha256
4216 (base32
4217 "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny"))))
4218 (build-system haskell-build-system)
4219 (properties '((upstream-name . "fsnotify")))
4220 (inputs
4221 (list ghc-async
4222 ghc-unix-compat
4223 ghc-hinotify
4224 ghc-tasty
4225 ghc-tasty-hunit
4226 ghc-random
4227 ghc-shelly
4228 ghc-temporary))
4229 (home-page "https://github.com/haskell-fswatch/hfsnotify")
4230 (synopsis "Cross platform library for file change notification")
4231 (description "Cross platform library for file creation, modification, and
4232 deletion notification. This library builds upon existing libraries for platform
4233 specific Windows, Mac, and Linux file system event notification.")
4234 (license license:bsd-3)))
4235
4236 (define-public ghc-generic-deriving
4237 (package
4238 (name "ghc-generic-deriving")
4239 (version "1.14.2")
4240 (source (origin
4241 (method url-fetch)
4242 (uri (hackage-uri "generic-deriving" version))
4243 (sha256
4244 (base32
4245 "0bxacg6b1vz135x93vf7jk6129m08hdyj7426ymaylfl2w8kapi6"))))
4246 (build-system haskell-build-system)
4247 (properties '((upstream-name . "generic-deriving")))
4248 (inputs (list ghc-th-abstraction))
4249 ;(native-inputs (list ghc-hspec))
4250 (arguments (list #:tests? #f)) ;; Cannot resolve package cycle.
4251 (home-page "https://github.com/dreixel/generic-deriving")
4252 (synopsis "Generalise the deriving mechanism to arbitrary classes")
4253 (description "This package provides functionality for generalising the
4254 deriving mechanism in Haskell to arbitrary classes.")
4255 (license license:bsd-3)))
4256
4257 (define-public ghc-generic-random
4258 (package
4259 (name "ghc-generic-random")
4260 (version "1.5.0.1")
4261 (source
4262 (origin
4263 (method url-fetch)
4264 (uri (hackage-uri "generic-random" version))
4265 (sha256
4266 (base32 "02iczjf2xc4sxfi234nf6irfj5slvf3p5hpaxl8r5nc8hy052d6x"))))
4267 (build-system haskell-build-system)
4268 (properties `((upstream-name . "generic-random")))
4269 (inputs (list ghc-quickcheck))
4270 (native-inputs (list ghc-inspection-testing ghc-inspection-testing))
4271 (home-page
4272 "https://github.com/lysxia/generic-random")
4273 (synopsis
4274 "Generic random generators for QuickCheck")
4275 (description
4276 "Derive instances of @code{Arbitrary} for QuickCheck, with various options
4277 to customize implementations.
4278
4279 Automating the arbitrary boilerplate also ensures that when a type changes to
4280 have more or fewer constructors, then the generator either fixes itself to
4281 generate that new case (when using the uniform distribution) or causes a
4282 compilation error so you remember to fix it (when using an explicit
4283 distribution).
4284
4285 This package also offers a simple (optional) strategy to ensure termination
4286 for recursive types: make @code{Test.QuickCheck.Gen}'s size parameter decrease
4287 at every recursive call; when it reaches zero, sample directly from a
4288 trivially terminating generator given explicitly (@code{genericArbitraryRec}
4289 and @code{withBaseCase}) or implicitly (@code{genericArbitrary'}).")
4290 (license license:expat)))
4291
4292 (define-public ghc-generics-sop
4293 (package
4294 (name "ghc-generics-sop")
4295 (version "0.5.1.2")
4296 (source (origin
4297 (method url-fetch)
4298 (uri (hackage-uri "generics-sop" version))
4299 (sha256
4300 (base32
4301 "098blydb7c7wg77dn658r0zb1z20vfkar1him1rqlq0da90437b3"))))
4302 (build-system haskell-build-system)
4303 (properties '((upstream-name . "generics-sop")))
4304 (inputs (list ghc-sop-core ghc-th-abstraction))
4305 (arguments
4306 `(#:cabal-revision ("1"
4307 "1s8bx25yrjqy1cj9y1s1m8a8qlby9dxjzin16yymz7g39fqcqxz8")))
4308 (home-page "http://hackage.haskell.org/package/generics-sop")
4309 (synopsis "Generic Programming using True Sums of Products for Haskell")
4310 (description
4311 "This Haskell package supports the definition of generic
4312 functions. Datatypes are viewed in a uniform, structured way: the choice
4313 between constructors is represented using an n-ary sum, and the arguments of
4314 each constructor are represented using an n-ary product.")
4315 (license license:bsd-3)))
4316
4317 (define-public ghc-genvalidity
4318 (package
4319 (name "ghc-genvalidity")
4320 (version "1.1.0.0")
4321 (source (origin
4322 (method url-fetch)
4323 (uri (hackage-uri "genvalidity" version))
4324 (sha256
4325 (base32
4326 "08xvbgzhi9f2s3g81zzd8yhrn66mr84m0dvp478nrbck19jdg5sq"))))
4327 (build-system haskell-build-system)
4328 (properties '((upstream-name . "genvalidity")))
4329 (inputs (list ghc-quickcheck ghc-random ghc-validity))
4330 (native-inputs (list ghc-hspec ghc-hspec-core hspec-discover))
4331 (home-page "https://github.com/NorfairKing/validity#readme")
4332 (synopsis "Testing utilities for the @code{validity} library")
4333 (description
4334 "This package provides testing utilities that are useful in conjunction
4335 with the @code{Validity} typeclass.")
4336 (license license:expat)))
4337
4338 (define-public ghc-genvalidity-property
4339 (package
4340 (name "ghc-genvalidity-property")
4341 (version "1.0.0.0")
4342 (source (origin
4343 (method url-fetch)
4344 (uri (hackage-uri "genvalidity-property" version))
4345 (sha256
4346 (base32
4347 "1nxcdq04rkckrb3v49pjx378n5s828k24x7hix6manyxqmd3hplw"))))
4348 (build-system haskell-build-system)
4349 (properties '((upstream-name . "genvalidity-property")))
4350 (inputs (list ghc-quickcheck ghc-genvalidity ghc-hspec ghc-pretty-show
4351 ghc-validity hspec-discover))
4352 (home-page "https://github.com/NorfairKing/validity#readme")
4353 (synopsis "Standard properties for functions on @code{Validity} types")
4354 (description
4355 "This package supplements the @code{Validity} typeclass with standard
4356 properties for functions operating on them.")
4357 (license license:expat)))
4358
4359 (define-public ghc-getopt-generics
4360 (package
4361 (name "ghc-getopt-generics")
4362 (version "0.13.0.4")
4363 (source
4364 (origin
4365 (method url-fetch)
4366 (uri (hackage-uri "getopt-generics" version))
4367 (sha256
4368 (base32
4369 "1rszkcn1rg38wf35538ljk5bbqjc57y9sb3a0al7qxm82gy8yigr"))))
4370 (build-system haskell-build-system)
4371 (properties '((upstream-name . "getopt-generics")))
4372 (inputs
4373 (list ghc-base-compat ghc-base-orphans ghc-generics-sop ghc-tagged))
4374 (native-inputs
4375 (list ghc-quickcheck ghc-hspec ghc-safe ghc-silently hspec-discover))
4376 (home-page "https://github.com/soenkehahn/getopt-generics")
4377 (synopsis "Create command line interfaces with ease")
4378 (description "This library provides tools to create command line
4379 interfaces with ease.")
4380 (license license:bsd-3)))
4381
4382 (define-public ghc-gitrev
4383 (package
4384 (name "ghc-gitrev")
4385 (version "1.3.1")
4386 (source
4387 (origin
4388 (method url-fetch)
4389 (uri (hackage-uri "gitrev" version))
4390 (sha256
4391 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
4392 (build-system haskell-build-system)
4393 (properties '((upstream-name . "gitrev")))
4394 (inputs (list ghc-base-compat))
4395 (home-page "https://github.com/acfoltzer/gitrev")
4396 (synopsis "Compile git revision info into Haskell projects")
4397 (description
4398 "This package provides some handy Template Haskell splices for including
4399 the current git hash and branch in the code of your project. This is useful
4400 for including in panic messages, @command{--version} output, or diagnostic
4401 info for more informative bug reports.")
4402 (license license:bsd-3)))
4403
4404 (define-public ghc-glob
4405 (package
4406 (name "ghc-glob")
4407 (version "0.10.2")
4408 (source
4409 (origin
4410 (method url-fetch)
4411 (uri (hackage-uri "Glob" version))
4412 (sha256
4413 (base32
4414 "1h3kh46qds4nqvixm4myy1kb5slg53f44hfn8aymrlr7hjn75xka"))))
4415 (build-system haskell-build-system)
4416 (properties '((upstream-name . "Glob")))
4417 (arguments
4418 `(#:cabal-revision
4419 ("3" "1080rd5073g87rfm5whimb72b75105lqanybrbsfi14gmvndnbfx")))
4420 (inputs
4421 (list ghc-dlist ghc-semigroups ghc-transformers-compat))
4422 (native-inputs
4423 (list ghc-hunit ghc-quickcheck ghc-test-framework
4424 ghc-test-framework-hunit ghc-test-framework-quickcheck2))
4425 (home-page "https://iki.fi/matti.niemenmaa/glob/")
4426 (synopsis "Haskell library matching glob patterns against file paths")
4427 (description "This package provides a Haskell library for @dfn{globbing}:
4428 matching patterns against file paths.")
4429 (license license:bsd-3)))
4430
4431 (define-public ghc-gluraw
4432 (package
4433 (name "ghc-gluraw")
4434 (version "2.0.0.5")
4435 (source (origin
4436 (method url-fetch)
4437 (uri (hackage-uri "GLURaw" version))
4438 (sha256
4439 (base32
4440 "1b3rnva77k9naw5bl573bqgmsq7n9i8rrrvfvhbjcndqgmzhkini"))))
4441 (build-system haskell-build-system)
4442 (properties '((upstream-name . "GLURaw")))
4443 (inputs (list ghc-openglraw))
4444 (home-page "http://www.haskell.org/haskellwiki/Opengl")
4445 (synopsis "Raw Haskell bindings GLU")
4446 (description
4447 "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
4448 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
4449 basis for a nicer interface.")
4450 (license license:bsd-3)))
4451
4452 (define-public ghc-glut
4453 (package
4454 (name "ghc-glut")
4455 (version "2.7.0.16")
4456 (source
4457 (origin
4458 (method url-fetch)
4459 (uri (hackage-uri "GLUT" version))
4460 (sha256
4461 (base32
4462 "0vdkfj4wjzigdpzgr5l001y9wkhwgl00mclr26gf93kps14fkymn"))))
4463 (build-system haskell-build-system)
4464 (properties '((upstream-name . "GLUT")))
4465 (inputs
4466 (list ghc-statevar ghc-opengl ghc-openglraw freeglut))
4467 (home-page "https://wiki.haskell.org/Opengl")
4468 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
4469 (description "This library provides Haskell bindings for the OpenGL
4470 Utility Toolkit, a window system-independent toolkit for writing OpenGL
4471 programs.")
4472 (license license:bsd-3)))
4473
4474 (define-public ghc-gnuplot
4475 (package
4476 (name "ghc-gnuplot")
4477 (version "0.5.7")
4478 (source (origin
4479 (method url-fetch)
4480 (uri (hackage-uri "gnuplot" version))
4481 (sha256
4482 (base32
4483 "1glahh3si5bpazsklnpwxx4h4ivgb4wyngc032797zq1496fhhm3"))))
4484 (build-system haskell-build-system)
4485 (properties '((upstream-name . "gnuplot")))
4486 (inputs (list ghc-temporary ghc-utility-ht ghc-data-accessor-transformers
4487 ghc-data-accessor ghc-semigroups))
4488 (home-page "http://www.haskell.org/haskellwiki/Gnuplot")
4489 (synopsis "2D and 3D plots using gnuplot")
4490 (description "This package provides a Haskell module for creating 2D and
4491 3D plots using gnuplot.")
4492 (license license:bsd-3)))
4493
4494 (define-public ghc-graphviz
4495 (package
4496 (name "ghc-graphviz")
4497 (version "2999.20.1.0")
4498 (source (origin
4499 (method url-fetch)
4500 (uri (hackage-uri "graphviz" version))
4501 (sha256
4502 (base32
4503 "0l0zxgb938hh09qirggbaskq79mgj3s081cnr42y5vm1rp1jir2s"))))
4504 (build-system haskell-build-system)
4505 (properties '((upstream-name . "graphviz")))
4506 (inputs
4507 (list ghc-colour
4508 ghc-dlist
4509 ghc-fgl
4510 ghc-polyparse
4511 ghc-temporary
4512 ghc-wl-pprint-text))
4513 (native-inputs
4514 (list ghc-hspec graphviz ghc-fgl-arbitrary ghc-quickcheck
4515 hspec-discover))
4516 (arguments
4517 `(#:cabal-revision ("2"
4518 "110yp1h2jrswllnx2ks772g10v9h4vqxc07b33wfaksyim9769bp")))
4519 (home-page "https://hackage.haskell.org/package/graphviz")
4520 (synopsis "Bindings to Graphviz for graph visualisation")
4521 (description
4522 "This library provides bindings for the Dot language used by
4523 the @uref{https://graphviz.org/, Graphviz} suite of programs for
4524 visualising graphs, as well as functions to call those programs.
4525 Main features of the graphviz library include:
4526
4527 @enumerate
4528 @item Almost complete coverage of all Graphviz attributes and syntax
4529 @item Support for specifying clusters
4530 @item The ability to use a custom node type
4531 @item Functions for running a Graphviz layout tool with all specified output types
4532 @item Generate and parse Dot code with two options: strict and liberal
4533 @item Functions to convert FGL graphs and other graph-like data structures
4534 @item Round-trip support for passing an FGL graph through Graphviz to augment node
4535 and edge labels with positional information, etc.
4536 @end enumerate\n")
4537 (license license:bsd-3)))
4538
4539 (define-public ghc-groups
4540 (package
4541 (name "ghc-groups")
4542 (version "0.5.3")
4543 (source
4544 (origin
4545 (method url-fetch)
4546 (uri (hackage-uri "groups" version))
4547 (sha256
4548 (base32
4549 "0f5c8dg9b74glfw2sdvdcl9c8igs6knz1bayk4gvvzvypsl547nf"))))
4550 (build-system haskell-build-system)
4551 (properties '((upstream-name . "groups")))
4552 (home-page "https://hackage.haskell.org/package/groups")
4553 (synopsis "Haskell 98 groups")
4554 (description "This package provides Haskell 98 groups. A group is a
4555 monoid with invertibility.")
4556 (license license:bsd-3)))
4557
4558 (define-public ghc-gtk2hs-buildtools
4559 (package
4560 (name "ghc-gtk2hs-buildtools")
4561 (version "0.13.8.3")
4562 (source (origin
4563 (method url-fetch)
4564 (uri (hackage-uri "gtk2hs-buildtools" version))
4565 (sha256
4566 (base32
4567 "0fcm0v32hm9j908nyziia16ahb181y9hqppsy18clx2prvj480rv"))))
4568 (build-system haskell-build-system)
4569 (properties '((upstream-name . "gtk2hs-buildtools")))
4570 (inputs (list ghc-random ghc-hashtables))
4571 (native-inputs (list ghc-alex ghc-happy))
4572 (home-page "https://projects.haskell.org/gtk2hs/")
4573 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
4574 (description
4575 "This package provides a set of helper programs necessary to build the
4576 Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
4577 that is used to generate FFI declarations, a tool to build a type hierarchy
4578 that mirrors the C type hierarchy of GObjects found in glib, and a generator
4579 for signal declarations that are used to call back from C to Haskell. These
4580 tools are not needed to actually run Gtk2Hs programs.")
4581 (license license:gpl2)))
4582
4583 (define-public ghc-hackage-security
4584 (package
4585 (name "ghc-hackage-security")
4586 (version "0.6.2.3")
4587 (source (origin
4588 (method url-fetch)
4589 (uri (hackage-uri "hackage-security" version))
4590 (sha256
4591 (base32
4592 "0rm0avcc1k247qbrajhzi3vz92cgcc4nr3kbhhfmfm8rjxv0bvjj"))))
4593 (build-system haskell-build-system)
4594 (properties '((upstream-name . "hackage-security")))
4595 (inputs (list ghc-base16-bytestring
4596 ghc-base64-bytestring
4597 ghc-ed25519
4598 ghc-cryptohash-sha256
4599 ghc-tar
4600 ghc-zlib
4601 ghc-lukko
4602 ghc-cabal-syntax
4603 ghc-network-uri
4604 ghc-network))
4605 (native-inputs (list ghc-tasty
4606 ghc-tasty-hunit
4607 ghc-tasty-quickcheck
4608 ghc-quickcheck
4609 ghc-aeson
4610 ghc-vector
4611 ghc-unordered-containers
4612 ghc-temporary))
4613 (home-page "https://github.com/haskell/hackage-security")
4614 (synopsis "Hackage security library")
4615 (description
4616 "This Hackage security library provides both server and
4617 client utilities for securing @uref{http://hackage.haskell.org/, the
4618 Hackage package server}. It is based on
4619 @uref{http://theupdateframework.com/, The Update Framework}, a set of
4620 recommendations developed by security researchers at various universities
4621 in the US as well as developers on the @uref{https://www.torproject.org/,
4622 Tor project}.")
4623 (license license:bsd-3)))
4624
4625 (define-public ghc-haddock
4626 (package
4627 (name "ghc-haddock")
4628 (version "2.26.0")
4629 (source
4630 (origin
4631 (method url-fetch)
4632 (uri (hackage-uri "haddock" version))
4633 (sha256
4634 (base32
4635 "0jqp37pbz4zjqc3dm0jkcsdqsh2ql9ygnr06m75bbk330yqchnl3"))))
4636 (build-system haskell-build-system)
4637 (properties '((upstream-name . "haddock")))
4638 (arguments
4639 `(#:tests? #f ; TODO: haddock-test does not build.
4640 #:phases
4641 (modify-phases %standard-phases
4642 (add-before 'check 'add-haddock-to-path
4643 (lambda _
4644 (setenv "PATH" (string-append (getcwd) "/dist/build/haddock"
4645 ":" (getenv "PATH")))
4646 #t)))))
4647 (inputs (list ghc-haddock-api))
4648 ; (native-inputs
4649 ; `(("ghc-haddock-test" ,ghc-haddock-test)
4650 ; ("ghc-hspec" ,ghc-hspec)))
4651 (home-page "https://www.haskell.org/haddock/")
4652 (synopsis
4653 "Documentation-generation tool for Haskell libraries")
4654 (description
4655 "Haddock is a documentation-generation tool for Haskell libraries.")
4656 (license license:bsd-3)))
4657
4658 (define-public ghc-haddock-api
4659 (package
4660 (name "ghc-haddock-api")
4661 (version "2.26.0")
4662 (source
4663 (origin
4664 (method url-fetch)
4665 (uri (hackage-uri "haddock-api" version))
4666 (sha256
4667 (base32
4668 "0ris5m61vig5nh5y2ddm98midl3v51vzgfgvsfyhm3nwk5hif6ay"))))
4669 (build-system haskell-build-system)
4670 (properties '((upstream-name . "haddock-api")))
4671 (inputs
4672 (list ghc-paths ghc-haddock-library))
4673 (native-inputs
4674 (list ghc-quickcheck ghc-hspec hspec-discover))
4675 (arguments
4676 `(#:phases
4677 (modify-phases %standard-phases
4678 (add-before 'configure 'update-constraints
4679 (lambda _
4680 (substitute* "haddock-api.cabal"
4681 (("haddock-library \\^>= 1\\.9\\.0") "haddock-library")
4682 (("hspec \\^>= 2.8") "hspec")))))))
4683 (home-page "https://www.haskell.org/haddock/")
4684 (synopsis "API for documentation-generation tool Haddock")
4685 (description "This package provides an API to Haddock, the
4686 documentation-generation tool for Haskell libraries.")
4687 (license license:bsd-3)))
4688
4689 (define-public ghc-haddock-library
4690 (package
4691 (name "ghc-haddock-library")
4692 (version "1.10.0")
4693 (source
4694 (origin
4695 (method url-fetch)
4696 (uri (hackage-uri "haddock-library" version))
4697 (sha256
4698 (base32
4699 "15ak06q8yp11xz1hwr0sg2jqi3r78p1n89ik05hicqvxl3awf1pq"))))
4700 (build-system haskell-build-system)
4701 (properties '((upstream-name . "haddock-library")))
4702 (arguments
4703 `(#:cabal-revision ("3"
4704 "1fnfcr3gvdjrya0czr3k2sqv4xmmvyv66yni2mckfppra93mcglg")
4705 #:phases
4706 (modify-phases %standard-phases
4707 (add-before 'configure 'update-constraints
4708 (lambda _
4709 (substitute* "haddock-library.cabal"
4710 (("(base-compat|hspec|optparse-applicative|tree-diff)\\s+[^,]+" all dep)
4711 dep)))))))
4712 (native-inputs
4713 (list ghc-base-compat
4714 ghc-hspec
4715 ghc-optparse-applicative
4716 ghc-quickcheck
4717 ghc-tree-diff
4718 hspec-discover))
4719 (home-page "https://www.haskell.org/haddock/")
4720 (synopsis "Library exposing some functionality of Haddock")
4721 (description
4722 "Haddock is a documentation-generation tool for Haskell libraries. These
4723 modules expose some functionality of it without pulling in the GHC dependency.
4724 Please note that the API is likely to change so specify upper bounds in your
4725 project if you can't release often. For interacting with Haddock itself, see
4726 the ‘haddock’ package.")
4727 (license license:bsd-3)))
4728
4729 ;; This package is needed for testing 'ghc-haddock'. It is no longer
4730 ;; published to Hackage, but it is maintained in the Haddock Git
4731 ;; repository.
4732 (define ghc-haddock-test
4733 (package
4734 (name "ghc-haddock-test")
4735 (version "2.22.0")
4736 (source
4737 (origin
4738 (method git-fetch)
4739 (uri (git-reference
4740 (url "https://github.com/haskell/haddock")
4741 (commit (string-append "haddock-" version "-release"))))
4742 (file-name (git-file-name name version))
4743 (sha256
4744 (base32
4745 "1ywxmqqan10gs0ppybdmdgsmvkzkpw7yirj2rw4qylg3x49a9zca"))))
4746 (build-system haskell-build-system)
4747 (arguments
4748 `(#:phases
4749 (modify-phases %standard-phases
4750 (add-after 'unpack 'change-directory
4751 (lambda _
4752 (chdir "haddock-test"))))))
4753 (inputs
4754 `(("ghc-syb" ,ghc-syb)
4755 ("ghc-xml" ,ghc-xml)))
4756 (home-page "https://www.haskell.org/haddock/")
4757 (synopsis "Test utilities for Haddock")
4758 (description "This package provides test utilities for Haddock.")
4759 (license license:bsd-3)
4760 (properties '((hidden? #t)))))
4761
4762 (define-public ghc-half
4763 (package
4764 (name "ghc-half")
4765 (version "0.3.1")
4766 (source
4767 (origin
4768 (method url-fetch)
4769 (uri (hackage-uri "half" version))
4770 (sha256
4771 (base32
4772 "1l8m2spqg0ac50qys2jk5b32v6wxklbbk5ypjp3ga6z14hkw7bz2"))))
4773 (build-system haskell-build-system)
4774 (properties '((upstream-name . "half")))
4775 (native-inputs
4776 (list ghc-test-framework ghc-test-framework-quickcheck2
4777 ghc-quickcheck))
4778 (home-page "https://github.com/ekmett/half")
4779 (synopsis "Half-precision floating-point computations")
4780 (description "This library provides a half-precision floating-point
4781 computation library for Haskell.")
4782 (license license:bsd-3)))
4783
4784 (define-public ghc-happy
4785 (package
4786 (name "ghc-happy")
4787 (version "1.20.0")
4788 (source
4789 (origin
4790 (method url-fetch)
4791 (uri (hackage-uri "happy" version))
4792 (sha256
4793 (base32
4794 "1346r2x5ravs5fqma65bzjragqbb2g6v41wz9maknwm2jf7kl79v"))))
4795 (build-system haskell-build-system)
4796 (properties '((upstream-name . "happy")))
4797 (arguments
4798 `(#:phases
4799 (modify-phases %standard-phases
4800 (add-after 'unpack 'skip-test-issue93
4801 (lambda _
4802 ;; Tests run out of memory on a system with 2GB of available RAM,
4803 ;; in 'issue93.a.hs' and 'issue93.n.hs'.
4804 (substitute* "tests/Makefile"
4805 ((" issue93.y ") " "))
4806 #t)))))
4807 (home-page "https://hackage.haskell.org/package/happy")
4808 (synopsis "Parser generator for Haskell")
4809 (description "Happy is a parser generator for Haskell. Given a grammar
4810 specification in BNF, Happy generates Haskell code to parse the grammar.
4811 Happy works in a similar way to the yacc tool for C.")
4812 (license license:bsd-3)))
4813
4814 (define-public ghc-hashable
4815 (package
4816 (name "ghc-hashable")
4817 (version "1.4.1.0")
4818 (source (origin
4819 (method url-fetch)
4820 (uri (hackage-uri "hashable" version))
4821 (sha256
4822 (base32
4823 "11sycr73821amdz8g0k8c97igi4z7f9xdvgaxlkxhsp6h310bcz1"))))
4824 (build-system haskell-build-system)
4825 (properties '((upstream-name . "hashable")))
4826 (native-inputs (list ghc-hunit
4827 ghc-quickcheck
4828 ghc-random
4829 ghc-test-framework
4830 ghc-test-framework-hunit
4831 ghc-test-framework-quickcheck2))
4832 (home-page "http://github.com/haskell-unordered-containers/hashable")
4833 (synopsis "Class for types that can be converted to a hash value")
4834 (description
4835 "This package defines a class, @code{Hashable}, for types that can be
4836 converted to a hash value. This class exists for the benefit of hashing-based
4837 data structures. The package provides instances for basic types and a way to
4838 combine hash values.")
4839 (license license:bsd-3)))
4840
4841 (define-public ghc-hashable-bootstrap
4842 (package
4843 (inherit ghc-hashable)
4844 (name "ghc-hashable-bootstrap")
4845 (arguments
4846 `(#:tests? #f
4847 ,@(package-arguments ghc-hashable)))
4848 (native-inputs '())
4849 (properties '((hidden? #t)))))
4850
4851 (define-public ghc-hashtables
4852 (package
4853 (name "ghc-hashtables")
4854 (version "1.3.1")
4855 (source (origin
4856 (method url-fetch)
4857 (uri (hackage-uri "hashtables" version))
4858 (sha256
4859 (base32
4860 "1hsrihk948xfpy14qrhar50b41kp60i1rx8bkadjg1xb4bml0gbg"))))
4861 (build-system haskell-build-system)
4862 (properties '((upstream-name . "hashtables")))
4863 (inputs (list ghc-hashable ghc-primitive ghc-vector))
4864 (native-inputs (list ghc-mwc-random
4865 ghc-quickcheck
4866 ghc-hunit
4867 ghc-test-framework
4868 ghc-test-framework-quickcheck2
4869 ghc-test-framework-hunit))
4870 (home-page "http://github.com/gregorycollins/hashtables")
4871 (synopsis "Haskell Mutable hash tables in the ST monad")
4872 (description
4873 "This package provides a Haskell library including a
4874 couple of different implementations of mutable hash tables in the ST
4875 monad, as well as a typeclass abstracting their common operations, and
4876 a set of wrappers to use the hash tables in the IO monad.")
4877 (license license:bsd-3)))
4878
4879 (define-public ghc-haskeline
4880 (package
4881 (name "ghc-haskeline")
4882 (version "0.8.2")
4883 (source (origin
4884 (method url-fetch)
4885 (uri (hackage-uri "haskeline" version))
4886 (sha256
4887 (base32
4888 "1pr7zik1138cj0463867i1qqb2bgsq716mryap18jx7zb9f1b7gc"))))
4889 (build-system haskell-build-system)
4890 (properties '((upstream-name . "haskeline")))
4891 (native-inputs (list ghc-hunit which))
4892 (arguments
4893 (list
4894 #:tests? #f ; Cannot run binary haskeline-examples-Test, which is just
4895 ; built, even with PATH and LD_LIBRARY_PATH set.
4896 #:cabal-revision
4897 '("3" "101qavk0fmc4c6qa307kswz3345psskxqyxhk6hmykynjm05jjrv")
4898 #:phases
4899 #~(modify-phases %standard-phases
4900 (add-before 'configure 'patch-which
4901 (lambda* (#:key inputs #:allow-other-keys)
4902 (substitute* "tests/Unit.hs"
4903 (("\"which\"")
4904 (string-append "\"" (search-input-file inputs "/bin/which") "\""))))))))
4905 (home-page "https://github.com/judah/haskeline")
4906 (synopsis "Command-line interface for user input, written in Haskell")
4907 (description
4908 "Haskeline provides a user interface for line input in command-line
4909 programs. This library is similar in purpose to readline, but since it is
4910 written in Haskell it is (hopefully) more easily used in other Haskell
4911 programs.
4912
4913 Haskeline runs both on POSIX-compatible systems and on Windows.")
4914 (license license:bsd-3)))
4915
4916 (define-public ghc-haskell-lexer
4917 (package
4918 (name "ghc-haskell-lexer")
4919 (version "1.1.1")
4920 (source (origin
4921 (method url-fetch)
4922 (uri (hackage-uri "haskell-lexer" version))
4923 (sha256
4924 (base32
4925 "0jgkv1api3w7i9j5z01h7qdx2i9cp93h54hp9hj1bw9hk9bdmvn8"))))
4926 (build-system haskell-build-system)
4927 (properties '((upstream-name . "haskell-lexer")))
4928 (home-page "https://github.com/yav/haskell-lexer")
4929 (synopsis "Fully compliant Haskell 98 lexer")
4930 (description "This package provides a fully compliant Haskell 98 lexer.")
4931 (license license:expat)))
4932
4933 (define-public ghc-haskell-src
4934 (package
4935 (name "ghc-haskell-src")
4936 (version "1.0.4")
4937 (source (origin
4938 (method url-fetch)
4939 (uri (hackage-uri "haskell-src" version))
4940 (sha256
4941 (base32
4942 "1spkhv83hy5v1lxs44l3w53vk8zj7gnx42c40hrkj4fcz6apdiwb"))))
4943 (build-system haskell-build-system)
4944 (properties '((upstream-name . "haskell-src")))
4945 (inputs (list ghc-happy ghc-syb))
4946 (arguments
4947 `(#:cabal-revision ("1"
4948 "0dfjzq0sxxcalqxygp2svx4890qx8b4amad0xldwy1f4xrp3lsnb")))
4949 (home-page "http://hackage.haskell.org/package/haskell-src")
4950 (synopsis "Support for manipulating Haskell source code")
4951 (description
4952 "The @code{haskell-src} package provides support for manipulating Haskell
4953 source code. The package provides a lexer, parser and pretty-printer, and a
4954 definition of a Haskell abstract syntax tree (AST). Common uses of this
4955 package are to parse or generate Haskell 98 code.")
4956 (license license:bsd-3)))
4957
4958 (define-public ghc-haskell-src-exts
4959 (package
4960 (name "ghc-haskell-src-exts")
4961 (version "1.23.1")
4962 (source
4963 (origin
4964 (method url-fetch)
4965 (uri (hackage-uri "haskell-src-exts" version))
4966 (sha256
4967 (base32
4968 "01bcrxs9af4yqpclw43aijmsd1g19qhyzb47blz7vzwz2r3k11b7"))))
4969 (build-system haskell-build-system)
4970 (properties '((upstream-name . "haskell-src-exts")))
4971 (outputs '("out" "static" "doc"))
4972 (inputs
4973 (list cpphs ghc-happy ghc-pretty-show))
4974 (native-inputs
4975 (list ghc-smallcheck ghc-tasty ghc-tasty-smallcheck ghc-tasty-golden))
4976 (home-page "https://github.com/haskell-suite/haskell-src-exts")
4977 (synopsis "Library for manipulating Haskell source")
4978 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
4979 extension of the standard @code{haskell-src} package, and handles most
4980 registered syntactic extensions to Haskell. All extensions implemented in GHC
4981 are supported. Apart from these standard extensions, it also handles regular
4982 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
4983 (license license:bsd-3)))
4984
4985 (define-public ghc-haskell-src-exts-util
4986 (package
4987 (name "ghc-haskell-src-exts-util")
4988 (version "0.2.5")
4989 (source
4990 (origin
4991 (method url-fetch)
4992 (uri (hackage-uri "haskell-src-exts-util" version))
4993 (sha256
4994 (base32
4995 "0fvqi72m74p7q5sbpy8m2chm8a1lgy10mfrcxcz8wrh59vngj0n8"))))
4996 (build-system haskell-build-system)
4997 (properties '((upstream-name . "haskell-src-exts-util")))
4998 (inputs
4999 (list ghc-data-default ghc-haskell-src-exts ghc-semigroups
5000 ghc-uniplate))
5001 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
5002 (synopsis "Helper functions for working with haskell-src-exts trees")
5003 (description
5004 "This package provides helper functions for working with
5005 @code{haskell-src-exts} trees.")
5006 (license license:bsd-3)))
5007
5008 (define-public ghc-haskell-src-meta
5009 (package
5010 (name "ghc-haskell-src-meta")
5011 (version "0.8.11")
5012 (source (origin
5013 (method url-fetch)
5014 (uri (hackage-uri "haskell-src-meta" version))
5015 (sha256
5016 (base32
5017 "1wks0xb7ah2gj9n0ffbcaskjihy45l99qkf2h9k13cyfvqkzp9rw"))))
5018 (build-system haskell-build-system)
5019 (properties '((upstream-name . "haskell-src-meta")))
5020 (inputs (list ghc-haskell-src-exts ghc-syb ghc-th-orphans))
5021 (native-inputs (list ghc-hunit ghc-tasty ghc-tasty-hunit))
5022 (home-page "http://hackage.haskell.org/package/haskell-src-meta")
5023 (synopsis "Parse source to template-haskell abstract syntax")
5024 (description "This package provides tools to parse Haskell sources to the
5025 template-haskell abstract syntax.")
5026 (license license:bsd-3)))
5027
5028 (define-public ghc-hasktags
5029 (package
5030 (name "ghc-hasktags")
5031 (version "0.72.0")
5032 (source
5033 (origin
5034 (method url-fetch)
5035 (uri (hackage-uri "hasktags" version))
5036 (sha256
5037 (base32
5038 "09p79w16fgpqi6bwq162769xdrnyb7wnmz56k00nz6dj1a0bbbdd"))))
5039 (build-system haskell-build-system)
5040 (properties '((upstream-name . "hasktags")))
5041 (arguments
5042 `(#:cabal-revision
5043 ("2" "0f3v6k3bvsczz0z5i09286c0i74wz782vayzyp5lndqvrx3b4g0x")))
5044 (inputs
5045 (list ghc-system-filepath ghc-optparse-applicative))
5046 (native-inputs
5047 (list ghc-json ghc-utf8-string ghc-microlens-platform ghc-hunit))
5048 (home-page "https://github.com/MarcWeber/hasktags")
5049 (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs")
5050 (description
5051 "This package provides a means of generating tag files for Emacs and
5052 Vim.")
5053 (license license:bsd-3)))
5054
5055 (define-public ghc-hex
5056 (package
5057 (name "ghc-hex")
5058 (version "0.2.0")
5059 (source
5060 (origin
5061 (method url-fetch)
5062 (uri (hackage-uri "hex" version))
5063 (sha256
5064 (base32
5065 "1mc66758254d93m7vab7q6lhn7qphzxd6wyc3v6yq1diy0gji4va"))))
5066 (build-system haskell-build-system)
5067 (properties '((upstream-name . "hex")))
5068 (home-page "https://hackage.haskell.org/package/hex")
5069 (synopsis "Convert strings into hexadecimal and back")
5070 (description "This package converts between bytestrings and their
5071 hexadecimal string representation.")
5072 (license license:bsd-3)))
5073
5074 (define-public ghc-highlighting-kate
5075 (package
5076 (name "ghc-highlighting-kate")
5077 (version "0.6.4")
5078 (source (origin
5079 (method url-fetch)
5080 (uri (hackage-uri "highlighting-kate" version))
5081 (sha256
5082 (base32
5083 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
5084 (build-system haskell-build-system)
5085 (properties '((upstream-name . "highlighting-kate")))
5086 (inputs
5087 (list ghc-diff ghc-regex-pcre-builtin))
5088 (native-inputs
5089 (list ghc-blaze-html ghc-utf8-string))
5090 (home-page "https://github.com/jgm/highlighting-kate")
5091 (synopsis "Syntax highlighting library")
5092 (description
5093 "Highlighting-kate is a syntax highlighting library with support for
5094 nearly one hundred languages. The syntax parsers are automatically generated
5095 from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5096 supported by Kate can be added. An (optional) command-line program is
5097 provided, along with a utility for generating new parsers from Kate XML syntax
5098 descriptions.")
5099 (license license:gpl2+)))
5100
5101 (define-public ghc-hindent
5102 (package
5103 (name "ghc-hindent")
5104 (version "5.3.4")
5105 (source (origin
5106 (method url-fetch)
5107 (uri (hackage-uri "hindent" version))
5108 (sha256
5109 (base32
5110 "1pc20iza3v0ljzbx6cycm1j1kbmz8h95xwfq47fd6zfmsrx9w6vn"))))
5111 (build-system haskell-build-system)
5112 (properties '((upstream-name . "hindent")))
5113 (inputs (list ghc-haskell-src-exts
5114 ghc-monad-loops
5115 ghc-utf8-string
5116 ghc-yaml
5117 ghc-unix-compat
5118 ghc-path
5119 ghc-path-io
5120 ghc-optparse-applicative))
5121 (native-inputs (list ghc-hspec ghc-diff))
5122 (home-page "https://github.com/mihaimaruseac/hindent")
5123 (synopsis "Extensible Haskell pretty printer")
5124 (description
5125 "This package provides automatic formatting for Haskell files. Both a
5126 library and an executable.")
5127 (license license:bsd-3)))
5128
5129 (define-public ghc-hinotify
5130 (package
5131 (name "ghc-hinotify")
5132 (version "0.4.1")
5133 (source (origin
5134 (method url-fetch)
5135 (uri (hackage-uri "hinotify" version))
5136 (sha256
5137 (base32
5138 "06pqfikfa61i45g92b65br83kplwmizqkm42yp8d0ddgmq0b21qk"))))
5139 (build-system haskell-build-system)
5140 (properties '((upstream-name . "hinotify")))
5141 (inputs
5142 (list ghc-async))
5143 (home-page "https://github.com/kolmodin/hinotify.git")
5144 (synopsis "Haskell binding to inotify")
5145 (description "This library provides a wrapper to the Linux kernel's inotify
5146 feature, allowing applications to subscribe to notifications when a file is
5147 accessed or modified.")
5148 (license license:bsd-3)))
5149
5150 (define-public ghc-hledger-lib
5151 (package
5152 (name "ghc-hledger-lib")
5153 (version "1.27.1")
5154 (source (origin
5155 (method url-fetch)
5156 (uri (hackage-uri "hledger-lib" version))
5157 (sha256
5158 (base32
5159 "0w2jnpyfc6pp3n5fzdjd78hdh9vv9w98xwd2j6dw98rm6hlapwhb"))))
5160 (build-system haskell-build-system)
5161 (properties '((upstream-name . "hledger-lib")))
5162 (inputs (list ghc-decimal
5163 ghc-glob
5164 ghc-aeson
5165 ghc-aeson-pretty
5166 ghc-ansi-terminal
5167 ghc-blaze-markup
5168 ghc-breakpoint
5169 ghc-call-stack
5170 ghc-cassava
5171 ghc-cassava-megaparsec
5172 ghc-cmdargs
5173 ghc-data-default
5174 ghc-doclayout
5175 ghc-extra
5176 ghc-file-embed
5177 ghc-hashtables
5178 ghc-megaparsec
5179 ghc-microlens
5180 ghc-microlens-th
5181 ghc-parser-combinators
5182 ghc-pretty-simple
5183 ghc-regex-tdfa
5184 ghc-safe
5185 ghc-tabular
5186 ghc-tasty
5187 ghc-tasty-hunit
5188 ghc-timeit
5189 ghc-uglymemo
5190 ghc-unordered-containers
5191 ghc-utf8-string))
5192 (native-inputs (list ghc-doctest))
5193 (home-page "http://hledger.org")
5194 (synopsis "Reusable library providing the core functionality of hledger")
5195 (description
5196 "A reusable library containing hledger's core functionality.
5197 This is used by most hledger* packages so that they support the same common
5198 file formats, command line options, reports etc.
5199
5200 hledger is a robust, cross-platform set of tools for tracking money, time, or
5201 any other commodity, using double-entry accounting and a simple, editable file
5202 format, with command-line, terminal and web interfaces. It is a Haskell
5203 rewrite of Ledger, and one of the leading implementations of Plain Text
5204 Accounting.")
5205 (license license:gpl3)))
5206
5207 (define-public ghc-hmatrix
5208 (package
5209 (name "ghc-hmatrix")
5210 (version "0.20.2")
5211 (source
5212 (origin
5213 (method url-fetch)
5214 (uri (hackage-uri "hmatrix" version))
5215 (sha256
5216 (base32 "05462prqkbqpxfbzsgsp8waf0sirg2qz6lzsk7r1ll752n7gqkbg"))))
5217 (build-system haskell-build-system)
5218 (properties '((upstream-name . "hmatrix")))
5219 (arguments
5220 `(#:extra-directories ("lapack")))
5221 (inputs
5222 (list ghc-random
5223 ghc-split
5224 ghc-storable-complex
5225 ghc-semigroups
5226 ghc-vector
5227 ;;("openblas" ,openblas)
5228 lapack))
5229 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
5230 ;; disables inclusion of the LAPACK functions.
5231 ;; (arguments `(#:configure-flags '("--flags=openblas")))
5232 (home-page "https://github.com/albertoruiz/hmatrix")
5233 (synopsis "Haskell numeric linear algebra library")
5234 (description "The HMatrix package provices a Haskell library for
5235 dealing with linear systems, matrix decompositions, and other
5236 numerical computations based on BLAS and LAPACK.")
5237 (license license:bsd-3)))
5238
5239 (define-public ghc-hmatrix-gsl
5240 (package
5241 (name "ghc-hmatrix-gsl")
5242 (version "0.19.0.1")
5243 (source
5244 (origin
5245 (method url-fetch)
5246 (uri (hackage-uri "hmatrix-gsl" version))
5247 (sha256
5248 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
5249 (build-system haskell-build-system)
5250 (properties '((upstream-name . "hmatrix-gsl")))
5251 (arguments
5252 `(#:extra-directories ("gsl")))
5253 (inputs
5254 (list ghc-hmatrix ghc-vector ghc-random gsl))
5255 (native-inputs (list pkg-config))
5256 (home-page "https://github.com/albertoruiz/hmatrix")
5257 (synopsis "Haskell GSL binding")
5258 (description "This Haskell library provides a purely functional
5259 interface to selected numerical computations, internally implemented
5260 using GSL.")
5261 (license license:gpl3+)))
5262
5263 (define-public ghc-hmatrix-gsl-stats
5264 (package
5265 (name "ghc-hmatrix-gsl-stats")
5266 (version "0.4.1.8")
5267 (source
5268 (origin
5269 (method url-fetch)
5270 (uri
5271 (hackage-uri "hmatrix-gsl-stats" version))
5272 (sha256
5273 (base32 "1cq049sj3q5r06x7i35hqrkf2jc4p4kfi9zv0jmi2vp7w4644i5q"))))
5274 (build-system haskell-build-system)
5275 (properties '((upstream-name . "hmatrix-gsl-stats")))
5276 (inputs
5277 (list ghc-vector ghc-storable-complex ghc-hmatrix gsl))
5278 (native-inputs (list pkg-config))
5279 (home-page "https://code.haskell.org/hmatrix-gsl-stats")
5280 (synopsis "GSL Statistics interface for Haskell")
5281 (description "This Haskell library provides a purely functional
5282 interface for statistics based on hmatrix and GSL.")
5283 (license license:bsd-3)))
5284
5285 (define-public ghc-hmatrix-special
5286 (package
5287 (name "ghc-hmatrix-special")
5288 (version "0.19.0.0")
5289 (source
5290 (origin
5291 (method url-fetch)
5292 (uri
5293 (hackage-uri "hmatrix-special" version))
5294 (sha256
5295 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
5296 (build-system haskell-build-system)
5297 (properties '((upstream-name . "hmatrix-special")))
5298 (inputs
5299 (list ghc-hmatrix ghc-hmatrix-gsl))
5300 (home-page "https://github.com/albertoruiz/hmatrix")
5301 (synopsis "Haskell interface to GSL special functions")
5302 (description "This library provides an interface to GSL special
5303 functions for Haskell.")
5304 (license license:gpl3+)))
5305
5306 (define-public ghc-hostname
5307 (package
5308 (name "ghc-hostname")
5309 (version "1.0")
5310 (source
5311 (origin
5312 (method url-fetch)
5313 (uri (hackage-uri "hostname" version))
5314 (sha256
5315 (base32
5316 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
5317 (build-system haskell-build-system)
5318 (properties '((upstream-name . "hostname")))
5319 (home-page "https://hackage.haskell.org/package/hostname")
5320 (synopsis "Hostname in Haskell")
5321 (description "Network.HostName is a simple package providing a means to
5322 determine the hostname.")
5323 (license license:bsd-3)))
5324
5325 (define-public ghc-hourglass
5326 (package
5327 (name "ghc-hourglass")
5328 (version "0.2.12")
5329 (source (origin
5330 (method url-fetch)
5331 (uri (hackage-uri "hourglass" version))
5332 (sha256
5333 (base32
5334 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
5335 (build-system haskell-build-system)
5336 (properties '((upstream-name . "hourglass")))
5337 (arguments (list #:tests? #f)) ; Tests incompatible with newer versions.
5338 (inputs
5339 (list ghc-old-locale))
5340 ;(native-inputs
5341 ; (list ghc-tasty ghc-tasty-quickcheck ghc-tasty-hunit))
5342 (home-page "https://github.com/vincenthz/hs-hourglass")
5343 (synopsis "Simple time-related library for Haskell")
5344 (description
5345 "This is a simple time library providing a simple but powerful and
5346 performant API. The backbone of the library are the @code{Timeable} and
5347 @code{Time} type classes. Each @code{Timeable} instances can be converted to
5348 a type that has a @code{Time} instances, and thus are different
5349 representations of current time.")
5350 (license license:bsd-3)))
5351
5352 (define-public ghc-hpack
5353 (package
5354 (name "ghc-hpack")
5355 (version "0.35.1")
5356 (source (origin
5357 (method url-fetch)
5358 (uri (hackage-uri "hpack" version))
5359 (sha256
5360 (base32
5361 "1hpc6bwx94v943p73l12nnncbs656f2fn7q3hb4qs13xrxygzl4g"))))
5362 (build-system haskell-build-system)
5363 (properties '((upstream-name . "hpack")))
5364 (inputs (list ghc-glob
5365 ghc-aeson
5366 ghc-bifunctors
5367 ghc-cryptonite
5368 ghc-http-client
5369 ghc-http-client-tls
5370 ghc-http-types
5371 ghc-infer-license
5372 ghc-scientific
5373 ghc-unordered-containers
5374 ghc-vector
5375 ghc-yaml))
5376 (native-inputs (list ghc-hunit
5377 ghc-quickcheck
5378 ghc-hspec
5379 ghc-interpolate
5380 ghc-mockery
5381 ghc-temporary
5382 hspec-discover))
5383 (home-page "https://github.com/sol/hpack#readme")
5384 (synopsis "Tools for an alternative Haskell package format")
5385 (description
5386 "Hpack is a format for Haskell packages. It is an alternative to the
5387 Cabal package format and follows different design principles. Hpack packages
5388 are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
5389 @code{stack} support @code{package.yaml} natively. For other build tools the
5390 @code{hpack} executable can be used to generate a @code{.cabal} file from
5391 @code{package.yaml}.")
5392 (license license:expat)))
5393
5394 (define-public ghc-hspec-megaparsec
5395 (package
5396 (name "ghc-hspec-megaparsec")
5397 (version "2.2.0")
5398 (source
5399 (origin
5400 (method url-fetch)
5401 (uri (hackage-uri "hspec-megaparsec" version))
5402 (sha256
5403 (base32
5404 "0hyf06gzzqd6sqd76crwxycwgx804sd39z7i0c2vmv1qgsxv82gn"))))
5405 (build-system haskell-build-system)
5406 (properties '((upstream-name . "hspec-megaparsec")))
5407 (inputs
5408 (list ghc-hspec-expectations ghc-megaparsec))
5409 (native-inputs
5410 (list ghc-hspec))
5411 (home-page "https://github.com/mrkkrp/hspec-megaparsec")
5412 (synopsis "Utility functions for testing Megaparsec parsers with Hspec")
5413 (description
5414 "Provides a small set of helper functions for testing Megaparsec parsers
5415 with Hspec.")
5416 (license license:bsd-3)))
5417
5418 (define-public ghc-hs-bibutils
5419 (package
5420 (name "ghc-hs-bibutils")
5421 (version "6.10.0.0")
5422 (source
5423 (origin
5424 (method url-fetch)
5425 (uri (hackage-uri "hs-bibutils" version))
5426 (sha256
5427 (base32
5428 "1wnpy1v5rbii2iwlcc9psnww8pkirv9zl21s64cmbi6q7dv15g3n"))))
5429 (build-system haskell-build-system)
5430 (properties '((upstream-name . "hs-bibutils")))
5431 (inputs (list ghc-syb))
5432 (home-page "https://hackage.haskell.org/package/hs-bibutils")
5433 (synopsis "Haskell bindings to bibutils")
5434 (description
5435 "This package provides Haskell bindings to @code{bibutils}, a library
5436 that interconverts between various bibliography formats using a common
5437 MODS-format XML intermediate.")
5438 (license license:gpl2+)))
5439
5440 (define-public ghc-hslogger
5441 (package
5442 (name "ghc-hslogger")
5443 (version "1.3.1.0")
5444 (source
5445 (origin
5446 (method url-fetch)
5447 (uri (hackage-uri "hslogger" version))
5448 (sha256 (base32
5449 "0nyar9xcblx5jwks85y8f4jfy9k1h4ss6rvj4mdbiidrq3v688vz"))))
5450 (build-system haskell-build-system)
5451 (properties '((upstream-name . "hslogger")))
5452 (arguments
5453 `(#:cabal-revision ("6"
5454 "0xiqjl646kxynsccc2q1q91sch7pfx3274yl2745fsqhpb115df1")))
5455 (inputs
5456 (list ghc-network ghc-old-locale))
5457 (native-inputs
5458 (list ghc-hunit ghc-network-bsd))
5459 (home-page "https://software.complete.org/hslogger")
5460 (synopsis "Logging framework for Haskell, similar to Python's logging module")
5461 (description "Hslogger lets each log message have a priority and source be
5462 associated with it. The programmer can then define global handlers that route
5463 or filter messages based on the priority and source. It also has a syslog
5464 handler built in.")
5465 (license license:bsd-3)))
5466
5467 (define-public ghc-hslua
5468 (package
5469 (name "ghc-hslua")
5470 (version "2.2.1")
5471 (source (origin
5472 (method url-fetch)
5473 (uri (hackage-uri "hslua" version))
5474 (sha256
5475 (base32
5476 "1q587cjwb29jsf71hhmra6djr2sycbx2hr0rhwlgvb8ax699vkv3"))))
5477 (build-system haskell-build-system)
5478 (properties '((upstream-name . "hslua")))
5479 (inputs (list ghc-hslua-aeson
5480 ghc-hslua-core
5481 ghc-hslua-classes
5482 ghc-hslua-marshalling
5483 ghc-hslua-objectorientation
5484 ghc-hslua-packaging))
5485 (native-inputs (list ghc-lua
5486 ghc-lua-arbitrary
5487 ghc-quickcheck
5488 ghc-quickcheck-instances
5489 ghc-tasty-hslua
5490 ghc-tasty
5491 ghc-tasty-hunit))
5492 (home-page "https://hslua.org/")
5493 (synopsis "Lua language interpreter embedding in Haskell")
5494 (description
5495 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
5496 described in @url{https://www.lua.org/}.")
5497 (license license:expat)))
5498
5499 (define-public ghc-hslua-module-system
5500 (package
5501 (name "ghc-hslua-module-system")
5502 (version "1.0.2")
5503 (source (origin
5504 (method url-fetch)
5505 (uri (hackage-uri "hslua-module-system" version))
5506 (sha256
5507 (base32
5508 "0lacf9jzd53r75dk5nvkx0nwgiakpkingjnz58bhjfnvi81r6ddn"))))
5509 (build-system haskell-build-system)
5510 (properties '((upstream-name . "hslua-module-system")))
5511 (inputs (list ghc-hslua-core ghc-hslua-packaging ghc-hslua-marshalling
5512 ghc-temporary))
5513 (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-tasty-lua))
5514 (home-page "https://github.com/hslua/hslua")
5515 (synopsis "Lua module wrapper around Haskell's System module")
5516 (description
5517 "This library provides access to system information and
5518 functionality to Lua scripts via Haskell's @code{System} module. Intended
5519 usage for this package is to preload it by adding the loader function to
5520 @code{package.preload}. Note that the Lua @code{package} library must have
5521 already been loaded before the loader can be added.")
5522 (license license:expat)))
5523
5524 (define-public ghc-hslua-module-text
5525 (package
5526 (name "ghc-hslua-module-text")
5527 (version "1.0.2")
5528 (source (origin
5529 (method url-fetch)
5530 (uri (hackage-uri "hslua-module-text" version))
5531 (sha256
5532 (base32
5533 "0xq5ndgjhs37d73s8lvm0pndwjpj2pqb67pr0ckjap8yzhjna7fq"))))
5534 (build-system haskell-build-system)
5535 (properties '((upstream-name . "hslua-module-text")))
5536 (inputs (list ghc-hslua-core ghc-hslua-packaging ghc-hslua-marshalling))
5537 (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-tasty-lua))
5538 (home-page "https://github.com/hslua/hslua")
5539 (synopsis "Lua module for text")
5540 (description
5541 "This package provides a UTF-8 aware subset of Lua's @code{string} module
5542 for Haskell. The functions provided by this module are @code{upper},
5543 @code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
5544 (license license:expat)))
5545
5546 (define-public ghc-hsyaml
5547 (package
5548 (name "ghc-hsyaml")
5549 (version "0.2.1.1")
5550 (source (origin
5551 (method url-fetch)
5552 (uri (hackage-uri "HsYAML" version))
5553 (sha256
5554 (base32
5555 "0a7nbvpl4p8kwbbjfn1dj6s3fif5k8zhbckdvyz1k74pj3yb8ns6"))))
5556 (build-system haskell-build-system)
5557 (properties '((upstream-name . "HsYAML")))
5558 (native-inputs (list ghc-quickcheck ghc-tasty ghc-tasty-quickcheck))
5559 (arguments
5560 `(#:cabal-revision ("1"
5561 "0jmbgrjywcblrd8k6zzv2b5givdz83f479y15v5gs0r93z25xpmv")))
5562 (home-page "https://github.com/haskell-hvr/HsYAML")
5563 (synopsis "Pure Haskell YAML 1.2 parser")
5564 (description
5565 "This library provides a
5566 @url{http://yaml.org/spec/1.2/spec.html, YAML 1.2} parser implementation
5567 for Haskell. Its features include:
5568
5569 @itemize
5570 @item Pure Haskell implementation with small dependency footprint and
5571 emphasis on strict compliance with the YAML 1.2 specification.
5572
5573 @item Direct decoding to native Haskell types via (aeson-inspired)
5574 typeclass-based API (see @code{Data.YAML}).
5575
5576 @item Support for constructing custom YAML node graph
5577 representation (including support for cyclic YAML data structures).
5578
5579 @item Support for the standard (untyped) @emph{Failsafe}, (strict)
5580 @emph{JSON}, and (flexible) @emph{Core} ``schemas'' providing implicit
5581 typing rules as defined in the YAML 1.2 specification (including support
5582 for user-defined custom schemas).
5583
5584 @item Event-based API resembling LibYAML's Event-based API (see
5585 @code{Data.YAML.Event}).
5586
5587 @item Low-level API access to lexical token-based scanner (see
5588 @code{Data.YAML.Token}).
5589 @end itemize")
5590 (license license:gpl2+)))
5591
5592 (define-public ghc-http-api-data
5593 (package
5594 (name "ghc-http-api-data")
5595 (version "0.4.3")
5596 (source (origin
5597 (method url-fetch)
5598 (uri (hackage-uri "http-api-data" version))
5599 (sha256
5600 (base32
5601 "171bw2a44pg50d3y77gw2y9vmx72laky7hnn5hw6r93pnjmlf9yz"))))
5602 (build-system haskell-build-system)
5603 (properties '((upstream-name . "http-api-data")))
5604 (inputs (list ghc-attoparsec
5605 ghc-attoparsec-iso8601
5606 ghc-base-compat
5607 ghc-cookie
5608 ghc-hashable
5609 ghc-http-types
5610 ghc-tagged
5611 ghc-time-compat
5612 ghc-unordered-containers
5613 ghc-uuid-types))
5614 (native-inputs (list ghc-hunit ghc-hspec ghc-quickcheck
5615 ghc-quickcheck-instances hspec-discover))
5616 (arguments
5617 `(#:cabal-revision ("6"
5618 "0q4rhz81r5v0z1mn7x9q0ldbfv1a2cp3dpw8s2j96halsq34l4zl")))
5619 (home-page "http://github.com/fizruk/http-api-data")
5620 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
5621 query parameters")
5622 (description "This Haskell package defines typeclasses used for converting
5623 Haskell data types to and from HTTP API data.")
5624 (license license:bsd-3)))
5625
5626 (define-public ghc-ieee754
5627 (package
5628 (name "ghc-ieee754")
5629 (version "0.8.0")
5630 (source (origin
5631 (method url-fetch)
5632 (uri (hackage-uri "ieee754" version))
5633 (sha256
5634 (base32
5635 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
5636 (build-system haskell-build-system)
5637 (properties '((upstream-name . "ieee754")))
5638 (home-page "https://github.com/patperry/hs-ieee754")
5639 (synopsis "Utilities for dealing with IEEE floating point numbers")
5640 (description "Utilities for dealing with IEEE floating point numbers,
5641 ported from the Tango math library; approximate and exact equality comparisons
5642 for general types.")
5643 (license license:bsd-3)))
5644
5645 (define-public ghc-ifelse
5646 (package
5647 (name "ghc-ifelse")
5648 (version "0.85")
5649 (source
5650 (origin
5651 (method url-fetch)
5652 (uri (hackage-uri "IfElse" version))
5653 (sha256
5654 (base32
5655 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
5656 (build-system haskell-build-system)
5657 (properties '((upstream-name . "IfElse")))
5658 (home-page "https://hackage.haskell.org/package/IfElse")
5659 (synopsis "Monadic control flow with anaphoric variants")
5660 (description "This library provides functions for control flow inside of
5661 monads with anaphoric variants on @code{if} and @code{when} and a C-like
5662 @code{switch} function.")
5663 (license license:bsd-3)))
5664
5665 (define-public ghc-indents
5666 (package
5667 (name "ghc-indents")
5668 (version "0.5.0.1")
5669 (source (origin
5670 (method url-fetch)
5671 (uri (hackage-uri "indents" version))
5672 (sha256
5673 (base32
5674 "0dpcwiz0dwn5aqdsc50plfaawh86adhf7jx5dsmhn5q5nz32qn51"))))
5675 (build-system haskell-build-system)
5676 (properties '((upstream-name . "indents")))
5677 ;; This package needs an older version of tasty.
5678 (arguments '(#:tests? #f))
5679 (inputs
5680 (list ghc-concatenative))
5681 (native-inputs
5682 (list ghc-tasty ghc-tasty-hunit))
5683 (home-page "https://github.com/jaspervdj/indents")
5684 (synopsis "Indentation sensitive parser-combinators for parsec")
5685 (description
5686 "This library provides functions for use in parsing indentation sensitive
5687 contexts. It parses blocks of lines all indented to the same level as well as
5688 lines continued at an indented level below.")
5689 (license license:bsd-3)))
5690
5691 (define-public ghc-infer-license
5692 (package
5693 (name "ghc-infer-license")
5694 (version "0.2.0")
5695 (source
5696 (origin
5697 (method url-fetch)
5698 (uri (hackage-uri "infer-license" version))
5699 (sha256
5700 (base32
5701 "0wlfm6bf55kfvm74xar9lmjg5v1103rs9m3grw1rq5bmcmhzxrhj"))))
5702 (build-system haskell-build-system)
5703 (properties '((upstream-name . "infer-license")))
5704 (inputs
5705 (list ghc-text-metrics))
5706 (native-inputs
5707 (list ghc-hspec hspec-discover))
5708 (home-page "https://hackage.haskell.org/package/infer-license")
5709 (synopsis "Infer software license from a given license file")
5710 (description "This library provides tools to infer a software
5711 license from a given license file.")
5712 (license license:expat)))
5713
5714 (define-public ghc-ini
5715 (package
5716 (name "ghc-ini")
5717 (version "0.4.2")
5718 (source (origin
5719 (method url-fetch)
5720 (uri (hackage-uri "ini" version))
5721 (sha256
5722 (base32
5723 "0dp9c48vli8z6058yajnqg9hyf9swglk8ga4wcwl03aal7n8r7gp"))))
5724 (build-system haskell-build-system)
5725 (properties '((upstream-name . "ini")))
5726 (inputs (list ghc-attoparsec ghc-unordered-containers))
5727 (native-inputs (list ghc-hspec))
5728 (home-page "https://github.com/andreasabel/ini")
5729 (synopsis
5730 "Haskell library to easily handle configuration files in the INI format")
5731 (description
5732 "The @code{ghc-ini} Haskell library lets programmers quickly and easily
5733 read and write configuration files in the simple INI format.")
5734 (license license:bsd-3)))
5735
5736 (define-public ghc-inline-c
5737 (package
5738 (name "ghc-inline-c")
5739 (version "0.9.1.6")
5740 (source (origin
5741 (method url-fetch)
5742 (uri (hackage-uri "inline-c" version))
5743 (sha256
5744 (base32
5745 "06az494fp2nh6fnibq28yw8jsrpj4jq1swyx53a328qv04cbhrym"))))
5746 (build-system haskell-build-system)
5747 (properties '((upstream-name . "inline-c")))
5748 (inputs (list ghc-ansi-wl-pprint ghc-hashable ghc-parsers
5749 ghc-unordered-containers ghc-vector))
5750 (native-inputs (list ghc-quickcheck
5751 ghc-hspec
5752 ghc-quickcheck
5753 ghc-raw-strings-qq
5754 ghc-regex-posix
5755 ghc-split))
5756 (home-page "http://hackage.haskell.org/package/inline-c")
5757 (synopsis "Write Haskell source files including C code inline")
5758 (description
5759 "inline-c lets you seamlessly call C libraries and embed high-performance
5760 inline C code in Haskell modules. Haskell and C can be freely intermixed in
5761 the same source file, and data passed to and from code in either language with
5762 minimal overhead. No FFI required.")
5763 (license license:expat)))
5764
5765 (define-public ghc-inline-c-cpp
5766 (package
5767 (name "ghc-inline-c-cpp")
5768 (version "0.5.0.0")
5769 (source (origin
5770 (method url-fetch)
5771 (uri (hackage-uri "inline-c-cpp" version))
5772 (sha256
5773 (base32
5774 "0m14nb9brpnh2cgq8gg6182mdcmn45hf734la68dnhq23sn63lpx"))))
5775 (build-system haskell-build-system)
5776 (properties '((upstream-name . "inline-c-cpp")))
5777 (inputs (list ghc-inline-c ghc-safe-exceptions))
5778 (native-inputs (list ghc-hspec ghc-vector))
5779 (home-page "http://hackage.haskell.org/package/inline-c-cpp")
5780 (synopsis "Lets you embed C++ code into Haskell")
5781 (description
5782 "This package provides utilities to inline C++ code into Haskell using
5783 @code{inline-c}.")
5784 (license license:expat)))
5785
5786 (define-public ghc-integer-logarithms
5787 (package
5788 (name "ghc-integer-logarithms")
5789 (version "1.0.3.1")
5790 (source
5791 (origin
5792 (method url-fetch)
5793 (uri (hackage-uri "integer-logarithms" version))
5794 (sha256
5795 (base32
5796 "0zzapclfabc76g8jzsbsqwdllx2zn0gp4raq076ib6v0mfgry2lv"))))
5797 (build-system haskell-build-system)
5798 (properties '((upstream-name . "integer-logarithms")))
5799 (native-inputs
5800 (list ghc-quickcheck
5801 ghc-smallcheck
5802 ghc-tasty
5803 ghc-tasty-hunit
5804 ghc-tasty-quickcheck
5805 ghc-tasty-smallcheck))
5806 (arguments
5807 `(#:cabal-revision ("3"
5808 "0z81yksgx20d0rva41blsjcp3jsp1qy9sy385fpig0l074fzv6ym")
5809 #:phases
5810 (modify-phases %standard-phases
5811 ;; Needs tasty<1.4
5812 (add-before 'configure 'update-constraints
5813 (lambda _
5814 (substitute* "integer-logarithms.cabal"
5815 (("(tasty)\\s+[^,]+" all dep)
5816 dep)))))))
5817 (home-page "https://github.com/Bodigrim/integer-logarithms")
5818 (synopsis "Integer logarithms")
5819 (description
5820 "This package provides the following modules:
5821 @code{Math.NumberTheory.Logarithms} and
5822 @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
5823 @code{GHC.Integer.Logarithms.Compat} and
5824 @code{Math.NumberTheory.Power.Natural}, as well as some additional functions
5825 in migrated modules.")
5826 (license license:expat)))
5827
5828 (define-public ghc-integer-logarithms-bootstrap
5829 (package
5830 (inherit ghc-integer-logarithms)
5831 (name "ghc-integer-logarithms-bootstrap")
5832 (arguments `(#:tests? #f))
5833 (native-inputs '())
5834 (properties '((hidden? #t)))))
5835
5836 (define-public ghc-interpolate
5837 (package
5838 (name "ghc-interpolate")
5839 (version "0.2.1")
5840 (source
5841 (origin
5842 (method url-fetch)
5843 (uri (hackage-uri "interpolate" version))
5844 (sha256
5845 (base32
5846 "03jrkj9c62w0c2awym8mhpsgpd0jffl50cqwfrm7bbdfhd8dsxi7"))))
5847 (build-system haskell-build-system)
5848 (properties '((upstream-name . "interpolate")))
5849 (inputs
5850 (list ghc-haskell-src-meta))
5851 (native-inputs
5852 (list ghc-base-compat ghc-hspec ghc-quickcheck
5853 ghc-quickcheck-instances hspec-discover))
5854 (home-page "https://github.com/sol/interpolate")
5855 (synopsis "String interpolation library")
5856 (description "This package provides a string interpolation library for
5857 Haskell.")
5858 (license license:expat)))
5859
5860 (define-public ghc-intervalmap
5861 (package
5862 (name "ghc-intervalmap")
5863 (version "0.6.1.2")
5864 (source
5865 (origin
5866 (method url-fetch)
5867 (uri (hackage-uri "IntervalMap" version))
5868 (sha256
5869 (base32
5870 "03smzhwk1zf5na544b0azp49j4gvafqsih9ggwf6yng38yhixwld"))))
5871 (build-system haskell-build-system)
5872 (properties '((upstream-name . "IntervalMap")))
5873 (native-inputs
5874 (list ghc-quickcheck))
5875 (home-page "https://www.chr-breitkopf.de/comp/IntervalMap")
5876 (synopsis "Containers for intervals, with efficient search")
5877 (description
5878 "This package provides ordered containers of intervals, with efficient
5879 search for all keys containing a point or overlapping an interval. See the
5880 example code on the home page for a quick introduction.")
5881 (license license:bsd-3)))
5882
5883 (define-public ghc-intervals
5884 (package
5885 (name "ghc-intervals")
5886 (version "0.9.2")
5887 (source
5888 (origin
5889 (method url-fetch)
5890 (uri (hackage-uri "intervals" version))
5891 (sha256
5892 (base32
5893 "1qibvgys8lw61x9na3iy3dcglyj9qyhcbfc00glnagl7cbk1shlv"))))
5894 (build-system haskell-build-system)
5895 (properties '((upstream-name . "intervals")))
5896 (inputs
5897 (list ghc-distributive))
5898 (native-inputs
5899 (list ghc-quickcheck))
5900 (home-page "https://github.com/ekmett/intervals")
5901 (synopsis "Interval arithmetic")
5902 (description "This library provides @code{Numeric.Interval.Interval},
5903 which represets a closed, convex set of floating point values.")
5904 (license license:bsd-3)))
5905
5906 (define-public ghc-invariant
5907 (package
5908 (name "ghc-invariant")
5909 (version "0.6")
5910 (source (origin
5911 (method url-fetch)
5912 (uri (hackage-uri "invariant" version))
5913 (sha256
5914 (base32
5915 "07ffgcfpacsdihcmcmx2m1gp8czlg28657bxncxjykjiiiwjlaxm"))))
5916 (build-system haskell-build-system)
5917 (properties '((upstream-name . "invariant")))
5918 (inputs (list ghc-bifunctors
5919 ghc-comonad
5920 ghc-contravariant
5921 ghc-profunctors
5922 ghc-statevar
5923 ghc-tagged
5924 ghc-th-abstraction
5925 ghc-transformers-compat
5926 ghc-unordered-containers))
5927 (native-inputs (list ghc-hspec ghc-quickcheck hspec-discover))
5928 (arguments
5929 `(#:cabal-revision ("1"
5930 "0551ll1swnrmq09j89jqnxl4qnirbbpdpsdym23adaf36qdd7v37")))
5931 (home-page "https://github.com/nfrisby/invariant-functors")
5932 (synopsis "Haskell98 invariant functors")
5933 (description
5934 "Haskell98 invariant functors (also known as exponential
5935 functors). For more information, see Edward Kmett's article
5936 @uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.")
5937 (license license:bsd-2)))
5938
5939 (define-public ghc-io-streams
5940 (package
5941 (name "ghc-io-streams")
5942 (version "1.5.2.2")
5943 (source (origin
5944 (method url-fetch)
5945 (uri (hackage-uri "io-streams" version))
5946 (sha256
5947 (base32
5948 "1zn4iyd18g9jc1qdgixp6hi56nj7czy4jdz2xca59hcn2q2xarfk"))))
5949 (build-system haskell-build-system)
5950 (properties '((upstream-name . "io-streams")))
5951 (inputs (list ghc-attoparsec ghc-primitive ghc-vector ghc-zlib-bindings
5952 ghc-network))
5953 (native-inputs (list ghc-zlib
5954 ghc-hunit
5955 ghc-quickcheck
5956 ghc-test-framework
5957 ghc-test-framework-hunit
5958 ghc-test-framework-quickcheck2))
5959 (home-page "http://hackage.haskell.org/package/io-streams")
5960 (synopsis "Simple and composable stream I/O")
5961 (description "This library contains simple and easy-to-use
5962 primitives for I/O using streams.")
5963 (license license:bsd-3)))
5964
5965 (define-public ghc-io-streams-haproxy
5966 (package
5967 (name "ghc-io-streams-haproxy")
5968 (version "1.0.1.0")
5969 (source
5970 (origin
5971 (method url-fetch)
5972 (uri (hackage-uri "io-streams-haproxy" version))
5973 (sha256
5974 (base32
5975 "1dcn5hd4fiwyq7m01r6fi93vfvygca5s6mz87c78m0zyj29clkmp"))))
5976 (build-system haskell-build-system)
5977 (properties '((upstream-name . "io-streams-haproxy")))
5978 (arguments
5979 `(#:cabal-revision ("6"
5980 "024aw98q1x3fb1xq07qki3z446w6lk5gyjl13shy0dbrd5aafh92")))
5981 (inputs
5982 (list ghc-attoparsec ghc-io-streams ghc-network))
5983 (native-inputs
5984 (list ghc-hunit ghc-test-framework ghc-test-framework-hunit))
5985 (home-page "http://snapframework.com/")
5986 (synopsis "HAProxy protocol 1.5 support for io-streams")
5987 (description "HAProxy protocol version 1.5 support
5988 (see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt})
5989 for applications using io-streams. The proxy protocol allows information
5990 about a networked peer (like remote address and port) to be propagated
5991 through a forwarding proxy that is configured to speak this protocol.")
5992 (license license:bsd-3)))
5993
5994 (define-public ghc-iproute
5995 (package
5996 (name "ghc-iproute")
5997 (version "1.7.12")
5998 (source (origin
5999 (method url-fetch)
6000 (uri (hackage-uri "iproute" version))
6001 (sha256
6002 (base32
6003 "0qvb4d7nw8f6j4s09cnpn6z1rdwcwknwklfrhsgivg7wg4aisxgi"))))
6004 (build-system haskell-build-system)
6005 (properties '((upstream-name . "iproute")))
6006 (inputs (list ghc-appar ghc-byteorder ghc-network ghc-semigroups))
6007 (native-inputs (list ghc-doctest ghc-hspec ghc-quickcheck ghc-safe
6008 hspec-discover))
6009 (home-page "http://www.mew.org/~kazu/proj/iproute/")
6010 (synopsis "IP routing table")
6011 (description
6012 "IP Routing Table is a tree of IP ranges to search one of
6013 them on the longest match base. It is a kind of TRIE with one way branching
6014 removed. Both IPv4 and IPv6 are supported.")
6015 (license license:bsd-3)))
6016
6017 (define-public ghc-ipynb
6018 (package
6019 (name "ghc-ipynb")
6020 (version "0.2")
6021 (source (origin
6022 (method url-fetch)
6023 (uri (hackage-uri "ipynb" version))
6024 (sha256
6025 (base32
6026 "1iwia4sxg40m4d290gys72wabqmkqx24ywsaranwzk2wx5s3sx4s"))))
6027 (build-system haskell-build-system)
6028 (properties '((upstream-name . "ipynb")))
6029 (inputs (list ghc-unordered-containers ghc-base64-bytestring ghc-aeson
6030 ghc-semigroups))
6031 (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-microlens-aeson
6032 ghc-microlens))
6033 (arguments
6034 `(#:cabal-revision ("1"
6035 "0fl9x5amq0g5dg57dcgc0g4ir0r1fdbx06aldsqdwzdc9zs97v6k")))
6036 (home-page "http://hackage.haskell.org/package/ipynb")
6037 (synopsis "Data structure for working with Jupyter notebooks")
6038 (description
6039 "This library defines a data structure for representing
6040 Jupyter notebooks, along with @code{ToJSON} and @code{FromJSON}
6041 instances for conversion to and from JSON .ipynb files.")
6042 (license license:bsd-3)))
6043
6044 (define-public ghc-iwlib
6045 (package
6046 (name "ghc-iwlib")
6047 (version "0.1.0")
6048 (source
6049 (origin
6050 (method url-fetch)
6051 (uri (hackage-uri "iwlib" version))
6052 (sha256
6053 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
6054 (build-system haskell-build-system)
6055 (properties '((upstream-name . "iwlib")))
6056 (arguments
6057 `(#:extra-directories ("wireless-tools")))
6058 (inputs
6059 (list wireless-tools))
6060 (home-page "https://github.com/jaor/iwlib")
6061 (synopsis "Haskell binding to the iw wireless networking library")
6062 (description
6063 "IWlib is a thin Haskell binding to the iw C library. It provides
6064 information about the current wireless network connections, and adapters on
6065 supported systems.")
6066 (license license:bsd-3)))
6067
6068 (define-public ghc-json
6069 (package
6070 (name "ghc-json")
6071 (version "0.10")
6072 (source
6073 (origin
6074 (method url-fetch)
6075 (uri (hackage-uri "json" version))
6076 (sha256
6077 (base32
6078 "1fjnd2r4gl2hfqx158db3cn3rsyin4ch7rf9scb2hcy90cy6l10c"))))
6079 (build-system haskell-build-system)
6080 (properties '((upstream-name . "json")))
6081 (arguments
6082 `(#:cabal-revision
6083 ("1" "16fp0y95gaibjravzj1hxdkng1cr8zqjqzd14m48kf4jrq3npz6r")))
6084 (inputs
6085 (list ghc-syb))
6086 (home-page "https://hackage.haskell.org/package/json")
6087 (synopsis "Serializes Haskell data to and from JSON")
6088 (description "This package provides a parser and pretty printer for
6089 converting between Haskell values and JSON. @acronym{JavaScript Object
6090 Notation, JSON} is a lightweight data-interchange format.")
6091 (license license:bsd-3)))
6092
6093 (define-public ghc-juicypixels
6094 (package
6095 (name "ghc-juicypixels")
6096 (version "3.3.7")
6097 (source (origin
6098 (method url-fetch)
6099 (uri (hackage-uri "JuicyPixels" version))
6100 (sha256
6101 (base32
6102 "1rrvapzcj0q8sigxq1zq2k4h88i1r2hyca4p7pkqa1b4pk6vhdny"))))
6103 (build-system haskell-build-system)
6104 (properties '((upstream-name . "JuicyPixels")))
6105 (inputs (list ghc-zlib ghc-vector ghc-primitive))
6106 (home-page "https://github.com/Twinside/Juicy.Pixels")
6107 (synopsis "Picture loading and serialization library")
6108 (description
6109 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
6110 TIFF and GIF formats.")
6111 (license license:bsd-3)))
6112
6113 (define-public ghc-kan-extensions
6114 (package
6115 (name "ghc-kan-extensions")
6116 (version "5.2.5")
6117 (source (origin
6118 (method url-fetch)
6119 (uri (hackage-uri "kan-extensions" version))
6120 (sha256
6121 (base32
6122 "08mddsk9v75mahp1jqn28vglygmdil1g37drcj3ivbqc0k6dq55r"))))
6123 (build-system haskell-build-system)
6124 (properties '((upstream-name . "kan-extensions")))
6125 (inputs (list ghc-adjunctions
6126 ghc-comonad
6127 ghc-contravariant
6128 ghc-distributive
6129 ghc-invariant
6130 ghc-free
6131 ghc-profunctors
6132 ghc-semigroupoids
6133 ghc-tagged
6134 ghc-transformers-compat))
6135 (home-page "http://github.com/ekmett/kan-extensions/")
6136 (synopsis "Kan extensions library")
6137 (description
6138 "This library provides Kan extensions, Kan lifts, various
6139 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
6140 (license license:bsd-3)))
6141
6142 (define-public ghc-language-c
6143 (package
6144 (name "ghc-language-c")
6145 (version "0.8.3")
6146 (source
6147 (origin
6148 (method url-fetch)
6149 (uri (hackage-uri "language-c" version))
6150 (sha256
6151 (base32
6152 "0bi02jdirkys8v7flf39vrpla2a74z1z0sdhy9lb9v7cmcc6rmpk"))))
6153 (build-system haskell-build-system)
6154 (properties '((upstream-name . "language-c")))
6155 (inputs (list ghc-syb))
6156 (native-inputs
6157 (list ghc-happy ghc-alex))
6158 (home-page "https://visq.github.io/language-c/")
6159 (synopsis "Analysis and generation of C code")
6160 (description
6161 "Language C is a Haskell library for the analysis and generation of C code.
6162 It features a complete, well-tested parser and pretty printer for all of C99
6163 and a large set of GNU extensions.")
6164 (license license:bsd-3)))
6165
6166 (define-public ghc-language-glsl
6167 (package
6168 (name "ghc-language-glsl")
6169 (version "0.3.0")
6170 (source
6171 (origin
6172 (method url-fetch)
6173 (uri (hackage-uri "language-glsl" version))
6174 (sha256
6175 (base32
6176 "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1"))))
6177 (build-system haskell-build-system)
6178 (properties '((upstream-name . "language-glsl")))
6179 (inputs (list ghc-prettyclass))
6180 (arguments
6181 `(#:tests? #f
6182 #:cabal-revision
6183 ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5")))
6184 (home-page "https://hackage.haskell.org/package/language-glsl")
6185 (synopsis "GLSL abstract syntax tree, parser, and pretty-printer")
6186 (description "This package is a Haskell library for the
6187 representation, parsing, and pretty-printing of GLSL 1.50 code.")
6188 (license license:bsd-3)))
6189
6190 (define-public ghc-language-haskell-extract
6191 (package
6192 (name "ghc-language-haskell-extract")
6193 (version "0.2.4")
6194 (source
6195 (origin
6196 (method url-fetch)
6197 (uri (hackage-uri "language-haskell-extract" version))
6198 (patches (search-patches "ghc-language-haskell-extract-ghc-8.10.patch"))
6199 (sha256
6200 (base32
6201 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
6202 (build-system haskell-build-system)
6203 (properties '((upstream-name . "language-haskell-extract")))
6204 (arguments
6205 `(#:cabal-revision
6206 ("1" "1chx4g8ngb1hpyh3r9rbl8rkjkm67klms4wmw3p1g2llg47vvqip")
6207 #:phases
6208 (modify-phases %standard-phases
6209 (add-before 'configure 'update-constraints
6210 (lambda _
6211 (substitute* "language-haskell-extract.cabal"
6212 (("(template-haskell)\\s+[^,]+" all dep)
6213 dep)))))))
6214 (inputs
6215 (list ghc-regex-posix ghc-template-haskell))
6216 (home-page "https://github.com/finnsson/template-helper")
6217 (synopsis "Haskell module to automatically extract functions from
6218 the local code")
6219 (description "This package contains helper functions on top of
6220 Template Haskell.
6221
6222 For example, @code{functionExtractor} extracts all functions after a
6223 regexp-pattern, which can be useful if you wish to extract all functions
6224 beginning with @code{test} (for a test framework) or all functions beginning
6225 with @code{wc} (for a web service).")
6226 (license license:bsd-3)))
6227
6228 (define-public ghc-lens
6229 (package
6230 (name "ghc-lens")
6231 (version "5.1.1")
6232 (source (origin
6233 (method url-fetch)
6234 (uri (hackage-uri "lens" version))
6235 (sha256
6236 (base32
6237 "08mkm2mjvhmwg9hc4kd4cd6dgmcszs1p2mzp1nmri7lqbpy9jknc"))))
6238 (build-system haskell-build-system)
6239 (properties '((upstream-name . "lens")))
6240 (inputs (list ghc-assoc
6241 ghc-base-orphans
6242 ghc-bifunctors
6243 ghc-call-stack
6244 ghc-comonad
6245 ghc-contravariant
6246 ghc-distributive
6247 ghc-free
6248 ghc-hashable
6249 ghc-indexed-traversable
6250 ghc-indexed-traversable-instances
6251 ghc-kan-extensions
6252 ghc-parallel
6253 ghc-profunctors
6254 ghc-reflection
6255 ghc-semigroupoids
6256 ghc-strict
6257 ghc-tagged
6258 ghc-th-abstraction
6259 ghc-these
6260 ghc-transformers-compat
6261 ghc-unordered-containers
6262 ghc-vector))
6263 (native-inputs (list ghc-quickcheck
6264 ghc-test-framework
6265 ghc-test-framework-quickcheck2
6266 ghc-hunit
6267 ghc-test-framework
6268 ghc-test-framework-hunit
6269 ghc-simple-reflect))
6270 (arguments
6271 `(#:cabal-revision ("1"
6272 "19z3k7ikpfa96b86yabxghfqpnq9d0ayy4gdlvci3ycvws0s8cy6")))
6273 (home-page "http://github.com/ekmett/lens/")
6274 (synopsis "Lenses, Folds and Traversals")
6275 (description
6276 "This library provides @code{Control.Lens}. The combinators
6277 in @code{Control.Lens} provide a highly generic toolbox for composing families
6278 of getters, folds, isomorphisms, traversals, setters and lenses and their
6279 indexed variants.")
6280 (license license:bsd-2)))
6281
6282 (define-public ghc-lens-family-core
6283 (package
6284 (name "ghc-lens-family-core")
6285 (version "2.1.2")
6286 (source (origin
6287 (method url-fetch)
6288 (uri (hackage-uri "lens-family-core" version))
6289 (sha256
6290 (base32
6291 "1dkkd33wh2ykgis92dpshjxz6d2d41dvjj4zz6b7mdy8frr9jnhv"))))
6292 (build-system haskell-build-system)
6293 (properties '((upstream-name . "lens-family-core")))
6294 (home-page
6295 "https://hackage.haskell.org/package/lens-family-core")
6296 (synopsis "Haskell 98 Lens Families")
6297 (description
6298 "This package provides first class functional references. In addition to
6299 the usual operations of getting, setting and composition, plus integration
6300 with the state monad, lens families provide some unique features:
6301
6302 @itemize
6303 @item Polymorphic updating
6304 @item Traversals
6305 @item Cast projection functions to read-only lenses
6306 @item Cast @code{toList} functions to read-only traversals
6307 @item Cast semantic editor combinators to modify-only traversals
6308 @end itemize
6309
6310 For optimal first-class support use the lens-family package with rank 2/rank N
6311 polymorphism. @code{Lens.Family.Clone} allows for first-class support of
6312 lenses and traversals for those who require Haskell 98.")
6313 (license license:bsd-3)))
6314
6315 (define-public ghc-libffi
6316 (package
6317 (name "ghc-libffi")
6318 (version "0.2.1")
6319 (source (origin
6320 (method url-fetch)
6321 (uri (hackage-uri "libffi" version))
6322 (sha256
6323 (base32
6324 "1w9ssmjx521f4lmaynmh1zargl2zmfvvpq2bldsvnwldfdgikbkn"))))
6325 (build-system haskell-build-system)
6326 (properties '((upstream-name . "libffi")))
6327 (home-page "http://haskell.org/haskellwiki/Library/libffi")
6328 (synopsis "Haskell binding to libffi")
6329 (description
6330 "A binding to libffi, allowing C functions of types only known at runtime
6331 to be called from Haskell.")
6332 (license license:bsd-3)))
6333
6334 (define-public ghc-libmpd
6335 (package
6336 (name "ghc-libmpd")
6337 (version "0.10.0.0")
6338 (source
6339 (origin
6340 (method url-fetch)
6341 (uri (hackage-uri "libmpd" version))
6342 (sha256
6343 (base32
6344 "088vlir0n3wps2p5ydgyx51p41nfjcm2v02sszpyjj3c8z7f4qkh"))))
6345 (build-system haskell-build-system)
6346 (properties '((upstream-name . "libmpd")))
6347 (inputs
6348 (list ghc-attoparsec ghc-data-default-class ghc-network
6349 ghc-safe-exceptions ghc-utf8-string))
6350 (native-inputs
6351 (list ghc-quickcheck ghc-hspec hspec-discover))
6352 (home-page "https://github.com/vimus/libmpd-haskell")
6353 (synopsis "Haskell client library for the Music Player Daemon")
6354 (description "This package provides a pure Haskell client library for the
6355 Music Player Daemon.")
6356 (license license:expat)))
6357
6358 (define-public ghc-lib-parser
6359 (package
6360 (name "ghc-lib-parser")
6361 (version "9.2.5.20221107")
6362 (source (origin
6363 (method url-fetch)
6364 (uri (hackage-uri "ghc-lib-parser" version))
6365 (sha256
6366 (base32
6367 "1xh8rm5lwbh96g4v34whkcbb1yjsyvx3rwwycj30lrglhqk7f4c4"))))
6368 (build-system haskell-build-system)
6369 (properties '((upstream-name . "ghc-lib-parser")))
6370 (outputs '("out" "static" "doc")) ; documentation is 39M
6371 (native-inputs (list ghc-alex ghc-happy))
6372 (home-page "https://github.com/digital-asset/ghc-lib")
6373 (synopsis "The GHC API, decoupled from GHC versions")
6374 (description
6375 "This library implements the GHC API. It is like the
6376 compiler-provided @code{ghc} package, but it can be loaded on many
6377 compiler versions.")
6378 (license license:bsd-3)))
6379
6380 (define-public ghc-libxml
6381 (package
6382 (name "ghc-libxml")
6383 (version "0.1.1")
6384 (source
6385 (origin
6386 (method url-fetch)
6387 (uri (hackage-uri "libxml" version))
6388 (sha256
6389 (base32
6390 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
6391 (build-system haskell-build-system)
6392 (properties '((upstream-name . "libxml")))
6393 (inputs
6394 (list libxml2))
6395 (arguments
6396 `(#:configure-flags
6397 `(,(string-append "--extra-include-dirs="
6398 (assoc-ref %build-inputs "libxml2")
6399 "/include/libxml2"))))
6400 (home-page "https://hackage.haskell.org/package/libxml")
6401 (synopsis "Haskell bindings to libxml2")
6402 (description
6403 "This library provides minimal Haskell binding to libxml2.")
6404 (license license:bsd-3)))
6405
6406 (define-public ghc-libyaml
6407 (package
6408 (name "ghc-libyaml")
6409 (version "0.1.2")
6410 (source
6411 (origin
6412 (method url-fetch)
6413 (uri (hackage-uri "libyaml" version))
6414 (sha256
6415 (base32
6416 "1dcpbsjg6n305l07isxmavgp01lbv1qggy16acjyxjlz35pxchlg"))
6417 (modules '((guix build utils)))
6418 (snippet
6419 ;; Delete bundled LibYAML.
6420 '(begin
6421 (delete-file-recursively "libyaml_src")
6422 #t))))
6423 (build-system haskell-build-system)
6424 (properties '((upstream-name . "libyaml")))
6425 (arguments
6426 `(#:configure-flags `("--flags=system-libyaml")
6427 #:extra-directories ("libyaml+static")))
6428 (inputs
6429 (list ghc-conduit ghc-resourcet libyaml+static))
6430 (home-page "https://github.com/snoyberg/yaml#readme")
6431 (synopsis "Low-level, streaming YAML interface")
6432 (description "This package provides a Haskell wrapper over the
6433 LibYAML C library.")
6434 (license license:bsd-3)))
6435
6436 (define-public ghc-lifted-async
6437 (package
6438 (name "ghc-lifted-async")
6439 (version "0.10.2.3")
6440 (source (origin
6441 (method url-fetch)
6442 (uri (hackage-uri "lifted-async" version))
6443 (sha256
6444 (base32
6445 "1kq96cp9czf358gykai2vcmynnd7zivqja4pb3f8bif9ypln9vai"))))
6446 (build-system haskell-build-system)
6447 (properties '((upstream-name . "lifted-async")))
6448 (inputs (list ghc-async ghc-lifted-base ghc-transformers-base
6449 ghc-monad-control ghc-constraints))
6450 (native-inputs (list ghc-hunit
6451 ghc-tasty
6452 ghc-tasty-expected-failure
6453 ghc-tasty-hunit
6454 ghc-tasty-th
6455 ghc-tasty-hunit
6456 ghc-tasty-th))
6457 (home-page "https://github.com/maoe/lifted-async")
6458 (synopsis
6459 "Run lifted IO operations asynchronously and wait for their results")
6460 (description
6461 "This package provides IO operations from @code{async} package lifted to any
6462 instance of @code{MonadBase} or @code{MonadBaseControl}.")
6463 (license license:bsd-3)))
6464
6465 (define-public ghc-lifted-base
6466 (package
6467 (name "ghc-lifted-base")
6468 (version "0.2.3.12")
6469 (source
6470 (origin
6471 (method url-fetch)
6472 (uri (hackage-uri "lifted-base" version))
6473 (sha256
6474 (base32
6475 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
6476 (build-system haskell-build-system)
6477 (properties '((upstream-name . "lifted-base")))
6478 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
6479 (inputs
6480 (list ghc-transformers-base ghc-monad-control ghc-transformers-compat
6481 ghc-hunit))
6482 (home-page "https://github.com/basvandijk/lifted-base")
6483 (synopsis "Lifted IO operations from the base library")
6484 (description "Lifted-base exports IO operations from the @code{base}
6485 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
6486 Note that not all modules from @code{base} are converted yet. The package
6487 includes a copy of the @code{monad-peel} test suite written by Anders
6488 Kaseorg.")
6489 (license license:bsd-3)))
6490
6491 (define-public ghc-linear
6492 (package
6493 (name "ghc-linear")
6494 (version "1.21.10")
6495 (source (origin
6496 (method url-fetch)
6497 (uri (hackage-uri "linear" version))
6498 (sha256
6499 (base32
6500 "1d3s1p4imkifn7dccqci2qiwcg99x22kf250hzh4fh4xghi361xr"))))
6501 (build-system haskell-build-system)
6502 (properties '((upstream-name . "linear")))
6503 (inputs (list ghc-adjunctions
6504 ghc-base-orphans
6505 ghc-bytes
6506 ghc-cereal
6507 ghc-distributive
6508 ghc-hashable
6509 ghc-indexed-traversable
6510 ghc-lens
6511 ghc-random
6512 ghc-reflection
6513 ghc-semigroups
6514 ghc-semigroupoids
6515 ghc-tagged
6516 ghc-transformers-compat
6517 ghc-unordered-containers
6518 ghc-vector
6519 ghc-void))
6520 (native-inputs (list ghc-simple-reflect ghc-test-framework
6521 ghc-test-framework-hunit ghc-hunit))
6522 (home-page "http://github.com/ekmett/linear/")
6523 (synopsis "Linear algebra library for Haskell")
6524 (description
6525 "This package provides types and combinators for linear algebra on free
6526 vector spaces.")
6527 (license license:bsd-3)))
6528
6529 (define-public ghc-listlike
6530 (package
6531 (name "ghc-listlike")
6532 (version "4.7.8")
6533 (source (origin
6534 (method url-fetch)
6535 (uri (hackage-uri "ListLike" version))
6536 (sha256
6537 (base32
6538 "1l9pfjy7gh7xqnzflixp37d6lsppmlffzmmq75xn9r8ij3r2jycs"))))
6539 (build-system haskell-build-system)
6540 (properties '((upstream-name . "ListLike")))
6541 (inputs (list ghc-vector ghc-dlist ghc-fmlist ghc-utf8-string))
6542 (native-inputs (list ghc-hunit ghc-quickcheck ghc-random))
6543 (home-page "http://github.com/ddssff/listlike")
6544 (synopsis "Generic support for list-like structures")
6545 (description
6546 "The ListLike module provides a common interface to the
6547 various Haskell types that are list-like. Predefined interfaces include
6548 standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings.
6549 Custom types can easily be made ListLike instances as well.
6550
6551 ListLike also provides for String-like types, such as String and
6552 ByteString, for types that support input and output, and for types that
6553 can handle infinite lists.")
6554 (license license:bsd-3)))
6555
6556 (define-public ghc-logging-facade
6557 (package
6558 (name "ghc-logging-facade")
6559 (version "0.3.1")
6560 (source (origin
6561 (method url-fetch)
6562 (uri (hackage-uri "logging-facade" version))
6563 (sha256
6564 (base32
6565 "0rn12j77gn3p84khrmbn5kq6fyj44i3z1hrdm29apikp7csv65ib"))))
6566 (build-system haskell-build-system)
6567 (properties '((upstream-name . "logging-facade")))
6568 ;(arguments (list #:tests? #f))
6569 (inputs (list ghc-call-stack))
6570 (native-inputs (list ghc-hspec hspec-discover))
6571 (home-page "https://github.com/sol/logging-facade#readme")
6572 (synopsis "Simple logging abstraction that allows multiple back-ends")
6573 (description
6574 "This package provides a simple logging abstraction that allows multiple
6575 back-ends.")
6576 (license license:expat)))
6577
6578 (define-public ghc-logging-facade-bootstrap
6579 (package
6580 (inherit ghc-logging-facade)
6581 (name "ghc-logging-facade-bootstrap")
6582 (arguments `(#:tests? #f))
6583 (native-inputs '())
6584 (properties '((hidden? #t)))))
6585
6586 (define-public ghc-logict
6587 (package
6588 (name "ghc-logict")
6589 (version "0.8.0.0")
6590 (source (origin
6591 (method url-fetch)
6592 (uri (hackage-uri "logict" version))
6593 (sha256
6594 (base32
6595 "0mpv50ifb3x9vfmgi1p9piwcgz8d19x0wdj789wxyhxwjpr6v4py"))))
6596 (build-system haskell-build-system)
6597 (properties '((upstream-name . "logict")))
6598 (inputs (list ghc-fail))
6599 (native-inputs (list ghc-async ghc-tasty ghc-tasty-hunit))
6600 (home-page "https://github.com/Bodigrim/logict#readme")
6601 (synopsis "Backtracking logic-programming monad")
6602 (description
6603 "This library provides a continuation-based, backtracking,
6604 logic programming monad. An adaptation of the two-continuation implementation
6605 found in the paper \"Backtracking, Interleaving, and Terminating Monad
6606 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
6607 online}.")
6608 (license license:bsd-3)))
6609
6610 (define-public ghc-lucid
6611 (package
6612 (name "ghc-lucid")
6613 (version "2.11.1")
6614 (source (origin
6615 (method url-fetch)
6616 (uri (hackage-uri "lucid" version))
6617 (sha256
6618 (base32
6619 "13krwrvv0w24rnl7pc7qhv18c6030fkxpx7sxkffdm8sr9173xfw"))))
6620 (build-system haskell-build-system)
6621 (properties '((upstream-name . "lucid")))
6622 (inputs (list ghc-blaze-builder ghc-hashable ghc-mmorph))
6623 (native-inputs (list ghc-hunit ghc-hspec ghc-bifunctors))
6624 (arguments
6625 `(#:cabal-revision ("1"
6626 "0wipmh3xcs00x8lbq5j780rdc2klfj67nzni21qc1pdbhr2whn9d")))
6627 (home-page "https://github.com/chrisdone/lucid")
6628 (synopsis "Haskell DSL for rendering HTML")
6629 (description
6630 "Clear to write, read and edit Haskell DSL for HTML.
6631
6632 @itemize @bullet
6633 @item
6634 Names are consistent, and do not conflict with base or are keywords
6635 (all have suffix @code{-}).
6636 @item
6637 Same combinator can be used for attributes and elements
6638 (e.g. @code{style_}).
6639 @end itemize")
6640 (license license:bsd-3)))
6641
6642 (define-public ghc-lzma
6643 (package
6644 (name "ghc-lzma")
6645 (version "0.0.0.4")
6646 (source (origin
6647 (method url-fetch)
6648 (uri (hackage-uri "lzma" version))
6649 (sha256
6650 (base32
6651 "0fy11i7fanrsbh8w7cclwx0i6csn5df6vl38dh2112aqw6n7h382"))))
6652 (build-system haskell-build-system)
6653 (properties '((upstream-name . "lzma")))
6654 (native-inputs (list ghc-hunit ghc-quickcheck ghc-tasty ghc-tasty-hunit
6655 ghc-tasty-quickcheck))
6656 (home-page "https://github.com/hvr/lzma")
6657 (synopsis "LZMA/XZ compression and decompression")
6658 (description
6659 "This package provides a pure interface for compressing and
6660 decompressing LZMA streams of data represented as lazy @code{ByteString}s. A
6661 monadic incremental interface is provided as well.")
6662 (license license:bsd-3)))
6663
6664 (define-public ghc-lzma-conduit
6665 (package
6666 (name "ghc-lzma-conduit")
6667 (version "1.2.3")
6668 (source (origin
6669 (method url-fetch)
6670 (uri (hackage-uri "lzma-conduit" version))
6671 (sha256
6672 (base32
6673 "1pmvmchrg429b2yk485x0066lxcr37cbyczlyp3ala2iaq8hm61z"))))
6674 (build-system haskell-build-system)
6675 (properties '((upstream-name . "lzma-conduit")))
6676 (inputs (list ghc-conduit ghc-lzma ghc-resourcet))
6677 (native-inputs (list ghc-base-compat
6678 ghc-test-framework
6679 ghc-test-framework-hunit
6680 ghc-test-framework-quickcheck2
6681 ghc-hunit
6682 ghc-quickcheck))
6683 (home-page "http://github.com/alphaHeavy/lzma-conduit")
6684 (synopsis "Conduit interface for lzma/xz compression")
6685 (description
6686 "This package provides a @code{Conduit} interface for the LZMA
6687 compression algorithm used in the @code{.xz} file format.")
6688 (license license:bsd-3)))
6689
6690 (define-public ghc-magic
6691 (package
6692 (name "ghc-magic")
6693 (version "1.1")
6694 (source
6695 (origin
6696 (method url-fetch)
6697 (uri (hackage-uri "magic" version))
6698 (sha256
6699 (base32
6700 "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j"))))
6701 (build-system haskell-build-system)
6702 (properties '((upstream-name . "magic")))
6703 (home-page "https://hackage.haskell.org/package/magic")
6704 (synopsis "Interface to C file/magic library")
6705 (description
6706 "This package provides a full-featured binding to the C libmagic library.
6707 With it, you can determine the type of a file by examining its contents rather
6708 than its name.")
6709 (license license:bsd-3)))
6710
6711 (define-public ghc-managed
6712 (package
6713 (name "ghc-managed")
6714 (version "1.0.9")
6715 (source (origin
6716 (method url-fetch)
6717 (uri (hackage-uri "managed" version))
6718 (sha256
6719 (base32
6720 "0vx8aim8bcyyvxxnmi1xkbl3kwrvskjn99z3y8h458g7nsinsisd"))))
6721 (build-system haskell-build-system)
6722 (properties '((upstream-name . "managed")))
6723 (arguments
6724 `(#:cabal-revision ("3"
6725 "017h9533j7rlxlsf65ynxpva59yr0qwrdmvhp7if141i98ld4664")))
6726 (home-page "https://hackage.haskell.org/package/managed")
6727 (synopsis "Monad for managed values")
6728 (description
6729 "In Haskell you very often acquire values using the with... idiom using
6730 functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a
6731 special case of the ContT monad (from transformers) or the Codensity
6732 monad (from kan-extensions). The main purpose behind this package is to
6733 provide a restricted form of these monads specialized to this unusually common
6734 case.
6735
6736 The reason this package defines a specialized version of these types
6737 is to:
6738
6739 @itemize
6740 @item be more beginner-friendly,
6741 @item simplify inferred types and error messages, and:
6742 @item provide some additional type class instances that would otherwise be
6743 orphan instances
6744 @end itemize")
6745 (license license:bsd-3)))
6746
6747 (define-public ghc-markdown-unlit
6748 (package
6749 (name "ghc-markdown-unlit")
6750 (version "0.5.1")
6751 (source (origin
6752 (method url-fetch)
6753 (uri (hackage-uri "markdown-unlit" version))
6754 (sha256
6755 (base32
6756 "0njzn56m8z6lm70xyixbylbnpjz1gk7x8vdsdvi3qld9m66gc3n7"))))
6757 (build-system haskell-build-system)
6758 (properties '((upstream-name . "markdown-unlit")))
6759 (inputs
6760 (list ghc-base-compat
6761 ghc-hspec
6762 ghc-quickcheck
6763 ghc-silently
6764 ghc-stringbuilder
6765 ghc-temporary
6766 hspec-discover))
6767 (home-page "https://github.com/sol/markdown-unlit#readme")
6768 (synopsis "Literate Haskell support for Markdown")
6769 (description "This package allows you to have a README.md that at the
6770 same time is a literate Haskell program.")
6771 (license license:expat)))
6772
6773 (define-public ghc-math-functions
6774 (package
6775 (name "ghc-math-functions")
6776 (version "0.3.4.2")
6777 (source
6778 (origin
6779 (method url-fetch)
6780 (uri (hackage-uri "math-functions" version))
6781 (sha256
6782 (base32
6783 "18y1hlc8p6yyxa14zdbm84aaq58kksbrlfp3rj2bd4ilsb00mrf1"))))
6784 (build-system haskell-build-system)
6785 (properties '((upstream-name . "math-functions")))
6786 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
6787 (inputs
6788 (list ghc-data-default-class ghc-vector ghc-vector-th-unbox))
6789 (native-inputs
6790 (list ghc-hunit
6791 ghc-quickcheck
6792 ghc-erf
6793 ghc-test-framework
6794 ghc-test-framework-hunit
6795 ghc-test-framework-quickcheck2))
6796 (home-page "https://github.com/bos/math-functions")
6797 (synopsis "Special functions and Chebyshev polynomials for Haskell")
6798 (description "This Haskell library provides implementations of
6799 special mathematical functions and Chebyshev polynomials. These
6800 functions are often useful in statistical and numerical computing.")
6801 (license license:bsd-3)))
6802
6803 (define-public ghc-megaparsec
6804 (package
6805 (name "ghc-megaparsec")
6806 (version "9.2.2")
6807 (source (origin
6808 (method url-fetch)
6809 (uri (hackage-uri "megaparsec" version))
6810 (sha256
6811 (base32
6812 "0d52dbcz9nlqkkfqfs9kck5kmvkfzf3628z4ik4gr7hbbkjh72x4"))))
6813 (build-system haskell-build-system)
6814 (properties '((upstream-name . "megaparsec")))
6815 (inputs (list ghc-case-insensitive ghc-parser-combinators ghc-scientific))
6816 (home-page "https://github.com/mrkkrp/megaparsec")
6817 (synopsis "Monadic parser combinators")
6818 (description
6819 "This is an industrial-strength monadic parser combinator library.
6820 Megaparsec is a feature-rich package that strikes a nice balance between
6821 speed, flexibility, and quality of parse errors.")
6822 (license license:bsd-2)))
6823
6824 (define-public ghc-memory
6825 (package
6826 (name "ghc-memory")
6827 (version "0.17.0")
6828 (source (origin
6829 (method url-fetch)
6830 (uri (hackage-uri "memory" version))
6831 (sha256
6832 (base32
6833 "0yl3ivvn7i9wbx910b7bzj9c3g0jjjk91j05wj74qb5zx2yyf9rk"))))
6834 (build-system haskell-build-system)
6835 (properties '((upstream-name . "memory")))
6836 (inputs (list ghc-basement))
6837 (native-inputs (list ghc-foundation))
6838 (arguments
6839 `(#:cabal-revision ("1"
6840 "1gybf726kz17jm1am0rphi0srmyqyza45y6jdqbq0b8sspm8kggb")))
6841 (home-page "https://github.com/vincenthz/hs-memory")
6842 (synopsis "Memory abstractions for Haskell")
6843 (description
6844 "This package provides memory abstractions, such as chunk of memory,
6845 polymorphic byte array management and manipulation functions. It contains a
6846 polymorphic byte array abstraction and functions similar to strict ByteString,
6847 different type of byte array abstraction, raw memory IO operations (memory
6848 set, memory copy, ..) and more")
6849 (license license:bsd-3)))
6850
6851 (define-public ghc-memotrie
6852 (package
6853 (name "ghc-memotrie")
6854 (version "0.6.10")
6855 (source
6856 (origin
6857 (method url-fetch)
6858 (uri (hackage-uri "MemoTrie" version))
6859 (sha256
6860 (base32
6861 "0lxsarhyhhkp58wpbp7b08scmjxq7s46jfl9vhp2yfq973hz0kaq"))))
6862 (build-system haskell-build-system)
6863 (properties '((upstream-name . "MemoTrie")))
6864 (inputs
6865 (list ghc-newtype-generics))
6866 (home-page "https://github.com/conal/MemoTrie")
6867 (synopsis "Trie-based memo functions")
6868 (description "This package provides a functional library for creating
6869 efficient memo functions using tries.")
6870 (license license:bsd-3)))
6871
6872 (define-public ghc-microlens
6873 (package
6874 (name "ghc-microlens")
6875 (version "0.4.12.0")
6876 (source
6877 (origin
6878 (method url-fetch)
6879 (uri (hackage-uri "microlens" version))
6880 (sha256
6881 (base32
6882 "10q7gl9yavcln58sxdxzih7ff0ixxq5hpd87icvxw97yqf1p6hmm"))))
6883 (build-system haskell-build-system)
6884 (properties '((upstream-name . "microlens")))
6885 (home-page
6886 "https://github.com/monadfix/microlens")
6887 (synopsis "Provides a tiny lens Haskell library with no dependencies")
6888 (description "This Haskell package provides a lens library, just like
6889 @code{ghc-lens}, but smaller. It provides essential lenses and
6890 traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
6891 nice to have (like @code{each}, @code{at}, and @code{ix}), and some
6892 combinators (like @code{failing} and @code{singular}), but everything else is
6893 stripped. As the result, this package has no dependencies.")
6894 (license license:bsd-3)))
6895
6896 (define-public ghc-microlens-aeson
6897 (package
6898 (name "ghc-microlens-aeson")
6899 (version "2.5.0")
6900 (source
6901 (origin
6902 (method url-fetch)
6903 (uri (hackage-uri "microlens-aeson" version))
6904 (sha256
6905 (base32
6906 "0h5q0b2b4y28llhq28mb28kpdv2iifz0qkbbhmrwrz2bs6arr3d2"))))
6907 (build-system haskell-build-system)
6908 (properties '((upstream-name . "microlens-aeson")))
6909 (inputs
6910 (list ghc-aeson
6911 ghc-attoparsec
6912 ghc-hashable
6913 ghc-microlens
6914 ghc-scientific
6915 ghc-unordered-containers
6916 ghc-vector))
6917 (native-inputs
6918 (list ghc-tasty ghc-tasty-hunit))
6919 (home-page "https://github.com/fosskers/microlens-aeson")
6920 (synopsis "Law-abiding lenses for Aeson, using microlens")
6921 (description "This library provides law-abiding lenses for Aeson, using
6922 microlens.")
6923 (license license:expat)))
6924
6925 (define-public ghc-microlens-ghc
6926 (package
6927 (name "ghc-microlens-ghc")
6928 (version "0.4.13.2")
6929 (source (origin
6930 (method url-fetch)
6931 (uri (hackage-uri "microlens-ghc" version))
6932 (sha256
6933 (base32
6934 "1258p84jj4kv6l71ijwjzpvzvqxxsqbvs5vrksi24mlf29gaxqi0"))))
6935 (build-system haskell-build-system)
6936 (properties '((upstream-name . "microlens-ghc")))
6937 (inputs (list ghc-microlens))
6938 (home-page "http://github.com/monadfix/microlens")
6939 (synopsis "Use @code{microlens} with GHC libraries like @code{array}")
6940 (description
6941 "This library provides everything that @code{microlens}
6942 provides plus instances to make @code{each}, @code{at}, and @code{ix}
6943 usable with arrays, @code{ByteString}, and containers. This package is
6944 a part of the @uref{http://hackage.haskell.org/package/microlens,
6945 microlens} family; see the readme
6946 @uref{https://github.com/aelve/microlens#readme, on Github}.")
6947 (license license:bsd-3)))
6948
6949 (define-public ghc-microlens-mtl
6950 (package
6951 (name "ghc-microlens-mtl")
6952 (version "0.2.0.3")
6953 (source (origin
6954 (method url-fetch)
6955 (uri (hackage-uri "microlens-mtl" version))
6956 (sha256
6957 (base32
6958 "1ilz0zyyk9f6h97gjsaqq65njfs23fk3wxhigvj4z0brf7rnlssd"))))
6959 (build-system haskell-build-system)
6960 (properties '((upstream-name . "microlens-mtl")))
6961 (inputs (list ghc-microlens ghc-transformers-compat))
6962 (home-page "http://github.com/monadfix/microlens")
6963 (synopsis "@code{microlens} support for Reader/Writer/State from mtl")
6964 (description
6965 "This package contains functions (like @code{view} or @code{+=}) which
6966 work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the
6967 mtl package. This package is a part of the
6968 @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
6969 readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
6970 (license license:bsd-3)))
6971
6972 (define-public ghc-microlens-platform
6973 (package
6974 (name "ghc-microlens-platform")
6975 (version "0.4.2.1")
6976 (source (origin
6977 (method url-fetch)
6978 (uri (hackage-uri "microlens-platform" version))
6979 (sha256
6980 (base32
6981 "0z8snyzy18kqj32fb89mzgscjrg6w2z0jkkj4b9vl2jvbps0gkg6"))))
6982 (build-system haskell-build-system)
6983 (properties '((upstream-name . "microlens-platform")))
6984 (inputs (list ghc-hashable
6985 ghc-microlens
6986 ghc-microlens-ghc
6987 ghc-microlens-mtl
6988 ghc-microlens-th
6989 ghc-unordered-containers
6990 ghc-vector))
6991 (home-page "http://github.com/monadfix/microlens")
6992 (synopsis "Feature-complete microlens")
6993 (description
6994 "This package exports a module which is the recommended starting point
6995 for using @uref{http://hackage.haskell.org/package/microlens, microlens} if
6996 you aren't trying to keep your dependencies minimal. By importing
6997 @code{Lens.Micro.Platform} you get all functions and instances from
6998 @uref{http://hackage.haskell.org/package/microlens, microlens},
6999 @uref{http://hackage.haskell.org/package/microlens-th, microlens-th},
7000 @uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl},
7001 @uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as
7002 well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The
7003 minor and major versions of @code{microlens-platform} are incremented whenever
7004 the minor and major versions of any other @code{microlens} package are
7005 incremented, so you can depend on the exact version of
7006 @code{microlens-platform} without specifying the version of @code{microlens}
7007 you need. This package is a part of the
7008 @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7009 readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7010 (license license:bsd-3)))
7011
7012 (define-public ghc-microlens-th
7013 (package
7014 (name "ghc-microlens-th")
7015 (version "0.4.3.11")
7016 (source (origin
7017 (method url-fetch)
7018 (uri (hackage-uri "microlens-th" version))
7019 (sha256
7020 (base32
7021 "1vjjaclfxr0kvlpmj8zh7f6ci4n4b8vynqd67zszx42al7gal6pj"))))
7022 (build-system haskell-build-system)
7023 (properties '((upstream-name . "microlens-th")))
7024 (inputs (list ghc-microlens ghc-th-abstraction))
7025 (native-inputs (list ghc-tagged))
7026 (home-page "http://github.com/monadfix/microlens")
7027 (synopsis "Automatic generation of record lenses for
7028 @code{ghc-microlens}")
7029 (description
7030 "This Haskell package lets you automatically generate lenses
7031 for data types; code was extracted from the lens package, and therefore
7032 generated lenses are fully compatible with ones generated by lens (and can be
7033 used both from lens and microlens).")
7034 (license license:bsd-3)))
7035
7036 (define-public ghc-missingh
7037 (package
7038 (name "ghc-missingh")
7039 (version "1.5.0.1")
7040 (source (origin
7041 (method url-fetch)
7042 (uri (hackage-uri "MissingH" version))
7043 (sha256
7044 (base32
7045 "0c92fdv32nq51kfdizi3lpxmnvscsgk6marfzaycd7k05aka8byb"))))
7046 (build-system haskell-build-system)
7047 (properties '((upstream-name . "MissingH")))
7048 (inputs (list ghc-hslogger
7049 ghc-old-locale
7050 ghc-old-time
7051 ghc-regex-compat
7052 ghc-network-bsd
7053 ghc-network))
7054 (native-inputs (list ghc-hunit))
7055 (arguments
7056 `(#:cabal-revision ("2"
7057 "11d922r06p00gcgzhb29hhjkq8ajy1xbqdiwdpbmhp2ar7fw7g9l")))
7058 (home-page "http://hackage.haskell.org/package/MissingH")
7059 (synopsis "Large utility library")
7060 (description
7061 "MissingH is a library of all sorts of utility functions for Haskell
7062 programmers. It is written in pure Haskell and thus should be extremely
7063 portable and easy to use.")
7064 (license license:bsd-3)))
7065
7066 (define-public ghc-mmap
7067 (package
7068 (name "ghc-mmap")
7069 (version "0.5.9")
7070 (source (origin
7071 (method url-fetch)
7072 (uri (hackage-uri "mmap" version))
7073 (sha256
7074 (base32
7075 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
7076 (build-system haskell-build-system)
7077 (properties '((upstream-name . "mmap")))
7078 (home-page "https://hackage.haskell.org/package/mmap")
7079 (synopsis "Memory mapped files for Haskell")
7080 (description
7081 "This library provides a wrapper to @code{mmap}, allowing files or
7082 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
7083 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
7084 do on-demand loading.")
7085 (license license:bsd-3)))
7086
7087 (define-public ghc-mmorph
7088 (package
7089 (name "ghc-mmorph")
7090 (version "1.2.0")
7091 (source (origin
7092 (method url-fetch)
7093 (uri (hackage-uri "mmorph" version))
7094 (sha256
7095 (base32
7096 "1022d8mm523dihkf85mqsqxpm9rnyicmv91c8rm4csv7xdc80cv1"))))
7097 (build-system haskell-build-system)
7098 (properties '((upstream-name . "mmorph")))
7099 (inputs (list ghc-transformers-compat ghc-fail))
7100 (arguments
7101 `(#:cabal-revision ("3"
7102 "1582vcpjiyimb1vwnhgq8gp805iziwa8sivv2frir0cgq4z236yz")))
7103 (home-page "http://hackage.haskell.org/package/mmorph")
7104 (synopsis "Monad morphisms")
7105 (description
7106 "This library provides monad morphism utilities, most commonly used for
7107 manipulating monad transformer stacks.")
7108 (license license:bsd-3)))
7109
7110 (define-public ghc-mockery
7111 (package
7112 (name "ghc-mockery")
7113 (version "0.3.5")
7114 (source (origin
7115 (method url-fetch)
7116 (uri (hackage-uri "mockery" version))
7117 (sha256
7118 (base32
7119 "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp"))))
7120 (build-system haskell-build-system)
7121 (properties '((upstream-name . "mockery")))
7122 (inputs
7123 (list ghc-temporary ghc-logging-facade ghc-base-compat))
7124 (native-inputs
7125 (list ghc-hspec hspec-discover))
7126 (home-page "https://hackage.haskell.org/package/mockery")
7127 (synopsis "Support functions for automated testing")
7128 (description
7129 "The mockery package provides support functions for automated testing.")
7130 (license license:expat)))
7131
7132 (define-public ghc-mockery-bootstrap
7133 (package
7134 (inherit ghc-mockery)
7135 (name "ghc-mockery-bootstrap")
7136 (arguments `(#:tests? #f))
7137 (inputs (modify-inputs (package-inputs ghc-mockery)
7138 (replace "ghc-logging-facade" ghc-logging-facade-bootstrap)))
7139 (native-inputs '())
7140 (properties '((hidden? #t)))))
7141
7142 (define-public ghc-monad-control
7143 (package
7144 (name "ghc-monad-control")
7145 (version "1.0.3.1")
7146 (source
7147 (origin
7148 (method url-fetch)
7149 (uri (hackage-uri "monad-control" version))
7150 (sha256
7151 (base32
7152 "0g3if9km8ik80bcy130a826ig9wlk4bnf0qli3vmwdwr9nhaw2xf"))))
7153 (build-system haskell-build-system)
7154 (properties '((upstream-name . "monad-control")))
7155 (inputs
7156 (list ghc-transformers-base ghc-transformers-compat))
7157 (home-page "https://github.com/basvandijk/monad-control")
7158 (synopsis "Monad transformers to lift control operations like exception
7159 catching")
7160 (description "This package defines the type class @code{MonadBaseControl},
7161 a subset of @code{MonadBase} into which generic control operations such as
7162 @code{catch} can be lifted from @code{IO} or any other base monad.")
7163 (license license:bsd-3)))
7164
7165 (define-public ghc-monad-logger
7166 (package
7167 (name "ghc-monad-logger")
7168 (version "0.3.37")
7169 (source (origin
7170 (method url-fetch)
7171 (uri (hackage-uri "monad-logger" version))
7172 (sha256
7173 (base32
7174 "1z275a428zcj73zz0cpfha2adwiwqqqp7klx3kbd3i9rl20xa106"))))
7175 (build-system haskell-build-system)
7176 (properties '((upstream-name . "monad-logger")))
7177 (inputs (list ghc-conduit
7178 ghc-conduit-extra
7179 ghc-fast-logger
7180 ghc-lifted-base
7181 ghc-monad-control
7182 ghc-monad-loops
7183 ghc-resourcet
7184 ghc-stm-chans
7185 ghc-transformers-base
7186 ghc-transformers-compat
7187 ghc-unliftio-core))
7188 (arguments
7189 `(#:cabal-revision ("3"
7190 "1dzkw08b4ijacdw0vcfxlr13rd819x2yj7b6sr9jrrwicd45zm1z")))
7191 (home-page "https://github.com/snoyberg/monad-logger#readme")
7192 (synopsis "Provides a class of monads which can log messages for Haskell")
7193 (description
7194 "This Haskell package uses a monad transformer approach
7195 for logging.
7196
7197 This package provides Template Haskell functions for determining source
7198 code locations of messages.")
7199 (license license:expat)))
7200
7201 (define-public ghc-monad-loops
7202 (package
7203 (name "ghc-monad-loops")
7204 (version "0.4.3")
7205 (source
7206 (origin
7207 (method url-fetch)
7208 (uri (hackage-uri "monad-loops" version))
7209 (sha256
7210 (base32
7211 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
7212 (build-system haskell-build-system)
7213 (properties '((upstream-name . "monad-loops")))
7214 (native-inputs (list ghc-tasty ghc-tasty-hunit))
7215 (home-page "https://github.com/mokus0/monad-loops")
7216 (synopsis "Monadic loops for Haskell")
7217 (description "This Haskell package provides some useful control
7218 operators for looping.")
7219 (license license:public-domain)))
7220
7221 (define-public ghc-monad-par
7222 (package
7223 (name "ghc-monad-par")
7224 (version "0.3.5")
7225 (source
7226 (origin
7227 (method url-fetch)
7228 (uri (hackage-uri "monad-par" version))
7229 (sha256
7230 (base32
7231 "1a8m99g9x1ivch4vhksk7fdzygbil3d33w8gdqngxbmwdikdafl2"))))
7232 (build-system haskell-build-system)
7233 (properties '((upstream-name . "monad-par")))
7234 (arguments
7235 `(#:tests? #f ; TODO: ghc-test-framework-th does not build.
7236 #:cabal-revision
7237 ("1" "17l7zjykf5iqjmw1pq4iwls7v9x9d3in94iikxabx43q5l2iccsm")))
7238 (inputs (list ghc-abstract-par ghc-abstract-deque ghc-monad-par-extras
7239 ghc-mwc-random ghc-parallel))
7240 (native-inputs (list ghc-quickcheck
7241 ghc-hunit
7242 ghc-test-framework-hunit
7243 ghc-test-framework-quickcheck2
7244 ghc-test-framework
7245 ;("ghc-test-framework-th" ,ghc-test-framework-th)
7246 ))
7247 (home-page "https://github.com/simonmar/monad-par")
7248 (synopsis "Haskell library for parallel programming based on a monad")
7249 (description "The @code{Par} monad offers an API for parallel
7250 programming. The library works for parallelising both pure and @code{IO}
7251 computations, although only the pure version is deterministic. The default
7252 implementation provides a work-stealing scheduler and supports forking tasks
7253 that are much lighter weight than IO-threads.")
7254 (license license:bsd-3)))
7255
7256 (define-public ghc-monad-par-extras
7257 (package
7258 (name "ghc-monad-par-extras")
7259 (version "0.3.3")
7260 (source
7261 (origin
7262 (method url-fetch)
7263 (uri (hackage-uri "monad-par-extras" version))
7264 (sha256
7265 (base32
7266 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
7267 (build-system haskell-build-system)
7268 (properties '((upstream-name . "monad-par-extras")))
7269 (inputs (list ghc-abstract-par ghc-cereal ghc-random))
7270 (home-page "https://github.com/simonmar/monad-par")
7271 (synopsis "Combinators and extra features for Par monads for Haskell")
7272 (description "This Haskell package provides additional data structures,
7273 and other added capabilities layered on top of the @code{Par} monad.")
7274 (license license:bsd-3)))
7275
7276 (define-public ghc-monadrandom
7277 (package
7278 (name "ghc-monadrandom")
7279 (version "0.5.3")
7280 (source
7281 (origin
7282 (method url-fetch)
7283 (uri (hackage-uri "MonadRandom" version))
7284 (sha256
7285 (base32
7286 "17qaw1gg42p9v6f87dj5vih7l88lddbyd8880ananj8avanls617"))))
7287 (build-system haskell-build-system)
7288 (properties '((upstream-name . "MonadRandom")))
7289 (inputs (list ghc-transformers-compat ghc-primitive ghc-fail
7290 ghc-random))
7291 (arguments
7292 `(#:cabal-revision ("2"
7293 "1diy29if7w1c9ckc465mrrb52fm0zmd8zzym1h5ryh5a58qafwhr")))
7294 (home-page "https://github.com/byorgey/MonadRandom")
7295 (synopsis "Random-number generation monad for Haskell")
7296 (description "This Haskell package provides support for computations
7297 which consume random values.")
7298 (license license:bsd-3)))
7299
7300 (define-public ghc-monads-tf
7301 (package
7302 (name "ghc-monads-tf")
7303 (version "0.1.0.3")
7304 (source
7305 (origin
7306 (method url-fetch)
7307 (uri (hackage-uri "monads-tf" version))
7308 (sha256
7309 (base32
7310 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7311 (build-system haskell-build-system)
7312 (properties '((upstream-name . "monads-tf")))
7313 (home-page "https://hackage.haskell.org/package/monads-tf")
7314 (synopsis "Monad classes, using type families")
7315 (description
7316 "Monad classes using type families, with instances for various monad transformers,
7317 inspired by the paper 'Functional Programming with Overloading and Higher-Order
7318 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7319 the @code{mtl-tf} package.")
7320 (license license:bsd-3)))
7321
7322 (define-public ghc-mono-traversable
7323 (package
7324 (name "ghc-mono-traversable")
7325 (version "1.0.15.3")
7326 (source
7327 (origin
7328 (method url-fetch)
7329 (uri (hackage-uri "mono-traversable" version))
7330 (sha256
7331 (base32
7332 "1dvlp7r7r1lc3fxkwaz68f1nffg83240q8a989x24x1x67rj1clq"))))
7333 (build-system haskell-build-system)
7334 (properties '((upstream-name . "mono-traversable")))
7335 (outputs '("out" "static" "doc"))
7336 (inputs (list ghc-unordered-containers ghc-hashable ghc-vector
7337 ghc-vector-algorithms ghc-split))
7338 (native-inputs (list ghc-hspec ghc-hunit ghc-quickcheck ghc-foldl))
7339 (home-page "https://github.com/snoyberg/mono-traversable")
7340 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
7341 containers")
7342 (description "This Haskell package provides Monomorphic variants of the
7343 Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
7344 basic typeclasses, you understand mono-traversable. In addition to what
7345 you are used to, it adds on an IsSequence typeclass and has code for marking
7346 data structures as non-empty.")
7347 (license license:expat)))
7348
7349 (define-public ghc-monoid-extras
7350 (package
7351 (name "ghc-monoid-extras")
7352 (version "0.6.2")
7353 (source (origin
7354 (method url-fetch)
7355 (uri (hackage-uri "monoid-extras" version))
7356 (sha256
7357 (base32
7358 "1qaxp0cf2cvzvfpk7x9mjz1zmlpjfzxij8v2n45w89s7bq9ckvlw"))))
7359 (build-system haskell-build-system)
7360 (properties '((upstream-name . "monoid-extras")))
7361 (inputs (list ghc-groups ghc-semigroupoids))
7362 (home-page "http://hackage.haskell.org/package/monoid-extras")
7363 (synopsis "Various extra monoid-related definitions and utilities")
7364 (description
7365 "This package provides various extra monoid-related
7366 definitions and utilities, such as monoid actions, monoid coproducts,
7367 semi-direct products, \"deletable\" monoids, \"split\" monoids, and
7368 \"cut\" monoids.")
7369 (license license:bsd-3)))
7370
7371 (define-public ghc-mountpoints
7372 (package
7373 (name "ghc-mountpoints")
7374 (version "1.0.2")
7375 (source
7376 (origin
7377 (method url-fetch)
7378 (uri (hackage-uri "mountpoints" version))
7379 (sha256
7380 (base32
7381 "1hnm31pqcffphyc463wf0vbik9fzm5lb2r4wjdc1y4dqzmjdzz37"))))
7382 (build-system haskell-build-system)
7383 (properties '((upstream-name . "mountpoints")))
7384 (home-page
7385 "https://hackage.haskell.org/package/mountpoints")
7386 (synopsis "Haskell library for listing mount points")
7387 (description "This library provides Haskell bindings for checking
7388 currently mounted filesystems.")
7389 (license license:lgpl2.1+)))
7390
7391 (define-public ghc-mtl-compat
7392 (package
7393 (name "ghc-mtl-compat")
7394 (version "0.2.2")
7395 (source
7396 (origin
7397 (method url-fetch)
7398 (uri (hackage-uri "mtl-compat" version))
7399 (sha256
7400 (base32
7401 "17iszr5yb4f17g8mq6i74hsamii8z6m2qfsmgzs78mhiwa7kjm8r"))))
7402 (build-system haskell-build-system)
7403 (properties '((upstream-name . "mtl-compat")))
7404 (home-page
7405 "https://github.com/haskell-compat/mtl-compat")
7406 (synopsis
7407 "Backported Control.Monad.Except module from mtl")
7408 (description
7409 "This package backports the Control.Monad.Except module from mtl (if
7410 using mtl-2.2.0.1 or earlier), which reexports the ExceptT monad transformer
7411 and the MonadError class.
7412
7413 This package should only be used if there is a need to use the
7414 Control.Monad.Except module specifically. If you just want the mtl class
7415 instances for ExceptT, use transformers-compat instead, since mtl-compat does
7416 nothing but reexport the instances from that package.
7417
7418 Note that unlike how mtl-2.2 or later works, the Control.Monad.Except
7419 module defined in this package exports all of ExceptT's monad class instances.
7420 Therefore, you may have to declare @code{import Control.Monad.Except ()} at
7421 the top of your file to get all of the ExceptT instances in scope.")
7422 (license license:bsd-3)))
7423
7424 (define-public ghc-murmur-hash
7425 (package
7426 (name "ghc-murmur-hash")
7427 (version "0.1.0.10")
7428 (source (origin
7429 (method url-fetch)
7430 (uri (hackage-uri "murmur-hash" version))
7431 (sha256
7432 (base32
7433 "145z91zkx8jdd3y181pi8z9imqjgpk99cl55pbda4fl201hasbz9"))))
7434 (build-system haskell-build-system)
7435 (properties '((upstream-name . "murmur-hash")))
7436 (home-page "http://github.com/nominolo/murmur-hash")
7437 (synopsis "MurmurHash2 implementation for Haskell")
7438 (description
7439 "This package provides an implementation of MurmurHash2, a good, fast,
7440 general-purpose, non-cryptographic hashing function. See
7441 @url{https://sites.google.com/site/murmurhash/} for details. This
7442 implementation is pure Haskell, so it might be a bit slower than a C FFI
7443 binding.")
7444 (license license:bsd-3)))
7445
7446 (define-public ghc-mwc-random
7447 (package
7448 (name "ghc-mwc-random")
7449 (version "0.15.0.2")
7450 (source
7451 (origin
7452 (method url-fetch)
7453 (uri (hackage-uri "mwc-random" version))
7454 (sha256
7455 (base32
7456 "0ny2mw4am24d6ykrm8rbcjnrq6p2cjmzjb4m6qfk54wfdxflvmim"))))
7457 (build-system haskell-build-system)
7458 (properties '((upstream-name . "mwc-random")))
7459 (inputs
7460 (list ghc-primitive ghc-vector ghc-math-functions))
7461 (arguments
7462 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
7463 (native-inputs
7464 (list ghc-hunit ghc-quickcheck ghc-test-framework
7465 ghc-test-framework-hunit ghc-test-framework-quickcheck2))
7466 (home-page "https://github.com/bos/mwc-random")
7467 (synopsis "Random number generation library for Haskell")
7468 (description "This Haskell package contains code for generating
7469 high quality random numbers that follow either a uniform or normal
7470 distribution. The generated numbers are suitable for use in
7471 statistical applications.
7472
7473 The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
7474 multiply-with-carry generator, which has a period of 2^{8222} and
7475 fares well in tests of randomness. It is also extremely fast,
7476 between 2 and 3 times faster than the Mersenne Twister.")
7477 (license license:bsd-3)))
7478
7479 (define-public ghc-nats
7480 (package
7481 (name "ghc-nats")
7482 (version "1.1.2")
7483 (source
7484 (origin
7485 (method url-fetch)
7486 (uri (hackage-uri "nats" version))
7487 (sha256
7488 (base32
7489 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
7490 (build-system haskell-build-system)
7491 (properties '((upstream-name . "nats")))
7492 (arguments `(#:haddock? #f))
7493 (inputs
7494 (list ghc-hashable))
7495 (home-page "https://hackage.haskell.org/package/nats")
7496 (synopsis "Natural numbers")
7497 (description "This library provides the natural numbers for Haskell.")
7498 (license license:bsd-3)))
7499
7500 (define-public ghc-nats-bootstrap
7501 (package
7502 (inherit ghc-nats)
7503 (name "ghc-nats-bootstrap")
7504 (inputs
7505 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
7506 (properties '((hidden? #t)))))
7507
7508 (define-public ghc-ncurses
7509 (package
7510 (name "ghc-ncurses")
7511 (version "0.2.16")
7512 (source
7513 (origin
7514 (method url-fetch)
7515 (uri (hackage-uri "ncurses" version))
7516 (sha256
7517 (base32
7518 "0gsyyaqyh5r9zc0rhwpj5spyd6i4w2vj61h4nihgmmh0yyqvf3z5"))))
7519 (build-system haskell-build-system)
7520 (properties '((upstream-name . "ncurses")))
7521 (arguments
7522 '(#:extra-directories ("ncurses")
7523 #:phases
7524 (modify-phases %standard-phases
7525 (add-before 'build 'fix-includes
7526 (lambda _
7527 (substitute* '("cbits/hsncurses-shim.h"
7528 "lib/UI/NCurses.chs"
7529 "lib/UI/NCurses/Enums.chs"
7530 "lib/UI/NCurses/Panel.chs")
7531 (("<ncursesw/") "<"))
7532 #t)))
7533 #:cabal-revision
7534 ("1"
7535 "1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca")))
7536 (inputs (list ncurses))
7537 (native-inputs (list ghc-c2hs))
7538 (home-page "https://john-millikin.com/software/haskell-ncurses/")
7539 (synopsis "Modernised bindings to GNU ncurses")
7540 (description "GNU ncurses is a library for creating command-line application
7541 with pseudo-graphical interfaces. This package is a nice, modern binding to GNU
7542 ncurses.")
7543 (license license:gpl3)))
7544
7545 (define-public ghc-network
7546 (package
7547 (name "ghc-network")
7548 (version "3.1.2.7")
7549 (source (origin
7550 (method url-fetch)
7551 (uri (hackage-uri "network" version))
7552 (sha256
7553 (base32
7554 "119xqsyj44ix0z79mzfpww0cd9936bki1xa7cwykvbx1y7z20xkz"))))
7555 (build-system haskell-build-system)
7556 (properties '((upstream-name . "network")))
7557 (native-inputs (list ghc-hunit ghc-temporary ghc-hspec ghc-quickcheck
7558 ghc-doctest hspec-discover))
7559 (home-page "https://github.com/haskell/network")
7560 (synopsis "Low-level networking interface")
7561 (description "This package provides a low-level networking interface.")
7562 (license license:bsd-3)))
7563
7564 (define-public ghc-network-bsd
7565 (package
7566 (name "ghc-network-bsd")
7567 (version "2.8.1.0")
7568 (source
7569 (origin
7570 (method url-fetch)
7571 (uri (hackage-uri "network-bsd" version))
7572 (sha256
7573 (base32
7574 "0kid0811lv4x761fd5gv6lsc8p5j2bn41rfd366pjb642p562jfr"))))
7575 (build-system haskell-build-system)
7576 (properties '((upstream-name . "network-bsd")))
7577 (arguments
7578 `(#:cabal-revision
7579 ("4" "1gd9a8j7fwg0jz0s6il5fk9sl0hm19ja1w56ix51wa0qi2h5x56d")))
7580 (inputs
7581 (list ghc-network))
7582 (home-page "https://github.com/haskell/network-bsd")
7583 (synopsis "POSIX network database (<netdb.h>) API")
7584 (description "This package provides Haskell bindings to the the POSIX
7585 network database (<netdb.h>) API.")
7586 (license license:bsd-3)))
7587
7588 (define-public ghc-network-byte-order
7589 (package
7590 (name "ghc-network-byte-order")
7591 (version "0.1.6")
7592 (source
7593 (origin
7594 (method url-fetch)
7595 (uri (hackage-uri "network-byte-order" version))
7596 (sha256
7597 (base32
7598 "0pnwcg13k4qw82n0zc1xibyc24sc77y79j5a62pqdmjrnz4wrc7j"))))
7599 (build-system haskell-build-system)
7600 (properties '((upstream-name . "network-byte-order")))
7601 (native-inputs
7602 (list ghc-doctest))
7603 (home-page "https://hackage.haskell.org/package/network-byte-order")
7604 (synopsis "Network byte order utilities")
7605 (description "This library provides peek and poke functions for network
7606 byte order.")
7607 (license license:bsd-3)))
7608
7609 (define-public ghc-network-info
7610 (package
7611 (name "ghc-network-info")
7612 (version "0.2.1")
7613 (source (origin
7614 (method url-fetch)
7615 (uri (hackage-uri "network-info" version))
7616 (sha256
7617 (base32
7618 "015lm3b8n8sb16qsffjxz1jvijyy0z600ch0sm8h6a685wqqhbcv"))))
7619 (build-system haskell-build-system)
7620 (properties '((upstream-name . "network-info")))
7621 (home-page "http://github.com/jacobstanley/network-info")
7622 (synopsis "Access the local computer's basic network configuration")
7623 (description
7624 "This Haskell library provides simple read-only access to the
7625 local computer's networking configuration. It is currently capable of
7626 getting a list of all the network interfaces and their respective
7627 IPv4, IPv6 and MAC addresses.")
7628 (license license:bsd-3)))
7629
7630 (define-public ghc-network-multicast
7631 (package
7632 (name "ghc-network-multicast")
7633 (version "0.3.2")
7634 (source
7635 (origin
7636 (method url-fetch)
7637 (uri (hackage-uri "network-multicast" version))
7638 (sha256
7639 (base32
7640 "0whvi0pbwjy6dbwfdf9rv1j3yr3lcmfp3q7a8pwq63g537l4l2l3"))))
7641 (build-system haskell-build-system)
7642 (properties '((upstream-name . "network-multicast")))
7643 (inputs
7644 (list ghc-network ghc-network-bsd))
7645 (home-page
7646 "https://hackage.haskell.org/package/network-multicast")
7647 (synopsis "Simple multicast library for Haskell")
7648 (description
7649 "This package provides the Network.Multicast Haskell module for
7650 sending UDP datagrams over multicast (class D) addresses.")
7651 ;; Note that this is technically under CC0 1.0 and Expat, though it's not
7652 ;; totally clear what the breakdown is. Since CC0 1.0 is effectively
7653 ;; "public domain with a minimal fallback license", figuring marking it
7654 ;; as effectively Expat is probably correct.
7655 (license license:expat)))
7656
7657 (define-public ghc-network-uri
7658 (package
7659 (name "ghc-network-uri")
7660 (version "2.6.4.2")
7661 (source (origin
7662 (method url-fetch)
7663 (uri (hackage-uri "network-uri" version))
7664 (sha256
7665 (base32
7666 "0a3jg6aykwm1yw32nh137hi6r86w2640xwl1p18352bf29rqj64w"))))
7667 (build-system haskell-build-system)
7668 (properties '((upstream-name . "network-uri")))
7669 (inputs (list ghc-th-compat))
7670 (native-inputs (list ghc-hunit ghc-tasty ghc-tasty-hunit
7671 ghc-tasty-quickcheck ghc-quickcheck))
7672 (home-page "https://github.com/haskell/network-uri")
7673 (synopsis "Library for URI manipulation")
7674 (description
7675 "This package provides an URI manipulation interface. In
7676 @code{network-2.6} the @code{Network.URI} module was split off from the
7677 @code{network} package into this package.")
7678 (license license:bsd-3)))
7679
7680 (define-public ghc-newtype-generics
7681 (package
7682 (name "ghc-newtype-generics")
7683 (version "0.6.2")
7684 (source (origin
7685 (method url-fetch)
7686 (uri (hackage-uri "newtype-generics" version))
7687 (sha256
7688 (base32
7689 "0km7cp041bgdgrxrbrawz611mcylxp943880a2yg228a09961b51"))))
7690 (build-system haskell-build-system)
7691 (properties '((upstream-name . "newtype-generics")))
7692 (native-inputs (list ghc-hspec hspec-discover))
7693 (arguments
7694 `(#:cabal-revision ("1"
7695 "0xgc7sxs1p3qibgwbikjdrhn47j7m4gk5x1wrv9hncks6hd6hsyf")))
7696 (home-page "http://github.com/sjakobi/newtype-generics")
7697 (synopsis "Typeclass and set of functions for working with newtypes")
7698 (description
7699 "The @code{Newtype} typeclass represents the packing and
7700 unpacking of a newtype, and allows you to operate under that newtype with
7701 functions such as @code{ala}. Generics support was added in version 0.4,
7702 making this package a full replacement for the original newtype package,
7703 and an alternative to newtype-th.")
7704 (license license:bsd-3)))
7705
7706 (define-public ghc-non-negative
7707 (package
7708 (name "ghc-non-negative")
7709 (version "0.1.2")
7710 (source
7711 (origin
7712 (method url-fetch)
7713 (uri
7714 (hackage-uri "non-negative" version))
7715 (sha256
7716 (base32
7717 "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n"))))
7718 (build-system haskell-build-system)
7719 (properties '((upstream-name . "non-negative")))
7720 (inputs
7721 (list ghc-semigroups ghc-utility-ht ghc-quickcheck))
7722 (home-page "https://hackage.haskell.org/package/non-negative")
7723 (synopsis "Non-negative numbers class")
7724 (description "This library provides a class for non-negative numbers,
7725 a wrapper which can turn any ordered numeric type into a member of that
7726 class, and a lazy number type for non-negative numbers (a generalization
7727 of Peano numbers).")
7728 (license license:gpl3+)))
7729
7730 (define-public ghc-nonce
7731 (package
7732 (name "ghc-nonce")
7733 (version "1.0.7")
7734 (source
7735 (origin
7736 (method url-fetch)
7737 (uri (hackage-uri "nonce" version))
7738 (sha256
7739 (base32
7740 "1q9ph0aq51mvdvydnriqd12sfin36pfb8f588zgac1ybn8r64ksb"))))
7741 (build-system haskell-build-system)
7742 (properties '((upstream-name . "nonce")))
7743 (arguments
7744 `(#:cabal-revision
7745 ("2" "09xvg4lpmb1hw153afhbjrdg9v3npfwpdfhpv5y8b0qvb4zi3n9q")))
7746 (inputs
7747 (list ghc-base64-bytestring ghc-entropy ghc-unliftio
7748 ghc-unliftio-core))
7749 (home-page "https://github.com/prowdsponsor/nonce")
7750 (synopsis "Generate cryptographic nonces in Haskell")
7751 (description
7752 "A nonce is an arbitrary number used only once in a cryptographic
7753 communication. This package contain helper functions for generating nonces.
7754 There are many kinds of nonces used in different situations. It's not
7755 guaranteed that by using the nonces from this package you won't have any
7756 security issues. Please make sure that the nonces generated via this
7757 package are usable on your design.")
7758 (license license:bsd-3)))
7759
7760 (define-public ghc-numeric-extras
7761 (package
7762 (name "ghc-numeric-extras")
7763 (version "0.1")
7764 (source
7765 (origin
7766 (method url-fetch)
7767 (uri (hackage-uri "numeric-extras" version))
7768 (sha256
7769 (base32
7770 "1mk11c0gz1yjy5b8dvq6czfny57pln0bs7x28fz38qyr44872067"))))
7771 (build-system haskell-build-system)
7772 (properties '((upstream-name . "numeric-extras")))
7773 (home-page "https://github.com/ekmett/numeric-extras")
7774 (synopsis "Useful tools from the C standard library")
7775 (description "This library provides some useful tools from the C
7776 standard library.")
7777 (license license:bsd-3)))
7778
7779 (define-public ghc-objectname
7780 (package
7781 (name "ghc-objectname")
7782 (version "1.1.0.2")
7783 (source (origin
7784 (method url-fetch)
7785 (uri (hackage-uri "ObjectName" version))
7786 (sha256
7787 (base32
7788 "0xdkfc97salzj5s3fvmwk4k0097dcd8c4xcr5ghhv9mz0wcxm9gz"))))
7789 (build-system haskell-build-system)
7790 (properties '((upstream-name . "ObjectName")))
7791 (home-page "https://github.com/svenpanne/ObjectName")
7792 (synopsis "Helper library for Haskell OpenGL")
7793 (description
7794 "This tiny package contains the class ObjectName, which
7795 corresponds to the general notion of explicitly handled identifiers for API
7796 objects, e.g. a texture object name in OpenGL or a buffer object name in
7797 OpenAL.")
7798 (license license:bsd-3)))
7799
7800 (define-public ghc-old-locale
7801 (package
7802 (name "ghc-old-locale")
7803 (version "1.0.0.7")
7804 (source
7805 (origin
7806 (method url-fetch)
7807 (uri (hackage-uri "old-locale" version))
7808 (sha256
7809 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
7810 (build-system haskell-build-system)
7811 (properties '((upstream-name . "old-locale")))
7812 (arguments
7813 `(#:cabal-revision
7814 ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs")))
7815 (home-page "https://hackage.haskell.org/package/old-locale")
7816 (synopsis "Adapt to locale conventions")
7817 (description
7818 "This package provides the ability to adapt to locale conventions such as
7819 date and time formats.")
7820 (license license:bsd-3)))
7821
7822 (define-public ghc-old-time
7823 (package
7824 (name "ghc-old-time")
7825 (version "1.1.0.3")
7826 (source
7827 (origin
7828 (method url-fetch)
7829 (uri (hackage-uri "old-time" version))
7830 (sha256
7831 (base32
7832 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
7833 (build-system haskell-build-system)
7834 (properties '((upstream-name . "old-time")))
7835 (arguments
7836 `(#:cabal-revision
7837 ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9")))
7838 (inputs
7839 (list ghc-old-locale))
7840 (home-page "https://hackage.haskell.org/package/old-time")
7841 (synopsis "Time compatibility library for Haskell")
7842 (description "Old-time is a package for backwards compatibility with the
7843 old @code{time} library. For new projects, the newer
7844 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
7845 (license license:bsd-3)))
7846
7847 (define-public ghc-only
7848 (package
7849 (name "ghc-only")
7850 (version "0.1")
7851 (source
7852 (origin
7853 (method url-fetch)
7854 (uri (hackage-uri "Only" version))
7855 (sha256
7856 (base32
7857 "0rdj3a629fk2vp121jq8mf2smkblrz5w3cxhlsyx6my2x29s2ymb"))))
7858 (build-system haskell-build-system)
7859 (properties '((upstream-name . "Only")))
7860 (arguments
7861 `(#:cabal-revision
7862 ("1"
7863 "1ahk7p34kmh041mz7lyc10nhcxgv2i4z8nvzxvqm2x34gslmsbzr")))
7864 (home-page "https://hackage.haskell.org/package/Only")
7865 (synopsis "The 1-tuple type or single-value collection")
7866 (description
7867 "This package provides a canonical anonymous 1-tuple type missing from
7868 Haskell for attaching typeclass instances.
7869
7870 There is also the @url{https://hackage.haskell.org/package/OneTuple, OneTuple
7871 package} which by using a boxed @code{data}-type provides a 1-tuple type which
7872 has laziness properties which are more faithful to the ones of Haskell's
7873 native tuples; whereas the primary purpose of @code{Only} is to provide the
7874 traditionally so named type-wrapper for attaching typeclass instances.")
7875 (license license:bsd-3)))
7876
7877 (define-public ghc-opengl
7878 (package
7879 (name "ghc-opengl")
7880 (version "3.0.3.0")
7881 (source
7882 (origin
7883 (method url-fetch)
7884 (uri (hackage-uri "OpenGL" version))
7885 (sha256
7886 (base32
7887 "069fg8jcxqq2z9iikynd8vi3jxm2b5y3qywdh4bdviyzab3zy1as"))))
7888 (build-system haskell-build-system)
7889 (properties '((upstream-name . "OpenGL")))
7890 (arguments
7891 `(#:cabal-revision ("2"
7892 "1nhlswxgxn8l1ysjq3fp3w5pvx6651d33036i8dlbqygzrn6iwmh")))
7893 (inputs
7894 (list ghc-objectname ghc-gluraw ghc-statevar ghc-openglraw))
7895 (home-page "https://wiki.haskell.org/Opengl")
7896 (synopsis "Haskell bindings for the OpenGL graphics system")
7897 (description "This package provides Haskell bindings for the OpenGL
7898 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
7899 version 1.3).")
7900 (license license:bsd-3)))
7901
7902 (define-public ghc-openglraw
7903 (package
7904 (name "ghc-openglraw")
7905 (version "3.3.4.1")
7906 (source (origin
7907 (method url-fetch)
7908 (uri (hackage-uri "OpenGLRaw" version))
7909 (sha256
7910 (base32
7911 "07nk0rgm6jcxz6yshwhv5lj5frs6371w3hdjxwa4biws2kmbs6hj"))))
7912 (build-system haskell-build-system)
7913 (properties '((upstream-name . "OpenGLRaw")))
7914 (inputs (list ghc-fixed ghc-half glu))
7915 (arguments
7916 `(#:extra-directories ("glu")
7917 #:cabal-revision ("1"
7918 "15abvqkxc08lx9d44323izccfp7bqfiljnd587zn80vdvmkzs6zc")))
7919 (home-page "http://www.haskell.org/haskellwiki/Opengl")
7920 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
7921 (description
7922 "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
7923 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
7924 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
7925 offers access to all necessary functions, tokens and types plus a general
7926 facility for loading extension entries. The module hierarchy closely mirrors
7927 the naming structure of the OpenGL extensions, making it easy to find the
7928 right module to import. All API entries are loaded dynamically, so no special
7929 C header files are needed for building this package. If an API entry is not
7930 found at runtime, a userError is thrown.")
7931 (license license:bsd-3)))
7932
7933 (define-public ghc-operational
7934 (package
7935 (name "ghc-operational")
7936 (version "0.2.4.1")
7937 (source (origin
7938 (method url-fetch)
7939 (uri (hackage-uri "operational" version))
7940 (sha256
7941 (base32
7942 "0aa1pxymvkhbs0x03ikfiap2skzyf2z7307kz5adkmb3qmykcqa2"))))
7943 (build-system haskell-build-system)
7944 (properties '((upstream-name . "operational")))
7945 (inputs (list ghc-random))
7946 (home-page "http://wiki.haskell.org/Operational")
7947 (synopsis
7948 "Implementation of difficult monads made easy with operational semantics")
7949 (description
7950 "This library makes it easy to implement monads with tricky control
7951 flow. This is useful for: writing web applications in a sequential style,
7952 programming games with a uniform interface for human and AI players and easy
7953 replay capababilities, implementing fast parser monads, designing monadic
7954 DSLs, etc.")
7955 (license license:bsd-3)))
7956
7957 (define-public ghc-optional-args
7958 (package
7959 (name "ghc-optional-args")
7960 (version "1.0.2")
7961 (source
7962 (origin
7963 (method url-fetch)
7964 (uri (hackage-uri "optional-args" version))
7965 (sha256
7966 (base32
7967 "1r5hhn6xvc01grggxdyy48daibwzi0aikgidq0ahpa6bfynm8d1f"))))
7968 (build-system haskell-build-system)
7969 (properties '((upstream-name . "optional-args")))
7970 (home-page
7971 "https://hackage.haskell.org/package/optional-args")
7972 (synopsis "Optional function arguments")
7973 (description
7974 "This library provides a type for specifying @code{Optional} function
7975 arguments.")
7976 (license license:bsd-3)))
7977
7978 (define-public ghc-options
7979 (package
7980 (name "ghc-options")
7981 (version "1.2.1.1")
7982 (source
7983 (origin
7984 (method url-fetch)
7985 (uri (hackage-uri "options" version))
7986 (sha256
7987 (base32
7988 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7989 (build-system haskell-build-system)
7990 (properties '((upstream-name . "options")))
7991 (arguments
7992 `(#:phases
7993 (modify-phases %standard-phases
7994 (add-before 'configure 'update-constraints
7995 (lambda _
7996 (substitute* "options.cabal"
7997 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4 && < 0.6"))
7998 #t)))))
7999 (inputs
8000 (list ghc-monads-tf ghc-chell ghc-chell-quickcheck))
8001 (home-page "https://john-millikin.com/software/haskell-options/")
8002 (synopsis "Powerful and easy-to-use command-line option parser")
8003 (description
8004 "The @code{options} package lets library and application developers
8005 easily work with command-line options.")
8006 (license license:expat)))
8007
8008 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
8009 (define ghc-options-bootstrap
8010 (package
8011 (name "ghc-options-bootstrap")
8012 (version "1.2.1.1")
8013 (source
8014 (origin
8015 (method url-fetch)
8016 (uri (string-append
8017 "https://hackage.haskell.org/package/options/options-"
8018 version ".tar.gz"))
8019 (sha256
8020 (base32
8021 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
8022 (build-system haskell-build-system)
8023 (arguments
8024 `(#:tests? #f))
8025 (inputs
8026 `(("ghc-monads-tf" ,ghc-monads-tf)))
8027 (home-page "https://john-millikin.com/software/haskell-options/")
8028 (synopsis "Powerful and easy-to-use command-line option parser")
8029 (description
8030 "The @code{options} package lets library and application developers
8031 easily work with command-line options.")
8032 (license license:expat)))
8033
8034
8035 (define-public ghc-optparse-applicative
8036 (package
8037 (name "ghc-optparse-applicative")
8038 (version "0.17.0.0")
8039 (source (origin
8040 (method url-fetch)
8041 (uri (hackage-uri "optparse-applicative" version))
8042 (sha256
8043 (base32
8044 "097p1bkvw9r3rvcr65w53yw14drb0s46ldkkl1jbmq5g7m6jwnw2"))))
8045 (build-system haskell-build-system)
8046 (properties '((upstream-name . "optparse-applicative")))
8047 (inputs (list ghc-transformers-compat ghc-ansi-wl-pprint))
8048 (native-inputs (list ghc-quickcheck))
8049 (home-page "https://github.com/pcapriotti/optparse-applicative")
8050 (synopsis "Utilities and combinators for parsing command line options")
8051 (description "This package provides utilities and combinators for parsing
8052 command line options in Haskell.")
8053 (license license:bsd-3)))
8054
8055 (define-public ghc-optparse-applicative-0.15.1.0
8056 (package
8057 (inherit ghc-optparse-applicative)
8058 (name "ghc-optparse-applicative")
8059 (version "0.15.1.0")
8060 (source
8061 (origin
8062 (method url-fetch)
8063 (uri (string-append
8064 "https://hackage.haskell.org/package/optparse-applicative/optparse-applicative-"
8065 version
8066 ".tar.gz"))
8067 (sha256
8068 (base32 "1ws6y3b3f6hsgv0ff0yp6lw4hba1rps4dnvry3yllng0s5gngcsd"))))
8069 (inputs
8070 (list ghc-transformers-compat ghc-ansi-wl-pprint))
8071 (native-inputs (list ghc-quickcheck))
8072 (arguments
8073 `(#:cabal-revision
8074 ("1" "0zmhqkd96v2z1ilhqdkd9z4jgsnsxb8yi2479ind8m5zm9363zr9")))))
8075
8076 (define-public ghc-jira-wiki-markup
8077 (package
8078 (name "ghc-jira-wiki-markup")
8079 (version "1.4.0")
8080 (source
8081 (origin
8082 (method url-fetch)
8083 (uri (hackage-uri "jira-wiki-markup" version))
8084 (sha256
8085 (base32 "0p6axj6km4440ss5naw68r3r85si4qxqgrklp6ssfyapawy0s88w"))))
8086 (build-system haskell-build-system)
8087 (properties '((upstream-name . "jira-wiki-markup")))
8088 (native-inputs
8089 (list ghc-tasty ghc-tasty-hunit))
8090 (home-page "https://github.com/tarleb/jira-wiki-markup")
8091 (synopsis "Handle Jira wiki markup")
8092 (description
8093 "Parse jira wiki text into an abstract syntax tree for easy transformation
8094 to other formats.")
8095 (license license:expat)))
8096
8097 (define-public ghc-emojis
8098 (package
8099 (name "ghc-emojis")
8100 (version "0.1.2")
8101 (source
8102 (origin
8103 (method url-fetch)
8104 (uri (hackage-uri "emojis" version))
8105 (sha256
8106 (base32 "09x2xrppwypi369y7rzf3ln2g7c3g9qfckn2gydxpfzglcp9rziw"))))
8107 (build-system haskell-build-system)
8108 (properties '((upstream-name . "emojis")))
8109 (native-inputs
8110 (list ghc-hunit))
8111 (home-page "https://github.com/jgm/emojis#readme")
8112 (synopsis "Conversion between emoji characters and their names")
8113 (description
8114 "This package provides functions for converting emoji names to emoji
8115 characters and vice versa.
8116
8117 How does it differ from the @code{emoji} package?
8118 @itemize
8119 @item It supports a fuller range of emojis, including all those supported by
8120 GitHub
8121 @item It supports lookup of emoji aliases from emoji
8122 @item It uses Text rather than String
8123 @item It has a lighter dependency footprint: in particular, it does not
8124 require aeson
8125 @item It does not require TemplateHaskell
8126 @end itemize")
8127 (license license:bsd-3)))
8128
8129 (define-public ghc-text-conversions
8130 (package
8131 (name "ghc-text-conversions")
8132 (version "0.3.1.1")
8133 (source (origin
8134 (method url-fetch)
8135 (uri (hackage-uri "text-conversions" version))
8136 (sha256
8137 (base32
8138 "0pbjlzsjd3m8np5p6iq7zb0bx6n40d8jha76r8s07s4wg2x0yxy8"))))
8139 (build-system haskell-build-system)
8140 (properties '((upstream-name . "text-conversions")))
8141 (inputs (list ghc-base16-bytestring ghc-base64-bytestring))
8142 (native-inputs (list ghc-hspec hspec-discover))
8143 (home-page "https://github.com/cjdev/text-conversions")
8144 (synopsis "Safe conversions between textual types")
8145 (description "Safe conversions between textual types")
8146 (license license:isc)))
8147
8148 (define-public ghc-text-short
8149 (package
8150 (name "ghc-text-short")
8151 (version "0.1.5")
8152 (source (origin
8153 (method url-fetch)
8154 (uri (hackage-uri "text-short" version))
8155 (sha256
8156 (base32
8157 "1nid00c1rg5c1z7l9mwk3f2izc2sps2mip2hl30q985dwb6wcpm3"))))
8158 (build-system haskell-build-system)
8159 (properties '((upstream-name . "text-short")))
8160 (inputs (list ghc-hashable))
8161 (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-tasty-quickcheck))
8162 (arguments
8163 `(#:cabal-revision ("1"
8164 "0gmmwwchy9312kz8kr5jhiamqrnjqxdqg1wkrww4289yfj1p7dzb")))
8165 (home-page "http://hackage.haskell.org/package/text-short")
8166 (synopsis "Memory-efficient representation of Unicode text strings")
8167 (description
8168 "This package provides the @code{ShortText} type which
8169 is suitable for keeping many short strings in memory. This is similar
8170 to how @code{ShortByteString} relates to @code{ByteString}.
8171
8172 The main difference between @code{Text} and @code{ShortText} is that
8173 @code{ShortText} uses UTF-8 instead of UTF-16 internally and also doesn't
8174 support zero-copy slicing (thereby saving 2 words). Consequently, the memory
8175 footprint of a (boxed) @{ShortText} value is 4 words (2 words when unboxed)
8176 plus the length of the UTF-8 encoded payload.")
8177 (license license:bsd-3)))
8178
8179 (define-public ghc-text-zipper
8180 (package
8181 (name "ghc-text-zipper")
8182 (version "0.12")
8183 (source (origin
8184 (method url-fetch)
8185 (uri (hackage-uri "text-zipper" version))
8186 (sha256
8187 (base32
8188 "00k7d6qfznhp6l2ihw3pppkn580pwd7ac7wx9vidil4y9hjagaw6"))))
8189 (build-system haskell-build-system)
8190 (properties '((upstream-name . "text-zipper")))
8191 (inputs (list ghc-vector))
8192 (native-inputs (list ghc-hspec ghc-quickcheck hspec-discover))
8193 (home-page "https://github.com/jtdaugherty/text-zipper/")
8194 (synopsis "Text editor zipper library")
8195 (description
8196 "This Haskell library provides a two-dimensional zipper data structure for
8197 editing text. The structure represents the body of text and an editing cursor
8198 which can be moved through it, along with a set of editing transformations.
8199
8200 Text zippers are generalized over the set of data types that might be used to
8201 store lists of characters (e.g., @code{String}, @code{T.Text}, etc.).
8202 Implementations using both of these examples are provided.")
8203 (license license:bsd-3)))
8204
8205 (define-public ghc-doclayout
8206 (package
8207 (name "ghc-doclayout")
8208 (version "0.4")
8209 (source (origin
8210 (method url-fetch)
8211 (uri (hackage-uri "doclayout" version))
8212 (sha256
8213 (base32
8214 "18xkzywfw0hl3hgbq9z36hs040vb0iz9yygx33cybxfi4i0dwbkx"))))
8215 (build-system haskell-build-system)
8216 (properties '((upstream-name . "doclayout")))
8217 (inputs (list ghc-emojis ghc-safe))
8218 (native-inputs (list ghc-tasty ghc-tasty-golden ghc-tasty-hunit
8219 ghc-tasty-quickcheck))
8220 (arguments
8221 `(#:cabal-revision ("1"
8222 "0djwb7nrdablc0iy1qakrxpd4m7nn0w94vhb78il3jhjbj2ji179")))
8223 (home-page "https://github.com/jgm/doclayout")
8224 (synopsis "Pretty-printing library for laying out text documents")
8225 (description
8226 "doclayout is a pretty-printing library for laying out text documents,
8227 with several features not present in pretty-printing libraries designed for
8228 code. It was designed for use in @code{Pandoc}.")
8229 (license license:bsd-3)))
8230
8231 (define-public pandoc
8232 (package
8233 (name "pandoc")
8234 (version "2.19.2")
8235 (source (origin
8236 (method url-fetch)
8237 (uri (hackage-uri "pandoc" version))
8238 (sha256
8239 (base32
8240 "0ia2gpl345lwymk38y89sgcqjci7sjmxbi228idg6nkaqfa3ds1n"))
8241 (modules '((guix build utils)))
8242 (snippet
8243 '(begin
8244 ;; Fix test case.
8245 (substitute* "test/writer.ms"
8246 (("\\\\\\[u2212\\]") "-"))))))
8247 (build-system haskell-build-system)
8248 (properties '((upstream-name . "pandoc")))
8249 (inputs (list ghc-glob
8250 ghc-juicypixels
8251 ghc-sha
8252 ghc-aeson
8253 ghc-aeson-pretty
8254 ghc-attoparsec
8255 ghc-blaze-html
8256 ghc-blaze-markup
8257 ghc-case-insensitive
8258 ghc-citeproc
8259 ghc-commonmark
8260 ghc-commonmark-extensions
8261 ghc-commonmark-pandoc
8262 ghc-connection
8263 ghc-data-default
8264 ghc-doclayout
8265 ghc-doctemplates
8266 ghc-base64
8267 ghc-emojis
8268 ghc-file-embed
8269 ghc-gridtables
8270 ghc-haddock-library
8271 ghc-hslua-module-doclayout
8272 ghc-hslua-module-path
8273 ghc-hslua-module-system
8274 ghc-hslua-module-text
8275 ghc-hslua-module-version
8276 ghc-http-client
8277 ghc-http-client-tls
8278 ghc-http-types
8279 ghc-ipynb
8280 ghc-jira-wiki-markup
8281 ghc-lpeg
8282 ghc-network
8283 ghc-network-uri
8284 ghc-pandoc-lua-marshal
8285 ghc-pandoc-types
8286 ghc-pretty-show
8287 ghc-random
8288 ghc-safe
8289 ghc-scientific
8290 ghc-skylighting
8291 ghc-skylighting-core
8292 ghc-split
8293 ghc-syb
8294 ghc-tagsoup
8295 ghc-temporary
8296 ghc-texmath
8297 ghc-text-conversions
8298 ghc-unicode-collation
8299 ghc-unicode-transforms
8300 ghc-xml
8301 ghc-xml-conduit
8302 ghc-xml-types
8303 ghc-yaml
8304 ghc-zip-archive
8305 ghc-zlib
8306 ghc-servant-server
8307 ghc-wai
8308 ghc-hslua
8309 ghc-hslua-aeson
8310 ghc-wai-extra
8311 ghc-warp))
8312 (native-inputs (list ghc-diff
8313 ghc-tasty
8314 ghc-tasty-golden
8315 ghc-tasty-hunit
8316 ghc-tasty-lua
8317 ghc-tasty-quickcheck))
8318 (home-page "https://pandoc.org")
8319 (synopsis "Conversion between markup formats")
8320 (description
8321 "Pandoc is a Haskell library for converting from one markup format to
8322 another, and a command-line tool that uses this library. It can read and
8323 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
8324 LaTeX, DocBook, and many more.
8325
8326 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
8327 definition lists, tables, and other features. A compatibility mode is
8328 provided for those who need a drop-in replacement for Markdown.pl.")
8329 (license license:gpl2+)))
8330
8331 (define-public ghc-pandoc
8332 (deprecated-package "ghc-pandoc" pandoc))
8333
8334 (define-public ghc-pandoc-types
8335 (package
8336 (name "ghc-pandoc-types")
8337 (version "1.22.2.1")
8338 (source (origin
8339 (method url-fetch)
8340 (uri (hackage-uri "pandoc-types" version))
8341 (sha256
8342 (base32
8343 "17b5c4b9jmx2gca1wk9vlnvvlzdw21qiqc0bpikkkiv7kl99drsc"))))
8344 (build-system haskell-build-system)
8345 (properties '((upstream-name . "pandoc-types")))
8346 (inputs (list ghc-syb ghc-aeson ghc-quickcheck))
8347 (native-inputs (list ghc-test-framework ghc-test-framework-hunit
8348 ghc-test-framework-quickcheck2 ghc-hunit
8349 ghc-string-qq))
8350 (home-page "https://pandoc.org/")
8351 (synopsis "Types for representing a structured document")
8352 (description
8353 "This module defines the @code{Pandoc} data structure, which is used by
8354 pandoc to represent structured documents. It also provides functions for
8355 building up, manipulating and serialising @code{Pandoc} structures.")
8356 (license license:bsd-3)))
8357
8358 (define-public ghc-parallel
8359 (package
8360 (name "ghc-parallel")
8361 (version "3.2.2.0")
8362 (outputs '("out" "static" "doc"))
8363 (source
8364 (origin
8365 (method url-fetch)
8366 (uri (hackage-uri "parallel" version))
8367 (sha256
8368 (base32
8369 "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"))))
8370 (build-system haskell-build-system)
8371 (properties '((upstream-name . "parallel")))
8372 (arguments
8373 `(#:cabal-revision ("5"
8374 "1q45wzpf2sda0244l55gakl3g5zqhcb27m86nhl3vslcjc35mpbf")))
8375 (home-page "https://hackage.haskell.org/package/parallel")
8376 (synopsis "Parallel programming library")
8377 (description
8378 "This package provides a library for parallel programming.")
8379 (license license:bsd-3)))
8380
8381 (define-public ghc-parsec
8382 (package
8383 (name "ghc-parsec")
8384 (version "3.1.14.0")
8385 (source (origin
8386 (method url-fetch)
8387 (uri (hackage-uri "parsec" version))
8388 (sha256
8389 (base32
8390 "132waj2cpn892midbhpkfmb74qq83v0zv29v885frlp1gvh94b67"))))
8391 (build-system haskell-build-system)
8392 (native-inputs (list ghc-hunit ghc-test-framework ghc-test-framework-hunit))
8393 (arguments
8394 `(#:cabal-revision
8395 ("4" "0p65q054iaz2117a5qk1428dic4sb41acclys9k00zna24ks7iq3")))
8396 (home-page "https://github.com/haskell/parsec")
8397 (synopsis "Monadic parser combinators")
8398 (description "Parsec is designed from scratch as an industrial-strength
8399 parser library. It is simple, safe, well documented (on the package
8400 homepage), has extensive libraries, good error messages, and is fast. It is
8401 defined as a monad transformer that can be stacked on arbitrary monads, and it
8402 is also parametric in the input stream type.")
8403 (license license:bsd-3)))
8404
8405 (define-public ghc-parsec-numbers
8406 (package
8407 (name "ghc-parsec-numbers")
8408 (version "0.1.0")
8409 (source
8410 (origin
8411 (method url-fetch)
8412 (uri (hackage-uri "parsec-numbers" version))
8413 (sha256
8414 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
8415 (build-system haskell-build-system)
8416 (properties '((upstream-name . "parsec-numbers")))
8417 (home-page "https://hackage.haskell.org/package/parsec-numbers")
8418 (synopsis "Utilities for parsing numbers from strings")
8419 (description
8420 "This package provides the number parsers without the need to use a large
8421 (and unportable) token parser.")
8422 (license license:bsd-3)))
8423
8424 (define-public ghc-parser-combinators
8425 (package
8426 (name "ghc-parser-combinators")
8427 (version "1.3.0")
8428 (source (origin
8429 (method url-fetch)
8430 (uri (hackage-uri "parser-combinators" version))
8431 (sha256
8432 (base32
8433 "0is45q3q6ngfqvzpwwga9phbwk45v7g1q2x1rlm95a7q946yy44k"))))
8434 (build-system haskell-build-system)
8435 (properties '((upstream-name . "parser-combinators")))
8436 (home-page "https://github.com/mrkkrp/parser-combinators")
8437 (synopsis "Commonly useful parser combinators")
8438 (description
8439 "This is a lightweight package providing commonly useful parser
8440 combinators.")
8441 (license license:bsd-3)))
8442
8443 (define-public ghc-parsers
8444 (package
8445 (name "ghc-parsers")
8446 (version "0.12.11")
8447 (source (origin
8448 (method url-fetch)
8449 (uri (hackage-uri "parsers" version))
8450 (sha256
8451 (base32
8452 "068k7fm0s13z0jkkffc149cqcxnzpk1m066lp4ccdfcb41km1zwi"))))
8453 (build-system haskell-build-system)
8454 (properties '((upstream-name . "parsers")))
8455 (inputs (list ghc-base-orphans
8456 ghc-charset
8457 ghc-scientific
8458 ghc-unordered-containers
8459 ghc-attoparsec
8460 ghc-semigroups))
8461 (native-inputs (list ghc-quickcheck ghc-quickcheck-instances))
8462 (home-page "http://github.com/ekmett/parsers/")
8463 (synopsis "Parsing combinators")
8464 (description
8465 "This library provides convenient combinators for working
8466 with and building parsing combinator libraries. Given a few simple instances,
8467 you get access to a large number of canned definitions. Instances exist for
8468 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
8469 @code{Text.Read}.")
8470 (license license:bsd-3)))
8471
8472 (define-public ghc-path
8473 (package
8474 (name "ghc-path")
8475 (version "0.9.2")
8476 (source (origin
8477 (method url-fetch)
8478 (uri (hackage-uri "path" version))
8479 (sha256
8480 (base32
8481 "15xxsjdxxqxnh20iqhprbdyhldk2igl5gd4ld6hhk9nqgwqdcr0f"))))
8482 (build-system haskell-build-system)
8483 (properties '((upstream-name . "path")))
8484 (inputs (list ghc-aeson ghc-hashable))
8485 (native-inputs (list ghc-hspec
8486 ghc-quickcheck
8487 ghc-genvalidity
8488 ghc-genvalidity-property
8489 ghc-genvalidity-hspec
8490 ghc-hspec
8491 ghc-validity))
8492 (home-page "http://hackage.haskell.org/package/path")
8493 (synopsis "Support for well-typed paths")
8494 (description "This package introduces a type for paths upholding useful
8495 invariants.")
8496 (license license:bsd-3)))
8497
8498 (define-public ghc-path-io
8499 (package
8500 (name "ghc-path-io")
8501 (version "1.7.0")
8502 (source (origin
8503 (method url-fetch)
8504 (uri (hackage-uri "path-io" version))
8505 (sha256
8506 (base32
8507 "1jr1inh3x0a42rdh4q0jipbw8jsprdza1j5xkzd7nxcq0a143g9l"))))
8508 (build-system haskell-build-system)
8509 (properties '((upstream-name . "path-io")))
8510 (inputs (list ghc-dlist ghc-path ghc-temporary ghc-unix-compat))
8511 (native-inputs (list ghc-hspec))
8512 (home-page "https://github.com/mrkkrp/path-io")
8513 (synopsis "Functions for manipulating well-typed paths")
8514 (description
8515 "This package provides an interface to the @code{directory}
8516 package for users of @code{path}. It also implements some missing stuff like
8517 recursive scanning and copying of directories, working with temporary
8518 files/directories, and more.")
8519 (license license:bsd-3)))
8520
8521 (define-public ghc-paths
8522 (package
8523 (name "ghc-paths")
8524 (version "0.1.0.12")
8525 (outputs '("out" "static" "doc"))
8526 (source
8527 (origin
8528 (method url-fetch)
8529 (uri (hackage-uri "ghc-paths" version))
8530 (sha256
8531 (base32
8532 "1164w9pqnf7rjm05mmfjznz7rrn415blrkk1kjc0gjvks1vfdjvf"))))
8533 (build-system haskell-build-system)
8534 (properties '((upstream-name . "ghc-paths")))
8535 (home-page "https://github.com/simonmar/ghc-paths")
8536 (synopsis
8537 "Knowledge of GHC's installation directories")
8538 (description
8539 "Knowledge of GHC's installation directories.")
8540 (license license:bsd-3)))
8541
8542 (define-public ghc-patience
8543 (package
8544 (name "ghc-patience")
8545 (version "0.3")
8546 (source
8547 (origin
8548 (method url-fetch)
8549 (uri (hackage-uri "patience" version))
8550 (sha256
8551 (base32
8552 "1i1b37lgi31c17yrjyf8pdm4nf5lq8vw90z3rri78hf0k66d0p3i"))))
8553 (build-system haskell-build-system)
8554 (properties '((upstream-name . "patience")))
8555 (home-page "https://hackage.haskell.org/package/patience")
8556 (synopsis "Patience diff and longest increasing subsequence")
8557 (description
8558 "This library implements the 'patience diff' algorithm, as well as the
8559 patience algorithm for the longest increasing subsequence problem.
8560 Patience diff computes the difference between two lists, for example the lines
8561 of two versions of a source file. It provides a good balance between
8562 performance, nice output for humans, and simplicity of implementation.")
8563 (license license:bsd-3)))
8564
8565 (define-public ghc-pattern-arrows
8566 (package
8567 (name "ghc-pattern-arrows")
8568 (version "0.0.2")
8569 (source
8570 (origin
8571 (method url-fetch)
8572 (uri (hackage-uri "pattern-arrows" version))
8573 (sha256
8574 (base32
8575 "13q7bj19hd60rnjfc05wxlyck8llxy11z3mns8kxg197wxrdkhkg"))))
8576 (build-system haskell-build-system)
8577 (properties '((upstream-name . "pattern-arrows")))
8578 (home-page
8579 "https://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html")
8580 (synopsis "Arrows for Pretty Printing")
8581 (description
8582 "A library for generating concise pretty printers based on precedence
8583 rules.")
8584 (license license:expat)))
8585
8586 (define-public ghc-pcre-light
8587 (package
8588 (name "ghc-pcre-light")
8589 (version "0.4.1.0")
8590 (source
8591 (origin
8592 (method url-fetch)
8593 (uri (hackage-uri "pcre-light" version))
8594 (sha256
8595 (base32
8596 "0lqvsmc6bfhdv6igm3fmw8nklyhw3j3jsl0s1k6r3fhb6ambzxhn"))))
8597 (build-system haskell-build-system)
8598 (properties '((upstream-name . "pcre-light")))
8599 (arguments
8600 `(#:extra-directories ("pcre")))
8601 (inputs
8602 (list pcre))
8603 (native-inputs
8604 (list pkg-config ghc-hunit))
8605 (home-page "https://github.com/Daniel-Diaz/pcre-light")
8606 (synopsis "Haskell library for Perl 5 compatible regular expressions")
8607 (description "This package provides a small, efficient, and portable regex
8608 library for Perl 5 compatible regular expressions. The PCRE library is a set
8609 of functions that implement regular expression pattern matching using the same
8610 syntax and semantics as Perl 5.")
8611 (license license:bsd-3)))
8612
8613 (define-public ghc-persistent
8614 (package
8615 (name "ghc-persistent")
8616 (version "2.13.3.5")
8617 (source (origin
8618 (method url-fetch)
8619 (uri (hackage-uri "persistent" version))
8620 (sha256
8621 (base32
8622 "0z69yvk0rd29dp5qdhi4p587b891y90azrzzpa3g10cxp3gyywvm"))))
8623 (build-system haskell-build-system)
8624 (properties '((upstream-name . "persistent")))
8625 (inputs (list ghc-conduit
8626 ghc-aeson
8627 ghc-attoparsec
8628 ghc-base64-bytestring
8629 ghc-blaze-html
8630 ghc-fast-logger
8631 ghc-http-api-data
8632 ghc-lift-type
8633 ghc-monad-logger
8634 ghc-path-pieces
8635 ghc-resource-pool
8636 ghc-resourcet
8637 ghc-scientific
8638 ghc-silently
8639 ghc-th-lift-instances
8640 ghc-unliftio
8641 ghc-unliftio-core
8642 ghc-unordered-containers
8643 ghc-vault
8644 ghc-vector))
8645 (native-inputs (list ghc-hspec ghc-quickcheck ghc-quickcheck-instances
8646 ghc-shakespeare))
8647 (arguments
8648 `(#:cabal-revision ("3"
8649 "0kyipwaspzah6f88s51d61kr8i9g05grm2g0lnnw28jp06nggg5d")))
8650 (home-page "http://www.yesodweb.com/book/persistent")
8651 (synopsis "Type-safe, multi-backend data serialization for Haskell")
8652 (description
8653 "This Haskell package allows Haskell programs to access data
8654 storage systems like PostgreSQL, SQLite, and MariaDB in a type-safe way.")
8655 (license license:expat)))
8656
8657 (define-public ghc-persistent-sqlite
8658 (package
8659 (name "ghc-persistent-sqlite")
8660 (version "2.13.1.0")
8661 (source (origin
8662 (method url-fetch)
8663 (uri (hackage-uri "persistent-sqlite" version))
8664 (sha256
8665 (base32
8666 "1z8650nv10f6yldn9sihk54c7mlcnkxwaj956igvs6q3x3s8aa1b"))))
8667 (build-system haskell-build-system)
8668 (properties '((upstream-name . "persistent-sqlite")))
8669 (inputs (list ghc-persistent
8670 ghc-aeson
8671 ghc-conduit
8672 ghc-microlens-th
8673 ghc-monad-logger
8674 ghc-resource-pool
8675 ghc-resourcet
8676 ghc-unliftio-core
8677 ghc-unordered-containers))
8678 (native-inputs (list ghc-persistent-test
8679 ghc-fast-logger
8680 ghc-hspec
8681 ghc-hunit
8682 ghc-microlens
8683 ghc-quickcheck
8684 ghc-system-fileio
8685 ghc-system-filepath
8686 ghc-temporary))
8687 (home-page "http://www.yesodweb.com/book/persistent")
8688 (synopsis "Backend for the persistent library using sqlite3")
8689 (description
8690 "This Haskell package includes a thin sqlite3 wrapper based
8691 on the direct-sqlite package, as well as the entire C library, so there are no
8692 system dependencies.")
8693 (license license:expat)))
8694
8695 (define-public ghc-persistent-template
8696 (package
8697 (name "ghc-persistent-template")
8698 (version "2.12.0.0")
8699 (source
8700 (origin
8701 (method url-fetch)
8702 (uri (hackage-uri "persistent-template" version))
8703 (sha256
8704 (base32
8705 "0c9cs27j43azimj74s2m2cdks87682ibpy1xbyzvygipgmb8nj6w"))))
8706 (build-system haskell-build-system)
8707 (properties '((upstream-name . "persistent-template")))
8708 (inputs
8709 (list ghc-persistent
8710 ghc-aeson
8711 ghc-http-api-data
8712 ghc-monad-control
8713 ghc-monad-logger
8714 ghc-path-pieces
8715 ghc-th-lift-instances
8716 ghc-unordered-containers))
8717 (native-inputs
8718 (list ghc-hspec ghc-quickcheck))
8719 (home-page "https://www.yesodweb.com/book/persistent")
8720 (synopsis "Type-safe, non-relational, multi-backend persistence")
8721 (description "This Haskell package provides interfaces and helper
8722 functions for the ghc-persistent package.")
8723 (license license:expat)))
8724
8725 (define-public ghc-persistent-test
8726 (package
8727 (name "ghc-persistent-test")
8728 (version "2.13.1.2")
8729 (source
8730 (origin
8731 (method url-fetch)
8732 (uri (hackage-uri "persistent-test" version))
8733 (sha256
8734 (base32
8735 "0cah2gyp5lm9hipm3wvcxnl14cmq51dajzcw3wcf9xd19sbm4k49"))))
8736 (build-system haskell-build-system)
8737 (properties '((upstream-name . "persistent-test")))
8738 (inputs
8739 (list ghc-aeson
8740 ghc-blaze-html
8741 ghc-conduit
8742 ghc-monad-control
8743 ghc-monad-logger
8744 ghc-path-pieces
8745 ghc-persistent
8746 ghc-persistent-template
8747 ghc-random
8748 ghc-resourcet
8749 ghc-transformers-base
8750 ghc-unliftio
8751 ghc-unliftio-core
8752 ghc-unordered-containers))
8753 (native-inputs
8754 (list ghc-quickcheck ghc-quickcheck-instances ghc-hspec
8755 ghc-hspec-expectations ghc-hunit))
8756 (home-page "https://www.yesodweb.com/book/persistent")
8757 (synopsis "Tests for the Persistent database library")
8758 (description
8759 "This is only for use in developing libraries that should conform to
8760 the persistent interface, not for users of the persistent suite of database
8761 libraries.")
8762 (license license:expat)))
8763
8764 (define-public ghc-pgp-wordlist
8765 (package
8766 (name "ghc-pgp-wordlist")
8767 (version "0.1.0.3")
8768 (source
8769 (origin
8770 (method url-fetch)
8771 (uri (hackage-uri "pgp-wordlist" version))
8772 (sha256
8773 (base32
8774 "15g6qh0fb7kjj3l0w8cama7cxgnhnhybw760md9yy7cqfq15cfzg"))))
8775 (build-system haskell-build-system)
8776 (properties '((upstream-name . "pgp-wordlist")))
8777 (inputs
8778 (list ghc-vector))
8779 (native-inputs
8780 (list ghc-hunit ghc-tasty ghc-tasty-hunit ghc-tasty-quickcheck
8781 ghc-doctest))
8782 (home-page
8783 "https://github.com/quchen/pgp-wordlist")
8784 (synopsis
8785 "Translate between binary data and a human-readable collection of words")
8786 (description
8787 "The PGP Word List consists of two phonetic alphabets, each with one word
8788 per possible byte value. A string of bytes is translated with these
8789 alphabets, alternating between them at each byte.
8790
8791 The PGP words corresponding to the bytes 5B 1D CA 6E are \"erase breakaway
8792 spellbind headwaters\", for example.
8793
8794 For further information, see
8795 @url{http://en.wikipedia.org/wiki/PGP_word_list}.")
8796 (license license:bsd-3)))
8797
8798 (define-public ghc-pipes
8799 (package
8800 (name "ghc-pipes")
8801 (version "4.3.16")
8802 (source
8803 (origin
8804 (method url-fetch)
8805 (uri (hackage-uri "pipes" version))
8806 (sha256
8807 (base32
8808 "163lx5sf68zx5kik5h1fjsyckwr9shdsn5k2dsjq3mhg077nxqgl"))))
8809 (build-system haskell-build-system)
8810 (properties '((upstream-name . "pipes")))
8811 (inputs
8812 (list ghc-exceptions ghc-mmorph ghc-void ghc-semigroups))
8813 (native-inputs
8814 (list ghc-quickcheck ghc-test-framework
8815 ghc-test-framework-quickcheck2))
8816 (arguments
8817 `(#:cabal-revision ("6"
8818 "16s8a1ijakhsk73ny2vrw6a8r2dszgncd0wk735ii6csg3l2c9pm")))
8819 (home-page
8820 "https://hackage.haskell.org/package/pipes")
8821 (synopsis "Compositional pipelines")
8822 (description
8823 "A clean and powerful stream processing library that lets you build
8824 and connect reusable streaming components. Advantages over traditional streaming
8825 libraries:
8826 @itemize
8827 @item Concise API: Use simple commands like @code{for}, (@code{>->}), @code{await},
8828 and @code{yield}
8829 @item Blazing fast: Implementation tuned for speed, including shortcut fusion
8830 @item Lightweight Dependency: pipes is small and compiles very rapidly, including
8831 dependencies
8832 @item Elegant semantics: Use practical category theory
8833 @item ListT: Correct implementation of @code{ListT} that interconverts with pipes
8834 @item Bidirectionality: Implement duplex channels
8835 @end itemize")
8836 (license license:bsd-3)))
8837
8838 (define-public ghc-pointedlist
8839 (package
8840 (name "ghc-pointedlist")
8841 (version "0.6.1")
8842 (source
8843 (origin
8844 (method url-fetch)
8845 (uri (hackage-uri "pointedlist" version))
8846 (sha256
8847 (base32
8848 "16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l"))))
8849 (build-system haskell-build-system)
8850 (properties '((upstream-name . "pointedlist")))
8851 (home-page
8852 "https://hackage.haskell.org/package/pointedlist")
8853 (synopsis
8854 "Zipper-like comonad which works as a list, tracking a position")
8855 (description
8856 "A PointedList tracks the position in a non-empty list which works
8857 similarly to a zipper. A current item is always required, and therefore
8858 the list may never be empty. A circular PointedList wraps around to the
8859 other end when progressing past the actual edge.")
8860 (license license:bsd-3)))
8861
8862 (define-public ghc-polyparse
8863 (package
8864 (name "ghc-polyparse")
8865 (version "1.13")
8866 (source
8867 (origin
8868 (method url-fetch)
8869 (uri (hackage-uri "polyparse" version))
8870 (sha256
8871 (base32
8872 "0yvhg718dlksiw3v27m2d8m1sn4r4f5s0p56zq3lynhy1sc74k0w"))))
8873 (build-system haskell-build-system)
8874 (properties '((upstream-name . "polyparse")))
8875 (arguments
8876 `(#:cabal-revision ("5"
8877 "05qrn5pfdy45x1nkx7dvhnxs9j6d6cssws4kwn2sl3n9qmagr8mc")))
8878 (home-page
8879 "http://code.haskell.org/~malcolm/polyparse/")
8880 (synopsis
8881 "Alternative parser combinator libraries")
8882 (description
8883 "This package provides a variety of alternative parser combinator
8884 libraries, including the original HuttonMeijer set. The Poly sets have
8885 features like good error reporting, arbitrary token type, running state, lazy
8886 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
8887 standard Read class, for better deserialisation of Haskell values from
8888 Strings.")
8889 (license license:lgpl2.1)))
8890
8891 (define-public ghc-pqueue
8892 (package
8893 (name "ghc-pqueue")
8894 (version "1.4.3.0")
8895 (source
8896 (origin
8897 (method url-fetch)
8898 (uri (hackage-uri "pqueue" version))
8899 (sha256
8900 (base32
8901 "0kl608jw0xz0n4ysw7p3cvlm1s71xrysw8862cddrzbr38bv8jvq"))))
8902 (build-system haskell-build-system)
8903 (properties '((upstream-name . "pqueue")))
8904 (inputs (list ghc-indexed-traversable))
8905 (native-inputs
8906 (list ghc-tasty ghc-tasty-quickcheck))
8907 (home-page "https://hackage.haskell.org/package/pqueue")
8908 (synopsis "Reliable, persistent, fast priority queues")
8909 (description
8910 "This package provides a fast, reliable priority queue implementation
8911 based on a binomial heap.")
8912 (license license:bsd-3)))
8913
8914 (define-public ghc-prelude-extras
8915 (package
8916 (name "ghc-prelude-extras")
8917 (version "0.4.0.3")
8918 (source
8919 (origin
8920 (method url-fetch)
8921 (uri (hackage-uri "prelude-extras" version))
8922 (sha256
8923 (base32
8924 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
8925 (build-system haskell-build-system)
8926 (properties '((upstream-name . "prelude-extras")))
8927 (home-page "https://github.com/ekmett/prelude-extras")
8928 (synopsis "Higher order versions of Prelude classes")
8929 (description "This library provides higher order versions of
8930 @code{Prelude} classes to ease programming with polymorphic recursion and
8931 reduce @code{UndecidableInstances}.")
8932 (license license:bsd-3)))
8933
8934 (define-public ghc-prettyclass
8935 (package
8936 (name "ghc-prettyclass")
8937 (version "1.0.0.0")
8938 (source
8939 (origin
8940 (method url-fetch)
8941 (uri (hackage-uri "prettyclass" version))
8942 (sha256
8943 (base32
8944 "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5"))))
8945 (build-system haskell-build-system)
8946 (properties '((upstream-name . "prettyclass")))
8947 (home-page "https://hackage.haskell.org/package/prettyclass")
8948 (synopsis "Pretty printing class similar to Show")
8949 (description "This package provides a pretty printing class similar
8950 to @code{Show}, based on the HughesPJ pretty printing library. It
8951 provides the pretty printing class and instances for the Prelude
8952 types.")
8953 (license license:bsd-3)))
8954
8955 (define-public ghc-prettyprinter
8956 (package
8957 (name "ghc-prettyprinter")
8958 (version "1.7.1")
8959 (source
8960 (origin
8961 (method url-fetch)
8962 (uri (hackage-uri "prettyprinter" version))
8963 (sha256
8964 (base32 "0i8b3wjjpdvp5b857j065jwyrpgcnzgk75imrj7i3yhl668acvjy"))))
8965 (build-system haskell-build-system)
8966 (properties '((upstream-name . "prettyprinter")))
8967 (native-inputs
8968 (list ghc-doctest
8969 ghc-pgp-wordlist
8970 ghc-quickcheck
8971 ghc-quickcheck-instances
8972 ghc-tasty
8973 ghc-tasty-hunit
8974 ghc-tasty-quickcheck))
8975 (home-page "https://github.com/quchen/prettyprinter")
8976 (synopsis
8977 "Modern, easy to use, well-documented, extensible pretty-printer")
8978 (description
8979 "A prettyprinter/text rendering engine. Easy to use, well-documented,
8980 ANSI terminal backend exists, HTML backend is trivial to implement, no name
8981 clashes, @code{Text}-based, extensible.")
8982 (license license:bsd-2)))
8983
8984 (define-public ghc-prettyprinter-ansi-terminal
8985 (package
8986 (name "ghc-prettyprinter-ansi-terminal")
8987 (version "1.1.3")
8988 (source
8989 (origin
8990 (method url-fetch)
8991 (uri (hackage-uri "prettyprinter-ansi-terminal" version))
8992 (sha256
8993 (base32 "1cqxbcmy9ykk4pssq5hp6h51g2h547zfz549awh0c1fni8q3jdw1"))))
8994 (build-system haskell-build-system)
8995 (properties '((upstream-name . "prettyprinter-ansi-terminal")))
8996 (inputs
8997 (list ghc-ansi-terminal ghc-prettyprinter))
8998 (native-inputs (list ghc-doctest))
8999 (home-page
9000 "https://github.com/quchen/prettyprinter")
9001 (synopsis
9002 "ANSI terminal backend for the prettyprinter package")
9003 (description "ANSI terminal backend for the prettyprinter package.")
9004 (license license:bsd-2)))
9005
9006 (define-public ghc-pretty-hex
9007 (package
9008 (name "ghc-pretty-hex")
9009 (version "1.1")
9010 (source
9011 (origin
9012 (method url-fetch)
9013 (uri (hackage-uri "pretty-hex" version))
9014 (sha256
9015 (base32
9016 "0c8pa0rdb2q8rf4acy4gww0hj5lrzclzdh52yi2aiaaij4lqzir7"))))
9017 (build-system haskell-build-system)
9018 (properties '((upstream-name . "pretty-hex")))
9019 (home-page "https://github.com/GaloisInc/hexdump")
9020 (synopsis "Haskell library for hex dumps of ByteStrings")
9021 (description "This Haskell library generates pretty hex dumps of
9022 ByteStrings in the style of other common *nix hex dump tools.")
9023 (license license:bsd-3)))
9024
9025 (define-public ghc-pretty-show
9026 (package
9027 (name "ghc-pretty-show")
9028 (version "1.10")
9029 (source
9030 (origin
9031 (method url-fetch)
9032 (uri (hackage-uri "pretty-show" version))
9033 (sha256
9034 (base32
9035 "1lkgvbv00v1amvpqli6y4dzsbs25l4v3wlagvhwx8qxhw2390zrh"))))
9036 (build-system haskell-build-system)
9037 (properties '((upstream-name . "pretty-show")))
9038 (inputs
9039 (list ghc-haskell-lexer ghc-happy))
9040 (home-page "https://wiki.github.com/yav/pretty-show")
9041 (synopsis "Tools for working with derived `Show` instances")
9042 (description
9043 "This package provides a library and an executable for working with
9044 derived @code{Show} instances. By using the library, derived @code{Show}
9045 instances can be parsed into a generic data structure. The @code{ppsh} tool
9046 uses the library to produce human-readable versions of @code{Show} instances,
9047 which can be quite handy for debugging Haskell programs. We can also render
9048 complex generic values into an interactive Html page, for easier
9049 examination.")
9050 (license license:expat)))
9051
9052 (define-public ghc-pretty-simple
9053 (package
9054 (name "ghc-pretty-simple")
9055 (version "4.1.2.0")
9056 (source (origin
9057 (method url-fetch)
9058 (uri (hackage-uri "pretty-simple" version))
9059 (sha256
9060 (base32
9061 "0di7n3kq2bl0xqj9b1xxf3jznyy6cfyjs6hf6g0bi72rf4wprd1w"))))
9062 (build-system haskell-build-system)
9063 (properties '((upstream-name . "pretty-simple")))
9064 (inputs (list ghc-prettyprinter ghc-prettyprinter-ansi-terminal
9065 ghc-optparse-applicative ghc-aeson))
9066 (native-inputs (list ghc-doctest ghc-glob ghc-quickcheck))
9067 (arguments (list #:tests? #f)) ; Could not find module ‘Build_doctests’
9068 (home-page "https://github.com/cdepillabout/pretty-simple")
9069 (synopsis "Pretty printer for data types with a 'Show' instance")
9070 (description
9071 "Pretty-simple is a pretty printer for Haskell data types that have a
9072 Show instance.")
9073 (license license:bsd-3)))
9074
9075 (define-public ghc-primitive
9076 (package
9077 (name "ghc-primitive")
9078 (version "0.7.3.0")
9079 (source (origin
9080 (method url-fetch)
9081 (uri (hackage-uri "primitive" version))
9082 (sha256
9083 (base32
9084 "1p01fmw8yi578rvwicrlpbfkbfsv7fbnzb88a7vggrhygykgs31w"))))
9085 (build-system haskell-build-system)
9086 (properties '((upstream-name . "primitive")))
9087 ; (native-inputs (list ghc-base-orphans
9088 ; ghc-quickcheck-classes-base
9089 ; ghc-quickcheck
9090 ; ghc-tasty
9091 ; ghc-tasty-quickcheck
9092 ; ghc-tagged
9093 ; ghc-transformers-compat))
9094 (arguments
9095 `(#:tests? #f ; Cannot resolve package cycle.
9096 #:cabal-revision ("2"
9097 "0xh1m8nybz760c71gm1w9fga25y2rys1211q77v6wagdsas634yf")))
9098 (home-page "https://github.com/haskell/primitive")
9099 (synopsis "Primitive memory-related operations")
9100 (description
9101 "This package provides various primitive memory-related operations.")
9102 (license license:bsd-3)))
9103
9104 (define-public ghc-primitive-addr
9105 (package
9106 (name "ghc-primitive-addr")
9107 (version "0.1.0.2")
9108 (source
9109 (origin
9110 (method url-fetch)
9111 (uri (hackage-uri "primitive-addr" version))
9112 (sha256
9113 (base32 "06r1p56wm8rbjxnlaqbmc3rbsj1rsv5scwnh80lsn0xw56jc70a2"))))
9114 (build-system haskell-build-system)
9115 (properties '((upstream-name . "primitive-addr")))
9116 (inputs (list ghc-primitive))
9117 (home-page "https://github.com/haskell-primitive/primitive-addr")
9118 (synopsis "Addresses to unmanaged memory")
9119 (description
9120 "This library provides the @code{Data.Primitive.Addr} module that was a part
9121 of the @code{primitive} library before @code{primitive-0.7.0.0}.")
9122 (license license:bsd-3)))
9123
9124 (define-public ghc-process-extras
9125 (package
9126 (name "ghc-process-extras")
9127 (version "0.7.4")
9128 (source
9129 (origin
9130 (method url-fetch)
9131 (uri
9132 (hackage-uri "process-extras" version))
9133 (sha256
9134 (base32
9135 "0klqgr37f1z2z6i0a9b0giapmq0p35l5k9kz1p7f0k1597w7agi9"))))
9136 (build-system haskell-build-system)
9137 (properties '((upstream-name . "process-extras")))
9138 (inputs
9139 (list ghc-data-default ghc-generic-deriving ghc-hunit ghc-listlike))
9140 (home-page "https://github.com/seereason/process-extras")
9141 (synopsis "Extra tools for managing processes")
9142 (description "This package extends
9143 @url{http://hackage.haskell.org/package/process}. It allows you to read
9144 process input and output as ByteStrings or Text, or write your own
9145 ProcessOutput instance. It also provides lazy process input and output,
9146 and a ProcessMaker class for more flexibility in the process creation
9147 API.")
9148 (license license:expat)))
9149
9150 (define-public ghc-profunctors
9151 (package
9152 (name "ghc-profunctors")
9153 (version "5.6.2")
9154 (source
9155 (origin
9156 (method url-fetch)
9157 (uri (hackage-uri "profunctors" version))
9158 (sha256
9159 (base32
9160 "0an9v003ivxmjid0s51qznbjhd5fsa1dkcfsrhxllnjja1xmv5b5"))))
9161 (build-system haskell-build-system)
9162 (properties '((upstream-name . "profunctors")))
9163 (outputs '("out" "static" "doc"))
9164 (inputs
9165 (list ghc-base-orphans
9166 ghc-bifunctors
9167 ghc-comonad
9168 ghc-contravariant
9169 ghc-distributive
9170 ghc-semigroups
9171 ghc-tagged))
9172 (home-page "https://github.com/ekmett/profunctors/")
9173 (synopsis "Profunctors for Haskell")
9174 (description "This library provides profunctors for Haskell.")
9175 (license license:bsd-3)))
9176
9177 (define-public ghc-project-template
9178 (package
9179 (name "ghc-project-template")
9180 (version "0.2.1.0")
9181 (source
9182 (origin
9183 (method url-fetch)
9184 (uri (hackage-uri "project-template" version))
9185 (sha256
9186 (base32
9187 "0ac43x36i6b595jhflif1qqhri1rrqw90ama5n7rsh0ffnzyb69d"))))
9188 (build-system haskell-build-system)
9189 (properties '((upstream-name . "project-template")))
9190 (inputs
9191 (list ghc-base64-bytestring ghc-conduit ghc-conduit-extra
9192 ghc-resourcet))
9193 (native-inputs
9194 (list ghc-hspec hspec-discover ghc-quickcheck))
9195 (home-page "https://github.com/fpco/haskell-ide")
9196 (synopsis "Specify Haskell project templates and generate files")
9197 (description
9198 "Haskell library for both generating and consuming project templates.
9199
9200 ost IDEs provide the concept of a project template: instead of writing all
9201 of the code for a project from scratch, you select a template, answer a few
9202 questions, and a bunch of files are automatically generated.
9203
9204 project-template tries to provide a canonical Haskell library for implementing
9205 the ideal templating system.")
9206 (license license:bsd-3)))
9207
9208 (define-public ghc-protolude
9209 (package
9210 (name "ghc-protolude")
9211 (version "0.3.2")
9212 (source (origin
9213 (method url-fetch)
9214 (uri (hackage-uri "protolude" version))
9215 (sha256
9216 (base32
9217 "0i53yxg44nrz0czwr8cqhw1fdapz9db8kfnqz9a3lmj5skrikh3y"))))
9218 (build-system haskell-build-system)
9219 (properties '((upstream-name . "protolude")))
9220 (inputs (list ghc-async ghc-hashable ghc-mtl-compat
9221 ghc-transformers-compat))
9222 (home-page "https://github.com/sdiehl/protolude")
9223 (synopsis "Sensible set of defaults for writing custom Preludes")
9224 (description
9225 "Protolude gives you sensible defaults for writing custom Preludes to
9226 replace the standard one provided by GHC.")
9227 (license license:expat)))
9228
9229 (define-public ghc-psqueue
9230 (package
9231 (name "ghc-psqueue")
9232 (version "1.1.1")
9233 (source (origin
9234 (method url-fetch)
9235 (uri (hackage-uri "PSQueue" version))
9236 (sha256
9237 (base32
9238 "02pgqzwxndi8cwa5fw668gfsh7z3lzbygkgcsf56bwrxwqjyz4bi"))))
9239 (build-system haskell-build-system)
9240 (properties '((upstream-name . "PSQueue")))
9241 (native-inputs (list ghc-quickcheck))
9242 (arguments
9243 '(#:cabal-revision
9244 ("1" "02a5g59sc9jh3v4pibhjpijv8lsbiydznrpqyin7qhwsyc0p813a")))
9245 (home-page "https://hackage.haskell.org/package/PSQueue")
9246 (synopsis "Priority search queue")
9247 (description
9248 "A @dfn{priority search queue} efficiently supports the operations of
9249 both a search tree and a priority queue. A @code{Binding} is a product of
9250 a key and a priority. Bindings can be inserted, deleted, modified and queried
9251 in logarithmic time, and the binding with the least priority can be retrieved
9252 in constant time. A queue can be built from a list of bindings, sorted by
9253 keys, in linear time.")
9254 (license license:bsd-3)))
9255
9256 (define-public ghc-psqueues
9257 (package
9258 (name "ghc-psqueues")
9259 (version "0.2.7.3")
9260 (source (origin
9261 (method url-fetch)
9262 (uri (hackage-uri "psqueues" version))
9263 (sha256
9264 (base32
9265 "1cmz7spfzx7niglmsphnndh0m4b8njkn0fhb9nshbnbq6nx515yh"))))
9266 (build-system haskell-build-system)
9267 (properties '((upstream-name . "psqueues")))
9268 (inputs (list ghc-hashable))
9269 (native-inputs (list ghc-hunit
9270 ghc-quickcheck
9271 ghc-tasty
9272 ghc-tasty-hunit
9273 ghc-tasty-quickcheck
9274 ghc-tagged))
9275 (home-page "http://hackage.haskell.org/package/psqueues")
9276 (synopsis "Pure priority search queues")
9277 (description
9278 "The psqueues package provides
9279 @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
9280 three different flavors:
9281
9282 @itemize
9283 @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
9284 fast insertion, deletion and lookup. This implementation is based on Ralf
9285 Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
9286 Implementation Technique for Priority Search Queues}.
9287
9288 Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
9289 PSQueue} library, although it is considerably faster and provides a slightly
9290 different API.
9291
9292 @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
9293 key type to @code{Int} and uses a
9294 @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
9295 with an additional min-heap property.
9296
9297 @item @code{HashPSQ k p v} is a fairly straightforward extension
9298 of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
9299 @code{IntPSQ}. If there are any hash collisions, it uses an
9300 @code{OrdPSQ} to resolve those. The performance of this implementation
9301 is comparable to that of @code{IntPSQ}, but it is more widely
9302 applicable since the keys are not restricted to @code{Int},
9303 but rather to any @code{Hashable} datatype.
9304 @end itemize
9305
9306 Each of the three implementations provides the same API, so they can
9307 be used interchangeably.
9308
9309 Typical applications of Priority Search Queues include:
9310
9311 @itemize
9312 @item Caches, and more specifically LRU Caches;
9313 @item Schedulers;
9314 @item Pathfinding algorithms, such as Dijkstra's and A*.
9315 @end itemize")
9316 (license license:bsd-3)))
9317
9318 (define-public ghc-pwstore-fast
9319 (package
9320 (name "ghc-pwstore-fast")
9321 (version "2.4.4")
9322 (source
9323 (origin
9324 (method url-fetch)
9325 (uri (hackage-uri "pwstore-fast" version))
9326 (sha256
9327 (base32
9328 "1cpvlwzg3qznhygrr78f75p65mnljd9v5cvnagfxjqppnrkay6bj"))))
9329 (build-system haskell-build-system)
9330 (properties '((upstream-name . "pwstore-fast")))
9331 (inputs
9332 (list ghc-base64-bytestring ghc-cryptohash ghc-random ghc-byteable))
9333 (home-page "https://github.com/PeterScott/pwstore")
9334 (synopsis "Secure password storage")
9335 (description
9336 "To store passwords securely, they should be salted, then hashed with
9337 a slow hash function. This library uses PBKDF1-SHA256, and handles all the
9338 details. It uses the cryptohash package for speed; if you need a pure
9339 Haskell library, pwstore-purehaskell has the exact same API, but uses only
9340 pure Haskell. It is about 25 times slower than this package, but still quite
9341 usable.")
9342 (license license:bsd-3)))
9343
9344 (define-public ghc-random
9345 (package
9346 (name "ghc-random")
9347 (version "1.2.1.1")
9348 (source (origin
9349 (method url-fetch)
9350 (uri (hackage-uri "random" version))
9351 (sha256
9352 (base32
9353 "0xlv1k4sj87akwvj54kq4nrfkzi6qcz1941bf78pnkbaxpvp44iy"))))
9354 (build-system haskell-build-system)
9355 (properties '((upstream-name . "random")))
9356 ;; ghc-random is widely used and causes quite a few loops, so disable tests.
9357 (arguments (list #:tests? #f))
9358 (inputs (list ghc-splitmix-bootstrap))
9359 ; (native-inputs (list ghc-doctest
9360 ; ghc-mwc-random
9361 ; ghc-primitive
9362 ; ghc-unliftio-bootstrap
9363 ; ghc-vector
9364 ; ghc-smallcheck
9365 ; ghc-tasty
9366 ; ghc-tasty-smallcheck
9367 ; ghc-tasty-hunit
9368 ; ghc-tasty
9369 ; ghc-tasty-inspection-testing))
9370 (home-page "http://hackage.haskell.org/package/random")
9371 (synopsis "Random number library")
9372 (description
9373 "This package provides a basic random number generation
9374 library, including the ability to split random number generators.")
9375 (license license:bsd-3)))
9376
9377 (define-public ghc-random-bootstrap
9378 (package
9379 (inherit ghc-random)
9380 (name "ghc-random-bootstrap")
9381 (arguments
9382 `(#:tests? #f
9383 ,@(package-arguments ghc-random)))
9384 (native-inputs '())
9385 (properties '((hidden? #t)))))
9386
9387 (define-public ghc-raw-strings-qq
9388 (package
9389 (name "ghc-raw-strings-qq")
9390 (version "1.1")
9391 (source
9392 (origin
9393 (method url-fetch)
9394 (uri (hackage-uri "raw-strings-qq" version))
9395 (sha256
9396 (base32
9397 "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f"))))
9398 (build-system haskell-build-system)
9399 (properties '((upstream-name . "raw-strings-qq")))
9400 (native-inputs (list ghc-hunit))
9401 (home-page "https://github.com/23Skidoo/raw-strings-qq")
9402 (synopsis "Raw string literals for Haskell")
9403 (description
9404 "This package provides a quasiquoter for raw string literals, i.e. string
9405 literals that don't recognise the standard escape sequences. Basically, they
9406 make your code more readable by freeing you from the responsibility to escape
9407 backslashes. They are useful when working with regular expressions,
9408 DOS/Windows paths and markup languages (such as XML).")
9409 (license license:bsd-3)))
9410
9411 (define-public ghc-readable
9412 (package
9413 (name "ghc-readable")
9414 (version "0.3.1")
9415 (source
9416 (origin
9417 (method url-fetch)
9418 (uri (hackage-uri "readable" version))
9419 (sha256
9420 (base32
9421 "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h"))))
9422 (build-system haskell-build-system)
9423 (properties '((upstream-name . "readable")))
9424 (arguments
9425 `(#:cabal-revision ("1"
9426 "0dywlvxjszqa1dj5r1cva0viv2l1hm8mw75zddnf96pfpd00fmga")))
9427 (home-page "https://github.com/mightybyte/readable")
9428 (synopsis "Type class for reading from Text and ByteString")
9429 (description "This package provides a @code{Readable} type class for
9430 reading data types from @code{ByteString} and @code{Text}. It also
9431 includes efficient implementations for common data types.")
9432 (license license:bsd-3)))
9433
9434 (define-public ghc-rebase
9435 (package
9436 (name "ghc-rebase")
9437 (version "1.16.1")
9438 (source (origin
9439 (method url-fetch)
9440 (uri (hackage-uri "rebase" version))
9441 (sha256
9442 (base32
9443 "0mb1x5p3lvfhxsrnmkhsv6f4rd1cxp6m3qg6kyz30svrbwxsvvkz"))))
9444 (build-system haskell-build-system)
9445 (properties '((upstream-name . "rebase")))
9446 (inputs (list ghc-bifunctors
9447 ghc-contravariant
9448 ghc-comonad
9449 ghc-dlist
9450 ghc-either
9451 ghc-groups
9452 ghc-hashable
9453 ghc-invariant
9454 ghc-profunctors
9455 ghc-scientific
9456 ghc-selective
9457 ghc-semigroupoids
9458 ghc-time-compat
9459 ghc-unordered-containers
9460 ghc-uuid-types
9461 ghc-vector
9462 ghc-vector-instances
9463 ghc-void))
9464 (arguments
9465 `(#:cabal-revision ("1"
9466 "1igpk9gz54jfvf5m69xcp7hl567c4lkbmwhzylcbx0i1n0pd7i2n")))
9467 (home-page "https://github.com/nikita-volkov/rebase")
9468 (synopsis "Progressive alternative to the base package
9469 for Haskell")
9470 (description
9471 "This Haskell package is intended for those who are
9472 tired of keeping long lists of dependencies to the same essential libraries
9473 in each package as well as the endless imports of the same APIs all over again.
9474
9475 It also supports the modern tendencies in the language.
9476
9477 To solve those problems this package does the following:
9478
9479 @itemize
9480 @item Reexport the original APIs under the @code{Rebase} namespace.
9481
9482 @item Export all the possible non-conflicting symbols from the
9483 @code{Rebase.Prelude} module.
9484
9485 @item Give priority to the modern practices in the conflicting cases.
9486 @end itemize
9487
9488 The policy behind the package is only to reexport the non-ambiguous and
9489 non-controversial APIs, which the community has obviously settled on.
9490 The package is intended to rapidly evolve with the contribution from
9491 the community, with the missing features being added with pull-requests.")
9492 (license license:expat)))
9493
9494 (define-public ghc-reducers
9495 (package
9496 (name "ghc-reducers")
9497 (version "3.12.4")
9498 (source (origin
9499 (method url-fetch)
9500 (uri (hackage-uri "reducers" version))
9501 (sha256
9502 (base32
9503 "0hsycdir52jdijnnvc77jj971fjrrc722v952wr62ivrvx2zarn0"))))
9504 (build-system haskell-build-system)
9505 (properties '((upstream-name . "reducers")))
9506 (inputs (list ghc-fingertree ghc-hashable ghc-unordered-containers
9507 ghc-semigroupoids ghc-semigroups))
9508 (arguments
9509 `(#:cabal-revision ("2"
9510 "1ji6rp0f857d0vp2kjqcck7avrjgqvqjgwnhdcxs3zbjkwpqyhfb")))
9511 (home-page "http://github.com/ekmett/reducers/")
9512 (synopsis
9513 "Semigroups, specialized containers and a general map/reduce framework")
9514 (description "This library provides various semigroups, specialized
9515 containers and a general map/reduce framework for Haskell.")
9516 (license license:bsd-3)))
9517
9518 (define-public ghc-refact
9519 (package
9520 (name "ghc-refact")
9521 (version "0.3.0.2")
9522 (source
9523 (origin
9524 (method url-fetch)
9525 (uri (hackage-uri "refact" version))
9526 (sha256
9527 (base32
9528 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
9529 (build-system haskell-build-system)
9530 (properties '((upstream-name . "refact")))
9531 (home-page "https://hackage.haskell.org/package/refact")
9532 (synopsis "Specify refactorings to perform with apply-refact")
9533 (description
9534 "This library provides a datatype which can be interpreted by
9535 @code{apply-refact}. It exists as a separate library so that applications can
9536 specify refactorings without depending on GHC.")
9537 (license license:bsd-3)))
9538
9539 (define-public ghc-reflection
9540 (package
9541 (name "ghc-reflection")
9542 (version "2.1.6")
9543 (source
9544 (origin
9545 (method url-fetch)
9546 (uri (hackage-uri "reflection" version))
9547 (sha256
9548 (base32
9549 "1kd6dgnp99dzbkxdnj01g81j03v7zq5cwg0sf19rlcmvgs8i8gmz"))))
9550 (build-system haskell-build-system)
9551 (properties '((upstream-name . "reflection")))
9552 (inputs (list ghc-tagged))
9553 (native-inputs
9554 (list ghc-hspec ghc-quickcheck hspec-discover))
9555 (home-page "https://github.com/ekmett/reflection")
9556 (synopsis "Reify arbitrary terms into types that can be reflected back
9557 into terms")
9558 (description "This package addresses the 'configuration problem' which is
9559 propagating configurations that are available at run-time, allowing multiple
9560 configurations to coexist without resorting to mutable global variables or
9561 @code{System.IO.Unsafe.unsafePerformIO}.")
9562 (license license:bsd-3)))
9563
9564 (define-public ghc-regex
9565 (package
9566 (name "ghc-regex")
9567 (version "1.1.0.2")
9568 (source (origin
9569 (method url-fetch)
9570 (uri (hackage-uri "regex" version))
9571 (sha256
9572 (base32
9573 "1nzyfkqmclmawmphvksvm9l64awqgnypic4xplc2s9sjcj4h814a"))))
9574 (build-system haskell-build-system)
9575 (properties '((upstream-name . "regex")))
9576 (inputs (list ghc-base-compat
9577 ghc-hashable
9578 ghc-regex-base
9579 ghc-regex-pcre-builtin
9580 ghc-regex-tdfa
9581 ghc-time-locale-compat
9582 ghc-unordered-containers
9583 ghc-utf8-string))
9584 (home-page "https://regex.uk")
9585 (synopsis "Toolkit for regex-base")
9586 (description
9587 "This package provides a regular expression toolkit for @code{regex-base}
9588 with compile-time checking of regular expression syntax, data types for
9589 matches and captures, a text replacement toolkit, portable options, high-level
9590 AWK-like tools for building text processing apps, regular expression macros
9591 with parsers and test bench, comprehensive documentation, tutorials and
9592 copious examples.")
9593 (license license:bsd-3)))
9594
9595 (define-public ghc-regex-applicative
9596 (package
9597 (name "ghc-regex-applicative")
9598 (version "0.3.4")
9599 (source
9600 (origin
9601 (method url-fetch)
9602 (uri (hackage-uri "regex-applicative" version))
9603 (sha256
9604 (base32
9605 "0di66pi2kq5rrsn0k6pwakzwa0bgi9jfb2csm72kp5gzqdws8s8p"))))
9606 (build-system haskell-build-system)
9607 (properties '((upstream-name . "regex-applicative")))
9608 (inputs (list ghc-filtrable))
9609 (native-inputs
9610 (list ghc-smallcheck ghc-tasty ghc-tasty-hunit ghc-tasty-smallcheck))
9611 (home-page "https://github.com/feuerbach/regex-applicative")
9612 (synopsis "Regex-based parsing with applicative interface")
9613 (description
9614 "@code{regex-applicative} is a Haskell library for parsing using
9615 regular expressions. Parsers can be built using Applicative interface.")
9616 (license license:expat)))
9617
9618 (define-public ghc-regex-base
9619 (package
9620 (name "ghc-regex-base")
9621 (version "0.94.0.2")
9622 (source (origin
9623 (method url-fetch)
9624 (uri (hackage-uri "regex-base" version))
9625 (sha256
9626 (base32
9627 "1w9fxad1dwi040r3db9i2cjhhrl86p3hngj13ixbcnqgb27l16bv"))))
9628 (build-system haskell-build-system)
9629 (properties '((upstream-name . "regex-base")))
9630 (arguments
9631 `(#:cabal-revision ("1"
9632 "1k2gzjm7xz69f7zr08wh2wzb5dhb659cvimsvx0g9p8cf5f45x2g")))
9633 (home-page "https://wiki.haskell.org/Regular_expressions")
9634 (synopsis "Replaces/Enhances Text.Regex")
9635 (description
9636 "@code{Text.Regex.Base} provides the interface API for
9637 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
9638 (license license:bsd-3)))
9639
9640 (define-public ghc-regex-compat
9641 (package
9642 (name "ghc-regex-compat")
9643 (version "0.95.2.1")
9644 (source
9645 (origin
9646 (method url-fetch)
9647 (uri (hackage-uri "regex-compat" version))
9648 (sha256
9649 (base32
9650 "0ivrdrcphrz3g6nr5wbsmfiv8i82caw0kf6z5qlmlq7xf9n3hywg"))))
9651 (build-system haskell-build-system)
9652 (properties '((upstream-name . "regex-compat")))
9653 (inputs
9654 (list ghc-regex-base ghc-regex-posix))
9655 (arguments
9656 `(#:cabal-revision ("2"
9657 "0ldqpdxikm17ydrkfmichflkdqdrkspv4r0qy3zbdgqf5033pj4n")))
9658 (home-page "https://sourceforge.net/projects/lazy-regex")
9659 (synopsis "Replaces/Enhances Text.Regex")
9660 (description "This library provides one module layer over
9661 @code{regex-posix} to replace @code{Text.Regex}.")
9662 (license license:bsd-3)))
9663
9664 (define-public ghc-regex-pcre
9665 (package
9666 (name "ghc-regex-pcre")
9667 (version "0.95.0.0")
9668 (source (origin
9669 (method url-fetch)
9670 (uri (hackage-uri "regex-pcre" version))
9671 (sha256
9672 (base32
9673 "0nn76q4bsjnxim0j0d01jifmh36as9jdpcvm001a851vvq86zb8n"))))
9674 (build-system haskell-build-system)
9675 (properties '((upstream-name . "regex-pcre")))
9676 (arguments
9677 `(#:extra-directories ("pcre")
9678 #:cabal-revision
9679 ("3" "1mxy2y7dmv37hhsasm17x2mb9dhmzza13pc7jfrk77inpig78ib8")))
9680 (native-inputs (list pkg-config))
9681 (inputs
9682 (list ghc-regex-base pcre))
9683 (home-page "https://hackage.haskell.org/package/regex-pcre")
9684 (synopsis "Enhancement of the builtin Text.Regex library")
9685 (description
9686 "This package is an enhancement of the @code{Text.Regex} library.
9687 It wraps the @code{PCRE} C library providing Perl-compatible regular
9688 expressions.")
9689 (license license:bsd-3)))
9690
9691 (define-public ghc-regex-pcre-builtin
9692 (package
9693 (name "ghc-regex-pcre-builtin")
9694 (version "0.95.2.3.8.44")
9695 (source (origin
9696 (method url-fetch)
9697 (uri (hackage-uri "regex-pcre-builtin" version))
9698 (sha256
9699 (base32
9700 "0pn55ssrwr05c9sa9jvp0knvzjksz04wn3pmzf5dz4xgbyjadkna"))))
9701 (build-system haskell-build-system)
9702 (properties '((upstream-name . "regex-pcre-builtin")))
9703 (inputs
9704 (list ghc-regex-base))
9705 (home-page "https://hackage.haskell.org/package/regex-pcre-builtin")
9706 (synopsis "Enhancement of the builtin Text.Regex library")
9707 (description
9708 "This package is an enhancement of the @code{Text.Regex} library,
9709 providing the PCRE backend to accompany regex-base, with bundled code from
9710 @url{https://www.pcre.org}.")
9711 (license license:bsd-3)))
9712
9713 (define-public ghc-regex-posix
9714 (package
9715 (name "ghc-regex-posix")
9716 (version "0.96.0.1")
9717 (source
9718 (origin
9719 (method url-fetch)
9720 (uri (hackage-uri "regex-posix" version))
9721 (sha256
9722 (base32
9723 "1715b57z67q4hg0jz44wkxrxi3v7n5iagw6gw48pf8hr34wpr0n7"))))
9724 (build-system haskell-build-system)
9725 (properties '((upstream-name . "regex-posix")))
9726 (inputs
9727 (list ghc-regex-base))
9728 (home-page "https://sourceforge.net/projects/lazy-regex")
9729 (synopsis "POSIX regular expressions for Haskell")
9730 (description "This library provides the POSIX regex backend used by the
9731 Haskell library @code{regex-base}.")
9732 (license license:bsd-3)))
9733
9734 (define-public ghc-regex-tdfa
9735 (package
9736 (name "ghc-regex-tdfa")
9737 (version "1.3.2")
9738 (source (origin
9739 (method url-fetch)
9740 (uri (hackage-uri "regex-tdfa" version))
9741 (sha256
9742 (base32
9743 "1lfzhir5zbgga44zhr4qvc2xc9pa9lslv12c8lwqqw80bzfdfq16"))))
9744 (build-system haskell-build-system)
9745 (properties '((upstream-name . "regex-tdfa")))
9746 (inputs (list ghc-regex-base))
9747 (native-inputs (list ghc-utf8-string ghc-doctest-parallel))
9748 (home-page "https://wiki.haskell.org/Regular_expressions")
9749 (synopsis "POSIX extended regular expressions in Haskell")
9750 (description
9751 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
9752 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
9753 inspired by libtre.")
9754 (license license:bsd-3)))
9755
9756 (define-public ghc-repline
9757 (package
9758 (name "ghc-repline")
9759 (version "0.4.2.0")
9760 (source (origin
9761 (method url-fetch)
9762 (uri (hackage-uri "repline" version))
9763 (sha256
9764 (base32
9765 "0nldn02yqqmrxkzwzrx3v6hkb4y2hch48jkcr2qrw1dl0vqv70b1"))))
9766 (build-system haskell-build-system)
9767 (properties '((upstream-name . "repline")))
9768 (home-page "https://github.com/sdiehl/repline")
9769 (synopsis "Haskeline wrapper for GHCi-like REPL interfaces")
9770 (description
9771 "Haskeline wrapper for GHCi-like REPL interfaces. Composable with
9772 normal mtl transformers.")
9773 (license license:expat)))
9774
9775 (define-public ghc-rerebase
9776 (package
9777 (name "ghc-rerebase")
9778 (version "1.16.1")
9779 (source (origin
9780 (method url-fetch)
9781 (uri (hackage-uri "rerebase" version))
9782 (sha256
9783 (base32
9784 "04pw2j4nh8x53axmfzp9d2plmiwxpxddgwcji0a8j24lkdyv8k32"))))
9785 (build-system haskell-build-system)
9786 (properties '((upstream-name . "rerebase")))
9787 (inputs (list ghc-rebase))
9788 (home-page "https://github.com/nikita-volkov/rerebase")
9789 (synopsis "Reexports from ``base'' with many other standard libraries")
9790 (description
9791 "A rich drop-in replacement for @code{base}. For details and
9792 documentation please visit @uref{https://github.com/nikita-volkov/rerebase,
9793 the project's home page}.")
9794 (license license:expat)))
9795
9796 (define-public ghc-resolv
9797 (package
9798 (name "ghc-resolv")
9799 (version "0.1.2.0")
9800 (source
9801 (origin
9802 (method url-fetch)
9803 (uri (hackage-uri "resolv" version))
9804 (sha256
9805 (base32
9806 "0wa6wsh6i52q4ah2z0hgzlks325kigch4yniz0y15nw4skxbm8l1"))))
9807 (build-system haskell-build-system)
9808 (properties '((upstream-name . "resolv")))
9809 (arguments
9810 `(;#:tests? #f ; tasty >=1.2.3 && <1.3 || >=1.3.1 && <1.4
9811 #:cabal-revision ("5"
9812 "0df5y8bj9bxjmqnkvpwxvb17k70g1i174xs6vfrv9f1lys7xkqk1")
9813 #:phases
9814 (modify-phases %standard-phases
9815 (add-before 'configure 'update-constraints
9816 (lambda _
9817 (substitute* "resolv.cabal"
9818 (("\\b(tasty)\\s+[^,]+" all dep)
9819 dep)))))))
9820 (inputs
9821 (list ghc-base16-bytestring))
9822 (native-inputs
9823 (list ghc-tasty ghc-tasty-hunit))
9824 (home-page "https://github.com/haskell/hackage-security")
9825 (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}")
9826 (description "This package implements an API for accessing the
9827 @uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)}
9828 resolver service via the standard @code{libresolv} system library (whose
9829 API is often available directly via the standard @code{libc} C library) on
9830 Unix systems.")
9831 (license license:gpl3)))
9832
9833 (define-public ghc-resource-pool
9834 (package
9835 (name "ghc-resource-pool")
9836 (version "0.2.3.2")
9837 (source
9838 (origin
9839 (method url-fetch)
9840 (uri (hackage-uri "resource-pool" version))
9841 (sha256
9842 (base32
9843 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
9844 (build-system haskell-build-system)
9845 (properties '((upstream-name . "resource-pool")))
9846 (inputs (list ghc-hashable ghc-monad-control ghc-transformers-base
9847 ghc-vector))
9848 (home-page "https://github.com/bos/pool")
9849 (synopsis "Striped resource pooling implementation in Haskell")
9850 (description "This Haskell package provides striped pooling abstraction
9851 for managing flexibly-sized collections of resources such as database
9852 connections.")
9853 (license license:bsd-3)))
9854
9855 (define-public ghc-resourcet
9856 (package
9857 (name "ghc-resourcet")
9858 (version "1.2.6")
9859 (source (origin
9860 (method url-fetch)
9861 (uri (hackage-uri "resourcet" version))
9862 (sha256
9863 (base32
9864 "0d7xnpysrick56gxzkkj0mpblywbxaaldhziyl77am3822r3afzq"))))
9865 (build-system haskell-build-system)
9866 (properties '((upstream-name . "resourcet")))
9867 (inputs (list ghc-unliftio-core ghc-primitive))
9868 (native-inputs (list ghc-hspec))
9869 (home-page "http://github.com/snoyberg/conduit")
9870 (synopsis "Deterministic allocation and freeing of scarce resources")
9871 (description "ResourceT is a monad transformer which creates a region of
9872 code where you can safely allocate resources.")
9873 (license license:bsd-3)))
9874
9875 (define-public ghc-retry
9876 (package
9877 (name "ghc-retry")
9878 (version "0.9.3.0")
9879 (source (origin
9880 (method url-fetch)
9881 (uri (hackage-uri "retry" version))
9882 (sha256
9883 (base32
9884 "1kafm17xk6hylr0lwa98wxjcx7z3rgnqi4fzxcks7dy9dz5ms7n1"))))
9885 (build-system haskell-build-system)
9886 (properties '((upstream-name . "retry")))
9887 (inputs (list ghc-random ghc-mtl-compat ghc-unliftio-core))
9888 (native-inputs (list ghc-hunit ghc-tasty ghc-tasty-hunit
9889 ghc-tasty-hedgehog ghc-hedgehog))
9890 (home-page "http://github.com/Soostone/retry")
9891 (synopsis "Retry combinators for monadic actions that may fail")
9892 (description
9893 "This package exposes combinators that can wrap
9894 arbitrary monadic actions. They run the action and potentially retry
9895 running it with some configurable delay for a configurable number of
9896 times. The purpose is to make it easier to work with IO and especially
9897 network IO actions that often experience temporary failure and warrant
9898 retrying of the original action. For example, a database query may time
9899 out for a while, in which case we should hang back for a bit and retry
9900 the query instead of simply raising an exception.")
9901 (license license:bsd-3)))
9902
9903 (define-public ghc-rfc5051
9904 (package
9905 (name "ghc-rfc5051")
9906 (version "0.2")
9907 (source
9908 (origin
9909 (method url-fetch)
9910 (uri (hackage-uri "rfc5051" version))
9911 (sha256
9912 (base32
9913 "0nri7js5ymywh2gi3li25wrkl1nf712qhbzw5hn46fib83qsq73k"))))
9914 (build-system haskell-build-system)
9915 (properties '((upstream-name . "rfc5051")))
9916 (home-page "https://hackage.haskell.org/package/rfc5051")
9917 (synopsis "Simple unicode collation as per RFC5051")
9918 (description
9919 "This library implements @code{unicode-casemap}, the simple, non
9920 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
9921 unicode collation can be done using @code{text-icu}, but that is a big
9922 dependency that depends on a large C library, and @code{rfc5051} might be
9923 better for some purposes.")
9924 (license license:bsd-3)))
9925
9926 (define-public ghc-rio
9927 (package
9928 (name "ghc-rio")
9929 (version "0.1.22.0")
9930 (source (origin
9931 (method url-fetch)
9932 (uri (hackage-uri "rio" version))
9933 (sha256
9934 (base32
9935 "0rpc4f2yvw0y6mqz9ykm3778j6srya7ssww691kpf9nb8vddgjb6"))))
9936 (build-system haskell-build-system)
9937 (properties '((upstream-name . "rio")))
9938 (inputs (list ghc-hashable
9939 ghc-microlens
9940 ghc-microlens-mtl
9941 ghc-primitive
9942 ghc-typed-process
9943 ghc-unliftio
9944 ghc-unliftio-core
9945 ghc-unordered-containers
9946 ghc-vector))
9947 (native-inputs (list ghc-quickcheck ghc-hspec hspec-discover))
9948 (home-page "https://github.com/commercialhaskell/rio#readme")
9949 (synopsis "Standard library for Haskell")
9950 (description
9951 "This package works as a prelude replacement for Haskell,
9952 providing more functionality and types out of the box than the standard
9953 prelude (such as common data types like @code{ByteString} and
9954 @code{Text}), as well as removing common ``gotchas'', like partial
9955 functions and lazy I/O. The guiding principle here is:
9956 @itemize
9957 @item If something is safe to use in general and has no expected naming
9958 conflicts, expose it.
9959 @item If something should not always be used, or has naming conflicts,
9960 expose it from another module in the hierarchy.
9961 @end itemize")
9962 (license license:expat)))
9963
9964 (define-public ghc-roman-numerals
9965 (package
9966 (name "ghc-roman-numerals")
9967 (version "0.5.1.5")
9968 (source (origin
9969 (method url-fetch)
9970 (uri (hackage-uri "roman-numerals" version))
9971 (sha256
9972 (base32
9973 "10da5vls9l5i255bapms4b2r7dnwmxgsaa1cdll2lrmid5dikixr"))))
9974 (build-system haskell-build-system)
9975 (properties '((upstream-name . "roman-numerals")))
9976 (inputs (list ghc-base-unicode-symbols))
9977 (arguments
9978 `(#:phases
9979 (modify-phases %standard-phases
9980 (add-before 'configure 'update-constraints
9981 (lambda _
9982 (substitute* "roman-numerals.cabal"
9983 (("\\b(bytestring)\\s+[^,]+" all dep)
9984 dep)))))))
9985 (home-page "https://github.com/roelvandijk/roman-numerals")
9986 (synopsis "Parsing and pretty printing of Roman numerals")
9987 (description
9988 "This library provides functions for parsing and pretty printing Roman numerals.
9989 Because the notation of Roman numerals has varied through the centuries this
9990 package allows for some customisation using a configuration that is passed to
9991 the conversion functions.")
9992 (license license:bsd-3)))
9993
9994 (define-public ghc-safe
9995 (package
9996 (name "ghc-safe")
9997 (version "0.3.19")
9998 (source
9999 (origin
10000 (method url-fetch)
10001 (uri (hackage-uri "safe" version))
10002 (sha256
10003 (base32
10004 "18pp6cn9np9jgs01x9mac6wk41k34g86fx5ibfarbapqr1138115"))))
10005 (build-system haskell-build-system)
10006 (properties '((upstream-name . "safe")))
10007 (native-inputs
10008 (list ghc-quickcheck))
10009 (home-page "https://github.com/ndmitchell/safe#readme")
10010 (synopsis "Library of safe (exception free) functions")
10011 (description "This library provides wrappers around @code{Prelude} and
10012 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
10013 exceptions.")
10014 (license license:bsd-3)))
10015
10016 (define-public ghc-safe-exceptions
10017 (package
10018 (name "ghc-safe-exceptions")
10019 (version "0.1.7.3")
10020 (source (origin
10021 (method url-fetch)
10022 (uri (hackage-uri "safe-exceptions" version))
10023 (sha256
10024 (base32
10025 "1gxm61mccivrdz2qcfh5sim596nbrpapx0nli0bx7vx6z3c2ikli"))))
10026 (build-system haskell-build-system)
10027 (properties '((upstream-name . "safe-exceptions")))
10028 (native-inputs (list ghc-hspec ghc-void hspec-discover))
10029 (home-page "https://github.com/fpco/safe-exceptions#readme")
10030 (synopsis "Safe, consistent, and easy exception handling")
10031 (description
10032 "Runtime exceptions - as exposed in @code{base} by the
10033 @code{Control.Exception} module - have long been an intimidating part of the
10034 Haskell ecosystem. This package is intended to overcome this. It provides a
10035 safe and simple API on top of the existing exception handling machinery. The
10036 API is equivalent to the underlying implementation in terms of power but
10037 encourages best practices to minimize the chances of getting the exception
10038 handling wrong.")
10039 (license license:expat)))
10040
10041 (define-public ghc-safeio
10042 (package
10043 (name "ghc-safeio")
10044 (version "0.0.5.0")
10045 (source
10046 (origin
10047 (method url-fetch)
10048 (uri (hackage-uri "safeio" version))
10049 (sha256
10050 (base32
10051 "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm"))))
10052 (build-system haskell-build-system)
10053 (properties '((upstream-name . "safeio")))
10054 (inputs
10055 (list ghc-conduit ghc-conduit-combinators ghc-exceptions
10056 ghc-resourcet))
10057 (native-inputs
10058 (list ghc-hunit ghc-test-framework ghc-test-framework-hunit
10059 ghc-test-framework-th))
10060 (arguments (list #:tests? #f)) ; Fail to build: Module ‘Data.ByteString’ does not export ‘hPutStrLn’.
10061 (home-page "https://github.com/luispedro/safeio")
10062 (synopsis "Write output to disk atomically")
10063 (description
10064 "This package implements utilities to perform atomic output so as to
10065 avoid the problem of partial intermediate files.")
10066 (license license:expat)))
10067
10068 (define-public ghc-safesemaphore
10069 (package
10070 (name "ghc-safesemaphore")
10071 (version "0.10.1")
10072 (source
10073 (origin
10074 (method url-fetch)
10075 (uri (hackage-uri "SafeSemaphore" version))
10076 (sha256
10077 (base32
10078 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
10079 (build-system haskell-build-system)
10080 (properties '((upstream-name . "SafeSemaphore")))
10081 (native-inputs
10082 (list ghc-hunit))
10083 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
10084 (synopsis "Exception safe semaphores")
10085 (description "This library provides exception safe semaphores that can be
10086 used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
10087 are not exception safe and can be broken by @code{killThread}.")
10088 (license license:bsd-3)))
10089
10090 (define-public ghc-sandi
10091 (package
10092 (name "ghc-sandi")
10093 (version "0.5")
10094 (source
10095 (origin
10096 (method url-fetch)
10097 (uri (hackage-uri "sandi" version))
10098 (sha256
10099 (base32
10100 "1ndgai8idlxyccvkz5zsgq06v58blc30i6hkky5b1sf5x6gs2h29"))))
10101 (build-system haskell-build-system)
10102 (properties '((upstream-name . "sandi")))
10103 (inputs
10104 (list ghc-stringsearch
10105 ghc-conduit
10106 ghc-exceptions
10107 ghc-hunit
10108 ghc-tasty
10109 ghc-tasty-hunit
10110 ghc-tasty-quickcheck
10111 ghc-tasty-th))
10112 (home-page "https://hackage.haskell.org/package/sandi")
10113 (synopsis "Data encoding library")
10114 (description "Reasonably fast data encoding library.")
10115 (license license:bsd-3)))
10116
10117 (define-public ghc-say
10118 (package
10119 (name "ghc-say")
10120 (version "0.1.0.1")
10121 (source
10122 (origin
10123 (method url-fetch)
10124 (uri (hackage-uri "say" version))
10125 (sha256
10126 (base32
10127 "1r5kffjfwpas45g74sip8glrj1m9nygrnxjm7xgw898rq9pnafgn"))))
10128 (build-system haskell-build-system)
10129 (properties '((upstream-name . "say")))
10130 (native-inputs
10131 (list ghc-hspec hspec-discover ghc-unliftio))
10132 (home-page "https://github.com/fpco/say")
10133 (synopsis
10134 "Send textual messages to a Handle in a thread-friendly way")
10135 (description
10136 "A thread safe API to write a line of textual data to a Handle, such
10137 as sending some messages to the terminal - that has the following properties:
10138 @itemize
10139 @item Properly handle character encoding settings on the Handle
10140 @item For reasonably sized messages, ensure that the entire message is written
10141 in one chunk to avoid interleaving data with other threads
10142 @item Avoid unnecessary memory allocations and copies
10143 @item Minimize locking.
10144 @end itemize")
10145 (license license:expat)))
10146
10147 (define-public ghc-scientific
10148 (package
10149 (name "ghc-scientific")
10150 (version "0.3.7.0")
10151 (source
10152 (origin
10153 (method url-fetch)
10154 (uri (hackage-uri "scientific" version))
10155 (sha256
10156 (base32
10157 "1aa3ngb71l2sh1x2829napnr1w285q0sn2f7z2wvi3ynng2238d3"))))
10158 (build-system haskell-build-system)
10159 (properties '((upstream-name . "scientific")))
10160 (inputs
10161 (list ghc-integer-logarithms ghc-hashable ghc-primitive))
10162 (native-inputs
10163 (list ghc-tasty
10164 ghc-tasty-ant-xml
10165 ghc-tasty-hunit
10166 ghc-tasty-smallcheck
10167 ghc-tasty-quickcheck
10168 ghc-smallcheck
10169 ghc-quickcheck))
10170 (arguments
10171 `(#:cabal-revision ("3"
10172 "1n67w1b64q59nn4845z3kr8rm0x0p7bi3cyp6n1dpnfs8k4l8x2i")))
10173 (home-page "https://github.com/basvandijk/scientific")
10174 (synopsis "Numbers represented using scientific notation")
10175 (description "This package provides @code{Data.Scientific}, which provides
10176 the number type @code{Scientific}. Scientific numbers are arbitrary precision
10177 and space efficient. They are represented using
10178 @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
10179 notation}.")
10180 (license license:bsd-3)))
10181
10182 (define-public ghc-scientific-bootstrap
10183 (package
10184 (inherit ghc-scientific)
10185 (name "ghc-scientific-bootstrap")
10186 (arguments `(#:tests? #f))
10187 (inputs
10188 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
10189 ("ghc-hashable" ,ghc-hashable)
10190 ("ghc-primitive" ,ghc-primitive)))
10191 (native-inputs '())
10192 (properties '((hidden? #t)))))
10193
10194 (define-public ghc-sdl
10195 (package
10196 (name "ghc-sdl")
10197 (version "0.6.7.0")
10198 (source
10199 (origin
10200 (method url-fetch)
10201 (uri (hackage-uri "SDL" version))
10202 (sha256
10203 (base32
10204 "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq"))))
10205 (build-system haskell-build-system)
10206 (properties '((upstream-name . "SDL")))
10207 (inputs
10208 (list sdl))
10209 (home-page "https://hackage.haskell.org/package/SDL")
10210 (synopsis "LibSDL for Haskell")
10211 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
10212 multimedia library designed to provide low level access to audio, keyboard,
10213 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
10214 by MPEG playback software, emulators, and many popular games, including the
10215 award winning Linux port of \"Civilization: Call To Power.\"")
10216 (license license:bsd-3)))
10217
10218 (define-public ghc-sdl2
10219 (package
10220 (name "ghc-sdl2")
10221 (version "2.5.4.0")
10222 (source (origin
10223 (method url-fetch)
10224 (uri (hackage-uri "sdl2" version))
10225 (sha256
10226 (base32
10227 "1g35phifz49kxk48s8jmgglxhxl79cbzc1cg2qlgk0vdpxpin8ym"))))
10228 (build-system haskell-build-system)
10229 (properties '((upstream-name . "sdl2")))
10230 (inputs (list ghc-statevar ghc-vector ghc-linear sdl2))
10231 (native-inputs (list ghc-weigh pkg-config))
10232 (arguments
10233 `(#:tests? #f ; Needs a graphics card.
10234 #:cabal-revision ("2"
10235 "1yxzq4gb6ig3d94lc76i5d50fa0j1fxr1wdlmgwhkvlfd4xnh6sg")))
10236 (home-page "http://hackage.haskell.org/package/sdl2")
10237 (synopsis "High- and low-level bindings to the SDL library")
10238 (description
10239 "This package contains bindings to the SDL 2 library, in both high- and
10240 low-level forms. The @code{SDL} namespace contains high-level bindings, where
10241 enumerations are split into sum types, and we perform automatic
10242 error-checking. The @code{SDL.Raw} namespace contains an almost 1-1
10243 translation of the C API into Haskell FFI calls. As such, this does not
10244 contain sum types nor error checking. Thus this namespace is suitable for
10245 building your own abstraction over SDL, but is not recommended for day-to-day
10246 programming.")
10247 (license license:bsd-3)))
10248
10249 (define-public ghc-sdl2-image
10250 (package
10251 (name "ghc-sdl2-image")
10252 (version "2.1.0.0")
10253 (source (origin
10254 (method url-fetch)
10255 (uri (hackage-uri "sdl2-image" version))
10256 (sha256
10257 (base32
10258 "03cjlmj844gmfxqn9mp8333hpsg227kaipgs6g68xwg0cvch696j"))))
10259 (build-system haskell-build-system)
10260 (properties '((upstream-name . "sdl2-image")))
10261 (inputs (list ghc-sdl2 sdl2-image))
10262 (native-inputs (list pkg-config))
10263 (home-page "http://hackage.haskell.org/package/sdl2-image")
10264 (synopsis "Bindings to SDL2_image")
10265 (description "This package provides Haskell bindings to
10266 @code{SDL2_image}.")
10267 (license license:expat)))
10268
10269 (define-public ghc-sdl2-mixer
10270 (package
10271 (name "ghc-sdl2-mixer")
10272 (version "1.2.0.0")
10273 (source (origin
10274 (method url-fetch)
10275 (uri (hackage-uri "sdl2-mixer" version))
10276 (sha256
10277 (base32
10278 "16fgnxq2nmifbz3lrr7dn1qj57l5f2kzv124lya1fjaxmwk1h52q"))))
10279 (build-system haskell-build-system)
10280 (properties '((upstream-name . "sdl2-mixer")))
10281 (inputs (list ghc-data-default-class ghc-lifted-base ghc-monad-control
10282 ghc-sdl2 ghc-vector sdl2-mixer))
10283 (native-inputs (list pkg-config))
10284 (home-page "http://hackage.haskell.org/package/sdl2-mixer")
10285 (synopsis "Bindings to SDL2 mixer")
10286 (description "This package provides Haskell bindings to
10287 @code{SDL2_mixer}.")
10288 (license license:bsd-3)))
10289
10290 (define-public ghc-sdl-image
10291 (package
10292 (name "ghc-sdl-image")
10293 (version "0.6.2.0")
10294 (source
10295 (origin
10296 (method url-fetch)
10297 (uri (hackage-uri "SDL-image" version))
10298 (sha256
10299 (base32
10300 "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1"))))
10301 (build-system haskell-build-system)
10302 (properties '((upstream-name . "SDL-image")))
10303 (arguments
10304 `(#:configure-flags
10305 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
10306 (sdl-image-include (string-append sdl-image "/include/SDL")))
10307 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
10308 (inputs
10309 (list ghc-sdl sdl-image))
10310 (home-page "https://hackage.haskell.org/package/SDL-image")
10311 (synopsis "Haskell bindings to libSDL_image")
10312 (description "SDL_image is an image file loading library. It loads images
10313 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
10314 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
10315 (license license:bsd-3)))
10316
10317 (define-public ghc-sdl-mixer
10318 (package
10319 (name "ghc-sdl-mixer")
10320 (version "0.6.3.0")
10321 (source
10322 (origin
10323 (method url-fetch)
10324 (uri (hackage-uri "SDL-mixer" version))
10325 (sha256
10326 (base32
10327 "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r"))))
10328 (build-system haskell-build-system)
10329 (properties '((upstream-name . "SDL-mixer")))
10330 (arguments
10331 `(#:configure-flags
10332 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
10333 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
10334 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
10335 (inputs
10336 (list ghc-sdl sdl-mixer))
10337 (home-page "https://hackage.haskell.org/package/SDL-mixer")
10338 (synopsis "Haskell bindings to libSDL_mixer")
10339 (description "SDL_mixer is a sample multi-channel audio mixer library. It
10340 supports any number of simultaneously playing channels of 16 bit stereo audio,
10341 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
10342 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
10343 (license license:bsd-3)))
10344
10345 (define-public ghc-securemem
10346 (package
10347 (name "ghc-securemem")
10348 (version "0.1.10")
10349 (source
10350 (origin
10351 (method url-fetch)
10352 (uri (hackage-uri "securemem" version))
10353 (sha256
10354 (base32
10355 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
10356 (build-system haskell-build-system)
10357 (properties '((upstream-name . "securemem")))
10358 (inputs (list ghc-byteable ghc-memory))
10359 (home-page "https://github.com/vincenthz/hs-securemem")
10360 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
10361 Haskell")
10362 (description "SecureMem is similar to ByteString, except that it provides
10363 a memory chunk that will be auto-scrubbed after it run out of scope.")
10364 (license license:bsd-3)))
10365
10366 (define-public ghc-semialign
10367 (package
10368 (name "ghc-semialign")
10369 (version "1.2.0.1")
10370 (source (origin
10371 (method url-fetch)
10372 (uri (hackage-uri "semialign" version))
10373 (sha256
10374 (base32
10375 "0ci1jpp37p1lzyjxc1bljd6zgg407qmkl9s36b50qjxf85q6j06r"))))
10376 (build-system haskell-build-system)
10377 (properties '((upstream-name . "semialign")))
10378 (inputs (list ghc-these
10379 ghc-hashable
10380 ghc-indexed-traversable
10381 ghc-indexed-traversable-instances
10382 ghc-tagged
10383 ghc-unordered-containers
10384 ghc-vector
10385 ghc-semigroupoids))
10386 (arguments
10387 `(#:cabal-revision ("3"
10388 "0dbcdnksik508i12arh3s6bis6779lx5f1df0jkc0bp797inhd7f")))
10389 (home-page "https://github.com/haskellari/these")
10390 (synopsis "Align and Zip type-classes from the common Semialign ancestor")
10391 (description
10392 "The major use of @code{These} of this is provided by the
10393 @code{align} member of @code{Semialign} class, representing a
10394 generalized notion of \"zipping with padding\" that combines
10395 structures without truncating to the size of the smaller input. It
10396 turns out that @code{zip} operation fits well the @code{Semialign}
10397 class, forming lattice-like structure.")
10398 (license license:bsd-3)))
10399
10400 (define-public ghc-semigroupoids
10401 (package
10402 (name "ghc-semigroupoids")
10403 (version "5.3.7")
10404 (source (origin
10405 (method url-fetch)
10406 (uri (hackage-uri "semigroupoids" version))
10407 (sha256
10408 (base32
10409 "169pjrm7lxjxrqj5q1iyl288bx5nj8n0pf2ri1cclxccqnvcsibd"))))
10410 (build-system haskell-build-system)
10411 (properties '((upstream-name . "semigroupoids")))
10412 (inputs (list ghc-base-orphans
10413 ghc-bifunctors
10414 ghc-transformers-compat
10415 ghc-generic-deriving
10416 ghc-contravariant
10417 ghc-distributive
10418 ghc-comonad
10419 ghc-tagged
10420 ghc-hashable
10421 ghc-unordered-containers))
10422 (home-page "http://github.com/ekmett/semigroupoids")
10423 (synopsis "Semigroupoids operations for Haskell")
10424 (description
10425 "This library provides a wide array of (semi)groupoids and
10426 operations for working with them. A @code{Semigroupoid} is a @code{Category}
10427 without the requirement of identity arrows for every object in the category.
10428 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
10429 Finally, to work with these weaker structures it is beneficial to have
10430 containers that can provide stronger guarantees about their contents, so
10431 versions of @code{Traversable} and @code{Foldable} that can be folded with
10432 just a @code{Semigroup} are added.")
10433 (license license:bsd-2)))
10434
10435 (define-public ghc-semigroups
10436 (package
10437 (name "ghc-semigroups")
10438 (version "0.20")
10439 (source (origin
10440 (method url-fetch)
10441 (uri (hackage-uri "semigroups" version))
10442 (sha256
10443 (base32
10444 "1qbk6scp1rzb69dy8mz26p6az5vi16g2lzwmwnfshh3br4rjwbch"))))
10445 (build-system haskell-build-system)
10446 (properties '((upstream-name . "semigroups")))
10447 (inputs (list ghc-nats ghc-tagged ghc-hashable ghc-unordered-containers
10448 ghc-transformers-compat))
10449 (home-page "http://github.com/ekmett/semigroups/")
10450 (synopsis "Semigroup operations for Haskell")
10451 (description
10452 "This package provides semigroups for Haskell. In
10453 mathematics, a semigroup is an algebraic structure consisting of a set
10454 together with an associative binary operation. A semigroup generalizes a
10455 monoid in that there might not exist an identity element. It
10456 also (originally) generalized a group (a monoid with all inverses) to a type
10457 where every element did not have to have an inverse, thus the name
10458 semigroup.")
10459 (license license:bsd-3)))
10460
10461 (define-public ghc-semigroups-bootstrap
10462 (package
10463 (inherit ghc-semigroups)
10464 (name "ghc-semigroups-bootstrap")
10465 (inputs
10466 (list ghc-nats-bootstrap ghc-tagged
10467 ghc-unordered-containers-bootstrap ghc-hashable-bootstrap))
10468 (properties '((hidden? #t)))))
10469
10470 (define-public ghc-semirings
10471 (package
10472 (name "ghc-semirings")
10473 (version "0.6")
10474 (source
10475 (origin
10476 (method url-fetch)
10477 (uri (hackage-uri "semirings" version))
10478 (sha256
10479 (base32 "16q535bvjl7395sqkx6zlw48y4fzr7irp44pcp7w9irpn4cncdcr"))))
10480 (build-system haskell-build-system)
10481 (properties '((upstream-name . "semirings")))
10482 (inputs
10483 (list ghc-base-compat-batteries ghc-hashable ghc-unordered-containers))
10484 (arguments
10485 `(#:cabal-revision
10486 ("1" "1c06yhfa053sv3rfz0d72a33l5qb0xmj1b3hy2z7pzxrcay6g1yc")))
10487 (home-page "https://github.com/chessai/semirings")
10488 (synopsis "Two monoids as one, in holy haskimony")
10489 (description
10490 "Haskellers are usually familiar with monoids and semigroups. A monoid has an
10491 appending operation @code{<>} (or @code{mappend}), and an identity element,
10492 @code{mempty}. A semigroup has an appending @code{<>} operation, but does not
10493 require a @code{mempty} element. A Semiring has two appending operations,
10494 @code{plus} and @code{times}, and two respective identity elements,
10495 @code{zero} and @code{one}. More formally, a Semiring R is a set equipped
10496 with two binary relations @code{+} and @code{*}, such that: (R,+) is a
10497 commutative monoid with identity element 0, (R,*) is a monoid with identity
10498 element 1, (*) left and right distributes over addition, and . multiplication
10499 by @code{0} annihilates R.")
10500 (license license:bsd-3)))
10501
10502 (define-public ghc-serialise
10503 (package
10504 (name "ghc-serialise")
10505 (version "0.2.6.0")
10506 (source (origin
10507 (method url-fetch)
10508 (uri (hackage-uri "serialise" version))
10509 (sha256
10510 (base32
10511 "05m5h5vfjp4wvh6y7j2f3d4c3l6gxww2n1v38vqrjacpw641izwk"))))
10512 (build-system haskell-build-system)
10513 (properties '((upstream-name . "serialise")))
10514 (inputs (list ghc-cborg
10515 ghc-half
10516 ghc-hashable
10517 ghc-primitive
10518 ghc-strict
10519 ghc-these
10520 ghc-unordered-containers
10521 ghc-vector))
10522 (native-inputs (list ghc-quickcheck ghc-tasty ghc-tasty-hunit
10523 ghc-tasty-quickcheck ghc-quickcheck-instances))
10524 (arguments
10525 `(#:cabal-revision ("1"
10526 "0rlsi4jq2d1dak2fps5flcn27lywjlhvsi0x2k2lvnjqawnfb3f9")))
10527 (home-page "https://github.com/well-typed/cborg")
10528 (synopsis "Binary serialisation library for Haskell values")
10529 (description
10530 "This package (formerly binary-serialise-cbor) provides pure,
10531 efficient serialization of Haskell values directly into ByteStrings for
10532 storage or transmission purposes. By providing a set of type class instances,
10533 you can also serialise any custom data type you have as well.
10534
10535 The underlying binary format used is the 'Concise Binary Object
10536 Representation', or CBOR, specified in RFC 7049. As a result, serialised
10537 Haskell values have implicit structure outside of the Haskell program itself,
10538 meaning they can be inspected or analyzed without custom tools.
10539
10540 An implementation of the standard bijection between CBOR and JSON is
10541 provided by the https://hackage.haskell.org/package/cborg-json
10542 package. Also see https://hackage.haskell.org/package/cbor-tool for a
10543 convenient command-line utility for working with CBOR data.")
10544 (license license:bsd-3)))
10545
10546 (define-public ghc-setenv
10547 (package
10548 (name "ghc-setenv")
10549 (version "0.1.1.3")
10550 (source
10551 (origin
10552 (method url-fetch)
10553 (uri (hackage-uri "setenv" version))
10554 (sha256
10555 (base32
10556 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
10557 (build-system haskell-build-system)
10558 (properties '((upstream-name . "setenv")))
10559 (home-page "https://hackage.haskell.org/package/setenv")
10560 (synopsis "Library for setting environment variables")
10561 (description "This package provides a Haskell library for setting
10562 environment variables.")
10563 (license license:expat)))
10564
10565 (define-public ghc-setlocale
10566 (package
10567 (name "ghc-setlocale")
10568 (version "1.0.0.10")
10569 (source (origin
10570 (method url-fetch)
10571 (uri (hackage-uri "setlocale" version))
10572 (sha256
10573 (base32
10574 "19rv89jkhq5ic7j5rzpygnmsbzim2mn8ip0m292za613q88gywir"))))
10575 (build-system haskell-build-system)
10576 (properties '((upstream-name . "setlocale")))
10577 (arguments
10578 `(#:cabal-revision ("2"
10579 "1k4idj2xl9dg5nfz128xazrrydz9mgm3bbjrc0cyby8n3c0ij9x1")))
10580 (home-page "https://hackage.haskell.org/package/setlocale")
10581 (synopsis "Haskell bindings to setlocale")
10582 (description "This package provides Haskell bindings to the
10583 @code{setlocale} C function.")
10584 (license license:bsd-3)))
10585
10586 (define-public ghc-shakespeare
10587 (package
10588 (name "ghc-shakespeare")
10589 (version "2.0.30")
10590 (source (origin
10591 (method url-fetch)
10592 (uri (hackage-uri "shakespeare" version))
10593 (sha256
10594 (base32
10595 "038yprj9yig2xbjs2pqsjzs4pl9ir2frdz9wn2pklc4kvdazx3aw"))))
10596 (build-system haskell-build-system)
10597 (properties '((upstream-name . "shakespeare")))
10598 (inputs (list ghc-aeson
10599 ghc-blaze-markup
10600 ghc-blaze-html
10601 ghc-file-embed
10602 ghc-vector
10603 ghc-unordered-containers
10604 ghc-scientific
10605 ghc-th-lift))
10606 (native-inputs (list ghc-hspec ghc-hunit hspec-discover))
10607 (home-page "http://www.yesodweb.com/book/shakespearean-templates")
10608 (synopsis "Family of type-safe template languages for Haskell")
10609 (description
10610 "This Haskell package provides a family of type-safe
10611 templates with simple variable interpolation. Shakespeare templates can
10612 be used inline with a quasi-quoter or in an external file and it
10613 interpolates variables according to the type being inserted.")
10614 (license license:expat)))
10615
10616 (define-public ghc-shelly
10617 (package
10618 (name "ghc-shelly")
10619 (version "1.10.0")
10620 (source (origin
10621 (method url-fetch)
10622 (uri (hackage-uri "shelly" version))
10623 (sha256
10624 (base32
10625 "0hgzh0rrhipir8378civ5mwvkvcsd063jm2pyx8dqngdynph0h65"))))
10626 (build-system haskell-build-system)
10627 (properties '((upstream-name . "shelly")))
10628 (inputs (list ghc-async
10629 ghc-enclosed-exceptions
10630 ghc-lifted-async
10631 ghc-lifted-base
10632 ghc-monad-control
10633 ghc-transformers-base
10634 ghc-unix-compat))
10635 (native-inputs (list ghc-hspec ghc-hspec-contrib ghc-hunit))
10636 (arguments
10637 `(#:cabal-revision ("1"
10638 "07c1rjwvg2ldam6yaksvrr9f703b7d1rcw0482ns5yi2f7y1kczp")))
10639 (home-page "https://github.com/yesodweb/Shelly.hs")
10640 (synopsis "Shell-like (systems) programming in Haskell")
10641 (description
10642 "Shelly provides convenient systems programming in Haskell, similar in
10643 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
10644 (license license:bsd-3)))
10645
10646 (define-public ghc-silently
10647 (package
10648 (name "ghc-silently")
10649 (version "1.2.5.3")
10650 (source (origin
10651 (method url-fetch)
10652 (uri (hackage-uri "silently" version))
10653 (sha256
10654 (base32
10655 "0wk3yci4r9v0vwyzylj3k07damz17jwc6n6imwqahf4lsapsz7ds"))))
10656 (build-system haskell-build-system)
10657 (properties '((upstream-name . "silently")))
10658 (native-inputs (list ghc-nanospec ghc-temporary))
10659 (home-page "https://github.com/hspec/silently")
10660 (synopsis "Prevent writing to stdout")
10661 (description "This package provides functions to prevent or capture
10662 writing to stdout and other handles.")
10663 (license license:bsd-3)))
10664
10665 (define-public ghc-silently-bootstrap
10666 (package
10667 (inherit ghc-silently)
10668 (name "ghc-silently-bootstrap")
10669 (arguments `(#:tests? #f))
10670 (native-inputs '())
10671 (properties '((hidden? #t)))))
10672
10673 (define-public ghc-simple-reflect
10674 (package
10675 (name "ghc-simple-reflect")
10676 (version "0.3.3")
10677 (source
10678 (origin
10679 (method url-fetch)
10680 (uri (hackage-uri "simple-reflect" version))
10681 (sha256
10682 (base32
10683 "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7"))))
10684 (build-system haskell-build-system)
10685 (properties '((upstream-name . "simple-reflect")))
10686 (home-page
10687 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
10688 (synopsis
10689 "Simple reflection of expressions containing variables")
10690 (description
10691 "This package allows simple reflection of expressions containing
10692 variables. Reflection here means that a Haskell expression is turned into a
10693 string. The primary aim of this package is teaching and understanding; there
10694 are no options for manipulating the reflected expressions beyond showing
10695 them.")
10696 (license license:bsd-3)))
10697
10698 (define-public ghc-simple-sendfile
10699 (package
10700 (name "ghc-simple-sendfile")
10701 (version "0.2.30")
10702 (source
10703 (origin
10704 (method url-fetch)
10705 (uri (hackage-uri "simple-sendfile" version))
10706 (sha256
10707 (base32
10708 "112j0qfsjazf9wg1zywf7hjybgsiywk9wkm27yi8xzv27hmlv1mn"))))
10709 (build-system haskell-build-system)
10710 (properties '((upstream-name . "simple-sendfile")))
10711 (inputs
10712 (list ghc-conduit ghc-conduit-extra ghc-network ghc-resourcet))
10713 (native-inputs
10714 (list ghc-hspec hspec-discover))
10715 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
10716 (synopsis "Cross platform library for the sendfile system call")
10717 (description "This library tries to call minimum system calls which
10718 are the bottleneck of web servers.")
10719 (license license:bsd-3)))
10720
10721 (define-public ghc-size-based
10722 (package
10723 (name "ghc-size-based")
10724 (version "0.1.3.1")
10725 (source (origin
10726 (method url-fetch)
10727 (uri (hackage-uri "size-based" version))
10728 (sha256
10729 (base32
10730 "1x2z8iw4jgcp6xirclifjhh3rvyjy5xgqrd6lcv4gifj859sfjd2"))))
10731 (build-system haskell-build-system)
10732 (properties '((upstream-name . "size-based")))
10733 (inputs (list ghc-dictionary-sharing ghc-testing-type-modifiers))
10734 (home-page "http://hackage.haskell.org/package/size-based")
10735 (synopsis "Sized functors for size-based enumerations")
10736 (description "This library provides a framework for size-based
10737 enumerations.")
10738 (license license:bsd-3)))
10739
10740 (define-public ghc-skylighting-core
10741 (package
10742 (name "ghc-skylighting-core")
10743 (version "0.13.2")
10744 (source (origin
10745 (method url-fetch)
10746 (uri (hackage-uri "skylighting-core" version))
10747 (sha256
10748 (base32
10749 "0iwzfgynj3l8rnvvrl4kg0i1n31rz15da8cf1943gw1vcfh6w585"))))
10750 (build-system haskell-build-system)
10751 (properties '((upstream-name . "skylighting-core")))
10752 (inputs
10753 (list ghc-aeson
10754 ghc-ansi-terminal
10755 ghc-attoparsec
10756 ghc-base64-bytestring
10757 ghc-blaze-html
10758 ghc-case-insensitive
10759 ghc-colour
10760 ghc-safe
10761 ghc-utf8-string
10762 ghc-xml-conduit))
10763 (native-inputs
10764 (list ghc-diff
10765 ghc-pretty-show
10766 ghc-quickcheck
10767 ghc-tasty
10768 ghc-tasty-golden
10769 ghc-tasty-hunit
10770 ghc-tasty-quickcheck))
10771 (home-page "https://github.com/jgm/skylighting")
10772 (synopsis "Syntax highlighting library")
10773 (description "Skylighting is a syntax highlighting library with support
10774 for over one hundred languages. It derives its tokenizers from XML syntax
10775 definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
10776 supported by that framework can be added. An optional command-line program is
10777 provided. Skylighting is intended to be the successor to highlighting-kate.")
10778 (license license:gpl2)))
10779
10780 (define-public ghc-skylighting-format-blaze-html
10781 (package
10782 (name "ghc-skylighting-format-blaze-html")
10783 (version "0.1.1")
10784 (source (origin
10785 (method url-fetch)
10786 (uri (hackage-uri "skylighting-format-blaze-html" version))
10787 (sha256
10788 (base32
10789 "04zg92x1jnzv6hac6wdgksgma7gi5g82x2kdxk8r7pk9yd6rn4xi"))))
10790 (build-system haskell-build-system)
10791 (properties '((upstream-name . "skylighting-format-blaze-html")))
10792 (inputs (list ghc-skylighting-core ghc-blaze-html))
10793 (home-page "https://github.com/jgm/skylighting")
10794 (synopsis "HTML formatter for skylighting syntax highlighting library")
10795 (description
10796 "This module allows tokens produced by skylighting-core to be rendered as HTML.")
10797 (license license:bsd-3)))
10798
10799 (define-public ghc-skylighting-format-latex
10800 (package
10801 (name "ghc-skylighting-format-latex")
10802 (version "0.1")
10803 (source (origin
10804 (method url-fetch)
10805 (uri (hackage-uri "skylighting-format-latex" version))
10806 (sha256
10807 (base32
10808 "0y7v5aifwar24i976pw32scfdywjwy2ad05ajhdf8l84nsd6rdlp"))))
10809 (build-system haskell-build-system)
10810 (properties '((upstream-name . "skylighting-format-latex")))
10811 (inputs (list ghc-skylighting-core))
10812 (home-page "https://github.com/jgm/skylighting")
10813 (synopsis "LaTeX formatter for skylighting syntax highlighting library")
10814 (description
10815 "This module allows tokens produced by skylighting-core to be rendered as LaTeX
10816 macros.")
10817 (license license:bsd-3)))
10818
10819 (define-public ghc-skylighting-format-context
10820 (package
10821 (name "ghc-skylighting-format-context")
10822 (version "0.1.0.1")
10823 (source (origin
10824 (method url-fetch)
10825 (uri (hackage-uri "skylighting-format-context" version))
10826 (sha256
10827 (base32
10828 "1d4nf16wl2l4r627qnph09x21xwcq03r7bznqm08d4di1z241xv0"))))
10829 (build-system haskell-build-system)
10830 (properties '((upstream-name . "skylighting-format-context")))
10831 (inputs (list ghc-skylighting-core))
10832 (home-page "https://github.com/jgm/skylighting")
10833 (synopsis "ConTeXt formatter for skylighting syntax highlighting library")
10834 (description
10835 "This module allows tokens produced by skylighting-core to be rendered as ConTeXt
10836 commands.")
10837 (license license:bsd-3)))
10838
10839 (define-public ghc-skylighting-format-ansi
10840 (package
10841 (name "ghc-skylighting-format-ansi")
10842 (version "0.1")
10843 (source (origin
10844 (method url-fetch)
10845 (uri (hackage-uri "skylighting-format-ansi" version))
10846 (sha256
10847 (base32
10848 "16qavv10g5yqwi60axj7q595ll605vmnfjgdxyi029nd5rnaipr3"))))
10849 (build-system haskell-build-system)
10850 (properties '((upstream-name . "skylighting-format-ansi")))
10851 (inputs (list ghc-skylighting-core ghc-ansi-terminal ghc-colour))
10852 (home-page "https://github.com/jgm/skylighting")
10853 (synopsis "ANSI formatter for skylighting syntax highlighting library")
10854 (description
10855 "This module allows tokens produced by skylighting-core to be rendered as ANSI
10856 colored text.")
10857 (license license:bsd-3)))
10858
10859 (define-public ghc-skylighting
10860 (package
10861 (name "ghc-skylighting")
10862 (version "0.13.2")
10863 (source (origin
10864 (method url-fetch)
10865 (uri (hackage-uri "skylighting" version))
10866 (sha256
10867 (base32
10868 "0dh4k39ddqca5px2d06ni8n9x3mifvkwd5i16077l472dwjcs879"))))
10869 (build-system haskell-build-system)
10870 (properties '((upstream-name . "skylighting")))
10871 (inputs (list ghc-skylighting-core
10872 ghc-skylighting-format-ansi
10873 ghc-skylighting-format-context
10874 ghc-skylighting-format-latex
10875 ghc-skylighting-format-blaze-html
10876 ghc-pretty-show
10877 ghc-blaze-html))
10878 (home-page "https://github.com/jgm/skylighting")
10879 (synopsis "syntax highlighting library")
10880 (description
10881 "Skylighting is a syntax highlighting library with support for over one hundred
10882 languages. It derives its tokenizers from XML syntax definitions used by KDE's
10883 KSyntaxHighlighting framework, so any syntax supported by that framework can be
10884 added. An optional command-line program is provided. Skylighting is intended
10885 to be the successor to highlighting-kate. This package provides generated
10886 syntax modules based on the KDE XML definitions provided by the
10887 @code{skylighting-core} package.")
10888 (license license:gpl2)))
10889
10890 (define-public ghc-smallcheck
10891 (package
10892 (name "ghc-smallcheck")
10893 (version "1.2.1")
10894 (source
10895 (origin
10896 (method url-fetch)
10897 (uri (hackage-uri "smallcheck" version))
10898 (sha256
10899 (base32
10900 "0sf87zjlrgjw7q6a0499g2ywx66zvpv6rg6953fjc18fnl8rs7z4"))))
10901 (build-system haskell-build-system)
10902 (properties '((upstream-name . "smallcheck")))
10903 (inputs
10904 (list ghc-logict))
10905 (home-page
10906 "https://github.com/feuerbach/smallcheck")
10907 (synopsis "Property-based testing library")
10908 (description "SmallCheck is a testing library that verifies
10909 properties for all test cases up to some depth. The test cases are generated
10910 automatically by SmallCheck.")
10911 (license license:bsd-3)))
10912
10913 (define-public ghc-socks
10914 (package
10915 (name "ghc-socks")
10916 (version "0.6.1")
10917 (source (origin
10918 (method url-fetch)
10919 (uri (hackage-uri "socks" version))
10920 (sha256
10921 (base32
10922 "0wvaxy3dkv97wrncjv1rxrmjr4014hgxz82kixvcwqdhidalfi3k"))))
10923 (build-system haskell-build-system)
10924 (properties '((upstream-name . "socks")))
10925 (inputs
10926 (list ghc-cereal ghc-basement ghc-network))
10927 (home-page "https://github.com/vincenthz/hs-socks")
10928 (synopsis "SOCKS proxy (version 5) implementation")
10929 (description
10930 "This library provides a SOCKS proxy (version 5) implementation.")
10931 (license license:bsd-3)))
10932
10933 (define-public ghc-sop-core
10934 (package
10935 (name "ghc-sop-core")
10936 (version "0.5.0.2")
10937 (source (origin
10938 (method url-fetch)
10939 (uri (hackage-uri "sop-core" version))
10940 (sha256
10941 (base32
10942 "0rbj56icbaqlcxx5xwvbx4n4vmyv6cfcv7s45n1fv3drahigvgw7"))))
10943 (build-system haskell-build-system)
10944 (properties '((upstream-name . "sop-core")))
10945 (arguments
10946 `(#:cabal-revision ("1"
10947 "1p6zyqja021gyndskn1qnj29glqr0hldyhxplnpxz06hz4xqwngz")))
10948 (home-page "http://hackage.haskell.org/package/sop-core")
10949 (synopsis "True Sums of Products")
10950 (description
10951 "This package provides an implementation of
10952 @math{n}-ary sums and @math{n}-ary products. The module @code{Data.SOP}
10953 is the main module of this library and contains more detailed
10954 documentation. The main use case of this package is to serve as the
10955 core of @url{https://hackage.haskell.org/package/generics-sop,
10956 generics-sop}.")
10957 (license license:bsd-3)))
10958
10959 (define-public ghc-special-values
10960 (package
10961 (name "ghc-special-values")
10962 (version "0.1.0.0")
10963 (source
10964 (origin
10965 (method url-fetch)
10966 (uri (hackage-uri "special-values" version))
10967 (sha256
10968 (base32
10969 "1kkdw2c4d2hha99v9f89ahmifjxp7fxmxyfwq9a8xk6s0h9xs51w"))))
10970 (build-system haskell-build-system)
10971 (properties '((upstream-name . "special-values")))
10972 (inputs
10973 (list ghc-scientific ghc-ieee754 ghc-nats))
10974 (arguments
10975 `(#:cabal-revision ("2"
10976 "1vv5gydjd65jniifl3mnch8bzvpvdahi913gsa3kv5zijwhad699")))
10977 (home-page
10978 "https://github.com/minad/special-values#readme")
10979 (synopsis "Typeclass providing special values")
10980 (description
10981 "Special values are provided by a SpecialValues typeclass. Those can be
10982 used for example by QuickCheck, see quickcheck-special." )
10983 (license license:expat)))
10984
10985 (define-public ghc-split
10986 (package
10987 (name "ghc-split")
10988 (version "0.2.3.5")
10989 (source (origin
10990 (method url-fetch)
10991 (uri (hackage-uri "split" version))
10992 (sha256
10993 (base32
10994 "0n9ip49laq5jwqw0c43lhf69ii8y4lwci9j6d5bjnjim23bai2mz"))))
10995 (build-system haskell-build-system)
10996 (properties '((upstream-name . "split")))
10997 (native-inputs (list ghc-quickcheck))
10998 (home-page "http://hackage.haskell.org/package/split")
10999 (synopsis "Combinator library for splitting lists")
11000 (description
11001 "This package provides a collection of Haskell functions for
11002 splitting lists into parts, akin to the @code{split} function found in several
11003 mainstream languages.")
11004 (license license:bsd-3)))
11005
11006 (define-public ghc-splitmix
11007 (package
11008 (name "ghc-splitmix")
11009 (version "0.1.0.4")
11010 (source (origin
11011 (method url-fetch)
11012 (uri (hackage-uri "splitmix" version))
11013 (sha256
11014 (base32
11015 "1apck3nzzl58r0b9al7cwaqwjhhkl8q4bfrx14br2yjf741581kd"))))
11016 (build-system haskell-build-system)
11017 (properties '((upstream-name . "splitmix")))
11018 (native-inputs (list ghc-hunit
11019 ghc-base-compat
11020 ghc-hunit
11021 ghc-math-functions
11022 ghc-test-framework
11023 ghc-test-framework-hunit
11024 ghc-async
11025 ghc-base-compat-batteries
11026 ghc-random
11027 ghc-tf-random
11028 ghc-vector
11029 ghc-base-compat-batteries
11030 ghc-hunit))
11031 (arguments
11032 `(#:tests? #f ; Missing library testu01.
11033 #:cabal-revision ("1"
11034 "1iqlg2d4mybqwzwp67c5a1yxzd47cbp4f7mrpa6d0ckypis2akl0")))
11035 (home-page "http://hackage.haskell.org/package/splitmix")
11036 (synopsis "Fast and splittable pseudorandom number generator")
11037 (description
11038 "This package provides a Pure Haskell implementation of the
11039 SplitMix pseudorandom number generator. SplitMix is a \"splittable\"
11040 pseudorandom number generator that is quite fast: 9 64-bit
11041 arithmetic/logical operations per 64 bits generated. SplitMix is tested
11042 with two standard statistical test suites (DieHarder and TestU01, this
11043 implementation only using the former) and it appears to be adequate for
11044 \"everyday\" use, such as Monte Carlo algorithms and randomized data
11045 structures where speed is important. In particular, it @strong{should not
11046 be used for cryptographic or security applications}, because generated
11047 sequences of pseudorandom values are too predictable (the mixing functions
11048 are easily inverted, and two successive outputs suffice to reconstruct the
11049 internal state).")
11050 (license license:bsd-3)))
11051
11052 (define-public ghc-splitmix-bootstrap
11053 (package
11054 (inherit ghc-splitmix)
11055 (name "ghc-splitmix-bootstrap")
11056 (arguments `(#:tests? #f))
11057 (native-inputs '())
11058 (properties '((hidden? #t)))))
11059
11060 (define-public ghc-spoon
11061 (package
11062 (name "ghc-spoon")
11063 (version "0.3.1")
11064 (source
11065 (origin
11066 (method url-fetch)
11067 (uri (hackage-uri "spoon" version))
11068 (sha256
11069 (base32
11070 "1m41k0mfy6fpfrv2ym4m5jsjaj9xdfl2iqpppd3c4d0fffv51cxr"))))
11071 (build-system haskell-build-system)
11072 (properties '((upstream-name . "spoon")))
11073 (arguments
11074 `(#:cabal-revision
11075 ("1"
11076 "09s5jjcsg4g4qxchq9g2l4i9d5zh3rixpkbiysqcgl69kj8mwv74")))
11077 (home-page
11078 "https://hackage.haskell.org/package/spoon")
11079 (synopsis
11080 "Catch errors thrown from pure computations")
11081 (description
11082 "Takes an error-throwing expression and puts it back in the Maybe it
11083 belongs in.
11084
11085 Note that this suffers from the
11086 @url{https://ghc.haskell.org/trac/ghc/ticket/5902}. Buyer beware.")
11087 (license license:bsd-3)))
11088
11089 (define-public ghc-statevar
11090 (package
11091 (name "ghc-statevar")
11092 (version "1.2.2")
11093 (source
11094 (origin
11095 (method url-fetch)
11096 (uri (hackage-uri "StateVar" version))
11097 (sha256
11098 (base32
11099 "098q4lk60najzpbfal4bg4sh7izxm840aa5h4ycaamjn77d3jjsy"))))
11100 (build-system haskell-build-system)
11101 (properties '((upstream-name . "StateVar")))
11102 (home-page "https://hackage.haskell.org/package/StateVar")
11103 (synopsis "State variables for Haskell")
11104 (description "This package provides state variables, which are references
11105 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
11106 (license license:bsd-3)))
11107
11108 (define-public ghc-statistics
11109 (package
11110 (name "ghc-statistics")
11111 (version "0.16.1.2")
11112 (source (origin
11113 (method url-fetch)
11114 (uri (hackage-uri "statistics" version))
11115 (sha256
11116 (base32
11117 "15yr0w25dqaqz16635qxkxvr6nj6mkjj9pl7wzw5yr3pn84xjryq"))))
11118 (build-system haskell-build-system)
11119 (properties '((upstream-name . "statistics")))
11120 (inputs (list ghc-math-functions
11121 ghc-mwc-random
11122 ghc-random
11123 ghc-aeson
11124 ghc-async
11125 ghc-primitive
11126 ghc-dense-linear-algebra
11127 ghc-parallel
11128 ghc-vector
11129 ghc-vector-algorithms
11130 ghc-vector-th-unbox
11131 ghc-vector-binary-instances
11132 ghc-data-default-class))
11133 (native-inputs (list ghc-quickcheck
11134 ghc-erf
11135 ghc-ieee754
11136 ghc-tasty
11137 ghc-tasty-hunit
11138 ghc-tasty-quickcheck
11139 ghc-tasty-expected-failure))
11140 (home-page "https://github.com/haskell/statistics")
11141 (synopsis "Haskell library of statistical types, data, and functions")
11142 (description
11143 "This library provides a number of common functions
11144 and types useful in statistics. We focus on high performance, numerical
11145 robustness, and use of good algorithms. Where possible, we provide references
11146 to the statistical literature.
11147
11148 The library's facilities can be divided into four broad categories:
11149
11150 @itemize
11151 @item Working with widely used discrete and continuous probability
11152 distributions. (There are dozens of exotic distributions in use; we focus
11153 on the most common.)
11154
11155 @item Computing with sample data: quantile estimation, kernel density
11156 estimation, histograms, bootstrap methods, significance testing,
11157 and regression and autocorrelation analysis.
11158
11159 @item Random variate generation under several different distributions.
11160
11161 @item Common statistical tests for significant differences between samples.
11162 @end itemize")
11163 (license license:bsd-2)))
11164
11165 (define-public ghc-stm-chans
11166 (package
11167 (name "ghc-stm-chans")
11168 (version "3.0.0.6")
11169 (source
11170 (origin
11171 (method url-fetch)
11172 (uri (hackage-uri "stm-chans" version))
11173 (sha256
11174 (base32
11175 "04hafqjq8ngvhcavkfx88a0zky8yc7i18q2n9ajav03kns1kwvpa"))))
11176 (build-system haskell-build-system)
11177 (properties '((upstream-name . "stm-chans")))
11178 (home-page "https://hackage.haskell.org/package/stm-chans")
11179 (synopsis "Additional types of channels for ghc-stm")
11180 (description "This Haskell package offers a collection of channel types,
11181 similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
11182 features.")
11183 (license license:bsd-3)))
11184
11185 (define-public ghc-stm-conduit
11186 (package
11187 (name "ghc-stm-conduit")
11188 (version "4.0.1")
11189 (source
11190 (origin
11191 (method url-fetch)
11192 (uri (hackage-uri "stm-conduit" version))
11193 (sha256
11194 (base32
11195 "0hhlxvpp7mah8dcvkknh6skx44jfk3092zz2w52zlr255bkmn3p8"))))
11196 (build-system haskell-build-system)
11197 (properties '((upstream-name . "stm-conduit")))
11198 (inputs
11199 (list ghc-stm-chans
11200 ghc-cereal
11201 ghc-cereal-conduit
11202 ghc-conduit
11203 ghc-conduit-extra
11204 ghc-exceptions
11205 ghc-resourcet
11206 ghc-async
11207 ghc-monad-loops
11208 ghc-unliftio))
11209 (native-inputs
11210 (list ghc-doctest
11211 ghc-quickcheck
11212 ghc-hunit
11213 ghc-test-framework
11214 ghc-test-framework-hunit
11215 ghc-test-framework-quickcheck2))
11216 (home-page "https://github.com/cgaebel/stm-conduit")
11217 (synopsis "Introduces conduits to channels and promotes using conduits concurrently")
11218 (description
11219 "This package provides two simple conduit wrappers around STM channels: a
11220 source and a sink.")
11221 (license license:bsd-3)))
11222
11223 (define-public ghc-stmonadtrans
11224 (package
11225 (name "ghc-stmonadtrans")
11226 (version "0.4.6")
11227 (source
11228 (origin
11229 (method url-fetch)
11230 (uri (hackage-uri "STMonadTrans" version))
11231 (sha256
11232 (base32 "0rvhh0hhwz601ibpzisry7xf3j61r5sxfgp47imaa37i5bvrlynb"))))
11233 (build-system haskell-build-system)
11234 (properties '((upstream-name . "STMonadTrans")))
11235 (arguments `(#:tests? #f)) ; TODO: Loops.
11236 (inputs (list ghc-fail))
11237 ; (native-inputs
11238 ; `(("ghc-tasty" ,ghc-tasty)
11239 ; ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11240 ; ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11241 ; ("ghc-stmonadtrans" ,ghc-stmonadtrans)))
11242 (home-page "https://hackage.haskell.org/package/STMonadTrans")
11243 (synopsis "Monad transformer version of the ST monad")
11244 (description
11245 "This package provides a monad transformer version of the @code{ST} monad
11246 for strict state threads.")
11247 (license license:bsd-3)))
11248
11249 (define-public ghc-storable-complex
11250 (package
11251 (name "ghc-storable-complex")
11252 (version "0.2.3.0")
11253 (source
11254 (origin
11255 (method url-fetch)
11256 (uri (hackage-uri "storable-complex" version))
11257 (sha256
11258 (base32 "0fnwbfmd5vsaaqvf9182qdcjrzcfjd1zhdyvjwzifbwvn6r9kx4s"))))
11259 (build-system haskell-build-system)
11260 (properties '((upstream-name . "storable-complex")))
11261 (inputs
11262 (list ghc-base-orphans))
11263 (home-page "https://github.com/cartazio/storable-complex")
11264 (synopsis "Haskell Storable instance for Complex")
11265 (description "This package provides a Haskell library including a
11266 Storable instance for Complex which is binary compatible with C99, C++
11267 and Fortran complex data types.")
11268 (license license:bsd-3)))
11269
11270 (define-public ghc-storable-record
11271 (package
11272 (name "ghc-storable-record")
11273 (version "0.0.6")
11274 (source (origin
11275 (method url-fetch)
11276 (uri (hackage-uri "storable-record" version))
11277 (sha256
11278 (base32
11279 "1d4c1ccbrpq8rnacsjib9nmxhgxk9yb1zxx1nvfavhqhv8nwq2fd"))))
11280 (build-system haskell-build-system)
11281 (properties '((upstream-name . "storable-record")))
11282 (inputs (list ghc-quickcheck ghc-semigroups ghc-utility-ht
11283 ghc-storablevector ghc-timeit))
11284 (home-page "http://code.haskell.org/~thielema/storable-record/")
11285 (synopsis "Elegant definition of Storable instances for records")
11286 (description
11287 "With this package you can build a Storable instance of
11288 a record type from Storable instances of its elements in an elegant way.
11289 It does not do any magic, just a bit arithmetic to compute the right
11290 offsets, that would be otherwise done manually or by a preprocessor like
11291 C2HS. There is no guarantee that the generated memory layout is
11292 compatible with that of a corresponding C struct. However, the module
11293 generates the smallest layout that is possible with respect to the
11294 alignment of the record elements.")
11295 (license license:bsd-3)))
11296
11297 (define-public ghc-storable-tuple
11298 (package
11299 (name "ghc-storable-tuple")
11300 (version "0.0.3.3")
11301 (source
11302 (origin
11303 (method url-fetch)
11304 (uri
11305 (hackage-uri "storable-tuple" version))
11306 (sha256
11307 (base32
11308 "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw"))))
11309 (build-system haskell-build-system)
11310 (properties '((upstream-name . "storable-tuple")))
11311 (inputs
11312 (list ghc-storable-record ghc-utility-ht ghc-base-orphans))
11313 (home-page "https://hackage.haskell.org/package/storable-tuple")
11314 (synopsis "Storable instance for pairs and triples")
11315 (description "This package provides a Storable instance for pairs
11316 and triples which should be binary compatible with C99 and C++. The
11317 only purpose of this package is to provide a standard location for this
11318 instance so that other packages needing this instance can play nicely
11319 together.")
11320 (license license:bsd-3)))
11321
11322 (define-public ghc-storablevector
11323 (package
11324 (name "ghc-storablevector")
11325 (version "0.2.13.1")
11326 (source
11327 (origin
11328 (method url-fetch)
11329 (uri
11330 (hackage-uri "storablevector" version))
11331 (sha256
11332 (base32
11333 "06fgxbnc5vwmiv7dxywj7ncjhmxv0wjs0bys5hza6mrwn3sw5r2w"))))
11334 (build-system haskell-build-system)
11335 (properties '((upstream-name . "storablevector")))
11336 (inputs
11337 (list ghc-non-negative
11338 ghc-utility-ht
11339 ghc-semigroups
11340 ghc-unsafe
11341 ghc-quickcheck
11342 ghc-syb))
11343 (arguments
11344 `(#:phases
11345 (modify-phases %standard-phases
11346 (add-before 'configure 'update-constraints
11347 (lambda _
11348 (substitute* "storablevector.cabal"
11349 (("bytestring >=0\\.9 && <0\\.11") "bytestring")))))))
11350 (home-page "https://wiki.haskell.org/Storable_Vector")
11351 (synopsis "Fast, packed, strict storable arrays with a list interface")
11352 (description "This library provides fast, packed, strict storable
11353 arrays with a list interface, a chunky lazy list interface with variable
11354 chunk size and an interface for write access via the ST monad. This is
11355 much like bytestring and binary but can be used for every
11356 @code{Foreign.Storable.Storable} type. See also
11357 @url{http://hackage.haskell.org/package/vector}, a library with a
11358 similar intention.
11359
11360 This library does not do advanced fusion optimization, since especially
11361 for lazy vectors this would either be incorrect or not applicable. See
11362 @url{http://hackage.haskell.org/package/storablevector-streamfusion} for
11363 a library that provides fusion with lazy lists.")
11364 (license license:bsd-3)))
11365
11366 (define-public ghc-streaming-commons
11367 (package
11368 (name "ghc-streaming-commons")
11369 (version "0.2.2.5")
11370 (source
11371 (origin
11372 (method url-fetch)
11373 (uri (hackage-uri "streaming-commons" version))
11374 (sha256
11375 (base32
11376 "0157xjz8nhr65y9rm7rdf3pnjlrsgaqam7qfg7nqq91bvfdq2l6a"))))
11377 (build-system haskell-build-system)
11378 (properties '((upstream-name . "streaming-commons")))
11379 (inputs
11380 (list ghc-async ghc-blaze-builder ghc-network ghc-random ghc-zlib))
11381 (native-inputs
11382 (list ghc-quickcheck ghc-hspec hspec-discover))
11383 (home-page "https://hackage.haskell.org/package/streaming-commons")
11384 (synopsis "Conduit and pipes needed by some streaming data libraries")
11385 (description "This package provides low-dependency functionality commonly
11386 needed by various Haskell streaming data libraries, such as @code{conduit} and
11387 @code{pipe}s.")
11388 (license license:expat)))
11389
11390 (define-public ghc-strict
11391 (package
11392 (name "ghc-strict")
11393 (version "0.4.0.1")
11394 (source
11395 (origin
11396 (method url-fetch)
11397 (uri (hackage-uri "strict" version))
11398 (sha256
11399 (base32 "0hb24a09c3agsq7sdv8r2b2jc2f4g1blg2xvj4cfadynib0apxnz"))))
11400 (build-system haskell-build-system)
11401 (properties '((upstream-name . "strict")))
11402 (inputs
11403 (list ghc-hashable ghc-these ghc-assoc))
11404 (arguments
11405 `(#:cabal-revision ("4"
11406 "0pdzqhy7z70m8gxcr54jf04qhncl1jbvwybigb8lrnxqirs5l86n")))
11407 (home-page "https://hackage.haskell.org/package/strict")
11408 (synopsis "Strict data types and String IO")
11409 (description
11410 "This package provides strict versions of some standard Haskell data
11411 types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
11412 IO operations.")
11413 (license license:bsd-3)))
11414
11415 (define-public ghc-stringbuilder
11416 (package
11417 (name "ghc-stringbuilder")
11418 (version "0.5.1")
11419 (source
11420 (origin
11421 (method url-fetch)
11422 (uri (hackage-uri "stringbuilder" version))
11423 (sha256
11424 (base32
11425 "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q"))))
11426 (build-system haskell-build-system)
11427 (properties '((upstream-name . "stringbuilder")))
11428 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
11429 ; enabled
11430 (home-page "https://hackage.haskell.org/package/stringbuilder")
11431 (synopsis "Writer monad for multi-line string literals")
11432 (description "This package provides a writer monad for multi-line string
11433 literals.")
11434 (license license:expat)))
11435
11436 (define-public ghc-string-qq
11437 (package
11438 (name "ghc-string-qq")
11439 (version "0.0.4")
11440 (source
11441 (origin
11442 (method url-fetch)
11443 (uri (hackage-uri "string-qq" version))
11444 (sha256
11445 (base32
11446 "0wfxkw4x6j6jq9nd82k83g2k3hskpsvk1dp4cpkshvjr4wg9qny8"))))
11447 (build-system haskell-build-system)
11448 (properties '((upstream-name . "string-qq")))
11449 (native-inputs
11450 (list ghc-hunit))
11451 (home-page "https://hackage.haskell.org/package/string-qq")
11452 (synopsis
11453 "QuasiQuoter for non-interpolated strings, texts and bytestrings")
11454 (description
11455 "This package provides a quasiquoter for non-interpolated strings, texts
11456 and bytestrings.")
11457 (license license:public-domain)))
11458
11459 (define-public ghc-stringsearch
11460 (package
11461 (name "ghc-stringsearch")
11462 (version "0.3.6.6")
11463 (source
11464 (origin
11465 (method url-fetch)
11466 (uri (hackage-uri "stringsearch" version))
11467 (sha256
11468 (base32
11469 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
11470 (build-system haskell-build-system)
11471 (properties '((upstream-name . "stringsearch")))
11472 (arguments
11473 `(#:cabal-revision
11474 ("1" "0z5pz5dccapz9k39r2zmf056m0x2m2lj3jahhnw3mfxlmps07378")))
11475 (home-page "https://bitbucket.org/dafis/stringsearch")
11476 (synopsis "Fast searching, splitting and replacing of ByteStrings")
11477 (description "This package provides several functions to quickly search
11478 for substrings in strict or lazy @code{ByteStrings}. It also provides
11479 functions for breaking or splitting on substrings and replacing all
11480 occurrences of a substring (the first in case of overlaps) with another.")
11481 (license license:bsd-3)))
11482
11483 (define-public ghc-svg-builder
11484 (package
11485 (name "ghc-svg-builder")
11486 (version "0.1.1")
11487 (source
11488 (origin
11489 (method url-fetch)
11490 (uri (hackage-uri "svg-builder" version))
11491 (sha256
11492 (base32
11493 "1k420f497lzkymmxin88ql6ib8dziic43avykv31yq65rgrf7l2g"))))
11494 (build-system haskell-build-system)
11495 (properties '((upstream-name . "svg-builder")))
11496 (inputs
11497 (list ghc-blaze-builder ghc-hashable ghc-unordered-containers))
11498 (arguments
11499 `(#:cabal-revision ("6"
11500 "1cprm8ya1rdid4pz1dk6692mv0kqkaxrsqaxg83bca5z4dkgqi2z")))
11501 (home-page "https://github.com/diagrams/svg-builder.git")
11502 (synopsis "Domain-specific language for building Scalable Vector Graphics")
11503 (description "Easy-to-write domain-specific language (DSL) for
11504 building Scalable Vector Graphics (SVG).")
11505 (license license:bsd-3)))
11506
11507 (define-public ghc-syb
11508 (package
11509 (name "ghc-syb")
11510 (version "0.7.2.2")
11511 (source (origin
11512 (method url-fetch)
11513 (uri (hackage-uri "syb" version))
11514 (sha256
11515 (base32
11516 "1qxjjndfwz2vvpz9707banmcn6jl2v6w6zp401zxaj327fccchw1"))))
11517 (build-system haskell-build-system)
11518 (properties '((upstream-name . "syb")))
11519 (native-inputs (list ghc-tasty ghc-tasty-hunit))
11520 (home-page "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
11521 (synopsis "Scrap Your Boilerplate")
11522 (description
11523 "This package contains the generics system described in the
11524 /Scrap Your Boilerplate/ papers (see
11525 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
11526 defines the @code{Data} class of types permitting folding and unfolding of
11527 constructor applications, instances of this class for primitive types, and a
11528 variety of traversals.")
11529 (license license:bsd-3)))
11530
11531 (define-public ghc-system-fileio
11532 (package
11533 (name "ghc-system-fileio")
11534 (version "0.3.16.4")
11535 (source
11536 (origin
11537 (method url-fetch)
11538 (uri (hackage-uri "system-fileio" version))
11539 (sha256
11540 (base32
11541 "1iy6g1f35gzyj12g9mdiw4zf75mmxpv1l8cyaldgyscsl648pr9l"))))
11542 (build-system haskell-build-system)
11543 (properties '((upstream-name . "system-fileio")))
11544 (arguments
11545 `(#:phases
11546 (modify-phases %standard-phases
11547 (add-before 'configure 'update-constraints
11548 (lambda _
11549 (substitute* "system-fileio.cabal"
11550 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4"))
11551 #t)))))
11552 (inputs
11553 (list ghc-system-filepath ghc-chell ghc-temporary))
11554 (home-page "https://github.com/fpco/haskell-filesystem")
11555 (synopsis "Consistent file system interaction across GHC versions")
11556 (description
11557 "This is a small wrapper around the directory, unix, and Win32 packages,
11558 for use with system-filepath. It provides a consistent API to the various
11559 versions of these packages distributed with different versions of GHC.
11560 In particular, this library supports working with POSIX files that have paths
11561 which can't be decoded in the current locale encoding.")
11562 (license license:expat)))
11563
11564 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
11565 ;; ghc-system-filepath.
11566 (define ghc-system-fileio-bootstrap
11567 (package
11568 (name "ghc-system-fileio-bootstrap")
11569 (version "0.3.16.3")
11570 (source
11571 (origin
11572 (method url-fetch)
11573 (uri (string-append
11574 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
11575 version ".tar.gz"))
11576 (sha256
11577 (base32
11578 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
11579 (build-system haskell-build-system)
11580 (arguments
11581 `(#:tests? #f))
11582 (inputs
11583 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
11584 ("ghc-temporary" ,ghc-temporary)))
11585 (home-page "https://github.com/fpco/haskell-filesystem")
11586 (synopsis "Consistent file system interaction across GHC versions")
11587 (description
11588 "This is a small wrapper around the directory, unix, and Win32 packages,
11589 for use with system-filepath. It provides a consistent API to the various
11590 versions of these packages distributed with different versions of GHC.
11591 In particular, this library supports working with POSIX files that have paths
11592 which can't be decoded in the current locale encoding.")
11593 (license license:expat)))
11594
11595 (define-public ghc-system-filepath
11596 (package
11597 (name "ghc-system-filepath")
11598 (version "0.4.14")
11599 (source
11600 (origin
11601 (method url-fetch)
11602 (uri (hackage-uri "system-filepath" version))
11603 (sha256
11604 (base32
11605 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
11606 (build-system haskell-build-system)
11607 (properties '((upstream-name . "system-filepath")))
11608 (arguments
11609 `(#:tests? #f ; TODO: Needs chell ==0.4.*
11610 #:cabal-revision
11611 ("1" "18llfvisghrn9w9yfgacqn51gs50a0lngah3bmg852h0swj7vkp8")))
11612 (native-inputs
11613 (list ghc-chell ghc-chell-quickcheck ghc-quickcheck))
11614 (home-page "https://github.com/fpco/haskell-filesystem")
11615 (synopsis "High-level, byte-based file and directory path manipulations")
11616 (description
11617 "Provides a FilePath datatype and utility functions for operating on it.
11618 Unlike the filepath package, this package does not simply reuse String,
11619 increasing type safety.")
11620 (license license:expat)))
11621
11622 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
11623 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
11624 ;; which depends on ghc-chell and ghc-chell-quickcheck.
11625 ;; Therefore we bootstrap it with tests disabled.
11626 (define ghc-system-filepath-bootstrap
11627 (package
11628 (name "ghc-system-filepath-bootstrap")
11629 (version "0.4.14")
11630 (source
11631 (origin
11632 (method url-fetch)
11633 (uri (string-append
11634 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
11635 version ".tar.gz"))
11636 (sha256
11637 (base32
11638 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
11639 (build-system haskell-build-system)
11640 (arguments
11641 `(#:tests? #f))
11642 (inputs
11643 `(("ghc-quickcheck" ,ghc-quickcheck)))
11644 (home-page "https://github.com/fpco/haskell-filesystem")
11645 (synopsis "High-level, byte-based file and directory path manipulations")
11646 (description
11647 "Provides a FilePath datatype and utility functions for operating on it.
11648 Unlike the filepath package, this package does not simply reuse String,
11649 increasing type safety.")
11650 (license license:expat)))
11651
11652 (define-public ghc-tabular
11653 (package
11654 (name "ghc-tabular")
11655 (version "0.2.2.8")
11656 (source
11657 (origin
11658 (method url-fetch)
11659 (uri (hackage-uri "tabular" version))
11660 (sha256
11661 (base32
11662 "0z936gh8n8i8qdkagyxwd9gqq13skd5fv013vdvwsibrxkm0czfb"))))
11663 (build-system haskell-build-system)
11664 (properties '((upstream-name . "tabular")))
11665 (inputs
11666 (list ghc-csv ghc-html))
11667 (home-page "https://github.com/bgamari/tabular")
11668 (synopsis "Two-dimensional data tables with rendering functions")
11669 (description
11670 "Tabular provides a Haskell representation of two-dimensional data
11671 tables, the kind that you might find in a spreadsheet or or a research report.
11672 It also comes with some default rendering functions for turning those tables
11673 into ASCII art, simple text with an arbitrary delimiter, CSV, HTML or LaTeX.
11674
11675 Below is an example of the kind of output this library produces. The tabular
11676 package can group rows and columns, each group having one of three
11677 separators (no line, single line, double line) between its members.
11678
11679 @example
11680
11681 || memtest 1 | memtest 2 || time test | time test 2
11682 ====++===========+===========++=============+============
11683 A 1 || hog | terrible || slow | slower
11684 A 2 || pig | not bad || fast | slowest
11685 ----++-----------+-----------++-------------+------------
11686 B 1 || good | awful || intolerable | bearable
11687 B 2 || better | no chance || crawling | amazing
11688 B 3 || meh | well... || worst ever | ok
11689
11690 @end example")
11691 (license license:bsd-3)))
11692
11693 (define-public ghc-tagged
11694 (package
11695 (name "ghc-tagged")
11696 (version "0.8.6.1")
11697 (source
11698 (origin
11699 (method url-fetch)
11700 (uri (hackage-uri "tagged" version))
11701 (sha256
11702 (base32
11703 "00kcc6lmj7v3xm2r3wzw5jja27m4alcw1wi8yiismd0bbzwzrq7m"))))
11704 (build-system haskell-build-system)
11705 (properties '((upstream-name . "tagged")))
11706 (arguments
11707 `(#:cabal-revision
11708 ("2" "0qi63c3z40i9qm44r571yjzcpb8d473vj2km4kq0fij0ljc7vii9")))
11709 (inputs
11710 (list ghc-transformers-compat))
11711 (home-page "https://hackage.haskell.org/package/tagged")
11712 (synopsis "Haskell phantom types to avoid passing dummy arguments")
11713 (description "This library provides phantom types for Haskell 98, to avoid
11714 having to unsafely pass dummy arguments.")
11715 (license license:bsd-3)))
11716
11717 (define-public ghc-tar
11718 (package
11719 (name "ghc-tar")
11720 (version "0.5.1.1")
11721 (source
11722 (origin
11723 (method url-fetch)
11724 (uri (hackage-uri "tar" version))
11725 (sha256
11726 (base32
11727 "1ppim7cgmn7ng8zbdrwkxhhizc30h15h1c9cdlzamc5jcagl915k"))))
11728 (build-system haskell-build-system)
11729 (properties '((upstream-name . "tar")))
11730 (arguments
11731 `(#:tests? #f ; Failed! Exception: 'TruncatedArchive' (after 4 tests):
11732 #:cabal-revision ("5"
11733 "15dqywn1lsyqb0nq1amj70mh1i079b7xwr02wbpcdzmdljg9c55w")))
11734 (native-inputs
11735 (list ghc-bytestring-handle ghc-quickcheck ghc-tasty
11736 ghc-tasty-quickcheck))
11737 (home-page "https://hackage.haskell.org/package/tar")
11738 (synopsis "Reading, writing and manipulating \".tar\" archive files")
11739 (description
11740 "This library is for working with \\\"@.tar@\\\" archive files.
11741 It can read and write a range of common variations of the tar archive format
11742 including V7, POSIX USTAR and GNU formats. It provides support for packing and
11743 unpacking portable archives. This makes it suitable for distribution but not
11744 backup because details like file ownership and exact permissions are not
11745 preserved. It also provides features for random access to archive content using
11746 an index.")
11747 (license license:bsd-3)))
11748
11749 (define-public ghc-tar-conduit
11750 (package
11751 (name "ghc-tar-conduit")
11752 (version "0.3.2")
11753 (source
11754 (origin
11755 (method url-fetch)
11756 (uri (hackage-uri "tar-conduit" version))
11757 (sha256
11758 (base32
11759 "0bgn3hyf20g1gfnzy8f41s7nj54kfcyjk2izw99svrw8f3dphi80"))))
11760 (build-system haskell-build-system)
11761 (properties '((upstream-name . "tar-conduit")))
11762 (inputs
11763 (list ghc-conduit ghc-conduit-combinators ghc-safe-exceptions))
11764 (native-inputs
11765 (list ghc-quickcheck ghc-conduit-extra ghc-hspec ghc-hspec
11766 ghc-weigh))
11767 (home-page "https://github.com/snoyberg/tar-conduit#readme")
11768 (synopsis "Extract and create tar files using conduit for streaming")
11769 (description "This library provides a conduit-based, streaming
11770 interface for extracting and creating tar files.")
11771 (license license:expat)))
11772
11773 (define-public ghc-temporary
11774 (package
11775 (name "ghc-temporary")
11776 (version "1.3")
11777 (source
11778 (origin
11779 (method url-fetch)
11780 (uri (hackage-uri "temporary" version))
11781 (sha256
11782 (base32
11783 "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c"))))
11784 (build-system haskell-build-system)
11785 (properties '((upstream-name . "temporary")))
11786 (inputs
11787 (list ghc-exceptions ghc-random))
11788 (native-inputs
11789 (list ghc-base-compat ghc-tasty ghc-tasty-hunit))
11790 (home-page "https://www.github.com/batterseapower/temporary")
11791 (synopsis "Temporary file and directory support")
11792 (description "The functions for creating temporary files and directories
11793 in the Haskelll base library are quite limited. This library just repackages
11794 the Cabal implementations of its own temporary file and folder functions so
11795 that you can use them without linking against Cabal or depending on it being
11796 installed.")
11797 (license license:bsd-3)))
11798
11799 (define-public ghc-temporary-rc
11800 (package
11801 (name "ghc-temporary-rc")
11802 (version "1.2.0.3")
11803 (source
11804 (origin
11805 (method url-fetch)
11806 (uri (hackage-uri "temporary-rc" version))
11807 (sha256
11808 (base32
11809 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
11810 (build-system haskell-build-system)
11811 (properties '((upstream-name . "temporary-rc")))
11812 (inputs (list ghc-exceptions))
11813 (home-page
11814 "https://www.github.com/feuerbach/temporary")
11815 (synopsis
11816 "Portable temporary file and directory support")
11817 (description
11818 "The functions for creating temporary files and directories in the base
11819 library are quite limited. The unixutils package contains some good ones, but
11820 they aren't portable to Windows. This library just repackages the Cabal
11821 implementations of its own temporary file and folder functions so that you can
11822 use them without linking against Cabal or depending on it being installed.
11823 This is a better maintained fork of the \"temporary\" package.")
11824 (license license:bsd-3)))
11825
11826 (define-public ghc-terminal-size
11827 (package
11828 (name "ghc-terminal-size")
11829 (version "0.3.3")
11830 (source (origin
11831 (method url-fetch)
11832 (uri (hackage-uri "terminal-size" version))
11833 (sha256
11834 (base32
11835 "1hv0r8gr1ms258rrz602gd5kziykkxw5zlnnzz5f42r0ly7lq5wc"))))
11836 (build-system haskell-build-system)
11837 (properties '((upstream-name . "terminal-size")))
11838 (home-page "http://hackage.haskell.org/package/terminal-size")
11839 (synopsis "Get terminal window height and width")
11840 (description "Get terminal window height and width without ncurses
11841 dependency.")
11842 (license license:bsd-3)))
11843
11844 (define-public ghc-texmath
11845 (package
11846 (name "ghc-texmath")
11847 (version "0.12.5.4")
11848 (source (origin
11849 (method url-fetch)
11850 (uri (hackage-uri "texmath" version))
11851 (sha256
11852 (base32
11853 "1dn88s352y641c1vlj5j5mqwhnz6r1algkd7mx83y3fr0wp3nhlq"))))
11854 (build-system haskell-build-system)
11855 (properties '((upstream-name . "texmath")))
11856 (inputs (list ghc-syb ghc-xml ghc-pandoc-types ghc-split))
11857 (native-inputs (list ghc-pretty-show ghc-tasty ghc-tasty-golden ghc-tagged))
11858 (home-page "http://github.com/jgm/texmath")
11859 (synopsis "Conversion between formats used to represent mathematics")
11860 (description
11861 "The texmath library provides functions to read and write TeX math,
11862 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
11863 Office). Support is also included for converting math formats to pandoc's
11864 native format (allowing conversion, via pandoc, to a variety of different
11865 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
11866 it can parse and apply LaTeX macros.")
11867 (license license:gpl2)))
11868
11869 (define-public ghc-text-binary
11870 (package
11871 (name "ghc-text-binary")
11872 (version "0.2.1.1")
11873 (source
11874 (origin
11875 (method url-fetch)
11876 (uri (hackage-uri "text-binary" version))
11877 (sha256
11878 (base32
11879 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
11880 (build-system haskell-build-system)
11881 (properties '((upstream-name . "text-binary")))
11882 (home-page "https://github.com/kawu/text-binary")
11883 (synopsis "Binary instances for text types")
11884 (description
11885 "This package provides a compatibility layer providing @code{Binary}
11886 instances for strict and lazy text types for versions older than 1.2.1 of the
11887 text package.")
11888 (license license:bsd-2)))
11889
11890 (define-public ghc-text-manipulate
11891 (package
11892 (name "ghc-text-manipulate")
11893 (version "0.3.1.0")
11894 (source (origin
11895 (method url-fetch)
11896 (uri (hackage-uri "text-manipulate" version))
11897 (sha256
11898 (base32
11899 "1g06ldl6cdnyr31xlks5qm1sj44ccrdvq4bf8dk032mzfkpyyrws"))))
11900 (build-system haskell-build-system)
11901 (properties '((upstream-name . "text-manipulate")))
11902 (native-inputs (list ghc-tasty ghc-tasty-hunit))
11903 (home-page "https://github.com/brendanhay/text-manipulate")
11904 (synopsis
11905 "Case conversion, word boundary manipulation, and textual subjugation")
11906 (description
11907 "Manipulate identifiers and structurally non-complex pieces of text by
11908 delimiting word boundaries via a combination of whitespace,
11909 control-characters, and case-sensitivity.
11910
11911 Has support for common idioms like casing of programmatic variable names,
11912 taking, dropping, and splitting by word, and modifying the first character of
11913 a piece of text.
11914
11915 Caution: this library makes heavy use of the text library's internal loop
11916 optimisation framework. Since internal modules are not guaranteed to have a
11917 stable API there is potential for build breakage when the text dependency is
11918 upgraded. Consider yourself warned!")
11919 (license license:mpl2.0)))
11920
11921 (define-public ghc-text-metrics
11922 (package
11923 (name "ghc-text-metrics")
11924 (version "0.3.1")
11925 (source
11926 (origin
11927 (method url-fetch)
11928 (uri (hackage-uri "text-metrics" version))
11929 (sha256
11930 (base32
11931 "17bp1lnbkqr5ykrcd6v5sqv0fhljck7hky8zrrpw7rlkb1f3sdc2"))))
11932 (build-system haskell-build-system)
11933 (properties '((upstream-name . "text-metrics")))
11934 (inputs
11935 (list ghc-vector))
11936 (native-inputs
11937 (list ghc-quickcheck ghc-hspec))
11938 (arguments
11939 `(#:cabal-revision
11940 ("4" "017drxq9x56b345d8w5m8xdsi1zzs0z16pbdx8j35cd1lsnh3kf1")))
11941 (home-page "https://github.com/mrkkrp/text-metrics")
11942 (synopsis "Calculate various string metrics efficiently")
11943 (description "This library provides tools to calculate various
11944 string metrics efficiently.")
11945 (license license:bsd-3)))
11946
11947 (define-public ghc-tf-random
11948 (package
11949 (name "ghc-tf-random")
11950 (version "0.5")
11951 (outputs '("out" "static" "doc"))
11952 (source
11953 (origin
11954 (method url-fetch)
11955 (uri (hackage-uri "tf-random" version))
11956 (sha256
11957 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
11958 (build-system haskell-build-system)
11959 (properties '((upstream-name . "tf-random")))
11960 (inputs
11961 (list ghc-primitive ghc-random))
11962 (home-page "https://hackage.haskell.org/package/tf-random")
11963 (synopsis "High-quality splittable pseudorandom number generator")
11964 (description "This package contains an implementation of a high-quality
11965 splittable pseudorandom number generator. The generator is based on a
11966 cryptographic hash function built on top of the ThreeFish block cipher. See
11967 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
11968 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
11969 (license license:bsd-3)))
11970
11971 (define-public ghc-th-abstraction
11972 (package
11973 (name "ghc-th-abstraction")
11974 (version "0.4.5.0")
11975 (source (origin
11976 (method url-fetch)
11977 (uri (hackage-uri "th-abstraction" version))
11978 (sha256
11979 (base32
11980 "09hm0famyqsq09lal2ylnhsb31hybj8zanldi7cqncky4i7y5m80"))))
11981 (build-system haskell-build-system)
11982 (properties '((upstream-name . "th-abstraction")))
11983 (home-page "https://github.com/glguy/th-abstraction")
11984 (synopsis "Nicer interface for reified information about data types")
11985 (description
11986 "This package normalizes variations in the interface for inspecting
11987 datatype information via Template Haskell so that packages and support a
11988 single, easier to use informational datatype while supporting many versions of
11989 Template Haskell.")
11990 (license license:isc)))
11991
11992 (define-public ghc-th-expand-syns
11993 (package
11994 (name "ghc-th-expand-syns")
11995 (version "0.4.10.0")
11996 (source (origin
11997 (method url-fetch)
11998 (uri (hackage-uri "th-expand-syns" version))
11999 (sha256
12000 (base32
12001 "044h1hv4b0ihpwr9wndj55fa843cbzqp1difgj9wyy3mw925higm"))))
12002 (build-system haskell-build-system)
12003 (properties '((upstream-name . "th-expand-syns")))
12004 (inputs (list ghc-syb ghc-th-abstraction))
12005 (home-page "https://github.com/DanielSchuessler/th-expand-syns")
12006 (synopsis "Expands type synonyms in Template Haskell ASTs")
12007 (description
12008 "This package enables users to expand type synonyms in Template Haskell
12009 @dfn{abstract syntax trees} (ASTs).")
12010 (license license:bsd-3)))
12011
12012 (define-public ghc-th-lift
12013 (package
12014 (name "ghc-th-lift")
12015 (version "0.8.2")
12016 (source (origin
12017 (method url-fetch)
12018 (uri (hackage-uri "th-lift" version))
12019 (sha256
12020 (base32
12021 "1r2wrnrn6qwy6ysyfnlqn6xbfckw0b22h8n00pk67bhhg81jfn9s"))))
12022 (build-system haskell-build-system)
12023 (properties '((upstream-name . "th-lift")))
12024 (inputs
12025 (list ghc-th-abstraction))
12026 (arguments
12027 `(#:cabal-revision ("2"
12028 "1s95i774zy3q8yzk18ygdzhzky6wfcr7g55hd2g8h8lc05xzcdgi")))
12029 (home-page "https://github.com/mboes/th-lift")
12030 (synopsis "Derive Template Haskell's Lift class for datatypes")
12031 (description
12032 "This is a Haskell library to derive Template Haskell's Lift class for
12033 datatypes.")
12034 (license license:bsd-3)))
12035
12036 (define-public ghc-th-lift-instances
12037 (package
12038 (name "ghc-th-lift-instances")
12039 (version "0.1.20")
12040 (source (origin
12041 (method url-fetch)
12042 (uri (hackage-uri "th-lift-instances" version))
12043 (sha256
12044 (base32
12045 "0w6qc7xzyjymhh8hv72rlszh3n2xyzzamlfcl1hs9k6xbbww6czm"))))
12046 (build-system haskell-build-system)
12047 (properties '((upstream-name . "th-lift-instances")))
12048 (inputs (list ghc-vector ghc-th-lift))
12049 (native-inputs (list ghc-quickcheck))
12050 (home-page "http://github.com/bennofs/th-lift-instances/")
12051 (synopsis "Lift instances for template-haskell for common data types")
12052 (description
12053 "Most data types in the Haskell platform do not have Lift
12054 instances. This package provides orphan instances for @code{containers},
12055 @code{text}, @code{bytestring} and @code{vector}.")
12056 (license license:bsd-3)))
12057
12058 (define-public ghc-th-orphans
12059 (package
12060 (name "ghc-th-orphans")
12061 (version "0.13.14")
12062 (source (origin
12063 (method url-fetch)
12064 (uri (hackage-uri "th-orphans" version))
12065 (sha256
12066 (base32
12067 "0z07qcbbsj2b3j9p1qr4jvlpa7qgjfjvymkjd6vbizka1wd2mnwx"))))
12068 (build-system haskell-build-system)
12069 (properties '((upstream-name . "th-orphans")))
12070 (inputs (list ghc-th-compat ghc-th-lift ghc-th-reify-many
12071 ghc-generic-deriving ghc-th-lift-instances))
12072 (native-inputs (list ghc-hspec))
12073 (home-page "http://hackage.haskell.org/package/th-orphans")
12074 (synopsis "Orphan instances for TH datatypes")
12075 (description
12076 "This package provides orphan instances for Template Haskell datatypes. In particular,
12077 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
12078 and @code{Eq} instances. These instances used to live in the haskell-src-meta
12079 package, and that's where the version number started.")
12080 (license license:bsd-3)))
12081
12082 (define-public ghc-these
12083 (package
12084 (name "ghc-these")
12085 (version "1.1.1.1")
12086 (source
12087 (origin
12088 (method url-fetch)
12089 (uri (hackage-uri "these" version))
12090 (sha256
12091 (base32
12092 "027m1gd7i6jf2ppfkld9qrv3xnxg276587pmx10z9phpdvswk66p"))))
12093 (build-system haskell-build-system)
12094 (properties '((upstream-name . "these")))
12095 (inputs
12096 (list ghc-hashable ghc-assoc))
12097 (arguments
12098 `(#:cabal-revision ("6"
12099 "12ll5l8m482qkb8zn79vx51bqlwc89fgixf8jv33a32b4qzc3499")))
12100 (home-page
12101 "https://github.com/isomorphism/these")
12102 (synopsis "Either-or-both data type")
12103 (description
12104 "This package provides a data type @code{These a b} which can
12105 hold a value of either type or values of each type. This is usually
12106 thought of as an \"inclusive or\" type (contrasting @code{Either a b} as
12107 \"exclusive or\") or as an \"outer join\" type (contrasting @code{(a, b)}
12108 as \"inner join\").
12109
12110 @code{data These a b = This a | That b | These a b}
12111
12112 Since version 1, this package was split into parts:
12113
12114 @itemize
12115 @item
12116 https://hackage.haskell.org/package/semialign For @code{Align} and
12117 @code{Zip} type-classes.
12118 @item
12119 https://hackage.haskell.org/package/semialign-indexed For
12120 @code{SemialignWithIndex} class, providing @code{ialignWith} and
12121 @code{izipWith}
12122 @item
12123 https://hackage.haskell.org/package/these-lens For lens combinators.
12124 @item
12125 http://hackage.haskell.org/package/monad-chronicle For transformers
12126 variant of @code{These}.
12127 @end itemize")
12128 (license license:bsd-3)))
12129
12130 (define-public ghc-threads
12131 (package
12132 (name "ghc-threads")
12133 (version "0.5.1.7")
12134 (source (origin
12135 (method url-fetch)
12136 (uri (hackage-uri "threads" version))
12137 (sha256
12138 (base32
12139 "1l226792dqlp772aaxqr3qzz8yq72702g708k16gi8lrkfhgxxp0"))))
12140 (build-system haskell-build-system)
12141 (properties '((upstream-name . "threads")))
12142 (native-inputs (list ghc-concurrent-extra ghc-hunit ghc-test-framework
12143 ghc-test-framework-hunit))
12144 (home-page "https://github.com/basvandijk/threads")
12145 (synopsis "Fork threads and wait for their result")
12146 (description
12147 "This package provides functions to fork threads and
12148 wait for their result, whether it's an exception or a normal value.
12149 Besides waiting for the termination of a single thread this package also
12150 provides functions to wait for a group of threads to terminate. This
12151 package is similar to the @code{threadmanager}, @code{async} and
12152 @code{spawn} packages. The advantages of this package are:
12153
12154 @itemize
12155 @item Simpler API.
12156 @item More efficient in both space and time.
12157 @item No space-leak when forking a large number of threads.
12158 @item Correct handling of asynchronous exceptions.
12159 @item GHC specific functionality like @code{forkOn} and
12160 @code{forkIOWithUnmask}.
12161 @end itemize")
12162 (license license:bsd-3)))
12163
12164 (define-public ghc-th-reify-many
12165 (package
12166 (name "ghc-th-reify-many")
12167 (version "0.1.10")
12168 (source (origin
12169 (method url-fetch)
12170 (uri (hackage-uri "th-reify-many" version))
12171 (sha256
12172 (base32
12173 "19g4gc1q3zxbylmvrgk3dqjzychq2k02i7fwvs3vhbrg4ihhw9cx"))))
12174 (build-system haskell-build-system)
12175 (properties '((upstream-name . "th-reify-many")))
12176 (inputs
12177 (list ghc-safe ghc-th-expand-syns))
12178 (home-page "https://github.com/mgsloan/th-reify-many")
12179 (synopsis "Recurseively reify template haskell datatype info")
12180 (description
12181 "th-reify-many provides functions for recursively reifying top level
12182 declarations. The main intended use case is for enumerating the names of
12183 datatypes reachable from an initial datatype, and passing these names to some
12184 function which generates instances.")
12185 (license license:bsd-3)))
12186
12187 (define-public ghc-time-compat
12188 (package
12189 (name "ghc-time-compat")
12190 (version "1.9.6.1")
12191 (source (origin
12192 (method url-fetch)
12193 (uri (hackage-uri "time-compat" version))
12194 (sha256
12195 (base32
12196 "103b3vpn277kkccv6jv54b2wpi5c00mpb01ndl9w4y4nxc0bn1xd"))))
12197 (build-system haskell-build-system)
12198 (properties '((upstream-name . "time-compat")))
12199 (inputs (list ghc-base-orphans ghc-hashable))
12200 (native-inputs (list ghc-hunit
12201 ghc-base-compat
12202 ghc-quickcheck
12203 ghc-tagged
12204 ghc-tasty
12205 ghc-tasty-hunit
12206 ghc-tasty-quickcheck))
12207 (arguments
12208 `(#:cabal-revision ("4"
12209 "1n39yfk21xz8y1xvkh01651yysk2zp5qac22l5pq2hi7scczmxaw")))
12210 (home-page "https://github.com/haskellari/time-compat")
12211 (synopsis "Compatibility package for time")
12212 (description "This package tries to compat as many @code{time}
12213 features as possible.")
12214 (license license:bsd-3)))
12215
12216 (define-public ghc-time-locale-compat
12217 (package
12218 (name "ghc-time-locale-compat")
12219 (version "0.1.1.5")
12220 (source
12221 (origin
12222 (method url-fetch)
12223 (uri (hackage-uri "time-locale-compat" version))
12224 (sha256
12225 (base32
12226 "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7"))))
12227 (build-system haskell-build-system)
12228 (properties '((upstream-name . "time-locale-compat")))
12229 (inputs (list ghc-old-locale))
12230 (home-page "https://github.com/khibino/haskell-time-locale-compat")
12231 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
12232 (description "This package contains a wrapped name module for
12233 @code{TimeLocale}.")
12234 (license license:bsd-3)))
12235
12236 (define-public ghc-time-manager
12237 (package
12238 (name "ghc-time-manager")
12239 (version "0.0.0")
12240 (source
12241 (origin
12242 (method url-fetch)
12243 (uri (hackage-uri "time-manager" version))
12244 (sha256
12245 (base32
12246 "1nzwj0fxz370ks6vr1sylcidx33rnqq45y3q9yv9n4dj43nid9lh"))))
12247 (build-system haskell-build-system)
12248 (properties '((upstream-name . "time-manager")))
12249 (inputs
12250 (list ghc-auto-update))
12251 (home-page "https://github.com/yesodweb/wai")
12252 (synopsis "Scalable timer")
12253 (description "This library contains scalable timer functions provided by a
12254 timer manager.")
12255 (license license:expat)))
12256
12257 (define-public ghc-timeit
12258 (package
12259 (name "ghc-timeit")
12260 (version "2.0")
12261 (source
12262 (origin
12263 (method url-fetch)
12264 (uri
12265 (hackage-uri "timeit" version))
12266 (sha256
12267 (base32
12268 "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1"))))
12269 (build-system haskell-build-system)
12270 (properties '((upstream-name . "timeit")))
12271 (home-page "https://github.com/merijn/timeit")
12272 (synopsis "Time monadic computations with an IO base")
12273 (description "This package provides a simple wrapper to show the
12274 used CPU time of monadic computation with an IO base.")
12275 (license license:bsd-3)))
12276
12277 (define-public ghc-timezone-series
12278 (package
12279 (name "ghc-timezone-series")
12280 (version "0.1.13")
12281 (source (origin
12282 (method url-fetch)
12283 (uri (hackage-uri "timezone-series" version))
12284 (sha256
12285 (base32
12286 "18n6w7jxwlysq5mvb1sp1z57nyrsgn2ans642fy5rhmpwcavgvr8"))))
12287 (build-system haskell-build-system)
12288 (properties '((upstream-name . "timezone-series")))
12289 (arguments
12290 `(#:cabal-revision ("1"
12291 "1ak05p8z1q2nispv1xw32j7lhfmf3sfj2ibjrxpm347s37fmxnwc")))
12292 (home-page "http://projects.haskell.org/time-ng/")
12293 (synopsis "Enhanced timezone handling for Time")
12294 (description
12295 "This package endows @code{Data.Time}, from the time package, with several
12296 data types and functions for enhanced processing of timezones. For one way to
12297 create timezone series, see the ghc-timezone-olson package.")
12298 (license license:bsd-3)))
12299
12300 (define-public ghc-timezone-olson
12301 (package
12302 (name "ghc-timezone-olson")
12303 (version "0.2.1")
12304 (source (origin
12305 (method url-fetch)
12306 (uri (hackage-uri "timezone-olson" version))
12307 (sha256
12308 (base32
12309 "10f5843sza2ikj2sg9fjhf5dhnhcidad86cdjmrj1y6zclkiqmdc"))))
12310 (build-system haskell-build-system)
12311 (properties '((upstream-name . "timezone-olson")))
12312 (inputs (list ghc-timezone-series ghc-extensible-exceptions))
12313 (home-page "http://projects.haskell.org/time-ng/")
12314 (synopsis "Parser and renderer for binary Olson timezone files")
12315 (description
12316 "A parser and renderer for binary Olson timezone files whose format
12317 is specified by the tzfile(5) man page on Unix-like systems. For more
12318 information about this format, see
12319 @url{http://www.iana.org/time-zones/repository/tz-link.html}. Functions
12320 are provided for converting the parsed data into @code{TimeZoneSeries}
12321 objects from the timezone-series package.")
12322 (license license:bsd-3)))
12323
12324 (define-public ghc-tldr
12325 (package
12326 (name "ghc-tldr")
12327 (version "0.9.2")
12328 (source
12329 (origin
12330 (method url-fetch)
12331 (uri (hackage-uri "tldr" version))
12332 (sha256
12333 (base32
12334 "1yypb9zhsj9ks7bbw2sayqv3rn9y8z3w5p1xmsnwb4w99dqmvcx5"))))
12335 (build-system haskell-build-system)
12336 (properties '((upstream-name . "tldr")))
12337 (inputs
12338 (list ghc-ansi-terminal
12339 ghc-attoparsec
12340 ghc-cmark
12341 ghc-http-conduit
12342 ghc-optparse-applicative
12343 ghc-semigroups
12344 ghc-zip-archive))
12345 (native-inputs
12346 (list ghc-tasty ghc-tasty-golden))
12347 (home-page "https://github.com/psibi/tldr-hs#readme")
12348 (synopsis "Haskell tldr client")
12349 (description "This package provides the @command{tldr} command and a
12350 Haskell client library allowing users to update and view @code{tldr} pages
12351 from a shell. The @code{tldr} pages are a community effort to simplify the
12352 man pages with practical examples.")
12353 (license license:bsd-3)))
12354
12355 (define-public ghc-torrent
12356 (package
12357 (name "ghc-torrent")
12358 (version "10000.1.1")
12359 (source
12360 (origin
12361 (method url-fetch)
12362 (uri (hackage-uri "torrent" version))
12363 (sha256
12364 (base32 "0m7s0q7f8c7glxzqhf2j86ch5xhk6jnzwwsa4mkywag22119c290"))))
12365 (build-system haskell-build-system)
12366 (properties '((upstream-name . "torrent")))
12367 (inputs
12368 (list ghc-bencode ghc-syb))
12369 (home-page "https://hackage.haskell.org/package/torrent")
12370 (synopsis "BitTorrent file parser and generator")
12371 (description "This library provides support for parsing and generating
12372 BitTorrent files.")
12373 (license license:bsd-3)))
12374
12375 (define-public ghc-transformers
12376 (package
12377 (name "ghc-transformers")
12378 (version "0.5.6.2")
12379 (source
12380 (origin
12381 (method url-fetch)
12382 (uri (hackage-uri "transformers" version))
12383 (sha256
12384 (base32
12385 "0v66j5k0xqk51pmca55wq192qyw2p43s2mgxlz4f95q2c1fpjs5n"))))
12386 (build-system haskell-build-system)
12387 (properties '((upstream-name . "transformers")))
12388 (home-page
12389 "https://hackage.haskell.org/package/transformers")
12390 (synopsis "Concrete functor and monad transformers")
12391 (description
12392 "Transformers provides functor and monad transformers, inspired by the
12393 paper \"Functional Programming with Overloading and Higher-Order
12394 Polymorphism\", by Mark P Jones, in Advanced School of Functional Programming,
12395 1995 @url{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html}.
12396
12397 This package contains:
12398 @itemize
12399 @item the monad transformer class (in @code{Control.Monad.Trans.Class})
12400 @item concrete functor and monad transformers, each with associated operations
12401 and functions to lift operations associated with other transformers.
12402 @end itemize
12403
12404 This package can be used on its own in portable Haskell code, in which case
12405 operations need to be manually lifted through transformer stacks (see
12406 @code{Control.Monad.Trans.Class} for some examples). Alternatively, it can be
12407 used with the non-portable monad classes in the mtl or monads-tf packages,
12408 which automatically lift operations introduced by monad transformers through
12409 other transformers.")
12410 (license license:bsd-3)))
12411
12412 (define-public ghc-transformers-base
12413 (package
12414 (name "ghc-transformers-base")
12415 (version "0.4.6")
12416 (source
12417 (origin
12418 (method url-fetch)
12419 (uri (hackage-uri "transformers-base" version))
12420 (sha256
12421 (base32
12422 "146g69yxmlrmvqnzwcw4frxfl3z04lda9zqwcqib34dnkrlghfrj"))))
12423 (build-system haskell-build-system)
12424 (properties '((upstream-name . "transformers-base")))
12425 (inputs
12426 (list ghc-transformers-compat))
12427 (home-page
12428 "https://hackage.haskell.org/package/transformers-compat")
12429 (synopsis
12430 "Backported transformer library")
12431 (description
12432 "Backported versions of types that were added to transformers in
12433 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
12434 compatibility to run on old versions of the platform.")
12435 (license license:bsd-3)))
12436
12437 (define-public ghc-transformers-compat
12438 (package
12439 (name "ghc-transformers-compat")
12440 (version "0.7.2")
12441 (source (origin
12442 (method url-fetch)
12443 (uri (hackage-uri "transformers-compat" version))
12444 (sha256
12445 (base32
12446 "0slxrkxi8xa1bmi9saq9x8bz52clrf2slf877m3ckjzkr4276b5n"))))
12447 (build-system haskell-build-system)
12448 (properties '((upstream-name . "transformers-compat")))
12449 (inputs (list ghc-generic-deriving))
12450 (home-page "http://github.com/ekmett/transformers-compat/")
12451 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
12452 (description
12453 "This package includes backported versions of types that were
12454 added to transformers in transformers 0.3 and 0.4 for users who need strict
12455 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
12456 but also need those types.")
12457 (license license:bsd-3)))
12458
12459 (define-public ghc-tree-diff
12460 (package
12461 (name "ghc-tree-diff")
12462 (version "0.2.2")
12463 (source (origin
12464 (method url-fetch)
12465 (uri (hackage-uri "tree-diff" version))
12466 (sha256
12467 (base32
12468 "0g3lsp067dq1ydvj2im4nlfxa65g9zjmjjkv91dhjhnrklir10q0"))))
12469 (build-system haskell-build-system)
12470 (properties '((upstream-name . "tree-diff")))
12471 (inputs (list ghc-aeson
12472 ghc-ansi-terminal
12473 ghc-ansi-wl-pprint
12474 ghc-base-compat
12475 ghc-bytestring-builder
12476 ghc-hashable
12477 ghc-parsers
12478 ghc-primitive
12479 ghc-quickcheck
12480 ghc-scientific
12481 ghc-semialign
12482 ghc-strict
12483 ghc-tagged
12484 ghc-these
12485 ghc-unordered-containers
12486 ghc-uuid-types
12487 ghc-vector))
12488 (native-inputs (list ghc-tasty ghc-tasty-golden ghc-tasty-quickcheck
12489 ghc-trifecta))
12490 (home-page "https://github.com/phadej/tree-diff")
12491 (synopsis "Compute difference between (expression) trees")
12492 (description
12493 "This Haskell library provides a function for computing
12494 the difference between (expression) trees. It also provides a way to
12495 compute the difference between arbitrary abstract datatypes (ADTs) using
12496 @code{Generics}-derivable helpers.")
12497 (license license:bsd-3)))
12498
12499 (define-public ghc-trifecta
12500 (package
12501 (name "ghc-trifecta")
12502 (version "2.1.2")
12503 (source (origin
12504 (method url-fetch)
12505 (uri (hackage-uri "trifecta" version))
12506 (sha256
12507 (base32
12508 "1akx8m6mgskwsbhsf90cxlqjq23jk4pwaxagvm923dpncwrlwfla"))))
12509 (build-system haskell-build-system)
12510 (properties '((upstream-name . "trifecta")))
12511 (inputs (list ghc-ansi-terminal
12512 ghc-blaze-builder
12513 ghc-blaze-html
12514 ghc-blaze-markup
12515 ghc-charset
12516 ghc-comonad
12517 ghc-fingertree
12518 ghc-hashable
12519 ghc-indexed-traversable
12520 ghc-lens
12521 ghc-parsers
12522 ghc-prettyprinter
12523 ghc-prettyprinter-ansi-terminal
12524 ghc-profunctors
12525 ghc-reducers
12526 ghc-unordered-containers
12527 ghc-utf8-string))
12528 (native-inputs (list ghc-quickcheck))
12529 (arguments
12530 `(#:cabal-revision ("1"
12531 "0a7cfbd04w3zbm234mmpib9mxar46ra5xvb62gcnbmixr7b343j9")))
12532 (home-page "http://github.com/ekmett/trifecta/")
12533 (synopsis "Parser combinator library with convenient diagnostics")
12534 (description "Trifecta is a modern parser combinator library for Haskell,
12535 with slicing and Clang-style colored diagnostics.")
12536 (license license:bsd-3)))
12537
12538 (define-public ghc-tuple-th
12539 (package
12540 (name "ghc-tuple-th")
12541 (version "0.2.5")
12542 (source
12543 (origin
12544 (method url-fetch)
12545 (uri (hackage-uri "tuple-th" version))
12546 (sha256
12547 (base32
12548 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
12549 (build-system haskell-build-system)
12550 (properties '((upstream-name . "tuple-th")))
12551 (home-page "https://github.com/DanielSchuessler/tuple-th")
12552 (synopsis "Generate utility functions for tuples of statically known size
12553 for Haskell")
12554 (description "This Haskell package contains Template Haskell functions for
12555 generating functions similar to those in @code{Data.List} for tuples of
12556 statically known size.")
12557 (license license:bsd-3)))
12558
12559 (define-public ghc-turtle
12560 (package
12561 (name "ghc-turtle")
12562 (version "1.5.25")
12563 (source (origin
12564 (method url-fetch)
12565 (uri (hackage-uri "turtle" version))
12566 (sha256
12567 (base32
12568 "1hh2rbwk3m4iklk67f1l1a8shsng9qzs9132j6lpag7cgqkrmqdk"))))
12569 (build-system haskell-build-system)
12570 (properties '((upstream-name . "turtle")))
12571 (inputs (list ghc-ansi-wl-pprint
12572 ghc-async
12573 ghc-clock
12574 ghc-foldl
12575 ghc-hostname
12576 ghc-managed
12577 ghc-system-filepath
12578 ghc-system-fileio
12579 ghc-streaming-commons
12580 ghc-temporary
12581 ghc-optparse-applicative
12582 ghc-optional-args
12583 ghc-unix-compat))
12584 (native-inputs (list ghc-doctest))
12585 (home-page
12586 "https://hackage.haskell.org/package/turtle")
12587 (synopsis "Shell programming, Haskell-style")
12588 (description
12589 "Turtle is a reimplementation of the Unix command line environment in
12590 Haskell so that you can use Haskell as both a shell and a scripting
12591 language. Features include:
12592
12593 @itemize
12594 @item Batteries included: Command an extended suite of predefined utilities.
12595 @item Interoperability: You can still run external shell commands.
12596 @item Portability: Works on Windows, OS X, and Linux.
12597 @item Exception safety: Safely acquire and release resources.
12598 @item Streaming: Transform or fold command output in constant space.
12599 @item Patterns: Use typed regular expressions that can parse structured values.
12600 @item Formatting: Type-safe printf-style text formatting.
12601 @item Modern: Supports text and system-filepath.
12602 @end itemize
12603
12604 Read \"Turtle.Tutorial\" for a detailed tutorial or \"Turtle.Prelude\" for a
12605 quick-start guide. Turtle is designed to be beginner-friendly, but as a
12606 result lacks certain features, like tracing commands. If you feel comfortable
12607 using turtle then you should also check out the Shelly library which provides
12608 similar functionality.")
12609 (license license:bsd-3)))
12610
12611 (define-public ghc-typed-process
12612 (package
12613 (name "ghc-typed-process")
12614 (version "0.2.10.1")
12615 (source (origin
12616 (method url-fetch)
12617 (uri (hackage-uri "typed-process" version))
12618 (sha256
12619 (base32
12620 "17h9jl7gi26v3cxb4jdcksbp755sqqp8w7303q8x8r36rmf8fdp4"))))
12621 (build-system haskell-build-system)
12622 (properties '((upstream-name . "typed-process")))
12623 (inputs (list ghc-async ghc-unliftio-core))
12624 (native-inputs (list ghc-base64-bytestring
12625 ghc-hspec
12626 ghc-temporary
12627 ghc-base64-bytestring
12628 ghc-hspec
12629 ghc-temporary
12630 hspec-discover))
12631 (home-page "https://github.com/fpco/typed-process")
12632 (synopsis "Run external processes with strong typing of streams")
12633 (description
12634 "This library provides the ability to launch and interact with external
12635 processes. It wraps around the @code{process} library, and intends to improve
12636 upon it.")
12637 (license license:expat)))
12638
12639 (define-public ghc-uglymemo
12640 (package
12641 (name "ghc-uglymemo")
12642 (version "0.1.0.1")
12643 (source
12644 (origin
12645 (method url-fetch)
12646 (uri (hackage-uri "uglymemo" version))
12647 (sha256
12648 (base32
12649 "0ixqg5d0ly1r18jbgaa89i6kjzgi6c5hanw1b1y8c5fbq14yz2gy"))))
12650 (build-system haskell-build-system)
12651 (properties '((upstream-name . "uglymemo")))
12652 (home-page "https://hackage.haskell.org/package/uglymemo")
12653 (synopsis "Simple memoization function for Haskell")
12654 (description
12655 "This package provides a simple (but internally ugly) memoization
12656 function.")
12657 (license license:public-domain)))
12658
12659 (define-public ghc-unagi-chan
12660 (package
12661 (name "ghc-unagi-chan")
12662 (version "0.4.1.4")
12663 (source (origin
12664 (method url-fetch)
12665 (uri (hackage-uri "unagi-chan" version))
12666 (sha256
12667 (base32
12668 "1d98a6s7rydjlf2p3jv6j7wglq8ahf8kgcibji5fiy6y0ymz9mnr"))))
12669 (build-system haskell-build-system)
12670 (properties '((upstream-name . "unagi-chan")))
12671 (inputs (list ghc-atomic-primops ghc-primitive))
12672 (arguments (list #:tests? #f)) ; counter is atomic... test: Counter broken: expecting 10000000 got 9999996
12673 (home-page "http://hackage.haskell.org/package/unagi-chan")
12674 (synopsis "Fast concurrent queues with a Chan-like API, and more")
12675 (description
12676 "This library provides implementations of concurrent FIFO queues (for
12677 both general boxed and primitive unboxed values) that are fast, perform well
12678 under contention, and offer a Chan-like interface. The library may be of
12679 limited usefulness outside of x86 architectures where the fetch-and-add
12680 instruction is not available.")
12681 (license license:bsd-3)))
12682
12683 (define-public ghc-unbounded-delays
12684 (package
12685 (name "ghc-unbounded-delays")
12686 (version "0.1.1.1")
12687 (source
12688 (origin
12689 (method url-fetch)
12690 (uri (hackage-uri "unbounded-delays" version))
12691 (sha256
12692 (base32
12693 "11b1vmlfv4pmmpl4kva58w7cf50xsj819cq3wzqgnbz3px9pxbar"))))
12694 (build-system haskell-build-system)
12695 (properties '((upstream-name . "unbounded-delays")))
12696 (home-page "https://github.com/basvandijk/unbounded-delays")
12697 (synopsis "Unbounded thread delays and timeouts")
12698 (description "The @code{threadDelay} and @code{timeout} functions from the
12699 Haskell base library use the bounded @code{Int} type for specifying the delay
12700 or timeout period. This package provides alternative functions which use the
12701 unbounded @code{Integer} type.")
12702 (license license:bsd-3)))
12703
12704 (define-public ghc-unexceptionalio
12705 (package
12706 (name "ghc-unexceptionalio")
12707 (version "0.5.1")
12708 (source
12709 (origin
12710 (method url-fetch)
12711 (uri (hackage-uri "unexceptionalio" version))
12712 (sha256 (base32 "07py2nffdgxpz8sryvqcghzb2kiiagpdf5ja1dia4z0rpwi79smh"))))
12713 (build-system haskell-build-system)
12714 (properties '((upstream-name . "unexceptionalio")))
12715 (native-inputs
12716 (list ghc-hunit ghc-test-framework ghc-test-framework-hunit))
12717 (home-page "https://github.com/singpolyma/unexceptionalio")
12718 (synopsis "IO without any non-error, synchronous exceptions")
12719 (description "When you've caught all the exceptions that can be
12720 handled safely, this is what you're left with.")
12721 (license license:isc)))
12722
12723 (define-public ghc-unicode-data
12724 (package
12725 (name "ghc-unicode-data")
12726 (version "0.4.0.1")
12727 (source (origin
12728 (method url-fetch)
12729 (uri (hackage-uri "unicode-data" version))
12730 (sha256
12731 (base32
12732 "1030n3h11hk1rbq0fdbpry3aclz6yz8bki2abjvbwh0rh2kdx99p"))))
12733 (build-system haskell-build-system)
12734 (properties '((upstream-name . "unicode-data")))
12735 (native-inputs (list ghc-hspec))
12736 (home-page "http://github.com/composewell/unicode-data")
12737 (synopsis "Access Unicode Character Database (UCD)")
12738 (description
12739 "This package provides Haskell APIs to efficiently access the
12740 <https://www.unicode.org/ucd/ Unicode character database> (UCD). Performance is
12741 the primary goal in the design of this package. The Haskell data structures
12742 are generated programmatically from the UCD files.")
12743 (license license:asl2.0)))
12744
12745 (define-public ghc-unicode-transforms
12746 (package
12747 (name "ghc-unicode-transforms")
12748 (version "0.4.0.1")
12749 (source (origin
12750 (method url-fetch)
12751 (uri (hackage-uri "unicode-transforms" version))
12752 (sha256
12753 (base32
12754 "1z29jvli2rqkynfxni1gibl81458j7h8lrb8fg6lpnj8svhy2y1j"))))
12755 (build-system haskell-build-system)
12756 (properties '((upstream-name . "unicode-transforms")))
12757 (inputs (list ghc-unicode-data))
12758 (native-inputs (list ghc-quickcheck ghc-quickcheck ghc-hspec ghc-split))
12759 (arguments
12760 `(#:cabal-revision ("2"
12761 "1imm3svpz2shilj2kmmmcyy5yd4c1mpmz5v1gvjrr98hrab2i9x7")))
12762 (home-page "http://github.com/composewell/unicode-transforms")
12763 (synopsis "Unicode normalization")
12764 (description
12765 "This library provides tools for fast Unicode 12.1.0
12766 normalization in Haskell (normalization forms C, KC, D, and KD).")
12767 (license license:bsd-3)))
12768
12769 (define-public ghc-union-find
12770 (package
12771 (name "ghc-union-find")
12772 (version "0.2")
12773 (source (origin
12774 (method url-fetch)
12775 (uri (hackage-uri "union-find" version))
12776 (sha256
12777 (base32
12778 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
12779 (build-system haskell-build-system)
12780 (properties '((upstream-name . "union-find")))
12781 (home-page "https://github.com/nominolo/union-find")
12782 (synopsis "Efficient union and equivalence testing of sets")
12783 (description
12784 "The Union/Find algorithm implements these operations in (effectively)
12785 constant-time:
12786 @enumerate
12787 @item Check whether two elements are in the same equivalence class.
12788 @item Create a union of two equivalence classes.
12789 @item Look up the descriptor of the equivalence class.
12790 @end enumerate\n")
12791 (license license:bsd-3)))
12792
12793 (define-public ghc-uniplate
12794 (package
12795 (name "ghc-uniplate")
12796 (version "1.6.13")
12797 (source
12798 (origin
12799 (method url-fetch)
12800 (uri (hackage-uri "uniplate" version))
12801 (sha256
12802 (base32
12803 "1lis5qcb5j7yzd1cqjaqpb6bmkyjfb7l4nhk3ykmcma4513cjxz7"))))
12804 (build-system haskell-build-system)
12805 (properties '((upstream-name . "uniplate")))
12806 (inputs
12807 (list ghc-syb ghc-hashable ghc-unordered-containers))
12808 (home-page "https://github.com/ndmitchell/uniplate")
12809 (synopsis "Simple, concise and fast generic operations")
12810 (description "Uniplate is a library for writing simple and concise generic
12811 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
12812 work, but is substantially simpler and faster.")
12813 (license license:bsd-3)))
12814
12815 (define-public ghc-unix-compat
12816 (package
12817 (name "ghc-unix-compat")
12818 (version "0.5.4")
12819 (source (origin
12820 (method url-fetch)
12821 (uri (hackage-uri "unix-compat" version))
12822 (sha256
12823 (base32
12824 "1cd4lh2c16h7y5hzrcn5l9vir8aq2wcizwksppnagklsdsfmf942"))))
12825 (build-system haskell-build-system)
12826 (properties '((upstream-name . "unix-compat")))
12827 (arguments
12828 `(#:cabal-revision ("2"
12829 "0mik6xb1jdmb2jlxlmzf0517mxfj0c1j2i4r6h5212m4q6znqqcm")))
12830 (home-page "http://github.com/jacobstanley/unix-compat")
12831 (synopsis "Portable POSIX-compatibility layer")
12832 (description
12833 "This package provides portable implementations of parts of the unix
12834 package. This package re-exports the unix package when available. When it
12835 isn't available, portable implementations are used.")
12836 (license license:bsd-3)))
12837
12838 (define-public ghc-unix-time
12839 (package
12840 (name "ghc-unix-time")
12841 (version "0.4.8")
12842 (source (origin
12843 (method url-fetch)
12844 (uri (hackage-uri "unix-time" version))
12845 (sha256
12846 (base32
12847 "0hz8mi08kg84hiqnch5ycscgqmjyn1mnl5ih1bsrclyb3fhvdppy"))))
12848 (build-system haskell-build-system)
12849 (properties '((upstream-name . "unix-time")))
12850 (inputs (list ghc-old-time))
12851 (native-inputs (list ghc-doctest ghc-old-locale ghc-quickcheck ghc-hspec
12852 hspec-discover))
12853 (home-page "http://hackage.haskell.org/package/unix-time")
12854 (synopsis "Unix time parser/formatter and utilities")
12855 (description "This library provides fast parsing and formatting utilities
12856 for Unix time in Haskell.")
12857 (license license:bsd-3)))
12858
12859 (define-public ghc-unliftio
12860 (package
12861 (name "ghc-unliftio")
12862 (version "0.2.23.0")
12863 (source (origin
12864 (method url-fetch)
12865 (uri (hackage-uri "unliftio" version))
12866 (sha256
12867 (base32
12868 "1zg4ddi4z85550abw9ijycbbjg8ddig7r0vcma8ik03dxzga71id"))))
12869 (build-system haskell-build-system)
12870 (properties '((upstream-name . "unliftio")))
12871 (inputs (list ghc-async ghc-safe-exceptions ghc-unliftio-core ghc-nats))
12872 (native-inputs (list ghc-quickcheck ghc-hspec hspec-discover))
12873 (home-page "https://github.com/fpco/unliftio/tree/master/unliftio#readme")
12874 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
12875 IO")
12876 (description
12877 "This Haskell package provides the core @code{MonadUnliftIO}
12878 typeclass, a number of common instances, and a collection of common functions
12879 working with it.")
12880 (license license:expat)))
12881
12882 (define-public ghc-unliftio-core
12883 (package
12884 (name "ghc-unliftio-core")
12885 (version "0.2.0.1")
12886 (source
12887 (origin
12888 (method url-fetch)
12889 (uri (hackage-uri "unliftio-core" version))
12890 (sha256
12891 (base32
12892 "16i97jax8rys57l0g0qswfwxh1cl5bgw2lw525rm6bzajw90v7wi"))))
12893 (build-system haskell-build-system)
12894 (properties '((upstream-name . "unliftio-core")))
12895 (arguments
12896 `(#:cabal-revision
12897 ("2" "1xx9nmxxg87nhwxgbmmw0xbrppnjc23ppyryar04i3njyg9wvazr")))
12898 (home-page
12899 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
12900 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
12901 (description "This Haskell package provides the core @code{MonadUnliftIO}
12902 typeclass, instances for base and transformers, and basic utility
12903 functions.")
12904 (license license:expat)))
12905
12906 (define-public ghc-unordered-containers
12907 (package
12908 (name "ghc-unordered-containers")
12909 (version "0.2.19.1")
12910 (source (origin
12911 (method url-fetch)
12912 (uri (hackage-uri "unordered-containers" version))
12913 (sha256
12914 (base32
12915 "1li8s6qw8mgv6a7011y7hg0cn2nllv2g9sr9c1xb48nmw32vw9qv"))))
12916 (build-system haskell-build-system)
12917 (properties '((upstream-name . "unordered-containers")))
12918 (inputs (list ghc-hashable))
12919 (native-inputs (list ghc-chasingbottoms
12920 ghc-hunit
12921 ghc-quickcheck
12922 ghc-random
12923 ghc-tasty
12924 ghc-tasty-hunit
12925 ghc-tasty-quickcheck
12926 ghc-nothunks-bootstrap))
12927 (arguments
12928 `(#:cabal-revision ("1"
12929 "0fcax3apnpxxy9maymclr6s2b4c28d3pkl3plbg0lv1mn0mh84fv")))
12930 (home-page
12931 "https://github.com/haskell-unordered-containers/unordered-containers")
12932 (synopsis "Efficient hashing-based container types")
12933 (description
12934 "Efficient hashing-based container types. The containers have been
12935 optimized for performance critical use, both in terms of large data quantities
12936 and high speed.")
12937 (license license:bsd-3)))
12938
12939 (define-public ghc-unordered-containers-bootstrap
12940 (package
12941 (inherit ghc-unordered-containers)
12942 (name "ghc-unordered-containers-bootstrap")
12943 (arguments `(#:tests? #f))
12944 (inputs
12945 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
12946 (native-inputs '())
12947 (properties '((hidden? #t)))))
12948
12949 (define-public ghc-unsafe
12950 (package
12951 (name "ghc-unsafe")
12952 (version "0.0")
12953 (source
12954 (origin
12955 (method url-fetch)
12956 (uri
12957 (hackage-uri "unsafe" version))
12958 (sha256
12959 (base32
12960 "0hc6xr1i3hkz25gdgfx1jqgpsc9mwa05bkfynp0mcfdlyz6782nz"))))
12961 (build-system haskell-build-system)
12962 (properties '((upstream-name . "unsafe")))
12963 (home-page "https://hackage.haskell.org/package/unsafe")
12964 (synopsis "Unified interface to unsafe functions")
12965 (description "Safe Haskell introduced the notion of safe and unsafe
12966 modules. In order to make as many as possible modules ``safe'', the
12967 well-known unsafe functions were moved to distinguished modules. This
12968 makes it hard to write packages that work with both old and new versions
12969 of GHC. This package provides a single module System.Unsafe that
12970 exports the unsafe functions from the base package. It provides them in
12971 a style ready for qualification, that is, you should import them by
12972 @code{import qualified System.Unsafe as Unsafe}.")
12973 (license license:bsd-3)))
12974
12975 (define-public ghc-uri-bytestring
12976 (package
12977 (name "ghc-uri-bytestring")
12978 (version "0.3.3.1")
12979 (source
12980 (origin
12981 (method url-fetch)
12982 (uri (hackage-uri "uri-bytestring" version))
12983 (sha256
12984 (base32
12985 "0s0k26v5x6601rbpkjkl5vp3dkp9xwj1dlgy4xkl470i4sna1rzk"))))
12986 (build-system haskell-build-system)
12987 (properties '((upstream-name . "uri-bytestring")))
12988 (inputs (list ghc-attoparsec ghc-blaze-builder ghc-th-lift-instances))
12989 (native-inputs (list ghc-hunit
12990 ghc-tasty
12991 ghc-tasty-hunit
12992 ghc-hedgehog
12993 ghc-tasty-hedgehog
12994 ghc-base-compat
12995 ghc-semigroups
12996 ghc-safe))
12997 (home-page "https://github.com/Soostone/uri-bytestring")
12998 (synopsis "Haskell URI parsing as ByteStrings")
12999 (description "This Haskell package aims to be an RFC3986 compliant URI
13000 parser that uses ByteStrings for parsing and representing the URI data.")
13001 (license license:bsd-3)))
13002
13003 (define-public ghc-utf8-light
13004 (package
13005 (name "ghc-utf8-light")
13006 (version "0.4.4.0")
13007 (source
13008 (origin
13009 (method url-fetch)
13010 (uri (hackage-uri "utf8-light" version))
13011 (sha256
13012 (base32
13013 "0415hapndlsnzvmm3bk2fl42h4vn1izky7jb3lbby3mzzzd8d1fx"))))
13014 (build-system haskell-build-system)
13015 (properties '((upstream-name . "utf8-light")))
13016 (native-inputs (list ghc-hspec hspec-discover))
13017 (home-page
13018 "https://hackage.haskell.org/package/utf8-light")
13019 (synopsis "Lightweight unicode support for Haskell")
13020 (description
13021 "This package profides a class for encoding and decoding UTF8 strings
13022 with instances for several common types. It also includes several functions
13023 for working with UTF8. It aims to be lightweight, depending only on Base and
13024 including only one module.")
13025 (license license:bsd-3)))
13026
13027 (define-public ghc-utf8-string
13028 (package
13029 (name "ghc-utf8-string")
13030 (version "1.0.2")
13031 (source
13032 (origin
13033 (method url-fetch)
13034 (uri (hackage-uri "utf8-string" version))
13035 (sha256
13036 (base32 "16mh36ffva9rh6k37bi1046pgpj14h0cnmj1iir700v0lynxwj7f"))))
13037 (build-system haskell-build-system)
13038 (properties '((upstream-name . "utf8-string")))
13039 (native-inputs (list ghc-hunit))
13040 (home-page "https://github.com/glguy/utf8-string/")
13041 (synopsis "Support for reading and writing UTF8 Strings")
13042 (description
13043 "A UTF8 layer for Strings. The utf8-string package provides operations
13044 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
13045 UTF8 without truncation.")
13046 (license license:bsd-3)))
13047
13048 (define-public ghc-utility-ht
13049 (package
13050 (name "ghc-utility-ht")
13051 (version "0.0.16")
13052 (home-page "https://hackage.haskell.org/package/utility-ht")
13053 (source
13054 (origin
13055 (method url-fetch)
13056 (uri (hackage-uri "utility-ht" version))
13057 (sha256
13058 (base32 "10dvmfhhhj5w4wz5drhvs6i0yv35kbbcbzhy6ci34r3ppcik5rdw"))))
13059 (build-system haskell-build-system)
13060 (properties '((upstream-name . "utility-ht")))
13061 (native-inputs
13062 (list ghc-quickcheck ghc-doctest-exitcode-stdio ghc-doctest-lib))
13063 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
13064 (description "This package includes Hakell modules providing various
13065 helper functions for Lists, Maybes, Tuples, Functions.")
13066 (license license:bsd-3)))
13067
13068 (define-public ghc-uuid
13069 (package
13070 (name "ghc-uuid")
13071 (version "1.3.15")
13072 (source
13073 (origin
13074 (method url-fetch)
13075 (uri (hackage-uri "uuid" version))
13076 (sha256
13077 (base32
13078 "0r05h16gd7fgfpq9iz43jcn9jzrgfa0gk4cv1xy0p4rli66rb1gq"))))
13079 (build-system haskell-build-system)
13080 (properties '((upstream-name . "uuid")))
13081 (inputs (list ghc-cryptohash-sha1
13082 ghc-cryptohash-md5
13083 ghc-entropy
13084 ghc-network-info
13085 ghc-random
13086 ghc-uuid-types))
13087 (native-inputs (list ghc-quickcheck ghc-tasty ghc-tasty-hunit
13088 ghc-tasty-quickcheck))
13089 (home-page "https://github.com/hvr/uuid")
13090 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
13091 (description "This Haskell library provides utilities creating, comparing,
13092 parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
13093 (license license:bsd-3)))
13094
13095 (define-public ghc-uuid-types
13096 (package
13097 (name "ghc-uuid-types")
13098 (version "1.0.5")
13099 (source
13100 (origin
13101 (method url-fetch)
13102 (uri (hackage-uri "uuid-types" version))
13103 (sha256
13104 (base32
13105 "1pd7xd6inkmmwjscf7pmiwqjks9y0gi1p8ahqbapvh34gadvhs5d"))))
13106 (build-system haskell-build-system)
13107 (properties '((upstream-name . "uuid-types")))
13108 (inputs (list ghc-hashable ghc-random))
13109 (native-inputs (list ghc-quickcheck ghc-tasty
13110 ghc-tasty-hunit ghc-tasty-quickcheck))
13111 (arguments
13112 `(#:tests? #f ; Missing GHC internal library ghc-byteorder.
13113 #:cabal-revision ("3"
13114 "10hpjshw6z8xnjpga47cazfdd4i27qvy4ash13lza2lmwf36k9ww")))
13115 (home-page "https://github.com/hvr/uuid")
13116 (synopsis "Haskell type definitions for UUIDs")
13117 (description "This Haskell library contains type definitions for
13118 @dfn{Universally Unique Identifiers} or
13119 @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
13120 functions.")
13121 (license license:bsd-3)))
13122
13123 (define-public ghc-validation
13124 (package
13125 (name "ghc-validation")
13126 (version "1.1.2")
13127 (source (origin
13128 (method url-fetch)
13129 (uri (hackage-uri "validation" version))
13130 (sha256
13131 (base32
13132 "15hhz2kj6h9zv568bvq79ymck3s3b89fpkasdavbwvyhfyjm5k8x"))))
13133 (build-system haskell-build-system)
13134 (properties '((upstream-name . "validation")))
13135 (inputs (list ghc-assoc ghc-semigroups ghc-semigroupoids ghc-bifunctors
13136 ghc-lens))
13137 (native-inputs (list ghc-hedgehog ghc-hunit))
13138 (arguments
13139 `(#:phases
13140 (modify-phases %standard-phases
13141 (add-before 'configure 'update-constraints
13142 (lambda _
13143 (substitute* "validation.cabal"
13144 (("\\b(hedgehog|lens)\\s+[^,]+" all dep)
13145 dep)))))))
13146 (home-page "https://github.com/qfpl/validation")
13147 (synopsis "Data-type like Either but with an accumulating Applicative")
13148 (description
13149 "A data-type like Either but with differing properties and type-class
13150 instances.
13151
13152 Library support is provided for this different representation, including
13153 @code{lens}-related functions for converting between each and abstracting over
13154 their similarities.
13155
13156 The @code{Validation} data type is isomorphic to @code{Either}, but has an
13157 instance of @code{Applicative} that accumulates on the error side. That is to
13158 say, if two (or more) errors are encountered, they are appended using a
13159 @{Semigroup} operation.
13160
13161 As a consequence of this @code{Applicative} instance, there is no
13162 corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an
13163 example of, \"An applicative functor that is not a monad.\"")
13164 (license license:bsd-3)))
13165
13166 (define-public ghc-validity
13167 (package
13168 (name "ghc-validity")
13169 (version "0.12.0.1")
13170 (source (origin
13171 (method url-fetch)
13172 (uri (hackage-uri "validity" version))
13173 (sha256
13174 (base32
13175 "1j9yswqas9dpb9mv132myfn1rky5vbh5gdvcxbb7p93k5c2y4g0w"))))
13176 (build-system haskell-build-system)
13177 (properties '((upstream-name . "validity")))
13178 (native-inputs (list ghc-hspec hspec-discover))
13179 (home-page "https://github.com/NorfairKing/validity#readme")
13180 (synopsis "Validity typeclass")
13181 (description
13182 "Values of custom types usually have invariants imposed upon them. This
13183 package provides the @code{Validity} type class, which makes these invariants
13184 explicit by providing a function to check whether the invariants hold.")
13185 (license license:expat)))
13186
13187 (define-public ghc-vault
13188 (package
13189 (name "ghc-vault")
13190 (version "0.3.1.5")
13191 (source
13192 (origin
13193 (method url-fetch)
13194 (uri (hackage-uri "vault" version))
13195 (sha256
13196 (base32
13197 "181ksk1yixjg0jiggw5jvm8am8m8c7lim4xaixf8qnaqvxm6namc"))))
13198 (build-system haskell-build-system)
13199 (properties '((upstream-name . "vault")))
13200 (inputs
13201 (list ghc-unordered-containers ghc-hashable ghc-semigroups))
13202 (arguments
13203 `(#:cabal-revision ("2"
13204 "1bjwv3nv8jfhrdxa5kn3gvgxmyalpq7592bvyl7bpvcc7bbkfkf3")))
13205 (home-page
13206 "https://github.com/HeinrichApfelmus/vault")
13207 (synopsis "Persistent store for arbitrary values")
13208 (description "This package provides vaults for Haskell. A vault is a
13209 persistent store for values of arbitrary types. It's like having first-class
13210 access to the storage space behind @code{IORefs}. The data structure is
13211 analogous to a bank vault, where you can access different bank boxes with
13212 different keys; hence the name. Also provided is a @code{locker} type,
13213 representing a store for a single element.")
13214 (license license:bsd-3)))
13215
13216 (define-public ghc-vector
13217 (package
13218 (name "ghc-vector")
13219 (version "0.12.3.1")
13220 (outputs '("out" "static" "doc"))
13221 (source
13222 (origin
13223 (method url-fetch)
13224 (uri (hackage-uri "vector" version))
13225 (sha256
13226 (base32
13227 "0dczbcisxhhix859dng5zhxkn3xvlnllsq60apqzvmyl5g056jpv"))))
13228 (build-system haskell-build-system)
13229 (properties '((upstream-name . "vector")))
13230 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
13231 ;; disabled for now.
13232 (arguments
13233 `(#:tests? #f))
13234 (inputs
13235 (list ghc-primitive
13236 ;; ("ghc-hunit" ,ghc-hunit)
13237 ;; ("ghc-test-framework" ,ghc-test-framework)
13238 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
13239 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
13240 ))
13241 (home-page "https://github.com/haskell/vector")
13242 (synopsis "Efficient Arrays")
13243 (description "This library provides an efficient implementation of
13244 Int-indexed arrays (both mutable and immutable), with a powerful loop
13245 optimisation framework.")
13246 (license license:bsd-3)))
13247
13248 (define-public ghc-vector-algorithms
13249 (package
13250 (name "ghc-vector-algorithms")
13251 (version "0.8.0.4")
13252 (source
13253 (origin
13254 (method url-fetch)
13255 (uri (hackage-uri "vector-algorithms" version))
13256 (sha256
13257 (base32
13258 "0fxg6w0vh5g2vzw4alajj9ywdijfn9nyx28hbckhmwwbfxb6l5vn"))))
13259 (build-system haskell-build-system)
13260 (properties '((upstream-name . "vector-algorithms")))
13261 (inputs
13262 (list ghc-vector))
13263 (native-inputs
13264 (list ghc-quickcheck))
13265 (home-page "https://github.com/bos/math-functions")
13266 (synopsis "Algorithms for vector arrays in Haskell")
13267 (description "This Haskell library algorithms for vector arrays.")
13268 (license license:bsd-3)))
13269
13270 (define-public ghc-vector-binary-instances
13271 (package
13272 (name "ghc-vector-binary-instances")
13273 (version "0.2.5.2")
13274 (source
13275 (origin
13276 (method url-fetch)
13277 (uri (hackage-uri "vector-binary-instances" version))
13278 (sha256
13279 (base32
13280 "0kgmlb4rf89b18d348cf2k06xfhdpamhmvq7iz5pab5014hknbmp"))))
13281 (build-system haskell-build-system)
13282 (properties '((upstream-name . "vector-binary-instances")))
13283 (inputs
13284 (list ghc-vector))
13285 (native-inputs
13286 (list ghc-tasty ghc-tasty-quickcheck))
13287 (arguments
13288 `(#:cabal-revision ("3"
13289 "0av0k2gn90mf5ai74575bd368x73ljnr7xlkwsqmrs6zdzkw0i83")))
13290 (home-page "https://github.com/bos/vector-binary-instances")
13291 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
13292 (description "This library provides instances of @code{Binary} for the
13293 types defined in the @code{vector} package, making it easy to serialize
13294 vectors to and from disk. We use the generic interface to vectors, so all
13295 vector types are supported. Specific instances are provided for unboxed,
13296 boxed and storable vectors.")
13297 (license license:bsd-3)))
13298
13299 (define-public ghc-vector-builder
13300 (package
13301 (name "ghc-vector-builder")
13302 (version "0.3.8.4")
13303 (source (origin
13304 (method url-fetch)
13305 (uri (hackage-uri "vector-builder" version))
13306 (sha256
13307 (base32
13308 "0gc2n5j1ca07hd50shy7l5xybs1y720zrarzs5dj74dsdcpvmjxw"))))
13309 (build-system haskell-build-system)
13310 (properties '((upstream-name . "vector-builder")))
13311 (inputs (list ghc-vector))
13312 (native-inputs (list ghc-attoparsec
13313 ghc-quickcheck
13314 ghc-quickcheck-instances
13315 ghc-rerebase
13316 ghc-tasty
13317 ghc-tasty-hunit
13318 ghc-tasty-quickcheck))
13319 (home-page "https://github.com/nikita-volkov/vector-builder")
13320 (synopsis "Vector builder for Haskell")
13321 (description
13322 "This Haskell package provides an API for constructing vectors.
13323 It provides the composable @code{Builder} abstraction, which has instances of the
13324 @code{Monoid} and @code{Semigroup} classes.
13325
13326 You would first use the @code{Builder} abstraction to specify the structure of
13327 the vector; then you can execute the builder to actually produce the
13328 vector.")
13329 (license license:expat)))
13330
13331 (define-public ghc-vector-th-unbox
13332 (package
13333 (name "ghc-vector-th-unbox")
13334 (version "0.2.2")
13335 (source (origin
13336 (method url-fetch)
13337 (uri (hackage-uri "vector-th-unbox" version))
13338 (sha256
13339 (base32
13340 "0j81m09xxv24zziv0nanfppckzmas5184jr3npjhc9w49r3cm94a"))))
13341 (build-system haskell-build-system)
13342 (properties '((upstream-name . "vector-th-unbox")))
13343 (inputs (list ghc-vector))
13344 (native-inputs (list ghc-data-default))
13345 (arguments
13346 `(#:cabal-revision ("3"
13347 "0ki133sixq8pkfys36nl25jzdvnw40qq2bnskdmk2zyjhckdjcna")))
13348 (home-page "https://github.com/tsurucapital/vector-th-unbox")
13349 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
13350 (description
13351 "This Haskell library provides a Template Haskell
13352 deriver for unboxed vectors, given a pair of coercion functions to
13353 and from some existing type with an Unbox instance.")
13354 (license license:bsd-3)))
13355
13356 (define-public ghc-void
13357 (package
13358 (name "ghc-void")
13359 (version "0.7.3")
13360 (source
13361 (origin
13362 (method url-fetch)
13363 (uri (hackage-uri "void" version))
13364 (sha256
13365 (base32
13366 "05vk3x1r9a2pqnzfji475m5gdih2im1h7rbi2sc67p1pvj6pbbsk"))))
13367 (build-system haskell-build-system)
13368 (properties '((upstream-name . "void")))
13369 (inputs
13370 (list ghc-semigroups ghc-hashable))
13371 (home-page "https://github.com/ekmett/void")
13372 (synopsis
13373 "Logically uninhabited data type")
13374 (description
13375 "A Haskell 98 logically uninhabited data type, used to indicate that a
13376 given term should not exist.")
13377 (license license:bsd-3)))
13378
13379 (define-public ghc-wave
13380 (package
13381 (name "ghc-wave")
13382 (version "0.2.0")
13383 (source (origin
13384 (method url-fetch)
13385 (uri (hackage-uri "wave" version))
13386 (sha256
13387 (base32
13388 "149kgwngq3qxc7gxpkqb16j669j0wpv2f3gnvfwp58yg6m4259ki"))))
13389 (build-system haskell-build-system)
13390 (properties '((upstream-name . "wave")))
13391 (arguments
13392 `(#:cabal-revision ("1"
13393 "19rxhnqhhv1qs35y723c15c8nifj8pakcrd09jlvg5271zg4qb0b")))
13394 (inputs
13395 (list ghc-cereal ghc-data-default-class ghc-quickcheck ghc-temporary))
13396 (native-inputs
13397 (list hspec-discover ghc-hspec))
13398 (home-page "https://github.com/mrkkrp/wave")
13399 (synopsis "Work with WAVE and RF64 files in Haskell")
13400 (description "This package allows you to work with WAVE and RF64
13401 files in Haskell.")
13402 (license license:bsd-3)))
13403
13404 (define-public ghc-wcwidth
13405 (package
13406 (name "ghc-wcwidth")
13407 (version "0.0.2")
13408 (source
13409 (origin
13410 (method url-fetch)
13411 (uri (hackage-uri "wcwidth" version))
13412 (sha256
13413 (base32
13414 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
13415 (build-system haskell-build-system)
13416 (properties '((upstream-name . "wcwidth")))
13417 (inputs
13418 (list ghc-setlocale ghc-utf8-string ghc-attoparsec))
13419 (home-page "https://github.com/solidsnack/wcwidth/")
13420 (synopsis "Haskell bindings to wcwidth")
13421 (description "This package provides Haskell bindings to your system's
13422 native wcwidth and a command line tool to examine the widths assigned by it.
13423 The command line tool can compile a width table to Haskell code that assigns
13424 widths to the Char type.")
13425 (license license:bsd-3)))
13426
13427 (define-public ghc-wcwidth-bootstrap
13428 (package
13429 (inherit ghc-wcwidth)
13430 (name "ghc-wcwidth-bootstrap")
13431 (inputs
13432 (list ghc-setlocale ghc-utf8-string ghc-attoparsec-bootstrap))
13433 (properties '((hidden? #t)))))
13434
13435 (define-public ghc-weigh
13436 (package
13437 (name "ghc-weigh")
13438 (version "0.0.16")
13439 (source
13440 (origin
13441 (method url-fetch)
13442 (uri (hackage-uri "weigh" version))
13443 (sha256
13444 (base32
13445 "13pbjr7fzqy3s9c1nd2jhfwzbpccmpfwdn7y46z9k2bfkch1jam9"))))
13446 (build-system haskell-build-system)
13447 (properties '((upstream-name . "weigh")))
13448 (inputs
13449 (list ghc-split ghc-temporary))
13450 (home-page "https://github.com/fpco/weigh#readme")
13451 (synopsis "Measure allocations of a Haskell functions/values")
13452 (description "This package provides tools to measure the memory usage of a
13453 Haskell value or function.")
13454 (license license:bsd-3)))
13455
13456 (define-public ghc-wizards
13457 (package
13458 (name "ghc-wizards")
13459 (version "1.0.3")
13460 (source
13461 (origin
13462 (method url-fetch)
13463 (uri (hackage-uri "wizards" version))
13464 (sha256
13465 (base32
13466 "1clvbd1ckhvy29qrbmpkn7bya7300fq6znnps23nn3nxyrxhsr85"))))
13467 (build-system haskell-build-system)
13468 (properties '((upstream-name . "wizards")))
13469 (inputs
13470 (list ghc-control-monad-free))
13471 (arguments
13472 `(#:cabal-revision
13473 ("1"
13474 "095qd17zrdhqmcvmslbyzfa5sh9glvvsnsvnlz31gzsmi8nnsgim")))
13475 (home-page "https://hackage.haskell.org/package/wizards")
13476 (synopsis "High level, generic library for interrogative user interfaces")
13477 (description
13478 "@code{wizards} is a package designed for the quick and painless
13479 development of @emph{interrogative} programs, which revolve around a dialogue
13480 with the user, who is asked a series of questions in a sequence much like an
13481 installation wizard.
13482
13483 Everything from interactive system scripts, to installation wizards, to
13484 full-blown shells can be implemented with the support of @code{wizards}.
13485
13486 It is developed transparently on top of a free monad, which separates out the
13487 semantics of the program from any particular interface. A variety of backends
13488 exist, including console-based @code{System.Console.Wizard.Haskeline} and
13489 @code{System.Console.Wizard.BasicIO}, and the pure
13490 @code{System.Console.Wizard.Pure}. It is also possible to write your own
13491 backends, or extend existing back-ends with new features. While both built-in
13492 IO backends operate on a console, there is no reason why @code{wizards} cannot
13493 also be used for making GUI wizard interfaces.")
13494 (license license:bsd-3)))
13495
13496 (define-public ghc-wl-pprint
13497 (package
13498 (name "ghc-wl-pprint")
13499 (version "1.2.1")
13500 (source (origin
13501 (method url-fetch)
13502 (uri (hackage-uri "wl-pprint" version))
13503 (sha256
13504 (base32
13505 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
13506 (build-system haskell-build-system)
13507 (properties '((upstream-name . "wl-pprint")))
13508 (home-page "https://hackage.haskell.org/package/wl-pprint")
13509 (synopsis "Wadler/Leijen pretty printer")
13510 (description
13511 "This is a pretty printing library based on Wadler's paper @i{A Prettier
13512 Printer}. This version allows the library user to declare overlapping
13513 instances of the @code{Pretty} class.")
13514 (license license:bsd-3)))
13515
13516 (define-public ghc-wl-pprint-annotated
13517 (package
13518 (name "ghc-wl-pprint-annotated")
13519 (version "0.1.0.1")
13520 (source
13521 (origin
13522 (method url-fetch)
13523 (uri (hackage-uri "wl-pprint-annotated" version))
13524 (sha256
13525 (base32
13526 "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb"))))
13527 (build-system haskell-build-system)
13528 (properties '((upstream-name . "wl-pprint-annotated")))
13529 (native-inputs
13530 (list ghc-tasty ghc-tasty-hunit))
13531 (home-page
13532 "https://github.com/minad/wl-pprint-annotated#readme")
13533 (synopsis
13534 "Wadler/Leijen pretty printer with annotation support")
13535 (description
13536 "Annotations are useful for coloring. This is a limited version of
13537 @code{wl-pprint-extras} without support for point effects and without the free
13538 monad. Like in @code{annotated-wl-pprint}, only annotations are supported.
13539 Compared to @code{annotated-wl-pprint} this library provides a slightly
13540 modernized interface.")
13541 (license license:bsd-3)))
13542
13543 (define-public ghc-wl-pprint-text
13544 (package
13545 (name "ghc-wl-pprint-text")
13546 (version "1.2.0.2")
13547 (source (origin
13548 (method url-fetch)
13549 (uri (hackage-uri "wl-pprint-text" version))
13550 (sha256
13551 (base32
13552 "0axivwh7bxmljxpfnccs66knxzrqck07byxmp2j737xbb26pf5cj"))))
13553 (build-system haskell-build-system)
13554 (properties '((upstream-name . "wl-pprint-text")))
13555 (inputs (list ghc-base-compat))
13556 (home-page "http://hackage.haskell.org/package/wl-pprint-text")
13557 (synopsis "Wadler/Leijen Pretty Printer for Text values")
13558 (description "A clone of wl-pprint for use with the text library.")
13559 (license license:bsd-3)))
13560
13561 (define-public ghc-word-wrap
13562 (package
13563 (name "ghc-word-wrap")
13564 (version "0.5")
13565 (source (origin
13566 (method url-fetch)
13567 (uri (hackage-uri "word-wrap" version))
13568 (sha256
13569 (base32
13570 "0i57233g4p9p8c0jf9mp3pvknwgv1lsrxm4mxjay38rw0372jpzq"))))
13571 (build-system haskell-build-system)
13572 (properties '((upstream-name . "word-wrap")))
13573 (native-inputs (list ghc-hspec))
13574 (home-page "https://github.com/jtdaugherty/word-wrap/")
13575 (synopsis "Haskell library for word-wrapping text")
13576 (description
13577 "The @code{word-wrap} Haskell library wraps long lines of text.")
13578 (license license:bsd-3)))
13579
13580 (define-public ghc-word8
13581 (package
13582 (name "ghc-word8")
13583 (version "0.1.3")
13584 (source
13585 (origin
13586 (method url-fetch)
13587 (uri (hackage-uri "word8" version))
13588 (sha256
13589 (base32
13590 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
13591 (build-system haskell-build-system)
13592 (properties '((upstream-name . "word8")))
13593 (native-inputs
13594 (list ghc-hspec hspec-discover))
13595 (home-page "https://hackage.haskell.org/package/word8")
13596 (synopsis "Word8 library for Haskell")
13597 (description "Word8 library to be used with @code{Data.ByteString}.")
13598 (license license:bsd-3)))
13599
13600 (define-public ghc-wordexp
13601 (package
13602 (name "ghc-wordexp")
13603 (version "0.2.2")
13604 (source
13605 (origin
13606 (method url-fetch)
13607 (uri (hackage-uri "wordexp" version))
13608 (sha256
13609 (base32
13610 "1mbcrq89jz0dcibw66w0jdy4f4bfpx4zwjfs98rm3jjgdikwdzb4"))))
13611 (build-system haskell-build-system)
13612 (properties '((upstream-name . "wordexp")))
13613 (native-inputs (list ghc-c2hs))
13614 (inputs
13615 (list ghc-semigroups))
13616 (home-page "https://hackage.haskell.org/package/wordexp")
13617 (synopsis "Library wrapping @code{wordexp} for Haskell")
13618 (description "@code{wordexp(3)} wrapper library for Haskell to perform
13619 word expansion like a posix-shell.")
13620 (license license:bsd-3)))
13621
13622 (define-public ghc-x11
13623 (package
13624 (name "ghc-x11")
13625 (version "1.10.3")
13626 (source (origin
13627 (method url-fetch)
13628 (uri (hackage-uri "X11" version))
13629 (sha256
13630 (base32
13631 "0hnj2q310a6s0h479hq8jsmywymvxdjxg13zw46mmdndynwd2jnq"))))
13632 (build-system haskell-build-system)
13633 (properties '((upstream-name . "X11")))
13634 (arguments
13635 `(#:extra-directories
13636 ("libx11" "libxrandr" "libxinerama" "libxscrnsaver")))
13637 (inputs (list libx11 libxrandr libxinerama libxscrnsaver
13638 ghc-data-default-class))
13639 (home-page "https://github.com/xmonad/X11")
13640 (synopsis "Bindings to the X11 graphics library")
13641 (description
13642 "This package provides Haskell bindings to the X11 graphics library. The
13643 bindings are a direct translation of the C bindings.")
13644 (license license:bsd-3)))
13645
13646 (define-public ghc-x11-xft
13647 (package
13648 (name "ghc-x11-xft")
13649 (version "0.3.4")
13650 (source (origin
13651 (method url-fetch)
13652 (uri (hackage-uri "X11-xft" version))
13653 (sha256
13654 (base32
13655 "05m988r45jiqpxqsw3vafz158whlwfcl7v8z9nnqnqz9mggd4032"))))
13656 (build-system haskell-build-system)
13657 (properties '((upstream-name . "X11-xft")))
13658 (arguments
13659 `(#:extra-directories ("libx11" "libxft" "xorgproto")))
13660 (inputs (list ghc-x11 ghc-utf8-string libx11 libxft xorgproto))
13661 (native-inputs (list pkg-config))
13662 (home-page "http://hackage.haskell.org/package/X11-xft")
13663 (synopsis "Bindings to Xft")
13664 (description
13665 "Bindings to the Xft, X Free Type interface library, and some Xrender
13666 parts.")
13667 (license license:bsd-3)))
13668
13669 (define-public ghc-xdg-basedir
13670 (package
13671 (name "ghc-xdg-basedir")
13672 (version "0.2.2")
13673 (source
13674 (origin
13675 (method url-fetch)
13676 (uri (hackage-uri "xdg-basedir" version))
13677 (sha256
13678 (base32
13679 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
13680 (build-system haskell-build-system)
13681 (properties '((upstream-name . "xdg-basedir")))
13682 (home-page "https://github.com/willdonnelly/xdg-basedir")
13683 (synopsis "XDG Base Directory library for Haskell")
13684 (description "This package provides a library implementing the XDG Base Directory spec.")
13685 (license license:bsd-3)))
13686
13687 (define-public ghc-xml
13688 (package
13689 (name "ghc-xml")
13690 (version "1.3.14")
13691 (source
13692 (origin
13693 (method url-fetch)
13694 (uri (hackage-uri "xml" version))
13695 (sha256
13696 (base32
13697 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
13698 (build-system haskell-build-system)
13699 (properties '((upstream-name . "xml")))
13700 (home-page "https://github.com/GaloisInc/xml")
13701 (synopsis "Simple XML library for Haskell")
13702 (description "This package provides a simple XML library for Haskell.")
13703 (license license:bsd-3)))
13704
13705 (define-public ghc-xml-conduit
13706 (package
13707 (name "ghc-xml-conduit")
13708 (version "1.9.1.1")
13709 (source
13710 (origin
13711 (method url-fetch)
13712 (uri (hackage-uri "xml-conduit" version))
13713 (sha256
13714 (base32
13715 "1zzh7xnmbm68dab1vqsjkr6ghxqgnla5nik4amrwlmhbdih1gcdx"))))
13716 (build-system haskell-build-system)
13717 (properties '((upstream-name . "xml-conduit")))
13718 (inputs
13719 (list ghc-conduit
13720 ghc-conduit-extra
13721 ghc-resourcet
13722 ghc-xml-types
13723 ghc-attoparsec
13724 ghc-data-default-class
13725 ghc-blaze-markup
13726 ghc-blaze-html))
13727 (native-inputs (list ghc-hspec ghc-hunit ghc-doctest hspec-discover))
13728 (arguments
13729 `(#:cabal-revision ("2"
13730 "0m6sknp9xxz8a3dhvyfpyjvxp8ph511w19j4vj1qsd6hl2pazjy6")
13731 #:tests? #f ; Depend on non-existent doctest API.
13732 #:phases
13733 (modify-phases %standard-phases
13734 ;; Tries to use non-existent doctest API.
13735 (add-after 'unpack 'disable-doctest
13736 (lambda _
13737 (with-output-to-file "Setup.hs"
13738 (lambda _
13739 (display
13740 "import Distribution.Simple\nmain = defaultMain\n"))))))))
13741 (home-page "https://github.com/snoyberg/xml")
13742 (synopsis "Utilities for dealing with XML with the conduit package")
13743 (description
13744 "This package provides pure-Haskell utilities for dealing with XML with
13745 the @code{conduit} package.")
13746 (license license:expat)))
13747
13748 (define-public ghc-xml-types
13749 (package
13750 (name "ghc-xml-types")
13751 (version "0.3.8")
13752 (source
13753 (origin
13754 (method url-fetch)
13755 (uri (hackage-uri "xml-types" version))
13756 (sha256
13757 (base32
13758 "102cm0nvfmf9gn8hvn5z8qvmg931laczs33wwd5iyz9bc37f9mfs"))))
13759 (build-system haskell-build-system)
13760 (properties '((upstream-name . "xml-types")))
13761 (home-page "https://john-millikin.com/software/haskell-xml/")
13762 (synopsis "Basic types for representing XML")
13763 (description "This package provides basic types for representing XML
13764 documents.")
13765 (license license:expat)))
13766
13767 (define-public ghc-xml-hamlet
13768 (package
13769 (name "ghc-xml-hamlet")
13770 (version "0.5.0.2")
13771 (source (origin
13772 (method url-fetch)
13773 (uri (hackage-uri "xml-hamlet" version))
13774 (sha256
13775 (base32
13776 "109fck1626d74s00ssjffg837584wf7dxpswkil37wqqfy94mw2z"))))
13777 (build-system haskell-build-system)
13778 (properties '((upstream-name . "xml-hamlet")))
13779 (inputs (list ghc-shakespeare ghc-xml-conduit))
13780 (native-inputs (list ghc-hspec ghc-hunit))
13781 (home-page "http://www.yesodweb.com/")
13782 (synopsis "Hamlet-style quasiquoter for XML content")
13783 (description
13784 "This package provides a type-safe tool for generating XML
13785 code via quasi-quoting built on top of @code{ghc-shakespeare}.")
13786 (license license:bsd-3)))
13787
13788 (define-public ghc-yaml
13789 (package
13790 (name "ghc-yaml")
13791 (version "0.11.8.0")
13792 (source (origin
13793 (method url-fetch)
13794 (uri (hackage-uri "yaml" version))
13795 (sha256
13796 (base32
13797 "1s0arllihjjqp65jbc8c1w5106i2infppsirvbsifpmpkf14w6pn"))))
13798 (build-system haskell-build-system)
13799 (properties '((upstream-name . "yaml")))
13800 (inputs (list ghc-aeson
13801 ghc-attoparsec
13802 ghc-conduit
13803 ghc-libyaml
13804 ghc-resourcet
13805 ghc-scientific
13806 ghc-unordered-containers
13807 ghc-vector
13808 ghc-optparse-applicative))
13809 (native-inputs (list ghc-hunit
13810 ghc-base-compat
13811 ghc-hspec
13812 ghc-mockery
13813 ghc-raw-strings-qq
13814 ghc-temporary
13815 hspec-discover))
13816 (arguments
13817 `(#:cabal-revision ("2"
13818 "1dix5jm3d380vjr9l6wqz54zk883kilk8rijlvjp6b13mjxwcj1l")))
13819 (home-page "https://github.com/snoyberg/yaml#readme")
13820 (synopsis "Parsing and rendering YAML documents")
13821 (description
13822 "This package provides a library to parse and render YAML documents.")
13823 (license license:bsd-3)))
13824
13825 (define-public ghc-zip-archive
13826 (package
13827 (name "ghc-zip-archive")
13828 (version "0.4.2.2")
13829 (source (origin
13830 (method url-fetch)
13831 (uri (hackage-uri "zip-archive" version))
13832 (sha256
13833 (base32
13834 "02b76hm76gqallij70z77xz1y981ig4biklzm0wgxran8d06n0d4"))))
13835 (build-system haskell-build-system)
13836 (properties '((upstream-name . "zip-archive")))
13837 (inputs (list ghc-zlib ghc-digest))
13838 (native-inputs (list ghc-hunit ghc-temporary which unzip))
13839 (arguments
13840 `(#:phases
13841 (modify-phases %standard-phases
13842 (add-before 'check 'set-PATH-for-tests
13843 (lambda* (#:key inputs #:allow-other-keys)
13844 (let ((unzip (assoc-ref inputs "unzip"))
13845 (which (assoc-ref inputs "which"))
13846 (path (getenv "PATH")))
13847 (setenv "PATH" (string-append unzip "/bin:" which "/bin:" path))
13848 #t))))))
13849 (home-page "http://github.com/jgm/zip-archive")
13850 (synopsis "Zip archive library for Haskell")
13851 (description
13852 "The zip-archive library provides functions for creating,
13853 modifying, and extracting files from zip archives in Haskell.")
13854 (license license:bsd-3)))
13855
13856 (define-public ghc-zlib
13857 (package
13858 (name "ghc-zlib")
13859 (version "0.6.3.0")
13860 (source (origin
13861 (method url-fetch)
13862 (uri (hackage-uri "zlib" version))
13863 (sha256
13864 (base32
13865 "1nh4xsm3kgsg76jmkcphvy7hhslg9hx1s75mpsskhi2ksjd9ialy"))))
13866 (build-system haskell-build-system)
13867 (properties '((upstream-name . "zlib")))
13868 (arguments
13869 `(#:extra-directories ("zlib")))
13870 (inputs (list zlib))
13871 (native-inputs (list ghc-quickcheck ghc-tasty ghc-tasty-quickcheck))
13872 (home-page "http://hackage.haskell.org/package/zlib")
13873 (synopsis "Compression and decompression in the gzip and zlib formats")
13874 (description
13875 "This package provides a pure interface for compressing and decompressing
13876 streams of data represented as lazy @code{ByteString}s. It uses the zlib C
13877 library so it has high performance. It supports the @code{zlib}, @code{gzip}
13878 and @code{raw} compression formats. It provides a convenient high level API
13879 suitable for most tasks and for the few cases where more control is needed it
13880 provides access to the full zlib feature set.")
13881 (license license:bsd-3)))
13882
13883 (define-public ghc-zlib-bindings
13884 (package
13885 (name "ghc-zlib-bindings")
13886 (version "0.1.1.5")
13887 (source
13888 (origin
13889 (method url-fetch)
13890 (uri (hackage-uri "zlib-bindings" version))
13891 (sha256
13892 (base32
13893 "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8"))))
13894 (build-system haskell-build-system)
13895 (properties '((upstream-name . "zlib-bindings")))
13896 (inputs
13897 (list ghc-zlib))
13898 (native-inputs
13899 (list ghc-hspec ghc-quickcheck))
13900 (arguments
13901 `(#:cabal-revision
13902 ("2" "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc")))
13903 (home-page "https://github.com/snapframework/zlib-bindings")
13904 (synopsis "Low-level bindings to the @code{zlib} package")
13905 (description "This package provides low-level bindings to the
13906 @code{zlib} package.")
13907 (license license:bsd-3)))
13908
13909 (define-public ghc-zstd
13910 (package
13911 (name "ghc-zstd")
13912 (version "0.1.3.0")
13913 (source
13914 (origin
13915 (method url-fetch)
13916 (uri (hackage-uri "zstd" version))
13917 (sha256
13918 (base32
13919 "0vghl48cxcqy72sqk2gpi7rvy5ya36j13vndaxi6kck6bqivbhm0"))))
13920 (build-system haskell-build-system)
13921 (properties '((upstream-name . "zstd")))
13922 (native-inputs
13923 (list ghc-quickcheck ghc-test-framework
13924 ghc-test-framework-quickcheck2))
13925 (home-page "https://github.com/luispedro/hs-zstd")
13926 (synopsis "Haskell bindings to the Zstandard compression algorithm")
13927 (description "This library provides Haskell bindings to the
13928 Zstandard compression algorithm, a fast lossless compression algorithm
13929 targeting real-time compression scenarios at zlib-level and better
13930 compression ratios.")
13931 (license license:bsd-3)))
13932
13933 (define-public ghc-indexed-traversable
13934 (package
13935 (name "ghc-indexed-traversable")
13936 (version "0.1.2")
13937 (source (origin
13938 (method url-fetch)
13939 (uri (hackage-uri "indexed-traversable" version))
13940 (sha256
13941 (base32
13942 "13b91rkhs6wcshaz3dwx6x3xjpw5z5bm2riwp78zxccqf7p5hs2i"))))
13943 (build-system haskell-build-system)
13944 (properties '((upstream-name . "indexed-traversable")))
13945 (inputs (list ghc-generic-deriving))
13946 (arguments
13947 `(#:cabal-revision ("2"
13948 "0l2k9jrmixkkf7qzzq0bqgvk6axaqi9sxxkpb4dgj8frmc4bg8aj")))
13949 (home-page "http://hackage.haskell.org/package/indexed-traversable")
13950 (synopsis "Indexed Functor, Foldable, and Traversable typeclasses")
13951 (description
13952 "This Haskell package provides three useful generalizations:
13953
13954 @example
13955 class Functor f => FunctorWithIndex i f | f -> i where
13956 imap :: (i -> a -> b) -> f a -> f b
13957 @end example
13958
13959 @example
13960 class Foldable f => FoldableWithIndex i f | f -> i where
13961 ifoldMap :: Monoid m => (i -> a -> m) -> f a -> m
13962 @end example
13963
13964 @example
13965 class (FunctorWithIndex i t, FoldableWithIndex i t, Traversable t)
13966 => TraversableWithIndex i t | t -> i where
13967 itraverse :: Applicative f => (i -> a -> f b) -> t a -> f (t b)
13968 @end example
13969
13970 The @code{ghc-keys} package provides similar functionality, but uses
13971 associated @code{TypeFamilies} instead of @code{FunctionalDependencies}.")
13972 (license license:bsd-2)))
13973
13974 (define-public ghc-type-equality
13975 (package
13976 (name "ghc-type-equality")
13977 (version "1")
13978 (source
13979 (origin
13980 (method url-fetch)
13981 (uri (hackage-uri "type-equality" version))
13982 (sha256
13983 (base32 "1s4cl11rvvv7n95i3pq9lmmx08kwh4z7l3d1hbv4wi8il81baa27"))))
13984 (build-system haskell-build-system)
13985 (properties '((upstream-name . "type-equality")))
13986 (arguments
13987 `(#:cabal-revision ("4"
13988 "0sajw67mmk5syhbrwx4bz82j5cjhm04n4kjl0pp3dnphxg1m5nbw")))
13989 (home-page "https://github.com/hesselink/type-equality")
13990 (synopsis "@code{Data.Type.Equality} compatibility package")
13991 (description
13992 "This library defines a propositional equality data type, shims
13993 @code{Data.Type.Equality} as well as possible for older GHC versions (< 7.8).
13994
13995 @example
13996 data a :~: b where
13997 Refl :: a :~: a
13998 @end example
13999
14000 The module @code{Data.Type.Equality.Hetero} shims @@code{:~~:} equality, and
14001 for compilers with @code{PolyKinds}.")
14002 (license license:bsd-3)))
14003
14004 (define-public ghc-selective
14005 (package
14006 (name "ghc-selective")
14007 (version "0.5")
14008 (source (origin
14009 (method url-fetch)
14010 (uri (hackage-uri "selective" version))
14011 (sha256
14012 (base32
14013 "18wd5wn8xaw0ilx34j292l06cqn6r2rri1wvxng8ygd8141sizdh"))))
14014 (build-system haskell-build-system)
14015 (properties '((upstream-name . "selective")))
14016 (native-inputs (list ghc-quickcheck))
14017 (home-page "https://github.com/snowleopard/selective")
14018 (synopsis "Selective applicative functors")
14019 (description
14020 "This package implements selective applicative functors, which allow you
14021 to declare your effects statically, and select which to execute dynamically.
14022 See the
14023 @uref{https://www.staff.ncl.ac.uk/andrey.mokhov/selective-functors.pdf, paper
14024 on selective functors} for more details.")
14025 (license license:expat)))
14026
14027 (define-public ghc-keys
14028 (package
14029 (name "ghc-keys")
14030 (version "3.12.3")
14031 (source
14032 (origin
14033 (method url-fetch)
14034 (uri (hackage-uri "keys" version))
14035 (sha256
14036 (base32 "0ik6wsff306dnbz0v3gpiajlj5b558hrk9176fzcb2fclf4447nm"))))
14037 (build-system haskell-build-system)
14038 (properties '((upstream-name . "keys")))
14039 (inputs
14040 (list ghc-comonad
14041 ghc-free
14042 ghc-hashable
14043 ghc-semigroupoids
14044 ghc-semigroups
14045 ghc-tagged
14046 ghc-transformers-compat
14047 ghc-unordered-containers))
14048 (arguments
14049 `(#:cabal-revision ("2"
14050 "1sb7ii9mhx77rhviqbmdc5r6wlimkmadxi1pyk7k3imdqcdzgjlp")))
14051 (home-page "http://github.com/ekmett/keys/")
14052 (synopsis "Keyed functors and containers")
14053 (description
14054 "This package provides a bunch of ad hoc classes for accessing parts of
14055 a container. In practice this package is largely subsumed by the
14056 @code{ghc-lens}, but it is maintained for now as it has much simpler
14057 dependencies.")
14058 (license license:bsd-3)))
14059
14060 (define-public ghc-pointed
14061 (package
14062 (name "ghc-pointed")
14063 (version "5.0.4")
14064 (source (origin
14065 (method url-fetch)
14066 (uri (hackage-uri "pointed" version))
14067 (sha256
14068 (base32
14069 "1mv06x2hscs220w4acm5jwg96vi4faky6ir9hnljfry3n2r2xix3"))))
14070 (build-system haskell-build-system)
14071 (properties '((upstream-name . "pointed")))
14072 (inputs (list ghc-data-default-class
14073 ghc-comonad
14074 ghc-kan-extensions
14075 ghc-semigroupoids
14076 ghc-semigroups
14077 ghc-tagged
14078 ghc-transformers-compat
14079 ghc-hashable
14080 ghc-unordered-containers))
14081 (home-page "http://github.com/ekmett/pointed/")
14082 (synopsis "Pointed and copointed data types")
14083 (description
14084 "This Haskell library provides pointed and copointed data types.")
14085 (license license:bsd-3)))
14086
14087 (define-public ghc-vector-instances
14088 (package
14089 (name "ghc-vector-instances")
14090 (version "3.4")
14091 (source
14092 (origin
14093 (method url-fetch)
14094 (uri (hackage-uri "vector-instances" version))
14095 (sha256
14096 (base32 "10akvpa5w9bp0d8hflab63r9laa9gy2hv167smhjsdzq1kplc0hv"))))
14097 (build-system haskell-build-system)
14098 (properties '((upstream-name . "vector-instances")))
14099 (inputs
14100 (list ghc-vector
14101 ghc-semigroupoids
14102 ghc-semigroups
14103 ghc-comonad
14104 ghc-pointed
14105 ghc-keys
14106 ghc-hashable))
14107 (home-page "https://github.com/ekmett/vector-instances")
14108 (synopsis "Orphan instances for @code{Data.Vector}")
14109 (description
14110 "This Haskell library provides a place for lots of orphan instances for
14111 the @code{ghc-vector} package.")
14112 (license license:bsd-3)))
14113
14114 (define-public ghc-th-compat
14115 (package
14116 (name "ghc-th-compat")
14117 (version "0.1.4")
14118 (source (origin
14119 (method url-fetch)
14120 (uri (hackage-uri "th-compat" version))
14121 (sha256
14122 (base32
14123 "1f5ssi24mnhmmi91dl5ddg2jwci6akwlznqggf56nyxl9b0pmyfq"))))
14124 (build-system haskell-build-system)
14125 (properties '((upstream-name . "th-compat")))
14126 (native-inputs (list ghc-base-compat ghc-hspec hspec-discover))
14127 (home-page "https://github.com/haskell-compat/th-compat")
14128 (synopsis
14129 "Backward- and forward-compatible @code{Quote} and @code{Code} types")
14130 (description
14131 "This package defines a @code{Language.Haskell.TH.Syntax.Compat} module,
14132 which backports the @code{Quote} and @code{Code} types to work across a wide
14133 range of @code{template-haskell} versions. On recent versions of
14134 @code{template-haskell} (2.17.0.0 or later), this module simply re-exports
14135 @code{Quote} and @code{Code} from @code{Language.Haskell.TH.Syntax}.")
14136 (license license:bsd-3)))
14137
14138 (define-public ghc-filepattern
14139 (package
14140 (name "ghc-filepattern")
14141 (version "0.1.3")
14142 (source (origin
14143 (method url-fetch)
14144 (uri (hackage-uri "filepattern" version))
14145 (sha256
14146 (base32
14147 "0dlnwnwhsfdkwm69z66wj5d2x9n3la55glq4fsn5rxm2kr1msi6c"))))
14148 (build-system haskell-build-system)
14149 (properties '((upstream-name . "filepattern")))
14150 (inputs (list ghc-extra))
14151 (native-inputs (list ghc-quickcheck))
14152 (home-page "https://github.com/ndmitchell/filepattern#readme")
14153 (synopsis "File path glob-like matching")
14154 (description
14155 "This package provides Haskell library for matching files using patterns
14156 such as @code{\\\"src\\/**\\/*.png\\\"} for all @@file{.png} files recursively
14157 under the @@file{src} directory.
14158
14159 Some of its features include:
14160
14161 @itemize
14162 @item All matching is O(n).
14163
14164 @item Most functions pre-compute some information given only one argument.
14165
14166 @item Uses @code{match} and @code{substitute} to extract suitable strings from
14167 the @code{*} and @code{**} matches, and substitutes them back into other
14168 patterns.
14169
14170 @item Uses @code{step} and @code{matchMany} to perform bulk matching of many
14171 patterns against many paths simultaneously.
14172
14173 @item Uses @code{System.FilePattern.Directory} to perform optimised directory
14174 traverals using patterns.
14175 @end itemize")
14176 (license license:bsd-3)))
14177
14178 (define-public ghc-lib-parser-ex
14179 (package
14180 (name "ghc-lib-parser-ex")
14181 (version "9.2.0.4")
14182 (source (origin
14183 (method url-fetch)
14184 (uri (hackage-uri "ghc-lib-parser-ex" version))
14185 (sha256
14186 (base32
14187 "138wkpy7qpdkp07028flab3lwq4b3mns0qcrkfrhclixlz8pi74v"))))
14188 (build-system haskell-build-system)
14189 (properties '((upstream-name . "ghc-lib-parser-ex")))
14190 (inputs (list ghc-uniplate))
14191 (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-extra))
14192 (home-page "https://github.com/shayne-fletcher/ghc-lib-parser-ex#readme")
14193 (synopsis "Algorithms on GHC parse trees")
14194 (description
14195 "The @code{ghc-lib-parser-ex} package contains GHC API parse tree utilities.")
14196 (license license:bsd-3)))
14197
14198 (define-public ghc-lift-type
14199 (package
14200 (name "ghc-lift-type")
14201 (version "0.1.1.1")
14202 (source (origin
14203 (method url-fetch)
14204 (uri (hackage-uri "lift-type" version))
14205 (sha256
14206 (base32
14207 "039psym2ghkydk4qyycs3cxndrf85ab5hwzrqv0ajxcilqr11n0h"))))
14208 (build-system haskell-build-system)
14209 (properties '((upstream-name . "lift-type")))
14210 (home-page "https://github.com/parsonsmatt/lift-type#readme")
14211 (synopsis
14212 "Lift a type from a Typeable constraint to a Template Haskell type")
14213 (description
14214 "This library provides a utility function @code{liftType}, which accepts a type
14215 application argument and returns the Template Haskell @code{Type} representation of
14216 it.")
14217 (license license:bsd-3)))
14218
14219 (define-public ghc-unicode-collation
14220 (package
14221 (name "ghc-unicode-collation")
14222 (version "0.1.3.3")
14223 (source (origin
14224 (method url-fetch)
14225 (uri (hackage-uri "unicode-collation" version))
14226 (sha256
14227 (base32
14228 "0imcdsk0qqwj31zwgpick4s2nbxlyxwa64lq6r212jd0y0hrrvvl"))))
14229 (build-system haskell-build-system)
14230 (properties '((upstream-name . "unicode-collation")))
14231 (inputs (list ghc-th-lift-instances))
14232 (native-inputs (list ghc-tasty ghc-tasty-quickcheck ghc-tasty-hunit
14233 ghc-unicode-transforms ghc-doctest))
14234 (home-page "https://github.com/jgm/unicode-collation")
14235 (synopsis "Haskell implementation of the Unicode Collation Algorithm")
14236 (description
14237 "This library provides a pure Haskell implementation of the Unicode
14238 Collation Algorithm described at @uref{http://www.unicode.org/reports/tr10/}.
14239 It is not as fully-featured or as performant as @code{text-icu}, but it avoids
14240 a dependency on a large C library. Locale-specific tailorings are also
14241 provided.")
14242 (license license:bsd-3)))
14243
14244 (define-public ghc-citeproc
14245 (package
14246 (name "ghc-citeproc")
14247 (version "0.8.0.2")
14248 (source (origin
14249 (method url-fetch)
14250 (uri (hackage-uri "citeproc" version))
14251 (sha256
14252 (base32
14253 "1rja6vdggmh7d40gsg2xfs9md6m1zbfddpsd27a15qyqb3530jzw"))))
14254 (build-system haskell-build-system)
14255 (properties '((upstream-name . "citeproc")))
14256 (inputs (list ghc-safe
14257 ghc-case-insensitive
14258 ghc-vector
14259 ghc-scientific
14260 ghc-uniplate
14261 ghc-xml-conduit
14262 ghc-attoparsec
14263 ghc-data-default
14264 ghc-aeson
14265 ghc-file-embed
14266 ghc-pandoc-types
14267 ghc-unicode-collation
14268 ghc-base-compat
14269 ghc-aeson-pretty))
14270 (native-inputs (list ghc-timeit ghc-diff))
14271 (home-page "http://hackage.haskell.org/package/citeproc")
14272 (synopsis "Generate citations and bibliography from CSL styles")
14273 (description
14274 "@code{ghc-citeproc} parses @acronym{Citation Style Language, CSL} style files
14275 and uses them to generate a list of formatted citations and bibliography
14276 entries. For more information about CSL, see @uref{https://citationstyles.org/}.")
14277 (license license:bsd-2)))
14278
14279 (define-public ghc-commonmark
14280 (package
14281 (name "ghc-commonmark")
14282 (version "0.2.2")
14283 (source (origin
14284 (method url-fetch)
14285 (uri (hackage-uri "commonmark" version))
14286 (sha256
14287 (base32
14288 "0kmjc9xgzy33kxz842mw5rdywip3lmk7v3ambrs87nakawgl42xp"))))
14289 (build-system haskell-build-system)
14290 (properties '((upstream-name . "commonmark")))
14291 (inputs (list ghc-unicode-transforms ghc-unicode-data))
14292 (native-inputs (list ghc-tasty ghc-tasty-quickcheck ghc-tasty-hunit))
14293 (home-page "https://github.com/jgm/commonmark-hs")
14294 (synopsis "Pure Haskell Commonmark parser")
14295 (description
14296 "This library provides the core data types and functions for parsing
14297 @uref{https://spec.commonmark.org, Commonmark}. The parser is fully
14298 Commonmark-compliant and passes the test suite. It is designed to be
14299 customizable and easily extensible. To customize the output, create an AST,
14300 or support a new output format, one need only define some new typeclass
14301 instances. It is also easy to add new syntax elements or modify existing
14302 ones.
14303
14304 Accurate information about source positions is available for all block and
14305 inline elements. Thus the library can be used to create an accurate syntax
14306 highlighter or an editor with live preview. The parser has been designed for
14307 robust performance even in pathological cases that tend to cause stack
14308 overflows or exponential slowdowns in other parsers, with parsing speed that
14309 varies linearly with input length.")
14310 (license license:bsd-3)))
14311
14312 (define-public ghc-commonmark-extensions
14313 (package
14314 (name "ghc-commonmark-extensions")
14315 (version "0.2.3.3")
14316 (source (origin
14317 (method url-fetch)
14318 (uri (hackage-uri "commonmark-extensions" version))
14319 (sha256
14320 (base32
14321 "009yrsb2xxna73q6nnijfx5ngffaz369mildvqvn91qbrkrzq7pl"))))
14322 (build-system haskell-build-system)
14323 (properties '((upstream-name . "commonmark-extensions")))
14324 (inputs (list ghc-network-uri ghc-commonmark ghc-emojis))
14325 (native-inputs (list ghc-tasty ghc-tasty-hunit))
14326 (home-page "https://github.com/jgm/commonmark-hs")
14327 (synopsis "Extensions for @code{ghc-commonmark}")
14328 (description
14329 "This library provides some useful extensions for @code{ghc-commonmark}
14330 to parser core commonmark syntax: smart quotes, definition lists, tables,
14331 footnotes, math, and more.")
14332 (license license:bsd-3)))
14333
14334 (define-public ghc-commonmark-pandoc
14335 (package
14336 (name "ghc-commonmark-pandoc")
14337 (version "0.2.1.2")
14338 (source (origin
14339 (method url-fetch)
14340 (uri (hackage-uri "commonmark-pandoc" version))
14341 (sha256
14342 (base32
14343 "1dpi8zvjshab96w56qfqcys9h09f46lld8sc9q4xzb0y1p6lwmap"))))
14344 (build-system haskell-build-system)
14345 (properties '((upstream-name . "commonmark-pandoc")))
14346 (inputs (list ghc-commonmark ghc-commonmark-extensions ghc-pandoc-types))
14347 (home-page "https://github.com/jgm/commonmark-hs")
14348 (synopsis "Bridge between Commonmark and Pandoc AST")
14349 (description
14350 "This library provides typeclasses for rendering @code{ghc-commonmark} to
14351 Pandoc types.")
14352 (license license:bsd-3)))
14353
14354 (define-public ghc-hslua-module-path
14355 (package
14356 (name "ghc-hslua-module-path")
14357 (version "1.0.3")
14358 (source (origin
14359 (method url-fetch)
14360 (uri (hackage-uri "hslua-module-path" version))
14361 (sha256
14362 (base32
14363 "1sy2k4mb263kg85vkf39ja84xz5kvm6z61xn62jy1swhrvvd96sr"))))
14364 (build-system haskell-build-system)
14365 (properties '((upstream-name . "hslua-module-path")))
14366 (inputs (list ghc-hslua-core ghc-hslua-marshalling ghc-hslua-packaging))
14367 (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-tasty-lua))
14368 (home-page "https://hslua.org/")
14369 (synopsis "Lua module to work with file paths")
14370 (description
14371 "This Haskell library provides a Lua module to work with file paths in a
14372 platform independent way.")
14373 (license license:expat)))
14374
14375 (define-public ghc-template-haskell
14376 (package
14377 (name "ghc-template-haskell")
14378 (version "2.18.0.0")
14379 (source (origin
14380 (method url-fetch)
14381 (uri (hackage-uri "template-haskell" version))
14382 (sha256
14383 (base32
14384 "0mcb7psdkyx9ddwkny0ymvadrsy2dnj82d6jdm23c63zv99z3g1r"))))
14385 (build-system haskell-build-system)
14386 (properties '((upstream-name . "template-haskell")))
14387 (arguments
14388 `(#:phases
14389 (modify-phases %standard-phases
14390 (add-before 'configure 'update-constraints
14391 (lambda _
14392 (substitute* "template-haskell.cabal"
14393 (("ghc-boot-th == 9.2.1") "ghc-boot-th")))))))
14394 (home-page "https://hackage.haskell.org/package/template-haskell")
14395 (synopsis "Support library for Template Haskell")
14396 (description
14397 "This package provides modules containing facilities for manipulating
14398 Haskell source code using Template Haskell. See
14399 @uref{http://www.haskell.org/haskellwiki/Template_Haskell} for more
14400 information.")
14401 (license license:bsd-3)))
14402
14403 (define-public ghc-genvalidity-hspec
14404 (package
14405 (name "ghc-genvalidity-hspec")
14406 (version "1.0.0.2")
14407 (source (origin
14408 (method url-fetch)
14409 (uri (hackage-uri "genvalidity-hspec" version))
14410 (sha256
14411 (base32
14412 "00sv0mzlvny5ch7c9fnd19szqd0pjrkvi080x1i62qa5fdzs5yc4"))))
14413 (build-system haskell-build-system)
14414 (properties '((upstream-name . "genvalidity-hspec")))
14415 (inputs (list ghc-quickcheck
14416 ghc-genvalidity
14417 ghc-genvalidity-property
14418 ghc-hspec
14419 ghc-hspec-core
14420 ghc-validity))
14421 (native-inputs (list hspec-discover))
14422 (home-page "https://github.com/NorfairKing/validity#readme")
14423 (synopsis "Standard spec's for @code{GenValidity} instances")
14424 (description
14425 "This haskell library provides validity and validity-based testing for
14426 @code{ghc-hspec}.")
14427 (license license:expat)))
14428
14429 (define-public ghc-binary-orphans
14430 (package
14431 (name "ghc-binary-orphans")
14432 (version "1.0.3")
14433 (source (origin
14434 (method url-fetch)
14435 (uri (hackage-uri "binary-orphans" version))
14436 (sha256
14437 (base32
14438 "0b302hhjaybwbnpzrd8qmdp24g2xj2svib34zfxqqxg67j159rg2"))))
14439 (build-system haskell-build-system)
14440 (properties '((upstream-name . "binary-orphans")))
14441 (native-inputs (list ghc-onetuple
14442 ghc-quickcheck
14443 ghc-quickcheck-instances
14444 ghc-tagged
14445 ghc-tasty
14446 ghc-tasty-quickcheck))
14447 (home-page "https://hackage.haskell.org/package/binary-orphans")
14448 (synopsis "Compatibility package for binary")
14449 (description "This package provides instances defined in later versions of
14450 @code{ghc-binary} package.")
14451 (license license:bsd-3)))
14452
14453 (define-public ghc-netlink
14454 (package
14455 (name "ghc-netlink")
14456 (version "1.1.1.0")
14457 (source
14458 (origin
14459 (method url-fetch)
14460 (uri (hackage-uri "netlink" version))
14461 (sha256
14462 (base32 "1q8sxycv93sap6dgbw70scklnpjj5vav6qlvsxm5500jlvb3jnf0"))))
14463 (build-system haskell-build-system)
14464 (properties '((upstream-name . "netlink")))
14465 (inputs
14466 (list ghc-cereal ghc-monad-loops ghc-pretty-hex ghc-language-c
14467 ghc-regex-pcre))
14468 (home-page "https://github.com/Ongy/netlink-hs")
14469 (synopsis "Netlink communication for Haskell")
14470 (description
14471 "This is library provides utility to use Netlink from Haskell. The scope of
14472 this package extends over general Netlink support to specific implementations
14473 of Netlink families.")
14474 (license license:bsd-3)))
14475
14476 (define-public ghc-doctest-driver-gen
14477 (package
14478 (name "ghc-doctest-driver-gen")
14479 (version "0.3.0.6")
14480 (source (origin
14481 (method url-fetch)
14482 (uri (hackage-uri "doctest-driver-gen" version))
14483 (sha256
14484 (base32
14485 "0a4jdg4mzhdgfal7jp60yrlv63iv7d8f7nxc9aqvrl93mairny8l"))))
14486 (build-system haskell-build-system)
14487 (properties '((upstream-name . "doctest-driver-gen")))
14488 (native-inputs (list ghc-doctest))
14489 (arguments (list #:tests? #f)) ;; XXX: doctest-driver-gen: error while loading shared libraries: libHSdoctest-driver-gen-0.3.0.6-3WJHXaMfGwJFKjjgcmC868-ghc9.2.5.so: cannot open shared object file: No such file or directory
14490 (home-page "https://github.com/Hexirp/doctest-driver-gen#readme")
14491 (synopsis "Generate driver file for Doctest's Cabal integration")
14492 (description
14493 "@code{ghc-doctest-driver-gen} is a Doctest's driver file generator. It
14494 lets you automatically generate driver file for Doctest's Cabal integration.")
14495 (license license:bsd-3)))
14496
14497 (define-public ghc-template-haskell-compat-v0208
14498 (package
14499 (name "ghc-template-haskell-compat-v0208")
14500 (version "0.1.9.1")
14501 (source (origin
14502 (method url-fetch)
14503 (uri (hackage-uri "template-haskell-compat-v0208" version))
14504 (sha256
14505 (base32
14506 "1z87rla4vcbghdrvjkay59b686f0by02102vwrcayn4vbwzn4am1"))))
14507 (build-system haskell-build-system)
14508 (properties '((upstream-name . "template-haskell-compat-v0208")))
14509 (home-page
14510 "https://github.com/nikita-volkov/template-haskell-compat-v0208")
14511 (synopsis
14512 "Backwards compatibility layer for Template Haskell newer than 2.8")
14513 (description
14514 "This package provides a backwards compatibility layer for Template
14515 Haskell newer than 2.8.")
14516 (license license:expat)))
14517
14518 (define-public ghc-mysql
14519 (package
14520 (name "ghc-mysql")
14521 (version "0.2.1")
14522 (source
14523 (origin
14524 (method url-fetch)
14525 (uri (hackage-uri "mysql" version))
14526 (sha256
14527 (base32 "051w428arxbix06a52dacqjpnkfx42zbazxsd3l9d857dsd0kl3g"))))
14528 (build-system haskell-build-system)
14529 (properties '((upstream-name . "mysql")))
14530 (arguments `(#:tests? #f)) ; TODO: Fails to connect to server.
14531 (inputs
14532 (list mysql zlib openssl))
14533 (native-inputs (list ghc-hspec))
14534 (home-page "https://github.com/paul-rouse/mysql")
14535 (synopsis "Low-level MySQL client library")
14536 (description
14537 "This library provides Haskell bindings to the MySQL @code{mysqlclient}
14538 client library. It is a fairly faithful, low level library that implements
14539 most of the MySQL client API. The major departure from the C API is that in
14540 Haskell, resource management is mostly automatic and safe.
14541
14542 This library deliberately avoids the question of providing a ``good'' API.
14543 Its purpose is to serve as a base upon which higher-level libraries can be
14544 built.")
14545 (license license:bsd-3)))
14546
14547 (define-public ghc-blaze-textual
14548 (package
14549 (name "ghc-blaze-textual")
14550 (version "0.2.2.1")
14551 (source
14552 (origin
14553 (method url-fetch)
14554 (uri (hackage-uri "blaze-textual" version))
14555 (sha256
14556 (base32 "0zjnwnjpcpnnm0815h9ngr3a3iy0szsnb3nrcavkbx4905s9k4bs"))))
14557 (build-system haskell-build-system)
14558 (properties '((upstream-name . "blaze-textual")))
14559 (inputs
14560 (list ghc-blaze-builder ghc-old-locale ghc-vector))
14561 (native-inputs
14562 (list ghc-quickcheck ghc-double-conversion ghc-test-framework
14563 ghc-test-framework-quickcheck2))
14564 (home-page "https://github.com/bos/blaze-textual")
14565 (synopsis "Fast rendering of common datatypes")
14566 (description
14567 "@code{ghc-blaze-textual} is a fast Haskell library for rendering common
14568 Haskell datatypes in text form using the @code{ghc-blaze-builder} library.")
14569 (license license:bsd-3)))
14570
14571 (define-public ghc-mysql-simple
14572 (package
14573 (name "ghc-mysql-simple")
14574 (version "0.4.9")
14575 (source (origin
14576 (method url-fetch)
14577 (uri (hackage-uri "mysql-simple" version))
14578 (sha256
14579 (base32
14580 "0hwv1hlr65m5l2zrrj5zmvrjz9y2814jy05l17l5jb4j4j5xw3z2"))))
14581 (build-system haskell-build-system)
14582 (properties '((upstream-name . "mysql-simple")))
14583 (inputs (list ghc-attoparsec
14584 ghc-base16-bytestring
14585 ghc-blaze-builder
14586 ghc-mysql
14587 ghc-pcre-light
14588 ghc-old-locale
14589 ghc-vector
14590 openssl
14591 zlib))
14592 (native-inputs (list ghc-hspec))
14593 (arguments (list #:tests? #f)) ; Fail to build.
14594 (home-page "https://github.com/paul-rouse/mysql-simple")
14595 (synopsis "Mid-level MySQL client library")
14596 (description
14597 "This library implements mid-level Haskell bindings to the MySQL
14598 @code{mysqlclient} client library. It is aimed at speed and ease of use.")
14599 (license license:bsd-3)))
14600
14601 (define-public ghc-persistent-qq
14602 (package
14603 (name "ghc-persistent-qq")
14604 (version "2.12.0.2")
14605 (source (origin
14606 (method url-fetch)
14607 (uri (hackage-uri "persistent-qq" version))
14608 (sha256
14609 (base32
14610 "0pzlhwl4h9q358zc6d0m5zv0ii2yhf2lzw0a3v2spfc1ch4a014a"))))
14611 (build-system haskell-build-system)
14612 (properties '((upstream-name . "persistent-qq")))
14613 (inputs (list ghc-haskell-src-meta ghc-persistent))
14614 (native-inputs (list ghc-hunit
14615 ghc-aeson
14616 ghc-fast-logger
14617 ghc-hspec
14618 ghc-monad-logger
14619 ghc-persistent-sqlite
14620 ghc-resourcet
14621 ghc-unliftio))
14622 (home-page "https://github.com/yesodweb/persistent#readme")
14623 (synopsis "Quasi-quoter for raw SQL for @code{ghc-persistent}")
14624 (description
14625 "This package provides a quasi-quoter for raw @acronym{SQL, Structured Query
14626 Language} for @code{ghc-persistent}.")
14627 (license license:expat)))
14628
14629 (define-public ghc-persistent-mysql
14630 (package
14631 (name "ghc-persistent-mysql")
14632 (version "2.13.1.3")
14633 (source (origin
14634 (method url-fetch)
14635 (uri (hackage-uri "persistent-mysql" version))
14636 (sha256
14637 (base32
14638 "0fm6agqwawwraw6l6kxm8lq40pm5pnjg093f574a7sdf648q21yc"))))
14639 (build-system haskell-build-system)
14640 (properties '((upstream-name . "persistent-mysql")))
14641 (inputs (list ghc-persistent
14642 ghc-aeson
14643 ghc-blaze-builder
14644 ghc-conduit
14645 ghc-monad-logger
14646 ghc-mysql
14647 ghc-mysql-simple
14648 ghc-resourcet
14649 ghc-resource-pool
14650 ghc-unliftio-core
14651 openssl))
14652 (native-inputs (list ghc-fast-logger
14653 ghc-hspec
14654 ghc-http-api-data
14655 ghc-hunit
14656 ghc-path-pieces
14657 ghc-persistent-qq
14658 ghc-persistent-test
14659 ghc-quickcheck
14660 ghc-quickcheck-instances))
14661 (arguments (list #:tests? #f)) ; Fails to connect to server.
14662 (home-page "http://www.yesodweb.com/book/persistent")
14663 (synopsis
14664 "Backend for the @code{ghc-persistent} library using MySQL database server")
14665 (description
14666 "This package contains a backend for @code{ghc-persistent} using the MySQL database
14667 server. Internally it uses the @code{ghc-mysql-simple} and @code{mysql} packages in order
14668 to access the database. This package supports only MySQL 5.1 and above.
14669 However, it has been tested only on MySQL 5.5. Only the InnoDB storage engine
14670 is officially supported.")
14671 (license license:expat)))
14672
14673 (define-public ghc-hspec-expectations-lifted
14674 (package
14675 (name "ghc-hspec-expectations-lifted")
14676 (version "0.10.0")
14677 (source
14678 (origin
14679 (method url-fetch)
14680 (uri (hackage-uri "hspec-expectations-lifted" version))
14681 (sha256
14682 (base32 "0a1qwz0n80lph8m9cq6cb06m8bsmqgg8ifx0acpylvrrkd8g3k92"))))
14683 (build-system haskell-build-system)
14684 (properties '((upstream-name . "hspec-expectations-lifted")))
14685 (inputs (list ghc-hspec-expectations))
14686 (home-page "https://hackage.haskell.org/package/hspec-expectations-lifted")
14687 (synopsis "Version of @code{ghc-hspec-expectations} generalized to @code{MonadIO}")
14688 (description
14689 "This package provides a version of @code{ghc-hspec-expectations} generalized
14690 to @code{MonadIO}.")
14691 (license license:expat)))
14692
14693 (define-public ghc-string-conversions
14694 (package
14695 (name "ghc-string-conversions")
14696 (version "0.4.0.1")
14697 (source
14698 (origin
14699 (method url-fetch)
14700 (uri (hackage-uri "string-conversions" version))
14701 (sha256
14702 (base32 "150rdank90h7v08x0wq4dffjbxv2daf5v9sqfs5mab76kinwxg26"))))
14703 (build-system haskell-build-system)
14704 (properties '((upstream-name . "string-conversions")))
14705 (inputs (list ghc-utf8-string))
14706 (native-inputs
14707 (list hspec-discover ghc-hspec ghc-quickcheck-instances
14708 ghc-quickcheck))
14709 (home-page "https://github.com/soenkehahn/string-conversions")
14710 (synopsis "Simplify dealing with different types for strings")
14711 (description
14712 "This package provides a simple type class for converting values of different
14713 string types into values of other string types.")
14714 (license license:bsd-3)))
14715
14716 (define-public ghc-postgresql-libpq
14717 (package
14718 (name "ghc-postgresql-libpq")
14719 (version "0.9.4.3")
14720 (source
14721 (origin
14722 (method url-fetch)
14723 (uri (hackage-uri "postgresql-libpq" version))
14724 (sha256
14725 (base32 "1gfnhc5pibn7zmifdf2g0c112xrpzsk756ln2kjzqljkspf4dqp3"))))
14726 (build-system haskell-build-system)
14727 (properties '((upstream-name . "postgresql-libpq")))
14728 (arguments
14729 `(#:cabal-revision ("3"
14730 "02cj493a2qxl5hddiq0579079s398hdqqy164pig6d61nl7q66cs")))
14731 (inputs (list postgresql))
14732 (home-page "https://github.com/haskellari/postgresql-libpq")
14733 (synopsis "Low-level bindings to @code{libpq}")
14734 (description
14735 "This package provides bindings to @code{libpq}: the C application
14736 programmer's interface to PostgreSQL. @code{libpq} is a set of library
14737 functions that allow client programs to pass queries to the PostgreSQL backend
14738 server and to receive the results of these queries.")
14739 (license license:bsd-3)))
14740
14741 (define-public ghc-postgresql-simple
14742 (package
14743 (name "ghc-postgresql-simple")
14744 (version "0.6.4")
14745 (source
14746 (origin
14747 (method url-fetch)
14748 (uri (hackage-uri "postgresql-simple" version))
14749 (sha256
14750 (base32 "0rz2bklxp4pvbxb2w49h5p6pbwabn6d5d4j4mrya4fpa0d13k43d"))))
14751 (build-system haskell-build-system)
14752 (properties '((upstream-name . "postgresql-simple")))
14753 (inputs
14754 (list ghc-time-compat
14755 ghc-aeson
14756 ghc-attoparsec
14757 ghc-bytestring-builder
14758 ghc-case-insensitive
14759 ghc-hashable
14760 ghc-only
14761 ghc-postgresql-libpq
14762 ghc-scientific
14763 ghc-uuid-types
14764 ghc-vector))
14765 (native-inputs
14766 (list ghc-inspection-testing
14767 ghc-tasty
14768 ghc-tasty-hunit
14769 ghc-base16-bytestring
14770 ghc-cryptohash-md5
14771 ghc-hunit
14772 ghc-tasty
14773 ghc-tasty-golden
14774 ghc-tasty-hunit))
14775 (arguments
14776 `(#:cabal-revision ("8"
14777 "1qavb3qs1g307pc19k9y3yvqp0c1srwsplijvayn9ldp0bxdy6q8")))
14778 (home-page "https://hackage.haskell.org/package/postgresql-simple")
14779 (synopsis "Mid-Level PostgreSQL client library")
14780 (description
14781 "This package provides a mid-Level PostgreSQL client library, forked from
14782 @code{ghc-mysql-simple}.")
14783 (license license:bsd-3)))
14784
14785 (define-public ghc-persistent-postgresql
14786 (package
14787 (name "ghc-persistent-postgresql")
14788 (version "2.13.5.0")
14789 (source (origin
14790 (method url-fetch)
14791 (uri (hackage-uri "persistent-postgresql" version))
14792 (sha256
14793 (base32
14794 "1q9hy49nfrb3azgz5rjz235d7scy27l5axkih7crskaa04hf4k8d"))))
14795 (build-system haskell-build-system)
14796 (properties '((upstream-name . "persistent-postgresql")))
14797 (inputs (list ghc-persistent
14798 ghc-aeson
14799 ghc-attoparsec
14800 ghc-blaze-builder
14801 ghc-conduit
14802 ghc-monad-logger
14803 ghc-postgresql-simple
14804 ghc-postgresql-libpq
14805 ghc-resourcet
14806 ghc-resource-pool
14807 ghc-string-conversions
14808 ghc-unliftio-core
14809 ghc-vault
14810 ghc-unliftio))
14811 (native-inputs (list ghc-persistent-qq
14812 ghc-persistent-test
14813 ghc-fast-logger
14814 ghc-hunit
14815 ghc-hspec
14816 ghc-hspec-expectations
14817 ghc-hspec-expectations-lifted
14818 ghc-quickcheck
14819 ghc-quickcheck-instances
14820 ghc-path-pieces
14821 ghc-http-api-data
14822 ghc-unordered-containers
14823 ghc-vector))
14824 (arguments (list #:tests? #f)) ; Fails to connect to server.
14825 (home-page "http://www.yesodweb.com/book/persistent")
14826 (synopsis "Backend for the @code{ghc-persistent library} using Postgresql")
14827 (description
14828 "This package provides a backend for the @code{ghc-persistent} library
14829 using the @code{ghc-postgresql-simple} package.")
14830 (license license:expat)))
14831
14832 (define-public ghc-filtrable
14833 (package
14834 (name "ghc-filtrable")
14835 (version "0.1.6.0")
14836 (source
14837 (origin
14838 (method url-fetch)
14839 (uri (hackage-uri "filtrable" version))
14840 (sha256
14841 (base32 "058jl7wjaxzvcayc9qzpikxvi9x42civ4sb02jh66rcvpndbfh5y"))))
14842 (build-system haskell-build-system)
14843 (properties '((upstream-name . "filtrable")))
14844 (arguments `(#:tests? #f)) ; TODO: Needs tasty >=1.3.1 && <1.4
14845 (native-inputs
14846 (list ghc-smallcheck ghc-tasty ghc-tasty-smallcheck))
14847 (home-page "https://github.com/strake/filtrable.hs")
14848 (synopsis "Class of filtrable containers")
14849 (description "This package provides filtrable containers.")
14850 (license license:bsd-3)))
14851
14852 (define-public ghc-filelock
14853 (package
14854 (name "ghc-filelock")
14855 (version "0.1.1.5")
14856 (source
14857 (origin
14858 (method url-fetch)
14859 (uri (hackage-uri "filelock" version))
14860 (sha256
14861 (base32 "06a44i7a956d7xkk2na4090xj2a7b7a228pk4spmccs4x20ymssh"))))
14862 (build-system haskell-build-system)
14863 (properties '((upstream-name . "filelock")))
14864 (native-inputs
14865 (list ghc-async ghc-async))
14866 (home-page "https://github.com/takano-akio/filelock")
14867 (synopsis "Portable interface to file locking")
14868 (description
14869 "This package provides an interface to file locking functionalities.")
14870 (license license:public-domain)))
14871
14872 (define-public ghc-hsyaml-aeson
14873 (package
14874 (name "ghc-hsyaml-aeson")
14875 (version "0.2.0.1")
14876 (source (origin
14877 (method url-fetch)
14878 (uri (hackage-uri "HsYAML-aeson" version))
14879 (sha256
14880 (base32
14881 "139hqd07hkr8ykvrgmcshh9f3vp9dnrj6ks5nl8hgrpi990jsy5r"))))
14882 (build-system haskell-build-system)
14883 (properties '((upstream-name . "HsYAML-aeson")))
14884 (inputs (list ghc-hsyaml ghc-aeson ghc-scientific ghc-unordered-containers
14885 ghc-vector))
14886 (arguments
14887 `(#:cabal-revision ("5"
14888 "06v8vkn58d67yx4v59rhvxpc0sjrpi6k8krvjrvbyl0fn0v0jd14")))
14889 (home-page "http://hackage.haskell.org/package/HsYAML-aeson")
14890 (synopsis "JSON to YAML adapter")
14891 (description
14892 "The @uref{https://yaml.org/spec/1.2/spec.html, YAML 1.2} format provides
14893 a much richer data-model and feature-set than the
14894 @uref{https://tools.ietf.org/html/rfc7159, @acronym{JavaScript Object
14895 Notation, JSON}} format. However, sometimes it's desirable to ignore the extra
14896 capabilities and treat YAML as if it was merely a more convenient markup
14897 format for humans to write JSON data. To this end this module provides a
14898 compatibility layer atop @code{ghc-hsyaml} ,which allows decoding YAML
14899 documents in the more limited JSON data-model while also providing convenience
14900 by reusing @code{ghc-aeson}'s @code{FromJSON} instances for decoding the YAML
14901 data into native Haskell data types.")
14902 (license license:gpl2+)))
14903
14904 (define-public ghc-lukko
14905 (package
14906 (name "ghc-lukko")
14907 (version "0.1.1.3")
14908 (source
14909 (origin
14910 (method url-fetch)
14911 (uri (hackage-uri "lukko" version))
14912 (sha256
14913 (base32 "07xb926kixqv5scqdl8w34z42zjzdpbq06f0ha3f3nm3rxhgn3m8"))))
14914 (build-system haskell-build-system)
14915 (properties '((upstream-name . "lukko")))
14916 (native-inputs
14917 (list ghc-async
14918 ghc-singleton-bool
14919 ghc-tasty
14920 ghc-tasty-expected-failure
14921 ghc-tasty-hunit
14922 ghc-temporary))
14923 (arguments
14924 `(#:cabal-revision ("3"
14925 "1a6spmbiv3ias40sjrnsxfgr1d5mwg039a2q7113zb7i9n6c1m7g")))
14926 (home-page "https://hackage.haskell.org/package/lukko")
14927 (synopsis "File locking")
14928 (description
14929 "This package provides access to platform dependent file locking APIs. There
14930 are alternative file locking packages:
14931
14932 @itemize
14933 @item @code{GHC.IO.Handle.Lock} in @code{base >= 4.10} is good enough for most
14934 use cases. However, uses only @code{Handle}s so these locks cannot be used
14935 for intra-process locking.
14936
14937 @item @code{ghc-filelock} doesn't support @acronym{OFD, open file descriptor}
14938 locking.
14939 @end itemize")
14940
14941 (license (list license:gpl2+ license:bsd-3))))
14942
14943 (define-public ghc-dec
14944 (package
14945 (name "ghc-dec")
14946 (version "0.0.5")
14947 (source (origin
14948 (method url-fetch)
14949 (uri (hackage-uri "dec" version))
14950 (sha256
14951 (base32
14952 "126z70ij9hhy8pajw0d5fl0hrppy5sh22j8nkx46i0g6qz3l7071"))))
14953 (build-system haskell-build-system)
14954 (properties '((upstream-name . "dec")))
14955 (inputs (list ghc-boring))
14956 (home-page "https://github.com/phadej/vec")
14957 (synopsis "Decidable propositions")
14958 (description
14959 "This package provides a @code{Dec} type for representing deciable
14960 relations.
14961
14962 @example
14963 type Neg a = a -> Void
14964
14965 data Dec a
14966 = Yes a
14967 | No (Neg a)
14968 @end example")
14969 (license license:bsd-3)))
14970
14971 (define-public ghc-ansi2html
14972 (package
14973 (name "ghc-ansi2html")
14974 (version "0.9")
14975 (source (origin
14976 (method url-fetch)
14977 (uri (hackage-uri "Ansi2Html" version))
14978 (sha256
14979 (base32
14980 "1dqq1rnx1w0cn4w11knmxvn7qy4lg4m39dgw4rs6r2pjqzgrwarh"))))
14981 (build-system haskell-build-system)
14982 (properties '((upstream-name . "Ansi2Html")))
14983 (home-page "http://janzzstimmpfle.de/~jens/software/Ansi2Html/")
14984 (synopsis "Convert ANSI Terminal Sequences to nice HTML markup")
14985 (description
14986 "This package enables integration of terminal screen state in html
14987 pages.")
14988 (license license:bsd-3)))
14989
14990 (define-public ghc-open-browser
14991 (package
14992 (name "ghc-open-browser")
14993 (version "0.2.1.0")
14994 (source (origin
14995 (method url-fetch)
14996 (uri (hackage-uri "open-browser" version))
14997 (sha256
14998 (base32
14999 "0rna8ir2cfp8gk0rd2q60an51jxc08lx4gl0liw8wwqgh1ijxv8b"))))
15000 (build-system haskell-build-system)
15001 (properties '((upstream-name . "open-browser")))
15002 (arguments
15003 (list
15004 #:phases
15005 #~(modify-phases %standard-phases
15006 (add-before 'configure 'patch-xdg-open
15007 (lambda* (#:key inputs #:allow-other-keys)
15008 (let ((xdg-open (assoc-ref inputs "xdg-utils")))
15009 (substitute* "lib/Web/Browser/Linux.hs"
15010 (("xdg-open")
15011 (search-input-file inputs "/bin/xdg-open")))))))))
15012 (inputs (list xdg-utils))
15013 (home-page "https://github.com/rightfold/open-browser")
15014 (synopsis "Open a web browser from Haskell")
15015 (description "Haskell library for opening the web browser.")
15016 (license license:bsd-3)))
15017
15018 (define-public ghc-singleton-bool
15019 (package
15020 (name "ghc-singleton-bool")
15021 (version "0.1.6")
15022 (source (origin
15023 (method url-fetch)
15024 (uri (hackage-uri "singleton-bool" version))
15025 (sha256
15026 (base32
15027 "1pc34dbzx5g3vw5w03zifvqva3whyvxzfy3yh78qkpd05f0g98sw"))))
15028 (build-system haskell-build-system)
15029 (properties '((upstream-name . "singleton-bool")))
15030 (inputs (list ghc-boring ghc-dec ghc-some))
15031 (arguments
15032 `(#:cabal-revision ("2"
15033 "1l4nx664awgwzk3ih5idsgnj220jqdr1c55241xjv7fz7lwyhh5r")))
15034 (home-page "https://github.com/phadej/singleton-bool#readme")
15035 (synopsis "Type-level booleans")
15036 (description "This package provides Type-level booleans.")
15037 (license license:bsd-3)))
15038
15039 (define-public ghc-breakpoint
15040 (package
15041 (name "ghc-breakpoint")
15042 (version "0.1.2.0")
15043 (source (origin
15044 (method url-fetch)
15045 (uri (hackage-uri "breakpoint" version))
15046 (sha256
15047 (base32
15048 "1hk9mjijxvqjzcfqllzi53rmxiyggbxash05jbb742wrq832h2xw"))))
15049 (build-system haskell-build-system)
15050 (properties '((upstream-name . "breakpoint")))
15051 (inputs (list ghc-pretty-simple ghc-ansi-terminal))
15052 (native-inputs (list ghc-tasty ghc-tasty-hunit))
15053 (home-page "http://hackage.haskell.org/package/breakpoint")
15054 (synopsis "Set breakpoints using a GHC plugin")
15055 (description
15056 "This package provides a plugin that allows you to set breakpoints for debugging
15057 purposes. See the
15058 [README](https://github.com/aaronallen8455/breakpoint#breakpoint) for details.")
15059 (license license:expat)))
15060
15061 (define-public ghc-githash
15062 (package
15063 (name "ghc-githash")
15064 (version "0.1.6.3")
15065 (source (origin
15066 (method url-fetch)
15067 (uri (hackage-uri "githash" version))
15068 (sha256
15069 (base32
15070 "06zg1rif1rcxni1vacmr2bh1nbm6i62rjbikfr4xsyzq1sv7kfpw"))))
15071 (build-system haskell-build-system)
15072 (properties '((upstream-name . "githash")))
15073 (inputs (list ghc-th-compat git))
15074 (native-inputs (list ghc-hspec ghc-temporary ghc-unliftio hspec-discover))
15075 (arguments
15076 (list
15077 #:phases
15078 #~(modify-phases %standard-phases
15079 (add-after 'unpack 'patch-git-path
15080 (lambda _
15081 (substitute* "src/GitHash.hs"
15082 (("\"git\"") (string-append "\"" #$git "/bin/git\""))))))))
15083 (home-page "https://github.com/snoyberg/githash#readme")
15084 (synopsis "Compile git revision info into Haskell projects")
15085 (description "Please see the README and documentation at
15086 <https://www.stackage.org/package/githash>")
15087 (license license:bsd-3)))
15088
15089 (define-public ghc-nothunks
15090 (package
15091 (name "ghc-nothunks")
15092 (version "0.1.3")
15093 (source (origin
15094 (method url-fetch)
15095 (uri (hackage-uri "nothunks" version))
15096 (sha256
15097 (base32
15098 "0lqfhnyxhmhajvsgmz5h428pb5zrdy9zvbc5inzhd83cv31yk4f1"))))
15099 (build-system haskell-build-system)
15100 (properties '((upstream-name . "nothunks")))
15101 (inputs (list ghc-vector))
15102 ;(native-inputs (list ghc-hedgehog ghc-random ghc-tasty ghc-tasty-hedgehog))
15103 (arguments (list #:tests? #f)) ; Fail to compile.
15104 (home-page "http://hackage.haskell.org/package/nothunks")
15105 (synopsis "Examine values for unexpected thunks")
15106 (description
15107 "Long lived application data typically should not contain any thunks. This
15108 library can be used to examine values for unexpected thunks, which can then be
15109 used in assertions. This can be invaluable in avoiding memory leaks, or
15110 tracking down existing ones.")
15111 (license license:expat)))
15112
15113 (define-public ghc-nothunks-bootstrap
15114 (package
15115 (inherit ghc-nothunks)
15116 (name "ghc-nothunks-bootstrap")
15117 (arguments `(#:tests? #f))
15118 (native-inputs '())
15119 (properties '((hidden? #t)))))
15120
15121 (define-public ghc-barbies
15122 (package
15123 (name "ghc-barbies")
15124 (version "2.0.4.0")
15125 (source (origin
15126 (method url-fetch)
15127 (uri (hackage-uri "barbies" version))
15128 (sha256
15129 (base32
15130 "0v8bckxi58fkqgf1i1xd3100wp792pzd319xlfvmmw8z0ii1g872"))))
15131 (build-system haskell-build-system)
15132 (properties '((upstream-name . "barbies")))
15133 (inputs (list ghc-distributive))
15134 (native-inputs (list ghc-quickcheck
15135 ghc-tasty
15136 ghc-tasty-hunit
15137 ghc-tasty-quickcheck
15138 ghc-quickcheck
15139 ghc-tasty
15140 ghc-tasty-hunit
15141 ghc-tasty-quickcheck))
15142 (home-page "https://github.com/jcpetruzza/barbies#readme")
15143 (synopsis "Classes for working with types that can change clothes.")
15144 (description
15145 "Types that are parametric on a functor are like Barbies that have an outfit for
15146 each role. This package provides the basic abstractions to work with them
15147 comfortably.")
15148 (license license:bsd-3)))
15149
15150 (define-public ghc-onetuple
15151 (package
15152 (name "ghc-onetuple")
15153 (version "0.3.1")
15154 (source (origin
15155 (method url-fetch)
15156 (uri (hackage-uri "OneTuple" version))
15157 (sha256
15158 (base32
15159 "1vry21z449ph9k61l5zm7mfmdwkwszxqdlawlhvwrd1gsn13d1cq"))))
15160 (build-system haskell-build-system)
15161 (properties '((upstream-name . "OneTuple")))
15162 (native-inputs (list ghc-hashable))
15163 (arguments
15164 `(#:cabal-revision ("3"
15165 "0g4siv8s6dlrdsivap2qy6ig08y5bjbs93jk192zmgkp8iscncpw")))
15166 (home-page "http://hackage.haskell.org/package/OneTuple")
15167 (synopsis "Singleton Tuple")
15168 (description
15169 "This package is a compatibility package for a singleton data type . > data Solo
15170 a = Solo a . Note: it's not a @@newtype@@ . @@Solo@@ is available in
15171 @@base-4.16@@ (GHC-9.2).")
15172 (license license:bsd-3)))
15173
15174 (define-public ghc-indexed-traversable-instances
15175 (package
15176 (name "ghc-indexed-traversable-instances")
15177 (version "0.1.1.1")
15178 (source (origin
15179 (method url-fetch)
15180 (uri (hackage-uri "indexed-traversable-instances" version))
15181 (sha256
15182 (base32
15183 "1c60vhf47y8ln33scyvwiffg24dvhm4aavya624vbqjr7l3fapl9"))))
15184 (build-system haskell-build-system)
15185 (properties '((upstream-name . "indexed-traversable-instances")))
15186 (inputs (list ghc-indexed-traversable ghc-onetuple ghc-tagged
15187 ghc-unordered-containers ghc-vector))
15188 (native-inputs (list ghc-quickcheck ghc-quickcheck-instances ghc-tasty
15189 ghc-tasty-quickcheck))
15190 (home-page
15191 "http://hackage.haskell.org/package/indexed-traversable-instances")
15192 (synopsis
15193 "More instances of FunctorWithIndex, FoldableWithIndex, TraversableWithIndex")
15194 (description
15195 "This package provides extra instances for type-classes in the
15196 [indexed-traversable](https://hackage.haskell.org/package/indexed-traversable)
15197 package. . The intention is to keep this package minimal; it provides instances
15198 that formely existed in @@lens@@ or @@optics-extra@@. We recommend putting
15199 other instances directly into their defining packages. The
15200 @@indexed-traversable@@ package is light, having only GHC boot libraries as its
15201 dependencies.")
15202 (license license:bsd-2)))
15203
15204 (define-public ghc-witherable
15205 (package
15206 (name "ghc-witherable")
15207 (version "0.4.2")
15208 (source (origin
15209 (method url-fetch)
15210 (uri (hackage-uri "witherable" version))
15211 (sha256
15212 (base32
15213 "0121ic4xkv3k568j23zp22a5lrv0k11h94fq7cbijd18fjr2n3br"))))
15214 (build-system haskell-build-system)
15215 (properties '((upstream-name . "witherable")))
15216 (inputs (list ghc-base-orphans
15217 ghc-hashable
15218 ghc-unordered-containers
15219 ghc-vector
15220 ghc-indexed-traversable
15221 ghc-indexed-traversable-instances))
15222 (native-inputs (list ghc-quickcheck ghc-quickcheck-instances ghc-tasty
15223 ghc-tasty-quickcheck))
15224 (arguments
15225 `(#:cabal-revision ("3"
15226 "1f2bvl41by904lnr0dk6qgasqwadq2w48l7fj51bp2h8bqbkdjyc")))
15227 (home-page "https://github.com/fumieval/witherable")
15228 (synopsis "filterable traversable")
15229 (description
15230 "This package provides a stronger variant of `traverse` which can remove elements
15231 and generalised mapMaybe, catMaybes, filter")
15232 (license license:bsd-3)))
15233
15234 (define-public ghc-hspec-discover
15235 (package
15236 (name "ghc-hspec-discover")
15237 (version "2.9.7")
15238 (source (origin
15239 (method url-fetch)
15240 (uri (hackage-uri "hspec-discover" version))
15241 (sha256
15242 (base32
15243 "0536kdxjw6p8b6gcwvmr22jbmb6cgzbddi0fkd01b2m847z37sb5"))))
15244 (build-system haskell-build-system)
15245 (properties '((upstream-name . "hspec-discover")))
15246 (native-inputs (list ghc-quickcheck ghc-hspec-meta ghc-mockery))
15247 (home-page "http://hspec.github.io/")
15248 (synopsis "Automatically discover and run Hspec tests")
15249 (description "Automatically discover and run Hspec tests .
15250 <http://hspec.github.io/hspec-discover.html>")
15251 (license license:expat)))
15252
15253 (define-public ghc-doctest-parallel
15254 (package
15255 (name "ghc-doctest-parallel")
15256 (version "0.2.6")
15257 (source (origin
15258 (method url-fetch)
15259 (uri (hackage-uri "doctest-parallel" version))
15260 (sha256
15261 (base32
15262 "13hjwhdjw8jrj07zxkrrfbzr0mrk8gwyis1rbdi4ld4jbq3rr1z7"))))
15263 (build-system haskell-build-system)
15264 (properties '((upstream-name . "doctest-parallel")))
15265 (inputs (list ghc-glob
15266 ghc-base-compat
15267 ghc-code-page
15268 ghc-extra
15269 ghc-paths
15270 ghc-random
15271 ghc-syb
15272 ghc-unordered-containers))
15273 (native-inputs (list ghc-hunit
15274 ghc-quickcheck
15275 ghc-hspec
15276 ghc-hspec-core
15277 ghc-hspec-discover
15278 ghc-mockery
15279 ghc-setenv
15280 ghc-silently
15281 ghc-stringbuilder))
15282 (arguments
15283 `(#:haddock? #f)) ; Setup.lhs: internal error when calculating transitive package dependencies.
15284 (home-page "https://github.com/martijnbastiaan/doctest-parallel#readme")
15285 (synopsis "Test interactive Haskell examples")
15286 (description
15287 "The doctest program checks examples in source code comments. It is modeled
15288 after doctest for Python (<https://docs.python.org/3/library/doctest.html>). .
15289 Documentation is at
15290 <https://github.com/martijnbastiaan/doctest-parallel#readme>.")
15291 (license license:expat)))
15292
15293 (define-public ghc-pcg-random
15294 (package
15295 (name "ghc-pcg-random")
15296 (version "0.1.3.7")
15297 (source (origin
15298 (method url-fetch)
15299 (uri (hackage-uri "pcg-random" version))
15300 (sha256
15301 (base32
15302 "1l6jq5nvmg1ygk7i7g50s47p6qkh74p9avl1wbcxdl5m85lc5j76"))))
15303 (build-system haskell-build-system)
15304 (properties '((upstream-name . "pcg-random")))
15305 (inputs (list ghc-primitive ghc-random ghc-entropy))
15306 (native-inputs (list ghc-doctest))
15307 (arguments
15308 `(#:tests? #f ; Could not find module ‘Build_doctests’
15309 #:phases
15310 (modify-phases %standard-phases
15311 ;; Tries to use non-existent doctest API.
15312 (add-after 'unpack 'disable-doctest
15313 (lambda _
15314 (with-output-to-file "Setup.hs"
15315 (lambda _
15316 (display
15317 "import Distribution.Simple\nmain = defaultMain\n"))))))))
15318 (home-page "http://github.com/cchalmers/pcg-random")
15319 (synopsis "Haskell bindings to the PCG random number generator.")
15320 (description
15321 "PCG is a family of simple fast space-efficient statistically good algorithms for
15322 random number generation. Unlike many general-purpose RNGs, they are also hard
15323 to predict. . This library implements bindings to the standard C
15324 implementation. This includes the standard, unique, fast and single variants in
15325 the pcg family. There is a pure implementation that can be used as a generator
15326 with the random package as well as a faster primitive api that includes
15327 functions for generating common types. . The generators in this module are
15328 suitable for use in parallel but make sure threads don't share the same
15329 generator or things will go horribly wrong.")
15330 (license license:bsd-3)))
15331
15332 (define-public ghc-random-bytestring
15333 (package
15334 (name "ghc-random-bytestring")
15335 (version "0.1.4")
15336 (source (origin
15337 (method url-fetch)
15338 (uri (hackage-uri "random-bytestring" version))
15339 (sha256
15340 (base32
15341 "0f4n41gqxxggadysvx3vg2iq89z7i7692ccrfmiajq73lbp6y34j"))))
15342 (build-system haskell-build-system)
15343 (properties '((upstream-name . "random-bytestring")))
15344 (inputs (list ghc-mwc-random ghc-nats ghc-pcg-random))
15345 (home-page "https://www.github.com/larskuhtz/random-bytestring")
15346 (synopsis "Efficient generation of random bytestrings")
15347 (description
15348 "__This package is deprecated__. Please, use genByteString from the [random
15349 package (version >=1.2)](https://hackage.haskell.org/package/random) instead. .
15350 Efficient generation of random bytestrings. The implementation populates
15351 uninitialized memory with uniformily distributed random 64 bit words (and 8 bit
15352 words for remaining bytes at the end of the bytestring). . Random words are
15353 generated using the PRNG from the
15354 [mwc-random](https://hackage.haskell.org/package/mwc-random) package or the
15355 [pcg-random](https://hackage.haskell.org/package/pcg-random) package. It is
15356 also possible to use a custom PRNG by providing an instance for the RandomWords
15357 type class and using the function generate from the module
15358 \"Data.ByteString.Random.Internal\". . The generated byte strings are suitable
15359 for statistical applications. They are /not/ suitable for cryptographic
15360 applications. .
15361 ![benchmarks](https://hackage.haskell.org/package/random-bytestring-0.1.3.2/src/benchmarks.png)
15362 . ![detailed
15363 benchmarks](https://hackage.haskell.org/package/random-bytestring-0.1.3.2/src/benchmarks-details.png)")
15364 (license license:expat)))
15365
15366 (define-public ghc-base64
15367 (package
15368 (name "ghc-base64")
15369 (version "0.4.2.4")
15370 (source (origin
15371 (method url-fetch)
15372 (uri (hackage-uri "base64" version))
15373 (sha256
15374 (base32
15375 "119mpqcv1rwkhwm69ga2b4f7hr825fa5wfm1w3i1szmhzh52s2k4"))))
15376 (build-system haskell-build-system)
15377 (properties '((upstream-name . "base64")))
15378 (inputs (list ghc-text-short))
15379 (native-inputs (list ghc-base64-bytestring
15380 ghc-quickcheck
15381 ghc-random-bytestring
15382 ghc-tasty
15383 ghc-tasty-hunit
15384 ghc-tasty-quickcheck))
15385 (arguments
15386 `(#:cabal-revision ("2"
15387 "0cz3zzz9k490w9nfn4hpgdw4zx4w70fwqrwsfx8svcwqssqibqw3")))
15388 (home-page "https://github.com/emilypi/base64")
15389 (synopsis "A modern RFC 4648-compliant Base64 library")
15390 (description
15391 "RFC 4648-compliant Base64 with an eye towards performance and modernity
15392 (additional support for RFC 7049 standards)")
15393 (license license:bsd-3)))
15394
15395 (define-public ghc-ordered-containers
15396 (package
15397 (name "ghc-ordered-containers")
15398 (version "0.2.3")
15399 (source (origin
15400 (method url-fetch)
15401 (uri (hackage-uri "ordered-containers" version))
15402 (sha256
15403 (base32
15404 "18w1dasny6xffbjlvmz9861l2xbkqlg2w5qxz9kw6frgfl2rg11n"))))
15405 (build-system haskell-build-system)
15406 (properties '((upstream-name . "ordered-containers")))
15407 (home-page "http://hackage.haskell.org/package/ordered-containers")
15408 (synopsis
15409 "Set- and Map-like types that remember the order elements were inserted")
15410 (description "")
15411 (license license:bsd-3)))
15412
15413 (define-public ghc-cabal-syntax
15414 (package
15415 (name "ghc-cabal-syntax")
15416 (version "3.6.0.0")
15417 (source (origin
15418 (method url-fetch)
15419 (uri (hackage-uri "Cabal-syntax" version))
15420 (sha256
15421 (base32
15422 "0lcj4g55sj5iv727g7k57pscgyj0fx3smwapm1gmd5qkc3yfa9fa"))))
15423 (build-system haskell-build-system)
15424 (properties '((upstream-name . "Cabal-syntax")))
15425 (home-page "http://www.haskell.org/cabal/")
15426 (synopsis "A library for working with .cabal files")
15427 (description
15428 "This library provides tools for reading and manipulating the .cabal file format.
15429 . Version 3.6 (unlike the following versions) is a dummy package that prevents
15430 module name clases between Cabal and Cabal-syntax if used together with a Cabal
15431 flag as described below. . In Cabal-3.7 this package was split off. To avoid
15432 module name clashes, you can add this to your .cabal file: . > flag Cabal-syntax
15433 > description: Use the new Cabal-syntax package > default: False > manual: False
15434 > > library > -- ... > if flag(Cabal-syntax) > build-depends: Cabal-syntax >=
15435 3.7 > else > build-depends: Cabal < 3.7, Cabal-syntax < 3.7 . This will default
15436 to the older build, but will allow consumers to opt-in to the newer libraries by
15437 requiring Cabal or Cabal-syntax >= 3.7")
15438 (license license:bsd-3)))
15439
15440 (define-public ghc-tasty-hslua
15441 (package
15442 (name "ghc-tasty-hslua")
15443 (version "1.0.2")
15444 (source (origin
15445 (method url-fetch)
15446 (uri (hackage-uri "tasty-hslua" version))
15447 (sha256
15448 (base32
15449 "0ibdxwaclghcgcyf9zx4b1dnp4b708ydwli4clmb0a0mp1lwdp98"))))
15450 (build-system haskell-build-system)
15451 (properties '((upstream-name . "tasty-hslua")))
15452 (inputs (list ghc-hslua-core ghc-tasty ghc-tasty-hunit))
15453 (home-page "https://hslua.org/")
15454 (synopsis "Tasty helpers to test HsLua.")
15455 (description
15456 "Various tasty helpers and utilities to test HsLua oparations. Built on top of
15457 tasty-hunit.")
15458 (license license:expat)))
15459
15460 (define-public ghc-hslua-marshalling
15461 (package
15462 (name "ghc-hslua-marshalling")
15463 (version "2.2.1")
15464 (source (origin
15465 (method url-fetch)
15466 (uri (hackage-uri "hslua-marshalling" version))
15467 (sha256
15468 (base32
15469 "1xmix1frfcyv4p51rnshrg02gba7di7nrrc6chsq71d3mbwhyask"))))
15470 (build-system haskell-build-system)
15471 (properties '((upstream-name . "hslua-marshalling")))
15472 (inputs (list ghc-hslua-core))
15473 (native-inputs (list ghc-lua-arbitrary
15474 ghc-quickcheck
15475 ghc-quickcheck-instances
15476 ghc-tasty-hslua
15477 ghc-tasty
15478 ghc-tasty-hunit
15479 ghc-tasty-quickcheck))
15480 (home-page "https://hslua.org/")
15481 (synopsis "Marshalling of values between Haskell and Lua.")
15482 (description
15483 "This package provides functions to marshal values from Haskell to Lua, and /vice
15484 versa/. . This package is part of HsLua, a Haskell framework built around the
15485 embeddable scripting language <https://lua.org Lua>.")
15486 (license license:expat)))
15487
15488 (define-public ghc-lua-arbitrary
15489 (package
15490 (name "ghc-lua-arbitrary")
15491 (version "1.0.1")
15492 (source (origin
15493 (method url-fetch)
15494 (uri (hackage-uri "lua-arbitrary" version))
15495 (sha256
15496 (base32
15497 "01g2pkvy7yhcrk8p1d9xzmqv279ldgy9z5aa6xj5msbxrpxvbpma"))))
15498 (build-system haskell-build-system)
15499 (properties '((upstream-name . "lua-arbitrary")))
15500 (inputs (list ghc-lua ghc-quickcheck))
15501 (home-page "https://hslua.org/")
15502 (synopsis "Arbitrary instances for Lua types.")
15503 (description
15504 "This package provides instances for QuickCheck's \\\"Arbitrary\\\" typeclass.")
15505 (license license:expat)))
15506
15507 (define-public ghc-lua
15508 (package
15509 (name "ghc-lua")
15510 (version "2.2.1")
15511 (source (origin
15512 (method url-fetch)
15513 (uri (hackage-uri "lua" version))
15514 (sha256
15515 (base32
15516 "07wni3ji46ndqabwffgwzij2jk34dq2d66z15hcd6jg33sqnym45"))))
15517 (build-system haskell-build-system)
15518 (properties '((upstream-name . "lua")))
15519 (native-inputs (list ghc-tasty ghc-tasty-hunit))
15520 (home-page "https://hslua.org/")
15521 (synopsis "Lua, an embeddable scripting language")
15522 (description
15523 "This package provides bindings and types to bridge Haskell and
15524 <https://www.lua.org/ Lua>. . The full Lua interpreter version 5.4.4 is
15525 included. Alternatively, a system-wide Lua installation can be linked instead.")
15526 (license license:expat)))
15527
15528 (define-public ghc-hslua-core
15529 (package
15530 (name "ghc-hslua-core")
15531 (version "2.2.1")
15532 (source (origin
15533 (method url-fetch)
15534 (uri (hackage-uri "hslua-core" version))
15535 (sha256
15536 (base32
15537 "0hy3a7rn940bcj0shxyk75dndwl23wwmmvbnwnay36py60hy3rbq"))))
15538 (build-system haskell-build-system)
15539 (properties '((upstream-name . "hslua-core")))
15540 (inputs (list ghc-lua))
15541 (native-inputs (list ghc-lua-arbitrary
15542 ghc-quickcheck
15543 ghc-quickcheck-instances
15544 ghc-tasty
15545 ghc-tasty-hunit
15546 ghc-tasty-quickcheck))
15547 (home-page "https://hslua.org/")
15548 (synopsis "Bindings to Lua, an embeddable scripting language")
15549 (description
15550 "Wrappers and helpers to bridge Haskell and <https://www.lua.org/ Lua>. . It
15551 builds upon the /lua/ package, which allows to bundle a Lua interpreter with a
15552 Haskell program.")
15553 (license license:expat)))
15554
15555 (define-public ghc-hslua-aeson
15556 (package
15557 (name "ghc-hslua-aeson")
15558 (version "2.2.1")
15559 (source (origin
15560 (method url-fetch)
15561 (uri (hackage-uri "hslua-aeson" version))
15562 (sha256
15563 (base32
15564 "0igmkay5bf3wg1n6rqm20kjv1xq36x552lgdvr1vlpwikgsiq8mb"))))
15565 (build-system haskell-build-system)
15566 (properties '((upstream-name . "hslua-aeson")))
15567 (inputs (list ghc-aeson
15568 ghc-hashable
15569 ghc-hslua-core
15570 ghc-hslua-marshalling
15571 ghc-scientific
15572 ghc-unordered-containers
15573 ghc-vector))
15574 (native-inputs (list ghc-quickcheck ghc-quickcheck-instances ghc-tasty
15575 ghc-tasty-quickcheck))
15576 (home-page "https://hslua.org/")
15577 (synopsis "Allow aeson data types to be used with Lua.")
15578 (description
15579 "This package provides instances to push and receive any datatype encodable as
15580 JSON to and from the Lua stack.")
15581 (license license:expat)))
15582
15583 (define-public ghc-gridtables
15584 (package
15585 (name "ghc-gridtables")
15586 (version "0.0.3.0")
15587 (source (origin
15588 (method url-fetch)
15589 (uri (hackage-uri "gridtables" version))
15590 (sha256
15591 (base32
15592 "1akix9flnax6dx3s9c7yyzb19nw13y8rmh0kz7y3hpjlkaz659xy"))))
15593 (build-system haskell-build-system)
15594 (properties '((upstream-name . "gridtables")))
15595 (inputs (list ghc-doclayout))
15596 (native-inputs (list ghc-tasty ghc-tasty-hunit))
15597 (arguments
15598 `(#:cabal-revision ("1"
15599 "0m2651z81n8s6hb8id7y6k2kprsgwnj7pcd6p8lmdpkzzz3wwd0c")))
15600 (home-page "https://github.com/tarleb/gridtables")
15601 (synopsis "Parser for reStructuredText-style grid tables.")
15602 (description
15603 "This package provides a parser for plain-text representations of tables. This
15604 package supports table headers, cells spanning multiple columns or rows, as well
15605 as a way to specfiy column alignments.")
15606 (license license:expat)))
15607
15608 (define-public ghc-lpeg
15609 (package
15610 (name "ghc-lpeg")
15611 (version "1.0.3")
15612 (source (origin
15613 (method url-fetch)
15614 (uri (hackage-uri "lpeg" version))
15615 (sha256
15616 (base32
15617 "19vvsvdw8l2zjwdcypnzw12vc9ycix92mkd6g3f6kx1i364z9hg1"))))
15618 (build-system haskell-build-system)
15619 (properties '((upstream-name . "lpeg")))
15620 (inputs (list ghc-lua))
15621 (native-inputs (list ghc-tasty ghc-tasty-hunit))
15622 (home-page "https://hslua.org/")
15623 (synopsis "LPeg â\80\93 Parsing Expression Grammars For Lua")
15624 (description
15625 "This package contains the C sources of LPeg, as well as some tiny Haskell helper
15626 to load the package. . <http://www.inf.puc-rio.br/~roberto/lpeg/>")
15627 (license license:expat)))
15628
15629 (define-public ghc-pandoc-lua-marshal
15630 (package
15631 (name "ghc-pandoc-lua-marshal")
15632 (version "0.1.7")
15633 (source (origin
15634 (method url-fetch)
15635 (uri (hackage-uri "pandoc-lua-marshal" version))
15636 (sha256
15637 (base32
15638 "0pn9b7f8dln049k76zb4znscl01qms751y1ln4j8irs50rc1b55j"))))
15639 (build-system haskell-build-system)
15640 (properties '((upstream-name . "pandoc-lua-marshal")))
15641 (inputs (list ghc-lua ghc-hslua ghc-hslua-marshalling ghc-pandoc-types
15642 ghc-safe))
15643 (native-inputs (list ghc-quickcheck ghc-tasty ghc-tasty-hunit
15644 ghc-tasty-lua ghc-tasty-quickcheck))
15645 (home-page "https://github.com/pandoc/pandoc-lua-marshal")
15646 (synopsis "Use pandoc types in Lua")
15647 (description
15648 "This package provides functions to marshal and unmarshal pandoc document types
15649 to and from Lua. . The values of most types are pushed to pandoc as \"userdata\"
15650 objects that wrap a stable pointer to the Haskell value; these objects come with
15651 methods to access and modify their properties. . Sequences are pushed as normal
15652 Lua tables, but are augmented with convenience functions.")
15653 (license license:expat)))
15654
15655 (define-public ghc-should-not-typecheck
15656 (package
15657 (name "ghc-should-not-typecheck")
15658 (version "2.1.0")
15659 (source (origin
15660 (method url-fetch)
15661 (uri (hackage-uri "should-not-typecheck" version))
15662 (sha256
15663 (base32
15664 "14fmv0mv2v4fqzynamlrmdj6d1l65aw1srf1wv19nrq7rrqaqf7m"))))
15665 (build-system haskell-build-system)
15666 (properties '((upstream-name . "should-not-typecheck")))
15667 (inputs (list ghc-hunit))
15668 (native-inputs (list ghc-hspec ghc-hspec-expectations))
15669 (home-page "http://github.com/CRogers/should-not-typecheck")
15670 (synopsis
15671 "A HUnit/hspec assertion library to verify that an expression does not typecheck")
15672 (description
15673 "For examples and an introduction to the library please take a look at the
15674 <https://github.com/CRogers/should-not-typecheck#should-not-typecheck- README>
15675 on github.")
15676 (license license:bsd-3)))
15677
15678 (define-public ghc-hspec-wai
15679 (package
15680 (name "ghc-hspec-wai")
15681 (version "0.11.1")
15682 (source (origin
15683 (method url-fetch)
15684 (uri (hackage-uri "hspec-wai" version))
15685 (sha256
15686 (base32
15687 "03wiksic5y9a2g6a86nsxrnajdgdvpv17w02h5qla0zp9zs6pa1j"))))
15688 (build-system haskell-build-system)
15689 (properties '((upstream-name . "hspec-wai")))
15690 (inputs (list ghc-quickcheck
15691 ghc-base-compat
15692 ghc-case-insensitive
15693 ghc-hspec-core
15694 ghc-hspec-expectations
15695 ghc-http-types
15696 ghc-wai
15697 ghc-wai-extra))
15698 (native-inputs (list ghc-hspec hspec-discover))
15699 (home-page "https://github.com/hspec/hspec-wai#readme")
15700 (synopsis "Experimental Hspec support for testing WAI applications")
15701 (description "Experimental Hspec support for testing WAI applications")
15702 (license license:expat)))
15703
15704 (define-public ghc-http-media
15705 (package
15706 (name "ghc-http-media")
15707 (version "0.8.0.0")
15708 (source (origin
15709 (method url-fetch)
15710 (uri (hackage-uri "http-media" version))
15711 (sha256
15712 (base32
15713 "0lww5cxrc9jlvzsysjv99lca33i4rb7cll66p3c0rdpmvz8pk0ir"))))
15714 (build-system haskell-build-system)
15715 (properties '((upstream-name . "http-media")))
15716 (inputs (list ghc-case-insensitive ghc-utf8-string))
15717 (native-inputs (list ghc-quickcheck ghc-test-framework
15718 ghc-test-framework-quickcheck2))
15719 (arguments
15720 `(#:cabal-revision ("7"
15721 "1sm8bnrqvwkj7f60x4s8vfsj6lfi0knq38im35x88wk8s9whg6jd")
15722 #:phases
15723 (modify-phases %standard-phases
15724 (add-before 'configure 'update-constraints
15725 (lambda _
15726 (substitute* "http-media.cabal"
15727 (("QuickCheck >= 2.8 && < 2.14") "QuickCheck")
15728 (("base >= 4.7 && < 4.13") "base")))))))
15729 (home-page "https://github.com/zmthy/http-media")
15730 (synopsis "Processing HTTP Content-Type and Accept headers")
15731 (description
15732 "This library is intended to be a comprehensive solution to parsing and selecting
15733 quality-indexed values in HTTP headers. It is capable of parsing both media
15734 types and language parameters from the Accept and Content header families, and
15735 can be extended to match against other accept headers as well. Selecting the
15736 appropriate header value is achieved by comparing a list of server options
15737 against the quality-indexed values supplied by the client. . In the following
15738 example, the Accept header is parsed and then matched against a list of server
15739 options to serve the appropriate media using mapAcceptMedia': . > getHeader >>=
15740 maybe send406Error sendResourceWith . mapAcceptMedia > [ (\"text/html\", asHtml)
15741 > , (\"application/json\", asJson) > ] . Similarly, the Content-Type header can
15742 be used to produce a parser for request bodies based on the given content type
15743 with mapContentMedia': . > getContentType >>= maybe send415Error
15744 readRequestBodyWith . mapContentMedia > [ (\"application/json\", parseJson) > ,
15745 (\"text/plain\", parseText) > ] . The API is agnostic to your choice of server.")
15746 (license license:expat)))
15747
15748 (define-public ghc-servant
15749 (package
15750 (name "ghc-servant")
15751 (version "0.19.1")
15752 (source (origin
15753 (method url-fetch)
15754 (uri (hackage-uri "servant" version))
15755 (sha256
15756 (base32
15757 "1gk6j39rcjpjacs351lknhrwj86yr4ifyp3qwlmiig27dxqlig3q"))))
15758 (build-system haskell-build-system)
15759 (properties '((upstream-name . "servant")))
15760 (inputs (list ghc-constraints
15761 ghc-sop-core
15762 ghc-http-api-data
15763 ghc-singleton-bool
15764 ghc-base-compat
15765 ghc-aeson
15766 ghc-attoparsec
15767 ghc-bifunctors
15768 ghc-case-insensitive
15769 ghc-http-media
15770 ghc-http-types
15771 ghc-mmorph
15772 ghc-network-uri
15773 ghc-quickcheck
15774 ghc-string-conversions
15775 ghc-tagged
15776 ghc-vault))
15777 (native-inputs (list ghc-hspec ghc-quickcheck-instances hspec-discover))
15778 (home-page "http://docs.servant.dev/")
15779 (synopsis "A family of combinators for defining webservices APIs")
15780 (description
15781 "This package provides a family of combinators for defining webservices APIs and
15782 serving them . You can learn about the basics in the
15783 <http://docs.servant.dev/en/stable/tutorial/index.html tutorial>. .
15784 <https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md
15785 CHANGELOG>")
15786 (license license:bsd-3)))
15787
15788 (define-public ghc-servant-server
15789 (package
15790 (name "ghc-servant-server")
15791 (version "0.19.2")
15792 (source (origin
15793 (method url-fetch)
15794 (uri (hackage-uri "servant-server" version))
15795 (sha256
15796 (base32
15797 "1a7msh8p59v5mgsnj5li9s3jg0jwq2zjsznr0cg7g0fncn7r1axy"))))
15798 (build-system haskell-build-system)
15799 (properties '((upstream-name . "servant-server")))
15800 (inputs (list ghc-constraints
15801 ghc-servant
15802 ghc-http-api-data
15803 ghc-base-compat
15804 ghc-base64-bytestring
15805 ghc-http-media
15806 ghc-http-types
15807 ghc-network-uri
15808 ghc-monad-control
15809 ghc-network
15810 ghc-sop-core
15811 ghc-string-conversions
15812 ghc-resourcet
15813 ghc-tagged
15814 ghc-transformers-base
15815 ghc-wai
15816 ghc-wai-app-static
15817 ghc-word8
15818 ghc-aeson
15819 ghc-warp))
15820 (native-inputs (list ghc-safe
15821 ghc-transformers-compat
15822 ghc-hspec
15823 ghc-hspec-wai
15824 ghc-quickcheck
15825 ghc-should-not-typecheck
15826 ghc-temporary
15827 ghc-wai-extra
15828 hspec-discover))
15829 (home-page "http://docs.servant.dev/")
15830 (synopsis
15831 "A family of combinators for defining webservices APIs and serving them")
15832 (description
15833 "This package provides a family of combinators for defining webservices APIs and
15834 serving them . You can learn about the basics in the
15835 <http://docs.servant.dev/en/stable/tutorial/index.html tutorial>. .
15836 <https://github.com/haskell-servant/servant/blob/master/servant-server/example/greet.hs
15837 Here> is a runnable example, with comments, that defines a dummy API and
15838 implements a webserver that serves this API, using this package. .
15839 <https://github.com/haskell-servant/servant/blob/master/servant-server/CHANGELOG.md
15840 CHANGELOG>")
15841 (license license:bsd-3)))
15842
15843 (define-public ghc-boring
15844 (package
15845 (name "ghc-boring")
15846 (version "0.2")
15847 (source (origin
15848 (method url-fetch)
15849 (uri (hackage-uri "boring" version))
15850 (sha256
15851 (base32
15852 "0d2cm9ra69cvaxs5x3lr2rfv7xx6xrbpb3dbcpyd8m77cqxm7b0b"))))
15853 (build-system haskell-build-system)
15854 (properties '((upstream-name . "boring")))
15855 (inputs (list ghc-tagged))
15856 (arguments
15857 `(#:cabal-revision ("2"
15858 "04pn94i3mysi7px93k86sf29vw99sf38sl4n0gy2nma0iqsik828")))
15859 (home-page "https://github.com/phadej/boring")
15860 (synopsis "Boring and Absurd types")
15861 (description
15862 "* @@Boring@@ types are isomorphic to @@()@@. . * @@Absurd@@ types are isomorphic
15863 to @@Void@@. . See [What does () mean in Haskell -answer by Conor
15864 McBride](https://stackoverflow.com/questions/33112439/what-does-mean-in-haskell/33115522#33115522)")
15865 (license license:bsd-3)))
15866
15867 (define-public ghc-some
15868 (package
15869 (name "ghc-some")
15870 (version "1.0.4.1")
15871 (source (origin
15872 (method url-fetch)
15873 (uri (hackage-uri "some" version))
15874 (sha256
15875 (base32
15876 "1qy840b2f58f0jxmw4q9sfgbx64kypzdlqnwc72md5wwv84b9b1d"))))
15877 (build-system haskell-build-system)
15878 (properties '((upstream-name . "some")))
15879 (home-page "https://github.com/haskellari/some")
15880 (synopsis "Existential type: Some")
15881 (description
15882 "This library defines an existential type Some'. . @@ data Some f where \\ Some ::
15883 f a -> Some f @@ . in few variants, and utilities to work with it. . If you
15884 are unsure which variant to use, use the one in \"Data.Some\" module.")
15885 (license license:bsd-3)))
15886
15887 (define-public ghc-hslua-classes
15888 (package
15889 (name "ghc-hslua-classes")
15890 (version "2.2.0")
15891 (source (origin
15892 (method url-fetch)
15893 (uri (hackage-uri "hslua-classes" version))
15894 (sha256
15895 (base32
15896 "1z7ym3whcq16k2cm9jf7sf0vwmp52iv1f0iicvv4jk6xks9d6ia1"))))
15897 (build-system haskell-build-system)
15898 (properties '((upstream-name . "hslua-classes")))
15899 (inputs (list ghc-hslua-core ghc-hslua-marshalling))
15900 (native-inputs (list ghc-lua-arbitrary
15901 ghc-quickcheck
15902 ghc-quickcheck-instances
15903 ghc-tasty
15904 ghc-tasty-hslua
15905 ghc-tasty-hunit
15906 ghc-tasty-quickcheck))
15907 (home-page "https://hslua.org/")
15908 (synopsis "Type classes for HsLua")
15909 (description
15910 "Type classes for convenient marshalling and calling of Lua functions.")
15911 (license license:expat)))
15912
15913 (define-public ghc-hslua-objectorientation
15914 (package
15915 (name "ghc-hslua-objectorientation")
15916 (version "2.2.1")
15917 (source (origin
15918 (method url-fetch)
15919 (uri (hackage-uri "hslua-objectorientation" version))
15920 (sha256
15921 (base32
15922 "13011yzz6lrgl2gasn9w5ggdqgrdz49hhqk1h259qd9gq29jnq3y"))))
15923 (build-system haskell-build-system)
15924 (properties '((upstream-name . "hslua-objectorientation")))
15925 (inputs (list ghc-hslua-core ghc-hslua-marshalling))
15926 (native-inputs (list ghc-lua-arbitrary
15927 ghc-quickcheck
15928 ghc-quickcheck-instances
15929 ghc-tasty
15930 ghc-tasty-hslua
15931 ghc-tasty-hunit
15932 ghc-tasty-quickcheck))
15933 (home-page "https://hslua.org/")
15934 (synopsis "Object orientation tools for HsLua")
15935 (description
15936 "Expose Haskell objects to Lua with an object oriented interface.")
15937 (license license:expat)))
15938
15939 (define-public ghc-hslua-packaging
15940 (package
15941 (name "ghc-hslua-packaging")
15942 (version "2.2.1")
15943 (source (origin
15944 (method url-fetch)
15945 (uri (hackage-uri "hslua-packaging" version))
15946 (sha256
15947 (base32
15948 "1yxfrsxmmsb96lyfihlk9ks53l2z2aln3whfqaha7grs3gx1yaib"))))
15949 (build-system haskell-build-system)
15950 (properties '((upstream-name . "hslua-packaging")))
15951 (inputs (list ghc-hslua-core ghc-hslua-marshalling
15952 ghc-hslua-objectorientation))
15953 (native-inputs (list ghc-tasty-hslua ghc-tasty ghc-tasty-hunit))
15954 (home-page "https://hslua.org/")
15955 (synopsis "Utilities to build Lua modules.")
15956 (description
15957 "Utilities to package up Haskell functions and values into a Lua module. . This
15958 package is part of HsLua, a Haskell framework built around the embeddable
15959 scripting language <https://lua.org Lua>.")
15960 (license license:expat)))
15961
15962 (define-public ghc-hslua-module-version
15963 (package
15964 (name "ghc-hslua-module-version")
15965 (version "1.0.3")
15966 (source (origin
15967 (method url-fetch)
15968 (uri (hackage-uri "hslua-module-version" version))
15969 (sha256
15970 (base32
15971 "1v24lbbagvaz0hacq4525snp6smz8yc5ifrxg89z1y5bbn7v46f5"))))
15972 (build-system haskell-build-system)
15973 (properties '((upstream-name . "hslua-module-version")))
15974 (inputs (list ghc-hslua-core ghc-hslua-marshalling ghc-hslua-packaging))
15975 (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-tasty-lua))
15976 (home-page "https://hslua.org/")
15977 (synopsis "Lua module to work with version specifiers.")
15978 (description "Wrapper for the Data.Version.Version Haskell type.")
15979 (license license:expat)))
15980
15981 (define-public ghc-recv
15982 (package
15983 (name "ghc-recv")
15984 (version "0.0.0")
15985 (source (origin
15986 (method url-fetch)
15987 (uri (hackage-uri "recv" version))
15988 (sha256
15989 (base32
15990 "1yz9b95m9yxcwbbwdvp288y47ycn4yq9g7ixlw0sf98h5rjp4s2w"))))
15991 (build-system haskell-build-system)
15992 (properties '((upstream-name . "recv")))
15993 (inputs (list ghc-network))
15994 (native-inputs (list ghc-hspec hspec-discover))
15995 (home-page "http://github.com/yesodweb/wai")
15996 (synopsis "Efficient netowrk recv")
15997 (description "Network recv based on buffer pools")
15998 (license license:bsd-3)))
15999
16000 (define-public ghc-glib
16001 (package
16002 (name "ghc-glib")
16003 (version "0.13.8.2")
16004 (source (origin
16005 (method url-fetch)
16006 (uri (hackage-uri "glib" version))
16007 (sha256
16008 (base32
16009 "09qamkxkpx2paazbh8x225wvwgzgpp0g0a3s708n96q76b4bvd46"))))
16010 (build-system haskell-build-system)
16011 (properties '((upstream-name . "glib")))
16012 (inputs (list ghc-utf8-string glib))
16013 (native-inputs (list ghc-gtk2hs-buildtools pkg-config))
16014 (home-page "https://github.com/gtk2hs/gtk2hs")
16015 (synopsis "GLib bindings for for Gtk2Hs")
16016 (description
16017 "GLib is a collection of C data structures and utility functions for the GObject
16018 system, main loop implementation, for strings and common data structures dealing
16019 with Unicode. This package only binds as much functionality as required to
16020 support the packages that wrap libraries that are themselves based on GLib.")
16021 (license license:lgpl2.1)))
16022
16023 (define-public ghc-pango
16024 (package
16025 (name "ghc-pango")
16026 (version "0.13.8.2")
16027 (source (origin
16028 (method url-fetch)
16029 (uri (hackage-uri "pango" version))
16030 (sha256
16031 (base32
16032 "1mndcb904vlkqpbmj5np9lxqw2qw3pzawvrgbsbxa9xjayh0ylw5"))))
16033 (build-system haskell-build-system)
16034 (properties '((upstream-name . "pango")))
16035 (inputs (list ghc-glib ghc-cairo pango))
16036 (native-inputs (list ghc-gtk2hs-buildtools pkg-config))
16037 (home-page "https://hackage.haskell.org/package/pango")
16038 (synopsis "Haskell bindings to the Pango text rendering engine")
16039 (description
16040 "This package provides a wrapper around the Pango C library that allows
16041 high-quality rendering of Unicode text. It can be used either with Cairo to
16042 output text in PDF, PS or other documents or with Gtk+ to display text
16043 on-screen.")
16044 (license license:lgpl2.1)))
16045
16046 (define-public ghc-monoidal-containers
16047 (package
16048 (name "ghc-monoidal-containers")
16049 (version "0.6.3.0")
16050 (source (origin
16051 (method url-fetch)
16052 (uri (hackage-uri "monoidal-containers" version))
16053 (sha256
16054 (base32
16055 "0m41z50r3jvr8vvfry99kamb2h3knm0g7bqfwspchmhwsgqqczh4"))))
16056 (build-system haskell-build-system)
16057 (properties '((upstream-name . "monoidal-containers")))
16058 (inputs (list ghc-aeson
16059 ghc-hashable
16060 ghc-lens
16061 ghc-newtype
16062 ghc-unordered-containers
16063 ghc-witherable
16064 ghc-semialign
16065 ghc-these))
16066 (home-page "http://github.com/bgamari/monoidal-containers")
16067 (synopsis "Containers with monoidal accumulation")
16068 (description
16069 "Containers with merging via monoidal accumulation. The Monoid instances
16070 provided by the @code{containers} and @code{unordered-containers} packages merge
16071 structures in a left-biased manner instead of using the underlying monoidal
16072 structure of the value. This package wraps the types provided by these
16073 packages, but provides @code{Monoid} instances implemented in terms of the value
16074 type's mappend'.")
16075 (license license:bsd-3)))
16076
16077 (define-public ghc-newtype
16078 (package
16079 (name "ghc-newtype")
16080 (version "0.2.2.0")
16081 (source (origin
16082 (method url-fetch)
16083 (uri (hackage-uri "newtype" version))
16084 (sha256
16085 (base32
16086 "1b7bamnd0p8vmxvlg39g5d4a2av49kx10rdyz04ixa28pg8zy01s"))))
16087 (build-system haskell-build-system)
16088 (properties '((upstream-name . "newtype")))
16089 (arguments
16090 `(#:cabal-revision ("3"
16091 "0yll88ydchd2gqcvdk28fchf2vygpd42ky2bigg4ga08jan2nacx")))
16092 (home-page "http://hackage.haskell.org/package/newtype")
16093 (synopsis "Typeclass and set of functions for working with newtypes")
16094 (description
16095 "Per Conor McBride, the Newtype typeclass represents the packing and unpacking of
16096 a @code{newtype}, and allows you to operate under that @code{newtype} with functions
16097 such as ala'.")
16098 (license license:bsd-3)))
16099
16100 (define-public ghc-hspec-hedgehog
16101 (package
16102 (name "ghc-hspec-hedgehog")
16103 (version "0.0.1.2")
16104 (source (origin
16105 (method url-fetch)
16106 (uri (hackage-uri "hspec-hedgehog" version))
16107 (sha256
16108 (base32
16109 "17gbr4ssnzjk7nvpsnh47av6vd9wz27ax92xvr4jwyw0z7h2wn13"))))
16110 (build-system haskell-build-system)
16111 (properties '((upstream-name . "hspec-hedgehog")))
16112 (inputs (list ghc-hspec
16113 ghc-hspec-core
16114 ghc-hedgehog
16115 ghc-hunit
16116 ghc-quickcheck
16117 ghc-splitmix))
16118 (arguments
16119 `(#:cabal-revision ("1"
16120 "1qv2gap0775d2zg8wbd3kq4ypziz05qlz5jfisvl3jfd6jzcf2ad")))
16121 (home-page "https://github.com/parsonsmatt/hspec-hedgehog#readme")
16122 (synopsis "Integrate Hedgehog and Hspec")
16123 (description "An integration library for hspec and hedgehog.")
16124 (license license:bsd-3)))
16125
16126 (define-public ghc-validation-selective
16127 (package
16128 (name "ghc-validation-selective")
16129 (version "0.1.0.2")
16130 (source (origin
16131 (method url-fetch)
16132 (uri (hackage-uri "validation-selective" version))
16133 (sha256
16134 (base32
16135 "1gsvcm8gjp8kdfprd1i4h9si8f2ym1gj3hqfwz7x1ylsa8qxwvq1"))))
16136 (build-system haskell-build-system)
16137 (properties '((upstream-name . "validation-selective")))
16138 (inputs (list ghc-selective))
16139 (native-inputs (list ghc-hedgehog ghc-hspec ghc-hspec-hedgehog ghc-doctest))
16140 (home-page "https://github.com/kowainik/validation-selective")
16141 (synopsis
16142 "Data validation based on Applicative and Selective functors")
16143 (description
16144 "Lighweight pure data validation based on Applicative and Selective functors.")
16145 (license license:mpl2.0)))
16146
16147 (define-public ghc-tomland
16148 (package
16149 (name "ghc-tomland")
16150 (version "1.3.3.2")
16151 (source (origin
16152 (method url-fetch)
16153 (uri (hackage-uri "tomland" version))
16154 (sha256
16155 (base32
16156 "152jqjv6n7n2hdysn903wfhpwh6vp8wmjiymzasazprasdcxpywm"))))
16157 (build-system haskell-build-system)
16158 (properties '((upstream-name . "tomland")))
16159 (inputs (list ghc-hashable ghc-megaparsec ghc-parser-combinators
16160 ghc-unordered-containers ghc-validation-selective))
16161 (native-inputs (list ghc-hedgehog ghc-hspec ghc-hspec-hedgehog
16162 ghc-hspec-megaparsec))
16163 (home-page "https://github.com/kowainik/tomland")
16164 (synopsis "Bidirectional TOML serialization")
16165 (description
16166 "Implementation of bidirectional TOML serialization.")
16167 (license license:mpl2.0)))
16168
16169 (define-public ghc-hslua-module-doclayout
16170 (package
16171 (name "ghc-hslua-module-doclayout")
16172 (version "1.0.4")
16173 (source (origin
16174 (method url-fetch)
16175 (uri (hackage-uri "hslua-module-doclayout" version))
16176 (sha256
16177 (base32
16178 "14sqffgcrhhrv7k4j8b1l41mn5gqlp8yzggd727746kjl0n56hqq"))))
16179 (build-system haskell-build-system)
16180 (properties '((upstream-name . "hslua-module-doclayout")))
16181 (inputs (list ghc-doclayout ghc-hslua))
16182 (native-inputs (list ghc-tasty ghc-tasty-hunit ghc-tasty-lua))
16183 (home-page "https://github.com/hslua/hslua-module-doclayout")
16184 (synopsis "Lua module wrapping Text.DocLayout")
16185 (description "Lua module wrapping @code{Text.DocLayout}.")
16186 (license license:expat)))
16187
16188 (define-public ghc-random-shuffle
16189 (package
16190 (name "ghc-random-shuffle")
16191 (version "0.0.4")
16192 (source (origin
16193 (method url-fetch)
16194 (uri (hackage-uri "random-shuffle" version))
16195 (sha256
16196 (base32
16197 "0586bnlh0g2isc44jbjvafkcl4yw6lp1db8x6vr0pza0y08l8w2j"))))
16198 (build-system haskell-build-system)
16199 (properties '((upstream-name . "random-shuffle")))
16200 (inputs (list ghc-random ghc-monadrandom))
16201 (home-page "http://hackage.haskell.org/package/random-shuffle")
16202 (synopsis "Random shuffle implementation")
16203 (description
16204 "Random shuffle implementation, on immutable lists. Based on
16205 @url{http://okmij.org/ftp/Haskell/perfect-shuffle.txt, perfect shuffle
16206 implementation by Oleg Kiselyov}.")
16207 (license license:bsd-3)))
16208
16209 (define-public ghc-deriving-aeson
16210 (package
16211 (name "ghc-deriving-aeson")
16212 (version "0.2.8")
16213 (source (origin
16214 (method url-fetch)
16215 (uri (hackage-uri "deriving-aeson" version))
16216 (sha256
16217 (base32
16218 "0f59ar4cax7g0h6wrk8ckni7i4gw5wls5ybzbrji2a0qpd7q5lrd"))))
16219 (build-system haskell-build-system)
16220 (properties '((upstream-name . "deriving-aeson")))
16221 (inputs (list ghc-aeson))
16222 (arguments
16223 `(#:cabal-revision ("1"
16224 "0pwx7lmdhpipg9ksqkz6xpjzh1aw2hip8y3jsk20ndl4wdzvxak5")))
16225 (home-page "http://hackage.haskell.org/package/deriving-aeson")
16226 (synopsis "Type driven generic aeson instance customisation")
16227 (description
16228 "This package provides a newtype wrapper with FromJSON/ToJSON instances
16229 customisable via a phantom type parameter. The instances can be rendered to the
16230 original type using DerivingVia.")
16231 (license license:bsd-3)))
16232
16233 (define-public ghc-leancheck
16234 (package
16235 (name "ghc-leancheck")
16236 (version "0.9.12")
16237 (source (origin
16238 (method url-fetch)
16239 (uri (hackage-uri "leancheck" version))
16240 (sha256
16241 (base32
16242 "15wpklkbr03dciai4mk8bm1yk9svxxmbsl22wsvwk3ns7aiamrkj"))))
16243 (build-system haskell-build-system)
16244 (properties '((upstream-name . "leancheck")))
16245 (home-page "https://github.com/rudymatela/leancheck#readme")
16246 (synopsis "Enumerative property-based testing")
16247 (description
16248 "LeanCheck is a simple enumerative property-based testing library. Properties
16249 are defined as Haskell functions returning a boolean value which should be true
16250 for all possible choices of argument values. LeanCheck applies enumerated
16251 argument values to these properties in search for a counterexample. Properties
16252 can be viewed as parameterized unit tests. LeanCheck works by producing tiers
16253 of test values: a possibly infinite list of finite sublists of
16254 same-and-increasingly-sized values.")
16255 (license license:bsd-3)))
16256
16257 (define-public ghc-test-framework-leancheck
16258 (package
16259 (name "ghc-test-framework-leancheck")
16260 (version "0.0.4")
16261 (source (origin
16262 (method url-fetch)
16263 (uri (hackage-uri "test-framework-leancheck" version))
16264 (sha256
16265 (base32
16266 "0aa21r999jj59plzkn1px02k3a87znwhagdjmdsik2xvy5wrzgzv"))))
16267 (build-system haskell-build-system)
16268 (properties '((upstream-name . "test-framework-leancheck")))
16269 (inputs (list ghc-test-framework ghc-leancheck))
16270 (home-page "https://github.com/rudymatela/test-framework-leancheck#readme")
16271 (synopsis "LeanCheck support for test-framework")
16272 (description
16273 "LeanCheck support for @code{test-framework}. This package can be used
16274 to incorporate LeanCheck tests into test-framework test suites.")
16275 (license license:bsd-3)))
16276
16277 ;;;
16278 ;;; Avoid adding new packages to the end of this file. To reduce the chances
16279 ;;; of a merge conflict, place them above by existing packages with similar
16280 ;;; functionality or similar names.
16281 ;;;
16282