gnu: Add ghc-decimal.
[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>
82c36002 22;;; Copyright © 2019,2020 John Soo <jsoo1@asu.edu>
7f89dfc9 23;;; Copyright © 2019, 2020 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>
7f2a5650 29;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
6b34d01c
RV
30;;;
31;;; This file is part of GNU Guix.
32;;;
33;;; GNU Guix is free software; you can redistribute it and/or modify it
34;;; under the terms of the GNU General Public License as published by
35;;; the Free Software Foundation; either version 3 of the License, or (at
36;;; your option) any later version.
37;;;
38;;; GNU Guix is distributed in the hope that it will be useful, but
39;;; WITHOUT ANY WARRANTY; without even the implied warranty of
40;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41;;; GNU General Public License for more details.
42;;;
43;;; You should have received a copy of the GNU General Public License
44;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
45
46(define-module (gnu packages haskell-xyz)
47 #:use-module (gnu packages)
dddbc90c
RV
48 #:use-module (gnu packages base)
49 #:use-module (gnu packages compression)
50 #:use-module (gnu packages emacs)
dddbc90c
RV
51 #:use-module (gnu packages gl)
52 #:use-module (gnu packages graphviz)
53 #:use-module (gnu packages gtk)
d4e4a382 54 #:use-module (gnu packages haskell)
dddbc90c 55 #:use-module (gnu packages haskell-apps)
efb96749 56 #:use-module (gnu packages haskell-check)
dddbc90c
RV
57 #:use-module (gnu packages haskell-crypto)
58 #:use-module (gnu packages haskell-web)
59 #:use-module (gnu packages libffi)
60 #:use-module (gnu packages linux)
e3ee8023 61 #:use-module (gnu packages llvm)
dddbc90c
RV
62 #:use-module (gnu packages lua)
63 #:use-module (gnu packages maths)
49e29df5 64 #:use-module (gnu packages ncurses)
dddbc90c
RV
65 #:use-module (gnu packages pcre)
66 #:use-module (gnu packages pkg-config)
67 #:use-module (gnu packages sdl)
0c2d6fc2 68 #:use-module (gnu packages web)
dddbc90c
RV
69 #:use-module (gnu packages xml)
70 #:use-module (gnu packages xorg)
6b34d01c
RV
71 #:use-module (guix build-system haskell)
72 #:use-module (guix download)
dddbc90c 73 #:use-module (guix git-download)
4780db2c 74 #:use-module (guix utils)
6b34d01c 75 #:use-module ((guix licenses) #:prefix license:)
d4e4a382
RW
76 #:use-module (guix packages)
77 #:use-module (srfi srfi-1))
6b34d01c 78
dddbc90c 79(define-public ghc-abstract-deque
efb96749 80 (package
dddbc90c
RV
81 (name "ghc-abstract-deque")
82 (version "0.3")
efb96749
RV
83 (source
84 (origin
85 (method url-fetch)
86 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
87 "abstract-deque-" version "/"
88 "abstract-deque-" version ".tar.gz"))
efb96749
RV
89 (sha256
90 (base32
dddbc90c 91 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
efb96749 92 (build-system haskell-build-system)
dddbc90c
RV
93 (inputs `(("ghc-random" ,ghc-random)))
94 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
95 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
96 (description "This Haskell package provides an abstract interface to
97highly-parameterizable queues/deques.
98
99Background: There exists a feature space for queues that extends between:
efb96749
RV
100
101@itemize
dddbc90c
RV
102@item Simple, single-ended, non-concurrent, bounded queues
103
104@item Double-ended, thread-safe, growable queues with important points
105in between (such as the queues used for work stealing).
efb96749
RV
106@end itemize
107
dddbc90c
RV
108This package includes an interface for Deques that allows the programmer
109to use a single API for all of the above, while using the type system to
110select an efficient implementation given the requirements (using type families).
efb96749 111
dddbc90c
RV
112This package also includes a simple reference implementation based on
113@code{IORef} and @code{Data.Sequence}.")
efb96749
RV
114 (license license:bsd-3)))
115
dddbc90c 116(define-public ghc-abstract-par
658dbc7f 117 (package
dddbc90c
RV
118 (name "ghc-abstract-par")
119 (version "0.3.3")
658dbc7f
RV
120 (source
121 (origin
122 (method url-fetch)
123 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
124 "abstract-par-" version "/"
125 "abstract-par-" version ".tar.gz"))
658dbc7f
RV
126 (sha256
127 (base32
dddbc90c
RV
128 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
129 (build-system haskell-build-system)
130 (home-page "https://github.com/simonmar/monad-par")
131 (synopsis "Abstract parallelization interface for Haskell")
132 (description "This Haskell package is an abstract interface
133only. It provides a number of type clasess, but not an
134implementation. The type classes separate different levels
135of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
136module for more details.")
137 (license license:bsd-3)))
138
d8b88d74
TS
139(define-public ghc-active
140 (package
141 (name "ghc-active")
142 (version "0.2.0.14")
143 (source
144 (origin
145 (method url-fetch)
146 (uri (string-append "https://hackage.haskell.org/package/"
147 "active/active-" version ".tar.gz"))
148 (sha256
149 (base32
150 "0x3b4ln6csa554qls28wbxvclkbdz3yi60i1m0q5ing0cs16fifz"))))
151 (build-system haskell-build-system)
152 (inputs
153 `(("ghc-vector" ,ghc-vector)
154 ("ghc-semigroups" ,ghc-semigroups)
155 ("ghc-semigroupoids" ,ghc-semigroupoids)
156 ("ghc-lens" ,ghc-lens)
157 ("ghc-linear" ,ghc-linear)))
158 (native-inputs
159 `(("ghc-quickcheck" ,ghc-quickcheck)))
160 (home-page "https://hackage.haskell.org/package/active")
161 (synopsis "Abstractions for animation")
162 (description "This package defines an @code{Active} abstraction for
163time-varying values with finite start and end times. It is used for
164describing animations within the
165@url{https://archives.haskell.org/projects.haskell.org/diagrams/,
166diagrams framework}.")
167 (license license:bsd-3)))
168
dddbc90c
RV
169(define-public ghc-adjunctions
170 (package
171 (name "ghc-adjunctions")
172 (version "4.4")
173 (source
174 (origin
175 (method url-fetch)
176 (uri (string-append
177 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
178 version
179 ".tar.gz"))
180 (sha256
181 (base32
182 "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h"))))
658dbc7f 183 (build-system haskell-build-system)
a78262be
TS
184 (arguments
185 `(#:cabal-revision
186 ("2" "1yfsjx7dqikg3hvld7i91xfsg5lawmr5980lvfd794sybmgxsf17")))
658dbc7f 187 (inputs
dddbc90c
RV
188 `(("ghc-profunctors" ,ghc-profunctors)
189 ("ghc-comonad" ,ghc-comonad)
190 ("ghc-contravariant" ,ghc-contravariant)
191 ("ghc-distributive" ,ghc-distributive)
192 ("ghc-free" ,ghc-free)
193 ("ghc-tagged" ,ghc-tagged)
194 ("ghc-semigroupoids" ,ghc-semigroupoids)
195 ("ghc-semigroups" ,ghc-semigroups)
196 ("ghc-transformers-compat" ,ghc-transformers-compat)
197 ("ghc-void" ,ghc-void)))
658dbc7f 198 (native-inputs
dddbc90c
RV
199 `(("ghc-generic-deriving" ,ghc-generic-deriving)
200 ("ghc-hspec" ,ghc-hspec)
201 ("hspec-discover" ,hspec-discover)))
202 (home-page "https://github.com/ekmett/adjunctions/")
203 (synopsis "Adjunctions and representable functors")
204 (description "This library provides adjunctions and representable functors
205for Haskell.")
206 (license license:bsd-3)))
207
208(define-public ghc-aeson-compat
209 (package
210 (name "ghc-aeson-compat")
0bafb755 211 (version "0.3.9")
dddbc90c
RV
212 (source
213 (origin
214 (method url-fetch)
215 (uri (string-append "https://hackage.haskell.org/package/"
216 "aeson-compat-" version "/"
217 "aeson-compat-" version ".tar.gz"))
218 (sha256
219 (base32
0bafb755 220 "1j13gykv4ryvmr14w5blz0nnpdb4p0hpa27wahw3mhb1lwdr8hz0"))))
dddbc90c
RV
221 (build-system haskell-build-system)
222 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
223 (inputs `(("ghc-base-compat" ,ghc-base-compat)
224 ("ghc-aeson" ,ghc-aeson)
225 ("ghc-attoparsec" ,ghc-attoparsec)
226 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
227 ("ghc-exceptions" ,ghc-exceptions)
228 ("ghc-hashable" ,ghc-hashable)
229 ("ghc-scientific" ,ghc-scientific)
230 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
231 ("ghc-unordered-containers" ,ghc-unordered-containers)
232 ("ghc-vector" ,ghc-vector)
233 ("ghc-tagged" ,ghc-tagged)
234 ("ghc-semigroups" ,ghc-semigroups)
235 ("ghc-nats" ,ghc-nats)))
236 (home-page "https://github.com/phadej/aeson-compat")
237 (synopsis "Compatibility layer for ghc-aeson")
238 (description "This Haskell package provides compatibility layer for
239ghc-aeson.")
240 (license license:bsd-3)))
241
cbc6f861
TS
242(define-public ghc-aeson-diff
243 (package
244 (name "ghc-aeson-diff")
245 (version "1.1.0.7")
246 (source
247 (origin
248 (method url-fetch)
249 (uri (string-append "https://hackage.haskell.org/package/"
250 "aeson-diff/aeson-diff-" version ".tar.gz"))
251 (sha256
252 (base32
253 "01d48pd7d1mb9cd5yxfajln8rmjdjq8ch91s0lav4qw1azv6vp2r"))))
254 (build-system haskell-build-system)
255 (inputs
256 `(("ghc-aeson" ,ghc-aeson)
257 ("ghc-edit-distance-vector" ,ghc-edit-distance-vector)
258 ("ghc-hashable" ,ghc-hashable)
259 ("ghc-scientific" ,ghc-scientific)
260 ("ghc-unordered-containers" ,ghc-unordered-containers)
261 ("ghc-vector" ,ghc-vector)
262 ("ghc-semigroups" ,ghc-semigroups)
263 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
264 (native-inputs
265 `(("ghc-quickcheck" ,ghc-quickcheck)
266 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
267 ("ghc-glob" ,ghc-glob)
268 ("ghc-quickcheck" ,ghc-quickcheck)
269 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
270 ("ghc-quickcheck" ,ghc-quickcheck)
271 ("ghc-doctest" ,ghc-doctest)
272 ("hlint" ,hlint)))
273 (home-page "https://github.com/thsutton/aeson-diff")
274 (synopsis "Extract and apply patches to JSON documents")
275 (description "This is a small library for working with changes to JSON
276documents. It includes a library and two command-line executables in the
277style of the @command{diff} and @command{patch} commands available on many
278systems.")
279 (license license:bsd-3)))
280
dddbc90c
RV
281(define-public ghc-alex
282 (package
283 (name "ghc-alex")
284 (version "3.2.4")
285 (source
286 (origin
287 (method url-fetch)
288 (uri (string-append
289 "https://hackage.haskell.org/package/alex/alex-"
290 version
291 ".tar.gz"))
292 (sha256
293 (base32
294 "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm"))))
295 (build-system haskell-build-system)
658dbc7f 296 (arguments
dddbc90c
RV
297 `(#:phases
298 (modify-phases %standard-phases
299 (add-before 'check 'set-check-variables
300 (lambda _
301 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
302 (getenv "PATH")))
303 (setenv "alex_datadir" (string-append (getcwd) "/data"))
304 #t)))))
305 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
306 (native-inputs
307 `(("which" ,which)))
308 (home-page "https://www.haskell.org/alex/")
309 (synopsis
310 "Tool for generating lexical analysers in Haskell")
311 (description
312 "Alex is a tool for generating lexical analysers in Haskell. It takes a
313description of tokens based on regular expressions and generates a Haskell
314module containing code for scanning text efficiently. It is similar to the
315tool lex or flex for C/C++.")
658dbc7f
RV
316 (license license:bsd-3)))
317
dddbc90c 318(define-public ghc-alsa-core
7b01a977 319 (package
dddbc90c
RV
320 (name "ghc-alsa-core")
321 (version "0.5.0.1")
322 (source
323 (origin
324 (method url-fetch)
325 (uri (string-append
326 "mirror://hackage/package/alsa-core/alsa-core-"
327 version
328 ".tar.gz"))
329 (sha256
330 (base32
331 "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b"))))
332 (build-system haskell-build-system)
54a5fd07
TS
333 (arguments
334 `(#:extra-directories ("alsa-lib")))
dddbc90c
RV
335 (inputs
336 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
337 ("alsa-lib" ,alsa-lib)))
338 (native-inputs
339 `(("pkg-config" ,pkg-config)))
228d2901 340 (home-page "https://wiki.haskell.org/ALSA")
dddbc90c
RV
341 (synopsis "Binding to the ALSA Library API (Exceptions)")
342 (description "This package provides access to ALSA infrastructure, that is
343needed by both alsa-seq and alsa-pcm.")
344 (license license:bsd-3)))
345
f2ed1e6d
JS
346(define-public ghc-alsa-mixer
347 (package
348 (name "ghc-alsa-mixer")
349 (version "0.3.0")
350 (source
351 (origin
352 (method url-fetch)
353 (uri
354 (string-append
355 "mirror://hackage/package/alsa-mixer/alsa-mixer-"
356 version ".tar.gz"))
357 (sha256
358 (base32
359 "00ny2p3276jilidjs44npc8zmbhynz3f2lpmlwwl6swwx5yijsnb"))))
360 (build-system haskell-build-system)
361 (inputs `(("ghc-alsa-core" ,ghc-alsa-core)))
362 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
363 (home-page "https://github.com/ttuegel/alsa-mixer")
364 (synopsis "Bindings to the ALSA simple mixer API")
365 (description
366 "This package provides bindings to the ALSA simple mixer API.")
367 (license license:bsd-3)))
368
dddbc90c
RV
369(define-public ghc-annotated-wl-pprint
370 (package
371 (name "ghc-annotated-wl-pprint")
372 (version "0.7.0")
373 (source
374 (origin
375 (method url-fetch)
376 (uri (string-append
377 "https://hackage.haskell.org/package/annotated-wl-pprint"
378 "/annotated-wl-pprint-" version
379 ".tar.gz"))
380 (sha256
381 (base32
382 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
383 (build-system haskell-build-system)
384 (home-page
385 "https://github.com/david-christiansen/annotated-wl-pprint")
386 (synopsis
387 "The Wadler/Leijen Pretty Printer, with annotation support")
388 (description "This is a modified version of wl-pprint, which was based on
389Wadler's paper \"A Prettier Printer\". This version allows the library user
390to annotate the text with semantic information, which can later be rendered in
391a variety of ways.")
392 (license license:bsd-3)))
393
394(define-public ghc-ansi-terminal
395 (package
396 (name "ghc-ansi-terminal")
f1b4a73f 397 (version "0.9.1")
dddbc90c
RV
398 (source
399 (origin
400 (method url-fetch)
401 (uri (string-append
402 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
403 version
404 ".tar.gz"))
405 (sha256
406 (base32
f1b4a73f 407 "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l"))))
dddbc90c
RV
408 (build-system haskell-build-system)
409 (inputs
410 `(("ghc-colour" ,ghc-colour)))
411 (home-page "https://github.com/feuerbach/ansi-terminal")
412 (synopsis "ANSI terminal support for Haskell")
413 (description "This package provides ANSI terminal support for Haskell. It
414allows cursor movement, screen clearing, color output showing or hiding the
415cursor, and changing the title.")
416 (license license:bsd-3)))
417
418(define-public ghc-ansi-wl-pprint
419 (package
420 (name "ghc-ansi-wl-pprint")
c38746eb 421 (version "0.6.9")
7b01a977
RV
422 (source
423 (origin
424 (method url-fetch)
425 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c 426 "ansi-wl-pprint/ansi-wl-pprint-"
7b01a977
RV
427 version ".tar.gz"))
428 (sha256
429 (base32
c38746eb 430 "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7"))))
7b01a977
RV
431 (build-system haskell-build-system)
432 (inputs
dddbc90c
RV
433 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
434 (home-page "https://github.com/ekmett/ansi-wl-pprint")
435 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
436 (description "This is a pretty printing library based on Wadler's paper
437\"A Prettier Printer\". It has been enhanced with support for ANSI terminal
438colored output using the ansi-terminal package.")
439 (license license:bsd-3)))
440
441(define-public ghc-appar
442 (package
443 (name "ghc-appar")
1159d1a5 444 (version "0.1.8")
dddbc90c
RV
445 (source
446 (origin
447 (method url-fetch)
448 (uri (string-append
449 "https://hackage.haskell.org/package/appar/appar-"
450 version
451 ".tar.gz"))
452 (sha256
453 (base32
1159d1a5 454 "07v3h766q9mnhphsm53718h1lds147ix7dj15kc5hnsj4vffvkn4"))))
dddbc90c
RV
455 (build-system haskell-build-system)
456 (home-page
457 "https://hackage.haskell.org/package/appar")
458 (synopsis "Simple applicative parser")
459 (description "This package provides a simple applicative parser in Parsec
460style.")
461 (license license:bsd-3)))
462
af369394
JS
463(define-public ghc-assoc
464 (package
465 (name "ghc-assoc")
466 (version "1.0.1")
467 (source
468 (origin
469 (method url-fetch)
470 (uri (string-append
471 "https://hackage.haskell.org/package/assoc/assoc-"
472 version
473 ".tar.gz"))
474 (sha256
475 (base32
476 "1m9n4vp190bvn2wcrd4ggfwa9pi93jp0zgx02mdgywn2zfidw020"))))
477 (build-system haskell-build-system)
478 (inputs
479 `(("ghc-bifunctors" ,ghc-bifunctors)
480 ("ghc-tagged" ,ghc-tagged)))
481 (home-page
482 "http://hackage.haskell.org/package/assoc")
483 (synopsis
484 "Swap and assoc: Symmetric and Semigroupy Bifunctors")
485 (description
486 "Provides generalisations of @code{swap :: (a,b) -> (b,a)} and
487@code{assoc :: ((a,b),c) -> (a,(b,c))} to @code{Bifunctor}s supporting
488similar operations (e.g. @code{Either}, @code{These}).")
489 (license license:bsd-3)))
490
dddbc90c
RV
491(define-public ghc-async
492 (package
493 (name "ghc-async")
048ef066 494 (version "2.2.2")
dddbc90c
RV
495 (source
496 (origin
497 (method url-fetch)
498 (uri (string-append
499 "https://hackage.haskell.org/package/async/async-"
500 version
501 ".tar.gz"))
502 (sha256
503 (base32
048ef066 504 "1zxvfcyy4sg8lmzphi5dgnavksj5pav6rbvd5kc48lf4hanb2jjb"))))
dddbc90c
RV
505 (build-system haskell-build-system)
506 (inputs
507 `(("ghc-hashable" ,ghc-hashable)
508 ("ghc-hunit" ,ghc-hunit)
7b01a977
RV
509 ("ghc-test-framework" ,ghc-test-framework)
510 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
dddbc90c
RV
511 (home-page "https://github.com/simonmar/async")
512 (synopsis "Library to run IO operations asynchronously")
513 (description "Async provides a library to run IO operations
514asynchronously, and wait for their results. It is a higher-level interface
515over threads in Haskell, in which @code{Async a} is a concurrent thread that
516will eventually deliver a value of type @code{a}.")
7b01a977
RV
517 (license license:bsd-3)))
518
9ad9ec2e
AG
519(define-public ghc-atomic-primops
520 (package
521 (name "ghc-atomic-primops")
af16c6b0 522 (version "0.8.3")
9ad9ec2e
AG
523 (source
524 (origin
525 (method url-fetch)
526 (uri (string-append "https://hackage.haskell.org/package/atomic-primops"
527 "/atomic-primops-" version ".tar.gz"))
528 (sha256
529 (base32
af16c6b0 530 "03n5dmyplrqgbyf8dr91izkxci7gkl3i3fnp82i5ld869zrgjfh0"))))
9ad9ec2e
AG
531 (build-system haskell-build-system)
532 (inputs `(("ghc-primitive" ,ghc-primitive)))
533 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
534 (synopsis "Safe approach to CAS and other atomic ops")
535 (description
536 "GHC 7.4 introduced a new @code{casMutVar} PrimOp which is difficult to
537use safely, because pointer equality is a highly unstable property in Haskell.
538This library provides a safer method based on the concept of @code{Ticket}s.")
539 (license license:bsd-3)))
540
dddbc90c 541(define-public ghc-atomic-write
79fcc5e5 542 (package
dddbc90c 543 (name "ghc-atomic-write")
c09d1e62 544 (version "0.2.0.6")
79fcc5e5
RV
545 (source
546 (origin
547 (method url-fetch)
dddbc90c
RV
548 (uri (string-append
549 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
550 version
551 ".tar.gz"))
79fcc5e5
RV
552 (sha256
553 (base32
c09d1e62 554 "1xs3shwnlj8hmnm3q6jc8nv78z0481i5n4hrqqdmbpx8grvlnqyl"))))
dddbc90c
RV
555 (build-system haskell-build-system)
556 (inputs
557 `(("ghc-temporary" ,ghc-temporary)
558 ("ghc-unix-compat" ,ghc-unix-compat)))
559 (native-inputs
560 `(("ghc-temporary" ,ghc-temporary)
561 ("ghc-unix-compat" ,ghc-unix-compat)
562 ("ghc-hspec" ,ghc-hspec)
563 ("hspec-discover" ,hspec-discover)))
564 (home-page "https://github.com/stackbuilders/atomic-write")
565 (synopsis "Atomically write to a file")
566 (description
567 "Atomically write to a file on POSIX-compliant systems while preserving
568permissions. @code{mv} is an atomic operation. This makes it simple to write
569to a file atomically just by using the @code{mv} operation. However, this
570will destroy the permissions on the original file. This library preserves
571permissions while atomically writing to a file.")
572 (license license:expat)))
573
b7250901
JS
574(define-public ghc-atomic-write-0.2.0.7
575 (package
576 (inherit ghc-atomic-write)
577 (version "0.2.0.7")
578 (source
579 (origin
580 (inherit (package-source ghc-atomic-write))
581 (uri (string-append
582 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
583 version
584 ".tar.gz"))
585 (sha256
586 (base32
587 "03cn3ii74h0w3g4h78xsx9v2sn58r3qsr2dbdwq340xwhiwcgxdm"))))))
588
dddbc90c
RV
589(define-public ghc-attoparsec
590 (package
591 (name "ghc-attoparsec")
511c3204 592 (version "0.13.2.3")
dddbc90c
RV
593 (source
594 (origin
595 (method url-fetch)
596 (uri (string-append
597 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
598 version
599 ".tar.gz"))
600 (sha256
601 (base32
511c3204 602 "1ngjn9h5n0vyki0m2jir4mg85875ysswy9hznpmj1r856mqwc6ix"))))
79fcc5e5 603 (build-system haskell-build-system)
79fcc5e5 604 (arguments
dddbc90c
RV
605 `(#:phases
606 (modify-phases %standard-phases
607 (add-after 'unpack 'patch-for-newer-quickcheck
608 (lambda _
609 (substitute* "attoparsec.cabal"
610 (("QuickCheck >= 2\\.7 && < 2\\.10")
611 "QuickCheck >= 2.7 && < 2.12"))
612 ;; This test fails because of the newer QuickCheck:
613 ;; <https://github.com/bos/attoparsec/issues/134>.
614 (substitute* "tests/QC/ByteString.hs"
615 ((", testProperty \"satisfyWith\" satisfyWith")
616 "")))))))
617 (inputs
618 `(("ghc-scientific" ,ghc-scientific)))
619 (native-inputs
620 `(("ghc-tasty" ,ghc-tasty)
621 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
622 ("ghc-quickcheck" ,ghc-quickcheck)
623 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
624 ("ghc-vector" ,ghc-vector)))
625 (home-page "https://github.com/bos/attoparsec")
626 (synopsis "Fast combinator parsing for bytestrings and text")
627 (description "This library provides a fast parser combinator library,
628aimed particularly at dealing efficiently with network protocols and
629complicated text/binary file formats.")
79fcc5e5
RV
630 (license license:bsd-3)))
631
dddbc90c 632(define-public ghc-attoparsec-bootstrap
6b34d01c 633 (package
dddbc90c
RV
634 (inherit ghc-attoparsec)
635 (name "ghc-attoparsec-bootstrap")
636 (arguments `(#:tests? #f))
637 (inputs
638 `(("ghc-scientific" ,ghc-scientific-bootstrap)))
639 (native-inputs '())
799d8d3c 640 (properties '((hidden? #t)))))
dddbc90c
RV
641
642(define-public ghc-attoparsec-iso8601
643 (package
644 (name "ghc-attoparsec-iso8601")
97f267c8 645 (version "1.0.1.0")
6b34d01c
RV
646 (source
647 (origin
648 (method url-fetch)
649 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
650 "attoparsec-iso8601-" version "/"
651 "attoparsec-iso8601-" version ".tar.gz"))
6b34d01c
RV
652 (sha256
653 (base32
97f267c8 654 "0hj10w15qp2z5bz2v4xahhmbgzclpyfi5l2sv97wqycysg9gp7s9"))))
6b34d01c 655 (build-system haskell-build-system)
dddbc90c
RV
656 (arguments
657 `(#:cabal-revision
97f267c8 658 ("1" "1rjhscmczgs1bwyqx7lvkm8py3ylxjd2797mrzgnq60fvm292750")))
dddbc90c
RV
659 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
660 ("ghc-base-compat" ,ghc-base-compat)))
661 (home-page "https://github.com/bos/aeson")
662 (synopsis "Parse ISO 8601 dates")
663 (description "Haskell library for parsing of ISO 8601 dates, originally
664from aeson.")
6b34d01c 665 (license license:bsd-3)))
b57e99f5 666
dddbc90c 667(define-public ghc-auto-update
b57e99f5 668 (package
dddbc90c 669 (name "ghc-auto-update")
11b1b6cd 670 (version "0.1.6")
dddbc90c
RV
671 (source
672 (origin
673 (method url-fetch)
674 (uri (string-append
675 "https://hackage.haskell.org/package/auto-update/auto-update-"
676 version
677 ".tar.gz"))
678 (sha256
679 (base32
11b1b6cd 680 "1i36xc2i34aync8271x3pv515l3zb53i518dybn8ghqkhzf27q7l"))))
dddbc90c 681 (build-system haskell-build-system)
11b1b6cd
TS
682 (native-inputs
683 `(("ghc-hspec" ,ghc-hspec)
684 ("ghc-hunit" ,ghc-hunit)
685 ("ghc-retry" ,ghc-retry)
686 ("hspec-discover" ,hspec-discover)))
dddbc90c
RV
687 (home-page "https://github.com/yesodweb/wai")
688 (synopsis "Efficiently run periodic, on-demand actions")
689 (description "This library provides mechanisms to efficiently run
690periodic, on-demand actions in Haskell.")
691 (license license:expat)))
692
693(define-public ghc-aws
694 (package
695 (name "ghc-aws")
696 (version "0.20")
b57e99f5
RV
697 (source
698 (origin
699 (method url-fetch)
700 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
701 "aws-" version "/aws-" version ".tar.gz"))
702 (sha256 (base32
703 "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0"))))
704 (build-system haskell-build-system)
705 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
706 (inputs
707 `(("ghc-aeson" ,ghc-aeson)
708 ("ghc-attoparsec" ,ghc-attoparsec)
709 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
710 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
711 ("ghc-blaze-builder" ,ghc-blaze-builder)
712 ("ghc-byteable" ,ghc-byteable)
713 ("ghc-case-insensitive" ,ghc-case-insensitive)
714 ("ghc-cereal" ,ghc-cereal)
715 ("ghc-conduit" ,ghc-conduit)
716 ("ghc-conduit-extra" ,ghc-conduit-extra)
717 ("ghc-cryptonite" ,ghc-cryptonite)
718 ("ghc-data-default" ,ghc-data-default)
719 ("ghc-http-conduit" ,ghc-http-conduit)
720 ("ghc-http-types" ,ghc-http-types)
721 ("ghc-lifted-base" ,ghc-lifted-base)
722 ("ghc-monad-control" ,ghc-monad-control)
723 ("ghc-network" ,ghc-network)
724 ("ghc-old-locale" ,ghc-old-locale)
725 ("ghc-safe" ,ghc-safe)
726 ("ghc-scientific" ,ghc-scientific)
727 ("ghc-tagged" ,ghc-tagged)
728 ("ghc-unordered-containers" ,ghc-unordered-containers)
729 ("ghc-utf8-string" ,ghc-utf8-string)
730 ("ghc-vector" ,ghc-vector)
731 ("ghc-xml-conduit" ,ghc-xml-conduit)))
732 (native-inputs
733 `(("ghc-quickcheck" ,ghc-quickcheck)
734 ("ghc-errors" ,ghc-errors)
735 ("ghc-http-client" ,ghc-http-client)
736 ("ghc-http-client-tls" ,ghc-http-client-tls)
737 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
738 ("ghc-tasty" ,ghc-tasty)
739 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
740 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
741 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
742 (home-page "https://github.com/aristidb/aws")
743 (synopsis "Amazon Web Services for Haskell")
744 (description "This package attempts to provide support for using
745Amazon Web Services like S3 (storage), SQS (queuing) and others to
746Haskell programmers. The ultimate goal is to support all Amazon
747Web Services.")
748 (license license:bsd-3)))
749
750(define-public ghc-base16-bytestring
751 (package
752 (name "ghc-base16-bytestring")
753 (version "0.1.1.6")
754 (source
755 (origin
756 (method url-fetch)
757 (uri (string-append
758 "https://hackage.haskell.org/package/base16-bytestring/"
759 "base16-bytestring-" version ".tar.gz"))
b57e99f5
RV
760 (sha256
761 (base32
dddbc90c 762 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
b57e99f5 763 (build-system haskell-build-system)
dddbc90c
RV
764 (home-page "https://github.com/bos/base16-bytestring")
765 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
766 (description
767 "This package provides a Haskell library for working with base16-encoded
768data quickly and efficiently, using the ByteString type.")
b57e99f5 769 (license license:bsd-3)))
bbf8bf31 770
dddbc90c 771(define-public ghc-base64-bytestring
bbf8bf31 772 (package
dddbc90c
RV
773 (name "ghc-base64-bytestring")
774 (version "1.0.0.2")
bbf8bf31
RV
775 (source
776 (origin
777 (method url-fetch)
dddbc90c
RV
778 (uri (string-append
779 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
780 version
781 ".tar.gz"))
782 (sha256
783 (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr"))))
784 (build-system haskell-build-system)
785 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
786 (home-page "https://github.com/bos/base64-bytestring")
787 (synopsis "Base64 encoding and decoding for ByteStrings")
788 (description "This library provides fast base64 encoding and decoding for
789Haskell @code{ByteString}s.")
790 (license license:bsd-3)))
791
792(define-public ghc-base-compat
793 (package
794 (name "ghc-base-compat")
4daaa371 795 (version "0.10.5")
dddbc90c
RV
796 (source
797 (origin
798 (method url-fetch)
799 (uri (string-append
800 "https://hackage.haskell.org/package/base-compat/base-compat-"
801 version
802 ".tar.gz"))
bbf8bf31
RV
803 (sha256
804 (base32
4daaa371 805 "0hgvlqcr852hfp52jp99snhbj550mvxxpi8qn15d8ml9aqhyl2lr"))))
bbf8bf31 806 (build-system haskell-build-system)
e2b021df 807 (outputs '("out" "static" "doc"))
bbf8bf31 808 (native-inputs
dddbc90c
RV
809 `(("ghc-quickcheck" ,ghc-quickcheck)
810 ("ghc-hspec" ,ghc-hspec)
811 ("hspec-discover" ,hspec-discover)))
812 (home-page "https://hackage.haskell.org/package/base-compat")
813 (synopsis "Haskell compiler compatibility library")
814 (description "This library provides functions available in later versions
815of base to a wider range of compilers, without requiring the use of CPP
816pragmas in your code.")
817 (license license:bsd-3)))
818
f9d78c7f
TS
819(define-public ghc-base-compat-batteries
820 (package
821 (name "ghc-base-compat-batteries")
822 (version "0.10.5")
823 (source
824 (origin
825 (method url-fetch)
826 (uri (string-append "https://hackage.haskell.org/package/"
827 "base-compat-batteries/base-compat-batteries-"
828 version ".tar.gz"))
829 (sha256
830 (base32
831 "1vkhc639vqiv5p39jn1v312z32i7yk5q2lf0ap4jxl1v8p8wyp8p"))))
832 (build-system haskell-build-system)
833 (inputs
834 `(("ghc-base-compat" ,ghc-base-compat)))
835 (native-inputs
836 `(("ghc-hspec" ,ghc-hspec)
837 ("ghc-quickcheck" ,ghc-quickcheck)
838 ("hspec-discover" ,hspec-discover)))
839 (arguments
840 `(#:cabal-revision
841 ("1" "15sn2qc8k0hxbb2nai341kkrci98hlhzcj2ci087m0zxcg5jcdbp")))
3ef91e15 842 (home-page "https://hackage.haskell.org/package/base-compat-batteries")
f9d78c7f
TS
843 (synopsis "base-compat with extra batteries")
844 (description "This library provides functions available in later
845versions of @code{base} to a wider range of compilers, without requiring
846you to use CPP pragmas in your code. This package provides the same API
847as the @code{base-compat} library, but depends on compatibility
848packages (such as @code{semigroups}) to offer a wider support window
849than @code{base-compat}, which has no dependencies.")
850 (license license:expat)))
851
dddbc90c
RV
852(define-public ghc-basement
853 (package
854 (name "ghc-basement")
8b56c1fd 855 (version "0.0.11")
dddbc90c
RV
856 (source
857 (origin
858 (method url-fetch)
859 (uri (string-append "https://hackage.haskell.org/package/"
860 "basement/basement-" version ".tar.gz"))
861 (sha256
862 (base32
8b56c1fd 863 "0srlws74yiraqaapgcjd9p5d1fwb3zr9swcz74jpjm55fls2nn37"))))
dddbc90c 864 (build-system haskell-build-system)
05f7f8be 865 (outputs '("out" "static" "doc"))
dddbc90c
RV
866 (home-page "https://github.com/haskell-foundation/foundation")
867 (synopsis "Basic primitives for Foundation starter pack")
868 (description
869 "This package contains basic primitives for the Foundation set of
870packages.")
871 (license license:bsd-3)))
872
873(define-public ghc-base-orphans
874 (package
875 (name "ghc-base-orphans")
780477fb 876 (version "0.8.1")
dddbc90c
RV
877 (source
878 (origin
879 (method url-fetch)
880 (uri (string-append
881 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
882 version
883 ".tar.gz"))
884 (sha256
885 (base32
780477fb 886 "1nwr9av27i9p72k0sn96mw3ywdczw65dy5gd5wxpabhhxlxdcas4"))))
dddbc90c
RV
887 (build-system haskell-build-system)
888 (native-inputs
889 `(("ghc-quickcheck" ,ghc-quickcheck)
890 ("ghc-hspec" ,ghc-hspec)
891 ("hspec-discover" ,hspec-discover)))
892 (home-page "https://hackage.haskell.org/package/base-orphans")
893 (synopsis "Orphan instances for backwards compatibility")
894 (description "This package defines orphan instances that mimic instances
895available in later versions of base to a wider (older) range of compilers.")
896 (license license:bsd-3)))
897
898(define-public ghc-base-prelude
899 (package
900 (name "ghc-base-prelude")
901 (version "1.3")
902 (source
903 (origin
904 (method url-fetch)
905 (uri (string-append "https://hackage.haskell.org/package/"
906 "base-prelude-" version "/"
907 "base-prelude-" version ".tar.gz"))
908 (sha256
909 (base32
910 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
911 (build-system haskell-build-system)
3d7ee2f8 912 (outputs '("out" "static" "doc"))
dddbc90c
RV
913 (home-page "https://github.com/nikita-volkov/base-prelude")
914 (synopsis "The most complete prelude formed solely from the Haskell's base
915package")
916 (description "This Haskell package aims to reexport all the non-conflicting
917and most general definitions from the \"base\" package.
918
919This includes APIs for applicatives, arrows, monoids, foldables, traversables,
920exceptions, generics, ST, MVars and STM.
921
922This package will never have any dependencies other than \"base\".
923
924Versioning policy:
925
926The versioning policy of this package deviates from PVP in the sense
927that its exports in part are transitively determined by the version of \"base\".
928Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
929the bounds of \"base\" as well.")
930 (license license:expat)))
931
932(define-public ghc-base-unicode-symbols
933 (package
934 (name "ghc-base-unicode-symbols")
935 (version "0.2.3")
936 (source
937 (origin
938 (method url-fetch)
939 (uri (string-append
940 "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-"
941 version
942 ".tar.gz"))
943 (sha256
944 (base32
945 "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf"))))
946 (build-system haskell-build-system)
228d2901 947 (home-page "https://wiki.haskell.org/Unicode-symbols")
dddbc90c
RV
948 (synopsis "Unicode alternatives for common functions and operators")
949 (description "This package defines new symbols for a number of functions,
950operators and types in the base package. All symbols are documented with
951their actual definition and information regarding their Unicode code point.
952They should be completely interchangeable with their definitions. For
953further Unicode goodness you can enable the @code{UnicodeSyntax}
954@url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax,
955language extension}. This extension enables Unicode characters to be used to
956stand for certain ASCII character sequences, i.e. → instead of @code{->},
957∀ instead of @code{forall} and many others.")
958 (license license:bsd-3)))
959
ec8491b0
ASM
960(define-public ghc-basic-prelude
961 (package
962 (name "ghc-basic-prelude")
963 (version "0.7.0")
964 (source
965 (origin
966 (method url-fetch)
967 (uri (string-append
968 "https://hackage.haskell.org/package/basic-prelude/"
969 "basic-prelude-" version ".tar.gz"))
970 (sha256
971 (base32
972 "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h"))))
973 (build-system haskell-build-system)
974 (inputs
975 `(("ghc-hashable" ,ghc-hashable)
976 ("ghc-unordered-containers"
977 ,ghc-unordered-containers)
978 ("ghc-vector" ,ghc-vector)))
979 (home-page "https://github.com/snoyberg/basic-prelude#readme")
980 (synopsis "Enhanced core prelude; a common foundation for alternate preludes")
981 (description
982 "The premise of basic-prelude is that there are a lot of very commonly
983desired features missing from the standard Prelude, such as commonly used
984operators (<$> and >=>, for instance) and imports for common datatypes
985(e.g., ByteString and Vector). At the same time, there are lots of other
986components which are more debatable, such as providing polymorphic versions
987of common functions.
988
989So basic-prelude is intended to give a common foundation for a number of
990alternate preludes. The package provides two modules: CorePrelude provides
991the common ground for other preludes to build on top of, while BasicPrelude
992exports CorePrelude together with commonly used list functions to provide a
993drop-in replacement for the standard Prelude.
994
995Users wishing to have an improved Prelude can use BasicPrelude. Developers
996wishing to create a new prelude should use CorePrelude.")
997 (license license:expat)))
998
dddbc90c
RV
999(define-public ghc-bifunctors
1000 (package
1001 (name "ghc-bifunctors")
0beaec66 1002 (version "5.5.5")
dddbc90c
RV
1003 (source
1004 (origin
1005 (method url-fetch)
1006 (uri (string-append
1007 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
1008 version
1009 ".tar.gz"))
1010 (sha256
1011 (base32
0beaec66 1012 "0rn47q8dzv0g1fyams99p4py6q0asxdc50q9k0nj497brk738xcb"))))
dddbc90c
RV
1013 (build-system haskell-build-system)
1014 (inputs
1015 `(("ghc-base-orphans" ,ghc-base-orphans)
1016 ("ghc-comonad" ,ghc-comonad)
1017 ("ghc-th-abstraction" ,ghc-th-abstraction)
1018 ("ghc-transformers-compat" ,ghc-transformers-compat)
1019 ("ghc-tagged" ,ghc-tagged)
1020 ("ghc-semigroups" ,ghc-semigroups)))
1021 (native-inputs
1022 `(("ghc-hspec" ,ghc-hspec)
1023 ("hspec-discover" ,hspec-discover)
1024 ("ghc-quickcheck" ,ghc-quickcheck)))
1025 (home-page "https://github.com/ekmett/bifunctors/")
1026 (synopsis "Bifunctors for Haskell")
1027 (description "This package provides bifunctors for Haskell.")
1028 (license license:bsd-3)))
1029
1030(define-public ghc-bindings-dsl
1031 (package
1032 (name "ghc-bindings-dsl")
1033 (version "1.0.25")
1034 (source
1035 (origin
1036 (method url-fetch)
1037 (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/"
1038 "bindings-DSL-" version ".tar.gz"))
1039 (sha256
1040 (base32
1041 "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3"))))
1042 (build-system haskell-build-system)
1043 (home-page "https://github.com/jwiegley/bindings-dsl/wiki")
1044 (synopsis "FFI domain specific language, on top of hsc2hs")
1045 (description
1046 "This is a set of macros to be used when writing Haskell FFI. They were
1047designed to be able to fully describe C interfaces, so that @code{hsc2hs} can
1048extract from them all Haskell code needed to mimic such interfaces. All
1049Haskell names used are automatically derived from C names, structures are
1050mapped to Haskell instances of @code{Storable}, and there are also macros you
1051can use with C code to help write bindings to inline functions or macro
1052functions.")
1053 (license license:bsd-3)))
1054
64f42786
TS
1055(define-public ghc-bitarray
1056 (package
1057 (name "ghc-bitarray")
1058 (version "0.0.1.1")
1059 (source
1060 (origin
1061 (method url-fetch)
1062 (uri (string-append "https://hackage.haskell.org/package/"
1063 "bitarray/bitarray-" version ".tar.gz"))
1064 (sha256
1065 (base32
1066 "00nqd62cbh42qqqvcl6iv1i9kbv0f0mkiygv4j70wfh5cl86yzxj"))))
1067 (build-system haskell-build-system)
1068 (arguments
1069 `(#:cabal-revision
1070 ("1" "10fk92v9afjqk43zi621jxl0n8kci0xjj32lz3vqa9xbh67zjz45")))
1071 (home-page "https://hackage.haskell.org/package/bitarray")
1072 (synopsis "Mutable and immutable bit arrays")
1073 (description "The package provides mutable and immutable bit arrays.")
1074 (license license:bsd-3)))
1075
dddbc90c
RV
1076(define-public ghc-blaze-builder
1077 (package
1078 (name "ghc-blaze-builder")
1079 (version "0.4.1.0")
1080 (source
1081 (origin
1082 (method url-fetch)
1083 (uri (string-append
1084 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
1085 version
1086 ".tar.gz"))
1087 (sha256
1088 (base32
1089 "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i"))))
1090 (build-system haskell-build-system)
1091 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
1092 (inputs
1093 `(("ghc-utf8-string" ,ghc-utf8-string)))
1094 (home-page "https://github.com/lpsmith/blaze-builder")
1095 (synopsis "Efficient buffered output")
1096 (description "This library provides an implementation of the older
1097@code{blaze-builder} interface in terms of the new builder that shipped with
1098@code{bytestring-0.10.4.0}. This implementation is mostly intended as a
1099bridge to the new builder, so that code that uses the old interface can
1100interoperate with code that uses the new implementation.")
1101 (license license:bsd-3)))
1102
1103(define-public ghc-blaze-markup
1104 (package
1105 (name "ghc-blaze-markup")
7d30fcf3 1106 (version "0.8.2.3")
dddbc90c
RV
1107 (source
1108 (origin
1109 (method url-fetch)
1110 (uri (string-append "https://hackage.haskell.org/package/"
1111 "blaze-markup/blaze-markup-"
1112 version ".tar.gz"))
1113 (sha256
1114 (base32
7d30fcf3 1115 "1g9m7ansj7fdyzhz1wqkbzn5amjm50vjgjdwkbjc5qqhagnv1y3j"))))
dddbc90c
RV
1116 (build-system haskell-build-system)
1117 (arguments
1118 `(#:phases
1119 (modify-phases %standard-phases
1120 (add-before 'configure 'update-constraints
1121 (lambda _
1122 (substitute* "blaze-markup.cabal"
1123 (("tasty >= 1\\.0 && < 1\\.1")
1124 "tasty >= 1.0 && < 1.2")))))))
1125 (inputs
1126 `(("ghc-blaze-builder" ,ghc-blaze-builder)))
1127 (native-inputs
1128 `(("ghc-hunit" ,ghc-hunit)
1129 ("ghc-quickcheck" ,ghc-quickcheck)
1130 ("ghc-tasty" ,ghc-tasty)
1131 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
1132 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
1133 (home-page "https://jaspervdj.be/blaze")
1134 (synopsis "Fast markup combinator library for Haskell")
1135 (description "This library provides core modules of a markup combinator
1136library for Haskell.")
1137 (license license:bsd-3)))
1138
1139(define-public ghc-bloomfilter
1140 (package
1141 (name "ghc-bloomfilter")
1142 (version "2.0.1.0")
1143 (source
1144 (origin
1145 (method url-fetch)
1146 (uri (string-append "https://hackage.haskell.org/package/"
1147 "bloomfilter/bloomfilter-" version ".tar.gz"))
1148 (sha256
1149 (base32
1150 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
1151 (build-system haskell-build-system)
1152 (native-inputs
1153 `(("ghc-quickcheck" ,ghc-quickcheck)
1154 ("ghc-random" ,ghc-random)
1155 ("ghc-test-framework" ,ghc-test-framework)
1156 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1157 (home-page "https://github.com/bos/bloomfilter")
1158 (synopsis "Pure and impure Bloom filter implementations")
1159 (description "This package provides both mutable and immutable Bloom
1160filter data types, along with a family of hash functions and an easy-to-use
1161interface.")
1162 (license license:bsd-3)))
1163
1164(define-public ghc-boxes
1165 (package
1166 (name "ghc-boxes")
1167 (version "0.1.5")
1168 (source
1169 (origin
1170 (method url-fetch)
1171 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
1172 version ".tar.gz"))
1173 (sha256
1174 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
1175 (build-system haskell-build-system)
1176 (inputs
1177 `(("ghc-split" ,ghc-split)
1178 ("ghc-quickcheck" ,ghc-quickcheck)))
1179 (home-page "https://hackage.haskell.org/package/boxes")
1180 (synopsis "2D text pretty-printing library")
1181 (description
1182 "Boxes is a pretty-printing library for laying out text in two dimensions,
1183using a simple box model.")
1184 (license license:bsd-3)))
1185
1186(define-public ghc-byteable
1187 (package
1188 (name "ghc-byteable")
1189 (version "0.1.1")
1190 (source (origin
1191 (method url-fetch)
1192 (uri (string-append "https://hackage.haskell.org/package/"
1193 "byteable/byteable-" version ".tar.gz"))
1194 (sha256
1195 (base32
1196 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
1197 (build-system haskell-build-system)
1198 (home-page "https://github.com/vincenthz/hs-byteable")
1199 (synopsis "Type class for sequence of bytes")
1200 (description
1201 "This package provides an abstract class to manipulate sequence of bytes.
1202The use case of this class is abstracting manipulation of types that are just
1203wrapping a bytestring with stronger and more meaniful name.")
1204 (license license:bsd-3)))
1205
1206(define-public ghc-byteorder
1207 (package
1208 (name "ghc-byteorder")
1209 (version "1.0.4")
1210 (source
1211 (origin
1212 (method url-fetch)
1213 (uri (string-append
1214 "https://hackage.haskell.org/package/byteorder/byteorder-"
1215 version
1216 ".tar.gz"))
1217 (sha256
1218 (base32
1219 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
1220 (build-system haskell-build-system)
1221 (home-page
1222 "http://community.haskell.org/~aslatter/code/byteorder")
1223 (synopsis
1224 "Exposes the native endianness of the system")
1225 (description
1226 "This package is for working with the native byte-ordering of the
1227system.")
1228 (license license:bsd-3)))
1229
1230(define-public ghc-bytes
1231 (package
1232 (name "ghc-bytes")
1233 (version "0.15.5")
1234 (source
1235 (origin
1236 (method url-fetch)
1237 (uri
1238 (string-append "https://hackage.haskell.org/package/bytes-"
1239 version "/bytes-"
1240 version ".tar.gz"))
1241 (file-name (string-append name "-" version ".tar.gz"))
1242 (sha256
1243 (base32
1244 "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683"))))
1245 (build-system haskell-build-system)
1246 (inputs `(("ghc-cereal" ,ghc-cereal)
1247 ("cabal-doctest" ,cabal-doctest)
1248 ("ghc-doctest" ,ghc-doctest)
1249 ("ghc-scientific" ,ghc-scientific)
1250 ("ghc-transformers-compat" ,ghc-transformers-compat)
1251 ("ghc-unordered-containers" ,ghc-unordered-containers)
1252 ("ghc-void" ,ghc-void)
1253 ("ghc-vector" ,ghc-vector)))
1254 (synopsis "Serialization between @code{binary} and @code{cereal}")
1255 (description "This package provides a simple compatibility shim that lets
1256you work with both @code{binary} and @code{cereal} with one chunk of
1257serialization code.")
1258 (home-page "https://hackage.haskell.org/package/bytes")
1259 (license license:bsd-3)))
1260
1261(define-public ghc-bytestring-builder
1262 (package
1263 (name "ghc-bytestring-builder")
13ac8a7f 1264 (version "0.10.8.2.0")
dddbc90c
RV
1265 (source
1266 (origin
1267 (method url-fetch)
1268 (uri (string-append
1269 "https://hackage.haskell.org/package/bytestring-builder"
1270 "/bytestring-builder-" version ".tar.gz"))
1271 (sha256
1272 (base32
13ac8a7f 1273 "0grcrgwwwcvwrs9az7l4d3kf0lsqfa9qpmjzf6iyanvwn9nyzyi7"))))
dddbc90c
RV
1274 (build-system haskell-build-system)
1275 (arguments `(#:haddock? #f)) ; Package contains no documentation.
1276 (home-page "https://hackage.haskell.org/package/bytestring-builder")
1277 (synopsis "The new bytestring builder, packaged outside of GHC")
1278 (description "This package provides the bytestring builder that is
1279debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
1280Compatibility package for older packages.")
1281 (license license:bsd-3)))
1282
1283(define-public ghc-bytestring-handle
1284 (package
1285 (name "ghc-bytestring-handle")
1286 (version "0.1.0.6")
1287 (source
1288 (origin
1289 (method url-fetch)
1290 (uri (string-append
1291 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
1292 version ".tar.gz"))
1293 (sha256
1294 (base32
1295 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
1296 (build-system haskell-build-system)
1297 (arguments
853748c4
TS
1298 `(#:cabal-revision
1299 ("1" "0x11aj6w1lijh84jcdq1qgyvdnc7i9ivbyq4wf9rxicg57viisz9")
1300 #:phases
dddbc90c
RV
1301 (modify-phases %standard-phases
1302 (add-before 'configure 'update-constraints
1303 (lambda _
1304 (substitute* "bytestring-handle.cabal"
1305 (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
853748c4 1306 "QuickCheck >= 2.1.2 && < 2.14")))))))
dddbc90c
RV
1307 (inputs
1308 `(("ghc-hunit" ,ghc-hunit)
1309 ("ghc-quickcheck" ,ghc-quickcheck)
1310 ("ghc-test-framework" ,ghc-test-framework)
1311 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1312 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1313 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
1314 (synopsis "ByteString-backed Handles")
1315 (description "ByteString-backed Handles") ; There is no description
1316 (license license:bsd-3)))
1317
1318(define-public ghc-bytestring-lexing
1319 (package
1320 (name "ghc-bytestring-lexing")
1321 (version "0.5.0.2")
1322 (source
1323 (origin
1324 (method url-fetch)
1325 (uri (string-append "https://hackage.haskell.org/package/"
1326 "bytestring-lexing/bytestring-lexing-"
1327 version ".tar.gz"))
1328 (sha256
1329 (base32
1330 "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81"))))
1331 (build-system haskell-build-system)
1332 (home-page "http://code.haskell.org/~wren/")
1333 (synopsis "Parse and produce literals from strict or lazy bytestrings")
1334 (description
1335 "This package provides tools to parse and produce literals efficiently
1336from strict or lazy bytestrings.")
1337 (license license:bsd-2)))
1338
1339(define-public ghc-bzlib-conduit
1340 (package
1341 (name "ghc-bzlib-conduit")
5fba8d6d 1342 (version "0.3.0.2")
dddbc90c
RV
1343 (source
1344 (origin
1345 (method url-fetch)
1346 (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/"
1347 "bzlib-conduit-" version ".tar.gz"))
1348 (sha256
1349 (base32
5fba8d6d 1350 "0a21zin5plsl37hkxh2jv8cxwyjrbs2fy7n5cyrzgdaa7lmp6b7b"))))
dddbc90c
RV
1351 (build-system haskell-build-system)
1352 (inputs
1353 `(("ghc-bindings-dsl" ,ghc-bindings-dsl)
1354 ("ghc-conduit" ,ghc-conduit)
1355 ("ghc-data-default-class" ,ghc-data-default-class)
1356 ("ghc-resourcet" ,ghc-resourcet)))
1357 (native-inputs
1358 `(("ghc-hspec" ,ghc-hspec)
1359 ("ghc-random" ,ghc-random)))
1360 (home-page "https://github.com/snoyberg/bzlib-conduit")
1361 (synopsis "Streaming compression/decompression via conduits")
1362 (description
1363 "This package provides Haskell bindings to bzlib and Conduit support for
1364streaming compression and decompression.")
1365 (license license:bsd-3)))
1366
1367(define-public ghc-c2hs
1368 (package
1369 (name "ghc-c2hs")
1370 (version "0.28.6")
1371 (source
1372 (origin
1373 (method url-fetch)
1374 (uri (string-append
1375 "https://hackage.haskell.org/package/c2hs/c2hs-"
1376 version
1377 ".tar.gz"))
1378 (sha256
1379 (base32
1380 "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci"))))
1381 (build-system haskell-build-system)
1382 (inputs
1383 `(("ghc-language-c" ,ghc-language-c)
1384 ("ghc-dlist" ,ghc-dlist)))
1385 (native-inputs
1386 `(("ghc-test-framework" ,ghc-test-framework)
1387 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1388 ("ghc-hunit" ,ghc-hunit)
a723d36d 1389 ("ghc-shelly" ,ghc-shelly)))
dddbc90c 1390 (arguments
bfebc598 1391 `(#:phases
dddbc90c
RV
1392 (modify-phases %standard-phases
1393 (add-before 'check 'set-cc
1394 ;; add a cc executable in the path, needed for some tests to pass
1395 (lambda* (#:key inputs #:allow-other-keys)
1396 (let ((gcc (assoc-ref inputs "gcc"))
1397 (tmpbin (tmpnam))
1398 (curpath (getenv "PATH")))
1399 (mkdir-p tmpbin)
1400 (symlink (which "gcc") (string-append tmpbin "/cc"))
1401 (setenv "PATH" (string-append tmpbin ":" curpath)))
1402 #t))
1403 (add-after 'check 'remove-cc
1404 ;; clean the tmp dir made in 'set-cc
1405 (lambda _
1406 (let* ((cc-path (which "cc"))
1407 (cc-dir (dirname cc-path)))
1408 (delete-file-recursively cc-dir)
1409 #t))))))
1410 (home-page "https://github.com/haskell/c2hs")
1411 (synopsis "Create Haskell bindings to C libraries")
1412 (description "C->Haskell assists in the development of Haskell bindings to
1413C libraries. It extracts interface information from C header files and
1414generates Haskell code with foreign imports and marshaling. Unlike writing
1415foreign imports by hand (or using hsc2hs), this ensures that C functions are
1416imported with the correct Haskell types.")
1417 (license license:gpl2)))
1418
1419(define-public ghc-cairo
1420 (package
1421 (name "ghc-cairo")
1422 (version "0.13.5.0")
1423 (source
1424 (origin
1425 (method url-fetch)
1426 (uri (string-append "https://hackage.haskell.org/package/cairo/"
1427 "cairo-" version ".tar.gz"))
1428 (sha256
1429 (base32
1430 "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2"))))
1431 (build-system haskell-build-system)
1432 (arguments
1433 `(#:modules ((guix build haskell-build-system)
1434 (guix build utils)
1435 (ice-9 match)
1436 (srfi srfi-26))
1437 #:phases
1438 (modify-phases %standard-phases
1439 ;; FIXME: This is a copy of the standard configure phase with a tiny
1440 ;; difference: this package needs the -package-db flag to be passed
1441 ;; to "runhaskell" in addition to the "configure" action, because it
1442 ;; depends on gtk2hs-buildtools, which provide setup hooks. Without
1443 ;; this option the Setup.hs file cannot be evaluated. The
1444 ;; haskell-build-system should be changed to pass "-package-db" to
1445 ;; "runhaskell" in any case.
1446 (replace 'configure
1447 (lambda* (#:key outputs inputs tests? (configure-flags '())
1448 #:allow-other-keys)
1449 (let* ((out (assoc-ref outputs "out"))
1450 (name-version (strip-store-file-name out))
1451 (input-dirs (match inputs
1452 (((_ . dir) ...)
1453 dir)
1454 (_ '())))
1455 (ghc-path (getenv "GHC_PACKAGE_PATH"))
1456 (params (append `(,(string-append "--prefix=" out))
1457 `(,(string-append "--libdir=" out "/lib"))
1458 `(,(string-append "--bindir=" out "/bin"))
1459 `(,(string-append
1460 "--docdir=" out
1461 "/share/doc/" name-version))
1462 '("--libsubdir=$compiler/$pkg-$version")
1463 '("--package-db=../package.conf.d")
1464 '("--global")
1465 `(,@(map
1466 (cut string-append "--extra-include-dirs=" <>)
1467 (search-path-as-list '("include") input-dirs)))
1468 `(,@(map
1469 (cut string-append "--extra-lib-dirs=" <>)
1470 (search-path-as-list '("lib") input-dirs)))
1471 (if tests?
1472 '("--enable-tests")
1473 '())
1474 configure-flags)))
1475 (unsetenv "GHC_PACKAGE_PATH")
1476 (apply invoke "runhaskell" "-package-db=../package.conf.d"
1477 "Setup.hs" "configure" params)
1478 (setenv "GHC_PACKAGE_PATH" ghc-path)
1479 #t))))))
1480 (inputs
1481 `(("ghc-utf8-string" ,ghc-utf8-string)
1482 ("cairo" ,cairo)))
1483 (native-inputs
1484 `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools)
1485 ("pkg-config" ,pkg-config)))
1486 (home-page "http://projects.haskell.org/gtk2hs/")
1487 (synopsis "Haskell bindings to the Cairo vector graphics library")
1488 (description
1489 "Cairo is a library to render high quality vector graphics. There exist
1490various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG
1491documents, amongst others.")
1492 (license license:bsd-3)))
1493
1494(define-public ghc-call-stack
1495 (package
1496 (name "ghc-call-stack")
1497 (version "0.1.0")
1498 (source
1499 (origin
1500 (method url-fetch)
1501 (uri (string-append "https://hackage.haskell.org/package/"
1502 "call-stack/call-stack-"
1503 version ".tar.gz"))
1504 (sha256
1505 (base32
1506 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
1507 (build-system haskell-build-system)
1508 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
1509 (home-page "https://github.com/sol/call-stack#readme")
1510 (synopsis "Use GHC call-stacks in a backward compatible way")
1511 (description "This package provides a compatibility layer for using GHC
1512call stacks with different versions of the compiler.")
1513 (license license:expat)))
1514
1515;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
1516;; because it depends on ghc-nanospec, which depends on ghc-hunit.
1517(define-public ghc-call-stack-boot
1518 (hidden-package
1519 (package
1520 (inherit ghc-call-stack)
1521 (arguments '(#:tests? #f))
1522 (inputs '()))))
1523
1524(define-public ghc-case-insensitive
1525 (package
1526 (name "ghc-case-insensitive")
1527 (version "1.2.0.11")
534d6caa 1528 (outputs '("out" "static" "doc"))
dddbc90c
RV
1529 (source
1530 (origin
1531 (method url-fetch)
1532 (uri (string-append
1533 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
1534 version
1535 ".tar.gz"))
1536 (sha256
1537 (base32
1538 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7"))))
1539 (build-system haskell-build-system)
1540 ;; these inputs are necessary to use this library
1541 (inputs
1542 `(("ghc-hashable" ,ghc-hashable)))
1543 (arguments
1544 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1545 (home-page
1546 "https://github.com/basvandijk/case-insensitive")
1547 (synopsis "Case insensitive string comparison")
1548 (description
1549 "The module @code{Data.CaseInsensitive} provides the @code{CI} type
1550constructor which can be parameterised by a string-like type like:
1551@code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of
1552the resulting type will be insensitive to cases.")
1553 (license license:bsd-3)))
1554
6ba536a1
JS
1555(define-public ghc-cborg
1556 (package
1557 (name "ghc-cborg")
1558 (version "0.2.2.0")
1559 (source
1560 (origin
1561 (method url-fetch)
1562 (uri (string-append
1563 "mirror://hackage/package/cborg/cborg-"
1564 version
1565 ".tar.gz"))
1566 (sha256
1567 (base32
1568 "1rdnvy0w17s70ikmbyrnwax5rvqh19l95sh8i7ipgxi23z1r0bp1"))))
1569 (build-system haskell-build-system)
1570 (inputs
1571 `(("ghc-half" ,ghc-half)
1572 ("ghc-primitive" ,ghc-primitive)))
1573 (native-inputs
1574 `(("ghc-aeson" ,ghc-aeson)
1575 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
1576 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
1577 ("ghc-fail" ,ghc-fail)
1578 ("ghc-quickcheck" ,ghc-quickcheck)
1579 ("ghc-scientific" ,ghc-scientific)
1580 ("ghc-tasty" ,ghc-tasty)
1581 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
1582 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
1583 ("ghc-vector" ,ghc-vector)))
1584 (home-page "http://hackage.haskell.org/package/cborg")
1585 (synopsis "Concise Binary Object Representation")
1586 (description
1587 "This package (formerly binary-serialise-cbor) provides an
1588efficient implementation of the Concise Binary Object
1589Representation (CBOR), as specified by RFC 7049 at
1590https://tools.ietf.org/html/rfc7049.
1591
1592If you are looking for a library for serialisation of Haskell values, have a
1593look at the @url{https://hackage.haskell.org/package/serialise} package, which
1594is built upon this library.
1595
1596An implementation of the standard bijection between CBOR and JSON is provided
1597by the @url{https://hackage.haskell.org/package/cborg-json} package.
1598
1599Also see @code{https://hackage.haskell.org/package/cbor-tool} for a convenient
1600command-line utility for working with CBOR data.")
1601 (license license:bsd-3)))
1602
5434fec9
JS
1603(define-public ghc-cborg-json
1604 (package
1605 (name "ghc-cborg-json")
1606 (version "0.2.2.0")
1607 (source
1608 (origin
1609 (method url-fetch)
1610 (uri (string-append
1611 "mirror://hackage/package/cborg-json/cborg-json-"
1612 version
1613 ".tar.gz"))
1614 (sha256
1615 (base32 "0ysilz7rrjk94sqr3a61s98hr9qfi1xg13bskmlpc6mpgi2s4s5b"))))
1616 (build-system haskell-build-system)
1617 (inputs
1618 `(("ghc-aeson" ,ghc-aeson)
1619 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
1620 ("ghc-unordered-containers" ,ghc-unordered-containers)
1621 ("ghc-scientific" ,ghc-scientific)
1622 ("ghc-vector" ,ghc-vector)
1623 ("ghc-cborg" ,ghc-cborg)))
1624 (home-page "https://github.com/well-typed/cborg")
1625 (synopsis "A library for encoding JSON as CBOR")
1626 (description
1627 "This package implements the bijection between JSON and CBOR
1628defined in the CBOR specification, RFC 7049.")
1629 (license license:bsd-3)))
1630
dddbc90c
RV
1631(define-public ghc-cereal
1632 (package
1633 (name "ghc-cereal")
bd95427e 1634 (version "0.5.8.1")
dddbc90c
RV
1635 (source
1636 (origin
1637 (method url-fetch)
1638 (uri (string-append
1639 "https://hackage.haskell.org/package/cereal/cereal-"
1640 version
1641 ".tar.gz"))
1642 (sha256
1643 (base32
bd95427e 1644 "1mqvd1iwzr50az4y24332x3g3wsrzw8j1iwph02vr7jbjfn8i7id"))))
dddbc90c
RV
1645 (build-system haskell-build-system)
1646 (native-inputs
1647 `(("ghc-quickcheck" ,ghc-quickcheck)
1648 ("ghc-fail" ,ghc-fail)
1649 ("ghc-test-framework" ,ghc-test-framework)
1650 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1651 (home-page "https://hackage.haskell.org/package/cereal")
1652 (synopsis "Binary serialization library")
1653 (description "This package provides a binary serialization library,
1654similar to @code{binary}, that introduces an @code{isolate} primitive for
1655parser isolation, and labeled blocks for better error messages.")
1656 (license license:bsd-3)))
1657
1658(define-public ghc-cereal-conduit
1659 (package
1660 (name "ghc-cereal-conduit")
1661 (version "0.8.0")
1662 (source
1663 (origin
1664 (method url-fetch)
1665 (uri (string-append "https://hackage.haskell.org/package/"
1666 "cereal-conduit/cereal-conduit-"
1667 version ".tar.gz"))
1668 (sha256
1669 (base32
1670 "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r"))))
1671 (build-system haskell-build-system)
1672 (inputs
1673 `(("ghc-conduit" ,ghc-conduit)
1674 ("ghc-resourcet" ,ghc-resourcet)
1675 ("ghc-cereal" ,ghc-cereal)))
1676 (native-inputs
1677 `(("ghc-hunit" ,ghc-hunit)))
1678 (home-page "https://github.com/snoyberg/conduit")
1679 (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits")
1680 (description
1681 "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into
1682@code{Sources}, @code{Sinks}, and @code{Conduits}.")
1683 (license license:bsd-3)))
1684
1685(define-public ghc-cgi
1686 (package
1687 (name "ghc-cgi")
b6b2c218 1688 (version "3001.4.0.0")
dddbc90c
RV
1689 (source
1690 (origin
1691 (method url-fetch)
1692 (uri (string-append
1693 "https://hackage.haskell.org/package/cgi/cgi-"
1694 version
1695 ".tar.gz"))
1696 (sha256
1697 (base32
b6b2c218 1698 "1d0nh5ymkqskkp4yn0gfz4mff8i0cxyw1wws8xxp6k1mg1ywa25k"))))
dddbc90c 1699 (build-system haskell-build-system)
dddbc90c
RV
1700 (inputs
1701 `(("ghc-exceptions" ,ghc-exceptions)
1702 ("ghc-multipart" ,ghc-multipart)
1703 ("ghc-network-uri" ,ghc-network-uri)
1704 ("ghc-network" ,ghc-network)))
1705 (native-inputs
1706 `(("ghc-doctest" ,ghc-doctest)
1707 ("ghc-quickcheck" ,ghc-quickcheck)))
1708 (home-page
1709 "https://github.com/cheecheeo/haskell-cgi")
1710 (synopsis "Library for writing CGI programs")
1711 (description
1712 "This is a Haskell library for writing CGI programs.")
1713 (license license:bsd-3)))
1714
1715(define-public ghc-charset
1716 (package
1717 (name "ghc-charset")
1718 (version "0.3.7.1")
1719 (source
1720 (origin
1721 (method url-fetch)
1722 (uri (string-append
1723 "https://hackage.haskell.org/package/charset/charset-"
1724 version
1725 ".tar.gz"))
1726 (sha256
1727 (base32
1728 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
1729 (build-system haskell-build-system)
35ee173c
TS
1730 (arguments
1731 `(#:cabal-revision
1732 ("1" "1z6nxw2g9vgsjq0g159sk8mwj68lwzxzi5iv5ynha0h85jcqxszy")))
dddbc90c
RV
1733 (inputs
1734 `(("ghc-semigroups" ,ghc-semigroups)
1735 ("ghc-unordered-containers" ,ghc-unordered-containers)))
1736 (home-page "https://github.com/ekmett/charset")
1737 (synopsis "Fast unicode character sets for Haskell")
1738 (description "This package provides fast unicode character sets for
1739Haskell, based on complemented PATRICIA tries.")
1740 (license license:bsd-3)))
1741
1742(define-public ghc-chart
1743 (package
1744 (name "ghc-chart")
6cd84b98 1745 (version "1.9.1")
dddbc90c
RV
1746 (source
1747 (origin
1748 (method url-fetch)
1749 (uri (string-append "https://hackage.haskell.org/package/Chart/"
1750 "Chart-" version ".tar.gz"))
1751 (sha256
1752 (base32
6cd84b98 1753 "1pn735k9ifxlb9mdh8xy7wi22cxni8xyr28n8zx9w0j6vprcg89l"))))
dddbc90c
RV
1754 (build-system haskell-build-system)
1755 (inputs
1756 `(("ghc-old-locale" ,ghc-old-locale)
1757 ("ghc-lens" ,ghc-lens)
1758 ("ghc-colour" ,ghc-colour)
1759 ("ghc-data-default-class" ,ghc-data-default-class)
1760 ("ghc-operational" ,ghc-operational)
1761 ("ghc-vector" ,ghc-vector)))
1762 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1763 (synopsis "Library for generating 2D charts and plots")
1764 (description
1765 "This package provides a library for generating 2D charts and plots, with
1766backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
1767 (license license:bsd-3)))
1768
1769(define-public ghc-chart-cairo
1770 (package
1771 (name "ghc-chart-cairo")
5cf9264d 1772 (version "1.9.1")
dddbc90c
RV
1773 (source
1774 (origin
1775 (method url-fetch)
1776 (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/"
1777 "Chart-cairo-" version ".tar.gz"))
1778 (sha256
1779 (base32
5cf9264d 1780 "0hknj4rsjf2m8p5pyq5zff8ai7v80yvmxb5c6n0bkgxs4317nbl9"))))
dddbc90c
RV
1781 (build-system haskell-build-system)
1782 (inputs
1783 `(("ghc-old-locale" ,ghc-old-locale)
1784 ("ghc-cairo" ,ghc-cairo)
1785 ("ghc-colour" ,ghc-colour)
1786 ("ghc-data-default-class" ,ghc-data-default-class)
1787 ("ghc-operational" ,ghc-operational)
1788 ("ghc-lens" ,ghc-lens)
1789 ("ghc-chart" ,ghc-chart)))
1790 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1791 (synopsis "Cairo backend for Charts")
1792 (description "This package provides a Cairo vector graphics rendering
1793backend for the Charts library.")
1794 (license license:bsd-3)))
1795
1796(define-public ghc-chasingbottoms
1797 (package
1798 (name "ghc-chasingbottoms")
1f67853e 1799 (version "1.3.1.7")
dddbc90c
RV
1800 (source
1801 (origin
1802 (method url-fetch)
1803 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
1804 "ChasingBottoms-" version ".tar.gz"))
1805 (sha256
1806 (base32
1f67853e 1807 "0ziiqfsvv1ypdra6kd0bhbsl852i0wqn43jkfii38yl879cdacan"))))
dddbc90c
RV
1808 (build-system haskell-build-system)
1809 (inputs
1810 `(("ghc-quickcheck" ,ghc-quickcheck)
1811 ("ghc-random" ,ghc-random)
1812 ("ghc-syb" ,ghc-syb)))
1813 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
1814 (synopsis "Testing of partial and infinite values in Haskell")
1815 (description
1816 ;; FIXME: There should be a @comma{} in the uref text, but it is not
1817 ;; rendered properly.
1818 "This is a library for testing code involving bottoms or infinite values.
1819For the underlying theory and a larger example involving use of QuickCheck,
1820see the article
1821@uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
1822\"Chasing Bottoms A Case Study in Program Verification in the Presence of
1823Partial and Infinite Values\"}.")
1824 (license license:expat)))
1825
1826(define-public ghc-cheapskate
1827 (package
1828 (name "ghc-cheapskate")
5e18bb9e 1829 (version "0.1.1.1")
dddbc90c
RV
1830 (source
1831 (origin
1832 (method url-fetch)
1833 (uri (string-append
1834 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
1835 version
1836 ".tar.gz"))
1837 (sha256
1838 (base32
5e18bb9e 1839 "0qnyd8bni2rby6b02ff4bvfdhm1hwc8vzpmnms84jgrlg1lly3fm"))))
dddbc90c
RV
1840 (build-system haskell-build-system)
1841 (inputs
1842 `(("ghc-blaze-html" ,ghc-blaze-html)
1843 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
1844 ("ghc-data-default" ,ghc-data-default)
1845 ("ghc-syb" ,ghc-syb)
1846 ("ghc-uniplate" ,ghc-uniplate)))
1847 (home-page "https://github.com/jgm/cheapskate")
1848 (synopsis "Experimental markdown processor")
1849 (description "Cheapskate is an experimental Markdown processor in pure
1850Haskell. It aims to process Markdown efficiently and in the most forgiving
1851possible way. It is designed to deal with any input, including garbage, with
1852linear performance. Output is sanitized by default for protection against
1853cross-site scripting (@dfn{XSS}) attacks.")
1854 (license license:bsd-3)))
1855
1856(define-public ghc-chell
1857 (package
1858 (name "ghc-chell")
acdd03be 1859 (version "0.5")
dddbc90c
RV
1860 (source
1861 (origin
1862 (method url-fetch)
1863 (uri (string-append
1864 "https://hackage.haskell.org/package/chell/chell-"
1865 version ".tar.gz"))
1866 (sha256
1867 (base32
acdd03be 1868 "1i845isfbk0yq852am9bqmxfpfkpnlha8nfidffsv4gw2p8gg6fg"))))
dddbc90c 1869 (build-system haskell-build-system)
acdd03be
TS
1870 (arguments
1871 `(#:cabal-revision
1872 ("1" "1q93wrw03ix4cmnkz3lzkixcvvizw6i2ia2zifdfak1dvxnblxk0")))
dddbc90c
RV
1873 (inputs
1874 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
1875 ("ghc-patience" ,ghc-patience)
1876 ("ghc-random" ,ghc-random)
1877 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
1878 (home-page "https://john-millikin.com/software/chell/")
1879 (synopsis "Simple and intuitive library for automated testing")
1880 (description
1881 "Chell is a simple and intuitive library for automated testing.
1882It natively supports assertion-based testing, and can use companion
1883libraries such as @code{chell-quickcheck} to support more complex
1884testing strategies.")
1885 (license license:expat)))
1886
1887(define-public ghc-chell-quickcheck
1888 (package
1889 (name "ghc-chell-quickcheck")
e0e21831 1890 (version "0.2.5.2")
dddbc90c
RV
1891 (source
1892 (origin
1893 (method url-fetch)
1894 (uri (string-append
1895 "https://hackage.haskell.org/package/chell-quickcheck/"
1896 "chell-quickcheck-" version ".tar.gz"))
1897 (sha256
1898 (base32
e0e21831 1899 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
dddbc90c
RV
1900 (build-system haskell-build-system)
1901 (arguments
1902 `(#:phases
1903 (modify-phases %standard-phases
1904 (add-before 'configure 'update-constraints
1905 (lambda _
1906 (substitute* "chell-quickcheck.cabal"
e0e21831
TS
1907 (("QuickCheck >= 2\\.3 && < 2\\.13")
1908 "QuickCheck >= 2.3 && < 2.14")))))))
dddbc90c
RV
1909 (inputs
1910 `(("ghc-chell" ,ghc-chell)
1911 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
1912 ("ghc-random" ,ghc-random)
1913 ("ghc-quickcheck" ,ghc-quickcheck)))
1914 (home-page "https://john-millikin.com/software/chell/")
1915 (synopsis "QuickCheck support for the Chell testing library")
1916 (description "More complex tests for @code{chell}.")
1917 (license license:expat)))
1918
1919(define ghc-chell-quickcheck-bootstrap
1920 (package
1921 (name "ghc-chell-quickcheck-bootstrap")
e0e21831 1922 (version "0.2.5.2")
dddbc90c
RV
1923 (source
1924 (origin
1925 (method url-fetch)
1926 (uri (string-append
1927 "https://hackage.haskell.org/package/chell-quickcheck/"
1928 "chell-quickcheck-" version ".tar.gz"))
1929 (sha256
1930 (base32
e0e21831 1931 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
dddbc90c
RV
1932 (build-system haskell-build-system)
1933 (inputs
1934 `(("ghc-chell" ,ghc-chell)
1935 ("ghc-random" ,ghc-random)
1936 ("ghc-quickcheck" ,ghc-quickcheck)))
1937 (arguments
1938 `(#:tests? #f
1939 #:phases
1940 (modify-phases %standard-phases
1941 (add-before 'configure 'update-constraints
1942 (lambda _
1943 (substitute* "chell-quickcheck.cabal"
e0e21831
TS
1944 (("QuickCheck >= 2\\.3 && < 2\\.13")
1945 "QuickCheck >= 2.3 && < 2.14")))))))
dddbc90c
RV
1946 (home-page "https://john-millikin.com/software/chell/")
1947 (synopsis "QuickCheck support for the Chell testing library")
1948 (description "More complex tests for @code{chell}.")
1949 (license license:expat)))
1950
1951(define-public ghc-chunked-data
1952 (package
1953 (name "ghc-chunked-data")
1954 (version "0.3.1")
1955 (source
1956 (origin
1957 (method url-fetch)
1958 (uri (string-append "https://hackage.haskell.org/package/"
1959 "chunked-data-" version "/"
1960 "chunked-data-" version ".tar.gz"))
1961 (sha256
1962 (base32
1963 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
1964 (build-system haskell-build-system)
1965 (inputs `(("ghc-vector" ,ghc-vector)
1966 ("ghc-semigroups" ,ghc-semigroups)))
1967 (home-page "https://github.com/snoyberg/mono-traversable")
1968 (synopsis "Typeclasses for dealing with various chunked data
1969representations for Haskell")
1970 (description "This Haskell package was originally present in
1971classy-prelude.")
1972 (license license:expat)))
1973
1974(define-public ghc-clock
1975 (package
1976 (name "ghc-clock")
0841b6f2 1977 (version "0.8")
dddbc90c
RV
1978 (source
1979 (origin
1980 (method url-fetch)
1981 (uri (string-append
1982 "https://hackage.haskell.org/package/"
1983 "clock/"
1984 "clock-" version ".tar.gz"))
1985 (sha256
0841b6f2 1986 (base32 "0539w9bjw6xbfv9v6aq9hijszxqdnqhilwpbwpql1400ji95r8q8"))))
dddbc90c
RV
1987 (build-system haskell-build-system)
1988 (inputs
1989 `(("ghc-tasty" ,ghc-tasty)
1990 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
1991 (home-page "https://hackage.haskell.org/package/clock")
1992 (synopsis "High-resolution clock for Haskell")
1993 (description "A package for convenient access to high-resolution clock and
1994timer functions of different operating systems via a unified API.")
1995 (license license:bsd-3)))
1996
1997;; This package builds `clock` without tests, since the tests rely on tasty
1998;; and tasty-quickcheck, which in turn require clock to build.
1999(define-public ghc-clock-bootstrap
2000 (package
2001 (inherit ghc-clock)
2002 (name "ghc-clock-bootstrap")
2003 (arguments '(#:tests? #f))
2004 (inputs '())
2005 (properties '((hidden? #t)))))
2006
2007(define-public ghc-cmark
2008 (package
2009 (name "ghc-cmark")
6bdd36c0 2010 (version "0.6")
dddbc90c
RV
2011 (source (origin
2012 (method url-fetch)
6bdd36c0 2013 ;; XXX As of version 0.6, this package bundles libcmark 0.28.0.
dddbc90c
RV
2014 ;; See cbits/cmark_version.h.
2015 (uri (string-append "https://hackage.haskell.org/package/"
2016 "cmark/cmark-" version ".tar.gz"))
2017 (sha256
2018 (base32
6bdd36c0 2019 "1p41z6z8dqxk62287lvhhg4ayy9laai9ljh4azsnzb029v6mbv0d"))))
dddbc90c
RV
2020 (build-system haskell-build-system)
2021 (native-inputs
2022 `(("ghc-hunit" ,ghc-hunit)))
2023 (home-page "https://github.com/jgm/commonmark-hs")
2024 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
2025 (description
2026 "This package provides Haskell bindings for
2027@uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
2028CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
2029sources, and does not require prior installation of the C library.")
2030 (license license:bsd-3)))
2031
2032(define-public ghc-cmark-gfm
2033 (package
2034 (name "ghc-cmark-gfm")
24fc8dae 2035 (version "0.2.0")
dddbc90c
RV
2036 (source
2037 (origin
2038 (method url-fetch)
2039 (uri (string-append "https://hackage.haskell.org/package/"
2040 "cmark-gfm/cmark-gfm-"
2041 version ".tar.gz"))
2042 (sha256
2043 (base32
24fc8dae 2044 "03xflrkyw84qv3yjly5iks9311bqv5cmrmsylr763v4ph0fn7rjq"))))
dddbc90c
RV
2045 (build-system haskell-build-system)
2046 (native-inputs
2047 `(("ghc-hunit" ,ghc-hunit)))
2048 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
2049 (synopsis
2050 "Fast, accurate GitHub Flavored Markdown parser and renderer")
2051 (description
2052 "This package provides Haskell bindings for libcmark-gfm, the reference
2053parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
2054It includes sources for libcmark-gfm and does not require prior installation
2055of the C library.")
2056 (license license:bsd-3)))
2057
2058(define-public ghc-cmdargs
2059 (package
2060 (name "ghc-cmdargs")
2061 (version "0.10.20")
2062 (source
2063 (origin
2064 (method url-fetch)
2065 (uri (string-append
2066 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
2067 version ".tar.gz"))
2068 (sha256
2069 (base32
2070 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
2071 (build-system haskell-build-system)
3e545443 2072 (outputs '("out" "static" "doc"))
dddbc90c
RV
2073 (home-page
2074 "http://community.haskell.org/~ndm/cmdargs/")
2075 (synopsis "Command line argument processing")
2076 (description
2077 "This library provides an easy way to define command line parsers.")
2078 (license license:bsd-3)))
2079
2080(define-public ghc-code-page
2081 (package
2082 (name "ghc-code-page")
f6bb6519 2083 (version "0.2")
dddbc90c
RV
2084 (source
2085 (origin
2086 (method url-fetch)
2087 (uri (string-append
2088 "https://hackage.haskell.org/package/code-page/code-page-"
2089 version ".tar.gz"))
2090 (sha256
2091 (base32
f6bb6519 2092 "0i0qbrbhvrwkbikqb7hh7yxaipaavwzvyrw211d0vkz99f62mqxz"))))
dddbc90c
RV
2093 (build-system haskell-build-system)
2094 (home-page "https://github.com/RyanGlScott/code-page")
2095 (synopsis "Windows code page library for Haskell")
2096 (description "A cross-platform library with functions for adjusting
2097code pages on Windows. On all other operating systems, the library does
2098nothing.")
2099 (license license:bsd-3)))
2100
2101(define-public ghc-colour
2102(package
2103 (name "ghc-colour")
bc9d1af9 2104 (version "2.3.5")
dddbc90c
RV
2105 (source
2106 (origin
2107 (method url-fetch)
2108 (uri (string-append
2109 "https://hackage.haskell.org/package/colour/colour-"
2110 version ".tar.gz"))
2111 (sha256
2112 (base32
bc9d1af9 2113 "1rq4l46jx4lpdppy71wf7m1n7pw2jwy788rm35ycwzb1g4clg39v"))))
dddbc90c
RV
2114 (arguments
2115 ;; The tests for this package have the following dependency cycle:
2116 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
2117 `(#:tests? #f))
2118 (build-system haskell-build-system)
228d2901 2119 (home-page "https://wiki.haskell.org/Colour")
dddbc90c
RV
2120 (synopsis "Model for human colour perception")
2121 (description
2122 "This package provides a data type for colours and transparency.
2123Colours can be blended and composed. Various colour spaces are
2124supported. A module of colour names (\"Data.Colour.Names\") is provided.")
2125 (license license:expat)))
2126
2127(define-public ghc-comonad
2128 (package
2129 (name "ghc-comonad")
1a825512 2130 (version "5.0.5")
dddbc90c
RV
2131 (source
2132 (origin
2133 (method url-fetch)
2134 (uri (string-append
2135 "https://hackage.haskell.org/package/comonad/comonad-"
2136 version
2137 ".tar.gz"))
2138 (sha256
2139 (base32
1a825512 2140 "1l7snp2mszgnjgd0nc9kzfyd13vla0rlazqi03rwx2akcxk14n3c"))))
dddbc90c
RV
2141 (build-system haskell-build-system)
2142 (native-inputs
2143 `(("cabal-doctest" ,cabal-doctest)
2144 ("ghc-doctest" ,ghc-doctest)))
2145 (inputs
2146 `(("ghc-contravariant" ,ghc-contravariant)
2147 ("ghc-distributive" ,ghc-distributive)
2148 ("ghc-semigroups" ,ghc-semigroups)
2149 ("ghc-tagged" ,ghc-tagged)
2150 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2151 (home-page "https://github.com/ekmett/comonad/")
2152 (synopsis "Comonads for Haskell")
2153 (description "This library provides @code{Comonad}s for Haskell.")
2154 (license license:bsd-3)))
2155
2156(define-public ghc-concatenative
2157 (package
2158 (name "ghc-concatenative")
2159 (version "1.0.1")
2160 (source (origin
2161 (method url-fetch)
2162 (uri (string-append
2163 "https://hackage.haskell.org/package/concatenative/concatenative-"
2164 version ".tar.gz"))
2165 (sha256
2166 (base32
2167 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
2168 (build-system haskell-build-system)
2169 (home-page
2170 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
2171 (synopsis "Library for postfix control flow")
2172 (description
2173 "Concatenative gives Haskell Factor-style combinators and arrows for
2174postfix notation. For more information on stack based languages, see
2175@uref{https://concatenative.org}.")
2176 (license license:bsd-3)))
2177
2178(define-public ghc-concurrent-extra
2179 (package
2180 (name "ghc-concurrent-extra")
2181 (version "0.7.0.12")
2182 (source
2183 (origin
2184 (method url-fetch)
2185 (uri (string-append "https://hackage.haskell.org/package/"
2186 "concurrent-extra/concurrent-extra-"
2187 version ".tar.gz"))
2188 (sha256
2189 (base32
2190 "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4"))))
2191 (build-system haskell-build-system)
2192 (arguments
2193 ;; XXX: The ReadWriteLock 'stressTest' fails.
2194 `(#:tests? #f))
2195 (inputs
2196 `(("ghc-unbounded-delays" ,ghc-unbounded-delays)))
2197 (native-inputs
2198 `(("ghc-async" ,ghc-async)
2199 ("ghc-hunit" ,ghc-hunit)
2200 ("ghc-random" ,ghc-random)
2201 ("ghc-test-framework" ,ghc-test-framework)
2202 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2203 (home-page "https://github.com/basvandijk/concurrent-extra")
2204 (synopsis "Extra concurrency primitives")
2205 (description "This Haskell library offers (among other things) the
2206following selection of synchronisation primitives:
2207
2208@itemize
2209@item @code{Broadcast}: Wake multiple threads by broadcasting a value.
2210@item @code{Event}: Wake multiple threads by signalling an event.
2211@item @code{Lock}: Enforce exclusive access to a resource. Also known
2212as a binary semaphore or mutex. The package additionally provides an
2213alternative that works in the STM monad.
2214@item @code{RLock}: A lock which can be acquired multiple times by the
2215same thread. Also known as a reentrant mutex.
2216@item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used
2217to protect shared resources which may be concurrently read, but only
2218sequentially written.
2219@item @code{ReadWriteVar}: Concurrent read, sequential write variables.
2220@end itemize
2221
2222Please consult the API documentation of the individual modules for more
2223detailed information.
2224
2225This package was inspired by the concurrency libraries of Java and
2226Python.")
2227 (license license:bsd-3)))
2228
2229(define-public ghc-concurrent-output
2230 (package
2231 (name "ghc-concurrent-output")
4fce0a4a 2232 (version "1.10.11")
dddbc90c
RV
2233 (source
2234 (origin
2235 (method url-fetch)
2236 (uri (string-append
2237 "mirror://hackage/package/concurrent-output/concurrent-output-"
2238 version
2239 ".tar.gz"))
2240 (sha256
2241 (base32
4fce0a4a 2242 "1d1aaqg5814k59b0iws3fh06p3g2siaj922gkhs75qgncj0my2p3"))))
dddbc90c
RV
2243 (build-system haskell-build-system)
2244 (inputs
2245 `(("ghc-async" ,ghc-async)
2246 ("ghc-exceptions" ,ghc-exceptions)
2247 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2248 ("ghc-terminal-size" ,ghc-terminal-size)))
2249 (home-page
2250 "https://hackage.haskell.org/package/concurrent-output")
2251 (synopsis
2252 "Ungarble output from several threads or commands")
2253 (description
2254 "Lets multiple threads and external processes concurrently output to the
2255console, without it getting all garbled up.
2256
2257Built on top of that is a way of defining multiple output regions, which are
2258automatically laid out on the screen and can be individually updated by
2259concurrent threads. Can be used for progress displays etc.")
2260 (license license:bsd-2)))
2261
2262(define-public ghc-conduit
2263 (package
2264 (name "ghc-conduit")
1ac981d4 2265 (version "1.3.1.1")
dddbc90c
RV
2266 (source (origin
2267 (method url-fetch)
2268 (uri (string-append "https://hackage.haskell.org/package/"
2269 "conduit/conduit-" version ".tar.gz"))
2270 (sha256
2271 (base32
1ac981d4 2272 "18izjgff4pmrknc8py06yvg3g6x27nx0rzmlwjxcflwm5v4szpw4"))))
dddbc90c 2273 (build-system haskell-build-system)
20e5edb1 2274 (outputs '("out" "static" "doc"))
dddbc90c
RV
2275 (inputs
2276 `(("ghc-exceptions" ,ghc-exceptions)
2277 ("ghc-lifted-base" ,ghc-lifted-base)
2278 ("ghc-mono-traversable" ,ghc-mono-traversable)
2279 ("ghc-mmorph" ,ghc-mmorph)
2280 ("ghc-resourcet" ,ghc-resourcet)
2281 ("ghc-silently" ,ghc-silently)
2282 ("ghc-transformers-base" ,ghc-transformers-base)
2283 ("ghc-unliftio" ,ghc-unliftio)
2284 ("ghc-unliftio-core" ,ghc-unliftio-core)
2285 ("ghc-vector" ,ghc-vector)
2286 ("ghc-void" ,ghc-void)))
2287 (native-inputs
2288 `(("ghc-quickcheck" ,ghc-quickcheck)
2289 ("ghc-hspec" ,ghc-hspec)
2290 ("ghc-safe" ,ghc-safe)
2291 ("ghc-split" ,ghc-split)))
2292 (home-page "https://github.com/snoyberg/conduit")
2293 (synopsis "Streaming data library ")
2294 (description
2295 "The conduit package is a solution to the streaming data problem,
2296allowing for production, transformation, and consumption of streams of data
2297in constant memory. It is an alternative to lazy I/O which guarantees
2298deterministic resource handling, and fits in the same general solution
2299space as enumerator/iteratee and pipes.")
2300 (license license:expat)))
2301
2302(define-public ghc-conduit-algorithms
2303 (package
2304 (name "ghc-conduit-algorithms")
503b74ae 2305 (version "0.0.11.0")
dddbc90c
RV
2306 (source
2307 (origin
2308 (method url-fetch)
2309 (uri (string-append "https://hackage.haskell.org/package/"
2310 "conduit-algorithms/conduit-algorithms-"
2311 version ".tar.gz"))
2312 (sha256
2313 (base32
503b74ae 2314 "0c1jwz30kkvimx7lb61782yk0kyfamrf5bqc3g1h7g51lk8bbv9i"))))
dddbc90c
RV
2315 (build-system haskell-build-system)
2316 (inputs
2317 `(("ghc-async" ,ghc-async)
2318 ("ghc-bzlib-conduit" ,ghc-bzlib-conduit)
2319 ("ghc-conduit" ,ghc-conduit)
2320 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2321 ("ghc-conduit-extra" ,ghc-conduit-extra)
503b74ae 2322 ("ghc-conduit-zstd" ,ghc-conduit-zstd)
dddbc90c
RV
2323 ("ghc-exceptions" ,ghc-exceptions)
2324 ("ghc-lzma-conduit" ,ghc-lzma-conduit)
2325 ("ghc-monad-control" ,ghc-monad-control)
2326 ("ghc-pqueue" ,ghc-pqueue)
2327 ("ghc-resourcet" ,ghc-resourcet)
2328 ("ghc-stm-conduit" ,ghc-stm-conduit)
2329 ("ghc-streaming-commons" ,ghc-streaming-commons)
2330 ("ghc-unliftio-core" ,ghc-unliftio-core)
2331 ("ghc-vector" ,ghc-vector)))
2332 (native-inputs
2333 `(("ghc-hunit" ,ghc-hunit)
2334 ("ghc-test-framework" ,ghc-test-framework)
2335 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2336 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2337 (home-page "https://github.com/luispedro/conduit-algorithms#readme")
2338 (synopsis "Conduit-based algorithms")
2339 (description
2340 "This package provides algorithms on @code{Conduits}, including higher
2341level asynchronous processing and some other utilities.")
2342 (license license:expat)))
2343
2344(define-public ghc-conduit-combinators
2345 (package
2346 (name "ghc-conduit-combinators")
2347 (version "1.3.0")
2348 (source
2349 (origin
2350 (method url-fetch)
2351 (uri (string-append "https://hackage.haskell.org/package/"
2352 "conduit-combinators-" version "/"
2353 "conduit-combinators-" version ".tar.gz"))
2354 (sha256
2355 (base32
2356 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
2357 (build-system haskell-build-system)
2358 (inputs `(("ghc-conduit" ,ghc-conduit)
2359 ("ghc-conduit-extra" ,ghc-conduit-extra)
2360 ("ghc-transformers-base" ,ghc-transformers-base)
2361 ("ghc-primitive" ,ghc-primitive)
2362 ("ghc-vector" ,ghc-vector)
2363 ("ghc-void" ,ghc-void)
2364 ("ghc-mwc-random" ,ghc-mwc-random)
2365 ("ghc-unix-compat" ,ghc-unix-compat)
2366 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
2367 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
2368 ("ghc-resourcet" ,ghc-resourcet)
2369 ("ghc-monad-control" ,ghc-monad-control)
2370 ("ghc-chunked-data" ,ghc-chunked-data)
2371 ("ghc-mono-traversable" ,ghc-mono-traversable)))
2372 (native-inputs `(("ghc-hspec" ,ghc-hspec)
2373 ("ghc-silently" ,ghc-silently)
2374 ("ghc-safe" ,ghc-safe)
2375 ("ghc-quickcheck" ,ghc-quickcheck)))
2376 (home-page "https://github.com/snoyberg/mono-traversable")
2377 (synopsis "Commonly used conduit functions, for both chunked and
2378unchunked data")
2379 (description "This Haskell package provides a replacement for Data.Conduit.List,
2380as well as a convenient Conduit module.")
2381 (license license:expat)))
2382
2383(define-public ghc-conduit-extra
2384 (package
2385 (name "ghc-conduit-extra")
151774d9 2386 (version "1.3.4")
dddbc90c
RV
2387 (source
2388 (origin
2389 (method url-fetch)
2390 (uri (string-append "https://hackage.haskell.org/package/"
2391 "conduit-extra/conduit-extra-"
2392 version ".tar.gz"))
2393 (sha256
2394 (base32
151774d9 2395 "1d853d39vj5pb8yxfcsnjwdzqzkm34ixzbnba8bslpihb7182wxi"))))
dddbc90c
RV
2396 (build-system haskell-build-system)
2397 (inputs
2398 `(("ghc-conduit" ,ghc-conduit)
2399 ("ghc-exceptions" ,ghc-exceptions)
2400 ("ghc-monad-control" ,ghc-monad-control)
2401 ("ghc-transformers-base" ,ghc-transformers-base)
2402 ("ghc-typed-process" ,ghc-typed-process)
2403 ("ghc-async" ,ghc-async)
2404 ("ghc-attoparsec" ,ghc-attoparsec)
2405 ("ghc-blaze-builder" ,ghc-blaze-builder)
2406 ("ghc-network" ,ghc-network)
2407 ("ghc-primitive" ,ghc-primitive)
2408 ("ghc-resourcet" ,ghc-resourcet)
2409 ("ghc-streaming-commons" ,ghc-streaming-commons)
2410 ("ghc-hspec" ,ghc-hspec)
2411 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
2412 ("ghc-quickcheck" ,ghc-quickcheck)))
2413 (native-inputs
2414 `(("hspec-discover" ,hspec-discover)))
2415 (home-page "https://github.com/snoyberg/conduit")
2416 (synopsis "Conduit adapters for common libraries")
2417 (description
2418 "The @code{conduit} package itself maintains relative small dependencies.
2419The purpose of this package is to collect commonly used utility functions
2420wrapping other library dependencies, without depending on heavier-weight
2421dependencies. The basic idea is that this package should only depend on
2422@code{haskell-platform} packages and @code{conduit}.")
2423 (license license:expat)))
2424
b59c3518
TS
2425(define-public ghc-conduit-zstd
2426 (package
2427 (name "ghc-conduit-zstd")
2428 (version "0.0.1.1")
2429 (source
2430 (origin
2431 (method url-fetch)
2432 (uri (string-append "https://hackage.haskell.org/package/"
2433 "conduit-zstd/conduit-zstd-" version ".tar.gz"))
2434 (sha256
2435 (base32
2436 "04h7w2903hgw4gjcx2pg29yinnmfapawvc19hd3r57rr12fzb0c6"))))
2437 (build-system haskell-build-system)
2438 (inputs
2439 `(("ghc-conduit" ,ghc-conduit)
2440 ("ghc-zstd" ,ghc-zstd)))
2441 (native-inputs
2442 `(("ghc-hunit" ,ghc-hunit)
2443 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2444 ("ghc-conduit-extra" ,ghc-conduit-extra)
2445 ("ghc-test-framework" ,ghc-test-framework)
2446 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2447 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2448 (home-page "https://github.com/luispedro/conduit-zstd#readme")
2449 (synopsis "Conduit-based ZStd Compression")
2450 (description "Zstandard compression packaged as a conduit. This is
2451a very thin wrapper around the
2452@url{https://github.com/facebookexperimental/hs-zstd/, official hs-zstd
2453interface}.")
2454 (license license:expat)))
2455
dddbc90c
RV
2456(define-public ghc-configurator
2457 (package
2458 (name "ghc-configurator")
2459 (version "0.3.0.0")
2460 (source
2461 (origin
2462 (method url-fetch)
2463 (uri (string-append "https://hackage.haskell.org/package/"
2464 "configurator/configurator-"
2465 version ".tar.gz"))
2466 (sha256
2467 (base32
2468 "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"))))
2469 (build-system haskell-build-system)
2470 (inputs
2471 `(("ghc-attoparsec" ,ghc-attoparsec)
2472 ("ghc-hashable" ,ghc-hashable)
2473 ("ghc-unix-compat" ,ghc-unix-compat)
2474 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2475 (native-inputs
2476 `(("ghc-hunit" ,ghc-hunit)
2477 ("ghc-test-framework" ,ghc-test-framework)
2478 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
702a1012 2479 (home-page "https://github.com/bos/configurator")
dddbc90c
RV
2480 (synopsis "Configuration management")
2481 (description
2482 "This package provides a configuration management library for programs
2483and daemons. The features include:
2484
2485@enumerate
2486@item Automatic, dynamic reloading in response to modifications to
2487 configuration files.
2488@item A simple, but flexible, configuration language, supporting several of
2489 the most commonly needed types of data, along with interpolation of strings
2490 from the configuration or the system environment (e.g. @code{$(HOME)}).
2491@item Subscription-based notification of changes to configuration properties.
2492@item An @code{import} directive allows the configuration of a complex
2493 application to be split across several smaller files, or common configuration
2494 data to be shared across several applications.
2495@end enumerate\n")
2496 (license license:bsd-3)))
2497
2498(define-public ghc-connection
2499 (package
2500 (name "ghc-connection")
6ee0d258 2501 (version "0.3.1")
dddbc90c
RV
2502 (source (origin
2503 (method url-fetch)
2504 (uri (string-append "https://hackage.haskell.org/package/"
2505 "connection/connection-"
2506 version ".tar.gz"))
2507 (sha256
2508 (base32
6ee0d258 2509 "1nbmafhlg0wy4aa3p7amjddbamdz6avzrxn4py3lvhrjqn4raxax"))))
dddbc90c
RV
2510 (build-system haskell-build-system)
2511 (inputs
2512 `(("ghc-byteable" ,ghc-byteable)
2513 ("ghc-data-default-class" ,ghc-data-default-class)
2514 ("ghc-network" ,ghc-network)
2515 ("ghc-tls" ,ghc-tls)
2516 ("ghc-socks" ,ghc-socks)
2517 ("ghc-x509" ,ghc-x509)
2518 ("ghc-x509-store" ,ghc-x509-store)
2519 ("ghc-x509-system" ,ghc-x509-system)
2520 ("ghc-x509-validation" ,ghc-x509-validation)))
2521 (home-page "https://github.com/vincenthz/hs-connection")
2522 (synopsis "Simple and easy network connections API")
2523 (description
2524 "This package provides a simple network library for all your connection
2525needs. It provides a very simple API to create sockets to a destination with
2526the choice of SSL/TLS, and SOCKS.")
2527 (license license:bsd-3)))
2528
2529(define-public ghc-constraints
2530 (package
2531 (name "ghc-constraints")
2532 (version "0.10.1")
2533 (source
2534 (origin
2535 (method url-fetch)
2536 (uri (string-append
2537 "https://hackage.haskell.org/package/constraints/constraints-"
2538 version ".tar.gz"))
2539 (sha256
2540 (base32
2541 "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q"))))
2542 (build-system haskell-build-system)
2543 (inputs
2544 `(("ghc-hashable" ,ghc-hashable)
2545 ("ghc-semigroups" ,ghc-semigroups)
2546 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2547 (native-inputs
2548 `(("ghc-hspec" ,ghc-hspec)
2549 ("hspec-discover" ,hspec-discover)))
2550 (home-page "https://github.com/ekmett/constraints/")
2551 (synopsis "Constraint manipulation")
2552 (description
2553 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
2554They stopped crashing the compiler in GHC 7.6. This package provides
2555a vocabulary for working with them.")
2556 (license license:bsd-3)))
2557
2558(define-public ghc-contravariant
2559 (package
2560 (name "ghc-contravariant")
e7b35ff0 2561 (version "1.5.2")
dddbc90c
RV
2562 (source
2563 (origin
2564 (method url-fetch)
2565 (uri (string-append
2566 "https://hackage.haskell.org/package/contravariant/contravariant-"
2567 version
2568 ".tar.gz"))
2569 (sha256
2570 (base32
e7b35ff0 2571 "0366gl62wwwdbl9i6kqy60asf60876k55v91la6bmhnwwcj2q9n4"))))
dddbc90c
RV
2572 (build-system haskell-build-system)
2573 (inputs
2574 `(("ghc-void" ,ghc-void)
2575 ("ghc-transformers-compat" ,ghc-transformers-compat)
2576 ("ghc-statevar" ,ghc-statevar)
2577 ("ghc-semigroups" ,ghc-semigroups)))
2578 (home-page
2579 "https://github.com/ekmett/contravariant/")
2580 (synopsis "Contravariant functors")
2581 (description "Contravariant functors for Haskell.")
2582 (license license:bsd-3)))
2583
2584(define-public ghc-contravariant-extras
2585 (package
2586 (name "ghc-contravariant-extras")
2587 (version "0.3.4")
2588 (source
2589 (origin
2590 (method url-fetch)
2591 (uri (string-append "https://hackage.haskell.org/package/"
2592 "contravariant-extras-" version "/"
2593 "contravariant-extras-" version ".tar.gz"))
2594 (sha256
2595 (base32
2596 "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n"))))
2597 (build-system haskell-build-system)
f3aca086
TS
2598 (arguments
2599 `(#:cabal-revision
2600 ("1" "1h2955ahga6i4fn7k8v66l03v77p6fhsac6ck8gpabkc08ij60wp")))
dddbc90c
RV
2601 (inputs
2602 `(("ghc-tuple-th" ,ghc-tuple-th)
2603 ("ghc-contravariant" ,ghc-contravariant)
2604 ("ghc-base-prelude" ,ghc-base-prelude)
2605 ("ghc-semigroups" ,ghc-semigroups)))
2606 (home-page "https://github.com/nikita-volkov/contravariant-extras")
2607 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
2608 (description "This Haskell package provides extras for the
2609@code{ghc-contravariant} package.")
2610 (license license:expat)))
2611
7f2a5650
CH
2612(define-public ghc-control-monad-free
2613 (package
2614 (name "ghc-control-monad-free")
2615 (version "0.6.2")
2616 (source
2617 (origin
2618 (method url-fetch)
2619 (uri (string-append
2620 "https://hackage.haskell.org/"
2621 "package/control-monad-free/control-monad-free-"
2622 version
2623 ".tar.gz"))
2624 (sha256
2625 (base32
2626 "1habgf7byffqf1rqjkzpihvdhclaafgqsqpfpwp3fgpj5ayk1j33"))))
2627 (build-system haskell-build-system)
2628 (home-page "https://github.com/pepeiborra/control-monad-free")
2629 (synopsis "Free monads and monad transformers")
2630 (description
2631 "This package provides datatypes to construct Free monads, Free monad
2632transformers, and useful instances. In addition it provides the constructs to
2633avoid quadratic complexity of left associative bind, as explained in:
2634
2635@itemize @bullet
2636@item
2637Janis Voigtlander, @cite{Asymptotic Improvement of Computations over
2638Free Monads, MPC'08}
2639@end itemize")
2640 (license license:public-domain)))
2641
dddbc90c
RV
2642(define-public ghc-convertible
2643 (package
2644 (name "ghc-convertible")
2645 (version "1.1.1.0")
2646 (source
2647 (origin
2648 (method url-fetch)
2649 (uri (string-append "https://hackage.haskell.org/package/convertible/"
2650 "convertible-" version ".tar.gz"))
2651 (sha256
2652 (base32
2653 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
2654 (build-system haskell-build-system)
2655 (inputs
2656 `(("ghc-old-time" ,ghc-old-time)
2657 ("ghc-old-locale" ,ghc-old-locale)))
2658 (home-page "https://hackage.haskell.org/package/convertible")
2659 (synopsis "Typeclasses and instances for converting between types")
2660 (description
2661 "This package provides a typeclass with a single function that is
2662designed to help convert between different types: numeric values, dates and
2663times, and the like. The conversions perform bounds checking and return a
2664pure @code{Either} value. This means that you need not remember which specific
2665function performs the conversion you desire.")
2666 (license license:bsd-3)))
2667
0ff9a717
CH
2668(define-public ghc-csv
2669 (package
2670 (name "ghc-csv")
2671 (version "0.1.2")
2672 (source
2673 (origin
2674 (method url-fetch)
2675 (uri (string-append
2676 "https://hackage.haskell.org/package/csv/csv-"
2677 version
2678 ".tar.gz"))
2679 (sha256
2680 (base32
2681 "00767ai09wm7f0yzmpqck3cpgxncpr9djnmmz5l17ajz69139x4c"))))
2682 (build-system haskell-build-system)
2683 (home-page "http://hackage.haskell.org/package/csv")
2684 (synopsis "CSV loader and dumper")
2685 (description
2686 "This library parses and dumps documents that are formatted according to
2687RFC 4180, @cite{The common Format and MIME Type for Comma-Separated
2688Values (CSV) Files}. This format is used, among many other things, as a
2689lingua franca for spreadsheets, and for certain web services.")
2690 (license license:expat)))
2691
dddbc90c
RV
2692(define-public ghc-data-accessor
2693 (package
2694 (name "ghc-data-accessor")
6dcca515 2695 (version "0.2.2.8")
dddbc90c
RV
2696 (source
2697 (origin
2698 (method url-fetch)
2699 (uri (string-append
2700 "mirror://hackage/package/data-accessor/data-accessor-"
2701 version ".tar.gz"))
2702 (sha256
6dcca515 2703 (base32 "1fq4gygxbz0bd0mzgvc1sl3m4gjnsv8nbgpnmdpa29zj5lb9agxc"))))
dddbc90c 2704 (build-system haskell-build-system)
228d2901 2705 (home-page "https://wiki.haskell.org/Record_access")
dddbc90c
RV
2706 (synopsis
2707 "Haskell utilities for accessing and manipulating fields of records")
2708 (description "This package provides Haskell modules for accessing and
2709manipulating fields of records.")
2710 (license license:bsd-3)))
2711
2712(define-public ghc-data-accessor-transformers
2713 (package
2714 (name "ghc-data-accessor-transformers")
2715 (version "0.2.1.7")
2716 (source
2717 (origin
2718 (method url-fetch)
2719 (uri (string-append
2720 "mirror://hackage/package/data-accessor-transformers/"
2721 "data-accessor-transformers-" version ".tar.gz"))
2722 (sha256
2723 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
2724 (build-system haskell-build-system)
2725 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
228d2901 2726 (home-page "https://wiki.haskell.org/Record_access")
dddbc90c
RV
2727 (synopsis "Use Accessor to access state in transformers State monad")
2728 (description "This package provides Haskell modules to allow use of
2729Accessor to access state in transformers State monad.")
2730 (license license:bsd-3)))
2731
2732(define-public ghc-data-default
2733 (package
2734 (name "ghc-data-default")
2735 (version "0.7.1.1")
2736 (source
2737 (origin
2738 (method url-fetch)
2739 (uri (string-append
2740 "https://hackage.haskell.org/package/data-default/data-default-"
2741 version
2742 ".tar.gz"))
2743 (sha256
2744 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
2745 (build-system haskell-build-system)
2746 (inputs
2747 `(("ghc-data-default-class"
2748 ,ghc-data-default-class)
2749 ("ghc-data-default-instances-base"
2750 ,ghc-data-default-instances-base)
2751 ("ghc-data-default-instances-containers"
2752 ,ghc-data-default-instances-containers)
2753 ("ghc-data-default-instances-dlist"
2754 ,ghc-data-default-instances-dlist)
2755 ("ghc-data-default-instances-old-locale"
2756 ,ghc-data-default-instances-old-locale)))
2757 (home-page "https://hackage.haskell.org/package/data-default")
2758 (synopsis "Types with default values")
2759 (description
2760 "This package defines a class for types with a default value, and
2761provides instances for types from the base, containers, dlist and old-locale
2762packages.")
2763 (license license:bsd-3)))
2764
2765(define-public ghc-data-default-class
2766 (package
2767 (name "ghc-data-default-class")
2768 (version "0.1.2.0")
2769 (source
2770 (origin
2771 (method url-fetch)
2772 (uri (string-append
2773 "https://hackage.haskell.org/package/data-default-class/"
2774 "data-default-class-" version ".tar.gz"))
2775 (sha256
2776 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
2777 (build-system haskell-build-system)
2778 (home-page "https://hackage.haskell.org/package/data-default-class")
2779 (synopsis "Types with default values")
2780 (description
2781 "This package defines a class for types with default values.")
2782 (license license:bsd-3)))
2783
2784(define-public ghc-data-default-instances-base
2785 (package
2786 (name "ghc-data-default-instances-base")
2787 (version "0.1.0.1")
2788 (source
2789 (origin
2790 (method url-fetch)
2791 (uri (string-append
2792 "https://hackage.haskell.org/package/"
2793 "data-default-instances-base/"
2794 "data-default-instances-base-" version ".tar.gz"))
2795 (sha256
2796 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
2797 (build-system haskell-build-system)
2798 (inputs
2799 `(("ghc-data-default-class" ,ghc-data-default-class)))
2800 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
2801 (synopsis "Default instances for types in base")
2802 (description
2803 "This package provides default instances for types from the base
2804package.")
2805 (license license:bsd-3)))
2806
2807(define-public ghc-data-default-instances-containers
2808 (package
2809 (name "ghc-data-default-instances-containers")
2810 (version "0.0.1")
2811 (source
2812 (origin
2813 (method url-fetch)
2814 (uri (string-append
2815 "https://hackage.haskell.org/package/"
2816 "data-default-instances-containers/"
2817 "data-default-instances-containers-" version ".tar.gz"))
2818 (sha256
2819 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
2820 (build-system haskell-build-system)
2821 (inputs
2822 `(("ghc-data-default-class" ,ghc-data-default-class)))
2823 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
2824 (synopsis "Default instances for types in containers")
2825 (description "Provides default instances for types from the containers
2826package.")
2827 (license license:bsd-3)))
2828
2829(define-public ghc-data-default-instances-dlist
2830 (package
2831 (name "ghc-data-default-instances-dlist")
2832 (version "0.0.1")
2833 (source
2834 (origin
2835 (method url-fetch)
2836 (uri (string-append
2837 "https://hackage.haskell.org/package/"
2838 "data-default-instances-dlist/"
2839 "data-default-instances-dlist-" version ".tar.gz"))
2840 (sha256
2841 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
2842 (build-system haskell-build-system)
2843 (inputs
2844 `(("ghc-data-default-class" ,ghc-data-default-class)
2845 ("ghc-dlist" ,ghc-dlist)))
2846 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
2847 (synopsis "Default instances for types in dlist")
2848 (description "Provides default instances for types from the dlist
2849package.")
2850 (license license:bsd-3)))
2851
2852(define-public ghc-data-default-instances-old-locale
2853 (package
2854 (name "ghc-data-default-instances-old-locale")
2855 (version "0.0.1")
2856 (source
2857 (origin
2858 (method url-fetch)
2859 (uri (string-append
2860 "https://hackage.haskell.org/package/"
2861 "data-default-instances-old-locale/"
2862 "data-default-instances-old-locale-" version ".tar.gz"))
2863 (sha256
2864 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
2865 (build-system haskell-build-system)
2866 (inputs
2867 `(("ghc-data-default-class" ,ghc-data-default-class)
2868 ("ghc-old-locale" ,ghc-old-locale)))
2869 (home-page
2870 "https://hackage.haskell.org/package/data-default-instances-old-locale")
2871 (synopsis "Default instances for types in old-locale")
2872 (description "Provides Default instances for types from the old-locale
2873 package.")
2874 (license license:bsd-3)))
2875
82c36002
JS
2876(define-public ghc-data-fix
2877 (package
2878 (name "ghc-data-fix")
2879 (version "0.2.0")
2880 (source
2881 (origin
2882 (method url-fetch)
2883 (uri (string-append
2884 "mirror://hackage/package/data-fix/"
2885 "data-fix-" version ".tar.gz"))
2886 (sha256
2887 (base32 "14hk6hq5hdb3l5bhmzhw086jpzlvp9qbw9dzw30wlz5jbh2ihmvy"))))
2888 (build-system haskell-build-system)
2889 (home-page "https://github.com/spell-music/data-fix")
2890 (synopsis "Fixpoint data types")
2891 (description
2892 "Fixpoint types and recursion schemes. If you define your AST as
2893fixpoint type, you get fold and unfold operations for free.
2894
2895Thanks for contribution to: Matej Kollar, Herbert Valerio Riedel")
2896 (license license:bsd-3)))
2897
dddbc90c
RV
2898(define-public ghc-data-hash
2899 (package
2900 (name "ghc-data-hash")
2901 (version "0.2.0.1")
2902 (source
2903 (origin
2904 (method url-fetch)
2905 (uri (string-append "https://hackage.haskell.org/package/data-hash"
2906 "/data-hash-" version ".tar.gz"))
2907 (sha256
2908 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
2909 (build-system haskell-build-system)
2910 (inputs
2911 `(("ghc-quickcheck" ,ghc-quickcheck)
2912 ("ghc-test-framework" ,ghc-test-framework)
2913 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2914 (home-page "https://hackage.haskell.org/package/data-hash")
2915 (synopsis "Combinators for building fast hashing functions")
2916 (description
2917 "This package provides combinators for building fast hashing functions.
2918It includes hashing functions for all basic Haskell98 types.")
2919 (license license:bsd-3)))
2920
2921(define-public ghc-data-ordlist
2922 (package
2923 (name "ghc-data-ordlist")
2924 (version "0.4.7.0")
2925 (source
2926 (origin
2927 (method url-fetch)
2928 (uri (string-append
2929 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
2930 version ".tar.gz"))
2931 (sha256
2932 (base32
2933 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
2934 (build-system haskell-build-system)
2935 (home-page "https://hackage.haskell.org/package/data-ordlist")
2936 (synopsis "Set and bag operations on ordered lists")
2937 (description
2938 "This module provides set and multiset operations on ordered lists.")
2939 (license license:bsd-3)))
2940
d05f32d6
JS
2941(define-public ghc-dbus
2942 (package
2943 (name "ghc-dbus")
2944 (version "1.2.7")
2945 (source
2946 (origin
2947 (method url-fetch)
2948 (uri
2949 (string-append
2950 "mirror://hackage/package/dbus/dbus-"
2951 version ".tar.gz"))
2952 (sha256
2953 (base32
2954 "0ypkjlw9fn65g7p28kb3p82glk7qs7p7vyffccw7qxa3z57s12w5"))))
2955 (build-system haskell-build-system)
2956 (inputs
2957 `(("ghc-cereal" ,ghc-cereal)
2958 ("ghc-conduit" ,ghc-conduit)
2959 ("ghc-exceptions" ,ghc-exceptions)
2960 ("ghc-lens" ,ghc-lens)
2961 ("ghc-network" ,ghc-network)
2962 ("ghc-random" ,ghc-random)
2963 ("ghc-split" ,ghc-split)
2964 ("ghc-th-lift" ,ghc-th-lift)
2965 ("ghc-vector" ,ghc-vector)
2966 ("ghc-xml-conduit" ,ghc-xml-conduit)
2967 ("ghc-xml-types" ,ghc-xml-types)))
2968 (native-inputs
2969 `(("ghc-extra" ,ghc-extra)
2970 ("ghc-quickcheck" ,ghc-quickcheck)
2971 ("ghc-resourcet" ,ghc-resourcet)
2972 ("ghc-tasty" ,ghc-tasty)
2973 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
2974 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
2975 ;; FIXME - Some tests try to talk to network.
2976 (arguments `(#:tests? #f))
2977 (home-page "https://github.com/rblaze/haskell-dbus")
2978 (synopsis "Client library for the D-Bus IPC system")
2979 (description
2980 "D-Bus is a simple, message-based protocol for inter-process
2981communication, which allows applications to interact with other parts
2982of the machine and the user's session using remote procedure
2983calls. D-Bus is a essential part of the modern Linux desktop, where
2984it replaces earlier protocols such as CORBA and DCOP. This library
2985is an implementation of the D-Bus protocol in Haskell. It can be used
2986to add D-Bus support to Haskell applications, without the awkward
2987interfaces common to foreign bindings.")
2988 (license license:asl2.0)))
2989
9b3b327a
CH
2990(define-public ghc-decimal
2991 (package
2992 (name "ghc-decimal")
2993 (version "0.5.1")
2994 (source
2995 (origin
2996 (method url-fetch)
2997 (uri (string-append
2998 "https://hackage.haskell.org/package/Decimal/Decimal-"
2999 version
3000 ".tar.gz"))
3001 (sha256
3002 (base32
3003 "0k7kh05mr2f54w1lpgq1nln0h8k6s6h99dyp5jzsb9cfbb3aap2p"))))
3004 (build-system haskell-build-system)
3005 (native-inputs
3006 `(("ghc-hunit" ,ghc-hunit)
3007 ("ghc-quickcheck" ,ghc-quickcheck)
3008 ("ghc-test-framework" ,ghc-test-framework)
3009 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3010 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3011 (home-page "https://github.com/PaulJohnson/Haskell-Decimal")
3012 (synopsis "Decimal numbers with variable precision")
3013 (description
3014 "A decimal number has an integer mantissa and a negative exponent.
3015The exponent can be interpreted as the number of decimal places in the
3016value.")
3017 (license license:bsd-3)))
3018
dddbc90c
RV
3019(define-public ghc-deepseq-generics
3020 (package
3021 (name "ghc-deepseq-generics")
3022 (version "0.2.0.0")
3023 (source (origin
3024 (method url-fetch)
3025 (uri (string-append "https://hackage.haskell.org/package/"
3026 "deepseq-generics/deepseq-generics-"
3027 version ".tar.gz"))
3028 (sha256
3029 (base32
3030 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
3031 (build-system haskell-build-system)
3032 (arguments
3033 `(#:cabal-revision
490ceae4 3034 ("4" "0928s2qnbqsjzrm94x88rvmvbigfmhcyp4m73gw6asinp2qg1kii")))
dddbc90c
RV
3035 (native-inputs
3036 `(("ghc-hunit" ,ghc-hunit)
3037 ("ghc-test-framework" ,ghc-test-framework)
3038 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3039 (home-page "https://github.com/hvr/deepseq-generics")
3040 (synopsis "Generic RNF implementation")
3041 (description
3042 "This package provides a @code{GHC.Generics}-based
3043@code{Control.DeepSeq.Generics.genericRnf} function which can be used for
3044providing an @code{rnf} implementation.")
3045 (license license:bsd-3)))
3046
e924e17e
TS
3047(define-public ghc-dense-linear-algebra
3048 (package
3049 (name "ghc-dense-linear-algebra")
3050 (version "0.1.0.0")
3051 (source
3052 (origin
3053 (method url-fetch)
3054 (uri (string-append "https://hackage.haskell.org/package/"
3055 "dense-linear-algebra/dense-linear-algebra-"
3056 version ".tar.gz"))
3057 (sha256
3058 (base32
3059 "1m7jjxahqxj7ilic3r9806mwp5rnnsmn8vvipkmk40xl65wplxzp"))))
3060 (build-system haskell-build-system)
3061 (inputs
3062 `(("ghc-math-functions" ,ghc-math-functions)
3063 ("ghc-primitive" ,ghc-primitive)
3064 ("ghc-vector" ,ghc-vector)
3065 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
3066 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
3067 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
3068 (native-inputs
3069 `(("ghc-hspec" ,ghc-hspec)
3070 ("ghc-quickcheck" ,ghc-quickcheck)))
50153437 3071 (home-page "https://hackage.haskell.org/package/dense-linear-algebra")
e924e17e
TS
3072 (synopsis "Simple and incomplete implementation of linear algebra")
3073 (description "This library is simply a collection of linear-algebra
3074related modules split from the statistics library.")
3075 (license license:bsd-2)))
3076
dddbc90c
RV
3077(define-public ghc-descriptive
3078 (package
3079 (name "ghc-descriptive")
3080 (version "0.9.5")
3081 (source
3082 (origin
3083 (method url-fetch)
3084 (uri (string-append
3085 "https://hackage.haskell.org/package/descriptive/descriptive-"
3086 version
3087 ".tar.gz"))
3088 (sha256
3089 (base32
3090 "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237"))))
3091 (build-system haskell-build-system)
3092 (inputs
3093 `(("ghc-aeson" ,ghc-aeson)
3094 ("ghc-bifunctors" ,ghc-bifunctors)
3095 ("ghc-scientific" ,ghc-scientific)
3096 ("ghc-vector" ,ghc-vector)))
3097 (native-inputs
3098 `(("ghc-hunit" ,ghc-hunit)
3099 ("ghc-hspec" ,ghc-hspec)))
3100 (home-page
3101 "https://github.com/chrisdone/descriptive")
3102 (synopsis
3103 "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.")
3104 (description
3105 "This package provides datatypes and functions for creating consumers
3106and parsers with useful semantics.")
3107 (license license:bsd-3)))
3108
1859c94a
TS
3109(define-public ghc-diagrams-core
3110 (package
3111 (name "ghc-diagrams-core")
3112 (version "1.4.2")
3113 (source
3114 (origin
3115 (method url-fetch)
3116 (uri (string-append "https://hackage.haskell.org/package/"
3117 "diagrams-core/diagrams-core-" version ".tar.gz"))
3118 (sha256
3119 (base32
3120 "0qgb43vy23g4fxh3nmxfq6jyp34imqvkhgflaa6rz0iq6d60gl43"))))
3121 (build-system haskell-build-system)
3122 (inputs
3123 `(("ghc-unordered-containers" ,ghc-unordered-containers)
3124 ("ghc-semigroups" ,ghc-semigroups)
3125 ("ghc-monoid-extras" ,ghc-monoid-extras)
3126 ("ghc-dual-tree" ,ghc-dual-tree)
3127 ("ghc-lens" ,ghc-lens)
3128 ("ghc-linear" ,ghc-linear)
3129 ("ghc-adjunctions" ,ghc-adjunctions)
3130 ("ghc-distributive" ,ghc-distributive)
3131 ("ghc-profunctors" ,ghc-profunctors)))
3132 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3133 (synopsis "Core libraries for diagrams embedded domain-specific language")
3134 (description "This package provides the core modules underlying
3135diagrams, an embedded domain-specific language for compositional,
3136declarative drawing.")
3137 (license license:bsd-3)))
3138
f9f1a630
TS
3139(define-public ghc-diagrams-lib
3140 (package
3141 (name "ghc-diagrams-lib")
3142 (version "1.4.2.3")
3143 (source
3144 (origin
3145 (method url-fetch)
3146 (uri (string-append "https://hackage.haskell.org/package/"
3147 "diagrams-lib/diagrams-lib-" version ".tar.gz"))
3148 (sha256
3149 (base32
3150 "175yzi5kw4yd8ykdkpf64q85c7j3p89l90m3h6qcsx9ipv6av9r5"))))
3151 (build-system haskell-build-system)
3152 (inputs
3153 `(("ghc-semigroups" ,ghc-semigroups)
3154 ("ghc-monoid-extras" ,ghc-monoid-extras)
3155 ("ghc-dual-tree" ,ghc-dual-tree)
3156 ("ghc-diagrams-core" ,ghc-diagrams-core)
3157 ("ghc-diagrams-solve" ,ghc-diagrams-solve)
3158 ("ghc-active" ,ghc-active)
3159 ("ghc-colour" ,ghc-colour)
3160 ("ghc-data-default-class" ,ghc-data-default-class)
3161 ("ghc-fingertree" ,ghc-fingertree)
3162 ("ghc-intervals" ,ghc-intervals)
3163 ("ghc-lens" ,ghc-lens)
3164 ("ghc-tagged" ,ghc-tagged)
3165 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
3166 ("ghc-juicypixels" ,ghc-juicypixels)
3167 ("ghc-hashable" ,ghc-hashable)
3168 ("ghc-linear" ,ghc-linear)
3169 ("ghc-adjunctions" ,ghc-adjunctions)
3170 ("ghc-distributive" ,ghc-distributive)
3171 ("ghc-fsnotify" ,ghc-fsnotify)
3172 ("ghc-unordered-containers" ,ghc-unordered-containers)
3173 ("ghc-profunctors" ,ghc-profunctors)
3174 ("ghc-exceptions" ,ghc-exceptions)
3175 ("ghc-cereal" ,ghc-cereal)))
3176 (native-inputs
3177 `(("ghc-tasty" ,ghc-tasty)
3178 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3179 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
3180 ("ghc-numeric-extras" ,ghc-numeric-extras)))
3181 (arguments
3182 `(#:cabal-revision
3183 ("3" "157y2qdsh0aczs81vzlm377mks976mpv6y3aqnchwsnr7apzp8ai")))
3184 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3185 (synopsis "Embedded domain-specific language for declarative graphics")
3186 (description "Diagrams is a flexible, extensible embedded
3187domain-specific language (EDSL) for creating graphics of many types.
3188Graphics can be created in arbitrary vector spaces and rendered with
3189multiple backends. This package provides a standard library of
3190primitives and operations for creating diagrams.")
3191 (license license:bsd-3)))
3192
fd33ffa0
TS
3193(define-public ghc-diagrams-solve
3194 (package
3195 (name "ghc-diagrams-solve")
3196 (version "0.1.1")
3197 (source
3198 (origin
3199 (method url-fetch)
3200 (uri (string-append "https://hackage.haskell.org/package/"
3201 "diagrams-solve/diagrams-solve-"
3202 version ".tar.gz"))
3203 (sha256
3204 (base32
3205 "17agchqkmj14b17sw50kzxq4hm056g5d8yy0wnqn5w8h1d0my7x4"))))
3206 (build-system haskell-build-system)
3207 (native-inputs
3208 `(("ghc-tasty" ,ghc-tasty)
3209 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3210 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3211 (arguments
3212 `(#:cabal-revision
3213 ("5" "1yl8cs05fzqcz49p601am1ij66m9pa70yamhfxgcvya2pf8nimlf")))
3214 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3215 (synopsis "Pure Haskell solver routines used by diagrams")
3216 (description "This library provides Pure Haskell solver routines for
3217use by the
3218@url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3219diagrams framework}. It currently includes routines for finding real
3220roots of low-degree (@math{n < 5}) polynomials, and solving tridiagonal
3221and cyclic tridiagonal linear systems.")
3222 (license license:bsd-3)))
3223
74be1cb7
TS
3224(define-public ghc-diagrams-svg
3225 (package
3226 (name "ghc-diagrams-svg")
3227 (version "1.4.2")
3228 (source
3229 (origin
3230 (method url-fetch)
3231 (uri (string-append "https://hackage.haskell.org/package/"
3232 "diagrams-svg/diagrams-svg-" version ".tar.gz"))
3233 (sha256
3234 (base32
3235 "1lnyxx45yawqas7hmvvannwaa3ycf1l9g40lsl2m8sl2ja6vcmal"))))
3236 (build-system haskell-build-system)
3237 (inputs
3238 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
3239 ("ghc-colour" ,ghc-colour)
3240 ("ghc-diagrams-core" ,ghc-diagrams-core)
3241 ("ghc-diagrams-lib" ,ghc-diagrams-lib)
3242 ("ghc-monoid-extras" ,ghc-monoid-extras)
3243 ("ghc-svg-builder" ,ghc-svg-builder)
3244 ("ghc-juicypixels" ,ghc-juicypixels)
3245 ("ghc-split" ,ghc-split)
3246 ("ghc-lens" ,ghc-lens)
3247 ("ghc-hashable" ,ghc-hashable)
3248 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
3249 ("ghc-semigroups" ,ghc-semigroups)))
3250 (arguments
3251 `(#:cabal-revision
3252 ("2" "15sn85xaachw4cj56w61bjcwrbf4qmnkfl8mbgdapxi5k0y4f2qv")))
3253 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3254 (synopsis "Scalable Vector Grpahics backend for the diagrams framework")
3255 (description "This package provides a modular backend for rendering
3256diagrams created with the diagrams embedded domain-specific
3257language (EDSL) to Scalable Vector Graphics (SVG) files.")
3258 (license license:bsd-3)))
3259
4eb9a167
TS
3260(define-public ghc-dictionary-sharing
3261 (package
3262 (name "ghc-dictionary-sharing")
3263 (version "0.1.0.0")
3264 (source
3265 (origin
3266 (method url-fetch)
3267 (uri (string-append "https://hackage.haskell.org/package/"
3268 "dictionary-sharing/dictionary-sharing-"
3269 version ".tar.gz"))
3270 (sha256
3271 (base32
3272 "00aspv943qdqhlk39mbk00kb1dsa5r0caj8sslrn81fnsn252fwc"))))
3273 (build-system haskell-build-system)
3274 (arguments
3275 `(#:cabal-revision
3276 ("3" "1mn7jcc7h3b8f1pn9zigqp6mc2n0qb66lms5qnrx4zswdv5w9439")))
3277 (home-page "https://hackage.haskell.org/package/dictionary-sharing")
3278 (synopsis "Sharing/memoization of class members")
3279 (description "This library provides tools for ensuring that class
3280members are shared.")
3281 (license license:bsd-3)))
3282
dddbc90c
RV
3283(define-public ghc-diff
3284 (package
3285 (name "ghc-diff")
3286 (version "0.3.4")
3287 (source (origin
3288 (method url-fetch)
3289 (uri (string-append "https://hackage.haskell.org/package/"
3290 "Diff/Diff-" version ".tar.gz"))
a531ff94 3291 (patches (search-patches "ghc-diff-swap-cover-args.patch"))
dddbc90c
RV
3292 (sha256
3293 (base32
3294 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
3295 (build-system haskell-build-system)
3296 (native-inputs
3297 `(("ghc-quickcheck" ,ghc-quickcheck)
3298 ("ghc-test-framework" ,ghc-test-framework)
3299 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3300 (home-page "https://hub.darcs.net/sterlingclover/Diff")
3301 (synopsis "O(ND) diff algorithm in Haskell")
3302 (description
3303 "This package provides an implementation of the standard diff algorithm,
3304and utilities for pretty printing.")
3305 (license license:bsd-3)))
3306
3307(define-public ghc-disk-free-space
3308 (package
3309 (name "ghc-disk-free-space")
3310 (version "0.1.0.1")
3311 (source
3312 (origin
3313 (method url-fetch)
3314 (uri (string-append "https://hackage.haskell.org/package/"
3315 "disk-free-space/disk-free-space-"
3316 version ".tar.gz"))
3317 (sha256
3318 (base32
3319 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
3320 (build-system haskell-build-system)
3321 (home-page "https://github.com/redneb/disk-free-space")
3322 (synopsis "Retrieve information about disk space usage")
3323 (description "A cross-platform library for retrieving information about
3324disk space usage.")
3325 (license license:bsd-3)))
3326
3327(define-public ghc-distributive
3328 (package
3329 (name "ghc-distributive")
78215a14 3330 (version "0.6.2")
dddbc90c
RV
3331 (source
3332 (origin
3333 (method url-fetch)
3334 (uri (string-append
3335 "https://hackage.haskell.org/package/distributive/distributive-"
3336 version
3337 ".tar.gz"))
3338 (sha256
3339 (base32
78215a14 3340 "1j93zkfffm6s16kgr0j0z87y5ds28rw0r2gyc5ncwcylvrqy4kl2"))))
dddbc90c 3341 (build-system haskell-build-system)
dddbc90c
RV
3342 (inputs
3343 `(("ghc-tagged" ,ghc-tagged)
3344 ("ghc-base-orphans" ,ghc-base-orphans)
3345 ("ghc-transformers-compat" ,ghc-transformers-compat)
3346 ("ghc-semigroups" ,ghc-semigroups)
3347 ("ghc-generic-deriving" ,ghc-generic-deriving)))
3348 (native-inputs
3349 `(("cabal-doctest" ,cabal-doctest)
3350 ("ghc-doctest" ,ghc-doctest)
3351 ("ghc-hspec" ,ghc-hspec)
3352 ("hspec-discover" ,hspec-discover)))
3353 (home-page "https://github.com/ekmett/distributive/")
3354 (synopsis "Distributive functors for Haskell")
3355 (description "This package provides distributive functors for Haskell.
3356Dual to @code{Traversable}.")
3357 (license license:bsd-3)))
3358
3359(define-public ghc-dlist
3360 (package
3361 (name "ghc-dlist")
197ddf33 3362 (version "0.8.0.7")
dddbc90c
RV
3363 (source
3364 (origin
3365 (method url-fetch)
3366 (uri (string-append
3367 "https://hackage.haskell.org/package/dlist/dlist-"
3368 version
3369 ".tar.gz"))
3370 (sha256
197ddf33 3371 (base32 "0b5spkzvj2kx8pk86xz0djkxs13j7dryf5fl16dk4mlp1wh6mh53"))))
dddbc90c
RV
3372 (build-system haskell-build-system)
3373 (inputs
3374 `(("ghc-quickcheck" ,ghc-quickcheck)))
3375 (home-page "https://github.com/spl/dlist")
3376 (synopsis "Difference lists")
3377 (description
3378 "Difference lists are a list-like type supporting O(1) append. This is
3379particularly useful for efficient logging and pretty printing (e.g. with the
3380Writer monad), where list append quickly becomes too expensive.")
3381 (license license:bsd-3)))
3382
3383(define-public ghc-doctemplates
3384 (package
3385 (name "ghc-doctemplates")
3386 (version "0.2.2.1")
3387 (source
3388 (origin
3389 (method url-fetch)
3390 (uri (string-append "https://hackage.haskell.org/package/"
3391 "doctemplates/doctemplates-"
3392 version ".tar.gz"))
3393 (sha256
3394 (base32
3395 "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b"))))
3396 (build-system haskell-build-system)
3397 (inputs
3398 `(("ghc-aeson" ,ghc-aeson)
3399 ("ghc-blaze-markup" ,ghc-blaze-markup)
3400 ("ghc-blaze-html" ,ghc-blaze-html)
3401 ("ghc-vector" ,ghc-vector)
3402 ("ghc-unordered-containers" ,ghc-unordered-containers)
3403 ("ghc-scientific" ,ghc-scientific)))
3404 (native-inputs
3405 `(("ghc-hspec" ,ghc-hspec)))
3406 (home-page "https://github.com/jgm/doctemplates#readme")
3407 (synopsis "Pandoc-style document templates")
3408 (description
3409 "This package provides a simple text templating system used by pandoc.")
3410 (license license:bsd-3)))
3411
3412(define-public ghc-doctest
3413 (package
3414 (name "ghc-doctest")
19c14a0f 3415 (version "0.16.2")
dddbc90c
RV
3416 (source
3417 (origin
3418 (method url-fetch)
3419 (uri (string-append
3420 "https://hackage.haskell.org/package/doctest/doctest-"
3421 version
3422 ".tar.gz"))
3423 (sha256
3424 (base32
19c14a0f 3425 "0lk4cjfzi5bx2snfzw1zi06li0gvgz3ckfh2kwa98l7nxfdl39ag"))))
dddbc90c
RV
3426 (build-system haskell-build-system)
3427 (arguments `(#:tests? #f)) ; FIXME: missing test framework
3428 (inputs
3429 `(("ghc-syb" ,ghc-syb)
3430 ("ghc-paths" ,ghc-paths)
3431 ("ghc-base-compat" ,ghc-base-compat)
3432 ("ghc-code-page" ,ghc-code-page)
3433 ("ghc-hunit" ,ghc-hunit)
3434 ("ghc-hspec" ,ghc-hspec)
3435 ("ghc-quickcheck" ,ghc-quickcheck)
3436 ("ghc-stringbuilder" ,ghc-stringbuilder)
3437 ("ghc-silently" ,ghc-silently)
3438 ("ghc-setenv" ,ghc-setenv)))
3439 (home-page
3440 "https://github.com/sol/doctest#readme")
3441 (synopsis "Test interactive Haskell examples")
3442 (description "The doctest program checks examples in source code comments.
3443It is modeled after doctest for Python, see
3444@uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
3445 (license license:expat)))
3446
2b2c8911
JS
3447(define-public ghc-dotgen
3448 (package
3449 (name "ghc-dotgen")
3450 (version "0.4.2")
3451 (source
3452 (origin
3453 (method url-fetch)
3454 (uri (string-append
3455 "mirror://hackage/package/dotgen/dotgen-"
3456 version
3457 ".tar.gz"))
3458 (sha256
3459 (base32
3460 "148q93qsmqgr5pzdwvpjqfd6bdm1pwzcp2rblfwswx2x8c5f43fg"))))
3461 (build-system haskell-build-system)
3462 (home-page "https://github.com/ku-fpg/dotgen")
3463 (synopsis
3464 "Simple interface for building .dot graph files")
3465 (description
3466 "This package provides a simple interface for building .dot graph
3467files, for input into the dot and graphviz tools. It includes a
3468monadic interface for building graphs.")
3469 (license license:bsd-3)))
3470
dddbc90c
RV
3471(define-public ghc-double-conversion
3472 (package
3473 (name "ghc-double-conversion")
3474 (version "2.0.2.0")
3475 (source
3476 (origin
3477 (method url-fetch)
3478 (uri (string-append "https://hackage.haskell.org/package/"
3479 "double-conversion/double-conversion-"
3480 version ".tar.gz"))
3481 (sha256
3482 (base32
3483 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
3484 (build-system haskell-build-system)
3485 (native-inputs
3486 `(("ghc-hunit" ,ghc-hunit)
3487 ("ghc-test-framework" ,ghc-test-framework)
3488 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3489 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3490 (home-page "https://github.com/bos/double-conversion")
3491 (synopsis "Fast conversion between double precision floating point and text")
3492 (description
3493 "This package provides a library that performs fast, accurate conversion
3494between double precision floating point and text.")
3495 (license license:bsd-3)))
3496
577a78b7
TS
3497(define-public ghc-dual-tree
3498 (package
3499 (name "ghc-dual-tree")
3500 (version "0.2.2.1")
3501 (source
3502 (origin
3503 (method url-fetch)
3504 (uri (string-append "https://hackage.haskell.org/package/"
3505 "dual-tree/dual-tree-" version ".tar.gz"))
3506 (sha256
3507 (base32
3508 "17kdfnf0df0z5pkiifxrlmyd1xd7hjjaazd2kzyajl0gd00vbszx"))))
3509 (build-system haskell-build-system)
3510 (inputs
3511 `(("ghc-semigroups" ,ghc-semigroups)
3512 ("ghc-newtype-generics" ,ghc-newtype-generics)
3513 ("ghc-monoid-extras" ,ghc-monoid-extras)))
3514 (native-inputs
3515 `(("ghc-quickcheck" ,ghc-quickcheck)
3516 ("ghc-testing-feat" ,ghc-testing-feat)))
3517 (home-page "https://hackage.haskell.org/package/dual-tree")
3518 (synopsis "Rose trees with cached and accumulating monoidal annotations")
3519 (description "Rose (@math{n}-ary) trees with both upwards- (i.e.
3520cached) and downwards-traveling (i.e. accumulating) monoidal
3521annotations. This is used as the core data structure underlying the
3522@url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3523diagrams framework}, but potentially has other applications as well.")
3524 (license license:bsd-3)))
3525
dddbc90c
RV
3526(define-public ghc-easy-file
3527 (package
3528 (name "ghc-easy-file")
3529 (version "0.2.2")
3530 (source
3531 (origin
3532 (method url-fetch)
3533 (uri (string-append
3534 "https://hackage.haskell.org/package/easy-file/easy-file-"
3535 version
3536 ".tar.gz"))
3537 (sha256
3538 (base32
3539 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
3540 (build-system haskell-build-system)
3541 (home-page
3542 "https://github.com/kazu-yamamoto/easy-file")
3543 (synopsis "File handling library for Haskell")
3544 (description "This library provides file handling utilities for Haskell.")
3545 (license license:bsd-3)))
3546
3547(define-public ghc-easyplot
3548 (package
3549 (name "ghc-easyplot")
3550 (version "1.0")
3551 (source
3552 (origin
3553 (method url-fetch)
3554 (uri (string-append
3555 "https://hackage.haskell.org/package/easyplot/easyplot-"
3556 version ".tar.gz"))
3557 (sha256
3558 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
3559 (build-system haskell-build-system)
3560 (propagated-inputs `(("gnuplot" ,gnuplot)))
3561 (arguments
3562 `(#:phases (modify-phases %standard-phases
3563 (add-after 'unpack 'fix-setup-suffix
3564 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
3565 (home-page "https://hub.darcs.net/scravy/easyplot")
3566 (synopsis "Haskell plotting library based on gnuplot")
3567 (description "This package provides a plotting library for
3568Haskell, using gnuplot for rendering.")
3569 (license license:expat)))
3570
3571(define-public ghc-echo
3572 (package
3573 (name "ghc-echo")
3574 (version "0.1.3")
3575 (source
3576 (origin
3577 (method url-fetch)
3578 (uri (string-append
3579 "https://hackage.haskell.org/package/echo/echo-"
3580 version ".tar.gz"))
3581 (sha256
3582 (base32
3583 "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh"))))
3584 (build-system haskell-build-system)
3585 (arguments
3586 `(#:cabal-revision
3587 ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l")))
3588 (home-page "https://github.com/RyanGlScott/echo")
3589 (synopsis "Echo terminal input portably")
3590 (description "The @code{base} library exposes the @code{hGetEcho} and
3591@code{hSetEcho} functions for querying and setting echo status, but
3592unfortunately, neither function works with MinTTY consoles on Windows.
3593This library provides an alternative interface which works with both
3594MinTTY and other consoles.")
3595 (license license:bsd-3)))
3596
3597(define-public ghc-edisonapi
3598 (package
3599 (name "ghc-edisonapi")
3600 (version "1.3.1")
3601 (source
3602 (origin
3603 (method url-fetch)
3604 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
3605 "/EdisonAPI-" version ".tar.gz"))
3606 (sha256
3607 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
3608 (build-system haskell-build-system)
3609 (home-page "http://rwd.rdockins.name/edison/home/")
3610 (synopsis "Library of efficient, purely-functional data structures (API)")
3611 (description
3612 "Edison is a library of purely functional data structures written by
3613Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
3614value EDiSon (Efficient Data Structures). Edison provides several families of
3615abstractions, each with multiple implementations. The main abstractions
3616provided by Edison are: Sequences such as stacks, queues, and dequeues;
3617Collections such as sets, bags and heaps; and Associative Collections such as
3618finite maps and priority queues where the priority and element are distinct.")
3619 (license license:expat)))
3620
3621(define-public ghc-edisoncore
3622 (package
3623 (name "ghc-edisoncore")
3624 (version "1.3.2.1")
3625 (source
3626 (origin
3627 (method url-fetch)
3628 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
3629 "/EdisonCore-" version ".tar.gz"))
3630 (sha256
3631 (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk"))))
3632 (build-system haskell-build-system)
3633 (inputs
3634 `(("ghc-quickcheck" ,ghc-quickcheck)
3635 ("ghc-edisonapi" ,ghc-edisonapi)))
3636 (home-page "http://rwd.rdockins.name/edison/home/")
3637 (synopsis "Library of efficient, purely-functional data structures")
3638 (description
3639 "This package provides the core Edison data structure implementations,
3640including multiple sequence, set, bag, and finite map concrete implementations
3641with various performance characteristics.")
3642 (license license:expat)))
3643
3644(define-public ghc-edit-distance
3645 (package
3646 (name "ghc-edit-distance")
3647 (version "0.2.2.1")
3648 (source
3649 (origin
3650 (method url-fetch)
3651 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
3652 "/edit-distance-" version ".tar.gz"))
3653 (sha256
3654 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
3655 (build-system haskell-build-system)
3656 (arguments
3657 `(#:phases
3658 (modify-phases %standard-phases
3659 (add-before 'configure 'update-constraints
3660 (lambda _
3661 (substitute* "edit-distance.cabal"
3662 (("QuickCheck >= 2\\.4 && <2\\.9")
d7d143e5 3663 "QuickCheck >= 2.4 && < 2.14")))))))
dddbc90c
RV
3664 (inputs
3665 `(("ghc-random" ,ghc-random)
3666 ("ghc-test-framework" ,ghc-test-framework)
3667 ("ghc-quickcheck" ,ghc-quickcheck)
3668 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3669 (home-page "https://github.com/phadej/edit-distance")
3670 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
3671 (description
3672 "This package provides optimized functions to determine the edit
3673distances for fuzzy matching, including Levenshtein and restricted
3674Damerau-Levenshtein algorithms.")
3675 (license license:bsd-3)))
3676
3ebae41f
TS
3677(define-public ghc-edit-distance-vector
3678 (package
3679 (name "ghc-edit-distance-vector")
3680 (version "1.0.0.4")
3681 (source
3682 (origin
3683 (method url-fetch)
3684 (uri (string-append "https://hackage.haskell.org/package/"
3685 "edit-distance-vector/edit-distance-vector-"
3686 version ".tar.gz"))
3687 (sha256
3688 (base32
3689 "07qgc8dyi9kkzkd3xcd78wdlljy0xwhz65b4r2qg2piidpcdvpxp"))))
3690 (build-system haskell-build-system)
3691 (inputs
3692 `(("ghc-vector" ,ghc-vector)))
3693 (native-inputs
3694 `(("ghc-quickcheck" ,ghc-quickcheck)
3695 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
3696 (home-page "https://github.com/thsutton/edit-distance-vector")
3697 (synopsis "Calculate edit distances and edit scripts between vectors")
3698 (description "This package provides implementation of the
3699Wagner-Fischer dynamic programming algorithm to find the optimal edit
3700script and cost between two sequences. The implementation in this
3701package is specialised to sequences represented with @code{Data.Vector}
3702but is otherwise agnostic to:
3703@itemize
3704@item The type of values in the vectors;
3705@item The type representing edit operations; and
3706@item The type representing the cost of operations.
3707@end itemize")
3708 (license license:bsd-3)) )
3709
dddbc90c
RV
3710(define-public ghc-either
3711 (package
3712 (name "ghc-either")
a3fd4dc7 3713 (version "5.0.1.1")
dddbc90c
RV
3714 (source
3715 (origin
3716 (method url-fetch)
3717 (uri (string-append "https://hackage.haskell.org/package/"
3718 "either-" version "/"
3719 "either-" version ".tar.gz"))
3720 (sha256
3721 (base32
a3fd4dc7 3722 "09yzki8ss56xhy9vggdw1rls86b2kf55hjl5wi0vbv02d8fxahq2"))))
dddbc90c
RV
3723 (build-system haskell-build-system)
3724 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
3725 ("ghc-exceptions" ,ghc-exceptions)
3726 ("ghc-free" ,ghc-free)
3727 ("ghc-monad-control" ,ghc-monad-control)
3728 ("ghc-manodrandom" ,ghc-monadrandom)
3729 ("ghc-mmorph" ,ghc-mmorph)
3730 ("ghc-profunctors" ,ghc-profunctors)
3731 ("ghc-semigroups" ,ghc-semigroups)
3732 ("ghc-semigroupoids" ,ghc-semigroupoids)
3733 ("ghc-transformers-base" ,ghc-transformers-base)))
3734 (native-inputs
3735 `(("ghc-quickcheck" ,ghc-quickcheck)
3736 ("ghc-test-framework" ,ghc-test-framework)
3737 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3738 (home-page "https://github.com/ekmett/either")
3739 (synopsis "Provides an either monad transformer for Haskell")
3740 (description "This Haskell package provides an either monad transformer.")
3741 (license license:bsd-3)))
3742
3743(define-public ghc-email-validate
3744 (package
3745 (name "ghc-email-validate")
a4fe1c64 3746 (version "2.3.2.12")
dddbc90c
RV
3747 (source
3748 (origin
3749 (method url-fetch)
3750 (uri (string-append
3751 "https://hackage.haskell.org/package/"
3752 "email-validate/email-validate-"
3753 version
3754 ".tar.gz"))
3755 (sha256
3756 (base32
a4fe1c64 3757 "0ar3cfjia3x11chb7w60mi7hp5djanms883ddk875l6lifr2lyqf"))))
dddbc90c
RV
3758 (build-system haskell-build-system)
3759 (inputs
3760 `(("ghc-attoparsec" ,ghc-attoparsec)
3761 ("ghc-hspec" ,ghc-hspec)
3762 ("ghc-quickcheck" ,ghc-quickcheck)
3763 ("ghc-doctest" ,ghc-doctest)))
3764 (home-page
3765 "https://github.com/Porges/email-validate-hs")
3766 (synopsis "Email address validator for Haskell")
3767 (description
3768 "This Haskell package provides a validator that can validate an email
3769address string against RFC 5322.")
3770 (license license:bsd-3)))
3771
3772(define-public ghc-enclosed-exceptions
3773 (package
3774 (name "ghc-enclosed-exceptions")
3775 (version "1.0.3")
3776 (source (origin
3777 (method url-fetch)
3778 (uri (string-append "https://hackage.haskell.org/package/"
3779 "enclosed-exceptions/enclosed-exceptions-"
3780 version ".tar.gz"))
3781 (sha256
3782 (base32
3783 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
3784 (build-system haskell-build-system)
3785 ;; FIXME: one of the tests blocks forever:
3786 ;; "thread blocked indefinitely in an MVar operation"
3787 (arguments '(#:tests? #f))
3788 (inputs
3789 `(("ghc-lifted-base" ,ghc-lifted-base)
3790 ("ghc-monad-control" ,ghc-monad-control)
3791 ("ghc-async" ,ghc-async)
3792 ("ghc-transformers-base" ,ghc-transformers-base)))
3793 (native-inputs
3794 `(("ghc-hspec" ,ghc-hspec)
3795 ("ghc-quickcheck" ,ghc-quickcheck)))
3796 (home-page "https://github.com/jcristovao/enclosed-exceptions")
3797 (synopsis "Catch all exceptions from within an enclosed computation")
3798 (description
3799 "This library implements a technique to catch all exceptions raised
3800within an enclosed computation, while remaining responsive to (external)
3801asynchronous exceptions.")
3802 (license license:expat)))
3803
3804(define-public ghc-equivalence
3805 (package
3806 (name "ghc-equivalence")
801cf5b1 3807 (version "0.3.5")
dddbc90c
RV
3808 (source
3809 (origin
3810 (method url-fetch)
3811 (uri (string-append "https://hackage.haskell.org/package/equivalence"
3812 "/equivalence-" version ".tar.gz"))
3813 (sha256
801cf5b1 3814 (base32 "167njzd1cf32aa7br90rjafrxy6hw3fxkk8awifqbxjrcwm5maqp"))))
dddbc90c
RV
3815 (build-system haskell-build-system)
3816 (inputs
3817 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
3818 ("ghc-transformers-compat" ,ghc-transformers-compat)
801cf5b1
TS
3819 ("ghc-fail" ,ghc-fail)
3820 ("ghc-quickcheck" ,ghc-quickcheck)))
dddbc90c
RV
3821 (home-page "https://github.com/pa-ba/equivalence")
3822 (synopsis "Maintaining an equivalence relation implemented as union-find")
3823 (description
3824 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
3825Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
382622(2), 1975) in order to maintain an equivalence relation. This
3827implementation is a port of the @code{union-find} package using the @code{ST}
3828monad transformer (instead of the IO monad).")
3829 (license license:bsd-3)))
3830
3831(define-public ghc-erf
3832 (package
3833 (name "ghc-erf")
3834 (version "2.0.0.0")
3835 (source
3836 (origin
3837 (method url-fetch)
3838 (uri (string-append "https://hackage.haskell.org/package/"
3839 "erf-" version "/"
3840 "erf-" version ".tar.gz"))
3841 (sha256
3842 (base32
3843 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
3844 (build-system haskell-build-system)
3845 (home-page "https://hackage.haskell.org/package/erf")
3846 (synopsis "The error function, erf, and related functions for Haskell")
3847 (description "This Haskell library provides a type class for the
3848error function, erf, and related functions. Instances for Float and
3849Double.")
3850 (license license:bsd-3)))
3851
3852(define-public ghc-errorcall-eq-instance
3853 (package
3854 (name "ghc-errorcall-eq-instance")
3855 (version "0.3.0")
3856 (source
3857 (origin
3858 (method url-fetch)
3859 (uri (string-append "https://hackage.haskell.org/package/"
3860 "errorcall-eq-instance/errorcall-eq-instance-"
3861 version ".tar.gz"))
3862 (sha256
3863 (base32
3864 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
3865 (build-system haskell-build-system)
3866 (inputs
3867 `(("ghc-base-orphans" ,ghc-base-orphans)))
3868 (native-inputs
3869 `(("ghc-quickcheck" ,ghc-quickcheck)
3870 ("ghc-hspec" ,ghc-hspec)
3871 ("hspec-discover" ,hspec-discover)))
3ef91e15 3872 (home-page "https://hackage.haskell.org/package/errorcall-eq-instance")
dddbc90c
RV
3873 (synopsis "Orphan Eq instance for ErrorCall")
3874 (description
3875 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
3876This package provides an orphan instance.")
3877 (license license:expat)))
3878
3879(define-public ghc-errors
3880 (package
3881 (name "ghc-errors")
3882 (version "2.3.0")
3883 (source
3884 (origin
3885 (method url-fetch)
3886 (uri (string-append "https://hackage.haskell.org/package/"
3887 "errors-" version "/"
3888 "errors-" version ".tar.gz"))
3889 (sha256
3890 (base32
3891 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
3892 (build-system haskell-build-system)
3893 (inputs
3894 `(("ghc-exceptions" ,ghc-exceptions)
3895 ("ghc-transformers-compat" ,ghc-transformers-compat)
3896 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
3897 ("ghc-safe" ,ghc-safe)))
3898 (home-page "https://github.com/gabriel439/haskell-errors-library")
3899 (synopsis "Error handling library for Haskell")
3900 (description "This library encourages an error-handling style that
3901directly uses the type system, rather than out-of-band exceptions.")
3902 (license license:bsd-3)))
3903
3904(define-public ghc-esqueleto
2648b604
TS
3905 (package
3906 (name "ghc-esqueleto")
2f6ad77b 3907 (version "3.3.1.1")
2648b604
TS
3908 (source
3909 (origin
3910 (method url-fetch)
3911 (uri (string-append "https://hackage.haskell.org/package/"
3912 "esqueleto/esqueleto-" version ".tar.gz"))
3913 (sha256
3914 (base32
2f6ad77b 3915 "1qi28ma8j5kfygjxnixlazxsyrkdqv8ljz3icwqi5dlscsnj6v3v"))))
2648b604
TS
3916 (build-system haskell-build-system)
3917 (arguments
3918 `(#:haddock? #f ; Haddock reports an internal error.
3919 #:phases
3920 (modify-phases %standard-phases
3921 ;; This package normally runs tests for the MySQL, PostgreSQL, and
3922 ;; SQLite backends. Since we only have Haskell packages for
3923 ;; SQLite, we remove the other two test suites. FIXME: Add the
3924 ;; other backends and run all three test suites.
3925 (add-before 'configure 'remove-non-sqlite-test-suites
3926 (lambda _
3927 (use-modules (ice-9 rdelim))
3928 (with-atomic-file-replacement "esqueleto.cabal"
3929 (lambda (in out)
3930 (let loop ((line (read-line in 'concat)) (deleting? #f))
3931 (cond
3932 ((eof-object? line) #t)
3933 ((string-every char-set:whitespace line)
3934 (unless deleting? (display line out))
3935 (loop (read-line in 'concat) #f))
3936 ((member line '("test-suite mysql\n"
3937 "test-suite postgresql\n"))
3938 (loop (read-line in 'concat) #t))
3939 (else
3940 (unless deleting? (display line out))
3941 (loop (read-line in 'concat) deleting?)))))))))))
3942 (inputs
3943 `(("ghc-blaze-html" ,ghc-blaze-html)
3944 ("ghc-conduit" ,ghc-conduit)
3945 ("ghc-monad-logger" ,ghc-monad-logger)
3946 ("ghc-persistent" ,ghc-persistent)
3947 ("ghc-resourcet" ,ghc-resourcet)
3948 ("ghc-tagged" ,ghc-tagged)
3949 ("ghc-unliftio" ,ghc-unliftio)
3950 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3951 (native-inputs
3952 `(("ghc-hspec" ,ghc-hspec)
3953 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
3954 ("ghc-persistent-template" ,ghc-persistent-template)))
3955 (home-page "https://github.com/bitemyapp/esqueleto")
3956 (synopsis "Type-safe embedded domain specific language for SQL queries")
3957 (description "This library provides a type-safe embedded domain specific
dddbc90c
RV
3958language (EDSL) for SQL queries that works with SQL backends as provided by
3959@code{ghc-persistent}. Its language closely resembles SQL, so you don't have
3960to learn new concepts, just new syntax, and it's fairly easy to predict the
3961generated SQL and optimize it for your backend.")
2648b604 3962 (license license:bsd-3)))
dddbc90c
RV
3963
3964(define-public ghc-exactprint
3965 (package
3966 (name "ghc-exactprint")
50614014 3967 (version "0.6.1")
dddbc90c
RV
3968 (source
3969 (origin
3970 (method url-fetch)
3971 (uri (string-append
3972 "https://hackage.haskell.org/package/"
3973 "ghc-exactprint/ghc-exactprint-" version ".tar.gz"))
3974 (sha256
3975 (base32
50614014 3976 "12nqpqmi9c57a3hgpfy8q073zryz66ylmcvf29hyffpj7vmmnvhl"))))
dddbc90c
RV
3977 (build-system haskell-build-system)
3978 (inputs
3979 `(("ghc-paths" ,ghc-paths)
3980 ("ghc-syb" ,ghc-syb)
3981 ("ghc-free" ,ghc-free)))
3982 (native-inputs
3983 `(("ghc-hunit" ,ghc-hunit)
3984 ("ghc-diff" ,ghc-diff)
3985 ("ghc-silently" ,ghc-silently)
3986 ("ghc-filemanip" ,ghc-filemanip)))
3987 (home-page
3ef91e15 3988 "https://hackage.haskell.org/package/ghc-exactprint")
dddbc90c
RV
3989 (synopsis "ExactPrint for GHC")
3990 (description
3991 "Using the API Annotations available from GHC 7.10.2, this library
3992provides a means to round-trip any code that can be compiled by GHC, currently
3993excluding @file{.lhs} files.")
3994 (license license:bsd-3)))
3995
3996(define-public ghc-exceptions
3997 (package
3998 (name "ghc-exceptions")
46d3e65b 3999 (version "0.10.3")
dddbc90c
RV
4000 (source
4001 (origin
4002 (method url-fetch)
4003 (uri (string-append
4004 "https://hackage.haskell.org/package/exceptions/exceptions-"
4005 version
4006 ".tar.gz"))
4007 (sha256
4008 (base32
46d3e65b 4009 "1w25j4ys5s6v239vbqlbipm9fdwxl1j2ap2lzms7f7rgnik5ir24"))))
dddbc90c
RV
4010 (build-system haskell-build-system)
4011 (native-inputs
4012 `(("ghc-quickcheck" ,ghc-quickcheck)
4013 ("ghc-test-framework" ,ghc-test-framework)
4014 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4015 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4016 (inputs
4017 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4018 (home-page "https://github.com/ekmett/exceptions/")
4019 (synopsis "Extensible optionally-pure exceptions")
4020 (description "This library provides extensible optionally-pure exceptions
4021for Haskell.")
4022 (license license:bsd-3)))
4023
4024(define-public ghc-executable-path
4025 (package
4026 (name "ghc-executable-path")
4027 (version "0.0.3.1")
4028 (source (origin
4029 (method url-fetch)
4030 (uri (string-append "https://hackage.haskell.org/package/"
4031 "executable-path/executable-path-"
4032 version ".tar.gz"))
4033 (sha256
4034 (base32
4035 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
4036 (build-system haskell-build-system)
4037 (home-page "https://hackage.haskell.org/package/executable-path")
4038 (synopsis "Find out the full path of the executable")
4039 (description
4040 "The documentation of @code{System.Environment.getProgName} says that
4041\"However, this is hard-to-impossible to implement on some non-Unix OSes, so
4042instead, for maximum portability, we just return the leafname of the program
4043as invoked.\" This library tries to provide the missing path.")
4044 (license license:public-domain)))
4045
4046(define-public ghc-extensible-exceptions
4047 (package
4048 (name "ghc-extensible-exceptions")
4049 (version "0.1.1.4")
4050 (source
4051 (origin
4052 (method url-fetch)
4053 (uri (string-append "https://hackage.haskell.org/package/"
4054 "extensible-exceptions/extensible-exceptions-"
4055 version ".tar.gz"))
4056 (sha256
4057 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
4058 (build-system haskell-build-system)
4059 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
4060 (synopsis "Extensible exceptions for Haskell")
4061 (description
4062 "This package provides extensible exceptions for both new and old
4063versions of GHC (i.e., < 6.10).")
4064 (license license:bsd-3)))
4065
4066(define-public ghc-extra
4067 (package
4068 (name "ghc-extra")
0cec5c4e 4069 (version "1.6.21")
dddbc90c
RV
4070 (source
4071 (origin
4072 (method url-fetch)
4073 (uri (string-append
4074 "https://hackage.haskell.org/package/extra/extra-"
4075 version
4076 ".tar.gz"))
4077 (sha256
4078 (base32
0cec5c4e 4079 "1gjx98w4w61g043k6rzc8i34cbxpcigi8lb6i7pp1vwp8w8jm5vl"))))
dddbc90c
RV
4080 (build-system haskell-build-system)
4081 (inputs
4082 `(("ghc-clock" ,ghc-clock)
10650c44 4083 ("ghc-semigroups" ,ghc-semigroups)
b431f6c9
ASM
4084 ("ghc-quickcheck" ,ghc-quickcheck)
4085 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
dddbc90c
RV
4086 (home-page "https://github.com/ndmitchell/extra")
4087 (synopsis "Extra Haskell functions")
4088 (description "This library provides extra functions for the standard
4089Haskell libraries. Most functions are simple additions, filling out missing
4090functionality. A few functions are available in later versions of GHC, but
4091this package makes them available back to GHC 7.2.")
4092 (license license:bsd-3)))
4093
4094(define-public ghc-fail
4095 (package
4096 (name "ghc-fail")
4097 (version "4.9.0.0")
4098 (source
4099 (origin
4100 (method url-fetch)
4101 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
4102 version ".tar.gz"))
4103 (sha256
4104 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
4105 (build-system haskell-build-system)
4106 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4107 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
4108 (synopsis "Forward-compatible MonadFail class")
4109 (description
4110 "This package contains the @code{Control.Monad.Fail} module providing the
4111@uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
4112class that became available in
4113@uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
4114older @code{base} package versions. This package turns into an empty package
4115when used with GHC versions which already provide the
4116@code{Control.Monad.Fail} module.")
4117 (license license:bsd-3)))
4118
4119(define-public ghc-fast-logger
4120 (package
4121 (name "ghc-fast-logger")
d443a52a 4122 (version "2.4.17")
dddbc90c
RV
4123 (source
4124 (origin
4125 (method url-fetch)
4126 (uri (string-append
4127 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
4128 version
4129 ".tar.gz"))
4130 (sha256
4131 (base32
d443a52a 4132 "02mxb1ckvx1s2r2m11l5i2l5rdl7232p0f61af6773haykjp0qxk"))))
dddbc90c
RV
4133 (build-system haskell-build-system)
4134 (inputs
4135 `(("ghc-auto-update" ,ghc-auto-update)
4136 ("ghc-easy-file" ,ghc-easy-file)
d443a52a
TS
4137 ("ghc-unix-time" ,ghc-unix-time)
4138 ("ghc-unix-compat" ,ghc-unix-compat)))
dddbc90c
RV
4139 (native-inputs
4140 `(("hspec-discover" ,hspec-discover)
4141 ("ghc-hspec" ,ghc-hspec)))
4142 (home-page "https://hackage.haskell.org/package/fast-logger")
4143 (synopsis "Fast logging system")
4144 (description "This library provides a fast logging system for Haskell.")
4145 (license license:bsd-3)))
4146
4147(define-public ghc-feed
4148 (package
4149 (name "ghc-feed")
a41c16dc 4150 (version "1.2.0.1")
dddbc90c
RV
4151 (source
4152 (origin
4153 (method url-fetch)
4154 (uri (string-append "https://hackage.haskell.org/package/"
4155 "feed/feed-" version ".tar.gz"))
4156 (sha256
4157 (base32
a41c16dc 4158 "004lwdng4slj6yl8mgscr3cgj0zzc8hzkf4450dby2l6cardg4w0"))))
dddbc90c 4159 (build-system haskell-build-system)
dddbc90c
RV
4160 (inputs
4161 `(("ghc-base-compat" ,ghc-base-compat)
4162 ("ghc-old-locale" ,ghc-old-locale)
4163 ("ghc-old-time" ,ghc-old-time)
4164 ("ghc-safe" ,ghc-safe)
4165 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
4166 ("ghc-utf8-string" ,ghc-utf8-string)
4167 ("ghc-xml-conduit" ,ghc-xml-conduit)
4168 ("ghc-xml-types" ,ghc-xml-types)))
4169 (native-inputs
4170 `(("ghc-hunit" ,ghc-hunit)
a41c16dc 4171 ("ghc-markdown-unlit" ,ghc-markdown-unlit)
dddbc90c
RV
4172 ("ghc-test-framework" ,ghc-test-framework)
4173 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4174 (home-page "https://github.com/bergmark/feed")
4175 (synopsis "Haskell package for handling various syndication formats")
4176 (description "This Haskell package includes tools for generating and
4177consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
4178 (license license:bsd-3)))
4179
4180(define-public ghc-fgl
4181 (package
4182 (name "ghc-fgl")
17482b26 4183 (version "5.7.0.1")
534d6caa 4184 (outputs '("out" "static" "doc"))
dddbc90c
RV
4185 (source
4186 (origin
4187 (method url-fetch)
4188 (uri (string-append
4189 "https://hackage.haskell.org/package/fgl/fgl-"
4190 version
4191 ".tar.gz"))
4192 (sha256
4193 (base32
17482b26 4194 "04793yh778ck3kz1z2svnfdwwls2kisbnky4lzvf4zjfgpv7mkpz"))))
dddbc90c
RV
4195 (build-system haskell-build-system)
4196 (arguments
4197 `(#:phases
4198 (modify-phases %standard-phases
4199 (add-before 'configure 'update-constraints
4200 (lambda _
4201 (substitute* "fgl.cabal"
17482b26
TS
4202 (("QuickCheck >= 2\\.8 && < 2\\.13")
4203 "QuickCheck >= 2.8 && < 2.14")
4204 (("hspec >= 2\\.1 && < 2\\.7")
4205 "hspec >= 2.1 && < 2.8")))))))
dddbc90c
RV
4206 (inputs
4207 `(("ghc-hspec" ,ghc-hspec)
4208 ("ghc-quickcheck" ,ghc-quickcheck)))
4209 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
4210 (synopsis
4211 "Martin Erwig's Functional Graph Library")
4212 (description "The functional graph library, FGL, is a collection of type
4213and function definitions to address graph problems. The basis of the library
4214is an inductive definition of graphs in the style of algebraic data types that
4215encourages inductive, recursive definitions of graph algorithms.")
4216 (license license:bsd-3)))
4217
4218(define-public ghc-fgl-arbitrary
4219 (package
4220 (name "ghc-fgl-arbitrary")
4221 (version "0.2.0.3")
4222 (source
4223 (origin
4224 (method url-fetch)
4225 (uri (string-append
4226 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
4227 version ".tar.gz"))
4228 (sha256
4229 (base32
4230 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
4231 (build-system haskell-build-system)
4232 (arguments
4233 `(#:phases
4234 (modify-phases %standard-phases
4235 (add-before 'configure 'update-constraints
4236 (lambda _
4237 (substitute* "fgl-arbitrary.cabal"
4238 (("QuickCheck >= 2\\.3 && < 2\\.10")
4a0ffae5 4239 "QuickCheck >= 2.3 && < 2.14")
dddbc90c 4240 (("hspec >= 2\\.1 && < 2\\.5")
4a0ffae5 4241 "hspec >= 2.1 && < 2.8")))))))
dddbc90c
RV
4242 (inputs
4243 `(("ghc-fgl" ,ghc-fgl)
4244 ("ghc-quickcheck" ,ghc-quickcheck)
4245 ("ghc-hspec" ,ghc-hspec)))
4246 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
4247 (synopsis "QuickCheck support for fgl")
4248 (description
4249 "Provides Arbitrary instances for fgl graphs to avoid adding a
4250QuickCheck dependency for fgl whilst still making the instances
4251available to others. Also available are non-fgl-specific functions
4252for generating graph-like data structures.")
4253 (license license:bsd-3)))
4254
4255(define-public ghc-file-embed
4256 (package
4257 (name "ghc-file-embed")
b5920d50 4258 (version "0.0.11")
dddbc90c
RV
4259 (source
4260 (origin
4261 (method url-fetch)
4262 (uri (string-append "https://hackage.haskell.org/package/file-embed/"
4263 "file-embed-" version ".tar.gz"))
4264 (sha256
4265 (base32
b5920d50 4266 "0l6dkwccbzzyx8rcav03lya2334dgi3vfwk96h7l93l0fc4x19gf"))))
dddbc90c
RV
4267 (build-system haskell-build-system)
4268 (home-page "https://github.com/snoyberg/file-embed")
4269 (synopsis "Use Template Haskell to embed file contents directly")
4270 (description
4271 "This package allows you to use Template Haskell to read a file or all
4272the files in a directory, and turn them into @code{(path, bytestring)} pairs
4273embedded in your Haskell code.")
4274 (license license:bsd-3)))
4275
4276(define-public ghc-filemanip
4277 (package
4278 (name "ghc-filemanip")
4279 (version "0.3.6.3")
4280 (source (origin
4281 (method url-fetch)
4282 (uri (string-append "https://hackage.haskell.org/package/"
4283 "filemanip/filemanip-" version ".tar.gz"))
4284 (sha256
4285 (base32
4286 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
4287 (build-system haskell-build-system)
4288 (inputs
4289 `(("ghc-unix-compat" ,ghc-unix-compat)))
4290 (home-page "https://github.com/bos/filemanip")
4291 (synopsis "File and directory manipulation for Haskell")
4292 (description
4293 "This package provides a Haskell library for working with files and
4294directories. It includes code for pattern matching, finding files, modifying
4295file contents, and more.")
4296 (license license:bsd-3)))
4297
bb62932a
KM
4298(define-public ghc-filepath-bytestring
4299 (package
4300 (name "ghc-filepath-bytestring")
4301 (version "1.4.2.1.1")
4302 (source
4303 (origin
4304 (method url-fetch)
4305 (uri (string-append
4306 "https://hackage.haskell.org/package/filepath-bytestring/"
4307 "filepath-bytestring-" version ".tar.gz"))
4308 (sha256
4309 (base32
4310 "06shdskjj391hb9295slm9gg2rbn5fdq5v6fg0mgn3yl5dv8q5dx"))))
4311 (build-system haskell-build-system)
4312 (native-inputs
4313 `(("ghc-quickcheck" ,ghc-quickcheck)))
3ef91e15 4314 (home-page "https://hackage.haskell.org/package/filepath-bytestring")
bb62932a
KM
4315 (synopsis "Library for manipulating RawFilePaths in a cross-platform way")
4316 (description "This package provides a drop-in replacement for the standard
4317@code{filepath} library, operating on @code{RawFilePath} values rather than
4318@code{FilePath} values to get the speed benefits of using @code{ByteStrings}.")
4319 (license license:bsd-3)))
4320
dddbc90c
RV
4321(define-public ghc-findbin
4322 (package
4323 (name "ghc-findbin")
4324 (version "0.0.5")
4325 (source
4326 (origin
4327 (method url-fetch)
4328 (uri (string-append
4329 "https://hackage.haskell.org/package/FindBin/FindBin-"
4330 version ".tar.gz"))
4331 (sha256
4332 (base32
4333 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
4334 (build-system haskell-build-system)
4335 (home-page "https://github.com/audreyt/findbin")
4336 (synopsis "Get the absolute path of the running program")
4337 (description
4338 "This module locates the full directory of the running program, to allow
4339the use of paths relative to it. FindBin supports invocation of Haskell
4340programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
4341an executable.")
4342 (license license:bsd-3)))
4343
4344(define-public ghc-fingertree
4345 (package
4346 (name "ghc-fingertree")
aac14fdc 4347 (version "0.1.4.2")
dddbc90c
RV
4348 (source
4349 (origin
4350 (method url-fetch)
4351 (uri (string-append
4352 "https://hackage.haskell.org/package/fingertree/fingertree-"
4353 version ".tar.gz"))
4354 (sha256
4355 (base32
aac14fdc 4356 "0zvandj8fysck7ygpn0dw5bhrhmj1s63i326nalxbfkh2ls4iacm"))))
dddbc90c
RV
4357 (build-system haskell-build-system)
4358 (native-inputs
4359 `(("ghc-hunit" ,ghc-hunit)
4360 ("ghc-quickcheck" ,ghc-quickcheck)
4361 ("ghc-test-framework" ,ghc-test-framework)
4362 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4363 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4364 (home-page "https://hackage.haskell.org/package/fingertree")
4365 (synopsis "Generic finger-tree structure")
4366 (description "This library provides finger trees, a general sequence
4367representation with arbitrary annotations, for use as a base for
4368implementations of various collection types. It includes examples, as
4369described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4370simple general-purpose data structure\".")
4371 (license license:bsd-3)))
4372
4373(define-public ghc-fixed
4374 (package
4375 (name "ghc-fixed")
099dda5b 4376 (version "0.3")
dddbc90c
RV
4377 (source
4378 (origin
4379 (method url-fetch)
4380 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
4381 version ".tar.gz"))
4382 (sha256
4383 (base32
099dda5b 4384 "10l2sh179xarb774q92cff2gkb20rsrlilfwp1fk61rzmz9yn64j"))))
dddbc90c
RV
4385 (build-system haskell-build-system)
4386 (home-page "https://github.com/ekmett/fixed")
4387 (synopsis "Signed 15.16 precision fixed point arithmetic")
4388 (description
4389 "This package provides functions for signed 15.16 precision fixed point
4390arithmetic.")
4391 (license license:bsd-3)))
4392
f169f713
JS
4393(define-public ghc-fmlist
4394 (package
4395 (name "ghc-fmlist")
fe9b83a6 4396 (version "0.9.3")
f169f713
JS
4397 (source
4398 (origin
4399 (method url-fetch)
4400 (uri
4401 (string-append
4402 "https://hackage.haskell.org/package/fmlist/fmlist-"
4403 version ".tar.gz"))
4404 (sha256
4405 (base32
fe9b83a6 4406 "1w9nhm2zybdx4c1lalkajwqr8wcs731lfjld2r8gknd7y96x8pwf"))))
f169f713
JS
4407 (build-system haskell-build-system)
4408 (home-page "https://github.com/sjoerdvisscher/fmlist")
4409 (synopsis "FoldMap lists")
4410 (description "FoldMap lists are lists represented by their
4411@code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and
4412append, just like DLists, but other operations might have favorable
4413performance characteristics as well. These wild claims are still
4414completely unverified though.")
4415 (license license:bsd-3)))
4416
dddbc90c
RV
4417(define-public ghc-foldl
4418 (package
4419 (name "ghc-foldl")
26c4104f 4420 (version "1.4.5")
dddbc90c
RV
4421 (source
4422 (origin
4423 (method url-fetch)
4424 (uri (string-append "https://hackage.haskell.org/package/"
4425 "foldl-" version "/"
4426 "foldl-" version ".tar.gz"))
4427 (sha256
4428 (base32
26c4104f 4429 "19qjmzc7gaxfwgqbgy0kq4vhbxvh3qjnwsxnc7pzwws2if5bv80b"))))
dddbc90c 4430 (build-system haskell-build-system)
b3c79a83 4431 (outputs '("out" "static" "doc"))
dddbc90c
RV
4432 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
4433 ("ghc-primitive" ,ghc-primitive)
4434 ("ghc-vector" ,ghc-vector)
4435 ("ghc-unordered-containers" ,ghc-unordered-containers)
4436 ("ghc-hashable" ,ghc-hashable)
4437 ("ghc-contravariant" ,ghc-contravariant)
4438 ("ghc-semigroups" ,ghc-semigroups)
4439 ("ghc-profunctors" ,ghc-profunctors)
4440 ("ghc-semigroupoids" ,ghc-semigroupoids)
4441 ("ghc-comonad" ,ghc-comonad)
4442 ("ghc-vector-builder" ,ghc-vector-builder)))
4443 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
4444 (synopsis "Composable, streaming, and efficient left folds for Haskell")
4445 (description "This Haskell library provides strict left folds that stream
4446in constant memory, and you can combine folds using @code{Applicative} style
4447to derive new folds. Derived folds still traverse the container just once
4448and are often as efficient as hand-written folds.")
4449 (license license:bsd-3)))
4450
4451(define-public ghc-foundation
4452 (package
4453 (name "ghc-foundation")
0a702df9 4454 (version "0.0.25")
dddbc90c
RV
4455 (source
4456 (origin
4457 (method url-fetch)
4458 (uri (string-append "https://hackage.haskell.org/package/"
4459 "foundation/foundation-" version ".tar.gz"))
4460 (sha256
4461 (base32
0a702df9 4462 "0q6kx57ygmznlpf8n499hid4x6mj3180paijx0a8dgi9hh7man61"))))
dddbc90c 4463 (build-system haskell-build-system)
59cd7518
TS
4464 (arguments
4465 `(#:phases
4466 (modify-phases %standard-phases
4467 ;; This test is broken. For details, see
4468 ;; https://github.com/haskell-foundation/foundation/issues/530
4469 (add-after 'unpack 'patch-tests
4470 (lambda _
4471 (substitute* "tests/Test/Foundation/Number.hs"
4472 ((", testDividible proxy") ""))
4473 #t)))))
6a7fb828 4474 (outputs '("out" "static" "doc"))
dddbc90c
RV
4475 (inputs `(("ghc-basement" ,ghc-basement)))
4476 (home-page "https://github.com/haskell-foundation/foundation")
4477 (synopsis "Alternative prelude with batteries and no dependencies")
4478 (description
4479 "This package provides a custom prelude with no dependencies apart from
4480the base package.
4481
4482Foundation has the following goals:
4483
4484@enumerate
4485@item provide a base like sets of modules that provide a consistent set of
4486 features and bugfixes across multiple versions of GHC (unlike base).
4487@item provide a better and more efficient prelude than base's prelude.
4488@item be self-sufficient: no external dependencies apart from base;
4489@item provide better data-types: packed unicode string by default, arrays;
4490@item Numerical classes that better represent mathematical things (no more
4491 all-in-one @code{Num});
4492@item I/O system with less lazy IO.
4493@end enumerate\n")
4494 (license license:bsd-3)))
4495
4496(define-public ghc-free
4497 (package
4498 (name "ghc-free")
4081565d 4499 (version "5.1.2")
dddbc90c
RV
4500 (source
4501 (origin
4502 (method url-fetch)
4503 (uri (string-append
4504 "https://hackage.haskell.org/package/free/free-"
4505 version
4506 ".tar.gz"))
4507 (sha256
4508 (base32
4081565d 4509 "0vlf3f2ckl3cr7z2zl8c9c8qkdlfgvmh04gxkp2fg0z9dz80nlyb"))))
dddbc90c 4510 (build-system haskell-build-system)
91769cee 4511 (outputs '("out" "static" "doc"))
dddbc90c
RV
4512 (inputs
4513 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4514 ("ghc-profunctors" ,ghc-profunctors)
4515 ("ghc-exceptions" ,ghc-exceptions)
4516 ("ghc-bifunctors" ,ghc-bifunctors)
4517 ("ghc-comonad" ,ghc-comonad)
4518 ("ghc-distributive" ,ghc-distributive)
4519 ("ghc-semigroupoids" ,ghc-semigroupoids)
4520 ("ghc-semigroups" ,ghc-semigroups)
4521 ("ghc-transformers-base" ,ghc-transformers-base)
4522 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4523 (home-page "https://github.com/ekmett/free/")
4524 (synopsis "Unrestricted monads for Haskell")
4525 (description "This library provides free monads, which are useful for many
4526tree-like structures and domain specific languages. If @code{f} is a
4527@code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4528whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4529is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4530f} makes no constraining assumptions beyond those given by @code{f} and the
4531definition of @code{Monad}.")
4532 (license license:bsd-3)))
4533
4534(define-public ghc-fsnotify
4535 (package
4536 (name "ghc-fsnotify")
4537 (version "0.3.0.1")
4538 (source (origin
4539 (method url-fetch)
4540 (uri (string-append
4541 "https://hackage.haskell.org/package/fsnotify/"
4542 "fsnotify-" version ".tar.gz"))
4543 (sha256
4544 (base32
4545 "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny"))))
4546 (build-system haskell-build-system)
4547 (inputs
4548 `(("ghc-async" ,ghc-async)
4549 ("ghc-unix-compat" ,ghc-unix-compat)
4550 ("ghc-hinotify" ,ghc-hinotify)
4551 ("ghc-tasty" ,ghc-tasty)
4552 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4553 ("ghc-random" ,ghc-random)
4554 ("ghc-shelly" ,ghc-shelly)
4555 ("ghc-temporary" ,ghc-temporary)))
4556 (home-page "https://github.com/haskell-fswatch/hfsnotify")
4557 (synopsis "Cross platform library for file change notification.")
4558 (description "Cross platform library for file creation, modification, and
4559deletion notification. This library builds upon existing libraries for platform
4560specific Windows, Mac, and Linux file system event notification.")
4561 (license license:bsd-3)))
4562
4563(define-public ghc-generic-deriving
4564 (package
4565 (name "ghc-generic-deriving")
55c1e6be 4566 (version "1.12.4")
dddbc90c
RV
4567 (source
4568 (origin
4569 (method url-fetch)
4570 (uri (string-append
4571 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
4572 version
4573 ".tar.gz"))
4574 (sha256
4575 (base32
55c1e6be 4576 "0vdg9qdq35jl3m11a87wk8cq1y71qm4i1g1b2pxki0wk70yw20a4"))))
dddbc90c 4577 (build-system haskell-build-system)
32bb6b41 4578 (outputs '("out" "static" "doc"))
dddbc90c
RV
4579 (inputs
4580 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
4581 (native-inputs
4582 `(("ghc-hspec" ,ghc-hspec)
4583 ("hspec-discover" ,hspec-discover)))
4584 (home-page "https://hackage.haskell.org/package/generic-deriving")
4585 (synopsis "Generalise the deriving mechanism to arbitrary classes")
4586 (description "This package provides functionality for generalising the
4587deriving mechanism in Haskell to arbitrary classes.")
4588 (license license:bsd-3)))
4589
89e9082e
JS
4590(define-public ghc-generic-random
4591 (package
4592 (name "ghc-generic-random")
4593 (version "1.2.0.0")
4594 (source
4595 (origin
4596 (method url-fetch)
4597 (uri (string-append
4598 "https://hackage.haskell.org/package/generic-random/"
4599 "generic-random-" version ".tar.gz"))
4600 (sha256
4601 (base32 "130lmblycxnpqbsl7vf6a90zccibnvcb5zaclfajcn3by39007lv"))))
4602 (build-system haskell-build-system)
4603 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
4604 (native-inputs
4605 `(("ghc-inspection-testing" ,ghc-inspection-testing)))
4606 (arguments
4607 `(#:cabal-revision
4608 ("1" "1d0hx41r7yq2a86ydnfh2fv540ah8cz05l071s2z4wxcjw0ymyn4")))
4609 (home-page
4610 "https://github.com/lysxia/generic-random")
4611 (synopsis
4612 "Generic random generators for QuickCheck")
4613 (description
4614 "Derive instances of @code{Arbitrary} for QuickCheck, with various options
4615to customize implementations.
4616
4617Automating the arbitrary boilerplate also ensures that when a type changes to
4618have more or fewer constructors, then the generator either fixes itself to
4619generate that new case (when using the uniform distribution) or causes a
4620compilation error so you remember to fix it (when using an explicit
4621distribution).
4622
4623This package also offers a simple (optional) strategy to ensure termination
4624for recursive types: make @code{Test.QuickCheck.Gen}'s size parameter decrease
4625at every recursive call; when it reaches zero, sample directly from a
4626trivially terminating generator given explicitly (@code{genericArbitraryRec}
4627and @code{withBaseCase}) or implicitly (@code{genericArbitrary'}).")
4628 (license license:expat)))
4629
23e4b264
JS
4630(define-public ghc-generic-random-1.3.0.1
4631 (package
4632 (inherit ghc-generic-random)
4633 (version "1.3.0.1")
4634 (source
4635 (origin
4636 (method url-fetch)
4637 (uri (string-append
4638 "https://hackage.haskell.org/package/generic-random/"
4639 "generic-random-" version ".tar.gz"))
4640 (sha256
4641 (base32 "0d9w7xcmsb31b95fr9d5jwbsajcl1yi4347dlbw4bybil2vjwd7k"))))
4642 (arguments '())))
4643
dddbc90c
RV
4644(define-public ghc-generics-sop
4645 (package
4646 (name "ghc-generics-sop")
3ed40e10 4647 (version "0.4.0.1")
dddbc90c
RV
4648 (source
4649 (origin
4650 (method url-fetch)
4651 (uri (string-append "https://hackage.haskell.org/package/"
4652 "generics-sop-" version "/"
4653 "generics-sop-" version ".tar.gz"))
4654 (sha256
4655 (base32
3ed40e10 4656 "160knr2phnzh2gldfv954lz029jzc7y8kz5xpmbf4z3vb5ngm6fw"))))
dddbc90c 4657 (build-system haskell-build-system)
80e0a085 4658 (outputs '("out" "static" "doc"))
3ed40e10
TS
4659 (inputs
4660 `(("ghc-sop-core" ,ghc-sop-core)
4661 ("ghc-transformers-compat" ,ghc-transformers-compat)))
dddbc90c
RV
4662 (home-page "https://github.com/well-typed/generics-sop")
4663 (synopsis "Generic Programming using True Sums of Products for Haskell")
4664 (description "This Haskell package supports the definition of generic
4665functions. Datatypes are viewed in a uniform, structured way: the choice
4666between constructors is represented using an n-ary sum, and the arguments of
4667each constructor are represented using an n-ary product.")
4668 (license license:bsd-3)))
4669
4670(define-public ghc-geniplate-mirror
4671 (package
4672 (name "ghc-geniplate-mirror")
4673 (version "0.7.6")
4674 (source
4675 (origin
4676 (method url-fetch)
4677 (uri (string-append "https://hackage.haskell.org/package"
4678 "/geniplate-mirror"
4679 "/geniplate-mirror-" version ".tar.gz"))
4680 (sha256
4681 (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb"))))
4682 (build-system haskell-build-system)
74a7dd7f
TS
4683 (arguments
4684 `(#:cabal-revision
4685 ("2" "03fg4vfm1wgq4mylggawdx0bfvbbjmdn700sqx7v3hk1bx0kjfzh")))
dddbc90c
RV
4686 (home-page "https://github.com/danr/geniplate")
4687 (synopsis "Use Template Haskell to generate Uniplate-like functions")
4688 (description
4689 "Use Template Haskell to generate Uniplate-like functions. This is a
4690maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
4691geniplate} package, written by Lennart Augustsson.")
4692 (license license:bsd-3)))
4693
4694(define-public ghc-genvalidity
4695 (package
4696 (name "ghc-genvalidity")
920f44a1 4697 (version "0.8.0.0")
dddbc90c
RV
4698 (source
4699 (origin
4700 (method url-fetch)
4701 (uri (string-append
4702 "https://hackage.haskell.org/package/genvalidity/genvalidity-"
4703 version
4704 ".tar.gz"))
4705 (sha256
4706 (base32
920f44a1 4707 "0w38aq9hfyymidncgkrs6yvja7j573d9sap5qfg5rz910fhsij9a"))))
dddbc90c
RV
4708 (build-system haskell-build-system)
4709 (inputs
4710 `(("ghc-quickcheck" ,ghc-quickcheck)
4711 ("ghc-validity" ,ghc-validity)))
4712 (native-inputs
4713 `(("ghc-hspec" ,ghc-hspec)
4714 ("hspec-discover" ,hspec-discover)
4715 ("ghc-hspec-core" ,ghc-hspec-core)))
4716 (home-page
4717 "https://github.com/NorfairKing/validity")
4718 (synopsis
4719 "Testing utilities for the @code{validity} library")
4720 (description
4721 "This package provides testing utilities that are useful in conjunction
4722with the @code{Validity} typeclass.")
4723 (license license:expat)))
4724
4725(define-public ghc-genvalidity-property
4726 (package
4727 (name "ghc-genvalidity-property")
e4ede35b 4728 (version "0.4.0.0")
dddbc90c
RV
4729 (source
4730 (origin
4731 (method url-fetch)
4732 (uri (string-append
4733 "https://hackage.haskell.org/package/"
4734 "genvalidity-property/genvalidity-property-"
4735 version
4736 ".tar.gz"))
4737 (sha256
4738 (base32
e4ede35b 4739 "0zayycx62226w54rvkxwhvqhznsr33dk3ds55yyqrfqbnhvph1s9"))))
dddbc90c
RV
4740 (build-system haskell-build-system)
4741 (inputs
4742 `(("ghc-quickcheck" ,ghc-quickcheck)
4743 ("ghc-genvalidity" ,ghc-genvalidity)
4744 ("ghc-hspec" ,ghc-hspec)
4745 ("hspec-discover" ,hspec-discover)
4746 ("ghc-validity" ,ghc-validity)))
4747 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
4748 (home-page
4749 "https://github.com/NorfairKing/validity")
4750 (synopsis
4751 "Standard properties for functions on @code{Validity} types")
4752 (description
4753 "This package supplements the @code{Validity} typeclass with standard
4754properties for functions operating on them.")
4755 (license license:expat)))
4756
e71fb573
TS
4757(define-public ghc-getopt-generics
4758 (package
4759 (name "ghc-getopt-generics")
4760 (version "0.13.0.4")
4761 (source
4762 (origin
4763 (method url-fetch)
4764 (uri (string-append "https://hackage.haskell.org/package/"
4765 "getopt-generics/getopt-generics-"
4766 version ".tar.gz"))
4767 (sha256
4768 (base32
4769 "1rszkcn1rg38wf35538ljk5bbqjc57y9sb3a0al7qxm82gy8yigr"))))
4770 (build-system haskell-build-system)
4771 (inputs
4772 `(("ghc-base-compat" ,ghc-base-compat)
4773 ("ghc-base-orphans" ,ghc-base-orphans)
4774 ("ghc-generics-sop" ,ghc-generics-sop)
4775 ("ghc-tagged" ,ghc-tagged)))
4776 (native-inputs
4777 `(("ghc-quickcheck" ,ghc-quickcheck)
4778 ("ghc-hspec" ,ghc-hspec)
4779 ("ghc-safe" ,ghc-safe)
4780 ("ghc-silently" ,ghc-silently)
4781 ("hspec-discover" ,hspec-discover)))
4782 (home-page "https://github.com/soenkehahn/getopt-generics")
4783 (synopsis "Create command line interfaces with ease")
4784 (description "This library provides tools to create command line
4785interfaces with ease.")
4786 (license license:bsd-3)))
4787
dddbc90c
RV
4788(define-public ghc-gitrev
4789 (package
4790 (name "ghc-gitrev")
4791 (version "1.3.1")
4792 (source
4793 (origin
4794 (method url-fetch)
4795 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
4796 version ".tar.gz"))
4797 (sha256
4798 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
4799 (build-system haskell-build-system)
4800 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
4801 (home-page "https://github.com/acfoltzer/gitrev")
4802 (synopsis "Compile git revision info into Haskell projects")
4803 (description
4804 "This package provides some handy Template Haskell splices for including
4805the current git hash and branch in the code of your project. This is useful
4806for including in panic messages, @command{--version} output, or diagnostic
4807info for more informative bug reports.")
4808 (license license:bsd-3)))
4809
4810(define-public ghc-glob
4811 (package
4812 (name "ghc-glob")
b900f486 4813 (version "0.10.0")
dddbc90c
RV
4814 (source
4815 (origin
4816 (method url-fetch)
4817 (uri (string-append "https://hackage.haskell.org/package/"
4818 "Glob-" version "/"
4819 "Glob-" version ".tar.gz"))
4820 (sha256
4821 (base32
b900f486 4822 "0953f91f62ncna402vsrfzdcyxhdpjna3bgdw017kad0dfymacs7"))))
dddbc90c
RV
4823 (build-system haskell-build-system)
4824 (inputs
4825 `(("ghc-dlist" ,ghc-dlist)
4826 ("ghc-semigroups" ,ghc-semigroups)
4827 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4828 (native-inputs
4829 `(("ghc-hunit" ,ghc-hunit)
4830 ("ghc-quickcheck" ,ghc-quickcheck)
4831 ("ghc-test-framework" ,ghc-test-framework)
4832 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4833 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4834 (home-page "http://iki.fi/matti.niemenmaa/glob/")
4835 (synopsis "Haskell library matching glob patterns against file paths")
4836 (description "This package provides a Haskell library for @dfn{globbing}:
4837matching patterns against file paths.")
4838 (license license:bsd-3)))
4839
4840(define-public ghc-gluraw
4841 (package
4842 (name "ghc-gluraw")
4843 (version "2.0.0.4")
4844 (source
4845 (origin
4846 (method url-fetch)
4847 (uri (string-append
4848 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
4849 version
4850 ".tar.gz"))
4851 (sha256
4852 (base32
4853 "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq"))))
4854 (build-system haskell-build-system)
4855 (inputs
4856 `(("ghc-openglraw" ,ghc-openglraw)))
228d2901 4857 (home-page "https://wiki.haskell.org/Opengl")
dddbc90c
RV
4858 (synopsis "Raw Haskell bindings GLU")
4859 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
4860utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
4861basis for a nicer interface.")
4862 (license license:bsd-3)))
4863
4864(define-public ghc-glut
4865 (package
4866 (name "ghc-glut")
8284bd09 4867 (version "2.7.0.15")
dddbc90c
RV
4868 (source
4869 (origin
4870 (method url-fetch)
4871 (uri (string-append
4872 "https://hackage.haskell.org/package/GLUT/GLUT-"
4873 version
4874 ".tar.gz"))
4875 (sha256
4876 (base32
8284bd09 4877 "0271vnf6wllhxjwy0m348x90kv27aybxcbqkkglmd5w4cpwjg5g9"))))
dddbc90c
RV
4878 (build-system haskell-build-system)
4879 (inputs
4880 `(("ghc-statevar" ,ghc-statevar)
4881 ("ghc-opengl" ,ghc-opengl)
4882 ("ghc-openglraw" ,ghc-openglraw)
4883 ("freeglut" ,freeglut)))
228d2901 4884 (home-page "https://wiki.haskell.org/Opengl")
dddbc90c
RV
4885 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
4886 (description "This library provides Haskell bindings for the OpenGL
4887Utility Toolkit, a window system-independent toolkit for writing OpenGL
4888programs.")
4889 (license license:bsd-3)))
4890
4891(define-public ghc-gnuplot
4892 (package
4893 (name "ghc-gnuplot")
d34860c7 4894 (version "0.5.6")
dddbc90c
RV
4895 (source
4896 (origin
4897 (method url-fetch)
4898 (uri (string-append
4899 "mirror://hackage/package/gnuplot/gnuplot-"
4900 version ".tar.gz"))
4901 (sha256
d34860c7 4902 (base32 "1g6xgnlkh17avivn1rlq7l2nvs26dvrbx4rkfld0bf6kyqaqwrgp"))))
dddbc90c
RV
4903 (build-system haskell-build-system)
4904 (inputs
4905 `(("ghc-temporary" ,ghc-temporary)
4906 ("ghc-utility-ht" ,ghc-utility-ht)
4907 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
4908 ("ghc-data-accessor" ,ghc-data-accessor)
4909 ("ghc-semigroups" ,ghc-semigroups)
4910 ("gnuplot" ,gnuplot)))
4911 (arguments
4912 `(#:phases
4913 (modify-phases %standard-phases
4914 (add-before 'configure 'fix-path-to-gnuplot
4915 (lambda* (#:key inputs #:allow-other-keys)
4916 (let ((gnuplot (assoc-ref inputs "gnuplot")))
4917 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
4918 (("(gnuplotName = ).*$" all cmd)
4919 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
228d2901 4920 (home-page "https://wiki.haskell.org/Gnuplot")
dddbc90c
RV
4921 (synopsis "2D and 3D plots using gnuplot")
4922 (description "This package provides a Haskell module for creating 2D and
49233D plots using gnuplot.")
4924 (license license:bsd-3)))
4925
4926(define-public ghc-graphviz
4927 (package
4928 (name "ghc-graphviz")
c264bd42 4929 (version "2999.20.0.3")
dddbc90c
RV
4930 (source (origin
4931 (method url-fetch)
4932 (uri (string-append "https://hackage.haskell.org/package/"
4933 "graphviz/graphviz-" version ".tar.gz"))
4934 (sha256
4935 (base32
c264bd42 4936 "04k26zw61nfv1pkd00iaq89pgsaiym0sf4cbzkmm2k2fj5xa587g"))))
dddbc90c 4937 (build-system haskell-build-system)
c264bd42
TS
4938 (arguments
4939 `(#:phases
4940 (modify-phases %standard-phases
4941 (add-before 'configure 'update-constraints
4942 (lambda _
4943 (substitute* "graphviz.cabal"
4944 (("QuickCheck >= 2\\.3 && < 2\\.13")
4945 "QuickCheck >= 2.3 && < 2.14")
4946 (("hspec >= 2\\.1 && < 2\\.7")
4947 "hspec >= 2.1 && < 2.8")))))))
dddbc90c
RV
4948 (inputs
4949 `(("ghc-quickcheck" ,ghc-quickcheck)
4950 ("ghc-colour" ,ghc-colour)
4951 ("ghc-dlist" ,ghc-dlist)
4952 ("ghc-fgl" ,ghc-fgl)
4953 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
4954 ("ghc-polyparse" ,ghc-polyparse)
4955 ("ghc-temporary" ,ghc-temporary)
4956 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
4957 (native-inputs
4958 `(("ghc-hspec" ,ghc-hspec)
4959 ("graphviz" ,graphviz)
4960 ("hspec-discover" ,hspec-discover)))
4961 (home-page "https://hackage.haskell.org/package/graphviz")
4962 (synopsis "Bindings to Graphviz for graph visualisation")
4963 (description
4964 "This library provides bindings for the Dot language used by
4965the @uref{https://graphviz.org/, Graphviz} suite of programs for
4966visualising graphs, as well as functions to call those programs.
4967Main features of the graphviz library include:
4968
4969@enumerate
4970@item Almost complete coverage of all Graphviz attributes and syntax
4971@item Support for specifying clusters
4972@item The ability to use a custom node type
4973@item Functions for running a Graphviz layout tool with all specified output types
4974@item Generate and parse Dot code with two options: strict and liberal
4975@item Functions to convert FGL graphs and other graph-like data structures
4976@item Round-trip support for passing an FGL graph through Graphviz to augment node
4977and edge labels with positional information, etc.
4978@end enumerate\n")
4979 (license license:bsd-3)))
4980
f3e18645
TS
4981(define-public ghc-groups
4982 (package
4983 (name "ghc-groups")
4984 (version "0.4.1.0")
4985 (source
4986 (origin
4987 (method url-fetch)
4988 (uri (string-append "https://hackage.haskell.org/package/"
4989 "groups/groups-" version ".tar.gz"))
4990 (sha256
4991 (base32
4992 "0ggkygkyxw5ga4cza82bjvdraavl294k0h6b62d2px7z3nvqhifx"))))
4993 (build-system haskell-build-system)
4994 (home-page "https://hackage.haskell.org/package/groups")
4995 (synopsis "Haskell 98 groups")
4996 (description "This package provides Haskell 98 groups. A group is a
4997monoid with invertibility.")
4998 (license license:bsd-3)))
4999
dddbc90c
RV
5000(define-public ghc-gtk2hs-buildtools
5001 (package
5002 (name "ghc-gtk2hs-buildtools")
b79b43d4 5003 (version "0.13.5.4")
dddbc90c
RV
5004 (source
5005 (origin
5006 (method url-fetch)
5007 (uri (string-append "https://hackage.haskell.org/package/"
5008 "gtk2hs-buildtools/gtk2hs-buildtools-"
5009 version ".tar.gz"))
5010 (sha256
5011 (base32
b79b43d4 5012 "1flxsacxwmabzzalhn8558kmj95z01c0lmikrn56nxh7p62nxm25"))))
dddbc90c
RV
5013 (build-system haskell-build-system)
5014 (inputs
5015 `(("ghc-random" ,ghc-random)
5016 ("ghc-hashtables" ,ghc-hashtables)))
5017 (native-inputs
5018 `(("ghc-alex" ,ghc-alex)
5019 ("ghc-happy" ,ghc-happy)))
5020 (home-page "http://projects.haskell.org/gtk2hs/")
5021 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
5022 (description
5023 "This package provides a set of helper programs necessary to build the
5024Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
5025that is used to generate FFI declarations, a tool to build a type hierarchy
5026that mirrors the C type hierarchy of GObjects found in glib, and a generator
5027for signal declarations that are used to call back from C to Haskell. These
5028tools are not needed to actually run Gtk2Hs programs.")
5029 (license license:gpl2)))
5030
5031(define-public ghc-hackage-security
5032 (package
5033 (name "ghc-hackage-security")
5034 (version "0.5.3.0")
5035 (source
5036 (origin
5037 (method url-fetch)
5038 (uri (string-append "https://hackage.haskell.org/package/"
5039 "hackage-security/hackage-security-"
5040 version ".tar.gz"))
5041 (sha256
5042 (base32
5043 "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v"))))
5044 (build-system haskell-build-system)
5045 (arguments
034380f3
TS
5046 `(#:cabal-revision
5047 ("6" "1xs2nkzlvkdz8g27yzfxbjdbdadfmgiydnlpn5dm77cg18r495ay")
5048 #:tests? #f)) ; Tests fail because of framework updates.
dddbc90c
RV
5049 (inputs
5050 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
5051 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
5052 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
5053 ("ghc-ed25519" ,ghc-ed25519)
5054 ("ghc-network" ,ghc-network)
5055 ("ghc-network-uri" ,ghc-network-uri)
5056 ("ghc-tar" ,ghc-tar)
5057 ("ghc-zlib" ,ghc-zlib)))
5058 (native-inputs
5059 `(("ghc-network-uri" ,ghc-network-uri)
5060 ("ghc-quickcheck" ,ghc-quickcheck)
5061 ("ghc-tar" ,ghc-tar)
5062 ("ghc-tasty" ,ghc-tasty)
5063 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5064 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5065 ("ghc-temporary" ,ghc-temporary)
5066 ("ghc-zlib" ,ghc-zlib)))
5067 (home-page "https://github.com/haskell/hackage-security")
5068 (synopsis "Hackage security library")
5069 (description "This Hackage security library provides both server and
5070client utilities for securing @uref{http://hackage.haskell.org/, the
5071Hackage package server}. It is based on
5072@uref{http://theupdateframework.com/, The Update Framework}, a set of
5073recommendations developed by security researchers at various universities
5074in the US as well as developers on the @uref{https://www.torproject.org/,
5075Tor project}.")
5076 (license license:bsd-3)))
5077
5078(define-public ghc-haddock
5079 (package
5080 (name "ghc-haddock")
b0d34d23 5081 (version "2.22.0")
dddbc90c
RV
5082 (source
5083 (origin
5084 (method url-fetch)
5085 (uri (string-append
5086 "https://hackage.haskell.org/package/haddock/haddock-"
5087 version
5088 ".tar.gz"))
5089 (sha256
5090 (base32
b0d34d23 5091 "1k42z2zh550rl93c8pa9cg2xsanp6wvb031xvan6cmngnplmdib6"))))
dddbc90c
RV
5092 (build-system haskell-build-system)
5093 (arguments
5094 `(#:phases
5095 (modify-phases %standard-phases
b0d34d23
TS
5096 ;; The release tarball for 2.22.0 is missing the test data for
5097 ;; the Hoogle test, causing it to fail. This is fixed in the
5098 ;; next release, but for now we disable it.
5099 (add-before 'configure 'remove-hoogle-test
dddbc90c
RV
5100 (lambda _
5101 (use-modules (ice-9 rdelim))
5102 (with-atomic-file-replacement "haddock.cabal"
5103 (lambda (in out)
5104 (let loop ((line (read-line in 'concat)) (deleting? #f))
5105 (cond
5106 ((eof-object? line) #t)
5107 ((string-every char-set:whitespace line)
5108 (unless deleting? (display line out))
5109 (loop (read-line in 'concat) #f))
b0d34d23 5110 ((string=? line "test-suite hoogle-test\n")
dddbc90c
RV
5111 (loop (read-line in 'concat) #t))
5112 (else
5113 (unless deleting? (display line out))
b0d34d23
TS
5114 (loop (read-line in 'concat) deleting?))))))))
5115 (add-before 'check 'add-haddock-to-path
5116 (lambda _
5117 (setenv "PATH" (string-append (getcwd) "/dist/build/haddock"
5118 ":" (getenv "PATH")))
5119 #t)))))
dddbc90c
RV
5120 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
5121 (native-inputs
b0d34d23
TS
5122 `(("ghc-haddock-test" ,ghc-haddock-test)
5123 ("ghc-hspec" ,ghc-hspec)))
dddbc90c
RV
5124 (home-page "https://www.haskell.org/haddock/")
5125 (synopsis
5126 "Documentation-generation tool for Haskell libraries")
5127 (description
5128 "Haddock is a documentation-generation tool for Haskell libraries.")
5129 (license license:bsd-3)))
5130
5131(define-public ghc-haddock-api
5132 (package
5133 (name "ghc-haddock-api")
1b84d8ef 5134 (version "2.22.0")
dddbc90c
RV
5135 (source
5136 (origin
5137 (method url-fetch)
5138 (uri (string-append
5139 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
5140 version
5141 ".tar.gz"))
1b84d8ef 5142 (patches (search-patches "ghc-haddock-api-fix-haddock.patch"))
dddbc90c
RV
5143 (sha256
5144 (base32
1b84d8ef 5145 "149q4zlf4m7wcrr4af2n2flh0jxjsypshbc229vsj1m0kmz4z014"))))
dddbc90c
RV
5146 (build-system haskell-build-system)
5147 (arguments
5148 `(#:phases
5149 (modify-phases %standard-phases
5150 (add-before 'configure 'update-constraints
5151 (lambda _
5152 (substitute* "haddock-api.cabal"
1b84d8ef
TS
5153 (("QuickCheck \\^>= 2\\.11")
5154 "QuickCheck ^>= 2.13")
5155 (("hspec >= 2\\.4\\.4 && < 2\\.6")
5156 "hspec >= 2.4.4 && < 2.8")))))))
dddbc90c
RV
5157 (inputs
5158 `(("ghc-paths" ,ghc-paths)
5159 ("ghc-haddock-library" ,ghc-haddock-library)))
5160 (native-inputs
5161 `(("ghc-quickcheck" ,ghc-quickcheck)
5162 ("ghc-hspec" ,ghc-hspec)
5163 ("hspec-discover" ,hspec-discover)))
5164 (home-page "https://www.haskell.org/haddock/")
5165 (synopsis "API for documentation-generation tool Haddock")
5166 (description "This package provides an API to Haddock, the
5167documentation-generation tool for Haskell libraries.")
5168 (license license:bsd-3)))
5169
5170(define-public ghc-haddock-library
5171 (package
5172 (name "ghc-haddock-library")
10707d57 5173 (version "1.7.0")
dddbc90c
RV
5174 (source
5175 (origin
5176 (method url-fetch)
5177 (uri (string-append
5178 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
5179 version
5180 ".tar.gz"))
5181 (sha256
5182 (base32
10707d57 5183 "04fhcjk0pvsaqvsgp2w06cv2qvshq1xs1bwc157q4lmkgr57khp7"))))
dddbc90c
RV
5184 (build-system haskell-build-system)
5185 (arguments
5186 `(#:phases
5187 (modify-phases %standard-phases
10707d57
TS
5188 ;; Since there is no revised Cabal file upstream, we have to
5189 ;; patch it manually.
dddbc90c
RV
5190 (add-before 'configure 'relax-test-suite-dependencies
5191 (lambda _
5192 (substitute* "haddock-library.cabal"
10707d57
TS
5193 (("hspec\\s*>= 2.4.4 && < 2.6") "hspec")
5194 (("QuickCheck\\s*\\^>= 2.11") "QuickCheck"))
dddbc90c
RV
5195 #t)))))
5196 (native-inputs
5197 `(("ghc-base-compat" ,ghc-base-compat)
5198 ("ghc-hspec" ,ghc-hspec)
5199 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
5200 ("ghc-quickcheck" ,ghc-quickcheck)
5201 ("ghc-tree-diff" ,ghc-tree-diff)
5202 ("hspec-discover" ,hspec-discover)))
5203 (home-page "https://www.haskell.org/haddock/")
5204 (synopsis "Library exposing some functionality of Haddock")
5205 (description
5206 "Haddock is a documentation-generation tool for Haskell libraries. These
5207modules expose some functionality of it without pulling in the GHC dependency.
5208Please note that the API is likely to change so specify upper bounds in your
5209project if you can't release often. For interacting with Haddock itself, see
5210the ‘haddock’ package.")
5211 (license license:bsd-3)))
5212
b0d34d23
TS
5213;; This package is needed for testing 'ghc-haddock'. It is no longer
5214;; published to Hackage, but it is maintained in the Haddock Git
5215;; repository.
5216(define ghc-haddock-test
5217 (package
5218 (name "ghc-haddock-test")
5219 (version "2.22.0")
5220 (source
5221 (origin
5222 (method git-fetch)
5223 (uri (git-reference
b0e7b699 5224 (url "https://github.com/haskell/haddock")
b0d34d23
TS
5225 (commit (string-append "haddock-" version "-release"))))
5226 (file-name (git-file-name name version))
5227 (sha256
5228 (base32
5229 "1ywxmqqan10gs0ppybdmdgsmvkzkpw7yirj2rw4qylg3x49a9zca"))))
5230 (build-system haskell-build-system)
5231 (arguments
5232 `(#:phases
5233 (modify-phases %standard-phases
5234 (add-after 'unpack 'change-directory
5235 (lambda _
5236 (chdir "haddock-test"))))))
5237 (inputs
5238 `(("ghc-syb" ,ghc-syb)
5239 ("ghc-xml" ,ghc-xml)))
228d2901 5240 (home-page "https://www.haskell.org/haddock/")
b0d34d23
TS
5241 (synopsis "Test utilities for Haddock")
5242 (description "This package provides test utilities for Haddock.")
5243 (license license:bsd-3)
5244 (properties '((hidden? #t)))))
5245
dddbc90c
RV
5246(define-public ghc-half
5247 (package
5248 (name "ghc-half")
5249 (version "0.3")
5250 (source
5251 (origin
5252 (method url-fetch)
5253 (uri (string-append
5254 "https://hackage.haskell.org/package/half/half-"
5255 version ".tar.gz"))
5256 (sha256
5257 (base32
5258 "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6"))))
5259 (build-system haskell-build-system)
5260 (native-inputs
5261 `(("ghc-hspec" ,ghc-hspec)
5262 ("ghc-quickcheck" ,ghc-quickcheck)))
5263 (home-page "https://github.com/ekmett/half")
5264 (synopsis "Half-precision floating-point computations")
5265 (description "This library provides a half-precision floating-point
5266computation library for Haskell.")
5267 (license license:bsd-3)))
5268
5269(define-public ghc-happy
5270 (package
5271 (name "ghc-happy")
90e7b0e4 5272 (version "1.19.12")
dddbc90c
RV
5273 (source
5274 (origin
5275 (method url-fetch)
5276 (uri (string-append
5277 "https://hackage.haskell.org/package/happy/happy-"
5278 version
5279 ".tar.gz"))
5280 (sha256
5281 (base32
90e7b0e4 5282 "03xlmq6qmdx4zvzw8bp33kd9g7yvcq5cz4wg50xilw812kj276pv"))))
dddbc90c
RV
5283 (build-system haskell-build-system)
5284 (arguments
5285 `(#:phases
5286 (modify-phases %standard-phases
5287 (add-after 'unpack 'skip-test-issue93
5288 (lambda _
5289 ;; Tests run out of memory on a system with 2GB of available RAM,
5290 ;; in 'issue93.a.hs' and 'issue93.n.hs'.
5291 (substitute* "tests/Makefile"
5292 ((" issue93.y ") " "))
5293 #t)))))
5294 (home-page "https://hackage.haskell.org/package/happy")
5295 (synopsis "Parser generator for Haskell")
5296 (description "Happy is a parser generator for Haskell. Given a grammar
5297specification in BNF, Happy generates Haskell code to parse the grammar.
5298Happy works in a similar way to the yacc tool for C.")
5299 (license license:bsd-3)))
5300
5301(define-public ghc-hashable
5302 (package
5303 (name "ghc-hashable")
5304 (version "1.2.7.0")
534d6caa 5305 (outputs '("out" "static" "doc"))
dddbc90c
RV
5306 (source
5307 (origin
5308 (method url-fetch)
5309 (uri (string-append
5310 "https://hackage.haskell.org/package/hashable/hashable-"
5311 version
5312 ".tar.gz"))
5313 (sha256
5314 (base32
5315 "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc"))))
5316 (build-system haskell-build-system)
65a16a45
TS
5317 (arguments
5318 `(#:cabal-revision
5319 ("1" "197063dpl0wn67dp7a06yc2hxp81n24ykk7klbjx0fndm5n87dh3")))
dddbc90c
RV
5320 (inputs
5321 `(("ghc-random" ,ghc-random)))
5322 (native-inputs
5323 `(("ghc-test-framework" ,ghc-test-framework)
5324 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5325 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5326 ("ghc-hunit" ,ghc-hunit)
5327 ("ghc-quickcheck" ,ghc-quickcheck)))
5328 (home-page "https://github.com/tibbe/hashable")
5329 (synopsis "Class for types that can be converted to a hash value")
5330 (description
5331 "This package defines a class, @code{Hashable}, for types that can be
5332converted to a hash value. This class exists for the benefit of hashing-based
5333data structures. The package provides instances for basic types and a way to
5334combine hash values.")
5335 (license license:bsd-3)))
5336
5337(define-public ghc-hashable-bootstrap
5338 (package
5339 (inherit ghc-hashable)
5340 (name "ghc-hashable-bootstrap")
65a16a45
TS
5341 (arguments
5342 `(#:tests? #f
5343 ,@(package-arguments ghc-hashable)))
dddbc90c
RV
5344 (native-inputs '())
5345 (properties '((hidden? #t)))))
5346
5347(define-public ghc-hashable-time
5348 (package
5349 (name "ghc-hashable-time")
f5051e31 5350 (version "0.2.0.2")
dddbc90c
RV
5351 (source
5352 (origin
5353 (method url-fetch)
5354 (uri (string-append
5355 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
5356 version
5357 ".tar.gz"))
5358 (sha256
5359 (base32
f5051e31 5360 "1q7y4plqqwy5286hhx2fygn12h8lqk0y047b597sbdckskxzfqgs"))))
dddbc90c
RV
5361 (build-system haskell-build-system)
5362 (arguments
5363 `(#:cabal-revision
f5051e31 5364 ("2" "006phc5y9rrvsshdcmjmhxzxh8dpgs685mpqbkjm9c40xb1ydjbz")))
dddbc90c 5365 (inputs `(("ghc-hashable" ,ghc-hashable)))
3b02036e 5366 (home-page "https://hackage.haskell.org/package/hashable-time")
dddbc90c
RV
5367 (synopsis "Hashable instances for Data.Time")
5368 (description
5369 "This package provides @code{Hashable} instances for types in
5370@code{Data.Time}.")
5371 (license license:bsd-3)))
5372
5373(define-public ghc-hashtables
5374 (package
5375 (name "ghc-hashtables")
19edf0d0 5376 (version "1.2.3.4")
dddbc90c
RV
5377 (source
5378 (origin
5379 (method url-fetch)
5380 (uri (string-append
5381 "https://hackage.haskell.org/package/hashtables/hashtables-"
5382 version ".tar.gz"))
5383 (sha256
19edf0d0 5384 (base32 "1rjmxnr30g4hygiywkpz5p9sanh0abs7ap4zc1kgd8zv04kycp0j"))))
dddbc90c
RV
5385 (build-system haskell-build-system)
5386 (inputs
5387 `(("ghc-hashable" ,ghc-hashable)
5388 ("ghc-primitive" ,ghc-primitive)
5389 ("ghc-vector" ,ghc-vector)))
5390 (home-page "https://github.com/gregorycollins/hashtables")
5391 (synopsis "Haskell Mutable hash tables in the ST monad")
5392 (description "This package provides a Haskell library including a
5393couple of different implementations of mutable hash tables in the ST
5394monad, as well as a typeclass abstracting their common operations, and
5395a set of wrappers to use the hash tables in the IO monad.")
5396 (license license:bsd-3)))
5397
dd26713e
JS
5398(define-public ghc-haskeline-0.8
5399 (package
5400 (name "ghc-haskeline")
5401 (version "0.8.0.0")
5402 (source
5403 (origin
5404 (method url-fetch)
5405 (uri (string-append
5406 "https://hackage.haskell.org/package/haskeline/haskeline-"
5407 version
5408 ".tar.gz"))
5409 (sha256
5410 (base32
5411 "0gqsa5s0drim9m42hv4wrq61mnvcdylxysfxfw3acncwilfrn9pb"))))
5412 (build-system haskell-build-system)
5413 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
5414 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
5415 ;; FIXME: Tests failing
5416 (arguments `(#:tests? #f))
5417 (home-page "https://github.com/judah/haskeline")
5418 (synopsis
5419 "Command-line interface for user input, written in Haskell")
5420 (description
5421 "Haskeline provides a user interface for line input in command-line
5422programs. This library is similar in purpose to readline, but since it is
5423written in Haskell it is (hopefully) more easily used in other Haskell
5424programs.
5425
5426Haskeline runs both on POSIX-compatible systems and on Windows.")
5427 (license license:bsd-3)))
5428
dddbc90c
RV
5429(define-public ghc-haskell-lexer
5430 (package
5431 (name "ghc-haskell-lexer")
5432 (version "1.0.2")
5433 (source
5434 (origin
5435 (method url-fetch)
5436 (uri (string-append
5437 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
5438 version ".tar.gz"))
5439 (sha256
5440 (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq"))))
5441 (build-system haskell-build-system)
3ef91e15 5442 (home-page "https://hackage.haskell.org/package/haskell-lexer")
dddbc90c
RV
5443 (synopsis "Fully compliant Haskell 98 lexer")
5444 (description
5445 "This package provides a fully compliant Haskell 98 lexer.")
5446 (license license:bsd-3)))
5447
5448(define-public ghc-haskell-src
5449 (package
5450 (name "ghc-haskell-src")
5451 (version "1.0.3.0")
5452 (source
5453 (origin
5454 (method url-fetch)
5455 (uri (string-append
5456 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
5457 version
5458 ".tar.gz"))
5459 (sha256
5460 (base32
5461 "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l"))))
5462 (build-system haskell-build-system)
5463 (inputs
5464 `(("ghc-happy" ,ghc-happy)
5465 ("ghc-syb" ,ghc-syb)))
5466 (home-page
5467 "https://hackage.haskell.org/package/haskell-src")
5468 (synopsis
5469 "Support for manipulating Haskell source code")
5470 (description
5471 "The @code{haskell-src} package provides support for manipulating Haskell
5472source code. The package provides a lexer, parser and pretty-printer, and a
5473definition of a Haskell abstract syntax tree (AST). Common uses of this
5474package are to parse or generate Haskell 98 code.")
5475 (license license:bsd-3)))
5476
5477(define-public ghc-haskell-src-exts
5478 (package
5479 (name "ghc-haskell-src-exts")
37a05591 5480 (version "1.21.1")
dddbc90c
RV
5481 (source
5482 (origin
5483 (method url-fetch)
5484 (uri (string-append
5485 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
5486 version
5487 ".tar.gz"))
5488 (sha256
5489 (base32
37a05591 5490 "0q1y8n3d82gid9bcx8wxsqqmj9mq11fg3gp5yzpfbw958dhi3j9f"))))
dddbc90c 5491 (build-system haskell-build-system)
cad59e53 5492 (outputs '("out" "static" "doc"))
dddbc90c
RV
5493 (inputs
5494 `(("cpphs" ,cpphs)
5495 ("ghc-happy" ,ghc-happy)
5496 ("ghc-pretty-show" ,ghc-pretty-show)))
5497 (native-inputs
5498 `(("ghc-smallcheck" ,ghc-smallcheck)
5499 ("ghc-tasty" ,ghc-tasty)
5500 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5501 ("ghc-tasty-golden" ,ghc-tasty-golden)))
5502 (home-page "https://github.com/haskell-suite/haskell-src-exts")
5503 (synopsis "Library for manipulating Haskell source")
5504 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
5505extension of the standard @code{haskell-src} package, and handles most
5506registered syntactic extensions to Haskell. All extensions implemented in GHC
5507are supported. Apart from these standard extensions, it also handles regular
5508patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
5509 (license license:bsd-3)))
5510
5511(define-public ghc-haskell-src-exts-util
5512 (package
5513 (name "ghc-haskell-src-exts-util")
77355bdf 5514 (version "0.2.5")
dddbc90c
RV
5515 (source
5516 (origin
5517 (method url-fetch)
5518 (uri (string-append "https://hackage.haskell.org/package/"
5519 "haskell-src-exts-util/haskell-src-exts-util-"
5520 version ".tar.gz"))
5521 (sha256
5522 (base32
77355bdf 5523 "0fvqi72m74p7q5sbpy8m2chm8a1lgy10mfrcxcz8wrh59vngj0n8"))))
dddbc90c
RV
5524 (build-system haskell-build-system)
5525 (inputs
5526 `(("ghc-data-default" ,ghc-data-default)
5527 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5528 ("ghc-semigroups" ,ghc-semigroups)
5529 ("ghc-uniplate" ,ghc-uniplate)))
5530 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
5531 (synopsis "Helper functions for working with haskell-src-exts trees")
5532 (description
5533 "This package provides helper functions for working with
5534@code{haskell-src-exts} trees.")
5535 (license license:bsd-3)))
5536
5537(define-public ghc-haskell-src-meta
5538 (package
5539 (name "ghc-haskell-src-meta")
e94b3c72 5540 (version "0.8.3")
dddbc90c
RV
5541 (source (origin
5542 (method url-fetch)
5543 (uri (string-append "https://hackage.haskell.org/package/"
5544 "haskell-src-meta/haskell-src-meta-"
5545 version ".tar.gz"))
5546 (sha256
5547 (base32
e94b3c72 5548 "17znnaqj2hnnfyc9p9xjzbs97h2jh1h4f4qbw648y3xa14wx5ra9"))))
dddbc90c
RV
5549 (build-system haskell-build-system)
5550 (inputs
5551 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5552 ("ghc-syb" ,ghc-syb)
5553 ("ghc-th-orphans" ,ghc-th-orphans)))
5554 (native-inputs
5555 `(("ghc-hunit" ,ghc-hunit)
e94b3c72
TS
5556 ("ghc-tasty" ,ghc-tasty)
5557 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
dddbc90c
RV
5558 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5559 (synopsis "Parse source to template-haskell abstract syntax")
5560 (description
5561 "This package provides tools to parse Haskell sources to the
5562template-haskell abstract syntax.")
5563 (license license:bsd-3)))
5564
5565(define-public ghc-hasktags
5566 (package
5567 (name "ghc-hasktags")
5568 (version "0.71.2")
5569 (source
5570 (origin
5571 (method url-fetch)
5572 (uri (string-append
5573 "https://hackage.haskell.org/package/hasktags/hasktags-"
5574 version
5575 ".tar.gz"))
5576 (sha256
5577 (base32
5578 "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c"))))
5579 (build-system haskell-build-system)
5580 (inputs
5581 `(("ghc-system-filepath" ,ghc-system-filepath)
5582 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5583 (native-inputs
5584 `(("ghc-json" ,ghc-json)
5585 ("ghc-utf8-string" ,ghc-utf8-string)
5586 ("ghc-microlens-platform" ,ghc-microlens-platform)
5587 ("ghc-hunit" ,ghc-hunit)))
702a1012 5588 (home-page "https://github.com/MarcWeber/hasktags")
dddbc90c
RV
5589 (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs")
5590 (description
5591 "This package provides a means of generating tag files for Emacs and
5592Vim.")
5593 (license license:bsd-3)))
5594
5595(define-public ghc-hex
5596 (package
5597 (name "ghc-hex")
5598 (version "0.1.2")
5599 (source
5600 (origin
5601 (method url-fetch)
5602 (uri (string-append "https://hackage.haskell.org/package/"
5603 "hex-" version "/"
5604 "hex-" version ".tar.gz"))
5605 (sha256
5606 (base32
5607 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
5608 (build-system haskell-build-system)
5609 (home-page "https://hackage.haskell.org/package/hex")
5610 (synopsis "Convert strings into hexadecimal and back")
7230f6d5
TGR
5611 (description "This package converts between bytestrings and their
5612hexadecimal string representation.")
dddbc90c
RV
5613 (license license:bsd-3)))
5614
5615(define-public ghc-highlighting-kate
5616 (package
5617 (name "ghc-highlighting-kate")
5618 (version "0.6.4")
5619 (source (origin
5620 (method url-fetch)
5621 (uri (string-append "https://hackage.haskell.org/package/"
5622 "highlighting-kate/highlighting-kate-"
5623 version ".tar.gz"))
5624 (sha256
5625 (base32
5626 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
5627 (build-system haskell-build-system)
5628 (inputs
5629 `(("ghc-diff" ,ghc-diff)
5630 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5631 (native-inputs
5632 `(("ghc-blaze-html" ,ghc-blaze-html)
5633 ("ghc-utf8-string" ,ghc-utf8-string)))
5634 (home-page "https://github.com/jgm/highlighting-kate")
5635 (synopsis "Syntax highlighting library")
5636 (description
5637 "Highlighting-kate is a syntax highlighting library with support for
5638nearly one hundred languages. The syntax parsers are automatically generated
5639from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5640supported by Kate can be added. An (optional) command-line program is
5641provided, along with a utility for generating new parsers from Kate XML syntax
5642descriptions.")
5643 (license license:gpl2+)))
5644
5645(define-public ghc-hindent
5646 (package
5647 (name "ghc-hindent")
f545f894 5648 (version "5.3.1")
dddbc90c
RV
5649 (source
5650 (origin
5651 (method url-fetch)
5652 (uri (string-append
5653 "https://hackage.haskell.org/package/hindent/hindent-"
5654 version
5655 ".tar.gz"))
5656 (sha256
5657 (base32
f545f894 5658 "008s8zm9qs972b7v5kkmr8l3i9kc6zm7yj33mkw6dv69b7h3c01l"))))
dddbc90c
RV
5659 (build-system haskell-build-system)
5660 (arguments
5661 `(#:modules ((guix build haskell-build-system)
5662 (guix build utils)
5663 (guix build emacs-utils))
5664 #:imported-modules (,@%haskell-build-system-modules
5665 (guix build emacs-utils))
5666 #:phases
5667 (modify-phases %standard-phases
5668 (add-after 'install 'emacs-install
5669 (lambda* (#:key inputs outputs #:allow-other-keys)
5670 (let* ((out (assoc-ref outputs "out"))
5671 (elisp-file "elisp/hindent.el")
d53e87cf 5672 (dest (string-append out "/share/emacs/site-lisp"))
dddbc90c
RV
5673 (emacs (string-append (assoc-ref inputs "emacs")
5674 "/bin/emacs")))
5675 (make-file-writable elisp-file)
5676 (emacs-substitute-variables elisp-file
5677 ("hindent-process-path"
5678 (string-append out "/bin/hindent")))
5679 (install-file elisp-file dest)
5680 (emacs-generate-autoloads "hindent" dest)))))))
5681 (inputs
5682 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5683 ("ghc-monad-loops" ,ghc-monad-loops)
5684 ("ghc-utf8-string" ,ghc-utf8-string)
5685 ("ghc-exceptions" ,ghc-exceptions)
5686 ("ghc-yaml" ,ghc-yaml)
5687 ("ghc-unix-compat" ,ghc-unix-compat)
5688 ("ghc-path" ,ghc-path)
5689 ("ghc-path-io" ,ghc-path-io)
5690 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5691 (native-inputs
5692 `(("ghc-hspec" ,ghc-hspec)
5693 ("ghc-diff" ,ghc-diff)
5694 ("emacs" ,emacs-minimal)))
5695 (home-page
5696 "https://github.com/commercialhaskell/hindent")
5697 (synopsis "Extensible Haskell pretty printer")
5698 (description
5699 "This package provides automatic formatting for Haskell files. Both a
5700library and an executable.")
5701 (license license:bsd-3)))
5702
5703(define-public ghc-hinotify
5704 (package
5705 (name "ghc-hinotify")
c2342abb 5706 (version "0.4")
dddbc90c
RV
5707 (source (origin
5708 (method url-fetch)
5709 (uri (string-append
5710 "https://hackage.haskell.org/package/hinotify/"
5711 "hinotify-" version ".tar.gz"))
5712 (sha256
5713 (base32
c2342abb 5714 "1x1lm685ws2q0z0ibwq6x3l72xh67mj06s36xiga3al48d92q63x"))))
dddbc90c
RV
5715 (build-system haskell-build-system)
5716 (inputs
5717 `(("ghc-async" ,ghc-async)))
5718 (home-page "https://github.com/kolmodin/hinotify.git")
5719 (synopsis "Haskell binding to inotify")
5720 (description "This library provides a wrapper to the Linux kernel's inotify
5721feature, allowing applications to subscribe to notifications when a file is
5722accessed or modified.")
5723 (license license:bsd-3)))
5724
5725(define-public ghc-hmatrix
5726 (package
5727 (name "ghc-hmatrix")
65e29ed1 5728 (version "0.20.0.0")
dddbc90c
RV
5729 (source
5730 (origin
5731 (method url-fetch)
5732 (uri (string-append
5733 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
5734 version ".tar.gz"))
5735 (sha256
65e29ed1 5736 (base32 "1sqy1aci5zfagkb34mz3xdil7cl96z4b4cx28cha54vc5sx1lhpg"))))
dddbc90c 5737 (build-system haskell-build-system)
54a5fd07
TS
5738 (arguments
5739 `(#:extra-directories ("lapack")))
dddbc90c
RV
5740 (inputs
5741 `(("ghc-random" ,ghc-random)
5742 ("ghc-split" ,ghc-split)
5743 ("ghc-storable-complex" ,ghc-storable-complex)
5744 ("ghc-semigroups" ,ghc-semigroups)
5745 ("ghc-vector" ,ghc-vector)
5746 ;;("openblas" ,openblas)
5747 ("lapack" ,lapack)))
5748 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
5749 ;; disables inclusion of the LAPACK functions.
5750 ;; (arguments `(#:configure-flags '("--flags=openblas")))
5751 (home-page "https://github.com/albertoruiz/hmatrix")
5752 (synopsis "Haskell numeric linear algebra library")
5753 (description "The HMatrix package provices a Haskell library for
5754dealing with linear systems, matrix decompositions, and other
5755numerical computations based on BLAS and LAPACK.")
5756 (license license:bsd-3)))
5757
5758(define-public ghc-hmatrix-gsl
5759 (package
5760 (name "ghc-hmatrix-gsl")
5761 (version "0.19.0.1")
5762 (source
5763 (origin
5764 (method url-fetch)
5765 (uri (string-append
5766 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
5767 version ".tar.gz"))
5768 (sha256
5769 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
5770 (build-system haskell-build-system)
54a5fd07
TS
5771 (arguments
5772 `(#:extra-directories ("gsl")))
dddbc90c
RV
5773 (inputs
5774 `(("ghc-hmatrix" ,ghc-hmatrix)
5775 ("ghc-vector" ,ghc-vector)
5776 ("ghc-random" ,ghc-random)
5777 ("gsl" ,gsl)))
5778 (native-inputs `(("pkg-config" ,pkg-config)))
5779 (home-page "https://github.com/albertoruiz/hmatrix")
5780 (synopsis "Haskell GSL binding")
5781 (description "This Haskell library provides a purely functional
5782interface to selected numerical computations, internally implemented
5783using GSL.")
5784 (license license:gpl3+)))
5785
5786(define-public ghc-hmatrix-gsl-stats
5787 (package
5788 (name "ghc-hmatrix-gsl-stats")
e9b359f5 5789 (version "0.4.1.8")
dddbc90c
RV
5790 (source
5791 (origin
5792 (method url-fetch)
5793 (uri
5794 (string-append
5795 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
5796 version ".tar.gz"))
5797 (sha256
e9b359f5 5798 (base32 "1cq049sj3q5r06x7i35hqrkf2jc4p4kfi9zv0jmi2vp7w4644i5q"))))
dddbc90c
RV
5799 (build-system haskell-build-system)
5800 (inputs
5801 `(("ghc-vector" ,ghc-vector)
5802 ("ghc-storable-complex" ,ghc-storable-complex)
5803 ("ghc-hmatrix" ,ghc-hmatrix)
5804 ("gsl" ,gsl)))
5805 (native-inputs `(("pkg-config" ,pkg-config)))
5806 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
5807 (synopsis "GSL Statistics interface for Haskell")
5808 (description "This Haskell library provides a purely functional
5809interface for statistics based on hmatrix and GSL.")
5810 (license license:bsd-3)))
5811
5812(define-public ghc-hmatrix-special
5813 (package
5814 (name "ghc-hmatrix-special")
5815 (version "0.19.0.0")
5816 (source
5817 (origin
5818 (method url-fetch)
5819 (uri
5820 (string-append
5821 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
5822 version ".tar.gz"))
5823 (sha256
5824 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
5825 (build-system haskell-build-system)
5826 (inputs
5827 `(("ghc-hmatrix" ,ghc-hmatrix)
5828 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
5829 (home-page "https://github.com/albertoruiz/hmatrix")
5830 (synopsis "Haskell interface to GSL special functions")
5831 (description "This library provides an interface to GSL special
5832functions for Haskell.")
5833 (license license:gpl3+)))
5834
5835(define-public ghc-hostname
5836 (package
5837 (name "ghc-hostname")
5838 (version "1.0")
5839 (source
5840 (origin
5841 (method url-fetch)
5842 (uri (string-append "https://hackage.haskell.org/package/hostname/"
5843 "hostname-" version ".tar.gz"))
5844 (sha256
5845 (base32
5846 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
5847 (build-system haskell-build-system)
5848 (home-page "https://hackage.haskell.org/package/hostname")
5849 (synopsis "Hostname in Haskell")
5850 (description "Network.HostName is a simple package providing a means to
5851determine the hostname.")
5852 (license license:bsd-3)))
5853
5854(define-public ghc-hourglass
5855 (package
5856 (name "ghc-hourglass")
5857 (version "0.2.12")
5858 (source (origin
5859 (method url-fetch)
5860 (uri (string-append "https://hackage.haskell.org/package/"
5861 "hourglass/hourglass-" version ".tar.gz"))
5862 (sha256
5863 (base32
5864 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
5865 (build-system haskell-build-system)
5866 (inputs
5867 `(("ghc-old-locale" ,ghc-old-locale)))
5868 (native-inputs
5869 `(("ghc-tasty" ,ghc-tasty)
5870 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5871 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5872 (home-page "https://github.com/vincenthz/hs-hourglass")
5873 (synopsis "Simple time-related library for Haskell")
5874 (description
5875 "This is a simple time library providing a simple but powerful and
5876performant API. The backbone of the library are the @code{Timeable} and
5877@code{Time} type classes. Each @code{Timeable} instances can be converted to
5878a type that has a @code{Time} instances, and thus are different
5879representations of current time.")
5880 (license license:bsd-3)))
5881
5882(define-public ghc-hpack
5883 (package
5884 (name "ghc-hpack")
06344a3a 5885 (version "0.31.2")
dddbc90c
RV
5886 (source
5887 (origin
5888 (method url-fetch)
5889 (uri (string-append "https://hackage.haskell.org/package/hpack/"
5890 "hpack-" version ".tar.gz"))
06344a3a 5891 (patches (search-patches "ghc-hpack-fix-tests.patch"))
dddbc90c
RV
5892 (sha256
5893 (base32
06344a3a 5894 "1l2d6185lawwhsj70swxkvcacm0hvcn9qsrlx4ph4gs6k578603g"))))
dddbc90c
RV
5895 (build-system haskell-build-system)
5896 (inputs
5897 `(("ghc-aeson" ,ghc-aeson)
5898 ("ghc-bifunctors" ,ghc-bifunctors)
5899 ("ghc-cryptonite" ,ghc-cryptonite)
5900 ("ghc-glob" ,ghc-glob)
5901 ("ghc-http-client" ,ghc-http-client)
5902 ("ghc-http-client-tls" ,ghc-http-client-tls)
5903 ("ghc-http-types" ,ghc-http-types)
06344a3a 5904 ("ghc-infer-license" ,ghc-infer-license)
dddbc90c
RV
5905 ("ghc-scientific" ,ghc-scientific)
5906 ("ghc-unordered-containers" ,ghc-unordered-containers)
5907 ("ghc-vector" ,ghc-vector)
5908 ("ghc-yaml" ,ghc-yaml)))
5909 (native-inputs
5910 `(("ghc-hspec" ,ghc-hspec)
5911 ("ghc-hunit" ,ghc-hunit)
5912 ("ghc-interpolate" ,ghc-interpolate)
5913 ("ghc-mockery" ,ghc-mockery)
5914 ("ghc-quickcheck" ,ghc-quickcheck)
5915 ("ghc-temporary" ,ghc-temporary)
5916 ("hspec-discover" ,hspec-discover)))
5917 (home-page "https://github.com/sol/hpack")
5918 (synopsis "Tools for an alternative Haskell package format")
5919 (description
5920 "Hpack is a format for Haskell packages. It is an alternative to the
5921Cabal package format and follows different design principles. Hpack packages
5922are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
5923@code{stack} support @code{package.yaml} natively. For other build tools the
5924@code{hpack} executable can be used to generate a @code{.cabal} file from
5925@code{package.yaml}.")
5926 (license license:expat)))
5927
5928(define-public ghc-hs-bibutils
5929 (package
5930 (name "ghc-hs-bibutils")
ebcb4f23 5931 (version "6.7.0.0")
dddbc90c
RV
5932 (source
5933 (origin
5934 (method url-fetch)
5935 (uri (string-append
5936 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
5937 version ".tar.gz"))
5938 (sha256
5939 (base32
ebcb4f23 5940 "1qfyssl76lm4g09yxr3y10kmf8cnzls46g5h0ijk0wpk9wlhbln5"))))
dddbc90c
RV
5941 (build-system haskell-build-system)
5942 (inputs `(("ghc-syb" ,ghc-syb)))
5943 (home-page "https://hackage.haskell.org/package/hs-bibutils")
5944 (synopsis "Haskell bindings to bibutils")
5945 (description
5946 "This package provides Haskell bindings to @code{bibutils}, a library
5947that interconverts between various bibliography formats using a common
5948MODS-format XML intermediate.")
5949 (license license:gpl2+)))
5950
5951(define-public ghc-hslogger
5952 (package
5953 (name "ghc-hslogger")
e5ccc5f7 5954 (version "1.2.12")
dddbc90c
RV
5955 (source
5956 (origin
5957 (method url-fetch)
5958 (uri (string-append "https://hackage.haskell.org/package/"
5959 "hslogger-" version "/" "hslogger-"
5960 version ".tar.gz"))
5961 (sha256 (base32
e5ccc5f7 5962 "0ykcsk7wqygvrg60r5kpl6xfinr706al8pfyk5wj67wjs24lqypr"))))
dddbc90c
RV
5963 (build-system haskell-build-system)
5964 (inputs
5965 `(("ghc-network" ,ghc-network)
5966 ("ghc-old-locale" ,ghc-old-locale)))
5967 (native-inputs
5968 `(("ghc-hunit" ,ghc-hunit)))
5969 (home-page "https://software.complete.org/hslogger")
5970 (synopsis "Logging framework for Haskell, similar to Python's logging module")
5971 (description "Hslogger lets each log message have a priority and source be
5972associated with it. The programmer can then define global handlers that route
5973or filter messages based on the priority and source. It also has a syslog
5974handler built in.")
5975 (license license:bsd-3)))
5976
5977(define-public ghc-hslua
5978 (package
5979 (name "ghc-hslua")
cc784d7b 5980 (version "1.0.3.2")
dddbc90c
RV
5981 (source (origin
5982 (method url-fetch)
5983 (uri (string-append "https://hackage.haskell.org/package/"
5984 "hslua/hslua-" version ".tar.gz"))
5985 (sha256
5986 (base32
cc784d7b 5987 "183bgl5jcx5y2r94lviqfw0a5w9089nxjd1z40k8vx9y2h60pm6j"))))
dddbc90c
RV
5988 (build-system haskell-build-system)
5989 (arguments
54a5fd07
TS
5990 `(#:configure-flags '("-fsystem-lua")
5991 #:extra-directories ("lua")))
dddbc90c
RV
5992 (inputs
5993 `(("lua" ,lua)
5994 ("ghc-exceptions" ,ghc-exceptions)
5995 ("ghc-fail" ,ghc-fail)))
5996 (native-inputs
5997 `(("ghc-tasty" ,ghc-tasty)
5998 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
5999 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6000 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6001 ("ghc-quickcheck" ,ghc-quickcheck)
6002 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
6003 (home-page "https://hackage.haskell.org/package/hslua")
6004 (synopsis "Lua language interpreter embedding in Haskell")
6005 (description
6006 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
6007described in @url{https://www.lua.org/}.")
6008 (license license:expat)))
6009
ff303e4e
TS
6010(define-public ghc-hslua-module-system
6011 (package
6012 (name "ghc-hslua-module-system")
6013 (version "0.2.1")
6014 (source
6015 (origin
6016 (method url-fetch)
6017 (uri (string-append "https://hackage.haskell.org/package/"
6018 "hslua-module-system/hslua-module-system-"
6019 version ".tar.gz"))
6020 (sha256
6021 (base32
6022 "1m7wz3g5c34pyizqw5mllzhsy2vziddhlbhjfwdvd7nhd3p4v3hh"))))
6023 (build-system haskell-build-system)
6024 (inputs
6025 `(("ghc-exceptions" ,ghc-exceptions)
6026 ("ghc-hslua" ,ghc-hslua)
6027 ("ghc-temporary" ,ghc-temporary)))
6028 (native-inputs
6029 `(("ghc-tasty" ,ghc-tasty)
6030 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6031 (home-page "https://github.com/hslua/hslua-module-system")
6032 (synopsis "Lua module wrapper around Haskell's System module")
6033 (description "This library provides access to system information and
6034functionality to Lua scripts via Haskell's @code{System} module. Intended
6035usage for this package is to preload it by adding the loader function to
6036@code{package.preload}. Note that the Lua @code{package} library must have
6037already been loaded before the loader can be added.")
6038 (license license:expat)))
6039
dddbc90c
RV
6040(define-public ghc-hslua-module-text
6041 (package
6042 (name "ghc-hslua-module-text")
ecaf0b0c 6043 (version "0.2.1")
dddbc90c
RV
6044 (source
6045 (origin
6046 (method url-fetch)
6047 (uri (string-append "https://hackage.haskell.org/package/"
6048 "hslua-module-text/hslua-module-text-"
6049 version ".tar.gz"))
6050 (sha256
6051 (base32
ecaf0b0c 6052 "1ikdwvvxhbd5wmfr85dzs2ccamh9rbbpgy899z7s1vlv5q1dj0hk"))))
dddbc90c 6053 (build-system haskell-build-system)
dddbc90c
RV
6054 (inputs
6055 `(("ghc-hslua" ,ghc-hslua)))
6056 (native-inputs
6057 `(("ghc-tasty" ,ghc-tasty)
6058 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6059 (home-page "https://github.com/hslua/hslua-module-text")
6060 (synopsis "Lua module for text")
6061 (description
6062 "This package provides a UTF-8 aware subset of Lua's @code{string} module
6063for Haskell. The functions provided by this module are @code{upper},
6064@code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
6065 (license license:expat)))
6066
fac520bf
TS
6067(define-public ghc-hsyaml
6068 (package
6069 (name "ghc-hsyaml")
6070 (version "0.1.2.0")
6071 (source
6072 (origin
6073 (method url-fetch)
6074 (uri (string-append "https://hackage.haskell.org/package/"
6075 "HsYAML/HsYAML-" version ".tar.gz"))
6076 (sha256
6077 (base32
6078 "1pajfhj16559v64ixm8j7bvxdqmxg6c3c0z3wz7in8ckswgzfp54"))))
6079 (build-system haskell-build-system)
6080 (arguments
6081 `(#:cabal-revision
6082 ("1" "0j6qmmcz5yqh89hs2cq453maix50q61vl2h0ahj5lg02bygn42cf")))
6083 (home-page "https://github.com/haskell-hvr/HsYAML")
6084 (synopsis "Pure Haskell YAML 1.2 parser")
6085 (description "This library provides a
6086@url{http://yaml.org/spec/1.2/spec.html, YAML 1.2} parser implementation
6087for Haskell. Its features include:
6088
6089@itemize
6090@item Pure Haskell implementation with small dependency footprint and
6091emphasis on strict compliance with the YAML 1.2 specification.
6092
6093@item Direct decoding to native Haskell types via (aeson-inspired)
6094typeclass-based API (see @code{Data.YAML}).
6095
6096@item Support for constructing custom YAML node graph
6097representation (including support for cyclic YAML data structures).
6098
6099@item Support for the standard (untyped) @emph{Failsafe}, (strict)
6100@emph{JSON}, and (flexible) @emph{Core} ``schemas'' providing implicit
6101typing rules as defined in the YAML 1.2 specification (including support
6102for user-defined custom schemas).
6103
6104@item Event-based API resembling LibYAML's Event-based API (see
6105@code{Data.YAML.Event}).
6106
6107@item Low-level API access to lexical token-based scanner (see
6108@code{Data.YAML.Token}).
6109@end itemize")
6110 (license license:gpl2+)))
6111
dddbc90c
RV
6112(define-public ghc-http-api-data
6113 (package
6114 (name "ghc-http-api-data")
a57236eb 6115 (version "0.4.1")
dddbc90c
RV
6116 (source
6117 (origin
6118 (method url-fetch)
6119 (uri (string-append "https://hackage.haskell.org/package/"
6120 "http-api-data-" version "/"
6121 "http-api-data-" version ".tar.gz"))
6122 (sha256
6123 (base32
a57236eb 6124 "1ps4bvln43gz72dr9mc3c9n1rn38c4rz6m49vxzz9nz6jz1978rv"))))
dddbc90c 6125 (build-system haskell-build-system)
dddbc90c
RV
6126 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
6127 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
a57236eb 6128 ("ghc-cookie" ,ghc-cookie)
dddbc90c
RV
6129 ("ghc-hashable" ,ghc-hashable)
6130 ("ghc-http-types" ,ghc-http-types)
a57236eb 6131 ("ghc-time-compat" ,ghc-time-compat)
dddbc90c 6132 ("ghc-unordered-containers" ,ghc-unordered-containers)
dddbc90c 6133 ("ghc-uuid-types" ,ghc-uuid-types)))
a57236eb
TS
6134 (native-inputs
6135 `(("cabal-doctest" ,cabal-doctest)
6136 ("ghc-nats" ,ghc-nats)
6137 ("ghc-hunit" ,ghc-hunit)
6138 ("ghc-hspec" ,ghc-hspec)
6139 ("ghc-quickcheck" ,ghc-quickcheck)
6140 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6141 ("ghc-doctest" ,ghc-doctest)
6142 ("hspec-discover" ,hspec-discover)))
dddbc90c
RV
6143 (home-page "https://github.com/fizruk/http-api-data")
6144 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
6145query parameters")
6146 (description "This Haskell package defines typeclasses used for converting
6147Haskell data types to and from HTTP API data.")
6148 (license license:bsd-3)))
6149
6150(define-public ghc-ieee754
6151 (package
6152 (name "ghc-ieee754")
6153 (version "0.8.0")
6154 (source (origin
6155 (method url-fetch)
6156 (uri (string-append
6157 "https://hackage.haskell.org/package/ieee754/"
6158 "ieee754-" version ".tar.gz"))
6159 (sha256
6160 (base32
6161 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
6162 (build-system haskell-build-system)
6163 (home-page "https://github.com/patperry/hs-ieee754")
6164 (synopsis "Utilities for dealing with IEEE floating point numbers")
6165 (description "Utilities for dealing with IEEE floating point numbers,
6166ported from the Tango math library; approximate and exact equality comparisons
6167for general types.")
6168 (license license:bsd-3)))
6169
6170(define-public ghc-ifelse
6171 (package
6172 (name "ghc-ifelse")
6173 (version "0.85")
6174 (source
6175 (origin
6176 (method url-fetch)
6177 (uri (string-append "https://hackage.haskell.org/package/"
6178 "IfElse/IfElse-" version ".tar.gz"))
6179 (sha256
6180 (base32
6181 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
6182 (build-system haskell-build-system)
3ef91e15 6183 (home-page "https://hackage.haskell.org/package/IfElse")
dddbc90c
RV
6184 (synopsis "Monadic control flow with anaphoric variants")
6185 (description "This library provides functions for control flow inside of
6186monads with anaphoric variants on @code{if} and @code{when} and a C-like
6187@code{switch} function.")
6188 (license license:bsd-3)))
6189
6190(define-public ghc-indents
6191 (package
6192 (name "ghc-indents")
d66473fb 6193 (version "0.5.0.1")
dddbc90c
RV
6194 (source (origin
6195 (method url-fetch)
6196 (uri (string-append
6197 "https://hackage.haskell.org/package/indents/indents-"
6198 version ".tar.gz"))
6199 (sha256
6200 (base32
d66473fb 6201 "0dpcwiz0dwn5aqdsc50plfaawh86adhf7jx5dsmhn5q5nz32qn51"))))
dddbc90c
RV
6202 (build-system haskell-build-system)
6203 ;; This package needs an older version of tasty.
6204 (arguments '(#:tests? #f))
6205 (inputs
6206 `(("ghc-concatenative" ,ghc-concatenative)))
6207 (native-inputs
6208 `(("ghc-tasty" ,ghc-tasty)
6209 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6210 (home-page "http://patch-tag.com/r/salazar/indents")
6211 (synopsis "Indentation sensitive parser-combinators for parsec")
6212 (description
6213 "This library provides functions for use in parsing indentation sensitive
6214contexts. It parses blocks of lines all indented to the same level as well as
6215lines continued at an indented level below.")
6216 (license license:bsd-3)))
6217
1f656b17
TS
6218(define-public ghc-infer-license
6219 (package
6220 (name "ghc-infer-license")
6221 (version "0.2.0")
6222 (source
6223 (origin
6224 (method url-fetch)
6225 (uri (string-append "https://hackage.haskell.org/package/"
6226 "infer-license/infer-license-" version ".tar.gz"))
6227 (sha256
6228 (base32
6229 "0wlfm6bf55kfvm74xar9lmjg5v1103rs9m3grw1rq5bmcmhzxrhj"))))
6230 (build-system haskell-build-system)
6231 (inputs
6232 `(("ghc-text-metrics" ,ghc-text-metrics)))
6233 (native-inputs
6234 `(("ghc-hspec" ,ghc-hspec)
6235 ("hspec-discover" ,hspec-discover)))
3ef91e15 6236 (home-page "https://hackage.haskell.org/package/infer-license")
1f656b17
TS
6237 (synopsis "Infer software license from a given license file")
6238 (description "This library provides tools to infer a software
6239license from a given license file.")
6240 (license license:expat)))
6241
dddbc90c
RV
6242(define-public ghc-inline-c
6243 (package
6244 (name "ghc-inline-c")
55ec98f2 6245 (version "0.7.0.1")
dddbc90c
RV
6246 (source
6247 (origin
6248 (method url-fetch)
6249 (uri (string-append "https://hackage.haskell.org/package/inline-c/"
6250 "inline-c-" version ".tar.gz"))
6251 (sha256
6252 (base32
55ec98f2 6253 "19scbviwiv1fbsdcjji3dscjg7w0xa8r97xwkqqrwm7zhvrg5wns"))))
dddbc90c
RV
6254 (build-system haskell-build-system)
6255 (inputs
6256 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
6257 ("ghc-cryptohash" ,ghc-cryptohash)
6258 ("ghc-hashable" ,ghc-hashable)
6259 ("ghc-parsers" ,ghc-parsers)
6260 ("ghc-unordered-containers" ,ghc-unordered-containers)
6261 ("ghc-vector" ,ghc-vector)))
6262 (native-inputs
6263 `(("ghc-quickcheck" ,ghc-quickcheck)
6264 ("ghc-hspec" ,ghc-hspec)
6265 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)
6266 ("ghc-regex-posix" ,ghc-regex-posix)))
3ef91e15 6267 (home-page "https://hackage.haskell.org/package/inline-c")
dddbc90c
RV
6268 (synopsis "Write Haskell source files including C code inline")
6269 (description
6270 "inline-c lets you seamlessly call C libraries and embed high-performance
6271inline C code in Haskell modules. Haskell and C can be freely intermixed in
6272the same source file, and data passed to and from code in either language with
6273minimal overhead. No FFI required.")
6274 (license license:expat)))
6275
6276(define-public ghc-inline-c-cpp
6277 (package
6278 (name "ghc-inline-c-cpp")
cae58e56 6279 (version "0.3.0.3")
dddbc90c
RV
6280 (source
6281 (origin
6282 (method url-fetch)
6283 (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/"
6284 "inline-c-cpp-" version ".tar.gz"))
6285 (sha256
6286 (base32
cae58e56 6287 "1sxwx9dh60qfpa72dymj015zwd6prhb70x5mkabqzi7nhg3aakln"))))
dddbc90c
RV
6288 (build-system haskell-build-system)
6289 (inputs
6290 `(("ghc-inline-c" ,ghc-inline-c)
6291 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
6292 (native-inputs
6293 `(("ghc-hspec" ,ghc-hspec)))
6294 (home-page "https://hackage.haskell.org/package/inline-c-cpp")
6295 (synopsis "Lets you embed C++ code into Haskell")
6296 (description
6297 "This package provides utilities to inline C++ code into Haskell using
6298@code{inline-c}.")
6299 (license license:expat)))
6300
6301(define-public ghc-integer-logarithms
6302 (package
6303 (name "ghc-integer-logarithms")
86a704db 6304 (version "1.0.3")
dddbc90c
RV
6305 (source
6306 (origin
6307 (method url-fetch)
6308 (uri (string-append "https://hackage.haskell.org/package/"
6309 "integer-logarithms/integer-logarithms-"
6310 version ".tar.gz"))
6311 (sha256
6312 (base32
86a704db 6313 "05pc5hws66csvcvfswlwcr2fplwn1lbssvwifjxkbbwqhq0n5qjs"))))
dddbc90c
RV
6314 (build-system haskell-build-system)
6315 (arguments
6316 `(#:phases
6317 (modify-phases %standard-phases
6318 (add-before 'configure 'update-constraints
6319 (lambda _
6320 (substitute* "integer-logarithms.cabal"
6321 (("tasty >= 0\\.10 && < 1\\.1")
6322 "tasty >= 0.10 && < 1.2")))))))
6323 (native-inputs
6324 `(("ghc-quickcheck" ,ghc-quickcheck)
6325 ("ghc-smallcheck" ,ghc-smallcheck)
6326 ("ghc-tasty" ,ghc-tasty)
6327 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6328 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6329 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
6330 (home-page "https://github.com/Bodigrim/integer-logarithms")
6331 (synopsis "Integer logarithms")
6332 (description
6333 "This package provides the following modules:
6334@code{Math.NumberTheory.Logarithms} and
6335@code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
6336@code{GHC.Integer.Logarithms.Compat} and
6337@code{Math.NumberTheory.Power.Natural}, as well as some additional functions
6338in migrated modules.")
6339 (license license:expat)))
6340
6341(define-public ghc-integer-logarithms-bootstrap
6342 (package
6343 (inherit ghc-integer-logarithms)
6344 (name "ghc-integer-logarithms-bootstrap")
6345 (arguments `(#:tests? #f))
6346 (native-inputs '())
799d8d3c 6347 (properties '((hidden? #t)))))
dddbc90c
RV
6348
6349(define-public ghc-interpolate
6350 (package
6351 (name "ghc-interpolate")
6352 (version "0.2.0")
6353 (source
6354 (origin
6355 (method url-fetch)
6356 (uri (string-append "https://hackage.haskell.org/package/interpolate/"
6357 "interpolate-" version ".tar.gz"))
6358 (sha256
6359 (base32
6360 "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf"))))
6361 (build-system haskell-build-system)
6362 (inputs
6363 `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
6364 (native-inputs
6365 `(("ghc-base-compat" ,ghc-base-compat)
6366 ("ghc-hspec" ,ghc-hspec)
6367 ("ghc-quickcheck" ,ghc-quickcheck)
6368 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6369 ("hspec-discover" ,hspec-discover)))
6370 (home-page "https://github.com/sol/interpolate")
6371 (synopsis "String interpolation library")
6372 (description "This package provides a string interpolation library for
6373Haskell.")
6374 (license license:expat)))
6375
6376(define-public ghc-intervalmap
6377 (package
6378 (name "ghc-intervalmap")
e4946e32 6379 (version "0.6.1.1")
dddbc90c
RV
6380 (source
6381 (origin
6382 (method url-fetch)
6383 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
6384 "IntervalMap-" version ".tar.gz"))
6385 (sha256
6386 (base32
e4946e32 6387 "0vdlvxvhf7vjyv0mfn6jaj2i2gclqv8419ck32s2jxfcmki5m5g8"))))
dddbc90c
RV
6388 (build-system haskell-build-system)
6389 (native-inputs
6390 `(("ghc-quickcheck" ,ghc-quickcheck)))
6391 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
6392 (synopsis "Containers for intervals, with efficient search")
6393 (description
6394 "This package provides ordered containers of intervals, with efficient
6395search for all keys containing a point or overlapping an interval. See the
6396example code on the home page for a quick introduction.")
6397 (license license:bsd-3)))
6398
f7ca1fa8
TS
6399(define-public ghc-intervals
6400 (package
6401 (name "ghc-intervals")
6402 (version "0.8.1")
6403 (source
6404 (origin
6405 (method url-fetch)
6406 (uri (string-append "https://hackage.haskell.org/package/"
6407 "intervals/intervals-" version ".tar.gz"))
6408 (sha256
6409 (base32
6410 "00vyxf3ba9d7aas3npfapr53w71fslgh69fczjb25axr66fvzqww"))))
6411 (build-system haskell-build-system)
6412 (inputs
6413 `(("ghc-distributive" ,ghc-distributive)))
6414 (native-inputs
6415 `(("cabal-doctest" ,cabal-doctest)
6416 ("ghc-doctest" ,ghc-doctest)
6417 ("ghc-quickcheck" ,ghc-quickcheck)))
6418 (arguments
6419 `(#:cabal-revision
6420 ("4" "1qx3q0v13l1zaln9zdk8chxpxhshbz5x0vqm0qda7d1kpv7h6a7r")))
6421 (home-page "https://github.com/ekmett/intervals")
6422 (synopsis "Interval arithmetic")
6423 (description "This library provides
6424@code{Numeric.Interval.Interval}, which represets a closed, convex set
6425of floating point values.")
6426 (license license:bsd-3)))
6427
dddbc90c
RV
6428(define-public ghc-invariant
6429 (package
6430 (name "ghc-invariant")
d3a0e0b4 6431 (version "0.5.3")
dddbc90c
RV
6432 (source
6433 (origin
6434 (method url-fetch)
6435 (uri (string-append
6436 "https://hackage.haskell.org/package/invariant/invariant-"
6437 version ".tar.gz"))
6438 (sha256
6439 (base32
d3a0e0b4 6440 "03245nhcqxx6b0yw81fzqaqd7cgllmx8awzhvs2xv7ys73pmsgnp"))))
dddbc90c
RV
6441 (build-system haskell-build-system)
6442 (inputs
6443 `(("ghc-bifunctors" ,ghc-bifunctors)
6444 ("ghc-comonad" ,ghc-comonad)
6445 ("ghc-contravariant" ,ghc-contravariant)
6446 ("ghc-profunctors" ,ghc-profunctors)
6447 ("ghc-semigroups" ,ghc-semigroups)
6448 ("ghc-statevar" ,ghc-statevar)
6449 ("ghc-tagged" ,ghc-tagged)
6450 ("ghc-th-abstraction" ,ghc-th-abstraction)
6451 ("ghc-transformers-compat" ,ghc-transformers-compat)
6452 ("ghc-unordered-containers" ,ghc-unordered-containers)))
6453 (native-inputs
6454 `(("ghc-hspec" ,ghc-hspec)
6455 ("ghc-quickcheck" ,ghc-quickcheck)
6456 ("hspec-discover" ,hspec-discover)))
6457 (home-page "https://github.com/nfrisby/invariant-functors")
6458 (synopsis "Haskell98 invariant functors")
6459 (description "Haskell98 invariant functors (also known as exponential
6460functors). For more information, see Edward Kmett's article
6461@uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.")
6462 (license license:bsd-2)))
6463
6464(define-public ghc-io-streams
6465 (package
6466 (name "ghc-io-streams")
59e98d75 6467 (version "1.5.1.0")
dddbc90c
RV
6468 (source
6469 (origin
6470 (method url-fetch)
6471 (uri (string-append "https://hackage.haskell.org/package/"
6472 "io-streams/io-streams-" version ".tar.gz"))
6473 (sha256
6474 (base32
59e98d75 6475 "1c7byr943x41nxpc3bnz152fvfbmakafq2958wyf9qiyp2pz18la"))))
dddbc90c
RV
6476 (build-system haskell-build-system)
6477 (inputs
6478 `(("ghc-attoparsec" ,ghc-attoparsec)
6479 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6480 ("ghc-network" ,ghc-network)
6481 ("ghc-primitive" ,ghc-primitive)
6482 ("ghc-vector" ,ghc-vector)
6483 ("ghc-zlib-bindings" ,ghc-zlib-bindings)))
6484 (native-inputs
6485 `(("ghc-hunit" ,ghc-hunit)
6486 ("ghc-quickcheck" ,ghc-quickcheck)
6487 ("ghc-test-framework" ,ghc-test-framework)
6488 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6489 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6490 ("ghc-zlib" ,ghc-zlib)))
3ef91e15 6491 (home-page "https://hackage.haskell.org/package/io-streams")
dddbc90c
RV
6492 (synopsis "Simple and composable stream I/O")
6493 (description "This library contains simple and easy-to-use
6494primitives for I/O using streams.")
6495 (license license:bsd-3)))
6496
6497(define-public ghc-io-streams-haproxy
6498 (package
6499 (name "ghc-io-streams-haproxy")
1a4fbc36 6500 (version "1.0.1.0")
dddbc90c
RV
6501 (source
6502 (origin
6503 (method url-fetch)
6504 (uri (string-append "https://hackage.haskell.org/package/"
6505 "io-streams-haproxy/io-streams-haproxy-"
6506 version ".tar.gz"))
6507 (sha256
6508 (base32
1a4fbc36 6509 "1dcn5hd4fiwyq7m01r6fi93vfvygca5s6mz87c78m0zyj29clkmp"))))
dddbc90c
RV
6510 (build-system haskell-build-system)
6511 (inputs
6512 `(("ghc-attoparsec" ,ghc-attoparsec)
6513 ("ghc-io-streams" ,ghc-io-streams)
6514 ("ghc-network" ,ghc-network)))
6515 (native-inputs
6516 `(("ghc-hunit" ,ghc-hunit)
6517 ("ghc-test-framework" ,ghc-test-framework)
6518 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
dddbc90c
RV
6519 (home-page "http://snapframework.com/")
6520 (synopsis "HAProxy protocol 1.5 support for io-streams")
6521 (description "HAProxy protocol version 1.5 support
6522(see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt})
6523for applications using io-streams. The proxy protocol allows information
6524about a networked peer (like remote address and port) to be propagated
6525through a forwarding proxy that is configured to speak this protocol.")
6526 (license license:bsd-3)))
6527
6528(define-public ghc-iproute
6529 (package
6530 (name "ghc-iproute")
ec25d536 6531 (version "1.7.7")
dddbc90c
RV
6532 (source
6533 (origin
6534 (method url-fetch)
6535 (uri (string-append
6536 "https://hackage.haskell.org/package/iproute/iproute-"
6537 version
6538 ".tar.gz"))
6539 (sha256
6540 (base32
ec25d536 6541 "0gab5930nvzrpvisx3x43ydnp2rd4fbmy9cq1zpgqy1adx5gx8z6"))))
dddbc90c
RV
6542 (build-system haskell-build-system)
6543 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
6544 ; exported by ghc-byteorder. Doctest issue.
6545 (inputs
6546 `(("ghc-appar" ,ghc-appar)
6547 ("ghc-byteorder" ,ghc-byteorder)
6548 ("ghc-network" ,ghc-network)
6549 ("ghc-safe" ,ghc-safe)))
6550 (home-page "https://www.mew.org/~kazu/proj/iproute/")
6551 (synopsis "IP routing table")
6552 (description "IP Routing Table is a tree of IP ranges to search one of
6553them on the longest match base. It is a kind of TRIE with one way branching
6554removed. Both IPv4 and IPv6 are supported.")
6555 (license license:bsd-3)))
6556
4828e54e
TS
6557(define-public ghc-ipynb
6558 (package
6559 (name "ghc-ipynb")
6560 (version "0.1")
6561 (source
6562 (origin
6563 (method url-fetch)
6564 (uri (string-append "https://hackage.haskell.org/package/"
6565 "ipynb/ipynb-" version ".tar.gz"))
6566 (sha256
6567 (base32
6568 "0daadhzil4q573mqb0rpvjzm0vpkzgzqcimw480qpvlh6rhppwj5"))))
6569 (build-system haskell-build-system)
6570 (inputs
6571 `(("ghc-unordered-containers" ,ghc-unordered-containers)
6572 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6573 ("ghc-aeson" ,ghc-aeson)
6574 ("ghc-semigroups" ,ghc-semigroups)))
6575 (native-inputs
6576 `(("ghc-tasty" ,ghc-tasty)
6577 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6578 ("ghc-aeson-diff" ,ghc-aeson-diff)
6579 ("ghc-microlens-aeson" ,ghc-microlens-aeson)
6580 ("ghc-microlens" ,ghc-microlens)
6581 ("ghc-vector" ,ghc-vector)))
6582 (home-page "https://hackage.haskell.org/package/ipynb")
6583 (synopsis "Data structure for working with Jupyter notebooks")
6584 (description "This library defines a data structure for representing
6585Jupyter notebooks, along with @code{ToJSON} and @code{FromJSON}
6586instances for conversion to and from JSON .ipynb files.")
6587 (license license:bsd-3)))
6588
dddbc90c
RV
6589(define-public ghc-iwlib
6590 (package
6591 (name "ghc-iwlib")
6592 (version "0.1.0")
6593 (source
6594 (origin
6595 (method url-fetch)
6596 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
6597 version ".tar.gz"))
6598 (sha256
6599 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
6600 (build-system haskell-build-system)
54a5fd07
TS
6601 (arguments
6602 `(#:extra-directories ("wireless-tools")))
dddbc90c
RV
6603 (inputs
6604 `(("wireless-tools" ,wireless-tools)))
6605 (home-page "https://github.com/jaor/iwlib")
6606 (synopsis "Haskell binding to the iw wireless networking library")
6607 (description
6608 "IWlib is a thin Haskell binding to the iw C library. It provides
6609information about the current wireless network connections, and adapters on
6610supported systems.")
6611 (license license:bsd-3)))
6612
6613(define-public ghc-json
6614 (package
6615 (name "ghc-json")
0ad3d574 6616 (version "0.9.3")
dddbc90c
RV
6617 (source
6618 (origin
6619 (method url-fetch)
6620 (uri (string-append "https://hackage.haskell.org/package/json/"
6621 "json-" version ".tar.gz"))
6622 (sha256
6623 (base32
0ad3d574 6624 "1z8s3mfg76p2flqqd2wqsi96l5bg8k8w8m58zlv81pw3k7h1vbwb"))))
dddbc90c
RV
6625 (build-system haskell-build-system)
6626 (inputs
6627 `(("ghc-syb" ,ghc-syb)))
6628 (home-page "https://hackage.haskell.org/package/json")
6629 (synopsis "Serializes Haskell data to and from JSON")
6630 (description "This package provides a parser and pretty printer for
6631converting between Haskell values and JSON.
6632JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
6633 (license license:bsd-3)))
6634
6635(define-public ghc-juicypixels
6636 (package
6637 (name "ghc-juicypixels")
b50b6004 6638 (version "3.3.4")
dddbc90c
RV
6639 (source (origin
6640 (method url-fetch)
6641 (uri (string-append "https://hackage.haskell.org/package/"
6642 "JuicyPixels/JuicyPixels-"
6643 version ".tar.gz"))
6644 (sha256
6645 (base32
b50b6004 6646 "0qacrnz2qcykj3f6c4k2p8qd31pa2slpv3ykfblgizrfh3401q6x"))))
dddbc90c 6647 (build-system haskell-build-system)
a023e7d0 6648 (outputs '("out" "static" "doc"))
dddbc90c
RV
6649 (inputs
6650 `(("ghc-zlib" ,ghc-zlib)
6651 ("ghc-vector" ,ghc-vector)
6652 ("ghc-primitive" ,ghc-primitive)
6653 ("ghc-mmap" ,ghc-mmap)))
6654 (home-page "https://github.com/Twinside/Juicy.Pixels")
6655 (synopsis "Picture loading and serialization library")
6656 (description
6657 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
6658TIFF and GIF formats.")
6659 (license license:bsd-3)))
6660
6661(define-public ghc-kan-extensions
6662 (package
6663 (name "ghc-kan-extensions")
6664 (version "5.2")
6665 (source
6666 (origin
6667 (method url-fetch)
6668 (uri (string-append
6669 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
6670 version
6671 ".tar.gz"))
6672 (sha256
6673 (base32
6674 "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb"))))
6675 (build-system haskell-build-system)
6676 (inputs
6677 `(("ghc-adjunctions" ,ghc-adjunctions)
6678 ("ghc-comonad" ,ghc-comonad)
6679 ("ghc-contravariant" ,ghc-contravariant)
6680 ("ghc-distributive" ,ghc-distributive)
6681 ("ghc-free" ,ghc-free)
6682 ("ghc-invariant" ,ghc-invariant)
6683 ("ghc-semigroupoids" ,ghc-semigroupoids)
6684 ("ghc-tagged" ,ghc-tagged)
6685 ("ghc-transformers-compat" ,ghc-transformers-compat)))
6686 (home-page "https://github.com/ekmett/kan-extensions/")
6687 (synopsis "Kan extensions library")
6688 (description "This library provides Kan extensions, Kan lifts, various
6689forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
6690 (license license:bsd-3)))
6691
6692(define-public ghc-language-c
6693 (package
6694 (name "ghc-language-c")
4e1cf651 6695 (version "0.8.3")
dddbc90c
RV
6696 (source
6697 (origin
6698 (method url-fetch)
6699 (uri (string-append "https://hackage.haskell.org/package/"
6700 "language-c/language-c-" version ".tar.gz"))
6701 (sha256
6702 (base32
4e1cf651 6703 "0bi02jdirkys8v7flf39vrpla2a74z1z0sdhy9lb9v7cmcc6rmpk"))))
dddbc90c
RV
6704 (build-system haskell-build-system)
6705 (inputs `(("ghc-syb" ,ghc-syb)))
6706 (native-inputs
6707 `(("ghc-happy" ,ghc-happy)
6708 ("ghc-alex" ,ghc-alex)))
6709 (home-page "https://visq.github.io/language-c/")
6710 (synopsis "Analysis and generation of C code")
6711 (description
6712 "Language C is a Haskell library for the analysis and generation of C code.
6713It features a complete, well-tested parser and pretty printer for all of C99
6714and a large set of GNU extensions.")
6715 (license license:bsd-3)))
6716
6717(define-public ghc-language-glsl
6718 (package
6719 (name "ghc-language-glsl")
6720 (version "0.3.0")
6721 (source
6722 (origin
6723 (method url-fetch)
6724 (uri (string-append "https://hackage.haskell.org/package/"
6725 "language-glsl/language-glsl-" version ".tar.gz"))
6726 (sha256
6727 (base32
6728 "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1"))))
6729 (build-system haskell-build-system)
6730 (inputs `(("ghc-prettyclass" ,ghc-prettyclass)))
6731 (arguments
6732 `(#:tests? #f
6733 #:cabal-revision
6734 ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5")))
3ef91e15 6735 (home-page "https://hackage.haskell.org/package/language-glsl")
dddbc90c
RV
6736 (synopsis "GLSL abstract syntax tree, parser, and pretty-printer")
6737 (description "This package is a Haskell library for the
6738representation, parsing, and pretty-printing of GLSL 1.50 code.")
6739 (license license:bsd-3)))
6740
6741(define-public ghc-language-haskell-extract
6742 (package
6743 (name "ghc-language-haskell-extract")
6744 (version "0.2.4")
6745 (source
6746 (origin
6747 (method url-fetch)
6748 (uri (string-append "https://hackage.haskell.org/package/"
6749 "language-haskell-extract-" version "/"
6750 "language-haskell-extract-" version ".tar.gz"))
6751 (sha256
6752 (base32
6753 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
6754 (build-system haskell-build-system)
6755 (inputs
6756 `(("ghc-regex-posix" ,ghc-regex-posix)))
6757 (home-page "https://github.com/finnsson/template-helper")
6758 (synopsis "Haskell module to automatically extract functions from
6759the local code")
6760 (description "This package contains helper functions on top of
6761Template Haskell.
6762
6763For example, @code{functionExtractor} extracts all functions after a
6764regexp-pattern, which can be useful if you wish to extract all functions
6765beginning with @code{test} (for a test framework) or all functions beginning
6766with @code{wc} (for a web service).")
6767 (license license:bsd-3)))
6768
6769(define-public ghc-lens
6770 (package
6771 (name "ghc-lens")
262e6323 6772 (version "4.17.1")
dddbc90c
RV
6773 (source
6774 (origin
6775 (method url-fetch)
6776 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
6777 version ".tar.gz"))
6778 (sha256
6779 (base32
262e6323 6780 "1gpkc53l2cggnfrgg5k4ih82rycjbdvpj9pnbi5cq8ms0dbvs4a7"))))
dddbc90c 6781 (build-system haskell-build-system)
b35361e9 6782 (outputs '("out" "static" "doc"))
dddbc90c
RV
6783 (inputs
6784 `(("ghc-base-orphans" ,ghc-base-orphans)
6785 ("ghc-bifunctors" ,ghc-bifunctors)
6786 ("ghc-distributive" ,ghc-distributive)
6787 ("ghc-exceptions" ,ghc-exceptions)
6788 ("ghc-free" ,ghc-free)
6789 ("ghc-kan-extensions" ,ghc-kan-extensions)
6790 ("ghc-parallel" ,ghc-parallel)
6791 ("ghc-reflection" ,ghc-reflection)
6792 ("ghc-semigroupoids" ,ghc-semigroupoids)
6793 ("ghc-vector" ,ghc-vector)
6794 ("ghc-call-stack" ,ghc-call-stack)
6795 ("ghc-comonad" ,ghc-comonad)
6796 ("ghc-contravariant" ,ghc-contravariant)
6797 ("ghc-hashable" ,ghc-hashable)
6798 ("ghc-profunctors" ,ghc-profunctors)
6799 ("ghc-semigroups" ,ghc-semigroups)
6800 ("ghc-tagged" ,ghc-tagged)
6801 ("ghc-transformers-compat" ,ghc-transformers-compat)
6802 ("ghc-unordered-containers" ,ghc-unordered-containers)
6803 ("ghc-void" ,ghc-void)
6804 ("ghc-generic-deriving" ,ghc-generic-deriving)
6805 ("ghc-nats" ,ghc-nats)
6806 ("ghc-simple-reflect" ,ghc-simple-reflect)
6807 ("hlint" ,hlint)))
6808 (native-inputs
6809 `(("cabal-doctest" ,cabal-doctest)
6810 ("ghc-doctest" ,ghc-doctest)
6811 ("ghc-hunit" ,ghc-hunit)
6812 ("ghc-test-framework" ,ghc-test-framework)
6813 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6814 ("ghc-test-framework-th" ,ghc-test-framework-th)
6815 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6816 ("ghc-quickcheck" ,ghc-quickcheck)))
6817 (home-page "https://github.com/ekmett/lens/")
6818 (synopsis "Lenses, Folds and Traversals")
6819 (description "This library provides @code{Control.Lens}. The combinators
6820in @code{Control.Lens} provide a highly generic toolbox for composing families
6821of getters, folds, isomorphisms, traversals, setters and lenses and their
6822indexed variants.")
6823 (license license:bsd-3)))
6824
bcd35444
JS
6825(define-public ghc-lens-family-core
6826 (package
6827 (name "ghc-lens-family-core")
6828 (version "1.2.3")
6829 (source
6830 (origin
6831 (method url-fetch)
6832 (uri (string-append
6833 "mirror://hackage/package/lens-family-core/lens-family-core-"
6834 version
6835 ".tar.gz"))
6836 (sha256
6837 (base32
6838 "009rf10pj1cb50v44cc1pq7qvfrmkkk9dikahs9qmvbvgl3mykwi"))))
6839 (build-system haskell-build-system)
6840 (home-page
6841 "http://hackage.haskell.org/package/lens-family-core")
6842 (synopsis "Haskell 98 Lens Families")
6843 (description
6844 "This package provides first class functional references. In addition to
6845the usual operations of getting, setting and composition, plus integration
6846with the state monad, lens families provide some unique features:
6847
6848@itemize
6849@item Polymorphic updating
6850@item Traversals
6851@item Cast projection functions to read-only lenses
6852@item Cast @code{toList} functions to read-only traversals
6853@item Cast semantic editor combinators to modify-only traversals
6854@end itemize
6855
6856For optimal first-class support use the lens-family package with rank 2/rank N
6857polymorphism. @code{Lens.Family.Clone} allows for first-class support of
6858lenses and traversals for those who require Haskell 98.")
6859 (license license:bsd-3)))
6860
dddbc90c
RV
6861(define-public ghc-libffi
6862 (package
6863 (name "ghc-libffi")
6864 (version "0.1")
6865 (source
6866 (origin
6867 (method url-fetch)
6868 (uri (string-append "https://hackage.haskell.org/package/"
6869 "libffi/libffi-" version ".tar.gz"))
6870 (sha256
6871 (base32
6872 "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28"))))
6873 (build-system haskell-build-system)
6874 (native-inputs `(("pkg-config" ,pkg-config)))
6875 (inputs `(("libffi" ,libffi)))
3ef91e15 6876 (home-page "https://hackage.haskell.org/package/libffi")
dddbc90c
RV
6877 (synopsis "Haskell binding to libffi")
6878 (description
6879 "A binding to libffi, allowing C functions of types only known at runtime
6880to be called from Haskell.")
6881 (license license:bsd-3)))
6882
6883(define-public ghc-libmpd
6884 (package
6885 (name "ghc-libmpd")
bbf9845f 6886 (version "0.9.0.10")
dddbc90c
RV
6887 (source
6888 (origin
6889 (method url-fetch)
6890 (uri (string-append
6891 "mirror://hackage/package/libmpd/libmpd-"
6892 version
6893 ".tar.gz"))
6894 (sha256
6895 (base32
bbf9845f 6896 "0vy287mn1vk8kvij5i3hc0p02l886cpsq5dds7kl6g520si3abkb"))))
dddbc90c
RV
6897 (build-system haskell-build-system)
6898 ;; Tests fail on i686.
6899 ;; See https://github.com/vimus/libmpd-haskell/issues/112
6900 (arguments `(#:tests? #f))
6901 (inputs
6902 `(("ghc-attoparsec" ,ghc-attoparsec)
6903 ("ghc-old-locale" ,ghc-old-locale)
6904 ("ghc-data-default-class" ,ghc-data-default-class)
6905 ("ghc-network" ,ghc-network)
bbf9845f 6906 ("ghc-safe-exceptions" ,ghc-safe-exceptions)
dddbc90c
RV
6907 ("ghc-utf8-string" ,ghc-utf8-string)))
6908 (native-inputs
6909 `(("ghc-quickcheck" ,ghc-quickcheck)
6910 ("ghc-hspec" ,ghc-hspec)
6911 ("hspec-discover" ,hspec-discover)))
6912 (home-page "https://github.com/vimus/libmpd-haskell")
6913 (synopsis "Haskell client library for the Music Player Daemon")
6914 (description "This package provides a pure Haskell client library for the
6915Music Player Daemon.")
6916 (license license:expat)))
6917
e34df1c3
TS
6918(define-public ghc-lib-parser
6919 (package
6920 (name "ghc-lib-parser")
6921 (version "8.8.0.20190424")
6922 (source
6923 (origin
6924 (method url-fetch)
6925 (uri (string-append "https://hackage.haskell.org/package/"
6926 "ghc-lib-parser/ghc-lib-parser-" version ".tar.gz"))
6927 (sha256
6928 (base32
6929 "12gsh994pr13bsybwlravmi21la66dyw74pk74yfw2pnz682wv10"))))
6930 (build-system haskell-build-system)
7e62ebb3 6931 (outputs '("out" "static" "doc")) ; documentation is 39M
e34df1c3
TS
6932 (native-inputs
6933 `(("ghc-alex" ,ghc-alex)
6934 ("ghc-happy" ,ghc-happy)))
6935 (home-page "https://github.com/digital-asset/ghc-lib")
6936 (synopsis "The GHC API, decoupled from GHC versions")
6937 (description "This library implements the GHC API. It is like the
6938compiler-provided @code{ghc} package, but it can be loaded on many
6939compiler versions.")
6940 (license license:bsd-3)))
6941
dddbc90c
RV
6942(define-public ghc-libxml
6943 (package
6944 (name "ghc-libxml")
6945 (version "0.1.1")
6946 (source
6947 (origin
6948 (method url-fetch)
6949 (uri (string-append "https://hackage.haskell.org/package/libxml/"
6950 "libxml-" version ".tar.gz"))
6951 (sha256
6952 (base32
6953 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
6954 (build-system haskell-build-system)
6955 (inputs
6956 `(("libxml2" ,libxml2)))
6957 (arguments
6958 `(#:configure-flags
6959 `(,(string-append "--extra-include-dirs="
6960 (assoc-ref %build-inputs "libxml2")
6961 "/include/libxml2"))))
6962 (home-page "https://hackage.haskell.org/package/libxml")
6963 (synopsis "Haskell bindings to libxml2")
6964 (description
6965 "This library provides minimal Haskell binding to libxml2.")
6966 (license license:bsd-3)))
6967
0c2d6fc2
TS
6968(define-public ghc-libyaml
6969 (package
6970 (name "ghc-libyaml")
6971 (version "0.1.1.0")
6972 (source
6973 (origin
6974 (method url-fetch)
6975 (uri (string-append "https://hackage.haskell.org/package/"
6976 "libyaml/libyaml-" version ".tar.gz"))
6977 (sha256
6978 (base32
6979 "0psznm9c3yjsyj9aj8m2svvv9m2v0x90hnwarcx5sbswyi3l00va"))
6980 (modules '((guix build utils)))
6981 (snippet
6982 ;; Delete bundled LibYAML.
6983 '(begin
6984 (delete-file-recursively "libyaml_src")
6985 #t))))
6986 (build-system haskell-build-system)
6987 (arguments
54a5fd07
TS
6988 `(#:configure-flags `("--flags=system-libyaml")
6989 #:extra-directories ("libyaml")))
0c2d6fc2
TS
6990 (inputs
6991 `(("ghc-conduit" ,ghc-conduit)
6992 ("ghc-resourcet" ,ghc-resourcet)
1b35d303 6993 ("libyaml" ,libyaml)))
0c2d6fc2
TS
6994 (home-page "https://github.com/snoyberg/yaml#readme")
6995 (synopsis "Low-level, streaming YAML interface.")
6996 (description "This package provides a Haskell wrapper over the
6997LibYAML C library.")
6998 (license license:bsd-3)))
6999
dddbc90c
RV
7000(define-public ghc-lifted-async
7001 (package
7002 (name "ghc-lifted-async")
b5b6d7ea 7003 (version "0.10.0.4")
dddbc90c
RV
7004 (source
7005 (origin
7006 (method url-fetch)
7007 (uri (string-append
7008 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7009 version ".tar.gz"))
7010 (sha256
7011 (base32
b5b6d7ea 7012 "0cwl1d0wjpdk0v1l1qxiqiksmak950c8gx169c1q77cg0z18ijf9"))))
dddbc90c
RV
7013 (build-system haskell-build-system)
7014 (inputs
7015 `(("ghc-async" ,ghc-async)
7016 ("ghc-lifted-base" ,ghc-lifted-base)
7017 ("ghc-transformers-base" ,ghc-transformers-base)
7018 ("ghc-monad-control" ,ghc-monad-control)
7019 ("ghc-constraints" ,ghc-constraints)
7020 ("ghc-hunit" ,ghc-hunit)
7021 ("ghc-tasty" ,ghc-tasty)
7022 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
7023 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7024 ("ghc-tasty-th" ,ghc-tasty-th)))
7025 (home-page "https://github.com/maoe/lifted-async")
7026 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7027 (description
7028 "This package provides IO operations from @code{async} package lifted to any
7029instance of @code{MonadBase} or @code{MonadBaseControl}.")
7030 (license license:bsd-3)))
7031
7032(define-public ghc-lifted-base
7033 (package
7034 (name "ghc-lifted-base")
7035 (version "0.2.3.12")
7036 (source
7037 (origin
7038 (method url-fetch)
7039 (uri (string-append
7040 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
7041 version
7042 ".tar.gz"))
7043 (sha256
7044 (base32
7045 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
7046 (build-system haskell-build-system)
7047 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
7048 (inputs
7049 `(("ghc-transformers-base" ,ghc-transformers-base)
7050 ("ghc-monad-control" ,ghc-monad-control)
7051 ("ghc-transformers-compat" ,ghc-transformers-compat)
7052 ("ghc-hunit" ,ghc-hunit)))
7053 (home-page "https://github.com/basvandijk/lifted-base")
7054 (synopsis "Lifted IO operations from the base library")
7055 (description "Lifted-base exports IO operations from the @code{base}
7056library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
7057Note that not all modules from @code{base} are converted yet. The package
7058includes a copy of the @code{monad-peel} test suite written by Anders
7059Kaseorg.")
7060 (license license:bsd-3)))
7061
7062(define-public ghc-linear
7063 (package
7064 (name "ghc-linear")
86526f37 7065 (version "1.20.9")
dddbc90c
RV
7066 (source
7067 (origin
7068 (method url-fetch)
7069 (uri (string-append "https://hackage.haskell.org/package/linear/"
7070 "linear-" version ".tar.gz"))
7071 (sha256
7072 (base32
86526f37 7073 "0h7yqigq593n7wsl7nz6a5f137wznm7y679wsii0ph0zsc4v5af5"))))
dddbc90c
RV
7074 (build-system haskell-build-system)
7075 (inputs
7076 `(("ghc-adjunctions" ,ghc-adjunctions)
7077 ("ghc-base-orphans" ,ghc-base-orphans)
7078 ("ghc-bytes" ,ghc-bytes)
7079 ("ghc-cereal" ,ghc-cereal)
7080 ("ghc-distributive" ,ghc-distributive)
7081 ("ghc-hashable" ,ghc-hashable)
7082 ("ghc-lens" ,ghc-lens)
7083 ("ghc-reflection" ,ghc-reflection)
7084 ("ghc-semigroups" ,ghc-semigroups)
7085 ("ghc-semigroupoids" ,ghc-semigroupoids)
7086 ("ghc-tagged" ,ghc-tagged)
7087 ("ghc-transformers-compat" ,ghc-transformers-compat)
7088 ("ghc-unordered-containers" ,ghc-unordered-containers)
7089 ("ghc-vector" ,ghc-vector)
7090 ("ghc-void" ,ghc-void)))
7091 (native-inputs
7092 `(("cabal-doctest" ,cabal-doctest)
7093 ("ghc-doctest" ,ghc-doctest)
7094 ("ghc-simple-reflect" ,ghc-simple-reflect)
7095 ("ghc-test-framework" ,ghc-test-framework)
7096 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7097 ("ghc-hunit" ,ghc-hunit)))
702a1012 7098 (home-page "https://github.com/ekmett/linear/")
dddbc90c
RV
7099 (synopsis "Linear algebra library for Haskell")
7100 (description
7101 "This package provides types and combinators for linear algebra on free
7102vector spaces.")
7103 (license license:bsd-3)))
1307e4c7
JS
7104
7105(define-public ghc-listlike
7106 (package
7107 (name "ghc-listlike")
7108 (version "4.6.2")
7109 (source
7110 (origin
7111 (method url-fetch)
7112 (uri
7113 (string-append
7114 "https://hackage.haskell.org/package/ListLike/ListLike-"
7115 version ".tar.gz"))
7116 (sha256
7117 (base32
7118 "0m65x8yaq7q50gznln8mga2wrc8cvjx6gw9rim8s7xqcrx6y5zjh"))))
7119 (build-system haskell-build-system)
7120 (inputs
7121 `(("ghc-vector" ,ghc-vector)
7122 ("ghc-dlist" ,ghc-dlist)
7123 ("ghc-fmlist" ,ghc-fmlist)
7124 ("ghc-hunit" ,ghc-hunit)
7125 ("ghc-quickcheck" ,ghc-quickcheck)
7126 ("ghc-random" ,ghc-random)
7127 ("ghc-utf8-string" ,ghc-utf8-string)))
7128 (home-page "https://github.com/JohnLato/listlike")
7129 (synopsis "Generic support for list-like structures")
7130 (description "The ListLike module provides a common interface to the
7131various Haskell types that are list-like. Predefined interfaces include
7132standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings.
7133Custom types can easily be made ListLike instances as well.
7134
7135ListLike also provides for String-like types, such as String and
7136ByteString, for types that support input and output, and for types that
7137can handle infinite lists.")
7138 (license license:bsd-3)))
dddbc90c 7139
84436be0
J
7140(define-public ghc-llvm-hs-pure
7141 (package
7142 (name "ghc-llvm-hs-pure")
7143 (version "9.0.0")
7144 (source
7145 (origin
7146 (method url-fetch)
7147 (uri (string-append "https://hackage.haskell.org/package/llvm-hs-pure/"
7148 "llvm-hs-pure-" version ".tar.gz"))
7149 (sha256
7150 (base32
7151 "0pxb5ah8r5pzpz2ibqw3g9g1isigb4z7pbzfrwr8kmcjn74ab3kf"))))
7152 (build-system haskell-build-system)
7153 (inputs
7154 `(("ghc-attoparsec" ,ghc-attoparsec)
7155 ("ghc-fail" ,ghc-fail)
7156 ("ghc-unordered-containers" ,ghc-unordered-containers)))
7157 (native-inputs
7158 `(("ghc-tasty" ,ghc-tasty)
7159 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7160 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7161 (home-page "https://github.com/llvm-hs/llvm-hs/")
7162 (synopsis "Pure Haskell LLVM functionality (no FFI)")
7163 (description "llvm-hs-pure is a set of pure Haskell types and functions
7164for interacting with LLVM. It includes an algebraic datatype (ADT) to represent
7165LLVM IR. The llvm-hs package builds on this one with FFI bindings to LLVM, but
7166llvm-hs-pure does not require LLVM to be available.")
7167 (license license:bsd-3)))
7168
e3ee8023
J
7169(define-public ghc-llvm-hs
7170 (package
7171 (name "ghc-llvm-hs")
7172 (version "9.0.1")
7173 (source
7174 (origin
7175 (method url-fetch)
7176 (uri (string-append "https://hackage.haskell.org/package/llvm-hs/llvm-hs-"
7177 version ".tar.gz"))
7178 (sha256
7179 (base32
7180 "0723xgh45h9cyxmmjsvxnsp8bpn1ljy4qgh7a7vqq3sj9d6wzq00"))))
7181 (build-system haskell-build-system)
7182 (inputs
7183 `(("ghc-attoparsec" ,ghc-attoparsec)
7184 ("ghc-exceptions" ,ghc-exceptions)
7185 ("ghc-utf8-string" ,ghc-utf8-string)
7186 ("ghc-llvm-hs-pure" ,ghc-llvm-hs-pure)
7187 ("llvm" ,llvm-9)))
7188 (native-inputs
7189 `(("ghc-tasty" ,ghc-tasty)
7190 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7191 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7192 ("ghc-quickcheck" ,ghc-quickcheck)
7193 ("ghc-temporary" ,ghc-temporary)
7194 ("ghc-pretty-show" ,ghc-pretty-show)
7195 ("ghc-temporary" ,ghc-temporary)))
7196 (home-page "https://github.com/llvm-hs/llvm-hs/")
7197 (synopsis "General purpose LLVM bindings for Haskell")
7198 (description "llvm-hs is a set of Haskell bindings for LLVM. Unlike other
7199current Haskell bindings, it uses an algebraic datatype (ADT) to represent LLVM
7200IR, and so offers two advantages: it handles almost all of the stateful
7201complexities of using the LLVM API to build IR; and it supports moving IR not
7202only from Haskell into LLVM C++ objects, but the other direction - from LLVM C++
7203into Haskell.")
7204 (license license:bsd-3)))
7205
dddbc90c
RV
7206(define-public ghc-logging-facade
7207 (package
7208 (name "ghc-logging-facade")
7209 (version "0.3.0")
7210 (source (origin
7211 (method url-fetch)
7212 (uri (string-append "https://hackage.haskell.org/package/"
7213 "logging-facade/logging-facade-"
7214 version ".tar.gz"))
7215 (sha256
7216 (base32
7217 "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf"))))
7218 (build-system haskell-build-system)
7219 (native-inputs
7220 `(("ghc-hspec" ,ghc-hspec)
7221 ("hspec-discover" ,hspec-discover)))
7222 (home-page "https://hackage.haskell.org/package/logging-facade")
7223 (synopsis "Simple logging abstraction that allows multiple back-ends")
7224 (description
7225 "This package provides a simple logging abstraction that allows multiple
7226back-ends.")
7227 (license license:expat)))
7228
7229(define-public ghc-logict
7230 (package
7231 (name "ghc-logict")
79d9326f 7232 (version "0.7.0.2")
dddbc90c
RV
7233 (source
7234 (origin
7235 (method url-fetch)
7236 (uri (string-append
7237 "https://hackage.haskell.org/package/logict/logict-"
7238 version
7239 ".tar.gz"))
7240 (sha256
7241 (base32
79d9326f 7242 "1xfgdsxg0lp8m0a2cb83rcxrnnc37asfikay2kydi933anh9ihfc"))))
dddbc90c 7243 (build-system haskell-build-system)
79d9326f
TS
7244 (native-inputs
7245 `(("ghc-tasty" ,ghc-tasty)
7246 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
dddbc90c
RV
7247 (home-page "http://code.haskell.org/~dolio/")
7248 (synopsis "Backtracking logic-programming monad")
7249 (description "This library provides a continuation-based, backtracking,
7250logic programming monad. An adaptation of the two-continuation implementation
7251found in the paper \"Backtracking, Interleaving, and Terminating Monad
7252Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
7253online}.")
7254 (license license:bsd-3)))
7255
7256(define-public ghc-lzma
7257 (package
7258 (name "ghc-lzma")
7259 (version "0.0.0.3")
7260 (source
7261 (origin
7262 (method url-fetch)
7263 (uri (string-append "https://hackage.haskell.org/package/lzma/"
7264 "lzma-" version ".tar.gz"))
7265 (sha256
7266 (base32
7267 "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg"))))
7268 (build-system haskell-build-system)
7269 (arguments
7270 '(#:tests? #f ; requires older versions of QuickCheck and tasty.
7271 #:cabal-revision
7272 ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m")))
7273 (native-inputs
7274 `(("ghc-hunit" ,ghc-hunit)
7275 ("ghc-quickcheck" ,ghc-quickcheck)
7276 ("ghc-tasty" ,ghc-tasty)
7277 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7278 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7279 (home-page "https://github.com/hvr/lzma")
7280 (synopsis "LZMA/XZ compression and decompression")
7281 (description
7282 "This package provides a pure interface for compressing and
7283decompressing LZMA streams of data represented as lazy @code{ByteString}s. A
7284monadic incremental interface is provided as well.")
7285 (license license:bsd-3)))
7286
7287(define-public ghc-lzma-conduit
7288 (package
7289 (name "ghc-lzma-conduit")
7290 (version "1.2.1")
7291 (source
7292 (origin
7293 (method url-fetch)
7294 (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/"
7295 "lzma-conduit-" version ".tar.gz"))
7296 (sha256
7297 (base32
7298 "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9"))))
7299 (build-system haskell-build-system)
7300 (inputs
7301 `(("ghc-conduit" ,ghc-conduit)
7302 ("ghc-lzma" ,ghc-lzma)
7303 ("ghc-resourcet" ,ghc-resourcet)))
7304 (native-inputs
7305 `(("ghc-base-compat" ,ghc-base-compat)
7306 ("ghc-test-framework" ,ghc-test-framework)
7307 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7308 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7309 ("ghc-hunit" ,ghc-hunit)
7310 ("ghc-quickcheck" ,ghc-quickcheck)))
7311 (home-page "https://github.com/alphaHeavy/lzma-conduit")
7312 (synopsis "Conduit interface for lzma/xz compression")
7313 (description
7314 "This package provides a @code{Conduit} interface for the LZMA
7315compression algorithm used in the @code{.xz} file format.")
7316 (license license:bsd-3)))
7317
e405912c
KM
7318(define-public ghc-magic
7319 (package
7320 (name "ghc-magic")
7321 (version "1.1")
7322 (source
7323 (origin
7324 (method url-fetch)
7325 (uri (string-append
7326 "https://hackage.haskell.org/package/magic/magic-"
7327 version ".tar.gz"))
7328 (sha256
7329 (base32
7330 "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j"))))
7331 (build-system haskell-build-system)
3ef91e15 7332 (home-page "https://hackage.haskell.org/package/magic")
e405912c
KM
7333 (synopsis "Interface to C file/magic library")
7334 (description
7335 "This package provides a full-featured binding to the C libmagic library.
7336With it, you can determine the type of a file by examining its contents rather
7337than its name.")
7338 (license license:bsd-3)))
7339
bcfe9dba
JS
7340(define-public ghc-managed
7341 (package
7342 (name "ghc-managed")
7343 (version "1.0.6")
7344 (source
7345 (origin
7346 (method url-fetch)
7347 (uri (string-append
7348 "mirror://hackage/package/managed/managed-"
7349 version
7350 ".tar.gz"))
7351 (sha256
7352 (base32
7353 "1kbrw99yh5x5blykmx2n88mplbbi4ss1ij5j17b7asw6q0ihm9zi"))))
7354 (build-system haskell-build-system)
7355 (home-page "http://hackage.haskell.org/package/managed")
7356 (synopsis "Monad for managed values")
7357 (description
7358 "In Haskell you very often acquire values using the with... idiom using
7359functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a
7360special case of the ContT monad (from transformers) or the Codensity
7361monad (from kan-extensions). The main purpose behind this package is to
7362provide a restricted form of these monads specialized to this unusually common
7363case.
7364
7365The reason this package defines a specialized version of these types
7366is to:
7367
7368@itemize
7369@item be more beginner-friendly,
7370@item simplify inferred types and error messages, and:
7371@item provide some additional type class instances that would otherwise be
7372orphan instances
7373@end itemize")
7374 (license license:bsd-3)))
7375
dddbc90c
RV
7376(define-public ghc-markdown-unlit
7377 (package
7378 (name "ghc-markdown-unlit")
7379 (version "0.5.0")
7380 (source (origin
7381 (method url-fetch)
7382 (uri (string-append
7383 "mirror://hackage/package/markdown-unlit/"
7384 "markdown-unlit-" version ".tar.gz"))
7385 (sha256
7386 (base32
7387 "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7"))))
7388 (build-system haskell-build-system)
7389 (inputs
7390 `(("ghc-base-compat" ,ghc-base-compat)
7391 ("ghc-hspec" ,ghc-hspec)
7392 ("ghc-quickcheck" ,ghc-quickcheck)
7393 ("ghc-silently" ,ghc-silently)
7394 ("ghc-stringbuilder" ,ghc-stringbuilder)
7395 ("ghc-temporary" ,ghc-temporary)
7396 ("hspec-discover" ,hspec-discover)))
7397 (home-page "https://github.com/sol/markdown-unlit#readme")
7398 (synopsis "Literate Haskell support for Markdown")
7399 (description "This package allows you to have a README.md that at the
7400same time is a literate Haskell program.")
7401 (license license:expat)))
7402
7403(define-public ghc-math-functions
7404 (package
7405 (name "ghc-math-functions")
b45de2bf 7406 (version "0.3.3.0")
dddbc90c
RV
7407 (source
7408 (origin
7409 (method url-fetch)
7410 (uri (string-append "https://hackage.haskell.org/package/"
7411 "math-functions-" version "/"
7412 "math-functions-" version ".tar.gz"))
7413 (sha256
7414 (base32
b45de2bf 7415 "1s5nbs40sc3r4z08n0j8bw40cy0zkp03fjjn3p27zkd4fvm9kib3"))))
dddbc90c
RV
7416 (build-system haskell-build-system)
7417 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
7418 (inputs
b45de2bf
TS
7419 `(("ghc-data-default-class" ,ghc-data-default-class)
7420 ("ghc-vector" ,ghc-vector)
dddbc90c
RV
7421 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
7422 (native-inputs
7423 `(("ghc-hunit" ,ghc-hunit)
7424 ("ghc-quickcheck" ,ghc-quickcheck)
7425 ("ghc-erf" ,ghc-erf)
7426 ("ghc-test-framework" ,ghc-test-framework)
7427 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7428 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7429 (home-page "https://github.com/bos/math-functions")
7430 (synopsis "Special functions and Chebyshev polynomials for Haskell")
7431 (description "This Haskell library provides implementations of
7432special mathematical functions and Chebyshev polynomials. These
7433functions are often useful in statistical and numerical computing.")
7434 (license license:bsd-3)))
7435
7436(define-public ghc-megaparsec
7437 (package
7438 (name "ghc-megaparsec")
03b0c92e 7439 (version "7.0.5")
dddbc90c
RV
7440 (source
7441 (origin
7442 (method url-fetch)
7443 (uri (string-append "https://hackage.haskell.org/package/"
7444 "megaparsec/megaparsec-"
7445 version ".tar.gz"))
7446 (sha256
7447 (base32
03b0c92e 7448 "0bqx1icbmk8s7wmbcdzsgnlh607c7kzg8l80cp02dxr5valjxp7j"))))
dddbc90c 7449 (build-system haskell-build-system)
dddbc90c
RV
7450 (inputs
7451 `(("ghc-case-insensitive" ,ghc-case-insensitive)
7452 ("ghc-parser-combinators" ,ghc-parser-combinators)
7453 ("ghc-scientific" ,ghc-scientific)))
7454 (native-inputs
7455 `(("ghc-quickcheck" ,ghc-quickcheck)
7456 ("ghc-hspec" ,ghc-hspec)
7457 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
7458 ("hspec-discover" ,hspec-discover)))
7459 (home-page "https://github.com/mrkkrp/megaparsec")
7460 (synopsis "Monadic parser combinators")
7461 (description
7462 "This is an industrial-strength monadic parser combinator library.
7463Megaparsec is a feature-rich package that strikes a nice balance between
7464speed, flexibility, and quality of parse errors.")
7465 (license license:bsd-2)))
7466
7467(define-public ghc-memory
7468 (package
7469 (name "ghc-memory")
d2c7d336 7470 (version "0.14.18")
dddbc90c
RV
7471 (source (origin
7472 (method url-fetch)
7473 (uri (string-append "https://hackage.haskell.org/package/"
7474 "memory/memory-" version ".tar.gz"))
7475 (sha256
7476 (base32
d2c7d336 7477 "01rmq3vagxzjmm96qnfxk4f0516cn12bp5m8inn8h5r918bqsigm"))))
dddbc90c
RV
7478 (build-system haskell-build-system)
7479 (inputs
7480 `(("ghc-basement" ,ghc-basement)
7481 ("ghc-foundation" ,ghc-foundation)))
7482 (native-inputs
7483 `(("ghc-tasty" ,ghc-tasty)
7484 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7485 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7486 (home-page "https://github.com/vincenthz/hs-memory")
7487 (synopsis "Memory abstractions for Haskell")
7488 (description
7489 "This package provides memory abstractions, such as chunk of memory,
7490polymorphic byte array management and manipulation functions. It contains a
7491polymorphic byte array abstraction and functions similar to strict ByteString,
7492different type of byte array abstraction, raw memory IO operations (memory
7493set, memory copy, ..) and more")
7494 (license license:bsd-3)))
7495
7496(define-public ghc-memotrie
7497 (package
7498 (name "ghc-memotrie")
7499 (version "0.6.9")
7500 (source
7501 (origin
7502 (method url-fetch)
7503 (uri (string-append
7504 "https://hackage.haskell.org/package/MemoTrie/MemoTrie-"
7505 version
7506 ".tar.gz"))
7507 (sha256
7508 (base32
7509 "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x"))))
7510 (build-system haskell-build-system)
7511 (inputs
7512 `(("ghc-newtype-generics" ,ghc-newtype-generics)))
7513 (home-page "https://github.com/conal/MemoTrie")
7514 (synopsis "Trie-based memo functions")
7515 (description "This package provides a functional library for creating
7516efficient memo functions using tries.")
7517 (license license:bsd-3)))
7518
7519(define-public ghc-microlens
7520 (package
7521 (name "ghc-microlens")
82478c58 7522 (version "0.4.10")
dddbc90c
RV
7523 (source
7524 (origin
7525 (method url-fetch)
7526 (uri (string-append "https://hackage.haskell.org/package/"
7527 "microlens-" version "/"
7528 "microlens-" version ".tar.gz"))
7529 (sha256
7530 (base32
82478c58 7531 "1v277yyy4p9q57xr2lfp6qs24agglfczmcabrapxrzci3jfshmcw"))))
dddbc90c
RV
7532 (build-system haskell-build-system)
7533 (home-page
7534 "https://github.com/aelve/microlens")
7535 (synopsis "Provides a tiny lens Haskell library with no dependencies")
7536 (description "This Haskell package provides a lens library, just like
7537@code{ghc-lens}, but smaller. It provides essential lenses and
7538traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
7539nice to have (like @code{each}, @code{at}, and @code{ix}), and some
7540combinators (like @code{failing} and @code{singular}), but everything else is
7541stripped. As the result, this package has no dependencies.")
7542 (license license:bsd-3)))
7543
1cd3333e
TS
7544(define-public ghc-microlens-aeson
7545 (package
7546 (name "ghc-microlens-aeson")
7547 (version "2.3.0.4")
7548 (source
7549 (origin
7550 (method url-fetch)
7551 (uri (string-append "https://hackage.haskell.org/package/"
7552 "microlens-aeson/microlens-aeson-"
7553 version ".tar.gz"))
b4a00fec 7554 (patches (search-patches "ghc-microlens-aeson-fix-tests.patch"))
1cd3333e
TS
7555 (sha256
7556 (base32
7557 "0w630kk5bnily1qh41081gqgbwmslrh5ad21899gwnb2r3jripyw"))))
7558 (build-system haskell-build-system)
7559 (inputs
7560 `(("ghc-aeson" ,ghc-aeson)
7561 ("ghc-attoparsec" ,ghc-attoparsec)
7562 ("ghc-hashable" ,ghc-hashable)
7563 ("ghc-microlens" ,ghc-microlens)
7564 ("ghc-scientific" ,ghc-scientific)
7565 ("ghc-unordered-containers" ,ghc-unordered-containers)
7566 ("ghc-vector" ,ghc-vector)))
7567 (native-inputs
7568 `(("ghc-tasty" ,ghc-tasty)
7569 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7570 (home-page "https://github.com/fosskers/microlens-aeson")
7571 (synopsis "Law-abiding lenses for Aeson, using microlens")
7572 (description "This library provides law-abiding lenses for Aeson, using
7573microlens.")
7574 (license license:expat)))
7575
dddbc90c
RV
7576(define-public ghc-microlens-ghc
7577 (package
7578 (name "ghc-microlens-ghc")
027beb55 7579 (version "0.4.10")
dddbc90c
RV
7580 (source
7581 (origin
7582 (method url-fetch)
7583 (uri (string-append
7584 "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-"
7585 version
7586 ".tar.gz"))
7587 (sha256
7588 (base32
027beb55 7589 "102dbrdsdadxbbhvx8avv1wbk84767a7lkb8ckp3zxk9g7qlly33"))))
dddbc90c
RV
7590 (build-system haskell-build-system)
7591 (inputs `(("ghc-microlens" ,ghc-microlens)))
7592 (home-page "https://github.com/monadfix/microlens")
7593 (synopsis "Use @code{microlens} with GHC libraries like @code{array}")
7594 (description "This library provides everything that @code{microlens}
7595provides plus instances to make @code{each}, @code{at}, and @code{ix}
7596usable with arrays, @code{ByteString}, and containers. This package is
7597a part of the @uref{http://hackage.haskell.org/package/microlens,
7598microlens} family; see the readme
7599@uref{https://github.com/aelve/microlens#readme, on Github}.")
7600 (license license:bsd-3)))
7601
7602(define-public ghc-microlens-mtl
7603 (package
7604 (name "ghc-microlens-mtl")
7605 (version "0.1.11.1")
7606 (source
7607 (origin
7608 (method url-fetch)
7609 (uri (string-append
7610 "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-"
7611 version
7612 ".tar.gz"))
7613 (sha256
7614 (base32
7615 "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk"))))
7616 (build-system haskell-build-system)
7617 (inputs
7618 `(("ghc-microlens" ,ghc-microlens)
7619 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7620 (home-page "https://github.com/monadfix/microlens")
7621 (synopsis
7622 "@code{microlens} support for Reader/Writer/State from mtl")
7623 (description
7624 "This package contains functions (like @code{view} or @code{+=}) which
7625work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the
7626mtl package. This package is a part of the
7627@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7628readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7629 (license license:bsd-3)))
7630
7631(define-public ghc-microlens-platform
7632 (package
7633 (name "ghc-microlens-platform")
85decc1f 7634 (version "0.3.11")
dddbc90c
RV
7635 (source
7636 (origin
7637 (method url-fetch)
7638 (uri (string-append
7639 "https://hackage.haskell.org/package/"
7640 "microlens-platform/microlens-platform-" version ".tar.gz"))
7641 (sha256
7642 (base32
85decc1f 7643 "18950lxgmsg5ksvyyi3zs1smjmb1qf1q73a3p3g44bh21miz0xwb"))))
dddbc90c
RV
7644 (build-system haskell-build-system)
7645 (inputs
7646 `(("ghc-hashable" ,ghc-hashable)
7647 ("ghc-microlens" ,ghc-microlens)
7648 ("ghc-microlens-ghc" ,ghc-microlens-ghc)
7649 ("ghc-microlens-mtl" ,ghc-microlens-mtl)
7650 ("ghc-microlens-th" ,ghc-microlens-th)
7651 ("ghc-unordered-containers" ,ghc-unordered-containers)
7652 ("ghc-vector" ,ghc-vector)))
7653 (home-page "https://github.com/monadfix/microlens")
7654 (synopsis "Feature-complete microlens")
7655 (description
7656 "This package exports a module which is the recommended starting point
7657for using @uref{http://hackage.haskell.org/package/microlens, microlens} if
7658you aren't trying to keep your dependencies minimal. By importing
7659@code{Lens.Micro.Platform} you get all functions and instances from
7660@uref{http://hackage.haskell.org/package/microlens, microlens},
7661@uref{http://hackage.haskell.org/package/microlens-th, microlens-th},
7662@uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl},
7663@uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as
7664well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The
7665minor and major versions of @code{microlens-platform} are incremented whenever
7666the minor and major versions of any other @code{microlens} package are
7667incremented, so you can depend on the exact version of
7668@code{microlens-platform} without specifying the version of @code{microlens}
7669you need. This package is a part of the
7670@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7671readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7672 (license license:bsd-3)))
7673
7674(define-public ghc-microlens-th
7675 (package
7676 (name "ghc-microlens-th")
7ae52867 7677 (version "0.4.2.3")
dddbc90c
RV
7678 (source
7679 (origin
7680 (method url-fetch)
7681 (uri (string-append "https://hackage.haskell.org/package/"
7682 "microlens-th-" version "/"
7683 "microlens-th-" version ".tar.gz"))
7684 (sha256
7685 (base32
7ae52867 7686 "13qw0pwcgd6f6i39rwgqwcwk1d4da5x7wv3gna7gdlxaq331h41j"))))
dddbc90c 7687 (build-system haskell-build-system)
7ae52867
TS
7688 (arguments
7689 `(#:cabal-revision
7690 ("1" "167in7b1qhgrspx81bdm2jyg9qji66sk7id282c0s99kmp0d01n6")))
dddbc90c
RV
7691 (inputs `(("ghc-microlens" ,ghc-microlens)
7692 ("ghc-th-abstraction" ,ghc-th-abstraction)))
7693 (home-page
7694 "https://github.com/aelve/microlens")
7695 (synopsis "Automatic generation of record lenses for
7696@code{ghc-microlens}")
7697 (description "This Haskell package lets you automatically generate lenses
7698for data types; code was extracted from the lens package, and therefore
7699generated lenses are fully compatible with ones generated by lens (and can be
7700used both from lens and microlens).")
7701 (license license:bsd-3)))
7702
7703(define-public ghc-missingh
7704 (package
7705 (name "ghc-missingh")
641207cb 7706 (version "1.4.1.0")
dddbc90c
RV
7707 (source
7708 (origin
7709 (method url-fetch)
7710 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
7711 "MissingH-" version ".tar.gz"))
7712 (sha256
7713 (base32
641207cb 7714 "1jp0vk6w9a7fzrbxfhx773105jp2s1n50klq9ak6spfl7bgx5v29"))))
dddbc90c
RV
7715 (build-system haskell-build-system)
7716 ;; Tests require the unmaintained testpack package, which depends on the
7717 ;; outdated QuickCheck version 2.7, which can no longer be built with
7718 ;; recent versions of GHC and Haskell libraries.
7719 (arguments '(#:tests? #f))
7720 (inputs
7721 `(("ghc-network" ,ghc-network)
7722 ("ghc-hunit" ,ghc-hunit)
7723 ("ghc-regex-compat" ,ghc-regex-compat)
7724 ("ghc-hslogger" ,ghc-hslogger)
7725 ("ghc-random" ,ghc-random)
7726 ("ghc-old-time" ,ghc-old-time)
7727 ("ghc-old-locale" ,ghc-old-locale)))
7728 (native-inputs
7729 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
7730 ("ghc-quickcheck" ,ghc-quickcheck)
7731 ("ghc-hunit" ,ghc-hunit)))
f1841ccf
TGR
7732 ;; ‘Official’ <http://software.complete.org/missingh> redirects to a 404.
7733 (home-page "https://github.com/haskell-hvr/missingh")
dddbc90c
RV
7734 (synopsis "Large utility library")
7735 (description
7736 "MissingH is a library of all sorts of utility functions for Haskell
7737programmers. It is written in pure Haskell and thus should be extremely
7738portable and easy to use.")
7739 (license license:bsd-3)))
7740
7741(define-public ghc-mmap
7742 (package
7743 (name "ghc-mmap")
7744 (version "0.5.9")
7745 (source (origin
7746 (method url-fetch)
7747 (uri (string-append "https://hackage.haskell.org/package/"
7748 "mmap/mmap-" version ".tar.gz"))
7749 (sha256
7750 (base32
7751 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
7752 (build-system haskell-build-system)
7753 (home-page "https://hackage.haskell.org/package/mmap")
7754 (synopsis "Memory mapped files for Haskell")
7755 (description
7756 "This library provides a wrapper to @code{mmap}, allowing files or
7757devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
7758@code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
7759do on-demand loading.")
7760 (license license:bsd-3)))
7761
7762(define-public ghc-mmorph
7763 (package
7764 (name "ghc-mmorph")
e0389704 7765 (version "1.1.3")
dddbc90c
RV
7766 (source
7767 (origin
7768 (method url-fetch)
7769 (uri (string-append
7770 "https://hackage.haskell.org/package/mmorph/mmorph-"
7771 version
7772 ".tar.gz"))
7773 (sha256
7774 (base32
e0389704 7775 "0rfsy9n9mlinpmqi2s17fhc67fzma2ig5fbmh6m5m830canzf8vr"))))
dddbc90c
RV
7776 (build-system haskell-build-system)
7777 (inputs
7778 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
7779 (home-page "https://hackage.haskell.org/package/mmorph")
7780 (synopsis "Monad morphisms")
7781 (description
7782 "This library provides monad morphism utilities, most commonly used for
7783manipulating monad transformer stacks.")
7784 (license license:bsd-3)))
7785
7786(define-public ghc-mockery
7787 (package
7788 (name "ghc-mockery")
7789 (version "0.3.5")
7790 (source (origin
7791 (method url-fetch)
7792 (uri (string-append "https://hackage.haskell.org/package/"
7793 "mockery/mockery-" version ".tar.gz"))
7794 (sha256
7795 (base32
7796 "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp"))))
7797 (build-system haskell-build-system)
7798 (inputs
7799 `(("ghc-temporary" ,ghc-temporary)
7800 ("ghc-logging-facade" ,ghc-logging-facade)
7801 ("ghc-base-compat" ,ghc-base-compat)))
7802 (native-inputs
7803 `(("ghc-hspec" ,ghc-hspec)
7804 ("hspec-discover" ,hspec-discover)))
7805 (home-page "https://hackage.haskell.org/package/mockery")
7806 (synopsis "Support functions for automated testing")
7807 (description
7808 "The mockery package provides support functions for automated testing.")
7809 (license license:expat)))
7810
7811(define-public ghc-monad-control
7812 (package
7813 (name "ghc-monad-control")
7814 (version "1.0.2.3")
7815 (source
7816 (origin
7817 (method url-fetch)
7818 (uri (string-append
7819 "https://hackage.haskell.org/package/monad-control"
7820 "/monad-control-" version ".tar.gz"))
7821 (sha256
7822 (base32
7823 "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c"))))
7824 (build-system haskell-build-system)
7825 (inputs
7826 `(("ghc-transformers-base" ,ghc-transformers-base)
7827 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7828 (home-page "https://github.com/basvandijk/monad-control")
7829 (synopsis "Monad transformers to lift control operations like exception
7830catching")
7831 (description "This package defines the type class @code{MonadBaseControl},
7832a subset of @code{MonadBase} into which generic control operations such as
7833@code{catch} can be lifted from @code{IO} or any other base monad.")
7834 (license license:bsd-3)))
7835
7836(define-public ghc-monad-logger
7837 (package
7838 (name "ghc-monad-logger")
26980aae 7839 (version "0.3.30")
dddbc90c
RV
7840 (source
7841 (origin
7842 (method url-fetch)
7843 (uri (string-append "https://hackage.haskell.org/package/"
7844 "monad-logger-" version "/"
7845 "monad-logger-" version ".tar.gz"))
7846 (sha256
7847 (base32
26980aae 7848 "102l0v75hbvkmrypiyg4ybb6rbc7nij5nxs1aihmqfdpg04rkkp7"))))
dddbc90c
RV
7849 (build-system haskell-build-system)
7850 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
7851 ("ghc-stm-chans" ,ghc-stm-chans)
7852 ("ghc-lifted-base" ,ghc-lifted-base)
7853 ("ghc-resourcet" ,ghc-resourcet)
7854 ("ghc-conduit" ,ghc-conduit)
7855 ("ghc-conduit-extra" ,ghc-conduit-extra)
7856 ("ghc-fast-logger" ,ghc-fast-logger)
7857 ("ghc-transformers-base" ,ghc-transformers-base)
7858 ("ghc-monad-control" ,ghc-monad-control)
7859 ("ghc-monad-loops" ,ghc-monad-loops)
7860 ("ghc-blaze-builder" ,ghc-blaze-builder)
7861 ("ghc-exceptions" ,ghc-exceptions)))
7862 (home-page "https://github.com/kazu-yamamoto/logger")
7863 (synopsis "Provides a class of monads which can log messages for Haskell")
7864 (description "This Haskell package uses a monad transformer approach
7865for logging.
7866
7867This package provides Template Haskell functions for determining source
7868code locations of messages.")
7869 (license license:expat)))
7870
7871(define-public ghc-monad-loops
7872 (package
7873 (name "ghc-monad-loops")
7874 (version "0.4.3")
7875 (source
7876 (origin
7877 (method url-fetch)
7878 (uri (string-append "https://hackage.haskell.org/package/"
7879 "monad-loops-" version "/"
7880 "monad-loops-" version ".tar.gz"))
7881 (sha256
7882 (base32
7883 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
7884 (build-system haskell-build-system)
7885 (native-inputs `(("ghc-tasty" ,ghc-tasty)
7886 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7887 (home-page "https://github.com/mokus0/monad-loops")
7888 (synopsis "Monadic loops for Haskell")
7889 (description "This Haskell package provides some useful control
7890operators for looping.")
7891 (license license:public-domain)))
7892
7893(define-public ghc-monad-par
7894 (package
7895 (name "ghc-monad-par")
7896 (version "0.3.4.8")
7897 (source
7898 (origin
7899 (method url-fetch)
7900 (uri (string-append "https://hackage.haskell.org/package/"
7901 "monad-par-" version "/"
7902 "monad-par-" version ".tar.gz"))
faac56f3 7903 (patches (search-patches "ghc-monad-par-fix-tests.patch"))
dddbc90c
RV
7904 (sha256
7905 (base32
7906 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
7907 (build-system haskell-build-system)
7908 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
7909 ("ghc-abstract-deque" ,ghc-abstract-deque)
7910 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
7911 ("ghc-mwc-random" ,ghc-mwc-random)
7912 ("ghc-parallel" ,ghc-parallel)))
7913 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
7914 ("ghc-hunit" ,ghc-hunit)
7915 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7916 ("ghc-test-framework-quickcheck2"
7917 ,ghc-test-framework-quickcheck2)
7918 ("ghc-test-framework" ,ghc-test-framework)
7919 ("ghc-test-framework-th" ,ghc-test-framework-th)))
7920 (home-page "https://github.com/simonmar/monad-par")
7921 (synopsis "Haskell library for parallel programming based on a monad")
7922 (description "The @code{Par} monad offers an API for parallel
7923programming. The library works for parallelising both pure and @code{IO}
7924computations, although only the pure version is deterministic. The default
7925implementation provides a work-stealing scheduler and supports forking tasks
7926that are much lighter weight than IO-threads.")
7927 (license license:bsd-3)))
7928
7929(define-public ghc-monad-par-extras
7930 (package
7931 (name "ghc-monad-par-extras")
7932 (version "0.3.3")
7933 (source
7934 (origin
7935 (method url-fetch)
7936 (uri (string-append "https://hackage.haskell.org/package/"
7937 "monad-par-extras-" version "/"
7938 "monad-par-extras-" version ".tar.gz"))
7939 (sha256
7940 (base32
7941 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
7942 (build-system haskell-build-system)
7943 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
7944 ("ghc-cereal" ,ghc-cereal)
7945 ("ghc-random" ,ghc-random)))
7946 (home-page "https://github.com/simonmar/monad-par")
7947 (synopsis "Combinators and extra features for Par monads for Haskell")
7948 (description "This Haskell package provides additional data structures,
7949and other added capabilities layered on top of the @code{Par} monad.")
7950 (license license:bsd-3)))
7951
dddbc90c
RV
7952(define-public ghc-monadrandom
7953 (package
7954 (name "ghc-monadrandom")
7955 (version "0.5.1.1")
7956 (source
7957 (origin
7958 (method url-fetch)
7959 (uri (string-append "https://hackage.haskell.org/package/"
7960 "MonadRandom-" version "/"
7961 "MonadRandom-" version ".tar.gz"))
7962 (sha256
7963 (base32
7964 "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb"))))
7965 (build-system haskell-build-system)
7966 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
7967 ("ghc-primitive" ,ghc-primitive)
7968 ("ghc-fail" ,ghc-fail)
7969 ("ghc-random" ,ghc-random)))
7970 (home-page "https://github.com/byorgey/MonadRandom")
7971 (synopsis "Random-number generation monad for Haskell")
7972 (description "This Haskell package provides support for computations
7973which consume random values.")
7974 (license license:bsd-3)))
7975
7976(define-public ghc-monads-tf
7977 (package
7978 (name "ghc-monads-tf")
7979 (version "0.1.0.3")
7980 (source
7981 (origin
7982 (method url-fetch)
7983 (uri (string-append
7984 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
7985 version ".tar.gz"))
7986 (sha256
7987 (base32
7988 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
7989 (build-system haskell-build-system)
7990 (home-page "https://hackage.haskell.org/package/monads-tf")
7991 (synopsis "Monad classes, using type families")
7992 (description
7993 "Monad classes using type families, with instances for various monad transformers,
7994inspired by the paper 'Functional Programming with Overloading and Higher-Order
7995Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
7996the @code{mtl-tf} package.")
7997 (license license:bsd-3)))
7998
7999(define-public ghc-mono-traversable
8000 (package
8001 (name "ghc-mono-traversable")
23bb445b 8002 (version "1.0.13.0")
dddbc90c
RV
8003 (source
8004 (origin
8005 (method url-fetch)
8006 (uri (string-append "https://hackage.haskell.org/package/"
8007 "mono-traversable-" version "/"
8008 "mono-traversable-" version ".tar.gz"))
8009 (sha256
8010 (base32
23bb445b 8011 "1bqy982lpdb83lacfy76n8kqw5bvd31avxj25kg8gkgycdh0g0ma"))))
dddbc90c 8012 (build-system haskell-build-system)
3e6ecfeb 8013 (outputs '("out" "static" "doc"))
dddbc90c
RV
8014 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
8015 ("ghc-hashable" ,ghc-hashable)
8016 ("ghc-vector" ,ghc-vector)
8017 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
8018 ("ghc-split" ,ghc-split)))
8019 (native-inputs `(("ghc-hspec" ,ghc-hspec)
8020 ("ghc-hunit" ,ghc-hunit)
8021 ("ghc-quickcheck" ,ghc-quickcheck)
8022 ("ghc-semigroups" ,ghc-semigroups)
8023 ("ghc-foldl" ,ghc-foldl)))
8024 (home-page "https://github.com/snoyberg/mono-traversable")
8025 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
8026containers")
8027 (description "This Haskell package provides Monomorphic variants of the
8028Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
8029basic typeclasses, you understand mono-traversable. In addition to what
8030you are used to, it adds on an IsSequence typeclass and has code for marking
8031data structures as non-empty.")
8032 (license license:expat)))
8033
471e77cf
TS
8034(define-public ghc-monoid-extras
8035 (package
8036 (name "ghc-monoid-extras")
8037 (version "0.5.1")
8038 (source
8039 (origin
8040 (method url-fetch)
8041 (uri (string-append "https://hackage.haskell.org/package/"
8042 "monoid-extras/monoid-extras-" version ".tar.gz"))
8043 (sha256
8044 (base32
8045 "0xfrkgqn9d31z54l617m3w3kkd5m9vjb4yl247r3zzql3mpb1f37"))))
8046 (build-system haskell-build-system)
8047 (inputs
8048 `(("ghc-groups" ,ghc-groups)
8049 ("ghc-semigroups" ,ghc-semigroups)
8050 ("ghc-semigroupoids" ,ghc-semigroupoids)))
8051 (arguments
8052 `(#:cabal-revision
8053 ("1" "0b8x5d6vh7mpigvjvcd8f38a1nyzn1vfdqypslw7z9fgsr742913")))
8054 (home-page "https://hackage.haskell.org/package/monoid-extras")
8055 (synopsis "Various extra monoid-related definitions and utilities")
8056 (description "This package provides various extra monoid-related
8057definitions and utilities, such as monoid actions, monoid coproducts,
8058semi-direct products, \"deletable\" monoids, \"split\" monoids, and
8059\"cut\" monoids.")
8060 (license license:bsd-3)))
8061
4759b617
JS
8062(define-public ghc-mtl-compat
8063 (package
8064 (name "ghc-mtl-compat")
8065 (version "0.2.2")
8066 (source
8067 (origin
8068 (method url-fetch)
8069 (uri (string-append
8070 "mirror://hackage/package/mtl-compat/mtl-compat-"
8071 version
8072 ".tar.gz"))
8073 (sha256
8074 (base32
8075 "17iszr5yb4f17g8mq6i74hsamii8z6m2qfsmgzs78mhiwa7kjm8r"))))
8076 (build-system haskell-build-system)
8077 (home-page
8078 "https://github.com/haskell-compat/mtl-compat")
8079 (synopsis
8080 "Backported Control.Monad.Except module from mtl")
8081 (description
8082 "This package backports the Control.Monad.Except module from mtl (if
8083using mtl-2.2.0.1 or earlier), which reexports the ExceptT monad transformer
8084and the MonadError class.
8085
8086This package should only be used if there is a need to use the
8087Control.Monad.Except module specifically. If you just want the mtl class
8088instances for ExceptT, use transformers-compat instead, since mtl-compat does
8089nothing but reexport the instances from that package.
8090
8091Note that unlike how mtl-2.2 or later works, the Control.Monad.Except
8092module defined in this package exports all of ExceptT's monad class instances.
8093Therefore, you may have to declare @code{import Control.Monad.Except ()} at
8094the top of your file to get all of the ExceptT instances in scope.")
8095 (license license:bsd-3)))
8096
dddbc90c
RV
8097(define-public ghc-murmur-hash
8098 (package
8099 (name "ghc-murmur-hash")
8100 (version "0.1.0.9")
8101 (source
8102 (origin
8103 (method url-fetch)
8104 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
8105 "/murmur-hash-" version ".tar.gz"))
8106 (sha256
8107 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
8108 (build-system haskell-build-system)
8109 (home-page "https://github.com/nominolo/murmur-hash")
8110 (synopsis "MurmurHash2 implementation for Haskell")
8111 (description
8112 "This package provides an implementation of MurmurHash2, a good, fast,
8113general-purpose, non-cryptographic hashing function. See
8114@url{https://sites.google.com/site/murmurhash/} for details. This
8115implementation is pure Haskell, so it might be a bit slower than a C FFI
8116binding.")
8117 (license license:bsd-3)))
8118
8119(define-public ghc-mwc-random
8120 (package
8121 (name "ghc-mwc-random")
33268e2c 8122 (version "0.14.0.0")
dddbc90c
RV
8123 (source
8124 (origin
8125 (method url-fetch)
8126 (uri (string-append "https://hackage.haskell.org/package/"
8127 "mwc-random-" version "/"
8128 "mwc-random-" version ".tar.gz"))
8129 (sha256
8130 (base32
33268e2c 8131 "18pg24sw3b79b32cwx8q01q4k0lm34mwr3l6cdkchl8alvd0wdq0"))))
dddbc90c
RV
8132 (build-system haskell-build-system)
8133 (inputs
8134 `(("ghc-primitive" ,ghc-primitive)
8135 ("ghc-vector" ,ghc-vector)
8136 ("ghc-math-functions" ,ghc-math-functions)))
8137 (arguments
8138 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8139 (native-inputs
8140 `(("ghc-hunit" ,ghc-hunit)
8141 ("ghc-quickcheck" ,ghc-quickcheck)
8142 ("ghc-test-framework" ,ghc-test-framework)
8143 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8144 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8145 (home-page "https://github.com/bos/mwc-random")
8146 (synopsis "Random number generation library for Haskell")
8147 (description "This Haskell package contains code for generating
8148high quality random numbers that follow either a uniform or normal
8149distribution. The generated numbers are suitable for use in
8150statistical applications.
8151
8152The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
8153multiply-with-carry generator, which has a period of 2^{8222} and
8154fares well in tests of randomness. It is also extremely fast,
8155between 2 and 3 times faster than the Mersenne Twister.")
8156 (license license:bsd-3)))
8157
8158(define-public ghc-nats
8159 (package
8160 (name "ghc-nats")
8161 (version "1.1.2")
8162 (source
8163 (origin
8164 (method url-fetch)
8165 (uri (string-append
8166 "https://hackage.haskell.org/package/nats/nats-"
8167 version
8168 ".tar.gz"))
8169 (sha256
8170 (base32
8171 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
8172 (build-system haskell-build-system)
8173 (arguments `(#:haddock? #f))
8174 (inputs
8175 `(("ghc-hashable" ,ghc-hashable)))
8176 (home-page "https://hackage.haskell.org/package/nats")
8177 (synopsis "Natural numbers")
8178 (description "This library provides the natural numbers for Haskell.")
8179 (license license:bsd-3)))
8180
8181(define-public ghc-nats-bootstrap
8182 (package
8183 (inherit ghc-nats)
8184 (name "ghc-nats-bootstrap")
8185 (inputs
8186 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
8187 (properties '((hidden? #t)))))
8188
52915062
EF
8189(define-public ghc-ncurses
8190 (package
8191 (name "ghc-ncurses")
8192 (version "0.2.16")
8193 (source
8194 (origin
8195 (method url-fetch)
8196 (uri (string-append
8197 "https://hackage.haskell.org/package/ncurses/ncurses-"
8198 version ".tar.gz"))
8199 (sha256
8200 (base32
8201 "0gsyyaqyh5r9zc0rhwpj5spyd6i4w2vj61h4nihgmmh0yyqvf3z5"))))
8202 (build-system haskell-build-system)
8203 (arguments
54a5fd07
TS
8204 '(#:extra-directories ("ncurses")
8205 #:phases
52915062
EF
8206 (modify-phases %standard-phases
8207 (add-before 'build 'fix-includes
8208 (lambda _
8209 (substitute* '("cbits/hsncurses-shim.h"
8210 "lib/UI/NCurses.chs"
8211 "lib/UI/NCurses/Enums.chs"
8212 "lib/UI/NCurses/Panel.chs")
8213 (("<ncursesw/") "<"))
8214 #t)))
8215 #:cabal-revision
8216 ("1"
8217 "1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca")))
8218 (inputs `(("ncurses" ,ncurses)))
8219 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
8220 (home-page "https://john-millikin.com/software/haskell-ncurses/")
8221 (synopsis "Modernised bindings to GNU ncurses")
8222 (description "GNU ncurses is a library for creating command-line application
8223with pseudo-graphical interfaces. This package is a nice, modern binding to GNU
8224ncurses.")
8225 (license license:gpl3)))
8226
dddbc90c
RV
8227(define-public ghc-network
8228 (package
8229 (name "ghc-network")
d4473202 8230 (version "2.8.0.1")
534d6caa 8231 (outputs '("out" "static" "doc"))
dddbc90c
RV
8232 (source
8233 (origin
8234 (method url-fetch)
8235 (uri (string-append
8236 "https://hackage.haskell.org/package/network/network-"
8237 version
8238 ".tar.gz"))
8239 (sha256
8240 (base32
d4473202 8241 "0im8k51rw3ahmr23ny10pshwbz09jfg0fdpam0hzf2hgxnzmvxb1"))))
dddbc90c
RV
8242 (build-system haskell-build-system)
8243 ;; The regression tests depend on an unpublished module.
8244 (arguments `(#:tests? #f))
8245 (native-inputs
8246 `(("ghc-hunit" ,ghc-hunit)
8247 ("ghc-doctest" ,ghc-doctest)
8248 ("ghc-test-framework" ,ghc-test-framework)
8249 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
8250 (home-page "https://github.com/haskell/network")
8251 (synopsis "Low-level networking interface")
8252 (description
8253 "This package provides a low-level networking interface.")
8254 (license license:bsd-3)))
4780db2c 8255
30eebbe6
TS
8256(define-public ghc-network-bsd
8257 (package
8258 (name "ghc-network-bsd")
8259 (version "2.8.0.0")
8260 (source
8261 (origin
8262 (method url-fetch)
8263 (uri (string-append "https://hackage.haskell.org/package/"
8264 "network-bsd/network-bsd-" version ".tar.gz"))
8265 (sha256
8266 (base32
8267 "0dfbwgrr28y6ypw7p1ppqg7v746qf14569q4xazj4ahdjw2xkpi5"))))
8268 (build-system haskell-build-system)
8269 (inputs
8270 `(("ghc-network" ,ghc-network)))
8271 (home-page "https://github.com/haskell/network-bsd")
8272 (synopsis "POSIX network database (<netdb.h>) API")
8273 (description "This package provides Haskell bindings to the the POSIX
8274network database (<netdb.h>) API.")
8275 (license license:bsd-3)))
8276
096781a1
TS
8277(define-public ghc-network-byte-order
8278 (package
8279 (name "ghc-network-byte-order")
8280 (version "0.1.1.1")
8281 (source
8282 (origin
8283 (method url-fetch)
8284 (uri (string-append "https://hackage.haskell.org/package/"
8285 "network-byte-order/network-byte-order-"
8286 version ".tar.gz"))
8287 (sha256
8288 (base32
8289 "19cs6157amcc925vwr92q1azwwzkbam5g0k70i6qi80fhpikh37c"))))
8290 (build-system haskell-build-system)
8291 (native-inputs
8292 `(("ghc-doctest" ,ghc-doctest)))
3ef91e15 8293 (home-page "https://hackage.haskell.org/package/network-byte-order")
096781a1
TS
8294 (synopsis "Network byte order utilities")
8295 (description "This library provides peek and poke functions for network
8296byte order.")
8297 (license license:bsd-3)))
8298
dddbc90c
RV
8299(define-public ghc-network-info
8300 (package
8301 (name "ghc-network-info")
8302 (version "0.2.0.10")
8303 (source
8304 (origin
8305 (method url-fetch)
8306 (uri (string-append "https://hackage.haskell.org/package/"
8307 "network-info-" version "/"
8308 "network-info-" version ".tar.gz"))
8309 (sha256
8310 (base32
8311 "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n"))))
8312 (build-system haskell-build-system)
8313 (home-page "https://github.com/jystic/network-info")
8314 (synopsis "Access the local computer's basic network configuration")
8315 (description "This Haskell library provides simple read-only access to the
8316local computer's networking configuration. It is currently capable of
8317getting a list of all the network interfaces and their respective
8318IPv4, IPv6 and MAC addresses.")
8319 (license license:bsd-3)))
8320
8321(define-public ghc-network-uri
8322 (package
8323 (name "ghc-network-uri")
8324 (version "2.6.1.0")
534d6caa 8325 (outputs '("out" "static" "doc"))
dddbc90c
RV
8326 (source
8327 (origin
8328 (method url-fetch)
8329 (uri (string-append
8330 "https://hackage.haskell.org/package/network-uri/network-uri-"
8331 version
8332 ".tar.gz"))
8333 (sha256
8334 (base32
8335 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
8336 (build-system haskell-build-system)
8337 (arguments
8338 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
8339 (inputs
8340 `(("ghc-network" ,ghc-network)))
8341 (native-inputs
8342 `(("ghc-hunit" ,ghc-hunit)))
8343 (home-page
8344 "https://github.com/haskell/network-uri")
8345 (synopsis "Library for URI manipulation")
8346 (description "This package provides an URI manipulation interface. In
8347@code{network-2.6} the @code{Network.URI} module was split off from the
8348@code{network} package into this package.")
8349 (license license:bsd-3)))
8350
8351(define-public ghc-newtype-generics
8352 (package
8353 (name "ghc-newtype-generics")
c07e16dd 8354 (version "0.5.4")
dddbc90c
RV
8355 (source
8356 (origin
8357 (method url-fetch)
8358 (uri (string-append "https://hackage.haskell.org/package/"
8359 "newtype-generics/newtype-generics-"
8360 version ".tar.gz"))
8361 (sha256
8362 (base32
c07e16dd 8363 "0cprfg4n0z62cnix1qrbc79bfdd4s50b05fj9m9hk6vm1pc3szq0"))))
dddbc90c
RV
8364 (build-system haskell-build-system)
8365 (native-inputs
8366 `(("ghc-hspec" ,ghc-hspec)
8367 ("hspec-discover" ,hspec-discover)))
702a1012 8368 (home-page "https://github.com/sjakobi/newtype-generics")
dddbc90c
RV
8369 (synopsis "Typeclass and set of functions for working with newtypes")
8370 (description "The @code{Newtype} typeclass represents the packing and
8371unpacking of a newtype, and allows you to operate under that newtype with
8372functions such as @code{ala}. Generics support was added in version 0.4,
8373making this package a full replacement for the original newtype package,
8374and an alternative to newtype-th.")
8375 (license license:bsd-3)))
8376
6b652f5a
JS
8377(define-public ghc-non-negative
8378 (package
8379 (name "ghc-non-negative")
8380 (version "0.1.2")
8381 (source
8382 (origin
8383 (method url-fetch)
8384 (uri
8385 (string-append
8386 "https://hackage.haskell.org/package/non-negative/non-negative-"
8387 version ".tar.gz"))
8388 (sha256
8389 (base32
8390 "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n"))))
8391 (build-system haskell-build-system)
8392 (inputs
8393 `(("ghc-semigroups" ,ghc-semigroups)
8394 ("ghc-utility-ht" ,ghc-utility-ht)
8395 ("ghc-quickcheck" ,ghc-quickcheck)))
8396 (home-page "https://hackage.haskell.org/package/non-negative")
8397 (synopsis "Non-negative numbers class")
8398 (description "This library provides a class for non-negative numbers,
8399a wrapper which can turn any ordered numeric type into a member of that
8400class, and a lazy number type for non-negative numbers (a generalization
8401of Peano numbers).")
8402 (license license:gpl3+)))
8403
49bcca84
ASM
8404(define-public ghc-nonce
8405 (package
8406 (name "ghc-nonce")
8407 (version "1.0.7")
8408 (source
8409 (origin
8410 (method url-fetch)
8411 (uri (string-append
8412 "https://hackage.haskell.org/package/nonce/"
8413 "nonce-" version ".tar.gz"))
8414 (sha256
8415 (base32
8416 "1q9ph0aq51mvdvydnriqd12sfin36pfb8f588zgac1ybn8r64ksb"))))
8417 (build-system haskell-build-system)
8418 (inputs
8419 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
8420 ("ghc-entropy" ,ghc-entropy)
8421 ("ghc-unliftio" ,ghc-unliftio)
8422 ("ghc-unliftio-core" ,ghc-unliftio-core)))
8423 (home-page "https://github.com/prowdsponsor/nonce")
8424 (synopsis "Generate cryptographic nonces in Haskell")
8425 (description
8426 "A nonce is an arbitrary number used only once in a cryptographic
8427communication. This package contain helper functions for generating nonces.
8428There are many kinds of nonces used in different situations. It's not
8429guaranteed that by using the nonces from this package you won't have any
8430security issues. Please make sure that the nonces generated via this
8431package are usable on your design.")
8432 (license license:bsd-3)))
8433
194a82e6
TS
8434(define-public ghc-numeric-extras
8435 (package
8436 (name "ghc-numeric-extras")
8437 (version "0.1")
8438 (source
8439 (origin
8440 (method url-fetch)
8441 (uri (string-append "https://hackage.haskell.org/package/"
8442 "numeric-extras/numeric-extras-"
8443 version ".tar.gz"))
8444 (sha256
8445 (base32
8446 "1mk11c0gz1yjy5b8dvq6czfny57pln0bs7x28fz38qyr44872067"))))
8447 (build-system haskell-build-system)
8448 (home-page "https://github.com/ekmett/numeric-extras")
8449 (synopsis "Useful tools from the C standard library")
8450 (description "This library provides some useful tools from the C
8451standard library.")
8452 (license license:bsd-3)))
8453
dddbc90c
RV
8454(define-public ghc-objectname
8455 (package
8456 (name "ghc-objectname")
8457 (version "1.1.0.1")
8458 (source
8459 (origin
8460 (method url-fetch)
8461 (uri (string-append
8462 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
8463 version
8464 ".tar.gz"))
8465 (sha256
8466 (base32
8467 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
8468 (build-system haskell-build-system)
8469 (home-page "https://hackage.haskell.org/package/ObjectName")
8470 (synopsis "Helper library for Haskell OpenGL")
8471 (description "This tiny package contains the class ObjectName, which
8472corresponds to the general notion of explicitly handled identifiers for API
8473objects, e.g. a texture object name in OpenGL or a buffer object name in
8474OpenAL.")
8475 (license license:bsd-3)))
8476
8477(define-public ghc-old-locale
8478 (package
8479 (name "ghc-old-locale")
8480 (version "1.0.0.7")
8481 (source
8482 (origin
8483 (method url-fetch)
8484 (uri (string-append
8485 "https://hackage.haskell.org/package/old-locale/old-locale-"
8486 version
8487 ".tar.gz"))
8488 (sha256
8489 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
8490 (build-system haskell-build-system)
8491 (arguments
8492 `(#:cabal-revision
8493 ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs")))
8494 (home-page "https://hackage.haskell.org/package/old-locale")
8495 (synopsis "Adapt to locale conventions")
8496 (description
8497 "This package provides the ability to adapt to locale conventions such as
8498date and time formats.")
8499 (license license:bsd-3)))
8500
8501(define-public ghc-old-time
8502 (package
8503 (name "ghc-old-time")
8504 (version "1.1.0.3")
8505 (source
8506 (origin
8507 (method url-fetch)
8508 (uri (string-append
8509 "https://hackage.haskell.org/package/old-time/old-time-"
8510 version
8511 ".tar.gz"))
8512 (sha256
8513 (base32
8514 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
8515 (build-system haskell-build-system)
8516 (arguments
8517 `(#:cabal-revision
8518 ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9")))
8519 (inputs
8520 `(("ghc-old-locale" ,ghc-old-locale)))
8521 (home-page "https://hackage.haskell.org/package/old-time")
8522 (synopsis "Time compatibility library for Haskell")
8523 (description "Old-time is a package for backwards compatibility with the
8524old @code{time} library. For new projects, the newer
8525@uref{https://hackage.haskell.org/package/time, time library} is recommended.")
8526 (license license:bsd-3)))
8527
8528(define-public ghc-opengl
8529 (package
8530 (name "ghc-opengl")
79a06910 8531 (version "3.0.3.0")
dddbc90c
RV
8532 (source
8533 (origin
8534 (method url-fetch)
8535 (uri (string-append
8536 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
8537 version
8538 ".tar.gz"))
8539 (sha256
8540 (base32
79a06910 8541 "069fg8jcxqq2z9iikynd8vi3jxm2b5y3qywdh4bdviyzab3zy1as"))))
dddbc90c 8542 (build-system haskell-build-system)
79a06910
TS
8543 (arguments
8544 `(#:cabal-revision
8545 ("1" "1748mrb6r9mpf5jbrx436lwbg8w6dadyy8dhxw2dwnrj5z7zf741")))
dddbc90c
RV
8546 (inputs
8547 `(("ghc-objectname" ,ghc-objectname)
8548 ("ghc-gluraw" ,ghc-gluraw)
8549 ("ghc-statevar" ,ghc-statevar)
8550 ("ghc-openglraw" ,ghc-openglraw)))
228d2901 8551 (home-page "https://wiki.haskell.org/Opengl")
dddbc90c
RV
8552 (synopsis "Haskell bindings for the OpenGL graphics system")
8553 (description "This package provides Haskell bindings for the OpenGL
8554graphics system (GL, version 4.5) and its accompanying utility library (GLU,
8555version 1.3).")
8556 (license license:bsd-3)))
8557
8558(define-public ghc-openglraw
8559 (package
8560 (name "ghc-openglraw")
15ebc815 8561 (version "3.3.3.0")
dddbc90c
RV
8562 (source
8563 (origin
8564 (method url-fetch)
8565 (uri (string-append
8566 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
8567 version
8568 ".tar.gz"))
8569 (sha256
8570 (base32
15ebc815 8571 "0zgllb4bcash2i2cispa3j565aw3dpxs41ghmhpvyvi4a6xmyldx"))))
dddbc90c 8572 (build-system haskell-build-system)
54a5fd07
TS
8573 (arguments
8574 `(#:extra-directories ("glu")))
dddbc90c
RV
8575 (inputs
8576 `(("ghc-half" ,ghc-half)
8577 ("ghc-fixed" ,ghc-fixed)
8578 ("glu" ,glu)))
228d2901 8579 (home-page "https://wiki.haskell.org/Opengl")
dddbc90c
RV
8580 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
8581 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
8582graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
8583of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
8584offers access to all necessary functions, tokens and types plus a general
8585facility for loading extension entries. The module hierarchy closely mirrors
8586the naming structure of the OpenGL extensions, making it easy to find the
8587right module to import. All API entries are loaded dynamically, so no special
8588C header files are needed for building this package. If an API entry is not
8589found at runtime, a userError is thrown.")
8590 (license license:bsd-3)))
8591
8592(define-public ghc-operational
8593 (package
8594 (name "ghc-operational")
8595 (version "0.2.3.5")
8596 (source
8597 (origin
8598 (method url-fetch)
8599 (uri (string-append "https://hackage.haskell.org/package/operational/"
8600 "operational-" version ".tar.gz"))
8601 (sha256
8602 (base32
8603 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
8604 (build-system haskell-build-system)
8605 (inputs
8606 `(("ghc-random" ,ghc-random)))
8607 (home-page "http://wiki.haskell.org/Operational")
8608 (synopsis "Implementation of difficult monads made easy with operational semantics")
8609 (description
8610 "This library makes it easy to implement monads with tricky control
8611flow. This is useful for: writing web applications in a sequential style,
8612programming games with a uniform interface for human and AI players and easy
8613replay capababilities, implementing fast parser monads, designing monadic
8614DSLs, etc.")
8615 (license license:bsd-3)))
8616
6f1477d2
JS
8617(define-public ghc-optional-args
8618 (package
8619 (name "ghc-optional-args")
8620 (version "1.0.2")
8621 (source
8622 (origin
8623 (method url-fetch)
8624 (uri (string-append
8625 "mirror://hackage/package/optional-args/optional-args-"
8626 version
8627 ".tar.gz"))
8628 (sha256
8629 (base32
8630 "1r5hhn6xvc01grggxdyy48daibwzi0aikgidq0ahpa6bfynm8d1f"))))
8631 (build-system haskell-build-system)
8632 (home-page
8633 "http://hackage.haskell.org/package/optional-args")
8634 (synopsis "Optional function arguments")
8635 (description
8636 "This library provides a type for specifying @code{Optional} function
8637arguments.")
8638 (license license:bsd-3)))
8639
dddbc90c
RV
8640(define-public ghc-options
8641 (package
8642 (name "ghc-options")
8643 (version "1.2.1.1")
8644 (source
8645 (origin
8646 (method url-fetch)
8647 (uri (string-append
8648 "https://hackage.haskell.org/package/options/options-"
8649 version ".tar.gz"))
8650 (sha256
8651 (base32
8652 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
8653 (build-system haskell-build-system)
24cf2a8b
TS
8654 (arguments
8655 `(#:phases
8656 (modify-phases %standard-phases
8657 (add-before 'configure 'update-constraints
8658 (lambda _
8659 (substitute* "options.cabal"
8660 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4 && < 0.6"))
8661 #t)))))
dddbc90c
RV
8662 (inputs
8663 `(("ghc-monads-tf" ,ghc-monads-tf)
8664 ("ghc-chell" ,ghc-chell)
8665 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
8666 (home-page "https://john-millikin.com/software/haskell-options/")
8667 (synopsis "Powerful and easy-to-use command-line option parser")
8668 (description
8669 "The @code{options} package lets library and application developers
8670easily work with command-line options.")
8671 (license license:expat)))
8672
8673;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
8674(define ghc-options-bootstrap
8675 (package
8676 (name "ghc-options-bootstrap")
8677 (version "1.2.1.1")
8678 (source
8679 (origin
8680 (method url-fetch)
8681 (uri (string-append
8682 "https://hackage.haskell.org/package/options/options-"
8683 version ".tar.gz"))
8684 (sha256
8685 (base32
8686 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
8687 (build-system haskell-build-system)
8688 (arguments
8689 `(#:tests? #f))
8690 (inputs
8691 `(("ghc-monads-tf" ,ghc-monads-tf)))
8692 (home-page "https://john-millikin.com/software/haskell-options/")
8693 (synopsis "Powerful and easy-to-use command-line option parser")
8694 (description
8695 "The @code{options} package lets library and application developers
8696easily work with command-line options.")
8697 (license license:expat)))
8698
8699
8700(define-public ghc-optparse-applicative
8701 (package
8702 (name "ghc-optparse-applicative")
74bf6965 8703 (version "0.14.3.0")
dddbc90c
RV
8704 (source
8705 (origin
8706 (method url-fetch)
8707 (uri (string-append
8708 "https://hackage.haskell.org/package/optparse-applicative"
8709 "/optparse-applicative-" version ".tar.gz"))
8710 (sha256
8711 (base32
74bf6965 8712 "0qvn1s7jwrabbpmqmh6d6iafln3v3h9ddmxj2y4m0njmzq166ivj"))))
dddbc90c 8713 (build-system haskell-build-system)
74bf6965
TS
8714 (arguments
8715 `(#:cabal-revision
8716 ("2" "1a08dqjly1xy730f6jf45frr8g8gap0n1vg9b0mpzpydv0kgzmrp")))
dddbc90c
RV
8717 (inputs
8718 `(("ghc-transformers-compat" ,ghc-transformers-compat)
8719 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
8720 (native-inputs
8721 `(("ghc-quickcheck" ,ghc-quickcheck)))
8722 (home-page "https://github.com/pcapriotti/optparse-applicative")
8723 (synopsis "Utilities and combinators for parsing command line options")
8724 (description "This package provides utilities and combinators for parsing
8725command line options in Haskell.")
8726 (license license:bsd-3)))
8727
d56c8120
NG
8728(define-public ghc-jira-wiki-markup
8729 (package
8730 (name "ghc-jira-wiki-markup")
8731 (version "1.0.0")
8732 (source
8733 (origin
8734 (method url-fetch)
8735 (uri (string-append
8736 "https://hackage.haskell.org/package/jira-wiki-markup/"
8737 "jira-wiki-markup-" version ".tar.gz"))
8738 (sha256
8739 (base32 "1sl2jjcsqg61si33mxjwpf8zdn56kbbgcwqqqzbgifx2qbv4wmf8"))))
8740 (build-system haskell-build-system)
8741 (native-inputs
8742 `(("ghc-tasty" ,ghc-tasty)
8743 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
8744 (home-page "https://github.com/tarleb/jira-wiki-markup")
8745 (synopsis "Handle Jira wiki markup")
8746 (description
8747 "Parse jira wiki text into an abstract syntax tree for easy transformation
8748to other formats.")
8749 (license license:expat)))
8750
20690771
NG
8751(define-public ghc-emojis
8752 (package
8753 (name "ghc-emojis")
8754 (version "0.1")
8755 (source
8756 (origin
8757 (method url-fetch)
8758 (uri (string-append
8759 "https://hackage.haskell.org/package/emojis/"
8760 "emojis-" version ".tar.gz"))
8761 (sha256
8762 (base32 "1c6zkj9gmk1y90gbdrn50hyp7mw1mggzhnr2khqd728ryipw60ss"))))
8763 (build-system haskell-build-system)
8764 (native-inputs
8765 `(("ghc-hunit" ,ghc-hunit)))
8766 (home-page "https://github.com/jgm/emojis#readme")
8767 (synopsis "Conversion between emoji characters and their names.")
8768 (description
8769 "This package provides functions for converting emoji names to emoji
8770characters and vice versa.
8771
8772How does it differ from the @code{emoji} package?
8773@itemize
8774@item It supports a fuller range of emojis, including all those supported by
8775GitHub
8776@item It supports lookup of emoji aliases from emoji
8777@item It uses Text rather than String
8778@item It has a lighter dependency footprint: in particular, it does not
8779require aeson
8780@item It does not require TemplateHaskell
8781@end itemize")
8782 (license license:bsd-3)))
8783
e90a06fc
NG
8784(define-public ghc-text-conversions
8785 (package
8786 (name "ghc-text-conversions")
8787 (version "0.3.0")
8788 (source
8789 (origin
8790 (method url-fetch)
8791 (uri (string-append
8792 "https://hackage.haskell.org/package/text-conversions/"
8793 "text-conversions-" version ".tar.gz"))
8794 (sha256
8795 (base32 "089c56vdj9xysqfr1hnvbnrghlg83q6w10xk02gflpsidcpvwmhp"))))
8796 (build-system haskell-build-system)
8797 (inputs
8798 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
8799 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
8800 ("ghc-errors" ,ghc-errors)))
8801 (native-inputs
8802 `(("ghc-hspec" ,ghc-hspec)
27b09f3a 8803 ("hspec-discover" ,hspec-discover)))
e90a06fc
NG
8804 (home-page "https://github.com/cjdev/text-conversions#readme")
8805 (synopsis "Safe conversions between textual types")
8806 (description "Safe conversions between textual types")
8807 (license license:isc)))
8808
ba7cbae3
NG
8809(define-public ghc-doclayout
8810 (package
8811 (name "ghc-doclayout")
8812 (version "0.3")
8813 (source
8814 (origin
8815 (method url-fetch)
8816 (uri (string-append
8817 "https://hackage.haskell.org/package/doclayout/"
8818 "doclayout-" version ".tar.gz"))
8819 (sha256
8820 (base32 "1wmnwq28jcyd6c80srivsnd5znmyl9sgmwwnlk2crwiiwqadbal7"))))
8821 (build-system haskell-build-system)
8822 (inputs
8823 `(("ghc-safe" ,ghc-safe)))
8824 (native-inputs
8825 `(("ghc-tasty" ,ghc-tasty)
8826 ("ghc-tasty-golden" ,ghc-tasty-golden)
8827 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
8828 (home-page "https://github.com/jgm/doclayout")
8829 (synopsis "Pretty-printing library for laying out text documents")
8830 (description
8831 "doclayout is a pretty-printing library for laying out text documents,
8832with several features not present in pretty-printing libraries designed for
8833code. It was designed for use in @code{Pandoc}.")
8834 (license license:bsd-3)))
8835
dddbc90c
RV
8836(define-public ghc-pandoc
8837 (package
8838 (name "ghc-pandoc")
d9b1567a 8839 (version "2.7.3")
dddbc90c
RV
8840 (source
8841 (origin
8842 (method url-fetch)
8843 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
8844 version ".tar.gz"))
d9b1567a
TS
8845 (patches (search-patches "ghc-pandoc-fix-html-tests.patch"
8846 "ghc-pandoc-fix-latex-test.patch"))
dddbc90c
RV
8847 (sha256
8848 (base32
d9b1567a 8849 "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8"))))
dddbc90c 8850 (build-system haskell-build-system)
c18e4f3e
RW
8851 (arguments
8852 `(#:phases
8853 (modify-phases %standard-phases
8854 (add-after 'unpack 'find-library
8855 (lambda _
8856 (substitute* "test/Tests/Command.hs"
8857 (("= dynlibEnv")
8858 (format #f "= [(\"LD_LIBRARY_PATH\" , \"~a/dist/build\")]"
8859 (getcwd))))
8860 #t)))))
8861 (outputs '("out" "static" "doc"))
dddbc90c
RV
8862 (inputs
8863 `(("ghc-aeson" ,ghc-aeson)
8864 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
8865 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
8866 ("ghc-blaze-html" ,ghc-blaze-html)
8867 ("ghc-blaze-markup" ,ghc-blaze-markup)
8868 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
8869 ("ghc-data-default" ,ghc-data-default)
dddbc90c
RV
8870 ("ghc-diff" ,ghc-diff)
8871 ("ghc-doctemplates" ,ghc-doctemplates)
8872 ("ghc-executable-path" ,ghc-executable-path)
8873 ("ghc-glob" ,ghc-glob)
8874 ("ghc-haddock-library" ,ghc-haddock-library)
8875 ("ghc-hslua" ,ghc-hslua)
d9b1567a 8876 ("ghc-hslua-module-system" ,ghc-hslua-module-system)
dddbc90c 8877 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
d9b1567a 8878 ("ghc-hsyaml" ,ghc-hsyaml)
dddbc90c
RV
8879 ("ghc-http" ,ghc-http)
8880 ("ghc-http-client" ,ghc-http-client)
8881 ("ghc-http-client-tls" ,ghc-http-client-tls)
8882 ("ghc-http-types" ,ghc-http-types)
d9b1567a 8883 ("ghc-ipynb" ,ghc-ipynb)
dddbc90c
RV
8884 ("ghc-juicypixels" ,ghc-juicypixels)
8885 ("ghc-network" ,ghc-network)
8886 ("ghc-network-uri" ,ghc-network-uri)
dddbc90c
RV
8887 ("ghc-pandoc-types" ,ghc-pandoc-types)
8888 ("ghc-random" ,ghc-random)
8889 ("ghc-scientific" ,ghc-scientific)
8890 ("ghc-sha" ,ghc-sha)
8891 ("ghc-skylighting" ,ghc-skylighting)
8892 ("ghc-split" ,ghc-split)
8893 ("ghc-syb" ,ghc-syb)
8894 ("ghc-tagsoup" ,ghc-tagsoup)
8895 ("ghc-temporary" ,ghc-temporary)
8896 ("ghc-texmath" ,ghc-texmath)
d9b1567a 8897 ("ghc-unicode-transforms" ,ghc-unicode-transforms)
dddbc90c
RV
8898 ("ghc-unordered-containers" ,ghc-unordered-containers)
8899 ("ghc-vector" ,ghc-vector)
8900 ("ghc-xml" ,ghc-xml)
dddbc90c
RV
8901 ("ghc-zip-archive" ,ghc-zip-archive)
8902 ("ghc-zlib" ,ghc-zlib)))
8903 (native-inputs
8904 `(("ghc-tasty" ,ghc-tasty)
8905 ("ghc-tasty-golden" ,ghc-tasty-golden)
8906 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
d9b1567a 8907 ("ghc-tasty-lua" ,ghc-tasty-lua)
dddbc90c
RV
8908 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
8909 ("ghc-quickcheck" ,ghc-quickcheck)
8910 ("ghc-hunit" ,ghc-hunit)))
8911 (home-page "https://pandoc.org")
8912 (synopsis "Conversion between markup formats")
8913 (description
8914 "Pandoc is a Haskell library for converting from one markup format to
8915another, and a command-line tool that uses this library. It can read and
8916write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
8917LaTeX, DocBook, and many more.
8918
8919Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
8920definition lists, tables, and other features. A compatibility mode is
8921provided for those who need a drop-in replacement for Markdown.pl.")
8922 (license license:gpl2+)))
8923
d4e4a382
RW
8924(define-public pandoc
8925 (package
8926 (inherit ghc-pandoc)
8927 (name "pandoc")
8928 (arguments
8929 `(#:configure-flags
8930 (list "-fstatic"
8931 ;; Do not build trypandoc; this is the default but it's better to
8932 ;; be explicit.
8933 "-f-trypandoc"
8934 ;; TODO: Without these we cannot link the Haskell libraries
8935 ;; statically. It would be nice if we could also build the
8936 ;; shared libraries.
8937 "--disable-shared"
8938 "--disable-executable-dynamic"
8939 ;; That's where we place all static libraries
8940 "--extra-lib-dirs=static-libs/"
8941 "--ghc-option=-static")
8942 #:modules ((guix build haskell-build-system)
8943 (guix build utils)
8944 (ice-9 match)
8945 (srfi srfi-1))
8946 #:phases
8947 (modify-phases %standard-phases
8948 (add-after 'unpack 'create-simple-paths-module
8949 (lambda* (#:key outputs #:allow-other-keys)
8950 (call-with-output-file "Paths_pandoc.hs"
8951 (lambda (port)
8952 (format port "\
8953{-# LANGUAGE CPP #-}
8954{-# LANGUAGE NoRebindableSyntax #-}
8955{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
8956module Paths_pandoc (version,getDataDir,getDataFileName) where
8957import Prelude
8958import Data.Version (Version(..))
8959import System.Info
8960version :: Version
8961version = Version [~a] []
8962
8963datadir :: FilePath
8964datadir = \"~a/share/\" ++
8965 arch ++ \"-\" ++
8966 os ++ \"-\" ++
8967 compilerName ++ \"-~a/pandoc-~a\"
8968
8969getDataDir :: IO FilePath
8970getDataDir = return datadir
8971
8972getDataFileName :: FilePath -> IO FilePath
8973getDataFileName name = do
8974 dir <- getDataDir
8975 return (dir ++ \"/\" ++ name)
8976"
8977 (string-map (lambda (chr) (if (eq? chr #\.) #\, chr))
8978 ,(package-version ghc-pandoc))
8979 (assoc-ref outputs "out")
8980 ,(package-version ghc)
8981 ,(package-version ghc-pandoc))))
8982 #t))
8983 (add-after 'unpack 'prepare-static-libraries
8984 (lambda* (#:key inputs #:allow-other-keys)
8985 (mkdir-p (string-append (getcwd) "/static-libs"))
8986 (for-each
8987 (lambda (input)
8988 (when (or (string-prefix? "static-" (car input))
8989 (string-prefix? "ghc" (car input)))
8990 (match (find-files (cdr input) "\\.a$")
8991 ((and (first . rest) libs)
8992 (for-each (lambda (lib)
8993 (let ((target (string-append (getcwd) "/static-libs/"
8994 (basename lib))))
8995 (unless (file-exists? target)
8996 (symlink first target))))
8997 libs))
8998 (_ #f))))
8999 inputs)
9000 #t))
9001 (delete 'check)
9002 (add-after 'install 'post-install-check
9003 (assoc-ref %standard-phases 'check)))))
9004 (outputs '("out" "lib" "static" "doc"))
9005 (inputs
9006 (let* ((direct-inputs (package-inputs ghc-pandoc))
9007 (all-static-inputs
9008 (map (lambda (pkg)
9009 (list (string-append "static-" (package-name pkg))
9010 pkg "static"))
9011 (delete-duplicates
9012 (append (map cadr direct-inputs)
9013 (filter (lambda (pkg)
9014 (string-prefix? "ghc-" (package-name pkg)))
9015 (package-closure
9016 (map cadr direct-inputs))))))))
9017 `(("zlib:static" ,zlib "static")
9018 ,@all-static-inputs
9019 ,@direct-inputs)))
9020 (native-inputs
9021 (let* ((direct-inputs (package-native-inputs ghc-pandoc))
9022 (all-static-inputs
9023 (map (lambda (pkg)
9024 (list (string-append "static-" (package-name pkg))
9025 pkg "static"))
9026 (delete-duplicates
9027 (append (map cadr direct-inputs)
9028 (filter (lambda (pkg)
9029 (string-prefix? "ghc-" (package-name pkg)))
9030 (package-closure
9031 (map cadr direct-inputs))))))))
9032 `(,@all-static-inputs
9033 ,@direct-inputs)))))
9034
dddbc90c
RV
9035(define-public ghc-pandoc-citeproc
9036 (package
9037 (name "ghc-pandoc-citeproc")
2da02d09 9038 (version "0.16.2")
dddbc90c
RV
9039 (source
9040 (origin
9041 (method url-fetch)
9042 (uri (string-append "https://hackage.haskell.org/package/"
9043 "pandoc-citeproc/pandoc-citeproc-"
9044 version ".tar.gz"))
9045 (sha256
9046 (base32
2da02d09 9047 "15mm17awgi1b5yazwhr5nh8b59qml1qk6pz6gpyijks70fq2arsv"))))
dddbc90c
RV
9048 (build-system haskell-build-system)
9049 (arguments
9050 `(#:phases
9051 (modify-phases %standard-phases
9052 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
9053 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
9054 (add-before 'configure 'patch-tests
9055 (lambda _
9056 (substitute* "tests/test-pandoc-citeproc.hs"
9057 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
9058 "let allTests = citeprocTests"))))
9059 ;; Tests need to be run after installation.
9060 (delete 'check)
9061 (add-after 'install 'post-install-check
9062 (assoc-ref %standard-phases 'check)))))
9063 (inputs
9064 `(("ghc-pandoc-types" ,ghc-pandoc-types)
9065 ("ghc-pandoc" ,ghc-pandoc)
9066 ("ghc-tagsoup" ,ghc-tagsoup)
9067 ("ghc-aeson" ,ghc-aeson)
9068 ("ghc-vector" ,ghc-vector)
9069 ("ghc-xml-conduit" ,ghc-xml-conduit)
9070 ("ghc-unordered-containers" ,ghc-unordered-containers)
9071 ("ghc-data-default" ,ghc-data-default)
9072 ("ghc-setenv" ,ghc-setenv)
9073 ("ghc-split" ,ghc-split)
9074 ("ghc-yaml" ,ghc-yaml)
9075 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
9076 ("ghc-rfc5051" ,ghc-rfc5051)
9077 ("ghc-syb" ,ghc-syb)
9078 ("ghc-old-locale" ,ghc-old-locale)
9079 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
9080 ("ghc-attoparsec" ,ghc-attoparsec)
9081 ("ghc-temporary" ,ghc-temporary)))
9082 (home-page "https://github.com/jgm/pandoc-citeproc")
9083 (synopsis "Library for using pandoc with citeproc")
9084 (description
9085 "The @code{pandoc-citeproc} library exports functions for using the
9086citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
9087rendering bibliographic reference citations into a variety of styles using a
9088macro language called @dfn{Citation Style Language} (CSL). This package also
9089contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
9090and also has a mode for converting bibliographic databases a YAML format
9091suitable for inclusion in pandoc YAML metadata.")
9092 (license license:bsd-3)))
9093
e380ef14
RW
9094(define-public pandoc-citeproc
9095 (package (inherit ghc-pandoc-citeproc)
9096 (name "pandoc-citeproc")
9097 (arguments
9098 `(#:configure-flags
9099 (list "-fstatic"
9100 "--disable-shared"
9101 "--disable-executable-dynamic"
9102 ;; That's where we place all static libraries
9103 "--extra-lib-dirs=static-libs/"
9104 "--ghc-option=-static")
9105 #:modules ((guix build haskell-build-system)
9106 (guix build utils)
9107 (ice-9 match)
9108 (srfi srfi-1))
9109 #:phases
9110 (modify-phases %standard-phases
9111 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
9112 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
9113 (add-before 'configure 'patch-tests
9114 (lambda _
9115 (substitute* "tests/test-pandoc-citeproc.hs"
9116 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
9117 "let allTests = citeprocTests"))))
9118 ;; Tests need to be run after installation.
9119 (delete 'check)
9120 (add-after 'install 'post-install-check
9121 (assoc-ref %standard-phases 'check))
9122 (add-after 'unpack 'create-simple-paths-module
9123 (lambda* (#:key outputs #:allow-other-keys)
9124 (call-with-output-file "Paths_pandoc_citeproc.hs"
9125 (lambda (port)
9126 (format port "\
9127{-# LANGUAGE CPP #-}
9128{-# LANGUAGE NoRebindableSyntax #-}
9129{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
9130module Paths_pandoc_citeproc (version,getDataFileName) where
9131import Prelude
9132import Data.Version (Version(..))
9133import System.Info
9134version :: Version
9135version = Version [~a] []
9136
9137datadir :: FilePath
9138datadir = \"~a/share/\" ++
9139 arch ++ \"-\" ++
9140 os ++ \"-\" ++
9141 compilerName ++ \"-~a/pandoc-citeproc-~a\"
9142
9143getDataDir :: IO FilePath
9144getDataDir = return datadir
9145
9146getDataFileName :: FilePath -> IO FilePath
9147getDataFileName name = do
9148 dir <- getDataDir
9149 return (dir ++ \"/\" ++ name)
9150"
9151 (string-map (lambda (chr) (if (eq? chr #\.) #\, chr))
9152 ,(package-version ghc-pandoc-citeproc))
9153 (assoc-ref outputs "out")
9154 ,(package-version ghc)
9155 ,(package-version ghc-pandoc-citeproc))))
9156 #t))
9157 (add-after 'unpack 'prepare-static-libraries
9158 (lambda* (#:key inputs #:allow-other-keys)
9159 (mkdir-p (string-append (getcwd) "/static-libs"))
9160 (for-each
9161 (lambda (input)
9162 (when (or (string-prefix? "static-" (car input))
9163 (string-prefix? "ghc" (car input)))
9164 (match (find-files (cdr input) "\\.a$")
9165 ((and (first . rest) libs)
9166 (for-each (lambda (lib)
9167 (let ((target (string-append (getcwd) "/static-libs/"
9168 (basename lib))))
9169 (unless (file-exists? target)
9170 (symlink first target))))
9171 libs))
9172 (_ #f))))
9173 inputs)
9174 #t)))))
9175 (inputs
9176 (let* ((direct-inputs
9177 (cons `("ghc-pandoc" ,pandoc)
9178 (alist-delete "ghc-pandoc"
9179 (package-inputs ghc-pandoc-citeproc))))
9180 (all-static-inputs
9181 (map (lambda (pkg)
9182 (list (string-append "static-" (package-name pkg))
9183 pkg "static"))
9184 (delete-duplicates
9185 (append (map cadr direct-inputs)
9186 (filter (lambda (pkg)
9187 (string-prefix? "ghc-" (package-name pkg)))
9188 (package-closure
9189 (map cadr direct-inputs))))))))
9190 `(("zlib:static" ,zlib "static")
9191 ("pandoc" ,pandoc "lib")
9192 ,@all-static-inputs
9193 ,@direct-inputs)))
9194 (synopsis "Pandoc filter for bibliographic references")))
9195
dddbc90c
RV
9196(define-public ghc-pandoc-types
9197 (package
9198 (name "ghc-pandoc-types")
0eaa88c8 9199 (version "1.17.6.1")
dddbc90c
RV
9200 (source (origin
9201 (method url-fetch)
9202 (uri (string-append "https://hackage.haskell.org/package/"
9203 "pandoc-types/pandoc-types-"
9204 version ".tar.gz"))
9205 (sha256
9206 (base32
0eaa88c8 9207 "1d6ygq991ddria71l7hg9yd7lq94sjy4m71rdws1v8hq943c4d0q"))))
dddbc90c 9208 (build-system haskell-build-system)
c7891956
RW
9209 (arguments
9210 `(#:phases
9211 (modify-phases %standard-phases
9212 ;; None of the directory names are actually used. By generating a
9213 ;; simpler module without references to store names we avoid
9214 ;; introducing references in the pandoc executable.
9215 (add-after 'unpack 'create-simple-paths-module
9216 (lambda _
9217 (call-with-output-file "Paths_pandoc_types.hs"
9218 (lambda (port)
9219 (format port "\
9220{-# LANGUAGE CPP #-}
9221{-# LANGUAGE NoRebindableSyntax #-}
9222{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
9223module Paths_pandoc_types (version) where
9224import Data.Version (Version(..))
9225version :: Version
9226version = Version [~a] []
9227" (string-map (lambda (chr) (if (eq? chr #\.) #\, chr)) ,version))))
9228 #t)))))
dddbc90c
RV
9229 (inputs
9230 `(("ghc-syb" ,ghc-syb)
9231 ("ghc-aeson" ,ghc-aeson)
9232 ("ghc-string-qq" ,ghc-string-qq)))
9233 (native-inputs
9234 `(("ghc-quickcheck" ,ghc-quickcheck)
9235 ("ghc-test-framework" ,ghc-test-framework)
9236 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
9237 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
9238 ("ghc-hunit" ,ghc-hunit)))
d48b5c8a 9239 (home-page "https://johnmacfarlane.net/pandoc")
dddbc90c
RV
9240 (synopsis "Types for representing a structured document")
9241 (description
9242 "This module defines the @code{Pandoc} data structure, which is used by
9243pandoc to represent structured documents. It also provides functions for
9244building up, manipulating and serialising @code{Pandoc} structures.")
9245 (license license:bsd-3)))
9246
9247(define-public ghc-parallel
9248 (package
9249 (name "ghc-parallel")
9250 (version "3.2.2.0")
534d6caa 9251 (outputs '("out" "static" "doc"))
dddbc90c
RV
9252 (source
9253 (origin
9254 (method url-fetch)
9255 (uri (string-append
9256 "https://hackage.haskell.org/package/parallel/parallel-"
9257 version
9258 ".tar.gz"))
9259 (sha256
9260 (base32
9261 "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"))))
9262 (build-system haskell-build-system)
9263 (home-page "https://hackage.haskell.org/package/parallel")
9264 (synopsis "Parallel programming library")
9265 (description
9266 "This package provides a library for parallel programming.")
9267 (license license:bsd-3)))
9268
9269(define-public ghc-parsec-numbers
9270 (package
9271 (name "ghc-parsec-numbers")
9272 (version "0.1.0")
9273 (source
9274 (origin
9275 (method url-fetch)
9276 (uri (string-append "https://hackage.haskell.org/package/"
9277 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
9278 (sha256
9279 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
9280 (build-system haskell-build-system)
9281 (home-page "https://hackage.haskell.org/package/parsec-numbers")
9282 (synopsis "Utilities for parsing numbers from strings")
9283 (description
9284 "This package provides the number parsers without the need to use a large
9285(and unportable) token parser.")
9286 (license license:bsd-3)))
9287
9288(define-public ghc-parser-combinators
9289 (package
9290 (name "ghc-parser-combinators")
2f173160 9291 (version "1.1.0")
dddbc90c
RV
9292 (source
9293 (origin
9294 (method url-fetch)
9295 (uri (string-append "https://hackage.haskell.org/package/"
9296 "parser-combinators/parser-combinators-"
9297 version ".tar.gz"))
9298 (sha256
9299 (base32
2f173160 9300 "149yhbnrrl108h1jinrsxni3rwrldhphpk9bbmbpr90q5fbl4xmc"))))
dddbc90c
RV
9301 (build-system haskell-build-system)
9302 (home-page "https://github.com/mrkkrp/parser-combinators")
9303 (synopsis "Commonly useful parser combinators")
9304 (description
9305 "This is a lightweight package providing commonly useful parser
9306combinators.")
9307 (license license:bsd-3)))
9308
9309(define-public ghc-parsers
9310 (package
9311 (name "ghc-parsers")
6818f970 9312 (version "0.12.10")
dddbc90c
RV
9313 (source
9314 (origin
9315 (method url-fetch)
9316 (uri (string-append
9317 "https://hackage.haskell.org/package/parsers/parsers-"
9318 version
9319 ".tar.gz"))
9320 (sha256
9321 (base32
6818f970 9322 "0v0smxbzk1qpdfkfqqmrzd2dngv3vxba10mkjn9nfm6a309izf8p"))))
dddbc90c
RV
9323 (build-system haskell-build-system)
9324 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
9325 ; -package attoparsec-0.13.0.1"
9326 (inputs
9327 `(("ghc-base-orphans" ,ghc-base-orphans)
9328 ("ghc-attoparsec" ,ghc-attoparsec)
9329 ("ghc-scientific" ,ghc-scientific)
9330 ("ghc-charset" ,ghc-charset)
9331 ("ghc-unordered-containers" ,ghc-unordered-containers)))
9332 (home-page "https://github.com/ekmett/parsers/")
9333 (synopsis "Parsing combinators")
9334 (description "This library provides convenient combinators for working
9335with and building parsing combinator libraries. Given a few simple instances,
9336you get access to a large number of canned definitions. Instances exist for
9337the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
9338@code{Text.Read}.")
9339 (license license:bsd-3)))
9340
9341(define-public ghc-path
9342 (package
9343 (name "ghc-path")
9344 (version "0.6.1")
9345 (source
9346 (origin
9347 (method url-fetch)
9348 (uri (string-append
9349 "https://hackage.haskell.org/package/path/path-"
9350 version
9351 ".tar.gz"))
9352 (sha256
9353 (base32
9354 "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb"))))
9355 (build-system haskell-build-system)
9356 (arguments
9357 ;; TODO: There are some Windows-related tests and modules that need to be
9358 ;; danced around.
9359 `(#:tests? #f
9360 #:cabal-revision
9361 ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463")))
9362 (inputs
9363 `(("ghc-aeson" ,ghc-aeson)
9364 ("ghc-exceptions" ,ghc-exceptions)
9365 ("ghc-hashable" ,ghc-hashable)))
9366 (native-inputs
9367 `(("ghc-hspec" ,ghc-hspec)
9368 ("ghc-quickcheck" ,ghc-quickcheck)
9369 ("ghc-genvalidity" ,ghc-genvalidity)
9370 ("ghc-genvalidity-property" ,ghc-genvalidity-property)
9371 ("ghc-hspec" ,ghc-hspec)
9372 ("ghc-validity" ,ghc-validity)))
9373 (home-page
3ef91e15 9374 "https://hackage.haskell.org/package/path")
dddbc90c
RV
9375 (synopsis "Support for well-typed paths")
9376 (description "This package introduces a type for paths upholding useful
9377invariants.")
9378 (license license:bsd-3)))
9379
9380(define-public ghc-path-io
9381 (package
9382 (name "ghc-path-io")
a06613ea 9383 (version "1.4.2")
dddbc90c
RV
9384 (source
9385 (origin
9386 (method url-fetch)
9387 (uri (string-append
9388 "https://hackage.haskell.org/package/path-io/path-io-"
9389 version
9390 ".tar.gz"))
9391 (sha256
9392 (base32
a06613ea 9393 "0jqx3mi4an4kb3kg78n1p3xrz832yrfrnvj795b0xhkv6h1z5ir3"))))
dddbc90c
RV
9394 (build-system haskell-build-system)
9395 (inputs
9396 `(("ghc-dlist" ,ghc-dlist)
9397 ("ghc-exceptions" ,ghc-exceptions)
9398 ("ghc-path" ,ghc-path)
9399 ("ghc-transformers-base" ,ghc-transformers-base)
9400 ("ghc-unix-compat" ,ghc-unix-compat)
9401 ("ghc-temporary" ,ghc-temporary)))
9402 (native-inputs
9403 `(("ghc-hspec" ,ghc-hspec)))
dddbc90c
RV
9404 (home-page
9405 "https://github.com/mrkkrp/path-io")
9406 (synopsis "Functions for manipulating well-typed paths")
9407 (description "This package provides an interface to the @code{directory}
9408package for users of @code{path}. It also implements some missing stuff like
9409recursive scanning and copying of directories, working with temporary
9410files/directories, and more.")
9411 (license license:bsd-3)))
9412
9413(define-public ghc-paths
9414 (package
9415 (name "ghc-paths")
9a8adeb1 9416 (version "0.1.0.12")
534d6caa 9417 (outputs '("out" "static" "doc"))
dddbc90c
RV
9418 (source
9419 (origin
9420 (method url-fetch)
9421 (uri (string-append
9422 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
9423 version
9424 ".tar.gz"))
9425 (sha256
9426 (base32
9a8adeb1 9427 "1164w9pqnf7rjm05mmfjznz7rrn415blrkk1kjc0gjvks1vfdjvf"))))
dddbc90c
RV
9428 (build-system haskell-build-system)
9429 (home-page "https://github.com/simonmar/ghc-paths")
9430 (synopsis
9431 "Knowledge of GHC's installation directories")
9432 (description
9433 "Knowledge of GHC's installation directories.")
9434 (license license:bsd-3)))
9435
9436(define-public ghc-patience
9437 (package
9438 (name "ghc-patience")
484476f3 9439 (version "0.3")
dddbc90c
RV
9440 (source
9441 (origin
9442 (method url-fetch)
9443 (uri (string-append
9444 "https://hackage.haskell.org/package/patience/patience-"
9445 version ".tar.gz"))
9446 (sha256
9447 (base32
484476f3 9448 "1i1b37lgi31c17yrjyf8pdm4nf5lq8vw90z3rri78hf0k66d0p3i"))))
dddbc90c
RV
9449 (build-system haskell-build-system)
9450 (home-page "https://hackage.haskell.org/package/patience")
9451 (synopsis "Patience diff and longest increasing subsequence")
9452 (description
9453 "This library implements the 'patience diff' algorithm, as well as the
9454patience algorithm for the longest increasing subsequence problem.
9455Patience diff computes the difference between two lists, for example the lines
9456of two versions of a source file. It provides a good balance between
9457performance, nice output for humans, and simplicity of implementation.")
9458 (license license:bsd-3)))
9459
25a221a8
JS
9460(define-public ghc-pattern-arrows
9461 (package
9462 (name "ghc-pattern-arrows")
9463 (version "0.0.2")
9464 (source
9465 (origin
9466 (method url-fetch)
9467 (uri (string-append
9468 "mirror://hackage/package/pattern-arrows/pattern-arrows-"
9469 version
9470 ".tar.gz"))
9471 (sha256
9472 (base32
9473 "13q7bj19hd60rnjfc05wxlyck8llxy11z3mns8kxg197wxrdkhkg"))))
9474 (build-system haskell-build-system)
9475 (home-page
9476 "https://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html")
9477 (synopsis "Arrows for Pretty Printing")
9478 (description
9479 "A library for generating concise pretty printers based on precedence
9480rules.")
9481 (license license:expat)))
9482
dddbc90c
RV
9483(define-public ghc-pcre-light
9484 (package
9485 (name "ghc-pcre-light")
9486 (version "0.4.0.4")
9487 (source
9488 (origin
9489 (method url-fetch)
9490 (uri (string-append
9491 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
9492 version
9493 ".tar.gz"))
9494 (sha256
9495 (base32
9496 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
9497 (build-system haskell-build-system)
a928f35b
TS
9498 (arguments
9499 `(#:extra-directories ("pcre")))
dddbc90c
RV
9500 (inputs
9501 `(("pcre" ,pcre)))
9502 (native-inputs
9503 `(("pkg-config" ,pkg-config)))
9504 (home-page "https://github.com/Daniel-Diaz/pcre-light")
9505 (synopsis "Haskell library for Perl 5 compatible regular expressions")
9506 (description "This package provides a small, efficient, and portable regex
9507library for Perl 5 compatible regular expressions. The PCRE library is a set
9508of functions that implement regular expression pattern matching using the same
9509syntax and semantics as Perl 5.")
9510 (license license:bsd-3)))
9511
9512(define-public ghc-persistent
9513 (package
9514 (name "ghc-persistent")
8c9697a9 9515 (version "2.10.4")
dddbc90c
RV
9516 (source
9517 (origin
9518 (method url-fetch)
8c9697a9
ASM
9519 (uri (string-append
9520 "https://hackage.haskell.org/package/persistent/"
9521 "persistent-" version ".tar.gz"))
dddbc90c
RV
9522 (sha256
9523 (base32
8c9697a9 9524 "1cxswz72sqdg2z1nbpgp1k5qr41djgk8qbf8nz7wfppsrhacyffi"))))
dddbc90c 9525 (build-system haskell-build-system)
8c9697a9
ASM
9526 (inputs
9527 `(("ghc-aeson" ,ghc-aeson)
9528 ("ghc-attoparsec" ,ghc-attoparsec)
9529 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9530 ("ghc-blaze-html" ,ghc-blaze-html)
9531 ("ghc-conduit" ,ghc-conduit)
9532 ("ghc-fast-logger" ,ghc-fast-logger)
9533 ("ghc-http-api-data" ,ghc-http-api-data)
9534 ("ghc-monad-logger" ,ghc-monad-logger)
9535 ("ghc-path-pieces" ,ghc-path-pieces)
9536 ("ghc-resource-pool" ,ghc-resource-pool)
9537 ("ghc-resourcet" ,ghc-resourcet)
9538 ("ghc-scientific" ,ghc-scientific)
9539 ("ghc-silently" ,ghc-silently)
9540 ("ghc-unliftio-core" ,ghc-unliftio-core)
9541 ("ghc-unliftio" ,ghc-unliftio)
9542 ("ghc-unordered-containers"
9543 ,ghc-unordered-containers)
9544 ("ghc-vector" ,ghc-vector)))
dddbc90c
RV
9545 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9546 (home-page "https://www.yesodweb.com/book/persistent")
9547 (synopsis "Type-safe, multi-backend data serialization for Haskell")
9548 (description "This Haskell package allows Haskell programs to access data
9549storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
9550way.")
9551 (license license:expat)))
9552
9553(define-public ghc-persistent-sqlite
9554 (package
9555 (name "ghc-persistent-sqlite")
78858787 9556 (version "2.10.5.2")
dddbc90c
RV
9557 (source
9558 (origin
9559 (method url-fetch)
78858787
ASM
9560 (uri (string-append
9561 "https://hackage.haskell.org/package/persistent-sqlite/"
9562 "persistent-sqlite-" version ".tar.gz"))
dddbc90c
RV
9563 (sha256
9564 (base32
78858787 9565 "0agag3cgivl6mk38pqzr0qw5lxps9p2bgdwvi5658l46hs7bixxn"))))
dddbc90c 9566 (build-system haskell-build-system)
78858787
ASM
9567 (inputs
9568 `(("ghc-persistent" ,ghc-persistent)
9569 ("ghc-aeson" ,ghc-aeson)
9570 ("ghc-conduit" ,ghc-conduit)
9571 ("ghc-microlens-th" ,ghc-microlens-th)
9572 ("ghc-monad-logger" ,ghc-monad-logger)
9573 ("ghc-resource-pool" ,ghc-resource-pool)
9574 ("ghc-resourcet" ,ghc-resourcet)
9575 ("ghc-unliftio-core" ,ghc-unliftio-core)
9576 ("ghc-unordered-containers"
9577 ,ghc-unordered-containers)))
9578 (native-inputs
9579 `(("ghc-persistent-template"
9580 ,ghc-persistent-template)
9581 ("ghc-persistent-test" ,ghc-persistent-test)
9582 ("ghc-exceptions" ,ghc-exceptions)
9583 ("ghc-fast-logger" ,ghc-fast-logger)
9584 ("ghc-hspec" ,ghc-hspec)
9585 ("ghc-hunit" ,ghc-hunit)
9586 ("ghc-quickcheck" ,ghc-quickcheck)
9587 ("ghc-system-fileio" ,ghc-system-fileio)
9588 ("ghc-system-filepath" ,ghc-system-filepath)
9589 ("ghc-temporary" ,ghc-temporary)))
dddbc90c
RV
9590 (home-page
9591 "https://www.yesodweb.com/book/persistent")
9592 (synopsis "Backend for the persistent library using sqlite3")
9593 (description "This Haskell package includes a thin sqlite3 wrapper based
9594on the direct-sqlite package, as well as the entire C library, so there are no
9595system dependencies.")
9596 (license license:expat)))
9597
9598(define-public ghc-persistent-template
9599 (package
9600 (name "ghc-persistent-template")
d5378e98 9601 (version "2.8.0")
dddbc90c
RV
9602 (source
9603 (origin
9604 (method url-fetch)
d5378e98
ASM
9605 (uri (string-append
9606 "https://hackage.haskell.org/package/persistent-template/"
9607 "persistent-template-" version ".tar.gz"))
dddbc90c
RV
9608 (sha256
9609 (base32
d5378e98 9610 "16yjrl0gh4jbs4skr7iv6a55lny59bqhd6hjmvch1cl9j5d0c0g3"))))
dddbc90c 9611 (build-system haskell-build-system)
d5378e98
ASM
9612 (inputs
9613 `(("ghc-persistent" ,ghc-persistent)
9614 ("ghc-aeson" ,ghc-aeson)
9615 ("ghc-http-api-data" ,ghc-http-api-data)
9616 ("ghc-monad-control" ,ghc-monad-control)
9617 ("ghc-monad-logger" ,ghc-monad-logger)
9618 ("ghc-path-pieces" ,ghc-path-pieces)
9619 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
9620 ("ghc-unordered-containers"
9621 ,ghc-unordered-containers)))
9622 (native-inputs
9623 `(("ghc-hspec" ,ghc-hspec)
9624 ("ghc-quickcheck" ,ghc-quickcheck)))
dddbc90c
RV
9625 (home-page "https://www.yesodweb.com/book/persistent")
9626 (synopsis "Type-safe, non-relational, multi-backend persistence")
9627 (description "This Haskell package provides interfaces and helper
9628functions for the ghc-persistent package.")
9629 (license license:expat)))
9630
ce32f7c7
ASM
9631(define-public ghc-persistent-test
9632 (package
9633 (name "ghc-persistent-test")
9634 (version "2.0.3.1")
9635 (source
9636 (origin
9637 (method url-fetch)
9638 (uri (string-append
9639 "https://hackage.haskell.org/package/persistent-test/"
9640 "persistent-test-" version ".tar.gz"))
9641 (sha256
9642 (base32
9643 "11aq5cy0n43jamf6mg4sr4300bc2zdbjxsczzxwjkb4hzs0ijsdv"))))
9644 (build-system haskell-build-system)
9645 (inputs
9646 `(("ghc-aeson" ,ghc-aeson)
9647 ("ghc-blaze-html" ,ghc-blaze-html)
9648 ("ghc-conduit" ,ghc-conduit)
9649 ("ghc-monad-control" ,ghc-monad-control)
9650 ("ghc-monad-logger" ,ghc-monad-logger)
9651 ("ghc-path-pieces" ,ghc-path-pieces)
9652 ("ghc-persistent" ,ghc-persistent)
9653 ("ghc-persistent-template" ,ghc-persistent-template)
9654 ("ghc-random" ,ghc-random)
9655 ("ghc-resourcet" ,ghc-resourcet)
9656 ("ghc-transformers-base" ,ghc-transformers-base)
9657 ("ghc-unliftio" ,ghc-unliftio)
9658 ("ghc-unliftio-core" ,ghc-unliftio-core)
9659 ("ghc-unordered-containers" ,ghc-unordered-containers)))
9660 (native-inputs
9661 `(("ghc-quickcheck" ,ghc-quickcheck)
9662 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
9663 ("ghc-hspec" ,ghc-hspec)
9664 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
9665 ("ghc-hunit" ,ghc-hunit)))
9666 (home-page "https://www.yesodweb.com/book/persistent")
9667 (synopsis "Tests for the Persistent database library")
9668 (description
9669 "This is only for use in developing libraries that should conform to
9670the persistent interface, not for users of the persistent suite of database
9671libraries.")
9672 (license license:expat)))
9673
0fb34235
JS
9674(define-public ghc-pgp-wordlist
9675 (package
9676 (name "ghc-pgp-wordlist")
9677 (version "0.1.0.3")
9678 (source
9679 (origin
9680 (method url-fetch)
9681 (uri (string-append
9682 "mirror://hackage/package/pgp-wordlist/pgp-wordlist-"
9683 version
9684 ".tar.gz"))
9685 (sha256
9686 (base32
9687 "15g6qh0fb7kjj3l0w8cama7cxgnhnhybw760md9yy7cqfq15cfzg"))))
9688 (build-system haskell-build-system)
9689 (inputs
9690 `(("ghc-vector" ,ghc-vector)))
9691 (native-inputs
9692 `(("ghc-hunit" ,ghc-hunit)
9693 ("ghc-tasty" ,ghc-tasty)
9694 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9695 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9696 ("ghc-doctest" ,ghc-doctest)))
9697 (home-page
9698 "https://github.com/quchen/pgp-wordlist")
9699 (synopsis
9700 "Translate between binary data and a human-readable collection of words")
9701 (description
9702 "The PGP Word List consists of two phonetic alphabets, each with one word
9703per possible byte value. A string of bytes is translated with these
9704alphabets, alternating between them at each byte.
9705
9706The PGP words corresponding to the bytes 5B 1D CA 6E are \"erase breakaway
9707spellbind headwaters\", for example.
9708
9709For further information, see
9710@url{http://en.wikipedia.org/wiki/PGP_word_list}.")
9711 (license license:bsd-3)))
9712
4639fa32
ASM
9713(define-public ghc-pipes
9714 (package
9715 (name "ghc-pipes")
9716 (version "4.3.13")
9717 (source
9718 (origin
9719 (method url-fetch)
9720 (uri (string-append
9721 "https://hackage.haskell.org/package/pipes/"
9722 "pipes-" version ".tar.gz"))
9723 (sha256
9724 (base32
9725 "1ch3xr5f5if0psd3lsyrpkwrgh36synnzqcpimghprys68l4zfkn"))))
9726 (build-system haskell-build-system)
9727 (inputs
9728 `(("ghc-exceptions" ,ghc-exceptions)
9729 ("ghc-mmorph" ,ghc-mmorph)
9730 ("ghc-void" ,ghc-void)
9731 ("ghc-semigroups" ,ghc-semigroups)))
9732 (native-inputs
9733 `(("ghc-quickcheck" ,ghc-quickcheck)
9734 ("ghc-test-framework" ,ghc-test-framework)
9735 ("ghc-test-framework-quickcheck2"
9736 ,ghc-test-framework-quickcheck2)))
9737 (home-page
9738 "https://hackage.haskell.org/package/pipes")
9739 (synopsis "Compositional pipelines")
9740 (description
9741 "A clean and powerful stream processing library that lets you build
9742and connect reusable streaming components. Advantages over traditional streaming
9743libraries:
9744@itemize
9745@item Concise API: Use simple commands like @code{for}, (@code{>->}), @code{await},
9746and @code{yield}
9747@item Blazing fast: Implementation tuned for speed, including shortcut fusion
9748@item Lightweight Dependency: pipes is small and compiles very rapidly, including
9749dependencies
9750@item Elegant semantics: Use practical category theory
9751@item ListT: Correct implementation of @code{ListT} that interconverts with pipes
9752@item Bidirectionality: Implement duplex channels
9753@end itemize")
9754 (license license:bsd-3)))
9755
451775a5
ASM
9756(define-public ghc-pointedlist
9757 (package
9758 (name "ghc-pointedlist")
9759 (version "0.6.1")
9760 (source
9761 (origin
9762 (method url-fetch)
9763 (uri (string-append
9764 "https://hackage.haskell.org/package/pointedlist/"
9765 "pointedlist-" version ".tar.gz"))
9766 (sha256
9767 (base32
9768 "16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l"))))
9769 (build-system haskell-build-system)
9770 (home-page
3ef91e15 9771 "https://hackage.haskell.org/package/pointedlist")
451775a5
ASM
9772 (synopsis
9773 "Zipper-like comonad which works as a list, tracking a position")
9774 (description
9775 "A PointedList tracks the position in a non-empty list which works
9776similarly to a zipper. A current item is always required, and therefore
9777the list may never be empty. A circular PointedList wraps around to the
9778other end when progressing past the actual edge.")
9779 (license license:bsd-3)))
9780
dddbc90c
RV
9781(define-public ghc-polyparse
9782 (package
9783 (name "ghc-polyparse")
9822b9ca 9784 (version "1.12.1")
dddbc90c
RV
9785 (source
9786 (origin
9787 (method url-fetch)
9788 (uri (string-append
9789 "https://hackage.haskell.org/package/polyparse/polyparse-"
9790 version
9791 ".tar.gz"))
9792 (sha256
9793 (base32
9822b9ca 9794 "19fs18g7fvfdkm9zy28cgighjcxfa6mcpqgyp6whmsjkb3h393fx"))))
dddbc90c
RV
9795 (build-system haskell-build-system)
9796 (home-page
9797 "http://code.haskell.org/~malcolm/polyparse/")
9798 (synopsis
9799 "Alternative parser combinator libraries")
9800 (description
9801 "This package provides a variety of alternative parser combinator
9802libraries, including the original HuttonMeijer set. The Poly sets have
9803features like good error reporting, arbitrary token type, running state, lazy
9804parsing, and so on. Finally, Text.Parse is a proposed replacement for the
9805standard Read class, for better deserialisation of Haskell values from
9806Strings.")
9807 (license license:lgpl2.1)))
9808
9809(define-public ghc-pqueue
9810 (package
9811 (name "ghc-pqueue")
142415b0 9812 (version "1.4.1.2")
dddbc90c
RV
9813 (source
9814 (origin
9815 (method url-fetch)
9816 (uri (string-append "https://hackage.haskell.org/package/"
9817 "pqueue/pqueue-" version ".tar.gz"))
9818 (sha256
9819 (base32
142415b0 9820 "1v4zhv2sc1zsw91hvnarkjhayx2dnf7ccxz6rrhsqpcs0szaranj"))))
dddbc90c
RV
9821 (build-system haskell-build-system)
9822 (native-inputs
9823 `(("ghc-quickcheck" ,ghc-quickcheck)))
9824 (home-page "https://hackage.haskell.org/package/pqueue")
9825 (synopsis "Reliable, persistent, fast priority queues")
9826 (description
9827 "This package provides a fast, reliable priority queue implementation
9828based on a binomial heap.")
9829 (license license:bsd-3)))
9830
9831(define-public ghc-prelude-extras
9832 (package
9833 (name "ghc-prelude-extras")
9834 (version "0.4.0.3")
9835 (source
9836 (origin
9837 (method url-fetch)
9838 (uri (string-append
9839 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
9840 version
9841 ".tar.gz"))
9842 (sha256
9843 (base32
9844 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
9845 (build-system haskell-build-system)
9846 (home-page "https://github.com/ekmett/prelude-extras")
9847 (synopsis "Higher order versions of Prelude classes")
9848 (description "This library provides higher order versions of
9849@code{Prelude} classes to ease programming with polymorphic recursion and
9850reduce @code{UndecidableInstances}.")
9851 (license license:bsd-3)))
9852
9853(define-public ghc-prettyclass
9854 (package
9855 (name "ghc-prettyclass")
9856 (version "1.0.0.0")
9857 (source
9858 (origin
9859 (method url-fetch)
9860 (uri (string-append "https://hackage.haskell.org/package/"
9861 "prettyclass/prettyclass-" version ".tar.gz"))
9862 (sha256
9863 (base32
9864 "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5"))))
9865 (build-system haskell-build-system)
3ef91e15 9866 (home-page "https://hackage.haskell.org/package/prettyclass")
dddbc90c
RV
9867 (synopsis "Pretty printing class similar to Show")
9868 (description "This package provides a pretty printing class similar
9869to @code{Show}, based on the HughesPJ pretty printing library. It
9870provides the pretty printing class and instances for the Prelude
9871types.")
9872 (license license:bsd-3)))
9873
2fad2bf7
JS
9874(define-public ghc-prettyprinter
9875 (package
9876 (name "ghc-prettyprinter")
9877 (version "1.2.1.1")
9878 (source
9879 (origin
9880 (method url-fetch)
9881 (uri (string-append
9882 "mirror://hackage/package/prettyprinter/prettyprinter-"
9883 version
9884 ".tar.gz"))
9885 (sha256
9886 (base32 "1p9c3q55hba4c0zyxc624g5df7wgsclpsmd8wqpdnmib882q9d1v"))))
9887 (build-system haskell-build-system)
9888 (native-inputs
9889 `(("ghc-doctest" ,ghc-doctest)
9890 ("ghc-pgp-wordlist" ,ghc-pgp-wordlist)
9891 ("ghc-tasty" ,ghc-tasty)
9892 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9893 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
9894 (home-page "https://github.com/quchen/prettyprinter")
9895 (synopsis
9896 "Modern, easy to use, well-documented, extensible pretty-printer")
9897 (description
9898 "A prettyprinter/text rendering engine. Easy to use, well-documented,
9899ANSI terminal backend exists, HTML backend is trivial to implement, no name
9900clashes, @code{Text}-based, extensible.")
9901 (license license:bsd-2)))
9902
2496e49f
JS
9903(define-public ghc-prettyprinter-1.6
9904 (package
9905 (inherit ghc-prettyprinter)
9906 (version "1.6.1")
9907 (source
9908 (origin
9909 (method url-fetch)
9910 (uri (string-append
9911 "mirror://hackage/package/prettyprinter/prettyprinter-"
9912 version
9913 ".tar.gz"))
9914 (sha256
9915 (base32 "10fphxh8lvdaw7i8jyllwmj87w02db92mf99zfw5vddp9mv6b5rz"))))
9916 (inputs
9917 `(("ghc-quickckeck-instances" , ghc-quickcheck-instances)
9918 ,@(package-inputs ghc-prettyprinter)))))
9919
b4f24d66
JS
9920(define-public ghc-prettyprinter-ansi-terminal
9921 (package
9922 (name "ghc-prettyprinter-ansi-terminal")
9923 (version "1.1.1.2")
9924 (source
9925 (origin
9926 (method url-fetch)
9927 (uri (string-append
9928 "mirror://hackage/package/prettyprinter-ansi-terminal/"
9929 "prettyprinter-ansi-terminal-" version ".tar.gz"))
9930 (sha256
9931 (base32 "0ha6vz707qzb5ky7kdsnw2zgphg2dnxrpbrxy8gaw119vwhb9q6k"))))
9932 (build-system haskell-build-system)
9933 (inputs
9934 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
9935 ("ghc-prettyprinter" ,ghc-prettyprinter-1.6)))
9936 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
9937 (home-page
9938 "https://github.com/quchen/prettyprinter")
9939 (synopsis
9940 "ANSI terminal backend for the prettyprinter package")
9941 (description "ANSI terminal backend for the prettyprinter package.")
9942 (license license:bsd-2)))
9943
dddbc90c
RV
9944(define-public ghc-pretty-hex
9945 (package
9946 (name "ghc-pretty-hex")
9947 (version "1.0")
9948 (source
9949 (origin
9950 (method url-fetch)
9951 (uri (string-append "https://hackage.haskell.org/package/"
9952 "pretty-hex-" version "/"
9953 "pretty-hex-" version ".tar.gz"))
9954 (sha256
9955 (base32
9956 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
9957 (build-system haskell-build-system)
9958 (home-page "https://github.com/GaloisInc/hexdump")
9959 (synopsis "Haskell library for hex dumps of ByteStrings")
9960 (description "This Haskell library generates pretty hex dumps of
9961ByteStrings in the style of other common *nix hex dump tools.")
9962 (license license:bsd-3)))
9963
9964(define-public ghc-pretty-show
9965 (package
9966 (name "ghc-pretty-show")
7683a084 9967 (version "1.9.5")
dddbc90c
RV
9968 (source
9969 (origin
9970 (method url-fetch)
9971 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
9972 "pretty-show-" version ".tar.gz"))
9973 (sha256
9974 (base32
7683a084 9975 "0gs2pabi4qa4b0r5vffpf9b1cf5n9y2939a3lljjw7cmg6xvx5dh"))))
dddbc90c
RV
9976 (build-system haskell-build-system)
9977 (inputs
9978 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
9979 ("ghc-happy" ,ghc-happy)))
702a1012 9980 (home-page "https://wiki.github.com/yav/pretty-show")
dddbc90c
RV
9981 (synopsis "Tools for working with derived `Show` instances")
9982 (description
9983 "This package provides a library and an executable for working with
9984derived @code{Show} instances. By using the library, derived @code{Show}
9985instances can be parsed into a generic data structure. The @code{ppsh} tool
9986uses the library to produce human-readable versions of @code{Show} instances,
9987which can be quite handy for debugging Haskell programs. We can also render
9988complex generic values into an interactive Html page, for easier
9989examination.")
9990 (license license:expat)))
9991
f011e3d6
JS
9992(define-public ghc-pretty-simple
9993 (package
9994 (name "ghc-pretty-simple")
9995 (version "2.2.0.1")
9996 (source
9997 (origin
9998 (method url-fetch)
9999 (uri (string-append
10000 "mirror://hackage/package/pretty-simple/"
10001 "pretty-simple-" version ".tar.gz"))
10002 (sha256
10003 (base32 "0wsi9235ihm15s145lxi7325vv2k4bhighc5m88kn1lk0pl81aqq"))))
10004 (build-system haskell-build-system)
10005 (inputs
10006 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
10007 ("ghc-glob" ,ghc-glob)
10008 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
10009 ("ghc-aeson" ,ghc-aeson)))
10010 (native-inputs
10011 `(("ghc-doctest" ,ghc-doctest)))
10012 (home-page "https://github.com/cdepillabout/pretty-simple")
10013 (synopsis "Pretty printer for data types with a 'Show' instance")
10014 (description
10015 "Pretty-simple is a pretty printer for Haskell data types that have a
10016Show instance.")
10017 (license license:bsd-3)))
10018
dddbc90c
RV
10019(define-public ghc-primitive
10020 (package
10021 (name "ghc-primitive")
10022 (version "0.6.4.0")
534d6caa 10023 (outputs '("out" "static" "doc"))
dddbc90c
RV
10024 (source
10025 (origin
10026 (method url-fetch)
10027 (uri (string-append
10028 "https://hackage.haskell.org/package/primitive/primitive-"
10029 version
10030 ".tar.gz"))
10031 (sha256
10032 (base32
10033 "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc"))))
10034 (build-system haskell-build-system)
6cf0daa4
TS
10035 (arguments
10036 `(#:cabal-revision
10037 ("1" "18a14k1yiam1m4l29rin9a0y53yp3nxvkz358nysld8aqwy2qsjv")))
dddbc90c
RV
10038 (home-page
10039 "https://github.com/haskell/primitive")
10040 (synopsis "Primitive memory-related operations")
10041 (description
10042 "This package provides various primitive memory-related operations.")
10043 (license license:bsd-3)))
10044
21f5b9a9
JS
10045(define-public ghc-process-extras
10046 (package
10047 (name "ghc-process-extras")
10048 (version "0.7.4")
10049 (source
10050 (origin
10051 (method url-fetch)
10052 (uri
10053 (string-append
10054 "https://hackage.haskell.org/package/process-extras/"
10055 "process-extras-" version ".tar.gz"))
10056 (sha256
10057 (base32
10058 "0klqgr37f1z2z6i0a9b0giapmq0p35l5k9kz1p7f0k1597w7agi9"))))
10059 (build-system haskell-build-system)
10060 (inputs
10061 `(("ghc-data-default" ,ghc-data-default)
10062 ("ghc-generic-deriving" ,ghc-generic-deriving)
10063 ("ghc-hunit" ,ghc-hunit)
10064 ("ghc-listlike" ,ghc-listlike)))
10065 (home-page "https://github.com/seereason/process-extras")
10066 (synopsis "Extra tools for managing processes")
f74b6983 10067 (description "This package extends
21f5b9a9
JS
10068@url{http://hackage.haskell.org/package/process}. It allows you to read
10069process input and output as ByteStrings or Text, or write your own
10070ProcessOutput instance. It also provides lazy process input and output,
10071and a ProcessMaker class for more flexibility in the process creation
10072API.")
10073 (license license:expat)))
10074
dddbc90c
RV
10075(define-public ghc-profunctors
10076 (package
10077 (name "ghc-profunctors")
899b5297 10078 (version "5.3")
dddbc90c
RV
10079 (source
10080 (origin
10081 (method url-fetch)
10082 (uri (string-append
10083 "https://hackage.haskell.org/package/profunctors/profunctors-"
10084 version
10085 ".tar.gz"))
10086 (sha256
10087 (base32
899b5297 10088 "1dx3nkc27yxsrbrhh3iwhq7dl1xn6bj7n62yx6nh8vmpbg62lqvl"))))
dddbc90c 10089 (build-system haskell-build-system)
1ad496e5 10090 (outputs '("out" "static" "doc"))
dddbc90c
RV
10091 (inputs
10092 `(("ghc-base-orphans" ,ghc-base-orphans)
10093 ("ghc-bifunctors" ,ghc-bifunctors)
10094 ("ghc-comonad" ,ghc-comonad)
10095 ("ghc-contravariant" ,ghc-contravariant)
10096 ("ghc-distributive" ,ghc-distributive)
10097 ("ghc-semigroups" ,ghc-semigroups)
10098 ("ghc-tagged" ,ghc-tagged)))
10099 (home-page "https://github.com/ekmett/profunctors/")
10100 (synopsis "Profunctors for Haskell")
10101 (description "This library provides profunctors for Haskell.")
10102 (license license:bsd-3)))
10103
fbe32d46
ASM
10104(define-public ghc-project-template
10105 (package
10106 (name "ghc-project-template")
10107 (version "0.2.0.1")
10108 (source
10109 (origin
10110 (method url-fetch)
10111 (uri (string-append
10112 "https://hackage.haskell.org/package/project-template/project-template-"
10113 version ".tar.gz"))
10114 (sha256
10115 (base32
10116 "1p69ww4rhah2qxragl615wl4a6mk4x9w09am8knmz3s4lxpljlpb"))))
10117 (build-system haskell-build-system)
10118 (inputs
10119 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
10120 ("ghc-conduit" ,ghc-conduit)
10121 ("ghc-conduit-extra" ,ghc-conduit-extra)
10122 ("ghc-resourcet" ,ghc-resourcet)))
10123 (native-inputs
10124 `(("ghc-hspec" ,ghc-hspec)
10125 ("hspec-discover" ,hspec-discover)
10126 ("ghc-quickcheck" ,ghc-quickcheck)))
10127 (arguments
10128 `(#:cabal-revision
10129 ("1"
10130 "0lq3sqnq0nr0gbvgzp0lqdl3j3mqdmdlf8xsw0j3pjh581xj3k0a")))
10131 (home-page "https://github.com/fpco/haskell-ide")
10132 (synopsis "Specify Haskell project templates and generate files")
10133 (description
10134 "Haskell library for both generating and consuming project templates.
10135
10136ost IDEs provide the concept of a project template: instead of writing all
10137of the code for a project from scratch, you select a template, answer a few
10138questions, and a bunch of files are automatically generated.
10139
10140project-template tries to provide a canonical Haskell library for implementing
10141the ideal templating system.")
10142 (license license:bsd-3)))
10143
8a6e745d
JS
10144(define-public ghc-protolude
10145 (package
10146 (name "ghc-protolude")
10147 (version "0.2.3")
10148 (source
10149 (origin
10150 (method url-fetch)
10151 (uri (string-append
10152 "mirror://hackage/package/protolude/protolude-"
10153 version
10154 ".tar.gz"))
10155 (sha256
10156 (base32
10157 "0zzkyxz0vmcbncpid7gp72fpjj0fla3gqhlfkij5c5lg12skjgfj"))))
10158 (build-system haskell-build-system)
10159 (inputs
10160 `(("ghc-async" ,ghc-async)
10161 ("ghc-hashable" ,ghc-hashable)
10162 ("ghc-mtl-compat" ,ghc-mtl-compat)
10163 ("ghc-transformers-compat" ,ghc-transformers-compat)))
10164 (home-page "https://github.com/protolude/protolude")
10165 (synopsis "Sensible set of defaults for writing custom Preludes")
10166 (description
10167 "Protolude gives you sensible defaults for writing custom Preludes to
10168replace the standard one provided by GHC.")
10169 (license license:expat)))
10170
cf123e32
MB
10171(define-public ghc-psqueue
10172 (package
10173 (name "ghc-psqueue")
10174 (version "1.1.0.1")
10175 (source (origin
10176 (method url-fetch)
10177 (uri (string-append "mirror://hackage/package/PSQueue-"
10178 version "/PSQueue-" version ".tar.gz"))
10179 (sha256
10180 (base32
10181 "1cik7sw10sacsijmfhghzy54gm1qcyxw14shlp86lx8z89kcnkza"))))
10182 (build-system haskell-build-system)
10183 (home-page "https://hackage.haskell.org/package/PSQueue")
10184 (synopsis "Priority search queue")
10185 (description
10186 "A @dfn{priority search queue} efficiently supports the operations of
10187both a search tree and a priority queue. A @code{Binding} is a product of
10188a key and a priority. Bindings can be inserted, deleted, modified and queried
10189in logarithmic time, and the binding with the least priority can be retrieved
10190in constant time. A queue can be built from a list of bindings, sorted by
10191keys, in linear time.")
10192 (license license:bsd-3)))
10193
dddbc90c
RV
10194(define-public ghc-psqueues
10195 (package
10196 (name "ghc-psqueues")
5d133942 10197 (version "0.2.7.2")
dddbc90c
RV
10198 (source
10199 (origin
10200 (method url-fetch)
10201 (uri (string-append "https://hackage.haskell.org/package/"
10202 "psqueues-" version "/"
10203 "psqueues-" version ".tar.gz"))
10204 (sha256
10205 (base32
5d133942 10206 "1yckx2csqswghiy9nfj03cybmza8104nmnpbpcc9ngwlbmakn9i6"))))
dddbc90c
RV
10207 (build-system haskell-build-system)
10208 (inputs
10209 `(("ghc-hashable" ,ghc-hashable)))
10210 (native-inputs
10211 `(("ghc-hunit" ,ghc-hunit)
10212 ("ghc-quickcheck" ,ghc-quickcheck)
10213 ("ghc-tagged" ,ghc-tagged)
5d133942
TS
10214 ("ghc-tasty" ,ghc-tasty)
10215 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10216 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
dddbc90c
RV
10217 (home-page "https://github.com/jaspervdj/psqueues")
10218 (synopsis "Pure priority search queues")
10219 (description "The psqueues package provides
10220@uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
10221three different flavors:
10222
10223@itemize
10224@item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
10225fast insertion, deletion and lookup. This implementation is based on Ralf
10226Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
10227Implementation Technique for Priority Search Queues}.
10228
10229Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
10230PSQueue} library, although it is considerably faster and provides a slightly
10231different API.
10232
10233@item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
10234key type to @code{Int} and uses a
10235@code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
10236with an additional min-heap property.
10237
10238@item @code{HashPSQ k p v} is a fairly straightforward extension
10239of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
10240@code{IntPSQ}. If there are any hash collisions, it uses an
10241@code{OrdPSQ} to resolve those. The performance of this implementation
10242is comparable to that of @code{IntPSQ}, but it is more widely
10243applicable since the keys are not restricted to @code{Int},
10244but rather to any @code{Hashable} datatype.
10245@end itemize
10246
10247Each of the three implementations provides the same API, so they can
10248be used interchangeably.
10249
10250Typical applications of Priority Search Queues include:
10251
10252@itemize
10253@item Caches, and more specifically LRU Caches;
10254@item Schedulers;
10255@item Pathfinding algorithms, such as Dijkstra's and A*.
10256@end itemize")
10257 (license license:bsd-3)))
b1dbc9f5
ASM
10258
10259(define-public ghc-pwstore-fast
10260 (package
10261 (name "ghc-pwstore-fast")
10262 (version "2.4.4")
10263 (source
10264 (origin
10265 (method url-fetch)
10266 (uri (string-append
10267 "https://hackage.haskell.org/package/pwstore-fast/"
10268 "pwstore-fast-" version ".tar.gz"))
10269 (sha256
10270 (base32
10271 "1cpvlwzg3qznhygrr78f75p65mnljd9v5cvnagfxjqppnrkay6bj"))))
10272 (build-system haskell-build-system)
10273 (inputs
10274 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
10275 ("ghc-cryptohash" ,ghc-cryptohash)
10276 ("ghc-random" ,ghc-random)
10277 ("ghc-byteable" ,ghc-byteable)))
10278 (home-page "https://github.com/PeterScott/pwstore")
10279 (synopsis "Secure password storage")
10280 (description
10281 "To store passwords securely, they should be salted, then hashed with
10282a slow hash function. This library uses PBKDF1-SHA256, and handles all the
10283details. It uses the cryptohash package for speed; if you need a pure
10284Haskell library, pwstore-purehaskell has the exact same API, but uses only
10285pure Haskell. It is about 25 times slower than this package, but still quite
10286usable.")
10287 (license license:bsd-3)))
dddbc90c
RV
10288
10289(define-public ghc-random
10290 (package
10291 (name "ghc-random")
10292 (version "1.1")
534d6caa 10293 (outputs '("out" "static" "doc"))
dddbc90c
RV
10294 (source
10295 (origin
10296 (method url-fetch)
10297 (uri (string-append
10298 "https://hackage.haskell.org/package/random/random-"
10299 version
10300 ".tar.gz"))
10301 (sha256
10302 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
10303 (build-system haskell-build-system)
10304 (home-page "https://hackage.haskell.org/package/random")
10305 (synopsis "Random number library")
10306 (description "This package provides a basic random number generation
10307library, including the ability to split random number generators.")
10308 (license license:bsd-3)))
10309
10310(define-public ghc-raw-strings-qq
10311 (package
10312 (name "ghc-raw-strings-qq")
10313 (version "1.1")
10314 (source
10315 (origin
10316 (method url-fetch)
10317 (uri (string-append "https://hackage.haskell.org/package/"
10318 "raw-strings-qq/raw-strings-qq-"
10319 version ".tar.gz"))
10320 (sha256
10321 (base32
10322 "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f"))))
10323 (build-system haskell-build-system)
10324 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
10325 (home-page "https://github.com/23Skidoo/raw-strings-qq")
10326 (synopsis "Raw string literals for Haskell")
10327 (description
10328 "This package provides a quasiquoter for raw string literals, i.e. string
10329literals that don't recognise the standard escape sequences. Basically, they
10330make your code more readable by freeing you from the responsibility to escape
10331backslashes. They are useful when working with regular expressions,
10332DOS/Windows paths and markup languages (such as XML).")
10333 (license license:bsd-3)))
10334
10335(define-public ghc-readable
10336 (package
10337 (name "ghc-readable")
10338 (version "0.3.1")
10339 (source
10340 (origin
10341 (method url-fetch)
10342 (uri (string-append "https://hackage.haskell.org/package/"
10343 "readable/readable-" version ".tar.gz"))
10344 (sha256
10345 (base32
10346 "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h"))))
10347 (build-system haskell-build-system)
10348 (home-page "https://github.com/mightybyte/readable")
10349 (synopsis "Type class for reading from Text and ByteString")
10350 (description "This package provides a @code{Readable} type class for
10351reading data types from @code{ByteString} and @code{Text}. It also
10352includes efficient implementations for common data types.")
10353 (license license:bsd-3)))
10354
10355(define-public ghc-rebase
10356 (package
10357 (name "ghc-rebase")
8d2ae3fe 10358 (version "1.3.1.1")
dddbc90c
RV
10359 (source
10360 (origin
10361 (method url-fetch)
10362 (uri (string-append "https://hackage.haskell.org/package/"
10363 "rebase-" version "/"
10364 "rebase-" version ".tar.gz"))
10365 (sha256
10366 (base32
8d2ae3fe 10367 "0q4m2fa7wkgxs0grir8rlqwibasmi3s1x7c107ynndwfm62nzv0a"))))
dddbc90c 10368 (build-system haskell-build-system)
e396e936 10369 (outputs '("out" "static" "doc"))
dddbc90c
RV
10370 (inputs `(("ghc-hashable" ,ghc-hashable)
10371 ("ghc-vector" ,ghc-vector)
10372 ("ghc-unordered-containers" ,ghc-unordered-containers)
10373 ("ghc-scientific" ,ghc-scientific)
10374 ("ghc-uuid" ,ghc-uuid)
10375 ("ghc-dlist" ,ghc-dlist)
10376 ("ghc-void" ,ghc-void)
10377 ("ghc-bifunctors" ,ghc-bifunctors)
10378 ("ghc-profunctors" ,ghc-profunctors)
10379 ("ghc-contravariant" ,ghc-contravariant)
10380 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
10381 ("ghc-semigroups" ,ghc-semigroups)
10382 ("ghc-either" ,ghc-either)
10383 ("ghc-fail" ,ghc-fail)
10384 ("ghc-base-prelude" ,ghc-base-prelude)))
10385 (home-page "https://github.com/nikita-volkov/rebase")
10386 (synopsis "Progressive alternative to the base package
10387for Haskell")
10388 (description "This Haskell package is intended for those who are
10389tired of keeping long lists of dependencies to the same essential libraries
10390in each package as well as the endless imports of the same APIs all over again.
10391
10392It also supports the modern tendencies in the language.
10393
10394To solve those problems this package does the following:
10395
10396@itemize
10397@item Reexport the original APIs under the @code{Rebase} namespace.
10398
10399@item Export all the possible non-conflicting symbols from the
10400@code{Rebase.Prelude} module.
10401
10402@item Give priority to the modern practices in the conflicting cases.
10403@end itemize
10404
10405The policy behind the package is only to reexport the non-ambiguous and
10406non-controversial APIs, which the community has obviously settled on.
10407The package is intended to rapidly evolve with the contribution from
10408the community, with the missing features being added with pull-requests.")
10409 (license license:expat)))
10410
10411(define-public ghc-reducers
10412 (package
10413 (name "ghc-reducers")
10414 (version "3.12.3")
10415 (source
10416 (origin
10417 (method url-fetch)
10418 (uri (string-append
10419 "https://hackage.haskell.org/package/reducers/reducers-"
10420 version
10421 ".tar.gz"))
10422 (sha256
10423 (base32
10424 "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki"))))
10425 (build-system haskell-build-system)
10426 (inputs
10427 `(("ghc-fingertree" ,ghc-fingertree)
10428 ("ghc-hashable" ,ghc-hashable)
10429 ("ghc-unordered-containers" ,ghc-unordered-containers)
10430 ("ghc-semigroupoids" ,ghc-semigroupoids)
10431 ("ghc-semigroups" ,ghc-semigroups)))
10432 (home-page "https://github.com/ekmett/reducers/")
10433 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
10434 (description "This library provides various semigroups, specialized
10435containers and a general map/reduce framework for Haskell.")
10436 (license license:bsd-3)))
10437
10438(define-public ghc-refact
10439 (package
10440 (name "ghc-refact")
10441 (version "0.3.0.2")
10442 (source
10443 (origin
10444 (method url-fetch)
10445 (uri (string-append "https://hackage.haskell.org/package/"
10446 "refact/refact-"
10447 version ".tar.gz"))
10448 (sha256
10449 (base32
10450 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
10451 (build-system haskell-build-system)
3ef91e15 10452 (home-page "https://hackage.haskell.org/package/refact")
dddbc90c
RV
10453 (synopsis "Specify refactorings to perform with apply-refact")
10454 (description
10455 "This library provides a datatype which can be interpreted by
10456@code{apply-refact}. It exists as a separate library so that applications can
10457specify refactorings without depending on GHC.")
10458 (license license:bsd-3)))
10459
10460(define-public ghc-reflection
10461 (package
10462 (name "ghc-reflection")
d215f1cc 10463 (version "2.1.5")
dddbc90c
RV
10464 (source
10465 (origin
10466 (method url-fetch)
10467 (uri (string-append
10468 "https://hackage.haskell.org/package/reflection/reflection-"
10469 version
10470 ".tar.gz"))
10471 (sha256
10472 (base32
d215f1cc 10473 "0xr947nj1vww5b8fwqmypxm3y3j5sxl4z8wnf834f83jzfzyjbi7"))))
dddbc90c
RV
10474 (build-system haskell-build-system)
10475 (inputs `(("ghc-tagged" ,ghc-tagged)))
d215f1cc
TS
10476 (native-inputs
10477 `(("ghc-hspec" ,ghc-hspec)
10478 ("ghc-quickcheck" ,ghc-quickcheck)
10479 ("hspec-discover" ,hspec-discover)))
dddbc90c
RV
10480 (home-page "https://github.com/ekmett/reflection")
10481 (synopsis "Reify arbitrary terms into types that can be reflected back
10482into terms")
10483 (description "This package addresses the 'configuration problem' which is
10484propagating configurations that are available at run-time, allowing multiple
10485configurations to coexist without resorting to mutable global variables or
10486@code{System.IO.Unsafe.unsafePerformIO}.")
10487 (license license:bsd-3)))
10488
10489(define-public ghc-regex
10490 (package
10491 (name "ghc-regex")
b9a5e634 10492 (version "1.0.2.0")
dddbc90c
RV
10493 (source
10494 (origin
10495 (method url-fetch)
10496 (uri (string-append "https://hackage.haskell.org/package/regex/"
10497 "regex-" version ".tar.gz"))
10498 (sha256
10499 (base32
b9a5e634 10500 "1f2z025hif1fr24b5khq3qxxyvpxrnhyx8xmbms332arw28rpkda"))))
dddbc90c
RV
10501 (build-system haskell-build-system)
10502 (arguments
10503 `(#:phases
10504 (modify-phases %standard-phases
10505 (add-after 'unpack 'relax-dependencies
10506 (lambda _
10507 (substitute* "regex.cabal"
10508 (("base-compat.*>=.*0.6.*")
10509 "base-compat >= 0.6\n")
10510 (("template-haskell.*>=.*2.7.*")
10511 "template-haskell >= 2.7\n"))
10512 #t)))))
10513 (inputs
10514 `(("ghc-base-compat" ,ghc-base-compat)
10515 ("ghc-hashable" ,ghc-hashable)
10516 ("ghc-regex-base" ,ghc-regex-base)
10517 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
10518 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
10519 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
10520 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
10521 ("ghc-unordered-containers" ,ghc-unordered-containers)
10522 ("ghc-utf8-string" ,ghc-utf8-string)))
10523 (home-page "http://regex.uk")
10524 (synopsis "Toolkit for regex-base")
10525 (description
10526 "This package provides a regular expression toolkit for @code{regex-base}
10527with compile-time checking of regular expression syntax, data types for
10528matches and captures, a text replacement toolkit, portable options, high-level
10529AWK-like tools for building text processing apps, regular expression macros
10530with parsers and test bench, comprehensive documentation, tutorials and
10531copious examples.")
10532 (license license:bsd-3)))
10533
10534(define-public ghc-regex-applicative
10535 (package
10536 (name "ghc-regex-applicative")
30f60e42 10537 (version "0.3.3.1")
dddbc90c
RV
10538 (source
10539 (origin
10540 (method url-fetch)
10541 (uri (string-append
10542 "https://hackage.haskell.org/package/regex-applicative/"
10543 "regex-applicative-" version ".tar.gz"))
10544 (sha256
10545 (base32
30f60e42 10546 "0p0anx5vamrhrdvviwkh2zn6pa3pv2bjb7nfyc7dvz2q7g14y1lg"))))
dddbc90c
RV
10547 (build-system haskell-build-system)
10548 (inputs
10549 `(("ghc-smallcheck" ,ghc-smallcheck)
10550 ("ghc-tasty" ,ghc-tasty)
10551 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
10552 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
10553 (home-page "https://github.com/feuerbach/regex-applicative")
10554 (synopsis "Regex-based parsing with applicative interface")
10555 (description
10556 "@code{regex-applicative} is a Haskell library for parsing using
10557regular expressions. Parsers can be built using Applicative interface.")
10558 (license license:expat)))
10559
10560(define-public ghc-regex-base
10561 (package
10562 (name "ghc-regex-base")
10563 (version "0.93.2")
10564 (source
10565 (origin
10566 (method url-fetch)
10567 (uri (string-append
10568 "https://hackage.haskell.org/package/regex-base/regex-base-"
10569 version
10570 ".tar.gz"))
10571 (sha256
10572 (base32
10573 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
10574 (build-system haskell-build-system)
10575 (home-page
10576 "https://sourceforge.net/projects/lazy-regex")
10577 (synopsis "Replaces/Enhances Text.Regex")
10578 (description "@code{Text.Regex.Base} provides the interface API for
10579regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
10580 (license license:bsd-3)))
10581
10582(define-public ghc-regex-compat
10583 (package
10584 (name "ghc-regex-compat")
10585 (version "0.95.1")
10586 (source
10587 (origin
10588 (method url-fetch)
10589 (uri (string-append
10590 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
10591 version
10592 ".tar.gz"))
10593 (sha256
10594 (base32
10595 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
10596 (build-system haskell-build-system)
10597 (inputs
10598 `(("ghc-regex-base" ,ghc-regex-base)
10599 ("ghc-regex-posix" ,ghc-regex-posix)))
10600 (home-page "https://sourceforge.net/projects/lazy-regex")
10601 (synopsis "Replaces/Enhances Text.Regex")
10602 (description "This library provides one module layer over
10603@code{regex-posix} to replace @code{Text.Regex}.")
10604 (license license:bsd-3)))
10605
10606(define-public ghc-regex-compat-tdfa
10607 (package
10608 (name "ghc-regex-compat-tdfa")
10609 (version "0.95.1.4")
10610 (source
10611 (origin
10612 (method url-fetch)
10613 (uri (string-append
10614 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
10615 version ".tar.gz"))
10616 (sha256
10617 (base32
10618 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
10619 (build-system haskell-build-system)
10620 (inputs
10621 `(("ghc-regex-base" ,ghc-regex-base)
10622 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
10623 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
10624 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
10625 (description
10626 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
10627@code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
10628This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
10629this problem.")
10630 (license license:bsd-3)))
10631
ddd79836
MB
10632(define-public ghc-regex-pcre
10633 (package
10634 (name "ghc-regex-pcre")
10635 (version "0.94.4")
10636 (source (origin
10637 (method url-fetch)
10638 (uri (string-append "https://hackage.haskell.org/package/"
10639 "regex-pcre/regex-pcre-" version ".tar.gz"))
10640 (sha256
10641 (base32
10642 "1h16w994g9s62iwkdqa7bar2n9cfixmkzz2rm8svm960qr57valf"))))
10643 (build-system haskell-build-system)
991ca499
TS
10644 (arguments
10645 `(#:extra-directories ("pcre")))
ddd79836
MB
10646 (inputs
10647 `(("ghc-regex-base" ,ghc-regex-base)
10648 ("pcre" ,pcre)))
10649 (home-page "https://hackage.haskell.org/package/regex-pcre")
10650 (synopsis "Enhancement of the builtin Text.Regex library")
10651 (description
10652 "This package is an enhancement of the @code{Text.Regex} library.
10653It wraps the @code{PCRE} C library providing Perl-compatible regular
10654expressions.")
10655 (license license:bsd-3)))
10656
dddbc90c
RV
10657(define-public ghc-regex-pcre-builtin
10658 (package
10659 (name "ghc-regex-pcre-builtin")
ee946143 10660 (version "0.94.5.8.8.35")
dddbc90c
RV
10661 (source (origin
10662 (method url-fetch)
10663 (uri (string-append "https://hackage.haskell.org/package/"
10664 "regex-pcre-builtin/regex-pcre-builtin-"
10665 version ".tar.gz"))
10666 (sha256
10667 (base32
ee946143 10668 "1s755qdg1mxrf125sh83bsc5kjkrj8fkq8wf6dg1jan86c7p7gl4"))))
dddbc90c
RV
10669 (build-system haskell-build-system)
10670 (inputs
10671 `(("ghc-regex-base" ,ghc-regex-base)))
4723766b 10672 (home-page "https://hackage.haskell.org/package/regex-pcre-builtin")
dddbc90c
RV
10673 (synopsis "Enhancement of the builtin Text.Regex library")
10674 (description
10675 "This package is an enhancement of the @code{Text.Regex} library,
10676providing the PCRE backend to accompany regex-base, with bundled code from
10677@url{https://www.pcre.org}.")
10678 (license license:bsd-3)))
10679
10680(define-public ghc-regex-posix
10681 (package
10682 (name "ghc-regex-posix")
10683 (version "0.95.2")
10684 (source
10685 (origin
10686 (method url-fetch)
10687 (uri (string-append
10688 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
10689 version
10690 ".tar.gz"))
10691 (sha256
10692 (base32
10693 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
10694 (build-system haskell-build-system)
10695 (inputs
10696 `(("ghc-regex-base" ,ghc-regex-base)))
10697 (home-page "https://sourceforge.net/projects/lazy-regex")
10698 (synopsis "POSIX regular expressions for Haskell")
10699 (description "This library provides the POSIX regex backend used by the
10700Haskell library @code{regex-base}.")
10701 (license license:bsd-3)))
10702
10703(define-public ghc-regex-tdfa
10704 (package
10705 (name "ghc-regex-tdfa")
ce684db0 10706 (version "1.2.3.2")
dddbc90c
RV
10707 (source
10708 (origin
10709 (method url-fetch)
10710 (uri (string-append
10711 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
10712 version ".tar.gz"))
10713 (sha256
10714 (base32
ce684db0 10715 "03yhpqrqz977nwlnhnyz9dacnbzw8xb6j18h365rkgmbc05sb3hf"))))
dddbc90c 10716 (build-system haskell-build-system)
54c8209e 10717 (outputs '("out" "static" "doc"))
dddbc90c
RV
10718 (inputs
10719 `(("ghc-regex-base" ,ghc-regex-base)))
90b74c6f 10720 (home-page "https://github.com/haskell-hvr/regex-tdfa")
dddbc90c
RV
10721 (synopsis "POSIX extended regular expressions in Haskell.")
10722 (description
10723 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
10724extended regular expressions. It is a \"tagged\" DFA regex engine. It is
10725inspired by libtre.")
10726 (license license:bsd-3)))
10727
10728(define-public ghc-regex-tdfa-text
10729 (package
10730 (name "ghc-regex-tdfa-text")
10731 (version "1.0.0.3")
10732 (source
10733 (origin
10734 (method url-fetch)
10735 (uri (string-append
10736 "https://hackage.haskell.org/package/regex-tdfa-text/"
10737 "regex-tdfa-text-" version ".tar.gz"))
10738 (sha256
10739 (base32
10740 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
10741 (build-system haskell-build-system)
10742 (inputs
10743 `(("ghc-regex-base" ,ghc-regex-base)
10744 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
10745 (home-page
3ef91e15 10746 "https://hackage.haskell.org/package/regex-tdfa-text")
dddbc90c
RV
10747 (synopsis "Text interface for regex-tdfa")
10748 (description
10749 "This provides an extra text interface for regex-tdfa.")
10750 (license license:bsd-3)))
10751
798a2df4
JS
10752(define-public ghc-repline
10753 (package
10754 (name "ghc-repline")
10755 (version "0.2.0.0")
10756 (source
10757 (origin
10758 (method url-fetch)
10759 (uri (string-append
10760 "mirror://hackage/package/repline/repline-"
10761 version
10762 ".tar.gz"))
10763 (sha256
10764 (base32
10765 "1ph21kbbanlcs8n5lwk16g9vqkb98mkbz5mzwrp8j2rls2921izc"))))
10766 (build-system haskell-build-system)
10767 (home-page "https://github.com/sdiehl/repline")
10768 (synopsis "Haskeline wrapper for GHCi-like REPL interfaces")
10769 (description
10770 "Haskeline wrapper for GHCi-like REPL interfaces. Composable with
10771normal mtl transformers.")
10772 (license license:expat)))
10773
6c0858dd
JS
10774(define-public ghc-repline-0.3
10775 (package
10776 (inherit ghc-repline)
10777 (version "0.3.0.0")
10778 (source
10779 (origin
10780 (method url-fetch)
10781 (uri (string-append
10782 "mirror://hackage/package/repline/repline-"
10783 version
10784 ".tar.gz"))
10785 (sha256
10786 (base32
10787 "0niihfyggg2qisadg7w49cr5k5qyyynia93iip0ng2bbmzwi88g8"))))
10788 (inputs
10789 `(("ghc-exceptions" ,ghc-exceptions)
10790 ("ghc-haskeline" ,ghc-haskeline-0.8)))))
10791
dddbc90c
RV
10792(define-public ghc-rerebase
10793 (package
10794 (name "ghc-rerebase")
cdec7b8c 10795 (version "1.3.1.1")
dddbc90c
RV
10796 (source
10797 (origin
10798 (method url-fetch)
10799 (uri (string-append
10800 "https://hackage.haskell.org/package/rerebase/rerebase-"
10801 version ".tar.gz"))
10802 (sha256
10803 (base32
cdec7b8c 10804 "1jbqif6k249rkknm2zwk8v8jil3kgi9ar53358v8l4ffx346rm82"))))
dddbc90c 10805 (build-system haskell-build-system)
af2f91ec 10806 (outputs '("out" "static" "doc"))
dddbc90c
RV
10807 (inputs
10808 `(("ghc-rebase" ,ghc-rebase)))
10809 (home-page "https://github.com/nikita-volkov/rerebase")
10810 (synopsis "Reexports from ``base'' with many other standard libraries")
10811 (description "A rich drop-in replacement for @code{base}. For details and
10812documentation please visit @uref{https://github.com/nikita-volkov/rerebase,
10813the project's home page}.")
10814 (license license:expat)))
10815
10816(define-public ghc-resolv
10817 (package
10818 (name "ghc-resolv")
87309478 10819 (version "0.1.1.2")
dddbc90c
RV
10820 (source
10821 (origin
10822 (method url-fetch)
10823 (uri (string-append
10824 "https://hackage.haskell.org/package/resolv/resolv-"
10825 version ".tar.gz"))
10826 (sha256
10827 (base32
87309478 10828 "0wczdy3vmpfcfwjn1m95bygc5d83m97xxmavhdvy5ayn8c402fp4"))))
dddbc90c
RV
10829 (build-system haskell-build-system)
10830 (arguments
87309478
TS
10831 `(#:phases
10832 (modify-phases %standard-phases
10833 (add-before 'configure 'update-constraints
10834 (lambda _
10835 (substitute* "resolv.cabal"
10836 (("tasty >= 1\\.1 && < 1\\.2")
10837 "tasty >= 1.1 && < 1.3"))
10838 #t)))))
dddbc90c
RV
10839 (inputs
10840 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)))
87309478
TS
10841 (native-inputs
10842 `(("ghc-tasty" ,ghc-tasty)
10843 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
dddbc90c
RV
10844 (home-page "https://github.com/haskell/hackage-security")
10845 (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}")
10846 (description "This package implements an API for accessing the
10847@uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)}
10848resolver service via the standard @code{libresolv} system library (whose
10849API is often available directly via the standard @code{libc} C library) on
10850Unix systems.")
10851 (license license:gpl3)))
10852
10853(define-public ghc-resource-pool
10854 (package
10855 (name "ghc-resource-pool")
10856 (version "0.2.3.2")
10857 (source
10858 (origin
10859 (method url-fetch)
10860 (uri (string-append "https://hackage.haskell.org/package/"
10861 "resource-pool-" version "/"
10862 "resource-pool-" version ".tar.gz"))
10863 (sha256
10864 (base32
10865 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
10866 (build-system haskell-build-system)
10867 (inputs `(("ghc-hashable" ,ghc-hashable)
10868 ("ghc-monad-control" ,ghc-monad-control)
10869 ("ghc-transformers-base" ,ghc-transformers-base)
10870 ("ghc-vector" ,ghc-vector)))
10871 (home-page "https://github.com/bos/pool")
10872 (synopsis "Striped resource pooling implementation in Haskell")
10873 (description "This Haskell package provides striped pooling abstraction
10874for managing flexibly-sized collections of resources such as database
10875connections.")
10876 (license license:bsd-3)))
10877
10878(define-public ghc-resourcet
10879 (package
10880 (name "ghc-resourcet")
9ac341ac 10881 (version "1.2.2")
dddbc90c
RV
10882 (source
10883 (origin
10884 (method url-fetch)
10885 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
10886 "resourcet-" version ".tar.gz"))
10887 (sha256
10888 (base32
9ac341ac 10889 "1rfbfcv3r1h29y0yqr3x6a1s04lbc3vzm3jqnfg4f9rqp9d448qk"))))
dddbc90c
RV
10890 (build-system haskell-build-system)
10891 (inputs
10892 `(("ghc-transformers-base" ,ghc-transformers-base)
10893 ("ghc-monad-control" ,ghc-monad-control)
10894 ("ghc-transformers-compat" ,ghc-transformers-compat)
10895 ("ghc-mmorph" ,ghc-mmorph)
10896 ("ghc-exceptions" ,ghc-exceptions)
10897 ("ghc-unliftio-core" ,ghc-unliftio-core)))
10898 (native-inputs
10899 `(("ghc-lifted-base" ,ghc-lifted-base)
10900 ("ghc-hspec" ,ghc-hspec)))
10901 (home-page "https://github.com/snoyberg/conduit")
10902 (synopsis "Deterministic allocation and freeing of scarce resources")
10903 (description "ResourceT is a monad transformer which creates a region of
10904code where you can safely allocate resources.")
10905 (license license:bsd-3)))
10906
b9debc37
TS
10907(define-public ghc-retry
10908 (package
10909 (name "ghc-retry")
10910 (version "0.8.1.0")
10911 (source
10912 (origin
10913 (method url-fetch)
10914 (uri (string-append "https://hackage.haskell.org/package/"
10915 "retry/retry-" version ".tar.gz"))
10916 (sha256
10917 (base32
10918 "02k03r86amg1vbrsvb644342ym13d9jwkzki9sk93pdg5l8j35dj"))))
10919 (build-system haskell-build-system)
10920 (inputs
10921 `(("ghc-exceptions" ,ghc-exceptions)
10922 ("ghc-random" ,ghc-random)))
10923 (native-inputs
10924 `(("ghc-hunit" ,ghc-hunit)
10925 ("ghc-tasty" ,ghc-tasty)
10926 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10927 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
10928 ("ghc-hedgehog" ,ghc-hedgehog)))
702a1012 10929 (home-page "https://github.com/Soostone/retry")
b9debc37
TS
10930 (synopsis "Retry combinators for monadic actions that may fail")
10931 (description "This package exposes combinators that can wrap
10932arbitrary monadic actions. They run the action and potentially retry
10933running it with some configurable delay for a configurable number of
10934times. The purpose is to make it easier to work with IO and especially
10935network IO actions that often experience temporary failure and warrant
10936retrying of the original action. For example, a database query may time
10937out for a while, in which case we should hang back for a bit and retry
10938the query instead of simply raising an exception.")
10939 (license license:bsd-3)))
10940
dddbc90c
RV
10941(define-public ghc-rfc5051
10942 (package
10943 (name "ghc-rfc5051")
ec42ab7c 10944 (version "0.1.0.4")
dddbc90c
RV
10945 (source
10946 (origin
10947 (method url-fetch)
10948 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
10949 "rfc5051-" version ".tar.gz"))
10950 (sha256
10951 (base32
ec42ab7c 10952 "1lxkq414ni986ciml4gbvf463fn55z299knky7pq3ixb1qislpb1"))))
dddbc90c
RV
10953 (build-system haskell-build-system)
10954 (home-page "https://hackage.haskell.org/package/rfc5051")
10955 (synopsis "Simple unicode collation as per RFC5051")
10956 (description
10957 "This library implements @code{unicode-casemap}, the simple, non
10958locale-sensitive unicode collation algorithm described in RFC 5051. Proper
10959unicode collation can be done using @code{text-icu}, but that is a big
10960dependency that depends on a large C library, and @code{rfc5051} might be
10961better for some purposes.")
10962 (license license:bsd-3)))
10963
10964(define-public ghc-rio
10965 (package
10966 (name "ghc-rio")
8bda2fa7 10967 (version "0.1.12.0")
dddbc90c
RV
10968 (source
10969 (origin
10970 (method url-fetch)
10971 (uri (string-append
10972 "https://hackage.haskell.org/package/rio/rio-"
10973 version ".tar.gz"))
10974 (sha256
10975 (base32
8bda2fa7 10976 "0xzjkh6aavynpyskikhs8dmv0zhkiqiwz9zdn80zbd25b2182pif"))))
dddbc90c
RV
10977 (build-system haskell-build-system)
10978 (inputs
10979 `(("ghc-exceptions" ,ghc-exceptions)
10980 ("ghc-hashable" ,ghc-hashable)
10981 ("ghc-microlens" ,ghc-microlens)
10982 ("ghc-primitive" ,ghc-primitive)
10983 ("ghc-typed-process" ,ghc-typed-process)
10984 ("ghc-unliftio" ,ghc-unliftio)
10985 ("ghc-unordered-containers" ,ghc-unordered-containers)
10986 ("ghc-vector" ,ghc-vector)))
10987 (native-inputs
10988 `(("ghc-hspec" ,ghc-hspec)
10989 ("hspec-discover" ,hspec-discover)))
10990 (home-page "https://github.com/commercialhaskell/rio#readme")
10991 (synopsis "A standard library for Haskell")
10992 (description "This package works as a prelude replacement for Haskell,
10993providing more functionality and types out of the box than the standard
10994prelude (such as common data types like @code{ByteString} and
10995@code{Text}), as well as removing common ``gotchas'', like partial
10996functions and lazy I/O. The guiding principle here is:
10997@itemize
10998@item If something is safe to use in general and has no expected naming
10999conflicts, expose it.
11000@item If something should not always be used, or has naming conflicts,
11001expose it from another module in the hierarchy.
11002@end itemize")
11003 (license license:expat)))
11004
11005(define-public ghc-safe
11006 (package
11007 (name "ghc-safe")
11008 (version "0.3.17")
11009 (source
11010 (origin
11011 (method url-fetch)
11012 (uri (string-append
11013 "https://hackage.haskell.org/package/safe/safe-"
11014 version
11015 ".tar.gz"))
11016 (sha256
11017 (base32
11018 "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr"))))
11019 (build-system haskell-build-system)
11020 (native-inputs
11021 `(("ghc-quickcheck" ,ghc-quickcheck)))
11022 (home-page "https://github.com/ndmitchell/safe#readme")
11023 (synopsis "Library of safe (exception free) functions")
11024 (description "This library provides wrappers around @code{Prelude} and
11025@code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
11026exceptions.")
11027 (license license:bsd-3)))
11028
11029(define-public ghc-safe-exceptions
11030 (package
11031 (name "ghc-safe-exceptions")
11032 (version "0.1.7.0")
11033 (source
11034 (origin
11035 (method url-fetch)
11036 (uri (string-append "https://hackage.haskell.org/package/"
11037 "safe-exceptions/safe-exceptions-"
11038 version ".tar.gz"))
11039 (sha256
11040 (base32
11041 "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q"))))
11042 (build-system haskell-build-system)
11043 (arguments
11044 '(#:cabal-revision
11045 ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32")))
11046 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
11047 (native-inputs
11048 `(("ghc-hspec" ,ghc-hspec)
11049 ("ghc-void" ,ghc-void)
11050 ("hspec-discover" ,hspec-discover)))
11051 (home-page "https://github.com/fpco/safe-exceptions")
11052 (synopsis "Safe, consistent, and easy exception handling")
11053 (description "Runtime exceptions - as exposed in @code{base} by the
11054@code{Control.Exception} module - have long been an intimidating part of the
11055Haskell ecosystem. This package is intended to overcome this. It provides a
11056safe and simple API on top of the existing exception handling machinery. The
11057API is equivalent to the underlying implementation in terms of power but
11058encourages best practices to minimize the chances of getting the exception
11059handling wrong.")
11060 (license license:expat)))
11061
11062(define-public ghc-safeio
11063 (package
11064 (name "ghc-safeio")
11065 (version "0.0.5.0")
11066 (source
11067 (origin
11068 (method url-fetch)
11069 (uri (string-append "https://hackage.haskell.org/package/safeio/"
11070 "safeio-" version ".tar.gz"))
11071 (sha256
11072 (base32
11073 "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm"))))
11074 (build-system haskell-build-system)
11075 (inputs
11076 `(("ghc-conduit" ,ghc-conduit)
11077 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
11078 ("ghc-exceptions" ,ghc-exceptions)
11079 ("ghc-resourcet" ,ghc-resourcet)))
11080 (native-inputs
11081 `(("ghc-hunit" ,ghc-hunit)
11082 ("ghc-test-framework" ,ghc-test-framework)
11083 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11084 ("ghc-test-framework-th" ,ghc-test-framework-th)))
11085 (home-page "https://github.com/luispedro/safeio")
11086 (synopsis "Write output to disk atomically")
11087 (description
11088 "This package implements utilities to perform atomic output so as to
11089avoid the problem of partial intermediate files.")
11090 (license license:expat)))
11091
11092(define-public ghc-safesemaphore
11093 (package
11094 (name "ghc-safesemaphore")
11095 (version "0.10.1")
11096 (source
11097 (origin
11098 (method url-fetch)
11099 (uri (string-append "https://hackage.haskell.org/package/"
11100 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
11101 (sha256
11102 (base32
11103 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
11104 (build-system haskell-build-system)
11105 (native-inputs
11106 `(("ghc-hunit" ,ghc-hunit)))
11107 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
11108 (synopsis "Exception safe semaphores")
11109 (description "This library provides exception safe semaphores that can be
11110used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
11111are not exception safe and can be broken by @code{killThread}.")
11112 (license license:bsd-3)))
11113
11114(define-public ghc-sandi
11115 (package
11116 (name "ghc-sandi")
b867c2b0 11117 (version "0.5")
dddbc90c
RV
11118 (source
11119 (origin
11120 (method url-fetch)
11121 (uri (string-append
11122 "https://hackage.haskell.org/package/sandi/sandi-"
11123 version ".tar.gz"))
11124 (sha256
11125 (base32
b867c2b0 11126 "1ndgai8idlxyccvkz5zsgq06v58blc30i6hkky5b1sf5x6gs2h29"))))
dddbc90c
RV
11127 (build-system haskell-build-system)
11128 (inputs
11129 `(("ghc-stringsearch" ,ghc-stringsearch)
11130 ("ghc-conduit" ,ghc-conduit)
11131 ("ghc-exceptions" ,ghc-exceptions)
11132 ("ghc-hunit" ,ghc-hunit)
11133 ("ghc-tasty" ,ghc-tasty)
11134 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11135 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11136 ("ghc-tasty-th" ,ghc-tasty-th)))
11137 (home-page "https://hackage.haskell.org/package/sandi")
11138 (synopsis "Data encoding library")
11139 (description "Reasonably fast data encoding library.")
11140 (license license:bsd-3)))
11141
4da75228
ASM
11142(define-public ghc-say
11143 (package
11144 (name "ghc-say")
11145 (version "0.1.0.1")
11146 (source
11147 (origin
11148 (method url-fetch)
11149 (uri (string-append
11150 "https://hackage.haskell.org/package/say/say-"
11151 version
11152 ".tar.gz"))
11153 (sha256
11154 (base32
11155 "1r5kffjfwpas45g74sip8glrj1m9nygrnxjm7xgw898rq9pnafgn"))))
11156 (build-system haskell-build-system)
11157 (native-inputs
11158 `(("ghc-hspec" ,ghc-hspec)
11159 ("hspec-discover" ,hspec-discover)
11160 ("ghc-unliftio" ,ghc-unliftio)))
11161 (home-page "https://github.com/fpco/say")
11162 (synopsis
11163 "Send textual messages to a Handle in a thread-friendly way")
11164 (description
11165 "A thread safe API to write a line of textual data to a Handle, such
11166as sending some messages to the terminal - that has the following properties:
11167@itemize
11168@item Properly handle character encoding settings on the Handle
11169@item For reasonably sized messages, ensure that the entire message is written
11170 in one chunk to avoid interleaving data with other threads
11171@item Avoid unnecessary memory allocations and copies
11172@item Minimize locking.
11173@end itemize")
11174 (license license:expat)))
11175
dddbc90c
RV
11176(define-public ghc-scientific
11177 (package
11178 (name "ghc-scientific")
11179 (version "0.3.6.2")
11180 (source
11181 (origin
11182 (method url-fetch)
11183 (uri (string-append
11184 "https://hackage.haskell.org/package/scientific/scientific-"
11185 version
11186 ".tar.gz"))
11187 (sha256
11188 (base32
11189 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
11190 (build-system haskell-build-system)
11191 (inputs
11192 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
11193 ("ghc-hashable" ,ghc-hashable)
11194 ("ghc-primitive" ,ghc-primitive)))
11195 (native-inputs
11196 `(("ghc-tasty" ,ghc-tasty)
11197 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
11198 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11199 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
11200 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11201 ("ghc-smallcheck" ,ghc-smallcheck)
11202 ("ghc-quickcheck" ,ghc-quickcheck)))
11203 (home-page "https://github.com/basvandijk/scientific")
11204 (synopsis "Numbers represented using scientific notation")
11205 (description "This package provides @code{Data.Scientific}, which provides
11206the number type @code{Scientific}. Scientific numbers are arbitrary precision
11207and space efficient. They are represented using
11208@uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
11209notation}.")
11210 (license license:bsd-3)))
11211
11212(define-public ghc-scientific-bootstrap
11213 (package
11214 (inherit ghc-scientific)
11215 (name "ghc-scientific-bootstrap")
11216 (arguments `(#:tests? #f))
11217 (inputs
11218 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
11219 ("ghc-hashable" ,ghc-hashable)
11220 ("ghc-primitive" ,ghc-primitive)))
11221 (native-inputs '())
799d8d3c 11222 (properties '((hidden? #t)))))
dddbc90c
RV
11223
11224(define-public ghc-sdl
11225 (package
11226 (name "ghc-sdl")
11227 (version "0.6.7.0")
11228 (source
11229 (origin
11230 (method url-fetch)
11231 (uri (string-append
11232 "https://hackage.haskell.org/package/SDL/SDL-"
11233 version
11234 ".tar.gz"))
11235 (sha256
11236 (base32
11237 "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq"))))
11238 (build-system haskell-build-system)
11239 (inputs
11240 `(("sdl" ,sdl)))
11241 (home-page "https://hackage.haskell.org/package/SDL")
11242 (synopsis "LibSDL for Haskell")
11243 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
11244multimedia library designed to provide low level access to audio, keyboard,
11245mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
11246by MPEG playback software, emulators, and many popular games, including the
11247award winning Linux port of \"Civilization: Call To Power.\"")
11248 (license license:bsd-3)))
11249
1874cdc1
RV
11250(define-public ghc-sdl2
11251 (package
11252 (name "ghc-sdl2")
145148ca 11253 (version "2.5.0.0")
1874cdc1
RV
11254 (source
11255 (origin
11256 (method url-fetch)
11257 (uri (string-append "https://hackage.haskell.org/package/"
11258 "sdl2/sdl2-" version ".tar.gz"))
11259 (sha256
11260 (base32
145148ca 11261 "1x368yhdd55b3cvx8dvj1sj6nzygzigbhrwhssjs4k0rcxlwqfw8"))))
1874cdc1
RV
11262 (build-system haskell-build-system)
11263 (arguments '(#:tests? #f)) ; tests require graphical environment
11264 (inputs
11265 `(("ghc-exceptions" ,ghc-exceptions)
11266 ("ghc-linear" ,ghc-linear)
11267 ("ghc-statevar" ,ghc-statevar)
11268 ("ghc-vector" ,ghc-vector)
11269 ("sdl2" ,sdl2)))
11270 (native-inputs
11271 `(("ghc-weigh" ,ghc-weigh)
11272 ("pkg-config" ,pkg-config)))
35437dbf 11273 (home-page "https://hackage.haskell.org/package/sdl2")
1874cdc1
RV
11274 (synopsis "High- and low-level bindings to the SDL library")
11275 (description
11276 "This package contains bindings to the SDL 2 library, in both high- and
11277low-level forms. The @code{SDL} namespace contains high-level bindings, where
11278enumerations are split into sum types, and we perform automatic
11279error-checking. The @code{SDL.Raw} namespace contains an almost 1-1
11280translation of the C API into Haskell FFI calls. As such, this does not
11281contain sum types nor error checking. Thus this namespace is suitable for
11282building your own abstraction over SDL, but is not recommended for day-to-day
11283programming.")
11284 (license license:bsd-3)))
11285
11286(define-public ghc-sdl2-image
11287 (package
11288 (name "ghc-sdl2-image")
11289 (version "2.0.0")
11290 (source
11291 (origin
11292 (method url-fetch)
11293 (uri (string-append "https://hackage.haskell.org/package/sdl2-image/"
11294 "sdl2-image-" version ".tar.gz"))
11295 (sha256
11296 (base32
11297 "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr"))))
11298 (build-system haskell-build-system)
11299 (inputs
11300 `(("ghc-sdl2" ,ghc-sdl2)
11301 ("sdl2-image" ,sdl2-image)))
11302 (native-inputs
11303 `(("pkg-config" ,pkg-config)))
3ef91e15 11304 (home-page "https://hackage.haskell.org/package/sdl2-image")
1874cdc1
RV
11305 (synopsis "Bindings to SDL2_image")
11306 (description "This package provides Haskell bindings to
11307@code{SDL2_image}.")
11308 (license license:expat)))
11309
11310(define-public ghc-sdl2-mixer
11311 (package
11312 (name "ghc-sdl2-mixer")
11313 (version "1.1.0")
11314 (source
11315 (origin
11316 (method url-fetch)
11317 (uri (string-append "https://hackage.haskell.org/package/sdl2-mixer/"
11318 "sdl2-mixer-" version ".tar.gz"))
11319 (sha256
11320 (base32
11321 "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g"))))
11322 (build-system haskell-build-system)
11323 (inputs
11324 `(("ghc-data-default-class" ,ghc-data-default-class)
11325 ("ghc-lifted-base" ,ghc-lifted-base)
11326 ("ghc-monad-control" ,ghc-monad-control)
11327 ("ghc-sdl2" ,ghc-sdl2)
11328 ("ghc-vector" ,ghc-vector)
11329 ("sdl2-mixer" ,sdl2-mixer)))
11330 (native-inputs
11331 `(("pkg-config" ,pkg-config)))
3ef91e15 11332 (home-page "https://hackage.haskell.org/package/sdl2-mixer")
1874cdc1
RV
11333 (synopsis "Bindings to SDL2 mixer")
11334 (description "This package provides Haskell bindings to
11335@code{SDL2_mixer}.")
11336 (license license:bsd-3)))
11337
dddbc90c
RV
11338(define-public ghc-sdl-image
11339 (package
11340 (name "ghc-sdl-image")
11341 (version "0.6.2.0")
11342 (source
11343 (origin
11344 (method url-fetch)
11345 (uri (string-append
11346 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
11347 version
11348 ".tar.gz"))
11349 (sha256
11350 (base32
11351 "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1"))))
11352 (build-system haskell-build-system)
11353 (arguments
11354 `(#:configure-flags
11355 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
11356 (sdl-image-include (string-append sdl-image "/include/SDL")))
11357 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
11358 (inputs
11359 `(("ghc-sdl" ,ghc-sdl)
11360 ("sdl-image" ,sdl-image)))
11361 (home-page "https://hackage.haskell.org/package/SDL-image")
11362 (synopsis "Haskell bindings to libSDL_image")
11363 (description "SDL_image is an image file loading library. It loads images
11364as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
11365PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
11366 (license license:bsd-3)))
11367
11368(define-public ghc-sdl-mixer
11369 (package
11370 (name "ghc-sdl-mixer")
11371 (version "0.6.3.0")
11372 (source
11373 (origin
11374 (method url-fetch)
11375 (uri (string-append
11376 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
11377 version
11378 ".tar.gz"))
11379 (sha256
11380 (base32
11381 "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r"))))
11382 (build-system haskell-build-system)
11383 (arguments
11384 `(#:configure-flags
11385 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
11386 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
11387 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
11388 (inputs
11389 `(("ghc-sdl" ,ghc-sdl)
11390 ("sdl-mixer" ,sdl-mixer)))
11391 (home-page "https://hackage.haskell.org/package/SDL-mixer")
11392 (synopsis "Haskell bindings to libSDL_mixer")
11393 (description "SDL_mixer is a sample multi-channel audio mixer library. It
11394supports any number of simultaneously playing channels of 16 bit stereo audio,
11395plus a single channel of music, mixed by the popular MikMod MOD, Timidity
11396MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
11397 (license license:bsd-3)))
11398
11399(define-public ghc-securemem
11400 (package
11401 (name "ghc-securemem")
11402 (version "0.1.10")
11403 (source
11404 (origin
11405 (method url-fetch)
11406 (uri (string-append "https://hackage.haskell.org/package/"
11407 "securemem-" version "/"
11408 "securemem-" version ".tar.gz"))
11409 (sha256
11410 (base32
11411 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
11412 (build-system haskell-build-system)
11413 (inputs `(("ghc-byteable" ,ghc-byteable)
11414 ("ghc-memory" ,ghc-memory)))
11415 (home-page "https://github.com/vincenthz/hs-securemem")
11416 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
11417Haskell")
11418 (description "SecureMem is similar to ByteString, except that it provides
11419a memory chunk that will be auto-scrubbed after it run out of scope.")
11420 (license license:bsd-3)))
11421
3cf7219c
JS
11422(define-public ghc-semialign
11423 (package
11424 (name "ghc-semialign")
11425 (version "1")
11426 (source
11427 (origin
11428 (method url-fetch)
11429 (uri (string-append
11430 "https://hackage.haskell.org/package/semialign/semialign-"
11431 version
11432 ".tar.gz"))
11433 (sha256
11434 (base32
11435 "004x0a80sqqdgvsyk4z0nasxpi6z3g1d8kgwj804bj9ka8dlc75m"))))
11436 (build-system haskell-build-system)
11437 (inputs
11438 `(("ghc-these" ,ghc-these)
11439 ("ghc-base-compat" ,ghc-base-compat)
11440 ("ghc-hashable" ,ghc-hashable)
11441 ("ghc-tagged" ,ghc-tagged)
11442 ("ghc-unordered-containers" ,ghc-unordered-containers)
11443 ("ghc-vector" ,ghc-vector)
11444 ("ghc-semigroupoids" ,ghc-semigroupoids)))
11445 (arguments
11446 `(#:cabal-revision
11447 ("1"
11448 "0qnqnyfng4kwy2h2anrcy5id2ijnawava3zcc5h5b8ri1y6ks6zi")))
11449 (home-page
11450 "https://github.com/isomorphism/these")
11451 (synopsis
11452 "Align and Zip type-classes from the common Semialign ancestor ")
11453 (description
11454 "The major use of @code{These} of this is provided by the
11455@code{align} member of @code{Semialign} class, representing a
11456generalized notion of \"zipping with padding\" that combines
11457structures without truncating to the size of the smaller input. It
11458turns out that @code{zip} operation fits well the @code{Semialign}
11459class, forming lattice-like structure.")
11460 (license license:bsd-3)))
11461
dddbc90c
RV
11462(define-public ghc-semigroupoids
11463 (package
11464 (name "ghc-semigroupoids")
a8aaadf2 11465 (version "5.3.3")
dddbc90c
RV
11466 (source
11467 (origin
11468 (method url-fetch)
11469 (uri (string-append
11470 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
11471 version
11472 ".tar.gz"))
11473 (sha256
11474 (base32
a8aaadf2 11475 "016hc4imr9l4szs3p7f1aahvxr5wv4clvr3qzrm3nibssg5vrs61"))))
dddbc90c 11476 (build-system haskell-build-system)
95eb946b 11477 (outputs '("out" "static" "doc"))
dddbc90c
RV
11478 (inputs
11479 `(("ghc-base-orphans" ,ghc-base-orphans)
11480 ("ghc-transformers-compat" ,ghc-transformers-compat)
11481 ("ghc-bifunctors" ,ghc-bifunctors)
11482 ("ghc-comonad" ,ghc-comonad)
11483 ("ghc-contravariant" ,ghc-contravariant)
11484 ("ghc-distributive" ,ghc-distributive)
11485 ("ghc-hashable" ,ghc-hashable)
11486 ("ghc-semigroups" ,ghc-semigroups)
11487 ("ghc-tagged" ,ghc-tagged)
11488 ("ghc-unordered-containers" ,ghc-unordered-containers)))
11489 (native-inputs
11490 `(("cabal-doctest" ,cabal-doctest)
11491 ("ghc-doctest" ,ghc-doctest)))
11492 (home-page "https://github.com/ekmett/semigroupoids")
11493 (synopsis "Semigroupoids operations for Haskell")
11494 (description "This library provides a wide array of (semi)groupoids and
11495operations for working with them. A @code{Semigroupoid} is a @code{Category}
11496without the requirement of identity arrows for every object in the category.
11497A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
11498Finally, to work with these weaker structures it is beneficial to have
11499containers that can provide stronger guarantees about their contents, so
11500versions of @code{Traversable} and @code{Foldable} that can be folded with
11501just a @code{Semigroup} are added.")
11502 (license license:bsd-3)))
11503
11504(define-public ghc-semigroups
11505 (package
11506 (name "ghc-semigroups")
11507 (version "0.18.5")
11508 (source
11509 (origin
11510 (method url-fetch)
11511 (uri (string-append
11512 "https://hackage.haskell.org/package/semigroups/semigroups-"
11513 version
11514 ".tar.gz"))
11515 (sha256
11516 (base32
11517 "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb"))))
11518 (build-system haskell-build-system)
11519 (inputs
11520 `(("ghc-nats" ,ghc-nats)
11521 ("ghc-tagged" ,ghc-tagged)
11522 ("ghc-unordered-containers" ,ghc-unordered-containers)
11523 ("ghc-hashable" ,ghc-hashable)))
11524 (home-page "https://github.com/ekmett/semigroups/")
11525 (synopsis "Semigroup operations for Haskell")
11526 (description "This package provides semigroups for Haskell. In
11527mathematics, a semigroup is an algebraic structure consisting of a set
11528together with an associative binary operation. A semigroup generalizes a
11529monoid in that there might not exist an identity element. It
11530also (originally) generalized a group (a monoid with all inverses) to a type
11531where every element did not have to have an inverse, thus the name
11532semigroup.")
11533 (license license:bsd-3)))
11534
11535(define-public ghc-semigroups-bootstrap
11536 (package
11537 (inherit ghc-semigroups)
11538 (name "ghc-semigroups-bootstrap")
11539 (inputs
11540 `(("ghc-nats" ,ghc-nats-bootstrap)
11541 ("ghc-tagged" ,ghc-tagged)
11542 ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap)
11543 ("ghc-hashable" ,ghc-hashable-bootstrap)))
799d8d3c 11544 (properties '((hidden? #t)))))
dddbc90c 11545
47c526df
JS
11546(define-public ghc-serialise
11547 (package
11548 (name "ghc-serialise")
11549 (version "0.2.1.0")
11550 (source
11551 (origin
11552 (method url-fetch)
11553 (uri (string-append
11554 "mirror://hackage/package/serialise/serialise-"
11555 version
11556 ".tar.gz"))
11557 (sha256
11558 (base32
11559 "19ary6ivzk8z7wcxhm860qmh7pwqj0qjqzav1h42y85l608zqgh4"))))
11560 (build-system haskell-build-system)
11561 (inputs
11562 `(("ghc-cborg" ,ghc-cborg)
11563 ("ghc-half" ,ghc-half)
11564 ("ghc-hashable" ,ghc-hashable)
11565 ("ghc-primitive" ,ghc-primitive)
11566 ("ghc-unordered-containers" ,ghc-unordered-containers)
11567 ("ghc-vector" ,ghc-vector)))
11568 (native-inputs
11569 `(("ghc-quickcheck" ,ghc-quickcheck)
11570 ("ghc-tasty" ,ghc-tasty)
11571 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11572 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11573 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
11574 (arguments
11575 `(#:cabal-revision
11576 ("1" "1rknhad1i8bpknsnphmcmb6dnb48c2p2c13ia2qqch3hkhsvfpr6")))
11577 (home-page "https://github.com/well-typed/cborg")
11578 (synopsis "Binary serialisation library for Haskell values")
11579 (description
11580 "This package (formerly binary-serialise-cbor) provides pure,
11581efficient serialization of Haskell values directly into ByteStrings for
11582storage or transmission purposes. By providing a set of type class instances,
11583you can also serialise any custom data type you have as well.
11584
11585The underlying binary format used is the 'Concise Binary Object
11586Representation', or CBOR, specified in RFC 7049. As a result, serialised
11587Haskell values have implicit structure outside of the Haskell program itself,
11588meaning they can be inspected or analyzed without custom tools.
11589
11590An implementation of the standard bijection between CBOR and JSON is
11591provided by the https://hackage.haskell.org/package/cborg-json
11592package. Also see https://hackage.haskell.org/package/cbor-tool for a
11593convenient command-line utility for working with CBOR data.")
11594 (license license:bsd-3)))
11595
dddbc90c
RV
11596(define-public ghc-setenv
11597 (package
11598 (name "ghc-setenv")
11599 (version "0.1.1.3")
11600 (source
11601 (origin
11602 (method url-fetch)
11603 (uri (string-append
11604 "https://hackage.haskell.org/package/setenv/setenv-"
11605 version
11606 ".tar.gz"))
11607 (sha256
11608 (base32
11609 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
11610 (build-system haskell-build-system)
11611 (home-page "https://hackage.haskell.org/package/setenv")
11612 (synopsis "Library for setting environment variables")
11613 (description "This package provides a Haskell library for setting
11614environment variables.")
11615 (license license:expat)))
11616
11617(define-public ghc-setlocale
11618 (package
11619 (name "ghc-setlocale")
9d7cfc9b 11620 (version "1.0.0.9")
dddbc90c
RV
11621 (source (origin
11622 (method url-fetch)
11623 (uri (string-append
11624 "https://hackage.haskell.org/package/setlocale-"
11625 version "/setlocale-" version ".tar.gz"))
11626 (sha256
11627 (base32
9d7cfc9b 11628 "18b6xafspzxrmz5m9r9nzy3z053crqi59xc8n8aqd4gw0pvqdcrv"))))
dddbc90c
RV
11629 (build-system haskell-build-system)
11630 (home-page "https://hackage.haskell.org/package/setlocale")
11631 (synopsis "Haskell bindings to setlocale")
11632 (description "This package provides Haskell bindings to the
11633@code{setlocale} C function.")
11634 (license license:bsd-3)))
11635
11636(define-public ghc-shakespeare
11637 (package
11638 (name "ghc-shakespeare")
f680955f 11639 (version "2.0.22")
dddbc90c
RV
11640 (source
11641 (origin
11642 (method url-fetch)
11643 (uri (string-append "https://hackage.haskell.org/package/"
11644 "shakespeare-" version "/"
11645 "shakespeare-" version ".tar.gz"))
11646 (sha256
11647 (base32
f680955f 11648 "1mc1a0vv070gcawwcx6vzpj6gpfh1qnlqrndiyfic3p500y656vh"))))
dddbc90c
RV
11649 (build-system haskell-build-system)
11650 (inputs `(("ghc-aeson" ,ghc-aeson)
11651 ("ghc-blaze-markup" ,ghc-blaze-markup)
11652 ("ghc-blaze-html" ,ghc-blaze-html)
11653 ("ghc-exceptions" ,ghc-exceptions)
11654 ("ghc-vector" ,ghc-vector)
11655 ("ghc-unordered-containers" ,ghc-unordered-containers)
11656 ("ghc-scientific" ,ghc-scientific)))
11657 (native-inputs `(("ghc-hspec" ,ghc-hspec)
11658 ("ghc-hunit" ,ghc-hunit)
11659 ("hspec-discover" ,hspec-discover)))
11660 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
11661 (synopsis "Family of type-safe template languages for Haskell")
11662 (description "This Haskell package provides a family of type-safe
11663templates with simple variable interpolation. Shakespeare templates can
11664be used inline with a quasi-quoter or in an external file and it
11665interpolates variables according to the type being inserted.")
11666 (license license:expat)))
11667
11668(define-public ghc-shelly
11669 (package
11670 (name "ghc-shelly")
11671 (version "1.8.1")
11672 (source
11673 (origin
11674 (method url-fetch)
11675 (uri (string-append
11676 "https://hackage.haskell.org/package/shelly/shelly-"
11677 version ".tar.gz"))
11678 (sha256
11679 (base32
11680 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
11681 (build-system haskell-build-system)
11682 (inputs
11683 `(("ghc-unix-compat" ,ghc-unix-compat)
11684 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
11685 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
11686 ("ghc-monad-control" ,ghc-monad-control)
11687 ("ghc-lifted-base" ,ghc-lifted-base)
11688 ("ghc-lifted-async" ,ghc-lifted-async)
11689 ("ghc-exceptions" ,ghc-exceptions)
11690 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
11691 ("ghc-async" ,ghc-async)
11692 ("ghc-transformers-base" ,ghc-transformers-base)
11693 ("ghc-hunit" ,ghc-hunit)
11694 ("ghc-hspec" ,ghc-hspec)
11695 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
11696 (home-page "https://github.com/yesodweb/Shelly.hs")
11697 (synopsis "Shell-like (systems) programming in Haskell")
11698 (description
11699 "Shelly provides convenient systems programming in Haskell, similar in
11700spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
11701 (license license:bsd-3)))
11702
11703(define-public ghc-silently
11704 (package
11705 (name "ghc-silently")
544bb369 11706 (version "1.2.5.1")
dddbc90c
RV
11707 (source
11708 (origin
11709 (method url-fetch)
11710 (uri (string-append
11711 "https://hackage.haskell.org/package/silently/silently-"
11712 version
11713 ".tar.gz"))
11714 (sha256
11715 (base32
544bb369 11716 "1lgs1gsr5dp0x21diqn4l03fxgai2kgdmj85gqp0iz3zykvbmjbz"))))
dddbc90c
RV
11717 (build-system haskell-build-system)
11718 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
11719 ;; (inputs
11720 ;; `(("ghc-temporary" ,ghc-temporary)))
11721 (home-page "https://github.com/hspec/silently")
11722 (synopsis "Prevent writing to stdout")
11723 (description "This package provides functions to prevent or capture
11724writing to stdout and other handles.")
11725 (license license:bsd-3)))
11726
11727(define-public ghc-simple-reflect
11728 (package
11729 (name "ghc-simple-reflect")
11730 (version "0.3.3")
11731 (source
11732 (origin
11733 (method url-fetch)
11734 (uri (string-append
11735 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
11736 version
11737 ".tar.gz"))
11738 (sha256
11739 (base32
11740 "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7"))))
11741 (build-system haskell-build-system)
11742 (home-page
11743 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
11744 (synopsis
11745 "Simple reflection of expressions containing variables")
11746 (description
11747 "This package allows simple reflection of expressions containing
11748variables. Reflection here means that a Haskell expression is turned into a
11749string. The primary aim of this package is teaching and understanding; there
11750are no options for manipulating the reflected expressions beyond showing
11751them.")
11752 (license license:bsd-3)))
11753
11754(define-public ghc-simple-sendfile
11755 (package
11756 (name "ghc-simple-sendfile")
08f54390 11757 (version "0.2.30")
dddbc90c
RV
11758 (source
11759 (origin
11760 (method url-fetch)
11761 (uri (string-append "https://hackage.haskell.org/package/"
11762 "simple-sendfile-" version "/"
11763 "simple-sendfile-" version ".tar.gz"))
11764 (sha256
11765 (base32
08f54390 11766 "112j0qfsjazf9wg1zywf7hjybgsiywk9wkm27yi8xzv27hmlv1mn"))))
dddbc90c
RV
11767 (build-system haskell-build-system)
11768 (inputs
11769 `(("ghc-conduit" ,ghc-conduit)
11770 ("ghc-conduit-extra" ,ghc-conduit-extra)
11771 ("ghc-network" ,ghc-network)
11772 ("ghc-resourcet" ,ghc-resourcet)))
11773 (native-inputs
11774 `(("ghc-hspec" ,ghc-hspec)
11775 ("hspec-discover" ,hspec-discover)))
11776 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
11777 (synopsis "Cross platform library for the sendfile system call")
11778 (description "This library tries to call minimum system calls which
11779are the bottleneck of web servers.")
11780 (license license:bsd-3)))
11781
06966c05
TS
11782(define-public ghc-size-based
11783 (package
11784 (name "ghc-size-based")
11785 (version "0.1.2.0")
11786 (source
11787 (origin
11788 (method url-fetch)
11789 (uri (string-append "https://hackage.haskell.org/package/"
11790 "size-based/size-based-" version ".tar.gz"))
11791 (sha256
11792 (base32
11793 "06hmlic0n73ncwlkpx49xlv09bzsrr27ncnp5byhzlknak2gd7vp"))))
11794 (build-system haskell-build-system)
11795 (inputs
11796 `(("ghc-dictionary-sharing" ,ghc-dictionary-sharing)
11797 ("ghc-testing-type-modifiers" ,ghc-testing-type-modifiers)
11798 ("ghc-semigroups" ,ghc-semigroups)))
11799 (arguments
11800 `(#:cabal-revision
11801 ("1" "0kax1ypjyglkn6iff1x4yz12y7f2n249m95xvdhrc63hsa4xlcqv")))
11802 (home-page "https://hackage.haskell.org/package/size-based")
11803 (synopsis "Sized functors for size-based enumerations")
11804 (description "This library provides a framework for size-based
11805enumerations.")
11806 (license license:bsd-3)))
11807
dddbc90c
RV
11808(define-public ghc-skylighting-core
11809 (package
11810 (name "ghc-skylighting-core")
1826c2a8 11811 (version "0.8.2.1")
dddbc90c
RV
11812 (source (origin
11813 (method url-fetch)
11814 (uri (string-append "https://hackage.haskell.org/package/"
11815 "skylighting-core/skylighting-core-"
11816 version ".tar.gz"))
11817 (sha256
11818 (base32
1826c2a8 11819 "0hdchivb4af9w7v5v7lrwfwawd3kcwmpzk69m1vkkm3pis8lcr1s"))))
dddbc90c
RV
11820 (build-system haskell-build-system)
11821 (inputs
11822 `(("ghc-aeson" ,ghc-aeson)
11823 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
11824 ("ghc-attoparsec" ,ghc-attoparsec)
11825 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
11826 ("ghc-blaze-html" ,ghc-blaze-html)
11827 ("ghc-case-insensitive" ,ghc-case-insensitive)
11828 ("ghc-colour" ,ghc-colour)
11829 ("ghc-hxt" ,ghc-hxt)
11830 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
11831 ("ghc-safe" ,ghc-safe)
11832 ("ghc-utf8-string" ,ghc-utf8-string)))
11833 (native-inputs
11834 `(("ghc-diff" ,ghc-diff)
11835 ("ghc-hunit" ,ghc-hunit)
11836 ("ghc-pretty-show" ,ghc-pretty-show)
11837 ("ghc-quickcheck" ,ghc-quickcheck)
11838 ("ghc-tasty" ,ghc-tasty)
11839 ("ghc-tasty-golden" ,ghc-tasty-golden)
11840 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11841 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
11842 (home-page "https://github.com/jgm/skylighting")
11843 (synopsis "Syntax highlighting library")
11844 (description "Skylighting is a syntax highlighting library with support
11845for over one hundred languages. It derives its tokenizers from XML syntax
11846definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
11847supported by that framework can be added. An optional command-line program is
11848provided. Skylighting is intended to be the successor to highlighting-kate.")
11849 (license license:gpl2)))
11850
11851(define-public ghc-skylighting
11852 (package
11853 (inherit ghc-skylighting-core)
11854 (name "ghc-skylighting")
36c940cf 11855 (version "0.8.2.1")
dddbc90c
RV
11856 (source (origin
11857 (method url-fetch)
11858 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
11859 version "/skylighting-" version ".tar.gz"))
11860 (sha256
11861 (base32
36c940cf 11862 "1xls8ycad77m55ax4hp55k60h3pi5sm3m32hycbc8baixbgfx5xz"))))
dddbc90c
RV
11863 (inputs
11864 `(("ghc-skylighting-core" ,ghc-skylighting-core)
11865 ,@(package-inputs ghc-skylighting-core)))))
11866
11867(define-public ghc-smallcheck
11868 (package
11869 (name "ghc-smallcheck")
11870 (version "1.1.5")
11871 (source
11872 (origin
11873 (method url-fetch)
11874 (uri (string-append
11875 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
11876 version
11877 ".tar.gz"))
11878 (sha256
11879 (base32
11880 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
11881 (build-system haskell-build-system)
11882 (inputs
11883 `(("ghc-logict" ,ghc-logict)))
11884 (home-page
11885 "https://github.com/feuerbach/smallcheck")
11886 (synopsis "Property-based testing library")
a84be333 11887 (description "SmallCheck is a testing library that verifies
dddbc90c
RV
11888properties for all test cases up to some depth. The test cases are generated
11889automatically by SmallCheck.")
11890 (license license:bsd-3)))
11891
11892(define-public ghc-socks
11893 (package
11894 (name "ghc-socks")
ab761e9d 11895 (version "0.6.1")
dddbc90c
RV
11896 (source (origin
11897 (method url-fetch)
11898 (uri (string-append "https://hackage.haskell.org/package/"
11899 "socks/socks-" version ".tar.gz"))
11900 (sha256
11901 (base32
ab761e9d 11902 "0wvaxy3dkv97wrncjv1rxrmjr4014hgxz82kixvcwqdhidalfi3k"))))
dddbc90c
RV
11903 (build-system haskell-build-system)
11904 (inputs
11905 `(("ghc-cereal" ,ghc-cereal)
ab761e9d 11906 ("ghc-basement" ,ghc-basement)
dddbc90c
RV
11907 ("ghc-network" ,ghc-network)))
11908 (home-page "https://github.com/vincenthz/hs-socks")
11909 (synopsis "SOCKS proxy (version 5) implementation")
11910 (description
11911 "This library provides a SOCKS proxy (version 5) implementation.")
11912 (license license:bsd-3)))
11913
081d85d6
TS
11914(define-public ghc-sop-core
11915 (package
11916 (name "ghc-sop-core")
11917 (version "0.4.0.0")
11918 (source
11919 (origin
11920 (method url-fetch)
11921 (uri (string-append "https://hackage.haskell.org/package/"
11922 "sop-core/sop-core-" version ".tar.gz"))
11923 (sha256
11924 (base32
11925 "07ci2mh8cbjvipb576rxsj3iyhkj5c5dnsns4xkdppp2p3pv10d3"))))
11926 (build-system haskell-build-system)
3ef91e15 11927 (home-page "https://hackage.haskell.org/package/sop-core")
081d85d6
TS
11928 (synopsis "True Sums of Products")
11929 (description "This package provides an implementation of
11930@math{n}-ary sums and @math{n}-ary products. The module @code{Data.SOP}
11931is the main module of this library and contains more detailed
11932documentation. The main use case of this package is to serve as the
11933core of @url{https://hackage.haskell.org/package/generics-sop,
11934generics-sop}.")
11935 (license license:bsd-3)))
11936
4c77a1a0
JS
11937(define-public ghc-special-values
11938 (package
11939 (name "ghc-special-values")
11940 (version "0.1.0.0")
11941 (source
11942 (origin
11943 (method url-fetch)
11944 (uri (string-append
11945 "https://hackage.haskell.org/package/special-values/"
11946 "special-values-" version ".tar.gz"))
11947 (sha256
11948 (base32
11949 "1kkdw2c4d2hha99v9f89ahmifjxp7fxmxyfwq9a8xk6s0h9xs51w"))))
11950 (build-system haskell-build-system)
11951 (inputs
11952 `(("ghc-scientific" ,ghc-scientific)
11953 ("ghc-ieee754" ,ghc-ieee754)
11954 ("ghc-nats" ,ghc-nats)))
11955 (home-page
11956 "https://github.com/minad/special-values#readme")
11957 (synopsis "Typeclass providing special values")
11958 (description
11959 "Special values are provided by a SpecialValues typeclass. Those can be
11960used for example by QuickCheck, see quickcheck-special." )
11961 (license license:expat)))
11962
dddbc90c
RV
11963(define-public ghc-split
11964 (package
11965 (name "ghc-split")
11966 (version "0.2.3.3")
534d6caa 11967 (outputs '("out" "static" "doc"))
dddbc90c
RV
11968 (source
11969 (origin
11970 (method url-fetch)
11971 (uri (string-append
11972 "https://hackage.haskell.org/package/split/split-"
11973 version
11974 ".tar.gz"))
11975 (sha256
11976 (base32
11977 "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x"))))
11978 (build-system haskell-build-system)
9bbc21a7
TS
11979 (arguments
11980 `(#:cabal-revision
11981 ("2" "1c8bcssxq5rkxkixgms6w6x6lzf4n7cxk6cx6av1dp3lixdy9j34")))
dddbc90c
RV
11982 (native-inputs
11983 `(("ghc-quickcheck" ,ghc-quickcheck)))
11984 (home-page "https://hackage.haskell.org/package/split")
11985 (synopsis "Combinator library for splitting lists")
11986 (description "This package provides a collection of Haskell functions for
11987splitting lists into parts, akin to the @code{split} function found in several
11988mainstream languages.")
11989 (license license:bsd-3)))
11990
7799d17f 11991(define-public ghc-splitmix
49367c92 11992 (package
7799d17f 11993 (name "ghc-splitmix")
49367c92
TS
11994 (version "0.0.3")
11995 (source
11996 (origin
11997 (method url-fetch)
11998 (uri (string-append "https://hackage.haskell.org/package/"
11999 "splitmix/splitmix-" version ".tar.gz"))
12000 (sha256
12001 (base32
12002 "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w"))))
49367c92 12003 (build-system haskell-build-system)
49367c92
TS
12004 (inputs
12005 `(("ghc-random" ,ghc-random)))
7799d17f
TS
12006 (native-inputs
12007 `(("ghc-hunit" ,ghc-hunit)
12008 ("ghc-async" ,ghc-async)
12009 ("ghc-base-compat-batteries" ,ghc-base-compat-batteries)
12010 ("ghc-tf-random" ,ghc-tf-random)
12011 ("ghc-vector" ,ghc-vector)))
92a79fee 12012 (home-page "https://hackage.haskell.org/package/splitmix")
49367c92
TS
12013 (synopsis "Fast and splittable pseudorandom number generator")
12014 (description "This package provides a Pure Haskell implementation of the
12015SplitMix pseudorandom number generator. SplitMix is a \"splittable\"
12016pseudorandom number generator that is quite fast: 9 64-bit
12017arithmetic/logical operations per 64 bits generated. SplitMix is tested
12018with two standard statistical test suites (DieHarder and TestU01, this
12019implementation only using the former) and it appears to be adequate for
12020\"everyday\" use, such as Monte Carlo algorithms and randomized data
12021structures where speed is important. In particular, it @strong{should not
12022be used for cryptographic or security applications}, because generated
12023sequences of pseudorandom values are too predictable (the mixing functions
12024are easily inverted, and two successive outputs suffice to reconstruct the
12025internal state).")
12026 (license license:bsd-3)))
12027
7799d17f
TS
12028(define-public ghc-splitmix-bootstrap
12029 (package
12030 (inherit ghc-splitmix)
12031 (name "ghc-splitmix-bootstrap")
12032 (arguments `(#:tests? #f))
12033 (native-inputs '())
12034 (properties '((hidden? #t)))))
12035
a152258b
JS
12036(define-public ghc-spoon
12037 (package
12038 (name "ghc-spoon")
12039 (version "0.3.1")
12040 (source
12041 (origin
12042 (method url-fetch)
12043 (uri (string-append
12044 "https://hackage.haskell.org/package/spoon/spoon-"
12045 version
12046 ".tar.gz"))
12047 (sha256
12048 (base32
12049 "1m41k0mfy6fpfrv2ym4m5jsjaj9xdfl2iqpppd3c4d0fffv51cxr"))))
12050 (build-system haskell-build-system)
12051 (arguments
12052 `(#:cabal-revision
12053 ("1"
12054 "09s5jjcsg4g4qxchq9g2l4i9d5zh3rixpkbiysqcgl69kj8mwv74")))
12055 (home-page
12056 "http://hackage.haskell.org/package/spoon")
12057 (synopsis
12058 "Catch errors thrown from pure computations")
12059 (description
12060 "Takes an error-throwing expression and puts it back in the Maybe it
12061belongs in.
12062
12063Note that this suffers from the
12064@url{https://ghc.haskell.org/trac/ghc/ticket/5902}. Buyer beware.")
12065 (license license:bsd-3)))
12066
dddbc90c
RV
12067(define-public ghc-statevar
12068 (package
12069 (name "ghc-statevar")
19419709 12070 (version "1.2")
dddbc90c
RV
12071 (source
12072 (origin
12073 (method url-fetch)
12074 (uri (string-append
12075 "https://hackage.haskell.org/package/StateVar/StateVar-"
12076 version
12077 ".tar.gz"))
12078 (sha256
12079 (base32
19419709 12080 "12sz6zkc9j5z3lwrjvljrkfxa5vhwnir5wsarigz2f6d3w13dh5g"))))
dddbc90c
RV
12081 (build-system haskell-build-system)
12082 (home-page "https://hackage.haskell.org/package/StateVar")
12083 (synopsis "State variables for Haskell")
12084 (description "This package provides state variables, which are references
12085in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
12086 (license license:bsd-3)))
12087
12088(define-public ghc-statistics
12089 (package
12090 (name "ghc-statistics")
60e78e68 12091 (version "0.15.1.1")
dddbc90c
RV
12092 (source
12093 (origin
12094 (method url-fetch)
12095 (uri (string-append "https://hackage.haskell.org/package/"
12096 "statistics-" version "/"
12097 "statistics-" version ".tar.gz"))
12098 (sha256
12099 (base32
60e78e68 12100 "015rn74f1glii26j4b2fh1fc63xvxzrh2xckiancz48kc8jdzabj"))))
dddbc90c
RV
12101 (build-system haskell-build-system)
12102 (arguments
60e78e68 12103 '(;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse".
dddbc90c
RV
12104 #:tests? #f))
12105 (inputs
12106 `(("ghc-aeson" ,ghc-aeson)
60e78e68 12107 ("ghc-async" ,ghc-async)
dddbc90c 12108 ("ghc-base-orphans" ,ghc-base-orphans)
60e78e68 12109 ("ghc-dense-linear-algebra" ,ghc-dense-linear-algebra)
dddbc90c
RV
12110 ("ghc-math-functions" ,ghc-math-functions)
12111 ("ghc-monad-par" ,ghc-monad-par)
12112 ("ghc-mwc-random" ,ghc-mwc-random)
12113 ("ghc-primitive" ,ghc-primitive)
12114 ("ghc-vector" ,ghc-vector)
12115 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
12116 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
12117 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
12118 (native-inputs
12119 `(("ghc-hunit" ,ghc-hunit)
12120 ("ghc-quickcheck" ,ghc-quickcheck)
12121 ("ghc-ieee754" ,ghc-ieee754)
12122 ("ghc-test-framework" ,ghc-test-framework)
12123 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
12124 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
12125 (home-page "https://github.com/bos/mwc-random")
12126 (synopsis "Haskell library of statistical types, data, and functions")
12127 (description "This library provides a number of common functions
12128and types useful in statistics. We focus on high performance, numerical
12129robustness, and use of good algorithms. Where possible, we provide references
12130to the statistical literature.
12131
12132The library's facilities can be divided into four broad categories:
12133
12134@itemize
12135@item Working with widely used discrete and continuous probability
12136distributions. (There are dozens of exotic distributions in use; we focus
12137on the most common.)
12138
12139@item Computing with sample data: quantile estimation, kernel density
12140estimation, histograms, bootstrap methods, significance testing,
12141and regression and autocorrelation analysis.
12142
12143@item Random variate generation under several different distributions.
12144
12145@item Common statistical tests for significant differences between samples.
12146@end itemize")
12147 (license license:bsd-2)))
12148
12149(define-public ghc-stm-chans
12150 (package
12151 (name "ghc-stm-chans")
12152 (version "3.0.0.4")
12153 (source
12154 (origin
12155 (method url-fetch)
12156 (uri (string-append "https://hackage.haskell.org/package/"
12157 "stm-chans-" version "/"
12158 "stm-chans-" version ".tar.gz"))
12159 (sha256
12160 (base32
12161 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
12162 (build-system haskell-build-system)
12163 (home-page "https://hackage.haskell.org/package/stm-chans")
12164 (synopsis "Additional types of channels for ghc-stm")
12165 (description "This Haskell package offers a collection of channel types,
12166similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
12167features.")
12168 (license license:bsd-3)))
12169
12170(define-public ghc-stm-conduit
12171 (package
12172 (name "ghc-stm-conduit")
cd518e95 12173 (version "4.0.1")
dddbc90c
RV
12174 (source
12175 (origin
12176 (method url-fetch)
12177 (uri (string-append "https://hackage.haskell.org/package/stm-conduit/"
12178 "stm-conduit-" version ".tar.gz"))
12179 (sha256
12180 (base32
cd518e95 12181 "0hhlxvpp7mah8dcvkknh6skx44jfk3092zz2w52zlr255bkmn3p8"))))
dddbc90c
RV
12182 (build-system haskell-build-system)
12183 (inputs
12184 `(("ghc-stm-chans" ,ghc-stm-chans)
12185 ("ghc-cereal" ,ghc-cereal)
12186 ("ghc-cereal-conduit" ,ghc-cereal-conduit)
12187 ("ghc-conduit" ,ghc-conduit)
12188 ("ghc-conduit-extra" ,ghc-conduit-extra)
12189 ("ghc-exceptions" ,ghc-exceptions)
12190 ("ghc-resourcet" ,ghc-resourcet)
12191 ("ghc-async" ,ghc-async)
12192 ("ghc-monad-loops" ,ghc-monad-loops)
12193 ("ghc-unliftio" ,ghc-unliftio)))
12194 (native-inputs
12195 `(("ghc-doctest" ,ghc-doctest)
12196 ("ghc-quickcheck" ,ghc-quickcheck)
12197 ("ghc-hunit" ,ghc-hunit)
12198 ("ghc-test-framework" ,ghc-test-framework)
12199 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
12200 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
12201 (home-page "https://github.com/cgaebel/stm-conduit")
12202 (synopsis "Introduces conduits to channels and promotes using conduits concurrently")
12203 (description
12204 "This package provides two simple conduit wrappers around STM channels: a
12205source and a sink.")
12206 (license license:bsd-3)))
12207
12208(define-public ghc-stmonadtrans
12209 (package
12210 (name "ghc-stmonadtrans")
12211 (version "0.4.3")
12212 (source
12213 (origin
12214 (method url-fetch)
12215 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
12216 "/STMonadTrans-" version ".tar.gz"))
12217 (sha256
12218 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
12219 (build-system haskell-build-system)
12220 (home-page "https://hackage.haskell.org/package/STMonadTrans")
12221 (synopsis "Monad transformer version of the ST monad")
12222 (description
12223 "This package provides a monad transformer version of the @code{ST} monad
12224for strict state threads.")
12225 (license license:bsd-3)))
12226
12227(define-public ghc-storable-complex
12228 (package
12229 (name "ghc-storable-complex")
4a35e3c3 12230 (version "0.2.3.0")
dddbc90c
RV
12231 (source
12232 (origin
12233 (method url-fetch)
12234 (uri (string-append
12235 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
12236 version ".tar.gz"))
12237 (sha256
4a35e3c3 12238 (base32 "0fnwbfmd5vsaaqvf9182qdcjrzcfjd1zhdyvjwzifbwvn6r9kx4s"))))
dddbc90c 12239 (build-system haskell-build-system)
4a35e3c3
TS
12240 (inputs
12241 `(("ghc-base-orphans" ,ghc-base-orphans)))
dddbc90c
RV
12242 (home-page "https://github.com/cartazio/storable-complex")
12243 (synopsis "Haskell Storable instance for Complex")
12244 (description "This package provides a Haskell library including a
12245Storable instance for Complex which is binary compatible with C99, C++
12246and Fortran complex data types.")
12247 (license license:bsd-3)))
12248
ad80074a
JS
12249(define-public ghc-storable-record
12250 (package
12251 (name "ghc-storable-record")
12252 (version "0.0.4")
12253 (source
12254 (origin
12255 (method url-fetch)
12256 (uri
12257 (string-append
12258 "https://hackage.haskell.org/package/storable-record/"
12259 "storable-record-" version ".tar.gz"))
12260 (sha256
12261 (base32
12262 "0hjs1km0fc9ch0i1rbycxia5w3939hk4p4md73ikgg4aipqb5zyf"))))
12263 (build-system haskell-build-system)
12264 (inputs
12265 `(("ghc-semigroups" ,ghc-semigroups)
12266 ("ghc-utility-ht" ,ghc-utility-ht)
12267 ("ghc-storablevector" ,ghc-storablevector)
12268 ("ghc-timeit" ,ghc-timeit)))
12269 (home-page "https://hackage.haskell.org/package/storable-record")
12270 (synopsis "Elegant definition of Storable instances for records")
12271 (description "With this package you can build a Storable instance of
12272a record type from Storable instances of its elements in an elegant way.
12273It does not do any magic, just a bit arithmetic to compute the right
12274offsets, that would be otherwise done manually or by a preprocessor like
12275C2HS. There is no guarantee that the generated memory layout is
12276compatible with that of a corresponding C struct. However, the module
12277generates the smallest layout that is possible with respect to the
12278alignment of the record elements.")
12279 (license license:bsd-3)))
12280
55f4c653
JS
12281(define-public ghc-storable-tuple
12282 (package
12283 (name "ghc-storable-tuple")
12284 (version "0.0.3.3")
12285 (source
12286 (origin
12287 (method url-fetch)
12288 (uri
12289 (string-append
12290 "https://hackage.haskell.org/package/storable-tuple/"
12291 "storable-tuple-" version ".tar.gz"))
12292 (sha256
12293 (base32
12294 "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw"))))
12295 (build-system haskell-build-system)
12296 (inputs
12297 `(("ghc-storable-record" ,ghc-storable-record)
12298 ("ghc-utility-ht" ,ghc-utility-ht)
12299 ("ghc-base-orphans" ,ghc-base-orphans)))
12300 (home-page "https://hackage.haskell.org/package/storable-tuple")
12301 (synopsis "Storable instance for pairs and triples")
12302 (description "This package provides a Storable instance for pairs
12303and triples which should be binary compatible with C99 and C++. The
12304only purpose of this package is to provide a standard location for this
12305instance so that other packages needing this instance can play nicely
12306together.")
12307 (license license:bsd-3)))
12308
bc06ca45
JS
12309(define-public ghc-storablevector
12310 (package
12311 (name "ghc-storablevector")
12312 (version "0.2.13")
12313 (source
12314 (origin
12315 (method url-fetch)
12316 (uri
12317 (string-append
12318 "https://hackage.haskell.org/package/storablevector/storablevector-"
12319 version ".tar.gz"))
12320 (sha256
12321 (base32
12322 "1zmr738vwnhnyxbikayqnaz31ilv2qlmscp6iqgl7adcfbal4dzq"))))
12323 (build-system haskell-build-system)
12324 (inputs
12325 `(("ghc-non-negative" ,ghc-non-negative)
12326 ("ghc-utility-ht" ,ghc-utility-ht)
12327 ("ghc-semigroups" ,ghc-semigroups)
12328 ("ghc-unsafe" ,ghc-unsafe)
12329 ("ghc-quickcheck" ,ghc-quickcheck)
12330 ("ghc-syb" ,ghc-syb)))
228d2901 12331 (home-page "https://wiki.haskell.org/Storable_Vector")
bc06ca45
JS
12332 (synopsis "Fast, packed, strict storable arrays with a list interface")
12333 (description "This library provides fast, packed, strict storable
12334arrays with a list interface, a chunky lazy list interface with variable
12335chunk size and an interface for write access via the ST monad. This is
12336much like bytestring and binary but can be used for every
12337@code{Foreign.Storable.Storable} type. See also
12338@url{http://hackage.haskell.org/package/vector}, a library with a
12339similar intention.
12340
12341This library does not do advanced fusion optimization, since especially
12342for lazy vectors this would either be incorrect or not applicable. See
12343@url{http://hackage.haskell.org/package/storablevector-streamfusion} for
12344a library that provides fusion with lazy lists.")
12345 (license license:bsd-3)))
12346
dddbc90c
RV
12347(define-public ghc-streaming-commons
12348 (package
12349 (name "ghc-streaming-commons")
12350 (version "0.2.1.1")
12351 (source
12352 (origin
12353 (method url-fetch)
12354 (uri (string-append "https://hackage.haskell.org/package/"
12355 "streaming-commons/streaming-commons-"
12356 version ".tar.gz"))
12357 (sha256
12358 (base32
12359 "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52"))))
12360 (build-system haskell-build-system)
12361 (inputs
12362 `(("ghc-async" ,ghc-async)
12363 ("ghc-blaze-builder" ,ghc-blaze-builder)
12364 ("ghc-network" ,ghc-network)
12365 ("ghc-random" ,ghc-random)
12366 ("ghc-zlib" ,ghc-zlib)))
12367 (native-inputs
12368 `(("ghc-quickcheck" ,ghc-quickcheck)
12369 ("ghc-hspec" ,ghc-hspec)
12370 ("hspec-discover" ,hspec-discover)))
12371 (home-page "https://hackage.haskell.org/package/streaming-commons")
12372 (synopsis "Conduit and pipes needed by some streaming data libraries")
12373 (description "This package provides low-dependency functionality commonly
12374needed by various Haskell streaming data libraries, such as @code{conduit} and
12375@code{pipe}s.")
12376 (license license:expat)))
12377
12378(define-public ghc-strict
12379 (package
12380 (name "ghc-strict")
12381 (version "0.3.2")
12382 (source
12383 (origin
12384 (method url-fetch)
12385 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
12386 version ".tar.gz"))
12387 (sha256
12388 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
12389 (build-system haskell-build-system)
12390 (home-page "https://hackage.haskell.org/package/strict")
12391 (synopsis "Strict data types and String IO")
12392 (description
12393 "This package provides strict versions of some standard Haskell data
12394types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
12395IO operations.")
12396 (license license:bsd-3)))
12397
12398(define-public ghc-stringbuilder
12399 (package
12400 (name "ghc-stringbuilder")
12401 (version "0.5.1")
12402 (source
12403 (origin
12404 (method url-fetch)
12405 (uri (string-append
12406 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
12407 version
12408 ".tar.gz"))
12409 (sha256
12410 (base32
12411 "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q"))))
12412 (build-system haskell-build-system)
12413 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
12414 ; enabled
12415 (home-page "https://hackage.haskell.org/package/stringbuilder")
12416 (synopsis "Writer monad for multi-line string literals")
12417 (description "This package provides a writer monad for multi-line string
12418literals.")
12419 (license license:expat)))
12420
12421(define-public ghc-string-qq
12422 (package
12423 (name "ghc-string-qq")
4d6fddc3 12424 (version "0.0.4")
dddbc90c
RV
12425 (source
12426 (origin
12427 (method url-fetch)
12428 (uri (string-append
12429 "https://hackage.haskell.org/package/string-qq/string-qq-"
12430 version
12431 ".tar.gz"))
12432 (sha256
12433 (base32
4d6fddc3 12434 "0wfxkw4x6j6jq9nd82k83g2k3hskpsvk1dp4cpkshvjr4wg9qny8"))))
dddbc90c 12435 (build-system haskell-build-system)
4d6fddc3
TS
12436 (native-inputs
12437 `(("ghc-hunit" ,ghc-hunit)))
3ef91e15 12438 (home-page "https://hackage.haskell.org/package/string-qq")
dddbc90c
RV
12439 (synopsis
12440 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
12441 (description
12442 "This package provides a quasiquoter for non-interpolated strings, texts
12443and bytestrings.")
12444 (license license:public-domain)))
12445
12446(define-public ghc-stringsearch
12447 (package
12448 (name "ghc-stringsearch")
12449 (version "0.3.6.6")
12450 (source
12451 (origin
12452 (method url-fetch)
12453 (uri (string-append
12454 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
12455 version
12456 ".tar.gz"))
12457 (sha256
12458 (base32
12459 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
12460 (build-system haskell-build-system)
e2303abb
TS
12461 (arguments
12462 `(#:cabal-revision
12463 ("1" "0z5pz5dccapz9k39r2zmf056m0x2m2lj3jahhnw3mfxlmps07378")))
dddbc90c
RV
12464 (home-page "https://bitbucket.org/dafis/stringsearch")
12465 (synopsis "Fast searching, splitting and replacing of ByteStrings")
12466 (description "This package provides several functions to quickly search
12467for substrings in strict or lazy @code{ByteStrings}. It also provides
12468functions for breaking or splitting on substrings and replacing all
12469occurrences of a substring (the first in case of overlaps) with another.")
12470 (license license:bsd-3)))
12471
dcf3f8f4
TS
12472(define-public ghc-svg-builder
12473 (package
12474 (name "ghc-svg-builder")
12475 (version "0.1.1")
12476 (source
12477 (origin
12478 (method url-fetch)
12479 (uri (string-append "https://hackage.haskell.org/package/"
12480 "svg-builder/svg-builder-" version ".tar.gz"))
12481 (sha256
12482 (base32
12483 "1k420f497lzkymmxin88ql6ib8dziic43avykv31yq65rgrf7l2g"))))
12484 (build-system haskell-build-system)
12485 (inputs
12486 `(("ghc-blaze-builder" ,ghc-blaze-builder)
12487 ("ghc-hashable" ,ghc-hashable)
12488 ("ghc-unordered-containers" ,ghc-unordered-containers)))
12489 (arguments
12490 `(#:cabal-revision
12491 ("1" "1bhp9gvid2iis411k1vvyj5krzc4ahxcqcd9cwx9h37jxg180xw1")))
12492 (home-page "https://github.com/diagrams/svg-builder.git")
12493 (synopsis "Domain-specific language for building Scalable Vector Graphics")
12494 (description "Easy-to-write domain-specific language (DSL) for
12495building Scalable Vector Graphics (SVG).")
12496 (license license:bsd-3)))
12497
dddbc90c
RV
12498(define-public ghc-syb
12499 (package
12500 (name "ghc-syb")
07d65eef 12501 (version "0.7.1")
534d6caa 12502 (outputs '("out" "static" "doc"))
dddbc90c
RV
12503 (source
12504 (origin
12505 (method url-fetch)
12506 (uri (string-append
12507 "https://hackage.haskell.org/package/syb/syb-"
12508 version
12509 ".tar.gz"))
12510 (sha256
12511 (base32
07d65eef 12512 "0077vxzyi9ppbphi2ialac3p376k49qly1kskdgf57wdwix9qjp0"))))
dddbc90c
RV
12513 (build-system haskell-build-system)
12514 (inputs
12515 `(("ghc-hunit" ,ghc-hunit)))
12516 (home-page
12517 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
12518 (synopsis "Scrap Your Boilerplate")
12519 (description "This package contains the generics system described in the
12520/Scrap Your Boilerplate/ papers (see
12521@uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
12522defines the @code{Data} class of types permitting folding and unfolding of
12523constructor applications, instances of this class for primitive types, and a
12524variety of traversals.")
12525 (license license:bsd-3)))
12526
12527(define-public ghc-system-fileio
12528 (package
12529 (name "ghc-system-fileio")
dcfb99d4 12530 (version "0.3.16.4")
dddbc90c
RV
12531 (source
12532 (origin
12533 (method url-fetch)
12534 (uri (string-append
12535 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
12536 version ".tar.gz"))
12537 (sha256
12538 (base32
dcfb99d4 12539 "1iy6g1f35gzyj12g9mdiw4zf75mmxpv1l8cyaldgyscsl648pr9l"))))
dddbc90c 12540 (build-system haskell-build-system)
dcfb99d4
TS
12541 (arguments
12542 `(#:phases
12543 (modify-phases %standard-phases
12544 (add-before 'configure 'update-constraints
12545 (lambda _
12546 (substitute* "system-fileio.cabal"
12547 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4"))
12548 #t)))))
dddbc90c
RV
12549 (inputs
12550 `(("ghc-system-filepath" ,ghc-system-filepath)
12551 ("ghc-chell" ,ghc-chell)
12552 ("ghc-temporary" ,ghc-temporary)))
12553 (home-page "https://github.com/fpco/haskell-filesystem")
12554 (synopsis "Consistent file system interaction across GHC versions")
12555 (description
12556 "This is a small wrapper around the directory, unix, and Win32 packages,
12557for use with system-filepath. It provides a consistent API to the various
12558versions of these packages distributed with different versions of GHC.
12559In particular, this library supports working with POSIX files that have paths
12560which can't be decoded in the current locale encoding.")
12561 (license license:expat)))
12562
12563;; See ghc-system-filepath-bootstrap. In addition this package depends on
12564;; ghc-system-filepath.
12565(define ghc-system-fileio-bootstrap
12566 (package
12567 (name "ghc-system-fileio-bootstrap")
12568 (version "0.3.16.3")
12569 (source
12570 (origin
12571 (method url-fetch)
12572 (uri (string-append
12573 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
12574 version ".tar.gz"))
12575 (sha256
12576 (base32
12577 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
12578 (build-system haskell-build-system)
12579 (arguments
12580 `(#:tests? #f))
12581 (inputs
12582 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
12583 ("ghc-temporary" ,ghc-temporary)))
12584 (home-page "https://github.com/fpco/haskell-filesystem")
12585 (synopsis "Consistent file system interaction across GHC versions")
12586 (description
12587 "This is a small wrapper around the directory, unix, and Win32 packages,
12588for use with system-filepath. It provides a consistent API to the various
12589versions of these packages distributed with different versions of GHC.
12590In particular, this library supports working with POSIX files that have paths
12591which can't be decoded in the current locale encoding.")
12592 (license license:expat)))
12593
12594
12595(define-public ghc-system-filepath
12596 (package
12597 (name "ghc-system-filepath")
12598 (version "0.4.14")
12599 (source
12600 (origin
12601 (method url-fetch)
12602 (uri (string-append
12603 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
12604 version ".tar.gz"))
12605 (sha256
12606 (base32
12607 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
12608 (build-system haskell-build-system)
12609 ;; FIXME: One of the tests fails:
12610 ;; [ FAIL ] tests.validity.posix
12611 ;; note: seed=7310214548328823169
12612 ;; *** Failed! Falsifiable (after 24 tests):
12613 ;; 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"
12614 (arguments `(#:tests? #f))
12615 (inputs
12616 `(("ghc-chell" ,ghc-chell)
12617 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
12618 ("ghc-quickcheck" ,ghc-quickcheck)))
12619 (home-page "https://github.com/fpco/haskell-filesystem")
12620 (synopsis "High-level, byte-based file and directory path manipulations")
12621 (description
12622 "Provides a FilePath datatype and utility functions for operating on it.
12623Unlike the filepath package, this package does not simply reuse String,
12624increasing type safety.")
12625 (license license:expat)))
12626
12627;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
12628;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
12629;; which depends on ghc-chell and ghc-chell-quickcheck.
12630;; Therefore we bootstrap it with tests disabled.
12631(define ghc-system-filepath-bootstrap
12632 (package
12633 (name "ghc-system-filepath-bootstrap")
12634 (version "0.4.14")
12635 (source
12636 (origin
12637 (method url-fetch)
12638 (uri (string-append
12639 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
12640 version ".tar.gz"))
12641 (sha256
12642 (base32
12643 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
12644 (build-system haskell-build-system)
12645 (arguments
12646 `(#:tests? #f))
12647 (inputs
12648 `(("ghc-quickcheck" ,ghc-quickcheck)))
12649 (home-page "https://github.com/fpco/haskell-filesystem")
12650 (synopsis "High-level, byte-based file and directory path manipulations")
12651 (description
12652 "Provides a FilePath datatype and utility functions for operating on it.
12653Unlike the filepath package, this package does not simply reuse String,
12654increasing type safety.")
12655 (license license:expat)))
12656
12657
12658(define-public ghc-tagged
12659 (package
12660 (name "ghc-tagged")
f0f3756a 12661 (version "0.8.6")
dddbc90c
RV
12662 (source
12663 (origin
12664 (method url-fetch)
12665 (uri (string-append
12666 "https://hackage.haskell.org/package/tagged/tagged-"
12667 version
12668 ".tar.gz"))
12669 (sha256
12670 (base32
f0f3756a 12671 "1pciqzxf9ncv954v4r527xkxkn7r5hcr13mfw5dg1xjci3qdw5md"))))
dddbc90c
RV
12672 (build-system haskell-build-system)
12673 (arguments
12674 `(#:cabal-revision
f0f3756a 12675 ("1" "070xwfw7y81hd63il76dmwbdl9ca1rd07c54zynfx6vpr4wyx4vh")))
dddbc90c
RV
12676 (inputs
12677 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
12678 (home-page "https://hackage.haskell.org/package/tagged")
12679 (synopsis "Haskell phantom types to avoid passing dummy arguments")
12680 (description "This library provides phantom types for Haskell 98, to avoid
12681having to unsafely pass dummy arguments.")
12682 (license license:bsd-3)))
12683
12684(define-public ghc-tar
12685 (package
12686 (name "ghc-tar")
ec83929f 12687 (version "0.5.1.1")
dddbc90c
RV
12688 (source
12689 (origin
12690 (method url-fetch)
12691 (uri (string-append
12692 "https://hackage.haskell.org/package/tar/tar-"
12693 version ".tar.gz"))
12694 (sha256
12695 (base32
ec83929f 12696 "1ppim7cgmn7ng8zbdrwkxhhizc30h15h1c9cdlzamc5jcagl915k"))))
dddbc90c
RV
12697 (build-system haskell-build-system)
12698 ;; FIXME: 2/24 tests fail.
12699 (arguments `(#:tests? #f))
12700 (inputs
12701 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
12702 ("ghc-quickcheck" ,ghc-quickcheck)
12703 ("ghc-tasty" ,ghc-tasty)
12704 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
12705 (home-page "https://hackage.haskell.org/package/tar")
12706 (synopsis "Reading, writing and manipulating \".tar\" archive files")
12707 (description
12708 "This library is for working with \\\"@.tar@\\\" archive files.
12709It can read and write a range of common variations of the tar archive format
12710including V7, POSIX USTAR and GNU formats. It provides support for packing and
12711unpacking portable archives. This makes it suitable for distribution but not
12712backup because details like file ownership and exact permissions are not
12713preserved. It also provides features for random access to archive content using
12714an index.")
12715 (license license:bsd-3)))
12716
f8d17902
TS
12717(define-public ghc-tar-conduit
12718 (package
12719 (name "ghc-tar-conduit")
12720 (version "0.3.2")
12721 (source
12722 (origin
12723 (method url-fetch)
12724 (uri (string-append "https://hackage.haskell.org/package/"
12725 "tar-conduit/tar-conduit-" version ".tar.gz"))
12726 (sha256
12727 (base32
12728 "0bgn3hyf20g1gfnzy8f41s7nj54kfcyjk2izw99svrw8f3dphi80"))))
12729 (build-system haskell-build-system)
12730 (inputs
12731 `(("ghc-conduit" ,ghc-conduit)
12732 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
12733 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
12734 (native-inputs
12735 `(("ghc-quickcheck" ,ghc-quickcheck)
12736 ("ghc-conduit-extra" ,ghc-conduit-extra)
12737 ("ghc-hspec" ,ghc-hspec)
12738 ("ghc-hspec" ,ghc-hspec)
12739 ("ghc-weigh" ,ghc-weigh)))
12740 (home-page "https://github.com/snoyberg/tar-conduit#readme")
12741 (synopsis "Extract and create tar files using conduit for streaming")
12742 (description "This library provides a conduit-based, streaming
12743interface for extracting and creating tar files.")
12744 (license license:expat)))
12745
dddbc90c
RV
12746(define-public ghc-temporary
12747 (package
12748 (name "ghc-temporary")
12749 (version "1.3")
12750 (source
12751 (origin
12752 (method url-fetch)
12753 (uri (string-append
12754 "https://hackage.haskell.org/package/temporary/temporary-"
12755 version
12756 ".tar.gz"))
12757 (sha256
12758 (base32
12759 "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c"))))
12760 (build-system haskell-build-system)
12761 (inputs
12762 `(("ghc-exceptions" ,ghc-exceptions)
12763 ("ghc-random" ,ghc-random)))
12764 (native-inputs
12765 `(("ghc-base-compat" ,ghc-base-compat)
12766 ("ghc-tasty" ,ghc-tasty)
12767 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
12768 (home-page "https://www.github.com/batterseapower/temporary")
12769 (synopsis "Temporary file and directory support")
12770 (description "The functions for creating temporary files and directories
12771in the Haskelll base library are quite limited. This library just repackages
12772the Cabal implementations of its own temporary file and folder functions so
12773that you can use them without linking against Cabal or depending on it being
12774installed.")
12775 (license license:bsd-3)))
12776
12777(define-public ghc-temporary-rc
12778 (package
12779 (name "ghc-temporary-rc")
12780 (version "1.2.0.3")
12781 (source
12782 (origin
12783 (method url-fetch)
12784 (uri (string-append
12785 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
12786 version
12787 ".tar.gz"))
12788 (sha256
12789 (base32
12790 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
12791 (build-system haskell-build-system)
12792 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
12793 (home-page
12794 "https://www.github.com/feuerbach/temporary")
12795 (synopsis
12796 "Portable temporary file and directory support")
12797 (description
12798 "The functions for creating temporary files and directories in the base
12799library are quite limited. The unixutils package contains some good ones, but
12800they aren't portable to Windows. This library just repackages the Cabal
12801implementations of its own temporary file and folder functions so that you can
12802use them without linking against Cabal or depending on it being installed.
12803This is a better maintained fork of the \"temporary\" package.")
12804 (license license:bsd-3)))
12805
12806(define-public ghc-terminal-size
12807 (package
12808 (name "ghc-terminal-size")
12809 (version "0.3.2.1")
12810 (source (origin
12811 (method url-fetch)
12812 (uri (string-append
12813 "https://hackage.haskell.org/package/terminal-size/"
12814 "terminal-size-" version ".tar.gz"))
12815 (sha256
12816 (base32
12817 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
12818 (build-system haskell-build-system)
12819 (home-page "https://hackage.haskell.org/package/terminal-size")
12820 (synopsis "Get terminal window height and width")
12821 (description "Get terminal window height and width without ncurses
12822dependency.")
12823 (license license:bsd-3)))
12824
12825(define-public ghc-texmath
12826 (package
12827 (name "ghc-texmath")
7fec7e66 12828 (version "0.11.3")
dddbc90c
RV
12829 (source (origin
12830 (method url-fetch)
12831 (uri (string-append "https://hackage.haskell.org/package/"
12832 "texmath/texmath-" version ".tar.gz"))
12833 (sha256
12834 (base32
7fec7e66 12835 "03rpxbp43bjs62mmw4hv4785n6f6nbf8kj2y9mma5nzk6i2xs09f"))))
dddbc90c
RV
12836 (build-system haskell-build-system)
12837 (inputs
12838 `(("ghc-syb" ,ghc-syb)
12839 ("ghc-network-uri" ,ghc-network-uri)
12840 ("ghc-split" ,ghc-split)
12841 ("ghc-temporary" ,ghc-temporary)
12842 ("ghc-utf8-string" ,ghc-utf8-string)
12843 ("ghc-xml" ,ghc-xml)
12844 ("ghc-pandoc-types" ,ghc-pandoc-types)))
12845 (home-page "https://github.com/jgm/texmath")
12846 (synopsis "Conversion between formats used to represent mathematics")
12847 (description
12848 "The texmath library provides functions to read and write TeX math,
12849presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
12850Office). Support is also included for converting math formats to pandoc's
12851native format (allowing conversion, via pandoc, to a variety of different
12852markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
12853it can parse and apply LaTeX macros.")
12854 (license license:gpl2+)))
12855
12856(define-public ghc-text-binary
12857 (package
12858 (name "ghc-text-binary")
12859 (version "0.2.1.1")
12860 (source
12861 (origin
12862 (method url-fetch)
12863 (uri (string-append "https://hackage.haskell.org/package/"
12864 "text-binary/text-binary-"
12865 version ".tar.gz"))
12866 (sha256
12867 (base32
12868 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
12869 (build-system haskell-build-system)
12870 (home-page "https://github.com/kawu/text-binary")
12871 (synopsis "Binary instances for text types")
12872 (description
12873 "This package provides a compatibility layer providing @code{Binary}
12874instances for strict and lazy text types for versions older than 1.2.1 of the
12875text package.")
12876 (license license:bsd-2)))
12877
714e5605
JS
12878(define-public ghc-text-manipulate
12879 (package
12880 (name "ghc-text-manipulate")
12881 (version "0.2.0.1")
12882 (source
12883 (origin
12884 (method url-fetch)
12885 (uri (string-append
12886 "https://hackage.haskell.org/package/text-manipulate"
12887 "/text-manipulate-"
12888 version
12889 ".tar.gz"))
12890 (sha256
12891 (base32
12892 "0bwxyjj3ll45srxhsp2ihikgqglvjc6m02ixr8xpvyqwkcfwgsg0"))))
12893 (build-system haskell-build-system)
12894 (native-inputs
12895 `(("ghc-tasty" ,ghc-tasty)
12896 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
12897 (home-page
12898 "https://github.com/brendanhay/text-manipulate")
12899 (synopsis
12900 "Case conversion, word boundary manipulation, and textual subjugation")
12901 (description
12902 "Manipulate identifiers and structurally non-complex pieces of text by
12903delimiting word boundaries via a combination of whitespace,
12904control-characters, and case-sensitivity.
12905
12906Has support for common idioms like casing of programmatic variable names,
12907taking, dropping, and splitting by word, and modifying the first character of
12908a piece of text.
12909
12910Caution: this library makes heavy use of the text library's internal loop
12911optimisation framework. Since internal modules are not guaranteed to have a
12912stable API there is potential for build breakage when the text dependency is
12913upgraded. Consider yourself warned!")
12914 (license license:mpl2.0)))
12915
bdc877c4
TS
12916(define-public ghc-text-metrics
12917 (package
12918 (name "ghc-text-metrics")
12919 (version "0.3.0")
12920 (source
12921 (origin
12922 (method url-fetch)
12923 (uri (string-append "https://hackage.haskell.org/package/"
12924 "text-metrics/text-metrics-" version ".tar.gz"))
12925 (sha256
12926 (base32
12927 "18mzxwkdvjp31r720ai9bnxr638qq8x3a2v408bz0d8f0rsayx1q"))))
12928 (build-system haskell-build-system)
12929 (inputs
12930 `(("ghc-vector" ,ghc-vector)))
12931 (native-inputs
12932 `(("ghc-quickcheck" ,ghc-quickcheck)
12933 ("ghc-hspec" ,ghc-hspec)))
12934 (arguments
12935 `(#:cabal-revision
12936 ("4" "017drxq9x56b345d8w5m8xdsi1zzs0z16pbdx8j35cd1lsnh3kf1")))
12937 (home-page "https://github.com/mrkkrp/text-metrics")
12938 (synopsis "Calculate various string metrics efficiently")
12939 (description "This library provides tools to calculate various
12940string metrics efficiently.")
12941 (license license:bsd-3)))
12942
dddbc90c
RV
12943(define-public ghc-tf-random
12944 (package
12945 (name "ghc-tf-random")
12946 (version "0.5")
534d6caa 12947 (outputs '("out" "static" "doc"))
dddbc90c
RV
12948 (source
12949 (origin
12950 (method url-fetch)
12951 (uri (string-append
12952 "https://hackage.haskell.org/package/tf-random/tf-random-"
12953 version
12954 ".tar.gz"))
12955 (sha256
12956 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
12957 (build-system haskell-build-system)
12958 (inputs
12959 `(("ghc-primitive" ,ghc-primitive)
12960 ("ghc-random" ,ghc-random)))
12961 (home-page "https://hackage.haskell.org/package/tf-random")
12962 (synopsis "High-quality splittable pseudorandom number generator")
12963 (description "This package contains an implementation of a high-quality
12964splittable pseudorandom number generator. The generator is based on a
12965cryptographic hash function built on top of the ThreeFish block cipher. See
12966the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
12967Hashing\" by Claessen, Pałka for details and the rationale of the design.")
12968 (license license:bsd-3)))
12969
12970(define-public ghc-th-abstraction
12971 (package
12972 (name "ghc-th-abstraction")
1188eabb 12973 (version "0.3.1.0")
dddbc90c
RV
12974 (source
12975 (origin
12976 (method url-fetch)
12977 (uri (string-append "https://hackage.haskell.org/package/"
12978 "th-abstraction/th-abstraction-"
12979 version ".tar.gz"))
12980 (sha256
12981 (base32
1188eabb 12982 "1f81w0gshvc816cf9qz0f19jsrzh6wpzmmy317xrgn63dv61p7jb"))))
dddbc90c
RV
12983 (build-system haskell-build-system)
12984 (home-page "https://github.com/glguy/th-abstraction")
12985 (synopsis "Nicer interface for reified information about data types")
12986 (description
12987 "This package normalizes variations in the interface for inspecting
12988datatype information via Template Haskell so that packages and support a
12989single, easier to use informational datatype while supporting many versions of
12990Template Haskell.")
12991 (license license:isc)))
12992
12993(define-public ghc-th-expand-syns
12994 (package
12995 (name "ghc-th-expand-syns")
8c766600 12996 (version "0.4.5.0")
dddbc90c
RV
12997 (source (origin
12998 (method url-fetch)
12999 (uri (string-append "https://hackage.haskell.org/package/"
13000 "th-expand-syns/th-expand-syns-"
13001 version ".tar.gz"))
13002 (sha256
13003 (base32
8c766600 13004 "1p4wfyycan8zsp9wi7npx36qwbfsbcgdyxi3ii51scf69dkrx42y"))))
dddbc90c
RV
13005 (build-system haskell-build-system)
13006 (inputs
13007 `(("ghc-syb" ,ghc-syb)))
13008 (home-page "https://hackage.haskell.org/package/th-expand-syns")
13009 (synopsis "Expands type synonyms in Template Haskell ASTs")
13010 (description
13011 "This package enables users to expand type synonyms in Template Haskell
13012@dfn{abstract syntax trees} (ASTs).")
13013 (license license:bsd-3)))
13014
13015(define-public ghc-th-lift
13016 (package
13017 (name "ghc-th-lift")
bd76b20a 13018 (version "0.8.0.1")
dddbc90c
RV
13019 (source (origin
13020 (method url-fetch)
13021 (uri (string-append "https://hackage.haskell.org/package/"
13022 "th-lift/th-lift-" version ".tar.gz"))
13023 (sha256
13024 (base32
bd76b20a 13025 "1a6qlbdg15cfr5rvl9g3blgwx4v1p0xic0pzv13zx165xbc36ld0"))))
dddbc90c
RV
13026 (build-system haskell-build-system)
13027 (inputs
13028 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
13029 (home-page "https://github.com/mboes/th-lift")
13030 (synopsis "Derive Template Haskell's Lift class for datatypes")
13031 (description
13032 "This is a Haskell library to derive Template Haskell's Lift class for
13033datatypes.")
13034 (license license:bsd-3)))
13035
13036(define-public ghc-th-lift-instances
13037 (package
13038 (name "ghc-th-lift-instances")
d3db399e 13039 (version "0.1.14")
dddbc90c
RV
13040 (source
13041 (origin
13042 (method url-fetch)
13043 (uri (string-append "https://hackage.haskell.org/package/"
13044 "th-lift-instances/th-lift-instances-"
13045 version ".tar.gz"))
13046 (sha256
13047 (base32
d3db399e 13048 "0r1b4jnvcj64wp4hfccwkl4a70n1p1q7qzyx6ax7cmd8k961jz78"))))
dddbc90c
RV
13049 (build-system haskell-build-system)
13050 (inputs
13051 `(("ghc-th-lift" ,ghc-th-lift)
13052 ("ghc-vector" ,ghc-vector)
13053 ("ghc-quickcheck" ,ghc-quickcheck)))
13054 (home-page "https://github.com/bennofs/th-lift-instances/")
13055 (synopsis "Lift instances for template-haskell for common data types.")
13056 (description "Most data types in the Haskell platform do not have Lift
13057instances. This package provides orphan instances for @code{containers},
13058@code{text}, @code{bytestring} and @code{vector}.")
13059 (license license:bsd-3)))
13060
13061(define-public ghc-th-orphans
13062 (package
13063 (name "ghc-th-orphans")
882b23e2 13064 (version "0.13.9")
dddbc90c
RV
13065 (source (origin
13066 (method url-fetch)
13067 (uri (string-append "https://hackage.haskell.org/package/"
13068 "th-orphans/th-orphans-" version ".tar.gz"))
13069 (sha256
13070 (base32
882b23e2 13071 "1xj1gssv77hdx1r3ndg8k49v3ipj3a6r7crkyvx13jrps3m6ng1z"))))
dddbc90c
RV
13072 (build-system haskell-build-system)
13073 (inputs
13074 `(("ghc-th-lift" ,ghc-th-lift)
13075 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
13076 ("ghc-th-reify-many" ,ghc-th-reify-many)
13077 ("ghc-generic-deriving" ,ghc-generic-deriving)))
13078 (native-inputs
13079 `(("ghc-hspec" ,ghc-hspec)))
13080 (home-page "https://hackage.haskell.org/package/th-orphans")
13081 (synopsis "Orphan instances for TH datatypes")
13082 (description
13083 "This package provides orphan instances for Template Haskell datatypes. In particular,
13084instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
13085and @code{Eq} instances. These instances used to live in the haskell-src-meta
13086package, and that's where the version number started.")
13087 (license license:bsd-3)))
13088
20c440ea
JS
13089(define-public ghc-these
13090 (package
13091 (name "ghc-these")
13092 (version "1.0.1")
13093 (source
13094 (origin
13095 (method url-fetch)
13096 (uri (string-append
13097 "https://hackage.haskell.org/package/these/these-"
13098 version
13099 ".tar.gz"))
13100 (sha256
13101 (base32
13102 "1k0pi65g7cm9hzdw6my6bzz2zvddkmj1qs45ymqmi316bpiixk3r"))))
13103 (build-system haskell-build-system)
13104 (inputs
13105 `(("ghc-base-compat" ,ghc-base-compat)
13106 ("ghc-hashable" ,ghc-hashable)
13107 ("ghc-aeson" ,ghc-aeson)
13108 ("ghc-unordered-containers" ,ghc-unordered-containers)
13109 ("ghc-assoc" ,ghc-assoc)
13110 ("ghc-semigroupoids" ,ghc-semigroupoids)
13111 ("ghc-quickcheck" ,ghc-quickcheck)))
13112 (arguments
13113 `(#:cabal-revision
13114 ("1"
13115 "0923r86fnmgpx0msm68aszirh2n19nn5bccgjxfh2146jw4z7w3z")))
13116 (home-page
13117 "https://github.com/isomorphism/these")
13118 (synopsis "Either-or-both data type")
13119 (description
13120 "This package provides a data type @code{These a b} which can
13121hold a value of either type or values of each type. This is usually
13122thought of as an \"inclusive or\" type (contrasting @code{Either a b} as
13123\"exclusive or\") or as an \"outer join\" type (contrasting @code{(a, b)}
13124as \"inner join\").
13125
13126@code{data These a b = This a | That b | These a b}
13127
13128Since version 1, this package was split into parts:
13129
13130@itemize
13131@item
13132https://hackage.haskell.org/package/semialign For @code{Align} and
13133@code{Zip} type-classes.
13134@item
13135https://hackage.haskell.org/package/semialign-indexed For
13136@code{SemialignWithIndex} class, providing @code{ialignWith} and
13137@code{izipWith}
13138@item
13139https://hackage.haskell.org/package/these-lens For lens combinators.
13140@item
13141http://hackage.haskell.org/package/monad-chronicle For transformers
13142variant of @code{These}.
13143@end itemize")
13144 (license license:bsd-3)))
13145
dddbc90c
RV
13146(define-public ghc-threads
13147 (package
13148 (name "ghc-threads")
13149 (version "0.5.1.6")
13150 (source
13151 (origin
13152 (method url-fetch)
13153 (uri (string-append "https://hackage.haskell.org/package/"
13154 "threads/threads-" version ".tar.gz"))
13155 (sha256
13156 (base32
13157 "0bjnjhnq3km6xqk0fn1fgyz5xdw4h6lylbwwbcmkkfzwcz0c76hk"))))
13158 (build-system haskell-build-system)
13159 (native-inputs
13160 `(("ghc-concurrent-extra" ,ghc-concurrent-extra)
13161 ("ghc-hunit" ,ghc-hunit)
13162 ("ghc-test-framework" ,ghc-test-framework)
13163 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
13164 (home-page "https://github.com/basvandijk/threads")
13165 (synopsis "Fork threads and wait for their result")
13166 (description "This package provides functions to fork threads and
13167wait for their result, whether it's an exception or a normal value.
13168Besides waiting for the termination of a single thread this package also
13169provides functions to wait for a group of threads to terminate. This
bbf8bf31
RV
13170package is similar to the @code{threadmanager}, @code{async} and
13171@code{spawn} packages. The advantages of this package are:
13172
dddbc90c
RV
13173@itemize
13174@item Simpler API.
13175@item More efficient in both space and time.
13176@item No space-leak when forking a large number of threads.
13177@item Correct handling of asynchronous exceptions.
13178@item GHC specific functionality like @code{forkOn} and
13179@code{forkIOWithUnmask}.
13180@end itemize")
13181 (license license:bsd-3)))
13182
13183(define-public ghc-th-reify-many
13184 (package
13185 (name "ghc-th-reify-many")
32d4a6ae 13186 (version "0.1.9")
dddbc90c
RV
13187 (source (origin
13188 (method url-fetch)
13189 (uri (string-append "https://hackage.haskell.org/package/"
13190 "th-reify-many/th-reify-many-"
13191 version ".tar.gz"))
13192 (sha256
13193 (base32
32d4a6ae 13194 "0hxf56filzqnyrc8q7766vai80y6cgrrbrczx6n93caskl1dv2gq"))))
dddbc90c
RV
13195 (build-system haskell-build-system)
13196 (inputs
13197 `(("ghc-safe" ,ghc-safe)
13198 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
13199 (home-page "https://github.com/mgsloan/th-reify-many")
13200 (synopsis "Recurseively reify template haskell datatype info")
13201 (description
13202 "th-reify-many provides functions for recursively reifying top level
13203declarations. The main intended use case is for enumerating the names of
13204datatypes reachable from an initial datatype, and passing these names to some
13205function which generates instances.")
13206 (license license:bsd-3)))
13207
75cfc9a2
TS
13208(define-public ghc-time-compat
13209 (package
13210 (name "ghc-time-compat")
13211 (version "1.9.2.2")
13212 (source
13213 (origin
13214 (method url-fetch)
13215 (uri (string-append "https://hackage.haskell.org/package/"
13216 "time-compat/time-compat-" version ".tar.gz"))
13217 (sha256
13218 (base32
13219 "05va0rqs759vbridbcl6hksp967j9anjvys8vx72fnfkhlrn2s52"))))
13220 (build-system haskell-build-system)
13221 (inputs
13222 `(("ghc-base-orphans" ,ghc-base-orphans)))
13223 (native-inputs
13224 `(("ghc-hunit" ,ghc-hunit)
13225 ("ghc-base-compat" ,ghc-base-compat)
13226 ("ghc-quickcheck" ,ghc-quickcheck)
13227 ("ghc-tagged" ,ghc-tagged)
13228 ("ghc-tasty" ,ghc-tasty)
13229 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13230 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13231 (arguments
13232 `(#:cabal-revision
13233 ("1" "0k8ph4sydaiqp8dav4if6hpiaq8h1xsr93khmdr7a1mmfwdxr64r")))
13234 (home-page "https://github.com/phadej/time-compat")
13235 (synopsis "Compatibility package for time")
a8d73e69 13236 (description "This package tries to compat as many @code{time}
75cfc9a2
TS
13237features as possible.")
13238 (license license:bsd-3)))
13239
dddbc90c
RV
13240(define-public ghc-time-locale-compat
13241 (package
13242 (name "ghc-time-locale-compat")
13243 (version "0.1.1.5")
13244 (source
13245 (origin
13246 (method url-fetch)
13247 (uri (string-append "https://hackage.haskell.org/package/"
13248 "time-locale-compat/time-locale-compat-"
13249 version ".tar.gz"))
13250 (sha256
13251 (base32
13252 "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7"))))
13253 (build-system haskell-build-system)
13254 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
13255 (home-page "https://github.com/khibino/haskell-time-locale-compat")
13256 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
13257 (description "This package contains a wrapped name module for
13258@code{TimeLocale}.")
13259 (license license:bsd-3)))
13260
c022a4d4
TS
13261(define-public ghc-time-manager
13262 (package
13263 (name "ghc-time-manager")
13264 (version "0.0.0")
13265 (source
13266 (origin
13267 (method url-fetch)
13268 (uri (string-append "https://hackage.haskell.org/package/"
13269 "time-manager/time-manager-" version ".tar.gz"))
13270 (sha256
13271 (base32
13272 "1nzwj0fxz370ks6vr1sylcidx33rnqq45y3q9yv9n4dj43nid9lh"))))
13273 (build-system haskell-build-system)
13274 (inputs
13275 `(("ghc-auto-update" ,ghc-auto-update)))
13276 (home-page "https://github.com/yesodweb/wai")
13277 (synopsis "Scalable timer")
13278 (description "This library contains scalable timer functions provided by a
13279timer manager.")
13280 (license license:expat)))
13281
7bbfa392
JS
13282(define-public ghc-timeit
13283 (package
13284 (name "ghc-timeit")
13285 (version "2.0")
13286 (source
13287 (origin
13288 (method url-fetch)
13289 (uri
13290 (string-append
13291 "https://hackage.haskell.org/package/timeit/timeit-"
13292 version ".tar.gz"))
13293 (sha256
13294 (base32
13295 "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1"))))
13296 (build-system haskell-build-system)
13297 (home-page "https://github.com/merijn/timeit")
13298 (synopsis "Time monadic computations with an IO base")
13299 (description "This package provides a simple wrapper to show the
13300used CPU time of monadic computation with an IO base.")
13301 (license license:bsd-3)))
13302
2ed8bd2d
JS
13303(define-public ghc-timezone-series
13304 (package
13305 (name "ghc-timezone-series")
13306 (version "0.1.9")
13307 (source
13308 (origin
13309 (method url-fetch)
13310 (uri
13311 (string-append
13312 "mirror://hackage/package/timezone-series/timezone-series-"
13313 version ".tar.gz"))
13314 (sha256
13315 (base32
13316 "1blwgnyzqn917rgqkl4dncv9whv3xmk0lav040qq0214vksmvlz5"))))
13317 (build-system haskell-build-system)
13318 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
13319 (synopsis "Enhanced timezone handling for Time")
13320 (description
13321 "This package endows @code{Data.Time}, from the time package, with several
13322data types and functions for enhanced processing of timezones. For one way to
13323create timezone series, see the ghc-timezone-olson package.")
13324 (license license:bsd-3)))
13325
ff0f5786
JS
13326(define-public ghc-timezone-olson
13327 (package
13328 (name "ghc-timezone-olson")
13329 (version "0.1.9")
13330 (source
13331 (origin
13332 (method url-fetch)
13333 (uri
13334 (string-append
13335 "mirror://hackage/package/timezone-olson/timezone-olson-"
13336 version ".tar.gz"))
13337 (sha256
13338 (base32
13339 "05abywx1nrcaz0nqzfy4zw62bc5qd7pdfnjvv4drxkwv084ha8rj"))))
13340 (build-system haskell-build-system)
13341 (inputs
13342 `(("ghc-timezone-series" ,ghc-timezone-series)
13343 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)))
13344 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
13345 (synopsis "Parser and renderer for binary Olson timezone files")
13346 (description
13347 "A parser and renderer for binary Olson timezone files whose format
13348is specified by the tzfile(5) man page on Unix-like systems. For more
13349information about this format, see
13350@url{http://www.iana.org/time-zones/repository/tz-link.html}. Functions
13351are provided for converting the parsed data into @code{TimeZoneSeries}
13352objects from the timezone-series package.")
13353 (license license:bsd-3)))
13354
dddbc90c
RV
13355(define-public ghc-tldr
13356 (package
13357 (name "ghc-tldr")
871ceb31 13358 (version "0.4.0.2")
dddbc90c
RV
13359 (source
13360 (origin
13361 (method url-fetch)
13362 (uri (string-append
13363 "https://hackage.haskell.org/package/tldr/tldr-"
13364 version
13365 ".tar.gz"))
13366 (sha256
13367 (base32
871ceb31 13368 "1zy9yyg7bxiyz1prkvrscggsb9p0f8y0nqxxxzlgzvnh2nmqf8f2"))))
dddbc90c
RV
13369 (build-system haskell-build-system)
13370 (inputs
13371 `(("ghc-cmark" ,ghc-cmark)
13372 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
13373 ("ghc-typed-process" ,ghc-typed-process)
13374 ("ghc-semigroups" ,ghc-semigroups)))
13375 (native-inputs
13376 `(("ghc-tasty" ,ghc-tasty)
13377 ("ghc-tasty-golden" ,ghc-tasty-golden)))
13378 (home-page "https://github.com/psibi/tldr-hs#readme")
13379 (synopsis "Haskell tldr client")
13380 (description "This package provides the @command{tldr} command and a
13381Haskell client library allowing users to update and view @code{tldr} pages
13382from a shell. The @code{tldr} pages are a community effort to simplify the
13383man pages with practical examples.")
13384 (license license:bsd-3)))
13385
460e4e42
JS
13386(define-public ghc-transformers
13387 (package
13388 (name "ghc-transformers")
13389 (version "0.5.6.2")
13390 (source
13391 (origin
13392 (method url-fetch)
13393 (uri (string-append
13394 "mirror://hackage/package/transformers/transformers-"
13395 version
13396 ".tar.gz"))
13397 (sha256
13398 (base32
13399 "0v66j5k0xqk51pmca55wq192qyw2p43s2mgxlz4f95q2c1fpjs5n"))))
13400 (build-system haskell-build-system)
13401 (home-page
13402 "http://hackage.haskell.org/package/transformers")
13403 (synopsis "Concrete functor and monad transformers")
13404 (description
13405 "Transformers provides functor and monad transformers, inspired by the
13406paper \"Functional Programming with Overloading and Higher-Order
13407Polymorphism\", by Mark P Jones, in Advanced School of Functional Programming,
134081995 @url{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html}.
13409
13410This package contains:
13411@itemize
13412@item the monad transformer class (in @code{Control.Monad.Trans.Class})
13413@item concrete functor and monad transformers, each with associated operations
13414and functions to lift operations associated with other transformers.
13415@end itemize
13416
13417This package can be used on its own in portable Haskell code, in which case
13418operations need to be manually lifted through transformer stacks (see
13419@code{Control.Monad.Trans.Class} for some examples). Alternatively, it can be
13420used with the non-portable monad classes in the mtl or monads-tf packages,
13421which automatically lift operations introduced by monad transformers through
13422other transformers.")
13423 (license license:bsd-3)))
13424
dddbc90c
RV
13425(define-public ghc-transformers-base
13426 (package
13427 (name "ghc-transformers-base")
13428 (version "0.4.5.2")
13429 (source
13430 (origin
13431 (method url-fetch)
13432 (uri (string-append
13433 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
13434 version
13435 ".tar.gz"))
13436 (sha256
13437 (base32
13438 "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h"))))
13439 (build-system haskell-build-system)
13440 (inputs
13441 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
13442 (home-page
13443 "https://hackage.haskell.org/package/transformers-compat")
13444 (synopsis
13445 "Backported transformer library")
13446 (description
13447 "Backported versions of types that were added to transformers in
13448transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
13449compatibility to run on old versions of the platform.")
13450 (license license:bsd-3)))
13451
13452(define-public ghc-transformers-compat
13453 (package
13454 (name "ghc-transformers-compat")
1c9c4d58 13455 (version "0.6.5")
dddbc90c
RV
13456 (source
13457 (origin
13458 (method url-fetch)
13459 (uri (string-append
13460 "https://hackage.haskell.org/package/transformers-compat"
13461 "/transformers-compat-" version ".tar.gz"))
13462 (sha256
13463 (base32
1c9c4d58 13464 "02v2fjbvcrlpvhcsssap8dy8y9pp95jykrlc5arm39sxa48wyrys"))))
dddbc90c
RV
13465 (build-system haskell-build-system)
13466 (home-page "https://github.com/ekmett/transformers-compat/")
13467 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
13468 (description "This package includes backported versions of types that were
13469added to transformers in transformers 0.3 and 0.4 for users who need strict
13470transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
13471but also need those types.")
13472 (license license:bsd-3)))
13473
13474(define-public ghc-tree-diff
13475 (package
13476 (name "ghc-tree-diff")
b4e26067 13477 (version "0.1")
dddbc90c
RV
13478 (source
13479 (origin
13480 (method url-fetch)
13481 (uri (string-append
13482 "https://hackage.haskell.org/package/tree-diff/tree-diff-"
13483 version
13484 ".tar.gz"))
13485 (sha256
13486 (base32
b4e26067 13487 "1156nbqn0pn9lp4zjsy4vv5g5wmy4zxwmbqdgvq349rydynh3ng3"))))
dddbc90c 13488 (build-system haskell-build-system)
dddbc90c
RV
13489 (inputs
13490 `(("ghc-aeson" ,ghc-aeson)
13491 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13492 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13493 ("ghc-base-compat" ,ghc-base-compat)
b4e26067 13494 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
dddbc90c 13495 ("ghc-hashable" ,ghc-hashable)
dddbc90c
RV
13496 ("ghc-parsers" ,ghc-parsers)
13497 ("ghc-quickcheck" ,ghc-quickcheck)
13498 ("ghc-scientific" ,ghc-scientific)
13499 ("ghc-tagged" ,ghc-tagged)
13500 ("ghc-unordered-containers" ,ghc-unordered-containers)
13501 ("ghc-uuid-types" ,ghc-uuid-types)
13502 ("ghc-vector" ,ghc-vector)))
13503 (native-inputs
13504 `(("ghc-base-compat" ,ghc-base-compat)
13505 ("ghc-quickcheck" ,ghc-quickcheck)
13506 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13507 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13508 ("ghc-trifecta" ,ghc-trifecta)
13509 ("ghc-tasty" ,ghc-tasty)
13510 ("ghc-tasty-golden" ,ghc-tasty-golden)
13511 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13512 (home-page "https://github.com/phadej/tree-diff")
13513 (synopsis "Compute difference between (expression) trees")
13514 (description "This Haskell library provides a function for computing
13515the difference between (expression) trees. It also provides a way to
13516compute the difference between arbitrary abstract datatypes (ADTs) using
13517@code{Generics}-derivable helpers.")
13518 (license license:bsd-3)))
13519
13520(define-public ghc-trifecta
13521 (package
13522 (name "ghc-trifecta")
13523 (version "2")
13524 (source (origin
13525 (method url-fetch)
13526 (uri (string-append
13527 "https://hackage.haskell.org/package/trifecta/"
13528 "trifecta-" version ".tar.gz"))
13529 (sha256
13530 (base32
13531 "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk"))))
13532 (build-system haskell-build-system)
5ffe8cfd
TS
13533 (arguments
13534 `(#:tests? #f ; doctest suite fails to build on i686
13535 #:cabal-revision
13536 ("4" "0xbwyvwl6f2zylk60f2akwgq03qv49113xil7b1z1s3vlwbn5aj1")))
dddbc90c
RV
13537 (inputs
13538 `(("ghc-reducers" ,ghc-reducers)
13539 ("ghc-semigroups" ,ghc-semigroups)
13540 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13541 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13542 ("ghc-blaze-builder" ,ghc-blaze-builder)
13543 ("ghc-blaze-html" ,ghc-blaze-html)
13544 ("ghc-blaze-markup" ,ghc-blaze-markup)
13545 ("ghc-charset" ,ghc-charset)
13546 ("ghc-comonad" ,ghc-comonad)
13547 ("ghc-fingertree" ,ghc-fingertree)
13548 ("ghc-hashable" ,ghc-hashable)
13549 ("ghc-lens" ,ghc-lens)
13550 ("ghc-parsers" ,ghc-parsers)
13551 ("ghc-profunctors" ,ghc-profunctors)
13552 ("ghc-unordered-containers" ,ghc-unordered-containers)
13553 ("ghc-utf8-string" ,ghc-utf8-string)))
13554 (native-inputs
13555 `(("cabal-doctest" ,cabal-doctest)
13556 ("ghc-doctest" ,ghc-doctest)
13557 ("ghc-quickcheck" ,ghc-quickcheck)))
13558 (home-page "https://github.com/ekmett/trifecta/")
13559 (synopsis "Parser combinator library with convenient diagnostics")
13560 (description "Trifecta is a modern parser combinator library for Haskell,
13561with slicing and Clang-style colored diagnostics.")
13562 (license license:bsd-3)))
13563
13564(define-public ghc-tuple-th
13565 (package
13566 (name "ghc-tuple-th")
13567 (version "0.2.5")
13568 (source
13569 (origin
13570 (method url-fetch)
13571 (uri (string-append "https://hackage.haskell.org/package/"
13572 "tuple-th-" version "/"
13573 "tuple-th-" version ".tar.gz"))
13574 (sha256
13575 (base32
13576 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
13577 (build-system haskell-build-system)
13578 (home-page "https://github.com/DanielSchuessler/tuple-th")
13579 (synopsis "Generate utility functions for tuples of statically known size
13580for Haskell")
13581 (description "This Haskell package contains Template Haskell functions for
13582generating functions similar to those in @code{Data.List} for tuples of
13583statically known size.")
13584 (license license:bsd-3)))
13585
9f776fe2
JS
13586(define-public ghc-turtle
13587 (package
13588 (name "ghc-turtle")
13589 (version "1.5.15")
13590 (source
13591 (origin
13592 (method url-fetch)
13593 (uri (string-append
13594 "mirror://hackage/package/turtle/turtle-"
13595 version
13596 ".tar.gz"))
13597 (sha256
13598 (base32
13599 "0yckgsc2a4g5x867gni80ldp226bsnhncfbil4ql6v2zwm4r8p7f"))))
13600 (build-system haskell-build-system)
13601 (inputs
13602 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13603 ("ghc-async" ,ghc-async)
13604 ("ghc-clock" ,ghc-clock)
13605 ("ghc-exceptions" ,ghc-exceptions)
13606 ("ghc-foldl" ,ghc-foldl)
13607 ("ghc-hostname" ,ghc-hostname)
13608 ("ghc-managed" ,ghc-managed)
13609 ("ghc-semigroups" ,ghc-semigroups)
13610 ("ghc-system-filepath" ,ghc-system-filepath)
13611 ("ghc-system-fileio" ,ghc-system-fileio)
13612 ("ghc-streaming-commons" ,ghc-streaming-commons)
13613 ("ghc-temporary" ,ghc-temporary)
13614 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
13615 ("ghc-optional-args" ,ghc-optional-args)
13616 ("ghc-unix-compat" ,ghc-unix-compat)))
13617 (native-inputs
13618 `(("ghc-doctest" ,ghc-doctest)
13619 ("ghc-fail" ,ghc-fail)))
13620 (arguments
13621 `(#:cabal-revision
13622 ("1" "02q1rv7zx31xz9wnmcqwd4w3iw7623p07iyi21zr0cqlignic5pg")))
13623 (home-page
13624 "http://hackage.haskell.org/package/turtle")
13625 (synopsis "Shell programming, Haskell-style")
13626 (description
13627 "Turtle is a reimplementation of the Unix command line environment in
13628Haskell so that you can use Haskell as both a shell and a scripting
13629language. Features include:
13630
13631@itemize
13632@item Batteries included: Command an extended suite of predefined utilities.
13633@item Interoperability: You can still run external shell commands.
13634@item Portability: Works on Windows, OS X, and Linux.
13635@item Exception safety: Safely acquire and release resources.
13636@item Streaming: Transform or fold command output in constant space.
13637@item Patterns: Use typed regular expressions that can parse structured values.
13638@item Formatting: Type-safe printf-style text formatting.
13639@item Modern: Supports text and system-filepath.
13640@end itemize
13641
13642Read \"Turtle.Tutorial\" for a detailed tutorial or \"Turtle.Prelude\" for a
13643quick-start guide. Turtle is designed to be beginner-friendly, but as a
13644result lacks certain features, like tracing commands. If you feel comfortable
13645using turtle then you should also check out the Shelly library which provides
13646similar functionality.")
13647 (license license:bsd-3)))
13648
dddbc90c
RV
13649(define-public ghc-typed-process
13650 (package
13651 (name "ghc-typed-process")
72fb84a5 13652 (version "0.2.6.0")
dddbc90c
RV
13653 (source
13654 (origin
13655 (method url-fetch)
13656 (uri (string-append "https://hackage.haskell.org/package/"
13657 "typed-process/typed-process-"
13658 version ".tar.gz"))
13659 (sha256
13660 (base32
72fb84a5 13661 "1cf2pfym8zdxvvy7xv72ixj7wy3rjrdss6f57k1ysgs66cgsi8ii"))))
dddbc90c
RV
13662 (build-system haskell-build-system)
13663 (inputs
72fb84a5
TS
13664 `(("ghc-async" ,ghc-async)
13665 ("ghc-unliftio-core" ,ghc-unliftio-core)))
dddbc90c
RV
13666 (native-inputs
13667 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
13668 ("ghc-hspec" ,ghc-hspec)
13669 ("hspec-discover" ,hspec-discover)
13670 ("ghc-temporary" ,ghc-temporary)))
13671 (home-page "https://haskell-lang.org/library/typed-process")
13672 (synopsis "Run external processes with strong typing of streams")
13673 (description
13674 "This library provides the ability to launch and interact with external
13675processes. It wraps around the @code{process} library, and intends to improve
13676upon it.")
13677 (license license:expat)))
13678
d392f803
AG
13679(define-public ghc-unagi-chan
13680 (package
13681 (name "ghc-unagi-chan")
13682 (version "0.4.1.2")
13683 (source
13684 (origin
13685 (method url-fetch)
13686 (uri (string-append "https://hackage.haskell.org/package/unagi-chan"
13687 "/unagi-chan-" version ".tar.gz"))
13688 (sha256
13689 (base32
13690 "1lnl5n4jnjmm4chp461glcwkrrw63rjz3fvprwxcy3lkpbkrqvgn"))))
13691 (build-system haskell-build-system)
13692 (inputs
13693 `(("ghc-atomic-primops" ,ghc-atomic-primops)
13694 ("ghc-primitive" ,ghc-primitive)))
13695 (arguments
13696 `(#:tests? #f ; FIXME: Tests expect primitive 0.7
13697 #:cabal-revision
13698 ("1"
13699 "09pqi867wskwgc5lpn197f895mbn1174ydgllvcppcsmrz2b6yr6")))
3ef91e15 13700 (home-page "https://hackage.haskell.org/package/unagi-chan")
d392f803
AG
13701 (synopsis "Fast concurrent queues with a Chan-like API, and more")
13702 (description
13703 "This library provides implementations of concurrent FIFO queues (for
13704both general boxed and primitive unboxed values) that are fast, perform well
13705under contention, and offer a Chan-like interface. The library may be of
13706limited usefulness outside of x86 architectures where the fetch-and-add
13707instruction is not available.")
13708 (license license:bsd-3)))
13709
dddbc90c
RV
13710(define-public ghc-unbounded-delays
13711 (package
13712 (name "ghc-unbounded-delays")
13713 (version "0.1.1.0")
13714 (source
13715 (origin
13716 (method url-fetch)
13717 (uri (string-append
13718 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
13719 version
13720 ".tar.gz"))
13721 (sha256
13722 (base32
13723 "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa"))))
13724 (build-system haskell-build-system)
13725 (home-page "https://github.com/basvandijk/unbounded-delays")
13726 (synopsis "Unbounded thread delays and timeouts")
13727 (description "The @code{threadDelay} and @code{timeout} functions from the
13728Haskell base library use the bounded @code{Int} type for specifying the delay
13729or timeout period. This package provides alternative functions which use the
13730unbounded @code{Integer} type.")
13731 (license license:bsd-3)))
13732
13733(define-public ghc-unexceptionalio
13734 (package
13735 (name "ghc-unexceptionalio")
13736 (version "0.4.0")
13737 (source
13738 (origin
13739 (method url-fetch)
13740 (uri (string-append "https://hackage.haskell.org/package/"
13741 "unexceptionalio-" version "/" "unexceptionalio-"
13742 version ".tar.gz"))
13743 (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p"))))
13744 (build-system haskell-build-system)
13745 (home-page "https://github.com/singpolyma/unexceptionalio")
13746 (synopsis "IO without any non-error, synchronous exceptions")
13747 (description "When you've caught all the exceptions that can be
13748handled safely, this is what you're left with.")
13749 (license license:isc)))
13750
b69d4aa7
TS
13751(define-public ghc-unicode-transforms
13752 (package
13753 (name "ghc-unicode-transforms")
13754 (version "0.3.6")
13755 (source
13756 (origin
13757 (method url-fetch)
13758 (uri (string-append "https://hackage.haskell.org/package/"
13759 "unicode-transforms/unicode-transforms-"
13760 version ".tar.gz"))
13761 (sha256
13762 (base32
13763 "1akscvyssif4hki3g6hy0jmjyr8cqly1whzvzj0km2b3qh0x09l3"))))
13764 (build-system haskell-build-system)
13765 (inputs
13766 `(("ghc-bitarray" ,ghc-bitarray)))
13767 (native-inputs
13768 `(("ghc-quickcheck" ,ghc-quickcheck)
13769 ("ghc-getopt-generics" ,ghc-getopt-generics)
13770 ("ghc-split" ,ghc-split)))
13771 (home-page "https://github.com/composewell/unicode-transforms")
13772 (synopsis "Unicode normalization")
13773 (description "This library provides tools for fast Unicode 12.1.0
13774normalization in Haskell (normalization forms C, KC, D, and KD).")
13775 (license license:bsd-3)))
13776
dddbc90c
RV
13777(define-public ghc-union-find
13778 (package
13779 (name "ghc-union-find")
13780 (version "0.2")
13781 (source (origin
13782 (method url-fetch)
13783 (uri (string-append
13784 "https://hackage.haskell.org/package/union-find/union-find-"
13785 version ".tar.gz"))
13786 (sha256
13787 (base32
13788 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
13789 (build-system haskell-build-system)
13790 (home-page "https://github.com/nominolo/union-find")
13791 (synopsis "Efficient union and equivalence testing of sets")
13792 (description
13793 "The Union/Find algorithm implements these operations in (effectively)
13794constant-time:
13795@enumerate
13796@item Check whether two elements are in the same equivalence class.
13797@item Create a union of two equivalence classes.
13798@item Look up the descriptor of the equivalence class.
13799@end enumerate\n")
13800 (license license:bsd-3)))
13801
13802(define-public ghc-uniplate
13803 (package
13804 (name "ghc-uniplate")
13805 (version "1.6.12")
13806 (source
13807 (origin
13808 (method url-fetch)
13809 (uri (string-append
13810 "https://hackage.haskell.org/package/uniplate/uniplate-"
13811 version
13812 ".tar.gz"))
13813 (sha256
13814 (base32
13815 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
13816 (build-system haskell-build-system)
13817 (inputs
13818 `(("ghc-syb" ,ghc-syb)
13819 ("ghc-hashable" ,ghc-hashable)
13820 ("ghc-unordered-containers" ,ghc-unordered-containers)))
f5d88758 13821 (home-page "https://github.com/ndmitchell/uniplate")
dddbc90c
RV
13822 (synopsis "Simple, concise and fast generic operations")
13823 (description "Uniplate is a library for writing simple and concise generic
13824operations. Uniplate has similar goals to the original Scrap Your Boilerplate
13825work, but is substantially simpler and faster.")
13826 (license license:bsd-3)))
13827
13828(define-public ghc-unix-compat
13829 (package
13830 (name "ghc-unix-compat")
bc82e9f5 13831 (version "0.5.2")
dddbc90c
RV
13832 (source
13833 (origin
13834 (method url-fetch)
13835 (uri (string-append
13836 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
13837 version
13838 ".tar.gz"))
13839 (sha256
13840 (base32
bc82e9f5 13841 "1a8brv9fax76b1fymslzyghwa6ma8yijiyyhn12msl3i5x24x6k5"))))
dddbc90c
RV
13842 (build-system haskell-build-system)
13843 (home-page
13844 "https://github.com/jystic/unix-compat")
13845 (synopsis "Portable POSIX-compatibility layer")
13846 (description
13847 "This package provides portable implementations of parts of the unix
13848package. This package re-exports the unix package when available. When it
13849isn't available, portable implementations are used.")
13850 (license license:bsd-3)))
13851
13852(define-public ghc-unix-time
13853 (package
13854 (name "ghc-unix-time")
fad9cff2 13855 (version "0.4.7")
dddbc90c
RV
13856 (source
13857 (origin
13858 (method url-fetch)
13859 (uri (string-append
13860 "https://hackage.haskell.org/package/unix-time/unix-time-"
13861 version
13862 ".tar.gz"))
13863 (sha256
13864 (base32
fad9cff2 13865 "02fyh298lm8jsg52i3z0ikazwz477ljqjmhnqr2d88grmn5ky8qr"))))
dddbc90c
RV
13866 (build-system haskell-build-system)
13867 (arguments
13868 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
13869 ; is weird, that should be provided by GHC 7.10.2.
13870 (inputs
13871 `(("ghc-old-time" ,ghc-old-time)
13872 ("ghc-old-locale" ,ghc-old-locale)))
13873 (home-page "https://hackage.haskell.org/package/unix-time")
13874 (synopsis "Unix time parser/formatter and utilities")
13875 (description "This library provides fast parsing and formatting utilities
13876for Unix time in Haskell.")
13877 (license license:bsd-3)))
13878
13879(define-public ghc-unliftio
13880 (package
13881 (name "ghc-unliftio")
a4084db1 13882 (version "0.2.12")
dddbc90c
RV
13883 (source
13884 (origin
13885 (method url-fetch)
13886 (uri (string-append
13887 "https://hackage.haskell.org/package/unliftio/unliftio-"
13888 version
13889 ".tar.gz"))
13890 (sha256
13891 (base32
a4084db1 13892 "02gy1zrxgzg4xmzm8lafsf1nyr3as1q20r8ld73xg3q7rkag9acg"))))
dddbc90c
RV
13893 (build-system haskell-build-system)
13894 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
2b3466de 13895 (outputs '("out" "static" "doc"))
dddbc90c
RV
13896 (inputs
13897 `(("ghc-async" ,ghc-async)
13898 ("ghc-unliftio-core" ,ghc-unliftio-core)))
13899 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
13900 (home-page "https://github.com/fpco/unliftio")
13901 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
13902IO (batteries included)")
13903 (description "This Haskell package provides the core @code{MonadUnliftIO}
13904typeclass, a number of common instances, and a collection of common functions
13905working with it.")
13906 (license license:expat)))
13907
13908(define-public ghc-unliftio-core
13909 (package
13910 (name "ghc-unliftio-core")
2ae42618 13911 (version "0.1.2.0")
dddbc90c
RV
13912 (source
13913 (origin
13914 (method url-fetch)
13915 (uri (string-append "https://hackage.haskell.org/package/"
13916 "unliftio-core-" version "/"
13917 "unliftio-core-" version ".tar.gz"))
13918 (sha256
13919 (base32
2ae42618 13920 "0y3siyx3drkw7igs380a87h8qfbbgcyxxlcnshp698hcc4yqphr4"))))
dddbc90c
RV
13921 (build-system haskell-build-system)
13922 (arguments
13923 `(#:cabal-revision
2ae42618 13924 ("2" "0jqrjjbgicx48wzcjxs1xmih48ay79rhmrz6081dldlfxynli6vz")))
dddbc90c
RV
13925 (home-page
13926 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
13927 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
13928 (description "This Haskell package provides the core @code{MonadUnliftIO}
13929typeclass, instances for base and transformers, and basic utility
13930functions.")
13931 (license license:expat)))
13932
13933(define-public ghc-unordered-containers
13934 (package
13935 (name "ghc-unordered-containers")
ca01f8d3 13936 (version "0.2.10.0")
534d6caa 13937 (outputs '("out" "static" "doc"))
dddbc90c
RV
13938 (source
13939 (origin
13940 (method url-fetch)
13941 (uri (string-append
13942 "https://hackage.haskell.org/package/unordered-containers"
13943 "/unordered-containers-" version ".tar.gz"))
13944 (sha256
13945 (base32
ca01f8d3 13946 "0wy5hfrs880hh8hvp648bl07ws777n3kkmczzdszr7papnyigwb5"))))
dddbc90c
RV
13947 (build-system haskell-build-system)
13948 (inputs
13949 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
13950 ("ghc-hunit" ,ghc-hunit)
13951 ("ghc-quickcheck" ,ghc-quickcheck)
13952 ("ghc-test-framework" ,ghc-test-framework)
13953 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
13954 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
13955 ("ghc-hashable" ,ghc-hashable)))
13956 (home-page
13957 "https://github.com/tibbe/unordered-containers")
13958 (synopsis
13959 "Efficient hashing-based container types")
13960 (description
13961 "Efficient hashing-based container types. The containers have been
13962optimized for performance critical use, both in terms of large data quantities
13963and high speed.")
13964 (license license:bsd-3)))
13965
13966(define-public ghc-unordered-containers-bootstrap
13967 (package
13968 (inherit ghc-unordered-containers)
13969 (name "ghc-unordered-containers-bootstrap")
13970 (arguments `(#:tests? #f))
13971 (inputs
13972 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
799d8d3c 13973 (properties '((hidden? #t)))))
dddbc90c 13974
a52f4c57
JS
13975(define-public ghc-unsafe
13976 (package
13977 (name "ghc-unsafe")
13978 (version "0.0")
13979 (source
13980 (origin
13981 (method url-fetch)
13982 (uri
13983 (string-append
13984 "https://hackage.haskell.org/package/unsafe/unsafe-"
13985 version ".tar.gz"))
13986 (sha256
13987 (base32
13988 "0hc6xr1i3hkz25gdgfx1jqgpsc9mwa05bkfynp0mcfdlyz6782nz"))))
13989 (build-system haskell-build-system)
13990 (home-page "https://hackage.haskell.org/package/unsafe")
13991 (synopsis "Unified interface to unsafe functions")
13992 (description "Safe Haskell introduced the notion of safe and unsafe
13993modules. In order to make as many as possible modules ``safe'', the
13994well-known unsafe functions were moved to distinguished modules. This
13995makes it hard to write packages that work with both old and new versions
13996of GHC. This package provides a single module System.Unsafe that
13997exports the unsafe functions from the base package. It provides them in
13998a style ready for qualification, that is, you should import them by
13999@code{import qualified System.Unsafe as Unsafe}.")
14000 (license license:bsd-3)))
14001
dddbc90c
RV
14002(define-public ghc-uri-bytestring
14003 (package
14004 (name "ghc-uri-bytestring")
d35ffd39 14005 (version "0.3.2.2")
dddbc90c
RV
14006 (source
14007 (origin
14008 (method url-fetch)
14009 (uri (string-append "https://hackage.haskell.org/package/"
14010 "uri-bytestring-" version "/"
14011 "uri-bytestring-" version ".tar.gz"))
14012 (sha256
14013 (base32
d35ffd39 14014 "0spzv3mwlpxiamd7347sxwcy2xri16ak1y7p1v4fisnvq4jprm67"))))
dddbc90c
RV
14015 (build-system haskell-build-system)
14016 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
dddbc90c
RV
14017 ("ghc-blaze-builder" ,ghc-blaze-builder)
14018 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
d35ffd39 14019 (native-inputs `(("ghc-hunit" ,ghc-hunit)
dddbc90c
RV
14020 ("ghc-tasty" ,ghc-tasty)
14021 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
d35ffd39
TS
14022 ("ghc-hedgehog" ,ghc-hedgehog)
14023 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
dddbc90c 14024 ("ghc-base-compat" ,ghc-base-compat)
dddbc90c 14025 ("ghc-semigroups" ,ghc-semigroups)
d35ffd39 14026 ("ghc-safe" ,ghc-safe)))
dddbc90c
RV
14027 (home-page "https://github.com/Soostone/uri-bytestring")
14028 (synopsis "Haskell URI parsing as ByteStrings")
14029 (description "This Haskell package aims to be an RFC3986 compliant URI
14030parser that uses ByteStrings for parsing and representing the URI data.")
14031 (license license:bsd-3)))
14032
d7ad0823
JS
14033(define-public ghc-utf8-light
14034 (package
14035 (name "ghc-utf8-light")
14036 (version "0.4.2")
14037 (source
14038 (origin
14039 (method url-fetch)
14040 (uri (string-append
14041 "mirror://hackage/package/utf8-light/utf8-light-"
14042 version
14043 ".tar.gz"))
14044 (sha256
14045 (base32
14046 "0rwyc5z331yfnm4hpx0sph6i1zvkd1z10vvglhnp0vc9wy644k0q"))))
14047 (build-system haskell-build-system)
14048 (home-page
14049 "http://hackage.haskell.org/package/utf8-light")
14050 (synopsis "Lightweight unicode support for Haskell")
14051 (description
14052 "This package profides a class for encoding and decoding UTF8 strings
14053with instances for several common types. It also includes several functions
14054for working with UTF8. It aims to be lightweight, depending only on Base and
14055including only one module.")
14056 (license license:bsd-3)))
14057
dddbc90c
RV
14058(define-public ghc-utf8-string
14059 (package
14060 (name "ghc-utf8-string")
14061 (version "1.0.1.1")
14062 (source
14063 (origin
14064 (method url-fetch)
14065 (uri (string-append
14066 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
14067 version
14068 ".tar.gz"))
14069 (sha256
14070 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
14071 (build-system haskell-build-system)
14072 (arguments
14073 `(#:cabal-revision
14074 ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38")))
14075 (home-page "https://github.com/glguy/utf8-string/")
14076 (synopsis "Support for reading and writing UTF8 Strings")
14077 (description
14078 "A UTF8 layer for Strings. The utf8-string package provides operations
14079for encoding UTF8 strings to Word8 lists and back, and for reading and writing
14080UTF8 without truncation.")
14081 (license license:bsd-3)))
14082
14083(define-public ghc-utility-ht
14084 (package
14085 (name "ghc-utility-ht")
14086 (version "0.0.14")
14087 (home-page "https://hackage.haskell.org/package/utility-ht")
14088 (source
14089 (origin
14090 (method url-fetch)
14091 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
14092 (sha256
14093 (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9"))))
14094 (build-system haskell-build-system)
14095 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
14096 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
14097 (description "This package includes Hakell modules providing various
14098helper functions for Lists, Maybes, Tuples, Functions.")
14099 (license license:bsd-3)))
14100
14101(define-public ghc-uuid
14102 (package
14103 (name "ghc-uuid")
14104 (version "1.3.13")
14105 (source
14106 (origin
14107 (method url-fetch)
14108 (uri (string-append "https://hackage.haskell.org/package/"
14109 "uuid-" version "/"
14110 "uuid-" version ".tar.gz"))
14111 (sha256
14112 (base32
14113 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
14114 (build-system haskell-build-system)
14115 (arguments
14116 `(#:cabal-revision
14117 ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
14118 #:phases
14119 (modify-phases %standard-phases
14120 (add-before 'configure 'strip-test-framework-constraints
14121 (lambda _
14122 (substitute* "uuid.cabal"
14123 (("HUnit >= 1\\.2 && < 1\\.4") "HUnit")
14124 (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck")
14125 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
14126 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
14127 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
14128 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
14129 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
14130 ("ghc-entropy" ,ghc-entropy)
14131 ("ghc-network-info" ,ghc-network-info)
14132 ("ghc-random" ,ghc-random)
14133 ("ghc-uuid-types" ,ghc-uuid-types)))
14134 (native-inputs `(("ghc-hunit" ,ghc-hunit)
14135 ("ghc-quickcheck" ,ghc-quickcheck)
14136 ("ghc-tasty" ,ghc-tasty)
14137 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14138 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14139 (home-page "https://github.com/hvr/uuid")
14140 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
14141 (description "This Haskell library provides utilities creating, comparing,
14142parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
14143 (license license:bsd-3)))
14144
14145(define-public ghc-uuid-types
14146 (package
14147 (name "ghc-uuid-types")
14148 (version "1.0.3")
14149 (source
14150 (origin
14151 (method url-fetch)
14152 (uri (string-append "https://hackage.haskell.org/package/"
14153 "uuid-types-" version "/"
14154 "uuid-types-" version ".tar.gz"))
14155 (sha256
14156 (base32
14157 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
14158 (build-system haskell-build-system)
14159 (arguments
14160 `(#:phases
14161 (modify-phases %standard-phases
14162 (add-before 'configure 'strip-test-framework-constraints
14163 (lambda _
14164 (substitute* "uuid-types.cabal"
14165 (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
14166 (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
14167 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
14168 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
14169 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
14170 (inputs `(("ghc-hashable" ,ghc-hashable)
14171 ("ghc-random" ,ghc-random)))
14172 (native-inputs `(("ghc-hunit" ,ghc-hunit)
14173 ("ghc-quickcheck" ,ghc-quickcheck)
14174 ("ghc-tasty" ,ghc-tasty)
14175 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14176 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14177 (home-page "https://github.com/hvr/uuid")
14178 (synopsis "Haskell type definitions for UUIDs")
14179 (description "This Haskell library contains type definitions for
14180@dfn{Universally Unique Identifiers} or
14181@uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
14182functions.")
14183 (license license:bsd-3)))
14184
14185(define-public ghc-validation
14186 (package
14187 (name "ghc-validation")
08397fde 14188 (version "1.1")
dddbc90c
RV
14189 (source
14190 (origin
14191 (method url-fetch)
14192 (uri (string-append
14193 "mirror://hackage/package/validation/validation-"
14194 version
14195 ".tar.gz"))
14196 (sha256
14197 (base32
08397fde 14198 "1acj7mh3581ks405xswxw6667z7y1y0slisg6jvp6chc191ji9l5"))))
dddbc90c
RV
14199 (build-system haskell-build-system)
14200 (arguments
14201 `(#:cabal-revision
08397fde 14202 ("1" "1rrjg9z399k6pb55nv85mlr5bkmdqbjwkvl1cy7ydccdx6ks4syp")))
dddbc90c
RV
14203 (inputs
14204 `(("ghc-semigroups" ,ghc-semigroups)
14205 ("ghc-semigroupoids" ,ghc-semigroupoids)
14206 ("ghc-bifunctors" ,ghc-bifunctors)
14207 ("ghc-lens" ,ghc-lens)))
14208 (native-inputs
14209 `(("ghc-hedgehog" ,ghc-hedgehog)
14210 ("ghc-hunit" ,ghc-hunit)))
14211 (home-page "https://github.com/qfpl/validation")
14212 (synopsis
14213 "Data-type like Either but with an accumulating Applicative")
14214 (description
14215 "A data-type like Either but with differing properties and type-class
14216instances.
14217
14218Library support is provided for this different representation, including
14219@code{lens}-related functions for converting between each and abstracting over
14220their similarities.
14221
14222The @code{Validation} data type is isomorphic to @code{Either}, but has an
14223instance of @code{Applicative} that accumulates on the error side. That is to
14224say, if two (or more) errors are encountered, they are appended using a
14225@{Semigroup} operation.
14226
14227As a consequence of this @code{Applicative} instance, there is no
14228corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an
14229example of, \"An applicative functor that is not a monad.\"")
14230 (license license:bsd-3)))
14231
14232(define-public ghc-validity
14233 (package
14234 (name "ghc-validity")
3f1ba75d 14235 (version "0.9.0.2")
dddbc90c
RV
14236 (source
14237 (origin
14238 (method url-fetch)
14239 (uri (string-append
14240 "https://hackage.haskell.org/package/validity/validity-"
14241 version
14242 ".tar.gz"))
14243 (sha256
14244 (base32
3f1ba75d 14245 "1aa93lp1pqwv7vhx19nazlig8qhbp3psblbz360s5lii3s5rli2v"))))
dddbc90c
RV
14246 (build-system haskell-build-system)
14247 (native-inputs `(("ghc-hspec" ,ghc-hspec)
14248 ("hspec-discover" ,hspec-discover)))
14249 (home-page
14250 "https://github.com/NorfairKing/validity")
14251 (synopsis "Validity typeclass")
14252 (description
14253 "Values of custom types usually have invariants imposed upon them. This
14254package provides the @code{Validity} type class, which makes these invariants
14255explicit by providing a function to check whether the invariants hold.")
14256 (license license:expat)))
14257
14258(define-public ghc-vault
14259 (package
14260 (name "ghc-vault")
b40a436e 14261 (version "0.3.1.3")
dddbc90c
RV
14262 (source
14263 (origin
14264 (method url-fetch)
14265 (uri (string-append
14266 "https://hackage.haskell.org/package/vault/vault-"
14267 version
14268 ".tar.gz"))
14269 (sha256
14270 (base32
b40a436e 14271 "0vdm472vn734xa27jjm2mjacl37mxiqaaahvm4hzqjgyh4cqq377"))))
dddbc90c
RV
14272 (build-system haskell-build-system)
14273 (inputs
14274 `(("ghc-unordered-containers" ,ghc-unordered-containers)
14275 ("ghc-hashable" ,ghc-hashable)
b40a436e 14276 ("ghc-semigroups" ,ghc-semigroups)))
dddbc90c
RV
14277 (home-page
14278 "https://github.com/HeinrichApfelmus/vault")
14279 (synopsis "Persistent store for arbitrary values")
14280 (description "This package provides vaults for Haskell. A vault is a
14281persistent store for values of arbitrary types. It's like having first-class
14282access to the storage space behind @code{IORefs}. The data structure is
14283analogous to a bank vault, where you can access different bank boxes with
14284different keys; hence the name. Also provided is a @code{locker} type,
14285representing a store for a single element.")
14286 (license license:bsd-3)))
14287
14288(define-public ghc-vector
14289 (package
14290 (name "ghc-vector")
3ad67f6b 14291 (version "0.12.0.3")
534d6caa 14292 (outputs '("out" "static" "doc"))
dddbc90c
RV
14293 (source
14294 (origin
14295 (method url-fetch)
14296 (uri (string-append
14297 "https://hackage.haskell.org/package/vector/vector-"
14298 version
14299 ".tar.gz"))
14300 (sha256
14301 (base32
3ad67f6b 14302 "1a756s4w759ji3als5alfxwlckh5zcmykfg9rll4mlr2knzvz8mq"))))
dddbc90c
RV
14303 (build-system haskell-build-system)
14304 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
14305 ;; disabled for now.
14306 (arguments
3ad67f6b 14307 `(#:tests? #f))
dddbc90c
RV
14308 (inputs
14309 `(("ghc-primitive" ,ghc-primitive)
14310 ("ghc-random" ,ghc-random)
14311 ("ghc-quickcheck" ,ghc-quickcheck)
14312 ;; ("ghc-hunit" ,ghc-hunit)
14313 ;; ("ghc-test-framework" ,ghc-test-framework)
14314 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
14315 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
14316 ))
14317 (home-page "https://github.com/haskell/vector")
14318 (synopsis "Efficient Arrays")
14319 (description "This library provides an efficient implementation of
14320Int-indexed arrays (both mutable and immutable), with a powerful loop
14321optimisation framework.")
14322 (license license:bsd-3)))
14323
14324(define-public ghc-vector-algorithms
14325 (package
14326 (name "ghc-vector-algorithms")
e71f316f 14327 (version "0.8.0.1")
dddbc90c
RV
14328 (source
14329 (origin
14330 (method url-fetch)
14331 (uri (string-append "https://hackage.haskell.org/package/"
14332 "vector-algorithms-" version "/"
14333 "vector-algorithms-" version ".tar.gz"))
14334 (sha256
14335 (base32
e71f316f 14336 "1zip8r7hh5g12xrjvhbg38z6hfxy7l6h6pl88qcqc0ygdmwdxg0m"))))
dddbc90c
RV
14337 (build-system haskell-build-system)
14338 (inputs
14339 `(("ghc-vector" ,ghc-vector)))
14340 (native-inputs
14341 `(("ghc-quickcheck" ,ghc-quickcheck)))
14342 (home-page "https://github.com/bos/math-functions")
14343 (synopsis "Algorithms for vector arrays in Haskell")
14344 (description "This Haskell library algorithms for vector arrays.")
14345 (license license:bsd-3)))
14346
14347(define-public ghc-vector-binary-instances
14348 (package
14349 (name "ghc-vector-binary-instances")
ca0701ef 14350 (version "0.2.5.1")
dddbc90c
RV
14351 (source
14352 (origin
14353 (method url-fetch)
14354 (uri (string-append
14355 "https://hackage.haskell.org/package/"
14356 "vector-binary-instances/vector-binary-instances-"
14357 version ".tar.gz"))
14358 (sha256
14359 (base32
ca0701ef 14360 "04n5cqm1v95pw1bp68l9drjkxqiy2vswxdq0fy1rqcgxisgvji9r"))))
dddbc90c 14361 (build-system haskell-build-system)
dddbc90c
RV
14362 (inputs
14363 `(("ghc-vector" ,ghc-vector)))
14364 (native-inputs
14365 `(("ghc-tasty" ,ghc-tasty)
14366 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14367 (home-page "https://github.com/bos/vector-binary-instances")
14368 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
14369 (description "This library provides instances of @code{Binary} for the
14370types defined in the @code{vector} package, making it easy to serialize
14371vectors to and from disk. We use the generic interface to vectors, so all
14372vector types are supported. Specific instances are provided for unboxed,
14373boxed and storable vectors.")
14374 (license license:bsd-3)))
14375
14376(define-public ghc-vector-builder
14377 (package
14378 (name "ghc-vector-builder")
1fc05441 14379 (version "0.3.8")
dddbc90c
RV
14380 (source
14381 (origin
14382 (method url-fetch)
14383 (uri (string-append "https://hackage.haskell.org/package/"
14384 "vector-builder-" version "/"
14385 "vector-builder-" version ".tar.gz"))
14386 (sha256
14387 (base32
1fc05441 14388 "0ww0l52p8s6gmh985adnjbvm1vrqpqbm08qdcrvxwhhcqmxgv6m3"))))
dddbc90c
RV
14389 (build-system haskell-build-system)
14390 (inputs `(("ghc-vector" ,ghc-vector)
14391 ("ghc-semigroups" ,ghc-semigroups)
14392 ("ghc-base-prelude" ,ghc-base-prelude)))
14393 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
14394 ("ghc-tasty" ,ghc-tasty)
14395 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14396 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
14397 ("ghc-hunit" ,ghc-hunit)
14398 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
14399 ("ghc-rerebase" ,ghc-rerebase)))
14400 (home-page "https://github.com/nikita-volkov/vector-builder")
14401 (synopsis "Vector builder for Haskell")
14402 (description "This Haskell package provides an API for constructing vectors.
14403It provides the composable @code{Builder} abstraction, which has instances of the
14404@code{Monoid} and @code{Semigroup} classes.
14405
14406You would first use the @code{Builder} abstraction to specify the structure of
14407the vector; then you can execute the builder to actually produce the
14408vector. ")
14409 (license license:expat)))
14410
14411(define-public ghc-vector-th-unbox
14412 (package
14413 (name "ghc-vector-th-unbox")
63056e61 14414 (version "0.2.1.7")
dddbc90c
RV
14415 (source
14416 (origin
14417 (method url-fetch)
14418 (uri (string-append "https://hackage.haskell.org/package/"
14419 "vector-th-unbox-" version "/"
14420 "vector-th-unbox-" version ".tar.gz"))
14421 (sha256
14422 (base32
63056e61 14423 "0q8dqnbv1c2gi7jjdhqj14abj1vik23ki6lq4iz2sz18yc7q69fi"))))
dddbc90c
RV
14424 (build-system haskell-build-system)
14425 (inputs
14426 `(("ghc-vector" ,ghc-vector)
14427 ("ghc-data-default" ,ghc-data-default)))
14428 (home-page "https://github.com/liyang/vector-th-unbox")
14429 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
14430 (description "This Haskell library provides a Template Haskell
14431deriver for unboxed vectors, given a pair of coercion functions to
14432and from some existing type with an Unbox instance.")
14433 (license license:bsd-3)))
14434
14435(define-public ghc-void
14436 (package
14437 (name "ghc-void")
51889121 14438 (version "0.7.3")
dddbc90c
RV
14439 (source
14440 (origin
14441 (method url-fetch)
14442 (uri (string-append
14443 "https://hackage.haskell.org/package/void/void-"
14444 version
14445 ".tar.gz"))
14446 (sha256
14447 (base32
51889121 14448 "05vk3x1r9a2pqnzfji475m5gdih2im1h7rbi2sc67p1pvj6pbbsk"))))
dddbc90c
RV
14449 (build-system haskell-build-system)
14450 (inputs
14451 `(("ghc-semigroups" ,ghc-semigroups)
14452 ("ghc-hashable" ,ghc-hashable)))
14453 (home-page "https://github.com/ekmett/void")
14454 (synopsis
14455 "Logically uninhabited data type")
14456 (description
14457 "A Haskell 98 logically uninhabited data type, used to indicate that a
14458given term should not exist.")
14459 (license license:bsd-3)))
14460
14461(define-public ghc-wave
14462 (package
14463 (name "ghc-wave")
1631a0f7 14464 (version "0.2.0")
dddbc90c
RV
14465 (source (origin
14466 (method url-fetch)
14467 (uri (string-append
14468 "https://hackage.haskell.org/package/wave/wave-"
14469 version
14470 ".tar.gz"))
14471 (sha256
14472 (base32
1631a0f7 14473 "149kgwngq3qxc7gxpkqb16j669j0wpv2f3gnvfwp58yg6m4259ki"))))
dddbc90c
RV
14474 (build-system haskell-build-system)
14475 (arguments
14476 '(#:phases
14477 (modify-phases %standard-phases
14478 (add-before 'configure 'update-constraints
14479 (lambda _
14480 (substitute* "wave.cabal"
14481 (("temporary.* < 1\\.3")
14482 "temporary >= 1.1 && < 1.4")))))))
14483 (inputs
14484 `(("ghc-cereal" ,ghc-cereal)
14485 ("ghc-data-default-class"
14486 ,ghc-data-default-class)
14487 ("ghc-quickcheck" ,ghc-quickcheck)
14488 ("ghc-temporary" ,ghc-temporary)))
14489 (native-inputs
14490 `(("hspec-discover" ,hspec-discover)
14491 ("ghc-hspec" ,ghc-hspec)))
14492 (home-page "https://github.com/mrkkrp/wave")
14493 (synopsis "Work with WAVE and RF64 files in Haskell")
14494 (description "This package allows you to work with WAVE and RF64
14495files in Haskell.")
14496 (license license:bsd-3)))
14497
14498(define-public ghc-wcwidth
14499 (package
14500 (name "ghc-wcwidth")
14501 (version "0.0.2")
14502 (source
14503 (origin
14504 (method url-fetch)
14505 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
14506 version ".tar.gz"))
14507 (sha256
14508 (base32
14509 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
14510 (build-system haskell-build-system)
14511 (inputs
14512 `(("ghc-setlocale" ,ghc-setlocale)
14513 ("ghc-utf8-string" ,ghc-utf8-string)
14514 ("ghc-attoparsec" ,ghc-attoparsec)))
14515 (home-page "https://github.com/solidsnack/wcwidth/")
14516 (synopsis "Haskell bindings to wcwidth")
14517 (description "This package provides Haskell bindings to your system's
14518native wcwidth and a command line tool to examine the widths assigned by it.
14519The command line tool can compile a width table to Haskell code that assigns
14520widths to the Char type.")
14521 (license license:bsd-3)))
14522
14523(define-public ghc-wcwidth-bootstrap
14524 (package
14525 (inherit ghc-wcwidth)
14526 (name "ghc-wcwidth-bootstrap")
14527 (inputs
14528 `(("ghc-setlocale" ,ghc-setlocale)
14529 ("ghc-utf8-string" ,ghc-utf8-string)
14530 ("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
799d8d3c 14531 (properties '((hidden? #t)))))
dddbc90c
RV
14532
14533(define-public ghc-weigh
14534 (package
14535 (name "ghc-weigh")
b6d9777f 14536 (version "0.0.14")
dddbc90c
RV
14537 (source
14538 (origin
14539 (method url-fetch)
14540 (uri (string-append "https://hackage.haskell.org/package/weigh/"
14541 "weigh-" version ".tar.gz"))
14542 (sha256
14543 (base32
b6d9777f 14544 "0l85marb5rl9nr1c0id42dnr5i9fk1jciy5h6lywhb34w3hbj61g"))))
dddbc90c
RV
14545 (build-system haskell-build-system)
14546 (inputs
14547 `(("ghc-split" ,ghc-split)
14548 ("ghc-temporary" ,ghc-temporary)))
14549 (home-page "https://github.com/fpco/weigh#readme")
14550 (synopsis "Measure allocations of a Haskell functions/values")
14551 (description "This package provides tools to measure the memory usage of a
14552Haskell value or function.")
14553 (license license:bsd-3)))
14554
14555(define-public ghc-wl-pprint
14556 (package
14557 (name "ghc-wl-pprint")
14558 (version "1.2.1")
14559 (source (origin
14560 (method url-fetch)
14561 (uri (string-append
14562 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
14563 version ".tar.gz"))
14564 (sha256
14565 (base32
14566 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
14567 (build-system haskell-build-system)
14568 (home-page "https://hackage.haskell.org/package/wl-pprint")
14569 (synopsis "Wadler/Leijen pretty printer")
14570 (description
14571 "This is a pretty printing library based on Wadler's paper @i{A Prettier
14572Printer}. This version allows the library user to declare overlapping
14573instances of the @code{Pretty} class.")
14574 (license license:bsd-3)))
14575
14576(define-public ghc-wl-pprint-annotated
14577 (package
14578 (name "ghc-wl-pprint-annotated")
14579 (version "0.1.0.1")
14580 (source
14581 (origin
14582 (method url-fetch)
14583 (uri (string-append
14584 "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-"
14585 version
14586 ".tar.gz"))
14587 (sha256
14588 (base32
14589 "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb"))))
14590 (build-system haskell-build-system)
14591 (native-inputs
14592 `(("ghc-tasty" ,ghc-tasty)
14593 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
14594 (home-page
14595 "https://github.com/minad/wl-pprint-annotated#readme")
14596 (synopsis
14597 "Wadler/Leijen pretty printer with annotation support")
14598 (description
14599 "Annotations are useful for coloring. This is a limited version of
14600@code{wl-pprint-extras} without support for point effects and without the free
14601monad. Like in @code{annotated-wl-pprint}, only annotations are supported.
14602Compared to @code{annotated-wl-pprint} this library provides a slightly
14603modernized interface.")
14604 (license license:bsd-3)))
14605
14606(define-public ghc-wl-pprint-text
14607 (package
14608 (name "ghc-wl-pprint-text")
14609 (version "1.2.0.0")
14610 (source
14611 (origin
14612 (method url-fetch)
14613 (uri (string-append
14614 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
14615 version ".tar.gz"))
14616 (sha256
14617 (base32
14618 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
14619 (build-system haskell-build-system)
14620 (inputs
14621 `(("ghc-base-compat" ,ghc-base-compat)))
14622 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
14623 (synopsis "Wadler/Leijen Pretty Printer for Text values")
14624 (description
14625 "A clone of wl-pprint for use with the text library.")
14626 (license license:bsd-3)))
14627
14628(define-public ghc-word8
14629 (package
14630 (name "ghc-word8")
14631 (version "0.1.3")
14632 (source
14633 (origin
14634 (method url-fetch)
14635 (uri (string-append
14636 "https://hackage.haskell.org/package/word8/word8-"
14637 version
14638 ".tar.gz"))
14639 (sha256
14640 (base32
14641 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
14642 (build-system haskell-build-system)
14643 (native-inputs
14644 `(("ghc-hspec" ,ghc-hspec)
14645 ("hspec-discover" ,hspec-discover)))
14646 (home-page "https://hackage.haskell.org/package/word8")
14647 (synopsis "Word8 library for Haskell")
14648 (description "Word8 library to be used with @code{Data.ByteString}.")
14649 (license license:bsd-3)))
14650
14651(define-public ghc-x11
14652 (package
14653 (name "ghc-x11")
6c4581a3 14654 (version "1.9.1")
dddbc90c
RV
14655 (source
14656 (origin
14657 (method url-fetch)
14658 (uri (string-append "https://hackage.haskell.org/package/X11/"
14659 "X11-" version ".tar.gz"))
14660 (sha256
6c4581a3 14661 (base32 "0gg6852mrlgl8zng1j84fismz7k81jr5fk92glgkscf8q6ryg0bm"))))
dddbc90c 14662 (build-system haskell-build-system)
54a5fd07
TS
14663 (arguments
14664 `(#:extra-directories
14665 ("libx11" "libxrandr" "libxinerama" "libxscrnsaver")))
dddbc90c
RV
14666 (inputs
14667 `(("libx11" ,libx11)
14668 ("libxrandr" ,libxrandr)
14669 ("libxinerama" ,libxinerama)
14670 ("libxscrnsaver" ,libxscrnsaver)
14671 ("ghc-data-default" ,ghc-data-default)))
14672 (home-page "https://github.com/haskell-pkg-janitors/X11")
14673 (synopsis "Bindings to the X11 graphics library")
14674 (description
14675 "This package provides Haskell bindings to the X11 graphics library. The
14676bindings are a direct translation of the C bindings.")
14677 (license license:bsd-3)))
14678
14679(define-public ghc-x11-xft
14680 (package
14681 (name "ghc-x11-xft")
14682 (version "0.3.1")
14683 (source
14684 (origin
14685 (method url-fetch)
14686 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
14687 "X11-xft-" version ".tar.gz"))
14688 (sha256
14689 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
54a5fd07
TS
14690 (arguments
14691 `(#:extra-directories ("libx11" "libxft" "xorgproto")))
dddbc90c
RV
14692 (inputs
14693 `(("ghc-x11" ,ghc-x11)
14694 ("ghc-utf8-string" ,ghc-utf8-string)
14695 ("libx11" ,libx11)
14696 ("libxft" ,libxft)
14697 ("xorgproto" ,xorgproto)))
14698 (native-inputs
14699 `(("pkg-config" ,pkg-config)))
14700 (build-system haskell-build-system)
14701 (home-page "https://hackage.haskell.org/package/X11-xft")
14702 (synopsis "Bindings to Xft")
14703 (description
14704 "Bindings to the Xft, X Free Type interface library, and some Xrender
14705parts.")
14706 (license license:lgpl2.1)))
14707
14708(define-public ghc-xdg-basedir
14709 (package
14710 (name "ghc-xdg-basedir")
14711 (version "0.2.2")
14712 (source
14713 (origin
14714 (method url-fetch)
14715 (uri (string-append
14716 "https://hackage.haskell.org/package/xdg-basedir/"
14717 "xdg-basedir-" version ".tar.gz"))
14718 (sha256
14719 (base32
14720 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
14721 (build-system haskell-build-system)
702a1012 14722 (home-page "https://github.com/willdonnelly/xdg-basedir")
dddbc90c
RV
14723 (synopsis "XDG Base Directory library for Haskell")
14724 (description "This package provides a library implementing the XDG Base Directory spec.")
14725 (license license:bsd-3)))
14726
14727(define-public ghc-xml
14728 (package
14729 (name "ghc-xml")
14730 (version "1.3.14")
14731 (source
14732 (origin
14733 (method url-fetch)
14734 (uri (string-append
14735 "https://hackage.haskell.org/package/xml/xml-"
14736 version
14737 ".tar.gz"))
14738 (sha256
14739 (base32
14740 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
14741 (build-system haskell-build-system)
2b62f5d0 14742 (home-page "https://github.com/GaloisInc/xml")
dddbc90c
RV
14743 (synopsis "Simple XML library for Haskell")
14744 (description "This package provides a simple XML library for Haskell.")
14745 (license license:bsd-3)))
14746
14747(define-public ghc-xml-conduit
14748 (package
14749 (name "ghc-xml-conduit")
14750 (version "1.8.0.1")
14751 (source
14752 (origin
14753 (method url-fetch)
14754 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
14755 "xml-conduit-" version ".tar.gz"))
14756 (sha256
14757 (base32
14758 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
14759 (build-system haskell-build-system)
14760 (inputs
14761 `(("ghc-conduit" ,ghc-conduit)
14762 ("ghc-conduit-extra" ,ghc-conduit-extra)
14763 ("ghc-doctest" ,ghc-doctest)
14764 ("ghc-resourcet" ,ghc-resourcet)
14765 ("ghc-xml-types" ,ghc-xml-types)
14766 ("ghc-attoparsec" ,ghc-attoparsec)
14767 ("ghc-data-default-class" ,ghc-data-default-class)
14768 ("ghc-blaze-markup" ,ghc-blaze-markup)
14769 ("ghc-blaze-html" ,ghc-blaze-html)
14770 ("ghc-monad-control" ,ghc-monad-control)
14771 ("ghc-hspec" ,ghc-hspec)
14772 ("ghc-hunit" ,ghc-hunit)))
14773 (home-page "https://github.com/snoyberg/xml")
14774 (synopsis "Utilities for dealing with XML with the conduit package")
14775 (description
14776 "This package provides pure-Haskell utilities for dealing with XML with
14777the @code{conduit} package.")
14778 (license license:expat)))
14779
14780(define-public ghc-xml-types
14781 (package
14782 (name "ghc-xml-types")
14783 (version "0.3.6")
14784 (source
14785 (origin
14786 (method url-fetch)
14787 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
14788 "xml-types-" version ".tar.gz"))
14789 (sha256
14790 (base32
14791 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
14792 (build-system haskell-build-system)
14793 (home-page "https://john-millikin.com/software/haskell-xml/")
14794 (synopsis "Basic types for representing XML")
14795 (description "This package provides basic types for representing XML
14796documents.")
14797 (license license:expat)))
14798
7f89dfc9
KM
14799(define-public ghc-xml-hamlet
14800 (package
14801 (name "ghc-xml-hamlet")
14802 (version "0.5.0.1")
14803 (source
14804 (origin
14805 (method url-fetch)
14806 (uri (string-append "https://hackage.haskell.org/package/xml-hamlet/"
14807 "xml-hamlet-" version ".tar.gz"))
14808 (sha256
14809 (base32 "0jrhcjy7ww59dafg857f2g2df1fw2jmbwcs1q379ph0pc5rxj3lj"))))
14810 (build-system haskell-build-system)
14811 (inputs
14812 `(("ghc-shakespeare" ,ghc-shakespeare)
14813 ("ghc-xml-conduit" ,ghc-xml-conduit)))
14814 (native-inputs
14815 `(("ghc-hspec" ,ghc-hspec)
14816 ("ghc-hunit" ,ghc-hunit)))
14817 (home-page "https://www.yesodweb.com/")
14818 (synopsis "Hamlet-style quasiquoter for XML content")
14819 (description "This package provides a type-safe tool for generating XML
14820code via quasi-quoting built on top of @code{ghc-shakespeare}.")
14821 (license license:bsd-3)))
14822
dddbc90c
RV
14823(define-public ghc-yaml
14824 (package
14825 (name "ghc-yaml")
b58e5b84 14826 (version "0.11.1.2")
dddbc90c
RV
14827 (source (origin
14828 (method url-fetch)
14829 (uri (string-append "https://hackage.haskell.org/package/"
14830 "yaml/yaml-" version ".tar.gz"))
14831 (sha256
14832 (base32
b58e5b84 14833 "028pz77n92l6kjgjv263h4b6yhw1iibdbf3a3dkn5qnz537xpzhc"))))
dddbc90c 14834 (build-system haskell-build-system)
dddbc90c
RV
14835 (inputs
14836 `(("ghc-conduit" ,ghc-conduit)
14837 ("ghc-resourcet" ,ghc-resourcet)
14838 ("ghc-aeson" ,ghc-aeson)
14839 ("ghc-unordered-containers" ,ghc-unordered-containers)
14840 ("ghc-vector" ,ghc-vector)
14841 ("ghc-attoparsec" ,ghc-attoparsec)
14842 ("ghc-scientific" ,ghc-scientific)
14843 ("ghc-semigroups" ,ghc-semigroups)
14844 ("ghc-temporary" ,ghc-temporary)
14845 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
b58e5b84
TS
14846 ("ghc-base-compat" ,ghc-base-compat)
14847 ("ghc-libyaml" ,ghc-libyaml)))
dddbc90c
RV
14848 (native-inputs
14849 `(("ghc-hspec" ,ghc-hspec)
14850 ("ghc-hunit" ,ghc-hunit)
14851 ("hspec-discover" ,hspec-discover)
b58e5b84
TS
14852 ("ghc-mockery" ,ghc-mockery)
14853 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)))
dddbc90c
RV
14854 (home-page "https://github.com/snoyberg/yaml/")
14855 (synopsis "Parsing and rendering YAML documents")
14856 (description
14857 "This package provides a library to parse and render YAML documents.")
14858 (license license:bsd-3)))
14859
14860(define-public ghc-zip-archive
14861 (package
14862 (name "ghc-zip-archive")
93c1fdd3 14863 (version "0.4.1")
dddbc90c
RV
14864 (source
14865 (origin
14866 (method url-fetch)
14867 (uri (string-append
14868 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
14869 version
14870 ".tar.gz"))
14871 (sha256
14872 (base32
93c1fdd3 14873 "1cdix5mnxrbs7b2kivhdydhfzgxidd9dqlw71mdw5p21cabwkmf5"))))
dddbc90c 14874 (build-system haskell-build-system)
93c1fdd3
TS
14875 (arguments
14876 `(#:phases
14877 (modify-phases %standard-phases
14878 (add-before 'check 'set-PATH-for-tests
14879 (lambda* (#:key inputs #:allow-other-keys)
14880 (let ((unzip (assoc-ref inputs "unzip"))
14881 (which (assoc-ref inputs "which"))
14882 (path (getenv "PATH")))
14883 (setenv "PATH" (string-append unzip "/bin:" which "/bin:" path))
14884 #t))))))
dddbc90c
RV
14885 (inputs
14886 `(("ghc-digest" ,ghc-digest)
14887 ("ghc-temporary" ,ghc-temporary)
14888 ("ghc-zlib" ,ghc-zlib)))
14889 (native-inputs
14890 `(("ghc-hunit" ,ghc-hunit)
93c1fdd3
TS
14891 ("unzip" ,unzip)
14892 ("which" ,which)))
dddbc90c
RV
14893 (home-page "https://hackage.haskell.org/package/zip-archive")
14894 (synopsis "Zip archive library for Haskell")
14895 (description "The zip-archive library provides functions for creating,
14896modifying, and extracting files from zip archives in Haskell.")
14897 (license license:bsd-3)))
14898
14899(define-public ghc-zlib
14900 (package
14901 (name "ghc-zlib")
bf12089a 14902 (version "0.6.2.1")
534d6caa 14903 (outputs '("out" "static" "doc"))
dddbc90c
RV
14904 (source
14905 (origin
14906 (method url-fetch)
14907 (uri (string-append
14908 "https://hackage.haskell.org/package/zlib/zlib-"
14909 version
14910 ".tar.gz"))
14911 (sha256
14912 (base32
bf12089a 14913 "1l11jraslcrp9d4wnhwfyhwk4fsiq1aq8i6vj81vcq1m2zzi1y7h"))))
dddbc90c
RV
14914 (build-system haskell-build-system)
14915 (arguments
54a5fd07
TS
14916 `(#:extra-directories ("zlib")
14917 #:phases
dddbc90c
RV
14918 (modify-phases %standard-phases
14919 (add-before 'configure 'strip-test-framework-constraints
14920 (lambda _
14921 (substitute* "zlib.cabal"
14922 (("tasty >= 0\\.8 && < 0\\.12") "tasty")
14923 (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit")
14924 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
14925 (inputs `(("zlib" ,zlib)))
14926 (native-inputs
14927 `(("ghc-quickcheck" ,ghc-quickcheck)
14928 ("ghc-tasty" ,ghc-tasty)
14929 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14930 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14931 (home-page "https://hackage.haskell.org/package/zlib")
14932 (synopsis
14933 "Compression and decompression in the gzip and zlib formats")
14934 (description
14935 "This package provides a pure interface for compressing and decompressing
14936streams of data represented as lazy @code{ByteString}s. It uses the zlib C
14937library so it has high performance. It supports the @code{zlib}, @code{gzip}
14938and @code{raw} compression formats. It provides a convenient high level API
14939suitable for most tasks and for the few cases where more control is needed it
14940provides access to the full zlib feature set.")
bbf8bf31 14941 (license license:bsd-3)))
14e41996
RV
14942
14943(define-public ghc-zlib-bindings
14944 (package
14945 (name "ghc-zlib-bindings")
14946 (version "0.1.1.5")
14947 (source
14948 (origin
14949 (method url-fetch)
14950 (uri (string-append "https://hackage.haskell.org/package/"
14951 "zlib-bindings/zlib-bindings-" version ".tar.gz"))
14952 (sha256
14953 (base32
14954 "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8"))))
14955 (build-system haskell-build-system)
14956 (inputs
14957 `(("ghc-zlib" ,ghc-zlib)))
14958 (native-inputs
14959 `(("ghc-hspec" ,ghc-hspec)
14960 ("ghc-quickcheck" ,ghc-quickcheck)))
14961 (arguments
14962 `(#:cabal-revision
14963 ("2" "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc")))
14964 (home-page "https://github.com/snapframework/zlib-bindings")
14965 (synopsis "Low-level bindings to the @code{zlib} package")
14966 (description "This package provides low-level bindings to the
14967@code{zlib} package.")
14968 (license license:bsd-3)))
8428e92c
TS
14969
14970(define-public ghc-zstd
14971 (package
14972 (name "ghc-zstd")
14973 (version "0.1.1.2")
14974 (source
14975 (origin
14976 (method url-fetch)
14977 (uri (string-append "https://hackage.haskell.org/package/"
14978 "zstd/zstd-" version ".tar.gz"))
14979 (sha256
14980 (base32
14981 "147s496zvw13akxqzg65mgfvk3bvhrcilxgf8n786prxg5cm4jz2"))))
14982 (build-system haskell-build-system)
14983 (native-inputs
14984 `(("ghc-quickcheck" ,ghc-quickcheck)
14985 ("ghc-test-framework" ,ghc-test-framework)
14986 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
14987 (home-page "https://github.com/luispedro/hs-zstd")
14988 (synopsis "Haskell bindings to the Zstandard compression algorithm")
14989 (description "This library provides Haskell bindings to the
14990Zstandard compression algorithm, a fast lossless compression algorithm
14991targeting real-time compression scenarios at zlib-level and better
14992compression ratios.")
14993 (license license:bsd-3)))