gnu: Rename ghc-nixfmt into nixfmt
[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 Ludovic Courtès <ludo@gnu.org>
7 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
8 ;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
9 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
10 ;;; Copyright © 2016, 2017 David Craven <david@craven.ch>
11 ;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
12 ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
13 ;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com>
14 ;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
15 ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
16 ;;; Copyright © 2018 Tonton <tonton@riseup.net>
17 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
18 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2018, 2019 Gabriel Hondet <gabrielhondet@gmail.com>
20 ;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
21 ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
22 ;;; Copyright © 2019,2020 John Soo <jsoo1@asu.edu>
23 ;;; Copyright © 2019, 2020 Kyle Meyer <kyle@kyleam.com>
24 ;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
25 ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
26 ;;; Copyright © 2020 JoJo <jo@jo.zone>
27 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
28 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
29 ;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
30 ;;; Copyright © 2020 Christopher Lemmer Webber <cwebber@dustycloud.org>
31 ;;;
32 ;;; This file is part of GNU Guix.
33 ;;;
34 ;;; GNU Guix is free software; you can redistribute it and/or modify it
35 ;;; under the terms of the GNU General Public License as published by
36 ;;; the Free Software Foundation; either version 3 of the License, or (at
37 ;;; your option) any later version.
38 ;;;
39 ;;; GNU Guix is distributed in the hope that it will be useful, but
40 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
41 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42 ;;; GNU General Public License for more details.
43 ;;;
44 ;;; You should have received a copy of the GNU General Public License
45 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
46
47 (define-module (gnu packages haskell-xyz)
48 #:use-module (gnu packages)
49 #:use-module (gnu packages base)
50 #:use-module (gnu packages compression)
51 #:use-module (gnu packages emacs)
52 #:use-module (gnu packages gl)
53 #:use-module (gnu packages graphviz)
54 #:use-module (gnu packages gtk)
55 #:use-module (gnu packages haskell)
56 #:use-module (gnu packages haskell-apps)
57 #:use-module (gnu packages haskell-check)
58 #:use-module (gnu packages haskell-crypto)
59 #:use-module (gnu packages haskell-web)
60 #:use-module (gnu packages libffi)
61 #:use-module (gnu packages linux)
62 #:use-module (gnu packages llvm)
63 #:use-module (gnu packages lua)
64 #:use-module (gnu packages maths)
65 #:use-module (gnu packages ncurses)
66 #:use-module (gnu packages pcre)
67 #:use-module (gnu packages pkg-config)
68 #:use-module (gnu packages sdl)
69 #:use-module (gnu packages web)
70 #:use-module (gnu packages xml)
71 #:use-module (gnu packages xorg)
72 #:use-module (guix build-system haskell)
73 #:use-module (guix download)
74 #:use-module (guix git-download)
75 #:use-module (guix utils)
76 #:use-module ((guix licenses) #:prefix license:)
77 #:use-module (guix packages)
78 #:use-module (srfi srfi-1))
79
80 (define-public ghc-abstract-deque
81 (package
82 (name "ghc-abstract-deque")
83 (version "0.3")
84 (source
85 (origin
86 (method url-fetch)
87 (uri (string-append "https://hackage.haskell.org/package/"
88 "abstract-deque-" version "/"
89 "abstract-deque-" version ".tar.gz"))
90 (sha256
91 (base32
92 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
93 (build-system haskell-build-system)
94 (inputs `(("ghc-random" ,ghc-random)))
95 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
96 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
97 (description "This Haskell package provides an abstract interface to
98 highly-parameterizable queues/deques.
99
100 Background: There exists a feature space for queues that extends between:
101
102 @itemize
103 @item Simple, single-ended, non-concurrent, bounded queues
104
105 @item Double-ended, thread-safe, growable queues with important points
106 in between (such as the queues used for work stealing).
107 @end itemize
108
109 This package includes an interface for Deques that allows the programmer
110 to use a single API for all of the above, while using the type system to
111 select an efficient implementation given the requirements (using type families).
112
113 This package also includes a simple reference implementation based on
114 @code{IORef} and @code{Data.Sequence}.")
115 (license license:bsd-3)))
116
117 (define-public ghc-abstract-par
118 (package
119 (name "ghc-abstract-par")
120 (version "0.3.3")
121 (source
122 (origin
123 (method url-fetch)
124 (uri (string-append "https://hackage.haskell.org/package/"
125 "abstract-par-" version "/"
126 "abstract-par-" version ".tar.gz"))
127 (sha256
128 (base32
129 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
130 (build-system haskell-build-system)
131 (home-page "https://github.com/simonmar/monad-par")
132 (synopsis "Abstract parallelization interface for Haskell")
133 (description "This Haskell package is an abstract interface
134 only. It provides a number of type clasess, but not an
135 implementation. The type classes separate different levels
136 of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
137 module for more details.")
138 (license license:bsd-3)))
139
140 (define-public ghc-active
141 (package
142 (name "ghc-active")
143 (version "0.2.0.14")
144 (source
145 (origin
146 (method url-fetch)
147 (uri (string-append "https://hackage.haskell.org/package/"
148 "active/active-" version ".tar.gz"))
149 (sha256
150 (base32
151 "0x3b4ln6csa554qls28wbxvclkbdz3yi60i1m0q5ing0cs16fifz"))))
152 (build-system haskell-build-system)
153 (inputs
154 `(("ghc-vector" ,ghc-vector)
155 ("ghc-semigroups" ,ghc-semigroups)
156 ("ghc-semigroupoids" ,ghc-semigroupoids)
157 ("ghc-lens" ,ghc-lens)
158 ("ghc-linear" ,ghc-linear)))
159 (native-inputs
160 `(("ghc-quickcheck" ,ghc-quickcheck)))
161 (home-page "https://hackage.haskell.org/package/active")
162 (synopsis "Abstractions for animation")
163 (description "This package defines an @code{Active} abstraction for
164 time-varying values with finite start and end times. It is used for
165 describing animations within the
166 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
167 diagrams framework}.")
168 (license license:bsd-3)))
169
170 (define-public ghc-adjunctions
171 (package
172 (name "ghc-adjunctions")
173 (version "4.4")
174 (source
175 (origin
176 (method url-fetch)
177 (uri (string-append
178 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
179 version
180 ".tar.gz"))
181 (sha256
182 (base32
183 "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h"))))
184 (build-system haskell-build-system)
185 (arguments
186 `(#:cabal-revision
187 ("2" "1yfsjx7dqikg3hvld7i91xfsg5lawmr5980lvfd794sybmgxsf17")))
188 (inputs
189 `(("ghc-profunctors" ,ghc-profunctors)
190 ("ghc-comonad" ,ghc-comonad)
191 ("ghc-contravariant" ,ghc-contravariant)
192 ("ghc-distributive" ,ghc-distributive)
193 ("ghc-free" ,ghc-free)
194 ("ghc-tagged" ,ghc-tagged)
195 ("ghc-semigroupoids" ,ghc-semigroupoids)
196 ("ghc-semigroups" ,ghc-semigroups)
197 ("ghc-transformers-compat" ,ghc-transformers-compat)
198 ("ghc-void" ,ghc-void)))
199 (native-inputs
200 `(("ghc-generic-deriving" ,ghc-generic-deriving)
201 ("ghc-hspec" ,ghc-hspec)
202 ("hspec-discover" ,hspec-discover)))
203 (home-page "https://github.com/ekmett/adjunctions/")
204 (synopsis "Adjunctions and representable functors")
205 (description "This library provides adjunctions and representable functors
206 for Haskell.")
207 (license license:bsd-3)))
208
209 (define-public ghc-aeson-compat
210 (package
211 (name "ghc-aeson-compat")
212 (version "0.3.9")
213 (source
214 (origin
215 (method url-fetch)
216 (uri (string-append "https://hackage.haskell.org/package/"
217 "aeson-compat-" version "/"
218 "aeson-compat-" version ".tar.gz"))
219 (sha256
220 (base32
221 "1j13gykv4ryvmr14w5blz0nnpdb4p0hpa27wahw3mhb1lwdr8hz0"))))
222 (build-system haskell-build-system)
223 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
224 (inputs `(("ghc-base-compat" ,ghc-base-compat)
225 ("ghc-aeson" ,ghc-aeson)
226 ("ghc-attoparsec" ,ghc-attoparsec)
227 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
228 ("ghc-exceptions" ,ghc-exceptions)
229 ("ghc-hashable" ,ghc-hashable)
230 ("ghc-scientific" ,ghc-scientific)
231 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
232 ("ghc-unordered-containers" ,ghc-unordered-containers)
233 ("ghc-vector" ,ghc-vector)
234 ("ghc-tagged" ,ghc-tagged)
235 ("ghc-semigroups" ,ghc-semigroups)
236 ("ghc-nats" ,ghc-nats)))
237 (home-page "https://github.com/phadej/aeson-compat")
238 (synopsis "Compatibility layer for ghc-aeson")
239 (description "This Haskell package provides compatibility layer for
240 ghc-aeson.")
241 (license license:bsd-3)))
242
243 (define-public ghc-aeson-diff
244 (package
245 (name "ghc-aeson-diff")
246 (version "1.1.0.7")
247 (source
248 (origin
249 (method url-fetch)
250 (uri (string-append "https://hackage.haskell.org/package/"
251 "aeson-diff/aeson-diff-" version ".tar.gz"))
252 (sha256
253 (base32
254 "01d48pd7d1mb9cd5yxfajln8rmjdjq8ch91s0lav4qw1azv6vp2r"))))
255 (build-system haskell-build-system)
256 (inputs
257 `(("ghc-aeson" ,ghc-aeson)
258 ("ghc-edit-distance-vector" ,ghc-edit-distance-vector)
259 ("ghc-hashable" ,ghc-hashable)
260 ("ghc-scientific" ,ghc-scientific)
261 ("ghc-unordered-containers" ,ghc-unordered-containers)
262 ("ghc-vector" ,ghc-vector)
263 ("ghc-semigroups" ,ghc-semigroups)
264 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
265 (native-inputs
266 `(("ghc-quickcheck" ,ghc-quickcheck)
267 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
268 ("ghc-glob" ,ghc-glob)
269 ("ghc-quickcheck" ,ghc-quickcheck)
270 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
271 ("ghc-quickcheck" ,ghc-quickcheck)
272 ("ghc-doctest" ,ghc-doctest)
273 ("hlint" ,hlint)))
274 (home-page "https://github.com/thsutton/aeson-diff")
275 (synopsis "Extract and apply patches to JSON documents")
276 (description "This is a small library for working with changes to JSON
277 documents. It includes a library and two command-line executables in the
278 style of the @command{diff} and @command{patch} commands available on many
279 systems.")
280 (license license:bsd-3)))
281
282 (define-public ghc-alex
283 (package
284 (name "ghc-alex")
285 (version "3.2.4")
286 (source
287 (origin
288 (method url-fetch)
289 (uri (string-append
290 "https://hackage.haskell.org/package/alex/alex-"
291 version
292 ".tar.gz"))
293 (sha256
294 (base32
295 "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm"))))
296 (build-system haskell-build-system)
297 (arguments
298 `(#:phases
299 (modify-phases %standard-phases
300 (add-before 'check 'set-check-variables
301 (lambda _
302 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
303 (getenv "PATH")))
304 (setenv "alex_datadir" (string-append (getcwd) "/data"))
305 #t)))))
306 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
307 (native-inputs
308 `(("which" ,which)))
309 (home-page "https://www.haskell.org/alex/")
310 (synopsis
311 "Tool for generating lexical analysers in Haskell")
312 (description
313 "Alex is a tool for generating lexical analysers in Haskell. It takes a
314 description of tokens based on regular expressions and generates a Haskell
315 module containing code for scanning text efficiently. It is similar to the
316 tool lex or flex for C/C++.")
317 (license license:bsd-3)))
318
319 (define-public ghc-alsa-core
320 (package
321 (name "ghc-alsa-core")
322 (version "0.5.0.1")
323 (source
324 (origin
325 (method url-fetch)
326 (uri (string-append
327 "mirror://hackage/package/alsa-core/alsa-core-"
328 version
329 ".tar.gz"))
330 (sha256
331 (base32
332 "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b"))))
333 (build-system haskell-build-system)
334 (arguments
335 `(#:extra-directories ("alsa-lib")))
336 (inputs
337 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
338 ("alsa-lib" ,alsa-lib)))
339 (native-inputs
340 `(("pkg-config" ,pkg-config)))
341 (home-page "https://wiki.haskell.org/ALSA")
342 (synopsis "Binding to the ALSA Library API (Exceptions)")
343 (description "This package provides access to ALSA infrastructure, that is
344 needed by both alsa-seq and alsa-pcm.")
345 (license license:bsd-3)))
346
347 (define-public ghc-alsa-mixer
348 (package
349 (name "ghc-alsa-mixer")
350 (version "0.3.0")
351 (source
352 (origin
353 (method url-fetch)
354 (uri
355 (string-append
356 "mirror://hackage/package/alsa-mixer/alsa-mixer-"
357 version ".tar.gz"))
358 (sha256
359 (base32
360 "00ny2p3276jilidjs44npc8zmbhynz3f2lpmlwwl6swwx5yijsnb"))))
361 (build-system haskell-build-system)
362 (inputs `(("ghc-alsa-core" ,ghc-alsa-core)))
363 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
364 (home-page "https://github.com/ttuegel/alsa-mixer")
365 (synopsis "Bindings to the ALSA simple mixer API")
366 (description
367 "This package provides bindings to the ALSA simple mixer API.")
368 (license license:bsd-3)))
369
370 (define-public ghc-annotated-wl-pprint
371 (package
372 (name "ghc-annotated-wl-pprint")
373 (version "0.7.0")
374 (source
375 (origin
376 (method url-fetch)
377 (uri (string-append
378 "https://hackage.haskell.org/package/annotated-wl-pprint"
379 "/annotated-wl-pprint-" version
380 ".tar.gz"))
381 (sha256
382 (base32
383 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
384 (build-system haskell-build-system)
385 (home-page
386 "https://github.com/david-christiansen/annotated-wl-pprint")
387 (synopsis
388 "The Wadler/Leijen Pretty Printer, with annotation support")
389 (description "This is a modified version of wl-pprint, which was based on
390 Wadler's paper \"A Prettier Printer\". This version allows the library user
391 to annotate the text with semantic information, which can later be rendered in
392 a variety of ways.")
393 (license license:bsd-3)))
394
395 (define-public ghc-ansi-terminal
396 (package
397 (name "ghc-ansi-terminal")
398 (version "0.9.1")
399 (source
400 (origin
401 (method url-fetch)
402 (uri (string-append
403 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
404 version
405 ".tar.gz"))
406 (sha256
407 (base32
408 "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l"))))
409 (build-system haskell-build-system)
410 (inputs
411 `(("ghc-colour" ,ghc-colour)))
412 (home-page "https://github.com/feuerbach/ansi-terminal")
413 (synopsis "ANSI terminal support for Haskell")
414 (description "This package provides ANSI terminal support for Haskell. It
415 allows cursor movement, screen clearing, color output showing or hiding the
416 cursor, and changing the title.")
417 (license license:bsd-3)))
418
419 (define-public ghc-ansi-wl-pprint
420 (package
421 (name "ghc-ansi-wl-pprint")
422 (version "0.6.9")
423 (source
424 (origin
425 (method url-fetch)
426 (uri (string-append "https://hackage.haskell.org/package/"
427 "ansi-wl-pprint/ansi-wl-pprint-"
428 version ".tar.gz"))
429 (sha256
430 (base32
431 "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7"))))
432 (build-system haskell-build-system)
433 (inputs
434 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
435 (home-page "https://github.com/ekmett/ansi-wl-pprint")
436 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
437 (description "This is a pretty printing library based on Wadler's paper
438 \"A Prettier Printer\". It has been enhanced with support for ANSI terminal
439 colored output using the ansi-terminal package.")
440 (license license:bsd-3)))
441
442 (define-public ghc-appar
443 (package
444 (name "ghc-appar")
445 (version "0.1.8")
446 (source
447 (origin
448 (method url-fetch)
449 (uri (string-append
450 "https://hackage.haskell.org/package/appar/appar-"
451 version
452 ".tar.gz"))
453 (sha256
454 (base32
455 "07v3h766q9mnhphsm53718h1lds147ix7dj15kc5hnsj4vffvkn4"))))
456 (build-system haskell-build-system)
457 (home-page
458 "https://hackage.haskell.org/package/appar")
459 (synopsis "Simple applicative parser")
460 (description "This package provides a simple applicative parser in Parsec
461 style.")
462 (license license:bsd-3)))
463
464 (define-public ghc-assoc
465 (package
466 (name "ghc-assoc")
467 (version "1.0.1")
468 (source
469 (origin
470 (method url-fetch)
471 (uri (string-append
472 "https://hackage.haskell.org/package/assoc/assoc-"
473 version
474 ".tar.gz"))
475 (sha256
476 (base32
477 "1m9n4vp190bvn2wcrd4ggfwa9pi93jp0zgx02mdgywn2zfidw020"))))
478 (build-system haskell-build-system)
479 (inputs
480 `(("ghc-bifunctors" ,ghc-bifunctors)
481 ("ghc-tagged" ,ghc-tagged)))
482 (home-page
483 "http://hackage.haskell.org/package/assoc")
484 (synopsis
485 "Swap and assoc: Symmetric and Semigroupy Bifunctors")
486 (description
487 "Provides generalisations of @code{swap :: (a,b) -> (b,a)} and
488 @code{assoc :: ((a,b),c) -> (a,(b,c))} to @code{Bifunctor}s supporting
489 similar operations (e.g. @code{Either}, @code{These}).")
490 (license license:bsd-3)))
491
492 (define-public ghc-async
493 (package
494 (name "ghc-async")
495 (version "2.2.2")
496 (source
497 (origin
498 (method url-fetch)
499 (uri (string-append
500 "https://hackage.haskell.org/package/async/async-"
501 version
502 ".tar.gz"))
503 (sha256
504 (base32
505 "1zxvfcyy4sg8lmzphi5dgnavksj5pav6rbvd5kc48lf4hanb2jjb"))))
506 (build-system haskell-build-system)
507 (inputs
508 `(("ghc-hashable" ,ghc-hashable)
509 ("ghc-hunit" ,ghc-hunit)
510 ("ghc-test-framework" ,ghc-test-framework)
511 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
512 (home-page "https://github.com/simonmar/async")
513 (synopsis "Library to run IO operations asynchronously")
514 (description "Async provides a library to run IO operations
515 asynchronously, and wait for their results. It is a higher-level interface
516 over threads in Haskell, in which @code{Async a} is a concurrent thread that
517 will eventually deliver a value of type @code{a}.")
518 (license license:bsd-3)))
519
520 (define-public ghc-atomic-primops
521 (package
522 (name "ghc-atomic-primops")
523 (version "0.8.3")
524 (source
525 (origin
526 (method url-fetch)
527 (uri (string-append "https://hackage.haskell.org/package/atomic-primops"
528 "/atomic-primops-" version ".tar.gz"))
529 (sha256
530 (base32
531 "03n5dmyplrqgbyf8dr91izkxci7gkl3i3fnp82i5ld869zrgjfh0"))))
532 (build-system haskell-build-system)
533 (inputs `(("ghc-primitive" ,ghc-primitive)))
534 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
535 (synopsis "Safe approach to CAS and other atomic ops")
536 (description
537 "GHC 7.4 introduced a new @code{casMutVar} PrimOp which is difficult to
538 use safely, because pointer equality is a highly unstable property in Haskell.
539 This library provides a safer method based on the concept of @code{Ticket}s.")
540 (license license:bsd-3)))
541
542 (define-public ghc-atomic-write
543 (package
544 (name "ghc-atomic-write")
545 (version "0.2.0.6")
546 (source
547 (origin
548 (method url-fetch)
549 (uri (string-append
550 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
551 version
552 ".tar.gz"))
553 (sha256
554 (base32
555 "1xs3shwnlj8hmnm3q6jc8nv78z0481i5n4hrqqdmbpx8grvlnqyl"))))
556 (build-system haskell-build-system)
557 (inputs
558 `(("ghc-temporary" ,ghc-temporary)
559 ("ghc-unix-compat" ,ghc-unix-compat)))
560 (native-inputs
561 `(("ghc-temporary" ,ghc-temporary)
562 ("ghc-unix-compat" ,ghc-unix-compat)
563 ("ghc-hspec" ,ghc-hspec)
564 ("hspec-discover" ,hspec-discover)))
565 (home-page "https://github.com/stackbuilders/atomic-write")
566 (synopsis "Atomically write to a file")
567 (description
568 "Atomically write to a file on POSIX-compliant systems while preserving
569 permissions. @code{mv} is an atomic operation. This makes it simple to write
570 to a file atomically just by using the @code{mv} operation. However, this
571 will destroy the permissions on the original file. This library preserves
572 permissions while atomically writing to a file.")
573 (license license:expat)))
574
575 (define-public ghc-atomic-write-0.2.0.7
576 (package
577 (inherit ghc-atomic-write)
578 (version "0.2.0.7")
579 (source
580 (origin
581 (inherit (package-source ghc-atomic-write))
582 (uri (string-append
583 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
584 version
585 ".tar.gz"))
586 (sha256
587 (base32
588 "03cn3ii74h0w3g4h78xsx9v2sn58r3qsr2dbdwq340xwhiwcgxdm"))))))
589
590 (define-public ghc-attoparsec
591 (package
592 (name "ghc-attoparsec")
593 (version "0.13.2.3")
594 (source
595 (origin
596 (method url-fetch)
597 (uri (string-append
598 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
599 version
600 ".tar.gz"))
601 (sha256
602 (base32
603 "1ngjn9h5n0vyki0m2jir4mg85875ysswy9hznpmj1r856mqwc6ix"))))
604 (build-system haskell-build-system)
605 (arguments
606 `(#:phases
607 (modify-phases %standard-phases
608 (add-after 'unpack 'patch-for-newer-quickcheck
609 (lambda _
610 (substitute* "attoparsec.cabal"
611 (("QuickCheck >= 2\\.7 && < 2\\.10")
612 "QuickCheck >= 2.7 && < 2.12"))
613 ;; This test fails because of the newer QuickCheck:
614 ;; <https://github.com/bos/attoparsec/issues/134>.
615 (substitute* "tests/QC/ByteString.hs"
616 ((", testProperty \"satisfyWith\" satisfyWith")
617 "")))))))
618 (inputs
619 `(("ghc-scientific" ,ghc-scientific)))
620 (native-inputs
621 `(("ghc-tasty" ,ghc-tasty)
622 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
623 ("ghc-quickcheck" ,ghc-quickcheck)
624 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
625 ("ghc-vector" ,ghc-vector)))
626 (home-page "https://github.com/bos/attoparsec")
627 (synopsis "Fast combinator parsing for bytestrings and text")
628 (description "This library provides a fast parser combinator library,
629 aimed particularly at dealing efficiently with network protocols and
630 complicated text/binary file formats.")
631 (license license:bsd-3)))
632
633 (define-public ghc-attoparsec-bootstrap
634 (package
635 (inherit ghc-attoparsec)
636 (name "ghc-attoparsec-bootstrap")
637 (arguments `(#:tests? #f))
638 (inputs
639 `(("ghc-scientific" ,ghc-scientific-bootstrap)))
640 (native-inputs '())
641 (properties '((hidden? #t)))))
642
643 (define-public ghc-attoparsec-iso8601
644 (package
645 (name "ghc-attoparsec-iso8601")
646 (version "1.0.1.0")
647 (source
648 (origin
649 (method url-fetch)
650 (uri (string-append "https://hackage.haskell.org/package/"
651 "attoparsec-iso8601-" version "/"
652 "attoparsec-iso8601-" version ".tar.gz"))
653 (sha256
654 (base32
655 "0hj10w15qp2z5bz2v4xahhmbgzclpyfi5l2sv97wqycysg9gp7s9"))))
656 (build-system haskell-build-system)
657 (arguments
658 `(#:cabal-revision
659 ("1" "1rjhscmczgs1bwyqx7lvkm8py3ylxjd2797mrzgnq60fvm292750")))
660 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
661 ("ghc-base-compat" ,ghc-base-compat)))
662 (home-page "https://github.com/bos/aeson")
663 (synopsis "Parse ISO 8601 dates")
664 (description "Haskell library for parsing of ISO 8601 dates, originally
665 from aeson.")
666 (license license:bsd-3)))
667
668 (define-public ghc-auto-update
669 (package
670 (name "ghc-auto-update")
671 (version "0.1.6")
672 (source
673 (origin
674 (method url-fetch)
675 (uri (string-append
676 "https://hackage.haskell.org/package/auto-update/auto-update-"
677 version
678 ".tar.gz"))
679 (sha256
680 (base32
681 "1i36xc2i34aync8271x3pv515l3zb53i518dybn8ghqkhzf27q7l"))))
682 (build-system haskell-build-system)
683 (native-inputs
684 `(("ghc-hspec" ,ghc-hspec)
685 ("ghc-hunit" ,ghc-hunit)
686 ("ghc-retry" ,ghc-retry)
687 ("hspec-discover" ,hspec-discover)))
688 (home-page "https://github.com/yesodweb/wai")
689 (synopsis "Efficiently run periodic, on-demand actions")
690 (description "This library provides mechanisms to efficiently run
691 periodic, on-demand actions in Haskell.")
692 (license license:expat)))
693
694 (define-public ghc-aws
695 (package
696 (name "ghc-aws")
697 (version "0.20")
698 (source
699 (origin
700 (method url-fetch)
701 (uri (string-append "https://hackage.haskell.org/package/"
702 "aws-" version "/aws-" version ".tar.gz"))
703 (sha256 (base32
704 "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0"))))
705 (build-system haskell-build-system)
706 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
707 (inputs
708 `(("ghc-aeson" ,ghc-aeson)
709 ("ghc-attoparsec" ,ghc-attoparsec)
710 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
711 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
712 ("ghc-blaze-builder" ,ghc-blaze-builder)
713 ("ghc-byteable" ,ghc-byteable)
714 ("ghc-case-insensitive" ,ghc-case-insensitive)
715 ("ghc-cereal" ,ghc-cereal)
716 ("ghc-conduit" ,ghc-conduit)
717 ("ghc-conduit-extra" ,ghc-conduit-extra)
718 ("ghc-cryptonite" ,ghc-cryptonite)
719 ("ghc-data-default" ,ghc-data-default)
720 ("ghc-http-conduit" ,ghc-http-conduit)
721 ("ghc-http-types" ,ghc-http-types)
722 ("ghc-lifted-base" ,ghc-lifted-base)
723 ("ghc-monad-control" ,ghc-monad-control)
724 ("ghc-network" ,ghc-network)
725 ("ghc-old-locale" ,ghc-old-locale)
726 ("ghc-safe" ,ghc-safe)
727 ("ghc-scientific" ,ghc-scientific)
728 ("ghc-tagged" ,ghc-tagged)
729 ("ghc-unordered-containers" ,ghc-unordered-containers)
730 ("ghc-utf8-string" ,ghc-utf8-string)
731 ("ghc-vector" ,ghc-vector)
732 ("ghc-xml-conduit" ,ghc-xml-conduit)))
733 (native-inputs
734 `(("ghc-quickcheck" ,ghc-quickcheck)
735 ("ghc-errors" ,ghc-errors)
736 ("ghc-http-client" ,ghc-http-client)
737 ("ghc-http-client-tls" ,ghc-http-client-tls)
738 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
739 ("ghc-tasty" ,ghc-tasty)
740 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
741 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
742 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
743 (home-page "https://github.com/aristidb/aws")
744 (synopsis "Amazon Web Services for Haskell")
745 (description "This package attempts to provide support for using
746 Amazon Web Services like S3 (storage), SQS (queuing) and others to
747 Haskell programmers. The ultimate goal is to support all Amazon
748 Web Services.")
749 (license license:bsd-3)))
750
751 (define-public ghc-base16-bytestring
752 (package
753 (name "ghc-base16-bytestring")
754 (version "0.1.1.6")
755 (source
756 (origin
757 (method url-fetch)
758 (uri (string-append
759 "https://hackage.haskell.org/package/base16-bytestring/"
760 "base16-bytestring-" version ".tar.gz"))
761 (sha256
762 (base32
763 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
764 (build-system haskell-build-system)
765 (home-page "https://github.com/bos/base16-bytestring")
766 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
767 (description
768 "This package provides a Haskell library for working with base16-encoded
769 data quickly and efficiently, using the ByteString type.")
770 (license license:bsd-3)))
771
772 (define-public ghc-base64-bytestring
773 (package
774 (name "ghc-base64-bytestring")
775 (version "1.0.0.2")
776 (source
777 (origin
778 (method url-fetch)
779 (uri (string-append
780 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
781 version
782 ".tar.gz"))
783 (sha256
784 (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr"))))
785 (build-system haskell-build-system)
786 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
787 (home-page "https://github.com/bos/base64-bytestring")
788 (synopsis "Base64 encoding and decoding for ByteStrings")
789 (description "This library provides fast base64 encoding and decoding for
790 Haskell @code{ByteString}s.")
791 (license license:bsd-3)))
792
793 (define-public ghc-base-compat
794 (package
795 (name "ghc-base-compat")
796 (version "0.10.5")
797 (source
798 (origin
799 (method url-fetch)
800 (uri (string-append
801 "https://hackage.haskell.org/package/base-compat/base-compat-"
802 version
803 ".tar.gz"))
804 (sha256
805 (base32
806 "0hgvlqcr852hfp52jp99snhbj550mvxxpi8qn15d8ml9aqhyl2lr"))))
807 (build-system haskell-build-system)
808 (outputs '("out" "static" "doc"))
809 (native-inputs
810 `(("ghc-quickcheck" ,ghc-quickcheck)
811 ("ghc-hspec" ,ghc-hspec)
812 ("hspec-discover" ,hspec-discover)))
813 (home-page "https://hackage.haskell.org/package/base-compat")
814 (synopsis "Haskell compiler compatibility library")
815 (description "This library provides functions available in later versions
816 of base to a wider range of compilers, without requiring the use of CPP
817 pragmas in your code.")
818 (license license:bsd-3)))
819
820 (define-public ghc-base-compat-batteries
821 (package
822 (name "ghc-base-compat-batteries")
823 (version "0.10.5")
824 (source
825 (origin
826 (method url-fetch)
827 (uri (string-append "https://hackage.haskell.org/package/"
828 "base-compat-batteries/base-compat-batteries-"
829 version ".tar.gz"))
830 (sha256
831 (base32
832 "1vkhc639vqiv5p39jn1v312z32i7yk5q2lf0ap4jxl1v8p8wyp8p"))))
833 (build-system haskell-build-system)
834 (inputs
835 `(("ghc-base-compat" ,ghc-base-compat)))
836 (native-inputs
837 `(("ghc-hspec" ,ghc-hspec)
838 ("ghc-quickcheck" ,ghc-quickcheck)
839 ("hspec-discover" ,hspec-discover)))
840 (arguments
841 `(#:cabal-revision
842 ("1" "15sn2qc8k0hxbb2nai341kkrci98hlhzcj2ci087m0zxcg5jcdbp")))
843 (home-page "https://hackage.haskell.org/package/base-compat-batteries")
844 (synopsis "base-compat with extra batteries")
845 (description "This library provides functions available in later
846 versions of @code{base} to a wider range of compilers, without requiring
847 you to use CPP pragmas in your code. This package provides the same API
848 as the @code{base-compat} library, but depends on compatibility
849 packages (such as @code{semigroups}) to offer a wider support window
850 than @code{base-compat}, which has no dependencies.")
851 (license license:expat)))
852
853 (define-public ghc-basement
854 (package
855 (name "ghc-basement")
856 (version "0.0.11")
857 (source
858 (origin
859 (method url-fetch)
860 (uri (string-append "https://hackage.haskell.org/package/"
861 "basement/basement-" version ".tar.gz"))
862 (sha256
863 (base32
864 "0srlws74yiraqaapgcjd9p5d1fwb3zr9swcz74jpjm55fls2nn37"))))
865 (build-system haskell-build-system)
866 (outputs '("out" "static" "doc"))
867 (home-page "https://github.com/haskell-foundation/foundation")
868 (synopsis "Basic primitives for Foundation starter pack")
869 (description
870 "This package contains basic primitives for the Foundation set of
871 packages.")
872 (license license:bsd-3)))
873
874 (define-public ghc-base-orphans
875 (package
876 (name "ghc-base-orphans")
877 (version "0.8.1")
878 (source
879 (origin
880 (method url-fetch)
881 (uri (string-append
882 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
883 version
884 ".tar.gz"))
885 (sha256
886 (base32
887 "1nwr9av27i9p72k0sn96mw3ywdczw65dy5gd5wxpabhhxlxdcas4"))))
888 (build-system haskell-build-system)
889 (native-inputs
890 `(("ghc-quickcheck" ,ghc-quickcheck)
891 ("ghc-hspec" ,ghc-hspec)
892 ("hspec-discover" ,hspec-discover)))
893 (home-page "https://hackage.haskell.org/package/base-orphans")
894 (synopsis "Orphan instances for backwards compatibility")
895 (description "This package defines orphan instances that mimic instances
896 available in later versions of base to a wider (older) range of compilers.")
897 (license license:bsd-3)))
898
899 (define-public ghc-base-prelude
900 (package
901 (name "ghc-base-prelude")
902 (version "1.3")
903 (source
904 (origin
905 (method url-fetch)
906 (uri (string-append "https://hackage.haskell.org/package/"
907 "base-prelude-" version "/"
908 "base-prelude-" version ".tar.gz"))
909 (sha256
910 (base32
911 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
912 (build-system haskell-build-system)
913 (outputs '("out" "static" "doc"))
914 (home-page "https://github.com/nikita-volkov/base-prelude")
915 (synopsis "The most complete prelude formed solely from the Haskell's base
916 package")
917 (description "This Haskell package aims to reexport all the non-conflicting
918 and most general definitions from the \"base\" package.
919
920 This includes APIs for applicatives, arrows, monoids, foldables, traversables,
921 exceptions, generics, ST, MVars and STM.
922
923 This package will never have any dependencies other than \"base\".
924
925 Versioning policy:
926
927 The versioning policy of this package deviates from PVP in the sense
928 that its exports in part are transitively determined by the version of \"base\".
929 Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
930 the bounds of \"base\" as well.")
931 (license license:expat)))
932
933 (define-public ghc-base-unicode-symbols
934 (package
935 (name "ghc-base-unicode-symbols")
936 (version "0.2.3")
937 (source
938 (origin
939 (method url-fetch)
940 (uri (string-append
941 "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-"
942 version
943 ".tar.gz"))
944 (sha256
945 (base32
946 "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf"))))
947 (build-system haskell-build-system)
948 (home-page "https://wiki.haskell.org/Unicode-symbols")
949 (synopsis "Unicode alternatives for common functions and operators")
950 (description "This package defines new symbols for a number of functions,
951 operators and types in the base package. All symbols are documented with
952 their actual definition and information regarding their Unicode code point.
953 They should be completely interchangeable with their definitions. For
954 further Unicode goodness you can enable the @code{UnicodeSyntax}
955 @url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax,
956 language extension}. This extension enables Unicode characters to be used to
957 stand for certain ASCII character sequences, i.e. → instead of @code{->},
958 ∀ instead of @code{forall} and many others.")
959 (license license:bsd-3)))
960
961 (define-public ghc-basic-prelude
962 (package
963 (name "ghc-basic-prelude")
964 (version "0.7.0")
965 (source
966 (origin
967 (method url-fetch)
968 (uri (string-append
969 "https://hackage.haskell.org/package/basic-prelude/"
970 "basic-prelude-" version ".tar.gz"))
971 (sha256
972 (base32
973 "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h"))))
974 (build-system haskell-build-system)
975 (inputs
976 `(("ghc-hashable" ,ghc-hashable)
977 ("ghc-unordered-containers"
978 ,ghc-unordered-containers)
979 ("ghc-vector" ,ghc-vector)))
980 (home-page "https://github.com/snoyberg/basic-prelude#readme")
981 (synopsis "Enhanced core prelude; a common foundation for alternate preludes")
982 (description
983 "The premise of basic-prelude is that there are a lot of very commonly
984 desired features missing from the standard Prelude, such as commonly used
985 operators (<$> and >=>, for instance) and imports for common datatypes
986 (e.g., ByteString and Vector). At the same time, there are lots of other
987 components which are more debatable, such as providing polymorphic versions
988 of common functions.
989
990 So basic-prelude is intended to give a common foundation for a number of
991 alternate preludes. The package provides two modules: CorePrelude provides
992 the common ground for other preludes to build on top of, while BasicPrelude
993 exports CorePrelude together with commonly used list functions to provide a
994 drop-in replacement for the standard Prelude.
995
996 Users wishing to have an improved Prelude can use BasicPrelude. Developers
997 wishing to create a new prelude should use CorePrelude.")
998 (license license:expat)))
999
1000 (define-public ghc-bencode
1001 (package
1002 (name "ghc-bencode")
1003 (version "0.6.1.1")
1004 (source
1005 (origin
1006 (method url-fetch)
1007 (uri (string-append
1008 "https://hackage.haskell.org/package/bencode/bencode-"
1009 version ".tar.gz"))
1010 (sha256
1011 (base32 "0znv0y3b3zm5jvhlvj5f5s7y93db67j9yd59w1bnrw2pqv30gqaq"))))
1012 (build-system haskell-build-system)
1013 (inputs
1014 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
1015 (native-inputs
1016 `(("ghc-hspec" ,ghc-hspec)
1017 ("ghc-quickcheck" ,ghc-quickcheck)))
1018 (home-page "https://hackage.haskell.org/package/bencode")
1019 (synopsis "Parsers and printers for bencoded data")
1020 (description
1021 "This library provides parsers and printers for bencoded data. Bencode
1022 is the encoding used by the peer-to-peer file sharing system BitTorrent for
1023 storing and transmitting loosely structured data.")
1024 (license license:bsd-3)))
1025
1026 (define-public ghc-bifunctors
1027 (package
1028 (name "ghc-bifunctors")
1029 (version "5.5.5")
1030 (source
1031 (origin
1032 (method url-fetch)
1033 (uri (string-append
1034 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
1035 version
1036 ".tar.gz"))
1037 (sha256
1038 (base32
1039 "0rn47q8dzv0g1fyams99p4py6q0asxdc50q9k0nj497brk738xcb"))))
1040 (build-system haskell-build-system)
1041 (inputs
1042 `(("ghc-base-orphans" ,ghc-base-orphans)
1043 ("ghc-comonad" ,ghc-comonad)
1044 ("ghc-th-abstraction" ,ghc-th-abstraction)
1045 ("ghc-transformers-compat" ,ghc-transformers-compat)
1046 ("ghc-tagged" ,ghc-tagged)
1047 ("ghc-semigroups" ,ghc-semigroups)))
1048 (native-inputs
1049 `(("ghc-hspec" ,ghc-hspec)
1050 ("hspec-discover" ,hspec-discover)
1051 ("ghc-quickcheck" ,ghc-quickcheck)))
1052 (home-page "https://github.com/ekmett/bifunctors/")
1053 (synopsis "Bifunctors for Haskell")
1054 (description "This package provides bifunctors for Haskell.")
1055 (license license:bsd-3)))
1056
1057 (define-public ghc-bindings-dsl
1058 (package
1059 (name "ghc-bindings-dsl")
1060 (version "1.0.25")
1061 (source
1062 (origin
1063 (method url-fetch)
1064 (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/"
1065 "bindings-DSL-" version ".tar.gz"))
1066 (sha256
1067 (base32
1068 "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3"))))
1069 (build-system haskell-build-system)
1070 (home-page "https://github.com/jwiegley/bindings-dsl/wiki")
1071 (synopsis "FFI domain specific language, on top of hsc2hs")
1072 (description
1073 "This is a set of macros to be used when writing Haskell FFI. They were
1074 designed to be able to fully describe C interfaces, so that @code{hsc2hs} can
1075 extract from them all Haskell code needed to mimic such interfaces. All
1076 Haskell names used are automatically derived from C names, structures are
1077 mapped to Haskell instances of @code{Storable}, and there are also macros you
1078 can use with C code to help write bindings to inline functions or macro
1079 functions.")
1080 (license license:bsd-3)))
1081
1082 (define-public ghc-bitarray
1083 (package
1084 (name "ghc-bitarray")
1085 (version "0.0.1.1")
1086 (source
1087 (origin
1088 (method url-fetch)
1089 (uri (string-append "https://hackage.haskell.org/package/"
1090 "bitarray/bitarray-" version ".tar.gz"))
1091 (sha256
1092 (base32
1093 "00nqd62cbh42qqqvcl6iv1i9kbv0f0mkiygv4j70wfh5cl86yzxj"))))
1094 (build-system haskell-build-system)
1095 (arguments
1096 `(#:cabal-revision
1097 ("1" "10fk92v9afjqk43zi621jxl0n8kci0xjj32lz3vqa9xbh67zjz45")))
1098 (home-page "https://hackage.haskell.org/package/bitarray")
1099 (synopsis "Mutable and immutable bit arrays")
1100 (description "The package provides mutable and immutable bit arrays.")
1101 (license license:bsd-3)))
1102
1103 (define-public ghc-blaze-builder
1104 (package
1105 (name "ghc-blaze-builder")
1106 (version "0.4.1.0")
1107 (source
1108 (origin
1109 (method url-fetch)
1110 (uri (string-append
1111 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
1112 version
1113 ".tar.gz"))
1114 (sha256
1115 (base32
1116 "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i"))))
1117 (build-system haskell-build-system)
1118 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
1119 (inputs
1120 `(("ghc-utf8-string" ,ghc-utf8-string)))
1121 (home-page "https://github.com/lpsmith/blaze-builder")
1122 (synopsis "Efficient buffered output")
1123 (description "This library provides an implementation of the older
1124 @code{blaze-builder} interface in terms of the new builder that shipped with
1125 @code{bytestring-0.10.4.0}. This implementation is mostly intended as a
1126 bridge to the new builder, so that code that uses the old interface can
1127 interoperate with code that uses the new implementation.")
1128 (license license:bsd-3)))
1129
1130 (define-public ghc-blaze-markup
1131 (package
1132 (name "ghc-blaze-markup")
1133 (version "0.8.2.3")
1134 (source
1135 (origin
1136 (method url-fetch)
1137 (uri (string-append "https://hackage.haskell.org/package/"
1138 "blaze-markup/blaze-markup-"
1139 version ".tar.gz"))
1140 (sha256
1141 (base32
1142 "1g9m7ansj7fdyzhz1wqkbzn5amjm50vjgjdwkbjc5qqhagnv1y3j"))))
1143 (build-system haskell-build-system)
1144 (arguments
1145 `(#:phases
1146 (modify-phases %standard-phases
1147 (add-before 'configure 'update-constraints
1148 (lambda _
1149 (substitute* "blaze-markup.cabal"
1150 (("tasty >= 1\\.0 && < 1\\.1")
1151 "tasty >= 1.0 && < 1.2")))))))
1152 (inputs
1153 `(("ghc-blaze-builder" ,ghc-blaze-builder)))
1154 (native-inputs
1155 `(("ghc-hunit" ,ghc-hunit)
1156 ("ghc-quickcheck" ,ghc-quickcheck)
1157 ("ghc-tasty" ,ghc-tasty)
1158 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
1159 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
1160 (home-page "https://jaspervdj.be/blaze")
1161 (synopsis "Fast markup combinator library for Haskell")
1162 (description "This library provides core modules of a markup combinator
1163 library for Haskell.")
1164 (license license:bsd-3)))
1165
1166 (define-public ghc-bloomfilter
1167 (package
1168 (name "ghc-bloomfilter")
1169 (version "2.0.1.0")
1170 (source
1171 (origin
1172 (method url-fetch)
1173 (uri (string-append "https://hackage.haskell.org/package/"
1174 "bloomfilter/bloomfilter-" version ".tar.gz"))
1175 (sha256
1176 (base32
1177 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
1178 (build-system haskell-build-system)
1179 (native-inputs
1180 `(("ghc-quickcheck" ,ghc-quickcheck)
1181 ("ghc-random" ,ghc-random)
1182 ("ghc-test-framework" ,ghc-test-framework)
1183 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1184 (home-page "https://github.com/bos/bloomfilter")
1185 (synopsis "Pure and impure Bloom filter implementations")
1186 (description "This package provides both mutable and immutable Bloom
1187 filter data types, along with a family of hash functions and an easy-to-use
1188 interface.")
1189 (license license:bsd-3)))
1190
1191 (define-public ghc-boxes
1192 (package
1193 (name "ghc-boxes")
1194 (version "0.1.5")
1195 (source
1196 (origin
1197 (method url-fetch)
1198 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
1199 version ".tar.gz"))
1200 (sha256
1201 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
1202 (build-system haskell-build-system)
1203 (inputs
1204 `(("ghc-split" ,ghc-split)
1205 ("ghc-quickcheck" ,ghc-quickcheck)))
1206 (home-page "https://hackage.haskell.org/package/boxes")
1207 (synopsis "2D text pretty-printing library")
1208 (description
1209 "Boxes is a pretty-printing library for laying out text in two dimensions,
1210 using a simple box model.")
1211 (license license:bsd-3)))
1212
1213 (define-public ghc-byteable
1214 (package
1215 (name "ghc-byteable")
1216 (version "0.1.1")
1217 (source (origin
1218 (method url-fetch)
1219 (uri (string-append "https://hackage.haskell.org/package/"
1220 "byteable/byteable-" version ".tar.gz"))
1221 (sha256
1222 (base32
1223 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
1224 (build-system haskell-build-system)
1225 (home-page "https://github.com/vincenthz/hs-byteable")
1226 (synopsis "Type class for sequence of bytes")
1227 (description
1228 "This package provides an abstract class to manipulate sequence of bytes.
1229 The use case of this class is abstracting manipulation of types that are just
1230 wrapping a bytestring with stronger and more meaniful name.")
1231 (license license:bsd-3)))
1232
1233 (define-public ghc-byteorder
1234 (package
1235 (name "ghc-byteorder")
1236 (version "1.0.4")
1237 (source
1238 (origin
1239 (method url-fetch)
1240 (uri (string-append
1241 "https://hackage.haskell.org/package/byteorder/byteorder-"
1242 version
1243 ".tar.gz"))
1244 (sha256
1245 (base32
1246 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
1247 (build-system haskell-build-system)
1248 (home-page
1249 "http://community.haskell.org/~aslatter/code/byteorder")
1250 (synopsis
1251 "Exposes the native endianness of the system")
1252 (description
1253 "This package is for working with the native byte-ordering of the
1254 system.")
1255 (license license:bsd-3)))
1256
1257 (define-public ghc-bytes
1258 (package
1259 (name "ghc-bytes")
1260 (version "0.15.5")
1261 (source
1262 (origin
1263 (method url-fetch)
1264 (uri
1265 (string-append "https://hackage.haskell.org/package/bytes-"
1266 version "/bytes-"
1267 version ".tar.gz"))
1268 (file-name (string-append name "-" version ".tar.gz"))
1269 (sha256
1270 (base32
1271 "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683"))))
1272 (build-system haskell-build-system)
1273 (inputs `(("ghc-cereal" ,ghc-cereal)
1274 ("cabal-doctest" ,cabal-doctest)
1275 ("ghc-doctest" ,ghc-doctest)
1276 ("ghc-scientific" ,ghc-scientific)
1277 ("ghc-transformers-compat" ,ghc-transformers-compat)
1278 ("ghc-unordered-containers" ,ghc-unordered-containers)
1279 ("ghc-void" ,ghc-void)
1280 ("ghc-vector" ,ghc-vector)))
1281 (synopsis "Serialization between @code{binary} and @code{cereal}")
1282 (description "This package provides a simple compatibility shim that lets
1283 you work with both @code{binary} and @code{cereal} with one chunk of
1284 serialization code.")
1285 (home-page "https://hackage.haskell.org/package/bytes")
1286 (license license:bsd-3)))
1287
1288 (define-public ghc-bytestring-builder
1289 (package
1290 (name "ghc-bytestring-builder")
1291 (version "0.10.8.2.0")
1292 (source
1293 (origin
1294 (method url-fetch)
1295 (uri (string-append
1296 "https://hackage.haskell.org/package/bytestring-builder"
1297 "/bytestring-builder-" version ".tar.gz"))
1298 (sha256
1299 (base32
1300 "0grcrgwwwcvwrs9az7l4d3kf0lsqfa9qpmjzf6iyanvwn9nyzyi7"))))
1301 (build-system haskell-build-system)
1302 (arguments `(#:haddock? #f)) ; Package contains no documentation.
1303 (home-page "https://hackage.haskell.org/package/bytestring-builder")
1304 (synopsis "The new bytestring builder, packaged outside of GHC")
1305 (description "This package provides the bytestring builder that is
1306 debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
1307 Compatibility package for older packages.")
1308 (license license:bsd-3)))
1309
1310 (define-public ghc-bytestring-handle
1311 (package
1312 (name "ghc-bytestring-handle")
1313 (version "0.1.0.6")
1314 (source
1315 (origin
1316 (method url-fetch)
1317 (uri (string-append
1318 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
1319 version ".tar.gz"))
1320 (sha256
1321 (base32
1322 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
1323 (build-system haskell-build-system)
1324 (arguments
1325 `(#:cabal-revision
1326 ("1" "0x11aj6w1lijh84jcdq1qgyvdnc7i9ivbyq4wf9rxicg57viisz9")
1327 #:phases
1328 (modify-phases %standard-phases
1329 (add-before 'configure 'update-constraints
1330 (lambda _
1331 (substitute* "bytestring-handle.cabal"
1332 (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
1333 "QuickCheck >= 2.1.2 && < 2.14")))))))
1334 (inputs
1335 `(("ghc-hunit" ,ghc-hunit)
1336 ("ghc-quickcheck" ,ghc-quickcheck)
1337 ("ghc-test-framework" ,ghc-test-framework)
1338 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1339 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1340 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
1341 (synopsis "ByteString-backed Handles")
1342 (description "ByteString-backed Handles") ; There is no description
1343 (license license:bsd-3)))
1344
1345 (define-public ghc-bytestring-lexing
1346 (package
1347 (name "ghc-bytestring-lexing")
1348 (version "0.5.0.2")
1349 (source
1350 (origin
1351 (method url-fetch)
1352 (uri (string-append "https://hackage.haskell.org/package/"
1353 "bytestring-lexing/bytestring-lexing-"
1354 version ".tar.gz"))
1355 (sha256
1356 (base32
1357 "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81"))))
1358 (build-system haskell-build-system)
1359 (home-page "http://code.haskell.org/~wren/")
1360 (synopsis "Parse and produce literals from strict or lazy bytestrings")
1361 (description
1362 "This package provides tools to parse and produce literals efficiently
1363 from strict or lazy bytestrings.")
1364 (license license:bsd-2)))
1365
1366 (define-public ghc-bzlib-conduit
1367 (package
1368 (name "ghc-bzlib-conduit")
1369 (version "0.3.0.2")
1370 (source
1371 (origin
1372 (method url-fetch)
1373 (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/"
1374 "bzlib-conduit-" version ".tar.gz"))
1375 (sha256
1376 (base32
1377 "0a21zin5plsl37hkxh2jv8cxwyjrbs2fy7n5cyrzgdaa7lmp6b7b"))))
1378 (build-system haskell-build-system)
1379 (inputs
1380 `(("ghc-bindings-dsl" ,ghc-bindings-dsl)
1381 ("ghc-conduit" ,ghc-conduit)
1382 ("ghc-data-default-class" ,ghc-data-default-class)
1383 ("ghc-resourcet" ,ghc-resourcet)))
1384 (native-inputs
1385 `(("ghc-hspec" ,ghc-hspec)
1386 ("ghc-random" ,ghc-random)))
1387 (home-page "https://github.com/snoyberg/bzlib-conduit")
1388 (synopsis "Streaming compression/decompression via conduits")
1389 (description
1390 "This package provides Haskell bindings to bzlib and Conduit support for
1391 streaming compression and decompression.")
1392 (license license:bsd-3)))
1393
1394 (define-public ghc-c2hs
1395 (package
1396 (name "ghc-c2hs")
1397 (version "0.28.6")
1398 (source
1399 (origin
1400 (method url-fetch)
1401 (uri (string-append
1402 "https://hackage.haskell.org/package/c2hs/c2hs-"
1403 version
1404 ".tar.gz"))
1405 (sha256
1406 (base32
1407 "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci"))))
1408 (build-system haskell-build-system)
1409 (inputs
1410 `(("ghc-language-c" ,ghc-language-c)
1411 ("ghc-dlist" ,ghc-dlist)))
1412 (native-inputs
1413 `(("ghc-test-framework" ,ghc-test-framework)
1414 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1415 ("ghc-hunit" ,ghc-hunit)
1416 ("ghc-shelly" ,ghc-shelly)))
1417 (arguments
1418 `(#:phases
1419 (modify-phases %standard-phases
1420 (add-before 'check 'set-cc
1421 ;; add a cc executable in the path, needed for some tests to pass
1422 (lambda* (#:key inputs #:allow-other-keys)
1423 (let ((gcc (assoc-ref inputs "gcc"))
1424 (tmpbin (tmpnam))
1425 (curpath (getenv "PATH")))
1426 (mkdir-p tmpbin)
1427 (symlink (which "gcc") (string-append tmpbin "/cc"))
1428 (setenv "PATH" (string-append tmpbin ":" curpath)))
1429 #t))
1430 (add-after 'check 'remove-cc
1431 ;; clean the tmp dir made in 'set-cc
1432 (lambda _
1433 (let* ((cc-path (which "cc"))
1434 (cc-dir (dirname cc-path)))
1435 (delete-file-recursively cc-dir)
1436 #t))))))
1437 (home-page "https://github.com/haskell/c2hs")
1438 (synopsis "Create Haskell bindings to C libraries")
1439 (description "C->Haskell assists in the development of Haskell bindings to
1440 C libraries. It extracts interface information from C header files and
1441 generates Haskell code with foreign imports and marshaling. Unlike writing
1442 foreign imports by hand (or using hsc2hs), this ensures that C functions are
1443 imported with the correct Haskell types.")
1444 (license license:gpl2)))
1445
1446 (define-public ghc-cairo
1447 (package
1448 (name "ghc-cairo")
1449 (version "0.13.5.0")
1450 (source
1451 (origin
1452 (method url-fetch)
1453 (uri (string-append "https://hackage.haskell.org/package/cairo/"
1454 "cairo-" version ".tar.gz"))
1455 (sha256
1456 (base32
1457 "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2"))))
1458 (build-system haskell-build-system)
1459 (arguments
1460 `(#:modules ((guix build haskell-build-system)
1461 (guix build utils)
1462 (ice-9 match)
1463 (srfi srfi-26))
1464 #:phases
1465 (modify-phases %standard-phases
1466 ;; FIXME: This is a copy of the standard configure phase with a tiny
1467 ;; difference: this package needs the -package-db flag to be passed
1468 ;; to "runhaskell" in addition to the "configure" action, because it
1469 ;; depends on gtk2hs-buildtools, which provide setup hooks. Without
1470 ;; this option the Setup.hs file cannot be evaluated. The
1471 ;; haskell-build-system should be changed to pass "-package-db" to
1472 ;; "runhaskell" in any case.
1473 (replace 'configure
1474 (lambda* (#:key outputs inputs tests? (configure-flags '())
1475 #:allow-other-keys)
1476 (let* ((out (assoc-ref outputs "out"))
1477 (name-version (strip-store-file-name out))
1478 (input-dirs (match inputs
1479 (((_ . dir) ...)
1480 dir)
1481 (_ '())))
1482 (ghc-path (getenv "GHC_PACKAGE_PATH"))
1483 (params (append `(,(string-append "--prefix=" out))
1484 `(,(string-append "--libdir=" out "/lib"))
1485 `(,(string-append "--bindir=" out "/bin"))
1486 `(,(string-append
1487 "--docdir=" out
1488 "/share/doc/" name-version))
1489 '("--libsubdir=$compiler/$pkg-$version")
1490 '("--package-db=../package.conf.d")
1491 '("--global")
1492 `(,@(map
1493 (cut string-append "--extra-include-dirs=" <>)
1494 (search-path-as-list '("include") input-dirs)))
1495 `(,@(map
1496 (cut string-append "--extra-lib-dirs=" <>)
1497 (search-path-as-list '("lib") input-dirs)))
1498 (if tests?
1499 '("--enable-tests")
1500 '())
1501 configure-flags)))
1502 (unsetenv "GHC_PACKAGE_PATH")
1503 (apply invoke "runhaskell" "-package-db=../package.conf.d"
1504 "Setup.hs" "configure" params)
1505 (setenv "GHC_PACKAGE_PATH" ghc-path)
1506 #t))))))
1507 (inputs
1508 `(("ghc-utf8-string" ,ghc-utf8-string)
1509 ("cairo" ,cairo)))
1510 (native-inputs
1511 `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools)
1512 ("pkg-config" ,pkg-config)))
1513 (home-page "http://projects.haskell.org/gtk2hs/")
1514 (synopsis "Haskell bindings to the Cairo vector graphics library")
1515 (description
1516 "Cairo is a library to render high quality vector graphics. There exist
1517 various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG
1518 documents, amongst others.")
1519 (license license:bsd-3)))
1520
1521 (define-public ghc-call-stack
1522 (package
1523 (name "ghc-call-stack")
1524 (version "0.1.0")
1525 (source
1526 (origin
1527 (method url-fetch)
1528 (uri (string-append "https://hackage.haskell.org/package/"
1529 "call-stack/call-stack-"
1530 version ".tar.gz"))
1531 (sha256
1532 (base32
1533 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
1534 (build-system haskell-build-system)
1535 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
1536 (home-page "https://github.com/sol/call-stack#readme")
1537 (synopsis "Use GHC call-stacks in a backward compatible way")
1538 (description "This package provides a compatibility layer for using GHC
1539 call stacks with different versions of the compiler.")
1540 (license license:expat)))
1541
1542 ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
1543 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
1544 (define-public ghc-call-stack-boot
1545 (hidden-package
1546 (package
1547 (inherit ghc-call-stack)
1548 (arguments '(#:tests? #f))
1549 (inputs '()))))
1550
1551 (define-public ghc-case-insensitive
1552 (package
1553 (name "ghc-case-insensitive")
1554 (version "1.2.0.11")
1555 (outputs '("out" "static" "doc"))
1556 (source
1557 (origin
1558 (method url-fetch)
1559 (uri (string-append
1560 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
1561 version
1562 ".tar.gz"))
1563 (sha256
1564 (base32
1565 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7"))))
1566 (build-system haskell-build-system)
1567 ;; these inputs are necessary to use this library
1568 (inputs
1569 `(("ghc-hashable" ,ghc-hashable)))
1570 (arguments
1571 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1572 (home-page
1573 "https://github.com/basvandijk/case-insensitive")
1574 (synopsis "Case insensitive string comparison")
1575 (description
1576 "The module @code{Data.CaseInsensitive} provides the @code{CI} type
1577 constructor which can be parameterised by a string-like type like:
1578 @code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of
1579 the resulting type will be insensitive to cases.")
1580 (license license:bsd-3)))
1581
1582 (define-public ghc-cassava
1583 (package
1584 (name "ghc-cassava")
1585 (version "0.5.2.0")
1586 (source
1587 (origin
1588 (method url-fetch)
1589 (uri (string-append
1590 "https://hackage.haskell.org/package/cassava/cassava-"
1591 version
1592 ".tar.gz"))
1593 (sha256
1594 (base32
1595 "01h1zrdqb313cjd4rqm1107azzx4czqi018c2djf66a5i7ajl3dk"))))
1596 (build-system haskell-build-system)
1597 (inputs
1598 `(("ghc-attoparsec" ,ghc-attoparsec)
1599 ("ghc-hashable" ,ghc-hashable)
1600 ("ghc-scientific" ,ghc-scientific)
1601 ("ghc-unordered-containers" ,ghc-unordered-containers)
1602 ("ghc-vector" ,ghc-vector)
1603 ("ghc-only" ,ghc-only)
1604 ("ghc-text-short" ,ghc-text-short)
1605 ("ghc-bytestring-builder" ,ghc-bytestring-builder)))
1606 (native-inputs
1607 `(("ghc-hunit" ,ghc-hunit)
1608 ("ghc-quickcheck" ,ghc-quickcheck)
1609 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
1610 ("ghc-test-framework" ,ghc-test-framework)
1611 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1612 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1613 (arguments
1614 `(#:cabal-revision
1615 ("1"
1616 "1ph8rf91z4nf1ryrh9s4gd1kq98jlgk2manwddkpch8k0n9xvfk4")
1617 #:configure-flags '("--flags=-bytestring--lt-0_10_4")))
1618 (home-page "https://github.com/haskell-hvr/cassava")
1619 (synopsis "CSV parsing and encoding library")
1620 (description
1621 "@code{cassava} is a library for parsing and encoding
1622 @url{https://tools.ietf.org/html/rfc4180, RFC 4180} compliant @url{https://
1623 en.wikipedia.org/wiki/Comma-separated_values, comma-separated values (CSV)}
1624 data, which is a textual line-oriented format commonly used for exchanging
1625 tabular data.
1626
1627 @code{cassava}'s API includes support for:
1628
1629 @itemize @bullet
1630
1631 @item
1632 Index-based record-conversion
1633 @item
1634 Name-based record-conversion
1635 @item
1636 Typeclass directed conversion of fields and records
1637 @item
1638 Built-in field-conversion instances for standard types
1639 @item
1640 Customizable record-conversion instance derivation via GHC generics
1641 @item
1642 Low-level @url{https://hackage.haskell.org/package/bytestring), bytestring}
1643 builders (see @url{https://hackage.haskell.org/package/cassava-0.5.2.0/docs/
1644 Data-Csv-Builder.html, Data.Csv.Builder})
1645 @item
1646 Incremental decoding and encoding API (see @url{https://hackage.haskell.org/
1647 package/cassava-0.5.2.0/docs/Data-Csv-Incremental.html, Data.Csv.Incremental})
1648 @item
1649 Streaming API for constant-space decoding (see @url{https://hackage.haskell.org/
1650 package/cassava-0.5.2.0/docs/Data-Csv-Streaming.html, Data.Csv.Streaming})
1651 @end itemize
1652
1653 Moreover, this library is designed to be easy to use; for instance, here's a
1654 very simple example of encoding CSV data:
1655
1656 @verbatim
1657 >>> Data.Csv.encode [(\"John\",27),(\"Jane\",28)]
1658 \"John,27\r\nJane,28\r\n\"
1659 @end verbatim
1660 ")
1661 (license license:bsd-3)))
1662
1663 (define-public ghc-cassava-megaparsec
1664 (package
1665 (name "ghc-cassava-megaparsec")
1666 (version "2.0.1")
1667 (source
1668 (origin
1669 (method url-fetch)
1670 (uri (string-append
1671 "https://hackage.haskell.org/package/cassava-megaparsec/"
1672 "cassava-megaparsec-"
1673 version
1674 ".tar.gz"))
1675 (sha256
1676 (base32
1677 "0q4skw98nzy6icmgpwqvgw0c5pqcgi25rf7nmwh2pksvv94pi3p3"))))
1678 (build-system haskell-build-system)
1679 (inputs
1680 `(("ghc-cassava" ,ghc-cassava)
1681 ("ghc-megaparsec" ,ghc-megaparsec)
1682 ("ghc-unordered-containers" ,ghc-unordered-containers)
1683 ("ghc-vector" ,ghc-vector)))
1684 (native-inputs
1685 `(("ghc-hspec" ,ghc-hspec)
1686 ("ghc-hspec-megaparsec" ,ghc-hspec-megaparsec)))
1687 (home-page "https://github.com/stackbuilders/cassava-megaparsec")
1688 (synopsis "Megaparsec parser for CSV files that plays nicely with Cassava")
1689 (description
1690 "Alternative parser for the Cassava package written with Megaparsec that
1691 provides for better error messages at the expense of some speed.")
1692 (license license:expat)))
1693
1694 (define-public ghc-cborg
1695 (package
1696 (name "ghc-cborg")
1697 (version "0.2.2.0")
1698 (source
1699 (origin
1700 (method url-fetch)
1701 (uri (string-append
1702 "mirror://hackage/package/cborg/cborg-"
1703 version
1704 ".tar.gz"))
1705 (sha256
1706 (base32
1707 "1rdnvy0w17s70ikmbyrnwax5rvqh19l95sh8i7ipgxi23z1r0bp1"))))
1708 (build-system haskell-build-system)
1709 (inputs
1710 `(("ghc-half" ,ghc-half)
1711 ("ghc-primitive" ,ghc-primitive)))
1712 (native-inputs
1713 `(("ghc-aeson" ,ghc-aeson)
1714 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
1715 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
1716 ("ghc-fail" ,ghc-fail)
1717 ("ghc-quickcheck" ,ghc-quickcheck)
1718 ("ghc-scientific" ,ghc-scientific)
1719 ("ghc-tasty" ,ghc-tasty)
1720 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
1721 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
1722 ("ghc-vector" ,ghc-vector)))
1723 (home-page "http://hackage.haskell.org/package/cborg")
1724 (synopsis "Concise Binary Object Representation")
1725 (description
1726 "This package (formerly binary-serialise-cbor) provides an
1727 efficient implementation of the Concise Binary Object
1728 Representation (CBOR), as specified by RFC 7049 at
1729 https://tools.ietf.org/html/rfc7049.
1730
1731 If you are looking for a library for serialisation of Haskell values, have a
1732 look at the @url{https://hackage.haskell.org/package/serialise} package, which
1733 is built upon this library.
1734
1735 An implementation of the standard bijection between CBOR and JSON is provided
1736 by the @url{https://hackage.haskell.org/package/cborg-json} package.
1737
1738 Also see @code{https://hackage.haskell.org/package/cbor-tool} for a convenient
1739 command-line utility for working with CBOR data.")
1740 (license license:bsd-3)))
1741
1742 (define-public ghc-cborg-json
1743 (package
1744 (name "ghc-cborg-json")
1745 (version "0.2.2.0")
1746 (source
1747 (origin
1748 (method url-fetch)
1749 (uri (string-append
1750 "mirror://hackage/package/cborg-json/cborg-json-"
1751 version
1752 ".tar.gz"))
1753 (sha256
1754 (base32 "0ysilz7rrjk94sqr3a61s98hr9qfi1xg13bskmlpc6mpgi2s4s5b"))))
1755 (build-system haskell-build-system)
1756 (inputs
1757 `(("ghc-aeson" ,ghc-aeson)
1758 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
1759 ("ghc-unordered-containers" ,ghc-unordered-containers)
1760 ("ghc-scientific" ,ghc-scientific)
1761 ("ghc-vector" ,ghc-vector)
1762 ("ghc-cborg" ,ghc-cborg)))
1763 (home-page "https://github.com/well-typed/cborg")
1764 (synopsis "A library for encoding JSON as CBOR")
1765 (description
1766 "This package implements the bijection between JSON and CBOR
1767 defined in the CBOR specification, RFC 7049.")
1768 (license license:bsd-3)))
1769
1770 (define-public ghc-cereal
1771 (package
1772 (name "ghc-cereal")
1773 (version "0.5.8.1")
1774 (source
1775 (origin
1776 (method url-fetch)
1777 (uri (string-append
1778 "https://hackage.haskell.org/package/cereal/cereal-"
1779 version
1780 ".tar.gz"))
1781 (sha256
1782 (base32
1783 "1mqvd1iwzr50az4y24332x3g3wsrzw8j1iwph02vr7jbjfn8i7id"))))
1784 (build-system haskell-build-system)
1785 (native-inputs
1786 `(("ghc-quickcheck" ,ghc-quickcheck)
1787 ("ghc-fail" ,ghc-fail)
1788 ("ghc-test-framework" ,ghc-test-framework)
1789 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1790 (home-page "https://hackage.haskell.org/package/cereal")
1791 (synopsis "Binary serialization library")
1792 (description "This package provides a binary serialization library,
1793 similar to @code{binary}, that introduces an @code{isolate} primitive for
1794 parser isolation, and labeled blocks for better error messages.")
1795 (license license:bsd-3)))
1796
1797 (define-public ghc-cereal-conduit
1798 (package
1799 (name "ghc-cereal-conduit")
1800 (version "0.8.0")
1801 (source
1802 (origin
1803 (method url-fetch)
1804 (uri (string-append "https://hackage.haskell.org/package/"
1805 "cereal-conduit/cereal-conduit-"
1806 version ".tar.gz"))
1807 (sha256
1808 (base32
1809 "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r"))))
1810 (build-system haskell-build-system)
1811 (inputs
1812 `(("ghc-conduit" ,ghc-conduit)
1813 ("ghc-resourcet" ,ghc-resourcet)
1814 ("ghc-cereal" ,ghc-cereal)))
1815 (native-inputs
1816 `(("ghc-hunit" ,ghc-hunit)))
1817 (home-page "https://github.com/snoyberg/conduit")
1818 (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits")
1819 (description
1820 "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into
1821 @code{Sources}, @code{Sinks}, and @code{Conduits}.")
1822 (license license:bsd-3)))
1823
1824 (define-public ghc-cgi
1825 (package
1826 (name "ghc-cgi")
1827 (version "3001.4.0.0")
1828 (source
1829 (origin
1830 (method url-fetch)
1831 (uri (string-append
1832 "https://hackage.haskell.org/package/cgi/cgi-"
1833 version
1834 ".tar.gz"))
1835 (sha256
1836 (base32
1837 "1d0nh5ymkqskkp4yn0gfz4mff8i0cxyw1wws8xxp6k1mg1ywa25k"))))
1838 (build-system haskell-build-system)
1839 (inputs
1840 `(("ghc-exceptions" ,ghc-exceptions)
1841 ("ghc-multipart" ,ghc-multipart)
1842 ("ghc-network-uri" ,ghc-network-uri)
1843 ("ghc-network" ,ghc-network)))
1844 (native-inputs
1845 `(("ghc-doctest" ,ghc-doctest)
1846 ("ghc-quickcheck" ,ghc-quickcheck)))
1847 (home-page
1848 "https://github.com/cheecheeo/haskell-cgi")
1849 (synopsis "Library for writing CGI programs")
1850 (description
1851 "This is a Haskell library for writing CGI programs.")
1852 (license license:bsd-3)))
1853
1854 (define-public ghc-charset
1855 (package
1856 (name "ghc-charset")
1857 (version "0.3.7.1")
1858 (source
1859 (origin
1860 (method url-fetch)
1861 (uri (string-append
1862 "https://hackage.haskell.org/package/charset/charset-"
1863 version
1864 ".tar.gz"))
1865 (sha256
1866 (base32
1867 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
1868 (build-system haskell-build-system)
1869 (arguments
1870 `(#:cabal-revision
1871 ("1" "1z6nxw2g9vgsjq0g159sk8mwj68lwzxzi5iv5ynha0h85jcqxszy")))
1872 (inputs
1873 `(("ghc-semigroups" ,ghc-semigroups)
1874 ("ghc-unordered-containers" ,ghc-unordered-containers)))
1875 (home-page "https://github.com/ekmett/charset")
1876 (synopsis "Fast unicode character sets for Haskell")
1877 (description "This package provides fast unicode character sets for
1878 Haskell, based on complemented PATRICIA tries.")
1879 (license license:bsd-3)))
1880
1881 (define-public ghc-chart
1882 (package
1883 (name "ghc-chart")
1884 (version "1.9.1")
1885 (source
1886 (origin
1887 (method url-fetch)
1888 (uri (string-append "https://hackage.haskell.org/package/Chart/"
1889 "Chart-" version ".tar.gz"))
1890 (sha256
1891 (base32
1892 "1pn735k9ifxlb9mdh8xy7wi22cxni8xyr28n8zx9w0j6vprcg89l"))))
1893 (build-system haskell-build-system)
1894 (inputs
1895 `(("ghc-old-locale" ,ghc-old-locale)
1896 ("ghc-lens" ,ghc-lens)
1897 ("ghc-colour" ,ghc-colour)
1898 ("ghc-data-default-class" ,ghc-data-default-class)
1899 ("ghc-operational" ,ghc-operational)
1900 ("ghc-vector" ,ghc-vector)))
1901 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1902 (synopsis "Library for generating 2D charts and plots")
1903 (description
1904 "This package provides a library for generating 2D charts and plots, with
1905 backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
1906 (license license:bsd-3)))
1907
1908 (define-public ghc-chart-cairo
1909 (package
1910 (name "ghc-chart-cairo")
1911 (version "1.9.1")
1912 (source
1913 (origin
1914 (method url-fetch)
1915 (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/"
1916 "Chart-cairo-" version ".tar.gz"))
1917 (sha256
1918 (base32
1919 "0hknj4rsjf2m8p5pyq5zff8ai7v80yvmxb5c6n0bkgxs4317nbl9"))))
1920 (build-system haskell-build-system)
1921 (inputs
1922 `(("ghc-old-locale" ,ghc-old-locale)
1923 ("ghc-cairo" ,ghc-cairo)
1924 ("ghc-colour" ,ghc-colour)
1925 ("ghc-data-default-class" ,ghc-data-default-class)
1926 ("ghc-operational" ,ghc-operational)
1927 ("ghc-lens" ,ghc-lens)
1928 ("ghc-chart" ,ghc-chart)))
1929 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1930 (synopsis "Cairo backend for Charts")
1931 (description "This package provides a Cairo vector graphics rendering
1932 backend for the Charts library.")
1933 (license license:bsd-3)))
1934
1935 (define-public ghc-chasingbottoms
1936 (package
1937 (name "ghc-chasingbottoms")
1938 (version "1.3.1.7")
1939 (source
1940 (origin
1941 (method url-fetch)
1942 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
1943 "ChasingBottoms-" version ".tar.gz"))
1944 (sha256
1945 (base32
1946 "0ziiqfsvv1ypdra6kd0bhbsl852i0wqn43jkfii38yl879cdacan"))))
1947 (build-system haskell-build-system)
1948 (inputs
1949 `(("ghc-quickcheck" ,ghc-quickcheck)
1950 ("ghc-random" ,ghc-random)
1951 ("ghc-syb" ,ghc-syb)))
1952 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
1953 (synopsis "Testing of partial and infinite values in Haskell")
1954 (description
1955 ;; FIXME: There should be a @comma{} in the uref text, but it is not
1956 ;; rendered properly.
1957 "This is a library for testing code involving bottoms or infinite values.
1958 For the underlying theory and a larger example involving use of QuickCheck,
1959 see the article
1960 @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
1961 \"Chasing Bottoms A Case Study in Program Verification in the Presence of
1962 Partial and Infinite Values\"}.")
1963 (license license:expat)))
1964
1965 (define-public ghc-cheapskate
1966 (package
1967 (name "ghc-cheapskate")
1968 (version "0.1.1.1")
1969 (source
1970 (origin
1971 (method url-fetch)
1972 (uri (string-append
1973 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
1974 version
1975 ".tar.gz"))
1976 (sha256
1977 (base32
1978 "0qnyd8bni2rby6b02ff4bvfdhm1hwc8vzpmnms84jgrlg1lly3fm"))))
1979 (build-system haskell-build-system)
1980 (inputs
1981 `(("ghc-blaze-html" ,ghc-blaze-html)
1982 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
1983 ("ghc-data-default" ,ghc-data-default)
1984 ("ghc-syb" ,ghc-syb)
1985 ("ghc-uniplate" ,ghc-uniplate)))
1986 (home-page "https://github.com/jgm/cheapskate")
1987 (synopsis "Experimental markdown processor")
1988 (description "Cheapskate is an experimental Markdown processor in pure
1989 Haskell. It aims to process Markdown efficiently and in the most forgiving
1990 possible way. It is designed to deal with any input, including garbage, with
1991 linear performance. Output is sanitized by default for protection against
1992 cross-site scripting (@dfn{XSS}) attacks.")
1993 (license license:bsd-3)))
1994
1995 (define-public ghc-chell
1996 (package
1997 (name "ghc-chell")
1998 (version "0.5")
1999 (source
2000 (origin
2001 (method url-fetch)
2002 (uri (string-append
2003 "https://hackage.haskell.org/package/chell/chell-"
2004 version ".tar.gz"))
2005 (sha256
2006 (base32
2007 "1i845isfbk0yq852am9bqmxfpfkpnlha8nfidffsv4gw2p8gg6fg"))))
2008 (build-system haskell-build-system)
2009 (arguments
2010 `(#:cabal-revision
2011 ("1" "1q93wrw03ix4cmnkz3lzkixcvvizw6i2ia2zifdfak1dvxnblxk0")))
2012 (inputs
2013 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
2014 ("ghc-patience" ,ghc-patience)
2015 ("ghc-random" ,ghc-random)
2016 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
2017 (home-page "https://john-millikin.com/software/chell/")
2018 (synopsis "Simple and intuitive library for automated testing")
2019 (description
2020 "Chell is a simple and intuitive library for automated testing.
2021 It natively supports assertion-based testing, and can use companion
2022 libraries such as @code{chell-quickcheck} to support more complex
2023 testing strategies.")
2024 (license license:expat)))
2025
2026 (define-public ghc-chell-quickcheck
2027 (package
2028 (name "ghc-chell-quickcheck")
2029 (version "0.2.5.2")
2030 (source
2031 (origin
2032 (method url-fetch)
2033 (uri (string-append
2034 "https://hackage.haskell.org/package/chell-quickcheck/"
2035 "chell-quickcheck-" version ".tar.gz"))
2036 (sha256
2037 (base32
2038 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
2039 (build-system haskell-build-system)
2040 (arguments
2041 `(#:phases
2042 (modify-phases %standard-phases
2043 (add-before 'configure 'update-constraints
2044 (lambda _
2045 (substitute* "chell-quickcheck.cabal"
2046 (("QuickCheck >= 2\\.3 && < 2\\.13")
2047 "QuickCheck >= 2.3 && < 2.14")))))))
2048 (inputs
2049 `(("ghc-chell" ,ghc-chell)
2050 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
2051 ("ghc-random" ,ghc-random)
2052 ("ghc-quickcheck" ,ghc-quickcheck)))
2053 (home-page "https://john-millikin.com/software/chell/")
2054 (synopsis "QuickCheck support for the Chell testing library")
2055 (description "More complex tests for @code{chell}.")
2056 (license license:expat)))
2057
2058 (define ghc-chell-quickcheck-bootstrap
2059 (package
2060 (name "ghc-chell-quickcheck-bootstrap")
2061 (version "0.2.5.2")
2062 (source
2063 (origin
2064 (method url-fetch)
2065 (uri (string-append
2066 "https://hackage.haskell.org/package/chell-quickcheck/"
2067 "chell-quickcheck-" version ".tar.gz"))
2068 (sha256
2069 (base32
2070 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
2071 (build-system haskell-build-system)
2072 (inputs
2073 `(("ghc-chell" ,ghc-chell)
2074 ("ghc-random" ,ghc-random)
2075 ("ghc-quickcheck" ,ghc-quickcheck)))
2076 (arguments
2077 `(#:tests? #f
2078 #:phases
2079 (modify-phases %standard-phases
2080 (add-before 'configure 'update-constraints
2081 (lambda _
2082 (substitute* "chell-quickcheck.cabal"
2083 (("QuickCheck >= 2\\.3 && < 2\\.13")
2084 "QuickCheck >= 2.3 && < 2.14")))))))
2085 (home-page "https://john-millikin.com/software/chell/")
2086 (synopsis "QuickCheck support for the Chell testing library")
2087 (description "More complex tests for @code{chell}.")
2088 (license license:expat)))
2089
2090 (define-public ghc-chunked-data
2091 (package
2092 (name "ghc-chunked-data")
2093 (version "0.3.1")
2094 (source
2095 (origin
2096 (method url-fetch)
2097 (uri (string-append "https://hackage.haskell.org/package/"
2098 "chunked-data-" version "/"
2099 "chunked-data-" version ".tar.gz"))
2100 (sha256
2101 (base32
2102 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
2103 (build-system haskell-build-system)
2104 (inputs `(("ghc-vector" ,ghc-vector)
2105 ("ghc-semigroups" ,ghc-semigroups)))
2106 (home-page "https://github.com/snoyberg/mono-traversable")
2107 (synopsis "Typeclasses for dealing with various chunked data
2108 representations for Haskell")
2109 (description "This Haskell package was originally present in
2110 classy-prelude.")
2111 (license license:expat)))
2112
2113 (define-public ghc-clock
2114 (package
2115 (name "ghc-clock")
2116 (version "0.8")
2117 (source
2118 (origin
2119 (method url-fetch)
2120 (uri (string-append
2121 "https://hackage.haskell.org/package/"
2122 "clock/"
2123 "clock-" version ".tar.gz"))
2124 (sha256
2125 (base32 "0539w9bjw6xbfv9v6aq9hijszxqdnqhilwpbwpql1400ji95r8q8"))))
2126 (build-system haskell-build-system)
2127 (inputs
2128 `(("ghc-tasty" ,ghc-tasty)
2129 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
2130 (home-page "https://hackage.haskell.org/package/clock")
2131 (synopsis "High-resolution clock for Haskell")
2132 (description "A package for convenient access to high-resolution clock and
2133 timer functions of different operating systems via a unified API.")
2134 (license license:bsd-3)))
2135
2136 ;; This package builds `clock` without tests, since the tests rely on tasty
2137 ;; and tasty-quickcheck, which in turn require clock to build.
2138 (define-public ghc-clock-bootstrap
2139 (package
2140 (inherit ghc-clock)
2141 (name "ghc-clock-bootstrap")
2142 (arguments '(#:tests? #f))
2143 (inputs '())
2144 (properties '((hidden? #t)))))
2145
2146 (define-public ghc-cmark
2147 (package
2148 (name "ghc-cmark")
2149 (version "0.6")
2150 (source (origin
2151 (method url-fetch)
2152 ;; XXX As of version 0.6, this package bundles libcmark 0.28.0.
2153 ;; See cbits/cmark_version.h.
2154 (uri (string-append "https://hackage.haskell.org/package/"
2155 "cmark/cmark-" version ".tar.gz"))
2156 (sha256
2157 (base32
2158 "1p41z6z8dqxk62287lvhhg4ayy9laai9ljh4azsnzb029v6mbv0d"))))
2159 (build-system haskell-build-system)
2160 (native-inputs
2161 `(("ghc-hunit" ,ghc-hunit)))
2162 (home-page "https://github.com/jgm/commonmark-hs")
2163 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
2164 (description
2165 "This package provides Haskell bindings for
2166 @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
2167 CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
2168 sources, and does not require prior installation of the C library.")
2169 (license license:bsd-3)))
2170
2171 (define-public ghc-cmark-gfm
2172 (package
2173 (name "ghc-cmark-gfm")
2174 (version "0.2.0")
2175 (source
2176 (origin
2177 (method url-fetch)
2178 (uri (string-append "https://hackage.haskell.org/package/"
2179 "cmark-gfm/cmark-gfm-"
2180 version ".tar.gz"))
2181 (sha256
2182 (base32
2183 "03xflrkyw84qv3yjly5iks9311bqv5cmrmsylr763v4ph0fn7rjq"))))
2184 (build-system haskell-build-system)
2185 (native-inputs
2186 `(("ghc-hunit" ,ghc-hunit)))
2187 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
2188 (synopsis
2189 "Fast, accurate GitHub Flavored Markdown parser and renderer")
2190 (description
2191 "This package provides Haskell bindings for libcmark-gfm, the reference
2192 parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
2193 It includes sources for libcmark-gfm and does not require prior installation
2194 of the C library.")
2195 (license license:bsd-3)))
2196
2197 (define-public ghc-cmdargs
2198 (package
2199 (name "ghc-cmdargs")
2200 (version "0.10.20")
2201 (source
2202 (origin
2203 (method url-fetch)
2204 (uri (string-append
2205 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
2206 version ".tar.gz"))
2207 (sha256
2208 (base32
2209 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
2210 (build-system haskell-build-system)
2211 (outputs '("out" "static" "doc"))
2212 (home-page
2213 "http://community.haskell.org/~ndm/cmdargs/")
2214 (synopsis "Command line argument processing")
2215 (description
2216 "This library provides an easy way to define command line parsers.")
2217 (license license:bsd-3)))
2218
2219 (define-public ghc-code-page
2220 (package
2221 (name "ghc-code-page")
2222 (version "0.2")
2223 (source
2224 (origin
2225 (method url-fetch)
2226 (uri (string-append
2227 "https://hackage.haskell.org/package/code-page/code-page-"
2228 version ".tar.gz"))
2229 (sha256
2230 (base32
2231 "0i0qbrbhvrwkbikqb7hh7yxaipaavwzvyrw211d0vkz99f62mqxz"))))
2232 (build-system haskell-build-system)
2233 (home-page "https://github.com/RyanGlScott/code-page")
2234 (synopsis "Windows code page library for Haskell")
2235 (description "A cross-platform library with functions for adjusting
2236 code pages on Windows. On all other operating systems, the library does
2237 nothing.")
2238 (license license:bsd-3)))
2239
2240 (define-public ghc-colour
2241 (package
2242 (name "ghc-colour")
2243 (version "2.3.5")
2244 (source
2245 (origin
2246 (method url-fetch)
2247 (uri (string-append
2248 "https://hackage.haskell.org/package/colour/colour-"
2249 version ".tar.gz"))
2250 (sha256
2251 (base32
2252 "1rq4l46jx4lpdppy71wf7m1n7pw2jwy788rm35ycwzb1g4clg39v"))))
2253 (arguments
2254 ;; The tests for this package have the following dependency cycle:
2255 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
2256 `(#:tests? #f))
2257 (build-system haskell-build-system)
2258 (home-page "https://wiki.haskell.org/Colour")
2259 (synopsis "Model for human colour perception")
2260 (description
2261 "This package provides a data type for colours and transparency.
2262 Colours can be blended and composed. Various colour spaces are
2263 supported. A module of colour names (\"Data.Colour.Names\") is provided.")
2264 (license license:expat)))
2265
2266 (define-public ghc-comonad
2267 (package
2268 (name "ghc-comonad")
2269 (version "5.0.5")
2270 (source
2271 (origin
2272 (method url-fetch)
2273 (uri (string-append
2274 "https://hackage.haskell.org/package/comonad/comonad-"
2275 version
2276 ".tar.gz"))
2277 (sha256
2278 (base32
2279 "1l7snp2mszgnjgd0nc9kzfyd13vla0rlazqi03rwx2akcxk14n3c"))))
2280 (build-system haskell-build-system)
2281 (native-inputs
2282 `(("cabal-doctest" ,cabal-doctest)
2283 ("ghc-doctest" ,ghc-doctest)))
2284 (inputs
2285 `(("ghc-contravariant" ,ghc-contravariant)
2286 ("ghc-distributive" ,ghc-distributive)
2287 ("ghc-semigroups" ,ghc-semigroups)
2288 ("ghc-tagged" ,ghc-tagged)
2289 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2290 (home-page "https://github.com/ekmett/comonad/")
2291 (synopsis "Comonads for Haskell")
2292 (description "This library provides @code{Comonad}s for Haskell.")
2293 (license license:bsd-3)))
2294
2295 (define-public ghc-concatenative
2296 (package
2297 (name "ghc-concatenative")
2298 (version "1.0.1")
2299 (source (origin
2300 (method url-fetch)
2301 (uri (string-append
2302 "https://hackage.haskell.org/package/concatenative/concatenative-"
2303 version ".tar.gz"))
2304 (sha256
2305 (base32
2306 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
2307 (build-system haskell-build-system)
2308 (home-page
2309 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
2310 (synopsis "Library for postfix control flow")
2311 (description
2312 "Concatenative gives Haskell Factor-style combinators and arrows for
2313 postfix notation. For more information on stack based languages, see
2314 @uref{https://concatenative.org}.")
2315 (license license:bsd-3)))
2316
2317 (define-public ghc-concurrent-extra
2318 (package
2319 (name "ghc-concurrent-extra")
2320 (version "0.7.0.12")
2321 (source
2322 (origin
2323 (method url-fetch)
2324 (uri (string-append "https://hackage.haskell.org/package/"
2325 "concurrent-extra/concurrent-extra-"
2326 version ".tar.gz"))
2327 (sha256
2328 (base32
2329 "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4"))))
2330 (build-system haskell-build-system)
2331 (arguments
2332 ;; XXX: The ReadWriteLock 'stressTest' fails.
2333 `(#:tests? #f))
2334 (inputs
2335 `(("ghc-unbounded-delays" ,ghc-unbounded-delays)))
2336 (native-inputs
2337 `(("ghc-async" ,ghc-async)
2338 ("ghc-hunit" ,ghc-hunit)
2339 ("ghc-random" ,ghc-random)
2340 ("ghc-test-framework" ,ghc-test-framework)
2341 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2342 (home-page "https://github.com/basvandijk/concurrent-extra")
2343 (synopsis "Extra concurrency primitives")
2344 (description "This Haskell library offers (among other things) the
2345 following selection of synchronisation primitives:
2346
2347 @itemize
2348 @item @code{Broadcast}: Wake multiple threads by broadcasting a value.
2349 @item @code{Event}: Wake multiple threads by signalling an event.
2350 @item @code{Lock}: Enforce exclusive access to a resource. Also known
2351 as a binary semaphore or mutex. The package additionally provides an
2352 alternative that works in the STM monad.
2353 @item @code{RLock}: A lock which can be acquired multiple times by the
2354 same thread. Also known as a reentrant mutex.
2355 @item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used
2356 to protect shared resources which may be concurrently read, but only
2357 sequentially written.
2358 @item @code{ReadWriteVar}: Concurrent read, sequential write variables.
2359 @end itemize
2360
2361 Please consult the API documentation of the individual modules for more
2362 detailed information.
2363
2364 This package was inspired by the concurrency libraries of Java and
2365 Python.")
2366 (license license:bsd-3)))
2367
2368 (define-public ghc-concurrent-output
2369 (package
2370 (name "ghc-concurrent-output")
2371 (version "1.10.11")
2372 (source
2373 (origin
2374 (method url-fetch)
2375 (uri (string-append
2376 "mirror://hackage/package/concurrent-output/concurrent-output-"
2377 version
2378 ".tar.gz"))
2379 (sha256
2380 (base32
2381 "1d1aaqg5814k59b0iws3fh06p3g2siaj922gkhs75qgncj0my2p3"))))
2382 (build-system haskell-build-system)
2383 (inputs
2384 `(("ghc-async" ,ghc-async)
2385 ("ghc-exceptions" ,ghc-exceptions)
2386 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2387 ("ghc-terminal-size" ,ghc-terminal-size)))
2388 (home-page
2389 "https://hackage.haskell.org/package/concurrent-output")
2390 (synopsis
2391 "Ungarble output from several threads or commands")
2392 (description
2393 "Lets multiple threads and external processes concurrently output to the
2394 console, without it getting all garbled up.
2395
2396 Built on top of that is a way of defining multiple output regions, which are
2397 automatically laid out on the screen and can be individually updated by
2398 concurrent threads. Can be used for progress displays etc.")
2399 (license license:bsd-2)))
2400
2401 (define-public ghc-conduit
2402 (package
2403 (name "ghc-conduit")
2404 (version "1.3.1.1")
2405 (source (origin
2406 (method url-fetch)
2407 (uri (string-append "https://hackage.haskell.org/package/"
2408 "conduit/conduit-" version ".tar.gz"))
2409 (sha256
2410 (base32
2411 "18izjgff4pmrknc8py06yvg3g6x27nx0rzmlwjxcflwm5v4szpw4"))))
2412 (build-system haskell-build-system)
2413 (outputs '("out" "static" "doc"))
2414 (inputs
2415 `(("ghc-exceptions" ,ghc-exceptions)
2416 ("ghc-lifted-base" ,ghc-lifted-base)
2417 ("ghc-mono-traversable" ,ghc-mono-traversable)
2418 ("ghc-mmorph" ,ghc-mmorph)
2419 ("ghc-resourcet" ,ghc-resourcet)
2420 ("ghc-silently" ,ghc-silently)
2421 ("ghc-transformers-base" ,ghc-transformers-base)
2422 ("ghc-unliftio" ,ghc-unliftio)
2423 ("ghc-unliftio-core" ,ghc-unliftio-core)
2424 ("ghc-vector" ,ghc-vector)
2425 ("ghc-void" ,ghc-void)))
2426 (native-inputs
2427 `(("ghc-quickcheck" ,ghc-quickcheck)
2428 ("ghc-hspec" ,ghc-hspec)
2429 ("ghc-safe" ,ghc-safe)
2430 ("ghc-split" ,ghc-split)))
2431 (home-page "https://github.com/snoyberg/conduit")
2432 (synopsis "Streaming data library ")
2433 (description
2434 "The conduit package is a solution to the streaming data problem,
2435 allowing for production, transformation, and consumption of streams of data
2436 in constant memory. It is an alternative to lazy I/O which guarantees
2437 deterministic resource handling, and fits in the same general solution
2438 space as enumerator/iteratee and pipes.")
2439 (license license:expat)))
2440
2441 (define-public ghc-conduit-algorithms
2442 (package
2443 (name "ghc-conduit-algorithms")
2444 (version "0.0.11.0")
2445 (source
2446 (origin
2447 (method url-fetch)
2448 (uri (string-append "https://hackage.haskell.org/package/"
2449 "conduit-algorithms/conduit-algorithms-"
2450 version ".tar.gz"))
2451 (sha256
2452 (base32
2453 "0c1jwz30kkvimx7lb61782yk0kyfamrf5bqc3g1h7g51lk8bbv9i"))))
2454 (build-system haskell-build-system)
2455 (inputs
2456 `(("ghc-async" ,ghc-async)
2457 ("ghc-bzlib-conduit" ,ghc-bzlib-conduit)
2458 ("ghc-conduit" ,ghc-conduit)
2459 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2460 ("ghc-conduit-extra" ,ghc-conduit-extra)
2461 ("ghc-conduit-zstd" ,ghc-conduit-zstd)
2462 ("ghc-exceptions" ,ghc-exceptions)
2463 ("ghc-lzma-conduit" ,ghc-lzma-conduit)
2464 ("ghc-monad-control" ,ghc-monad-control)
2465 ("ghc-pqueue" ,ghc-pqueue)
2466 ("ghc-resourcet" ,ghc-resourcet)
2467 ("ghc-stm-conduit" ,ghc-stm-conduit)
2468 ("ghc-streaming-commons" ,ghc-streaming-commons)
2469 ("ghc-unliftio-core" ,ghc-unliftio-core)
2470 ("ghc-vector" ,ghc-vector)))
2471 (native-inputs
2472 `(("ghc-hunit" ,ghc-hunit)
2473 ("ghc-test-framework" ,ghc-test-framework)
2474 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2475 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2476 (home-page "https://github.com/luispedro/conduit-algorithms#readme")
2477 (synopsis "Conduit-based algorithms")
2478 (description
2479 "This package provides algorithms on @code{Conduits}, including higher
2480 level asynchronous processing and some other utilities.")
2481 (license license:expat)))
2482
2483 (define-public ghc-conduit-combinators
2484 (package
2485 (name "ghc-conduit-combinators")
2486 (version "1.3.0")
2487 (source
2488 (origin
2489 (method url-fetch)
2490 (uri (string-append "https://hackage.haskell.org/package/"
2491 "conduit-combinators-" version "/"
2492 "conduit-combinators-" version ".tar.gz"))
2493 (sha256
2494 (base32
2495 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
2496 (build-system haskell-build-system)
2497 (inputs `(("ghc-conduit" ,ghc-conduit)
2498 ("ghc-conduit-extra" ,ghc-conduit-extra)
2499 ("ghc-transformers-base" ,ghc-transformers-base)
2500 ("ghc-primitive" ,ghc-primitive)
2501 ("ghc-vector" ,ghc-vector)
2502 ("ghc-void" ,ghc-void)
2503 ("ghc-mwc-random" ,ghc-mwc-random)
2504 ("ghc-unix-compat" ,ghc-unix-compat)
2505 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
2506 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
2507 ("ghc-resourcet" ,ghc-resourcet)
2508 ("ghc-monad-control" ,ghc-monad-control)
2509 ("ghc-chunked-data" ,ghc-chunked-data)
2510 ("ghc-mono-traversable" ,ghc-mono-traversable)))
2511 (native-inputs `(("ghc-hspec" ,ghc-hspec)
2512 ("ghc-silently" ,ghc-silently)
2513 ("ghc-safe" ,ghc-safe)
2514 ("ghc-quickcheck" ,ghc-quickcheck)))
2515 (home-page "https://github.com/snoyberg/mono-traversable")
2516 (synopsis "Commonly used conduit functions, for both chunked and
2517 unchunked data")
2518 (description "This Haskell package provides a replacement for Data.Conduit.List,
2519 as well as a convenient Conduit module.")
2520 (license license:expat)))
2521
2522 (define-public ghc-conduit-extra
2523 (package
2524 (name "ghc-conduit-extra")
2525 (version "1.3.4")
2526 (source
2527 (origin
2528 (method url-fetch)
2529 (uri (string-append "https://hackage.haskell.org/package/"
2530 "conduit-extra/conduit-extra-"
2531 version ".tar.gz"))
2532 (sha256
2533 (base32
2534 "1d853d39vj5pb8yxfcsnjwdzqzkm34ixzbnba8bslpihb7182wxi"))))
2535 (build-system haskell-build-system)
2536 (inputs
2537 `(("ghc-conduit" ,ghc-conduit)
2538 ("ghc-exceptions" ,ghc-exceptions)
2539 ("ghc-monad-control" ,ghc-monad-control)
2540 ("ghc-transformers-base" ,ghc-transformers-base)
2541 ("ghc-typed-process" ,ghc-typed-process)
2542 ("ghc-async" ,ghc-async)
2543 ("ghc-attoparsec" ,ghc-attoparsec)
2544 ("ghc-blaze-builder" ,ghc-blaze-builder)
2545 ("ghc-network" ,ghc-network)
2546 ("ghc-primitive" ,ghc-primitive)
2547 ("ghc-resourcet" ,ghc-resourcet)
2548 ("ghc-streaming-commons" ,ghc-streaming-commons)
2549 ("ghc-hspec" ,ghc-hspec)
2550 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
2551 ("ghc-quickcheck" ,ghc-quickcheck)))
2552 (native-inputs
2553 `(("hspec-discover" ,hspec-discover)))
2554 (home-page "https://github.com/snoyberg/conduit")
2555 (synopsis "Conduit adapters for common libraries")
2556 (description
2557 "The @code{conduit} package itself maintains relative small dependencies.
2558 The purpose of this package is to collect commonly used utility functions
2559 wrapping other library dependencies, without depending on heavier-weight
2560 dependencies. The basic idea is that this package should only depend on
2561 @code{haskell-platform} packages and @code{conduit}.")
2562 (license license:expat)))
2563
2564 (define-public ghc-conduit-zstd
2565 (package
2566 (name "ghc-conduit-zstd")
2567 (version "0.0.1.1")
2568 (source
2569 (origin
2570 (method url-fetch)
2571 (uri (string-append "https://hackage.haskell.org/package/"
2572 "conduit-zstd/conduit-zstd-" version ".tar.gz"))
2573 (sha256
2574 (base32
2575 "04h7w2903hgw4gjcx2pg29yinnmfapawvc19hd3r57rr12fzb0c6"))))
2576 (build-system haskell-build-system)
2577 (inputs
2578 `(("ghc-conduit" ,ghc-conduit)
2579 ("ghc-zstd" ,ghc-zstd)))
2580 (native-inputs
2581 `(("ghc-hunit" ,ghc-hunit)
2582 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2583 ("ghc-conduit-extra" ,ghc-conduit-extra)
2584 ("ghc-test-framework" ,ghc-test-framework)
2585 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2586 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2587 (home-page "https://github.com/luispedro/conduit-zstd#readme")
2588 (synopsis "Conduit-based ZStd Compression")
2589 (description "Zstandard compression packaged as a conduit. This is
2590 a very thin wrapper around the
2591 @url{https://github.com/facebookexperimental/hs-zstd/, official hs-zstd
2592 interface}.")
2593 (license license:expat)))
2594
2595 (define-public ghc-configurator
2596 (package
2597 (name "ghc-configurator")
2598 (version "0.3.0.0")
2599 (source
2600 (origin
2601 (method url-fetch)
2602 (uri (string-append "https://hackage.haskell.org/package/"
2603 "configurator/configurator-"
2604 version ".tar.gz"))
2605 (sha256
2606 (base32
2607 "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"))))
2608 (build-system haskell-build-system)
2609 (inputs
2610 `(("ghc-attoparsec" ,ghc-attoparsec)
2611 ("ghc-hashable" ,ghc-hashable)
2612 ("ghc-unix-compat" ,ghc-unix-compat)
2613 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2614 (native-inputs
2615 `(("ghc-hunit" ,ghc-hunit)
2616 ("ghc-test-framework" ,ghc-test-framework)
2617 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2618 (home-page "https://github.com/bos/configurator")
2619 (synopsis "Configuration management")
2620 (description
2621 "This package provides a configuration management library for programs
2622 and daemons. The features include:
2623
2624 @enumerate
2625 @item Automatic, dynamic reloading in response to modifications to
2626 configuration files.
2627 @item A simple, but flexible, configuration language, supporting several of
2628 the most commonly needed types of data, along with interpolation of strings
2629 from the configuration or the system environment (e.g. @code{$(HOME)}).
2630 @item Subscription-based notification of changes to configuration properties.
2631 @item An @code{import} directive allows the configuration of a complex
2632 application to be split across several smaller files, or common configuration
2633 data to be shared across several applications.
2634 @end enumerate\n")
2635 (license license:bsd-3)))
2636
2637 (define-public ghc-connection
2638 (package
2639 (name "ghc-connection")
2640 (version "0.3.1")
2641 (source (origin
2642 (method url-fetch)
2643 (uri (string-append "https://hackage.haskell.org/package/"
2644 "connection/connection-"
2645 version ".tar.gz"))
2646 (sha256
2647 (base32
2648 "1nbmafhlg0wy4aa3p7amjddbamdz6avzrxn4py3lvhrjqn4raxax"))))
2649 (build-system haskell-build-system)
2650 (inputs
2651 `(("ghc-byteable" ,ghc-byteable)
2652 ("ghc-data-default-class" ,ghc-data-default-class)
2653 ("ghc-network" ,ghc-network)
2654 ("ghc-tls" ,ghc-tls)
2655 ("ghc-socks" ,ghc-socks)
2656 ("ghc-x509" ,ghc-x509)
2657 ("ghc-x509-store" ,ghc-x509-store)
2658 ("ghc-x509-system" ,ghc-x509-system)
2659 ("ghc-x509-validation" ,ghc-x509-validation)))
2660 (home-page "https://github.com/vincenthz/hs-connection")
2661 (synopsis "Simple and easy network connections API")
2662 (description
2663 "This package provides a simple network library for all your connection
2664 needs. It provides a very simple API to create sockets to a destination with
2665 the choice of SSL/TLS, and SOCKS.")
2666 (license license:bsd-3)))
2667
2668 (define-public ghc-constraints
2669 (package
2670 (name "ghc-constraints")
2671 (version "0.10.1")
2672 (source
2673 (origin
2674 (method url-fetch)
2675 (uri (string-append
2676 "https://hackage.haskell.org/package/constraints/constraints-"
2677 version ".tar.gz"))
2678 (sha256
2679 (base32
2680 "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q"))))
2681 (build-system haskell-build-system)
2682 (inputs
2683 `(("ghc-hashable" ,ghc-hashable)
2684 ("ghc-semigroups" ,ghc-semigroups)
2685 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2686 (native-inputs
2687 `(("ghc-hspec" ,ghc-hspec)
2688 ("hspec-discover" ,hspec-discover)))
2689 (home-page "https://github.com/ekmett/constraints/")
2690 (synopsis "Constraint manipulation")
2691 (description
2692 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
2693 They stopped crashing the compiler in GHC 7.6. This package provides
2694 a vocabulary for working with them.")
2695 (license license:bsd-3)))
2696
2697 (define-public ghc-contravariant
2698 (package
2699 (name "ghc-contravariant")
2700 (version "1.5.2")
2701 (source
2702 (origin
2703 (method url-fetch)
2704 (uri (string-append
2705 "https://hackage.haskell.org/package/contravariant/contravariant-"
2706 version
2707 ".tar.gz"))
2708 (sha256
2709 (base32
2710 "0366gl62wwwdbl9i6kqy60asf60876k55v91la6bmhnwwcj2q9n4"))))
2711 (build-system haskell-build-system)
2712 (inputs
2713 `(("ghc-void" ,ghc-void)
2714 ("ghc-transformers-compat" ,ghc-transformers-compat)
2715 ("ghc-statevar" ,ghc-statevar)
2716 ("ghc-semigroups" ,ghc-semigroups)))
2717 (home-page
2718 "https://github.com/ekmett/contravariant/")
2719 (synopsis "Contravariant functors")
2720 (description "Contravariant functors for Haskell.")
2721 (license license:bsd-3)))
2722
2723 (define-public ghc-contravariant-extras
2724 (package
2725 (name "ghc-contravariant-extras")
2726 (version "0.3.4")
2727 (source
2728 (origin
2729 (method url-fetch)
2730 (uri (string-append "https://hackage.haskell.org/package/"
2731 "contravariant-extras-" version "/"
2732 "contravariant-extras-" version ".tar.gz"))
2733 (sha256
2734 (base32
2735 "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n"))))
2736 (build-system haskell-build-system)
2737 (arguments
2738 `(#:cabal-revision
2739 ("1" "1h2955ahga6i4fn7k8v66l03v77p6fhsac6ck8gpabkc08ij60wp")))
2740 (inputs
2741 `(("ghc-tuple-th" ,ghc-tuple-th)
2742 ("ghc-contravariant" ,ghc-contravariant)
2743 ("ghc-base-prelude" ,ghc-base-prelude)
2744 ("ghc-semigroups" ,ghc-semigroups)))
2745 (home-page "https://github.com/nikita-volkov/contravariant-extras")
2746 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
2747 (description "This Haskell package provides extras for the
2748 @code{ghc-contravariant} package.")
2749 (license license:expat)))
2750
2751 (define-public ghc-control-monad-free
2752 (package
2753 (name "ghc-control-monad-free")
2754 (version "0.6.2")
2755 (source
2756 (origin
2757 (method url-fetch)
2758 (uri (string-append
2759 "https://hackage.haskell.org/"
2760 "package/control-monad-free/control-monad-free-"
2761 version
2762 ".tar.gz"))
2763 (sha256
2764 (base32
2765 "1habgf7byffqf1rqjkzpihvdhclaafgqsqpfpwp3fgpj5ayk1j33"))))
2766 (build-system haskell-build-system)
2767 (home-page "https://github.com/pepeiborra/control-monad-free")
2768 (synopsis "Free monads and monad transformers")
2769 (description
2770 "This package provides datatypes to construct Free monads, Free monad
2771 transformers, and useful instances. In addition it provides the constructs to
2772 avoid quadratic complexity of left associative bind, as explained in:
2773
2774 @itemize @bullet
2775 @item
2776 Janis Voigtlander, @cite{Asymptotic Improvement of Computations over
2777 Free Monads, MPC'08}
2778 @end itemize")
2779 (license license:public-domain)))
2780
2781 (define-public ghc-convertible
2782 (package
2783 (name "ghc-convertible")
2784 (version "1.1.1.0")
2785 (source
2786 (origin
2787 (method url-fetch)
2788 (uri (string-append "https://hackage.haskell.org/package/convertible/"
2789 "convertible-" version ".tar.gz"))
2790 (sha256
2791 (base32
2792 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
2793 (build-system haskell-build-system)
2794 (inputs
2795 `(("ghc-old-time" ,ghc-old-time)
2796 ("ghc-old-locale" ,ghc-old-locale)))
2797 (home-page "https://hackage.haskell.org/package/convertible")
2798 (synopsis "Typeclasses and instances for converting between types")
2799 (description
2800 "This package provides a typeclass with a single function that is
2801 designed to help convert between different types: numeric values, dates and
2802 times, and the like. The conversions perform bounds checking and return a
2803 pure @code{Either} value. This means that you need not remember which specific
2804 function performs the conversion you desire.")
2805 (license license:bsd-3)))
2806
2807 (define-public ghc-csv
2808 (package
2809 (name "ghc-csv")
2810 (version "0.1.2")
2811 (source
2812 (origin
2813 (method url-fetch)
2814 (uri (string-append
2815 "https://hackage.haskell.org/package/csv/csv-"
2816 version
2817 ".tar.gz"))
2818 (sha256
2819 (base32
2820 "00767ai09wm7f0yzmpqck3cpgxncpr9djnmmz5l17ajz69139x4c"))))
2821 (build-system haskell-build-system)
2822 (home-page "http://hackage.haskell.org/package/csv")
2823 (synopsis "CSV loader and dumper")
2824 (description
2825 "This library parses and dumps documents that are formatted according to
2826 RFC 4180, @cite{The common Format and MIME Type for Comma-Separated
2827 Values (CSV) Files}. This format is used, among many other things, as a
2828 lingua franca for spreadsheets, and for certain web services.")
2829 (license license:expat)))
2830
2831 (define-public ghc-data-accessor
2832 (package
2833 (name "ghc-data-accessor")
2834 (version "0.2.2.8")
2835 (source
2836 (origin
2837 (method url-fetch)
2838 (uri (string-append
2839 "mirror://hackage/package/data-accessor/data-accessor-"
2840 version ".tar.gz"))
2841 (sha256
2842 (base32 "1fq4gygxbz0bd0mzgvc1sl3m4gjnsv8nbgpnmdpa29zj5lb9agxc"))))
2843 (build-system haskell-build-system)
2844 (home-page "https://wiki.haskell.org/Record_access")
2845 (synopsis
2846 "Haskell utilities for accessing and manipulating fields of records")
2847 (description "This package provides Haskell modules for accessing and
2848 manipulating fields of records.")
2849 (license license:bsd-3)))
2850
2851 (define-public ghc-data-accessor-transformers
2852 (package
2853 (name "ghc-data-accessor-transformers")
2854 (version "0.2.1.7")
2855 (source
2856 (origin
2857 (method url-fetch)
2858 (uri (string-append
2859 "mirror://hackage/package/data-accessor-transformers/"
2860 "data-accessor-transformers-" version ".tar.gz"))
2861 (sha256
2862 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
2863 (build-system haskell-build-system)
2864 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
2865 (home-page "https://wiki.haskell.org/Record_access")
2866 (synopsis "Use Accessor to access state in transformers State monad")
2867 (description "This package provides Haskell modules to allow use of
2868 Accessor to access state in transformers State monad.")
2869 (license license:bsd-3)))
2870
2871 (define-public ghc-data-default
2872 (package
2873 (name "ghc-data-default")
2874 (version "0.7.1.1")
2875 (source
2876 (origin
2877 (method url-fetch)
2878 (uri (string-append
2879 "https://hackage.haskell.org/package/data-default/data-default-"
2880 version
2881 ".tar.gz"))
2882 (sha256
2883 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
2884 (build-system haskell-build-system)
2885 (inputs
2886 `(("ghc-data-default-class"
2887 ,ghc-data-default-class)
2888 ("ghc-data-default-instances-base"
2889 ,ghc-data-default-instances-base)
2890 ("ghc-data-default-instances-containers"
2891 ,ghc-data-default-instances-containers)
2892 ("ghc-data-default-instances-dlist"
2893 ,ghc-data-default-instances-dlist)
2894 ("ghc-data-default-instances-old-locale"
2895 ,ghc-data-default-instances-old-locale)))
2896 (home-page "https://hackage.haskell.org/package/data-default")
2897 (synopsis "Types with default values")
2898 (description
2899 "This package defines a class for types with a default value, and
2900 provides instances for types from the base, containers, dlist and old-locale
2901 packages.")
2902 (license license:bsd-3)))
2903
2904 (define-public ghc-data-default-class
2905 (package
2906 (name "ghc-data-default-class")
2907 (version "0.1.2.0")
2908 (source
2909 (origin
2910 (method url-fetch)
2911 (uri (string-append
2912 "https://hackage.haskell.org/package/data-default-class/"
2913 "data-default-class-" version ".tar.gz"))
2914 (sha256
2915 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
2916 (build-system haskell-build-system)
2917 (home-page "https://hackage.haskell.org/package/data-default-class")
2918 (synopsis "Types with default values")
2919 (description
2920 "This package defines a class for types with default values.")
2921 (license license:bsd-3)))
2922
2923 (define-public ghc-data-default-instances-base
2924 (package
2925 (name "ghc-data-default-instances-base")
2926 (version "0.1.0.1")
2927 (source
2928 (origin
2929 (method url-fetch)
2930 (uri (string-append
2931 "https://hackage.haskell.org/package/"
2932 "data-default-instances-base/"
2933 "data-default-instances-base-" version ".tar.gz"))
2934 (sha256
2935 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
2936 (build-system haskell-build-system)
2937 (inputs
2938 `(("ghc-data-default-class" ,ghc-data-default-class)))
2939 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
2940 (synopsis "Default instances for types in base")
2941 (description
2942 "This package provides default instances for types from the base
2943 package.")
2944 (license license:bsd-3)))
2945
2946 (define-public ghc-data-default-instances-containers
2947 (package
2948 (name "ghc-data-default-instances-containers")
2949 (version "0.0.1")
2950 (source
2951 (origin
2952 (method url-fetch)
2953 (uri (string-append
2954 "https://hackage.haskell.org/package/"
2955 "data-default-instances-containers/"
2956 "data-default-instances-containers-" version ".tar.gz"))
2957 (sha256
2958 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
2959 (build-system haskell-build-system)
2960 (inputs
2961 `(("ghc-data-default-class" ,ghc-data-default-class)))
2962 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
2963 (synopsis "Default instances for types in containers")
2964 (description "Provides default instances for types from the containers
2965 package.")
2966 (license license:bsd-3)))
2967
2968 (define-public ghc-data-default-instances-dlist
2969 (package
2970 (name "ghc-data-default-instances-dlist")
2971 (version "0.0.1")
2972 (source
2973 (origin
2974 (method url-fetch)
2975 (uri (string-append
2976 "https://hackage.haskell.org/package/"
2977 "data-default-instances-dlist/"
2978 "data-default-instances-dlist-" version ".tar.gz"))
2979 (sha256
2980 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
2981 (build-system haskell-build-system)
2982 (inputs
2983 `(("ghc-data-default-class" ,ghc-data-default-class)
2984 ("ghc-dlist" ,ghc-dlist)))
2985 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
2986 (synopsis "Default instances for types in dlist")
2987 (description "Provides default instances for types from the dlist
2988 package.")
2989 (license license:bsd-3)))
2990
2991 (define-public ghc-data-default-instances-old-locale
2992 (package
2993 (name "ghc-data-default-instances-old-locale")
2994 (version "0.0.1")
2995 (source
2996 (origin
2997 (method url-fetch)
2998 (uri (string-append
2999 "https://hackage.haskell.org/package/"
3000 "data-default-instances-old-locale/"
3001 "data-default-instances-old-locale-" version ".tar.gz"))
3002 (sha256
3003 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
3004 (build-system haskell-build-system)
3005 (inputs
3006 `(("ghc-data-default-class" ,ghc-data-default-class)
3007 ("ghc-old-locale" ,ghc-old-locale)))
3008 (home-page
3009 "https://hackage.haskell.org/package/data-default-instances-old-locale")
3010 (synopsis "Default instances for types in old-locale")
3011 (description "Provides Default instances for types from the old-locale
3012 package.")
3013 (license license:bsd-3)))
3014
3015 (define-public ghc-data-fix
3016 (package
3017 (name "ghc-data-fix")
3018 (version "0.2.0")
3019 (source
3020 (origin
3021 (method url-fetch)
3022 (uri (string-append
3023 "mirror://hackage/package/data-fix/"
3024 "data-fix-" version ".tar.gz"))
3025 (sha256
3026 (base32 "14hk6hq5hdb3l5bhmzhw086jpzlvp9qbw9dzw30wlz5jbh2ihmvy"))))
3027 (build-system haskell-build-system)
3028 (home-page "https://github.com/spell-music/data-fix")
3029 (synopsis "Fixpoint data types")
3030 (description
3031 "Fixpoint types and recursion schemes. If you define your AST as
3032 fixpoint type, you get fold and unfold operations for free.
3033
3034 Thanks for contribution to: Matej Kollar, Herbert Valerio Riedel")
3035 (license license:bsd-3)))
3036
3037 (define-public ghc-data-hash
3038 (package
3039 (name "ghc-data-hash")
3040 (version "0.2.0.1")
3041 (source
3042 (origin
3043 (method url-fetch)
3044 (uri (string-append "https://hackage.haskell.org/package/data-hash"
3045 "/data-hash-" version ".tar.gz"))
3046 (sha256
3047 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
3048 (build-system haskell-build-system)
3049 (inputs
3050 `(("ghc-quickcheck" ,ghc-quickcheck)
3051 ("ghc-test-framework" ,ghc-test-framework)
3052 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3053 (home-page "https://hackage.haskell.org/package/data-hash")
3054 (synopsis "Combinators for building fast hashing functions")
3055 (description
3056 "This package provides combinators for building fast hashing functions.
3057 It includes hashing functions for all basic Haskell98 types.")
3058 (license license:bsd-3)))
3059
3060 (define-public ghc-data-ordlist
3061 (package
3062 (name "ghc-data-ordlist")
3063 (version "0.4.7.0")
3064 (source
3065 (origin
3066 (method url-fetch)
3067 (uri (string-append
3068 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
3069 version ".tar.gz"))
3070 (sha256
3071 (base32
3072 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
3073 (build-system haskell-build-system)
3074 (home-page "https://hackage.haskell.org/package/data-ordlist")
3075 (synopsis "Set and bag operations on ordered lists")
3076 (description
3077 "This module provides set and multiset operations on ordered lists.")
3078 (license license:bsd-3)))
3079
3080 (define-public ghc-dbus
3081 (package
3082 (name "ghc-dbus")
3083 (version "1.2.7")
3084 (source
3085 (origin
3086 (method url-fetch)
3087 (uri
3088 (string-append
3089 "mirror://hackage/package/dbus/dbus-"
3090 version ".tar.gz"))
3091 (sha256
3092 (base32
3093 "0ypkjlw9fn65g7p28kb3p82glk7qs7p7vyffccw7qxa3z57s12w5"))))
3094 (build-system haskell-build-system)
3095 (inputs
3096 `(("ghc-cereal" ,ghc-cereal)
3097 ("ghc-conduit" ,ghc-conduit)
3098 ("ghc-exceptions" ,ghc-exceptions)
3099 ("ghc-lens" ,ghc-lens)
3100 ("ghc-network" ,ghc-network)
3101 ("ghc-random" ,ghc-random)
3102 ("ghc-split" ,ghc-split)
3103 ("ghc-th-lift" ,ghc-th-lift)
3104 ("ghc-vector" ,ghc-vector)
3105 ("ghc-xml-conduit" ,ghc-xml-conduit)
3106 ("ghc-xml-types" ,ghc-xml-types)))
3107 (native-inputs
3108 `(("ghc-extra" ,ghc-extra)
3109 ("ghc-quickcheck" ,ghc-quickcheck)
3110 ("ghc-resourcet" ,ghc-resourcet)
3111 ("ghc-tasty" ,ghc-tasty)
3112 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3113 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3114 ;; FIXME - Some tests try to talk to network.
3115 (arguments `(#:tests? #f))
3116 (home-page "https://github.com/rblaze/haskell-dbus")
3117 (synopsis "Client library for the D-Bus IPC system")
3118 (description
3119 "D-Bus is a simple, message-based protocol for inter-process
3120 communication, which allows applications to interact with other parts
3121 of the machine and the user's session using remote procedure
3122 calls. D-Bus is a essential part of the modern Linux desktop, where
3123 it replaces earlier protocols such as CORBA and DCOP. This library
3124 is an implementation of the D-Bus protocol in Haskell. It can be used
3125 to add D-Bus support to Haskell applications, without the awkward
3126 interfaces common to foreign bindings.")
3127 (license license:asl2.0)))
3128
3129 (define-public ghc-decimal
3130 (package
3131 (name "ghc-decimal")
3132 (version "0.5.1")
3133 (source
3134 (origin
3135 (method url-fetch)
3136 (uri (string-append
3137 "https://hackage.haskell.org/package/Decimal/Decimal-"
3138 version
3139 ".tar.gz"))
3140 (sha256
3141 (base32
3142 "0k7kh05mr2f54w1lpgq1nln0h8k6s6h99dyp5jzsb9cfbb3aap2p"))))
3143 (build-system haskell-build-system)
3144 (native-inputs
3145 `(("ghc-hunit" ,ghc-hunit)
3146 ("ghc-quickcheck" ,ghc-quickcheck)
3147 ("ghc-test-framework" ,ghc-test-framework)
3148 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3149 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3150 (home-page "https://github.com/PaulJohnson/Haskell-Decimal")
3151 (synopsis "Decimal numbers with variable precision")
3152 (description
3153 "A decimal number has an integer mantissa and a negative exponent.
3154 The exponent can be interpreted as the number of decimal places in the
3155 value.")
3156 (license license:bsd-3)))
3157
3158 (define-public ghc-deepseq-generics
3159 (package
3160 (name "ghc-deepseq-generics")
3161 (version "0.2.0.0")
3162 (source (origin
3163 (method url-fetch)
3164 (uri (string-append "https://hackage.haskell.org/package/"
3165 "deepseq-generics/deepseq-generics-"
3166 version ".tar.gz"))
3167 (sha256
3168 (base32
3169 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
3170 (build-system haskell-build-system)
3171 (arguments
3172 `(#:cabal-revision
3173 ("4" "0928s2qnbqsjzrm94x88rvmvbigfmhcyp4m73gw6asinp2qg1kii")))
3174 (native-inputs
3175 `(("ghc-hunit" ,ghc-hunit)
3176 ("ghc-test-framework" ,ghc-test-framework)
3177 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3178 (home-page "https://github.com/hvr/deepseq-generics")
3179 (synopsis "Generic RNF implementation")
3180 (description
3181 "This package provides a @code{GHC.Generics}-based
3182 @code{Control.DeepSeq.Generics.genericRnf} function which can be used for
3183 providing an @code{rnf} implementation.")
3184 (license license:bsd-3)))
3185
3186 (define-public ghc-dense-linear-algebra
3187 (package
3188 (name "ghc-dense-linear-algebra")
3189 (version "0.1.0.0")
3190 (source
3191 (origin
3192 (method url-fetch)
3193 (uri (string-append "https://hackage.haskell.org/package/"
3194 "dense-linear-algebra/dense-linear-algebra-"
3195 version ".tar.gz"))
3196 (sha256
3197 (base32
3198 "1m7jjxahqxj7ilic3r9806mwp5rnnsmn8vvipkmk40xl65wplxzp"))))
3199 (build-system haskell-build-system)
3200 (inputs
3201 `(("ghc-math-functions" ,ghc-math-functions)
3202 ("ghc-primitive" ,ghc-primitive)
3203 ("ghc-vector" ,ghc-vector)
3204 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
3205 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
3206 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
3207 (native-inputs
3208 `(("ghc-hspec" ,ghc-hspec)
3209 ("ghc-quickcheck" ,ghc-quickcheck)))
3210 (home-page "https://hackage.haskell.org/package/dense-linear-algebra")
3211 (synopsis "Simple and incomplete implementation of linear algebra")
3212 (description "This library is simply a collection of linear-algebra
3213 related modules split from the statistics library.")
3214 (license license:bsd-2)))
3215
3216 (define-public ghc-descriptive
3217 (package
3218 (name "ghc-descriptive")
3219 (version "0.9.5")
3220 (source
3221 (origin
3222 (method url-fetch)
3223 (uri (string-append
3224 "https://hackage.haskell.org/package/descriptive/descriptive-"
3225 version
3226 ".tar.gz"))
3227 (sha256
3228 (base32
3229 "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237"))))
3230 (build-system haskell-build-system)
3231 (inputs
3232 `(("ghc-aeson" ,ghc-aeson)
3233 ("ghc-bifunctors" ,ghc-bifunctors)
3234 ("ghc-scientific" ,ghc-scientific)
3235 ("ghc-vector" ,ghc-vector)))
3236 (native-inputs
3237 `(("ghc-hunit" ,ghc-hunit)
3238 ("ghc-hspec" ,ghc-hspec)))
3239 (home-page
3240 "https://github.com/chrisdone/descriptive")
3241 (synopsis
3242 "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.")
3243 (description
3244 "This package provides datatypes and functions for creating consumers
3245 and parsers with useful semantics.")
3246 (license license:bsd-3)))
3247
3248 (define-public ghc-diagrams-core
3249 (package
3250 (name "ghc-diagrams-core")
3251 (version "1.4.2")
3252 (source
3253 (origin
3254 (method url-fetch)
3255 (uri (string-append "https://hackage.haskell.org/package/"
3256 "diagrams-core/diagrams-core-" version ".tar.gz"))
3257 (sha256
3258 (base32
3259 "0qgb43vy23g4fxh3nmxfq6jyp34imqvkhgflaa6rz0iq6d60gl43"))))
3260 (build-system haskell-build-system)
3261 (inputs
3262 `(("ghc-unordered-containers" ,ghc-unordered-containers)
3263 ("ghc-semigroups" ,ghc-semigroups)
3264 ("ghc-monoid-extras" ,ghc-monoid-extras)
3265 ("ghc-dual-tree" ,ghc-dual-tree)
3266 ("ghc-lens" ,ghc-lens)
3267 ("ghc-linear" ,ghc-linear)
3268 ("ghc-adjunctions" ,ghc-adjunctions)
3269 ("ghc-distributive" ,ghc-distributive)
3270 ("ghc-profunctors" ,ghc-profunctors)))
3271 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3272 (synopsis "Core libraries for diagrams embedded domain-specific language")
3273 (description "This package provides the core modules underlying
3274 diagrams, an embedded domain-specific language for compositional,
3275 declarative drawing.")
3276 (license license:bsd-3)))
3277
3278 (define-public ghc-diagrams-lib
3279 (package
3280 (name "ghc-diagrams-lib")
3281 (version "1.4.2.3")
3282 (source
3283 (origin
3284 (method url-fetch)
3285 (uri (string-append "https://hackage.haskell.org/package/"
3286 "diagrams-lib/diagrams-lib-" version ".tar.gz"))
3287 (sha256
3288 (base32
3289 "175yzi5kw4yd8ykdkpf64q85c7j3p89l90m3h6qcsx9ipv6av9r5"))))
3290 (build-system haskell-build-system)
3291 (inputs
3292 `(("ghc-semigroups" ,ghc-semigroups)
3293 ("ghc-monoid-extras" ,ghc-monoid-extras)
3294 ("ghc-dual-tree" ,ghc-dual-tree)
3295 ("ghc-diagrams-core" ,ghc-diagrams-core)
3296 ("ghc-diagrams-solve" ,ghc-diagrams-solve)
3297 ("ghc-active" ,ghc-active)
3298 ("ghc-colour" ,ghc-colour)
3299 ("ghc-data-default-class" ,ghc-data-default-class)
3300 ("ghc-fingertree" ,ghc-fingertree)
3301 ("ghc-intervals" ,ghc-intervals)
3302 ("ghc-lens" ,ghc-lens)
3303 ("ghc-tagged" ,ghc-tagged)
3304 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
3305 ("ghc-juicypixels" ,ghc-juicypixels)
3306 ("ghc-hashable" ,ghc-hashable)
3307 ("ghc-linear" ,ghc-linear)
3308 ("ghc-adjunctions" ,ghc-adjunctions)
3309 ("ghc-distributive" ,ghc-distributive)
3310 ("ghc-fsnotify" ,ghc-fsnotify)
3311 ("ghc-unordered-containers" ,ghc-unordered-containers)
3312 ("ghc-profunctors" ,ghc-profunctors)
3313 ("ghc-exceptions" ,ghc-exceptions)
3314 ("ghc-cereal" ,ghc-cereal)))
3315 (native-inputs
3316 `(("ghc-tasty" ,ghc-tasty)
3317 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3318 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
3319 ("ghc-numeric-extras" ,ghc-numeric-extras)))
3320 (arguments
3321 `(#:cabal-revision
3322 ("3" "157y2qdsh0aczs81vzlm377mks976mpv6y3aqnchwsnr7apzp8ai")))
3323 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3324 (synopsis "Embedded domain-specific language for declarative graphics")
3325 (description "Diagrams is a flexible, extensible embedded
3326 domain-specific language (EDSL) for creating graphics of many types.
3327 Graphics can be created in arbitrary vector spaces and rendered with
3328 multiple backends. This package provides a standard library of
3329 primitives and operations for creating diagrams.")
3330 (license license:bsd-3)))
3331
3332 (define-public ghc-diagrams-solve
3333 (package
3334 (name "ghc-diagrams-solve")
3335 (version "0.1.1")
3336 (source
3337 (origin
3338 (method url-fetch)
3339 (uri (string-append "https://hackage.haskell.org/package/"
3340 "diagrams-solve/diagrams-solve-"
3341 version ".tar.gz"))
3342 (sha256
3343 (base32
3344 "17agchqkmj14b17sw50kzxq4hm056g5d8yy0wnqn5w8h1d0my7x4"))))
3345 (build-system haskell-build-system)
3346 (native-inputs
3347 `(("ghc-tasty" ,ghc-tasty)
3348 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3349 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3350 (arguments
3351 `(#:cabal-revision
3352 ("5" "1yl8cs05fzqcz49p601am1ij66m9pa70yamhfxgcvya2pf8nimlf")))
3353 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3354 (synopsis "Pure Haskell solver routines used by diagrams")
3355 (description "This library provides Pure Haskell solver routines for
3356 use by the
3357 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3358 diagrams framework}. It currently includes routines for finding real
3359 roots of low-degree (@math{n < 5}) polynomials, and solving tridiagonal
3360 and cyclic tridiagonal linear systems.")
3361 (license license:bsd-3)))
3362
3363 (define-public ghc-diagrams-svg
3364 (package
3365 (name "ghc-diagrams-svg")
3366 (version "1.4.2")
3367 (source
3368 (origin
3369 (method url-fetch)
3370 (uri (string-append "https://hackage.haskell.org/package/"
3371 "diagrams-svg/diagrams-svg-" version ".tar.gz"))
3372 (sha256
3373 (base32
3374 "1lnyxx45yawqas7hmvvannwaa3ycf1l9g40lsl2m8sl2ja6vcmal"))))
3375 (build-system haskell-build-system)
3376 (inputs
3377 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
3378 ("ghc-colour" ,ghc-colour)
3379 ("ghc-diagrams-core" ,ghc-diagrams-core)
3380 ("ghc-diagrams-lib" ,ghc-diagrams-lib)
3381 ("ghc-monoid-extras" ,ghc-monoid-extras)
3382 ("ghc-svg-builder" ,ghc-svg-builder)
3383 ("ghc-juicypixels" ,ghc-juicypixels)
3384 ("ghc-split" ,ghc-split)
3385 ("ghc-lens" ,ghc-lens)
3386 ("ghc-hashable" ,ghc-hashable)
3387 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
3388 ("ghc-semigroups" ,ghc-semigroups)))
3389 (arguments
3390 `(#:cabal-revision
3391 ("2" "15sn85xaachw4cj56w61bjcwrbf4qmnkfl8mbgdapxi5k0y4f2qv")))
3392 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3393 (synopsis "Scalable Vector Grpahics backend for the diagrams framework")
3394 (description "This package provides a modular backend for rendering
3395 diagrams created with the diagrams embedded domain-specific
3396 language (EDSL) to Scalable Vector Graphics (SVG) files.")
3397 (license license:bsd-3)))
3398
3399 (define-public ghc-dictionary-sharing
3400 (package
3401 (name "ghc-dictionary-sharing")
3402 (version "0.1.0.0")
3403 (source
3404 (origin
3405 (method url-fetch)
3406 (uri (string-append "https://hackage.haskell.org/package/"
3407 "dictionary-sharing/dictionary-sharing-"
3408 version ".tar.gz"))
3409 (sha256
3410 (base32
3411 "00aspv943qdqhlk39mbk00kb1dsa5r0caj8sslrn81fnsn252fwc"))))
3412 (build-system haskell-build-system)
3413 (arguments
3414 `(#:cabal-revision
3415 ("3" "1mn7jcc7h3b8f1pn9zigqp6mc2n0qb66lms5qnrx4zswdv5w9439")))
3416 (home-page "https://hackage.haskell.org/package/dictionary-sharing")
3417 (synopsis "Sharing/memoization of class members")
3418 (description "This library provides tools for ensuring that class
3419 members are shared.")
3420 (license license:bsd-3)))
3421
3422 (define-public ghc-diff
3423 (package
3424 (name "ghc-diff")
3425 (version "0.3.4")
3426 (source (origin
3427 (method url-fetch)
3428 (uri (string-append "https://hackage.haskell.org/package/"
3429 "Diff/Diff-" version ".tar.gz"))
3430 (patches (search-patches "ghc-diff-swap-cover-args.patch"))
3431 (sha256
3432 (base32
3433 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
3434 (build-system haskell-build-system)
3435 (native-inputs
3436 `(("ghc-quickcheck" ,ghc-quickcheck)
3437 ("ghc-test-framework" ,ghc-test-framework)
3438 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3439 (home-page "https://hub.darcs.net/sterlingclover/Diff")
3440 (synopsis "O(ND) diff algorithm in Haskell")
3441 (description
3442 "This package provides an implementation of the standard diff algorithm,
3443 and utilities for pretty printing.")
3444 (license license:bsd-3)))
3445
3446 (define-public ghc-disk-free-space
3447 (package
3448 (name "ghc-disk-free-space")
3449 (version "0.1.0.1")
3450 (source
3451 (origin
3452 (method url-fetch)
3453 (uri (string-append "https://hackage.haskell.org/package/"
3454 "disk-free-space/disk-free-space-"
3455 version ".tar.gz"))
3456 (sha256
3457 (base32
3458 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
3459 (build-system haskell-build-system)
3460 (home-page "https://github.com/redneb/disk-free-space")
3461 (synopsis "Retrieve information about disk space usage")
3462 (description "A cross-platform library for retrieving information about
3463 disk space usage.")
3464 (license license:bsd-3)))
3465
3466 (define-public ghc-distributive
3467 (package
3468 (name "ghc-distributive")
3469 (version "0.6.2")
3470 (source
3471 (origin
3472 (method url-fetch)
3473 (uri (string-append
3474 "https://hackage.haskell.org/package/distributive/distributive-"
3475 version
3476 ".tar.gz"))
3477 (sha256
3478 (base32
3479 "1j93zkfffm6s16kgr0j0z87y5ds28rw0r2gyc5ncwcylvrqy4kl2"))))
3480 (build-system haskell-build-system)
3481 (inputs
3482 `(("ghc-tagged" ,ghc-tagged)
3483 ("ghc-base-orphans" ,ghc-base-orphans)
3484 ("ghc-transformers-compat" ,ghc-transformers-compat)
3485 ("ghc-semigroups" ,ghc-semigroups)
3486 ("ghc-generic-deriving" ,ghc-generic-deriving)))
3487 (native-inputs
3488 `(("cabal-doctest" ,cabal-doctest)
3489 ("ghc-doctest" ,ghc-doctest)
3490 ("ghc-hspec" ,ghc-hspec)
3491 ("hspec-discover" ,hspec-discover)))
3492 (home-page "https://github.com/ekmett/distributive/")
3493 (synopsis "Distributive functors for Haskell")
3494 (description "This package provides distributive functors for Haskell.
3495 Dual to @code{Traversable}.")
3496 (license license:bsd-3)))
3497
3498 (define-public ghc-dlist
3499 (package
3500 (name "ghc-dlist")
3501 (version "0.8.0.7")
3502 (source
3503 (origin
3504 (method url-fetch)
3505 (uri (string-append
3506 "https://hackage.haskell.org/package/dlist/dlist-"
3507 version
3508 ".tar.gz"))
3509 (sha256
3510 (base32 "0b5spkzvj2kx8pk86xz0djkxs13j7dryf5fl16dk4mlp1wh6mh53"))))
3511 (build-system haskell-build-system)
3512 (inputs
3513 `(("ghc-quickcheck" ,ghc-quickcheck)))
3514 (home-page "https://github.com/spl/dlist")
3515 (synopsis "Difference lists")
3516 (description
3517 "Difference lists are a list-like type supporting O(1) append. This is
3518 particularly useful for efficient logging and pretty printing (e.g. with the
3519 Writer monad), where list append quickly becomes too expensive.")
3520 (license license:bsd-3)))
3521
3522 (define-public ghc-doctemplates
3523 (package
3524 (name "ghc-doctemplates")
3525 (version "0.2.2.1")
3526 (source
3527 (origin
3528 (method url-fetch)
3529 (uri (string-append "https://hackage.haskell.org/package/"
3530 "doctemplates/doctemplates-"
3531 version ".tar.gz"))
3532 (sha256
3533 (base32
3534 "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b"))))
3535 (build-system haskell-build-system)
3536 (inputs
3537 `(("ghc-aeson" ,ghc-aeson)
3538 ("ghc-blaze-markup" ,ghc-blaze-markup)
3539 ("ghc-blaze-html" ,ghc-blaze-html)
3540 ("ghc-vector" ,ghc-vector)
3541 ("ghc-unordered-containers" ,ghc-unordered-containers)
3542 ("ghc-scientific" ,ghc-scientific)))
3543 (native-inputs
3544 `(("ghc-hspec" ,ghc-hspec)))
3545 (home-page "https://github.com/jgm/doctemplates#readme")
3546 (synopsis "Pandoc-style document templates")
3547 (description
3548 "This package provides a simple text templating system used by pandoc.")
3549 (license license:bsd-3)))
3550
3551 (define-public ghc-doctest
3552 (package
3553 (name "ghc-doctest")
3554 (version "0.16.2")
3555 (source
3556 (origin
3557 (method url-fetch)
3558 (uri (string-append
3559 "https://hackage.haskell.org/package/doctest/doctest-"
3560 version
3561 ".tar.gz"))
3562 (sha256
3563 (base32
3564 "0lk4cjfzi5bx2snfzw1zi06li0gvgz3ckfh2kwa98l7nxfdl39ag"))))
3565 (build-system haskell-build-system)
3566 (arguments `(#:tests? #f)) ; FIXME: missing test framework
3567 (inputs
3568 `(("ghc-base-compat" ,ghc-base-compat)
3569 ("ghc-code-page" ,ghc-code-page)
3570 ("ghc-paths" ,ghc-paths)
3571 ("ghc-syb" ,ghc-syb)))
3572 (native-inputs
3573 `(("ghc-hunit" ,ghc-hunit)
3574 ("ghc-quickcheck" ,ghc-quickcheck)
3575 ("ghc-hspec" ,ghc-hspec)
3576 ("ghc-mockery" ,ghc-mockery)
3577 ("ghc-setenv" ,ghc-setenv)
3578 ("ghc-silently" ,ghc-silently)
3579 ("ghc-stringbuilder" ,ghc-stringbuilder)))
3580 (home-page
3581 "https://github.com/sol/doctest#readme")
3582 (synopsis "Test interactive Haskell examples")
3583 (description "The doctest program checks examples in source code comments.
3584 It is modeled after doctest for Python, see
3585 @uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
3586 (license license:expat)))
3587
3588 (define-public ghc-dotgen
3589 (package
3590 (name "ghc-dotgen")
3591 (version "0.4.2")
3592 (source
3593 (origin
3594 (method url-fetch)
3595 (uri (string-append
3596 "mirror://hackage/package/dotgen/dotgen-"
3597 version
3598 ".tar.gz"))
3599 (sha256
3600 (base32
3601 "148q93qsmqgr5pzdwvpjqfd6bdm1pwzcp2rblfwswx2x8c5f43fg"))))
3602 (build-system haskell-build-system)
3603 (home-page "https://github.com/ku-fpg/dotgen")
3604 (synopsis
3605 "Simple interface for building .dot graph files")
3606 (description
3607 "This package provides a simple interface for building .dot graph
3608 files, for input into the dot and graphviz tools. It includes a
3609 monadic interface for building graphs.")
3610 (license license:bsd-3)))
3611
3612 (define-public ghc-double-conversion
3613 (package
3614 (name "ghc-double-conversion")
3615 (version "2.0.2.0")
3616 (source
3617 (origin
3618 (method url-fetch)
3619 (uri (string-append "https://hackage.haskell.org/package/"
3620 "double-conversion/double-conversion-"
3621 version ".tar.gz"))
3622 (sha256
3623 (base32
3624 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
3625 (build-system haskell-build-system)
3626 (native-inputs
3627 `(("ghc-hunit" ,ghc-hunit)
3628 ("ghc-test-framework" ,ghc-test-framework)
3629 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3630 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3631 (home-page "https://github.com/bos/double-conversion")
3632 (synopsis "Fast conversion between double precision floating point and text")
3633 (description
3634 "This package provides a library that performs fast, accurate conversion
3635 between double precision floating point and text.")
3636 (license license:bsd-3)))
3637
3638 (define-public ghc-dual-tree
3639 (package
3640 (name "ghc-dual-tree")
3641 (version "0.2.2.1")
3642 (source
3643 (origin
3644 (method url-fetch)
3645 (uri (string-append "https://hackage.haskell.org/package/"
3646 "dual-tree/dual-tree-" version ".tar.gz"))
3647 (sha256
3648 (base32
3649 "17kdfnf0df0z5pkiifxrlmyd1xd7hjjaazd2kzyajl0gd00vbszx"))))
3650 (build-system haskell-build-system)
3651 (inputs
3652 `(("ghc-semigroups" ,ghc-semigroups)
3653 ("ghc-newtype-generics" ,ghc-newtype-generics)
3654 ("ghc-monoid-extras" ,ghc-monoid-extras)))
3655 (native-inputs
3656 `(("ghc-quickcheck" ,ghc-quickcheck)
3657 ("ghc-testing-feat" ,ghc-testing-feat)))
3658 (home-page "https://hackage.haskell.org/package/dual-tree")
3659 (synopsis "Rose trees with cached and accumulating monoidal annotations")
3660 (description "Rose (@math{n}-ary) trees with both upwards- (i.e.
3661 cached) and downwards-traveling (i.e. accumulating) monoidal
3662 annotations. This is used as the core data structure underlying the
3663 @url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3664 diagrams framework}, but potentially has other applications as well.")
3665 (license license:bsd-3)))
3666
3667 (define-public ghc-easy-file
3668 (package
3669 (name "ghc-easy-file")
3670 (version "0.2.2")
3671 (source
3672 (origin
3673 (method url-fetch)
3674 (uri (string-append
3675 "https://hackage.haskell.org/package/easy-file/easy-file-"
3676 version
3677 ".tar.gz"))
3678 (sha256
3679 (base32
3680 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
3681 (build-system haskell-build-system)
3682 (home-page
3683 "https://github.com/kazu-yamamoto/easy-file")
3684 (synopsis "File handling library for Haskell")
3685 (description "This library provides file handling utilities for Haskell.")
3686 (license license:bsd-3)))
3687
3688 (define-public ghc-easyplot
3689 (package
3690 (name "ghc-easyplot")
3691 (version "1.0")
3692 (source
3693 (origin
3694 (method url-fetch)
3695 (uri (string-append
3696 "https://hackage.haskell.org/package/easyplot/easyplot-"
3697 version ".tar.gz"))
3698 (sha256
3699 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
3700 (build-system haskell-build-system)
3701 (propagated-inputs `(("gnuplot" ,gnuplot)))
3702 (arguments
3703 `(#:phases (modify-phases %standard-phases
3704 (add-after 'unpack 'fix-setup-suffix
3705 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
3706 (home-page "https://hub.darcs.net/scravy/easyplot")
3707 (synopsis "Haskell plotting library based on gnuplot")
3708 (description "This package provides a plotting library for
3709 Haskell, using gnuplot for rendering.")
3710 (license license:expat)))
3711
3712 (define-public ghc-echo
3713 (package
3714 (name "ghc-echo")
3715 (version "0.1.3")
3716 (source
3717 (origin
3718 (method url-fetch)
3719 (uri (string-append
3720 "https://hackage.haskell.org/package/echo/echo-"
3721 version ".tar.gz"))
3722 (sha256
3723 (base32
3724 "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh"))))
3725 (build-system haskell-build-system)
3726 (arguments
3727 `(#:cabal-revision
3728 ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l")))
3729 (home-page "https://github.com/RyanGlScott/echo")
3730 (synopsis "Echo terminal input portably")
3731 (description "The @code{base} library exposes the @code{hGetEcho} and
3732 @code{hSetEcho} functions for querying and setting echo status, but
3733 unfortunately, neither function works with MinTTY consoles on Windows.
3734 This library provides an alternative interface which works with both
3735 MinTTY and other consoles.")
3736 (license license:bsd-3)))
3737
3738 (define-public ghc-edisonapi
3739 (package
3740 (name "ghc-edisonapi")
3741 (version "1.3.1")
3742 (source
3743 (origin
3744 (method url-fetch)
3745 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
3746 "/EdisonAPI-" version ".tar.gz"))
3747 (sha256
3748 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
3749 (build-system haskell-build-system)
3750 (home-page "http://rwd.rdockins.name/edison/home/")
3751 (synopsis "Library of efficient, purely-functional data structures (API)")
3752 (description
3753 "Edison is a library of purely functional data structures written by
3754 Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
3755 value EDiSon (Efficient Data Structures). Edison provides several families of
3756 abstractions, each with multiple implementations. The main abstractions
3757 provided by Edison are: Sequences such as stacks, queues, and dequeues;
3758 Collections such as sets, bags and heaps; and Associative Collections such as
3759 finite maps and priority queues where the priority and element are distinct.")
3760 (license license:expat)))
3761
3762 (define-public ghc-edisoncore
3763 (package
3764 (name "ghc-edisoncore")
3765 (version "1.3.2.1")
3766 (source
3767 (origin
3768 (method url-fetch)
3769 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
3770 "/EdisonCore-" version ".tar.gz"))
3771 (sha256
3772 (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk"))))
3773 (build-system haskell-build-system)
3774 (inputs
3775 `(("ghc-quickcheck" ,ghc-quickcheck)
3776 ("ghc-edisonapi" ,ghc-edisonapi)))
3777 (home-page "http://rwd.rdockins.name/edison/home/")
3778 (synopsis "Library of efficient, purely-functional data structures")
3779 (description
3780 "This package provides the core Edison data structure implementations,
3781 including multiple sequence, set, bag, and finite map concrete implementations
3782 with various performance characteristics.")
3783 (license license:expat)))
3784
3785 (define-public ghc-edit-distance
3786 (package
3787 (name "ghc-edit-distance")
3788 (version "0.2.2.1")
3789 (source
3790 (origin
3791 (method url-fetch)
3792 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
3793 "/edit-distance-" version ".tar.gz"))
3794 (sha256
3795 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
3796 (build-system haskell-build-system)
3797 (arguments
3798 `(#:phases
3799 (modify-phases %standard-phases
3800 (add-before 'configure 'update-constraints
3801 (lambda _
3802 (substitute* "edit-distance.cabal"
3803 (("QuickCheck >= 2\\.4 && <2\\.9")
3804 "QuickCheck >= 2.4 && < 2.14")))))))
3805 (inputs
3806 `(("ghc-random" ,ghc-random)
3807 ("ghc-test-framework" ,ghc-test-framework)
3808 ("ghc-quickcheck" ,ghc-quickcheck)
3809 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3810 (home-page "https://github.com/phadej/edit-distance")
3811 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
3812 (description
3813 "This package provides optimized functions to determine the edit
3814 distances for fuzzy matching, including Levenshtein and restricted
3815 Damerau-Levenshtein algorithms.")
3816 (license license:bsd-3)))
3817
3818 (define-public ghc-edit-distance-vector
3819 (package
3820 (name "ghc-edit-distance-vector")
3821 (version "1.0.0.4")
3822 (source
3823 (origin
3824 (method url-fetch)
3825 (uri (string-append "https://hackage.haskell.org/package/"
3826 "edit-distance-vector/edit-distance-vector-"
3827 version ".tar.gz"))
3828 (sha256
3829 (base32
3830 "07qgc8dyi9kkzkd3xcd78wdlljy0xwhz65b4r2qg2piidpcdvpxp"))))
3831 (build-system haskell-build-system)
3832 (inputs
3833 `(("ghc-vector" ,ghc-vector)))
3834 (native-inputs
3835 `(("ghc-quickcheck" ,ghc-quickcheck)
3836 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
3837 (home-page "https://github.com/thsutton/edit-distance-vector")
3838 (synopsis "Calculate edit distances and edit scripts between vectors")
3839 (description "This package provides implementation of the
3840 Wagner-Fischer dynamic programming algorithm to find the optimal edit
3841 script and cost between two sequences. The implementation in this
3842 package is specialised to sequences represented with @code{Data.Vector}
3843 but is otherwise agnostic to:
3844 @itemize
3845 @item The type of values in the vectors;
3846 @item The type representing edit operations; and
3847 @item The type representing the cost of operations.
3848 @end itemize")
3849 (license license:bsd-3)) )
3850
3851 (define-public ghc-either
3852 (package
3853 (name "ghc-either")
3854 (version "5.0.1.1")
3855 (source
3856 (origin
3857 (method url-fetch)
3858 (uri (string-append "https://hackage.haskell.org/package/"
3859 "either-" version "/"
3860 "either-" version ".tar.gz"))
3861 (sha256
3862 (base32
3863 "09yzki8ss56xhy9vggdw1rls86b2kf55hjl5wi0vbv02d8fxahq2"))))
3864 (build-system haskell-build-system)
3865 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
3866 ("ghc-exceptions" ,ghc-exceptions)
3867 ("ghc-free" ,ghc-free)
3868 ("ghc-monad-control" ,ghc-monad-control)
3869 ("ghc-manodrandom" ,ghc-monadrandom)
3870 ("ghc-mmorph" ,ghc-mmorph)
3871 ("ghc-profunctors" ,ghc-profunctors)
3872 ("ghc-semigroups" ,ghc-semigroups)
3873 ("ghc-semigroupoids" ,ghc-semigroupoids)
3874 ("ghc-transformers-base" ,ghc-transformers-base)))
3875 (native-inputs
3876 `(("ghc-quickcheck" ,ghc-quickcheck)
3877 ("ghc-test-framework" ,ghc-test-framework)
3878 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3879 (home-page "https://github.com/ekmett/either")
3880 (synopsis "Provides an either monad transformer for Haskell")
3881 (description "This Haskell package provides an either monad transformer.")
3882 (license license:bsd-3)))
3883
3884 (define-public ghc-email-validate
3885 (package
3886 (name "ghc-email-validate")
3887 (version "2.3.2.12")
3888 (source
3889 (origin
3890 (method url-fetch)
3891 (uri (string-append
3892 "https://hackage.haskell.org/package/"
3893 "email-validate/email-validate-"
3894 version
3895 ".tar.gz"))
3896 (sha256
3897 (base32
3898 "0ar3cfjia3x11chb7w60mi7hp5djanms883ddk875l6lifr2lyqf"))))
3899 (build-system haskell-build-system)
3900 (inputs
3901 `(("ghc-attoparsec" ,ghc-attoparsec)
3902 ("ghc-hspec" ,ghc-hspec)
3903 ("ghc-quickcheck" ,ghc-quickcheck)
3904 ("ghc-doctest" ,ghc-doctest)))
3905 (home-page
3906 "https://github.com/Porges/email-validate-hs")
3907 (synopsis "Email address validator for Haskell")
3908 (description
3909 "This Haskell package provides a validator that can validate an email
3910 address string against RFC 5322.")
3911 (license license:bsd-3)))
3912
3913 (define-public ghc-enclosed-exceptions
3914 (package
3915 (name "ghc-enclosed-exceptions")
3916 (version "1.0.3")
3917 (source (origin
3918 (method url-fetch)
3919 (uri (string-append "https://hackage.haskell.org/package/"
3920 "enclosed-exceptions/enclosed-exceptions-"
3921 version ".tar.gz"))
3922 (sha256
3923 (base32
3924 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
3925 (build-system haskell-build-system)
3926 ;; FIXME: one of the tests blocks forever:
3927 ;; "thread blocked indefinitely in an MVar operation"
3928 (arguments '(#:tests? #f))
3929 (inputs
3930 `(("ghc-lifted-base" ,ghc-lifted-base)
3931 ("ghc-monad-control" ,ghc-monad-control)
3932 ("ghc-async" ,ghc-async)
3933 ("ghc-transformers-base" ,ghc-transformers-base)))
3934 (native-inputs
3935 `(("ghc-hspec" ,ghc-hspec)
3936 ("ghc-quickcheck" ,ghc-quickcheck)))
3937 (home-page "https://github.com/jcristovao/enclosed-exceptions")
3938 (synopsis "Catch all exceptions from within an enclosed computation")
3939 (description
3940 "This library implements a technique to catch all exceptions raised
3941 within an enclosed computation, while remaining responsive to (external)
3942 asynchronous exceptions.")
3943 (license license:expat)))
3944
3945 (define-public ghc-equivalence
3946 (package
3947 (name "ghc-equivalence")
3948 (version "0.3.5")
3949 (source
3950 (origin
3951 (method url-fetch)
3952 (uri (string-append "https://hackage.haskell.org/package/equivalence"
3953 "/equivalence-" version ".tar.gz"))
3954 (sha256
3955 (base32 "167njzd1cf32aa7br90rjafrxy6hw3fxkk8awifqbxjrcwm5maqp"))))
3956 (build-system haskell-build-system)
3957 (inputs
3958 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
3959 ("ghc-transformers-compat" ,ghc-transformers-compat)
3960 ("ghc-fail" ,ghc-fail)
3961 ("ghc-quickcheck" ,ghc-quickcheck)))
3962 (home-page "https://github.com/pa-ba/equivalence")
3963 (synopsis "Maintaining an equivalence relation implemented as union-find")
3964 (description
3965 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
3966 Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
3967 22(2), 1975) in order to maintain an equivalence relation. This
3968 implementation is a port of the @code{union-find} package using the @code{ST}
3969 monad transformer (instead of the IO monad).")
3970 (license license:bsd-3)))
3971
3972 (define-public ghc-erf
3973 (package
3974 (name "ghc-erf")
3975 (version "2.0.0.0")
3976 (source
3977 (origin
3978 (method url-fetch)
3979 (uri (string-append "https://hackage.haskell.org/package/"
3980 "erf-" version "/"
3981 "erf-" version ".tar.gz"))
3982 (sha256
3983 (base32
3984 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
3985 (build-system haskell-build-system)
3986 (home-page "https://hackage.haskell.org/package/erf")
3987 (synopsis "The error function, erf, and related functions for Haskell")
3988 (description "This Haskell library provides a type class for the
3989 error function, erf, and related functions. Instances for Float and
3990 Double.")
3991 (license license:bsd-3)))
3992
3993 (define-public ghc-errorcall-eq-instance
3994 (package
3995 (name "ghc-errorcall-eq-instance")
3996 (version "0.3.0")
3997 (source
3998 (origin
3999 (method url-fetch)
4000 (uri (string-append "https://hackage.haskell.org/package/"
4001 "errorcall-eq-instance/errorcall-eq-instance-"
4002 version ".tar.gz"))
4003 (sha256
4004 (base32
4005 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
4006 (build-system haskell-build-system)
4007 (inputs
4008 `(("ghc-base-orphans" ,ghc-base-orphans)))
4009 (native-inputs
4010 `(("ghc-quickcheck" ,ghc-quickcheck)
4011 ("ghc-hspec" ,ghc-hspec)
4012 ("hspec-discover" ,hspec-discover)))
4013 (home-page "https://hackage.haskell.org/package/errorcall-eq-instance")
4014 (synopsis "Orphan Eq instance for ErrorCall")
4015 (description
4016 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
4017 This package provides an orphan instance.")
4018 (license license:expat)))
4019
4020 (define-public ghc-errors
4021 (package
4022 (name "ghc-errors")
4023 (version "2.3.0")
4024 (source
4025 (origin
4026 (method url-fetch)
4027 (uri (string-append "https://hackage.haskell.org/package/"
4028 "errors-" version "/"
4029 "errors-" version ".tar.gz"))
4030 (sha256
4031 (base32
4032 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
4033 (build-system haskell-build-system)
4034 (inputs
4035 `(("ghc-exceptions" ,ghc-exceptions)
4036 ("ghc-transformers-compat" ,ghc-transformers-compat)
4037 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
4038 ("ghc-safe" ,ghc-safe)))
4039 (home-page "https://github.com/gabriel439/haskell-errors-library")
4040 (synopsis "Error handling library for Haskell")
4041 (description "This library encourages an error-handling style that
4042 directly uses the type system, rather than out-of-band exceptions.")
4043 (license license:bsd-3)))
4044
4045 (define-public ghc-esqueleto
4046 (package
4047 (name "ghc-esqueleto")
4048 (version "3.3.1.1")
4049 (source
4050 (origin
4051 (method url-fetch)
4052 (uri (string-append "https://hackage.haskell.org/package/"
4053 "esqueleto/esqueleto-" version ".tar.gz"))
4054 (sha256
4055 (base32
4056 "1qi28ma8j5kfygjxnixlazxsyrkdqv8ljz3icwqi5dlscsnj6v3v"))))
4057 (build-system haskell-build-system)
4058 (arguments
4059 `(#:haddock? #f ; Haddock reports an internal error.
4060 #:phases
4061 (modify-phases %standard-phases
4062 ;; This package normally runs tests for the MySQL, PostgreSQL, and
4063 ;; SQLite backends. Since we only have Haskell packages for
4064 ;; SQLite, we remove the other two test suites. FIXME: Add the
4065 ;; other backends and run all three test suites.
4066 (add-before 'configure 'remove-non-sqlite-test-suites
4067 (lambda _
4068 (use-modules (ice-9 rdelim))
4069 (with-atomic-file-replacement "esqueleto.cabal"
4070 (lambda (in out)
4071 (let loop ((line (read-line in 'concat)) (deleting? #f))
4072 (cond
4073 ((eof-object? line) #t)
4074 ((string-every char-set:whitespace line)
4075 (unless deleting? (display line out))
4076 (loop (read-line in 'concat) #f))
4077 ((member line '("test-suite mysql\n"
4078 "test-suite postgresql\n"))
4079 (loop (read-line in 'concat) #t))
4080 (else
4081 (unless deleting? (display line out))
4082 (loop (read-line in 'concat) deleting?)))))))))))
4083 (inputs
4084 `(("ghc-blaze-html" ,ghc-blaze-html)
4085 ("ghc-conduit" ,ghc-conduit)
4086 ("ghc-monad-logger" ,ghc-monad-logger)
4087 ("ghc-persistent" ,ghc-persistent)
4088 ("ghc-resourcet" ,ghc-resourcet)
4089 ("ghc-tagged" ,ghc-tagged)
4090 ("ghc-unliftio" ,ghc-unliftio)
4091 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4092 (native-inputs
4093 `(("ghc-hspec" ,ghc-hspec)
4094 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
4095 ("ghc-persistent-template" ,ghc-persistent-template)))
4096 (home-page "https://github.com/bitemyapp/esqueleto")
4097 (synopsis "Type-safe embedded domain specific language for SQL queries")
4098 (description "This library provides a type-safe embedded domain specific
4099 language (EDSL) for SQL queries that works with SQL backends as provided by
4100 @code{ghc-persistent}. Its language closely resembles SQL, so you don't have
4101 to learn new concepts, just new syntax, and it's fairly easy to predict the
4102 generated SQL and optimize it for your backend.")
4103 (license license:bsd-3)))
4104
4105 (define-public ghc-exactprint
4106 (package
4107 (name "ghc-exactprint")
4108 (version "0.6.1")
4109 (source
4110 (origin
4111 (method url-fetch)
4112 (uri (string-append
4113 "https://hackage.haskell.org/package/"
4114 "ghc-exactprint/ghc-exactprint-" version ".tar.gz"))
4115 (sha256
4116 (base32
4117 "12nqpqmi9c57a3hgpfy8q073zryz66ylmcvf29hyffpj7vmmnvhl"))))
4118 (build-system haskell-build-system)
4119 (inputs
4120 `(("ghc-paths" ,ghc-paths)
4121 ("ghc-syb" ,ghc-syb)
4122 ("ghc-free" ,ghc-free)))
4123 (native-inputs
4124 `(("ghc-hunit" ,ghc-hunit)
4125 ("ghc-diff" ,ghc-diff)
4126 ("ghc-silently" ,ghc-silently)
4127 ("ghc-filemanip" ,ghc-filemanip)))
4128 (home-page
4129 "https://hackage.haskell.org/package/ghc-exactprint")
4130 (synopsis "ExactPrint for GHC")
4131 (description
4132 "Using the API Annotations available from GHC 7.10.2, this library
4133 provides a means to round-trip any code that can be compiled by GHC, currently
4134 excluding @file{.lhs} files.")
4135 (license license:bsd-3)))
4136
4137 (define-public ghc-exceptions
4138 (package
4139 (name "ghc-exceptions")
4140 (version "0.10.3")
4141 (source
4142 (origin
4143 (method url-fetch)
4144 (uri (string-append
4145 "https://hackage.haskell.org/package/exceptions/exceptions-"
4146 version
4147 ".tar.gz"))
4148 (sha256
4149 (base32
4150 "1w25j4ys5s6v239vbqlbipm9fdwxl1j2ap2lzms7f7rgnik5ir24"))))
4151 (build-system haskell-build-system)
4152 (native-inputs
4153 `(("ghc-quickcheck" ,ghc-quickcheck)
4154 ("ghc-test-framework" ,ghc-test-framework)
4155 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4156 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4157 (inputs
4158 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4159 (home-page "https://github.com/ekmett/exceptions/")
4160 (synopsis "Extensible optionally-pure exceptions")
4161 (description "This library provides extensible optionally-pure exceptions
4162 for Haskell.")
4163 (license license:bsd-3)))
4164
4165 (define-public ghc-executable-path
4166 (package
4167 (name "ghc-executable-path")
4168 (version "0.0.3.1")
4169 (source (origin
4170 (method url-fetch)
4171 (uri (string-append "https://hackage.haskell.org/package/"
4172 "executable-path/executable-path-"
4173 version ".tar.gz"))
4174 (sha256
4175 (base32
4176 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
4177 (build-system haskell-build-system)
4178 (home-page "https://hackage.haskell.org/package/executable-path")
4179 (synopsis "Find out the full path of the executable")
4180 (description
4181 "The documentation of @code{System.Environment.getProgName} says that
4182 \"However, this is hard-to-impossible to implement on some non-Unix OSes, so
4183 instead, for maximum portability, we just return the leafname of the program
4184 as invoked.\" This library tries to provide the missing path.")
4185 (license license:public-domain)))
4186
4187 (define-public ghc-extensible-exceptions
4188 (package
4189 (name "ghc-extensible-exceptions")
4190 (version "0.1.1.4")
4191 (source
4192 (origin
4193 (method url-fetch)
4194 (uri (string-append "https://hackage.haskell.org/package/"
4195 "extensible-exceptions/extensible-exceptions-"
4196 version ".tar.gz"))
4197 (sha256
4198 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
4199 (build-system haskell-build-system)
4200 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
4201 (synopsis "Extensible exceptions for Haskell")
4202 (description
4203 "This package provides extensible exceptions for both new and old
4204 versions of GHC (i.e., < 6.10).")
4205 (license license:bsd-3)))
4206
4207 (define-public ghc-extra
4208 (package
4209 (name "ghc-extra")
4210 (version "1.6.21")
4211 (source
4212 (origin
4213 (method url-fetch)
4214 (uri (string-append
4215 "https://hackage.haskell.org/package/extra/extra-"
4216 version
4217 ".tar.gz"))
4218 (sha256
4219 (base32
4220 "1gjx98w4w61g043k6rzc8i34cbxpcigi8lb6i7pp1vwp8w8jm5vl"))))
4221 (build-system haskell-build-system)
4222 (inputs
4223 `(("ghc-clock" ,ghc-clock)
4224 ("ghc-semigroups" ,ghc-semigroups)
4225 ("ghc-quickcheck" ,ghc-quickcheck)
4226 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
4227 (home-page "https://github.com/ndmitchell/extra")
4228 (synopsis "Extra Haskell functions")
4229 (description "This library provides extra functions for the standard
4230 Haskell libraries. Most functions are simple additions, filling out missing
4231 functionality. A few functions are available in later versions of GHC, but
4232 this package makes them available back to GHC 7.2.")
4233 (license license:bsd-3)))
4234
4235 (define-public ghc-fail
4236 (package
4237 (name "ghc-fail")
4238 (version "4.9.0.0")
4239 (source
4240 (origin
4241 (method url-fetch)
4242 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
4243 version ".tar.gz"))
4244 (sha256
4245 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
4246 (build-system haskell-build-system)
4247 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4248 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
4249 (synopsis "Forward-compatible MonadFail class")
4250 (description
4251 "This package contains the @code{Control.Monad.Fail} module providing the
4252 @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
4253 class that became available in
4254 @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
4255 older @code{base} package versions. This package turns into an empty package
4256 when used with GHC versions which already provide the
4257 @code{Control.Monad.Fail} module.")
4258 (license license:bsd-3)))
4259
4260 (define-public ghc-fast-logger
4261 (package
4262 (name "ghc-fast-logger")
4263 (version "2.4.17")
4264 (source
4265 (origin
4266 (method url-fetch)
4267 (uri (string-append
4268 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
4269 version
4270 ".tar.gz"))
4271 (sha256
4272 (base32
4273 "02mxb1ckvx1s2r2m11l5i2l5rdl7232p0f61af6773haykjp0qxk"))))
4274 (build-system haskell-build-system)
4275 (inputs
4276 `(("ghc-auto-update" ,ghc-auto-update)
4277 ("ghc-easy-file" ,ghc-easy-file)
4278 ("ghc-unix-time" ,ghc-unix-time)
4279 ("ghc-unix-compat" ,ghc-unix-compat)))
4280 (native-inputs
4281 `(("hspec-discover" ,hspec-discover)
4282 ("ghc-hspec" ,ghc-hspec)))
4283 (home-page "https://hackage.haskell.org/package/fast-logger")
4284 (synopsis "Fast logging system")
4285 (description "This library provides a fast logging system for Haskell.")
4286 (license license:bsd-3)))
4287
4288 (define-public ghc-feed
4289 (package
4290 (name "ghc-feed")
4291 (version "1.2.0.1")
4292 (source
4293 (origin
4294 (method url-fetch)
4295 (uri (string-append "https://hackage.haskell.org/package/"
4296 "feed/feed-" version ".tar.gz"))
4297 (sha256
4298 (base32
4299 "004lwdng4slj6yl8mgscr3cgj0zzc8hzkf4450dby2l6cardg4w0"))))
4300 (build-system haskell-build-system)
4301 (inputs
4302 `(("ghc-base-compat" ,ghc-base-compat)
4303 ("ghc-old-locale" ,ghc-old-locale)
4304 ("ghc-old-time" ,ghc-old-time)
4305 ("ghc-safe" ,ghc-safe)
4306 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
4307 ("ghc-utf8-string" ,ghc-utf8-string)
4308 ("ghc-xml-conduit" ,ghc-xml-conduit)
4309 ("ghc-xml-types" ,ghc-xml-types)))
4310 (native-inputs
4311 `(("ghc-hunit" ,ghc-hunit)
4312 ("ghc-markdown-unlit" ,ghc-markdown-unlit)
4313 ("ghc-test-framework" ,ghc-test-framework)
4314 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4315 (home-page "https://github.com/bergmark/feed")
4316 (synopsis "Haskell package for handling various syndication formats")
4317 (description "This Haskell package includes tools for generating and
4318 consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
4319 (license license:bsd-3)))
4320
4321 (define-public ghc-fgl
4322 (package
4323 (name "ghc-fgl")
4324 (version "5.7.0.1")
4325 (outputs '("out" "static" "doc"))
4326 (source
4327 (origin
4328 (method url-fetch)
4329 (uri (string-append
4330 "https://hackage.haskell.org/package/fgl/fgl-"
4331 version
4332 ".tar.gz"))
4333 (sha256
4334 (base32
4335 "04793yh778ck3kz1z2svnfdwwls2kisbnky4lzvf4zjfgpv7mkpz"))))
4336 (build-system haskell-build-system)
4337 (arguments
4338 `(#:phases
4339 (modify-phases %standard-phases
4340 (add-before 'configure 'update-constraints
4341 (lambda _
4342 (substitute* "fgl.cabal"
4343 (("QuickCheck >= 2\\.8 && < 2\\.13")
4344 "QuickCheck >= 2.8 && < 2.14")
4345 (("hspec >= 2\\.1 && < 2\\.7")
4346 "hspec >= 2.1 && < 2.8")))))))
4347 (inputs
4348 `(("ghc-hspec" ,ghc-hspec)
4349 ("ghc-quickcheck" ,ghc-quickcheck)))
4350 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
4351 (synopsis
4352 "Martin Erwig's Functional Graph Library")
4353 (description "The functional graph library, FGL, is a collection of type
4354 and function definitions to address graph problems. The basis of the library
4355 is an inductive definition of graphs in the style of algebraic data types that
4356 encourages inductive, recursive definitions of graph algorithms.")
4357 (license license:bsd-3)))
4358
4359 (define-public ghc-fgl-arbitrary
4360 (package
4361 (name "ghc-fgl-arbitrary")
4362 (version "0.2.0.3")
4363 (source
4364 (origin
4365 (method url-fetch)
4366 (uri (string-append
4367 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
4368 version ".tar.gz"))
4369 (sha256
4370 (base32
4371 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
4372 (build-system haskell-build-system)
4373 (arguments
4374 `(#:phases
4375 (modify-phases %standard-phases
4376 (add-before 'configure 'update-constraints
4377 (lambda _
4378 (substitute* "fgl-arbitrary.cabal"
4379 (("QuickCheck >= 2\\.3 && < 2\\.10")
4380 "QuickCheck >= 2.3 && < 2.14")
4381 (("hspec >= 2\\.1 && < 2\\.5")
4382 "hspec >= 2.1 && < 2.8")))))))
4383 (inputs
4384 `(("ghc-fgl" ,ghc-fgl)
4385 ("ghc-quickcheck" ,ghc-quickcheck)
4386 ("ghc-hspec" ,ghc-hspec)))
4387 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
4388 (synopsis "QuickCheck support for fgl")
4389 (description
4390 "Provides Arbitrary instances for fgl graphs to avoid adding a
4391 QuickCheck dependency for fgl whilst still making the instances
4392 available to others. Also available are non-fgl-specific functions
4393 for generating graph-like data structures.")
4394 (license license:bsd-3)))
4395
4396 (define-public ghc-file-embed
4397 (package
4398 (name "ghc-file-embed")
4399 (version "0.0.11")
4400 (source
4401 (origin
4402 (method url-fetch)
4403 (uri (string-append "https://hackage.haskell.org/package/file-embed/"
4404 "file-embed-" version ".tar.gz"))
4405 (sha256
4406 (base32
4407 "0l6dkwccbzzyx8rcav03lya2334dgi3vfwk96h7l93l0fc4x19gf"))))
4408 (build-system haskell-build-system)
4409 (home-page "https://github.com/snoyberg/file-embed")
4410 (synopsis "Use Template Haskell to embed file contents directly")
4411 (description
4412 "This package allows you to use Template Haskell to read a file or all
4413 the files in a directory, and turn them into @code{(path, bytestring)} pairs
4414 embedded in your Haskell code.")
4415 (license license:bsd-3)))
4416
4417 (define-public ghc-filemanip
4418 (package
4419 (name "ghc-filemanip")
4420 (version "0.3.6.3")
4421 (source (origin
4422 (method url-fetch)
4423 (uri (string-append "https://hackage.haskell.org/package/"
4424 "filemanip/filemanip-" version ".tar.gz"))
4425 (sha256
4426 (base32
4427 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
4428 (build-system haskell-build-system)
4429 (inputs
4430 `(("ghc-unix-compat" ,ghc-unix-compat)))
4431 (home-page "https://github.com/bos/filemanip")
4432 (synopsis "File and directory manipulation for Haskell")
4433 (description
4434 "This package provides a Haskell library for working with files and
4435 directories. It includes code for pattern matching, finding files, modifying
4436 file contents, and more.")
4437 (license license:bsd-3)))
4438
4439 (define-public ghc-filepath-bytestring
4440 (package
4441 (name "ghc-filepath-bytestring")
4442 (version "1.4.2.1.6")
4443 (source
4444 (origin
4445 (method url-fetch)
4446 (uri (string-append
4447 "https://hackage.haskell.org/package/filepath-bytestring/"
4448 "filepath-bytestring-" version ".tar.gz"))
4449 (sha256
4450 (base32
4451 "11xrrzdkm5i96dazbz0gi1qp8nnj2lwbnxzwy7f4cnahskz4f4g7"))))
4452 (build-system haskell-build-system)
4453 (native-inputs
4454 `(("ghc-quickcheck" ,ghc-quickcheck)))
4455 (home-page "https://hackage.haskell.org/package/filepath-bytestring")
4456 (synopsis "Library for manipulating RawFilePaths in a cross-platform way")
4457 (description "This package provides a drop-in replacement for the standard
4458 @code{filepath} library, operating on @code{RawFilePath} values rather than
4459 @code{FilePath} values to get the speed benefits of using @code{ByteStrings}.")
4460 (license license:bsd-3)))
4461
4462 (define-public ghc-findbin
4463 (package
4464 (name "ghc-findbin")
4465 (version "0.0.5")
4466 (source
4467 (origin
4468 (method url-fetch)
4469 (uri (string-append
4470 "https://hackage.haskell.org/package/FindBin/FindBin-"
4471 version ".tar.gz"))
4472 (sha256
4473 (base32
4474 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
4475 (build-system haskell-build-system)
4476 (home-page "https://github.com/audreyt/findbin")
4477 (synopsis "Get the absolute path of the running program")
4478 (description
4479 "This module locates the full directory of the running program, to allow
4480 the use of paths relative to it. FindBin supports invocation of Haskell
4481 programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
4482 an executable.")
4483 (license license:bsd-3)))
4484
4485 (define-public ghc-fingertree
4486 (package
4487 (name "ghc-fingertree")
4488 (version "0.1.4.2")
4489 (source
4490 (origin
4491 (method url-fetch)
4492 (uri (string-append
4493 "https://hackage.haskell.org/package/fingertree/fingertree-"
4494 version ".tar.gz"))
4495 (sha256
4496 (base32
4497 "0zvandj8fysck7ygpn0dw5bhrhmj1s63i326nalxbfkh2ls4iacm"))))
4498 (build-system haskell-build-system)
4499 (native-inputs
4500 `(("ghc-hunit" ,ghc-hunit)
4501 ("ghc-quickcheck" ,ghc-quickcheck)
4502 ("ghc-test-framework" ,ghc-test-framework)
4503 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4504 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4505 (home-page "https://hackage.haskell.org/package/fingertree")
4506 (synopsis "Generic finger-tree structure")
4507 (description "This library provides finger trees, a general sequence
4508 representation with arbitrary annotations, for use as a base for
4509 implementations of various collection types. It includes examples, as
4510 described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4511 simple general-purpose data structure\".")
4512 (license license:bsd-3)))
4513
4514 (define-public ghc-fixed
4515 (package
4516 (name "ghc-fixed")
4517 (version "0.3")
4518 (source
4519 (origin
4520 (method url-fetch)
4521 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
4522 version ".tar.gz"))
4523 (sha256
4524 (base32
4525 "10l2sh179xarb774q92cff2gkb20rsrlilfwp1fk61rzmz9yn64j"))))
4526 (build-system haskell-build-system)
4527 (home-page "https://github.com/ekmett/fixed")
4528 (synopsis "Signed 15.16 precision fixed point arithmetic")
4529 (description
4530 "This package provides functions for signed 15.16 precision fixed point
4531 arithmetic.")
4532 (license license:bsd-3)))
4533
4534 (define-public ghc-fmlist
4535 (package
4536 (name "ghc-fmlist")
4537 (version "0.9.3")
4538 (source
4539 (origin
4540 (method url-fetch)
4541 (uri
4542 (string-append
4543 "https://hackage.haskell.org/package/fmlist/fmlist-"
4544 version ".tar.gz"))
4545 (sha256
4546 (base32
4547 "1w9nhm2zybdx4c1lalkajwqr8wcs731lfjld2r8gknd7y96x8pwf"))))
4548 (build-system haskell-build-system)
4549 (home-page "https://github.com/sjoerdvisscher/fmlist")
4550 (synopsis "FoldMap lists")
4551 (description "FoldMap lists are lists represented by their
4552 @code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and
4553 append, just like DLists, but other operations might have favorable
4554 performance characteristics as well. These wild claims are still
4555 completely unverified though.")
4556 (license license:bsd-3)))
4557
4558 (define-public ghc-foldl
4559 (package
4560 (name "ghc-foldl")
4561 (version "1.4.5")
4562 (source
4563 (origin
4564 (method url-fetch)
4565 (uri (string-append "https://hackage.haskell.org/package/"
4566 "foldl-" version "/"
4567 "foldl-" version ".tar.gz"))
4568 (sha256
4569 (base32
4570 "19qjmzc7gaxfwgqbgy0kq4vhbxvh3qjnwsxnc7pzwws2if5bv80b"))))
4571 (build-system haskell-build-system)
4572 (outputs '("out" "static" "doc"))
4573 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
4574 ("ghc-primitive" ,ghc-primitive)
4575 ("ghc-vector" ,ghc-vector)
4576 ("ghc-unordered-containers" ,ghc-unordered-containers)
4577 ("ghc-hashable" ,ghc-hashable)
4578 ("ghc-contravariant" ,ghc-contravariant)
4579 ("ghc-semigroups" ,ghc-semigroups)
4580 ("ghc-profunctors" ,ghc-profunctors)
4581 ("ghc-semigroupoids" ,ghc-semigroupoids)
4582 ("ghc-comonad" ,ghc-comonad)
4583 ("ghc-vector-builder" ,ghc-vector-builder)))
4584 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
4585 (synopsis "Composable, streaming, and efficient left folds for Haskell")
4586 (description "This Haskell library provides strict left folds that stream
4587 in constant memory, and you can combine folds using @code{Applicative} style
4588 to derive new folds. Derived folds still traverse the container just once
4589 and are often as efficient as hand-written folds.")
4590 (license license:bsd-3)))
4591
4592 (define-public ghc-foundation
4593 (package
4594 (name "ghc-foundation")
4595 (version "0.0.25")
4596 (source
4597 (origin
4598 (method url-fetch)
4599 (uri (string-append "https://hackage.haskell.org/package/"
4600 "foundation/foundation-" version ".tar.gz"))
4601 (sha256
4602 (base32
4603 "0q6kx57ygmznlpf8n499hid4x6mj3180paijx0a8dgi9hh7man61"))))
4604 (build-system haskell-build-system)
4605 (arguments
4606 `(#:phases
4607 (modify-phases %standard-phases
4608 ;; This test is broken. For details, see
4609 ;; https://github.com/haskell-foundation/foundation/issues/530
4610 (add-after 'unpack 'patch-tests
4611 (lambda _
4612 (substitute* "tests/Test/Foundation/Number.hs"
4613 ((", testDividible proxy") ""))
4614 #t)))))
4615 (outputs '("out" "static" "doc"))
4616 (inputs `(("ghc-basement" ,ghc-basement)))
4617 (home-page "https://github.com/haskell-foundation/foundation")
4618 (synopsis "Alternative prelude with batteries and no dependencies")
4619 (description
4620 "This package provides a custom prelude with no dependencies apart from
4621 the base package.
4622
4623 Foundation has the following goals:
4624
4625 @enumerate
4626 @item provide a base like sets of modules that provide a consistent set of
4627 features and bugfixes across multiple versions of GHC (unlike base).
4628 @item provide a better and more efficient prelude than base's prelude.
4629 @item be self-sufficient: no external dependencies apart from base;
4630 @item provide better data-types: packed unicode string by default, arrays;
4631 @item Numerical classes that better represent mathematical things (no more
4632 all-in-one @code{Num});
4633 @item I/O system with less lazy IO.
4634 @end enumerate\n")
4635 (license license:bsd-3)))
4636
4637 (define-public ghc-free
4638 (package
4639 (name "ghc-free")
4640 (version "5.1.2")
4641 (source
4642 (origin
4643 (method url-fetch)
4644 (uri (string-append
4645 "https://hackage.haskell.org/package/free/free-"
4646 version
4647 ".tar.gz"))
4648 (sha256
4649 (base32
4650 "0vlf3f2ckl3cr7z2zl8c9c8qkdlfgvmh04gxkp2fg0z9dz80nlyb"))))
4651 (build-system haskell-build-system)
4652 (outputs '("out" "static" "doc"))
4653 (inputs
4654 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4655 ("ghc-profunctors" ,ghc-profunctors)
4656 ("ghc-exceptions" ,ghc-exceptions)
4657 ("ghc-bifunctors" ,ghc-bifunctors)
4658 ("ghc-comonad" ,ghc-comonad)
4659 ("ghc-distributive" ,ghc-distributive)
4660 ("ghc-semigroupoids" ,ghc-semigroupoids)
4661 ("ghc-semigroups" ,ghc-semigroups)
4662 ("ghc-transformers-base" ,ghc-transformers-base)
4663 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4664 (home-page "https://github.com/ekmett/free/")
4665 (synopsis "Unrestricted monads for Haskell")
4666 (description "This library provides free monads, which are useful for many
4667 tree-like structures and domain specific languages. If @code{f} is a
4668 @code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4669 whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4670 is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4671 f} makes no constraining assumptions beyond those given by @code{f} and the
4672 definition of @code{Monad}.")
4673 (license license:bsd-3)))
4674
4675 (define-public ghc-fsnotify
4676 (package
4677 (name "ghc-fsnotify")
4678 (version "0.3.0.1")
4679 (source (origin
4680 (method url-fetch)
4681 (uri (string-append
4682 "https://hackage.haskell.org/package/fsnotify/"
4683 "fsnotify-" version ".tar.gz"))
4684 (sha256
4685 (base32
4686 "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny"))))
4687 (build-system haskell-build-system)
4688 (inputs
4689 `(("ghc-async" ,ghc-async)
4690 ("ghc-unix-compat" ,ghc-unix-compat)
4691 ("ghc-hinotify" ,ghc-hinotify)
4692 ("ghc-tasty" ,ghc-tasty)
4693 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4694 ("ghc-random" ,ghc-random)
4695 ("ghc-shelly" ,ghc-shelly)
4696 ("ghc-temporary" ,ghc-temporary)))
4697 (home-page "https://github.com/haskell-fswatch/hfsnotify")
4698 (synopsis "Cross platform library for file change notification.")
4699 (description "Cross platform library for file creation, modification, and
4700 deletion notification. This library builds upon existing libraries for platform
4701 specific Windows, Mac, and Linux file system event notification.")
4702 (license license:bsd-3)))
4703
4704 (define-public ghc-generic-deriving
4705 (package
4706 (name "ghc-generic-deriving")
4707 (version "1.12.4")
4708 (source
4709 (origin
4710 (method url-fetch)
4711 (uri (string-append
4712 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
4713 version
4714 ".tar.gz"))
4715 (sha256
4716 (base32
4717 "0vdg9qdq35jl3m11a87wk8cq1y71qm4i1g1b2pxki0wk70yw20a4"))))
4718 (build-system haskell-build-system)
4719 (outputs '("out" "static" "doc"))
4720 (inputs
4721 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
4722 (native-inputs
4723 `(("ghc-hspec" ,ghc-hspec)
4724 ("hspec-discover" ,hspec-discover)))
4725 (home-page "https://hackage.haskell.org/package/generic-deriving")
4726 (synopsis "Generalise the deriving mechanism to arbitrary classes")
4727 (description "This package provides functionality for generalising the
4728 deriving mechanism in Haskell to arbitrary classes.")
4729 (license license:bsd-3)))
4730
4731 (define-public ghc-generic-random
4732 (package
4733 (name "ghc-generic-random")
4734 (version "1.2.0.0")
4735 (source
4736 (origin
4737 (method url-fetch)
4738 (uri (string-append
4739 "https://hackage.haskell.org/package/generic-random/"
4740 "generic-random-" version ".tar.gz"))
4741 (sha256
4742 (base32 "130lmblycxnpqbsl7vf6a90zccibnvcb5zaclfajcn3by39007lv"))))
4743 (build-system haskell-build-system)
4744 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
4745 (native-inputs
4746 `(("ghc-inspection-testing" ,ghc-inspection-testing)))
4747 (arguments
4748 `(#:cabal-revision
4749 ("1" "1d0hx41r7yq2a86ydnfh2fv540ah8cz05l071s2z4wxcjw0ymyn4")))
4750 (home-page
4751 "https://github.com/lysxia/generic-random")
4752 (synopsis
4753 "Generic random generators for QuickCheck")
4754 (description
4755 "Derive instances of @code{Arbitrary} for QuickCheck, with various options
4756 to customize implementations.
4757
4758 Automating the arbitrary boilerplate also ensures that when a type changes to
4759 have more or fewer constructors, then the generator either fixes itself to
4760 generate that new case (when using the uniform distribution) or causes a
4761 compilation error so you remember to fix it (when using an explicit
4762 distribution).
4763
4764 This package also offers a simple (optional) strategy to ensure termination
4765 for recursive types: make @code{Test.QuickCheck.Gen}'s size parameter decrease
4766 at every recursive call; when it reaches zero, sample directly from a
4767 trivially terminating generator given explicitly (@code{genericArbitraryRec}
4768 and @code{withBaseCase}) or implicitly (@code{genericArbitrary'}).")
4769 (license license:expat)))
4770
4771 (define-public ghc-generic-random-1.3.0.1
4772 (package
4773 (inherit ghc-generic-random)
4774 (version "1.3.0.1")
4775 (source
4776 (origin
4777 (method url-fetch)
4778 (uri (string-append
4779 "https://hackage.haskell.org/package/generic-random/"
4780 "generic-random-" version ".tar.gz"))
4781 (sha256
4782 (base32 "0d9w7xcmsb31b95fr9d5jwbsajcl1yi4347dlbw4bybil2vjwd7k"))))
4783 (arguments '())))
4784
4785 (define-public ghc-generics-sop
4786 (package
4787 (name "ghc-generics-sop")
4788 (version "0.4.0.1")
4789 (source
4790 (origin
4791 (method url-fetch)
4792 (uri (string-append "https://hackage.haskell.org/package/"
4793 "generics-sop-" version "/"
4794 "generics-sop-" version ".tar.gz"))
4795 (sha256
4796 (base32
4797 "160knr2phnzh2gldfv954lz029jzc7y8kz5xpmbf4z3vb5ngm6fw"))))
4798 (build-system haskell-build-system)
4799 (outputs '("out" "static" "doc"))
4800 (inputs
4801 `(("ghc-sop-core" ,ghc-sop-core)
4802 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4803 (home-page "https://github.com/well-typed/generics-sop")
4804 (synopsis "Generic Programming using True Sums of Products for Haskell")
4805 (description "This Haskell package supports the definition of generic
4806 functions. Datatypes are viewed in a uniform, structured way: the choice
4807 between constructors is represented using an n-ary sum, and the arguments of
4808 each constructor are represented using an n-ary product.")
4809 (license license:bsd-3)))
4810
4811 (define-public ghc-geniplate-mirror
4812 (package
4813 (name "ghc-geniplate-mirror")
4814 (version "0.7.6")
4815 (source
4816 (origin
4817 (method url-fetch)
4818 (uri (string-append "https://hackage.haskell.org/package"
4819 "/geniplate-mirror"
4820 "/geniplate-mirror-" version ".tar.gz"))
4821 (sha256
4822 (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb"))))
4823 (build-system haskell-build-system)
4824 (arguments
4825 `(#:cabal-revision
4826 ("2" "03fg4vfm1wgq4mylggawdx0bfvbbjmdn700sqx7v3hk1bx0kjfzh")))
4827 (home-page "https://github.com/danr/geniplate")
4828 (synopsis "Use Template Haskell to generate Uniplate-like functions")
4829 (description
4830 "Use Template Haskell to generate Uniplate-like functions. This is a
4831 maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
4832 geniplate} package, written by Lennart Augustsson.")
4833 (license license:bsd-3)))
4834
4835 (define-public ghc-genvalidity
4836 (package
4837 (name "ghc-genvalidity")
4838 (version "0.8.0.0")
4839 (source
4840 (origin
4841 (method url-fetch)
4842 (uri (string-append
4843 "https://hackage.haskell.org/package/genvalidity/genvalidity-"
4844 version
4845 ".tar.gz"))
4846 (sha256
4847 (base32
4848 "0w38aq9hfyymidncgkrs6yvja7j573d9sap5qfg5rz910fhsij9a"))))
4849 (build-system haskell-build-system)
4850 (inputs
4851 `(("ghc-quickcheck" ,ghc-quickcheck)
4852 ("ghc-validity" ,ghc-validity)))
4853 (native-inputs
4854 `(("ghc-hspec" ,ghc-hspec)
4855 ("hspec-discover" ,hspec-discover)
4856 ("ghc-hspec-core" ,ghc-hspec-core)))
4857 (home-page
4858 "https://github.com/NorfairKing/validity")
4859 (synopsis
4860 "Testing utilities for the @code{validity} library")
4861 (description
4862 "This package provides testing utilities that are useful in conjunction
4863 with the @code{Validity} typeclass.")
4864 (license license:expat)))
4865
4866 (define-public ghc-genvalidity-property
4867 (package
4868 (name "ghc-genvalidity-property")
4869 (version "0.4.0.0")
4870 (source
4871 (origin
4872 (method url-fetch)
4873 (uri (string-append
4874 "https://hackage.haskell.org/package/"
4875 "genvalidity-property/genvalidity-property-"
4876 version
4877 ".tar.gz"))
4878 (sha256
4879 (base32
4880 "0zayycx62226w54rvkxwhvqhznsr33dk3ds55yyqrfqbnhvph1s9"))))
4881 (build-system haskell-build-system)
4882 (inputs
4883 `(("ghc-quickcheck" ,ghc-quickcheck)
4884 ("ghc-genvalidity" ,ghc-genvalidity)
4885 ("ghc-hspec" ,ghc-hspec)
4886 ("hspec-discover" ,hspec-discover)
4887 ("ghc-validity" ,ghc-validity)))
4888 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
4889 (home-page
4890 "https://github.com/NorfairKing/validity")
4891 (synopsis
4892 "Standard properties for functions on @code{Validity} types")
4893 (description
4894 "This package supplements the @code{Validity} typeclass with standard
4895 properties for functions operating on them.")
4896 (license license:expat)))
4897
4898 (define-public ghc-getopt-generics
4899 (package
4900 (name "ghc-getopt-generics")
4901 (version "0.13.0.4")
4902 (source
4903 (origin
4904 (method url-fetch)
4905 (uri (string-append "https://hackage.haskell.org/package/"
4906 "getopt-generics/getopt-generics-"
4907 version ".tar.gz"))
4908 (sha256
4909 (base32
4910 "1rszkcn1rg38wf35538ljk5bbqjc57y9sb3a0al7qxm82gy8yigr"))))
4911 (build-system haskell-build-system)
4912 (inputs
4913 `(("ghc-base-compat" ,ghc-base-compat)
4914 ("ghc-base-orphans" ,ghc-base-orphans)
4915 ("ghc-generics-sop" ,ghc-generics-sop)
4916 ("ghc-tagged" ,ghc-tagged)))
4917 (native-inputs
4918 `(("ghc-quickcheck" ,ghc-quickcheck)
4919 ("ghc-hspec" ,ghc-hspec)
4920 ("ghc-safe" ,ghc-safe)
4921 ("ghc-silently" ,ghc-silently)
4922 ("hspec-discover" ,hspec-discover)))
4923 (home-page "https://github.com/soenkehahn/getopt-generics")
4924 (synopsis "Create command line interfaces with ease")
4925 (description "This library provides tools to create command line
4926 interfaces with ease.")
4927 (license license:bsd-3)))
4928
4929 (define-public ghc-gitrev
4930 (package
4931 (name "ghc-gitrev")
4932 (version "1.3.1")
4933 (source
4934 (origin
4935 (method url-fetch)
4936 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
4937 version ".tar.gz"))
4938 (sha256
4939 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
4940 (build-system haskell-build-system)
4941 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
4942 (home-page "https://github.com/acfoltzer/gitrev")
4943 (synopsis "Compile git revision info into Haskell projects")
4944 (description
4945 "This package provides some handy Template Haskell splices for including
4946 the current git hash and branch in the code of your project. This is useful
4947 for including in panic messages, @command{--version} output, or diagnostic
4948 info for more informative bug reports.")
4949 (license license:bsd-3)))
4950
4951 (define-public ghc-glob
4952 (package
4953 (name "ghc-glob")
4954 (version "0.10.0")
4955 (source
4956 (origin
4957 (method url-fetch)
4958 (uri (string-append "https://hackage.haskell.org/package/"
4959 "Glob-" version "/"
4960 "Glob-" version ".tar.gz"))
4961 (sha256
4962 (base32
4963 "0953f91f62ncna402vsrfzdcyxhdpjna3bgdw017kad0dfymacs7"))))
4964 (build-system haskell-build-system)
4965 (inputs
4966 `(("ghc-dlist" ,ghc-dlist)
4967 ("ghc-semigroups" ,ghc-semigroups)
4968 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4969 (native-inputs
4970 `(("ghc-hunit" ,ghc-hunit)
4971 ("ghc-quickcheck" ,ghc-quickcheck)
4972 ("ghc-test-framework" ,ghc-test-framework)
4973 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4974 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4975 (home-page "http://iki.fi/matti.niemenmaa/glob/")
4976 (synopsis "Haskell library matching glob patterns against file paths")
4977 (description "This package provides a Haskell library for @dfn{globbing}:
4978 matching patterns against file paths.")
4979 (license license:bsd-3)))
4980
4981 (define-public ghc-gluraw
4982 (package
4983 (name "ghc-gluraw")
4984 (version "2.0.0.4")
4985 (source
4986 (origin
4987 (method url-fetch)
4988 (uri (string-append
4989 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
4990 version
4991 ".tar.gz"))
4992 (sha256
4993 (base32
4994 "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq"))))
4995 (build-system haskell-build-system)
4996 (inputs
4997 `(("ghc-openglraw" ,ghc-openglraw)))
4998 (home-page "https://wiki.haskell.org/Opengl")
4999 (synopsis "Raw Haskell bindings GLU")
5000 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
5001 utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
5002 basis for a nicer interface.")
5003 (license license:bsd-3)))
5004
5005 (define-public ghc-glut
5006 (package
5007 (name "ghc-glut")
5008 (version "2.7.0.15")
5009 (source
5010 (origin
5011 (method url-fetch)
5012 (uri (string-append
5013 "https://hackage.haskell.org/package/GLUT/GLUT-"
5014 version
5015 ".tar.gz"))
5016 (sha256
5017 (base32
5018 "0271vnf6wllhxjwy0m348x90kv27aybxcbqkkglmd5w4cpwjg5g9"))))
5019 (build-system haskell-build-system)
5020 (inputs
5021 `(("ghc-statevar" ,ghc-statevar)
5022 ("ghc-opengl" ,ghc-opengl)
5023 ("ghc-openglraw" ,ghc-openglraw)
5024 ("freeglut" ,freeglut)))
5025 (home-page "https://wiki.haskell.org/Opengl")
5026 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
5027 (description "This library provides Haskell bindings for the OpenGL
5028 Utility Toolkit, a window system-independent toolkit for writing OpenGL
5029 programs.")
5030 (license license:bsd-3)))
5031
5032 (define-public ghc-gnuplot
5033 (package
5034 (name "ghc-gnuplot")
5035 (version "0.5.6")
5036 (source
5037 (origin
5038 (method url-fetch)
5039 (uri (string-append
5040 "mirror://hackage/package/gnuplot/gnuplot-"
5041 version ".tar.gz"))
5042 (sha256
5043 (base32 "1g6xgnlkh17avivn1rlq7l2nvs26dvrbx4rkfld0bf6kyqaqwrgp"))))
5044 (build-system haskell-build-system)
5045 (inputs
5046 `(("ghc-temporary" ,ghc-temporary)
5047 ("ghc-utility-ht" ,ghc-utility-ht)
5048 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
5049 ("ghc-data-accessor" ,ghc-data-accessor)
5050 ("ghc-semigroups" ,ghc-semigroups)
5051 ("gnuplot" ,gnuplot)))
5052 (arguments
5053 `(#:phases
5054 (modify-phases %standard-phases
5055 (add-before 'configure 'fix-path-to-gnuplot
5056 (lambda* (#:key inputs #:allow-other-keys)
5057 (let ((gnuplot (assoc-ref inputs "gnuplot")))
5058 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
5059 (("(gnuplotName = ).*$" all cmd)
5060 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
5061 (home-page "https://wiki.haskell.org/Gnuplot")
5062 (synopsis "2D and 3D plots using gnuplot")
5063 (description "This package provides a Haskell module for creating 2D and
5064 3D plots using gnuplot.")
5065 (license license:bsd-3)))
5066
5067 (define-public ghc-graphviz
5068 (package
5069 (name "ghc-graphviz")
5070 (version "2999.20.0.3")
5071 (source (origin
5072 (method url-fetch)
5073 (uri (string-append "https://hackage.haskell.org/package/"
5074 "graphviz/graphviz-" version ".tar.gz"))
5075 (sha256
5076 (base32
5077 "04k26zw61nfv1pkd00iaq89pgsaiym0sf4cbzkmm2k2fj5xa587g"))))
5078 (build-system haskell-build-system)
5079 (arguments
5080 `(#:phases
5081 (modify-phases %standard-phases
5082 (add-before 'configure 'update-constraints
5083 (lambda _
5084 (substitute* "graphviz.cabal"
5085 (("QuickCheck >= 2\\.3 && < 2\\.13")
5086 "QuickCheck >= 2.3 && < 2.14")
5087 (("hspec >= 2\\.1 && < 2\\.7")
5088 "hspec >= 2.1 && < 2.8")))))))
5089 (inputs
5090 `(("ghc-quickcheck" ,ghc-quickcheck)
5091 ("ghc-colour" ,ghc-colour)
5092 ("ghc-dlist" ,ghc-dlist)
5093 ("ghc-fgl" ,ghc-fgl)
5094 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
5095 ("ghc-polyparse" ,ghc-polyparse)
5096 ("ghc-temporary" ,ghc-temporary)
5097 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
5098 (native-inputs
5099 `(("ghc-hspec" ,ghc-hspec)
5100 ("graphviz" ,graphviz)
5101 ("hspec-discover" ,hspec-discover)))
5102 (home-page "https://hackage.haskell.org/package/graphviz")
5103 (synopsis "Bindings to Graphviz for graph visualisation")
5104 (description
5105 "This library provides bindings for the Dot language used by
5106 the @uref{https://graphviz.org/, Graphviz} suite of programs for
5107 visualising graphs, as well as functions to call those programs.
5108 Main features of the graphviz library include:
5109
5110 @enumerate
5111 @item Almost complete coverage of all Graphviz attributes and syntax
5112 @item Support for specifying clusters
5113 @item The ability to use a custom node type
5114 @item Functions for running a Graphviz layout tool with all specified output types
5115 @item Generate and parse Dot code with two options: strict and liberal
5116 @item Functions to convert FGL graphs and other graph-like data structures
5117 @item Round-trip support for passing an FGL graph through Graphviz to augment node
5118 and edge labels with positional information, etc.
5119 @end enumerate\n")
5120 (license license:bsd-3)))
5121
5122 (define-public ghc-groups
5123 (package
5124 (name "ghc-groups")
5125 (version "0.4.1.0")
5126 (source
5127 (origin
5128 (method url-fetch)
5129 (uri (string-append "https://hackage.haskell.org/package/"
5130 "groups/groups-" version ".tar.gz"))
5131 (sha256
5132 (base32
5133 "0ggkygkyxw5ga4cza82bjvdraavl294k0h6b62d2px7z3nvqhifx"))))
5134 (build-system haskell-build-system)
5135 (home-page "https://hackage.haskell.org/package/groups")
5136 (synopsis "Haskell 98 groups")
5137 (description "This package provides Haskell 98 groups. A group is a
5138 monoid with invertibility.")
5139 (license license:bsd-3)))
5140
5141 (define-public ghc-gtk2hs-buildtools
5142 (package
5143 (name "ghc-gtk2hs-buildtools")
5144 (version "0.13.5.4")
5145 (source
5146 (origin
5147 (method url-fetch)
5148 (uri (string-append "https://hackage.haskell.org/package/"
5149 "gtk2hs-buildtools/gtk2hs-buildtools-"
5150 version ".tar.gz"))
5151 (sha256
5152 (base32
5153 "1flxsacxwmabzzalhn8558kmj95z01c0lmikrn56nxh7p62nxm25"))))
5154 (build-system haskell-build-system)
5155 (inputs
5156 `(("ghc-random" ,ghc-random)
5157 ("ghc-hashtables" ,ghc-hashtables)))
5158 (native-inputs
5159 `(("ghc-alex" ,ghc-alex)
5160 ("ghc-happy" ,ghc-happy)))
5161 (home-page "http://projects.haskell.org/gtk2hs/")
5162 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
5163 (description
5164 "This package provides a set of helper programs necessary to build the
5165 Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
5166 that is used to generate FFI declarations, a tool to build a type hierarchy
5167 that mirrors the C type hierarchy of GObjects found in glib, and a generator
5168 for signal declarations that are used to call back from C to Haskell. These
5169 tools are not needed to actually run Gtk2Hs programs.")
5170 (license license:gpl2)))
5171
5172 (define-public ghc-hackage-security
5173 (package
5174 (name "ghc-hackage-security")
5175 (version "0.5.3.0")
5176 (source
5177 (origin
5178 (method url-fetch)
5179 (uri (string-append "https://hackage.haskell.org/package/"
5180 "hackage-security/hackage-security-"
5181 version ".tar.gz"))
5182 (sha256
5183 (base32
5184 "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v"))))
5185 (build-system haskell-build-system)
5186 (arguments
5187 `(#:cabal-revision
5188 ("6" "1xs2nkzlvkdz8g27yzfxbjdbdadfmgiydnlpn5dm77cg18r495ay")
5189 #:tests? #f)) ; Tests fail because of framework updates.
5190 (inputs
5191 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
5192 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
5193 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
5194 ("ghc-ed25519" ,ghc-ed25519)
5195 ("ghc-network" ,ghc-network)
5196 ("ghc-network-uri" ,ghc-network-uri)
5197 ("ghc-tar" ,ghc-tar)
5198 ("ghc-zlib" ,ghc-zlib)))
5199 (native-inputs
5200 `(("ghc-network-uri" ,ghc-network-uri)
5201 ("ghc-quickcheck" ,ghc-quickcheck)
5202 ("ghc-tar" ,ghc-tar)
5203 ("ghc-tasty" ,ghc-tasty)
5204 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5205 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5206 ("ghc-temporary" ,ghc-temporary)
5207 ("ghc-zlib" ,ghc-zlib)))
5208 (home-page "https://github.com/haskell/hackage-security")
5209 (synopsis "Hackage security library")
5210 (description "This Hackage security library provides both server and
5211 client utilities for securing @uref{http://hackage.haskell.org/, the
5212 Hackage package server}. It is based on
5213 @uref{http://theupdateframework.com/, The Update Framework}, a set of
5214 recommendations developed by security researchers at various universities
5215 in the US as well as developers on the @uref{https://www.torproject.org/,
5216 Tor project}.")
5217 (license license:bsd-3)))
5218
5219 (define-public ghc-haddock
5220 (package
5221 (name "ghc-haddock")
5222 (version "2.22.0")
5223 (source
5224 (origin
5225 (method url-fetch)
5226 (uri (string-append
5227 "https://hackage.haskell.org/package/haddock/haddock-"
5228 version
5229 ".tar.gz"))
5230 (sha256
5231 (base32
5232 "1k42z2zh550rl93c8pa9cg2xsanp6wvb031xvan6cmngnplmdib6"))))
5233 (build-system haskell-build-system)
5234 (arguments
5235 `(#:phases
5236 (modify-phases %standard-phases
5237 ;; The release tarball for 2.22.0 is missing the test data for
5238 ;; the Hoogle test, causing it to fail. This is fixed in the
5239 ;; next release, but for now we disable it.
5240 (add-before 'configure 'remove-hoogle-test
5241 (lambda _
5242 (use-modules (ice-9 rdelim))
5243 (with-atomic-file-replacement "haddock.cabal"
5244 (lambda (in out)
5245 (let loop ((line (read-line in 'concat)) (deleting? #f))
5246 (cond
5247 ((eof-object? line) #t)
5248 ((string-every char-set:whitespace line)
5249 (unless deleting? (display line out))
5250 (loop (read-line in 'concat) #f))
5251 ((string=? line "test-suite hoogle-test\n")
5252 (loop (read-line in 'concat) #t))
5253 (else
5254 (unless deleting? (display line out))
5255 (loop (read-line in 'concat) deleting?))))))))
5256 (add-before 'check 'add-haddock-to-path
5257 (lambda _
5258 (setenv "PATH" (string-append (getcwd) "/dist/build/haddock"
5259 ":" (getenv "PATH")))
5260 #t)))))
5261 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
5262 (native-inputs
5263 `(("ghc-haddock-test" ,ghc-haddock-test)
5264 ("ghc-hspec" ,ghc-hspec)))
5265 (home-page "https://www.haskell.org/haddock/")
5266 (synopsis
5267 "Documentation-generation tool for Haskell libraries")
5268 (description
5269 "Haddock is a documentation-generation tool for Haskell libraries.")
5270 (license license:bsd-3)))
5271
5272 (define-public ghc-haddock-api
5273 (package
5274 (name "ghc-haddock-api")
5275 (version "2.22.0")
5276 (source
5277 (origin
5278 (method url-fetch)
5279 (uri (string-append
5280 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
5281 version
5282 ".tar.gz"))
5283 (patches (search-patches "ghc-haddock-api-fix-haddock.patch"))
5284 (sha256
5285 (base32
5286 "149q4zlf4m7wcrr4af2n2flh0jxjsypshbc229vsj1m0kmz4z014"))))
5287 (build-system haskell-build-system)
5288 (arguments
5289 `(#:phases
5290 (modify-phases %standard-phases
5291 (add-before 'configure 'update-constraints
5292 (lambda _
5293 (substitute* "haddock-api.cabal"
5294 (("QuickCheck \\^>= 2\\.11")
5295 "QuickCheck ^>= 2.13")
5296 (("hspec >= 2\\.4\\.4 && < 2\\.6")
5297 "hspec >= 2.4.4 && < 2.8")))))))
5298 (inputs
5299 `(("ghc-paths" ,ghc-paths)
5300 ("ghc-haddock-library" ,ghc-haddock-library)))
5301 (native-inputs
5302 `(("ghc-quickcheck" ,ghc-quickcheck)
5303 ("ghc-hspec" ,ghc-hspec)
5304 ("hspec-discover" ,hspec-discover)))
5305 (home-page "https://www.haskell.org/haddock/")
5306 (synopsis "API for documentation-generation tool Haddock")
5307 (description "This package provides an API to Haddock, the
5308 documentation-generation tool for Haskell libraries.")
5309 (license license:bsd-3)))
5310
5311 (define-public ghc-haddock-library
5312 (package
5313 (name "ghc-haddock-library")
5314 (version "1.7.0")
5315 (source
5316 (origin
5317 (method url-fetch)
5318 (uri (string-append
5319 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
5320 version
5321 ".tar.gz"))
5322 (sha256
5323 (base32
5324 "04fhcjk0pvsaqvsgp2w06cv2qvshq1xs1bwc157q4lmkgr57khp7"))))
5325 (build-system haskell-build-system)
5326 (arguments
5327 `(#:phases
5328 (modify-phases %standard-phases
5329 ;; Since there is no revised Cabal file upstream, we have to
5330 ;; patch it manually.
5331 (add-before 'configure 'relax-test-suite-dependencies
5332 (lambda _
5333 (substitute* "haddock-library.cabal"
5334 (("hspec\\s*>= 2.4.4 && < 2.6") "hspec")
5335 (("QuickCheck\\s*\\^>= 2.11") "QuickCheck"))
5336 #t)))))
5337 (native-inputs
5338 `(("ghc-base-compat" ,ghc-base-compat)
5339 ("ghc-hspec" ,ghc-hspec)
5340 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
5341 ("ghc-quickcheck" ,ghc-quickcheck)
5342 ("ghc-tree-diff" ,ghc-tree-diff)
5343 ("hspec-discover" ,hspec-discover)))
5344 (home-page "https://www.haskell.org/haddock/")
5345 (synopsis "Library exposing some functionality of Haddock")
5346 (description
5347 "Haddock is a documentation-generation tool for Haskell libraries. These
5348 modules expose some functionality of it without pulling in the GHC dependency.
5349 Please note that the API is likely to change so specify upper bounds in your
5350 project if you can't release often. For interacting with Haddock itself, see
5351 the ‘haddock’ package.")
5352 (license license:bsd-3)))
5353
5354 ;; This package is needed for testing 'ghc-haddock'. It is no longer
5355 ;; published to Hackage, but it is maintained in the Haddock Git
5356 ;; repository.
5357 (define ghc-haddock-test
5358 (package
5359 (name "ghc-haddock-test")
5360 (version "2.22.0")
5361 (source
5362 (origin
5363 (method git-fetch)
5364 (uri (git-reference
5365 (url "https://github.com/haskell/haddock")
5366 (commit (string-append "haddock-" version "-release"))))
5367 (file-name (git-file-name name version))
5368 (sha256
5369 (base32
5370 "1ywxmqqan10gs0ppybdmdgsmvkzkpw7yirj2rw4qylg3x49a9zca"))))
5371 (build-system haskell-build-system)
5372 (arguments
5373 `(#:phases
5374 (modify-phases %standard-phases
5375 (add-after 'unpack 'change-directory
5376 (lambda _
5377 (chdir "haddock-test"))))))
5378 (inputs
5379 `(("ghc-syb" ,ghc-syb)
5380 ("ghc-xml" ,ghc-xml)))
5381 (home-page "https://www.haskell.org/haddock/")
5382 (synopsis "Test utilities for Haddock")
5383 (description "This package provides test utilities for Haddock.")
5384 (license license:bsd-3)
5385 (properties '((hidden? #t)))))
5386
5387 (define-public ghc-half
5388 (package
5389 (name "ghc-half")
5390 (version "0.3")
5391 (source
5392 (origin
5393 (method url-fetch)
5394 (uri (string-append
5395 "https://hackage.haskell.org/package/half/half-"
5396 version ".tar.gz"))
5397 (sha256
5398 (base32
5399 "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6"))))
5400 (build-system haskell-build-system)
5401 (native-inputs
5402 `(("ghc-hspec" ,ghc-hspec)
5403 ("ghc-quickcheck" ,ghc-quickcheck)))
5404 (home-page "https://github.com/ekmett/half")
5405 (synopsis "Half-precision floating-point computations")
5406 (description "This library provides a half-precision floating-point
5407 computation library for Haskell.")
5408 (license license:bsd-3)))
5409
5410 (define-public ghc-happy
5411 (package
5412 (name "ghc-happy")
5413 (version "1.19.12")
5414 (source
5415 (origin
5416 (method url-fetch)
5417 (uri (string-append
5418 "https://hackage.haskell.org/package/happy/happy-"
5419 version
5420 ".tar.gz"))
5421 (sha256
5422 (base32
5423 "03xlmq6qmdx4zvzw8bp33kd9g7yvcq5cz4wg50xilw812kj276pv"))))
5424 (build-system haskell-build-system)
5425 (arguments
5426 `(#:phases
5427 (modify-phases %standard-phases
5428 (add-after 'unpack 'skip-test-issue93
5429 (lambda _
5430 ;; Tests run out of memory on a system with 2GB of available RAM,
5431 ;; in 'issue93.a.hs' and 'issue93.n.hs'.
5432 (substitute* "tests/Makefile"
5433 ((" issue93.y ") " "))
5434 #t)))))
5435 (home-page "https://hackage.haskell.org/package/happy")
5436 (synopsis "Parser generator for Haskell")
5437 (description "Happy is a parser generator for Haskell. Given a grammar
5438 specification in BNF, Happy generates Haskell code to parse the grammar.
5439 Happy works in a similar way to the yacc tool for C.")
5440 (license license:bsd-3)))
5441
5442 (define-public ghc-hashable
5443 (package
5444 (name "ghc-hashable")
5445 (version "1.2.7.0")
5446 (outputs '("out" "static" "doc"))
5447 (source
5448 (origin
5449 (method url-fetch)
5450 (uri (string-append
5451 "https://hackage.haskell.org/package/hashable/hashable-"
5452 version
5453 ".tar.gz"))
5454 (sha256
5455 (base32
5456 "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc"))))
5457 (build-system haskell-build-system)
5458 (arguments
5459 `(#:cabal-revision
5460 ("1" "197063dpl0wn67dp7a06yc2hxp81n24ykk7klbjx0fndm5n87dh3")))
5461 (inputs
5462 `(("ghc-random" ,ghc-random)))
5463 (native-inputs
5464 `(("ghc-test-framework" ,ghc-test-framework)
5465 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5466 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5467 ("ghc-hunit" ,ghc-hunit)
5468 ("ghc-quickcheck" ,ghc-quickcheck)))
5469 (home-page "https://github.com/tibbe/hashable")
5470 (synopsis "Class for types that can be converted to a hash value")
5471 (description
5472 "This package defines a class, @code{Hashable}, for types that can be
5473 converted to a hash value. This class exists for the benefit of hashing-based
5474 data structures. The package provides instances for basic types and a way to
5475 combine hash values.")
5476 (license license:bsd-3)))
5477
5478 (define-public ghc-hashable-bootstrap
5479 (package
5480 (inherit ghc-hashable)
5481 (name "ghc-hashable-bootstrap")
5482 (arguments
5483 `(#:tests? #f
5484 ,@(package-arguments ghc-hashable)))
5485 (native-inputs '())
5486 (properties '((hidden? #t)))))
5487
5488 (define-public ghc-hashable-time
5489 (package
5490 (name "ghc-hashable-time")
5491 (version "0.2.0.2")
5492 (source
5493 (origin
5494 (method url-fetch)
5495 (uri (string-append
5496 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
5497 version
5498 ".tar.gz"))
5499 (sha256
5500 (base32
5501 "1q7y4plqqwy5286hhx2fygn12h8lqk0y047b597sbdckskxzfqgs"))))
5502 (build-system haskell-build-system)
5503 (arguments
5504 `(#:cabal-revision
5505 ("2" "006phc5y9rrvsshdcmjmhxzxh8dpgs685mpqbkjm9c40xb1ydjbz")))
5506 (inputs `(("ghc-hashable" ,ghc-hashable)))
5507 (home-page "https://hackage.haskell.org/package/hashable-time")
5508 (synopsis "Hashable instances for Data.Time")
5509 (description
5510 "This package provides @code{Hashable} instances for types in
5511 @code{Data.Time}.")
5512 (license license:bsd-3)))
5513
5514 (define-public ghc-hashtables
5515 (package
5516 (name "ghc-hashtables")
5517 (version "1.2.3.4")
5518 (source
5519 (origin
5520 (method url-fetch)
5521 (uri (string-append
5522 "https://hackage.haskell.org/package/hashtables/hashtables-"
5523 version ".tar.gz"))
5524 (sha256
5525 (base32 "1rjmxnr30g4hygiywkpz5p9sanh0abs7ap4zc1kgd8zv04kycp0j"))))
5526 (build-system haskell-build-system)
5527 (inputs
5528 `(("ghc-hashable" ,ghc-hashable)
5529 ("ghc-primitive" ,ghc-primitive)
5530 ("ghc-vector" ,ghc-vector)))
5531 (home-page "https://github.com/gregorycollins/hashtables")
5532 (synopsis "Haskell Mutable hash tables in the ST monad")
5533 (description "This package provides a Haskell library including a
5534 couple of different implementations of mutable hash tables in the ST
5535 monad, as well as a typeclass abstracting their common operations, and
5536 a set of wrappers to use the hash tables in the IO monad.")
5537 (license license:bsd-3)))
5538
5539 (define-public ghc-haskeline-0.8
5540 (package
5541 (name "ghc-haskeline")
5542 (version "0.8.0.0")
5543 (source
5544 (origin
5545 (method url-fetch)
5546 (uri (string-append
5547 "https://hackage.haskell.org/package/haskeline/haskeline-"
5548 version
5549 ".tar.gz"))
5550 (sha256
5551 (base32
5552 "0gqsa5s0drim9m42hv4wrq61mnvcdylxysfxfw3acncwilfrn9pb"))))
5553 (build-system haskell-build-system)
5554 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
5555 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
5556 ;; FIXME: Tests failing
5557 (arguments `(#:tests? #f))
5558 (home-page "https://github.com/judah/haskeline")
5559 (synopsis
5560 "Command-line interface for user input, written in Haskell")
5561 (description
5562 "Haskeline provides a user interface for line input in command-line
5563 programs. This library is similar in purpose to readline, but since it is
5564 written in Haskell it is (hopefully) more easily used in other Haskell
5565 programs.
5566
5567 Haskeline runs both on POSIX-compatible systems and on Windows.")
5568 (license license:bsd-3)))
5569
5570 (define-public ghc-haskell-lexer
5571 (package
5572 (name "ghc-haskell-lexer")
5573 (version "1.0.2")
5574 (source
5575 (origin
5576 (method url-fetch)
5577 (uri (string-append
5578 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
5579 version ".tar.gz"))
5580 (sha256
5581 (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq"))))
5582 (build-system haskell-build-system)
5583 (home-page "https://hackage.haskell.org/package/haskell-lexer")
5584 (synopsis "Fully compliant Haskell 98 lexer")
5585 (description
5586 "This package provides a fully compliant Haskell 98 lexer.")
5587 (license license:bsd-3)))
5588
5589 (define-public ghc-haskell-src
5590 (package
5591 (name "ghc-haskell-src")
5592 (version "1.0.3.0")
5593 (source
5594 (origin
5595 (method url-fetch)
5596 (uri (string-append
5597 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
5598 version
5599 ".tar.gz"))
5600 (sha256
5601 (base32
5602 "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l"))))
5603 (build-system haskell-build-system)
5604 (inputs
5605 `(("ghc-happy" ,ghc-happy)
5606 ("ghc-syb" ,ghc-syb)))
5607 (home-page
5608 "https://hackage.haskell.org/package/haskell-src")
5609 (synopsis
5610 "Support for manipulating Haskell source code")
5611 (description
5612 "The @code{haskell-src} package provides support for manipulating Haskell
5613 source code. The package provides a lexer, parser and pretty-printer, and a
5614 definition of a Haskell abstract syntax tree (AST). Common uses of this
5615 package are to parse or generate Haskell 98 code.")
5616 (license license:bsd-3)))
5617
5618 (define-public ghc-haskell-src-exts
5619 (package
5620 (name "ghc-haskell-src-exts")
5621 (version "1.21.1")
5622 (source
5623 (origin
5624 (method url-fetch)
5625 (uri (string-append
5626 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
5627 version
5628 ".tar.gz"))
5629 (sha256
5630 (base32
5631 "0q1y8n3d82gid9bcx8wxsqqmj9mq11fg3gp5yzpfbw958dhi3j9f"))))
5632 (build-system haskell-build-system)
5633 (outputs '("out" "static" "doc"))
5634 (inputs
5635 `(("cpphs" ,cpphs)
5636 ("ghc-happy" ,ghc-happy)
5637 ("ghc-pretty-show" ,ghc-pretty-show)))
5638 (native-inputs
5639 `(("ghc-smallcheck" ,ghc-smallcheck)
5640 ("ghc-tasty" ,ghc-tasty)
5641 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5642 ("ghc-tasty-golden" ,ghc-tasty-golden)))
5643 (home-page "https://github.com/haskell-suite/haskell-src-exts")
5644 (synopsis "Library for manipulating Haskell source")
5645 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
5646 extension of the standard @code{haskell-src} package, and handles most
5647 registered syntactic extensions to Haskell. All extensions implemented in GHC
5648 are supported. Apart from these standard extensions, it also handles regular
5649 patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
5650 (license license:bsd-3)))
5651
5652 (define-public ghc-haskell-src-exts-util
5653 (package
5654 (name "ghc-haskell-src-exts-util")
5655 (version "0.2.5")
5656 (source
5657 (origin
5658 (method url-fetch)
5659 (uri (string-append "https://hackage.haskell.org/package/"
5660 "haskell-src-exts-util/haskell-src-exts-util-"
5661 version ".tar.gz"))
5662 (sha256
5663 (base32
5664 "0fvqi72m74p7q5sbpy8m2chm8a1lgy10mfrcxcz8wrh59vngj0n8"))))
5665 (build-system haskell-build-system)
5666 (inputs
5667 `(("ghc-data-default" ,ghc-data-default)
5668 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5669 ("ghc-semigroups" ,ghc-semigroups)
5670 ("ghc-uniplate" ,ghc-uniplate)))
5671 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
5672 (synopsis "Helper functions for working with haskell-src-exts trees")
5673 (description
5674 "This package provides helper functions for working with
5675 @code{haskell-src-exts} trees.")
5676 (license license:bsd-3)))
5677
5678 (define-public ghc-haskell-src-meta
5679 (package
5680 (name "ghc-haskell-src-meta")
5681 (version "0.8.3")
5682 (source (origin
5683 (method url-fetch)
5684 (uri (string-append "https://hackage.haskell.org/package/"
5685 "haskell-src-meta/haskell-src-meta-"
5686 version ".tar.gz"))
5687 (sha256
5688 (base32
5689 "17znnaqj2hnnfyc9p9xjzbs97h2jh1h4f4qbw648y3xa14wx5ra9"))))
5690 (build-system haskell-build-system)
5691 (inputs
5692 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5693 ("ghc-syb" ,ghc-syb)
5694 ("ghc-th-orphans" ,ghc-th-orphans)))
5695 (native-inputs
5696 `(("ghc-hunit" ,ghc-hunit)
5697 ("ghc-tasty" ,ghc-tasty)
5698 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5699 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5700 (synopsis "Parse source to template-haskell abstract syntax")
5701 (description
5702 "This package provides tools to parse Haskell sources to the
5703 template-haskell abstract syntax.")
5704 (license license:bsd-3)))
5705
5706 (define-public ghc-hasktags
5707 (package
5708 (name "ghc-hasktags")
5709 (version "0.71.2")
5710 (source
5711 (origin
5712 (method url-fetch)
5713 (uri (string-append
5714 "https://hackage.haskell.org/package/hasktags/hasktags-"
5715 version
5716 ".tar.gz"))
5717 (sha256
5718 (base32
5719 "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c"))))
5720 (build-system haskell-build-system)
5721 (inputs
5722 `(("ghc-system-filepath" ,ghc-system-filepath)
5723 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5724 (native-inputs
5725 `(("ghc-json" ,ghc-json)
5726 ("ghc-utf8-string" ,ghc-utf8-string)
5727 ("ghc-microlens-platform" ,ghc-microlens-platform)
5728 ("ghc-hunit" ,ghc-hunit)))
5729 (home-page "https://github.com/MarcWeber/hasktags")
5730 (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs")
5731 (description
5732 "This package provides a means of generating tag files for Emacs and
5733 Vim.")
5734 (license license:bsd-3)))
5735
5736 (define-public ghc-hex
5737 (package
5738 (name "ghc-hex")
5739 (version "0.1.2")
5740 (source
5741 (origin
5742 (method url-fetch)
5743 (uri (string-append "https://hackage.haskell.org/package/"
5744 "hex-" version "/"
5745 "hex-" version ".tar.gz"))
5746 (sha256
5747 (base32
5748 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
5749 (build-system haskell-build-system)
5750 (home-page "https://hackage.haskell.org/package/hex")
5751 (synopsis "Convert strings into hexadecimal and back")
5752 (description "This package converts between bytestrings and their
5753 hexadecimal string representation.")
5754 (license license:bsd-3)))
5755
5756 (define-public ghc-highlighting-kate
5757 (package
5758 (name "ghc-highlighting-kate")
5759 (version "0.6.4")
5760 (source (origin
5761 (method url-fetch)
5762 (uri (string-append "https://hackage.haskell.org/package/"
5763 "highlighting-kate/highlighting-kate-"
5764 version ".tar.gz"))
5765 (sha256
5766 (base32
5767 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
5768 (build-system haskell-build-system)
5769 (inputs
5770 `(("ghc-diff" ,ghc-diff)
5771 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5772 (native-inputs
5773 `(("ghc-blaze-html" ,ghc-blaze-html)
5774 ("ghc-utf8-string" ,ghc-utf8-string)))
5775 (home-page "https://github.com/jgm/highlighting-kate")
5776 (synopsis "Syntax highlighting library")
5777 (description
5778 "Highlighting-kate is a syntax highlighting library with support for
5779 nearly one hundred languages. The syntax parsers are automatically generated
5780 from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5781 supported by Kate can be added. An (optional) command-line program is
5782 provided, along with a utility for generating new parsers from Kate XML syntax
5783 descriptions.")
5784 (license license:gpl2+)))
5785
5786 (define-public ghc-hindent
5787 (package
5788 (name "ghc-hindent")
5789 (version "5.3.1")
5790 (source
5791 (origin
5792 (method url-fetch)
5793 (uri (string-append
5794 "https://hackage.haskell.org/package/hindent/hindent-"
5795 version
5796 ".tar.gz"))
5797 (sha256
5798 (base32
5799 "008s8zm9qs972b7v5kkmr8l3i9kc6zm7yj33mkw6dv69b7h3c01l"))))
5800 (build-system haskell-build-system)
5801 (arguments
5802 `(#:modules ((guix build haskell-build-system)
5803 (guix build utils)
5804 (guix build emacs-utils))
5805 #:imported-modules (,@%haskell-build-system-modules
5806 (guix build emacs-utils))
5807 #:phases
5808 (modify-phases %standard-phases
5809 (add-after 'install 'emacs-install
5810 (lambda* (#:key inputs outputs #:allow-other-keys)
5811 (let* ((out (assoc-ref outputs "out"))
5812 (elisp-file "elisp/hindent.el")
5813 (dest (string-append out "/share/emacs/site-lisp"))
5814 (emacs (string-append (assoc-ref inputs "emacs")
5815 "/bin/emacs")))
5816 (make-file-writable elisp-file)
5817 (emacs-substitute-variables elisp-file
5818 ("hindent-process-path"
5819 (string-append out "/bin/hindent")))
5820 (install-file elisp-file dest)
5821 (emacs-generate-autoloads "hindent" dest)))))))
5822 (inputs
5823 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5824 ("ghc-monad-loops" ,ghc-monad-loops)
5825 ("ghc-utf8-string" ,ghc-utf8-string)
5826 ("ghc-exceptions" ,ghc-exceptions)
5827 ("ghc-yaml" ,ghc-yaml)
5828 ("ghc-unix-compat" ,ghc-unix-compat)
5829 ("ghc-path" ,ghc-path)
5830 ("ghc-path-io" ,ghc-path-io)
5831 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5832 (native-inputs
5833 `(("ghc-hspec" ,ghc-hspec)
5834 ("ghc-diff" ,ghc-diff)
5835 ("emacs" ,emacs-minimal)))
5836 (home-page
5837 "https://github.com/commercialhaskell/hindent")
5838 (synopsis "Extensible Haskell pretty printer")
5839 (description
5840 "This package provides automatic formatting for Haskell files. Both a
5841 library and an executable.")
5842 (license license:bsd-3)))
5843
5844 (define-public ghc-hinotify
5845 (package
5846 (name "ghc-hinotify")
5847 (version "0.4")
5848 (source (origin
5849 (method url-fetch)
5850 (uri (string-append
5851 "https://hackage.haskell.org/package/hinotify/"
5852 "hinotify-" version ".tar.gz"))
5853 (sha256
5854 (base32
5855 "1x1lm685ws2q0z0ibwq6x3l72xh67mj06s36xiga3al48d92q63x"))))
5856 (build-system haskell-build-system)
5857 (inputs
5858 `(("ghc-async" ,ghc-async)))
5859 (home-page "https://github.com/kolmodin/hinotify.git")
5860 (synopsis "Haskell binding to inotify")
5861 (description "This library provides a wrapper to the Linux kernel's inotify
5862 feature, allowing applications to subscribe to notifications when a file is
5863 accessed or modified.")
5864 (license license:bsd-3)))
5865
5866 (define-public ghc-hledger-lib
5867 (package
5868 (name "ghc-hledger-lib")
5869 (version "1.14.1")
5870 (source
5871 (origin
5872 (method url-fetch)
5873 (uri (string-append
5874 "https://hackage.haskell.org/package/hledger-lib/hledger-lib-"
5875 version
5876 ".tar.gz"))
5877 (sha256
5878 (base32
5879 "1w6qp01cak6spnpldm01czlm6i5a2alw47w76875l2nagrc4rfp2"))))
5880 (build-system haskell-build-system)
5881 (inputs
5882 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
5883 ("ghc-base-compat-batteries" ,ghc-base-compat-batteries)
5884 ("ghc-blaze-markup" ,ghc-blaze-markup)
5885 ("ghc-call-stack" ,ghc-call-stack)
5886 ("ghc-cassava" ,ghc-cassava)
5887 ("ghc-cassava-megaparsec" ,ghc-cassava-megaparsec)
5888 ("ghc-cmdargs" ,ghc-cmdargs)
5889 ("ghc-data-default" ,ghc-data-default)
5890 ("ghc-decimal" ,ghc-decimal)
5891 ("ghc-easytest" ,ghc-easytest)
5892 ("ghc-extra" ,ghc-extra)
5893 ("ghc-file-embed" ,ghc-file-embed)
5894 ("ghc-glob" ,ghc-glob)
5895 ("ghc-hashtables" ,ghc-hashtables)
5896 ("ghc-megaparsec" ,ghc-megaparsec)
5897 ("ghc-mtl-compat" ,ghc-mtl-compat)
5898 ("ghc-old-time" ,ghc-old-time)
5899 ("ghc-parser-combinators" ,ghc-parser-combinators)
5900 ("ghc-pretty-show" ,ghc-pretty-show)
5901 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
5902 ("ghc-safe" ,ghc-safe)
5903 ("ghc-split" ,ghc-split)
5904 ("ghc-tabular" ,ghc-tabular)
5905 ("ghc-uglymemo" ,ghc-uglymemo)
5906 ("ghc-utf8-string" ,ghc-utf8-string)))
5907 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
5908 (home-page "https://hledger.org")
5909 (synopsis "Reusable library providing the core functionality of hledger")
5910 (description
5911 "A reusable library containing hledger's core functionality.
5912 This is used by most hledger* packages so that they support the same common
5913 file formats, command line options, reports etc.
5914
5915 hledger is a robust, cross-platform set of tools for tracking money, time, or
5916 any other commodity, using double-entry accounting and a simple, editable file
5917 format, with command-line, terminal and web interfaces. It is a Haskell
5918 rewrite of Ledger, and one of the leading implementations of Plain Text
5919 Accounting.")
5920 (license license:gpl3)))
5921
5922 (define-public ghc-hmatrix
5923 (package
5924 (name "ghc-hmatrix")
5925 (version "0.20.0.0")
5926 (source
5927 (origin
5928 (method url-fetch)
5929 (uri (string-append
5930 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
5931 version ".tar.gz"))
5932 (sha256
5933 (base32 "1sqy1aci5zfagkb34mz3xdil7cl96z4b4cx28cha54vc5sx1lhpg"))))
5934 (build-system haskell-build-system)
5935 (arguments
5936 `(#:extra-directories ("lapack")))
5937 (inputs
5938 `(("ghc-random" ,ghc-random)
5939 ("ghc-split" ,ghc-split)
5940 ("ghc-storable-complex" ,ghc-storable-complex)
5941 ("ghc-semigroups" ,ghc-semigroups)
5942 ("ghc-vector" ,ghc-vector)
5943 ;;("openblas" ,openblas)
5944 ("lapack" ,lapack)))
5945 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
5946 ;; disables inclusion of the LAPACK functions.
5947 ;; (arguments `(#:configure-flags '("--flags=openblas")))
5948 (home-page "https://github.com/albertoruiz/hmatrix")
5949 (synopsis "Haskell numeric linear algebra library")
5950 (description "The HMatrix package provices a Haskell library for
5951 dealing with linear systems, matrix decompositions, and other
5952 numerical computations based on BLAS and LAPACK.")
5953 (license license:bsd-3)))
5954
5955 (define-public ghc-hmatrix-gsl
5956 (package
5957 (name "ghc-hmatrix-gsl")
5958 (version "0.19.0.1")
5959 (source
5960 (origin
5961 (method url-fetch)
5962 (uri (string-append
5963 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
5964 version ".tar.gz"))
5965 (sha256
5966 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
5967 (build-system haskell-build-system)
5968 (arguments
5969 `(#:extra-directories ("gsl")))
5970 (inputs
5971 `(("ghc-hmatrix" ,ghc-hmatrix)
5972 ("ghc-vector" ,ghc-vector)
5973 ("ghc-random" ,ghc-random)
5974 ("gsl" ,gsl)))
5975 (native-inputs `(("pkg-config" ,pkg-config)))
5976 (home-page "https://github.com/albertoruiz/hmatrix")
5977 (synopsis "Haskell GSL binding")
5978 (description "This Haskell library provides a purely functional
5979 interface to selected numerical computations, internally implemented
5980 using GSL.")
5981 (license license:gpl3+)))
5982
5983 (define-public ghc-hmatrix-gsl-stats
5984 (package
5985 (name "ghc-hmatrix-gsl-stats")
5986 (version "0.4.1.8")
5987 (source
5988 (origin
5989 (method url-fetch)
5990 (uri
5991 (string-append
5992 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
5993 version ".tar.gz"))
5994 (sha256
5995 (base32 "1cq049sj3q5r06x7i35hqrkf2jc4p4kfi9zv0jmi2vp7w4644i5q"))))
5996 (build-system haskell-build-system)
5997 (inputs
5998 `(("ghc-vector" ,ghc-vector)
5999 ("ghc-storable-complex" ,ghc-storable-complex)
6000 ("ghc-hmatrix" ,ghc-hmatrix)
6001 ("gsl" ,gsl)))
6002 (native-inputs `(("pkg-config" ,pkg-config)))
6003 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
6004 (synopsis "GSL Statistics interface for Haskell")
6005 (description "This Haskell library provides a purely functional
6006 interface for statistics based on hmatrix and GSL.")
6007 (license license:bsd-3)))
6008
6009 (define-public ghc-hmatrix-special
6010 (package
6011 (name "ghc-hmatrix-special")
6012 (version "0.19.0.0")
6013 (source
6014 (origin
6015 (method url-fetch)
6016 (uri
6017 (string-append
6018 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
6019 version ".tar.gz"))
6020 (sha256
6021 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
6022 (build-system haskell-build-system)
6023 (inputs
6024 `(("ghc-hmatrix" ,ghc-hmatrix)
6025 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
6026 (home-page "https://github.com/albertoruiz/hmatrix")
6027 (synopsis "Haskell interface to GSL special functions")
6028 (description "This library provides an interface to GSL special
6029 functions for Haskell.")
6030 (license license:gpl3+)))
6031
6032 (define-public ghc-hostname
6033 (package
6034 (name "ghc-hostname")
6035 (version "1.0")
6036 (source
6037 (origin
6038 (method url-fetch)
6039 (uri (string-append "https://hackage.haskell.org/package/hostname/"
6040 "hostname-" version ".tar.gz"))
6041 (sha256
6042 (base32
6043 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
6044 (build-system haskell-build-system)
6045 (home-page "https://hackage.haskell.org/package/hostname")
6046 (synopsis "Hostname in Haskell")
6047 (description "Network.HostName is a simple package providing a means to
6048 determine the hostname.")
6049 (license license:bsd-3)))
6050
6051 (define-public ghc-hourglass
6052 (package
6053 (name "ghc-hourglass")
6054 (version "0.2.12")
6055 (source (origin
6056 (method url-fetch)
6057 (uri (string-append "https://hackage.haskell.org/package/"
6058 "hourglass/hourglass-" version ".tar.gz"))
6059 (sha256
6060 (base32
6061 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
6062 (build-system haskell-build-system)
6063 (inputs
6064 `(("ghc-old-locale" ,ghc-old-locale)))
6065 (native-inputs
6066 `(("ghc-tasty" ,ghc-tasty)
6067 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6068 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6069 (home-page "https://github.com/vincenthz/hs-hourglass")
6070 (synopsis "Simple time-related library for Haskell")
6071 (description
6072 "This is a simple time library providing a simple but powerful and
6073 performant API. The backbone of the library are the @code{Timeable} and
6074 @code{Time} type classes. Each @code{Timeable} instances can be converted to
6075 a type that has a @code{Time} instances, and thus are different
6076 representations of current time.")
6077 (license license:bsd-3)))
6078
6079 (define-public ghc-hpack
6080 (package
6081 (name "ghc-hpack")
6082 (version "0.31.2")
6083 (source
6084 (origin
6085 (method url-fetch)
6086 (uri (string-append "https://hackage.haskell.org/package/hpack/"
6087 "hpack-" version ".tar.gz"))
6088 (patches (search-patches "ghc-hpack-fix-tests.patch"))
6089 (sha256
6090 (base32
6091 "1l2d6185lawwhsj70swxkvcacm0hvcn9qsrlx4ph4gs6k578603g"))))
6092 (build-system haskell-build-system)
6093 (inputs
6094 `(("ghc-aeson" ,ghc-aeson)
6095 ("ghc-bifunctors" ,ghc-bifunctors)
6096 ("ghc-cryptonite" ,ghc-cryptonite)
6097 ("ghc-glob" ,ghc-glob)
6098 ("ghc-http-client" ,ghc-http-client)
6099 ("ghc-http-client-tls" ,ghc-http-client-tls)
6100 ("ghc-http-types" ,ghc-http-types)
6101 ("ghc-infer-license" ,ghc-infer-license)
6102 ("ghc-scientific" ,ghc-scientific)
6103 ("ghc-unordered-containers" ,ghc-unordered-containers)
6104 ("ghc-vector" ,ghc-vector)
6105 ("ghc-yaml" ,ghc-yaml)))
6106 (native-inputs
6107 `(("ghc-hspec" ,ghc-hspec)
6108 ("ghc-hunit" ,ghc-hunit)
6109 ("ghc-interpolate" ,ghc-interpolate)
6110 ("ghc-mockery" ,ghc-mockery)
6111 ("ghc-quickcheck" ,ghc-quickcheck)
6112 ("ghc-temporary" ,ghc-temporary)
6113 ("hspec-discover" ,hspec-discover)))
6114 (home-page "https://github.com/sol/hpack")
6115 (synopsis "Tools for an alternative Haskell package format")
6116 (description
6117 "Hpack is a format for Haskell packages. It is an alternative to the
6118 Cabal package format and follows different design principles. Hpack packages
6119 are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
6120 @code{stack} support @code{package.yaml} natively. For other build tools the
6121 @code{hpack} executable can be used to generate a @code{.cabal} file from
6122 @code{package.yaml}.")
6123 (license license:expat)))
6124
6125 (define-public ghc-hspec-megaparsec
6126 (package
6127 (name "ghc-hspec-megaparsec")
6128 (version "2.0.1")
6129 (source
6130 (origin
6131 (method url-fetch)
6132 (uri (string-append
6133 "https://hackage.haskell.org/"
6134 "package/hspec-megaparsec/hspec-megaparsec-"
6135 version
6136 ".tar.gz"))
6137 (sha256
6138 (base32
6139 "0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg"))))
6140 (build-system haskell-build-system)
6141 (inputs
6142 `(("ghc-hspec-expectations" ,ghc-hspec-expectations)
6143 ("ghc-megaparsec" ,ghc-megaparsec)))
6144 (native-inputs
6145 `(("ghc-hspec" ,ghc-hspec)))
6146 (home-page "https://github.com/mrkkrp/hspec-megaparsec")
6147 (synopsis "Utility functions for testing Megaparsec parsers with Hspec")
6148 (description
6149 "Provides a small set of helper functions for testing Megaparsec parsers
6150 with Hspec.")
6151 (license license:bsd-3)))
6152
6153 (define-public ghc-hs-bibutils
6154 (package
6155 (name "ghc-hs-bibutils")
6156 (version "6.7.0.0")
6157 (source
6158 (origin
6159 (method url-fetch)
6160 (uri (string-append
6161 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6162 version ".tar.gz"))
6163 (sha256
6164 (base32
6165 "1qfyssl76lm4g09yxr3y10kmf8cnzls46g5h0ijk0wpk9wlhbln5"))))
6166 (build-system haskell-build-system)
6167 (inputs `(("ghc-syb" ,ghc-syb)))
6168 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6169 (synopsis "Haskell bindings to bibutils")
6170 (description
6171 "This package provides Haskell bindings to @code{bibutils}, a library
6172 that interconverts between various bibliography formats using a common
6173 MODS-format XML intermediate.")
6174 (license license:gpl2+)))
6175
6176 (define-public ghc-hslogger
6177 (package
6178 (name "ghc-hslogger")
6179 (version "1.2.12")
6180 (source
6181 (origin
6182 (method url-fetch)
6183 (uri (string-append "https://hackage.haskell.org/package/"
6184 "hslogger-" version "/" "hslogger-"
6185 version ".tar.gz"))
6186 (sha256 (base32
6187 "0ykcsk7wqygvrg60r5kpl6xfinr706al8pfyk5wj67wjs24lqypr"))))
6188 (build-system haskell-build-system)
6189 (inputs
6190 `(("ghc-network" ,ghc-network)
6191 ("ghc-old-locale" ,ghc-old-locale)))
6192 (native-inputs
6193 `(("ghc-hunit" ,ghc-hunit)))
6194 (home-page "https://software.complete.org/hslogger")
6195 (synopsis "Logging framework for Haskell, similar to Python's logging module")
6196 (description "Hslogger lets each log message have a priority and source be
6197 associated with it. The programmer can then define global handlers that route
6198 or filter messages based on the priority and source. It also has a syslog
6199 handler built in.")
6200 (license license:bsd-3)))
6201
6202 (define-public ghc-hslua
6203 (package
6204 (name "ghc-hslua")
6205 (version "1.0.3.2")
6206 (source (origin
6207 (method url-fetch)
6208 (uri (string-append "https://hackage.haskell.org/package/"
6209 "hslua/hslua-" version ".tar.gz"))
6210 (sha256
6211 (base32
6212 "183bgl5jcx5y2r94lviqfw0a5w9089nxjd1z40k8vx9y2h60pm6j"))))
6213 (build-system haskell-build-system)
6214 (arguments
6215 `(#:configure-flags '("-fsystem-lua")
6216 #:extra-directories ("lua")))
6217 (inputs
6218 `(("lua" ,lua)
6219 ("ghc-exceptions" ,ghc-exceptions)
6220 ("ghc-fail" ,ghc-fail)))
6221 (native-inputs
6222 `(("ghc-tasty" ,ghc-tasty)
6223 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
6224 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6225 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6226 ("ghc-quickcheck" ,ghc-quickcheck)
6227 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
6228 (home-page "https://hackage.haskell.org/package/hslua")
6229 (synopsis "Lua language interpreter embedding in Haskell")
6230 (description
6231 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
6232 described in @url{https://www.lua.org/}.")
6233 (license license:expat)))
6234
6235 (define-public ghc-hslua-module-system
6236 (package
6237 (name "ghc-hslua-module-system")
6238 (version "0.2.1")
6239 (source
6240 (origin
6241 (method url-fetch)
6242 (uri (string-append "https://hackage.haskell.org/package/"
6243 "hslua-module-system/hslua-module-system-"
6244 version ".tar.gz"))
6245 (sha256
6246 (base32
6247 "1m7wz3g5c34pyizqw5mllzhsy2vziddhlbhjfwdvd7nhd3p4v3hh"))))
6248 (build-system haskell-build-system)
6249 (inputs
6250 `(("ghc-exceptions" ,ghc-exceptions)
6251 ("ghc-hslua" ,ghc-hslua)
6252 ("ghc-temporary" ,ghc-temporary)))
6253 (native-inputs
6254 `(("ghc-tasty" ,ghc-tasty)
6255 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6256 (home-page "https://github.com/hslua/hslua-module-system")
6257 (synopsis "Lua module wrapper around Haskell's System module")
6258 (description "This library provides access to system information and
6259 functionality to Lua scripts via Haskell's @code{System} module. Intended
6260 usage for this package is to preload it by adding the loader function to
6261 @code{package.preload}. Note that the Lua @code{package} library must have
6262 already been loaded before the loader can be added.")
6263 (license license:expat)))
6264
6265 (define-public ghc-hslua-module-text
6266 (package
6267 (name "ghc-hslua-module-text")
6268 (version "0.2.1")
6269 (source
6270 (origin
6271 (method url-fetch)
6272 (uri (string-append "https://hackage.haskell.org/package/"
6273 "hslua-module-text/hslua-module-text-"
6274 version ".tar.gz"))
6275 (sha256
6276 (base32
6277 "1ikdwvvxhbd5wmfr85dzs2ccamh9rbbpgy899z7s1vlv5q1dj0hk"))))
6278 (build-system haskell-build-system)
6279 (inputs
6280 `(("ghc-hslua" ,ghc-hslua)))
6281 (native-inputs
6282 `(("ghc-tasty" ,ghc-tasty)
6283 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6284 (home-page "https://github.com/hslua/hslua-module-text")
6285 (synopsis "Lua module for text")
6286 (description
6287 "This package provides a UTF-8 aware subset of Lua's @code{string} module
6288 for Haskell. The functions provided by this module are @code{upper},
6289 @code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
6290 (license license:expat)))
6291
6292 (define-public ghc-hsyaml
6293 (package
6294 (name "ghc-hsyaml")
6295 (version "0.1.2.0")
6296 (source
6297 (origin
6298 (method url-fetch)
6299 (uri (string-append "https://hackage.haskell.org/package/"
6300 "HsYAML/HsYAML-" version ".tar.gz"))
6301 (sha256
6302 (base32
6303 "1pajfhj16559v64ixm8j7bvxdqmxg6c3c0z3wz7in8ckswgzfp54"))))
6304 (build-system haskell-build-system)
6305 (arguments
6306 `(#:cabal-revision
6307 ("1" "0j6qmmcz5yqh89hs2cq453maix50q61vl2h0ahj5lg02bygn42cf")))
6308 (home-page "https://github.com/haskell-hvr/HsYAML")
6309 (synopsis "Pure Haskell YAML 1.2 parser")
6310 (description "This library provides a
6311 @url{http://yaml.org/spec/1.2/spec.html, YAML 1.2} parser implementation
6312 for Haskell. Its features include:
6313
6314 @itemize
6315 @item Pure Haskell implementation with small dependency footprint and
6316 emphasis on strict compliance with the YAML 1.2 specification.
6317
6318 @item Direct decoding to native Haskell types via (aeson-inspired)
6319 typeclass-based API (see @code{Data.YAML}).
6320
6321 @item Support for constructing custom YAML node graph
6322 representation (including support for cyclic YAML data structures).
6323
6324 @item Support for the standard (untyped) @emph{Failsafe}, (strict)
6325 @emph{JSON}, and (flexible) @emph{Core} ``schemas'' providing implicit
6326 typing rules as defined in the YAML 1.2 specification (including support
6327 for user-defined custom schemas).
6328
6329 @item Event-based API resembling LibYAML's Event-based API (see
6330 @code{Data.YAML.Event}).
6331
6332 @item Low-level API access to lexical token-based scanner (see
6333 @code{Data.YAML.Token}).
6334 @end itemize")
6335 (license license:gpl2+)))
6336
6337 (define-public ghc-http-api-data
6338 (package
6339 (name "ghc-http-api-data")
6340 (version "0.4.1")
6341 (source
6342 (origin
6343 (method url-fetch)
6344 (uri (string-append "https://hackage.haskell.org/package/"
6345 "http-api-data-" version "/"
6346 "http-api-data-" version ".tar.gz"))
6347 (sha256
6348 (base32
6349 "1ps4bvln43gz72dr9mc3c9n1rn38c4rz6m49vxzz9nz6jz1978rv"))))
6350 (build-system haskell-build-system)
6351 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
6352 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
6353 ("ghc-cookie" ,ghc-cookie)
6354 ("ghc-hashable" ,ghc-hashable)
6355 ("ghc-http-types" ,ghc-http-types)
6356 ("ghc-time-compat" ,ghc-time-compat)
6357 ("ghc-unordered-containers" ,ghc-unordered-containers)
6358 ("ghc-uuid-types" ,ghc-uuid-types)))
6359 (native-inputs
6360 `(("cabal-doctest" ,cabal-doctest)
6361 ("ghc-nats" ,ghc-nats)
6362 ("ghc-hunit" ,ghc-hunit)
6363 ("ghc-hspec" ,ghc-hspec)
6364 ("ghc-quickcheck" ,ghc-quickcheck)
6365 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6366 ("ghc-doctest" ,ghc-doctest)
6367 ("hspec-discover" ,hspec-discover)))
6368 (home-page "https://github.com/fizruk/http-api-data")
6369 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
6370 query parameters")
6371 (description "This Haskell package defines typeclasses used for converting
6372 Haskell data types to and from HTTP API data.")
6373 (license license:bsd-3)))
6374
6375 (define-public ghc-ieee754
6376 (package
6377 (name "ghc-ieee754")
6378 (version "0.8.0")
6379 (source (origin
6380 (method url-fetch)
6381 (uri (string-append
6382 "https://hackage.haskell.org/package/ieee754/"
6383 "ieee754-" version ".tar.gz"))
6384 (sha256
6385 (base32
6386 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
6387 (build-system haskell-build-system)
6388 (home-page "https://github.com/patperry/hs-ieee754")
6389 (synopsis "Utilities for dealing with IEEE floating point numbers")
6390 (description "Utilities for dealing with IEEE floating point numbers,
6391 ported from the Tango math library; approximate and exact equality comparisons
6392 for general types.")
6393 (license license:bsd-3)))
6394
6395 (define-public ghc-ifelse
6396 (package
6397 (name "ghc-ifelse")
6398 (version "0.85")
6399 (source
6400 (origin
6401 (method url-fetch)
6402 (uri (string-append "https://hackage.haskell.org/package/"
6403 "IfElse/IfElse-" version ".tar.gz"))
6404 (sha256
6405 (base32
6406 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
6407 (build-system haskell-build-system)
6408 (home-page "https://hackage.haskell.org/package/IfElse")
6409 (synopsis "Monadic control flow with anaphoric variants")
6410 (description "This library provides functions for control flow inside of
6411 monads with anaphoric variants on @code{if} and @code{when} and a C-like
6412 @code{switch} function.")
6413 (license license:bsd-3)))
6414
6415 (define-public ghc-indents
6416 (package
6417 (name "ghc-indents")
6418 (version "0.5.0.1")
6419 (source (origin
6420 (method url-fetch)
6421 (uri (string-append
6422 "https://hackage.haskell.org/package/indents/indents-"
6423 version ".tar.gz"))
6424 (sha256
6425 (base32
6426 "0dpcwiz0dwn5aqdsc50plfaawh86adhf7jx5dsmhn5q5nz32qn51"))))
6427 (build-system haskell-build-system)
6428 ;; This package needs an older version of tasty.
6429 (arguments '(#:tests? #f))
6430 (inputs
6431 `(("ghc-concatenative" ,ghc-concatenative)))
6432 (native-inputs
6433 `(("ghc-tasty" ,ghc-tasty)
6434 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6435 (home-page "http://patch-tag.com/r/salazar/indents")
6436 (synopsis "Indentation sensitive parser-combinators for parsec")
6437 (description
6438 "This library provides functions for use in parsing indentation sensitive
6439 contexts. It parses blocks of lines all indented to the same level as well as
6440 lines continued at an indented level below.")
6441 (license license:bsd-3)))
6442
6443 (define-public ghc-infer-license
6444 (package
6445 (name "ghc-infer-license")
6446 (version "0.2.0")
6447 (source
6448 (origin
6449 (method url-fetch)
6450 (uri (string-append "https://hackage.haskell.org/package/"
6451 "infer-license/infer-license-" version ".tar.gz"))
6452 (sha256
6453 (base32
6454 "0wlfm6bf55kfvm74xar9lmjg5v1103rs9m3grw1rq5bmcmhzxrhj"))))
6455 (build-system haskell-build-system)
6456 (inputs
6457 `(("ghc-text-metrics" ,ghc-text-metrics)))
6458 (native-inputs
6459 `(("ghc-hspec" ,ghc-hspec)
6460 ("hspec-discover" ,hspec-discover)))
6461 (home-page "https://hackage.haskell.org/package/infer-license")
6462 (synopsis "Infer software license from a given license file")
6463 (description "This library provides tools to infer a software
6464 license from a given license file.")
6465 (license license:expat)))
6466
6467 (define-public ghc-inline-c
6468 (package
6469 (name "ghc-inline-c")
6470 (version "0.7.0.1")
6471 (source
6472 (origin
6473 (method url-fetch)
6474 (uri (string-append "https://hackage.haskell.org/package/inline-c/"
6475 "inline-c-" version ".tar.gz"))
6476 (sha256
6477 (base32
6478 "19scbviwiv1fbsdcjji3dscjg7w0xa8r97xwkqqrwm7zhvrg5wns"))))
6479 (build-system haskell-build-system)
6480 (inputs
6481 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
6482 ("ghc-cryptohash" ,ghc-cryptohash)
6483 ("ghc-hashable" ,ghc-hashable)
6484 ("ghc-parsers" ,ghc-parsers)
6485 ("ghc-unordered-containers" ,ghc-unordered-containers)
6486 ("ghc-vector" ,ghc-vector)))
6487 (native-inputs
6488 `(("ghc-quickcheck" ,ghc-quickcheck)
6489 ("ghc-hspec" ,ghc-hspec)
6490 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)
6491 ("ghc-regex-posix" ,ghc-regex-posix)))
6492 (home-page "https://hackage.haskell.org/package/inline-c")
6493 (synopsis "Write Haskell source files including C code inline")
6494 (description
6495 "inline-c lets you seamlessly call C libraries and embed high-performance
6496 inline C code in Haskell modules. Haskell and C can be freely intermixed in
6497 the same source file, and data passed to and from code in either language with
6498 minimal overhead. No FFI required.")
6499 (license license:expat)))
6500
6501 (define-public ghc-inline-c-cpp
6502 (package
6503 (name "ghc-inline-c-cpp")
6504 (version "0.3.0.3")
6505 (source
6506 (origin
6507 (method url-fetch)
6508 (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/"
6509 "inline-c-cpp-" version ".tar.gz"))
6510 (sha256
6511 (base32
6512 "1sxwx9dh60qfpa72dymj015zwd6prhb70x5mkabqzi7nhg3aakln"))))
6513 (build-system haskell-build-system)
6514 (inputs
6515 `(("ghc-inline-c" ,ghc-inline-c)
6516 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
6517 (native-inputs
6518 `(("ghc-hspec" ,ghc-hspec)))
6519 (home-page "https://hackage.haskell.org/package/inline-c-cpp")
6520 (synopsis "Lets you embed C++ code into Haskell")
6521 (description
6522 "This package provides utilities to inline C++ code into Haskell using
6523 @code{inline-c}.")
6524 (license license:expat)))
6525
6526 (define-public ghc-integer-logarithms
6527 (package
6528 (name "ghc-integer-logarithms")
6529 (version "1.0.3")
6530 (source
6531 (origin
6532 (method url-fetch)
6533 (uri (string-append "https://hackage.haskell.org/package/"
6534 "integer-logarithms/integer-logarithms-"
6535 version ".tar.gz"))
6536 (sha256
6537 (base32
6538 "05pc5hws66csvcvfswlwcr2fplwn1lbssvwifjxkbbwqhq0n5qjs"))))
6539 (build-system haskell-build-system)
6540 (arguments
6541 `(#:phases
6542 (modify-phases %standard-phases
6543 (add-before 'configure 'update-constraints
6544 (lambda _
6545 (substitute* "integer-logarithms.cabal"
6546 (("tasty >= 0\\.10 && < 1\\.1")
6547 "tasty >= 0.10 && < 1.2")))))))
6548 (native-inputs
6549 `(("ghc-quickcheck" ,ghc-quickcheck)
6550 ("ghc-smallcheck" ,ghc-smallcheck)
6551 ("ghc-tasty" ,ghc-tasty)
6552 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6553 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6554 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
6555 (home-page "https://github.com/Bodigrim/integer-logarithms")
6556 (synopsis "Integer logarithms")
6557 (description
6558 "This package provides the following modules:
6559 @code{Math.NumberTheory.Logarithms} and
6560 @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
6561 @code{GHC.Integer.Logarithms.Compat} and
6562 @code{Math.NumberTheory.Power.Natural}, as well as some additional functions
6563 in migrated modules.")
6564 (license license:expat)))
6565
6566 (define-public ghc-integer-logarithms-bootstrap
6567 (package
6568 (inherit ghc-integer-logarithms)
6569 (name "ghc-integer-logarithms-bootstrap")
6570 (arguments `(#:tests? #f))
6571 (native-inputs '())
6572 (properties '((hidden? #t)))))
6573
6574 (define-public ghc-interpolate
6575 (package
6576 (name "ghc-interpolate")
6577 (version "0.2.0")
6578 (source
6579 (origin
6580 (method url-fetch)
6581 (uri (string-append "https://hackage.haskell.org/package/interpolate/"
6582 "interpolate-" version ".tar.gz"))
6583 (sha256
6584 (base32
6585 "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf"))))
6586 (build-system haskell-build-system)
6587 (inputs
6588 `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
6589 (native-inputs
6590 `(("ghc-base-compat" ,ghc-base-compat)
6591 ("ghc-hspec" ,ghc-hspec)
6592 ("ghc-quickcheck" ,ghc-quickcheck)
6593 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6594 ("hspec-discover" ,hspec-discover)))
6595 (home-page "https://github.com/sol/interpolate")
6596 (synopsis "String interpolation library")
6597 (description "This package provides a string interpolation library for
6598 Haskell.")
6599 (license license:expat)))
6600
6601 (define-public ghc-intervalmap
6602 (package
6603 (name "ghc-intervalmap")
6604 (version "0.6.1.1")
6605 (source
6606 (origin
6607 (method url-fetch)
6608 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
6609 "IntervalMap-" version ".tar.gz"))
6610 (sha256
6611 (base32
6612 "0vdlvxvhf7vjyv0mfn6jaj2i2gclqv8419ck32s2jxfcmki5m5g8"))))
6613 (build-system haskell-build-system)
6614 (native-inputs
6615 `(("ghc-quickcheck" ,ghc-quickcheck)))
6616 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
6617 (synopsis "Containers for intervals, with efficient search")
6618 (description
6619 "This package provides ordered containers of intervals, with efficient
6620 search for all keys containing a point or overlapping an interval. See the
6621 example code on the home page for a quick introduction.")
6622 (license license:bsd-3)))
6623
6624 (define-public ghc-intervals
6625 (package
6626 (name "ghc-intervals")
6627 (version "0.8.1")
6628 (source
6629 (origin
6630 (method url-fetch)
6631 (uri (string-append "https://hackage.haskell.org/package/"
6632 "intervals/intervals-" version ".tar.gz"))
6633 (sha256
6634 (base32
6635 "00vyxf3ba9d7aas3npfapr53w71fslgh69fczjb25axr66fvzqww"))))
6636 (build-system haskell-build-system)
6637 (inputs
6638 `(("ghc-distributive" ,ghc-distributive)))
6639 (native-inputs
6640 `(("cabal-doctest" ,cabal-doctest)
6641 ("ghc-doctest" ,ghc-doctest)
6642 ("ghc-quickcheck" ,ghc-quickcheck)))
6643 (arguments
6644 `(#:cabal-revision
6645 ("4" "1qx3q0v13l1zaln9zdk8chxpxhshbz5x0vqm0qda7d1kpv7h6a7r")))
6646 (home-page "https://github.com/ekmett/intervals")
6647 (synopsis "Interval arithmetic")
6648 (description "This library provides
6649 @code{Numeric.Interval.Interval}, which represets a closed, convex set
6650 of floating point values.")
6651 (license license:bsd-3)))
6652
6653 (define-public ghc-invariant
6654 (package
6655 (name "ghc-invariant")
6656 (version "0.5.3")
6657 (source
6658 (origin
6659 (method url-fetch)
6660 (uri (string-append
6661 "https://hackage.haskell.org/package/invariant/invariant-"
6662 version ".tar.gz"))
6663 (sha256
6664 (base32
6665 "03245nhcqxx6b0yw81fzqaqd7cgllmx8awzhvs2xv7ys73pmsgnp"))))
6666 (build-system haskell-build-system)
6667 (inputs
6668 `(("ghc-bifunctors" ,ghc-bifunctors)
6669 ("ghc-comonad" ,ghc-comonad)
6670 ("ghc-contravariant" ,ghc-contravariant)
6671 ("ghc-profunctors" ,ghc-profunctors)
6672 ("ghc-semigroups" ,ghc-semigroups)
6673 ("ghc-statevar" ,ghc-statevar)
6674 ("ghc-tagged" ,ghc-tagged)
6675 ("ghc-th-abstraction" ,ghc-th-abstraction)
6676 ("ghc-transformers-compat" ,ghc-transformers-compat)
6677 ("ghc-unordered-containers" ,ghc-unordered-containers)))
6678 (native-inputs
6679 `(("ghc-hspec" ,ghc-hspec)
6680 ("ghc-quickcheck" ,ghc-quickcheck)
6681 ("hspec-discover" ,hspec-discover)))
6682 (home-page "https://github.com/nfrisby/invariant-functors")
6683 (synopsis "Haskell98 invariant functors")
6684 (description "Haskell98 invariant functors (also known as exponential
6685 functors). For more information, see Edward Kmett's article
6686 @uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.")
6687 (license license:bsd-2)))
6688
6689 (define-public ghc-io-streams
6690 (package
6691 (name "ghc-io-streams")
6692 (version "1.5.1.0")
6693 (source
6694 (origin
6695 (method url-fetch)
6696 (uri (string-append "https://hackage.haskell.org/package/"
6697 "io-streams/io-streams-" version ".tar.gz"))
6698 (sha256
6699 (base32
6700 "1c7byr943x41nxpc3bnz152fvfbmakafq2958wyf9qiyp2pz18la"))))
6701 (build-system haskell-build-system)
6702 (inputs
6703 `(("ghc-attoparsec" ,ghc-attoparsec)
6704 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6705 ("ghc-network" ,ghc-network)
6706 ("ghc-primitive" ,ghc-primitive)
6707 ("ghc-vector" ,ghc-vector)
6708 ("ghc-zlib-bindings" ,ghc-zlib-bindings)))
6709 (native-inputs
6710 `(("ghc-hunit" ,ghc-hunit)
6711 ("ghc-quickcheck" ,ghc-quickcheck)
6712 ("ghc-test-framework" ,ghc-test-framework)
6713 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6714 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6715 ("ghc-zlib" ,ghc-zlib)))
6716 (home-page "https://hackage.haskell.org/package/io-streams")
6717 (synopsis "Simple and composable stream I/O")
6718 (description "This library contains simple and easy-to-use
6719 primitives for I/O using streams.")
6720 (license license:bsd-3)))
6721
6722 (define-public ghc-io-streams-haproxy
6723 (package
6724 (name "ghc-io-streams-haproxy")
6725 (version "1.0.1.0")
6726 (source
6727 (origin
6728 (method url-fetch)
6729 (uri (string-append "https://hackage.haskell.org/package/"
6730 "io-streams-haproxy/io-streams-haproxy-"
6731 version ".tar.gz"))
6732 (sha256
6733 (base32
6734 "1dcn5hd4fiwyq7m01r6fi93vfvygca5s6mz87c78m0zyj29clkmp"))))
6735 (build-system haskell-build-system)
6736 (inputs
6737 `(("ghc-attoparsec" ,ghc-attoparsec)
6738 ("ghc-io-streams" ,ghc-io-streams)
6739 ("ghc-network" ,ghc-network)))
6740 (native-inputs
6741 `(("ghc-hunit" ,ghc-hunit)
6742 ("ghc-test-framework" ,ghc-test-framework)
6743 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
6744 (home-page "http://snapframework.com/")
6745 (synopsis "HAProxy protocol 1.5 support for io-streams")
6746 (description "HAProxy protocol version 1.5 support
6747 (see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt})
6748 for applications using io-streams. The proxy protocol allows information
6749 about a networked peer (like remote address and port) to be propagated
6750 through a forwarding proxy that is configured to speak this protocol.")
6751 (license license:bsd-3)))
6752
6753 (define-public ghc-iproute
6754 (package
6755 (name "ghc-iproute")
6756 (version "1.7.7")
6757 (source
6758 (origin
6759 (method url-fetch)
6760 (uri (string-append
6761 "https://hackage.haskell.org/package/iproute/iproute-"
6762 version
6763 ".tar.gz"))
6764 (sha256
6765 (base32
6766 "0gab5930nvzrpvisx3x43ydnp2rd4fbmy9cq1zpgqy1adx5gx8z6"))))
6767 (build-system haskell-build-system)
6768 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
6769 ; exported by ghc-byteorder. Doctest issue.
6770 (inputs
6771 `(("ghc-appar" ,ghc-appar)
6772 ("ghc-byteorder" ,ghc-byteorder)
6773 ("ghc-network" ,ghc-network)
6774 ("ghc-safe" ,ghc-safe)))
6775 (home-page "https://www.mew.org/~kazu/proj/iproute/")
6776 (synopsis "IP routing table")
6777 (description "IP Routing Table is a tree of IP ranges to search one of
6778 them on the longest match base. It is a kind of TRIE with one way branching
6779 removed. Both IPv4 and IPv6 are supported.")
6780 (license license:bsd-3)))
6781
6782 (define-public ghc-ipynb
6783 (package
6784 (name "ghc-ipynb")
6785 (version "0.1")
6786 (source
6787 (origin
6788 (method url-fetch)
6789 (uri (string-append "https://hackage.haskell.org/package/"
6790 "ipynb/ipynb-" version ".tar.gz"))
6791 (sha256
6792 (base32
6793 "0daadhzil4q573mqb0rpvjzm0vpkzgzqcimw480qpvlh6rhppwj5"))))
6794 (build-system haskell-build-system)
6795 (inputs
6796 `(("ghc-unordered-containers" ,ghc-unordered-containers)
6797 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6798 ("ghc-aeson" ,ghc-aeson)
6799 ("ghc-semigroups" ,ghc-semigroups)))
6800 (native-inputs
6801 `(("ghc-tasty" ,ghc-tasty)
6802 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6803 ("ghc-aeson-diff" ,ghc-aeson-diff)
6804 ("ghc-microlens-aeson" ,ghc-microlens-aeson)
6805 ("ghc-microlens" ,ghc-microlens)
6806 ("ghc-vector" ,ghc-vector)))
6807 (home-page "https://hackage.haskell.org/package/ipynb")
6808 (synopsis "Data structure for working with Jupyter notebooks")
6809 (description "This library defines a data structure for representing
6810 Jupyter notebooks, along with @code{ToJSON} and @code{FromJSON}
6811 instances for conversion to and from JSON .ipynb files.")
6812 (license license:bsd-3)))
6813
6814 (define-public ghc-iwlib
6815 (package
6816 (name "ghc-iwlib")
6817 (version "0.1.0")
6818 (source
6819 (origin
6820 (method url-fetch)
6821 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
6822 version ".tar.gz"))
6823 (sha256
6824 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
6825 (build-system haskell-build-system)
6826 (arguments
6827 `(#:extra-directories ("wireless-tools")))
6828 (inputs
6829 `(("wireless-tools" ,wireless-tools)))
6830 (home-page "https://github.com/jaor/iwlib")
6831 (synopsis "Haskell binding to the iw wireless networking library")
6832 (description
6833 "IWlib is a thin Haskell binding to the iw C library. It provides
6834 information about the current wireless network connections, and adapters on
6835 supported systems.")
6836 (license license:bsd-3)))
6837
6838 (define-public ghc-json
6839 (package
6840 (name "ghc-json")
6841 (version "0.9.3")
6842 (source
6843 (origin
6844 (method url-fetch)
6845 (uri (string-append "https://hackage.haskell.org/package/json/"
6846 "json-" version ".tar.gz"))
6847 (sha256
6848 (base32
6849 "1z8s3mfg76p2flqqd2wqsi96l5bg8k8w8m58zlv81pw3k7h1vbwb"))))
6850 (build-system haskell-build-system)
6851 (inputs
6852 `(("ghc-syb" ,ghc-syb)))
6853 (home-page "https://hackage.haskell.org/package/json")
6854 (synopsis "Serializes Haskell data to and from JSON")
6855 (description "This package provides a parser and pretty printer for
6856 converting between Haskell values and JSON.
6857 JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
6858 (license license:bsd-3)))
6859
6860 (define-public ghc-juicypixels
6861 (package
6862 (name "ghc-juicypixels")
6863 (version "3.3.4")
6864 (source (origin
6865 (method url-fetch)
6866 (uri (string-append "https://hackage.haskell.org/package/"
6867 "JuicyPixels/JuicyPixels-"
6868 version ".tar.gz"))
6869 (sha256
6870 (base32
6871 "0qacrnz2qcykj3f6c4k2p8qd31pa2slpv3ykfblgizrfh3401q6x"))))
6872 (build-system haskell-build-system)
6873 (outputs '("out" "static" "doc"))
6874 (inputs
6875 `(("ghc-zlib" ,ghc-zlib)
6876 ("ghc-vector" ,ghc-vector)
6877 ("ghc-primitive" ,ghc-primitive)
6878 ("ghc-mmap" ,ghc-mmap)))
6879 (home-page "https://github.com/Twinside/Juicy.Pixels")
6880 (synopsis "Picture loading and serialization library")
6881 (description
6882 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
6883 TIFF and GIF formats.")
6884 (license license:bsd-3)))
6885
6886 (define-public ghc-kan-extensions
6887 (package
6888 (name "ghc-kan-extensions")
6889 (version "5.2")
6890 (source
6891 (origin
6892 (method url-fetch)
6893 (uri (string-append
6894 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
6895 version
6896 ".tar.gz"))
6897 (sha256
6898 (base32
6899 "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb"))))
6900 (build-system haskell-build-system)
6901 (inputs
6902 `(("ghc-adjunctions" ,ghc-adjunctions)
6903 ("ghc-comonad" ,ghc-comonad)
6904 ("ghc-contravariant" ,ghc-contravariant)
6905 ("ghc-distributive" ,ghc-distributive)
6906 ("ghc-free" ,ghc-free)
6907 ("ghc-invariant" ,ghc-invariant)
6908 ("ghc-semigroupoids" ,ghc-semigroupoids)
6909 ("ghc-tagged" ,ghc-tagged)
6910 ("ghc-transformers-compat" ,ghc-transformers-compat)))
6911 (home-page "https://github.com/ekmett/kan-extensions/")
6912 (synopsis "Kan extensions library")
6913 (description "This library provides Kan extensions, Kan lifts, various
6914 forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
6915 (license license:bsd-3)))
6916
6917 (define-public ghc-language-c
6918 (package
6919 (name "ghc-language-c")
6920 (version "0.8.3")
6921 (source
6922 (origin
6923 (method url-fetch)
6924 (uri (string-append "https://hackage.haskell.org/package/"
6925 "language-c/language-c-" version ".tar.gz"))
6926 (sha256
6927 (base32
6928 "0bi02jdirkys8v7flf39vrpla2a74z1z0sdhy9lb9v7cmcc6rmpk"))))
6929 (build-system haskell-build-system)
6930 (inputs `(("ghc-syb" ,ghc-syb)))
6931 (native-inputs
6932 `(("ghc-happy" ,ghc-happy)
6933 ("ghc-alex" ,ghc-alex)))
6934 (home-page "https://visq.github.io/language-c/")
6935 (synopsis "Analysis and generation of C code")
6936 (description
6937 "Language C is a Haskell library for the analysis and generation of C code.
6938 It features a complete, well-tested parser and pretty printer for all of C99
6939 and a large set of GNU extensions.")
6940 (license license:bsd-3)))
6941
6942 (define-public ghc-language-glsl
6943 (package
6944 (name "ghc-language-glsl")
6945 (version "0.3.0")
6946 (source
6947 (origin
6948 (method url-fetch)
6949 (uri (string-append "https://hackage.haskell.org/package/"
6950 "language-glsl/language-glsl-" version ".tar.gz"))
6951 (sha256
6952 (base32
6953 "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1"))))
6954 (build-system haskell-build-system)
6955 (inputs `(("ghc-prettyclass" ,ghc-prettyclass)))
6956 (arguments
6957 `(#:tests? #f
6958 #:cabal-revision
6959 ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5")))
6960 (home-page "https://hackage.haskell.org/package/language-glsl")
6961 (synopsis "GLSL abstract syntax tree, parser, and pretty-printer")
6962 (description "This package is a Haskell library for the
6963 representation, parsing, and pretty-printing of GLSL 1.50 code.")
6964 (license license:bsd-3)))
6965
6966 (define-public ghc-language-haskell-extract
6967 (package
6968 (name "ghc-language-haskell-extract")
6969 (version "0.2.4")
6970 (source
6971 (origin
6972 (method url-fetch)
6973 (uri (string-append "https://hackage.haskell.org/package/"
6974 "language-haskell-extract-" version "/"
6975 "language-haskell-extract-" version ".tar.gz"))
6976 (sha256
6977 (base32
6978 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
6979 (build-system haskell-build-system)
6980 (inputs
6981 `(("ghc-regex-posix" ,ghc-regex-posix)))
6982 (home-page "https://github.com/finnsson/template-helper")
6983 (synopsis "Haskell module to automatically extract functions from
6984 the local code")
6985 (description "This package contains helper functions on top of
6986 Template Haskell.
6987
6988 For example, @code{functionExtractor} extracts all functions after a
6989 regexp-pattern, which can be useful if you wish to extract all functions
6990 beginning with @code{test} (for a test framework) or all functions beginning
6991 with @code{wc} (for a web service).")
6992 (license license:bsd-3)))
6993
6994 (define-public ghc-lens
6995 (package
6996 (name "ghc-lens")
6997 (version "4.17.1")
6998 (source
6999 (origin
7000 (method url-fetch)
7001 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
7002 version ".tar.gz"))
7003 (sha256
7004 (base32
7005 "1gpkc53l2cggnfrgg5k4ih82rycjbdvpj9pnbi5cq8ms0dbvs4a7"))))
7006 (build-system haskell-build-system)
7007 (outputs '("out" "static" "doc"))
7008 (inputs
7009 `(("ghc-base-orphans" ,ghc-base-orphans)
7010 ("ghc-bifunctors" ,ghc-bifunctors)
7011 ("ghc-distributive" ,ghc-distributive)
7012 ("ghc-exceptions" ,ghc-exceptions)
7013 ("ghc-free" ,ghc-free)
7014 ("ghc-kan-extensions" ,ghc-kan-extensions)
7015 ("ghc-parallel" ,ghc-parallel)
7016 ("ghc-reflection" ,ghc-reflection)
7017 ("ghc-semigroupoids" ,ghc-semigroupoids)
7018 ("ghc-vector" ,ghc-vector)
7019 ("ghc-call-stack" ,ghc-call-stack)
7020 ("ghc-comonad" ,ghc-comonad)
7021 ("ghc-contravariant" ,ghc-contravariant)
7022 ("ghc-hashable" ,ghc-hashable)
7023 ("ghc-profunctors" ,ghc-profunctors)
7024 ("ghc-semigroups" ,ghc-semigroups)
7025 ("ghc-tagged" ,ghc-tagged)
7026 ("ghc-transformers-compat" ,ghc-transformers-compat)
7027 ("ghc-unordered-containers" ,ghc-unordered-containers)
7028 ("ghc-void" ,ghc-void)
7029 ("ghc-generic-deriving" ,ghc-generic-deriving)
7030 ("ghc-nats" ,ghc-nats)
7031 ("ghc-simple-reflect" ,ghc-simple-reflect)
7032 ("hlint" ,hlint)))
7033 (native-inputs
7034 `(("cabal-doctest" ,cabal-doctest)
7035 ("ghc-doctest" ,ghc-doctest)
7036 ("ghc-hunit" ,ghc-hunit)
7037 ("ghc-test-framework" ,ghc-test-framework)
7038 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7039 ("ghc-test-framework-th" ,ghc-test-framework-th)
7040 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7041 ("ghc-quickcheck" ,ghc-quickcheck)))
7042 (home-page "https://github.com/ekmett/lens/")
7043 (synopsis "Lenses, Folds and Traversals")
7044 (description "This library provides @code{Control.Lens}. The combinators
7045 in @code{Control.Lens} provide a highly generic toolbox for composing families
7046 of getters, folds, isomorphisms, traversals, setters and lenses and their
7047 indexed variants.")
7048 (license license:bsd-3)))
7049
7050 (define-public ghc-lens-family-core
7051 (package
7052 (name "ghc-lens-family-core")
7053 (version "1.2.3")
7054 (source
7055 (origin
7056 (method url-fetch)
7057 (uri (string-append
7058 "mirror://hackage/package/lens-family-core/lens-family-core-"
7059 version
7060 ".tar.gz"))
7061 (sha256
7062 (base32
7063 "009rf10pj1cb50v44cc1pq7qvfrmkkk9dikahs9qmvbvgl3mykwi"))))
7064 (build-system haskell-build-system)
7065 (home-page
7066 "http://hackage.haskell.org/package/lens-family-core")
7067 (synopsis "Haskell 98 Lens Families")
7068 (description
7069 "This package provides first class functional references. In addition to
7070 the usual operations of getting, setting and composition, plus integration
7071 with the state monad, lens families provide some unique features:
7072
7073 @itemize
7074 @item Polymorphic updating
7075 @item Traversals
7076 @item Cast projection functions to read-only lenses
7077 @item Cast @code{toList} functions to read-only traversals
7078 @item Cast semantic editor combinators to modify-only traversals
7079 @end itemize
7080
7081 For optimal first-class support use the lens-family package with rank 2/rank N
7082 polymorphism. @code{Lens.Family.Clone} allows for first-class support of
7083 lenses and traversals for those who require Haskell 98.")
7084 (license license:bsd-3)))
7085
7086 (define-public ghc-libffi
7087 (package
7088 (name "ghc-libffi")
7089 (version "0.1")
7090 (source
7091 (origin
7092 (method url-fetch)
7093 (uri (string-append "https://hackage.haskell.org/package/"
7094 "libffi/libffi-" version ".tar.gz"))
7095 (sha256
7096 (base32
7097 "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28"))))
7098 (build-system haskell-build-system)
7099 (native-inputs `(("pkg-config" ,pkg-config)))
7100 (inputs `(("libffi" ,libffi)))
7101 (home-page "https://hackage.haskell.org/package/libffi")
7102 (synopsis "Haskell binding to libffi")
7103 (description
7104 "A binding to libffi, allowing C functions of types only known at runtime
7105 to be called from Haskell.")
7106 (license license:bsd-3)))
7107
7108 (define-public ghc-libmpd
7109 (package
7110 (name "ghc-libmpd")
7111 (version "0.9.0.10")
7112 (source
7113 (origin
7114 (method url-fetch)
7115 (uri (string-append
7116 "mirror://hackage/package/libmpd/libmpd-"
7117 version
7118 ".tar.gz"))
7119 (sha256
7120 (base32
7121 "0vy287mn1vk8kvij5i3hc0p02l886cpsq5dds7kl6g520si3abkb"))))
7122 (build-system haskell-build-system)
7123 ;; Tests fail on i686.
7124 ;; See https://github.com/vimus/libmpd-haskell/issues/112
7125 (arguments `(#:tests? #f))
7126 (inputs
7127 `(("ghc-attoparsec" ,ghc-attoparsec)
7128 ("ghc-old-locale" ,ghc-old-locale)
7129 ("ghc-data-default-class" ,ghc-data-default-class)
7130 ("ghc-network" ,ghc-network)
7131 ("ghc-safe-exceptions" ,ghc-safe-exceptions)
7132 ("ghc-utf8-string" ,ghc-utf8-string)))
7133 (native-inputs
7134 `(("ghc-quickcheck" ,ghc-quickcheck)
7135 ("ghc-hspec" ,ghc-hspec)
7136 ("hspec-discover" ,hspec-discover)))
7137 (home-page "https://github.com/vimus/libmpd-haskell")
7138 (synopsis "Haskell client library for the Music Player Daemon")
7139 (description "This package provides a pure Haskell client library for the
7140 Music Player Daemon.")
7141 (license license:expat)))
7142
7143 (define-public ghc-lib-parser
7144 (package
7145 (name "ghc-lib-parser")
7146 (version "8.8.0.20190424")
7147 (source
7148 (origin
7149 (method url-fetch)
7150 (uri (string-append "https://hackage.haskell.org/package/"
7151 "ghc-lib-parser/ghc-lib-parser-" version ".tar.gz"))
7152 (sha256
7153 (base32
7154 "12gsh994pr13bsybwlravmi21la66dyw74pk74yfw2pnz682wv10"))))
7155 (build-system haskell-build-system)
7156 (outputs '("out" "static" "doc")) ; documentation is 39M
7157 (native-inputs
7158 `(("ghc-alex" ,ghc-alex)
7159 ("ghc-happy" ,ghc-happy)))
7160 (home-page "https://github.com/digital-asset/ghc-lib")
7161 (synopsis "The GHC API, decoupled from GHC versions")
7162 (description "This library implements the GHC API. It is like the
7163 compiler-provided @code{ghc} package, but it can be loaded on many
7164 compiler versions.")
7165 (license license:bsd-3)))
7166
7167 (define-public ghc-libxml
7168 (package
7169 (name "ghc-libxml")
7170 (version "0.1.1")
7171 (source
7172 (origin
7173 (method url-fetch)
7174 (uri (string-append "https://hackage.haskell.org/package/libxml/"
7175 "libxml-" version ".tar.gz"))
7176 (sha256
7177 (base32
7178 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
7179 (build-system haskell-build-system)
7180 (inputs
7181 `(("libxml2" ,libxml2)))
7182 (arguments
7183 `(#:configure-flags
7184 `(,(string-append "--extra-include-dirs="
7185 (assoc-ref %build-inputs "libxml2")
7186 "/include/libxml2"))))
7187 (home-page "https://hackage.haskell.org/package/libxml")
7188 (synopsis "Haskell bindings to libxml2")
7189 (description
7190 "This library provides minimal Haskell binding to libxml2.")
7191 (license license:bsd-3)))
7192
7193 (define-public ghc-libyaml
7194 (package
7195 (name "ghc-libyaml")
7196 (version "0.1.1.0")
7197 (source
7198 (origin
7199 (method url-fetch)
7200 (uri (string-append "https://hackage.haskell.org/package/"
7201 "libyaml/libyaml-" version ".tar.gz"))
7202 (sha256
7203 (base32
7204 "0psznm9c3yjsyj9aj8m2svvv9m2v0x90hnwarcx5sbswyi3l00va"))
7205 (modules '((guix build utils)))
7206 (snippet
7207 ;; Delete bundled LibYAML.
7208 '(begin
7209 (delete-file-recursively "libyaml_src")
7210 #t))))
7211 (build-system haskell-build-system)
7212 (arguments
7213 `(#:configure-flags `("--flags=system-libyaml")
7214 #:extra-directories ("libyaml+static")))
7215 (inputs
7216 `(("ghc-conduit" ,ghc-conduit)
7217 ("ghc-resourcet" ,ghc-resourcet)
7218 ("libyaml+static" ,libyaml+static)))
7219 (home-page "https://github.com/snoyberg/yaml#readme")
7220 (synopsis "Low-level, streaming YAML interface.")
7221 (description "This package provides a Haskell wrapper over the
7222 LibYAML C library.")
7223 (license license:bsd-3)))
7224
7225 (define-public ghc-lifted-async
7226 (package
7227 (name "ghc-lifted-async")
7228 (version "0.10.0.4")
7229 (source
7230 (origin
7231 (method url-fetch)
7232 (uri (string-append
7233 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7234 version ".tar.gz"))
7235 (sha256
7236 (base32
7237 "0cwl1d0wjpdk0v1l1qxiqiksmak950c8gx169c1q77cg0z18ijf9"))))
7238 (build-system haskell-build-system)
7239 (inputs
7240 `(("ghc-async" ,ghc-async)
7241 ("ghc-lifted-base" ,ghc-lifted-base)
7242 ("ghc-transformers-base" ,ghc-transformers-base)
7243 ("ghc-monad-control" ,ghc-monad-control)
7244 ("ghc-constraints" ,ghc-constraints)
7245 ("ghc-hunit" ,ghc-hunit)
7246 ("ghc-tasty" ,ghc-tasty)
7247 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
7248 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7249 ("ghc-tasty-th" ,ghc-tasty-th)))
7250 (home-page "https://github.com/maoe/lifted-async")
7251 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7252 (description
7253 "This package provides IO operations from @code{async} package lifted to any
7254 instance of @code{MonadBase} or @code{MonadBaseControl}.")
7255 (license license:bsd-3)))
7256
7257 (define-public ghc-lifted-base
7258 (package
7259 (name "ghc-lifted-base")
7260 (version "0.2.3.12")
7261 (source
7262 (origin
7263 (method url-fetch)
7264 (uri (string-append
7265 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
7266 version
7267 ".tar.gz"))
7268 (sha256
7269 (base32
7270 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
7271 (build-system haskell-build-system)
7272 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
7273 (inputs
7274 `(("ghc-transformers-base" ,ghc-transformers-base)
7275 ("ghc-monad-control" ,ghc-monad-control)
7276 ("ghc-transformers-compat" ,ghc-transformers-compat)
7277 ("ghc-hunit" ,ghc-hunit)))
7278 (home-page "https://github.com/basvandijk/lifted-base")
7279 (synopsis "Lifted IO operations from the base library")
7280 (description "Lifted-base exports IO operations from the @code{base}
7281 library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
7282 Note that not all modules from @code{base} are converted yet. The package
7283 includes a copy of the @code{monad-peel} test suite written by Anders
7284 Kaseorg.")
7285 (license license:bsd-3)))
7286
7287 (define-public ghc-linear
7288 (package
7289 (name "ghc-linear")
7290 (version "1.20.9")
7291 (source
7292 (origin
7293 (method url-fetch)
7294 (uri (string-append "https://hackage.haskell.org/package/linear/"
7295 "linear-" version ".tar.gz"))
7296 (sha256
7297 (base32
7298 "0h7yqigq593n7wsl7nz6a5f137wznm7y679wsii0ph0zsc4v5af5"))))
7299 (build-system haskell-build-system)
7300 (inputs
7301 `(("ghc-adjunctions" ,ghc-adjunctions)
7302 ("ghc-base-orphans" ,ghc-base-orphans)
7303 ("ghc-bytes" ,ghc-bytes)
7304 ("ghc-cereal" ,ghc-cereal)
7305 ("ghc-distributive" ,ghc-distributive)
7306 ("ghc-hashable" ,ghc-hashable)
7307 ("ghc-lens" ,ghc-lens)
7308 ("ghc-reflection" ,ghc-reflection)
7309 ("ghc-semigroups" ,ghc-semigroups)
7310 ("ghc-semigroupoids" ,ghc-semigroupoids)
7311 ("ghc-tagged" ,ghc-tagged)
7312 ("ghc-transformers-compat" ,ghc-transformers-compat)
7313 ("ghc-unordered-containers" ,ghc-unordered-containers)
7314 ("ghc-vector" ,ghc-vector)
7315 ("ghc-void" ,ghc-void)))
7316 (native-inputs
7317 `(("cabal-doctest" ,cabal-doctest)
7318 ("ghc-doctest" ,ghc-doctest)
7319 ("ghc-simple-reflect" ,ghc-simple-reflect)
7320 ("ghc-test-framework" ,ghc-test-framework)
7321 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7322 ("ghc-hunit" ,ghc-hunit)))
7323 (home-page "https://github.com/ekmett/linear/")
7324 (synopsis "Linear algebra library for Haskell")
7325 (description
7326 "This package provides types and combinators for linear algebra on free
7327 vector spaces.")
7328 (license license:bsd-3)))
7329
7330 (define-public ghc-listlike
7331 (package
7332 (name "ghc-listlike")
7333 (version "4.6.2")
7334 (source
7335 (origin
7336 (method url-fetch)
7337 (uri
7338 (string-append
7339 "https://hackage.haskell.org/package/ListLike/ListLike-"
7340 version ".tar.gz"))
7341 (sha256
7342 (base32
7343 "0m65x8yaq7q50gznln8mga2wrc8cvjx6gw9rim8s7xqcrx6y5zjh"))))
7344 (build-system haskell-build-system)
7345 (inputs
7346 `(("ghc-vector" ,ghc-vector)
7347 ("ghc-dlist" ,ghc-dlist)
7348 ("ghc-fmlist" ,ghc-fmlist)
7349 ("ghc-hunit" ,ghc-hunit)
7350 ("ghc-quickcheck" ,ghc-quickcheck)
7351 ("ghc-random" ,ghc-random)
7352 ("ghc-utf8-string" ,ghc-utf8-string)))
7353 (home-page "https://github.com/JohnLato/listlike")
7354 (synopsis "Generic support for list-like structures")
7355 (description "The ListLike module provides a common interface to the
7356 various Haskell types that are list-like. Predefined interfaces include
7357 standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings.
7358 Custom types can easily be made ListLike instances as well.
7359
7360 ListLike also provides for String-like types, such as String and
7361 ByteString, for types that support input and output, and for types that
7362 can handle infinite lists.")
7363 (license license:bsd-3)))
7364
7365 (define-public ghc-llvm-hs-pure
7366 (package
7367 (name "ghc-llvm-hs-pure")
7368 (version "9.0.0")
7369 (source
7370 (origin
7371 (method url-fetch)
7372 (uri (string-append "https://hackage.haskell.org/package/llvm-hs-pure/"
7373 "llvm-hs-pure-" version ".tar.gz"))
7374 (sha256
7375 (base32
7376 "0pxb5ah8r5pzpz2ibqw3g9g1isigb4z7pbzfrwr8kmcjn74ab3kf"))))
7377 (build-system haskell-build-system)
7378 (inputs
7379 `(("ghc-attoparsec" ,ghc-attoparsec)
7380 ("ghc-fail" ,ghc-fail)
7381 ("ghc-unordered-containers" ,ghc-unordered-containers)))
7382 (native-inputs
7383 `(("ghc-tasty" ,ghc-tasty)
7384 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7385 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7386 (home-page "https://github.com/llvm-hs/llvm-hs/")
7387 (synopsis "Pure Haskell LLVM functionality (no FFI)")
7388 (description "llvm-hs-pure is a set of pure Haskell types and functions
7389 for interacting with LLVM. It includes an algebraic datatype (ADT) to represent
7390 LLVM IR. The llvm-hs package builds on this one with FFI bindings to LLVM, but
7391 llvm-hs-pure does not require LLVM to be available.")
7392 (license license:bsd-3)))
7393
7394 (define-public ghc-llvm-hs
7395 (package
7396 (name "ghc-llvm-hs")
7397 (version "9.0.1")
7398 (source
7399 (origin
7400 (method url-fetch)
7401 (uri (string-append "https://hackage.haskell.org/package/llvm-hs/llvm-hs-"
7402 version ".tar.gz"))
7403 (sha256
7404 (base32
7405 "0723xgh45h9cyxmmjsvxnsp8bpn1ljy4qgh7a7vqq3sj9d6wzq00"))))
7406 (build-system haskell-build-system)
7407 (inputs
7408 `(("ghc-attoparsec" ,ghc-attoparsec)
7409 ("ghc-exceptions" ,ghc-exceptions)
7410 ("ghc-utf8-string" ,ghc-utf8-string)
7411 ("ghc-llvm-hs-pure" ,ghc-llvm-hs-pure)
7412 ("llvm" ,llvm-9)))
7413 (native-inputs
7414 `(("ghc-tasty" ,ghc-tasty)
7415 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7416 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7417 ("ghc-quickcheck" ,ghc-quickcheck)
7418 ("ghc-temporary" ,ghc-temporary)
7419 ("ghc-pretty-show" ,ghc-pretty-show)
7420 ("ghc-temporary" ,ghc-temporary)))
7421 (home-page "https://github.com/llvm-hs/llvm-hs/")
7422 (synopsis "General purpose LLVM bindings for Haskell")
7423 (description "llvm-hs is a set of Haskell bindings for LLVM. Unlike other
7424 current Haskell bindings, it uses an algebraic datatype (ADT) to represent LLVM
7425 IR, and so offers two advantages: it handles almost all of the stateful
7426 complexities of using the LLVM API to build IR; and it supports moving IR not
7427 only from Haskell into LLVM C++ objects, but the other direction - from LLVM C++
7428 into Haskell.")
7429 (license license:bsd-3)))
7430
7431 (define-public ghc-logging-facade
7432 (package
7433 (name "ghc-logging-facade")
7434 (version "0.3.0")
7435 (source (origin
7436 (method url-fetch)
7437 (uri (string-append "https://hackage.haskell.org/package/"
7438 "logging-facade/logging-facade-"
7439 version ".tar.gz"))
7440 (sha256
7441 (base32
7442 "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf"))))
7443 (build-system haskell-build-system)
7444 (native-inputs
7445 `(("ghc-hspec" ,ghc-hspec)
7446 ("hspec-discover" ,hspec-discover)))
7447 (home-page "https://hackage.haskell.org/package/logging-facade")
7448 (synopsis "Simple logging abstraction that allows multiple back-ends")
7449 (description
7450 "This package provides a simple logging abstraction that allows multiple
7451 back-ends.")
7452 (license license:expat)))
7453
7454 (define-public ghc-logict
7455 (package
7456 (name "ghc-logict")
7457 (version "0.7.0.2")
7458 (source
7459 (origin
7460 (method url-fetch)
7461 (uri (string-append
7462 "https://hackage.haskell.org/package/logict/logict-"
7463 version
7464 ".tar.gz"))
7465 (sha256
7466 (base32
7467 "1xfgdsxg0lp8m0a2cb83rcxrnnc37asfikay2kydi933anh9ihfc"))))
7468 (build-system haskell-build-system)
7469 (native-inputs
7470 `(("ghc-tasty" ,ghc-tasty)
7471 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7472 (home-page "http://code.haskell.org/~dolio/")
7473 (synopsis "Backtracking logic-programming monad")
7474 (description "This library provides a continuation-based, backtracking,
7475 logic programming monad. An adaptation of the two-continuation implementation
7476 found in the paper \"Backtracking, Interleaving, and Terminating Monad
7477 Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
7478 online}.")
7479 (license license:bsd-3)))
7480
7481 (define-public ghc-lucid
7482 (package
7483 (name "ghc-lucid")
7484 (version "2.9.12")
7485 (source
7486 (origin
7487 (method url-fetch)
7488 (uri (string-append
7489 "https://hackage.haskell.org/package/lucid/lucid-"
7490 version
7491 ".tar.gz"))
7492 (sha256
7493 (base32
7494 "156wniydd1hlb7rygbm95zln8ky8lai8rn2apkkv0rax9cdw6jrh"))))
7495 (build-system haskell-build-system)
7496 (inputs
7497 `(("ghc-blaze-builder" ,ghc-blaze-builder)
7498 ("ghc-hashable" ,ghc-hashable)
7499 ("ghc-mmorph" ,ghc-mmorph)
7500 ("ghc-unordered-containers" ,ghc-unordered-containers)))
7501 (native-inputs
7502 `(("ghc-hunit" ,ghc-hunit)
7503 ("ghc-hspec" ,ghc-hspec)
7504 ("ghc-bifunctors" ,ghc-bifunctors)))
7505 (arguments
7506 `(#:cabal-revision
7507 ("1"
7508 "1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9")))
7509 (home-page "https://github.com/chrisdone/lucid")
7510 (synopsis "Haskell DSL for rendering HTML")
7511 (description "Clear to write, read and edit Haskell DSL for HTML.
7512
7513 @itemize @bullet
7514 @item
7515 Names are consistent, and do not conflict with base or are keywords
7516 (all have suffix @code{-}).
7517 @item
7518 Same combinator can be used for attributes and elements
7519 (e.g. @code{style_}).
7520 @end itemize")
7521 (license license:bsd-3)))
7522
7523 (define-public ghc-lzma
7524 (package
7525 (name "ghc-lzma")
7526 (version "0.0.0.3")
7527 (source
7528 (origin
7529 (method url-fetch)
7530 (uri (string-append "https://hackage.haskell.org/package/lzma/"
7531 "lzma-" version ".tar.gz"))
7532 (sha256
7533 (base32
7534 "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg"))))
7535 (build-system haskell-build-system)
7536 (arguments
7537 '(#:tests? #f ; requires older versions of QuickCheck and tasty.
7538 #:cabal-revision
7539 ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m")))
7540 (native-inputs
7541 `(("ghc-hunit" ,ghc-hunit)
7542 ("ghc-quickcheck" ,ghc-quickcheck)
7543 ("ghc-tasty" ,ghc-tasty)
7544 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7545 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7546 (home-page "https://github.com/hvr/lzma")
7547 (synopsis "LZMA/XZ compression and decompression")
7548 (description
7549 "This package provides a pure interface for compressing and
7550 decompressing LZMA streams of data represented as lazy @code{ByteString}s. A
7551 monadic incremental interface is provided as well.")
7552 (license license:bsd-3)))
7553
7554 (define-public ghc-lzma-conduit
7555 (package
7556 (name "ghc-lzma-conduit")
7557 (version "1.2.1")
7558 (source
7559 (origin
7560 (method url-fetch)
7561 (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/"
7562 "lzma-conduit-" version ".tar.gz"))
7563 (sha256
7564 (base32
7565 "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9"))))
7566 (build-system haskell-build-system)
7567 (inputs
7568 `(("ghc-conduit" ,ghc-conduit)
7569 ("ghc-lzma" ,ghc-lzma)
7570 ("ghc-resourcet" ,ghc-resourcet)))
7571 (native-inputs
7572 `(("ghc-base-compat" ,ghc-base-compat)
7573 ("ghc-test-framework" ,ghc-test-framework)
7574 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7575 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7576 ("ghc-hunit" ,ghc-hunit)
7577 ("ghc-quickcheck" ,ghc-quickcheck)))
7578 (home-page "https://github.com/alphaHeavy/lzma-conduit")
7579 (synopsis "Conduit interface for lzma/xz compression")
7580 (description
7581 "This package provides a @code{Conduit} interface for the LZMA
7582 compression algorithm used in the @code{.xz} file format.")
7583 (license license:bsd-3)))
7584
7585 (define-public ghc-magic
7586 (package
7587 (name "ghc-magic")
7588 (version "1.1")
7589 (source
7590 (origin
7591 (method url-fetch)
7592 (uri (string-append
7593 "https://hackage.haskell.org/package/magic/magic-"
7594 version ".tar.gz"))
7595 (sha256
7596 (base32
7597 "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j"))))
7598 (build-system haskell-build-system)
7599 (home-page "https://hackage.haskell.org/package/magic")
7600 (synopsis "Interface to C file/magic library")
7601 (description
7602 "This package provides a full-featured binding to the C libmagic library.
7603 With it, you can determine the type of a file by examining its contents rather
7604 than its name.")
7605 (license license:bsd-3)))
7606
7607 (define-public ghc-managed
7608 (package
7609 (name "ghc-managed")
7610 (version "1.0.6")
7611 (source
7612 (origin
7613 (method url-fetch)
7614 (uri (string-append
7615 "mirror://hackage/package/managed/managed-"
7616 version
7617 ".tar.gz"))
7618 (sha256
7619 (base32
7620 "1kbrw99yh5x5blykmx2n88mplbbi4ss1ij5j17b7asw6q0ihm9zi"))))
7621 (build-system haskell-build-system)
7622 (home-page "http://hackage.haskell.org/package/managed")
7623 (synopsis "Monad for managed values")
7624 (description
7625 "In Haskell you very often acquire values using the with... idiom using
7626 functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a
7627 special case of the ContT monad (from transformers) or the Codensity
7628 monad (from kan-extensions). The main purpose behind this package is to
7629 provide a restricted form of these monads specialized to this unusually common
7630 case.
7631
7632 The reason this package defines a specialized version of these types
7633 is to:
7634
7635 @itemize
7636 @item be more beginner-friendly,
7637 @item simplify inferred types and error messages, and:
7638 @item provide some additional type class instances that would otherwise be
7639 orphan instances
7640 @end itemize")
7641 (license license:bsd-3)))
7642
7643 (define-public ghc-markdown-unlit
7644 (package
7645 (name "ghc-markdown-unlit")
7646 (version "0.5.0")
7647 (source (origin
7648 (method url-fetch)
7649 (uri (string-append
7650 "mirror://hackage/package/markdown-unlit/"
7651 "markdown-unlit-" version ".tar.gz"))
7652 (sha256
7653 (base32
7654 "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7"))))
7655 (build-system haskell-build-system)
7656 (inputs
7657 `(("ghc-base-compat" ,ghc-base-compat)
7658 ("ghc-hspec" ,ghc-hspec)
7659 ("ghc-quickcheck" ,ghc-quickcheck)
7660 ("ghc-silently" ,ghc-silently)
7661 ("ghc-stringbuilder" ,ghc-stringbuilder)
7662 ("ghc-temporary" ,ghc-temporary)
7663 ("hspec-discover" ,hspec-discover)))
7664 (home-page "https://github.com/sol/markdown-unlit#readme")
7665 (synopsis "Literate Haskell support for Markdown")
7666 (description "This package allows you to have a README.md that at the
7667 same time is a literate Haskell program.")
7668 (license license:expat)))
7669
7670 (define-public ghc-math-functions
7671 (package
7672 (name "ghc-math-functions")
7673 (version "0.3.3.0")
7674 (source
7675 (origin
7676 (method url-fetch)
7677 (uri (string-append "https://hackage.haskell.org/package/"
7678 "math-functions-" version "/"
7679 "math-functions-" version ".tar.gz"))
7680 (sha256
7681 (base32
7682 "1s5nbs40sc3r4z08n0j8bw40cy0zkp03fjjn3p27zkd4fvm9kib3"))))
7683 (build-system haskell-build-system)
7684 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
7685 (inputs
7686 `(("ghc-data-default-class" ,ghc-data-default-class)
7687 ("ghc-vector" ,ghc-vector)
7688 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
7689 (native-inputs
7690 `(("ghc-hunit" ,ghc-hunit)
7691 ("ghc-quickcheck" ,ghc-quickcheck)
7692 ("ghc-erf" ,ghc-erf)
7693 ("ghc-test-framework" ,ghc-test-framework)
7694 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7695 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7696 (home-page "https://github.com/bos/math-functions")
7697 (synopsis "Special functions and Chebyshev polynomials for Haskell")
7698 (description "This Haskell library provides implementations of
7699 special mathematical functions and Chebyshev polynomials. These
7700 functions are often useful in statistical and numerical computing.")
7701 (license license:bsd-3)))
7702
7703 (define-public ghc-megaparsec
7704 (package
7705 (name "ghc-megaparsec")
7706 (version "7.0.5")
7707 (source
7708 (origin
7709 (method url-fetch)
7710 (uri (string-append "https://hackage.haskell.org/package/"
7711 "megaparsec/megaparsec-"
7712 version ".tar.gz"))
7713 (sha256
7714 (base32
7715 "0bqx1icbmk8s7wmbcdzsgnlh607c7kzg8l80cp02dxr5valjxp7j"))))
7716 (build-system haskell-build-system)
7717 (inputs
7718 `(("ghc-case-insensitive" ,ghc-case-insensitive)
7719 ("ghc-parser-combinators" ,ghc-parser-combinators)
7720 ("ghc-scientific" ,ghc-scientific)))
7721 (native-inputs
7722 `(("ghc-quickcheck" ,ghc-quickcheck)
7723 ("ghc-hspec" ,ghc-hspec)
7724 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
7725 ("hspec-discover" ,hspec-discover)))
7726 (home-page "https://github.com/mrkkrp/megaparsec")
7727 (synopsis "Monadic parser combinators")
7728 (description
7729 "This is an industrial-strength monadic parser combinator library.
7730 Megaparsec is a feature-rich package that strikes a nice balance between
7731 speed, flexibility, and quality of parse errors.")
7732 (license license:bsd-2)))
7733
7734 (define-public ghc-memory
7735 (package
7736 (name "ghc-memory")
7737 (version "0.14.18")
7738 (source (origin
7739 (method url-fetch)
7740 (uri (string-append "https://hackage.haskell.org/package/"
7741 "memory/memory-" version ".tar.gz"))
7742 (sha256
7743 (base32
7744 "01rmq3vagxzjmm96qnfxk4f0516cn12bp5m8inn8h5r918bqsigm"))))
7745 (build-system haskell-build-system)
7746 (inputs
7747 `(("ghc-basement" ,ghc-basement)
7748 ("ghc-foundation" ,ghc-foundation)))
7749 (native-inputs
7750 `(("ghc-tasty" ,ghc-tasty)
7751 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7752 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7753 (home-page "https://github.com/vincenthz/hs-memory")
7754 (synopsis "Memory abstractions for Haskell")
7755 (description
7756 "This package provides memory abstractions, such as chunk of memory,
7757 polymorphic byte array management and manipulation functions. It contains a
7758 polymorphic byte array abstraction and functions similar to strict ByteString,
7759 different type of byte array abstraction, raw memory IO operations (memory
7760 set, memory copy, ..) and more")
7761 (license license:bsd-3)))
7762
7763 (define-public ghc-memotrie
7764 (package
7765 (name "ghc-memotrie")
7766 (version "0.6.9")
7767 (source
7768 (origin
7769 (method url-fetch)
7770 (uri (string-append
7771 "https://hackage.haskell.org/package/MemoTrie/MemoTrie-"
7772 version
7773 ".tar.gz"))
7774 (sha256
7775 (base32
7776 "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x"))))
7777 (build-system haskell-build-system)
7778 (inputs
7779 `(("ghc-newtype-generics" ,ghc-newtype-generics)))
7780 (home-page "https://github.com/conal/MemoTrie")
7781 (synopsis "Trie-based memo functions")
7782 (description "This package provides a functional library for creating
7783 efficient memo functions using tries.")
7784 (license license:bsd-3)))
7785
7786 (define-public ghc-microlens
7787 (package
7788 (name "ghc-microlens")
7789 (version "0.4.10")
7790 (source
7791 (origin
7792 (method url-fetch)
7793 (uri (string-append "https://hackage.haskell.org/package/"
7794 "microlens-" version "/"
7795 "microlens-" version ".tar.gz"))
7796 (sha256
7797 (base32
7798 "1v277yyy4p9q57xr2lfp6qs24agglfczmcabrapxrzci3jfshmcw"))))
7799 (build-system haskell-build-system)
7800 (home-page
7801 "https://github.com/aelve/microlens")
7802 (synopsis "Provides a tiny lens Haskell library with no dependencies")
7803 (description "This Haskell package provides a lens library, just like
7804 @code{ghc-lens}, but smaller. It provides essential lenses and
7805 traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
7806 nice to have (like @code{each}, @code{at}, and @code{ix}), and some
7807 combinators (like @code{failing} and @code{singular}), but everything else is
7808 stripped. As the result, this package has no dependencies.")
7809 (license license:bsd-3)))
7810
7811 (define-public ghc-microlens-aeson
7812 (package
7813 (name "ghc-microlens-aeson")
7814 (version "2.3.0.4")
7815 (source
7816 (origin
7817 (method url-fetch)
7818 (uri (string-append "https://hackage.haskell.org/package/"
7819 "microlens-aeson/microlens-aeson-"
7820 version ".tar.gz"))
7821 (patches (search-patches "ghc-microlens-aeson-fix-tests.patch"))
7822 (sha256
7823 (base32
7824 "0w630kk5bnily1qh41081gqgbwmslrh5ad21899gwnb2r3jripyw"))))
7825 (build-system haskell-build-system)
7826 (inputs
7827 `(("ghc-aeson" ,ghc-aeson)
7828 ("ghc-attoparsec" ,ghc-attoparsec)
7829 ("ghc-hashable" ,ghc-hashable)
7830 ("ghc-microlens" ,ghc-microlens)
7831 ("ghc-scientific" ,ghc-scientific)
7832 ("ghc-unordered-containers" ,ghc-unordered-containers)
7833 ("ghc-vector" ,ghc-vector)))
7834 (native-inputs
7835 `(("ghc-tasty" ,ghc-tasty)
7836 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7837 (home-page "https://github.com/fosskers/microlens-aeson")
7838 (synopsis "Law-abiding lenses for Aeson, using microlens")
7839 (description "This library provides law-abiding lenses for Aeson, using
7840 microlens.")
7841 (license license:expat)))
7842
7843 (define-public ghc-microlens-ghc
7844 (package
7845 (name "ghc-microlens-ghc")
7846 (version "0.4.10")
7847 (source
7848 (origin
7849 (method url-fetch)
7850 (uri (string-append
7851 "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-"
7852 version
7853 ".tar.gz"))
7854 (sha256
7855 (base32
7856 "102dbrdsdadxbbhvx8avv1wbk84767a7lkb8ckp3zxk9g7qlly33"))))
7857 (build-system haskell-build-system)
7858 (inputs `(("ghc-microlens" ,ghc-microlens)))
7859 (home-page "https://github.com/monadfix/microlens")
7860 (synopsis "Use @code{microlens} with GHC libraries like @code{array}")
7861 (description "This library provides everything that @code{microlens}
7862 provides plus instances to make @code{each}, @code{at}, and @code{ix}
7863 usable with arrays, @code{ByteString}, and containers. This package is
7864 a part of the @uref{http://hackage.haskell.org/package/microlens,
7865 microlens} family; see the readme
7866 @uref{https://github.com/aelve/microlens#readme, on Github}.")
7867 (license license:bsd-3)))
7868
7869 (define-public ghc-microlens-mtl
7870 (package
7871 (name "ghc-microlens-mtl")
7872 (version "0.1.11.1")
7873 (source
7874 (origin
7875 (method url-fetch)
7876 (uri (string-append
7877 "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-"
7878 version
7879 ".tar.gz"))
7880 (sha256
7881 (base32
7882 "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk"))))
7883 (build-system haskell-build-system)
7884 (inputs
7885 `(("ghc-microlens" ,ghc-microlens)
7886 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7887 (home-page "https://github.com/monadfix/microlens")
7888 (synopsis
7889 "@code{microlens} support for Reader/Writer/State from mtl")
7890 (description
7891 "This package contains functions (like @code{view} or @code{+=}) which
7892 work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the
7893 mtl package. This package is a part of the
7894 @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7895 readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7896 (license license:bsd-3)))
7897
7898 (define-public ghc-microlens-platform
7899 (package
7900 (name "ghc-microlens-platform")
7901 (version "0.3.11")
7902 (source
7903 (origin
7904 (method url-fetch)
7905 (uri (string-append
7906 "https://hackage.haskell.org/package/"
7907 "microlens-platform/microlens-platform-" version ".tar.gz"))
7908 (sha256
7909 (base32
7910 "18950lxgmsg5ksvyyi3zs1smjmb1qf1q73a3p3g44bh21miz0xwb"))))
7911 (build-system haskell-build-system)
7912 (inputs
7913 `(("ghc-hashable" ,ghc-hashable)
7914 ("ghc-microlens" ,ghc-microlens)
7915 ("ghc-microlens-ghc" ,ghc-microlens-ghc)
7916 ("ghc-microlens-mtl" ,ghc-microlens-mtl)
7917 ("ghc-microlens-th" ,ghc-microlens-th)
7918 ("ghc-unordered-containers" ,ghc-unordered-containers)
7919 ("ghc-vector" ,ghc-vector)))
7920 (home-page "https://github.com/monadfix/microlens")
7921 (synopsis "Feature-complete microlens")
7922 (description
7923 "This package exports a module which is the recommended starting point
7924 for using @uref{http://hackage.haskell.org/package/microlens, microlens} if
7925 you aren't trying to keep your dependencies minimal. By importing
7926 @code{Lens.Micro.Platform} you get all functions and instances from
7927 @uref{http://hackage.haskell.org/package/microlens, microlens},
7928 @uref{http://hackage.haskell.org/package/microlens-th, microlens-th},
7929 @uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl},
7930 @uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as
7931 well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The
7932 minor and major versions of @code{microlens-platform} are incremented whenever
7933 the minor and major versions of any other @code{microlens} package are
7934 incremented, so you can depend on the exact version of
7935 @code{microlens-platform} without specifying the version of @code{microlens}
7936 you need. This package is a part of the
7937 @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7938 readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7939 (license license:bsd-3)))
7940
7941 (define-public ghc-microlens-th
7942 (package
7943 (name "ghc-microlens-th")
7944 (version "0.4.2.3")
7945 (source
7946 (origin
7947 (method url-fetch)
7948 (uri (string-append "https://hackage.haskell.org/package/"
7949 "microlens-th-" version "/"
7950 "microlens-th-" version ".tar.gz"))
7951 (sha256
7952 (base32
7953 "13qw0pwcgd6f6i39rwgqwcwk1d4da5x7wv3gna7gdlxaq331h41j"))))
7954 (build-system haskell-build-system)
7955 (arguments
7956 `(#:cabal-revision
7957 ("1" "167in7b1qhgrspx81bdm2jyg9qji66sk7id282c0s99kmp0d01n6")))
7958 (inputs `(("ghc-microlens" ,ghc-microlens)
7959 ("ghc-th-abstraction" ,ghc-th-abstraction)))
7960 (home-page
7961 "https://github.com/aelve/microlens")
7962 (synopsis "Automatic generation of record lenses for
7963 @code{ghc-microlens}")
7964 (description "This Haskell package lets you automatically generate lenses
7965 for data types; code was extracted from the lens package, and therefore
7966 generated lenses are fully compatible with ones generated by lens (and can be
7967 used both from lens and microlens).")
7968 (license license:bsd-3)))
7969
7970 (define-public ghc-missingh
7971 (package
7972 (name "ghc-missingh")
7973 (version "1.4.1.0")
7974 (source
7975 (origin
7976 (method url-fetch)
7977 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
7978 "MissingH-" version ".tar.gz"))
7979 (sha256
7980 (base32
7981 "1jp0vk6w9a7fzrbxfhx773105jp2s1n50klq9ak6spfl7bgx5v29"))))
7982 (build-system haskell-build-system)
7983 ;; Tests require the unmaintained testpack package, which depends on the
7984 ;; outdated QuickCheck version 2.7, which can no longer be built with
7985 ;; recent versions of GHC and Haskell libraries.
7986 (arguments '(#:tests? #f))
7987 (inputs
7988 `(("ghc-network" ,ghc-network)
7989 ("ghc-hunit" ,ghc-hunit)
7990 ("ghc-regex-compat" ,ghc-regex-compat)
7991 ("ghc-hslogger" ,ghc-hslogger)
7992 ("ghc-random" ,ghc-random)
7993 ("ghc-old-time" ,ghc-old-time)
7994 ("ghc-old-locale" ,ghc-old-locale)))
7995 (native-inputs
7996 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
7997 ("ghc-quickcheck" ,ghc-quickcheck)
7998 ("ghc-hunit" ,ghc-hunit)))
7999 ;; ‘Official’ <http://software.complete.org/missingh> redirects to a 404.
8000 (home-page "https://github.com/haskell-hvr/missingh")
8001 (synopsis "Large utility library")
8002 (description
8003 "MissingH is a library of all sorts of utility functions for Haskell
8004 programmers. It is written in pure Haskell and thus should be extremely
8005 portable and easy to use.")
8006 (license license:bsd-3)))
8007
8008 (define-public ghc-mmap
8009 (package
8010 (name "ghc-mmap")
8011 (version "0.5.9")
8012 (source (origin
8013 (method url-fetch)
8014 (uri (string-append "https://hackage.haskell.org/package/"
8015 "mmap/mmap-" version ".tar.gz"))
8016 (sha256
8017 (base32
8018 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
8019 (build-system haskell-build-system)
8020 (home-page "https://hackage.haskell.org/package/mmap")
8021 (synopsis "Memory mapped files for Haskell")
8022 (description
8023 "This library provides a wrapper to @code{mmap}, allowing files or
8024 devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
8025 @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
8026 do on-demand loading.")
8027 (license license:bsd-3)))
8028
8029 (define-public ghc-mmorph
8030 (package
8031 (name "ghc-mmorph")
8032 (version "1.1.3")
8033 (source
8034 (origin
8035 (method url-fetch)
8036 (uri (string-append
8037 "https://hackage.haskell.org/package/mmorph/mmorph-"
8038 version
8039 ".tar.gz"))
8040 (sha256
8041 (base32
8042 "0rfsy9n9mlinpmqi2s17fhc67fzma2ig5fbmh6m5m830canzf8vr"))))
8043 (build-system haskell-build-system)
8044 (inputs
8045 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
8046 (home-page "https://hackage.haskell.org/package/mmorph")
8047 (synopsis "Monad morphisms")
8048 (description
8049 "This library provides monad morphism utilities, most commonly used for
8050 manipulating monad transformer stacks.")
8051 (license license:bsd-3)))
8052
8053 (define-public ghc-mockery
8054 (package
8055 (name "ghc-mockery")
8056 (version "0.3.5")
8057 (source (origin
8058 (method url-fetch)
8059 (uri (string-append "https://hackage.haskell.org/package/"
8060 "mockery/mockery-" version ".tar.gz"))
8061 (sha256
8062 (base32
8063 "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp"))))
8064 (build-system haskell-build-system)
8065 (inputs
8066 `(("ghc-temporary" ,ghc-temporary)
8067 ("ghc-logging-facade" ,ghc-logging-facade)
8068 ("ghc-base-compat" ,ghc-base-compat)))
8069 (native-inputs
8070 `(("ghc-hspec" ,ghc-hspec)
8071 ("hspec-discover" ,hspec-discover)))
8072 (home-page "https://hackage.haskell.org/package/mockery")
8073 (synopsis "Support functions for automated testing")
8074 (description
8075 "The mockery package provides support functions for automated testing.")
8076 (license license:expat)))
8077
8078 (define-public ghc-monad-control
8079 (package
8080 (name "ghc-monad-control")
8081 (version "1.0.2.3")
8082 (source
8083 (origin
8084 (method url-fetch)
8085 (uri (string-append
8086 "https://hackage.haskell.org/package/monad-control"
8087 "/monad-control-" version ".tar.gz"))
8088 (sha256
8089 (base32
8090 "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c"))))
8091 (build-system haskell-build-system)
8092 (inputs
8093 `(("ghc-transformers-base" ,ghc-transformers-base)
8094 ("ghc-transformers-compat" ,ghc-transformers-compat)))
8095 (home-page "https://github.com/basvandijk/monad-control")
8096 (synopsis "Monad transformers to lift control operations like exception
8097 catching")
8098 (description "This package defines the type class @code{MonadBaseControl},
8099 a subset of @code{MonadBase} into which generic control operations such as
8100 @code{catch} can be lifted from @code{IO} or any other base monad.")
8101 (license license:bsd-3)))
8102
8103 (define-public ghc-monad-logger
8104 (package
8105 (name "ghc-monad-logger")
8106 (version "0.3.30")
8107 (source
8108 (origin
8109 (method url-fetch)
8110 (uri (string-append "https://hackage.haskell.org/package/"
8111 "monad-logger-" version "/"
8112 "monad-logger-" version ".tar.gz"))
8113 (sha256
8114 (base32
8115 "102l0v75hbvkmrypiyg4ybb6rbc7nij5nxs1aihmqfdpg04rkkp7"))))
8116 (build-system haskell-build-system)
8117 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
8118 ("ghc-stm-chans" ,ghc-stm-chans)
8119 ("ghc-lifted-base" ,ghc-lifted-base)
8120 ("ghc-resourcet" ,ghc-resourcet)
8121 ("ghc-conduit" ,ghc-conduit)
8122 ("ghc-conduit-extra" ,ghc-conduit-extra)
8123 ("ghc-fast-logger" ,ghc-fast-logger)
8124 ("ghc-transformers-base" ,ghc-transformers-base)
8125 ("ghc-monad-control" ,ghc-monad-control)
8126 ("ghc-monad-loops" ,ghc-monad-loops)
8127 ("ghc-blaze-builder" ,ghc-blaze-builder)
8128 ("ghc-exceptions" ,ghc-exceptions)))
8129 (home-page "https://github.com/kazu-yamamoto/logger")
8130 (synopsis "Provides a class of monads which can log messages for Haskell")
8131 (description "This Haskell package uses a monad transformer approach
8132 for logging.
8133
8134 This package provides Template Haskell functions for determining source
8135 code locations of messages.")
8136 (license license:expat)))
8137
8138 (define-public ghc-monad-loops
8139 (package
8140 (name "ghc-monad-loops")
8141 (version "0.4.3")
8142 (source
8143 (origin
8144 (method url-fetch)
8145 (uri (string-append "https://hackage.haskell.org/package/"
8146 "monad-loops-" version "/"
8147 "monad-loops-" version ".tar.gz"))
8148 (sha256
8149 (base32
8150 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
8151 (build-system haskell-build-system)
8152 (native-inputs `(("ghc-tasty" ,ghc-tasty)
8153 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
8154 (home-page "https://github.com/mokus0/monad-loops")
8155 (synopsis "Monadic loops for Haskell")
8156 (description "This Haskell package provides some useful control
8157 operators for looping.")
8158 (license license:public-domain)))
8159
8160 (define-public ghc-monad-par
8161 (package
8162 (name "ghc-monad-par")
8163 (version "0.3.4.8")
8164 (source
8165 (origin
8166 (method url-fetch)
8167 (uri (string-append "https://hackage.haskell.org/package/"
8168 "monad-par-" version "/"
8169 "monad-par-" version ".tar.gz"))
8170 (patches (search-patches "ghc-monad-par-fix-tests.patch"))
8171 (sha256
8172 (base32
8173 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
8174 (build-system haskell-build-system)
8175 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8176 ("ghc-abstract-deque" ,ghc-abstract-deque)
8177 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
8178 ("ghc-mwc-random" ,ghc-mwc-random)
8179 ("ghc-parallel" ,ghc-parallel)))
8180 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
8181 ("ghc-hunit" ,ghc-hunit)
8182 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8183 ("ghc-test-framework-quickcheck2"
8184 ,ghc-test-framework-quickcheck2)
8185 ("ghc-test-framework" ,ghc-test-framework)
8186 ("ghc-test-framework-th" ,ghc-test-framework-th)))
8187 (home-page "https://github.com/simonmar/monad-par")
8188 (synopsis "Haskell library for parallel programming based on a monad")
8189 (description "The @code{Par} monad offers an API for parallel
8190 programming. The library works for parallelising both pure and @code{IO}
8191 computations, although only the pure version is deterministic. The default
8192 implementation provides a work-stealing scheduler and supports forking tasks
8193 that are much lighter weight than IO-threads.")
8194 (license license:bsd-3)))
8195
8196 (define-public ghc-monad-par-extras
8197 (package
8198 (name "ghc-monad-par-extras")
8199 (version "0.3.3")
8200 (source
8201 (origin
8202 (method url-fetch)
8203 (uri (string-append "https://hackage.haskell.org/package/"
8204 "monad-par-extras-" version "/"
8205 "monad-par-extras-" version ".tar.gz"))
8206 (sha256
8207 (base32
8208 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
8209 (build-system haskell-build-system)
8210 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8211 ("ghc-cereal" ,ghc-cereal)
8212 ("ghc-random" ,ghc-random)))
8213 (home-page "https://github.com/simonmar/monad-par")
8214 (synopsis "Combinators and extra features for Par monads for Haskell")
8215 (description "This Haskell package provides additional data structures,
8216 and other added capabilities layered on top of the @code{Par} monad.")
8217 (license license:bsd-3)))
8218
8219 (define-public ghc-monadrandom
8220 (package
8221 (name "ghc-monadrandom")
8222 (version "0.5.1.1")
8223 (source
8224 (origin
8225 (method url-fetch)
8226 (uri (string-append "https://hackage.haskell.org/package/"
8227 "MonadRandom-" version "/"
8228 "MonadRandom-" version ".tar.gz"))
8229 (sha256
8230 (base32
8231 "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb"))))
8232 (build-system haskell-build-system)
8233 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
8234 ("ghc-primitive" ,ghc-primitive)
8235 ("ghc-fail" ,ghc-fail)
8236 ("ghc-random" ,ghc-random)))
8237 (home-page "https://github.com/byorgey/MonadRandom")
8238 (synopsis "Random-number generation monad for Haskell")
8239 (description "This Haskell package provides support for computations
8240 which consume random values.")
8241 (license license:bsd-3)))
8242
8243 (define-public ghc-monads-tf
8244 (package
8245 (name "ghc-monads-tf")
8246 (version "0.1.0.3")
8247 (source
8248 (origin
8249 (method url-fetch)
8250 (uri (string-append
8251 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
8252 version ".tar.gz"))
8253 (sha256
8254 (base32
8255 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
8256 (build-system haskell-build-system)
8257 (home-page "https://hackage.haskell.org/package/monads-tf")
8258 (synopsis "Monad classes, using type families")
8259 (description
8260 "Monad classes using type families, with instances for various monad transformers,
8261 inspired by the paper 'Functional Programming with Overloading and Higher-Order
8262 Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
8263 the @code{mtl-tf} package.")
8264 (license license:bsd-3)))
8265
8266 (define-public ghc-mono-traversable
8267 (package
8268 (name "ghc-mono-traversable")
8269 (version "1.0.13.0")
8270 (source
8271 (origin
8272 (method url-fetch)
8273 (uri (string-append "https://hackage.haskell.org/package/"
8274 "mono-traversable-" version "/"
8275 "mono-traversable-" version ".tar.gz"))
8276 (sha256
8277 (base32
8278 "1bqy982lpdb83lacfy76n8kqw5bvd31avxj25kg8gkgycdh0g0ma"))))
8279 (build-system haskell-build-system)
8280 (outputs '("out" "static" "doc"))
8281 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
8282 ("ghc-hashable" ,ghc-hashable)
8283 ("ghc-vector" ,ghc-vector)
8284 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
8285 ("ghc-split" ,ghc-split)))
8286 (native-inputs `(("ghc-hspec" ,ghc-hspec)
8287 ("ghc-hunit" ,ghc-hunit)
8288 ("ghc-quickcheck" ,ghc-quickcheck)
8289 ("ghc-semigroups" ,ghc-semigroups)
8290 ("ghc-foldl" ,ghc-foldl)))
8291 (home-page "https://github.com/snoyberg/mono-traversable")
8292 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
8293 containers")
8294 (description "This Haskell package provides Monomorphic variants of the
8295 Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
8296 basic typeclasses, you understand mono-traversable. In addition to what
8297 you are used to, it adds on an IsSequence typeclass and has code for marking
8298 data structures as non-empty.")
8299 (license license:expat)))
8300
8301 (define-public ghc-monoid-extras
8302 (package
8303 (name "ghc-monoid-extras")
8304 (version "0.5.1")
8305 (source
8306 (origin
8307 (method url-fetch)
8308 (uri (string-append "https://hackage.haskell.org/package/"
8309 "monoid-extras/monoid-extras-" version ".tar.gz"))
8310 (sha256
8311 (base32
8312 "0xfrkgqn9d31z54l617m3w3kkd5m9vjb4yl247r3zzql3mpb1f37"))))
8313 (build-system haskell-build-system)
8314 (inputs
8315 `(("ghc-groups" ,ghc-groups)
8316 ("ghc-semigroups" ,ghc-semigroups)
8317 ("ghc-semigroupoids" ,ghc-semigroupoids)))
8318 (arguments
8319 `(#:cabal-revision
8320 ("1" "0b8x5d6vh7mpigvjvcd8f38a1nyzn1vfdqypslw7z9fgsr742913")))
8321 (home-page "https://hackage.haskell.org/package/monoid-extras")
8322 (synopsis "Various extra monoid-related definitions and utilities")
8323 (description "This package provides various extra monoid-related
8324 definitions and utilities, such as monoid actions, monoid coproducts,
8325 semi-direct products, \"deletable\" monoids, \"split\" monoids, and
8326 \"cut\" monoids.")
8327 (license license:bsd-3)))
8328
8329 (define-public ghc-mountpoints
8330 (package
8331 (name "ghc-mountpoints")
8332 (version "1.0.2")
8333 (source
8334 (origin
8335 (method url-fetch)
8336 (uri (string-append
8337 "https://hackage.haskell.org/package/mountpoints/mountpoints-"
8338 version
8339 ".tar.gz"))
8340 (sha256
8341 (base32
8342 "1hnm31pqcffphyc463wf0vbik9fzm5lb2r4wjdc1y4dqzmjdzz37"))))
8343 (build-system haskell-build-system)
8344 (home-page
8345 "http://hackage.haskell.org/package/mountpoints")
8346 (synopsis "Haskell library for listing mount points")
8347 (description "This library provides Haskell bindings for checking
8348 currently mounted filesystems.")
8349 (license license:lgpl2.1+)))
8350
8351 (define-public ghc-mtl-compat
8352 (package
8353 (name "ghc-mtl-compat")
8354 (version "0.2.2")
8355 (source
8356 (origin
8357 (method url-fetch)
8358 (uri (string-append
8359 "mirror://hackage/package/mtl-compat/mtl-compat-"
8360 version
8361 ".tar.gz"))
8362 (sha256
8363 (base32
8364 "17iszr5yb4f17g8mq6i74hsamii8z6m2qfsmgzs78mhiwa7kjm8r"))))
8365 (build-system haskell-build-system)
8366 (home-page
8367 "https://github.com/haskell-compat/mtl-compat")
8368 (synopsis
8369 "Backported Control.Monad.Except module from mtl")
8370 (description
8371 "This package backports the Control.Monad.Except module from mtl (if
8372 using mtl-2.2.0.1 or earlier), which reexports the ExceptT monad transformer
8373 and the MonadError class.
8374
8375 This package should only be used if there is a need to use the
8376 Control.Monad.Except module specifically. If you just want the mtl class
8377 instances for ExceptT, use transformers-compat instead, since mtl-compat does
8378 nothing but reexport the instances from that package.
8379
8380 Note that unlike how mtl-2.2 or later works, the Control.Monad.Except
8381 module defined in this package exports all of ExceptT's monad class instances.
8382 Therefore, you may have to declare @code{import Control.Monad.Except ()} at
8383 the top of your file to get all of the ExceptT instances in scope.")
8384 (license license:bsd-3)))
8385
8386 (define-public ghc-murmur-hash
8387 (package
8388 (name "ghc-murmur-hash")
8389 (version "0.1.0.9")
8390 (source
8391 (origin
8392 (method url-fetch)
8393 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
8394 "/murmur-hash-" version ".tar.gz"))
8395 (sha256
8396 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
8397 (build-system haskell-build-system)
8398 (home-page "https://github.com/nominolo/murmur-hash")
8399 (synopsis "MurmurHash2 implementation for Haskell")
8400 (description
8401 "This package provides an implementation of MurmurHash2, a good, fast,
8402 general-purpose, non-cryptographic hashing function. See
8403 @url{https://sites.google.com/site/murmurhash/} for details. This
8404 implementation is pure Haskell, so it might be a bit slower than a C FFI
8405 binding.")
8406 (license license:bsd-3)))
8407
8408 (define-public ghc-mwc-random
8409 (package
8410 (name "ghc-mwc-random")
8411 (version "0.14.0.0")
8412 (source
8413 (origin
8414 (method url-fetch)
8415 (uri (string-append "https://hackage.haskell.org/package/"
8416 "mwc-random-" version "/"
8417 "mwc-random-" version ".tar.gz"))
8418 (sha256
8419 (base32
8420 "18pg24sw3b79b32cwx8q01q4k0lm34mwr3l6cdkchl8alvd0wdq0"))))
8421 (build-system haskell-build-system)
8422 (inputs
8423 `(("ghc-primitive" ,ghc-primitive)
8424 ("ghc-vector" ,ghc-vector)
8425 ("ghc-math-functions" ,ghc-math-functions)))
8426 (arguments
8427 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8428 (native-inputs
8429 `(("ghc-hunit" ,ghc-hunit)
8430 ("ghc-quickcheck" ,ghc-quickcheck)
8431 ("ghc-test-framework" ,ghc-test-framework)
8432 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8433 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8434 (home-page "https://github.com/bos/mwc-random")
8435 (synopsis "Random number generation library for Haskell")
8436 (description "This Haskell package contains code for generating
8437 high quality random numbers that follow either a uniform or normal
8438 distribution. The generated numbers are suitable for use in
8439 statistical applications.
8440
8441 The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
8442 multiply-with-carry generator, which has a period of 2^{8222} and
8443 fares well in tests of randomness. It is also extremely fast,
8444 between 2 and 3 times faster than the Mersenne Twister.")
8445 (license license:bsd-3)))
8446
8447 (define-public ghc-nats
8448 (package
8449 (name "ghc-nats")
8450 (version "1.1.2")
8451 (source
8452 (origin
8453 (method url-fetch)
8454 (uri (string-append
8455 "https://hackage.haskell.org/package/nats/nats-"
8456 version
8457 ".tar.gz"))
8458 (sha256
8459 (base32
8460 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
8461 (build-system haskell-build-system)
8462 (arguments `(#:haddock? #f))
8463 (inputs
8464 `(("ghc-hashable" ,ghc-hashable)))
8465 (home-page "https://hackage.haskell.org/package/nats")
8466 (synopsis "Natural numbers")
8467 (description "This library provides the natural numbers for Haskell.")
8468 (license license:bsd-3)))
8469
8470 (define-public ghc-nats-bootstrap
8471 (package
8472 (inherit ghc-nats)
8473 (name "ghc-nats-bootstrap")
8474 (inputs
8475 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
8476 (properties '((hidden? #t)))))
8477
8478 (define-public ghc-ncurses
8479 (package
8480 (name "ghc-ncurses")
8481 (version "0.2.16")
8482 (source
8483 (origin
8484 (method url-fetch)
8485 (uri (string-append
8486 "https://hackage.haskell.org/package/ncurses/ncurses-"
8487 version ".tar.gz"))
8488 (sha256
8489 (base32
8490 "0gsyyaqyh5r9zc0rhwpj5spyd6i4w2vj61h4nihgmmh0yyqvf3z5"))))
8491 (build-system haskell-build-system)
8492 (arguments
8493 '(#:extra-directories ("ncurses")
8494 #:phases
8495 (modify-phases %standard-phases
8496 (add-before 'build 'fix-includes
8497 (lambda _
8498 (substitute* '("cbits/hsncurses-shim.h"
8499 "lib/UI/NCurses.chs"
8500 "lib/UI/NCurses/Enums.chs"
8501 "lib/UI/NCurses/Panel.chs")
8502 (("<ncursesw/") "<"))
8503 #t)))
8504 #:cabal-revision
8505 ("1"
8506 "1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca")))
8507 (inputs `(("ncurses" ,ncurses)))
8508 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
8509 (home-page "https://john-millikin.com/software/haskell-ncurses/")
8510 (synopsis "Modernised bindings to GNU ncurses")
8511 (description "GNU ncurses is a library for creating command-line application
8512 with pseudo-graphical interfaces. This package is a nice, modern binding to GNU
8513 ncurses.")
8514 (license license:gpl3)))
8515
8516 (define-public ghc-network
8517 (package
8518 (name "ghc-network")
8519 (version "2.8.0.1")
8520 (outputs '("out" "static" "doc"))
8521 (source
8522 (origin
8523 (method url-fetch)
8524 (uri (string-append
8525 "https://hackage.haskell.org/package/network/network-"
8526 version
8527 ".tar.gz"))
8528 (sha256
8529 (base32
8530 "0im8k51rw3ahmr23ny10pshwbz09jfg0fdpam0hzf2hgxnzmvxb1"))))
8531 (build-system haskell-build-system)
8532 ;; The regression tests depend on an unpublished module.
8533 (arguments `(#:tests? #f))
8534 (native-inputs
8535 `(("ghc-hunit" ,ghc-hunit)
8536 ("ghc-doctest" ,ghc-doctest)
8537 ("ghc-test-framework" ,ghc-test-framework)
8538 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
8539 (home-page "https://github.com/haskell/network")
8540 (synopsis "Low-level networking interface")
8541 (description
8542 "This package provides a low-level networking interface.")
8543 (license license:bsd-3)))
8544
8545 (define-public ghc-network-bsd
8546 (package
8547 (name "ghc-network-bsd")
8548 (version "2.8.0.0")
8549 (source
8550 (origin
8551 (method url-fetch)
8552 (uri (string-append "https://hackage.haskell.org/package/"
8553 "network-bsd/network-bsd-" version ".tar.gz"))
8554 (sha256
8555 (base32
8556 "0dfbwgrr28y6ypw7p1ppqg7v746qf14569q4xazj4ahdjw2xkpi5"))))
8557 (build-system haskell-build-system)
8558 (inputs
8559 `(("ghc-network" ,ghc-network)))
8560 (home-page "https://github.com/haskell/network-bsd")
8561 (synopsis "POSIX network database (<netdb.h>) API")
8562 (description "This package provides Haskell bindings to the the POSIX
8563 network database (<netdb.h>) API.")
8564 (license license:bsd-3)))
8565
8566 (define-public ghc-network-byte-order
8567 (package
8568 (name "ghc-network-byte-order")
8569 (version "0.1.1.1")
8570 (source
8571 (origin
8572 (method url-fetch)
8573 (uri (string-append "https://hackage.haskell.org/package/"
8574 "network-byte-order/network-byte-order-"
8575 version ".tar.gz"))
8576 (sha256
8577 (base32
8578 "19cs6157amcc925vwr92q1azwwzkbam5g0k70i6qi80fhpikh37c"))))
8579 (build-system haskell-build-system)
8580 (native-inputs
8581 `(("ghc-doctest" ,ghc-doctest)))
8582 (home-page "https://hackage.haskell.org/package/network-byte-order")
8583 (synopsis "Network byte order utilities")
8584 (description "This library provides peek and poke functions for network
8585 byte order.")
8586 (license license:bsd-3)))
8587
8588 (define-public ghc-network-info
8589 (package
8590 (name "ghc-network-info")
8591 (version "0.2.0.10")
8592 (source
8593 (origin
8594 (method url-fetch)
8595 (uri (string-append "https://hackage.haskell.org/package/"
8596 "network-info-" version "/"
8597 "network-info-" version ".tar.gz"))
8598 (sha256
8599 (base32
8600 "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n"))))
8601 (build-system haskell-build-system)
8602 (home-page "https://github.com/jystic/network-info")
8603 (synopsis "Access the local computer's basic network configuration")
8604 (description "This Haskell library provides simple read-only access to the
8605 local computer's networking configuration. It is currently capable of
8606 getting a list of all the network interfaces and their respective
8607 IPv4, IPv6 and MAC addresses.")
8608 (license license:bsd-3)))
8609
8610 (define-public ghc-network-multicast
8611 (package
8612 (name "ghc-network-multicast")
8613 (version "0.3.2")
8614 (source
8615 (origin
8616 (method url-fetch)
8617 (uri (string-append
8618 "https://hackage.haskell.org/package/network-multicast/network-multicast-"
8619 version
8620 ".tar.gz"))
8621 (sha256
8622 (base32
8623 "0whvi0pbwjy6dbwfdf9rv1j3yr3lcmfp3q7a8pwq63g537l4l2l3"))))
8624 (build-system haskell-build-system)
8625 (inputs
8626 `(("ghc-network" ,ghc-network)
8627 ("ghc-network-bsd" ,ghc-network-bsd)))
8628 (home-page
8629 "http://hackage.haskell.org/package/network-multicast")
8630 (synopsis "Simple multicast library for Haskell")
8631 (description
8632 "This package provides the Network.Multicast Haskell module for
8633 sending UDP datagrams over multicast (class D) addresses.")
8634 ;; Note that this is technically under CC0 1.0 and Expat, though it's not
8635 ;; totally clear what the breakdown is. Since CC0 1.0 is effectively
8636 ;; "public domain with a minimal fallback license", figuring marking it
8637 ;; as effectively Expat is probably correct.
8638 (license license:expat)))
8639
8640 (define-public ghc-network-uri
8641 (package
8642 (name "ghc-network-uri")
8643 (version "2.6.1.0")
8644 (outputs '("out" "static" "doc"))
8645 (source
8646 (origin
8647 (method url-fetch)
8648 (uri (string-append
8649 "https://hackage.haskell.org/package/network-uri/network-uri-"
8650 version
8651 ".tar.gz"))
8652 (sha256
8653 (base32
8654 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
8655 (build-system haskell-build-system)
8656 (arguments
8657 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
8658 (inputs
8659 `(("ghc-network" ,ghc-network)))
8660 (native-inputs
8661 `(("ghc-hunit" ,ghc-hunit)))
8662 (home-page
8663 "https://github.com/haskell/network-uri")
8664 (synopsis "Library for URI manipulation")
8665 (description "This package provides an URI manipulation interface. In
8666 @code{network-2.6} the @code{Network.URI} module was split off from the
8667 @code{network} package into this package.")
8668 (license license:bsd-3)))
8669
8670 (define-public ghc-newtype-generics
8671 (package
8672 (name "ghc-newtype-generics")
8673 (version "0.5.4")
8674 (source
8675 (origin
8676 (method url-fetch)
8677 (uri (string-append "https://hackage.haskell.org/package/"
8678 "newtype-generics/newtype-generics-"
8679 version ".tar.gz"))
8680 (sha256
8681 (base32
8682 "0cprfg4n0z62cnix1qrbc79bfdd4s50b05fj9m9hk6vm1pc3szq0"))))
8683 (build-system haskell-build-system)
8684 (native-inputs
8685 `(("ghc-hspec" ,ghc-hspec)
8686 ("hspec-discover" ,hspec-discover)))
8687 (home-page "https://github.com/sjakobi/newtype-generics")
8688 (synopsis "Typeclass and set of functions for working with newtypes")
8689 (description "The @code{Newtype} typeclass represents the packing and
8690 unpacking of a newtype, and allows you to operate under that newtype with
8691 functions such as @code{ala}. Generics support was added in version 0.4,
8692 making this package a full replacement for the original newtype package,
8693 and an alternative to newtype-th.")
8694 (license license:bsd-3)))
8695
8696 (define-public ghc-non-negative
8697 (package
8698 (name "ghc-non-negative")
8699 (version "0.1.2")
8700 (source
8701 (origin
8702 (method url-fetch)
8703 (uri
8704 (string-append
8705 "https://hackage.haskell.org/package/non-negative/non-negative-"
8706 version ".tar.gz"))
8707 (sha256
8708 (base32
8709 "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n"))))
8710 (build-system haskell-build-system)
8711 (inputs
8712 `(("ghc-semigroups" ,ghc-semigroups)
8713 ("ghc-utility-ht" ,ghc-utility-ht)
8714 ("ghc-quickcheck" ,ghc-quickcheck)))
8715 (home-page "https://hackage.haskell.org/package/non-negative")
8716 (synopsis "Non-negative numbers class")
8717 (description "This library provides a class for non-negative numbers,
8718 a wrapper which can turn any ordered numeric type into a member of that
8719 class, and a lazy number type for non-negative numbers (a generalization
8720 of Peano numbers).")
8721 (license license:gpl3+)))
8722
8723 (define-public ghc-nonce
8724 (package
8725 (name "ghc-nonce")
8726 (version "1.0.7")
8727 (source
8728 (origin
8729 (method url-fetch)
8730 (uri (string-append
8731 "https://hackage.haskell.org/package/nonce/"
8732 "nonce-" version ".tar.gz"))
8733 (sha256
8734 (base32
8735 "1q9ph0aq51mvdvydnriqd12sfin36pfb8f588zgac1ybn8r64ksb"))))
8736 (build-system haskell-build-system)
8737 (inputs
8738 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
8739 ("ghc-entropy" ,ghc-entropy)
8740 ("ghc-unliftio" ,ghc-unliftio)
8741 ("ghc-unliftio-core" ,ghc-unliftio-core)))
8742 (home-page "https://github.com/prowdsponsor/nonce")
8743 (synopsis "Generate cryptographic nonces in Haskell")
8744 (description
8745 "A nonce is an arbitrary number used only once in a cryptographic
8746 communication. This package contain helper functions for generating nonces.
8747 There are many kinds of nonces used in different situations. It's not
8748 guaranteed that by using the nonces from this package you won't have any
8749 security issues. Please make sure that the nonces generated via this
8750 package are usable on your design.")
8751 (license license:bsd-3)))
8752
8753 (define-public ghc-numeric-extras
8754 (package
8755 (name "ghc-numeric-extras")
8756 (version "0.1")
8757 (source
8758 (origin
8759 (method url-fetch)
8760 (uri (string-append "https://hackage.haskell.org/package/"
8761 "numeric-extras/numeric-extras-"
8762 version ".tar.gz"))
8763 (sha256
8764 (base32
8765 "1mk11c0gz1yjy5b8dvq6czfny57pln0bs7x28fz38qyr44872067"))))
8766 (build-system haskell-build-system)
8767 (home-page "https://github.com/ekmett/numeric-extras")
8768 (synopsis "Useful tools from the C standard library")
8769 (description "This library provides some useful tools from the C
8770 standard library.")
8771 (license license:bsd-3)))
8772
8773 (define-public ghc-objectname
8774 (package
8775 (name "ghc-objectname")
8776 (version "1.1.0.1")
8777 (source
8778 (origin
8779 (method url-fetch)
8780 (uri (string-append
8781 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
8782 version
8783 ".tar.gz"))
8784 (sha256
8785 (base32
8786 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
8787 (build-system haskell-build-system)
8788 (home-page "https://hackage.haskell.org/package/ObjectName")
8789 (synopsis "Helper library for Haskell OpenGL")
8790 (description "This tiny package contains the class ObjectName, which
8791 corresponds to the general notion of explicitly handled identifiers for API
8792 objects, e.g. a texture object name in OpenGL or a buffer object name in
8793 OpenAL.")
8794 (license license:bsd-3)))
8795
8796 (define-public ghc-old-locale
8797 (package
8798 (name "ghc-old-locale")
8799 (version "1.0.0.7")
8800 (source
8801 (origin
8802 (method url-fetch)
8803 (uri (string-append
8804 "https://hackage.haskell.org/package/old-locale/old-locale-"
8805 version
8806 ".tar.gz"))
8807 (sha256
8808 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
8809 (build-system haskell-build-system)
8810 (arguments
8811 `(#:cabal-revision
8812 ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs")))
8813 (home-page "https://hackage.haskell.org/package/old-locale")
8814 (synopsis "Adapt to locale conventions")
8815 (description
8816 "This package provides the ability to adapt to locale conventions such as
8817 date and time formats.")
8818 (license license:bsd-3)))
8819
8820 (define-public ghc-old-time
8821 (package
8822 (name "ghc-old-time")
8823 (version "1.1.0.3")
8824 (source
8825 (origin
8826 (method url-fetch)
8827 (uri (string-append
8828 "https://hackage.haskell.org/package/old-time/old-time-"
8829 version
8830 ".tar.gz"))
8831 (sha256
8832 (base32
8833 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
8834 (build-system haskell-build-system)
8835 (arguments
8836 `(#:cabal-revision
8837 ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9")))
8838 (inputs
8839 `(("ghc-old-locale" ,ghc-old-locale)))
8840 (home-page "https://hackage.haskell.org/package/old-time")
8841 (synopsis "Time compatibility library for Haskell")
8842 (description "Old-time is a package for backwards compatibility with the
8843 old @code{time} library. For new projects, the newer
8844 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
8845 (license license:bsd-3)))
8846
8847 (define-public ghc-only
8848 (package
8849 (name "ghc-only")
8850 (version "0.1")
8851 (source
8852 (origin
8853 (method url-fetch)
8854 (uri (string-append
8855 "https://hackage.haskell.org/package/Only/Only-"
8856 version
8857 ".tar.gz"))
8858 (sha256
8859 (base32
8860 "0rdj3a629fk2vp121jq8mf2smkblrz5w3cxhlsyx6my2x29s2ymb"))))
8861 (build-system haskell-build-system)
8862 (arguments
8863 `(#:cabal-revision
8864 ("1"
8865 "1ahk7p34kmh041mz7lyc10nhcxgv2i4z8nvzxvqm2x34gslmsbzr")))
8866 (home-page "https://hackage.haskell.org/package/Only")
8867 (synopsis "The 1-tuple type or single-value collection")
8868 (description
8869 "This package provides a canonical anonymous 1-tuple type missing from
8870 Haskell for attaching typeclass instances.
8871
8872 There is also the @url{https://hackage.haskell.org/package/OneTuple, OneTuple
8873 package} which by using a boxed @code{data}-type provides a 1-tuple type which
8874 has laziness properties which are more faithful to the ones of Haskell's
8875 native tuples; whereas the primary purpose of @code{Only} is to provide the
8876 traditionally so named type-wrapper for attaching typeclass instances.")
8877 (license license:bsd-3)))
8878
8879 (define-public ghc-opengl
8880 (package
8881 (name "ghc-opengl")
8882 (version "3.0.3.0")
8883 (source
8884 (origin
8885 (method url-fetch)
8886 (uri (string-append
8887 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
8888 version
8889 ".tar.gz"))
8890 (sha256
8891 (base32
8892 "069fg8jcxqq2z9iikynd8vi3jxm2b5y3qywdh4bdviyzab3zy1as"))))
8893 (build-system haskell-build-system)
8894 (arguments
8895 `(#:cabal-revision
8896 ("1" "1748mrb6r9mpf5jbrx436lwbg8w6dadyy8dhxw2dwnrj5z7zf741")))
8897 (inputs
8898 `(("ghc-objectname" ,ghc-objectname)
8899 ("ghc-gluraw" ,ghc-gluraw)
8900 ("ghc-statevar" ,ghc-statevar)
8901 ("ghc-openglraw" ,ghc-openglraw)))
8902 (home-page "https://wiki.haskell.org/Opengl")
8903 (synopsis "Haskell bindings for the OpenGL graphics system")
8904 (description "This package provides Haskell bindings for the OpenGL
8905 graphics system (GL, version 4.5) and its accompanying utility library (GLU,
8906 version 1.3).")
8907 (license license:bsd-3)))
8908
8909 (define-public ghc-openglraw
8910 (package
8911 (name "ghc-openglraw")
8912 (version "3.3.3.0")
8913 (source
8914 (origin
8915 (method url-fetch)
8916 (uri (string-append
8917 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
8918 version
8919 ".tar.gz"))
8920 (sha256
8921 (base32
8922 "0zgllb4bcash2i2cispa3j565aw3dpxs41ghmhpvyvi4a6xmyldx"))))
8923 (build-system haskell-build-system)
8924 (arguments
8925 `(#:extra-directories ("glu")))
8926 (inputs
8927 `(("ghc-half" ,ghc-half)
8928 ("ghc-fixed" ,ghc-fixed)
8929 ("glu" ,glu)))
8930 (home-page "https://wiki.haskell.org/Opengl")
8931 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
8932 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
8933 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
8934 of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
8935 offers access to all necessary functions, tokens and types plus a general
8936 facility for loading extension entries. The module hierarchy closely mirrors
8937 the naming structure of the OpenGL extensions, making it easy to find the
8938 right module to import. All API entries are loaded dynamically, so no special
8939 C header files are needed for building this package. If an API entry is not
8940 found at runtime, a userError is thrown.")
8941 (license license:bsd-3)))
8942
8943 (define-public ghc-operational
8944 (package
8945 (name "ghc-operational")
8946 (version "0.2.3.5")
8947 (source
8948 (origin
8949 (method url-fetch)
8950 (uri (string-append "https://hackage.haskell.org/package/operational/"
8951 "operational-" version ".tar.gz"))
8952 (sha256
8953 (base32
8954 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
8955 (build-system haskell-build-system)
8956 (inputs
8957 `(("ghc-random" ,ghc-random)))
8958 (home-page "http://wiki.haskell.org/Operational")
8959 (synopsis "Implementation of difficult monads made easy with operational semantics")
8960 (description
8961 "This library makes it easy to implement monads with tricky control
8962 flow. This is useful for: writing web applications in a sequential style,
8963 programming games with a uniform interface for human and AI players and easy
8964 replay capababilities, implementing fast parser monads, designing monadic
8965 DSLs, etc.")
8966 (license license:bsd-3)))
8967
8968 (define-public ghc-optional-args
8969 (package
8970 (name "ghc-optional-args")
8971 (version "1.0.2")
8972 (source
8973 (origin
8974 (method url-fetch)
8975 (uri (string-append
8976 "mirror://hackage/package/optional-args/optional-args-"
8977 version
8978 ".tar.gz"))
8979 (sha256
8980 (base32
8981 "1r5hhn6xvc01grggxdyy48daibwzi0aikgidq0ahpa6bfynm8d1f"))))
8982 (build-system haskell-build-system)
8983 (home-page
8984 "http://hackage.haskell.org/package/optional-args")
8985 (synopsis "Optional function arguments")
8986 (description
8987 "This library provides a type for specifying @code{Optional} function
8988 arguments.")
8989 (license license:bsd-3)))
8990
8991 (define-public ghc-options
8992 (package
8993 (name "ghc-options")
8994 (version "1.2.1.1")
8995 (source
8996 (origin
8997 (method url-fetch)
8998 (uri (string-append
8999 "https://hackage.haskell.org/package/options/options-"
9000 version ".tar.gz"))
9001 (sha256
9002 (base32
9003 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
9004 (build-system haskell-build-system)
9005 (arguments
9006 `(#:phases
9007 (modify-phases %standard-phases
9008 (add-before 'configure 'update-constraints
9009 (lambda _
9010 (substitute* "options.cabal"
9011 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4 && < 0.6"))
9012 #t)))))
9013 (inputs
9014 `(("ghc-monads-tf" ,ghc-monads-tf)
9015 ("ghc-chell" ,ghc-chell)
9016 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
9017 (home-page "https://john-millikin.com/software/haskell-options/")
9018 (synopsis "Powerful and easy-to-use command-line option parser")
9019 (description
9020 "The @code{options} package lets library and application developers
9021 easily work with command-line options.")
9022 (license license:expat)))
9023
9024 ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
9025 (define ghc-options-bootstrap
9026 (package
9027 (name "ghc-options-bootstrap")
9028 (version "1.2.1.1")
9029 (source
9030 (origin
9031 (method url-fetch)
9032 (uri (string-append
9033 "https://hackage.haskell.org/package/options/options-"
9034 version ".tar.gz"))
9035 (sha256
9036 (base32
9037 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
9038 (build-system haskell-build-system)
9039 (arguments
9040 `(#:tests? #f))
9041 (inputs
9042 `(("ghc-monads-tf" ,ghc-monads-tf)))
9043 (home-page "https://john-millikin.com/software/haskell-options/")
9044 (synopsis "Powerful and easy-to-use command-line option parser")
9045 (description
9046 "The @code{options} package lets library and application developers
9047 easily work with command-line options.")
9048 (license license:expat)))
9049
9050
9051 (define-public ghc-optparse-applicative
9052 (package
9053 (name "ghc-optparse-applicative")
9054 (version "0.14.3.0")
9055 (source
9056 (origin
9057 (method url-fetch)
9058 (uri (string-append
9059 "https://hackage.haskell.org/package/optparse-applicative"
9060 "/optparse-applicative-" version ".tar.gz"))
9061 (sha256
9062 (base32
9063 "0qvn1s7jwrabbpmqmh6d6iafln3v3h9ddmxj2y4m0njmzq166ivj"))))
9064 (build-system haskell-build-system)
9065 (arguments
9066 `(#:cabal-revision
9067 ("2" "1a08dqjly1xy730f6jf45frr8g8gap0n1vg9b0mpzpydv0kgzmrp")))
9068 (inputs
9069 `(("ghc-transformers-compat" ,ghc-transformers-compat)
9070 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
9071 (native-inputs
9072 `(("ghc-quickcheck" ,ghc-quickcheck)))
9073 (home-page "https://github.com/pcapriotti/optparse-applicative")
9074 (synopsis "Utilities and combinators for parsing command line options")
9075 (description "This package provides utilities and combinators for parsing
9076 command line options in Haskell.")
9077 (license license:bsd-3)))
9078
9079 (define-public ghc-jira-wiki-markup
9080 (package
9081 (name "ghc-jira-wiki-markup")
9082 (version "1.0.0")
9083 (source
9084 (origin
9085 (method url-fetch)
9086 (uri (string-append
9087 "https://hackage.haskell.org/package/jira-wiki-markup/"
9088 "jira-wiki-markup-" version ".tar.gz"))
9089 (sha256
9090 (base32 "1sl2jjcsqg61si33mxjwpf8zdn56kbbgcwqqqzbgifx2qbv4wmf8"))))
9091 (build-system haskell-build-system)
9092 (native-inputs
9093 `(("ghc-tasty" ,ghc-tasty)
9094 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9095 (home-page "https://github.com/tarleb/jira-wiki-markup")
9096 (synopsis "Handle Jira wiki markup")
9097 (description
9098 "Parse jira wiki text into an abstract syntax tree for easy transformation
9099 to other formats.")
9100 (license license:expat)))
9101
9102 (define-public ghc-emojis
9103 (package
9104 (name "ghc-emojis")
9105 (version "0.1")
9106 (source
9107 (origin
9108 (method url-fetch)
9109 (uri (string-append
9110 "https://hackage.haskell.org/package/emojis/"
9111 "emojis-" version ".tar.gz"))
9112 (sha256
9113 (base32 "1c6zkj9gmk1y90gbdrn50hyp7mw1mggzhnr2khqd728ryipw60ss"))))
9114 (build-system haskell-build-system)
9115 (native-inputs
9116 `(("ghc-hunit" ,ghc-hunit)))
9117 (home-page "https://github.com/jgm/emojis#readme")
9118 (synopsis "Conversion between emoji characters and their names.")
9119 (description
9120 "This package provides functions for converting emoji names to emoji
9121 characters and vice versa.
9122
9123 How does it differ from the @code{emoji} package?
9124 @itemize
9125 @item It supports a fuller range of emojis, including all those supported by
9126 GitHub
9127 @item It supports lookup of emoji aliases from emoji
9128 @item It uses Text rather than String
9129 @item It has a lighter dependency footprint: in particular, it does not
9130 require aeson
9131 @item It does not require TemplateHaskell
9132 @end itemize")
9133 (license license:bsd-3)))
9134
9135 (define-public ghc-text-conversions
9136 (package
9137 (name "ghc-text-conversions")
9138 (version "0.3.0")
9139 (source
9140 (origin
9141 (method url-fetch)
9142 (uri (string-append
9143 "https://hackage.haskell.org/package/text-conversions/"
9144 "text-conversions-" version ".tar.gz"))
9145 (sha256
9146 (base32 "089c56vdj9xysqfr1hnvbnrghlg83q6w10xk02gflpsidcpvwmhp"))))
9147 (build-system haskell-build-system)
9148 (inputs
9149 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
9150 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9151 ("ghc-errors" ,ghc-errors)))
9152 (native-inputs
9153 `(("ghc-hspec" ,ghc-hspec)
9154 ("hspec-discover" ,hspec-discover)))
9155 (home-page "https://github.com/cjdev/text-conversions#readme")
9156 (synopsis "Safe conversions between textual types")
9157 (description "Safe conversions between textual types")
9158 (license license:isc)))
9159
9160 (define-public ghc-text-short
9161 (package
9162 (name "ghc-text-short")
9163 (version "0.1.3")
9164 (source
9165 (origin
9166 (method url-fetch)
9167 (uri (string-append
9168 "https://hackage.haskell.org/package/text-short/text-short-"
9169 version
9170 ".tar.gz"))
9171 (sha256
9172 (base32
9173 "0xyrxlb602z8bc9sr2y1fag0x56a20yj5qrkvy7iwc6hnznrynxz"))))
9174 (build-system haskell-build-system)
9175 (inputs `(("ghc-hashable" ,ghc-hashable)))
9176 (native-inputs
9177 `(("ghc-tasty" ,ghc-tasty)
9178 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9179 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9180 ("ghc-quickcheck-instances"
9181 ,ghc-quickcheck-instances)))
9182 (arguments
9183 `(#:cabal-revision
9184 ("2"
9185 "17cb7p0qywf2dsrq3g8qb3ssknd9wl5k0nc2pxz9gc3l8rxpkw51")))
9186 (home-page "https://hackage.haskell.org/package/text-short")
9187 (synopsis "Memory-efficient representation of Unicode text strings")
9188 (description "This package provides the @code{ShortText} type which
9189 is suitable for keeping many short strings in memory. This is similar
9190 to how @code{ShortByteString} relates to @code{ByteString}.
9191
9192 The main difference between @code{Text} and @code{ShortText} is that
9193 @code{ShortText} uses UTF-8 instead of UTF-16 internally and also doesn't
9194 support zero-copy slicing (thereby saving 2 words). Consequently, the memory
9195 footprint of a (boxed) @{ShortText} value is 4 words (2 words when unboxed)
9196 plus the length of the UTF-8 encoded payload.")
9197 (license license:bsd-3)))
9198
9199 (define-public ghc-doclayout
9200 (package
9201 (name "ghc-doclayout")
9202 (version "0.3")
9203 (source
9204 (origin
9205 (method url-fetch)
9206 (uri (string-append
9207 "https://hackage.haskell.org/package/doclayout/"
9208 "doclayout-" version ".tar.gz"))
9209 (sha256
9210 (base32 "1wmnwq28jcyd6c80srivsnd5znmyl9sgmwwnlk2crwiiwqadbal7"))))
9211 (build-system haskell-build-system)
9212 (inputs
9213 `(("ghc-safe" ,ghc-safe)))
9214 (native-inputs
9215 `(("ghc-tasty" ,ghc-tasty)
9216 ("ghc-tasty-golden" ,ghc-tasty-golden)
9217 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9218 (home-page "https://github.com/jgm/doclayout")
9219 (synopsis "Pretty-printing library for laying out text documents")
9220 (description
9221 "doclayout is a pretty-printing library for laying out text documents,
9222 with several features not present in pretty-printing libraries designed for
9223 code. It was designed for use in @code{Pandoc}.")
9224 (license license:bsd-3)))
9225
9226 (define-public ghc-pandoc
9227 (package
9228 (name "ghc-pandoc")
9229 (version "2.7.3")
9230 (source
9231 (origin
9232 (method url-fetch)
9233 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
9234 version ".tar.gz"))
9235 (patches (search-patches "ghc-pandoc-fix-html-tests.patch"
9236 "ghc-pandoc-fix-latex-test.patch"))
9237 (sha256
9238 (base32
9239 "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8"))))
9240 (build-system haskell-build-system)
9241 (arguments
9242 `(#:phases
9243 (modify-phases %standard-phases
9244 (add-after 'unpack 'find-library
9245 (lambda _
9246 (substitute* "test/Tests/Command.hs"
9247 (("= dynlibEnv")
9248 (format #f "= [(\"LD_LIBRARY_PATH\" , \"~a/dist/build\")]"
9249 (getcwd))))
9250 #t)))))
9251 (outputs '("out" "static" "doc"))
9252 (inputs
9253 `(("ghc-aeson" ,ghc-aeson)
9254 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
9255 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9256 ("ghc-blaze-html" ,ghc-blaze-html)
9257 ("ghc-blaze-markup" ,ghc-blaze-markup)
9258 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
9259 ("ghc-data-default" ,ghc-data-default)
9260 ("ghc-diff" ,ghc-diff)
9261 ("ghc-doctemplates" ,ghc-doctemplates)
9262 ("ghc-executable-path" ,ghc-executable-path)
9263 ("ghc-glob" ,ghc-glob)
9264 ("ghc-haddock-library" ,ghc-haddock-library)
9265 ("ghc-hslua" ,ghc-hslua)
9266 ("ghc-hslua-module-system" ,ghc-hslua-module-system)
9267 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
9268 ("ghc-hsyaml" ,ghc-hsyaml)
9269 ("ghc-http" ,ghc-http)
9270 ("ghc-http-client" ,ghc-http-client)
9271 ("ghc-http-client-tls" ,ghc-http-client-tls)
9272 ("ghc-http-types" ,ghc-http-types)
9273 ("ghc-ipynb" ,ghc-ipynb)
9274 ("ghc-juicypixels" ,ghc-juicypixels)
9275 ("ghc-network" ,ghc-network)
9276 ("ghc-network-uri" ,ghc-network-uri)
9277 ("ghc-pandoc-types" ,ghc-pandoc-types)
9278 ("ghc-random" ,ghc-random)
9279 ("ghc-scientific" ,ghc-scientific)
9280 ("ghc-sha" ,ghc-sha)
9281 ("ghc-skylighting" ,ghc-skylighting)
9282 ("ghc-split" ,ghc-split)
9283 ("ghc-syb" ,ghc-syb)
9284 ("ghc-tagsoup" ,ghc-tagsoup)
9285 ("ghc-temporary" ,ghc-temporary)
9286 ("ghc-texmath" ,ghc-texmath)
9287 ("ghc-unicode-transforms" ,ghc-unicode-transforms)
9288 ("ghc-unordered-containers" ,ghc-unordered-containers)
9289 ("ghc-vector" ,ghc-vector)
9290 ("ghc-xml" ,ghc-xml)
9291 ("ghc-zip-archive" ,ghc-zip-archive)
9292 ("ghc-zlib" ,ghc-zlib)))
9293 (native-inputs
9294 `(("ghc-tasty" ,ghc-tasty)
9295 ("ghc-tasty-golden" ,ghc-tasty-golden)
9296 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9297 ("ghc-tasty-lua" ,ghc-tasty-lua)
9298 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9299 ("ghc-quickcheck" ,ghc-quickcheck)
9300 ("ghc-hunit" ,ghc-hunit)))
9301 (home-page "https://pandoc.org")
9302 (synopsis "Conversion between markup formats")
9303 (description
9304 "Pandoc is a Haskell library for converting from one markup format to
9305 another, and a command-line tool that uses this library. It can read and
9306 write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
9307 LaTeX, DocBook, and many more.
9308
9309 Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
9310 definition lists, tables, and other features. A compatibility mode is
9311 provided for those who need a drop-in replacement for Markdown.pl.")
9312 (license license:gpl2+)))
9313
9314 (define-public pandoc
9315 (package
9316 (inherit ghc-pandoc)
9317 (name "pandoc")
9318 (arguments
9319 `(#:configure-flags
9320 (list "-fstatic"
9321 ;; Do not build trypandoc; this is the default but it's better to
9322 ;; be explicit.
9323 "-f-trypandoc"
9324 ;; TODO: Without these we cannot link the Haskell libraries
9325 ;; statically. It would be nice if we could also build the
9326 ;; shared libraries.
9327 "--disable-shared"
9328 "--disable-executable-dynamic"
9329 ;; That's where we place all static libraries
9330 "--extra-lib-dirs=static-libs/"
9331 "--ghc-option=-static")
9332 #:modules ((guix build haskell-build-system)
9333 (guix build utils)
9334 (ice-9 match)
9335 (srfi srfi-1))
9336 #:phases
9337 (modify-phases %standard-phases
9338 (add-after 'unpack 'create-simple-paths-module
9339 (lambda* (#:key outputs #:allow-other-keys)
9340 (call-with-output-file "Paths_pandoc.hs"
9341 (lambda (port)
9342 (format port "\
9343 {-# LANGUAGE CPP #-}
9344 {-# LANGUAGE NoRebindableSyntax #-}
9345 {-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
9346 module Paths_pandoc (version,getDataDir,getDataFileName) where
9347 import Prelude
9348 import Data.Version (Version(..))
9349 import System.Info
9350 version :: Version
9351 version = Version [~a] []
9352
9353 datadir :: FilePath
9354 datadir = \"~a/share/\" ++
9355 arch ++ \"-\" ++
9356 os ++ \"-\" ++
9357 compilerName ++ \"-~a/pandoc-~a\"
9358
9359 getDataDir :: IO FilePath
9360 getDataDir = return datadir
9361
9362 getDataFileName :: FilePath -> IO FilePath
9363 getDataFileName name = do
9364 dir <- getDataDir
9365 return (dir ++ \"/\" ++ name)
9366 "
9367 (string-map (lambda (chr) (if (eq? chr #\.) #\, chr))
9368 ,(package-version ghc-pandoc))
9369 (assoc-ref outputs "out")
9370 ,(package-version ghc)
9371 ,(package-version ghc-pandoc))))
9372 #t))
9373 (add-after 'unpack 'prepare-static-libraries
9374 (lambda* (#:key inputs #:allow-other-keys)
9375 (mkdir-p (string-append (getcwd) "/static-libs"))
9376 (for-each
9377 (lambda (input)
9378 (when (or (string-prefix? "static-" (car input))
9379 (string-prefix? "ghc" (car input)))
9380 (match (find-files (cdr input) "\\.a$")
9381 ((and (first . rest) libs)
9382 (for-each (lambda (lib)
9383 (let ((target (string-append (getcwd) "/static-libs/"
9384 (basename lib))))
9385 (unless (file-exists? target)
9386 (symlink first target))))
9387 libs))
9388 (_ #f))))
9389 inputs)
9390 #t))
9391 (delete 'check)
9392 (add-after 'install 'post-install-check
9393 (assoc-ref %standard-phases 'check)))))
9394 (outputs '("out" "lib" "static" "doc"))
9395 (inputs
9396 (let* ((direct-inputs (package-inputs ghc-pandoc))
9397 (all-static-inputs
9398 (map (lambda (pkg)
9399 (list (string-append "static-" (package-name pkg))
9400 pkg "static"))
9401 (delete-duplicates
9402 (append (map cadr direct-inputs)
9403 (filter (lambda (pkg)
9404 (string-prefix? "ghc-" (package-name pkg)))
9405 (package-closure
9406 (map cadr direct-inputs))))))))
9407 `(("zlib:static" ,zlib "static")
9408 ,@all-static-inputs
9409 ,@direct-inputs)))
9410 (native-inputs
9411 (let* ((direct-inputs (package-native-inputs ghc-pandoc))
9412 (all-static-inputs
9413 (map (lambda (pkg)
9414 (list (string-append "static-" (package-name pkg))
9415 pkg "static"))
9416 (delete-duplicates
9417 (append (map cadr direct-inputs)
9418 (filter (lambda (pkg)
9419 (string-prefix? "ghc-" (package-name pkg)))
9420 (package-closure
9421 (map cadr direct-inputs))))))))
9422 `(,@all-static-inputs
9423 ,@direct-inputs)))))
9424
9425 (define-public ghc-pandoc-citeproc
9426 (package
9427 (name "ghc-pandoc-citeproc")
9428 (version "0.16.2")
9429 (source
9430 (origin
9431 (method url-fetch)
9432 (uri (string-append "https://hackage.haskell.org/package/"
9433 "pandoc-citeproc/pandoc-citeproc-"
9434 version ".tar.gz"))
9435 (sha256
9436 (base32
9437 "15mm17awgi1b5yazwhr5nh8b59qml1qk6pz6gpyijks70fq2arsv"))))
9438 (build-system haskell-build-system)
9439 (arguments
9440 `(#:phases
9441 (modify-phases %standard-phases
9442 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
9443 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
9444 (add-before 'configure 'patch-tests
9445 (lambda _
9446 (substitute* "tests/test-pandoc-citeproc.hs"
9447 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
9448 "let allTests = citeprocTests"))))
9449 ;; Tests need to be run after installation.
9450 (delete 'check)
9451 (add-after 'install 'post-install-check
9452 (assoc-ref %standard-phases 'check)))))
9453 (inputs
9454 `(("ghc-pandoc-types" ,ghc-pandoc-types)
9455 ("ghc-pandoc" ,ghc-pandoc)
9456 ("ghc-tagsoup" ,ghc-tagsoup)
9457 ("ghc-aeson" ,ghc-aeson)
9458 ("ghc-vector" ,ghc-vector)
9459 ("ghc-xml-conduit" ,ghc-xml-conduit)
9460 ("ghc-unordered-containers" ,ghc-unordered-containers)
9461 ("ghc-data-default" ,ghc-data-default)
9462 ("ghc-setenv" ,ghc-setenv)
9463 ("ghc-split" ,ghc-split)
9464 ("ghc-yaml" ,ghc-yaml)
9465 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
9466 ("ghc-rfc5051" ,ghc-rfc5051)
9467 ("ghc-syb" ,ghc-syb)
9468 ("ghc-old-locale" ,ghc-old-locale)
9469 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
9470 ("ghc-attoparsec" ,ghc-attoparsec)
9471 ("ghc-temporary" ,ghc-temporary)))
9472 (home-page "https://github.com/jgm/pandoc-citeproc")
9473 (synopsis "Library for using pandoc with citeproc")
9474 (description
9475 "The @code{pandoc-citeproc} library exports functions for using the
9476 citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
9477 rendering bibliographic reference citations into a variety of styles using a
9478 macro language called @dfn{Citation Style Language} (CSL). This package also
9479 contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
9480 and also has a mode for converting bibliographic databases a YAML format
9481 suitable for inclusion in pandoc YAML metadata.")
9482 (license license:bsd-3)))
9483
9484 (define-public pandoc-citeproc
9485 (package (inherit ghc-pandoc-citeproc)
9486 (name "pandoc-citeproc")
9487 (arguments
9488 `(#:configure-flags
9489 (list "-fstatic"
9490 "--disable-shared"
9491 "--disable-executable-dynamic"
9492 ;; That's where we place all static libraries
9493 "--extra-lib-dirs=static-libs/"
9494 "--ghc-option=-static")
9495 #:modules ((guix build haskell-build-system)
9496 (guix build utils)
9497 (ice-9 match)
9498 (srfi srfi-1))
9499 #:phases
9500 (modify-phases %standard-phases
9501 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
9502 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
9503 (add-before 'configure 'patch-tests
9504 (lambda _
9505 (substitute* "tests/test-pandoc-citeproc.hs"
9506 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
9507 "let allTests = citeprocTests"))))
9508 ;; Tests need to be run after installation.
9509 (delete 'check)
9510 (add-after 'install 'post-install-check
9511 (assoc-ref %standard-phases 'check))
9512 (add-after 'unpack 'create-simple-paths-module
9513 (lambda* (#:key outputs #:allow-other-keys)
9514 (call-with-output-file "Paths_pandoc_citeproc.hs"
9515 (lambda (port)
9516 (format port "\
9517 {-# LANGUAGE CPP #-}
9518 {-# LANGUAGE NoRebindableSyntax #-}
9519 {-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
9520 module Paths_pandoc_citeproc (version,getDataFileName) where
9521 import Prelude
9522 import Data.Version (Version(..))
9523 import System.Info
9524 version :: Version
9525 version = Version [~a] []
9526
9527 datadir :: FilePath
9528 datadir = \"~a/share/\" ++
9529 arch ++ \"-\" ++
9530 os ++ \"-\" ++
9531 compilerName ++ \"-~a/pandoc-citeproc-~a\"
9532
9533 getDataDir :: IO FilePath
9534 getDataDir = return datadir
9535
9536 getDataFileName :: FilePath -> IO FilePath
9537 getDataFileName name = do
9538 dir <- getDataDir
9539 return (dir ++ \"/\" ++ name)
9540 "
9541 (string-map (lambda (chr) (if (eq? chr #\.) #\, chr))
9542 ,(package-version ghc-pandoc-citeproc))
9543 (assoc-ref outputs "out")
9544 ,(package-version ghc)
9545 ,(package-version ghc-pandoc-citeproc))))
9546 #t))
9547 (add-after 'unpack 'prepare-static-libraries
9548 (lambda* (#:key inputs #:allow-other-keys)
9549 (mkdir-p (string-append (getcwd) "/static-libs"))
9550 (for-each
9551 (lambda (input)
9552 (when (or (string-prefix? "static-" (car input))
9553 (string-prefix? "ghc" (car input)))
9554 (match (find-files (cdr input) "\\.a$")
9555 ((and (first . rest) libs)
9556 (for-each (lambda (lib)
9557 (let ((target (string-append (getcwd) "/static-libs/"
9558 (basename lib))))
9559 (unless (file-exists? target)
9560 (symlink first target))))
9561 libs))
9562 (_ #f))))
9563 inputs)
9564 #t)))))
9565 (inputs
9566 (let* ((direct-inputs
9567 (cons `("ghc-pandoc" ,pandoc)
9568 (alist-delete "ghc-pandoc"
9569 (package-inputs ghc-pandoc-citeproc))))
9570 (all-static-inputs
9571 (map (lambda (pkg)
9572 (list (string-append "static-" (package-name pkg))
9573 pkg "static"))
9574 (delete-duplicates
9575 (append (map cadr direct-inputs)
9576 (filter (lambda (pkg)
9577 (string-prefix? "ghc-" (package-name pkg)))
9578 (package-closure
9579 (map cadr direct-inputs))))))))
9580 `(("zlib:static" ,zlib "static")
9581 ("pandoc" ,pandoc "lib")
9582 ,@all-static-inputs
9583 ,@direct-inputs)))
9584 (outputs '("out" "lib" "static" "doc"))
9585 (synopsis "Pandoc filter for bibliographic references")))
9586
9587 (define-public ghc-pandoc-types
9588 (package
9589 (name "ghc-pandoc-types")
9590 (version "1.17.6.1")
9591 (source (origin
9592 (method url-fetch)
9593 (uri (string-append "https://hackage.haskell.org/package/"
9594 "pandoc-types/pandoc-types-"
9595 version ".tar.gz"))
9596 (sha256
9597 (base32
9598 "1d6ygq991ddria71l7hg9yd7lq94sjy4m71rdws1v8hq943c4d0q"))))
9599 (build-system haskell-build-system)
9600 (arguments
9601 `(#:phases
9602 (modify-phases %standard-phases
9603 ;; None of the directory names are actually used. By generating a
9604 ;; simpler module without references to store names we avoid
9605 ;; introducing references in the pandoc executable.
9606 (add-after 'unpack 'create-simple-paths-module
9607 (lambda _
9608 (call-with-output-file "Paths_pandoc_types.hs"
9609 (lambda (port)
9610 (format port "\
9611 {-# LANGUAGE CPP #-}
9612 {-# LANGUAGE NoRebindableSyntax #-}
9613 {-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
9614 module Paths_pandoc_types (version) where
9615 import Data.Version (Version(..))
9616 version :: Version
9617 version = Version [~a] []
9618 " (string-map (lambda (chr) (if (eq? chr #\.) #\, chr)) ,version))))
9619 #t)))))
9620 (inputs
9621 `(("ghc-syb" ,ghc-syb)
9622 ("ghc-aeson" ,ghc-aeson)
9623 ("ghc-string-qq" ,ghc-string-qq)))
9624 (native-inputs
9625 `(("ghc-quickcheck" ,ghc-quickcheck)
9626 ("ghc-test-framework" ,ghc-test-framework)
9627 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
9628 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
9629 ("ghc-hunit" ,ghc-hunit)))
9630 (home-page "https://johnmacfarlane.net/pandoc")
9631 (synopsis "Types for representing a structured document")
9632 (description
9633 "This module defines the @code{Pandoc} data structure, which is used by
9634 pandoc to represent structured documents. It also provides functions for
9635 building up, manipulating and serialising @code{Pandoc} structures.")
9636 (license license:bsd-3)))
9637
9638 (define-public ghc-parallel
9639 (package
9640 (name "ghc-parallel")
9641 (version "3.2.2.0")
9642 (outputs '("out" "static" "doc"))
9643 (source
9644 (origin
9645 (method url-fetch)
9646 (uri (string-append
9647 "https://hackage.haskell.org/package/parallel/parallel-"
9648 version
9649 ".tar.gz"))
9650 (sha256
9651 (base32
9652 "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"))))
9653 (build-system haskell-build-system)
9654 (home-page "https://hackage.haskell.org/package/parallel")
9655 (synopsis "Parallel programming library")
9656 (description
9657 "This package provides a library for parallel programming.")
9658 (license license:bsd-3)))
9659
9660 (define-public ghc-parsec-numbers
9661 (package
9662 (name "ghc-parsec-numbers")
9663 (version "0.1.0")
9664 (source
9665 (origin
9666 (method url-fetch)
9667 (uri (string-append "https://hackage.haskell.org/package/"
9668 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
9669 (sha256
9670 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
9671 (build-system haskell-build-system)
9672 (home-page "https://hackage.haskell.org/package/parsec-numbers")
9673 (synopsis "Utilities for parsing numbers from strings")
9674 (description
9675 "This package provides the number parsers without the need to use a large
9676 (and unportable) token parser.")
9677 (license license:bsd-3)))
9678
9679 (define-public ghc-parser-combinators
9680 (package
9681 (name "ghc-parser-combinators")
9682 (version "1.1.0")
9683 (source
9684 (origin
9685 (method url-fetch)
9686 (uri (string-append "https://hackage.haskell.org/package/"
9687 "parser-combinators/parser-combinators-"
9688 version ".tar.gz"))
9689 (sha256
9690 (base32
9691 "149yhbnrrl108h1jinrsxni3rwrldhphpk9bbmbpr90q5fbl4xmc"))))
9692 (build-system haskell-build-system)
9693 (home-page "https://github.com/mrkkrp/parser-combinators")
9694 (synopsis "Commonly useful parser combinators")
9695 (description
9696 "This is a lightweight package providing commonly useful parser
9697 combinators.")
9698 (license license:bsd-3)))
9699
9700 (define-public ghc-parsers
9701 (package
9702 (name "ghc-parsers")
9703 (version "0.12.10")
9704 (source
9705 (origin
9706 (method url-fetch)
9707 (uri (string-append
9708 "https://hackage.haskell.org/package/parsers/parsers-"
9709 version
9710 ".tar.gz"))
9711 (sha256
9712 (base32
9713 "0v0smxbzk1qpdfkfqqmrzd2dngv3vxba10mkjn9nfm6a309izf8p"))))
9714 (build-system haskell-build-system)
9715 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
9716 ; -package attoparsec-0.13.0.1"
9717 (inputs
9718 `(("ghc-base-orphans" ,ghc-base-orphans)
9719 ("ghc-attoparsec" ,ghc-attoparsec)
9720 ("ghc-scientific" ,ghc-scientific)
9721 ("ghc-charset" ,ghc-charset)
9722 ("ghc-unordered-containers" ,ghc-unordered-containers)))
9723 (home-page "https://github.com/ekmett/parsers/")
9724 (synopsis "Parsing combinators")
9725 (description "This library provides convenient combinators for working
9726 with and building parsing combinator libraries. Given a few simple instances,
9727 you get access to a large number of canned definitions. Instances exist for
9728 the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
9729 @code{Text.Read}.")
9730 (license license:bsd-3)))
9731
9732 (define-public ghc-path
9733 (package
9734 (name "ghc-path")
9735 (version "0.6.1")
9736 (source
9737 (origin
9738 (method url-fetch)
9739 (uri (string-append
9740 "https://hackage.haskell.org/package/path/path-"
9741 version
9742 ".tar.gz"))
9743 (sha256
9744 (base32
9745 "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb"))))
9746 (build-system haskell-build-system)
9747 (arguments
9748 ;; TODO: There are some Windows-related tests and modules that need to be
9749 ;; danced around.
9750 `(#:tests? #f
9751 #:cabal-revision
9752 ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463")))
9753 (inputs
9754 `(("ghc-aeson" ,ghc-aeson)
9755 ("ghc-exceptions" ,ghc-exceptions)
9756 ("ghc-hashable" ,ghc-hashable)))
9757 (native-inputs
9758 `(("ghc-hspec" ,ghc-hspec)
9759 ("ghc-quickcheck" ,ghc-quickcheck)
9760 ("ghc-genvalidity" ,ghc-genvalidity)
9761 ("ghc-genvalidity-property" ,ghc-genvalidity-property)
9762 ("ghc-hspec" ,ghc-hspec)
9763 ("ghc-validity" ,ghc-validity)))
9764 (home-page
9765 "https://hackage.haskell.org/package/path")
9766 (synopsis "Support for well-typed paths")
9767 (description "This package introduces a type for paths upholding useful
9768 invariants.")
9769 (license license:bsd-3)))
9770
9771 (define-public ghc-path-io
9772 (package
9773 (name "ghc-path-io")
9774 (version "1.4.2")
9775 (source
9776 (origin
9777 (method url-fetch)
9778 (uri (string-append
9779 "https://hackage.haskell.org/package/path-io/path-io-"
9780 version
9781 ".tar.gz"))
9782 (sha256
9783 (base32
9784 "0jqx3mi4an4kb3kg78n1p3xrz832yrfrnvj795b0xhkv6h1z5ir3"))))
9785 (build-system haskell-build-system)
9786 (inputs
9787 `(("ghc-dlist" ,ghc-dlist)
9788 ("ghc-exceptions" ,ghc-exceptions)
9789 ("ghc-path" ,ghc-path)
9790 ("ghc-transformers-base" ,ghc-transformers-base)
9791 ("ghc-unix-compat" ,ghc-unix-compat)
9792 ("ghc-temporary" ,ghc-temporary)))
9793 (native-inputs
9794 `(("ghc-hspec" ,ghc-hspec)))
9795 (home-page
9796 "https://github.com/mrkkrp/path-io")
9797 (synopsis "Functions for manipulating well-typed paths")
9798 (description "This package provides an interface to the @code{directory}
9799 package for users of @code{path}. It also implements some missing stuff like
9800 recursive scanning and copying of directories, working with temporary
9801 files/directories, and more.")
9802 (license license:bsd-3)))
9803
9804 (define-public ghc-paths
9805 (package
9806 (name "ghc-paths")
9807 (version "0.1.0.12")
9808 (outputs '("out" "static" "doc"))
9809 (source
9810 (origin
9811 (method url-fetch)
9812 (uri (string-append
9813 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
9814 version
9815 ".tar.gz"))
9816 (sha256
9817 (base32
9818 "1164w9pqnf7rjm05mmfjznz7rrn415blrkk1kjc0gjvks1vfdjvf"))))
9819 (build-system haskell-build-system)
9820 (home-page "https://github.com/simonmar/ghc-paths")
9821 (synopsis
9822 "Knowledge of GHC's installation directories")
9823 (description
9824 "Knowledge of GHC's installation directories.")
9825 (license license:bsd-3)))
9826
9827 (define-public ghc-patience
9828 (package
9829 (name "ghc-patience")
9830 (version "0.3")
9831 (source
9832 (origin
9833 (method url-fetch)
9834 (uri (string-append
9835 "https://hackage.haskell.org/package/patience/patience-"
9836 version ".tar.gz"))
9837 (sha256
9838 (base32
9839 "1i1b37lgi31c17yrjyf8pdm4nf5lq8vw90z3rri78hf0k66d0p3i"))))
9840 (build-system haskell-build-system)
9841 (home-page "https://hackage.haskell.org/package/patience")
9842 (synopsis "Patience diff and longest increasing subsequence")
9843 (description
9844 "This library implements the 'patience diff' algorithm, as well as the
9845 patience algorithm for the longest increasing subsequence problem.
9846 Patience diff computes the difference between two lists, for example the lines
9847 of two versions of a source file. It provides a good balance between
9848 performance, nice output for humans, and simplicity of implementation.")
9849 (license license:bsd-3)))
9850
9851 (define-public ghc-pattern-arrows
9852 (package
9853 (name "ghc-pattern-arrows")
9854 (version "0.0.2")
9855 (source
9856 (origin
9857 (method url-fetch)
9858 (uri (string-append
9859 "mirror://hackage/package/pattern-arrows/pattern-arrows-"
9860 version
9861 ".tar.gz"))
9862 (sha256
9863 (base32
9864 "13q7bj19hd60rnjfc05wxlyck8llxy11z3mns8kxg197wxrdkhkg"))))
9865 (build-system haskell-build-system)
9866 (home-page
9867 "https://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html")
9868 (synopsis "Arrows for Pretty Printing")
9869 (description
9870 "A library for generating concise pretty printers based on precedence
9871 rules.")
9872 (license license:expat)))
9873
9874 (define-public ghc-pcre-light
9875 (package
9876 (name "ghc-pcre-light")
9877 (version "0.4.0.4")
9878 (source
9879 (origin
9880 (method url-fetch)
9881 (uri (string-append
9882 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
9883 version
9884 ".tar.gz"))
9885 (sha256
9886 (base32
9887 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
9888 (build-system haskell-build-system)
9889 (arguments
9890 `(#:extra-directories ("pcre")))
9891 (inputs
9892 `(("pcre" ,pcre)))
9893 (native-inputs
9894 `(("pkg-config" ,pkg-config)))
9895 (home-page "https://github.com/Daniel-Diaz/pcre-light")
9896 (synopsis "Haskell library for Perl 5 compatible regular expressions")
9897 (description "This package provides a small, efficient, and portable regex
9898 library for Perl 5 compatible regular expressions. The PCRE library is a set
9899 of functions that implement regular expression pattern matching using the same
9900 syntax and semantics as Perl 5.")
9901 (license license:bsd-3)))
9902
9903 (define-public ghc-persistent
9904 (package
9905 (name "ghc-persistent")
9906 (version "2.10.4")
9907 (source
9908 (origin
9909 (method url-fetch)
9910 (uri (string-append
9911 "https://hackage.haskell.org/package/persistent/"
9912 "persistent-" version ".tar.gz"))
9913 (sha256
9914 (base32
9915 "1cxswz72sqdg2z1nbpgp1k5qr41djgk8qbf8nz7wfppsrhacyffi"))))
9916 (build-system haskell-build-system)
9917 (inputs
9918 `(("ghc-aeson" ,ghc-aeson)
9919 ("ghc-attoparsec" ,ghc-attoparsec)
9920 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9921 ("ghc-blaze-html" ,ghc-blaze-html)
9922 ("ghc-conduit" ,ghc-conduit)
9923 ("ghc-fast-logger" ,ghc-fast-logger)
9924 ("ghc-http-api-data" ,ghc-http-api-data)
9925 ("ghc-monad-logger" ,ghc-monad-logger)
9926 ("ghc-path-pieces" ,ghc-path-pieces)
9927 ("ghc-resource-pool" ,ghc-resource-pool)
9928 ("ghc-resourcet" ,ghc-resourcet)
9929 ("ghc-scientific" ,ghc-scientific)
9930 ("ghc-silently" ,ghc-silently)
9931 ("ghc-unliftio-core" ,ghc-unliftio-core)
9932 ("ghc-unliftio" ,ghc-unliftio)
9933 ("ghc-unordered-containers"
9934 ,ghc-unordered-containers)
9935 ("ghc-vector" ,ghc-vector)))
9936 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9937 (home-page "https://www.yesodweb.com/book/persistent")
9938 (synopsis "Type-safe, multi-backend data serialization for Haskell")
9939 (description "This Haskell package allows Haskell programs to access data
9940 storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
9941 way.")
9942 (license license:expat)))
9943
9944 (define-public ghc-persistent-sqlite
9945 (package
9946 (name "ghc-persistent-sqlite")
9947 (version "2.10.5.2")
9948 (source
9949 (origin
9950 (method url-fetch)
9951 (uri (string-append
9952 "https://hackage.haskell.org/package/persistent-sqlite/"
9953 "persistent-sqlite-" version ".tar.gz"))
9954 (sha256
9955 (base32
9956 "0agag3cgivl6mk38pqzr0qw5lxps9p2bgdwvi5658l46hs7bixxn"))))
9957 (build-system haskell-build-system)
9958 (inputs
9959 `(("ghc-persistent" ,ghc-persistent)
9960 ("ghc-aeson" ,ghc-aeson)
9961 ("ghc-conduit" ,ghc-conduit)
9962 ("ghc-microlens-th" ,ghc-microlens-th)
9963 ("ghc-monad-logger" ,ghc-monad-logger)
9964 ("ghc-resource-pool" ,ghc-resource-pool)
9965 ("ghc-resourcet" ,ghc-resourcet)
9966 ("ghc-unliftio-core" ,ghc-unliftio-core)
9967 ("ghc-unordered-containers"
9968 ,ghc-unordered-containers)))
9969 (native-inputs
9970 `(("ghc-persistent-template"
9971 ,ghc-persistent-template)
9972 ("ghc-persistent-test" ,ghc-persistent-test)
9973 ("ghc-exceptions" ,ghc-exceptions)
9974 ("ghc-fast-logger" ,ghc-fast-logger)
9975 ("ghc-hspec" ,ghc-hspec)
9976 ("ghc-hunit" ,ghc-hunit)
9977 ("ghc-quickcheck" ,ghc-quickcheck)
9978 ("ghc-system-fileio" ,ghc-system-fileio)
9979 ("ghc-system-filepath" ,ghc-system-filepath)
9980 ("ghc-temporary" ,ghc-temporary)))
9981 (home-page
9982 "https://www.yesodweb.com/book/persistent")
9983 (synopsis "Backend for the persistent library using sqlite3")
9984 (description "This Haskell package includes a thin sqlite3 wrapper based
9985 on the direct-sqlite package, as well as the entire C library, so there are no
9986 system dependencies.")
9987 (license license:expat)))
9988
9989 (define-public ghc-persistent-template
9990 (package
9991 (name "ghc-persistent-template")
9992 (version "2.8.0")
9993 (source
9994 (origin
9995 (method url-fetch)
9996 (uri (string-append
9997 "https://hackage.haskell.org/package/persistent-template/"
9998 "persistent-template-" version ".tar.gz"))
9999 (sha256
10000 (base32
10001 "16yjrl0gh4jbs4skr7iv6a55lny59bqhd6hjmvch1cl9j5d0c0g3"))))
10002 (build-system haskell-build-system)
10003 (inputs
10004 `(("ghc-persistent" ,ghc-persistent)
10005 ("ghc-aeson" ,ghc-aeson)
10006 ("ghc-http-api-data" ,ghc-http-api-data)
10007 ("ghc-monad-control" ,ghc-monad-control)
10008 ("ghc-monad-logger" ,ghc-monad-logger)
10009 ("ghc-path-pieces" ,ghc-path-pieces)
10010 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
10011 ("ghc-unordered-containers"
10012 ,ghc-unordered-containers)))
10013 (native-inputs
10014 `(("ghc-hspec" ,ghc-hspec)
10015 ("ghc-quickcheck" ,ghc-quickcheck)))
10016 (home-page "https://www.yesodweb.com/book/persistent")
10017 (synopsis "Type-safe, non-relational, multi-backend persistence")
10018 (description "This Haskell package provides interfaces and helper
10019 functions for the ghc-persistent package.")
10020 (license license:expat)))
10021
10022 (define-public ghc-persistent-test
10023 (package
10024 (name "ghc-persistent-test")
10025 (version "2.0.3.1")
10026 (source
10027 (origin
10028 (method url-fetch)
10029 (uri (string-append
10030 "https://hackage.haskell.org/package/persistent-test/"
10031 "persistent-test-" version ".tar.gz"))
10032 (sha256
10033 (base32
10034 "11aq5cy0n43jamf6mg4sr4300bc2zdbjxsczzxwjkb4hzs0ijsdv"))))
10035 (build-system haskell-build-system)
10036 (inputs
10037 `(("ghc-aeson" ,ghc-aeson)
10038 ("ghc-blaze-html" ,ghc-blaze-html)
10039 ("ghc-conduit" ,ghc-conduit)
10040 ("ghc-monad-control" ,ghc-monad-control)
10041 ("ghc-monad-logger" ,ghc-monad-logger)
10042 ("ghc-path-pieces" ,ghc-path-pieces)
10043 ("ghc-persistent" ,ghc-persistent)
10044 ("ghc-persistent-template" ,ghc-persistent-template)
10045 ("ghc-random" ,ghc-random)
10046 ("ghc-resourcet" ,ghc-resourcet)
10047 ("ghc-transformers-base" ,ghc-transformers-base)
10048 ("ghc-unliftio" ,ghc-unliftio)
10049 ("ghc-unliftio-core" ,ghc-unliftio-core)
10050 ("ghc-unordered-containers" ,ghc-unordered-containers)))
10051 (native-inputs
10052 `(("ghc-quickcheck" ,ghc-quickcheck)
10053 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
10054 ("ghc-hspec" ,ghc-hspec)
10055 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
10056 ("ghc-hunit" ,ghc-hunit)))
10057 (home-page "https://www.yesodweb.com/book/persistent")
10058 (synopsis "Tests for the Persistent database library")
10059 (description
10060 "This is only for use in developing libraries that should conform to
10061 the persistent interface, not for users of the persistent suite of database
10062 libraries.")
10063 (license license:expat)))
10064
10065 (define-public ghc-pgp-wordlist
10066 (package
10067 (name "ghc-pgp-wordlist")
10068 (version "0.1.0.3")
10069 (source
10070 (origin
10071 (method url-fetch)
10072 (uri (string-append
10073 "mirror://hackage/package/pgp-wordlist/pgp-wordlist-"
10074 version
10075 ".tar.gz"))
10076 (sha256
10077 (base32
10078 "15g6qh0fb7kjj3l0w8cama7cxgnhnhybw760md9yy7cqfq15cfzg"))))
10079 (build-system haskell-build-system)
10080 (inputs
10081 `(("ghc-vector" ,ghc-vector)))
10082 (native-inputs
10083 `(("ghc-hunit" ,ghc-hunit)
10084 ("ghc-tasty" ,ghc-tasty)
10085 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10086 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
10087 ("ghc-doctest" ,ghc-doctest)))
10088 (home-page
10089 "https://github.com/quchen/pgp-wordlist")
10090 (synopsis
10091 "Translate between binary data and a human-readable collection of words")
10092 (description
10093 "The PGP Word List consists of two phonetic alphabets, each with one word
10094 per possible byte value. A string of bytes is translated with these
10095 alphabets, alternating between them at each byte.
10096
10097 The PGP words corresponding to the bytes 5B 1D CA 6E are \"erase breakaway
10098 spellbind headwaters\", for example.
10099
10100 For further information, see
10101 @url{http://en.wikipedia.org/wiki/PGP_word_list}.")
10102 (license license:bsd-3)))
10103
10104 (define-public ghc-pipes
10105 (package
10106 (name "ghc-pipes")
10107 (version "4.3.13")
10108 (source
10109 (origin
10110 (method url-fetch)
10111 (uri (string-append
10112 "https://hackage.haskell.org/package/pipes/"
10113 "pipes-" version ".tar.gz"))
10114 (sha256
10115 (base32
10116 "1ch3xr5f5if0psd3lsyrpkwrgh36synnzqcpimghprys68l4zfkn"))))
10117 (build-system haskell-build-system)
10118 (inputs
10119 `(("ghc-exceptions" ,ghc-exceptions)
10120 ("ghc-mmorph" ,ghc-mmorph)
10121 ("ghc-void" ,ghc-void)
10122 ("ghc-semigroups" ,ghc-semigroups)))
10123 (native-inputs
10124 `(("ghc-quickcheck" ,ghc-quickcheck)
10125 ("ghc-test-framework" ,ghc-test-framework)
10126 ("ghc-test-framework-quickcheck2"
10127 ,ghc-test-framework-quickcheck2)))
10128 (home-page
10129 "https://hackage.haskell.org/package/pipes")
10130 (synopsis "Compositional pipelines")
10131 (description
10132 "A clean and powerful stream processing library that lets you build
10133 and connect reusable streaming components. Advantages over traditional streaming
10134 libraries:
10135 @itemize
10136 @item Concise API: Use simple commands like @code{for}, (@code{>->}), @code{await},
10137 and @code{yield}
10138 @item Blazing fast: Implementation tuned for speed, including shortcut fusion
10139 @item Lightweight Dependency: pipes is small and compiles very rapidly, including
10140 dependencies
10141 @item Elegant semantics: Use practical category theory
10142 @item ListT: Correct implementation of @code{ListT} that interconverts with pipes
10143 @item Bidirectionality: Implement duplex channels
10144 @end itemize")
10145 (license license:bsd-3)))
10146
10147 (define-public ghc-pointedlist
10148 (package
10149 (name "ghc-pointedlist")
10150 (version "0.6.1")
10151 (source
10152 (origin
10153 (method url-fetch)
10154 (uri (string-append
10155 "https://hackage.haskell.org/package/pointedlist/"
10156 "pointedlist-" version ".tar.gz"))
10157 (sha256
10158 (base32
10159 "16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l"))))
10160 (build-system haskell-build-system)
10161 (home-page
10162 "https://hackage.haskell.org/package/pointedlist")
10163 (synopsis
10164 "Zipper-like comonad which works as a list, tracking a position")
10165 (description
10166 "A PointedList tracks the position in a non-empty list which works
10167 similarly to a zipper. A current item is always required, and therefore
10168 the list may never be empty. A circular PointedList wraps around to the
10169 other end when progressing past the actual edge.")
10170 (license license:bsd-3)))
10171
10172 (define-public ghc-polyparse
10173 (package
10174 (name "ghc-polyparse")
10175 (version "1.12.1")
10176 (source
10177 (origin
10178 (method url-fetch)
10179 (uri (string-append
10180 "https://hackage.haskell.org/package/polyparse/polyparse-"
10181 version
10182 ".tar.gz"))
10183 (sha256
10184 (base32
10185 "19fs18g7fvfdkm9zy28cgighjcxfa6mcpqgyp6whmsjkb3h393fx"))))
10186 (build-system haskell-build-system)
10187 (home-page
10188 "http://code.haskell.org/~malcolm/polyparse/")
10189 (synopsis
10190 "Alternative parser combinator libraries")
10191 (description
10192 "This package provides a variety of alternative parser combinator
10193 libraries, including the original HuttonMeijer set. The Poly sets have
10194 features like good error reporting, arbitrary token type, running state, lazy
10195 parsing, and so on. Finally, Text.Parse is a proposed replacement for the
10196 standard Read class, for better deserialisation of Haskell values from
10197 Strings.")
10198 (license license:lgpl2.1)))
10199
10200 (define-public ghc-pqueue
10201 (package
10202 (name "ghc-pqueue")
10203 (version "1.4.1.2")
10204 (source
10205 (origin
10206 (method url-fetch)
10207 (uri (string-append "https://hackage.haskell.org/package/"
10208 "pqueue/pqueue-" version ".tar.gz"))
10209 (sha256
10210 (base32
10211 "1v4zhv2sc1zsw91hvnarkjhayx2dnf7ccxz6rrhsqpcs0szaranj"))))
10212 (build-system haskell-build-system)
10213 (native-inputs
10214 `(("ghc-quickcheck" ,ghc-quickcheck)))
10215 (home-page "https://hackage.haskell.org/package/pqueue")
10216 (synopsis "Reliable, persistent, fast priority queues")
10217 (description
10218 "This package provides a fast, reliable priority queue implementation
10219 based on a binomial heap.")
10220 (license license:bsd-3)))
10221
10222 (define-public ghc-prelude-extras
10223 (package
10224 (name "ghc-prelude-extras")
10225 (version "0.4.0.3")
10226 (source
10227 (origin
10228 (method url-fetch)
10229 (uri (string-append
10230 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
10231 version
10232 ".tar.gz"))
10233 (sha256
10234 (base32
10235 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
10236 (build-system haskell-build-system)
10237 (home-page "https://github.com/ekmett/prelude-extras")
10238 (synopsis "Higher order versions of Prelude classes")
10239 (description "This library provides higher order versions of
10240 @code{Prelude} classes to ease programming with polymorphic recursion and
10241 reduce @code{UndecidableInstances}.")
10242 (license license:bsd-3)))
10243
10244 (define-public ghc-prettyclass
10245 (package
10246 (name "ghc-prettyclass")
10247 (version "1.0.0.0")
10248 (source
10249 (origin
10250 (method url-fetch)
10251 (uri (string-append "https://hackage.haskell.org/package/"
10252 "prettyclass/prettyclass-" version ".tar.gz"))
10253 (sha256
10254 (base32
10255 "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5"))))
10256 (build-system haskell-build-system)
10257 (home-page "https://hackage.haskell.org/package/prettyclass")
10258 (synopsis "Pretty printing class similar to Show")
10259 (description "This package provides a pretty printing class similar
10260 to @code{Show}, based on the HughesPJ pretty printing library. It
10261 provides the pretty printing class and instances for the Prelude
10262 types.")
10263 (license license:bsd-3)))
10264
10265 (define-public ghc-prettyprinter
10266 (package
10267 (name "ghc-prettyprinter")
10268 (version "1.2.1.1")
10269 (source
10270 (origin
10271 (method url-fetch)
10272 (uri (string-append
10273 "mirror://hackage/package/prettyprinter/prettyprinter-"
10274 version
10275 ".tar.gz"))
10276 (sha256
10277 (base32 "1p9c3q55hba4c0zyxc624g5df7wgsclpsmd8wqpdnmib882q9d1v"))))
10278 (build-system haskell-build-system)
10279 (native-inputs
10280 `(("ghc-doctest" ,ghc-doctest)
10281 ("ghc-pgp-wordlist" ,ghc-pgp-wordlist)
10282 ("ghc-tasty" ,ghc-tasty)
10283 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10284 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
10285 (home-page "https://github.com/quchen/prettyprinter")
10286 (synopsis
10287 "Modern, easy to use, well-documented, extensible pretty-printer")
10288 (description
10289 "A prettyprinter/text rendering engine. Easy to use, well-documented,
10290 ANSI terminal backend exists, HTML backend is trivial to implement, no name
10291 clashes, @code{Text}-based, extensible.")
10292 (license license:bsd-2)))
10293
10294 (define-public ghc-prettyprinter-1.6
10295 (package
10296 (inherit ghc-prettyprinter)
10297 (version "1.6.1")
10298 (source
10299 (origin
10300 (method url-fetch)
10301 (uri (string-append
10302 "mirror://hackage/package/prettyprinter/prettyprinter-"
10303 version
10304 ".tar.gz"))
10305 (sha256
10306 (base32 "10fphxh8lvdaw7i8jyllwmj87w02db92mf99zfw5vddp9mv6b5rz"))))
10307 (inputs
10308 `(("ghc-quickckeck-instances" , ghc-quickcheck-instances)
10309 ,@(package-inputs ghc-prettyprinter)))))
10310
10311 (define-public ghc-prettyprinter-ansi-terminal
10312 (package
10313 (name "ghc-prettyprinter-ansi-terminal")
10314 (version "1.1.1.2")
10315 (source
10316 (origin
10317 (method url-fetch)
10318 (uri (string-append
10319 "mirror://hackage/package/prettyprinter-ansi-terminal/"
10320 "prettyprinter-ansi-terminal-" version ".tar.gz"))
10321 (sha256
10322 (base32 "0ha6vz707qzb5ky7kdsnw2zgphg2dnxrpbrxy8gaw119vwhb9q6k"))))
10323 (build-system haskell-build-system)
10324 (inputs
10325 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
10326 ("ghc-prettyprinter" ,ghc-prettyprinter-1.6)))
10327 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
10328 (home-page
10329 "https://github.com/quchen/prettyprinter")
10330 (synopsis
10331 "ANSI terminal backend for the prettyprinter package")
10332 (description "ANSI terminal backend for the prettyprinter package.")
10333 (license license:bsd-2)))
10334
10335 (define-public ghc-pretty-hex
10336 (package
10337 (name "ghc-pretty-hex")
10338 (version "1.0")
10339 (source
10340 (origin
10341 (method url-fetch)
10342 (uri (string-append "https://hackage.haskell.org/package/"
10343 "pretty-hex-" version "/"
10344 "pretty-hex-" version ".tar.gz"))
10345 (sha256
10346 (base32
10347 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
10348 (build-system haskell-build-system)
10349 (home-page "https://github.com/GaloisInc/hexdump")
10350 (synopsis "Haskell library for hex dumps of ByteStrings")
10351 (description "This Haskell library generates pretty hex dumps of
10352 ByteStrings in the style of other common *nix hex dump tools.")
10353 (license license:bsd-3)))
10354
10355 (define-public ghc-pretty-show
10356 (package
10357 (name "ghc-pretty-show")
10358 (version "1.9.5")
10359 (source
10360 (origin
10361 (method url-fetch)
10362 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
10363 "pretty-show-" version ".tar.gz"))
10364 (sha256
10365 (base32
10366 "0gs2pabi4qa4b0r5vffpf9b1cf5n9y2939a3lljjw7cmg6xvx5dh"))))
10367 (build-system haskell-build-system)
10368 (inputs
10369 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
10370 ("ghc-happy" ,ghc-happy)))
10371 (home-page "https://wiki.github.com/yav/pretty-show")
10372 (synopsis "Tools for working with derived `Show` instances")
10373 (description
10374 "This package provides a library and an executable for working with
10375 derived @code{Show} instances. By using the library, derived @code{Show}
10376 instances can be parsed into a generic data structure. The @code{ppsh} tool
10377 uses the library to produce human-readable versions of @code{Show} instances,
10378 which can be quite handy for debugging Haskell programs. We can also render
10379 complex generic values into an interactive Html page, for easier
10380 examination.")
10381 (license license:expat)))
10382
10383 (define-public ghc-pretty-simple
10384 (package
10385 (name "ghc-pretty-simple")
10386 (version "2.2.0.1")
10387 (source
10388 (origin
10389 (method url-fetch)
10390 (uri (string-append
10391 "mirror://hackage/package/pretty-simple/"
10392 "pretty-simple-" version ".tar.gz"))
10393 (sha256
10394 (base32 "0wsi9235ihm15s145lxi7325vv2k4bhighc5m88kn1lk0pl81aqq"))))
10395 (build-system haskell-build-system)
10396 (inputs
10397 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
10398 ("ghc-glob" ,ghc-glob)
10399 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
10400 ("ghc-aeson" ,ghc-aeson)))
10401 (native-inputs
10402 `(("ghc-doctest" ,ghc-doctest)))
10403 (home-page "https://github.com/cdepillabout/pretty-simple")
10404 (synopsis "Pretty printer for data types with a 'Show' instance")
10405 (description
10406 "Pretty-simple is a pretty printer for Haskell data types that have a
10407 Show instance.")
10408 (license license:bsd-3)))
10409
10410 (define-public ghc-primitive
10411 (package
10412 (name "ghc-primitive")
10413 (version "0.6.4.0")
10414 (outputs '("out" "static" "doc"))
10415 (source
10416 (origin
10417 (method url-fetch)
10418 (uri (string-append
10419 "https://hackage.haskell.org/package/primitive/primitive-"
10420 version
10421 ".tar.gz"))
10422 (sha256
10423 (base32
10424 "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc"))))
10425 (build-system haskell-build-system)
10426 (arguments
10427 `(#:cabal-revision
10428 ("1" "18a14k1yiam1m4l29rin9a0y53yp3nxvkz358nysld8aqwy2qsjv")))
10429 (home-page
10430 "https://github.com/haskell/primitive")
10431 (synopsis "Primitive memory-related operations")
10432 (description
10433 "This package provides various primitive memory-related operations.")
10434 (license license:bsd-3)))
10435
10436 (define-public ghc-process-extras
10437 (package
10438 (name "ghc-process-extras")
10439 (version "0.7.4")
10440 (source
10441 (origin
10442 (method url-fetch)
10443 (uri
10444 (string-append
10445 "https://hackage.haskell.org/package/process-extras/"
10446 "process-extras-" version ".tar.gz"))
10447 (sha256
10448 (base32
10449 "0klqgr37f1z2z6i0a9b0giapmq0p35l5k9kz1p7f0k1597w7agi9"))))
10450 (build-system haskell-build-system)
10451 (inputs
10452 `(("ghc-data-default" ,ghc-data-default)
10453 ("ghc-generic-deriving" ,ghc-generic-deriving)
10454 ("ghc-hunit" ,ghc-hunit)
10455 ("ghc-listlike" ,ghc-listlike)))
10456 (home-page "https://github.com/seereason/process-extras")
10457 (synopsis "Extra tools for managing processes")
10458 (description "This package extends
10459 @url{http://hackage.haskell.org/package/process}. It allows you to read
10460 process input and output as ByteStrings or Text, or write your own
10461 ProcessOutput instance. It also provides lazy process input and output,
10462 and a ProcessMaker class for more flexibility in the process creation
10463 API.")
10464 (license license:expat)))
10465
10466 (define-public ghc-profunctors
10467 (package
10468 (name "ghc-profunctors")
10469 (version "5.3")
10470 (source
10471 (origin
10472 (method url-fetch)
10473 (uri (string-append
10474 "https://hackage.haskell.org/package/profunctors/profunctors-"
10475 version
10476 ".tar.gz"))
10477 (sha256
10478 (base32
10479 "1dx3nkc27yxsrbrhh3iwhq7dl1xn6bj7n62yx6nh8vmpbg62lqvl"))))
10480 (build-system haskell-build-system)
10481 (outputs '("out" "static" "doc"))
10482 (inputs
10483 `(("ghc-base-orphans" ,ghc-base-orphans)
10484 ("ghc-bifunctors" ,ghc-bifunctors)
10485 ("ghc-comonad" ,ghc-comonad)
10486 ("ghc-contravariant" ,ghc-contravariant)
10487 ("ghc-distributive" ,ghc-distributive)
10488 ("ghc-semigroups" ,ghc-semigroups)
10489 ("ghc-tagged" ,ghc-tagged)))
10490 (home-page "https://github.com/ekmett/profunctors/")
10491 (synopsis "Profunctors for Haskell")
10492 (description "This library provides profunctors for Haskell.")
10493 (license license:bsd-3)))
10494
10495 (define-public ghc-project-template
10496 (package
10497 (name "ghc-project-template")
10498 (version "0.2.0.1")
10499 (source
10500 (origin
10501 (method url-fetch)
10502 (uri (string-append
10503 "https://hackage.haskell.org/package/project-template/project-template-"
10504 version ".tar.gz"))
10505 (sha256
10506 (base32
10507 "1p69ww4rhah2qxragl615wl4a6mk4x9w09am8knmz3s4lxpljlpb"))))
10508 (build-system haskell-build-system)
10509 (inputs
10510 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
10511 ("ghc-conduit" ,ghc-conduit)
10512 ("ghc-conduit-extra" ,ghc-conduit-extra)
10513 ("ghc-resourcet" ,ghc-resourcet)))
10514 (native-inputs
10515 `(("ghc-hspec" ,ghc-hspec)
10516 ("hspec-discover" ,hspec-discover)
10517 ("ghc-quickcheck" ,ghc-quickcheck)))
10518 (arguments
10519 `(#:cabal-revision
10520 ("1"
10521 "0lq3sqnq0nr0gbvgzp0lqdl3j3mqdmdlf8xsw0j3pjh581xj3k0a")))
10522 (home-page "https://github.com/fpco/haskell-ide")
10523 (synopsis "Specify Haskell project templates and generate files")
10524 (description
10525 "Haskell library for both generating and consuming project templates.
10526
10527 ost IDEs provide the concept of a project template: instead of writing all
10528 of the code for a project from scratch, you select a template, answer a few
10529 questions, and a bunch of files are automatically generated.
10530
10531 project-template tries to provide a canonical Haskell library for implementing
10532 the ideal templating system.")
10533 (license license:bsd-3)))
10534
10535 (define-public ghc-protolude
10536 (package
10537 (name "ghc-protolude")
10538 (version "0.2.3")
10539 (source
10540 (origin
10541 (method url-fetch)
10542 (uri (string-append
10543 "mirror://hackage/package/protolude/protolude-"
10544 version
10545 ".tar.gz"))
10546 (sha256
10547 (base32
10548 "0zzkyxz0vmcbncpid7gp72fpjj0fla3gqhlfkij5c5lg12skjgfj"))))
10549 (build-system haskell-build-system)
10550 (inputs
10551 `(("ghc-async" ,ghc-async)
10552 ("ghc-hashable" ,ghc-hashable)
10553 ("ghc-mtl-compat" ,ghc-mtl-compat)
10554 ("ghc-transformers-compat" ,ghc-transformers-compat)))
10555 (home-page "https://github.com/protolude/protolude")
10556 (synopsis "Sensible set of defaults for writing custom Preludes")
10557 (description
10558 "Protolude gives you sensible defaults for writing custom Preludes to
10559 replace the standard one provided by GHC.")
10560 (license license:expat)))
10561
10562 (define-public ghc-psqueue
10563 (package
10564 (name "ghc-psqueue")
10565 (version "1.1.0.1")
10566 (source (origin
10567 (method url-fetch)
10568 (uri (string-append "mirror://hackage/package/PSQueue-"
10569 version "/PSQueue-" version ".tar.gz"))
10570 (sha256
10571 (base32
10572 "1cik7sw10sacsijmfhghzy54gm1qcyxw14shlp86lx8z89kcnkza"))))
10573 (build-system haskell-build-system)
10574 (home-page "https://hackage.haskell.org/package/PSQueue")
10575 (synopsis "Priority search queue")
10576 (description
10577 "A @dfn{priority search queue} efficiently supports the operations of
10578 both a search tree and a priority queue. A @code{Binding} is a product of
10579 a key and a priority. Bindings can be inserted, deleted, modified and queried
10580 in logarithmic time, and the binding with the least priority can be retrieved
10581 in constant time. A queue can be built from a list of bindings, sorted by
10582 keys, in linear time.")
10583 (license license:bsd-3)))
10584
10585 (define-public ghc-psqueues
10586 (package
10587 (name "ghc-psqueues")
10588 (version "0.2.7.2")
10589 (source
10590 (origin
10591 (method url-fetch)
10592 (uri (string-append "https://hackage.haskell.org/package/"
10593 "psqueues-" version "/"
10594 "psqueues-" version ".tar.gz"))
10595 (sha256
10596 (base32
10597 "1yckx2csqswghiy9nfj03cybmza8104nmnpbpcc9ngwlbmakn9i6"))))
10598 (build-system haskell-build-system)
10599 (inputs
10600 `(("ghc-hashable" ,ghc-hashable)))
10601 (native-inputs
10602 `(("ghc-hunit" ,ghc-hunit)
10603 ("ghc-quickcheck" ,ghc-quickcheck)
10604 ("ghc-tagged" ,ghc-tagged)
10605 ("ghc-tasty" ,ghc-tasty)
10606 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10607 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
10608 (home-page "https://github.com/jaspervdj/psqueues")
10609 (synopsis "Pure priority search queues")
10610 (description "The psqueues package provides
10611 @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
10612 three different flavors:
10613
10614 @itemize
10615 @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
10616 fast insertion, deletion and lookup. This implementation is based on Ralf
10617 Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
10618 Implementation Technique for Priority Search Queues}.
10619
10620 Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
10621 PSQueue} library, although it is considerably faster and provides a slightly
10622 different API.
10623
10624 @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
10625 key type to @code{Int} and uses a
10626 @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
10627 with an additional min-heap property.
10628
10629 @item @code{HashPSQ k p v} is a fairly straightforward extension
10630 of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
10631 @code{IntPSQ}. If there are any hash collisions, it uses an
10632 @code{OrdPSQ} to resolve those. The performance of this implementation
10633 is comparable to that of @code{IntPSQ}, but it is more widely
10634 applicable since the keys are not restricted to @code{Int},
10635 but rather to any @code{Hashable} datatype.
10636 @end itemize
10637
10638 Each of the three implementations provides the same API, so they can
10639 be used interchangeably.
10640
10641 Typical applications of Priority Search Queues include:
10642
10643 @itemize
10644 @item Caches, and more specifically LRU Caches;
10645 @item Schedulers;
10646 @item Pathfinding algorithms, such as Dijkstra's and A*.
10647 @end itemize")
10648 (license license:bsd-3)))
10649
10650 (define-public ghc-pwstore-fast
10651 (package
10652 (name "ghc-pwstore-fast")
10653 (version "2.4.4")
10654 (source
10655 (origin
10656 (method url-fetch)
10657 (uri (string-append
10658 "https://hackage.haskell.org/package/pwstore-fast/"
10659 "pwstore-fast-" version ".tar.gz"))
10660 (sha256
10661 (base32
10662 "1cpvlwzg3qznhygrr78f75p65mnljd9v5cvnagfxjqppnrkay6bj"))))
10663 (build-system haskell-build-system)
10664 (inputs
10665 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
10666 ("ghc-cryptohash" ,ghc-cryptohash)
10667 ("ghc-random" ,ghc-random)
10668 ("ghc-byteable" ,ghc-byteable)))
10669 (home-page "https://github.com/PeterScott/pwstore")
10670 (synopsis "Secure password storage")
10671 (description
10672 "To store passwords securely, they should be salted, then hashed with
10673 a slow hash function. This library uses PBKDF1-SHA256, and handles all the
10674 details. It uses the cryptohash package for speed; if you need a pure
10675 Haskell library, pwstore-purehaskell has the exact same API, but uses only
10676 pure Haskell. It is about 25 times slower than this package, but still quite
10677 usable.")
10678 (license license:bsd-3)))
10679
10680 (define-public ghc-random
10681 (package
10682 (name "ghc-random")
10683 (version "1.1")
10684 (outputs '("out" "static" "doc"))
10685 (source
10686 (origin
10687 (method url-fetch)
10688 (uri (string-append
10689 "https://hackage.haskell.org/package/random/random-"
10690 version
10691 ".tar.gz"))
10692 (sha256
10693 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
10694 (build-system haskell-build-system)
10695 (home-page "https://hackage.haskell.org/package/random")
10696 (synopsis "Random number library")
10697 (description "This package provides a basic random number generation
10698 library, including the ability to split random number generators.")
10699 (license license:bsd-3)))
10700
10701 (define-public ghc-raw-strings-qq
10702 (package
10703 (name "ghc-raw-strings-qq")
10704 (version "1.1")
10705 (source
10706 (origin
10707 (method url-fetch)
10708 (uri (string-append "https://hackage.haskell.org/package/"
10709 "raw-strings-qq/raw-strings-qq-"
10710 version ".tar.gz"))
10711 (sha256
10712 (base32
10713 "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f"))))
10714 (build-system haskell-build-system)
10715 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
10716 (home-page "https://github.com/23Skidoo/raw-strings-qq")
10717 (synopsis "Raw string literals for Haskell")
10718 (description
10719 "This package provides a quasiquoter for raw string literals, i.e. string
10720 literals that don't recognise the standard escape sequences. Basically, they
10721 make your code more readable by freeing you from the responsibility to escape
10722 backslashes. They are useful when working with regular expressions,
10723 DOS/Windows paths and markup languages (such as XML).")
10724 (license license:bsd-3)))
10725
10726 (define-public ghc-readable
10727 (package
10728 (name "ghc-readable")
10729 (version "0.3.1")
10730 (source
10731 (origin
10732 (method url-fetch)
10733 (uri (string-append "https://hackage.haskell.org/package/"
10734 "readable/readable-" version ".tar.gz"))
10735 (sha256
10736 (base32
10737 "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h"))))
10738 (build-system haskell-build-system)
10739 (home-page "https://github.com/mightybyte/readable")
10740 (synopsis "Type class for reading from Text and ByteString")
10741 (description "This package provides a @code{Readable} type class for
10742 reading data types from @code{ByteString} and @code{Text}. It also
10743 includes efficient implementations for common data types.")
10744 (license license:bsd-3)))
10745
10746 (define-public ghc-rebase
10747 (package
10748 (name "ghc-rebase")
10749 (version "1.3.1.1")
10750 (source
10751 (origin
10752 (method url-fetch)
10753 (uri (string-append "https://hackage.haskell.org/package/"
10754 "rebase-" version "/"
10755 "rebase-" version ".tar.gz"))
10756 (sha256
10757 (base32
10758 "0q4m2fa7wkgxs0grir8rlqwibasmi3s1x7c107ynndwfm62nzv0a"))))
10759 (build-system haskell-build-system)
10760 (outputs '("out" "static" "doc"))
10761 (inputs `(("ghc-hashable" ,ghc-hashable)
10762 ("ghc-vector" ,ghc-vector)
10763 ("ghc-unordered-containers" ,ghc-unordered-containers)
10764 ("ghc-scientific" ,ghc-scientific)
10765 ("ghc-uuid" ,ghc-uuid)
10766 ("ghc-dlist" ,ghc-dlist)
10767 ("ghc-void" ,ghc-void)
10768 ("ghc-bifunctors" ,ghc-bifunctors)
10769 ("ghc-profunctors" ,ghc-profunctors)
10770 ("ghc-contravariant" ,ghc-contravariant)
10771 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
10772 ("ghc-semigroups" ,ghc-semigroups)
10773 ("ghc-either" ,ghc-either)
10774 ("ghc-fail" ,ghc-fail)
10775 ("ghc-base-prelude" ,ghc-base-prelude)))
10776 (home-page "https://github.com/nikita-volkov/rebase")
10777 (synopsis "Progressive alternative to the base package
10778 for Haskell")
10779 (description "This Haskell package is intended for those who are
10780 tired of keeping long lists of dependencies to the same essential libraries
10781 in each package as well as the endless imports of the same APIs all over again.
10782
10783 It also supports the modern tendencies in the language.
10784
10785 To solve those problems this package does the following:
10786
10787 @itemize
10788 @item Reexport the original APIs under the @code{Rebase} namespace.
10789
10790 @item Export all the possible non-conflicting symbols from the
10791 @code{Rebase.Prelude} module.
10792
10793 @item Give priority to the modern practices in the conflicting cases.
10794 @end itemize
10795
10796 The policy behind the package is only to reexport the non-ambiguous and
10797 non-controversial APIs, which the community has obviously settled on.
10798 The package is intended to rapidly evolve with the contribution from
10799 the community, with the missing features being added with pull-requests.")
10800 (license license:expat)))
10801
10802 (define-public ghc-reducers
10803 (package
10804 (name "ghc-reducers")
10805 (version "3.12.3")
10806 (source
10807 (origin
10808 (method url-fetch)
10809 (uri (string-append
10810 "https://hackage.haskell.org/package/reducers/reducers-"
10811 version
10812 ".tar.gz"))
10813 (sha256
10814 (base32
10815 "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki"))))
10816 (build-system haskell-build-system)
10817 (inputs
10818 `(("ghc-fingertree" ,ghc-fingertree)
10819 ("ghc-hashable" ,ghc-hashable)
10820 ("ghc-unordered-containers" ,ghc-unordered-containers)
10821 ("ghc-semigroupoids" ,ghc-semigroupoids)
10822 ("ghc-semigroups" ,ghc-semigroups)))
10823 (home-page "https://github.com/ekmett/reducers/")
10824 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
10825 (description "This library provides various semigroups, specialized
10826 containers and a general map/reduce framework for Haskell.")
10827 (license license:bsd-3)))
10828
10829 (define-public ghc-refact
10830 (package
10831 (name "ghc-refact")
10832 (version "0.3.0.2")
10833 (source
10834 (origin
10835 (method url-fetch)
10836 (uri (string-append "https://hackage.haskell.org/package/"
10837 "refact/refact-"
10838 version ".tar.gz"))
10839 (sha256
10840 (base32
10841 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
10842 (build-system haskell-build-system)
10843 (home-page "https://hackage.haskell.org/package/refact")
10844 (synopsis "Specify refactorings to perform with apply-refact")
10845 (description
10846 "This library provides a datatype which can be interpreted by
10847 @code{apply-refact}. It exists as a separate library so that applications can
10848 specify refactorings without depending on GHC.")
10849 (license license:bsd-3)))
10850
10851 (define-public ghc-reflection
10852 (package
10853 (name "ghc-reflection")
10854 (version "2.1.5")
10855 (source
10856 (origin
10857 (method url-fetch)
10858 (uri (string-append
10859 "https://hackage.haskell.org/package/reflection/reflection-"
10860 version
10861 ".tar.gz"))
10862 (sha256
10863 (base32
10864 "0xr947nj1vww5b8fwqmypxm3y3j5sxl4z8wnf834f83jzfzyjbi7"))))
10865 (build-system haskell-build-system)
10866 (inputs `(("ghc-tagged" ,ghc-tagged)))
10867 (native-inputs
10868 `(("ghc-hspec" ,ghc-hspec)
10869 ("ghc-quickcheck" ,ghc-quickcheck)
10870 ("hspec-discover" ,hspec-discover)))
10871 (home-page "https://github.com/ekmett/reflection")
10872 (synopsis "Reify arbitrary terms into types that can be reflected back
10873 into terms")
10874 (description "This package addresses the 'configuration problem' which is
10875 propagating configurations that are available at run-time, allowing multiple
10876 configurations to coexist without resorting to mutable global variables or
10877 @code{System.IO.Unsafe.unsafePerformIO}.")
10878 (license license:bsd-3)))
10879
10880 (define-public ghc-regex
10881 (package
10882 (name "ghc-regex")
10883 (version "1.0.2.0")
10884 (source
10885 (origin
10886 (method url-fetch)
10887 (uri (string-append "https://hackage.haskell.org/package/regex/"
10888 "regex-" version ".tar.gz"))
10889 (sha256
10890 (base32
10891 "1f2z025hif1fr24b5khq3qxxyvpxrnhyx8xmbms332arw28rpkda"))))
10892 (build-system haskell-build-system)
10893 (arguments
10894 `(#:phases
10895 (modify-phases %standard-phases
10896 (add-after 'unpack 'relax-dependencies
10897 (lambda _
10898 (substitute* "regex.cabal"
10899 (("base-compat.*>=.*0.6.*")
10900 "base-compat >= 0.6\n")
10901 (("template-haskell.*>=.*2.7.*")
10902 "template-haskell >= 2.7\n"))
10903 #t)))))
10904 (inputs
10905 `(("ghc-base-compat" ,ghc-base-compat)
10906 ("ghc-hashable" ,ghc-hashable)
10907 ("ghc-regex-base" ,ghc-regex-base)
10908 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
10909 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
10910 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
10911 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
10912 ("ghc-unordered-containers" ,ghc-unordered-containers)
10913 ("ghc-utf8-string" ,ghc-utf8-string)))
10914 (home-page "http://regex.uk")
10915 (synopsis "Toolkit for regex-base")
10916 (description
10917 "This package provides a regular expression toolkit for @code{regex-base}
10918 with compile-time checking of regular expression syntax, data types for
10919 matches and captures, a text replacement toolkit, portable options, high-level
10920 AWK-like tools for building text processing apps, regular expression macros
10921 with parsers and test bench, comprehensive documentation, tutorials and
10922 copious examples.")
10923 (license license:bsd-3)))
10924
10925 (define-public ghc-regex-applicative
10926 (package
10927 (name "ghc-regex-applicative")
10928 (version "0.3.3.1")
10929 (source
10930 (origin
10931 (method url-fetch)
10932 (uri (string-append
10933 "https://hackage.haskell.org/package/regex-applicative/"
10934 "regex-applicative-" version ".tar.gz"))
10935 (sha256
10936 (base32
10937 "0p0anx5vamrhrdvviwkh2zn6pa3pv2bjb7nfyc7dvz2q7g14y1lg"))))
10938 (build-system haskell-build-system)
10939 (inputs
10940 `(("ghc-smallcheck" ,ghc-smallcheck)
10941 ("ghc-tasty" ,ghc-tasty)
10942 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
10943 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
10944 (home-page "https://github.com/feuerbach/regex-applicative")
10945 (synopsis "Regex-based parsing with applicative interface")
10946 (description
10947 "@code{regex-applicative} is a Haskell library for parsing using
10948 regular expressions. Parsers can be built using Applicative interface.")
10949 (license license:expat)))
10950
10951 (define-public ghc-regex-base
10952 (package
10953 (name "ghc-regex-base")
10954 (version "0.93.2")
10955 (source
10956 (origin
10957 (method url-fetch)
10958 (uri (string-append
10959 "https://hackage.haskell.org/package/regex-base/regex-base-"
10960 version
10961 ".tar.gz"))
10962 (sha256
10963 (base32
10964 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
10965 (build-system haskell-build-system)
10966 (home-page
10967 "https://sourceforge.net/projects/lazy-regex")
10968 (synopsis "Replaces/Enhances Text.Regex")
10969 (description "@code{Text.Regex.Base} provides the interface API for
10970 regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
10971 (license license:bsd-3)))
10972
10973 (define-public ghc-regex-compat
10974 (package
10975 (name "ghc-regex-compat")
10976 (version "0.95.1")
10977 (source
10978 (origin
10979 (method url-fetch)
10980 (uri (string-append
10981 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
10982 version
10983 ".tar.gz"))
10984 (sha256
10985 (base32
10986 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
10987 (build-system haskell-build-system)
10988 (inputs
10989 `(("ghc-regex-base" ,ghc-regex-base)
10990 ("ghc-regex-posix" ,ghc-regex-posix)))
10991 (home-page "https://sourceforge.net/projects/lazy-regex")
10992 (synopsis "Replaces/Enhances Text.Regex")
10993 (description "This library provides one module layer over
10994 @code{regex-posix} to replace @code{Text.Regex}.")
10995 (license license:bsd-3)))
10996
10997 (define-public ghc-regex-compat-tdfa
10998 (package
10999 (name "ghc-regex-compat-tdfa")
11000 (version "0.95.1.4")
11001 (source
11002 (origin
11003 (method url-fetch)
11004 (uri (string-append
11005 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
11006 version ".tar.gz"))
11007 (sha256
11008 (base32
11009 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
11010 (build-system haskell-build-system)
11011 (inputs
11012 `(("ghc-regex-base" ,ghc-regex-base)
11013 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
11014 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
11015 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
11016 (description
11017 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
11018 @code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
11019 This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
11020 this problem.")
11021 (license license:bsd-3)))
11022
11023 (define-public ghc-regex-pcre
11024 (package
11025 (name "ghc-regex-pcre")
11026 (version "0.94.4")
11027 (source (origin
11028 (method url-fetch)
11029 (uri (string-append "https://hackage.haskell.org/package/"
11030 "regex-pcre/regex-pcre-" version ".tar.gz"))
11031 (sha256
11032 (base32
11033 "1h16w994g9s62iwkdqa7bar2n9cfixmkzz2rm8svm960qr57valf"))))
11034 (build-system haskell-build-system)
11035 (arguments
11036 `(#:extra-directories ("pcre")))
11037 (inputs
11038 `(("ghc-regex-base" ,ghc-regex-base)
11039 ("pcre" ,pcre)))
11040 (home-page "https://hackage.haskell.org/package/regex-pcre")
11041 (synopsis "Enhancement of the builtin Text.Regex library")
11042 (description
11043 "This package is an enhancement of the @code{Text.Regex} library.
11044 It wraps the @code{PCRE} C library providing Perl-compatible regular
11045 expressions.")
11046 (license license:bsd-3)))
11047
11048 (define-public ghc-regex-pcre-builtin
11049 (package
11050 (name "ghc-regex-pcre-builtin")
11051 (version "0.94.5.8.8.35")
11052 (source (origin
11053 (method url-fetch)
11054 (uri (string-append "https://hackage.haskell.org/package/"
11055 "regex-pcre-builtin/regex-pcre-builtin-"
11056 version ".tar.gz"))
11057 (sha256
11058 (base32
11059 "1s755qdg1mxrf125sh83bsc5kjkrj8fkq8wf6dg1jan86c7p7gl4"))))
11060 (build-system haskell-build-system)
11061 (inputs
11062 `(("ghc-regex-base" ,ghc-regex-base)))
11063 (home-page "https://hackage.haskell.org/package/regex-pcre-builtin")
11064 (synopsis "Enhancement of the builtin Text.Regex library")
11065 (description
11066 "This package is an enhancement of the @code{Text.Regex} library,
11067 providing the PCRE backend to accompany regex-base, with bundled code from
11068 @url{https://www.pcre.org}.")
11069 (license license:bsd-3)))
11070
11071 (define-public ghc-regex-posix
11072 (package
11073 (name "ghc-regex-posix")
11074 (version "0.95.2")
11075 (source
11076 (origin
11077 (method url-fetch)
11078 (uri (string-append
11079 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
11080 version
11081 ".tar.gz"))
11082 (sha256
11083 (base32
11084 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
11085 (build-system haskell-build-system)
11086 (inputs
11087 `(("ghc-regex-base" ,ghc-regex-base)))
11088 (home-page "https://sourceforge.net/projects/lazy-regex")
11089 (synopsis "POSIX regular expressions for Haskell")
11090 (description "This library provides the POSIX regex backend used by the
11091 Haskell library @code{regex-base}.")
11092 (license license:bsd-3)))
11093
11094 (define-public ghc-regex-tdfa
11095 (package
11096 (name "ghc-regex-tdfa")
11097 (version "1.2.3.2")
11098 (source
11099 (origin
11100 (method url-fetch)
11101 (uri (string-append
11102 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
11103 version ".tar.gz"))
11104 (sha256
11105 (base32
11106 "03yhpqrqz977nwlnhnyz9dacnbzw8xb6j18h365rkgmbc05sb3hf"))))
11107 (build-system haskell-build-system)
11108 (outputs '("out" "static" "doc"))
11109 (inputs
11110 `(("ghc-regex-base" ,ghc-regex-base)))
11111 (home-page "https://github.com/haskell-hvr/regex-tdfa")
11112 (synopsis "POSIX extended regular expressions in Haskell.")
11113 (description
11114 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
11115 extended regular expressions. It is a \"tagged\" DFA regex engine. It is
11116 inspired by libtre.")
11117 (license license:bsd-3)))
11118
11119 (define-public ghc-regex-tdfa-text
11120 (package
11121 (name "ghc-regex-tdfa-text")
11122 (version "1.0.0.3")
11123 (source
11124 (origin
11125 (method url-fetch)
11126 (uri (string-append
11127 "https://hackage.haskell.org/package/regex-tdfa-text/"
11128 "regex-tdfa-text-" version ".tar.gz"))
11129 (sha256
11130 (base32
11131 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
11132 (build-system haskell-build-system)
11133 (inputs
11134 `(("ghc-regex-base" ,ghc-regex-base)
11135 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
11136 (home-page
11137 "https://hackage.haskell.org/package/regex-tdfa-text")
11138 (synopsis "Text interface for regex-tdfa")
11139 (description
11140 "This provides an extra text interface for regex-tdfa.")
11141 (license license:bsd-3)))
11142
11143 (define-public ghc-repline
11144 (package
11145 (name "ghc-repline")
11146 (version "0.2.0.0")
11147 (source
11148 (origin
11149 (method url-fetch)
11150 (uri (string-append
11151 "mirror://hackage/package/repline/repline-"
11152 version
11153 ".tar.gz"))
11154 (sha256
11155 (base32
11156 "1ph21kbbanlcs8n5lwk16g9vqkb98mkbz5mzwrp8j2rls2921izc"))))
11157 (build-system haskell-build-system)
11158 (home-page "https://github.com/sdiehl/repline")
11159 (synopsis "Haskeline wrapper for GHCi-like REPL interfaces")
11160 (description
11161 "Haskeline wrapper for GHCi-like REPL interfaces. Composable with
11162 normal mtl transformers.")
11163 (license license:expat)))
11164
11165 (define-public ghc-repline-0.3
11166 (package
11167 (inherit ghc-repline)
11168 (version "0.3.0.0")
11169 (source
11170 (origin
11171 (method url-fetch)
11172 (uri (string-append
11173 "mirror://hackage/package/repline/repline-"
11174 version
11175 ".tar.gz"))
11176 (sha256
11177 (base32
11178 "0niihfyggg2qisadg7w49cr5k5qyyynia93iip0ng2bbmzwi88g8"))))
11179 (inputs
11180 `(("ghc-exceptions" ,ghc-exceptions)
11181 ("ghc-haskeline" ,ghc-haskeline-0.8)))))
11182
11183 (define-public ghc-rerebase
11184 (package
11185 (name "ghc-rerebase")
11186 (version "1.3.1.1")
11187 (source
11188 (origin
11189 (method url-fetch)
11190 (uri (string-append
11191 "https://hackage.haskell.org/package/rerebase/rerebase-"
11192 version ".tar.gz"))
11193 (sha256
11194 (base32
11195 "1jbqif6k249rkknm2zwk8v8jil3kgi9ar53358v8l4ffx346rm82"))))
11196 (build-system haskell-build-system)
11197 (outputs '("out" "static" "doc"))
11198 (inputs
11199 `(("ghc-rebase" ,ghc-rebase)))
11200 (home-page "https://github.com/nikita-volkov/rerebase")
11201 (synopsis "Reexports from ``base'' with many other standard libraries")
11202 (description "A rich drop-in replacement for @code{base}. For details and
11203 documentation please visit @uref{https://github.com/nikita-volkov/rerebase,
11204 the project's home page}.")
11205 (license license:expat)))
11206
11207 (define-public ghc-resolv
11208 (package
11209 (name "ghc-resolv")
11210 (version "0.1.1.2")
11211 (source
11212 (origin
11213 (method url-fetch)
11214 (uri (string-append
11215 "https://hackage.haskell.org/package/resolv/resolv-"
11216 version ".tar.gz"))
11217 (sha256
11218 (base32
11219 "0wczdy3vmpfcfwjn1m95bygc5d83m97xxmavhdvy5ayn8c402fp4"))))
11220 (build-system haskell-build-system)
11221 (arguments
11222 `(#:phases
11223 (modify-phases %standard-phases
11224 (add-before 'configure 'update-constraints
11225 (lambda _
11226 (substitute* "resolv.cabal"
11227 (("tasty >= 1\\.1 && < 1\\.2")
11228 "tasty >= 1.1 && < 1.3"))
11229 #t)))))
11230 (inputs
11231 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)))
11232 (native-inputs
11233 `(("ghc-tasty" ,ghc-tasty)
11234 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
11235 (home-page "https://github.com/haskell/hackage-security")
11236 (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}")
11237 (description "This package implements an API for accessing the
11238 @uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)}
11239 resolver service via the standard @code{libresolv} system library (whose
11240 API is often available directly via the standard @code{libc} C library) on
11241 Unix systems.")
11242 (license license:gpl3)))
11243
11244 (define-public ghc-resource-pool
11245 (package
11246 (name "ghc-resource-pool")
11247 (version "0.2.3.2")
11248 (source
11249 (origin
11250 (method url-fetch)
11251 (uri (string-append "https://hackage.haskell.org/package/"
11252 "resource-pool-" version "/"
11253 "resource-pool-" version ".tar.gz"))
11254 (sha256
11255 (base32
11256 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
11257 (build-system haskell-build-system)
11258 (inputs `(("ghc-hashable" ,ghc-hashable)
11259 ("ghc-monad-control" ,ghc-monad-control)
11260 ("ghc-transformers-base" ,ghc-transformers-base)
11261 ("ghc-vector" ,ghc-vector)))
11262 (home-page "https://github.com/bos/pool")
11263 (synopsis "Striped resource pooling implementation in Haskell")
11264 (description "This Haskell package provides striped pooling abstraction
11265 for managing flexibly-sized collections of resources such as database
11266 connections.")
11267 (license license:bsd-3)))
11268
11269 (define-public ghc-resourcet
11270 (package
11271 (name "ghc-resourcet")
11272 (version "1.2.2")
11273 (source
11274 (origin
11275 (method url-fetch)
11276 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
11277 "resourcet-" version ".tar.gz"))
11278 (sha256
11279 (base32
11280 "1rfbfcv3r1h29y0yqr3x6a1s04lbc3vzm3jqnfg4f9rqp9d448qk"))))
11281 (build-system haskell-build-system)
11282 (inputs
11283 `(("ghc-transformers-base" ,ghc-transformers-base)
11284 ("ghc-monad-control" ,ghc-monad-control)
11285 ("ghc-transformers-compat" ,ghc-transformers-compat)
11286 ("ghc-mmorph" ,ghc-mmorph)
11287 ("ghc-exceptions" ,ghc-exceptions)
11288 ("ghc-unliftio-core" ,ghc-unliftio-core)))
11289 (native-inputs
11290 `(("ghc-lifted-base" ,ghc-lifted-base)
11291 ("ghc-hspec" ,ghc-hspec)))
11292 (home-page "https://github.com/snoyberg/conduit")
11293 (synopsis "Deterministic allocation and freeing of scarce resources")
11294 (description "ResourceT is a monad transformer which creates a region of
11295 code where you can safely allocate resources.")
11296 (license license:bsd-3)))
11297
11298 (define-public ghc-retry
11299 (package
11300 (name "ghc-retry")
11301 (version "0.8.1.0")
11302 (source
11303 (origin
11304 (method url-fetch)
11305 (uri (string-append "https://hackage.haskell.org/package/"
11306 "retry/retry-" version ".tar.gz"))
11307 (sha256
11308 (base32
11309 "02k03r86amg1vbrsvb644342ym13d9jwkzki9sk93pdg5l8j35dj"))))
11310 (build-system haskell-build-system)
11311 (inputs
11312 `(("ghc-exceptions" ,ghc-exceptions)
11313 ("ghc-random" ,ghc-random)))
11314 (native-inputs
11315 `(("ghc-hunit" ,ghc-hunit)
11316 ("ghc-tasty" ,ghc-tasty)
11317 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11318 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
11319 ("ghc-hedgehog" ,ghc-hedgehog)))
11320 (home-page "https://github.com/Soostone/retry")
11321 (synopsis "Retry combinators for monadic actions that may fail")
11322 (description "This package exposes combinators that can wrap
11323 arbitrary monadic actions. They run the action and potentially retry
11324 running it with some configurable delay for a configurable number of
11325 times. The purpose is to make it easier to work with IO and especially
11326 network IO actions that often experience temporary failure and warrant
11327 retrying of the original action. For example, a database query may time
11328 out for a while, in which case we should hang back for a bit and retry
11329 the query instead of simply raising an exception.")
11330 (license license:bsd-3)))
11331
11332 (define-public ghc-rfc5051
11333 (package
11334 (name "ghc-rfc5051")
11335 (version "0.1.0.4")
11336 (source
11337 (origin
11338 (method url-fetch)
11339 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
11340 "rfc5051-" version ".tar.gz"))
11341 (sha256
11342 (base32
11343 "1lxkq414ni986ciml4gbvf463fn55z299knky7pq3ixb1qislpb1"))))
11344 (build-system haskell-build-system)
11345 (home-page "https://hackage.haskell.org/package/rfc5051")
11346 (synopsis "Simple unicode collation as per RFC5051")
11347 (description
11348 "This library implements @code{unicode-casemap}, the simple, non
11349 locale-sensitive unicode collation algorithm described in RFC 5051. Proper
11350 unicode collation can be done using @code{text-icu}, but that is a big
11351 dependency that depends on a large C library, and @code{rfc5051} might be
11352 better for some purposes.")
11353 (license license:bsd-3)))
11354
11355 (define-public ghc-rio
11356 (package
11357 (name "ghc-rio")
11358 (version "0.1.12.0")
11359 (source
11360 (origin
11361 (method url-fetch)
11362 (uri (string-append
11363 "https://hackage.haskell.org/package/rio/rio-"
11364 version ".tar.gz"))
11365 (sha256
11366 (base32
11367 "0xzjkh6aavynpyskikhs8dmv0zhkiqiwz9zdn80zbd25b2182pif"))))
11368 (build-system haskell-build-system)
11369 (inputs
11370 `(("ghc-exceptions" ,ghc-exceptions)
11371 ("ghc-hashable" ,ghc-hashable)
11372 ("ghc-microlens" ,ghc-microlens)
11373 ("ghc-primitive" ,ghc-primitive)
11374 ("ghc-typed-process" ,ghc-typed-process)
11375 ("ghc-unliftio" ,ghc-unliftio)
11376 ("ghc-unordered-containers" ,ghc-unordered-containers)
11377 ("ghc-vector" ,ghc-vector)))
11378 (native-inputs
11379 `(("ghc-hspec" ,ghc-hspec)
11380 ("hspec-discover" ,hspec-discover)))
11381 (home-page "https://github.com/commercialhaskell/rio#readme")
11382 (synopsis "A standard library for Haskell")
11383 (description "This package works as a prelude replacement for Haskell,
11384 providing more functionality and types out of the box than the standard
11385 prelude (such as common data types like @code{ByteString} and
11386 @code{Text}), as well as removing common ``gotchas'', like partial
11387 functions and lazy I/O. The guiding principle here is:
11388 @itemize
11389 @item If something is safe to use in general and has no expected naming
11390 conflicts, expose it.
11391 @item If something should not always be used, or has naming conflicts,
11392 expose it from another module in the hierarchy.
11393 @end itemize")
11394 (license license:expat)))
11395
11396 (define-public ghc-safe
11397 (package
11398 (name "ghc-safe")
11399 (version "0.3.17")
11400 (source
11401 (origin
11402 (method url-fetch)
11403 (uri (string-append
11404 "https://hackage.haskell.org/package/safe/safe-"
11405 version
11406 ".tar.gz"))
11407 (sha256
11408 (base32
11409 "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr"))))
11410 (build-system haskell-build-system)
11411 (native-inputs
11412 `(("ghc-quickcheck" ,ghc-quickcheck)))
11413 (home-page "https://github.com/ndmitchell/safe#readme")
11414 (synopsis "Library of safe (exception free) functions")
11415 (description "This library provides wrappers around @code{Prelude} and
11416 @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
11417 exceptions.")
11418 (license license:bsd-3)))
11419
11420 (define-public ghc-safe-exceptions
11421 (package
11422 (name "ghc-safe-exceptions")
11423 (version "0.1.7.0")
11424 (source
11425 (origin
11426 (method url-fetch)
11427 (uri (string-append "https://hackage.haskell.org/package/"
11428 "safe-exceptions/safe-exceptions-"
11429 version ".tar.gz"))
11430 (sha256
11431 (base32
11432 "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q"))))
11433 (build-system haskell-build-system)
11434 (arguments
11435 '(#:cabal-revision
11436 ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32")))
11437 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
11438 (native-inputs
11439 `(("ghc-hspec" ,ghc-hspec)
11440 ("ghc-void" ,ghc-void)
11441 ("hspec-discover" ,hspec-discover)))
11442 (home-page "https://github.com/fpco/safe-exceptions")
11443 (synopsis "Safe, consistent, and easy exception handling")
11444 (description "Runtime exceptions - as exposed in @code{base} by the
11445 @code{Control.Exception} module - have long been an intimidating part of the
11446 Haskell ecosystem. This package is intended to overcome this. It provides a
11447 safe and simple API on top of the existing exception handling machinery. The
11448 API is equivalent to the underlying implementation in terms of power but
11449 encourages best practices to minimize the chances of getting the exception
11450 handling wrong.")
11451 (license license:expat)))
11452
11453 (define-public ghc-safeio
11454 (package
11455 (name "ghc-safeio")
11456 (version "0.0.5.0")
11457 (source
11458 (origin
11459 (method url-fetch)
11460 (uri (string-append "https://hackage.haskell.org/package/safeio/"
11461 "safeio-" version ".tar.gz"))
11462 (sha256
11463 (base32
11464 "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm"))))
11465 (build-system haskell-build-system)
11466 (inputs
11467 `(("ghc-conduit" ,ghc-conduit)
11468 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
11469 ("ghc-exceptions" ,ghc-exceptions)
11470 ("ghc-resourcet" ,ghc-resourcet)))
11471 (native-inputs
11472 `(("ghc-hunit" ,ghc-hunit)
11473 ("ghc-test-framework" ,ghc-test-framework)
11474 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11475 ("ghc-test-framework-th" ,ghc-test-framework-th)))
11476 (home-page "https://github.com/luispedro/safeio")
11477 (synopsis "Write output to disk atomically")
11478 (description
11479 "This package implements utilities to perform atomic output so as to
11480 avoid the problem of partial intermediate files.")
11481 (license license:expat)))
11482
11483 (define-public ghc-safesemaphore
11484 (package
11485 (name "ghc-safesemaphore")
11486 (version "0.10.1")
11487 (source
11488 (origin
11489 (method url-fetch)
11490 (uri (string-append "https://hackage.haskell.org/package/"
11491 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
11492 (sha256
11493 (base32
11494 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
11495 (build-system haskell-build-system)
11496 (native-inputs
11497 `(("ghc-hunit" ,ghc-hunit)))
11498 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
11499 (synopsis "Exception safe semaphores")
11500 (description "This library provides exception safe semaphores that can be
11501 used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
11502 are not exception safe and can be broken by @code{killThread}.")
11503 (license license:bsd-3)))
11504
11505 (define-public ghc-sandi
11506 (package
11507 (name "ghc-sandi")
11508 (version "0.5")
11509 (source
11510 (origin
11511 (method url-fetch)
11512 (uri (string-append
11513 "https://hackage.haskell.org/package/sandi/sandi-"
11514 version ".tar.gz"))
11515 (sha256
11516 (base32
11517 "1ndgai8idlxyccvkz5zsgq06v58blc30i6hkky5b1sf5x6gs2h29"))))
11518 (build-system haskell-build-system)
11519 (inputs
11520 `(("ghc-stringsearch" ,ghc-stringsearch)
11521 ("ghc-conduit" ,ghc-conduit)
11522 ("ghc-exceptions" ,ghc-exceptions)
11523 ("ghc-hunit" ,ghc-hunit)
11524 ("ghc-tasty" ,ghc-tasty)
11525 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11526 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11527 ("ghc-tasty-th" ,ghc-tasty-th)))
11528 (home-page "https://hackage.haskell.org/package/sandi")
11529 (synopsis "Data encoding library")
11530 (description "Reasonably fast data encoding library.")
11531 (license license:bsd-3)))
11532
11533 (define-public ghc-say
11534 (package
11535 (name "ghc-say")
11536 (version "0.1.0.1")
11537 (source
11538 (origin
11539 (method url-fetch)
11540 (uri (string-append
11541 "https://hackage.haskell.org/package/say/say-"
11542 version
11543 ".tar.gz"))
11544 (sha256
11545 (base32
11546 "1r5kffjfwpas45g74sip8glrj1m9nygrnxjm7xgw898rq9pnafgn"))))
11547 (build-system haskell-build-system)
11548 (native-inputs
11549 `(("ghc-hspec" ,ghc-hspec)
11550 ("hspec-discover" ,hspec-discover)
11551 ("ghc-unliftio" ,ghc-unliftio)))
11552 (home-page "https://github.com/fpco/say")
11553 (synopsis
11554 "Send textual messages to a Handle in a thread-friendly way")
11555 (description
11556 "A thread safe API to write a line of textual data to a Handle, such
11557 as sending some messages to the terminal - that has the following properties:
11558 @itemize
11559 @item Properly handle character encoding settings on the Handle
11560 @item For reasonably sized messages, ensure that the entire message is written
11561 in one chunk to avoid interleaving data with other threads
11562 @item Avoid unnecessary memory allocations and copies
11563 @item Minimize locking.
11564 @end itemize")
11565 (license license:expat)))
11566
11567 (define-public ghc-scientific
11568 (package
11569 (name "ghc-scientific")
11570 (version "0.3.6.2")
11571 (source
11572 (origin
11573 (method url-fetch)
11574 (uri (string-append
11575 "https://hackage.haskell.org/package/scientific/scientific-"
11576 version
11577 ".tar.gz"))
11578 (sha256
11579 (base32
11580 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
11581 (build-system haskell-build-system)
11582 (inputs
11583 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
11584 ("ghc-hashable" ,ghc-hashable)
11585 ("ghc-primitive" ,ghc-primitive)))
11586 (native-inputs
11587 `(("ghc-tasty" ,ghc-tasty)
11588 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
11589 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11590 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
11591 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11592 ("ghc-smallcheck" ,ghc-smallcheck)
11593 ("ghc-quickcheck" ,ghc-quickcheck)))
11594 (home-page "https://github.com/basvandijk/scientific")
11595 (synopsis "Numbers represented using scientific notation")
11596 (description "This package provides @code{Data.Scientific}, which provides
11597 the number type @code{Scientific}. Scientific numbers are arbitrary precision
11598 and space efficient. They are represented using
11599 @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
11600 notation}.")
11601 (license license:bsd-3)))
11602
11603 (define-public ghc-scientific-bootstrap
11604 (package
11605 (inherit ghc-scientific)
11606 (name "ghc-scientific-bootstrap")
11607 (arguments `(#:tests? #f))
11608 (inputs
11609 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
11610 ("ghc-hashable" ,ghc-hashable)
11611 ("ghc-primitive" ,ghc-primitive)))
11612 (native-inputs '())
11613 (properties '((hidden? #t)))))
11614
11615 (define-public ghc-sdl
11616 (package
11617 (name "ghc-sdl")
11618 (version "0.6.7.0")
11619 (source
11620 (origin
11621 (method url-fetch)
11622 (uri (string-append
11623 "https://hackage.haskell.org/package/SDL/SDL-"
11624 version
11625 ".tar.gz"))
11626 (sha256
11627 (base32
11628 "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq"))))
11629 (build-system haskell-build-system)
11630 (inputs
11631 `(("sdl" ,sdl)))
11632 (home-page "https://hackage.haskell.org/package/SDL")
11633 (synopsis "LibSDL for Haskell")
11634 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
11635 multimedia library designed to provide low level access to audio, keyboard,
11636 mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
11637 by MPEG playback software, emulators, and many popular games, including the
11638 award winning Linux port of \"Civilization: Call To Power.\"")
11639 (license license:bsd-3)))
11640
11641 (define-public ghc-sdl2
11642 (package
11643 (name "ghc-sdl2")
11644 (version "2.5.0.0")
11645 (source
11646 (origin
11647 (method url-fetch)
11648 (uri (string-append "https://hackage.haskell.org/package/"
11649 "sdl2/sdl2-" version ".tar.gz"))
11650 (sha256
11651 (base32
11652 "1x368yhdd55b3cvx8dvj1sj6nzygzigbhrwhssjs4k0rcxlwqfw8"))))
11653 (build-system haskell-build-system)
11654 (arguments '(#:tests? #f)) ; tests require graphical environment
11655 (inputs
11656 `(("ghc-exceptions" ,ghc-exceptions)
11657 ("ghc-linear" ,ghc-linear)
11658 ("ghc-statevar" ,ghc-statevar)
11659 ("ghc-vector" ,ghc-vector)
11660 ("sdl2" ,sdl2)))
11661 (native-inputs
11662 `(("ghc-weigh" ,ghc-weigh)
11663 ("pkg-config" ,pkg-config)))
11664 (home-page "https://hackage.haskell.org/package/sdl2")
11665 (synopsis "High- and low-level bindings to the SDL library")
11666 (description
11667 "This package contains bindings to the SDL 2 library, in both high- and
11668 low-level forms. The @code{SDL} namespace contains high-level bindings, where
11669 enumerations are split into sum types, and we perform automatic
11670 error-checking. The @code{SDL.Raw} namespace contains an almost 1-1
11671 translation of the C API into Haskell FFI calls. As such, this does not
11672 contain sum types nor error checking. Thus this namespace is suitable for
11673 building your own abstraction over SDL, but is not recommended for day-to-day
11674 programming.")
11675 (license license:bsd-3)))
11676
11677 (define-public ghc-sdl2-image
11678 (package
11679 (name "ghc-sdl2-image")
11680 (version "2.0.0")
11681 (source
11682 (origin
11683 (method url-fetch)
11684 (uri (string-append "https://hackage.haskell.org/package/sdl2-image/"
11685 "sdl2-image-" version ".tar.gz"))
11686 (sha256
11687 (base32
11688 "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr"))))
11689 (build-system haskell-build-system)
11690 (inputs
11691 `(("ghc-sdl2" ,ghc-sdl2)
11692 ("sdl2-image" ,sdl2-image)))
11693 (native-inputs
11694 `(("pkg-config" ,pkg-config)))
11695 (home-page "https://hackage.haskell.org/package/sdl2-image")
11696 (synopsis "Bindings to SDL2_image")
11697 (description "This package provides Haskell bindings to
11698 @code{SDL2_image}.")
11699 (license license:expat)))
11700
11701 (define-public ghc-sdl2-mixer
11702 (package
11703 (name "ghc-sdl2-mixer")
11704 (version "1.1.0")
11705 (source
11706 (origin
11707 (method url-fetch)
11708 (uri (string-append "https://hackage.haskell.org/package/sdl2-mixer/"
11709 "sdl2-mixer-" version ".tar.gz"))
11710 (sha256
11711 (base32
11712 "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g"))))
11713 (build-system haskell-build-system)
11714 (inputs
11715 `(("ghc-data-default-class" ,ghc-data-default-class)
11716 ("ghc-lifted-base" ,ghc-lifted-base)
11717 ("ghc-monad-control" ,ghc-monad-control)
11718 ("ghc-sdl2" ,ghc-sdl2)
11719 ("ghc-vector" ,ghc-vector)
11720 ("sdl2-mixer" ,sdl2-mixer)))
11721 (native-inputs
11722 `(("pkg-config" ,pkg-config)))
11723 (home-page "https://hackage.haskell.org/package/sdl2-mixer")
11724 (synopsis "Bindings to SDL2 mixer")
11725 (description "This package provides Haskell bindings to
11726 @code{SDL2_mixer}.")
11727 (license license:bsd-3)))
11728
11729 (define-public ghc-sdl-image
11730 (package
11731 (name "ghc-sdl-image")
11732 (version "0.6.2.0")
11733 (source
11734 (origin
11735 (method url-fetch)
11736 (uri (string-append
11737 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
11738 version
11739 ".tar.gz"))
11740 (sha256
11741 (base32
11742 "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1"))))
11743 (build-system haskell-build-system)
11744 (arguments
11745 `(#:configure-flags
11746 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
11747 (sdl-image-include (string-append sdl-image "/include/SDL")))
11748 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
11749 (inputs
11750 `(("ghc-sdl" ,ghc-sdl)
11751 ("sdl-image" ,sdl-image)))
11752 (home-page "https://hackage.haskell.org/package/SDL-image")
11753 (synopsis "Haskell bindings to libSDL_image")
11754 (description "SDL_image is an image file loading library. It loads images
11755 as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
11756 PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
11757 (license license:bsd-3)))
11758
11759 (define-public ghc-sdl-mixer
11760 (package
11761 (name "ghc-sdl-mixer")
11762 (version "0.6.3.0")
11763 (source
11764 (origin
11765 (method url-fetch)
11766 (uri (string-append
11767 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
11768 version
11769 ".tar.gz"))
11770 (sha256
11771 (base32
11772 "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r"))))
11773 (build-system haskell-build-system)
11774 (arguments
11775 `(#:configure-flags
11776 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
11777 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
11778 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
11779 (inputs
11780 `(("ghc-sdl" ,ghc-sdl)
11781 ("sdl-mixer" ,sdl-mixer)))
11782 (home-page "https://hackage.haskell.org/package/SDL-mixer")
11783 (synopsis "Haskell bindings to libSDL_mixer")
11784 (description "SDL_mixer is a sample multi-channel audio mixer library. It
11785 supports any number of simultaneously playing channels of 16 bit stereo audio,
11786 plus a single channel of music, mixed by the popular MikMod MOD, Timidity
11787 MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
11788 (license license:bsd-3)))
11789
11790 (define-public ghc-securemem
11791 (package
11792 (name "ghc-securemem")
11793 (version "0.1.10")
11794 (source
11795 (origin
11796 (method url-fetch)
11797 (uri (string-append "https://hackage.haskell.org/package/"
11798 "securemem-" version "/"
11799 "securemem-" version ".tar.gz"))
11800 (sha256
11801 (base32
11802 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
11803 (build-system haskell-build-system)
11804 (inputs `(("ghc-byteable" ,ghc-byteable)
11805 ("ghc-memory" ,ghc-memory)))
11806 (home-page "https://github.com/vincenthz/hs-securemem")
11807 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
11808 Haskell")
11809 (description "SecureMem is similar to ByteString, except that it provides
11810 a memory chunk that will be auto-scrubbed after it run out of scope.")
11811 (license license:bsd-3)))
11812
11813 (define-public ghc-semialign
11814 (package
11815 (name "ghc-semialign")
11816 (version "1")
11817 (source
11818 (origin
11819 (method url-fetch)
11820 (uri (string-append
11821 "https://hackage.haskell.org/package/semialign/semialign-"
11822 version
11823 ".tar.gz"))
11824 (sha256
11825 (base32
11826 "004x0a80sqqdgvsyk4z0nasxpi6z3g1d8kgwj804bj9ka8dlc75m"))))
11827 (build-system haskell-build-system)
11828 (inputs
11829 `(("ghc-these" ,ghc-these)
11830 ("ghc-base-compat" ,ghc-base-compat)
11831 ("ghc-hashable" ,ghc-hashable)
11832 ("ghc-tagged" ,ghc-tagged)
11833 ("ghc-unordered-containers" ,ghc-unordered-containers)
11834 ("ghc-vector" ,ghc-vector)
11835 ("ghc-semigroupoids" ,ghc-semigroupoids)))
11836 (arguments
11837 `(#:cabal-revision
11838 ("1"
11839 "0qnqnyfng4kwy2h2anrcy5id2ijnawava3zcc5h5b8ri1y6ks6zi")))
11840 (home-page
11841 "https://github.com/isomorphism/these")
11842 (synopsis
11843 "Align and Zip type-classes from the common Semialign ancestor ")
11844 (description
11845 "The major use of @code{These} of this is provided by the
11846 @code{align} member of @code{Semialign} class, representing a
11847 generalized notion of \"zipping with padding\" that combines
11848 structures without truncating to the size of the smaller input. It
11849 turns out that @code{zip} operation fits well the @code{Semialign}
11850 class, forming lattice-like structure.")
11851 (license license:bsd-3)))
11852
11853 (define-public ghc-semigroupoids
11854 (package
11855 (name "ghc-semigroupoids")
11856 (version "5.3.3")
11857 (source
11858 (origin
11859 (method url-fetch)
11860 (uri (string-append
11861 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
11862 version
11863 ".tar.gz"))
11864 (sha256
11865 (base32
11866 "016hc4imr9l4szs3p7f1aahvxr5wv4clvr3qzrm3nibssg5vrs61"))))
11867 (build-system haskell-build-system)
11868 (outputs '("out" "static" "doc"))
11869 (inputs
11870 `(("ghc-base-orphans" ,ghc-base-orphans)
11871 ("ghc-transformers-compat" ,ghc-transformers-compat)
11872 ("ghc-bifunctors" ,ghc-bifunctors)
11873 ("ghc-comonad" ,ghc-comonad)
11874 ("ghc-contravariant" ,ghc-contravariant)
11875 ("ghc-distributive" ,ghc-distributive)
11876 ("ghc-hashable" ,ghc-hashable)
11877 ("ghc-semigroups" ,ghc-semigroups)
11878 ("ghc-tagged" ,ghc-tagged)
11879 ("ghc-unordered-containers" ,ghc-unordered-containers)))
11880 (native-inputs
11881 `(("cabal-doctest" ,cabal-doctest)
11882 ("ghc-doctest" ,ghc-doctest)))
11883 (home-page "https://github.com/ekmett/semigroupoids")
11884 (synopsis "Semigroupoids operations for Haskell")
11885 (description "This library provides a wide array of (semi)groupoids and
11886 operations for working with them. A @code{Semigroupoid} is a @code{Category}
11887 without the requirement of identity arrows for every object in the category.
11888 A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
11889 Finally, to work with these weaker structures it is beneficial to have
11890 containers that can provide stronger guarantees about their contents, so
11891 versions of @code{Traversable} and @code{Foldable} that can be folded with
11892 just a @code{Semigroup} are added.")
11893 (license license:bsd-3)))
11894
11895 (define-public ghc-semigroups
11896 (package
11897 (name "ghc-semigroups")
11898 (version "0.18.5")
11899 (source
11900 (origin
11901 (method url-fetch)
11902 (uri (string-append
11903 "https://hackage.haskell.org/package/semigroups/semigroups-"
11904 version
11905 ".tar.gz"))
11906 (sha256
11907 (base32
11908 "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb"))))
11909 (build-system haskell-build-system)
11910 (inputs
11911 `(("ghc-nats" ,ghc-nats)
11912 ("ghc-tagged" ,ghc-tagged)
11913 ("ghc-unordered-containers" ,ghc-unordered-containers)
11914 ("ghc-hashable" ,ghc-hashable)))
11915 (home-page "https://github.com/ekmett/semigroups/")
11916 (synopsis "Semigroup operations for Haskell")
11917 (description "This package provides semigroups for Haskell. In
11918 mathematics, a semigroup is an algebraic structure consisting of a set
11919 together with an associative binary operation. A semigroup generalizes a
11920 monoid in that there might not exist an identity element. It
11921 also (originally) generalized a group (a monoid with all inverses) to a type
11922 where every element did not have to have an inverse, thus the name
11923 semigroup.")
11924 (license license:bsd-3)))
11925
11926 (define-public ghc-semigroups-bootstrap
11927 (package
11928 (inherit ghc-semigroups)
11929 (name "ghc-semigroups-bootstrap")
11930 (inputs
11931 `(("ghc-nats" ,ghc-nats-bootstrap)
11932 ("ghc-tagged" ,ghc-tagged)
11933 ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap)
11934 ("ghc-hashable" ,ghc-hashable-bootstrap)))
11935 (properties '((hidden? #t)))))
11936
11937 (define-public ghc-serialise
11938 (package
11939 (name "ghc-serialise")
11940 (version "0.2.1.0")
11941 (source
11942 (origin
11943 (method url-fetch)
11944 (uri (string-append
11945 "mirror://hackage/package/serialise/serialise-"
11946 version
11947 ".tar.gz"))
11948 (sha256
11949 (base32
11950 "19ary6ivzk8z7wcxhm860qmh7pwqj0qjqzav1h42y85l608zqgh4"))))
11951 (build-system haskell-build-system)
11952 (inputs
11953 `(("ghc-cborg" ,ghc-cborg)
11954 ("ghc-half" ,ghc-half)
11955 ("ghc-hashable" ,ghc-hashable)
11956 ("ghc-primitive" ,ghc-primitive)
11957 ("ghc-unordered-containers" ,ghc-unordered-containers)
11958 ("ghc-vector" ,ghc-vector)))
11959 (native-inputs
11960 `(("ghc-quickcheck" ,ghc-quickcheck)
11961 ("ghc-tasty" ,ghc-tasty)
11962 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11963 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11964 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
11965 (arguments
11966 `(#:cabal-revision
11967 ("1" "1rknhad1i8bpknsnphmcmb6dnb48c2p2c13ia2qqch3hkhsvfpr6")))
11968 (home-page "https://github.com/well-typed/cborg")
11969 (synopsis "Binary serialisation library for Haskell values")
11970 (description
11971 "This package (formerly binary-serialise-cbor) provides pure,
11972 efficient serialization of Haskell values directly into ByteStrings for
11973 storage or transmission purposes. By providing a set of type class instances,
11974 you can also serialise any custom data type you have as well.
11975
11976 The underlying binary format used is the 'Concise Binary Object
11977 Representation', or CBOR, specified in RFC 7049. As a result, serialised
11978 Haskell values have implicit structure outside of the Haskell program itself,
11979 meaning they can be inspected or analyzed without custom tools.
11980
11981 An implementation of the standard bijection between CBOR and JSON is
11982 provided by the https://hackage.haskell.org/package/cborg-json
11983 package. Also see https://hackage.haskell.org/package/cbor-tool for a
11984 convenient command-line utility for working with CBOR data.")
11985 (license license:bsd-3)))
11986
11987 (define-public ghc-setenv
11988 (package
11989 (name "ghc-setenv")
11990 (version "0.1.1.3")
11991 (source
11992 (origin
11993 (method url-fetch)
11994 (uri (string-append
11995 "https://hackage.haskell.org/package/setenv/setenv-"
11996 version
11997 ".tar.gz"))
11998 (sha256
11999 (base32
12000 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
12001 (build-system haskell-build-system)
12002 (home-page "https://hackage.haskell.org/package/setenv")
12003 (synopsis "Library for setting environment variables")
12004 (description "This package provides a Haskell library for setting
12005 environment variables.")
12006 (license license:expat)))
12007
12008 (define-public ghc-setlocale
12009 (package
12010 (name "ghc-setlocale")
12011 (version "1.0.0.9")
12012 (source (origin
12013 (method url-fetch)
12014 (uri (string-append
12015 "https://hackage.haskell.org/package/setlocale-"
12016 version "/setlocale-" version ".tar.gz"))
12017 (sha256
12018 (base32
12019 "18b6xafspzxrmz5m9r9nzy3z053crqi59xc8n8aqd4gw0pvqdcrv"))))
12020 (build-system haskell-build-system)
12021 (home-page "https://hackage.haskell.org/package/setlocale")
12022 (synopsis "Haskell bindings to setlocale")
12023 (description "This package provides Haskell bindings to the
12024 @code{setlocale} C function.")
12025 (license license:bsd-3)))
12026
12027 (define-public ghc-shakespeare
12028 (package
12029 (name "ghc-shakespeare")
12030 (version "2.0.22")
12031 (source
12032 (origin
12033 (method url-fetch)
12034 (uri (string-append "https://hackage.haskell.org/package/"
12035 "shakespeare-" version "/"
12036 "shakespeare-" version ".tar.gz"))
12037 (sha256
12038 (base32
12039 "1mc1a0vv070gcawwcx6vzpj6gpfh1qnlqrndiyfic3p500y656vh"))))
12040 (build-system haskell-build-system)
12041 (inputs `(("ghc-aeson" ,ghc-aeson)
12042 ("ghc-blaze-markup" ,ghc-blaze-markup)
12043 ("ghc-blaze-html" ,ghc-blaze-html)
12044 ("ghc-exceptions" ,ghc-exceptions)
12045 ("ghc-vector" ,ghc-vector)
12046 ("ghc-unordered-containers" ,ghc-unordered-containers)
12047 ("ghc-scientific" ,ghc-scientific)))
12048 (native-inputs `(("ghc-hspec" ,ghc-hspec)
12049 ("ghc-hunit" ,ghc-hunit)
12050 ("hspec-discover" ,hspec-discover)))
12051 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
12052 (synopsis "Family of type-safe template languages for Haskell")
12053 (description "This Haskell package provides a family of type-safe
12054 templates with simple variable interpolation. Shakespeare templates can
12055 be used inline with a quasi-quoter or in an external file and it
12056 interpolates variables according to the type being inserted.")
12057 (license license:expat)))
12058
12059 (define-public ghc-shelly
12060 (package
12061 (name "ghc-shelly")
12062 (version "1.8.1")
12063 (source
12064 (origin
12065 (method url-fetch)
12066 (uri (string-append
12067 "https://hackage.haskell.org/package/shelly/shelly-"
12068 version ".tar.gz"))
12069 (sha256
12070 (base32
12071 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
12072 (build-system haskell-build-system)
12073 (inputs
12074 `(("ghc-unix-compat" ,ghc-unix-compat)
12075 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
12076 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
12077 ("ghc-monad-control" ,ghc-monad-control)
12078 ("ghc-lifted-base" ,ghc-lifted-base)
12079 ("ghc-lifted-async" ,ghc-lifted-async)
12080 ("ghc-exceptions" ,ghc-exceptions)
12081 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
12082 ("ghc-async" ,ghc-async)
12083 ("ghc-transformers-base" ,ghc-transformers-base)
12084 ("ghc-hunit" ,ghc-hunit)
12085 ("ghc-hspec" ,ghc-hspec)
12086 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
12087 (home-page "https://github.com/yesodweb/Shelly.hs")
12088 (synopsis "Shell-like (systems) programming in Haskell")
12089 (description
12090 "Shelly provides convenient systems programming in Haskell, similar in
12091 spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
12092 (license license:bsd-3)))
12093
12094 (define-public ghc-silently
12095 (package
12096 (name "ghc-silently")
12097 (version "1.2.5.1")
12098 (source
12099 (origin
12100 (method url-fetch)
12101 (uri (string-append
12102 "https://hackage.haskell.org/package/silently/silently-"
12103 version
12104 ".tar.gz"))
12105 (sha256
12106 (base32
12107 "1lgs1gsr5dp0x21diqn4l03fxgai2kgdmj85gqp0iz3zykvbmjbz"))))
12108 (build-system haskell-build-system)
12109 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
12110 ;; (inputs
12111 ;; `(("ghc-temporary" ,ghc-temporary)))
12112 (home-page "https://github.com/hspec/silently")
12113 (synopsis "Prevent writing to stdout")
12114 (description "This package provides functions to prevent or capture
12115 writing to stdout and other handles.")
12116 (license license:bsd-3)))
12117
12118 (define-public ghc-simple-reflect
12119 (package
12120 (name "ghc-simple-reflect")
12121 (version "0.3.3")
12122 (source
12123 (origin
12124 (method url-fetch)
12125 (uri (string-append
12126 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
12127 version
12128 ".tar.gz"))
12129 (sha256
12130 (base32
12131 "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7"))))
12132 (build-system haskell-build-system)
12133 (home-page
12134 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
12135 (synopsis
12136 "Simple reflection of expressions containing variables")
12137 (description
12138 "This package allows simple reflection of expressions containing
12139 variables. Reflection here means that a Haskell expression is turned into a
12140 string. The primary aim of this package is teaching and understanding; there
12141 are no options for manipulating the reflected expressions beyond showing
12142 them.")
12143 (license license:bsd-3)))
12144
12145 (define-public ghc-simple-sendfile
12146 (package
12147 (name "ghc-simple-sendfile")
12148 (version "0.2.30")
12149 (source
12150 (origin
12151 (method url-fetch)
12152 (uri (string-append "https://hackage.haskell.org/package/"
12153 "simple-sendfile-" version "/"
12154 "simple-sendfile-" version ".tar.gz"))
12155 (sha256
12156 (base32
12157 "112j0qfsjazf9wg1zywf7hjybgsiywk9wkm27yi8xzv27hmlv1mn"))))
12158 (build-system haskell-build-system)
12159 (inputs
12160 `(("ghc-conduit" ,ghc-conduit)
12161 ("ghc-conduit-extra" ,ghc-conduit-extra)
12162 ("ghc-network" ,ghc-network)
12163 ("ghc-resourcet" ,ghc-resourcet)))
12164 (native-inputs
12165 `(("ghc-hspec" ,ghc-hspec)
12166 ("hspec-discover" ,hspec-discover)))
12167 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
12168 (synopsis "Cross platform library for the sendfile system call")
12169 (description "This library tries to call minimum system calls which
12170 are the bottleneck of web servers.")
12171 (license license:bsd-3)))
12172
12173 (define-public ghc-size-based
12174 (package
12175 (name "ghc-size-based")
12176 (version "0.1.2.0")
12177 (source
12178 (origin
12179 (method url-fetch)
12180 (uri (string-append "https://hackage.haskell.org/package/"
12181 "size-based/size-based-" version ".tar.gz"))
12182 (sha256
12183 (base32
12184 "06hmlic0n73ncwlkpx49xlv09bzsrr27ncnp5byhzlknak2gd7vp"))))
12185 (build-system haskell-build-system)
12186 (inputs
12187 `(("ghc-dictionary-sharing" ,ghc-dictionary-sharing)
12188 ("ghc-testing-type-modifiers" ,ghc-testing-type-modifiers)
12189 ("ghc-semigroups" ,ghc-semigroups)))
12190 (arguments
12191 `(#:cabal-revision
12192 ("1" "0kax1ypjyglkn6iff1x4yz12y7f2n249m95xvdhrc63hsa4xlcqv")))
12193 (home-page "https://hackage.haskell.org/package/size-based")
12194 (synopsis "Sized functors for size-based enumerations")
12195 (description "This library provides a framework for size-based
12196 enumerations.")
12197 (license license:bsd-3)))
12198
12199 (define-public ghc-skylighting-core
12200 (package
12201 (name "ghc-skylighting-core")
12202 (version "0.8.2.1")
12203 (source (origin
12204 (method url-fetch)
12205 (uri (string-append "https://hackage.haskell.org/package/"
12206 "skylighting-core/skylighting-core-"
12207 version ".tar.gz"))
12208 (sha256
12209 (base32
12210 "0hdchivb4af9w7v5v7lrwfwawd3kcwmpzk69m1vkkm3pis8lcr1s"))))
12211 (build-system haskell-build-system)
12212 (inputs
12213 `(("ghc-aeson" ,ghc-aeson)
12214 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
12215 ("ghc-attoparsec" ,ghc-attoparsec)
12216 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
12217 ("ghc-blaze-html" ,ghc-blaze-html)
12218 ("ghc-case-insensitive" ,ghc-case-insensitive)
12219 ("ghc-colour" ,ghc-colour)
12220 ("ghc-hxt" ,ghc-hxt)
12221 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
12222 ("ghc-safe" ,ghc-safe)
12223 ("ghc-utf8-string" ,ghc-utf8-string)))
12224 (native-inputs
12225 `(("ghc-diff" ,ghc-diff)
12226 ("ghc-hunit" ,ghc-hunit)
12227 ("ghc-pretty-show" ,ghc-pretty-show)
12228 ("ghc-quickcheck" ,ghc-quickcheck)
12229 ("ghc-tasty" ,ghc-tasty)
12230 ("ghc-tasty-golden" ,ghc-tasty-golden)
12231 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
12232 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
12233 (home-page "https://github.com/jgm/skylighting")
12234 (synopsis "Syntax highlighting library")
12235 (description "Skylighting is a syntax highlighting library with support
12236 for over one hundred languages. It derives its tokenizers from XML syntax
12237 definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
12238 supported by that framework can be added. An optional command-line program is
12239 provided. Skylighting is intended to be the successor to highlighting-kate.")
12240 (license license:gpl2)))
12241
12242 (define-public ghc-skylighting
12243 (package
12244 (inherit ghc-skylighting-core)
12245 (name "ghc-skylighting")
12246 (version "0.8.2.1")
12247 (source (origin
12248 (method url-fetch)
12249 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
12250 version "/skylighting-" version ".tar.gz"))
12251 (sha256
12252 (base32
12253 "1xls8ycad77m55ax4hp55k60h3pi5sm3m32hycbc8baixbgfx5xz"))))
12254 (inputs
12255 `(("ghc-skylighting-core" ,ghc-skylighting-core)
12256 ,@(package-inputs ghc-skylighting-core)))))
12257
12258 (define-public ghc-smallcheck
12259 (package
12260 (name "ghc-smallcheck")
12261 (version "1.1.5")
12262 (source
12263 (origin
12264 (method url-fetch)
12265 (uri (string-append
12266 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
12267 version
12268 ".tar.gz"))
12269 (sha256
12270 (base32
12271 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
12272 (build-system haskell-build-system)
12273 (inputs
12274 `(("ghc-logict" ,ghc-logict)))
12275 (home-page
12276 "https://github.com/feuerbach/smallcheck")
12277 (synopsis "Property-based testing library")
12278 (description "SmallCheck is a testing library that verifies
12279 properties for all test cases up to some depth. The test cases are generated
12280 automatically by SmallCheck.")
12281 (license license:bsd-3)))
12282
12283 (define-public ghc-socks
12284 (package
12285 (name "ghc-socks")
12286 (version "0.6.1")
12287 (source (origin
12288 (method url-fetch)
12289 (uri (string-append "https://hackage.haskell.org/package/"
12290 "socks/socks-" version ".tar.gz"))
12291 (sha256
12292 (base32
12293 "0wvaxy3dkv97wrncjv1rxrmjr4014hgxz82kixvcwqdhidalfi3k"))))
12294 (build-system haskell-build-system)
12295 (inputs
12296 `(("ghc-cereal" ,ghc-cereal)
12297 ("ghc-basement" ,ghc-basement)
12298 ("ghc-network" ,ghc-network)))
12299 (home-page "https://github.com/vincenthz/hs-socks")
12300 (synopsis "SOCKS proxy (version 5) implementation")
12301 (description
12302 "This library provides a SOCKS proxy (version 5) implementation.")
12303 (license license:bsd-3)))
12304
12305 (define-public ghc-sop-core
12306 (package
12307 (name "ghc-sop-core")
12308 (version "0.4.0.0")
12309 (source
12310 (origin
12311 (method url-fetch)
12312 (uri (string-append "https://hackage.haskell.org/package/"
12313 "sop-core/sop-core-" version ".tar.gz"))
12314 (sha256
12315 (base32
12316 "07ci2mh8cbjvipb576rxsj3iyhkj5c5dnsns4xkdppp2p3pv10d3"))))
12317 (build-system haskell-build-system)
12318 (home-page "https://hackage.haskell.org/package/sop-core")
12319 (synopsis "True Sums of Products")
12320 (description "This package provides an implementation of
12321 @math{n}-ary sums and @math{n}-ary products. The module @code{Data.SOP}
12322 is the main module of this library and contains more detailed
12323 documentation. The main use case of this package is to serve as the
12324 core of @url{https://hackage.haskell.org/package/generics-sop,
12325 generics-sop}.")
12326 (license license:bsd-3)))
12327
12328 (define-public ghc-special-values
12329 (package
12330 (name "ghc-special-values")
12331 (version "0.1.0.0")
12332 (source
12333 (origin
12334 (method url-fetch)
12335 (uri (string-append
12336 "https://hackage.haskell.org/package/special-values/"
12337 "special-values-" version ".tar.gz"))
12338 (sha256
12339 (base32
12340 "1kkdw2c4d2hha99v9f89ahmifjxp7fxmxyfwq9a8xk6s0h9xs51w"))))
12341 (build-system haskell-build-system)
12342 (inputs
12343 `(("ghc-scientific" ,ghc-scientific)
12344 ("ghc-ieee754" ,ghc-ieee754)
12345 ("ghc-nats" ,ghc-nats)))
12346 (home-page
12347 "https://github.com/minad/special-values#readme")
12348 (synopsis "Typeclass providing special values")
12349 (description
12350 "Special values are provided by a SpecialValues typeclass. Those can be
12351 used for example by QuickCheck, see quickcheck-special." )
12352 (license license:expat)))
12353
12354 (define-public ghc-split
12355 (package
12356 (name "ghc-split")
12357 (version "0.2.3.3")
12358 (outputs '("out" "static" "doc"))
12359 (source
12360 (origin
12361 (method url-fetch)
12362 (uri (string-append
12363 "https://hackage.haskell.org/package/split/split-"
12364 version
12365 ".tar.gz"))
12366 (sha256
12367 (base32
12368 "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x"))))
12369 (build-system haskell-build-system)
12370 (arguments
12371 `(#:cabal-revision
12372 ("2" "1c8bcssxq5rkxkixgms6w6x6lzf4n7cxk6cx6av1dp3lixdy9j34")))
12373 (native-inputs
12374 `(("ghc-quickcheck" ,ghc-quickcheck)))
12375 (home-page "https://hackage.haskell.org/package/split")
12376 (synopsis "Combinator library for splitting lists")
12377 (description "This package provides a collection of Haskell functions for
12378 splitting lists into parts, akin to the @code{split} function found in several
12379 mainstream languages.")
12380 (license license:bsd-3)))
12381
12382 (define-public ghc-splitmix
12383 (package
12384 (name "ghc-splitmix")
12385 (version "0.0.3")
12386 (source
12387 (origin
12388 (method url-fetch)
12389 (uri (string-append "https://hackage.haskell.org/package/"
12390 "splitmix/splitmix-" version ".tar.gz"))
12391 (sha256
12392 (base32
12393 "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w"))))
12394 (build-system haskell-build-system)
12395 (inputs
12396 `(("ghc-random" ,ghc-random)))
12397 (native-inputs
12398 `(("ghc-hunit" ,ghc-hunit)
12399 ("ghc-async" ,ghc-async)
12400 ("ghc-base-compat-batteries" ,ghc-base-compat-batteries)
12401 ("ghc-tf-random" ,ghc-tf-random)
12402 ("ghc-vector" ,ghc-vector)))
12403 (home-page "https://hackage.haskell.org/package/splitmix")
12404 (synopsis "Fast and splittable pseudorandom number generator")
12405 (description "This package provides a Pure Haskell implementation of the
12406 SplitMix pseudorandom number generator. SplitMix is a \"splittable\"
12407 pseudorandom number generator that is quite fast: 9 64-bit
12408 arithmetic/logical operations per 64 bits generated. SplitMix is tested
12409 with two standard statistical test suites (DieHarder and TestU01, this
12410 implementation only using the former) and it appears to be adequate for
12411 \"everyday\" use, such as Monte Carlo algorithms and randomized data
12412 structures where speed is important. In particular, it @strong{should not
12413 be used for cryptographic or security applications}, because generated
12414 sequences of pseudorandom values are too predictable (the mixing functions
12415 are easily inverted, and two successive outputs suffice to reconstruct the
12416 internal state).")
12417 (license license:bsd-3)))
12418
12419 (define-public ghc-splitmix-bootstrap
12420 (package
12421 (inherit ghc-splitmix)
12422 (name "ghc-splitmix-bootstrap")
12423 (arguments `(#:tests? #f))
12424 (native-inputs '())
12425 (properties '((hidden? #t)))))
12426
12427 (define-public ghc-spoon
12428 (package
12429 (name "ghc-spoon")
12430 (version "0.3.1")
12431 (source
12432 (origin
12433 (method url-fetch)
12434 (uri (string-append
12435 "https://hackage.haskell.org/package/spoon/spoon-"
12436 version
12437 ".tar.gz"))
12438 (sha256
12439 (base32
12440 "1m41k0mfy6fpfrv2ym4m5jsjaj9xdfl2iqpppd3c4d0fffv51cxr"))))
12441 (build-system haskell-build-system)
12442 (arguments
12443 `(#:cabal-revision
12444 ("1"
12445 "09s5jjcsg4g4qxchq9g2l4i9d5zh3rixpkbiysqcgl69kj8mwv74")))
12446 (home-page
12447 "http://hackage.haskell.org/package/spoon")
12448 (synopsis
12449 "Catch errors thrown from pure computations")
12450 (description
12451 "Takes an error-throwing expression and puts it back in the Maybe it
12452 belongs in.
12453
12454 Note that this suffers from the
12455 @url{https://ghc.haskell.org/trac/ghc/ticket/5902}. Buyer beware.")
12456 (license license:bsd-3)))
12457
12458 (define-public ghc-statevar
12459 (package
12460 (name "ghc-statevar")
12461 (version "1.2")
12462 (source
12463 (origin
12464 (method url-fetch)
12465 (uri (string-append
12466 "https://hackage.haskell.org/package/StateVar/StateVar-"
12467 version
12468 ".tar.gz"))
12469 (sha256
12470 (base32
12471 "12sz6zkc9j5z3lwrjvljrkfxa5vhwnir5wsarigz2f6d3w13dh5g"))))
12472 (build-system haskell-build-system)
12473 (home-page "https://hackage.haskell.org/package/StateVar")
12474 (synopsis "State variables for Haskell")
12475 (description "This package provides state variables, which are references
12476 in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
12477 (license license:bsd-3)))
12478
12479 (define-public ghc-statistics
12480 (package
12481 (name "ghc-statistics")
12482 (version "0.15.1.1")
12483 (source
12484 (origin
12485 (method url-fetch)
12486 (uri (string-append "https://hackage.haskell.org/package/"
12487 "statistics-" version "/"
12488 "statistics-" version ".tar.gz"))
12489 (sha256
12490 (base32
12491 "015rn74f1glii26j4b2fh1fc63xvxzrh2xckiancz48kc8jdzabj"))))
12492 (build-system haskell-build-system)
12493 (arguments
12494 '(;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse".
12495 #:tests? #f))
12496 (inputs
12497 `(("ghc-aeson" ,ghc-aeson)
12498 ("ghc-async" ,ghc-async)
12499 ("ghc-base-orphans" ,ghc-base-orphans)
12500 ("ghc-dense-linear-algebra" ,ghc-dense-linear-algebra)
12501 ("ghc-math-functions" ,ghc-math-functions)
12502 ("ghc-monad-par" ,ghc-monad-par)
12503 ("ghc-mwc-random" ,ghc-mwc-random)
12504 ("ghc-primitive" ,ghc-primitive)
12505 ("ghc-vector" ,ghc-vector)
12506 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
12507 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
12508 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
12509 (native-inputs
12510 `(("ghc-hunit" ,ghc-hunit)
12511 ("ghc-quickcheck" ,ghc-quickcheck)
12512 ("ghc-ieee754" ,ghc-ieee754)
12513 ("ghc-test-framework" ,ghc-test-framework)
12514 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
12515 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
12516 (home-page "https://github.com/bos/mwc-random")
12517 (synopsis "Haskell library of statistical types, data, and functions")
12518 (description "This library provides a number of common functions
12519 and types useful in statistics. We focus on high performance, numerical
12520 robustness, and use of good algorithms. Where possible, we provide references
12521 to the statistical literature.
12522
12523 The library's facilities can be divided into four broad categories:
12524
12525 @itemize
12526 @item Working with widely used discrete and continuous probability
12527 distributions. (There are dozens of exotic distributions in use; we focus
12528 on the most common.)
12529
12530 @item Computing with sample data: quantile estimation, kernel density
12531 estimation, histograms, bootstrap methods, significance testing,
12532 and regression and autocorrelation analysis.
12533
12534 @item Random variate generation under several different distributions.
12535
12536 @item Common statistical tests for significant differences between samples.
12537 @end itemize")
12538 (license license:bsd-2)))
12539
12540 (define-public ghc-stm-chans
12541 (package
12542 (name "ghc-stm-chans")
12543 (version "3.0.0.4")
12544 (source
12545 (origin
12546 (method url-fetch)
12547 (uri (string-append "https://hackage.haskell.org/package/"
12548 "stm-chans-" version "/"
12549 "stm-chans-" version ".tar.gz"))
12550 (sha256
12551 (base32
12552 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
12553 (build-system haskell-build-system)
12554 (home-page "https://hackage.haskell.org/package/stm-chans")
12555 (synopsis "Additional types of channels for ghc-stm")
12556 (description "This Haskell package offers a collection of channel types,
12557 similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
12558 features.")
12559 (license license:bsd-3)))
12560
12561 (define-public ghc-stm-conduit
12562 (package
12563 (name "ghc-stm-conduit")
12564 (version "4.0.1")
12565 (source
12566 (origin
12567 (method url-fetch)
12568 (uri (string-append "https://hackage.haskell.org/package/stm-conduit/"
12569 "stm-conduit-" version ".tar.gz"))
12570 (sha256
12571 (base32
12572 "0hhlxvpp7mah8dcvkknh6skx44jfk3092zz2w52zlr255bkmn3p8"))))
12573 (build-system haskell-build-system)
12574 (inputs
12575 `(("ghc-stm-chans" ,ghc-stm-chans)
12576 ("ghc-cereal" ,ghc-cereal)
12577 ("ghc-cereal-conduit" ,ghc-cereal-conduit)
12578 ("ghc-conduit" ,ghc-conduit)
12579 ("ghc-conduit-extra" ,ghc-conduit-extra)
12580 ("ghc-exceptions" ,ghc-exceptions)
12581 ("ghc-resourcet" ,ghc-resourcet)
12582 ("ghc-async" ,ghc-async)
12583 ("ghc-monad-loops" ,ghc-monad-loops)
12584 ("ghc-unliftio" ,ghc-unliftio)))
12585 (native-inputs
12586 `(("ghc-doctest" ,ghc-doctest)
12587 ("ghc-quickcheck" ,ghc-quickcheck)
12588 ("ghc-hunit" ,ghc-hunit)
12589 ("ghc-test-framework" ,ghc-test-framework)
12590 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
12591 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
12592 (home-page "https://github.com/cgaebel/stm-conduit")
12593 (synopsis "Introduces conduits to channels and promotes using conduits concurrently")
12594 (description
12595 "This package provides two simple conduit wrappers around STM channels: a
12596 source and a sink.")
12597 (license license:bsd-3)))
12598
12599 (define-public ghc-stmonadtrans
12600 (package
12601 (name "ghc-stmonadtrans")
12602 (version "0.4.3")
12603 (source
12604 (origin
12605 (method url-fetch)
12606 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
12607 "/STMonadTrans-" version ".tar.gz"))
12608 (sha256
12609 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
12610 (build-system haskell-build-system)
12611 (home-page "https://hackage.haskell.org/package/STMonadTrans")
12612 (synopsis "Monad transformer version of the ST monad")
12613 (description
12614 "This package provides a monad transformer version of the @code{ST} monad
12615 for strict state threads.")
12616 (license license:bsd-3)))
12617
12618 (define-public ghc-storable-complex
12619 (package
12620 (name "ghc-storable-complex")
12621 (version "0.2.3.0")
12622 (source
12623 (origin
12624 (method url-fetch)
12625 (uri (string-append
12626 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
12627 version ".tar.gz"))
12628 (sha256
12629 (base32 "0fnwbfmd5vsaaqvf9182qdcjrzcfjd1zhdyvjwzifbwvn6r9kx4s"))))
12630 (build-system haskell-build-system)
12631 (inputs
12632 `(("ghc-base-orphans" ,ghc-base-orphans)))
12633 (home-page "https://github.com/cartazio/storable-complex")
12634 (synopsis "Haskell Storable instance for Complex")
12635 (description "This package provides a Haskell library including a
12636 Storable instance for Complex which is binary compatible with C99, C++
12637 and Fortran complex data types.")
12638 (license license:bsd-3)))
12639
12640 (define-public ghc-storable-record
12641 (package
12642 (name "ghc-storable-record")
12643 (version "0.0.4")
12644 (source
12645 (origin
12646 (method url-fetch)
12647 (uri
12648 (string-append
12649 "https://hackage.haskell.org/package/storable-record/"
12650 "storable-record-" version ".tar.gz"))
12651 (sha256
12652 (base32
12653 "0hjs1km0fc9ch0i1rbycxia5w3939hk4p4md73ikgg4aipqb5zyf"))))
12654 (build-system haskell-build-system)
12655 (inputs
12656 `(("ghc-semigroups" ,ghc-semigroups)
12657 ("ghc-utility-ht" ,ghc-utility-ht)
12658 ("ghc-storablevector" ,ghc-storablevector)
12659 ("ghc-timeit" ,ghc-timeit)))
12660 (home-page "https://hackage.haskell.org/package/storable-record")
12661 (synopsis "Elegant definition of Storable instances for records")
12662 (description "With this package you can build a Storable instance of
12663 a record type from Storable instances of its elements in an elegant way.
12664 It does not do any magic, just a bit arithmetic to compute the right
12665 offsets, that would be otherwise done manually or by a preprocessor like
12666 C2HS. There is no guarantee that the generated memory layout is
12667 compatible with that of a corresponding C struct. However, the module
12668 generates the smallest layout that is possible with respect to the
12669 alignment of the record elements.")
12670 (license license:bsd-3)))
12671
12672 (define-public ghc-storable-tuple
12673 (package
12674 (name "ghc-storable-tuple")
12675 (version "0.0.3.3")
12676 (source
12677 (origin
12678 (method url-fetch)
12679 (uri
12680 (string-append
12681 "https://hackage.haskell.org/package/storable-tuple/"
12682 "storable-tuple-" version ".tar.gz"))
12683 (sha256
12684 (base32
12685 "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw"))))
12686 (build-system haskell-build-system)
12687 (inputs
12688 `(("ghc-storable-record" ,ghc-storable-record)
12689 ("ghc-utility-ht" ,ghc-utility-ht)
12690 ("ghc-base-orphans" ,ghc-base-orphans)))
12691 (home-page "https://hackage.haskell.org/package/storable-tuple")
12692 (synopsis "Storable instance for pairs and triples")
12693 (description "This package provides a Storable instance for pairs
12694 and triples which should be binary compatible with C99 and C++. The
12695 only purpose of this package is to provide a standard location for this
12696 instance so that other packages needing this instance can play nicely
12697 together.")
12698 (license license:bsd-3)))
12699
12700 (define-public ghc-storablevector
12701 (package
12702 (name "ghc-storablevector")
12703 (version "0.2.13")
12704 (source
12705 (origin
12706 (method url-fetch)
12707 (uri
12708 (string-append
12709 "https://hackage.haskell.org/package/storablevector/storablevector-"
12710 version ".tar.gz"))
12711 (sha256
12712 (base32
12713 "1zmr738vwnhnyxbikayqnaz31ilv2qlmscp6iqgl7adcfbal4dzq"))))
12714 (build-system haskell-build-system)
12715 (inputs
12716 `(("ghc-non-negative" ,ghc-non-negative)
12717 ("ghc-utility-ht" ,ghc-utility-ht)
12718 ("ghc-semigroups" ,ghc-semigroups)
12719 ("ghc-unsafe" ,ghc-unsafe)
12720 ("ghc-quickcheck" ,ghc-quickcheck)
12721 ("ghc-syb" ,ghc-syb)))
12722 (home-page "https://wiki.haskell.org/Storable_Vector")
12723 (synopsis "Fast, packed, strict storable arrays with a list interface")
12724 (description "This library provides fast, packed, strict storable
12725 arrays with a list interface, a chunky lazy list interface with variable
12726 chunk size and an interface for write access via the ST monad. This is
12727 much like bytestring and binary but can be used for every
12728 @code{Foreign.Storable.Storable} type. See also
12729 @url{http://hackage.haskell.org/package/vector}, a library with a
12730 similar intention.
12731
12732 This library does not do advanced fusion optimization, since especially
12733 for lazy vectors this would either be incorrect or not applicable. See
12734 @url{http://hackage.haskell.org/package/storablevector-streamfusion} for
12735 a library that provides fusion with lazy lists.")
12736 (license license:bsd-3)))
12737
12738 (define-public ghc-streaming-commons
12739 (package
12740 (name "ghc-streaming-commons")
12741 (version "0.2.1.1")
12742 (source
12743 (origin
12744 (method url-fetch)
12745 (uri (string-append "https://hackage.haskell.org/package/"
12746 "streaming-commons/streaming-commons-"
12747 version ".tar.gz"))
12748 (sha256
12749 (base32
12750 "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52"))))
12751 (build-system haskell-build-system)
12752 (inputs
12753 `(("ghc-async" ,ghc-async)
12754 ("ghc-blaze-builder" ,ghc-blaze-builder)
12755 ("ghc-network" ,ghc-network)
12756 ("ghc-random" ,ghc-random)
12757 ("ghc-zlib" ,ghc-zlib)))
12758 (native-inputs
12759 `(("ghc-quickcheck" ,ghc-quickcheck)
12760 ("ghc-hspec" ,ghc-hspec)
12761 ("hspec-discover" ,hspec-discover)))
12762 (home-page "https://hackage.haskell.org/package/streaming-commons")
12763 (synopsis "Conduit and pipes needed by some streaming data libraries")
12764 (description "This package provides low-dependency functionality commonly
12765 needed by various Haskell streaming data libraries, such as @code{conduit} and
12766 @code{pipe}s.")
12767 (license license:expat)))
12768
12769 (define-public ghc-strict
12770 (package
12771 (name "ghc-strict")
12772 (version "0.3.2")
12773 (source
12774 (origin
12775 (method url-fetch)
12776 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
12777 version ".tar.gz"))
12778 (sha256
12779 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
12780 (build-system haskell-build-system)
12781 (home-page "https://hackage.haskell.org/package/strict")
12782 (synopsis "Strict data types and String IO")
12783 (description
12784 "This package provides strict versions of some standard Haskell data
12785 types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
12786 IO operations.")
12787 (license license:bsd-3)))
12788
12789 (define-public ghc-stringbuilder
12790 (package
12791 (name "ghc-stringbuilder")
12792 (version "0.5.1")
12793 (source
12794 (origin
12795 (method url-fetch)
12796 (uri (string-append
12797 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
12798 version
12799 ".tar.gz"))
12800 (sha256
12801 (base32
12802 "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q"))))
12803 (build-system haskell-build-system)
12804 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
12805 ; enabled
12806 (home-page "https://hackage.haskell.org/package/stringbuilder")
12807 (synopsis "Writer monad for multi-line string literals")
12808 (description "This package provides a writer monad for multi-line string
12809 literals.")
12810 (license license:expat)))
12811
12812 (define-public ghc-string-qq
12813 (package
12814 (name "ghc-string-qq")
12815 (version "0.0.4")
12816 (source
12817 (origin
12818 (method url-fetch)
12819 (uri (string-append
12820 "https://hackage.haskell.org/package/string-qq/string-qq-"
12821 version
12822 ".tar.gz"))
12823 (sha256
12824 (base32
12825 "0wfxkw4x6j6jq9nd82k83g2k3hskpsvk1dp4cpkshvjr4wg9qny8"))))
12826 (build-system haskell-build-system)
12827 (native-inputs
12828 `(("ghc-hunit" ,ghc-hunit)))
12829 (home-page "https://hackage.haskell.org/package/string-qq")
12830 (synopsis
12831 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
12832 (description
12833 "This package provides a quasiquoter for non-interpolated strings, texts
12834 and bytestrings.")
12835 (license license:public-domain)))
12836
12837 (define-public ghc-stringsearch
12838 (package
12839 (name "ghc-stringsearch")
12840 (version "0.3.6.6")
12841 (source
12842 (origin
12843 (method url-fetch)
12844 (uri (string-append
12845 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
12846 version
12847 ".tar.gz"))
12848 (sha256
12849 (base32
12850 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
12851 (build-system haskell-build-system)
12852 (arguments
12853 `(#:cabal-revision
12854 ("1" "0z5pz5dccapz9k39r2zmf056m0x2m2lj3jahhnw3mfxlmps07378")))
12855 (home-page "https://bitbucket.org/dafis/stringsearch")
12856 (synopsis "Fast searching, splitting and replacing of ByteStrings")
12857 (description "This package provides several functions to quickly search
12858 for substrings in strict or lazy @code{ByteStrings}. It also provides
12859 functions for breaking or splitting on substrings and replacing all
12860 occurrences of a substring (the first in case of overlaps) with another.")
12861 (license license:bsd-3)))
12862
12863 (define-public ghc-svg-builder
12864 (package
12865 (name "ghc-svg-builder")
12866 (version "0.1.1")
12867 (source
12868 (origin
12869 (method url-fetch)
12870 (uri (string-append "https://hackage.haskell.org/package/"
12871 "svg-builder/svg-builder-" version ".tar.gz"))
12872 (sha256
12873 (base32
12874 "1k420f497lzkymmxin88ql6ib8dziic43avykv31yq65rgrf7l2g"))))
12875 (build-system haskell-build-system)
12876 (inputs
12877 `(("ghc-blaze-builder" ,ghc-blaze-builder)
12878 ("ghc-hashable" ,ghc-hashable)
12879 ("ghc-unordered-containers" ,ghc-unordered-containers)))
12880 (arguments
12881 `(#:cabal-revision
12882 ("1" "1bhp9gvid2iis411k1vvyj5krzc4ahxcqcd9cwx9h37jxg180xw1")))
12883 (home-page "https://github.com/diagrams/svg-builder.git")
12884 (synopsis "Domain-specific language for building Scalable Vector Graphics")
12885 (description "Easy-to-write domain-specific language (DSL) for
12886 building Scalable Vector Graphics (SVG).")
12887 (license license:bsd-3)))
12888
12889 (define-public ghc-syb
12890 (package
12891 (name "ghc-syb")
12892 (version "0.7.1")
12893 (outputs '("out" "static" "doc"))
12894 (source
12895 (origin
12896 (method url-fetch)
12897 (uri (string-append
12898 "https://hackage.haskell.org/package/syb/syb-"
12899 version
12900 ".tar.gz"))
12901 (sha256
12902 (base32
12903 "0077vxzyi9ppbphi2ialac3p376k49qly1kskdgf57wdwix9qjp0"))))
12904 (build-system haskell-build-system)
12905 (inputs
12906 `(("ghc-hunit" ,ghc-hunit)))
12907 (home-page
12908 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
12909 (synopsis "Scrap Your Boilerplate")
12910 (description "This package contains the generics system described in the
12911 /Scrap Your Boilerplate/ papers (see
12912 @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
12913 defines the @code{Data} class of types permitting folding and unfolding of
12914 constructor applications, instances of this class for primitive types, and a
12915 variety of traversals.")
12916 (license license:bsd-3)))
12917
12918 (define-public ghc-system-fileio
12919 (package
12920 (name "ghc-system-fileio")
12921 (version "0.3.16.4")
12922 (source
12923 (origin
12924 (method url-fetch)
12925 (uri (string-append
12926 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
12927 version ".tar.gz"))
12928 (sha256
12929 (base32
12930 "1iy6g1f35gzyj12g9mdiw4zf75mmxpv1l8cyaldgyscsl648pr9l"))))
12931 (build-system haskell-build-system)
12932 (arguments
12933 `(#:phases
12934 (modify-phases %standard-phases
12935 (add-before 'configure 'update-constraints
12936 (lambda _
12937 (substitute* "system-fileio.cabal"
12938 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4"))
12939 #t)))))
12940 (inputs
12941 `(("ghc-system-filepath" ,ghc-system-filepath)
12942 ("ghc-chell" ,ghc-chell)
12943 ("ghc-temporary" ,ghc-temporary)))
12944 (home-page "https://github.com/fpco/haskell-filesystem")
12945 (synopsis "Consistent file system interaction across GHC versions")
12946 (description
12947 "This is a small wrapper around the directory, unix, and Win32 packages,
12948 for use with system-filepath. It provides a consistent API to the various
12949 versions of these packages distributed with different versions of GHC.
12950 In particular, this library supports working with POSIX files that have paths
12951 which can't be decoded in the current locale encoding.")
12952 (license license:expat)))
12953
12954 ;; See ghc-system-filepath-bootstrap. In addition this package depends on
12955 ;; ghc-system-filepath.
12956 (define ghc-system-fileio-bootstrap
12957 (package
12958 (name "ghc-system-fileio-bootstrap")
12959 (version "0.3.16.3")
12960 (source
12961 (origin
12962 (method url-fetch)
12963 (uri (string-append
12964 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
12965 version ".tar.gz"))
12966 (sha256
12967 (base32
12968 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
12969 (build-system haskell-build-system)
12970 (arguments
12971 `(#:tests? #f))
12972 (inputs
12973 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
12974 ("ghc-temporary" ,ghc-temporary)))
12975 (home-page "https://github.com/fpco/haskell-filesystem")
12976 (synopsis "Consistent file system interaction across GHC versions")
12977 (description
12978 "This is a small wrapper around the directory, unix, and Win32 packages,
12979 for use with system-filepath. It provides a consistent API to the various
12980 versions of these packages distributed with different versions of GHC.
12981 In particular, this library supports working with POSIX files that have paths
12982 which can't be decoded in the current locale encoding.")
12983 (license license:expat)))
12984
12985
12986 (define-public ghc-system-filepath
12987 (package
12988 (name "ghc-system-filepath")
12989 (version "0.4.14")
12990 (source
12991 (origin
12992 (method url-fetch)
12993 (uri (string-append
12994 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
12995 version ".tar.gz"))
12996 (sha256
12997 (base32
12998 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
12999 (build-system haskell-build-system)
13000 ;; FIXME: One of the tests fails:
13001 ;; [ FAIL ] tests.validity.posix
13002 ;; note: seed=7310214548328823169
13003 ;; *** Failed! Falsifiable (after 24 tests):
13004 ;; FilePath "/r2\ENQ52\t ;$/o\US=/okG\146\&6\n<u\DC3/5\182\223a\DELN\EOT#\NUL/`[m/\USEKV\ETX([)b6/\ACK\SOo\245\ETBO/f\128\STX`|\EM\"/*\EMA\USD3/\143\&4/\CAN?\SUBee\CANR/9/B0\187Kx4/Vqr\232'b:/\a\234\DLE.\"\179/\ENQ{J/|/G)@^\237/\219ml/\DC3pd\ESC"
13005 (arguments `(#:tests? #f))
13006 (inputs
13007 `(("ghc-chell" ,ghc-chell)
13008 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
13009 ("ghc-quickcheck" ,ghc-quickcheck)))
13010 (home-page "https://github.com/fpco/haskell-filesystem")
13011 (synopsis "High-level, byte-based file and directory path manipulations")
13012 (description
13013 "Provides a FilePath datatype and utility functions for operating on it.
13014 Unlike the filepath package, this package does not simply reuse String,
13015 increasing type safety.")
13016 (license license:expat)))
13017
13018 ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
13019 ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
13020 ;; which depends on ghc-chell and ghc-chell-quickcheck.
13021 ;; Therefore we bootstrap it with tests disabled.
13022 (define ghc-system-filepath-bootstrap
13023 (package
13024 (name "ghc-system-filepath-bootstrap")
13025 (version "0.4.14")
13026 (source
13027 (origin
13028 (method url-fetch)
13029 (uri (string-append
13030 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
13031 version ".tar.gz"))
13032 (sha256
13033 (base32
13034 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
13035 (build-system haskell-build-system)
13036 (arguments
13037 `(#:tests? #f))
13038 (inputs
13039 `(("ghc-quickcheck" ,ghc-quickcheck)))
13040 (home-page "https://github.com/fpco/haskell-filesystem")
13041 (synopsis "High-level, byte-based file and directory path manipulations")
13042 (description
13043 "Provides a FilePath datatype and utility functions for operating on it.
13044 Unlike the filepath package, this package does not simply reuse String,
13045 increasing type safety.")
13046 (license license:expat)))
13047
13048 (define-public ghc-tabular
13049 (package
13050 (name "ghc-tabular")
13051 (version "0.2.2.7")
13052 (source
13053 (origin
13054 (method url-fetch)
13055 (uri (string-append
13056 "https://hackage.haskell.org/package/tabular/tabular-"
13057 version
13058 ".tar.gz"))
13059 (sha256
13060 (base32
13061 "1ysgq7rrks7f98nnvxil8xz1q27hxdgz4szbjhqwzbwd209dmy0k"))))
13062 (build-system haskell-build-system)
13063 (inputs
13064 `(("ghc-csv" ,ghc-csv)
13065 ("ghc-html" ,ghc-html)))
13066 (home-page "https://github.com/bgamari/tabular")
13067 (synopsis "Two-dimensional data tables with rendering functions")
13068 (description
13069 "Tabular provides a Haskell representation of two-dimensional data
13070 tables, the kind that you might find in a spreadsheet or or a research report.
13071 It also comes with some default rendering functions for turning those tables
13072 into ASCII art, simple text with an arbitrary delimiter, CSV, HTML or LaTeX.
13073
13074 Below is an example of the kind of output this library produces. The tabular
13075 package can group rows and columns, each group having one of three
13076 separators (no line, single line, double line) between its members.
13077
13078 @example
13079
13080 || memtest 1 | memtest 2 || time test | time test 2
13081 ====++===========+===========++=============+============
13082 A 1 || hog | terrible || slow | slower
13083 A 2 || pig | not bad || fast | slowest
13084 ----++-----------+-----------++-------------+------------
13085 B 1 || good | awful || intolerable | bearable
13086 B 2 || better | no chance || crawling | amazing
13087 B 3 || meh | well... || worst ever | ok
13088
13089 @end example")
13090 (license license:bsd-3)))
13091
13092 (define-public ghc-tagged
13093 (package
13094 (name "ghc-tagged")
13095 (version "0.8.6")
13096 (source
13097 (origin
13098 (method url-fetch)
13099 (uri (string-append
13100 "https://hackage.haskell.org/package/tagged/tagged-"
13101 version
13102 ".tar.gz"))
13103 (sha256
13104 (base32
13105 "1pciqzxf9ncv954v4r527xkxkn7r5hcr13mfw5dg1xjci3qdw5md"))))
13106 (build-system haskell-build-system)
13107 (arguments
13108 `(#:cabal-revision
13109 ("1" "070xwfw7y81hd63il76dmwbdl9ca1rd07c54zynfx6vpr4wyx4vh")))
13110 (inputs
13111 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
13112 (home-page "https://hackage.haskell.org/package/tagged")
13113 (synopsis "Haskell phantom types to avoid passing dummy arguments")
13114 (description "This library provides phantom types for Haskell 98, to avoid
13115 having to unsafely pass dummy arguments.")
13116 (license license:bsd-3)))
13117
13118 (define-public ghc-tar
13119 (package
13120 (name "ghc-tar")
13121 (version "0.5.1.1")
13122 (source
13123 (origin
13124 (method url-fetch)
13125 (uri (string-append
13126 "https://hackage.haskell.org/package/tar/tar-"
13127 version ".tar.gz"))
13128 (sha256
13129 (base32
13130 "1ppim7cgmn7ng8zbdrwkxhhizc30h15h1c9cdlzamc5jcagl915k"))))
13131 (build-system haskell-build-system)
13132 ;; FIXME: 2/24 tests fail.
13133 (arguments `(#:tests? #f))
13134 (inputs
13135 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
13136 ("ghc-quickcheck" ,ghc-quickcheck)
13137 ("ghc-tasty" ,ghc-tasty)
13138 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13139 (home-page "https://hackage.haskell.org/package/tar")
13140 (synopsis "Reading, writing and manipulating \".tar\" archive files")
13141 (description
13142 "This library is for working with \\\"@.tar@\\\" archive files.
13143 It can read and write a range of common variations of the tar archive format
13144 including V7, POSIX USTAR and GNU formats. It provides support for packing and
13145 unpacking portable archives. This makes it suitable for distribution but not
13146 backup because details like file ownership and exact permissions are not
13147 preserved. It also provides features for random access to archive content using
13148 an index.")
13149 (license license:bsd-3)))
13150
13151 (define-public ghc-tar-conduit
13152 (package
13153 (name "ghc-tar-conduit")
13154 (version "0.3.2")
13155 (source
13156 (origin
13157 (method url-fetch)
13158 (uri (string-append "https://hackage.haskell.org/package/"
13159 "tar-conduit/tar-conduit-" version ".tar.gz"))
13160 (sha256
13161 (base32
13162 "0bgn3hyf20g1gfnzy8f41s7nj54kfcyjk2izw99svrw8f3dphi80"))))
13163 (build-system haskell-build-system)
13164 (inputs
13165 `(("ghc-conduit" ,ghc-conduit)
13166 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
13167 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
13168 (native-inputs
13169 `(("ghc-quickcheck" ,ghc-quickcheck)
13170 ("ghc-conduit-extra" ,ghc-conduit-extra)
13171 ("ghc-hspec" ,ghc-hspec)
13172 ("ghc-hspec" ,ghc-hspec)
13173 ("ghc-weigh" ,ghc-weigh)))
13174 (home-page "https://github.com/snoyberg/tar-conduit#readme")
13175 (synopsis "Extract and create tar files using conduit for streaming")
13176 (description "This library provides a conduit-based, streaming
13177 interface for extracting and creating tar files.")
13178 (license license:expat)))
13179
13180 (define-public ghc-temporary
13181 (package
13182 (name "ghc-temporary")
13183 (version "1.3")
13184 (source
13185 (origin
13186 (method url-fetch)
13187 (uri (string-append
13188 "https://hackage.haskell.org/package/temporary/temporary-"
13189 version
13190 ".tar.gz"))
13191 (sha256
13192 (base32
13193 "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c"))))
13194 (build-system haskell-build-system)
13195 (inputs
13196 `(("ghc-exceptions" ,ghc-exceptions)
13197 ("ghc-random" ,ghc-random)))
13198 (native-inputs
13199 `(("ghc-base-compat" ,ghc-base-compat)
13200 ("ghc-tasty" ,ghc-tasty)
13201 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
13202 (home-page "https://www.github.com/batterseapower/temporary")
13203 (synopsis "Temporary file and directory support")
13204 (description "The functions for creating temporary files and directories
13205 in the Haskelll base library are quite limited. This library just repackages
13206 the Cabal implementations of its own temporary file and folder functions so
13207 that you can use them without linking against Cabal or depending on it being
13208 installed.")
13209 (license license:bsd-3)))
13210
13211 (define-public ghc-temporary-rc
13212 (package
13213 (name "ghc-temporary-rc")
13214 (version "1.2.0.3")
13215 (source
13216 (origin
13217 (method url-fetch)
13218 (uri (string-append
13219 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
13220 version
13221 ".tar.gz"))
13222 (sha256
13223 (base32
13224 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
13225 (build-system haskell-build-system)
13226 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
13227 (home-page
13228 "https://www.github.com/feuerbach/temporary")
13229 (synopsis
13230 "Portable temporary file and directory support")
13231 (description
13232 "The functions for creating temporary files and directories in the base
13233 library are quite limited. The unixutils package contains some good ones, but
13234 they aren't portable to Windows. This library just repackages the Cabal
13235 implementations of its own temporary file and folder functions so that you can
13236 use them without linking against Cabal or depending on it being installed.
13237 This is a better maintained fork of the \"temporary\" package.")
13238 (license license:bsd-3)))
13239
13240 (define-public ghc-terminal-size
13241 (package
13242 (name "ghc-terminal-size")
13243 (version "0.3.2.1")
13244 (source (origin
13245 (method url-fetch)
13246 (uri (string-append
13247 "https://hackage.haskell.org/package/terminal-size/"
13248 "terminal-size-" version ".tar.gz"))
13249 (sha256
13250 (base32
13251 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
13252 (build-system haskell-build-system)
13253 (home-page "https://hackage.haskell.org/package/terminal-size")
13254 (synopsis "Get terminal window height and width")
13255 (description "Get terminal window height and width without ncurses
13256 dependency.")
13257 (license license:bsd-3)))
13258
13259 (define-public ghc-texmath
13260 (package
13261 (name "ghc-texmath")
13262 (version "0.11.3")
13263 (source (origin
13264 (method url-fetch)
13265 (uri (string-append "https://hackage.haskell.org/package/"
13266 "texmath/texmath-" version ".tar.gz"))
13267 (sha256
13268 (base32
13269 "03rpxbp43bjs62mmw4hv4785n6f6nbf8kj2y9mma5nzk6i2xs09f"))))
13270 (build-system haskell-build-system)
13271 (inputs
13272 `(("ghc-syb" ,ghc-syb)
13273 ("ghc-network-uri" ,ghc-network-uri)
13274 ("ghc-split" ,ghc-split)
13275 ("ghc-temporary" ,ghc-temporary)
13276 ("ghc-utf8-string" ,ghc-utf8-string)
13277 ("ghc-xml" ,ghc-xml)
13278 ("ghc-pandoc-types" ,ghc-pandoc-types)))
13279 (home-page "https://github.com/jgm/texmath")
13280 (synopsis "Conversion between formats used to represent mathematics")
13281 (description
13282 "The texmath library provides functions to read and write TeX math,
13283 presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
13284 Office). Support is also included for converting math formats to pandoc's
13285 native format (allowing conversion, via pandoc, to a variety of different
13286 markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
13287 it can parse and apply LaTeX macros.")
13288 (license license:gpl2+)))
13289
13290 (define-public ghc-text-binary
13291 (package
13292 (name "ghc-text-binary")
13293 (version "0.2.1.1")
13294 (source
13295 (origin
13296 (method url-fetch)
13297 (uri (string-append "https://hackage.haskell.org/package/"
13298 "text-binary/text-binary-"
13299 version ".tar.gz"))
13300 (sha256
13301 (base32
13302 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
13303 (build-system haskell-build-system)
13304 (home-page "https://github.com/kawu/text-binary")
13305 (synopsis "Binary instances for text types")
13306 (description
13307 "This package provides a compatibility layer providing @code{Binary}
13308 instances for strict and lazy text types for versions older than 1.2.1 of the
13309 text package.")
13310 (license license:bsd-2)))
13311
13312 (define-public ghc-text-manipulate
13313 (package
13314 (name "ghc-text-manipulate")
13315 (version "0.2.0.1")
13316 (source
13317 (origin
13318 (method url-fetch)
13319 (uri (string-append
13320 "https://hackage.haskell.org/package/text-manipulate"
13321 "/text-manipulate-"
13322 version
13323 ".tar.gz"))
13324 (sha256
13325 (base32
13326 "0bwxyjj3ll45srxhsp2ihikgqglvjc6m02ixr8xpvyqwkcfwgsg0"))))
13327 (build-system haskell-build-system)
13328 (native-inputs
13329 `(("ghc-tasty" ,ghc-tasty)
13330 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
13331 (home-page
13332 "https://github.com/brendanhay/text-manipulate")
13333 (synopsis
13334 "Case conversion, word boundary manipulation, and textual subjugation")
13335 (description
13336 "Manipulate identifiers and structurally non-complex pieces of text by
13337 delimiting word boundaries via a combination of whitespace,
13338 control-characters, and case-sensitivity.
13339
13340 Has support for common idioms like casing of programmatic variable names,
13341 taking, dropping, and splitting by word, and modifying the first character of
13342 a piece of text.
13343
13344 Caution: this library makes heavy use of the text library's internal loop
13345 optimisation framework. Since internal modules are not guaranteed to have a
13346 stable API there is potential for build breakage when the text dependency is
13347 upgraded. Consider yourself warned!")
13348 (license license:mpl2.0)))
13349
13350 (define-public ghc-text-metrics
13351 (package
13352 (name "ghc-text-metrics")
13353 (version "0.3.0")
13354 (source
13355 (origin
13356 (method url-fetch)
13357 (uri (string-append "https://hackage.haskell.org/package/"
13358 "text-metrics/text-metrics-" version ".tar.gz"))
13359 (sha256
13360 (base32
13361 "18mzxwkdvjp31r720ai9bnxr638qq8x3a2v408bz0d8f0rsayx1q"))))
13362 (build-system haskell-build-system)
13363 (inputs
13364 `(("ghc-vector" ,ghc-vector)))
13365 (native-inputs
13366 `(("ghc-quickcheck" ,ghc-quickcheck)
13367 ("ghc-hspec" ,ghc-hspec)))
13368 (arguments
13369 `(#:cabal-revision
13370 ("4" "017drxq9x56b345d8w5m8xdsi1zzs0z16pbdx8j35cd1lsnh3kf1")))
13371 (home-page "https://github.com/mrkkrp/text-metrics")
13372 (synopsis "Calculate various string metrics efficiently")
13373 (description "This library provides tools to calculate various
13374 string metrics efficiently.")
13375 (license license:bsd-3)))
13376
13377 (define-public ghc-tf-random
13378 (package
13379 (name "ghc-tf-random")
13380 (version "0.5")
13381 (outputs '("out" "static" "doc"))
13382 (source
13383 (origin
13384 (method url-fetch)
13385 (uri (string-append
13386 "https://hackage.haskell.org/package/tf-random/tf-random-"
13387 version
13388 ".tar.gz"))
13389 (sha256
13390 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
13391 (build-system haskell-build-system)
13392 (inputs
13393 `(("ghc-primitive" ,ghc-primitive)
13394 ("ghc-random" ,ghc-random)))
13395 (home-page "https://hackage.haskell.org/package/tf-random")
13396 (synopsis "High-quality splittable pseudorandom number generator")
13397 (description "This package contains an implementation of a high-quality
13398 splittable pseudorandom number generator. The generator is based on a
13399 cryptographic hash function built on top of the ThreeFish block cipher. See
13400 the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
13401 Hashing\" by Claessen, Pałka for details and the rationale of the design.")
13402 (license license:bsd-3)))
13403
13404 (define-public ghc-th-abstraction
13405 (package
13406 (name "ghc-th-abstraction")
13407 (version "0.3.1.0")
13408 (source
13409 (origin
13410 (method url-fetch)
13411 (uri (string-append "https://hackage.haskell.org/package/"
13412 "th-abstraction/th-abstraction-"
13413 version ".tar.gz"))
13414 (sha256
13415 (base32
13416 "1f81w0gshvc816cf9qz0f19jsrzh6wpzmmy317xrgn63dv61p7jb"))))
13417 (build-system haskell-build-system)
13418 (home-page "https://github.com/glguy/th-abstraction")
13419 (synopsis "Nicer interface for reified information about data types")
13420 (description
13421 "This package normalizes variations in the interface for inspecting
13422 datatype information via Template Haskell so that packages and support a
13423 single, easier to use informational datatype while supporting many versions of
13424 Template Haskell.")
13425 (license license:isc)))
13426
13427 (define-public ghc-th-expand-syns
13428 (package
13429 (name "ghc-th-expand-syns")
13430 (version "0.4.5.0")
13431 (source (origin
13432 (method url-fetch)
13433 (uri (string-append "https://hackage.haskell.org/package/"
13434 "th-expand-syns/th-expand-syns-"
13435 version ".tar.gz"))
13436 (sha256
13437 (base32
13438 "1p4wfyycan8zsp9wi7npx36qwbfsbcgdyxi3ii51scf69dkrx42y"))))
13439 (build-system haskell-build-system)
13440 (inputs
13441 `(("ghc-syb" ,ghc-syb)))
13442 (home-page "https://hackage.haskell.org/package/th-expand-syns")
13443 (synopsis "Expands type synonyms in Template Haskell ASTs")
13444 (description
13445 "This package enables users to expand type synonyms in Template Haskell
13446 @dfn{abstract syntax trees} (ASTs).")
13447 (license license:bsd-3)))
13448
13449 (define-public ghc-th-lift
13450 (package
13451 (name "ghc-th-lift")
13452 (version "0.8.0.1")
13453 (source (origin
13454 (method url-fetch)
13455 (uri (string-append "https://hackage.haskell.org/package/"
13456 "th-lift/th-lift-" version ".tar.gz"))
13457 (sha256
13458 (base32
13459 "1a6qlbdg15cfr5rvl9g3blgwx4v1p0xic0pzv13zx165xbc36ld0"))))
13460 (build-system haskell-build-system)
13461 (inputs
13462 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
13463 (home-page "https://github.com/mboes/th-lift")
13464 (synopsis "Derive Template Haskell's Lift class for datatypes")
13465 (description
13466 "This is a Haskell library to derive Template Haskell's Lift class for
13467 datatypes.")
13468 (license license:bsd-3)))
13469
13470 (define-public ghc-th-lift-instances
13471 (package
13472 (name "ghc-th-lift-instances")
13473 (version "0.1.14")
13474 (source
13475 (origin
13476 (method url-fetch)
13477 (uri (string-append "https://hackage.haskell.org/package/"
13478 "th-lift-instances/th-lift-instances-"
13479 version ".tar.gz"))
13480 (sha256
13481 (base32
13482 "0r1b4jnvcj64wp4hfccwkl4a70n1p1q7qzyx6ax7cmd8k961jz78"))))
13483 (build-system haskell-build-system)
13484 (inputs
13485 `(("ghc-th-lift" ,ghc-th-lift)
13486 ("ghc-vector" ,ghc-vector)
13487 ("ghc-quickcheck" ,ghc-quickcheck)))
13488 (home-page "https://github.com/bennofs/th-lift-instances/")
13489 (synopsis "Lift instances for template-haskell for common data types.")
13490 (description "Most data types in the Haskell platform do not have Lift
13491 instances. This package provides orphan instances for @code{containers},
13492 @code{text}, @code{bytestring} and @code{vector}.")
13493 (license license:bsd-3)))
13494
13495 (define-public ghc-th-orphans
13496 (package
13497 (name "ghc-th-orphans")
13498 (version "0.13.9")
13499 (source (origin
13500 (method url-fetch)
13501 (uri (string-append "https://hackage.haskell.org/package/"
13502 "th-orphans/th-orphans-" version ".tar.gz"))
13503 (sha256
13504 (base32
13505 "1xj1gssv77hdx1r3ndg8k49v3ipj3a6r7crkyvx13jrps3m6ng1z"))))
13506 (build-system haskell-build-system)
13507 (inputs
13508 `(("ghc-th-lift" ,ghc-th-lift)
13509 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
13510 ("ghc-th-reify-many" ,ghc-th-reify-many)
13511 ("ghc-generic-deriving" ,ghc-generic-deriving)))
13512 (native-inputs
13513 `(("ghc-hspec" ,ghc-hspec)))
13514 (home-page "https://hackage.haskell.org/package/th-orphans")
13515 (synopsis "Orphan instances for TH datatypes")
13516 (description
13517 "This package provides orphan instances for Template Haskell datatypes. In particular,
13518 instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
13519 and @code{Eq} instances. These instances used to live in the haskell-src-meta
13520 package, and that's where the version number started.")
13521 (license license:bsd-3)))
13522
13523 (define-public ghc-these
13524 (package
13525 (name "ghc-these")
13526 (version "1.0.1")
13527 (source
13528 (origin
13529 (method url-fetch)
13530 (uri (string-append
13531 "https://hackage.haskell.org/package/these/these-"
13532 version
13533 ".tar.gz"))
13534 (sha256
13535 (base32
13536 "1k0pi65g7cm9hzdw6my6bzz2zvddkmj1qs45ymqmi316bpiixk3r"))))
13537 (build-system haskell-build-system)
13538 (inputs
13539 `(("ghc-base-compat" ,ghc-base-compat)
13540 ("ghc-hashable" ,ghc-hashable)
13541 ("ghc-aeson" ,ghc-aeson)
13542 ("ghc-unordered-containers" ,ghc-unordered-containers)
13543 ("ghc-assoc" ,ghc-assoc)
13544 ("ghc-semigroupoids" ,ghc-semigroupoids)
13545 ("ghc-quickcheck" ,ghc-quickcheck)))
13546 (arguments
13547 `(#:cabal-revision
13548 ("1"
13549 "0923r86fnmgpx0msm68aszirh2n19nn5bccgjxfh2146jw4z7w3z")))
13550 (home-page
13551 "https://github.com/isomorphism/these")
13552 (synopsis "Either-or-both data type")
13553 (description
13554 "This package provides a data type @code{These a b} which can
13555 hold a value of either type or values of each type. This is usually
13556 thought of as an \"inclusive or\" type (contrasting @code{Either a b} as
13557 \"exclusive or\") or as an \"outer join\" type (contrasting @code{(a, b)}
13558 as \"inner join\").
13559
13560 @code{data These a b = This a | That b | These a b}
13561
13562 Since version 1, this package was split into parts:
13563
13564 @itemize
13565 @item
13566 https://hackage.haskell.org/package/semialign For @code{Align} and
13567 @code{Zip} type-classes.
13568 @item
13569 https://hackage.haskell.org/package/semialign-indexed For
13570 @code{SemialignWithIndex} class, providing @code{ialignWith} and
13571 @code{izipWith}
13572 @item
13573 https://hackage.haskell.org/package/these-lens For lens combinators.
13574 @item
13575 http://hackage.haskell.org/package/monad-chronicle For transformers
13576 variant of @code{These}.
13577 @end itemize")
13578 (license license:bsd-3)))
13579
13580 (define-public ghc-threads
13581 (package
13582 (name "ghc-threads")
13583 (version "0.5.1.6")
13584 (source
13585 (origin
13586 (method url-fetch)
13587 (uri (string-append "https://hackage.haskell.org/package/"
13588 "threads/threads-" version ".tar.gz"))
13589 (sha256
13590 (base32
13591 "0bjnjhnq3km6xqk0fn1fgyz5xdw4h6lylbwwbcmkkfzwcz0c76hk"))))
13592 (build-system haskell-build-system)
13593 (native-inputs
13594 `(("ghc-concurrent-extra" ,ghc-concurrent-extra)
13595 ("ghc-hunit" ,ghc-hunit)
13596 ("ghc-test-framework" ,ghc-test-framework)
13597 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
13598 (home-page "https://github.com/basvandijk/threads")
13599 (synopsis "Fork threads and wait for their result")
13600 (description "This package provides functions to fork threads and
13601 wait for their result, whether it's an exception or a normal value.
13602 Besides waiting for the termination of a single thread this package also
13603 provides functions to wait for a group of threads to terminate. This
13604 package is similar to the @code{threadmanager}, @code{async} and
13605 @code{spawn} packages. The advantages of this package are:
13606
13607 @itemize
13608 @item Simpler API.
13609 @item More efficient in both space and time.
13610 @item No space-leak when forking a large number of threads.
13611 @item Correct handling of asynchronous exceptions.
13612 @item GHC specific functionality like @code{forkOn} and
13613 @code{forkIOWithUnmask}.
13614 @end itemize")
13615 (license license:bsd-3)))
13616
13617 (define-public ghc-th-reify-many
13618 (package
13619 (name "ghc-th-reify-many")
13620 (version "0.1.9")
13621 (source (origin
13622 (method url-fetch)
13623 (uri (string-append "https://hackage.haskell.org/package/"
13624 "th-reify-many/th-reify-many-"
13625 version ".tar.gz"))
13626 (sha256
13627 (base32
13628 "0hxf56filzqnyrc8q7766vai80y6cgrrbrczx6n93caskl1dv2gq"))))
13629 (build-system haskell-build-system)
13630 (inputs
13631 `(("ghc-safe" ,ghc-safe)
13632 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
13633 (home-page "https://github.com/mgsloan/th-reify-many")
13634 (synopsis "Recurseively reify template haskell datatype info")
13635 (description
13636 "th-reify-many provides functions for recursively reifying top level
13637 declarations. The main intended use case is for enumerating the names of
13638 datatypes reachable from an initial datatype, and passing these names to some
13639 function which generates instances.")
13640 (license license:bsd-3)))
13641
13642 (define-public ghc-time-compat
13643 (package
13644 (name "ghc-time-compat")
13645 (version "1.9.2.2")
13646 (source
13647 (origin
13648 (method url-fetch)
13649 (uri (string-append "https://hackage.haskell.org/package/"
13650 "time-compat/time-compat-" version ".tar.gz"))
13651 (sha256
13652 (base32
13653 "05va0rqs759vbridbcl6hksp967j9anjvys8vx72fnfkhlrn2s52"))))
13654 (build-system haskell-build-system)
13655 (inputs
13656 `(("ghc-base-orphans" ,ghc-base-orphans)))
13657 (native-inputs
13658 `(("ghc-hunit" ,ghc-hunit)
13659 ("ghc-base-compat" ,ghc-base-compat)
13660 ("ghc-quickcheck" ,ghc-quickcheck)
13661 ("ghc-tagged" ,ghc-tagged)
13662 ("ghc-tasty" ,ghc-tasty)
13663 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13664 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13665 (arguments
13666 `(#:cabal-revision
13667 ("1" "0k8ph4sydaiqp8dav4if6hpiaq8h1xsr93khmdr7a1mmfwdxr64r")))
13668 (home-page "https://github.com/phadej/time-compat")
13669 (synopsis "Compatibility package for time")
13670 (description "This package tries to compat as many @code{time}
13671 features as possible.")
13672 (license license:bsd-3)))
13673
13674 (define-public ghc-time-locale-compat
13675 (package
13676 (name "ghc-time-locale-compat")
13677 (version "0.1.1.5")
13678 (source
13679 (origin
13680 (method url-fetch)
13681 (uri (string-append "https://hackage.haskell.org/package/"
13682 "time-locale-compat/time-locale-compat-"
13683 version ".tar.gz"))
13684 (sha256
13685 (base32
13686 "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7"))))
13687 (build-system haskell-build-system)
13688 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
13689 (home-page "https://github.com/khibino/haskell-time-locale-compat")
13690 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
13691 (description "This package contains a wrapped name module for
13692 @code{TimeLocale}.")
13693 (license license:bsd-3)))
13694
13695 (define-public ghc-time-manager
13696 (package
13697 (name "ghc-time-manager")
13698 (version "0.0.0")
13699 (source
13700 (origin
13701 (method url-fetch)
13702 (uri (string-append "https://hackage.haskell.org/package/"
13703 "time-manager/time-manager-" version ".tar.gz"))
13704 (sha256
13705 (base32
13706 "1nzwj0fxz370ks6vr1sylcidx33rnqq45y3q9yv9n4dj43nid9lh"))))
13707 (build-system haskell-build-system)
13708 (inputs
13709 `(("ghc-auto-update" ,ghc-auto-update)))
13710 (home-page "https://github.com/yesodweb/wai")
13711 (synopsis "Scalable timer")
13712 (description "This library contains scalable timer functions provided by a
13713 timer manager.")
13714 (license license:expat)))
13715
13716 (define-public ghc-timeit
13717 (package
13718 (name "ghc-timeit")
13719 (version "2.0")
13720 (source
13721 (origin
13722 (method url-fetch)
13723 (uri
13724 (string-append
13725 "https://hackage.haskell.org/package/timeit/timeit-"
13726 version ".tar.gz"))
13727 (sha256
13728 (base32
13729 "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1"))))
13730 (build-system haskell-build-system)
13731 (home-page "https://github.com/merijn/timeit")
13732 (synopsis "Time monadic computations with an IO base")
13733 (description "This package provides a simple wrapper to show the
13734 used CPU time of monadic computation with an IO base.")
13735 (license license:bsd-3)))
13736
13737 (define-public ghc-timezone-series
13738 (package
13739 (name "ghc-timezone-series")
13740 (version "0.1.9")
13741 (source
13742 (origin
13743 (method url-fetch)
13744 (uri
13745 (string-append
13746 "mirror://hackage/package/timezone-series/timezone-series-"
13747 version ".tar.gz"))
13748 (sha256
13749 (base32
13750 "1blwgnyzqn917rgqkl4dncv9whv3xmk0lav040qq0214vksmvlz5"))))
13751 (build-system haskell-build-system)
13752 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
13753 (synopsis "Enhanced timezone handling for Time")
13754 (description
13755 "This package endows @code{Data.Time}, from the time package, with several
13756 data types and functions for enhanced processing of timezones. For one way to
13757 create timezone series, see the ghc-timezone-olson package.")
13758 (license license:bsd-3)))
13759
13760 (define-public ghc-timezone-olson
13761 (package
13762 (name "ghc-timezone-olson")
13763 (version "0.1.9")
13764 (source
13765 (origin
13766 (method url-fetch)
13767 (uri
13768 (string-append
13769 "mirror://hackage/package/timezone-olson/timezone-olson-"
13770 version ".tar.gz"))
13771 (sha256
13772 (base32
13773 "05abywx1nrcaz0nqzfy4zw62bc5qd7pdfnjvv4drxkwv084ha8rj"))))
13774 (build-system haskell-build-system)
13775 (inputs
13776 `(("ghc-timezone-series" ,ghc-timezone-series)
13777 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)))
13778 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
13779 (synopsis "Parser and renderer for binary Olson timezone files")
13780 (description
13781 "A parser and renderer for binary Olson timezone files whose format
13782 is specified by the tzfile(5) man page on Unix-like systems. For more
13783 information about this format, see
13784 @url{http://www.iana.org/time-zones/repository/tz-link.html}. Functions
13785 are provided for converting the parsed data into @code{TimeZoneSeries}
13786 objects from the timezone-series package.")
13787 (license license:bsd-3)))
13788
13789 (define-public ghc-tldr
13790 (package
13791 (name "ghc-tldr")
13792 (version "0.4.0.2")
13793 (source
13794 (origin
13795 (method url-fetch)
13796 (uri (string-append
13797 "https://hackage.haskell.org/package/tldr/tldr-"
13798 version
13799 ".tar.gz"))
13800 (sha256
13801 (base32
13802 "1zy9yyg7bxiyz1prkvrscggsb9p0f8y0nqxxxzlgzvnh2nmqf8f2"))))
13803 (build-system haskell-build-system)
13804 (inputs
13805 `(("ghc-cmark" ,ghc-cmark)
13806 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
13807 ("ghc-typed-process" ,ghc-typed-process)
13808 ("ghc-semigroups" ,ghc-semigroups)))
13809 (native-inputs
13810 `(("ghc-tasty" ,ghc-tasty)
13811 ("ghc-tasty-golden" ,ghc-tasty-golden)))
13812 (home-page "https://github.com/psibi/tldr-hs#readme")
13813 (synopsis "Haskell tldr client")
13814 (description "This package provides the @command{tldr} command and a
13815 Haskell client library allowing users to update and view @code{tldr} pages
13816 from a shell. The @code{tldr} pages are a community effort to simplify the
13817 man pages with practical examples.")
13818 (license license:bsd-3)))
13819
13820 (define-public ghc-torrent
13821 (package
13822 (name "ghc-torrent")
13823 (version "10000.1.1")
13824 (source
13825 (origin
13826 (method url-fetch)
13827 (uri (string-append
13828 "https://hackage.haskell.org/package/torrent/torrent-"
13829 version ".tar.gz"))
13830 (sha256
13831 (base32 "0m7s0q7f8c7glxzqhf2j86ch5xhk6jnzwwsa4mkywag22119c290"))))
13832 (build-system haskell-build-system)
13833 (inputs
13834 `(("ghc-bencode" ,ghc-bencode)
13835 ("ghc-syb" ,ghc-syb)))
13836 (home-page "https://hackage.haskell.org/package/torrent")
13837 (synopsis "BitTorrent file parser and generator")
13838 (description "This library provides support for parsing and generating
13839 BitTorrent files.")
13840 (license license:bsd-3)))
13841
13842 (define-public ghc-transformers
13843 (package
13844 (name "ghc-transformers")
13845 (version "0.5.6.2")
13846 (source
13847 (origin
13848 (method url-fetch)
13849 (uri (string-append
13850 "mirror://hackage/package/transformers/transformers-"
13851 version
13852 ".tar.gz"))
13853 (sha256
13854 (base32
13855 "0v66j5k0xqk51pmca55wq192qyw2p43s2mgxlz4f95q2c1fpjs5n"))))
13856 (build-system haskell-build-system)
13857 (home-page
13858 "http://hackage.haskell.org/package/transformers")
13859 (synopsis "Concrete functor and monad transformers")
13860 (description
13861 "Transformers provides functor and monad transformers, inspired by the
13862 paper \"Functional Programming with Overloading and Higher-Order
13863 Polymorphism\", by Mark P Jones, in Advanced School of Functional Programming,
13864 1995 @url{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html}.
13865
13866 This package contains:
13867 @itemize
13868 @item the monad transformer class (in @code{Control.Monad.Trans.Class})
13869 @item concrete functor and monad transformers, each with associated operations
13870 and functions to lift operations associated with other transformers.
13871 @end itemize
13872
13873 This package can be used on its own in portable Haskell code, in which case
13874 operations need to be manually lifted through transformer stacks (see
13875 @code{Control.Monad.Trans.Class} for some examples). Alternatively, it can be
13876 used with the non-portable monad classes in the mtl or monads-tf packages,
13877 which automatically lift operations introduced by monad transformers through
13878 other transformers.")
13879 (license license:bsd-3)))
13880
13881 (define-public ghc-transformers-base
13882 (package
13883 (name "ghc-transformers-base")
13884 (version "0.4.5.2")
13885 (source
13886 (origin
13887 (method url-fetch)
13888 (uri (string-append
13889 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
13890 version
13891 ".tar.gz"))
13892 (sha256
13893 (base32
13894 "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h"))))
13895 (build-system haskell-build-system)
13896 (inputs
13897 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
13898 (home-page
13899 "https://hackage.haskell.org/package/transformers-compat")
13900 (synopsis
13901 "Backported transformer library")
13902 (description
13903 "Backported versions of types that were added to transformers in
13904 transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
13905 compatibility to run on old versions of the platform.")
13906 (license license:bsd-3)))
13907
13908 (define-public ghc-transformers-compat
13909 (package
13910 (name "ghc-transformers-compat")
13911 (version "0.6.5")
13912 (source
13913 (origin
13914 (method url-fetch)
13915 (uri (string-append
13916 "https://hackage.haskell.org/package/transformers-compat"
13917 "/transformers-compat-" version ".tar.gz"))
13918 (sha256
13919 (base32
13920 "02v2fjbvcrlpvhcsssap8dy8y9pp95jykrlc5arm39sxa48wyrys"))))
13921 (build-system haskell-build-system)
13922 (home-page "https://github.com/ekmett/transformers-compat/")
13923 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
13924 (description "This package includes backported versions of types that were
13925 added to transformers in transformers 0.3 and 0.4 for users who need strict
13926 transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
13927 but also need those types.")
13928 (license license:bsd-3)))
13929
13930 (define-public ghc-tree-diff
13931 (package
13932 (name "ghc-tree-diff")
13933 (version "0.1")
13934 (source
13935 (origin
13936 (method url-fetch)
13937 (uri (string-append
13938 "https://hackage.haskell.org/package/tree-diff/tree-diff-"
13939 version
13940 ".tar.gz"))
13941 (sha256
13942 (base32
13943 "1156nbqn0pn9lp4zjsy4vv5g5wmy4zxwmbqdgvq349rydynh3ng3"))))
13944 (build-system haskell-build-system)
13945 (inputs
13946 `(("ghc-aeson" ,ghc-aeson)
13947 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13948 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13949 ("ghc-base-compat" ,ghc-base-compat)
13950 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
13951 ("ghc-hashable" ,ghc-hashable)
13952 ("ghc-parsers" ,ghc-parsers)
13953 ("ghc-quickcheck" ,ghc-quickcheck)
13954 ("ghc-scientific" ,ghc-scientific)
13955 ("ghc-tagged" ,ghc-tagged)
13956 ("ghc-unordered-containers" ,ghc-unordered-containers)
13957 ("ghc-uuid-types" ,ghc-uuid-types)
13958 ("ghc-vector" ,ghc-vector)))
13959 (native-inputs
13960 `(("ghc-base-compat" ,ghc-base-compat)
13961 ("ghc-quickcheck" ,ghc-quickcheck)
13962 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13963 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13964 ("ghc-trifecta" ,ghc-trifecta)
13965 ("ghc-tasty" ,ghc-tasty)
13966 ("ghc-tasty-golden" ,ghc-tasty-golden)
13967 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13968 (home-page "https://github.com/phadej/tree-diff")
13969 (synopsis "Compute difference between (expression) trees")
13970 (description "This Haskell library provides a function for computing
13971 the difference between (expression) trees. It also provides a way to
13972 compute the difference between arbitrary abstract datatypes (ADTs) using
13973 @code{Generics}-derivable helpers.")
13974 (license license:bsd-3)))
13975
13976 (define-public ghc-trifecta
13977 (package
13978 (name "ghc-trifecta")
13979 (version "2")
13980 (source (origin
13981 (method url-fetch)
13982 (uri (string-append
13983 "https://hackage.haskell.org/package/trifecta/"
13984 "trifecta-" version ".tar.gz"))
13985 (sha256
13986 (base32
13987 "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk"))))
13988 (build-system haskell-build-system)
13989 (arguments
13990 `(#:tests? #f ; doctest suite fails to build on i686
13991 #:cabal-revision
13992 ("4" "0xbwyvwl6f2zylk60f2akwgq03qv49113xil7b1z1s3vlwbn5aj1")))
13993 (inputs
13994 `(("ghc-reducers" ,ghc-reducers)
13995 ("ghc-semigroups" ,ghc-semigroups)
13996 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13997 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13998 ("ghc-blaze-builder" ,ghc-blaze-builder)
13999 ("ghc-blaze-html" ,ghc-blaze-html)
14000 ("ghc-blaze-markup" ,ghc-blaze-markup)
14001 ("ghc-charset" ,ghc-charset)
14002 ("ghc-comonad" ,ghc-comonad)
14003 ("ghc-fingertree" ,ghc-fingertree)
14004 ("ghc-hashable" ,ghc-hashable)
14005 ("ghc-lens" ,ghc-lens)
14006 ("ghc-parsers" ,ghc-parsers)
14007 ("ghc-profunctors" ,ghc-profunctors)
14008 ("ghc-unordered-containers" ,ghc-unordered-containers)
14009 ("ghc-utf8-string" ,ghc-utf8-string)))
14010 (native-inputs
14011 `(("cabal-doctest" ,cabal-doctest)
14012 ("ghc-doctest" ,ghc-doctest)
14013 ("ghc-quickcheck" ,ghc-quickcheck)))
14014 (home-page "https://github.com/ekmett/trifecta/")
14015 (synopsis "Parser combinator library with convenient diagnostics")
14016 (description "Trifecta is a modern parser combinator library for Haskell,
14017 with slicing and Clang-style colored diagnostics.")
14018 (license license:bsd-3)))
14019
14020 (define-public ghc-tuple-th
14021 (package
14022 (name "ghc-tuple-th")
14023 (version "0.2.5")
14024 (source
14025 (origin
14026 (method url-fetch)
14027 (uri (string-append "https://hackage.haskell.org/package/"
14028 "tuple-th-" version "/"
14029 "tuple-th-" version ".tar.gz"))
14030 (sha256
14031 (base32
14032 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
14033 (build-system haskell-build-system)
14034 (home-page "https://github.com/DanielSchuessler/tuple-th")
14035 (synopsis "Generate utility functions for tuples of statically known size
14036 for Haskell")
14037 (description "This Haskell package contains Template Haskell functions for
14038 generating functions similar to those in @code{Data.List} for tuples of
14039 statically known size.")
14040 (license license:bsd-3)))
14041
14042 (define-public ghc-turtle
14043 (package
14044 (name "ghc-turtle")
14045 (version "1.5.15")
14046 (source
14047 (origin
14048 (method url-fetch)
14049 (uri (string-append
14050 "mirror://hackage/package/turtle/turtle-"
14051 version
14052 ".tar.gz"))
14053 (sha256
14054 (base32
14055 "0yckgsc2a4g5x867gni80ldp226bsnhncfbil4ql6v2zwm4r8p7f"))))
14056 (build-system haskell-build-system)
14057 (inputs
14058 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
14059 ("ghc-async" ,ghc-async)
14060 ("ghc-clock" ,ghc-clock)
14061 ("ghc-exceptions" ,ghc-exceptions)
14062 ("ghc-foldl" ,ghc-foldl)
14063 ("ghc-hostname" ,ghc-hostname)
14064 ("ghc-managed" ,ghc-managed)
14065 ("ghc-semigroups" ,ghc-semigroups)
14066 ("ghc-system-filepath" ,ghc-system-filepath)
14067 ("ghc-system-fileio" ,ghc-system-fileio)
14068 ("ghc-streaming-commons" ,ghc-streaming-commons)
14069 ("ghc-temporary" ,ghc-temporary)
14070 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
14071 ("ghc-optional-args" ,ghc-optional-args)
14072 ("ghc-unix-compat" ,ghc-unix-compat)))
14073 (native-inputs
14074 `(("ghc-doctest" ,ghc-doctest)
14075 ("ghc-fail" ,ghc-fail)))
14076 (arguments
14077 `(#:cabal-revision
14078 ("1" "02q1rv7zx31xz9wnmcqwd4w3iw7623p07iyi21zr0cqlignic5pg")))
14079 (home-page
14080 "http://hackage.haskell.org/package/turtle")
14081 (synopsis "Shell programming, Haskell-style")
14082 (description
14083 "Turtle is a reimplementation of the Unix command line environment in
14084 Haskell so that you can use Haskell as both a shell and a scripting
14085 language. Features include:
14086
14087 @itemize
14088 @item Batteries included: Command an extended suite of predefined utilities.
14089 @item Interoperability: You can still run external shell commands.
14090 @item Portability: Works on Windows, OS X, and Linux.
14091 @item Exception safety: Safely acquire and release resources.
14092 @item Streaming: Transform or fold command output in constant space.
14093 @item Patterns: Use typed regular expressions that can parse structured values.
14094 @item Formatting: Type-safe printf-style text formatting.
14095 @item Modern: Supports text and system-filepath.
14096 @end itemize
14097
14098 Read \"Turtle.Tutorial\" for a detailed tutorial or \"Turtle.Prelude\" for a
14099 quick-start guide. Turtle is designed to be beginner-friendly, but as a
14100 result lacks certain features, like tracing commands. If you feel comfortable
14101 using turtle then you should also check out the Shelly library which provides
14102 similar functionality.")
14103 (license license:bsd-3)))
14104
14105 (define-public ghc-typed-process
14106 (package
14107 (name "ghc-typed-process")
14108 (version "0.2.6.0")
14109 (source
14110 (origin
14111 (method url-fetch)
14112 (uri (string-append "https://hackage.haskell.org/package/"
14113 "typed-process/typed-process-"
14114 version ".tar.gz"))
14115 (sha256
14116 (base32
14117 "1cf2pfym8zdxvvy7xv72ixj7wy3rjrdss6f57k1ysgs66cgsi8ii"))))
14118 (build-system haskell-build-system)
14119 (inputs
14120 `(("ghc-async" ,ghc-async)
14121 ("ghc-unliftio-core" ,ghc-unliftio-core)))
14122 (native-inputs
14123 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
14124 ("ghc-hspec" ,ghc-hspec)
14125 ("hspec-discover" ,hspec-discover)
14126 ("ghc-temporary" ,ghc-temporary)))
14127 (home-page "https://haskell-lang.org/library/typed-process")
14128 (synopsis "Run external processes with strong typing of streams")
14129 (description
14130 "This library provides the ability to launch and interact with external
14131 processes. It wraps around the @code{process} library, and intends to improve
14132 upon it.")
14133 (license license:expat)))
14134
14135 (define-public ghc-uglymemo
14136 (package
14137 (name "ghc-uglymemo")
14138 (version "0.1.0.1")
14139 (source
14140 (origin
14141 (method url-fetch)
14142 (uri (string-append
14143 "https://hackage.haskell.org/package/uglymemo/uglymemo-"
14144 version
14145 ".tar.gz"))
14146 (sha256
14147 (base32
14148 "0ixqg5d0ly1r18jbgaa89i6kjzgi6c5hanw1b1y8c5fbq14yz2gy"))))
14149 (build-system haskell-build-system)
14150 (home-page "https://hackage.haskell.org/package/uglymemo")
14151 (synopsis "Simple memoization function for Haskell")
14152 (description
14153 "This package provides a simple (but internally ugly) memoization
14154 function.")
14155 (license license:public-domain)))
14156
14157 (define-public ghc-unagi-chan
14158 (package
14159 (name "ghc-unagi-chan")
14160 (version "0.4.1.2")
14161 (source
14162 (origin
14163 (method url-fetch)
14164 (uri (string-append "https://hackage.haskell.org/package/unagi-chan"
14165 "/unagi-chan-" version ".tar.gz"))
14166 (sha256
14167 (base32
14168 "1lnl5n4jnjmm4chp461glcwkrrw63rjz3fvprwxcy3lkpbkrqvgn"))))
14169 (build-system haskell-build-system)
14170 (inputs
14171 `(("ghc-atomic-primops" ,ghc-atomic-primops)
14172 ("ghc-primitive" ,ghc-primitive)))
14173 (arguments
14174 `(#:tests? #f ; FIXME: Tests expect primitive 0.7
14175 #:cabal-revision
14176 ("1"
14177 "09pqi867wskwgc5lpn197f895mbn1174ydgllvcppcsmrz2b6yr6")))
14178 (home-page "https://hackage.haskell.org/package/unagi-chan")
14179 (synopsis "Fast concurrent queues with a Chan-like API, and more")
14180 (description
14181 "This library provides implementations of concurrent FIFO queues (for
14182 both general boxed and primitive unboxed values) that are fast, perform well
14183 under contention, and offer a Chan-like interface. The library may be of
14184 limited usefulness outside of x86 architectures where the fetch-and-add
14185 instruction is not available.")
14186 (license license:bsd-3)))
14187
14188 (define-public ghc-unbounded-delays
14189 (package
14190 (name "ghc-unbounded-delays")
14191 (version "0.1.1.0")
14192 (source
14193 (origin
14194 (method url-fetch)
14195 (uri (string-append
14196 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
14197 version
14198 ".tar.gz"))
14199 (sha256
14200 (base32
14201 "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa"))))
14202 (build-system haskell-build-system)
14203 (home-page "https://github.com/basvandijk/unbounded-delays")
14204 (synopsis "Unbounded thread delays and timeouts")
14205 (description "The @code{threadDelay} and @code{timeout} functions from the
14206 Haskell base library use the bounded @code{Int} type for specifying the delay
14207 or timeout period. This package provides alternative functions which use the
14208 unbounded @code{Integer} type.")
14209 (license license:bsd-3)))
14210
14211 (define-public ghc-unexceptionalio
14212 (package
14213 (name "ghc-unexceptionalio")
14214 (version "0.4.0")
14215 (source
14216 (origin
14217 (method url-fetch)
14218 (uri (string-append "https://hackage.haskell.org/package/"
14219 "unexceptionalio-" version "/" "unexceptionalio-"
14220 version ".tar.gz"))
14221 (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p"))))
14222 (build-system haskell-build-system)
14223 (home-page "https://github.com/singpolyma/unexceptionalio")
14224 (synopsis "IO without any non-error, synchronous exceptions")
14225 (description "When you've caught all the exceptions that can be
14226 handled safely, this is what you're left with.")
14227 (license license:isc)))
14228
14229 (define-public ghc-unicode-transforms
14230 (package
14231 (name "ghc-unicode-transforms")
14232 (version "0.3.6")
14233 (source
14234 (origin
14235 (method url-fetch)
14236 (uri (string-append "https://hackage.haskell.org/package/"
14237 "unicode-transforms/unicode-transforms-"
14238 version ".tar.gz"))
14239 (sha256
14240 (base32
14241 "1akscvyssif4hki3g6hy0jmjyr8cqly1whzvzj0km2b3qh0x09l3"))))
14242 (build-system haskell-build-system)
14243 (inputs
14244 `(("ghc-bitarray" ,ghc-bitarray)))
14245 (native-inputs
14246 `(("ghc-quickcheck" ,ghc-quickcheck)
14247 ("ghc-getopt-generics" ,ghc-getopt-generics)
14248 ("ghc-split" ,ghc-split)))
14249 (home-page "https://github.com/composewell/unicode-transforms")
14250 (synopsis "Unicode normalization")
14251 (description "This library provides tools for fast Unicode 12.1.0
14252 normalization in Haskell (normalization forms C, KC, D, and KD).")
14253 (license license:bsd-3)))
14254
14255 (define-public ghc-union-find
14256 (package
14257 (name "ghc-union-find")
14258 (version "0.2")
14259 (source (origin
14260 (method url-fetch)
14261 (uri (string-append
14262 "https://hackage.haskell.org/package/union-find/union-find-"
14263 version ".tar.gz"))
14264 (sha256
14265 (base32
14266 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
14267 (build-system haskell-build-system)
14268 (home-page "https://github.com/nominolo/union-find")
14269 (synopsis "Efficient union and equivalence testing of sets")
14270 (description
14271 "The Union/Find algorithm implements these operations in (effectively)
14272 constant-time:
14273 @enumerate
14274 @item Check whether two elements are in the same equivalence class.
14275 @item Create a union of two equivalence classes.
14276 @item Look up the descriptor of the equivalence class.
14277 @end enumerate\n")
14278 (license license:bsd-3)))
14279
14280 (define-public ghc-uniplate
14281 (package
14282 (name "ghc-uniplate")
14283 (version "1.6.12")
14284 (source
14285 (origin
14286 (method url-fetch)
14287 (uri (string-append
14288 "https://hackage.haskell.org/package/uniplate/uniplate-"
14289 version
14290 ".tar.gz"))
14291 (sha256
14292 (base32
14293 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
14294 (build-system haskell-build-system)
14295 (inputs
14296 `(("ghc-syb" ,ghc-syb)
14297 ("ghc-hashable" ,ghc-hashable)
14298 ("ghc-unordered-containers" ,ghc-unordered-containers)))
14299 (home-page "https://github.com/ndmitchell/uniplate")
14300 (synopsis "Simple, concise and fast generic operations")
14301 (description "Uniplate is a library for writing simple and concise generic
14302 operations. Uniplate has similar goals to the original Scrap Your Boilerplate
14303 work, but is substantially simpler and faster.")
14304 (license license:bsd-3)))
14305
14306 (define-public ghc-unix-compat
14307 (package
14308 (name "ghc-unix-compat")
14309 (version "0.5.2")
14310 (source
14311 (origin
14312 (method url-fetch)
14313 (uri (string-append
14314 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
14315 version
14316 ".tar.gz"))
14317 (sha256
14318 (base32
14319 "1a8brv9fax76b1fymslzyghwa6ma8yijiyyhn12msl3i5x24x6k5"))))
14320 (build-system haskell-build-system)
14321 (home-page
14322 "https://github.com/jystic/unix-compat")
14323 (synopsis "Portable POSIX-compatibility layer")
14324 (description
14325 "This package provides portable implementations of parts of the unix
14326 package. This package re-exports the unix package when available. When it
14327 isn't available, portable implementations are used.")
14328 (license license:bsd-3)))
14329
14330 (define-public ghc-unix-time
14331 (package
14332 (name "ghc-unix-time")
14333 (version "0.4.7")
14334 (source
14335 (origin
14336 (method url-fetch)
14337 (uri (string-append
14338 "https://hackage.haskell.org/package/unix-time/unix-time-"
14339 version
14340 ".tar.gz"))
14341 (sha256
14342 (base32
14343 "02fyh298lm8jsg52i3z0ikazwz477ljqjmhnqr2d88grmn5ky8qr"))))
14344 (build-system haskell-build-system)
14345 (arguments
14346 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
14347 ; is weird, that should be provided by GHC 7.10.2.
14348 (inputs
14349 `(("ghc-old-time" ,ghc-old-time)
14350 ("ghc-old-locale" ,ghc-old-locale)))
14351 (home-page "https://hackage.haskell.org/package/unix-time")
14352 (synopsis "Unix time parser/formatter and utilities")
14353 (description "This library provides fast parsing and formatting utilities
14354 for Unix time in Haskell.")
14355 (license license:bsd-3)))
14356
14357 (define-public ghc-unliftio
14358 (package
14359 (name "ghc-unliftio")
14360 (version "0.2.12")
14361 (source
14362 (origin
14363 (method url-fetch)
14364 (uri (string-append
14365 "https://hackage.haskell.org/package/unliftio/unliftio-"
14366 version
14367 ".tar.gz"))
14368 (sha256
14369 (base32
14370 "02gy1zrxgzg4xmzm8lafsf1nyr3as1q20r8ld73xg3q7rkag9acg"))))
14371 (build-system haskell-build-system)
14372 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
14373 (outputs '("out" "static" "doc"))
14374 (inputs
14375 `(("ghc-async" ,ghc-async)
14376 ("ghc-unliftio-core" ,ghc-unliftio-core)))
14377 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
14378 (home-page "https://github.com/fpco/unliftio")
14379 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
14380 IO (batteries included)")
14381 (description "This Haskell package provides the core @code{MonadUnliftIO}
14382 typeclass, a number of common instances, and a collection of common functions
14383 working with it.")
14384 (license license:expat)))
14385
14386 (define-public ghc-unliftio-core
14387 (package
14388 (name "ghc-unliftio-core")
14389 (version "0.1.2.0")
14390 (source
14391 (origin
14392 (method url-fetch)
14393 (uri (string-append "https://hackage.haskell.org/package/"
14394 "unliftio-core-" version "/"
14395 "unliftio-core-" version ".tar.gz"))
14396 (sha256
14397 (base32
14398 "0y3siyx3drkw7igs380a87h8qfbbgcyxxlcnshp698hcc4yqphr4"))))
14399 (build-system haskell-build-system)
14400 (arguments
14401 `(#:cabal-revision
14402 ("2" "0jqrjjbgicx48wzcjxs1xmih48ay79rhmrz6081dldlfxynli6vz")))
14403 (home-page
14404 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
14405 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
14406 (description "This Haskell package provides the core @code{MonadUnliftIO}
14407 typeclass, instances for base and transformers, and basic utility
14408 functions.")
14409 (license license:expat)))
14410
14411 (define-public ghc-unordered-containers
14412 (package
14413 (name "ghc-unordered-containers")
14414 (version "0.2.10.0")
14415 (outputs '("out" "static" "doc"))
14416 (source
14417 (origin
14418 (method url-fetch)
14419 (uri (string-append
14420 "https://hackage.haskell.org/package/unordered-containers"
14421 "/unordered-containers-" version ".tar.gz"))
14422 (sha256
14423 (base32
14424 "0wy5hfrs880hh8hvp648bl07ws777n3kkmczzdszr7papnyigwb5"))))
14425 (build-system haskell-build-system)
14426 (inputs
14427 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
14428 ("ghc-hunit" ,ghc-hunit)
14429 ("ghc-quickcheck" ,ghc-quickcheck)
14430 ("ghc-test-framework" ,ghc-test-framework)
14431 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
14432 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
14433 ("ghc-hashable" ,ghc-hashable)))
14434 (home-page
14435 "https://github.com/tibbe/unordered-containers")
14436 (synopsis
14437 "Efficient hashing-based container types")
14438 (description
14439 "Efficient hashing-based container types. The containers have been
14440 optimized for performance critical use, both in terms of large data quantities
14441 and high speed.")
14442 (license license:bsd-3)))
14443
14444 (define-public ghc-unordered-containers-bootstrap
14445 (package
14446 (inherit ghc-unordered-containers)
14447 (name "ghc-unordered-containers-bootstrap")
14448 (arguments `(#:tests? #f))
14449 (inputs
14450 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
14451 (properties '((hidden? #t)))))
14452
14453 (define-public ghc-unsafe
14454 (package
14455 (name "ghc-unsafe")
14456 (version "0.0")
14457 (source
14458 (origin
14459 (method url-fetch)
14460 (uri
14461 (string-append
14462 "https://hackage.haskell.org/package/unsafe/unsafe-"
14463 version ".tar.gz"))
14464 (sha256
14465 (base32
14466 "0hc6xr1i3hkz25gdgfx1jqgpsc9mwa05bkfynp0mcfdlyz6782nz"))))
14467 (build-system haskell-build-system)
14468 (home-page "https://hackage.haskell.org/package/unsafe")
14469 (synopsis "Unified interface to unsafe functions")
14470 (description "Safe Haskell introduced the notion of safe and unsafe
14471 modules. In order to make as many as possible modules ``safe'', the
14472 well-known unsafe functions were moved to distinguished modules. This
14473 makes it hard to write packages that work with both old and new versions
14474 of GHC. This package provides a single module System.Unsafe that
14475 exports the unsafe functions from the base package. It provides them in
14476 a style ready for qualification, that is, you should import them by
14477 @code{import qualified System.Unsafe as Unsafe}.")
14478 (license license:bsd-3)))
14479
14480 (define-public ghc-uri-bytestring
14481 (package
14482 (name "ghc-uri-bytestring")
14483 (version "0.3.2.2")
14484 (source
14485 (origin
14486 (method url-fetch)
14487 (uri (string-append "https://hackage.haskell.org/package/"
14488 "uri-bytestring-" version "/"
14489 "uri-bytestring-" version ".tar.gz"))
14490 (sha256
14491 (base32
14492 "0spzv3mwlpxiamd7347sxwcy2xri16ak1y7p1v4fisnvq4jprm67"))))
14493 (build-system haskell-build-system)
14494 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
14495 ("ghc-blaze-builder" ,ghc-blaze-builder)
14496 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
14497 (native-inputs `(("ghc-hunit" ,ghc-hunit)
14498 ("ghc-tasty" ,ghc-tasty)
14499 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14500 ("ghc-hedgehog" ,ghc-hedgehog)
14501 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
14502 ("ghc-base-compat" ,ghc-base-compat)
14503 ("ghc-semigroups" ,ghc-semigroups)
14504 ("ghc-safe" ,ghc-safe)))
14505 (home-page "https://github.com/Soostone/uri-bytestring")
14506 (synopsis "Haskell URI parsing as ByteStrings")
14507 (description "This Haskell package aims to be an RFC3986 compliant URI
14508 parser that uses ByteStrings for parsing and representing the URI data.")
14509 (license license:bsd-3)))
14510
14511 (define-public ghc-utf8-light
14512 (package
14513 (name "ghc-utf8-light")
14514 (version "0.4.2")
14515 (source
14516 (origin
14517 (method url-fetch)
14518 (uri (string-append
14519 "mirror://hackage/package/utf8-light/utf8-light-"
14520 version
14521 ".tar.gz"))
14522 (sha256
14523 (base32
14524 "0rwyc5z331yfnm4hpx0sph6i1zvkd1z10vvglhnp0vc9wy644k0q"))))
14525 (build-system haskell-build-system)
14526 (home-page
14527 "http://hackage.haskell.org/package/utf8-light")
14528 (synopsis "Lightweight unicode support for Haskell")
14529 (description
14530 "This package profides a class for encoding and decoding UTF8 strings
14531 with instances for several common types. It also includes several functions
14532 for working with UTF8. It aims to be lightweight, depending only on Base and
14533 including only one module.")
14534 (license license:bsd-3)))
14535
14536 (define-public ghc-utf8-string
14537 (package
14538 (name "ghc-utf8-string")
14539 (version "1.0.1.1")
14540 (source
14541 (origin
14542 (method url-fetch)
14543 (uri (string-append
14544 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
14545 version
14546 ".tar.gz"))
14547 (sha256
14548 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
14549 (build-system haskell-build-system)
14550 (arguments
14551 `(#:cabal-revision
14552 ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38")))
14553 (home-page "https://github.com/glguy/utf8-string/")
14554 (synopsis "Support for reading and writing UTF8 Strings")
14555 (description
14556 "A UTF8 layer for Strings. The utf8-string package provides operations
14557 for encoding UTF8 strings to Word8 lists and back, and for reading and writing
14558 UTF8 without truncation.")
14559 (license license:bsd-3)))
14560
14561 (define-public ghc-utility-ht
14562 (package
14563 (name "ghc-utility-ht")
14564 (version "0.0.14")
14565 (home-page "https://hackage.haskell.org/package/utility-ht")
14566 (source
14567 (origin
14568 (method url-fetch)
14569 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
14570 (sha256
14571 (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9"))))
14572 (build-system haskell-build-system)
14573 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
14574 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
14575 (description "This package includes Hakell modules providing various
14576 helper functions for Lists, Maybes, Tuples, Functions.")
14577 (license license:bsd-3)))
14578
14579 (define-public ghc-uuid
14580 (package
14581 (name "ghc-uuid")
14582 (version "1.3.13")
14583 (source
14584 (origin
14585 (method url-fetch)
14586 (uri (string-append "https://hackage.haskell.org/package/"
14587 "uuid-" version "/"
14588 "uuid-" version ".tar.gz"))
14589 (sha256
14590 (base32
14591 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
14592 (build-system haskell-build-system)
14593 (arguments
14594 `(#:cabal-revision
14595 ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
14596 #:phases
14597 (modify-phases %standard-phases
14598 (add-before 'configure 'strip-test-framework-constraints
14599 (lambda _
14600 (substitute* "uuid.cabal"
14601 (("HUnit >= 1\\.2 && < 1\\.4") "HUnit")
14602 (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck")
14603 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
14604 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
14605 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
14606 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
14607 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
14608 ("ghc-entropy" ,ghc-entropy)
14609 ("ghc-network-info" ,ghc-network-info)
14610 ("ghc-random" ,ghc-random)
14611 ("ghc-uuid-types" ,ghc-uuid-types)))
14612 (native-inputs `(("ghc-hunit" ,ghc-hunit)
14613 ("ghc-quickcheck" ,ghc-quickcheck)
14614 ("ghc-tasty" ,ghc-tasty)
14615 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14616 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14617 (home-page "https://github.com/hvr/uuid")
14618 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
14619 (description "This Haskell library provides utilities creating, comparing,
14620 parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
14621 (license license:bsd-3)))
14622
14623 (define-public ghc-uuid-types
14624 (package
14625 (name "ghc-uuid-types")
14626 (version "1.0.3")
14627 (source
14628 (origin
14629 (method url-fetch)
14630 (uri (string-append "https://hackage.haskell.org/package/"
14631 "uuid-types-" version "/"
14632 "uuid-types-" version ".tar.gz"))
14633 (sha256
14634 (base32
14635 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
14636 (build-system haskell-build-system)
14637 (arguments
14638 `(#:phases
14639 (modify-phases %standard-phases
14640 (add-before 'configure 'strip-test-framework-constraints
14641 (lambda _
14642 (substitute* "uuid-types.cabal"
14643 (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
14644 (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
14645 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
14646 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
14647 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
14648 (inputs `(("ghc-hashable" ,ghc-hashable)
14649 ("ghc-random" ,ghc-random)))
14650 (native-inputs `(("ghc-hunit" ,ghc-hunit)
14651 ("ghc-quickcheck" ,ghc-quickcheck)
14652 ("ghc-tasty" ,ghc-tasty)
14653 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14654 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14655 (home-page "https://github.com/hvr/uuid")
14656 (synopsis "Haskell type definitions for UUIDs")
14657 (description "This Haskell library contains type definitions for
14658 @dfn{Universally Unique Identifiers} or
14659 @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
14660 functions.")
14661 (license license:bsd-3)))
14662
14663 (define-public ghc-validation
14664 (package
14665 (name "ghc-validation")
14666 (version "1.1")
14667 (source
14668 (origin
14669 (method url-fetch)
14670 (uri (string-append
14671 "mirror://hackage/package/validation/validation-"
14672 version
14673 ".tar.gz"))
14674 (sha256
14675 (base32
14676 "1acj7mh3581ks405xswxw6667z7y1y0slisg6jvp6chc191ji9l5"))))
14677 (build-system haskell-build-system)
14678 (arguments
14679 `(#:cabal-revision
14680 ("1" "1rrjg9z399k6pb55nv85mlr5bkmdqbjwkvl1cy7ydccdx6ks4syp")))
14681 (inputs
14682 `(("ghc-semigroups" ,ghc-semigroups)
14683 ("ghc-semigroupoids" ,ghc-semigroupoids)
14684 ("ghc-bifunctors" ,ghc-bifunctors)
14685 ("ghc-lens" ,ghc-lens)))
14686 (native-inputs
14687 `(("ghc-hedgehog" ,ghc-hedgehog)
14688 ("ghc-hunit" ,ghc-hunit)))
14689 (home-page "https://github.com/qfpl/validation")
14690 (synopsis
14691 "Data-type like Either but with an accumulating Applicative")
14692 (description
14693 "A data-type like Either but with differing properties and type-class
14694 instances.
14695
14696 Library support is provided for this different representation, including
14697 @code{lens}-related functions for converting between each and abstracting over
14698 their similarities.
14699
14700 The @code{Validation} data type is isomorphic to @code{Either}, but has an
14701 instance of @code{Applicative} that accumulates on the error side. That is to
14702 say, if two (or more) errors are encountered, they are appended using a
14703 @{Semigroup} operation.
14704
14705 As a consequence of this @code{Applicative} instance, there is no
14706 corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an
14707 example of, \"An applicative functor that is not a monad.\"")
14708 (license license:bsd-3)))
14709
14710 (define-public ghc-validity
14711 (package
14712 (name "ghc-validity")
14713 (version "0.9.0.2")
14714 (source
14715 (origin
14716 (method url-fetch)
14717 (uri (string-append
14718 "https://hackage.haskell.org/package/validity/validity-"
14719 version
14720 ".tar.gz"))
14721 (sha256
14722 (base32
14723 "1aa93lp1pqwv7vhx19nazlig8qhbp3psblbz360s5lii3s5rli2v"))))
14724 (build-system haskell-build-system)
14725 (native-inputs `(("ghc-hspec" ,ghc-hspec)
14726 ("hspec-discover" ,hspec-discover)))
14727 (home-page
14728 "https://github.com/NorfairKing/validity")
14729 (synopsis "Validity typeclass")
14730 (description
14731 "Values of custom types usually have invariants imposed upon them. This
14732 package provides the @code{Validity} type class, which makes these invariants
14733 explicit by providing a function to check whether the invariants hold.")
14734 (license license:expat)))
14735
14736 (define-public ghc-vault
14737 (package
14738 (name "ghc-vault")
14739 (version "0.3.1.3")
14740 (source
14741 (origin
14742 (method url-fetch)
14743 (uri (string-append
14744 "https://hackage.haskell.org/package/vault/vault-"
14745 version
14746 ".tar.gz"))
14747 (sha256
14748 (base32
14749 "0vdm472vn734xa27jjm2mjacl37mxiqaaahvm4hzqjgyh4cqq377"))))
14750 (build-system haskell-build-system)
14751 (inputs
14752 `(("ghc-unordered-containers" ,ghc-unordered-containers)
14753 ("ghc-hashable" ,ghc-hashable)
14754 ("ghc-semigroups" ,ghc-semigroups)))
14755 (home-page
14756 "https://github.com/HeinrichApfelmus/vault")
14757 (synopsis "Persistent store for arbitrary values")
14758 (description "This package provides vaults for Haskell. A vault is a
14759 persistent store for values of arbitrary types. It's like having first-class
14760 access to the storage space behind @code{IORefs}. The data structure is
14761 analogous to a bank vault, where you can access different bank boxes with
14762 different keys; hence the name. Also provided is a @code{locker} type,
14763 representing a store for a single element.")
14764 (license license:bsd-3)))
14765
14766 (define-public ghc-vector
14767 (package
14768 (name "ghc-vector")
14769 (version "0.12.0.3")
14770 (outputs '("out" "static" "doc"))
14771 (source
14772 (origin
14773 (method url-fetch)
14774 (uri (string-append
14775 "https://hackage.haskell.org/package/vector/vector-"
14776 version
14777 ".tar.gz"))
14778 (sha256
14779 (base32
14780 "1a756s4w759ji3als5alfxwlckh5zcmykfg9rll4mlr2knzvz8mq"))))
14781 (build-system haskell-build-system)
14782 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
14783 ;; disabled for now.
14784 (arguments
14785 `(#:tests? #f))
14786 (inputs
14787 `(("ghc-primitive" ,ghc-primitive)
14788 ("ghc-random" ,ghc-random)
14789 ("ghc-quickcheck" ,ghc-quickcheck)
14790 ;; ("ghc-hunit" ,ghc-hunit)
14791 ;; ("ghc-test-framework" ,ghc-test-framework)
14792 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
14793 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
14794 ))
14795 (home-page "https://github.com/haskell/vector")
14796 (synopsis "Efficient Arrays")
14797 (description "This library provides an efficient implementation of
14798 Int-indexed arrays (both mutable and immutable), with a powerful loop
14799 optimisation framework.")
14800 (license license:bsd-3)))
14801
14802 (define-public ghc-vector-algorithms
14803 (package
14804 (name "ghc-vector-algorithms")
14805 (version "0.8.0.1")
14806 (source
14807 (origin
14808 (method url-fetch)
14809 (uri (string-append "https://hackage.haskell.org/package/"
14810 "vector-algorithms-" version "/"
14811 "vector-algorithms-" version ".tar.gz"))
14812 (sha256
14813 (base32
14814 "1zip8r7hh5g12xrjvhbg38z6hfxy7l6h6pl88qcqc0ygdmwdxg0m"))))
14815 (build-system haskell-build-system)
14816 (inputs
14817 `(("ghc-vector" ,ghc-vector)))
14818 (native-inputs
14819 `(("ghc-quickcheck" ,ghc-quickcheck)))
14820 (home-page "https://github.com/bos/math-functions")
14821 (synopsis "Algorithms for vector arrays in Haskell")
14822 (description "This Haskell library algorithms for vector arrays.")
14823 (license license:bsd-3)))
14824
14825 (define-public ghc-vector-binary-instances
14826 (package
14827 (name "ghc-vector-binary-instances")
14828 (version "0.2.5.1")
14829 (source
14830 (origin
14831 (method url-fetch)
14832 (uri (string-append
14833 "https://hackage.haskell.org/package/"
14834 "vector-binary-instances/vector-binary-instances-"
14835 version ".tar.gz"))
14836 (sha256
14837 (base32
14838 "04n5cqm1v95pw1bp68l9drjkxqiy2vswxdq0fy1rqcgxisgvji9r"))))
14839 (build-system haskell-build-system)
14840 (inputs
14841 `(("ghc-vector" ,ghc-vector)))
14842 (native-inputs
14843 `(("ghc-tasty" ,ghc-tasty)
14844 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14845 (home-page "https://github.com/bos/vector-binary-instances")
14846 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
14847 (description "This library provides instances of @code{Binary} for the
14848 types defined in the @code{vector} package, making it easy to serialize
14849 vectors to and from disk. We use the generic interface to vectors, so all
14850 vector types are supported. Specific instances are provided for unboxed,
14851 boxed and storable vectors.")
14852 (license license:bsd-3)))
14853
14854 (define-public ghc-vector-builder
14855 (package
14856 (name "ghc-vector-builder")
14857 (version "0.3.8")
14858 (source
14859 (origin
14860 (method url-fetch)
14861 (uri (string-append "https://hackage.haskell.org/package/"
14862 "vector-builder-" version "/"
14863 "vector-builder-" version ".tar.gz"))
14864 (sha256
14865 (base32
14866 "0ww0l52p8s6gmh985adnjbvm1vrqpqbm08qdcrvxwhhcqmxgv6m3"))))
14867 (build-system haskell-build-system)
14868 (inputs `(("ghc-vector" ,ghc-vector)
14869 ("ghc-semigroups" ,ghc-semigroups)
14870 ("ghc-base-prelude" ,ghc-base-prelude)))
14871 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
14872 ("ghc-tasty" ,ghc-tasty)
14873 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14874 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
14875 ("ghc-hunit" ,ghc-hunit)
14876 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
14877 ("ghc-rerebase" ,ghc-rerebase)))
14878 (home-page "https://github.com/nikita-volkov/vector-builder")
14879 (synopsis "Vector builder for Haskell")
14880 (description "This Haskell package provides an API for constructing vectors.
14881 It provides the composable @code{Builder} abstraction, which has instances of the
14882 @code{Monoid} and @code{Semigroup} classes.
14883
14884 You would first use the @code{Builder} abstraction to specify the structure of
14885 the vector; then you can execute the builder to actually produce the
14886 vector. ")
14887 (license license:expat)))
14888
14889 (define-public ghc-vector-th-unbox
14890 (package
14891 (name "ghc-vector-th-unbox")
14892 (version "0.2.1.7")
14893 (source
14894 (origin
14895 (method url-fetch)
14896 (uri (string-append "https://hackage.haskell.org/package/"
14897 "vector-th-unbox-" version "/"
14898 "vector-th-unbox-" version ".tar.gz"))
14899 (sha256
14900 (base32
14901 "0q8dqnbv1c2gi7jjdhqj14abj1vik23ki6lq4iz2sz18yc7q69fi"))))
14902 (build-system haskell-build-system)
14903 (inputs
14904 `(("ghc-vector" ,ghc-vector)
14905 ("ghc-data-default" ,ghc-data-default)))
14906 (home-page "https://github.com/liyang/vector-th-unbox")
14907 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
14908 (description "This Haskell library provides a Template Haskell
14909 deriver for unboxed vectors, given a pair of coercion functions to
14910 and from some existing type with an Unbox instance.")
14911 (license license:bsd-3)))
14912
14913 (define-public ghc-void
14914 (package
14915 (name "ghc-void")
14916 (version "0.7.3")
14917 (source
14918 (origin
14919 (method url-fetch)
14920 (uri (string-append
14921 "https://hackage.haskell.org/package/void/void-"
14922 version
14923 ".tar.gz"))
14924 (sha256
14925 (base32
14926 "05vk3x1r9a2pqnzfji475m5gdih2im1h7rbi2sc67p1pvj6pbbsk"))))
14927 (build-system haskell-build-system)
14928 (inputs
14929 `(("ghc-semigroups" ,ghc-semigroups)
14930 ("ghc-hashable" ,ghc-hashable)))
14931 (home-page "https://github.com/ekmett/void")
14932 (synopsis
14933 "Logically uninhabited data type")
14934 (description
14935 "A Haskell 98 logically uninhabited data type, used to indicate that a
14936 given term should not exist.")
14937 (license license:bsd-3)))
14938
14939 (define-public ghc-wave
14940 (package
14941 (name "ghc-wave")
14942 (version "0.2.0")
14943 (source (origin
14944 (method url-fetch)
14945 (uri (string-append
14946 "https://hackage.haskell.org/package/wave/wave-"
14947 version
14948 ".tar.gz"))
14949 (sha256
14950 (base32
14951 "149kgwngq3qxc7gxpkqb16j669j0wpv2f3gnvfwp58yg6m4259ki"))))
14952 (build-system haskell-build-system)
14953 (arguments
14954 '(#:phases
14955 (modify-phases %standard-phases
14956 (add-before 'configure 'update-constraints
14957 (lambda _
14958 (substitute* "wave.cabal"
14959 (("temporary.* < 1\\.3")
14960 "temporary >= 1.1 && < 1.4")))))))
14961 (inputs
14962 `(("ghc-cereal" ,ghc-cereal)
14963 ("ghc-data-default-class"
14964 ,ghc-data-default-class)
14965 ("ghc-quickcheck" ,ghc-quickcheck)
14966 ("ghc-temporary" ,ghc-temporary)))
14967 (native-inputs
14968 `(("hspec-discover" ,hspec-discover)
14969 ("ghc-hspec" ,ghc-hspec)))
14970 (home-page "https://github.com/mrkkrp/wave")
14971 (synopsis "Work with WAVE and RF64 files in Haskell")
14972 (description "This package allows you to work with WAVE and RF64
14973 files in Haskell.")
14974 (license license:bsd-3)))
14975
14976 (define-public ghc-wcwidth
14977 (package
14978 (name "ghc-wcwidth")
14979 (version "0.0.2")
14980 (source
14981 (origin
14982 (method url-fetch)
14983 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
14984 version ".tar.gz"))
14985 (sha256
14986 (base32
14987 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
14988 (build-system haskell-build-system)
14989 (inputs
14990 `(("ghc-setlocale" ,ghc-setlocale)
14991 ("ghc-utf8-string" ,ghc-utf8-string)
14992 ("ghc-attoparsec" ,ghc-attoparsec)))
14993 (home-page "https://github.com/solidsnack/wcwidth/")
14994 (synopsis "Haskell bindings to wcwidth")
14995 (description "This package provides Haskell bindings to your system's
14996 native wcwidth and a command line tool to examine the widths assigned by it.
14997 The command line tool can compile a width table to Haskell code that assigns
14998 widths to the Char type.")
14999 (license license:bsd-3)))
15000
15001 (define-public ghc-wcwidth-bootstrap
15002 (package
15003 (inherit ghc-wcwidth)
15004 (name "ghc-wcwidth-bootstrap")
15005 (inputs
15006 `(("ghc-setlocale" ,ghc-setlocale)
15007 ("ghc-utf8-string" ,ghc-utf8-string)
15008 ("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
15009 (properties '((hidden? #t)))))
15010
15011 (define-public ghc-weigh
15012 (package
15013 (name "ghc-weigh")
15014 (version "0.0.14")
15015 (source
15016 (origin
15017 (method url-fetch)
15018 (uri (string-append "https://hackage.haskell.org/package/weigh/"
15019 "weigh-" version ".tar.gz"))
15020 (sha256
15021 (base32
15022 "0l85marb5rl9nr1c0id42dnr5i9fk1jciy5h6lywhb34w3hbj61g"))))
15023 (build-system haskell-build-system)
15024 (inputs
15025 `(("ghc-split" ,ghc-split)
15026 ("ghc-temporary" ,ghc-temporary)))
15027 (home-page "https://github.com/fpco/weigh#readme")
15028 (synopsis "Measure allocations of a Haskell functions/values")
15029 (description "This package provides tools to measure the memory usage of a
15030 Haskell value or function.")
15031 (license license:bsd-3)))
15032
15033 (define-public ghc-wizards
15034 (package
15035 (name "ghc-wizards")
15036 (version "1.0.3")
15037 (source
15038 (origin
15039 (method url-fetch)
15040 (uri (string-append
15041 "https://hackage.haskell.org/package/wizards/wizards-"
15042 version
15043 ".tar.gz"))
15044 (sha256
15045 (base32
15046 "1clvbd1ckhvy29qrbmpkn7bya7300fq6znnps23nn3nxyrxhsr85"))))
15047 (build-system haskell-build-system)
15048 (inputs
15049 `(("ghc-control-monad-free" ,ghc-control-monad-free)))
15050 (arguments
15051 `(#:cabal-revision
15052 ("1"
15053 "095qd17zrdhqmcvmslbyzfa5sh9glvvsnsvnlz31gzsmi8nnsgim")))
15054 (home-page "http://hackage.haskell.org/package/wizards")
15055 (synopsis "High level, generic library for interrogative user interfaces")
15056 (description
15057 "@code{wizards} is a package designed for the quick and painless
15058 development of @emph{interrogative} programs, which revolve around a dialogue
15059 with the user, who is asked a series of questions in a sequence much like an
15060 installation wizard.
15061
15062 Everything from interactive system scripts, to installation wizards, to
15063 full-blown shells can be implemented with the support of @code{wizards}.
15064
15065 It is developed transparently on top of a free monad, which separates out the
15066 semantics of the program from any particular interface. A variety of backends
15067 exist, including console-based @code{System.Console.Wizard.Haskeline} and
15068 @code{System.Console.Wizard.BasicIO}, and the pure
15069 @code{System.Console.Wizard.Pure}. It is also possible to write your own
15070 backends, or extend existing back-ends with new features. While both built-in
15071 IO backends operate on a console, there is no reason why @code{wizards} cannot
15072 also be used for making GUI wizard interfaces.")
15073 (license license:bsd-3)))
15074
15075 (define-public ghc-wl-pprint
15076 (package
15077 (name "ghc-wl-pprint")
15078 (version "1.2.1")
15079 (source (origin
15080 (method url-fetch)
15081 (uri (string-append
15082 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
15083 version ".tar.gz"))
15084 (sha256
15085 (base32
15086 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
15087 (build-system haskell-build-system)
15088 (home-page "https://hackage.haskell.org/package/wl-pprint")
15089 (synopsis "Wadler/Leijen pretty printer")
15090 (description
15091 "This is a pretty printing library based on Wadler's paper @i{A Prettier
15092 Printer}. This version allows the library user to declare overlapping
15093 instances of the @code{Pretty} class.")
15094 (license license:bsd-3)))
15095
15096 (define-public ghc-wl-pprint-annotated
15097 (package
15098 (name "ghc-wl-pprint-annotated")
15099 (version "0.1.0.1")
15100 (source
15101 (origin
15102 (method url-fetch)
15103 (uri (string-append
15104 "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-"
15105 version
15106 ".tar.gz"))
15107 (sha256
15108 (base32
15109 "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb"))))
15110 (build-system haskell-build-system)
15111 (native-inputs
15112 `(("ghc-tasty" ,ghc-tasty)
15113 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
15114 (home-page
15115 "https://github.com/minad/wl-pprint-annotated#readme")
15116 (synopsis
15117 "Wadler/Leijen pretty printer with annotation support")
15118 (description
15119 "Annotations are useful for coloring. This is a limited version of
15120 @code{wl-pprint-extras} without support for point effects and without the free
15121 monad. Like in @code{annotated-wl-pprint}, only annotations are supported.
15122 Compared to @code{annotated-wl-pprint} this library provides a slightly
15123 modernized interface.")
15124 (license license:bsd-3)))
15125
15126 (define-public ghc-wl-pprint-text
15127 (package
15128 (name "ghc-wl-pprint-text")
15129 (version "1.2.0.0")
15130 (source
15131 (origin
15132 (method url-fetch)
15133 (uri (string-append
15134 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
15135 version ".tar.gz"))
15136 (sha256
15137 (base32
15138 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
15139 (build-system haskell-build-system)
15140 (inputs
15141 `(("ghc-base-compat" ,ghc-base-compat)))
15142 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
15143 (synopsis "Wadler/Leijen Pretty Printer for Text values")
15144 (description
15145 "A clone of wl-pprint for use with the text library.")
15146 (license license:bsd-3)))
15147
15148 (define-public ghc-word8
15149 (package
15150 (name "ghc-word8")
15151 (version "0.1.3")
15152 (source
15153 (origin
15154 (method url-fetch)
15155 (uri (string-append
15156 "https://hackage.haskell.org/package/word8/word8-"
15157 version
15158 ".tar.gz"))
15159 (sha256
15160 (base32
15161 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
15162 (build-system haskell-build-system)
15163 (native-inputs
15164 `(("ghc-hspec" ,ghc-hspec)
15165 ("hspec-discover" ,hspec-discover)))
15166 (home-page "https://hackage.haskell.org/package/word8")
15167 (synopsis "Word8 library for Haskell")
15168 (description "Word8 library to be used with @code{Data.ByteString}.")
15169 (license license:bsd-3)))
15170
15171 (define-public ghc-x11
15172 (package
15173 (name "ghc-x11")
15174 (version "1.9.1")
15175 (source
15176 (origin
15177 (method url-fetch)
15178 (uri (string-append "https://hackage.haskell.org/package/X11/"
15179 "X11-" version ".tar.gz"))
15180 (sha256
15181 (base32 "0gg6852mrlgl8zng1j84fismz7k81jr5fk92glgkscf8q6ryg0bm"))))
15182 (build-system haskell-build-system)
15183 (arguments
15184 `(#:extra-directories
15185 ("libx11" "libxrandr" "libxinerama" "libxscrnsaver")))
15186 (inputs
15187 `(("libx11" ,libx11)
15188 ("libxrandr" ,libxrandr)
15189 ("libxinerama" ,libxinerama)
15190 ("libxscrnsaver" ,libxscrnsaver)
15191 ("ghc-data-default" ,ghc-data-default)))
15192 (home-page "https://github.com/haskell-pkg-janitors/X11")
15193 (synopsis "Bindings to the X11 graphics library")
15194 (description
15195 "This package provides Haskell bindings to the X11 graphics library. The
15196 bindings are a direct translation of the C bindings.")
15197 (license license:bsd-3)))
15198
15199 (define-public ghc-x11-xft
15200 (package
15201 (name "ghc-x11-xft")
15202 (version "0.3.1")
15203 (source
15204 (origin
15205 (method url-fetch)
15206 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
15207 "X11-xft-" version ".tar.gz"))
15208 (sha256
15209 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
15210 (arguments
15211 `(#:extra-directories ("libx11" "libxft" "xorgproto")))
15212 (inputs
15213 `(("ghc-x11" ,ghc-x11)
15214 ("ghc-utf8-string" ,ghc-utf8-string)
15215 ("libx11" ,libx11)
15216 ("libxft" ,libxft)
15217 ("xorgproto" ,xorgproto)))
15218 (native-inputs
15219 `(("pkg-config" ,pkg-config)))
15220 (build-system haskell-build-system)
15221 (home-page "https://hackage.haskell.org/package/X11-xft")
15222 (synopsis "Bindings to Xft")
15223 (description
15224 "Bindings to the Xft, X Free Type interface library, and some Xrender
15225 parts.")
15226 (license license:lgpl2.1)))
15227
15228 (define-public ghc-xdg-basedir
15229 (package
15230 (name "ghc-xdg-basedir")
15231 (version "0.2.2")
15232 (source
15233 (origin
15234 (method url-fetch)
15235 (uri (string-append
15236 "https://hackage.haskell.org/package/xdg-basedir/"
15237 "xdg-basedir-" version ".tar.gz"))
15238 (sha256
15239 (base32
15240 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
15241 (build-system haskell-build-system)
15242 (home-page "https://github.com/willdonnelly/xdg-basedir")
15243 (synopsis "XDG Base Directory library for Haskell")
15244 (description "This package provides a library implementing the XDG Base Directory spec.")
15245 (license license:bsd-3)))
15246
15247 (define-public ghc-xml
15248 (package
15249 (name "ghc-xml")
15250 (version "1.3.14")
15251 (source
15252 (origin
15253 (method url-fetch)
15254 (uri (string-append
15255 "https://hackage.haskell.org/package/xml/xml-"
15256 version
15257 ".tar.gz"))
15258 (sha256
15259 (base32
15260 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
15261 (build-system haskell-build-system)
15262 (home-page "https://github.com/GaloisInc/xml")
15263 (synopsis "Simple XML library for Haskell")
15264 (description "This package provides a simple XML library for Haskell.")
15265 (license license:bsd-3)))
15266
15267 (define-public ghc-xml-conduit
15268 (package
15269 (name "ghc-xml-conduit")
15270 (version "1.8.0.1")
15271 (source
15272 (origin
15273 (method url-fetch)
15274 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
15275 "xml-conduit-" version ".tar.gz"))
15276 (sha256
15277 (base32
15278 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
15279 (build-system haskell-build-system)
15280 (inputs
15281 `(("ghc-conduit" ,ghc-conduit)
15282 ("ghc-conduit-extra" ,ghc-conduit-extra)
15283 ("ghc-doctest" ,ghc-doctest)
15284 ("ghc-resourcet" ,ghc-resourcet)
15285 ("ghc-xml-types" ,ghc-xml-types)
15286 ("ghc-attoparsec" ,ghc-attoparsec)
15287 ("ghc-data-default-class" ,ghc-data-default-class)
15288 ("ghc-blaze-markup" ,ghc-blaze-markup)
15289 ("ghc-blaze-html" ,ghc-blaze-html)
15290 ("ghc-monad-control" ,ghc-monad-control)
15291 ("ghc-hspec" ,ghc-hspec)
15292 ("ghc-hunit" ,ghc-hunit)))
15293 (home-page "https://github.com/snoyberg/xml")
15294 (synopsis "Utilities for dealing with XML with the conduit package")
15295 (description
15296 "This package provides pure-Haskell utilities for dealing with XML with
15297 the @code{conduit} package.")
15298 (license license:expat)))
15299
15300 (define-public ghc-xml-types
15301 (package
15302 (name "ghc-xml-types")
15303 (version "0.3.6")
15304 (source
15305 (origin
15306 (method url-fetch)
15307 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
15308 "xml-types-" version ".tar.gz"))
15309 (sha256
15310 (base32
15311 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
15312 (build-system haskell-build-system)
15313 (home-page "https://john-millikin.com/software/haskell-xml/")
15314 (synopsis "Basic types for representing XML")
15315 (description "This package provides basic types for representing XML
15316 documents.")
15317 (license license:expat)))
15318
15319 (define-public ghc-xml-hamlet
15320 (package
15321 (name "ghc-xml-hamlet")
15322 (version "0.5.0.1")
15323 (source
15324 (origin
15325 (method url-fetch)
15326 (uri (string-append "https://hackage.haskell.org/package/xml-hamlet/"
15327 "xml-hamlet-" version ".tar.gz"))
15328 (sha256
15329 (base32 "0jrhcjy7ww59dafg857f2g2df1fw2jmbwcs1q379ph0pc5rxj3lj"))))
15330 (build-system haskell-build-system)
15331 (inputs
15332 `(("ghc-shakespeare" ,ghc-shakespeare)
15333 ("ghc-xml-conduit" ,ghc-xml-conduit)))
15334 (native-inputs
15335 `(("ghc-hspec" ,ghc-hspec)
15336 ("ghc-hunit" ,ghc-hunit)))
15337 (home-page "https://www.yesodweb.com/")
15338 (synopsis "Hamlet-style quasiquoter for XML content")
15339 (description "This package provides a type-safe tool for generating XML
15340 code via quasi-quoting built on top of @code{ghc-shakespeare}.")
15341 (license license:bsd-3)))
15342
15343 (define-public ghc-yaml
15344 (package
15345 (name "ghc-yaml")
15346 (version "0.11.1.2")
15347 (source (origin
15348 (method url-fetch)
15349 (uri (string-append "https://hackage.haskell.org/package/"
15350 "yaml/yaml-" version ".tar.gz"))
15351 (sha256
15352 (base32
15353 "028pz77n92l6kjgjv263h4b6yhw1iibdbf3a3dkn5qnz537xpzhc"))))
15354 (build-system haskell-build-system)
15355 (inputs
15356 `(("ghc-conduit" ,ghc-conduit)
15357 ("ghc-resourcet" ,ghc-resourcet)
15358 ("ghc-aeson" ,ghc-aeson)
15359 ("ghc-unordered-containers" ,ghc-unordered-containers)
15360 ("ghc-vector" ,ghc-vector)
15361 ("ghc-attoparsec" ,ghc-attoparsec)
15362 ("ghc-scientific" ,ghc-scientific)
15363 ("ghc-semigroups" ,ghc-semigroups)
15364 ("ghc-temporary" ,ghc-temporary)
15365 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
15366 ("ghc-base-compat" ,ghc-base-compat)
15367 ("ghc-libyaml" ,ghc-libyaml)))
15368 (native-inputs
15369 `(("ghc-hspec" ,ghc-hspec)
15370 ("ghc-hunit" ,ghc-hunit)
15371 ("hspec-discover" ,hspec-discover)
15372 ("ghc-mockery" ,ghc-mockery)
15373 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)))
15374 (home-page "https://github.com/snoyberg/yaml/")
15375 (synopsis "Parsing and rendering YAML documents")
15376 (description
15377 "This package provides a library to parse and render YAML documents.")
15378 (license license:bsd-3)))
15379
15380 (define-public ghc-zip-archive
15381 (package
15382 (name "ghc-zip-archive")
15383 (version "0.4.1")
15384 (source
15385 (origin
15386 (method url-fetch)
15387 (uri (string-append
15388 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
15389 version
15390 ".tar.gz"))
15391 (sha256
15392 (base32
15393 "1cdix5mnxrbs7b2kivhdydhfzgxidd9dqlw71mdw5p21cabwkmf5"))))
15394 (build-system haskell-build-system)
15395 (arguments
15396 `(#:phases
15397 (modify-phases %standard-phases
15398 (add-before 'check 'set-PATH-for-tests
15399 (lambda* (#:key inputs #:allow-other-keys)
15400 (let ((unzip (assoc-ref inputs "unzip"))
15401 (which (assoc-ref inputs "which"))
15402 (path (getenv "PATH")))
15403 (setenv "PATH" (string-append unzip "/bin:" which "/bin:" path))
15404 #t))))))
15405 (inputs
15406 `(("ghc-digest" ,ghc-digest)
15407 ("ghc-temporary" ,ghc-temporary)
15408 ("ghc-zlib" ,ghc-zlib)))
15409 (native-inputs
15410 `(("ghc-hunit" ,ghc-hunit)
15411 ("unzip" ,unzip)
15412 ("which" ,which)))
15413 (home-page "https://hackage.haskell.org/package/zip-archive")
15414 (synopsis "Zip archive library for Haskell")
15415 (description "The zip-archive library provides functions for creating,
15416 modifying, and extracting files from zip archives in Haskell.")
15417 (license license:bsd-3)))
15418
15419 (define-public ghc-zlib
15420 (package
15421 (name "ghc-zlib")
15422 (version "0.6.2.1")
15423 (outputs '("out" "static" "doc"))
15424 (source
15425 (origin
15426 (method url-fetch)
15427 (uri (string-append
15428 "https://hackage.haskell.org/package/zlib/zlib-"
15429 version
15430 ".tar.gz"))
15431 (sha256
15432 (base32
15433 "1l11jraslcrp9d4wnhwfyhwk4fsiq1aq8i6vj81vcq1m2zzi1y7h"))))
15434 (build-system haskell-build-system)
15435 (arguments
15436 `(#:extra-directories ("zlib")
15437 #:phases
15438 (modify-phases %standard-phases
15439 (add-before 'configure 'strip-test-framework-constraints
15440 (lambda _
15441 (substitute* "zlib.cabal"
15442 (("tasty >= 0\\.8 && < 0\\.12") "tasty")
15443 (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit")
15444 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
15445 (inputs `(("zlib" ,zlib)))
15446 (native-inputs
15447 `(("ghc-quickcheck" ,ghc-quickcheck)
15448 ("ghc-tasty" ,ghc-tasty)
15449 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
15450 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
15451 (home-page "https://hackage.haskell.org/package/zlib")
15452 (synopsis
15453 "Compression and decompression in the gzip and zlib formats")
15454 (description
15455 "This package provides a pure interface for compressing and decompressing
15456 streams of data represented as lazy @code{ByteString}s. It uses the zlib C
15457 library so it has high performance. It supports the @code{zlib}, @code{gzip}
15458 and @code{raw} compression formats. It provides a convenient high level API
15459 suitable for most tasks and for the few cases where more control is needed it
15460 provides access to the full zlib feature set.")
15461 (license license:bsd-3)))
15462
15463 (define-public ghc-zlib-bindings
15464 (package
15465 (name "ghc-zlib-bindings")
15466 (version "0.1.1.5")
15467 (source
15468 (origin
15469 (method url-fetch)
15470 (uri (string-append "https://hackage.haskell.org/package/"
15471 "zlib-bindings/zlib-bindings-" version ".tar.gz"))
15472 (sha256
15473 (base32
15474 "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8"))))
15475 (build-system haskell-build-system)
15476 (inputs
15477 `(("ghc-zlib" ,ghc-zlib)))
15478 (native-inputs
15479 `(("ghc-hspec" ,ghc-hspec)
15480 ("ghc-quickcheck" ,ghc-quickcheck)))
15481 (arguments
15482 `(#:cabal-revision
15483 ("2" "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc")))
15484 (home-page "https://github.com/snapframework/zlib-bindings")
15485 (synopsis "Low-level bindings to the @code{zlib} package")
15486 (description "This package provides low-level bindings to the
15487 @code{zlib} package.")
15488 (license license:bsd-3)))
15489
15490 (define-public ghc-zstd
15491 (package
15492 (name "ghc-zstd")
15493 (version "0.1.1.2")
15494 (source
15495 (origin
15496 (method url-fetch)
15497 (uri (string-append "https://hackage.haskell.org/package/"
15498 "zstd/zstd-" version ".tar.gz"))
15499 (sha256
15500 (base32
15501 "147s496zvw13akxqzg65mgfvk3bvhrcilxgf8n786prxg5cm4jz2"))))
15502 (build-system haskell-build-system)
15503 (native-inputs
15504 `(("ghc-quickcheck" ,ghc-quickcheck)
15505 ("ghc-test-framework" ,ghc-test-framework)
15506 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
15507 (home-page "https://github.com/luispedro/hs-zstd")
15508 (synopsis "Haskell bindings to the Zstandard compression algorithm")
15509 (description "This library provides Haskell bindings to the
15510 Zstandard compression algorithm, a fast lossless compression algorithm
15511 targeting real-time compression scenarios at zlib-level and better
15512 compression ratios.")
15513 (license license:bsd-3)))