mailmap: Update entries for Nikita.
[jackhill/guix/guix.git] / gnu / packages / haskell-xyz.scm
CommitLineData
6b34d01c 1;;; GNU Guix --- Functional package management for GNU
dddbc90c
RV
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>
3c986a7d 7;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
799d8d3c 8;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
dddbc90c
RV
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>
6b34d01c 20;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
dddbc90c 21;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
a52f4c57 22;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
e405912c 23;;; Copyright © 2019 Kyle Meyer <kyle@kyleam.com>
9ad9ec2e 24;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
4639fa32 25;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
84436be0 26;;; Copyright © 2020 JoJo <jo@jo.zone>
ba7cbae3 27;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
fbe32d46 28;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
6b34d01c
RV
29;;;
30;;; This file is part of GNU Guix.
31;;;
32;;; GNU Guix is free software; you can redistribute it and/or modify it
33;;; under the terms of the GNU General Public License as published by
34;;; the Free Software Foundation; either version 3 of the License, or (at
35;;; your option) any later version.
36;;;
37;;; GNU Guix is distributed in the hope that it will be useful, but
38;;; WITHOUT ANY WARRANTY; without even the implied warranty of
39;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40;;; GNU General Public License for more details.
41;;;
42;;; You should have received a copy of the GNU General Public License
43;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
44
45(define-module (gnu packages haskell-xyz)
46 #:use-module (gnu packages)
dddbc90c
RV
47 #:use-module (gnu packages base)
48 #:use-module (gnu packages compression)
49 #:use-module (gnu packages emacs)
50 #:use-module (gnu packages gcc)
51 #:use-module (gnu packages gl)
52 #:use-module (gnu packages graphviz)
53 #:use-module (gnu packages gtk)
54 #:use-module (gnu packages haskell-apps)
efb96749 55 #:use-module (gnu packages haskell-check)
dddbc90c
RV
56 #:use-module (gnu packages haskell-crypto)
57 #:use-module (gnu packages haskell-web)
58 #:use-module (gnu packages libffi)
59 #:use-module (gnu packages linux)
e3ee8023 60 #:use-module (gnu packages llvm)
dddbc90c
RV
61 #:use-module (gnu packages lua)
62 #:use-module (gnu packages maths)
49e29df5 63 #:use-module (gnu packages ncurses)
dddbc90c
RV
64 #:use-module (gnu packages pcre)
65 #:use-module (gnu packages pkg-config)
66 #:use-module (gnu packages sdl)
0c2d6fc2 67 #:use-module (gnu packages web)
dddbc90c
RV
68 #:use-module (gnu packages xml)
69 #:use-module (gnu packages xorg)
6b34d01c
RV
70 #:use-module (guix build-system haskell)
71 #:use-module (guix download)
dddbc90c 72 #:use-module (guix git-download)
4780db2c 73 #:use-module (guix utils)
6b34d01c
RV
74 #:use-module ((guix licenses) #:prefix license:)
75 #:use-module (guix packages))
76
dddbc90c 77(define-public ghc-abstract-deque
efb96749 78 (package
dddbc90c
RV
79 (name "ghc-abstract-deque")
80 (version "0.3")
efb96749
RV
81 (source
82 (origin
83 (method url-fetch)
84 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
85 "abstract-deque-" version "/"
86 "abstract-deque-" version ".tar.gz"))
efb96749
RV
87 (sha256
88 (base32
dddbc90c 89 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
efb96749 90 (build-system haskell-build-system)
dddbc90c
RV
91 (inputs `(("ghc-random" ,ghc-random)))
92 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
93 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
94 (description "This Haskell package provides an abstract interface to
95highly-parameterizable queues/deques.
96
97Background: There exists a feature space for queues that extends between:
efb96749
RV
98
99@itemize
dddbc90c
RV
100@item Simple, single-ended, non-concurrent, bounded queues
101
102@item Double-ended, thread-safe, growable queues with important points
103in between (such as the queues used for work stealing).
efb96749
RV
104@end itemize
105
dddbc90c
RV
106This package includes an interface for Deques that allows the programmer
107to use a single API for all of the above, while using the type system to
108select an efficient implementation given the requirements (using type families).
efb96749 109
dddbc90c
RV
110This package also includes a simple reference implementation based on
111@code{IORef} and @code{Data.Sequence}.")
efb96749
RV
112 (license license:bsd-3)))
113
dddbc90c 114(define-public ghc-abstract-par
658dbc7f 115 (package
dddbc90c
RV
116 (name "ghc-abstract-par")
117 (version "0.3.3")
658dbc7f
RV
118 (source
119 (origin
120 (method url-fetch)
121 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
122 "abstract-par-" version "/"
123 "abstract-par-" version ".tar.gz"))
658dbc7f
RV
124 (sha256
125 (base32
dddbc90c
RV
126 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
127 (build-system haskell-build-system)
128 (home-page "https://github.com/simonmar/monad-par")
129 (synopsis "Abstract parallelization interface for Haskell")
130 (description "This Haskell package is an abstract interface
131only. It provides a number of type clasess, but not an
132implementation. The type classes separate different levels
133of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
134module for more details.")
135 (license license:bsd-3)))
136
d8b88d74
TS
137(define-public ghc-active
138 (package
139 (name "ghc-active")
140 (version "0.2.0.14")
141 (source
142 (origin
143 (method url-fetch)
144 (uri (string-append "https://hackage.haskell.org/package/"
145 "active/active-" version ".tar.gz"))
146 (sha256
147 (base32
148 "0x3b4ln6csa554qls28wbxvclkbdz3yi60i1m0q5ing0cs16fifz"))))
149 (build-system haskell-build-system)
150 (inputs
151 `(("ghc-vector" ,ghc-vector)
152 ("ghc-semigroups" ,ghc-semigroups)
153 ("ghc-semigroupoids" ,ghc-semigroupoids)
154 ("ghc-lens" ,ghc-lens)
155 ("ghc-linear" ,ghc-linear)))
156 (native-inputs
157 `(("ghc-quickcheck" ,ghc-quickcheck)))
158 (home-page "https://hackage.haskell.org/package/active")
159 (synopsis "Abstractions for animation")
160 (description "This package defines an @code{Active} abstraction for
161time-varying values with finite start and end times. It is used for
162describing animations within the
163@url{https://archives.haskell.org/projects.haskell.org/diagrams/,
164diagrams framework}.")
165 (license license:bsd-3)))
166
dddbc90c
RV
167(define-public ghc-adjunctions
168 (package
169 (name "ghc-adjunctions")
170 (version "4.4")
171 (source
172 (origin
173 (method url-fetch)
174 (uri (string-append
175 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
176 version
177 ".tar.gz"))
178 (sha256
179 (base32
180 "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h"))))
658dbc7f 181 (build-system haskell-build-system)
a78262be
TS
182 (arguments
183 `(#:cabal-revision
184 ("2" "1yfsjx7dqikg3hvld7i91xfsg5lawmr5980lvfd794sybmgxsf17")))
658dbc7f 185 (inputs
dddbc90c
RV
186 `(("ghc-profunctors" ,ghc-profunctors)
187 ("ghc-comonad" ,ghc-comonad)
188 ("ghc-contravariant" ,ghc-contravariant)
189 ("ghc-distributive" ,ghc-distributive)
190 ("ghc-free" ,ghc-free)
191 ("ghc-tagged" ,ghc-tagged)
192 ("ghc-semigroupoids" ,ghc-semigroupoids)
193 ("ghc-semigroups" ,ghc-semigroups)
194 ("ghc-transformers-compat" ,ghc-transformers-compat)
195 ("ghc-void" ,ghc-void)))
658dbc7f 196 (native-inputs
dddbc90c
RV
197 `(("ghc-generic-deriving" ,ghc-generic-deriving)
198 ("ghc-hspec" ,ghc-hspec)
199 ("hspec-discover" ,hspec-discover)))
200 (home-page "https://github.com/ekmett/adjunctions/")
201 (synopsis "Adjunctions and representable functors")
202 (description "This library provides adjunctions and representable functors
203for Haskell.")
204 (license license:bsd-3)))
205
206(define-public ghc-aeson-compat
207 (package
208 (name "ghc-aeson-compat")
0bafb755 209 (version "0.3.9")
dddbc90c
RV
210 (source
211 (origin
212 (method url-fetch)
213 (uri (string-append "https://hackage.haskell.org/package/"
214 "aeson-compat-" version "/"
215 "aeson-compat-" version ".tar.gz"))
216 (sha256
217 (base32
0bafb755 218 "1j13gykv4ryvmr14w5blz0nnpdb4p0hpa27wahw3mhb1lwdr8hz0"))))
dddbc90c
RV
219 (build-system haskell-build-system)
220 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
221 (inputs `(("ghc-base-compat" ,ghc-base-compat)
222 ("ghc-aeson" ,ghc-aeson)
223 ("ghc-attoparsec" ,ghc-attoparsec)
224 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
225 ("ghc-exceptions" ,ghc-exceptions)
226 ("ghc-hashable" ,ghc-hashable)
227 ("ghc-scientific" ,ghc-scientific)
228 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
229 ("ghc-unordered-containers" ,ghc-unordered-containers)
230 ("ghc-vector" ,ghc-vector)
231 ("ghc-tagged" ,ghc-tagged)
232 ("ghc-semigroups" ,ghc-semigroups)
233 ("ghc-nats" ,ghc-nats)))
234 (home-page "https://github.com/phadej/aeson-compat")
235 (synopsis "Compatibility layer for ghc-aeson")
236 (description "This Haskell package provides compatibility layer for
237ghc-aeson.")
238 (license license:bsd-3)))
239
cbc6f861
TS
240(define-public ghc-aeson-diff
241 (package
242 (name "ghc-aeson-diff")
243 (version "1.1.0.7")
244 (source
245 (origin
246 (method url-fetch)
247 (uri (string-append "https://hackage.haskell.org/package/"
248 "aeson-diff/aeson-diff-" version ".tar.gz"))
249 (sha256
250 (base32
251 "01d48pd7d1mb9cd5yxfajln8rmjdjq8ch91s0lav4qw1azv6vp2r"))))
252 (build-system haskell-build-system)
253 (inputs
254 `(("ghc-aeson" ,ghc-aeson)
255 ("ghc-edit-distance-vector" ,ghc-edit-distance-vector)
256 ("ghc-hashable" ,ghc-hashable)
257 ("ghc-scientific" ,ghc-scientific)
258 ("ghc-unordered-containers" ,ghc-unordered-containers)
259 ("ghc-vector" ,ghc-vector)
260 ("ghc-semigroups" ,ghc-semigroups)
261 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
262 (native-inputs
263 `(("ghc-quickcheck" ,ghc-quickcheck)
264 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
265 ("ghc-glob" ,ghc-glob)
266 ("ghc-quickcheck" ,ghc-quickcheck)
267 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
268 ("ghc-quickcheck" ,ghc-quickcheck)
269 ("ghc-doctest" ,ghc-doctest)
270 ("hlint" ,hlint)))
271 (home-page "https://github.com/thsutton/aeson-diff")
272 (synopsis "Extract and apply patches to JSON documents")
273 (description "This is a small library for working with changes to JSON
274documents. It includes a library and two command-line executables in the
275style of the @command{diff} and @command{patch} commands available on many
276systems.")
277 (license license:bsd-3)))
278
dddbc90c
RV
279(define-public ghc-alex
280 (package
281 (name "ghc-alex")
282 (version "3.2.4")
283 (source
284 (origin
285 (method url-fetch)
286 (uri (string-append
287 "https://hackage.haskell.org/package/alex/alex-"
288 version
289 ".tar.gz"))
290 (sha256
291 (base32
292 "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm"))))
293 (build-system haskell-build-system)
658dbc7f 294 (arguments
dddbc90c
RV
295 `(#:phases
296 (modify-phases %standard-phases
297 (add-before 'check 'set-check-variables
298 (lambda _
299 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
300 (getenv "PATH")))
301 (setenv "alex_datadir" (string-append (getcwd) "/data"))
302 #t)))))
303 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
304 (native-inputs
305 `(("which" ,which)))
306 (home-page "https://www.haskell.org/alex/")
307 (synopsis
308 "Tool for generating lexical analysers in Haskell")
309 (description
310 "Alex is a tool for generating lexical analysers in Haskell. It takes a
311description of tokens based on regular expressions and generates a Haskell
312module containing code for scanning text efficiently. It is similar to the
313tool lex or flex for C/C++.")
658dbc7f
RV
314 (license license:bsd-3)))
315
dddbc90c 316(define-public ghc-alsa-core
7b01a977 317 (package
dddbc90c
RV
318 (name "ghc-alsa-core")
319 (version "0.5.0.1")
320 (source
321 (origin
322 (method url-fetch)
323 (uri (string-append
324 "mirror://hackage/package/alsa-core/alsa-core-"
325 version
326 ".tar.gz"))
327 (sha256
328 (base32
329 "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b"))))
330 (build-system haskell-build-system)
331 (inputs
332 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
333 ("alsa-lib" ,alsa-lib)))
334 (native-inputs
335 `(("pkg-config" ,pkg-config)))
336 (home-page "http://www.haskell.org/haskellwiki/ALSA")
337 (synopsis "Binding to the ALSA Library API (Exceptions)")
338 (description "This package provides access to ALSA infrastructure, that is
339needed by both alsa-seq and alsa-pcm.")
340 (license license:bsd-3)))
341
f2ed1e6d
JS
342(define-public ghc-alsa-mixer
343 (package
344 (name "ghc-alsa-mixer")
345 (version "0.3.0")
346 (source
347 (origin
348 (method url-fetch)
349 (uri
350 (string-append
351 "mirror://hackage/package/alsa-mixer/alsa-mixer-"
352 version ".tar.gz"))
353 (sha256
354 (base32
355 "00ny2p3276jilidjs44npc8zmbhynz3f2lpmlwwl6swwx5yijsnb"))))
356 (build-system haskell-build-system)
357 (inputs `(("ghc-alsa-core" ,ghc-alsa-core)))
358 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
359 (home-page "https://github.com/ttuegel/alsa-mixer")
360 (synopsis "Bindings to the ALSA simple mixer API")
361 (description
362 "This package provides bindings to the ALSA simple mixer API.")
363 (license license:bsd-3)))
364
dddbc90c
RV
365(define-public ghc-annotated-wl-pprint
366 (package
367 (name "ghc-annotated-wl-pprint")
368 (version "0.7.0")
369 (source
370 (origin
371 (method url-fetch)
372 (uri (string-append
373 "https://hackage.haskell.org/package/annotated-wl-pprint"
374 "/annotated-wl-pprint-" version
375 ".tar.gz"))
376 (sha256
377 (base32
378 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
379 (build-system haskell-build-system)
380 (home-page
381 "https://github.com/david-christiansen/annotated-wl-pprint")
382 (synopsis
383 "The Wadler/Leijen Pretty Printer, with annotation support")
384 (description "This is a modified version of wl-pprint, which was based on
385Wadler's paper \"A Prettier Printer\". This version allows the library user
386to annotate the text with semantic information, which can later be rendered in
387a variety of ways.")
388 (license license:bsd-3)))
389
390(define-public ghc-ansi-terminal
391 (package
392 (name "ghc-ansi-terminal")
f1b4a73f 393 (version "0.9.1")
dddbc90c
RV
394 (source
395 (origin
396 (method url-fetch)
397 (uri (string-append
398 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
399 version
400 ".tar.gz"))
401 (sha256
402 (base32
f1b4a73f 403 "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l"))))
dddbc90c
RV
404 (build-system haskell-build-system)
405 (inputs
406 `(("ghc-colour" ,ghc-colour)))
407 (home-page "https://github.com/feuerbach/ansi-terminal")
408 (synopsis "ANSI terminal support for Haskell")
409 (description "This package provides ANSI terminal support for Haskell. It
410allows cursor movement, screen clearing, color output showing or hiding the
411cursor, and changing the title.")
412 (license license:bsd-3)))
413
414(define-public ghc-ansi-wl-pprint
415 (package
416 (name "ghc-ansi-wl-pprint")
c38746eb 417 (version "0.6.9")
7b01a977
RV
418 (source
419 (origin
420 (method url-fetch)
421 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c 422 "ansi-wl-pprint/ansi-wl-pprint-"
7b01a977
RV
423 version ".tar.gz"))
424 (sha256
425 (base32
c38746eb 426 "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7"))))
7b01a977
RV
427 (build-system haskell-build-system)
428 (inputs
dddbc90c
RV
429 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
430 (home-page "https://github.com/ekmett/ansi-wl-pprint")
431 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
432 (description "This is a pretty printing library based on Wadler's paper
433\"A Prettier Printer\". It has been enhanced with support for ANSI terminal
434colored output using the ansi-terminal package.")
435 (license license:bsd-3)))
436
437(define-public ghc-appar
438 (package
439 (name "ghc-appar")
1159d1a5 440 (version "0.1.8")
dddbc90c
RV
441 (source
442 (origin
443 (method url-fetch)
444 (uri (string-append
445 "https://hackage.haskell.org/package/appar/appar-"
446 version
447 ".tar.gz"))
448 (sha256
449 (base32
1159d1a5 450 "07v3h766q9mnhphsm53718h1lds147ix7dj15kc5hnsj4vffvkn4"))))
dddbc90c
RV
451 (build-system haskell-build-system)
452 (home-page
453 "https://hackage.haskell.org/package/appar")
454 (synopsis "Simple applicative parser")
455 (description "This package provides a simple applicative parser in Parsec
456style.")
457 (license license:bsd-3)))
458
af369394
JS
459(define-public ghc-assoc
460 (package
461 (name "ghc-assoc")
462 (version "1.0.1")
463 (source
464 (origin
465 (method url-fetch)
466 (uri (string-append
467 "https://hackage.haskell.org/package/assoc/assoc-"
468 version
469 ".tar.gz"))
470 (sha256
471 (base32
472 "1m9n4vp190bvn2wcrd4ggfwa9pi93jp0zgx02mdgywn2zfidw020"))))
473 (build-system haskell-build-system)
474 (inputs
475 `(("ghc-bifunctors" ,ghc-bifunctors)
476 ("ghc-tagged" ,ghc-tagged)))
477 (home-page
478 "http://hackage.haskell.org/package/assoc")
479 (synopsis
480 "Swap and assoc: Symmetric and Semigroupy Bifunctors")
481 (description
482 "Provides generalisations of @code{swap :: (a,b) -> (b,a)} and
483@code{assoc :: ((a,b),c) -> (a,(b,c))} to @code{Bifunctor}s supporting
484similar operations (e.g. @code{Either}, @code{These}).")
485 (license license:bsd-3)))
486
dddbc90c
RV
487(define-public ghc-async
488 (package
489 (name "ghc-async")
048ef066 490 (version "2.2.2")
dddbc90c
RV
491 (source
492 (origin
493 (method url-fetch)
494 (uri (string-append
495 "https://hackage.haskell.org/package/async/async-"
496 version
497 ".tar.gz"))
498 (sha256
499 (base32
048ef066 500 "1zxvfcyy4sg8lmzphi5dgnavksj5pav6rbvd5kc48lf4hanb2jjb"))))
dddbc90c
RV
501 (build-system haskell-build-system)
502 (inputs
503 `(("ghc-hashable" ,ghc-hashable)
504 ("ghc-hunit" ,ghc-hunit)
7b01a977
RV
505 ("ghc-test-framework" ,ghc-test-framework)
506 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
dddbc90c
RV
507 (home-page "https://github.com/simonmar/async")
508 (synopsis "Library to run IO operations asynchronously")
509 (description "Async provides a library to run IO operations
510asynchronously, and wait for their results. It is a higher-level interface
511over threads in Haskell, in which @code{Async a} is a concurrent thread that
512will eventually deliver a value of type @code{a}.")
7b01a977
RV
513 (license license:bsd-3)))
514
9ad9ec2e
AG
515(define-public ghc-atomic-primops
516 (package
517 (name "ghc-atomic-primops")
af16c6b0 518 (version "0.8.3")
9ad9ec2e
AG
519 (source
520 (origin
521 (method url-fetch)
522 (uri (string-append "https://hackage.haskell.org/package/atomic-primops"
523 "/atomic-primops-" version ".tar.gz"))
524 (sha256
525 (base32
af16c6b0 526 "03n5dmyplrqgbyf8dr91izkxci7gkl3i3fnp82i5ld869zrgjfh0"))))
9ad9ec2e
AG
527 (build-system haskell-build-system)
528 (inputs `(("ghc-primitive" ,ghc-primitive)))
529 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
530 (synopsis "Safe approach to CAS and other atomic ops")
531 (description
532 "GHC 7.4 introduced a new @code{casMutVar} PrimOp which is difficult to
533use safely, because pointer equality is a highly unstable property in Haskell.
534This library provides a safer method based on the concept of @code{Ticket}s.")
535 (license license:bsd-3)))
536
dddbc90c 537(define-public ghc-atomic-write
79fcc5e5 538 (package
dddbc90c 539 (name "ghc-atomic-write")
c09d1e62 540 (version "0.2.0.6")
79fcc5e5
RV
541 (source
542 (origin
543 (method url-fetch)
dddbc90c
RV
544 (uri (string-append
545 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
546 version
547 ".tar.gz"))
79fcc5e5
RV
548 (sha256
549 (base32
c09d1e62 550 "1xs3shwnlj8hmnm3q6jc8nv78z0481i5n4hrqqdmbpx8grvlnqyl"))))
dddbc90c
RV
551 (build-system haskell-build-system)
552 (inputs
553 `(("ghc-temporary" ,ghc-temporary)
554 ("ghc-unix-compat" ,ghc-unix-compat)))
555 (native-inputs
556 `(("ghc-temporary" ,ghc-temporary)
557 ("ghc-unix-compat" ,ghc-unix-compat)
558 ("ghc-hspec" ,ghc-hspec)
559 ("hspec-discover" ,hspec-discover)))
560 (home-page "https://github.com/stackbuilders/atomic-write")
561 (synopsis "Atomically write to a file")
562 (description
563 "Atomically write to a file on POSIX-compliant systems while preserving
564permissions. @code{mv} is an atomic operation. This makes it simple to write
565to a file atomically just by using the @code{mv} operation. However, this
566will destroy the permissions on the original file. This library preserves
567permissions while atomically writing to a file.")
568 (license license:expat)))
569
570(define-public ghc-attoparsec
571 (package
572 (name "ghc-attoparsec")
511c3204 573 (version "0.13.2.3")
dddbc90c
RV
574 (source
575 (origin
576 (method url-fetch)
577 (uri (string-append
578 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
579 version
580 ".tar.gz"))
581 (sha256
582 (base32
511c3204 583 "1ngjn9h5n0vyki0m2jir4mg85875ysswy9hznpmj1r856mqwc6ix"))))
79fcc5e5 584 (build-system haskell-build-system)
79fcc5e5 585 (arguments
dddbc90c
RV
586 `(#:phases
587 (modify-phases %standard-phases
588 (add-after 'unpack 'patch-for-newer-quickcheck
589 (lambda _
590 (substitute* "attoparsec.cabal"
591 (("QuickCheck >= 2\\.7 && < 2\\.10")
592 "QuickCheck >= 2.7 && < 2.12"))
593 ;; This test fails because of the newer QuickCheck:
594 ;; <https://github.com/bos/attoparsec/issues/134>.
595 (substitute* "tests/QC/ByteString.hs"
596 ((", testProperty \"satisfyWith\" satisfyWith")
597 "")))))))
598 (inputs
599 `(("ghc-scientific" ,ghc-scientific)))
600 (native-inputs
601 `(("ghc-tasty" ,ghc-tasty)
602 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
603 ("ghc-quickcheck" ,ghc-quickcheck)
604 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
605 ("ghc-vector" ,ghc-vector)))
606 (home-page "https://github.com/bos/attoparsec")
607 (synopsis "Fast combinator parsing for bytestrings and text")
608 (description "This library provides a fast parser combinator library,
609aimed particularly at dealing efficiently with network protocols and
610complicated text/binary file formats.")
79fcc5e5
RV
611 (license license:bsd-3)))
612
dddbc90c 613(define-public ghc-attoparsec-bootstrap
6b34d01c 614 (package
dddbc90c
RV
615 (inherit ghc-attoparsec)
616 (name "ghc-attoparsec-bootstrap")
617 (arguments `(#:tests? #f))
618 (inputs
619 `(("ghc-scientific" ,ghc-scientific-bootstrap)))
620 (native-inputs '())
799d8d3c 621 (properties '((hidden? #t)))))
dddbc90c
RV
622
623(define-public ghc-attoparsec-iso8601
624 (package
625 (name "ghc-attoparsec-iso8601")
97f267c8 626 (version "1.0.1.0")
6b34d01c
RV
627 (source
628 (origin
629 (method url-fetch)
630 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
631 "attoparsec-iso8601-" version "/"
632 "attoparsec-iso8601-" version ".tar.gz"))
6b34d01c
RV
633 (sha256
634 (base32
97f267c8 635 "0hj10w15qp2z5bz2v4xahhmbgzclpyfi5l2sv97wqycysg9gp7s9"))))
6b34d01c 636 (build-system haskell-build-system)
dddbc90c
RV
637 (arguments
638 `(#:cabal-revision
97f267c8 639 ("1" "1rjhscmczgs1bwyqx7lvkm8py3ylxjd2797mrzgnq60fvm292750")))
dddbc90c
RV
640 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
641 ("ghc-base-compat" ,ghc-base-compat)))
642 (home-page "https://github.com/bos/aeson")
643 (synopsis "Parse ISO 8601 dates")
644 (description "Haskell library for parsing of ISO 8601 dates, originally
645from aeson.")
6b34d01c 646 (license license:bsd-3)))
b57e99f5 647
dddbc90c 648(define-public ghc-auto-update
b57e99f5 649 (package
dddbc90c 650 (name "ghc-auto-update")
11b1b6cd 651 (version "0.1.6")
dddbc90c
RV
652 (source
653 (origin
654 (method url-fetch)
655 (uri (string-append
656 "https://hackage.haskell.org/package/auto-update/auto-update-"
657 version
658 ".tar.gz"))
659 (sha256
660 (base32
11b1b6cd 661 "1i36xc2i34aync8271x3pv515l3zb53i518dybn8ghqkhzf27q7l"))))
dddbc90c 662 (build-system haskell-build-system)
11b1b6cd
TS
663 (native-inputs
664 `(("ghc-hspec" ,ghc-hspec)
665 ("ghc-hunit" ,ghc-hunit)
666 ("ghc-retry" ,ghc-retry)
667 ("hspec-discover" ,hspec-discover)))
dddbc90c
RV
668 (home-page "https://github.com/yesodweb/wai")
669 (synopsis "Efficiently run periodic, on-demand actions")
670 (description "This library provides mechanisms to efficiently run
671periodic, on-demand actions in Haskell.")
672 (license license:expat)))
673
674(define-public ghc-aws
675 (package
676 (name "ghc-aws")
677 (version "0.20")
b57e99f5
RV
678 (source
679 (origin
680 (method url-fetch)
681 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
682 "aws-" version "/aws-" version ".tar.gz"))
683 (sha256 (base32
684 "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0"))))
685 (build-system haskell-build-system)
686 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
687 (inputs
688 `(("ghc-aeson" ,ghc-aeson)
689 ("ghc-attoparsec" ,ghc-attoparsec)
690 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
691 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
692 ("ghc-blaze-builder" ,ghc-blaze-builder)
693 ("ghc-byteable" ,ghc-byteable)
694 ("ghc-case-insensitive" ,ghc-case-insensitive)
695 ("ghc-cereal" ,ghc-cereal)
696 ("ghc-conduit" ,ghc-conduit)
697 ("ghc-conduit-extra" ,ghc-conduit-extra)
698 ("ghc-cryptonite" ,ghc-cryptonite)
699 ("ghc-data-default" ,ghc-data-default)
700 ("ghc-http-conduit" ,ghc-http-conduit)
701 ("ghc-http-types" ,ghc-http-types)
702 ("ghc-lifted-base" ,ghc-lifted-base)
703 ("ghc-monad-control" ,ghc-monad-control)
704 ("ghc-network" ,ghc-network)
705 ("ghc-old-locale" ,ghc-old-locale)
706 ("ghc-safe" ,ghc-safe)
707 ("ghc-scientific" ,ghc-scientific)
708 ("ghc-tagged" ,ghc-tagged)
709 ("ghc-unordered-containers" ,ghc-unordered-containers)
710 ("ghc-utf8-string" ,ghc-utf8-string)
711 ("ghc-vector" ,ghc-vector)
712 ("ghc-xml-conduit" ,ghc-xml-conduit)))
713 (native-inputs
714 `(("ghc-quickcheck" ,ghc-quickcheck)
715 ("ghc-errors" ,ghc-errors)
716 ("ghc-http-client" ,ghc-http-client)
717 ("ghc-http-client-tls" ,ghc-http-client-tls)
718 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
719 ("ghc-tasty" ,ghc-tasty)
720 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
721 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
722 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
723 (home-page "https://github.com/aristidb/aws")
724 (synopsis "Amazon Web Services for Haskell")
725 (description "This package attempts to provide support for using
726Amazon Web Services like S3 (storage), SQS (queuing) and others to
727Haskell programmers. The ultimate goal is to support all Amazon
728Web Services.")
729 (license license:bsd-3)))
730
731(define-public ghc-base16-bytestring
732 (package
733 (name "ghc-base16-bytestring")
734 (version "0.1.1.6")
735 (source
736 (origin
737 (method url-fetch)
738 (uri (string-append
739 "https://hackage.haskell.org/package/base16-bytestring/"
740 "base16-bytestring-" version ".tar.gz"))
b57e99f5
RV
741 (sha256
742 (base32
dddbc90c 743 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
b57e99f5 744 (build-system haskell-build-system)
dddbc90c
RV
745 (home-page "https://github.com/bos/base16-bytestring")
746 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
747 (description
748 "This package provides a Haskell library for working with base16-encoded
749data quickly and efficiently, using the ByteString type.")
b57e99f5 750 (license license:bsd-3)))
bbf8bf31 751
dddbc90c 752(define-public ghc-base64-bytestring
bbf8bf31 753 (package
dddbc90c
RV
754 (name "ghc-base64-bytestring")
755 (version "1.0.0.2")
bbf8bf31
RV
756 (source
757 (origin
758 (method url-fetch)
dddbc90c
RV
759 (uri (string-append
760 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
761 version
762 ".tar.gz"))
763 (sha256
764 (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr"))))
765 (build-system haskell-build-system)
766 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
767 (home-page "https://github.com/bos/base64-bytestring")
768 (synopsis "Base64 encoding and decoding for ByteStrings")
769 (description "This library provides fast base64 encoding and decoding for
770Haskell @code{ByteString}s.")
771 (license license:bsd-3)))
772
773(define-public ghc-base-compat
774 (package
775 (name "ghc-base-compat")
4daaa371 776 (version "0.10.5")
dddbc90c
RV
777 (source
778 (origin
779 (method url-fetch)
780 (uri (string-append
781 "https://hackage.haskell.org/package/base-compat/base-compat-"
782 version
783 ".tar.gz"))
bbf8bf31
RV
784 (sha256
785 (base32
4daaa371 786 "0hgvlqcr852hfp52jp99snhbj550mvxxpi8qn15d8ml9aqhyl2lr"))))
bbf8bf31
RV
787 (build-system haskell-build-system)
788 (native-inputs
dddbc90c
RV
789 `(("ghc-quickcheck" ,ghc-quickcheck)
790 ("ghc-hspec" ,ghc-hspec)
791 ("hspec-discover" ,hspec-discover)))
792 (home-page "https://hackage.haskell.org/package/base-compat")
793 (synopsis "Haskell compiler compatibility library")
794 (description "This library provides functions available in later versions
795of base to a wider range of compilers, without requiring the use of CPP
796pragmas in your code.")
797 (license license:bsd-3)))
798
f9d78c7f
TS
799(define-public ghc-base-compat-batteries
800 (package
801 (name "ghc-base-compat-batteries")
802 (version "0.10.5")
803 (source
804 (origin
805 (method url-fetch)
806 (uri (string-append "https://hackage.haskell.org/package/"
807 "base-compat-batteries/base-compat-batteries-"
808 version ".tar.gz"))
809 (sha256
810 (base32
811 "1vkhc639vqiv5p39jn1v312z32i7yk5q2lf0ap4jxl1v8p8wyp8p"))))
812 (build-system haskell-build-system)
813 (inputs
814 `(("ghc-base-compat" ,ghc-base-compat)))
815 (native-inputs
816 `(("ghc-hspec" ,ghc-hspec)
817 ("ghc-quickcheck" ,ghc-quickcheck)
818 ("hspec-discover" ,hspec-discover)))
819 (arguments
820 `(#:cabal-revision
821 ("1" "15sn2qc8k0hxbb2nai341kkrci98hlhzcj2ci087m0zxcg5jcdbp")))
3ef91e15 822 (home-page "https://hackage.haskell.org/package/base-compat-batteries")
f9d78c7f
TS
823 (synopsis "base-compat with extra batteries")
824 (description "This library provides functions available in later
825versions of @code{base} to a wider range of compilers, without requiring
826you to use CPP pragmas in your code. This package provides the same API
827as the @code{base-compat} library, but depends on compatibility
828packages (such as @code{semigroups}) to offer a wider support window
829than @code{base-compat}, which has no dependencies.")
830 (license license:expat)))
831
dddbc90c
RV
832(define-public ghc-basement
833 (package
834 (name "ghc-basement")
8b56c1fd 835 (version "0.0.11")
dddbc90c
RV
836 (source
837 (origin
838 (method url-fetch)
839 (uri (string-append "https://hackage.haskell.org/package/"
840 "basement/basement-" version ".tar.gz"))
841 (sha256
842 (base32
8b56c1fd 843 "0srlws74yiraqaapgcjd9p5d1fwb3zr9swcz74jpjm55fls2nn37"))))
dddbc90c
RV
844 (build-system haskell-build-system)
845 (home-page "https://github.com/haskell-foundation/foundation")
846 (synopsis "Basic primitives for Foundation starter pack")
847 (description
848 "This package contains basic primitives for the Foundation set of
849packages.")
850 (license license:bsd-3)))
851
852(define-public ghc-base-orphans
853 (package
854 (name "ghc-base-orphans")
780477fb 855 (version "0.8.1")
dddbc90c
RV
856 (source
857 (origin
858 (method url-fetch)
859 (uri (string-append
860 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
861 version
862 ".tar.gz"))
863 (sha256
864 (base32
780477fb 865 "1nwr9av27i9p72k0sn96mw3ywdczw65dy5gd5wxpabhhxlxdcas4"))))
dddbc90c
RV
866 (build-system haskell-build-system)
867 (native-inputs
868 `(("ghc-quickcheck" ,ghc-quickcheck)
869 ("ghc-hspec" ,ghc-hspec)
870 ("hspec-discover" ,hspec-discover)))
871 (home-page "https://hackage.haskell.org/package/base-orphans")
872 (synopsis "Orphan instances for backwards compatibility")
873 (description "This package defines orphan instances that mimic instances
874available in later versions of base to a wider (older) range of compilers.")
875 (license license:bsd-3)))
876
877(define-public ghc-base-prelude
878 (package
879 (name "ghc-base-prelude")
880 (version "1.3")
881 (source
882 (origin
883 (method url-fetch)
884 (uri (string-append "https://hackage.haskell.org/package/"
885 "base-prelude-" version "/"
886 "base-prelude-" version ".tar.gz"))
887 (sha256
888 (base32
889 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
890 (build-system haskell-build-system)
891 (home-page "https://github.com/nikita-volkov/base-prelude")
892 (synopsis "The most complete prelude formed solely from the Haskell's base
893package")
894 (description "This Haskell package aims to reexport all the non-conflicting
895and most general definitions from the \"base\" package.
896
897This includes APIs for applicatives, arrows, monoids, foldables, traversables,
898exceptions, generics, ST, MVars and STM.
899
900This package will never have any dependencies other than \"base\".
901
902Versioning policy:
903
904The versioning policy of this package deviates from PVP in the sense
905that its exports in part are transitively determined by the version of \"base\".
906Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
907the bounds of \"base\" as well.")
908 (license license:expat)))
909
910(define-public ghc-base-unicode-symbols
911 (package
912 (name "ghc-base-unicode-symbols")
913 (version "0.2.3")
914 (source
915 (origin
916 (method url-fetch)
917 (uri (string-append
918 "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-"
919 version
920 ".tar.gz"))
921 (sha256
922 (base32
923 "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf"))))
924 (build-system haskell-build-system)
925 (home-page "http://www.haskell.org/haskellwiki/Unicode-symbols")
926 (synopsis "Unicode alternatives for common functions and operators")
927 (description "This package defines new symbols for a number of functions,
928operators and types in the base package. All symbols are documented with
929their actual definition and information regarding their Unicode code point.
930They should be completely interchangeable with their definitions. For
931further Unicode goodness you can enable the @code{UnicodeSyntax}
932@url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax,
933language extension}. This extension enables Unicode characters to be used to
934stand for certain ASCII character sequences, i.e. → instead of @code{->},
935∀ instead of @code{forall} and many others.")
936 (license license:bsd-3)))
937
ec8491b0
ASM
938(define-public ghc-basic-prelude
939 (package
940 (name "ghc-basic-prelude")
941 (version "0.7.0")
942 (source
943 (origin
944 (method url-fetch)
945 (uri (string-append
946 "https://hackage.haskell.org/package/basic-prelude/"
947 "basic-prelude-" version ".tar.gz"))
948 (sha256
949 (base32
950 "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h"))))
951 (build-system haskell-build-system)
952 (inputs
953 `(("ghc-hashable" ,ghc-hashable)
954 ("ghc-unordered-containers"
955 ,ghc-unordered-containers)
956 ("ghc-vector" ,ghc-vector)))
957 (home-page "https://github.com/snoyberg/basic-prelude#readme")
958 (synopsis "Enhanced core prelude; a common foundation for alternate preludes")
959 (description
960 "The premise of basic-prelude is that there are a lot of very commonly
961desired features missing from the standard Prelude, such as commonly used
962operators (<$> and >=>, for instance) and imports for common datatypes
963(e.g., ByteString and Vector). At the same time, there are lots of other
964components which are more debatable, such as providing polymorphic versions
965of common functions.
966
967So basic-prelude is intended to give a common foundation for a number of
968alternate preludes. The package provides two modules: CorePrelude provides
969the common ground for other preludes to build on top of, while BasicPrelude
970exports CorePrelude together with commonly used list functions to provide a
971drop-in replacement for the standard Prelude.
972
973Users wishing to have an improved Prelude can use BasicPrelude. Developers
974wishing to create a new prelude should use CorePrelude.")
975 (license license:expat)))
976
dddbc90c
RV
977(define-public ghc-bifunctors
978 (package
979 (name "ghc-bifunctors")
0beaec66 980 (version "5.5.5")
dddbc90c
RV
981 (source
982 (origin
983 (method url-fetch)
984 (uri (string-append
985 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
986 version
987 ".tar.gz"))
988 (sha256
989 (base32
0beaec66 990 "0rn47q8dzv0g1fyams99p4py6q0asxdc50q9k0nj497brk738xcb"))))
dddbc90c
RV
991 (build-system haskell-build-system)
992 (inputs
993 `(("ghc-base-orphans" ,ghc-base-orphans)
994 ("ghc-comonad" ,ghc-comonad)
995 ("ghc-th-abstraction" ,ghc-th-abstraction)
996 ("ghc-transformers-compat" ,ghc-transformers-compat)
997 ("ghc-tagged" ,ghc-tagged)
998 ("ghc-semigroups" ,ghc-semigroups)))
999 (native-inputs
1000 `(("ghc-hspec" ,ghc-hspec)
1001 ("hspec-discover" ,hspec-discover)
1002 ("ghc-quickcheck" ,ghc-quickcheck)))
1003 (home-page "https://github.com/ekmett/bifunctors/")
1004 (synopsis "Bifunctors for Haskell")
1005 (description "This package provides bifunctors for Haskell.")
1006 (license license:bsd-3)))
1007
1008(define-public ghc-bindings-dsl
1009 (package
1010 (name "ghc-bindings-dsl")
1011 (version "1.0.25")
1012 (source
1013 (origin
1014 (method url-fetch)
1015 (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/"
1016 "bindings-DSL-" version ".tar.gz"))
1017 (sha256
1018 (base32
1019 "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3"))))
1020 (build-system haskell-build-system)
1021 (home-page "https://github.com/jwiegley/bindings-dsl/wiki")
1022 (synopsis "FFI domain specific language, on top of hsc2hs")
1023 (description
1024 "This is a set of macros to be used when writing Haskell FFI. They were
1025designed to be able to fully describe C interfaces, so that @code{hsc2hs} can
1026extract from them all Haskell code needed to mimic such interfaces. All
1027Haskell names used are automatically derived from C names, structures are
1028mapped to Haskell instances of @code{Storable}, and there are also macros you
1029can use with C code to help write bindings to inline functions or macro
1030functions.")
1031 (license license:bsd-3)))
1032
64f42786
TS
1033(define-public ghc-bitarray
1034 (package
1035 (name "ghc-bitarray")
1036 (version "0.0.1.1")
1037 (source
1038 (origin
1039 (method url-fetch)
1040 (uri (string-append "https://hackage.haskell.org/package/"
1041 "bitarray/bitarray-" version ".tar.gz"))
1042 (sha256
1043 (base32
1044 "00nqd62cbh42qqqvcl6iv1i9kbv0f0mkiygv4j70wfh5cl86yzxj"))))
1045 (build-system haskell-build-system)
1046 (arguments
1047 `(#:cabal-revision
1048 ("1" "10fk92v9afjqk43zi621jxl0n8kci0xjj32lz3vqa9xbh67zjz45")))
1049 (home-page "https://hackage.haskell.org/package/bitarray")
1050 (synopsis "Mutable and immutable bit arrays")
1051 (description "The package provides mutable and immutable bit arrays.")
1052 (license license:bsd-3)))
1053
dddbc90c
RV
1054(define-public ghc-blaze-builder
1055 (package
1056 (name "ghc-blaze-builder")
1057 (version "0.4.1.0")
1058 (source
1059 (origin
1060 (method url-fetch)
1061 (uri (string-append
1062 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
1063 version
1064 ".tar.gz"))
1065 (sha256
1066 (base32
1067 "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i"))))
1068 (build-system haskell-build-system)
1069 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
1070 (inputs
1071 `(("ghc-utf8-string" ,ghc-utf8-string)))
1072 (home-page "https://github.com/lpsmith/blaze-builder")
1073 (synopsis "Efficient buffered output")
1074 (description "This library provides an implementation of the older
1075@code{blaze-builder} interface in terms of the new builder that shipped with
1076@code{bytestring-0.10.4.0}. This implementation is mostly intended as a
1077bridge to the new builder, so that code that uses the old interface can
1078interoperate with code that uses the new implementation.")
1079 (license license:bsd-3)))
1080
1081(define-public ghc-blaze-markup
1082 (package
1083 (name "ghc-blaze-markup")
7d30fcf3 1084 (version "0.8.2.3")
dddbc90c
RV
1085 (source
1086 (origin
1087 (method url-fetch)
1088 (uri (string-append "https://hackage.haskell.org/package/"
1089 "blaze-markup/blaze-markup-"
1090 version ".tar.gz"))
1091 (sha256
1092 (base32
7d30fcf3 1093 "1g9m7ansj7fdyzhz1wqkbzn5amjm50vjgjdwkbjc5qqhagnv1y3j"))))
dddbc90c
RV
1094 (build-system haskell-build-system)
1095 (arguments
1096 `(#:phases
1097 (modify-phases %standard-phases
1098 (add-before 'configure 'update-constraints
1099 (lambda _
1100 (substitute* "blaze-markup.cabal"
1101 (("tasty >= 1\\.0 && < 1\\.1")
1102 "tasty >= 1.0 && < 1.2")))))))
1103 (inputs
1104 `(("ghc-blaze-builder" ,ghc-blaze-builder)))
1105 (native-inputs
1106 `(("ghc-hunit" ,ghc-hunit)
1107 ("ghc-quickcheck" ,ghc-quickcheck)
1108 ("ghc-tasty" ,ghc-tasty)
1109 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
1110 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
1111 (home-page "https://jaspervdj.be/blaze")
1112 (synopsis "Fast markup combinator library for Haskell")
1113 (description "This library provides core modules of a markup combinator
1114library for Haskell.")
1115 (license license:bsd-3)))
1116
1117(define-public ghc-bloomfilter
1118 (package
1119 (name "ghc-bloomfilter")
1120 (version "2.0.1.0")
1121 (source
1122 (origin
1123 (method url-fetch)
1124 (uri (string-append "https://hackage.haskell.org/package/"
1125 "bloomfilter/bloomfilter-" version ".tar.gz"))
1126 (sha256
1127 (base32
1128 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
1129 (build-system haskell-build-system)
1130 (native-inputs
1131 `(("ghc-quickcheck" ,ghc-quickcheck)
1132 ("ghc-random" ,ghc-random)
1133 ("ghc-test-framework" ,ghc-test-framework)
1134 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1135 (home-page "https://github.com/bos/bloomfilter")
1136 (synopsis "Pure and impure Bloom filter implementations")
1137 (description "This package provides both mutable and immutable Bloom
1138filter data types, along with a family of hash functions and an easy-to-use
1139interface.")
1140 (license license:bsd-3)))
1141
1142(define-public ghc-boxes
1143 (package
1144 (name "ghc-boxes")
1145 (version "0.1.5")
1146 (source
1147 (origin
1148 (method url-fetch)
1149 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
1150 version ".tar.gz"))
1151 (sha256
1152 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
1153 (build-system haskell-build-system)
1154 (inputs
1155 `(("ghc-split" ,ghc-split)
1156 ("ghc-quickcheck" ,ghc-quickcheck)))
1157 (home-page "https://hackage.haskell.org/package/boxes")
1158 (synopsis "2D text pretty-printing library")
1159 (description
1160 "Boxes is a pretty-printing library for laying out text in two dimensions,
1161using a simple box model.")
1162 (license license:bsd-3)))
1163
1164(define-public ghc-byteable
1165 (package
1166 (name "ghc-byteable")
1167 (version "0.1.1")
1168 (source (origin
1169 (method url-fetch)
1170 (uri (string-append "https://hackage.haskell.org/package/"
1171 "byteable/byteable-" version ".tar.gz"))
1172 (sha256
1173 (base32
1174 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
1175 (build-system haskell-build-system)
1176 (home-page "https://github.com/vincenthz/hs-byteable")
1177 (synopsis "Type class for sequence of bytes")
1178 (description
1179 "This package provides an abstract class to manipulate sequence of bytes.
1180The use case of this class is abstracting manipulation of types that are just
1181wrapping a bytestring with stronger and more meaniful name.")
1182 (license license:bsd-3)))
1183
1184(define-public ghc-byteorder
1185 (package
1186 (name "ghc-byteorder")
1187 (version "1.0.4")
1188 (source
1189 (origin
1190 (method url-fetch)
1191 (uri (string-append
1192 "https://hackage.haskell.org/package/byteorder/byteorder-"
1193 version
1194 ".tar.gz"))
1195 (sha256
1196 (base32
1197 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
1198 (build-system haskell-build-system)
1199 (home-page
1200 "http://community.haskell.org/~aslatter/code/byteorder")
1201 (synopsis
1202 "Exposes the native endianness of the system")
1203 (description
1204 "This package is for working with the native byte-ordering of the
1205system.")
1206 (license license:bsd-3)))
1207
1208(define-public ghc-bytes
1209 (package
1210 (name "ghc-bytes")
1211 (version "0.15.5")
1212 (source
1213 (origin
1214 (method url-fetch)
1215 (uri
1216 (string-append "https://hackage.haskell.org/package/bytes-"
1217 version "/bytes-"
1218 version ".tar.gz"))
1219 (file-name (string-append name "-" version ".tar.gz"))
1220 (sha256
1221 (base32
1222 "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683"))))
1223 (build-system haskell-build-system)
1224 (inputs `(("ghc-cereal" ,ghc-cereal)
1225 ("cabal-doctest" ,cabal-doctest)
1226 ("ghc-doctest" ,ghc-doctest)
1227 ("ghc-scientific" ,ghc-scientific)
1228 ("ghc-transformers-compat" ,ghc-transformers-compat)
1229 ("ghc-unordered-containers" ,ghc-unordered-containers)
1230 ("ghc-void" ,ghc-void)
1231 ("ghc-vector" ,ghc-vector)))
1232 (synopsis "Serialization between @code{binary} and @code{cereal}")
1233 (description "This package provides a simple compatibility shim that lets
1234you work with both @code{binary} and @code{cereal} with one chunk of
1235serialization code.")
1236 (home-page "https://hackage.haskell.org/package/bytes")
1237 (license license:bsd-3)))
1238
1239(define-public ghc-bytestring-builder
1240 (package
1241 (name "ghc-bytestring-builder")
13ac8a7f 1242 (version "0.10.8.2.0")
dddbc90c
RV
1243 (source
1244 (origin
1245 (method url-fetch)
1246 (uri (string-append
1247 "https://hackage.haskell.org/package/bytestring-builder"
1248 "/bytestring-builder-" version ".tar.gz"))
1249 (sha256
1250 (base32
13ac8a7f 1251 "0grcrgwwwcvwrs9az7l4d3kf0lsqfa9qpmjzf6iyanvwn9nyzyi7"))))
dddbc90c
RV
1252 (build-system haskell-build-system)
1253 (arguments `(#:haddock? #f)) ; Package contains no documentation.
1254 (home-page "https://hackage.haskell.org/package/bytestring-builder")
1255 (synopsis "The new bytestring builder, packaged outside of GHC")
1256 (description "This package provides the bytestring builder that is
1257debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
1258Compatibility package for older packages.")
1259 (license license:bsd-3)))
1260
1261(define-public ghc-bytestring-handle
1262 (package
1263 (name "ghc-bytestring-handle")
1264 (version "0.1.0.6")
1265 (source
1266 (origin
1267 (method url-fetch)
1268 (uri (string-append
1269 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
1270 version ".tar.gz"))
1271 (sha256
1272 (base32
1273 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
1274 (build-system haskell-build-system)
1275 (arguments
853748c4
TS
1276 `(#:cabal-revision
1277 ("1" "0x11aj6w1lijh84jcdq1qgyvdnc7i9ivbyq4wf9rxicg57viisz9")
1278 #:phases
dddbc90c
RV
1279 (modify-phases %standard-phases
1280 (add-before 'configure 'update-constraints
1281 (lambda _
1282 (substitute* "bytestring-handle.cabal"
1283 (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
853748c4 1284 "QuickCheck >= 2.1.2 && < 2.14")))))))
dddbc90c
RV
1285 (inputs
1286 `(("ghc-hunit" ,ghc-hunit)
1287 ("ghc-quickcheck" ,ghc-quickcheck)
1288 ("ghc-test-framework" ,ghc-test-framework)
1289 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1290 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1291 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
1292 (synopsis "ByteString-backed Handles")
1293 (description "ByteString-backed Handles") ; There is no description
1294 (license license:bsd-3)))
1295
1296(define-public ghc-bytestring-lexing
1297 (package
1298 (name "ghc-bytestring-lexing")
1299 (version "0.5.0.2")
1300 (source
1301 (origin
1302 (method url-fetch)
1303 (uri (string-append "https://hackage.haskell.org/package/"
1304 "bytestring-lexing/bytestring-lexing-"
1305 version ".tar.gz"))
1306 (sha256
1307 (base32
1308 "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81"))))
1309 (build-system haskell-build-system)
1310 (home-page "http://code.haskell.org/~wren/")
1311 (synopsis "Parse and produce literals from strict or lazy bytestrings")
1312 (description
1313 "This package provides tools to parse and produce literals efficiently
1314from strict or lazy bytestrings.")
1315 (license license:bsd-2)))
1316
1317(define-public ghc-bzlib-conduit
1318 (package
1319 (name "ghc-bzlib-conduit")
5fba8d6d 1320 (version "0.3.0.2")
dddbc90c
RV
1321 (source
1322 (origin
1323 (method url-fetch)
1324 (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/"
1325 "bzlib-conduit-" version ".tar.gz"))
1326 (sha256
1327 (base32
5fba8d6d 1328 "0a21zin5plsl37hkxh2jv8cxwyjrbs2fy7n5cyrzgdaa7lmp6b7b"))))
dddbc90c
RV
1329 (build-system haskell-build-system)
1330 (inputs
1331 `(("ghc-bindings-dsl" ,ghc-bindings-dsl)
1332 ("ghc-conduit" ,ghc-conduit)
1333 ("ghc-data-default-class" ,ghc-data-default-class)
1334 ("ghc-resourcet" ,ghc-resourcet)))
1335 (native-inputs
1336 `(("ghc-hspec" ,ghc-hspec)
1337 ("ghc-random" ,ghc-random)))
1338 (home-page "https://github.com/snoyberg/bzlib-conduit")
1339 (synopsis "Streaming compression/decompression via conduits")
1340 (description
1341 "This package provides Haskell bindings to bzlib and Conduit support for
1342streaming compression and decompression.")
1343 (license license:bsd-3)))
1344
1345(define-public ghc-c2hs
1346 (package
1347 (name "ghc-c2hs")
1348 (version "0.28.6")
1349 (source
1350 (origin
1351 (method url-fetch)
1352 (uri (string-append
1353 "https://hackage.haskell.org/package/c2hs/c2hs-"
1354 version
1355 ".tar.gz"))
1356 (sha256
1357 (base32
1358 "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci"))))
1359 (build-system haskell-build-system)
1360 (inputs
1361 `(("ghc-language-c" ,ghc-language-c)
1362 ("ghc-dlist" ,ghc-dlist)))
1363 (native-inputs
1364 `(("ghc-test-framework" ,ghc-test-framework)
1365 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1366 ("ghc-hunit" ,ghc-hunit)
1367 ("ghc-shelly" ,ghc-shelly)
1368 ("gcc" ,gcc)))
1369 (arguments
1370 `(;; XXX: Test failures are induced by a parse error in <bits/floatn.h>
1371 ;; of glibc 2.28.
1372 #:tests? #f
1373
1374 #:phases
1375 (modify-phases %standard-phases
1376 (add-before 'check 'set-cc
1377 ;; add a cc executable in the path, needed for some tests to pass
1378 (lambda* (#:key inputs #:allow-other-keys)
1379 (let ((gcc (assoc-ref inputs "gcc"))
1380 (tmpbin (tmpnam))
1381 (curpath (getenv "PATH")))
1382 (mkdir-p tmpbin)
1383 (symlink (which "gcc") (string-append tmpbin "/cc"))
1384 (setenv "PATH" (string-append tmpbin ":" curpath)))
1385 #t))
1386 (add-after 'check 'remove-cc
1387 ;; clean the tmp dir made in 'set-cc
1388 (lambda _
1389 (let* ((cc-path (which "cc"))
1390 (cc-dir (dirname cc-path)))
1391 (delete-file-recursively cc-dir)
1392 #t))))))
1393 (home-page "https://github.com/haskell/c2hs")
1394 (synopsis "Create Haskell bindings to C libraries")
1395 (description "C->Haskell assists in the development of Haskell bindings to
1396C libraries. It extracts interface information from C header files and
1397generates Haskell code with foreign imports and marshaling. Unlike writing
1398foreign imports by hand (or using hsc2hs), this ensures that C functions are
1399imported with the correct Haskell types.")
1400 (license license:gpl2)))
1401
1402(define-public ghc-cairo
1403 (package
1404 (name "ghc-cairo")
1405 (version "0.13.5.0")
1406 (source
1407 (origin
1408 (method url-fetch)
1409 (uri (string-append "https://hackage.haskell.org/package/cairo/"
1410 "cairo-" version ".tar.gz"))
1411 (sha256
1412 (base32
1413 "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2"))))
1414 (build-system haskell-build-system)
1415 (arguments
1416 `(#:modules ((guix build haskell-build-system)
1417 (guix build utils)
1418 (ice-9 match)
1419 (srfi srfi-26))
1420 #:phases
1421 (modify-phases %standard-phases
1422 ;; FIXME: This is a copy of the standard configure phase with a tiny
1423 ;; difference: this package needs the -package-db flag to be passed
1424 ;; to "runhaskell" in addition to the "configure" action, because it
1425 ;; depends on gtk2hs-buildtools, which provide setup hooks. Without
1426 ;; this option the Setup.hs file cannot be evaluated. The
1427 ;; haskell-build-system should be changed to pass "-package-db" to
1428 ;; "runhaskell" in any case.
1429 (replace 'configure
1430 (lambda* (#:key outputs inputs tests? (configure-flags '())
1431 #:allow-other-keys)
1432 (let* ((out (assoc-ref outputs "out"))
1433 (name-version (strip-store-file-name out))
1434 (input-dirs (match inputs
1435 (((_ . dir) ...)
1436 dir)
1437 (_ '())))
1438 (ghc-path (getenv "GHC_PACKAGE_PATH"))
1439 (params (append `(,(string-append "--prefix=" out))
1440 `(,(string-append "--libdir=" out "/lib"))
1441 `(,(string-append "--bindir=" out "/bin"))
1442 `(,(string-append
1443 "--docdir=" out
1444 "/share/doc/" name-version))
1445 '("--libsubdir=$compiler/$pkg-$version")
1446 '("--package-db=../package.conf.d")
1447 '("--global")
1448 `(,@(map
1449 (cut string-append "--extra-include-dirs=" <>)
1450 (search-path-as-list '("include") input-dirs)))
1451 `(,@(map
1452 (cut string-append "--extra-lib-dirs=" <>)
1453 (search-path-as-list '("lib") input-dirs)))
1454 (if tests?
1455 '("--enable-tests")
1456 '())
1457 configure-flags)))
1458 (unsetenv "GHC_PACKAGE_PATH")
1459 (apply invoke "runhaskell" "-package-db=../package.conf.d"
1460 "Setup.hs" "configure" params)
1461 (setenv "GHC_PACKAGE_PATH" ghc-path)
1462 #t))))))
1463 (inputs
1464 `(("ghc-utf8-string" ,ghc-utf8-string)
1465 ("cairo" ,cairo)))
1466 (native-inputs
1467 `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools)
1468 ("pkg-config" ,pkg-config)))
1469 (home-page "http://projects.haskell.org/gtk2hs/")
1470 (synopsis "Haskell bindings to the Cairo vector graphics library")
1471 (description
1472 "Cairo is a library to render high quality vector graphics. There exist
1473various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG
1474documents, amongst others.")
1475 (license license:bsd-3)))
1476
1477(define-public ghc-call-stack
1478 (package
1479 (name "ghc-call-stack")
1480 (version "0.1.0")
1481 (source
1482 (origin
1483 (method url-fetch)
1484 (uri (string-append "https://hackage.haskell.org/package/"
1485 "call-stack/call-stack-"
1486 version ".tar.gz"))
1487 (sha256
1488 (base32
1489 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
1490 (build-system haskell-build-system)
1491 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
1492 (home-page "https://github.com/sol/call-stack#readme")
1493 (synopsis "Use GHC call-stacks in a backward compatible way")
1494 (description "This package provides a compatibility layer for using GHC
1495call stacks with different versions of the compiler.")
1496 (license license:expat)))
1497
1498;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
1499;; because it depends on ghc-nanospec, which depends on ghc-hunit.
1500(define-public ghc-call-stack-boot
1501 (hidden-package
1502 (package
1503 (inherit ghc-call-stack)
1504 (arguments '(#:tests? #f))
1505 (inputs '()))))
1506
1507(define-public ghc-case-insensitive
1508 (package
1509 (name "ghc-case-insensitive")
1510 (version "1.2.0.11")
1511 (outputs '("out" "doc"))
1512 (source
1513 (origin
1514 (method url-fetch)
1515 (uri (string-append
1516 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
1517 version
1518 ".tar.gz"))
1519 (sha256
1520 (base32
1521 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7"))))
1522 (build-system haskell-build-system)
1523 ;; these inputs are necessary to use this library
1524 (inputs
1525 `(("ghc-hashable" ,ghc-hashable)))
1526 (arguments
1527 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1528 (home-page
1529 "https://github.com/basvandijk/case-insensitive")
1530 (synopsis "Case insensitive string comparison")
1531 (description
1532 "The module @code{Data.CaseInsensitive} provides the @code{CI} type
1533constructor which can be parameterised by a string-like type like:
1534@code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of
1535the resulting type will be insensitive to cases.")
1536 (license license:bsd-3)))
1537
1538(define-public ghc-cereal
1539 (package
1540 (name "ghc-cereal")
bd95427e 1541 (version "0.5.8.1")
dddbc90c
RV
1542 (source
1543 (origin
1544 (method url-fetch)
1545 (uri (string-append
1546 "https://hackage.haskell.org/package/cereal/cereal-"
1547 version
1548 ".tar.gz"))
1549 (sha256
1550 (base32
bd95427e 1551 "1mqvd1iwzr50az4y24332x3g3wsrzw8j1iwph02vr7jbjfn8i7id"))))
dddbc90c
RV
1552 (build-system haskell-build-system)
1553 (native-inputs
1554 `(("ghc-quickcheck" ,ghc-quickcheck)
1555 ("ghc-fail" ,ghc-fail)
1556 ("ghc-test-framework" ,ghc-test-framework)
1557 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1558 (home-page "https://hackage.haskell.org/package/cereal")
1559 (synopsis "Binary serialization library")
1560 (description "This package provides a binary serialization library,
1561similar to @code{binary}, that introduces an @code{isolate} primitive for
1562parser isolation, and labeled blocks for better error messages.")
1563 (license license:bsd-3)))
1564
1565(define-public ghc-cereal-conduit
1566 (package
1567 (name "ghc-cereal-conduit")
1568 (version "0.8.0")
1569 (source
1570 (origin
1571 (method url-fetch)
1572 (uri (string-append "https://hackage.haskell.org/package/"
1573 "cereal-conduit/cereal-conduit-"
1574 version ".tar.gz"))
1575 (sha256
1576 (base32
1577 "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r"))))
1578 (build-system haskell-build-system)
1579 (inputs
1580 `(("ghc-conduit" ,ghc-conduit)
1581 ("ghc-resourcet" ,ghc-resourcet)
1582 ("ghc-cereal" ,ghc-cereal)))
1583 (native-inputs
1584 `(("ghc-hunit" ,ghc-hunit)))
1585 (home-page "https://github.com/snoyberg/conduit")
1586 (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits")
1587 (description
1588 "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into
1589@code{Sources}, @code{Sinks}, and @code{Conduits}.")
1590 (license license:bsd-3)))
1591
1592(define-public ghc-cgi
1593 (package
1594 (name "ghc-cgi")
b6b2c218 1595 (version "3001.4.0.0")
dddbc90c
RV
1596 (source
1597 (origin
1598 (method url-fetch)
1599 (uri (string-append
1600 "https://hackage.haskell.org/package/cgi/cgi-"
1601 version
1602 ".tar.gz"))
1603 (sha256
1604 (base32
b6b2c218 1605 "1d0nh5ymkqskkp4yn0gfz4mff8i0cxyw1wws8xxp6k1mg1ywa25k"))))
dddbc90c 1606 (build-system haskell-build-system)
dddbc90c
RV
1607 (inputs
1608 `(("ghc-exceptions" ,ghc-exceptions)
1609 ("ghc-multipart" ,ghc-multipart)
1610 ("ghc-network-uri" ,ghc-network-uri)
1611 ("ghc-network" ,ghc-network)))
1612 (native-inputs
1613 `(("ghc-doctest" ,ghc-doctest)
1614 ("ghc-quickcheck" ,ghc-quickcheck)))
1615 (home-page
1616 "https://github.com/cheecheeo/haskell-cgi")
1617 (synopsis "Library for writing CGI programs")
1618 (description
1619 "This is a Haskell library for writing CGI programs.")
1620 (license license:bsd-3)))
1621
1622(define-public ghc-charset
1623 (package
1624 (name "ghc-charset")
1625 (version "0.3.7.1")
1626 (source
1627 (origin
1628 (method url-fetch)
1629 (uri (string-append
1630 "https://hackage.haskell.org/package/charset/charset-"
1631 version
1632 ".tar.gz"))
1633 (sha256
1634 (base32
1635 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
1636 (build-system haskell-build-system)
35ee173c
TS
1637 (arguments
1638 `(#:cabal-revision
1639 ("1" "1z6nxw2g9vgsjq0g159sk8mwj68lwzxzi5iv5ynha0h85jcqxszy")))
dddbc90c
RV
1640 (inputs
1641 `(("ghc-semigroups" ,ghc-semigroups)
1642 ("ghc-unordered-containers" ,ghc-unordered-containers)))
1643 (home-page "https://github.com/ekmett/charset")
1644 (synopsis "Fast unicode character sets for Haskell")
1645 (description "This package provides fast unicode character sets for
1646Haskell, based on complemented PATRICIA tries.")
1647 (license license:bsd-3)))
1648
1649(define-public ghc-chart
1650 (package
1651 (name "ghc-chart")
6cd84b98 1652 (version "1.9.1")
dddbc90c
RV
1653 (source
1654 (origin
1655 (method url-fetch)
1656 (uri (string-append "https://hackage.haskell.org/package/Chart/"
1657 "Chart-" version ".tar.gz"))
1658 (sha256
1659 (base32
6cd84b98 1660 "1pn735k9ifxlb9mdh8xy7wi22cxni8xyr28n8zx9w0j6vprcg89l"))))
dddbc90c
RV
1661 (build-system haskell-build-system)
1662 (inputs
1663 `(("ghc-old-locale" ,ghc-old-locale)
1664 ("ghc-lens" ,ghc-lens)
1665 ("ghc-colour" ,ghc-colour)
1666 ("ghc-data-default-class" ,ghc-data-default-class)
1667 ("ghc-operational" ,ghc-operational)
1668 ("ghc-vector" ,ghc-vector)))
1669 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1670 (synopsis "Library for generating 2D charts and plots")
1671 (description
1672 "This package provides a library for generating 2D charts and plots, with
1673backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
1674 (license license:bsd-3)))
1675
1676(define-public ghc-chart-cairo
1677 (package
1678 (name "ghc-chart-cairo")
5cf9264d 1679 (version "1.9.1")
dddbc90c
RV
1680 (source
1681 (origin
1682 (method url-fetch)
1683 (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/"
1684 "Chart-cairo-" version ".tar.gz"))
1685 (sha256
1686 (base32
5cf9264d 1687 "0hknj4rsjf2m8p5pyq5zff8ai7v80yvmxb5c6n0bkgxs4317nbl9"))))
dddbc90c
RV
1688 (build-system haskell-build-system)
1689 (inputs
1690 `(("ghc-old-locale" ,ghc-old-locale)
1691 ("ghc-cairo" ,ghc-cairo)
1692 ("ghc-colour" ,ghc-colour)
1693 ("ghc-data-default-class" ,ghc-data-default-class)
1694 ("ghc-operational" ,ghc-operational)
1695 ("ghc-lens" ,ghc-lens)
1696 ("ghc-chart" ,ghc-chart)))
1697 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1698 (synopsis "Cairo backend for Charts")
1699 (description "This package provides a Cairo vector graphics rendering
1700backend for the Charts library.")
1701 (license license:bsd-3)))
1702
1703(define-public ghc-chasingbottoms
1704 (package
1705 (name "ghc-chasingbottoms")
1f67853e 1706 (version "1.3.1.7")
dddbc90c
RV
1707 (source
1708 (origin
1709 (method url-fetch)
1710 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
1711 "ChasingBottoms-" version ".tar.gz"))
1712 (sha256
1713 (base32
1f67853e 1714 "0ziiqfsvv1ypdra6kd0bhbsl852i0wqn43jkfii38yl879cdacan"))))
dddbc90c
RV
1715 (build-system haskell-build-system)
1716 (inputs
1717 `(("ghc-quickcheck" ,ghc-quickcheck)
1718 ("ghc-random" ,ghc-random)
1719 ("ghc-syb" ,ghc-syb)))
1720 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
1721 (synopsis "Testing of partial and infinite values in Haskell")
1722 (description
1723 ;; FIXME: There should be a @comma{} in the uref text, but it is not
1724 ;; rendered properly.
1725 "This is a library for testing code involving bottoms or infinite values.
1726For the underlying theory and a larger example involving use of QuickCheck,
1727see the article
1728@uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
1729\"Chasing Bottoms A Case Study in Program Verification in the Presence of
1730Partial and Infinite Values\"}.")
1731 (license license:expat)))
1732
1733(define-public ghc-cheapskate
1734 (package
1735 (name "ghc-cheapskate")
5e18bb9e 1736 (version "0.1.1.1")
dddbc90c
RV
1737 (source
1738 (origin
1739 (method url-fetch)
1740 (uri (string-append
1741 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
1742 version
1743 ".tar.gz"))
1744 (sha256
1745 (base32
5e18bb9e 1746 "0qnyd8bni2rby6b02ff4bvfdhm1hwc8vzpmnms84jgrlg1lly3fm"))))
dddbc90c
RV
1747 (build-system haskell-build-system)
1748 (inputs
1749 `(("ghc-blaze-html" ,ghc-blaze-html)
1750 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
1751 ("ghc-data-default" ,ghc-data-default)
1752 ("ghc-syb" ,ghc-syb)
1753 ("ghc-uniplate" ,ghc-uniplate)))
1754 (home-page "https://github.com/jgm/cheapskate")
1755 (synopsis "Experimental markdown processor")
1756 (description "Cheapskate is an experimental Markdown processor in pure
1757Haskell. It aims to process Markdown efficiently and in the most forgiving
1758possible way. It is designed to deal with any input, including garbage, with
1759linear performance. Output is sanitized by default for protection against
1760cross-site scripting (@dfn{XSS}) attacks.")
1761 (license license:bsd-3)))
1762
1763(define-public ghc-chell
1764 (package
1765 (name "ghc-chell")
acdd03be 1766 (version "0.5")
dddbc90c
RV
1767 (source
1768 (origin
1769 (method url-fetch)
1770 (uri (string-append
1771 "https://hackage.haskell.org/package/chell/chell-"
1772 version ".tar.gz"))
1773 (sha256
1774 (base32
acdd03be 1775 "1i845isfbk0yq852am9bqmxfpfkpnlha8nfidffsv4gw2p8gg6fg"))))
dddbc90c 1776 (build-system haskell-build-system)
acdd03be
TS
1777 (arguments
1778 `(#:cabal-revision
1779 ("1" "1q93wrw03ix4cmnkz3lzkixcvvizw6i2ia2zifdfak1dvxnblxk0")))
dddbc90c
RV
1780 (inputs
1781 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
1782 ("ghc-patience" ,ghc-patience)
1783 ("ghc-random" ,ghc-random)
1784 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
1785 (home-page "https://john-millikin.com/software/chell/")
1786 (synopsis "Simple and intuitive library for automated testing")
1787 (description
1788 "Chell is a simple and intuitive library for automated testing.
1789It natively supports assertion-based testing, and can use companion
1790libraries such as @code{chell-quickcheck} to support more complex
1791testing strategies.")
1792 (license license:expat)))
1793
1794(define-public ghc-chell-quickcheck
1795 (package
1796 (name "ghc-chell-quickcheck")
e0e21831 1797 (version "0.2.5.2")
dddbc90c
RV
1798 (source
1799 (origin
1800 (method url-fetch)
1801 (uri (string-append
1802 "https://hackage.haskell.org/package/chell-quickcheck/"
1803 "chell-quickcheck-" version ".tar.gz"))
1804 (sha256
1805 (base32
e0e21831 1806 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
dddbc90c
RV
1807 (build-system haskell-build-system)
1808 (arguments
1809 `(#:phases
1810 (modify-phases %standard-phases
1811 (add-before 'configure 'update-constraints
1812 (lambda _
1813 (substitute* "chell-quickcheck.cabal"
e0e21831
TS
1814 (("QuickCheck >= 2\\.3 && < 2\\.13")
1815 "QuickCheck >= 2.3 && < 2.14")))))))
dddbc90c
RV
1816 (inputs
1817 `(("ghc-chell" ,ghc-chell)
1818 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
1819 ("ghc-random" ,ghc-random)
1820 ("ghc-quickcheck" ,ghc-quickcheck)))
1821 (home-page "https://john-millikin.com/software/chell/")
1822 (synopsis "QuickCheck support for the Chell testing library")
1823 (description "More complex tests for @code{chell}.")
1824 (license license:expat)))
1825
1826(define ghc-chell-quickcheck-bootstrap
1827 (package
1828 (name "ghc-chell-quickcheck-bootstrap")
e0e21831 1829 (version "0.2.5.2")
dddbc90c
RV
1830 (source
1831 (origin
1832 (method url-fetch)
1833 (uri (string-append
1834 "https://hackage.haskell.org/package/chell-quickcheck/"
1835 "chell-quickcheck-" version ".tar.gz"))
1836 (sha256
1837 (base32
e0e21831 1838 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
dddbc90c
RV
1839 (build-system haskell-build-system)
1840 (inputs
1841 `(("ghc-chell" ,ghc-chell)
1842 ("ghc-random" ,ghc-random)
1843 ("ghc-quickcheck" ,ghc-quickcheck)))
1844 (arguments
1845 `(#:tests? #f
1846 #:phases
1847 (modify-phases %standard-phases
1848 (add-before 'configure 'update-constraints
1849 (lambda _
1850 (substitute* "chell-quickcheck.cabal"
e0e21831
TS
1851 (("QuickCheck >= 2\\.3 && < 2\\.13")
1852 "QuickCheck >= 2.3 && < 2.14")))))))
dddbc90c
RV
1853 (home-page "https://john-millikin.com/software/chell/")
1854 (synopsis "QuickCheck support for the Chell testing library")
1855 (description "More complex tests for @code{chell}.")
1856 (license license:expat)))
1857
1858(define-public ghc-chunked-data
1859 (package
1860 (name "ghc-chunked-data")
1861 (version "0.3.1")
1862 (source
1863 (origin
1864 (method url-fetch)
1865 (uri (string-append "https://hackage.haskell.org/package/"
1866 "chunked-data-" version "/"
1867 "chunked-data-" version ".tar.gz"))
1868 (sha256
1869 (base32
1870 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
1871 (build-system haskell-build-system)
1872 (inputs `(("ghc-vector" ,ghc-vector)
1873 ("ghc-semigroups" ,ghc-semigroups)))
1874 (home-page "https://github.com/snoyberg/mono-traversable")
1875 (synopsis "Typeclasses for dealing with various chunked data
1876representations for Haskell")
1877 (description "This Haskell package was originally present in
1878classy-prelude.")
1879 (license license:expat)))
1880
1881(define-public ghc-clock
1882 (package
1883 (name "ghc-clock")
0841b6f2 1884 (version "0.8")
dddbc90c
RV
1885 (source
1886 (origin
1887 (method url-fetch)
1888 (uri (string-append
1889 "https://hackage.haskell.org/package/"
1890 "clock/"
1891 "clock-" version ".tar.gz"))
1892 (sha256
0841b6f2 1893 (base32 "0539w9bjw6xbfv9v6aq9hijszxqdnqhilwpbwpql1400ji95r8q8"))))
dddbc90c
RV
1894 (build-system haskell-build-system)
1895 (inputs
1896 `(("ghc-tasty" ,ghc-tasty)
1897 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
1898 (home-page "https://hackage.haskell.org/package/clock")
1899 (synopsis "High-resolution clock for Haskell")
1900 (description "A package for convenient access to high-resolution clock and
1901timer functions of different operating systems via a unified API.")
1902 (license license:bsd-3)))
1903
1904;; This package builds `clock` without tests, since the tests rely on tasty
1905;; and tasty-quickcheck, which in turn require clock to build.
1906(define-public ghc-clock-bootstrap
1907 (package
1908 (inherit ghc-clock)
1909 (name "ghc-clock-bootstrap")
1910 (arguments '(#:tests? #f))
1911 (inputs '())
1912 (properties '((hidden? #t)))))
1913
1914(define-public ghc-cmark
1915 (package
1916 (name "ghc-cmark")
6bdd36c0 1917 (version "0.6")
dddbc90c
RV
1918 (source (origin
1919 (method url-fetch)
6bdd36c0 1920 ;; XXX As of version 0.6, this package bundles libcmark 0.28.0.
dddbc90c
RV
1921 ;; See cbits/cmark_version.h.
1922 (uri (string-append "https://hackage.haskell.org/package/"
1923 "cmark/cmark-" version ".tar.gz"))
1924 (sha256
1925 (base32
6bdd36c0 1926 "1p41z6z8dqxk62287lvhhg4ayy9laai9ljh4azsnzb029v6mbv0d"))))
dddbc90c
RV
1927 (build-system haskell-build-system)
1928 (native-inputs
1929 `(("ghc-hunit" ,ghc-hunit)))
1930 (home-page "https://github.com/jgm/commonmark-hs")
1931 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
1932 (description
1933 "This package provides Haskell bindings for
1934@uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
1935CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
1936sources, and does not require prior installation of the C library.")
1937 (license license:bsd-3)))
1938
1939(define-public ghc-cmark-gfm
1940 (package
1941 (name "ghc-cmark-gfm")
24fc8dae 1942 (version "0.2.0")
dddbc90c
RV
1943 (source
1944 (origin
1945 (method url-fetch)
1946 (uri (string-append "https://hackage.haskell.org/package/"
1947 "cmark-gfm/cmark-gfm-"
1948 version ".tar.gz"))
1949 (sha256
1950 (base32
24fc8dae 1951 "03xflrkyw84qv3yjly5iks9311bqv5cmrmsylr763v4ph0fn7rjq"))))
dddbc90c
RV
1952 (build-system haskell-build-system)
1953 (native-inputs
1954 `(("ghc-hunit" ,ghc-hunit)))
1955 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
1956 (synopsis
1957 "Fast, accurate GitHub Flavored Markdown parser and renderer")
1958 (description
1959 "This package provides Haskell bindings for libcmark-gfm, the reference
1960parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
1961It includes sources for libcmark-gfm and does not require prior installation
1962of the C library.")
1963 (license license:bsd-3)))
1964
1965(define-public ghc-cmdargs
1966 (package
1967 (name "ghc-cmdargs")
1968 (version "0.10.20")
1969 (source
1970 (origin
1971 (method url-fetch)
1972 (uri (string-append
1973 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
1974 version ".tar.gz"))
1975 (sha256
1976 (base32
1977 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
1978 (build-system haskell-build-system)
1979 (home-page
1980 "http://community.haskell.org/~ndm/cmdargs/")
1981 (synopsis "Command line argument processing")
1982 (description
1983 "This library provides an easy way to define command line parsers.")
1984 (license license:bsd-3)))
1985
1986(define-public ghc-code-page
1987 (package
1988 (name "ghc-code-page")
f6bb6519 1989 (version "0.2")
dddbc90c
RV
1990 (source
1991 (origin
1992 (method url-fetch)
1993 (uri (string-append
1994 "https://hackage.haskell.org/package/code-page/code-page-"
1995 version ".tar.gz"))
1996 (sha256
1997 (base32
f6bb6519 1998 "0i0qbrbhvrwkbikqb7hh7yxaipaavwzvyrw211d0vkz99f62mqxz"))))
dddbc90c
RV
1999 (build-system haskell-build-system)
2000 (home-page "https://github.com/RyanGlScott/code-page")
2001 (synopsis "Windows code page library for Haskell")
2002 (description "A cross-platform library with functions for adjusting
2003code pages on Windows. On all other operating systems, the library does
2004nothing.")
2005 (license license:bsd-3)))
2006
2007(define-public ghc-colour
2008(package
2009 (name "ghc-colour")
bc9d1af9 2010 (version "2.3.5")
dddbc90c
RV
2011 (source
2012 (origin
2013 (method url-fetch)
2014 (uri (string-append
2015 "https://hackage.haskell.org/package/colour/colour-"
2016 version ".tar.gz"))
2017 (sha256
2018 (base32
bc9d1af9 2019 "1rq4l46jx4lpdppy71wf7m1n7pw2jwy788rm35ycwzb1g4clg39v"))))
dddbc90c
RV
2020 (arguments
2021 ;; The tests for this package have the following dependency cycle:
2022 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
2023 `(#:tests? #f))
2024 (build-system haskell-build-system)
2025 (home-page "https://www.haskell.org/haskellwiki/Colour")
2026 (synopsis "Model for human colour perception")
2027 (description
2028 "This package provides a data type for colours and transparency.
2029Colours can be blended and composed. Various colour spaces are
2030supported. A module of colour names (\"Data.Colour.Names\") is provided.")
2031 (license license:expat)))
2032
2033(define-public ghc-comonad
2034 (package
2035 (name "ghc-comonad")
1a825512 2036 (version "5.0.5")
dddbc90c
RV
2037 (source
2038 (origin
2039 (method url-fetch)
2040 (uri (string-append
2041 "https://hackage.haskell.org/package/comonad/comonad-"
2042 version
2043 ".tar.gz"))
2044 (sha256
2045 (base32
1a825512 2046 "1l7snp2mszgnjgd0nc9kzfyd13vla0rlazqi03rwx2akcxk14n3c"))))
dddbc90c
RV
2047 (build-system haskell-build-system)
2048 (native-inputs
2049 `(("cabal-doctest" ,cabal-doctest)
2050 ("ghc-doctest" ,ghc-doctest)))
2051 (inputs
2052 `(("ghc-contravariant" ,ghc-contravariant)
2053 ("ghc-distributive" ,ghc-distributive)
2054 ("ghc-semigroups" ,ghc-semigroups)
2055 ("ghc-tagged" ,ghc-tagged)
2056 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2057 (home-page "https://github.com/ekmett/comonad/")
2058 (synopsis "Comonads for Haskell")
2059 (description "This library provides @code{Comonad}s for Haskell.")
2060 (license license:bsd-3)))
2061
2062(define-public ghc-concatenative
2063 (package
2064 (name "ghc-concatenative")
2065 (version "1.0.1")
2066 (source (origin
2067 (method url-fetch)
2068 (uri (string-append
2069 "https://hackage.haskell.org/package/concatenative/concatenative-"
2070 version ".tar.gz"))
2071 (sha256
2072 (base32
2073 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
2074 (build-system haskell-build-system)
2075 (home-page
2076 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
2077 (synopsis "Library for postfix control flow")
2078 (description
2079 "Concatenative gives Haskell Factor-style combinators and arrows for
2080postfix notation. For more information on stack based languages, see
2081@uref{https://concatenative.org}.")
2082 (license license:bsd-3)))
2083
2084(define-public ghc-concurrent-extra
2085 (package
2086 (name "ghc-concurrent-extra")
2087 (version "0.7.0.12")
2088 (source
2089 (origin
2090 (method url-fetch)
2091 (uri (string-append "https://hackage.haskell.org/package/"
2092 "concurrent-extra/concurrent-extra-"
2093 version ".tar.gz"))
2094 (sha256
2095 (base32
2096 "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4"))))
2097 (build-system haskell-build-system)
2098 (arguments
2099 ;; XXX: The ReadWriteLock 'stressTest' fails.
2100 `(#:tests? #f))
2101 (inputs
2102 `(("ghc-unbounded-delays" ,ghc-unbounded-delays)))
2103 (native-inputs
2104 `(("ghc-async" ,ghc-async)
2105 ("ghc-hunit" ,ghc-hunit)
2106 ("ghc-random" ,ghc-random)
2107 ("ghc-test-framework" ,ghc-test-framework)
2108 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2109 (home-page "https://github.com/basvandijk/concurrent-extra")
2110 (synopsis "Extra concurrency primitives")
2111 (description "This Haskell library offers (among other things) the
2112following selection of synchronisation primitives:
2113
2114@itemize
2115@item @code{Broadcast}: Wake multiple threads by broadcasting a value.
2116@item @code{Event}: Wake multiple threads by signalling an event.
2117@item @code{Lock}: Enforce exclusive access to a resource. Also known
2118as a binary semaphore or mutex. The package additionally provides an
2119alternative that works in the STM monad.
2120@item @code{RLock}: A lock which can be acquired multiple times by the
2121same thread. Also known as a reentrant mutex.
2122@item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used
2123to protect shared resources which may be concurrently read, but only
2124sequentially written.
2125@item @code{ReadWriteVar}: Concurrent read, sequential write variables.
2126@end itemize
2127
2128Please consult the API documentation of the individual modules for more
2129detailed information.
2130
2131This package was inspired by the concurrency libraries of Java and
2132Python.")
2133 (license license:bsd-3)))
2134
2135(define-public ghc-concurrent-output
2136 (package
2137 (name "ghc-concurrent-output")
4fce0a4a 2138 (version "1.10.11")
dddbc90c
RV
2139 (source
2140 (origin
2141 (method url-fetch)
2142 (uri (string-append
2143 "mirror://hackage/package/concurrent-output/concurrent-output-"
2144 version
2145 ".tar.gz"))
2146 (sha256
2147 (base32
4fce0a4a 2148 "1d1aaqg5814k59b0iws3fh06p3g2siaj922gkhs75qgncj0my2p3"))))
dddbc90c
RV
2149 (build-system haskell-build-system)
2150 (inputs
2151 `(("ghc-async" ,ghc-async)
2152 ("ghc-exceptions" ,ghc-exceptions)
2153 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2154 ("ghc-terminal-size" ,ghc-terminal-size)))
2155 (home-page
2156 "https://hackage.haskell.org/package/concurrent-output")
2157 (synopsis
2158 "Ungarble output from several threads or commands")
2159 (description
2160 "Lets multiple threads and external processes concurrently output to the
2161console, without it getting all garbled up.
2162
2163Built on top of that is a way of defining multiple output regions, which are
2164automatically laid out on the screen and can be individually updated by
2165concurrent threads. Can be used for progress displays etc.")
2166 (license license:bsd-2)))
2167
2168(define-public ghc-conduit
2169 (package
2170 (name "ghc-conduit")
1ac981d4 2171 (version "1.3.1.1")
dddbc90c
RV
2172 (source (origin
2173 (method url-fetch)
2174 (uri (string-append "https://hackage.haskell.org/package/"
2175 "conduit/conduit-" version ".tar.gz"))
2176 (sha256
2177 (base32
1ac981d4 2178 "18izjgff4pmrknc8py06yvg3g6x27nx0rzmlwjxcflwm5v4szpw4"))))
dddbc90c
RV
2179 (build-system haskell-build-system)
2180 (inputs
2181 `(("ghc-exceptions" ,ghc-exceptions)
2182 ("ghc-lifted-base" ,ghc-lifted-base)
2183 ("ghc-mono-traversable" ,ghc-mono-traversable)
2184 ("ghc-mmorph" ,ghc-mmorph)
2185 ("ghc-resourcet" ,ghc-resourcet)
2186 ("ghc-silently" ,ghc-silently)
2187 ("ghc-transformers-base" ,ghc-transformers-base)
2188 ("ghc-unliftio" ,ghc-unliftio)
2189 ("ghc-unliftio-core" ,ghc-unliftio-core)
2190 ("ghc-vector" ,ghc-vector)
2191 ("ghc-void" ,ghc-void)))
2192 (native-inputs
2193 `(("ghc-quickcheck" ,ghc-quickcheck)
2194 ("ghc-hspec" ,ghc-hspec)
2195 ("ghc-safe" ,ghc-safe)
2196 ("ghc-split" ,ghc-split)))
2197 (home-page "https://github.com/snoyberg/conduit")
2198 (synopsis "Streaming data library ")
2199 (description
2200 "The conduit package is a solution to the streaming data problem,
2201allowing for production, transformation, and consumption of streams of data
2202in constant memory. It is an alternative to lazy I/O which guarantees
2203deterministic resource handling, and fits in the same general solution
2204space as enumerator/iteratee and pipes.")
2205 (license license:expat)))
2206
2207(define-public ghc-conduit-algorithms
2208 (package
2209 (name "ghc-conduit-algorithms")
503b74ae 2210 (version "0.0.11.0")
dddbc90c
RV
2211 (source
2212 (origin
2213 (method url-fetch)
2214 (uri (string-append "https://hackage.haskell.org/package/"
2215 "conduit-algorithms/conduit-algorithms-"
2216 version ".tar.gz"))
2217 (sha256
2218 (base32
503b74ae 2219 "0c1jwz30kkvimx7lb61782yk0kyfamrf5bqc3g1h7g51lk8bbv9i"))))
dddbc90c
RV
2220 (build-system haskell-build-system)
2221 (inputs
2222 `(("ghc-async" ,ghc-async)
2223 ("ghc-bzlib-conduit" ,ghc-bzlib-conduit)
2224 ("ghc-conduit" ,ghc-conduit)
2225 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2226 ("ghc-conduit-extra" ,ghc-conduit-extra)
503b74ae 2227 ("ghc-conduit-zstd" ,ghc-conduit-zstd)
dddbc90c
RV
2228 ("ghc-exceptions" ,ghc-exceptions)
2229 ("ghc-lzma-conduit" ,ghc-lzma-conduit)
2230 ("ghc-monad-control" ,ghc-monad-control)
2231 ("ghc-pqueue" ,ghc-pqueue)
2232 ("ghc-resourcet" ,ghc-resourcet)
2233 ("ghc-stm-conduit" ,ghc-stm-conduit)
2234 ("ghc-streaming-commons" ,ghc-streaming-commons)
2235 ("ghc-unliftio-core" ,ghc-unliftio-core)
2236 ("ghc-vector" ,ghc-vector)))
2237 (native-inputs
2238 `(("ghc-hunit" ,ghc-hunit)
2239 ("ghc-test-framework" ,ghc-test-framework)
2240 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2241 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2242 (home-page "https://github.com/luispedro/conduit-algorithms#readme")
2243 (synopsis "Conduit-based algorithms")
2244 (description
2245 "This package provides algorithms on @code{Conduits}, including higher
2246level asynchronous processing and some other utilities.")
2247 (license license:expat)))
2248
2249(define-public ghc-conduit-combinators
2250 (package
2251 (name "ghc-conduit-combinators")
2252 (version "1.3.0")
2253 (source
2254 (origin
2255 (method url-fetch)
2256 (uri (string-append "https://hackage.haskell.org/package/"
2257 "conduit-combinators-" version "/"
2258 "conduit-combinators-" version ".tar.gz"))
2259 (sha256
2260 (base32
2261 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
2262 (build-system haskell-build-system)
2263 (inputs `(("ghc-conduit" ,ghc-conduit)
2264 ("ghc-conduit-extra" ,ghc-conduit-extra)
2265 ("ghc-transformers-base" ,ghc-transformers-base)
2266 ("ghc-primitive" ,ghc-primitive)
2267 ("ghc-vector" ,ghc-vector)
2268 ("ghc-void" ,ghc-void)
2269 ("ghc-mwc-random" ,ghc-mwc-random)
2270 ("ghc-unix-compat" ,ghc-unix-compat)
2271 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
2272 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
2273 ("ghc-resourcet" ,ghc-resourcet)
2274 ("ghc-monad-control" ,ghc-monad-control)
2275 ("ghc-chunked-data" ,ghc-chunked-data)
2276 ("ghc-mono-traversable" ,ghc-mono-traversable)))
2277 (native-inputs `(("ghc-hspec" ,ghc-hspec)
2278 ("ghc-silently" ,ghc-silently)
2279 ("ghc-safe" ,ghc-safe)
2280 ("ghc-quickcheck" ,ghc-quickcheck)))
2281 (home-page "https://github.com/snoyberg/mono-traversable")
2282 (synopsis "Commonly used conduit functions, for both chunked and
2283unchunked data")
2284 (description "This Haskell package provides a replacement for Data.Conduit.List,
2285as well as a convenient Conduit module.")
2286 (license license:expat)))
2287
2288(define-public ghc-conduit-extra
2289 (package
2290 (name "ghc-conduit-extra")
151774d9 2291 (version "1.3.4")
dddbc90c
RV
2292 (source
2293 (origin
2294 (method url-fetch)
2295 (uri (string-append "https://hackage.haskell.org/package/"
2296 "conduit-extra/conduit-extra-"
2297 version ".tar.gz"))
2298 (sha256
2299 (base32
151774d9 2300 "1d853d39vj5pb8yxfcsnjwdzqzkm34ixzbnba8bslpihb7182wxi"))))
dddbc90c
RV
2301 (build-system haskell-build-system)
2302 (inputs
2303 `(("ghc-conduit" ,ghc-conduit)
2304 ("ghc-exceptions" ,ghc-exceptions)
2305 ("ghc-monad-control" ,ghc-monad-control)
2306 ("ghc-transformers-base" ,ghc-transformers-base)
2307 ("ghc-typed-process" ,ghc-typed-process)
2308 ("ghc-async" ,ghc-async)
2309 ("ghc-attoparsec" ,ghc-attoparsec)
2310 ("ghc-blaze-builder" ,ghc-blaze-builder)
2311 ("ghc-network" ,ghc-network)
2312 ("ghc-primitive" ,ghc-primitive)
2313 ("ghc-resourcet" ,ghc-resourcet)
2314 ("ghc-streaming-commons" ,ghc-streaming-commons)
2315 ("ghc-hspec" ,ghc-hspec)
2316 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
2317 ("ghc-quickcheck" ,ghc-quickcheck)))
2318 (native-inputs
2319 `(("hspec-discover" ,hspec-discover)))
2320 (home-page "https://github.com/snoyberg/conduit")
2321 (synopsis "Conduit adapters for common libraries")
2322 (description
2323 "The @code{conduit} package itself maintains relative small dependencies.
2324The purpose of this package is to collect commonly used utility functions
2325wrapping other library dependencies, without depending on heavier-weight
2326dependencies. The basic idea is that this package should only depend on
2327@code{haskell-platform} packages and @code{conduit}.")
2328 (license license:expat)))
2329
b59c3518
TS
2330(define-public ghc-conduit-zstd
2331 (package
2332 (name "ghc-conduit-zstd")
2333 (version "0.0.1.1")
2334 (source
2335 (origin
2336 (method url-fetch)
2337 (uri (string-append "https://hackage.haskell.org/package/"
2338 "conduit-zstd/conduit-zstd-" version ".tar.gz"))
2339 (sha256
2340 (base32
2341 "04h7w2903hgw4gjcx2pg29yinnmfapawvc19hd3r57rr12fzb0c6"))))
2342 (build-system haskell-build-system)
2343 (inputs
2344 `(("ghc-conduit" ,ghc-conduit)
2345 ("ghc-zstd" ,ghc-zstd)))
2346 (native-inputs
2347 `(("ghc-hunit" ,ghc-hunit)
2348 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2349 ("ghc-conduit-extra" ,ghc-conduit-extra)
2350 ("ghc-test-framework" ,ghc-test-framework)
2351 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2352 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2353 (home-page "https://github.com/luispedro/conduit-zstd#readme")
2354 (synopsis "Conduit-based ZStd Compression")
2355 (description "Zstandard compression packaged as a conduit. This is
2356a very thin wrapper around the
2357@url{https://github.com/facebookexperimental/hs-zstd/, official hs-zstd
2358interface}.")
2359 (license license:expat)))
2360
dddbc90c
RV
2361(define-public ghc-configurator
2362 (package
2363 (name "ghc-configurator")
2364 (version "0.3.0.0")
2365 (source
2366 (origin
2367 (method url-fetch)
2368 (uri (string-append "https://hackage.haskell.org/package/"
2369 "configurator/configurator-"
2370 version ".tar.gz"))
2371 (sha256
2372 (base32
2373 "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"))))
2374 (build-system haskell-build-system)
2375 (inputs
2376 `(("ghc-attoparsec" ,ghc-attoparsec)
2377 ("ghc-hashable" ,ghc-hashable)
2378 ("ghc-unix-compat" ,ghc-unix-compat)
2379 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2380 (native-inputs
2381 `(("ghc-hunit" ,ghc-hunit)
2382 ("ghc-test-framework" ,ghc-test-framework)
2383 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2384 (home-page "http://github.com/bos/configurator")
2385 (synopsis "Configuration management")
2386 (description
2387 "This package provides a configuration management library for programs
2388and daemons. The features include:
2389
2390@enumerate
2391@item Automatic, dynamic reloading in response to modifications to
2392 configuration files.
2393@item A simple, but flexible, configuration language, supporting several of
2394 the most commonly needed types of data, along with interpolation of strings
2395 from the configuration or the system environment (e.g. @code{$(HOME)}).
2396@item Subscription-based notification of changes to configuration properties.
2397@item An @code{import} directive allows the configuration of a complex
2398 application to be split across several smaller files, or common configuration
2399 data to be shared across several applications.
2400@end enumerate\n")
2401 (license license:bsd-3)))
2402
2403(define-public ghc-connection
2404 (package
2405 (name "ghc-connection")
6ee0d258 2406 (version "0.3.1")
dddbc90c
RV
2407 (source (origin
2408 (method url-fetch)
2409 (uri (string-append "https://hackage.haskell.org/package/"
2410 "connection/connection-"
2411 version ".tar.gz"))
2412 (sha256
2413 (base32
6ee0d258 2414 "1nbmafhlg0wy4aa3p7amjddbamdz6avzrxn4py3lvhrjqn4raxax"))))
dddbc90c
RV
2415 (build-system haskell-build-system)
2416 (inputs
2417 `(("ghc-byteable" ,ghc-byteable)
2418 ("ghc-data-default-class" ,ghc-data-default-class)
2419 ("ghc-network" ,ghc-network)
2420 ("ghc-tls" ,ghc-tls)
2421 ("ghc-socks" ,ghc-socks)
2422 ("ghc-x509" ,ghc-x509)
2423 ("ghc-x509-store" ,ghc-x509-store)
2424 ("ghc-x509-system" ,ghc-x509-system)
2425 ("ghc-x509-validation" ,ghc-x509-validation)))
2426 (home-page "https://github.com/vincenthz/hs-connection")
2427 (synopsis "Simple and easy network connections API")
2428 (description
2429 "This package provides a simple network library for all your connection
2430needs. It provides a very simple API to create sockets to a destination with
2431the choice of SSL/TLS, and SOCKS.")
2432 (license license:bsd-3)))
2433
2434(define-public ghc-constraints
2435 (package
2436 (name "ghc-constraints")
2437 (version "0.10.1")
2438 (source
2439 (origin
2440 (method url-fetch)
2441 (uri (string-append
2442 "https://hackage.haskell.org/package/constraints/constraints-"
2443 version ".tar.gz"))
2444 (sha256
2445 (base32
2446 "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q"))))
2447 (build-system haskell-build-system)
2448 (inputs
2449 `(("ghc-hashable" ,ghc-hashable)
2450 ("ghc-semigroups" ,ghc-semigroups)
2451 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2452 (native-inputs
2453 `(("ghc-hspec" ,ghc-hspec)
2454 ("hspec-discover" ,hspec-discover)))
2455 (home-page "https://github.com/ekmett/constraints/")
2456 (synopsis "Constraint manipulation")
2457 (description
2458 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
2459They stopped crashing the compiler in GHC 7.6. This package provides
2460a vocabulary for working with them.")
2461 (license license:bsd-3)))
2462
2463(define-public ghc-contravariant
2464 (package
2465 (name "ghc-contravariant")
e7b35ff0 2466 (version "1.5.2")
dddbc90c
RV
2467 (source
2468 (origin
2469 (method url-fetch)
2470 (uri (string-append
2471 "https://hackage.haskell.org/package/contravariant/contravariant-"
2472 version
2473 ".tar.gz"))
2474 (sha256
2475 (base32
e7b35ff0 2476 "0366gl62wwwdbl9i6kqy60asf60876k55v91la6bmhnwwcj2q9n4"))))
dddbc90c
RV
2477 (build-system haskell-build-system)
2478 (inputs
2479 `(("ghc-void" ,ghc-void)
2480 ("ghc-transformers-compat" ,ghc-transformers-compat)
2481 ("ghc-statevar" ,ghc-statevar)
2482 ("ghc-semigroups" ,ghc-semigroups)))
2483 (home-page
2484 "https://github.com/ekmett/contravariant/")
2485 (synopsis "Contravariant functors")
2486 (description "Contravariant functors for Haskell.")
2487 (license license:bsd-3)))
2488
2489(define-public ghc-contravariant-extras
2490 (package
2491 (name "ghc-contravariant-extras")
2492 (version "0.3.4")
2493 (source
2494 (origin
2495 (method url-fetch)
2496 (uri (string-append "https://hackage.haskell.org/package/"
2497 "contravariant-extras-" version "/"
2498 "contravariant-extras-" version ".tar.gz"))
2499 (sha256
2500 (base32
2501 "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n"))))
2502 (build-system haskell-build-system)
f3aca086
TS
2503 (arguments
2504 `(#:cabal-revision
2505 ("1" "1h2955ahga6i4fn7k8v66l03v77p6fhsac6ck8gpabkc08ij60wp")))
dddbc90c
RV
2506 (inputs
2507 `(("ghc-tuple-th" ,ghc-tuple-th)
2508 ("ghc-contravariant" ,ghc-contravariant)
2509 ("ghc-base-prelude" ,ghc-base-prelude)
2510 ("ghc-semigroups" ,ghc-semigroups)))
2511 (home-page "https://github.com/nikita-volkov/contravariant-extras")
2512 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
2513 (description "This Haskell package provides extras for the
2514@code{ghc-contravariant} package.")
2515 (license license:expat)))
2516
2517(define-public ghc-convertible
2518 (package
2519 (name "ghc-convertible")
2520 (version "1.1.1.0")
2521 (source
2522 (origin
2523 (method url-fetch)
2524 (uri (string-append "https://hackage.haskell.org/package/convertible/"
2525 "convertible-" version ".tar.gz"))
2526 (sha256
2527 (base32
2528 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
2529 (build-system haskell-build-system)
2530 (inputs
2531 `(("ghc-old-time" ,ghc-old-time)
2532 ("ghc-old-locale" ,ghc-old-locale)))
2533 (home-page "https://hackage.haskell.org/package/convertible")
2534 (synopsis "Typeclasses and instances for converting between types")
2535 (description
2536 "This package provides a typeclass with a single function that is
2537designed to help convert between different types: numeric values, dates and
2538times, and the like. The conversions perform bounds checking and return a
2539pure @code{Either} value. This means that you need not remember which specific
2540function performs the conversion you desire.")
2541 (license license:bsd-3)))
2542
2543(define-public ghc-data-accessor
2544 (package
2545 (name "ghc-data-accessor")
6dcca515 2546 (version "0.2.2.8")
dddbc90c
RV
2547 (source
2548 (origin
2549 (method url-fetch)
2550 (uri (string-append
2551 "mirror://hackage/package/data-accessor/data-accessor-"
2552 version ".tar.gz"))
2553 (sha256
6dcca515 2554 (base32 "1fq4gygxbz0bd0mzgvc1sl3m4gjnsv8nbgpnmdpa29zj5lb9agxc"))))
dddbc90c
RV
2555 (build-system haskell-build-system)
2556 (home-page "https://www.haskell.org/haskellwiki/Record_access")
2557 (synopsis
2558 "Haskell utilities for accessing and manipulating fields of records")
2559 (description "This package provides Haskell modules for accessing and
2560manipulating fields of records.")
2561 (license license:bsd-3)))
2562
2563(define-public ghc-data-accessor-transformers
2564 (package
2565 (name "ghc-data-accessor-transformers")
2566 (version "0.2.1.7")
2567 (source
2568 (origin
2569 (method url-fetch)
2570 (uri (string-append
2571 "mirror://hackage/package/data-accessor-transformers/"
2572 "data-accessor-transformers-" version ".tar.gz"))
2573 (sha256
2574 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
2575 (build-system haskell-build-system)
2576 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
2577 (home-page "https://www.haskell.org/haskellwiki/Record_access")
2578 (synopsis "Use Accessor to access state in transformers State monad")
2579 (description "This package provides Haskell modules to allow use of
2580Accessor to access state in transformers State monad.")
2581 (license license:bsd-3)))
2582
2583(define-public ghc-data-default
2584 (package
2585 (name "ghc-data-default")
2586 (version "0.7.1.1")
2587 (source
2588 (origin
2589 (method url-fetch)
2590 (uri (string-append
2591 "https://hackage.haskell.org/package/data-default/data-default-"
2592 version
2593 ".tar.gz"))
2594 (sha256
2595 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
2596 (build-system haskell-build-system)
2597 (inputs
2598 `(("ghc-data-default-class"
2599 ,ghc-data-default-class)
2600 ("ghc-data-default-instances-base"
2601 ,ghc-data-default-instances-base)
2602 ("ghc-data-default-instances-containers"
2603 ,ghc-data-default-instances-containers)
2604 ("ghc-data-default-instances-dlist"
2605 ,ghc-data-default-instances-dlist)
2606 ("ghc-data-default-instances-old-locale"
2607 ,ghc-data-default-instances-old-locale)))
2608 (home-page "https://hackage.haskell.org/package/data-default")
2609 (synopsis "Types with default values")
2610 (description
2611 "This package defines a class for types with a default value, and
2612provides instances for types from the base, containers, dlist and old-locale
2613packages.")
2614 (license license:bsd-3)))
2615
2616(define-public ghc-data-default-class
2617 (package
2618 (name "ghc-data-default-class")
2619 (version "0.1.2.0")
2620 (source
2621 (origin
2622 (method url-fetch)
2623 (uri (string-append
2624 "https://hackage.haskell.org/package/data-default-class/"
2625 "data-default-class-" version ".tar.gz"))
2626 (sha256
2627 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
2628 (build-system haskell-build-system)
2629 (home-page "https://hackage.haskell.org/package/data-default-class")
2630 (synopsis "Types with default values")
2631 (description
2632 "This package defines a class for types with default values.")
2633 (license license:bsd-3)))
2634
2635(define-public ghc-data-default-instances-base
2636 (package
2637 (name "ghc-data-default-instances-base")
2638 (version "0.1.0.1")
2639 (source
2640 (origin
2641 (method url-fetch)
2642 (uri (string-append
2643 "https://hackage.haskell.org/package/"
2644 "data-default-instances-base/"
2645 "data-default-instances-base-" version ".tar.gz"))
2646 (sha256
2647 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
2648 (build-system haskell-build-system)
2649 (inputs
2650 `(("ghc-data-default-class" ,ghc-data-default-class)))
2651 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
2652 (synopsis "Default instances for types in base")
2653 (description
2654 "This package provides default instances for types from the base
2655package.")
2656 (license license:bsd-3)))
2657
2658(define-public ghc-data-default-instances-containers
2659 (package
2660 (name "ghc-data-default-instances-containers")
2661 (version "0.0.1")
2662 (source
2663 (origin
2664 (method url-fetch)
2665 (uri (string-append
2666 "https://hackage.haskell.org/package/"
2667 "data-default-instances-containers/"
2668 "data-default-instances-containers-" version ".tar.gz"))
2669 (sha256
2670 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
2671 (build-system haskell-build-system)
2672 (inputs
2673 `(("ghc-data-default-class" ,ghc-data-default-class)))
2674 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
2675 (synopsis "Default instances for types in containers")
2676 (description "Provides default instances for types from the containers
2677package.")
2678 (license license:bsd-3)))
2679
2680(define-public ghc-data-default-instances-dlist
2681 (package
2682 (name "ghc-data-default-instances-dlist")
2683 (version "0.0.1")
2684 (source
2685 (origin
2686 (method url-fetch)
2687 (uri (string-append
2688 "https://hackage.haskell.org/package/"
2689 "data-default-instances-dlist/"
2690 "data-default-instances-dlist-" version ".tar.gz"))
2691 (sha256
2692 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
2693 (build-system haskell-build-system)
2694 (inputs
2695 `(("ghc-data-default-class" ,ghc-data-default-class)
2696 ("ghc-dlist" ,ghc-dlist)))
2697 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
2698 (synopsis "Default instances for types in dlist")
2699 (description "Provides default instances for types from the dlist
2700package.")
2701 (license license:bsd-3)))
2702
2703(define-public ghc-data-default-instances-old-locale
2704 (package
2705 (name "ghc-data-default-instances-old-locale")
2706 (version "0.0.1")
2707 (source
2708 (origin
2709 (method url-fetch)
2710 (uri (string-append
2711 "https://hackage.haskell.org/package/"
2712 "data-default-instances-old-locale/"
2713 "data-default-instances-old-locale-" version ".tar.gz"))
2714 (sha256
2715 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
2716 (build-system haskell-build-system)
2717 (inputs
2718 `(("ghc-data-default-class" ,ghc-data-default-class)
2719 ("ghc-old-locale" ,ghc-old-locale)))
2720 (home-page
2721 "https://hackage.haskell.org/package/data-default-instances-old-locale")
2722 (synopsis "Default instances for types in old-locale")
2723 (description "Provides Default instances for types from the old-locale
2724 package.")
2725 (license license:bsd-3)))
2726
2727(define-public ghc-data-hash
2728 (package
2729 (name "ghc-data-hash")
2730 (version "0.2.0.1")
2731 (source
2732 (origin
2733 (method url-fetch)
2734 (uri (string-append "https://hackage.haskell.org/package/data-hash"
2735 "/data-hash-" version ".tar.gz"))
2736 (sha256
2737 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
2738 (build-system haskell-build-system)
2739 (inputs
2740 `(("ghc-quickcheck" ,ghc-quickcheck)
2741 ("ghc-test-framework" ,ghc-test-framework)
2742 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2743 (home-page "https://hackage.haskell.org/package/data-hash")
2744 (synopsis "Combinators for building fast hashing functions")
2745 (description
2746 "This package provides combinators for building fast hashing functions.
2747It includes hashing functions for all basic Haskell98 types.")
2748 (license license:bsd-3)))
2749
2750(define-public ghc-data-ordlist
2751 (package
2752 (name "ghc-data-ordlist")
2753 (version "0.4.7.0")
2754 (source
2755 (origin
2756 (method url-fetch)
2757 (uri (string-append
2758 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
2759 version ".tar.gz"))
2760 (sha256
2761 (base32
2762 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
2763 (build-system haskell-build-system)
2764 (home-page "https://hackage.haskell.org/package/data-ordlist")
2765 (synopsis "Set and bag operations on ordered lists")
2766 (description
2767 "This module provides set and multiset operations on ordered lists.")
2768 (license license:bsd-3)))
2769
d05f32d6
JS
2770(define-public ghc-dbus
2771 (package
2772 (name "ghc-dbus")
2773 (version "1.2.7")
2774 (source
2775 (origin
2776 (method url-fetch)
2777 (uri
2778 (string-append
2779 "mirror://hackage/package/dbus/dbus-"
2780 version ".tar.gz"))
2781 (sha256
2782 (base32
2783 "0ypkjlw9fn65g7p28kb3p82glk7qs7p7vyffccw7qxa3z57s12w5"))))
2784 (build-system haskell-build-system)
2785 (inputs
2786 `(("ghc-cereal" ,ghc-cereal)
2787 ("ghc-conduit" ,ghc-conduit)
2788 ("ghc-exceptions" ,ghc-exceptions)
2789 ("ghc-lens" ,ghc-lens)
2790 ("ghc-network" ,ghc-network)
2791 ("ghc-random" ,ghc-random)
2792 ("ghc-split" ,ghc-split)
2793 ("ghc-th-lift" ,ghc-th-lift)
2794 ("ghc-vector" ,ghc-vector)
2795 ("ghc-xml-conduit" ,ghc-xml-conduit)
2796 ("ghc-xml-types" ,ghc-xml-types)))
2797 (native-inputs
2798 `(("ghc-extra" ,ghc-extra)
2799 ("ghc-quickcheck" ,ghc-quickcheck)
2800 ("ghc-resourcet" ,ghc-resourcet)
2801 ("ghc-tasty" ,ghc-tasty)
2802 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2803 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
2804 ;; FIXME - Some tests try to talk to network.
2805 (arguments `(#:tests? #f))
2806 (home-page "https://github.com/rblaze/haskell-dbus")
2807 (synopsis "Client library for the D-Bus IPC system")
2808 (description
2809 "D-Bus is a simple, message-based protocol for inter-process
2810communication, which allows applications to interact with other parts
2811of the machine and the user's session using remote procedure
2812calls. D-Bus is a essential part of the modern Linux desktop, where
2813it replaces earlier protocols such as CORBA and DCOP. This library
2814is an implementation of the D-Bus protocol in Haskell. It can be used
2815to add D-Bus support to Haskell applications, without the awkward
2816interfaces common to foreign bindings.")
2817 (license license:asl2.0)))
2818
dddbc90c
RV
2819(define-public ghc-deepseq-generics
2820 (package
2821 (name "ghc-deepseq-generics")
2822 (version "0.2.0.0")
2823 (source (origin
2824 (method url-fetch)
2825 (uri (string-append "https://hackage.haskell.org/package/"
2826 "deepseq-generics/deepseq-generics-"
2827 version ".tar.gz"))
2828 (sha256
2829 (base32
2830 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
2831 (build-system haskell-build-system)
2832 (arguments
2833 `(#:cabal-revision
490ceae4 2834 ("4" "0928s2qnbqsjzrm94x88rvmvbigfmhcyp4m73gw6asinp2qg1kii")))
dddbc90c
RV
2835 (native-inputs
2836 `(("ghc-hunit" ,ghc-hunit)
2837 ("ghc-test-framework" ,ghc-test-framework)
2838 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2839 (home-page "https://github.com/hvr/deepseq-generics")
2840 (synopsis "Generic RNF implementation")
2841 (description
2842 "This package provides a @code{GHC.Generics}-based
2843@code{Control.DeepSeq.Generics.genericRnf} function which can be used for
2844providing an @code{rnf} implementation.")
2845 (license license:bsd-3)))
2846
e924e17e
TS
2847(define-public ghc-dense-linear-algebra
2848 (package
2849 (name "ghc-dense-linear-algebra")
2850 (version "0.1.0.0")
2851 (source
2852 (origin
2853 (method url-fetch)
2854 (uri (string-append "https://hackage.haskell.org/package/"
2855 "dense-linear-algebra/dense-linear-algebra-"
2856 version ".tar.gz"))
2857 (sha256
2858 (base32
2859 "1m7jjxahqxj7ilic3r9806mwp5rnnsmn8vvipkmk40xl65wplxzp"))))
2860 (build-system haskell-build-system)
2861 (inputs
2862 `(("ghc-math-functions" ,ghc-math-functions)
2863 ("ghc-primitive" ,ghc-primitive)
2864 ("ghc-vector" ,ghc-vector)
2865 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
2866 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
2867 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
2868 (native-inputs
2869 `(("ghc-hspec" ,ghc-hspec)
2870 ("ghc-quickcheck" ,ghc-quickcheck)))
50153437 2871 (home-page "https://hackage.haskell.org/package/dense-linear-algebra")
e924e17e
TS
2872 (synopsis "Simple and incomplete implementation of linear algebra")
2873 (description "This library is simply a collection of linear-algebra
2874related modules split from the statistics library.")
2875 (license license:bsd-2)))
2876
dddbc90c
RV
2877(define-public ghc-descriptive
2878 (package
2879 (name "ghc-descriptive")
2880 (version "0.9.5")
2881 (source
2882 (origin
2883 (method url-fetch)
2884 (uri (string-append
2885 "https://hackage.haskell.org/package/descriptive/descriptive-"
2886 version
2887 ".tar.gz"))
2888 (sha256
2889 (base32
2890 "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237"))))
2891 (build-system haskell-build-system)
2892 (inputs
2893 `(("ghc-aeson" ,ghc-aeson)
2894 ("ghc-bifunctors" ,ghc-bifunctors)
2895 ("ghc-scientific" ,ghc-scientific)
2896 ("ghc-vector" ,ghc-vector)))
2897 (native-inputs
2898 `(("ghc-hunit" ,ghc-hunit)
2899 ("ghc-hspec" ,ghc-hspec)))
2900 (home-page
2901 "https://github.com/chrisdone/descriptive")
2902 (synopsis
2903 "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.")
2904 (description
2905 "This package provides datatypes and functions for creating consumers
2906and parsers with useful semantics.")
2907 (license license:bsd-3)))
2908
1859c94a
TS
2909(define-public ghc-diagrams-core
2910 (package
2911 (name "ghc-diagrams-core")
2912 (version "1.4.2")
2913 (source
2914 (origin
2915 (method url-fetch)
2916 (uri (string-append "https://hackage.haskell.org/package/"
2917 "diagrams-core/diagrams-core-" version ".tar.gz"))
2918 (sha256
2919 (base32
2920 "0qgb43vy23g4fxh3nmxfq6jyp34imqvkhgflaa6rz0iq6d60gl43"))))
2921 (build-system haskell-build-system)
2922 (inputs
2923 `(("ghc-unordered-containers" ,ghc-unordered-containers)
2924 ("ghc-semigroups" ,ghc-semigroups)
2925 ("ghc-monoid-extras" ,ghc-monoid-extras)
2926 ("ghc-dual-tree" ,ghc-dual-tree)
2927 ("ghc-lens" ,ghc-lens)
2928 ("ghc-linear" ,ghc-linear)
2929 ("ghc-adjunctions" ,ghc-adjunctions)
2930 ("ghc-distributive" ,ghc-distributive)
2931 ("ghc-profunctors" ,ghc-profunctors)))
2932 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
2933 (synopsis "Core libraries for diagrams embedded domain-specific language")
2934 (description "This package provides the core modules underlying
2935diagrams, an embedded domain-specific language for compositional,
2936declarative drawing.")
2937 (license license:bsd-3)))
2938
f9f1a630
TS
2939(define-public ghc-diagrams-lib
2940 (package
2941 (name "ghc-diagrams-lib")
2942 (version "1.4.2.3")
2943 (source
2944 (origin
2945 (method url-fetch)
2946 (uri (string-append "https://hackage.haskell.org/package/"
2947 "diagrams-lib/diagrams-lib-" version ".tar.gz"))
2948 (sha256
2949 (base32
2950 "175yzi5kw4yd8ykdkpf64q85c7j3p89l90m3h6qcsx9ipv6av9r5"))))
2951 (build-system haskell-build-system)
2952 (inputs
2953 `(("ghc-semigroups" ,ghc-semigroups)
2954 ("ghc-monoid-extras" ,ghc-monoid-extras)
2955 ("ghc-dual-tree" ,ghc-dual-tree)
2956 ("ghc-diagrams-core" ,ghc-diagrams-core)
2957 ("ghc-diagrams-solve" ,ghc-diagrams-solve)
2958 ("ghc-active" ,ghc-active)
2959 ("ghc-colour" ,ghc-colour)
2960 ("ghc-data-default-class" ,ghc-data-default-class)
2961 ("ghc-fingertree" ,ghc-fingertree)
2962 ("ghc-intervals" ,ghc-intervals)
2963 ("ghc-lens" ,ghc-lens)
2964 ("ghc-tagged" ,ghc-tagged)
2965 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
2966 ("ghc-juicypixels" ,ghc-juicypixels)
2967 ("ghc-hashable" ,ghc-hashable)
2968 ("ghc-linear" ,ghc-linear)
2969 ("ghc-adjunctions" ,ghc-adjunctions)
2970 ("ghc-distributive" ,ghc-distributive)
2971 ("ghc-fsnotify" ,ghc-fsnotify)
2972 ("ghc-unordered-containers" ,ghc-unordered-containers)
2973 ("ghc-profunctors" ,ghc-profunctors)
2974 ("ghc-exceptions" ,ghc-exceptions)
2975 ("ghc-cereal" ,ghc-cereal)))
2976 (native-inputs
2977 `(("ghc-tasty" ,ghc-tasty)
2978 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2979 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
2980 ("ghc-numeric-extras" ,ghc-numeric-extras)))
2981 (arguments
2982 `(#:cabal-revision
2983 ("3" "157y2qdsh0aczs81vzlm377mks976mpv6y3aqnchwsnr7apzp8ai")))
2984 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
2985 (synopsis "Embedded domain-specific language for declarative graphics")
2986 (description "Diagrams is a flexible, extensible embedded
2987domain-specific language (EDSL) for creating graphics of many types.
2988Graphics can be created in arbitrary vector spaces and rendered with
2989multiple backends. This package provides a standard library of
2990primitives and operations for creating diagrams.")
2991 (license license:bsd-3)))
2992
fd33ffa0
TS
2993(define-public ghc-diagrams-solve
2994 (package
2995 (name "ghc-diagrams-solve")
2996 (version "0.1.1")
2997 (source
2998 (origin
2999 (method url-fetch)
3000 (uri (string-append "https://hackage.haskell.org/package/"
3001 "diagrams-solve/diagrams-solve-"
3002 version ".tar.gz"))
3003 (sha256
3004 (base32
3005 "17agchqkmj14b17sw50kzxq4hm056g5d8yy0wnqn5w8h1d0my7x4"))))
3006 (build-system haskell-build-system)
3007 (native-inputs
3008 `(("ghc-tasty" ,ghc-tasty)
3009 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3010 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3011 (arguments
3012 `(#:cabal-revision
3013 ("5" "1yl8cs05fzqcz49p601am1ij66m9pa70yamhfxgcvya2pf8nimlf")))
3014 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3015 (synopsis "Pure Haskell solver routines used by diagrams")
3016 (description "This library provides Pure Haskell solver routines for
3017use by the
3018@url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3019diagrams framework}. It currently includes routines for finding real
3020roots of low-degree (@math{n < 5}) polynomials, and solving tridiagonal
3021and cyclic tridiagonal linear systems.")
3022 (license license:bsd-3)))
3023
74be1cb7
TS
3024(define-public ghc-diagrams-svg
3025 (package
3026 (name "ghc-diagrams-svg")
3027 (version "1.4.2")
3028 (source
3029 (origin
3030 (method url-fetch)
3031 (uri (string-append "https://hackage.haskell.org/package/"
3032 "diagrams-svg/diagrams-svg-" version ".tar.gz"))
3033 (sha256
3034 (base32
3035 "1lnyxx45yawqas7hmvvannwaa3ycf1l9g40lsl2m8sl2ja6vcmal"))))
3036 (build-system haskell-build-system)
3037 (inputs
3038 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
3039 ("ghc-colour" ,ghc-colour)
3040 ("ghc-diagrams-core" ,ghc-diagrams-core)
3041 ("ghc-diagrams-lib" ,ghc-diagrams-lib)
3042 ("ghc-monoid-extras" ,ghc-monoid-extras)
3043 ("ghc-svg-builder" ,ghc-svg-builder)
3044 ("ghc-juicypixels" ,ghc-juicypixels)
3045 ("ghc-split" ,ghc-split)
3046 ("ghc-lens" ,ghc-lens)
3047 ("ghc-hashable" ,ghc-hashable)
3048 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
3049 ("ghc-semigroups" ,ghc-semigroups)))
3050 (arguments
3051 `(#:cabal-revision
3052 ("2" "15sn85xaachw4cj56w61bjcwrbf4qmnkfl8mbgdapxi5k0y4f2qv")))
3053 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3054 (synopsis "Scalable Vector Grpahics backend for the diagrams framework")
3055 (description "This package provides a modular backend for rendering
3056diagrams created with the diagrams embedded domain-specific
3057language (EDSL) to Scalable Vector Graphics (SVG) files.")
3058 (license license:bsd-3)))
3059
4eb9a167
TS
3060(define-public ghc-dictionary-sharing
3061 (package
3062 (name "ghc-dictionary-sharing")
3063 (version "0.1.0.0")
3064 (source
3065 (origin
3066 (method url-fetch)
3067 (uri (string-append "https://hackage.haskell.org/package/"
3068 "dictionary-sharing/dictionary-sharing-"
3069 version ".tar.gz"))
3070 (sha256
3071 (base32
3072 "00aspv943qdqhlk39mbk00kb1dsa5r0caj8sslrn81fnsn252fwc"))))
3073 (build-system haskell-build-system)
3074 (arguments
3075 `(#:cabal-revision
3076 ("3" "1mn7jcc7h3b8f1pn9zigqp6mc2n0qb66lms5qnrx4zswdv5w9439")))
3077 (home-page "https://hackage.haskell.org/package/dictionary-sharing")
3078 (synopsis "Sharing/memoization of class members")
3079 (description "This library provides tools for ensuring that class
3080members are shared.")
3081 (license license:bsd-3)))
3082
dddbc90c
RV
3083(define-public ghc-diff
3084 (package
3085 (name "ghc-diff")
3086 (version "0.3.4")
3087 (source (origin
3088 (method url-fetch)
3089 (uri (string-append "https://hackage.haskell.org/package/"
3090 "Diff/Diff-" version ".tar.gz"))
a531ff94 3091 (patches (search-patches "ghc-diff-swap-cover-args.patch"))
dddbc90c
RV
3092 (sha256
3093 (base32
3094 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
3095 (build-system haskell-build-system)
3096 (native-inputs
3097 `(("ghc-quickcheck" ,ghc-quickcheck)
3098 ("ghc-test-framework" ,ghc-test-framework)
3099 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3100 (home-page "https://hub.darcs.net/sterlingclover/Diff")
3101 (synopsis "O(ND) diff algorithm in Haskell")
3102 (description
3103 "This package provides an implementation of the standard diff algorithm,
3104and utilities for pretty printing.")
3105 (license license:bsd-3)))
3106
3107(define-public ghc-disk-free-space
3108 (package
3109 (name "ghc-disk-free-space")
3110 (version "0.1.0.1")
3111 (source
3112 (origin
3113 (method url-fetch)
3114 (uri (string-append "https://hackage.haskell.org/package/"
3115 "disk-free-space/disk-free-space-"
3116 version ".tar.gz"))
3117 (sha256
3118 (base32
3119 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
3120 (build-system haskell-build-system)
3121 (home-page "https://github.com/redneb/disk-free-space")
3122 (synopsis "Retrieve information about disk space usage")
3123 (description "A cross-platform library for retrieving information about
3124disk space usage.")
3125 (license license:bsd-3)))
3126
3127(define-public ghc-distributive
3128 (package
3129 (name "ghc-distributive")
e4c92f28 3130 (version "0.6.1")
dddbc90c
RV
3131 (source
3132 (origin
3133 (method url-fetch)
3134 (uri (string-append
3135 "https://hackage.haskell.org/package/distributive/distributive-"
3136 version
3137 ".tar.gz"))
3138 (sha256
3139 (base32
e4c92f28 3140 "1wnayzzb4vk8rhh9gzhdpd9f64366k4vmbhximavmqqmp3cv2jbp"))))
dddbc90c 3141 (build-system haskell-build-system)
dddbc90c
RV
3142 (inputs
3143 `(("ghc-tagged" ,ghc-tagged)
3144 ("ghc-base-orphans" ,ghc-base-orphans)
3145 ("ghc-transformers-compat" ,ghc-transformers-compat)
3146 ("ghc-semigroups" ,ghc-semigroups)
3147 ("ghc-generic-deriving" ,ghc-generic-deriving)))
3148 (native-inputs
3149 `(("cabal-doctest" ,cabal-doctest)
3150 ("ghc-doctest" ,ghc-doctest)
3151 ("ghc-hspec" ,ghc-hspec)
3152 ("hspec-discover" ,hspec-discover)))
3153 (home-page "https://github.com/ekmett/distributive/")
3154 (synopsis "Distributive functors for Haskell")
3155 (description "This package provides distributive functors for Haskell.
3156Dual to @code{Traversable}.")
3157 (license license:bsd-3)))
3158
3159(define-public ghc-dlist
3160 (package
3161 (name "ghc-dlist")
197ddf33 3162 (version "0.8.0.7")
dddbc90c
RV
3163 (source
3164 (origin
3165 (method url-fetch)
3166 (uri (string-append
3167 "https://hackage.haskell.org/package/dlist/dlist-"
3168 version
3169 ".tar.gz"))
3170 (sha256
197ddf33 3171 (base32 "0b5spkzvj2kx8pk86xz0djkxs13j7dryf5fl16dk4mlp1wh6mh53"))))
dddbc90c
RV
3172 (build-system haskell-build-system)
3173 (inputs
3174 `(("ghc-quickcheck" ,ghc-quickcheck)))
3175 (home-page "https://github.com/spl/dlist")
3176 (synopsis "Difference lists")
3177 (description
3178 "Difference lists are a list-like type supporting O(1) append. This is
3179particularly useful for efficient logging and pretty printing (e.g. with the
3180Writer monad), where list append quickly becomes too expensive.")
3181 (license license:bsd-3)))
3182
3183(define-public ghc-doctemplates
3184 (package
3185 (name "ghc-doctemplates")
3186 (version "0.2.2.1")
3187 (source
3188 (origin
3189 (method url-fetch)
3190 (uri (string-append "https://hackage.haskell.org/package/"
3191 "doctemplates/doctemplates-"
3192 version ".tar.gz"))
3193 (sha256
3194 (base32
3195 "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b"))))
3196 (build-system haskell-build-system)
3197 (inputs
3198 `(("ghc-aeson" ,ghc-aeson)
3199 ("ghc-blaze-markup" ,ghc-blaze-markup)
3200 ("ghc-blaze-html" ,ghc-blaze-html)
3201 ("ghc-vector" ,ghc-vector)
3202 ("ghc-unordered-containers" ,ghc-unordered-containers)
3203 ("ghc-scientific" ,ghc-scientific)))
3204 (native-inputs
3205 `(("ghc-hspec" ,ghc-hspec)))
3206 (home-page "https://github.com/jgm/doctemplates#readme")
3207 (synopsis "Pandoc-style document templates")
3208 (description
3209 "This package provides a simple text templating system used by pandoc.")
3210 (license license:bsd-3)))
3211
3212(define-public ghc-doctest
3213 (package
3214 (name "ghc-doctest")
19c14a0f 3215 (version "0.16.2")
dddbc90c
RV
3216 (source
3217 (origin
3218 (method url-fetch)
3219 (uri (string-append
3220 "https://hackage.haskell.org/package/doctest/doctest-"
3221 version
3222 ".tar.gz"))
3223 (sha256
3224 (base32
19c14a0f 3225 "0lk4cjfzi5bx2snfzw1zi06li0gvgz3ckfh2kwa98l7nxfdl39ag"))))
dddbc90c
RV
3226 (build-system haskell-build-system)
3227 (arguments `(#:tests? #f)) ; FIXME: missing test framework
3228 (inputs
3229 `(("ghc-syb" ,ghc-syb)
3230 ("ghc-paths" ,ghc-paths)
3231 ("ghc-base-compat" ,ghc-base-compat)
3232 ("ghc-code-page" ,ghc-code-page)
3233 ("ghc-hunit" ,ghc-hunit)
3234 ("ghc-hspec" ,ghc-hspec)
3235 ("ghc-quickcheck" ,ghc-quickcheck)
3236 ("ghc-stringbuilder" ,ghc-stringbuilder)
3237 ("ghc-silently" ,ghc-silently)
3238 ("ghc-setenv" ,ghc-setenv)))
3239 (home-page
3240 "https://github.com/sol/doctest#readme")
3241 (synopsis "Test interactive Haskell examples")
3242 (description "The doctest program checks examples in source code comments.
3243It is modeled after doctest for Python, see
3244@uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
3245 (license license:expat)))
3246
3247(define-public ghc-double-conversion
3248 (package
3249 (name "ghc-double-conversion")
3250 (version "2.0.2.0")
3251 (source
3252 (origin
3253 (method url-fetch)
3254 (uri (string-append "https://hackage.haskell.org/package/"
3255 "double-conversion/double-conversion-"
3256 version ".tar.gz"))
3257 (sha256
3258 (base32
3259 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
3260 (build-system haskell-build-system)
3261 (native-inputs
3262 `(("ghc-hunit" ,ghc-hunit)
3263 ("ghc-test-framework" ,ghc-test-framework)
3264 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3265 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3266 (home-page "https://github.com/bos/double-conversion")
3267 (synopsis "Fast conversion between double precision floating point and text")
3268 (description
3269 "This package provides a library that performs fast, accurate conversion
3270between double precision floating point and text.")
3271 (license license:bsd-3)))
3272
577a78b7
TS
3273(define-public ghc-dual-tree
3274 (package
3275 (name "ghc-dual-tree")
3276 (version "0.2.2.1")
3277 (source
3278 (origin
3279 (method url-fetch)
3280 (uri (string-append "https://hackage.haskell.org/package/"
3281 "dual-tree/dual-tree-" version ".tar.gz"))
3282 (sha256
3283 (base32
3284 "17kdfnf0df0z5pkiifxrlmyd1xd7hjjaazd2kzyajl0gd00vbszx"))))
3285 (build-system haskell-build-system)
3286 (inputs
3287 `(("ghc-semigroups" ,ghc-semigroups)
3288 ("ghc-newtype-generics" ,ghc-newtype-generics)
3289 ("ghc-monoid-extras" ,ghc-monoid-extras)))
3290 (native-inputs
3291 `(("ghc-quickcheck" ,ghc-quickcheck)
3292 ("ghc-testing-feat" ,ghc-testing-feat)))
3293 (home-page "https://hackage.haskell.org/package/dual-tree")
3294 (synopsis "Rose trees with cached and accumulating monoidal annotations")
3295 (description "Rose (@math{n}-ary) trees with both upwards- (i.e.
3296cached) and downwards-traveling (i.e. accumulating) monoidal
3297annotations. This is used as the core data structure underlying the
3298@url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3299diagrams framework}, but potentially has other applications as well.")
3300 (license license:bsd-3)))
3301
dddbc90c
RV
3302(define-public ghc-easy-file
3303 (package
3304 (name "ghc-easy-file")
3305 (version "0.2.2")
3306 (source
3307 (origin
3308 (method url-fetch)
3309 (uri (string-append
3310 "https://hackage.haskell.org/package/easy-file/easy-file-"
3311 version
3312 ".tar.gz"))
3313 (sha256
3314 (base32
3315 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
3316 (build-system haskell-build-system)
3317 (home-page
3318 "https://github.com/kazu-yamamoto/easy-file")
3319 (synopsis "File handling library for Haskell")
3320 (description "This library provides file handling utilities for Haskell.")
3321 (license license:bsd-3)))
3322
3323(define-public ghc-easyplot
3324 (package
3325 (name "ghc-easyplot")
3326 (version "1.0")
3327 (source
3328 (origin
3329 (method url-fetch)
3330 (uri (string-append
3331 "https://hackage.haskell.org/package/easyplot/easyplot-"
3332 version ".tar.gz"))
3333 (sha256
3334 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
3335 (build-system haskell-build-system)
3336 (propagated-inputs `(("gnuplot" ,gnuplot)))
3337 (arguments
3338 `(#:phases (modify-phases %standard-phases
3339 (add-after 'unpack 'fix-setup-suffix
3340 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
3341 (home-page "https://hub.darcs.net/scravy/easyplot")
3342 (synopsis "Haskell plotting library based on gnuplot")
3343 (description "This package provides a plotting library for
3344Haskell, using gnuplot for rendering.")
3345 (license license:expat)))
3346
3347(define-public ghc-echo
3348 (package
3349 (name "ghc-echo")
3350 (version "0.1.3")
3351 (source
3352 (origin
3353 (method url-fetch)
3354 (uri (string-append
3355 "https://hackage.haskell.org/package/echo/echo-"
3356 version ".tar.gz"))
3357 (sha256
3358 (base32
3359 "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh"))))
3360 (build-system haskell-build-system)
3361 (arguments
3362 `(#:cabal-revision
3363 ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l")))
3364 (home-page "https://github.com/RyanGlScott/echo")
3365 (synopsis "Echo terminal input portably")
3366 (description "The @code{base} library exposes the @code{hGetEcho} and
3367@code{hSetEcho} functions for querying and setting echo status, but
3368unfortunately, neither function works with MinTTY consoles on Windows.
3369This library provides an alternative interface which works with both
3370MinTTY and other consoles.")
3371 (license license:bsd-3)))
3372
3373(define-public ghc-edisonapi
3374 (package
3375 (name "ghc-edisonapi")
3376 (version "1.3.1")
3377 (source
3378 (origin
3379 (method url-fetch)
3380 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
3381 "/EdisonAPI-" version ".tar.gz"))
3382 (sha256
3383 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
3384 (build-system haskell-build-system)
3385 (home-page "http://rwd.rdockins.name/edison/home/")
3386 (synopsis "Library of efficient, purely-functional data structures (API)")
3387 (description
3388 "Edison is a library of purely functional data structures written by
3389Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
3390value EDiSon (Efficient Data Structures). Edison provides several families of
3391abstractions, each with multiple implementations. The main abstractions
3392provided by Edison are: Sequences such as stacks, queues, and dequeues;
3393Collections such as sets, bags and heaps; and Associative Collections such as
3394finite maps and priority queues where the priority and element are distinct.")
3395 (license license:expat)))
3396
3397(define-public ghc-edisoncore
3398 (package
3399 (name "ghc-edisoncore")
3400 (version "1.3.2.1")
3401 (source
3402 (origin
3403 (method url-fetch)
3404 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
3405 "/EdisonCore-" version ".tar.gz"))
3406 (sha256
3407 (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk"))))
3408 (build-system haskell-build-system)
3409 (inputs
3410 `(("ghc-quickcheck" ,ghc-quickcheck)
3411 ("ghc-edisonapi" ,ghc-edisonapi)))
3412 (home-page "http://rwd.rdockins.name/edison/home/")
3413 (synopsis "Library of efficient, purely-functional data structures")
3414 (description
3415 "This package provides the core Edison data structure implementations,
3416including multiple sequence, set, bag, and finite map concrete implementations
3417with various performance characteristics.")
3418 (license license:expat)))
3419
3420(define-public ghc-edit-distance
3421 (package
3422 (name "ghc-edit-distance")
3423 (version "0.2.2.1")
3424 (source
3425 (origin
3426 (method url-fetch)
3427 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
3428 "/edit-distance-" version ".tar.gz"))
3429 (sha256
3430 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
3431 (build-system haskell-build-system)
3432 (arguments
3433 `(#:phases
3434 (modify-phases %standard-phases
3435 (add-before 'configure 'update-constraints
3436 (lambda _
3437 (substitute* "edit-distance.cabal"
3438 (("QuickCheck >= 2\\.4 && <2\\.9")
d7d143e5 3439 "QuickCheck >= 2.4 && < 2.14")))))))
dddbc90c
RV
3440 (inputs
3441 `(("ghc-random" ,ghc-random)
3442 ("ghc-test-framework" ,ghc-test-framework)
3443 ("ghc-quickcheck" ,ghc-quickcheck)
3444 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3445 (home-page "https://github.com/phadej/edit-distance")
3446 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
3447 (description
3448 "This package provides optimized functions to determine the edit
3449distances for fuzzy matching, including Levenshtein and restricted
3450Damerau-Levenshtein algorithms.")
3451 (license license:bsd-3)))
3452
3ebae41f
TS
3453(define-public ghc-edit-distance-vector
3454 (package
3455 (name "ghc-edit-distance-vector")
3456 (version "1.0.0.4")
3457 (source
3458 (origin
3459 (method url-fetch)
3460 (uri (string-append "https://hackage.haskell.org/package/"
3461 "edit-distance-vector/edit-distance-vector-"
3462 version ".tar.gz"))
3463 (sha256
3464 (base32
3465 "07qgc8dyi9kkzkd3xcd78wdlljy0xwhz65b4r2qg2piidpcdvpxp"))))
3466 (build-system haskell-build-system)
3467 (inputs
3468 `(("ghc-vector" ,ghc-vector)))
3469 (native-inputs
3470 `(("ghc-quickcheck" ,ghc-quickcheck)
3471 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
3472 (home-page "https://github.com/thsutton/edit-distance-vector")
3473 (synopsis "Calculate edit distances and edit scripts between vectors")
3474 (description "This package provides implementation of the
3475Wagner-Fischer dynamic programming algorithm to find the optimal edit
3476script and cost between two sequences. The implementation in this
3477package is specialised to sequences represented with @code{Data.Vector}
3478but is otherwise agnostic to:
3479@itemize
3480@item The type of values in the vectors;
3481@item The type representing edit operations; and
3482@item The type representing the cost of operations.
3483@end itemize")
3484 (license license:bsd-3)) )
3485
dddbc90c
RV
3486(define-public ghc-either
3487 (package
3488 (name "ghc-either")
a3fd4dc7 3489 (version "5.0.1.1")
dddbc90c
RV
3490 (source
3491 (origin
3492 (method url-fetch)
3493 (uri (string-append "https://hackage.haskell.org/package/"
3494 "either-" version "/"
3495 "either-" version ".tar.gz"))
3496 (sha256
3497 (base32
a3fd4dc7 3498 "09yzki8ss56xhy9vggdw1rls86b2kf55hjl5wi0vbv02d8fxahq2"))))
dddbc90c
RV
3499 (build-system haskell-build-system)
3500 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
3501 ("ghc-exceptions" ,ghc-exceptions)
3502 ("ghc-free" ,ghc-free)
3503 ("ghc-monad-control" ,ghc-monad-control)
3504 ("ghc-manodrandom" ,ghc-monadrandom)
3505 ("ghc-mmorph" ,ghc-mmorph)
3506 ("ghc-profunctors" ,ghc-profunctors)
3507 ("ghc-semigroups" ,ghc-semigroups)
3508 ("ghc-semigroupoids" ,ghc-semigroupoids)
3509 ("ghc-transformers-base" ,ghc-transformers-base)))
3510 (native-inputs
3511 `(("ghc-quickcheck" ,ghc-quickcheck)
3512 ("ghc-test-framework" ,ghc-test-framework)
3513 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3514 (home-page "https://github.com/ekmett/either")
3515 (synopsis "Provides an either monad transformer for Haskell")
3516 (description "This Haskell package provides an either monad transformer.")
3517 (license license:bsd-3)))
3518
3519(define-public ghc-email-validate
3520 (package
3521 (name "ghc-email-validate")
a4fe1c64 3522 (version "2.3.2.12")
dddbc90c
RV
3523 (source
3524 (origin
3525 (method url-fetch)
3526 (uri (string-append
3527 "https://hackage.haskell.org/package/"
3528 "email-validate/email-validate-"
3529 version
3530 ".tar.gz"))
3531 (sha256
3532 (base32
a4fe1c64 3533 "0ar3cfjia3x11chb7w60mi7hp5djanms883ddk875l6lifr2lyqf"))))
dddbc90c
RV
3534 (build-system haskell-build-system)
3535 (inputs
3536 `(("ghc-attoparsec" ,ghc-attoparsec)
3537 ("ghc-hspec" ,ghc-hspec)
3538 ("ghc-quickcheck" ,ghc-quickcheck)
3539 ("ghc-doctest" ,ghc-doctest)))
3540 (home-page
3541 "https://github.com/Porges/email-validate-hs")
3542 (synopsis "Email address validator for Haskell")
3543 (description
3544 "This Haskell package provides a validator that can validate an email
3545address string against RFC 5322.")
3546 (license license:bsd-3)))
3547
3548(define-public ghc-enclosed-exceptions
3549 (package
3550 (name "ghc-enclosed-exceptions")
3551 (version "1.0.3")
3552 (source (origin
3553 (method url-fetch)
3554 (uri (string-append "https://hackage.haskell.org/package/"
3555 "enclosed-exceptions/enclosed-exceptions-"
3556 version ".tar.gz"))
3557 (sha256
3558 (base32
3559 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
3560 (build-system haskell-build-system)
3561 ;; FIXME: one of the tests blocks forever:
3562 ;; "thread blocked indefinitely in an MVar operation"
3563 (arguments '(#:tests? #f))
3564 (inputs
3565 `(("ghc-lifted-base" ,ghc-lifted-base)
3566 ("ghc-monad-control" ,ghc-monad-control)
3567 ("ghc-async" ,ghc-async)
3568 ("ghc-transformers-base" ,ghc-transformers-base)))
3569 (native-inputs
3570 `(("ghc-hspec" ,ghc-hspec)
3571 ("ghc-quickcheck" ,ghc-quickcheck)))
3572 (home-page "https://github.com/jcristovao/enclosed-exceptions")
3573 (synopsis "Catch all exceptions from within an enclosed computation")
3574 (description
3575 "This library implements a technique to catch all exceptions raised
3576within an enclosed computation, while remaining responsive to (external)
3577asynchronous exceptions.")
3578 (license license:expat)))
3579
3580(define-public ghc-equivalence
3581 (package
3582 (name "ghc-equivalence")
801cf5b1 3583 (version "0.3.5")
dddbc90c
RV
3584 (source
3585 (origin
3586 (method url-fetch)
3587 (uri (string-append "https://hackage.haskell.org/package/equivalence"
3588 "/equivalence-" version ".tar.gz"))
3589 (sha256
801cf5b1 3590 (base32 "167njzd1cf32aa7br90rjafrxy6hw3fxkk8awifqbxjrcwm5maqp"))))
dddbc90c
RV
3591 (build-system haskell-build-system)
3592 (inputs
3593 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
3594 ("ghc-transformers-compat" ,ghc-transformers-compat)
801cf5b1
TS
3595 ("ghc-fail" ,ghc-fail)
3596 ("ghc-quickcheck" ,ghc-quickcheck)))
dddbc90c
RV
3597 (home-page "https://github.com/pa-ba/equivalence")
3598 (synopsis "Maintaining an equivalence relation implemented as union-find")
3599 (description
3600 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
3601Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
360222(2), 1975) in order to maintain an equivalence relation. This
3603implementation is a port of the @code{union-find} package using the @code{ST}
3604monad transformer (instead of the IO monad).")
3605 (license license:bsd-3)))
3606
3607(define-public ghc-erf
3608 (package
3609 (name "ghc-erf")
3610 (version "2.0.0.0")
3611 (source
3612 (origin
3613 (method url-fetch)
3614 (uri (string-append "https://hackage.haskell.org/package/"
3615 "erf-" version "/"
3616 "erf-" version ".tar.gz"))
3617 (sha256
3618 (base32
3619 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
3620 (build-system haskell-build-system)
3621 (home-page "https://hackage.haskell.org/package/erf")
3622 (synopsis "The error function, erf, and related functions for Haskell")
3623 (description "This Haskell library provides a type class for the
3624error function, erf, and related functions. Instances for Float and
3625Double.")
3626 (license license:bsd-3)))
3627
3628(define-public ghc-errorcall-eq-instance
3629 (package
3630 (name "ghc-errorcall-eq-instance")
3631 (version "0.3.0")
3632 (source
3633 (origin
3634 (method url-fetch)
3635 (uri (string-append "https://hackage.haskell.org/package/"
3636 "errorcall-eq-instance/errorcall-eq-instance-"
3637 version ".tar.gz"))
3638 (sha256
3639 (base32
3640 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
3641 (build-system haskell-build-system)
3642 (inputs
3643 `(("ghc-base-orphans" ,ghc-base-orphans)))
3644 (native-inputs
3645 `(("ghc-quickcheck" ,ghc-quickcheck)
3646 ("ghc-hspec" ,ghc-hspec)
3647 ("hspec-discover" ,hspec-discover)))
3ef91e15 3648 (home-page "https://hackage.haskell.org/package/errorcall-eq-instance")
dddbc90c
RV
3649 (synopsis "Orphan Eq instance for ErrorCall")
3650 (description
3651 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
3652This package provides an orphan instance.")
3653 (license license:expat)))
3654
3655(define-public ghc-errors
3656 (package
3657 (name "ghc-errors")
3658 (version "2.3.0")
3659 (source
3660 (origin
3661 (method url-fetch)
3662 (uri (string-append "https://hackage.haskell.org/package/"
3663 "errors-" version "/"
3664 "errors-" version ".tar.gz"))
3665 (sha256
3666 (base32
3667 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
3668 (build-system haskell-build-system)
3669 (inputs
3670 `(("ghc-exceptions" ,ghc-exceptions)
3671 ("ghc-transformers-compat" ,ghc-transformers-compat)
3672 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
3673 ("ghc-safe" ,ghc-safe)))
3674 (home-page "https://github.com/gabriel439/haskell-errors-library")
3675 (synopsis "Error handling library for Haskell")
3676 (description "This library encourages an error-handling style that
3677directly uses the type system, rather than out-of-band exceptions.")
3678 (license license:bsd-3)))
3679
3680(define-public ghc-esqueleto
2648b604
TS
3681 (package
3682 (name "ghc-esqueleto")
2f6ad77b 3683 (version "3.3.1.1")
2648b604
TS
3684 (source
3685 (origin
3686 (method url-fetch)
3687 (uri (string-append "https://hackage.haskell.org/package/"
3688 "esqueleto/esqueleto-" version ".tar.gz"))
3689 (sha256
3690 (base32
2f6ad77b 3691 "1qi28ma8j5kfygjxnixlazxsyrkdqv8ljz3icwqi5dlscsnj6v3v"))))
2648b604
TS
3692 (build-system haskell-build-system)
3693 (arguments
3694 `(#:haddock? #f ; Haddock reports an internal error.
3695 #:phases
3696 (modify-phases %standard-phases
3697 ;; This package normally runs tests for the MySQL, PostgreSQL, and
3698 ;; SQLite backends. Since we only have Haskell packages for
3699 ;; SQLite, we remove the other two test suites. FIXME: Add the
3700 ;; other backends and run all three test suites.
3701 (add-before 'configure 'remove-non-sqlite-test-suites
3702 (lambda _
3703 (use-modules (ice-9 rdelim))
3704 (with-atomic-file-replacement "esqueleto.cabal"
3705 (lambda (in out)
3706 (let loop ((line (read-line in 'concat)) (deleting? #f))
3707 (cond
3708 ((eof-object? line) #t)
3709 ((string-every char-set:whitespace line)
3710 (unless deleting? (display line out))
3711 (loop (read-line in 'concat) #f))
3712 ((member line '("test-suite mysql\n"
3713 "test-suite postgresql\n"))
3714 (loop (read-line in 'concat) #t))
3715 (else
3716 (unless deleting? (display line out))
3717 (loop (read-line in 'concat) deleting?)))))))))))
3718 (inputs
3719 `(("ghc-blaze-html" ,ghc-blaze-html)
3720 ("ghc-conduit" ,ghc-conduit)
3721 ("ghc-monad-logger" ,ghc-monad-logger)
3722 ("ghc-persistent" ,ghc-persistent)
3723 ("ghc-resourcet" ,ghc-resourcet)
3724 ("ghc-tagged" ,ghc-tagged)
3725 ("ghc-unliftio" ,ghc-unliftio)
3726 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3727 (native-inputs
3728 `(("ghc-hspec" ,ghc-hspec)
3729 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
3730 ("ghc-persistent-template" ,ghc-persistent-template)))
3731 (home-page "https://github.com/bitemyapp/esqueleto")
3732 (synopsis "Type-safe embedded domain specific language for SQL queries")
3733 (description "This library provides a type-safe embedded domain specific
dddbc90c
RV
3734language (EDSL) for SQL queries that works with SQL backends as provided by
3735@code{ghc-persistent}. Its language closely resembles SQL, so you don't have
3736to learn new concepts, just new syntax, and it's fairly easy to predict the
3737generated SQL and optimize it for your backend.")
2648b604 3738 (license license:bsd-3)))
dddbc90c
RV
3739
3740(define-public ghc-exactprint
3741 (package
3742 (name "ghc-exactprint")
50614014 3743 (version "0.6.1")
dddbc90c
RV
3744 (source
3745 (origin
3746 (method url-fetch)
3747 (uri (string-append
3748 "https://hackage.haskell.org/package/"
3749 "ghc-exactprint/ghc-exactprint-" version ".tar.gz"))
3750 (sha256
3751 (base32
50614014 3752 "12nqpqmi9c57a3hgpfy8q073zryz66ylmcvf29hyffpj7vmmnvhl"))))
dddbc90c
RV
3753 (build-system haskell-build-system)
3754 (inputs
3755 `(("ghc-paths" ,ghc-paths)
3756 ("ghc-syb" ,ghc-syb)
3757 ("ghc-free" ,ghc-free)))
3758 (native-inputs
3759 `(("ghc-hunit" ,ghc-hunit)
3760 ("ghc-diff" ,ghc-diff)
3761 ("ghc-silently" ,ghc-silently)
3762 ("ghc-filemanip" ,ghc-filemanip)))
3763 (home-page
3ef91e15 3764 "https://hackage.haskell.org/package/ghc-exactprint")
dddbc90c
RV
3765 (synopsis "ExactPrint for GHC")
3766 (description
3767 "Using the API Annotations available from GHC 7.10.2, this library
3768provides a means to round-trip any code that can be compiled by GHC, currently
3769excluding @file{.lhs} files.")
3770 (license license:bsd-3)))
3771
3772(define-public ghc-exceptions
3773 (package
3774 (name "ghc-exceptions")
46d3e65b 3775 (version "0.10.3")
dddbc90c
RV
3776 (source
3777 (origin
3778 (method url-fetch)
3779 (uri (string-append
3780 "https://hackage.haskell.org/package/exceptions/exceptions-"
3781 version
3782 ".tar.gz"))
3783 (sha256
3784 (base32
46d3e65b 3785 "1w25j4ys5s6v239vbqlbipm9fdwxl1j2ap2lzms7f7rgnik5ir24"))))
dddbc90c
RV
3786 (build-system haskell-build-system)
3787 (native-inputs
3788 `(("ghc-quickcheck" ,ghc-quickcheck)
3789 ("ghc-test-framework" ,ghc-test-framework)
3790 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3791 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3792 (inputs
3793 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
3794 (home-page "https://github.com/ekmett/exceptions/")
3795 (synopsis "Extensible optionally-pure exceptions")
3796 (description "This library provides extensible optionally-pure exceptions
3797for Haskell.")
3798 (license license:bsd-3)))
3799
3800(define-public ghc-executable-path
3801 (package
3802 (name "ghc-executable-path")
3803 (version "0.0.3.1")
3804 (source (origin
3805 (method url-fetch)
3806 (uri (string-append "https://hackage.haskell.org/package/"
3807 "executable-path/executable-path-"
3808 version ".tar.gz"))
3809 (sha256
3810 (base32
3811 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
3812 (build-system haskell-build-system)
3813 (home-page "https://hackage.haskell.org/package/executable-path")
3814 (synopsis "Find out the full path of the executable")
3815 (description
3816 "The documentation of @code{System.Environment.getProgName} says that
3817\"However, this is hard-to-impossible to implement on some non-Unix OSes, so
3818instead, for maximum portability, we just return the leafname of the program
3819as invoked.\" This library tries to provide the missing path.")
3820 (license license:public-domain)))
3821
3822(define-public ghc-extensible-exceptions
3823 (package
3824 (name "ghc-extensible-exceptions")
3825 (version "0.1.1.4")
3826 (source
3827 (origin
3828 (method url-fetch)
3829 (uri (string-append "https://hackage.haskell.org/package/"
3830 "extensible-exceptions/extensible-exceptions-"
3831 version ".tar.gz"))
3832 (sha256
3833 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
3834 (build-system haskell-build-system)
3835 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
3836 (synopsis "Extensible exceptions for Haskell")
3837 (description
3838 "This package provides extensible exceptions for both new and old
3839versions of GHC (i.e., < 6.10).")
3840 (license license:bsd-3)))
3841
3842(define-public ghc-extra
3843 (package
3844 (name "ghc-extra")
0cec5c4e 3845 (version "1.6.21")
dddbc90c
RV
3846 (source
3847 (origin
3848 (method url-fetch)
3849 (uri (string-append
3850 "https://hackage.haskell.org/package/extra/extra-"
3851 version
3852 ".tar.gz"))
3853 (sha256
3854 (base32
0cec5c4e 3855 "1gjx98w4w61g043k6rzc8i34cbxpcigi8lb6i7pp1vwp8w8jm5vl"))))
dddbc90c
RV
3856 (build-system haskell-build-system)
3857 (inputs
3858 `(("ghc-clock" ,ghc-clock)
10650c44 3859 ("ghc-semigroups" ,ghc-semigroups)
b431f6c9
ASM
3860 ("ghc-quickcheck" ,ghc-quickcheck)
3861 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
dddbc90c
RV
3862 (home-page "https://github.com/ndmitchell/extra")
3863 (synopsis "Extra Haskell functions")
3864 (description "This library provides extra functions for the standard
3865Haskell libraries. Most functions are simple additions, filling out missing
3866functionality. A few functions are available in later versions of GHC, but
3867this package makes them available back to GHC 7.2.")
3868 (license license:bsd-3)))
3869
3870(define-public ghc-fail
3871 (package
3872 (name "ghc-fail")
3873 (version "4.9.0.0")
3874 (source
3875 (origin
3876 (method url-fetch)
3877 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
3878 version ".tar.gz"))
3879 (sha256
3880 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
3881 (build-system haskell-build-system)
3882 (arguments `(#:haddock? #f)) ; Package contains no documentation.
3883 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
3884 (synopsis "Forward-compatible MonadFail class")
3885 (description
3886 "This package contains the @code{Control.Monad.Fail} module providing the
3887@uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
3888class that became available in
3889@uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
3890older @code{base} package versions. This package turns into an empty package
3891when used with GHC versions which already provide the
3892@code{Control.Monad.Fail} module.")
3893 (license license:bsd-3)))
3894
3895(define-public ghc-fast-logger
3896 (package
3897 (name "ghc-fast-logger")
d443a52a 3898 (version "2.4.17")
dddbc90c
RV
3899 (source
3900 (origin
3901 (method url-fetch)
3902 (uri (string-append
3903 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
3904 version
3905 ".tar.gz"))
3906 (sha256
3907 (base32
d443a52a 3908 "02mxb1ckvx1s2r2m11l5i2l5rdl7232p0f61af6773haykjp0qxk"))))
dddbc90c
RV
3909 (build-system haskell-build-system)
3910 (inputs
3911 `(("ghc-auto-update" ,ghc-auto-update)
3912 ("ghc-easy-file" ,ghc-easy-file)
d443a52a
TS
3913 ("ghc-unix-time" ,ghc-unix-time)
3914 ("ghc-unix-compat" ,ghc-unix-compat)))
dddbc90c
RV
3915 (native-inputs
3916 `(("hspec-discover" ,hspec-discover)
3917 ("ghc-hspec" ,ghc-hspec)))
3918 (home-page "https://hackage.haskell.org/package/fast-logger")
3919 (synopsis "Fast logging system")
3920 (description "This library provides a fast logging system for Haskell.")
3921 (license license:bsd-3)))
3922
3923(define-public ghc-feed
3924 (package
3925 (name "ghc-feed")
a41c16dc 3926 (version "1.2.0.1")
dddbc90c
RV
3927 (source
3928 (origin
3929 (method url-fetch)
3930 (uri (string-append "https://hackage.haskell.org/package/"
3931 "feed/feed-" version ".tar.gz"))
3932 (sha256
3933 (base32
a41c16dc 3934 "004lwdng4slj6yl8mgscr3cgj0zzc8hzkf4450dby2l6cardg4w0"))))
dddbc90c 3935 (build-system haskell-build-system)
dddbc90c
RV
3936 (inputs
3937 `(("ghc-base-compat" ,ghc-base-compat)
3938 ("ghc-old-locale" ,ghc-old-locale)
3939 ("ghc-old-time" ,ghc-old-time)
3940 ("ghc-safe" ,ghc-safe)
3941 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
3942 ("ghc-utf8-string" ,ghc-utf8-string)
3943 ("ghc-xml-conduit" ,ghc-xml-conduit)
3944 ("ghc-xml-types" ,ghc-xml-types)))
3945 (native-inputs
3946 `(("ghc-hunit" ,ghc-hunit)
a41c16dc 3947 ("ghc-markdown-unlit" ,ghc-markdown-unlit)
dddbc90c
RV
3948 ("ghc-test-framework" ,ghc-test-framework)
3949 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3950 (home-page "https://github.com/bergmark/feed")
3951 (synopsis "Haskell package for handling various syndication formats")
3952 (description "This Haskell package includes tools for generating and
3953consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
3954 (license license:bsd-3)))
3955
3956(define-public ghc-fgl
3957 (package
3958 (name "ghc-fgl")
17482b26 3959 (version "5.7.0.1")
dddbc90c
RV
3960 (outputs '("out" "doc"))
3961 (source
3962 (origin
3963 (method url-fetch)
3964 (uri (string-append
3965 "https://hackage.haskell.org/package/fgl/fgl-"
3966 version
3967 ".tar.gz"))
3968 (sha256
3969 (base32
17482b26 3970 "04793yh778ck3kz1z2svnfdwwls2kisbnky4lzvf4zjfgpv7mkpz"))))
dddbc90c
RV
3971 (build-system haskell-build-system)
3972 (arguments
3973 `(#:phases
3974 (modify-phases %standard-phases
3975 (add-before 'configure 'update-constraints
3976 (lambda _
3977 (substitute* "fgl.cabal"
17482b26
TS
3978 (("QuickCheck >= 2\\.8 && < 2\\.13")
3979 "QuickCheck >= 2.8 && < 2.14")
3980 (("hspec >= 2\\.1 && < 2\\.7")
3981 "hspec >= 2.1 && < 2.8")))))))
dddbc90c
RV
3982 (inputs
3983 `(("ghc-hspec" ,ghc-hspec)
3984 ("ghc-quickcheck" ,ghc-quickcheck)))
3985 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3986 (synopsis
3987 "Martin Erwig's Functional Graph Library")
3988 (description "The functional graph library, FGL, is a collection of type
3989and function definitions to address graph problems. The basis of the library
3990is an inductive definition of graphs in the style of algebraic data types that
3991encourages inductive, recursive definitions of graph algorithms.")
3992 (license license:bsd-3)))
3993
3994(define-public ghc-fgl-arbitrary
3995 (package
3996 (name "ghc-fgl-arbitrary")
3997 (version "0.2.0.3")
3998 (source
3999 (origin
4000 (method url-fetch)
4001 (uri (string-append
4002 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
4003 version ".tar.gz"))
4004 (sha256
4005 (base32
4006 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
4007 (build-system haskell-build-system)
4008 (arguments
4009 `(#:phases
4010 (modify-phases %standard-phases
4011 (add-before 'configure 'update-constraints
4012 (lambda _
4013 (substitute* "fgl-arbitrary.cabal"
4014 (("QuickCheck >= 2\\.3 && < 2\\.10")
4a0ffae5 4015 "QuickCheck >= 2.3 && < 2.14")
dddbc90c 4016 (("hspec >= 2\\.1 && < 2\\.5")
4a0ffae5 4017 "hspec >= 2.1 && < 2.8")))))))
dddbc90c
RV
4018 (inputs
4019 `(("ghc-fgl" ,ghc-fgl)
4020 ("ghc-quickcheck" ,ghc-quickcheck)
4021 ("ghc-hspec" ,ghc-hspec)))
4022 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
4023 (synopsis "QuickCheck support for fgl")
4024 (description
4025 "Provides Arbitrary instances for fgl graphs to avoid adding a
4026QuickCheck dependency for fgl whilst still making the instances
4027available to others. Also available are non-fgl-specific functions
4028for generating graph-like data structures.")
4029 (license license:bsd-3)))
4030
4031(define-public ghc-file-embed
4032 (package
4033 (name "ghc-file-embed")
b5920d50 4034 (version "0.0.11")
dddbc90c
RV
4035 (source
4036 (origin
4037 (method url-fetch)
4038 (uri (string-append "https://hackage.haskell.org/package/file-embed/"
4039 "file-embed-" version ".tar.gz"))
4040 (sha256
4041 (base32
b5920d50 4042 "0l6dkwccbzzyx8rcav03lya2334dgi3vfwk96h7l93l0fc4x19gf"))))
dddbc90c
RV
4043 (build-system haskell-build-system)
4044 (home-page "https://github.com/snoyberg/file-embed")
4045 (synopsis "Use Template Haskell to embed file contents directly")
4046 (description
4047 "This package allows you to use Template Haskell to read a file or all
4048the files in a directory, and turn them into @code{(path, bytestring)} pairs
4049embedded in your Haskell code.")
4050 (license license:bsd-3)))
4051
4052(define-public ghc-filemanip
4053 (package
4054 (name "ghc-filemanip")
4055 (version "0.3.6.3")
4056 (source (origin
4057 (method url-fetch)
4058 (uri (string-append "https://hackage.haskell.org/package/"
4059 "filemanip/filemanip-" version ".tar.gz"))
4060 (sha256
4061 (base32
4062 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
4063 (build-system haskell-build-system)
4064 (inputs
4065 `(("ghc-unix-compat" ,ghc-unix-compat)))
4066 (home-page "https://github.com/bos/filemanip")
4067 (synopsis "File and directory manipulation for Haskell")
4068 (description
4069 "This package provides a Haskell library for working with files and
4070directories. It includes code for pattern matching, finding files, modifying
4071file contents, and more.")
4072 (license license:bsd-3)))
4073
bb62932a
KM
4074(define-public ghc-filepath-bytestring
4075 (package
4076 (name "ghc-filepath-bytestring")
4077 (version "1.4.2.1.1")
4078 (source
4079 (origin
4080 (method url-fetch)
4081 (uri (string-append
4082 "https://hackage.haskell.org/package/filepath-bytestring/"
4083 "filepath-bytestring-" version ".tar.gz"))
4084 (sha256
4085 (base32
4086 "06shdskjj391hb9295slm9gg2rbn5fdq5v6fg0mgn3yl5dv8q5dx"))))
4087 (build-system haskell-build-system)
4088 (native-inputs
4089 `(("ghc-quickcheck" ,ghc-quickcheck)))
3ef91e15 4090 (home-page "https://hackage.haskell.org/package/filepath-bytestring")
bb62932a
KM
4091 (synopsis "Library for manipulating RawFilePaths in a cross-platform way")
4092 (description "This package provides a drop-in replacement for the standard
4093@code{filepath} library, operating on @code{RawFilePath} values rather than
4094@code{FilePath} values to get the speed benefits of using @code{ByteStrings}.")
4095 (license license:bsd-3)))
4096
dddbc90c
RV
4097(define-public ghc-findbin
4098 (package
4099 (name "ghc-findbin")
4100 (version "0.0.5")
4101 (source
4102 (origin
4103 (method url-fetch)
4104 (uri (string-append
4105 "https://hackage.haskell.org/package/FindBin/FindBin-"
4106 version ".tar.gz"))
4107 (sha256
4108 (base32
4109 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
4110 (build-system haskell-build-system)
4111 (home-page "https://github.com/audreyt/findbin")
4112 (synopsis "Get the absolute path of the running program")
4113 (description
4114 "This module locates the full directory of the running program, to allow
4115the use of paths relative to it. FindBin supports invocation of Haskell
4116programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
4117an executable.")
4118 (license license:bsd-3)))
4119
4120(define-public ghc-fingertree
4121 (package
4122 (name "ghc-fingertree")
aac14fdc 4123 (version "0.1.4.2")
dddbc90c
RV
4124 (source
4125 (origin
4126 (method url-fetch)
4127 (uri (string-append
4128 "https://hackage.haskell.org/package/fingertree/fingertree-"
4129 version ".tar.gz"))
4130 (sha256
4131 (base32
aac14fdc 4132 "0zvandj8fysck7ygpn0dw5bhrhmj1s63i326nalxbfkh2ls4iacm"))))
dddbc90c
RV
4133 (build-system haskell-build-system)
4134 (native-inputs
4135 `(("ghc-hunit" ,ghc-hunit)
4136 ("ghc-quickcheck" ,ghc-quickcheck)
4137 ("ghc-test-framework" ,ghc-test-framework)
4138 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4139 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4140 (home-page "https://hackage.haskell.org/package/fingertree")
4141 (synopsis "Generic finger-tree structure")
4142 (description "This library provides finger trees, a general sequence
4143representation with arbitrary annotations, for use as a base for
4144implementations of various collection types. It includes examples, as
4145described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4146simple general-purpose data structure\".")
4147 (license license:bsd-3)))
4148
4149(define-public ghc-fixed
4150 (package
4151 (name "ghc-fixed")
099dda5b 4152 (version "0.3")
dddbc90c
RV
4153 (source
4154 (origin
4155 (method url-fetch)
4156 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
4157 version ".tar.gz"))
4158 (sha256
4159 (base32
099dda5b 4160 "10l2sh179xarb774q92cff2gkb20rsrlilfwp1fk61rzmz9yn64j"))))
dddbc90c
RV
4161 (build-system haskell-build-system)
4162 (home-page "https://github.com/ekmett/fixed")
4163 (synopsis "Signed 15.16 precision fixed point arithmetic")
4164 (description
4165 "This package provides functions for signed 15.16 precision fixed point
4166arithmetic.")
4167 (license license:bsd-3)))
4168
f169f713
JS
4169(define-public ghc-fmlist
4170 (package
4171 (name "ghc-fmlist")
fe9b83a6 4172 (version "0.9.3")
f169f713
JS
4173 (source
4174 (origin
4175 (method url-fetch)
4176 (uri
4177 (string-append
4178 "https://hackage.haskell.org/package/fmlist/fmlist-"
4179 version ".tar.gz"))
4180 (sha256
4181 (base32
fe9b83a6 4182 "1w9nhm2zybdx4c1lalkajwqr8wcs731lfjld2r8gknd7y96x8pwf"))))
f169f713
JS
4183 (build-system haskell-build-system)
4184 (home-page "https://github.com/sjoerdvisscher/fmlist")
4185 (synopsis "FoldMap lists")
4186 (description "FoldMap lists are lists represented by their
4187@code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and
4188append, just like DLists, but other operations might have favorable
4189performance characteristics as well. These wild claims are still
4190completely unverified though.")
4191 (license license:bsd-3)))
4192
dddbc90c
RV
4193(define-public ghc-foldl
4194 (package
4195 (name "ghc-foldl")
26c4104f 4196 (version "1.4.5")
dddbc90c
RV
4197 (source
4198 (origin
4199 (method url-fetch)
4200 (uri (string-append "https://hackage.haskell.org/package/"
4201 "foldl-" version "/"
4202 "foldl-" version ".tar.gz"))
4203 (sha256
4204 (base32
26c4104f 4205 "19qjmzc7gaxfwgqbgy0kq4vhbxvh3qjnwsxnc7pzwws2if5bv80b"))))
dddbc90c
RV
4206 (build-system haskell-build-system)
4207 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
4208 ("ghc-primitive" ,ghc-primitive)
4209 ("ghc-vector" ,ghc-vector)
4210 ("ghc-unordered-containers" ,ghc-unordered-containers)
4211 ("ghc-hashable" ,ghc-hashable)
4212 ("ghc-contravariant" ,ghc-contravariant)
4213 ("ghc-semigroups" ,ghc-semigroups)
4214 ("ghc-profunctors" ,ghc-profunctors)
4215 ("ghc-semigroupoids" ,ghc-semigroupoids)
4216 ("ghc-comonad" ,ghc-comonad)
4217 ("ghc-vector-builder" ,ghc-vector-builder)))
4218 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
4219 (synopsis "Composable, streaming, and efficient left folds for Haskell")
4220 (description "This Haskell library provides strict left folds that stream
4221in constant memory, and you can combine folds using @code{Applicative} style
4222to derive new folds. Derived folds still traverse the container just once
4223and are often as efficient as hand-written folds.")
4224 (license license:bsd-3)))
4225
4226(define-public ghc-foundation
4227 (package
4228 (name "ghc-foundation")
0a702df9 4229 (version "0.0.25")
dddbc90c
RV
4230 (source
4231 (origin
4232 (method url-fetch)
4233 (uri (string-append "https://hackage.haskell.org/package/"
4234 "foundation/foundation-" version ".tar.gz"))
4235 (sha256
4236 (base32
0a702df9 4237 "0q6kx57ygmznlpf8n499hid4x6mj3180paijx0a8dgi9hh7man61"))))
dddbc90c 4238 (build-system haskell-build-system)
59cd7518
TS
4239 (arguments
4240 `(#:phases
4241 (modify-phases %standard-phases
4242 ;; This test is broken. For details, see
4243 ;; https://github.com/haskell-foundation/foundation/issues/530
4244 (add-after 'unpack 'patch-tests
4245 (lambda _
4246 (substitute* "tests/Test/Foundation/Number.hs"
4247 ((", testDividible proxy") ""))
4248 #t)))))
dddbc90c
RV
4249 (inputs `(("ghc-basement" ,ghc-basement)))
4250 (home-page "https://github.com/haskell-foundation/foundation")
4251 (synopsis "Alternative prelude with batteries and no dependencies")
4252 (description
4253 "This package provides a custom prelude with no dependencies apart from
4254the base package.
4255
4256Foundation has the following goals:
4257
4258@enumerate
4259@item provide a base like sets of modules that provide a consistent set of
4260 features and bugfixes across multiple versions of GHC (unlike base).
4261@item provide a better and more efficient prelude than base's prelude.
4262@item be self-sufficient: no external dependencies apart from base;
4263@item provide better data-types: packed unicode string by default, arrays;
4264@item Numerical classes that better represent mathematical things (no more
4265 all-in-one @code{Num});
4266@item I/O system with less lazy IO.
4267@end enumerate\n")
4268 (license license:bsd-3)))
4269
4270(define-public ghc-free
4271 (package
4272 (name "ghc-free")
4081565d 4273 (version "5.1.2")
dddbc90c
RV
4274 (source
4275 (origin
4276 (method url-fetch)
4277 (uri (string-append
4278 "https://hackage.haskell.org/package/free/free-"
4279 version
4280 ".tar.gz"))
4281 (sha256
4282 (base32
4081565d 4283 "0vlf3f2ckl3cr7z2zl8c9c8qkdlfgvmh04gxkp2fg0z9dz80nlyb"))))
dddbc90c
RV
4284 (build-system haskell-build-system)
4285 (inputs
4286 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4287 ("ghc-profunctors" ,ghc-profunctors)
4288 ("ghc-exceptions" ,ghc-exceptions)
4289 ("ghc-bifunctors" ,ghc-bifunctors)
4290 ("ghc-comonad" ,ghc-comonad)
4291 ("ghc-distributive" ,ghc-distributive)
4292 ("ghc-semigroupoids" ,ghc-semigroupoids)
4293 ("ghc-semigroups" ,ghc-semigroups)
4294 ("ghc-transformers-base" ,ghc-transformers-base)
4295 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4296 (home-page "https://github.com/ekmett/free/")
4297 (synopsis "Unrestricted monads for Haskell")
4298 (description "This library provides free monads, which are useful for many
4299tree-like structures and domain specific languages. If @code{f} is a
4300@code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4301whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4302is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4303f} makes no constraining assumptions beyond those given by @code{f} and the
4304definition of @code{Monad}.")
4305 (license license:bsd-3)))
4306
4307(define-public ghc-fsnotify
4308 (package
4309 (name "ghc-fsnotify")
4310 (version "0.3.0.1")
4311 (source (origin
4312 (method url-fetch)
4313 (uri (string-append
4314 "https://hackage.haskell.org/package/fsnotify/"
4315 "fsnotify-" version ".tar.gz"))
4316 (sha256
4317 (base32
4318 "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny"))))
4319 (build-system haskell-build-system)
4320 (inputs
4321 `(("ghc-async" ,ghc-async)
4322 ("ghc-unix-compat" ,ghc-unix-compat)
4323 ("ghc-hinotify" ,ghc-hinotify)
4324 ("ghc-tasty" ,ghc-tasty)
4325 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4326 ("ghc-random" ,ghc-random)
4327 ("ghc-shelly" ,ghc-shelly)
4328 ("ghc-temporary" ,ghc-temporary)))
4329 (home-page "https://github.com/haskell-fswatch/hfsnotify")
4330 (synopsis "Cross platform library for file change notification.")
4331 (description "Cross platform library for file creation, modification, and
4332deletion notification. This library builds upon existing libraries for platform
4333specific Windows, Mac, and Linux file system event notification.")
4334 (license license:bsd-3)))
4335
4336(define-public ghc-generic-deriving
4337 (package
4338 (name "ghc-generic-deriving")
55c1e6be 4339 (version "1.12.4")
dddbc90c
RV
4340 (source
4341 (origin
4342 (method url-fetch)
4343 (uri (string-append
4344 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
4345 version
4346 ".tar.gz"))
4347 (sha256
4348 (base32
55c1e6be 4349 "0vdg9qdq35jl3m11a87wk8cq1y71qm4i1g1b2pxki0wk70yw20a4"))))
dddbc90c
RV
4350 (build-system haskell-build-system)
4351 (inputs
4352 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
4353 (native-inputs
4354 `(("ghc-hspec" ,ghc-hspec)
4355 ("hspec-discover" ,hspec-discover)))
4356 (home-page "https://hackage.haskell.org/package/generic-deriving")
4357 (synopsis "Generalise the deriving mechanism to arbitrary classes")
4358 (description "This package provides functionality for generalising the
4359deriving mechanism in Haskell to arbitrary classes.")
4360 (license license:bsd-3)))
4361
4362(define-public ghc-generics-sop
4363 (package
4364 (name "ghc-generics-sop")
3ed40e10 4365 (version "0.4.0.1")
dddbc90c
RV
4366 (source
4367 (origin
4368 (method url-fetch)
4369 (uri (string-append "https://hackage.haskell.org/package/"
4370 "generics-sop-" version "/"
4371 "generics-sop-" version ".tar.gz"))
4372 (sha256
4373 (base32
3ed40e10 4374 "160knr2phnzh2gldfv954lz029jzc7y8kz5xpmbf4z3vb5ngm6fw"))))
dddbc90c 4375 (build-system haskell-build-system)
3ed40e10
TS
4376 (inputs
4377 `(("ghc-sop-core" ,ghc-sop-core)
4378 ("ghc-transformers-compat" ,ghc-transformers-compat)))
dddbc90c
RV
4379 (home-page "https://github.com/well-typed/generics-sop")
4380 (synopsis "Generic Programming using True Sums of Products for Haskell")
4381 (description "This Haskell package supports the definition of generic
4382functions. Datatypes are viewed in a uniform, structured way: the choice
4383between constructors is represented using an n-ary sum, and the arguments of
4384each constructor are represented using an n-ary product.")
4385 (license license:bsd-3)))
4386
4387(define-public ghc-geniplate-mirror
4388 (package
4389 (name "ghc-geniplate-mirror")
4390 (version "0.7.6")
4391 (source
4392 (origin
4393 (method url-fetch)
4394 (uri (string-append "https://hackage.haskell.org/package"
4395 "/geniplate-mirror"
4396 "/geniplate-mirror-" version ".tar.gz"))
4397 (sha256
4398 (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb"))))
4399 (build-system haskell-build-system)
74a7dd7f
TS
4400 (arguments
4401 `(#:cabal-revision
4402 ("2" "03fg4vfm1wgq4mylggawdx0bfvbbjmdn700sqx7v3hk1bx0kjfzh")))
dddbc90c
RV
4403 (home-page "https://github.com/danr/geniplate")
4404 (synopsis "Use Template Haskell to generate Uniplate-like functions")
4405 (description
4406 "Use Template Haskell to generate Uniplate-like functions. This is a
4407maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
4408geniplate} package, written by Lennart Augustsson.")
4409 (license license:bsd-3)))
4410
4411(define-public ghc-genvalidity
4412 (package
4413 (name "ghc-genvalidity")
920f44a1 4414 (version "0.8.0.0")
dddbc90c
RV
4415 (source
4416 (origin
4417 (method url-fetch)
4418 (uri (string-append
4419 "https://hackage.haskell.org/package/genvalidity/genvalidity-"
4420 version
4421 ".tar.gz"))
4422 (sha256
4423 (base32
920f44a1 4424 "0w38aq9hfyymidncgkrs6yvja7j573d9sap5qfg5rz910fhsij9a"))))
dddbc90c
RV
4425 (build-system haskell-build-system)
4426 (inputs
4427 `(("ghc-quickcheck" ,ghc-quickcheck)
4428 ("ghc-validity" ,ghc-validity)))
4429 (native-inputs
4430 `(("ghc-hspec" ,ghc-hspec)
4431 ("hspec-discover" ,hspec-discover)
4432 ("ghc-hspec-core" ,ghc-hspec-core)))
4433 (home-page
4434 "https://github.com/NorfairKing/validity")
4435 (synopsis
4436 "Testing utilities for the @code{validity} library")
4437 (description
4438 "This package provides testing utilities that are useful in conjunction
4439with the @code{Validity} typeclass.")
4440 (license license:expat)))
4441
4442(define-public ghc-genvalidity-property
4443 (package
4444 (name "ghc-genvalidity-property")
e4ede35b 4445 (version "0.4.0.0")
dddbc90c
RV
4446 (source
4447 (origin
4448 (method url-fetch)
4449 (uri (string-append
4450 "https://hackage.haskell.org/package/"
4451 "genvalidity-property/genvalidity-property-"
4452 version
4453 ".tar.gz"))
4454 (sha256
4455 (base32
e4ede35b 4456 "0zayycx62226w54rvkxwhvqhznsr33dk3ds55yyqrfqbnhvph1s9"))))
dddbc90c
RV
4457 (build-system haskell-build-system)
4458 (inputs
4459 `(("ghc-quickcheck" ,ghc-quickcheck)
4460 ("ghc-genvalidity" ,ghc-genvalidity)
4461 ("ghc-hspec" ,ghc-hspec)
4462 ("hspec-discover" ,hspec-discover)
4463 ("ghc-validity" ,ghc-validity)))
4464 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
4465 (home-page
4466 "https://github.com/NorfairKing/validity")
4467 (synopsis
4468 "Standard properties for functions on @code{Validity} types")
4469 (description
4470 "This package supplements the @code{Validity} typeclass with standard
4471properties for functions operating on them.")
4472 (license license:expat)))
4473
e71fb573
TS
4474(define-public ghc-getopt-generics
4475 (package
4476 (name "ghc-getopt-generics")
4477 (version "0.13.0.4")
4478 (source
4479 (origin
4480 (method url-fetch)
4481 (uri (string-append "https://hackage.haskell.org/package/"
4482 "getopt-generics/getopt-generics-"
4483 version ".tar.gz"))
4484 (sha256
4485 (base32
4486 "1rszkcn1rg38wf35538ljk5bbqjc57y9sb3a0al7qxm82gy8yigr"))))
4487 (build-system haskell-build-system)
4488 (inputs
4489 `(("ghc-base-compat" ,ghc-base-compat)
4490 ("ghc-base-orphans" ,ghc-base-orphans)
4491 ("ghc-generics-sop" ,ghc-generics-sop)
4492 ("ghc-tagged" ,ghc-tagged)))
4493 (native-inputs
4494 `(("ghc-quickcheck" ,ghc-quickcheck)
4495 ("ghc-hspec" ,ghc-hspec)
4496 ("ghc-safe" ,ghc-safe)
4497 ("ghc-silently" ,ghc-silently)
4498 ("hspec-discover" ,hspec-discover)))
4499 (home-page "https://github.com/soenkehahn/getopt-generics")
4500 (synopsis "Create command line interfaces with ease")
4501 (description "This library provides tools to create command line
4502interfaces with ease.")
4503 (license license:bsd-3)))
4504
dddbc90c
RV
4505(define-public ghc-gitrev
4506 (package
4507 (name "ghc-gitrev")
4508 (version "1.3.1")
4509 (source
4510 (origin
4511 (method url-fetch)
4512 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
4513 version ".tar.gz"))
4514 (sha256
4515 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
4516 (build-system haskell-build-system)
4517 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
4518 (home-page "https://github.com/acfoltzer/gitrev")
4519 (synopsis "Compile git revision info into Haskell projects")
4520 (description
4521 "This package provides some handy Template Haskell splices for including
4522the current git hash and branch in the code of your project. This is useful
4523for including in panic messages, @command{--version} output, or diagnostic
4524info for more informative bug reports.")
4525 (license license:bsd-3)))
4526
4527(define-public ghc-glob
4528 (package
4529 (name "ghc-glob")
b900f486 4530 (version "0.10.0")
dddbc90c
RV
4531 (source
4532 (origin
4533 (method url-fetch)
4534 (uri (string-append "https://hackage.haskell.org/package/"
4535 "Glob-" version "/"
4536 "Glob-" version ".tar.gz"))
4537 (sha256
4538 (base32
b900f486 4539 "0953f91f62ncna402vsrfzdcyxhdpjna3bgdw017kad0dfymacs7"))))
dddbc90c
RV
4540 (build-system haskell-build-system)
4541 (inputs
4542 `(("ghc-dlist" ,ghc-dlist)
4543 ("ghc-semigroups" ,ghc-semigroups)
4544 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4545 (native-inputs
4546 `(("ghc-hunit" ,ghc-hunit)
4547 ("ghc-quickcheck" ,ghc-quickcheck)
4548 ("ghc-test-framework" ,ghc-test-framework)
4549 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4550 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4551 (home-page "http://iki.fi/matti.niemenmaa/glob/")
4552 (synopsis "Haskell library matching glob patterns against file paths")
4553 (description "This package provides a Haskell library for @dfn{globbing}:
4554matching patterns against file paths.")
4555 (license license:bsd-3)))
4556
4557(define-public ghc-gluraw
4558 (package
4559 (name "ghc-gluraw")
4560 (version "2.0.0.4")
4561 (source
4562 (origin
4563 (method url-fetch)
4564 (uri (string-append
4565 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
4566 version
4567 ".tar.gz"))
4568 (sha256
4569 (base32
4570 "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq"))))
4571 (build-system haskell-build-system)
4572 (inputs
4573 `(("ghc-openglraw" ,ghc-openglraw)))
4574 (home-page "https://www.haskell.org/haskellwiki/Opengl")
4575 (synopsis "Raw Haskell bindings GLU")
4576 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
4577utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
4578basis for a nicer interface.")
4579 (license license:bsd-3)))
4580
4581(define-public ghc-glut
4582 (package
4583 (name "ghc-glut")
8284bd09 4584 (version "2.7.0.15")
dddbc90c
RV
4585 (source
4586 (origin
4587 (method url-fetch)
4588 (uri (string-append
4589 "https://hackage.haskell.org/package/GLUT/GLUT-"
4590 version
4591 ".tar.gz"))
4592 (sha256
4593 (base32
8284bd09 4594 "0271vnf6wllhxjwy0m348x90kv27aybxcbqkkglmd5w4cpwjg5g9"))))
dddbc90c
RV
4595 (build-system haskell-build-system)
4596 (inputs
4597 `(("ghc-statevar" ,ghc-statevar)
4598 ("ghc-opengl" ,ghc-opengl)
4599 ("ghc-openglraw" ,ghc-openglraw)
4600 ("freeglut" ,freeglut)))
4601 (home-page "https://www.haskell.org/haskellwiki/Opengl")
4602 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
4603 (description "This library provides Haskell bindings for the OpenGL
4604Utility Toolkit, a window system-independent toolkit for writing OpenGL
4605programs.")
4606 (license license:bsd-3)))
4607
4608(define-public ghc-gnuplot
4609 (package
4610 (name "ghc-gnuplot")
d34860c7 4611 (version "0.5.6")
dddbc90c
RV
4612 (source
4613 (origin
4614 (method url-fetch)
4615 (uri (string-append
4616 "mirror://hackage/package/gnuplot/gnuplot-"
4617 version ".tar.gz"))
4618 (sha256
d34860c7 4619 (base32 "1g6xgnlkh17avivn1rlq7l2nvs26dvrbx4rkfld0bf6kyqaqwrgp"))))
dddbc90c
RV
4620 (build-system haskell-build-system)
4621 (inputs
4622 `(("ghc-temporary" ,ghc-temporary)
4623 ("ghc-utility-ht" ,ghc-utility-ht)
4624 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
4625 ("ghc-data-accessor" ,ghc-data-accessor)
4626 ("ghc-semigroups" ,ghc-semigroups)
4627 ("gnuplot" ,gnuplot)))
4628 (arguments
4629 `(#:phases
4630 (modify-phases %standard-phases
4631 (add-before 'configure 'fix-path-to-gnuplot
4632 (lambda* (#:key inputs #:allow-other-keys)
4633 (let ((gnuplot (assoc-ref inputs "gnuplot")))
4634 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
4635 (("(gnuplotName = ).*$" all cmd)
4636 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
4637 (home-page "https://www.haskell.org/haskellwiki/Gnuplot")
4638 (synopsis "2D and 3D plots using gnuplot")
4639 (description "This package provides a Haskell module for creating 2D and
46403D plots using gnuplot.")
4641 (license license:bsd-3)))
4642
4643(define-public ghc-graphviz
4644 (package
4645 (name "ghc-graphviz")
c264bd42 4646 (version "2999.20.0.3")
dddbc90c
RV
4647 (source (origin
4648 (method url-fetch)
4649 (uri (string-append "https://hackage.haskell.org/package/"
4650 "graphviz/graphviz-" version ".tar.gz"))
4651 (sha256
4652 (base32
c264bd42 4653 "04k26zw61nfv1pkd00iaq89pgsaiym0sf4cbzkmm2k2fj5xa587g"))))
dddbc90c 4654 (build-system haskell-build-system)
c264bd42
TS
4655 (arguments
4656 `(#:phases
4657 (modify-phases %standard-phases
4658 (add-before 'configure 'update-constraints
4659 (lambda _
4660 (substitute* "graphviz.cabal"
4661 (("QuickCheck >= 2\\.3 && < 2\\.13")
4662 "QuickCheck >= 2.3 && < 2.14")
4663 (("hspec >= 2\\.1 && < 2\\.7")
4664 "hspec >= 2.1 && < 2.8")))))))
dddbc90c
RV
4665 (inputs
4666 `(("ghc-quickcheck" ,ghc-quickcheck)
4667 ("ghc-colour" ,ghc-colour)
4668 ("ghc-dlist" ,ghc-dlist)
4669 ("ghc-fgl" ,ghc-fgl)
4670 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
4671 ("ghc-polyparse" ,ghc-polyparse)
4672 ("ghc-temporary" ,ghc-temporary)
4673 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
4674 (native-inputs
4675 `(("ghc-hspec" ,ghc-hspec)
4676 ("graphviz" ,graphviz)
4677 ("hspec-discover" ,hspec-discover)))
4678 (home-page "https://hackage.haskell.org/package/graphviz")
4679 (synopsis "Bindings to Graphviz for graph visualisation")
4680 (description
4681 "This library provides bindings for the Dot language used by
4682the @uref{https://graphviz.org/, Graphviz} suite of programs for
4683visualising graphs, as well as functions to call those programs.
4684Main features of the graphviz library include:
4685
4686@enumerate
4687@item Almost complete coverage of all Graphviz attributes and syntax
4688@item Support for specifying clusters
4689@item The ability to use a custom node type
4690@item Functions for running a Graphviz layout tool with all specified output types
4691@item Generate and parse Dot code with two options: strict and liberal
4692@item Functions to convert FGL graphs and other graph-like data structures
4693@item Round-trip support for passing an FGL graph through Graphviz to augment node
4694and edge labels with positional information, etc.
4695@end enumerate\n")
4696 (license license:bsd-3)))
4697
f3e18645
TS
4698(define-public ghc-groups
4699 (package
4700 (name "ghc-groups")
4701 (version "0.4.1.0")
4702 (source
4703 (origin
4704 (method url-fetch)
4705 (uri (string-append "https://hackage.haskell.org/package/"
4706 "groups/groups-" version ".tar.gz"))
4707 (sha256
4708 (base32
4709 "0ggkygkyxw5ga4cza82bjvdraavl294k0h6b62d2px7z3nvqhifx"))))
4710 (build-system haskell-build-system)
4711 (home-page "https://hackage.haskell.org/package/groups")
4712 (synopsis "Haskell 98 groups")
4713 (description "This package provides Haskell 98 groups. A group is a
4714monoid with invertibility.")
4715 (license license:bsd-3)))
4716
dddbc90c
RV
4717(define-public ghc-gtk2hs-buildtools
4718 (package
4719 (name "ghc-gtk2hs-buildtools")
b79b43d4 4720 (version "0.13.5.4")
dddbc90c
RV
4721 (source
4722 (origin
4723 (method url-fetch)
4724 (uri (string-append "https://hackage.haskell.org/package/"
4725 "gtk2hs-buildtools/gtk2hs-buildtools-"
4726 version ".tar.gz"))
4727 (sha256
4728 (base32
b79b43d4 4729 "1flxsacxwmabzzalhn8558kmj95z01c0lmikrn56nxh7p62nxm25"))))
dddbc90c
RV
4730 (build-system haskell-build-system)
4731 (inputs
4732 `(("ghc-random" ,ghc-random)
4733 ("ghc-hashtables" ,ghc-hashtables)))
4734 (native-inputs
4735 `(("ghc-alex" ,ghc-alex)
4736 ("ghc-happy" ,ghc-happy)))
4737 (home-page "http://projects.haskell.org/gtk2hs/")
4738 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
4739 (description
4740 "This package provides a set of helper programs necessary to build the
4741Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
4742that is used to generate FFI declarations, a tool to build a type hierarchy
4743that mirrors the C type hierarchy of GObjects found in glib, and a generator
4744for signal declarations that are used to call back from C to Haskell. These
4745tools are not needed to actually run Gtk2Hs programs.")
4746 (license license:gpl2)))
4747
4748(define-public ghc-hackage-security
4749 (package
4750 (name "ghc-hackage-security")
4751 (version "0.5.3.0")
4752 (source
4753 (origin
4754 (method url-fetch)
4755 (uri (string-append "https://hackage.haskell.org/package/"
4756 "hackage-security/hackage-security-"
4757 version ".tar.gz"))
4758 (sha256
4759 (base32
4760 "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v"))))
4761 (build-system haskell-build-system)
4762 (arguments
034380f3
TS
4763 `(#:cabal-revision
4764 ("6" "1xs2nkzlvkdz8g27yzfxbjdbdadfmgiydnlpn5dm77cg18r495ay")
4765 #:tests? #f)) ; Tests fail because of framework updates.
dddbc90c
RV
4766 (inputs
4767 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
4768 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
4769 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
4770 ("ghc-ed25519" ,ghc-ed25519)
4771 ("ghc-network" ,ghc-network)
4772 ("ghc-network-uri" ,ghc-network-uri)
4773 ("ghc-tar" ,ghc-tar)
4774 ("ghc-zlib" ,ghc-zlib)))
4775 (native-inputs
4776 `(("ghc-network-uri" ,ghc-network-uri)
4777 ("ghc-quickcheck" ,ghc-quickcheck)
4778 ("ghc-tar" ,ghc-tar)
4779 ("ghc-tasty" ,ghc-tasty)
4780 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4781 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
4782 ("ghc-temporary" ,ghc-temporary)
4783 ("ghc-zlib" ,ghc-zlib)))
4784 (home-page "https://github.com/haskell/hackage-security")
4785 (synopsis "Hackage security library")
4786 (description "This Hackage security library provides both server and
4787client utilities for securing @uref{http://hackage.haskell.org/, the
4788Hackage package server}. It is based on
4789@uref{http://theupdateframework.com/, The Update Framework}, a set of
4790recommendations developed by security researchers at various universities
4791in the US as well as developers on the @uref{https://www.torproject.org/,
4792Tor project}.")
4793 (license license:bsd-3)))
4794
4795(define-public ghc-haddock
4796 (package
4797 (name "ghc-haddock")
b0d34d23 4798 (version "2.22.0")
dddbc90c
RV
4799 (source
4800 (origin
4801 (method url-fetch)
4802 (uri (string-append
4803 "https://hackage.haskell.org/package/haddock/haddock-"
4804 version
4805 ".tar.gz"))
4806 (sha256
4807 (base32
b0d34d23 4808 "1k42z2zh550rl93c8pa9cg2xsanp6wvb031xvan6cmngnplmdib6"))))
dddbc90c
RV
4809 (build-system haskell-build-system)
4810 (arguments
4811 `(#:phases
4812 (modify-phases %standard-phases
b0d34d23
TS
4813 ;; The release tarball for 2.22.0 is missing the test data for
4814 ;; the Hoogle test, causing it to fail. This is fixed in the
4815 ;; next release, but for now we disable it.
4816 (add-before 'configure 'remove-hoogle-test
dddbc90c
RV
4817 (lambda _
4818 (use-modules (ice-9 rdelim))
4819 (with-atomic-file-replacement "haddock.cabal"
4820 (lambda (in out)
4821 (let loop ((line (read-line in 'concat)) (deleting? #f))
4822 (cond
4823 ((eof-object? line) #t)
4824 ((string-every char-set:whitespace line)
4825 (unless deleting? (display line out))
4826 (loop (read-line in 'concat) #f))
b0d34d23 4827 ((string=? line "test-suite hoogle-test\n")
dddbc90c
RV
4828 (loop (read-line in 'concat) #t))
4829 (else
4830 (unless deleting? (display line out))
b0d34d23
TS
4831 (loop (read-line in 'concat) deleting?))))))))
4832 (add-before 'check 'add-haddock-to-path
4833 (lambda _
4834 (setenv "PATH" (string-append (getcwd) "/dist/build/haddock"
4835 ":" (getenv "PATH")))
4836 #t)))))
dddbc90c
RV
4837 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
4838 (native-inputs
b0d34d23
TS
4839 `(("ghc-haddock-test" ,ghc-haddock-test)
4840 ("ghc-hspec" ,ghc-hspec)))
dddbc90c
RV
4841 (home-page "https://www.haskell.org/haddock/")
4842 (synopsis
4843 "Documentation-generation tool for Haskell libraries")
4844 (description
4845 "Haddock is a documentation-generation tool for Haskell libraries.")
4846 (license license:bsd-3)))
4847
4848(define-public ghc-haddock-api
4849 (package
4850 (name "ghc-haddock-api")
1b84d8ef 4851 (version "2.22.0")
dddbc90c
RV
4852 (source
4853 (origin
4854 (method url-fetch)
4855 (uri (string-append
4856 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
4857 version
4858 ".tar.gz"))
1b84d8ef 4859 (patches (search-patches "ghc-haddock-api-fix-haddock.patch"))
dddbc90c
RV
4860 (sha256
4861 (base32
1b84d8ef 4862 "149q4zlf4m7wcrr4af2n2flh0jxjsypshbc229vsj1m0kmz4z014"))))
dddbc90c
RV
4863 (build-system haskell-build-system)
4864 (arguments
4865 `(#:phases
4866 (modify-phases %standard-phases
4867 (add-before 'configure 'update-constraints
4868 (lambda _
4869 (substitute* "haddock-api.cabal"
1b84d8ef
TS
4870 (("QuickCheck \\^>= 2\\.11")
4871 "QuickCheck ^>= 2.13")
4872 (("hspec >= 2\\.4\\.4 && < 2\\.6")
4873 "hspec >= 2.4.4 && < 2.8")))))))
dddbc90c
RV
4874 (inputs
4875 `(("ghc-paths" ,ghc-paths)
4876 ("ghc-haddock-library" ,ghc-haddock-library)))
4877 (native-inputs
4878 `(("ghc-quickcheck" ,ghc-quickcheck)
4879 ("ghc-hspec" ,ghc-hspec)
4880 ("hspec-discover" ,hspec-discover)))
4881 (home-page "https://www.haskell.org/haddock/")
4882 (synopsis "API for documentation-generation tool Haddock")
4883 (description "This package provides an API to Haddock, the
4884documentation-generation tool for Haskell libraries.")
4885 (license license:bsd-3)))
4886
4887(define-public ghc-haddock-library
4888 (package
4889 (name "ghc-haddock-library")
10707d57 4890 (version "1.7.0")
dddbc90c
RV
4891 (source
4892 (origin
4893 (method url-fetch)
4894 (uri (string-append
4895 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
4896 version
4897 ".tar.gz"))
4898 (sha256
4899 (base32
10707d57 4900 "04fhcjk0pvsaqvsgp2w06cv2qvshq1xs1bwc157q4lmkgr57khp7"))))
dddbc90c
RV
4901 (build-system haskell-build-system)
4902 (arguments
4903 `(#:phases
4904 (modify-phases %standard-phases
10707d57
TS
4905 ;; Since there is no revised Cabal file upstream, we have to
4906 ;; patch it manually.
dddbc90c
RV
4907 (add-before 'configure 'relax-test-suite-dependencies
4908 (lambda _
4909 (substitute* "haddock-library.cabal"
10707d57
TS
4910 (("hspec\\s*>= 2.4.4 && < 2.6") "hspec")
4911 (("QuickCheck\\s*\\^>= 2.11") "QuickCheck"))
dddbc90c
RV
4912 #t)))))
4913 (native-inputs
4914 `(("ghc-base-compat" ,ghc-base-compat)
4915 ("ghc-hspec" ,ghc-hspec)
4916 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
4917 ("ghc-quickcheck" ,ghc-quickcheck)
4918 ("ghc-tree-diff" ,ghc-tree-diff)
4919 ("hspec-discover" ,hspec-discover)))
4920 (home-page "https://www.haskell.org/haddock/")
4921 (synopsis "Library exposing some functionality of Haddock")
4922 (description
4923 "Haddock is a documentation-generation tool for Haskell libraries. These
4924modules expose some functionality of it without pulling in the GHC dependency.
4925Please note that the API is likely to change so specify upper bounds in your
4926project if you can't release often. For interacting with Haddock itself, see
4927the ‘haddock’ package.")
4928 (license license:bsd-3)))
4929
b0d34d23
TS
4930;; This package is needed for testing 'ghc-haddock'. It is no longer
4931;; published to Hackage, but it is maintained in the Haddock Git
4932;; repository.
4933(define ghc-haddock-test
4934 (package
4935 (name "ghc-haddock-test")
4936 (version "2.22.0")
4937 (source
4938 (origin
4939 (method git-fetch)
4940 (uri (git-reference
4941 (url "https://github.com/haskell/haddock.git")
4942 (commit (string-append "haddock-" version "-release"))))
4943 (file-name (git-file-name name version))
4944 (sha256
4945 (base32
4946 "1ywxmqqan10gs0ppybdmdgsmvkzkpw7yirj2rw4qylg3x49a9zca"))))
4947 (build-system haskell-build-system)
4948 (arguments
4949 `(#:phases
4950 (modify-phases %standard-phases
4951 (add-after 'unpack 'change-directory
4952 (lambda _
4953 (chdir "haddock-test"))))))
4954 (inputs
4955 `(("ghc-syb" ,ghc-syb)
4956 ("ghc-xml" ,ghc-xml)))
4957 (home-page "http://www.haskell.org/haddock/")
4958 (synopsis "Test utilities for Haddock")
4959 (description "This package provides test utilities for Haddock.")
4960 (license license:bsd-3)
4961 (properties '((hidden? #t)))))
4962
dddbc90c
RV
4963(define-public ghc-half
4964 (package
4965 (name "ghc-half")
4966 (version "0.3")
4967 (source
4968 (origin
4969 (method url-fetch)
4970 (uri (string-append
4971 "https://hackage.haskell.org/package/half/half-"
4972 version ".tar.gz"))
4973 (sha256
4974 (base32
4975 "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6"))))
4976 (build-system haskell-build-system)
4977 (native-inputs
4978 `(("ghc-hspec" ,ghc-hspec)
4979 ("ghc-quickcheck" ,ghc-quickcheck)))
4980 (home-page "https://github.com/ekmett/half")
4981 (synopsis "Half-precision floating-point computations")
4982 (description "This library provides a half-precision floating-point
4983computation library for Haskell.")
4984 (license license:bsd-3)))
4985
4986(define-public ghc-happy
4987 (package
4988 (name "ghc-happy")
90e7b0e4 4989 (version "1.19.12")
dddbc90c
RV
4990 (source
4991 (origin
4992 (method url-fetch)
4993 (uri (string-append
4994 "https://hackage.haskell.org/package/happy/happy-"
4995 version
4996 ".tar.gz"))
4997 (sha256
4998 (base32
90e7b0e4 4999 "03xlmq6qmdx4zvzw8bp33kd9g7yvcq5cz4wg50xilw812kj276pv"))))
dddbc90c
RV
5000 (build-system haskell-build-system)
5001 (arguments
5002 `(#:phases
5003 (modify-phases %standard-phases
5004 (add-after 'unpack 'skip-test-issue93
5005 (lambda _
5006 ;; Tests run out of memory on a system with 2GB of available RAM,
5007 ;; in 'issue93.a.hs' and 'issue93.n.hs'.
5008 (substitute* "tests/Makefile"
5009 ((" issue93.y ") " "))
5010 #t)))))
5011 (home-page "https://hackage.haskell.org/package/happy")
5012 (synopsis "Parser generator for Haskell")
5013 (description "Happy is a parser generator for Haskell. Given a grammar
5014specification in BNF, Happy generates Haskell code to parse the grammar.
5015Happy works in a similar way to the yacc tool for C.")
5016 (license license:bsd-3)))
5017
5018(define-public ghc-hashable
5019 (package
5020 (name "ghc-hashable")
5021 (version "1.2.7.0")
5022 (outputs '("out" "doc"))
5023 (source
5024 (origin
5025 (method url-fetch)
5026 (uri (string-append
5027 "https://hackage.haskell.org/package/hashable/hashable-"
5028 version
5029 ".tar.gz"))
5030 (sha256
5031 (base32
5032 "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc"))))
5033 (build-system haskell-build-system)
65a16a45
TS
5034 (arguments
5035 `(#:cabal-revision
5036 ("1" "197063dpl0wn67dp7a06yc2hxp81n24ykk7klbjx0fndm5n87dh3")))
dddbc90c
RV
5037 (inputs
5038 `(("ghc-random" ,ghc-random)))
5039 (native-inputs
5040 `(("ghc-test-framework" ,ghc-test-framework)
5041 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5042 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5043 ("ghc-hunit" ,ghc-hunit)
5044 ("ghc-quickcheck" ,ghc-quickcheck)))
5045 (home-page "https://github.com/tibbe/hashable")
5046 (synopsis "Class for types that can be converted to a hash value")
5047 (description
5048 "This package defines a class, @code{Hashable}, for types that can be
5049converted to a hash value. This class exists for the benefit of hashing-based
5050data structures. The package provides instances for basic types and a way to
5051combine hash values.")
5052 (license license:bsd-3)))
5053
5054(define-public ghc-hashable-bootstrap
5055 (package
5056 (inherit ghc-hashable)
5057 (name "ghc-hashable-bootstrap")
65a16a45
TS
5058 (arguments
5059 `(#:tests? #f
5060 ,@(package-arguments ghc-hashable)))
dddbc90c
RV
5061 (native-inputs '())
5062 (properties '((hidden? #t)))))
5063
5064(define-public ghc-hashable-time
5065 (package
5066 (name "ghc-hashable-time")
f5051e31 5067 (version "0.2.0.2")
dddbc90c
RV
5068 (source
5069 (origin
5070 (method url-fetch)
5071 (uri (string-append
5072 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
5073 version
5074 ".tar.gz"))
5075 (sha256
5076 (base32
f5051e31 5077 "1q7y4plqqwy5286hhx2fygn12h8lqk0y047b597sbdckskxzfqgs"))))
dddbc90c
RV
5078 (build-system haskell-build-system)
5079 (arguments
5080 `(#:cabal-revision
f5051e31 5081 ("2" "006phc5y9rrvsshdcmjmhxzxh8dpgs685mpqbkjm9c40xb1ydjbz")))
dddbc90c 5082 (inputs `(("ghc-hashable" ,ghc-hashable)))
3b02036e 5083 (home-page "https://hackage.haskell.org/package/hashable-time")
dddbc90c
RV
5084 (synopsis "Hashable instances for Data.Time")
5085 (description
5086 "This package provides @code{Hashable} instances for types in
5087@code{Data.Time}.")
5088 (license license:bsd-3)))
5089
5090(define-public ghc-hashtables
5091 (package
5092 (name "ghc-hashtables")
19edf0d0 5093 (version "1.2.3.4")
dddbc90c
RV
5094 (source
5095 (origin
5096 (method url-fetch)
5097 (uri (string-append
5098 "https://hackage.haskell.org/package/hashtables/hashtables-"
5099 version ".tar.gz"))
5100 (sha256
19edf0d0 5101 (base32 "1rjmxnr30g4hygiywkpz5p9sanh0abs7ap4zc1kgd8zv04kycp0j"))))
dddbc90c
RV
5102 (build-system haskell-build-system)
5103 (inputs
5104 `(("ghc-hashable" ,ghc-hashable)
5105 ("ghc-primitive" ,ghc-primitive)
5106 ("ghc-vector" ,ghc-vector)))
5107 (home-page "https://github.com/gregorycollins/hashtables")
5108 (synopsis "Haskell Mutable hash tables in the ST monad")
5109 (description "This package provides a Haskell library including a
5110couple of different implementations of mutable hash tables in the ST
5111monad, as well as a typeclass abstracting their common operations, and
5112a set of wrappers to use the hash tables in the IO monad.")
5113 (license license:bsd-3)))
5114
5115(define-public ghc-haskell-lexer
5116 (package
5117 (name "ghc-haskell-lexer")
5118 (version "1.0.2")
5119 (source
5120 (origin
5121 (method url-fetch)
5122 (uri (string-append
5123 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
5124 version ".tar.gz"))
5125 (sha256
5126 (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq"))))
5127 (build-system haskell-build-system)
3ef91e15 5128 (home-page "https://hackage.haskell.org/package/haskell-lexer")
dddbc90c
RV
5129 (synopsis "Fully compliant Haskell 98 lexer")
5130 (description
5131 "This package provides a fully compliant Haskell 98 lexer.")
5132 (license license:bsd-3)))
5133
5134(define-public ghc-haskell-src
5135 (package
5136 (name "ghc-haskell-src")
5137 (version "1.0.3.0")
5138 (source
5139 (origin
5140 (method url-fetch)
5141 (uri (string-append
5142 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
5143 version
5144 ".tar.gz"))
5145 (sha256
5146 (base32
5147 "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l"))))
5148 (build-system haskell-build-system)
5149 (inputs
5150 `(("ghc-happy" ,ghc-happy)
5151 ("ghc-syb" ,ghc-syb)))
5152 (home-page
5153 "https://hackage.haskell.org/package/haskell-src")
5154 (synopsis
5155 "Support for manipulating Haskell source code")
5156 (description
5157 "The @code{haskell-src} package provides support for manipulating Haskell
5158source code. The package provides a lexer, parser and pretty-printer, and a
5159definition of a Haskell abstract syntax tree (AST). Common uses of this
5160package are to parse or generate Haskell 98 code.")
5161 (license license:bsd-3)))
5162
5163(define-public ghc-haskell-src-exts
5164 (package
5165 (name "ghc-haskell-src-exts")
37a05591 5166 (version "1.21.1")
dddbc90c
RV
5167 (source
5168 (origin
5169 (method url-fetch)
5170 (uri (string-append
5171 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
5172 version
5173 ".tar.gz"))
5174 (sha256
5175 (base32
37a05591 5176 "0q1y8n3d82gid9bcx8wxsqqmj9mq11fg3gp5yzpfbw958dhi3j9f"))))
dddbc90c
RV
5177 (build-system haskell-build-system)
5178 (inputs
5179 `(("cpphs" ,cpphs)
5180 ("ghc-happy" ,ghc-happy)
5181 ("ghc-pretty-show" ,ghc-pretty-show)))
5182 (native-inputs
5183 `(("ghc-smallcheck" ,ghc-smallcheck)
5184 ("ghc-tasty" ,ghc-tasty)
5185 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5186 ("ghc-tasty-golden" ,ghc-tasty-golden)))
5187 (home-page "https://github.com/haskell-suite/haskell-src-exts")
5188 (synopsis "Library for manipulating Haskell source")
5189 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
5190extension of the standard @code{haskell-src} package, and handles most
5191registered syntactic extensions to Haskell. All extensions implemented in GHC
5192are supported. Apart from these standard extensions, it also handles regular
5193patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
5194 (license license:bsd-3)))
5195
5196(define-public ghc-haskell-src-exts-util
5197 (package
5198 (name "ghc-haskell-src-exts-util")
77355bdf 5199 (version "0.2.5")
dddbc90c
RV
5200 (source
5201 (origin
5202 (method url-fetch)
5203 (uri (string-append "https://hackage.haskell.org/package/"
5204 "haskell-src-exts-util/haskell-src-exts-util-"
5205 version ".tar.gz"))
5206 (sha256
5207 (base32
77355bdf 5208 "0fvqi72m74p7q5sbpy8m2chm8a1lgy10mfrcxcz8wrh59vngj0n8"))))
dddbc90c
RV
5209 (build-system haskell-build-system)
5210 (inputs
5211 `(("ghc-data-default" ,ghc-data-default)
5212 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5213 ("ghc-semigroups" ,ghc-semigroups)
5214 ("ghc-uniplate" ,ghc-uniplate)))
5215 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
5216 (synopsis "Helper functions for working with haskell-src-exts trees")
5217 (description
5218 "This package provides helper functions for working with
5219@code{haskell-src-exts} trees.")
5220 (license license:bsd-3)))
5221
5222(define-public ghc-haskell-src-meta
5223 (package
5224 (name "ghc-haskell-src-meta")
e94b3c72 5225 (version "0.8.3")
dddbc90c
RV
5226 (source (origin
5227 (method url-fetch)
5228 (uri (string-append "https://hackage.haskell.org/package/"
5229 "haskell-src-meta/haskell-src-meta-"
5230 version ".tar.gz"))
5231 (sha256
5232 (base32
e94b3c72 5233 "17znnaqj2hnnfyc9p9xjzbs97h2jh1h4f4qbw648y3xa14wx5ra9"))))
dddbc90c
RV
5234 (build-system haskell-build-system)
5235 (inputs
5236 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5237 ("ghc-syb" ,ghc-syb)
5238 ("ghc-th-orphans" ,ghc-th-orphans)))
5239 (native-inputs
5240 `(("ghc-hunit" ,ghc-hunit)
e94b3c72
TS
5241 ("ghc-tasty" ,ghc-tasty)
5242 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
dddbc90c
RV
5243 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5244 (synopsis "Parse source to template-haskell abstract syntax")
5245 (description
5246 "This package provides tools to parse Haskell sources to the
5247template-haskell abstract syntax.")
5248 (license license:bsd-3)))
5249
5250(define-public ghc-hasktags
5251 (package
5252 (name "ghc-hasktags")
5253 (version "0.71.2")
5254 (source
5255 (origin
5256 (method url-fetch)
5257 (uri (string-append
5258 "https://hackage.haskell.org/package/hasktags/hasktags-"
5259 version
5260 ".tar.gz"))
5261 (sha256
5262 (base32
5263 "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c"))))
5264 (build-system haskell-build-system)
5265 (inputs
5266 `(("ghc-system-filepath" ,ghc-system-filepath)
5267 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5268 (native-inputs
5269 `(("ghc-json" ,ghc-json)
5270 ("ghc-utf8-string" ,ghc-utf8-string)
5271 ("ghc-microlens-platform" ,ghc-microlens-platform)
5272 ("ghc-hunit" ,ghc-hunit)))
5273 (home-page "http://github.com/MarcWeber/hasktags")
5274 (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs")
5275 (description
5276 "This package provides a means of generating tag files for Emacs and
5277Vim.")
5278 (license license:bsd-3)))
5279
5280(define-public ghc-hex
5281 (package
5282 (name "ghc-hex")
5283 (version "0.1.2")
5284 (source
5285 (origin
5286 (method url-fetch)
5287 (uri (string-append "https://hackage.haskell.org/package/"
5288 "hex-" version "/"
5289 "hex-" version ".tar.gz"))
5290 (sha256
5291 (base32
5292 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
5293 (build-system haskell-build-system)
5294 (home-page "https://hackage.haskell.org/package/hex")
5295 (synopsis "Convert strings into hexadecimal and back")
5296 (description "This package provides conversion functions between
5297bytestrings and their hexademical representation.")
5298 (license license:bsd-3)))
5299
5300(define-public ghc-highlighting-kate
5301 (package
5302 (name "ghc-highlighting-kate")
5303 (version "0.6.4")
5304 (source (origin
5305 (method url-fetch)
5306 (uri (string-append "https://hackage.haskell.org/package/"
5307 "highlighting-kate/highlighting-kate-"
5308 version ".tar.gz"))
5309 (sha256
5310 (base32
5311 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
5312 (build-system haskell-build-system)
5313 (inputs
5314 `(("ghc-diff" ,ghc-diff)
5315 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5316 (native-inputs
5317 `(("ghc-blaze-html" ,ghc-blaze-html)
5318 ("ghc-utf8-string" ,ghc-utf8-string)))
5319 (home-page "https://github.com/jgm/highlighting-kate")
5320 (synopsis "Syntax highlighting library")
5321 (description
5322 "Highlighting-kate is a syntax highlighting library with support for
5323nearly one hundred languages. The syntax parsers are automatically generated
5324from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5325supported by Kate can be added. An (optional) command-line program is
5326provided, along with a utility for generating new parsers from Kate XML syntax
5327descriptions.")
5328 (license license:gpl2+)))
5329
5330(define-public ghc-hindent
5331 (package
5332 (name "ghc-hindent")
f545f894 5333 (version "5.3.1")
dddbc90c
RV
5334 (source
5335 (origin
5336 (method url-fetch)
5337 (uri (string-append
5338 "https://hackage.haskell.org/package/hindent/hindent-"
5339 version
5340 ".tar.gz"))
5341 (sha256
5342 (base32
f545f894 5343 "008s8zm9qs972b7v5kkmr8l3i9kc6zm7yj33mkw6dv69b7h3c01l"))))
dddbc90c
RV
5344 (build-system haskell-build-system)
5345 (arguments
5346 `(#:modules ((guix build haskell-build-system)
5347 (guix build utils)
5348 (guix build emacs-utils))
5349 #:imported-modules (,@%haskell-build-system-modules
5350 (guix build emacs-utils))
5351 #:phases
5352 (modify-phases %standard-phases
5353 (add-after 'install 'emacs-install
5354 (lambda* (#:key inputs outputs #:allow-other-keys)
5355 (let* ((out (assoc-ref outputs "out"))
5356 (elisp-file "elisp/hindent.el")
d53e87cf 5357 (dest (string-append out "/share/emacs/site-lisp"))
dddbc90c
RV
5358 (emacs (string-append (assoc-ref inputs "emacs")
5359 "/bin/emacs")))
5360 (make-file-writable elisp-file)
5361 (emacs-substitute-variables elisp-file
5362 ("hindent-process-path"
5363 (string-append out "/bin/hindent")))
5364 (install-file elisp-file dest)
5365 (emacs-generate-autoloads "hindent" dest)))))))
5366 (inputs
5367 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5368 ("ghc-monad-loops" ,ghc-monad-loops)
5369 ("ghc-utf8-string" ,ghc-utf8-string)
5370 ("ghc-exceptions" ,ghc-exceptions)
5371 ("ghc-yaml" ,ghc-yaml)
5372 ("ghc-unix-compat" ,ghc-unix-compat)
5373 ("ghc-path" ,ghc-path)
5374 ("ghc-path-io" ,ghc-path-io)
5375 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5376 (native-inputs
5377 `(("ghc-hspec" ,ghc-hspec)
5378 ("ghc-diff" ,ghc-diff)
5379 ("emacs" ,emacs-minimal)))
5380 (home-page
5381 "https://github.com/commercialhaskell/hindent")
5382 (synopsis "Extensible Haskell pretty printer")
5383 (description
5384 "This package provides automatic formatting for Haskell files. Both a
5385library and an executable.")
5386 (license license:bsd-3)))
5387
5388(define-public ghc-hinotify
5389 (package
5390 (name "ghc-hinotify")
c2342abb 5391 (version "0.4")
dddbc90c
RV
5392 (source (origin
5393 (method url-fetch)
5394 (uri (string-append
5395 "https://hackage.haskell.org/package/hinotify/"
5396 "hinotify-" version ".tar.gz"))
5397 (sha256
5398 (base32
c2342abb 5399 "1x1lm685ws2q0z0ibwq6x3l72xh67mj06s36xiga3al48d92q63x"))))
dddbc90c
RV
5400 (build-system haskell-build-system)
5401 (inputs
5402 `(("ghc-async" ,ghc-async)))
5403 (home-page "https://github.com/kolmodin/hinotify.git")
5404 (synopsis "Haskell binding to inotify")
5405 (description "This library provides a wrapper to the Linux kernel's inotify
5406feature, allowing applications to subscribe to notifications when a file is
5407accessed or modified.")
5408 (license license:bsd-3)))
5409
5410(define-public ghc-hmatrix
5411 (package
5412 (name "ghc-hmatrix")
65e29ed1 5413 (version "0.20.0.0")
dddbc90c
RV
5414 (source
5415 (origin
5416 (method url-fetch)
5417 (uri (string-append
5418 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
5419 version ".tar.gz"))
5420 (sha256
65e29ed1 5421 (base32 "1sqy1aci5zfagkb34mz3xdil7cl96z4b4cx28cha54vc5sx1lhpg"))))
dddbc90c
RV
5422 (build-system haskell-build-system)
5423 (inputs
5424 `(("ghc-random" ,ghc-random)
5425 ("ghc-split" ,ghc-split)
5426 ("ghc-storable-complex" ,ghc-storable-complex)
5427 ("ghc-semigroups" ,ghc-semigroups)
5428 ("ghc-vector" ,ghc-vector)
5429 ;;("openblas" ,openblas)
5430 ("lapack" ,lapack)))
5431 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
5432 ;; disables inclusion of the LAPACK functions.
5433 ;; (arguments `(#:configure-flags '("--flags=openblas")))
5434 (home-page "https://github.com/albertoruiz/hmatrix")
5435 (synopsis "Haskell numeric linear algebra library")
5436 (description "The HMatrix package provices a Haskell library for
5437dealing with linear systems, matrix decompositions, and other
5438numerical computations based on BLAS and LAPACK.")
5439 (license license:bsd-3)))
5440
5441(define-public ghc-hmatrix-gsl
5442 (package
5443 (name "ghc-hmatrix-gsl")
5444 (version "0.19.0.1")
5445 (source
5446 (origin
5447 (method url-fetch)
5448 (uri (string-append
5449 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
5450 version ".tar.gz"))
5451 (sha256
5452 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
5453 (build-system haskell-build-system)
5454 (inputs
5455 `(("ghc-hmatrix" ,ghc-hmatrix)
5456 ("ghc-vector" ,ghc-vector)
5457 ("ghc-random" ,ghc-random)
5458 ("gsl" ,gsl)))
5459 (native-inputs `(("pkg-config" ,pkg-config)))
5460 (home-page "https://github.com/albertoruiz/hmatrix")
5461 (synopsis "Haskell GSL binding")
5462 (description "This Haskell library provides a purely functional
5463interface to selected numerical computations, internally implemented
5464using GSL.")
5465 (license license:gpl3+)))
5466
5467(define-public ghc-hmatrix-gsl-stats
5468 (package
5469 (name "ghc-hmatrix-gsl-stats")
e9b359f5 5470 (version "0.4.1.8")
dddbc90c
RV
5471 (source
5472 (origin
5473 (method url-fetch)
5474 (uri
5475 (string-append
5476 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
5477 version ".tar.gz"))
5478 (sha256
e9b359f5 5479 (base32 "1cq049sj3q5r06x7i35hqrkf2jc4p4kfi9zv0jmi2vp7w4644i5q"))))
dddbc90c
RV
5480 (build-system haskell-build-system)
5481 (inputs
5482 `(("ghc-vector" ,ghc-vector)
5483 ("ghc-storable-complex" ,ghc-storable-complex)
5484 ("ghc-hmatrix" ,ghc-hmatrix)
5485 ("gsl" ,gsl)))
5486 (native-inputs `(("pkg-config" ,pkg-config)))
5487 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
5488 (synopsis "GSL Statistics interface for Haskell")
5489 (description "This Haskell library provides a purely functional
5490interface for statistics based on hmatrix and GSL.")
5491 (license license:bsd-3)))
5492
5493(define-public ghc-hmatrix-special
5494 (package
5495 (name "ghc-hmatrix-special")
5496 (version "0.19.0.0")
5497 (source
5498 (origin
5499 (method url-fetch)
5500 (uri
5501 (string-append
5502 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
5503 version ".tar.gz"))
5504 (sha256
5505 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
5506 (build-system haskell-build-system)
5507 (inputs
5508 `(("ghc-hmatrix" ,ghc-hmatrix)
5509 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
5510 (home-page "https://github.com/albertoruiz/hmatrix")
5511 (synopsis "Haskell interface to GSL special functions")
5512 (description "This library provides an interface to GSL special
5513functions for Haskell.")
5514 (license license:gpl3+)))
5515
5516(define-public ghc-hostname
5517 (package
5518 (name "ghc-hostname")
5519 (version "1.0")
5520 (source
5521 (origin
5522 (method url-fetch)
5523 (uri (string-append "https://hackage.haskell.org/package/hostname/"
5524 "hostname-" version ".tar.gz"))
5525 (sha256
5526 (base32
5527 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
5528 (build-system haskell-build-system)
5529 (home-page "https://hackage.haskell.org/package/hostname")
5530 (synopsis "Hostname in Haskell")
5531 (description "Network.HostName is a simple package providing a means to
5532determine the hostname.")
5533 (license license:bsd-3)))
5534
5535(define-public ghc-hourglass
5536 (package
5537 (name "ghc-hourglass")
5538 (version "0.2.12")
5539 (source (origin
5540 (method url-fetch)
5541 (uri (string-append "https://hackage.haskell.org/package/"
5542 "hourglass/hourglass-" version ".tar.gz"))
5543 (sha256
5544 (base32
5545 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
5546 (build-system haskell-build-system)
5547 (inputs
5548 `(("ghc-old-locale" ,ghc-old-locale)))
5549 (native-inputs
5550 `(("ghc-tasty" ,ghc-tasty)
5551 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5552 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5553 (home-page "https://github.com/vincenthz/hs-hourglass")
5554 (synopsis "Simple time-related library for Haskell")
5555 (description
5556 "This is a simple time library providing a simple but powerful and
5557performant API. The backbone of the library are the @code{Timeable} and
5558@code{Time} type classes. Each @code{Timeable} instances can be converted to
5559a type that has a @code{Time} instances, and thus are different
5560representations of current time.")
5561 (license license:bsd-3)))
5562
5563(define-public ghc-hpack
5564 (package
5565 (name "ghc-hpack")
06344a3a 5566 (version "0.31.2")
dddbc90c
RV
5567 (source
5568 (origin
5569 (method url-fetch)
5570 (uri (string-append "https://hackage.haskell.org/package/hpack/"
5571 "hpack-" version ".tar.gz"))
06344a3a 5572 (patches (search-patches "ghc-hpack-fix-tests.patch"))
dddbc90c
RV
5573 (sha256
5574 (base32
06344a3a 5575 "1l2d6185lawwhsj70swxkvcacm0hvcn9qsrlx4ph4gs6k578603g"))))
dddbc90c
RV
5576 (build-system haskell-build-system)
5577 (inputs
5578 `(("ghc-aeson" ,ghc-aeson)
5579 ("ghc-bifunctors" ,ghc-bifunctors)
5580 ("ghc-cryptonite" ,ghc-cryptonite)
5581 ("ghc-glob" ,ghc-glob)
5582 ("ghc-http-client" ,ghc-http-client)
5583 ("ghc-http-client-tls" ,ghc-http-client-tls)
5584 ("ghc-http-types" ,ghc-http-types)
06344a3a 5585 ("ghc-infer-license" ,ghc-infer-license)
dddbc90c
RV
5586 ("ghc-scientific" ,ghc-scientific)
5587 ("ghc-unordered-containers" ,ghc-unordered-containers)
5588 ("ghc-vector" ,ghc-vector)
5589 ("ghc-yaml" ,ghc-yaml)))
5590 (native-inputs
5591 `(("ghc-hspec" ,ghc-hspec)
5592 ("ghc-hunit" ,ghc-hunit)
5593 ("ghc-interpolate" ,ghc-interpolate)
5594 ("ghc-mockery" ,ghc-mockery)
5595 ("ghc-quickcheck" ,ghc-quickcheck)
5596 ("ghc-temporary" ,ghc-temporary)
5597 ("hspec-discover" ,hspec-discover)))
5598 (home-page "https://github.com/sol/hpack")
5599 (synopsis "Tools for an alternative Haskell package format")
5600 (description
5601 "Hpack is a format for Haskell packages. It is an alternative to the
5602Cabal package format and follows different design principles. Hpack packages
5603are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
5604@code{stack} support @code{package.yaml} natively. For other build tools the
5605@code{hpack} executable can be used to generate a @code{.cabal} file from
5606@code{package.yaml}.")
5607 (license license:expat)))
5608
5609(define-public ghc-hs-bibutils
5610 (package
5611 (name "ghc-hs-bibutils")
ebcb4f23 5612 (version "6.7.0.0")
dddbc90c
RV
5613 (source
5614 (origin
5615 (method url-fetch)
5616 (uri (string-append
5617 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
5618 version ".tar.gz"))
5619 (sha256
5620 (base32
ebcb4f23 5621 "1qfyssl76lm4g09yxr3y10kmf8cnzls46g5h0ijk0wpk9wlhbln5"))))
dddbc90c
RV
5622 (build-system haskell-build-system)
5623 (inputs `(("ghc-syb" ,ghc-syb)))
5624 (home-page "https://hackage.haskell.org/package/hs-bibutils")
5625 (synopsis "Haskell bindings to bibutils")
5626 (description
5627 "This package provides Haskell bindings to @code{bibutils}, a library
5628that interconverts between various bibliography formats using a common
5629MODS-format XML intermediate.")
5630 (license license:gpl2+)))
5631
5632(define-public ghc-hslogger
5633 (package
5634 (name "ghc-hslogger")
e5ccc5f7 5635 (version "1.2.12")
dddbc90c
RV
5636 (source
5637 (origin
5638 (method url-fetch)
5639 (uri (string-append "https://hackage.haskell.org/package/"
5640 "hslogger-" version "/" "hslogger-"
5641 version ".tar.gz"))
5642 (sha256 (base32
e5ccc5f7 5643 "0ykcsk7wqygvrg60r5kpl6xfinr706al8pfyk5wj67wjs24lqypr"))))
dddbc90c
RV
5644 (build-system haskell-build-system)
5645 (inputs
5646 `(("ghc-network" ,ghc-network)
5647 ("ghc-old-locale" ,ghc-old-locale)))
5648 (native-inputs
5649 `(("ghc-hunit" ,ghc-hunit)))
5650 (home-page "https://software.complete.org/hslogger")
5651 (synopsis "Logging framework for Haskell, similar to Python's logging module")
5652 (description "Hslogger lets each log message have a priority and source be
5653associated with it. The programmer can then define global handlers that route
5654or filter messages based on the priority and source. It also has a syslog
5655handler built in.")
5656 (license license:bsd-3)))
5657
5658(define-public ghc-hslua
5659 (package
5660 (name "ghc-hslua")
cc784d7b 5661 (version "1.0.3.2")
dddbc90c
RV
5662 (source (origin
5663 (method url-fetch)
5664 (uri (string-append "https://hackage.haskell.org/package/"
5665 "hslua/hslua-" version ".tar.gz"))
5666 (sha256
5667 (base32
cc784d7b 5668 "183bgl5jcx5y2r94lviqfw0a5w9089nxjd1z40k8vx9y2h60pm6j"))))
dddbc90c
RV
5669 (build-system haskell-build-system)
5670 (arguments
5671 `(#:configure-flags '("-fsystem-lua")))
5672 (inputs
5673 `(("lua" ,lua)
5674 ("ghc-exceptions" ,ghc-exceptions)
5675 ("ghc-fail" ,ghc-fail)))
5676 (native-inputs
5677 `(("ghc-tasty" ,ghc-tasty)
5678 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
5679 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5680 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5681 ("ghc-quickcheck" ,ghc-quickcheck)
5682 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
5683 (home-page "https://hackage.haskell.org/package/hslua")
5684 (synopsis "Lua language interpreter embedding in Haskell")
5685 (description
5686 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
5687described in @url{https://www.lua.org/}.")
5688 (license license:expat)))
5689
ff303e4e
TS
5690(define-public ghc-hslua-module-system
5691 (package
5692 (name "ghc-hslua-module-system")
5693 (version "0.2.1")
5694 (source
5695 (origin
5696 (method url-fetch)
5697 (uri (string-append "https://hackage.haskell.org/package/"
5698 "hslua-module-system/hslua-module-system-"
5699 version ".tar.gz"))
5700 (sha256
5701 (base32
5702 "1m7wz3g5c34pyizqw5mllzhsy2vziddhlbhjfwdvd7nhd3p4v3hh"))))
5703 (build-system haskell-build-system)
5704 (inputs
5705 `(("ghc-exceptions" ,ghc-exceptions)
5706 ("ghc-hslua" ,ghc-hslua)
5707 ("ghc-temporary" ,ghc-temporary)))
5708 (native-inputs
5709 `(("ghc-tasty" ,ghc-tasty)
5710 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5711 (home-page "https://github.com/hslua/hslua-module-system")
5712 (synopsis "Lua module wrapper around Haskell's System module")
5713 (description "This library provides access to system information and
5714functionality to Lua scripts via Haskell's @code{System} module. Intended
5715usage for this package is to preload it by adding the loader function to
5716@code{package.preload}. Note that the Lua @code{package} library must have
5717already been loaded before the loader can be added.")
5718 (license license:expat)))
5719
dddbc90c
RV
5720(define-public ghc-hslua-module-text
5721 (package
5722 (name "ghc-hslua-module-text")
ecaf0b0c 5723 (version "0.2.1")
dddbc90c
RV
5724 (source
5725 (origin
5726 (method url-fetch)
5727 (uri (string-append "https://hackage.haskell.org/package/"
5728 "hslua-module-text/hslua-module-text-"
5729 version ".tar.gz"))
5730 (sha256
5731 (base32
ecaf0b0c 5732 "1ikdwvvxhbd5wmfr85dzs2ccamh9rbbpgy899z7s1vlv5q1dj0hk"))))
dddbc90c 5733 (build-system haskell-build-system)
dddbc90c
RV
5734 (inputs
5735 `(("ghc-hslua" ,ghc-hslua)))
5736 (native-inputs
5737 `(("ghc-tasty" ,ghc-tasty)
5738 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5739 (home-page "https://github.com/hslua/hslua-module-text")
5740 (synopsis "Lua module for text")
5741 (description
5742 "This package provides a UTF-8 aware subset of Lua's @code{string} module
5743for Haskell. The functions provided by this module are @code{upper},
5744@code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
5745 (license license:expat)))
5746
fac520bf
TS
5747(define-public ghc-hsyaml
5748 (package
5749 (name "ghc-hsyaml")
5750 (version "0.1.2.0")
5751 (source
5752 (origin
5753 (method url-fetch)
5754 (uri (string-append "https://hackage.haskell.org/package/"
5755 "HsYAML/HsYAML-" version ".tar.gz"))
5756 (sha256
5757 (base32
5758 "1pajfhj16559v64ixm8j7bvxdqmxg6c3c0z3wz7in8ckswgzfp54"))))
5759 (build-system haskell-build-system)
5760 (arguments
5761 `(#:cabal-revision
5762 ("1" "0j6qmmcz5yqh89hs2cq453maix50q61vl2h0ahj5lg02bygn42cf")))
5763 (home-page "https://github.com/haskell-hvr/HsYAML")
5764 (synopsis "Pure Haskell YAML 1.2 parser")
5765 (description "This library provides a
5766@url{http://yaml.org/spec/1.2/spec.html, YAML 1.2} parser implementation
5767for Haskell. Its features include:
5768
5769@itemize
5770@item Pure Haskell implementation with small dependency footprint and
5771emphasis on strict compliance with the YAML 1.2 specification.
5772
5773@item Direct decoding to native Haskell types via (aeson-inspired)
5774typeclass-based API (see @code{Data.YAML}).
5775
5776@item Support for constructing custom YAML node graph
5777representation (including support for cyclic YAML data structures).
5778
5779@item Support for the standard (untyped) @emph{Failsafe}, (strict)
5780@emph{JSON}, and (flexible) @emph{Core} ``schemas'' providing implicit
5781typing rules as defined in the YAML 1.2 specification (including support
5782for user-defined custom schemas).
5783
5784@item Event-based API resembling LibYAML's Event-based API (see
5785@code{Data.YAML.Event}).
5786
5787@item Low-level API access to lexical token-based scanner (see
5788@code{Data.YAML.Token}).
5789@end itemize")
5790 (license license:gpl2+)))
5791
dddbc90c
RV
5792(define-public ghc-http-api-data
5793 (package
5794 (name "ghc-http-api-data")
a57236eb 5795 (version "0.4.1")
dddbc90c
RV
5796 (source
5797 (origin
5798 (method url-fetch)
5799 (uri (string-append "https://hackage.haskell.org/package/"
5800 "http-api-data-" version "/"
5801 "http-api-data-" version ".tar.gz"))
5802 (sha256
5803 (base32
a57236eb 5804 "1ps4bvln43gz72dr9mc3c9n1rn38c4rz6m49vxzz9nz6jz1978rv"))))
dddbc90c 5805 (build-system haskell-build-system)
dddbc90c
RV
5806 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
5807 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
a57236eb 5808 ("ghc-cookie" ,ghc-cookie)
dddbc90c
RV
5809 ("ghc-hashable" ,ghc-hashable)
5810 ("ghc-http-types" ,ghc-http-types)
a57236eb 5811 ("ghc-time-compat" ,ghc-time-compat)
dddbc90c 5812 ("ghc-unordered-containers" ,ghc-unordered-containers)
dddbc90c 5813 ("ghc-uuid-types" ,ghc-uuid-types)))
a57236eb
TS
5814 (native-inputs
5815 `(("cabal-doctest" ,cabal-doctest)
5816 ("ghc-nats" ,ghc-nats)
5817 ("ghc-hunit" ,ghc-hunit)
5818 ("ghc-hspec" ,ghc-hspec)
5819 ("ghc-quickcheck" ,ghc-quickcheck)
5820 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
5821 ("ghc-doctest" ,ghc-doctest)
5822 ("hspec-discover" ,hspec-discover)))
dddbc90c
RV
5823 (home-page "https://github.com/fizruk/http-api-data")
5824 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
5825query parameters")
5826 (description "This Haskell package defines typeclasses used for converting
5827Haskell data types to and from HTTP API data.")
5828 (license license:bsd-3)))
5829
5830(define-public ghc-ieee754
5831 (package
5832 (name "ghc-ieee754")
5833 (version "0.8.0")
5834 (source (origin
5835 (method url-fetch)
5836 (uri (string-append
5837 "https://hackage.haskell.org/package/ieee754/"
5838 "ieee754-" version ".tar.gz"))
5839 (sha256
5840 (base32
5841 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
5842 (build-system haskell-build-system)
5843 (home-page "https://github.com/patperry/hs-ieee754")
5844 (synopsis "Utilities for dealing with IEEE floating point numbers")
5845 (description "Utilities for dealing with IEEE floating point numbers,
5846ported from the Tango math library; approximate and exact equality comparisons
5847for general types.")
5848 (license license:bsd-3)))
5849
5850(define-public ghc-ifelse
5851 (package
5852 (name "ghc-ifelse")
5853 (version "0.85")
5854 (source
5855 (origin
5856 (method url-fetch)
5857 (uri (string-append "https://hackage.haskell.org/package/"
5858 "IfElse/IfElse-" version ".tar.gz"))
5859 (sha256
5860 (base32
5861 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
5862 (build-system haskell-build-system)
3ef91e15 5863 (home-page "https://hackage.haskell.org/package/IfElse")
dddbc90c
RV
5864 (synopsis "Monadic control flow with anaphoric variants")
5865 (description "This library provides functions for control flow inside of
5866monads with anaphoric variants on @code{if} and @code{when} and a C-like
5867@code{switch} function.")
5868 (license license:bsd-3)))
5869
5870(define-public ghc-indents
5871 (package
5872 (name "ghc-indents")
d66473fb 5873 (version "0.5.0.1")
dddbc90c
RV
5874 (source (origin
5875 (method url-fetch)
5876 (uri (string-append
5877 "https://hackage.haskell.org/package/indents/indents-"
5878 version ".tar.gz"))
5879 (sha256
5880 (base32
d66473fb 5881 "0dpcwiz0dwn5aqdsc50plfaawh86adhf7jx5dsmhn5q5nz32qn51"))))
dddbc90c
RV
5882 (build-system haskell-build-system)
5883 ;; This package needs an older version of tasty.
5884 (arguments '(#:tests? #f))
5885 (inputs
5886 `(("ghc-concatenative" ,ghc-concatenative)))
5887 (native-inputs
5888 `(("ghc-tasty" ,ghc-tasty)
5889 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5890 (home-page "http://patch-tag.com/r/salazar/indents")
5891 (synopsis "Indentation sensitive parser-combinators for parsec")
5892 (description
5893 "This library provides functions for use in parsing indentation sensitive
5894contexts. It parses blocks of lines all indented to the same level as well as
5895lines continued at an indented level below.")
5896 (license license:bsd-3)))
5897
1f656b17
TS
5898(define-public ghc-infer-license
5899 (package
5900 (name "ghc-infer-license")
5901 (version "0.2.0")
5902 (source
5903 (origin
5904 (method url-fetch)
5905 (uri (string-append "https://hackage.haskell.org/package/"
5906 "infer-license/infer-license-" version ".tar.gz"))
5907 (sha256
5908 (base32
5909 "0wlfm6bf55kfvm74xar9lmjg5v1103rs9m3grw1rq5bmcmhzxrhj"))))
5910 (build-system haskell-build-system)
5911 (inputs
5912 `(("ghc-text-metrics" ,ghc-text-metrics)))
5913 (native-inputs
5914 `(("ghc-hspec" ,ghc-hspec)
5915 ("hspec-discover" ,hspec-discover)))
3ef91e15 5916 (home-page "https://hackage.haskell.org/package/infer-license")
1f656b17
TS
5917 (synopsis "Infer software license from a given license file")
5918 (description "This library provides tools to infer a software
5919license from a given license file.")
5920 (license license:expat)))
5921
dddbc90c
RV
5922(define-public ghc-inline-c
5923 (package
5924 (name "ghc-inline-c")
55ec98f2 5925 (version "0.7.0.1")
dddbc90c
RV
5926 (source
5927 (origin
5928 (method url-fetch)
5929 (uri (string-append "https://hackage.haskell.org/package/inline-c/"
5930 "inline-c-" version ".tar.gz"))
5931 (sha256
5932 (base32
55ec98f2 5933 "19scbviwiv1fbsdcjji3dscjg7w0xa8r97xwkqqrwm7zhvrg5wns"))))
dddbc90c
RV
5934 (build-system haskell-build-system)
5935 (inputs
5936 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
5937 ("ghc-cryptohash" ,ghc-cryptohash)
5938 ("ghc-hashable" ,ghc-hashable)
5939 ("ghc-parsers" ,ghc-parsers)
5940 ("ghc-unordered-containers" ,ghc-unordered-containers)
5941 ("ghc-vector" ,ghc-vector)))
5942 (native-inputs
5943 `(("ghc-quickcheck" ,ghc-quickcheck)
5944 ("ghc-hspec" ,ghc-hspec)
5945 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)
5946 ("ghc-regex-posix" ,ghc-regex-posix)))
3ef91e15 5947 (home-page "https://hackage.haskell.org/package/inline-c")
dddbc90c
RV
5948 (synopsis "Write Haskell source files including C code inline")
5949 (description
5950 "inline-c lets you seamlessly call C libraries and embed high-performance
5951inline C code in Haskell modules. Haskell and C can be freely intermixed in
5952the same source file, and data passed to and from code in either language with
5953minimal overhead. No FFI required.")
5954 (license license:expat)))
5955
5956(define-public ghc-inline-c-cpp
5957 (package
5958 (name "ghc-inline-c-cpp")
cae58e56 5959 (version "0.3.0.3")
dddbc90c
RV
5960 (source
5961 (origin
5962 (method url-fetch)
5963 (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/"
5964 "inline-c-cpp-" version ".tar.gz"))
5965 (sha256
5966 (base32
cae58e56 5967 "1sxwx9dh60qfpa72dymj015zwd6prhb70x5mkabqzi7nhg3aakln"))))
dddbc90c
RV
5968 (build-system haskell-build-system)
5969 (inputs
5970 `(("ghc-inline-c" ,ghc-inline-c)
5971 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
5972 (native-inputs
5973 `(("ghc-hspec" ,ghc-hspec)))
5974 (home-page "https://hackage.haskell.org/package/inline-c-cpp")
5975 (synopsis "Lets you embed C++ code into Haskell")
5976 (description
5977 "This package provides utilities to inline C++ code into Haskell using
5978@code{inline-c}.")
5979 (license license:expat)))
5980
5981(define-public ghc-integer-logarithms
5982 (package
5983 (name "ghc-integer-logarithms")
86a704db 5984 (version "1.0.3")
dddbc90c
RV
5985 (source
5986 (origin
5987 (method url-fetch)
5988 (uri (string-append "https://hackage.haskell.org/package/"
5989 "integer-logarithms/integer-logarithms-"
5990 version ".tar.gz"))
5991 (sha256
5992 (base32
86a704db 5993 "05pc5hws66csvcvfswlwcr2fplwn1lbssvwifjxkbbwqhq0n5qjs"))))
dddbc90c
RV
5994 (build-system haskell-build-system)
5995 (arguments
5996 `(#:phases
5997 (modify-phases %standard-phases
5998 (add-before 'configure 'update-constraints
5999 (lambda _
6000 (substitute* "integer-logarithms.cabal"
6001 (("tasty >= 0\\.10 && < 1\\.1")
6002 "tasty >= 0.10 && < 1.2")))))))
6003 (native-inputs
6004 `(("ghc-quickcheck" ,ghc-quickcheck)
6005 ("ghc-smallcheck" ,ghc-smallcheck)
6006 ("ghc-tasty" ,ghc-tasty)
6007 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6008 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6009 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
6010 (home-page "https://github.com/Bodigrim/integer-logarithms")
6011 (synopsis "Integer logarithms")
6012 (description
6013 "This package provides the following modules:
6014@code{Math.NumberTheory.Logarithms} and
6015@code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
6016@code{GHC.Integer.Logarithms.Compat} and
6017@code{Math.NumberTheory.Power.Natural}, as well as some additional functions
6018in migrated modules.")
6019 (license license:expat)))
6020
6021(define-public ghc-integer-logarithms-bootstrap
6022 (package
6023 (inherit ghc-integer-logarithms)
6024 (name "ghc-integer-logarithms-bootstrap")
6025 (arguments `(#:tests? #f))
6026 (native-inputs '())
799d8d3c 6027 (properties '((hidden? #t)))))
dddbc90c
RV
6028
6029(define-public ghc-interpolate
6030 (package
6031 (name "ghc-interpolate")
6032 (version "0.2.0")
6033 (source
6034 (origin
6035 (method url-fetch)
6036 (uri (string-append "https://hackage.haskell.org/package/interpolate/"
6037 "interpolate-" version ".tar.gz"))
6038 (sha256
6039 (base32
6040 "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf"))))
6041 (build-system haskell-build-system)
6042 (inputs
6043 `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
6044 (native-inputs
6045 `(("ghc-base-compat" ,ghc-base-compat)
6046 ("ghc-hspec" ,ghc-hspec)
6047 ("ghc-quickcheck" ,ghc-quickcheck)
6048 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6049 ("hspec-discover" ,hspec-discover)))
6050 (home-page "https://github.com/sol/interpolate")
6051 (synopsis "String interpolation library")
6052 (description "This package provides a string interpolation library for
6053Haskell.")
6054 (license license:expat)))
6055
6056(define-public ghc-intervalmap
6057 (package
6058 (name "ghc-intervalmap")
e4946e32 6059 (version "0.6.1.1")
dddbc90c
RV
6060 (source
6061 (origin
6062 (method url-fetch)
6063 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
6064 "IntervalMap-" version ".tar.gz"))
6065 (sha256
6066 (base32
e4946e32 6067 "0vdlvxvhf7vjyv0mfn6jaj2i2gclqv8419ck32s2jxfcmki5m5g8"))))
dddbc90c
RV
6068 (build-system haskell-build-system)
6069 (native-inputs
6070 `(("ghc-quickcheck" ,ghc-quickcheck)))
6071 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
6072 (synopsis "Containers for intervals, with efficient search")
6073 (description
6074 "This package provides ordered containers of intervals, with efficient
6075search for all keys containing a point or overlapping an interval. See the
6076example code on the home page for a quick introduction.")
6077 (license license:bsd-3)))
6078
f7ca1fa8
TS
6079(define-public ghc-intervals
6080 (package
6081 (name "ghc-intervals")
6082 (version "0.8.1")
6083 (source
6084 (origin
6085 (method url-fetch)
6086 (uri (string-append "https://hackage.haskell.org/package/"
6087 "intervals/intervals-" version ".tar.gz"))
6088 (sha256
6089 (base32
6090 "00vyxf3ba9d7aas3npfapr53w71fslgh69fczjb25axr66fvzqww"))))
6091 (build-system haskell-build-system)
6092 (inputs
6093 `(("ghc-distributive" ,ghc-distributive)))
6094 (native-inputs
6095 `(("cabal-doctest" ,cabal-doctest)
6096 ("ghc-doctest" ,ghc-doctest)
6097 ("ghc-quickcheck" ,ghc-quickcheck)))
6098 (arguments
6099 `(#:cabal-revision
6100 ("4" "1qx3q0v13l1zaln9zdk8chxpxhshbz5x0vqm0qda7d1kpv7h6a7r")))
6101 (home-page "https://github.com/ekmett/intervals")
6102 (synopsis "Interval arithmetic")
6103 (description "This library provides
6104@code{Numeric.Interval.Interval}, which represets a closed, convex set
6105of floating point values.")
6106 (license license:bsd-3)))
6107
dddbc90c
RV
6108(define-public ghc-invariant
6109 (package
6110 (name "ghc-invariant")
d3a0e0b4 6111 (version "0.5.3")
dddbc90c
RV
6112 (source
6113 (origin
6114 (method url-fetch)
6115 (uri (string-append
6116 "https://hackage.haskell.org/package/invariant/invariant-"
6117 version ".tar.gz"))
6118 (sha256
6119 (base32
d3a0e0b4 6120 "03245nhcqxx6b0yw81fzqaqd7cgllmx8awzhvs2xv7ys73pmsgnp"))))
dddbc90c
RV
6121 (build-system haskell-build-system)
6122 (inputs
6123 `(("ghc-bifunctors" ,ghc-bifunctors)
6124 ("ghc-comonad" ,ghc-comonad)
6125 ("ghc-contravariant" ,ghc-contravariant)
6126 ("ghc-profunctors" ,ghc-profunctors)
6127 ("ghc-semigroups" ,ghc-semigroups)
6128 ("ghc-statevar" ,ghc-statevar)
6129 ("ghc-tagged" ,ghc-tagged)
6130 ("ghc-th-abstraction" ,ghc-th-abstraction)
6131 ("ghc-transformers-compat" ,ghc-transformers-compat)
6132 ("ghc-unordered-containers" ,ghc-unordered-containers)))
6133 (native-inputs
6134 `(("ghc-hspec" ,ghc-hspec)
6135 ("ghc-quickcheck" ,ghc-quickcheck)
6136 ("hspec-discover" ,hspec-discover)))
6137 (home-page "https://github.com/nfrisby/invariant-functors")
6138 (synopsis "Haskell98 invariant functors")
6139 (description "Haskell98 invariant functors (also known as exponential
6140functors). For more information, see Edward Kmett's article
6141@uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.")
6142 (license license:bsd-2)))
6143
6144(define-public ghc-io-streams
6145 (package
6146 (name "ghc-io-streams")
59e98d75 6147 (version "1.5.1.0")
dddbc90c
RV
6148 (source
6149 (origin
6150 (method url-fetch)
6151 (uri (string-append "https://hackage.haskell.org/package/"
6152 "io-streams/io-streams-" version ".tar.gz"))
6153 (sha256
6154 (base32
59e98d75 6155 "1c7byr943x41nxpc3bnz152fvfbmakafq2958wyf9qiyp2pz18la"))))
dddbc90c
RV
6156 (build-system haskell-build-system)
6157 (inputs
6158 `(("ghc-attoparsec" ,ghc-attoparsec)
6159 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6160 ("ghc-network" ,ghc-network)
6161 ("ghc-primitive" ,ghc-primitive)
6162 ("ghc-vector" ,ghc-vector)
6163 ("ghc-zlib-bindings" ,ghc-zlib-bindings)))
6164 (native-inputs
6165 `(("ghc-hunit" ,ghc-hunit)
6166 ("ghc-quickcheck" ,ghc-quickcheck)
6167 ("ghc-test-framework" ,ghc-test-framework)
6168 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6169 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6170 ("ghc-zlib" ,ghc-zlib)))
3ef91e15 6171 (home-page "https://hackage.haskell.org/package/io-streams")
dddbc90c
RV
6172 (synopsis "Simple and composable stream I/O")
6173 (description "This library contains simple and easy-to-use
6174primitives for I/O using streams.")
6175 (license license:bsd-3)))
6176
6177(define-public ghc-io-streams-haproxy
6178 (package
6179 (name "ghc-io-streams-haproxy")
1a4fbc36 6180 (version "1.0.1.0")
dddbc90c
RV
6181 (source
6182 (origin
6183 (method url-fetch)
6184 (uri (string-append "https://hackage.haskell.org/package/"
6185 "io-streams-haproxy/io-streams-haproxy-"
6186 version ".tar.gz"))
6187 (sha256
6188 (base32
1a4fbc36 6189 "1dcn5hd4fiwyq7m01r6fi93vfvygca5s6mz87c78m0zyj29clkmp"))))
dddbc90c
RV
6190 (build-system haskell-build-system)
6191 (inputs
6192 `(("ghc-attoparsec" ,ghc-attoparsec)
6193 ("ghc-io-streams" ,ghc-io-streams)
6194 ("ghc-network" ,ghc-network)))
6195 (native-inputs
6196 `(("ghc-hunit" ,ghc-hunit)
6197 ("ghc-test-framework" ,ghc-test-framework)
6198 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
dddbc90c
RV
6199 (home-page "http://snapframework.com/")
6200 (synopsis "HAProxy protocol 1.5 support for io-streams")
6201 (description "HAProxy protocol version 1.5 support
6202(see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt})
6203for applications using io-streams. The proxy protocol allows information
6204about a networked peer (like remote address and port) to be propagated
6205through a forwarding proxy that is configured to speak this protocol.")
6206 (license license:bsd-3)))
6207
6208(define-public ghc-iproute
6209 (package
6210 (name "ghc-iproute")
ec25d536 6211 (version "1.7.7")
dddbc90c
RV
6212 (source
6213 (origin
6214 (method url-fetch)
6215 (uri (string-append
6216 "https://hackage.haskell.org/package/iproute/iproute-"
6217 version
6218 ".tar.gz"))
6219 (sha256
6220 (base32
ec25d536 6221 "0gab5930nvzrpvisx3x43ydnp2rd4fbmy9cq1zpgqy1adx5gx8z6"))))
dddbc90c
RV
6222 (build-system haskell-build-system)
6223 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
6224 ; exported by ghc-byteorder. Doctest issue.
6225 (inputs
6226 `(("ghc-appar" ,ghc-appar)
6227 ("ghc-byteorder" ,ghc-byteorder)
6228 ("ghc-network" ,ghc-network)
6229 ("ghc-safe" ,ghc-safe)))
6230 (home-page "https://www.mew.org/~kazu/proj/iproute/")
6231 (synopsis "IP routing table")
6232 (description "IP Routing Table is a tree of IP ranges to search one of
6233them on the longest match base. It is a kind of TRIE with one way branching
6234removed. Both IPv4 and IPv6 are supported.")
6235 (license license:bsd-3)))
6236
4828e54e
TS
6237(define-public ghc-ipynb
6238 (package
6239 (name "ghc-ipynb")
6240 (version "0.1")
6241 (source
6242 (origin
6243 (method url-fetch)
6244 (uri (string-append "https://hackage.haskell.org/package/"
6245 "ipynb/ipynb-" version ".tar.gz"))
6246 (sha256
6247 (base32
6248 "0daadhzil4q573mqb0rpvjzm0vpkzgzqcimw480qpvlh6rhppwj5"))))
6249 (build-system haskell-build-system)
6250 (inputs
6251 `(("ghc-unordered-containers" ,ghc-unordered-containers)
6252 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6253 ("ghc-aeson" ,ghc-aeson)
6254 ("ghc-semigroups" ,ghc-semigroups)))
6255 (native-inputs
6256 `(("ghc-tasty" ,ghc-tasty)
6257 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6258 ("ghc-aeson-diff" ,ghc-aeson-diff)
6259 ("ghc-microlens-aeson" ,ghc-microlens-aeson)
6260 ("ghc-microlens" ,ghc-microlens)
6261 ("ghc-vector" ,ghc-vector)))
6262 (home-page "https://hackage.haskell.org/package/ipynb")
6263 (synopsis "Data structure for working with Jupyter notebooks")
6264 (description "This library defines a data structure for representing
6265Jupyter notebooks, along with @code{ToJSON} and @code{FromJSON}
6266instances for conversion to and from JSON .ipynb files.")
6267 (license license:bsd-3)))
6268
dddbc90c
RV
6269(define-public ghc-iwlib
6270 (package
6271 (name "ghc-iwlib")
6272 (version "0.1.0")
6273 (source
6274 (origin
6275 (method url-fetch)
6276 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
6277 version ".tar.gz"))
6278 (sha256
6279 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
6280 (build-system haskell-build-system)
6281 (inputs
6282 `(("wireless-tools" ,wireless-tools)))
6283 (home-page "https://github.com/jaor/iwlib")
6284 (synopsis "Haskell binding to the iw wireless networking library")
6285 (description
6286 "IWlib is a thin Haskell binding to the iw C library. It provides
6287information about the current wireless network connections, and adapters on
6288supported systems.")
6289 (license license:bsd-3)))
6290
6291(define-public ghc-json
6292 (package
6293 (name "ghc-json")
0ad3d574 6294 (version "0.9.3")
dddbc90c
RV
6295 (source
6296 (origin
6297 (method url-fetch)
6298 (uri (string-append "https://hackage.haskell.org/package/json/"
6299 "json-" version ".tar.gz"))
6300 (sha256
6301 (base32
0ad3d574 6302 "1z8s3mfg76p2flqqd2wqsi96l5bg8k8w8m58zlv81pw3k7h1vbwb"))))
dddbc90c
RV
6303 (build-system haskell-build-system)
6304 (inputs
6305 `(("ghc-syb" ,ghc-syb)))
6306 (home-page "https://hackage.haskell.org/package/json")
6307 (synopsis "Serializes Haskell data to and from JSON")
6308 (description "This package provides a parser and pretty printer for
6309converting between Haskell values and JSON.
6310JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
6311 (license license:bsd-3)))
6312
6313(define-public ghc-juicypixels
6314 (package
6315 (name "ghc-juicypixels")
b50b6004 6316 (version "3.3.4")
dddbc90c
RV
6317 (source (origin
6318 (method url-fetch)
6319 (uri (string-append "https://hackage.haskell.org/package/"
6320 "JuicyPixels/JuicyPixels-"
6321 version ".tar.gz"))
6322 (sha256
6323 (base32
b50b6004 6324 "0qacrnz2qcykj3f6c4k2p8qd31pa2slpv3ykfblgizrfh3401q6x"))))
dddbc90c
RV
6325 (build-system haskell-build-system)
6326 (inputs
6327 `(("ghc-zlib" ,ghc-zlib)
6328 ("ghc-vector" ,ghc-vector)
6329 ("ghc-primitive" ,ghc-primitive)
6330 ("ghc-mmap" ,ghc-mmap)))
6331 (home-page "https://github.com/Twinside/Juicy.Pixels")
6332 (synopsis "Picture loading and serialization library")
6333 (description
6334 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
6335TIFF and GIF formats.")
6336 (license license:bsd-3)))
6337
6338(define-public ghc-kan-extensions
6339 (package
6340 (name "ghc-kan-extensions")
6341 (version "5.2")
6342 (source
6343 (origin
6344 (method url-fetch)
6345 (uri (string-append
6346 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
6347 version
6348 ".tar.gz"))
6349 (sha256
6350 (base32
6351 "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb"))))
6352 (build-system haskell-build-system)
6353 (inputs
6354 `(("ghc-adjunctions" ,ghc-adjunctions)
6355 ("ghc-comonad" ,ghc-comonad)
6356 ("ghc-contravariant" ,ghc-contravariant)
6357 ("ghc-distributive" ,ghc-distributive)
6358 ("ghc-free" ,ghc-free)
6359 ("ghc-invariant" ,ghc-invariant)
6360 ("ghc-semigroupoids" ,ghc-semigroupoids)
6361 ("ghc-tagged" ,ghc-tagged)
6362 ("ghc-transformers-compat" ,ghc-transformers-compat)))
6363 (home-page "https://github.com/ekmett/kan-extensions/")
6364 (synopsis "Kan extensions library")
6365 (description "This library provides Kan extensions, Kan lifts, various
6366forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
6367 (license license:bsd-3)))
6368
6369(define-public ghc-language-c
6370 (package
6371 (name "ghc-language-c")
4e1cf651 6372 (version "0.8.3")
dddbc90c
RV
6373 (source
6374 (origin
6375 (method url-fetch)
6376 (uri (string-append "https://hackage.haskell.org/package/"
6377 "language-c/language-c-" version ".tar.gz"))
6378 (sha256
6379 (base32
4e1cf651 6380 "0bi02jdirkys8v7flf39vrpla2a74z1z0sdhy9lb9v7cmcc6rmpk"))))
dddbc90c
RV
6381 (build-system haskell-build-system)
6382 (inputs `(("ghc-syb" ,ghc-syb)))
6383 (native-inputs
6384 `(("ghc-happy" ,ghc-happy)
6385 ("ghc-alex" ,ghc-alex)))
6386 (home-page "https://visq.github.io/language-c/")
6387 (synopsis "Analysis and generation of C code")
6388 (description
6389 "Language C is a Haskell library for the analysis and generation of C code.
6390It features a complete, well-tested parser and pretty printer for all of C99
6391and a large set of GNU extensions.")
6392 (license license:bsd-3)))
6393
6394(define-public ghc-language-glsl
6395 (package
6396 (name "ghc-language-glsl")
6397 (version "0.3.0")
6398 (source
6399 (origin
6400 (method url-fetch)
6401 (uri (string-append "https://hackage.haskell.org/package/"
6402 "language-glsl/language-glsl-" version ".tar.gz"))
6403 (sha256
6404 (base32
6405 "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1"))))
6406 (build-system haskell-build-system)
6407 (inputs `(("ghc-prettyclass" ,ghc-prettyclass)))
6408 (arguments
6409 `(#:tests? #f
6410 #:cabal-revision
6411 ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5")))
3ef91e15 6412 (home-page "https://hackage.haskell.org/package/language-glsl")
dddbc90c
RV
6413 (synopsis "GLSL abstract syntax tree, parser, and pretty-printer")
6414 (description "This package is a Haskell library for the
6415representation, parsing, and pretty-printing of GLSL 1.50 code.")
6416 (license license:bsd-3)))
6417
6418(define-public ghc-language-haskell-extract
6419 (package
6420 (name "ghc-language-haskell-extract")
6421 (version "0.2.4")
6422 (source
6423 (origin
6424 (method url-fetch)
6425 (uri (string-append "https://hackage.haskell.org/package/"
6426 "language-haskell-extract-" version "/"
6427 "language-haskell-extract-" version ".tar.gz"))
6428 (sha256
6429 (base32
6430 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
6431 (build-system haskell-build-system)
6432 (inputs
6433 `(("ghc-regex-posix" ,ghc-regex-posix)))
6434 (home-page "https://github.com/finnsson/template-helper")
6435 (synopsis "Haskell module to automatically extract functions from
6436the local code")
6437 (description "This package contains helper functions on top of
6438Template Haskell.
6439
6440For example, @code{functionExtractor} extracts all functions after a
6441regexp-pattern, which can be useful if you wish to extract all functions
6442beginning with @code{test} (for a test framework) or all functions beginning
6443with @code{wc} (for a web service).")
6444 (license license:bsd-3)))
6445
6446(define-public ghc-lens
6447 (package
6448 (name "ghc-lens")
262e6323 6449 (version "4.17.1")
dddbc90c
RV
6450 (source
6451 (origin
6452 (method url-fetch)
6453 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
6454 version ".tar.gz"))
6455 (sha256
6456 (base32
262e6323 6457 "1gpkc53l2cggnfrgg5k4ih82rycjbdvpj9pnbi5cq8ms0dbvs4a7"))))
dddbc90c 6458 (build-system haskell-build-system)
dddbc90c
RV
6459 (inputs
6460 `(("ghc-base-orphans" ,ghc-base-orphans)
6461 ("ghc-bifunctors" ,ghc-bifunctors)
6462 ("ghc-distributive" ,ghc-distributive)
6463 ("ghc-exceptions" ,ghc-exceptions)
6464 ("ghc-free" ,ghc-free)
6465 ("ghc-kan-extensions" ,ghc-kan-extensions)
6466 ("ghc-parallel" ,ghc-parallel)
6467 ("ghc-reflection" ,ghc-reflection)
6468 ("ghc-semigroupoids" ,ghc-semigroupoids)
6469 ("ghc-vector" ,ghc-vector)
6470 ("ghc-call-stack" ,ghc-call-stack)
6471 ("ghc-comonad" ,ghc-comonad)
6472 ("ghc-contravariant" ,ghc-contravariant)
6473 ("ghc-hashable" ,ghc-hashable)
6474 ("ghc-profunctors" ,ghc-profunctors)
6475 ("ghc-semigroups" ,ghc-semigroups)
6476 ("ghc-tagged" ,ghc-tagged)
6477 ("ghc-transformers-compat" ,ghc-transformers-compat)
6478 ("ghc-unordered-containers" ,ghc-unordered-containers)
6479 ("ghc-void" ,ghc-void)
6480 ("ghc-generic-deriving" ,ghc-generic-deriving)
6481 ("ghc-nats" ,ghc-nats)
6482 ("ghc-simple-reflect" ,ghc-simple-reflect)
6483 ("hlint" ,hlint)))
6484 (native-inputs
6485 `(("cabal-doctest" ,cabal-doctest)
6486 ("ghc-doctest" ,ghc-doctest)
6487 ("ghc-hunit" ,ghc-hunit)
6488 ("ghc-test-framework" ,ghc-test-framework)
6489 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6490 ("ghc-test-framework-th" ,ghc-test-framework-th)
6491 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6492 ("ghc-quickcheck" ,ghc-quickcheck)))
6493 (home-page "https://github.com/ekmett/lens/")
6494 (synopsis "Lenses, Folds and Traversals")
6495 (description "This library provides @code{Control.Lens}. The combinators
6496in @code{Control.Lens} provide a highly generic toolbox for composing families
6497of getters, folds, isomorphisms, traversals, setters and lenses and their
6498indexed variants.")
6499 (license license:bsd-3)))
6500
6501(define-public ghc-libffi
6502 (package
6503 (name "ghc-libffi")
6504 (version "0.1")
6505 (source
6506 (origin
6507 (method url-fetch)
6508 (uri (string-append "https://hackage.haskell.org/package/"
6509 "libffi/libffi-" version ".tar.gz"))
6510 (sha256
6511 (base32
6512 "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28"))))
6513 (build-system haskell-build-system)
6514 (native-inputs `(("pkg-config" ,pkg-config)))
6515 (inputs `(("libffi" ,libffi)))
3ef91e15 6516 (home-page "https://hackage.haskell.org/package/libffi")
dddbc90c
RV
6517 (synopsis "Haskell binding to libffi")
6518 (description
6519 "A binding to libffi, allowing C functions of types only known at runtime
6520to be called from Haskell.")
6521 (license license:bsd-3)))
6522
6523(define-public ghc-libmpd
6524 (package
6525 (name "ghc-libmpd")
bbf9845f 6526 (version "0.9.0.10")
dddbc90c
RV
6527 (source
6528 (origin
6529 (method url-fetch)
6530 (uri (string-append
6531 "mirror://hackage/package/libmpd/libmpd-"
6532 version
6533 ".tar.gz"))
6534 (sha256
6535 (base32
bbf9845f 6536 "0vy287mn1vk8kvij5i3hc0p02l886cpsq5dds7kl6g520si3abkb"))))
dddbc90c
RV
6537 (build-system haskell-build-system)
6538 ;; Tests fail on i686.
6539 ;; See https://github.com/vimus/libmpd-haskell/issues/112
6540 (arguments `(#:tests? #f))
6541 (inputs
6542 `(("ghc-attoparsec" ,ghc-attoparsec)
6543 ("ghc-old-locale" ,ghc-old-locale)
6544 ("ghc-data-default-class" ,ghc-data-default-class)
6545 ("ghc-network" ,ghc-network)
bbf9845f 6546 ("ghc-safe-exceptions" ,ghc-safe-exceptions)
dddbc90c
RV
6547 ("ghc-utf8-string" ,ghc-utf8-string)))
6548 (native-inputs
6549 `(("ghc-quickcheck" ,ghc-quickcheck)
6550 ("ghc-hspec" ,ghc-hspec)
6551 ("hspec-discover" ,hspec-discover)))
6552 (home-page "https://github.com/vimus/libmpd-haskell")
6553 (synopsis "Haskell client library for the Music Player Daemon")
6554 (description "This package provides a pure Haskell client library for the
6555Music Player Daemon.")
6556 (license license:expat)))
6557
e34df1c3
TS
6558(define-public ghc-lib-parser
6559 (package
6560 (name "ghc-lib-parser")
6561 (version "8.8.0.20190424")
6562 (source
6563 (origin
6564 (method url-fetch)
6565 (uri (string-append "https://hackage.haskell.org/package/"
6566 "ghc-lib-parser/ghc-lib-parser-" version ".tar.gz"))
6567 (sha256
6568 (base32
6569 "12gsh994pr13bsybwlravmi21la66dyw74pk74yfw2pnz682wv10"))))
6570 (build-system haskell-build-system)
6571 (native-inputs
6572 `(("ghc-alex" ,ghc-alex)
6573 ("ghc-happy" ,ghc-happy)))
6574 (home-page "https://github.com/digital-asset/ghc-lib")
6575 (synopsis "The GHC API, decoupled from GHC versions")
6576 (description "This library implements the GHC API. It is like the
6577compiler-provided @code{ghc} package, but it can be loaded on many
6578compiler versions.")
6579 (license license:bsd-3)))
6580
dddbc90c
RV
6581(define-public ghc-libxml
6582 (package
6583 (name "ghc-libxml")
6584 (version "0.1.1")
6585 (source
6586 (origin
6587 (method url-fetch)
6588 (uri (string-append "https://hackage.haskell.org/package/libxml/"
6589 "libxml-" version ".tar.gz"))
6590 (sha256
6591 (base32
6592 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
6593 (build-system haskell-build-system)
6594 (inputs
6595 `(("libxml2" ,libxml2)))
6596 (arguments
6597 `(#:configure-flags
6598 `(,(string-append "--extra-include-dirs="
6599 (assoc-ref %build-inputs "libxml2")
6600 "/include/libxml2"))))
6601 (home-page "https://hackage.haskell.org/package/libxml")
6602 (synopsis "Haskell bindings to libxml2")
6603 (description
6604 "This library provides minimal Haskell binding to libxml2.")
6605 (license license:bsd-3)))
6606
0c2d6fc2
TS
6607(define-public ghc-libyaml
6608 (package
6609 (name "ghc-libyaml")
6610 (version "0.1.1.0")
6611 (source
6612 (origin
6613 (method url-fetch)
6614 (uri (string-append "https://hackage.haskell.org/package/"
6615 "libyaml/libyaml-" version ".tar.gz"))
6616 (sha256
6617 (base32
6618 "0psznm9c3yjsyj9aj8m2svvv9m2v0x90hnwarcx5sbswyi3l00va"))
6619 (modules '((guix build utils)))
6620 (snippet
6621 ;; Delete bundled LibYAML.
6622 '(begin
6623 (delete-file-recursively "libyaml_src")
6624 #t))))
6625 (build-system haskell-build-system)
6626 (arguments
6627 `(#:configure-flags `("--flags=system-libyaml")))
6628 (inputs
6629 `(("ghc-conduit" ,ghc-conduit)
6630 ("ghc-resourcet" ,ghc-resourcet)
6631 ("libyaml" ,libyaml-2.1)))
6632 (home-page "https://github.com/snoyberg/yaml#readme")
6633 (synopsis "Low-level, streaming YAML interface.")
6634 (description "This package provides a Haskell wrapper over the
6635LibYAML C library.")
6636 (license license:bsd-3)))
6637
dddbc90c
RV
6638(define-public ghc-lifted-async
6639 (package
6640 (name "ghc-lifted-async")
b5b6d7ea 6641 (version "0.10.0.4")
dddbc90c
RV
6642 (source
6643 (origin
6644 (method url-fetch)
6645 (uri (string-append
6646 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
6647 version ".tar.gz"))
6648 (sha256
6649 (base32
b5b6d7ea 6650 "0cwl1d0wjpdk0v1l1qxiqiksmak950c8gx169c1q77cg0z18ijf9"))))
dddbc90c
RV
6651 (build-system haskell-build-system)
6652 (inputs
6653 `(("ghc-async" ,ghc-async)
6654 ("ghc-lifted-base" ,ghc-lifted-base)
6655 ("ghc-transformers-base" ,ghc-transformers-base)
6656 ("ghc-monad-control" ,ghc-monad-control)
6657 ("ghc-constraints" ,ghc-constraints)
6658 ("ghc-hunit" ,ghc-hunit)
6659 ("ghc-tasty" ,ghc-tasty)
6660 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
6661 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6662 ("ghc-tasty-th" ,ghc-tasty-th)))
6663 (home-page "https://github.com/maoe/lifted-async")
6664 (synopsis "Run lifted IO operations asynchronously and wait for their results")
6665 (description
6666 "This package provides IO operations from @code{async} package lifted to any
6667instance of @code{MonadBase} or @code{MonadBaseControl}.")
6668 (license license:bsd-3)))
6669
6670(define-public ghc-lifted-base
6671 (package
6672 (name "ghc-lifted-base")
6673 (version "0.2.3.12")
6674 (source
6675 (origin
6676 (method url-fetch)
6677 (uri (string-append
6678 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
6679 version
6680 ".tar.gz"))
6681 (sha256
6682 (base32
6683 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
6684 (build-system haskell-build-system)
6685 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
6686 (inputs
6687 `(("ghc-transformers-base" ,ghc-transformers-base)
6688 ("ghc-monad-control" ,ghc-monad-control)
6689 ("ghc-transformers-compat" ,ghc-transformers-compat)
6690 ("ghc-hunit" ,ghc-hunit)))
6691 (home-page "https://github.com/basvandijk/lifted-base")
6692 (synopsis "Lifted IO operations from the base library")
6693 (description "Lifted-base exports IO operations from the @code{base}
6694library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
6695Note that not all modules from @code{base} are converted yet. The package
6696includes a copy of the @code{monad-peel} test suite written by Anders
6697Kaseorg.")
6698 (license license:bsd-3)))
6699
6700(define-public ghc-linear
6701 (package
6702 (name "ghc-linear")
86526f37 6703 (version "1.20.9")
dddbc90c
RV
6704 (source
6705 (origin
6706 (method url-fetch)
6707 (uri (string-append "https://hackage.haskell.org/package/linear/"
6708 "linear-" version ".tar.gz"))
6709 (sha256
6710 (base32
86526f37 6711 "0h7yqigq593n7wsl7nz6a5f137wznm7y679wsii0ph0zsc4v5af5"))))
dddbc90c
RV
6712 (build-system haskell-build-system)
6713 (inputs
6714 `(("ghc-adjunctions" ,ghc-adjunctions)
6715 ("ghc-base-orphans" ,ghc-base-orphans)
6716 ("ghc-bytes" ,ghc-bytes)
6717 ("ghc-cereal" ,ghc-cereal)
6718 ("ghc-distributive" ,ghc-distributive)
6719 ("ghc-hashable" ,ghc-hashable)
6720 ("ghc-lens" ,ghc-lens)
6721 ("ghc-reflection" ,ghc-reflection)
6722 ("ghc-semigroups" ,ghc-semigroups)
6723 ("ghc-semigroupoids" ,ghc-semigroupoids)
6724 ("ghc-tagged" ,ghc-tagged)
6725 ("ghc-transformers-compat" ,ghc-transformers-compat)
6726 ("ghc-unordered-containers" ,ghc-unordered-containers)
6727 ("ghc-vector" ,ghc-vector)
6728 ("ghc-void" ,ghc-void)))
6729 (native-inputs
6730 `(("cabal-doctest" ,cabal-doctest)
6731 ("ghc-doctest" ,ghc-doctest)
6732 ("ghc-simple-reflect" ,ghc-simple-reflect)
6733 ("ghc-test-framework" ,ghc-test-framework)
6734 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6735 ("ghc-hunit" ,ghc-hunit)))
6736 (home-page "http://github.com/ekmett/linear/")
6737 (synopsis "Linear algebra library for Haskell")
6738 (description
6739 "This package provides types and combinators for linear algebra on free
6740vector spaces.")
6741 (license license:bsd-3)))
1307e4c7
JS
6742
6743(define-public ghc-listlike
6744 (package
6745 (name "ghc-listlike")
6746 (version "4.6.2")
6747 (source
6748 (origin
6749 (method url-fetch)
6750 (uri
6751 (string-append
6752 "https://hackage.haskell.org/package/ListLike/ListLike-"
6753 version ".tar.gz"))
6754 (sha256
6755 (base32
6756 "0m65x8yaq7q50gznln8mga2wrc8cvjx6gw9rim8s7xqcrx6y5zjh"))))
6757 (build-system haskell-build-system)
6758 (inputs
6759 `(("ghc-vector" ,ghc-vector)
6760 ("ghc-dlist" ,ghc-dlist)
6761 ("ghc-fmlist" ,ghc-fmlist)
6762 ("ghc-hunit" ,ghc-hunit)
6763 ("ghc-quickcheck" ,ghc-quickcheck)
6764 ("ghc-random" ,ghc-random)
6765 ("ghc-utf8-string" ,ghc-utf8-string)))
6766 (home-page "https://github.com/JohnLato/listlike")
6767 (synopsis "Generic support for list-like structures")
6768 (description "The ListLike module provides a common interface to the
6769various Haskell types that are list-like. Predefined interfaces include
6770standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings.
6771Custom types can easily be made ListLike instances as well.
6772
6773ListLike also provides for String-like types, such as String and
6774ByteString, for types that support input and output, and for types that
6775can handle infinite lists.")
6776 (license license:bsd-3)))
dddbc90c 6777
84436be0
J
6778(define-public ghc-llvm-hs-pure
6779 (package
6780 (name "ghc-llvm-hs-pure")
6781 (version "9.0.0")
6782 (source
6783 (origin
6784 (method url-fetch)
6785 (uri (string-append "https://hackage.haskell.org/package/llvm-hs-pure/"
6786 "llvm-hs-pure-" version ".tar.gz"))
6787 (sha256
6788 (base32
6789 "0pxb5ah8r5pzpz2ibqw3g9g1isigb4z7pbzfrwr8kmcjn74ab3kf"))))
6790 (build-system haskell-build-system)
6791 (inputs
6792 `(("ghc-attoparsec" ,ghc-attoparsec)
6793 ("ghc-fail" ,ghc-fail)
6794 ("ghc-unordered-containers" ,ghc-unordered-containers)))
6795 (native-inputs
6796 `(("ghc-tasty" ,ghc-tasty)
6797 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6798 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6799 (home-page "https://github.com/llvm-hs/llvm-hs/")
6800 (synopsis "Pure Haskell LLVM functionality (no FFI)")
6801 (description "llvm-hs-pure is a set of pure Haskell types and functions
6802for interacting with LLVM. It includes an algebraic datatype (ADT) to represent
6803LLVM IR. The llvm-hs package builds on this one with FFI bindings to LLVM, but
6804llvm-hs-pure does not require LLVM to be available.")
6805 (license license:bsd-3)))
6806
e3ee8023
J
6807(define-public ghc-llvm-hs
6808 (package
6809 (name "ghc-llvm-hs")
6810 (version "9.0.1")
6811 (source
6812 (origin
6813 (method url-fetch)
6814 (uri (string-append "https://hackage.haskell.org/package/llvm-hs/llvm-hs-"
6815 version ".tar.gz"))
6816 (sha256
6817 (base32
6818 "0723xgh45h9cyxmmjsvxnsp8bpn1ljy4qgh7a7vqq3sj9d6wzq00"))))
6819 (build-system haskell-build-system)
6820 (inputs
6821 `(("ghc-attoparsec" ,ghc-attoparsec)
6822 ("ghc-exceptions" ,ghc-exceptions)
6823 ("ghc-utf8-string" ,ghc-utf8-string)
6824 ("ghc-llvm-hs-pure" ,ghc-llvm-hs-pure)
6825 ("llvm" ,llvm-9)))
6826 (native-inputs
6827 `(("ghc-tasty" ,ghc-tasty)
6828 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6829 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6830 ("ghc-quickcheck" ,ghc-quickcheck)
6831 ("ghc-temporary" ,ghc-temporary)
6832 ("ghc-pretty-show" ,ghc-pretty-show)
6833 ("ghc-temporary" ,ghc-temporary)))
6834 (home-page "https://github.com/llvm-hs/llvm-hs/")
6835 (synopsis "General purpose LLVM bindings for Haskell")
6836 (description "llvm-hs is a set of Haskell bindings for LLVM. Unlike other
6837current Haskell bindings, it uses an algebraic datatype (ADT) to represent LLVM
6838IR, and so offers two advantages: it handles almost all of the stateful
6839complexities of using the LLVM API to build IR; and it supports moving IR not
6840only from Haskell into LLVM C++ objects, but the other direction - from LLVM C++
6841into Haskell.")
6842 (license license:bsd-3)))
6843
dddbc90c
RV
6844(define-public ghc-logging-facade
6845 (package
6846 (name "ghc-logging-facade")
6847 (version "0.3.0")
6848 (source (origin
6849 (method url-fetch)
6850 (uri (string-append "https://hackage.haskell.org/package/"
6851 "logging-facade/logging-facade-"
6852 version ".tar.gz"))
6853 (sha256
6854 (base32
6855 "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf"))))
6856 (build-system haskell-build-system)
6857 (native-inputs
6858 `(("ghc-hspec" ,ghc-hspec)
6859 ("hspec-discover" ,hspec-discover)))
6860 (home-page "https://hackage.haskell.org/package/logging-facade")
6861 (synopsis "Simple logging abstraction that allows multiple back-ends")
6862 (description
6863 "This package provides a simple logging abstraction that allows multiple
6864back-ends.")
6865 (license license:expat)))
6866
6867(define-public ghc-logict
6868 (package
6869 (name "ghc-logict")
79d9326f 6870 (version "0.7.0.2")
dddbc90c
RV
6871 (source
6872 (origin
6873 (method url-fetch)
6874 (uri (string-append
6875 "https://hackage.haskell.org/package/logict/logict-"
6876 version
6877 ".tar.gz"))
6878 (sha256
6879 (base32
79d9326f 6880 "1xfgdsxg0lp8m0a2cb83rcxrnnc37asfikay2kydi933anh9ihfc"))))
dddbc90c 6881 (build-system haskell-build-system)
79d9326f
TS
6882 (native-inputs
6883 `(("ghc-tasty" ,ghc-tasty)
6884 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
dddbc90c
RV
6885 (home-page "http://code.haskell.org/~dolio/")
6886 (synopsis "Backtracking logic-programming monad")
6887 (description "This library provides a continuation-based, backtracking,
6888logic programming monad. An adaptation of the two-continuation implementation
6889found in the paper \"Backtracking, Interleaving, and Terminating Monad
6890Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
6891online}.")
6892 (license license:bsd-3)))
6893
6894(define-public ghc-lzma
6895 (package
6896 (name "ghc-lzma")
6897 (version "0.0.0.3")
6898 (source
6899 (origin
6900 (method url-fetch)
6901 (uri (string-append "https://hackage.haskell.org/package/lzma/"
6902 "lzma-" version ".tar.gz"))
6903 (sha256
6904 (base32
6905 "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg"))))
6906 (build-system haskell-build-system)
6907 (arguments
6908 '(#:tests? #f ; requires older versions of QuickCheck and tasty.
6909 #:cabal-revision
6910 ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m")))
6911 (native-inputs
6912 `(("ghc-hunit" ,ghc-hunit)
6913 ("ghc-quickcheck" ,ghc-quickcheck)
6914 ("ghc-tasty" ,ghc-tasty)
6915 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6916 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
6917 (home-page "https://github.com/hvr/lzma")
6918 (synopsis "LZMA/XZ compression and decompression")
6919 (description
6920 "This package provides a pure interface for compressing and
6921decompressing LZMA streams of data represented as lazy @code{ByteString}s. A
6922monadic incremental interface is provided as well.")
6923 (license license:bsd-3)))
6924
6925(define-public ghc-lzma-conduit
6926 (package
6927 (name "ghc-lzma-conduit")
6928 (version "1.2.1")
6929 (source
6930 (origin
6931 (method url-fetch)
6932 (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/"
6933 "lzma-conduit-" version ".tar.gz"))
6934 (sha256
6935 (base32
6936 "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9"))))
6937 (build-system haskell-build-system)
6938 (inputs
6939 `(("ghc-conduit" ,ghc-conduit)
6940 ("ghc-lzma" ,ghc-lzma)
6941 ("ghc-resourcet" ,ghc-resourcet)))
6942 (native-inputs
6943 `(("ghc-base-compat" ,ghc-base-compat)
6944 ("ghc-test-framework" ,ghc-test-framework)
6945 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6946 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6947 ("ghc-hunit" ,ghc-hunit)
6948 ("ghc-quickcheck" ,ghc-quickcheck)))
6949 (home-page "https://github.com/alphaHeavy/lzma-conduit")
6950 (synopsis "Conduit interface for lzma/xz compression")
6951 (description
6952 "This package provides a @code{Conduit} interface for the LZMA
6953compression algorithm used in the @code{.xz} file format.")
6954 (license license:bsd-3)))
6955
e405912c
KM
6956(define-public ghc-magic
6957 (package
6958 (name "ghc-magic")
6959 (version "1.1")
6960 (source
6961 (origin
6962 (method url-fetch)
6963 (uri (string-append
6964 "https://hackage.haskell.org/package/magic/magic-"
6965 version ".tar.gz"))
6966 (sha256
6967 (base32
6968 "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j"))))
6969 (build-system haskell-build-system)
3ef91e15 6970 (home-page "https://hackage.haskell.org/package/magic")
e405912c
KM
6971 (synopsis "Interface to C file/magic library")
6972 (description
6973 "This package provides a full-featured binding to the C libmagic library.
6974With it, you can determine the type of a file by examining its contents rather
6975than its name.")
6976 (license license:bsd-3)))
6977
dddbc90c
RV
6978(define-public ghc-markdown-unlit
6979 (package
6980 (name "ghc-markdown-unlit")
6981 (version "0.5.0")
6982 (source (origin
6983 (method url-fetch)
6984 (uri (string-append
6985 "mirror://hackage/package/markdown-unlit/"
6986 "markdown-unlit-" version ".tar.gz"))
6987 (sha256
6988 (base32
6989 "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7"))))
6990 (build-system haskell-build-system)
6991 (inputs
6992 `(("ghc-base-compat" ,ghc-base-compat)
6993 ("ghc-hspec" ,ghc-hspec)
6994 ("ghc-quickcheck" ,ghc-quickcheck)
6995 ("ghc-silently" ,ghc-silently)
6996 ("ghc-stringbuilder" ,ghc-stringbuilder)
6997 ("ghc-temporary" ,ghc-temporary)
6998 ("hspec-discover" ,hspec-discover)))
6999 (home-page "https://github.com/sol/markdown-unlit#readme")
7000 (synopsis "Literate Haskell support for Markdown")
7001 (description "This package allows you to have a README.md that at the
7002same time is a literate Haskell program.")
7003 (license license:expat)))
7004
7005(define-public ghc-math-functions
7006 (package
7007 (name "ghc-math-functions")
b45de2bf 7008 (version "0.3.3.0")
dddbc90c
RV
7009 (source
7010 (origin
7011 (method url-fetch)
7012 (uri (string-append "https://hackage.haskell.org/package/"
7013 "math-functions-" version "/"
7014 "math-functions-" version ".tar.gz"))
7015 (sha256
7016 (base32
b45de2bf 7017 "1s5nbs40sc3r4z08n0j8bw40cy0zkp03fjjn3p27zkd4fvm9kib3"))))
dddbc90c
RV
7018 (build-system haskell-build-system)
7019 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
7020 (inputs
b45de2bf
TS
7021 `(("ghc-data-default-class" ,ghc-data-default-class)
7022 ("ghc-vector" ,ghc-vector)
dddbc90c
RV
7023 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
7024 (native-inputs
7025 `(("ghc-hunit" ,ghc-hunit)
7026 ("ghc-quickcheck" ,ghc-quickcheck)
7027 ("ghc-erf" ,ghc-erf)
7028 ("ghc-test-framework" ,ghc-test-framework)
7029 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7030 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7031 (home-page "https://github.com/bos/math-functions")
7032 (synopsis "Special functions and Chebyshev polynomials for Haskell")
7033 (description "This Haskell library provides implementations of
7034special mathematical functions and Chebyshev polynomials. These
7035functions are often useful in statistical and numerical computing.")
7036 (license license:bsd-3)))
7037
7038(define-public ghc-megaparsec
7039 (package
7040 (name "ghc-megaparsec")
03b0c92e 7041 (version "7.0.5")
dddbc90c
RV
7042 (source
7043 (origin
7044 (method url-fetch)
7045 (uri (string-append "https://hackage.haskell.org/package/"
7046 "megaparsec/megaparsec-"
7047 version ".tar.gz"))
7048 (sha256
7049 (base32
03b0c92e 7050 "0bqx1icbmk8s7wmbcdzsgnlh607c7kzg8l80cp02dxr5valjxp7j"))))
dddbc90c 7051 (build-system haskell-build-system)
dddbc90c
RV
7052 (inputs
7053 `(("ghc-case-insensitive" ,ghc-case-insensitive)
7054 ("ghc-parser-combinators" ,ghc-parser-combinators)
7055 ("ghc-scientific" ,ghc-scientific)))
7056 (native-inputs
7057 `(("ghc-quickcheck" ,ghc-quickcheck)
7058 ("ghc-hspec" ,ghc-hspec)
7059 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
7060 ("hspec-discover" ,hspec-discover)))
7061 (home-page "https://github.com/mrkkrp/megaparsec")
7062 (synopsis "Monadic parser combinators")
7063 (description
7064 "This is an industrial-strength monadic parser combinator library.
7065Megaparsec is a feature-rich package that strikes a nice balance between
7066speed, flexibility, and quality of parse errors.")
7067 (license license:bsd-2)))
7068
7069(define-public ghc-memory
7070 (package
7071 (name "ghc-memory")
d2c7d336 7072 (version "0.14.18")
dddbc90c
RV
7073 (source (origin
7074 (method url-fetch)
7075 (uri (string-append "https://hackage.haskell.org/package/"
7076 "memory/memory-" version ".tar.gz"))
7077 (sha256
7078 (base32
d2c7d336 7079 "01rmq3vagxzjmm96qnfxk4f0516cn12bp5m8inn8h5r918bqsigm"))))
dddbc90c
RV
7080 (build-system haskell-build-system)
7081 (inputs
7082 `(("ghc-basement" ,ghc-basement)
7083 ("ghc-foundation" ,ghc-foundation)))
7084 (native-inputs
7085 `(("ghc-tasty" ,ghc-tasty)
7086 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7087 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7088 (home-page "https://github.com/vincenthz/hs-memory")
7089 (synopsis "Memory abstractions for Haskell")
7090 (description
7091 "This package provides memory abstractions, such as chunk of memory,
7092polymorphic byte array management and manipulation functions. It contains a
7093polymorphic byte array abstraction and functions similar to strict ByteString,
7094different type of byte array abstraction, raw memory IO operations (memory
7095set, memory copy, ..) and more")
7096 (license license:bsd-3)))
7097
7098(define-public ghc-memotrie
7099 (package
7100 (name "ghc-memotrie")
7101 (version "0.6.9")
7102 (source
7103 (origin
7104 (method url-fetch)
7105 (uri (string-append
7106 "https://hackage.haskell.org/package/MemoTrie/MemoTrie-"
7107 version
7108 ".tar.gz"))
7109 (sha256
7110 (base32
7111 "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x"))))
7112 (build-system haskell-build-system)
7113 (inputs
7114 `(("ghc-newtype-generics" ,ghc-newtype-generics)))
7115 (home-page "https://github.com/conal/MemoTrie")
7116 (synopsis "Trie-based memo functions")
7117 (description "This package provides a functional library for creating
7118efficient memo functions using tries.")
7119 (license license:bsd-3)))
7120
7121(define-public ghc-microlens
7122 (package
7123 (name "ghc-microlens")
82478c58 7124 (version "0.4.10")
dddbc90c
RV
7125 (source
7126 (origin
7127 (method url-fetch)
7128 (uri (string-append "https://hackage.haskell.org/package/"
7129 "microlens-" version "/"
7130 "microlens-" version ".tar.gz"))
7131 (sha256
7132 (base32
82478c58 7133 "1v277yyy4p9q57xr2lfp6qs24agglfczmcabrapxrzci3jfshmcw"))))
dddbc90c
RV
7134 (build-system haskell-build-system)
7135 (home-page
7136 "https://github.com/aelve/microlens")
7137 (synopsis "Provides a tiny lens Haskell library with no dependencies")
7138 (description "This Haskell package provides a lens library, just like
7139@code{ghc-lens}, but smaller. It provides essential lenses and
7140traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
7141nice to have (like @code{each}, @code{at}, and @code{ix}), and some
7142combinators (like @code{failing} and @code{singular}), but everything else is
7143stripped. As the result, this package has no dependencies.")
7144 (license license:bsd-3)))
7145
1cd3333e
TS
7146(define-public ghc-microlens-aeson
7147 (package
7148 (name "ghc-microlens-aeson")
7149 (version "2.3.0.4")
7150 (source
7151 (origin
7152 (method url-fetch)
7153 (uri (string-append "https://hackage.haskell.org/package/"
7154 "microlens-aeson/microlens-aeson-"
7155 version ".tar.gz"))
b4a00fec 7156 (patches (search-patches "ghc-microlens-aeson-fix-tests.patch"))
1cd3333e
TS
7157 (sha256
7158 (base32
7159 "0w630kk5bnily1qh41081gqgbwmslrh5ad21899gwnb2r3jripyw"))))
7160 (build-system haskell-build-system)
7161 (inputs
7162 `(("ghc-aeson" ,ghc-aeson)
7163 ("ghc-attoparsec" ,ghc-attoparsec)
7164 ("ghc-hashable" ,ghc-hashable)
7165 ("ghc-microlens" ,ghc-microlens)
7166 ("ghc-scientific" ,ghc-scientific)
7167 ("ghc-unordered-containers" ,ghc-unordered-containers)
7168 ("ghc-vector" ,ghc-vector)))
7169 (native-inputs
7170 `(("ghc-tasty" ,ghc-tasty)
7171 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7172 (home-page "https://github.com/fosskers/microlens-aeson")
7173 (synopsis "Law-abiding lenses for Aeson, using microlens")
7174 (description "This library provides law-abiding lenses for Aeson, using
7175microlens.")
7176 (license license:expat)))
7177
dddbc90c
RV
7178(define-public ghc-microlens-ghc
7179 (package
7180 (name "ghc-microlens-ghc")
027beb55 7181 (version "0.4.10")
dddbc90c
RV
7182 (source
7183 (origin
7184 (method url-fetch)
7185 (uri (string-append
7186 "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-"
7187 version
7188 ".tar.gz"))
7189 (sha256
7190 (base32
027beb55 7191 "102dbrdsdadxbbhvx8avv1wbk84767a7lkb8ckp3zxk9g7qlly33"))))
dddbc90c
RV
7192 (build-system haskell-build-system)
7193 (inputs `(("ghc-microlens" ,ghc-microlens)))
7194 (home-page "https://github.com/monadfix/microlens")
7195 (synopsis "Use @code{microlens} with GHC libraries like @code{array}")
7196 (description "This library provides everything that @code{microlens}
7197provides plus instances to make @code{each}, @code{at}, and @code{ix}
7198usable with arrays, @code{ByteString}, and containers. This package is
7199a part of the @uref{http://hackage.haskell.org/package/microlens,
7200microlens} family; see the readme
7201@uref{https://github.com/aelve/microlens#readme, on Github}.")
7202 (license license:bsd-3)))
7203
7204(define-public ghc-microlens-mtl
7205 (package
7206 (name "ghc-microlens-mtl")
7207 (version "0.1.11.1")
7208 (source
7209 (origin
7210 (method url-fetch)
7211 (uri (string-append
7212 "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-"
7213 version
7214 ".tar.gz"))
7215 (sha256
7216 (base32
7217 "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk"))))
7218 (build-system haskell-build-system)
7219 (inputs
7220 `(("ghc-microlens" ,ghc-microlens)
7221 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7222 (home-page "https://github.com/monadfix/microlens")
7223 (synopsis
7224 "@code{microlens} support for Reader/Writer/State from mtl")
7225 (description
7226 "This package contains functions (like @code{view} or @code{+=}) which
7227work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the
7228mtl package. This package is a part of the
7229@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7230readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7231 (license license:bsd-3)))
7232
7233(define-public ghc-microlens-platform
7234 (package
7235 (name "ghc-microlens-platform")
85decc1f 7236 (version "0.3.11")
dddbc90c
RV
7237 (source
7238 (origin
7239 (method url-fetch)
7240 (uri (string-append
7241 "https://hackage.haskell.org/package/"
7242 "microlens-platform/microlens-platform-" version ".tar.gz"))
7243 (sha256
7244 (base32
85decc1f 7245 "18950lxgmsg5ksvyyi3zs1smjmb1qf1q73a3p3g44bh21miz0xwb"))))
dddbc90c
RV
7246 (build-system haskell-build-system)
7247 (inputs
7248 `(("ghc-hashable" ,ghc-hashable)
7249 ("ghc-microlens" ,ghc-microlens)
7250 ("ghc-microlens-ghc" ,ghc-microlens-ghc)
7251 ("ghc-microlens-mtl" ,ghc-microlens-mtl)
7252 ("ghc-microlens-th" ,ghc-microlens-th)
7253 ("ghc-unordered-containers" ,ghc-unordered-containers)
7254 ("ghc-vector" ,ghc-vector)))
7255 (home-page "https://github.com/monadfix/microlens")
7256 (synopsis "Feature-complete microlens")
7257 (description
7258 "This package exports a module which is the recommended starting point
7259for using @uref{http://hackage.haskell.org/package/microlens, microlens} if
7260you aren't trying to keep your dependencies minimal. By importing
7261@code{Lens.Micro.Platform} you get all functions and instances from
7262@uref{http://hackage.haskell.org/package/microlens, microlens},
7263@uref{http://hackage.haskell.org/package/microlens-th, microlens-th},
7264@uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl},
7265@uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as
7266well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The
7267minor and major versions of @code{microlens-platform} are incremented whenever
7268the minor and major versions of any other @code{microlens} package are
7269incremented, so you can depend on the exact version of
7270@code{microlens-platform} without specifying the version of @code{microlens}
7271you need. This package is a part of the
7272@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7273readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7274 (license license:bsd-3)))
7275
7276(define-public ghc-microlens-th
7277 (package
7278 (name "ghc-microlens-th")
7ae52867 7279 (version "0.4.2.3")
dddbc90c
RV
7280 (source
7281 (origin
7282 (method url-fetch)
7283 (uri (string-append "https://hackage.haskell.org/package/"
7284 "microlens-th-" version "/"
7285 "microlens-th-" version ".tar.gz"))
7286 (sha256
7287 (base32
7ae52867 7288 "13qw0pwcgd6f6i39rwgqwcwk1d4da5x7wv3gna7gdlxaq331h41j"))))
dddbc90c 7289 (build-system haskell-build-system)
7ae52867
TS
7290 (arguments
7291 `(#:cabal-revision
7292 ("1" "167in7b1qhgrspx81bdm2jyg9qji66sk7id282c0s99kmp0d01n6")))
dddbc90c
RV
7293 (inputs `(("ghc-microlens" ,ghc-microlens)
7294 ("ghc-th-abstraction" ,ghc-th-abstraction)))
7295 (home-page
7296 "https://github.com/aelve/microlens")
7297 (synopsis "Automatic generation of record lenses for
7298@code{ghc-microlens}")
7299 (description "This Haskell package lets you automatically generate lenses
7300for data types; code was extracted from the lens package, and therefore
7301generated lenses are fully compatible with ones generated by lens (and can be
7302used both from lens and microlens).")
7303 (license license:bsd-3)))
7304
7305(define-public ghc-missingh
7306 (package
7307 (name "ghc-missingh")
641207cb 7308 (version "1.4.1.0")
dddbc90c
RV
7309 (source
7310 (origin
7311 (method url-fetch)
7312 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
7313 "MissingH-" version ".tar.gz"))
7314 (sha256
7315 (base32
641207cb 7316 "1jp0vk6w9a7fzrbxfhx773105jp2s1n50klq9ak6spfl7bgx5v29"))))
dddbc90c
RV
7317 (build-system haskell-build-system)
7318 ;; Tests require the unmaintained testpack package, which depends on the
7319 ;; outdated QuickCheck version 2.7, which can no longer be built with
7320 ;; recent versions of GHC and Haskell libraries.
7321 (arguments '(#:tests? #f))
7322 (inputs
7323 `(("ghc-network" ,ghc-network)
7324 ("ghc-hunit" ,ghc-hunit)
7325 ("ghc-regex-compat" ,ghc-regex-compat)
7326 ("ghc-hslogger" ,ghc-hslogger)
7327 ("ghc-random" ,ghc-random)
7328 ("ghc-old-time" ,ghc-old-time)
7329 ("ghc-old-locale" ,ghc-old-locale)))
7330 (native-inputs
7331 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
7332 ("ghc-quickcheck" ,ghc-quickcheck)
7333 ("ghc-hunit" ,ghc-hunit)))
7cde5203 7334 (home-page "https://software.complete.org/missingh")
dddbc90c
RV
7335 (synopsis "Large utility library")
7336 (description
7337 "MissingH is a library of all sorts of utility functions for Haskell
7338programmers. It is written in pure Haskell and thus should be extremely
7339portable and easy to use.")
7340 (license license:bsd-3)))
7341
7342(define-public ghc-mmap
7343 (package
7344 (name "ghc-mmap")
7345 (version "0.5.9")
7346 (source (origin
7347 (method url-fetch)
7348 (uri (string-append "https://hackage.haskell.org/package/"
7349 "mmap/mmap-" version ".tar.gz"))
7350 (sha256
7351 (base32
7352 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
7353 (build-system haskell-build-system)
7354 (home-page "https://hackage.haskell.org/package/mmap")
7355 (synopsis "Memory mapped files for Haskell")
7356 (description
7357 "This library provides a wrapper to @code{mmap}, allowing files or
7358devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
7359@code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
7360do on-demand loading.")
7361 (license license:bsd-3)))
7362
7363(define-public ghc-mmorph
7364 (package
7365 (name "ghc-mmorph")
e0389704 7366 (version "1.1.3")
dddbc90c
RV
7367 (source
7368 (origin
7369 (method url-fetch)
7370 (uri (string-append
7371 "https://hackage.haskell.org/package/mmorph/mmorph-"
7372 version
7373 ".tar.gz"))
7374 (sha256
7375 (base32
e0389704 7376 "0rfsy9n9mlinpmqi2s17fhc67fzma2ig5fbmh6m5m830canzf8vr"))))
dddbc90c
RV
7377 (build-system haskell-build-system)
7378 (inputs
7379 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
7380 (home-page "https://hackage.haskell.org/package/mmorph")
7381 (synopsis "Monad morphisms")
7382 (description
7383 "This library provides monad morphism utilities, most commonly used for
7384manipulating monad transformer stacks.")
7385 (license license:bsd-3)))
7386
7387(define-public ghc-mockery
7388 (package
7389 (name "ghc-mockery")
7390 (version "0.3.5")
7391 (source (origin
7392 (method url-fetch)
7393 (uri (string-append "https://hackage.haskell.org/package/"
7394 "mockery/mockery-" version ".tar.gz"))
7395 (sha256
7396 (base32
7397 "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp"))))
7398 (build-system haskell-build-system)
7399 (inputs
7400 `(("ghc-temporary" ,ghc-temporary)
7401 ("ghc-logging-facade" ,ghc-logging-facade)
7402 ("ghc-base-compat" ,ghc-base-compat)))
7403 (native-inputs
7404 `(("ghc-hspec" ,ghc-hspec)
7405 ("hspec-discover" ,hspec-discover)))
7406 (home-page "https://hackage.haskell.org/package/mockery")
7407 (synopsis "Support functions for automated testing")
7408 (description
7409 "The mockery package provides support functions for automated testing.")
7410 (license license:expat)))
7411
7412(define-public ghc-monad-control
7413 (package
7414 (name "ghc-monad-control")
7415 (version "1.0.2.3")
7416 (source
7417 (origin
7418 (method url-fetch)
7419 (uri (string-append
7420 "https://hackage.haskell.org/package/monad-control"
7421 "/monad-control-" version ".tar.gz"))
7422 (sha256
7423 (base32
7424 "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c"))))
7425 (build-system haskell-build-system)
7426 (inputs
7427 `(("ghc-transformers-base" ,ghc-transformers-base)
7428 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7429 (home-page "https://github.com/basvandijk/monad-control")
7430 (synopsis "Monad transformers to lift control operations like exception
7431catching")
7432 (description "This package defines the type class @code{MonadBaseControl},
7433a subset of @code{MonadBase} into which generic control operations such as
7434@code{catch} can be lifted from @code{IO} or any other base monad.")
7435 (license license:bsd-3)))
7436
7437(define-public ghc-monad-logger
7438 (package
7439 (name "ghc-monad-logger")
26980aae 7440 (version "0.3.30")
dddbc90c
RV
7441 (source
7442 (origin
7443 (method url-fetch)
7444 (uri (string-append "https://hackage.haskell.org/package/"
7445 "monad-logger-" version "/"
7446 "monad-logger-" version ".tar.gz"))
7447 (sha256
7448 (base32
26980aae 7449 "102l0v75hbvkmrypiyg4ybb6rbc7nij5nxs1aihmqfdpg04rkkp7"))))
dddbc90c
RV
7450 (build-system haskell-build-system)
7451 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
7452 ("ghc-stm-chans" ,ghc-stm-chans)
7453 ("ghc-lifted-base" ,ghc-lifted-base)
7454 ("ghc-resourcet" ,ghc-resourcet)
7455 ("ghc-conduit" ,ghc-conduit)
7456 ("ghc-conduit-extra" ,ghc-conduit-extra)
7457 ("ghc-fast-logger" ,ghc-fast-logger)
7458 ("ghc-transformers-base" ,ghc-transformers-base)
7459 ("ghc-monad-control" ,ghc-monad-control)
7460 ("ghc-monad-loops" ,ghc-monad-loops)
7461 ("ghc-blaze-builder" ,ghc-blaze-builder)
7462 ("ghc-exceptions" ,ghc-exceptions)))
7463 (home-page "https://github.com/kazu-yamamoto/logger")
7464 (synopsis "Provides a class of monads which can log messages for Haskell")
7465 (description "This Haskell package uses a monad transformer approach
7466for logging.
7467
7468This package provides Template Haskell functions for determining source
7469code locations of messages.")
7470 (license license:expat)))
7471
7472(define-public ghc-monad-loops
7473 (package
7474 (name "ghc-monad-loops")
7475 (version "0.4.3")
7476 (source
7477 (origin
7478 (method url-fetch)
7479 (uri (string-append "https://hackage.haskell.org/package/"
7480 "monad-loops-" version "/"
7481 "monad-loops-" version ".tar.gz"))
7482 (sha256
7483 (base32
7484 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
7485 (build-system haskell-build-system)
7486 (native-inputs `(("ghc-tasty" ,ghc-tasty)
7487 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7488 (home-page "https://github.com/mokus0/monad-loops")
7489 (synopsis "Monadic loops for Haskell")
7490 (description "This Haskell package provides some useful control
7491operators for looping.")
7492 (license license:public-domain)))
7493
7494(define-public ghc-monad-par
7495 (package
7496 (name "ghc-monad-par")
7497 (version "0.3.4.8")
7498 (source
7499 (origin
7500 (method url-fetch)
7501 (uri (string-append "https://hackage.haskell.org/package/"
7502 "monad-par-" version "/"
7503 "monad-par-" version ".tar.gz"))
faac56f3 7504 (patches (search-patches "ghc-monad-par-fix-tests.patch"))
dddbc90c
RV
7505 (sha256
7506 (base32
7507 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
7508 (build-system haskell-build-system)
7509 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
7510 ("ghc-abstract-deque" ,ghc-abstract-deque)
7511 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
7512 ("ghc-mwc-random" ,ghc-mwc-random)
7513 ("ghc-parallel" ,ghc-parallel)))
7514 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
7515 ("ghc-hunit" ,ghc-hunit)
7516 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7517 ("ghc-test-framework-quickcheck2"
7518 ,ghc-test-framework-quickcheck2)
7519 ("ghc-test-framework" ,ghc-test-framework)
7520 ("ghc-test-framework-th" ,ghc-test-framework-th)))
7521 (home-page "https://github.com/simonmar/monad-par")
7522 (synopsis "Haskell library for parallel programming based on a monad")
7523 (description "The @code{Par} monad offers an API for parallel
7524programming. The library works for parallelising both pure and @code{IO}
7525computations, although only the pure version is deterministic. The default
7526implementation provides a work-stealing scheduler and supports forking tasks
7527that are much lighter weight than IO-threads.")
7528 (license license:bsd-3)))
7529
7530(define-public ghc-monad-par-extras
7531 (package
7532 (name "ghc-monad-par-extras")
7533 (version "0.3.3")
7534 (source
7535 (origin
7536 (method url-fetch)
7537 (uri (string-append "https://hackage.haskell.org/package/"
7538 "monad-par-extras-" version "/"
7539 "monad-par-extras-" version ".tar.gz"))
7540 (sha256
7541 (base32
7542 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
7543 (build-system haskell-build-system)
7544 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
7545 ("ghc-cereal" ,ghc-cereal)
7546 ("ghc-random" ,ghc-random)))
7547 (home-page "https://github.com/simonmar/monad-par")
7548 (synopsis "Combinators and extra features for Par monads for Haskell")
7549 (description "This Haskell package provides additional data structures,
7550and other added capabilities layered on top of the @code{Par} monad.")
7551 (license license:bsd-3)))
7552
dddbc90c
RV
7553(define-public ghc-monadrandom
7554 (package
7555 (name "ghc-monadrandom")
7556 (version "0.5.1.1")
7557 (source
7558 (origin
7559 (method url-fetch)
7560 (uri (string-append "https://hackage.haskell.org/package/"
7561 "MonadRandom-" version "/"
7562 "MonadRandom-" version ".tar.gz"))
7563 (sha256
7564 (base32
7565 "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb"))))
7566 (build-system haskell-build-system)
7567 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
7568 ("ghc-primitive" ,ghc-primitive)
7569 ("ghc-fail" ,ghc-fail)
7570 ("ghc-random" ,ghc-random)))
7571 (home-page "https://github.com/byorgey/MonadRandom")
7572 (synopsis "Random-number generation monad for Haskell")
7573 (description "This Haskell package provides support for computations
7574which consume random values.")
7575 (license license:bsd-3)))
7576
7577(define-public ghc-monads-tf
7578 (package
7579 (name "ghc-monads-tf")
7580 (version "0.1.0.3")
7581 (source
7582 (origin
7583 (method url-fetch)
7584 (uri (string-append
7585 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7586 version ".tar.gz"))
7587 (sha256
7588 (base32
7589 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7590 (build-system haskell-build-system)
7591 (home-page "https://hackage.haskell.org/package/monads-tf")
7592 (synopsis "Monad classes, using type families")
7593 (description
7594 "Monad classes using type families, with instances for various monad transformers,
7595inspired by the paper 'Functional Programming with Overloading and Higher-Order
7596Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7597the @code{mtl-tf} package.")
7598 (license license:bsd-3)))
7599
7600(define-public ghc-mono-traversable
7601 (package
7602 (name "ghc-mono-traversable")
23bb445b 7603 (version "1.0.13.0")
dddbc90c
RV
7604 (source
7605 (origin
7606 (method url-fetch)
7607 (uri (string-append "https://hackage.haskell.org/package/"
7608 "mono-traversable-" version "/"
7609 "mono-traversable-" version ".tar.gz"))
7610 (sha256
7611 (base32
23bb445b 7612 "1bqy982lpdb83lacfy76n8kqw5bvd31avxj25kg8gkgycdh0g0ma"))))
dddbc90c
RV
7613 (build-system haskell-build-system)
7614 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
7615 ("ghc-hashable" ,ghc-hashable)
7616 ("ghc-vector" ,ghc-vector)
7617 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
7618 ("ghc-split" ,ghc-split)))
7619 (native-inputs `(("ghc-hspec" ,ghc-hspec)
7620 ("ghc-hunit" ,ghc-hunit)
7621 ("ghc-quickcheck" ,ghc-quickcheck)
7622 ("ghc-semigroups" ,ghc-semigroups)
7623 ("ghc-foldl" ,ghc-foldl)))
7624 (home-page "https://github.com/snoyberg/mono-traversable")
7625 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
7626containers")
7627 (description "This Haskell package provides Monomorphic variants of the
7628Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
7629basic typeclasses, you understand mono-traversable. In addition to what
7630you are used to, it adds on an IsSequence typeclass and has code for marking
7631data structures as non-empty.")
7632 (license license:expat)))
7633
471e77cf
TS
7634(define-public ghc-monoid-extras
7635 (package
7636 (name "ghc-monoid-extras")
7637 (version "0.5.1")
7638 (source
7639 (origin
7640 (method url-fetch)
7641 (uri (string-append "https://hackage.haskell.org/package/"
7642 "monoid-extras/monoid-extras-" version ".tar.gz"))
7643 (sha256
7644 (base32
7645 "0xfrkgqn9d31z54l617m3w3kkd5m9vjb4yl247r3zzql3mpb1f37"))))
7646 (build-system haskell-build-system)
7647 (inputs
7648 `(("ghc-groups" ,ghc-groups)
7649 ("ghc-semigroups" ,ghc-semigroups)
7650 ("ghc-semigroupoids" ,ghc-semigroupoids)))
7651 (arguments
7652 `(#:cabal-revision
7653 ("1" "0b8x5d6vh7mpigvjvcd8f38a1nyzn1vfdqypslw7z9fgsr742913")))
7654 (home-page "https://hackage.haskell.org/package/monoid-extras")
7655 (synopsis "Various extra monoid-related definitions and utilities")
7656 (description "This package provides various extra monoid-related
7657definitions and utilities, such as monoid actions, monoid coproducts,
7658semi-direct products, \"deletable\" monoids, \"split\" monoids, and
7659\"cut\" monoids.")
7660 (license license:bsd-3)))
7661
4759b617
JS
7662(define-public ghc-mtl-compat
7663 (package
7664 (name "ghc-mtl-compat")
7665 (version "0.2.2")
7666 (source
7667 (origin
7668 (method url-fetch)
7669 (uri (string-append
7670 "mirror://hackage/package/mtl-compat/mtl-compat-"
7671 version
7672 ".tar.gz"))
7673 (sha256
7674 (base32
7675 "17iszr5yb4f17g8mq6i74hsamii8z6m2qfsmgzs78mhiwa7kjm8r"))))
7676 (build-system haskell-build-system)
7677 (home-page
7678 "https://github.com/haskell-compat/mtl-compat")
7679 (synopsis
7680 "Backported Control.Monad.Except module from mtl")
7681 (description
7682 "This package backports the Control.Monad.Except module from mtl (if
7683using mtl-2.2.0.1 or earlier), which reexports the ExceptT monad transformer
7684and the MonadError class.
7685
7686This package should only be used if there is a need to use the
7687Control.Monad.Except module specifically. If you just want the mtl class
7688instances for ExceptT, use transformers-compat instead, since mtl-compat does
7689nothing but reexport the instances from that package.
7690
7691Note that unlike how mtl-2.2 or later works, the Control.Monad.Except
7692module defined in this package exports all of ExceptT's monad class instances.
7693Therefore, you may have to declare @code{import Control.Monad.Except ()} at
7694the top of your file to get all of the ExceptT instances in scope.")
7695 (license license:bsd-3)))
7696
dddbc90c
RV
7697(define-public ghc-murmur-hash
7698 (package
7699 (name "ghc-murmur-hash")
7700 (version "0.1.0.9")
7701 (source
7702 (origin
7703 (method url-fetch)
7704 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
7705 "/murmur-hash-" version ".tar.gz"))
7706 (sha256
7707 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
7708 (build-system haskell-build-system)
7709 (home-page "https://github.com/nominolo/murmur-hash")
7710 (synopsis "MurmurHash2 implementation for Haskell")
7711 (description
7712 "This package provides an implementation of MurmurHash2, a good, fast,
7713general-purpose, non-cryptographic hashing function. See
7714@url{https://sites.google.com/site/murmurhash/} for details. This
7715implementation is pure Haskell, so it might be a bit slower than a C FFI
7716binding.")
7717 (license license:bsd-3)))
7718
7719(define-public ghc-mwc-random
7720 (package
7721 (name "ghc-mwc-random")
33268e2c 7722 (version "0.14.0.0")
dddbc90c
RV
7723 (source
7724 (origin
7725 (method url-fetch)
7726 (uri (string-append "https://hackage.haskell.org/package/"
7727 "mwc-random-" version "/"
7728 "mwc-random-" version ".tar.gz"))
7729 (sha256
7730 (base32
33268e2c 7731 "18pg24sw3b79b32cwx8q01q4k0lm34mwr3l6cdkchl8alvd0wdq0"))))
dddbc90c
RV
7732 (build-system haskell-build-system)
7733 (inputs
7734 `(("ghc-primitive" ,ghc-primitive)
7735 ("ghc-vector" ,ghc-vector)
7736 ("ghc-math-functions" ,ghc-math-functions)))
7737 (arguments
7738 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
7739 (native-inputs
7740 `(("ghc-hunit" ,ghc-hunit)
7741 ("ghc-quickcheck" ,ghc-quickcheck)
7742 ("ghc-test-framework" ,ghc-test-framework)
7743 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7744 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7745 (home-page "https://github.com/bos/mwc-random")
7746 (synopsis "Random number generation library for Haskell")
7747 (description "This Haskell package contains code for generating
7748high quality random numbers that follow either a uniform or normal
7749distribution. The generated numbers are suitable for use in
7750statistical applications.
7751
7752The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
7753multiply-with-carry generator, which has a period of 2^{8222} and
7754fares well in tests of randomness. It is also extremely fast,
7755between 2 and 3 times faster than the Mersenne Twister.")
7756 (license license:bsd-3)))
7757
7758(define-public ghc-nats
7759 (package
7760 (name "ghc-nats")
7761 (version "1.1.2")
7762 (source
7763 (origin
7764 (method url-fetch)
7765 (uri (string-append
7766 "https://hackage.haskell.org/package/nats/nats-"
7767 version
7768 ".tar.gz"))
7769 (sha256
7770 (base32
7771 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
7772 (build-system haskell-build-system)
7773 (arguments `(#:haddock? #f))
7774 (inputs
7775 `(("ghc-hashable" ,ghc-hashable)))
7776 (home-page "https://hackage.haskell.org/package/nats")
7777 (synopsis "Natural numbers")
7778 (description "This library provides the natural numbers for Haskell.")
7779 (license license:bsd-3)))
7780
7781(define-public ghc-nats-bootstrap
7782 (package
7783 (inherit ghc-nats)
7784 (name "ghc-nats-bootstrap")
7785 (inputs
7786 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
7787 (properties '((hidden? #t)))))
7788
52915062
EF
7789(define-public ghc-ncurses
7790 (package
7791 (name "ghc-ncurses")
7792 (version "0.2.16")
7793 (source
7794 (origin
7795 (method url-fetch)
7796 (uri (string-append
7797 "https://hackage.haskell.org/package/ncurses/ncurses-"
7798 version ".tar.gz"))
7799 (sha256
7800 (base32
7801 "0gsyyaqyh5r9zc0rhwpj5spyd6i4w2vj61h4nihgmmh0yyqvf3z5"))))
7802 (build-system haskell-build-system)
7803 (arguments
7804 '(#:phases
7805 (modify-phases %standard-phases
7806 (add-before 'build 'fix-includes
7807 (lambda _
7808 (substitute* '("cbits/hsncurses-shim.h"
7809 "lib/UI/NCurses.chs"
7810 "lib/UI/NCurses/Enums.chs"
7811 "lib/UI/NCurses/Panel.chs")
7812 (("<ncursesw/") "<"))
7813 #t)))
7814 #:cabal-revision
7815 ("1"
7816 "1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca")))
7817 (inputs `(("ncurses" ,ncurses)))
7818 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
7819 (home-page "https://john-millikin.com/software/haskell-ncurses/")
7820 (synopsis "Modernised bindings to GNU ncurses")
7821 (description "GNU ncurses is a library for creating command-line application
7822with pseudo-graphical interfaces. This package is a nice, modern binding to GNU
7823ncurses.")
7824 (license license:gpl3)))
7825
dddbc90c
RV
7826(define-public ghc-network
7827 (package
7828 (name "ghc-network")
d4473202 7829 (version "2.8.0.1")
dddbc90c
RV
7830 (outputs '("out" "doc"))
7831 (source
7832 (origin
7833 (method url-fetch)
7834 (uri (string-append
7835 "https://hackage.haskell.org/package/network/network-"
7836 version
7837 ".tar.gz"))
7838 (sha256
7839 (base32
d4473202 7840 "0im8k51rw3ahmr23ny10pshwbz09jfg0fdpam0hzf2hgxnzmvxb1"))))
dddbc90c
RV
7841 (build-system haskell-build-system)
7842 ;; The regression tests depend on an unpublished module.
7843 (arguments `(#:tests? #f))
7844 (native-inputs
7845 `(("ghc-hunit" ,ghc-hunit)
7846 ("ghc-doctest" ,ghc-doctest)
7847 ("ghc-test-framework" ,ghc-test-framework)
7848 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
7849 (home-page "https://github.com/haskell/network")
7850 (synopsis "Low-level networking interface")
7851 (description
7852 "This package provides a low-level networking interface.")
7853 (license license:bsd-3)))
4780db2c 7854
30eebbe6
TS
7855(define-public ghc-network-bsd
7856 (package
7857 (name "ghc-network-bsd")
7858 (version "2.8.0.0")
7859 (source
7860 (origin
7861 (method url-fetch)
7862 (uri (string-append "https://hackage.haskell.org/package/"
7863 "network-bsd/network-bsd-" version ".tar.gz"))
7864 (sha256
7865 (base32
7866 "0dfbwgrr28y6ypw7p1ppqg7v746qf14569q4xazj4ahdjw2xkpi5"))))
7867 (build-system haskell-build-system)
7868 (inputs
7869 `(("ghc-network" ,ghc-network)))
7870 (home-page "https://github.com/haskell/network-bsd")
7871 (synopsis "POSIX network database (<netdb.h>) API")
7872 (description "This package provides Haskell bindings to the the POSIX
7873network database (<netdb.h>) API.")
7874 (license license:bsd-3)))
7875
096781a1
TS
7876(define-public ghc-network-byte-order
7877 (package
7878 (name "ghc-network-byte-order")
7879 (version "0.1.1.1")
7880 (source
7881 (origin
7882 (method url-fetch)
7883 (uri (string-append "https://hackage.haskell.org/package/"
7884 "network-byte-order/network-byte-order-"
7885 version ".tar.gz"))
7886 (sha256
7887 (base32
7888 "19cs6157amcc925vwr92q1azwwzkbam5g0k70i6qi80fhpikh37c"))))
7889 (build-system haskell-build-system)
7890 (native-inputs
7891 `(("ghc-doctest" ,ghc-doctest)))
3ef91e15 7892 (home-page "https://hackage.haskell.org/package/network-byte-order")
096781a1
TS
7893 (synopsis "Network byte order utilities")
7894 (description "This library provides peek and poke functions for network
7895byte order.")
7896 (license license:bsd-3)))
7897
dddbc90c
RV
7898(define-public ghc-network-info
7899 (package
7900 (name "ghc-network-info")
7901 (version "0.2.0.10")
7902 (source
7903 (origin
7904 (method url-fetch)
7905 (uri (string-append "https://hackage.haskell.org/package/"
7906 "network-info-" version "/"
7907 "network-info-" version ".tar.gz"))
7908 (sha256
7909 (base32
7910 "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n"))))
7911 (build-system haskell-build-system)
7912 (home-page "https://github.com/jystic/network-info")
7913 (synopsis "Access the local computer's basic network configuration")
7914 (description "This Haskell library provides simple read-only access to the
7915local computer's networking configuration. It is currently capable of
7916getting a list of all the network interfaces and their respective
7917IPv4, IPv6 and MAC addresses.")
7918 (license license:bsd-3)))
7919
7920(define-public ghc-network-uri
7921 (package
7922 (name "ghc-network-uri")
7923 (version "2.6.1.0")
7924 (outputs '("out" "doc"))
7925 (source
7926 (origin
7927 (method url-fetch)
7928 (uri (string-append
7929 "https://hackage.haskell.org/package/network-uri/network-uri-"
7930 version
7931 ".tar.gz"))
7932 (sha256
7933 (base32
7934 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
7935 (build-system haskell-build-system)
7936 (arguments
7937 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
7938 (inputs
7939 `(("ghc-network" ,ghc-network)))
7940 (native-inputs
7941 `(("ghc-hunit" ,ghc-hunit)))
7942 (home-page
7943 "https://github.com/haskell/network-uri")
7944 (synopsis "Library for URI manipulation")
7945 (description "This package provides an URI manipulation interface. In
7946@code{network-2.6} the @code{Network.URI} module was split off from the
7947@code{network} package into this package.")
7948 (license license:bsd-3)))
7949
7950(define-public ghc-newtype-generics
7951 (package
7952 (name "ghc-newtype-generics")
c07e16dd 7953 (version "0.5.4")
dddbc90c
RV
7954 (source
7955 (origin
7956 (method url-fetch)
7957 (uri (string-append "https://hackage.haskell.org/package/"
7958 "newtype-generics/newtype-generics-"
7959 version ".tar.gz"))
7960 (sha256
7961 (base32
c07e16dd 7962 "0cprfg4n0z62cnix1qrbc79bfdd4s50b05fj9m9hk6vm1pc3szq0"))))
dddbc90c
RV
7963 (build-system haskell-build-system)
7964 (native-inputs
7965 `(("ghc-hspec" ,ghc-hspec)
7966 ("hspec-discover" ,hspec-discover)))
7967 (home-page "http://github.com/sjakobi/newtype-generics")
7968 (synopsis "Typeclass and set of functions for working with newtypes")
7969 (description "The @code{Newtype} typeclass represents the packing and
7970unpacking of a newtype, and allows you to operate under that newtype with
7971functions such as @code{ala}. Generics support was added in version 0.4,
7972making this package a full replacement for the original newtype package,
7973and an alternative to newtype-th.")
7974 (license license:bsd-3)))
7975
6b652f5a
JS
7976(define-public ghc-non-negative
7977 (package
7978 (name "ghc-non-negative")
7979 (version "0.1.2")
7980 (source
7981 (origin
7982 (method url-fetch)
7983 (uri
7984 (string-append
7985 "https://hackage.haskell.org/package/non-negative/non-negative-"
7986 version ".tar.gz"))
7987 (sha256
7988 (base32
7989 "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n"))))
7990 (build-system haskell-build-system)
7991 (inputs
7992 `(("ghc-semigroups" ,ghc-semigroups)
7993 ("ghc-utility-ht" ,ghc-utility-ht)
7994 ("ghc-quickcheck" ,ghc-quickcheck)))
7995 (home-page "https://hackage.haskell.org/package/non-negative")
7996 (synopsis "Non-negative numbers class")
7997 (description "This library provides a class for non-negative numbers,
7998a wrapper which can turn any ordered numeric type into a member of that
7999class, and a lazy number type for non-negative numbers (a generalization
8000of Peano numbers).")
8001 (license license:gpl3+)))
8002
49bcca84
ASM
8003(define-public ghc-nonce
8004 (package
8005 (name "ghc-nonce")
8006 (version "1.0.7")
8007 (source
8008 (origin
8009 (method url-fetch)
8010 (uri (string-append
8011 "https://hackage.haskell.org/package/nonce/"
8012 "nonce-" version ".tar.gz"))
8013 (sha256
8014 (base32
8015 "1q9ph0aq51mvdvydnriqd12sfin36pfb8f588zgac1ybn8r64ksb"))))
8016 (build-system haskell-build-system)
8017 (inputs
8018 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
8019 ("ghc-entropy" ,ghc-entropy)
8020 ("ghc-unliftio" ,ghc-unliftio)
8021 ("ghc-unliftio-core" ,ghc-unliftio-core)))
8022 (home-page "https://github.com/prowdsponsor/nonce")
8023 (synopsis "Generate cryptographic nonces in Haskell")
8024 (description
8025 "A nonce is an arbitrary number used only once in a cryptographic
8026communication. This package contain helper functions for generating nonces.
8027There are many kinds of nonces used in different situations. It's not
8028guaranteed that by using the nonces from this package you won't have any
8029security issues. Please make sure that the nonces generated via this
8030package are usable on your design.")
8031 (license license:bsd-3)))
8032
194a82e6
TS
8033(define-public ghc-numeric-extras
8034 (package
8035 (name "ghc-numeric-extras")
8036 (version "0.1")
8037 (source
8038 (origin
8039 (method url-fetch)
8040 (uri (string-append "https://hackage.haskell.org/package/"
8041 "numeric-extras/numeric-extras-"
8042 version ".tar.gz"))
8043 (sha256
8044 (base32
8045 "1mk11c0gz1yjy5b8dvq6czfny57pln0bs7x28fz38qyr44872067"))))
8046 (build-system haskell-build-system)
8047 (home-page "https://github.com/ekmett/numeric-extras")
8048 (synopsis "Useful tools from the C standard library")
8049 (description "This library provides some useful tools from the C
8050standard library.")
8051 (license license:bsd-3)))
8052
dddbc90c
RV
8053(define-public ghc-objectname
8054 (package
8055 (name "ghc-objectname")
8056 (version "1.1.0.1")
8057 (source
8058 (origin
8059 (method url-fetch)
8060 (uri (string-append
8061 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
8062 version
8063 ".tar.gz"))
8064 (sha256
8065 (base32
8066 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
8067 (build-system haskell-build-system)
8068 (home-page "https://hackage.haskell.org/package/ObjectName")
8069 (synopsis "Helper library for Haskell OpenGL")
8070 (description "This tiny package contains the class ObjectName, which
8071corresponds to the general notion of explicitly handled identifiers for API
8072objects, e.g. a texture object name in OpenGL or a buffer object name in
8073OpenAL.")
8074 (license license:bsd-3)))
8075
8076(define-public ghc-old-locale
8077 (package
8078 (name "ghc-old-locale")
8079 (version "1.0.0.7")
8080 (source
8081 (origin
8082 (method url-fetch)
8083 (uri (string-append
8084 "https://hackage.haskell.org/package/old-locale/old-locale-"
8085 version
8086 ".tar.gz"))
8087 (sha256
8088 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
8089 (build-system haskell-build-system)
8090 (arguments
8091 `(#:cabal-revision
8092 ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs")))
8093 (home-page "https://hackage.haskell.org/package/old-locale")
8094 (synopsis "Adapt to locale conventions")
8095 (description
8096 "This package provides the ability to adapt to locale conventions such as
8097date and time formats.")
8098 (license license:bsd-3)))
8099
8100(define-public ghc-old-time
8101 (package
8102 (name "ghc-old-time")
8103 (version "1.1.0.3")
8104 (source
8105 (origin
8106 (method url-fetch)
8107 (uri (string-append
8108 "https://hackage.haskell.org/package/old-time/old-time-"
8109 version
8110 ".tar.gz"))
8111 (sha256
8112 (base32
8113 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
8114 (build-system haskell-build-system)
8115 (arguments
8116 `(#:cabal-revision
8117 ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9")))
8118 (inputs
8119 `(("ghc-old-locale" ,ghc-old-locale)))
8120 (home-page "https://hackage.haskell.org/package/old-time")
8121 (synopsis "Time compatibility library for Haskell")
8122 (description "Old-time is a package for backwards compatibility with the
8123old @code{time} library. For new projects, the newer
8124@uref{https://hackage.haskell.org/package/time, time library} is recommended.")
8125 (license license:bsd-3)))
8126
8127(define-public ghc-opengl
8128 (package
8129 (name "ghc-opengl")
79a06910 8130 (version "3.0.3.0")
dddbc90c
RV
8131 (source
8132 (origin
8133 (method url-fetch)
8134 (uri (string-append
8135 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
8136 version
8137 ".tar.gz"))
8138 (sha256
8139 (base32
79a06910 8140 "069fg8jcxqq2z9iikynd8vi3jxm2b5y3qywdh4bdviyzab3zy1as"))))
dddbc90c 8141 (build-system haskell-build-system)
79a06910
TS
8142 (arguments
8143 `(#:cabal-revision
8144 ("1" "1748mrb6r9mpf5jbrx436lwbg8w6dadyy8dhxw2dwnrj5z7zf741")))
dddbc90c
RV
8145 (inputs
8146 `(("ghc-objectname" ,ghc-objectname)
8147 ("ghc-gluraw" ,ghc-gluraw)
8148 ("ghc-statevar" ,ghc-statevar)
8149 ("ghc-openglraw" ,ghc-openglraw)))
8150 (home-page "https://www.haskell.org/haskellwiki/Opengl")
8151 (synopsis "Haskell bindings for the OpenGL graphics system")
8152 (description "This package provides Haskell bindings for the OpenGL
8153graphics system (GL, version 4.5) and its accompanying utility library (GLU,
8154version 1.3).")
8155 (license license:bsd-3)))
8156
8157(define-public ghc-openglraw
8158 (package
8159 (name "ghc-openglraw")
15ebc815 8160 (version "3.3.3.0")
dddbc90c
RV
8161 (source
8162 (origin
8163 (method url-fetch)
8164 (uri (string-append
8165 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
8166 version
8167 ".tar.gz"))
8168 (sha256
8169 (base32
15ebc815 8170 "0zgllb4bcash2i2cispa3j565aw3dpxs41ghmhpvyvi4a6xmyldx"))))
dddbc90c
RV
8171 (build-system haskell-build-system)
8172 (inputs
8173 `(("ghc-half" ,ghc-half)
8174 ("ghc-fixed" ,ghc-fixed)
8175 ("glu" ,glu)))
8176 (home-page "https://www.haskell.org/haskellwiki/Opengl")
8177 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
8178 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
8179graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
8180of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
8181offers access to all necessary functions, tokens and types plus a general
8182facility for loading extension entries. The module hierarchy closely mirrors
8183the naming structure of the OpenGL extensions, making it easy to find the
8184right module to import. All API entries are loaded dynamically, so no special
8185C header files are needed for building this package. If an API entry is not
8186found at runtime, a userError is thrown.")
8187 (license license:bsd-3)))
8188
8189(define-public ghc-operational
8190 (package
8191 (name "ghc-operational")
8192 (version "0.2.3.5")
8193 (source
8194 (origin
8195 (method url-fetch)
8196 (uri (string-append "https://hackage.haskell.org/package/operational/"
8197 "operational-" version ".tar.gz"))
8198 (sha256
8199 (base32
8200 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
8201 (build-system haskell-build-system)
8202 (inputs
8203 `(("ghc-random" ,ghc-random)))
8204 (home-page "http://wiki.haskell.org/Operational")
8205 (synopsis "Implementation of difficult monads made easy with operational semantics")
8206 (description
8207 "This library makes it easy to implement monads with tricky control
8208flow. This is useful for: writing web applications in a sequential style,
8209programming games with a uniform interface for human and AI players and easy
8210replay capababilities, implementing fast parser monads, designing monadic
8211DSLs, etc.")
8212 (license license:bsd-3)))
8213
8214(define-public ghc-options
8215 (package
8216 (name "ghc-options")
8217 (version "1.2.1.1")
8218 (source
8219 (origin
8220 (method url-fetch)
8221 (uri (string-append
8222 "https://hackage.haskell.org/package/options/options-"
8223 version ".tar.gz"))
8224 (sha256
8225 (base32
8226 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
8227 (build-system haskell-build-system)
24cf2a8b
TS
8228 (arguments
8229 `(#:phases
8230 (modify-phases %standard-phases
8231 (add-before 'configure 'update-constraints
8232 (lambda _
8233 (substitute* "options.cabal"
8234 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4 && < 0.6"))
8235 #t)))))
dddbc90c
RV
8236 (inputs
8237 `(("ghc-monads-tf" ,ghc-monads-tf)
8238 ("ghc-chell" ,ghc-chell)
8239 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
8240 (home-page "https://john-millikin.com/software/haskell-options/")
8241 (synopsis "Powerful and easy-to-use command-line option parser")
8242 (description
8243 "The @code{options} package lets library and application developers
8244easily work with command-line options.")
8245 (license license:expat)))
8246
8247;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
8248(define ghc-options-bootstrap
8249 (package
8250 (name "ghc-options-bootstrap")
8251 (version "1.2.1.1")
8252 (source
8253 (origin
8254 (method url-fetch)
8255 (uri (string-append
8256 "https://hackage.haskell.org/package/options/options-"
8257 version ".tar.gz"))
8258 (sha256
8259 (base32
8260 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
8261 (build-system haskell-build-system)
8262 (arguments
8263 `(#:tests? #f))
8264 (inputs
8265 `(("ghc-monads-tf" ,ghc-monads-tf)))
8266 (home-page "https://john-millikin.com/software/haskell-options/")
8267 (synopsis "Powerful and easy-to-use command-line option parser")
8268 (description
8269 "The @code{options} package lets library and application developers
8270easily work with command-line options.")
8271 (license license:expat)))
8272
8273
8274(define-public ghc-optparse-applicative
8275 (package
8276 (name "ghc-optparse-applicative")
74bf6965 8277 (version "0.14.3.0")
dddbc90c
RV
8278 (source
8279 (origin
8280 (method url-fetch)
8281 (uri (string-append
8282 "https://hackage.haskell.org/package/optparse-applicative"
8283 "/optparse-applicative-" version ".tar.gz"))
8284 (sha256
8285 (base32
74bf6965 8286 "0qvn1s7jwrabbpmqmh6d6iafln3v3h9ddmxj2y4m0njmzq166ivj"))))
dddbc90c 8287 (build-system haskell-build-system)
74bf6965
TS
8288 (arguments
8289 `(#:cabal-revision
8290 ("2" "1a08dqjly1xy730f6jf45frr8g8gap0n1vg9b0mpzpydv0kgzmrp")))
dddbc90c
RV
8291 (inputs
8292 `(("ghc-transformers-compat" ,ghc-transformers-compat)
8293 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
8294 (native-inputs
8295 `(("ghc-quickcheck" ,ghc-quickcheck)))
8296 (home-page "https://github.com/pcapriotti/optparse-applicative")
8297 (synopsis "Utilities and combinators for parsing command line options")
8298 (description "This package provides utilities and combinators for parsing
8299command line options in Haskell.")
8300 (license license:bsd-3)))
8301
d56c8120
NG
8302(define-public ghc-jira-wiki-markup
8303 (package
8304 (name "ghc-jira-wiki-markup")
8305 (version "1.0.0")
8306 (source
8307 (origin
8308 (method url-fetch)
8309 (uri (string-append
8310 "https://hackage.haskell.org/package/jira-wiki-markup/"
8311 "jira-wiki-markup-" version ".tar.gz"))
8312 (sha256
8313 (base32 "1sl2jjcsqg61si33mxjwpf8zdn56kbbgcwqqqzbgifx2qbv4wmf8"))))
8314 (build-system haskell-build-system)
8315 (native-inputs
8316 `(("ghc-tasty" ,ghc-tasty)
8317 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
8318 (home-page "https://github.com/tarleb/jira-wiki-markup")
8319 (synopsis "Handle Jira wiki markup")
8320 (description
8321 "Parse jira wiki text into an abstract syntax tree for easy transformation
8322to other formats.")
8323 (license license:expat)))
8324
20690771
NG
8325(define-public ghc-emojis
8326 (package
8327 (name "ghc-emojis")
8328 (version "0.1")
8329 (source
8330 (origin
8331 (method url-fetch)
8332 (uri (string-append
8333 "https://hackage.haskell.org/package/emojis/"
8334 "emojis-" version ".tar.gz"))
8335 (sha256
8336 (base32 "1c6zkj9gmk1y90gbdrn50hyp7mw1mggzhnr2khqd728ryipw60ss"))))
8337 (build-system haskell-build-system)
8338 (native-inputs
8339 `(("ghc-hunit" ,ghc-hunit)))
8340 (home-page "https://github.com/jgm/emojis#readme")
8341 (synopsis "Conversion between emoji characters and their names.")
8342 (description
8343 "This package provides functions for converting emoji names to emoji
8344characters and vice versa.
8345
8346How does it differ from the @code{emoji} package?
8347@itemize
8348@item It supports a fuller range of emojis, including all those supported by
8349GitHub
8350@item It supports lookup of emoji aliases from emoji
8351@item It uses Text rather than String
8352@item It has a lighter dependency footprint: in particular, it does not
8353require aeson
8354@item It does not require TemplateHaskell
8355@end itemize")
8356 (license license:bsd-3)))
8357
e90a06fc
NG
8358(define-public ghc-text-conversions
8359 (package
8360 (name "ghc-text-conversions")
8361 (version "0.3.0")
8362 (source
8363 (origin
8364 (method url-fetch)
8365 (uri (string-append
8366 "https://hackage.haskell.org/package/text-conversions/"
8367 "text-conversions-" version ".tar.gz"))
8368 (sha256
8369 (base32 "089c56vdj9xysqfr1hnvbnrghlg83q6w10xk02gflpsidcpvwmhp"))))
8370 (build-system haskell-build-system)
8371 (inputs
8372 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
8373 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
8374 ("ghc-errors" ,ghc-errors)))
8375 (native-inputs
8376 `(("ghc-hspec" ,ghc-hspec)
27b09f3a 8377 ("hspec-discover" ,hspec-discover)))
e90a06fc
NG
8378 (home-page "https://github.com/cjdev/text-conversions#readme")
8379 (synopsis "Safe conversions between textual types")
8380 (description "Safe conversions between textual types")
8381 (license license:isc)))
8382
ba7cbae3
NG
8383(define-public ghc-doclayout
8384 (package
8385 (name "ghc-doclayout")
8386 (version "0.3")
8387 (source
8388 (origin
8389 (method url-fetch)
8390 (uri (string-append
8391 "https://hackage.haskell.org/package/doclayout/"
8392 "doclayout-" version ".tar.gz"))
8393 (sha256
8394 (base32 "1wmnwq28jcyd6c80srivsnd5znmyl9sgmwwnlk2crwiiwqadbal7"))))
8395 (build-system haskell-build-system)
8396 (inputs
8397 `(("ghc-safe" ,ghc-safe)))
8398 (native-inputs
8399 `(("ghc-tasty" ,ghc-tasty)
8400 ("ghc-tasty-golden" ,ghc-tasty-golden)
8401 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
8402 (home-page "https://github.com/jgm/doclayout")
8403 (synopsis "Pretty-printing library for laying out text documents")
8404 (description
8405 "doclayout is a pretty-printing library for laying out text documents,
8406with several features not present in pretty-printing libraries designed for
8407code. It was designed for use in @code{Pandoc}.")
8408 (license license:bsd-3)))
8409
dddbc90c
RV
8410(define-public ghc-pandoc
8411 (package
8412 (name "ghc-pandoc")
d9b1567a 8413 (version "2.7.3")
dddbc90c
RV
8414 (source
8415 (origin
8416 (method url-fetch)
8417 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
8418 version ".tar.gz"))
d9b1567a
TS
8419 (patches (search-patches "ghc-pandoc-fix-html-tests.patch"
8420 "ghc-pandoc-fix-latex-test.patch"))
dddbc90c
RV
8421 (sha256
8422 (base32
d9b1567a 8423 "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8"))))
dddbc90c 8424 (build-system haskell-build-system)
dddbc90c
RV
8425 (inputs
8426 `(("ghc-aeson" ,ghc-aeson)
8427 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
8428 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
8429 ("ghc-blaze-html" ,ghc-blaze-html)
8430 ("ghc-blaze-markup" ,ghc-blaze-markup)
8431 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
8432 ("ghc-data-default" ,ghc-data-default)
dddbc90c
RV
8433 ("ghc-diff" ,ghc-diff)
8434 ("ghc-doctemplates" ,ghc-doctemplates)
8435 ("ghc-executable-path" ,ghc-executable-path)
8436 ("ghc-glob" ,ghc-glob)
8437 ("ghc-haddock-library" ,ghc-haddock-library)
8438 ("ghc-hslua" ,ghc-hslua)
d9b1567a 8439 ("ghc-hslua-module-system" ,ghc-hslua-module-system)
dddbc90c 8440 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
d9b1567a 8441 ("ghc-hsyaml" ,ghc-hsyaml)
dddbc90c
RV
8442 ("ghc-http" ,ghc-http)
8443 ("ghc-http-client" ,ghc-http-client)
8444 ("ghc-http-client-tls" ,ghc-http-client-tls)
8445 ("ghc-http-types" ,ghc-http-types)
d9b1567a 8446 ("ghc-ipynb" ,ghc-ipynb)
dddbc90c
RV
8447 ("ghc-juicypixels" ,ghc-juicypixels)
8448 ("ghc-network" ,ghc-network)
8449 ("ghc-network-uri" ,ghc-network-uri)
dddbc90c
RV
8450 ("ghc-pandoc-types" ,ghc-pandoc-types)
8451 ("ghc-random" ,ghc-random)
8452 ("ghc-scientific" ,ghc-scientific)
8453 ("ghc-sha" ,ghc-sha)
8454 ("ghc-skylighting" ,ghc-skylighting)
8455 ("ghc-split" ,ghc-split)
8456 ("ghc-syb" ,ghc-syb)
8457 ("ghc-tagsoup" ,ghc-tagsoup)
8458 ("ghc-temporary" ,ghc-temporary)
8459 ("ghc-texmath" ,ghc-texmath)
d9b1567a 8460 ("ghc-unicode-transforms" ,ghc-unicode-transforms)
dddbc90c
RV
8461 ("ghc-unordered-containers" ,ghc-unordered-containers)
8462 ("ghc-vector" ,ghc-vector)
8463 ("ghc-xml" ,ghc-xml)
dddbc90c
RV
8464 ("ghc-zip-archive" ,ghc-zip-archive)
8465 ("ghc-zlib" ,ghc-zlib)))
8466 (native-inputs
8467 `(("ghc-tasty" ,ghc-tasty)
8468 ("ghc-tasty-golden" ,ghc-tasty-golden)
8469 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
d9b1567a 8470 ("ghc-tasty-lua" ,ghc-tasty-lua)
dddbc90c
RV
8471 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
8472 ("ghc-quickcheck" ,ghc-quickcheck)
8473 ("ghc-hunit" ,ghc-hunit)))
8474 (home-page "https://pandoc.org")
8475 (synopsis "Conversion between markup formats")
8476 (description
8477 "Pandoc is a Haskell library for converting from one markup format to
8478another, and a command-line tool that uses this library. It can read and
8479write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
8480LaTeX, DocBook, and many more.
8481
8482Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
8483definition lists, tables, and other features. A compatibility mode is
8484provided for those who need a drop-in replacement for Markdown.pl.")
8485 (license license:gpl2+)))
8486
8487(define-public ghc-pandoc-citeproc
8488 (package
8489 (name "ghc-pandoc-citeproc")
2da02d09 8490 (version "0.16.2")
dddbc90c
RV
8491 (source
8492 (origin
8493 (method url-fetch)
8494 (uri (string-append "https://hackage.haskell.org/package/"
8495 "pandoc-citeproc/pandoc-citeproc-"
8496 version ".tar.gz"))
8497 (sha256
8498 (base32
2da02d09 8499 "15mm17awgi1b5yazwhr5nh8b59qml1qk6pz6gpyijks70fq2arsv"))))
dddbc90c
RV
8500 (build-system haskell-build-system)
8501 (arguments
8502 `(#:phases
8503 (modify-phases %standard-phases
8504 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
8505 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
8506 (add-before 'configure 'patch-tests
8507 (lambda _
8508 (substitute* "tests/test-pandoc-citeproc.hs"
8509 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
8510 "let allTests = citeprocTests"))))
8511 ;; Tests need to be run after installation.
8512 (delete 'check)
8513 (add-after 'install 'post-install-check
8514 (assoc-ref %standard-phases 'check)))))
8515 (inputs
8516 `(("ghc-pandoc-types" ,ghc-pandoc-types)
8517 ("ghc-pandoc" ,ghc-pandoc)
8518 ("ghc-tagsoup" ,ghc-tagsoup)
8519 ("ghc-aeson" ,ghc-aeson)
8520 ("ghc-vector" ,ghc-vector)
8521 ("ghc-xml-conduit" ,ghc-xml-conduit)
8522 ("ghc-unordered-containers" ,ghc-unordered-containers)
8523 ("ghc-data-default" ,ghc-data-default)
8524 ("ghc-setenv" ,ghc-setenv)
8525 ("ghc-split" ,ghc-split)
8526 ("ghc-yaml" ,ghc-yaml)
8527 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
8528 ("ghc-rfc5051" ,ghc-rfc5051)
8529 ("ghc-syb" ,ghc-syb)
8530 ("ghc-old-locale" ,ghc-old-locale)
8531 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
8532 ("ghc-attoparsec" ,ghc-attoparsec)
8533 ("ghc-temporary" ,ghc-temporary)))
8534 (home-page "https://github.com/jgm/pandoc-citeproc")
8535 (synopsis "Library for using pandoc with citeproc")
8536 (description
8537 "The @code{pandoc-citeproc} library exports functions for using the
8538citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
8539rendering bibliographic reference citations into a variety of styles using a
8540macro language called @dfn{Citation Style Language} (CSL). This package also
8541contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
8542and also has a mode for converting bibliographic databases a YAML format
8543suitable for inclusion in pandoc YAML metadata.")
8544 (license license:bsd-3)))
8545
8546(define-public ghc-pandoc-types
8547 (package
8548 (name "ghc-pandoc-types")
0eaa88c8 8549 (version "1.17.6.1")
dddbc90c
RV
8550 (source (origin
8551 (method url-fetch)
8552 (uri (string-append "https://hackage.haskell.org/package/"
8553 "pandoc-types/pandoc-types-"
8554 version ".tar.gz"))
8555 (sha256
8556 (base32
0eaa88c8 8557 "1d6ygq991ddria71l7hg9yd7lq94sjy4m71rdws1v8hq943c4d0q"))))
dddbc90c
RV
8558 (build-system haskell-build-system)
8559 (inputs
8560 `(("ghc-syb" ,ghc-syb)
8561 ("ghc-aeson" ,ghc-aeson)
8562 ("ghc-string-qq" ,ghc-string-qq)))
8563 (native-inputs
8564 `(("ghc-quickcheck" ,ghc-quickcheck)
8565 ("ghc-test-framework" ,ghc-test-framework)
8566 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8567 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
8568 ("ghc-hunit" ,ghc-hunit)))
8569 (home-page "http://johnmacfarlane.net/pandoc")
8570 (synopsis "Types for representing a structured document")
8571 (description
8572 "This module defines the @code{Pandoc} data structure, which is used by
8573pandoc to represent structured documents. It also provides functions for
8574building up, manipulating and serialising @code{Pandoc} structures.")
8575 (license license:bsd-3)))
8576
8577(define-public ghc-parallel
8578 (package
8579 (name "ghc-parallel")
8580 (version "3.2.2.0")
8581 (outputs '("out" "doc"))
8582 (source
8583 (origin
8584 (method url-fetch)
8585 (uri (string-append
8586 "https://hackage.haskell.org/package/parallel/parallel-"
8587 version
8588 ".tar.gz"))
8589 (sha256
8590 (base32
8591 "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"))))
8592 (build-system haskell-build-system)
8593 (home-page "https://hackage.haskell.org/package/parallel")
8594 (synopsis "Parallel programming library")
8595 (description
8596 "This package provides a library for parallel programming.")
8597 (license license:bsd-3)))
8598
8599(define-public ghc-parsec-numbers
8600 (package
8601 (name "ghc-parsec-numbers")
8602 (version "0.1.0")
8603 (source
8604 (origin
8605 (method url-fetch)
8606 (uri (string-append "https://hackage.haskell.org/package/"
8607 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
8608 (sha256
8609 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
8610 (build-system haskell-build-system)
8611 (home-page "https://hackage.haskell.org/package/parsec-numbers")
8612 (synopsis "Utilities for parsing numbers from strings")
8613 (description
8614 "This package provides the number parsers without the need to use a large
8615(and unportable) token parser.")
8616 (license license:bsd-3)))
8617
8618(define-public ghc-parser-combinators
8619 (package
8620 (name "ghc-parser-combinators")
2f173160 8621 (version "1.1.0")
dddbc90c
RV
8622 (source
8623 (origin
8624 (method url-fetch)
8625 (uri (string-append "https://hackage.haskell.org/package/"
8626 "parser-combinators/parser-combinators-"
8627 version ".tar.gz"))
8628 (sha256
8629 (base32
2f173160 8630 "149yhbnrrl108h1jinrsxni3rwrldhphpk9bbmbpr90q5fbl4xmc"))))
dddbc90c
RV
8631 (build-system haskell-build-system)
8632 (home-page "https://github.com/mrkkrp/parser-combinators")
8633 (synopsis "Commonly useful parser combinators")
8634 (description
8635 "This is a lightweight package providing commonly useful parser
8636combinators.")
8637 (license license:bsd-3)))
8638
8639(define-public ghc-parsers
8640 (package
8641 (name "ghc-parsers")
6818f970 8642 (version "0.12.10")
dddbc90c
RV
8643 (source
8644 (origin
8645 (method url-fetch)
8646 (uri (string-append
8647 "https://hackage.haskell.org/package/parsers/parsers-"
8648 version
8649 ".tar.gz"))
8650 (sha256
8651 (base32
6818f970 8652 "0v0smxbzk1qpdfkfqqmrzd2dngv3vxba10mkjn9nfm6a309izf8p"))))
dddbc90c
RV
8653 (build-system haskell-build-system)
8654 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
8655 ; -package attoparsec-0.13.0.1"
8656 (inputs
8657 `(("ghc-base-orphans" ,ghc-base-orphans)
8658 ("ghc-attoparsec" ,ghc-attoparsec)
8659 ("ghc-scientific" ,ghc-scientific)
8660 ("ghc-charset" ,ghc-charset)
8661 ("ghc-unordered-containers" ,ghc-unordered-containers)))
8662 (home-page "https://github.com/ekmett/parsers/")
8663 (synopsis "Parsing combinators")
8664 (description "This library provides convenient combinators for working
8665with and building parsing combinator libraries. Given a few simple instances,
8666you get access to a large number of canned definitions. Instances exist for
8667the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
8668@code{Text.Read}.")
8669 (license license:bsd-3)))
8670
8671(define-public ghc-path
8672 (package
8673 (name "ghc-path")
8674 (version "0.6.1")
8675 (source
8676 (origin
8677 (method url-fetch)
8678 (uri (string-append
8679 "https://hackage.haskell.org/package/path/path-"
8680 version
8681 ".tar.gz"))
8682 (sha256
8683 (base32
8684 "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb"))))
8685 (build-system haskell-build-system)
8686 (arguments
8687 ;; TODO: There are some Windows-related tests and modules that need to be
8688 ;; danced around.
8689 `(#:tests? #f
8690 #:cabal-revision
8691 ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463")))
8692 (inputs
8693 `(("ghc-aeson" ,ghc-aeson)
8694 ("ghc-exceptions" ,ghc-exceptions)
8695 ("ghc-hashable" ,ghc-hashable)))
8696 (native-inputs
8697 `(("ghc-hspec" ,ghc-hspec)
8698 ("ghc-quickcheck" ,ghc-quickcheck)
8699 ("ghc-genvalidity" ,ghc-genvalidity)
8700 ("ghc-genvalidity-property" ,ghc-genvalidity-property)
8701 ("ghc-hspec" ,ghc-hspec)
8702 ("ghc-validity" ,ghc-validity)))
8703 (home-page
3ef91e15 8704 "https://hackage.haskell.org/package/path")
dddbc90c
RV
8705 (synopsis "Support for well-typed paths")
8706 (description "This package introduces a type for paths upholding useful
8707invariants.")
8708 (license license:bsd-3)))
8709
8710(define-public ghc-path-io
8711 (package
8712 (name "ghc-path-io")
a06613ea 8713 (version "1.4.2")
dddbc90c
RV
8714 (source
8715 (origin
8716 (method url-fetch)
8717 (uri (string-append
8718 "https://hackage.haskell.org/package/path-io/path-io-"
8719 version
8720 ".tar.gz"))
8721 (sha256
8722 (base32
a06613ea 8723 "0jqx3mi4an4kb3kg78n1p3xrz832yrfrnvj795b0xhkv6h1z5ir3"))))
dddbc90c
RV
8724 (build-system haskell-build-system)
8725 (inputs
8726 `(("ghc-dlist" ,ghc-dlist)
8727 ("ghc-exceptions" ,ghc-exceptions)
8728 ("ghc-path" ,ghc-path)
8729 ("ghc-transformers-base" ,ghc-transformers-base)
8730 ("ghc-unix-compat" ,ghc-unix-compat)
8731 ("ghc-temporary" ,ghc-temporary)))
8732 (native-inputs
8733 `(("ghc-hspec" ,ghc-hspec)))
dddbc90c
RV
8734 (home-page
8735 "https://github.com/mrkkrp/path-io")
8736 (synopsis "Functions for manipulating well-typed paths")
8737 (description "This package provides an interface to the @code{directory}
8738package for users of @code{path}. It also implements some missing stuff like
8739recursive scanning and copying of directories, working with temporary
8740files/directories, and more.")
8741 (license license:bsd-3)))
8742
8743(define-public ghc-paths
8744 (package
8745 (name "ghc-paths")
9a8adeb1 8746 (version "0.1.0.12")
dddbc90c
RV
8747 (outputs '("out" "doc"))
8748 (source
8749 (origin
8750 (method url-fetch)
8751 (uri (string-append
8752 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
8753 version
8754 ".tar.gz"))
8755 (sha256
8756 (base32
9a8adeb1 8757 "1164w9pqnf7rjm05mmfjznz7rrn415blrkk1kjc0gjvks1vfdjvf"))))
dddbc90c
RV
8758 (build-system haskell-build-system)
8759 (home-page "https://github.com/simonmar/ghc-paths")
8760 (synopsis
8761 "Knowledge of GHC's installation directories")
8762 (description
8763 "Knowledge of GHC's installation directories.")
8764 (license license:bsd-3)))
8765
8766(define-public ghc-patience
8767 (package
8768 (name "ghc-patience")
484476f3 8769 (version "0.3")
dddbc90c
RV
8770 (source
8771 (origin
8772 (method url-fetch)
8773 (uri (string-append
8774 "https://hackage.haskell.org/package/patience/patience-"
8775 version ".tar.gz"))
8776 (sha256
8777 (base32
484476f3 8778 "1i1b37lgi31c17yrjyf8pdm4nf5lq8vw90z3rri78hf0k66d0p3i"))))
dddbc90c
RV
8779 (build-system haskell-build-system)
8780 (home-page "https://hackage.haskell.org/package/patience")
8781 (synopsis "Patience diff and longest increasing subsequence")
8782 (description
8783 "This library implements the 'patience diff' algorithm, as well as the
8784patience algorithm for the longest increasing subsequence problem.
8785Patience diff computes the difference between two lists, for example the lines
8786of two versions of a source file. It provides a good balance between
8787performance, nice output for humans, and simplicity of implementation.")
8788 (license license:bsd-3)))
8789
25a221a8
JS
8790(define-public ghc-pattern-arrows
8791 (package
8792 (name "ghc-pattern-arrows")
8793 (version "0.0.2")
8794 (source
8795 (origin
8796 (method url-fetch)
8797 (uri (string-append
8798 "mirror://hackage/package/pattern-arrows/pattern-arrows-"
8799 version
8800 ".tar.gz"))
8801 (sha256
8802 (base32
8803 "13q7bj19hd60rnjfc05wxlyck8llxy11z3mns8kxg197wxrdkhkg"))))
8804 (build-system haskell-build-system)
8805 (home-page
8806 "https://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html")
8807 (synopsis "Arrows for Pretty Printing")
8808 (description
8809 "A library for generating concise pretty printers based on precedence
8810rules.")
8811 (license license:expat)))
8812
dddbc90c
RV
8813(define-public ghc-pcre-light
8814 (package
8815 (name "ghc-pcre-light")
8816 (version "0.4.0.4")
8817 (source
8818 (origin
8819 (method url-fetch)
8820 (uri (string-append
8821 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
8822 version
8823 ".tar.gz"))
8824 (sha256
8825 (base32
8826 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
8827 (build-system haskell-build-system)
8828 (inputs
8829 `(("pcre" ,pcre)))
8830 (native-inputs
8831 `(("pkg-config" ,pkg-config)))
8832 (home-page "https://github.com/Daniel-Diaz/pcre-light")
8833 (synopsis "Haskell library for Perl 5 compatible regular expressions")
8834 (description "This package provides a small, efficient, and portable regex
8835library for Perl 5 compatible regular expressions. The PCRE library is a set
8836of functions that implement regular expression pattern matching using the same
8837syntax and semantics as Perl 5.")
8838 (license license:bsd-3)))
8839
8840(define-public ghc-persistent
8841 (package
8842 (name "ghc-persistent")
8c9697a9 8843 (version "2.10.4")
dddbc90c
RV
8844 (source
8845 (origin
8846 (method url-fetch)
8c9697a9
ASM
8847 (uri (string-append
8848 "https://hackage.haskell.org/package/persistent/"
8849 "persistent-" version ".tar.gz"))
dddbc90c
RV
8850 (sha256
8851 (base32
8c9697a9 8852 "1cxswz72sqdg2z1nbpgp1k5qr41djgk8qbf8nz7wfppsrhacyffi"))))
dddbc90c 8853 (build-system haskell-build-system)
8c9697a9
ASM
8854 (inputs
8855 `(("ghc-aeson" ,ghc-aeson)
8856 ("ghc-attoparsec" ,ghc-attoparsec)
8857 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
8858 ("ghc-blaze-html" ,ghc-blaze-html)
8859 ("ghc-conduit" ,ghc-conduit)
8860 ("ghc-fast-logger" ,ghc-fast-logger)
8861 ("ghc-http-api-data" ,ghc-http-api-data)
8862 ("ghc-monad-logger" ,ghc-monad-logger)
8863 ("ghc-path-pieces" ,ghc-path-pieces)
8864 ("ghc-resource-pool" ,ghc-resource-pool)
8865 ("ghc-resourcet" ,ghc-resourcet)
8866 ("ghc-scientific" ,ghc-scientific)
8867 ("ghc-silently" ,ghc-silently)
8868 ("ghc-unliftio-core" ,ghc-unliftio-core)
8869 ("ghc-unliftio" ,ghc-unliftio)
8870 ("ghc-unordered-containers"
8871 ,ghc-unordered-containers)
8872 ("ghc-vector" ,ghc-vector)))
dddbc90c
RV
8873 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
8874 (home-page "https://www.yesodweb.com/book/persistent")
8875 (synopsis "Type-safe, multi-backend data serialization for Haskell")
8876 (description "This Haskell package allows Haskell programs to access data
8877storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
8878way.")
8879 (license license:expat)))
8880
8881(define-public ghc-persistent-sqlite
8882 (package
8883 (name "ghc-persistent-sqlite")
78858787 8884 (version "2.10.5.2")
dddbc90c
RV
8885 (source
8886 (origin
8887 (method url-fetch)
78858787
ASM
8888 (uri (string-append
8889 "https://hackage.haskell.org/package/persistent-sqlite/"
8890 "persistent-sqlite-" version ".tar.gz"))
dddbc90c
RV
8891 (sha256
8892 (base32
78858787 8893 "0agag3cgivl6mk38pqzr0qw5lxps9p2bgdwvi5658l46hs7bixxn"))))
dddbc90c 8894 (build-system haskell-build-system)
78858787
ASM
8895 (inputs
8896 `(("ghc-persistent" ,ghc-persistent)
8897 ("ghc-aeson" ,ghc-aeson)
8898 ("ghc-conduit" ,ghc-conduit)
8899 ("ghc-microlens-th" ,ghc-microlens-th)
8900 ("ghc-monad-logger" ,ghc-monad-logger)
8901 ("ghc-resource-pool" ,ghc-resource-pool)
8902 ("ghc-resourcet" ,ghc-resourcet)
8903 ("ghc-unliftio-core" ,ghc-unliftio-core)
8904 ("ghc-unordered-containers"
8905 ,ghc-unordered-containers)))
8906 (native-inputs
8907 `(("ghc-persistent-template"
8908 ,ghc-persistent-template)
8909 ("ghc-persistent-test" ,ghc-persistent-test)
8910 ("ghc-exceptions" ,ghc-exceptions)
8911 ("ghc-fast-logger" ,ghc-fast-logger)
8912 ("ghc-hspec" ,ghc-hspec)
8913 ("ghc-hunit" ,ghc-hunit)
8914 ("ghc-quickcheck" ,ghc-quickcheck)
8915 ("ghc-system-fileio" ,ghc-system-fileio)
8916 ("ghc-system-filepath" ,ghc-system-filepath)
8917 ("ghc-temporary" ,ghc-temporary)))
dddbc90c
RV
8918 (home-page
8919 "https://www.yesodweb.com/book/persistent")
8920 (synopsis "Backend for the persistent library using sqlite3")
8921 (description "This Haskell package includes a thin sqlite3 wrapper based
8922on the direct-sqlite package, as well as the entire C library, so there are no
8923system dependencies.")
8924 (license license:expat)))
8925
8926(define-public ghc-persistent-template
8927 (package
8928 (name "ghc-persistent-template")
d5378e98 8929 (version "2.8.0")
dddbc90c
RV
8930 (source
8931 (origin
8932 (method url-fetch)
d5378e98
ASM
8933 (uri (string-append
8934 "https://hackage.haskell.org/package/persistent-template/"
8935 "persistent-template-" version ".tar.gz"))
dddbc90c
RV
8936 (sha256
8937 (base32
d5378e98 8938 "16yjrl0gh4jbs4skr7iv6a55lny59bqhd6hjmvch1cl9j5d0c0g3"))))
dddbc90c 8939 (build-system haskell-build-system)
d5378e98
ASM
8940 (inputs
8941 `(("ghc-persistent" ,ghc-persistent)
8942 ("ghc-aeson" ,ghc-aeson)
8943 ("ghc-http-api-data" ,ghc-http-api-data)
8944 ("ghc-monad-control" ,ghc-monad-control)
8945 ("ghc-monad-logger" ,ghc-monad-logger)
8946 ("ghc-path-pieces" ,ghc-path-pieces)
8947 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
8948 ("ghc-unordered-containers"
8949 ,ghc-unordered-containers)))
8950 (native-inputs
8951 `(("ghc-hspec" ,ghc-hspec)
8952 ("ghc-quickcheck" ,ghc-quickcheck)))
dddbc90c
RV
8953 (home-page "https://www.yesodweb.com/book/persistent")
8954 (synopsis "Type-safe, non-relational, multi-backend persistence")
8955 (description "This Haskell package provides interfaces and helper
8956functions for the ghc-persistent package.")
8957 (license license:expat)))
8958
ce32f7c7
ASM
8959(define-public ghc-persistent-test
8960 (package
8961 (name "ghc-persistent-test")
8962 (version "2.0.3.1")
8963 (source
8964 (origin
8965 (method url-fetch)
8966 (uri (string-append
8967 "https://hackage.haskell.org/package/persistent-test/"
8968 "persistent-test-" version ".tar.gz"))
8969 (sha256
8970 (base32
8971 "11aq5cy0n43jamf6mg4sr4300bc2zdbjxsczzxwjkb4hzs0ijsdv"))))
8972 (build-system haskell-build-system)
8973 (inputs
8974 `(("ghc-aeson" ,ghc-aeson)
8975 ("ghc-blaze-html" ,ghc-blaze-html)
8976 ("ghc-conduit" ,ghc-conduit)
8977 ("ghc-monad-control" ,ghc-monad-control)
8978 ("ghc-monad-logger" ,ghc-monad-logger)
8979 ("ghc-path-pieces" ,ghc-path-pieces)
8980 ("ghc-persistent" ,ghc-persistent)
8981 ("ghc-persistent-template" ,ghc-persistent-template)
8982 ("ghc-random" ,ghc-random)
8983 ("ghc-resourcet" ,ghc-resourcet)
8984 ("ghc-transformers-base" ,ghc-transformers-base)
8985 ("ghc-unliftio" ,ghc-unliftio)
8986 ("ghc-unliftio-core" ,ghc-unliftio-core)
8987 ("ghc-unordered-containers" ,ghc-unordered-containers)))
8988 (native-inputs
8989 `(("ghc-quickcheck" ,ghc-quickcheck)
8990 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
8991 ("ghc-hspec" ,ghc-hspec)
8992 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
8993 ("ghc-hunit" ,ghc-hunit)))
8994 (home-page "https://www.yesodweb.com/book/persistent")
8995 (synopsis "Tests for the Persistent database library")
8996 (description
8997 "This is only for use in developing libraries that should conform to
8998the persistent interface, not for users of the persistent suite of database
8999libraries.")
9000 (license license:expat)))
9001
4639fa32
ASM
9002(define-public ghc-pipes
9003 (package
9004 (name "ghc-pipes")
9005 (version "4.3.13")
9006 (source
9007 (origin
9008 (method url-fetch)
9009 (uri (string-append
9010 "https://hackage.haskell.org/package/pipes/"
9011 "pipes-" version ".tar.gz"))
9012 (sha256
9013 (base32
9014 "1ch3xr5f5if0psd3lsyrpkwrgh36synnzqcpimghprys68l4zfkn"))))
9015 (build-system haskell-build-system)
9016 (inputs
9017 `(("ghc-exceptions" ,ghc-exceptions)
9018 ("ghc-mmorph" ,ghc-mmorph)
9019 ("ghc-void" ,ghc-void)
9020 ("ghc-semigroups" ,ghc-semigroups)))
9021 (native-inputs
9022 `(("ghc-quickcheck" ,ghc-quickcheck)
9023 ("ghc-test-framework" ,ghc-test-framework)
9024 ("ghc-test-framework-quickcheck2"
9025 ,ghc-test-framework-quickcheck2)))
9026 (home-page
9027 "https://hackage.haskell.org/package/pipes")
9028 (synopsis "Compositional pipelines")
9029 (description
9030 "A clean and powerful stream processing library that lets you build
9031and connect reusable streaming components. Advantages over traditional streaming
9032libraries:
9033@itemize
9034@item Concise API: Use simple commands like @code{for}, (@code{>->}), @code{await},
9035and @code{yield}
9036@item Blazing fast: Implementation tuned for speed, including shortcut fusion
9037@item Lightweight Dependency: pipes is small and compiles very rapidly, including
9038dependencies
9039@item Elegant semantics: Use practical category theory
9040@item ListT: Correct implementation of @code{ListT} that interconverts with pipes
9041@item Bidirectionality: Implement duplex channels
9042@end itemize")
9043 (license license:bsd-3)))
9044
451775a5
ASM
9045(define-public ghc-pointedlist
9046 (package
9047 (name "ghc-pointedlist")
9048 (version "0.6.1")
9049 (source
9050 (origin
9051 (method url-fetch)
9052 (uri (string-append
9053 "https://hackage.haskell.org/package/pointedlist/"
9054 "pointedlist-" version ".tar.gz"))
9055 (sha256
9056 (base32
9057 "16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l"))))
9058 (build-system haskell-build-system)
9059 (home-page
3ef91e15 9060 "https://hackage.haskell.org/package/pointedlist")
451775a5
ASM
9061 (synopsis
9062 "Zipper-like comonad which works as a list, tracking a position")
9063 (description
9064 "A PointedList tracks the position in a non-empty list which works
9065similarly to a zipper. A current item is always required, and therefore
9066the list may never be empty. A circular PointedList wraps around to the
9067other end when progressing past the actual edge.")
9068 (license license:bsd-3)))
9069
dddbc90c
RV
9070(define-public ghc-polyparse
9071 (package
9072 (name "ghc-polyparse")
9822b9ca 9073 (version "1.12.1")
dddbc90c
RV
9074 (source
9075 (origin
9076 (method url-fetch)
9077 (uri (string-append
9078 "https://hackage.haskell.org/package/polyparse/polyparse-"
9079 version
9080 ".tar.gz"))
9081 (sha256
9082 (base32
9822b9ca 9083 "19fs18g7fvfdkm9zy28cgighjcxfa6mcpqgyp6whmsjkb3h393fx"))))
dddbc90c
RV
9084 (build-system haskell-build-system)
9085 (home-page
9086 "http://code.haskell.org/~malcolm/polyparse/")
9087 (synopsis
9088 "Alternative parser combinator libraries")
9089 (description
9090 "This package provides a variety of alternative parser combinator
9091libraries, including the original HuttonMeijer set. The Poly sets have
9092features like good error reporting, arbitrary token type, running state, lazy
9093parsing, and so on. Finally, Text.Parse is a proposed replacement for the
9094standard Read class, for better deserialisation of Haskell values from
9095Strings.")
9096 (license license:lgpl2.1)))
9097
9098(define-public ghc-pqueue
9099 (package
9100 (name "ghc-pqueue")
142415b0 9101 (version "1.4.1.2")
dddbc90c
RV
9102 (source
9103 (origin
9104 (method url-fetch)
9105 (uri (string-append "https://hackage.haskell.org/package/"
9106 "pqueue/pqueue-" version ".tar.gz"))
9107 (sha256
9108 (base32
142415b0 9109 "1v4zhv2sc1zsw91hvnarkjhayx2dnf7ccxz6rrhsqpcs0szaranj"))))
dddbc90c
RV
9110 (build-system haskell-build-system)
9111 (native-inputs
9112 `(("ghc-quickcheck" ,ghc-quickcheck)))
9113 (home-page "https://hackage.haskell.org/package/pqueue")
9114 (synopsis "Reliable, persistent, fast priority queues")
9115 (description
9116 "This package provides a fast, reliable priority queue implementation
9117based on a binomial heap.")
9118 (license license:bsd-3)))
9119
9120(define-public ghc-prelude-extras
9121 (package
9122 (name "ghc-prelude-extras")
9123 (version "0.4.0.3")
9124 (source
9125 (origin
9126 (method url-fetch)
9127 (uri (string-append
9128 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
9129 version
9130 ".tar.gz"))
9131 (sha256
9132 (base32
9133 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
9134 (build-system haskell-build-system)
9135 (home-page "https://github.com/ekmett/prelude-extras")
9136 (synopsis "Higher order versions of Prelude classes")
9137 (description "This library provides higher order versions of
9138@code{Prelude} classes to ease programming with polymorphic recursion and
9139reduce @code{UndecidableInstances}.")
9140 (license license:bsd-3)))
9141
9142(define-public ghc-prettyclass
9143 (package
9144 (name "ghc-prettyclass")
9145 (version "1.0.0.0")
9146 (source
9147 (origin
9148 (method url-fetch)
9149 (uri (string-append "https://hackage.haskell.org/package/"
9150 "prettyclass/prettyclass-" version ".tar.gz"))
9151 (sha256
9152 (base32
9153 "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5"))))
9154 (build-system haskell-build-system)
3ef91e15 9155 (home-page "https://hackage.haskell.org/package/prettyclass")
dddbc90c
RV
9156 (synopsis "Pretty printing class similar to Show")
9157 (description "This package provides a pretty printing class similar
9158to @code{Show}, based on the HughesPJ pretty printing library. It
9159provides the pretty printing class and instances for the Prelude
9160types.")
9161 (license license:bsd-3)))
9162
9163(define-public ghc-pretty-hex
9164 (package
9165 (name "ghc-pretty-hex")
9166 (version "1.0")
9167 (source
9168 (origin
9169 (method url-fetch)
9170 (uri (string-append "https://hackage.haskell.org/package/"
9171 "pretty-hex-" version "/"
9172 "pretty-hex-" version ".tar.gz"))
9173 (sha256
9174 (base32
9175 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
9176 (build-system haskell-build-system)
9177 (home-page "https://github.com/GaloisInc/hexdump")
9178 (synopsis "Haskell library for hex dumps of ByteStrings")
9179 (description "This Haskell library generates pretty hex dumps of
9180ByteStrings in the style of other common *nix hex dump tools.")
9181 (license license:bsd-3)))
9182
9183(define-public ghc-pretty-show
9184 (package
9185 (name "ghc-pretty-show")
7683a084 9186 (version "1.9.5")
dddbc90c
RV
9187 (source
9188 (origin
9189 (method url-fetch)
9190 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
9191 "pretty-show-" version ".tar.gz"))
9192 (sha256
9193 (base32
7683a084 9194 "0gs2pabi4qa4b0r5vffpf9b1cf5n9y2939a3lljjw7cmg6xvx5dh"))))
dddbc90c
RV
9195 (build-system haskell-build-system)
9196 (inputs
9197 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
9198 ("ghc-happy" ,ghc-happy)))
9199 (home-page "http://wiki.github.com/yav/pretty-show")
9200 (synopsis "Tools for working with derived `Show` instances")
9201 (description
9202 "This package provides a library and an executable for working with
9203derived @code{Show} instances. By using the library, derived @code{Show}
9204instances can be parsed into a generic data structure. The @code{ppsh} tool
9205uses the library to produce human-readable versions of @code{Show} instances,
9206which can be quite handy for debugging Haskell programs. We can also render
9207complex generic values into an interactive Html page, for easier
9208examination.")
9209 (license license:expat)))
9210
9211(define-public ghc-primitive
9212 (package
9213 (name "ghc-primitive")
9214 (version "0.6.4.0")
9215 (outputs '("out" "doc"))
9216 (source
9217 (origin
9218 (method url-fetch)
9219 (uri (string-append
9220 "https://hackage.haskell.org/package/primitive/primitive-"
9221 version
9222 ".tar.gz"))
9223 (sha256
9224 (base32
9225 "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc"))))
9226 (build-system haskell-build-system)
6cf0daa4
TS
9227 (arguments
9228 `(#:cabal-revision
9229 ("1" "18a14k1yiam1m4l29rin9a0y53yp3nxvkz358nysld8aqwy2qsjv")))
dddbc90c
RV
9230 (home-page
9231 "https://github.com/haskell/primitive")
9232 (synopsis "Primitive memory-related operations")
9233 (description
9234 "This package provides various primitive memory-related operations.")
9235 (license license:bsd-3)))
9236
21f5b9a9
JS
9237(define-public ghc-process-extras
9238 (package
9239 (name "ghc-process-extras")
9240 (version "0.7.4")
9241 (source
9242 (origin
9243 (method url-fetch)
9244 (uri
9245 (string-append
9246 "https://hackage.haskell.org/package/process-extras/"
9247 "process-extras-" version ".tar.gz"))
9248 (sha256
9249 (base32
9250 "0klqgr37f1z2z6i0a9b0giapmq0p35l5k9kz1p7f0k1597w7agi9"))))
9251 (build-system haskell-build-system)
9252 (inputs
9253 `(("ghc-data-default" ,ghc-data-default)
9254 ("ghc-generic-deriving" ,ghc-generic-deriving)
9255 ("ghc-hunit" ,ghc-hunit)
9256 ("ghc-listlike" ,ghc-listlike)))
9257 (home-page "https://github.com/seereason/process-extras")
9258 (synopsis "Extra tools for managing processes")
f74b6983 9259 (description "This package extends
21f5b9a9
JS
9260@url{http://hackage.haskell.org/package/process}. It allows you to read
9261process input and output as ByteStrings or Text, or write your own
9262ProcessOutput instance. It also provides lazy process input and output,
9263and a ProcessMaker class for more flexibility in the process creation
9264API.")
9265 (license license:expat)))
9266
dddbc90c
RV
9267(define-public ghc-profunctors
9268 (package
9269 (name "ghc-profunctors")
899b5297 9270 (version "5.3")
dddbc90c
RV
9271 (source
9272 (origin
9273 (method url-fetch)
9274 (uri (string-append
9275 "https://hackage.haskell.org/package/profunctors/profunctors-"
9276 version
9277 ".tar.gz"))
9278 (sha256
9279 (base32
899b5297 9280 "1dx3nkc27yxsrbrhh3iwhq7dl1xn6bj7n62yx6nh8vmpbg62lqvl"))))
dddbc90c 9281 (build-system haskell-build-system)
dddbc90c
RV
9282 (inputs
9283 `(("ghc-base-orphans" ,ghc-base-orphans)
9284 ("ghc-bifunctors" ,ghc-bifunctors)
9285 ("ghc-comonad" ,ghc-comonad)
9286 ("ghc-contravariant" ,ghc-contravariant)
9287 ("ghc-distributive" ,ghc-distributive)
9288 ("ghc-semigroups" ,ghc-semigroups)
9289 ("ghc-tagged" ,ghc-tagged)))
9290 (home-page "https://github.com/ekmett/profunctors/")
9291 (synopsis "Profunctors for Haskell")
9292 (description "This library provides profunctors for Haskell.")
9293 (license license:bsd-3)))
9294
fbe32d46
ASM
9295(define-public ghc-project-template
9296 (package
9297 (name "ghc-project-template")
9298 (version "0.2.0.1")
9299 (source
9300 (origin
9301 (method url-fetch)
9302 (uri (string-append
9303 "https://hackage.haskell.org/package/project-template/project-template-"
9304 version ".tar.gz"))
9305 (sha256
9306 (base32
9307 "1p69ww4rhah2qxragl615wl4a6mk4x9w09am8knmz3s4lxpljlpb"))))
9308 (build-system haskell-build-system)
9309 (inputs
9310 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
9311 ("ghc-conduit" ,ghc-conduit)
9312 ("ghc-conduit-extra" ,ghc-conduit-extra)
9313 ("ghc-resourcet" ,ghc-resourcet)))
9314 (native-inputs
9315 `(("ghc-hspec" ,ghc-hspec)
9316 ("hspec-discover" ,hspec-discover)
9317 ("ghc-quickcheck" ,ghc-quickcheck)))
9318 (arguments
9319 `(#:cabal-revision
9320 ("1"
9321 "0lq3sqnq0nr0gbvgzp0lqdl3j3mqdmdlf8xsw0j3pjh581xj3k0a")))
9322 (home-page "https://github.com/fpco/haskell-ide")
9323 (synopsis "Specify Haskell project templates and generate files")
9324 (description
9325 "Haskell library for both generating and consuming project templates.
9326
9327ost IDEs provide the concept of a project template: instead of writing all
9328of the code for a project from scratch, you select a template, answer a few
9329questions, and a bunch of files are automatically generated.
9330
9331project-template tries to provide a canonical Haskell library for implementing
9332the ideal templating system.")
9333 (license license:bsd-3)))
9334
8a6e745d
JS
9335(define-public ghc-protolude
9336 (package
9337 (name "ghc-protolude")
9338 (version "0.2.3")
9339 (source
9340 (origin
9341 (method url-fetch)
9342 (uri (string-append
9343 "mirror://hackage/package/protolude/protolude-"
9344 version
9345 ".tar.gz"))
9346 (sha256
9347 (base32
9348 "0zzkyxz0vmcbncpid7gp72fpjj0fla3gqhlfkij5c5lg12skjgfj"))))
9349 (build-system haskell-build-system)
9350 (inputs
9351 `(("ghc-async" ,ghc-async)
9352 ("ghc-hashable" ,ghc-hashable)
9353 ("ghc-mtl-compat" ,ghc-mtl-compat)
9354 ("ghc-transformers-compat" ,ghc-transformers-compat)))
9355 (home-page "https://github.com/protolude/protolude")
9356 (synopsis "Sensible set of defaults for writing custom Preludes")
9357 (description
9358 "Protolude gives you sensible defaults for writing custom Preludes to
9359replace the standard one provided by GHC.")
9360 (license license:expat)))
9361
dddbc90c
RV
9362(define-public ghc-psqueues
9363 (package
9364 (name "ghc-psqueues")
5d133942 9365 (version "0.2.7.2")
dddbc90c
RV
9366 (source
9367 (origin
9368 (method url-fetch)
9369 (uri (string-append "https://hackage.haskell.org/package/"
9370 "psqueues-" version "/"
9371 "psqueues-" version ".tar.gz"))
9372 (sha256
9373 (base32
5d133942 9374 "1yckx2csqswghiy9nfj03cybmza8104nmnpbpcc9ngwlbmakn9i6"))))
dddbc90c
RV
9375 (build-system haskell-build-system)
9376 (inputs
9377 `(("ghc-hashable" ,ghc-hashable)))
9378 (native-inputs
9379 `(("ghc-hunit" ,ghc-hunit)
9380 ("ghc-quickcheck" ,ghc-quickcheck)
9381 ("ghc-tagged" ,ghc-tagged)
5d133942
TS
9382 ("ghc-tasty" ,ghc-tasty)
9383 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9384 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
dddbc90c
RV
9385 (home-page "https://github.com/jaspervdj/psqueues")
9386 (synopsis "Pure priority search queues")
9387 (description "The psqueues package provides
9388@uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
9389three different flavors:
9390
9391@itemize
9392@item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
9393fast insertion, deletion and lookup. This implementation is based on Ralf
9394Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
9395Implementation Technique for Priority Search Queues}.
9396
9397Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
9398PSQueue} library, although it is considerably faster and provides a slightly
9399different API.
9400
9401@item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
9402key type to @code{Int} and uses a
9403@code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
9404with an additional min-heap property.
9405
9406@item @code{HashPSQ k p v} is a fairly straightforward extension
9407of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
9408@code{IntPSQ}. If there are any hash collisions, it uses an
9409@code{OrdPSQ} to resolve those. The performance of this implementation
9410is comparable to that of @code{IntPSQ}, but it is more widely
9411applicable since the keys are not restricted to @code{Int},
9412but rather to any @code{Hashable} datatype.
9413@end itemize
9414
9415Each of the three implementations provides the same API, so they can
9416be used interchangeably.
9417
9418Typical applications of Priority Search Queues include:
9419
9420@itemize
9421@item Caches, and more specifically LRU Caches;
9422@item Schedulers;
9423@item Pathfinding algorithms, such as Dijkstra's and A*.
9424@end itemize")
9425 (license license:bsd-3)))
b1dbc9f5
ASM
9426
9427(define-public ghc-pwstore-fast
9428 (package
9429 (name "ghc-pwstore-fast")
9430 (version "2.4.4")
9431 (source
9432 (origin
9433 (method url-fetch)
9434 (uri (string-append
9435 "https://hackage.haskell.org/package/pwstore-fast/"
9436 "pwstore-fast-" version ".tar.gz"))
9437 (sha256
9438 (base32
9439 "1cpvlwzg3qznhygrr78f75p65mnljd9v5cvnagfxjqppnrkay6bj"))))
9440 (build-system haskell-build-system)
9441 (inputs
9442 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
9443 ("ghc-cryptohash" ,ghc-cryptohash)
9444 ("ghc-random" ,ghc-random)
9445 ("ghc-byteable" ,ghc-byteable)))
9446 (home-page "https://github.com/PeterScott/pwstore")
9447 (synopsis "Secure password storage")
9448 (description
9449 "To store passwords securely, they should be salted, then hashed with
9450a slow hash function. This library uses PBKDF1-SHA256, and handles all the
9451details. It uses the cryptohash package for speed; if you need a pure
9452Haskell library, pwstore-purehaskell has the exact same API, but uses only
9453pure Haskell. It is about 25 times slower than this package, but still quite
9454usable.")
9455 (license license:bsd-3)))
dddbc90c
RV
9456
9457(define-public ghc-random
9458 (package
9459 (name "ghc-random")
9460 (version "1.1")
9461 (outputs '("out" "doc"))
9462 (source
9463 (origin
9464 (method url-fetch)
9465 (uri (string-append
9466 "https://hackage.haskell.org/package/random/random-"
9467 version
9468 ".tar.gz"))
9469 (sha256
9470 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
9471 (build-system haskell-build-system)
9472 (home-page "https://hackage.haskell.org/package/random")
9473 (synopsis "Random number library")
9474 (description "This package provides a basic random number generation
9475library, including the ability to split random number generators.")
9476 (license license:bsd-3)))
9477
9478(define-public ghc-raw-strings-qq
9479 (package
9480 (name "ghc-raw-strings-qq")
9481 (version "1.1")
9482 (source
9483 (origin
9484 (method url-fetch)
9485 (uri (string-append "https://hackage.haskell.org/package/"
9486 "raw-strings-qq/raw-strings-qq-"
9487 version ".tar.gz"))
9488 (sha256
9489 (base32
9490 "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f"))))
9491 (build-system haskell-build-system)
9492 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
9493 (home-page "https://github.com/23Skidoo/raw-strings-qq")
9494 (synopsis "Raw string literals for Haskell")
9495 (description
9496 "This package provides a quasiquoter for raw string literals, i.e. string
9497literals that don't recognise the standard escape sequences. Basically, they
9498make your code more readable by freeing you from the responsibility to escape
9499backslashes. They are useful when working with regular expressions,
9500DOS/Windows paths and markup languages (such as XML).")
9501 (license license:bsd-3)))
9502
9503(define-public ghc-readable
9504 (package
9505 (name "ghc-readable")
9506 (version "0.3.1")
9507 (source
9508 (origin
9509 (method url-fetch)
9510 (uri (string-append "https://hackage.haskell.org/package/"
9511 "readable/readable-" version ".tar.gz"))
9512 (sha256
9513 (base32
9514 "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h"))))
9515 (build-system haskell-build-system)
9516 (home-page "https://github.com/mightybyte/readable")
9517 (synopsis "Type class for reading from Text and ByteString")
9518 (description "This package provides a @code{Readable} type class for
9519reading data types from @code{ByteString} and @code{Text}. It also
9520includes efficient implementations for common data types.")
9521 (license license:bsd-3)))
9522
9523(define-public ghc-rebase
9524 (package
9525 (name "ghc-rebase")
8d2ae3fe 9526 (version "1.3.1.1")
dddbc90c
RV
9527 (source
9528 (origin
9529 (method url-fetch)
9530 (uri (string-append "https://hackage.haskell.org/package/"
9531 "rebase-" version "/"
9532 "rebase-" version ".tar.gz"))
9533 (sha256
9534 (base32
8d2ae3fe 9535 "0q4m2fa7wkgxs0grir8rlqwibasmi3s1x7c107ynndwfm62nzv0a"))))
dddbc90c
RV
9536 (build-system haskell-build-system)
9537 (inputs `(("ghc-hashable" ,ghc-hashable)
9538 ("ghc-vector" ,ghc-vector)
9539 ("ghc-unordered-containers" ,ghc-unordered-containers)
9540 ("ghc-scientific" ,ghc-scientific)
9541 ("ghc-uuid" ,ghc-uuid)
9542 ("ghc-dlist" ,ghc-dlist)
9543 ("ghc-void" ,ghc-void)
9544 ("ghc-bifunctors" ,ghc-bifunctors)
9545 ("ghc-profunctors" ,ghc-profunctors)
9546 ("ghc-contravariant" ,ghc-contravariant)
9547 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
9548 ("ghc-semigroups" ,ghc-semigroups)
9549 ("ghc-either" ,ghc-either)
9550 ("ghc-fail" ,ghc-fail)
9551 ("ghc-base-prelude" ,ghc-base-prelude)))
9552 (home-page "https://github.com/nikita-volkov/rebase")
9553 (synopsis "Progressive alternative to the base package
9554for Haskell")
9555 (description "This Haskell package is intended for those who are
9556tired of keeping long lists of dependencies to the same essential libraries
9557in each package as well as the endless imports of the same APIs all over again.
9558
9559It also supports the modern tendencies in the language.
9560
9561To solve those problems this package does the following:
9562
9563@itemize
9564@item Reexport the original APIs under the @code{Rebase} namespace.
9565
9566@item Export all the possible non-conflicting symbols from the
9567@code{Rebase.Prelude} module.
9568
9569@item Give priority to the modern practices in the conflicting cases.
9570@end itemize
9571
9572The policy behind the package is only to reexport the non-ambiguous and
9573non-controversial APIs, which the community has obviously settled on.
9574The package is intended to rapidly evolve with the contribution from
9575the community, with the missing features being added with pull-requests.")
9576 (license license:expat)))
9577
9578(define-public ghc-reducers
9579 (package
9580 (name "ghc-reducers")
9581 (version "3.12.3")
9582 (source
9583 (origin
9584 (method url-fetch)
9585 (uri (string-append
9586 "https://hackage.haskell.org/package/reducers/reducers-"
9587 version
9588 ".tar.gz"))
9589 (sha256
9590 (base32
9591 "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki"))))
9592 (build-system haskell-build-system)
9593 (inputs
9594 `(("ghc-fingertree" ,ghc-fingertree)
9595 ("ghc-hashable" ,ghc-hashable)
9596 ("ghc-unordered-containers" ,ghc-unordered-containers)
9597 ("ghc-semigroupoids" ,ghc-semigroupoids)
9598 ("ghc-semigroups" ,ghc-semigroups)))
9599 (home-page "https://github.com/ekmett/reducers/")
9600 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
9601 (description "This library provides various semigroups, specialized
9602containers and a general map/reduce framework for Haskell.")
9603 (license license:bsd-3)))
9604
9605(define-public ghc-refact
9606 (package
9607 (name "ghc-refact")
9608 (version "0.3.0.2")
9609 (source
9610 (origin
9611 (method url-fetch)
9612 (uri (string-append "https://hackage.haskell.org/package/"
9613 "refact/refact-"
9614 version ".tar.gz"))
9615 (sha256
9616 (base32
9617 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
9618 (build-system haskell-build-system)
3ef91e15 9619 (home-page "https://hackage.haskell.org/package/refact")
dddbc90c
RV
9620 (synopsis "Specify refactorings to perform with apply-refact")
9621 (description
9622 "This library provides a datatype which can be interpreted by
9623@code{apply-refact}. It exists as a separate library so that applications can
9624specify refactorings without depending on GHC.")
9625 (license license:bsd-3)))
9626
9627(define-public ghc-reflection
9628 (package
9629 (name "ghc-reflection")
d215f1cc 9630 (version "2.1.5")
dddbc90c
RV
9631 (source
9632 (origin
9633 (method url-fetch)
9634 (uri (string-append
9635 "https://hackage.haskell.org/package/reflection/reflection-"
9636 version
9637 ".tar.gz"))
9638 (sha256
9639 (base32
d215f1cc 9640 "0xr947nj1vww5b8fwqmypxm3y3j5sxl4z8wnf834f83jzfzyjbi7"))))
dddbc90c
RV
9641 (build-system haskell-build-system)
9642 (inputs `(("ghc-tagged" ,ghc-tagged)))
d215f1cc
TS
9643 (native-inputs
9644 `(("ghc-hspec" ,ghc-hspec)
9645 ("ghc-quickcheck" ,ghc-quickcheck)
9646 ("hspec-discover" ,hspec-discover)))
dddbc90c
RV
9647 (home-page "https://github.com/ekmett/reflection")
9648 (synopsis "Reify arbitrary terms into types that can be reflected back
9649into terms")
9650 (description "This package addresses the 'configuration problem' which is
9651propagating configurations that are available at run-time, allowing multiple
9652configurations to coexist without resorting to mutable global variables or
9653@code{System.IO.Unsafe.unsafePerformIO}.")
9654 (license license:bsd-3)))
9655
9656(define-public ghc-regex
9657 (package
9658 (name "ghc-regex")
b9a5e634 9659 (version "1.0.2.0")
dddbc90c
RV
9660 (source
9661 (origin
9662 (method url-fetch)
9663 (uri (string-append "https://hackage.haskell.org/package/regex/"
9664 "regex-" version ".tar.gz"))
9665 (sha256
9666 (base32
b9a5e634 9667 "1f2z025hif1fr24b5khq3qxxyvpxrnhyx8xmbms332arw28rpkda"))))
dddbc90c
RV
9668 (build-system haskell-build-system)
9669 (arguments
9670 `(#:phases
9671 (modify-phases %standard-phases
9672 (add-after 'unpack 'relax-dependencies
9673 (lambda _
9674 (substitute* "regex.cabal"
9675 (("base-compat.*>=.*0.6.*")
9676 "base-compat >= 0.6\n")
9677 (("template-haskell.*>=.*2.7.*")
9678 "template-haskell >= 2.7\n"))
9679 #t)))))
9680 (inputs
9681 `(("ghc-base-compat" ,ghc-base-compat)
9682 ("ghc-hashable" ,ghc-hashable)
9683 ("ghc-regex-base" ,ghc-regex-base)
9684 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
9685 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
9686 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
9687 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
9688 ("ghc-unordered-containers" ,ghc-unordered-containers)
9689 ("ghc-utf8-string" ,ghc-utf8-string)))
9690 (home-page "http://regex.uk")
9691 (synopsis "Toolkit for regex-base")
9692 (description
9693 "This package provides a regular expression toolkit for @code{regex-base}
9694with compile-time checking of regular expression syntax, data types for
9695matches and captures, a text replacement toolkit, portable options, high-level
9696AWK-like tools for building text processing apps, regular expression macros
9697with parsers and test bench, comprehensive documentation, tutorials and
9698copious examples.")
9699 (license license:bsd-3)))
9700
9701(define-public ghc-regex-applicative
9702 (package
9703 (name "ghc-regex-applicative")
30f60e42 9704 (version "0.3.3.1")
dddbc90c
RV
9705 (source
9706 (origin
9707 (method url-fetch)
9708 (uri (string-append
9709 "https://hackage.haskell.org/package/regex-applicative/"
9710 "regex-applicative-" version ".tar.gz"))
9711 (sha256
9712 (base32
30f60e42 9713 "0p0anx5vamrhrdvviwkh2zn6pa3pv2bjb7nfyc7dvz2q7g14y1lg"))))
dddbc90c
RV
9714 (build-system haskell-build-system)
9715 (inputs
9716 `(("ghc-smallcheck" ,ghc-smallcheck)
9717 ("ghc-tasty" ,ghc-tasty)
9718 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
9719 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9720 (home-page "https://github.com/feuerbach/regex-applicative")
9721 (synopsis "Regex-based parsing with applicative interface")
9722 (description
9723 "@code{regex-applicative} is a Haskell library for parsing using
9724regular expressions. Parsers can be built using Applicative interface.")
9725 (license license:expat)))
9726
9727(define-public ghc-regex-base
9728 (package
9729 (name "ghc-regex-base")
9730 (version "0.93.2")
9731 (source
9732 (origin
9733 (method url-fetch)
9734 (uri (string-append
9735 "https://hackage.haskell.org/package/regex-base/regex-base-"
9736 version
9737 ".tar.gz"))
9738 (sha256
9739 (base32
9740 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
9741 (build-system haskell-build-system)
9742 (home-page
9743 "https://sourceforge.net/projects/lazy-regex")
9744 (synopsis "Replaces/Enhances Text.Regex")
9745 (description "@code{Text.Regex.Base} provides the interface API for
9746regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
9747 (license license:bsd-3)))
9748
9749(define-public ghc-regex-compat
9750 (package
9751 (name "ghc-regex-compat")
9752 (version "0.95.1")
9753 (source
9754 (origin
9755 (method url-fetch)
9756 (uri (string-append
9757 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
9758 version
9759 ".tar.gz"))
9760 (sha256
9761 (base32
9762 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
9763 (build-system haskell-build-system)
9764 (inputs
9765 `(("ghc-regex-base" ,ghc-regex-base)
9766 ("ghc-regex-posix" ,ghc-regex-posix)))
9767 (home-page "https://sourceforge.net/projects/lazy-regex")
9768 (synopsis "Replaces/Enhances Text.Regex")
9769 (description "This library provides one module layer over
9770@code{regex-posix} to replace @code{Text.Regex}.")
9771 (license license:bsd-3)))
9772
9773(define-public ghc-regex-compat-tdfa
9774 (package
9775 (name "ghc-regex-compat-tdfa")
9776 (version "0.95.1.4")
9777 (source
9778 (origin
9779 (method url-fetch)
9780 (uri (string-append
9781 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
9782 version ".tar.gz"))
9783 (sha256
9784 (base32
9785 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
9786 (build-system haskell-build-system)
9787 (inputs
9788 `(("ghc-regex-base" ,ghc-regex-base)
9789 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
9790 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
9791 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
9792 (description
9793 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
9794@code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
9795This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
9796this problem.")
9797 (license license:bsd-3)))
9798
9799(define-public ghc-regex-pcre-builtin
9800 (package
9801 (name "ghc-regex-pcre-builtin")
ee946143 9802 (version "0.94.5.8.8.35")
dddbc90c
RV
9803 (source (origin
9804 (method url-fetch)
9805 (uri (string-append "https://hackage.haskell.org/package/"
9806 "regex-pcre-builtin/regex-pcre-builtin-"
9807 version ".tar.gz"))
9808 (sha256
9809 (base32
ee946143 9810 "1s755qdg1mxrf125sh83bsc5kjkrj8fkq8wf6dg1jan86c7p7gl4"))))
dddbc90c
RV
9811 (build-system haskell-build-system)
9812 (inputs
9813 `(("ghc-regex-base" ,ghc-regex-base)))
9814 (home-page "https://hackage.haskell.org/package/regex-pcre")
9815 (synopsis "Enhancement of the builtin Text.Regex library")
9816 (description
9817 "This package is an enhancement of the @code{Text.Regex} library,
9818providing the PCRE backend to accompany regex-base, with bundled code from
9819@url{https://www.pcre.org}.")
9820 (license license:bsd-3)))
9821
9822(define-public ghc-regex-posix
9823 (package
9824 (name "ghc-regex-posix")
9825 (version "0.95.2")
9826 (source
9827 (origin
9828 (method url-fetch)
9829 (uri (string-append
9830 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
9831 version
9832 ".tar.gz"))
9833 (sha256
9834 (base32
9835 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
9836 (build-system haskell-build-system)
9837 (inputs
9838 `(("ghc-regex-base" ,ghc-regex-base)))
9839 (home-page "https://sourceforge.net/projects/lazy-regex")
9840 (synopsis "POSIX regular expressions for Haskell")
9841 (description "This library provides the POSIX regex backend used by the
9842Haskell library @code{regex-base}.")
9843 (license license:bsd-3)))
9844
9845(define-public ghc-regex-tdfa
9846 (package
9847 (name "ghc-regex-tdfa")
ce684db0 9848 (version "1.2.3.2")
dddbc90c
RV
9849 (source
9850 (origin
9851 (method url-fetch)
9852 (uri (string-append
9853 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
9854 version ".tar.gz"))
9855 (sha256
9856 (base32
ce684db0 9857 "03yhpqrqz977nwlnhnyz9dacnbzw8xb6j18h365rkgmbc05sb3hf"))))
dddbc90c
RV
9858 (build-system haskell-build-system)
9859 (inputs
9860 `(("ghc-regex-base" ,ghc-regex-base)))
90b74c6f 9861 (home-page "https://github.com/haskell-hvr/regex-tdfa")
dddbc90c
RV
9862 (synopsis "POSIX extended regular expressions in Haskell.")
9863 (description
9864 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
9865extended regular expressions. It is a \"tagged\" DFA regex engine. It is
9866inspired by libtre.")
9867 (license license:bsd-3)))
9868
9869(define-public ghc-regex-tdfa-text
9870 (package
9871 (name "ghc-regex-tdfa-text")
9872 (version "1.0.0.3")
9873 (source
9874 (origin
9875 (method url-fetch)
9876 (uri (string-append
9877 "https://hackage.haskell.org/package/regex-tdfa-text/"
9878 "regex-tdfa-text-" version ".tar.gz"))
9879 (sha256
9880 (base32
9881 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
9882 (build-system haskell-build-system)
9883 (inputs
9884 `(("ghc-regex-base" ,ghc-regex-base)
9885 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
9886 (home-page
3ef91e15 9887 "https://hackage.haskell.org/package/regex-tdfa-text")
dddbc90c
RV
9888 (synopsis "Text interface for regex-tdfa")
9889 (description
9890 "This provides an extra text interface for regex-tdfa.")
9891 (license license:bsd-3)))
9892
9893(define-public ghc-rerebase
9894 (package
9895 (name "ghc-rerebase")
cdec7b8c 9896 (version "1.3.1.1")
dddbc90c
RV
9897 (source
9898 (origin
9899 (method url-fetch)
9900 (uri (string-append
9901 "https://hackage.haskell.org/package/rerebase/rerebase-"
9902 version ".tar.gz"))
9903 (sha256
9904 (base32
cdec7b8c 9905 "1jbqif6k249rkknm2zwk8v8jil3kgi9ar53358v8l4ffx346rm82"))))
dddbc90c
RV
9906 (build-system haskell-build-system)
9907 (inputs
9908 `(("ghc-rebase" ,ghc-rebase)))
9909 (home-page "https://github.com/nikita-volkov/rerebase")
9910 (synopsis "Reexports from ``base'' with many other standard libraries")
9911 (description "A rich drop-in replacement for @code{base}. For details and
9912documentation please visit @uref{https://github.com/nikita-volkov/rerebase,
9913the project's home page}.")
9914 (license license:expat)))
9915
9916(define-public ghc-resolv
9917 (package
9918 (name "ghc-resolv")
87309478 9919 (version "0.1.1.2")
dddbc90c
RV
9920 (source
9921 (origin
9922 (method url-fetch)
9923 (uri (string-append
9924 "https://hackage.haskell.org/package/resolv/resolv-"
9925 version ".tar.gz"))
9926 (sha256
9927 (base32
87309478 9928 "0wczdy3vmpfcfwjn1m95bygc5d83m97xxmavhdvy5ayn8c402fp4"))))
dddbc90c
RV
9929 (build-system haskell-build-system)
9930 (arguments
87309478
TS
9931 `(#:phases
9932 (modify-phases %standard-phases
9933 (add-before 'configure 'update-constraints
9934 (lambda _
9935 (substitute* "resolv.cabal"
9936 (("tasty >= 1\\.1 && < 1\\.2")
9937 "tasty >= 1.1 && < 1.3"))
9938 #t)))))
dddbc90c
RV
9939 (inputs
9940 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)))
87309478
TS
9941 (native-inputs
9942 `(("ghc-tasty" ,ghc-tasty)
9943 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
dddbc90c
RV
9944 (home-page "https://github.com/haskell/hackage-security")
9945 (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}")
9946 (description "This package implements an API for accessing the
9947@uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)}
9948resolver service via the standard @code{libresolv} system library (whose
9949API is often available directly via the standard @code{libc} C library) on
9950Unix systems.")
9951 (license license:gpl3)))
9952
9953(define-public ghc-resource-pool
9954 (package
9955 (name "ghc-resource-pool")
9956 (version "0.2.3.2")
9957 (source
9958 (origin
9959 (method url-fetch)
9960 (uri (string-append "https://hackage.haskell.org/package/"
9961 "resource-pool-" version "/"
9962 "resource-pool-" version ".tar.gz"))
9963 (sha256
9964 (base32
9965 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
9966 (build-system haskell-build-system)
9967 (inputs `(("ghc-hashable" ,ghc-hashable)
9968 ("ghc-monad-control" ,ghc-monad-control)
9969 ("ghc-transformers-base" ,ghc-transformers-base)
9970 ("ghc-vector" ,ghc-vector)))
9971 (home-page "https://github.com/bos/pool")
9972 (synopsis "Striped resource pooling implementation in Haskell")
9973 (description "This Haskell package provides striped pooling abstraction
9974for managing flexibly-sized collections of resources such as database
9975connections.")
9976 (license license:bsd-3)))
9977
9978(define-public ghc-resourcet
9979 (package
9980 (name "ghc-resourcet")
9ac341ac 9981 (version "1.2.2")
dddbc90c
RV
9982 (source
9983 (origin
9984 (method url-fetch)
9985 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
9986 "resourcet-" version ".tar.gz"))
9987 (sha256
9988 (base32
9ac341ac 9989 "1rfbfcv3r1h29y0yqr3x6a1s04lbc3vzm3jqnfg4f9rqp9d448qk"))))
dddbc90c
RV
9990 (build-system haskell-build-system)
9991 (inputs
9992 `(("ghc-transformers-base" ,ghc-transformers-base)
9993 ("ghc-monad-control" ,ghc-monad-control)
9994 ("ghc-transformers-compat" ,ghc-transformers-compat)
9995 ("ghc-mmorph" ,ghc-mmorph)
9996 ("ghc-exceptions" ,ghc-exceptions)
9997 ("ghc-unliftio-core" ,ghc-unliftio-core)))
9998 (native-inputs
9999 `(("ghc-lifted-base" ,ghc-lifted-base)
10000 ("ghc-hspec" ,ghc-hspec)))
10001 (home-page "https://github.com/snoyberg/conduit")
10002 (synopsis "Deterministic allocation and freeing of scarce resources")
10003 (description "ResourceT is a monad transformer which creates a region of
10004code where you can safely allocate resources.")
10005 (license license:bsd-3)))
10006
b9debc37
TS
10007(define-public ghc-retry
10008 (package
10009 (name "ghc-retry")
10010 (version "0.8.1.0")
10011 (source
10012 (origin
10013 (method url-fetch)
10014 (uri (string-append "https://hackage.haskell.org/package/"
10015 "retry/retry-" version ".tar.gz"))
10016 (sha256
10017 (base32
10018 "02k03r86amg1vbrsvb644342ym13d9jwkzki9sk93pdg5l8j35dj"))))
10019 (build-system haskell-build-system)
10020 (inputs
10021 `(("ghc-exceptions" ,ghc-exceptions)
10022 ("ghc-random" ,ghc-random)))
10023 (native-inputs
10024 `(("ghc-hunit" ,ghc-hunit)
10025 ("ghc-tasty" ,ghc-tasty)
10026 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10027 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
10028 ("ghc-hedgehog" ,ghc-hedgehog)))
10029 (home-page "http://github.com/Soostone/retry")
10030 (synopsis "Retry combinators for monadic actions that may fail")
10031 (description "This package exposes combinators that can wrap
10032arbitrary monadic actions. They run the action and potentially retry
10033running it with some configurable delay for a configurable number of
10034times. The purpose is to make it easier to work with IO and especially
10035network IO actions that often experience temporary failure and warrant
10036retrying of the original action. For example, a database query may time
10037out for a while, in which case we should hang back for a bit and retry
10038the query instead of simply raising an exception.")
10039 (license license:bsd-3)))
10040
dddbc90c
RV
10041(define-public ghc-rfc5051
10042 (package
10043 (name "ghc-rfc5051")
ec42ab7c 10044 (version "0.1.0.4")
dddbc90c
RV
10045 (source
10046 (origin
10047 (method url-fetch)
10048 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
10049 "rfc5051-" version ".tar.gz"))
10050 (sha256
10051 (base32
ec42ab7c 10052 "1lxkq414ni986ciml4gbvf463fn55z299knky7pq3ixb1qislpb1"))))
dddbc90c
RV
10053 (build-system haskell-build-system)
10054 (home-page "https://hackage.haskell.org/package/rfc5051")
10055 (synopsis "Simple unicode collation as per RFC5051")
10056 (description
10057 "This library implements @code{unicode-casemap}, the simple, non
10058locale-sensitive unicode collation algorithm described in RFC 5051. Proper
10059unicode collation can be done using @code{text-icu}, but that is a big
10060dependency that depends on a large C library, and @code{rfc5051} might be
10061better for some purposes.")
10062 (license license:bsd-3)))
10063
10064(define-public ghc-rio
10065 (package
10066 (name "ghc-rio")
8bda2fa7 10067 (version "0.1.12.0")
dddbc90c
RV
10068 (source
10069 (origin
10070 (method url-fetch)
10071 (uri (string-append
10072 "https://hackage.haskell.org/package/rio/rio-"
10073 version ".tar.gz"))
10074 (sha256
10075 (base32
8bda2fa7 10076 "0xzjkh6aavynpyskikhs8dmv0zhkiqiwz9zdn80zbd25b2182pif"))))
dddbc90c
RV
10077 (build-system haskell-build-system)
10078 (inputs
10079 `(("ghc-exceptions" ,ghc-exceptions)
10080 ("ghc-hashable" ,ghc-hashable)
10081 ("ghc-microlens" ,ghc-microlens)
10082 ("ghc-primitive" ,ghc-primitive)
10083 ("ghc-typed-process" ,ghc-typed-process)
10084 ("ghc-unliftio" ,ghc-unliftio)
10085 ("ghc-unordered-containers" ,ghc-unordered-containers)
10086 ("ghc-vector" ,ghc-vector)))
10087 (native-inputs
10088 `(("ghc-hspec" ,ghc-hspec)
10089 ("hspec-discover" ,hspec-discover)))
10090 (home-page "https://github.com/commercialhaskell/rio#readme")
10091 (synopsis "A standard library for Haskell")
10092 (description "This package works as a prelude replacement for Haskell,
10093providing more functionality and types out of the box than the standard
10094prelude (such as common data types like @code{ByteString} and
10095@code{Text}), as well as removing common ``gotchas'', like partial
10096functions and lazy I/O. The guiding principle here is:
10097@itemize
10098@item If something is safe to use in general and has no expected naming
10099conflicts, expose it.
10100@item If something should not always be used, or has naming conflicts,
10101expose it from another module in the hierarchy.
10102@end itemize")
10103 (license license:expat)))
10104
10105(define-public ghc-safe
10106 (package
10107 (name "ghc-safe")
10108 (version "0.3.17")
10109 (source
10110 (origin
10111 (method url-fetch)
10112 (uri (string-append
10113 "https://hackage.haskell.org/package/safe/safe-"
10114 version
10115 ".tar.gz"))
10116 (sha256
10117 (base32
10118 "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr"))))
10119 (build-system haskell-build-system)
10120 (native-inputs
10121 `(("ghc-quickcheck" ,ghc-quickcheck)))
10122 (home-page "https://github.com/ndmitchell/safe#readme")
10123 (synopsis "Library of safe (exception free) functions")
10124 (description "This library provides wrappers around @code{Prelude} and
10125@code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
10126exceptions.")
10127 (license license:bsd-3)))
10128
10129(define-public ghc-safe-exceptions
10130 (package
10131 (name "ghc-safe-exceptions")
10132 (version "0.1.7.0")
10133 (source
10134 (origin
10135 (method url-fetch)
10136 (uri (string-append "https://hackage.haskell.org/package/"
10137 "safe-exceptions/safe-exceptions-"
10138 version ".tar.gz"))
10139 (sha256
10140 (base32
10141 "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q"))))
10142 (build-system haskell-build-system)
10143 (arguments
10144 '(#:cabal-revision
10145 ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32")))
10146 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
10147 (native-inputs
10148 `(("ghc-hspec" ,ghc-hspec)
10149 ("ghc-void" ,ghc-void)
10150 ("hspec-discover" ,hspec-discover)))
10151 (home-page "https://github.com/fpco/safe-exceptions")
10152 (synopsis "Safe, consistent, and easy exception handling")
10153 (description "Runtime exceptions - as exposed in @code{base} by the
10154@code{Control.Exception} module - have long been an intimidating part of the
10155Haskell ecosystem. This package is intended to overcome this. It provides a
10156safe and simple API on top of the existing exception handling machinery. The
10157API is equivalent to the underlying implementation in terms of power but
10158encourages best practices to minimize the chances of getting the exception
10159handling wrong.")
10160 (license license:expat)))
10161
10162(define-public ghc-safeio
10163 (package
10164 (name "ghc-safeio")
10165 (version "0.0.5.0")
10166 (source
10167 (origin
10168 (method url-fetch)
10169 (uri (string-append "https://hackage.haskell.org/package/safeio/"
10170 "safeio-" version ".tar.gz"))
10171 (sha256
10172 (base32
10173 "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm"))))
10174 (build-system haskell-build-system)
10175 (inputs
10176 `(("ghc-conduit" ,ghc-conduit)
10177 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
10178 ("ghc-exceptions" ,ghc-exceptions)
10179 ("ghc-resourcet" ,ghc-resourcet)))
10180 (native-inputs
10181 `(("ghc-hunit" ,ghc-hunit)
10182 ("ghc-test-framework" ,ghc-test-framework)
10183 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
10184 ("ghc-test-framework-th" ,ghc-test-framework-th)))
10185 (home-page "https://github.com/luispedro/safeio")
10186 (synopsis "Write output to disk atomically")
10187 (description
10188 "This package implements utilities to perform atomic output so as to
10189avoid the problem of partial intermediate files.")
10190 (license license:expat)))
10191
10192(define-public ghc-safesemaphore
10193 (package
10194 (name "ghc-safesemaphore")
10195 (version "0.10.1")
10196 (source
10197 (origin
10198 (method url-fetch)
10199 (uri (string-append "https://hackage.haskell.org/package/"
10200 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
10201 (sha256
10202 (base32
10203 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
10204 (build-system haskell-build-system)
10205 (native-inputs
10206 `(("ghc-hunit" ,ghc-hunit)))
10207 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
10208 (synopsis "Exception safe semaphores")
10209 (description "This library provides exception safe semaphores that can be
10210used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
10211are not exception safe and can be broken by @code{killThread}.")
10212 (license license:bsd-3)))
10213
10214(define-public ghc-sandi
10215 (package
10216 (name "ghc-sandi")
b867c2b0 10217 (version "0.5")
dddbc90c
RV
10218 (source
10219 (origin
10220 (method url-fetch)
10221 (uri (string-append
10222 "https://hackage.haskell.org/package/sandi/sandi-"
10223 version ".tar.gz"))
10224 (sha256
10225 (base32
b867c2b0 10226 "1ndgai8idlxyccvkz5zsgq06v58blc30i6hkky5b1sf5x6gs2h29"))))
dddbc90c
RV
10227 (build-system haskell-build-system)
10228 (inputs
10229 `(("ghc-stringsearch" ,ghc-stringsearch)
10230 ("ghc-conduit" ,ghc-conduit)
10231 ("ghc-exceptions" ,ghc-exceptions)
10232 ("ghc-hunit" ,ghc-hunit)
10233 ("ghc-tasty" ,ghc-tasty)
10234 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10235 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
10236 ("ghc-tasty-th" ,ghc-tasty-th)))
10237 (home-page "https://hackage.haskell.org/package/sandi")
10238 (synopsis "Data encoding library")
10239 (description "Reasonably fast data encoding library.")
10240 (license license:bsd-3)))
10241
4da75228
ASM
10242(define-public ghc-say
10243 (package
10244 (name "ghc-say")
10245 (version "0.1.0.1")
10246 (source
10247 (origin
10248 (method url-fetch)
10249 (uri (string-append
10250 "https://hackage.haskell.org/package/say/say-"
10251 version
10252 ".tar.gz"))
10253 (sha256
10254 (base32
10255 "1r5kffjfwpas45g74sip8glrj1m9nygrnxjm7xgw898rq9pnafgn"))))
10256 (build-system haskell-build-system)
10257 (native-inputs
10258 `(("ghc-hspec" ,ghc-hspec)
10259 ("hspec-discover" ,hspec-discover)
10260 ("ghc-unliftio" ,ghc-unliftio)))
10261 (home-page "https://github.com/fpco/say")
10262 (synopsis
10263 "Send textual messages to a Handle in a thread-friendly way")
10264 (description
10265 "A thread safe API to write a line of textual data to a Handle, such
10266as sending some messages to the terminal - that has the following properties:
10267@itemize
10268@item Properly handle character encoding settings on the Handle
10269@item For reasonably sized messages, ensure that the entire message is written
10270 in one chunk to avoid interleaving data with other threads
10271@item Avoid unnecessary memory allocations and copies
10272@item Minimize locking.
10273@end itemize")
10274 (license license:expat)))
10275
dddbc90c
RV
10276(define-public ghc-scientific
10277 (package
10278 (name "ghc-scientific")
10279 (version "0.3.6.2")
10280 (source
10281 (origin
10282 (method url-fetch)
10283 (uri (string-append
10284 "https://hackage.haskell.org/package/scientific/scientific-"
10285 version
10286 ".tar.gz"))
10287 (sha256
10288 (base32
10289 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
10290 (build-system haskell-build-system)
10291 (inputs
10292 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
10293 ("ghc-hashable" ,ghc-hashable)
10294 ("ghc-primitive" ,ghc-primitive)))
10295 (native-inputs
10296 `(("ghc-tasty" ,ghc-tasty)
10297 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
10298 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10299 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
10300 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
10301 ("ghc-smallcheck" ,ghc-smallcheck)
10302 ("ghc-quickcheck" ,ghc-quickcheck)))
10303 (home-page "https://github.com/basvandijk/scientific")
10304 (synopsis "Numbers represented using scientific notation")
10305 (description "This package provides @code{Data.Scientific}, which provides
10306the number type @code{Scientific}. Scientific numbers are arbitrary precision
10307and space efficient. They are represented using
10308@uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
10309notation}.")
10310 (license license:bsd-3)))
10311
10312(define-public ghc-scientific-bootstrap
10313 (package
10314 (inherit ghc-scientific)
10315 (name "ghc-scientific-bootstrap")
10316 (arguments `(#:tests? #f))
10317 (inputs
10318 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
10319 ("ghc-hashable" ,ghc-hashable)
10320 ("ghc-primitive" ,ghc-primitive)))
10321 (native-inputs '())
799d8d3c 10322 (properties '((hidden? #t)))))
dddbc90c
RV
10323
10324(define-public ghc-sdl
10325 (package
10326 (name "ghc-sdl")
10327 (version "0.6.7.0")
10328 (source
10329 (origin
10330 (method url-fetch)
10331 (uri (string-append
10332 "https://hackage.haskell.org/package/SDL/SDL-"
10333 version
10334 ".tar.gz"))
10335 (sha256
10336 (base32
10337 "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq"))))
10338 (build-system haskell-build-system)
10339 (inputs
10340 `(("sdl" ,sdl)))
10341 (home-page "https://hackage.haskell.org/package/SDL")
10342 (synopsis "LibSDL for Haskell")
10343 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
10344multimedia library designed to provide low level access to audio, keyboard,
10345mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
10346by MPEG playback software, emulators, and many popular games, including the
10347award winning Linux port of \"Civilization: Call To Power.\"")
10348 (license license:bsd-3)))
10349
1874cdc1
RV
10350(define-public ghc-sdl2
10351 (package
10352 (name "ghc-sdl2")
145148ca 10353 (version "2.5.0.0")
1874cdc1
RV
10354 (source
10355 (origin
10356 (method url-fetch)
10357 (uri (string-append "https://hackage.haskell.org/package/"
10358 "sdl2/sdl2-" version ".tar.gz"))
10359 (sha256
10360 (base32
145148ca 10361 "1x368yhdd55b3cvx8dvj1sj6nzygzigbhrwhssjs4k0rcxlwqfw8"))))
1874cdc1
RV
10362 (build-system haskell-build-system)
10363 (arguments '(#:tests? #f)) ; tests require graphical environment
10364 (inputs
10365 `(("ghc-exceptions" ,ghc-exceptions)
10366 ("ghc-linear" ,ghc-linear)
10367 ("ghc-statevar" ,ghc-statevar)
10368 ("ghc-vector" ,ghc-vector)
10369 ("sdl2" ,sdl2)))
10370 (native-inputs
10371 `(("ghc-weigh" ,ghc-weigh)
10372 ("pkg-config" ,pkg-config)))
35437dbf 10373 (home-page "https://hackage.haskell.org/package/sdl2")
1874cdc1
RV
10374 (synopsis "High- and low-level bindings to the SDL library")
10375 (description
10376 "This package contains bindings to the SDL 2 library, in both high- and
10377low-level forms. The @code{SDL} namespace contains high-level bindings, where
10378enumerations are split into sum types, and we perform automatic
10379error-checking. The @code{SDL.Raw} namespace contains an almost 1-1
10380translation of the C API into Haskell FFI calls. As such, this does not
10381contain sum types nor error checking. Thus this namespace is suitable for
10382building your own abstraction over SDL, but is not recommended for day-to-day
10383programming.")
10384 (license license:bsd-3)))
10385
10386(define-public ghc-sdl2-image
10387 (package
10388 (name "ghc-sdl2-image")
10389 (version "2.0.0")
10390 (source
10391 (origin
10392 (method url-fetch)
10393 (uri (string-append "https://hackage.haskell.org/package/sdl2-image/"
10394 "sdl2-image-" version ".tar.gz"))
10395 (sha256
10396 (base32
10397 "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr"))))
10398 (build-system haskell-build-system)
10399 (inputs
10400 `(("ghc-sdl2" ,ghc-sdl2)
10401 ("sdl2-image" ,sdl2-image)))
10402 (native-inputs
10403 `(("pkg-config" ,pkg-config)))
3ef91e15 10404 (home-page "https://hackage.haskell.org/package/sdl2-image")
1874cdc1
RV
10405 (synopsis "Bindings to SDL2_image")
10406 (description "This package provides Haskell bindings to
10407@code{SDL2_image}.")
10408 (license license:expat)))
10409
10410(define-public ghc-sdl2-mixer
10411 (package
10412 (name "ghc-sdl2-mixer")
10413 (version "1.1.0")
10414 (source
10415 (origin
10416 (method url-fetch)
10417 (uri (string-append "https://hackage.haskell.org/package/sdl2-mixer/"
10418 "sdl2-mixer-" version ".tar.gz"))
10419 (sha256
10420 (base32
10421 "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g"))))
10422 (build-system haskell-build-system)
10423 (inputs
10424 `(("ghc-data-default-class" ,ghc-data-default-class)
10425 ("ghc-lifted-base" ,ghc-lifted-base)
10426 ("ghc-monad-control" ,ghc-monad-control)
10427 ("ghc-sdl2" ,ghc-sdl2)
10428 ("ghc-vector" ,ghc-vector)
10429 ("sdl2-mixer" ,sdl2-mixer)))
10430 (native-inputs
10431 `(("pkg-config" ,pkg-config)))
3ef91e15 10432 (home-page "https://hackage.haskell.org/package/sdl2-mixer")
1874cdc1
RV
10433 (synopsis "Bindings to SDL2 mixer")
10434 (description "This package provides Haskell bindings to
10435@code{SDL2_mixer}.")
10436 (license license:bsd-3)))
10437
dddbc90c
RV
10438(define-public ghc-sdl-image
10439 (package
10440 (name "ghc-sdl-image")
10441 (version "0.6.2.0")
10442 (source
10443 (origin
10444 (method url-fetch)
10445 (uri (string-append
10446 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
10447 version
10448 ".tar.gz"))
10449 (sha256
10450 (base32
10451 "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1"))))
10452 (build-system haskell-build-system)
10453 (arguments
10454 `(#:configure-flags
10455 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
10456 (sdl-image-include (string-append sdl-image "/include/SDL")))
10457 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
10458 (inputs
10459 `(("ghc-sdl" ,ghc-sdl)
10460 ("sdl-image" ,sdl-image)))
10461 (home-page "https://hackage.haskell.org/package/SDL-image")
10462 (synopsis "Haskell bindings to libSDL_image")
10463 (description "SDL_image is an image file loading library. It loads images
10464as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
10465PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
10466 (license license:bsd-3)))
10467
10468(define-public ghc-sdl-mixer
10469 (package
10470 (name "ghc-sdl-mixer")
10471 (version "0.6.3.0")
10472 (source
10473 (origin
10474 (method url-fetch)
10475 (uri (string-append
10476 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
10477 version
10478 ".tar.gz"))
10479 (sha256
10480 (base32
10481 "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r"))))
10482 (build-system haskell-build-system)
10483 (arguments
10484 `(#:configure-flags
10485 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
10486 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
10487 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
10488 (inputs
10489 `(("ghc-sdl" ,ghc-sdl)
10490 ("sdl-mixer" ,sdl-mixer)))
10491 (home-page "https://hackage.haskell.org/package/SDL-mixer")
10492 (synopsis "Haskell bindings to libSDL_mixer")
10493 (description "SDL_mixer is a sample multi-channel audio mixer library. It
10494supports any number of simultaneously playing channels of 16 bit stereo audio,
10495plus a single channel of music, mixed by the popular MikMod MOD, Timidity
10496MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
10497 (license license:bsd-3)))
10498
10499(define-public ghc-securemem
10500 (package
10501 (name "ghc-securemem")
10502 (version "0.1.10")
10503 (source
10504 (origin
10505 (method url-fetch)
10506 (uri (string-append "https://hackage.haskell.org/package/"
10507 "securemem-" version "/"
10508 "securemem-" version ".tar.gz"))
10509 (sha256
10510 (base32
10511 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
10512 (build-system haskell-build-system)
10513 (inputs `(("ghc-byteable" ,ghc-byteable)
10514 ("ghc-memory" ,ghc-memory)))
10515 (home-page "https://github.com/vincenthz/hs-securemem")
10516 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
10517Haskell")
10518 (description "SecureMem is similar to ByteString, except that it provides
10519a memory chunk that will be auto-scrubbed after it run out of scope.")
10520 (license license:bsd-3)))
10521
3cf7219c
JS
10522(define-public ghc-semialign
10523 (package
10524 (name "ghc-semialign")
10525 (version "1")
10526 (source
10527 (origin
10528 (method url-fetch)
10529 (uri (string-append
10530 "https://hackage.haskell.org/package/semialign/semialign-"
10531 version
10532 ".tar.gz"))
10533 (sha256
10534 (base32
10535 "004x0a80sqqdgvsyk4z0nasxpi6z3g1d8kgwj804bj9ka8dlc75m"))))
10536 (build-system haskell-build-system)
10537 (inputs
10538 `(("ghc-these" ,ghc-these)
10539 ("ghc-base-compat" ,ghc-base-compat)
10540 ("ghc-hashable" ,ghc-hashable)
10541 ("ghc-tagged" ,ghc-tagged)
10542 ("ghc-unordered-containers" ,ghc-unordered-containers)
10543 ("ghc-vector" ,ghc-vector)
10544 ("ghc-semigroupoids" ,ghc-semigroupoids)))
10545 (arguments
10546 `(#:cabal-revision
10547 ("1"
10548 "0qnqnyfng4kwy2h2anrcy5id2ijnawava3zcc5h5b8ri1y6ks6zi")))
10549 (home-page
10550 "https://github.com/isomorphism/these")
10551 (synopsis
10552 "Align and Zip type-classes from the common Semialign ancestor ")
10553 (description
10554 "The major use of @code{These} of this is provided by the
10555@code{align} member of @code{Semialign} class, representing a
10556generalized notion of \"zipping with padding\" that combines
10557structures without truncating to the size of the smaller input. It
10558turns out that @code{zip} operation fits well the @code{Semialign}
10559class, forming lattice-like structure.")
10560 (license license:bsd-3)))
10561
dddbc90c
RV
10562(define-public ghc-semigroupoids
10563 (package
10564 (name "ghc-semigroupoids")
a8aaadf2 10565 (version "5.3.3")
dddbc90c
RV
10566 (source
10567 (origin
10568 (method url-fetch)
10569 (uri (string-append
10570 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
10571 version
10572 ".tar.gz"))
10573 (sha256
10574 (base32
a8aaadf2 10575 "016hc4imr9l4szs3p7f1aahvxr5wv4clvr3qzrm3nibssg5vrs61"))))
dddbc90c 10576 (build-system haskell-build-system)
dddbc90c
RV
10577 (inputs
10578 `(("ghc-base-orphans" ,ghc-base-orphans)
10579 ("ghc-transformers-compat" ,ghc-transformers-compat)
10580 ("ghc-bifunctors" ,ghc-bifunctors)
10581 ("ghc-comonad" ,ghc-comonad)
10582 ("ghc-contravariant" ,ghc-contravariant)
10583 ("ghc-distributive" ,ghc-distributive)
10584 ("ghc-hashable" ,ghc-hashable)
10585 ("ghc-semigroups" ,ghc-semigroups)
10586 ("ghc-tagged" ,ghc-tagged)
10587 ("ghc-unordered-containers" ,ghc-unordered-containers)))
10588 (native-inputs
10589 `(("cabal-doctest" ,cabal-doctest)
10590 ("ghc-doctest" ,ghc-doctest)))
10591 (home-page "https://github.com/ekmett/semigroupoids")
10592 (synopsis "Semigroupoids operations for Haskell")
10593 (description "This library provides a wide array of (semi)groupoids and
10594operations for working with them. A @code{Semigroupoid} is a @code{Category}
10595without the requirement of identity arrows for every object in the category.
10596A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
10597Finally, to work with these weaker structures it is beneficial to have
10598containers that can provide stronger guarantees about their contents, so
10599versions of @code{Traversable} and @code{Foldable} that can be folded with
10600just a @code{Semigroup} are added.")
10601 (license license:bsd-3)))
10602
10603(define-public ghc-semigroups
10604 (package
10605 (name "ghc-semigroups")
10606 (version "0.18.5")
10607 (source
10608 (origin
10609 (method url-fetch)
10610 (uri (string-append
10611 "https://hackage.haskell.org/package/semigroups/semigroups-"
10612 version
10613 ".tar.gz"))
10614 (sha256
10615 (base32
10616 "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb"))))
10617 (build-system haskell-build-system)
10618 (inputs
10619 `(("ghc-nats" ,ghc-nats)
10620 ("ghc-tagged" ,ghc-tagged)
10621 ("ghc-unordered-containers" ,ghc-unordered-containers)
10622 ("ghc-hashable" ,ghc-hashable)))
10623 (home-page "https://github.com/ekmett/semigroups/")
10624 (synopsis "Semigroup operations for Haskell")
10625 (description "This package provides semigroups for Haskell. In
10626mathematics, a semigroup is an algebraic structure consisting of a set
10627together with an associative binary operation. A semigroup generalizes a
10628monoid in that there might not exist an identity element. It
10629also (originally) generalized a group (a monoid with all inverses) to a type
10630where every element did not have to have an inverse, thus the name
10631semigroup.")
10632 (license license:bsd-3)))
10633
10634(define-public ghc-semigroups-bootstrap
10635 (package
10636 (inherit ghc-semigroups)
10637 (name "ghc-semigroups-bootstrap")
10638 (inputs
10639 `(("ghc-nats" ,ghc-nats-bootstrap)
10640 ("ghc-tagged" ,ghc-tagged)
10641 ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap)
10642 ("ghc-hashable" ,ghc-hashable-bootstrap)))
799d8d3c 10643 (properties '((hidden? #t)))))
dddbc90c
RV
10644
10645(define-public ghc-setenv
10646 (package
10647 (name "ghc-setenv")
10648 (version "0.1.1.3")
10649 (source
10650 (origin
10651 (method url-fetch)
10652 (uri (string-append
10653 "https://hackage.haskell.org/package/setenv/setenv-"
10654 version
10655 ".tar.gz"))
10656 (sha256
10657 (base32
10658 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
10659 (build-system haskell-build-system)
10660 (home-page "https://hackage.haskell.org/package/setenv")
10661 (synopsis "Library for setting environment variables")
10662 (description "This package provides a Haskell library for setting
10663environment variables.")
10664 (license license:expat)))
10665
10666(define-public ghc-setlocale
10667 (package
10668 (name "ghc-setlocale")
9d7cfc9b 10669 (version "1.0.0.9")
dddbc90c
RV
10670 (source (origin
10671 (method url-fetch)
10672 (uri (string-append
10673 "https://hackage.haskell.org/package/setlocale-"
10674 version "/setlocale-" version ".tar.gz"))
10675 (sha256
10676 (base32
9d7cfc9b 10677 "18b6xafspzxrmz5m9r9nzy3z053crqi59xc8n8aqd4gw0pvqdcrv"))))
dddbc90c
RV
10678 (build-system haskell-build-system)
10679 (home-page "https://hackage.haskell.org/package/setlocale")
10680 (synopsis "Haskell bindings to setlocale")
10681 (description "This package provides Haskell bindings to the
10682@code{setlocale} C function.")
10683 (license license:bsd-3)))
10684
10685(define-public ghc-shakespeare
10686 (package
10687 (name "ghc-shakespeare")
f680955f 10688 (version "2.0.22")
dddbc90c
RV
10689 (source
10690 (origin
10691 (method url-fetch)
10692 (uri (string-append "https://hackage.haskell.org/package/"
10693 "shakespeare-" version "/"
10694 "shakespeare-" version ".tar.gz"))
10695 (sha256
10696 (base32
f680955f 10697 "1mc1a0vv070gcawwcx6vzpj6gpfh1qnlqrndiyfic3p500y656vh"))))
dddbc90c
RV
10698 (build-system haskell-build-system)
10699 (inputs `(("ghc-aeson" ,ghc-aeson)
10700 ("ghc-blaze-markup" ,ghc-blaze-markup)
10701 ("ghc-blaze-html" ,ghc-blaze-html)
10702 ("ghc-exceptions" ,ghc-exceptions)
10703 ("ghc-vector" ,ghc-vector)
10704 ("ghc-unordered-containers" ,ghc-unordered-containers)
10705 ("ghc-scientific" ,ghc-scientific)))
10706 (native-inputs `(("ghc-hspec" ,ghc-hspec)
10707 ("ghc-hunit" ,ghc-hunit)
10708 ("hspec-discover" ,hspec-discover)))
10709 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
10710 (synopsis "Family of type-safe template languages for Haskell")
10711 (description "This Haskell package provides a family of type-safe
10712templates with simple variable interpolation. Shakespeare templates can
10713be used inline with a quasi-quoter or in an external file and it
10714interpolates variables according to the type being inserted.")
10715 (license license:expat)))
10716
10717(define-public ghc-shelly
10718 (package
10719 (name "ghc-shelly")
10720 (version "1.8.1")
10721 (source
10722 (origin
10723 (method url-fetch)
10724 (uri (string-append
10725 "https://hackage.haskell.org/package/shelly/shelly-"
10726 version ".tar.gz"))
10727 (sha256
10728 (base32
10729 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
10730 (build-system haskell-build-system)
10731 (inputs
10732 `(("ghc-unix-compat" ,ghc-unix-compat)
10733 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
10734 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
10735 ("ghc-monad-control" ,ghc-monad-control)
10736 ("ghc-lifted-base" ,ghc-lifted-base)
10737 ("ghc-lifted-async" ,ghc-lifted-async)
10738 ("ghc-exceptions" ,ghc-exceptions)
10739 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
10740 ("ghc-async" ,ghc-async)
10741 ("ghc-transformers-base" ,ghc-transformers-base)
10742 ("ghc-hunit" ,ghc-hunit)
10743 ("ghc-hspec" ,ghc-hspec)
10744 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
10745 (home-page "https://github.com/yesodweb/Shelly.hs")
10746 (synopsis "Shell-like (systems) programming in Haskell")
10747 (description
10748 "Shelly provides convenient systems programming in Haskell, similar in
10749spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
10750 (license license:bsd-3)))
10751
10752(define-public ghc-silently
10753 (package
10754 (name "ghc-silently")
544bb369 10755 (version "1.2.5.1")
dddbc90c
RV
10756 (source
10757 (origin
10758 (method url-fetch)
10759 (uri (string-append
10760 "https://hackage.haskell.org/package/silently/silently-"
10761 version
10762 ".tar.gz"))
10763 (sha256
10764 (base32
544bb369 10765 "1lgs1gsr5dp0x21diqn4l03fxgai2kgdmj85gqp0iz3zykvbmjbz"))))
dddbc90c
RV
10766 (build-system haskell-build-system)
10767 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
10768 ;; (inputs
10769 ;; `(("ghc-temporary" ,ghc-temporary)))
10770 (home-page "https://github.com/hspec/silently")
10771 (synopsis "Prevent writing to stdout")
10772 (description "This package provides functions to prevent or capture
10773writing to stdout and other handles.")
10774 (license license:bsd-3)))
10775
10776(define-public ghc-simple-reflect
10777 (package
10778 (name "ghc-simple-reflect")
10779 (version "0.3.3")
10780 (source
10781 (origin
10782 (method url-fetch)
10783 (uri (string-append
10784 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
10785 version
10786 ".tar.gz"))
10787 (sha256
10788 (base32
10789 "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7"))))
10790 (build-system haskell-build-system)
10791 (home-page
10792 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
10793 (synopsis
10794 "Simple reflection of expressions containing variables")
10795 (description
10796 "This package allows simple reflection of expressions containing
10797variables. Reflection here means that a Haskell expression is turned into a
10798string. The primary aim of this package is teaching and understanding; there
10799are no options for manipulating the reflected expressions beyond showing
10800them.")
10801 (license license:bsd-3)))
10802
10803(define-public ghc-simple-sendfile
10804 (package
10805 (name "ghc-simple-sendfile")
08f54390 10806 (version "0.2.30")
dddbc90c
RV
10807 (source
10808 (origin
10809 (method url-fetch)
10810 (uri (string-append "https://hackage.haskell.org/package/"
10811 "simple-sendfile-" version "/"
10812 "simple-sendfile-" version ".tar.gz"))
10813 (sha256
10814 (base32
08f54390 10815 "112j0qfsjazf9wg1zywf7hjybgsiywk9wkm27yi8xzv27hmlv1mn"))))
dddbc90c
RV
10816 (build-system haskell-build-system)
10817 (inputs
10818 `(("ghc-conduit" ,ghc-conduit)
10819 ("ghc-conduit-extra" ,ghc-conduit-extra)
10820 ("ghc-network" ,ghc-network)
10821 ("ghc-resourcet" ,ghc-resourcet)))
10822 (native-inputs
10823 `(("ghc-hspec" ,ghc-hspec)
10824 ("hspec-discover" ,hspec-discover)))
10825 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
10826 (synopsis "Cross platform library for the sendfile system call")
10827 (description "This library tries to call minimum system calls which
10828are the bottleneck of web servers.")
10829 (license license:bsd-3)))
10830
06966c05
TS
10831(define-public ghc-size-based
10832 (package
10833 (name "ghc-size-based")
10834 (version "0.1.2.0")
10835 (source
10836 (origin
10837 (method url-fetch)
10838 (uri (string-append "https://hackage.haskell.org/package/"
10839 "size-based/size-based-" version ".tar.gz"))
10840 (sha256
10841 (base32
10842 "06hmlic0n73ncwlkpx49xlv09bzsrr27ncnp5byhzlknak2gd7vp"))))
10843 (build-system haskell-build-system)
10844 (inputs
10845 `(("ghc-dictionary-sharing" ,ghc-dictionary-sharing)
10846 ("ghc-testing-type-modifiers" ,ghc-testing-type-modifiers)
10847 ("ghc-semigroups" ,ghc-semigroups)))
10848 (arguments
10849 `(#:cabal-revision
10850 ("1" "0kax1ypjyglkn6iff1x4yz12y7f2n249m95xvdhrc63hsa4xlcqv")))
10851 (home-page "https://hackage.haskell.org/package/size-based")
10852 (synopsis "Sized functors for size-based enumerations")
10853 (description "This library provides a framework for size-based
10854enumerations.")
10855 (license license:bsd-3)))
10856
dddbc90c
RV
10857(define-public ghc-skylighting-core
10858 (package
10859 (name "ghc-skylighting-core")
1826c2a8 10860 (version "0.8.2.1")
dddbc90c
RV
10861 (source (origin
10862 (method url-fetch)
10863 (uri (string-append "https://hackage.haskell.org/package/"
10864 "skylighting-core/skylighting-core-"
10865 version ".tar.gz"))
10866 (sha256
10867 (base32
1826c2a8 10868 "0hdchivb4af9w7v5v7lrwfwawd3kcwmpzk69m1vkkm3pis8lcr1s"))))
dddbc90c
RV
10869 (build-system haskell-build-system)
10870 (inputs
10871 `(("ghc-aeson" ,ghc-aeson)
10872 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
10873 ("ghc-attoparsec" ,ghc-attoparsec)
10874 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
10875 ("ghc-blaze-html" ,ghc-blaze-html)
10876 ("ghc-case-insensitive" ,ghc-case-insensitive)
10877 ("ghc-colour" ,ghc-colour)
10878 ("ghc-hxt" ,ghc-hxt)
10879 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
10880 ("ghc-safe" ,ghc-safe)
10881 ("ghc-utf8-string" ,ghc-utf8-string)))
10882 (native-inputs
10883 `(("ghc-diff" ,ghc-diff)
10884 ("ghc-hunit" ,ghc-hunit)
10885 ("ghc-pretty-show" ,ghc-pretty-show)
10886 ("ghc-quickcheck" ,ghc-quickcheck)
10887 ("ghc-tasty" ,ghc-tasty)
10888 ("ghc-tasty-golden" ,ghc-tasty-golden)
10889 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10890 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
10891 (home-page "https://github.com/jgm/skylighting")
10892 (synopsis "Syntax highlighting library")
10893 (description "Skylighting is a syntax highlighting library with support
10894for over one hundred languages. It derives its tokenizers from XML syntax
10895definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
10896supported by that framework can be added. An optional command-line program is
10897provided. Skylighting is intended to be the successor to highlighting-kate.")
10898 (license license:gpl2)))
10899
10900(define-public ghc-skylighting
10901 (package
10902 (inherit ghc-skylighting-core)
10903 (name "ghc-skylighting")
36c940cf 10904 (version "0.8.2.1")
dddbc90c
RV
10905 (source (origin
10906 (method url-fetch)
10907 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
10908 version "/skylighting-" version ".tar.gz"))
10909 (sha256
10910 (base32
36c940cf 10911 "1xls8ycad77m55ax4hp55k60h3pi5sm3m32hycbc8baixbgfx5xz"))))
dddbc90c
RV
10912 (inputs
10913 `(("ghc-skylighting-core" ,ghc-skylighting-core)
10914 ,@(package-inputs ghc-skylighting-core)))))
10915
10916(define-public ghc-smallcheck
10917 (package
10918 (name "ghc-smallcheck")
10919 (version "1.1.5")
10920 (source
10921 (origin
10922 (method url-fetch)
10923 (uri (string-append
10924 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
10925 version
10926 ".tar.gz"))
10927 (sha256
10928 (base32
10929 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
10930 (build-system haskell-build-system)
10931 (inputs
10932 `(("ghc-logict" ,ghc-logict)))
10933 (home-page
10934 "https://github.com/feuerbach/smallcheck")
10935 (synopsis "Property-based testing library")
a84be333 10936 (description "SmallCheck is a testing library that verifies
dddbc90c
RV
10937properties for all test cases up to some depth. The test cases are generated
10938automatically by SmallCheck.")
10939 (license license:bsd-3)))
10940
10941(define-public ghc-socks
10942 (package
10943 (name "ghc-socks")
ab761e9d 10944 (version "0.6.1")
dddbc90c
RV
10945 (source (origin
10946 (method url-fetch)
10947 (uri (string-append "https://hackage.haskell.org/package/"
10948 "socks/socks-" version ".tar.gz"))
10949 (sha256
10950 (base32
ab761e9d 10951 "0wvaxy3dkv97wrncjv1rxrmjr4014hgxz82kixvcwqdhidalfi3k"))))
dddbc90c
RV
10952 (build-system haskell-build-system)
10953 (inputs
10954 `(("ghc-cereal" ,ghc-cereal)
ab761e9d 10955 ("ghc-basement" ,ghc-basement)
dddbc90c
RV
10956 ("ghc-network" ,ghc-network)))
10957 (home-page "https://github.com/vincenthz/hs-socks")
10958 (synopsis "SOCKS proxy (version 5) implementation")
10959 (description
10960 "This library provides a SOCKS proxy (version 5) implementation.")
10961 (license license:bsd-3)))
10962
081d85d6
TS
10963(define-public ghc-sop-core
10964 (package
10965 (name "ghc-sop-core")
10966 (version "0.4.0.0")
10967 (source
10968 (origin
10969 (method url-fetch)
10970 (uri (string-append "https://hackage.haskell.org/package/"
10971 "sop-core/sop-core-" version ".tar.gz"))
10972 (sha256
10973 (base32
10974 "07ci2mh8cbjvipb576rxsj3iyhkj5c5dnsns4xkdppp2p3pv10d3"))))
10975 (build-system haskell-build-system)
3ef91e15 10976 (home-page "https://hackage.haskell.org/package/sop-core")
081d85d6
TS
10977 (synopsis "True Sums of Products")
10978 (description "This package provides an implementation of
10979@math{n}-ary sums and @math{n}-ary products. The module @code{Data.SOP}
10980is the main module of this library and contains more detailed
10981documentation. The main use case of this package is to serve as the
10982core of @url{https://hackage.haskell.org/package/generics-sop,
10983generics-sop}.")
10984 (license license:bsd-3)))
10985
dddbc90c
RV
10986(define-public ghc-split
10987 (package
10988 (name "ghc-split")
10989 (version "0.2.3.3")
10990 (outputs '("out" "doc"))
10991 (source
10992 (origin
10993 (method url-fetch)
10994 (uri (string-append
10995 "https://hackage.haskell.org/package/split/split-"
10996 version
10997 ".tar.gz"))
10998 (sha256
10999 (base32
11000 "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x"))))
11001 (build-system haskell-build-system)
9bbc21a7
TS
11002 (arguments
11003 `(#:cabal-revision
11004 ("2" "1c8bcssxq5rkxkixgms6w6x6lzf4n7cxk6cx6av1dp3lixdy9j34")))
dddbc90c
RV
11005 (native-inputs
11006 `(("ghc-quickcheck" ,ghc-quickcheck)))
11007 (home-page "https://hackage.haskell.org/package/split")
11008 (synopsis "Combinator library for splitting lists")
11009 (description "This package provides a collection of Haskell functions for
11010splitting lists into parts, akin to the @code{split} function found in several
11011mainstream languages.")
11012 (license license:bsd-3)))
11013
7799d17f 11014(define-public ghc-splitmix
49367c92 11015 (package
7799d17f 11016 (name "ghc-splitmix")
49367c92
TS
11017 (version "0.0.3")
11018 (source
11019 (origin
11020 (method url-fetch)
11021 (uri (string-append "https://hackage.haskell.org/package/"
11022 "splitmix/splitmix-" version ".tar.gz"))
11023 (sha256
11024 (base32
11025 "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w"))))
49367c92 11026 (build-system haskell-build-system)
49367c92
TS
11027 (inputs
11028 `(("ghc-random" ,ghc-random)))
7799d17f
TS
11029 (native-inputs
11030 `(("ghc-hunit" ,ghc-hunit)
11031 ("ghc-async" ,ghc-async)
11032 ("ghc-base-compat-batteries" ,ghc-base-compat-batteries)
11033 ("ghc-tf-random" ,ghc-tf-random)
11034 ("ghc-vector" ,ghc-vector)))
92a79fee 11035 (home-page "https://hackage.haskell.org/package/splitmix")
49367c92
TS
11036 (synopsis "Fast and splittable pseudorandom number generator")
11037 (description "This package provides a Pure Haskell implementation of the
11038SplitMix pseudorandom number generator. SplitMix is a \"splittable\"
11039pseudorandom number generator that is quite fast: 9 64-bit
11040arithmetic/logical operations per 64 bits generated. SplitMix is tested
11041with two standard statistical test suites (DieHarder and TestU01, this
11042implementation only using the former) and it appears to be adequate for
11043\"everyday\" use, such as Monte Carlo algorithms and randomized data
11044structures where speed is important. In particular, it @strong{should not
11045be used for cryptographic or security applications}, because generated
11046sequences of pseudorandom values are too predictable (the mixing functions
11047are easily inverted, and two successive outputs suffice to reconstruct the
11048internal state).")
11049 (license license:bsd-3)))
11050
7799d17f
TS
11051(define-public ghc-splitmix-bootstrap
11052 (package
11053 (inherit ghc-splitmix)
11054 (name "ghc-splitmix-bootstrap")
11055 (arguments `(#:tests? #f))
11056 (native-inputs '())
11057 (properties '((hidden? #t)))))
11058
dddbc90c
RV
11059(define-public ghc-statevar
11060 (package
11061 (name "ghc-statevar")
19419709 11062 (version "1.2")
dddbc90c
RV
11063 (source
11064 (origin
11065 (method url-fetch)
11066 (uri (string-append
11067 "https://hackage.haskell.org/package/StateVar/StateVar-"
11068 version
11069 ".tar.gz"))
11070 (sha256
11071 (base32
19419709 11072 "12sz6zkc9j5z3lwrjvljrkfxa5vhwnir5wsarigz2f6d3w13dh5g"))))
dddbc90c
RV
11073 (build-system haskell-build-system)
11074 (home-page "https://hackage.haskell.org/package/StateVar")
11075 (synopsis "State variables for Haskell")
11076 (description "This package provides state variables, which are references
11077in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
11078 (license license:bsd-3)))
11079
11080(define-public ghc-statistics
11081 (package
11082 (name "ghc-statistics")
60e78e68 11083 (version "0.15.1.1")
dddbc90c
RV
11084 (source
11085 (origin
11086 (method url-fetch)
11087 (uri (string-append "https://hackage.haskell.org/package/"
11088 "statistics-" version "/"
11089 "statistics-" version ".tar.gz"))
11090 (sha256
11091 (base32
60e78e68 11092 "015rn74f1glii26j4b2fh1fc63xvxzrh2xckiancz48kc8jdzabj"))))
dddbc90c
RV
11093 (build-system haskell-build-system)
11094 (arguments
60e78e68 11095 '(;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse".
dddbc90c
RV
11096 #:tests? #f))
11097 (inputs
11098 `(("ghc-aeson" ,ghc-aeson)
60e78e68 11099 ("ghc-async" ,ghc-async)
dddbc90c 11100 ("ghc-base-orphans" ,ghc-base-orphans)
60e78e68 11101 ("ghc-dense-linear-algebra" ,ghc-dense-linear-algebra)
dddbc90c
RV
11102 ("ghc-math-functions" ,ghc-math-functions)
11103 ("ghc-monad-par" ,ghc-monad-par)
11104 ("ghc-mwc-random" ,ghc-mwc-random)
11105 ("ghc-primitive" ,ghc-primitive)
11106 ("ghc-vector" ,ghc-vector)
11107 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
11108 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
11109 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
11110 (native-inputs
11111 `(("ghc-hunit" ,ghc-hunit)
11112 ("ghc-quickcheck" ,ghc-quickcheck)
11113 ("ghc-ieee754" ,ghc-ieee754)
11114 ("ghc-test-framework" ,ghc-test-framework)
11115 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11116 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
11117 (home-page "https://github.com/bos/mwc-random")
11118 (synopsis "Haskell library of statistical types, data, and functions")
11119 (description "This library provides a number of common functions
11120and types useful in statistics. We focus on high performance, numerical
11121robustness, and use of good algorithms. Where possible, we provide references
11122to the statistical literature.
11123
11124The library's facilities can be divided into four broad categories:
11125
11126@itemize
11127@item Working with widely used discrete and continuous probability
11128distributions. (There are dozens of exotic distributions in use; we focus
11129on the most common.)
11130
11131@item Computing with sample data: quantile estimation, kernel density
11132estimation, histograms, bootstrap methods, significance testing,
11133and regression and autocorrelation analysis.
11134
11135@item Random variate generation under several different distributions.
11136
11137@item Common statistical tests for significant differences between samples.
11138@end itemize")
11139 (license license:bsd-2)))
11140
11141(define-public ghc-stm-chans
11142 (package
11143 (name "ghc-stm-chans")
11144 (version "3.0.0.4")
11145 (source
11146 (origin
11147 (method url-fetch)
11148 (uri (string-append "https://hackage.haskell.org/package/"
11149 "stm-chans-" version "/"
11150 "stm-chans-" version ".tar.gz"))
11151 (sha256
11152 (base32
11153 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
11154 (build-system haskell-build-system)
11155 (home-page "https://hackage.haskell.org/package/stm-chans")
11156 (synopsis "Additional types of channels for ghc-stm")
11157 (description "This Haskell package offers a collection of channel types,
11158similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
11159features.")
11160 (license license:bsd-3)))
11161
11162(define-public ghc-stm-conduit
11163 (package
11164 (name "ghc-stm-conduit")
cd518e95 11165 (version "4.0.1")
dddbc90c
RV
11166 (source
11167 (origin
11168 (method url-fetch)
11169 (uri (string-append "https://hackage.haskell.org/package/stm-conduit/"
11170 "stm-conduit-" version ".tar.gz"))
11171 (sha256
11172 (base32
cd518e95 11173 "0hhlxvpp7mah8dcvkknh6skx44jfk3092zz2w52zlr255bkmn3p8"))))
dddbc90c
RV
11174 (build-system haskell-build-system)
11175 (inputs
11176 `(("ghc-stm-chans" ,ghc-stm-chans)
11177 ("ghc-cereal" ,ghc-cereal)
11178 ("ghc-cereal-conduit" ,ghc-cereal-conduit)
11179 ("ghc-conduit" ,ghc-conduit)
11180 ("ghc-conduit-extra" ,ghc-conduit-extra)
11181 ("ghc-exceptions" ,ghc-exceptions)
11182 ("ghc-resourcet" ,ghc-resourcet)
11183 ("ghc-async" ,ghc-async)
11184 ("ghc-monad-loops" ,ghc-monad-loops)
11185 ("ghc-unliftio" ,ghc-unliftio)))
11186 (native-inputs
11187 `(("ghc-doctest" ,ghc-doctest)
11188 ("ghc-quickcheck" ,ghc-quickcheck)
11189 ("ghc-hunit" ,ghc-hunit)
11190 ("ghc-test-framework" ,ghc-test-framework)
11191 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11192 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
11193 (home-page "https://github.com/cgaebel/stm-conduit")
11194 (synopsis "Introduces conduits to channels and promotes using conduits concurrently")
11195 (description
11196 "This package provides two simple conduit wrappers around STM channels: a
11197source and a sink.")
11198 (license license:bsd-3)))
11199
11200(define-public ghc-stmonadtrans
11201 (package
11202 (name "ghc-stmonadtrans")
11203 (version "0.4.3")
11204 (source
11205 (origin
11206 (method url-fetch)
11207 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
11208 "/STMonadTrans-" version ".tar.gz"))
11209 (sha256
11210 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
11211 (build-system haskell-build-system)
11212 (home-page "https://hackage.haskell.org/package/STMonadTrans")
11213 (synopsis "Monad transformer version of the ST monad")
11214 (description
11215 "This package provides a monad transformer version of the @code{ST} monad
11216for strict state threads.")
11217 (license license:bsd-3)))
11218
11219(define-public ghc-storable-complex
11220 (package
11221 (name "ghc-storable-complex")
4a35e3c3 11222 (version "0.2.3.0")
dddbc90c
RV
11223 (source
11224 (origin
11225 (method url-fetch)
11226 (uri (string-append
11227 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
11228 version ".tar.gz"))
11229 (sha256
4a35e3c3 11230 (base32 "0fnwbfmd5vsaaqvf9182qdcjrzcfjd1zhdyvjwzifbwvn6r9kx4s"))))
dddbc90c 11231 (build-system haskell-build-system)
4a35e3c3
TS
11232 (inputs
11233 `(("ghc-base-orphans" ,ghc-base-orphans)))
dddbc90c
RV
11234 (home-page "https://github.com/cartazio/storable-complex")
11235 (synopsis "Haskell Storable instance for Complex")
11236 (description "This package provides a Haskell library including a
11237Storable instance for Complex which is binary compatible with C99, C++
11238and Fortran complex data types.")
11239 (license license:bsd-3)))
11240
ad80074a
JS
11241(define-public ghc-storable-record
11242 (package
11243 (name "ghc-storable-record")
11244 (version "0.0.4")
11245 (source
11246 (origin
11247 (method url-fetch)
11248 (uri
11249 (string-append
11250 "https://hackage.haskell.org/package/storable-record/"
11251 "storable-record-" version ".tar.gz"))
11252 (sha256
11253 (base32
11254 "0hjs1km0fc9ch0i1rbycxia5w3939hk4p4md73ikgg4aipqb5zyf"))))
11255 (build-system haskell-build-system)
11256 (inputs
11257 `(("ghc-semigroups" ,ghc-semigroups)
11258 ("ghc-utility-ht" ,ghc-utility-ht)
11259 ("ghc-storablevector" ,ghc-storablevector)
11260 ("ghc-timeit" ,ghc-timeit)))
11261 (home-page "https://hackage.haskell.org/package/storable-record")
11262 (synopsis "Elegant definition of Storable instances for records")
11263 (description "With this package you can build a Storable instance of
11264a record type from Storable instances of its elements in an elegant way.
11265It does not do any magic, just a bit arithmetic to compute the right
11266offsets, that would be otherwise done manually or by a preprocessor like
11267C2HS. There is no guarantee that the generated memory layout is
11268compatible with that of a corresponding C struct. However, the module
11269generates the smallest layout that is possible with respect to the
11270alignment of the record elements.")
11271 (license license:bsd-3)))
11272
55f4c653
JS
11273(define-public ghc-storable-tuple
11274 (package
11275 (name "ghc-storable-tuple")
11276 (version "0.0.3.3")
11277 (source
11278 (origin
11279 (method url-fetch)
11280 (uri
11281 (string-append
11282 "https://hackage.haskell.org/package/storable-tuple/"
11283 "storable-tuple-" version ".tar.gz"))
11284 (sha256
11285 (base32
11286 "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw"))))
11287 (build-system haskell-build-system)
11288 (inputs
11289 `(("ghc-storable-record" ,ghc-storable-record)
11290 ("ghc-utility-ht" ,ghc-utility-ht)
11291 ("ghc-base-orphans" ,ghc-base-orphans)))
11292 (home-page "https://hackage.haskell.org/package/storable-tuple")
11293 (synopsis "Storable instance for pairs and triples")
11294 (description "This package provides a Storable instance for pairs
11295and triples which should be binary compatible with C99 and C++. The
11296only purpose of this package is to provide a standard location for this
11297instance so that other packages needing this instance can play nicely
11298together.")
11299 (license license:bsd-3)))
11300
bc06ca45
JS
11301(define-public ghc-storablevector
11302 (package
11303 (name "ghc-storablevector")
11304 (version "0.2.13")
11305 (source
11306 (origin
11307 (method url-fetch)
11308 (uri
11309 (string-append
11310 "https://hackage.haskell.org/package/storablevector/storablevector-"
11311 version ".tar.gz"))
11312 (sha256
11313 (base32
11314 "1zmr738vwnhnyxbikayqnaz31ilv2qlmscp6iqgl7adcfbal4dzq"))))
11315 (build-system haskell-build-system)
11316 (inputs
11317 `(("ghc-non-negative" ,ghc-non-negative)
11318 ("ghc-utility-ht" ,ghc-utility-ht)
11319 ("ghc-semigroups" ,ghc-semigroups)
11320 ("ghc-unsafe" ,ghc-unsafe)
11321 ("ghc-quickcheck" ,ghc-quickcheck)
11322 ("ghc-syb" ,ghc-syb)))
11323 (home-page "https://www.haskell.org/haskellwiki/Storable_Vector")
11324 (synopsis "Fast, packed, strict storable arrays with a list interface")
11325 (description "This library provides fast, packed, strict storable
11326arrays with a list interface, a chunky lazy list interface with variable
11327chunk size and an interface for write access via the ST monad. This is
11328much like bytestring and binary but can be used for every
11329@code{Foreign.Storable.Storable} type. See also
11330@url{http://hackage.haskell.org/package/vector}, a library with a
11331similar intention.
11332
11333This library does not do advanced fusion optimization, since especially
11334for lazy vectors this would either be incorrect or not applicable. See
11335@url{http://hackage.haskell.org/package/storablevector-streamfusion} for
11336a library that provides fusion with lazy lists.")
11337 (license license:bsd-3)))
11338
dddbc90c
RV
11339(define-public ghc-streaming-commons
11340 (package
11341 (name "ghc-streaming-commons")
11342 (version "0.2.1.1")
11343 (source
11344 (origin
11345 (method url-fetch)
11346 (uri (string-append "https://hackage.haskell.org/package/"
11347 "streaming-commons/streaming-commons-"
11348 version ".tar.gz"))
11349 (sha256
11350 (base32
11351 "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52"))))
11352 (build-system haskell-build-system)
11353 (inputs
11354 `(("ghc-async" ,ghc-async)
11355 ("ghc-blaze-builder" ,ghc-blaze-builder)
11356 ("ghc-network" ,ghc-network)
11357 ("ghc-random" ,ghc-random)
11358 ("ghc-zlib" ,ghc-zlib)))
11359 (native-inputs
11360 `(("ghc-quickcheck" ,ghc-quickcheck)
11361 ("ghc-hspec" ,ghc-hspec)
11362 ("hspec-discover" ,hspec-discover)))
11363 (home-page "https://hackage.haskell.org/package/streaming-commons")
11364 (synopsis "Conduit and pipes needed by some streaming data libraries")
11365 (description "This package provides low-dependency functionality commonly
11366needed by various Haskell streaming data libraries, such as @code{conduit} and
11367@code{pipe}s.")
11368 (license license:expat)))
11369
11370(define-public ghc-strict
11371 (package
11372 (name "ghc-strict")
11373 (version "0.3.2")
11374 (source
11375 (origin
11376 (method url-fetch)
11377 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
11378 version ".tar.gz"))
11379 (sha256
11380 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
11381 (build-system haskell-build-system)
11382 (home-page "https://hackage.haskell.org/package/strict")
11383 (synopsis "Strict data types and String IO")
11384 (description
11385 "This package provides strict versions of some standard Haskell data
11386types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
11387IO operations.")
11388 (license license:bsd-3)))
11389
11390(define-public ghc-stringbuilder
11391 (package
11392 (name "ghc-stringbuilder")
11393 (version "0.5.1")
11394 (source
11395 (origin
11396 (method url-fetch)
11397 (uri (string-append
11398 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
11399 version
11400 ".tar.gz"))
11401 (sha256
11402 (base32
11403 "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q"))))
11404 (build-system haskell-build-system)
11405 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
11406 ; enabled
11407 (home-page "https://hackage.haskell.org/package/stringbuilder")
11408 (synopsis "Writer monad for multi-line string literals")
11409 (description "This package provides a writer monad for multi-line string
11410literals.")
11411 (license license:expat)))
11412
11413(define-public ghc-string-qq
11414 (package
11415 (name "ghc-string-qq")
4d6fddc3 11416 (version "0.0.4")
dddbc90c
RV
11417 (source
11418 (origin
11419 (method url-fetch)
11420 (uri (string-append
11421 "https://hackage.haskell.org/package/string-qq/string-qq-"
11422 version
11423 ".tar.gz"))
11424 (sha256
11425 (base32
4d6fddc3 11426 "0wfxkw4x6j6jq9nd82k83g2k3hskpsvk1dp4cpkshvjr4wg9qny8"))))
dddbc90c 11427 (build-system haskell-build-system)
4d6fddc3
TS
11428 (native-inputs
11429 `(("ghc-hunit" ,ghc-hunit)))
3ef91e15 11430 (home-page "https://hackage.haskell.org/package/string-qq")
dddbc90c
RV
11431 (synopsis
11432 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
11433 (description
11434 "This package provides a quasiquoter for non-interpolated strings, texts
11435and bytestrings.")
11436 (license license:public-domain)))
11437
11438(define-public ghc-stringsearch
11439 (package
11440 (name "ghc-stringsearch")
11441 (version "0.3.6.6")
11442 (source
11443 (origin
11444 (method url-fetch)
11445 (uri (string-append
11446 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
11447 version
11448 ".tar.gz"))
11449 (sha256
11450 (base32
11451 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
11452 (build-system haskell-build-system)
e2303abb
TS
11453 (arguments
11454 `(#:cabal-revision
11455 ("1" "0z5pz5dccapz9k39r2zmf056m0x2m2lj3jahhnw3mfxlmps07378")))
dddbc90c
RV
11456 (home-page "https://bitbucket.org/dafis/stringsearch")
11457 (synopsis "Fast searching, splitting and replacing of ByteStrings")
11458 (description "This package provides several functions to quickly search
11459for substrings in strict or lazy @code{ByteStrings}. It also provides
11460functions for breaking or splitting on substrings and replacing all
11461occurrences of a substring (the first in case of overlaps) with another.")
11462 (license license:bsd-3)))
11463
dcf3f8f4
TS
11464(define-public ghc-svg-builder
11465 (package
11466 (name "ghc-svg-builder")
11467 (version "0.1.1")
11468 (source
11469 (origin
11470 (method url-fetch)
11471 (uri (string-append "https://hackage.haskell.org/package/"
11472 "svg-builder/svg-builder-" version ".tar.gz"))
11473 (sha256
11474 (base32
11475 "1k420f497lzkymmxin88ql6ib8dziic43avykv31yq65rgrf7l2g"))))
11476 (build-system haskell-build-system)
11477 (inputs
11478 `(("ghc-blaze-builder" ,ghc-blaze-builder)
11479 ("ghc-hashable" ,ghc-hashable)
11480 ("ghc-unordered-containers" ,ghc-unordered-containers)))
11481 (arguments
11482 `(#:cabal-revision
11483 ("1" "1bhp9gvid2iis411k1vvyj5krzc4ahxcqcd9cwx9h37jxg180xw1")))
11484 (home-page "https://github.com/diagrams/svg-builder.git")
11485 (synopsis "Domain-specific language for building Scalable Vector Graphics")
11486 (description "Easy-to-write domain-specific language (DSL) for
11487building Scalable Vector Graphics (SVG).")
11488 (license license:bsd-3)))
11489
dddbc90c
RV
11490(define-public ghc-syb
11491 (package
11492 (name "ghc-syb")
07d65eef 11493 (version "0.7.1")
dddbc90c
RV
11494 (outputs '("out" "doc"))
11495 (source
11496 (origin
11497 (method url-fetch)
11498 (uri (string-append
11499 "https://hackage.haskell.org/package/syb/syb-"
11500 version
11501 ".tar.gz"))
11502 (sha256
11503 (base32
07d65eef 11504 "0077vxzyi9ppbphi2ialac3p376k49qly1kskdgf57wdwix9qjp0"))))
dddbc90c
RV
11505 (build-system haskell-build-system)
11506 (inputs
11507 `(("ghc-hunit" ,ghc-hunit)))
11508 (home-page
11509 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
11510 (synopsis "Scrap Your Boilerplate")
11511 (description "This package contains the generics system described in the
11512/Scrap Your Boilerplate/ papers (see
11513@uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
11514defines the @code{Data} class of types permitting folding and unfolding of
11515constructor applications, instances of this class for primitive types, and a
11516variety of traversals.")
11517 (license license:bsd-3)))
11518
11519(define-public ghc-system-fileio
11520 (package
11521 (name "ghc-system-fileio")
dcfb99d4 11522 (version "0.3.16.4")
dddbc90c
RV
11523 (source
11524 (origin
11525 (method url-fetch)
11526 (uri (string-append
11527 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
11528 version ".tar.gz"))
11529 (sha256
11530 (base32
dcfb99d4 11531 "1iy6g1f35gzyj12g9mdiw4zf75mmxpv1l8cyaldgyscsl648pr9l"))))
dddbc90c 11532 (build-system haskell-build-system)
dcfb99d4
TS
11533 (arguments
11534 `(#:phases
11535 (modify-phases %standard-phases
11536 (add-before 'configure 'update-constraints
11537 (lambda _
11538 (substitute* "system-fileio.cabal"
11539 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4"))
11540 #t)))))
dddbc90c
RV
11541 (inputs
11542 `(("ghc-system-filepath" ,ghc-system-filepath)
11543 ("ghc-chell" ,ghc-chell)
11544 ("ghc-temporary" ,ghc-temporary)))
11545 (home-page "https://github.com/fpco/haskell-filesystem")
11546 (synopsis "Consistent file system interaction across GHC versions")
11547 (description
11548 "This is a small wrapper around the directory, unix, and Win32 packages,
11549for use with system-filepath. It provides a consistent API to the various
11550versions of these packages distributed with different versions of GHC.
11551In particular, this library supports working with POSIX files that have paths
11552which can't be decoded in the current locale encoding.")
11553 (license license:expat)))
11554
11555;; See ghc-system-filepath-bootstrap. In addition this package depends on
11556;; ghc-system-filepath.
11557(define ghc-system-fileio-bootstrap
11558 (package
11559 (name "ghc-system-fileio-bootstrap")
11560 (version "0.3.16.3")
11561 (source
11562 (origin
11563 (method url-fetch)
11564 (uri (string-append
11565 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
11566 version ".tar.gz"))
11567 (sha256
11568 (base32
11569 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
11570 (build-system haskell-build-system)
11571 (arguments
11572 `(#:tests? #f))
11573 (inputs
11574 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
11575 ("ghc-temporary" ,ghc-temporary)))
11576 (home-page "https://github.com/fpco/haskell-filesystem")
11577 (synopsis "Consistent file system interaction across GHC versions")
11578 (description
11579 "This is a small wrapper around the directory, unix, and Win32 packages,
11580for use with system-filepath. It provides a consistent API to the various
11581versions of these packages distributed with different versions of GHC.
11582In particular, this library supports working with POSIX files that have paths
11583which can't be decoded in the current locale encoding.")
11584 (license license:expat)))
11585
11586
11587(define-public ghc-system-filepath
11588 (package
11589 (name "ghc-system-filepath")
11590 (version "0.4.14")
11591 (source
11592 (origin
11593 (method url-fetch)
11594 (uri (string-append
11595 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
11596 version ".tar.gz"))
11597 (sha256
11598 (base32
11599 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
11600 (build-system haskell-build-system)
11601 ;; FIXME: One of the tests fails:
11602 ;; [ FAIL ] tests.validity.posix
11603 ;; note: seed=7310214548328823169
11604 ;; *** Failed! Falsifiable (after 24 tests):
11605 ;; FilePath "/r2\ENQ52\t ;$/o\US=/okG\146\&6\n<u\DC3/5\182\223a\DELN\EOT#\NUL/`[m/\USEKV\ETX([)b6/\ACK\SOo\245\ETBO/f\128\STX`|\EM\"/*\EMA\USD3/\143\&4/\CAN?\SUBee\CANR/9/B0\187Kx4/Vqr\232'b:/\a\234\DLE.\"\179/\ENQ{J/|/G)@^\237/\219ml/\DC3pd\ESC"
11606 (arguments `(#:tests? #f))
11607 (inputs
11608 `(("ghc-chell" ,ghc-chell)
11609 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
11610 ("ghc-quickcheck" ,ghc-quickcheck)))
11611 (home-page "https://github.com/fpco/haskell-filesystem")
11612 (synopsis "High-level, byte-based file and directory path manipulations")
11613 (description
11614 "Provides a FilePath datatype and utility functions for operating on it.
11615Unlike the filepath package, this package does not simply reuse String,
11616increasing type safety.")
11617 (license license:expat)))
11618
11619;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
11620;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
11621;; which depends on ghc-chell and ghc-chell-quickcheck.
11622;; Therefore we bootstrap it with tests disabled.
11623(define ghc-system-filepath-bootstrap
11624 (package
11625 (name "ghc-system-filepath-bootstrap")
11626 (version "0.4.14")
11627 (source
11628 (origin
11629 (method url-fetch)
11630 (uri (string-append
11631 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
11632 version ".tar.gz"))
11633 (sha256
11634 (base32
11635 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
11636 (build-system haskell-build-system)
11637 (arguments
11638 `(#:tests? #f))
11639 (inputs
11640 `(("ghc-quickcheck" ,ghc-quickcheck)))
11641 (home-page "https://github.com/fpco/haskell-filesystem")
11642 (synopsis "High-level, byte-based file and directory path manipulations")
11643 (description
11644 "Provides a FilePath datatype and utility functions for operating on it.
11645Unlike the filepath package, this package does not simply reuse String,
11646increasing type safety.")
11647 (license license:expat)))
11648
11649
11650(define-public ghc-tagged
11651 (package
11652 (name "ghc-tagged")
f0f3756a 11653 (version "0.8.6")
dddbc90c
RV
11654 (source
11655 (origin
11656 (method url-fetch)
11657 (uri (string-append
11658 "https://hackage.haskell.org/package/tagged/tagged-"
11659 version
11660 ".tar.gz"))
11661 (sha256
11662 (base32
f0f3756a 11663 "1pciqzxf9ncv954v4r527xkxkn7r5hcr13mfw5dg1xjci3qdw5md"))))
dddbc90c
RV
11664 (build-system haskell-build-system)
11665 (arguments
11666 `(#:cabal-revision
f0f3756a 11667 ("1" "070xwfw7y81hd63il76dmwbdl9ca1rd07c54zynfx6vpr4wyx4vh")))
dddbc90c
RV
11668 (inputs
11669 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
11670 (home-page "https://hackage.haskell.org/package/tagged")
11671 (synopsis "Haskell phantom types to avoid passing dummy arguments")
11672 (description "This library provides phantom types for Haskell 98, to avoid
11673having to unsafely pass dummy arguments.")
11674 (license license:bsd-3)))
11675
11676(define-public ghc-tar
11677 (package
11678 (name "ghc-tar")
ec83929f 11679 (version "0.5.1.1")
dddbc90c
RV
11680 (source
11681 (origin
11682 (method url-fetch)
11683 (uri (string-append
11684 "https://hackage.haskell.org/package/tar/tar-"
11685 version ".tar.gz"))
11686 (sha256
11687 (base32
ec83929f 11688 "1ppim7cgmn7ng8zbdrwkxhhizc30h15h1c9cdlzamc5jcagl915k"))))
dddbc90c
RV
11689 (build-system haskell-build-system)
11690 ;; FIXME: 2/24 tests fail.
11691 (arguments `(#:tests? #f))
11692 (inputs
11693 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
11694 ("ghc-quickcheck" ,ghc-quickcheck)
11695 ("ghc-tasty" ,ghc-tasty)
11696 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
11697 (home-page "https://hackage.haskell.org/package/tar")
11698 (synopsis "Reading, writing and manipulating \".tar\" archive files")
11699 (description
11700 "This library is for working with \\\"@.tar@\\\" archive files.
11701It can read and write a range of common variations of the tar archive format
11702including V7, POSIX USTAR and GNU formats. It provides support for packing and
11703unpacking portable archives. This makes it suitable for distribution but not
11704backup because details like file ownership and exact permissions are not
11705preserved. It also provides features for random access to archive content using
11706an index.")
11707 (license license:bsd-3)))
11708
f8d17902
TS
11709(define-public ghc-tar-conduit
11710 (package
11711 (name "ghc-tar-conduit")
11712 (version "0.3.2")
11713 (source
11714 (origin
11715 (method url-fetch)
11716 (uri (string-append "https://hackage.haskell.org/package/"
11717 "tar-conduit/tar-conduit-" version ".tar.gz"))
11718 (sha256
11719 (base32
11720 "0bgn3hyf20g1gfnzy8f41s7nj54kfcyjk2izw99svrw8f3dphi80"))))
11721 (build-system haskell-build-system)
11722 (inputs
11723 `(("ghc-conduit" ,ghc-conduit)
11724 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
11725 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
11726 (native-inputs
11727 `(("ghc-quickcheck" ,ghc-quickcheck)
11728 ("ghc-conduit-extra" ,ghc-conduit-extra)
11729 ("ghc-hspec" ,ghc-hspec)
11730 ("ghc-hspec" ,ghc-hspec)
11731 ("ghc-weigh" ,ghc-weigh)))
11732 (home-page "https://github.com/snoyberg/tar-conduit#readme")
11733 (synopsis "Extract and create tar files using conduit for streaming")
11734 (description "This library provides a conduit-based, streaming
11735interface for extracting and creating tar files.")
11736 (license license:expat)))
11737
dddbc90c
RV
11738(define-public ghc-temporary
11739 (package
11740 (name "ghc-temporary")
11741 (version "1.3")
11742 (source
11743 (origin
11744 (method url-fetch)
11745 (uri (string-append
11746 "https://hackage.haskell.org/package/temporary/temporary-"
11747 version
11748 ".tar.gz"))
11749 (sha256
11750 (base32
11751 "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c"))))
11752 (build-system haskell-build-system)
11753 (inputs
11754 `(("ghc-exceptions" ,ghc-exceptions)
11755 ("ghc-random" ,ghc-random)))
11756 (native-inputs
11757 `(("ghc-base-compat" ,ghc-base-compat)
11758 ("ghc-tasty" ,ghc-tasty)
11759 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
11760 (home-page "https://www.github.com/batterseapower/temporary")
11761 (synopsis "Temporary file and directory support")
11762 (description "The functions for creating temporary files and directories
11763in the Haskelll base library are quite limited. This library just repackages
11764the Cabal implementations of its own temporary file and folder functions so
11765that you can use them without linking against Cabal or depending on it being
11766installed.")
11767 (license license:bsd-3)))
11768
11769(define-public ghc-temporary-rc
11770 (package
11771 (name "ghc-temporary-rc")
11772 (version "1.2.0.3")
11773 (source
11774 (origin
11775 (method url-fetch)
11776 (uri (string-append
11777 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
11778 version
11779 ".tar.gz"))
11780 (sha256
11781 (base32
11782 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
11783 (build-system haskell-build-system)
11784 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
11785 (home-page
11786 "https://www.github.com/feuerbach/temporary")
11787 (synopsis
11788 "Portable temporary file and directory support")
11789 (description
11790 "The functions for creating temporary files and directories in the base
11791library are quite limited. The unixutils package contains some good ones, but
11792they aren't portable to Windows. This library just repackages the Cabal
11793implementations of its own temporary file and folder functions so that you can
11794use them without linking against Cabal or depending on it being installed.
11795This is a better maintained fork of the \"temporary\" package.")
11796 (license license:bsd-3)))
11797
11798(define-public ghc-terminal-size
11799 (package
11800 (name "ghc-terminal-size")
11801 (version "0.3.2.1")
11802 (source (origin
11803 (method url-fetch)
11804 (uri (string-append
11805 "https://hackage.haskell.org/package/terminal-size/"
11806 "terminal-size-" version ".tar.gz"))
11807 (sha256
11808 (base32
11809 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
11810 (build-system haskell-build-system)
11811 (home-page "https://hackage.haskell.org/package/terminal-size")
11812 (synopsis "Get terminal window height and width")
11813 (description "Get terminal window height and width without ncurses
11814dependency.")
11815 (license license:bsd-3)))
11816
11817(define-public ghc-texmath
11818 (package
11819 (name "ghc-texmath")
7fec7e66 11820 (version "0.11.3")
dddbc90c
RV
11821 (source (origin
11822 (method url-fetch)
11823 (uri (string-append "https://hackage.haskell.org/package/"
11824 "texmath/texmath-" version ".tar.gz"))
11825 (sha256
11826 (base32
7fec7e66 11827 "03rpxbp43bjs62mmw4hv4785n6f6nbf8kj2y9mma5nzk6i2xs09f"))))
dddbc90c
RV
11828 (build-system haskell-build-system)
11829 (inputs
11830 `(("ghc-syb" ,ghc-syb)
11831 ("ghc-network-uri" ,ghc-network-uri)
11832 ("ghc-split" ,ghc-split)
11833 ("ghc-temporary" ,ghc-temporary)
11834 ("ghc-utf8-string" ,ghc-utf8-string)
11835 ("ghc-xml" ,ghc-xml)
11836 ("ghc-pandoc-types" ,ghc-pandoc-types)))
11837 (home-page "https://github.com/jgm/texmath")
11838 (synopsis "Conversion between formats used to represent mathematics")
11839 (description
11840 "The texmath library provides functions to read and write TeX math,
11841presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
11842Office). Support is also included for converting math formats to pandoc's
11843native format (allowing conversion, via pandoc, to a variety of different
11844markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
11845it can parse and apply LaTeX macros.")
11846 (license license:gpl2+)))
11847
11848(define-public ghc-text-binary
11849 (package
11850 (name "ghc-text-binary")
11851 (version "0.2.1.1")
11852 (source
11853 (origin
11854 (method url-fetch)
11855 (uri (string-append "https://hackage.haskell.org/package/"
11856 "text-binary/text-binary-"
11857 version ".tar.gz"))
11858 (sha256
11859 (base32
11860 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
11861 (build-system haskell-build-system)
11862 (home-page "https://github.com/kawu/text-binary")
11863 (synopsis "Binary instances for text types")
11864 (description
11865 "This package provides a compatibility layer providing @code{Binary}
11866instances for strict and lazy text types for versions older than 1.2.1 of the
11867text package.")
11868 (license license:bsd-2)))
11869
bdc877c4
TS
11870(define-public ghc-text-metrics
11871 (package
11872 (name "ghc-text-metrics")
11873 (version "0.3.0")
11874 (source
11875 (origin
11876 (method url-fetch)
11877 (uri (string-append "https://hackage.haskell.org/package/"
11878 "text-metrics/text-metrics-" version ".tar.gz"))
11879 (sha256
11880 (base32
11881 "18mzxwkdvjp31r720ai9bnxr638qq8x3a2v408bz0d8f0rsayx1q"))))
11882 (build-system haskell-build-system)
11883 (inputs
11884 `(("ghc-vector" ,ghc-vector)))
11885 (native-inputs
11886 `(("ghc-quickcheck" ,ghc-quickcheck)
11887 ("ghc-hspec" ,ghc-hspec)))
11888 (arguments
11889 `(#:cabal-revision
11890 ("4" "017drxq9x56b345d8w5m8xdsi1zzs0z16pbdx8j35cd1lsnh3kf1")))
11891 (home-page "https://github.com/mrkkrp/text-metrics")
11892 (synopsis "Calculate various string metrics efficiently")
11893 (description "This library provides tools to calculate various
11894string metrics efficiently.")
11895 (license license:bsd-3)))
11896
dddbc90c
RV
11897(define-public ghc-tf-random
11898 (package
11899 (name "ghc-tf-random")
11900 (version "0.5")
11901 (outputs '("out" "doc"))
11902 (source
11903 (origin
11904 (method url-fetch)
11905 (uri (string-append
11906 "https://hackage.haskell.org/package/tf-random/tf-random-"
11907 version
11908 ".tar.gz"))
11909 (sha256
11910 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
11911 (build-system haskell-build-system)
11912 (inputs
11913 `(("ghc-primitive" ,ghc-primitive)
11914 ("ghc-random" ,ghc-random)))
11915 (home-page "https://hackage.haskell.org/package/tf-random")
11916 (synopsis "High-quality splittable pseudorandom number generator")
11917 (description "This package contains an implementation of a high-quality
11918splittable pseudorandom number generator. The generator is based on a
11919cryptographic hash function built on top of the ThreeFish block cipher. See
11920the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
11921Hashing\" by Claessen, Pałka for details and the rationale of the design.")
11922 (license license:bsd-3)))
11923
11924(define-public ghc-th-abstraction
11925 (package
11926 (name "ghc-th-abstraction")
1188eabb 11927 (version "0.3.1.0")
dddbc90c
RV
11928 (source
11929 (origin
11930 (method url-fetch)
11931 (uri (string-append "https://hackage.haskell.org/package/"
11932 "th-abstraction/th-abstraction-"
11933 version ".tar.gz"))
11934 (sha256
11935 (base32
1188eabb 11936 "1f81w0gshvc816cf9qz0f19jsrzh6wpzmmy317xrgn63dv61p7jb"))))
dddbc90c
RV
11937 (build-system haskell-build-system)
11938 (home-page "https://github.com/glguy/th-abstraction")
11939 (synopsis "Nicer interface for reified information about data types")
11940 (description
11941 "This package normalizes variations in the interface for inspecting
11942datatype information via Template Haskell so that packages and support a
11943single, easier to use informational datatype while supporting many versions of
11944Template Haskell.")
11945 (license license:isc)))
11946
11947(define-public ghc-th-expand-syns
11948 (package
11949 (name "ghc-th-expand-syns")
8c766600 11950 (version "0.4.5.0")
dddbc90c
RV
11951 (source (origin
11952 (method url-fetch)
11953 (uri (string-append "https://hackage.haskell.org/package/"
11954 "th-expand-syns/th-expand-syns-"
11955 version ".tar.gz"))
11956 (sha256
11957 (base32
8c766600 11958 "1p4wfyycan8zsp9wi7npx36qwbfsbcgdyxi3ii51scf69dkrx42y"))))
dddbc90c
RV
11959 (build-system haskell-build-system)
11960 (inputs
11961 `(("ghc-syb" ,ghc-syb)))
11962 (home-page "https://hackage.haskell.org/package/th-expand-syns")
11963 (synopsis "Expands type synonyms in Template Haskell ASTs")
11964 (description
11965 "This package enables users to expand type synonyms in Template Haskell
11966@dfn{abstract syntax trees} (ASTs).")
11967 (license license:bsd-3)))
11968
11969(define-public ghc-th-lift
11970 (package
11971 (name "ghc-th-lift")
bd76b20a 11972 (version "0.8.0.1")
dddbc90c
RV
11973 (source (origin
11974 (method url-fetch)
11975 (uri (string-append "https://hackage.haskell.org/package/"
11976 "th-lift/th-lift-" version ".tar.gz"))
11977 (sha256
11978 (base32
bd76b20a 11979 "1a6qlbdg15cfr5rvl9g3blgwx4v1p0xic0pzv13zx165xbc36ld0"))))
dddbc90c
RV
11980 (build-system haskell-build-system)
11981 (inputs
11982 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
11983 (home-page "https://github.com/mboes/th-lift")
11984 (synopsis "Derive Template Haskell's Lift class for datatypes")
11985 (description
11986 "This is a Haskell library to derive Template Haskell's Lift class for
11987datatypes.")
11988 (license license:bsd-3)))
11989
11990(define-public ghc-th-lift-instances
11991 (package
11992 (name "ghc-th-lift-instances")
d3db399e 11993 (version "0.1.14")
dddbc90c
RV
11994 (source
11995 (origin
11996 (method url-fetch)
11997 (uri (string-append "https://hackage.haskell.org/package/"
11998 "th-lift-instances/th-lift-instances-"
11999 version ".tar.gz"))
12000 (sha256
12001 (base32
d3db399e 12002 "0r1b4jnvcj64wp4hfccwkl4a70n1p1q7qzyx6ax7cmd8k961jz78"))))
dddbc90c
RV
12003 (build-system haskell-build-system)
12004 (inputs
12005 `(("ghc-th-lift" ,ghc-th-lift)
12006 ("ghc-vector" ,ghc-vector)
12007 ("ghc-quickcheck" ,ghc-quickcheck)))
12008 (home-page "https://github.com/bennofs/th-lift-instances/")
12009 (synopsis "Lift instances for template-haskell for common data types.")
12010 (description "Most data types in the Haskell platform do not have Lift
12011instances. This package provides orphan instances for @code{containers},
12012@code{text}, @code{bytestring} and @code{vector}.")
12013 (license license:bsd-3)))
12014
12015(define-public ghc-th-orphans
12016 (package
12017 (name "ghc-th-orphans")
882b23e2 12018 (version "0.13.9")
dddbc90c
RV
12019 (source (origin
12020 (method url-fetch)
12021 (uri (string-append "https://hackage.haskell.org/package/"
12022 "th-orphans/th-orphans-" version ".tar.gz"))
12023 (sha256
12024 (base32
882b23e2 12025 "1xj1gssv77hdx1r3ndg8k49v3ipj3a6r7crkyvx13jrps3m6ng1z"))))
dddbc90c
RV
12026 (build-system haskell-build-system)
12027 (inputs
12028 `(("ghc-th-lift" ,ghc-th-lift)
12029 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
12030 ("ghc-th-reify-many" ,ghc-th-reify-many)
12031 ("ghc-generic-deriving" ,ghc-generic-deriving)))
12032 (native-inputs
12033 `(("ghc-hspec" ,ghc-hspec)))
12034 (home-page "https://hackage.haskell.org/package/th-orphans")
12035 (synopsis "Orphan instances for TH datatypes")
12036 (description
12037 "This package provides orphan instances for Template Haskell datatypes. In particular,
12038instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
12039and @code{Eq} instances. These instances used to live in the haskell-src-meta
12040package, and that's where the version number started.")
12041 (license license:bsd-3)))
12042
20c440ea
JS
12043(define-public ghc-these
12044 (package
12045 (name "ghc-these")
12046 (version "1.0.1")
12047 (source
12048 (origin
12049 (method url-fetch)
12050 (uri (string-append
12051 "https://hackage.haskell.org/package/these/these-"
12052 version
12053 ".tar.gz"))
12054 (sha256
12055 (base32
12056 "1k0pi65g7cm9hzdw6my6bzz2zvddkmj1qs45ymqmi316bpiixk3r"))))
12057 (build-system haskell-build-system)
12058 (inputs
12059 `(("ghc-base-compat" ,ghc-base-compat)
12060 ("ghc-hashable" ,ghc-hashable)
12061 ("ghc-aeson" ,ghc-aeson)
12062 ("ghc-unordered-containers" ,ghc-unordered-containers)
12063 ("ghc-assoc" ,ghc-assoc)
12064 ("ghc-semigroupoids" ,ghc-semigroupoids)
12065 ("ghc-quickcheck" ,ghc-quickcheck)))
12066 (arguments
12067 `(#:cabal-revision
12068 ("1"
12069 "0923r86fnmgpx0msm68aszirh2n19nn5bccgjxfh2146jw4z7w3z")))
12070 (home-page
12071 "https://github.com/isomorphism/these")
12072 (synopsis "Either-or-both data type")
12073 (description
12074 "This package provides a data type @code{These a b} which can
12075hold a value of either type or values of each type. This is usually
12076thought of as an \"inclusive or\" type (contrasting @code{Either a b} as
12077\"exclusive or\") or as an \"outer join\" type (contrasting @code{(a, b)}
12078as \"inner join\").
12079
12080@code{data These a b = This a | That b | These a b}
12081
12082Since version 1, this package was split into parts:
12083
12084@itemize
12085@item
12086https://hackage.haskell.org/package/semialign For @code{Align} and
12087@code{Zip} type-classes.
12088@item
12089https://hackage.haskell.org/package/semialign-indexed For
12090@code{SemialignWithIndex} class, providing @code{ialignWith} and
12091@code{izipWith}
12092@item
12093https://hackage.haskell.org/package/these-lens For lens combinators.
12094@item
12095http://hackage.haskell.org/package/monad-chronicle For transformers
12096variant of @code{These}.
12097@end itemize")
12098 (license license:bsd-3)))
12099
dddbc90c
RV
12100(define-public ghc-threads
12101 (package
12102 (name "ghc-threads")
12103 (version "0.5.1.6")
12104 (source
12105 (origin
12106 (method url-fetch)
12107 (uri (string-append "https://hackage.haskell.org/package/"
12108 "threads/threads-" version ".tar.gz"))
12109 (sha256
12110 (base32
12111 "0bjnjhnq3km6xqk0fn1fgyz5xdw4h6lylbwwbcmkkfzwcz0c76hk"))))
12112 (build-system haskell-build-system)
12113 (native-inputs
12114 `(("ghc-concurrent-extra" ,ghc-concurrent-extra)
12115 ("ghc-hunit" ,ghc-hunit)
12116 ("ghc-test-framework" ,ghc-test-framework)
12117 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
12118 (home-page "https://github.com/basvandijk/threads")
12119 (synopsis "Fork threads and wait for their result")
12120 (description "This package provides functions to fork threads and
12121wait for their result, whether it's an exception or a normal value.
12122Besides waiting for the termination of a single thread this package also
12123provides functions to wait for a group of threads to terminate. This
bbf8bf31
RV
12124package is similar to the @code{threadmanager}, @code{async} and
12125@code{spawn} packages. The advantages of this package are:
12126
dddbc90c
RV
12127@itemize
12128@item Simpler API.
12129@item More efficient in both space and time.
12130@item No space-leak when forking a large number of threads.
12131@item Correct handling of asynchronous exceptions.
12132@item GHC specific functionality like @code{forkOn} and
12133@code{forkIOWithUnmask}.
12134@end itemize")
12135 (license license:bsd-3)))
12136
12137(define-public ghc-th-reify-many
12138 (package
12139 (name "ghc-th-reify-many")
32d4a6ae 12140 (version "0.1.9")
dddbc90c
RV
12141 (source (origin
12142 (method url-fetch)
12143 (uri (string-append "https://hackage.haskell.org/package/"
12144 "th-reify-many/th-reify-many-"
12145 version ".tar.gz"))
12146 (sha256
12147 (base32
32d4a6ae 12148 "0hxf56filzqnyrc8q7766vai80y6cgrrbrczx6n93caskl1dv2gq"))))
dddbc90c
RV
12149 (build-system haskell-build-system)
12150 (inputs
12151 `(("ghc-safe" ,ghc-safe)
12152 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
12153 (home-page "https://github.com/mgsloan/th-reify-many")
12154 (synopsis "Recurseively reify template haskell datatype info")
12155 (description
12156 "th-reify-many provides functions for recursively reifying top level
12157declarations. The main intended use case is for enumerating the names of
12158datatypes reachable from an initial datatype, and passing these names to some
12159function which generates instances.")
12160 (license license:bsd-3)))
12161
75cfc9a2
TS
12162(define-public ghc-time-compat
12163 (package
12164 (name "ghc-time-compat")
12165 (version "1.9.2.2")
12166 (source
12167 (origin
12168 (method url-fetch)
12169 (uri (string-append "https://hackage.haskell.org/package/"
12170 "time-compat/time-compat-" version ".tar.gz"))
12171 (sha256
12172 (base32
12173 "05va0rqs759vbridbcl6hksp967j9anjvys8vx72fnfkhlrn2s52"))))
12174 (build-system haskell-build-system)
12175 (inputs
12176 `(("ghc-base-orphans" ,ghc-base-orphans)))
12177 (native-inputs
12178 `(("ghc-hunit" ,ghc-hunit)
12179 ("ghc-base-compat" ,ghc-base-compat)
12180 ("ghc-quickcheck" ,ghc-quickcheck)
12181 ("ghc-tagged" ,ghc-tagged)
12182 ("ghc-tasty" ,ghc-tasty)
12183 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
12184 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
12185 (arguments
12186 `(#:cabal-revision
12187 ("1" "0k8ph4sydaiqp8dav4if6hpiaq8h1xsr93khmdr7a1mmfwdxr64r")))
12188 (home-page "https://github.com/phadej/time-compat")
12189 (synopsis "Compatibility package for time")
a8d73e69 12190 (description "This package tries to compat as many @code{time}
75cfc9a2
TS
12191features as possible.")
12192 (license license:bsd-3)))
12193
dddbc90c
RV
12194(define-public ghc-time-locale-compat
12195 (package
12196 (name "ghc-time-locale-compat")
12197 (version "0.1.1.5")
12198 (source
12199 (origin
12200 (method url-fetch)
12201 (uri (string-append "https://hackage.haskell.org/package/"
12202 "time-locale-compat/time-locale-compat-"
12203 version ".tar.gz"))
12204 (sha256
12205 (base32
12206 "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7"))))
12207 (build-system haskell-build-system)
12208 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
12209 (home-page "https://github.com/khibino/haskell-time-locale-compat")
12210 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
12211 (description "This package contains a wrapped name module for
12212@code{TimeLocale}.")
12213 (license license:bsd-3)))
12214
c022a4d4
TS
12215(define-public ghc-time-manager
12216 (package
12217 (name "ghc-time-manager")
12218 (version "0.0.0")
12219 (source
12220 (origin
12221 (method url-fetch)
12222 (uri (string-append "https://hackage.haskell.org/package/"
12223 "time-manager/time-manager-" version ".tar.gz"))
12224 (sha256
12225 (base32
12226 "1nzwj0fxz370ks6vr1sylcidx33rnqq45y3q9yv9n4dj43nid9lh"))))
12227 (build-system haskell-build-system)
12228 (inputs
12229 `(("ghc-auto-update" ,ghc-auto-update)))
12230 (home-page "https://github.com/yesodweb/wai")
12231 (synopsis "Scalable timer")
12232 (description "This library contains scalable timer functions provided by a
12233timer manager.")
12234 (license license:expat)))
12235
7bbfa392
JS
12236(define-public ghc-timeit
12237 (package
12238 (name "ghc-timeit")
12239 (version "2.0")
12240 (source
12241 (origin
12242 (method url-fetch)
12243 (uri
12244 (string-append
12245 "https://hackage.haskell.org/package/timeit/timeit-"
12246 version ".tar.gz"))
12247 (sha256
12248 (base32
12249 "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1"))))
12250 (build-system haskell-build-system)
12251 (home-page "https://github.com/merijn/timeit")
12252 (synopsis "Time monadic computations with an IO base")
12253 (description "This package provides a simple wrapper to show the
12254used CPU time of monadic computation with an IO base.")
12255 (license license:bsd-3)))
12256
2ed8bd2d
JS
12257(define-public ghc-timezone-series
12258 (package
12259 (name "ghc-timezone-series")
12260 (version "0.1.9")
12261 (source
12262 (origin
12263 (method url-fetch)
12264 (uri
12265 (string-append
12266 "mirror://hackage/package/timezone-series/timezone-series-"
12267 version ".tar.gz"))
12268 (sha256
12269 (base32
12270 "1blwgnyzqn917rgqkl4dncv9whv3xmk0lav040qq0214vksmvlz5"))))
12271 (build-system haskell-build-system)
12272 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
12273 (synopsis "Enhanced timezone handling for Time")
12274 (description
12275 "This package endows @code{Data.Time}, from the time package, with several
12276data types and functions for enhanced processing of timezones. For one way to
12277create timezone series, see the ghc-timezone-olson package.")
12278 (license license:bsd-3)))
12279
ff0f5786
JS
12280(define-public ghc-timezone-olson
12281 (package
12282 (name "ghc-timezone-olson")
12283 (version "0.1.9")
12284 (source
12285 (origin
12286 (method url-fetch)
12287 (uri
12288 (string-append
12289 "mirror://hackage/package/timezone-olson/timezone-olson-"
12290 version ".tar.gz"))
12291 (sha256
12292 (base32
12293 "05abywx1nrcaz0nqzfy4zw62bc5qd7pdfnjvv4drxkwv084ha8rj"))))
12294 (build-system haskell-build-system)
12295 (inputs
12296 `(("ghc-timezone-series" ,ghc-timezone-series)
12297 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)))
12298 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
12299 (synopsis "Parser and renderer for binary Olson timezone files")
12300 (description
12301 "A parser and renderer for binary Olson timezone files whose format
12302is specified by the tzfile(5) man page on Unix-like systems. For more
12303information about this format, see
12304@url{http://www.iana.org/time-zones/repository/tz-link.html}. Functions
12305are provided for converting the parsed data into @code{TimeZoneSeries}
12306objects from the timezone-series package.")
12307 (license license:bsd-3)))
12308
dddbc90c
RV
12309(define-public ghc-tldr
12310 (package
12311 (name "ghc-tldr")
871ceb31 12312 (version "0.4.0.2")
dddbc90c
RV
12313 (source
12314 (origin
12315 (method url-fetch)
12316 (uri (string-append
12317 "https://hackage.haskell.org/package/tldr/tldr-"
12318 version
12319 ".tar.gz"))
12320 (sha256
12321 (base32
871ceb31 12322 "1zy9yyg7bxiyz1prkvrscggsb9p0f8y0nqxxxzlgzvnh2nmqf8f2"))))
dddbc90c
RV
12323 (build-system haskell-build-system)
12324 (inputs
12325 `(("ghc-cmark" ,ghc-cmark)
12326 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
12327 ("ghc-typed-process" ,ghc-typed-process)
12328 ("ghc-semigroups" ,ghc-semigroups)))
12329 (native-inputs
12330 `(("ghc-tasty" ,ghc-tasty)
12331 ("ghc-tasty-golden" ,ghc-tasty-golden)))
12332 (home-page "https://github.com/psibi/tldr-hs#readme")
12333 (synopsis "Haskell tldr client")
12334 (description "This package provides the @command{tldr} command and a
12335Haskell client library allowing users to update and view @code{tldr} pages
12336from a shell. The @code{tldr} pages are a community effort to simplify the
12337man pages with practical examples.")
12338 (license license:bsd-3)))
12339
460e4e42
JS
12340(define-public ghc-transformers
12341 (package
12342 (name "ghc-transformers")
12343 (version "0.5.6.2")
12344 (source
12345 (origin
12346 (method url-fetch)
12347 (uri (string-append
12348 "mirror://hackage/package/transformers/transformers-"
12349 version
12350 ".tar.gz"))
12351 (sha256
12352 (base32
12353 "0v66j5k0xqk51pmca55wq192qyw2p43s2mgxlz4f95q2c1fpjs5n"))))
12354 (build-system haskell-build-system)
12355 (home-page
12356 "http://hackage.haskell.org/package/transformers")
12357 (synopsis "Concrete functor and monad transformers")
12358 (description
12359 "Transformers provides functor and monad transformers, inspired by the
12360paper \"Functional Programming with Overloading and Higher-Order
12361Polymorphism\", by Mark P Jones, in Advanced School of Functional Programming,
123621995 @url{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html}.
12363
12364This package contains:
12365@itemize
12366@item the monad transformer class (in @code{Control.Monad.Trans.Class})
12367@item concrete functor and monad transformers, each with associated operations
12368and functions to lift operations associated with other transformers.
12369@end itemize
12370
12371This package can be used on its own in portable Haskell code, in which case
12372operations need to be manually lifted through transformer stacks (see
12373@code{Control.Monad.Trans.Class} for some examples). Alternatively, it can be
12374used with the non-portable monad classes in the mtl or monads-tf packages,
12375which automatically lift operations introduced by monad transformers through
12376other transformers.")
12377 (license license:bsd-3)))
12378
dddbc90c
RV
12379(define-public ghc-transformers-base
12380 (package
12381 (name "ghc-transformers-base")
12382 (version "0.4.5.2")
12383 (source
12384 (origin
12385 (method url-fetch)
12386 (uri (string-append
12387 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
12388 version
12389 ".tar.gz"))
12390 (sha256
12391 (base32
12392 "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h"))))
12393 (build-system haskell-build-system)
12394 (inputs
12395 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
12396 (home-page
12397 "https://hackage.haskell.org/package/transformers-compat")
12398 (synopsis
12399 "Backported transformer library")
12400 (description
12401 "Backported versions of types that were added to transformers in
12402transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
12403compatibility to run on old versions of the platform.")
12404 (license license:bsd-3)))
12405
12406(define-public ghc-transformers-compat
12407 (package
12408 (name "ghc-transformers-compat")
1c9c4d58 12409 (version "0.6.5")
dddbc90c
RV
12410 (source
12411 (origin
12412 (method url-fetch)
12413 (uri (string-append
12414 "https://hackage.haskell.org/package/transformers-compat"
12415 "/transformers-compat-" version ".tar.gz"))
12416 (sha256
12417 (base32
1c9c4d58 12418 "02v2fjbvcrlpvhcsssap8dy8y9pp95jykrlc5arm39sxa48wyrys"))))
dddbc90c
RV
12419 (build-system haskell-build-system)
12420 (home-page "https://github.com/ekmett/transformers-compat/")
12421 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
12422 (description "This package includes backported versions of types that were
12423added to transformers in transformers 0.3 and 0.4 for users who need strict
12424transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
12425but also need those types.")
12426 (license license:bsd-3)))
12427
12428(define-public ghc-tree-diff
12429 (package
12430 (name "ghc-tree-diff")
b4e26067 12431 (version "0.1")
dddbc90c
RV
12432 (source
12433 (origin
12434 (method url-fetch)
12435 (uri (string-append
12436 "https://hackage.haskell.org/package/tree-diff/tree-diff-"
12437 version
12438 ".tar.gz"))
12439 (sha256
12440 (base32
b4e26067 12441 "1156nbqn0pn9lp4zjsy4vv5g5wmy4zxwmbqdgvq349rydynh3ng3"))))
dddbc90c 12442 (build-system haskell-build-system)
dddbc90c
RV
12443 (inputs
12444 `(("ghc-aeson" ,ghc-aeson)
12445 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
12446 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
12447 ("ghc-base-compat" ,ghc-base-compat)
b4e26067 12448 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
dddbc90c 12449 ("ghc-hashable" ,ghc-hashable)
dddbc90c
RV
12450 ("ghc-parsers" ,ghc-parsers)
12451 ("ghc-quickcheck" ,ghc-quickcheck)
12452 ("ghc-scientific" ,ghc-scientific)
12453 ("ghc-tagged" ,ghc-tagged)
12454 ("ghc-unordered-containers" ,ghc-unordered-containers)
12455 ("ghc-uuid-types" ,ghc-uuid-types)
12456 ("ghc-vector" ,ghc-vector)))
12457 (native-inputs
12458 `(("ghc-base-compat" ,ghc-base-compat)
12459 ("ghc-quickcheck" ,ghc-quickcheck)
12460 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
12461 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
12462 ("ghc-trifecta" ,ghc-trifecta)
12463 ("ghc-tasty" ,ghc-tasty)
12464 ("ghc-tasty-golden" ,ghc-tasty-golden)
12465 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
12466 (home-page "https://github.com/phadej/tree-diff")
12467 (synopsis "Compute difference between (expression) trees")
12468 (description "This Haskell library provides a function for computing
12469the difference between (expression) trees. It also provides a way to
12470compute the difference between arbitrary abstract datatypes (ADTs) using
12471@code{Generics}-derivable helpers.")
12472 (license license:bsd-3)))
12473
12474(define-public ghc-trifecta
12475 (package
12476 (name "ghc-trifecta")
12477 (version "2")
12478 (source (origin
12479 (method url-fetch)
12480 (uri (string-append
12481 "https://hackage.haskell.org/package/trifecta/"
12482 "trifecta-" version ".tar.gz"))
12483 (sha256
12484 (base32
12485 "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk"))))
12486 (build-system haskell-build-system)
5ffe8cfd
TS
12487 (arguments
12488 `(#:tests? #f ; doctest suite fails to build on i686
12489 #:cabal-revision
12490 ("4" "0xbwyvwl6f2zylk60f2akwgq03qv49113xil7b1z1s3vlwbn5aj1")))
dddbc90c
RV
12491 (inputs
12492 `(("ghc-reducers" ,ghc-reducers)
12493 ("ghc-semigroups" ,ghc-semigroups)
12494 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
12495 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
12496 ("ghc-blaze-builder" ,ghc-blaze-builder)
12497 ("ghc-blaze-html" ,ghc-blaze-html)
12498 ("ghc-blaze-markup" ,ghc-blaze-markup)
12499 ("ghc-charset" ,ghc-charset)
12500 ("ghc-comonad" ,ghc-comonad)
12501 ("ghc-fingertree" ,ghc-fingertree)
12502 ("ghc-hashable" ,ghc-hashable)
12503 ("ghc-lens" ,ghc-lens)
12504 ("ghc-parsers" ,ghc-parsers)
12505 ("ghc-profunctors" ,ghc-profunctors)
12506 ("ghc-unordered-containers" ,ghc-unordered-containers)
12507 ("ghc-utf8-string" ,ghc-utf8-string)))
12508 (native-inputs
12509 `(("cabal-doctest" ,cabal-doctest)
12510 ("ghc-doctest" ,ghc-doctest)
12511 ("ghc-quickcheck" ,ghc-quickcheck)))
12512 (home-page "https://github.com/ekmett/trifecta/")
12513 (synopsis "Parser combinator library with convenient diagnostics")
12514 (description "Trifecta is a modern parser combinator library for Haskell,
12515with slicing and Clang-style colored diagnostics.")
12516 (license license:bsd-3)))
12517
12518(define-public ghc-tuple-th
12519 (package
12520 (name "ghc-tuple-th")
12521 (version "0.2.5")
12522 (source
12523 (origin
12524 (method url-fetch)
12525 (uri (string-append "https://hackage.haskell.org/package/"
12526 "tuple-th-" version "/"
12527 "tuple-th-" version ".tar.gz"))
12528 (sha256
12529 (base32
12530 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
12531 (build-system haskell-build-system)
12532 (home-page "https://github.com/DanielSchuessler/tuple-th")
12533 (synopsis "Generate utility functions for tuples of statically known size
12534for Haskell")
12535 (description "This Haskell package contains Template Haskell functions for
12536generating functions similar to those in @code{Data.List} for tuples of
12537statically known size.")
12538 (license license:bsd-3)))
12539
12540(define-public ghc-typed-process
12541 (package
12542 (name "ghc-typed-process")
72fb84a5 12543 (version "0.2.6.0")
dddbc90c
RV
12544 (source
12545 (origin
12546 (method url-fetch)
12547 (uri (string-append "https://hackage.haskell.org/package/"
12548 "typed-process/typed-process-"
12549 version ".tar.gz"))
12550 (sha256
12551 (base32
72fb84a5 12552 "1cf2pfym8zdxvvy7xv72ixj7wy3rjrdss6f57k1ysgs66cgsi8ii"))))
dddbc90c
RV
12553 (build-system haskell-build-system)
12554 (inputs
72fb84a5
TS
12555 `(("ghc-async" ,ghc-async)
12556 ("ghc-unliftio-core" ,ghc-unliftio-core)))
dddbc90c
RV
12557 (native-inputs
12558 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
12559 ("ghc-hspec" ,ghc-hspec)
12560 ("hspec-discover" ,hspec-discover)
12561 ("ghc-temporary" ,ghc-temporary)))
12562 (home-page "https://haskell-lang.org/library/typed-process")
12563 (synopsis "Run external processes with strong typing of streams")
12564 (description
12565 "This library provides the ability to launch and interact with external
12566processes. It wraps around the @code{process} library, and intends to improve
12567upon it.")
12568 (license license:expat)))
12569
d392f803
AG
12570(define-public ghc-unagi-chan
12571 (package
12572 (name "ghc-unagi-chan")
12573 (version "0.4.1.2")
12574 (source
12575 (origin
12576 (method url-fetch)
12577 (uri (string-append "https://hackage.haskell.org/package/unagi-chan"
12578 "/unagi-chan-" version ".tar.gz"))
12579 (sha256
12580 (base32
12581 "1lnl5n4jnjmm4chp461glcwkrrw63rjz3fvprwxcy3lkpbkrqvgn"))))
12582 (build-system haskell-build-system)
12583 (inputs
12584 `(("ghc-atomic-primops" ,ghc-atomic-primops)
12585 ("ghc-primitive" ,ghc-primitive)))
12586 (arguments
12587 `(#:tests? #f ; FIXME: Tests expect primitive 0.7
12588 #:cabal-revision
12589 ("1"
12590 "09pqi867wskwgc5lpn197f895mbn1174ydgllvcppcsmrz2b6yr6")))
3ef91e15 12591 (home-page "https://hackage.haskell.org/package/unagi-chan")
d392f803
AG
12592 (synopsis "Fast concurrent queues with a Chan-like API, and more")
12593 (description
12594 "This library provides implementations of concurrent FIFO queues (for
12595both general boxed and primitive unboxed values) that are fast, perform well
12596under contention, and offer a Chan-like interface. The library may be of
12597limited usefulness outside of x86 architectures where the fetch-and-add
12598instruction is not available.")
12599 (license license:bsd-3)))
12600
dddbc90c
RV
12601(define-public ghc-unbounded-delays
12602 (package
12603 (name "ghc-unbounded-delays")
12604 (version "0.1.1.0")
12605 (source
12606 (origin
12607 (method url-fetch)
12608 (uri (string-append
12609 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
12610 version
12611 ".tar.gz"))
12612 (sha256
12613 (base32
12614 "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa"))))
12615 (build-system haskell-build-system)
12616 (home-page "https://github.com/basvandijk/unbounded-delays")
12617 (synopsis "Unbounded thread delays and timeouts")
12618 (description "The @code{threadDelay} and @code{timeout} functions from the
12619Haskell base library use the bounded @code{Int} type for specifying the delay
12620or timeout period. This package provides alternative functions which use the
12621unbounded @code{Integer} type.")
12622 (license license:bsd-3)))
12623
12624(define-public ghc-unexceptionalio
12625 (package
12626 (name "ghc-unexceptionalio")
12627 (version "0.4.0")
12628 (source
12629 (origin
12630 (method url-fetch)
12631 (uri (string-append "https://hackage.haskell.org/package/"
12632 "unexceptionalio-" version "/" "unexceptionalio-"
12633 version ".tar.gz"))
12634 (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p"))))
12635 (build-system haskell-build-system)
12636 (home-page "https://github.com/singpolyma/unexceptionalio")
12637 (synopsis "IO without any non-error, synchronous exceptions")
12638 (description "When you've caught all the exceptions that can be
12639handled safely, this is what you're left with.")
12640 (license license:isc)))
12641
b69d4aa7
TS
12642(define-public ghc-unicode-transforms
12643 (package
12644 (name "ghc-unicode-transforms")
12645 (version "0.3.6")
12646 (source
12647 (origin
12648 (method url-fetch)
12649 (uri (string-append "https://hackage.haskell.org/package/"
12650 "unicode-transforms/unicode-transforms-"
12651 version ".tar.gz"))
12652 (sha256
12653 (base32
12654 "1akscvyssif4hki3g6hy0jmjyr8cqly1whzvzj0km2b3qh0x09l3"))))
12655 (build-system haskell-build-system)
12656 (inputs
12657 `(("ghc-bitarray" ,ghc-bitarray)))
12658 (native-inputs
12659 `(("ghc-quickcheck" ,ghc-quickcheck)
12660 ("ghc-getopt-generics" ,ghc-getopt-generics)
12661 ("ghc-split" ,ghc-split)))
12662 (home-page "https://github.com/composewell/unicode-transforms")
12663 (synopsis "Unicode normalization")
12664 (description "This library provides tools for fast Unicode 12.1.0
12665normalization in Haskell (normalization forms C, KC, D, and KD).")
12666 (license license:bsd-3)))
12667
dddbc90c
RV
12668(define-public ghc-union-find
12669 (package
12670 (name "ghc-union-find")
12671 (version "0.2")
12672 (source (origin
12673 (method url-fetch)
12674 (uri (string-append
12675 "https://hackage.haskell.org/package/union-find/union-find-"
12676 version ".tar.gz"))
12677 (sha256
12678 (base32
12679 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
12680 (build-system haskell-build-system)
12681 (home-page "https://github.com/nominolo/union-find")
12682 (synopsis "Efficient union and equivalence testing of sets")
12683 (description
12684 "The Union/Find algorithm implements these operations in (effectively)
12685constant-time:
12686@enumerate
12687@item Check whether two elements are in the same equivalence class.
12688@item Create a union of two equivalence classes.
12689@item Look up the descriptor of the equivalence class.
12690@end enumerate\n")
12691 (license license:bsd-3)))
12692
12693(define-public ghc-uniplate
12694 (package
12695 (name "ghc-uniplate")
12696 (version "1.6.12")
12697 (source
12698 (origin
12699 (method url-fetch)
12700 (uri (string-append
12701 "https://hackage.haskell.org/package/uniplate/uniplate-"
12702 version
12703 ".tar.gz"))
12704 (sha256
12705 (base32
12706 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
12707 (build-system haskell-build-system)
12708 (inputs
12709 `(("ghc-syb" ,ghc-syb)
12710 ("ghc-hashable" ,ghc-hashable)
12711 ("ghc-unordered-containers" ,ghc-unordered-containers)))
12712 (home-page "http://community.haskell.org/~ndm/uniplate/")
12713 (synopsis "Simple, concise and fast generic operations")
12714 (description "Uniplate is a library for writing simple and concise generic
12715operations. Uniplate has similar goals to the original Scrap Your Boilerplate
12716work, but is substantially simpler and faster.")
12717 (license license:bsd-3)))
12718
12719(define-public ghc-unix-compat
12720 (package
12721 (name "ghc-unix-compat")
bc82e9f5 12722 (version "0.5.2")
dddbc90c
RV
12723 (source
12724 (origin
12725 (method url-fetch)
12726 (uri (string-append
12727 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
12728 version
12729 ".tar.gz"))
12730 (sha256
12731 (base32
bc82e9f5 12732 "1a8brv9fax76b1fymslzyghwa6ma8yijiyyhn12msl3i5x24x6k5"))))
dddbc90c
RV
12733 (build-system haskell-build-system)
12734 (home-page
12735 "https://github.com/jystic/unix-compat")
12736 (synopsis "Portable POSIX-compatibility layer")
12737 (description
12738 "This package provides portable implementations of parts of the unix
12739package. This package re-exports the unix package when available. When it
12740isn't available, portable implementations are used.")
12741 (license license:bsd-3)))
12742
12743(define-public ghc-unix-time
12744 (package
12745 (name "ghc-unix-time")
fad9cff2 12746 (version "0.4.7")
dddbc90c
RV
12747 (source
12748 (origin
12749 (method url-fetch)
12750 (uri (string-append
12751 "https://hackage.haskell.org/package/unix-time/unix-time-"
12752 version
12753 ".tar.gz"))
12754 (sha256
12755 (base32
fad9cff2 12756 "02fyh298lm8jsg52i3z0ikazwz477ljqjmhnqr2d88grmn5ky8qr"))))
dddbc90c
RV
12757 (build-system haskell-build-system)
12758 (arguments
12759 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
12760 ; is weird, that should be provided by GHC 7.10.2.
12761 (inputs
12762 `(("ghc-old-time" ,ghc-old-time)
12763 ("ghc-old-locale" ,ghc-old-locale)))
12764 (home-page "https://hackage.haskell.org/package/unix-time")
12765 (synopsis "Unix time parser/formatter and utilities")
12766 (description "This library provides fast parsing and formatting utilities
12767for Unix time in Haskell.")
12768 (license license:bsd-3)))
12769
12770(define-public ghc-unliftio
12771 (package
12772 (name "ghc-unliftio")
a4084db1 12773 (version "0.2.12")
dddbc90c
RV
12774 (source
12775 (origin
12776 (method url-fetch)
12777 (uri (string-append
12778 "https://hackage.haskell.org/package/unliftio/unliftio-"
12779 version
12780 ".tar.gz"))
12781 (sha256
12782 (base32
a4084db1 12783 "02gy1zrxgzg4xmzm8lafsf1nyr3as1q20r8ld73xg3q7rkag9acg"))))
dddbc90c
RV
12784 (build-system haskell-build-system)
12785 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
12786 (inputs
12787 `(("ghc-async" ,ghc-async)
12788 ("ghc-unliftio-core" ,ghc-unliftio-core)))
12789 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
12790 (home-page "https://github.com/fpco/unliftio")
12791 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
12792IO (batteries included)")
12793 (description "This Haskell package provides the core @code{MonadUnliftIO}
12794typeclass, a number of common instances, and a collection of common functions
12795working with it.")
12796 (license license:expat)))
12797
12798(define-public ghc-unliftio-core
12799 (package
12800 (name "ghc-unliftio-core")
2ae42618 12801 (version "0.1.2.0")
dddbc90c
RV
12802 (source
12803 (origin
12804 (method url-fetch)
12805 (uri (string-append "https://hackage.haskell.org/package/"
12806 "unliftio-core-" version "/"
12807 "unliftio-core-" version ".tar.gz"))
12808 (sha256
12809 (base32
2ae42618 12810 "0y3siyx3drkw7igs380a87h8qfbbgcyxxlcnshp698hcc4yqphr4"))))
dddbc90c
RV
12811 (build-system haskell-build-system)
12812 (arguments
12813 `(#:cabal-revision
2ae42618 12814 ("2" "0jqrjjbgicx48wzcjxs1xmih48ay79rhmrz6081dldlfxynli6vz")))
dddbc90c
RV
12815 (home-page
12816 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
12817 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
12818 (description "This Haskell package provides the core @code{MonadUnliftIO}
12819typeclass, instances for base and transformers, and basic utility
12820functions.")
12821 (license license:expat)))
12822
12823(define-public ghc-unordered-containers
12824 (package
12825 (name "ghc-unordered-containers")
ca01f8d3 12826 (version "0.2.10.0")
dddbc90c
RV
12827 (outputs '("out" "doc"))
12828 (source
12829 (origin
12830 (method url-fetch)
12831 (uri (string-append
12832 "https://hackage.haskell.org/package/unordered-containers"
12833 "/unordered-containers-" version ".tar.gz"))
12834 (sha256
12835 (base32
ca01f8d3 12836 "0wy5hfrs880hh8hvp648bl07ws777n3kkmczzdszr7papnyigwb5"))))
dddbc90c
RV
12837 (build-system haskell-build-system)
12838 (inputs
12839 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
12840 ("ghc-hunit" ,ghc-hunit)
12841 ("ghc-quickcheck" ,ghc-quickcheck)
12842 ("ghc-test-framework" ,ghc-test-framework)
12843 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
12844 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
12845 ("ghc-hashable" ,ghc-hashable)))
12846 (home-page
12847 "https://github.com/tibbe/unordered-containers")
12848 (synopsis
12849 "Efficient hashing-based container types")
12850 (description
12851 "Efficient hashing-based container types. The containers have been
12852optimized for performance critical use, both in terms of large data quantities
12853and high speed.")
12854 (license license:bsd-3)))
12855
12856(define-public ghc-unordered-containers-bootstrap
12857 (package
12858 (inherit ghc-unordered-containers)
12859 (name "ghc-unordered-containers-bootstrap")
12860 (arguments `(#:tests? #f))
12861 (inputs
12862 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
799d8d3c 12863 (properties '((hidden? #t)))))
dddbc90c 12864
a52f4c57
JS
12865(define-public ghc-unsafe
12866 (package
12867 (name "ghc-unsafe")
12868 (version "0.0")
12869 (source
12870 (origin
12871 (method url-fetch)
12872 (uri
12873 (string-append
12874 "https://hackage.haskell.org/package/unsafe/unsafe-"
12875 version ".tar.gz"))
12876 (sha256
12877 (base32
12878 "0hc6xr1i3hkz25gdgfx1jqgpsc9mwa05bkfynp0mcfdlyz6782nz"))))
12879 (build-system haskell-build-system)
12880 (home-page "https://hackage.haskell.org/package/unsafe")
12881 (synopsis "Unified interface to unsafe functions")
12882 (description "Safe Haskell introduced the notion of safe and unsafe
12883modules. In order to make as many as possible modules ``safe'', the
12884well-known unsafe functions were moved to distinguished modules. This
12885makes it hard to write packages that work with both old and new versions
12886of GHC. This package provides a single module System.Unsafe that
12887exports the unsafe functions from the base package. It provides them in
12888a style ready for qualification, that is, you should import them by
12889@code{import qualified System.Unsafe as Unsafe}.")
12890 (license license:bsd-3)))
12891
dddbc90c
RV
12892(define-public ghc-uri-bytestring
12893 (package
12894 (name "ghc-uri-bytestring")
d35ffd39 12895 (version "0.3.2.2")
dddbc90c
RV
12896 (source
12897 (origin
12898 (method url-fetch)
12899 (uri (string-append "https://hackage.haskell.org/package/"
12900 "uri-bytestring-" version "/"
12901 "uri-bytestring-" version ".tar.gz"))
12902 (sha256
12903 (base32
d35ffd39 12904 "0spzv3mwlpxiamd7347sxwcy2xri16ak1y7p1v4fisnvq4jprm67"))))
dddbc90c
RV
12905 (build-system haskell-build-system)
12906 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
dddbc90c
RV
12907 ("ghc-blaze-builder" ,ghc-blaze-builder)
12908 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
d35ffd39 12909 (native-inputs `(("ghc-hunit" ,ghc-hunit)
dddbc90c
RV
12910 ("ghc-tasty" ,ghc-tasty)
12911 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
d35ffd39
TS
12912 ("ghc-hedgehog" ,ghc-hedgehog)
12913 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
dddbc90c 12914 ("ghc-base-compat" ,ghc-base-compat)
dddbc90c 12915 ("ghc-semigroups" ,ghc-semigroups)
d35ffd39 12916 ("ghc-safe" ,ghc-safe)))
dddbc90c
RV
12917 (home-page "https://github.com/Soostone/uri-bytestring")
12918 (synopsis "Haskell URI parsing as ByteStrings")
12919 (description "This Haskell package aims to be an RFC3986 compliant URI
12920parser that uses ByteStrings for parsing and representing the URI data.")
12921 (license license:bsd-3)))
12922
d7ad0823
JS
12923(define-public ghc-utf8-light
12924 (package
12925 (name "ghc-utf8-light")
12926 (version "0.4.2")
12927 (source
12928 (origin
12929 (method url-fetch)
12930 (uri (string-append
12931 "mirror://hackage/package/utf8-light/utf8-light-"
12932 version
12933 ".tar.gz"))
12934 (sha256
12935 (base32
12936 "0rwyc5z331yfnm4hpx0sph6i1zvkd1z10vvglhnp0vc9wy644k0q"))))
12937 (build-system haskell-build-system)
12938 (home-page
12939 "http://hackage.haskell.org/package/utf8-light")
12940 (synopsis "Lightweight unicode support for Haskell")
12941 (description
12942 "This package profides a class for encoding and decoding UTF8 strings
12943with instances for several common types. It also includes several functions
12944for working with UTF8. It aims to be lightweight, depending only on Base and
12945including only one module.")
12946 (license license:bsd-3)))
12947
dddbc90c
RV
12948(define-public ghc-utf8-string
12949 (package
12950 (name "ghc-utf8-string")
12951 (version "1.0.1.1")
12952 (source
12953 (origin
12954 (method url-fetch)
12955 (uri (string-append
12956 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
12957 version
12958 ".tar.gz"))
12959 (sha256
12960 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
12961 (build-system haskell-build-system)
12962 (arguments
12963 `(#:cabal-revision
12964 ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38")))
12965 (home-page "https://github.com/glguy/utf8-string/")
12966 (synopsis "Support for reading and writing UTF8 Strings")
12967 (description
12968 "A UTF8 layer for Strings. The utf8-string package provides operations
12969for encoding UTF8 strings to Word8 lists and back, and for reading and writing
12970UTF8 without truncation.")
12971 (license license:bsd-3)))
12972
12973(define-public ghc-utility-ht
12974 (package
12975 (name "ghc-utility-ht")
12976 (version "0.0.14")
12977 (home-page "https://hackage.haskell.org/package/utility-ht")
12978 (source
12979 (origin
12980 (method url-fetch)
12981 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
12982 (sha256
12983 (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9"))))
12984 (build-system haskell-build-system)
12985 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
12986 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
12987 (description "This package includes Hakell modules providing various
12988helper functions for Lists, Maybes, Tuples, Functions.")
12989 (license license:bsd-3)))
12990
12991(define-public ghc-uuid
12992 (package
12993 (name "ghc-uuid")
12994 (version "1.3.13")
12995 (source
12996 (origin
12997 (method url-fetch)
12998 (uri (string-append "https://hackage.haskell.org/package/"
12999 "uuid-" version "/"
13000 "uuid-" version ".tar.gz"))
13001 (sha256
13002 (base32
13003 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
13004 (build-system haskell-build-system)
13005 (arguments
13006 `(#:cabal-revision
13007 ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
13008 #:phases
13009 (modify-phases %standard-phases
13010 (add-before 'configure 'strip-test-framework-constraints
13011 (lambda _
13012 (substitute* "uuid.cabal"
13013 (("HUnit >= 1\\.2 && < 1\\.4") "HUnit")
13014 (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck")
13015 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
13016 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
13017 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
13018 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
13019 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
13020 ("ghc-entropy" ,ghc-entropy)
13021 ("ghc-network-info" ,ghc-network-info)
13022 ("ghc-random" ,ghc-random)
13023 ("ghc-uuid-types" ,ghc-uuid-types)))
13024 (native-inputs `(("ghc-hunit" ,ghc-hunit)
13025 ("ghc-quickcheck" ,ghc-quickcheck)
13026 ("ghc-tasty" ,ghc-tasty)
13027 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13028 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13029 (home-page "https://github.com/hvr/uuid")
13030 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
13031 (description "This Haskell library provides utilities creating, comparing,
13032parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
13033 (license license:bsd-3)))
13034
13035(define-public ghc-uuid-types
13036 (package
13037 (name "ghc-uuid-types")
13038 (version "1.0.3")
13039 (source
13040 (origin
13041 (method url-fetch)
13042 (uri (string-append "https://hackage.haskell.org/package/"
13043 "uuid-types-" version "/"
13044 "uuid-types-" version ".tar.gz"))
13045 (sha256
13046 (base32
13047 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
13048 (build-system haskell-build-system)
13049 (arguments
13050 `(#:phases
13051 (modify-phases %standard-phases
13052 (add-before 'configure 'strip-test-framework-constraints
13053 (lambda _
13054 (substitute* "uuid-types.cabal"
13055 (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
13056 (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
13057 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
13058 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
13059 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
13060 (inputs `(("ghc-hashable" ,ghc-hashable)
13061 ("ghc-random" ,ghc-random)))
13062 (native-inputs `(("ghc-hunit" ,ghc-hunit)
13063 ("ghc-quickcheck" ,ghc-quickcheck)
13064 ("ghc-tasty" ,ghc-tasty)
13065 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13066 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13067 (home-page "https://github.com/hvr/uuid")
13068 (synopsis "Haskell type definitions for UUIDs")
13069 (description "This Haskell library contains type definitions for
13070@dfn{Universally Unique Identifiers} or
13071@uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
13072functions.")
13073 (license license:bsd-3)))
13074
13075(define-public ghc-validation
13076 (package
13077 (name "ghc-validation")
08397fde 13078 (version "1.1")
dddbc90c
RV
13079 (source
13080 (origin
13081 (method url-fetch)
13082 (uri (string-append
13083 "mirror://hackage/package/validation/validation-"
13084 version
13085 ".tar.gz"))
13086 (sha256
13087 (base32
08397fde 13088 "1acj7mh3581ks405xswxw6667z7y1y0slisg6jvp6chc191ji9l5"))))
dddbc90c
RV
13089 (build-system haskell-build-system)
13090 (arguments
13091 `(#:cabal-revision
08397fde 13092 ("1" "1rrjg9z399k6pb55nv85mlr5bkmdqbjwkvl1cy7ydccdx6ks4syp")))
dddbc90c
RV
13093 (inputs
13094 `(("ghc-semigroups" ,ghc-semigroups)
13095 ("ghc-semigroupoids" ,ghc-semigroupoids)
13096 ("ghc-bifunctors" ,ghc-bifunctors)
13097 ("ghc-lens" ,ghc-lens)))
13098 (native-inputs
13099 `(("ghc-hedgehog" ,ghc-hedgehog)
13100 ("ghc-hunit" ,ghc-hunit)))
13101 (home-page "https://github.com/qfpl/validation")
13102 (synopsis
13103 "Data-type like Either but with an accumulating Applicative")
13104 (description
13105 "A data-type like Either but with differing properties and type-class
13106instances.
13107
13108Library support is provided for this different representation, including
13109@code{lens}-related functions for converting between each and abstracting over
13110their similarities.
13111
13112The @code{Validation} data type is isomorphic to @code{Either}, but has an
13113instance of @code{Applicative} that accumulates on the error side. That is to
13114say, if two (or more) errors are encountered, they are appended using a
13115@{Semigroup} operation.
13116
13117As a consequence of this @code{Applicative} instance, there is no
13118corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an
13119example of, \"An applicative functor that is not a monad.\"")
13120 (license license:bsd-3)))
13121
13122(define-public ghc-validity
13123 (package
13124 (name "ghc-validity")
3f1ba75d 13125 (version "0.9.0.2")
dddbc90c
RV
13126 (source
13127 (origin
13128 (method url-fetch)
13129 (uri (string-append
13130 "https://hackage.haskell.org/package/validity/validity-"
13131 version
13132 ".tar.gz"))
13133 (sha256
13134 (base32
3f1ba75d 13135 "1aa93lp1pqwv7vhx19nazlig8qhbp3psblbz360s5lii3s5rli2v"))))
dddbc90c
RV
13136 (build-system haskell-build-system)
13137 (native-inputs `(("ghc-hspec" ,ghc-hspec)
13138 ("hspec-discover" ,hspec-discover)))
13139 (home-page
13140 "https://github.com/NorfairKing/validity")
13141 (synopsis "Validity typeclass")
13142 (description
13143 "Values of custom types usually have invariants imposed upon them. This
13144package provides the @code{Validity} type class, which makes these invariants
13145explicit by providing a function to check whether the invariants hold.")
13146 (license license:expat)))
13147
13148(define-public ghc-vault
13149 (package
13150 (name "ghc-vault")
b40a436e 13151 (version "0.3.1.3")
dddbc90c
RV
13152 (source
13153 (origin
13154 (method url-fetch)
13155 (uri (string-append
13156 "https://hackage.haskell.org/package/vault/vault-"
13157 version
13158 ".tar.gz"))
13159 (sha256
13160 (base32
b40a436e 13161 "0vdm472vn734xa27jjm2mjacl37mxiqaaahvm4hzqjgyh4cqq377"))))
dddbc90c
RV
13162 (build-system haskell-build-system)
13163 (inputs
13164 `(("ghc-unordered-containers" ,ghc-unordered-containers)
13165 ("ghc-hashable" ,ghc-hashable)
b40a436e 13166 ("ghc-semigroups" ,ghc-semigroups)))
dddbc90c
RV
13167 (home-page
13168 "https://github.com/HeinrichApfelmus/vault")
13169 (synopsis "Persistent store for arbitrary values")
13170 (description "This package provides vaults for Haskell. A vault is a
13171persistent store for values of arbitrary types. It's like having first-class
13172access to the storage space behind @code{IORefs}. The data structure is
13173analogous to a bank vault, where you can access different bank boxes with
13174different keys; hence the name. Also provided is a @code{locker} type,
13175representing a store for a single element.")
13176 (license license:bsd-3)))
13177
13178(define-public ghc-vector
13179 (package
13180 (name "ghc-vector")
3ad67f6b 13181 (version "0.12.0.3")
dddbc90c
RV
13182 (outputs '("out" "doc"))
13183 (source
13184 (origin
13185 (method url-fetch)
13186 (uri (string-append
13187 "https://hackage.haskell.org/package/vector/vector-"
13188 version
13189 ".tar.gz"))
13190 (sha256
13191 (base32
3ad67f6b 13192 "1a756s4w759ji3als5alfxwlckh5zcmykfg9rll4mlr2knzvz8mq"))))
dddbc90c
RV
13193 (build-system haskell-build-system)
13194 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
13195 ;; disabled for now.
13196 (arguments
3ad67f6b 13197 `(#:tests? #f))
dddbc90c
RV
13198 (inputs
13199 `(("ghc-primitive" ,ghc-primitive)
13200 ("ghc-random" ,ghc-random)
13201 ("ghc-quickcheck" ,ghc-quickcheck)
13202 ;; ("ghc-hunit" ,ghc-hunit)
13203 ;; ("ghc-test-framework" ,ghc-test-framework)
13204 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
13205 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
13206 ))
13207 (home-page "https://github.com/haskell/vector")
13208 (synopsis "Efficient Arrays")
13209 (description "This library provides an efficient implementation of
13210Int-indexed arrays (both mutable and immutable), with a powerful loop
13211optimisation framework.")
13212 (license license:bsd-3)))
13213
13214(define-public ghc-vector-algorithms
13215 (package
13216 (name "ghc-vector-algorithms")
e71f316f 13217 (version "0.8.0.1")
dddbc90c
RV
13218 (source
13219 (origin
13220 (method url-fetch)
13221 (uri (string-append "https://hackage.haskell.org/package/"
13222 "vector-algorithms-" version "/"
13223 "vector-algorithms-" version ".tar.gz"))
13224 (sha256
13225 (base32
e71f316f 13226 "1zip8r7hh5g12xrjvhbg38z6hfxy7l6h6pl88qcqc0ygdmwdxg0m"))))
dddbc90c
RV
13227 (build-system haskell-build-system)
13228 (inputs
13229 `(("ghc-vector" ,ghc-vector)))
13230 (native-inputs
13231 `(("ghc-quickcheck" ,ghc-quickcheck)))
13232 (home-page "https://github.com/bos/math-functions")
13233 (synopsis "Algorithms for vector arrays in Haskell")
13234 (description "This Haskell library algorithms for vector arrays.")
13235 (license license:bsd-3)))
13236
13237(define-public ghc-vector-binary-instances
13238 (package
13239 (name "ghc-vector-binary-instances")
ca0701ef 13240 (version "0.2.5.1")
dddbc90c
RV
13241 (source
13242 (origin
13243 (method url-fetch)
13244 (uri (string-append
13245 "https://hackage.haskell.org/package/"
13246 "vector-binary-instances/vector-binary-instances-"
13247 version ".tar.gz"))
13248 (sha256
13249 (base32
ca0701ef 13250 "04n5cqm1v95pw1bp68l9drjkxqiy2vswxdq0fy1rqcgxisgvji9r"))))
dddbc90c 13251 (build-system haskell-build-system)
dddbc90c
RV
13252 (inputs
13253 `(("ghc-vector" ,ghc-vector)))
13254 (native-inputs
13255 `(("ghc-tasty" ,ghc-tasty)
13256 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13257 (home-page "https://github.com/bos/vector-binary-instances")
13258 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
13259 (description "This library provides instances of @code{Binary} for the
13260types defined in the @code{vector} package, making it easy to serialize
13261vectors to and from disk. We use the generic interface to vectors, so all
13262vector types are supported. Specific instances are provided for unboxed,
13263boxed and storable vectors.")
13264 (license license:bsd-3)))
13265
13266(define-public ghc-vector-builder
13267 (package
13268 (name "ghc-vector-builder")
1fc05441 13269 (version "0.3.8")
dddbc90c
RV
13270 (source
13271 (origin
13272 (method url-fetch)
13273 (uri (string-append "https://hackage.haskell.org/package/"
13274 "vector-builder-" version "/"
13275 "vector-builder-" version ".tar.gz"))
13276 (sha256
13277 (base32
1fc05441 13278 "0ww0l52p8s6gmh985adnjbvm1vrqpqbm08qdcrvxwhhcqmxgv6m3"))))
dddbc90c
RV
13279 (build-system haskell-build-system)
13280 (inputs `(("ghc-vector" ,ghc-vector)
13281 ("ghc-semigroups" ,ghc-semigroups)
13282 ("ghc-base-prelude" ,ghc-base-prelude)))
13283 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
13284 ("ghc-tasty" ,ghc-tasty)
13285 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13286 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
13287 ("ghc-hunit" ,ghc-hunit)
13288 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
13289 ("ghc-rerebase" ,ghc-rerebase)))
13290 (home-page "https://github.com/nikita-volkov/vector-builder")
13291 (synopsis "Vector builder for Haskell")
13292 (description "This Haskell package provides an API for constructing vectors.
13293It provides the composable @code{Builder} abstraction, which has instances of the
13294@code{Monoid} and @code{Semigroup} classes.
13295
13296You would first use the @code{Builder} abstraction to specify the structure of
13297the vector; then you can execute the builder to actually produce the
13298vector. ")
13299 (license license:expat)))
13300
13301(define-public ghc-vector-th-unbox
13302 (package
13303 (name "ghc-vector-th-unbox")
63056e61 13304 (version "0.2.1.7")
dddbc90c
RV
13305 (source
13306 (origin
13307 (method url-fetch)
13308 (uri (string-append "https://hackage.haskell.org/package/"
13309 "vector-th-unbox-" version "/"
13310 "vector-th-unbox-" version ".tar.gz"))
13311 (sha256
13312 (base32
63056e61 13313 "0q8dqnbv1c2gi7jjdhqj14abj1vik23ki6lq4iz2sz18yc7q69fi"))))
dddbc90c
RV
13314 (build-system haskell-build-system)
13315 (inputs
13316 `(("ghc-vector" ,ghc-vector)
13317 ("ghc-data-default" ,ghc-data-default)))
13318 (home-page "https://github.com/liyang/vector-th-unbox")
13319 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
13320 (description "This Haskell library provides a Template Haskell
13321deriver for unboxed vectors, given a pair of coercion functions to
13322and from some existing type with an Unbox instance.")
13323 (license license:bsd-3)))
13324
13325(define-public ghc-void
13326 (package
13327 (name "ghc-void")
51889121 13328 (version "0.7.3")
dddbc90c
RV
13329 (source
13330 (origin
13331 (method url-fetch)
13332 (uri (string-append
13333 "https://hackage.haskell.org/package/void/void-"
13334 version
13335 ".tar.gz"))
13336 (sha256
13337 (base32
51889121 13338 "05vk3x1r9a2pqnzfji475m5gdih2im1h7rbi2sc67p1pvj6pbbsk"))))
dddbc90c
RV
13339 (build-system haskell-build-system)
13340 (inputs
13341 `(("ghc-semigroups" ,ghc-semigroups)
13342 ("ghc-hashable" ,ghc-hashable)))
13343 (home-page "https://github.com/ekmett/void")
13344 (synopsis
13345 "Logically uninhabited data type")
13346 (description
13347 "A Haskell 98 logically uninhabited data type, used to indicate that a
13348given term should not exist.")
13349 (license license:bsd-3)))
13350
13351(define-public ghc-wave
13352 (package
13353 (name "ghc-wave")
1631a0f7 13354 (version "0.2.0")
dddbc90c
RV
13355 (source (origin
13356 (method url-fetch)
13357 (uri (string-append
13358 "https://hackage.haskell.org/package/wave/wave-"
13359 version
13360 ".tar.gz"))
13361 (sha256
13362 (base32
1631a0f7 13363 "149kgwngq3qxc7gxpkqb16j669j0wpv2f3gnvfwp58yg6m4259ki"))))
dddbc90c
RV
13364 (build-system haskell-build-system)
13365 (arguments
13366 '(#:phases
13367 (modify-phases %standard-phases
13368 (add-before 'configure 'update-constraints
13369 (lambda _
13370 (substitute* "wave.cabal"
13371 (("temporary.* < 1\\.3")
13372 "temporary >= 1.1 && < 1.4")))))))
13373 (inputs
13374 `(("ghc-cereal" ,ghc-cereal)
13375 ("ghc-data-default-class"
13376 ,ghc-data-default-class)
13377 ("ghc-quickcheck" ,ghc-quickcheck)
13378 ("ghc-temporary" ,ghc-temporary)))
13379 (native-inputs
13380 `(("hspec-discover" ,hspec-discover)
13381 ("ghc-hspec" ,ghc-hspec)))
13382 (home-page "https://github.com/mrkkrp/wave")
13383 (synopsis "Work with WAVE and RF64 files in Haskell")
13384 (description "This package allows you to work with WAVE and RF64
13385files in Haskell.")
13386 (license license:bsd-3)))
13387
13388(define-public ghc-wcwidth
13389 (package
13390 (name "ghc-wcwidth")
13391 (version "0.0.2")
13392 (source
13393 (origin
13394 (method url-fetch)
13395 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
13396 version ".tar.gz"))
13397 (sha256
13398 (base32
13399 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
13400 (build-system haskell-build-system)
13401 (inputs
13402 `(("ghc-setlocale" ,ghc-setlocale)
13403 ("ghc-utf8-string" ,ghc-utf8-string)
13404 ("ghc-attoparsec" ,ghc-attoparsec)))
13405 (home-page "https://github.com/solidsnack/wcwidth/")
13406 (synopsis "Haskell bindings to wcwidth")
13407 (description "This package provides Haskell bindings to your system's
13408native wcwidth and a command line tool to examine the widths assigned by it.
13409The command line tool can compile a width table to Haskell code that assigns
13410widths to the Char type.")
13411 (license license:bsd-3)))
13412
13413(define-public ghc-wcwidth-bootstrap
13414 (package
13415 (inherit ghc-wcwidth)
13416 (name "ghc-wcwidth-bootstrap")
13417 (inputs
13418 `(("ghc-setlocale" ,ghc-setlocale)
13419 ("ghc-utf8-string" ,ghc-utf8-string)
13420 ("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
799d8d3c 13421 (properties '((hidden? #t)))))
dddbc90c
RV
13422
13423(define-public ghc-weigh
13424 (package
13425 (name "ghc-weigh")
b6d9777f 13426 (version "0.0.14")
dddbc90c
RV
13427 (source
13428 (origin
13429 (method url-fetch)
13430 (uri (string-append "https://hackage.haskell.org/package/weigh/"
13431 "weigh-" version ".tar.gz"))
13432 (sha256
13433 (base32
b6d9777f 13434 "0l85marb5rl9nr1c0id42dnr5i9fk1jciy5h6lywhb34w3hbj61g"))))
dddbc90c
RV
13435 (build-system haskell-build-system)
13436 (inputs
13437 `(("ghc-split" ,ghc-split)
13438 ("ghc-temporary" ,ghc-temporary)))
13439 (home-page "https://github.com/fpco/weigh#readme")
13440 (synopsis "Measure allocations of a Haskell functions/values")
13441 (description "This package provides tools to measure the memory usage of a
13442Haskell value or function.")
13443 (license license:bsd-3)))
13444
13445(define-public ghc-wl-pprint
13446 (package
13447 (name "ghc-wl-pprint")
13448 (version "1.2.1")
13449 (source (origin
13450 (method url-fetch)
13451 (uri (string-append
13452 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
13453 version ".tar.gz"))
13454 (sha256
13455 (base32
13456 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
13457 (build-system haskell-build-system)
13458 (home-page "https://hackage.haskell.org/package/wl-pprint")
13459 (synopsis "Wadler/Leijen pretty printer")
13460 (description
13461 "This is a pretty printing library based on Wadler's paper @i{A Prettier
13462Printer}. This version allows the library user to declare overlapping
13463instances of the @code{Pretty} class.")
13464 (license license:bsd-3)))
13465
13466(define-public ghc-wl-pprint-annotated
13467 (package
13468 (name "ghc-wl-pprint-annotated")
13469 (version "0.1.0.1")
13470 (source
13471 (origin
13472 (method url-fetch)
13473 (uri (string-append
13474 "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-"
13475 version
13476 ".tar.gz"))
13477 (sha256
13478 (base32
13479 "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb"))))
13480 (build-system haskell-build-system)
13481 (native-inputs
13482 `(("ghc-tasty" ,ghc-tasty)
13483 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
13484 (home-page
13485 "https://github.com/minad/wl-pprint-annotated#readme")
13486 (synopsis
13487 "Wadler/Leijen pretty printer with annotation support")
13488 (description
13489 "Annotations are useful for coloring. This is a limited version of
13490@code{wl-pprint-extras} without support for point effects and without the free
13491monad. Like in @code{annotated-wl-pprint}, only annotations are supported.
13492Compared to @code{annotated-wl-pprint} this library provides a slightly
13493modernized interface.")
13494 (license license:bsd-3)))
13495
13496(define-public ghc-wl-pprint-text
13497 (package
13498 (name "ghc-wl-pprint-text")
13499 (version "1.2.0.0")
13500 (source
13501 (origin
13502 (method url-fetch)
13503 (uri (string-append
13504 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
13505 version ".tar.gz"))
13506 (sha256
13507 (base32
13508 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
13509 (build-system haskell-build-system)
13510 (inputs
13511 `(("ghc-base-compat" ,ghc-base-compat)))
13512 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
13513 (synopsis "Wadler/Leijen Pretty Printer for Text values")
13514 (description
13515 "A clone of wl-pprint for use with the text library.")
13516 (license license:bsd-3)))
13517
13518(define-public ghc-word8
13519 (package
13520 (name "ghc-word8")
13521 (version "0.1.3")
13522 (source
13523 (origin
13524 (method url-fetch)
13525 (uri (string-append
13526 "https://hackage.haskell.org/package/word8/word8-"
13527 version
13528 ".tar.gz"))
13529 (sha256
13530 (base32
13531 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
13532 (build-system haskell-build-system)
13533 (native-inputs
13534 `(("ghc-hspec" ,ghc-hspec)
13535 ("hspec-discover" ,hspec-discover)))
13536 (home-page "https://hackage.haskell.org/package/word8")
13537 (synopsis "Word8 library for Haskell")
13538 (description "Word8 library to be used with @code{Data.ByteString}.")
13539 (license license:bsd-3)))
13540
13541(define-public ghc-x11
13542 (package
13543 (name "ghc-x11")
6c4581a3 13544 (version "1.9.1")
dddbc90c
RV
13545 (source
13546 (origin
13547 (method url-fetch)
13548 (uri (string-append "https://hackage.haskell.org/package/X11/"
13549 "X11-" version ".tar.gz"))
13550 (sha256
6c4581a3 13551 (base32 "0gg6852mrlgl8zng1j84fismz7k81jr5fk92glgkscf8q6ryg0bm"))))
dddbc90c
RV
13552 (build-system haskell-build-system)
13553 (inputs
13554 `(("libx11" ,libx11)
13555 ("libxrandr" ,libxrandr)
13556 ("libxinerama" ,libxinerama)
13557 ("libxscrnsaver" ,libxscrnsaver)
13558 ("ghc-data-default" ,ghc-data-default)))
13559 (home-page "https://github.com/haskell-pkg-janitors/X11")
13560 (synopsis "Bindings to the X11 graphics library")
13561 (description
13562 "This package provides Haskell bindings to the X11 graphics library. The
13563bindings are a direct translation of the C bindings.")
13564 (license license:bsd-3)))
13565
13566(define-public ghc-x11-xft
13567 (package
13568 (name "ghc-x11-xft")
13569 (version "0.3.1")
13570 (source
13571 (origin
13572 (method url-fetch)
13573 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
13574 "X11-xft-" version ".tar.gz"))
13575 (sha256
13576 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
13577 (inputs
13578 `(("ghc-x11" ,ghc-x11)
13579 ("ghc-utf8-string" ,ghc-utf8-string)
13580 ("libx11" ,libx11)
13581 ("libxft" ,libxft)
13582 ("xorgproto" ,xorgproto)))
13583 (native-inputs
13584 `(("pkg-config" ,pkg-config)))
13585 (build-system haskell-build-system)
13586 (home-page "https://hackage.haskell.org/package/X11-xft")
13587 (synopsis "Bindings to Xft")
13588 (description
13589 "Bindings to the Xft, X Free Type interface library, and some Xrender
13590parts.")
13591 (license license:lgpl2.1)))
13592
13593(define-public ghc-xdg-basedir
13594 (package
13595 (name "ghc-xdg-basedir")
13596 (version "0.2.2")
13597 (source
13598 (origin
13599 (method url-fetch)
13600 (uri (string-append
13601 "https://hackage.haskell.org/package/xdg-basedir/"
13602 "xdg-basedir-" version ".tar.gz"))
13603 (sha256
13604 (base32
13605 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
13606 (build-system haskell-build-system)
13607 (home-page "http://github.com/willdonnelly/xdg-basedir")
13608 (synopsis "XDG Base Directory library for Haskell")
13609 (description "This package provides a library implementing the XDG Base Directory spec.")
13610 (license license:bsd-3)))
13611
13612(define-public ghc-xml
13613 (package
13614 (name "ghc-xml")
13615 (version "1.3.14")
13616 (source
13617 (origin
13618 (method url-fetch)
13619 (uri (string-append
13620 "https://hackage.haskell.org/package/xml/xml-"
13621 version
13622 ".tar.gz"))
13623 (sha256
13624 (base32
13625 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
13626 (build-system haskell-build-system)
2b62f5d0 13627 (home-page "https://github.com/GaloisInc/xml")
dddbc90c
RV
13628 (synopsis "Simple XML library for Haskell")
13629 (description "This package provides a simple XML library for Haskell.")
13630 (license license:bsd-3)))
13631
13632(define-public ghc-xml-conduit
13633 (package
13634 (name "ghc-xml-conduit")
13635 (version "1.8.0.1")
13636 (source
13637 (origin
13638 (method url-fetch)
13639 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
13640 "xml-conduit-" version ".tar.gz"))
13641 (sha256
13642 (base32
13643 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
13644 (build-system haskell-build-system)
13645 (inputs
13646 `(("ghc-conduit" ,ghc-conduit)
13647 ("ghc-conduit-extra" ,ghc-conduit-extra)
13648 ("ghc-doctest" ,ghc-doctest)
13649 ("ghc-resourcet" ,ghc-resourcet)
13650 ("ghc-xml-types" ,ghc-xml-types)
13651 ("ghc-attoparsec" ,ghc-attoparsec)
13652 ("ghc-data-default-class" ,ghc-data-default-class)
13653 ("ghc-blaze-markup" ,ghc-blaze-markup)
13654 ("ghc-blaze-html" ,ghc-blaze-html)
13655 ("ghc-monad-control" ,ghc-monad-control)
13656 ("ghc-hspec" ,ghc-hspec)
13657 ("ghc-hunit" ,ghc-hunit)))
13658 (home-page "https://github.com/snoyberg/xml")
13659 (synopsis "Utilities for dealing with XML with the conduit package")
13660 (description
13661 "This package provides pure-Haskell utilities for dealing with XML with
13662the @code{conduit} package.")
13663 (license license:expat)))
13664
13665(define-public ghc-xml-types
13666 (package
13667 (name "ghc-xml-types")
13668 (version "0.3.6")
13669 (source
13670 (origin
13671 (method url-fetch)
13672 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
13673 "xml-types-" version ".tar.gz"))
13674 (sha256
13675 (base32
13676 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
13677 (build-system haskell-build-system)
13678 (home-page "https://john-millikin.com/software/haskell-xml/")
13679 (synopsis "Basic types for representing XML")
13680 (description "This package provides basic types for representing XML
13681documents.")
13682 (license license:expat)))
13683
13684(define-public ghc-yaml
13685 (package
13686 (name "ghc-yaml")
b58e5b84 13687 (version "0.11.1.2")
dddbc90c
RV
13688 (source (origin
13689 (method url-fetch)
13690 (uri (string-append "https://hackage.haskell.org/package/"
13691 "yaml/yaml-" version ".tar.gz"))
13692 (sha256
13693 (base32
b58e5b84 13694 "028pz77n92l6kjgjv263h4b6yhw1iibdbf3a3dkn5qnz537xpzhc"))))
dddbc90c 13695 (build-system haskell-build-system)
dddbc90c
RV
13696 (inputs
13697 `(("ghc-conduit" ,ghc-conduit)
13698 ("ghc-resourcet" ,ghc-resourcet)
13699 ("ghc-aeson" ,ghc-aeson)
13700 ("ghc-unordered-containers" ,ghc-unordered-containers)
13701 ("ghc-vector" ,ghc-vector)
13702 ("ghc-attoparsec" ,ghc-attoparsec)
13703 ("ghc-scientific" ,ghc-scientific)
13704 ("ghc-semigroups" ,ghc-semigroups)
13705 ("ghc-temporary" ,ghc-temporary)
13706 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
b58e5b84
TS
13707 ("ghc-base-compat" ,ghc-base-compat)
13708 ("ghc-libyaml" ,ghc-libyaml)))
dddbc90c
RV
13709 (native-inputs
13710 `(("ghc-hspec" ,ghc-hspec)
13711 ("ghc-hunit" ,ghc-hunit)
13712 ("hspec-discover" ,hspec-discover)
b58e5b84
TS
13713 ("ghc-mockery" ,ghc-mockery)
13714 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)))
dddbc90c
RV
13715 (home-page "https://github.com/snoyberg/yaml/")
13716 (synopsis "Parsing and rendering YAML documents")
13717 (description
13718 "This package provides a library to parse and render YAML documents.")
13719 (license license:bsd-3)))
13720
13721(define-public ghc-zip-archive
13722 (package
13723 (name "ghc-zip-archive")
93c1fdd3 13724 (version "0.4.1")
dddbc90c
RV
13725 (source
13726 (origin
13727 (method url-fetch)
13728 (uri (string-append
13729 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
13730 version
13731 ".tar.gz"))
13732 (sha256
13733 (base32
93c1fdd3 13734 "1cdix5mnxrbs7b2kivhdydhfzgxidd9dqlw71mdw5p21cabwkmf5"))))
dddbc90c 13735 (build-system haskell-build-system)
93c1fdd3
TS
13736 (arguments
13737 `(#:phases
13738 (modify-phases %standard-phases
13739 (add-before 'check 'set-PATH-for-tests
13740 (lambda* (#:key inputs #:allow-other-keys)
13741 (let ((unzip (assoc-ref inputs "unzip"))
13742 (which (assoc-ref inputs "which"))
13743 (path (getenv "PATH")))
13744 (setenv "PATH" (string-append unzip "/bin:" which "/bin:" path))
13745 #t))))))
dddbc90c
RV
13746 (inputs
13747 `(("ghc-digest" ,ghc-digest)
13748 ("ghc-temporary" ,ghc-temporary)
13749 ("ghc-zlib" ,ghc-zlib)))
13750 (native-inputs
13751 `(("ghc-hunit" ,ghc-hunit)
93c1fdd3
TS
13752 ("unzip" ,unzip)
13753 ("which" ,which)))
dddbc90c
RV
13754 (home-page "https://hackage.haskell.org/package/zip-archive")
13755 (synopsis "Zip archive library for Haskell")
13756 (description "The zip-archive library provides functions for creating,
13757modifying, and extracting files from zip archives in Haskell.")
13758 (license license:bsd-3)))
13759
13760(define-public ghc-zlib
13761 (package
13762 (name "ghc-zlib")
bf12089a 13763 (version "0.6.2.1")
dddbc90c
RV
13764 (outputs '("out" "doc"))
13765 (source
13766 (origin
13767 (method url-fetch)
13768 (uri (string-append
13769 "https://hackage.haskell.org/package/zlib/zlib-"
13770 version
13771 ".tar.gz"))
13772 (sha256
13773 (base32
bf12089a 13774 "1l11jraslcrp9d4wnhwfyhwk4fsiq1aq8i6vj81vcq1m2zzi1y7h"))))
dddbc90c
RV
13775 (build-system haskell-build-system)
13776 (arguments
13777 `(#:phases
13778 (modify-phases %standard-phases
13779 (add-before 'configure 'strip-test-framework-constraints
13780 (lambda _
13781 (substitute* "zlib.cabal"
13782 (("tasty >= 0\\.8 && < 0\\.12") "tasty")
13783 (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit")
13784 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
13785 (inputs `(("zlib" ,zlib)))
13786 (native-inputs
13787 `(("ghc-quickcheck" ,ghc-quickcheck)
13788 ("ghc-tasty" ,ghc-tasty)
13789 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13790 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13791 (home-page "https://hackage.haskell.org/package/zlib")
13792 (synopsis
13793 "Compression and decompression in the gzip and zlib formats")
13794 (description
13795 "This package provides a pure interface for compressing and decompressing
13796streams of data represented as lazy @code{ByteString}s. It uses the zlib C
13797library so it has high performance. It supports the @code{zlib}, @code{gzip}
13798and @code{raw} compression formats. It provides a convenient high level API
13799suitable for most tasks and for the few cases where more control is needed it
13800provides access to the full zlib feature set.")
bbf8bf31 13801 (license license:bsd-3)))
14e41996
RV
13802
13803(define-public ghc-zlib-bindings
13804 (package
13805 (name "ghc-zlib-bindings")
13806 (version "0.1.1.5")
13807 (source
13808 (origin
13809 (method url-fetch)
13810 (uri (string-append "https://hackage.haskell.org/package/"
13811 "zlib-bindings/zlib-bindings-" version ".tar.gz"))
13812 (sha256
13813 (base32
13814 "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8"))))
13815 (build-system haskell-build-system)
13816 (inputs
13817 `(("ghc-zlib" ,ghc-zlib)))
13818 (native-inputs
13819 `(("ghc-hspec" ,ghc-hspec)
13820 ("ghc-quickcheck" ,ghc-quickcheck)))
13821 (arguments
13822 `(#:cabal-revision
13823 ("2" "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc")))
13824 (home-page "https://github.com/snapframework/zlib-bindings")
13825 (synopsis "Low-level bindings to the @code{zlib} package")
13826 (description "This package provides low-level bindings to the
13827@code{zlib} package.")
13828 (license license:bsd-3)))
8428e92c
TS
13829
13830(define-public ghc-zstd
13831 (package
13832 (name "ghc-zstd")
13833 (version "0.1.1.2")
13834 (source
13835 (origin
13836 (method url-fetch)
13837 (uri (string-append "https://hackage.haskell.org/package/"
13838 "zstd/zstd-" version ".tar.gz"))
13839 (sha256
13840 (base32
13841 "147s496zvw13akxqzg65mgfvk3bvhrcilxgf8n786prxg5cm4jz2"))))
13842 (build-system haskell-build-system)
13843 (native-inputs
13844 `(("ghc-quickcheck" ,ghc-quickcheck)
13845 ("ghc-test-framework" ,ghc-test-framework)
13846 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
13847 (home-page "https://github.com/luispedro/hs-zstd")
13848 (synopsis "Haskell bindings to the Zstandard compression algorithm")
13849 (description "This library provides Haskell bindings to the
13850Zstandard compression algorithm, a fast lossless compression algorithm
13851targeting real-time compression scenarios at zlib-level and better
13852compression ratios.")
13853 (license license:bsd-3)))