gnu: hledger: Downgrade to 1.14.2.
[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>
c00d001d 30;;; Copyright © 2020 Christopher Lemmer Webber <cwebber@dustycloud.org>
6b34d01c
RV
31;;;
32;;; This file is part of GNU Guix.
33;;;
34;;; GNU Guix is free software; you can redistribute it and/or modify it
35;;; under the terms of the GNU General Public License as published by
36;;; the Free Software Foundation; either version 3 of the License, or (at
37;;; your option) any later version.
38;;;
39;;; GNU Guix is distributed in the hope that it will be useful, but
40;;; WITHOUT ANY WARRANTY; without even the implied warranty of
41;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42;;; GNU General Public License for more details.
43;;;
44;;; You should have received a copy of the GNU General Public License
45;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
46
47(define-module (gnu packages haskell-xyz)
48 #:use-module (gnu packages)
dddbc90c
RV
49 #:use-module (gnu packages base)
50 #:use-module (gnu packages compression)
51 #:use-module (gnu packages emacs)
dddbc90c
RV
52 #:use-module (gnu packages gl)
53 #:use-module (gnu packages graphviz)
54 #:use-module (gnu packages gtk)
d4e4a382 55 #:use-module (gnu packages haskell)
dddbc90c 56 #:use-module (gnu packages haskell-apps)
efb96749 57 #:use-module (gnu packages haskell-check)
dddbc90c
RV
58 #:use-module (gnu packages haskell-crypto)
59 #:use-module (gnu packages haskell-web)
60 #:use-module (gnu packages libffi)
61 #:use-module (gnu packages linux)
e3ee8023 62 #:use-module (gnu packages llvm)
dddbc90c
RV
63 #:use-module (gnu packages lua)
64 #:use-module (gnu packages maths)
49e29df5 65 #:use-module (gnu packages ncurses)
dddbc90c
RV
66 #:use-module (gnu packages pcre)
67 #:use-module (gnu packages pkg-config)
68 #:use-module (gnu packages sdl)
0c2d6fc2 69 #:use-module (gnu packages web)
dddbc90c
RV
70 #:use-module (gnu packages xml)
71 #:use-module (gnu packages xorg)
6b34d01c
RV
72 #:use-module (guix build-system haskell)
73 #:use-module (guix download)
dddbc90c 74 #:use-module (guix git-download)
4780db2c 75 #:use-module (guix utils)
6b34d01c 76 #:use-module ((guix licenses) #:prefix license:)
d4e4a382
RW
77 #:use-module (guix packages)
78 #:use-module (srfi srfi-1))
6b34d01c 79
dddbc90c 80(define-public ghc-abstract-deque
efb96749 81 (package
dddbc90c
RV
82 (name "ghc-abstract-deque")
83 (version "0.3")
efb96749
RV
84 (source
85 (origin
86 (method url-fetch)
87 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
88 "abstract-deque-" version "/"
89 "abstract-deque-" version ".tar.gz"))
efb96749
RV
90 (sha256
91 (base32
dddbc90c 92 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
efb96749 93 (build-system haskell-build-system)
dddbc90c
RV
94 (inputs `(("ghc-random" ,ghc-random)))
95 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
96 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
97 (description "This Haskell package provides an abstract interface to
98highly-parameterizable queues/deques.
99
100Background: There exists a feature space for queues that extends between:
efb96749
RV
101
102@itemize
dddbc90c
RV
103@item Simple, single-ended, non-concurrent, bounded queues
104
105@item Double-ended, thread-safe, growable queues with important points
106in between (such as the queues used for work stealing).
efb96749
RV
107@end itemize
108
dddbc90c
RV
109This package includes an interface for Deques that allows the programmer
110to use a single API for all of the above, while using the type system to
111select an efficient implementation given the requirements (using type families).
efb96749 112
dddbc90c
RV
113This package also includes a simple reference implementation based on
114@code{IORef} and @code{Data.Sequence}.")
efb96749
RV
115 (license license:bsd-3)))
116
dddbc90c 117(define-public ghc-abstract-par
658dbc7f 118 (package
dddbc90c
RV
119 (name "ghc-abstract-par")
120 (version "0.3.3")
658dbc7f
RV
121 (source
122 (origin
123 (method url-fetch)
124 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
125 "abstract-par-" version "/"
126 "abstract-par-" version ".tar.gz"))
658dbc7f
RV
127 (sha256
128 (base32
dddbc90c
RV
129 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
130 (build-system haskell-build-system)
131 (home-page "https://github.com/simonmar/monad-par")
132 (synopsis "Abstract parallelization interface for Haskell")
133 (description "This Haskell package is an abstract interface
134only. It provides a number of type clasess, but not an
135implementation. The type classes separate different levels
136of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
137module for more details.")
138 (license license:bsd-3)))
139
d8b88d74
TS
140(define-public ghc-active
141 (package
142 (name "ghc-active")
143 (version "0.2.0.14")
144 (source
145 (origin
146 (method url-fetch)
147 (uri (string-append "https://hackage.haskell.org/package/"
148 "active/active-" version ".tar.gz"))
149 (sha256
150 (base32
151 "0x3b4ln6csa554qls28wbxvclkbdz3yi60i1m0q5ing0cs16fifz"))))
152 (build-system haskell-build-system)
153 (inputs
154 `(("ghc-vector" ,ghc-vector)
155 ("ghc-semigroups" ,ghc-semigroups)
156 ("ghc-semigroupoids" ,ghc-semigroupoids)
157 ("ghc-lens" ,ghc-lens)
158 ("ghc-linear" ,ghc-linear)))
159 (native-inputs
160 `(("ghc-quickcheck" ,ghc-quickcheck)))
161 (home-page "https://hackage.haskell.org/package/active")
162 (synopsis "Abstractions for animation")
163 (description "This package defines an @code{Active} abstraction for
164time-varying values with finite start and end times. It is used for
165describing animations within the
166@url{https://archives.haskell.org/projects.haskell.org/diagrams/,
167diagrams framework}.")
168 (license license:bsd-3)))
169
dddbc90c
RV
170(define-public ghc-adjunctions
171 (package
172 (name "ghc-adjunctions")
173 (version "4.4")
174 (source
175 (origin
176 (method url-fetch)
177 (uri (string-append
178 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
179 version
180 ".tar.gz"))
181 (sha256
182 (base32
183 "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h"))))
658dbc7f 184 (build-system haskell-build-system)
a78262be
TS
185 (arguments
186 `(#:cabal-revision
187 ("2" "1yfsjx7dqikg3hvld7i91xfsg5lawmr5980lvfd794sybmgxsf17")))
658dbc7f 188 (inputs
dddbc90c
RV
189 `(("ghc-profunctors" ,ghc-profunctors)
190 ("ghc-comonad" ,ghc-comonad)
191 ("ghc-contravariant" ,ghc-contravariant)
192 ("ghc-distributive" ,ghc-distributive)
193 ("ghc-free" ,ghc-free)
194 ("ghc-tagged" ,ghc-tagged)
195 ("ghc-semigroupoids" ,ghc-semigroupoids)
196 ("ghc-semigroups" ,ghc-semigroups)
197 ("ghc-transformers-compat" ,ghc-transformers-compat)
198 ("ghc-void" ,ghc-void)))
658dbc7f 199 (native-inputs
dddbc90c
RV
200 `(("ghc-generic-deriving" ,ghc-generic-deriving)
201 ("ghc-hspec" ,ghc-hspec)
202 ("hspec-discover" ,hspec-discover)))
203 (home-page "https://github.com/ekmett/adjunctions/")
204 (synopsis "Adjunctions and representable functors")
205 (description "This library provides adjunctions and representable functors
206for Haskell.")
207 (license license:bsd-3)))
208
209(define-public ghc-aeson-compat
210 (package
211 (name "ghc-aeson-compat")
0bafb755 212 (version "0.3.9")
dddbc90c
RV
213 (source
214 (origin
215 (method url-fetch)
216 (uri (string-append "https://hackage.haskell.org/package/"
217 "aeson-compat-" version "/"
218 "aeson-compat-" version ".tar.gz"))
219 (sha256
220 (base32
0bafb755 221 "1j13gykv4ryvmr14w5blz0nnpdb4p0hpa27wahw3mhb1lwdr8hz0"))))
dddbc90c
RV
222 (build-system haskell-build-system)
223 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
224 (inputs `(("ghc-base-compat" ,ghc-base-compat)
225 ("ghc-aeson" ,ghc-aeson)
226 ("ghc-attoparsec" ,ghc-attoparsec)
227 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
228 ("ghc-exceptions" ,ghc-exceptions)
229 ("ghc-hashable" ,ghc-hashable)
230 ("ghc-scientific" ,ghc-scientific)
231 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
232 ("ghc-unordered-containers" ,ghc-unordered-containers)
233 ("ghc-vector" ,ghc-vector)
234 ("ghc-tagged" ,ghc-tagged)
235 ("ghc-semigroups" ,ghc-semigroups)
236 ("ghc-nats" ,ghc-nats)))
237 (home-page "https://github.com/phadej/aeson-compat")
238 (synopsis "Compatibility layer for ghc-aeson")
239 (description "This Haskell package provides compatibility layer for
240ghc-aeson.")
241 (license license:bsd-3)))
242
cbc6f861
TS
243(define-public ghc-aeson-diff
244 (package
245 (name "ghc-aeson-diff")
246 (version "1.1.0.7")
247 (source
248 (origin
249 (method url-fetch)
250 (uri (string-append "https://hackage.haskell.org/package/"
251 "aeson-diff/aeson-diff-" version ".tar.gz"))
252 (sha256
253 (base32
254 "01d48pd7d1mb9cd5yxfajln8rmjdjq8ch91s0lav4qw1azv6vp2r"))))
255 (build-system haskell-build-system)
256 (inputs
257 `(("ghc-aeson" ,ghc-aeson)
258 ("ghc-edit-distance-vector" ,ghc-edit-distance-vector)
259 ("ghc-hashable" ,ghc-hashable)
260 ("ghc-scientific" ,ghc-scientific)
261 ("ghc-unordered-containers" ,ghc-unordered-containers)
262 ("ghc-vector" ,ghc-vector)
263 ("ghc-semigroups" ,ghc-semigroups)
264 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
265 (native-inputs
266 `(("ghc-quickcheck" ,ghc-quickcheck)
267 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
268 ("ghc-glob" ,ghc-glob)
269 ("ghc-quickcheck" ,ghc-quickcheck)
270 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
271 ("ghc-quickcheck" ,ghc-quickcheck)
272 ("ghc-doctest" ,ghc-doctest)
273 ("hlint" ,hlint)))
274 (home-page "https://github.com/thsutton/aeson-diff")
275 (synopsis "Extract and apply patches to JSON documents")
276 (description "This is a small library for working with changes to JSON
277documents. It includes a library and two command-line executables in the
278style of the @command{diff} and @command{patch} commands available on many
279systems.")
280 (license license:bsd-3)))
281
dddbc90c
RV
282(define-public ghc-alex
283 (package
284 (name "ghc-alex")
285 (version "3.2.4")
286 (source
287 (origin
288 (method url-fetch)
289 (uri (string-append
290 "https://hackage.haskell.org/package/alex/alex-"
291 version
292 ".tar.gz"))
293 (sha256
294 (base32
295 "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm"))))
296 (build-system haskell-build-system)
658dbc7f 297 (arguments
dddbc90c
RV
298 `(#:phases
299 (modify-phases %standard-phases
300 (add-before 'check 'set-check-variables
301 (lambda _
302 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
303 (getenv "PATH")))
304 (setenv "alex_datadir" (string-append (getcwd) "/data"))
305 #t)))))
306 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
307 (native-inputs
308 `(("which" ,which)))
309 (home-page "https://www.haskell.org/alex/")
310 (synopsis
311 "Tool for generating lexical analysers in Haskell")
312 (description
313 "Alex is a tool for generating lexical analysers in Haskell. It takes a
314description of tokens based on regular expressions and generates a Haskell
315module containing code for scanning text efficiently. It is similar to the
316tool lex or flex for C/C++.")
658dbc7f
RV
317 (license license:bsd-3)))
318
dddbc90c 319(define-public ghc-alsa-core
7b01a977 320 (package
dddbc90c
RV
321 (name "ghc-alsa-core")
322 (version "0.5.0.1")
323 (source
324 (origin
325 (method url-fetch)
326 (uri (string-append
327 "mirror://hackage/package/alsa-core/alsa-core-"
328 version
329 ".tar.gz"))
330 (sha256
331 (base32
332 "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b"))))
333 (build-system haskell-build-system)
54a5fd07
TS
334 (arguments
335 `(#:extra-directories ("alsa-lib")))
dddbc90c
RV
336 (inputs
337 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
338 ("alsa-lib" ,alsa-lib)))
339 (native-inputs
340 `(("pkg-config" ,pkg-config)))
228d2901 341 (home-page "https://wiki.haskell.org/ALSA")
dddbc90c
RV
342 (synopsis "Binding to the ALSA Library API (Exceptions)")
343 (description "This package provides access to ALSA infrastructure, that is
344needed by both alsa-seq and alsa-pcm.")
345 (license license:bsd-3)))
346
f2ed1e6d
JS
347(define-public ghc-alsa-mixer
348 (package
349 (name "ghc-alsa-mixer")
350 (version "0.3.0")
351 (source
352 (origin
353 (method url-fetch)
354 (uri
355 (string-append
356 "mirror://hackage/package/alsa-mixer/alsa-mixer-"
357 version ".tar.gz"))
358 (sha256
359 (base32
360 "00ny2p3276jilidjs44npc8zmbhynz3f2lpmlwwl6swwx5yijsnb"))))
361 (build-system haskell-build-system)
362 (inputs `(("ghc-alsa-core" ,ghc-alsa-core)))
363 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
364 (home-page "https://github.com/ttuegel/alsa-mixer")
365 (synopsis "Bindings to the ALSA simple mixer API")
366 (description
367 "This package provides bindings to the ALSA simple mixer API.")
368 (license license:bsd-3)))
369
dddbc90c
RV
370(define-public ghc-annotated-wl-pprint
371 (package
372 (name "ghc-annotated-wl-pprint")
373 (version "0.7.0")
374 (source
375 (origin
376 (method url-fetch)
377 (uri (string-append
378 "https://hackage.haskell.org/package/annotated-wl-pprint"
379 "/annotated-wl-pprint-" version
380 ".tar.gz"))
381 (sha256
382 (base32
383 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
384 (build-system haskell-build-system)
385 (home-page
386 "https://github.com/david-christiansen/annotated-wl-pprint")
387 (synopsis
388 "The Wadler/Leijen Pretty Printer, with annotation support")
389 (description "This is a modified version of wl-pprint, which was based on
390Wadler's paper \"A Prettier Printer\". This version allows the library user
391to annotate the text with semantic information, which can later be rendered in
392a variety of ways.")
393 (license license:bsd-3)))
394
395(define-public ghc-ansi-terminal
396 (package
397 (name "ghc-ansi-terminal")
f1b4a73f 398 (version "0.9.1")
dddbc90c
RV
399 (source
400 (origin
401 (method url-fetch)
402 (uri (string-append
403 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
404 version
405 ".tar.gz"))
406 (sha256
407 (base32
f1b4a73f 408 "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l"))))
dddbc90c
RV
409 (build-system haskell-build-system)
410 (inputs
411 `(("ghc-colour" ,ghc-colour)))
412 (home-page "https://github.com/feuerbach/ansi-terminal")
413 (synopsis "ANSI terminal support for Haskell")
414 (description "This package provides ANSI terminal support for Haskell. It
415allows cursor movement, screen clearing, color output showing or hiding the
416cursor, and changing the title.")
417 (license license:bsd-3)))
418
419(define-public ghc-ansi-wl-pprint
420 (package
421 (name "ghc-ansi-wl-pprint")
c38746eb 422 (version "0.6.9")
7b01a977
RV
423 (source
424 (origin
425 (method url-fetch)
426 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c 427 "ansi-wl-pprint/ansi-wl-pprint-"
7b01a977
RV
428 version ".tar.gz"))
429 (sha256
430 (base32
c38746eb 431 "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7"))))
7b01a977
RV
432 (build-system haskell-build-system)
433 (inputs
dddbc90c
RV
434 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
435 (home-page "https://github.com/ekmett/ansi-wl-pprint")
436 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
437 (description "This is a pretty printing library based on Wadler's paper
438\"A Prettier Printer\". It has been enhanced with support for ANSI terminal
439colored output using the ansi-terminal package.")
440 (license license:bsd-3)))
441
442(define-public ghc-appar
443 (package
444 (name "ghc-appar")
1159d1a5 445 (version "0.1.8")
dddbc90c
RV
446 (source
447 (origin
448 (method url-fetch)
449 (uri (string-append
450 "https://hackage.haskell.org/package/appar/appar-"
451 version
452 ".tar.gz"))
453 (sha256
454 (base32
1159d1a5 455 "07v3h766q9mnhphsm53718h1lds147ix7dj15kc5hnsj4vffvkn4"))))
dddbc90c
RV
456 (build-system haskell-build-system)
457 (home-page
458 "https://hackage.haskell.org/package/appar")
459 (synopsis "Simple applicative parser")
460 (description "This package provides a simple applicative parser in Parsec
461style.")
462 (license license:bsd-3)))
463
af369394
JS
464(define-public ghc-assoc
465 (package
466 (name "ghc-assoc")
467 (version "1.0.1")
468 (source
469 (origin
470 (method url-fetch)
471 (uri (string-append
472 "https://hackage.haskell.org/package/assoc/assoc-"
473 version
474 ".tar.gz"))
475 (sha256
476 (base32
477 "1m9n4vp190bvn2wcrd4ggfwa9pi93jp0zgx02mdgywn2zfidw020"))))
478 (build-system haskell-build-system)
479 (inputs
480 `(("ghc-bifunctors" ,ghc-bifunctors)
481 ("ghc-tagged" ,ghc-tagged)))
482 (home-page
483 "http://hackage.haskell.org/package/assoc")
484 (synopsis
485 "Swap and assoc: Symmetric and Semigroupy Bifunctors")
486 (description
487 "Provides generalisations of @code{swap :: (a,b) -> (b,a)} and
488@code{assoc :: ((a,b),c) -> (a,(b,c))} to @code{Bifunctor}s supporting
489similar operations (e.g. @code{Either}, @code{These}).")
490 (license license:bsd-3)))
491
dddbc90c
RV
492(define-public ghc-async
493 (package
494 (name "ghc-async")
048ef066 495 (version "2.2.2")
dddbc90c
RV
496 (source
497 (origin
498 (method url-fetch)
499 (uri (string-append
500 "https://hackage.haskell.org/package/async/async-"
501 version
502 ".tar.gz"))
503 (sha256
504 (base32
048ef066 505 "1zxvfcyy4sg8lmzphi5dgnavksj5pav6rbvd5kc48lf4hanb2jjb"))))
dddbc90c
RV
506 (build-system haskell-build-system)
507 (inputs
508 `(("ghc-hashable" ,ghc-hashable)
509 ("ghc-hunit" ,ghc-hunit)
7b01a977
RV
510 ("ghc-test-framework" ,ghc-test-framework)
511 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
dddbc90c
RV
512 (home-page "https://github.com/simonmar/async")
513 (synopsis "Library to run IO operations asynchronously")
514 (description "Async provides a library to run IO operations
515asynchronously, and wait for their results. It is a higher-level interface
516over threads in Haskell, in which @code{Async a} is a concurrent thread that
517will eventually deliver a value of type @code{a}.")
7b01a977
RV
518 (license license:bsd-3)))
519
9ad9ec2e
AG
520(define-public ghc-atomic-primops
521 (package
522 (name "ghc-atomic-primops")
af16c6b0 523 (version "0.8.3")
9ad9ec2e
AG
524 (source
525 (origin
526 (method url-fetch)
527 (uri (string-append "https://hackage.haskell.org/package/atomic-primops"
528 "/atomic-primops-" version ".tar.gz"))
529 (sha256
530 (base32
af16c6b0 531 "03n5dmyplrqgbyf8dr91izkxci7gkl3i3fnp82i5ld869zrgjfh0"))))
9ad9ec2e
AG
532 (build-system haskell-build-system)
533 (inputs `(("ghc-primitive" ,ghc-primitive)))
534 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
535 (synopsis "Safe approach to CAS and other atomic ops")
536 (description
537 "GHC 7.4 introduced a new @code{casMutVar} PrimOp which is difficult to
538use safely, because pointer equality is a highly unstable property in Haskell.
539This library provides a safer method based on the concept of @code{Ticket}s.")
540 (license license:bsd-3)))
541
dddbc90c 542(define-public ghc-atomic-write
79fcc5e5 543 (package
dddbc90c 544 (name "ghc-atomic-write")
c09d1e62 545 (version "0.2.0.6")
79fcc5e5
RV
546 (source
547 (origin
548 (method url-fetch)
dddbc90c
RV
549 (uri (string-append
550 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
551 version
552 ".tar.gz"))
79fcc5e5
RV
553 (sha256
554 (base32
c09d1e62 555 "1xs3shwnlj8hmnm3q6jc8nv78z0481i5n4hrqqdmbpx8grvlnqyl"))))
dddbc90c
RV
556 (build-system haskell-build-system)
557 (inputs
558 `(("ghc-temporary" ,ghc-temporary)
559 ("ghc-unix-compat" ,ghc-unix-compat)))
560 (native-inputs
561 `(("ghc-temporary" ,ghc-temporary)
562 ("ghc-unix-compat" ,ghc-unix-compat)
563 ("ghc-hspec" ,ghc-hspec)
564 ("hspec-discover" ,hspec-discover)))
565 (home-page "https://github.com/stackbuilders/atomic-write")
566 (synopsis "Atomically write to a file")
567 (description
568 "Atomically write to a file on POSIX-compliant systems while preserving
569permissions. @code{mv} is an atomic operation. This makes it simple to write
570to a file atomically just by using the @code{mv} operation. However, this
571will destroy the permissions on the original file. This library preserves
572permissions while atomically writing to a file.")
573 (license license:expat)))
574
b7250901
JS
575(define-public ghc-atomic-write-0.2.0.7
576 (package
577 (inherit ghc-atomic-write)
578 (version "0.2.0.7")
579 (source
580 (origin
581 (inherit (package-source ghc-atomic-write))
582 (uri (string-append
583 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
584 version
585 ".tar.gz"))
586 (sha256
587 (base32
588 "03cn3ii74h0w3g4h78xsx9v2sn58r3qsr2dbdwq340xwhiwcgxdm"))))))
589
dddbc90c
RV
590(define-public ghc-attoparsec
591 (package
592 (name "ghc-attoparsec")
511c3204 593 (version "0.13.2.3")
dddbc90c
RV
594 (source
595 (origin
596 (method url-fetch)
597 (uri (string-append
598 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
599 version
600 ".tar.gz"))
601 (sha256
602 (base32
511c3204 603 "1ngjn9h5n0vyki0m2jir4mg85875ysswy9hznpmj1r856mqwc6ix"))))
79fcc5e5 604 (build-system haskell-build-system)
79fcc5e5 605 (arguments
dddbc90c
RV
606 `(#:phases
607 (modify-phases %standard-phases
608 (add-after 'unpack 'patch-for-newer-quickcheck
609 (lambda _
610 (substitute* "attoparsec.cabal"
611 (("QuickCheck >= 2\\.7 && < 2\\.10")
612 "QuickCheck >= 2.7 && < 2.12"))
613 ;; This test fails because of the newer QuickCheck:
614 ;; <https://github.com/bos/attoparsec/issues/134>.
615 (substitute* "tests/QC/ByteString.hs"
616 ((", testProperty \"satisfyWith\" satisfyWith")
617 "")))))))
618 (inputs
619 `(("ghc-scientific" ,ghc-scientific)))
620 (native-inputs
621 `(("ghc-tasty" ,ghc-tasty)
622 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
623 ("ghc-quickcheck" ,ghc-quickcheck)
624 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
625 ("ghc-vector" ,ghc-vector)))
626 (home-page "https://github.com/bos/attoparsec")
627 (synopsis "Fast combinator parsing for bytestrings and text")
628 (description "This library provides a fast parser combinator library,
629aimed particularly at dealing efficiently with network protocols and
630complicated text/binary file formats.")
79fcc5e5
RV
631 (license license:bsd-3)))
632
dddbc90c 633(define-public ghc-attoparsec-bootstrap
6b34d01c 634 (package
dddbc90c
RV
635 (inherit ghc-attoparsec)
636 (name "ghc-attoparsec-bootstrap")
637 (arguments `(#:tests? #f))
638 (inputs
639 `(("ghc-scientific" ,ghc-scientific-bootstrap)))
640 (native-inputs '())
799d8d3c 641 (properties '((hidden? #t)))))
dddbc90c
RV
642
643(define-public ghc-attoparsec-iso8601
644 (package
645 (name "ghc-attoparsec-iso8601")
97f267c8 646 (version "1.0.1.0")
6b34d01c
RV
647 (source
648 (origin
649 (method url-fetch)
650 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
651 "attoparsec-iso8601-" version "/"
652 "attoparsec-iso8601-" version ".tar.gz"))
6b34d01c
RV
653 (sha256
654 (base32
97f267c8 655 "0hj10w15qp2z5bz2v4xahhmbgzclpyfi5l2sv97wqycysg9gp7s9"))))
6b34d01c 656 (build-system haskell-build-system)
dddbc90c
RV
657 (arguments
658 `(#:cabal-revision
97f267c8 659 ("1" "1rjhscmczgs1bwyqx7lvkm8py3ylxjd2797mrzgnq60fvm292750")))
dddbc90c
RV
660 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
661 ("ghc-base-compat" ,ghc-base-compat)))
662 (home-page "https://github.com/bos/aeson")
663 (synopsis "Parse ISO 8601 dates")
664 (description "Haskell library for parsing of ISO 8601 dates, originally
665from aeson.")
6b34d01c 666 (license license:bsd-3)))
b57e99f5 667
dddbc90c 668(define-public ghc-auto-update
b57e99f5 669 (package
dddbc90c 670 (name "ghc-auto-update")
11b1b6cd 671 (version "0.1.6")
dddbc90c
RV
672 (source
673 (origin
674 (method url-fetch)
675 (uri (string-append
676 "https://hackage.haskell.org/package/auto-update/auto-update-"
677 version
678 ".tar.gz"))
679 (sha256
680 (base32
11b1b6cd 681 "1i36xc2i34aync8271x3pv515l3zb53i518dybn8ghqkhzf27q7l"))))
dddbc90c 682 (build-system haskell-build-system)
11b1b6cd
TS
683 (native-inputs
684 `(("ghc-hspec" ,ghc-hspec)
685 ("ghc-hunit" ,ghc-hunit)
686 ("ghc-retry" ,ghc-retry)
687 ("hspec-discover" ,hspec-discover)))
dddbc90c
RV
688 (home-page "https://github.com/yesodweb/wai")
689 (synopsis "Efficiently run periodic, on-demand actions")
690 (description "This library provides mechanisms to efficiently run
691periodic, on-demand actions in Haskell.")
692 (license license:expat)))
693
694(define-public ghc-aws
695 (package
696 (name "ghc-aws")
697 (version "0.20")
b57e99f5
RV
698 (source
699 (origin
700 (method url-fetch)
701 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
702 "aws-" version "/aws-" version ".tar.gz"))
703 (sha256 (base32
704 "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0"))))
705 (build-system haskell-build-system)
706 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
707 (inputs
708 `(("ghc-aeson" ,ghc-aeson)
709 ("ghc-attoparsec" ,ghc-attoparsec)
710 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
711 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
712 ("ghc-blaze-builder" ,ghc-blaze-builder)
713 ("ghc-byteable" ,ghc-byteable)
714 ("ghc-case-insensitive" ,ghc-case-insensitive)
715 ("ghc-cereal" ,ghc-cereal)
716 ("ghc-conduit" ,ghc-conduit)
717 ("ghc-conduit-extra" ,ghc-conduit-extra)
718 ("ghc-cryptonite" ,ghc-cryptonite)
719 ("ghc-data-default" ,ghc-data-default)
720 ("ghc-http-conduit" ,ghc-http-conduit)
721 ("ghc-http-types" ,ghc-http-types)
722 ("ghc-lifted-base" ,ghc-lifted-base)
723 ("ghc-monad-control" ,ghc-monad-control)
724 ("ghc-network" ,ghc-network)
725 ("ghc-old-locale" ,ghc-old-locale)
726 ("ghc-safe" ,ghc-safe)
727 ("ghc-scientific" ,ghc-scientific)
728 ("ghc-tagged" ,ghc-tagged)
729 ("ghc-unordered-containers" ,ghc-unordered-containers)
730 ("ghc-utf8-string" ,ghc-utf8-string)
731 ("ghc-vector" ,ghc-vector)
732 ("ghc-xml-conduit" ,ghc-xml-conduit)))
733 (native-inputs
734 `(("ghc-quickcheck" ,ghc-quickcheck)
735 ("ghc-errors" ,ghc-errors)
736 ("ghc-http-client" ,ghc-http-client)
737 ("ghc-http-client-tls" ,ghc-http-client-tls)
738 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
739 ("ghc-tasty" ,ghc-tasty)
740 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
741 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
742 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
743 (home-page "https://github.com/aristidb/aws")
744 (synopsis "Amazon Web Services for Haskell")
745 (description "This package attempts to provide support for using
746Amazon Web Services like S3 (storage), SQS (queuing) and others to
747Haskell programmers. The ultimate goal is to support all Amazon
748Web Services.")
749 (license license:bsd-3)))
750
751(define-public ghc-base16-bytestring
752 (package
753 (name "ghc-base16-bytestring")
754 (version "0.1.1.6")
755 (source
756 (origin
757 (method url-fetch)
758 (uri (string-append
759 "https://hackage.haskell.org/package/base16-bytestring/"
760 "base16-bytestring-" version ".tar.gz"))
b57e99f5
RV
761 (sha256
762 (base32
dddbc90c 763 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
b57e99f5 764 (build-system haskell-build-system)
dddbc90c
RV
765 (home-page "https://github.com/bos/base16-bytestring")
766 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
767 (description
768 "This package provides a Haskell library for working with base16-encoded
769data quickly and efficiently, using the ByteString type.")
b57e99f5 770 (license license:bsd-3)))
bbf8bf31 771
dddbc90c 772(define-public ghc-base64-bytestring
bbf8bf31 773 (package
dddbc90c
RV
774 (name "ghc-base64-bytestring")
775 (version "1.0.0.2")
bbf8bf31
RV
776 (source
777 (origin
778 (method url-fetch)
dddbc90c
RV
779 (uri (string-append
780 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
781 version
782 ".tar.gz"))
783 (sha256
784 (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr"))))
785 (build-system haskell-build-system)
786 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
787 (home-page "https://github.com/bos/base64-bytestring")
788 (synopsis "Base64 encoding and decoding for ByteStrings")
789 (description "This library provides fast base64 encoding and decoding for
790Haskell @code{ByteString}s.")
791 (license license:bsd-3)))
792
793(define-public ghc-base-compat
794 (package
795 (name "ghc-base-compat")
4daaa371 796 (version "0.10.5")
dddbc90c
RV
797 (source
798 (origin
799 (method url-fetch)
800 (uri (string-append
801 "https://hackage.haskell.org/package/base-compat/base-compat-"
802 version
803 ".tar.gz"))
bbf8bf31
RV
804 (sha256
805 (base32
4daaa371 806 "0hgvlqcr852hfp52jp99snhbj550mvxxpi8qn15d8ml9aqhyl2lr"))))
bbf8bf31 807 (build-system haskell-build-system)
e2b021df 808 (outputs '("out" "static" "doc"))
bbf8bf31 809 (native-inputs
dddbc90c
RV
810 `(("ghc-quickcheck" ,ghc-quickcheck)
811 ("ghc-hspec" ,ghc-hspec)
812 ("hspec-discover" ,hspec-discover)))
813 (home-page "https://hackage.haskell.org/package/base-compat")
814 (synopsis "Haskell compiler compatibility library")
815 (description "This library provides functions available in later versions
816of base to a wider range of compilers, without requiring the use of CPP
817pragmas in your code.")
818 (license license:bsd-3)))
819
f9d78c7f
TS
820(define-public ghc-base-compat-batteries
821 (package
822 (name "ghc-base-compat-batteries")
823 (version "0.10.5")
824 (source
825 (origin
826 (method url-fetch)
827 (uri (string-append "https://hackage.haskell.org/package/"
828 "base-compat-batteries/base-compat-batteries-"
829 version ".tar.gz"))
830 (sha256
831 (base32
832 "1vkhc639vqiv5p39jn1v312z32i7yk5q2lf0ap4jxl1v8p8wyp8p"))))
833 (build-system haskell-build-system)
834 (inputs
835 `(("ghc-base-compat" ,ghc-base-compat)))
836 (native-inputs
837 `(("ghc-hspec" ,ghc-hspec)
838 ("ghc-quickcheck" ,ghc-quickcheck)
839 ("hspec-discover" ,hspec-discover)))
840 (arguments
841 `(#:cabal-revision
842 ("1" "15sn2qc8k0hxbb2nai341kkrci98hlhzcj2ci087m0zxcg5jcdbp")))
3ef91e15 843 (home-page "https://hackage.haskell.org/package/base-compat-batteries")
f9d78c7f
TS
844 (synopsis "base-compat with extra batteries")
845 (description "This library provides functions available in later
846versions of @code{base} to a wider range of compilers, without requiring
847you to use CPP pragmas in your code. This package provides the same API
848as the @code{base-compat} library, but depends on compatibility
849packages (such as @code{semigroups}) to offer a wider support window
850than @code{base-compat}, which has no dependencies.")
851 (license license:expat)))
852
dddbc90c
RV
853(define-public ghc-basement
854 (package
855 (name "ghc-basement")
8b56c1fd 856 (version "0.0.11")
dddbc90c
RV
857 (source
858 (origin
859 (method url-fetch)
860 (uri (string-append "https://hackage.haskell.org/package/"
861 "basement/basement-" version ".tar.gz"))
862 (sha256
863 (base32
8b56c1fd 864 "0srlws74yiraqaapgcjd9p5d1fwb3zr9swcz74jpjm55fls2nn37"))))
dddbc90c 865 (build-system haskell-build-system)
05f7f8be 866 (outputs '("out" "static" "doc"))
dddbc90c
RV
867 (home-page "https://github.com/haskell-foundation/foundation")
868 (synopsis "Basic primitives for Foundation starter pack")
869 (description
870 "This package contains basic primitives for the Foundation set of
871packages.")
872 (license license:bsd-3)))
873
874(define-public ghc-base-orphans
875 (package
876 (name "ghc-base-orphans")
780477fb 877 (version "0.8.1")
dddbc90c
RV
878 (source
879 (origin
880 (method url-fetch)
881 (uri (string-append
882 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
883 version
884 ".tar.gz"))
885 (sha256
886 (base32
780477fb 887 "1nwr9av27i9p72k0sn96mw3ywdczw65dy5gd5wxpabhhxlxdcas4"))))
dddbc90c
RV
888 (build-system haskell-build-system)
889 (native-inputs
890 `(("ghc-quickcheck" ,ghc-quickcheck)
891 ("ghc-hspec" ,ghc-hspec)
892 ("hspec-discover" ,hspec-discover)))
893 (home-page "https://hackage.haskell.org/package/base-orphans")
894 (synopsis "Orphan instances for backwards compatibility")
895 (description "This package defines orphan instances that mimic instances
896available in later versions of base to a wider (older) range of compilers.")
897 (license license:bsd-3)))
898
899(define-public ghc-base-prelude
900 (package
901 (name "ghc-base-prelude")
902 (version "1.3")
903 (source
904 (origin
905 (method url-fetch)
906 (uri (string-append "https://hackage.haskell.org/package/"
907 "base-prelude-" version "/"
908 "base-prelude-" version ".tar.gz"))
909 (sha256
910 (base32
911 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
912 (build-system haskell-build-system)
3d7ee2f8 913 (outputs '("out" "static" "doc"))
dddbc90c
RV
914 (home-page "https://github.com/nikita-volkov/base-prelude")
915 (synopsis "The most complete prelude formed solely from the Haskell's base
916package")
917 (description "This Haskell package aims to reexport all the non-conflicting
918and most general definitions from the \"base\" package.
919
920This includes APIs for applicatives, arrows, monoids, foldables, traversables,
921exceptions, generics, ST, MVars and STM.
922
923This package will never have any dependencies other than \"base\".
924
925Versioning policy:
926
927The versioning policy of this package deviates from PVP in the sense
928that its exports in part are transitively determined by the version of \"base\".
929Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
930the bounds of \"base\" as well.")
931 (license license:expat)))
932
933(define-public ghc-base-unicode-symbols
934 (package
935 (name "ghc-base-unicode-symbols")
936 (version "0.2.3")
937 (source
938 (origin
939 (method url-fetch)
940 (uri (string-append
941 "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-"
942 version
943 ".tar.gz"))
944 (sha256
945 (base32
946 "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf"))))
947 (build-system haskell-build-system)
228d2901 948 (home-page "https://wiki.haskell.org/Unicode-symbols")
dddbc90c
RV
949 (synopsis "Unicode alternatives for common functions and operators")
950 (description "This package defines new symbols for a number of functions,
951operators and types in the base package. All symbols are documented with
952their actual definition and information regarding their Unicode code point.
953They should be completely interchangeable with their definitions. For
954further Unicode goodness you can enable the @code{UnicodeSyntax}
955@url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax,
956language extension}. This extension enables Unicode characters to be used to
957stand for certain ASCII character sequences, i.e. → instead of @code{->},
958∀ instead of @code{forall} and many others.")
959 (license license:bsd-3)))
960
ec8491b0
ASM
961(define-public ghc-basic-prelude
962 (package
963 (name "ghc-basic-prelude")
964 (version "0.7.0")
965 (source
966 (origin
967 (method url-fetch)
968 (uri (string-append
969 "https://hackage.haskell.org/package/basic-prelude/"
970 "basic-prelude-" version ".tar.gz"))
971 (sha256
972 (base32
973 "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h"))))
974 (build-system haskell-build-system)
975 (inputs
976 `(("ghc-hashable" ,ghc-hashable)
977 ("ghc-unordered-containers"
978 ,ghc-unordered-containers)
979 ("ghc-vector" ,ghc-vector)))
980 (home-page "https://github.com/snoyberg/basic-prelude#readme")
981 (synopsis "Enhanced core prelude; a common foundation for alternate preludes")
982 (description
983 "The premise of basic-prelude is that there are a lot of very commonly
984desired features missing from the standard Prelude, such as commonly used
985operators (<$> and >=>, for instance) and imports for common datatypes
986(e.g., ByteString and Vector). At the same time, there are lots of other
987components which are more debatable, such as providing polymorphic versions
988of common functions.
989
990So basic-prelude is intended to give a common foundation for a number of
991alternate preludes. The package provides two modules: CorePrelude provides
992the common ground for other preludes to build on top of, while BasicPrelude
993exports CorePrelude together with commonly used list functions to provide a
994drop-in replacement for the standard Prelude.
995
996Users wishing to have an improved Prelude can use BasicPrelude. Developers
997wishing to create a new prelude should use CorePrelude.")
998 (license license:expat)))
999
7d06279e
KM
1000(define-public ghc-bencode
1001 (package
1002 (name "ghc-bencode")
1003 (version "0.6.1.1")
1004 (source
1005 (origin
1006 (method url-fetch)
1007 (uri (string-append
1008 "https://hackage.haskell.org/package/bencode/bencode-"
1009 version ".tar.gz"))
1010 (sha256
1011 (base32 "0znv0y3b3zm5jvhlvj5f5s7y93db67j9yd59w1bnrw2pqv30gqaq"))))
1012 (build-system haskell-build-system)
1013 (inputs
1014 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
1015 (native-inputs
1016 `(("ghc-hspec" ,ghc-hspec)
1017 ("ghc-quickcheck" ,ghc-quickcheck)))
1018 (home-page "https://hackage.haskell.org/package/bencode")
1019 (synopsis "Parsers and printers for bencoded data")
1020 (description
1021 "This library provides parsers and printers for bencoded data. Bencode
1022is the encoding used by the peer-to-peer file sharing system BitTorrent for
1023storing and transmitting loosely structured data.")
1024 (license license:bsd-3)))
1025
dddbc90c
RV
1026(define-public ghc-bifunctors
1027 (package
1028 (name "ghc-bifunctors")
0beaec66 1029 (version "5.5.5")
dddbc90c
RV
1030 (source
1031 (origin
1032 (method url-fetch)
1033 (uri (string-append
1034 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
1035 version
1036 ".tar.gz"))
1037 (sha256
1038 (base32
0beaec66 1039 "0rn47q8dzv0g1fyams99p4py6q0asxdc50q9k0nj497brk738xcb"))))
dddbc90c
RV
1040 (build-system haskell-build-system)
1041 (inputs
1042 `(("ghc-base-orphans" ,ghc-base-orphans)
1043 ("ghc-comonad" ,ghc-comonad)
1044 ("ghc-th-abstraction" ,ghc-th-abstraction)
1045 ("ghc-transformers-compat" ,ghc-transformers-compat)
1046 ("ghc-tagged" ,ghc-tagged)
1047 ("ghc-semigroups" ,ghc-semigroups)))
1048 (native-inputs
1049 `(("ghc-hspec" ,ghc-hspec)
1050 ("hspec-discover" ,hspec-discover)
1051 ("ghc-quickcheck" ,ghc-quickcheck)))
1052 (home-page "https://github.com/ekmett/bifunctors/")
1053 (synopsis "Bifunctors for Haskell")
1054 (description "This package provides bifunctors for Haskell.")
1055 (license license:bsd-3)))
1056
1057(define-public ghc-bindings-dsl
1058 (package
1059 (name "ghc-bindings-dsl")
1060 (version "1.0.25")
1061 (source
1062 (origin
1063 (method url-fetch)
1064 (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/"
1065 "bindings-DSL-" version ".tar.gz"))
1066 (sha256
1067 (base32
1068 "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3"))))
1069 (build-system haskell-build-system)
1070 (home-page "https://github.com/jwiegley/bindings-dsl/wiki")
1071 (synopsis "FFI domain specific language, on top of hsc2hs")
1072 (description
1073 "This is a set of macros to be used when writing Haskell FFI. They were
1074designed to be able to fully describe C interfaces, so that @code{hsc2hs} can
1075extract from them all Haskell code needed to mimic such interfaces. All
1076Haskell names used are automatically derived from C names, structures are
1077mapped to Haskell instances of @code{Storable}, and there are also macros you
1078can use with C code to help write bindings to inline functions or macro
1079functions.")
1080 (license license:bsd-3)))
1081
64f42786
TS
1082(define-public ghc-bitarray
1083 (package
1084 (name "ghc-bitarray")
1085 (version "0.0.1.1")
1086 (source
1087 (origin
1088 (method url-fetch)
1089 (uri (string-append "https://hackage.haskell.org/package/"
1090 "bitarray/bitarray-" version ".tar.gz"))
1091 (sha256
1092 (base32
1093 "00nqd62cbh42qqqvcl6iv1i9kbv0f0mkiygv4j70wfh5cl86yzxj"))))
1094 (build-system haskell-build-system)
1095 (arguments
1096 `(#:cabal-revision
1097 ("1" "10fk92v9afjqk43zi621jxl0n8kci0xjj32lz3vqa9xbh67zjz45")))
1098 (home-page "https://hackage.haskell.org/package/bitarray")
1099 (synopsis "Mutable and immutable bit arrays")
1100 (description "The package provides mutable and immutable bit arrays.")
1101 (license license:bsd-3)))
1102
dddbc90c
RV
1103(define-public ghc-blaze-builder
1104 (package
1105 (name "ghc-blaze-builder")
1106 (version "0.4.1.0")
1107 (source
1108 (origin
1109 (method url-fetch)
1110 (uri (string-append
1111 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
1112 version
1113 ".tar.gz"))
1114 (sha256
1115 (base32
1116 "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i"))))
1117 (build-system haskell-build-system)
1118 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
1119 (inputs
1120 `(("ghc-utf8-string" ,ghc-utf8-string)))
1121 (home-page "https://github.com/lpsmith/blaze-builder")
1122 (synopsis "Efficient buffered output")
1123 (description "This library provides an implementation of the older
1124@code{blaze-builder} interface in terms of the new builder that shipped with
1125@code{bytestring-0.10.4.0}. This implementation is mostly intended as a
1126bridge to the new builder, so that code that uses the old interface can
1127interoperate with code that uses the new implementation.")
1128 (license license:bsd-3)))
1129
1130(define-public ghc-blaze-markup
1131 (package
1132 (name "ghc-blaze-markup")
7d30fcf3 1133 (version "0.8.2.3")
dddbc90c
RV
1134 (source
1135 (origin
1136 (method url-fetch)
1137 (uri (string-append "https://hackage.haskell.org/package/"
1138 "blaze-markup/blaze-markup-"
1139 version ".tar.gz"))
1140 (sha256
1141 (base32
7d30fcf3 1142 "1g9m7ansj7fdyzhz1wqkbzn5amjm50vjgjdwkbjc5qqhagnv1y3j"))))
dddbc90c
RV
1143 (build-system haskell-build-system)
1144 (arguments
1145 `(#:phases
1146 (modify-phases %standard-phases
1147 (add-before 'configure 'update-constraints
1148 (lambda _
1149 (substitute* "blaze-markup.cabal"
1150 (("tasty >= 1\\.0 && < 1\\.1")
1151 "tasty >= 1.0 && < 1.2")))))))
1152 (inputs
1153 `(("ghc-blaze-builder" ,ghc-blaze-builder)))
1154 (native-inputs
1155 `(("ghc-hunit" ,ghc-hunit)
1156 ("ghc-quickcheck" ,ghc-quickcheck)
1157 ("ghc-tasty" ,ghc-tasty)
1158 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
1159 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
1160 (home-page "https://jaspervdj.be/blaze")
1161 (synopsis "Fast markup combinator library for Haskell")
1162 (description "This library provides core modules of a markup combinator
1163library for Haskell.")
1164 (license license:bsd-3)))
1165
1166(define-public ghc-bloomfilter
1167 (package
1168 (name "ghc-bloomfilter")
1169 (version "2.0.1.0")
1170 (source
1171 (origin
1172 (method url-fetch)
1173 (uri (string-append "https://hackage.haskell.org/package/"
1174 "bloomfilter/bloomfilter-" version ".tar.gz"))
1175 (sha256
1176 (base32
1177 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
1178 (build-system haskell-build-system)
1179 (native-inputs
1180 `(("ghc-quickcheck" ,ghc-quickcheck)
1181 ("ghc-random" ,ghc-random)
1182 ("ghc-test-framework" ,ghc-test-framework)
1183 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1184 (home-page "https://github.com/bos/bloomfilter")
1185 (synopsis "Pure and impure Bloom filter implementations")
1186 (description "This package provides both mutable and immutable Bloom
1187filter data types, along with a family of hash functions and an easy-to-use
1188interface.")
1189 (license license:bsd-3)))
1190
1191(define-public ghc-boxes
1192 (package
1193 (name "ghc-boxes")
1194 (version "0.1.5")
1195 (source
1196 (origin
1197 (method url-fetch)
1198 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
1199 version ".tar.gz"))
1200 (sha256
1201 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
1202 (build-system haskell-build-system)
1203 (inputs
1204 `(("ghc-split" ,ghc-split)
1205 ("ghc-quickcheck" ,ghc-quickcheck)))
1206 (home-page "https://hackage.haskell.org/package/boxes")
1207 (synopsis "2D text pretty-printing library")
1208 (description
1209 "Boxes is a pretty-printing library for laying out text in two dimensions,
1210using a simple box model.")
1211 (license license:bsd-3)))
1212
1213(define-public ghc-byteable
1214 (package
1215 (name "ghc-byteable")
1216 (version "0.1.1")
1217 (source (origin
1218 (method url-fetch)
1219 (uri (string-append "https://hackage.haskell.org/package/"
1220 "byteable/byteable-" version ".tar.gz"))
1221 (sha256
1222 (base32
1223 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
1224 (build-system haskell-build-system)
1225 (home-page "https://github.com/vincenthz/hs-byteable")
1226 (synopsis "Type class for sequence of bytes")
1227 (description
1228 "This package provides an abstract class to manipulate sequence of bytes.
1229The use case of this class is abstracting manipulation of types that are just
1230wrapping a bytestring with stronger and more meaniful name.")
1231 (license license:bsd-3)))
1232
1233(define-public ghc-byteorder
1234 (package
1235 (name "ghc-byteorder")
1236 (version "1.0.4")
1237 (source
1238 (origin
1239 (method url-fetch)
1240 (uri (string-append
1241 "https://hackage.haskell.org/package/byteorder/byteorder-"
1242 version
1243 ".tar.gz"))
1244 (sha256
1245 (base32
1246 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
1247 (build-system haskell-build-system)
1248 (home-page
1249 "http://community.haskell.org/~aslatter/code/byteorder")
1250 (synopsis
1251 "Exposes the native endianness of the system")
1252 (description
1253 "This package is for working with the native byte-ordering of the
1254system.")
1255 (license license:bsd-3)))
1256
1257(define-public ghc-bytes
1258 (package
1259 (name "ghc-bytes")
1260 (version "0.15.5")
1261 (source
1262 (origin
1263 (method url-fetch)
1264 (uri
1265 (string-append "https://hackage.haskell.org/package/bytes-"
1266 version "/bytes-"
1267 version ".tar.gz"))
1268 (file-name (string-append name "-" version ".tar.gz"))
1269 (sha256
1270 (base32
1271 "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683"))))
1272 (build-system haskell-build-system)
1273 (inputs `(("ghc-cereal" ,ghc-cereal)
1274 ("cabal-doctest" ,cabal-doctest)
1275 ("ghc-doctest" ,ghc-doctest)
1276 ("ghc-scientific" ,ghc-scientific)
1277 ("ghc-transformers-compat" ,ghc-transformers-compat)
1278 ("ghc-unordered-containers" ,ghc-unordered-containers)
1279 ("ghc-void" ,ghc-void)
1280 ("ghc-vector" ,ghc-vector)))
1281 (synopsis "Serialization between @code{binary} and @code{cereal}")
1282 (description "This package provides a simple compatibility shim that lets
1283you work with both @code{binary} and @code{cereal} with one chunk of
1284serialization code.")
1285 (home-page "https://hackage.haskell.org/package/bytes")
1286 (license license:bsd-3)))
1287
1288(define-public ghc-bytestring-builder
1289 (package
1290 (name "ghc-bytestring-builder")
13ac8a7f 1291 (version "0.10.8.2.0")
dddbc90c
RV
1292 (source
1293 (origin
1294 (method url-fetch)
1295 (uri (string-append
1296 "https://hackage.haskell.org/package/bytestring-builder"
1297 "/bytestring-builder-" version ".tar.gz"))
1298 (sha256
1299 (base32
13ac8a7f 1300 "0grcrgwwwcvwrs9az7l4d3kf0lsqfa9qpmjzf6iyanvwn9nyzyi7"))))
dddbc90c
RV
1301 (build-system haskell-build-system)
1302 (arguments `(#:haddock? #f)) ; Package contains no documentation.
1303 (home-page "https://hackage.haskell.org/package/bytestring-builder")
1304 (synopsis "The new bytestring builder, packaged outside of GHC")
1305 (description "This package provides the bytestring builder that is
1306debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
1307Compatibility package for older packages.")
1308 (license license:bsd-3)))
1309
1310(define-public ghc-bytestring-handle
1311 (package
1312 (name "ghc-bytestring-handle")
1313 (version "0.1.0.6")
1314 (source
1315 (origin
1316 (method url-fetch)
1317 (uri (string-append
1318 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
1319 version ".tar.gz"))
1320 (sha256
1321 (base32
1322 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
1323 (build-system haskell-build-system)
1324 (arguments
853748c4
TS
1325 `(#:cabal-revision
1326 ("1" "0x11aj6w1lijh84jcdq1qgyvdnc7i9ivbyq4wf9rxicg57viisz9")
1327 #:phases
dddbc90c
RV
1328 (modify-phases %standard-phases
1329 (add-before 'configure 'update-constraints
1330 (lambda _
1331 (substitute* "bytestring-handle.cabal"
1332 (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
853748c4 1333 "QuickCheck >= 2.1.2 && < 2.14")))))))
dddbc90c
RV
1334 (inputs
1335 `(("ghc-hunit" ,ghc-hunit)
1336 ("ghc-quickcheck" ,ghc-quickcheck)
1337 ("ghc-test-framework" ,ghc-test-framework)
1338 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1339 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1340 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
1341 (synopsis "ByteString-backed Handles")
1342 (description "ByteString-backed Handles") ; There is no description
1343 (license license:bsd-3)))
1344
1345(define-public ghc-bytestring-lexing
1346 (package
1347 (name "ghc-bytestring-lexing")
1348 (version "0.5.0.2")
1349 (source
1350 (origin
1351 (method url-fetch)
1352 (uri (string-append "https://hackage.haskell.org/package/"
1353 "bytestring-lexing/bytestring-lexing-"
1354 version ".tar.gz"))
1355 (sha256
1356 (base32
1357 "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81"))))
1358 (build-system haskell-build-system)
1359 (home-page "http://code.haskell.org/~wren/")
1360 (synopsis "Parse and produce literals from strict or lazy bytestrings")
1361 (description
1362 "This package provides tools to parse and produce literals efficiently
1363from strict or lazy bytestrings.")
1364 (license license:bsd-2)))
1365
1366(define-public ghc-bzlib-conduit
1367 (package
1368 (name "ghc-bzlib-conduit")
5fba8d6d 1369 (version "0.3.0.2")
dddbc90c
RV
1370 (source
1371 (origin
1372 (method url-fetch)
1373 (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/"
1374 "bzlib-conduit-" version ".tar.gz"))
1375 (sha256
1376 (base32
5fba8d6d 1377 "0a21zin5plsl37hkxh2jv8cxwyjrbs2fy7n5cyrzgdaa7lmp6b7b"))))
dddbc90c
RV
1378 (build-system haskell-build-system)
1379 (inputs
1380 `(("ghc-bindings-dsl" ,ghc-bindings-dsl)
1381 ("ghc-conduit" ,ghc-conduit)
1382 ("ghc-data-default-class" ,ghc-data-default-class)
1383 ("ghc-resourcet" ,ghc-resourcet)))
1384 (native-inputs
1385 `(("ghc-hspec" ,ghc-hspec)
1386 ("ghc-random" ,ghc-random)))
1387 (home-page "https://github.com/snoyberg/bzlib-conduit")
1388 (synopsis "Streaming compression/decompression via conduits")
1389 (description
1390 "This package provides Haskell bindings to bzlib and Conduit support for
1391streaming compression and decompression.")
1392 (license license:bsd-3)))
1393
1394(define-public ghc-c2hs
1395 (package
1396 (name "ghc-c2hs")
1397 (version "0.28.6")
1398 (source
1399 (origin
1400 (method url-fetch)
1401 (uri (string-append
1402 "https://hackage.haskell.org/package/c2hs/c2hs-"
1403 version
1404 ".tar.gz"))
1405 (sha256
1406 (base32
1407 "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci"))))
1408 (build-system haskell-build-system)
1409 (inputs
1410 `(("ghc-language-c" ,ghc-language-c)
1411 ("ghc-dlist" ,ghc-dlist)))
1412 (native-inputs
1413 `(("ghc-test-framework" ,ghc-test-framework)
1414 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1415 ("ghc-hunit" ,ghc-hunit)
a723d36d 1416 ("ghc-shelly" ,ghc-shelly)))
dddbc90c 1417 (arguments
bfebc598 1418 `(#:phases
dddbc90c
RV
1419 (modify-phases %standard-phases
1420 (add-before 'check 'set-cc
1421 ;; add a cc executable in the path, needed for some tests to pass
1422 (lambda* (#:key inputs #:allow-other-keys)
1423 (let ((gcc (assoc-ref inputs "gcc"))
1424 (tmpbin (tmpnam))
1425 (curpath (getenv "PATH")))
1426 (mkdir-p tmpbin)
1427 (symlink (which "gcc") (string-append tmpbin "/cc"))
1428 (setenv "PATH" (string-append tmpbin ":" curpath)))
1429 #t))
1430 (add-after 'check 'remove-cc
1431 ;; clean the tmp dir made in 'set-cc
1432 (lambda _
1433 (let* ((cc-path (which "cc"))
1434 (cc-dir (dirname cc-path)))
1435 (delete-file-recursively cc-dir)
1436 #t))))))
1437 (home-page "https://github.com/haskell/c2hs")
1438 (synopsis "Create Haskell bindings to C libraries")
1439 (description "C->Haskell assists in the development of Haskell bindings to
1440C libraries. It extracts interface information from C header files and
1441generates Haskell code with foreign imports and marshaling. Unlike writing
1442foreign imports by hand (or using hsc2hs), this ensures that C functions are
1443imported with the correct Haskell types.")
1444 (license license:gpl2)))
1445
1446(define-public ghc-cairo
1447 (package
1448 (name "ghc-cairo")
1449 (version "0.13.5.0")
1450 (source
1451 (origin
1452 (method url-fetch)
1453 (uri (string-append "https://hackage.haskell.org/package/cairo/"
1454 "cairo-" version ".tar.gz"))
1455 (sha256
1456 (base32
1457 "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2"))))
1458 (build-system haskell-build-system)
1459 (arguments
1460 `(#:modules ((guix build haskell-build-system)
1461 (guix build utils)
1462 (ice-9 match)
1463 (srfi srfi-26))
1464 #:phases
1465 (modify-phases %standard-phases
1466 ;; FIXME: This is a copy of the standard configure phase with a tiny
1467 ;; difference: this package needs the -package-db flag to be passed
1468 ;; to "runhaskell" in addition to the "configure" action, because it
1469 ;; depends on gtk2hs-buildtools, which provide setup hooks. Without
1470 ;; this option the Setup.hs file cannot be evaluated. The
1471 ;; haskell-build-system should be changed to pass "-package-db" to
1472 ;; "runhaskell" in any case.
1473 (replace 'configure
1474 (lambda* (#:key outputs inputs tests? (configure-flags '())
1475 #:allow-other-keys)
1476 (let* ((out (assoc-ref outputs "out"))
1477 (name-version (strip-store-file-name out))
1478 (input-dirs (match inputs
1479 (((_ . dir) ...)
1480 dir)
1481 (_ '())))
1482 (ghc-path (getenv "GHC_PACKAGE_PATH"))
1483 (params (append `(,(string-append "--prefix=" out))
1484 `(,(string-append "--libdir=" out "/lib"))
1485 `(,(string-append "--bindir=" out "/bin"))
1486 `(,(string-append
1487 "--docdir=" out
1488 "/share/doc/" name-version))
1489 '("--libsubdir=$compiler/$pkg-$version")
1490 '("--package-db=../package.conf.d")
1491 '("--global")
1492 `(,@(map
1493 (cut string-append "--extra-include-dirs=" <>)
1494 (search-path-as-list '("include") input-dirs)))
1495 `(,@(map
1496 (cut string-append "--extra-lib-dirs=" <>)
1497 (search-path-as-list '("lib") input-dirs)))
1498 (if tests?
1499 '("--enable-tests")
1500 '())
1501 configure-flags)))
1502 (unsetenv "GHC_PACKAGE_PATH")
1503 (apply invoke "runhaskell" "-package-db=../package.conf.d"
1504 "Setup.hs" "configure" params)
1505 (setenv "GHC_PACKAGE_PATH" ghc-path)
1506 #t))))))
1507 (inputs
1508 `(("ghc-utf8-string" ,ghc-utf8-string)
1509 ("cairo" ,cairo)))
1510 (native-inputs
1511 `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools)
1512 ("pkg-config" ,pkg-config)))
1513 (home-page "http://projects.haskell.org/gtk2hs/")
1514 (synopsis "Haskell bindings to the Cairo vector graphics library")
1515 (description
1516 "Cairo is a library to render high quality vector graphics. There exist
1517various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG
1518documents, amongst others.")
1519 (license license:bsd-3)))
1520
1521(define-public ghc-call-stack
1522 (package
1523 (name "ghc-call-stack")
1524 (version "0.1.0")
1525 (source
1526 (origin
1527 (method url-fetch)
1528 (uri (string-append "https://hackage.haskell.org/package/"
1529 "call-stack/call-stack-"
1530 version ".tar.gz"))
1531 (sha256
1532 (base32
1533 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
1534 (build-system haskell-build-system)
1535 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
1536 (home-page "https://github.com/sol/call-stack#readme")
1537 (synopsis "Use GHC call-stacks in a backward compatible way")
1538 (description "This package provides a compatibility layer for using GHC
1539call stacks with different versions of the compiler.")
1540 (license license:expat)))
1541
1542;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
1543;; because it depends on ghc-nanospec, which depends on ghc-hunit.
1544(define-public ghc-call-stack-boot
1545 (hidden-package
1546 (package
1547 (inherit ghc-call-stack)
1548 (arguments '(#:tests? #f))
1549 (inputs '()))))
1550
1551(define-public ghc-case-insensitive
1552 (package
1553 (name "ghc-case-insensitive")
1554 (version "1.2.0.11")
534d6caa 1555 (outputs '("out" "static" "doc"))
dddbc90c
RV
1556 (source
1557 (origin
1558 (method url-fetch)
1559 (uri (string-append
1560 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
1561 version
1562 ".tar.gz"))
1563 (sha256
1564 (base32
1565 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7"))))
1566 (build-system haskell-build-system)
1567 ;; these inputs are necessary to use this library
1568 (inputs
1569 `(("ghc-hashable" ,ghc-hashable)))
1570 (arguments
1571 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1572 (home-page
1573 "https://github.com/basvandijk/case-insensitive")
1574 (synopsis "Case insensitive string comparison")
1575 (description
1576 "The module @code{Data.CaseInsensitive} provides the @code{CI} type
1577constructor which can be parameterised by a string-like type like:
1578@code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of
1579the resulting type will be insensitive to cases.")
1580 (license license:bsd-3)))
1581
1748f1b8
CH
1582(define-public ghc-cassava
1583 (package
1584 (name "ghc-cassava")
1585 (version "0.5.2.0")
1586 (source
1587 (origin
1588 (method url-fetch)
1589 (uri (string-append
1590 "https://hackage.haskell.org/package/cassava/cassava-"
1591 version
1592 ".tar.gz"))
1593 (sha256
1594 (base32
1595 "01h1zrdqb313cjd4rqm1107azzx4czqi018c2djf66a5i7ajl3dk"))))
1596 (build-system haskell-build-system)
1597 (inputs
1598 `(("ghc-attoparsec" ,ghc-attoparsec)
1599 ("ghc-hashable" ,ghc-hashable)
1600 ("ghc-scientific" ,ghc-scientific)
1601 ("ghc-unordered-containers" ,ghc-unordered-containers)
1602 ("ghc-vector" ,ghc-vector)
1603 ("ghc-only" ,ghc-only)
1604 ("ghc-text-short" ,ghc-text-short)
1605 ("ghc-bytestring-builder" ,ghc-bytestring-builder)))
1606 (native-inputs
1607 `(("ghc-hunit" ,ghc-hunit)
1608 ("ghc-quickcheck" ,ghc-quickcheck)
1609 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
1610 ("ghc-test-framework" ,ghc-test-framework)
1611 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1612 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1613 (arguments
1614 `(#:cabal-revision
1615 ("1"
1616 "1ph8rf91z4nf1ryrh9s4gd1kq98jlgk2manwddkpch8k0n9xvfk4")
1617 #:configure-flags '("--flags=-bytestring--lt-0_10_4")))
1618 (home-page "https://github.com/haskell-hvr/cassava")
1619 (synopsis "CSV parsing and encoding library")
1620 (description
1621 "@code{cassava} is a library for parsing and encoding
1622@url{https://tools.ietf.org/html/rfc4180, RFC 4180} compliant @url{https://
1623en.wikipedia.org/wiki/Comma-separated_values, comma-separated values (CSV)}
1624data, which is a textual line-oriented format commonly used for exchanging
1625tabular data.
1626
1627@code{cassava}'s API includes support for:
1628
1629@itemize @bullet
1630
1631@item
1632Index-based record-conversion
1633@item
1634Name-based record-conversion
1635@item
1636Typeclass directed conversion of fields and records
1637@item
1638Built-in field-conversion instances for standard types
1639@item
1640Customizable record-conversion instance derivation via GHC generics
1641@item
1642Low-level @url{https://hackage.haskell.org/package/bytestring), bytestring}
1643builders (see @url{https://hackage.haskell.org/package/cassava-0.5.2.0/docs/
1644Data-Csv-Builder.html, Data.Csv.Builder})
1645@item
1646Incremental decoding and encoding API (see @url{https://hackage.haskell.org/
1647package/cassava-0.5.2.0/docs/Data-Csv-Incremental.html, Data.Csv.Incremental})
1648@item
1649Streaming API for constant-space decoding (see @url{https://hackage.haskell.org/
1650package/cassava-0.5.2.0/docs/Data-Csv-Streaming.html, Data.Csv.Streaming})
1651@end itemize
1652
1653Moreover, this library is designed to be easy to use; for instance, here's a
1654very simple example of encoding CSV data:
1655
1656@verbatim
1657>>> Data.Csv.encode [(\"John\",27),(\"Jane\",28)]
1658\"John,27\r\nJane,28\r\n\"
1659@end verbatim
1660")
1661 (license license:bsd-3)))
1662
aa8f4009
CH
1663(define-public ghc-cassava-megaparsec
1664 (package
1665 (name "ghc-cassava-megaparsec")
1666 (version "2.0.2")
1667 (source
1668 (origin
1669 (method url-fetch)
1670 (uri (string-append
1671 "https://hackage.haskell.org/package/cassava-megaparsec/"
1672 "cassava-megaparsec-"
1673 version
1674 ".tar.gz"))
1675 (sha256
1676 (base32
1677 "03x1462agrfdagklp8c89b8p4z2hd8nbf6d3895sz770zjkawda7"))))
1678 (build-system haskell-build-system)
1679 (inputs
1680 `(("ghc-cassava" ,ghc-cassava)
1681 ("ghc-megaparsec" ,ghc-megaparsec)
1682 ("ghc-unordered-containers" ,ghc-unordered-containers)
1683 ("ghc-vector" ,ghc-vector)))
1684 (native-inputs
1685 `(("ghc-hspec" ,ghc-hspec)
1686 ("ghc-hspec-megaparsec" ,ghc-hspec-megaparsec)))
1687 (home-page "https://github.com/stackbuilders/cassava-megaparsec")
1688 (synopsis "Megaparsec parser for CSV files that plays nicely with Cassava")
1689 (description
1690 "Alternative parser for the Cassava package written with Megaparsec that
1691provides for better error messages at the expense of some speed.")
1692 (license license:expat)))
1693
6ba536a1
JS
1694(define-public ghc-cborg
1695 (package
1696 (name "ghc-cborg")
1697 (version "0.2.2.0")
1698 (source
1699 (origin
1700 (method url-fetch)
1701 (uri (string-append
1702 "mirror://hackage/package/cborg/cborg-"
1703 version
1704 ".tar.gz"))
1705 (sha256
1706 (base32
1707 "1rdnvy0w17s70ikmbyrnwax5rvqh19l95sh8i7ipgxi23z1r0bp1"))))
1708 (build-system haskell-build-system)
1709 (inputs
1710 `(("ghc-half" ,ghc-half)
1711 ("ghc-primitive" ,ghc-primitive)))
1712 (native-inputs
1713 `(("ghc-aeson" ,ghc-aeson)
1714 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
1715 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
1716 ("ghc-fail" ,ghc-fail)
1717 ("ghc-quickcheck" ,ghc-quickcheck)
1718 ("ghc-scientific" ,ghc-scientific)
1719 ("ghc-tasty" ,ghc-tasty)
1720 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
1721 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
1722 ("ghc-vector" ,ghc-vector)))
1723 (home-page "http://hackage.haskell.org/package/cborg")
1724 (synopsis "Concise Binary Object Representation")
1725 (description
1726 "This package (formerly binary-serialise-cbor) provides an
1727efficient implementation of the Concise Binary Object
1728Representation (CBOR), as specified by RFC 7049 at
1729https://tools.ietf.org/html/rfc7049.
1730
1731If you are looking for a library for serialisation of Haskell values, have a
1732look at the @url{https://hackage.haskell.org/package/serialise} package, which
1733is built upon this library.
1734
1735An implementation of the standard bijection between CBOR and JSON is provided
1736by the @url{https://hackage.haskell.org/package/cborg-json} package.
1737
1738Also see @code{https://hackage.haskell.org/package/cbor-tool} for a convenient
1739command-line utility for working with CBOR data.")
1740 (license license:bsd-3)))
1741
5434fec9
JS
1742(define-public ghc-cborg-json
1743 (package
1744 (name "ghc-cborg-json")
1745 (version "0.2.2.0")
1746 (source
1747 (origin
1748 (method url-fetch)
1749 (uri (string-append
1750 "mirror://hackage/package/cborg-json/cborg-json-"
1751 version
1752 ".tar.gz"))
1753 (sha256
1754 (base32 "0ysilz7rrjk94sqr3a61s98hr9qfi1xg13bskmlpc6mpgi2s4s5b"))))
1755 (build-system haskell-build-system)
1756 (inputs
1757 `(("ghc-aeson" ,ghc-aeson)
1758 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
1759 ("ghc-unordered-containers" ,ghc-unordered-containers)
1760 ("ghc-scientific" ,ghc-scientific)
1761 ("ghc-vector" ,ghc-vector)
1762 ("ghc-cborg" ,ghc-cborg)))
1763 (home-page "https://github.com/well-typed/cborg")
1764 (synopsis "A library for encoding JSON as CBOR")
1765 (description
1766 "This package implements the bijection between JSON and CBOR
1767defined in the CBOR specification, RFC 7049.")
1768 (license license:bsd-3)))
1769
dddbc90c
RV
1770(define-public ghc-cereal
1771 (package
1772 (name "ghc-cereal")
bd95427e 1773 (version "0.5.8.1")
dddbc90c
RV
1774 (source
1775 (origin
1776 (method url-fetch)
1777 (uri (string-append
1778 "https://hackage.haskell.org/package/cereal/cereal-"
1779 version
1780 ".tar.gz"))
1781 (sha256
1782 (base32
bd95427e 1783 "1mqvd1iwzr50az4y24332x3g3wsrzw8j1iwph02vr7jbjfn8i7id"))))
dddbc90c
RV
1784 (build-system haskell-build-system)
1785 (native-inputs
1786 `(("ghc-quickcheck" ,ghc-quickcheck)
1787 ("ghc-fail" ,ghc-fail)
1788 ("ghc-test-framework" ,ghc-test-framework)
1789 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1790 (home-page "https://hackage.haskell.org/package/cereal")
1791 (synopsis "Binary serialization library")
1792 (description "This package provides a binary serialization library,
1793similar to @code{binary}, that introduces an @code{isolate} primitive for
1794parser isolation, and labeled blocks for better error messages.")
1795 (license license:bsd-3)))
1796
1797(define-public ghc-cereal-conduit
1798 (package
1799 (name "ghc-cereal-conduit")
1800 (version "0.8.0")
1801 (source
1802 (origin
1803 (method url-fetch)
1804 (uri (string-append "https://hackage.haskell.org/package/"
1805 "cereal-conduit/cereal-conduit-"
1806 version ".tar.gz"))
1807 (sha256
1808 (base32
1809 "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r"))))
1810 (build-system haskell-build-system)
1811 (inputs
1812 `(("ghc-conduit" ,ghc-conduit)
1813 ("ghc-resourcet" ,ghc-resourcet)
1814 ("ghc-cereal" ,ghc-cereal)))
1815 (native-inputs
1816 `(("ghc-hunit" ,ghc-hunit)))
1817 (home-page "https://github.com/snoyberg/conduit")
1818 (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits")
1819 (description
1820 "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into
1821@code{Sources}, @code{Sinks}, and @code{Conduits}.")
1822 (license license:bsd-3)))
1823
1824(define-public ghc-cgi
1825 (package
1826 (name "ghc-cgi")
b6b2c218 1827 (version "3001.4.0.0")
dddbc90c
RV
1828 (source
1829 (origin
1830 (method url-fetch)
1831 (uri (string-append
1832 "https://hackage.haskell.org/package/cgi/cgi-"
1833 version
1834 ".tar.gz"))
1835 (sha256
1836 (base32
b6b2c218 1837 "1d0nh5ymkqskkp4yn0gfz4mff8i0cxyw1wws8xxp6k1mg1ywa25k"))))
dddbc90c 1838 (build-system haskell-build-system)
dddbc90c
RV
1839 (inputs
1840 `(("ghc-exceptions" ,ghc-exceptions)
1841 ("ghc-multipart" ,ghc-multipart)
1842 ("ghc-network-uri" ,ghc-network-uri)
1843 ("ghc-network" ,ghc-network)))
1844 (native-inputs
1845 `(("ghc-doctest" ,ghc-doctest)
1846 ("ghc-quickcheck" ,ghc-quickcheck)))
1847 (home-page
1848 "https://github.com/cheecheeo/haskell-cgi")
1849 (synopsis "Library for writing CGI programs")
1850 (description
1851 "This is a Haskell library for writing CGI programs.")
1852 (license license:bsd-3)))
1853
1854(define-public ghc-charset
1855 (package
1856 (name "ghc-charset")
1857 (version "0.3.7.1")
1858 (source
1859 (origin
1860 (method url-fetch)
1861 (uri (string-append
1862 "https://hackage.haskell.org/package/charset/charset-"
1863 version
1864 ".tar.gz"))
1865 (sha256
1866 (base32
1867 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
1868 (build-system haskell-build-system)
35ee173c
TS
1869 (arguments
1870 `(#:cabal-revision
1871 ("1" "1z6nxw2g9vgsjq0g159sk8mwj68lwzxzi5iv5ynha0h85jcqxszy")))
dddbc90c
RV
1872 (inputs
1873 `(("ghc-semigroups" ,ghc-semigroups)
1874 ("ghc-unordered-containers" ,ghc-unordered-containers)))
1875 (home-page "https://github.com/ekmett/charset")
1876 (synopsis "Fast unicode character sets for Haskell")
1877 (description "This package provides fast unicode character sets for
1878Haskell, based on complemented PATRICIA tries.")
1879 (license license:bsd-3)))
1880
1881(define-public ghc-chart
1882 (package
1883 (name "ghc-chart")
6cd84b98 1884 (version "1.9.1")
dddbc90c
RV
1885 (source
1886 (origin
1887 (method url-fetch)
1888 (uri (string-append "https://hackage.haskell.org/package/Chart/"
1889 "Chart-" version ".tar.gz"))
1890 (sha256
1891 (base32
6cd84b98 1892 "1pn735k9ifxlb9mdh8xy7wi22cxni8xyr28n8zx9w0j6vprcg89l"))))
dddbc90c
RV
1893 (build-system haskell-build-system)
1894 (inputs
1895 `(("ghc-old-locale" ,ghc-old-locale)
1896 ("ghc-lens" ,ghc-lens)
1897 ("ghc-colour" ,ghc-colour)
1898 ("ghc-data-default-class" ,ghc-data-default-class)
1899 ("ghc-operational" ,ghc-operational)
1900 ("ghc-vector" ,ghc-vector)))
1901 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1902 (synopsis "Library for generating 2D charts and plots")
1903 (description
1904 "This package provides a library for generating 2D charts and plots, with
1905backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
1906 (license license:bsd-3)))
1907
1908(define-public ghc-chart-cairo
1909 (package
1910 (name "ghc-chart-cairo")
5cf9264d 1911 (version "1.9.1")
dddbc90c
RV
1912 (source
1913 (origin
1914 (method url-fetch)
1915 (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/"
1916 "Chart-cairo-" version ".tar.gz"))
1917 (sha256
1918 (base32
5cf9264d 1919 "0hknj4rsjf2m8p5pyq5zff8ai7v80yvmxb5c6n0bkgxs4317nbl9"))))
dddbc90c
RV
1920 (build-system haskell-build-system)
1921 (inputs
1922 `(("ghc-old-locale" ,ghc-old-locale)
1923 ("ghc-cairo" ,ghc-cairo)
1924 ("ghc-colour" ,ghc-colour)
1925 ("ghc-data-default-class" ,ghc-data-default-class)
1926 ("ghc-operational" ,ghc-operational)
1927 ("ghc-lens" ,ghc-lens)
1928 ("ghc-chart" ,ghc-chart)))
1929 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1930 (synopsis "Cairo backend for Charts")
1931 (description "This package provides a Cairo vector graphics rendering
1932backend for the Charts library.")
1933 (license license:bsd-3)))
1934
1935(define-public ghc-chasingbottoms
1936 (package
1937 (name "ghc-chasingbottoms")
1f67853e 1938 (version "1.3.1.7")
dddbc90c
RV
1939 (source
1940 (origin
1941 (method url-fetch)
1942 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
1943 "ChasingBottoms-" version ".tar.gz"))
1944 (sha256
1945 (base32
1f67853e 1946 "0ziiqfsvv1ypdra6kd0bhbsl852i0wqn43jkfii38yl879cdacan"))))
dddbc90c
RV
1947 (build-system haskell-build-system)
1948 (inputs
1949 `(("ghc-quickcheck" ,ghc-quickcheck)
1950 ("ghc-random" ,ghc-random)
1951 ("ghc-syb" ,ghc-syb)))
1952 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
1953 (synopsis "Testing of partial and infinite values in Haskell")
1954 (description
1955 ;; FIXME: There should be a @comma{} in the uref text, but it is not
1956 ;; rendered properly.
1957 "This is a library for testing code involving bottoms or infinite values.
1958For the underlying theory and a larger example involving use of QuickCheck,
1959see the article
1960@uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
1961\"Chasing Bottoms A Case Study in Program Verification in the Presence of
1962Partial and Infinite Values\"}.")
1963 (license license:expat)))
1964
1965(define-public ghc-cheapskate
1966 (package
1967 (name "ghc-cheapskate")
5e18bb9e 1968 (version "0.1.1.1")
dddbc90c
RV
1969 (source
1970 (origin
1971 (method url-fetch)
1972 (uri (string-append
1973 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
1974 version
1975 ".tar.gz"))
1976 (sha256
1977 (base32
5e18bb9e 1978 "0qnyd8bni2rby6b02ff4bvfdhm1hwc8vzpmnms84jgrlg1lly3fm"))))
dddbc90c
RV
1979 (build-system haskell-build-system)
1980 (inputs
1981 `(("ghc-blaze-html" ,ghc-blaze-html)
1982 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
1983 ("ghc-data-default" ,ghc-data-default)
1984 ("ghc-syb" ,ghc-syb)
1985 ("ghc-uniplate" ,ghc-uniplate)))
1986 (home-page "https://github.com/jgm/cheapskate")
1987 (synopsis "Experimental markdown processor")
1988 (description "Cheapskate is an experimental Markdown processor in pure
1989Haskell. It aims to process Markdown efficiently and in the most forgiving
1990possible way. It is designed to deal with any input, including garbage, with
1991linear performance. Output is sanitized by default for protection against
1992cross-site scripting (@dfn{XSS}) attacks.")
1993 (license license:bsd-3)))
1994
1995(define-public ghc-chell
1996 (package
1997 (name "ghc-chell")
acdd03be 1998 (version "0.5")
dddbc90c
RV
1999 (source
2000 (origin
2001 (method url-fetch)
2002 (uri (string-append
2003 "https://hackage.haskell.org/package/chell/chell-"
2004 version ".tar.gz"))
2005 (sha256
2006 (base32
acdd03be 2007 "1i845isfbk0yq852am9bqmxfpfkpnlha8nfidffsv4gw2p8gg6fg"))))
dddbc90c 2008 (build-system haskell-build-system)
acdd03be
TS
2009 (arguments
2010 `(#:cabal-revision
2011 ("1" "1q93wrw03ix4cmnkz3lzkixcvvizw6i2ia2zifdfak1dvxnblxk0")))
dddbc90c
RV
2012 (inputs
2013 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
2014 ("ghc-patience" ,ghc-patience)
2015 ("ghc-random" ,ghc-random)
2016 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
2017 (home-page "https://john-millikin.com/software/chell/")
2018 (synopsis "Simple and intuitive library for automated testing")
2019 (description
2020 "Chell is a simple and intuitive library for automated testing.
2021It natively supports assertion-based testing, and can use companion
2022libraries such as @code{chell-quickcheck} to support more complex
2023testing strategies.")
2024 (license license:expat)))
2025
2026(define-public ghc-chell-quickcheck
2027 (package
2028 (name "ghc-chell-quickcheck")
e0e21831 2029 (version "0.2.5.2")
dddbc90c
RV
2030 (source
2031 (origin
2032 (method url-fetch)
2033 (uri (string-append
2034 "https://hackage.haskell.org/package/chell-quickcheck/"
2035 "chell-quickcheck-" version ".tar.gz"))
2036 (sha256
2037 (base32
e0e21831 2038 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
dddbc90c
RV
2039 (build-system haskell-build-system)
2040 (arguments
2041 `(#:phases
2042 (modify-phases %standard-phases
2043 (add-before 'configure 'update-constraints
2044 (lambda _
2045 (substitute* "chell-quickcheck.cabal"
e0e21831
TS
2046 (("QuickCheck >= 2\\.3 && < 2\\.13")
2047 "QuickCheck >= 2.3 && < 2.14")))))))
dddbc90c
RV
2048 (inputs
2049 `(("ghc-chell" ,ghc-chell)
2050 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
2051 ("ghc-random" ,ghc-random)
2052 ("ghc-quickcheck" ,ghc-quickcheck)))
2053 (home-page "https://john-millikin.com/software/chell/")
2054 (synopsis "QuickCheck support for the Chell testing library")
2055 (description "More complex tests for @code{chell}.")
2056 (license license:expat)))
2057
2058(define ghc-chell-quickcheck-bootstrap
2059 (package
2060 (name "ghc-chell-quickcheck-bootstrap")
e0e21831 2061 (version "0.2.5.2")
dddbc90c
RV
2062 (source
2063 (origin
2064 (method url-fetch)
2065 (uri (string-append
2066 "https://hackage.haskell.org/package/chell-quickcheck/"
2067 "chell-quickcheck-" version ".tar.gz"))
2068 (sha256
2069 (base32
e0e21831 2070 "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03"))))
dddbc90c
RV
2071 (build-system haskell-build-system)
2072 (inputs
2073 `(("ghc-chell" ,ghc-chell)
2074 ("ghc-random" ,ghc-random)
2075 ("ghc-quickcheck" ,ghc-quickcheck)))
2076 (arguments
2077 `(#:tests? #f
2078 #:phases
2079 (modify-phases %standard-phases
2080 (add-before 'configure 'update-constraints
2081 (lambda _
2082 (substitute* "chell-quickcheck.cabal"
e0e21831
TS
2083 (("QuickCheck >= 2\\.3 && < 2\\.13")
2084 "QuickCheck >= 2.3 && < 2.14")))))))
dddbc90c
RV
2085 (home-page "https://john-millikin.com/software/chell/")
2086 (synopsis "QuickCheck support for the Chell testing library")
2087 (description "More complex tests for @code{chell}.")
2088 (license license:expat)))
2089
2090(define-public ghc-chunked-data
2091 (package
2092 (name "ghc-chunked-data")
2093 (version "0.3.1")
2094 (source
2095 (origin
2096 (method url-fetch)
2097 (uri (string-append "https://hackage.haskell.org/package/"
2098 "chunked-data-" version "/"
2099 "chunked-data-" version ".tar.gz"))
2100 (sha256
2101 (base32
2102 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
2103 (build-system haskell-build-system)
2104 (inputs `(("ghc-vector" ,ghc-vector)
2105 ("ghc-semigroups" ,ghc-semigroups)))
2106 (home-page "https://github.com/snoyberg/mono-traversable")
2107 (synopsis "Typeclasses for dealing with various chunked data
2108representations for Haskell")
2109 (description "This Haskell package was originally present in
2110classy-prelude.")
2111 (license license:expat)))
2112
2113(define-public ghc-clock
2114 (package
2115 (name "ghc-clock")
0841b6f2 2116 (version "0.8")
dddbc90c
RV
2117 (source
2118 (origin
2119 (method url-fetch)
2120 (uri (string-append
2121 "https://hackage.haskell.org/package/"
2122 "clock/"
2123 "clock-" version ".tar.gz"))
2124 (sha256
0841b6f2 2125 (base32 "0539w9bjw6xbfv9v6aq9hijszxqdnqhilwpbwpql1400ji95r8q8"))))
dddbc90c
RV
2126 (build-system haskell-build-system)
2127 (inputs
2128 `(("ghc-tasty" ,ghc-tasty)
2129 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
2130 (home-page "https://hackage.haskell.org/package/clock")
2131 (synopsis "High-resolution clock for Haskell")
2132 (description "A package for convenient access to high-resolution clock and
2133timer functions of different operating systems via a unified API.")
2134 (license license:bsd-3)))
2135
2136;; This package builds `clock` without tests, since the tests rely on tasty
2137;; and tasty-quickcheck, which in turn require clock to build.
2138(define-public ghc-clock-bootstrap
2139 (package
2140 (inherit ghc-clock)
2141 (name "ghc-clock-bootstrap")
2142 (arguments '(#:tests? #f))
2143 (inputs '())
2144 (properties '((hidden? #t)))))
2145
2146(define-public ghc-cmark
2147 (package
2148 (name "ghc-cmark")
6bdd36c0 2149 (version "0.6")
dddbc90c
RV
2150 (source (origin
2151 (method url-fetch)
6bdd36c0 2152 ;; XXX As of version 0.6, this package bundles libcmark 0.28.0.
dddbc90c
RV
2153 ;; See cbits/cmark_version.h.
2154 (uri (string-append "https://hackage.haskell.org/package/"
2155 "cmark/cmark-" version ".tar.gz"))
2156 (sha256
2157 (base32
6bdd36c0 2158 "1p41z6z8dqxk62287lvhhg4ayy9laai9ljh4azsnzb029v6mbv0d"))))
dddbc90c
RV
2159 (build-system haskell-build-system)
2160 (native-inputs
2161 `(("ghc-hunit" ,ghc-hunit)))
2162 (home-page "https://github.com/jgm/commonmark-hs")
2163 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
2164 (description
2165 "This package provides Haskell bindings for
2166@uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
2167CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
2168sources, and does not require prior installation of the C library.")
2169 (license license:bsd-3)))
2170
2171(define-public ghc-cmark-gfm
2172 (package
2173 (name "ghc-cmark-gfm")
24fc8dae 2174 (version "0.2.0")
dddbc90c
RV
2175 (source
2176 (origin
2177 (method url-fetch)
2178 (uri (string-append "https://hackage.haskell.org/package/"
2179 "cmark-gfm/cmark-gfm-"
2180 version ".tar.gz"))
2181 (sha256
2182 (base32
24fc8dae 2183 "03xflrkyw84qv3yjly5iks9311bqv5cmrmsylr763v4ph0fn7rjq"))))
dddbc90c
RV
2184 (build-system haskell-build-system)
2185 (native-inputs
2186 `(("ghc-hunit" ,ghc-hunit)))
2187 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
2188 (synopsis
2189 "Fast, accurate GitHub Flavored Markdown parser and renderer")
2190 (description
2191 "This package provides Haskell bindings for libcmark-gfm, the reference
2192parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
2193It includes sources for libcmark-gfm and does not require prior installation
2194of the C library.")
2195 (license license:bsd-3)))
2196
2197(define-public ghc-cmdargs
2198 (package
2199 (name "ghc-cmdargs")
2200 (version "0.10.20")
2201 (source
2202 (origin
2203 (method url-fetch)
2204 (uri (string-append
2205 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
2206 version ".tar.gz"))
2207 (sha256
2208 (base32
2209 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
2210 (build-system haskell-build-system)
3e545443 2211 (outputs '("out" "static" "doc"))
dddbc90c
RV
2212 (home-page
2213 "http://community.haskell.org/~ndm/cmdargs/")
2214 (synopsis "Command line argument processing")
2215 (description
2216 "This library provides an easy way to define command line parsers.")
2217 (license license:bsd-3)))
2218
2219(define-public ghc-code-page
2220 (package
2221 (name "ghc-code-page")
f6bb6519 2222 (version "0.2")
dddbc90c
RV
2223 (source
2224 (origin
2225 (method url-fetch)
2226 (uri (string-append
2227 "https://hackage.haskell.org/package/code-page/code-page-"
2228 version ".tar.gz"))
2229 (sha256
2230 (base32
f6bb6519 2231 "0i0qbrbhvrwkbikqb7hh7yxaipaavwzvyrw211d0vkz99f62mqxz"))))
dddbc90c
RV
2232 (build-system haskell-build-system)
2233 (home-page "https://github.com/RyanGlScott/code-page")
2234 (synopsis "Windows code page library for Haskell")
2235 (description "A cross-platform library with functions for adjusting
2236code pages on Windows. On all other operating systems, the library does
2237nothing.")
2238 (license license:bsd-3)))
2239
2240(define-public ghc-colour
2241(package
2242 (name "ghc-colour")
bc9d1af9 2243 (version "2.3.5")
dddbc90c
RV
2244 (source
2245 (origin
2246 (method url-fetch)
2247 (uri (string-append
2248 "https://hackage.haskell.org/package/colour/colour-"
2249 version ".tar.gz"))
2250 (sha256
2251 (base32
bc9d1af9 2252 "1rq4l46jx4lpdppy71wf7m1n7pw2jwy788rm35ycwzb1g4clg39v"))))
dddbc90c
RV
2253 (arguments
2254 ;; The tests for this package have the following dependency cycle:
2255 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
2256 `(#:tests? #f))
2257 (build-system haskell-build-system)
228d2901 2258 (home-page "https://wiki.haskell.org/Colour")
dddbc90c
RV
2259 (synopsis "Model for human colour perception")
2260 (description
2261 "This package provides a data type for colours and transparency.
2262Colours can be blended and composed. Various colour spaces are
2263supported. A module of colour names (\"Data.Colour.Names\") is provided.")
2264 (license license:expat)))
2265
2266(define-public ghc-comonad
2267 (package
2268 (name "ghc-comonad")
1a825512 2269 (version "5.0.5")
dddbc90c
RV
2270 (source
2271 (origin
2272 (method url-fetch)
2273 (uri (string-append
2274 "https://hackage.haskell.org/package/comonad/comonad-"
2275 version
2276 ".tar.gz"))
2277 (sha256
2278 (base32
1a825512 2279 "1l7snp2mszgnjgd0nc9kzfyd13vla0rlazqi03rwx2akcxk14n3c"))))
dddbc90c
RV
2280 (build-system haskell-build-system)
2281 (native-inputs
2282 `(("cabal-doctest" ,cabal-doctest)
2283 ("ghc-doctest" ,ghc-doctest)))
2284 (inputs
2285 `(("ghc-contravariant" ,ghc-contravariant)
2286 ("ghc-distributive" ,ghc-distributive)
2287 ("ghc-semigroups" ,ghc-semigroups)
2288 ("ghc-tagged" ,ghc-tagged)
2289 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2290 (home-page "https://github.com/ekmett/comonad/")
2291 (synopsis "Comonads for Haskell")
2292 (description "This library provides @code{Comonad}s for Haskell.")
2293 (license license:bsd-3)))
2294
2295(define-public ghc-concatenative
2296 (package
2297 (name "ghc-concatenative")
2298 (version "1.0.1")
2299 (source (origin
2300 (method url-fetch)
2301 (uri (string-append
2302 "https://hackage.haskell.org/package/concatenative/concatenative-"
2303 version ".tar.gz"))
2304 (sha256
2305 (base32
2306 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
2307 (build-system haskell-build-system)
2308 (home-page
2309 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
2310 (synopsis "Library for postfix control flow")
2311 (description
2312 "Concatenative gives Haskell Factor-style combinators and arrows for
2313postfix notation. For more information on stack based languages, see
2314@uref{https://concatenative.org}.")
2315 (license license:bsd-3)))
2316
2317(define-public ghc-concurrent-extra
2318 (package
2319 (name "ghc-concurrent-extra")
2320 (version "0.7.0.12")
2321 (source
2322 (origin
2323 (method url-fetch)
2324 (uri (string-append "https://hackage.haskell.org/package/"
2325 "concurrent-extra/concurrent-extra-"
2326 version ".tar.gz"))
2327 (sha256
2328 (base32
2329 "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4"))))
2330 (build-system haskell-build-system)
2331 (arguments
2332 ;; XXX: The ReadWriteLock 'stressTest' fails.
2333 `(#:tests? #f))
2334 (inputs
2335 `(("ghc-unbounded-delays" ,ghc-unbounded-delays)))
2336 (native-inputs
2337 `(("ghc-async" ,ghc-async)
2338 ("ghc-hunit" ,ghc-hunit)
2339 ("ghc-random" ,ghc-random)
2340 ("ghc-test-framework" ,ghc-test-framework)
2341 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2342 (home-page "https://github.com/basvandijk/concurrent-extra")
2343 (synopsis "Extra concurrency primitives")
2344 (description "This Haskell library offers (among other things) the
2345following selection of synchronisation primitives:
2346
2347@itemize
2348@item @code{Broadcast}: Wake multiple threads by broadcasting a value.
2349@item @code{Event}: Wake multiple threads by signalling an event.
2350@item @code{Lock}: Enforce exclusive access to a resource. Also known
2351as a binary semaphore or mutex. The package additionally provides an
2352alternative that works in the STM monad.
2353@item @code{RLock}: A lock which can be acquired multiple times by the
2354same thread. Also known as a reentrant mutex.
2355@item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used
2356to protect shared resources which may be concurrently read, but only
2357sequentially written.
2358@item @code{ReadWriteVar}: Concurrent read, sequential write variables.
2359@end itemize
2360
2361Please consult the API documentation of the individual modules for more
2362detailed information.
2363
2364This package was inspired by the concurrency libraries of Java and
2365Python.")
2366 (license license:bsd-3)))
2367
2368(define-public ghc-concurrent-output
2369 (package
2370 (name "ghc-concurrent-output")
4fce0a4a 2371 (version "1.10.11")
dddbc90c
RV
2372 (source
2373 (origin
2374 (method url-fetch)
2375 (uri (string-append
2376 "mirror://hackage/package/concurrent-output/concurrent-output-"
2377 version
2378 ".tar.gz"))
2379 (sha256
2380 (base32
4fce0a4a 2381 "1d1aaqg5814k59b0iws3fh06p3g2siaj922gkhs75qgncj0my2p3"))))
dddbc90c
RV
2382 (build-system haskell-build-system)
2383 (inputs
2384 `(("ghc-async" ,ghc-async)
2385 ("ghc-exceptions" ,ghc-exceptions)
2386 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
2387 ("ghc-terminal-size" ,ghc-terminal-size)))
2388 (home-page
2389 "https://hackage.haskell.org/package/concurrent-output")
2390 (synopsis
2391 "Ungarble output from several threads or commands")
2392 (description
2393 "Lets multiple threads and external processes concurrently output to the
2394console, without it getting all garbled up.
2395
2396Built on top of that is a way of defining multiple output regions, which are
2397automatically laid out on the screen and can be individually updated by
2398concurrent threads. Can be used for progress displays etc.")
2399 (license license:bsd-2)))
2400
2401(define-public ghc-conduit
2402 (package
2403 (name "ghc-conduit")
1ac981d4 2404 (version "1.3.1.1")
dddbc90c
RV
2405 (source (origin
2406 (method url-fetch)
2407 (uri (string-append "https://hackage.haskell.org/package/"
2408 "conduit/conduit-" version ".tar.gz"))
2409 (sha256
2410 (base32
1ac981d4 2411 "18izjgff4pmrknc8py06yvg3g6x27nx0rzmlwjxcflwm5v4szpw4"))))
dddbc90c 2412 (build-system haskell-build-system)
20e5edb1 2413 (outputs '("out" "static" "doc"))
dddbc90c
RV
2414 (inputs
2415 `(("ghc-exceptions" ,ghc-exceptions)
2416 ("ghc-lifted-base" ,ghc-lifted-base)
2417 ("ghc-mono-traversable" ,ghc-mono-traversable)
2418 ("ghc-mmorph" ,ghc-mmorph)
2419 ("ghc-resourcet" ,ghc-resourcet)
2420 ("ghc-silently" ,ghc-silently)
2421 ("ghc-transformers-base" ,ghc-transformers-base)
2422 ("ghc-unliftio" ,ghc-unliftio)
2423 ("ghc-unliftio-core" ,ghc-unliftio-core)
2424 ("ghc-vector" ,ghc-vector)
2425 ("ghc-void" ,ghc-void)))
2426 (native-inputs
2427 `(("ghc-quickcheck" ,ghc-quickcheck)
2428 ("ghc-hspec" ,ghc-hspec)
2429 ("ghc-safe" ,ghc-safe)
2430 ("ghc-split" ,ghc-split)))
2431 (home-page "https://github.com/snoyberg/conduit")
2432 (synopsis "Streaming data library ")
2433 (description
2434 "The conduit package is a solution to the streaming data problem,
2435allowing for production, transformation, and consumption of streams of data
2436in constant memory. It is an alternative to lazy I/O which guarantees
2437deterministic resource handling, and fits in the same general solution
2438space as enumerator/iteratee and pipes.")
2439 (license license:expat)))
2440
2441(define-public ghc-conduit-algorithms
2442 (package
2443 (name "ghc-conduit-algorithms")
503b74ae 2444 (version "0.0.11.0")
dddbc90c
RV
2445 (source
2446 (origin
2447 (method url-fetch)
2448 (uri (string-append "https://hackage.haskell.org/package/"
2449 "conduit-algorithms/conduit-algorithms-"
2450 version ".tar.gz"))
2451 (sha256
2452 (base32
503b74ae 2453 "0c1jwz30kkvimx7lb61782yk0kyfamrf5bqc3g1h7g51lk8bbv9i"))))
dddbc90c
RV
2454 (build-system haskell-build-system)
2455 (inputs
2456 `(("ghc-async" ,ghc-async)
2457 ("ghc-bzlib-conduit" ,ghc-bzlib-conduit)
2458 ("ghc-conduit" ,ghc-conduit)
2459 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2460 ("ghc-conduit-extra" ,ghc-conduit-extra)
503b74ae 2461 ("ghc-conduit-zstd" ,ghc-conduit-zstd)
dddbc90c
RV
2462 ("ghc-exceptions" ,ghc-exceptions)
2463 ("ghc-lzma-conduit" ,ghc-lzma-conduit)
2464 ("ghc-monad-control" ,ghc-monad-control)
2465 ("ghc-pqueue" ,ghc-pqueue)
2466 ("ghc-resourcet" ,ghc-resourcet)
2467 ("ghc-stm-conduit" ,ghc-stm-conduit)
2468 ("ghc-streaming-commons" ,ghc-streaming-commons)
2469 ("ghc-unliftio-core" ,ghc-unliftio-core)
2470 ("ghc-vector" ,ghc-vector)))
2471 (native-inputs
2472 `(("ghc-hunit" ,ghc-hunit)
2473 ("ghc-test-framework" ,ghc-test-framework)
2474 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2475 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2476 (home-page "https://github.com/luispedro/conduit-algorithms#readme")
2477 (synopsis "Conduit-based algorithms")
2478 (description
2479 "This package provides algorithms on @code{Conduits}, including higher
2480level asynchronous processing and some other utilities.")
2481 (license license:expat)))
2482
2483(define-public ghc-conduit-combinators
2484 (package
2485 (name "ghc-conduit-combinators")
2486 (version "1.3.0")
2487 (source
2488 (origin
2489 (method url-fetch)
2490 (uri (string-append "https://hackage.haskell.org/package/"
2491 "conduit-combinators-" version "/"
2492 "conduit-combinators-" version ".tar.gz"))
2493 (sha256
2494 (base32
2495 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
2496 (build-system haskell-build-system)
2497 (inputs `(("ghc-conduit" ,ghc-conduit)
2498 ("ghc-conduit-extra" ,ghc-conduit-extra)
2499 ("ghc-transformers-base" ,ghc-transformers-base)
2500 ("ghc-primitive" ,ghc-primitive)
2501 ("ghc-vector" ,ghc-vector)
2502 ("ghc-void" ,ghc-void)
2503 ("ghc-mwc-random" ,ghc-mwc-random)
2504 ("ghc-unix-compat" ,ghc-unix-compat)
2505 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
2506 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
2507 ("ghc-resourcet" ,ghc-resourcet)
2508 ("ghc-monad-control" ,ghc-monad-control)
2509 ("ghc-chunked-data" ,ghc-chunked-data)
2510 ("ghc-mono-traversable" ,ghc-mono-traversable)))
2511 (native-inputs `(("ghc-hspec" ,ghc-hspec)
2512 ("ghc-silently" ,ghc-silently)
2513 ("ghc-safe" ,ghc-safe)
2514 ("ghc-quickcheck" ,ghc-quickcheck)))
2515 (home-page "https://github.com/snoyberg/mono-traversable")
2516 (synopsis "Commonly used conduit functions, for both chunked and
2517unchunked data")
2518 (description "This Haskell package provides a replacement for Data.Conduit.List,
2519as well as a convenient Conduit module.")
2520 (license license:expat)))
2521
2522(define-public ghc-conduit-extra
2523 (package
2524 (name "ghc-conduit-extra")
151774d9 2525 (version "1.3.4")
dddbc90c
RV
2526 (source
2527 (origin
2528 (method url-fetch)
2529 (uri (string-append "https://hackage.haskell.org/package/"
2530 "conduit-extra/conduit-extra-"
2531 version ".tar.gz"))
2532 (sha256
2533 (base32
151774d9 2534 "1d853d39vj5pb8yxfcsnjwdzqzkm34ixzbnba8bslpihb7182wxi"))))
dddbc90c
RV
2535 (build-system haskell-build-system)
2536 (inputs
2537 `(("ghc-conduit" ,ghc-conduit)
2538 ("ghc-exceptions" ,ghc-exceptions)
2539 ("ghc-monad-control" ,ghc-monad-control)
2540 ("ghc-transformers-base" ,ghc-transformers-base)
2541 ("ghc-typed-process" ,ghc-typed-process)
2542 ("ghc-async" ,ghc-async)
2543 ("ghc-attoparsec" ,ghc-attoparsec)
2544 ("ghc-blaze-builder" ,ghc-blaze-builder)
2545 ("ghc-network" ,ghc-network)
2546 ("ghc-primitive" ,ghc-primitive)
2547 ("ghc-resourcet" ,ghc-resourcet)
2548 ("ghc-streaming-commons" ,ghc-streaming-commons)
2549 ("ghc-hspec" ,ghc-hspec)
2550 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
2551 ("ghc-quickcheck" ,ghc-quickcheck)))
2552 (native-inputs
2553 `(("hspec-discover" ,hspec-discover)))
2554 (home-page "https://github.com/snoyberg/conduit")
2555 (synopsis "Conduit adapters for common libraries")
2556 (description
2557 "The @code{conduit} package itself maintains relative small dependencies.
2558The purpose of this package is to collect commonly used utility functions
2559wrapping other library dependencies, without depending on heavier-weight
2560dependencies. The basic idea is that this package should only depend on
2561@code{haskell-platform} packages and @code{conduit}.")
2562 (license license:expat)))
2563
b59c3518
TS
2564(define-public ghc-conduit-zstd
2565 (package
2566 (name "ghc-conduit-zstd")
2567 (version "0.0.1.1")
2568 (source
2569 (origin
2570 (method url-fetch)
2571 (uri (string-append "https://hackage.haskell.org/package/"
2572 "conduit-zstd/conduit-zstd-" version ".tar.gz"))
2573 (sha256
2574 (base32
2575 "04h7w2903hgw4gjcx2pg29yinnmfapawvc19hd3r57rr12fzb0c6"))))
2576 (build-system haskell-build-system)
2577 (inputs
2578 `(("ghc-conduit" ,ghc-conduit)
2579 ("ghc-zstd" ,ghc-zstd)))
2580 (native-inputs
2581 `(("ghc-hunit" ,ghc-hunit)
2582 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2583 ("ghc-conduit-extra" ,ghc-conduit-extra)
2584 ("ghc-test-framework" ,ghc-test-framework)
2585 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2586 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2587 (home-page "https://github.com/luispedro/conduit-zstd#readme")
2588 (synopsis "Conduit-based ZStd Compression")
2589 (description "Zstandard compression packaged as a conduit. This is
2590a very thin wrapper around the
2591@url{https://github.com/facebookexperimental/hs-zstd/, official hs-zstd
2592interface}.")
2593 (license license:expat)))
2594
dddbc90c
RV
2595(define-public ghc-configurator
2596 (package
2597 (name "ghc-configurator")
2598 (version "0.3.0.0")
2599 (source
2600 (origin
2601 (method url-fetch)
2602 (uri (string-append "https://hackage.haskell.org/package/"
2603 "configurator/configurator-"
2604 version ".tar.gz"))
2605 (sha256
2606 (base32
2607 "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"))))
2608 (build-system haskell-build-system)
2609 (inputs
2610 `(("ghc-attoparsec" ,ghc-attoparsec)
2611 ("ghc-hashable" ,ghc-hashable)
2612 ("ghc-unix-compat" ,ghc-unix-compat)
2613 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2614 (native-inputs
2615 `(("ghc-hunit" ,ghc-hunit)
2616 ("ghc-test-framework" ,ghc-test-framework)
2617 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
702a1012 2618 (home-page "https://github.com/bos/configurator")
dddbc90c
RV
2619 (synopsis "Configuration management")
2620 (description
2621 "This package provides a configuration management library for programs
2622and daemons. The features include:
2623
2624@enumerate
2625@item Automatic, dynamic reloading in response to modifications to
2626 configuration files.
2627@item A simple, but flexible, configuration language, supporting several of
2628 the most commonly needed types of data, along with interpolation of strings
2629 from the configuration or the system environment (e.g. @code{$(HOME)}).
2630@item Subscription-based notification of changes to configuration properties.
2631@item An @code{import} directive allows the configuration of a complex
2632 application to be split across several smaller files, or common configuration
2633 data to be shared across several applications.
2634@end enumerate\n")
2635 (license license:bsd-3)))
2636
2637(define-public ghc-connection
2638 (package
2639 (name "ghc-connection")
6ee0d258 2640 (version "0.3.1")
dddbc90c
RV
2641 (source (origin
2642 (method url-fetch)
2643 (uri (string-append "https://hackage.haskell.org/package/"
2644 "connection/connection-"
2645 version ".tar.gz"))
2646 (sha256
2647 (base32
6ee0d258 2648 "1nbmafhlg0wy4aa3p7amjddbamdz6avzrxn4py3lvhrjqn4raxax"))))
dddbc90c
RV
2649 (build-system haskell-build-system)
2650 (inputs
2651 `(("ghc-byteable" ,ghc-byteable)
2652 ("ghc-data-default-class" ,ghc-data-default-class)
2653 ("ghc-network" ,ghc-network)
2654 ("ghc-tls" ,ghc-tls)
2655 ("ghc-socks" ,ghc-socks)
2656 ("ghc-x509" ,ghc-x509)
2657 ("ghc-x509-store" ,ghc-x509-store)
2658 ("ghc-x509-system" ,ghc-x509-system)
2659 ("ghc-x509-validation" ,ghc-x509-validation)))
2660 (home-page "https://github.com/vincenthz/hs-connection")
2661 (synopsis "Simple and easy network connections API")
2662 (description
2663 "This package provides a simple network library for all your connection
2664needs. It provides a very simple API to create sockets to a destination with
2665the choice of SSL/TLS, and SOCKS.")
2666 (license license:bsd-3)))
2667
2668(define-public ghc-constraints
2669 (package
2670 (name "ghc-constraints")
2671 (version "0.10.1")
2672 (source
2673 (origin
2674 (method url-fetch)
2675 (uri (string-append
2676 "https://hackage.haskell.org/package/constraints/constraints-"
2677 version ".tar.gz"))
2678 (sha256
2679 (base32
2680 "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q"))))
2681 (build-system haskell-build-system)
2682 (inputs
2683 `(("ghc-hashable" ,ghc-hashable)
2684 ("ghc-semigroups" ,ghc-semigroups)
2685 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2686 (native-inputs
2687 `(("ghc-hspec" ,ghc-hspec)
2688 ("hspec-discover" ,hspec-discover)))
2689 (home-page "https://github.com/ekmett/constraints/")
2690 (synopsis "Constraint manipulation")
2691 (description
2692 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
2693They stopped crashing the compiler in GHC 7.6. This package provides
2694a vocabulary for working with them.")
2695 (license license:bsd-3)))
2696
2697(define-public ghc-contravariant
2698 (package
2699 (name "ghc-contravariant")
e7b35ff0 2700 (version "1.5.2")
dddbc90c
RV
2701 (source
2702 (origin
2703 (method url-fetch)
2704 (uri (string-append
2705 "https://hackage.haskell.org/package/contravariant/contravariant-"
2706 version
2707 ".tar.gz"))
2708 (sha256
2709 (base32
e7b35ff0 2710 "0366gl62wwwdbl9i6kqy60asf60876k55v91la6bmhnwwcj2q9n4"))))
dddbc90c
RV
2711 (build-system haskell-build-system)
2712 (inputs
2713 `(("ghc-void" ,ghc-void)
2714 ("ghc-transformers-compat" ,ghc-transformers-compat)
2715 ("ghc-statevar" ,ghc-statevar)
2716 ("ghc-semigroups" ,ghc-semigroups)))
2717 (home-page
2718 "https://github.com/ekmett/contravariant/")
2719 (synopsis "Contravariant functors")
2720 (description "Contravariant functors for Haskell.")
2721 (license license:bsd-3)))
2722
2723(define-public ghc-contravariant-extras
2724 (package
2725 (name "ghc-contravariant-extras")
2726 (version "0.3.4")
2727 (source
2728 (origin
2729 (method url-fetch)
2730 (uri (string-append "https://hackage.haskell.org/package/"
2731 "contravariant-extras-" version "/"
2732 "contravariant-extras-" version ".tar.gz"))
2733 (sha256
2734 (base32
2735 "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n"))))
2736 (build-system haskell-build-system)
f3aca086
TS
2737 (arguments
2738 `(#:cabal-revision
2739 ("1" "1h2955ahga6i4fn7k8v66l03v77p6fhsac6ck8gpabkc08ij60wp")))
dddbc90c
RV
2740 (inputs
2741 `(("ghc-tuple-th" ,ghc-tuple-th)
2742 ("ghc-contravariant" ,ghc-contravariant)
2743 ("ghc-base-prelude" ,ghc-base-prelude)
2744 ("ghc-semigroups" ,ghc-semigroups)))
2745 (home-page "https://github.com/nikita-volkov/contravariant-extras")
2746 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
2747 (description "This Haskell package provides extras for the
2748@code{ghc-contravariant} package.")
2749 (license license:expat)))
2750
7f2a5650
CH
2751(define-public ghc-control-monad-free
2752 (package
2753 (name "ghc-control-monad-free")
2754 (version "0.6.2")
2755 (source
2756 (origin
2757 (method url-fetch)
2758 (uri (string-append
2759 "https://hackage.haskell.org/"
2760 "package/control-monad-free/control-monad-free-"
2761 version
2762 ".tar.gz"))
2763 (sha256
2764 (base32
2765 "1habgf7byffqf1rqjkzpihvdhclaafgqsqpfpwp3fgpj5ayk1j33"))))
2766 (build-system haskell-build-system)
2767 (home-page "https://github.com/pepeiborra/control-monad-free")
2768 (synopsis "Free monads and monad transformers")
2769 (description
2770 "This package provides datatypes to construct Free monads, Free monad
2771transformers, and useful instances. In addition it provides the constructs to
2772avoid quadratic complexity of left associative bind, as explained in:
2773
2774@itemize @bullet
2775@item
2776Janis Voigtlander, @cite{Asymptotic Improvement of Computations over
2777Free Monads, MPC'08}
2778@end itemize")
2779 (license license:public-domain)))
2780
dddbc90c
RV
2781(define-public ghc-convertible
2782 (package
2783 (name "ghc-convertible")
2784 (version "1.1.1.0")
2785 (source
2786 (origin
2787 (method url-fetch)
2788 (uri (string-append "https://hackage.haskell.org/package/convertible/"
2789 "convertible-" version ".tar.gz"))
2790 (sha256
2791 (base32
2792 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
2793 (build-system haskell-build-system)
2794 (inputs
2795 `(("ghc-old-time" ,ghc-old-time)
2796 ("ghc-old-locale" ,ghc-old-locale)))
2797 (home-page "https://hackage.haskell.org/package/convertible")
2798 (synopsis "Typeclasses and instances for converting between types")
2799 (description
2800 "This package provides a typeclass with a single function that is
2801designed to help convert between different types: numeric values, dates and
2802times, and the like. The conversions perform bounds checking and return a
2803pure @code{Either} value. This means that you need not remember which specific
2804function performs the conversion you desire.")
2805 (license license:bsd-3)))
2806
0ff9a717
CH
2807(define-public ghc-csv
2808 (package
2809 (name "ghc-csv")
2810 (version "0.1.2")
2811 (source
2812 (origin
2813 (method url-fetch)
2814 (uri (string-append
2815 "https://hackage.haskell.org/package/csv/csv-"
2816 version
2817 ".tar.gz"))
2818 (sha256
2819 (base32
2820 "00767ai09wm7f0yzmpqck3cpgxncpr9djnmmz5l17ajz69139x4c"))))
2821 (build-system haskell-build-system)
2822 (home-page "http://hackage.haskell.org/package/csv")
2823 (synopsis "CSV loader and dumper")
2824 (description
2825 "This library parses and dumps documents that are formatted according to
2826RFC 4180, @cite{The common Format and MIME Type for Comma-Separated
2827Values (CSV) Files}. This format is used, among many other things, as a
2828lingua franca for spreadsheets, and for certain web services.")
2829 (license license:expat)))
2830
dddbc90c
RV
2831(define-public ghc-data-accessor
2832 (package
2833 (name "ghc-data-accessor")
6dcca515 2834 (version "0.2.2.8")
dddbc90c
RV
2835 (source
2836 (origin
2837 (method url-fetch)
2838 (uri (string-append
2839 "mirror://hackage/package/data-accessor/data-accessor-"
2840 version ".tar.gz"))
2841 (sha256
6dcca515 2842 (base32 "1fq4gygxbz0bd0mzgvc1sl3m4gjnsv8nbgpnmdpa29zj5lb9agxc"))))
dddbc90c 2843 (build-system haskell-build-system)
228d2901 2844 (home-page "https://wiki.haskell.org/Record_access")
dddbc90c
RV
2845 (synopsis
2846 "Haskell utilities for accessing and manipulating fields of records")
2847 (description "This package provides Haskell modules for accessing and
2848manipulating fields of records.")
2849 (license license:bsd-3)))
2850
2851(define-public ghc-data-accessor-transformers
2852 (package
2853 (name "ghc-data-accessor-transformers")
2854 (version "0.2.1.7")
2855 (source
2856 (origin
2857 (method url-fetch)
2858 (uri (string-append
2859 "mirror://hackage/package/data-accessor-transformers/"
2860 "data-accessor-transformers-" version ".tar.gz"))
2861 (sha256
2862 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
2863 (build-system haskell-build-system)
2864 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
228d2901 2865 (home-page "https://wiki.haskell.org/Record_access")
dddbc90c
RV
2866 (synopsis "Use Accessor to access state in transformers State monad")
2867 (description "This package provides Haskell modules to allow use of
2868Accessor to access state in transformers State monad.")
2869 (license license:bsd-3)))
2870
2871(define-public ghc-data-default
2872 (package
2873 (name "ghc-data-default")
2874 (version "0.7.1.1")
2875 (source
2876 (origin
2877 (method url-fetch)
2878 (uri (string-append
2879 "https://hackage.haskell.org/package/data-default/data-default-"
2880 version
2881 ".tar.gz"))
2882 (sha256
2883 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
2884 (build-system haskell-build-system)
2885 (inputs
2886 `(("ghc-data-default-class"
2887 ,ghc-data-default-class)
2888 ("ghc-data-default-instances-base"
2889 ,ghc-data-default-instances-base)
2890 ("ghc-data-default-instances-containers"
2891 ,ghc-data-default-instances-containers)
2892 ("ghc-data-default-instances-dlist"
2893 ,ghc-data-default-instances-dlist)
2894 ("ghc-data-default-instances-old-locale"
2895 ,ghc-data-default-instances-old-locale)))
2896 (home-page "https://hackage.haskell.org/package/data-default")
2897 (synopsis "Types with default values")
2898 (description
2899 "This package defines a class for types with a default value, and
2900provides instances for types from the base, containers, dlist and old-locale
2901packages.")
2902 (license license:bsd-3)))
2903
2904(define-public ghc-data-default-class
2905 (package
2906 (name "ghc-data-default-class")
2907 (version "0.1.2.0")
2908 (source
2909 (origin
2910 (method url-fetch)
2911 (uri (string-append
2912 "https://hackage.haskell.org/package/data-default-class/"
2913 "data-default-class-" version ".tar.gz"))
2914 (sha256
2915 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
2916 (build-system haskell-build-system)
2917 (home-page "https://hackage.haskell.org/package/data-default-class")
2918 (synopsis "Types with default values")
2919 (description
2920 "This package defines a class for types with default values.")
2921 (license license:bsd-3)))
2922
2923(define-public ghc-data-default-instances-base
2924 (package
2925 (name "ghc-data-default-instances-base")
2926 (version "0.1.0.1")
2927 (source
2928 (origin
2929 (method url-fetch)
2930 (uri (string-append
2931 "https://hackage.haskell.org/package/"
2932 "data-default-instances-base/"
2933 "data-default-instances-base-" version ".tar.gz"))
2934 (sha256
2935 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
2936 (build-system haskell-build-system)
2937 (inputs
2938 `(("ghc-data-default-class" ,ghc-data-default-class)))
2939 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
2940 (synopsis "Default instances for types in base")
2941 (description
2942 "This package provides default instances for types from the base
2943package.")
2944 (license license:bsd-3)))
2945
2946(define-public ghc-data-default-instances-containers
2947 (package
2948 (name "ghc-data-default-instances-containers")
2949 (version "0.0.1")
2950 (source
2951 (origin
2952 (method url-fetch)
2953 (uri (string-append
2954 "https://hackage.haskell.org/package/"
2955 "data-default-instances-containers/"
2956 "data-default-instances-containers-" version ".tar.gz"))
2957 (sha256
2958 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
2959 (build-system haskell-build-system)
2960 (inputs
2961 `(("ghc-data-default-class" ,ghc-data-default-class)))
2962 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
2963 (synopsis "Default instances for types in containers")
2964 (description "Provides default instances for types from the containers
2965package.")
2966 (license license:bsd-3)))
2967
2968(define-public ghc-data-default-instances-dlist
2969 (package
2970 (name "ghc-data-default-instances-dlist")
2971 (version "0.0.1")
2972 (source
2973 (origin
2974 (method url-fetch)
2975 (uri (string-append
2976 "https://hackage.haskell.org/package/"
2977 "data-default-instances-dlist/"
2978 "data-default-instances-dlist-" version ".tar.gz"))
2979 (sha256
2980 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
2981 (build-system haskell-build-system)
2982 (inputs
2983 `(("ghc-data-default-class" ,ghc-data-default-class)
2984 ("ghc-dlist" ,ghc-dlist)))
2985 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
2986 (synopsis "Default instances for types in dlist")
2987 (description "Provides default instances for types from the dlist
2988package.")
2989 (license license:bsd-3)))
2990
2991(define-public ghc-data-default-instances-old-locale
2992 (package
2993 (name "ghc-data-default-instances-old-locale")
2994 (version "0.0.1")
2995 (source
2996 (origin
2997 (method url-fetch)
2998 (uri (string-append
2999 "https://hackage.haskell.org/package/"
3000 "data-default-instances-old-locale/"
3001 "data-default-instances-old-locale-" version ".tar.gz"))
3002 (sha256
3003 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
3004 (build-system haskell-build-system)
3005 (inputs
3006 `(("ghc-data-default-class" ,ghc-data-default-class)
3007 ("ghc-old-locale" ,ghc-old-locale)))
3008 (home-page
3009 "https://hackage.haskell.org/package/data-default-instances-old-locale")
3010 (synopsis "Default instances for types in old-locale")
3011 (description "Provides Default instances for types from the old-locale
3012 package.")
3013 (license license:bsd-3)))
3014
82c36002
JS
3015(define-public ghc-data-fix
3016 (package
3017 (name "ghc-data-fix")
3018 (version "0.2.0")
3019 (source
3020 (origin
3021 (method url-fetch)
3022 (uri (string-append
3023 "mirror://hackage/package/data-fix/"
3024 "data-fix-" version ".tar.gz"))
3025 (sha256
3026 (base32 "14hk6hq5hdb3l5bhmzhw086jpzlvp9qbw9dzw30wlz5jbh2ihmvy"))))
3027 (build-system haskell-build-system)
3028 (home-page "https://github.com/spell-music/data-fix")
3029 (synopsis "Fixpoint data types")
3030 (description
3031 "Fixpoint types and recursion schemes. If you define your AST as
3032fixpoint type, you get fold and unfold operations for free.
3033
3034Thanks for contribution to: Matej Kollar, Herbert Valerio Riedel")
3035 (license license:bsd-3)))
3036
dddbc90c
RV
3037(define-public ghc-data-hash
3038 (package
3039 (name "ghc-data-hash")
3040 (version "0.2.0.1")
3041 (source
3042 (origin
3043 (method url-fetch)
3044 (uri (string-append "https://hackage.haskell.org/package/data-hash"
3045 "/data-hash-" version ".tar.gz"))
3046 (sha256
3047 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
3048 (build-system haskell-build-system)
3049 (inputs
3050 `(("ghc-quickcheck" ,ghc-quickcheck)
3051 ("ghc-test-framework" ,ghc-test-framework)
3052 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3053 (home-page "https://hackage.haskell.org/package/data-hash")
3054 (synopsis "Combinators for building fast hashing functions")
3055 (description
3056 "This package provides combinators for building fast hashing functions.
3057It includes hashing functions for all basic Haskell98 types.")
3058 (license license:bsd-3)))
3059
3060(define-public ghc-data-ordlist
3061 (package
3062 (name "ghc-data-ordlist")
3063 (version "0.4.7.0")
3064 (source
3065 (origin
3066 (method url-fetch)
3067 (uri (string-append
3068 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
3069 version ".tar.gz"))
3070 (sha256
3071 (base32
3072 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
3073 (build-system haskell-build-system)
3074 (home-page "https://hackage.haskell.org/package/data-ordlist")
3075 (synopsis "Set and bag operations on ordered lists")
3076 (description
3077 "This module provides set and multiset operations on ordered lists.")
3078 (license license:bsd-3)))
3079
d05f32d6
JS
3080(define-public ghc-dbus
3081 (package
3082 (name "ghc-dbus")
3083 (version "1.2.7")
3084 (source
3085 (origin
3086 (method url-fetch)
3087 (uri
3088 (string-append
3089 "mirror://hackage/package/dbus/dbus-"
3090 version ".tar.gz"))
3091 (sha256
3092 (base32
3093 "0ypkjlw9fn65g7p28kb3p82glk7qs7p7vyffccw7qxa3z57s12w5"))))
3094 (build-system haskell-build-system)
3095 (inputs
3096 `(("ghc-cereal" ,ghc-cereal)
3097 ("ghc-conduit" ,ghc-conduit)
3098 ("ghc-exceptions" ,ghc-exceptions)
3099 ("ghc-lens" ,ghc-lens)
3100 ("ghc-network" ,ghc-network)
3101 ("ghc-random" ,ghc-random)
3102 ("ghc-split" ,ghc-split)
3103 ("ghc-th-lift" ,ghc-th-lift)
3104 ("ghc-vector" ,ghc-vector)
3105 ("ghc-xml-conduit" ,ghc-xml-conduit)
3106 ("ghc-xml-types" ,ghc-xml-types)))
3107 (native-inputs
3108 `(("ghc-extra" ,ghc-extra)
3109 ("ghc-quickcheck" ,ghc-quickcheck)
3110 ("ghc-resourcet" ,ghc-resourcet)
3111 ("ghc-tasty" ,ghc-tasty)
3112 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3113 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3114 ;; FIXME - Some tests try to talk to network.
3115 (arguments `(#:tests? #f))
3116 (home-page "https://github.com/rblaze/haskell-dbus")
3117 (synopsis "Client library for the D-Bus IPC system")
3118 (description
3119 "D-Bus is a simple, message-based protocol for inter-process
3120communication, which allows applications to interact with other parts
3121of the machine and the user's session using remote procedure
3122calls. D-Bus is a essential part of the modern Linux desktop, where
3123it replaces earlier protocols such as CORBA and DCOP. This library
3124is an implementation of the D-Bus protocol in Haskell. It can be used
3125to add D-Bus support to Haskell applications, without the awkward
3126interfaces common to foreign bindings.")
3127 (license license:asl2.0)))
3128
9b3b327a
CH
3129(define-public ghc-decimal
3130 (package
3131 (name "ghc-decimal")
3132 (version "0.5.1")
3133 (source
3134 (origin
3135 (method url-fetch)
3136 (uri (string-append
3137 "https://hackage.haskell.org/package/Decimal/Decimal-"
3138 version
3139 ".tar.gz"))
3140 (sha256
3141 (base32
3142 "0k7kh05mr2f54w1lpgq1nln0h8k6s6h99dyp5jzsb9cfbb3aap2p"))))
3143 (build-system haskell-build-system)
3144 (native-inputs
3145 `(("ghc-hunit" ,ghc-hunit)
3146 ("ghc-quickcheck" ,ghc-quickcheck)
3147 ("ghc-test-framework" ,ghc-test-framework)
3148 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
3149 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3150 (home-page "https://github.com/PaulJohnson/Haskell-Decimal")
3151 (synopsis "Decimal numbers with variable precision")
3152 (description
3153 "A decimal number has an integer mantissa and a negative exponent.
3154The exponent can be interpreted as the number of decimal places in the
3155value.")
3156 (license license:bsd-3)))
3157
dddbc90c
RV
3158(define-public ghc-deepseq-generics
3159 (package
3160 (name "ghc-deepseq-generics")
3161 (version "0.2.0.0")
3162 (source (origin
3163 (method url-fetch)
3164 (uri (string-append "https://hackage.haskell.org/package/"
3165 "deepseq-generics/deepseq-generics-"
3166 version ".tar.gz"))
3167 (sha256
3168 (base32
3169 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
3170 (build-system haskell-build-system)
3171 (arguments
3172 `(#:cabal-revision
490ceae4 3173 ("4" "0928s2qnbqsjzrm94x88rvmvbigfmhcyp4m73gw6asinp2qg1kii")))
dddbc90c
RV
3174 (native-inputs
3175 `(("ghc-hunit" ,ghc-hunit)
3176 ("ghc-test-framework" ,ghc-test-framework)
3177 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3178 (home-page "https://github.com/hvr/deepseq-generics")
3179 (synopsis "Generic RNF implementation")
3180 (description
3181 "This package provides a @code{GHC.Generics}-based
3182@code{Control.DeepSeq.Generics.genericRnf} function which can be used for
3183providing an @code{rnf} implementation.")
3184 (license license:bsd-3)))
3185
e924e17e
TS
3186(define-public ghc-dense-linear-algebra
3187 (package
3188 (name "ghc-dense-linear-algebra")
3189 (version "0.1.0.0")
3190 (source
3191 (origin
3192 (method url-fetch)
3193 (uri (string-append "https://hackage.haskell.org/package/"
3194 "dense-linear-algebra/dense-linear-algebra-"
3195 version ".tar.gz"))
3196 (sha256
3197 (base32
3198 "1m7jjxahqxj7ilic3r9806mwp5rnnsmn8vvipkmk40xl65wplxzp"))))
3199 (build-system haskell-build-system)
3200 (inputs
3201 `(("ghc-math-functions" ,ghc-math-functions)
3202 ("ghc-primitive" ,ghc-primitive)
3203 ("ghc-vector" ,ghc-vector)
3204 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
3205 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
3206 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
3207 (native-inputs
3208 `(("ghc-hspec" ,ghc-hspec)
3209 ("ghc-quickcheck" ,ghc-quickcheck)))
50153437 3210 (home-page "https://hackage.haskell.org/package/dense-linear-algebra")
e924e17e
TS
3211 (synopsis "Simple and incomplete implementation of linear algebra")
3212 (description "This library is simply a collection of linear-algebra
3213related modules split from the statistics library.")
3214 (license license:bsd-2)))
3215
dddbc90c
RV
3216(define-public ghc-descriptive
3217 (package
3218 (name "ghc-descriptive")
3219 (version "0.9.5")
3220 (source
3221 (origin
3222 (method url-fetch)
3223 (uri (string-append
3224 "https://hackage.haskell.org/package/descriptive/descriptive-"
3225 version
3226 ".tar.gz"))
3227 (sha256
3228 (base32
3229 "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237"))))
3230 (build-system haskell-build-system)
3231 (inputs
3232 `(("ghc-aeson" ,ghc-aeson)
3233 ("ghc-bifunctors" ,ghc-bifunctors)
3234 ("ghc-scientific" ,ghc-scientific)
3235 ("ghc-vector" ,ghc-vector)))
3236 (native-inputs
3237 `(("ghc-hunit" ,ghc-hunit)
3238 ("ghc-hspec" ,ghc-hspec)))
3239 (home-page
3240 "https://github.com/chrisdone/descriptive")
3241 (synopsis
3242 "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.")
3243 (description
3244 "This package provides datatypes and functions for creating consumers
3245and parsers with useful semantics.")
3246 (license license:bsd-3)))
3247
1859c94a
TS
3248(define-public ghc-diagrams-core
3249 (package
3250 (name "ghc-diagrams-core")
3251 (version "1.4.2")
3252 (source
3253 (origin
3254 (method url-fetch)
3255 (uri (string-append "https://hackage.haskell.org/package/"
3256 "diagrams-core/diagrams-core-" version ".tar.gz"))
3257 (sha256
3258 (base32
3259 "0qgb43vy23g4fxh3nmxfq6jyp34imqvkhgflaa6rz0iq6d60gl43"))))
3260 (build-system haskell-build-system)
3261 (inputs
3262 `(("ghc-unordered-containers" ,ghc-unordered-containers)
3263 ("ghc-semigroups" ,ghc-semigroups)
3264 ("ghc-monoid-extras" ,ghc-monoid-extras)
3265 ("ghc-dual-tree" ,ghc-dual-tree)
3266 ("ghc-lens" ,ghc-lens)
3267 ("ghc-linear" ,ghc-linear)
3268 ("ghc-adjunctions" ,ghc-adjunctions)
3269 ("ghc-distributive" ,ghc-distributive)
3270 ("ghc-profunctors" ,ghc-profunctors)))
3271 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3272 (synopsis "Core libraries for diagrams embedded domain-specific language")
3273 (description "This package provides the core modules underlying
3274diagrams, an embedded domain-specific language for compositional,
3275declarative drawing.")
3276 (license license:bsd-3)))
3277
f9f1a630
TS
3278(define-public ghc-diagrams-lib
3279 (package
3280 (name "ghc-diagrams-lib")
3281 (version "1.4.2.3")
3282 (source
3283 (origin
3284 (method url-fetch)
3285 (uri (string-append "https://hackage.haskell.org/package/"
3286 "diagrams-lib/diagrams-lib-" version ".tar.gz"))
3287 (sha256
3288 (base32
3289 "175yzi5kw4yd8ykdkpf64q85c7j3p89l90m3h6qcsx9ipv6av9r5"))))
3290 (build-system haskell-build-system)
3291 (inputs
3292 `(("ghc-semigroups" ,ghc-semigroups)
3293 ("ghc-monoid-extras" ,ghc-monoid-extras)
3294 ("ghc-dual-tree" ,ghc-dual-tree)
3295 ("ghc-diagrams-core" ,ghc-diagrams-core)
3296 ("ghc-diagrams-solve" ,ghc-diagrams-solve)
3297 ("ghc-active" ,ghc-active)
3298 ("ghc-colour" ,ghc-colour)
3299 ("ghc-data-default-class" ,ghc-data-default-class)
3300 ("ghc-fingertree" ,ghc-fingertree)
3301 ("ghc-intervals" ,ghc-intervals)
3302 ("ghc-lens" ,ghc-lens)
3303 ("ghc-tagged" ,ghc-tagged)
3304 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
3305 ("ghc-juicypixels" ,ghc-juicypixels)
3306 ("ghc-hashable" ,ghc-hashable)
3307 ("ghc-linear" ,ghc-linear)
3308 ("ghc-adjunctions" ,ghc-adjunctions)
3309 ("ghc-distributive" ,ghc-distributive)
3310 ("ghc-fsnotify" ,ghc-fsnotify)
3311 ("ghc-unordered-containers" ,ghc-unordered-containers)
3312 ("ghc-profunctors" ,ghc-profunctors)
3313 ("ghc-exceptions" ,ghc-exceptions)
3314 ("ghc-cereal" ,ghc-cereal)))
3315 (native-inputs
3316 `(("ghc-tasty" ,ghc-tasty)
3317 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3318 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
3319 ("ghc-numeric-extras" ,ghc-numeric-extras)))
3320 (arguments
3321 `(#:cabal-revision
3322 ("3" "157y2qdsh0aczs81vzlm377mks976mpv6y3aqnchwsnr7apzp8ai")))
3323 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3324 (synopsis "Embedded domain-specific language for declarative graphics")
3325 (description "Diagrams is a flexible, extensible embedded
3326domain-specific language (EDSL) for creating graphics of many types.
3327Graphics can be created in arbitrary vector spaces and rendered with
3328multiple backends. This package provides a standard library of
3329primitives and operations for creating diagrams.")
3330 (license license:bsd-3)))
3331
fd33ffa0
TS
3332(define-public ghc-diagrams-solve
3333 (package
3334 (name "ghc-diagrams-solve")
3335 (version "0.1.1")
3336 (source
3337 (origin
3338 (method url-fetch)
3339 (uri (string-append "https://hackage.haskell.org/package/"
3340 "diagrams-solve/diagrams-solve-"
3341 version ".tar.gz"))
3342 (sha256
3343 (base32
3344 "17agchqkmj14b17sw50kzxq4hm056g5d8yy0wnqn5w8h1d0my7x4"))))
3345 (build-system haskell-build-system)
3346 (native-inputs
3347 `(("ghc-tasty" ,ghc-tasty)
3348 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3349 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
3350 (arguments
3351 `(#:cabal-revision
3352 ("5" "1yl8cs05fzqcz49p601am1ij66m9pa70yamhfxgcvya2pf8nimlf")))
3353 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3354 (synopsis "Pure Haskell solver routines used by diagrams")
3355 (description "This library provides Pure Haskell solver routines for
3356use by the
3357@url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3358diagrams framework}. It currently includes routines for finding real
3359roots of low-degree (@math{n < 5}) polynomials, and solving tridiagonal
3360and cyclic tridiagonal linear systems.")
3361 (license license:bsd-3)))
3362
74be1cb7
TS
3363(define-public ghc-diagrams-svg
3364 (package
3365 (name "ghc-diagrams-svg")
3366 (version "1.4.2")
3367 (source
3368 (origin
3369 (method url-fetch)
3370 (uri (string-append "https://hackage.haskell.org/package/"
3371 "diagrams-svg/diagrams-svg-" version ".tar.gz"))
3372 (sha256
3373 (base32
3374 "1lnyxx45yawqas7hmvvannwaa3ycf1l9g40lsl2m8sl2ja6vcmal"))))
3375 (build-system haskell-build-system)
3376 (inputs
3377 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
3378 ("ghc-colour" ,ghc-colour)
3379 ("ghc-diagrams-core" ,ghc-diagrams-core)
3380 ("ghc-diagrams-lib" ,ghc-diagrams-lib)
3381 ("ghc-monoid-extras" ,ghc-monoid-extras)
3382 ("ghc-svg-builder" ,ghc-svg-builder)
3383 ("ghc-juicypixels" ,ghc-juicypixels)
3384 ("ghc-split" ,ghc-split)
3385 ("ghc-lens" ,ghc-lens)
3386 ("ghc-hashable" ,ghc-hashable)
3387 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
3388 ("ghc-semigroups" ,ghc-semigroups)))
3389 (arguments
3390 `(#:cabal-revision
3391 ("2" "15sn85xaachw4cj56w61bjcwrbf4qmnkfl8mbgdapxi5k0y4f2qv")))
3392 (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/")
3393 (synopsis "Scalable Vector Grpahics backend for the diagrams framework")
3394 (description "This package provides a modular backend for rendering
3395diagrams created with the diagrams embedded domain-specific
3396language (EDSL) to Scalable Vector Graphics (SVG) files.")
3397 (license license:bsd-3)))
3398
4eb9a167
TS
3399(define-public ghc-dictionary-sharing
3400 (package
3401 (name "ghc-dictionary-sharing")
3402 (version "0.1.0.0")
3403 (source
3404 (origin
3405 (method url-fetch)
3406 (uri (string-append "https://hackage.haskell.org/package/"
3407 "dictionary-sharing/dictionary-sharing-"
3408 version ".tar.gz"))
3409 (sha256
3410 (base32
3411 "00aspv943qdqhlk39mbk00kb1dsa5r0caj8sslrn81fnsn252fwc"))))
3412 (build-system haskell-build-system)
3413 (arguments
3414 `(#:cabal-revision
3415 ("3" "1mn7jcc7h3b8f1pn9zigqp6mc2n0qb66lms5qnrx4zswdv5w9439")))
3416 (home-page "https://hackage.haskell.org/package/dictionary-sharing")
3417 (synopsis "Sharing/memoization of class members")
3418 (description "This library provides tools for ensuring that class
3419members are shared.")
3420 (license license:bsd-3)))
3421
dddbc90c
RV
3422(define-public ghc-diff
3423 (package
3424 (name "ghc-diff")
3425 (version "0.3.4")
3426 (source (origin
3427 (method url-fetch)
3428 (uri (string-append "https://hackage.haskell.org/package/"
3429 "Diff/Diff-" version ".tar.gz"))
a531ff94 3430 (patches (search-patches "ghc-diff-swap-cover-args.patch"))
dddbc90c
RV
3431 (sha256
3432 (base32
3433 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
3434 (build-system haskell-build-system)
3435 (native-inputs
3436 `(("ghc-quickcheck" ,ghc-quickcheck)
3437 ("ghc-test-framework" ,ghc-test-framework)
3438 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3439 (home-page "https://hub.darcs.net/sterlingclover/Diff")
3440 (synopsis "O(ND) diff algorithm in Haskell")
3441 (description
3442 "This package provides an implementation of the standard diff algorithm,
3443and utilities for pretty printing.")
3444 (license license:bsd-3)))
3445
3446(define-public ghc-disk-free-space
3447 (package
3448 (name "ghc-disk-free-space")
3449 (version "0.1.0.1")
3450 (source
3451 (origin
3452 (method url-fetch)
3453 (uri (string-append "https://hackage.haskell.org/package/"
3454 "disk-free-space/disk-free-space-"
3455 version ".tar.gz"))
3456 (sha256
3457 (base32
3458 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
3459 (build-system haskell-build-system)
3460 (home-page "https://github.com/redneb/disk-free-space")
3461 (synopsis "Retrieve information about disk space usage")
3462 (description "A cross-platform library for retrieving information about
3463disk space usage.")
3464 (license license:bsd-3)))
3465
3466(define-public ghc-distributive
3467 (package
3468 (name "ghc-distributive")
78215a14 3469 (version "0.6.2")
dddbc90c
RV
3470 (source
3471 (origin
3472 (method url-fetch)
3473 (uri (string-append
3474 "https://hackage.haskell.org/package/distributive/distributive-"
3475 version
3476 ".tar.gz"))
3477 (sha256
3478 (base32
78215a14 3479 "1j93zkfffm6s16kgr0j0z87y5ds28rw0r2gyc5ncwcylvrqy4kl2"))))
dddbc90c 3480 (build-system haskell-build-system)
dddbc90c
RV
3481 (inputs
3482 `(("ghc-tagged" ,ghc-tagged)
3483 ("ghc-base-orphans" ,ghc-base-orphans)
3484 ("ghc-transformers-compat" ,ghc-transformers-compat)
3485 ("ghc-semigroups" ,ghc-semigroups)
3486 ("ghc-generic-deriving" ,ghc-generic-deriving)))
3487 (native-inputs
3488 `(("cabal-doctest" ,cabal-doctest)
3489 ("ghc-doctest" ,ghc-doctest)
3490 ("ghc-hspec" ,ghc-hspec)
3491 ("hspec-discover" ,hspec-discover)))
3492 (home-page "https://github.com/ekmett/distributive/")
3493 (synopsis "Distributive functors for Haskell")
3494 (description "This package provides distributive functors for Haskell.
3495Dual to @code{Traversable}.")
3496 (license license:bsd-3)))
3497
3498(define-public ghc-dlist
3499 (package
3500 (name "ghc-dlist")
197ddf33 3501 (version "0.8.0.7")
dddbc90c
RV
3502 (source
3503 (origin
3504 (method url-fetch)
3505 (uri (string-append
3506 "https://hackage.haskell.org/package/dlist/dlist-"
3507 version
3508 ".tar.gz"))
3509 (sha256
197ddf33 3510 (base32 "0b5spkzvj2kx8pk86xz0djkxs13j7dryf5fl16dk4mlp1wh6mh53"))))
dddbc90c
RV
3511 (build-system haskell-build-system)
3512 (inputs
3513 `(("ghc-quickcheck" ,ghc-quickcheck)))
3514 (home-page "https://github.com/spl/dlist")
3515 (synopsis "Difference lists")
3516 (description
3517 "Difference lists are a list-like type supporting O(1) append. This is
3518particularly useful for efficient logging and pretty printing (e.g. with the
3519Writer monad), where list append quickly becomes too expensive.")
3520 (license license:bsd-3)))
3521
3522(define-public ghc-doctemplates
3523 (package
3524 (name "ghc-doctemplates")
3525 (version "0.2.2.1")
3526 (source
3527 (origin
3528 (method url-fetch)
3529 (uri (string-append "https://hackage.haskell.org/package/"
3530 "doctemplates/doctemplates-"
3531 version ".tar.gz"))
3532 (sha256
3533 (base32
3534 "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b"))))
3535 (build-system haskell-build-system)
3536 (inputs
3537 `(("ghc-aeson" ,ghc-aeson)
3538 ("ghc-blaze-markup" ,ghc-blaze-markup)
3539 ("ghc-blaze-html" ,ghc-blaze-html)
3540 ("ghc-vector" ,ghc-vector)
3541 ("ghc-unordered-containers" ,ghc-unordered-containers)
3542 ("ghc-scientific" ,ghc-scientific)))
3543 (native-inputs
3544 `(("ghc-hspec" ,ghc-hspec)))
3545 (home-page "https://github.com/jgm/doctemplates#readme")
3546 (synopsis "Pandoc-style document templates")
3547 (description
3548 "This package provides a simple text templating system used by pandoc.")
3549 (license license:bsd-3)))
3550
3551(define-public ghc-doctest
3552 (package
3553 (name "ghc-doctest")
df0e4113 3554 (version "0.16.2")
dddbc90c
RV
3555 (source
3556 (origin
3557 (method url-fetch)
3558 (uri (string-append
3559 "https://hackage.haskell.org/package/doctest/doctest-"
3560 version
3561 ".tar.gz"))
3562 (sha256
3563 (base32
df0e4113 3564 "0lk4cjfzi5bx2snfzw1zi06li0gvgz3ckfh2kwa98l7nxfdl39ag"))))
dddbc90c
RV
3565 (build-system haskell-build-system)
3566 (arguments `(#:tests? #f)) ; FIXME: missing test framework
3567 (inputs
232eab1d 3568 `(("ghc-base-compat" ,ghc-base-compat)
dddbc90c 3569 ("ghc-code-page" ,ghc-code-page)
232eab1d
CH
3570 ("ghc-paths" ,ghc-paths)
3571 ("ghc-syb" ,ghc-syb)))
3572 (native-inputs
3573 `(("ghc-hunit" ,ghc-hunit)
dddbc90c 3574 ("ghc-quickcheck" ,ghc-quickcheck)
232eab1d 3575 ("ghc-hspec" ,ghc-hspec)
232eab1d
CH
3576 ("ghc-mockery" ,ghc-mockery)
3577 ("ghc-setenv" ,ghc-setenv)
dddbc90c 3578 ("ghc-silently" ,ghc-silently)
232eab1d 3579 ("ghc-stringbuilder" ,ghc-stringbuilder)))
dddbc90c
RV
3580 (home-page
3581 "https://github.com/sol/doctest#readme")
3582 (synopsis "Test interactive Haskell examples")
3583 (description "The doctest program checks examples in source code comments.
3584It is modeled after doctest for Python, see
3585@uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
3586 (license license:expat)))
3587
2b2c8911
JS
3588(define-public ghc-dotgen
3589 (package
3590 (name "ghc-dotgen")
3591 (version "0.4.2")
3592 (source
3593 (origin
3594 (method url-fetch)
3595 (uri (string-append
3596 "mirror://hackage/package/dotgen/dotgen-"
3597 version
3598 ".tar.gz"))
3599 (sha256
3600 (base32
3601 "148q93qsmqgr5pzdwvpjqfd6bdm1pwzcp2rblfwswx2x8c5f43fg"))))
3602 (build-system haskell-build-system)
3603 (home-page "https://github.com/ku-fpg/dotgen")
3604 (synopsis
3605 "Simple interface for building .dot graph files")
3606 (description
3607 "This package provides a simple interface for building .dot graph
3608files, for input into the dot and graphviz tools. It includes a
3609monadic interface for building graphs.")
3610 (license license:bsd-3)))
3611
dddbc90c
RV
3612(define-public ghc-double-conversion
3613 (package
3614 (name "ghc-double-conversion")
3615 (version "2.0.2.0")
3616 (source
3617 (origin
3618 (method url-fetch)
3619 (uri (string-append "https://hackage.haskell.org/package/"
3620 "double-conversion/double-conversion-"
3621 version ".tar.gz"))
3622 (sha256
3623 (base32
3624 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
3625 (build-system haskell-build-system)
3626 (native-inputs
3627 `(("ghc-hunit" ,ghc-hunit)
3628 ("ghc-test-framework" ,ghc-test-framework)
3629 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3630 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3631 (home-page "https://github.com/bos/double-conversion")
3632 (synopsis "Fast conversion between double precision floating point and text")
3633 (description
3634 "This package provides a library that performs fast, accurate conversion
3635between double precision floating point and text.")
3636 (license license:bsd-3)))
3637
577a78b7
TS
3638(define-public ghc-dual-tree
3639 (package
3640 (name "ghc-dual-tree")
3641 (version "0.2.2.1")
3642 (source
3643 (origin
3644 (method url-fetch)
3645 (uri (string-append "https://hackage.haskell.org/package/"
3646 "dual-tree/dual-tree-" version ".tar.gz"))
3647 (sha256
3648 (base32
3649 "17kdfnf0df0z5pkiifxrlmyd1xd7hjjaazd2kzyajl0gd00vbszx"))))
3650 (build-system haskell-build-system)
3651 (inputs
3652 `(("ghc-semigroups" ,ghc-semigroups)
3653 ("ghc-newtype-generics" ,ghc-newtype-generics)
3654 ("ghc-monoid-extras" ,ghc-monoid-extras)))
3655 (native-inputs
3656 `(("ghc-quickcheck" ,ghc-quickcheck)
3657 ("ghc-testing-feat" ,ghc-testing-feat)))
3658 (home-page "https://hackage.haskell.org/package/dual-tree")
3659 (synopsis "Rose trees with cached and accumulating monoidal annotations")
3660 (description "Rose (@math{n}-ary) trees with both upwards- (i.e.
3661cached) and downwards-traveling (i.e. accumulating) monoidal
3662annotations. This is used as the core data structure underlying the
3663@url{https://archives.haskell.org/projects.haskell.org/diagrams/,
3664diagrams framework}, but potentially has other applications as well.")
3665 (license license:bsd-3)))
3666
dddbc90c
RV
3667(define-public ghc-easy-file
3668 (package
3669 (name "ghc-easy-file")
3670 (version "0.2.2")
3671 (source
3672 (origin
3673 (method url-fetch)
3674 (uri (string-append
3675 "https://hackage.haskell.org/package/easy-file/easy-file-"
3676 version
3677 ".tar.gz"))
3678 (sha256
3679 (base32
3680 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
3681 (build-system haskell-build-system)
3682 (home-page
3683 "https://github.com/kazu-yamamoto/easy-file")
3684 (synopsis "File handling library for Haskell")
3685 (description "This library provides file handling utilities for Haskell.")
3686 (license license:bsd-3)))
3687
3688(define-public ghc-easyplot
3689 (package
3690 (name "ghc-easyplot")
3691 (version "1.0")
3692 (source
3693 (origin
3694 (method url-fetch)
3695 (uri (string-append
3696 "https://hackage.haskell.org/package/easyplot/easyplot-"
3697 version ".tar.gz"))
3698 (sha256
3699 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
3700 (build-system haskell-build-system)
3701 (propagated-inputs `(("gnuplot" ,gnuplot)))
3702 (arguments
3703 `(#:phases (modify-phases %standard-phases
3704 (add-after 'unpack 'fix-setup-suffix
3705 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
3706 (home-page "https://hub.darcs.net/scravy/easyplot")
3707 (synopsis "Haskell plotting library based on gnuplot")
3708 (description "This package provides a plotting library for
3709Haskell, using gnuplot for rendering.")
3710 (license license:expat)))
3711
3712(define-public ghc-echo
3713 (package
3714 (name "ghc-echo")
3715 (version "0.1.3")
3716 (source
3717 (origin
3718 (method url-fetch)
3719 (uri (string-append
3720 "https://hackage.haskell.org/package/echo/echo-"
3721 version ".tar.gz"))
3722 (sha256
3723 (base32
3724 "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh"))))
3725 (build-system haskell-build-system)
3726 (arguments
3727 `(#:cabal-revision
3728 ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l")))
3729 (home-page "https://github.com/RyanGlScott/echo")
3730 (synopsis "Echo terminal input portably")
3731 (description "The @code{base} library exposes the @code{hGetEcho} and
3732@code{hSetEcho} functions for querying and setting echo status, but
3733unfortunately, neither function works with MinTTY consoles on Windows.
3734This library provides an alternative interface which works with both
3735MinTTY and other consoles.")
3736 (license license:bsd-3)))
3737
3738(define-public ghc-edisonapi
3739 (package
3740 (name "ghc-edisonapi")
3741 (version "1.3.1")
3742 (source
3743 (origin
3744 (method url-fetch)
3745 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
3746 "/EdisonAPI-" version ".tar.gz"))
3747 (sha256
3748 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
3749 (build-system haskell-build-system)
3750 (home-page "http://rwd.rdockins.name/edison/home/")
3751 (synopsis "Library of efficient, purely-functional data structures (API)")
3752 (description
3753 "Edison is a library of purely functional data structures written by
3754Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
3755value EDiSon (Efficient Data Structures). Edison provides several families of
3756abstractions, each with multiple implementations. The main abstractions
3757provided by Edison are: Sequences such as stacks, queues, and dequeues;
3758Collections such as sets, bags and heaps; and Associative Collections such as
3759finite maps and priority queues where the priority and element are distinct.")
3760 (license license:expat)))
3761
3762(define-public ghc-edisoncore
3763 (package
3764 (name "ghc-edisoncore")
3765 (version "1.3.2.1")
3766 (source
3767 (origin
3768 (method url-fetch)
3769 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
3770 "/EdisonCore-" version ".tar.gz"))
3771 (sha256
3772 (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk"))))
3773 (build-system haskell-build-system)
3774 (inputs
3775 `(("ghc-quickcheck" ,ghc-quickcheck)
3776 ("ghc-edisonapi" ,ghc-edisonapi)))
3777 (home-page "http://rwd.rdockins.name/edison/home/")
3778 (synopsis "Library of efficient, purely-functional data structures")
3779 (description
3780 "This package provides the core Edison data structure implementations,
3781including multiple sequence, set, bag, and finite map concrete implementations
3782with various performance characteristics.")
3783 (license license:expat)))
3784
3785(define-public ghc-edit-distance
3786 (package
3787 (name "ghc-edit-distance")
3788 (version "0.2.2.1")
3789 (source
3790 (origin
3791 (method url-fetch)
3792 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
3793 "/edit-distance-" version ".tar.gz"))
3794 (sha256
3795 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
3796 (build-system haskell-build-system)
3797 (arguments
3798 `(#:phases
3799 (modify-phases %standard-phases
3800 (add-before 'configure 'update-constraints
3801 (lambda _
3802 (substitute* "edit-distance.cabal"
3803 (("QuickCheck >= 2\\.4 && <2\\.9")
d7d143e5 3804 "QuickCheck >= 2.4 && < 2.14")))))))
dddbc90c
RV
3805 (inputs
3806 `(("ghc-random" ,ghc-random)
3807 ("ghc-test-framework" ,ghc-test-framework)
3808 ("ghc-quickcheck" ,ghc-quickcheck)
3809 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3810 (home-page "https://github.com/phadej/edit-distance")
3811 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
3812 (description
3813 "This package provides optimized functions to determine the edit
3814distances for fuzzy matching, including Levenshtein and restricted
3815Damerau-Levenshtein algorithms.")
3816 (license license:bsd-3)))
3817
3ebae41f
TS
3818(define-public ghc-edit-distance-vector
3819 (package
3820 (name "ghc-edit-distance-vector")
3821 (version "1.0.0.4")
3822 (source
3823 (origin
3824 (method url-fetch)
3825 (uri (string-append "https://hackage.haskell.org/package/"
3826 "edit-distance-vector/edit-distance-vector-"
3827 version ".tar.gz"))
3828 (sha256
3829 (base32
3830 "07qgc8dyi9kkzkd3xcd78wdlljy0xwhz65b4r2qg2piidpcdvpxp"))))
3831 (build-system haskell-build-system)
3832 (inputs
3833 `(("ghc-vector" ,ghc-vector)))
3834 (native-inputs
3835 `(("ghc-quickcheck" ,ghc-quickcheck)
3836 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
3837 (home-page "https://github.com/thsutton/edit-distance-vector")
3838 (synopsis "Calculate edit distances and edit scripts between vectors")
3839 (description "This package provides implementation of the
3840Wagner-Fischer dynamic programming algorithm to find the optimal edit
3841script and cost between two sequences. The implementation in this
3842package is specialised to sequences represented with @code{Data.Vector}
3843but is otherwise agnostic to:
3844@itemize
3845@item The type of values in the vectors;
3846@item The type representing edit operations; and
3847@item The type representing the cost of operations.
3848@end itemize")
3849 (license license:bsd-3)) )
3850
dddbc90c
RV
3851(define-public ghc-either
3852 (package
3853 (name "ghc-either")
a3fd4dc7 3854 (version "5.0.1.1")
dddbc90c
RV
3855 (source
3856 (origin
3857 (method url-fetch)
3858 (uri (string-append "https://hackage.haskell.org/package/"
3859 "either-" version "/"
3860 "either-" version ".tar.gz"))
3861 (sha256
3862 (base32
a3fd4dc7 3863 "09yzki8ss56xhy9vggdw1rls86b2kf55hjl5wi0vbv02d8fxahq2"))))
dddbc90c
RV
3864 (build-system haskell-build-system)
3865 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
3866 ("ghc-exceptions" ,ghc-exceptions)
3867 ("ghc-free" ,ghc-free)
3868 ("ghc-monad-control" ,ghc-monad-control)
3869 ("ghc-manodrandom" ,ghc-monadrandom)
3870 ("ghc-mmorph" ,ghc-mmorph)
3871 ("ghc-profunctors" ,ghc-profunctors)
3872 ("ghc-semigroups" ,ghc-semigroups)
3873 ("ghc-semigroupoids" ,ghc-semigroupoids)
3874 ("ghc-transformers-base" ,ghc-transformers-base)))
3875 (native-inputs
3876 `(("ghc-quickcheck" ,ghc-quickcheck)
3877 ("ghc-test-framework" ,ghc-test-framework)
3878 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3879 (home-page "https://github.com/ekmett/either")
3880 (synopsis "Provides an either monad transformer for Haskell")
3881 (description "This Haskell package provides an either monad transformer.")
3882 (license license:bsd-3)))
3883
3884(define-public ghc-email-validate
3885 (package
3886 (name "ghc-email-validate")
a4fe1c64 3887 (version "2.3.2.12")
dddbc90c
RV
3888 (source
3889 (origin
3890 (method url-fetch)
3891 (uri (string-append
3892 "https://hackage.haskell.org/package/"
3893 "email-validate/email-validate-"
3894 version
3895 ".tar.gz"))
3896 (sha256
3897 (base32
a4fe1c64 3898 "0ar3cfjia3x11chb7w60mi7hp5djanms883ddk875l6lifr2lyqf"))))
dddbc90c
RV
3899 (build-system haskell-build-system)
3900 (inputs
3901 `(("ghc-attoparsec" ,ghc-attoparsec)
3902 ("ghc-hspec" ,ghc-hspec)
3903 ("ghc-quickcheck" ,ghc-quickcheck)
3904 ("ghc-doctest" ,ghc-doctest)))
3905 (home-page
3906 "https://github.com/Porges/email-validate-hs")
3907 (synopsis "Email address validator for Haskell")
3908 (description
3909 "This Haskell package provides a validator that can validate an email
3910address string against RFC 5322.")
3911 (license license:bsd-3)))
3912
3913(define-public ghc-enclosed-exceptions
3914 (package
3915 (name "ghc-enclosed-exceptions")
3916 (version "1.0.3")
3917 (source (origin
3918 (method url-fetch)
3919 (uri (string-append "https://hackage.haskell.org/package/"
3920 "enclosed-exceptions/enclosed-exceptions-"
3921 version ".tar.gz"))
3922 (sha256
3923 (base32
3924 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
3925 (build-system haskell-build-system)
3926 ;; FIXME: one of the tests blocks forever:
3927 ;; "thread blocked indefinitely in an MVar operation"
3928 (arguments '(#:tests? #f))
3929 (inputs
3930 `(("ghc-lifted-base" ,ghc-lifted-base)
3931 ("ghc-monad-control" ,ghc-monad-control)
3932 ("ghc-async" ,ghc-async)
3933 ("ghc-transformers-base" ,ghc-transformers-base)))
3934 (native-inputs
3935 `(("ghc-hspec" ,ghc-hspec)
3936 ("ghc-quickcheck" ,ghc-quickcheck)))
3937 (home-page "https://github.com/jcristovao/enclosed-exceptions")
3938 (synopsis "Catch all exceptions from within an enclosed computation")
3939 (description
3940 "This library implements a technique to catch all exceptions raised
3941within an enclosed computation, while remaining responsive to (external)
3942asynchronous exceptions.")
3943 (license license:expat)))
3944
3945(define-public ghc-equivalence
3946 (package
3947 (name "ghc-equivalence")
801cf5b1 3948 (version "0.3.5")
dddbc90c
RV
3949 (source
3950 (origin
3951 (method url-fetch)
3952 (uri (string-append "https://hackage.haskell.org/package/equivalence"
3953 "/equivalence-" version ".tar.gz"))
3954 (sha256
801cf5b1 3955 (base32 "167njzd1cf32aa7br90rjafrxy6hw3fxkk8awifqbxjrcwm5maqp"))))
dddbc90c
RV
3956 (build-system haskell-build-system)
3957 (inputs
3958 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
3959 ("ghc-transformers-compat" ,ghc-transformers-compat)
801cf5b1
TS
3960 ("ghc-fail" ,ghc-fail)
3961 ("ghc-quickcheck" ,ghc-quickcheck)))
dddbc90c
RV
3962 (home-page "https://github.com/pa-ba/equivalence")
3963 (synopsis "Maintaining an equivalence relation implemented as union-find")
3964 (description
3965 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
3966Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
396722(2), 1975) in order to maintain an equivalence relation. This
3968implementation is a port of the @code{union-find} package using the @code{ST}
3969monad transformer (instead of the IO monad).")
3970 (license license:bsd-3)))
3971
3972(define-public ghc-erf
3973 (package
3974 (name "ghc-erf")
3975 (version "2.0.0.0")
3976 (source
3977 (origin
3978 (method url-fetch)
3979 (uri (string-append "https://hackage.haskell.org/package/"
3980 "erf-" version "/"
3981 "erf-" version ".tar.gz"))
3982 (sha256
3983 (base32
3984 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
3985 (build-system haskell-build-system)
3986 (home-page "https://hackage.haskell.org/package/erf")
3987 (synopsis "The error function, erf, and related functions for Haskell")
3988 (description "This Haskell library provides a type class for the
3989error function, erf, and related functions. Instances for Float and
3990Double.")
3991 (license license:bsd-3)))
3992
3993(define-public ghc-errorcall-eq-instance
3994 (package
3995 (name "ghc-errorcall-eq-instance")
3996 (version "0.3.0")
3997 (source
3998 (origin
3999 (method url-fetch)
4000 (uri (string-append "https://hackage.haskell.org/package/"
4001 "errorcall-eq-instance/errorcall-eq-instance-"
4002 version ".tar.gz"))
4003 (sha256
4004 (base32
4005 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
4006 (build-system haskell-build-system)
4007 (inputs
4008 `(("ghc-base-orphans" ,ghc-base-orphans)))
4009 (native-inputs
4010 `(("ghc-quickcheck" ,ghc-quickcheck)
4011 ("ghc-hspec" ,ghc-hspec)
4012 ("hspec-discover" ,hspec-discover)))
3ef91e15 4013 (home-page "https://hackage.haskell.org/package/errorcall-eq-instance")
dddbc90c
RV
4014 (synopsis "Orphan Eq instance for ErrorCall")
4015 (description
4016 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
4017This package provides an orphan instance.")
4018 (license license:expat)))
4019
4020(define-public ghc-errors
4021 (package
4022 (name "ghc-errors")
4023 (version "2.3.0")
4024 (source
4025 (origin
4026 (method url-fetch)
4027 (uri (string-append "https://hackage.haskell.org/package/"
4028 "errors-" version "/"
4029 "errors-" version ".tar.gz"))
4030 (sha256
4031 (base32
4032 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
4033 (build-system haskell-build-system)
4034 (inputs
4035 `(("ghc-exceptions" ,ghc-exceptions)
4036 ("ghc-transformers-compat" ,ghc-transformers-compat)
4037 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
4038 ("ghc-safe" ,ghc-safe)))
4039 (home-page "https://github.com/gabriel439/haskell-errors-library")
4040 (synopsis "Error handling library for Haskell")
4041 (description "This library encourages an error-handling style that
4042directly uses the type system, rather than out-of-band exceptions.")
4043 (license license:bsd-3)))
4044
4045(define-public ghc-esqueleto
2648b604
TS
4046 (package
4047 (name "ghc-esqueleto")
2f6ad77b 4048 (version "3.3.1.1")
2648b604
TS
4049 (source
4050 (origin
4051 (method url-fetch)
4052 (uri (string-append "https://hackage.haskell.org/package/"
4053 "esqueleto/esqueleto-" version ".tar.gz"))
4054 (sha256
4055 (base32
2f6ad77b 4056 "1qi28ma8j5kfygjxnixlazxsyrkdqv8ljz3icwqi5dlscsnj6v3v"))))
2648b604
TS
4057 (build-system haskell-build-system)
4058 (arguments
4059 `(#:haddock? #f ; Haddock reports an internal error.
4060 #:phases
4061 (modify-phases %standard-phases
4062 ;; This package normally runs tests for the MySQL, PostgreSQL, and
4063 ;; SQLite backends. Since we only have Haskell packages for
4064 ;; SQLite, we remove the other two test suites. FIXME: Add the
4065 ;; other backends and run all three test suites.
4066 (add-before 'configure 'remove-non-sqlite-test-suites
4067 (lambda _
4068 (use-modules (ice-9 rdelim))
4069 (with-atomic-file-replacement "esqueleto.cabal"
4070 (lambda (in out)
4071 (let loop ((line (read-line in 'concat)) (deleting? #f))
4072 (cond
4073 ((eof-object? line) #t)
4074 ((string-every char-set:whitespace line)
4075 (unless deleting? (display line out))
4076 (loop (read-line in 'concat) #f))
4077 ((member line '("test-suite mysql\n"
4078 "test-suite postgresql\n"))
4079 (loop (read-line in 'concat) #t))
4080 (else
4081 (unless deleting? (display line out))
4082 (loop (read-line in 'concat) deleting?)))))))))))
4083 (inputs
4084 `(("ghc-blaze-html" ,ghc-blaze-html)
4085 ("ghc-conduit" ,ghc-conduit)
4086 ("ghc-monad-logger" ,ghc-monad-logger)
4087 ("ghc-persistent" ,ghc-persistent)
4088 ("ghc-resourcet" ,ghc-resourcet)
4089 ("ghc-tagged" ,ghc-tagged)
4090 ("ghc-unliftio" ,ghc-unliftio)
4091 ("ghc-unordered-containers" ,ghc-unordered-containers)))
4092 (native-inputs
4093 `(("ghc-hspec" ,ghc-hspec)
4094 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
4095 ("ghc-persistent-template" ,ghc-persistent-template)))
4096 (home-page "https://github.com/bitemyapp/esqueleto")
4097 (synopsis "Type-safe embedded domain specific language for SQL queries")
4098 (description "This library provides a type-safe embedded domain specific
dddbc90c
RV
4099language (EDSL) for SQL queries that works with SQL backends as provided by
4100@code{ghc-persistent}. Its language closely resembles SQL, so you don't have
4101to learn new concepts, just new syntax, and it's fairly easy to predict the
4102generated SQL and optimize it for your backend.")
2648b604 4103 (license license:bsd-3)))
dddbc90c
RV
4104
4105(define-public ghc-exactprint
4106 (package
4107 (name "ghc-exactprint")
50614014 4108 (version "0.6.1")
dddbc90c
RV
4109 (source
4110 (origin
4111 (method url-fetch)
4112 (uri (string-append
4113 "https://hackage.haskell.org/package/"
4114 "ghc-exactprint/ghc-exactprint-" version ".tar.gz"))
4115 (sha256
4116 (base32
50614014 4117 "12nqpqmi9c57a3hgpfy8q073zryz66ylmcvf29hyffpj7vmmnvhl"))))
dddbc90c
RV
4118 (build-system haskell-build-system)
4119 (inputs
4120 `(("ghc-paths" ,ghc-paths)
4121 ("ghc-syb" ,ghc-syb)
4122 ("ghc-free" ,ghc-free)))
4123 (native-inputs
4124 `(("ghc-hunit" ,ghc-hunit)
4125 ("ghc-diff" ,ghc-diff)
4126 ("ghc-silently" ,ghc-silently)
4127 ("ghc-filemanip" ,ghc-filemanip)))
4128 (home-page
3ef91e15 4129 "https://hackage.haskell.org/package/ghc-exactprint")
dddbc90c
RV
4130 (synopsis "ExactPrint for GHC")
4131 (description
4132 "Using the API Annotations available from GHC 7.10.2, this library
4133provides a means to round-trip any code that can be compiled by GHC, currently
4134excluding @file{.lhs} files.")
4135 (license license:bsd-3)))
4136
4137(define-public ghc-exceptions
4138 (package
4139 (name "ghc-exceptions")
46d3e65b 4140 (version "0.10.3")
dddbc90c
RV
4141 (source
4142 (origin
4143 (method url-fetch)
4144 (uri (string-append
4145 "https://hackage.haskell.org/package/exceptions/exceptions-"
4146 version
4147 ".tar.gz"))
4148 (sha256
4149 (base32
46d3e65b 4150 "1w25j4ys5s6v239vbqlbipm9fdwxl1j2ap2lzms7f7rgnik5ir24"))))
dddbc90c
RV
4151 (build-system haskell-build-system)
4152 (native-inputs
4153 `(("ghc-quickcheck" ,ghc-quickcheck)
4154 ("ghc-test-framework" ,ghc-test-framework)
4155 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4156 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4157 (inputs
4158 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
4159 (home-page "https://github.com/ekmett/exceptions/")
4160 (synopsis "Extensible optionally-pure exceptions")
4161 (description "This library provides extensible optionally-pure exceptions
4162for Haskell.")
4163 (license license:bsd-3)))
4164
4165(define-public ghc-executable-path
4166 (package
4167 (name "ghc-executable-path")
4168 (version "0.0.3.1")
4169 (source (origin
4170 (method url-fetch)
4171 (uri (string-append "https://hackage.haskell.org/package/"
4172 "executable-path/executable-path-"
4173 version ".tar.gz"))
4174 (sha256
4175 (base32
4176 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
4177 (build-system haskell-build-system)
4178 (home-page "https://hackage.haskell.org/package/executable-path")
4179 (synopsis "Find out the full path of the executable")
4180 (description
4181 "The documentation of @code{System.Environment.getProgName} says that
4182\"However, this is hard-to-impossible to implement on some non-Unix OSes, so
4183instead, for maximum portability, we just return the leafname of the program
4184as invoked.\" This library tries to provide the missing path.")
4185 (license license:public-domain)))
4186
4187(define-public ghc-extensible-exceptions
4188 (package
4189 (name "ghc-extensible-exceptions")
4190 (version "0.1.1.4")
4191 (source
4192 (origin
4193 (method url-fetch)
4194 (uri (string-append "https://hackage.haskell.org/package/"
4195 "extensible-exceptions/extensible-exceptions-"
4196 version ".tar.gz"))
4197 (sha256
4198 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
4199 (build-system haskell-build-system)
4200 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
4201 (synopsis "Extensible exceptions for Haskell")
4202 (description
4203 "This package provides extensible exceptions for both new and old
4204versions of GHC (i.e., < 6.10).")
4205 (license license:bsd-3)))
4206
4207(define-public ghc-extra
4208 (package
4209 (name "ghc-extra")
0cec5c4e 4210 (version "1.6.21")
dddbc90c
RV
4211 (source
4212 (origin
4213 (method url-fetch)
4214 (uri (string-append
4215 "https://hackage.haskell.org/package/extra/extra-"
4216 version
4217 ".tar.gz"))
4218 (sha256
4219 (base32
0cec5c4e 4220 "1gjx98w4w61g043k6rzc8i34cbxpcigi8lb6i7pp1vwp8w8jm5vl"))))
dddbc90c
RV
4221 (build-system haskell-build-system)
4222 (inputs
4223 `(("ghc-clock" ,ghc-clock)
10650c44 4224 ("ghc-semigroups" ,ghc-semigroups)
b431f6c9
ASM
4225 ("ghc-quickcheck" ,ghc-quickcheck)
4226 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
dddbc90c
RV
4227 (home-page "https://github.com/ndmitchell/extra")
4228 (synopsis "Extra Haskell functions")
4229 (description "This library provides extra functions for the standard
4230Haskell libraries. Most functions are simple additions, filling out missing
4231functionality. A few functions are available in later versions of GHC, but
4232this package makes them available back to GHC 7.2.")
4233 (license license:bsd-3)))
4234
4235(define-public ghc-fail
4236 (package
4237 (name "ghc-fail")
4238 (version "4.9.0.0")
4239 (source
4240 (origin
4241 (method url-fetch)
4242 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
4243 version ".tar.gz"))
4244 (sha256
4245 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
4246 (build-system haskell-build-system)
4247 (arguments `(#:haddock? #f)) ; Package contains no documentation.
4248 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
4249 (synopsis "Forward-compatible MonadFail class")
4250 (description
4251 "This package contains the @code{Control.Monad.Fail} module providing the
4252@uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
4253class that became available in
4254@uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
4255older @code{base} package versions. This package turns into an empty package
4256when used with GHC versions which already provide the
4257@code{Control.Monad.Fail} module.")
4258 (license license:bsd-3)))
4259
4260(define-public ghc-fast-logger
4261 (package
4262 (name "ghc-fast-logger")
d443a52a 4263 (version "2.4.17")
dddbc90c
RV
4264 (source
4265 (origin
4266 (method url-fetch)
4267 (uri (string-append
4268 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
4269 version
4270 ".tar.gz"))
4271 (sha256
4272 (base32
d443a52a 4273 "02mxb1ckvx1s2r2m11l5i2l5rdl7232p0f61af6773haykjp0qxk"))))
dddbc90c
RV
4274 (build-system haskell-build-system)
4275 (inputs
4276 `(("ghc-auto-update" ,ghc-auto-update)
4277 ("ghc-easy-file" ,ghc-easy-file)
d443a52a
TS
4278 ("ghc-unix-time" ,ghc-unix-time)
4279 ("ghc-unix-compat" ,ghc-unix-compat)))
dddbc90c
RV
4280 (native-inputs
4281 `(("hspec-discover" ,hspec-discover)
4282 ("ghc-hspec" ,ghc-hspec)))
4283 (home-page "https://hackage.haskell.org/package/fast-logger")
4284 (synopsis "Fast logging system")
4285 (description "This library provides a fast logging system for Haskell.")
4286 (license license:bsd-3)))
4287
4288(define-public ghc-feed
4289 (package
4290 (name "ghc-feed")
a41c16dc 4291 (version "1.2.0.1")
dddbc90c
RV
4292 (source
4293 (origin
4294 (method url-fetch)
4295 (uri (string-append "https://hackage.haskell.org/package/"
4296 "feed/feed-" version ".tar.gz"))
4297 (sha256
4298 (base32
a41c16dc 4299 "004lwdng4slj6yl8mgscr3cgj0zzc8hzkf4450dby2l6cardg4w0"))))
dddbc90c 4300 (build-system haskell-build-system)
dddbc90c
RV
4301 (inputs
4302 `(("ghc-base-compat" ,ghc-base-compat)
4303 ("ghc-old-locale" ,ghc-old-locale)
4304 ("ghc-old-time" ,ghc-old-time)
4305 ("ghc-safe" ,ghc-safe)
4306 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
4307 ("ghc-utf8-string" ,ghc-utf8-string)
4308 ("ghc-xml-conduit" ,ghc-xml-conduit)
4309 ("ghc-xml-types" ,ghc-xml-types)))
4310 (native-inputs
4311 `(("ghc-hunit" ,ghc-hunit)
a41c16dc 4312 ("ghc-markdown-unlit" ,ghc-markdown-unlit)
dddbc90c
RV
4313 ("ghc-test-framework" ,ghc-test-framework)
4314 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4315 (home-page "https://github.com/bergmark/feed")
4316 (synopsis "Haskell package for handling various syndication formats")
4317 (description "This Haskell package includes tools for generating and
4318consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
4319 (license license:bsd-3)))
4320
4321(define-public ghc-fgl
4322 (package
4323 (name "ghc-fgl")
17482b26 4324 (version "5.7.0.1")
534d6caa 4325 (outputs '("out" "static" "doc"))
dddbc90c
RV
4326 (source
4327 (origin
4328 (method url-fetch)
4329 (uri (string-append
4330 "https://hackage.haskell.org/package/fgl/fgl-"
4331 version
4332 ".tar.gz"))
4333 (sha256
4334 (base32
17482b26 4335 "04793yh778ck3kz1z2svnfdwwls2kisbnky4lzvf4zjfgpv7mkpz"))))
dddbc90c
RV
4336 (build-system haskell-build-system)
4337 (arguments
4338 `(#:phases
4339 (modify-phases %standard-phases
4340 (add-before 'configure 'update-constraints
4341 (lambda _
4342 (substitute* "fgl.cabal"
17482b26
TS
4343 (("QuickCheck >= 2\\.8 && < 2\\.13")
4344 "QuickCheck >= 2.8 && < 2.14")
4345 (("hspec >= 2\\.1 && < 2\\.7")
4346 "hspec >= 2.1 && < 2.8")))))))
dddbc90c
RV
4347 (inputs
4348 `(("ghc-hspec" ,ghc-hspec)
4349 ("ghc-quickcheck" ,ghc-quickcheck)))
4350 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
4351 (synopsis
4352 "Martin Erwig's Functional Graph Library")
4353 (description "The functional graph library, FGL, is a collection of type
4354and function definitions to address graph problems. The basis of the library
4355is an inductive definition of graphs in the style of algebraic data types that
4356encourages inductive, recursive definitions of graph algorithms.")
4357 (license license:bsd-3)))
4358
4359(define-public ghc-fgl-arbitrary
4360 (package
4361 (name "ghc-fgl-arbitrary")
4362 (version "0.2.0.3")
4363 (source
4364 (origin
4365 (method url-fetch)
4366 (uri (string-append
4367 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
4368 version ".tar.gz"))
4369 (sha256
4370 (base32
4371 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
4372 (build-system haskell-build-system)
4373 (arguments
4374 `(#:phases
4375 (modify-phases %standard-phases
4376 (add-before 'configure 'update-constraints
4377 (lambda _
4378 (substitute* "fgl-arbitrary.cabal"
4379 (("QuickCheck >= 2\\.3 && < 2\\.10")
4a0ffae5 4380 "QuickCheck >= 2.3 && < 2.14")
dddbc90c 4381 (("hspec >= 2\\.1 && < 2\\.5")
4a0ffae5 4382 "hspec >= 2.1 && < 2.8")))))))
dddbc90c
RV
4383 (inputs
4384 `(("ghc-fgl" ,ghc-fgl)
4385 ("ghc-quickcheck" ,ghc-quickcheck)
4386 ("ghc-hspec" ,ghc-hspec)))
4387 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
4388 (synopsis "QuickCheck support for fgl")
4389 (description
4390 "Provides Arbitrary instances for fgl graphs to avoid adding a
4391QuickCheck dependency for fgl whilst still making the instances
4392available to others. Also available are non-fgl-specific functions
4393for generating graph-like data structures.")
4394 (license license:bsd-3)))
4395
4396(define-public ghc-file-embed
4397 (package
4398 (name "ghc-file-embed")
b5920d50 4399 (version "0.0.11")
dddbc90c
RV
4400 (source
4401 (origin
4402 (method url-fetch)
4403 (uri (string-append "https://hackage.haskell.org/package/file-embed/"
4404 "file-embed-" version ".tar.gz"))
4405 (sha256
4406 (base32
b5920d50 4407 "0l6dkwccbzzyx8rcav03lya2334dgi3vfwk96h7l93l0fc4x19gf"))))
dddbc90c
RV
4408 (build-system haskell-build-system)
4409 (home-page "https://github.com/snoyberg/file-embed")
4410 (synopsis "Use Template Haskell to embed file contents directly")
4411 (description
4412 "This package allows you to use Template Haskell to read a file or all
4413the files in a directory, and turn them into @code{(path, bytestring)} pairs
4414embedded in your Haskell code.")
4415 (license license:bsd-3)))
4416
4417(define-public ghc-filemanip
4418 (package
4419 (name "ghc-filemanip")
4420 (version "0.3.6.3")
4421 (source (origin
4422 (method url-fetch)
4423 (uri (string-append "https://hackage.haskell.org/package/"
4424 "filemanip/filemanip-" version ".tar.gz"))
4425 (sha256
4426 (base32
4427 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
4428 (build-system haskell-build-system)
4429 (inputs
4430 `(("ghc-unix-compat" ,ghc-unix-compat)))
4431 (home-page "https://github.com/bos/filemanip")
4432 (synopsis "File and directory manipulation for Haskell")
4433 (description
4434 "This package provides a Haskell library for working with files and
4435directories. It includes code for pattern matching, finding files, modifying
4436file contents, and more.")
4437 (license license:bsd-3)))
4438
bb62932a
KM
4439(define-public ghc-filepath-bytestring
4440 (package
4441 (name "ghc-filepath-bytestring")
e2879805 4442 (version "1.4.2.1.6")
bb62932a
KM
4443 (source
4444 (origin
4445 (method url-fetch)
4446 (uri (string-append
4447 "https://hackage.haskell.org/package/filepath-bytestring/"
4448 "filepath-bytestring-" version ".tar.gz"))
4449 (sha256
4450 (base32
e2879805 4451 "11xrrzdkm5i96dazbz0gi1qp8nnj2lwbnxzwy7f4cnahskz4f4g7"))))
bb62932a
KM
4452 (build-system haskell-build-system)
4453 (native-inputs
4454 `(("ghc-quickcheck" ,ghc-quickcheck)))
3ef91e15 4455 (home-page "https://hackage.haskell.org/package/filepath-bytestring")
bb62932a
KM
4456 (synopsis "Library for manipulating RawFilePaths in a cross-platform way")
4457 (description "This package provides a drop-in replacement for the standard
4458@code{filepath} library, operating on @code{RawFilePath} values rather than
4459@code{FilePath} values to get the speed benefits of using @code{ByteStrings}.")
4460 (license license:bsd-3)))
4461
dddbc90c
RV
4462(define-public ghc-findbin
4463 (package
4464 (name "ghc-findbin")
4465 (version "0.0.5")
4466 (source
4467 (origin
4468 (method url-fetch)
4469 (uri (string-append
4470 "https://hackage.haskell.org/package/FindBin/FindBin-"
4471 version ".tar.gz"))
4472 (sha256
4473 (base32
4474 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
4475 (build-system haskell-build-system)
4476 (home-page "https://github.com/audreyt/findbin")
4477 (synopsis "Get the absolute path of the running program")
4478 (description
4479 "This module locates the full directory of the running program, to allow
4480the use of paths relative to it. FindBin supports invocation of Haskell
4481programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
4482an executable.")
4483 (license license:bsd-3)))
4484
4485(define-public ghc-fingertree
4486 (package
4487 (name "ghc-fingertree")
aac14fdc 4488 (version "0.1.4.2")
dddbc90c
RV
4489 (source
4490 (origin
4491 (method url-fetch)
4492 (uri (string-append
4493 "https://hackage.haskell.org/package/fingertree/fingertree-"
4494 version ".tar.gz"))
4495 (sha256
4496 (base32
aac14fdc 4497 "0zvandj8fysck7ygpn0dw5bhrhmj1s63i326nalxbfkh2ls4iacm"))))
dddbc90c
RV
4498 (build-system haskell-build-system)
4499 (native-inputs
4500 `(("ghc-hunit" ,ghc-hunit)
4501 ("ghc-quickcheck" ,ghc-quickcheck)
4502 ("ghc-test-framework" ,ghc-test-framework)
4503 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4504 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4505 (home-page "https://hackage.haskell.org/package/fingertree")
4506 (synopsis "Generic finger-tree structure")
4507 (description "This library provides finger trees, a general sequence
4508representation with arbitrary annotations, for use as a base for
4509implementations of various collection types. It includes examples, as
4510described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
4511simple general-purpose data structure\".")
4512 (license license:bsd-3)))
4513
4514(define-public ghc-fixed
4515 (package
4516 (name "ghc-fixed")
099dda5b 4517 (version "0.3")
dddbc90c
RV
4518 (source
4519 (origin
4520 (method url-fetch)
4521 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
4522 version ".tar.gz"))
4523 (sha256
4524 (base32
099dda5b 4525 "10l2sh179xarb774q92cff2gkb20rsrlilfwp1fk61rzmz9yn64j"))))
dddbc90c
RV
4526 (build-system haskell-build-system)
4527 (home-page "https://github.com/ekmett/fixed")
4528 (synopsis "Signed 15.16 precision fixed point arithmetic")
4529 (description
4530 "This package provides functions for signed 15.16 precision fixed point
4531arithmetic.")
4532 (license license:bsd-3)))
4533
f169f713
JS
4534(define-public ghc-fmlist
4535 (package
4536 (name "ghc-fmlist")
fe9b83a6 4537 (version "0.9.3")
f169f713
JS
4538 (source
4539 (origin
4540 (method url-fetch)
4541 (uri
4542 (string-append
4543 "https://hackage.haskell.org/package/fmlist/fmlist-"
4544 version ".tar.gz"))
4545 (sha256
4546 (base32
fe9b83a6 4547 "1w9nhm2zybdx4c1lalkajwqr8wcs731lfjld2r8gknd7y96x8pwf"))))
f169f713
JS
4548 (build-system haskell-build-system)
4549 (home-page "https://github.com/sjoerdvisscher/fmlist")
4550 (synopsis "FoldMap lists")
4551 (description "FoldMap lists are lists represented by their
4552@code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and
4553append, just like DLists, but other operations might have favorable
4554performance characteristics as well. These wild claims are still
4555completely unverified though.")
4556 (license license:bsd-3)))
4557
dddbc90c
RV
4558(define-public ghc-foldl
4559 (package
4560 (name "ghc-foldl")
26c4104f 4561 (version "1.4.5")
dddbc90c
RV
4562 (source
4563 (origin
4564 (method url-fetch)
4565 (uri (string-append "https://hackage.haskell.org/package/"
4566 "foldl-" version "/"
4567 "foldl-" version ".tar.gz"))
4568 (sha256
4569 (base32
26c4104f 4570 "19qjmzc7gaxfwgqbgy0kq4vhbxvh3qjnwsxnc7pzwws2if5bv80b"))))
dddbc90c 4571 (build-system haskell-build-system)
b3c79a83 4572 (outputs '("out" "static" "doc"))
dddbc90c
RV
4573 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
4574 ("ghc-primitive" ,ghc-primitive)
4575 ("ghc-vector" ,ghc-vector)
4576 ("ghc-unordered-containers" ,ghc-unordered-containers)
4577 ("ghc-hashable" ,ghc-hashable)
4578 ("ghc-contravariant" ,ghc-contravariant)
4579 ("ghc-semigroups" ,ghc-semigroups)
4580 ("ghc-profunctors" ,ghc-profunctors)
4581 ("ghc-semigroupoids" ,ghc-semigroupoids)
4582 ("ghc-comonad" ,ghc-comonad)
4583 ("ghc-vector-builder" ,ghc-vector-builder)))
4584 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
4585 (synopsis "Composable, streaming, and efficient left folds for Haskell")
4586 (description "This Haskell library provides strict left folds that stream
4587in constant memory, and you can combine folds using @code{Applicative} style
4588to derive new folds. Derived folds still traverse the container just once
4589and are often as efficient as hand-written folds.")
4590 (license license:bsd-3)))
4591
4592(define-public ghc-foundation
4593 (package
4594 (name "ghc-foundation")
0a702df9 4595 (version "0.0.25")
dddbc90c
RV
4596 (source
4597 (origin
4598 (method url-fetch)
4599 (uri (string-append "https://hackage.haskell.org/package/"
4600 "foundation/foundation-" version ".tar.gz"))
4601 (sha256
4602 (base32
0a702df9 4603 "0q6kx57ygmznlpf8n499hid4x6mj3180paijx0a8dgi9hh7man61"))))
dddbc90c 4604 (build-system haskell-build-system)
59cd7518
TS
4605 (arguments
4606 `(#:phases
4607 (modify-phases %standard-phases
4608 ;; This test is broken. For details, see
4609 ;; https://github.com/haskell-foundation/foundation/issues/530
4610 (add-after 'unpack 'patch-tests
4611 (lambda _
4612 (substitute* "tests/Test/Foundation/Number.hs"
4613 ((", testDividible proxy") ""))
4614 #t)))))
6a7fb828 4615 (outputs '("out" "static" "doc"))
dddbc90c
RV
4616 (inputs `(("ghc-basement" ,ghc-basement)))
4617 (home-page "https://github.com/haskell-foundation/foundation")
4618 (synopsis "Alternative prelude with batteries and no dependencies")
4619 (description
4620 "This package provides a custom prelude with no dependencies apart from
4621the base package.
4622
4623Foundation has the following goals:
4624
4625@enumerate
4626@item provide a base like sets of modules that provide a consistent set of
4627 features and bugfixes across multiple versions of GHC (unlike base).
4628@item provide a better and more efficient prelude than base's prelude.
4629@item be self-sufficient: no external dependencies apart from base;
4630@item provide better data-types: packed unicode string by default, arrays;
4631@item Numerical classes that better represent mathematical things (no more
4632 all-in-one @code{Num});
4633@item I/O system with less lazy IO.
4634@end enumerate\n")
4635 (license license:bsd-3)))
4636
4637(define-public ghc-free
4638 (package
4639 (name "ghc-free")
4081565d 4640 (version "5.1.2")
dddbc90c
RV
4641 (source
4642 (origin
4643 (method url-fetch)
4644 (uri (string-append
4645 "https://hackage.haskell.org/package/free/free-"
4646 version
4647 ".tar.gz"))
4648 (sha256
4649 (base32
4081565d 4650 "0vlf3f2ckl3cr7z2zl8c9c8qkdlfgvmh04gxkp2fg0z9dz80nlyb"))))
dddbc90c 4651 (build-system haskell-build-system)
91769cee 4652 (outputs '("out" "static" "doc"))
dddbc90c
RV
4653 (inputs
4654 `(("ghc-prelude-extras" ,ghc-prelude-extras)
4655 ("ghc-profunctors" ,ghc-profunctors)
4656 ("ghc-exceptions" ,ghc-exceptions)
4657 ("ghc-bifunctors" ,ghc-bifunctors)
4658 ("ghc-comonad" ,ghc-comonad)
4659 ("ghc-distributive" ,ghc-distributive)
4660 ("ghc-semigroupoids" ,ghc-semigroupoids)
4661 ("ghc-semigroups" ,ghc-semigroups)
4662 ("ghc-transformers-base" ,ghc-transformers-base)
4663 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4664 (home-page "https://github.com/ekmett/free/")
4665 (synopsis "Unrestricted monads for Haskell")
4666 (description "This library provides free monads, which are useful for many
4667tree-like structures and domain specific languages. If @code{f} is a
4668@code{Functor} then the free @code{Monad} on @code{f} is the type of trees
4669whose nodes are labeled with the constructors of @code{f}. The word \"free\"
4670is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
4671f} makes no constraining assumptions beyond those given by @code{f} and the
4672definition of @code{Monad}.")
4673 (license license:bsd-3)))
4674
4675(define-public ghc-fsnotify
4676 (package
4677 (name "ghc-fsnotify")
4678 (version "0.3.0.1")
4679 (source (origin
4680 (method url-fetch)
4681 (uri (string-append
4682 "https://hackage.haskell.org/package/fsnotify/"
4683 "fsnotify-" version ".tar.gz"))
4684 (sha256
4685 (base32
4686 "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny"))))
4687 (build-system haskell-build-system)
4688 (inputs
4689 `(("ghc-async" ,ghc-async)
4690 ("ghc-unix-compat" ,ghc-unix-compat)
4691 ("ghc-hinotify" ,ghc-hinotify)
4692 ("ghc-tasty" ,ghc-tasty)
4693 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4694 ("ghc-random" ,ghc-random)
4695 ("ghc-shelly" ,ghc-shelly)
4696 ("ghc-temporary" ,ghc-temporary)))
4697 (home-page "https://github.com/haskell-fswatch/hfsnotify")
4698 (synopsis "Cross platform library for file change notification.")
4699 (description "Cross platform library for file creation, modification, and
4700deletion notification. This library builds upon existing libraries for platform
4701specific Windows, Mac, and Linux file system event notification.")
4702 (license license:bsd-3)))
4703
4704(define-public ghc-generic-deriving
4705 (package
4706 (name "ghc-generic-deriving")
55c1e6be 4707 (version "1.12.4")
dddbc90c
RV
4708 (source
4709 (origin
4710 (method url-fetch)
4711 (uri (string-append
4712 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
4713 version
4714 ".tar.gz"))
4715 (sha256
4716 (base32
55c1e6be 4717 "0vdg9qdq35jl3m11a87wk8cq1y71qm4i1g1b2pxki0wk70yw20a4"))))
dddbc90c 4718 (build-system haskell-build-system)
32bb6b41 4719 (outputs '("out" "static" "doc"))
dddbc90c
RV
4720 (inputs
4721 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
4722 (native-inputs
4723 `(("ghc-hspec" ,ghc-hspec)
4724 ("hspec-discover" ,hspec-discover)))
4725 (home-page "https://hackage.haskell.org/package/generic-deriving")
4726 (synopsis "Generalise the deriving mechanism to arbitrary classes")
4727 (description "This package provides functionality for generalising the
4728deriving mechanism in Haskell to arbitrary classes.")
4729 (license license:bsd-3)))
4730
89e9082e
JS
4731(define-public ghc-generic-random
4732 (package
4733 (name "ghc-generic-random")
4734 (version "1.2.0.0")
4735 (source
4736 (origin
4737 (method url-fetch)
4738 (uri (string-append
4739 "https://hackage.haskell.org/package/generic-random/"
4740 "generic-random-" version ".tar.gz"))
4741 (sha256
4742 (base32 "130lmblycxnpqbsl7vf6a90zccibnvcb5zaclfajcn3by39007lv"))))
4743 (build-system haskell-build-system)
4744 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
4745 (native-inputs
4746 `(("ghc-inspection-testing" ,ghc-inspection-testing)))
4747 (arguments
4748 `(#:cabal-revision
4749 ("1" "1d0hx41r7yq2a86ydnfh2fv540ah8cz05l071s2z4wxcjw0ymyn4")))
4750 (home-page
4751 "https://github.com/lysxia/generic-random")
4752 (synopsis
4753 "Generic random generators for QuickCheck")
4754 (description
4755 "Derive instances of @code{Arbitrary} for QuickCheck, with various options
4756to customize implementations.
4757
4758Automating the arbitrary boilerplate also ensures that when a type changes to
4759have more or fewer constructors, then the generator either fixes itself to
4760generate that new case (when using the uniform distribution) or causes a
4761compilation error so you remember to fix it (when using an explicit
4762distribution).
4763
4764This package also offers a simple (optional) strategy to ensure termination
4765for recursive types: make @code{Test.QuickCheck.Gen}'s size parameter decrease
4766at every recursive call; when it reaches zero, sample directly from a
4767trivially terminating generator given explicitly (@code{genericArbitraryRec}
4768and @code{withBaseCase}) or implicitly (@code{genericArbitrary'}).")
4769 (license license:expat)))
4770
23e4b264
JS
4771(define-public ghc-generic-random-1.3.0.1
4772 (package
4773 (inherit ghc-generic-random)
4774 (version "1.3.0.1")
4775 (source
4776 (origin
4777 (method url-fetch)
4778 (uri (string-append
4779 "https://hackage.haskell.org/package/generic-random/"
4780 "generic-random-" version ".tar.gz"))
4781 (sha256
4782 (base32 "0d9w7xcmsb31b95fr9d5jwbsajcl1yi4347dlbw4bybil2vjwd7k"))))
4783 (arguments '())))
4784
dddbc90c
RV
4785(define-public ghc-generics-sop
4786 (package
4787 (name "ghc-generics-sop")
3ed40e10 4788 (version "0.4.0.1")
dddbc90c
RV
4789 (source
4790 (origin
4791 (method url-fetch)
4792 (uri (string-append "https://hackage.haskell.org/package/"
4793 "generics-sop-" version "/"
4794 "generics-sop-" version ".tar.gz"))
4795 (sha256
4796 (base32
3ed40e10 4797 "160knr2phnzh2gldfv954lz029jzc7y8kz5xpmbf4z3vb5ngm6fw"))))
dddbc90c 4798 (build-system haskell-build-system)
80e0a085 4799 (outputs '("out" "static" "doc"))
3ed40e10
TS
4800 (inputs
4801 `(("ghc-sop-core" ,ghc-sop-core)
4802 ("ghc-transformers-compat" ,ghc-transformers-compat)))
dddbc90c
RV
4803 (home-page "https://github.com/well-typed/generics-sop")
4804 (synopsis "Generic Programming using True Sums of Products for Haskell")
4805 (description "This Haskell package supports the definition of generic
4806functions. Datatypes are viewed in a uniform, structured way: the choice
4807between constructors is represented using an n-ary sum, and the arguments of
4808each constructor are represented using an n-ary product.")
4809 (license license:bsd-3)))
4810
4811(define-public ghc-geniplate-mirror
4812 (package
4813 (name "ghc-geniplate-mirror")
4814 (version "0.7.6")
4815 (source
4816 (origin
4817 (method url-fetch)
4818 (uri (string-append "https://hackage.haskell.org/package"
4819 "/geniplate-mirror"
4820 "/geniplate-mirror-" version ".tar.gz"))
4821 (sha256
4822 (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb"))))
4823 (build-system haskell-build-system)
74a7dd7f
TS
4824 (arguments
4825 `(#:cabal-revision
4826 ("2" "03fg4vfm1wgq4mylggawdx0bfvbbjmdn700sqx7v3hk1bx0kjfzh")))
dddbc90c
RV
4827 (home-page "https://github.com/danr/geniplate")
4828 (synopsis "Use Template Haskell to generate Uniplate-like functions")
4829 (description
4830 "Use Template Haskell to generate Uniplate-like functions. This is a
4831maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
4832geniplate} package, written by Lennart Augustsson.")
4833 (license license:bsd-3)))
4834
4835(define-public ghc-genvalidity
4836 (package
4837 (name "ghc-genvalidity")
920f44a1 4838 (version "0.8.0.0")
dddbc90c
RV
4839 (source
4840 (origin
4841 (method url-fetch)
4842 (uri (string-append
4843 "https://hackage.haskell.org/package/genvalidity/genvalidity-"
4844 version
4845 ".tar.gz"))
4846 (sha256
4847 (base32
920f44a1 4848 "0w38aq9hfyymidncgkrs6yvja7j573d9sap5qfg5rz910fhsij9a"))))
dddbc90c
RV
4849 (build-system haskell-build-system)
4850 (inputs
4851 `(("ghc-quickcheck" ,ghc-quickcheck)
4852 ("ghc-validity" ,ghc-validity)))
4853 (native-inputs
4854 `(("ghc-hspec" ,ghc-hspec)
4855 ("hspec-discover" ,hspec-discover)
4856 ("ghc-hspec-core" ,ghc-hspec-core)))
4857 (home-page
4858 "https://github.com/NorfairKing/validity")
4859 (synopsis
4860 "Testing utilities for the @code{validity} library")
4861 (description
4862 "This package provides testing utilities that are useful in conjunction
4863with the @code{Validity} typeclass.")
4864 (license license:expat)))
4865
4866(define-public ghc-genvalidity-property
4867 (package
4868 (name "ghc-genvalidity-property")
e4ede35b 4869 (version "0.4.0.0")
dddbc90c
RV
4870 (source
4871 (origin
4872 (method url-fetch)
4873 (uri (string-append
4874 "https://hackage.haskell.org/package/"
4875 "genvalidity-property/genvalidity-property-"
4876 version
4877 ".tar.gz"))
4878 (sha256
4879 (base32
e4ede35b 4880 "0zayycx62226w54rvkxwhvqhznsr33dk3ds55yyqrfqbnhvph1s9"))))
dddbc90c
RV
4881 (build-system haskell-build-system)
4882 (inputs
4883 `(("ghc-quickcheck" ,ghc-quickcheck)
4884 ("ghc-genvalidity" ,ghc-genvalidity)
4885 ("ghc-hspec" ,ghc-hspec)
4886 ("hspec-discover" ,hspec-discover)
4887 ("ghc-validity" ,ghc-validity)))
4888 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
4889 (home-page
4890 "https://github.com/NorfairKing/validity")
4891 (synopsis
4892 "Standard properties for functions on @code{Validity} types")
4893 (description
4894 "This package supplements the @code{Validity} typeclass with standard
4895properties for functions operating on them.")
4896 (license license:expat)))
4897
e71fb573
TS
4898(define-public ghc-getopt-generics
4899 (package
4900 (name "ghc-getopt-generics")
4901 (version "0.13.0.4")
4902 (source
4903 (origin
4904 (method url-fetch)
4905 (uri (string-append "https://hackage.haskell.org/package/"
4906 "getopt-generics/getopt-generics-"
4907 version ".tar.gz"))
4908 (sha256
4909 (base32
4910 "1rszkcn1rg38wf35538ljk5bbqjc57y9sb3a0al7qxm82gy8yigr"))))
4911 (build-system haskell-build-system)
4912 (inputs
4913 `(("ghc-base-compat" ,ghc-base-compat)
4914 ("ghc-base-orphans" ,ghc-base-orphans)
4915 ("ghc-generics-sop" ,ghc-generics-sop)
4916 ("ghc-tagged" ,ghc-tagged)))
4917 (native-inputs
4918 `(("ghc-quickcheck" ,ghc-quickcheck)
4919 ("ghc-hspec" ,ghc-hspec)
4920 ("ghc-safe" ,ghc-safe)
4921 ("ghc-silently" ,ghc-silently)
4922 ("hspec-discover" ,hspec-discover)))
4923 (home-page "https://github.com/soenkehahn/getopt-generics")
4924 (synopsis "Create command line interfaces with ease")
4925 (description "This library provides tools to create command line
4926interfaces with ease.")
4927 (license license:bsd-3)))
4928
dddbc90c
RV
4929(define-public ghc-gitrev
4930 (package
4931 (name "ghc-gitrev")
4932 (version "1.3.1")
4933 (source
4934 (origin
4935 (method url-fetch)
4936 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
4937 version ".tar.gz"))
4938 (sha256
4939 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
4940 (build-system haskell-build-system)
4941 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
4942 (home-page "https://github.com/acfoltzer/gitrev")
4943 (synopsis "Compile git revision info into Haskell projects")
4944 (description
4945 "This package provides some handy Template Haskell splices for including
4946the current git hash and branch in the code of your project. This is useful
4947for including in panic messages, @command{--version} output, or diagnostic
4948info for more informative bug reports.")
4949 (license license:bsd-3)))
4950
4951(define-public ghc-glob
4952 (package
4953 (name "ghc-glob")
b900f486 4954 (version "0.10.0")
dddbc90c
RV
4955 (source
4956 (origin
4957 (method url-fetch)
4958 (uri (string-append "https://hackage.haskell.org/package/"
4959 "Glob-" version "/"
4960 "Glob-" version ".tar.gz"))
4961 (sha256
4962 (base32
b900f486 4963 "0953f91f62ncna402vsrfzdcyxhdpjna3bgdw017kad0dfymacs7"))))
dddbc90c
RV
4964 (build-system haskell-build-system)
4965 (inputs
4966 `(("ghc-dlist" ,ghc-dlist)
4967 ("ghc-semigroups" ,ghc-semigroups)
4968 ("ghc-transformers-compat" ,ghc-transformers-compat)))
4969 (native-inputs
4970 `(("ghc-hunit" ,ghc-hunit)
4971 ("ghc-quickcheck" ,ghc-quickcheck)
4972 ("ghc-test-framework" ,ghc-test-framework)
4973 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4974 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
4975 (home-page "http://iki.fi/matti.niemenmaa/glob/")
4976 (synopsis "Haskell library matching glob patterns against file paths")
4977 (description "This package provides a Haskell library for @dfn{globbing}:
4978matching patterns against file paths.")
4979 (license license:bsd-3)))
4980
4981(define-public ghc-gluraw
4982 (package
4983 (name "ghc-gluraw")
4984 (version "2.0.0.4")
4985 (source
4986 (origin
4987 (method url-fetch)
4988 (uri (string-append
4989 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
4990 version
4991 ".tar.gz"))
4992 (sha256
4993 (base32
4994 "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq"))))
4995 (build-system haskell-build-system)
4996 (inputs
4997 `(("ghc-openglraw" ,ghc-openglraw)))
228d2901 4998 (home-page "https://wiki.haskell.org/Opengl")
dddbc90c
RV
4999 (synopsis "Raw Haskell bindings GLU")
5000 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
5001utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
5002basis for a nicer interface.")
5003 (license license:bsd-3)))
5004
5005(define-public ghc-glut
5006 (package
5007 (name "ghc-glut")
8284bd09 5008 (version "2.7.0.15")
dddbc90c
RV
5009 (source
5010 (origin
5011 (method url-fetch)
5012 (uri (string-append
5013 "https://hackage.haskell.org/package/GLUT/GLUT-"
5014 version
5015 ".tar.gz"))
5016 (sha256
5017 (base32
8284bd09 5018 "0271vnf6wllhxjwy0m348x90kv27aybxcbqkkglmd5w4cpwjg5g9"))))
dddbc90c
RV
5019 (build-system haskell-build-system)
5020 (inputs
5021 `(("ghc-statevar" ,ghc-statevar)
5022 ("ghc-opengl" ,ghc-opengl)
5023 ("ghc-openglraw" ,ghc-openglraw)
5024 ("freeglut" ,freeglut)))
228d2901 5025 (home-page "https://wiki.haskell.org/Opengl")
dddbc90c
RV
5026 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
5027 (description "This library provides Haskell bindings for the OpenGL
5028Utility Toolkit, a window system-independent toolkit for writing OpenGL
5029programs.")
5030 (license license:bsd-3)))
5031
5032(define-public ghc-gnuplot
5033 (package
5034 (name "ghc-gnuplot")
d34860c7 5035 (version "0.5.6")
dddbc90c
RV
5036 (source
5037 (origin
5038 (method url-fetch)
5039 (uri (string-append
5040 "mirror://hackage/package/gnuplot/gnuplot-"
5041 version ".tar.gz"))
5042 (sha256
d34860c7 5043 (base32 "1g6xgnlkh17avivn1rlq7l2nvs26dvrbx4rkfld0bf6kyqaqwrgp"))))
dddbc90c
RV
5044 (build-system haskell-build-system)
5045 (inputs
5046 `(("ghc-temporary" ,ghc-temporary)
5047 ("ghc-utility-ht" ,ghc-utility-ht)
5048 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
5049 ("ghc-data-accessor" ,ghc-data-accessor)
5050 ("ghc-semigroups" ,ghc-semigroups)
5051 ("gnuplot" ,gnuplot)))
5052 (arguments
5053 `(#:phases
5054 (modify-phases %standard-phases
5055 (add-before 'configure 'fix-path-to-gnuplot
5056 (lambda* (#:key inputs #:allow-other-keys)
5057 (let ((gnuplot (assoc-ref inputs "gnuplot")))
5058 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
5059 (("(gnuplotName = ).*$" all cmd)
5060 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
228d2901 5061 (home-page "https://wiki.haskell.org/Gnuplot")
dddbc90c
RV
5062 (synopsis "2D and 3D plots using gnuplot")
5063 (description "This package provides a Haskell module for creating 2D and
50643D plots using gnuplot.")
5065 (license license:bsd-3)))
5066
5067(define-public ghc-graphviz
5068 (package
5069 (name "ghc-graphviz")
c264bd42 5070 (version "2999.20.0.3")
dddbc90c
RV
5071 (source (origin
5072 (method url-fetch)
5073 (uri (string-append "https://hackage.haskell.org/package/"
5074 "graphviz/graphviz-" version ".tar.gz"))
5075 (sha256
5076 (base32
c264bd42 5077 "04k26zw61nfv1pkd00iaq89pgsaiym0sf4cbzkmm2k2fj5xa587g"))))
dddbc90c 5078 (build-system haskell-build-system)
c264bd42
TS
5079 (arguments
5080 `(#:phases
5081 (modify-phases %standard-phases
5082 (add-before 'configure 'update-constraints
5083 (lambda _
5084 (substitute* "graphviz.cabal"
5085 (("QuickCheck >= 2\\.3 && < 2\\.13")
5086 "QuickCheck >= 2.3 && < 2.14")
5087 (("hspec >= 2\\.1 && < 2\\.7")
5088 "hspec >= 2.1 && < 2.8")))))))
dddbc90c
RV
5089 (inputs
5090 `(("ghc-quickcheck" ,ghc-quickcheck)
5091 ("ghc-colour" ,ghc-colour)
5092 ("ghc-dlist" ,ghc-dlist)
5093 ("ghc-fgl" ,ghc-fgl)
5094 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
5095 ("ghc-polyparse" ,ghc-polyparse)
5096 ("ghc-temporary" ,ghc-temporary)
5097 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
5098 (native-inputs
5099 `(("ghc-hspec" ,ghc-hspec)
5100 ("graphviz" ,graphviz)
5101 ("hspec-discover" ,hspec-discover)))
5102 (home-page "https://hackage.haskell.org/package/graphviz")
5103 (synopsis "Bindings to Graphviz for graph visualisation")
5104 (description
5105 "This library provides bindings for the Dot language used by
5106the @uref{https://graphviz.org/, Graphviz} suite of programs for
5107visualising graphs, as well as functions to call those programs.
5108Main features of the graphviz library include:
5109
5110@enumerate
5111@item Almost complete coverage of all Graphviz attributes and syntax
5112@item Support for specifying clusters
5113@item The ability to use a custom node type
5114@item Functions for running a Graphviz layout tool with all specified output types
5115@item Generate and parse Dot code with two options: strict and liberal
5116@item Functions to convert FGL graphs and other graph-like data structures
5117@item Round-trip support for passing an FGL graph through Graphviz to augment node
5118and edge labels with positional information, etc.
5119@end enumerate\n")
5120 (license license:bsd-3)))
5121
f3e18645
TS
5122(define-public ghc-groups
5123 (package
5124 (name "ghc-groups")
5125 (version "0.4.1.0")
5126 (source
5127 (origin
5128 (method url-fetch)
5129 (uri (string-append "https://hackage.haskell.org/package/"
5130 "groups/groups-" version ".tar.gz"))
5131 (sha256
5132 (base32
5133 "0ggkygkyxw5ga4cza82bjvdraavl294k0h6b62d2px7z3nvqhifx"))))
5134 (build-system haskell-build-system)
5135 (home-page "https://hackage.haskell.org/package/groups")
5136 (synopsis "Haskell 98 groups")
5137 (description "This package provides Haskell 98 groups. A group is a
5138monoid with invertibility.")
5139 (license license:bsd-3)))
5140
dddbc90c
RV
5141(define-public ghc-gtk2hs-buildtools
5142 (package
5143 (name "ghc-gtk2hs-buildtools")
b79b43d4 5144 (version "0.13.5.4")
dddbc90c
RV
5145 (source
5146 (origin
5147 (method url-fetch)
5148 (uri (string-append "https://hackage.haskell.org/package/"
5149 "gtk2hs-buildtools/gtk2hs-buildtools-"
5150 version ".tar.gz"))
5151 (sha256
5152 (base32
b79b43d4 5153 "1flxsacxwmabzzalhn8558kmj95z01c0lmikrn56nxh7p62nxm25"))))
dddbc90c
RV
5154 (build-system haskell-build-system)
5155 (inputs
5156 `(("ghc-random" ,ghc-random)
5157 ("ghc-hashtables" ,ghc-hashtables)))
5158 (native-inputs
5159 `(("ghc-alex" ,ghc-alex)
5160 ("ghc-happy" ,ghc-happy)))
5161 (home-page "http://projects.haskell.org/gtk2hs/")
5162 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
5163 (description
5164 "This package provides a set of helper programs necessary to build the
5165Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
5166that is used to generate FFI declarations, a tool to build a type hierarchy
5167that mirrors the C type hierarchy of GObjects found in glib, and a generator
5168for signal declarations that are used to call back from C to Haskell. These
5169tools are not needed to actually run Gtk2Hs programs.")
5170 (license license:gpl2)))
5171
5172(define-public ghc-hackage-security
5173 (package
5174 (name "ghc-hackage-security")
5175 (version "0.5.3.0")
5176 (source
5177 (origin
5178 (method url-fetch)
5179 (uri (string-append "https://hackage.haskell.org/package/"
5180 "hackage-security/hackage-security-"
5181 version ".tar.gz"))
5182 (sha256
5183 (base32
5184 "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v"))))
5185 (build-system haskell-build-system)
5186 (arguments
034380f3
TS
5187 `(#:cabal-revision
5188 ("6" "1xs2nkzlvkdz8g27yzfxbjdbdadfmgiydnlpn5dm77cg18r495ay")
5189 #:tests? #f)) ; Tests fail because of framework updates.
dddbc90c
RV
5190 (inputs
5191 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
5192 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
5193 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
5194 ("ghc-ed25519" ,ghc-ed25519)
5195 ("ghc-network" ,ghc-network)
5196 ("ghc-network-uri" ,ghc-network-uri)
5197 ("ghc-tar" ,ghc-tar)
5198 ("ghc-zlib" ,ghc-zlib)))
5199 (native-inputs
5200 `(("ghc-network-uri" ,ghc-network-uri)
5201 ("ghc-quickcheck" ,ghc-quickcheck)
5202 ("ghc-tar" ,ghc-tar)
5203 ("ghc-tasty" ,ghc-tasty)
5204 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5205 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5206 ("ghc-temporary" ,ghc-temporary)
5207 ("ghc-zlib" ,ghc-zlib)))
5208 (home-page "https://github.com/haskell/hackage-security")
5209 (synopsis "Hackage security library")
5210 (description "This Hackage security library provides both server and
5211client utilities for securing @uref{http://hackage.haskell.org/, the
5212Hackage package server}. It is based on
5213@uref{http://theupdateframework.com/, The Update Framework}, a set of
5214recommendations developed by security researchers at various universities
5215in the US as well as developers on the @uref{https://www.torproject.org/,
5216Tor project}.")
5217 (license license:bsd-3)))
5218
5219(define-public ghc-haddock
5220 (package
5221 (name "ghc-haddock")
b0d34d23 5222 (version "2.22.0")
dddbc90c
RV
5223 (source
5224 (origin
5225 (method url-fetch)
5226 (uri (string-append
5227 "https://hackage.haskell.org/package/haddock/haddock-"
5228 version
5229 ".tar.gz"))
5230 (sha256
5231 (base32
b0d34d23 5232 "1k42z2zh550rl93c8pa9cg2xsanp6wvb031xvan6cmngnplmdib6"))))
dddbc90c
RV
5233 (build-system haskell-build-system)
5234 (arguments
5235 `(#:phases
5236 (modify-phases %standard-phases
b0d34d23
TS
5237 ;; The release tarball for 2.22.0 is missing the test data for
5238 ;; the Hoogle test, causing it to fail. This is fixed in the
5239 ;; next release, but for now we disable it.
5240 (add-before 'configure 'remove-hoogle-test
dddbc90c
RV
5241 (lambda _
5242 (use-modules (ice-9 rdelim))
5243 (with-atomic-file-replacement "haddock.cabal"
5244 (lambda (in out)
5245 (let loop ((line (read-line in 'concat)) (deleting? #f))
5246 (cond
5247 ((eof-object? line) #t)
5248 ((string-every char-set:whitespace line)
5249 (unless deleting? (display line out))
5250 (loop (read-line in 'concat) #f))
b0d34d23 5251 ((string=? line "test-suite hoogle-test\n")
dddbc90c
RV
5252 (loop (read-line in 'concat) #t))
5253 (else
5254 (unless deleting? (display line out))
b0d34d23
TS
5255 (loop (read-line in 'concat) deleting?))))))))
5256 (add-before 'check 'add-haddock-to-path
5257 (lambda _
5258 (setenv "PATH" (string-append (getcwd) "/dist/build/haddock"
5259 ":" (getenv "PATH")))
5260 #t)))))
dddbc90c
RV
5261 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
5262 (native-inputs
b0d34d23
TS
5263 `(("ghc-haddock-test" ,ghc-haddock-test)
5264 ("ghc-hspec" ,ghc-hspec)))
dddbc90c
RV
5265 (home-page "https://www.haskell.org/haddock/")
5266 (synopsis
5267 "Documentation-generation tool for Haskell libraries")
5268 (description
5269 "Haddock is a documentation-generation tool for Haskell libraries.")
5270 (license license:bsd-3)))
5271
5272(define-public ghc-haddock-api
5273 (package
5274 (name "ghc-haddock-api")
1b84d8ef 5275 (version "2.22.0")
dddbc90c
RV
5276 (source
5277 (origin
5278 (method url-fetch)
5279 (uri (string-append
5280 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
5281 version
5282 ".tar.gz"))
1b84d8ef 5283 (patches (search-patches "ghc-haddock-api-fix-haddock.patch"))
dddbc90c
RV
5284 (sha256
5285 (base32
1b84d8ef 5286 "149q4zlf4m7wcrr4af2n2flh0jxjsypshbc229vsj1m0kmz4z014"))))
dddbc90c
RV
5287 (build-system haskell-build-system)
5288 (arguments
5289 `(#:phases
5290 (modify-phases %standard-phases
5291 (add-before 'configure 'update-constraints
5292 (lambda _
5293 (substitute* "haddock-api.cabal"
1b84d8ef
TS
5294 (("QuickCheck \\^>= 2\\.11")
5295 "QuickCheck ^>= 2.13")
5296 (("hspec >= 2\\.4\\.4 && < 2\\.6")
5297 "hspec >= 2.4.4 && < 2.8")))))))
dddbc90c
RV
5298 (inputs
5299 `(("ghc-paths" ,ghc-paths)
5300 ("ghc-haddock-library" ,ghc-haddock-library)))
5301 (native-inputs
5302 `(("ghc-quickcheck" ,ghc-quickcheck)
5303 ("ghc-hspec" ,ghc-hspec)
5304 ("hspec-discover" ,hspec-discover)))
5305 (home-page "https://www.haskell.org/haddock/")
5306 (synopsis "API for documentation-generation tool Haddock")
5307 (description "This package provides an API to Haddock, the
5308documentation-generation tool for Haskell libraries.")
5309 (license license:bsd-3)))
5310
5311(define-public ghc-haddock-library
5312 (package
5313 (name "ghc-haddock-library")
10707d57 5314 (version "1.7.0")
dddbc90c
RV
5315 (source
5316 (origin
5317 (method url-fetch)
5318 (uri (string-append
5319 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
5320 version
5321 ".tar.gz"))
5322 (sha256
5323 (base32
10707d57 5324 "04fhcjk0pvsaqvsgp2w06cv2qvshq1xs1bwc157q4lmkgr57khp7"))))
dddbc90c
RV
5325 (build-system haskell-build-system)
5326 (arguments
5327 `(#:phases
5328 (modify-phases %standard-phases
10707d57
TS
5329 ;; Since there is no revised Cabal file upstream, we have to
5330 ;; patch it manually.
dddbc90c
RV
5331 (add-before 'configure 'relax-test-suite-dependencies
5332 (lambda _
5333 (substitute* "haddock-library.cabal"
10707d57
TS
5334 (("hspec\\s*>= 2.4.4 && < 2.6") "hspec")
5335 (("QuickCheck\\s*\\^>= 2.11") "QuickCheck"))
dddbc90c
RV
5336 #t)))))
5337 (native-inputs
5338 `(("ghc-base-compat" ,ghc-base-compat)
5339 ("ghc-hspec" ,ghc-hspec)
5340 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
5341 ("ghc-quickcheck" ,ghc-quickcheck)
5342 ("ghc-tree-diff" ,ghc-tree-diff)
5343 ("hspec-discover" ,hspec-discover)))
5344 (home-page "https://www.haskell.org/haddock/")
5345 (synopsis "Library exposing some functionality of Haddock")
5346 (description
5347 "Haddock is a documentation-generation tool for Haskell libraries. These
5348modules expose some functionality of it without pulling in the GHC dependency.
5349Please note that the API is likely to change so specify upper bounds in your
5350project if you can't release often. For interacting with Haddock itself, see
5351the ‘haddock’ package.")
5352 (license license:bsd-3)))
5353
b0d34d23
TS
5354;; This package is needed for testing 'ghc-haddock'. It is no longer
5355;; published to Hackage, but it is maintained in the Haddock Git
5356;; repository.
5357(define ghc-haddock-test
5358 (package
5359 (name "ghc-haddock-test")
5360 (version "2.22.0")
5361 (source
5362 (origin
5363 (method git-fetch)
5364 (uri (git-reference
b0e7b699 5365 (url "https://github.com/haskell/haddock")
b0d34d23
TS
5366 (commit (string-append "haddock-" version "-release"))))
5367 (file-name (git-file-name name version))
5368 (sha256
5369 (base32
5370 "1ywxmqqan10gs0ppybdmdgsmvkzkpw7yirj2rw4qylg3x49a9zca"))))
5371 (build-system haskell-build-system)
5372 (arguments
5373 `(#:phases
5374 (modify-phases %standard-phases
5375 (add-after 'unpack 'change-directory
5376 (lambda _
5377 (chdir "haddock-test"))))))
5378 (inputs
5379 `(("ghc-syb" ,ghc-syb)
5380 ("ghc-xml" ,ghc-xml)))
228d2901 5381 (home-page "https://www.haskell.org/haddock/")
b0d34d23
TS
5382 (synopsis "Test utilities for Haddock")
5383 (description "This package provides test utilities for Haddock.")
5384 (license license:bsd-3)
5385 (properties '((hidden? #t)))))
5386
dddbc90c
RV
5387(define-public ghc-half
5388 (package
5389 (name "ghc-half")
5390 (version "0.3")
5391 (source
5392 (origin
5393 (method url-fetch)
5394 (uri (string-append
5395 "https://hackage.haskell.org/package/half/half-"
5396 version ".tar.gz"))
5397 (sha256
5398 (base32
5399 "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6"))))
5400 (build-system haskell-build-system)
5401 (native-inputs
5402 `(("ghc-hspec" ,ghc-hspec)
5403 ("ghc-quickcheck" ,ghc-quickcheck)))
5404 (home-page "https://github.com/ekmett/half")
5405 (synopsis "Half-precision floating-point computations")
5406 (description "This library provides a half-precision floating-point
5407computation library for Haskell.")
5408 (license license:bsd-3)))
5409
5410(define-public ghc-happy
5411 (package
5412 (name "ghc-happy")
90e7b0e4 5413 (version "1.19.12")
dddbc90c
RV
5414 (source
5415 (origin
5416 (method url-fetch)
5417 (uri (string-append
5418 "https://hackage.haskell.org/package/happy/happy-"
5419 version
5420 ".tar.gz"))
5421 (sha256
5422 (base32
90e7b0e4 5423 "03xlmq6qmdx4zvzw8bp33kd9g7yvcq5cz4wg50xilw812kj276pv"))))
dddbc90c
RV
5424 (build-system haskell-build-system)
5425 (arguments
5426 `(#:phases
5427 (modify-phases %standard-phases
5428 (add-after 'unpack 'skip-test-issue93
5429 (lambda _
5430 ;; Tests run out of memory on a system with 2GB of available RAM,
5431 ;; in 'issue93.a.hs' and 'issue93.n.hs'.
5432 (substitute* "tests/Makefile"
5433 ((" issue93.y ") " "))
5434 #t)))))
5435 (home-page "https://hackage.haskell.org/package/happy")
5436 (synopsis "Parser generator for Haskell")
5437 (description "Happy is a parser generator for Haskell. Given a grammar
5438specification in BNF, Happy generates Haskell code to parse the grammar.
5439Happy works in a similar way to the yacc tool for C.")
5440 (license license:bsd-3)))
5441
5442(define-public ghc-hashable
5443 (package
5444 (name "ghc-hashable")
5445 (version "1.2.7.0")
534d6caa 5446 (outputs '("out" "static" "doc"))
dddbc90c
RV
5447 (source
5448 (origin
5449 (method url-fetch)
5450 (uri (string-append
5451 "https://hackage.haskell.org/package/hashable/hashable-"
5452 version
5453 ".tar.gz"))
5454 (sha256
5455 (base32
5456 "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc"))))
5457 (build-system haskell-build-system)
65a16a45
TS
5458 (arguments
5459 `(#:cabal-revision
5460 ("1" "197063dpl0wn67dp7a06yc2hxp81n24ykk7klbjx0fndm5n87dh3")))
dddbc90c
RV
5461 (inputs
5462 `(("ghc-random" ,ghc-random)))
5463 (native-inputs
5464 `(("ghc-test-framework" ,ghc-test-framework)
5465 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5466 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5467 ("ghc-hunit" ,ghc-hunit)
5468 ("ghc-quickcheck" ,ghc-quickcheck)))
5469 (home-page "https://github.com/tibbe/hashable")
5470 (synopsis "Class for types that can be converted to a hash value")
5471 (description
5472 "This package defines a class, @code{Hashable}, for types that can be
5473converted to a hash value. This class exists for the benefit of hashing-based
5474data structures. The package provides instances for basic types and a way to
5475combine hash values.")
5476 (license license:bsd-3)))
5477
5478(define-public ghc-hashable-bootstrap
5479 (package
5480 (inherit ghc-hashable)
5481 (name "ghc-hashable-bootstrap")
65a16a45
TS
5482 (arguments
5483 `(#:tests? #f
5484 ,@(package-arguments ghc-hashable)))
dddbc90c
RV
5485 (native-inputs '())
5486 (properties '((hidden? #t)))))
5487
5488(define-public ghc-hashable-time
5489 (package
5490 (name "ghc-hashable-time")
f5051e31 5491 (version "0.2.0.2")
dddbc90c
RV
5492 (source
5493 (origin
5494 (method url-fetch)
5495 (uri (string-append
5496 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
5497 version
5498 ".tar.gz"))
5499 (sha256
5500 (base32
f5051e31 5501 "1q7y4plqqwy5286hhx2fygn12h8lqk0y047b597sbdckskxzfqgs"))))
dddbc90c
RV
5502 (build-system haskell-build-system)
5503 (arguments
5504 `(#:cabal-revision
f5051e31 5505 ("2" "006phc5y9rrvsshdcmjmhxzxh8dpgs685mpqbkjm9c40xb1ydjbz")))
dddbc90c 5506 (inputs `(("ghc-hashable" ,ghc-hashable)))
3b02036e 5507 (home-page "https://hackage.haskell.org/package/hashable-time")
dddbc90c
RV
5508 (synopsis "Hashable instances for Data.Time")
5509 (description
5510 "This package provides @code{Hashable} instances for types in
5511@code{Data.Time}.")
5512 (license license:bsd-3)))
5513
5514(define-public ghc-hashtables
5515 (package
5516 (name "ghc-hashtables")
19edf0d0 5517 (version "1.2.3.4")
dddbc90c
RV
5518 (source
5519 (origin
5520 (method url-fetch)
5521 (uri (string-append
5522 "https://hackage.haskell.org/package/hashtables/hashtables-"
5523 version ".tar.gz"))
5524 (sha256
19edf0d0 5525 (base32 "1rjmxnr30g4hygiywkpz5p9sanh0abs7ap4zc1kgd8zv04kycp0j"))))
dddbc90c
RV
5526 (build-system haskell-build-system)
5527 (inputs
5528 `(("ghc-hashable" ,ghc-hashable)
5529 ("ghc-primitive" ,ghc-primitive)
5530 ("ghc-vector" ,ghc-vector)))
5531 (home-page "https://github.com/gregorycollins/hashtables")
5532 (synopsis "Haskell Mutable hash tables in the ST monad")
5533 (description "This package provides a Haskell library including a
5534couple of different implementations of mutable hash tables in the ST
5535monad, as well as a typeclass abstracting their common operations, and
5536a set of wrappers to use the hash tables in the IO monad.")
5537 (license license:bsd-3)))
5538
dd26713e
JS
5539(define-public ghc-haskeline-0.8
5540 (package
5541 (name "ghc-haskeline")
5542 (version "0.8.0.0")
5543 (source
5544 (origin
5545 (method url-fetch)
5546 (uri (string-append
5547 "https://hackage.haskell.org/package/haskeline/haskeline-"
5548 version
5549 ".tar.gz"))
5550 (sha256
5551 (base32
5552 "0gqsa5s0drim9m42hv4wrq61mnvcdylxysfxfw3acncwilfrn9pb"))))
5553 (build-system haskell-build-system)
5554 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
5555 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
5556 ;; FIXME: Tests failing
5557 (arguments `(#:tests? #f))
5558 (home-page "https://github.com/judah/haskeline")
5559 (synopsis
5560 "Command-line interface for user input, written in Haskell")
5561 (description
5562 "Haskeline provides a user interface for line input in command-line
5563programs. This library is similar in purpose to readline, but since it is
5564written in Haskell it is (hopefully) more easily used in other Haskell
5565programs.
5566
5567Haskeline runs both on POSIX-compatible systems and on Windows.")
5568 (license license:bsd-3)))
5569
dddbc90c
RV
5570(define-public ghc-haskell-lexer
5571 (package
5572 (name "ghc-haskell-lexer")
5573 (version "1.0.2")
5574 (source
5575 (origin
5576 (method url-fetch)
5577 (uri (string-append
5578 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
5579 version ".tar.gz"))
5580 (sha256
5581 (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq"))))
5582 (build-system haskell-build-system)
3ef91e15 5583 (home-page "https://hackage.haskell.org/package/haskell-lexer")
dddbc90c
RV
5584 (synopsis "Fully compliant Haskell 98 lexer")
5585 (description
5586 "This package provides a fully compliant Haskell 98 lexer.")
5587 (license license:bsd-3)))
5588
5589(define-public ghc-haskell-src
5590 (package
5591 (name "ghc-haskell-src")
5592 (version "1.0.3.0")
5593 (source
5594 (origin
5595 (method url-fetch)
5596 (uri (string-append
5597 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
5598 version
5599 ".tar.gz"))
5600 (sha256
5601 (base32
5602 "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l"))))
5603 (build-system haskell-build-system)
5604 (inputs
5605 `(("ghc-happy" ,ghc-happy)
5606 ("ghc-syb" ,ghc-syb)))
5607 (home-page
5608 "https://hackage.haskell.org/package/haskell-src")
5609 (synopsis
5610 "Support for manipulating Haskell source code")
5611 (description
5612 "The @code{haskell-src} package provides support for manipulating Haskell
5613source code. The package provides a lexer, parser and pretty-printer, and a
5614definition of a Haskell abstract syntax tree (AST). Common uses of this
5615package are to parse or generate Haskell 98 code.")
5616 (license license:bsd-3)))
5617
5618(define-public ghc-haskell-src-exts
5619 (package
5620 (name "ghc-haskell-src-exts")
37a05591 5621 (version "1.21.1")
dddbc90c
RV
5622 (source
5623 (origin
5624 (method url-fetch)
5625 (uri (string-append
5626 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
5627 version
5628 ".tar.gz"))
5629 (sha256
5630 (base32
37a05591 5631 "0q1y8n3d82gid9bcx8wxsqqmj9mq11fg3gp5yzpfbw958dhi3j9f"))))
dddbc90c 5632 (build-system haskell-build-system)
cad59e53 5633 (outputs '("out" "static" "doc"))
dddbc90c
RV
5634 (inputs
5635 `(("cpphs" ,cpphs)
5636 ("ghc-happy" ,ghc-happy)
5637 ("ghc-pretty-show" ,ghc-pretty-show)))
5638 (native-inputs
5639 `(("ghc-smallcheck" ,ghc-smallcheck)
5640 ("ghc-tasty" ,ghc-tasty)
5641 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
5642 ("ghc-tasty-golden" ,ghc-tasty-golden)))
5643 (home-page "https://github.com/haskell-suite/haskell-src-exts")
5644 (synopsis "Library for manipulating Haskell source")
5645 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
5646extension of the standard @code{haskell-src} package, and handles most
5647registered syntactic extensions to Haskell. All extensions implemented in GHC
5648are supported. Apart from these standard extensions, it also handles regular
5649patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
5650 (license license:bsd-3)))
5651
5652(define-public ghc-haskell-src-exts-util
5653 (package
5654 (name "ghc-haskell-src-exts-util")
77355bdf 5655 (version "0.2.5")
dddbc90c
RV
5656 (source
5657 (origin
5658 (method url-fetch)
5659 (uri (string-append "https://hackage.haskell.org/package/"
5660 "haskell-src-exts-util/haskell-src-exts-util-"
5661 version ".tar.gz"))
5662 (sha256
5663 (base32
77355bdf 5664 "0fvqi72m74p7q5sbpy8m2chm8a1lgy10mfrcxcz8wrh59vngj0n8"))))
dddbc90c
RV
5665 (build-system haskell-build-system)
5666 (inputs
5667 `(("ghc-data-default" ,ghc-data-default)
5668 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5669 ("ghc-semigroups" ,ghc-semigroups)
5670 ("ghc-uniplate" ,ghc-uniplate)))
5671 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
5672 (synopsis "Helper functions for working with haskell-src-exts trees")
5673 (description
5674 "This package provides helper functions for working with
5675@code{haskell-src-exts} trees.")
5676 (license license:bsd-3)))
5677
5678(define-public ghc-haskell-src-meta
5679 (package
5680 (name "ghc-haskell-src-meta")
e94b3c72 5681 (version "0.8.3")
dddbc90c
RV
5682 (source (origin
5683 (method url-fetch)
5684 (uri (string-append "https://hackage.haskell.org/package/"
5685 "haskell-src-meta/haskell-src-meta-"
5686 version ".tar.gz"))
5687 (sha256
5688 (base32
e94b3c72 5689 "17znnaqj2hnnfyc9p9xjzbs97h2jh1h4f4qbw648y3xa14wx5ra9"))))
dddbc90c
RV
5690 (build-system haskell-build-system)
5691 (inputs
5692 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5693 ("ghc-syb" ,ghc-syb)
5694 ("ghc-th-orphans" ,ghc-th-orphans)))
5695 (native-inputs
5696 `(("ghc-hunit" ,ghc-hunit)
e94b3c72
TS
5697 ("ghc-tasty" ,ghc-tasty)
5698 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
dddbc90c
RV
5699 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
5700 (synopsis "Parse source to template-haskell abstract syntax")
5701 (description
5702 "This package provides tools to parse Haskell sources to the
5703template-haskell abstract syntax.")
5704 (license license:bsd-3)))
5705
5706(define-public ghc-hasktags
5707 (package
5708 (name "ghc-hasktags")
5709 (version "0.71.2")
5710 (source
5711 (origin
5712 (method url-fetch)
5713 (uri (string-append
5714 "https://hackage.haskell.org/package/hasktags/hasktags-"
5715 version
5716 ".tar.gz"))
5717 (sha256
5718 (base32
5719 "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c"))))
5720 (build-system haskell-build-system)
5721 (inputs
5722 `(("ghc-system-filepath" ,ghc-system-filepath)
5723 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5724 (native-inputs
5725 `(("ghc-json" ,ghc-json)
5726 ("ghc-utf8-string" ,ghc-utf8-string)
5727 ("ghc-microlens-platform" ,ghc-microlens-platform)
5728 ("ghc-hunit" ,ghc-hunit)))
702a1012 5729 (home-page "https://github.com/MarcWeber/hasktags")
dddbc90c
RV
5730 (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs")
5731 (description
5732 "This package provides a means of generating tag files for Emacs and
5733Vim.")
5734 (license license:bsd-3)))
5735
5736(define-public ghc-hex
5737 (package
5738 (name "ghc-hex")
5739 (version "0.1.2")
5740 (source
5741 (origin
5742 (method url-fetch)
5743 (uri (string-append "https://hackage.haskell.org/package/"
5744 "hex-" version "/"
5745 "hex-" version ".tar.gz"))
5746 (sha256
5747 (base32
5748 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
5749 (build-system haskell-build-system)
5750 (home-page "https://hackage.haskell.org/package/hex")
5751 (synopsis "Convert strings into hexadecimal and back")
7230f6d5
TGR
5752 (description "This package converts between bytestrings and their
5753hexadecimal string representation.")
dddbc90c
RV
5754 (license license:bsd-3)))
5755
5756(define-public ghc-highlighting-kate
5757 (package
5758 (name "ghc-highlighting-kate")
5759 (version "0.6.4")
5760 (source (origin
5761 (method url-fetch)
5762 (uri (string-append "https://hackage.haskell.org/package/"
5763 "highlighting-kate/highlighting-kate-"
5764 version ".tar.gz"))
5765 (sha256
5766 (base32
5767 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
5768 (build-system haskell-build-system)
5769 (inputs
5770 `(("ghc-diff" ,ghc-diff)
5771 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
5772 (native-inputs
5773 `(("ghc-blaze-html" ,ghc-blaze-html)
5774 ("ghc-utf8-string" ,ghc-utf8-string)))
5775 (home-page "https://github.com/jgm/highlighting-kate")
5776 (synopsis "Syntax highlighting library")
5777 (description
5778 "Highlighting-kate is a syntax highlighting library with support for
5779nearly one hundred languages. The syntax parsers are automatically generated
5780from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
5781supported by Kate can be added. An (optional) command-line program is
5782provided, along with a utility for generating new parsers from Kate XML syntax
5783descriptions.")
5784 (license license:gpl2+)))
5785
5786(define-public ghc-hindent
5787 (package
5788 (name "ghc-hindent")
f545f894 5789 (version "5.3.1")
dddbc90c
RV
5790 (source
5791 (origin
5792 (method url-fetch)
5793 (uri (string-append
5794 "https://hackage.haskell.org/package/hindent/hindent-"
5795 version
5796 ".tar.gz"))
5797 (sha256
5798 (base32
f545f894 5799 "008s8zm9qs972b7v5kkmr8l3i9kc6zm7yj33mkw6dv69b7h3c01l"))))
dddbc90c
RV
5800 (build-system haskell-build-system)
5801 (arguments
5802 `(#:modules ((guix build haskell-build-system)
5803 (guix build utils)
5804 (guix build emacs-utils))
5805 #:imported-modules (,@%haskell-build-system-modules
5806 (guix build emacs-utils))
5807 #:phases
5808 (modify-phases %standard-phases
5809 (add-after 'install 'emacs-install
5810 (lambda* (#:key inputs outputs #:allow-other-keys)
5811 (let* ((out (assoc-ref outputs "out"))
5812 (elisp-file "elisp/hindent.el")
d53e87cf 5813 (dest (string-append out "/share/emacs/site-lisp"))
dddbc90c
RV
5814 (emacs (string-append (assoc-ref inputs "emacs")
5815 "/bin/emacs")))
5816 (make-file-writable elisp-file)
5817 (emacs-substitute-variables elisp-file
5818 ("hindent-process-path"
5819 (string-append out "/bin/hindent")))
5820 (install-file elisp-file dest)
5821 (emacs-generate-autoloads "hindent" dest)))))))
5822 (inputs
5823 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
5824 ("ghc-monad-loops" ,ghc-monad-loops)
5825 ("ghc-utf8-string" ,ghc-utf8-string)
5826 ("ghc-exceptions" ,ghc-exceptions)
5827 ("ghc-yaml" ,ghc-yaml)
5828 ("ghc-unix-compat" ,ghc-unix-compat)
5829 ("ghc-path" ,ghc-path)
5830 ("ghc-path-io" ,ghc-path-io)
5831 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
5832 (native-inputs
5833 `(("ghc-hspec" ,ghc-hspec)
5834 ("ghc-diff" ,ghc-diff)
5835 ("emacs" ,emacs-minimal)))
5836 (home-page
5837 "https://github.com/commercialhaskell/hindent")
5838 (synopsis "Extensible Haskell pretty printer")
5839 (description
5840 "This package provides automatic formatting for Haskell files. Both a
5841library and an executable.")
5842 (license license:bsd-3)))
5843
5844(define-public ghc-hinotify
5845 (package
5846 (name "ghc-hinotify")
c2342abb 5847 (version "0.4")
dddbc90c
RV
5848 (source (origin
5849 (method url-fetch)
5850 (uri (string-append
5851 "https://hackage.haskell.org/package/hinotify/"
5852 "hinotify-" version ".tar.gz"))
5853 (sha256
5854 (base32
c2342abb 5855 "1x1lm685ws2q0z0ibwq6x3l72xh67mj06s36xiga3al48d92q63x"))))
dddbc90c
RV
5856 (build-system haskell-build-system)
5857 (inputs
5858 `(("ghc-async" ,ghc-async)))
5859 (home-page "https://github.com/kolmodin/hinotify.git")
5860 (synopsis "Haskell binding to inotify")
5861 (description "This library provides a wrapper to the Linux kernel's inotify
5862feature, allowing applications to subscribe to notifications when a file is
5863accessed or modified.")
5864 (license license:bsd-3)))
5865
d6108968
CH
5866(define-public ghc-hledger-lib
5867 (package
5868 (name "ghc-hledger-lib")
1112b916 5869 (version "1.14.1")
d6108968
CH
5870 (source
5871 (origin
5872 (method url-fetch)
5873 (uri (string-append
5874 "https://hackage.haskell.org/package/hledger-lib/hledger-lib-"
5875 version
5876 ".tar.gz"))
5877 (sha256
5878 (base32
1112b916 5879 "1w6qp01cak6spnpldm01czlm6i5a2alw47w76875l2nagrc4rfp2"))))
d6108968
CH
5880 (build-system haskell-build-system)
5881 (inputs
1112b916 5882 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
d6108968
CH
5883 ("ghc-base-compat-batteries" ,ghc-base-compat-batteries)
5884 ("ghc-blaze-markup" ,ghc-blaze-markup)
5885 ("ghc-call-stack" ,ghc-call-stack)
5886 ("ghc-cassava" ,ghc-cassava)
5887 ("ghc-cassava-megaparsec" ,ghc-cassava-megaparsec)
5888 ("ghc-cmdargs" ,ghc-cmdargs)
5889 ("ghc-data-default" ,ghc-data-default)
1112b916
CH
5890 ("ghc-decimal" ,ghc-decimal)
5891 ("ghc-easytest" ,ghc-easytest)
d6108968 5892 ("ghc-extra" ,ghc-extra)
d6108968 5893 ("ghc-file-embed" ,ghc-file-embed)
1112b916 5894 ("ghc-glob" ,ghc-glob)
d6108968
CH
5895 ("ghc-hashtables" ,ghc-hashtables)
5896 ("ghc-megaparsec" ,ghc-megaparsec)
1112b916 5897 ("ghc-mtl-compat" ,ghc-mtl-compat)
d6108968
CH
5898 ("ghc-old-time" ,ghc-old-time)
5899 ("ghc-parser-combinators" ,ghc-parser-combinators)
5900 ("ghc-pretty-show" ,ghc-pretty-show)
5901 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
5902 ("ghc-safe" ,ghc-safe)
5903 ("ghc-split" ,ghc-split)
5904 ("ghc-tabular" ,ghc-tabular)
d6108968 5905 ("ghc-uglymemo" ,ghc-uglymemo)
d6108968 5906 ("ghc-utf8-string" ,ghc-utf8-string)))
1112b916 5907 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
d6108968
CH
5908 (home-page "https://hledger.org")
5909 (synopsis "Reusable library providing the core functionality of hledger")
5910 (description
5911 "A reusable library containing hledger's core functionality.
5912This is used by most hledger* packages so that they support the same common
5913file formats, command line options, reports etc.
5914
5915hledger is a robust, cross-platform set of tools for tracking money, time, or
5916any other commodity, using double-entry accounting and a simple, editable file
5917format, with command-line, terminal and web interfaces. It is a Haskell
5918rewrite of Ledger, and one of the leading implementations of Plain Text
5919Accounting.")
5920 (license license:gpl3)))
5921
dddbc90c
RV
5922(define-public ghc-hmatrix
5923 (package
5924 (name "ghc-hmatrix")
65e29ed1 5925 (version "0.20.0.0")
dddbc90c
RV
5926 (source
5927 (origin
5928 (method url-fetch)
5929 (uri (string-append
5930 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
5931 version ".tar.gz"))
5932 (sha256
65e29ed1 5933 (base32 "1sqy1aci5zfagkb34mz3xdil7cl96z4b4cx28cha54vc5sx1lhpg"))))
dddbc90c 5934 (build-system haskell-build-system)
54a5fd07
TS
5935 (arguments
5936 `(#:extra-directories ("lapack")))
dddbc90c
RV
5937 (inputs
5938 `(("ghc-random" ,ghc-random)
5939 ("ghc-split" ,ghc-split)
5940 ("ghc-storable-complex" ,ghc-storable-complex)
5941 ("ghc-semigroups" ,ghc-semigroups)
5942 ("ghc-vector" ,ghc-vector)
5943 ;;("openblas" ,openblas)
5944 ("lapack" ,lapack)))
5945 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
5946 ;; disables inclusion of the LAPACK functions.
5947 ;; (arguments `(#:configure-flags '("--flags=openblas")))
5948 (home-page "https://github.com/albertoruiz/hmatrix")
5949 (synopsis "Haskell numeric linear algebra library")
5950 (description "The HMatrix package provices a Haskell library for
5951dealing with linear systems, matrix decompositions, and other
5952numerical computations based on BLAS and LAPACK.")
5953 (license license:bsd-3)))
5954
5955(define-public ghc-hmatrix-gsl
5956 (package
5957 (name "ghc-hmatrix-gsl")
5958 (version "0.19.0.1")
5959 (source
5960 (origin
5961 (method url-fetch)
5962 (uri (string-append
5963 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
5964 version ".tar.gz"))
5965 (sha256
5966 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
5967 (build-system haskell-build-system)
54a5fd07
TS
5968 (arguments
5969 `(#:extra-directories ("gsl")))
dddbc90c
RV
5970 (inputs
5971 `(("ghc-hmatrix" ,ghc-hmatrix)
5972 ("ghc-vector" ,ghc-vector)
5973 ("ghc-random" ,ghc-random)
5974 ("gsl" ,gsl)))
5975 (native-inputs `(("pkg-config" ,pkg-config)))
5976 (home-page "https://github.com/albertoruiz/hmatrix")
5977 (synopsis "Haskell GSL binding")
5978 (description "This Haskell library provides a purely functional
5979interface to selected numerical computations, internally implemented
5980using GSL.")
5981 (license license:gpl3+)))
5982
5983(define-public ghc-hmatrix-gsl-stats
5984 (package
5985 (name "ghc-hmatrix-gsl-stats")
e9b359f5 5986 (version "0.4.1.8")
dddbc90c
RV
5987 (source
5988 (origin
5989 (method url-fetch)
5990 (uri
5991 (string-append
5992 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
5993 version ".tar.gz"))
5994 (sha256
e9b359f5 5995 (base32 "1cq049sj3q5r06x7i35hqrkf2jc4p4kfi9zv0jmi2vp7w4644i5q"))))
dddbc90c
RV
5996 (build-system haskell-build-system)
5997 (inputs
5998 `(("ghc-vector" ,ghc-vector)
5999 ("ghc-storable-complex" ,ghc-storable-complex)
6000 ("ghc-hmatrix" ,ghc-hmatrix)
6001 ("gsl" ,gsl)))
6002 (native-inputs `(("pkg-config" ,pkg-config)))
6003 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
6004 (synopsis "GSL Statistics interface for Haskell")
6005 (description "This Haskell library provides a purely functional
6006interface for statistics based on hmatrix and GSL.")
6007 (license license:bsd-3)))
6008
6009(define-public ghc-hmatrix-special
6010 (package
6011 (name "ghc-hmatrix-special")
6012 (version "0.19.0.0")
6013 (source
6014 (origin
6015 (method url-fetch)
6016 (uri
6017 (string-append
6018 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
6019 version ".tar.gz"))
6020 (sha256
6021 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
6022 (build-system haskell-build-system)
6023 (inputs
6024 `(("ghc-hmatrix" ,ghc-hmatrix)
6025 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
6026 (home-page "https://github.com/albertoruiz/hmatrix")
6027 (synopsis "Haskell interface to GSL special functions")
6028 (description "This library provides an interface to GSL special
6029functions for Haskell.")
6030 (license license:gpl3+)))
6031
6032(define-public ghc-hostname
6033 (package
6034 (name "ghc-hostname")
6035 (version "1.0")
6036 (source
6037 (origin
6038 (method url-fetch)
6039 (uri (string-append "https://hackage.haskell.org/package/hostname/"
6040 "hostname-" version ".tar.gz"))
6041 (sha256
6042 (base32
6043 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
6044 (build-system haskell-build-system)
6045 (home-page "https://hackage.haskell.org/package/hostname")
6046 (synopsis "Hostname in Haskell")
6047 (description "Network.HostName is a simple package providing a means to
6048determine the hostname.")
6049 (license license:bsd-3)))
6050
6051(define-public ghc-hourglass
6052 (package
6053 (name "ghc-hourglass")
6054 (version "0.2.12")
6055 (source (origin
6056 (method url-fetch)
6057 (uri (string-append "https://hackage.haskell.org/package/"
6058 "hourglass/hourglass-" version ".tar.gz"))
6059 (sha256
6060 (base32
6061 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
6062 (build-system haskell-build-system)
6063 (inputs
6064 `(("ghc-old-locale" ,ghc-old-locale)))
6065 (native-inputs
6066 `(("ghc-tasty" ,ghc-tasty)
6067 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6068 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6069 (home-page "https://github.com/vincenthz/hs-hourglass")
6070 (synopsis "Simple time-related library for Haskell")
6071 (description
6072 "This is a simple time library providing a simple but powerful and
6073performant API. The backbone of the library are the @code{Timeable} and
6074@code{Time} type classes. Each @code{Timeable} instances can be converted to
6075a type that has a @code{Time} instances, and thus are different
6076representations of current time.")
6077 (license license:bsd-3)))
6078
6079(define-public ghc-hpack
6080 (package
6081 (name "ghc-hpack")
06344a3a 6082 (version "0.31.2")
dddbc90c
RV
6083 (source
6084 (origin
6085 (method url-fetch)
6086 (uri (string-append "https://hackage.haskell.org/package/hpack/"
6087 "hpack-" version ".tar.gz"))
06344a3a 6088 (patches (search-patches "ghc-hpack-fix-tests.patch"))
dddbc90c
RV
6089 (sha256
6090 (base32
06344a3a 6091 "1l2d6185lawwhsj70swxkvcacm0hvcn9qsrlx4ph4gs6k578603g"))))
dddbc90c
RV
6092 (build-system haskell-build-system)
6093 (inputs
6094 `(("ghc-aeson" ,ghc-aeson)
6095 ("ghc-bifunctors" ,ghc-bifunctors)
6096 ("ghc-cryptonite" ,ghc-cryptonite)
6097 ("ghc-glob" ,ghc-glob)
6098 ("ghc-http-client" ,ghc-http-client)
6099 ("ghc-http-client-tls" ,ghc-http-client-tls)
6100 ("ghc-http-types" ,ghc-http-types)
06344a3a 6101 ("ghc-infer-license" ,ghc-infer-license)
dddbc90c
RV
6102 ("ghc-scientific" ,ghc-scientific)
6103 ("ghc-unordered-containers" ,ghc-unordered-containers)
6104 ("ghc-vector" ,ghc-vector)
6105 ("ghc-yaml" ,ghc-yaml)))
6106 (native-inputs
6107 `(("ghc-hspec" ,ghc-hspec)
6108 ("ghc-hunit" ,ghc-hunit)
6109 ("ghc-interpolate" ,ghc-interpolate)
6110 ("ghc-mockery" ,ghc-mockery)
6111 ("ghc-quickcheck" ,ghc-quickcheck)
6112 ("ghc-temporary" ,ghc-temporary)
6113 ("hspec-discover" ,hspec-discover)))
6114 (home-page "https://github.com/sol/hpack")
6115 (synopsis "Tools for an alternative Haskell package format")
6116 (description
6117 "Hpack is a format for Haskell packages. It is an alternative to the
6118Cabal package format and follows different design principles. Hpack packages
6119are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
6120@code{stack} support @code{package.yaml} natively. For other build tools the
6121@code{hpack} executable can be used to generate a @code{.cabal} file from
6122@code{package.yaml}.")
6123 (license license:expat)))
6124
e16f7de8
CH
6125(define-public ghc-hspec-megaparsec
6126 (package
6127 (name "ghc-hspec-megaparsec")
6128 (version "2.0.1")
6129 (source
6130 (origin
6131 (method url-fetch)
6132 (uri (string-append
6133 "https://hackage.haskell.org/"
6134 "package/hspec-megaparsec/hspec-megaparsec-"
6135 version
6136 ".tar.gz"))
6137 (sha256
6138 (base32
6139 "0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg"))))
6140 (build-system haskell-build-system)
6141 (inputs
6142 `(("ghc-hspec-expectations" ,ghc-hspec-expectations)
6143 ("ghc-megaparsec" ,ghc-megaparsec)))
6144 (native-inputs
6145 `(("ghc-hspec" ,ghc-hspec)))
6146 (home-page "https://github.com/mrkkrp/hspec-megaparsec")
6147 (synopsis "Utility functions for testing Megaparsec parsers with Hspec")
6148 (description
6149 "Provides a small set of helper functions for testing Megaparsec parsers
6150with Hspec.")
6151 (license license:bsd-3)))
6152
dddbc90c
RV
6153(define-public ghc-hs-bibutils
6154 (package
6155 (name "ghc-hs-bibutils")
ebcb4f23 6156 (version "6.7.0.0")
dddbc90c
RV
6157 (source
6158 (origin
6159 (method url-fetch)
6160 (uri (string-append
6161 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
6162 version ".tar.gz"))
6163 (sha256
6164 (base32
ebcb4f23 6165 "1qfyssl76lm4g09yxr3y10kmf8cnzls46g5h0ijk0wpk9wlhbln5"))))
dddbc90c
RV
6166 (build-system haskell-build-system)
6167 (inputs `(("ghc-syb" ,ghc-syb)))
6168 (home-page "https://hackage.haskell.org/package/hs-bibutils")
6169 (synopsis "Haskell bindings to bibutils")
6170 (description
6171 "This package provides Haskell bindings to @code{bibutils}, a library
6172that interconverts between various bibliography formats using a common
6173MODS-format XML intermediate.")
6174 (license license:gpl2+)))
6175
6176(define-public ghc-hslogger
6177 (package
6178 (name "ghc-hslogger")
e5ccc5f7 6179 (version "1.2.12")
dddbc90c
RV
6180 (source
6181 (origin
6182 (method url-fetch)
6183 (uri (string-append "https://hackage.haskell.org/package/"
6184 "hslogger-" version "/" "hslogger-"
6185 version ".tar.gz"))
6186 (sha256 (base32
e5ccc5f7 6187 "0ykcsk7wqygvrg60r5kpl6xfinr706al8pfyk5wj67wjs24lqypr"))))
dddbc90c
RV
6188 (build-system haskell-build-system)
6189 (inputs
6190 `(("ghc-network" ,ghc-network)
6191 ("ghc-old-locale" ,ghc-old-locale)))
6192 (native-inputs
6193 `(("ghc-hunit" ,ghc-hunit)))
6194 (home-page "https://software.complete.org/hslogger")
6195 (synopsis "Logging framework for Haskell, similar to Python's logging module")
6196 (description "Hslogger lets each log message have a priority and source be
6197associated with it. The programmer can then define global handlers that route
6198or filter messages based on the priority and source. It also has a syslog
6199handler built in.")
6200 (license license:bsd-3)))
6201
6202(define-public ghc-hslua
6203 (package
6204 (name "ghc-hslua")
cc784d7b 6205 (version "1.0.3.2")
dddbc90c
RV
6206 (source (origin
6207 (method url-fetch)
6208 (uri (string-append "https://hackage.haskell.org/package/"
6209 "hslua/hslua-" version ".tar.gz"))
6210 (sha256
6211 (base32
cc784d7b 6212 "183bgl5jcx5y2r94lviqfw0a5w9089nxjd1z40k8vx9y2h60pm6j"))))
dddbc90c
RV
6213 (build-system haskell-build-system)
6214 (arguments
54a5fd07
TS
6215 `(#:configure-flags '("-fsystem-lua")
6216 #:extra-directories ("lua")))
dddbc90c
RV
6217 (inputs
6218 `(("lua" ,lua)
6219 ("ghc-exceptions" ,ghc-exceptions)
6220 ("ghc-fail" ,ghc-fail)))
6221 (native-inputs
6222 `(("ghc-tasty" ,ghc-tasty)
6223 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
6224 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6225 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6226 ("ghc-quickcheck" ,ghc-quickcheck)
6227 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
6228 (home-page "https://hackage.haskell.org/package/hslua")
6229 (synopsis "Lua language interpreter embedding in Haskell")
6230 (description
6231 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
6232described in @url{https://www.lua.org/}.")
6233 (license license:expat)))
6234
ff303e4e
TS
6235(define-public ghc-hslua-module-system
6236 (package
6237 (name "ghc-hslua-module-system")
6238 (version "0.2.1")
6239 (source
6240 (origin
6241 (method url-fetch)
6242 (uri (string-append "https://hackage.haskell.org/package/"
6243 "hslua-module-system/hslua-module-system-"
6244 version ".tar.gz"))
6245 (sha256
6246 (base32
6247 "1m7wz3g5c34pyizqw5mllzhsy2vziddhlbhjfwdvd7nhd3p4v3hh"))))
6248 (build-system haskell-build-system)
6249 (inputs
6250 `(("ghc-exceptions" ,ghc-exceptions)
6251 ("ghc-hslua" ,ghc-hslua)
6252 ("ghc-temporary" ,ghc-temporary)))
6253 (native-inputs
6254 `(("ghc-tasty" ,ghc-tasty)
6255 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6256 (home-page "https://github.com/hslua/hslua-module-system")
6257 (synopsis "Lua module wrapper around Haskell's System module")
6258 (description "This library provides access to system information and
6259functionality to Lua scripts via Haskell's @code{System} module. Intended
6260usage for this package is to preload it by adding the loader function to
6261@code{package.preload}. Note that the Lua @code{package} library must have
6262already been loaded before the loader can be added.")
6263 (license license:expat)))
6264
dddbc90c
RV
6265(define-public ghc-hslua-module-text
6266 (package
6267 (name "ghc-hslua-module-text")
ecaf0b0c 6268 (version "0.2.1")
dddbc90c
RV
6269 (source
6270 (origin
6271 (method url-fetch)
6272 (uri (string-append "https://hackage.haskell.org/package/"
6273 "hslua-module-text/hslua-module-text-"
6274 version ".tar.gz"))
6275 (sha256
6276 (base32
ecaf0b0c 6277 "1ikdwvvxhbd5wmfr85dzs2ccamh9rbbpgy899z7s1vlv5q1dj0hk"))))
dddbc90c 6278 (build-system haskell-build-system)
dddbc90c
RV
6279 (inputs
6280 `(("ghc-hslua" ,ghc-hslua)))
6281 (native-inputs
6282 `(("ghc-tasty" ,ghc-tasty)
6283 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6284 (home-page "https://github.com/hslua/hslua-module-text")
6285 (synopsis "Lua module for text")
6286 (description
6287 "This package provides a UTF-8 aware subset of Lua's @code{string} module
6288for Haskell. The functions provided by this module are @code{upper},
6289@code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
6290 (license license:expat)))
6291
fac520bf
TS
6292(define-public ghc-hsyaml
6293 (package
6294 (name "ghc-hsyaml")
6295 (version "0.1.2.0")
6296 (source
6297 (origin
6298 (method url-fetch)
6299 (uri (string-append "https://hackage.haskell.org/package/"
6300 "HsYAML/HsYAML-" version ".tar.gz"))
6301 (sha256
6302 (base32
6303 "1pajfhj16559v64ixm8j7bvxdqmxg6c3c0z3wz7in8ckswgzfp54"))))
6304 (build-system haskell-build-system)
6305 (arguments
6306 `(#:cabal-revision
6307 ("1" "0j6qmmcz5yqh89hs2cq453maix50q61vl2h0ahj5lg02bygn42cf")))
6308 (home-page "https://github.com/haskell-hvr/HsYAML")
6309 (synopsis "Pure Haskell YAML 1.2 parser")
6310 (description "This library provides a
6311@url{http://yaml.org/spec/1.2/spec.html, YAML 1.2} parser implementation
6312for Haskell. Its features include:
6313
6314@itemize
6315@item Pure Haskell implementation with small dependency footprint and
6316emphasis on strict compliance with the YAML 1.2 specification.
6317
6318@item Direct decoding to native Haskell types via (aeson-inspired)
6319typeclass-based API (see @code{Data.YAML}).
6320
6321@item Support for constructing custom YAML node graph
6322representation (including support for cyclic YAML data structures).
6323
6324@item Support for the standard (untyped) @emph{Failsafe}, (strict)
6325@emph{JSON}, and (flexible) @emph{Core} ``schemas'' providing implicit
6326typing rules as defined in the YAML 1.2 specification (including support
6327for user-defined custom schemas).
6328
6329@item Event-based API resembling LibYAML's Event-based API (see
6330@code{Data.YAML.Event}).
6331
6332@item Low-level API access to lexical token-based scanner (see
6333@code{Data.YAML.Token}).
6334@end itemize")
6335 (license license:gpl2+)))
6336
dddbc90c
RV
6337(define-public ghc-http-api-data
6338 (package
6339 (name "ghc-http-api-data")
a57236eb 6340 (version "0.4.1")
dddbc90c
RV
6341 (source
6342 (origin
6343 (method url-fetch)
6344 (uri (string-append "https://hackage.haskell.org/package/"
6345 "http-api-data-" version "/"
6346 "http-api-data-" version ".tar.gz"))
6347 (sha256
6348 (base32
a57236eb 6349 "1ps4bvln43gz72dr9mc3c9n1rn38c4rz6m49vxzz9nz6jz1978rv"))))
dddbc90c 6350 (build-system haskell-build-system)
dddbc90c
RV
6351 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
6352 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
a57236eb 6353 ("ghc-cookie" ,ghc-cookie)
dddbc90c
RV
6354 ("ghc-hashable" ,ghc-hashable)
6355 ("ghc-http-types" ,ghc-http-types)
a57236eb 6356 ("ghc-time-compat" ,ghc-time-compat)
dddbc90c 6357 ("ghc-unordered-containers" ,ghc-unordered-containers)
dddbc90c 6358 ("ghc-uuid-types" ,ghc-uuid-types)))
a57236eb
TS
6359 (native-inputs
6360 `(("cabal-doctest" ,cabal-doctest)
6361 ("ghc-nats" ,ghc-nats)
6362 ("ghc-hunit" ,ghc-hunit)
6363 ("ghc-hspec" ,ghc-hspec)
6364 ("ghc-quickcheck" ,ghc-quickcheck)
6365 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6366 ("ghc-doctest" ,ghc-doctest)
6367 ("hspec-discover" ,hspec-discover)))
dddbc90c
RV
6368 (home-page "https://github.com/fizruk/http-api-data")
6369 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
6370query parameters")
6371 (description "This Haskell package defines typeclasses used for converting
6372Haskell data types to and from HTTP API data.")
6373 (license license:bsd-3)))
6374
6375(define-public ghc-ieee754
6376 (package
6377 (name "ghc-ieee754")
6378 (version "0.8.0")
6379 (source (origin
6380 (method url-fetch)
6381 (uri (string-append
6382 "https://hackage.haskell.org/package/ieee754/"
6383 "ieee754-" version ".tar.gz"))
6384 (sha256
6385 (base32
6386 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
6387 (build-system haskell-build-system)
6388 (home-page "https://github.com/patperry/hs-ieee754")
6389 (synopsis "Utilities for dealing with IEEE floating point numbers")
6390 (description "Utilities for dealing with IEEE floating point numbers,
6391ported from the Tango math library; approximate and exact equality comparisons
6392for general types.")
6393 (license license:bsd-3)))
6394
6395(define-public ghc-ifelse
6396 (package
6397 (name "ghc-ifelse")
6398 (version "0.85")
6399 (source
6400 (origin
6401 (method url-fetch)
6402 (uri (string-append "https://hackage.haskell.org/package/"
6403 "IfElse/IfElse-" version ".tar.gz"))
6404 (sha256
6405 (base32
6406 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
6407 (build-system haskell-build-system)
3ef91e15 6408 (home-page "https://hackage.haskell.org/package/IfElse")
dddbc90c
RV
6409 (synopsis "Monadic control flow with anaphoric variants")
6410 (description "This library provides functions for control flow inside of
6411monads with anaphoric variants on @code{if} and @code{when} and a C-like
6412@code{switch} function.")
6413 (license license:bsd-3)))
6414
6415(define-public ghc-indents
6416 (package
6417 (name "ghc-indents")
d66473fb 6418 (version "0.5.0.1")
dddbc90c
RV
6419 (source (origin
6420 (method url-fetch)
6421 (uri (string-append
6422 "https://hackage.haskell.org/package/indents/indents-"
6423 version ".tar.gz"))
6424 (sha256
6425 (base32
d66473fb 6426 "0dpcwiz0dwn5aqdsc50plfaawh86adhf7jx5dsmhn5q5nz32qn51"))))
dddbc90c
RV
6427 (build-system haskell-build-system)
6428 ;; This package needs an older version of tasty.
6429 (arguments '(#:tests? #f))
6430 (inputs
6431 `(("ghc-concatenative" ,ghc-concatenative)))
6432 (native-inputs
6433 `(("ghc-tasty" ,ghc-tasty)
6434 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6435 (home-page "http://patch-tag.com/r/salazar/indents")
6436 (synopsis "Indentation sensitive parser-combinators for parsec")
6437 (description
6438 "This library provides functions for use in parsing indentation sensitive
6439contexts. It parses blocks of lines all indented to the same level as well as
6440lines continued at an indented level below.")
6441 (license license:bsd-3)))
6442
1f656b17
TS
6443(define-public ghc-infer-license
6444 (package
6445 (name "ghc-infer-license")
6446 (version "0.2.0")
6447 (source
6448 (origin
6449 (method url-fetch)
6450 (uri (string-append "https://hackage.haskell.org/package/"
6451 "infer-license/infer-license-" version ".tar.gz"))
6452 (sha256
6453 (base32
6454 "0wlfm6bf55kfvm74xar9lmjg5v1103rs9m3grw1rq5bmcmhzxrhj"))))
6455 (build-system haskell-build-system)
6456 (inputs
6457 `(("ghc-text-metrics" ,ghc-text-metrics)))
6458 (native-inputs
6459 `(("ghc-hspec" ,ghc-hspec)
6460 ("hspec-discover" ,hspec-discover)))
3ef91e15 6461 (home-page "https://hackage.haskell.org/package/infer-license")
1f656b17
TS
6462 (synopsis "Infer software license from a given license file")
6463 (description "This library provides tools to infer a software
6464license from a given license file.")
6465 (license license:expat)))
6466
dddbc90c
RV
6467(define-public ghc-inline-c
6468 (package
6469 (name "ghc-inline-c")
55ec98f2 6470 (version "0.7.0.1")
dddbc90c
RV
6471 (source
6472 (origin
6473 (method url-fetch)
6474 (uri (string-append "https://hackage.haskell.org/package/inline-c/"
6475 "inline-c-" version ".tar.gz"))
6476 (sha256
6477 (base32
55ec98f2 6478 "19scbviwiv1fbsdcjji3dscjg7w0xa8r97xwkqqrwm7zhvrg5wns"))))
dddbc90c
RV
6479 (build-system haskell-build-system)
6480 (inputs
6481 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
6482 ("ghc-cryptohash" ,ghc-cryptohash)
6483 ("ghc-hashable" ,ghc-hashable)
6484 ("ghc-parsers" ,ghc-parsers)
6485 ("ghc-unordered-containers" ,ghc-unordered-containers)
6486 ("ghc-vector" ,ghc-vector)))
6487 (native-inputs
6488 `(("ghc-quickcheck" ,ghc-quickcheck)
6489 ("ghc-hspec" ,ghc-hspec)
6490 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)
6491 ("ghc-regex-posix" ,ghc-regex-posix)))
3ef91e15 6492 (home-page "https://hackage.haskell.org/package/inline-c")
dddbc90c
RV
6493 (synopsis "Write Haskell source files including C code inline")
6494 (description
6495 "inline-c lets you seamlessly call C libraries and embed high-performance
6496inline C code in Haskell modules. Haskell and C can be freely intermixed in
6497the same source file, and data passed to and from code in either language with
6498minimal overhead. No FFI required.")
6499 (license license:expat)))
6500
6501(define-public ghc-inline-c-cpp
6502 (package
6503 (name "ghc-inline-c-cpp")
cae58e56 6504 (version "0.3.0.3")
dddbc90c
RV
6505 (source
6506 (origin
6507 (method url-fetch)
6508 (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/"
6509 "inline-c-cpp-" version ".tar.gz"))
6510 (sha256
6511 (base32
cae58e56 6512 "1sxwx9dh60qfpa72dymj015zwd6prhb70x5mkabqzi7nhg3aakln"))))
dddbc90c
RV
6513 (build-system haskell-build-system)
6514 (inputs
6515 `(("ghc-inline-c" ,ghc-inline-c)
6516 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
6517 (native-inputs
6518 `(("ghc-hspec" ,ghc-hspec)))
6519 (home-page "https://hackage.haskell.org/package/inline-c-cpp")
6520 (synopsis "Lets you embed C++ code into Haskell")
6521 (description
6522 "This package provides utilities to inline C++ code into Haskell using
6523@code{inline-c}.")
6524 (license license:expat)))
6525
6526(define-public ghc-integer-logarithms
6527 (package
6528 (name "ghc-integer-logarithms")
86a704db 6529 (version "1.0.3")
dddbc90c
RV
6530 (source
6531 (origin
6532 (method url-fetch)
6533 (uri (string-append "https://hackage.haskell.org/package/"
6534 "integer-logarithms/integer-logarithms-"
6535 version ".tar.gz"))
6536 (sha256
6537 (base32
86a704db 6538 "05pc5hws66csvcvfswlwcr2fplwn1lbssvwifjxkbbwqhq0n5qjs"))))
dddbc90c
RV
6539 (build-system haskell-build-system)
6540 (arguments
6541 `(#:phases
6542 (modify-phases %standard-phases
6543 (add-before 'configure 'update-constraints
6544 (lambda _
6545 (substitute* "integer-logarithms.cabal"
6546 (("tasty >= 0\\.10 && < 1\\.1")
6547 "tasty >= 0.10 && < 1.2")))))))
6548 (native-inputs
6549 `(("ghc-quickcheck" ,ghc-quickcheck)
6550 ("ghc-smallcheck" ,ghc-smallcheck)
6551 ("ghc-tasty" ,ghc-tasty)
6552 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6553 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6554 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
6555 (home-page "https://github.com/Bodigrim/integer-logarithms")
6556 (synopsis "Integer logarithms")
6557 (description
6558 "This package provides the following modules:
6559@code{Math.NumberTheory.Logarithms} and
6560@code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
6561@code{GHC.Integer.Logarithms.Compat} and
6562@code{Math.NumberTheory.Power.Natural}, as well as some additional functions
6563in migrated modules.")
6564 (license license:expat)))
6565
6566(define-public ghc-integer-logarithms-bootstrap
6567 (package
6568 (inherit ghc-integer-logarithms)
6569 (name "ghc-integer-logarithms-bootstrap")
6570 (arguments `(#:tests? #f))
6571 (native-inputs '())
799d8d3c 6572 (properties '((hidden? #t)))))
dddbc90c
RV
6573
6574(define-public ghc-interpolate
6575 (package
6576 (name "ghc-interpolate")
6577 (version "0.2.0")
6578 (source
6579 (origin
6580 (method url-fetch)
6581 (uri (string-append "https://hackage.haskell.org/package/interpolate/"
6582 "interpolate-" version ".tar.gz"))
6583 (sha256
6584 (base32
6585 "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf"))))
6586 (build-system haskell-build-system)
6587 (inputs
6588 `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
6589 (native-inputs
6590 `(("ghc-base-compat" ,ghc-base-compat)
6591 ("ghc-hspec" ,ghc-hspec)
6592 ("ghc-quickcheck" ,ghc-quickcheck)
6593 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
6594 ("hspec-discover" ,hspec-discover)))
6595 (home-page "https://github.com/sol/interpolate")
6596 (synopsis "String interpolation library")
6597 (description "This package provides a string interpolation library for
6598Haskell.")
6599 (license license:expat)))
6600
6601(define-public ghc-intervalmap
6602 (package
6603 (name "ghc-intervalmap")
e4946e32 6604 (version "0.6.1.1")
dddbc90c
RV
6605 (source
6606 (origin
6607 (method url-fetch)
6608 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
6609 "IntervalMap-" version ".tar.gz"))
6610 (sha256
6611 (base32
e4946e32 6612 "0vdlvxvhf7vjyv0mfn6jaj2i2gclqv8419ck32s2jxfcmki5m5g8"))))
dddbc90c
RV
6613 (build-system haskell-build-system)
6614 (native-inputs
6615 `(("ghc-quickcheck" ,ghc-quickcheck)))
6616 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
6617 (synopsis "Containers for intervals, with efficient search")
6618 (description
6619 "This package provides ordered containers of intervals, with efficient
6620search for all keys containing a point or overlapping an interval. See the
6621example code on the home page for a quick introduction.")
6622 (license license:bsd-3)))
6623
f7ca1fa8
TS
6624(define-public ghc-intervals
6625 (package
6626 (name "ghc-intervals")
6627 (version "0.8.1")
6628 (source
6629 (origin
6630 (method url-fetch)
6631 (uri (string-append "https://hackage.haskell.org/package/"
6632 "intervals/intervals-" version ".tar.gz"))
6633 (sha256
6634 (base32
6635 "00vyxf3ba9d7aas3npfapr53w71fslgh69fczjb25axr66fvzqww"))))
6636 (build-system haskell-build-system)
6637 (inputs
6638 `(("ghc-distributive" ,ghc-distributive)))
6639 (native-inputs
6640 `(("cabal-doctest" ,cabal-doctest)
6641 ("ghc-doctest" ,ghc-doctest)
6642 ("ghc-quickcheck" ,ghc-quickcheck)))
6643 (arguments
6644 `(#:cabal-revision
6645 ("4" "1qx3q0v13l1zaln9zdk8chxpxhshbz5x0vqm0qda7d1kpv7h6a7r")))
6646 (home-page "https://github.com/ekmett/intervals")
6647 (synopsis "Interval arithmetic")
6648 (description "This library provides
6649@code{Numeric.Interval.Interval}, which represets a closed, convex set
6650of floating point values.")
6651 (license license:bsd-3)))
6652
dddbc90c
RV
6653(define-public ghc-invariant
6654 (package
6655 (name "ghc-invariant")
d3a0e0b4 6656 (version "0.5.3")
dddbc90c
RV
6657 (source
6658 (origin
6659 (method url-fetch)
6660 (uri (string-append
6661 "https://hackage.haskell.org/package/invariant/invariant-"
6662 version ".tar.gz"))
6663 (sha256
6664 (base32
d3a0e0b4 6665 "03245nhcqxx6b0yw81fzqaqd7cgllmx8awzhvs2xv7ys73pmsgnp"))))
dddbc90c
RV
6666 (build-system haskell-build-system)
6667 (inputs
6668 `(("ghc-bifunctors" ,ghc-bifunctors)
6669 ("ghc-comonad" ,ghc-comonad)
6670 ("ghc-contravariant" ,ghc-contravariant)
6671 ("ghc-profunctors" ,ghc-profunctors)
6672 ("ghc-semigroups" ,ghc-semigroups)
6673 ("ghc-statevar" ,ghc-statevar)
6674 ("ghc-tagged" ,ghc-tagged)
6675 ("ghc-th-abstraction" ,ghc-th-abstraction)
6676 ("ghc-transformers-compat" ,ghc-transformers-compat)
6677 ("ghc-unordered-containers" ,ghc-unordered-containers)))
6678 (native-inputs
6679 `(("ghc-hspec" ,ghc-hspec)
6680 ("ghc-quickcheck" ,ghc-quickcheck)
6681 ("hspec-discover" ,hspec-discover)))
6682 (home-page "https://github.com/nfrisby/invariant-functors")
6683 (synopsis "Haskell98 invariant functors")
6684 (description "Haskell98 invariant functors (also known as exponential
6685functors). For more information, see Edward Kmett's article
6686@uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.")
6687 (license license:bsd-2)))
6688
6689(define-public ghc-io-streams
6690 (package
6691 (name "ghc-io-streams")
59e98d75 6692 (version "1.5.1.0")
dddbc90c
RV
6693 (source
6694 (origin
6695 (method url-fetch)
6696 (uri (string-append "https://hackage.haskell.org/package/"
6697 "io-streams/io-streams-" version ".tar.gz"))
6698 (sha256
6699 (base32
59e98d75 6700 "1c7byr943x41nxpc3bnz152fvfbmakafq2958wyf9qiyp2pz18la"))))
dddbc90c
RV
6701 (build-system haskell-build-system)
6702 (inputs
6703 `(("ghc-attoparsec" ,ghc-attoparsec)
6704 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
6705 ("ghc-network" ,ghc-network)
6706 ("ghc-primitive" ,ghc-primitive)
6707 ("ghc-vector" ,ghc-vector)
6708 ("ghc-zlib-bindings" ,ghc-zlib-bindings)))
6709 (native-inputs
6710 `(("ghc-hunit" ,ghc-hunit)
6711 ("ghc-quickcheck" ,ghc-quickcheck)
6712 ("ghc-test-framework" ,ghc-test-framework)
6713 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6714 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
6715 ("ghc-zlib" ,ghc-zlib)))
3ef91e15 6716 (home-page "https://hackage.haskell.org/package/io-streams")
dddbc90c
RV
6717 (synopsis "Simple and composable stream I/O")
6718 (description "This library contains simple and easy-to-use
6719primitives for I/O using streams.")
6720 (license license:bsd-3)))
6721
6722(define-public ghc-io-streams-haproxy
6723 (package
6724 (name "ghc-io-streams-haproxy")
1a4fbc36 6725 (version "1.0.1.0")
dddbc90c
RV
6726 (source
6727 (origin
6728 (method url-fetch)
6729 (uri (string-append "https://hackage.haskell.org/package/"
6730 "io-streams-haproxy/io-streams-haproxy-"
6731 version ".tar.gz"))
6732 (sha256
6733 (base32
1a4fbc36 6734 "1dcn5hd4fiwyq7m01r6fi93vfvygca5s6mz87c78m0zyj29clkmp"))))
dddbc90c
RV
6735 (build-system haskell-build-system)
6736 (inputs
6737 `(("ghc-attoparsec" ,ghc-attoparsec)
6738 ("ghc-io-streams" ,ghc-io-streams)
6739 ("ghc-network" ,ghc-network)))
6740 (native-inputs
6741 `(("ghc-hunit" ,ghc-hunit)
6742 ("ghc-test-framework" ,ghc-test-framework)
6743 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
dddbc90c
RV
6744 (home-page "http://snapframework.com/")
6745 (synopsis "HAProxy protocol 1.5 support for io-streams")
6746 (description "HAProxy protocol version 1.5 support
6747(see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt})
6748for applications using io-streams. The proxy protocol allows information
6749about a networked peer (like remote address and port) to be propagated
6750through a forwarding proxy that is configured to speak this protocol.")
6751 (license license:bsd-3)))
6752
6753(define-public ghc-iproute
6754 (package
6755 (name "ghc-iproute")
ec25d536 6756 (version "1.7.7")
dddbc90c
RV
6757 (source
6758 (origin
6759 (method url-fetch)
6760 (uri (string-append
6761 "https://hackage.haskell.org/package/iproute/iproute-"
6762 version
6763 ".tar.gz"))
6764 (sha256
6765 (base32
ec25d536 6766 "0gab5930nvzrpvisx3x43ydnp2rd4fbmy9cq1zpgqy1adx5gx8z6"))))
dddbc90c
RV
6767 (build-system haskell-build-system)
6768 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
6769 ; exported by ghc-byteorder. Doctest issue.
6770 (inputs
6771 `(("ghc-appar" ,ghc-appar)
6772 ("ghc-byteorder" ,ghc-byteorder)
6773 ("ghc-network" ,ghc-network)
6774 ("ghc-safe" ,ghc-safe)))
6775 (home-page "https://www.mew.org/~kazu/proj/iproute/")
6776 (synopsis "IP routing table")
6777 (description "IP Routing Table is a tree of IP ranges to search one of
6778them on the longest match base. It is a kind of TRIE with one way branching
6779removed. Both IPv4 and IPv6 are supported.")
6780 (license license:bsd-3)))
6781
4828e54e
TS
6782(define-public ghc-ipynb
6783 (package
6784 (name "ghc-ipynb")
6785 (version "0.1")
6786 (source
6787 (origin
6788 (method url-fetch)
6789 (uri (string-append "https://hackage.haskell.org/package/"
6790 "ipynb/ipynb-" version ".tar.gz"))
6791 (sha256
6792 (base32
6793 "0daadhzil4q573mqb0rpvjzm0vpkzgzqcimw480qpvlh6rhppwj5"))))
6794 (build-system haskell-build-system)
6795 (inputs
6796 `(("ghc-unordered-containers" ,ghc-unordered-containers)
6797 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
6798 ("ghc-aeson" ,ghc-aeson)
6799 ("ghc-semigroups" ,ghc-semigroups)))
6800 (native-inputs
6801 `(("ghc-tasty" ,ghc-tasty)
6802 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
6803 ("ghc-aeson-diff" ,ghc-aeson-diff)
6804 ("ghc-microlens-aeson" ,ghc-microlens-aeson)
6805 ("ghc-microlens" ,ghc-microlens)
6806 ("ghc-vector" ,ghc-vector)))
6807 (home-page "https://hackage.haskell.org/package/ipynb")
6808 (synopsis "Data structure for working with Jupyter notebooks")
6809 (description "This library defines a data structure for representing
6810Jupyter notebooks, along with @code{ToJSON} and @code{FromJSON}
6811instances for conversion to and from JSON .ipynb files.")
6812 (license license:bsd-3)))
6813
dddbc90c
RV
6814(define-public ghc-iwlib
6815 (package
6816 (name "ghc-iwlib")
6817 (version "0.1.0")
6818 (source
6819 (origin
6820 (method url-fetch)
6821 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
6822 version ".tar.gz"))
6823 (sha256
6824 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
6825 (build-system haskell-build-system)
54a5fd07
TS
6826 (arguments
6827 `(#:extra-directories ("wireless-tools")))
dddbc90c
RV
6828 (inputs
6829 `(("wireless-tools" ,wireless-tools)))
6830 (home-page "https://github.com/jaor/iwlib")
6831 (synopsis "Haskell binding to the iw wireless networking library")
6832 (description
6833 "IWlib is a thin Haskell binding to the iw C library. It provides
6834information about the current wireless network connections, and adapters on
6835supported systems.")
6836 (license license:bsd-3)))
6837
6838(define-public ghc-json
6839 (package
6840 (name "ghc-json")
0ad3d574 6841 (version "0.9.3")
dddbc90c
RV
6842 (source
6843 (origin
6844 (method url-fetch)
6845 (uri (string-append "https://hackage.haskell.org/package/json/"
6846 "json-" version ".tar.gz"))
6847 (sha256
6848 (base32
0ad3d574 6849 "1z8s3mfg76p2flqqd2wqsi96l5bg8k8w8m58zlv81pw3k7h1vbwb"))))
dddbc90c
RV
6850 (build-system haskell-build-system)
6851 (inputs
6852 `(("ghc-syb" ,ghc-syb)))
6853 (home-page "https://hackage.haskell.org/package/json")
6854 (synopsis "Serializes Haskell data to and from JSON")
6855 (description "This package provides a parser and pretty printer for
6856converting between Haskell values and JSON.
6857JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
6858 (license license:bsd-3)))
6859
6860(define-public ghc-juicypixels
6861 (package
6862 (name "ghc-juicypixels")
b50b6004 6863 (version "3.3.4")
dddbc90c
RV
6864 (source (origin
6865 (method url-fetch)
6866 (uri (string-append "https://hackage.haskell.org/package/"
6867 "JuicyPixels/JuicyPixels-"
6868 version ".tar.gz"))
6869 (sha256
6870 (base32
b50b6004 6871 "0qacrnz2qcykj3f6c4k2p8qd31pa2slpv3ykfblgizrfh3401q6x"))))
dddbc90c 6872 (build-system haskell-build-system)
a023e7d0 6873 (outputs '("out" "static" "doc"))
dddbc90c
RV
6874 (inputs
6875 `(("ghc-zlib" ,ghc-zlib)
6876 ("ghc-vector" ,ghc-vector)
6877 ("ghc-primitive" ,ghc-primitive)
6878 ("ghc-mmap" ,ghc-mmap)))
6879 (home-page "https://github.com/Twinside/Juicy.Pixels")
6880 (synopsis "Picture loading and serialization library")
6881 (description
6882 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
6883TIFF and GIF formats.")
6884 (license license:bsd-3)))
6885
6886(define-public ghc-kan-extensions
6887 (package
6888 (name "ghc-kan-extensions")
6889 (version "5.2")
6890 (source
6891 (origin
6892 (method url-fetch)
6893 (uri (string-append
6894 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
6895 version
6896 ".tar.gz"))
6897 (sha256
6898 (base32
6899 "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb"))))
6900 (build-system haskell-build-system)
6901 (inputs
6902 `(("ghc-adjunctions" ,ghc-adjunctions)
6903 ("ghc-comonad" ,ghc-comonad)
6904 ("ghc-contravariant" ,ghc-contravariant)
6905 ("ghc-distributive" ,ghc-distributive)
6906 ("ghc-free" ,ghc-free)
6907 ("ghc-invariant" ,ghc-invariant)
6908 ("ghc-semigroupoids" ,ghc-semigroupoids)
6909 ("ghc-tagged" ,ghc-tagged)
6910 ("ghc-transformers-compat" ,ghc-transformers-compat)))
6911 (home-page "https://github.com/ekmett/kan-extensions/")
6912 (synopsis "Kan extensions library")
6913 (description "This library provides Kan extensions, Kan lifts, various
6914forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
6915 (license license:bsd-3)))
6916
6917(define-public ghc-language-c
6918 (package
6919 (name "ghc-language-c")
4e1cf651 6920 (version "0.8.3")
dddbc90c
RV
6921 (source
6922 (origin
6923 (method url-fetch)
6924 (uri (string-append "https://hackage.haskell.org/package/"
6925 "language-c/language-c-" version ".tar.gz"))
6926 (sha256
6927 (base32
4e1cf651 6928 "0bi02jdirkys8v7flf39vrpla2a74z1z0sdhy9lb9v7cmcc6rmpk"))))
dddbc90c
RV
6929 (build-system haskell-build-system)
6930 (inputs `(("ghc-syb" ,ghc-syb)))
6931 (native-inputs
6932 `(("ghc-happy" ,ghc-happy)
6933 ("ghc-alex" ,ghc-alex)))
6934 (home-page "https://visq.github.io/language-c/")
6935 (synopsis "Analysis and generation of C code")
6936 (description
6937 "Language C is a Haskell library for the analysis and generation of C code.
6938It features a complete, well-tested parser and pretty printer for all of C99
6939and a large set of GNU extensions.")
6940 (license license:bsd-3)))
6941
6942(define-public ghc-language-glsl
6943 (package
6944 (name "ghc-language-glsl")
6945 (version "0.3.0")
6946 (source
6947 (origin
6948 (method url-fetch)
6949 (uri (string-append "https://hackage.haskell.org/package/"
6950 "language-glsl/language-glsl-" version ".tar.gz"))
6951 (sha256
6952 (base32
6953 "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1"))))
6954 (build-system haskell-build-system)
6955 (inputs `(("ghc-prettyclass" ,ghc-prettyclass)))
6956 (arguments
6957 `(#:tests? #f
6958 #:cabal-revision
6959 ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5")))
3ef91e15 6960 (home-page "https://hackage.haskell.org/package/language-glsl")
dddbc90c
RV
6961 (synopsis "GLSL abstract syntax tree, parser, and pretty-printer")
6962 (description "This package is a Haskell library for the
6963representation, parsing, and pretty-printing of GLSL 1.50 code.")
6964 (license license:bsd-3)))
6965
6966(define-public ghc-language-haskell-extract
6967 (package
6968 (name "ghc-language-haskell-extract")
6969 (version "0.2.4")
6970 (source
6971 (origin
6972 (method url-fetch)
6973 (uri (string-append "https://hackage.haskell.org/package/"
6974 "language-haskell-extract-" version "/"
6975 "language-haskell-extract-" version ".tar.gz"))
6976 (sha256
6977 (base32
6978 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
6979 (build-system haskell-build-system)
6980 (inputs
6981 `(("ghc-regex-posix" ,ghc-regex-posix)))
6982 (home-page "https://github.com/finnsson/template-helper")
6983 (synopsis "Haskell module to automatically extract functions from
6984the local code")
6985 (description "This package contains helper functions on top of
6986Template Haskell.
6987
6988For example, @code{functionExtractor} extracts all functions after a
6989regexp-pattern, which can be useful if you wish to extract all functions
6990beginning with @code{test} (for a test framework) or all functions beginning
6991with @code{wc} (for a web service).")
6992 (license license:bsd-3)))
6993
6994(define-public ghc-lens
6995 (package
6996 (name "ghc-lens")
262e6323 6997 (version "4.17.1")
dddbc90c
RV
6998 (source
6999 (origin
7000 (method url-fetch)
7001 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
7002 version ".tar.gz"))
7003 (sha256
7004 (base32
262e6323 7005 "1gpkc53l2cggnfrgg5k4ih82rycjbdvpj9pnbi5cq8ms0dbvs4a7"))))
dddbc90c 7006 (build-system haskell-build-system)
b35361e9 7007 (outputs '("out" "static" "doc"))
dddbc90c
RV
7008 (inputs
7009 `(("ghc-base-orphans" ,ghc-base-orphans)
7010 ("ghc-bifunctors" ,ghc-bifunctors)
7011 ("ghc-distributive" ,ghc-distributive)
7012 ("ghc-exceptions" ,ghc-exceptions)
7013 ("ghc-free" ,ghc-free)
7014 ("ghc-kan-extensions" ,ghc-kan-extensions)
7015 ("ghc-parallel" ,ghc-parallel)
7016 ("ghc-reflection" ,ghc-reflection)
7017 ("ghc-semigroupoids" ,ghc-semigroupoids)
7018 ("ghc-vector" ,ghc-vector)
7019 ("ghc-call-stack" ,ghc-call-stack)
7020 ("ghc-comonad" ,ghc-comonad)
7021 ("ghc-contravariant" ,ghc-contravariant)
7022 ("ghc-hashable" ,ghc-hashable)
7023 ("ghc-profunctors" ,ghc-profunctors)
7024 ("ghc-semigroups" ,ghc-semigroups)
7025 ("ghc-tagged" ,ghc-tagged)
7026 ("ghc-transformers-compat" ,ghc-transformers-compat)
7027 ("ghc-unordered-containers" ,ghc-unordered-containers)
7028 ("ghc-void" ,ghc-void)
7029 ("ghc-generic-deriving" ,ghc-generic-deriving)
7030 ("ghc-nats" ,ghc-nats)
7031 ("ghc-simple-reflect" ,ghc-simple-reflect)
7032 ("hlint" ,hlint)))
7033 (native-inputs
7034 `(("cabal-doctest" ,cabal-doctest)
7035 ("ghc-doctest" ,ghc-doctest)
7036 ("ghc-hunit" ,ghc-hunit)
7037 ("ghc-test-framework" ,ghc-test-framework)
7038 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7039 ("ghc-test-framework-th" ,ghc-test-framework-th)
7040 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7041 ("ghc-quickcheck" ,ghc-quickcheck)))
7042 (home-page "https://github.com/ekmett/lens/")
7043 (synopsis "Lenses, Folds and Traversals")
7044 (description "This library provides @code{Control.Lens}. The combinators
7045in @code{Control.Lens} provide a highly generic toolbox for composing families
7046of getters, folds, isomorphisms, traversals, setters and lenses and their
7047indexed variants.")
7048 (license license:bsd-3)))
7049
bcd35444
JS
7050(define-public ghc-lens-family-core
7051 (package
7052 (name "ghc-lens-family-core")
7053 (version "1.2.3")
7054 (source
7055 (origin
7056 (method url-fetch)
7057 (uri (string-append
7058 "mirror://hackage/package/lens-family-core/lens-family-core-"
7059 version
7060 ".tar.gz"))
7061 (sha256
7062 (base32
7063 "009rf10pj1cb50v44cc1pq7qvfrmkkk9dikahs9qmvbvgl3mykwi"))))
7064 (build-system haskell-build-system)
7065 (home-page
7066 "http://hackage.haskell.org/package/lens-family-core")
7067 (synopsis "Haskell 98 Lens Families")
7068 (description
7069 "This package provides first class functional references. In addition to
7070the usual operations of getting, setting and composition, plus integration
7071with the state monad, lens families provide some unique features:
7072
7073@itemize
7074@item Polymorphic updating
7075@item Traversals
7076@item Cast projection functions to read-only lenses
7077@item Cast @code{toList} functions to read-only traversals
7078@item Cast semantic editor combinators to modify-only traversals
7079@end itemize
7080
7081For optimal first-class support use the lens-family package with rank 2/rank N
7082polymorphism. @code{Lens.Family.Clone} allows for first-class support of
7083lenses and traversals for those who require Haskell 98.")
7084 (license license:bsd-3)))
7085
dddbc90c
RV
7086(define-public ghc-libffi
7087 (package
7088 (name "ghc-libffi")
7089 (version "0.1")
7090 (source
7091 (origin
7092 (method url-fetch)
7093 (uri (string-append "https://hackage.haskell.org/package/"
7094 "libffi/libffi-" version ".tar.gz"))
7095 (sha256
7096 (base32
7097 "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28"))))
7098 (build-system haskell-build-system)
7099 (native-inputs `(("pkg-config" ,pkg-config)))
7100 (inputs `(("libffi" ,libffi)))
3ef91e15 7101 (home-page "https://hackage.haskell.org/package/libffi")
dddbc90c
RV
7102 (synopsis "Haskell binding to libffi")
7103 (description
7104 "A binding to libffi, allowing C functions of types only known at runtime
7105to be called from Haskell.")
7106 (license license:bsd-3)))
7107
7108(define-public ghc-libmpd
7109 (package
7110 (name "ghc-libmpd")
bbf9845f 7111 (version "0.9.0.10")
dddbc90c
RV
7112 (source
7113 (origin
7114 (method url-fetch)
7115 (uri (string-append
7116 "mirror://hackage/package/libmpd/libmpd-"
7117 version
7118 ".tar.gz"))
7119 (sha256
7120 (base32
bbf9845f 7121 "0vy287mn1vk8kvij5i3hc0p02l886cpsq5dds7kl6g520si3abkb"))))
dddbc90c
RV
7122 (build-system haskell-build-system)
7123 ;; Tests fail on i686.
7124 ;; See https://github.com/vimus/libmpd-haskell/issues/112
7125 (arguments `(#:tests? #f))
7126 (inputs
7127 `(("ghc-attoparsec" ,ghc-attoparsec)
7128 ("ghc-old-locale" ,ghc-old-locale)
7129 ("ghc-data-default-class" ,ghc-data-default-class)
7130 ("ghc-network" ,ghc-network)
bbf9845f 7131 ("ghc-safe-exceptions" ,ghc-safe-exceptions)
dddbc90c
RV
7132 ("ghc-utf8-string" ,ghc-utf8-string)))
7133 (native-inputs
7134 `(("ghc-quickcheck" ,ghc-quickcheck)
7135 ("ghc-hspec" ,ghc-hspec)
7136 ("hspec-discover" ,hspec-discover)))
7137 (home-page "https://github.com/vimus/libmpd-haskell")
7138 (synopsis "Haskell client library for the Music Player Daemon")
7139 (description "This package provides a pure Haskell client library for the
7140Music Player Daemon.")
7141 (license license:expat)))
7142
e34df1c3
TS
7143(define-public ghc-lib-parser
7144 (package
7145 (name "ghc-lib-parser")
7146 (version "8.8.0.20190424")
7147 (source
7148 (origin
7149 (method url-fetch)
7150 (uri (string-append "https://hackage.haskell.org/package/"
7151 "ghc-lib-parser/ghc-lib-parser-" version ".tar.gz"))
7152 (sha256
7153 (base32
7154 "12gsh994pr13bsybwlravmi21la66dyw74pk74yfw2pnz682wv10"))))
7155 (build-system haskell-build-system)
7e62ebb3 7156 (outputs '("out" "static" "doc")) ; documentation is 39M
e34df1c3
TS
7157 (native-inputs
7158 `(("ghc-alex" ,ghc-alex)
7159 ("ghc-happy" ,ghc-happy)))
7160 (home-page "https://github.com/digital-asset/ghc-lib")
7161 (synopsis "The GHC API, decoupled from GHC versions")
7162 (description "This library implements the GHC API. It is like the
7163compiler-provided @code{ghc} package, but it can be loaded on many
7164compiler versions.")
7165 (license license:bsd-3)))
7166
dddbc90c
RV
7167(define-public ghc-libxml
7168 (package
7169 (name "ghc-libxml")
7170 (version "0.1.1")
7171 (source
7172 (origin
7173 (method url-fetch)
7174 (uri (string-append "https://hackage.haskell.org/package/libxml/"
7175 "libxml-" version ".tar.gz"))
7176 (sha256
7177 (base32
7178 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
7179 (build-system haskell-build-system)
7180 (inputs
7181 `(("libxml2" ,libxml2)))
7182 (arguments
7183 `(#:configure-flags
7184 `(,(string-append "--extra-include-dirs="
7185 (assoc-ref %build-inputs "libxml2")
7186 "/include/libxml2"))))
7187 (home-page "https://hackage.haskell.org/package/libxml")
7188 (synopsis "Haskell bindings to libxml2")
7189 (description
7190 "This library provides minimal Haskell binding to libxml2.")
7191 (license license:bsd-3)))
7192
0c2d6fc2
TS
7193(define-public ghc-libyaml
7194 (package
7195 (name "ghc-libyaml")
7196 (version "0.1.1.0")
7197 (source
7198 (origin
7199 (method url-fetch)
7200 (uri (string-append "https://hackage.haskell.org/package/"
7201 "libyaml/libyaml-" version ".tar.gz"))
7202 (sha256
7203 (base32
7204 "0psznm9c3yjsyj9aj8m2svvv9m2v0x90hnwarcx5sbswyi3l00va"))
7205 (modules '((guix build utils)))
7206 (snippet
7207 ;; Delete bundled LibYAML.
7208 '(begin
7209 (delete-file-recursively "libyaml_src")
7210 #t))))
7211 (build-system haskell-build-system)
7212 (arguments
54a5fd07
TS
7213 `(#:configure-flags `("--flags=system-libyaml")
7214 #:extra-directories ("libyaml")))
0c2d6fc2
TS
7215 (inputs
7216 `(("ghc-conduit" ,ghc-conduit)
7217 ("ghc-resourcet" ,ghc-resourcet)
1b35d303 7218 ("libyaml" ,libyaml)))
0c2d6fc2
TS
7219 (home-page "https://github.com/snoyberg/yaml#readme")
7220 (synopsis "Low-level, streaming YAML interface.")
7221 (description "This package provides a Haskell wrapper over the
7222LibYAML C library.")
7223 (license license:bsd-3)))
7224
dddbc90c
RV
7225(define-public ghc-lifted-async
7226 (package
7227 (name "ghc-lifted-async")
b5b6d7ea 7228 (version "0.10.0.4")
dddbc90c
RV
7229 (source
7230 (origin
7231 (method url-fetch)
7232 (uri (string-append
7233 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
7234 version ".tar.gz"))
7235 (sha256
7236 (base32
b5b6d7ea 7237 "0cwl1d0wjpdk0v1l1qxiqiksmak950c8gx169c1q77cg0z18ijf9"))))
dddbc90c
RV
7238 (build-system haskell-build-system)
7239 (inputs
7240 `(("ghc-async" ,ghc-async)
7241 ("ghc-lifted-base" ,ghc-lifted-base)
7242 ("ghc-transformers-base" ,ghc-transformers-base)
7243 ("ghc-monad-control" ,ghc-monad-control)
7244 ("ghc-constraints" ,ghc-constraints)
7245 ("ghc-hunit" ,ghc-hunit)
7246 ("ghc-tasty" ,ghc-tasty)
7247 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
7248 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7249 ("ghc-tasty-th" ,ghc-tasty-th)))
7250 (home-page "https://github.com/maoe/lifted-async")
7251 (synopsis "Run lifted IO operations asynchronously and wait for their results")
7252 (description
7253 "This package provides IO operations from @code{async} package lifted to any
7254instance of @code{MonadBase} or @code{MonadBaseControl}.")
7255 (license license:bsd-3)))
7256
7257(define-public ghc-lifted-base
7258 (package
7259 (name "ghc-lifted-base")
7260 (version "0.2.3.12")
7261 (source
7262 (origin
7263 (method url-fetch)
7264 (uri (string-append
7265 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
7266 version
7267 ".tar.gz"))
7268 (sha256
7269 (base32
7270 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
7271 (build-system haskell-build-system)
7272 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
7273 (inputs
7274 `(("ghc-transformers-base" ,ghc-transformers-base)
7275 ("ghc-monad-control" ,ghc-monad-control)
7276 ("ghc-transformers-compat" ,ghc-transformers-compat)
7277 ("ghc-hunit" ,ghc-hunit)))
7278 (home-page "https://github.com/basvandijk/lifted-base")
7279 (synopsis "Lifted IO operations from the base library")
7280 (description "Lifted-base exports IO operations from the @code{base}
7281library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
7282Note that not all modules from @code{base} are converted yet. The package
7283includes a copy of the @code{monad-peel} test suite written by Anders
7284Kaseorg.")
7285 (license license:bsd-3)))
7286
7287(define-public ghc-linear
7288 (package
7289 (name "ghc-linear")
86526f37 7290 (version "1.20.9")
dddbc90c
RV
7291 (source
7292 (origin
7293 (method url-fetch)
7294 (uri (string-append "https://hackage.haskell.org/package/linear/"
7295 "linear-" version ".tar.gz"))
7296 (sha256
7297 (base32
86526f37 7298 "0h7yqigq593n7wsl7nz6a5f137wznm7y679wsii0ph0zsc4v5af5"))))
dddbc90c
RV
7299 (build-system haskell-build-system)
7300 (inputs
7301 `(("ghc-adjunctions" ,ghc-adjunctions)
7302 ("ghc-base-orphans" ,ghc-base-orphans)
7303 ("ghc-bytes" ,ghc-bytes)
7304 ("ghc-cereal" ,ghc-cereal)
7305 ("ghc-distributive" ,ghc-distributive)
7306 ("ghc-hashable" ,ghc-hashable)
7307 ("ghc-lens" ,ghc-lens)
7308 ("ghc-reflection" ,ghc-reflection)
7309 ("ghc-semigroups" ,ghc-semigroups)
7310 ("ghc-semigroupoids" ,ghc-semigroupoids)
7311 ("ghc-tagged" ,ghc-tagged)
7312 ("ghc-transformers-compat" ,ghc-transformers-compat)
7313 ("ghc-unordered-containers" ,ghc-unordered-containers)
7314 ("ghc-vector" ,ghc-vector)
7315 ("ghc-void" ,ghc-void)))
7316 (native-inputs
7317 `(("cabal-doctest" ,cabal-doctest)
7318 ("ghc-doctest" ,ghc-doctest)
7319 ("ghc-simple-reflect" ,ghc-simple-reflect)
7320 ("ghc-test-framework" ,ghc-test-framework)
7321 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7322 ("ghc-hunit" ,ghc-hunit)))
702a1012 7323 (home-page "https://github.com/ekmett/linear/")
dddbc90c
RV
7324 (synopsis "Linear algebra library for Haskell")
7325 (description
7326 "This package provides types and combinators for linear algebra on free
7327vector spaces.")
7328 (license license:bsd-3)))
1307e4c7
JS
7329
7330(define-public ghc-listlike
7331 (package
7332 (name "ghc-listlike")
7333 (version "4.6.2")
7334 (source
7335 (origin
7336 (method url-fetch)
7337 (uri
7338 (string-append
7339 "https://hackage.haskell.org/package/ListLike/ListLike-"
7340 version ".tar.gz"))
7341 (sha256
7342 (base32
7343 "0m65x8yaq7q50gznln8mga2wrc8cvjx6gw9rim8s7xqcrx6y5zjh"))))
7344 (build-system haskell-build-system)
7345 (inputs
7346 `(("ghc-vector" ,ghc-vector)
7347 ("ghc-dlist" ,ghc-dlist)
7348 ("ghc-fmlist" ,ghc-fmlist)
7349 ("ghc-hunit" ,ghc-hunit)
7350 ("ghc-quickcheck" ,ghc-quickcheck)
7351 ("ghc-random" ,ghc-random)
7352 ("ghc-utf8-string" ,ghc-utf8-string)))
7353 (home-page "https://github.com/JohnLato/listlike")
7354 (synopsis "Generic support for list-like structures")
7355 (description "The ListLike module provides a common interface to the
7356various Haskell types that are list-like. Predefined interfaces include
7357standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings.
7358Custom types can easily be made ListLike instances as well.
7359
7360ListLike also provides for String-like types, such as String and
7361ByteString, for types that support input and output, and for types that
7362can handle infinite lists.")
7363 (license license:bsd-3)))
dddbc90c 7364
84436be0
J
7365(define-public ghc-llvm-hs-pure
7366 (package
7367 (name "ghc-llvm-hs-pure")
7368 (version "9.0.0")
7369 (source
7370 (origin
7371 (method url-fetch)
7372 (uri (string-append "https://hackage.haskell.org/package/llvm-hs-pure/"
7373 "llvm-hs-pure-" version ".tar.gz"))
7374 (sha256
7375 (base32
7376 "0pxb5ah8r5pzpz2ibqw3g9g1isigb4z7pbzfrwr8kmcjn74ab3kf"))))
7377 (build-system haskell-build-system)
7378 (inputs
7379 `(("ghc-attoparsec" ,ghc-attoparsec)
7380 ("ghc-fail" ,ghc-fail)
7381 ("ghc-unordered-containers" ,ghc-unordered-containers)))
7382 (native-inputs
7383 `(("ghc-tasty" ,ghc-tasty)
7384 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7385 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7386 (home-page "https://github.com/llvm-hs/llvm-hs/")
7387 (synopsis "Pure Haskell LLVM functionality (no FFI)")
7388 (description "llvm-hs-pure is a set of pure Haskell types and functions
7389for interacting with LLVM. It includes an algebraic datatype (ADT) to represent
7390LLVM IR. The llvm-hs package builds on this one with FFI bindings to LLVM, but
7391llvm-hs-pure does not require LLVM to be available.")
7392 (license license:bsd-3)))
7393
e3ee8023
J
7394(define-public ghc-llvm-hs
7395 (package
7396 (name "ghc-llvm-hs")
7397 (version "9.0.1")
7398 (source
7399 (origin
7400 (method url-fetch)
7401 (uri (string-append "https://hackage.haskell.org/package/llvm-hs/llvm-hs-"
7402 version ".tar.gz"))
7403 (sha256
7404 (base32
7405 "0723xgh45h9cyxmmjsvxnsp8bpn1ljy4qgh7a7vqq3sj9d6wzq00"))))
7406 (build-system haskell-build-system)
7407 (inputs
7408 `(("ghc-attoparsec" ,ghc-attoparsec)
7409 ("ghc-exceptions" ,ghc-exceptions)
7410 ("ghc-utf8-string" ,ghc-utf8-string)
7411 ("ghc-llvm-hs-pure" ,ghc-llvm-hs-pure)
7412 ("llvm" ,llvm-9)))
7413 (native-inputs
7414 `(("ghc-tasty" ,ghc-tasty)
7415 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7416 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7417 ("ghc-quickcheck" ,ghc-quickcheck)
7418 ("ghc-temporary" ,ghc-temporary)
7419 ("ghc-pretty-show" ,ghc-pretty-show)
7420 ("ghc-temporary" ,ghc-temporary)))
7421 (home-page "https://github.com/llvm-hs/llvm-hs/")
7422 (synopsis "General purpose LLVM bindings for Haskell")
7423 (description "llvm-hs is a set of Haskell bindings for LLVM. Unlike other
7424current Haskell bindings, it uses an algebraic datatype (ADT) to represent LLVM
7425IR, and so offers two advantages: it handles almost all of the stateful
7426complexities of using the LLVM API to build IR; and it supports moving IR not
7427only from Haskell into LLVM C++ objects, but the other direction - from LLVM C++
7428into Haskell.")
7429 (license license:bsd-3)))
7430
dddbc90c
RV
7431(define-public ghc-logging-facade
7432 (package
7433 (name "ghc-logging-facade")
7434 (version "0.3.0")
7435 (source (origin
7436 (method url-fetch)
7437 (uri (string-append "https://hackage.haskell.org/package/"
7438 "logging-facade/logging-facade-"
7439 version ".tar.gz"))
7440 (sha256
7441 (base32
7442 "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf"))))
7443 (build-system haskell-build-system)
7444 (native-inputs
7445 `(("ghc-hspec" ,ghc-hspec)
7446 ("hspec-discover" ,hspec-discover)))
7447 (home-page "https://hackage.haskell.org/package/logging-facade")
7448 (synopsis "Simple logging abstraction that allows multiple back-ends")
7449 (description
7450 "This package provides a simple logging abstraction that allows multiple
7451back-ends.")
7452 (license license:expat)))
7453
7454(define-public ghc-logict
7455 (package
7456 (name "ghc-logict")
79d9326f 7457 (version "0.7.0.2")
dddbc90c
RV
7458 (source
7459 (origin
7460 (method url-fetch)
7461 (uri (string-append
7462 "https://hackage.haskell.org/package/logict/logict-"
7463 version
7464 ".tar.gz"))
7465 (sha256
7466 (base32
79d9326f 7467 "1xfgdsxg0lp8m0a2cb83rcxrnnc37asfikay2kydi933anh9ihfc"))))
dddbc90c 7468 (build-system haskell-build-system)
79d9326f
TS
7469 (native-inputs
7470 `(("ghc-tasty" ,ghc-tasty)
7471 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
dddbc90c
RV
7472 (home-page "http://code.haskell.org/~dolio/")
7473 (synopsis "Backtracking logic-programming monad")
7474 (description "This library provides a continuation-based, backtracking,
7475logic programming monad. An adaptation of the two-continuation implementation
7476found in the paper \"Backtracking, Interleaving, and Terminating Monad
7477Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
7478online}.")
7479 (license license:bsd-3)))
7480
27baf2a1
CH
7481(define-public ghc-lucid
7482 (package
7483 (name "ghc-lucid")
7484 (version "2.9.12")
7485 (source
7486 (origin
7487 (method url-fetch)
7488 (uri (string-append
7489 "https://hackage.haskell.org/package/lucid/lucid-"
7490 version
7491 ".tar.gz"))
7492 (sha256
7493 (base32
7494 "156wniydd1hlb7rygbm95zln8ky8lai8rn2apkkv0rax9cdw6jrh"))))
7495 (build-system haskell-build-system)
7496 (inputs
7497 `(("ghc-blaze-builder" ,ghc-blaze-builder)
7498 ("ghc-hashable" ,ghc-hashable)
7499 ("ghc-mmorph" ,ghc-mmorph)
7500 ("ghc-unordered-containers" ,ghc-unordered-containers)))
7501 (native-inputs
7502 `(("ghc-hunit" ,ghc-hunit)
7503 ("ghc-hspec" ,ghc-hspec)
7504 ("ghc-bifunctors" ,ghc-bifunctors)))
7505 (arguments
7506 `(#:cabal-revision
7507 ("1"
7508 "1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9")))
7509 (home-page "https://github.com/chrisdone/lucid")
7510 (synopsis "Haskell DSL for rendering HTML")
7511 (description "Clear to write, read and edit Haskell DSL for HTML.
7512
7513@itemize @bullet
7514@item
7515Names are consistent, and do not conflict with base or are keywords
7516(all have suffix @code{-}).
7517@item
7518Same combinator can be used for attributes and elements
7519(e.g. @code{style_}).
7520@end itemize")
7521 (license license:bsd-3)))
7522
dddbc90c
RV
7523(define-public ghc-lzma
7524 (package
7525 (name "ghc-lzma")
7526 (version "0.0.0.3")
7527 (source
7528 (origin
7529 (method url-fetch)
7530 (uri (string-append "https://hackage.haskell.org/package/lzma/"
7531 "lzma-" version ".tar.gz"))
7532 (sha256
7533 (base32
7534 "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg"))))
7535 (build-system haskell-build-system)
7536 (arguments
7537 '(#:tests? #f ; requires older versions of QuickCheck and tasty.
7538 #:cabal-revision
7539 ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m")))
7540 (native-inputs
7541 `(("ghc-hunit" ,ghc-hunit)
7542 ("ghc-quickcheck" ,ghc-quickcheck)
7543 ("ghc-tasty" ,ghc-tasty)
7544 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7545 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
7546 (home-page "https://github.com/hvr/lzma")
7547 (synopsis "LZMA/XZ compression and decompression")
7548 (description
7549 "This package provides a pure interface for compressing and
7550decompressing LZMA streams of data represented as lazy @code{ByteString}s. A
7551monadic incremental interface is provided as well.")
7552 (license license:bsd-3)))
7553
7554(define-public ghc-lzma-conduit
7555 (package
7556 (name "ghc-lzma-conduit")
7557 (version "1.2.1")
7558 (source
7559 (origin
7560 (method url-fetch)
7561 (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/"
7562 "lzma-conduit-" version ".tar.gz"))
7563 (sha256
7564 (base32
7565 "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9"))))
7566 (build-system haskell-build-system)
7567 (inputs
7568 `(("ghc-conduit" ,ghc-conduit)
7569 ("ghc-lzma" ,ghc-lzma)
7570 ("ghc-resourcet" ,ghc-resourcet)))
7571 (native-inputs
7572 `(("ghc-base-compat" ,ghc-base-compat)
7573 ("ghc-test-framework" ,ghc-test-framework)
7574 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7575 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7576 ("ghc-hunit" ,ghc-hunit)
7577 ("ghc-quickcheck" ,ghc-quickcheck)))
7578 (home-page "https://github.com/alphaHeavy/lzma-conduit")
7579 (synopsis "Conduit interface for lzma/xz compression")
7580 (description
7581 "This package provides a @code{Conduit} interface for the LZMA
7582compression algorithm used in the @code{.xz} file format.")
7583 (license license:bsd-3)))
7584
e405912c
KM
7585(define-public ghc-magic
7586 (package
7587 (name "ghc-magic")
7588 (version "1.1")
7589 (source
7590 (origin
7591 (method url-fetch)
7592 (uri (string-append
7593 "https://hackage.haskell.org/package/magic/magic-"
7594 version ".tar.gz"))
7595 (sha256
7596 (base32
7597 "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j"))))
7598 (build-system haskell-build-system)
3ef91e15 7599 (home-page "https://hackage.haskell.org/package/magic")
e405912c
KM
7600 (synopsis "Interface to C file/magic library")
7601 (description
7602 "This package provides a full-featured binding to the C libmagic library.
7603With it, you can determine the type of a file by examining its contents rather
7604than its name.")
7605 (license license:bsd-3)))
7606
bcfe9dba
JS
7607(define-public ghc-managed
7608 (package
7609 (name "ghc-managed")
7610 (version "1.0.6")
7611 (source
7612 (origin
7613 (method url-fetch)
7614 (uri (string-append
7615 "mirror://hackage/package/managed/managed-"
7616 version
7617 ".tar.gz"))
7618 (sha256
7619 (base32
7620 "1kbrw99yh5x5blykmx2n88mplbbi4ss1ij5j17b7asw6q0ihm9zi"))))
7621 (build-system haskell-build-system)
7622 (home-page "http://hackage.haskell.org/package/managed")
7623 (synopsis "Monad for managed values")
7624 (description
7625 "In Haskell you very often acquire values using the with... idiom using
7626functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a
7627special case of the ContT monad (from transformers) or the Codensity
7628monad (from kan-extensions). The main purpose behind this package is to
7629provide a restricted form of these monads specialized to this unusually common
7630case.
7631
7632The reason this package defines a specialized version of these types
7633is to:
7634
7635@itemize
7636@item be more beginner-friendly,
7637@item simplify inferred types and error messages, and:
7638@item provide some additional type class instances that would otherwise be
7639orphan instances
7640@end itemize")
7641 (license license:bsd-3)))
7642
dddbc90c
RV
7643(define-public ghc-markdown-unlit
7644 (package
7645 (name "ghc-markdown-unlit")
7646 (version "0.5.0")
7647 (source (origin
7648 (method url-fetch)
7649 (uri (string-append
7650 "mirror://hackage/package/markdown-unlit/"
7651 "markdown-unlit-" version ".tar.gz"))
7652 (sha256
7653 (base32
7654 "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7"))))
7655 (build-system haskell-build-system)
7656 (inputs
7657 `(("ghc-base-compat" ,ghc-base-compat)
7658 ("ghc-hspec" ,ghc-hspec)
7659 ("ghc-quickcheck" ,ghc-quickcheck)
7660 ("ghc-silently" ,ghc-silently)
7661 ("ghc-stringbuilder" ,ghc-stringbuilder)
7662 ("ghc-temporary" ,ghc-temporary)
7663 ("hspec-discover" ,hspec-discover)))
7664 (home-page "https://github.com/sol/markdown-unlit#readme")
7665 (synopsis "Literate Haskell support for Markdown")
7666 (description "This package allows you to have a README.md that at the
7667same time is a literate Haskell program.")
7668 (license license:expat)))
7669
7670(define-public ghc-math-functions
7671 (package
7672 (name "ghc-math-functions")
b45de2bf 7673 (version "0.3.3.0")
dddbc90c
RV
7674 (source
7675 (origin
7676 (method url-fetch)
7677 (uri (string-append "https://hackage.haskell.org/package/"
7678 "math-functions-" version "/"
7679 "math-functions-" version ".tar.gz"))
7680 (sha256
7681 (base32
b45de2bf 7682 "1s5nbs40sc3r4z08n0j8bw40cy0zkp03fjjn3p27zkd4fvm9kib3"))))
dddbc90c
RV
7683 (build-system haskell-build-system)
7684 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
7685 (inputs
b45de2bf
TS
7686 `(("ghc-data-default-class" ,ghc-data-default-class)
7687 ("ghc-vector" ,ghc-vector)
dddbc90c
RV
7688 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
7689 (native-inputs
7690 `(("ghc-hunit" ,ghc-hunit)
7691 ("ghc-quickcheck" ,ghc-quickcheck)
7692 ("ghc-erf" ,ghc-erf)
7693 ("ghc-test-framework" ,ghc-test-framework)
7694 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7695 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7696 (home-page "https://github.com/bos/math-functions")
7697 (synopsis "Special functions and Chebyshev polynomials for Haskell")
7698 (description "This Haskell library provides implementations of
7699special mathematical functions and Chebyshev polynomials. These
7700functions are often useful in statistical and numerical computing.")
7701 (license license:bsd-3)))
7702
7703(define-public ghc-megaparsec
7704 (package
7705 (name "ghc-megaparsec")
03b0c92e 7706 (version "7.0.5")
dddbc90c
RV
7707 (source
7708 (origin
7709 (method url-fetch)
7710 (uri (string-append "https://hackage.haskell.org/package/"
7711 "megaparsec/megaparsec-"
7712 version ".tar.gz"))
7713 (sha256
7714 (base32
03b0c92e 7715 "0bqx1icbmk8s7wmbcdzsgnlh607c7kzg8l80cp02dxr5valjxp7j"))))
dddbc90c 7716 (build-system haskell-build-system)
dddbc90c
RV
7717 (inputs
7718 `(("ghc-case-insensitive" ,ghc-case-insensitive)
7719 ("ghc-parser-combinators" ,ghc-parser-combinators)
7720 ("ghc-scientific" ,ghc-scientific)))
7721 (native-inputs
7722 `(("ghc-quickcheck" ,ghc-quickcheck)
7723 ("ghc-hspec" ,ghc-hspec)
7724 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
7725 ("hspec-discover" ,hspec-discover)))
7726 (home-page "https://github.com/mrkkrp/megaparsec")
7727 (synopsis "Monadic parser combinators")
7728 (description
7729 "This is an industrial-strength monadic parser combinator library.
7730Megaparsec is a feature-rich package that strikes a nice balance between
7731speed, flexibility, and quality of parse errors.")
7732 (license license:bsd-2)))
7733
7734(define-public ghc-memory
7735 (package
7736 (name "ghc-memory")
d2c7d336 7737 (version "0.14.18")
dddbc90c
RV
7738 (source (origin
7739 (method url-fetch)
7740 (uri (string-append "https://hackage.haskell.org/package/"
7741 "memory/memory-" version ".tar.gz"))
7742 (sha256
7743 (base32
d2c7d336 7744 "01rmq3vagxzjmm96qnfxk4f0516cn12bp5m8inn8h5r918bqsigm"))))
dddbc90c
RV
7745 (build-system haskell-build-system)
7746 (inputs
7747 `(("ghc-basement" ,ghc-basement)
7748 ("ghc-foundation" ,ghc-foundation)))
7749 (native-inputs
7750 `(("ghc-tasty" ,ghc-tasty)
7751 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7752 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7753 (home-page "https://github.com/vincenthz/hs-memory")
7754 (synopsis "Memory abstractions for Haskell")
7755 (description
7756 "This package provides memory abstractions, such as chunk of memory,
7757polymorphic byte array management and manipulation functions. It contains a
7758polymorphic byte array abstraction and functions similar to strict ByteString,
7759different type of byte array abstraction, raw memory IO operations (memory
7760set, memory copy, ..) and more")
7761 (license license:bsd-3)))
7762
7763(define-public ghc-memotrie
7764 (package
7765 (name "ghc-memotrie")
7766 (version "0.6.9")
7767 (source
7768 (origin
7769 (method url-fetch)
7770 (uri (string-append
7771 "https://hackage.haskell.org/package/MemoTrie/MemoTrie-"
7772 version
7773 ".tar.gz"))
7774 (sha256
7775 (base32
7776 "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x"))))
7777 (build-system haskell-build-system)
7778 (inputs
7779 `(("ghc-newtype-generics" ,ghc-newtype-generics)))
7780 (home-page "https://github.com/conal/MemoTrie")
7781 (synopsis "Trie-based memo functions")
7782 (description "This package provides a functional library for creating
7783efficient memo functions using tries.")
7784 (license license:bsd-3)))
7785
7786(define-public ghc-microlens
7787 (package
7788 (name "ghc-microlens")
82478c58 7789 (version "0.4.10")
dddbc90c
RV
7790 (source
7791 (origin
7792 (method url-fetch)
7793 (uri (string-append "https://hackage.haskell.org/package/"
7794 "microlens-" version "/"
7795 "microlens-" version ".tar.gz"))
7796 (sha256
7797 (base32
82478c58 7798 "1v277yyy4p9q57xr2lfp6qs24agglfczmcabrapxrzci3jfshmcw"))))
dddbc90c
RV
7799 (build-system haskell-build-system)
7800 (home-page
7801 "https://github.com/aelve/microlens")
7802 (synopsis "Provides a tiny lens Haskell library with no dependencies")
7803 (description "This Haskell package provides a lens library, just like
7804@code{ghc-lens}, but smaller. It provides essential lenses and
7805traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
7806nice to have (like @code{each}, @code{at}, and @code{ix}), and some
7807combinators (like @code{failing} and @code{singular}), but everything else is
7808stripped. As the result, this package has no dependencies.")
7809 (license license:bsd-3)))
7810
1cd3333e
TS
7811(define-public ghc-microlens-aeson
7812 (package
7813 (name "ghc-microlens-aeson")
7814 (version "2.3.0.4")
7815 (source
7816 (origin
7817 (method url-fetch)
7818 (uri (string-append "https://hackage.haskell.org/package/"
7819 "microlens-aeson/microlens-aeson-"
7820 version ".tar.gz"))
b4a00fec 7821 (patches (search-patches "ghc-microlens-aeson-fix-tests.patch"))
1cd3333e
TS
7822 (sha256
7823 (base32
7824 "0w630kk5bnily1qh41081gqgbwmslrh5ad21899gwnb2r3jripyw"))))
7825 (build-system haskell-build-system)
7826 (inputs
7827 `(("ghc-aeson" ,ghc-aeson)
7828 ("ghc-attoparsec" ,ghc-attoparsec)
7829 ("ghc-hashable" ,ghc-hashable)
7830 ("ghc-microlens" ,ghc-microlens)
7831 ("ghc-scientific" ,ghc-scientific)
7832 ("ghc-unordered-containers" ,ghc-unordered-containers)
7833 ("ghc-vector" ,ghc-vector)))
7834 (native-inputs
7835 `(("ghc-tasty" ,ghc-tasty)
7836 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
7837 (home-page "https://github.com/fosskers/microlens-aeson")
7838 (synopsis "Law-abiding lenses for Aeson, using microlens")
7839 (description "This library provides law-abiding lenses for Aeson, using
7840microlens.")
7841 (license license:expat)))
7842
dddbc90c
RV
7843(define-public ghc-microlens-ghc
7844 (package
7845 (name "ghc-microlens-ghc")
027beb55 7846 (version "0.4.10")
dddbc90c
RV
7847 (source
7848 (origin
7849 (method url-fetch)
7850 (uri (string-append
7851 "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-"
7852 version
7853 ".tar.gz"))
7854 (sha256
7855 (base32
027beb55 7856 "102dbrdsdadxbbhvx8avv1wbk84767a7lkb8ckp3zxk9g7qlly33"))))
dddbc90c
RV
7857 (build-system haskell-build-system)
7858 (inputs `(("ghc-microlens" ,ghc-microlens)))
7859 (home-page "https://github.com/monadfix/microlens")
7860 (synopsis "Use @code{microlens} with GHC libraries like @code{array}")
7861 (description "This library provides everything that @code{microlens}
7862provides plus instances to make @code{each}, @code{at}, and @code{ix}
7863usable with arrays, @code{ByteString}, and containers. This package is
7864a part of the @uref{http://hackage.haskell.org/package/microlens,
7865microlens} family; see the readme
7866@uref{https://github.com/aelve/microlens#readme, on Github}.")
7867 (license license:bsd-3)))
7868
7869(define-public ghc-microlens-mtl
7870 (package
7871 (name "ghc-microlens-mtl")
7872 (version "0.1.11.1")
7873 (source
7874 (origin
7875 (method url-fetch)
7876 (uri (string-append
7877 "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-"
7878 version
7879 ".tar.gz"))
7880 (sha256
7881 (base32
7882 "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk"))))
7883 (build-system haskell-build-system)
7884 (inputs
7885 `(("ghc-microlens" ,ghc-microlens)
7886 ("ghc-transformers-compat" ,ghc-transformers-compat)))
7887 (home-page "https://github.com/monadfix/microlens")
7888 (synopsis
7889 "@code{microlens} support for Reader/Writer/State from mtl")
7890 (description
7891 "This package contains functions (like @code{view} or @code{+=}) which
7892work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the
7893mtl package. This package is a part of the
7894@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7895readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7896 (license license:bsd-3)))
7897
7898(define-public ghc-microlens-platform
7899 (package
7900 (name "ghc-microlens-platform")
85decc1f 7901 (version "0.3.11")
dddbc90c
RV
7902 (source
7903 (origin
7904 (method url-fetch)
7905 (uri (string-append
7906 "https://hackage.haskell.org/package/"
7907 "microlens-platform/microlens-platform-" version ".tar.gz"))
7908 (sha256
7909 (base32
85decc1f 7910 "18950lxgmsg5ksvyyi3zs1smjmb1qf1q73a3p3g44bh21miz0xwb"))))
dddbc90c
RV
7911 (build-system haskell-build-system)
7912 (inputs
7913 `(("ghc-hashable" ,ghc-hashable)
7914 ("ghc-microlens" ,ghc-microlens)
7915 ("ghc-microlens-ghc" ,ghc-microlens-ghc)
7916 ("ghc-microlens-mtl" ,ghc-microlens-mtl)
7917 ("ghc-microlens-th" ,ghc-microlens-th)
7918 ("ghc-unordered-containers" ,ghc-unordered-containers)
7919 ("ghc-vector" ,ghc-vector)))
7920 (home-page "https://github.com/monadfix/microlens")
7921 (synopsis "Feature-complete microlens")
7922 (description
7923 "This package exports a module which is the recommended starting point
7924for using @uref{http://hackage.haskell.org/package/microlens, microlens} if
7925you aren't trying to keep your dependencies minimal. By importing
7926@code{Lens.Micro.Platform} you get all functions and instances from
7927@uref{http://hackage.haskell.org/package/microlens, microlens},
7928@uref{http://hackage.haskell.org/package/microlens-th, microlens-th},
7929@uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl},
7930@uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as
7931well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The
7932minor and major versions of @code{microlens-platform} are incremented whenever
7933the minor and major versions of any other @code{microlens} package are
7934incremented, so you can depend on the exact version of
7935@code{microlens-platform} without specifying the version of @code{microlens}
7936you need. This package is a part of the
7937@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
7938readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
7939 (license license:bsd-3)))
7940
7941(define-public ghc-microlens-th
7942 (package
7943 (name "ghc-microlens-th")
7ae52867 7944 (version "0.4.2.3")
dddbc90c
RV
7945 (source
7946 (origin
7947 (method url-fetch)
7948 (uri (string-append "https://hackage.haskell.org/package/"
7949 "microlens-th-" version "/"
7950 "microlens-th-" version ".tar.gz"))
7951 (sha256
7952 (base32
7ae52867 7953 "13qw0pwcgd6f6i39rwgqwcwk1d4da5x7wv3gna7gdlxaq331h41j"))))
dddbc90c 7954 (build-system haskell-build-system)
7ae52867
TS
7955 (arguments
7956 `(#:cabal-revision
7957 ("1" "167in7b1qhgrspx81bdm2jyg9qji66sk7id282c0s99kmp0d01n6")))
dddbc90c
RV
7958 (inputs `(("ghc-microlens" ,ghc-microlens)
7959 ("ghc-th-abstraction" ,ghc-th-abstraction)))
7960 (home-page
7961 "https://github.com/aelve/microlens")
7962 (synopsis "Automatic generation of record lenses for
7963@code{ghc-microlens}")
7964 (description "This Haskell package lets you automatically generate lenses
7965for data types; code was extracted from the lens package, and therefore
7966generated lenses are fully compatible with ones generated by lens (and can be
7967used both from lens and microlens).")
7968 (license license:bsd-3)))
7969
7970(define-public ghc-missingh
7971 (package
7972 (name "ghc-missingh")
641207cb 7973 (version "1.4.1.0")
dddbc90c
RV
7974 (source
7975 (origin
7976 (method url-fetch)
7977 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
7978 "MissingH-" version ".tar.gz"))
7979 (sha256
7980 (base32
641207cb 7981 "1jp0vk6w9a7fzrbxfhx773105jp2s1n50klq9ak6spfl7bgx5v29"))))
dddbc90c
RV
7982 (build-system haskell-build-system)
7983 ;; Tests require the unmaintained testpack package, which depends on the
7984 ;; outdated QuickCheck version 2.7, which can no longer be built with
7985 ;; recent versions of GHC and Haskell libraries.
7986 (arguments '(#:tests? #f))
7987 (inputs
7988 `(("ghc-network" ,ghc-network)
7989 ("ghc-hunit" ,ghc-hunit)
7990 ("ghc-regex-compat" ,ghc-regex-compat)
7991 ("ghc-hslogger" ,ghc-hslogger)
7992 ("ghc-random" ,ghc-random)
7993 ("ghc-old-time" ,ghc-old-time)
7994 ("ghc-old-locale" ,ghc-old-locale)))
7995 (native-inputs
7996 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
7997 ("ghc-quickcheck" ,ghc-quickcheck)
7998 ("ghc-hunit" ,ghc-hunit)))
f1841ccf
TGR
7999 ;; ‘Official’ <http://software.complete.org/missingh> redirects to a 404.
8000 (home-page "https://github.com/haskell-hvr/missingh")
dddbc90c
RV
8001 (synopsis "Large utility library")
8002 (description
8003 "MissingH is a library of all sorts of utility functions for Haskell
8004programmers. It is written in pure Haskell and thus should be extremely
8005portable and easy to use.")
8006 (license license:bsd-3)))
8007
8008(define-public ghc-mmap
8009 (package
8010 (name "ghc-mmap")
8011 (version "0.5.9")
8012 (source (origin
8013 (method url-fetch)
8014 (uri (string-append "https://hackage.haskell.org/package/"
8015 "mmap/mmap-" version ".tar.gz"))
8016 (sha256
8017 (base32
8018 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
8019 (build-system haskell-build-system)
8020 (home-page "https://hackage.haskell.org/package/mmap")
8021 (synopsis "Memory mapped files for Haskell")
8022 (description
8023 "This library provides a wrapper to @code{mmap}, allowing files or
8024devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
8025@code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
8026do on-demand loading.")
8027 (license license:bsd-3)))
8028
8029(define-public ghc-mmorph
8030 (package
8031 (name "ghc-mmorph")
e0389704 8032 (version "1.1.3")
dddbc90c
RV
8033 (source
8034 (origin
8035 (method url-fetch)
8036 (uri (string-append
8037 "https://hackage.haskell.org/package/mmorph/mmorph-"
8038 version
8039 ".tar.gz"))
8040 (sha256
8041 (base32
e0389704 8042 "0rfsy9n9mlinpmqi2s17fhc67fzma2ig5fbmh6m5m830canzf8vr"))))
dddbc90c
RV
8043 (build-system haskell-build-system)
8044 (inputs
8045 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
8046 (home-page "https://hackage.haskell.org/package/mmorph")
8047 (synopsis "Monad morphisms")
8048 (description
8049 "This library provides monad morphism utilities, most commonly used for
8050manipulating monad transformer stacks.")
8051 (license license:bsd-3)))
8052
8053(define-public ghc-mockery
8054 (package
8055 (name "ghc-mockery")
8056 (version "0.3.5")
8057 (source (origin
8058 (method url-fetch)
8059 (uri (string-append "https://hackage.haskell.org/package/"
8060 "mockery/mockery-" version ".tar.gz"))
8061 (sha256
8062 (base32
8063 "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp"))))
8064 (build-system haskell-build-system)
8065 (inputs
8066 `(("ghc-temporary" ,ghc-temporary)
8067 ("ghc-logging-facade" ,ghc-logging-facade)
8068 ("ghc-base-compat" ,ghc-base-compat)))
8069 (native-inputs
8070 `(("ghc-hspec" ,ghc-hspec)
8071 ("hspec-discover" ,hspec-discover)))
8072 (home-page "https://hackage.haskell.org/package/mockery")
8073 (synopsis "Support functions for automated testing")
8074 (description
8075 "The mockery package provides support functions for automated testing.")
8076 (license license:expat)))
8077
8078(define-public ghc-monad-control
8079 (package
8080 (name "ghc-monad-control")
8081 (version "1.0.2.3")
8082 (source
8083 (origin
8084 (method url-fetch)
8085 (uri (string-append
8086 "https://hackage.haskell.org/package/monad-control"
8087 "/monad-control-" version ".tar.gz"))
8088 (sha256
8089 (base32
8090 "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c"))))
8091 (build-system haskell-build-system)
8092 (inputs
8093 `(("ghc-transformers-base" ,ghc-transformers-base)
8094 ("ghc-transformers-compat" ,ghc-transformers-compat)))
8095 (home-page "https://github.com/basvandijk/monad-control")
8096 (synopsis "Monad transformers to lift control operations like exception
8097catching")
8098 (description "This package defines the type class @code{MonadBaseControl},
8099a subset of @code{MonadBase} into which generic control operations such as
8100@code{catch} can be lifted from @code{IO} or any other base monad.")
8101 (license license:bsd-3)))
8102
8103(define-public ghc-monad-logger
8104 (package
8105 (name "ghc-monad-logger")
26980aae 8106 (version "0.3.30")
dddbc90c
RV
8107 (source
8108 (origin
8109 (method url-fetch)
8110 (uri (string-append "https://hackage.haskell.org/package/"
8111 "monad-logger-" version "/"
8112 "monad-logger-" version ".tar.gz"))
8113 (sha256
8114 (base32
26980aae 8115 "102l0v75hbvkmrypiyg4ybb6rbc7nij5nxs1aihmqfdpg04rkkp7"))))
dddbc90c
RV
8116 (build-system haskell-build-system)
8117 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
8118 ("ghc-stm-chans" ,ghc-stm-chans)
8119 ("ghc-lifted-base" ,ghc-lifted-base)
8120 ("ghc-resourcet" ,ghc-resourcet)
8121 ("ghc-conduit" ,ghc-conduit)
8122 ("ghc-conduit-extra" ,ghc-conduit-extra)
8123 ("ghc-fast-logger" ,ghc-fast-logger)
8124 ("ghc-transformers-base" ,ghc-transformers-base)
8125 ("ghc-monad-control" ,ghc-monad-control)
8126 ("ghc-monad-loops" ,ghc-monad-loops)
8127 ("ghc-blaze-builder" ,ghc-blaze-builder)
8128 ("ghc-exceptions" ,ghc-exceptions)))
8129 (home-page "https://github.com/kazu-yamamoto/logger")
8130 (synopsis "Provides a class of monads which can log messages for Haskell")
8131 (description "This Haskell package uses a monad transformer approach
8132for logging.
8133
8134This package provides Template Haskell functions for determining source
8135code locations of messages.")
8136 (license license:expat)))
8137
8138(define-public ghc-monad-loops
8139 (package
8140 (name "ghc-monad-loops")
8141 (version "0.4.3")
8142 (source
8143 (origin
8144 (method url-fetch)
8145 (uri (string-append "https://hackage.haskell.org/package/"
8146 "monad-loops-" version "/"
8147 "monad-loops-" version ".tar.gz"))
8148 (sha256
8149 (base32
8150 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
8151 (build-system haskell-build-system)
8152 (native-inputs `(("ghc-tasty" ,ghc-tasty)
8153 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
8154 (home-page "https://github.com/mokus0/monad-loops")
8155 (synopsis "Monadic loops for Haskell")
8156 (description "This Haskell package provides some useful control
8157operators for looping.")
8158 (license license:public-domain)))
8159
8160(define-public ghc-monad-par
8161 (package
8162 (name "ghc-monad-par")
8163 (version "0.3.4.8")
8164 (source
8165 (origin
8166 (method url-fetch)
8167 (uri (string-append "https://hackage.haskell.org/package/"
8168 "monad-par-" version "/"
8169 "monad-par-" version ".tar.gz"))
faac56f3 8170 (patches (search-patches "ghc-monad-par-fix-tests.patch"))
dddbc90c
RV
8171 (sha256
8172 (base32
8173 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
8174 (build-system haskell-build-system)
8175 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8176 ("ghc-abstract-deque" ,ghc-abstract-deque)
8177 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
8178 ("ghc-mwc-random" ,ghc-mwc-random)
8179 ("ghc-parallel" ,ghc-parallel)))
8180 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
8181 ("ghc-hunit" ,ghc-hunit)
8182 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8183 ("ghc-test-framework-quickcheck2"
8184 ,ghc-test-framework-quickcheck2)
8185 ("ghc-test-framework" ,ghc-test-framework)
8186 ("ghc-test-framework-th" ,ghc-test-framework-th)))
8187 (home-page "https://github.com/simonmar/monad-par")
8188 (synopsis "Haskell library for parallel programming based on a monad")
8189 (description "The @code{Par} monad offers an API for parallel
8190programming. The library works for parallelising both pure and @code{IO}
8191computations, although only the pure version is deterministic. The default
8192implementation provides a work-stealing scheduler and supports forking tasks
8193that are much lighter weight than IO-threads.")
8194 (license license:bsd-3)))
8195
8196(define-public ghc-monad-par-extras
8197 (package
8198 (name "ghc-monad-par-extras")
8199 (version "0.3.3")
8200 (source
8201 (origin
8202 (method url-fetch)
8203 (uri (string-append "https://hackage.haskell.org/package/"
8204 "monad-par-extras-" version "/"
8205 "monad-par-extras-" version ".tar.gz"))
8206 (sha256
8207 (base32
8208 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
8209 (build-system haskell-build-system)
8210 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
8211 ("ghc-cereal" ,ghc-cereal)
8212 ("ghc-random" ,ghc-random)))
8213 (home-page "https://github.com/simonmar/monad-par")
8214 (synopsis "Combinators and extra features for Par monads for Haskell")
8215 (description "This Haskell package provides additional data structures,
8216and other added capabilities layered on top of the @code{Par} monad.")
8217 (license license:bsd-3)))
8218
dddbc90c
RV
8219(define-public ghc-monadrandom
8220 (package
8221 (name "ghc-monadrandom")
8222 (version "0.5.1.1")
8223 (source
8224 (origin
8225 (method url-fetch)
8226 (uri (string-append "https://hackage.haskell.org/package/"
8227 "MonadRandom-" version "/"
8228 "MonadRandom-" version ".tar.gz"))
8229 (sha256
8230 (base32
8231 "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb"))))
8232 (build-system haskell-build-system)
8233 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
8234 ("ghc-primitive" ,ghc-primitive)
8235 ("ghc-fail" ,ghc-fail)
8236 ("ghc-random" ,ghc-random)))
8237 (home-page "https://github.com/byorgey/MonadRandom")
8238 (synopsis "Random-number generation monad for Haskell")
8239 (description "This Haskell package provides support for computations
8240which consume random values.")
8241 (license license:bsd-3)))
8242
8243(define-public ghc-monads-tf
8244 (package
8245 (name "ghc-monads-tf")
8246 (version "0.1.0.3")
8247 (source
8248 (origin
8249 (method url-fetch)
8250 (uri (string-append
8251 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
8252 version ".tar.gz"))
8253 (sha256
8254 (base32
8255 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
8256 (build-system haskell-build-system)
8257 (home-page "https://hackage.haskell.org/package/monads-tf")
8258 (synopsis "Monad classes, using type families")
8259 (description
8260 "Monad classes using type families, with instances for various monad transformers,
8261inspired by the paper 'Functional Programming with Overloading and Higher-Order
8262Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
8263the @code{mtl-tf} package.")
8264 (license license:bsd-3)))
8265
8266(define-public ghc-mono-traversable
8267 (package
8268 (name "ghc-mono-traversable")
23bb445b 8269 (version "1.0.13.0")
dddbc90c
RV
8270 (source
8271 (origin
8272 (method url-fetch)
8273 (uri (string-append "https://hackage.haskell.org/package/"
8274 "mono-traversable-" version "/"
8275 "mono-traversable-" version ".tar.gz"))
8276 (sha256
8277 (base32
23bb445b 8278 "1bqy982lpdb83lacfy76n8kqw5bvd31avxj25kg8gkgycdh0g0ma"))))
dddbc90c 8279 (build-system haskell-build-system)
3e6ecfeb 8280 (outputs '("out" "static" "doc"))
dddbc90c
RV
8281 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
8282 ("ghc-hashable" ,ghc-hashable)
8283 ("ghc-vector" ,ghc-vector)
8284 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
8285 ("ghc-split" ,ghc-split)))
8286 (native-inputs `(("ghc-hspec" ,ghc-hspec)
8287 ("ghc-hunit" ,ghc-hunit)
8288 ("ghc-quickcheck" ,ghc-quickcheck)
8289 ("ghc-semigroups" ,ghc-semigroups)
8290 ("ghc-foldl" ,ghc-foldl)))
8291 (home-page "https://github.com/snoyberg/mono-traversable")
8292 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
8293containers")
8294 (description "This Haskell package provides Monomorphic variants of the
8295Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
8296basic typeclasses, you understand mono-traversable. In addition to what
8297you are used to, it adds on an IsSequence typeclass and has code for marking
8298data structures as non-empty.")
8299 (license license:expat)))
8300
471e77cf
TS
8301(define-public ghc-monoid-extras
8302 (package
8303 (name "ghc-monoid-extras")
8304 (version "0.5.1")
8305 (source
8306 (origin
8307 (method url-fetch)
8308 (uri (string-append "https://hackage.haskell.org/package/"
8309 "monoid-extras/monoid-extras-" version ".tar.gz"))
8310 (sha256
8311 (base32
8312 "0xfrkgqn9d31z54l617m3w3kkd5m9vjb4yl247r3zzql3mpb1f37"))))
8313 (build-system haskell-build-system)
8314 (inputs
8315 `(("ghc-groups" ,ghc-groups)
8316 ("ghc-semigroups" ,ghc-semigroups)
8317 ("ghc-semigroupoids" ,ghc-semigroupoids)))
8318 (arguments
8319 `(#:cabal-revision
8320 ("1" "0b8x5d6vh7mpigvjvcd8f38a1nyzn1vfdqypslw7z9fgsr742913")))
8321 (home-page "https://hackage.haskell.org/package/monoid-extras")
8322 (synopsis "Various extra monoid-related definitions and utilities")
8323 (description "This package provides various extra monoid-related
8324definitions and utilities, such as monoid actions, monoid coproducts,
8325semi-direct products, \"deletable\" monoids, \"split\" monoids, and
8326\"cut\" monoids.")
8327 (license license:bsd-3)))
8328
c00d001d
CLW
8329(define-public ghc-mountpoints
8330 (package
8331 (name "ghc-mountpoints")
8332 (version "1.0.2")
8333 (source
8334 (origin
8335 (method url-fetch)
8336 (uri (string-append
8337 "https://hackage.haskell.org/package/mountpoints/mountpoints-"
8338 version
8339 ".tar.gz"))
8340 (sha256
8341 (base32
8342 "1hnm31pqcffphyc463wf0vbik9fzm5lb2r4wjdc1y4dqzmjdzz37"))))
8343 (build-system haskell-build-system)
8344 (home-page
8345 "http://hackage.haskell.org/package/mountpoints")
8346 (synopsis "Haskell library for listing mount points")
8347 (description "This library provides Haskell bindings for checking
8348currently mounted filesystems.")
8349 (license license:lgpl2.1+)))
8350
4759b617
JS
8351(define-public ghc-mtl-compat
8352 (package
8353 (name "ghc-mtl-compat")
8354 (version "0.2.2")
8355 (source
8356 (origin
8357 (method url-fetch)
8358 (uri (string-append
8359 "mirror://hackage/package/mtl-compat/mtl-compat-"
8360 version
8361 ".tar.gz"))
8362 (sha256
8363 (base32
8364 "17iszr5yb4f17g8mq6i74hsamii8z6m2qfsmgzs78mhiwa7kjm8r"))))
8365 (build-system haskell-build-system)
8366 (home-page
8367 "https://github.com/haskell-compat/mtl-compat")
8368 (synopsis
8369 "Backported Control.Monad.Except module from mtl")
8370 (description
8371 "This package backports the Control.Monad.Except module from mtl (if
8372using mtl-2.2.0.1 or earlier), which reexports the ExceptT monad transformer
8373and the MonadError class.
8374
8375This package should only be used if there is a need to use the
8376Control.Monad.Except module specifically. If you just want the mtl class
8377instances for ExceptT, use transformers-compat instead, since mtl-compat does
8378nothing but reexport the instances from that package.
8379
8380Note that unlike how mtl-2.2 or later works, the Control.Monad.Except
8381module defined in this package exports all of ExceptT's monad class instances.
8382Therefore, you may have to declare @code{import Control.Monad.Except ()} at
8383the top of your file to get all of the ExceptT instances in scope.")
8384 (license license:bsd-3)))
8385
dddbc90c
RV
8386(define-public ghc-murmur-hash
8387 (package
8388 (name "ghc-murmur-hash")
8389 (version "0.1.0.9")
8390 (source
8391 (origin
8392 (method url-fetch)
8393 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
8394 "/murmur-hash-" version ".tar.gz"))
8395 (sha256
8396 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
8397 (build-system haskell-build-system)
8398 (home-page "https://github.com/nominolo/murmur-hash")
8399 (synopsis "MurmurHash2 implementation for Haskell")
8400 (description
8401 "This package provides an implementation of MurmurHash2, a good, fast,
8402general-purpose, non-cryptographic hashing function. See
8403@url{https://sites.google.com/site/murmurhash/} for details. This
8404implementation is pure Haskell, so it might be a bit slower than a C FFI
8405binding.")
8406 (license license:bsd-3)))
8407
8408(define-public ghc-mwc-random
8409 (package
8410 (name "ghc-mwc-random")
33268e2c 8411 (version "0.14.0.0")
dddbc90c
RV
8412 (source
8413 (origin
8414 (method url-fetch)
8415 (uri (string-append "https://hackage.haskell.org/package/"
8416 "mwc-random-" version "/"
8417 "mwc-random-" version ".tar.gz"))
8418 (sha256
8419 (base32
33268e2c 8420 "18pg24sw3b79b32cwx8q01q4k0lm34mwr3l6cdkchl8alvd0wdq0"))))
dddbc90c
RV
8421 (build-system haskell-build-system)
8422 (inputs
8423 `(("ghc-primitive" ,ghc-primitive)
8424 ("ghc-vector" ,ghc-vector)
8425 ("ghc-math-functions" ,ghc-math-functions)))
8426 (arguments
8427 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
8428 (native-inputs
8429 `(("ghc-hunit" ,ghc-hunit)
8430 ("ghc-quickcheck" ,ghc-quickcheck)
8431 ("ghc-test-framework" ,ghc-test-framework)
8432 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8433 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
8434 (home-page "https://github.com/bos/mwc-random")
8435 (synopsis "Random number generation library for Haskell")
8436 (description "This Haskell package contains code for generating
8437high quality random numbers that follow either a uniform or normal
8438distribution. The generated numbers are suitable for use in
8439statistical applications.
8440
8441The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
8442multiply-with-carry generator, which has a period of 2^{8222} and
8443fares well in tests of randomness. It is also extremely fast,
8444between 2 and 3 times faster than the Mersenne Twister.")
8445 (license license:bsd-3)))
8446
8447(define-public ghc-nats
8448 (package
8449 (name "ghc-nats")
8450 (version "1.1.2")
8451 (source
8452 (origin
8453 (method url-fetch)
8454 (uri (string-append
8455 "https://hackage.haskell.org/package/nats/nats-"
8456 version
8457 ".tar.gz"))
8458 (sha256
8459 (base32
8460 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
8461 (build-system haskell-build-system)
8462 (arguments `(#:haddock? #f))
8463 (inputs
8464 `(("ghc-hashable" ,ghc-hashable)))
8465 (home-page "https://hackage.haskell.org/package/nats")
8466 (synopsis "Natural numbers")
8467 (description "This library provides the natural numbers for Haskell.")
8468 (license license:bsd-3)))
8469
8470(define-public ghc-nats-bootstrap
8471 (package
8472 (inherit ghc-nats)
8473 (name "ghc-nats-bootstrap")
8474 (inputs
8475 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
8476 (properties '((hidden? #t)))))
8477
52915062
EF
8478(define-public ghc-ncurses
8479 (package
8480 (name "ghc-ncurses")
8481 (version "0.2.16")
8482 (source
8483 (origin
8484 (method url-fetch)
8485 (uri (string-append
8486 "https://hackage.haskell.org/package/ncurses/ncurses-"
8487 version ".tar.gz"))
8488 (sha256
8489 (base32
8490 "0gsyyaqyh5r9zc0rhwpj5spyd6i4w2vj61h4nihgmmh0yyqvf3z5"))))
8491 (build-system haskell-build-system)
8492 (arguments
54a5fd07
TS
8493 '(#:extra-directories ("ncurses")
8494 #:phases
52915062
EF
8495 (modify-phases %standard-phases
8496 (add-before 'build 'fix-includes
8497 (lambda _
8498 (substitute* '("cbits/hsncurses-shim.h"
8499 "lib/UI/NCurses.chs"
8500 "lib/UI/NCurses/Enums.chs"
8501 "lib/UI/NCurses/Panel.chs")
8502 (("<ncursesw/") "<"))
8503 #t)))
8504 #:cabal-revision
8505 ("1"
8506 "1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca")))
8507 (inputs `(("ncurses" ,ncurses)))
8508 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
8509 (home-page "https://john-millikin.com/software/haskell-ncurses/")
8510 (synopsis "Modernised bindings to GNU ncurses")
8511 (description "GNU ncurses is a library for creating command-line application
8512with pseudo-graphical interfaces. This package is a nice, modern binding to GNU
8513ncurses.")
8514 (license license:gpl3)))
8515
dddbc90c
RV
8516(define-public ghc-network
8517 (package
8518 (name "ghc-network")
d4473202 8519 (version "2.8.0.1")
534d6caa 8520 (outputs '("out" "static" "doc"))
dddbc90c
RV
8521 (source
8522 (origin
8523 (method url-fetch)
8524 (uri (string-append
8525 "https://hackage.haskell.org/package/network/network-"
8526 version
8527 ".tar.gz"))
8528 (sha256
8529 (base32
d4473202 8530 "0im8k51rw3ahmr23ny10pshwbz09jfg0fdpam0hzf2hgxnzmvxb1"))))
dddbc90c
RV
8531 (build-system haskell-build-system)
8532 ;; The regression tests depend on an unpublished module.
8533 (arguments `(#:tests? #f))
8534 (native-inputs
8535 `(("ghc-hunit" ,ghc-hunit)
8536 ("ghc-doctest" ,ghc-doctest)
8537 ("ghc-test-framework" ,ghc-test-framework)
8538 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
8539 (home-page "https://github.com/haskell/network")
8540 (synopsis "Low-level networking interface")
8541 (description
8542 "This package provides a low-level networking interface.")
8543 (license license:bsd-3)))
4780db2c 8544
30eebbe6
TS
8545(define-public ghc-network-bsd
8546 (package
8547 (name "ghc-network-bsd")
8548 (version "2.8.0.0")
8549 (source
8550 (origin
8551 (method url-fetch)
8552 (uri (string-append "https://hackage.haskell.org/package/"
8553 "network-bsd/network-bsd-" version ".tar.gz"))
8554 (sha256
8555 (base32
8556 "0dfbwgrr28y6ypw7p1ppqg7v746qf14569q4xazj4ahdjw2xkpi5"))))
8557 (build-system haskell-build-system)
8558 (inputs
8559 `(("ghc-network" ,ghc-network)))
8560 (home-page "https://github.com/haskell/network-bsd")
8561 (synopsis "POSIX network database (<netdb.h>) API")
8562 (description "This package provides Haskell bindings to the the POSIX
8563network database (<netdb.h>) API.")
8564 (license license:bsd-3)))
8565
096781a1
TS
8566(define-public ghc-network-byte-order
8567 (package
8568 (name "ghc-network-byte-order")
8569 (version "0.1.1.1")
8570 (source
8571 (origin
8572 (method url-fetch)
8573 (uri (string-append "https://hackage.haskell.org/package/"
8574 "network-byte-order/network-byte-order-"
8575 version ".tar.gz"))
8576 (sha256
8577 (base32
8578 "19cs6157amcc925vwr92q1azwwzkbam5g0k70i6qi80fhpikh37c"))))
8579 (build-system haskell-build-system)
8580 (native-inputs
8581 `(("ghc-doctest" ,ghc-doctest)))
3ef91e15 8582 (home-page "https://hackage.haskell.org/package/network-byte-order")
096781a1
TS
8583 (synopsis "Network byte order utilities")
8584 (description "This library provides peek and poke functions for network
8585byte order.")
8586 (license license:bsd-3)))
8587
dddbc90c
RV
8588(define-public ghc-network-info
8589 (package
8590 (name "ghc-network-info")
8591 (version "0.2.0.10")
8592 (source
8593 (origin
8594 (method url-fetch)
8595 (uri (string-append "https://hackage.haskell.org/package/"
8596 "network-info-" version "/"
8597 "network-info-" version ".tar.gz"))
8598 (sha256
8599 (base32
8600 "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n"))))
8601 (build-system haskell-build-system)
8602 (home-page "https://github.com/jystic/network-info")
8603 (synopsis "Access the local computer's basic network configuration")
8604 (description "This Haskell library provides simple read-only access to the
8605local computer's networking configuration. It is currently capable of
8606getting a list of all the network interfaces and their respective
8607IPv4, IPv6 and MAC addresses.")
8608 (license license:bsd-3)))
8609
161e1019
CLW
8610(define-public ghc-network-multicast
8611 (package
8612 (name "ghc-network-multicast")
8613 (version "0.3.2")
8614 (source
8615 (origin
8616 (method url-fetch)
8617 (uri (string-append
8618 "https://hackage.haskell.org/package/network-multicast/network-multicast-"
8619 version
8620 ".tar.gz"))
8621 (sha256
8622 (base32
8623 "0whvi0pbwjy6dbwfdf9rv1j3yr3lcmfp3q7a8pwq63g537l4l2l3"))))
8624 (build-system haskell-build-system)
8625 (inputs
8626 `(("ghc-network" ,ghc-network)
8627 ("ghc-network-bsd" ,ghc-network-bsd)))
8628 (home-page
8629 "http://hackage.haskell.org/package/network-multicast")
8630 (synopsis "Simple multicast library for Haskell")
8631 (description
8632 "This package provides the Network.Multicast Haskell module for
8633sending UDP datagrams over multicast (class D) addresses.")
8634 ;; Note that this is technically under CC0 1.0 and Expat, though it's not
8635 ;; totally clear what the breakdown is. Since CC0 1.0 is effectively
8636 ;; "public domain with a minimal fallback license", figuring marking it
8637 ;; as effectively Expat is probably correct.
8638 (license license:expat)))
8639
dddbc90c
RV
8640(define-public ghc-network-uri
8641 (package
8642 (name "ghc-network-uri")
8643 (version "2.6.1.0")
534d6caa 8644 (outputs '("out" "static" "doc"))
dddbc90c
RV
8645 (source
8646 (origin
8647 (method url-fetch)
8648 (uri (string-append
8649 "https://hackage.haskell.org/package/network-uri/network-uri-"
8650 version
8651 ".tar.gz"))
8652 (sha256
8653 (base32
8654 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
8655 (build-system haskell-build-system)
8656 (arguments
8657 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
8658 (inputs
8659 `(("ghc-network" ,ghc-network)))
8660 (native-inputs
8661 `(("ghc-hunit" ,ghc-hunit)))
8662 (home-page
8663 "https://github.com/haskell/network-uri")
8664 (synopsis "Library for URI manipulation")
8665 (description "This package provides an URI manipulation interface. In
8666@code{network-2.6} the @code{Network.URI} module was split off from the
8667@code{network} package into this package.")
8668 (license license:bsd-3)))
8669
8670(define-public ghc-newtype-generics
8671 (package
8672 (name "ghc-newtype-generics")
c07e16dd 8673 (version "0.5.4")
dddbc90c
RV
8674 (source
8675 (origin
8676 (method url-fetch)
8677 (uri (string-append "https://hackage.haskell.org/package/"
8678 "newtype-generics/newtype-generics-"
8679 version ".tar.gz"))
8680 (sha256
8681 (base32
c07e16dd 8682 "0cprfg4n0z62cnix1qrbc79bfdd4s50b05fj9m9hk6vm1pc3szq0"))))
dddbc90c
RV
8683 (build-system haskell-build-system)
8684 (native-inputs
8685 `(("ghc-hspec" ,ghc-hspec)
8686 ("hspec-discover" ,hspec-discover)))
702a1012 8687 (home-page "https://github.com/sjakobi/newtype-generics")
dddbc90c
RV
8688 (synopsis "Typeclass and set of functions for working with newtypes")
8689 (description "The @code{Newtype} typeclass represents the packing and
8690unpacking of a newtype, and allows you to operate under that newtype with
8691functions such as @code{ala}. Generics support was added in version 0.4,
8692making this package a full replacement for the original newtype package,
8693and an alternative to newtype-th.")
8694 (license license:bsd-3)))
8695
6b652f5a
JS
8696(define-public ghc-non-negative
8697 (package
8698 (name "ghc-non-negative")
8699 (version "0.1.2")
8700 (source
8701 (origin
8702 (method url-fetch)
8703 (uri
8704 (string-append
8705 "https://hackage.haskell.org/package/non-negative/non-negative-"
8706 version ".tar.gz"))
8707 (sha256
8708 (base32
8709 "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n"))))
8710 (build-system haskell-build-system)
8711 (inputs
8712 `(("ghc-semigroups" ,ghc-semigroups)
8713 ("ghc-utility-ht" ,ghc-utility-ht)
8714 ("ghc-quickcheck" ,ghc-quickcheck)))
8715 (home-page "https://hackage.haskell.org/package/non-negative")
8716 (synopsis "Non-negative numbers class")
8717 (description "This library provides a class for non-negative numbers,
8718a wrapper which can turn any ordered numeric type into a member of that
8719class, and a lazy number type for non-negative numbers (a generalization
8720of Peano numbers).")
8721 (license license:gpl3+)))
8722
49bcca84
ASM
8723(define-public ghc-nonce
8724 (package
8725 (name "ghc-nonce")
8726 (version "1.0.7")
8727 (source
8728 (origin
8729 (method url-fetch)
8730 (uri (string-append
8731 "https://hackage.haskell.org/package/nonce/"
8732 "nonce-" version ".tar.gz"))
8733 (sha256
8734 (base32
8735 "1q9ph0aq51mvdvydnriqd12sfin36pfb8f588zgac1ybn8r64ksb"))))
8736 (build-system haskell-build-system)
8737 (inputs
8738 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
8739 ("ghc-entropy" ,ghc-entropy)
8740 ("ghc-unliftio" ,ghc-unliftio)
8741 ("ghc-unliftio-core" ,ghc-unliftio-core)))
8742 (home-page "https://github.com/prowdsponsor/nonce")
8743 (synopsis "Generate cryptographic nonces in Haskell")
8744 (description
8745 "A nonce is an arbitrary number used only once in a cryptographic
8746communication. This package contain helper functions for generating nonces.
8747There are many kinds of nonces used in different situations. It's not
8748guaranteed that by using the nonces from this package you won't have any
8749security issues. Please make sure that the nonces generated via this
8750package are usable on your design.")
8751 (license license:bsd-3)))
8752
194a82e6
TS
8753(define-public ghc-numeric-extras
8754 (package
8755 (name "ghc-numeric-extras")
8756 (version "0.1")
8757 (source
8758 (origin
8759 (method url-fetch)
8760 (uri (string-append "https://hackage.haskell.org/package/"
8761 "numeric-extras/numeric-extras-"
8762 version ".tar.gz"))
8763 (sha256
8764 (base32
8765 "1mk11c0gz1yjy5b8dvq6czfny57pln0bs7x28fz38qyr44872067"))))
8766 (build-system haskell-build-system)
8767 (home-page "https://github.com/ekmett/numeric-extras")
8768 (synopsis "Useful tools from the C standard library")
8769 (description "This library provides some useful tools from the C
8770standard library.")
8771 (license license:bsd-3)))
8772
dddbc90c
RV
8773(define-public ghc-objectname
8774 (package
8775 (name "ghc-objectname")
8776 (version "1.1.0.1")
8777 (source
8778 (origin
8779 (method url-fetch)
8780 (uri (string-append
8781 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
8782 version
8783 ".tar.gz"))
8784 (sha256
8785 (base32
8786 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
8787 (build-system haskell-build-system)
8788 (home-page "https://hackage.haskell.org/package/ObjectName")
8789 (synopsis "Helper library for Haskell OpenGL")
8790 (description "This tiny package contains the class ObjectName, which
8791corresponds to the general notion of explicitly handled identifiers for API
8792objects, e.g. a texture object name in OpenGL or a buffer object name in
8793OpenAL.")
8794 (license license:bsd-3)))
8795
8796(define-public ghc-old-locale
8797 (package
8798 (name "ghc-old-locale")
8799 (version "1.0.0.7")
8800 (source
8801 (origin
8802 (method url-fetch)
8803 (uri (string-append
8804 "https://hackage.haskell.org/package/old-locale/old-locale-"
8805 version
8806 ".tar.gz"))
8807 (sha256
8808 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
8809 (build-system haskell-build-system)
8810 (arguments
8811 `(#:cabal-revision
8812 ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs")))
8813 (home-page "https://hackage.haskell.org/package/old-locale")
8814 (synopsis "Adapt to locale conventions")
8815 (description
8816 "This package provides the ability to adapt to locale conventions such as
8817date and time formats.")
8818 (license license:bsd-3)))
8819
8820(define-public ghc-old-time
8821 (package
8822 (name "ghc-old-time")
8823 (version "1.1.0.3")
8824 (source
8825 (origin
8826 (method url-fetch)
8827 (uri (string-append
8828 "https://hackage.haskell.org/package/old-time/old-time-"
8829 version
8830 ".tar.gz"))
8831 (sha256
8832 (base32
8833 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
8834 (build-system haskell-build-system)
8835 (arguments
8836 `(#:cabal-revision
8837 ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9")))
8838 (inputs
8839 `(("ghc-old-locale" ,ghc-old-locale)))
8840 (home-page "https://hackage.haskell.org/package/old-time")
8841 (synopsis "Time compatibility library for Haskell")
8842 (description "Old-time is a package for backwards compatibility with the
8843old @code{time} library. For new projects, the newer
8844@uref{https://hackage.haskell.org/package/time, time library} is recommended.")
8845 (license license:bsd-3)))
8846
21c21133
CH
8847(define-public ghc-only
8848 (package
8849 (name "ghc-only")
8850 (version "0.1")
8851 (source
8852 (origin
8853 (method url-fetch)
8854 (uri (string-append
8855 "https://hackage.haskell.org/package/Only/Only-"
8856 version
8857 ".tar.gz"))
8858 (sha256
8859 (base32
8860 "0rdj3a629fk2vp121jq8mf2smkblrz5w3cxhlsyx6my2x29s2ymb"))))
8861 (build-system haskell-build-system)
8862 (arguments
8863 `(#:cabal-revision
8864 ("1"
8865 "1ahk7p34kmh041mz7lyc10nhcxgv2i4z8nvzxvqm2x34gslmsbzr")))
8866 (home-page "https://hackage.haskell.org/package/Only")
8867 (synopsis "The 1-tuple type or single-value collection")
8868 (description
8869 "This package provides a canonical anonymous 1-tuple type missing from
8870Haskell for attaching typeclass instances.
8871
8872There is also the @url{https://hackage.haskell.org/package/OneTuple, OneTuple
8873package} which by using a boxed @code{data}-type provides a 1-tuple type which
8874has laziness properties which are more faithful to the ones of Haskell's
8875native tuples; whereas the primary purpose of @code{Only} is to provide the
8876traditionally so named type-wrapper for attaching typeclass instances.")
8877 (license license:bsd-3)))
8878
dddbc90c
RV
8879(define-public ghc-opengl
8880 (package
8881 (name "ghc-opengl")
79a06910 8882 (version "3.0.3.0")
dddbc90c
RV
8883 (source
8884 (origin
8885 (method url-fetch)
8886 (uri (string-append
8887 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
8888 version
8889 ".tar.gz"))
8890 (sha256
8891 (base32
79a06910 8892 "069fg8jcxqq2z9iikynd8vi3jxm2b5y3qywdh4bdviyzab3zy1as"))))
dddbc90c 8893 (build-system haskell-build-system)
79a06910
TS
8894 (arguments
8895 `(#:cabal-revision
8896 ("1" "1748mrb6r9mpf5jbrx436lwbg8w6dadyy8dhxw2dwnrj5z7zf741")))
dddbc90c
RV
8897 (inputs
8898 `(("ghc-objectname" ,ghc-objectname)
8899 ("ghc-gluraw" ,ghc-gluraw)
8900 ("ghc-statevar" ,ghc-statevar)
8901 ("ghc-openglraw" ,ghc-openglraw)))
228d2901 8902 (home-page "https://wiki.haskell.org/Opengl")
dddbc90c
RV
8903 (synopsis "Haskell bindings for the OpenGL graphics system")
8904 (description "This package provides Haskell bindings for the OpenGL
8905graphics system (GL, version 4.5) and its accompanying utility library (GLU,
8906version 1.3).")
8907 (license license:bsd-3)))
8908
8909(define-public ghc-openglraw
8910 (package
8911 (name "ghc-openglraw")
15ebc815 8912 (version "3.3.3.0")
dddbc90c
RV
8913 (source
8914 (origin
8915 (method url-fetch)
8916 (uri (string-append
8917 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
8918 version
8919 ".tar.gz"))
8920 (sha256
8921 (base32
15ebc815 8922 "0zgllb4bcash2i2cispa3j565aw3dpxs41ghmhpvyvi4a6xmyldx"))))
dddbc90c 8923 (build-system haskell-build-system)
54a5fd07
TS
8924 (arguments
8925 `(#:extra-directories ("glu")))
dddbc90c
RV
8926 (inputs
8927 `(("ghc-half" ,ghc-half)
8928 ("ghc-fixed" ,ghc-fixed)
8929 ("glu" ,glu)))
228d2901 8930 (home-page "https://wiki.haskell.org/Opengl")
dddbc90c
RV
8931 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
8932 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
8933graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
8934of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
8935offers access to all necessary functions, tokens and types plus a general
8936facility for loading extension entries. The module hierarchy closely mirrors
8937the naming structure of the OpenGL extensions, making it easy to find the
8938right module to import. All API entries are loaded dynamically, so no special
8939C header files are needed for building this package. If an API entry is not
8940found at runtime, a userError is thrown.")
8941 (license license:bsd-3)))
8942
8943(define-public ghc-operational
8944 (package
8945 (name "ghc-operational")
8946 (version "0.2.3.5")
8947 (source
8948 (origin
8949 (method url-fetch)
8950 (uri (string-append "https://hackage.haskell.org/package/operational/"
8951 "operational-" version ".tar.gz"))
8952 (sha256
8953 (base32
8954 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
8955 (build-system haskell-build-system)
8956 (inputs
8957 `(("ghc-random" ,ghc-random)))
8958 (home-page "http://wiki.haskell.org/Operational")
8959 (synopsis "Implementation of difficult monads made easy with operational semantics")
8960 (description
8961 "This library makes it easy to implement monads with tricky control
8962flow. This is useful for: writing web applications in a sequential style,
8963programming games with a uniform interface for human and AI players and easy
8964replay capababilities, implementing fast parser monads, designing monadic
8965DSLs, etc.")
8966 (license license:bsd-3)))
8967
6f1477d2
JS
8968(define-public ghc-optional-args
8969 (package
8970 (name "ghc-optional-args")
8971 (version "1.0.2")
8972 (source
8973 (origin
8974 (method url-fetch)
8975 (uri (string-append
8976 "mirror://hackage/package/optional-args/optional-args-"
8977 version
8978 ".tar.gz"))
8979 (sha256
8980 (base32
8981 "1r5hhn6xvc01grggxdyy48daibwzi0aikgidq0ahpa6bfynm8d1f"))))
8982 (build-system haskell-build-system)
8983 (home-page
8984 "http://hackage.haskell.org/package/optional-args")
8985 (synopsis "Optional function arguments")
8986 (description
8987 "This library provides a type for specifying @code{Optional} function
8988arguments.")
8989 (license license:bsd-3)))
8990
dddbc90c
RV
8991(define-public ghc-options
8992 (package
8993 (name "ghc-options")
8994 (version "1.2.1.1")
8995 (source
8996 (origin
8997 (method url-fetch)
8998 (uri (string-append
8999 "https://hackage.haskell.org/package/options/options-"
9000 version ".tar.gz"))
9001 (sha256
9002 (base32
9003 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
9004 (build-system haskell-build-system)
24cf2a8b
TS
9005 (arguments
9006 `(#:phases
9007 (modify-phases %standard-phases
9008 (add-before 'configure 'update-constraints
9009 (lambda _
9010 (substitute* "options.cabal"
9011 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4 && < 0.6"))
9012 #t)))))
dddbc90c
RV
9013 (inputs
9014 `(("ghc-monads-tf" ,ghc-monads-tf)
9015 ("ghc-chell" ,ghc-chell)
9016 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
9017 (home-page "https://john-millikin.com/software/haskell-options/")
9018 (synopsis "Powerful and easy-to-use command-line option parser")
9019 (description
9020 "The @code{options} package lets library and application developers
9021easily work with command-line options.")
9022 (license license:expat)))
9023
9024;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
9025(define ghc-options-bootstrap
9026 (package
9027 (name "ghc-options-bootstrap")
9028 (version "1.2.1.1")
9029 (source
9030 (origin
9031 (method url-fetch)
9032 (uri (string-append
9033 "https://hackage.haskell.org/package/options/options-"
9034 version ".tar.gz"))
9035 (sha256
9036 (base32
9037 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
9038 (build-system haskell-build-system)
9039 (arguments
9040 `(#:tests? #f))
9041 (inputs
9042 `(("ghc-monads-tf" ,ghc-monads-tf)))
9043 (home-page "https://john-millikin.com/software/haskell-options/")
9044 (synopsis "Powerful and easy-to-use command-line option parser")
9045 (description
9046 "The @code{options} package lets library and application developers
9047easily work with command-line options.")
9048 (license license:expat)))
9049
9050
9051(define-public ghc-optparse-applicative
9052 (package
9053 (name "ghc-optparse-applicative")
74bf6965 9054 (version "0.14.3.0")
dddbc90c
RV
9055 (source
9056 (origin
9057 (method url-fetch)
9058 (uri (string-append
9059 "https://hackage.haskell.org/package/optparse-applicative"
9060 "/optparse-applicative-" version ".tar.gz"))
9061 (sha256
9062 (base32
74bf6965 9063 "0qvn1s7jwrabbpmqmh6d6iafln3v3h9ddmxj2y4m0njmzq166ivj"))))
dddbc90c 9064 (build-system haskell-build-system)
74bf6965
TS
9065 (arguments
9066 `(#:cabal-revision
9067 ("2" "1a08dqjly1xy730f6jf45frr8g8gap0n1vg9b0mpzpydv0kgzmrp")))
dddbc90c
RV
9068 (inputs
9069 `(("ghc-transformers-compat" ,ghc-transformers-compat)
9070 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
9071 (native-inputs
9072 `(("ghc-quickcheck" ,ghc-quickcheck)))
9073 (home-page "https://github.com/pcapriotti/optparse-applicative")
9074 (synopsis "Utilities and combinators for parsing command line options")
9075 (description "This package provides utilities and combinators for parsing
9076command line options in Haskell.")
9077 (license license:bsd-3)))
9078
d56c8120
NG
9079(define-public ghc-jira-wiki-markup
9080 (package
9081 (name "ghc-jira-wiki-markup")
9082 (version "1.0.0")
9083 (source
9084 (origin
9085 (method url-fetch)
9086 (uri (string-append
9087 "https://hackage.haskell.org/package/jira-wiki-markup/"
9088 "jira-wiki-markup-" version ".tar.gz"))
9089 (sha256
9090 (base32 "1sl2jjcsqg61si33mxjwpf8zdn56kbbgcwqqqzbgifx2qbv4wmf8"))))
9091 (build-system haskell-build-system)
9092 (native-inputs
9093 `(("ghc-tasty" ,ghc-tasty)
9094 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9095 (home-page "https://github.com/tarleb/jira-wiki-markup")
9096 (synopsis "Handle Jira wiki markup")
9097 (description
9098 "Parse jira wiki text into an abstract syntax tree for easy transformation
9099to other formats.")
9100 (license license:expat)))
9101
20690771
NG
9102(define-public ghc-emojis
9103 (package
9104 (name "ghc-emojis")
9105 (version "0.1")
9106 (source
9107 (origin
9108 (method url-fetch)
9109 (uri (string-append
9110 "https://hackage.haskell.org/package/emojis/"
9111 "emojis-" version ".tar.gz"))
9112 (sha256
9113 (base32 "1c6zkj9gmk1y90gbdrn50hyp7mw1mggzhnr2khqd728ryipw60ss"))))
9114 (build-system haskell-build-system)
9115 (native-inputs
9116 `(("ghc-hunit" ,ghc-hunit)))
9117 (home-page "https://github.com/jgm/emojis#readme")
9118 (synopsis "Conversion between emoji characters and their names.")
9119 (description
9120 "This package provides functions for converting emoji names to emoji
9121characters and vice versa.
9122
9123How does it differ from the @code{emoji} package?
9124@itemize
9125@item It supports a fuller range of emojis, including all those supported by
9126GitHub
9127@item It supports lookup of emoji aliases from emoji
9128@item It uses Text rather than String
9129@item It has a lighter dependency footprint: in particular, it does not
9130require aeson
9131@item It does not require TemplateHaskell
9132@end itemize")
9133 (license license:bsd-3)))
9134
e90a06fc
NG
9135(define-public ghc-text-conversions
9136 (package
9137 (name "ghc-text-conversions")
9138 (version "0.3.0")
9139 (source
9140 (origin
9141 (method url-fetch)
9142 (uri (string-append
9143 "https://hackage.haskell.org/package/text-conversions/"
9144 "text-conversions-" version ".tar.gz"))
9145 (sha256
9146 (base32 "089c56vdj9xysqfr1hnvbnrghlg83q6w10xk02gflpsidcpvwmhp"))))
9147 (build-system haskell-build-system)
9148 (inputs
9149 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
9150 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9151 ("ghc-errors" ,ghc-errors)))
9152 (native-inputs
9153 `(("ghc-hspec" ,ghc-hspec)
27b09f3a 9154 ("hspec-discover" ,hspec-discover)))
e90a06fc
NG
9155 (home-page "https://github.com/cjdev/text-conversions#readme")
9156 (synopsis "Safe conversions between textual types")
9157 (description "Safe conversions between textual types")
9158 (license license:isc)))
9159
aeb94a1f
CH
9160(define-public ghc-text-short
9161 (package
9162 (name "ghc-text-short")
9163 (version "0.1.3")
9164 (source
9165 (origin
9166 (method url-fetch)
9167 (uri (string-append
9168 "https://hackage.haskell.org/package/text-short/text-short-"
9169 version
9170 ".tar.gz"))
9171 (sha256
9172 (base32
9173 "0xyrxlb602z8bc9sr2y1fag0x56a20yj5qrkvy7iwc6hnznrynxz"))))
9174 (build-system haskell-build-system)
9175 (inputs `(("ghc-hashable" ,ghc-hashable)))
9176 (native-inputs
9177 `(("ghc-tasty" ,ghc-tasty)
9178 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9179 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9180 ("ghc-quickcheck-instances"
9181 ,ghc-quickcheck-instances)))
9182 (arguments
9183 `(#:cabal-revision
9184 ("2"
9185 "17cb7p0qywf2dsrq3g8qb3ssknd9wl5k0nc2pxz9gc3l8rxpkw51")))
9186 (home-page "https://hackage.haskell.org/package/text-short")
9187 (synopsis "Memory-efficient representation of Unicode text strings")
9188 (description "This package provides the @code{ShortText} type which
2faef3cb 9189is suitable for keeping many short strings in memory. This is similar
aeb94a1f
CH
9190to how @code{ShortByteString} relates to @code{ByteString}.
9191
9192The main difference between @code{Text} and @code{ShortText} is that
9193@code{ShortText} uses UTF-8 instead of UTF-16 internally and also doesn't
9194support zero-copy slicing (thereby saving 2 words). Consequently, the memory
9195footprint of a (boxed) @{ShortText} value is 4 words (2 words when unboxed)
9196plus the length of the UTF-8 encoded payload.")
9197 (license license:bsd-3)))
9198
ba7cbae3
NG
9199(define-public ghc-doclayout
9200 (package
9201 (name "ghc-doclayout")
9202 (version "0.3")
9203 (source
9204 (origin
9205 (method url-fetch)
9206 (uri (string-append
9207 "https://hackage.haskell.org/package/doclayout/"
9208 "doclayout-" version ".tar.gz"))
9209 (sha256
9210 (base32 "1wmnwq28jcyd6c80srivsnd5znmyl9sgmwwnlk2crwiiwqadbal7"))))
9211 (build-system haskell-build-system)
9212 (inputs
9213 `(("ghc-safe" ,ghc-safe)))
9214 (native-inputs
9215 `(("ghc-tasty" ,ghc-tasty)
9216 ("ghc-tasty-golden" ,ghc-tasty-golden)
9217 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
9218 (home-page "https://github.com/jgm/doclayout")
9219 (synopsis "Pretty-printing library for laying out text documents")
9220 (description
9221 "doclayout is a pretty-printing library for laying out text documents,
9222with several features not present in pretty-printing libraries designed for
9223code. It was designed for use in @code{Pandoc}.")
9224 (license license:bsd-3)))
9225
dddbc90c
RV
9226(define-public ghc-pandoc
9227 (package
9228 (name "ghc-pandoc")
d9b1567a 9229 (version "2.7.3")
dddbc90c
RV
9230 (source
9231 (origin
9232 (method url-fetch)
9233 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
9234 version ".tar.gz"))
d9b1567a
TS
9235 (patches (search-patches "ghc-pandoc-fix-html-tests.patch"
9236 "ghc-pandoc-fix-latex-test.patch"))
dddbc90c
RV
9237 (sha256
9238 (base32
d9b1567a 9239 "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8"))))
dddbc90c 9240 (build-system haskell-build-system)
c18e4f3e
RW
9241 (arguments
9242 `(#:phases
9243 (modify-phases %standard-phases
9244 (add-after 'unpack 'find-library
9245 (lambda _
9246 (substitute* "test/Tests/Command.hs"
9247 (("= dynlibEnv")
9248 (format #f "= [(\"LD_LIBRARY_PATH\" , \"~a/dist/build\")]"
9249 (getcwd))))
9250 #t)))))
9251 (outputs '("out" "static" "doc"))
dddbc90c
RV
9252 (inputs
9253 `(("ghc-aeson" ,ghc-aeson)
9254 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
9255 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9256 ("ghc-blaze-html" ,ghc-blaze-html)
9257 ("ghc-blaze-markup" ,ghc-blaze-markup)
9258 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
9259 ("ghc-data-default" ,ghc-data-default)
dddbc90c
RV
9260 ("ghc-diff" ,ghc-diff)
9261 ("ghc-doctemplates" ,ghc-doctemplates)
9262 ("ghc-executable-path" ,ghc-executable-path)
9263 ("ghc-glob" ,ghc-glob)
9264 ("ghc-haddock-library" ,ghc-haddock-library)
9265 ("ghc-hslua" ,ghc-hslua)
d9b1567a 9266 ("ghc-hslua-module-system" ,ghc-hslua-module-system)
dddbc90c 9267 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
d9b1567a 9268 ("ghc-hsyaml" ,ghc-hsyaml)
dddbc90c
RV
9269 ("ghc-http" ,ghc-http)
9270 ("ghc-http-client" ,ghc-http-client)
9271 ("ghc-http-client-tls" ,ghc-http-client-tls)
9272 ("ghc-http-types" ,ghc-http-types)
d9b1567a 9273 ("ghc-ipynb" ,ghc-ipynb)
dddbc90c
RV
9274 ("ghc-juicypixels" ,ghc-juicypixels)
9275 ("ghc-network" ,ghc-network)
9276 ("ghc-network-uri" ,ghc-network-uri)
dddbc90c
RV
9277 ("ghc-pandoc-types" ,ghc-pandoc-types)
9278 ("ghc-random" ,ghc-random)
9279 ("ghc-scientific" ,ghc-scientific)
9280 ("ghc-sha" ,ghc-sha)
9281 ("ghc-skylighting" ,ghc-skylighting)
9282 ("ghc-split" ,ghc-split)
9283 ("ghc-syb" ,ghc-syb)
9284 ("ghc-tagsoup" ,ghc-tagsoup)
9285 ("ghc-temporary" ,ghc-temporary)
9286 ("ghc-texmath" ,ghc-texmath)
d9b1567a 9287 ("ghc-unicode-transforms" ,ghc-unicode-transforms)
dddbc90c
RV
9288 ("ghc-unordered-containers" ,ghc-unordered-containers)
9289 ("ghc-vector" ,ghc-vector)
9290 ("ghc-xml" ,ghc-xml)
dddbc90c
RV
9291 ("ghc-zip-archive" ,ghc-zip-archive)
9292 ("ghc-zlib" ,ghc-zlib)))
9293 (native-inputs
9294 `(("ghc-tasty" ,ghc-tasty)
9295 ("ghc-tasty-golden" ,ghc-tasty-golden)
9296 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
d9b1567a 9297 ("ghc-tasty-lua" ,ghc-tasty-lua)
dddbc90c
RV
9298 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
9299 ("ghc-quickcheck" ,ghc-quickcheck)
9300 ("ghc-hunit" ,ghc-hunit)))
9301 (home-page "https://pandoc.org")
9302 (synopsis "Conversion between markup formats")
9303 (description
9304 "Pandoc is a Haskell library for converting from one markup format to
9305another, and a command-line tool that uses this library. It can read and
9306write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
9307LaTeX, DocBook, and many more.
9308
9309Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
9310definition lists, tables, and other features. A compatibility mode is
9311provided for those who need a drop-in replacement for Markdown.pl.")
9312 (license license:gpl2+)))
9313
d4e4a382
RW
9314(define-public pandoc
9315 (package
9316 (inherit ghc-pandoc)
9317 (name "pandoc")
9318 (arguments
9319 `(#:configure-flags
9320 (list "-fstatic"
9321 ;; Do not build trypandoc; this is the default but it's better to
9322 ;; be explicit.
9323 "-f-trypandoc"
9324 ;; TODO: Without these we cannot link the Haskell libraries
9325 ;; statically. It would be nice if we could also build the
9326 ;; shared libraries.
9327 "--disable-shared"
9328 "--disable-executable-dynamic"
9329 ;; That's where we place all static libraries
9330 "--extra-lib-dirs=static-libs/"
9331 "--ghc-option=-static")
9332 #:modules ((guix build haskell-build-system)
9333 (guix build utils)
9334 (ice-9 match)
9335 (srfi srfi-1))
9336 #:phases
9337 (modify-phases %standard-phases
9338 (add-after 'unpack 'create-simple-paths-module
9339 (lambda* (#:key outputs #:allow-other-keys)
9340 (call-with-output-file "Paths_pandoc.hs"
9341 (lambda (port)
9342 (format port "\
9343{-# LANGUAGE CPP #-}
9344{-# LANGUAGE NoRebindableSyntax #-}
9345{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
9346module Paths_pandoc (version,getDataDir,getDataFileName) where
9347import Prelude
9348import Data.Version (Version(..))
9349import System.Info
9350version :: Version
9351version = Version [~a] []
9352
9353datadir :: FilePath
9354datadir = \"~a/share/\" ++
9355 arch ++ \"-\" ++
9356 os ++ \"-\" ++
9357 compilerName ++ \"-~a/pandoc-~a\"
9358
9359getDataDir :: IO FilePath
9360getDataDir = return datadir
9361
9362getDataFileName :: FilePath -> IO FilePath
9363getDataFileName name = do
9364 dir <- getDataDir
9365 return (dir ++ \"/\" ++ name)
9366"
9367 (string-map (lambda (chr) (if (eq? chr #\.) #\, chr))
9368 ,(package-version ghc-pandoc))
9369 (assoc-ref outputs "out")
9370 ,(package-version ghc)
9371 ,(package-version ghc-pandoc))))
9372 #t))
9373 (add-after 'unpack 'prepare-static-libraries
9374 (lambda* (#:key inputs #:allow-other-keys)
9375 (mkdir-p (string-append (getcwd) "/static-libs"))
9376 (for-each
9377 (lambda (input)
9378 (when (or (string-prefix? "static-" (car input))
9379 (string-prefix? "ghc" (car input)))
9380 (match (find-files (cdr input) "\\.a$")
9381 ((and (first . rest) libs)
9382 (for-each (lambda (lib)
9383 (let ((target (string-append (getcwd) "/static-libs/"
9384 (basename lib))))
9385 (unless (file-exists? target)
9386 (symlink first target))))
9387 libs))
9388 (_ #f))))
9389 inputs)
9390 #t))
9391 (delete 'check)
9392 (add-after 'install 'post-install-check
9393 (assoc-ref %standard-phases 'check)))))
9394 (outputs '("out" "lib" "static" "doc"))
9395 (inputs
9396 (let* ((direct-inputs (package-inputs ghc-pandoc))
9397 (all-static-inputs
9398 (map (lambda (pkg)
9399 (list (string-append "static-" (package-name pkg))
9400 pkg "static"))
9401 (delete-duplicates
9402 (append (map cadr direct-inputs)
9403 (filter (lambda (pkg)
9404 (string-prefix? "ghc-" (package-name pkg)))
9405 (package-closure
9406 (map cadr direct-inputs))))))))
9407 `(("zlib:static" ,zlib "static")
9408 ,@all-static-inputs
9409 ,@direct-inputs)))
9410 (native-inputs
9411 (let* ((direct-inputs (package-native-inputs ghc-pandoc))
9412 (all-static-inputs
9413 (map (lambda (pkg)
9414 (list (string-append "static-" (package-name pkg))
9415 pkg "static"))
9416 (delete-duplicates
9417 (append (map cadr direct-inputs)
9418 (filter (lambda (pkg)
9419 (string-prefix? "ghc-" (package-name pkg)))
9420 (package-closure
9421 (map cadr direct-inputs))))))))
9422 `(,@all-static-inputs
9423 ,@direct-inputs)))))
9424
dddbc90c
RV
9425(define-public ghc-pandoc-citeproc
9426 (package
9427 (name "ghc-pandoc-citeproc")
2da02d09 9428 (version "0.16.2")
dddbc90c
RV
9429 (source
9430 (origin
9431 (method url-fetch)
9432 (uri (string-append "https://hackage.haskell.org/package/"
9433 "pandoc-citeproc/pandoc-citeproc-"
9434 version ".tar.gz"))
9435 (sha256
9436 (base32
2da02d09 9437 "15mm17awgi1b5yazwhr5nh8b59qml1qk6pz6gpyijks70fq2arsv"))))
dddbc90c
RV
9438 (build-system haskell-build-system)
9439 (arguments
9440 `(#:phases
9441 (modify-phases %standard-phases
9442 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
9443 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
9444 (add-before 'configure 'patch-tests
9445 (lambda _
9446 (substitute* "tests/test-pandoc-citeproc.hs"
9447 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
9448 "let allTests = citeprocTests"))))
9449 ;; Tests need to be run after installation.
9450 (delete 'check)
9451 (add-after 'install 'post-install-check
9452 (assoc-ref %standard-phases 'check)))))
9453 (inputs
9454 `(("ghc-pandoc-types" ,ghc-pandoc-types)
9455 ("ghc-pandoc" ,ghc-pandoc)
9456 ("ghc-tagsoup" ,ghc-tagsoup)
9457 ("ghc-aeson" ,ghc-aeson)
9458 ("ghc-vector" ,ghc-vector)
9459 ("ghc-xml-conduit" ,ghc-xml-conduit)
9460 ("ghc-unordered-containers" ,ghc-unordered-containers)
9461 ("ghc-data-default" ,ghc-data-default)
9462 ("ghc-setenv" ,ghc-setenv)
9463 ("ghc-split" ,ghc-split)
9464 ("ghc-yaml" ,ghc-yaml)
9465 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
9466 ("ghc-rfc5051" ,ghc-rfc5051)
9467 ("ghc-syb" ,ghc-syb)
9468 ("ghc-old-locale" ,ghc-old-locale)
9469 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
9470 ("ghc-attoparsec" ,ghc-attoparsec)
9471 ("ghc-temporary" ,ghc-temporary)))
9472 (home-page "https://github.com/jgm/pandoc-citeproc")
9473 (synopsis "Library for using pandoc with citeproc")
9474 (description
9475 "The @code{pandoc-citeproc} library exports functions for using the
9476citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
9477rendering bibliographic reference citations into a variety of styles using a
9478macro language called @dfn{Citation Style Language} (CSL). This package also
9479contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
9480and also has a mode for converting bibliographic databases a YAML format
9481suitable for inclusion in pandoc YAML metadata.")
9482 (license license:bsd-3)))
9483
e380ef14
RW
9484(define-public pandoc-citeproc
9485 (package (inherit ghc-pandoc-citeproc)
9486 (name "pandoc-citeproc")
9487 (arguments
9488 `(#:configure-flags
9489 (list "-fstatic"
9490 "--disable-shared"
9491 "--disable-executable-dynamic"
9492 ;; That's where we place all static libraries
9493 "--extra-lib-dirs=static-libs/"
9494 "--ghc-option=-static")
9495 #:modules ((guix build haskell-build-system)
9496 (guix build utils)
9497 (ice-9 match)
9498 (srfi srfi-1))
9499 #:phases
9500 (modify-phases %standard-phases
9501 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
9502 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
9503 (add-before 'configure 'patch-tests
9504 (lambda _
9505 (substitute* "tests/test-pandoc-citeproc.hs"
9506 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
9507 "let allTests = citeprocTests"))))
9508 ;; Tests need to be run after installation.
9509 (delete 'check)
9510 (add-after 'install 'post-install-check
9511 (assoc-ref %standard-phases 'check))
9512 (add-after 'unpack 'create-simple-paths-module
9513 (lambda* (#:key outputs #:allow-other-keys)
9514 (call-with-output-file "Paths_pandoc_citeproc.hs"
9515 (lambda (port)
9516 (format port "\
9517{-# LANGUAGE CPP #-}
9518{-# LANGUAGE NoRebindableSyntax #-}
9519{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
9520module Paths_pandoc_citeproc (version,getDataFileName) where
9521import Prelude
9522import Data.Version (Version(..))
9523import System.Info
9524version :: Version
9525version = Version [~a] []
9526
9527datadir :: FilePath
9528datadir = \"~a/share/\" ++
9529 arch ++ \"-\" ++
9530 os ++ \"-\" ++
9531 compilerName ++ \"-~a/pandoc-citeproc-~a\"
9532
9533getDataDir :: IO FilePath
9534getDataDir = return datadir
9535
9536getDataFileName :: FilePath -> IO FilePath
9537getDataFileName name = do
9538 dir <- getDataDir
9539 return (dir ++ \"/\" ++ name)
9540"
9541 (string-map (lambda (chr) (if (eq? chr #\.) #\, chr))
9542 ,(package-version ghc-pandoc-citeproc))
9543 (assoc-ref outputs "out")
9544 ,(package-version ghc)
9545 ,(package-version ghc-pandoc-citeproc))))
9546 #t))
9547 (add-after 'unpack 'prepare-static-libraries
9548 (lambda* (#:key inputs #:allow-other-keys)
9549 (mkdir-p (string-append (getcwd) "/static-libs"))
9550 (for-each
9551 (lambda (input)
9552 (when (or (string-prefix? "static-" (car input))
9553 (string-prefix? "ghc" (car input)))
9554 (match (find-files (cdr input) "\\.a$")
9555 ((and (first . rest) libs)
9556 (for-each (lambda (lib)
9557 (let ((target (string-append (getcwd) "/static-libs/"
9558 (basename lib))))
9559 (unless (file-exists? target)
9560 (symlink first target))))
9561 libs))
9562 (_ #f))))
9563 inputs)
9564 #t)))))
9565 (inputs
9566 (let* ((direct-inputs
9567 (cons `("ghc-pandoc" ,pandoc)
9568 (alist-delete "ghc-pandoc"
9569 (package-inputs ghc-pandoc-citeproc))))
9570 (all-static-inputs
9571 (map (lambda (pkg)
9572 (list (string-append "static-" (package-name pkg))
9573 pkg "static"))
9574 (delete-duplicates
9575 (append (map cadr direct-inputs)
9576 (filter (lambda (pkg)
9577 (string-prefix? "ghc-" (package-name pkg)))
9578 (package-closure
9579 (map cadr direct-inputs))))))))
9580 `(("zlib:static" ,zlib "static")
9581 ("pandoc" ,pandoc "lib")
9582 ,@all-static-inputs
9583 ,@direct-inputs)))
9584 (synopsis "Pandoc filter for bibliographic references")))
9585
dddbc90c
RV
9586(define-public ghc-pandoc-types
9587 (package
9588 (name "ghc-pandoc-types")
0eaa88c8 9589 (version "1.17.6.1")
dddbc90c
RV
9590 (source (origin
9591 (method url-fetch)
9592 (uri (string-append "https://hackage.haskell.org/package/"
9593 "pandoc-types/pandoc-types-"
9594 version ".tar.gz"))
9595 (sha256
9596 (base32
0eaa88c8 9597 "1d6ygq991ddria71l7hg9yd7lq94sjy4m71rdws1v8hq943c4d0q"))))
dddbc90c 9598 (build-system haskell-build-system)
c7891956
RW
9599 (arguments
9600 `(#:phases
9601 (modify-phases %standard-phases
9602 ;; None of the directory names are actually used. By generating a
9603 ;; simpler module without references to store names we avoid
9604 ;; introducing references in the pandoc executable.
9605 (add-after 'unpack 'create-simple-paths-module
9606 (lambda _
9607 (call-with-output-file "Paths_pandoc_types.hs"
9608 (lambda (port)
9609 (format port "\
9610{-# LANGUAGE CPP #-}
9611{-# LANGUAGE NoRebindableSyntax #-}
9612{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
9613module Paths_pandoc_types (version) where
9614import Data.Version (Version(..))
9615version :: Version
9616version = Version [~a] []
9617" (string-map (lambda (chr) (if (eq? chr #\.) #\, chr)) ,version))))
9618 #t)))))
dddbc90c
RV
9619 (inputs
9620 `(("ghc-syb" ,ghc-syb)
9621 ("ghc-aeson" ,ghc-aeson)
9622 ("ghc-string-qq" ,ghc-string-qq)))
9623 (native-inputs
9624 `(("ghc-quickcheck" ,ghc-quickcheck)
9625 ("ghc-test-framework" ,ghc-test-framework)
9626 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
9627 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
9628 ("ghc-hunit" ,ghc-hunit)))
d48b5c8a 9629 (home-page "https://johnmacfarlane.net/pandoc")
dddbc90c
RV
9630 (synopsis "Types for representing a structured document")
9631 (description
9632 "This module defines the @code{Pandoc} data structure, which is used by
9633pandoc to represent structured documents. It also provides functions for
9634building up, manipulating and serialising @code{Pandoc} structures.")
9635 (license license:bsd-3)))
9636
9637(define-public ghc-parallel
9638 (package
9639 (name "ghc-parallel")
9640 (version "3.2.2.0")
534d6caa 9641 (outputs '("out" "static" "doc"))
dddbc90c
RV
9642 (source
9643 (origin
9644 (method url-fetch)
9645 (uri (string-append
9646 "https://hackage.haskell.org/package/parallel/parallel-"
9647 version
9648 ".tar.gz"))
9649 (sha256
9650 (base32
9651 "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"))))
9652 (build-system haskell-build-system)
9653 (home-page "https://hackage.haskell.org/package/parallel")
9654 (synopsis "Parallel programming library")
9655 (description
9656 "This package provides a library for parallel programming.")
9657 (license license:bsd-3)))
9658
9659(define-public ghc-parsec-numbers
9660 (package
9661 (name "ghc-parsec-numbers")
9662 (version "0.1.0")
9663 (source
9664 (origin
9665 (method url-fetch)
9666 (uri (string-append "https://hackage.haskell.org/package/"
9667 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
9668 (sha256
9669 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
9670 (build-system haskell-build-system)
9671 (home-page "https://hackage.haskell.org/package/parsec-numbers")
9672 (synopsis "Utilities for parsing numbers from strings")
9673 (description
9674 "This package provides the number parsers without the need to use a large
9675(and unportable) token parser.")
9676 (license license:bsd-3)))
9677
9678(define-public ghc-parser-combinators
9679 (package
9680 (name "ghc-parser-combinators")
2f173160 9681 (version "1.1.0")
dddbc90c
RV
9682 (source
9683 (origin
9684 (method url-fetch)
9685 (uri (string-append "https://hackage.haskell.org/package/"
9686 "parser-combinators/parser-combinators-"
9687 version ".tar.gz"))
9688 (sha256
9689 (base32
2f173160 9690 "149yhbnrrl108h1jinrsxni3rwrldhphpk9bbmbpr90q5fbl4xmc"))))
dddbc90c
RV
9691 (build-system haskell-build-system)
9692 (home-page "https://github.com/mrkkrp/parser-combinators")
9693 (synopsis "Commonly useful parser combinators")
9694 (description
9695 "This is a lightweight package providing commonly useful parser
9696combinators.")
9697 (license license:bsd-3)))
9698
9699(define-public ghc-parsers
9700 (package
9701 (name "ghc-parsers")
6818f970 9702 (version "0.12.10")
dddbc90c
RV
9703 (source
9704 (origin
9705 (method url-fetch)
9706 (uri (string-append
9707 "https://hackage.haskell.org/package/parsers/parsers-"
9708 version
9709 ".tar.gz"))
9710 (sha256
9711 (base32
6818f970 9712 "0v0smxbzk1qpdfkfqqmrzd2dngv3vxba10mkjn9nfm6a309izf8p"))))
dddbc90c
RV
9713 (build-system haskell-build-system)
9714 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
9715 ; -package attoparsec-0.13.0.1"
9716 (inputs
9717 `(("ghc-base-orphans" ,ghc-base-orphans)
9718 ("ghc-attoparsec" ,ghc-attoparsec)
9719 ("ghc-scientific" ,ghc-scientific)
9720 ("ghc-charset" ,ghc-charset)
9721 ("ghc-unordered-containers" ,ghc-unordered-containers)))
9722 (home-page "https://github.com/ekmett/parsers/")
9723 (synopsis "Parsing combinators")
9724 (description "This library provides convenient combinators for working
9725with and building parsing combinator libraries. Given a few simple instances,
9726you get access to a large number of canned definitions. Instances exist for
9727the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
9728@code{Text.Read}.")
9729 (license license:bsd-3)))
9730
9731(define-public ghc-path
9732 (package
9733 (name "ghc-path")
9734 (version "0.6.1")
9735 (source
9736 (origin
9737 (method url-fetch)
9738 (uri (string-append
9739 "https://hackage.haskell.org/package/path/path-"
9740 version
9741 ".tar.gz"))
9742 (sha256
9743 (base32
9744 "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb"))))
9745 (build-system haskell-build-system)
9746 (arguments
9747 ;; TODO: There are some Windows-related tests and modules that need to be
9748 ;; danced around.
9749 `(#:tests? #f
9750 #:cabal-revision
9751 ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463")))
9752 (inputs
9753 `(("ghc-aeson" ,ghc-aeson)
9754 ("ghc-exceptions" ,ghc-exceptions)
9755 ("ghc-hashable" ,ghc-hashable)))
9756 (native-inputs
9757 `(("ghc-hspec" ,ghc-hspec)
9758 ("ghc-quickcheck" ,ghc-quickcheck)
9759 ("ghc-genvalidity" ,ghc-genvalidity)
9760 ("ghc-genvalidity-property" ,ghc-genvalidity-property)
9761 ("ghc-hspec" ,ghc-hspec)
9762 ("ghc-validity" ,ghc-validity)))
9763 (home-page
3ef91e15 9764 "https://hackage.haskell.org/package/path")
dddbc90c
RV
9765 (synopsis "Support for well-typed paths")
9766 (description "This package introduces a type for paths upholding useful
9767invariants.")
9768 (license license:bsd-3)))
9769
9770(define-public ghc-path-io
9771 (package
9772 (name "ghc-path-io")
a06613ea 9773 (version "1.4.2")
dddbc90c
RV
9774 (source
9775 (origin
9776 (method url-fetch)
9777 (uri (string-append
9778 "https://hackage.haskell.org/package/path-io/path-io-"
9779 version
9780 ".tar.gz"))
9781 (sha256
9782 (base32
a06613ea 9783 "0jqx3mi4an4kb3kg78n1p3xrz832yrfrnvj795b0xhkv6h1z5ir3"))))
dddbc90c
RV
9784 (build-system haskell-build-system)
9785 (inputs
9786 `(("ghc-dlist" ,ghc-dlist)
9787 ("ghc-exceptions" ,ghc-exceptions)
9788 ("ghc-path" ,ghc-path)
9789 ("ghc-transformers-base" ,ghc-transformers-base)
9790 ("ghc-unix-compat" ,ghc-unix-compat)
9791 ("ghc-temporary" ,ghc-temporary)))
9792 (native-inputs
9793 `(("ghc-hspec" ,ghc-hspec)))
dddbc90c
RV
9794 (home-page
9795 "https://github.com/mrkkrp/path-io")
9796 (synopsis "Functions for manipulating well-typed paths")
9797 (description "This package provides an interface to the @code{directory}
9798package for users of @code{path}. It also implements some missing stuff like
9799recursive scanning and copying of directories, working with temporary
9800files/directories, and more.")
9801 (license license:bsd-3)))
9802
9803(define-public ghc-paths
9804 (package
9805 (name "ghc-paths")
9a8adeb1 9806 (version "0.1.0.12")
534d6caa 9807 (outputs '("out" "static" "doc"))
dddbc90c
RV
9808 (source
9809 (origin
9810 (method url-fetch)
9811 (uri (string-append
9812 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
9813 version
9814 ".tar.gz"))
9815 (sha256
9816 (base32
9a8adeb1 9817 "1164w9pqnf7rjm05mmfjznz7rrn415blrkk1kjc0gjvks1vfdjvf"))))
dddbc90c
RV
9818 (build-system haskell-build-system)
9819 (home-page "https://github.com/simonmar/ghc-paths")
9820 (synopsis
9821 "Knowledge of GHC's installation directories")
9822 (description
9823 "Knowledge of GHC's installation directories.")
9824 (license license:bsd-3)))
9825
9826(define-public ghc-patience
9827 (package
9828 (name "ghc-patience")
484476f3 9829 (version "0.3")
dddbc90c
RV
9830 (source
9831 (origin
9832 (method url-fetch)
9833 (uri (string-append
9834 "https://hackage.haskell.org/package/patience/patience-"
9835 version ".tar.gz"))
9836 (sha256
9837 (base32
484476f3 9838 "1i1b37lgi31c17yrjyf8pdm4nf5lq8vw90z3rri78hf0k66d0p3i"))))
dddbc90c
RV
9839 (build-system haskell-build-system)
9840 (home-page "https://hackage.haskell.org/package/patience")
9841 (synopsis "Patience diff and longest increasing subsequence")
9842 (description
9843 "This library implements the 'patience diff' algorithm, as well as the
9844patience algorithm for the longest increasing subsequence problem.
9845Patience diff computes the difference between two lists, for example the lines
9846of two versions of a source file. It provides a good balance between
9847performance, nice output for humans, and simplicity of implementation.")
9848 (license license:bsd-3)))
9849
25a221a8
JS
9850(define-public ghc-pattern-arrows
9851 (package
9852 (name "ghc-pattern-arrows")
9853 (version "0.0.2")
9854 (source
9855 (origin
9856 (method url-fetch)
9857 (uri (string-append
9858 "mirror://hackage/package/pattern-arrows/pattern-arrows-"
9859 version
9860 ".tar.gz"))
9861 (sha256
9862 (base32
9863 "13q7bj19hd60rnjfc05wxlyck8llxy11z3mns8kxg197wxrdkhkg"))))
9864 (build-system haskell-build-system)
9865 (home-page
9866 "https://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html")
9867 (synopsis "Arrows for Pretty Printing")
9868 (description
9869 "A library for generating concise pretty printers based on precedence
9870rules.")
9871 (license license:expat)))
9872
dddbc90c
RV
9873(define-public ghc-pcre-light
9874 (package
9875 (name "ghc-pcre-light")
9876 (version "0.4.0.4")
9877 (source
9878 (origin
9879 (method url-fetch)
9880 (uri (string-append
9881 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
9882 version
9883 ".tar.gz"))
9884 (sha256
9885 (base32
9886 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
9887 (build-system haskell-build-system)
a928f35b
TS
9888 (arguments
9889 `(#:extra-directories ("pcre")))
dddbc90c
RV
9890 (inputs
9891 `(("pcre" ,pcre)))
9892 (native-inputs
9893 `(("pkg-config" ,pkg-config)))
9894 (home-page "https://github.com/Daniel-Diaz/pcre-light")
9895 (synopsis "Haskell library for Perl 5 compatible regular expressions")
9896 (description "This package provides a small, efficient, and portable regex
9897library for Perl 5 compatible regular expressions. The PCRE library is a set
9898of functions that implement regular expression pattern matching using the same
9899syntax and semantics as Perl 5.")
9900 (license license:bsd-3)))
9901
9902(define-public ghc-persistent
9903 (package
9904 (name "ghc-persistent")
8c9697a9 9905 (version "2.10.4")
dddbc90c
RV
9906 (source
9907 (origin
9908 (method url-fetch)
8c9697a9
ASM
9909 (uri (string-append
9910 "https://hackage.haskell.org/package/persistent/"
9911 "persistent-" version ".tar.gz"))
dddbc90c
RV
9912 (sha256
9913 (base32
8c9697a9 9914 "1cxswz72sqdg2z1nbpgp1k5qr41djgk8qbf8nz7wfppsrhacyffi"))))
dddbc90c 9915 (build-system haskell-build-system)
8c9697a9
ASM
9916 (inputs
9917 `(("ghc-aeson" ,ghc-aeson)
9918 ("ghc-attoparsec" ,ghc-attoparsec)
9919 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9920 ("ghc-blaze-html" ,ghc-blaze-html)
9921 ("ghc-conduit" ,ghc-conduit)
9922 ("ghc-fast-logger" ,ghc-fast-logger)
9923 ("ghc-http-api-data" ,ghc-http-api-data)
9924 ("ghc-monad-logger" ,ghc-monad-logger)
9925 ("ghc-path-pieces" ,ghc-path-pieces)
9926 ("ghc-resource-pool" ,ghc-resource-pool)
9927 ("ghc-resourcet" ,ghc-resourcet)
9928 ("ghc-scientific" ,ghc-scientific)
9929 ("ghc-silently" ,ghc-silently)
9930 ("ghc-unliftio-core" ,ghc-unliftio-core)
9931 ("ghc-unliftio" ,ghc-unliftio)
9932 ("ghc-unordered-containers"
9933 ,ghc-unordered-containers)
9934 ("ghc-vector" ,ghc-vector)))
dddbc90c
RV
9935 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
9936 (home-page "https://www.yesodweb.com/book/persistent")
9937 (synopsis "Type-safe, multi-backend data serialization for Haskell")
9938 (description "This Haskell package allows Haskell programs to access data
9939storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
9940way.")
9941 (license license:expat)))
9942
9943(define-public ghc-persistent-sqlite
9944 (package
9945 (name "ghc-persistent-sqlite")
78858787 9946 (version "2.10.5.2")
dddbc90c
RV
9947 (source
9948 (origin
9949 (method url-fetch)
78858787
ASM
9950 (uri (string-append
9951 "https://hackage.haskell.org/package/persistent-sqlite/"
9952 "persistent-sqlite-" version ".tar.gz"))
dddbc90c
RV
9953 (sha256
9954 (base32
78858787 9955 "0agag3cgivl6mk38pqzr0qw5lxps9p2bgdwvi5658l46hs7bixxn"))))
dddbc90c 9956 (build-system haskell-build-system)
78858787
ASM
9957 (inputs
9958 `(("ghc-persistent" ,ghc-persistent)
9959 ("ghc-aeson" ,ghc-aeson)
9960 ("ghc-conduit" ,ghc-conduit)
9961 ("ghc-microlens-th" ,ghc-microlens-th)
9962 ("ghc-monad-logger" ,ghc-monad-logger)
9963 ("ghc-resource-pool" ,ghc-resource-pool)
9964 ("ghc-resourcet" ,ghc-resourcet)
9965 ("ghc-unliftio-core" ,ghc-unliftio-core)
9966 ("ghc-unordered-containers"
9967 ,ghc-unordered-containers)))
9968 (native-inputs
9969 `(("ghc-persistent-template"
9970 ,ghc-persistent-template)
9971 ("ghc-persistent-test" ,ghc-persistent-test)
9972 ("ghc-exceptions" ,ghc-exceptions)
9973 ("ghc-fast-logger" ,ghc-fast-logger)
9974 ("ghc-hspec" ,ghc-hspec)
9975 ("ghc-hunit" ,ghc-hunit)
9976 ("ghc-quickcheck" ,ghc-quickcheck)
9977 ("ghc-system-fileio" ,ghc-system-fileio)
9978 ("ghc-system-filepath" ,ghc-system-filepath)
9979 ("ghc-temporary" ,ghc-temporary)))
dddbc90c
RV
9980 (home-page
9981 "https://www.yesodweb.com/book/persistent")
9982 (synopsis "Backend for the persistent library using sqlite3")
9983 (description "This Haskell package includes a thin sqlite3 wrapper based
9984on the direct-sqlite package, as well as the entire C library, so there are no
9985system dependencies.")
9986 (license license:expat)))
9987
9988(define-public ghc-persistent-template
9989 (package
9990 (name "ghc-persistent-template")
d5378e98 9991 (version "2.8.0")
dddbc90c
RV
9992 (source
9993 (origin
9994 (method url-fetch)
d5378e98
ASM
9995 (uri (string-append
9996 "https://hackage.haskell.org/package/persistent-template/"
9997 "persistent-template-" version ".tar.gz"))
dddbc90c
RV
9998 (sha256
9999 (base32
d5378e98 10000 "16yjrl0gh4jbs4skr7iv6a55lny59bqhd6hjmvch1cl9j5d0c0g3"))))
dddbc90c 10001 (build-system haskell-build-system)
d5378e98
ASM
10002 (inputs
10003 `(("ghc-persistent" ,ghc-persistent)
10004 ("ghc-aeson" ,ghc-aeson)
10005 ("ghc-http-api-data" ,ghc-http-api-data)
10006 ("ghc-monad-control" ,ghc-monad-control)
10007 ("ghc-monad-logger" ,ghc-monad-logger)
10008 ("ghc-path-pieces" ,ghc-path-pieces)
10009 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
10010 ("ghc-unordered-containers"
10011 ,ghc-unordered-containers)))
10012 (native-inputs
10013 `(("ghc-hspec" ,ghc-hspec)
10014 ("ghc-quickcheck" ,ghc-quickcheck)))
dddbc90c
RV
10015 (home-page "https://www.yesodweb.com/book/persistent")
10016 (synopsis "Type-safe, non-relational, multi-backend persistence")
10017 (description "This Haskell package provides interfaces and helper
10018functions for the ghc-persistent package.")
10019 (license license:expat)))
10020
ce32f7c7
ASM
10021(define-public ghc-persistent-test
10022 (package
10023 (name "ghc-persistent-test")
10024 (version "2.0.3.1")
10025 (source
10026 (origin
10027 (method url-fetch)
10028 (uri (string-append
10029 "https://hackage.haskell.org/package/persistent-test/"
10030 "persistent-test-" version ".tar.gz"))
10031 (sha256
10032 (base32
10033 "11aq5cy0n43jamf6mg4sr4300bc2zdbjxsczzxwjkb4hzs0ijsdv"))))
10034 (build-system haskell-build-system)
10035 (inputs
10036 `(("ghc-aeson" ,ghc-aeson)
10037 ("ghc-blaze-html" ,ghc-blaze-html)
10038 ("ghc-conduit" ,ghc-conduit)
10039 ("ghc-monad-control" ,ghc-monad-control)
10040 ("ghc-monad-logger" ,ghc-monad-logger)
10041 ("ghc-path-pieces" ,ghc-path-pieces)
10042 ("ghc-persistent" ,ghc-persistent)
10043 ("ghc-persistent-template" ,ghc-persistent-template)
10044 ("ghc-random" ,ghc-random)
10045 ("ghc-resourcet" ,ghc-resourcet)
10046 ("ghc-transformers-base" ,ghc-transformers-base)
10047 ("ghc-unliftio" ,ghc-unliftio)
10048 ("ghc-unliftio-core" ,ghc-unliftio-core)
10049 ("ghc-unordered-containers" ,ghc-unordered-containers)))
10050 (native-inputs
10051 `(("ghc-quickcheck" ,ghc-quickcheck)
10052 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
10053 ("ghc-hspec" ,ghc-hspec)
10054 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
10055 ("ghc-hunit" ,ghc-hunit)))
10056 (home-page "https://www.yesodweb.com/book/persistent")
10057 (synopsis "Tests for the Persistent database library")
10058 (description
10059 "This is only for use in developing libraries that should conform to
10060the persistent interface, not for users of the persistent suite of database
10061libraries.")
10062 (license license:expat)))
10063
0fb34235
JS
10064(define-public ghc-pgp-wordlist
10065 (package
10066 (name "ghc-pgp-wordlist")
10067 (version "0.1.0.3")
10068 (source
10069 (origin
10070 (method url-fetch)
10071 (uri (string-append
10072 "mirror://hackage/package/pgp-wordlist/pgp-wordlist-"
10073 version
10074 ".tar.gz"))
10075 (sha256
10076 (base32
10077 "15g6qh0fb7kjj3l0w8cama7cxgnhnhybw760md9yy7cqfq15cfzg"))))
10078 (build-system haskell-build-system)
10079 (inputs
10080 `(("ghc-vector" ,ghc-vector)))
10081 (native-inputs
10082 `(("ghc-hunit" ,ghc-hunit)
10083 ("ghc-tasty" ,ghc-tasty)
10084 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10085 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
10086 ("ghc-doctest" ,ghc-doctest)))
10087 (home-page
10088 "https://github.com/quchen/pgp-wordlist")
10089 (synopsis
10090 "Translate between binary data and a human-readable collection of words")
10091 (description
10092 "The PGP Word List consists of two phonetic alphabets, each with one word
10093per possible byte value. A string of bytes is translated with these
10094alphabets, alternating between them at each byte.
10095
10096The PGP words corresponding to the bytes 5B 1D CA 6E are \"erase breakaway
10097spellbind headwaters\", for example.
10098
10099For further information, see
10100@url{http://en.wikipedia.org/wiki/PGP_word_list}.")
10101 (license license:bsd-3)))
10102
4639fa32
ASM
10103(define-public ghc-pipes
10104 (package
10105 (name "ghc-pipes")
10106 (version "4.3.13")
10107 (source
10108 (origin
10109 (method url-fetch)
10110 (uri (string-append
10111 "https://hackage.haskell.org/package/pipes/"
10112 "pipes-" version ".tar.gz"))
10113 (sha256
10114 (base32
10115 "1ch3xr5f5if0psd3lsyrpkwrgh36synnzqcpimghprys68l4zfkn"))))
10116 (build-system haskell-build-system)
10117 (inputs
10118 `(("ghc-exceptions" ,ghc-exceptions)
10119 ("ghc-mmorph" ,ghc-mmorph)
10120 ("ghc-void" ,ghc-void)
10121 ("ghc-semigroups" ,ghc-semigroups)))
10122 (native-inputs
10123 `(("ghc-quickcheck" ,ghc-quickcheck)
10124 ("ghc-test-framework" ,ghc-test-framework)
10125 ("ghc-test-framework-quickcheck2"
10126 ,ghc-test-framework-quickcheck2)))
10127 (home-page
10128 "https://hackage.haskell.org/package/pipes")
10129 (synopsis "Compositional pipelines")
10130 (description
10131 "A clean and powerful stream processing library that lets you build
10132and connect reusable streaming components. Advantages over traditional streaming
10133libraries:
10134@itemize
10135@item Concise API: Use simple commands like @code{for}, (@code{>->}), @code{await},
10136and @code{yield}
10137@item Blazing fast: Implementation tuned for speed, including shortcut fusion
10138@item Lightweight Dependency: pipes is small and compiles very rapidly, including
10139dependencies
10140@item Elegant semantics: Use practical category theory
10141@item ListT: Correct implementation of @code{ListT} that interconverts with pipes
10142@item Bidirectionality: Implement duplex channels
10143@end itemize")
10144 (license license:bsd-3)))
10145
451775a5
ASM
10146(define-public ghc-pointedlist
10147 (package
10148 (name "ghc-pointedlist")
10149 (version "0.6.1")
10150 (source
10151 (origin
10152 (method url-fetch)
10153 (uri (string-append
10154 "https://hackage.haskell.org/package/pointedlist/"
10155 "pointedlist-" version ".tar.gz"))
10156 (sha256
10157 (base32
10158 "16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l"))))
10159 (build-system haskell-build-system)
10160 (home-page
3ef91e15 10161 "https://hackage.haskell.org/package/pointedlist")
451775a5
ASM
10162 (synopsis
10163 "Zipper-like comonad which works as a list, tracking a position")
10164 (description
10165 "A PointedList tracks the position in a non-empty list which works
10166similarly to a zipper. A current item is always required, and therefore
10167the list may never be empty. A circular PointedList wraps around to the
10168other end when progressing past the actual edge.")
10169 (license license:bsd-3)))
10170
dddbc90c
RV
10171(define-public ghc-polyparse
10172 (package
10173 (name "ghc-polyparse")
9822b9ca 10174 (version "1.12.1")
dddbc90c
RV
10175 (source
10176 (origin
10177 (method url-fetch)
10178 (uri (string-append
10179 "https://hackage.haskell.org/package/polyparse/polyparse-"
10180 version
10181 ".tar.gz"))
10182 (sha256
10183 (base32
9822b9ca 10184 "19fs18g7fvfdkm9zy28cgighjcxfa6mcpqgyp6whmsjkb3h393fx"))))
dddbc90c
RV
10185 (build-system haskell-build-system)
10186 (home-page
10187 "http://code.haskell.org/~malcolm/polyparse/")
10188 (synopsis
10189 "Alternative parser combinator libraries")
10190 (description
10191 "This package provides a variety of alternative parser combinator
10192libraries, including the original HuttonMeijer set. The Poly sets have
10193features like good error reporting, arbitrary token type, running state, lazy
10194parsing, and so on. Finally, Text.Parse is a proposed replacement for the
10195standard Read class, for better deserialisation of Haskell values from
10196Strings.")
10197 (license license:lgpl2.1)))
10198
10199(define-public ghc-pqueue
10200 (package
10201 (name "ghc-pqueue")
142415b0 10202 (version "1.4.1.2")
dddbc90c
RV
10203 (source
10204 (origin
10205 (method url-fetch)
10206 (uri (string-append "https://hackage.haskell.org/package/"
10207 "pqueue/pqueue-" version ".tar.gz"))
10208 (sha256
10209 (base32
142415b0 10210 "1v4zhv2sc1zsw91hvnarkjhayx2dnf7ccxz6rrhsqpcs0szaranj"))))
dddbc90c
RV
10211 (build-system haskell-build-system)
10212 (native-inputs
10213 `(("ghc-quickcheck" ,ghc-quickcheck)))
10214 (home-page "https://hackage.haskell.org/package/pqueue")
10215 (synopsis "Reliable, persistent, fast priority queues")
10216 (description
10217 "This package provides a fast, reliable priority queue implementation
10218based on a binomial heap.")
10219 (license license:bsd-3)))
10220
10221(define-public ghc-prelude-extras
10222 (package
10223 (name "ghc-prelude-extras")
10224 (version "0.4.0.3")
10225 (source
10226 (origin
10227 (method url-fetch)
10228 (uri (string-append
10229 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
10230 version
10231 ".tar.gz"))
10232 (sha256
10233 (base32
10234 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
10235 (build-system haskell-build-system)
10236 (home-page "https://github.com/ekmett/prelude-extras")
10237 (synopsis "Higher order versions of Prelude classes")
10238 (description "This library provides higher order versions of
10239@code{Prelude} classes to ease programming with polymorphic recursion and
10240reduce @code{UndecidableInstances}.")
10241 (license license:bsd-3)))
10242
10243(define-public ghc-prettyclass
10244 (package
10245 (name "ghc-prettyclass")
10246 (version "1.0.0.0")
10247 (source
10248 (origin
10249 (method url-fetch)
10250 (uri (string-append "https://hackage.haskell.org/package/"
10251 "prettyclass/prettyclass-" version ".tar.gz"))
10252 (sha256
10253 (base32
10254 "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5"))))
10255 (build-system haskell-build-system)
3ef91e15 10256 (home-page "https://hackage.haskell.org/package/prettyclass")
dddbc90c
RV
10257 (synopsis "Pretty printing class similar to Show")
10258 (description "This package provides a pretty printing class similar
10259to @code{Show}, based on the HughesPJ pretty printing library. It
10260provides the pretty printing class and instances for the Prelude
10261types.")
10262 (license license:bsd-3)))
10263
2fad2bf7
JS
10264(define-public ghc-prettyprinter
10265 (package
10266 (name "ghc-prettyprinter")
10267 (version "1.2.1.1")
10268 (source
10269 (origin
10270 (method url-fetch)
10271 (uri (string-append
10272 "mirror://hackage/package/prettyprinter/prettyprinter-"
10273 version
10274 ".tar.gz"))
10275 (sha256
10276 (base32 "1p9c3q55hba4c0zyxc624g5df7wgsclpsmd8wqpdnmib882q9d1v"))))
10277 (build-system haskell-build-system)
10278 (native-inputs
10279 `(("ghc-doctest" ,ghc-doctest)
10280 ("ghc-pgp-wordlist" ,ghc-pgp-wordlist)
10281 ("ghc-tasty" ,ghc-tasty)
10282 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10283 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
10284 (home-page "https://github.com/quchen/prettyprinter")
10285 (synopsis
10286 "Modern, easy to use, well-documented, extensible pretty-printer")
10287 (description
10288 "A prettyprinter/text rendering engine. Easy to use, well-documented,
10289ANSI terminal backend exists, HTML backend is trivial to implement, no name
10290clashes, @code{Text}-based, extensible.")
10291 (license license:bsd-2)))
10292
2496e49f
JS
10293(define-public ghc-prettyprinter-1.6
10294 (package
10295 (inherit ghc-prettyprinter)
10296 (version "1.6.1")
10297 (source
10298 (origin
10299 (method url-fetch)
10300 (uri (string-append
10301 "mirror://hackage/package/prettyprinter/prettyprinter-"
10302 version
10303 ".tar.gz"))
10304 (sha256
10305 (base32 "10fphxh8lvdaw7i8jyllwmj87w02db92mf99zfw5vddp9mv6b5rz"))))
10306 (inputs
10307 `(("ghc-quickckeck-instances" , ghc-quickcheck-instances)
10308 ,@(package-inputs ghc-prettyprinter)))))
10309
b4f24d66
JS
10310(define-public ghc-prettyprinter-ansi-terminal
10311 (package
10312 (name "ghc-prettyprinter-ansi-terminal")
10313 (version "1.1.1.2")
10314 (source
10315 (origin
10316 (method url-fetch)
10317 (uri (string-append
10318 "mirror://hackage/package/prettyprinter-ansi-terminal/"
10319 "prettyprinter-ansi-terminal-" version ".tar.gz"))
10320 (sha256
10321 (base32 "0ha6vz707qzb5ky7kdsnw2zgphg2dnxrpbrxy8gaw119vwhb9q6k"))))
10322 (build-system haskell-build-system)
10323 (inputs
10324 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
10325 ("ghc-prettyprinter" ,ghc-prettyprinter-1.6)))
10326 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
10327 (home-page
10328 "https://github.com/quchen/prettyprinter")
10329 (synopsis
10330 "ANSI terminal backend for the prettyprinter package")
10331 (description "ANSI terminal backend for the prettyprinter package.")
10332 (license license:bsd-2)))
10333
dddbc90c
RV
10334(define-public ghc-pretty-hex
10335 (package
10336 (name "ghc-pretty-hex")
10337 (version "1.0")
10338 (source
10339 (origin
10340 (method url-fetch)
10341 (uri (string-append "https://hackage.haskell.org/package/"
10342 "pretty-hex-" version "/"
10343 "pretty-hex-" version ".tar.gz"))
10344 (sha256
10345 (base32
10346 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
10347 (build-system haskell-build-system)
10348 (home-page "https://github.com/GaloisInc/hexdump")
10349 (synopsis "Haskell library for hex dumps of ByteStrings")
10350 (description "This Haskell library generates pretty hex dumps of
10351ByteStrings in the style of other common *nix hex dump tools.")
10352 (license license:bsd-3)))
10353
10354(define-public ghc-pretty-show
10355 (package
10356 (name "ghc-pretty-show")
7683a084 10357 (version "1.9.5")
dddbc90c
RV
10358 (source
10359 (origin
10360 (method url-fetch)
10361 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
10362 "pretty-show-" version ".tar.gz"))
10363 (sha256
10364 (base32
7683a084 10365 "0gs2pabi4qa4b0r5vffpf9b1cf5n9y2939a3lljjw7cmg6xvx5dh"))))
dddbc90c
RV
10366 (build-system haskell-build-system)
10367 (inputs
10368 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
10369 ("ghc-happy" ,ghc-happy)))
702a1012 10370 (home-page "https://wiki.github.com/yav/pretty-show")
dddbc90c
RV
10371 (synopsis "Tools for working with derived `Show` instances")
10372 (description
10373 "This package provides a library and an executable for working with
10374derived @code{Show} instances. By using the library, derived @code{Show}
10375instances can be parsed into a generic data structure. The @code{ppsh} tool
10376uses the library to produce human-readable versions of @code{Show} instances,
10377which can be quite handy for debugging Haskell programs. We can also render
10378complex generic values into an interactive Html page, for easier
10379examination.")
10380 (license license:expat)))
10381
f011e3d6
JS
10382(define-public ghc-pretty-simple
10383 (package
10384 (name "ghc-pretty-simple")
10385 (version "2.2.0.1")
10386 (source
10387 (origin
10388 (method url-fetch)
10389 (uri (string-append
10390 "mirror://hackage/package/pretty-simple/"
10391 "pretty-simple-" version ".tar.gz"))
10392 (sha256
10393 (base32 "0wsi9235ihm15s145lxi7325vv2k4bhighc5m88kn1lk0pl81aqq"))))
10394 (build-system haskell-build-system)
10395 (inputs
10396 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
10397 ("ghc-glob" ,ghc-glob)
10398 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
10399 ("ghc-aeson" ,ghc-aeson)))
10400 (native-inputs
10401 `(("ghc-doctest" ,ghc-doctest)))
10402 (home-page "https://github.com/cdepillabout/pretty-simple")
10403 (synopsis "Pretty printer for data types with a 'Show' instance")
10404 (description
10405 "Pretty-simple is a pretty printer for Haskell data types that have a
10406Show instance.")
10407 (license license:bsd-3)))
10408
dddbc90c
RV
10409(define-public ghc-primitive
10410 (package
10411 (name "ghc-primitive")
10412 (version "0.6.4.0")
534d6caa 10413 (outputs '("out" "static" "doc"))
dddbc90c
RV
10414 (source
10415 (origin
10416 (method url-fetch)
10417 (uri (string-append
10418 "https://hackage.haskell.org/package/primitive/primitive-"
10419 version
10420 ".tar.gz"))
10421 (sha256
10422 (base32
10423 "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc"))))
10424 (build-system haskell-build-system)
6cf0daa4
TS
10425 (arguments
10426 `(#:cabal-revision
10427 ("1" "18a14k1yiam1m4l29rin9a0y53yp3nxvkz358nysld8aqwy2qsjv")))
dddbc90c
RV
10428 (home-page
10429 "https://github.com/haskell/primitive")
10430 (synopsis "Primitive memory-related operations")
10431 (description
10432 "This package provides various primitive memory-related operations.")
10433 (license license:bsd-3)))
10434
21f5b9a9
JS
10435(define-public ghc-process-extras
10436 (package
10437 (name "ghc-process-extras")
10438 (version "0.7.4")
10439 (source
10440 (origin
10441 (method url-fetch)
10442 (uri
10443 (string-append
10444 "https://hackage.haskell.org/package/process-extras/"
10445 "process-extras-" version ".tar.gz"))
10446 (sha256
10447 (base32
10448 "0klqgr37f1z2z6i0a9b0giapmq0p35l5k9kz1p7f0k1597w7agi9"))))
10449 (build-system haskell-build-system)
10450 (inputs
10451 `(("ghc-data-default" ,ghc-data-default)
10452 ("ghc-generic-deriving" ,ghc-generic-deriving)
10453 ("ghc-hunit" ,ghc-hunit)
10454 ("ghc-listlike" ,ghc-listlike)))
10455 (home-page "https://github.com/seereason/process-extras")
10456 (synopsis "Extra tools for managing processes")
f74b6983 10457 (description "This package extends
21f5b9a9
JS
10458@url{http://hackage.haskell.org/package/process}. It allows you to read
10459process input and output as ByteStrings or Text, or write your own
10460ProcessOutput instance. It also provides lazy process input and output,
10461and a ProcessMaker class for more flexibility in the process creation
10462API.")
10463 (license license:expat)))
10464
dddbc90c
RV
10465(define-public ghc-profunctors
10466 (package
10467 (name "ghc-profunctors")
899b5297 10468 (version "5.3")
dddbc90c
RV
10469 (source
10470 (origin
10471 (method url-fetch)
10472 (uri (string-append
10473 "https://hackage.haskell.org/package/profunctors/profunctors-"
10474 version
10475 ".tar.gz"))
10476 (sha256
10477 (base32
899b5297 10478 "1dx3nkc27yxsrbrhh3iwhq7dl1xn6bj7n62yx6nh8vmpbg62lqvl"))))
dddbc90c 10479 (build-system haskell-build-system)
1ad496e5 10480 (outputs '("out" "static" "doc"))
dddbc90c
RV
10481 (inputs
10482 `(("ghc-base-orphans" ,ghc-base-orphans)
10483 ("ghc-bifunctors" ,ghc-bifunctors)
10484 ("ghc-comonad" ,ghc-comonad)
10485 ("ghc-contravariant" ,ghc-contravariant)
10486 ("ghc-distributive" ,ghc-distributive)
10487 ("ghc-semigroups" ,ghc-semigroups)
10488 ("ghc-tagged" ,ghc-tagged)))
10489 (home-page "https://github.com/ekmett/profunctors/")
10490 (synopsis "Profunctors for Haskell")
10491 (description "This library provides profunctors for Haskell.")
10492 (license license:bsd-3)))
10493
fbe32d46
ASM
10494(define-public ghc-project-template
10495 (package
10496 (name "ghc-project-template")
10497 (version "0.2.0.1")
10498 (source
10499 (origin
10500 (method url-fetch)
10501 (uri (string-append
10502 "https://hackage.haskell.org/package/project-template/project-template-"
10503 version ".tar.gz"))
10504 (sha256
10505 (base32
10506 "1p69ww4rhah2qxragl615wl4a6mk4x9w09am8knmz3s4lxpljlpb"))))
10507 (build-system haskell-build-system)
10508 (inputs
10509 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
10510 ("ghc-conduit" ,ghc-conduit)
10511 ("ghc-conduit-extra" ,ghc-conduit-extra)
10512 ("ghc-resourcet" ,ghc-resourcet)))
10513 (native-inputs
10514 `(("ghc-hspec" ,ghc-hspec)
10515 ("hspec-discover" ,hspec-discover)
10516 ("ghc-quickcheck" ,ghc-quickcheck)))
10517 (arguments
10518 `(#:cabal-revision
10519 ("1"
10520 "0lq3sqnq0nr0gbvgzp0lqdl3j3mqdmdlf8xsw0j3pjh581xj3k0a")))
10521 (home-page "https://github.com/fpco/haskell-ide")
10522 (synopsis "Specify Haskell project templates and generate files")
10523 (description
10524 "Haskell library for both generating and consuming project templates.
10525
10526ost IDEs provide the concept of a project template: instead of writing all
10527of the code for a project from scratch, you select a template, answer a few
10528questions, and a bunch of files are automatically generated.
10529
10530project-template tries to provide a canonical Haskell library for implementing
10531the ideal templating system.")
10532 (license license:bsd-3)))
10533
8a6e745d
JS
10534(define-public ghc-protolude
10535 (package
10536 (name "ghc-protolude")
10537 (version "0.2.3")
10538 (source
10539 (origin
10540 (method url-fetch)
10541 (uri (string-append
10542 "mirror://hackage/package/protolude/protolude-"
10543 version
10544 ".tar.gz"))
10545 (sha256
10546 (base32
10547 "0zzkyxz0vmcbncpid7gp72fpjj0fla3gqhlfkij5c5lg12skjgfj"))))
10548 (build-system haskell-build-system)
10549 (inputs
10550 `(("ghc-async" ,ghc-async)
10551 ("ghc-hashable" ,ghc-hashable)
10552 ("ghc-mtl-compat" ,ghc-mtl-compat)
10553 ("ghc-transformers-compat" ,ghc-transformers-compat)))
10554 (home-page "https://github.com/protolude/protolude")
10555 (synopsis "Sensible set of defaults for writing custom Preludes")
10556 (description
10557 "Protolude gives you sensible defaults for writing custom Preludes to
10558replace the standard one provided by GHC.")
10559 (license license:expat)))
10560
cf123e32
MB
10561(define-public ghc-psqueue
10562 (package
10563 (name "ghc-psqueue")
10564 (version "1.1.0.1")
10565 (source (origin
10566 (method url-fetch)
10567 (uri (string-append "mirror://hackage/package/PSQueue-"
10568 version "/PSQueue-" version ".tar.gz"))
10569 (sha256
10570 (base32
10571 "1cik7sw10sacsijmfhghzy54gm1qcyxw14shlp86lx8z89kcnkza"))))
10572 (build-system haskell-build-system)
10573 (home-page "https://hackage.haskell.org/package/PSQueue")
10574 (synopsis "Priority search queue")
10575 (description
10576 "A @dfn{priority search queue} efficiently supports the operations of
10577both a search tree and a priority queue. A @code{Binding} is a product of
10578a key and a priority. Bindings can be inserted, deleted, modified and queried
10579in logarithmic time, and the binding with the least priority can be retrieved
10580in constant time. A queue can be built from a list of bindings, sorted by
10581keys, in linear time.")
10582 (license license:bsd-3)))
10583
dddbc90c
RV
10584(define-public ghc-psqueues
10585 (package
10586 (name "ghc-psqueues")
5d133942 10587 (version "0.2.7.2")
dddbc90c
RV
10588 (source
10589 (origin
10590 (method url-fetch)
10591 (uri (string-append "https://hackage.haskell.org/package/"
10592 "psqueues-" version "/"
10593 "psqueues-" version ".tar.gz"))
10594 (sha256
10595 (base32
5d133942 10596 "1yckx2csqswghiy9nfj03cybmza8104nmnpbpcc9ngwlbmakn9i6"))))
dddbc90c
RV
10597 (build-system haskell-build-system)
10598 (inputs
10599 `(("ghc-hashable" ,ghc-hashable)))
10600 (native-inputs
10601 `(("ghc-hunit" ,ghc-hunit)
10602 ("ghc-quickcheck" ,ghc-quickcheck)
10603 ("ghc-tagged" ,ghc-tagged)
5d133942
TS
10604 ("ghc-tasty" ,ghc-tasty)
10605 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
10606 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
dddbc90c
RV
10607 (home-page "https://github.com/jaspervdj/psqueues")
10608 (synopsis "Pure priority search queues")
10609 (description "The psqueues package provides
10610@uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
10611three different flavors:
10612
10613@itemize
10614@item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
10615fast insertion, deletion and lookup. This implementation is based on Ralf
10616Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
10617Implementation Technique for Priority Search Queues}.
10618
10619Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
10620PSQueue} library, although it is considerably faster and provides a slightly
10621different API.
10622
10623@item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
10624key type to @code{Int} and uses a
10625@code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
10626with an additional min-heap property.
10627
10628@item @code{HashPSQ k p v} is a fairly straightforward extension
10629of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
10630@code{IntPSQ}. If there are any hash collisions, it uses an
10631@code{OrdPSQ} to resolve those. The performance of this implementation
10632is comparable to that of @code{IntPSQ}, but it is more widely
10633applicable since the keys are not restricted to @code{Int},
10634but rather to any @code{Hashable} datatype.
10635@end itemize
10636
10637Each of the three implementations provides the same API, so they can
10638be used interchangeably.
10639
10640Typical applications of Priority Search Queues include:
10641
10642@itemize
10643@item Caches, and more specifically LRU Caches;
10644@item Schedulers;
10645@item Pathfinding algorithms, such as Dijkstra's and A*.
10646@end itemize")
10647 (license license:bsd-3)))
b1dbc9f5
ASM
10648
10649(define-public ghc-pwstore-fast
10650 (package
10651 (name "ghc-pwstore-fast")
10652 (version "2.4.4")
10653 (source
10654 (origin
10655 (method url-fetch)
10656 (uri (string-append
10657 "https://hackage.haskell.org/package/pwstore-fast/"
10658 "pwstore-fast-" version ".tar.gz"))
10659 (sha256
10660 (base32
10661 "1cpvlwzg3qznhygrr78f75p65mnljd9v5cvnagfxjqppnrkay6bj"))))
10662 (build-system haskell-build-system)
10663 (inputs
10664 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
10665 ("ghc-cryptohash" ,ghc-cryptohash)
10666 ("ghc-random" ,ghc-random)
10667 ("ghc-byteable" ,ghc-byteable)))
10668 (home-page "https://github.com/PeterScott/pwstore")
10669 (synopsis "Secure password storage")
10670 (description
10671 "To store passwords securely, they should be salted, then hashed with
10672a slow hash function. This library uses PBKDF1-SHA256, and handles all the
10673details. It uses the cryptohash package for speed; if you need a pure
10674Haskell library, pwstore-purehaskell has the exact same API, but uses only
10675pure Haskell. It is about 25 times slower than this package, but still quite
10676usable.")
10677 (license license:bsd-3)))
dddbc90c
RV
10678
10679(define-public ghc-random
10680 (package
10681 (name "ghc-random")
10682 (version "1.1")
534d6caa 10683 (outputs '("out" "static" "doc"))
dddbc90c
RV
10684 (source
10685 (origin
10686 (method url-fetch)
10687 (uri (string-append
10688 "https://hackage.haskell.org/package/random/random-"
10689 version
10690 ".tar.gz"))
10691 (sha256
10692 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
10693 (build-system haskell-build-system)
10694 (home-page "https://hackage.haskell.org/package/random")
10695 (synopsis "Random number library")
10696 (description "This package provides a basic random number generation
10697library, including the ability to split random number generators.")
10698 (license license:bsd-3)))
10699
10700(define-public ghc-raw-strings-qq
10701 (package
10702 (name "ghc-raw-strings-qq")
10703 (version "1.1")
10704 (source
10705 (origin
10706 (method url-fetch)
10707 (uri (string-append "https://hackage.haskell.org/package/"
10708 "raw-strings-qq/raw-strings-qq-"
10709 version ".tar.gz"))
10710 (sha256
10711 (base32
10712 "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f"))))
10713 (build-system haskell-build-system)
10714 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
10715 (home-page "https://github.com/23Skidoo/raw-strings-qq")
10716 (synopsis "Raw string literals for Haskell")
10717 (description
10718 "This package provides a quasiquoter for raw string literals, i.e. string
10719literals that don't recognise the standard escape sequences. Basically, they
10720make your code more readable by freeing you from the responsibility to escape
10721backslashes. They are useful when working with regular expressions,
10722DOS/Windows paths and markup languages (such as XML).")
10723 (license license:bsd-3)))
10724
10725(define-public ghc-readable
10726 (package
10727 (name "ghc-readable")
10728 (version "0.3.1")
10729 (source
10730 (origin
10731 (method url-fetch)
10732 (uri (string-append "https://hackage.haskell.org/package/"
10733 "readable/readable-" version ".tar.gz"))
10734 (sha256
10735 (base32
10736 "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h"))))
10737 (build-system haskell-build-system)
10738 (home-page "https://github.com/mightybyte/readable")
10739 (synopsis "Type class for reading from Text and ByteString")
10740 (description "This package provides a @code{Readable} type class for
10741reading data types from @code{ByteString} and @code{Text}. It also
10742includes efficient implementations for common data types.")
10743 (license license:bsd-3)))
10744
10745(define-public ghc-rebase
10746 (package
10747 (name "ghc-rebase")
8d2ae3fe 10748 (version "1.3.1.1")
dddbc90c
RV
10749 (source
10750 (origin
10751 (method url-fetch)
10752 (uri (string-append "https://hackage.haskell.org/package/"
10753 "rebase-" version "/"
10754 "rebase-" version ".tar.gz"))
10755 (sha256
10756 (base32
8d2ae3fe 10757 "0q4m2fa7wkgxs0grir8rlqwibasmi3s1x7c107ynndwfm62nzv0a"))))
dddbc90c 10758 (build-system haskell-build-system)
e396e936 10759 (outputs '("out" "static" "doc"))
dddbc90c
RV
10760 (inputs `(("ghc-hashable" ,ghc-hashable)
10761 ("ghc-vector" ,ghc-vector)
10762 ("ghc-unordered-containers" ,ghc-unordered-containers)
10763 ("ghc-scientific" ,ghc-scientific)
10764 ("ghc-uuid" ,ghc-uuid)
10765 ("ghc-dlist" ,ghc-dlist)
10766 ("ghc-void" ,ghc-void)
10767 ("ghc-bifunctors" ,ghc-bifunctors)
10768 ("ghc-profunctors" ,ghc-profunctors)
10769 ("ghc-contravariant" ,ghc-contravariant)
10770 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
10771 ("ghc-semigroups" ,ghc-semigroups)
10772 ("ghc-either" ,ghc-either)
10773 ("ghc-fail" ,ghc-fail)
10774 ("ghc-base-prelude" ,ghc-base-prelude)))
10775 (home-page "https://github.com/nikita-volkov/rebase")
10776 (synopsis "Progressive alternative to the base package
10777for Haskell")
10778 (description "This Haskell package is intended for those who are
10779tired of keeping long lists of dependencies to the same essential libraries
10780in each package as well as the endless imports of the same APIs all over again.
10781
10782It also supports the modern tendencies in the language.
10783
10784To solve those problems this package does the following:
10785
10786@itemize
10787@item Reexport the original APIs under the @code{Rebase} namespace.
10788
10789@item Export all the possible non-conflicting symbols from the
10790@code{Rebase.Prelude} module.
10791
10792@item Give priority to the modern practices in the conflicting cases.
10793@end itemize
10794
10795The policy behind the package is only to reexport the non-ambiguous and
10796non-controversial APIs, which the community has obviously settled on.
10797The package is intended to rapidly evolve with the contribution from
10798the community, with the missing features being added with pull-requests.")
10799 (license license:expat)))
10800
10801(define-public ghc-reducers
10802 (package
10803 (name "ghc-reducers")
10804 (version "3.12.3")
10805 (source
10806 (origin
10807 (method url-fetch)
10808 (uri (string-append
10809 "https://hackage.haskell.org/package/reducers/reducers-"
10810 version
10811 ".tar.gz"))
10812 (sha256
10813 (base32
10814 "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki"))))
10815 (build-system haskell-build-system)
10816 (inputs
10817 `(("ghc-fingertree" ,ghc-fingertree)
10818 ("ghc-hashable" ,ghc-hashable)
10819 ("ghc-unordered-containers" ,ghc-unordered-containers)
10820 ("ghc-semigroupoids" ,ghc-semigroupoids)
10821 ("ghc-semigroups" ,ghc-semigroups)))
10822 (home-page "https://github.com/ekmett/reducers/")
10823 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
10824 (description "This library provides various semigroups, specialized
10825containers and a general map/reduce framework for Haskell.")
10826 (license license:bsd-3)))
10827
10828(define-public ghc-refact
10829 (package
10830 (name "ghc-refact")
10831 (version "0.3.0.2")
10832 (source
10833 (origin
10834 (method url-fetch)
10835 (uri (string-append "https://hackage.haskell.org/package/"
10836 "refact/refact-"
10837 version ".tar.gz"))
10838 (sha256
10839 (base32
10840 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
10841 (build-system haskell-build-system)
3ef91e15 10842 (home-page "https://hackage.haskell.org/package/refact")
dddbc90c
RV
10843 (synopsis "Specify refactorings to perform with apply-refact")
10844 (description
10845 "This library provides a datatype which can be interpreted by
10846@code{apply-refact}. It exists as a separate library so that applications can
10847specify refactorings without depending on GHC.")
10848 (license license:bsd-3)))
10849
10850(define-public ghc-reflection
10851 (package
10852 (name "ghc-reflection")
d215f1cc 10853 (version "2.1.5")
dddbc90c
RV
10854 (source
10855 (origin
10856 (method url-fetch)
10857 (uri (string-append
10858 "https://hackage.haskell.org/package/reflection/reflection-"
10859 version
10860 ".tar.gz"))
10861 (sha256
10862 (base32
d215f1cc 10863 "0xr947nj1vww5b8fwqmypxm3y3j5sxl4z8wnf834f83jzfzyjbi7"))))
dddbc90c
RV
10864 (build-system haskell-build-system)
10865 (inputs `(("ghc-tagged" ,ghc-tagged)))
d215f1cc
TS
10866 (native-inputs
10867 `(("ghc-hspec" ,ghc-hspec)
10868 ("ghc-quickcheck" ,ghc-quickcheck)
10869 ("hspec-discover" ,hspec-discover)))
dddbc90c
RV
10870 (home-page "https://github.com/ekmett/reflection")
10871 (synopsis "Reify arbitrary terms into types that can be reflected back
10872into terms")
10873 (description "This package addresses the 'configuration problem' which is
10874propagating configurations that are available at run-time, allowing multiple
10875configurations to coexist without resorting to mutable global variables or
10876@code{System.IO.Unsafe.unsafePerformIO}.")
10877 (license license:bsd-3)))
10878
10879(define-public ghc-regex
10880 (package
10881 (name "ghc-regex")
b9a5e634 10882 (version "1.0.2.0")
dddbc90c
RV
10883 (source
10884 (origin
10885 (method url-fetch)
10886 (uri (string-append "https://hackage.haskell.org/package/regex/"
10887 "regex-" version ".tar.gz"))
10888 (sha256
10889 (base32
b9a5e634 10890 "1f2z025hif1fr24b5khq3qxxyvpxrnhyx8xmbms332arw28rpkda"))))
dddbc90c
RV
10891 (build-system haskell-build-system)
10892 (arguments
10893 `(#:phases
10894 (modify-phases %standard-phases
10895 (add-after 'unpack 'relax-dependencies
10896 (lambda _
10897 (substitute* "regex.cabal"
10898 (("base-compat.*>=.*0.6.*")
10899 "base-compat >= 0.6\n")
10900 (("template-haskell.*>=.*2.7.*")
10901 "template-haskell >= 2.7\n"))
10902 #t)))))
10903 (inputs
10904 `(("ghc-base-compat" ,ghc-base-compat)
10905 ("ghc-hashable" ,ghc-hashable)
10906 ("ghc-regex-base" ,ghc-regex-base)
10907 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
10908 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
10909 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
10910 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
10911 ("ghc-unordered-containers" ,ghc-unordered-containers)
10912 ("ghc-utf8-string" ,ghc-utf8-string)))
10913 (home-page "http://regex.uk")
10914 (synopsis "Toolkit for regex-base")
10915 (description
10916 "This package provides a regular expression toolkit for @code{regex-base}
10917with compile-time checking of regular expression syntax, data types for
10918matches and captures, a text replacement toolkit, portable options, high-level
10919AWK-like tools for building text processing apps, regular expression macros
10920with parsers and test bench, comprehensive documentation, tutorials and
10921copious examples.")
10922 (license license:bsd-3)))
10923
10924(define-public ghc-regex-applicative
10925 (package
10926 (name "ghc-regex-applicative")
30f60e42 10927 (version "0.3.3.1")
dddbc90c
RV
10928 (source
10929 (origin
10930 (method url-fetch)
10931 (uri (string-append
10932 "https://hackage.haskell.org/package/regex-applicative/"
10933 "regex-applicative-" version ".tar.gz"))
10934 (sha256
10935 (base32
30f60e42 10936 "0p0anx5vamrhrdvviwkh2zn6pa3pv2bjb7nfyc7dvz2q7g14y1lg"))))
dddbc90c
RV
10937 (build-system haskell-build-system)
10938 (inputs
10939 `(("ghc-smallcheck" ,ghc-smallcheck)
10940 ("ghc-tasty" ,ghc-tasty)
10941 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
10942 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
10943 (home-page "https://github.com/feuerbach/regex-applicative")
10944 (synopsis "Regex-based parsing with applicative interface")
10945 (description
10946 "@code{regex-applicative} is a Haskell library for parsing using
10947regular expressions. Parsers can be built using Applicative interface.")
10948 (license license:expat)))
10949
10950(define-public ghc-regex-base
10951 (package
10952 (name "ghc-regex-base")
10953 (version "0.93.2")
10954 (source
10955 (origin
10956 (method url-fetch)
10957 (uri (string-append
10958 "https://hackage.haskell.org/package/regex-base/regex-base-"
10959 version
10960 ".tar.gz"))
10961 (sha256
10962 (base32
10963 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
10964 (build-system haskell-build-system)
10965 (home-page
10966 "https://sourceforge.net/projects/lazy-regex")
10967 (synopsis "Replaces/Enhances Text.Regex")
10968 (description "@code{Text.Regex.Base} provides the interface API for
10969regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
10970 (license license:bsd-3)))
10971
10972(define-public ghc-regex-compat
10973 (package
10974 (name "ghc-regex-compat")
10975 (version "0.95.1")
10976 (source
10977 (origin
10978 (method url-fetch)
10979 (uri (string-append
10980 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
10981 version
10982 ".tar.gz"))
10983 (sha256
10984 (base32
10985 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
10986 (build-system haskell-build-system)
10987 (inputs
10988 `(("ghc-regex-base" ,ghc-regex-base)
10989 ("ghc-regex-posix" ,ghc-regex-posix)))
10990 (home-page "https://sourceforge.net/projects/lazy-regex")
10991 (synopsis "Replaces/Enhances Text.Regex")
10992 (description "This library provides one module layer over
10993@code{regex-posix} to replace @code{Text.Regex}.")
10994 (license license:bsd-3)))
10995
10996(define-public ghc-regex-compat-tdfa
10997 (package
10998 (name "ghc-regex-compat-tdfa")
10999 (version "0.95.1.4")
11000 (source
11001 (origin
11002 (method url-fetch)
11003 (uri (string-append
11004 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
11005 version ".tar.gz"))
11006 (sha256
11007 (base32
11008 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
11009 (build-system haskell-build-system)
11010 (inputs
11011 `(("ghc-regex-base" ,ghc-regex-base)
11012 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
11013 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
11014 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
11015 (description
11016 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
11017@code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
11018This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
11019this problem.")
11020 (license license:bsd-3)))
11021
ddd79836
MB
11022(define-public ghc-regex-pcre
11023 (package
11024 (name "ghc-regex-pcre")
11025 (version "0.94.4")
11026 (source (origin
11027 (method url-fetch)
11028 (uri (string-append "https://hackage.haskell.org/package/"
11029 "regex-pcre/regex-pcre-" version ".tar.gz"))
11030 (sha256
11031 (base32
11032 "1h16w994g9s62iwkdqa7bar2n9cfixmkzz2rm8svm960qr57valf"))))
11033 (build-system haskell-build-system)
991ca499
TS
11034 (arguments
11035 `(#:extra-directories ("pcre")))
ddd79836
MB
11036 (inputs
11037 `(("ghc-regex-base" ,ghc-regex-base)
11038 ("pcre" ,pcre)))
11039 (home-page "https://hackage.haskell.org/package/regex-pcre")
11040 (synopsis "Enhancement of the builtin Text.Regex library")
11041 (description
11042 "This package is an enhancement of the @code{Text.Regex} library.
11043It wraps the @code{PCRE} C library providing Perl-compatible regular
11044expressions.")
11045 (license license:bsd-3)))
11046
dddbc90c
RV
11047(define-public ghc-regex-pcre-builtin
11048 (package
11049 (name "ghc-regex-pcre-builtin")
ee946143 11050 (version "0.94.5.8.8.35")
dddbc90c
RV
11051 (source (origin
11052 (method url-fetch)
11053 (uri (string-append "https://hackage.haskell.org/package/"
11054 "regex-pcre-builtin/regex-pcre-builtin-"
11055 version ".tar.gz"))
11056 (sha256
11057 (base32
ee946143 11058 "1s755qdg1mxrf125sh83bsc5kjkrj8fkq8wf6dg1jan86c7p7gl4"))))
dddbc90c
RV
11059 (build-system haskell-build-system)
11060 (inputs
11061 `(("ghc-regex-base" ,ghc-regex-base)))
4723766b 11062 (home-page "https://hackage.haskell.org/package/regex-pcre-builtin")
dddbc90c
RV
11063 (synopsis "Enhancement of the builtin Text.Regex library")
11064 (description
11065 "This package is an enhancement of the @code{Text.Regex} library,
11066providing the PCRE backend to accompany regex-base, with bundled code from
11067@url{https://www.pcre.org}.")
11068 (license license:bsd-3)))
11069
11070(define-public ghc-regex-posix
11071 (package
11072 (name "ghc-regex-posix")
11073 (version "0.95.2")
11074 (source
11075 (origin
11076 (method url-fetch)
11077 (uri (string-append
11078 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
11079 version
11080 ".tar.gz"))
11081 (sha256
11082 (base32
11083 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
11084 (build-system haskell-build-system)
11085 (inputs
11086 `(("ghc-regex-base" ,ghc-regex-base)))
11087 (home-page "https://sourceforge.net/projects/lazy-regex")
11088 (synopsis "POSIX regular expressions for Haskell")
11089 (description "This library provides the POSIX regex backend used by the
11090Haskell library @code{regex-base}.")
11091 (license license:bsd-3)))
11092
11093(define-public ghc-regex-tdfa
11094 (package
11095 (name "ghc-regex-tdfa")
ce684db0 11096 (version "1.2.3.2")
dddbc90c
RV
11097 (source
11098 (origin
11099 (method url-fetch)
11100 (uri (string-append
11101 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
11102 version ".tar.gz"))
11103 (sha256
11104 (base32
ce684db0 11105 "03yhpqrqz977nwlnhnyz9dacnbzw8xb6j18h365rkgmbc05sb3hf"))))
dddbc90c 11106 (build-system haskell-build-system)
54c8209e 11107 (outputs '("out" "static" "doc"))
dddbc90c
RV
11108 (inputs
11109 `(("ghc-regex-base" ,ghc-regex-base)))
90b74c6f 11110 (home-page "https://github.com/haskell-hvr/regex-tdfa")
dddbc90c
RV
11111 (synopsis "POSIX extended regular expressions in Haskell.")
11112 (description
11113 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
11114extended regular expressions. It is a \"tagged\" DFA regex engine. It is
11115inspired by libtre.")
11116 (license license:bsd-3)))
11117
11118(define-public ghc-regex-tdfa-text
11119 (package
11120 (name "ghc-regex-tdfa-text")
11121 (version "1.0.0.3")
11122 (source
11123 (origin
11124 (method url-fetch)
11125 (uri (string-append
11126 "https://hackage.haskell.org/package/regex-tdfa-text/"
11127 "regex-tdfa-text-" version ".tar.gz"))
11128 (sha256
11129 (base32
11130 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
11131 (build-system haskell-build-system)
11132 (inputs
11133 `(("ghc-regex-base" ,ghc-regex-base)
11134 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
11135 (home-page
3ef91e15 11136 "https://hackage.haskell.org/package/regex-tdfa-text")
dddbc90c
RV
11137 (synopsis "Text interface for regex-tdfa")
11138 (description
11139 "This provides an extra text interface for regex-tdfa.")
11140 (license license:bsd-3)))
11141
798a2df4
JS
11142(define-public ghc-repline
11143 (package
11144 (name "ghc-repline")
11145 (version "0.2.0.0")
11146 (source
11147 (origin
11148 (method url-fetch)
11149 (uri (string-append
11150 "mirror://hackage/package/repline/repline-"
11151 version
11152 ".tar.gz"))
11153 (sha256
11154 (base32
11155 "1ph21kbbanlcs8n5lwk16g9vqkb98mkbz5mzwrp8j2rls2921izc"))))
11156 (build-system haskell-build-system)
11157 (home-page "https://github.com/sdiehl/repline")
11158 (synopsis "Haskeline wrapper for GHCi-like REPL interfaces")
11159 (description
11160 "Haskeline wrapper for GHCi-like REPL interfaces. Composable with
11161normal mtl transformers.")
11162 (license license:expat)))
11163
6c0858dd
JS
11164(define-public ghc-repline-0.3
11165 (package
11166 (inherit ghc-repline)
11167 (version "0.3.0.0")
11168 (source
11169 (origin
11170 (method url-fetch)
11171 (uri (string-append
11172 "mirror://hackage/package/repline/repline-"
11173 version
11174 ".tar.gz"))
11175 (sha256
11176 (base32
11177 "0niihfyggg2qisadg7w49cr5k5qyyynia93iip0ng2bbmzwi88g8"))))
11178 (inputs
11179 `(("ghc-exceptions" ,ghc-exceptions)
11180 ("ghc-haskeline" ,ghc-haskeline-0.8)))))
11181
dddbc90c
RV
11182(define-public ghc-rerebase
11183 (package
11184 (name "ghc-rerebase")
cdec7b8c 11185 (version "1.3.1.1")
dddbc90c
RV
11186 (source
11187 (origin
11188 (method url-fetch)
11189 (uri (string-append
11190 "https://hackage.haskell.org/package/rerebase/rerebase-"
11191 version ".tar.gz"))
11192 (sha256
11193 (base32
cdec7b8c 11194 "1jbqif6k249rkknm2zwk8v8jil3kgi9ar53358v8l4ffx346rm82"))))
dddbc90c 11195 (build-system haskell-build-system)
af2f91ec 11196 (outputs '("out" "static" "doc"))
dddbc90c
RV
11197 (inputs
11198 `(("ghc-rebase" ,ghc-rebase)))
11199 (home-page "https://github.com/nikita-volkov/rerebase")
11200 (synopsis "Reexports from ``base'' with many other standard libraries")
11201 (description "A rich drop-in replacement for @code{base}. For details and
11202documentation please visit @uref{https://github.com/nikita-volkov/rerebase,
11203the project's home page}.")
11204 (license license:expat)))
11205
11206(define-public ghc-resolv
11207 (package
11208 (name "ghc-resolv")
87309478 11209 (version "0.1.1.2")
dddbc90c
RV
11210 (source
11211 (origin
11212 (method url-fetch)
11213 (uri (string-append
11214 "https://hackage.haskell.org/package/resolv/resolv-"
11215 version ".tar.gz"))
11216 (sha256
11217 (base32
87309478 11218 "0wczdy3vmpfcfwjn1m95bygc5d83m97xxmavhdvy5ayn8c402fp4"))))
dddbc90c
RV
11219 (build-system haskell-build-system)
11220 (arguments
87309478
TS
11221 `(#:phases
11222 (modify-phases %standard-phases
11223 (add-before 'configure 'update-constraints
11224 (lambda _
11225 (substitute* "resolv.cabal"
11226 (("tasty >= 1\\.1 && < 1\\.2")
11227 "tasty >= 1.1 && < 1.3"))
11228 #t)))))
dddbc90c
RV
11229 (inputs
11230 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)))
87309478
TS
11231 (native-inputs
11232 `(("ghc-tasty" ,ghc-tasty)
11233 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
dddbc90c
RV
11234 (home-page "https://github.com/haskell/hackage-security")
11235 (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}")
11236 (description "This package implements an API for accessing the
11237@uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)}
11238resolver service via the standard @code{libresolv} system library (whose
11239API is often available directly via the standard @code{libc} C library) on
11240Unix systems.")
11241 (license license:gpl3)))
11242
11243(define-public ghc-resource-pool
11244 (package
11245 (name "ghc-resource-pool")
11246 (version "0.2.3.2")
11247 (source
11248 (origin
11249 (method url-fetch)
11250 (uri (string-append "https://hackage.haskell.org/package/"
11251 "resource-pool-" version "/"
11252 "resource-pool-" version ".tar.gz"))
11253 (sha256
11254 (base32
11255 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
11256 (build-system haskell-build-system)
11257 (inputs `(("ghc-hashable" ,ghc-hashable)
11258 ("ghc-monad-control" ,ghc-monad-control)
11259 ("ghc-transformers-base" ,ghc-transformers-base)
11260 ("ghc-vector" ,ghc-vector)))
11261 (home-page "https://github.com/bos/pool")
11262 (synopsis "Striped resource pooling implementation in Haskell")
11263 (description "This Haskell package provides striped pooling abstraction
11264for managing flexibly-sized collections of resources such as database
11265connections.")
11266 (license license:bsd-3)))
11267
11268(define-public ghc-resourcet
11269 (package
11270 (name "ghc-resourcet")
9ac341ac 11271 (version "1.2.2")
dddbc90c
RV
11272 (source
11273 (origin
11274 (method url-fetch)
11275 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
11276 "resourcet-" version ".tar.gz"))
11277 (sha256
11278 (base32
9ac341ac 11279 "1rfbfcv3r1h29y0yqr3x6a1s04lbc3vzm3jqnfg4f9rqp9d448qk"))))
dddbc90c
RV
11280 (build-system haskell-build-system)
11281 (inputs
11282 `(("ghc-transformers-base" ,ghc-transformers-base)
11283 ("ghc-monad-control" ,ghc-monad-control)
11284 ("ghc-transformers-compat" ,ghc-transformers-compat)
11285 ("ghc-mmorph" ,ghc-mmorph)
11286 ("ghc-exceptions" ,ghc-exceptions)
11287 ("ghc-unliftio-core" ,ghc-unliftio-core)))
11288 (native-inputs
11289 `(("ghc-lifted-base" ,ghc-lifted-base)
11290 ("ghc-hspec" ,ghc-hspec)))
11291 (home-page "https://github.com/snoyberg/conduit")
11292 (synopsis "Deterministic allocation and freeing of scarce resources")
11293 (description "ResourceT is a monad transformer which creates a region of
11294code where you can safely allocate resources.")
11295 (license license:bsd-3)))
11296
b9debc37
TS
11297(define-public ghc-retry
11298 (package
11299 (name "ghc-retry")
11300 (version "0.8.1.0")
11301 (source
11302 (origin
11303 (method url-fetch)
11304 (uri (string-append "https://hackage.haskell.org/package/"
11305 "retry/retry-" version ".tar.gz"))
11306 (sha256
11307 (base32
11308 "02k03r86amg1vbrsvb644342ym13d9jwkzki9sk93pdg5l8j35dj"))))
11309 (build-system haskell-build-system)
11310 (inputs
11311 `(("ghc-exceptions" ,ghc-exceptions)
11312 ("ghc-random" ,ghc-random)))
11313 (native-inputs
11314 `(("ghc-hunit" ,ghc-hunit)
11315 ("ghc-tasty" ,ghc-tasty)
11316 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11317 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
11318 ("ghc-hedgehog" ,ghc-hedgehog)))
702a1012 11319 (home-page "https://github.com/Soostone/retry")
b9debc37
TS
11320 (synopsis "Retry combinators for monadic actions that may fail")
11321 (description "This package exposes combinators that can wrap
11322arbitrary monadic actions. They run the action and potentially retry
11323running it with some configurable delay for a configurable number of
11324times. The purpose is to make it easier to work with IO and especially
11325network IO actions that often experience temporary failure and warrant
11326retrying of the original action. For example, a database query may time
11327out for a while, in which case we should hang back for a bit and retry
11328the query instead of simply raising an exception.")
11329 (license license:bsd-3)))
11330
dddbc90c
RV
11331(define-public ghc-rfc5051
11332 (package
11333 (name "ghc-rfc5051")
ec42ab7c 11334 (version "0.1.0.4")
dddbc90c
RV
11335 (source
11336 (origin
11337 (method url-fetch)
11338 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
11339 "rfc5051-" version ".tar.gz"))
11340 (sha256
11341 (base32
ec42ab7c 11342 "1lxkq414ni986ciml4gbvf463fn55z299knky7pq3ixb1qislpb1"))))
dddbc90c
RV
11343 (build-system haskell-build-system)
11344 (home-page "https://hackage.haskell.org/package/rfc5051")
11345 (synopsis "Simple unicode collation as per RFC5051")
11346 (description
11347 "This library implements @code{unicode-casemap}, the simple, non
11348locale-sensitive unicode collation algorithm described in RFC 5051. Proper
11349unicode collation can be done using @code{text-icu}, but that is a big
11350dependency that depends on a large C library, and @code{rfc5051} might be
11351better for some purposes.")
11352 (license license:bsd-3)))
11353
11354(define-public ghc-rio
11355 (package
11356 (name "ghc-rio")
8bda2fa7 11357 (version "0.1.12.0")
dddbc90c
RV
11358 (source
11359 (origin
11360 (method url-fetch)
11361 (uri (string-append
11362 "https://hackage.haskell.org/package/rio/rio-"
11363 version ".tar.gz"))
11364 (sha256
11365 (base32
8bda2fa7 11366 "0xzjkh6aavynpyskikhs8dmv0zhkiqiwz9zdn80zbd25b2182pif"))))
dddbc90c
RV
11367 (build-system haskell-build-system)
11368 (inputs
11369 `(("ghc-exceptions" ,ghc-exceptions)
11370 ("ghc-hashable" ,ghc-hashable)
11371 ("ghc-microlens" ,ghc-microlens)
11372 ("ghc-primitive" ,ghc-primitive)
11373 ("ghc-typed-process" ,ghc-typed-process)
11374 ("ghc-unliftio" ,ghc-unliftio)
11375 ("ghc-unordered-containers" ,ghc-unordered-containers)
11376 ("ghc-vector" ,ghc-vector)))
11377 (native-inputs
11378 `(("ghc-hspec" ,ghc-hspec)
11379 ("hspec-discover" ,hspec-discover)))
11380 (home-page "https://github.com/commercialhaskell/rio#readme")
11381 (synopsis "A standard library for Haskell")
11382 (description "This package works as a prelude replacement for Haskell,
11383providing more functionality and types out of the box than the standard
11384prelude (such as common data types like @code{ByteString} and
11385@code{Text}), as well as removing common ``gotchas'', like partial
11386functions and lazy I/O. The guiding principle here is:
11387@itemize
11388@item If something is safe to use in general and has no expected naming
11389conflicts, expose it.
11390@item If something should not always be used, or has naming conflicts,
11391expose it from another module in the hierarchy.
11392@end itemize")
11393 (license license:expat)))
11394
11395(define-public ghc-safe
11396 (package
11397 (name "ghc-safe")
11398 (version "0.3.17")
11399 (source
11400 (origin
11401 (method url-fetch)
11402 (uri (string-append
11403 "https://hackage.haskell.org/package/safe/safe-"
11404 version
11405 ".tar.gz"))
11406 (sha256
11407 (base32
11408 "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr"))))
11409 (build-system haskell-build-system)
11410 (native-inputs
11411 `(("ghc-quickcheck" ,ghc-quickcheck)))
11412 (home-page "https://github.com/ndmitchell/safe#readme")
11413 (synopsis "Library of safe (exception free) functions")
11414 (description "This library provides wrappers around @code{Prelude} and
11415@code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
11416exceptions.")
11417 (license license:bsd-3)))
11418
11419(define-public ghc-safe-exceptions
11420 (package
11421 (name "ghc-safe-exceptions")
11422 (version "0.1.7.0")
11423 (source
11424 (origin
11425 (method url-fetch)
11426 (uri (string-append "https://hackage.haskell.org/package/"
11427 "safe-exceptions/safe-exceptions-"
11428 version ".tar.gz"))
11429 (sha256
11430 (base32
11431 "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q"))))
11432 (build-system haskell-build-system)
11433 (arguments
11434 '(#:cabal-revision
11435 ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32")))
11436 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
11437 (native-inputs
11438 `(("ghc-hspec" ,ghc-hspec)
11439 ("ghc-void" ,ghc-void)
11440 ("hspec-discover" ,hspec-discover)))
11441 (home-page "https://github.com/fpco/safe-exceptions")
11442 (synopsis "Safe, consistent, and easy exception handling")
11443 (description "Runtime exceptions - as exposed in @code{base} by the
11444@code{Control.Exception} module - have long been an intimidating part of the
11445Haskell ecosystem. This package is intended to overcome this. It provides a
11446safe and simple API on top of the existing exception handling machinery. The
11447API is equivalent to the underlying implementation in terms of power but
11448encourages best practices to minimize the chances of getting the exception
11449handling wrong.")
11450 (license license:expat)))
11451
11452(define-public ghc-safeio
11453 (package
11454 (name "ghc-safeio")
11455 (version "0.0.5.0")
11456 (source
11457 (origin
11458 (method url-fetch)
11459 (uri (string-append "https://hackage.haskell.org/package/safeio/"
11460 "safeio-" version ".tar.gz"))
11461 (sha256
11462 (base32
11463 "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm"))))
11464 (build-system haskell-build-system)
11465 (inputs
11466 `(("ghc-conduit" ,ghc-conduit)
11467 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
11468 ("ghc-exceptions" ,ghc-exceptions)
11469 ("ghc-resourcet" ,ghc-resourcet)))
11470 (native-inputs
11471 `(("ghc-hunit" ,ghc-hunit)
11472 ("ghc-test-framework" ,ghc-test-framework)
11473 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11474 ("ghc-test-framework-th" ,ghc-test-framework-th)))
11475 (home-page "https://github.com/luispedro/safeio")
11476 (synopsis "Write output to disk atomically")
11477 (description
11478 "This package implements utilities to perform atomic output so as to
11479avoid the problem of partial intermediate files.")
11480 (license license:expat)))
11481
11482(define-public ghc-safesemaphore
11483 (package
11484 (name "ghc-safesemaphore")
11485 (version "0.10.1")
11486 (source
11487 (origin
11488 (method url-fetch)
11489 (uri (string-append "https://hackage.haskell.org/package/"
11490 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
11491 (sha256
11492 (base32
11493 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
11494 (build-system haskell-build-system)
11495 (native-inputs
11496 `(("ghc-hunit" ,ghc-hunit)))
11497 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
11498 (synopsis "Exception safe semaphores")
11499 (description "This library provides exception safe semaphores that can be
11500used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
11501are not exception safe and can be broken by @code{killThread}.")
11502 (license license:bsd-3)))
11503
11504(define-public ghc-sandi
11505 (package
11506 (name "ghc-sandi")
b867c2b0 11507 (version "0.5")
dddbc90c
RV
11508 (source
11509 (origin
11510 (method url-fetch)
11511 (uri (string-append
11512 "https://hackage.haskell.org/package/sandi/sandi-"
11513 version ".tar.gz"))
11514 (sha256
11515 (base32
b867c2b0 11516 "1ndgai8idlxyccvkz5zsgq06v58blc30i6hkky5b1sf5x6gs2h29"))))
dddbc90c
RV
11517 (build-system haskell-build-system)
11518 (inputs
11519 `(("ghc-stringsearch" ,ghc-stringsearch)
11520 ("ghc-conduit" ,ghc-conduit)
11521 ("ghc-exceptions" ,ghc-exceptions)
11522 ("ghc-hunit" ,ghc-hunit)
11523 ("ghc-tasty" ,ghc-tasty)
11524 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11525 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11526 ("ghc-tasty-th" ,ghc-tasty-th)))
11527 (home-page "https://hackage.haskell.org/package/sandi")
11528 (synopsis "Data encoding library")
11529 (description "Reasonably fast data encoding library.")
11530 (license license:bsd-3)))
11531
4da75228
ASM
11532(define-public ghc-say
11533 (package
11534 (name "ghc-say")
11535 (version "0.1.0.1")
11536 (source
11537 (origin
11538 (method url-fetch)
11539 (uri (string-append
11540 "https://hackage.haskell.org/package/say/say-"
11541 version
11542 ".tar.gz"))
11543 (sha256
11544 (base32
11545 "1r5kffjfwpas45g74sip8glrj1m9nygrnxjm7xgw898rq9pnafgn"))))
11546 (build-system haskell-build-system)
11547 (native-inputs
11548 `(("ghc-hspec" ,ghc-hspec)
11549 ("hspec-discover" ,hspec-discover)
11550 ("ghc-unliftio" ,ghc-unliftio)))
11551 (home-page "https://github.com/fpco/say")
11552 (synopsis
11553 "Send textual messages to a Handle in a thread-friendly way")
11554 (description
11555 "A thread safe API to write a line of textual data to a Handle, such
11556as sending some messages to the terminal - that has the following properties:
11557@itemize
11558@item Properly handle character encoding settings on the Handle
11559@item For reasonably sized messages, ensure that the entire message is written
11560 in one chunk to avoid interleaving data with other threads
11561@item Avoid unnecessary memory allocations and copies
11562@item Minimize locking.
11563@end itemize")
11564 (license license:expat)))
11565
dddbc90c
RV
11566(define-public ghc-scientific
11567 (package
11568 (name "ghc-scientific")
11569 (version "0.3.6.2")
11570 (source
11571 (origin
11572 (method url-fetch)
11573 (uri (string-append
11574 "https://hackage.haskell.org/package/scientific/scientific-"
11575 version
11576 ".tar.gz"))
11577 (sha256
11578 (base32
11579 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
11580 (build-system haskell-build-system)
11581 (inputs
11582 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
11583 ("ghc-hashable" ,ghc-hashable)
11584 ("ghc-primitive" ,ghc-primitive)))
11585 (native-inputs
11586 `(("ghc-tasty" ,ghc-tasty)
11587 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
11588 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11589 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
11590 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11591 ("ghc-smallcheck" ,ghc-smallcheck)
11592 ("ghc-quickcheck" ,ghc-quickcheck)))
11593 (home-page "https://github.com/basvandijk/scientific")
11594 (synopsis "Numbers represented using scientific notation")
11595 (description "This package provides @code{Data.Scientific}, which provides
11596the number type @code{Scientific}. Scientific numbers are arbitrary precision
11597and space efficient. They are represented using
11598@uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
11599notation}.")
11600 (license license:bsd-3)))
11601
11602(define-public ghc-scientific-bootstrap
11603 (package
11604 (inherit ghc-scientific)
11605 (name "ghc-scientific-bootstrap")
11606 (arguments `(#:tests? #f))
11607 (inputs
11608 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
11609 ("ghc-hashable" ,ghc-hashable)
11610 ("ghc-primitive" ,ghc-primitive)))
11611 (native-inputs '())
799d8d3c 11612 (properties '((hidden? #t)))))
dddbc90c
RV
11613
11614(define-public ghc-sdl
11615 (package
11616 (name "ghc-sdl")
11617 (version "0.6.7.0")
11618 (source
11619 (origin
11620 (method url-fetch)
11621 (uri (string-append
11622 "https://hackage.haskell.org/package/SDL/SDL-"
11623 version
11624 ".tar.gz"))
11625 (sha256
11626 (base32
11627 "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq"))))
11628 (build-system haskell-build-system)
11629 (inputs
11630 `(("sdl" ,sdl)))
11631 (home-page "https://hackage.haskell.org/package/SDL")
11632 (synopsis "LibSDL for Haskell")
11633 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
11634multimedia library designed to provide low level access to audio, keyboard,
11635mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
11636by MPEG playback software, emulators, and many popular games, including the
11637award winning Linux port of \"Civilization: Call To Power.\"")
11638 (license license:bsd-3)))
11639
1874cdc1
RV
11640(define-public ghc-sdl2
11641 (package
11642 (name "ghc-sdl2")
145148ca 11643 (version "2.5.0.0")
1874cdc1
RV
11644 (source
11645 (origin
11646 (method url-fetch)
11647 (uri (string-append "https://hackage.haskell.org/package/"
11648 "sdl2/sdl2-" version ".tar.gz"))
11649 (sha256
11650 (base32
145148ca 11651 "1x368yhdd55b3cvx8dvj1sj6nzygzigbhrwhssjs4k0rcxlwqfw8"))))
1874cdc1
RV
11652 (build-system haskell-build-system)
11653 (arguments '(#:tests? #f)) ; tests require graphical environment
11654 (inputs
11655 `(("ghc-exceptions" ,ghc-exceptions)
11656 ("ghc-linear" ,ghc-linear)
11657 ("ghc-statevar" ,ghc-statevar)
11658 ("ghc-vector" ,ghc-vector)
11659 ("sdl2" ,sdl2)))
11660 (native-inputs
11661 `(("ghc-weigh" ,ghc-weigh)
11662 ("pkg-config" ,pkg-config)))
35437dbf 11663 (home-page "https://hackage.haskell.org/package/sdl2")
1874cdc1
RV
11664 (synopsis "High- and low-level bindings to the SDL library")
11665 (description
11666 "This package contains bindings to the SDL 2 library, in both high- and
11667low-level forms. The @code{SDL} namespace contains high-level bindings, where
11668enumerations are split into sum types, and we perform automatic
11669error-checking. The @code{SDL.Raw} namespace contains an almost 1-1
11670translation of the C API into Haskell FFI calls. As such, this does not
11671contain sum types nor error checking. Thus this namespace is suitable for
11672building your own abstraction over SDL, but is not recommended for day-to-day
11673programming.")
11674 (license license:bsd-3)))
11675
11676(define-public ghc-sdl2-image
11677 (package
11678 (name "ghc-sdl2-image")
11679 (version "2.0.0")
11680 (source
11681 (origin
11682 (method url-fetch)
11683 (uri (string-append "https://hackage.haskell.org/package/sdl2-image/"
11684 "sdl2-image-" version ".tar.gz"))
11685 (sha256
11686 (base32
11687 "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr"))))
11688 (build-system haskell-build-system)
11689 (inputs
11690 `(("ghc-sdl2" ,ghc-sdl2)
11691 ("sdl2-image" ,sdl2-image)))
11692 (native-inputs
11693 `(("pkg-config" ,pkg-config)))
3ef91e15 11694 (home-page "https://hackage.haskell.org/package/sdl2-image")
1874cdc1
RV
11695 (synopsis "Bindings to SDL2_image")
11696 (description "This package provides Haskell bindings to
11697@code{SDL2_image}.")
11698 (license license:expat)))
11699
11700(define-public ghc-sdl2-mixer
11701 (package
11702 (name "ghc-sdl2-mixer")
11703 (version "1.1.0")
11704 (source
11705 (origin
11706 (method url-fetch)
11707 (uri (string-append "https://hackage.haskell.org/package/sdl2-mixer/"
11708 "sdl2-mixer-" version ".tar.gz"))
11709 (sha256
11710 (base32
11711 "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g"))))
11712 (build-system haskell-build-system)
11713 (inputs
11714 `(("ghc-data-default-class" ,ghc-data-default-class)
11715 ("ghc-lifted-base" ,ghc-lifted-base)
11716 ("ghc-monad-control" ,ghc-monad-control)
11717 ("ghc-sdl2" ,ghc-sdl2)
11718 ("ghc-vector" ,ghc-vector)
11719 ("sdl2-mixer" ,sdl2-mixer)))
11720 (native-inputs
11721 `(("pkg-config" ,pkg-config)))
3ef91e15 11722 (home-page "https://hackage.haskell.org/package/sdl2-mixer")
1874cdc1
RV
11723 (synopsis "Bindings to SDL2 mixer")
11724 (description "This package provides Haskell bindings to
11725@code{SDL2_mixer}.")
11726 (license license:bsd-3)))
11727
dddbc90c
RV
11728(define-public ghc-sdl-image
11729 (package
11730 (name "ghc-sdl-image")
11731 (version "0.6.2.0")
11732 (source
11733 (origin
11734 (method url-fetch)
11735 (uri (string-append
11736 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
11737 version
11738 ".tar.gz"))
11739 (sha256
11740 (base32
11741 "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1"))))
11742 (build-system haskell-build-system)
11743 (arguments
11744 `(#:configure-flags
11745 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
11746 (sdl-image-include (string-append sdl-image "/include/SDL")))
11747 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
11748 (inputs
11749 `(("ghc-sdl" ,ghc-sdl)
11750 ("sdl-image" ,sdl-image)))
11751 (home-page "https://hackage.haskell.org/package/SDL-image")
11752 (synopsis "Haskell bindings to libSDL_image")
11753 (description "SDL_image is an image file loading library. It loads images
11754as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
11755PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
11756 (license license:bsd-3)))
11757
11758(define-public ghc-sdl-mixer
11759 (package
11760 (name "ghc-sdl-mixer")
11761 (version "0.6.3.0")
11762 (source
11763 (origin
11764 (method url-fetch)
11765 (uri (string-append
11766 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
11767 version
11768 ".tar.gz"))
11769 (sha256
11770 (base32
11771 "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r"))))
11772 (build-system haskell-build-system)
11773 (arguments
11774 `(#:configure-flags
11775 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
11776 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
11777 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
11778 (inputs
11779 `(("ghc-sdl" ,ghc-sdl)
11780 ("sdl-mixer" ,sdl-mixer)))
11781 (home-page "https://hackage.haskell.org/package/SDL-mixer")
11782 (synopsis "Haskell bindings to libSDL_mixer")
11783 (description "SDL_mixer is a sample multi-channel audio mixer library. It
11784supports any number of simultaneously playing channels of 16 bit stereo audio,
11785plus a single channel of music, mixed by the popular MikMod MOD, Timidity
11786MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
11787 (license license:bsd-3)))
11788
11789(define-public ghc-securemem
11790 (package
11791 (name "ghc-securemem")
11792 (version "0.1.10")
11793 (source
11794 (origin
11795 (method url-fetch)
11796 (uri (string-append "https://hackage.haskell.org/package/"
11797 "securemem-" version "/"
11798 "securemem-" version ".tar.gz"))
11799 (sha256
11800 (base32
11801 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
11802 (build-system haskell-build-system)
11803 (inputs `(("ghc-byteable" ,ghc-byteable)
11804 ("ghc-memory" ,ghc-memory)))
11805 (home-page "https://github.com/vincenthz/hs-securemem")
11806 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
11807Haskell")
11808 (description "SecureMem is similar to ByteString, except that it provides
11809a memory chunk that will be auto-scrubbed after it run out of scope.")
11810 (license license:bsd-3)))
11811
3cf7219c
JS
11812(define-public ghc-semialign
11813 (package
11814 (name "ghc-semialign")
11815 (version "1")
11816 (source
11817 (origin
11818 (method url-fetch)
11819 (uri (string-append
11820 "https://hackage.haskell.org/package/semialign/semialign-"
11821 version
11822 ".tar.gz"))
11823 (sha256
11824 (base32
11825 "004x0a80sqqdgvsyk4z0nasxpi6z3g1d8kgwj804bj9ka8dlc75m"))))
11826 (build-system haskell-build-system)
11827 (inputs
11828 `(("ghc-these" ,ghc-these)
11829 ("ghc-base-compat" ,ghc-base-compat)
11830 ("ghc-hashable" ,ghc-hashable)
11831 ("ghc-tagged" ,ghc-tagged)
11832 ("ghc-unordered-containers" ,ghc-unordered-containers)
11833 ("ghc-vector" ,ghc-vector)
11834 ("ghc-semigroupoids" ,ghc-semigroupoids)))
11835 (arguments
11836 `(#:cabal-revision
11837 ("1"
11838 "0qnqnyfng4kwy2h2anrcy5id2ijnawava3zcc5h5b8ri1y6ks6zi")))
11839 (home-page
11840 "https://github.com/isomorphism/these")
11841 (synopsis
11842 "Align and Zip type-classes from the common Semialign ancestor ")
11843 (description
11844 "The major use of @code{These} of this is provided by the
11845@code{align} member of @code{Semialign} class, representing a
11846generalized notion of \"zipping with padding\" that combines
11847structures without truncating to the size of the smaller input. It
11848turns out that @code{zip} operation fits well the @code{Semialign}
11849class, forming lattice-like structure.")
11850 (license license:bsd-3)))
11851
dddbc90c
RV
11852(define-public ghc-semigroupoids
11853 (package
11854 (name "ghc-semigroupoids")
a8aaadf2 11855 (version "5.3.3")
dddbc90c
RV
11856 (source
11857 (origin
11858 (method url-fetch)
11859 (uri (string-append
11860 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
11861 version
11862 ".tar.gz"))
11863 (sha256
11864 (base32
a8aaadf2 11865 "016hc4imr9l4szs3p7f1aahvxr5wv4clvr3qzrm3nibssg5vrs61"))))
dddbc90c 11866 (build-system haskell-build-system)
95eb946b 11867 (outputs '("out" "static" "doc"))
dddbc90c
RV
11868 (inputs
11869 `(("ghc-base-orphans" ,ghc-base-orphans)
11870 ("ghc-transformers-compat" ,ghc-transformers-compat)
11871 ("ghc-bifunctors" ,ghc-bifunctors)
11872 ("ghc-comonad" ,ghc-comonad)
11873 ("ghc-contravariant" ,ghc-contravariant)
11874 ("ghc-distributive" ,ghc-distributive)
11875 ("ghc-hashable" ,ghc-hashable)
11876 ("ghc-semigroups" ,ghc-semigroups)
11877 ("ghc-tagged" ,ghc-tagged)
11878 ("ghc-unordered-containers" ,ghc-unordered-containers)))
11879 (native-inputs
11880 `(("cabal-doctest" ,cabal-doctest)
11881 ("ghc-doctest" ,ghc-doctest)))
11882 (home-page "https://github.com/ekmett/semigroupoids")
11883 (synopsis "Semigroupoids operations for Haskell")
11884 (description "This library provides a wide array of (semi)groupoids and
11885operations for working with them. A @code{Semigroupoid} is a @code{Category}
11886without the requirement of identity arrows for every object in the category.
11887A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
11888Finally, to work with these weaker structures it is beneficial to have
11889containers that can provide stronger guarantees about their contents, so
11890versions of @code{Traversable} and @code{Foldable} that can be folded with
11891just a @code{Semigroup} are added.")
11892 (license license:bsd-3)))
11893
11894(define-public ghc-semigroups
11895 (package
11896 (name "ghc-semigroups")
11897 (version "0.18.5")
11898 (source
11899 (origin
11900 (method url-fetch)
11901 (uri (string-append
11902 "https://hackage.haskell.org/package/semigroups/semigroups-"
11903 version
11904 ".tar.gz"))
11905 (sha256
11906 (base32
11907 "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb"))))
11908 (build-system haskell-build-system)
11909 (inputs
11910 `(("ghc-nats" ,ghc-nats)
11911 ("ghc-tagged" ,ghc-tagged)
11912 ("ghc-unordered-containers" ,ghc-unordered-containers)
11913 ("ghc-hashable" ,ghc-hashable)))
11914 (home-page "https://github.com/ekmett/semigroups/")
11915 (synopsis "Semigroup operations for Haskell")
11916 (description "This package provides semigroups for Haskell. In
11917mathematics, a semigroup is an algebraic structure consisting of a set
11918together with an associative binary operation. A semigroup generalizes a
11919monoid in that there might not exist an identity element. It
11920also (originally) generalized a group (a monoid with all inverses) to a type
11921where every element did not have to have an inverse, thus the name
11922semigroup.")
11923 (license license:bsd-3)))
11924
11925(define-public ghc-semigroups-bootstrap
11926 (package
11927 (inherit ghc-semigroups)
11928 (name "ghc-semigroups-bootstrap")
11929 (inputs
11930 `(("ghc-nats" ,ghc-nats-bootstrap)
11931 ("ghc-tagged" ,ghc-tagged)
11932 ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap)
11933 ("ghc-hashable" ,ghc-hashable-bootstrap)))
799d8d3c 11934 (properties '((hidden? #t)))))
dddbc90c 11935
47c526df
JS
11936(define-public ghc-serialise
11937 (package
11938 (name "ghc-serialise")
11939 (version "0.2.1.0")
11940 (source
11941 (origin
11942 (method url-fetch)
11943 (uri (string-append
11944 "mirror://hackage/package/serialise/serialise-"
11945 version
11946 ".tar.gz"))
11947 (sha256
11948 (base32
11949 "19ary6ivzk8z7wcxhm860qmh7pwqj0qjqzav1h42y85l608zqgh4"))))
11950 (build-system haskell-build-system)
11951 (inputs
11952 `(("ghc-cborg" ,ghc-cborg)
11953 ("ghc-half" ,ghc-half)
11954 ("ghc-hashable" ,ghc-hashable)
11955 ("ghc-primitive" ,ghc-primitive)
11956 ("ghc-unordered-containers" ,ghc-unordered-containers)
11957 ("ghc-vector" ,ghc-vector)))
11958 (native-inputs
11959 `(("ghc-quickcheck" ,ghc-quickcheck)
11960 ("ghc-tasty" ,ghc-tasty)
11961 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11962 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11963 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
11964 (arguments
11965 `(#:cabal-revision
11966 ("1" "1rknhad1i8bpknsnphmcmb6dnb48c2p2c13ia2qqch3hkhsvfpr6")))
11967 (home-page "https://github.com/well-typed/cborg")
11968 (synopsis "Binary serialisation library for Haskell values")
11969 (description
11970 "This package (formerly binary-serialise-cbor) provides pure,
11971efficient serialization of Haskell values directly into ByteStrings for
11972storage or transmission purposes. By providing a set of type class instances,
11973you can also serialise any custom data type you have as well.
11974
11975The underlying binary format used is the 'Concise Binary Object
11976Representation', or CBOR, specified in RFC 7049. As a result, serialised
11977Haskell values have implicit structure outside of the Haskell program itself,
11978meaning they can be inspected or analyzed without custom tools.
11979
11980An implementation of the standard bijection between CBOR and JSON is
11981provided by the https://hackage.haskell.org/package/cborg-json
11982package. Also see https://hackage.haskell.org/package/cbor-tool for a
11983convenient command-line utility for working with CBOR data.")
11984 (license license:bsd-3)))
11985
dddbc90c
RV
11986(define-public ghc-setenv
11987 (package
11988 (name "ghc-setenv")
11989 (version "0.1.1.3")
11990 (source
11991 (origin
11992 (method url-fetch)
11993 (uri (string-append
11994 "https://hackage.haskell.org/package/setenv/setenv-"
11995 version
11996 ".tar.gz"))
11997 (sha256
11998 (base32
11999 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
12000 (build-system haskell-build-system)
12001 (home-page "https://hackage.haskell.org/package/setenv")
12002 (synopsis "Library for setting environment variables")
12003 (description "This package provides a Haskell library for setting
12004environment variables.")
12005 (license license:expat)))
12006
12007(define-public ghc-setlocale
12008 (package
12009 (name "ghc-setlocale")
9d7cfc9b 12010 (version "1.0.0.9")
dddbc90c
RV
12011 (source (origin
12012 (method url-fetch)
12013 (uri (string-append
12014 "https://hackage.haskell.org/package/setlocale-"
12015 version "/setlocale-" version ".tar.gz"))
12016 (sha256
12017 (base32
9d7cfc9b 12018 "18b6xafspzxrmz5m9r9nzy3z053crqi59xc8n8aqd4gw0pvqdcrv"))))
dddbc90c
RV
12019 (build-system haskell-build-system)
12020 (home-page "https://hackage.haskell.org/package/setlocale")
12021 (synopsis "Haskell bindings to setlocale")
12022 (description "This package provides Haskell bindings to the
12023@code{setlocale} C function.")
12024 (license license:bsd-3)))
12025
12026(define-public ghc-shakespeare
12027 (package
12028 (name "ghc-shakespeare")
f680955f 12029 (version "2.0.22")
dddbc90c
RV
12030 (source
12031 (origin
12032 (method url-fetch)
12033 (uri (string-append "https://hackage.haskell.org/package/"
12034 "shakespeare-" version "/"
12035 "shakespeare-" version ".tar.gz"))
12036 (sha256
12037 (base32
f680955f 12038 "1mc1a0vv070gcawwcx6vzpj6gpfh1qnlqrndiyfic3p500y656vh"))))
dddbc90c
RV
12039 (build-system haskell-build-system)
12040 (inputs `(("ghc-aeson" ,ghc-aeson)
12041 ("ghc-blaze-markup" ,ghc-blaze-markup)
12042 ("ghc-blaze-html" ,ghc-blaze-html)
12043 ("ghc-exceptions" ,ghc-exceptions)
12044 ("ghc-vector" ,ghc-vector)
12045 ("ghc-unordered-containers" ,ghc-unordered-containers)
12046 ("ghc-scientific" ,ghc-scientific)))
12047 (native-inputs `(("ghc-hspec" ,ghc-hspec)
12048 ("ghc-hunit" ,ghc-hunit)
12049 ("hspec-discover" ,hspec-discover)))
12050 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
12051 (synopsis "Family of type-safe template languages for Haskell")
12052 (description "This Haskell package provides a family of type-safe
12053templates with simple variable interpolation. Shakespeare templates can
12054be used inline with a quasi-quoter or in an external file and it
12055interpolates variables according to the type being inserted.")
12056 (license license:expat)))
12057
12058(define-public ghc-shelly
12059 (package
12060 (name "ghc-shelly")
12061 (version "1.8.1")
12062 (source
12063 (origin
12064 (method url-fetch)
12065 (uri (string-append
12066 "https://hackage.haskell.org/package/shelly/shelly-"
12067 version ".tar.gz"))
12068 (sha256
12069 (base32
12070 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
12071 (build-system haskell-build-system)
12072 (inputs
12073 `(("ghc-unix-compat" ,ghc-unix-compat)
12074 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
12075 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
12076 ("ghc-monad-control" ,ghc-monad-control)
12077 ("ghc-lifted-base" ,ghc-lifted-base)
12078 ("ghc-lifted-async" ,ghc-lifted-async)
12079 ("ghc-exceptions" ,ghc-exceptions)
12080 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
12081 ("ghc-async" ,ghc-async)
12082 ("ghc-transformers-base" ,ghc-transformers-base)
12083 ("ghc-hunit" ,ghc-hunit)
12084 ("ghc-hspec" ,ghc-hspec)
12085 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
12086 (home-page "https://github.com/yesodweb/Shelly.hs")
12087 (synopsis "Shell-like (systems) programming in Haskell")
12088 (description
12089 "Shelly provides convenient systems programming in Haskell, similar in
12090spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
12091 (license license:bsd-3)))
12092
12093(define-public ghc-silently
12094 (package
12095 (name "ghc-silently")
544bb369 12096 (version "1.2.5.1")
dddbc90c
RV
12097 (source
12098 (origin
12099 (method url-fetch)
12100 (uri (string-append
12101 "https://hackage.haskell.org/package/silently/silently-"
12102 version
12103 ".tar.gz"))
12104 (sha256
12105 (base32
544bb369 12106 "1lgs1gsr5dp0x21diqn4l03fxgai2kgdmj85gqp0iz3zykvbmjbz"))))
dddbc90c
RV
12107 (build-system haskell-build-system)
12108 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
12109 ;; (inputs
12110 ;; `(("ghc-temporary" ,ghc-temporary)))
12111 (home-page "https://github.com/hspec/silently")
12112 (synopsis "Prevent writing to stdout")
12113 (description "This package provides functions to prevent or capture
12114writing to stdout and other handles.")
12115 (license license:bsd-3)))
12116
12117(define-public ghc-simple-reflect
12118 (package
12119 (name "ghc-simple-reflect")
12120 (version "0.3.3")
12121 (source
12122 (origin
12123 (method url-fetch)
12124 (uri (string-append
12125 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
12126 version
12127 ".tar.gz"))
12128 (sha256
12129 (base32
12130 "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7"))))
12131 (build-system haskell-build-system)
12132 (home-page
12133 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
12134 (synopsis
12135 "Simple reflection of expressions containing variables")
12136 (description
12137 "This package allows simple reflection of expressions containing
12138variables. Reflection here means that a Haskell expression is turned into a
12139string. The primary aim of this package is teaching and understanding; there
12140are no options for manipulating the reflected expressions beyond showing
12141them.")
12142 (license license:bsd-3)))
12143
12144(define-public ghc-simple-sendfile
12145 (package
12146 (name "ghc-simple-sendfile")
08f54390 12147 (version "0.2.30")
dddbc90c
RV
12148 (source
12149 (origin
12150 (method url-fetch)
12151 (uri (string-append "https://hackage.haskell.org/package/"
12152 "simple-sendfile-" version "/"
12153 "simple-sendfile-" version ".tar.gz"))
12154 (sha256
12155 (base32
08f54390 12156 "112j0qfsjazf9wg1zywf7hjybgsiywk9wkm27yi8xzv27hmlv1mn"))))
dddbc90c
RV
12157 (build-system haskell-build-system)
12158 (inputs
12159 `(("ghc-conduit" ,ghc-conduit)
12160 ("ghc-conduit-extra" ,ghc-conduit-extra)
12161 ("ghc-network" ,ghc-network)
12162 ("ghc-resourcet" ,ghc-resourcet)))
12163 (native-inputs
12164 `(("ghc-hspec" ,ghc-hspec)
12165 ("hspec-discover" ,hspec-discover)))
12166 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
12167 (synopsis "Cross platform library for the sendfile system call")
12168 (description "This library tries to call minimum system calls which
12169are the bottleneck of web servers.")
12170 (license license:bsd-3)))
12171
06966c05
TS
12172(define-public ghc-size-based
12173 (package
12174 (name "ghc-size-based")
12175 (version "0.1.2.0")
12176 (source
12177 (origin
12178 (method url-fetch)
12179 (uri (string-append "https://hackage.haskell.org/package/"
12180 "size-based/size-based-" version ".tar.gz"))
12181 (sha256
12182 (base32
12183 "06hmlic0n73ncwlkpx49xlv09bzsrr27ncnp5byhzlknak2gd7vp"))))
12184 (build-system haskell-build-system)
12185 (inputs
12186 `(("ghc-dictionary-sharing" ,ghc-dictionary-sharing)
12187 ("ghc-testing-type-modifiers" ,ghc-testing-type-modifiers)
12188 ("ghc-semigroups" ,ghc-semigroups)))
12189 (arguments
12190 `(#:cabal-revision
12191 ("1" "0kax1ypjyglkn6iff1x4yz12y7f2n249m95xvdhrc63hsa4xlcqv")))
12192 (home-page "https://hackage.haskell.org/package/size-based")
12193 (synopsis "Sized functors for size-based enumerations")
12194 (description "This library provides a framework for size-based
12195enumerations.")
12196 (license license:bsd-3)))
12197
dddbc90c
RV
12198(define-public ghc-skylighting-core
12199 (package
12200 (name "ghc-skylighting-core")
1826c2a8 12201 (version "0.8.2.1")
dddbc90c
RV
12202 (source (origin
12203 (method url-fetch)
12204 (uri (string-append "https://hackage.haskell.org/package/"
12205 "skylighting-core/skylighting-core-"
12206 version ".tar.gz"))
12207 (sha256
12208 (base32
1826c2a8 12209 "0hdchivb4af9w7v5v7lrwfwawd3kcwmpzk69m1vkkm3pis8lcr1s"))))
dddbc90c
RV
12210 (build-system haskell-build-system)
12211 (inputs
12212 `(("ghc-aeson" ,ghc-aeson)
12213 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
12214 ("ghc-attoparsec" ,ghc-attoparsec)
12215 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
12216 ("ghc-blaze-html" ,ghc-blaze-html)
12217 ("ghc-case-insensitive" ,ghc-case-insensitive)
12218 ("ghc-colour" ,ghc-colour)
12219 ("ghc-hxt" ,ghc-hxt)
12220 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
12221 ("ghc-safe" ,ghc-safe)
12222 ("ghc-utf8-string" ,ghc-utf8-string)))
12223 (native-inputs
12224 `(("ghc-diff" ,ghc-diff)
12225 ("ghc-hunit" ,ghc-hunit)
12226 ("ghc-pretty-show" ,ghc-pretty-show)
12227 ("ghc-quickcheck" ,ghc-quickcheck)
12228 ("ghc-tasty" ,ghc-tasty)
12229 ("ghc-tasty-golden" ,ghc-tasty-golden)
12230 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
12231 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
12232 (home-page "https://github.com/jgm/skylighting")
12233 (synopsis "Syntax highlighting library")
12234 (description "Skylighting is a syntax highlighting library with support
12235for over one hundred languages. It derives its tokenizers from XML syntax
12236definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
12237supported by that framework can be added. An optional command-line program is
12238provided. Skylighting is intended to be the successor to highlighting-kate.")
12239 (license license:gpl2)))
12240
12241(define-public ghc-skylighting
12242 (package
12243 (inherit ghc-skylighting-core)
12244 (name "ghc-skylighting")
36c940cf 12245 (version "0.8.2.1")
dddbc90c
RV
12246 (source (origin
12247 (method url-fetch)
12248 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
12249 version "/skylighting-" version ".tar.gz"))
12250 (sha256
12251 (base32
36c940cf 12252 "1xls8ycad77m55ax4hp55k60h3pi5sm3m32hycbc8baixbgfx5xz"))))
dddbc90c
RV
12253 (inputs
12254 `(("ghc-skylighting-core" ,ghc-skylighting-core)
12255 ,@(package-inputs ghc-skylighting-core)))))
12256
12257(define-public ghc-smallcheck
12258 (package
12259 (name "ghc-smallcheck")
12260 (version "1.1.5")
12261 (source
12262 (origin
12263 (method url-fetch)
12264 (uri (string-append
12265 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
12266 version
12267 ".tar.gz"))
12268 (sha256
12269 (base32
12270 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
12271 (build-system haskell-build-system)
12272 (inputs
12273 `(("ghc-logict" ,ghc-logict)))
12274 (home-page
12275 "https://github.com/feuerbach/smallcheck")
12276 (synopsis "Property-based testing library")
a84be333 12277 (description "SmallCheck is a testing library that verifies
dddbc90c
RV
12278properties for all test cases up to some depth. The test cases are generated
12279automatically by SmallCheck.")
12280 (license license:bsd-3)))
12281
12282(define-public ghc-socks
12283 (package
12284 (name "ghc-socks")
ab761e9d 12285 (version "0.6.1")
dddbc90c
RV
12286 (source (origin
12287 (method url-fetch)
12288 (uri (string-append "https://hackage.haskell.org/package/"
12289 "socks/socks-" version ".tar.gz"))
12290 (sha256
12291 (base32
ab761e9d 12292 "0wvaxy3dkv97wrncjv1rxrmjr4014hgxz82kixvcwqdhidalfi3k"))))
dddbc90c
RV
12293 (build-system haskell-build-system)
12294 (inputs
12295 `(("ghc-cereal" ,ghc-cereal)
ab761e9d 12296 ("ghc-basement" ,ghc-basement)
dddbc90c
RV
12297 ("ghc-network" ,ghc-network)))
12298 (home-page "https://github.com/vincenthz/hs-socks")
12299 (synopsis "SOCKS proxy (version 5) implementation")
12300 (description
12301 "This library provides a SOCKS proxy (version 5) implementation.")
12302 (license license:bsd-3)))
12303
081d85d6
TS
12304(define-public ghc-sop-core
12305 (package
12306 (name "ghc-sop-core")
12307 (version "0.4.0.0")
12308 (source
12309 (origin
12310 (method url-fetch)
12311 (uri (string-append "https://hackage.haskell.org/package/"
12312 "sop-core/sop-core-" version ".tar.gz"))
12313 (sha256
12314 (base32
12315 "07ci2mh8cbjvipb576rxsj3iyhkj5c5dnsns4xkdppp2p3pv10d3"))))
12316 (build-system haskell-build-system)
3ef91e15 12317 (home-page "https://hackage.haskell.org/package/sop-core")
081d85d6
TS
12318 (synopsis "True Sums of Products")
12319 (description "This package provides an implementation of
12320@math{n}-ary sums and @math{n}-ary products. The module @code{Data.SOP}
12321is the main module of this library and contains more detailed
12322documentation. The main use case of this package is to serve as the
12323core of @url{https://hackage.haskell.org/package/generics-sop,
12324generics-sop}.")
12325 (license license:bsd-3)))
12326
4c77a1a0
JS
12327(define-public ghc-special-values
12328 (package
12329 (name "ghc-special-values")
12330 (version "0.1.0.0")
12331 (source
12332 (origin
12333 (method url-fetch)
12334 (uri (string-append
12335 "https://hackage.haskell.org/package/special-values/"
12336 "special-values-" version ".tar.gz"))
12337 (sha256
12338 (base32
12339 "1kkdw2c4d2hha99v9f89ahmifjxp7fxmxyfwq9a8xk6s0h9xs51w"))))
12340 (build-system haskell-build-system)
12341 (inputs
12342 `(("ghc-scientific" ,ghc-scientific)
12343 ("ghc-ieee754" ,ghc-ieee754)
12344 ("ghc-nats" ,ghc-nats)))
12345 (home-page
12346 "https://github.com/minad/special-values#readme")
12347 (synopsis "Typeclass providing special values")
12348 (description
12349 "Special values are provided by a SpecialValues typeclass. Those can be
12350used for example by QuickCheck, see quickcheck-special." )
12351 (license license:expat)))
12352
dddbc90c
RV
12353(define-public ghc-split
12354 (package
12355 (name "ghc-split")
12356 (version "0.2.3.3")
534d6caa 12357 (outputs '("out" "static" "doc"))
dddbc90c
RV
12358 (source
12359 (origin
12360 (method url-fetch)
12361 (uri (string-append
12362 "https://hackage.haskell.org/package/split/split-"
12363 version
12364 ".tar.gz"))
12365 (sha256
12366 (base32
12367 "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x"))))
12368 (build-system haskell-build-system)
9bbc21a7
TS
12369 (arguments
12370 `(#:cabal-revision
12371 ("2" "1c8bcssxq5rkxkixgms6w6x6lzf4n7cxk6cx6av1dp3lixdy9j34")))
dddbc90c
RV
12372 (native-inputs
12373 `(("ghc-quickcheck" ,ghc-quickcheck)))
12374 (home-page "https://hackage.haskell.org/package/split")
12375 (synopsis "Combinator library for splitting lists")
12376 (description "This package provides a collection of Haskell functions for
12377splitting lists into parts, akin to the @code{split} function found in several
12378mainstream languages.")
12379 (license license:bsd-3)))
12380
7799d17f 12381(define-public ghc-splitmix
49367c92 12382 (package
7799d17f 12383 (name "ghc-splitmix")
49367c92
TS
12384 (version "0.0.3")
12385 (source
12386 (origin
12387 (method url-fetch)
12388 (uri (string-append "https://hackage.haskell.org/package/"
12389 "splitmix/splitmix-" version ".tar.gz"))
12390 (sha256
12391 (base32
12392 "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w"))))
49367c92 12393 (build-system haskell-build-system)
49367c92
TS
12394 (inputs
12395 `(("ghc-random" ,ghc-random)))
7799d17f
TS
12396 (native-inputs
12397 `(("ghc-hunit" ,ghc-hunit)
12398 ("ghc-async" ,ghc-async)
12399 ("ghc-base-compat-batteries" ,ghc-base-compat-batteries)
12400 ("ghc-tf-random" ,ghc-tf-random)
12401 ("ghc-vector" ,ghc-vector)))
92a79fee 12402 (home-page "https://hackage.haskell.org/package/splitmix")
49367c92
TS
12403 (synopsis "Fast and splittable pseudorandom number generator")
12404 (description "This package provides a Pure Haskell implementation of the
12405SplitMix pseudorandom number generator. SplitMix is a \"splittable\"
12406pseudorandom number generator that is quite fast: 9 64-bit
12407arithmetic/logical operations per 64 bits generated. SplitMix is tested
12408with two standard statistical test suites (DieHarder and TestU01, this
12409implementation only using the former) and it appears to be adequate for
12410\"everyday\" use, such as Monte Carlo algorithms and randomized data
12411structures where speed is important. In particular, it @strong{should not
12412be used for cryptographic or security applications}, because generated
12413sequences of pseudorandom values are too predictable (the mixing functions
12414are easily inverted, and two successive outputs suffice to reconstruct the
12415internal state).")
12416 (license license:bsd-3)))
12417
7799d17f
TS
12418(define-public ghc-splitmix-bootstrap
12419 (package
12420 (inherit ghc-splitmix)
12421 (name "ghc-splitmix-bootstrap")
12422 (arguments `(#:tests? #f))
12423 (native-inputs '())
12424 (properties '((hidden? #t)))))
12425
a152258b
JS
12426(define-public ghc-spoon
12427 (package
12428 (name "ghc-spoon")
12429 (version "0.3.1")
12430 (source
12431 (origin
12432 (method url-fetch)
12433 (uri (string-append
12434 "https://hackage.haskell.org/package/spoon/spoon-"
12435 version
12436 ".tar.gz"))
12437 (sha256
12438 (base32
12439 "1m41k0mfy6fpfrv2ym4m5jsjaj9xdfl2iqpppd3c4d0fffv51cxr"))))
12440 (build-system haskell-build-system)
12441 (arguments
12442 `(#:cabal-revision
12443 ("1"
12444 "09s5jjcsg4g4qxchq9g2l4i9d5zh3rixpkbiysqcgl69kj8mwv74")))
12445 (home-page
12446 "http://hackage.haskell.org/package/spoon")
12447 (synopsis
12448 "Catch errors thrown from pure computations")
12449 (description
12450 "Takes an error-throwing expression and puts it back in the Maybe it
12451belongs in.
12452
12453Note that this suffers from the
12454@url{https://ghc.haskell.org/trac/ghc/ticket/5902}. Buyer beware.")
12455 (license license:bsd-3)))
12456
dddbc90c
RV
12457(define-public ghc-statevar
12458 (package
12459 (name "ghc-statevar")
19419709 12460 (version "1.2")
dddbc90c
RV
12461 (source
12462 (origin
12463 (method url-fetch)
12464 (uri (string-append
12465 "https://hackage.haskell.org/package/StateVar/StateVar-"
12466 version
12467 ".tar.gz"))
12468 (sha256
12469 (base32
19419709 12470 "12sz6zkc9j5z3lwrjvljrkfxa5vhwnir5wsarigz2f6d3w13dh5g"))))
dddbc90c
RV
12471 (build-system haskell-build-system)
12472 (home-page "https://hackage.haskell.org/package/StateVar")
12473 (synopsis "State variables for Haskell")
12474 (description "This package provides state variables, which are references
12475in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
12476 (license license:bsd-3)))
12477
12478(define-public ghc-statistics
12479 (package
12480 (name "ghc-statistics")
60e78e68 12481 (version "0.15.1.1")
dddbc90c
RV
12482 (source
12483 (origin
12484 (method url-fetch)
12485 (uri (string-append "https://hackage.haskell.org/package/"
12486 "statistics-" version "/"
12487 "statistics-" version ".tar.gz"))
12488 (sha256
12489 (base32
60e78e68 12490 "015rn74f1glii26j4b2fh1fc63xvxzrh2xckiancz48kc8jdzabj"))))
dddbc90c
RV
12491 (build-system haskell-build-system)
12492 (arguments
60e78e68 12493 '(;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse".
dddbc90c
RV
12494 #:tests? #f))
12495 (inputs
12496 `(("ghc-aeson" ,ghc-aeson)
60e78e68 12497 ("ghc-async" ,ghc-async)
dddbc90c 12498 ("ghc-base-orphans" ,ghc-base-orphans)
60e78e68 12499 ("ghc-dense-linear-algebra" ,ghc-dense-linear-algebra)
dddbc90c
RV
12500 ("ghc-math-functions" ,ghc-math-functions)
12501 ("ghc-monad-par" ,ghc-monad-par)
12502 ("ghc-mwc-random" ,ghc-mwc-random)
12503 ("ghc-primitive" ,ghc-primitive)
12504 ("ghc-vector" ,ghc-vector)
12505 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
12506 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
12507 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
12508 (native-inputs
12509 `(("ghc-hunit" ,ghc-hunit)
12510 ("ghc-quickcheck" ,ghc-quickcheck)
12511 ("ghc-ieee754" ,ghc-ieee754)
12512 ("ghc-test-framework" ,ghc-test-framework)
12513 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
12514 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
12515 (home-page "https://github.com/bos/mwc-random")
12516 (synopsis "Haskell library of statistical types, data, and functions")
12517 (description "This library provides a number of common functions
12518and types useful in statistics. We focus on high performance, numerical
12519robustness, and use of good algorithms. Where possible, we provide references
12520to the statistical literature.
12521
12522The library's facilities can be divided into four broad categories:
12523
12524@itemize
12525@item Working with widely used discrete and continuous probability
12526distributions. (There are dozens of exotic distributions in use; we focus
12527on the most common.)
12528
12529@item Computing with sample data: quantile estimation, kernel density
12530estimation, histograms, bootstrap methods, significance testing,
12531and regression and autocorrelation analysis.
12532
12533@item Random variate generation under several different distributions.
12534
12535@item Common statistical tests for significant differences between samples.
12536@end itemize")
12537 (license license:bsd-2)))
12538
12539(define-public ghc-stm-chans
12540 (package
12541 (name "ghc-stm-chans")
12542 (version "3.0.0.4")
12543 (source
12544 (origin
12545 (method url-fetch)
12546 (uri (string-append "https://hackage.haskell.org/package/"
12547 "stm-chans-" version "/"
12548 "stm-chans-" version ".tar.gz"))
12549 (sha256
12550 (base32
12551 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
12552 (build-system haskell-build-system)
12553 (home-page "https://hackage.haskell.org/package/stm-chans")
12554 (synopsis "Additional types of channels for ghc-stm")
12555 (description "This Haskell package offers a collection of channel types,
12556similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
12557features.")
12558 (license license:bsd-3)))
12559
12560(define-public ghc-stm-conduit
12561 (package
12562 (name "ghc-stm-conduit")
cd518e95 12563 (version "4.0.1")
dddbc90c
RV
12564 (source
12565 (origin
12566 (method url-fetch)
12567 (uri (string-append "https://hackage.haskell.org/package/stm-conduit/"
12568 "stm-conduit-" version ".tar.gz"))
12569 (sha256
12570 (base32
cd518e95 12571 "0hhlxvpp7mah8dcvkknh6skx44jfk3092zz2w52zlr255bkmn3p8"))))
dddbc90c
RV
12572 (build-system haskell-build-system)
12573 (inputs
12574 `(("ghc-stm-chans" ,ghc-stm-chans)
12575 ("ghc-cereal" ,ghc-cereal)
12576 ("ghc-cereal-conduit" ,ghc-cereal-conduit)
12577 ("ghc-conduit" ,ghc-conduit)
12578 ("ghc-conduit-extra" ,ghc-conduit-extra)
12579 ("ghc-exceptions" ,ghc-exceptions)
12580 ("ghc-resourcet" ,ghc-resourcet)
12581 ("ghc-async" ,ghc-async)
12582 ("ghc-monad-loops" ,ghc-monad-loops)
12583 ("ghc-unliftio" ,ghc-unliftio)))
12584 (native-inputs
12585 `(("ghc-doctest" ,ghc-doctest)
12586 ("ghc-quickcheck" ,ghc-quickcheck)
12587 ("ghc-hunit" ,ghc-hunit)
12588 ("ghc-test-framework" ,ghc-test-framework)
12589 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
12590 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
12591 (home-page "https://github.com/cgaebel/stm-conduit")
12592 (synopsis "Introduces conduits to channels and promotes using conduits concurrently")
12593 (description
12594 "This package provides two simple conduit wrappers around STM channels: a
12595source and a sink.")
12596 (license license:bsd-3)))
12597
12598(define-public ghc-stmonadtrans
12599 (package
12600 (name "ghc-stmonadtrans")
12601 (version "0.4.3")
12602 (source
12603 (origin
12604 (method url-fetch)
12605 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
12606 "/STMonadTrans-" version ".tar.gz"))
12607 (sha256
12608 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
12609 (build-system haskell-build-system)
12610 (home-page "https://hackage.haskell.org/package/STMonadTrans")
12611 (synopsis "Monad transformer version of the ST monad")
12612 (description
12613 "This package provides a monad transformer version of the @code{ST} monad
12614for strict state threads.")
12615 (license license:bsd-3)))
12616
12617(define-public ghc-storable-complex
12618 (package
12619 (name "ghc-storable-complex")
4a35e3c3 12620 (version "0.2.3.0")
dddbc90c
RV
12621 (source
12622 (origin
12623 (method url-fetch)
12624 (uri (string-append
12625 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
12626 version ".tar.gz"))
12627 (sha256
4a35e3c3 12628 (base32 "0fnwbfmd5vsaaqvf9182qdcjrzcfjd1zhdyvjwzifbwvn6r9kx4s"))))
dddbc90c 12629 (build-system haskell-build-system)
4a35e3c3
TS
12630 (inputs
12631 `(("ghc-base-orphans" ,ghc-base-orphans)))
dddbc90c
RV
12632 (home-page "https://github.com/cartazio/storable-complex")
12633 (synopsis "Haskell Storable instance for Complex")
12634 (description "This package provides a Haskell library including a
12635Storable instance for Complex which is binary compatible with C99, C++
12636and Fortran complex data types.")
12637 (license license:bsd-3)))
12638
ad80074a
JS
12639(define-public ghc-storable-record
12640 (package
12641 (name "ghc-storable-record")
12642 (version "0.0.4")
12643 (source
12644 (origin
12645 (method url-fetch)
12646 (uri
12647 (string-append
12648 "https://hackage.haskell.org/package/storable-record/"
12649 "storable-record-" version ".tar.gz"))
12650 (sha256
12651 (base32
12652 "0hjs1km0fc9ch0i1rbycxia5w3939hk4p4md73ikgg4aipqb5zyf"))))
12653 (build-system haskell-build-system)
12654 (inputs
12655 `(("ghc-semigroups" ,ghc-semigroups)
12656 ("ghc-utility-ht" ,ghc-utility-ht)
12657 ("ghc-storablevector" ,ghc-storablevector)
12658 ("ghc-timeit" ,ghc-timeit)))
12659 (home-page "https://hackage.haskell.org/package/storable-record")
12660 (synopsis "Elegant definition of Storable instances for records")
12661 (description "With this package you can build a Storable instance of
12662a record type from Storable instances of its elements in an elegant way.
12663It does not do any magic, just a bit arithmetic to compute the right
12664offsets, that would be otherwise done manually or by a preprocessor like
12665C2HS. There is no guarantee that the generated memory layout is
12666compatible with that of a corresponding C struct. However, the module
12667generates the smallest layout that is possible with respect to the
12668alignment of the record elements.")
12669 (license license:bsd-3)))
12670
55f4c653
JS
12671(define-public ghc-storable-tuple
12672 (package
12673 (name "ghc-storable-tuple")
12674 (version "0.0.3.3")
12675 (source
12676 (origin
12677 (method url-fetch)
12678 (uri
12679 (string-append
12680 "https://hackage.haskell.org/package/storable-tuple/"
12681 "storable-tuple-" version ".tar.gz"))
12682 (sha256
12683 (base32
12684 "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw"))))
12685 (build-system haskell-build-system)
12686 (inputs
12687 `(("ghc-storable-record" ,ghc-storable-record)
12688 ("ghc-utility-ht" ,ghc-utility-ht)
12689 ("ghc-base-orphans" ,ghc-base-orphans)))
12690 (home-page "https://hackage.haskell.org/package/storable-tuple")
12691 (synopsis "Storable instance for pairs and triples")
12692 (description "This package provides a Storable instance for pairs
12693and triples which should be binary compatible with C99 and C++. The
12694only purpose of this package is to provide a standard location for this
12695instance so that other packages needing this instance can play nicely
12696together.")
12697 (license license:bsd-3)))
12698
bc06ca45
JS
12699(define-public ghc-storablevector
12700 (package
12701 (name "ghc-storablevector")
12702 (version "0.2.13")
12703 (source
12704 (origin
12705 (method url-fetch)
12706 (uri
12707 (string-append
12708 "https://hackage.haskell.org/package/storablevector/storablevector-"
12709 version ".tar.gz"))
12710 (sha256
12711 (base32
12712 "1zmr738vwnhnyxbikayqnaz31ilv2qlmscp6iqgl7adcfbal4dzq"))))
12713 (build-system haskell-build-system)
12714 (inputs
12715 `(("ghc-non-negative" ,ghc-non-negative)
12716 ("ghc-utility-ht" ,ghc-utility-ht)
12717 ("ghc-semigroups" ,ghc-semigroups)
12718 ("ghc-unsafe" ,ghc-unsafe)
12719 ("ghc-quickcheck" ,ghc-quickcheck)
12720 ("ghc-syb" ,ghc-syb)))
228d2901 12721 (home-page "https://wiki.haskell.org/Storable_Vector")
bc06ca45
JS
12722 (synopsis "Fast, packed, strict storable arrays with a list interface")
12723 (description "This library provides fast, packed, strict storable
12724arrays with a list interface, a chunky lazy list interface with variable
12725chunk size and an interface for write access via the ST monad. This is
12726much like bytestring and binary but can be used for every
12727@code{Foreign.Storable.Storable} type. See also
12728@url{http://hackage.haskell.org/package/vector}, a library with a
12729similar intention.
12730
12731This library does not do advanced fusion optimization, since especially
12732for lazy vectors this would either be incorrect or not applicable. See
12733@url{http://hackage.haskell.org/package/storablevector-streamfusion} for
12734a library that provides fusion with lazy lists.")
12735 (license license:bsd-3)))
12736
dddbc90c
RV
12737(define-public ghc-streaming-commons
12738 (package
12739 (name "ghc-streaming-commons")
12740 (version "0.2.1.1")
12741 (source
12742 (origin
12743 (method url-fetch)
12744 (uri (string-append "https://hackage.haskell.org/package/"
12745 "streaming-commons/streaming-commons-"
12746 version ".tar.gz"))
12747 (sha256
12748 (base32
12749 "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52"))))
12750 (build-system haskell-build-system)
12751 (inputs
12752 `(("ghc-async" ,ghc-async)
12753 ("ghc-blaze-builder" ,ghc-blaze-builder)
12754 ("ghc-network" ,ghc-network)
12755 ("ghc-random" ,ghc-random)
12756 ("ghc-zlib" ,ghc-zlib)))
12757 (native-inputs
12758 `(("ghc-quickcheck" ,ghc-quickcheck)
12759 ("ghc-hspec" ,ghc-hspec)
12760 ("hspec-discover" ,hspec-discover)))
12761 (home-page "https://hackage.haskell.org/package/streaming-commons")
12762 (synopsis "Conduit and pipes needed by some streaming data libraries")
12763 (description "This package provides low-dependency functionality commonly
12764needed by various Haskell streaming data libraries, such as @code{conduit} and
12765@code{pipe}s.")
12766 (license license:expat)))
12767
12768(define-public ghc-strict
12769 (package
12770 (name "ghc-strict")
12771 (version "0.3.2")
12772 (source
12773 (origin
12774 (method url-fetch)
12775 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
12776 version ".tar.gz"))
12777 (sha256
12778 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
12779 (build-system haskell-build-system)
12780 (home-page "https://hackage.haskell.org/package/strict")
12781 (synopsis "Strict data types and String IO")
12782 (description
12783 "This package provides strict versions of some standard Haskell data
12784types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
12785IO operations.")
12786 (license license:bsd-3)))
12787
12788(define-public ghc-stringbuilder
12789 (package
12790 (name "ghc-stringbuilder")
12791 (version "0.5.1")
12792 (source
12793 (origin
12794 (method url-fetch)
12795 (uri (string-append
12796 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
12797 version
12798 ".tar.gz"))
12799 (sha256
12800 (base32
12801 "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q"))))
12802 (build-system haskell-build-system)
12803 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
12804 ; enabled
12805 (home-page "https://hackage.haskell.org/package/stringbuilder")
12806 (synopsis "Writer monad for multi-line string literals")
12807 (description "This package provides a writer monad for multi-line string
12808literals.")
12809 (license license:expat)))
12810
12811(define-public ghc-string-qq
12812 (package
12813 (name "ghc-string-qq")
4d6fddc3 12814 (version "0.0.4")
dddbc90c
RV
12815 (source
12816 (origin
12817 (method url-fetch)
12818 (uri (string-append
12819 "https://hackage.haskell.org/package/string-qq/string-qq-"
12820 version
12821 ".tar.gz"))
12822 (sha256
12823 (base32
4d6fddc3 12824 "0wfxkw4x6j6jq9nd82k83g2k3hskpsvk1dp4cpkshvjr4wg9qny8"))))
dddbc90c 12825 (build-system haskell-build-system)
4d6fddc3
TS
12826 (native-inputs
12827 `(("ghc-hunit" ,ghc-hunit)))
3ef91e15 12828 (home-page "https://hackage.haskell.org/package/string-qq")
dddbc90c
RV
12829 (synopsis
12830 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
12831 (description
12832 "This package provides a quasiquoter for non-interpolated strings, texts
12833and bytestrings.")
12834 (license license:public-domain)))
12835
12836(define-public ghc-stringsearch
12837 (package
12838 (name "ghc-stringsearch")
12839 (version "0.3.6.6")
12840 (source
12841 (origin
12842 (method url-fetch)
12843 (uri (string-append
12844 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
12845 version
12846 ".tar.gz"))
12847 (sha256
12848 (base32
12849 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
12850 (build-system haskell-build-system)
e2303abb
TS
12851 (arguments
12852 `(#:cabal-revision
12853 ("1" "0z5pz5dccapz9k39r2zmf056m0x2m2lj3jahhnw3mfxlmps07378")))
dddbc90c
RV
12854 (home-page "https://bitbucket.org/dafis/stringsearch")
12855 (synopsis "Fast searching, splitting and replacing of ByteStrings")
12856 (description "This package provides several functions to quickly search
12857for substrings in strict or lazy @code{ByteStrings}. It also provides
12858functions for breaking or splitting on substrings and replacing all
12859occurrences of a substring (the first in case of overlaps) with another.")
12860 (license license:bsd-3)))
12861
dcf3f8f4
TS
12862(define-public ghc-svg-builder
12863 (package
12864 (name "ghc-svg-builder")
12865 (version "0.1.1")
12866 (source
12867 (origin
12868 (method url-fetch)
12869 (uri (string-append "https://hackage.haskell.org/package/"
12870 "svg-builder/svg-builder-" version ".tar.gz"))
12871 (sha256
12872 (base32
12873 "1k420f497lzkymmxin88ql6ib8dziic43avykv31yq65rgrf7l2g"))))
12874 (build-system haskell-build-system)
12875 (inputs
12876 `(("ghc-blaze-builder" ,ghc-blaze-builder)
12877 ("ghc-hashable" ,ghc-hashable)
12878 ("ghc-unordered-containers" ,ghc-unordered-containers)))
12879 (arguments
12880 `(#:cabal-revision
12881 ("1" "1bhp9gvid2iis411k1vvyj5krzc4ahxcqcd9cwx9h37jxg180xw1")))
12882 (home-page "https://github.com/diagrams/svg-builder.git")
12883 (synopsis "Domain-specific language for building Scalable Vector Graphics")
12884 (description "Easy-to-write domain-specific language (DSL) for
12885building Scalable Vector Graphics (SVG).")
12886 (license license:bsd-3)))
12887
dddbc90c
RV
12888(define-public ghc-syb
12889 (package
12890 (name "ghc-syb")
07d65eef 12891 (version "0.7.1")
534d6caa 12892 (outputs '("out" "static" "doc"))
dddbc90c
RV
12893 (source
12894 (origin
12895 (method url-fetch)
12896 (uri (string-append
12897 "https://hackage.haskell.org/package/syb/syb-"
12898 version
12899 ".tar.gz"))
12900 (sha256
12901 (base32
07d65eef 12902 "0077vxzyi9ppbphi2ialac3p376k49qly1kskdgf57wdwix9qjp0"))))
dddbc90c
RV
12903 (build-system haskell-build-system)
12904 (inputs
12905 `(("ghc-hunit" ,ghc-hunit)))
12906 (home-page
12907 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
12908 (synopsis "Scrap Your Boilerplate")
12909 (description "This package contains the generics system described in the
12910/Scrap Your Boilerplate/ papers (see
12911@uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
12912defines the @code{Data} class of types permitting folding and unfolding of
12913constructor applications, instances of this class for primitive types, and a
12914variety of traversals.")
12915 (license license:bsd-3)))
12916
12917(define-public ghc-system-fileio
12918 (package
12919 (name "ghc-system-fileio")
dcfb99d4 12920 (version "0.3.16.4")
dddbc90c
RV
12921 (source
12922 (origin
12923 (method url-fetch)
12924 (uri (string-append
12925 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
12926 version ".tar.gz"))
12927 (sha256
12928 (base32
dcfb99d4 12929 "1iy6g1f35gzyj12g9mdiw4zf75mmxpv1l8cyaldgyscsl648pr9l"))))
dddbc90c 12930 (build-system haskell-build-system)
dcfb99d4
TS
12931 (arguments
12932 `(#:phases
12933 (modify-phases %standard-phases
12934 (add-before 'configure 'update-constraints
12935 (lambda _
12936 (substitute* "system-fileio.cabal"
12937 (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4"))
12938 #t)))))
dddbc90c
RV
12939 (inputs
12940 `(("ghc-system-filepath" ,ghc-system-filepath)
12941 ("ghc-chell" ,ghc-chell)
12942 ("ghc-temporary" ,ghc-temporary)))
12943 (home-page "https://github.com/fpco/haskell-filesystem")
12944 (synopsis "Consistent file system interaction across GHC versions")
12945 (description
12946 "This is a small wrapper around the directory, unix, and Win32 packages,
12947for use with system-filepath. It provides a consistent API to the various
12948versions of these packages distributed with different versions of GHC.
12949In particular, this library supports working with POSIX files that have paths
12950which can't be decoded in the current locale encoding.")
12951 (license license:expat)))
12952
12953;; See ghc-system-filepath-bootstrap. In addition this package depends on
12954;; ghc-system-filepath.
12955(define ghc-system-fileio-bootstrap
12956 (package
12957 (name "ghc-system-fileio-bootstrap")
12958 (version "0.3.16.3")
12959 (source
12960 (origin
12961 (method url-fetch)
12962 (uri (string-append
12963 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
12964 version ".tar.gz"))
12965 (sha256
12966 (base32
12967 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
12968 (build-system haskell-build-system)
12969 (arguments
12970 `(#:tests? #f))
12971 (inputs
12972 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
12973 ("ghc-temporary" ,ghc-temporary)))
12974 (home-page "https://github.com/fpco/haskell-filesystem")
12975 (synopsis "Consistent file system interaction across GHC versions")
12976 (description
12977 "This is a small wrapper around the directory, unix, and Win32 packages,
12978for use with system-filepath. It provides a consistent API to the various
12979versions of these packages distributed with different versions of GHC.
12980In particular, this library supports working with POSIX files that have paths
12981which can't be decoded in the current locale encoding.")
12982 (license license:expat)))
12983
12984
12985(define-public ghc-system-filepath
12986 (package
12987 (name "ghc-system-filepath")
12988 (version "0.4.14")
12989 (source
12990 (origin
12991 (method url-fetch)
12992 (uri (string-append
12993 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
12994 version ".tar.gz"))
12995 (sha256
12996 (base32
12997 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
12998 (build-system haskell-build-system)
12999 ;; FIXME: One of the tests fails:
13000 ;; [ FAIL ] tests.validity.posix
13001 ;; note: seed=7310214548328823169
13002 ;; *** Failed! Falsifiable (after 24 tests):
13003 ;; 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"
13004 (arguments `(#:tests? #f))
13005 (inputs
13006 `(("ghc-chell" ,ghc-chell)
13007 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
13008 ("ghc-quickcheck" ,ghc-quickcheck)))
13009 (home-page "https://github.com/fpco/haskell-filesystem")
13010 (synopsis "High-level, byte-based file and directory path manipulations")
13011 (description
13012 "Provides a FilePath datatype and utility functions for operating on it.
13013Unlike the filepath package, this package does not simply reuse String,
13014increasing type safety.")
13015 (license license:expat)))
13016
13017;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
13018;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
13019;; which depends on ghc-chell and ghc-chell-quickcheck.
13020;; Therefore we bootstrap it with tests disabled.
13021(define ghc-system-filepath-bootstrap
13022 (package
13023 (name "ghc-system-filepath-bootstrap")
13024 (version "0.4.14")
13025 (source
13026 (origin
13027 (method url-fetch)
13028 (uri (string-append
13029 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
13030 version ".tar.gz"))
13031 (sha256
13032 (base32
13033 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
13034 (build-system haskell-build-system)
13035 (arguments
13036 `(#:tests? #f))
13037 (inputs
13038 `(("ghc-quickcheck" ,ghc-quickcheck)))
13039 (home-page "https://github.com/fpco/haskell-filesystem")
13040 (synopsis "High-level, byte-based file and directory path manipulations")
13041 (description
13042 "Provides a FilePath datatype and utility functions for operating on it.
13043Unlike the filepath package, this package does not simply reuse String,
13044increasing type safety.")
13045 (license license:expat)))
13046
094a9d7a
CH
13047(define-public ghc-tabular
13048 (package
13049 (name "ghc-tabular")
4e3b6235 13050 (version "0.2.2.7")
094a9d7a
CH
13051 (source
13052 (origin
13053 (method url-fetch)
13054 (uri (string-append
13055 "https://hackage.haskell.org/package/tabular/tabular-"
13056 version
13057 ".tar.gz"))
13058 (sha256
13059 (base32
4e3b6235 13060 "1ysgq7rrks7f98nnvxil8xz1q27hxdgz4szbjhqwzbwd209dmy0k"))))
094a9d7a
CH
13061 (build-system haskell-build-system)
13062 (inputs
13063 `(("ghc-csv" ,ghc-csv)
13064 ("ghc-html" ,ghc-html)))
13065 (home-page "https://github.com/bgamari/tabular")
13066 (synopsis "Two-dimensional data tables with rendering functions")
13067 (description
13068 "Tabular provides a Haskell representation of two-dimensional data
13069tables, the kind that you might find in a spreadsheet or or a research report.
13070It also comes with some default rendering functions for turning those tables
13071into ASCII art, simple text with an arbitrary delimiter, CSV, HTML or LaTeX.
13072
13073Below is an example of the kind of output this library produces. The tabular
13074package can group rows and columns, each group having one of three
13075separators (no line, single line, double line) between its members.
13076
13077@example
13078
13079 || memtest 1 | memtest 2 || time test | time test 2
13080====++===========+===========++=============+============
13081A 1 || hog | terrible || slow | slower
13082A 2 || pig | not bad || fast | slowest
13083----++-----------+-----------++-------------+------------
13084B 1 || good | awful || intolerable | bearable
13085B 2 || better | no chance || crawling | amazing
13086B 3 || meh | well... || worst ever | ok
13087
13088@end example")
13089 (license license:bsd-3)))
dddbc90c
RV
13090
13091(define-public ghc-tagged
13092 (package
13093 (name "ghc-tagged")
f0f3756a 13094 (version "0.8.6")
dddbc90c
RV
13095 (source
13096 (origin
13097 (method url-fetch)
13098 (uri (string-append
13099 "https://hackage.haskell.org/package/tagged/tagged-"
13100 version
13101 ".tar.gz"))
13102 (sha256
13103 (base32
f0f3756a 13104 "1pciqzxf9ncv954v4r527xkxkn7r5hcr13mfw5dg1xjci3qdw5md"))))
dddbc90c
RV
13105 (build-system haskell-build-system)
13106 (arguments
13107 `(#:cabal-revision
f0f3756a 13108 ("1" "070xwfw7y81hd63il76dmwbdl9ca1rd07c54zynfx6vpr4wyx4vh")))
dddbc90c
RV
13109 (inputs
13110 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
13111 (home-page "https://hackage.haskell.org/package/tagged")
13112 (synopsis "Haskell phantom types to avoid passing dummy arguments")
13113 (description "This library provides phantom types for Haskell 98, to avoid
13114having to unsafely pass dummy arguments.")
13115 (license license:bsd-3)))
13116
13117(define-public ghc-tar
13118 (package
13119 (name "ghc-tar")
ec83929f 13120 (version "0.5.1.1")
dddbc90c
RV
13121 (source
13122 (origin
13123 (method url-fetch)
13124 (uri (string-append
13125 "https://hackage.haskell.org/package/tar/tar-"
13126 version ".tar.gz"))
13127 (sha256
13128 (base32
ec83929f 13129 "1ppim7cgmn7ng8zbdrwkxhhizc30h15h1c9cdlzamc5jcagl915k"))))
dddbc90c
RV
13130 (build-system haskell-build-system)
13131 ;; FIXME: 2/24 tests fail.
13132 (arguments `(#:tests? #f))
13133 (inputs
13134 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
13135 ("ghc-quickcheck" ,ghc-quickcheck)
13136 ("ghc-tasty" ,ghc-tasty)
13137 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13138 (home-page "https://hackage.haskell.org/package/tar")
13139 (synopsis "Reading, writing and manipulating \".tar\" archive files")
13140 (description
13141 "This library is for working with \\\"@.tar@\\\" archive files.
13142It can read and write a range of common variations of the tar archive format
13143including V7, POSIX USTAR and GNU formats. It provides support for packing and
13144unpacking portable archives. This makes it suitable for distribution but not
13145backup because details like file ownership and exact permissions are not
13146preserved. It also provides features for random access to archive content using
13147an index.")
13148 (license license:bsd-3)))
13149
f8d17902
TS
13150(define-public ghc-tar-conduit
13151 (package
13152 (name "ghc-tar-conduit")
13153 (version "0.3.2")
13154 (source
13155 (origin
13156 (method url-fetch)
13157 (uri (string-append "https://hackage.haskell.org/package/"
13158 "tar-conduit/tar-conduit-" version ".tar.gz"))
13159 (sha256
13160 (base32
13161 "0bgn3hyf20g1gfnzy8f41s7nj54kfcyjk2izw99svrw8f3dphi80"))))
13162 (build-system haskell-build-system)
13163 (inputs
13164 `(("ghc-conduit" ,ghc-conduit)
13165 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
13166 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
13167 (native-inputs
13168 `(("ghc-quickcheck" ,ghc-quickcheck)
13169 ("ghc-conduit-extra" ,ghc-conduit-extra)
13170 ("ghc-hspec" ,ghc-hspec)
13171 ("ghc-hspec" ,ghc-hspec)
13172 ("ghc-weigh" ,ghc-weigh)))
13173 (home-page "https://github.com/snoyberg/tar-conduit#readme")
13174 (synopsis "Extract and create tar files using conduit for streaming")
13175 (description "This library provides a conduit-based, streaming
13176interface for extracting and creating tar files.")
13177 (license license:expat)))
13178
dddbc90c
RV
13179(define-public ghc-temporary
13180 (package
13181 (name "ghc-temporary")
13182 (version "1.3")
13183 (source
13184 (origin
13185 (method url-fetch)
13186 (uri (string-append
13187 "https://hackage.haskell.org/package/temporary/temporary-"
13188 version
13189 ".tar.gz"))
13190 (sha256
13191 (base32
13192 "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c"))))
13193 (build-system haskell-build-system)
13194 (inputs
13195 `(("ghc-exceptions" ,ghc-exceptions)
13196 ("ghc-random" ,ghc-random)))
13197 (native-inputs
13198 `(("ghc-base-compat" ,ghc-base-compat)
13199 ("ghc-tasty" ,ghc-tasty)
13200 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
13201 (home-page "https://www.github.com/batterseapower/temporary")
13202 (synopsis "Temporary file and directory support")
13203 (description "The functions for creating temporary files and directories
13204in the Haskelll base library are quite limited. This library just repackages
13205the Cabal implementations of its own temporary file and folder functions so
13206that you can use them without linking against Cabal or depending on it being
13207installed.")
13208 (license license:bsd-3)))
13209
13210(define-public ghc-temporary-rc
13211 (package
13212 (name "ghc-temporary-rc")
13213 (version "1.2.0.3")
13214 (source
13215 (origin
13216 (method url-fetch)
13217 (uri (string-append
13218 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
13219 version
13220 ".tar.gz"))
13221 (sha256
13222 (base32
13223 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
13224 (build-system haskell-build-system)
13225 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
13226 (home-page
13227 "https://www.github.com/feuerbach/temporary")
13228 (synopsis
13229 "Portable temporary file and directory support")
13230 (description
13231 "The functions for creating temporary files and directories in the base
13232library are quite limited. The unixutils package contains some good ones, but
13233they aren't portable to Windows. This library just repackages the Cabal
13234implementations of its own temporary file and folder functions so that you can
13235use them without linking against Cabal or depending on it being installed.
13236This is a better maintained fork of the \"temporary\" package.")
13237 (license license:bsd-3)))
13238
13239(define-public ghc-terminal-size
13240 (package
13241 (name "ghc-terminal-size")
13242 (version "0.3.2.1")
13243 (source (origin
13244 (method url-fetch)
13245 (uri (string-append
13246 "https://hackage.haskell.org/package/terminal-size/"
13247 "terminal-size-" version ".tar.gz"))
13248 (sha256
13249 (base32
13250 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
13251 (build-system haskell-build-system)
13252 (home-page "https://hackage.haskell.org/package/terminal-size")
13253 (synopsis "Get terminal window height and width")
13254 (description "Get terminal window height and width without ncurses
13255dependency.")
13256 (license license:bsd-3)))
13257
13258(define-public ghc-texmath
13259 (package
13260 (name "ghc-texmath")
7fec7e66 13261 (version "0.11.3")
dddbc90c
RV
13262 (source (origin
13263 (method url-fetch)
13264 (uri (string-append "https://hackage.haskell.org/package/"
13265 "texmath/texmath-" version ".tar.gz"))
13266 (sha256
13267 (base32
7fec7e66 13268 "03rpxbp43bjs62mmw4hv4785n6f6nbf8kj2y9mma5nzk6i2xs09f"))))
dddbc90c
RV
13269 (build-system haskell-build-system)
13270 (inputs
13271 `(("ghc-syb" ,ghc-syb)
13272 ("ghc-network-uri" ,ghc-network-uri)
13273 ("ghc-split" ,ghc-split)
13274 ("ghc-temporary" ,ghc-temporary)
13275 ("ghc-utf8-string" ,ghc-utf8-string)
13276 ("ghc-xml" ,ghc-xml)
13277 ("ghc-pandoc-types" ,ghc-pandoc-types)))
13278 (home-page "https://github.com/jgm/texmath")
13279 (synopsis "Conversion between formats used to represent mathematics")
13280 (description
13281 "The texmath library provides functions to read and write TeX math,
13282presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
13283Office). Support is also included for converting math formats to pandoc's
13284native format (allowing conversion, via pandoc, to a variety of different
13285markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
13286it can parse and apply LaTeX macros.")
13287 (license license:gpl2+)))
13288
13289(define-public ghc-text-binary
13290 (package
13291 (name "ghc-text-binary")
13292 (version "0.2.1.1")
13293 (source
13294 (origin
13295 (method url-fetch)
13296 (uri (string-append "https://hackage.haskell.org/package/"
13297 "text-binary/text-binary-"
13298 version ".tar.gz"))
13299 (sha256
13300 (base32
13301 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
13302 (build-system haskell-build-system)
13303 (home-page "https://github.com/kawu/text-binary")
13304 (synopsis "Binary instances for text types")
13305 (description
13306 "This package provides a compatibility layer providing @code{Binary}
13307instances for strict and lazy text types for versions older than 1.2.1 of the
13308text package.")
13309 (license license:bsd-2)))
13310
714e5605
JS
13311(define-public ghc-text-manipulate
13312 (package
13313 (name "ghc-text-manipulate")
13314 (version "0.2.0.1")
13315 (source
13316 (origin
13317 (method url-fetch)
13318 (uri (string-append
13319 "https://hackage.haskell.org/package/text-manipulate"
13320 "/text-manipulate-"
13321 version
13322 ".tar.gz"))
13323 (sha256
13324 (base32
13325 "0bwxyjj3ll45srxhsp2ihikgqglvjc6m02ixr8xpvyqwkcfwgsg0"))))
13326 (build-system haskell-build-system)
13327 (native-inputs
13328 `(("ghc-tasty" ,ghc-tasty)
13329 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
13330 (home-page
13331 "https://github.com/brendanhay/text-manipulate")
13332 (synopsis
13333 "Case conversion, word boundary manipulation, and textual subjugation")
13334 (description
13335 "Manipulate identifiers and structurally non-complex pieces of text by
13336delimiting word boundaries via a combination of whitespace,
13337control-characters, and case-sensitivity.
13338
13339Has support for common idioms like casing of programmatic variable names,
13340taking, dropping, and splitting by word, and modifying the first character of
13341a piece of text.
13342
13343Caution: this library makes heavy use of the text library's internal loop
13344optimisation framework. Since internal modules are not guaranteed to have a
13345stable API there is potential for build breakage when the text dependency is
13346upgraded. Consider yourself warned!")
13347 (license license:mpl2.0)))
13348
bdc877c4
TS
13349(define-public ghc-text-metrics
13350 (package
13351 (name "ghc-text-metrics")
13352 (version "0.3.0")
13353 (source
13354 (origin
13355 (method url-fetch)
13356 (uri (string-append "https://hackage.haskell.org/package/"
13357 "text-metrics/text-metrics-" version ".tar.gz"))
13358 (sha256
13359 (base32
13360 "18mzxwkdvjp31r720ai9bnxr638qq8x3a2v408bz0d8f0rsayx1q"))))
13361 (build-system haskell-build-system)
13362 (inputs
13363 `(("ghc-vector" ,ghc-vector)))
13364 (native-inputs
13365 `(("ghc-quickcheck" ,ghc-quickcheck)
13366 ("ghc-hspec" ,ghc-hspec)))
13367 (arguments
13368 `(#:cabal-revision
13369 ("4" "017drxq9x56b345d8w5m8xdsi1zzs0z16pbdx8j35cd1lsnh3kf1")))
13370 (home-page "https://github.com/mrkkrp/text-metrics")
13371 (synopsis "Calculate various string metrics efficiently")
13372 (description "This library provides tools to calculate various
13373string metrics efficiently.")
13374 (license license:bsd-3)))
13375
dddbc90c
RV
13376(define-public ghc-tf-random
13377 (package
13378 (name "ghc-tf-random")
13379 (version "0.5")
534d6caa 13380 (outputs '("out" "static" "doc"))
dddbc90c
RV
13381 (source
13382 (origin
13383 (method url-fetch)
13384 (uri (string-append
13385 "https://hackage.haskell.org/package/tf-random/tf-random-"
13386 version
13387 ".tar.gz"))
13388 (sha256
13389 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
13390 (build-system haskell-build-system)
13391 (inputs
13392 `(("ghc-primitive" ,ghc-primitive)
13393 ("ghc-random" ,ghc-random)))
13394 (home-page "https://hackage.haskell.org/package/tf-random")
13395 (synopsis "High-quality splittable pseudorandom number generator")
13396 (description "This package contains an implementation of a high-quality
13397splittable pseudorandom number generator. The generator is based on a
13398cryptographic hash function built on top of the ThreeFish block cipher. See
13399the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
13400Hashing\" by Claessen, Pałka for details and the rationale of the design.")
13401 (license license:bsd-3)))
13402
13403(define-public ghc-th-abstraction
13404 (package
13405 (name "ghc-th-abstraction")
1188eabb 13406 (version "0.3.1.0")
dddbc90c
RV
13407 (source
13408 (origin
13409 (method url-fetch)
13410 (uri (string-append "https://hackage.haskell.org/package/"
13411 "th-abstraction/th-abstraction-"
13412 version ".tar.gz"))
13413 (sha256
13414 (base32
1188eabb 13415 "1f81w0gshvc816cf9qz0f19jsrzh6wpzmmy317xrgn63dv61p7jb"))))
dddbc90c
RV
13416 (build-system haskell-build-system)
13417 (home-page "https://github.com/glguy/th-abstraction")
13418 (synopsis "Nicer interface for reified information about data types")
13419 (description
13420 "This package normalizes variations in the interface for inspecting
13421datatype information via Template Haskell so that packages and support a
13422single, easier to use informational datatype while supporting many versions of
13423Template Haskell.")
13424 (license license:isc)))
13425
13426(define-public ghc-th-expand-syns
13427 (package
13428 (name "ghc-th-expand-syns")
8c766600 13429 (version "0.4.5.0")
dddbc90c
RV
13430 (source (origin
13431 (method url-fetch)
13432 (uri (string-append "https://hackage.haskell.org/package/"
13433 "th-expand-syns/th-expand-syns-"
13434 version ".tar.gz"))
13435 (sha256
13436 (base32
8c766600 13437 "1p4wfyycan8zsp9wi7npx36qwbfsbcgdyxi3ii51scf69dkrx42y"))))
dddbc90c
RV
13438 (build-system haskell-build-system)
13439 (inputs
13440 `(("ghc-syb" ,ghc-syb)))
13441 (home-page "https://hackage.haskell.org/package/th-expand-syns")
13442 (synopsis "Expands type synonyms in Template Haskell ASTs")
13443 (description
13444 "This package enables users to expand type synonyms in Template Haskell
13445@dfn{abstract syntax trees} (ASTs).")
13446 (license license:bsd-3)))
13447
13448(define-public ghc-th-lift
13449 (package
13450 (name "ghc-th-lift")
bd76b20a 13451 (version "0.8.0.1")
dddbc90c
RV
13452 (source (origin
13453 (method url-fetch)
13454 (uri (string-append "https://hackage.haskell.org/package/"
13455 "th-lift/th-lift-" version ".tar.gz"))
13456 (sha256
13457 (base32
bd76b20a 13458 "1a6qlbdg15cfr5rvl9g3blgwx4v1p0xic0pzv13zx165xbc36ld0"))))
dddbc90c
RV
13459 (build-system haskell-build-system)
13460 (inputs
13461 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
13462 (home-page "https://github.com/mboes/th-lift")
13463 (synopsis "Derive Template Haskell's Lift class for datatypes")
13464 (description
13465 "This is a Haskell library to derive Template Haskell's Lift class for
13466datatypes.")
13467 (license license:bsd-3)))
13468
13469(define-public ghc-th-lift-instances
13470 (package
13471 (name "ghc-th-lift-instances")
d3db399e 13472 (version "0.1.14")
dddbc90c
RV
13473 (source
13474 (origin
13475 (method url-fetch)
13476 (uri (string-append "https://hackage.haskell.org/package/"
13477 "th-lift-instances/th-lift-instances-"
13478 version ".tar.gz"))
13479 (sha256
13480 (base32
d3db399e 13481 "0r1b4jnvcj64wp4hfccwkl4a70n1p1q7qzyx6ax7cmd8k961jz78"))))
dddbc90c
RV
13482 (build-system haskell-build-system)
13483 (inputs
13484 `(("ghc-th-lift" ,ghc-th-lift)
13485 ("ghc-vector" ,ghc-vector)
13486 ("ghc-quickcheck" ,ghc-quickcheck)))
13487 (home-page "https://github.com/bennofs/th-lift-instances/")
13488 (synopsis "Lift instances for template-haskell for common data types.")
13489 (description "Most data types in the Haskell platform do not have Lift
13490instances. This package provides orphan instances for @code{containers},
13491@code{text}, @code{bytestring} and @code{vector}.")
13492 (license license:bsd-3)))
13493
13494(define-public ghc-th-orphans
13495 (package
13496 (name "ghc-th-orphans")
882b23e2 13497 (version "0.13.9")
dddbc90c
RV
13498 (source (origin
13499 (method url-fetch)
13500 (uri (string-append "https://hackage.haskell.org/package/"
13501 "th-orphans/th-orphans-" version ".tar.gz"))
13502 (sha256
13503 (base32
882b23e2 13504 "1xj1gssv77hdx1r3ndg8k49v3ipj3a6r7crkyvx13jrps3m6ng1z"))))
dddbc90c
RV
13505 (build-system haskell-build-system)
13506 (inputs
13507 `(("ghc-th-lift" ,ghc-th-lift)
13508 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
13509 ("ghc-th-reify-many" ,ghc-th-reify-many)
13510 ("ghc-generic-deriving" ,ghc-generic-deriving)))
13511 (native-inputs
13512 `(("ghc-hspec" ,ghc-hspec)))
13513 (home-page "https://hackage.haskell.org/package/th-orphans")
13514 (synopsis "Orphan instances for TH datatypes")
13515 (description
13516 "This package provides orphan instances for Template Haskell datatypes. In particular,
13517instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
13518and @code{Eq} instances. These instances used to live in the haskell-src-meta
13519package, and that's where the version number started.")
13520 (license license:bsd-3)))
13521
20c440ea
JS
13522(define-public ghc-these
13523 (package
13524 (name "ghc-these")
13525 (version "1.0.1")
13526 (source
13527 (origin
13528 (method url-fetch)
13529 (uri (string-append
13530 "https://hackage.haskell.org/package/these/these-"
13531 version
13532 ".tar.gz"))
13533 (sha256
13534 (base32
13535 "1k0pi65g7cm9hzdw6my6bzz2zvddkmj1qs45ymqmi316bpiixk3r"))))
13536 (build-system haskell-build-system)
13537 (inputs
13538 `(("ghc-base-compat" ,ghc-base-compat)
13539 ("ghc-hashable" ,ghc-hashable)
13540 ("ghc-aeson" ,ghc-aeson)
13541 ("ghc-unordered-containers" ,ghc-unordered-containers)
13542 ("ghc-assoc" ,ghc-assoc)
13543 ("ghc-semigroupoids" ,ghc-semigroupoids)
13544 ("ghc-quickcheck" ,ghc-quickcheck)))
13545 (arguments
13546 `(#:cabal-revision
13547 ("1"
13548 "0923r86fnmgpx0msm68aszirh2n19nn5bccgjxfh2146jw4z7w3z")))
13549 (home-page
13550 "https://github.com/isomorphism/these")
13551 (synopsis "Either-or-both data type")
13552 (description
13553 "This package provides a data type @code{These a b} which can
13554hold a value of either type or values of each type. This is usually
13555thought of as an \"inclusive or\" type (contrasting @code{Either a b} as
13556\"exclusive or\") or as an \"outer join\" type (contrasting @code{(a, b)}
13557as \"inner join\").
13558
13559@code{data These a b = This a | That b | These a b}
13560
13561Since version 1, this package was split into parts:
13562
13563@itemize
13564@item
13565https://hackage.haskell.org/package/semialign For @code{Align} and
13566@code{Zip} type-classes.
13567@item
13568https://hackage.haskell.org/package/semialign-indexed For
13569@code{SemialignWithIndex} class, providing @code{ialignWith} and
13570@code{izipWith}
13571@item
13572https://hackage.haskell.org/package/these-lens For lens combinators.
13573@item
13574http://hackage.haskell.org/package/monad-chronicle For transformers
13575variant of @code{These}.
13576@end itemize")
13577 (license license:bsd-3)))
13578
dddbc90c
RV
13579(define-public ghc-threads
13580 (package
13581 (name "ghc-threads")
13582 (version "0.5.1.6")
13583 (source
13584 (origin
13585 (method url-fetch)
13586 (uri (string-append "https://hackage.haskell.org/package/"
13587 "threads/threads-" version ".tar.gz"))
13588 (sha256
13589 (base32
13590 "0bjnjhnq3km6xqk0fn1fgyz5xdw4h6lylbwwbcmkkfzwcz0c76hk"))))
13591 (build-system haskell-build-system)
13592 (native-inputs
13593 `(("ghc-concurrent-extra" ,ghc-concurrent-extra)
13594 ("ghc-hunit" ,ghc-hunit)
13595 ("ghc-test-framework" ,ghc-test-framework)
13596 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
13597 (home-page "https://github.com/basvandijk/threads")
13598 (synopsis "Fork threads and wait for their result")
13599 (description "This package provides functions to fork threads and
13600wait for their result, whether it's an exception or a normal value.
13601Besides waiting for the termination of a single thread this package also
13602provides functions to wait for a group of threads to terminate. This
bbf8bf31
RV
13603package is similar to the @code{threadmanager}, @code{async} and
13604@code{spawn} packages. The advantages of this package are:
13605
dddbc90c
RV
13606@itemize
13607@item Simpler API.
13608@item More efficient in both space and time.
13609@item No space-leak when forking a large number of threads.
13610@item Correct handling of asynchronous exceptions.
13611@item GHC specific functionality like @code{forkOn} and
13612@code{forkIOWithUnmask}.
13613@end itemize")
13614 (license license:bsd-3)))
13615
13616(define-public ghc-th-reify-many
13617 (package
13618 (name "ghc-th-reify-many")
32d4a6ae 13619 (version "0.1.9")
dddbc90c
RV
13620 (source (origin
13621 (method url-fetch)
13622 (uri (string-append "https://hackage.haskell.org/package/"
13623 "th-reify-many/th-reify-many-"
13624 version ".tar.gz"))
13625 (sha256
13626 (base32
32d4a6ae 13627 "0hxf56filzqnyrc8q7766vai80y6cgrrbrczx6n93caskl1dv2gq"))))
dddbc90c
RV
13628 (build-system haskell-build-system)
13629 (inputs
13630 `(("ghc-safe" ,ghc-safe)
13631 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
13632 (home-page "https://github.com/mgsloan/th-reify-many")
13633 (synopsis "Recurseively reify template haskell datatype info")
13634 (description
13635 "th-reify-many provides functions for recursively reifying top level
13636declarations. The main intended use case is for enumerating the names of
13637datatypes reachable from an initial datatype, and passing these names to some
13638function which generates instances.")
13639 (license license:bsd-3)))
13640
75cfc9a2
TS
13641(define-public ghc-time-compat
13642 (package
13643 (name "ghc-time-compat")
13644 (version "1.9.2.2")
13645 (source
13646 (origin
13647 (method url-fetch)
13648 (uri (string-append "https://hackage.haskell.org/package/"
13649 "time-compat/time-compat-" version ".tar.gz"))
13650 (sha256
13651 (base32
13652 "05va0rqs759vbridbcl6hksp967j9anjvys8vx72fnfkhlrn2s52"))))
13653 (build-system haskell-build-system)
13654 (inputs
13655 `(("ghc-base-orphans" ,ghc-base-orphans)))
13656 (native-inputs
13657 `(("ghc-hunit" ,ghc-hunit)
13658 ("ghc-base-compat" ,ghc-base-compat)
13659 ("ghc-quickcheck" ,ghc-quickcheck)
13660 ("ghc-tagged" ,ghc-tagged)
13661 ("ghc-tasty" ,ghc-tasty)
13662 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
13663 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13664 (arguments
13665 `(#:cabal-revision
13666 ("1" "0k8ph4sydaiqp8dav4if6hpiaq8h1xsr93khmdr7a1mmfwdxr64r")))
13667 (home-page "https://github.com/phadej/time-compat")
13668 (synopsis "Compatibility package for time")
a8d73e69 13669 (description "This package tries to compat as many @code{time}
75cfc9a2
TS
13670features as possible.")
13671 (license license:bsd-3)))
13672
dddbc90c
RV
13673(define-public ghc-time-locale-compat
13674 (package
13675 (name "ghc-time-locale-compat")
13676 (version "0.1.1.5")
13677 (source
13678 (origin
13679 (method url-fetch)
13680 (uri (string-append "https://hackage.haskell.org/package/"
13681 "time-locale-compat/time-locale-compat-"
13682 version ".tar.gz"))
13683 (sha256
13684 (base32
13685 "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7"))))
13686 (build-system haskell-build-system)
13687 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
13688 (home-page "https://github.com/khibino/haskell-time-locale-compat")
13689 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
13690 (description "This package contains a wrapped name module for
13691@code{TimeLocale}.")
13692 (license license:bsd-3)))
13693
c022a4d4
TS
13694(define-public ghc-time-manager
13695 (package
13696 (name "ghc-time-manager")
13697 (version "0.0.0")
13698 (source
13699 (origin
13700 (method url-fetch)
13701 (uri (string-append "https://hackage.haskell.org/package/"
13702 "time-manager/time-manager-" version ".tar.gz"))
13703 (sha256
13704 (base32
13705 "1nzwj0fxz370ks6vr1sylcidx33rnqq45y3q9yv9n4dj43nid9lh"))))
13706 (build-system haskell-build-system)
13707 (inputs
13708 `(("ghc-auto-update" ,ghc-auto-update)))
13709 (home-page "https://github.com/yesodweb/wai")
13710 (synopsis "Scalable timer")
13711 (description "This library contains scalable timer functions provided by a
13712timer manager.")
13713 (license license:expat)))
13714
7bbfa392
JS
13715(define-public ghc-timeit
13716 (package
13717 (name "ghc-timeit")
13718 (version "2.0")
13719 (source
13720 (origin
13721 (method url-fetch)
13722 (uri
13723 (string-append
13724 "https://hackage.haskell.org/package/timeit/timeit-"
13725 version ".tar.gz"))
13726 (sha256
13727 (base32
13728 "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1"))))
13729 (build-system haskell-build-system)
13730 (home-page "https://github.com/merijn/timeit")
13731 (synopsis "Time monadic computations with an IO base")
13732 (description "This package provides a simple wrapper to show the
13733used CPU time of monadic computation with an IO base.")
13734 (license license:bsd-3)))
13735
2ed8bd2d
JS
13736(define-public ghc-timezone-series
13737 (package
13738 (name "ghc-timezone-series")
13739 (version "0.1.9")
13740 (source
13741 (origin
13742 (method url-fetch)
13743 (uri
13744 (string-append
13745 "mirror://hackage/package/timezone-series/timezone-series-"
13746 version ".tar.gz"))
13747 (sha256
13748 (base32
13749 "1blwgnyzqn917rgqkl4dncv9whv3xmk0lav040qq0214vksmvlz5"))))
13750 (build-system haskell-build-system)
13751 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
13752 (synopsis "Enhanced timezone handling for Time")
13753 (description
13754 "This package endows @code{Data.Time}, from the time package, with several
13755data types and functions for enhanced processing of timezones. For one way to
13756create timezone series, see the ghc-timezone-olson package.")
13757 (license license:bsd-3)))
13758
ff0f5786
JS
13759(define-public ghc-timezone-olson
13760 (package
13761 (name "ghc-timezone-olson")
13762 (version "0.1.9")
13763 (source
13764 (origin
13765 (method url-fetch)
13766 (uri
13767 (string-append
13768 "mirror://hackage/package/timezone-olson/timezone-olson-"
13769 version ".tar.gz"))
13770 (sha256
13771 (base32
13772 "05abywx1nrcaz0nqzfy4zw62bc5qd7pdfnjvv4drxkwv084ha8rj"))))
13773 (build-system haskell-build-system)
13774 (inputs
13775 `(("ghc-timezone-series" ,ghc-timezone-series)
13776 ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)))
13777 (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/")
13778 (synopsis "Parser and renderer for binary Olson timezone files")
13779 (description
13780 "A parser and renderer for binary Olson timezone files whose format
13781is specified by the tzfile(5) man page on Unix-like systems. For more
13782information about this format, see
13783@url{http://www.iana.org/time-zones/repository/tz-link.html}. Functions
13784are provided for converting the parsed data into @code{TimeZoneSeries}
13785objects from the timezone-series package.")
13786 (license license:bsd-3)))
13787
dddbc90c
RV
13788(define-public ghc-tldr
13789 (package
13790 (name "ghc-tldr")
871ceb31 13791 (version "0.4.0.2")
dddbc90c
RV
13792 (source
13793 (origin
13794 (method url-fetch)
13795 (uri (string-append
13796 "https://hackage.haskell.org/package/tldr/tldr-"
13797 version
13798 ".tar.gz"))
13799 (sha256
13800 (base32
871ceb31 13801 "1zy9yyg7bxiyz1prkvrscggsb9p0f8y0nqxxxzlgzvnh2nmqf8f2"))))
dddbc90c
RV
13802 (build-system haskell-build-system)
13803 (inputs
13804 `(("ghc-cmark" ,ghc-cmark)
13805 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
13806 ("ghc-typed-process" ,ghc-typed-process)
13807 ("ghc-semigroups" ,ghc-semigroups)))
13808 (native-inputs
13809 `(("ghc-tasty" ,ghc-tasty)
13810 ("ghc-tasty-golden" ,ghc-tasty-golden)))
13811 (home-page "https://github.com/psibi/tldr-hs#readme")
13812 (synopsis "Haskell tldr client")
13813 (description "This package provides the @command{tldr} command and a
13814Haskell client library allowing users to update and view @code{tldr} pages
13815from a shell. The @code{tldr} pages are a community effort to simplify the
13816man pages with practical examples.")
13817 (license license:bsd-3)))
13818
283b1bec
KM
13819(define-public ghc-torrent
13820 (package
13821 (name "ghc-torrent")
13822 (version "10000.1.1")
13823 (source
13824 (origin
13825 (method url-fetch)
13826 (uri (string-append
13827 "https://hackage.haskell.org/package/torrent/torrent-"
13828 version ".tar.gz"))
13829 (sha256
13830 (base32 "0m7s0q7f8c7glxzqhf2j86ch5xhk6jnzwwsa4mkywag22119c290"))))
13831 (build-system haskell-build-system)
13832 (inputs
13833 `(("ghc-bencode" ,ghc-bencode)
13834 ("ghc-syb" ,ghc-syb)))
13835 (home-page "https://hackage.haskell.org/package/torrent")
13836 (synopsis "BitTorrent file parser and generator")
13837 (description "This library provides support for parsing and generating
13838BitTorrent files.")
13839 (license license:bsd-3)))
13840
460e4e42
JS
13841(define-public ghc-transformers
13842 (package
13843 (name "ghc-transformers")
13844 (version "0.5.6.2")
13845 (source
13846 (origin
13847 (method url-fetch)
13848 (uri (string-append
13849 "mirror://hackage/package/transformers/transformers-"
13850 version
13851 ".tar.gz"))
13852 (sha256
13853 (base32
13854 "0v66j5k0xqk51pmca55wq192qyw2p43s2mgxlz4f95q2c1fpjs5n"))))
13855 (build-system haskell-build-system)
13856 (home-page
13857 "http://hackage.haskell.org/package/transformers")
13858 (synopsis "Concrete functor and monad transformers")
13859 (description
13860 "Transformers provides functor and monad transformers, inspired by the
13861paper \"Functional Programming with Overloading and Higher-Order
13862Polymorphism\", by Mark P Jones, in Advanced School of Functional Programming,
138631995 @url{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html}.
13864
13865This package contains:
13866@itemize
13867@item the monad transformer class (in @code{Control.Monad.Trans.Class})
13868@item concrete functor and monad transformers, each with associated operations
13869and functions to lift operations associated with other transformers.
13870@end itemize
13871
13872This package can be used on its own in portable Haskell code, in which case
13873operations need to be manually lifted through transformer stacks (see
13874@code{Control.Monad.Trans.Class} for some examples). Alternatively, it can be
13875used with the non-portable monad classes in the mtl or monads-tf packages,
13876which automatically lift operations introduced by monad transformers through
13877other transformers.")
13878 (license license:bsd-3)))
13879
dddbc90c
RV
13880(define-public ghc-transformers-base
13881 (package
13882 (name "ghc-transformers-base")
13883 (version "0.4.5.2")
13884 (source
13885 (origin
13886 (method url-fetch)
13887 (uri (string-append
13888 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
13889 version
13890 ".tar.gz"))
13891 (sha256
13892 (base32
13893 "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h"))))
13894 (build-system haskell-build-system)
13895 (inputs
13896 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
13897 (home-page
13898 "https://hackage.haskell.org/package/transformers-compat")
13899 (synopsis
13900 "Backported transformer library")
13901 (description
13902 "Backported versions of types that were added to transformers in
13903transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
13904compatibility to run on old versions of the platform.")
13905 (license license:bsd-3)))
13906
13907(define-public ghc-transformers-compat
13908 (package
13909 (name "ghc-transformers-compat")
1c9c4d58 13910 (version "0.6.5")
dddbc90c
RV
13911 (source
13912 (origin
13913 (method url-fetch)
13914 (uri (string-append
13915 "https://hackage.haskell.org/package/transformers-compat"
13916 "/transformers-compat-" version ".tar.gz"))
13917 (sha256
13918 (base32
1c9c4d58 13919 "02v2fjbvcrlpvhcsssap8dy8y9pp95jykrlc5arm39sxa48wyrys"))))
dddbc90c
RV
13920 (build-system haskell-build-system)
13921 (home-page "https://github.com/ekmett/transformers-compat/")
13922 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
13923 (description "This package includes backported versions of types that were
13924added to transformers in transformers 0.3 and 0.4 for users who need strict
13925transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
13926but also need those types.")
13927 (license license:bsd-3)))
13928
13929(define-public ghc-tree-diff
13930 (package
13931 (name "ghc-tree-diff")
b4e26067 13932 (version "0.1")
dddbc90c
RV
13933 (source
13934 (origin
13935 (method url-fetch)
13936 (uri (string-append
13937 "https://hackage.haskell.org/package/tree-diff/tree-diff-"
13938 version
13939 ".tar.gz"))
13940 (sha256
13941 (base32
b4e26067 13942 "1156nbqn0pn9lp4zjsy4vv5g5wmy4zxwmbqdgvq349rydynh3ng3"))))
dddbc90c 13943 (build-system haskell-build-system)
dddbc90c
RV
13944 (inputs
13945 `(("ghc-aeson" ,ghc-aeson)
13946 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13947 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13948 ("ghc-base-compat" ,ghc-base-compat)
b4e26067 13949 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
dddbc90c 13950 ("ghc-hashable" ,ghc-hashable)
dddbc90c
RV
13951 ("ghc-parsers" ,ghc-parsers)
13952 ("ghc-quickcheck" ,ghc-quickcheck)
13953 ("ghc-scientific" ,ghc-scientific)
13954 ("ghc-tagged" ,ghc-tagged)
13955 ("ghc-unordered-containers" ,ghc-unordered-containers)
13956 ("ghc-uuid-types" ,ghc-uuid-types)
13957 ("ghc-vector" ,ghc-vector)))
13958 (native-inputs
13959 `(("ghc-base-compat" ,ghc-base-compat)
13960 ("ghc-quickcheck" ,ghc-quickcheck)
13961 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13962 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13963 ("ghc-trifecta" ,ghc-trifecta)
13964 ("ghc-tasty" ,ghc-tasty)
13965 ("ghc-tasty-golden" ,ghc-tasty-golden)
13966 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
13967 (home-page "https://github.com/phadej/tree-diff")
13968 (synopsis "Compute difference between (expression) trees")
13969 (description "This Haskell library provides a function for computing
13970the difference between (expression) trees. It also provides a way to
13971compute the difference between arbitrary abstract datatypes (ADTs) using
13972@code{Generics}-derivable helpers.")
13973 (license license:bsd-3)))
13974
13975(define-public ghc-trifecta
13976 (package
13977 (name "ghc-trifecta")
13978 (version "2")
13979 (source (origin
13980 (method url-fetch)
13981 (uri (string-append
13982 "https://hackage.haskell.org/package/trifecta/"
13983 "trifecta-" version ".tar.gz"))
13984 (sha256
13985 (base32
13986 "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk"))))
13987 (build-system haskell-build-system)
5ffe8cfd
TS
13988 (arguments
13989 `(#:tests? #f ; doctest suite fails to build on i686
13990 #:cabal-revision
13991 ("4" "0xbwyvwl6f2zylk60f2akwgq03qv49113xil7b1z1s3vlwbn5aj1")))
dddbc90c
RV
13992 (inputs
13993 `(("ghc-reducers" ,ghc-reducers)
13994 ("ghc-semigroups" ,ghc-semigroups)
13995 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
13996 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
13997 ("ghc-blaze-builder" ,ghc-blaze-builder)
13998 ("ghc-blaze-html" ,ghc-blaze-html)
13999 ("ghc-blaze-markup" ,ghc-blaze-markup)
14000 ("ghc-charset" ,ghc-charset)
14001 ("ghc-comonad" ,ghc-comonad)
14002 ("ghc-fingertree" ,ghc-fingertree)
14003 ("ghc-hashable" ,ghc-hashable)
14004 ("ghc-lens" ,ghc-lens)
14005 ("ghc-parsers" ,ghc-parsers)
14006 ("ghc-profunctors" ,ghc-profunctors)
14007 ("ghc-unordered-containers" ,ghc-unordered-containers)
14008 ("ghc-utf8-string" ,ghc-utf8-string)))
14009 (native-inputs
14010 `(("cabal-doctest" ,cabal-doctest)
14011 ("ghc-doctest" ,ghc-doctest)
14012 ("ghc-quickcheck" ,ghc-quickcheck)))
14013 (home-page "https://github.com/ekmett/trifecta/")
14014 (synopsis "Parser combinator library with convenient diagnostics")
14015 (description "Trifecta is a modern parser combinator library for Haskell,
14016with slicing and Clang-style colored diagnostics.")
14017 (license license:bsd-3)))
14018
14019(define-public ghc-tuple-th
14020 (package
14021 (name "ghc-tuple-th")
14022 (version "0.2.5")
14023 (source
14024 (origin
14025 (method url-fetch)
14026 (uri (string-append "https://hackage.haskell.org/package/"
14027 "tuple-th-" version "/"
14028 "tuple-th-" version ".tar.gz"))
14029 (sha256
14030 (base32
14031 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
14032 (build-system haskell-build-system)
14033 (home-page "https://github.com/DanielSchuessler/tuple-th")
14034 (synopsis "Generate utility functions for tuples of statically known size
14035for Haskell")
14036 (description "This Haskell package contains Template Haskell functions for
14037generating functions similar to those in @code{Data.List} for tuples of
14038statically known size.")
14039 (license license:bsd-3)))
14040
9f776fe2
JS
14041(define-public ghc-turtle
14042 (package
14043 (name "ghc-turtle")
14044 (version "1.5.15")
14045 (source
14046 (origin
14047 (method url-fetch)
14048 (uri (string-append
14049 "mirror://hackage/package/turtle/turtle-"
14050 version
14051 ".tar.gz"))
14052 (sha256
14053 (base32
14054 "0yckgsc2a4g5x867gni80ldp226bsnhncfbil4ql6v2zwm4r8p7f"))))
14055 (build-system haskell-build-system)
14056 (inputs
14057 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
14058 ("ghc-async" ,ghc-async)
14059 ("ghc-clock" ,ghc-clock)
14060 ("ghc-exceptions" ,ghc-exceptions)
14061 ("ghc-foldl" ,ghc-foldl)
14062 ("ghc-hostname" ,ghc-hostname)
14063 ("ghc-managed" ,ghc-managed)
14064 ("ghc-semigroups" ,ghc-semigroups)
14065 ("ghc-system-filepath" ,ghc-system-filepath)
14066 ("ghc-system-fileio" ,ghc-system-fileio)
14067 ("ghc-streaming-commons" ,ghc-streaming-commons)
14068 ("ghc-temporary" ,ghc-temporary)
14069 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
14070 ("ghc-optional-args" ,ghc-optional-args)
14071 ("ghc-unix-compat" ,ghc-unix-compat)))
14072 (native-inputs
14073 `(("ghc-doctest" ,ghc-doctest)
14074 ("ghc-fail" ,ghc-fail)))
14075 (arguments
14076 `(#:cabal-revision
14077 ("1" "02q1rv7zx31xz9wnmcqwd4w3iw7623p07iyi21zr0cqlignic5pg")))
14078 (home-page
14079 "http://hackage.haskell.org/package/turtle")
14080 (synopsis "Shell programming, Haskell-style")
14081 (description
14082 "Turtle is a reimplementation of the Unix command line environment in
14083Haskell so that you can use Haskell as both a shell and a scripting
14084language. Features include:
14085
14086@itemize
14087@item Batteries included: Command an extended suite of predefined utilities.
14088@item Interoperability: You can still run external shell commands.
14089@item Portability: Works on Windows, OS X, and Linux.
14090@item Exception safety: Safely acquire and release resources.
14091@item Streaming: Transform or fold command output in constant space.
14092@item Patterns: Use typed regular expressions that can parse structured values.
14093@item Formatting: Type-safe printf-style text formatting.
14094@item Modern: Supports text and system-filepath.
14095@end itemize
14096
14097Read \"Turtle.Tutorial\" for a detailed tutorial or \"Turtle.Prelude\" for a
14098quick-start guide. Turtle is designed to be beginner-friendly, but as a
14099result lacks certain features, like tracing commands. If you feel comfortable
14100using turtle then you should also check out the Shelly library which provides
14101similar functionality.")
14102 (license license:bsd-3)))
14103
dddbc90c
RV
14104(define-public ghc-typed-process
14105 (package
14106 (name "ghc-typed-process")
72fb84a5 14107 (version "0.2.6.0")
dddbc90c
RV
14108 (source
14109 (origin
14110 (method url-fetch)
14111 (uri (string-append "https://hackage.haskell.org/package/"
14112 "typed-process/typed-process-"
14113 version ".tar.gz"))
14114 (sha256
14115 (base32
72fb84a5 14116 "1cf2pfym8zdxvvy7xv72ixj7wy3rjrdss6f57k1ysgs66cgsi8ii"))))
dddbc90c
RV
14117 (build-system haskell-build-system)
14118 (inputs
72fb84a5
TS
14119 `(("ghc-async" ,ghc-async)
14120 ("ghc-unliftio-core" ,ghc-unliftio-core)))
dddbc90c
RV
14121 (native-inputs
14122 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
14123 ("ghc-hspec" ,ghc-hspec)
14124 ("hspec-discover" ,hspec-discover)
14125 ("ghc-temporary" ,ghc-temporary)))
14126 (home-page "https://haskell-lang.org/library/typed-process")
14127 (synopsis "Run external processes with strong typing of streams")
14128 (description
14129 "This library provides the ability to launch and interact with external
14130processes. It wraps around the @code{process} library, and intends to improve
14131upon it.")
14132 (license license:expat)))
14133
3a09211c
CH
14134(define-public ghc-uglymemo
14135 (package
14136 (name "ghc-uglymemo")
14137 (version "0.1.0.1")
14138 (source
14139 (origin
14140 (method url-fetch)
14141 (uri (string-append
14142 "https://hackage.haskell.org/package/uglymemo/uglymemo-"
14143 version
14144 ".tar.gz"))
14145 (sha256
14146 (base32
14147 "0ixqg5d0ly1r18jbgaa89i6kjzgi6c5hanw1b1y8c5fbq14yz2gy"))))
14148 (build-system haskell-build-system)
14149 (home-page "https://hackage.haskell.org/package/uglymemo")
14150 (synopsis "Simple memoization function for Haskell")
14151 (description
14152 "This package provides a simple (but internally ugly) memoization
14153function.")
14154 (license license:public-domain)))
14155
d392f803
AG
14156(define-public ghc-unagi-chan
14157 (package
14158 (name "ghc-unagi-chan")
14159 (version "0.4.1.2")
14160 (source
14161 (origin
14162 (method url-fetch)
14163 (uri (string-append "https://hackage.haskell.org/package/unagi-chan"
14164 "/unagi-chan-" version ".tar.gz"))
14165 (sha256
14166 (base32
14167 "1lnl5n4jnjmm4chp461glcwkrrw63rjz3fvprwxcy3lkpbkrqvgn"))))
14168 (build-system haskell-build-system)
14169 (inputs
14170 `(("ghc-atomic-primops" ,ghc-atomic-primops)
14171 ("ghc-primitive" ,ghc-primitive)))
14172 (arguments
14173 `(#:tests? #f ; FIXME: Tests expect primitive 0.7
14174 #:cabal-revision
14175 ("1"
14176 "09pqi867wskwgc5lpn197f895mbn1174ydgllvcppcsmrz2b6yr6")))
3ef91e15 14177 (home-page "https://hackage.haskell.org/package/unagi-chan")
d392f803
AG
14178 (synopsis "Fast concurrent queues with a Chan-like API, and more")
14179 (description
14180 "This library provides implementations of concurrent FIFO queues (for
14181both general boxed and primitive unboxed values) that are fast, perform well
14182under contention, and offer a Chan-like interface. The library may be of
14183limited usefulness outside of x86 architectures where the fetch-and-add
14184instruction is not available.")
14185 (license license:bsd-3)))
14186
dddbc90c
RV
14187(define-public ghc-unbounded-delays
14188 (package
14189 (name "ghc-unbounded-delays")
14190 (version "0.1.1.0")
14191 (source
14192 (origin
14193 (method url-fetch)
14194 (uri (string-append
14195 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
14196 version
14197 ".tar.gz"))
14198 (sha256
14199 (base32
14200 "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa"))))
14201 (build-system haskell-build-system)
14202 (home-page "https://github.com/basvandijk/unbounded-delays")
14203 (synopsis "Unbounded thread delays and timeouts")
14204 (description "The @code{threadDelay} and @code{timeout} functions from the
14205Haskell base library use the bounded @code{Int} type for specifying the delay
14206or timeout period. This package provides alternative functions which use the
14207unbounded @code{Integer} type.")
14208 (license license:bsd-3)))
14209
14210(define-public ghc-unexceptionalio
14211 (package
14212 (name "ghc-unexceptionalio")
14213 (version "0.4.0")
14214 (source
14215 (origin
14216 (method url-fetch)
14217 (uri (string-append "https://hackage.haskell.org/package/"
14218 "unexceptionalio-" version "/" "unexceptionalio-"
14219 version ".tar.gz"))
14220 (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p"))))
14221 (build-system haskell-build-system)
14222 (home-page "https://github.com/singpolyma/unexceptionalio")
14223 (synopsis "IO without any non-error, synchronous exceptions")
14224 (description "When you've caught all the exceptions that can be
14225handled safely, this is what you're left with.")
14226 (license license:isc)))
14227
b69d4aa7
TS
14228(define-public ghc-unicode-transforms
14229 (package
14230 (name "ghc-unicode-transforms")
14231 (version "0.3.6")
14232 (source
14233 (origin
14234 (method url-fetch)
14235 (uri (string-append "https://hackage.haskell.org/package/"
14236 "unicode-transforms/unicode-transforms-"
14237 version ".tar.gz"))
14238 (sha256
14239 (base32
14240 "1akscvyssif4hki3g6hy0jmjyr8cqly1whzvzj0km2b3qh0x09l3"))))
14241 (build-system haskell-build-system)
14242 (inputs
14243 `(("ghc-bitarray" ,ghc-bitarray)))
14244 (native-inputs
14245 `(("ghc-quickcheck" ,ghc-quickcheck)
14246 ("ghc-getopt-generics" ,ghc-getopt-generics)
14247 ("ghc-split" ,ghc-split)))
14248 (home-page "https://github.com/composewell/unicode-transforms")
14249 (synopsis "Unicode normalization")
14250 (description "This library provides tools for fast Unicode 12.1.0
14251normalization in Haskell (normalization forms C, KC, D, and KD).")
14252 (license license:bsd-3)))
14253
dddbc90c
RV
14254(define-public ghc-union-find
14255 (package
14256 (name "ghc-union-find")
14257 (version "0.2")
14258 (source (origin
14259 (method url-fetch)
14260 (uri (string-append
14261 "https://hackage.haskell.org/package/union-find/union-find-"
14262 version ".tar.gz"))
14263 (sha256
14264 (base32
14265 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
14266 (build-system haskell-build-system)
14267 (home-page "https://github.com/nominolo/union-find")
14268 (synopsis "Efficient union and equivalence testing of sets")
14269 (description
14270 "The Union/Find algorithm implements these operations in (effectively)
14271constant-time:
14272@enumerate
14273@item Check whether two elements are in the same equivalence class.
14274@item Create a union of two equivalence classes.
14275@item Look up the descriptor of the equivalence class.
14276@end enumerate\n")
14277 (license license:bsd-3)))
14278
14279(define-public ghc-uniplate
14280 (package
14281 (name "ghc-uniplate")
14282 (version "1.6.12")
14283 (source
14284 (origin
14285 (method url-fetch)
14286 (uri (string-append
14287 "https://hackage.haskell.org/package/uniplate/uniplate-"
14288 version
14289 ".tar.gz"))
14290 (sha256
14291 (base32
14292 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
14293 (build-system haskell-build-system)
14294 (inputs
14295 `(("ghc-syb" ,ghc-syb)
14296 ("ghc-hashable" ,ghc-hashable)
14297 ("ghc-unordered-containers" ,ghc-unordered-containers)))
f5d88758 14298 (home-page "https://github.com/ndmitchell/uniplate")
dddbc90c
RV
14299 (synopsis "Simple, concise and fast generic operations")
14300 (description "Uniplate is a library for writing simple and concise generic
14301operations. Uniplate has similar goals to the original Scrap Your Boilerplate
14302work, but is substantially simpler and faster.")
14303 (license license:bsd-3)))
14304
14305(define-public ghc-unix-compat
14306 (package
14307 (name "ghc-unix-compat")
bc82e9f5 14308 (version "0.5.2")
dddbc90c
RV
14309 (source
14310 (origin
14311 (method url-fetch)
14312 (uri (string-append
14313 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
14314 version
14315 ".tar.gz"))
14316 (sha256
14317 (base32
bc82e9f5 14318 "1a8brv9fax76b1fymslzyghwa6ma8yijiyyhn12msl3i5x24x6k5"))))
dddbc90c
RV
14319 (build-system haskell-build-system)
14320 (home-page
14321 "https://github.com/jystic/unix-compat")
14322 (synopsis "Portable POSIX-compatibility layer")
14323 (description
14324 "This package provides portable implementations of parts of the unix
14325package. This package re-exports the unix package when available. When it
14326isn't available, portable implementations are used.")
14327 (license license:bsd-3)))
14328
14329(define-public ghc-unix-time
14330 (package
14331 (name "ghc-unix-time")
fad9cff2 14332 (version "0.4.7")
dddbc90c
RV
14333 (source
14334 (origin
14335 (method url-fetch)
14336 (uri (string-append
14337 "https://hackage.haskell.org/package/unix-time/unix-time-"
14338 version
14339 ".tar.gz"))
14340 (sha256
14341 (base32
fad9cff2 14342 "02fyh298lm8jsg52i3z0ikazwz477ljqjmhnqr2d88grmn5ky8qr"))))
dddbc90c
RV
14343 (build-system haskell-build-system)
14344 (arguments
14345 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
14346 ; is weird, that should be provided by GHC 7.10.2.
14347 (inputs
14348 `(("ghc-old-time" ,ghc-old-time)
14349 ("ghc-old-locale" ,ghc-old-locale)))
14350 (home-page "https://hackage.haskell.org/package/unix-time")
14351 (synopsis "Unix time parser/formatter and utilities")
14352 (description "This library provides fast parsing and formatting utilities
14353for Unix time in Haskell.")
14354 (license license:bsd-3)))
14355
14356(define-public ghc-unliftio
14357 (package
14358 (name "ghc-unliftio")
a4084db1 14359 (version "0.2.12")
dddbc90c
RV
14360 (source
14361 (origin
14362 (method url-fetch)
14363 (uri (string-append
14364 "https://hackage.haskell.org/package/unliftio/unliftio-"
14365 version
14366 ".tar.gz"))
14367 (sha256
14368 (base32
a4084db1 14369 "02gy1zrxgzg4xmzm8lafsf1nyr3as1q20r8ld73xg3q7rkag9acg"))))
dddbc90c
RV
14370 (build-system haskell-build-system)
14371 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
2b3466de 14372 (outputs '("out" "static" "doc"))
dddbc90c
RV
14373 (inputs
14374 `(("ghc-async" ,ghc-async)
14375 ("ghc-unliftio-core" ,ghc-unliftio-core)))
14376 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
14377 (home-page "https://github.com/fpco/unliftio")
14378 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
14379IO (batteries included)")
14380 (description "This Haskell package provides the core @code{MonadUnliftIO}
14381typeclass, a number of common instances, and a collection of common functions
14382working with it.")
14383 (license license:expat)))
14384
14385(define-public ghc-unliftio-core
14386 (package
14387 (name "ghc-unliftio-core")
2ae42618 14388 (version "0.1.2.0")
dddbc90c
RV
14389 (source
14390 (origin
14391 (method url-fetch)
14392 (uri (string-append "https://hackage.haskell.org/package/"
14393 "unliftio-core-" version "/"
14394 "unliftio-core-" version ".tar.gz"))
14395 (sha256
14396 (base32
2ae42618 14397 "0y3siyx3drkw7igs380a87h8qfbbgcyxxlcnshp698hcc4yqphr4"))))
dddbc90c
RV
14398 (build-system haskell-build-system)
14399 (arguments
14400 `(#:cabal-revision
2ae42618 14401 ("2" "0jqrjjbgicx48wzcjxs1xmih48ay79rhmrz6081dldlfxynli6vz")))
dddbc90c
RV
14402 (home-page
14403 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
14404 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
14405 (description "This Haskell package provides the core @code{MonadUnliftIO}
14406typeclass, instances for base and transformers, and basic utility
14407functions.")
14408 (license license:expat)))
14409
14410(define-public ghc-unordered-containers
14411 (package
14412 (name "ghc-unordered-containers")
ca01f8d3 14413 (version "0.2.10.0")
534d6caa 14414 (outputs '("out" "static" "doc"))
dddbc90c
RV
14415 (source
14416 (origin
14417 (method url-fetch)
14418 (uri (string-append
14419 "https://hackage.haskell.org/package/unordered-containers"
14420 "/unordered-containers-" version ".tar.gz"))
14421 (sha256
14422 (base32
ca01f8d3 14423 "0wy5hfrs880hh8hvp648bl07ws777n3kkmczzdszr7papnyigwb5"))))
dddbc90c
RV
14424 (build-system haskell-build-system)
14425 (inputs
14426 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
14427 ("ghc-hunit" ,ghc-hunit)
14428 ("ghc-quickcheck" ,ghc-quickcheck)
14429 ("ghc-test-framework" ,ghc-test-framework)
14430 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
14431 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
14432 ("ghc-hashable" ,ghc-hashable)))
14433 (home-page
14434 "https://github.com/tibbe/unordered-containers")
14435 (synopsis
14436 "Efficient hashing-based container types")
14437 (description
14438 "Efficient hashing-based container types. The containers have been
14439optimized for performance critical use, both in terms of large data quantities
14440and high speed.")
14441 (license license:bsd-3)))
14442
14443(define-public ghc-unordered-containers-bootstrap
14444 (package
14445 (inherit ghc-unordered-containers)
14446 (name "ghc-unordered-containers-bootstrap")
14447 (arguments `(#:tests? #f))
14448 (inputs
14449 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
799d8d3c 14450 (properties '((hidden? #t)))))
dddbc90c 14451
a52f4c57
JS
14452(define-public ghc-unsafe
14453 (package
14454 (name "ghc-unsafe")
14455 (version "0.0")
14456 (source
14457 (origin
14458 (method url-fetch)
14459 (uri
14460 (string-append
14461 "https://hackage.haskell.org/package/unsafe/unsafe-"
14462 version ".tar.gz"))
14463 (sha256
14464 (base32
14465 "0hc6xr1i3hkz25gdgfx1jqgpsc9mwa05bkfynp0mcfdlyz6782nz"))))
14466 (build-system haskell-build-system)
14467 (home-page "https://hackage.haskell.org/package/unsafe")
14468 (synopsis "Unified interface to unsafe functions")
14469 (description "Safe Haskell introduced the notion of safe and unsafe
14470modules. In order to make as many as possible modules ``safe'', the
14471well-known unsafe functions were moved to distinguished modules. This
14472makes it hard to write packages that work with both old and new versions
14473of GHC. This package provides a single module System.Unsafe that
14474exports the unsafe functions from the base package. It provides them in
14475a style ready for qualification, that is, you should import them by
14476@code{import qualified System.Unsafe as Unsafe}.")
14477 (license license:bsd-3)))
14478
dddbc90c
RV
14479(define-public ghc-uri-bytestring
14480 (package
14481 (name "ghc-uri-bytestring")
d35ffd39 14482 (version "0.3.2.2")
dddbc90c
RV
14483 (source
14484 (origin
14485 (method url-fetch)
14486 (uri (string-append "https://hackage.haskell.org/package/"
14487 "uri-bytestring-" version "/"
14488 "uri-bytestring-" version ".tar.gz"))
14489 (sha256
14490 (base32
d35ffd39 14491 "0spzv3mwlpxiamd7347sxwcy2xri16ak1y7p1v4fisnvq4jprm67"))))
dddbc90c
RV
14492 (build-system haskell-build-system)
14493 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
dddbc90c
RV
14494 ("ghc-blaze-builder" ,ghc-blaze-builder)
14495 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
d35ffd39 14496 (native-inputs `(("ghc-hunit" ,ghc-hunit)
dddbc90c
RV
14497 ("ghc-tasty" ,ghc-tasty)
14498 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
d35ffd39
TS
14499 ("ghc-hedgehog" ,ghc-hedgehog)
14500 ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
dddbc90c 14501 ("ghc-base-compat" ,ghc-base-compat)
dddbc90c 14502 ("ghc-semigroups" ,ghc-semigroups)
d35ffd39 14503 ("ghc-safe" ,ghc-safe)))
dddbc90c
RV
14504 (home-page "https://github.com/Soostone/uri-bytestring")
14505 (synopsis "Haskell URI parsing as ByteStrings")
14506 (description "This Haskell package aims to be an RFC3986 compliant URI
14507parser that uses ByteStrings for parsing and representing the URI data.")
14508 (license license:bsd-3)))
14509
d7ad0823
JS
14510(define-public ghc-utf8-light
14511 (package
14512 (name "ghc-utf8-light")
14513 (version "0.4.2")
14514 (source
14515 (origin
14516 (method url-fetch)
14517 (uri (string-append
14518 "mirror://hackage/package/utf8-light/utf8-light-"
14519 version
14520 ".tar.gz"))
14521 (sha256
14522 (base32
14523 "0rwyc5z331yfnm4hpx0sph6i1zvkd1z10vvglhnp0vc9wy644k0q"))))
14524 (build-system haskell-build-system)
14525 (home-page
14526 "http://hackage.haskell.org/package/utf8-light")
14527 (synopsis "Lightweight unicode support for Haskell")
14528 (description
14529 "This package profides a class for encoding and decoding UTF8 strings
14530with instances for several common types. It also includes several functions
14531for working with UTF8. It aims to be lightweight, depending only on Base and
14532including only one module.")
14533 (license license:bsd-3)))
14534
dddbc90c
RV
14535(define-public ghc-utf8-string
14536 (package
14537 (name "ghc-utf8-string")
14538 (version "1.0.1.1")
14539 (source
14540 (origin
14541 (method url-fetch)
14542 (uri (string-append
14543 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
14544 version
14545 ".tar.gz"))
14546 (sha256
14547 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
14548 (build-system haskell-build-system)
14549 (arguments
14550 `(#:cabal-revision
14551 ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38")))
14552 (home-page "https://github.com/glguy/utf8-string/")
14553 (synopsis "Support for reading and writing UTF8 Strings")
14554 (description
14555 "A UTF8 layer for Strings. The utf8-string package provides operations
14556for encoding UTF8 strings to Word8 lists and back, and for reading and writing
14557UTF8 without truncation.")
14558 (license license:bsd-3)))
14559
14560(define-public ghc-utility-ht
14561 (package
14562 (name "ghc-utility-ht")
14563 (version "0.0.14")
14564 (home-page "https://hackage.haskell.org/package/utility-ht")
14565 (source
14566 (origin
14567 (method url-fetch)
14568 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
14569 (sha256
14570 (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9"))))
14571 (build-system haskell-build-system)
14572 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
14573 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
14574 (description "This package includes Hakell modules providing various
14575helper functions for Lists, Maybes, Tuples, Functions.")
14576 (license license:bsd-3)))
14577
14578(define-public ghc-uuid
14579 (package
14580 (name "ghc-uuid")
14581 (version "1.3.13")
14582 (source
14583 (origin
14584 (method url-fetch)
14585 (uri (string-append "https://hackage.haskell.org/package/"
14586 "uuid-" version "/"
14587 "uuid-" version ".tar.gz"))
14588 (sha256
14589 (base32
14590 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
14591 (build-system haskell-build-system)
14592 (arguments
14593 `(#:cabal-revision
14594 ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
14595 #:phases
14596 (modify-phases %standard-phases
14597 (add-before 'configure 'strip-test-framework-constraints
14598 (lambda _
14599 (substitute* "uuid.cabal"
14600 (("HUnit >= 1\\.2 && < 1\\.4") "HUnit")
14601 (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck")
14602 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
14603 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
14604 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
14605 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
14606 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
14607 ("ghc-entropy" ,ghc-entropy)
14608 ("ghc-network-info" ,ghc-network-info)
14609 ("ghc-random" ,ghc-random)
14610 ("ghc-uuid-types" ,ghc-uuid-types)))
14611 (native-inputs `(("ghc-hunit" ,ghc-hunit)
14612 ("ghc-quickcheck" ,ghc-quickcheck)
14613 ("ghc-tasty" ,ghc-tasty)
14614 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14615 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14616 (home-page "https://github.com/hvr/uuid")
14617 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
14618 (description "This Haskell library provides utilities creating, comparing,
14619parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
14620 (license license:bsd-3)))
14621
14622(define-public ghc-uuid-types
14623 (package
14624 (name "ghc-uuid-types")
14625 (version "1.0.3")
14626 (source
14627 (origin
14628 (method url-fetch)
14629 (uri (string-append "https://hackage.haskell.org/package/"
14630 "uuid-types-" version "/"
14631 "uuid-types-" version ".tar.gz"))
14632 (sha256
14633 (base32
14634 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
14635 (build-system haskell-build-system)
14636 (arguments
14637 `(#:phases
14638 (modify-phases %standard-phases
14639 (add-before 'configure 'strip-test-framework-constraints
14640 (lambda _
14641 (substitute* "uuid-types.cabal"
14642 (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
14643 (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
14644 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
14645 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
14646 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
14647 (inputs `(("ghc-hashable" ,ghc-hashable)
14648 ("ghc-random" ,ghc-random)))
14649 (native-inputs `(("ghc-hunit" ,ghc-hunit)
14650 ("ghc-quickcheck" ,ghc-quickcheck)
14651 ("ghc-tasty" ,ghc-tasty)
14652 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14653 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14654 (home-page "https://github.com/hvr/uuid")
14655 (synopsis "Haskell type definitions for UUIDs")
14656 (description "This Haskell library contains type definitions for
14657@dfn{Universally Unique Identifiers} or
14658@uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
14659functions.")
14660 (license license:bsd-3)))
14661
14662(define-public ghc-validation
14663 (package
14664 (name "ghc-validation")
08397fde 14665 (version "1.1")
dddbc90c
RV
14666 (source
14667 (origin
14668 (method url-fetch)
14669 (uri (string-append
14670 "mirror://hackage/package/validation/validation-"
14671 version
14672 ".tar.gz"))
14673 (sha256
14674 (base32
08397fde 14675 "1acj7mh3581ks405xswxw6667z7y1y0slisg6jvp6chc191ji9l5"))))
dddbc90c
RV
14676 (build-system haskell-build-system)
14677 (arguments
14678 `(#:cabal-revision
08397fde 14679 ("1" "1rrjg9z399k6pb55nv85mlr5bkmdqbjwkvl1cy7ydccdx6ks4syp")))
dddbc90c
RV
14680 (inputs
14681 `(("ghc-semigroups" ,ghc-semigroups)
14682 ("ghc-semigroupoids" ,ghc-semigroupoids)
14683 ("ghc-bifunctors" ,ghc-bifunctors)
14684 ("ghc-lens" ,ghc-lens)))
14685 (native-inputs
14686 `(("ghc-hedgehog" ,ghc-hedgehog)
14687 ("ghc-hunit" ,ghc-hunit)))
14688 (home-page "https://github.com/qfpl/validation")
14689 (synopsis
14690 "Data-type like Either but with an accumulating Applicative")
14691 (description
14692 "A data-type like Either but with differing properties and type-class
14693instances.
14694
14695Library support is provided for this different representation, including
14696@code{lens}-related functions for converting between each and abstracting over
14697their similarities.
14698
14699The @code{Validation} data type is isomorphic to @code{Either}, but has an
14700instance of @code{Applicative} that accumulates on the error side. That is to
14701say, if two (or more) errors are encountered, they are appended using a
14702@{Semigroup} operation.
14703
14704As a consequence of this @code{Applicative} instance, there is no
14705corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an
14706example of, \"An applicative functor that is not a monad.\"")
14707 (license license:bsd-3)))
14708
14709(define-public ghc-validity
14710 (package
14711 (name "ghc-validity")
3f1ba75d 14712 (version "0.9.0.2")
dddbc90c
RV
14713 (source
14714 (origin
14715 (method url-fetch)
14716 (uri (string-append
14717 "https://hackage.haskell.org/package/validity/validity-"
14718 version
14719 ".tar.gz"))
14720 (sha256
14721 (base32
3f1ba75d 14722 "1aa93lp1pqwv7vhx19nazlig8qhbp3psblbz360s5lii3s5rli2v"))))
dddbc90c
RV
14723 (build-system haskell-build-system)
14724 (native-inputs `(("ghc-hspec" ,ghc-hspec)
14725 ("hspec-discover" ,hspec-discover)))
14726 (home-page
14727 "https://github.com/NorfairKing/validity")
14728 (synopsis "Validity typeclass")
14729 (description
14730 "Values of custom types usually have invariants imposed upon them. This
14731package provides the @code{Validity} type class, which makes these invariants
14732explicit by providing a function to check whether the invariants hold.")
14733 (license license:expat)))
14734
14735(define-public ghc-vault
14736 (package
14737 (name "ghc-vault")
b40a436e 14738 (version "0.3.1.3")
dddbc90c
RV
14739 (source
14740 (origin
14741 (method url-fetch)
14742 (uri (string-append
14743 "https://hackage.haskell.org/package/vault/vault-"
14744 version
14745 ".tar.gz"))
14746 (sha256
14747 (base32
b40a436e 14748 "0vdm472vn734xa27jjm2mjacl37mxiqaaahvm4hzqjgyh4cqq377"))))
dddbc90c
RV
14749 (build-system haskell-build-system)
14750 (inputs
14751 `(("ghc-unordered-containers" ,ghc-unordered-containers)
14752 ("ghc-hashable" ,ghc-hashable)
b40a436e 14753 ("ghc-semigroups" ,ghc-semigroups)))
dddbc90c
RV
14754 (home-page
14755 "https://github.com/HeinrichApfelmus/vault")
14756 (synopsis "Persistent store for arbitrary values")
14757 (description "This package provides vaults for Haskell. A vault is a
14758persistent store for values of arbitrary types. It's like having first-class
14759access to the storage space behind @code{IORefs}. The data structure is
14760analogous to a bank vault, where you can access different bank boxes with
14761different keys; hence the name. Also provided is a @code{locker} type,
14762representing a store for a single element.")
14763 (license license:bsd-3)))
14764
14765(define-public ghc-vector
14766 (package
14767 (name "ghc-vector")
3ad67f6b 14768 (version "0.12.0.3")
534d6caa 14769 (outputs '("out" "static" "doc"))
dddbc90c
RV
14770 (source
14771 (origin
14772 (method url-fetch)
14773 (uri (string-append
14774 "https://hackage.haskell.org/package/vector/vector-"
14775 version
14776 ".tar.gz"))
14777 (sha256
14778 (base32
3ad67f6b 14779 "1a756s4w759ji3als5alfxwlckh5zcmykfg9rll4mlr2knzvz8mq"))))
dddbc90c
RV
14780 (build-system haskell-build-system)
14781 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
14782 ;; disabled for now.
14783 (arguments
3ad67f6b 14784 `(#:tests? #f))
dddbc90c
RV
14785 (inputs
14786 `(("ghc-primitive" ,ghc-primitive)
14787 ("ghc-random" ,ghc-random)
14788 ("ghc-quickcheck" ,ghc-quickcheck)
14789 ;; ("ghc-hunit" ,ghc-hunit)
14790 ;; ("ghc-test-framework" ,ghc-test-framework)
14791 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
14792 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
14793 ))
14794 (home-page "https://github.com/haskell/vector")
14795 (synopsis "Efficient Arrays")
14796 (description "This library provides an efficient implementation of
14797Int-indexed arrays (both mutable and immutable), with a powerful loop
14798optimisation framework.")
14799 (license license:bsd-3)))
14800
14801(define-public ghc-vector-algorithms
14802 (package
14803 (name "ghc-vector-algorithms")
e71f316f 14804 (version "0.8.0.1")
dddbc90c
RV
14805 (source
14806 (origin
14807 (method url-fetch)
14808 (uri (string-append "https://hackage.haskell.org/package/"
14809 "vector-algorithms-" version "/"
14810 "vector-algorithms-" version ".tar.gz"))
14811 (sha256
14812 (base32
e71f316f 14813 "1zip8r7hh5g12xrjvhbg38z6hfxy7l6h6pl88qcqc0ygdmwdxg0m"))))
dddbc90c
RV
14814 (build-system haskell-build-system)
14815 (inputs
14816 `(("ghc-vector" ,ghc-vector)))
14817 (native-inputs
14818 `(("ghc-quickcheck" ,ghc-quickcheck)))
14819 (home-page "https://github.com/bos/math-functions")
14820 (synopsis "Algorithms for vector arrays in Haskell")
14821 (description "This Haskell library algorithms for vector arrays.")
14822 (license license:bsd-3)))
14823
14824(define-public ghc-vector-binary-instances
14825 (package
14826 (name "ghc-vector-binary-instances")
ca0701ef 14827 (version "0.2.5.1")
dddbc90c
RV
14828 (source
14829 (origin
14830 (method url-fetch)
14831 (uri (string-append
14832 "https://hackage.haskell.org/package/"
14833 "vector-binary-instances/vector-binary-instances-"
14834 version ".tar.gz"))
14835 (sha256
14836 (base32
ca0701ef 14837 "04n5cqm1v95pw1bp68l9drjkxqiy2vswxdq0fy1rqcgxisgvji9r"))))
dddbc90c 14838 (build-system haskell-build-system)
dddbc90c
RV
14839 (inputs
14840 `(("ghc-vector" ,ghc-vector)))
14841 (native-inputs
14842 `(("ghc-tasty" ,ghc-tasty)
14843 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
14844 (home-page "https://github.com/bos/vector-binary-instances")
14845 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
14846 (description "This library provides instances of @code{Binary} for the
14847types defined in the @code{vector} package, making it easy to serialize
14848vectors to and from disk. We use the generic interface to vectors, so all
14849vector types are supported. Specific instances are provided for unboxed,
14850boxed and storable vectors.")
14851 (license license:bsd-3)))
14852
14853(define-public ghc-vector-builder
14854 (package
14855 (name "ghc-vector-builder")
1fc05441 14856 (version "0.3.8")
dddbc90c
RV
14857 (source
14858 (origin
14859 (method url-fetch)
14860 (uri (string-append "https://hackage.haskell.org/package/"
14861 "vector-builder-" version "/"
14862 "vector-builder-" version ".tar.gz"))
14863 (sha256
14864 (base32
1fc05441 14865 "0ww0l52p8s6gmh985adnjbvm1vrqpqbm08qdcrvxwhhcqmxgv6m3"))))
dddbc90c
RV
14866 (build-system haskell-build-system)
14867 (inputs `(("ghc-vector" ,ghc-vector)
14868 ("ghc-semigroups" ,ghc-semigroups)
14869 ("ghc-base-prelude" ,ghc-base-prelude)))
14870 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
14871 ("ghc-tasty" ,ghc-tasty)
14872 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
14873 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
14874 ("ghc-hunit" ,ghc-hunit)
14875 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
14876 ("ghc-rerebase" ,ghc-rerebase)))
14877 (home-page "https://github.com/nikita-volkov/vector-builder")
14878 (synopsis "Vector builder for Haskell")
14879 (description "This Haskell package provides an API for constructing vectors.
14880It provides the composable @code{Builder} abstraction, which has instances of the
14881@code{Monoid} and @code{Semigroup} classes.
14882
14883You would first use the @code{Builder} abstraction to specify the structure of
14884the vector; then you can execute the builder to actually produce the
14885vector. ")
14886 (license license:expat)))
14887
14888(define-public ghc-vector-th-unbox
14889 (package
14890 (name "ghc-vector-th-unbox")
63056e61 14891 (version "0.2.1.7")
dddbc90c
RV
14892 (source
14893 (origin
14894 (method url-fetch)
14895 (uri (string-append "https://hackage.haskell.org/package/"
14896 "vector-th-unbox-" version "/"
14897 "vector-th-unbox-" version ".tar.gz"))
14898 (sha256
14899 (base32
63056e61 14900 "0q8dqnbv1c2gi7jjdhqj14abj1vik23ki6lq4iz2sz18yc7q69fi"))))
dddbc90c
RV
14901 (build-system haskell-build-system)
14902 (inputs
14903 `(("ghc-vector" ,ghc-vector)
14904 ("ghc-data-default" ,ghc-data-default)))
14905 (home-page "https://github.com/liyang/vector-th-unbox")
14906 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
14907 (description "This Haskell library provides a Template Haskell
14908deriver for unboxed vectors, given a pair of coercion functions to
14909and from some existing type with an Unbox instance.")
14910 (license license:bsd-3)))
14911
14912(define-public ghc-void
14913 (package
14914 (name "ghc-void")
51889121 14915 (version "0.7.3")
dddbc90c
RV
14916 (source
14917 (origin
14918 (method url-fetch)
14919 (uri (string-append
14920 "https://hackage.haskell.org/package/void/void-"
14921 version
14922 ".tar.gz"))
14923 (sha256
14924 (base32
51889121 14925 "05vk3x1r9a2pqnzfji475m5gdih2im1h7rbi2sc67p1pvj6pbbsk"))))
dddbc90c
RV
14926 (build-system haskell-build-system)
14927 (inputs
14928 `(("ghc-semigroups" ,ghc-semigroups)
14929 ("ghc-hashable" ,ghc-hashable)))
14930 (home-page "https://github.com/ekmett/void")
14931 (synopsis
14932 "Logically uninhabited data type")
14933 (description
14934 "A Haskell 98 logically uninhabited data type, used to indicate that a
14935given term should not exist.")
14936 (license license:bsd-3)))
14937
14938(define-public ghc-wave
14939 (package
14940 (name "ghc-wave")
1631a0f7 14941 (version "0.2.0")
dddbc90c
RV
14942 (source (origin
14943 (method url-fetch)
14944 (uri (string-append
14945 "https://hackage.haskell.org/package/wave/wave-"
14946 version
14947 ".tar.gz"))
14948 (sha256
14949 (base32
1631a0f7 14950 "149kgwngq3qxc7gxpkqb16j669j0wpv2f3gnvfwp58yg6m4259ki"))))
dddbc90c
RV
14951 (build-system haskell-build-system)
14952 (arguments
14953 '(#:phases
14954 (modify-phases %standard-phases
14955 (add-before 'configure 'update-constraints
14956 (lambda _
14957 (substitute* "wave.cabal"
14958 (("temporary.* < 1\\.3")
14959 "temporary >= 1.1 && < 1.4")))))))
14960 (inputs
14961 `(("ghc-cereal" ,ghc-cereal)
14962 ("ghc-data-default-class"
14963 ,ghc-data-default-class)
14964 ("ghc-quickcheck" ,ghc-quickcheck)
14965 ("ghc-temporary" ,ghc-temporary)))
14966 (native-inputs
14967 `(("hspec-discover" ,hspec-discover)
14968 ("ghc-hspec" ,ghc-hspec)))
14969 (home-page "https://github.com/mrkkrp/wave")
14970 (synopsis "Work with WAVE and RF64 files in Haskell")
14971 (description "This package allows you to work with WAVE and RF64
14972files in Haskell.")
14973 (license license:bsd-3)))
14974
14975(define-public ghc-wcwidth
14976 (package
14977 (name "ghc-wcwidth")
14978 (version "0.0.2")
14979 (source
14980 (origin
14981 (method url-fetch)
14982 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
14983 version ".tar.gz"))
14984 (sha256
14985 (base32
14986 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
14987 (build-system haskell-build-system)
14988 (inputs
14989 `(("ghc-setlocale" ,ghc-setlocale)
14990 ("ghc-utf8-string" ,ghc-utf8-string)
14991 ("ghc-attoparsec" ,ghc-attoparsec)))
14992 (home-page "https://github.com/solidsnack/wcwidth/")
14993 (synopsis "Haskell bindings to wcwidth")
14994 (description "This package provides Haskell bindings to your system's
14995native wcwidth and a command line tool to examine the widths assigned by it.
14996The command line tool can compile a width table to Haskell code that assigns
14997widths to the Char type.")
14998 (license license:bsd-3)))
14999
15000(define-public ghc-wcwidth-bootstrap
15001 (package
15002 (inherit ghc-wcwidth)
15003 (name "ghc-wcwidth-bootstrap")
15004 (inputs
15005 `(("ghc-setlocale" ,ghc-setlocale)
15006 ("ghc-utf8-string" ,ghc-utf8-string)
15007 ("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
799d8d3c 15008 (properties '((hidden? #t)))))
dddbc90c
RV
15009
15010(define-public ghc-weigh
15011 (package
15012 (name "ghc-weigh")
b6d9777f 15013 (version "0.0.14")
dddbc90c
RV
15014 (source
15015 (origin
15016 (method url-fetch)
15017 (uri (string-append "https://hackage.haskell.org/package/weigh/"
15018 "weigh-" version ".tar.gz"))
15019 (sha256
15020 (base32
b6d9777f 15021 "0l85marb5rl9nr1c0id42dnr5i9fk1jciy5h6lywhb34w3hbj61g"))))
dddbc90c
RV
15022 (build-system haskell-build-system)
15023 (inputs
15024 `(("ghc-split" ,ghc-split)
15025 ("ghc-temporary" ,ghc-temporary)))
15026 (home-page "https://github.com/fpco/weigh#readme")
15027 (synopsis "Measure allocations of a Haskell functions/values")
15028 (description "This package provides tools to measure the memory usage of a
15029Haskell value or function.")
15030 (license license:bsd-3)))
15031
f2a8aea1
CH
15032(define-public ghc-wizards
15033 (package
15034 (name "ghc-wizards")
15035 (version "1.0.3")
15036 (source
15037 (origin
15038 (method url-fetch)
15039 (uri (string-append
15040 "https://hackage.haskell.org/package/wizards/wizards-"
15041 version
15042 ".tar.gz"))
15043 (sha256
15044 (base32
15045 "1clvbd1ckhvy29qrbmpkn7bya7300fq6znnps23nn3nxyrxhsr85"))))
15046 (build-system haskell-build-system)
15047 (inputs
15048 `(("ghc-control-monad-free" ,ghc-control-monad-free)))
15049 (arguments
15050 `(#:cabal-revision
15051 ("1"
15052 "095qd17zrdhqmcvmslbyzfa5sh9glvvsnsvnlz31gzsmi8nnsgim")))
15053 (home-page "http://hackage.haskell.org/package/wizards")
15054 (synopsis "High level, generic library for interrogative user interfaces")
15055 (description
15056 "@code{wizards} is a package designed for the quick and painless
15057development of @emph{interrogative} programs, which revolve around a dialogue
15058with the user, who is asked a series of questions in a sequence much like an
15059installation wizard.
15060
15061Everything from interactive system scripts, to installation wizards, to
15062full-blown shells can be implemented with the support of @code{wizards}.
15063
15064It is developed transparently on top of a free monad, which separates out the
15065semantics of the program from any particular interface. A variety of backends
15066exist, including console-based @code{System.Console.Wizard.Haskeline} and
15067@code{System.Console.Wizard.BasicIO}, and the pure
15068@code{System.Console.Wizard.Pure}. It is also possible to write your own
15069backends, or extend existing back-ends with new features. While both built-in
15070IO backends operate on a console, there is no reason why @code{wizards} cannot
15071also be used for making GUI wizard interfaces.")
15072 (license license:bsd-3)))
15073
dddbc90c
RV
15074(define-public ghc-wl-pprint
15075 (package
15076 (name "ghc-wl-pprint")
15077 (version "1.2.1")
15078 (source (origin
15079 (method url-fetch)
15080 (uri (string-append
15081 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
15082 version ".tar.gz"))
15083 (sha256
15084 (base32
15085 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
15086 (build-system haskell-build-system)
15087 (home-page "https://hackage.haskell.org/package/wl-pprint")
15088 (synopsis "Wadler/Leijen pretty printer")
15089 (description
15090 "This is a pretty printing library based on Wadler's paper @i{A Prettier
15091Printer}. This version allows the library user to declare overlapping
15092instances of the @code{Pretty} class.")
15093 (license license:bsd-3)))
15094
15095(define-public ghc-wl-pprint-annotated
15096 (package
15097 (name "ghc-wl-pprint-annotated")
15098 (version "0.1.0.1")
15099 (source
15100 (origin
15101 (method url-fetch)
15102 (uri (string-append
15103 "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-"
15104 version
15105 ".tar.gz"))
15106 (sha256
15107 (base32
15108 "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb"))))
15109 (build-system haskell-build-system)
15110 (native-inputs
15111 `(("ghc-tasty" ,ghc-tasty)
15112 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
15113 (home-page
15114 "https://github.com/minad/wl-pprint-annotated#readme")
15115 (synopsis
15116 "Wadler/Leijen pretty printer with annotation support")
15117 (description
15118 "Annotations are useful for coloring. This is a limited version of
15119@code{wl-pprint-extras} without support for point effects and without the free
15120monad. Like in @code{annotated-wl-pprint}, only annotations are supported.
15121Compared to @code{annotated-wl-pprint} this library provides a slightly
15122modernized interface.")
15123 (license license:bsd-3)))
15124
15125(define-public ghc-wl-pprint-text
15126 (package
15127 (name "ghc-wl-pprint-text")
15128 (version "1.2.0.0")
15129 (source
15130 (origin
15131 (method url-fetch)
15132 (uri (string-append
15133 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
15134 version ".tar.gz"))
15135 (sha256
15136 (base32
15137 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
15138 (build-system haskell-build-system)
15139 (inputs
15140 `(("ghc-base-compat" ,ghc-base-compat)))
15141 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
15142 (synopsis "Wadler/Leijen Pretty Printer for Text values")
15143 (description
15144 "A clone of wl-pprint for use with the text library.")
15145 (license license:bsd-3)))
15146
15147(define-public ghc-word8
15148 (package
15149 (name "ghc-word8")
15150 (version "0.1.3")
15151 (source
15152 (origin
15153 (method url-fetch)
15154 (uri (string-append
15155 "https://hackage.haskell.org/package/word8/word8-"
15156 version
15157 ".tar.gz"))
15158 (sha256
15159 (base32
15160 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
15161 (build-system haskell-build-system)
15162 (native-inputs
15163 `(("ghc-hspec" ,ghc-hspec)
15164 ("hspec-discover" ,hspec-discover)))
15165 (home-page "https://hackage.haskell.org/package/word8")
15166 (synopsis "Word8 library for Haskell")
15167 (description "Word8 library to be used with @code{Data.ByteString}.")
15168 (license license:bsd-3)))
15169
15170(define-public ghc-x11
15171 (package
15172 (name "ghc-x11")
6c4581a3 15173 (version "1.9.1")
dddbc90c
RV
15174 (source
15175 (origin
15176 (method url-fetch)
15177 (uri (string-append "https://hackage.haskell.org/package/X11/"
15178 "X11-" version ".tar.gz"))
15179 (sha256
6c4581a3 15180 (base32 "0gg6852mrlgl8zng1j84fismz7k81jr5fk92glgkscf8q6ryg0bm"))))
dddbc90c 15181 (build-system haskell-build-system)
54a5fd07
TS
15182 (arguments
15183 `(#:extra-directories
15184 ("libx11" "libxrandr" "libxinerama" "libxscrnsaver")))
dddbc90c
RV
15185 (inputs
15186 `(("libx11" ,libx11)
15187 ("libxrandr" ,libxrandr)
15188 ("libxinerama" ,libxinerama)
15189 ("libxscrnsaver" ,libxscrnsaver)
15190 ("ghc-data-default" ,ghc-data-default)))
15191 (home-page "https://github.com/haskell-pkg-janitors/X11")
15192 (synopsis "Bindings to the X11 graphics library")
15193 (description
15194 "This package provides Haskell bindings to the X11 graphics library. The
15195bindings are a direct translation of the C bindings.")
15196 (license license:bsd-3)))
15197
15198(define-public ghc-x11-xft
15199 (package
15200 (name "ghc-x11-xft")
15201 (version "0.3.1")
15202 (source
15203 (origin
15204 (method url-fetch)
15205 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
15206 "X11-xft-" version ".tar.gz"))
15207 (sha256
15208 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
54a5fd07
TS
15209 (arguments
15210 `(#:extra-directories ("libx11" "libxft" "xorgproto")))
dddbc90c
RV
15211 (inputs
15212 `(("ghc-x11" ,ghc-x11)
15213 ("ghc-utf8-string" ,ghc-utf8-string)
15214 ("libx11" ,libx11)
15215 ("libxft" ,libxft)
15216 ("xorgproto" ,xorgproto)))
15217 (native-inputs
15218 `(("pkg-config" ,pkg-config)))
15219 (build-system haskell-build-system)
15220 (home-page "https://hackage.haskell.org/package/X11-xft")
15221 (synopsis "Bindings to Xft")
15222 (description
15223 "Bindings to the Xft, X Free Type interface library, and some Xrender
15224parts.")
15225 (license license:lgpl2.1)))
15226
15227(define-public ghc-xdg-basedir
15228 (package
15229 (name "ghc-xdg-basedir")
15230 (version "0.2.2")
15231 (source
15232 (origin
15233 (method url-fetch)
15234 (uri (string-append
15235 "https://hackage.haskell.org/package/xdg-basedir/"
15236 "xdg-basedir-" version ".tar.gz"))
15237 (sha256
15238 (base32
15239 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
15240 (build-system haskell-build-system)
702a1012 15241 (home-page "https://github.com/willdonnelly/xdg-basedir")
dddbc90c
RV
15242 (synopsis "XDG Base Directory library for Haskell")
15243 (description "This package provides a library implementing the XDG Base Directory spec.")
15244 (license license:bsd-3)))
15245
15246(define-public ghc-xml
15247 (package
15248 (name "ghc-xml")
15249 (version "1.3.14")
15250 (source
15251 (origin
15252 (method url-fetch)
15253 (uri (string-append
15254 "https://hackage.haskell.org/package/xml/xml-"
15255 version
15256 ".tar.gz"))
15257 (sha256
15258 (base32
15259 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
15260 (build-system haskell-build-system)
2b62f5d0 15261 (home-page "https://github.com/GaloisInc/xml")
dddbc90c
RV
15262 (synopsis "Simple XML library for Haskell")
15263 (description "This package provides a simple XML library for Haskell.")
15264 (license license:bsd-3)))
15265
15266(define-public ghc-xml-conduit
15267 (package
15268 (name "ghc-xml-conduit")
15269 (version "1.8.0.1")
15270 (source
15271 (origin
15272 (method url-fetch)
15273 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
15274 "xml-conduit-" version ".tar.gz"))
15275 (sha256
15276 (base32
15277 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
15278 (build-system haskell-build-system)
15279 (inputs
15280 `(("ghc-conduit" ,ghc-conduit)
15281 ("ghc-conduit-extra" ,ghc-conduit-extra)
15282 ("ghc-doctest" ,ghc-doctest)
15283 ("ghc-resourcet" ,ghc-resourcet)
15284 ("ghc-xml-types" ,ghc-xml-types)
15285 ("ghc-attoparsec" ,ghc-attoparsec)
15286 ("ghc-data-default-class" ,ghc-data-default-class)
15287 ("ghc-blaze-markup" ,ghc-blaze-markup)
15288 ("ghc-blaze-html" ,ghc-blaze-html)
15289 ("ghc-monad-control" ,ghc-monad-control)
15290 ("ghc-hspec" ,ghc-hspec)
15291 ("ghc-hunit" ,ghc-hunit)))
15292 (home-page "https://github.com/snoyberg/xml")
15293 (synopsis "Utilities for dealing with XML with the conduit package")
15294 (description
15295 "This package provides pure-Haskell utilities for dealing with XML with
15296the @code{conduit} package.")
15297 (license license:expat)))
15298
15299(define-public ghc-xml-types
15300 (package
15301 (name "ghc-xml-types")
15302 (version "0.3.6")
15303 (source
15304 (origin
15305 (method url-fetch)
15306 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
15307 "xml-types-" version ".tar.gz"))
15308 (sha256
15309 (base32
15310 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
15311 (build-system haskell-build-system)
15312 (home-page "https://john-millikin.com/software/haskell-xml/")
15313 (synopsis "Basic types for representing XML")
15314 (description "This package provides basic types for representing XML
15315documents.")
15316 (license license:expat)))
15317
7f89dfc9
KM
15318(define-public ghc-xml-hamlet
15319 (package
15320 (name "ghc-xml-hamlet")
15321 (version "0.5.0.1")
15322 (source
15323 (origin
15324 (method url-fetch)
15325 (uri (string-append "https://hackage.haskell.org/package/xml-hamlet/"
15326 "xml-hamlet-" version ".tar.gz"))
15327 (sha256
15328 (base32 "0jrhcjy7ww59dafg857f2g2df1fw2jmbwcs1q379ph0pc5rxj3lj"))))
15329 (build-system haskell-build-system)
15330 (inputs
15331 `(("ghc-shakespeare" ,ghc-shakespeare)
15332 ("ghc-xml-conduit" ,ghc-xml-conduit)))
15333 (native-inputs
15334 `(("ghc-hspec" ,ghc-hspec)
15335 ("ghc-hunit" ,ghc-hunit)))
15336 (home-page "https://www.yesodweb.com/")
15337 (synopsis "Hamlet-style quasiquoter for XML content")
15338 (description "This package provides a type-safe tool for generating XML
15339code via quasi-quoting built on top of @code{ghc-shakespeare}.")
15340 (license license:bsd-3)))
15341
dddbc90c
RV
15342(define-public ghc-yaml
15343 (package
15344 (name "ghc-yaml")
b58e5b84 15345 (version "0.11.1.2")
dddbc90c
RV
15346 (source (origin
15347 (method url-fetch)
15348 (uri (string-append "https://hackage.haskell.org/package/"
15349 "yaml/yaml-" version ".tar.gz"))
15350 (sha256
15351 (base32
b58e5b84 15352 "028pz77n92l6kjgjv263h4b6yhw1iibdbf3a3dkn5qnz537xpzhc"))))
dddbc90c 15353 (build-system haskell-build-system)
dddbc90c
RV
15354 (inputs
15355 `(("ghc-conduit" ,ghc-conduit)
15356 ("ghc-resourcet" ,ghc-resourcet)
15357 ("ghc-aeson" ,ghc-aeson)
15358 ("ghc-unordered-containers" ,ghc-unordered-containers)
15359 ("ghc-vector" ,ghc-vector)
15360 ("ghc-attoparsec" ,ghc-attoparsec)
15361 ("ghc-scientific" ,ghc-scientific)
15362 ("ghc-semigroups" ,ghc-semigroups)
15363 ("ghc-temporary" ,ghc-temporary)
15364 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
b58e5b84
TS
15365 ("ghc-base-compat" ,ghc-base-compat)
15366 ("ghc-libyaml" ,ghc-libyaml)))
dddbc90c
RV
15367 (native-inputs
15368 `(("ghc-hspec" ,ghc-hspec)
15369 ("ghc-hunit" ,ghc-hunit)
15370 ("hspec-discover" ,hspec-discover)
b58e5b84
TS
15371 ("ghc-mockery" ,ghc-mockery)
15372 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)))
dddbc90c
RV
15373 (home-page "https://github.com/snoyberg/yaml/")
15374 (synopsis "Parsing and rendering YAML documents")
15375 (description
15376 "This package provides a library to parse and render YAML documents.")
15377 (license license:bsd-3)))
15378
15379(define-public ghc-zip-archive
15380 (package
15381 (name "ghc-zip-archive")
93c1fdd3 15382 (version "0.4.1")
dddbc90c
RV
15383 (source
15384 (origin
15385 (method url-fetch)
15386 (uri (string-append
15387 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
15388 version
15389 ".tar.gz"))
15390 (sha256
15391 (base32
93c1fdd3 15392 "1cdix5mnxrbs7b2kivhdydhfzgxidd9dqlw71mdw5p21cabwkmf5"))))
dddbc90c 15393 (build-system haskell-build-system)
93c1fdd3
TS
15394 (arguments
15395 `(#:phases
15396 (modify-phases %standard-phases
15397 (add-before 'check 'set-PATH-for-tests
15398 (lambda* (#:key inputs #:allow-other-keys)
15399 (let ((unzip (assoc-ref inputs "unzip"))
15400 (which (assoc-ref inputs "which"))
15401 (path (getenv "PATH")))
15402 (setenv "PATH" (string-append unzip "/bin:" which "/bin:" path))
15403 #t))))))
dddbc90c
RV
15404 (inputs
15405 `(("ghc-digest" ,ghc-digest)
15406 ("ghc-temporary" ,ghc-temporary)
15407 ("ghc-zlib" ,ghc-zlib)))
15408 (native-inputs
15409 `(("ghc-hunit" ,ghc-hunit)
93c1fdd3
TS
15410 ("unzip" ,unzip)
15411 ("which" ,which)))
dddbc90c
RV
15412 (home-page "https://hackage.haskell.org/package/zip-archive")
15413 (synopsis "Zip archive library for Haskell")
15414 (description "The zip-archive library provides functions for creating,
15415modifying, and extracting files from zip archives in Haskell.")
15416 (license license:bsd-3)))
15417
15418(define-public ghc-zlib
15419 (package
15420 (name "ghc-zlib")
bf12089a 15421 (version "0.6.2.1")
534d6caa 15422 (outputs '("out" "static" "doc"))
dddbc90c
RV
15423 (source
15424 (origin
15425 (method url-fetch)
15426 (uri (string-append
15427 "https://hackage.haskell.org/package/zlib/zlib-"
15428 version
15429 ".tar.gz"))
15430 (sha256
15431 (base32
bf12089a 15432 "1l11jraslcrp9d4wnhwfyhwk4fsiq1aq8i6vj81vcq1m2zzi1y7h"))))
dddbc90c
RV
15433 (build-system haskell-build-system)
15434 (arguments
54a5fd07
TS
15435 `(#:extra-directories ("zlib")
15436 #:phases
dddbc90c
RV
15437 (modify-phases %standard-phases
15438 (add-before 'configure 'strip-test-framework-constraints
15439 (lambda _
15440 (substitute* "zlib.cabal"
15441 (("tasty >= 0\\.8 && < 0\\.12") "tasty")
15442 (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit")
15443 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
15444 (inputs `(("zlib" ,zlib)))
15445 (native-inputs
15446 `(("ghc-quickcheck" ,ghc-quickcheck)
15447 ("ghc-tasty" ,ghc-tasty)
15448 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
15449 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
15450 (home-page "https://hackage.haskell.org/package/zlib")
15451 (synopsis
15452 "Compression and decompression in the gzip and zlib formats")
15453 (description
15454 "This package provides a pure interface for compressing and decompressing
15455streams of data represented as lazy @code{ByteString}s. It uses the zlib C
15456library so it has high performance. It supports the @code{zlib}, @code{gzip}
15457and @code{raw} compression formats. It provides a convenient high level API
15458suitable for most tasks and for the few cases where more control is needed it
15459provides access to the full zlib feature set.")
bbf8bf31 15460 (license license:bsd-3)))
14e41996
RV
15461
15462(define-public ghc-zlib-bindings
15463 (package
15464 (name "ghc-zlib-bindings")
15465 (version "0.1.1.5")
15466 (source
15467 (origin
15468 (method url-fetch)
15469 (uri (string-append "https://hackage.haskell.org/package/"
15470 "zlib-bindings/zlib-bindings-" version ".tar.gz"))
15471 (sha256
15472 (base32
15473 "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8"))))
15474 (build-system haskell-build-system)
15475 (inputs
15476 `(("ghc-zlib" ,ghc-zlib)))
15477 (native-inputs
15478 `(("ghc-hspec" ,ghc-hspec)
15479 ("ghc-quickcheck" ,ghc-quickcheck)))
15480 (arguments
15481 `(#:cabal-revision
15482 ("2" "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc")))
15483 (home-page "https://github.com/snapframework/zlib-bindings")
15484 (synopsis "Low-level bindings to the @code{zlib} package")
15485 (description "This package provides low-level bindings to the
15486@code{zlib} package.")
15487 (license license:bsd-3)))
8428e92c
TS
15488
15489(define-public ghc-zstd
15490 (package
15491 (name "ghc-zstd")
15492 (version "0.1.1.2")
15493 (source
15494 (origin
15495 (method url-fetch)
15496 (uri (string-append "https://hackage.haskell.org/package/"
15497 "zstd/zstd-" version ".tar.gz"))
15498 (sha256
15499 (base32
15500 "147s496zvw13akxqzg65mgfvk3bvhrcilxgf8n786prxg5cm4jz2"))))
15501 (build-system haskell-build-system)
15502 (native-inputs
15503 `(("ghc-quickcheck" ,ghc-quickcheck)
15504 ("ghc-test-framework" ,ghc-test-framework)
15505 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
15506 (home-page "https://github.com/luispedro/hs-zstd")
15507 (synopsis "Haskell bindings to the Zstandard compression algorithm")
15508 (description "This library provides Haskell bindings to the
15509Zstandard compression algorithm, a fast lossless compression algorithm
15510targeting real-time compression scenarios at zlib-level and better
15511compression ratios.")
15512 (license license:bsd-3)))