gnu: ghc-vector-th-unbox: Update to 0.2.1.7.
[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>
7;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
799d8d3c 8;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
dddbc90c
RV
9;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
10;;; Copyright © 2016, 2017 David Craven <david@craven.ch>
11;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org>
12;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
13;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com>
14;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
15;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
16;;; Copyright © 2018 Tonton <tonton@riseup.net>
17;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
18;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
19;;; Copyright © 2018, 2019 Gabriel Hondet <gabrielhondet@gmail.com>
6b34d01c 20;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
dddbc90c 21;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
a52f4c57 22;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
e405912c 23;;; Copyright © 2019 Kyle Meyer <kyle@kyleam.com>
9ad9ec2e 24;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
6b34d01c
RV
25;;;
26;;; This file is part of GNU Guix.
27;;;
28;;; GNU Guix is free software; you can redistribute it and/or modify it
29;;; under the terms of the GNU General Public License as published by
30;;; the Free Software Foundation; either version 3 of the License, or (at
31;;; your option) any later version.
32;;;
33;;; GNU Guix is distributed in the hope that it will be useful, but
34;;; WITHOUT ANY WARRANTY; without even the implied warranty of
35;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36;;; GNU General Public License for more details.
37;;;
38;;; You should have received a copy of the GNU General Public License
39;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
40
41(define-module (gnu packages haskell-xyz)
42 #:use-module (gnu packages)
dddbc90c
RV
43 #:use-module (gnu packages base)
44 #:use-module (gnu packages compression)
45 #:use-module (gnu packages emacs)
46 #:use-module (gnu packages gcc)
47 #:use-module (gnu packages gl)
48 #:use-module (gnu packages graphviz)
49 #:use-module (gnu packages gtk)
50 #:use-module (gnu packages haskell-apps)
efb96749 51 #:use-module (gnu packages haskell-check)
dddbc90c
RV
52 #:use-module (gnu packages haskell-crypto)
53 #:use-module (gnu packages haskell-web)
54 #:use-module (gnu packages libffi)
55 #:use-module (gnu packages linux)
56 #:use-module (gnu packages lua)
57 #:use-module (gnu packages maths)
49e29df5 58 #:use-module (gnu packages ncurses)
dddbc90c
RV
59 #:use-module (gnu packages pcre)
60 #:use-module (gnu packages pkg-config)
61 #:use-module (gnu packages sdl)
62 #:use-module (gnu packages xml)
63 #:use-module (gnu packages xorg)
6b34d01c
RV
64 #:use-module (guix build-system haskell)
65 #:use-module (guix download)
dddbc90c 66 #:use-module (guix git-download)
4780db2c 67 #:use-module (guix utils)
6b34d01c
RV
68 #:use-module ((guix licenses) #:prefix license:)
69 #:use-module (guix packages))
70
dddbc90c 71(define-public ghc-abstract-deque
efb96749 72 (package
dddbc90c
RV
73 (name "ghc-abstract-deque")
74 (version "0.3")
efb96749
RV
75 (source
76 (origin
77 (method url-fetch)
78 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
79 "abstract-deque-" version "/"
80 "abstract-deque-" version ".tar.gz"))
efb96749
RV
81 (sha256
82 (base32
dddbc90c 83 "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9"))))
efb96749 84 (build-system haskell-build-system)
dddbc90c
RV
85 (inputs `(("ghc-random" ,ghc-random)))
86 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
87 (synopsis "Abstract, parameterized interface to mutable Deques for Haskell")
88 (description "This Haskell package provides an abstract interface to
89highly-parameterizable queues/deques.
90
91Background: There exists a feature space for queues that extends between:
efb96749
RV
92
93@itemize
dddbc90c
RV
94@item Simple, single-ended, non-concurrent, bounded queues
95
96@item Double-ended, thread-safe, growable queues with important points
97in between (such as the queues used for work stealing).
efb96749
RV
98@end itemize
99
dddbc90c
RV
100This package includes an interface for Deques that allows the programmer
101to use a single API for all of the above, while using the type system to
102select an efficient implementation given the requirements (using type families).
efb96749 103
dddbc90c
RV
104This package also includes a simple reference implementation based on
105@code{IORef} and @code{Data.Sequence}.")
efb96749
RV
106 (license license:bsd-3)))
107
dddbc90c 108(define-public ghc-abstract-par
658dbc7f 109 (package
dddbc90c
RV
110 (name "ghc-abstract-par")
111 (version "0.3.3")
658dbc7f
RV
112 (source
113 (origin
114 (method url-fetch)
115 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
116 "abstract-par-" version "/"
117 "abstract-par-" version ".tar.gz"))
658dbc7f
RV
118 (sha256
119 (base32
dddbc90c
RV
120 "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4"))))
121 (build-system haskell-build-system)
122 (home-page "https://github.com/simonmar/monad-par")
123 (synopsis "Abstract parallelization interface for Haskell")
124 (description "This Haskell package is an abstract interface
125only. It provides a number of type clasess, but not an
126implementation. The type classes separate different levels
127of @code{Par} functionality. See the @code{Control.Monad.Par.Class}
128module for more details.")
129 (license license:bsd-3)))
130
131(define-public ghc-adjunctions
132 (package
133 (name "ghc-adjunctions")
134 (version "4.4")
135 (source
136 (origin
137 (method url-fetch)
138 (uri (string-append
139 "https://hackage.haskell.org/package/adjunctions/adjunctions-"
140 version
141 ".tar.gz"))
142 (sha256
143 (base32
144 "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h"))))
658dbc7f
RV
145 (build-system haskell-build-system)
146 (inputs
dddbc90c
RV
147 `(("ghc-profunctors" ,ghc-profunctors)
148 ("ghc-comonad" ,ghc-comonad)
149 ("ghc-contravariant" ,ghc-contravariant)
150 ("ghc-distributive" ,ghc-distributive)
151 ("ghc-free" ,ghc-free)
152 ("ghc-tagged" ,ghc-tagged)
153 ("ghc-semigroupoids" ,ghc-semigroupoids)
154 ("ghc-semigroups" ,ghc-semigroups)
155 ("ghc-transformers-compat" ,ghc-transformers-compat)
156 ("ghc-void" ,ghc-void)))
658dbc7f 157 (native-inputs
dddbc90c
RV
158 `(("ghc-generic-deriving" ,ghc-generic-deriving)
159 ("ghc-hspec" ,ghc-hspec)
160 ("hspec-discover" ,hspec-discover)))
161 (home-page "https://github.com/ekmett/adjunctions/")
162 (synopsis "Adjunctions and representable functors")
163 (description "This library provides adjunctions and representable functors
164for Haskell.")
165 (license license:bsd-3)))
166
167(define-public ghc-aeson-compat
168 (package
169 (name "ghc-aeson-compat")
170 (version "0.3.8")
171 (source
172 (origin
173 (method url-fetch)
174 (uri (string-append "https://hackage.haskell.org/package/"
175 "aeson-compat-" version "/"
176 "aeson-compat-" version ".tar.gz"))
177 (sha256
178 (base32
179 "0j4v13pgk21zy8hqkbx8hw0n05jdl17qphxz9rj4h333pr547r3i"))))
180 (build-system haskell-build-system)
181 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10
182 (inputs `(("ghc-base-compat" ,ghc-base-compat)
183 ("ghc-aeson" ,ghc-aeson)
184 ("ghc-attoparsec" ,ghc-attoparsec)
185 ("ghc-attoparsec" ,ghc-attoparsec-iso8601)
186 ("ghc-exceptions" ,ghc-exceptions)
187 ("ghc-hashable" ,ghc-hashable)
188 ("ghc-scientific" ,ghc-scientific)
189 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
190 ("ghc-unordered-containers" ,ghc-unordered-containers)
191 ("ghc-vector" ,ghc-vector)
192 ("ghc-tagged" ,ghc-tagged)
193 ("ghc-semigroups" ,ghc-semigroups)
194 ("ghc-nats" ,ghc-nats)))
195 (home-page "https://github.com/phadej/aeson-compat")
196 (synopsis "Compatibility layer for ghc-aeson")
197 (description "This Haskell package provides compatibility layer for
198ghc-aeson.")
199 (license license:bsd-3)))
200
201(define-public ghc-alex
202 (package
203 (name "ghc-alex")
204 (version "3.2.4")
205 (source
206 (origin
207 (method url-fetch)
208 (uri (string-append
209 "https://hackage.haskell.org/package/alex/alex-"
210 version
211 ".tar.gz"))
212 (sha256
213 (base32
214 "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm"))))
215 (build-system haskell-build-system)
658dbc7f 216 (arguments
dddbc90c
RV
217 `(#:phases
218 (modify-phases %standard-phases
219 (add-before 'check 'set-check-variables
220 (lambda _
221 (setenv "PATH" (string-append (getcwd) "/dist/build/alex:"
222 (getenv "PATH")))
223 (setenv "alex_datadir" (string-append (getcwd) "/data"))
224 #t)))))
225 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
226 (native-inputs
227 `(("which" ,which)))
228 (home-page "https://www.haskell.org/alex/")
229 (synopsis
230 "Tool for generating lexical analysers in Haskell")
231 (description
232 "Alex is a tool for generating lexical analysers in Haskell. It takes a
233description of tokens based on regular expressions and generates a Haskell
234module containing code for scanning text efficiently. It is similar to the
235tool lex or flex for C/C++.")
658dbc7f
RV
236 (license license:bsd-3)))
237
dddbc90c 238(define-public ghc-alsa-core
7b01a977 239 (package
dddbc90c
RV
240 (name "ghc-alsa-core")
241 (version "0.5.0.1")
242 (source
243 (origin
244 (method url-fetch)
245 (uri (string-append
246 "mirror://hackage/package/alsa-core/alsa-core-"
247 version
248 ".tar.gz"))
249 (sha256
250 (base32
251 "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b"))))
252 (build-system haskell-build-system)
253 (inputs
254 `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
255 ("alsa-lib" ,alsa-lib)))
256 (native-inputs
257 `(("pkg-config" ,pkg-config)))
258 (home-page "http://www.haskell.org/haskellwiki/ALSA")
259 (synopsis "Binding to the ALSA Library API (Exceptions)")
260 (description "This package provides access to ALSA infrastructure, that is
261needed by both alsa-seq and alsa-pcm.")
262 (license license:bsd-3)))
263
264(define-public ghc-annotated-wl-pprint
265 (package
266 (name "ghc-annotated-wl-pprint")
267 (version "0.7.0")
268 (source
269 (origin
270 (method url-fetch)
271 (uri (string-append
272 "https://hackage.haskell.org/package/annotated-wl-pprint"
273 "/annotated-wl-pprint-" version
274 ".tar.gz"))
275 (sha256
276 (base32
277 "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc"))))
278 (build-system haskell-build-system)
279 (home-page
280 "https://github.com/david-christiansen/annotated-wl-pprint")
281 (synopsis
282 "The Wadler/Leijen Pretty Printer, with annotation support")
283 (description "This is a modified version of wl-pprint, which was based on
284Wadler's paper \"A Prettier Printer\". This version allows the library user
285to annotate the text with semantic information, which can later be rendered in
286a variety of ways.")
287 (license license:bsd-3)))
288
289(define-public ghc-ansi-terminal
290 (package
291 (name "ghc-ansi-terminal")
f1b4a73f 292 (version "0.9.1")
dddbc90c
RV
293 (source
294 (origin
295 (method url-fetch)
296 (uri (string-append
297 "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
298 version
299 ".tar.gz"))
300 (sha256
301 (base32
f1b4a73f 302 "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l"))))
dddbc90c
RV
303 (build-system haskell-build-system)
304 (inputs
305 `(("ghc-colour" ,ghc-colour)))
306 (home-page "https://github.com/feuerbach/ansi-terminal")
307 (synopsis "ANSI terminal support for Haskell")
308 (description "This package provides ANSI terminal support for Haskell. It
309allows cursor movement, screen clearing, color output showing or hiding the
310cursor, and changing the title.")
311 (license license:bsd-3)))
312
313(define-public ghc-ansi-wl-pprint
314 (package
315 (name "ghc-ansi-wl-pprint")
c38746eb 316 (version "0.6.9")
7b01a977
RV
317 (source
318 (origin
319 (method url-fetch)
320 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c 321 "ansi-wl-pprint/ansi-wl-pprint-"
7b01a977
RV
322 version ".tar.gz"))
323 (sha256
324 (base32
c38746eb 325 "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7"))))
7b01a977
RV
326 (build-system haskell-build-system)
327 (inputs
dddbc90c
RV
328 `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
329 (home-page "https://github.com/ekmett/ansi-wl-pprint")
330 (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
331 (description "This is a pretty printing library based on Wadler's paper
332\"A Prettier Printer\". It has been enhanced with support for ANSI terminal
333colored output using the ansi-terminal package.")
334 (license license:bsd-3)))
335
336(define-public ghc-appar
337 (package
338 (name "ghc-appar")
1159d1a5 339 (version "0.1.8")
dddbc90c
RV
340 (source
341 (origin
342 (method url-fetch)
343 (uri (string-append
344 "https://hackage.haskell.org/package/appar/appar-"
345 version
346 ".tar.gz"))
347 (sha256
348 (base32
1159d1a5 349 "07v3h766q9mnhphsm53718h1lds147ix7dj15kc5hnsj4vffvkn4"))))
dddbc90c
RV
350 (build-system haskell-build-system)
351 (home-page
352 "https://hackage.haskell.org/package/appar")
353 (synopsis "Simple applicative parser")
354 (description "This package provides a simple applicative parser in Parsec
355style.")
356 (license license:bsd-3)))
357
358(define-public ghc-async
359 (package
360 (name "ghc-async")
361 (version "2.2.1")
362 (source
363 (origin
364 (method url-fetch)
365 (uri (string-append
366 "https://hackage.haskell.org/package/async/async-"
367 version
368 ".tar.gz"))
369 (sha256
370 (base32
371 "09whscli1q5z7lzyq9rfk0bq1ydplh6pjmc6qv0x668k5818c2wg"))))
372 (build-system haskell-build-system)
373 (inputs
374 `(("ghc-hashable" ,ghc-hashable)
375 ("ghc-hunit" ,ghc-hunit)
7b01a977
RV
376 ("ghc-test-framework" ,ghc-test-framework)
377 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
dddbc90c
RV
378 (home-page "https://github.com/simonmar/async")
379 (synopsis "Library to run IO operations asynchronously")
380 (description "Async provides a library to run IO operations
381asynchronously, and wait for their results. It is a higher-level interface
382over threads in Haskell, in which @code{Async a} is a concurrent thread that
383will eventually deliver a value of type @code{a}.")
7b01a977
RV
384 (license license:bsd-3)))
385
9ad9ec2e
AG
386(define-public ghc-atomic-primops
387 (package
388 (name "ghc-atomic-primops")
389 (version "0.8.2")
390 (source
391 (origin
392 (method url-fetch)
393 (uri (string-append "https://hackage.haskell.org/package/atomic-primops"
394 "/atomic-primops-" version ".tar.gz"))
395 (sha256
396 (base32
397 "0cyr2x6xqz6s233znrz9rnrfj56m9bmnawwnka0lsqqy1hp8gy37"))))
398 (build-system haskell-build-system)
399 (inputs `(("ghc-primitive" ,ghc-primitive)))
400 (home-page "https://github.com/rrnewton/haskell-lockfree/wiki")
401 (synopsis "Safe approach to CAS and other atomic ops")
402 (description
403 "GHC 7.4 introduced a new @code{casMutVar} PrimOp which is difficult to
404use safely, because pointer equality is a highly unstable property in Haskell.
405This library provides a safer method based on the concept of @code{Ticket}s.")
406 (license license:bsd-3)))
407
dddbc90c 408(define-public ghc-atomic-write
79fcc5e5 409 (package
dddbc90c
RV
410 (name "ghc-atomic-write")
411 (version "0.2.0.5")
79fcc5e5
RV
412 (source
413 (origin
414 (method url-fetch)
dddbc90c
RV
415 (uri (string-append
416 "https://hackage.haskell.org/package/atomic-write/atomic-write-"
417 version
418 ".tar.gz"))
79fcc5e5
RV
419 (sha256
420 (base32
dddbc90c
RV
421 "1iaq0hprxcv0sl1sgwcgmm87zraf738va1bciwnx2jkk3k1v9iyv"))))
422 (build-system haskell-build-system)
423 (inputs
424 `(("ghc-temporary" ,ghc-temporary)
425 ("ghc-unix-compat" ,ghc-unix-compat)))
426 (native-inputs
427 `(("ghc-temporary" ,ghc-temporary)
428 ("ghc-unix-compat" ,ghc-unix-compat)
429 ("ghc-hspec" ,ghc-hspec)
430 ("hspec-discover" ,hspec-discover)))
431 (home-page "https://github.com/stackbuilders/atomic-write")
432 (synopsis "Atomically write to a file")
433 (description
434 "Atomically write to a file on POSIX-compliant systems while preserving
435permissions. @code{mv} is an atomic operation. This makes it simple to write
436to a file atomically just by using the @code{mv} operation. However, this
437will destroy the permissions on the original file. This library preserves
438permissions while atomically writing to a file.")
439 (license license:expat)))
440
441(define-public ghc-attoparsec
442 (package
443 (name "ghc-attoparsec")
444 (version "0.13.2.2")
445 (source
446 (origin
447 (method url-fetch)
448 (uri (string-append
449 "https://hackage.haskell.org/package/attoparsec/attoparsec-"
450 version
451 ".tar.gz"))
452 (sha256
453 (base32
454 "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx"))))
79fcc5e5 455 (build-system haskell-build-system)
79fcc5e5 456 (arguments
dddbc90c
RV
457 `(#:phases
458 (modify-phases %standard-phases
459 (add-after 'unpack 'patch-for-newer-quickcheck
460 (lambda _
461 (substitute* "attoparsec.cabal"
462 (("QuickCheck >= 2\\.7 && < 2\\.10")
463 "QuickCheck >= 2.7 && < 2.12"))
464 ;; This test fails because of the newer QuickCheck:
465 ;; <https://github.com/bos/attoparsec/issues/134>.
466 (substitute* "tests/QC/ByteString.hs"
467 ((", testProperty \"satisfyWith\" satisfyWith")
468 "")))))))
469 (inputs
470 `(("ghc-scientific" ,ghc-scientific)))
471 (native-inputs
472 `(("ghc-tasty" ,ghc-tasty)
473 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
474 ("ghc-quickcheck" ,ghc-quickcheck)
475 ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
476 ("ghc-vector" ,ghc-vector)))
477 (home-page "https://github.com/bos/attoparsec")
478 (synopsis "Fast combinator parsing for bytestrings and text")
479 (description "This library provides a fast parser combinator library,
480aimed particularly at dealing efficiently with network protocols and
481complicated text/binary file formats.")
79fcc5e5
RV
482 (license license:bsd-3)))
483
dddbc90c 484(define-public ghc-attoparsec-bootstrap
6b34d01c 485 (package
dddbc90c
RV
486 (inherit ghc-attoparsec)
487 (name "ghc-attoparsec-bootstrap")
488 (arguments `(#:tests? #f))
489 (inputs
490 `(("ghc-scientific" ,ghc-scientific-bootstrap)))
491 (native-inputs '())
799d8d3c 492 (properties '((hidden? #t)))))
dddbc90c
RV
493
494(define-public ghc-attoparsec-iso8601
495 (package
496 (name "ghc-attoparsec-iso8601")
6b34d01c
RV
497 (version "1.0.0.0")
498 (source
499 (origin
500 (method url-fetch)
501 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
502 "attoparsec-iso8601-" version "/"
503 "attoparsec-iso8601-" version ".tar.gz"))
6b34d01c
RV
504 (sha256
505 (base32
dddbc90c 506 "12l55b76bhya9q89mfmqmy6sl5v39b6gzrw5rf3f70vkb23nsv5a"))))
6b34d01c 507 (build-system haskell-build-system)
dddbc90c
RV
508 (arguments
509 `(#:cabal-revision
510 ("1" "06f7pgmmc8456p3hc1y23kz1y127gfczy7s00wz1rls9g2sm2vi4")))
511 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
512 ("ghc-base-compat" ,ghc-base-compat)))
513 (home-page "https://github.com/bos/aeson")
514 (synopsis "Parse ISO 8601 dates")
515 (description "Haskell library for parsing of ISO 8601 dates, originally
516from aeson.")
6b34d01c 517 (license license:bsd-3)))
b57e99f5 518
dddbc90c 519(define-public ghc-auto-update
b57e99f5 520 (package
dddbc90c
RV
521 (name "ghc-auto-update")
522 (version "0.1.4")
523 (source
524 (origin
525 (method url-fetch)
526 (uri (string-append
527 "https://hackage.haskell.org/package/auto-update/auto-update-"
528 version
529 ".tar.gz"))
530 (sha256
531 (base32
532 "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy"))))
533 (build-system haskell-build-system)
534 (home-page "https://github.com/yesodweb/wai")
535 (synopsis "Efficiently run periodic, on-demand actions")
536 (description "This library provides mechanisms to efficiently run
537periodic, on-demand actions in Haskell.")
538 (license license:expat)))
539
540(define-public ghc-aws
541 (package
542 (name "ghc-aws")
543 (version "0.20")
b57e99f5
RV
544 (source
545 (origin
546 (method url-fetch)
547 (uri (string-append "https://hackage.haskell.org/package/"
dddbc90c
RV
548 "aws-" version "/aws-" version ".tar.gz"))
549 (sha256 (base32
550 "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0"))))
551 (build-system haskell-build-system)
552 (arguments `(#:tests? #f)) ; Tests require AWS credentials.
553 (inputs
554 `(("ghc-aeson" ,ghc-aeson)
555 ("ghc-attoparsec" ,ghc-attoparsec)
556 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
557 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
558 ("ghc-blaze-builder" ,ghc-blaze-builder)
559 ("ghc-byteable" ,ghc-byteable)
560 ("ghc-case-insensitive" ,ghc-case-insensitive)
561 ("ghc-cereal" ,ghc-cereal)
562 ("ghc-conduit" ,ghc-conduit)
563 ("ghc-conduit-extra" ,ghc-conduit-extra)
564 ("ghc-cryptonite" ,ghc-cryptonite)
565 ("ghc-data-default" ,ghc-data-default)
566 ("ghc-http-conduit" ,ghc-http-conduit)
567 ("ghc-http-types" ,ghc-http-types)
568 ("ghc-lifted-base" ,ghc-lifted-base)
569 ("ghc-monad-control" ,ghc-monad-control)
570 ("ghc-network" ,ghc-network)
571 ("ghc-old-locale" ,ghc-old-locale)
572 ("ghc-safe" ,ghc-safe)
573 ("ghc-scientific" ,ghc-scientific)
574 ("ghc-tagged" ,ghc-tagged)
575 ("ghc-unordered-containers" ,ghc-unordered-containers)
576 ("ghc-utf8-string" ,ghc-utf8-string)
577 ("ghc-vector" ,ghc-vector)
578 ("ghc-xml-conduit" ,ghc-xml-conduit)))
579 (native-inputs
580 `(("ghc-quickcheck" ,ghc-quickcheck)
581 ("ghc-errors" ,ghc-errors)
582 ("ghc-http-client" ,ghc-http-client)
583 ("ghc-http-client-tls" ,ghc-http-client-tls)
584 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
585 ("ghc-tasty" ,ghc-tasty)
586 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
587 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
588 ("ghc-conduit-combinators" ,ghc-conduit-combinators)))
589 (home-page "https://github.com/aristidb/aws")
590 (synopsis "Amazon Web Services for Haskell")
591 (description "This package attempts to provide support for using
592Amazon Web Services like S3 (storage), SQS (queuing) and others to
593Haskell programmers. The ultimate goal is to support all Amazon
594Web Services.")
595 (license license:bsd-3)))
596
597(define-public ghc-base16-bytestring
598 (package
599 (name "ghc-base16-bytestring")
600 (version "0.1.1.6")
601 (source
602 (origin
603 (method url-fetch)
604 (uri (string-append
605 "https://hackage.haskell.org/package/base16-bytestring/"
606 "base16-bytestring-" version ".tar.gz"))
b57e99f5
RV
607 (sha256
608 (base32
dddbc90c 609 "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs"))))
b57e99f5 610 (build-system haskell-build-system)
dddbc90c
RV
611 (home-page "https://github.com/bos/base16-bytestring")
612 (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings")
613 (description
614 "This package provides a Haskell library for working with base16-encoded
615data quickly and efficiently, using the ByteString type.")
b57e99f5 616 (license license:bsd-3)))
bbf8bf31 617
dddbc90c 618(define-public ghc-base64-bytestring
bbf8bf31 619 (package
dddbc90c
RV
620 (name "ghc-base64-bytestring")
621 (version "1.0.0.2")
bbf8bf31
RV
622 (source
623 (origin
624 (method url-fetch)
dddbc90c
RV
625 (uri (string-append
626 "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-"
627 version
628 ".tar.gz"))
629 (sha256
630 (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr"))))
631 (build-system haskell-build-system)
632 (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing.
633 (home-page "https://github.com/bos/base64-bytestring")
634 (synopsis "Base64 encoding and decoding for ByteStrings")
635 (description "This library provides fast base64 encoding and decoding for
636Haskell @code{ByteString}s.")
637 (license license:bsd-3)))
638
639(define-public ghc-base-compat
640 (package
641 (name "ghc-base-compat")
642 (version "0.10.4")
643 (source
644 (origin
645 (method url-fetch)
646 (uri (string-append
647 "https://hackage.haskell.org/package/base-compat/base-compat-"
648 version
649 ".tar.gz"))
bbf8bf31
RV
650 (sha256
651 (base32
dddbc90c 652 "0ksp990gxs731mq19rzbxrbs43nazfljjc8krlx5bjqblw3kfs8d"))))
bbf8bf31
RV
653 (build-system haskell-build-system)
654 (native-inputs
dddbc90c
RV
655 `(("ghc-quickcheck" ,ghc-quickcheck)
656 ("ghc-hspec" ,ghc-hspec)
657 ("hspec-discover" ,hspec-discover)))
658 (home-page "https://hackage.haskell.org/package/base-compat")
659 (synopsis "Haskell compiler compatibility library")
660 (description "This library provides functions available in later versions
661of base to a wider range of compilers, without requiring the use of CPP
662pragmas in your code.")
663 (license license:bsd-3)))
664
665(define-public ghc-basement
666 (package
667 (name "ghc-basement")
8b56c1fd 668 (version "0.0.11")
dddbc90c
RV
669 (source
670 (origin
671 (method url-fetch)
672 (uri (string-append "https://hackage.haskell.org/package/"
673 "basement/basement-" version ".tar.gz"))
674 (sha256
675 (base32
8b56c1fd 676 "0srlws74yiraqaapgcjd9p5d1fwb3zr9swcz74jpjm55fls2nn37"))))
dddbc90c
RV
677 (build-system haskell-build-system)
678 (home-page "https://github.com/haskell-foundation/foundation")
679 (synopsis "Basic primitives for Foundation starter pack")
680 (description
681 "This package contains basic primitives for the Foundation set of
682packages.")
683 (license license:bsd-3)))
684
685(define-public ghc-base-orphans
686 (package
687 (name "ghc-base-orphans")
688 (version "0.7")
689 (source
690 (origin
691 (method url-fetch)
692 (uri (string-append
693 "https://hackage.haskell.org/package/base-orphans/base-orphans-"
694 version
695 ".tar.gz"))
696 (sha256
697 (base32
698 "057f9npnqk71ccfh95djfkpd54dzazphj06grwxa3fyhwcwxrb8a"))))
699 (build-system haskell-build-system)
700 (native-inputs
701 `(("ghc-quickcheck" ,ghc-quickcheck)
702 ("ghc-hspec" ,ghc-hspec)
703 ("hspec-discover" ,hspec-discover)))
704 (home-page "https://hackage.haskell.org/package/base-orphans")
705 (synopsis "Orphan instances for backwards compatibility")
706 (description "This package defines orphan instances that mimic instances
707available in later versions of base to a wider (older) range of compilers.")
708 (license license:bsd-3)))
709
710(define-public ghc-base-prelude
711 (package
712 (name "ghc-base-prelude")
713 (version "1.3")
714 (source
715 (origin
716 (method url-fetch)
717 (uri (string-append "https://hackage.haskell.org/package/"
718 "base-prelude-" version "/"
719 "base-prelude-" version ".tar.gz"))
720 (sha256
721 (base32
722 "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73"))))
723 (build-system haskell-build-system)
724 (home-page "https://github.com/nikita-volkov/base-prelude")
725 (synopsis "The most complete prelude formed solely from the Haskell's base
726package")
727 (description "This Haskell package aims to reexport all the non-conflicting
728and most general definitions from the \"base\" package.
729
730This includes APIs for applicatives, arrows, monoids, foldables, traversables,
731exceptions, generics, ST, MVars and STM.
732
733This package will never have any dependencies other than \"base\".
734
735Versioning policy:
736
737The versioning policy of this package deviates from PVP in the sense
738that its exports in part are transitively determined by the version of \"base\".
739Therefore it's recommended for the users of @code{ghc-base-prelude} to specify
740the bounds of \"base\" as well.")
741 (license license:expat)))
742
743(define-public ghc-base-unicode-symbols
744 (package
745 (name "ghc-base-unicode-symbols")
746 (version "0.2.3")
747 (source
748 (origin
749 (method url-fetch)
750 (uri (string-append
751 "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-"
752 version
753 ".tar.gz"))
754 (sha256
755 (base32
756 "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf"))))
757 (build-system haskell-build-system)
758 (home-page "http://www.haskell.org/haskellwiki/Unicode-symbols")
759 (synopsis "Unicode alternatives for common functions and operators")
760 (description "This package defines new symbols for a number of functions,
761operators and types in the base package. All symbols are documented with
762their actual definition and information regarding their Unicode code point.
763They should be completely interchangeable with their definitions. For
764further Unicode goodness you can enable the @code{UnicodeSyntax}
765@url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax,
766language extension}. This extension enables Unicode characters to be used to
767stand for certain ASCII character sequences, i.e. → instead of @code{->},
768∀ instead of @code{forall} and many others.")
769 (license license:bsd-3)))
770
771(define-public ghc-bifunctors
772 (package
773 (name "ghc-bifunctors")
774 (version "5.5.3")
775 (source
776 (origin
777 (method url-fetch)
778 (uri (string-append
779 "https://hackage.haskell.org/package/bifunctors/bifunctors-"
780 version
781 ".tar.gz"))
782 (sha256
783 (base32
784 "1jn9rxg643xnlhrknmjz88nblcpsr45xwjkwwnn5nxpasa7m4d6l"))))
785 (build-system haskell-build-system)
786 (inputs
787 `(("ghc-base-orphans" ,ghc-base-orphans)
788 ("ghc-comonad" ,ghc-comonad)
789 ("ghc-th-abstraction" ,ghc-th-abstraction)
790 ("ghc-transformers-compat" ,ghc-transformers-compat)
791 ("ghc-tagged" ,ghc-tagged)
792 ("ghc-semigroups" ,ghc-semigroups)))
793 (native-inputs
794 `(("ghc-hspec" ,ghc-hspec)
795 ("hspec-discover" ,hspec-discover)
796 ("ghc-quickcheck" ,ghc-quickcheck)))
797 (home-page "https://github.com/ekmett/bifunctors/")
798 (synopsis "Bifunctors for Haskell")
799 (description "This package provides bifunctors for Haskell.")
800 (license license:bsd-3)))
801
802(define-public ghc-bindings-dsl
803 (package
804 (name "ghc-bindings-dsl")
805 (version "1.0.25")
806 (source
807 (origin
808 (method url-fetch)
809 (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/"
810 "bindings-DSL-" version ".tar.gz"))
811 (sha256
812 (base32
813 "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3"))))
814 (build-system haskell-build-system)
815 (home-page "https://github.com/jwiegley/bindings-dsl/wiki")
816 (synopsis "FFI domain specific language, on top of hsc2hs")
817 (description
818 "This is a set of macros to be used when writing Haskell FFI. They were
819designed to be able to fully describe C interfaces, so that @code{hsc2hs} can
820extract from them all Haskell code needed to mimic such interfaces. All
821Haskell names used are automatically derived from C names, structures are
822mapped to Haskell instances of @code{Storable}, and there are also macros you
823can use with C code to help write bindings to inline functions or macro
824functions.")
825 (license license:bsd-3)))
826
827(define-public ghc-blaze-builder
828 (package
829 (name "ghc-blaze-builder")
830 (version "0.4.1.0")
831 (source
832 (origin
833 (method url-fetch)
834 (uri (string-append
835 "https://hackage.haskell.org/package/blaze-builder/blaze-builder-"
836 version
837 ".tar.gz"))
838 (sha256
839 (base32
840 "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i"))))
841 (build-system haskell-build-system)
842 (arguments `(#:tests? #f)) ; FIXME: Missing test libraries.
843 (inputs
844 `(("ghc-utf8-string" ,ghc-utf8-string)))
845 (home-page "https://github.com/lpsmith/blaze-builder")
846 (synopsis "Efficient buffered output")
847 (description "This library provides an implementation of the older
848@code{blaze-builder} interface in terms of the new builder that shipped with
849@code{bytestring-0.10.4.0}. This implementation is mostly intended as a
850bridge to the new builder, so that code that uses the old interface can
851interoperate with code that uses the new implementation.")
852 (license license:bsd-3)))
853
854(define-public ghc-blaze-markup
855 (package
856 (name "ghc-blaze-markup")
857 (version "0.8.2.1")
858 (source
859 (origin
860 (method url-fetch)
861 (uri (string-append "https://hackage.haskell.org/package/"
862 "blaze-markup/blaze-markup-"
863 version ".tar.gz"))
864 (sha256
865 (base32
866 "0ih1c3qahkdgzbqihdhny5s313l2m66fbb88w8jbx7yz56y7rawh"))))
867 (build-system haskell-build-system)
868 (arguments
869 `(#:phases
870 (modify-phases %standard-phases
871 (add-before 'configure 'update-constraints
872 (lambda _
873 (substitute* "blaze-markup.cabal"
874 (("tasty >= 1\\.0 && < 1\\.1")
875 "tasty >= 1.0 && < 1.2")))))))
876 (inputs
877 `(("ghc-blaze-builder" ,ghc-blaze-builder)))
878 (native-inputs
879 `(("ghc-hunit" ,ghc-hunit)
880 ("ghc-quickcheck" ,ghc-quickcheck)
881 ("ghc-tasty" ,ghc-tasty)
882 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
883 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
884 (home-page "https://jaspervdj.be/blaze")
885 (synopsis "Fast markup combinator library for Haskell")
886 (description "This library provides core modules of a markup combinator
887library for Haskell.")
888 (license license:bsd-3)))
889
890(define-public ghc-bloomfilter
891 (package
892 (name "ghc-bloomfilter")
893 (version "2.0.1.0")
894 (source
895 (origin
896 (method url-fetch)
897 (uri (string-append "https://hackage.haskell.org/package/"
898 "bloomfilter/bloomfilter-" version ".tar.gz"))
899 (sha256
900 (base32
901 "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc"))))
902 (build-system haskell-build-system)
903 (native-inputs
904 `(("ghc-quickcheck" ,ghc-quickcheck)
905 ("ghc-random" ,ghc-random)
906 ("ghc-test-framework" ,ghc-test-framework)
907 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
908 (home-page "https://github.com/bos/bloomfilter")
909 (synopsis "Pure and impure Bloom filter implementations")
910 (description "This package provides both mutable and immutable Bloom
911filter data types, along with a family of hash functions and an easy-to-use
912interface.")
913 (license license:bsd-3)))
914
915(define-public ghc-boxes
916 (package
917 (name "ghc-boxes")
918 (version "0.1.5")
919 (source
920 (origin
921 (method url-fetch)
922 (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-"
923 version ".tar.gz"))
924 (sha256
925 (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q"))))
926 (build-system haskell-build-system)
927 (inputs
928 `(("ghc-split" ,ghc-split)
929 ("ghc-quickcheck" ,ghc-quickcheck)))
930 (home-page "https://hackage.haskell.org/package/boxes")
931 (synopsis "2D text pretty-printing library")
932 (description
933 "Boxes is a pretty-printing library for laying out text in two dimensions,
934using a simple box model.")
935 (license license:bsd-3)))
936
937(define-public ghc-byteable
938 (package
939 (name "ghc-byteable")
940 (version "0.1.1")
941 (source (origin
942 (method url-fetch)
943 (uri (string-append "https://hackage.haskell.org/package/"
944 "byteable/byteable-" version ".tar.gz"))
945 (sha256
946 (base32
947 "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4"))))
948 (build-system haskell-build-system)
949 (home-page "https://github.com/vincenthz/hs-byteable")
950 (synopsis "Type class for sequence of bytes")
951 (description
952 "This package provides an abstract class to manipulate sequence of bytes.
953The use case of this class is abstracting manipulation of types that are just
954wrapping a bytestring with stronger and more meaniful name.")
955 (license license:bsd-3)))
956
957(define-public ghc-byteorder
958 (package
959 (name "ghc-byteorder")
960 (version "1.0.4")
961 (source
962 (origin
963 (method url-fetch)
964 (uri (string-append
965 "https://hackage.haskell.org/package/byteorder/byteorder-"
966 version
967 ".tar.gz"))
968 (sha256
969 (base32
970 "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x"))))
971 (build-system haskell-build-system)
972 (home-page
973 "http://community.haskell.org/~aslatter/code/byteorder")
974 (synopsis
975 "Exposes the native endianness of the system")
976 (description
977 "This package is for working with the native byte-ordering of the
978system.")
979 (license license:bsd-3)))
980
981(define-public ghc-bytes
982 (package
983 (name "ghc-bytes")
984 (version "0.15.5")
985 (source
986 (origin
987 (method url-fetch)
988 (uri
989 (string-append "https://hackage.haskell.org/package/bytes-"
990 version "/bytes-"
991 version ".tar.gz"))
992 (file-name (string-append name "-" version ".tar.gz"))
993 (sha256
994 (base32
995 "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683"))))
996 (build-system haskell-build-system)
997 (inputs `(("ghc-cereal" ,ghc-cereal)
998 ("cabal-doctest" ,cabal-doctest)
999 ("ghc-doctest" ,ghc-doctest)
1000 ("ghc-scientific" ,ghc-scientific)
1001 ("ghc-transformers-compat" ,ghc-transformers-compat)
1002 ("ghc-unordered-containers" ,ghc-unordered-containers)
1003 ("ghc-void" ,ghc-void)
1004 ("ghc-vector" ,ghc-vector)))
1005 (synopsis "Serialization between @code{binary} and @code{cereal}")
1006 (description "This package provides a simple compatibility shim that lets
1007you work with both @code{binary} and @code{cereal} with one chunk of
1008serialization code.")
1009 (home-page "https://hackage.haskell.org/package/bytes")
1010 (license license:bsd-3)))
1011
1012(define-public ghc-bytestring-builder
1013 (package
1014 (name "ghc-bytestring-builder")
13ac8a7f 1015 (version "0.10.8.2.0")
dddbc90c
RV
1016 (source
1017 (origin
1018 (method url-fetch)
1019 (uri (string-append
1020 "https://hackage.haskell.org/package/bytestring-builder"
1021 "/bytestring-builder-" version ".tar.gz"))
1022 (sha256
1023 (base32
13ac8a7f 1024 "0grcrgwwwcvwrs9az7l4d3kf0lsqfa9qpmjzf6iyanvwn9nyzyi7"))))
dddbc90c
RV
1025 (build-system haskell-build-system)
1026 (arguments `(#:haddock? #f)) ; Package contains no documentation.
1027 (home-page "https://hackage.haskell.org/package/bytestring-builder")
1028 (synopsis "The new bytestring builder, packaged outside of GHC")
1029 (description "This package provides the bytestring builder that is
1030debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8.
1031Compatibility package for older packages.")
1032 (license license:bsd-3)))
1033
1034(define-public ghc-bytestring-handle
1035 (package
1036 (name "ghc-bytestring-handle")
1037 (version "0.1.0.6")
1038 (source
1039 (origin
1040 (method url-fetch)
1041 (uri (string-append
1042 "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-"
1043 version ".tar.gz"))
1044 (sha256
1045 (base32
1046 "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
1047 (build-system haskell-build-system)
1048 (arguments
1049 `(#:phases
1050 (modify-phases %standard-phases
1051 (add-before 'configure 'update-constraints
1052 (lambda _
1053 (substitute* "bytestring-handle.cabal"
1054 (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
1055 "QuickCheck >= 2.1.2 && < 2.12")
1056 (("base >= 4\\.2 && < 4\\.11")
1057 "base >= 4.2 && < 4.12")))))))
1058 (inputs
1059 `(("ghc-hunit" ,ghc-hunit)
1060 ("ghc-quickcheck" ,ghc-quickcheck)
1061 ("ghc-test-framework" ,ghc-test-framework)
1062 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1063 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1064 (home-page "https://hub.darcs.net/ganesh/bytestring-handle")
1065 (synopsis "ByteString-backed Handles")
1066 (description "ByteString-backed Handles") ; There is no description
1067 (license license:bsd-3)))
1068
1069(define-public ghc-bytestring-lexing
1070 (package
1071 (name "ghc-bytestring-lexing")
1072 (version "0.5.0.2")
1073 (source
1074 (origin
1075 (method url-fetch)
1076 (uri (string-append "https://hackage.haskell.org/package/"
1077 "bytestring-lexing/bytestring-lexing-"
1078 version ".tar.gz"))
1079 (sha256
1080 (base32
1081 "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81"))))
1082 (build-system haskell-build-system)
1083 (home-page "http://code.haskell.org/~wren/")
1084 (synopsis "Parse and produce literals from strict or lazy bytestrings")
1085 (description
1086 "This package provides tools to parse and produce literals efficiently
1087from strict or lazy bytestrings.")
1088 (license license:bsd-2)))
1089
1090(define-public ghc-bzlib-conduit
1091 (package
1092 (name "ghc-bzlib-conduit")
1093 (version "0.3.0.1")
1094 (source
1095 (origin
1096 (method url-fetch)
1097 (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/"
1098 "bzlib-conduit-" version ".tar.gz"))
1099 (sha256
1100 (base32
1101 "0fd2hnr782s7qgipazg2yxwia9qqhkvm9bcm90773c3zkxa13n23"))))
1102 (build-system haskell-build-system)
1103 (inputs
1104 `(("ghc-bindings-dsl" ,ghc-bindings-dsl)
1105 ("ghc-conduit" ,ghc-conduit)
1106 ("ghc-data-default-class" ,ghc-data-default-class)
1107 ("ghc-resourcet" ,ghc-resourcet)))
1108 (native-inputs
1109 `(("ghc-hspec" ,ghc-hspec)
1110 ("ghc-random" ,ghc-random)))
1111 (home-page "https://github.com/snoyberg/bzlib-conduit")
1112 (synopsis "Streaming compression/decompression via conduits")
1113 (description
1114 "This package provides Haskell bindings to bzlib and Conduit support for
1115streaming compression and decompression.")
1116 (license license:bsd-3)))
1117
1118(define-public ghc-c2hs
1119 (package
1120 (name "ghc-c2hs")
1121 (version "0.28.6")
1122 (source
1123 (origin
1124 (method url-fetch)
1125 (uri (string-append
1126 "https://hackage.haskell.org/package/c2hs/c2hs-"
1127 version
1128 ".tar.gz"))
1129 (sha256
1130 (base32
1131 "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci"))))
1132 (build-system haskell-build-system)
1133 (inputs
1134 `(("ghc-language-c" ,ghc-language-c)
1135 ("ghc-dlist" ,ghc-dlist)))
1136 (native-inputs
1137 `(("ghc-test-framework" ,ghc-test-framework)
1138 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
1139 ("ghc-hunit" ,ghc-hunit)
1140 ("ghc-shelly" ,ghc-shelly)
1141 ("gcc" ,gcc)))
1142 (arguments
1143 `(;; XXX: Test failures are induced by a parse error in <bits/floatn.h>
1144 ;; of glibc 2.28.
1145 #:tests? #f
1146
1147 #:phases
1148 (modify-phases %standard-phases
1149 (add-before 'check 'set-cc
1150 ;; add a cc executable in the path, needed for some tests to pass
1151 (lambda* (#:key inputs #:allow-other-keys)
1152 (let ((gcc (assoc-ref inputs "gcc"))
1153 (tmpbin (tmpnam))
1154 (curpath (getenv "PATH")))
1155 (mkdir-p tmpbin)
1156 (symlink (which "gcc") (string-append tmpbin "/cc"))
1157 (setenv "PATH" (string-append tmpbin ":" curpath)))
1158 #t))
1159 (add-after 'check 'remove-cc
1160 ;; clean the tmp dir made in 'set-cc
1161 (lambda _
1162 (let* ((cc-path (which "cc"))
1163 (cc-dir (dirname cc-path)))
1164 (delete-file-recursively cc-dir)
1165 #t))))))
1166 (home-page "https://github.com/haskell/c2hs")
1167 (synopsis "Create Haskell bindings to C libraries")
1168 (description "C->Haskell assists in the development of Haskell bindings to
1169C libraries. It extracts interface information from C header files and
1170generates Haskell code with foreign imports and marshaling. Unlike writing
1171foreign imports by hand (or using hsc2hs), this ensures that C functions are
1172imported with the correct Haskell types.")
1173 (license license:gpl2)))
1174
1175(define-public ghc-cairo
1176 (package
1177 (name "ghc-cairo")
1178 (version "0.13.5.0")
1179 (source
1180 (origin
1181 (method url-fetch)
1182 (uri (string-append "https://hackage.haskell.org/package/cairo/"
1183 "cairo-" version ".tar.gz"))
1184 (sha256
1185 (base32
1186 "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2"))))
1187 (build-system haskell-build-system)
1188 (arguments
1189 `(#:modules ((guix build haskell-build-system)
1190 (guix build utils)
1191 (ice-9 match)
1192 (srfi srfi-26))
1193 #:phases
1194 (modify-phases %standard-phases
1195 ;; FIXME: This is a copy of the standard configure phase with a tiny
1196 ;; difference: this package needs the -package-db flag to be passed
1197 ;; to "runhaskell" in addition to the "configure" action, because it
1198 ;; depends on gtk2hs-buildtools, which provide setup hooks. Without
1199 ;; this option the Setup.hs file cannot be evaluated. The
1200 ;; haskell-build-system should be changed to pass "-package-db" to
1201 ;; "runhaskell" in any case.
1202 (replace 'configure
1203 (lambda* (#:key outputs inputs tests? (configure-flags '())
1204 #:allow-other-keys)
1205 (let* ((out (assoc-ref outputs "out"))
1206 (name-version (strip-store-file-name out))
1207 (input-dirs (match inputs
1208 (((_ . dir) ...)
1209 dir)
1210 (_ '())))
1211 (ghc-path (getenv "GHC_PACKAGE_PATH"))
1212 (params (append `(,(string-append "--prefix=" out))
1213 `(,(string-append "--libdir=" out "/lib"))
1214 `(,(string-append "--bindir=" out "/bin"))
1215 `(,(string-append
1216 "--docdir=" out
1217 "/share/doc/" name-version))
1218 '("--libsubdir=$compiler/$pkg-$version")
1219 '("--package-db=../package.conf.d")
1220 '("--global")
1221 `(,@(map
1222 (cut string-append "--extra-include-dirs=" <>)
1223 (search-path-as-list '("include") input-dirs)))
1224 `(,@(map
1225 (cut string-append "--extra-lib-dirs=" <>)
1226 (search-path-as-list '("lib") input-dirs)))
1227 (if tests?
1228 '("--enable-tests")
1229 '())
1230 configure-flags)))
1231 (unsetenv "GHC_PACKAGE_PATH")
1232 (apply invoke "runhaskell" "-package-db=../package.conf.d"
1233 "Setup.hs" "configure" params)
1234 (setenv "GHC_PACKAGE_PATH" ghc-path)
1235 #t))))))
1236 (inputs
1237 `(("ghc-utf8-string" ,ghc-utf8-string)
1238 ("cairo" ,cairo)))
1239 (native-inputs
1240 `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools)
1241 ("pkg-config" ,pkg-config)))
1242 (home-page "http://projects.haskell.org/gtk2hs/")
1243 (synopsis "Haskell bindings to the Cairo vector graphics library")
1244 (description
1245 "Cairo is a library to render high quality vector graphics. There exist
1246various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG
1247documents, amongst others.")
1248 (license license:bsd-3)))
1249
1250(define-public ghc-call-stack
1251 (package
1252 (name "ghc-call-stack")
1253 (version "0.1.0")
1254 (source
1255 (origin
1256 (method url-fetch)
1257 (uri (string-append "https://hackage.haskell.org/package/"
1258 "call-stack/call-stack-"
1259 version ".tar.gz"))
1260 (sha256
1261 (base32
1262 "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj"))))
1263 (build-system haskell-build-system)
1264 (inputs `(("ghc-nanospec" ,ghc-nanospec)))
1265 (home-page "https://github.com/sol/call-stack#readme")
1266 (synopsis "Use GHC call-stacks in a backward compatible way")
1267 (description "This package provides a compatibility layer for using GHC
1268call stacks with different versions of the compiler.")
1269 (license license:expat)))
1270
1271;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there,
1272;; because it depends on ghc-nanospec, which depends on ghc-hunit.
1273(define-public ghc-call-stack-boot
1274 (hidden-package
1275 (package
1276 (inherit ghc-call-stack)
1277 (arguments '(#:tests? #f))
1278 (inputs '()))))
1279
1280(define-public ghc-case-insensitive
1281 (package
1282 (name "ghc-case-insensitive")
1283 (version "1.2.0.11")
1284 (outputs '("out" "doc"))
1285 (source
1286 (origin
1287 (method url-fetch)
1288 (uri (string-append
1289 "https://hackage.haskell.org/package/case-insensitive/case-insensitive-"
1290 version
1291 ".tar.gz"))
1292 (sha256
1293 (base32
1294 "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7"))))
1295 (build-system haskell-build-system)
1296 ;; these inputs are necessary to use this library
1297 (inputs
1298 `(("ghc-hashable" ,ghc-hashable)))
1299 (arguments
1300 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
1301 (home-page
1302 "https://github.com/basvandijk/case-insensitive")
1303 (synopsis "Case insensitive string comparison")
1304 (description
1305 "The module @code{Data.CaseInsensitive} provides the @code{CI} type
1306constructor which can be parameterised by a string-like type like:
1307@code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of
1308the resulting type will be insensitive to cases.")
1309 (license license:bsd-3)))
1310
1311(define-public ghc-cereal
1312 (package
1313 (name "ghc-cereal")
bd95427e 1314 (version "0.5.8.1")
dddbc90c
RV
1315 (source
1316 (origin
1317 (method url-fetch)
1318 (uri (string-append
1319 "https://hackage.haskell.org/package/cereal/cereal-"
1320 version
1321 ".tar.gz"))
1322 (sha256
1323 (base32
bd95427e 1324 "1mqvd1iwzr50az4y24332x3g3wsrzw8j1iwph02vr7jbjfn8i7id"))))
dddbc90c
RV
1325 (build-system haskell-build-system)
1326 (native-inputs
1327 `(("ghc-quickcheck" ,ghc-quickcheck)
1328 ("ghc-fail" ,ghc-fail)
1329 ("ghc-test-framework" ,ghc-test-framework)
1330 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
1331 (home-page "https://hackage.haskell.org/package/cereal")
1332 (synopsis "Binary serialization library")
1333 (description "This package provides a binary serialization library,
1334similar to @code{binary}, that introduces an @code{isolate} primitive for
1335parser isolation, and labeled blocks for better error messages.")
1336 (license license:bsd-3)))
1337
1338(define-public ghc-cereal-conduit
1339 (package
1340 (name "ghc-cereal-conduit")
1341 (version "0.8.0")
1342 (source
1343 (origin
1344 (method url-fetch)
1345 (uri (string-append "https://hackage.haskell.org/package/"
1346 "cereal-conduit/cereal-conduit-"
1347 version ".tar.gz"))
1348 (sha256
1349 (base32
1350 "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r"))))
1351 (build-system haskell-build-system)
1352 (inputs
1353 `(("ghc-conduit" ,ghc-conduit)
1354 ("ghc-resourcet" ,ghc-resourcet)
1355 ("ghc-cereal" ,ghc-cereal)))
1356 (native-inputs
1357 `(("ghc-hunit" ,ghc-hunit)))
1358 (home-page "https://github.com/snoyberg/conduit")
1359 (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits")
1360 (description
1361 "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into
1362@code{Sources}, @code{Sinks}, and @code{Conduits}.")
1363 (license license:bsd-3)))
1364
1365(define-public ghc-cgi
1366 (package
1367 (name "ghc-cgi")
1368 (version "3001.3.0.2")
1369 (source
1370 (origin
1371 (method url-fetch)
1372 (uri (string-append
1373 "https://hackage.haskell.org/package/cgi/cgi-"
1374 version
1375 ".tar.gz"))
1376 (sha256
1377 (base32
1378 "1hbpplss1m4rdpm4ibip6fpimlhssqa14fl338kl2jbc463i64cj"))))
1379 (build-system haskell-build-system)
1380 (arguments
1381 `(#:phases
1382 (modify-phases %standard-phases
1383 (add-before 'configure 'update-constraints
1384 (lambda _
1385 (substitute* "cgi.cabal"
1386 (("exceptions < 0\\.9")
1387 "exceptions < 0.11")
1388 (("time >= 1\\.5 && < 1\\.7")
1389 "time >= 1.5 && < 1.9")
1390 (("doctest >= 0\\.8 && < 0\\.12")
1391 "doctest >= 0.8 && < 0.17")
1392 (("QuickCheck >= 2\\.8\\.1 && < 2\\.10")
1393 "QuickCheck >= 2.8.1 && < 2.12")))))))
1394 (inputs
1395 `(("ghc-exceptions" ,ghc-exceptions)
1396 ("ghc-multipart" ,ghc-multipart)
1397 ("ghc-network-uri" ,ghc-network-uri)
1398 ("ghc-network" ,ghc-network)))
1399 (native-inputs
1400 `(("ghc-doctest" ,ghc-doctest)
1401 ("ghc-quickcheck" ,ghc-quickcheck)))
1402 (home-page
1403 "https://github.com/cheecheeo/haskell-cgi")
1404 (synopsis "Library for writing CGI programs")
1405 (description
1406 "This is a Haskell library for writing CGI programs.")
1407 (license license:bsd-3)))
1408
1409(define-public ghc-charset
1410 (package
1411 (name "ghc-charset")
1412 (version "0.3.7.1")
1413 (source
1414 (origin
1415 (method url-fetch)
1416 (uri (string-append
1417 "https://hackage.haskell.org/package/charset/charset-"
1418 version
1419 ".tar.gz"))
1420 (sha256
1421 (base32
1422 "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x"))))
1423 (build-system haskell-build-system)
1424 (inputs
1425 `(("ghc-semigroups" ,ghc-semigroups)
1426 ("ghc-unordered-containers" ,ghc-unordered-containers)))
1427 (home-page "https://github.com/ekmett/charset")
1428 (synopsis "Fast unicode character sets for Haskell")
1429 (description "This package provides fast unicode character sets for
1430Haskell, based on complemented PATRICIA tries.")
1431 (license license:bsd-3)))
1432
1433(define-public ghc-chart
1434 (package
1435 (name "ghc-chart")
1436 (version "1.9")
1437 (source
1438 (origin
1439 (method url-fetch)
1440 (uri (string-append "https://hackage.haskell.org/package/Chart/"
1441 "Chart-" version ".tar.gz"))
1442 (sha256
1443 (base32
1444 "1f5azj17y8xsb3gjhf7gg1gnnlq12rxkmfjmgcly314d7vghs05z"))))
1445 (build-system haskell-build-system)
1446 (inputs
1447 `(("ghc-old-locale" ,ghc-old-locale)
1448 ("ghc-lens" ,ghc-lens)
1449 ("ghc-colour" ,ghc-colour)
1450 ("ghc-data-default-class" ,ghc-data-default-class)
1451 ("ghc-operational" ,ghc-operational)
1452 ("ghc-vector" ,ghc-vector)))
1453 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1454 (synopsis "Library for generating 2D charts and plots")
1455 (description
1456 "This package provides a library for generating 2D charts and plots, with
1457backends provided by the @code{Cairo} and @code{Diagrams} libraries.")
1458 (license license:bsd-3)))
1459
1460(define-public ghc-chart-cairo
1461 (package
1462 (name "ghc-chart-cairo")
1463 (version "1.9")
1464 (source
1465 (origin
1466 (method url-fetch)
1467 (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/"
1468 "Chart-cairo-" version ".tar.gz"))
1469 (sha256
1470 (base32
1471 "0iany6lfyfb1cw0pxfs5aw5k0a6x41m6ql9ad9w59biwdckbsyqr"))))
1472 (build-system haskell-build-system)
1473 (inputs
1474 `(("ghc-old-locale" ,ghc-old-locale)
1475 ("ghc-cairo" ,ghc-cairo)
1476 ("ghc-colour" ,ghc-colour)
1477 ("ghc-data-default-class" ,ghc-data-default-class)
1478 ("ghc-operational" ,ghc-operational)
1479 ("ghc-lens" ,ghc-lens)
1480 ("ghc-chart" ,ghc-chart)))
1481 (home-page "https://github.com/timbod7/haskell-chart/wiki")
1482 (synopsis "Cairo backend for Charts")
1483 (description "This package provides a Cairo vector graphics rendering
1484backend for the Charts library.")
1485 (license license:bsd-3)))
1486
1487(define-public ghc-chasingbottoms
1488 (package
1489 (name "ghc-chasingbottoms")
1490 (version "1.3.1.4")
1491 (source
1492 (origin
1493 (method url-fetch)
1494 (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/"
1495 "ChasingBottoms-" version ".tar.gz"))
1496 (sha256
1497 (base32
1498 "06cynx6hcbfpky7qq3b3mjjgwbnaxkwin3znbwq4b9ikiw0ng633"))))
1499 (build-system haskell-build-system)
1500 (inputs
1501 `(("ghc-quickcheck" ,ghc-quickcheck)
1502 ("ghc-random" ,ghc-random)
1503 ("ghc-syb" ,ghc-syb)))
1504 (home-page "https://hackage.haskell.org/package/ChasingBottoms")
1505 (synopsis "Testing of partial and infinite values in Haskell")
1506 (description
1507 ;; FIXME: There should be a @comma{} in the uref text, but it is not
1508 ;; rendered properly.
1509 "This is a library for testing code involving bottoms or infinite values.
1510For the underlying theory and a larger example involving use of QuickCheck,
1511see the article
1512@uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html,
1513\"Chasing Bottoms A Case Study in Program Verification in the Presence of
1514Partial and Infinite Values\"}.")
1515 (license license:expat)))
1516
1517(define-public ghc-cheapskate
1518 (package
1519 (name "ghc-cheapskate")
1520 (version "0.1.1")
1521 (source
1522 (origin
1523 (method url-fetch)
1524 (uri (string-append
1525 "https://hackage.haskell.org/package/cheapskate/cheapskate-"
1526 version
1527 ".tar.gz"))
1528 (sha256
1529 (base32
1530 "1hiqi7h76shjzs2zj0j8g6wnq2hbiq1hmfafdazr97fba2zl2432"))))
1531 (build-system haskell-build-system)
1532 (inputs
1533 `(("ghc-blaze-html" ,ghc-blaze-html)
1534 ("ghc-xss-sanitize" ,ghc-xss-sanitize)
1535 ("ghc-data-default" ,ghc-data-default)
1536 ("ghc-syb" ,ghc-syb)
1537 ("ghc-uniplate" ,ghc-uniplate)))
1538 (home-page "https://github.com/jgm/cheapskate")
1539 (synopsis "Experimental markdown processor")
1540 (description "Cheapskate is an experimental Markdown processor in pure
1541Haskell. It aims to process Markdown efficiently and in the most forgiving
1542possible way. It is designed to deal with any input, including garbage, with
1543linear performance. Output is sanitized by default for protection against
1544cross-site scripting (@dfn{XSS}) attacks.")
1545 (license license:bsd-3)))
1546
1547(define-public ghc-chell
1548 (package
1549 (name "ghc-chell")
1550 (version "0.4.0.2")
1551 (source
1552 (origin
1553 (method url-fetch)
1554 (uri (string-append
1555 "https://hackage.haskell.org/package/chell/chell-"
1556 version ".tar.gz"))
1557 (sha256
1558 (base32
1559 "10ingy9qnbmc8cqh4i9pskcw43l0mzk8f3d76b3qz3fig5ary3j9"))))
1560 (build-system haskell-build-system)
1561 (inputs
1562 `(("ghc-options-bootstrap" ,ghc-options-bootstrap)
1563 ("ghc-patience" ,ghc-patience)
1564 ("ghc-random" ,ghc-random)
1565 ("ghc-ansi-terminal" ,ghc-ansi-terminal)))
1566 (home-page "https://john-millikin.com/software/chell/")
1567 (synopsis "Simple and intuitive library for automated testing")
1568 (description
1569 "Chell is a simple and intuitive library for automated testing.
1570It natively supports assertion-based testing, and can use companion
1571libraries such as @code{chell-quickcheck} to support more complex
1572testing strategies.")
1573 (license license:expat)))
1574
1575(define-public ghc-chell-quickcheck
1576 (package
1577 (name "ghc-chell-quickcheck")
1578 (version "0.2.5.1")
1579 (source
1580 (origin
1581 (method url-fetch)
1582 (uri (string-append
1583 "https://hackage.haskell.org/package/chell-quickcheck/"
1584 "chell-quickcheck-" version ".tar.gz"))
1585 (sha256
1586 (base32
1587 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
1588 (build-system haskell-build-system)
1589 (arguments
1590 `(#:phases
1591 (modify-phases %standard-phases
1592 (add-before 'configure 'update-constraints
1593 (lambda _
1594 (substitute* "chell-quickcheck.cabal"
1595 (("QuickCheck >= 2\\.3 && < 2\\.11")
1596 "QuickCheck >= 2.3 && < 2.12")))))))
1597 (inputs
1598 `(("ghc-chell" ,ghc-chell)
1599 ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap)
1600 ("ghc-random" ,ghc-random)
1601 ("ghc-quickcheck" ,ghc-quickcheck)))
1602 (home-page "https://john-millikin.com/software/chell/")
1603 (synopsis "QuickCheck support for the Chell testing library")
1604 (description "More complex tests for @code{chell}.")
1605 (license license:expat)))
1606
1607(define ghc-chell-quickcheck-bootstrap
1608 (package
1609 (name "ghc-chell-quickcheck-bootstrap")
1610 (version "0.2.5.1")
1611 (source
1612 (origin
1613 (method url-fetch)
1614 (uri (string-append
1615 "https://hackage.haskell.org/package/chell-quickcheck/"
1616 "chell-quickcheck-" version ".tar.gz"))
1617 (sha256
1618 (base32
1619 "1iicsys9igx7m7n4l2b8djardmjy2ah5ibzp7kzs758h460fq53a"))))
1620 (build-system haskell-build-system)
1621 (inputs
1622 `(("ghc-chell" ,ghc-chell)
1623 ("ghc-random" ,ghc-random)
1624 ("ghc-quickcheck" ,ghc-quickcheck)))
1625 (arguments
1626 `(#:tests? #f
1627 #:phases
1628 (modify-phases %standard-phases
1629 (add-before 'configure 'update-constraints
1630 (lambda _
1631 (substitute* "chell-quickcheck.cabal"
1632 (("QuickCheck >= 2\\.3 && < 2\\.11")
1633 "QuickCheck >= 2.3 && < 2.12")))))))
1634 (home-page "https://john-millikin.com/software/chell/")
1635 (synopsis "QuickCheck support for the Chell testing library")
1636 (description "More complex tests for @code{chell}.")
1637 (license license:expat)))
1638
1639(define-public ghc-chunked-data
1640 (package
1641 (name "ghc-chunked-data")
1642 (version "0.3.1")
1643 (source
1644 (origin
1645 (method url-fetch)
1646 (uri (string-append "https://hackage.haskell.org/package/"
1647 "chunked-data-" version "/"
1648 "chunked-data-" version ".tar.gz"))
1649 (sha256
1650 (base32
1651 "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p"))))
1652 (build-system haskell-build-system)
1653 (inputs `(("ghc-vector" ,ghc-vector)
1654 ("ghc-semigroups" ,ghc-semigroups)))
1655 (home-page "https://github.com/snoyberg/mono-traversable")
1656 (synopsis "Typeclasses for dealing with various chunked data
1657representations for Haskell")
1658 (description "This Haskell package was originally present in
1659classy-prelude.")
1660 (license license:expat)))
1661
1662(define-public ghc-clock
1663 (package
1664 (name "ghc-clock")
1665 (version "0.7.2")
1666 (source
1667 (origin
1668 (method url-fetch)
1669 (uri (string-append
1670 "https://hackage.haskell.org/package/"
1671 "clock/"
1672 "clock-" version ".tar.gz"))
1673 (sha256
1674 (base32 "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8"))))
1675 (build-system haskell-build-system)
1676 (inputs
1677 `(("ghc-tasty" ,ghc-tasty)
1678 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
1679 (home-page "https://hackage.haskell.org/package/clock")
1680 (synopsis "High-resolution clock for Haskell")
1681 (description "A package for convenient access to high-resolution clock and
1682timer functions of different operating systems via a unified API.")
1683 (license license:bsd-3)))
1684
1685;; This package builds `clock` without tests, since the tests rely on tasty
1686;; and tasty-quickcheck, which in turn require clock to build.
1687(define-public ghc-clock-bootstrap
1688 (package
1689 (inherit ghc-clock)
1690 (name "ghc-clock-bootstrap")
1691 (arguments '(#:tests? #f))
1692 (inputs '())
1693 (properties '((hidden? #t)))))
1694
1695(define-public ghc-cmark
1696 (package
1697 (name "ghc-cmark")
6bdd36c0 1698 (version "0.6")
dddbc90c
RV
1699 (source (origin
1700 (method url-fetch)
6bdd36c0 1701 ;; XXX As of version 0.6, this package bundles libcmark 0.28.0.
dddbc90c
RV
1702 ;; See cbits/cmark_version.h.
1703 (uri (string-append "https://hackage.haskell.org/package/"
1704 "cmark/cmark-" version ".tar.gz"))
1705 (sha256
1706 (base32
6bdd36c0 1707 "1p41z6z8dqxk62287lvhhg4ayy9laai9ljh4azsnzb029v6mbv0d"))))
dddbc90c
RV
1708 (build-system haskell-build-system)
1709 (native-inputs
1710 `(("ghc-hunit" ,ghc-hunit)))
1711 (home-page "https://github.com/jgm/commonmark-hs")
1712 (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer")
1713 (description
1714 "This package provides Haskell bindings for
1715@uref{https://github.com/jgm/cmark, libcmark}, the reference parser for
1716CommonMark, a fully specified variant of Markdown. It includes bundled libcmark
1717sources, and does not require prior installation of the C library.")
1718 (license license:bsd-3)))
1719
1720(define-public ghc-cmark-gfm
1721 (package
1722 (name "ghc-cmark-gfm")
24fc8dae 1723 (version "0.2.0")
dddbc90c
RV
1724 (source
1725 (origin
1726 (method url-fetch)
1727 (uri (string-append "https://hackage.haskell.org/package/"
1728 "cmark-gfm/cmark-gfm-"
1729 version ".tar.gz"))
1730 (sha256
1731 (base32
24fc8dae 1732 "03xflrkyw84qv3yjly5iks9311bqv5cmrmsylr763v4ph0fn7rjq"))))
dddbc90c
RV
1733 (build-system haskell-build-system)
1734 (native-inputs
1735 `(("ghc-hunit" ,ghc-hunit)))
1736 (home-page "https://github.com/kivikakk/cmark-gfm-hs")
1737 (synopsis
1738 "Fast, accurate GitHub Flavored Markdown parser and renderer")
1739 (description
1740 "This package provides Haskell bindings for libcmark-gfm, the reference
1741parser for GitHub Flavored Markdown, a fully specified variant of Markdown.
1742It includes sources for libcmark-gfm and does not require prior installation
1743of the C library.")
1744 (license license:bsd-3)))
1745
1746(define-public ghc-cmdargs
1747 (package
1748 (name "ghc-cmdargs")
1749 (version "0.10.20")
1750 (source
1751 (origin
1752 (method url-fetch)
1753 (uri (string-append
1754 "https://hackage.haskell.org/package/cmdargs/cmdargs-"
1755 version ".tar.gz"))
1756 (sha256
1757 (base32
1758 "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf"))))
1759 (build-system haskell-build-system)
1760 (home-page
1761 "http://community.haskell.org/~ndm/cmdargs/")
1762 (synopsis "Command line argument processing")
1763 (description
1764 "This library provides an easy way to define command line parsers.")
1765 (license license:bsd-3)))
1766
1767(define-public ghc-code-page
1768 (package
1769 (name "ghc-code-page")
f6bb6519 1770 (version "0.2")
dddbc90c
RV
1771 (source
1772 (origin
1773 (method url-fetch)
1774 (uri (string-append
1775 "https://hackage.haskell.org/package/code-page/code-page-"
1776 version ".tar.gz"))
1777 (sha256
1778 (base32
f6bb6519 1779 "0i0qbrbhvrwkbikqb7hh7yxaipaavwzvyrw211d0vkz99f62mqxz"))))
dddbc90c
RV
1780 (build-system haskell-build-system)
1781 (home-page "https://github.com/RyanGlScott/code-page")
1782 (synopsis "Windows code page library for Haskell")
1783 (description "A cross-platform library with functions for adjusting
1784code pages on Windows. On all other operating systems, the library does
1785nothing.")
1786 (license license:bsd-3)))
1787
1788(define-public ghc-colour
1789(package
1790 (name "ghc-colour")
bc9d1af9 1791 (version "2.3.5")
dddbc90c
RV
1792 (source
1793 (origin
1794 (method url-fetch)
1795 (uri (string-append
1796 "https://hackage.haskell.org/package/colour/colour-"
1797 version ".tar.gz"))
1798 (sha256
1799 (base32
bc9d1af9 1800 "1rq4l46jx4lpdppy71wf7m1n7pw2jwy788rm35ycwzb1g4clg39v"))))
dddbc90c
RV
1801 (arguments
1802 ;; The tests for this package have the following dependency cycle:
1803 ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour.
1804 `(#:tests? #f))
1805 (build-system haskell-build-system)
1806 (home-page "https://www.haskell.org/haskellwiki/Colour")
1807 (synopsis "Model for human colour perception")
1808 (description
1809 "This package provides a data type for colours and transparency.
1810Colours can be blended and composed. Various colour spaces are
1811supported. A module of colour names (\"Data.Colour.Names\") is provided.")
1812 (license license:expat)))
1813
1814(define-public ghc-comonad
1815 (package
1816 (name "ghc-comonad")
1817 (version "5.0.4")
1818 (source
1819 (origin
1820 (method url-fetch)
1821 (uri (string-append
1822 "https://hackage.haskell.org/package/comonad/comonad-"
1823 version
1824 ".tar.gz"))
1825 (sha256
1826 (base32
1827 "09g870c4flp4k3fgbibsd0mmfjani1qcpbcl685v8x89kxzrva3q"))))
1828 (build-system haskell-build-system)
1829 (native-inputs
1830 `(("cabal-doctest" ,cabal-doctest)
1831 ("ghc-doctest" ,ghc-doctest)))
1832 (inputs
1833 `(("ghc-contravariant" ,ghc-contravariant)
1834 ("ghc-distributive" ,ghc-distributive)
1835 ("ghc-semigroups" ,ghc-semigroups)
1836 ("ghc-tagged" ,ghc-tagged)
1837 ("ghc-transformers-compat" ,ghc-transformers-compat)))
1838 (home-page "https://github.com/ekmett/comonad/")
1839 (synopsis "Comonads for Haskell")
1840 (description "This library provides @code{Comonad}s for Haskell.")
1841 (license license:bsd-3)))
1842
1843(define-public ghc-concatenative
1844 (package
1845 (name "ghc-concatenative")
1846 (version "1.0.1")
1847 (source (origin
1848 (method url-fetch)
1849 (uri (string-append
1850 "https://hackage.haskell.org/package/concatenative/concatenative-"
1851 version ".tar.gz"))
1852 (sha256
1853 (base32
1854 "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd"))))
1855 (build-system haskell-build-system)
1856 (home-page
1857 "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty")
1858 (synopsis "Library for postfix control flow")
1859 (description
1860 "Concatenative gives Haskell Factor-style combinators and arrows for
1861postfix notation. For more information on stack based languages, see
1862@uref{https://concatenative.org}.")
1863 (license license:bsd-3)))
1864
1865(define-public ghc-concurrent-extra
1866 (package
1867 (name "ghc-concurrent-extra")
1868 (version "0.7.0.12")
1869 (source
1870 (origin
1871 (method url-fetch)
1872 (uri (string-append "https://hackage.haskell.org/package/"
1873 "concurrent-extra/concurrent-extra-"
1874 version ".tar.gz"))
1875 (sha256
1876 (base32
1877 "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4"))))
1878 (build-system haskell-build-system)
1879 (arguments
1880 ;; XXX: The ReadWriteLock 'stressTest' fails.
1881 `(#:tests? #f))
1882 (inputs
1883 `(("ghc-unbounded-delays" ,ghc-unbounded-delays)))
1884 (native-inputs
1885 `(("ghc-async" ,ghc-async)
1886 ("ghc-hunit" ,ghc-hunit)
1887 ("ghc-random" ,ghc-random)
1888 ("ghc-test-framework" ,ghc-test-framework)
1889 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
1890 (home-page "https://github.com/basvandijk/concurrent-extra")
1891 (synopsis "Extra concurrency primitives")
1892 (description "This Haskell library offers (among other things) the
1893following selection of synchronisation primitives:
1894
1895@itemize
1896@item @code{Broadcast}: Wake multiple threads by broadcasting a value.
1897@item @code{Event}: Wake multiple threads by signalling an event.
1898@item @code{Lock}: Enforce exclusive access to a resource. Also known
1899as a binary semaphore or mutex. The package additionally provides an
1900alternative that works in the STM monad.
1901@item @code{RLock}: A lock which can be acquired multiple times by the
1902same thread. Also known as a reentrant mutex.
1903@item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used
1904to protect shared resources which may be concurrently read, but only
1905sequentially written.
1906@item @code{ReadWriteVar}: Concurrent read, sequential write variables.
1907@end itemize
1908
1909Please consult the API documentation of the individual modules for more
1910detailed information.
1911
1912This package was inspired by the concurrency libraries of Java and
1913Python.")
1914 (license license:bsd-3)))
1915
1916(define-public ghc-concurrent-output
1917 (package
1918 (name "ghc-concurrent-output")
1919 (version "1.10.9")
1920 (source
1921 (origin
1922 (method url-fetch)
1923 (uri (string-append
1924 "mirror://hackage/package/concurrent-output/concurrent-output-"
1925 version
1926 ".tar.gz"))
1927 (sha256
1928 (base32
1929 "0mwf155w89nbbkjln7hhbn8k3f8p0ylcvgrg31cm7ijpx4499i4c"))))
1930 (build-system haskell-build-system)
1931 (inputs
1932 `(("ghc-async" ,ghc-async)
1933 ("ghc-exceptions" ,ghc-exceptions)
1934 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
1935 ("ghc-terminal-size" ,ghc-terminal-size)))
1936 (home-page
1937 "https://hackage.haskell.org/package/concurrent-output")
1938 (synopsis
1939 "Ungarble output from several threads or commands")
1940 (description
1941 "Lets multiple threads and external processes concurrently output to the
1942console, without it getting all garbled up.
1943
1944Built on top of that is a way of defining multiple output regions, which are
1945automatically laid out on the screen and can be individually updated by
1946concurrent threads. Can be used for progress displays etc.")
1947 (license license:bsd-2)))
1948
1949(define-public ghc-conduit
1950 (package
1951 (name "ghc-conduit")
1952 (version "1.3.0.3")
1953 (source (origin
1954 (method url-fetch)
1955 (uri (string-append "https://hackage.haskell.org/package/"
1956 "conduit/conduit-" version ".tar.gz"))
1957 (sha256
1958 (base32
1959 "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v"))))
1960 (build-system haskell-build-system)
1961 (inputs
1962 `(("ghc-exceptions" ,ghc-exceptions)
1963 ("ghc-lifted-base" ,ghc-lifted-base)
1964 ("ghc-mono-traversable" ,ghc-mono-traversable)
1965 ("ghc-mmorph" ,ghc-mmorph)
1966 ("ghc-resourcet" ,ghc-resourcet)
1967 ("ghc-silently" ,ghc-silently)
1968 ("ghc-transformers-base" ,ghc-transformers-base)
1969 ("ghc-unliftio" ,ghc-unliftio)
1970 ("ghc-unliftio-core" ,ghc-unliftio-core)
1971 ("ghc-vector" ,ghc-vector)
1972 ("ghc-void" ,ghc-void)))
1973 (native-inputs
1974 `(("ghc-quickcheck" ,ghc-quickcheck)
1975 ("ghc-hspec" ,ghc-hspec)
1976 ("ghc-safe" ,ghc-safe)
1977 ("ghc-split" ,ghc-split)))
1978 (home-page "https://github.com/snoyberg/conduit")
1979 (synopsis "Streaming data library ")
1980 (description
1981 "The conduit package is a solution to the streaming data problem,
1982allowing for production, transformation, and consumption of streams of data
1983in constant memory. It is an alternative to lazy I/O which guarantees
1984deterministic resource handling, and fits in the same general solution
1985space as enumerator/iteratee and pipes.")
1986 (license license:expat)))
1987
1988(define-public ghc-conduit-algorithms
1989 (package
1990 (name "ghc-conduit-algorithms")
1991 (version "0.0.8.1")
1992 (source
1993 (origin
1994 (method url-fetch)
1995 (uri (string-append "https://hackage.haskell.org/package/"
1996 "conduit-algorithms/conduit-algorithms-"
1997 version ".tar.gz"))
1998 (sha256
1999 (base32
2000 "07gx2q3d1bbfw14q41rmqg0i4m018pci10lswc0k1ij6lw7sb9fd"))))
2001 (build-system haskell-build-system)
2002 (inputs
2003 `(("ghc-async" ,ghc-async)
2004 ("ghc-bzlib-conduit" ,ghc-bzlib-conduit)
2005 ("ghc-conduit" ,ghc-conduit)
2006 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
2007 ("ghc-conduit-extra" ,ghc-conduit-extra)
2008 ("ghc-exceptions" ,ghc-exceptions)
2009 ("ghc-lzma-conduit" ,ghc-lzma-conduit)
2010 ("ghc-monad-control" ,ghc-monad-control)
2011 ("ghc-pqueue" ,ghc-pqueue)
2012 ("ghc-resourcet" ,ghc-resourcet)
2013 ("ghc-stm-conduit" ,ghc-stm-conduit)
2014 ("ghc-streaming-commons" ,ghc-streaming-commons)
2015 ("ghc-unliftio-core" ,ghc-unliftio-core)
2016 ("ghc-vector" ,ghc-vector)))
2017 (native-inputs
2018 `(("ghc-hunit" ,ghc-hunit)
2019 ("ghc-test-framework" ,ghc-test-framework)
2020 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2021 ("ghc-test-framework-th" ,ghc-test-framework-th)))
2022 (home-page "https://github.com/luispedro/conduit-algorithms#readme")
2023 (synopsis "Conduit-based algorithms")
2024 (description
2025 "This package provides algorithms on @code{Conduits}, including higher
2026level asynchronous processing and some other utilities.")
2027 (license license:expat)))
2028
2029(define-public ghc-conduit-combinators
2030 (package
2031 (name "ghc-conduit-combinators")
2032 (version "1.3.0")
2033 (source
2034 (origin
2035 (method url-fetch)
2036 (uri (string-append "https://hackage.haskell.org/package/"
2037 "conduit-combinators-" version "/"
2038 "conduit-combinators-" version ".tar.gz"))
2039 (sha256
2040 (base32
2041 "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp"))))
2042 (build-system haskell-build-system)
2043 (inputs `(("ghc-conduit" ,ghc-conduit)
2044 ("ghc-conduit-extra" ,ghc-conduit-extra)
2045 ("ghc-transformers-base" ,ghc-transformers-base)
2046 ("ghc-primitive" ,ghc-primitive)
2047 ("ghc-vector" ,ghc-vector)
2048 ("ghc-void" ,ghc-void)
2049 ("ghc-mwc-random" ,ghc-mwc-random)
2050 ("ghc-unix-compat" ,ghc-unix-compat)
2051 ("ghc-base16-bytestring" ,ghc-base16-bytestring)
2052 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
2053 ("ghc-resourcet" ,ghc-resourcet)
2054 ("ghc-monad-control" ,ghc-monad-control)
2055 ("ghc-chunked-data" ,ghc-chunked-data)
2056 ("ghc-mono-traversable" ,ghc-mono-traversable)))
2057 (native-inputs `(("ghc-hspec" ,ghc-hspec)
2058 ("ghc-silently" ,ghc-silently)
2059 ("ghc-safe" ,ghc-safe)
2060 ("ghc-quickcheck" ,ghc-quickcheck)))
2061 (home-page "https://github.com/snoyberg/mono-traversable")
2062 (synopsis "Commonly used conduit functions, for both chunked and
2063unchunked data")
2064 (description "This Haskell package provides a replacement for Data.Conduit.List,
2065as well as a convenient Conduit module.")
2066 (license license:expat)))
2067
2068(define-public ghc-conduit-extra
2069 (package
2070 (name "ghc-conduit-extra")
2071 (version "1.3.1.1")
2072 (source
2073 (origin
2074 (method url-fetch)
2075 (uri (string-append "https://hackage.haskell.org/package/"
2076 "conduit-extra/conduit-extra-"
2077 version ".tar.gz"))
2078 (sha256
2079 (base32
2080 "0jaj350vv6mbb26gdwcqz4gwzfzrjydv5pis2da49wz1npbakcfw"))))
2081 (build-system haskell-build-system)
2082 (inputs
2083 `(("ghc-conduit" ,ghc-conduit)
2084 ("ghc-exceptions" ,ghc-exceptions)
2085 ("ghc-monad-control" ,ghc-monad-control)
2086 ("ghc-transformers-base" ,ghc-transformers-base)
2087 ("ghc-typed-process" ,ghc-typed-process)
2088 ("ghc-async" ,ghc-async)
2089 ("ghc-attoparsec" ,ghc-attoparsec)
2090 ("ghc-blaze-builder" ,ghc-blaze-builder)
2091 ("ghc-network" ,ghc-network)
2092 ("ghc-primitive" ,ghc-primitive)
2093 ("ghc-resourcet" ,ghc-resourcet)
2094 ("ghc-streaming-commons" ,ghc-streaming-commons)
2095 ("ghc-hspec" ,ghc-hspec)
2096 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
2097 ("ghc-quickcheck" ,ghc-quickcheck)))
2098 (native-inputs
2099 `(("hspec-discover" ,hspec-discover)))
2100 (home-page "https://github.com/snoyberg/conduit")
2101 (synopsis "Conduit adapters for common libraries")
2102 (description
2103 "The @code{conduit} package itself maintains relative small dependencies.
2104The purpose of this package is to collect commonly used utility functions
2105wrapping other library dependencies, without depending on heavier-weight
2106dependencies. The basic idea is that this package should only depend on
2107@code{haskell-platform} packages and @code{conduit}.")
2108 (license license:expat)))
2109
2110(define-public ghc-configurator
2111 (package
2112 (name "ghc-configurator")
2113 (version "0.3.0.0")
2114 (source
2115 (origin
2116 (method url-fetch)
2117 (uri (string-append "https://hackage.haskell.org/package/"
2118 "configurator/configurator-"
2119 version ".tar.gz"))
2120 (sha256
2121 (base32
2122 "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf"))))
2123 (build-system haskell-build-system)
2124 (inputs
2125 `(("ghc-attoparsec" ,ghc-attoparsec)
2126 ("ghc-hashable" ,ghc-hashable)
2127 ("ghc-unix-compat" ,ghc-unix-compat)
2128 ("ghc-unordered-containers" ,ghc-unordered-containers)))
2129 (native-inputs
2130 `(("ghc-hunit" ,ghc-hunit)
2131 ("ghc-test-framework" ,ghc-test-framework)
2132 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2133 (home-page "http://github.com/bos/configurator")
2134 (synopsis "Configuration management")
2135 (description
2136 "This package provides a configuration management library for programs
2137and daemons. The features include:
2138
2139@enumerate
2140@item Automatic, dynamic reloading in response to modifications to
2141 configuration files.
2142@item A simple, but flexible, configuration language, supporting several of
2143 the most commonly needed types of data, along with interpolation of strings
2144 from the configuration or the system environment (e.g. @code{$(HOME)}).
2145@item Subscription-based notification of changes to configuration properties.
2146@item An @code{import} directive allows the configuration of a complex
2147 application to be split across several smaller files, or common configuration
2148 data to be shared across several applications.
2149@end enumerate\n")
2150 (license license:bsd-3)))
2151
2152(define-public ghc-connection
2153 (package
2154 (name "ghc-connection")
2155 (version "0.2.8")
2156 (source (origin
2157 (method url-fetch)
2158 (uri (string-append "https://hackage.haskell.org/package/"
2159 "connection/connection-"
2160 version ".tar.gz"))
2161 (sha256
2162 (base32
2163 "1swkb9w5vx9ph7x55y51dc0srj2z27nd9ibgn8c0qcl6hx7g9cbh"))))
2164 (build-system haskell-build-system)
2165 (inputs
2166 `(("ghc-byteable" ,ghc-byteable)
2167 ("ghc-data-default-class" ,ghc-data-default-class)
2168 ("ghc-network" ,ghc-network)
2169 ("ghc-tls" ,ghc-tls)
2170 ("ghc-socks" ,ghc-socks)
2171 ("ghc-x509" ,ghc-x509)
2172 ("ghc-x509-store" ,ghc-x509-store)
2173 ("ghc-x509-system" ,ghc-x509-system)
2174 ("ghc-x509-validation" ,ghc-x509-validation)))
2175 (home-page "https://github.com/vincenthz/hs-connection")
2176 (synopsis "Simple and easy network connections API")
2177 (description
2178 "This package provides a simple network library for all your connection
2179needs. It provides a very simple API to create sockets to a destination with
2180the choice of SSL/TLS, and SOCKS.")
2181 (license license:bsd-3)))
2182
2183(define-public ghc-constraints
2184 (package
2185 (name "ghc-constraints")
2186 (version "0.10.1")
2187 (source
2188 (origin
2189 (method url-fetch)
2190 (uri (string-append
2191 "https://hackage.haskell.org/package/constraints/constraints-"
2192 version ".tar.gz"))
2193 (sha256
2194 (base32
2195 "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q"))))
2196 (build-system haskell-build-system)
2197 (inputs
2198 `(("ghc-hashable" ,ghc-hashable)
2199 ("ghc-semigroups" ,ghc-semigroups)
2200 ("ghc-transformers-compat" ,ghc-transformers-compat)))
2201 (native-inputs
2202 `(("ghc-hspec" ,ghc-hspec)
2203 ("hspec-discover" ,hspec-discover)))
2204 (home-page "https://github.com/ekmett/constraints/")
2205 (synopsis "Constraint manipulation")
2206 (description
2207 "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}.
2208They stopped crashing the compiler in GHC 7.6. This package provides
2209a vocabulary for working with them.")
2210 (license license:bsd-3)))
2211
2212(define-public ghc-contravariant
2213 (package
2214 (name "ghc-contravariant")
2215 (version "1.4.1")
2216 (source
2217 (origin
2218 (method url-fetch)
2219 (uri (string-append
2220 "https://hackage.haskell.org/package/contravariant/contravariant-"
2221 version
2222 ".tar.gz"))
2223 (sha256
2224 (base32
2225 "1vfhk8c5cxmmakx7rflap1ipkx5q0j5vnlrcz7yz6y53kxhksgf9"))))
2226 (build-system haskell-build-system)
2227 (inputs
2228 `(("ghc-void" ,ghc-void)
2229 ("ghc-transformers-compat" ,ghc-transformers-compat)
2230 ("ghc-statevar" ,ghc-statevar)
2231 ("ghc-semigroups" ,ghc-semigroups)))
2232 (home-page
2233 "https://github.com/ekmett/contravariant/")
2234 (synopsis "Contravariant functors")
2235 (description "Contravariant functors for Haskell.")
2236 (license license:bsd-3)))
2237
2238(define-public ghc-contravariant-extras
2239 (package
2240 (name "ghc-contravariant-extras")
2241 (version "0.3.4")
2242 (source
2243 (origin
2244 (method url-fetch)
2245 (uri (string-append "https://hackage.haskell.org/package/"
2246 "contravariant-extras-" version "/"
2247 "contravariant-extras-" version ".tar.gz"))
2248 (sha256
2249 (base32
2250 "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n"))))
2251 (build-system haskell-build-system)
2252 (inputs
2253 `(("ghc-tuple-th" ,ghc-tuple-th)
2254 ("ghc-contravariant" ,ghc-contravariant)
2255 ("ghc-base-prelude" ,ghc-base-prelude)
2256 ("ghc-semigroups" ,ghc-semigroups)))
2257 (home-page "https://github.com/nikita-volkov/contravariant-extras")
2258 (synopsis "Extras for the @code{ghc-contravariant} Haskell package")
2259 (description "This Haskell package provides extras for the
2260@code{ghc-contravariant} package.")
2261 (license license:expat)))
2262
2263(define-public ghc-convertible
2264 (package
2265 (name "ghc-convertible")
2266 (version "1.1.1.0")
2267 (source
2268 (origin
2269 (method url-fetch)
2270 (uri (string-append "https://hackage.haskell.org/package/convertible/"
2271 "convertible-" version ".tar.gz"))
2272 (sha256
2273 (base32
2274 "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9"))))
2275 (build-system haskell-build-system)
2276 (inputs
2277 `(("ghc-old-time" ,ghc-old-time)
2278 ("ghc-old-locale" ,ghc-old-locale)))
2279 (home-page "https://hackage.haskell.org/package/convertible")
2280 (synopsis "Typeclasses and instances for converting between types")
2281 (description
2282 "This package provides a typeclass with a single function that is
2283designed to help convert between different types: numeric values, dates and
2284times, and the like. The conversions perform bounds checking and return a
2285pure @code{Either} value. This means that you need not remember which specific
2286function performs the conversion you desire.")
2287 (license license:bsd-3)))
2288
2289(define-public ghc-data-accessor
2290 (package
2291 (name "ghc-data-accessor")
6dcca515 2292 (version "0.2.2.8")
dddbc90c
RV
2293 (source
2294 (origin
2295 (method url-fetch)
2296 (uri (string-append
2297 "mirror://hackage/package/data-accessor/data-accessor-"
2298 version ".tar.gz"))
2299 (sha256
6dcca515 2300 (base32 "1fq4gygxbz0bd0mzgvc1sl3m4gjnsv8nbgpnmdpa29zj5lb9agxc"))))
dddbc90c
RV
2301 (build-system haskell-build-system)
2302 (home-page "https://www.haskell.org/haskellwiki/Record_access")
2303 (synopsis
2304 "Haskell utilities for accessing and manipulating fields of records")
2305 (description "This package provides Haskell modules for accessing and
2306manipulating fields of records.")
2307 (license license:bsd-3)))
2308
2309(define-public ghc-data-accessor-transformers
2310 (package
2311 (name "ghc-data-accessor-transformers")
2312 (version "0.2.1.7")
2313 (source
2314 (origin
2315 (method url-fetch)
2316 (uri (string-append
2317 "mirror://hackage/package/data-accessor-transformers/"
2318 "data-accessor-transformers-" version ".tar.gz"))
2319 (sha256
2320 (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10"))))
2321 (build-system haskell-build-system)
2322 (inputs `(("ghc-data-accessor" ,ghc-data-accessor)))
2323 (home-page "https://www.haskell.org/haskellwiki/Record_access")
2324 (synopsis "Use Accessor to access state in transformers State monad")
2325 (description "This package provides Haskell modules to allow use of
2326Accessor to access state in transformers State monad.")
2327 (license license:bsd-3)))
2328
2329(define-public ghc-data-default
2330 (package
2331 (name "ghc-data-default")
2332 (version "0.7.1.1")
2333 (source
2334 (origin
2335 (method url-fetch)
2336 (uri (string-append
2337 "https://hackage.haskell.org/package/data-default/data-default-"
2338 version
2339 ".tar.gz"))
2340 (sha256
2341 (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh"))))
2342 (build-system haskell-build-system)
2343 (inputs
2344 `(("ghc-data-default-class"
2345 ,ghc-data-default-class)
2346 ("ghc-data-default-instances-base"
2347 ,ghc-data-default-instances-base)
2348 ("ghc-data-default-instances-containers"
2349 ,ghc-data-default-instances-containers)
2350 ("ghc-data-default-instances-dlist"
2351 ,ghc-data-default-instances-dlist)
2352 ("ghc-data-default-instances-old-locale"
2353 ,ghc-data-default-instances-old-locale)))
2354 (home-page "https://hackage.haskell.org/package/data-default")
2355 (synopsis "Types with default values")
2356 (description
2357 "This package defines a class for types with a default value, and
2358provides instances for types from the base, containers, dlist and old-locale
2359packages.")
2360 (license license:bsd-3)))
2361
2362(define-public ghc-data-default-class
2363 (package
2364 (name "ghc-data-default-class")
2365 (version "0.1.2.0")
2366 (source
2367 (origin
2368 (method url-fetch)
2369 (uri (string-append
2370 "https://hackage.haskell.org/package/data-default-class/"
2371 "data-default-class-" version ".tar.gz"))
2372 (sha256
2373 (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag"))))
2374 (build-system haskell-build-system)
2375 (home-page "https://hackage.haskell.org/package/data-default-class")
2376 (synopsis "Types with default values")
2377 (description
2378 "This package defines a class for types with default values.")
2379 (license license:bsd-3)))
2380
2381(define-public ghc-data-default-instances-base
2382 (package
2383 (name "ghc-data-default-instances-base")
2384 (version "0.1.0.1")
2385 (source
2386 (origin
2387 (method url-fetch)
2388 (uri (string-append
2389 "https://hackage.haskell.org/package/"
2390 "data-default-instances-base/"
2391 "data-default-instances-base-" version ".tar.gz"))
2392 (sha256
2393 (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4"))))
2394 (build-system haskell-build-system)
2395 (inputs
2396 `(("ghc-data-default-class" ,ghc-data-default-class)))
2397 (home-page "https://hackage.haskell.org/package/data-default-instances-base")
2398 (synopsis "Default instances for types in base")
2399 (description
2400 "This package provides default instances for types from the base
2401package.")
2402 (license license:bsd-3)))
2403
2404(define-public ghc-data-default-instances-containers
2405 (package
2406 (name "ghc-data-default-instances-containers")
2407 (version "0.0.1")
2408 (source
2409 (origin
2410 (method url-fetch)
2411 (uri (string-append
2412 "https://hackage.haskell.org/package/"
2413 "data-default-instances-containers/"
2414 "data-default-instances-containers-" version ".tar.gz"))
2415 (sha256
2416 (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5"))))
2417 (build-system haskell-build-system)
2418 (inputs
2419 `(("ghc-data-default-class" ,ghc-data-default-class)))
2420 (home-page "https://hackage.haskell.org/package/data-default-instances-containers")
2421 (synopsis "Default instances for types in containers")
2422 (description "Provides default instances for types from the containers
2423package.")
2424 (license license:bsd-3)))
2425
2426(define-public ghc-data-default-instances-dlist
2427 (package
2428 (name "ghc-data-default-instances-dlist")
2429 (version "0.0.1")
2430 (source
2431 (origin
2432 (method url-fetch)
2433 (uri (string-append
2434 "https://hackage.haskell.org/package/"
2435 "data-default-instances-dlist/"
2436 "data-default-instances-dlist-" version ".tar.gz"))
2437 (sha256
2438 (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x"))))
2439 (build-system haskell-build-system)
2440 (inputs
2441 `(("ghc-data-default-class" ,ghc-data-default-class)
2442 ("ghc-dlist" ,ghc-dlist)))
2443 (home-page "https://hackage.haskell.org/package/data-default-instances-dlist")
2444 (synopsis "Default instances for types in dlist")
2445 (description "Provides default instances for types from the dlist
2446package.")
2447 (license license:bsd-3)))
2448
2449(define-public ghc-data-default-instances-old-locale
2450 (package
2451 (name "ghc-data-default-instances-old-locale")
2452 (version "0.0.1")
2453 (source
2454 (origin
2455 (method url-fetch)
2456 (uri (string-append
2457 "https://hackage.haskell.org/package/"
2458 "data-default-instances-old-locale/"
2459 "data-default-instances-old-locale-" version ".tar.gz"))
2460 (sha256
2461 (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0"))))
2462 (build-system haskell-build-system)
2463 (inputs
2464 `(("ghc-data-default-class" ,ghc-data-default-class)
2465 ("ghc-old-locale" ,ghc-old-locale)))
2466 (home-page
2467 "https://hackage.haskell.org/package/data-default-instances-old-locale")
2468 (synopsis "Default instances for types in old-locale")
2469 (description "Provides Default instances for types from the old-locale
2470 package.")
2471 (license license:bsd-3)))
2472
2473(define-public ghc-data-hash
2474 (package
2475 (name "ghc-data-hash")
2476 (version "0.2.0.1")
2477 (source
2478 (origin
2479 (method url-fetch)
2480 (uri (string-append "https://hackage.haskell.org/package/data-hash"
2481 "/data-hash-" version ".tar.gz"))
2482 (sha256
2483 (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi"))))
2484 (build-system haskell-build-system)
2485 (inputs
2486 `(("ghc-quickcheck" ,ghc-quickcheck)
2487 ("ghc-test-framework" ,ghc-test-framework)
2488 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2489 (home-page "https://hackage.haskell.org/package/data-hash")
2490 (synopsis "Combinators for building fast hashing functions")
2491 (description
2492 "This package provides combinators for building fast hashing functions.
2493It includes hashing functions for all basic Haskell98 types.")
2494 (license license:bsd-3)))
2495
2496(define-public ghc-data-ordlist
2497 (package
2498 (name "ghc-data-ordlist")
2499 (version "0.4.7.0")
2500 (source
2501 (origin
2502 (method url-fetch)
2503 (uri (string-append
2504 "https://hackage.haskell.org/package/data-ordlist/data-ordlist-"
2505 version ".tar.gz"))
2506 (sha256
2507 (base32
2508 "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g"))))
2509 (build-system haskell-build-system)
2510 (home-page "https://hackage.haskell.org/package/data-ordlist")
2511 (synopsis "Set and bag operations on ordered lists")
2512 (description
2513 "This module provides set and multiset operations on ordered lists.")
2514 (license license:bsd-3)))
2515
2516(define-public ghc-deepseq-generics
2517 (package
2518 (name "ghc-deepseq-generics")
2519 (version "0.2.0.0")
2520 (source (origin
2521 (method url-fetch)
2522 (uri (string-append "https://hackage.haskell.org/package/"
2523 "deepseq-generics/deepseq-generics-"
2524 version ".tar.gz"))
2525 (sha256
2526 (base32
2527 "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh"))))
2528 (build-system haskell-build-system)
2529 (arguments
2530 `(#:cabal-revision
2531 ("2" "1pnidf8w8x0w5fsqgv8hhrw07slmhxwy5x4fikgk0bd6k76aqicb")))
2532 (native-inputs
2533 `(("ghc-hunit" ,ghc-hunit)
2534 ("ghc-test-framework" ,ghc-test-framework)
2535 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
2536 (home-page "https://github.com/hvr/deepseq-generics")
2537 (synopsis "Generic RNF implementation")
2538 (description
2539 "This package provides a @code{GHC.Generics}-based
2540@code{Control.DeepSeq.Generics.genericRnf} function which can be used for
2541providing an @code{rnf} implementation.")
2542 (license license:bsd-3)))
2543
2544(define-public ghc-descriptive
2545 (package
2546 (name "ghc-descriptive")
2547 (version "0.9.5")
2548 (source
2549 (origin
2550 (method url-fetch)
2551 (uri (string-append
2552 "https://hackage.haskell.org/package/descriptive/descriptive-"
2553 version
2554 ".tar.gz"))
2555 (sha256
2556 (base32
2557 "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237"))))
2558 (build-system haskell-build-system)
2559 (inputs
2560 `(("ghc-aeson" ,ghc-aeson)
2561 ("ghc-bifunctors" ,ghc-bifunctors)
2562 ("ghc-scientific" ,ghc-scientific)
2563 ("ghc-vector" ,ghc-vector)))
2564 (native-inputs
2565 `(("ghc-hunit" ,ghc-hunit)
2566 ("ghc-hspec" ,ghc-hspec)))
2567 (home-page
2568 "https://github.com/chrisdone/descriptive")
2569 (synopsis
2570 "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.")
2571 (description
2572 "This package provides datatypes and functions for creating consumers
2573and parsers with useful semantics.")
2574 (license license:bsd-3)))
2575
2576(define-public ghc-diff
2577 (package
2578 (name "ghc-diff")
2579 (version "0.3.4")
2580 (source (origin
2581 (method url-fetch)
2582 (uri (string-append "https://hackage.haskell.org/package/"
2583 "Diff/Diff-" version ".tar.gz"))
2584 (sha256
2585 (base32
2586 "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp"))))
2587 (build-system haskell-build-system)
2588 (native-inputs
2589 `(("ghc-quickcheck" ,ghc-quickcheck)
2590 ("ghc-test-framework" ,ghc-test-framework)
2591 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2592 (home-page "https://hub.darcs.net/sterlingclover/Diff")
2593 (synopsis "O(ND) diff algorithm in Haskell")
2594 (description
2595 "This package provides an implementation of the standard diff algorithm,
2596and utilities for pretty printing.")
2597 (license license:bsd-3)))
2598
2599(define-public ghc-disk-free-space
2600 (package
2601 (name "ghc-disk-free-space")
2602 (version "0.1.0.1")
2603 (source
2604 (origin
2605 (method url-fetch)
2606 (uri (string-append "https://hackage.haskell.org/package/"
2607 "disk-free-space/disk-free-space-"
2608 version ".tar.gz"))
2609 (sha256
2610 (base32
2611 "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi"))))
2612 (build-system haskell-build-system)
2613 (home-page "https://github.com/redneb/disk-free-space")
2614 (synopsis "Retrieve information about disk space usage")
2615 (description "A cross-platform library for retrieving information about
2616disk space usage.")
2617 (license license:bsd-3)))
2618
2619(define-public ghc-distributive
2620 (package
2621 (name "ghc-distributive")
2622 (version "0.5.3")
2623 (source
2624 (origin
2625 (method url-fetch)
2626 (uri (string-append
2627 "https://hackage.haskell.org/package/distributive/distributive-"
2628 version
2629 ".tar.gz"))
2630 (sha256
2631 (base32
2632 "0y566r97sfyvhsmd4yxiz4ns2mqgwf5bdbp56wgxl6wlkidq0wwi"))))
2633 (build-system haskell-build-system)
2634 (arguments
2635 `(#:cabal-revision
2636 ("6" "06bd38rf31yrvvy989r44pm0id3dsxwcp6nxg7wk6ccj3n2b8rzk")))
2637 (inputs
2638 `(("ghc-tagged" ,ghc-tagged)
2639 ("ghc-base-orphans" ,ghc-base-orphans)
2640 ("ghc-transformers-compat" ,ghc-transformers-compat)
2641 ("ghc-semigroups" ,ghc-semigroups)
2642 ("ghc-generic-deriving" ,ghc-generic-deriving)))
2643 (native-inputs
2644 `(("cabal-doctest" ,cabal-doctest)
2645 ("ghc-doctest" ,ghc-doctest)
2646 ("ghc-hspec" ,ghc-hspec)
2647 ("hspec-discover" ,hspec-discover)))
2648 (home-page "https://github.com/ekmett/distributive/")
2649 (synopsis "Distributive functors for Haskell")
2650 (description "This package provides distributive functors for Haskell.
2651Dual to @code{Traversable}.")
2652 (license license:bsd-3)))
2653
2654(define-public ghc-dlist
2655 (package
2656 (name "ghc-dlist")
197ddf33 2657 (version "0.8.0.7")
dddbc90c
RV
2658 (source
2659 (origin
2660 (method url-fetch)
2661 (uri (string-append
2662 "https://hackage.haskell.org/package/dlist/dlist-"
2663 version
2664 ".tar.gz"))
2665 (sha256
197ddf33 2666 (base32 "0b5spkzvj2kx8pk86xz0djkxs13j7dryf5fl16dk4mlp1wh6mh53"))))
dddbc90c
RV
2667 (build-system haskell-build-system)
2668 (inputs
2669 `(("ghc-quickcheck" ,ghc-quickcheck)))
2670 (home-page "https://github.com/spl/dlist")
2671 (synopsis "Difference lists")
2672 (description
2673 "Difference lists are a list-like type supporting O(1) append. This is
2674particularly useful for efficient logging and pretty printing (e.g. with the
2675Writer monad), where list append quickly becomes too expensive.")
2676 (license license:bsd-3)))
2677
2678(define-public ghc-doctemplates
2679 (package
2680 (name "ghc-doctemplates")
2681 (version "0.2.2.1")
2682 (source
2683 (origin
2684 (method url-fetch)
2685 (uri (string-append "https://hackage.haskell.org/package/"
2686 "doctemplates/doctemplates-"
2687 version ".tar.gz"))
2688 (sha256
2689 (base32
2690 "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b"))))
2691 (build-system haskell-build-system)
2692 (inputs
2693 `(("ghc-aeson" ,ghc-aeson)
2694 ("ghc-blaze-markup" ,ghc-blaze-markup)
2695 ("ghc-blaze-html" ,ghc-blaze-html)
2696 ("ghc-vector" ,ghc-vector)
2697 ("ghc-unordered-containers" ,ghc-unordered-containers)
2698 ("ghc-scientific" ,ghc-scientific)))
2699 (native-inputs
2700 `(("ghc-hspec" ,ghc-hspec)))
2701 (home-page "https://github.com/jgm/doctemplates#readme")
2702 (synopsis "Pandoc-style document templates")
2703 (description
2704 "This package provides a simple text templating system used by pandoc.")
2705 (license license:bsd-3)))
2706
2707(define-public ghc-doctest
2708 (package
2709 (name "ghc-doctest")
2710 (version "0.16.0")
2711 (source
2712 (origin
2713 (method url-fetch)
2714 (uri (string-append
2715 "https://hackage.haskell.org/package/doctest/doctest-"
2716 version
2717 ".tar.gz"))
2718 (sha256
2719 (base32
2720 "0hkccch65s3kp0b36h7bqhilnpi4bx8kngncm7ma9vbd3dwacjdv"))))
2721 (build-system haskell-build-system)
2722 (arguments `(#:tests? #f)) ; FIXME: missing test framework
2723 (inputs
2724 `(("ghc-syb" ,ghc-syb)
2725 ("ghc-paths" ,ghc-paths)
2726 ("ghc-base-compat" ,ghc-base-compat)
2727 ("ghc-code-page" ,ghc-code-page)
2728 ("ghc-hunit" ,ghc-hunit)
2729 ("ghc-hspec" ,ghc-hspec)
2730 ("ghc-quickcheck" ,ghc-quickcheck)
2731 ("ghc-stringbuilder" ,ghc-stringbuilder)
2732 ("ghc-silently" ,ghc-silently)
2733 ("ghc-setenv" ,ghc-setenv)))
2734 (home-page
2735 "https://github.com/sol/doctest#readme")
2736 (synopsis "Test interactive Haskell examples")
2737 (description "The doctest program checks examples in source code comments.
2738It is modeled after doctest for Python, see
2739@uref{https://docs.python.org/library/doctest.html, the Doctest website}.")
2740 (license license:expat)))
2741
2742(define-public ghc-double-conversion
2743 (package
2744 (name "ghc-double-conversion")
2745 (version "2.0.2.0")
2746 (source
2747 (origin
2748 (method url-fetch)
2749 (uri (string-append "https://hackage.haskell.org/package/"
2750 "double-conversion/double-conversion-"
2751 version ".tar.gz"))
2752 (sha256
2753 (base32
2754 "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4"))))
2755 (build-system haskell-build-system)
2756 (native-inputs
2757 `(("ghc-hunit" ,ghc-hunit)
2758 ("ghc-test-framework" ,ghc-test-framework)
2759 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
2760 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2761 (home-page "https://github.com/bos/double-conversion")
2762 (synopsis "Fast conversion between double precision floating point and text")
2763 (description
2764 "This package provides a library that performs fast, accurate conversion
2765between double precision floating point and text.")
2766 (license license:bsd-3)))
2767
2768(define-public ghc-easy-file
2769 (package
2770 (name "ghc-easy-file")
2771 (version "0.2.2")
2772 (source
2773 (origin
2774 (method url-fetch)
2775 (uri (string-append
2776 "https://hackage.haskell.org/package/easy-file/easy-file-"
2777 version
2778 ".tar.gz"))
2779 (sha256
2780 (base32
2781 "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj"))))
2782 (build-system haskell-build-system)
2783 (home-page
2784 "https://github.com/kazu-yamamoto/easy-file")
2785 (synopsis "File handling library for Haskell")
2786 (description "This library provides file handling utilities for Haskell.")
2787 (license license:bsd-3)))
2788
2789(define-public ghc-easyplot
2790 (package
2791 (name "ghc-easyplot")
2792 (version "1.0")
2793 (source
2794 (origin
2795 (method url-fetch)
2796 (uri (string-append
2797 "https://hackage.haskell.org/package/easyplot/easyplot-"
2798 version ".tar.gz"))
2799 (sha256
2800 (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk"))))
2801 (build-system haskell-build-system)
2802 (propagated-inputs `(("gnuplot" ,gnuplot)))
2803 (arguments
2804 `(#:phases (modify-phases %standard-phases
2805 (add-after 'unpack 'fix-setup-suffix
2806 (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t)))))
2807 (home-page "https://hub.darcs.net/scravy/easyplot")
2808 (synopsis "Haskell plotting library based on gnuplot")
2809 (description "This package provides a plotting library for
2810Haskell, using gnuplot for rendering.")
2811 (license license:expat)))
2812
2813(define-public ghc-echo
2814 (package
2815 (name "ghc-echo")
2816 (version "0.1.3")
2817 (source
2818 (origin
2819 (method url-fetch)
2820 (uri (string-append
2821 "https://hackage.haskell.org/package/echo/echo-"
2822 version ".tar.gz"))
2823 (sha256
2824 (base32
2825 "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh"))))
2826 (build-system haskell-build-system)
2827 (arguments
2828 `(#:cabal-revision
2829 ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l")))
2830 (home-page "https://github.com/RyanGlScott/echo")
2831 (synopsis "Echo terminal input portably")
2832 (description "The @code{base} library exposes the @code{hGetEcho} and
2833@code{hSetEcho} functions for querying and setting echo status, but
2834unfortunately, neither function works with MinTTY consoles on Windows.
2835This library provides an alternative interface which works with both
2836MinTTY and other consoles.")
2837 (license license:bsd-3)))
2838
2839(define-public ghc-edisonapi
2840 (package
2841 (name "ghc-edisonapi")
2842 (version "1.3.1")
2843 (source
2844 (origin
2845 (method url-fetch)
2846 (uri (string-append "https://hackage.haskell.org/package/EdisonAPI"
2847 "/EdisonAPI-" version ".tar.gz"))
2848 (sha256
2849 (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm"))))
2850 (build-system haskell-build-system)
2851 (home-page "http://rwd.rdockins.name/edison/home/")
2852 (synopsis "Library of efficient, purely-functional data structures (API)")
2853 (description
2854 "Edison is a library of purely functional data structures written by
2855Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic
2856value EDiSon (Efficient Data Structures). Edison provides several families of
2857abstractions, each with multiple implementations. The main abstractions
2858provided by Edison are: Sequences such as stacks, queues, and dequeues;
2859Collections such as sets, bags and heaps; and Associative Collections such as
2860finite maps and priority queues where the priority and element are distinct.")
2861 (license license:expat)))
2862
2863(define-public ghc-edisoncore
2864 (package
2865 (name "ghc-edisoncore")
2866 (version "1.3.2.1")
2867 (source
2868 (origin
2869 (method url-fetch)
2870 (uri (string-append "https://hackage.haskell.org/package/EdisonCore"
2871 "/EdisonCore-" version ".tar.gz"))
2872 (sha256
2873 (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk"))))
2874 (build-system haskell-build-system)
2875 (inputs
2876 `(("ghc-quickcheck" ,ghc-quickcheck)
2877 ("ghc-edisonapi" ,ghc-edisonapi)))
2878 (home-page "http://rwd.rdockins.name/edison/home/")
2879 (synopsis "Library of efficient, purely-functional data structures")
2880 (description
2881 "This package provides the core Edison data structure implementations,
2882including multiple sequence, set, bag, and finite map concrete implementations
2883with various performance characteristics.")
2884 (license license:expat)))
2885
2886(define-public ghc-edit-distance
2887 (package
2888 (name "ghc-edit-distance")
2889 (version "0.2.2.1")
2890 (source
2891 (origin
2892 (method url-fetch)
2893 (uri (string-append "https://hackage.haskell.org/package/edit-distance"
2894 "/edit-distance-" version ".tar.gz"))
2895 (sha256
2896 (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
2897 (build-system haskell-build-system)
2898 (arguments
2899 `(#:phases
2900 (modify-phases %standard-phases
2901 (add-before 'configure 'update-constraints
2902 (lambda _
2903 (substitute* "edit-distance.cabal"
2904 (("QuickCheck >= 2\\.4 && <2\\.9")
2905 "QuickCheck >= 2.4 && < 2.12")))))))
2906 (inputs
2907 `(("ghc-random" ,ghc-random)
2908 ("ghc-test-framework" ,ghc-test-framework)
2909 ("ghc-quickcheck" ,ghc-quickcheck)
2910 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2911 (home-page "https://github.com/phadej/edit-distance")
2912 (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
2913 (description
2914 "This package provides optimized functions to determine the edit
2915distances for fuzzy matching, including Levenshtein and restricted
2916Damerau-Levenshtein algorithms.")
2917 (license license:bsd-3)))
2918
2919(define-public ghc-either
2920 (package
2921 (name "ghc-either")
2922 (version "5.0.1")
2923 (source
2924 (origin
2925 (method url-fetch)
2926 (uri (string-append "https://hackage.haskell.org/package/"
2927 "either-" version "/"
2928 "either-" version ".tar.gz"))
2929 (sha256
2930 (base32
2931 "064hjfld7dkzs78sy30k5qkiva3hx24rax6dvzz5ygr2c0zypdkc"))))
2932 (build-system haskell-build-system)
2933 (inputs `(("ghc-bifunctors" ,ghc-bifunctors)
2934 ("ghc-exceptions" ,ghc-exceptions)
2935 ("ghc-free" ,ghc-free)
2936 ("ghc-monad-control" ,ghc-monad-control)
2937 ("ghc-manodrandom" ,ghc-monadrandom)
2938 ("ghc-mmorph" ,ghc-mmorph)
2939 ("ghc-profunctors" ,ghc-profunctors)
2940 ("ghc-semigroups" ,ghc-semigroups)
2941 ("ghc-semigroupoids" ,ghc-semigroupoids)
2942 ("ghc-transformers-base" ,ghc-transformers-base)))
2943 (native-inputs
2944 `(("ghc-quickcheck" ,ghc-quickcheck)
2945 ("ghc-test-framework" ,ghc-test-framework)
2946 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
2947 (home-page "https://github.com/ekmett/either")
2948 (synopsis "Provides an either monad transformer for Haskell")
2949 (description "This Haskell package provides an either monad transformer.")
2950 (license license:bsd-3)))
2951
2952(define-public ghc-email-validate
2953 (package
2954 (name "ghc-email-validate")
2955 (version "2.3.2.6")
2956 (source
2957 (origin
2958 (method url-fetch)
2959 (uri (string-append
2960 "https://hackage.haskell.org/package/"
2961 "email-validate/email-validate-"
2962 version
2963 ".tar.gz"))
2964 (sha256
2965 (base32
2966 "0chgylvc8xmhp933rdbmpg5sv4y7yg2h6kbf0ip1dzmbd5p55pa5"))))
2967 (build-system haskell-build-system)
2968 (inputs
2969 `(("ghc-attoparsec" ,ghc-attoparsec)
2970 ("ghc-hspec" ,ghc-hspec)
2971 ("ghc-quickcheck" ,ghc-quickcheck)
2972 ("ghc-doctest" ,ghc-doctest)))
2973 (home-page
2974 "https://github.com/Porges/email-validate-hs")
2975 (synopsis "Email address validator for Haskell")
2976 (description
2977 "This Haskell package provides a validator that can validate an email
2978address string against RFC 5322.")
2979 (license license:bsd-3)))
2980
2981(define-public ghc-enclosed-exceptions
2982 (package
2983 (name "ghc-enclosed-exceptions")
2984 (version "1.0.3")
2985 (source (origin
2986 (method url-fetch)
2987 (uri (string-append "https://hackage.haskell.org/package/"
2988 "enclosed-exceptions/enclosed-exceptions-"
2989 version ".tar.gz"))
2990 (sha256
2991 (base32
2992 "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg"))))
2993 (build-system haskell-build-system)
2994 ;; FIXME: one of the tests blocks forever:
2995 ;; "thread blocked indefinitely in an MVar operation"
2996 (arguments '(#:tests? #f))
2997 (inputs
2998 `(("ghc-lifted-base" ,ghc-lifted-base)
2999 ("ghc-monad-control" ,ghc-monad-control)
3000 ("ghc-async" ,ghc-async)
3001 ("ghc-transformers-base" ,ghc-transformers-base)))
3002 (native-inputs
3003 `(("ghc-hspec" ,ghc-hspec)
3004 ("ghc-quickcheck" ,ghc-quickcheck)))
3005 (home-page "https://github.com/jcristovao/enclosed-exceptions")
3006 (synopsis "Catch all exceptions from within an enclosed computation")
3007 (description
3008 "This library implements a technique to catch all exceptions raised
3009within an enclosed computation, while remaining responsive to (external)
3010asynchronous exceptions.")
3011 (license license:expat)))
3012
3013(define-public ghc-equivalence
3014 (package
3015 (name "ghc-equivalence")
3016 (version "0.3.2")
3017 (source
3018 (origin
3019 (method url-fetch)
3020 (uri (string-append "https://hackage.haskell.org/package/equivalence"
3021 "/equivalence-" version ".tar.gz"))
3022 (sha256
3023 (base32 "0a85bdyyvjqs5z4kfhhf758210k9gi9dv42ik66a3jl0z7aix8kx"))))
3024 (build-system haskell-build-system)
3025 (inputs
3026 `(("ghc-stmonadtrans" ,ghc-stmonadtrans)
3027 ("ghc-transformers-compat" ,ghc-transformers-compat)
3028 ("ghc-quickcheck" ,ghc-quickcheck)
3029 ("ghc-test-framework" ,ghc-test-framework)
3030 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3031 (home-page "https://github.com/pa-ba/equivalence")
3032 (synopsis "Maintaining an equivalence relation implemented as union-find")
3033 (description
3034 "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@:
3035Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM
303622(2), 1975) in order to maintain an equivalence relation. This
3037implementation is a port of the @code{union-find} package using the @code{ST}
3038monad transformer (instead of the IO monad).")
3039 (license license:bsd-3)))
3040
3041(define-public ghc-erf
3042 (package
3043 (name "ghc-erf")
3044 (version "2.0.0.0")
3045 (source
3046 (origin
3047 (method url-fetch)
3048 (uri (string-append "https://hackage.haskell.org/package/"
3049 "erf-" version "/"
3050 "erf-" version ".tar.gz"))
3051 (sha256
3052 (base32
3053 "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14"))))
3054 (build-system haskell-build-system)
3055 (home-page "https://hackage.haskell.org/package/erf")
3056 (synopsis "The error function, erf, and related functions for Haskell")
3057 (description "This Haskell library provides a type class for the
3058error function, erf, and related functions. Instances for Float and
3059Double.")
3060 (license license:bsd-3)))
3061
3062(define-public ghc-errorcall-eq-instance
3063 (package
3064 (name "ghc-errorcall-eq-instance")
3065 (version "0.3.0")
3066 (source
3067 (origin
3068 (method url-fetch)
3069 (uri (string-append "https://hackage.haskell.org/package/"
3070 "errorcall-eq-instance/errorcall-eq-instance-"
3071 version ".tar.gz"))
3072 (sha256
3073 (base32
3074 "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm"))))
3075 (build-system haskell-build-system)
3076 (inputs
3077 `(("ghc-base-orphans" ,ghc-base-orphans)))
3078 (native-inputs
3079 `(("ghc-quickcheck" ,ghc-quickcheck)
3080 ("ghc-hspec" ,ghc-hspec)
3081 ("hspec-discover" ,hspec-discover)))
3082 (home-page "http://hackage.haskell.org/package/errorcall-eq-instance")
3083 (synopsis "Orphan Eq instance for ErrorCall")
3084 (description
3085 "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}.
3086This package provides an orphan instance.")
3087 (license license:expat)))
3088
3089(define-public ghc-errors
3090 (package
3091 (name "ghc-errors")
3092 (version "2.3.0")
3093 (source
3094 (origin
3095 (method url-fetch)
3096 (uri (string-append "https://hackage.haskell.org/package/"
3097 "errors-" version "/"
3098 "errors-" version ".tar.gz"))
3099 (sha256
3100 (base32
3101 "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7"))))
3102 (build-system haskell-build-system)
3103 (inputs
3104 `(("ghc-exceptions" ,ghc-exceptions)
3105 ("ghc-transformers-compat" ,ghc-transformers-compat)
3106 ("ghc-unexceptionalio" ,ghc-unexceptionalio)
3107 ("ghc-safe" ,ghc-safe)))
3108 (home-page "https://github.com/gabriel439/haskell-errors-library")
3109 (synopsis "Error handling library for Haskell")
3110 (description "This library encourages an error-handling style that
3111directly uses the type system, rather than out-of-band exceptions.")
3112 (license license:bsd-3)))
3113
3114(define-public ghc-esqueleto
3115 (let ((version "2.5.3")
3116 (revision "1")
3117 (commit "b81e0d951e510ebffca03c5a58658ad884cc6fbd"))
3118 (package
3119 (name "ghc-esqueleto")
3120 (version (git-version version revision commit))
3121 (source
3122 (origin
3123 (method git-fetch)
3124 (uri (git-reference
3125 (url "https://github.com/bitemyapp/esqueleto")
3126 (commit commit)))
3127 (file-name (git-file-name name version))
3128 (sha256
3129 (base32
3130 "0lz1qxms7cfg5p3j37inlych0r2fwhm8xbarcys3df9m7jy9nixa"))))
3131 (build-system haskell-build-system)
3132 (arguments
3133 `(#:haddock? #f ; Haddock reports an internal error.
3134 #:phases
3135 (modify-phases %standard-phases
3136 ;; This package normally runs tests for the MySQL, PostgreSQL, and
3137 ;; SQLite backends. Since we only have Haskell packages for
3138 ;; SQLite, we remove the other two test suites. FIXME: Add the
3139 ;; other backends and run all three test suites.
3140 (add-before 'configure 'remove-non-sqlite-test-suites
3141 (lambda _
3142 (use-modules (ice-9 rdelim))
3143 (with-atomic-file-replacement "esqueleto.cabal"
3144 (lambda (in out)
3145 (let loop ((line (read-line in 'concat)) (deleting? #f))
3146 (cond
3147 ((eof-object? line) #t)
3148 ((string-every char-set:whitespace line)
3149 (unless deleting? (display line out))
3150 (loop (read-line in 'concat) #f))
3151 ((member line '("test-suite mysql\n"
3152 "test-suite postgresql\n"))
3153 (loop (read-line in 'concat) #t))
3154 (else
3155 (unless deleting? (display line out))
3156 (loop (read-line in 'concat) deleting?)))))))))))
3157 (inputs
3158 `(("ghc-blaze-html" ,ghc-blaze-html)
3159 ("ghc-conduit" ,ghc-conduit)
3160 ("ghc-monad-logger" ,ghc-monad-logger)
3161 ("ghc-persistent" ,ghc-persistent)
3162 ("ghc-resourcet" ,ghc-resourcet)
3163 ("ghc-tagged" ,ghc-tagged)
3164 ("ghc-unliftio" ,ghc-unliftio)
3165 ("ghc-unordered-containers" ,ghc-unordered-containers)))
3166 (native-inputs
3167 `(("ghc-hspec" ,ghc-hspec)
3168 ("ghc-persistent-sqlite" ,ghc-persistent-sqlite)
3169 ("ghc-persistent-template" ,ghc-persistent-template)))
3170 (home-page "https://github.com/bitemyapp/esqueleto")
3171 (synopsis "Type-safe embedded domain specific language for SQL queries")
3172 (description "This library provides a type-safe embedded domain specific
3173language (EDSL) for SQL queries that works with SQL backends as provided by
3174@code{ghc-persistent}. Its language closely resembles SQL, so you don't have
3175to learn new concepts, just new syntax, and it's fairly easy to predict the
3176generated SQL and optimize it for your backend.")
3177 (license license:bsd-3))))
3178
3179(define-public ghc-exactprint
3180 (package
3181 (name "ghc-exactprint")
3182 (version "0.5.6.1")
3183 (source
3184 (origin
3185 (method url-fetch)
3186 (uri (string-append
3187 "https://hackage.haskell.org/package/"
3188 "ghc-exactprint/ghc-exactprint-" version ".tar.gz"))
3189 (sha256
3190 (base32
3191 "141k6qiys0m0r4br7ikp4i546vs3xcil9cwglzcdfcbnb5nj1z87"))))
3192 (build-system haskell-build-system)
3193 (inputs
3194 `(("ghc-paths" ,ghc-paths)
3195 ("ghc-syb" ,ghc-syb)
3196 ("ghc-free" ,ghc-free)))
3197 (native-inputs
3198 `(("ghc-hunit" ,ghc-hunit)
3199 ("ghc-diff" ,ghc-diff)
3200 ("ghc-silently" ,ghc-silently)
3201 ("ghc-filemanip" ,ghc-filemanip)))
3202 (home-page
3203 "http://hackage.haskell.org/package/ghc-exactprint")
3204 (synopsis "ExactPrint for GHC")
3205 (description
3206 "Using the API Annotations available from GHC 7.10.2, this library
3207provides a means to round-trip any code that can be compiled by GHC, currently
3208excluding @file{.lhs} files.")
3209 (license license:bsd-3)))
3210
3211(define-public ghc-exceptions
3212 (package
3213 (name "ghc-exceptions")
3214 (version "0.10.0")
3215 (source
3216 (origin
3217 (method url-fetch)
3218 (uri (string-append
3219 "https://hackage.haskell.org/package/exceptions/exceptions-"
3220 version
3221 ".tar.gz"))
3222 (sha256
3223 (base32
3224 "1ms9zansv0pwzwdjncvx4kf18lnkjy2p61hvjhvxmjx5bqp93p8y"))))
3225 (build-system haskell-build-system)
3226 (native-inputs
3227 `(("ghc-quickcheck" ,ghc-quickcheck)
3228 ("ghc-test-framework" ,ghc-test-framework)
3229 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3230 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3231 (inputs
3232 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
3233 (home-page "https://github.com/ekmett/exceptions/")
3234 (synopsis "Extensible optionally-pure exceptions")
3235 (description "This library provides extensible optionally-pure exceptions
3236for Haskell.")
3237 (license license:bsd-3)))
3238
3239(define-public ghc-executable-path
3240 (package
3241 (name "ghc-executable-path")
3242 (version "0.0.3.1")
3243 (source (origin
3244 (method url-fetch)
3245 (uri (string-append "https://hackage.haskell.org/package/"
3246 "executable-path/executable-path-"
3247 version ".tar.gz"))
3248 (sha256
3249 (base32
3250 "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww"))))
3251 (build-system haskell-build-system)
3252 (home-page "https://hackage.haskell.org/package/executable-path")
3253 (synopsis "Find out the full path of the executable")
3254 (description
3255 "The documentation of @code{System.Environment.getProgName} says that
3256\"However, this is hard-to-impossible to implement on some non-Unix OSes, so
3257instead, for maximum portability, we just return the leafname of the program
3258as invoked.\" This library tries to provide the missing path.")
3259 (license license:public-domain)))
3260
3261(define-public ghc-extensible-exceptions
3262 (package
3263 (name "ghc-extensible-exceptions")
3264 (version "0.1.1.4")
3265 (source
3266 (origin
3267 (method url-fetch)
3268 (uri (string-append "https://hackage.haskell.org/package/"
3269 "extensible-exceptions/extensible-exceptions-"
3270 version ".tar.gz"))
3271 (sha256
3272 (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc"))))
3273 (build-system haskell-build-system)
3274 (home-page "https://hackage.haskell.org/package/extensible-exceptions")
3275 (synopsis "Extensible exceptions for Haskell")
3276 (description
3277 "This package provides extensible exceptions for both new and old
3278versions of GHC (i.e., < 6.10).")
3279 (license license:bsd-3)))
3280
3281(define-public ghc-extra
3282 (package
3283 (name "ghc-extra")
3284 (version "1.6.9")
3285 (source
3286 (origin
3287 (method url-fetch)
3288 (uri (string-append
3289 "https://hackage.haskell.org/package/extra/extra-"
3290 version
3291 ".tar.gz"))
3292 (sha256
3293 (base32
3294 "0xxcpb00pgwi9cmy6a7ghh6rblxry42p8pz5ssfgj20fs1xwzj1b"))))
3295 (build-system haskell-build-system)
3296 (inputs
3297 `(("ghc-clock" ,ghc-clock)
3298 ("ghc-quickcheck" ,ghc-quickcheck)))
3299 (home-page "https://github.com/ndmitchell/extra")
3300 (synopsis "Extra Haskell functions")
3301 (description "This library provides extra functions for the standard
3302Haskell libraries. Most functions are simple additions, filling out missing
3303functionality. A few functions are available in later versions of GHC, but
3304this package makes them available back to GHC 7.2.")
3305 (license license:bsd-3)))
3306
3307(define-public ghc-fail
3308 (package
3309 (name "ghc-fail")
3310 (version "4.9.0.0")
3311 (source
3312 (origin
3313 (method url-fetch)
3314 (uri (string-append "https://hackage.haskell.org/package/fail/fail-"
3315 version ".tar.gz"))
3316 (sha256
3317 (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d"))))
3318 (build-system haskell-build-system)
3319 (arguments `(#:haddock? #f)) ; Package contains no documentation.
3320 (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail")
3321 (synopsis "Forward-compatible MonadFail class")
3322 (description
3323 "This package contains the @code{Control.Monad.Fail} module providing the
3324@uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail}
3325class that became available in
3326@uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for
3327older @code{base} package versions. This package turns into an empty package
3328when used with GHC versions which already provide the
3329@code{Control.Monad.Fail} module.")
3330 (license license:bsd-3)))
3331
3332(define-public ghc-fast-logger
3333 (package
3334 (name "ghc-fast-logger")
3335 (version "2.4.11")
3336 (source
3337 (origin
3338 (method url-fetch)
3339 (uri (string-append
3340 "https://hackage.haskell.org/package/fast-logger/fast-logger-"
3341 version
3342 ".tar.gz"))
3343 (sha256
3344 (base32
3345 "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv"))))
3346 (build-system haskell-build-system)
3347 (inputs
3348 `(("ghc-auto-update" ,ghc-auto-update)
3349 ("ghc-easy-file" ,ghc-easy-file)
3350 ("ghc-unix-time" ,ghc-unix-time)))
3351 (native-inputs
3352 `(("hspec-discover" ,hspec-discover)
3353 ("ghc-hspec" ,ghc-hspec)))
3354 (home-page "https://hackage.haskell.org/package/fast-logger")
3355 (synopsis "Fast logging system")
3356 (description "This library provides a fast logging system for Haskell.")
3357 (license license:bsd-3)))
3358
3359(define-public ghc-feed
3360 (package
3361 (name "ghc-feed")
3362 (version "1.0.0.0")
3363 (source
3364 (origin
3365 (method url-fetch)
3366 (uri (string-append "https://hackage.haskell.org/package/"
3367 "feed/feed-" version ".tar.gz"))
3368 (sha256
3369 (base32
3370 "05rgg7x1984mgfhkmz792xj8lhwjgznixhygzr8blf517lns2nck"))))
3371 (build-system haskell-build-system)
3372 (arguments
3373 `(#:cabal-revision
3374 ("4" "0baavcavm3ywykcr9cm07aqr7sna98jba2n68lyn3kany8ri214d")))
3375 (inputs
3376 `(("ghc-base-compat" ,ghc-base-compat)
3377 ("ghc-old-locale" ,ghc-old-locale)
3378 ("ghc-old-time" ,ghc-old-time)
3379 ("ghc-safe" ,ghc-safe)
3380 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
3381 ("ghc-utf8-string" ,ghc-utf8-string)
3382 ("ghc-xml-conduit" ,ghc-xml-conduit)
3383 ("ghc-xml-types" ,ghc-xml-types)))
3384 (native-inputs
3385 `(("ghc-hunit" ,ghc-hunit)
3386 ("ghc-test-framework" ,ghc-test-framework)
3387 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
3388 (home-page "https://github.com/bergmark/feed")
3389 (synopsis "Haskell package for handling various syndication formats")
3390 (description "This Haskell package includes tools for generating and
3391consuming feeds in both RSS (Really Simple Syndication) and Atom format.")
3392 (license license:bsd-3)))
3393
3394(define-public ghc-fgl
3395 (package
3396 (name "ghc-fgl")
3397 (version "5.6.0.0")
3398 (outputs '("out" "doc"))
3399 (source
3400 (origin
3401 (method url-fetch)
3402 (uri (string-append
3403 "https://hackage.haskell.org/package/fgl/fgl-"
3404 version
3405 ".tar.gz"))
3406 (sha256
3407 (base32
3408 "1i6cp4b3w7sjk7y1dq3fh6bci2sm5h3lnbbaw9ln19nwncg2wwll"))))
3409 (build-system haskell-build-system)
3410 (arguments
3411 `(#:phases
3412 (modify-phases %standard-phases
3413 (add-before 'configure 'update-constraints
3414 (lambda _
3415 (substitute* "fgl.cabal"
3416 (("QuickCheck >= 2\\.8 && < 2\\.10")
3417 "QuickCheck >= 2.8 && < 2.12")
3418 (("hspec >= 2\\.1 && < 2\\.5")
3419 "hspec >= 2.1 && < 2.6")))))))
3420 (inputs
3421 `(("ghc-hspec" ,ghc-hspec)
3422 ("ghc-quickcheck" ,ghc-quickcheck)))
3423 (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell")
3424 (synopsis
3425 "Martin Erwig's Functional Graph Library")
3426 (description "The functional graph library, FGL, is a collection of type
3427and function definitions to address graph problems. The basis of the library
3428is an inductive definition of graphs in the style of algebraic data types that
3429encourages inductive, recursive definitions of graph algorithms.")
3430 (license license:bsd-3)))
3431
3432(define-public ghc-fgl-arbitrary
3433 (package
3434 (name "ghc-fgl-arbitrary")
3435 (version "0.2.0.3")
3436 (source
3437 (origin
3438 (method url-fetch)
3439 (uri (string-append
3440 "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-"
3441 version ".tar.gz"))
3442 (sha256
3443 (base32
3444 "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm"))))
3445 (build-system haskell-build-system)
3446 (arguments
3447 `(#:phases
3448 (modify-phases %standard-phases
3449 (add-before 'configure 'update-constraints
3450 (lambda _
3451 (substitute* "fgl-arbitrary.cabal"
3452 (("QuickCheck >= 2\\.3 && < 2\\.10")
3453 "QuickCheck >= 2.3 && < 2.12")
3454 (("hspec >= 2\\.1 && < 2\\.5")
3455 "hspec >= 2.1 && < 2.6")))))))
3456 (inputs
3457 `(("ghc-fgl" ,ghc-fgl)
3458 ("ghc-quickcheck" ,ghc-quickcheck)
3459 ("ghc-hspec" ,ghc-hspec)))
3460 (home-page "https://hackage.haskell.org/package/fgl-arbitrary")
3461 (synopsis "QuickCheck support for fgl")
3462 (description
3463 "Provides Arbitrary instances for fgl graphs to avoid adding a
3464QuickCheck dependency for fgl whilst still making the instances
3465available to others. Also available are non-fgl-specific functions
3466for generating graph-like data structures.")
3467 (license license:bsd-3)))
3468
3469(define-public ghc-file-embed
3470 (package
3471 (name "ghc-file-embed")
b5920d50 3472 (version "0.0.11")
dddbc90c
RV
3473 (source
3474 (origin
3475 (method url-fetch)
3476 (uri (string-append "https://hackage.haskell.org/package/file-embed/"
3477 "file-embed-" version ".tar.gz"))
3478 (sha256
3479 (base32
b5920d50 3480 "0l6dkwccbzzyx8rcav03lya2334dgi3vfwk96h7l93l0fc4x19gf"))))
dddbc90c
RV
3481 (build-system haskell-build-system)
3482 (home-page "https://github.com/snoyberg/file-embed")
3483 (synopsis "Use Template Haskell to embed file contents directly")
3484 (description
3485 "This package allows you to use Template Haskell to read a file or all
3486the files in a directory, and turn them into @code{(path, bytestring)} pairs
3487embedded in your Haskell code.")
3488 (license license:bsd-3)))
3489
3490(define-public ghc-filemanip
3491 (package
3492 (name "ghc-filemanip")
3493 (version "0.3.6.3")
3494 (source (origin
3495 (method url-fetch)
3496 (uri (string-append "https://hackage.haskell.org/package/"
3497 "filemanip/filemanip-" version ".tar.gz"))
3498 (sha256
3499 (base32
3500 "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8"))))
3501 (build-system haskell-build-system)
3502 (inputs
3503 `(("ghc-unix-compat" ,ghc-unix-compat)))
3504 (home-page "https://github.com/bos/filemanip")
3505 (synopsis "File and directory manipulation for Haskell")
3506 (description
3507 "This package provides a Haskell library for working with files and
3508directories. It includes code for pattern matching, finding files, modifying
3509file contents, and more.")
3510 (license license:bsd-3)))
3511
3512(define-public ghc-findbin
3513 (package
3514 (name "ghc-findbin")
3515 (version "0.0.5")
3516 (source
3517 (origin
3518 (method url-fetch)
3519 (uri (string-append
3520 "https://hackage.haskell.org/package/FindBin/FindBin-"
3521 version ".tar.gz"))
3522 (sha256
3523 (base32
3524 "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
3525 (build-system haskell-build-system)
3526 (home-page "https://github.com/audreyt/findbin")
3527 (synopsis "Get the absolute path of the running program")
3528 (description
3529 "This module locates the full directory of the running program, to allow
3530the use of paths relative to it. FindBin supports invocation of Haskell
3531programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
3532an executable.")
3533 (license license:bsd-3)))
3534
3535(define-public ghc-fingertree
3536 (package
3537 (name "ghc-fingertree")
aac14fdc 3538 (version "0.1.4.2")
dddbc90c
RV
3539 (source
3540 (origin
3541 (method url-fetch)
3542 (uri (string-append
3543 "https://hackage.haskell.org/package/fingertree/fingertree-"
3544 version ".tar.gz"))
3545 (sha256
3546 (base32
aac14fdc 3547 "0zvandj8fysck7ygpn0dw5bhrhmj1s63i326nalxbfkh2ls4iacm"))))
dddbc90c
RV
3548 (build-system haskell-build-system)
3549 (native-inputs
3550 `(("ghc-hunit" ,ghc-hunit)
3551 ("ghc-quickcheck" ,ghc-quickcheck)
3552 ("ghc-test-framework" ,ghc-test-framework)
3553 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3554 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3555 (home-page "https://hackage.haskell.org/package/fingertree")
3556 (synopsis "Generic finger-tree structure")
3557 (description "This library provides finger trees, a general sequence
3558representation with arbitrary annotations, for use as a base for
3559implementations of various collection types. It includes examples, as
3560described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a
3561simple general-purpose data structure\".")
3562 (license license:bsd-3)))
3563
3564(define-public ghc-fixed
3565 (package
3566 (name "ghc-fixed")
099dda5b 3567 (version "0.3")
dddbc90c
RV
3568 (source
3569 (origin
3570 (method url-fetch)
3571 (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-"
3572 version ".tar.gz"))
3573 (sha256
3574 (base32
099dda5b 3575 "10l2sh179xarb774q92cff2gkb20rsrlilfwp1fk61rzmz9yn64j"))))
dddbc90c
RV
3576 (build-system haskell-build-system)
3577 (home-page "https://github.com/ekmett/fixed")
3578 (synopsis "Signed 15.16 precision fixed point arithmetic")
3579 (description
3580 "This package provides functions for signed 15.16 precision fixed point
3581arithmetic.")
3582 (license license:bsd-3)))
3583
f169f713
JS
3584(define-public ghc-fmlist
3585 (package
3586 (name "ghc-fmlist")
fe9b83a6 3587 (version "0.9.3")
f169f713
JS
3588 (source
3589 (origin
3590 (method url-fetch)
3591 (uri
3592 (string-append
3593 "https://hackage.haskell.org/package/fmlist/fmlist-"
3594 version ".tar.gz"))
3595 (sha256
3596 (base32
fe9b83a6 3597 "1w9nhm2zybdx4c1lalkajwqr8wcs731lfjld2r8gknd7y96x8pwf"))))
f169f713
JS
3598 (build-system haskell-build-system)
3599 (home-page "https://github.com/sjoerdvisscher/fmlist")
3600 (synopsis "FoldMap lists")
3601 (description "FoldMap lists are lists represented by their
3602@code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and
3603append, just like DLists, but other operations might have favorable
3604performance characteristics as well. These wild claims are still
3605completely unverified though.")
3606 (license license:bsd-3)))
3607
dddbc90c
RV
3608(define-public ghc-foldl
3609 (package
3610 (name "ghc-foldl")
3611 (version "1.4.3")
3612 (source
3613 (origin
3614 (method url-fetch)
3615 (uri (string-append "https://hackage.haskell.org/package/"
3616 "foldl-" version "/"
3617 "foldl-" version ".tar.gz"))
3618 (sha256
3619 (base32
3620 "13n0ca3hw5jzqf6rxsdbhbwkn61a9zlm13f0f205s60j3sc72jzk"))))
3621 (build-system haskell-build-system)
3622 (inputs `(("ghc-mwc-randam" ,ghc-mwc-random)
3623 ("ghc-primitive" ,ghc-primitive)
3624 ("ghc-vector" ,ghc-vector)
3625 ("ghc-unordered-containers" ,ghc-unordered-containers)
3626 ("ghc-hashable" ,ghc-hashable)
3627 ("ghc-contravariant" ,ghc-contravariant)
3628 ("ghc-semigroups" ,ghc-semigroups)
3629 ("ghc-profunctors" ,ghc-profunctors)
3630 ("ghc-semigroupoids" ,ghc-semigroupoids)
3631 ("ghc-comonad" ,ghc-comonad)
3632 ("ghc-vector-builder" ,ghc-vector-builder)))
3633 (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library")
3634 (synopsis "Composable, streaming, and efficient left folds for Haskell")
3635 (description "This Haskell library provides strict left folds that stream
3636in constant memory, and you can combine folds using @code{Applicative} style
3637to derive new folds. Derived folds still traverse the container just once
3638and are often as efficient as hand-written folds.")
3639 (license license:bsd-3)))
3640
3641(define-public ghc-foundation
3642 (package
3643 (name "ghc-foundation")
0a702df9 3644 (version "0.0.25")
dddbc90c
RV
3645 (source
3646 (origin
3647 (method url-fetch)
3648 (uri (string-append "https://hackage.haskell.org/package/"
3649 "foundation/foundation-" version ".tar.gz"))
3650 (sha256
3651 (base32
0a702df9 3652 "0q6kx57ygmznlpf8n499hid4x6mj3180paijx0a8dgi9hh7man61"))))
dddbc90c
RV
3653 (build-system haskell-build-system)
3654 (inputs `(("ghc-basement" ,ghc-basement)))
3655 (home-page "https://github.com/haskell-foundation/foundation")
3656 (synopsis "Alternative prelude with batteries and no dependencies")
3657 (description
3658 "This package provides a custom prelude with no dependencies apart from
3659the base package.
3660
3661Foundation has the following goals:
3662
3663@enumerate
3664@item provide a base like sets of modules that provide a consistent set of
3665 features and bugfixes across multiple versions of GHC (unlike base).
3666@item provide a better and more efficient prelude than base's prelude.
3667@item be self-sufficient: no external dependencies apart from base;
3668@item provide better data-types: packed unicode string by default, arrays;
3669@item Numerical classes that better represent mathematical things (no more
3670 all-in-one @code{Num});
3671@item I/O system with less lazy IO.
3672@end enumerate\n")
3673 (license license:bsd-3)))
3674
3675(define-public ghc-free
3676 (package
3677 (name "ghc-free")
3678 (version "5.0.2")
3679 (source
3680 (origin
3681 (method url-fetch)
3682 (uri (string-append
3683 "https://hackage.haskell.org/package/free/free-"
3684 version
3685 ".tar.gz"))
3686 (sha256
3687 (base32
3688 "15m3n9vhz7z3kzv1w3wlfa3x8jp4cbrkwmrcjr7jlx39iqffn1gg"))))
3689 (build-system haskell-build-system)
3690 (inputs
3691 `(("ghc-prelude-extras" ,ghc-prelude-extras)
3692 ("ghc-profunctors" ,ghc-profunctors)
3693 ("ghc-exceptions" ,ghc-exceptions)
3694 ("ghc-bifunctors" ,ghc-bifunctors)
3695 ("ghc-comonad" ,ghc-comonad)
3696 ("ghc-distributive" ,ghc-distributive)
3697 ("ghc-semigroupoids" ,ghc-semigroupoids)
3698 ("ghc-semigroups" ,ghc-semigroups)
3699 ("ghc-transformers-base" ,ghc-transformers-base)
3700 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3701 (home-page "https://github.com/ekmett/free/")
3702 (synopsis "Unrestricted monads for Haskell")
3703 (description "This library provides free monads, which are useful for many
3704tree-like structures and domain specific languages. If @code{f} is a
3705@code{Functor} then the free @code{Monad} on @code{f} is the type of trees
3706whose nodes are labeled with the constructors of @code{f}. The word \"free\"
3707is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free
3708f} makes no constraining assumptions beyond those given by @code{f} and the
3709definition of @code{Monad}.")
3710 (license license:bsd-3)))
3711
3712(define-public ghc-fsnotify
3713 (package
3714 (name "ghc-fsnotify")
3715 (version "0.3.0.1")
3716 (source (origin
3717 (method url-fetch)
3718 (uri (string-append
3719 "https://hackage.haskell.org/package/fsnotify/"
3720 "fsnotify-" version ".tar.gz"))
3721 (sha256
3722 (base32
3723 "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny"))))
3724 (build-system haskell-build-system)
3725 (inputs
3726 `(("ghc-async" ,ghc-async)
3727 ("ghc-unix-compat" ,ghc-unix-compat)
3728 ("ghc-hinotify" ,ghc-hinotify)
3729 ("ghc-tasty" ,ghc-tasty)
3730 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
3731 ("ghc-random" ,ghc-random)
3732 ("ghc-shelly" ,ghc-shelly)
3733 ("ghc-temporary" ,ghc-temporary)))
3734 (home-page "https://github.com/haskell-fswatch/hfsnotify")
3735 (synopsis "Cross platform library for file change notification.")
3736 (description "Cross platform library for file creation, modification, and
3737deletion notification. This library builds upon existing libraries for platform
3738specific Windows, Mac, and Linux file system event notification.")
3739 (license license:bsd-3)))
3740
3741(define-public ghc-generic-deriving
3742 (package
3743 (name "ghc-generic-deriving")
3744 (version "1.12.2")
3745 (source
3746 (origin
3747 (method url-fetch)
3748 (uri (string-append
3749 "https://hackage.haskell.org/package/generic-deriving/generic-deriving-"
3750 version
3751 ".tar.gz"))
3752 (sha256
3753 (base32
3754 "1i7d6cpj9yhaqb79zays3nqchhaacacjz9bkc0zlwj73y5gvi22n"))))
3755 (build-system haskell-build-system)
3756 (inputs
3757 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
3758 (native-inputs
3759 `(("ghc-hspec" ,ghc-hspec)
3760 ("hspec-discover" ,hspec-discover)))
3761 (home-page "https://hackage.haskell.org/package/generic-deriving")
3762 (synopsis "Generalise the deriving mechanism to arbitrary classes")
3763 (description "This package provides functionality for generalising the
3764deriving mechanism in Haskell to arbitrary classes.")
3765 (license license:bsd-3)))
3766
3767(define-public ghc-generics-sop
3768 (package
3769 (name "ghc-generics-sop")
3ed40e10 3770 (version "0.4.0.1")
dddbc90c
RV
3771 (source
3772 (origin
3773 (method url-fetch)
3774 (uri (string-append "https://hackage.haskell.org/package/"
3775 "generics-sop-" version "/"
3776 "generics-sop-" version ".tar.gz"))
3777 (sha256
3778 (base32
3ed40e10 3779 "160knr2phnzh2gldfv954lz029jzc7y8kz5xpmbf4z3vb5ngm6fw"))))
dddbc90c 3780 (build-system haskell-build-system)
3ed40e10
TS
3781 (inputs
3782 `(("ghc-sop-core" ,ghc-sop-core)
3783 ("ghc-transformers-compat" ,ghc-transformers-compat)))
dddbc90c
RV
3784 (home-page "https://github.com/well-typed/generics-sop")
3785 (synopsis "Generic Programming using True Sums of Products for Haskell")
3786 (description "This Haskell package supports the definition of generic
3787functions. Datatypes are viewed in a uniform, structured way: the choice
3788between constructors is represented using an n-ary sum, and the arguments of
3789each constructor are represented using an n-ary product.")
3790 (license license:bsd-3)))
3791
3792(define-public ghc-geniplate-mirror
3793 (package
3794 (name "ghc-geniplate-mirror")
3795 (version "0.7.6")
3796 (source
3797 (origin
3798 (method url-fetch)
3799 (uri (string-append "https://hackage.haskell.org/package"
3800 "/geniplate-mirror"
3801 "/geniplate-mirror-" version ".tar.gz"))
3802 (sha256
3803 (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb"))))
3804 (build-system haskell-build-system)
3805 (home-page "https://github.com/danr/geniplate")
3806 (synopsis "Use Template Haskell to generate Uniplate-like functions")
3807 (description
3808 "Use Template Haskell to generate Uniplate-like functions. This is a
3809maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate,
3810geniplate} package, written by Lennart Augustsson.")
3811 (license license:bsd-3)))
3812
3813(define-public ghc-genvalidity
3814 (package
3815 (name "ghc-genvalidity")
3816 (version "0.5.1.0")
3817 (source
3818 (origin
3819 (method url-fetch)
3820 (uri (string-append
3821 "https://hackage.haskell.org/package/genvalidity/genvalidity-"
3822 version
3823 ".tar.gz"))
3824 (sha256
3825 (base32
3826 "17ykq38j9a2lzir6dqz5jgy6ndaafrpkhqhcg96c5ppg7wcxaaj0"))))
3827 (build-system haskell-build-system)
3828 (inputs
3829 `(("ghc-quickcheck" ,ghc-quickcheck)
3830 ("ghc-validity" ,ghc-validity)))
3831 (native-inputs
3832 `(("ghc-hspec" ,ghc-hspec)
3833 ("hspec-discover" ,hspec-discover)
3834 ("ghc-hspec-core" ,ghc-hspec-core)))
3835 (home-page
3836 "https://github.com/NorfairKing/validity")
3837 (synopsis
3838 "Testing utilities for the @code{validity} library")
3839 (description
3840 "This package provides testing utilities that are useful in conjunction
3841with the @code{Validity} typeclass.")
3842 (license license:expat)))
3843
3844(define-public ghc-genvalidity-property
3845 (package
3846 (name "ghc-genvalidity-property")
3847 (version "0.2.1.1")
3848 (source
3849 (origin
3850 (method url-fetch)
3851 (uri (string-append
3852 "https://hackage.haskell.org/package/"
3853 "genvalidity-property/genvalidity-property-"
3854 version
3855 ".tar.gz"))
3856 (sha256
3857 (base32
3858 "0cjw5i2pydidda9bnp6x37ylhxdk9g874x5sadr6sscg5kq85a1b"))))
3859 (build-system haskell-build-system)
3860 (inputs
3861 `(("ghc-quickcheck" ,ghc-quickcheck)
3862 ("ghc-genvalidity" ,ghc-genvalidity)
3863 ("ghc-hspec" ,ghc-hspec)
3864 ("hspec-discover" ,hspec-discover)
3865 ("ghc-validity" ,ghc-validity)))
3866 (native-inputs `(("ghc-doctest" ,ghc-doctest)))
3867 (home-page
3868 "https://github.com/NorfairKing/validity")
3869 (synopsis
3870 "Standard properties for functions on @code{Validity} types")
3871 (description
3872 "This package supplements the @code{Validity} typeclass with standard
3873properties for functions operating on them.")
3874 (license license:expat)))
3875
3876(define-public ghc-gitrev
3877 (package
3878 (name "ghc-gitrev")
3879 (version "1.3.1")
3880 (source
3881 (origin
3882 (method url-fetch)
3883 (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-"
3884 version ".tar.gz"))
3885 (sha256
3886 (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8"))))
3887 (build-system haskell-build-system)
3888 (inputs `(("ghc-base-compat" ,ghc-base-compat)))
3889 (home-page "https://github.com/acfoltzer/gitrev")
3890 (synopsis "Compile git revision info into Haskell projects")
3891 (description
3892 "This package provides some handy Template Haskell splices for including
3893the current git hash and branch in the code of your project. This is useful
3894for including in panic messages, @command{--version} output, or diagnostic
3895info for more informative bug reports.")
3896 (license license:bsd-3)))
3897
3898(define-public ghc-glob
3899 (package
3900 (name "ghc-glob")
3901 (version "0.9.2")
3902 (source
3903 (origin
3904 (method url-fetch)
3905 (uri (string-append "https://hackage.haskell.org/package/"
3906 "Glob-" version "/"
3907 "Glob-" version ".tar.gz"))
3908 (sha256
3909 (base32
3910 "1rbwcq9w9951qsnp13vqcm9r01yax2yh1wk8s4zxa3ckk9717iwg"))))
3911 (build-system haskell-build-system)
3912 (inputs
3913 `(("ghc-dlist" ,ghc-dlist)
3914 ("ghc-semigroups" ,ghc-semigroups)
3915 ("ghc-transformers-compat" ,ghc-transformers-compat)))
3916 (native-inputs
3917 `(("ghc-hunit" ,ghc-hunit)
3918 ("ghc-quickcheck" ,ghc-quickcheck)
3919 ("ghc-test-framework" ,ghc-test-framework)
3920 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
3921 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
3922 (home-page "http://iki.fi/matti.niemenmaa/glob/")
3923 (synopsis "Haskell library matching glob patterns against file paths")
3924 (description "This package provides a Haskell library for @dfn{globbing}:
3925matching patterns against file paths.")
3926 (license license:bsd-3)))
3927
3928(define-public ghc-gluraw
3929 (package
3930 (name "ghc-gluraw")
3931 (version "2.0.0.4")
3932 (source
3933 (origin
3934 (method url-fetch)
3935 (uri (string-append
3936 "https://hackage.haskell.org/package/GLURaw/GLURaw-"
3937 version
3938 ".tar.gz"))
3939 (sha256
3940 (base32
3941 "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq"))))
3942 (build-system haskell-build-system)
3943 (inputs
3944 `(("ghc-openglraw" ,ghc-openglraw)))
3945 (home-page "https://www.haskell.org/haskellwiki/Opengl")
3946 (synopsis "Raw Haskell bindings GLU")
3947 (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL
3948utility library. It is basically a 1:1 mapping of GLU's C API, intended as a
3949basis for a nicer interface.")
3950 (license license:bsd-3)))
3951
3952(define-public ghc-glut
3953 (package
3954 (name "ghc-glut")
3955 (version "2.7.0.14")
3956 (source
3957 (origin
3958 (method url-fetch)
3959 (uri (string-append
3960 "https://hackage.haskell.org/package/GLUT/GLUT-"
3961 version
3962 ".tar.gz"))
3963 (sha256
3964 (base32
3965 "01i162fly4q1751fp60lgkzlb8kr0qqbvmxj74zc6skb19qggy2w"))))
3966 (build-system haskell-build-system)
3967 (inputs
3968 `(("ghc-statevar" ,ghc-statevar)
3969 ("ghc-opengl" ,ghc-opengl)
3970 ("ghc-openglraw" ,ghc-openglraw)
3971 ("freeglut" ,freeglut)))
3972 (home-page "https://www.haskell.org/haskellwiki/Opengl")
3973 (synopsis "Haskell bindings for the OpenGL Utility Toolkit")
3974 (description "This library provides Haskell bindings for the OpenGL
3975Utility Toolkit, a window system-independent toolkit for writing OpenGL
3976programs.")
3977 (license license:bsd-3)))
3978
3979(define-public ghc-gnuplot
3980 (package
3981 (name "ghc-gnuplot")
3982 (version "0.5.5.2")
3983 (source
3984 (origin
3985 (method url-fetch)
3986 (uri (string-append
3987 "mirror://hackage/package/gnuplot/gnuplot-"
3988 version ".tar.gz"))
3989 (sha256
3990 (base32 "1mlppnc13ygjzmf6ldydys4wvy35yb3xjwwfgf9rbi7nfcqjr6mn"))))
3991 (build-system haskell-build-system)
3992 (inputs
3993 `(("ghc-temporary" ,ghc-temporary)
3994 ("ghc-utility-ht" ,ghc-utility-ht)
3995 ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
3996 ("ghc-data-accessor" ,ghc-data-accessor)
3997 ("ghc-semigroups" ,ghc-semigroups)
3998 ("gnuplot" ,gnuplot)))
3999 (arguments
4000 `(#:phases
4001 (modify-phases %standard-phases
4002 (add-before 'configure 'fix-path-to-gnuplot
4003 (lambda* (#:key inputs #:allow-other-keys)
4004 (let ((gnuplot (assoc-ref inputs "gnuplot")))
4005 (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs"
4006 (("(gnuplotName = ).*$" all cmd)
4007 (string-append cmd "\"" gnuplot "/bin/gnuplot\"")))))))))
4008 (home-page "https://www.haskell.org/haskellwiki/Gnuplot")
4009 (synopsis "2D and 3D plots using gnuplot")
4010 (description "This package provides a Haskell module for creating 2D and
40113D plots using gnuplot.")
4012 (license license:bsd-3)))
4013
4014(define-public ghc-graphviz
4015 (package
4016 (name "ghc-graphviz")
4017 (version "2999.20.0.2")
4018 (source (origin
4019 (method url-fetch)
4020 (uri (string-append "https://hackage.haskell.org/package/"
4021 "graphviz/graphviz-" version ".tar.gz"))
4022 (sha256
4023 (base32
4024 "0kj7ap0gnliviq2p8lscw1m06capnsa90vpvcys24nqy5nw2wrp7"))))
4025 (build-system haskell-build-system)
4026 (inputs
4027 `(("ghc-quickcheck" ,ghc-quickcheck)
4028 ("ghc-colour" ,ghc-colour)
4029 ("ghc-dlist" ,ghc-dlist)
4030 ("ghc-fgl" ,ghc-fgl)
4031 ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary)
4032 ("ghc-polyparse" ,ghc-polyparse)
4033 ("ghc-temporary" ,ghc-temporary)
4034 ("ghc-wl-pprint-text" ,ghc-wl-pprint-text)))
4035 (native-inputs
4036 `(("ghc-hspec" ,ghc-hspec)
4037 ("graphviz" ,graphviz)
4038 ("hspec-discover" ,hspec-discover)))
4039 (home-page "https://hackage.haskell.org/package/graphviz")
4040 (synopsis "Bindings to Graphviz for graph visualisation")
4041 (description
4042 "This library provides bindings for the Dot language used by
4043the @uref{https://graphviz.org/, Graphviz} suite of programs for
4044visualising graphs, as well as functions to call those programs.
4045Main features of the graphviz library include:
4046
4047@enumerate
4048@item Almost complete coverage of all Graphviz attributes and syntax
4049@item Support for specifying clusters
4050@item The ability to use a custom node type
4051@item Functions for running a Graphviz layout tool with all specified output types
4052@item Generate and parse Dot code with two options: strict and liberal
4053@item Functions to convert FGL graphs and other graph-like data structures
4054@item Round-trip support for passing an FGL graph through Graphviz to augment node
4055and edge labels with positional information, etc.
4056@end enumerate\n")
4057 (license license:bsd-3)))
4058
4059(define-public ghc-gtk2hs-buildtools
4060 (package
4061 (name "ghc-gtk2hs-buildtools")
4062 (version "0.13.4.0")
4063 (source
4064 (origin
4065 (method url-fetch)
4066 (uri (string-append "https://hackage.haskell.org/package/"
4067 "gtk2hs-buildtools/gtk2hs-buildtools-"
4068 version ".tar.gz"))
4069 (sha256
4070 (base32
4071 "0yg6xmylgpylmnh5g33qwwn5x9bqckdvvv4czqzd9vrr12lnnghg"))))
4072 (build-system haskell-build-system)
4073 (inputs
4074 `(("ghc-random" ,ghc-random)
4075 ("ghc-hashtables" ,ghc-hashtables)))
4076 (native-inputs
4077 `(("ghc-alex" ,ghc-alex)
4078 ("ghc-happy" ,ghc-happy)))
4079 (home-page "http://projects.haskell.org/gtk2hs/")
4080 (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
4081 (description
4082 "This package provides a set of helper programs necessary to build the
4083Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
4084that is used to generate FFI declarations, a tool to build a type hierarchy
4085that mirrors the C type hierarchy of GObjects found in glib, and a generator
4086for signal declarations that are used to call back from C to Haskell. These
4087tools are not needed to actually run Gtk2Hs programs.")
4088 (license license:gpl2)))
4089
4090(define-public ghc-hackage-security
4091 (package
4092 (name "ghc-hackage-security")
4093 (version "0.5.3.0")
4094 (source
4095 (origin
4096 (method url-fetch)
4097 (uri (string-append "https://hackage.haskell.org/package/"
4098 "hackage-security/hackage-security-"
4099 version ".tar.gz"))
4100 (sha256
4101 (base32
4102 "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v"))))
4103 (build-system haskell-build-system)
4104 (arguments
4105 `(#:tests? #f)) ; Tests fail because of framework updates.
4106 (inputs
4107 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
4108 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
4109 ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256)
4110 ("ghc-ed25519" ,ghc-ed25519)
4111 ("ghc-network" ,ghc-network)
4112 ("ghc-network-uri" ,ghc-network-uri)
4113 ("ghc-tar" ,ghc-tar)
4114 ("ghc-zlib" ,ghc-zlib)))
4115 (native-inputs
4116 `(("ghc-network-uri" ,ghc-network-uri)
4117 ("ghc-quickcheck" ,ghc-quickcheck)
4118 ("ghc-tar" ,ghc-tar)
4119 ("ghc-tasty" ,ghc-tasty)
4120 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4121 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
4122 ("ghc-temporary" ,ghc-temporary)
4123 ("ghc-zlib" ,ghc-zlib)))
4124 (home-page "https://github.com/haskell/hackage-security")
4125 (synopsis "Hackage security library")
4126 (description "This Hackage security library provides both server and
4127client utilities for securing @uref{http://hackage.haskell.org/, the
4128Hackage package server}. It is based on
4129@uref{http://theupdateframework.com/, The Update Framework}, a set of
4130recommendations developed by security researchers at various universities
4131in the US as well as developers on the @uref{https://www.torproject.org/,
4132Tor project}.")
4133 (license license:bsd-3)))
4134
4135(define-public ghc-haddock
4136 (package
4137 (name "ghc-haddock")
4138 (version "2.19.0.1")
4139 (source
4140 (origin
4141 (method url-fetch)
4142 (uri (string-append
4143 "https://hackage.haskell.org/package/haddock/haddock-"
4144 version
4145 ".tar.gz"))
4146 (sha256
4147 (base32
4148 "1g1j9j0hf2yhyyh0gwz6bzbvfvliqz9x8a8hnkmwghm7w3xa6sb7"))))
4149 (build-system haskell-build-system)
4150 (arguments
4151 `(#:phases
4152 (modify-phases %standard-phases
4153 ;; There are four test suites that require the ghc-haddock-test
4154 ;; package, which no longer builds with GHC 8.4.3. This phase
4155 ;; removes these four test suites from the Cabal file, so that we
4156 ;; do not need ghc-haddock-test as an input.
4157 (add-before 'configure 'remove-haddock-test-test-suites
4158 (lambda _
4159 (use-modules (ice-9 rdelim))
4160 (with-atomic-file-replacement "haddock.cabal"
4161 (lambda (in out)
4162 (let loop ((line (read-line in 'concat)) (deleting? #f))
4163 (cond
4164 ((eof-object? line) #t)
4165 ((string-every char-set:whitespace line)
4166 (unless deleting? (display line out))
4167 (loop (read-line in 'concat) #f))
4168 ((member line '("test-suite html-test\n"
4169 "test-suite hypsrc-test\n"
4170 "test-suite latex-test\n"
4171 "test-suite hoogle-test\n"))
4172 (loop (read-line in 'concat) #t))
4173 (else
4174 (unless deleting? (display line out))
4175 (loop (read-line in 'concat) deleting?)))))))))))
4176 (inputs `(("ghc-haddock-api" ,ghc-haddock-api)))
4177 (native-inputs
4178 `(("ghc-hspec" ,ghc-hspec)))
4179 (home-page "https://www.haskell.org/haddock/")
4180 (synopsis
4181 "Documentation-generation tool for Haskell libraries")
4182 (description
4183 "Haddock is a documentation-generation tool for Haskell libraries.")
4184 (license license:bsd-3)))
4185
4186(define-public ghc-haddock-api
4187 (package
4188 (name "ghc-haddock-api")
4189 (version "2.19.0.1")
4190 (source
4191 (origin
4192 (method url-fetch)
4193 (uri (string-append
4194 "https://hackage.haskell.org/package/haddock-api/haddock-api-"
4195 version
4196 ".tar.gz"))
4197 (sha256
4198 (base32
4199 "0c6i7sljp7myz25d90gyw68a90i5jcrkajkxcciikp2hjirfaas3"))))
4200 (build-system haskell-build-system)
4201 (arguments
4202 `(#:phases
4203 (modify-phases %standard-phases
4204 (add-before 'configure 'update-constraints
4205 (lambda _
4206 (substitute* "haddock-api.cabal"
4207 (("Cabal \\^>= 2\\.0\\.0")
4208 "Cabal ^>= 2.2.0")
4209 (("hspec \\^>= 2\\.4\\.4")
4210 "hspec >= 2.4.4 && < 2.6")))))))
4211 (inputs
4212 `(("ghc-paths" ,ghc-paths)
4213 ("ghc-haddock-library" ,ghc-haddock-library)))
4214 (native-inputs
4215 `(("ghc-quickcheck" ,ghc-quickcheck)
4216 ("ghc-hspec" ,ghc-hspec)
4217 ("hspec-discover" ,hspec-discover)))
4218 (home-page "https://www.haskell.org/haddock/")
4219 (synopsis "API for documentation-generation tool Haddock")
4220 (description "This package provides an API to Haddock, the
4221documentation-generation tool for Haskell libraries.")
4222 (license license:bsd-3)))
4223
4224(define-public ghc-haddock-library
4225 (package
4226 (name "ghc-haddock-library")
4227 (version "1.5.0.1")
4228 (source
4229 (origin
4230 (method url-fetch)
4231 (uri (string-append
4232 "https://hackage.haskell.org/package/haddock-library/haddock-library-"
4233 version
4234 ".tar.gz"))
4235 (sha256
4236 (base32
4237 "1cmbg8l5xrwpliclwy3l057raypjqy0hsg1h1743ahaj8gq10b7z"))
4238 (patches (search-patches
4239 "ghc-haddock-library-unbundle.patch"))
4240 (modules '((guix build utils)))
4241 (snippet '(begin
4242 (delete-file-recursively "vendor")
4243 #t))))
4244 (build-system haskell-build-system)
4245 (arguments
4246 `(#:phases
4247 (modify-phases %standard-phases
4248 (add-before 'configure 'relax-test-suite-dependencies
4249 (lambda _
4250 (substitute* "haddock-library.cabal"
4251 (("base-compat\\s*\\^>= 0\\.9\\.3") "base-compat")
4252 (("hspec\\s*\\^>= 2\\.4\\.4") "hspec"))))
4253 ;; The release tarball does not contain the "fixtures/examples"
4254 ;; directory, which is required for testing. In the upstream
4255 ;; repository, the directory exists and is populated. Here, we
4256 ;; create an empty directory to placate the tests.
4257 (add-before 'check 'add-examples-directory
4258 (lambda _
4259 (mkdir "fixtures/examples")
4260 #t)))))
4261 (native-inputs
4262 `(("ghc-base-compat" ,ghc-base-compat)
4263 ("ghc-hspec" ,ghc-hspec)
4264 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
4265 ("ghc-quickcheck" ,ghc-quickcheck)
4266 ("ghc-tree-diff" ,ghc-tree-diff)
4267 ("hspec-discover" ,hspec-discover)))
4268 (home-page "https://www.haskell.org/haddock/")
4269 (synopsis "Library exposing some functionality of Haddock")
4270 (description
4271 "Haddock is a documentation-generation tool for Haskell libraries. These
4272modules expose some functionality of it without pulling in the GHC dependency.
4273Please note that the API is likely to change so specify upper bounds in your
4274project if you can't release often. For interacting with Haddock itself, see
4275the ‘haddock’ package.")
4276 (license license:bsd-3)))
4277
4278(define-public ghc-half
4279 (package
4280 (name "ghc-half")
4281 (version "0.3")
4282 (source
4283 (origin
4284 (method url-fetch)
4285 (uri (string-append
4286 "https://hackage.haskell.org/package/half/half-"
4287 version ".tar.gz"))
4288 (sha256
4289 (base32
4290 "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6"))))
4291 (build-system haskell-build-system)
4292 (native-inputs
4293 `(("ghc-hspec" ,ghc-hspec)
4294 ("ghc-quickcheck" ,ghc-quickcheck)))
4295 (home-page "https://github.com/ekmett/half")
4296 (synopsis "Half-precision floating-point computations")
4297 (description "This library provides a half-precision floating-point
4298computation library for Haskell.")
4299 (license license:bsd-3)))
4300
4301(define-public ghc-happy
4302 (package
4303 (name "ghc-happy")
90e7b0e4 4304 (version "1.19.12")
dddbc90c
RV
4305 (source
4306 (origin
4307 (method url-fetch)
4308 (uri (string-append
4309 "https://hackage.haskell.org/package/happy/happy-"
4310 version
4311 ".tar.gz"))
4312 (sha256
4313 (base32
90e7b0e4 4314 "03xlmq6qmdx4zvzw8bp33kd9g7yvcq5cz4wg50xilw812kj276pv"))))
dddbc90c
RV
4315 (build-system haskell-build-system)
4316 (arguments
4317 `(#:phases
4318 (modify-phases %standard-phases
4319 (add-after 'unpack 'skip-test-issue93
4320 (lambda _
4321 ;; Tests run out of memory on a system with 2GB of available RAM,
4322 ;; in 'issue93.a.hs' and 'issue93.n.hs'.
4323 (substitute* "tests/Makefile"
4324 ((" issue93.y ") " "))
4325 #t)))))
4326 (home-page "https://hackage.haskell.org/package/happy")
4327 (synopsis "Parser generator for Haskell")
4328 (description "Happy is a parser generator for Haskell. Given a grammar
4329specification in BNF, Happy generates Haskell code to parse the grammar.
4330Happy works in a similar way to the yacc tool for C.")
4331 (license license:bsd-3)))
4332
4333(define-public ghc-hashable
4334 (package
4335 (name "ghc-hashable")
4336 (version "1.2.7.0")
4337 (outputs '("out" "doc"))
4338 (source
4339 (origin
4340 (method url-fetch)
4341 (uri (string-append
4342 "https://hackage.haskell.org/package/hashable/hashable-"
4343 version
4344 ".tar.gz"))
4345 (sha256
4346 (base32
4347 "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc"))))
4348 (build-system haskell-build-system)
65a16a45
TS
4349 (arguments
4350 `(#:cabal-revision
4351 ("1" "197063dpl0wn67dp7a06yc2hxp81n24ykk7klbjx0fndm5n87dh3")))
dddbc90c
RV
4352 (inputs
4353 `(("ghc-random" ,ghc-random)))
4354 (native-inputs
4355 `(("ghc-test-framework" ,ghc-test-framework)
4356 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
4357 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
4358 ("ghc-hunit" ,ghc-hunit)
4359 ("ghc-quickcheck" ,ghc-quickcheck)))
4360 (home-page "https://github.com/tibbe/hashable")
4361 (synopsis "Class for types that can be converted to a hash value")
4362 (description
4363 "This package defines a class, @code{Hashable}, for types that can be
4364converted to a hash value. This class exists for the benefit of hashing-based
4365data structures. The package provides instances for basic types and a way to
4366combine hash values.")
4367 (license license:bsd-3)))
4368
4369(define-public ghc-hashable-bootstrap
4370 (package
4371 (inherit ghc-hashable)
4372 (name "ghc-hashable-bootstrap")
65a16a45
TS
4373 (arguments
4374 `(#:tests? #f
4375 ,@(package-arguments ghc-hashable)))
dddbc90c
RV
4376 (native-inputs '())
4377 (properties '((hidden? #t)))))
4378
4379(define-public ghc-hashable-time
4380 (package
4381 (name "ghc-hashable-time")
4382 (version "0.2.0.1")
4383 (source
4384 (origin
4385 (method url-fetch)
4386 (uri (string-append
4387 "https://hackage.haskell.org/package/hashable-time/hashable-time-"
4388 version
4389 ".tar.gz"))
4390 (sha256
4391 (base32
4392 "0k932nyd08l3xxbh2g3n76py2f4kd9yw4s5a065vjz0xp6wjnxdm"))))
4393 (build-system haskell-build-system)
4394 (arguments
4395 `(#:cabal-revision
4396 ("1" "0rv40xkg3gj8jnqsry1gq3f5s5la6d5arg8fzkirnwdpcgha1as6")))
4397 (inputs `(("ghc-hashable" ,ghc-hashable)))
4398 (home-page "http://hackage.haskell.org/package/hashable-time")
4399 (synopsis "Hashable instances for Data.Time")
4400 (description
4401 "This package provides @code{Hashable} instances for types in
4402@code{Data.Time}.")
4403 (license license:bsd-3)))
4404
4405(define-public ghc-hashtables
4406 (package
4407 (name "ghc-hashtables")
4408 (version "1.2.3.1")
4409 (source
4410 (origin
4411 (method url-fetch)
4412 (uri (string-append
4413 "https://hackage.haskell.org/package/hashtables/hashtables-"
4414 version ".tar.gz"))
4415 (sha256
4416 (base32 "1giw9caajr07slf09j7zry9b0kvm4yj9q78zy1mawzi6gk3wglcg"))))
4417 (build-system haskell-build-system)
4418 (inputs
4419 `(("ghc-hashable" ,ghc-hashable)
4420 ("ghc-primitive" ,ghc-primitive)
4421 ("ghc-vector" ,ghc-vector)))
4422 (home-page "https://github.com/gregorycollins/hashtables")
4423 (synopsis "Haskell Mutable hash tables in the ST monad")
4424 (description "This package provides a Haskell library including a
4425couple of different implementations of mutable hash tables in the ST
4426monad, as well as a typeclass abstracting their common operations, and
4427a set of wrappers to use the hash tables in the IO monad.")
4428 (license license:bsd-3)))
4429
4430(define-public ghc-haskell-lexer
4431 (package
4432 (name "ghc-haskell-lexer")
4433 (version "1.0.2")
4434 (source
4435 (origin
4436 (method url-fetch)
4437 (uri (string-append
4438 "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-"
4439 version ".tar.gz"))
4440 (sha256
4441 (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq"))))
4442 (build-system haskell-build-system)
4443 (home-page "http://hackage.haskell.org/package/haskell-lexer")
4444 (synopsis "Fully compliant Haskell 98 lexer")
4445 (description
4446 "This package provides a fully compliant Haskell 98 lexer.")
4447 (license license:bsd-3)))
4448
4449(define-public ghc-haskell-src
4450 (package
4451 (name "ghc-haskell-src")
4452 (version "1.0.3.0")
4453 (source
4454 (origin
4455 (method url-fetch)
4456 (uri (string-append
4457 "https://hackage.haskell.org/package/haskell-src/haskell-src-"
4458 version
4459 ".tar.gz"))
4460 (sha256
4461 (base32
4462 "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l"))))
4463 (build-system haskell-build-system)
4464 (inputs
4465 `(("ghc-happy" ,ghc-happy)
4466 ("ghc-syb" ,ghc-syb)))
4467 (home-page
4468 "https://hackage.haskell.org/package/haskell-src")
4469 (synopsis
4470 "Support for manipulating Haskell source code")
4471 (description
4472 "The @code{haskell-src} package provides support for manipulating Haskell
4473source code. The package provides a lexer, parser and pretty-printer, and a
4474definition of a Haskell abstract syntax tree (AST). Common uses of this
4475package are to parse or generate Haskell 98 code.")
4476 (license license:bsd-3)))
4477
4478(define-public ghc-haskell-src-exts
4479 (package
4480 (name "ghc-haskell-src-exts")
4481 (version "1.20.2")
4482 (source
4483 (origin
4484 (method url-fetch)
4485 (uri (string-append
4486 "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-"
4487 version
4488 ".tar.gz"))
4489 (sha256
4490 (base32
4491 "1sm3z4v1p5yffg01ldgavz71s3bvfhjfa13k428rk14bpkl8crlz"))))
4492 (build-system haskell-build-system)
4493 (inputs
4494 `(("cpphs" ,cpphs)
4495 ("ghc-happy" ,ghc-happy)
4496 ("ghc-pretty-show" ,ghc-pretty-show)))
4497 (native-inputs
4498 `(("ghc-smallcheck" ,ghc-smallcheck)
4499 ("ghc-tasty" ,ghc-tasty)
4500 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
4501 ("ghc-tasty-golden" ,ghc-tasty-golden)))
4502 (home-page "https://github.com/haskell-suite/haskell-src-exts")
4503 (synopsis "Library for manipulating Haskell source")
4504 (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an
4505extension of the standard @code{haskell-src} package, and handles most
4506registered syntactic extensions to Haskell. All extensions implemented in GHC
4507are supported. Apart from these standard extensions, it also handles regular
4508patterns as per the HaRP extension as well as HSX-style embedded XML syntax.")
4509 (license license:bsd-3)))
4510
4511(define-public ghc-haskell-src-exts-util
4512 (package
4513 (name "ghc-haskell-src-exts-util")
4514 (version "0.2.3")
4515 (source
4516 (origin
4517 (method url-fetch)
4518 (uri (string-append "https://hackage.haskell.org/package/"
4519 "haskell-src-exts-util/haskell-src-exts-util-"
4520 version ".tar.gz"))
4521 (sha256
4522 (base32
4523 "1803718paq89f8pdck4mb88hv2k1ah9lxzq0lgjgwi9n88ryycz8"))))
4524 (build-system haskell-build-system)
4525 (inputs
4526 `(("ghc-data-default" ,ghc-data-default)
4527 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
4528 ("ghc-semigroups" ,ghc-semigroups)
4529 ("ghc-uniplate" ,ghc-uniplate)))
4530 (home-page "https://github.com/pepeiborra/haskell-src-exts-util")
4531 (synopsis "Helper functions for working with haskell-src-exts trees")
4532 (description
4533 "This package provides helper functions for working with
4534@code{haskell-src-exts} trees.")
4535 (license license:bsd-3)))
4536
4537(define-public ghc-haskell-src-meta
4538 (package
4539 (name "ghc-haskell-src-meta")
4540 (version "0.8.0.3")
4541 (source (origin
4542 (method url-fetch)
4543 (uri (string-append "https://hackage.haskell.org/package/"
4544 "haskell-src-meta/haskell-src-meta-"
4545 version ".tar.gz"))
4546 (sha256
4547 (base32
4548 "08jq156zv4m0fjq6712n99c1jwxnpa6kj6sq8ch0r1l0a1ay6ww4"))))
4549 (build-system haskell-build-system)
4550 (inputs
4551 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
4552 ("ghc-syb" ,ghc-syb)
4553 ("ghc-th-orphans" ,ghc-th-orphans)))
4554 (native-inputs
4555 `(("ghc-hunit" ,ghc-hunit)
4556 ("ghc-test-framework" ,ghc-test-framework)
4557 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
4558 (home-page "https://hackage.haskell.org/package/haskell-src-meta")
4559 (synopsis "Parse source to template-haskell abstract syntax")
4560 (description
4561 "This package provides tools to parse Haskell sources to the
4562template-haskell abstract syntax.")
4563 (license license:bsd-3)))
4564
4565(define-public ghc-hasktags
4566 (package
4567 (name "ghc-hasktags")
4568 (version "0.71.2")
4569 (source
4570 (origin
4571 (method url-fetch)
4572 (uri (string-append
4573 "https://hackage.haskell.org/package/hasktags/hasktags-"
4574 version
4575 ".tar.gz"))
4576 (sha256
4577 (base32
4578 "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c"))))
4579 (build-system haskell-build-system)
4580 (inputs
4581 `(("ghc-system-filepath" ,ghc-system-filepath)
4582 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
4583 (native-inputs
4584 `(("ghc-json" ,ghc-json)
4585 ("ghc-utf8-string" ,ghc-utf8-string)
4586 ("ghc-microlens-platform" ,ghc-microlens-platform)
4587 ("ghc-hunit" ,ghc-hunit)))
4588 (home-page "http://github.com/MarcWeber/hasktags")
4589 (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs")
4590 (description
4591 "This package provides a means of generating tag files for Emacs and
4592Vim.")
4593 (license license:bsd-3)))
4594
4595(define-public ghc-hex
4596 (package
4597 (name "ghc-hex")
4598 (version "0.1.2")
4599 (source
4600 (origin
4601 (method url-fetch)
4602 (uri (string-append "https://hackage.haskell.org/package/"
4603 "hex-" version "/"
4604 "hex-" version ".tar.gz"))
4605 (sha256
4606 (base32
4607 "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj"))))
4608 (build-system haskell-build-system)
4609 (home-page "https://hackage.haskell.org/package/hex")
4610 (synopsis "Convert strings into hexadecimal and back")
4611 (description "This package provides conversion functions between
4612bytestrings and their hexademical representation.")
4613 (license license:bsd-3)))
4614
4615(define-public ghc-highlighting-kate
4616 (package
4617 (name "ghc-highlighting-kate")
4618 (version "0.6.4")
4619 (source (origin
4620 (method url-fetch)
4621 (uri (string-append "https://hackage.haskell.org/package/"
4622 "highlighting-kate/highlighting-kate-"
4623 version ".tar.gz"))
4624 (sha256
4625 (base32
4626 "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q"))))
4627 (build-system haskell-build-system)
4628 (inputs
4629 `(("ghc-diff" ,ghc-diff)
4630 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)))
4631 (native-inputs
4632 `(("ghc-blaze-html" ,ghc-blaze-html)
4633 ("ghc-utf8-string" ,ghc-utf8-string)))
4634 (home-page "https://github.com/jgm/highlighting-kate")
4635 (synopsis "Syntax highlighting library")
4636 (description
4637 "Highlighting-kate is a syntax highlighting library with support for
4638nearly one hundred languages. The syntax parsers are automatically generated
4639from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax
4640supported by Kate can be added. An (optional) command-line program is
4641provided, along with a utility for generating new parsers from Kate XML syntax
4642descriptions.")
4643 (license license:gpl2+)))
4644
4645(define-public ghc-hindent
4646 (package
4647 (name "ghc-hindent")
4648 (version "5.3.0")
4649 (source
4650 (origin
4651 (method url-fetch)
4652 (uri (string-append
4653 "https://hackage.haskell.org/package/hindent/hindent-"
4654 version
4655 ".tar.gz"))
4656 (sha256
4657 (base32
4658 "0wkfik7mvqskk23kyh7ybgnlh3j9j1ym7d3ncahsbli9w654b7xg"))))
4659 (build-system haskell-build-system)
4660 (arguments
4661 `(#:modules ((guix build haskell-build-system)
4662 (guix build utils)
4663 (guix build emacs-utils))
4664 #:imported-modules (,@%haskell-build-system-modules
4665 (guix build emacs-utils))
4666 #:phases
4667 (modify-phases %standard-phases
4668 (add-after 'install 'emacs-install
4669 (lambda* (#:key inputs outputs #:allow-other-keys)
4670 (let* ((out (assoc-ref outputs "out"))
4671 (elisp-file "elisp/hindent.el")
4672 (dest (string-append out "/share/emacs/site-lisp"
4673 "/guix.d/hindent-" ,version))
4674 (emacs (string-append (assoc-ref inputs "emacs")
4675 "/bin/emacs")))
4676 (make-file-writable elisp-file)
4677 (emacs-substitute-variables elisp-file
4678 ("hindent-process-path"
4679 (string-append out "/bin/hindent")))
4680 (install-file elisp-file dest)
4681 (emacs-generate-autoloads "hindent" dest)))))))
4682 (inputs
4683 `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
4684 ("ghc-monad-loops" ,ghc-monad-loops)
4685 ("ghc-utf8-string" ,ghc-utf8-string)
4686 ("ghc-exceptions" ,ghc-exceptions)
4687 ("ghc-yaml" ,ghc-yaml)
4688 ("ghc-unix-compat" ,ghc-unix-compat)
4689 ("ghc-path" ,ghc-path)
4690 ("ghc-path-io" ,ghc-path-io)
4691 ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
4692 (native-inputs
4693 `(("ghc-hspec" ,ghc-hspec)
4694 ("ghc-diff" ,ghc-diff)
4695 ("emacs" ,emacs-minimal)))
4696 (home-page
4697 "https://github.com/commercialhaskell/hindent")
4698 (synopsis "Extensible Haskell pretty printer")
4699 (description
4700 "This package provides automatic formatting for Haskell files. Both a
4701library and an executable.")
4702 (license license:bsd-3)))
4703
4704(define-public ghc-hinotify
4705 (package
4706 (name "ghc-hinotify")
4707 (version "0.3.10")
4708 (source (origin
4709 (method url-fetch)
4710 (uri (string-append
4711 "https://hackage.haskell.org/package/hinotify/"
4712 "hinotify-" version ".tar.gz"))
4713 (sha256
4714 (base32
4715 "17ax3n68a5c2ddazp86aciliskrh6znd3bnry0wcllmb6dbpsaxg"))))
4716 (build-system haskell-build-system)
4717 (inputs
4718 `(("ghc-async" ,ghc-async)))
4719 (home-page "https://github.com/kolmodin/hinotify.git")
4720 (synopsis "Haskell binding to inotify")
4721 (description "This library provides a wrapper to the Linux kernel's inotify
4722feature, allowing applications to subscribe to notifications when a file is
4723accessed or modified.")
4724 (license license:bsd-3)))
4725
4726(define-public ghc-hmatrix
4727 (package
4728 (name "ghc-hmatrix")
4729 (version "0.19.0.0")
4730 (source
4731 (origin
4732 (method url-fetch)
4733 (uri (string-append
4734 "https://hackage.haskell.org/package/hmatrix/hmatrix-"
4735 version ".tar.gz"))
4736 (sha256
4737 (base32 "10jd69nby29dggghcyjk6ykyr5wrn97nrv1dkpyrp0y5xm12xssj"))))
4738 (build-system haskell-build-system)
4739 (inputs
4740 `(("ghc-random" ,ghc-random)
4741 ("ghc-split" ,ghc-split)
4742 ("ghc-storable-complex" ,ghc-storable-complex)
4743 ("ghc-semigroups" ,ghc-semigroups)
4744 ("ghc-vector" ,ghc-vector)
4745 ;;("openblas" ,openblas)
4746 ("lapack" ,lapack)))
4747 ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
4748 ;; disables inclusion of the LAPACK functions.
4749 ;; (arguments `(#:configure-flags '("--flags=openblas")))
4750 (home-page "https://github.com/albertoruiz/hmatrix")
4751 (synopsis "Haskell numeric linear algebra library")
4752 (description "The HMatrix package provices a Haskell library for
4753dealing with linear systems, matrix decompositions, and other
4754numerical computations based on BLAS and LAPACK.")
4755 (license license:bsd-3)))
4756
4757(define-public ghc-hmatrix-gsl
4758 (package
4759 (name "ghc-hmatrix-gsl")
4760 (version "0.19.0.1")
4761 (source
4762 (origin
4763 (method url-fetch)
4764 (uri (string-append
4765 "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-"
4766 version ".tar.gz"))
4767 (sha256
4768 (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm"))))
4769 (build-system haskell-build-system)
4770 (inputs
4771 `(("ghc-hmatrix" ,ghc-hmatrix)
4772 ("ghc-vector" ,ghc-vector)
4773 ("ghc-random" ,ghc-random)
4774 ("gsl" ,gsl)))
4775 (native-inputs `(("pkg-config" ,pkg-config)))
4776 (home-page "https://github.com/albertoruiz/hmatrix")
4777 (synopsis "Haskell GSL binding")
4778 (description "This Haskell library provides a purely functional
4779interface to selected numerical computations, internally implemented
4780using GSL.")
4781 (license license:gpl3+)))
4782
4783(define-public ghc-hmatrix-gsl-stats
4784 (package
4785 (name "ghc-hmatrix-gsl-stats")
4786 (version "0.4.1.7")
4787 (source
4788 (origin
4789 (method url-fetch)
4790 (uri
4791 (string-append
4792 "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
4793 version ".tar.gz"))
4794 (sha256
4795 (base32 "1gslgk58lzin43cvbpivhw7nrn9qyaa6qwhy1z9ypvyal5p8n3sa"))))
4796 (build-system haskell-build-system)
4797 (inputs
4798 `(("ghc-vector" ,ghc-vector)
4799 ("ghc-storable-complex" ,ghc-storable-complex)
4800 ("ghc-hmatrix" ,ghc-hmatrix)
4801 ("gsl" ,gsl)))
4802 (native-inputs `(("pkg-config" ,pkg-config)))
4803 (home-page "http://code.haskell.org/hmatrix-gsl-stats")
4804 (synopsis "GSL Statistics interface for Haskell")
4805 (description "This Haskell library provides a purely functional
4806interface for statistics based on hmatrix and GSL.")
4807 (license license:bsd-3)))
4808
4809(define-public ghc-hmatrix-special
4810 (package
4811 (name "ghc-hmatrix-special")
4812 (version "0.19.0.0")
4813 (source
4814 (origin
4815 (method url-fetch)
4816 (uri
4817 (string-append
4818 "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-"
4819 version ".tar.gz"))
4820 (sha256
4821 (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz"))))
4822 (build-system haskell-build-system)
4823 (inputs
4824 `(("ghc-hmatrix" ,ghc-hmatrix)
4825 ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl)))
4826 (home-page "https://github.com/albertoruiz/hmatrix")
4827 (synopsis "Haskell interface to GSL special functions")
4828 (description "This library provides an interface to GSL special
4829functions for Haskell.")
4830 (license license:gpl3+)))
4831
4832(define-public ghc-hostname
4833 (package
4834 (name "ghc-hostname")
4835 (version "1.0")
4836 (source
4837 (origin
4838 (method url-fetch)
4839 (uri (string-append "https://hackage.haskell.org/package/hostname/"
4840 "hostname-" version ".tar.gz"))
4841 (sha256
4842 (base32
4843 "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv"))))
4844 (build-system haskell-build-system)
4845 (home-page "https://hackage.haskell.org/package/hostname")
4846 (synopsis "Hostname in Haskell")
4847 (description "Network.HostName is a simple package providing a means to
4848determine the hostname.")
4849 (license license:bsd-3)))
4850
4851(define-public ghc-hourglass
4852 (package
4853 (name "ghc-hourglass")
4854 (version "0.2.12")
4855 (source (origin
4856 (method url-fetch)
4857 (uri (string-append "https://hackage.haskell.org/package/"
4858 "hourglass/hourglass-" version ".tar.gz"))
4859 (sha256
4860 (base32
4861 "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4"))))
4862 (build-system haskell-build-system)
4863 (inputs
4864 `(("ghc-old-locale" ,ghc-old-locale)))
4865 (native-inputs
4866 `(("ghc-tasty" ,ghc-tasty)
4867 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
4868 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
4869 (home-page "https://github.com/vincenthz/hs-hourglass")
4870 (synopsis "Simple time-related library for Haskell")
4871 (description
4872 "This is a simple time library providing a simple but powerful and
4873performant API. The backbone of the library are the @code{Timeable} and
4874@code{Time} type classes. Each @code{Timeable} instances can be converted to
4875a type that has a @code{Time} instances, and thus are different
4876representations of current time.")
4877 (license license:bsd-3)))
4878
4879(define-public ghc-hpack
4880 (package
4881 (name "ghc-hpack")
4882 (version "0.28.2")
4883 (source
4884 (origin
4885 (method url-fetch)
4886 (uri (string-append "https://hackage.haskell.org/package/hpack/"
4887 "hpack-" version ".tar.gz"))
4888 (sha256
4889 (base32
4890 "18w0h76jdp3mk9vin8da9iz3cwhcxmw787xy8wlh8bxcpcr16q5r"))))
4891 (build-system haskell-build-system)
4892 (inputs
4893 `(("ghc-aeson" ,ghc-aeson)
4894 ("ghc-bifunctors" ,ghc-bifunctors)
4895 ("ghc-cryptonite" ,ghc-cryptonite)
4896 ("ghc-glob" ,ghc-glob)
4897 ("ghc-http-client" ,ghc-http-client)
4898 ("ghc-http-client-tls" ,ghc-http-client-tls)
4899 ("ghc-http-types" ,ghc-http-types)
4900 ("ghc-scientific" ,ghc-scientific)
4901 ("ghc-unordered-containers" ,ghc-unordered-containers)
4902 ("ghc-vector" ,ghc-vector)
4903 ("ghc-yaml" ,ghc-yaml)))
4904 (native-inputs
4905 `(("ghc-hspec" ,ghc-hspec)
4906 ("ghc-hunit" ,ghc-hunit)
4907 ("ghc-interpolate" ,ghc-interpolate)
4908 ("ghc-mockery" ,ghc-mockery)
4909 ("ghc-quickcheck" ,ghc-quickcheck)
4910 ("ghc-temporary" ,ghc-temporary)
4911 ("hspec-discover" ,hspec-discover)))
4912 (home-page "https://github.com/sol/hpack")
4913 (synopsis "Tools for an alternative Haskell package format")
4914 (description
4915 "Hpack is a format for Haskell packages. It is an alternative to the
4916Cabal package format and follows different design principles. Hpack packages
4917are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
4918@code{stack} support @code{package.yaml} natively. For other build tools the
4919@code{hpack} executable can be used to generate a @code{.cabal} file from
4920@code{package.yaml}.")
4921 (license license:expat)))
4922
4923(define-public ghc-hs-bibutils
4924 (package
4925 (name "ghc-hs-bibutils")
ebcb4f23 4926 (version "6.7.0.0")
dddbc90c
RV
4927 (source
4928 (origin
4929 (method url-fetch)
4930 (uri (string-append
4931 "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-"
4932 version ".tar.gz"))
4933 (sha256
4934 (base32
ebcb4f23 4935 "1qfyssl76lm4g09yxr3y10kmf8cnzls46g5h0ijk0wpk9wlhbln5"))))
dddbc90c
RV
4936 (build-system haskell-build-system)
4937 (inputs `(("ghc-syb" ,ghc-syb)))
4938 (home-page "https://hackage.haskell.org/package/hs-bibutils")
4939 (synopsis "Haskell bindings to bibutils")
4940 (description
4941 "This package provides Haskell bindings to @code{bibutils}, a library
4942that interconverts between various bibliography formats using a common
4943MODS-format XML intermediate.")
4944 (license license:gpl2+)))
4945
4946(define-public ghc-hslogger
4947 (package
4948 (name "ghc-hslogger")
4949 (version "1.2.10")
4950 (source
4951 (origin
4952 (method url-fetch)
4953 (uri (string-append "https://hackage.haskell.org/package/"
4954 "hslogger-" version "/" "hslogger-"
4955 version ".tar.gz"))
4956 (sha256 (base32
4957 "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp"))))
4958 (build-system haskell-build-system)
4959 (inputs
4960 `(("ghc-network" ,ghc-network)
4961 ("ghc-old-locale" ,ghc-old-locale)))
4962 (native-inputs
4963 `(("ghc-hunit" ,ghc-hunit)))
4964 (home-page "https://software.complete.org/hslogger")
4965 (synopsis "Logging framework for Haskell, similar to Python's logging module")
4966 (description "Hslogger lets each log message have a priority and source be
4967associated with it. The programmer can then define global handlers that route
4968or filter messages based on the priority and source. It also has a syslog
4969handler built in.")
4970 (license license:bsd-3)))
4971
4972(define-public ghc-hslua
4973 (package
4974 (name "ghc-hslua")
4975 (version "0.9.5.2")
4976 (source (origin
4977 (method url-fetch)
4978 (uri (string-append "https://hackage.haskell.org/package/"
4979 "hslua/hslua-" version ".tar.gz"))
4980 (sha256
4981 (base32
4982 "1rdvv01p214zfjh6fcqjjgqwi8y42wad6cqzhlcv5gvclzw2ck8f"))))
4983 (build-system haskell-build-system)
4984 (arguments
4985 `(#:configure-flags '("-fsystem-lua")))
4986 (inputs
4987 `(("lua" ,lua)
4988 ("ghc-exceptions" ,ghc-exceptions)
4989 ("ghc-fail" ,ghc-fail)))
4990 (native-inputs
4991 `(("ghc-tasty" ,ghc-tasty)
4992 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
4993 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
4994 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
4995 ("ghc-quickcheck" ,ghc-quickcheck)
4996 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
4997 (home-page "https://hackage.haskell.org/package/hslua")
4998 (synopsis "Lua language interpreter embedding in Haskell")
4999 (description
5000 "The Scripting.Lua module is a wrapper of the Lua language interpreter as
5001described in @url{https://www.lua.org/}.")
5002 (license license:expat)))
5003
5004(define-public ghc-hslua-module-text
5005 (package
5006 (name "ghc-hslua-module-text")
5007 (version "0.1.2.1")
5008 (source
5009 (origin
5010 (method url-fetch)
5011 (uri (string-append "https://hackage.haskell.org/package/"
5012 "hslua-module-text/hslua-module-text-"
5013 version ".tar.gz"))
5014 (sha256
5015 (base32
5016 "0bcfpb1dhnxp0gr376ai4w7vczr9zrjl1r3r6w7kcxivfkwq9cxf"))))
5017 (build-system haskell-build-system)
5018 (arguments
5019 `(#:cabal-revision
5020 ("1" "0vajlsd7y6pwa08635q0cx8z5c1c55bk7fvavw7g2vmyvxqjzx6n")))
5021 (inputs
5022 `(("ghc-hslua" ,ghc-hslua)))
5023 (native-inputs
5024 `(("ghc-tasty" ,ghc-tasty)
5025 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5026 (home-page "https://github.com/hslua/hslua-module-text")
5027 (synopsis "Lua module for text")
5028 (description
5029 "This package provides a UTF-8 aware subset of Lua's @code{string} module
5030for Haskell. The functions provided by this module are @code{upper},
5031@code{lower}, @code{len}, @code{reverse}, and @code{sub}.")
5032 (license license:expat)))
5033
5034(define-public ghc-http-api-data
5035 (package
5036 (name "ghc-http-api-data")
5037 (version "0.3.8.1")
5038 (source
5039 (origin
5040 (method url-fetch)
5041 (uri (string-append "https://hackage.haskell.org/package/"
5042 "http-api-data-" version "/"
5043 "http-api-data-" version ".tar.gz"))
5044 (sha256
5045 (base32
5046 "1cq6459b8wz6nvkvpi89dg189n5q2xdq4rdq435hf150555vmskf"))))
5047 (build-system haskell-build-system)
5048 (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.9
5049 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
5050 ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601)
5051 ("ghc-hashable" ,ghc-hashable)
5052 ("ghc-http-types" ,ghc-http-types)
5053 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
5054 ("ghc-unordered-containers" ,ghc-unordered-containers)
5055 ("ghc-uri-bytestring" ,ghc-uri-bytestring)
5056 ("ghc-uuid-types" ,ghc-uuid-types)))
5057 (home-page "https://github.com/fizruk/http-api-data")
5058 (synopsis "Convert to/from HTTP API data like URL pieces, headers and
5059query parameters")
5060 (description "This Haskell package defines typeclasses used for converting
5061Haskell data types to and from HTTP API data.")
5062 (license license:bsd-3)))
5063
5064(define-public ghc-ieee754
5065 (package
5066 (name "ghc-ieee754")
5067 (version "0.8.0")
5068 (source (origin
5069 (method url-fetch)
5070 (uri (string-append
5071 "https://hackage.haskell.org/package/ieee754/"
5072 "ieee754-" version ".tar.gz"))
5073 (sha256
5074 (base32
5075 "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f"))))
5076 (build-system haskell-build-system)
5077 (home-page "https://github.com/patperry/hs-ieee754")
5078 (synopsis "Utilities for dealing with IEEE floating point numbers")
5079 (description "Utilities for dealing with IEEE floating point numbers,
5080ported from the Tango math library; approximate and exact equality comparisons
5081for general types.")
5082 (license license:bsd-3)))
5083
5084(define-public ghc-ifelse
5085 (package
5086 (name "ghc-ifelse")
5087 (version "0.85")
5088 (source
5089 (origin
5090 (method url-fetch)
5091 (uri (string-append "https://hackage.haskell.org/package/"
5092 "IfElse/IfElse-" version ".tar.gz"))
5093 (sha256
5094 (base32
5095 "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa"))))
5096 (build-system haskell-build-system)
5097 (home-page "http://hackage.haskell.org/package/IfElse")
5098 (synopsis "Monadic control flow with anaphoric variants")
5099 (description "This library provides functions for control flow inside of
5100monads with anaphoric variants on @code{if} and @code{when} and a C-like
5101@code{switch} function.")
5102 (license license:bsd-3)))
5103
5104(define-public ghc-indents
5105 (package
5106 (name "ghc-indents")
5107 (version "0.5.0.0")
5108 (source (origin
5109 (method url-fetch)
5110 (uri (string-append
5111 "https://hackage.haskell.org/package/indents/indents-"
5112 version ".tar.gz"))
5113 (sha256
5114 (base32
5115 "1ly3v41jacc6lrsvg4j3m5a6zs90gr8dyif5m6bf34hj1k5cgg0n"))))
5116 (build-system haskell-build-system)
5117 ;; This package needs an older version of tasty.
5118 (arguments '(#:tests? #f))
5119 (inputs
5120 `(("ghc-concatenative" ,ghc-concatenative)))
5121 (native-inputs
5122 `(("ghc-tasty" ,ghc-tasty)
5123 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
5124 (home-page "http://patch-tag.com/r/salazar/indents")
5125 (synopsis "Indentation sensitive parser-combinators for parsec")
5126 (description
5127 "This library provides functions for use in parsing indentation sensitive
5128contexts. It parses blocks of lines all indented to the same level as well as
5129lines continued at an indented level below.")
5130 (license license:bsd-3)))
5131
5132(define-public ghc-inline-c
5133 (package
5134 (name "ghc-inline-c")
5135 (version "0.6.1.0")
5136 (source
5137 (origin
5138 (method url-fetch)
5139 (uri (string-append "https://hackage.haskell.org/package/inline-c/"
5140 "inline-c-" version ".tar.gz"))
5141 (sha256
5142 (base32
5143 "0vbfrsqsi7mdziqsnj68bsqlwbqxxhvrmy9rv6w8z18d1m8w3n6h"))))
5144 (build-system haskell-build-system)
5145 (inputs
5146 `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
5147 ("ghc-cryptohash" ,ghc-cryptohash)
5148 ("ghc-hashable" ,ghc-hashable)
5149 ("ghc-parsers" ,ghc-parsers)
5150 ("ghc-unordered-containers" ,ghc-unordered-containers)
5151 ("ghc-vector" ,ghc-vector)))
5152 (native-inputs
5153 `(("ghc-quickcheck" ,ghc-quickcheck)
5154 ("ghc-hspec" ,ghc-hspec)
5155 ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)
5156 ("ghc-regex-posix" ,ghc-regex-posix)))
5157 (home-page "http://hackage.haskell.org/package/inline-c")
5158 (synopsis "Write Haskell source files including C code inline")
5159 (description
5160 "inline-c lets you seamlessly call C libraries and embed high-performance
5161inline C code in Haskell modules. Haskell and C can be freely intermixed in
5162the same source file, and data passed to and from code in either language with
5163minimal overhead. No FFI required.")
5164 (license license:expat)))
5165
5166(define-public ghc-inline-c-cpp
5167 (package
5168 (name "ghc-inline-c-cpp")
5169 (version "0.2.2.1")
5170 (source
5171 (origin
5172 (method url-fetch)
5173 (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/"
5174 "inline-c-cpp-" version ".tar.gz"))
5175 (sha256
5176 (base32
5177 "1rk7fmpkmxw9hhwr8df29kadnf0ybnwj64ggdbnsdrpfyhnkisci"))))
5178 (build-system haskell-build-system)
5179 (inputs
5180 `(("ghc-inline-c" ,ghc-inline-c)
5181 ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
5182 (native-inputs
5183 `(("ghc-hspec" ,ghc-hspec)))
5184 (home-page "https://hackage.haskell.org/package/inline-c-cpp")
5185 (synopsis "Lets you embed C++ code into Haskell")
5186 (description
5187 "This package provides utilities to inline C++ code into Haskell using
5188@code{inline-c}.")
5189 (license license:expat)))
5190
5191(define-public ghc-integer-logarithms
5192 (package
5193 (name "ghc-integer-logarithms")
5194 (version "1.0.2.1")
5195 (source
5196 (origin
5197 (method url-fetch)
5198 (uri (string-append "https://hackage.haskell.org/package/"
5199 "integer-logarithms/integer-logarithms-"
5200 version ".tar.gz"))
5201 (sha256
5202 (base32
5203 "1wj8kgjg5bn2yrs4zh9qfjv85cx6w998j9pi39yrbv305944mb9j"))))
5204 (build-system haskell-build-system)
5205 (arguments
5206 `(#:phases
5207 (modify-phases %standard-phases
5208 (add-before 'configure 'update-constraints
5209 (lambda _
5210 (substitute* "integer-logarithms.cabal"
5211 (("tasty >= 0\\.10 && < 1\\.1")
5212 "tasty >= 0.10 && < 1.2")))))))
5213 (native-inputs
5214 `(("ghc-quickcheck" ,ghc-quickcheck)
5215 ("ghc-smallcheck" ,ghc-smallcheck)
5216 ("ghc-tasty" ,ghc-tasty)
5217 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5218 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
5219 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)))
5220 (home-page "https://github.com/Bodigrim/integer-logarithms")
5221 (synopsis "Integer logarithms")
5222 (description
5223 "This package provides the following modules:
5224@code{Math.NumberTheory.Logarithms} and
5225@code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package,
5226@code{GHC.Integer.Logarithms.Compat} and
5227@code{Math.NumberTheory.Power.Natural}, as well as some additional functions
5228in migrated modules.")
5229 (license license:expat)))
5230
5231(define-public ghc-integer-logarithms-bootstrap
5232 (package
5233 (inherit ghc-integer-logarithms)
5234 (name "ghc-integer-logarithms-bootstrap")
5235 (arguments `(#:tests? #f))
5236 (native-inputs '())
799d8d3c 5237 (properties '((hidden? #t)))))
dddbc90c
RV
5238
5239(define-public ghc-interpolate
5240 (package
5241 (name "ghc-interpolate")
5242 (version "0.2.0")
5243 (source
5244 (origin
5245 (method url-fetch)
5246 (uri (string-append "https://hackage.haskell.org/package/interpolate/"
5247 "interpolate-" version ".tar.gz"))
5248 (sha256
5249 (base32
5250 "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf"))))
5251 (build-system haskell-build-system)
5252 (inputs
5253 `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta)))
5254 (native-inputs
5255 `(("ghc-base-compat" ,ghc-base-compat)
5256 ("ghc-hspec" ,ghc-hspec)
5257 ("ghc-quickcheck" ,ghc-quickcheck)
5258 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
5259 ("hspec-discover" ,hspec-discover)))
5260 (home-page "https://github.com/sol/interpolate")
5261 (synopsis "String interpolation library")
5262 (description "This package provides a string interpolation library for
5263Haskell.")
5264 (license license:expat)))
5265
5266(define-public ghc-intervalmap
5267 (package
5268 (name "ghc-intervalmap")
e4946e32 5269 (version "0.6.1.1")
dddbc90c
RV
5270 (source
5271 (origin
5272 (method url-fetch)
5273 (uri (string-append "https://hackage.haskell.org/package/IntervalMap/"
5274 "IntervalMap-" version ".tar.gz"))
5275 (sha256
5276 (base32
e4946e32 5277 "0vdlvxvhf7vjyv0mfn6jaj2i2gclqv8419ck32s2jxfcmki5m5g8"))))
dddbc90c
RV
5278 (build-system haskell-build-system)
5279 (native-inputs
5280 `(("ghc-quickcheck" ,ghc-quickcheck)))
5281 (home-page "http://www.chr-breitkopf.de/comp/IntervalMap")
5282 (synopsis "Containers for intervals, with efficient search")
5283 (description
5284 "This package provides ordered containers of intervals, with efficient
5285search for all keys containing a point or overlapping an interval. See the
5286example code on the home page for a quick introduction.")
5287 (license license:bsd-3)))
5288
5289(define-public ghc-invariant
5290 (package
5291 (name "ghc-invariant")
5292 (version "0.5.1")
5293 (source
5294 (origin
5295 (method url-fetch)
5296 (uri (string-append
5297 "https://hackage.haskell.org/package/invariant/invariant-"
5298 version ".tar.gz"))
5299 (sha256
5300 (base32
5301 "0aqj7z55632qdg45074kgn9qfdxzb0a2f8lgjzr0l0i4mm2rr37b"))))
5302 (build-system haskell-build-system)
5303 (inputs
5304 `(("ghc-bifunctors" ,ghc-bifunctors)
5305 ("ghc-comonad" ,ghc-comonad)
5306 ("ghc-contravariant" ,ghc-contravariant)
5307 ("ghc-profunctors" ,ghc-profunctors)
5308 ("ghc-semigroups" ,ghc-semigroups)
5309 ("ghc-statevar" ,ghc-statevar)
5310 ("ghc-tagged" ,ghc-tagged)
5311 ("ghc-th-abstraction" ,ghc-th-abstraction)
5312 ("ghc-transformers-compat" ,ghc-transformers-compat)
5313 ("ghc-unordered-containers" ,ghc-unordered-containers)))
5314 (native-inputs
5315 `(("ghc-hspec" ,ghc-hspec)
5316 ("ghc-quickcheck" ,ghc-quickcheck)
5317 ("hspec-discover" ,hspec-discover)))
5318 (home-page "https://github.com/nfrisby/invariant-functors")
5319 (synopsis "Haskell98 invariant functors")
5320 (description "Haskell98 invariant functors (also known as exponential
5321functors). For more information, see Edward Kmett's article
5322@uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.")
5323 (license license:bsd-2)))
5324
5325(define-public ghc-io-streams
5326 (package
5327 (name "ghc-io-streams")
5328 (version "1.5.0.1")
5329 (source
5330 (origin
5331 (method url-fetch)
5332 (uri (string-append "https://hackage.haskell.org/package/"
5333 "io-streams/io-streams-" version ".tar.gz"))
5334 (sha256
5335 (base32
5336 "12rcdg2d70644bvn838fxcjkssqj8pssnx5y657si5rijcbkgjsx"))))
5337 (build-system haskell-build-system)
5338 (inputs
5339 `(("ghc-attoparsec" ,ghc-attoparsec)
5340 ("ghc-bytestring-builder" ,ghc-bytestring-builder)
5341 ("ghc-network" ,ghc-network)
5342 ("ghc-primitive" ,ghc-primitive)
5343 ("ghc-vector" ,ghc-vector)
5344 ("ghc-zlib-bindings" ,ghc-zlib-bindings)))
5345 (native-inputs
5346 `(("ghc-hunit" ,ghc-hunit)
5347 ("ghc-quickcheck" ,ghc-quickcheck)
5348 ("ghc-test-framework" ,ghc-test-framework)
5349 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5350 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5351 ("ghc-zlib" ,ghc-zlib)))
5352 (arguments
5353 `(#:cabal-revision
5354 ("2" "1mcab95d6hm098myh9gp7sh10srigjphgvm8s9pfs7jg5hzghy14")))
5355 (home-page "http://hackage.haskell.org/package/io-streams")
5356 (synopsis "Simple and composable stream I/O")
5357 (description "This library contains simple and easy-to-use
5358primitives for I/O using streams.")
5359 (license license:bsd-3)))
5360
5361(define-public ghc-io-streams-haproxy
5362 (package
5363 (name "ghc-io-streams-haproxy")
5364 (version "1.0.0.2")
5365 (source
5366 (origin
5367 (method url-fetch)
5368 (uri (string-append "https://hackage.haskell.org/package/"
5369 "io-streams-haproxy/io-streams-haproxy-"
5370 version ".tar.gz"))
5371 (sha256
5372 (base32
5373 "11nh9q158mgnvvb23s5ffg87lkhl5smk039yl43jghxmb214z0bp"))))
5374 (build-system haskell-build-system)
5375 (inputs
5376 `(("ghc-attoparsec" ,ghc-attoparsec)
5377 ("ghc-io-streams" ,ghc-io-streams)
5378 ("ghc-network" ,ghc-network)))
5379 (native-inputs
5380 `(("ghc-hunit" ,ghc-hunit)
5381 ("ghc-test-framework" ,ghc-test-framework)
5382 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
5383 (arguments
5384 `(#:cabal-revision
5385 ("4" "06c51a057n5bc9xfbp2m4jz5ds4z1xvmsx5mppch6qfwbz7x5i9l")))
5386 (home-page "http://snapframework.com/")
5387 (synopsis "HAProxy protocol 1.5 support for io-streams")
5388 (description "HAProxy protocol version 1.5 support
5389(see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt})
5390for applications using io-streams. The proxy protocol allows information
5391about a networked peer (like remote address and port) to be propagated
5392through a forwarding proxy that is configured to speak this protocol.")
5393 (license license:bsd-3)))
5394
5395(define-public ghc-iproute
5396 (package
5397 (name "ghc-iproute")
5398 (version "1.7.5")
5399 (source
5400 (origin
5401 (method url-fetch)
5402 (uri (string-append
5403 "https://hackage.haskell.org/package/iproute/iproute-"
5404 version
5405 ".tar.gz"))
5406 (sha256
5407 (base32
5408 "1vw1nm3s8vz1hqnjnqd3wh5rr4q3m2r4izn5ynhf93h9185qwqzd"))))
5409 (build-system haskell-build-system)
5410 (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder,
5411 ; exported by ghc-byteorder. Doctest issue.
5412 (inputs
5413 `(("ghc-appar" ,ghc-appar)
5414 ("ghc-byteorder" ,ghc-byteorder)
5415 ("ghc-network" ,ghc-network)
5416 ("ghc-safe" ,ghc-safe)))
5417 (home-page "https://www.mew.org/~kazu/proj/iproute/")
5418 (synopsis "IP routing table")
5419 (description "IP Routing Table is a tree of IP ranges to search one of
5420them on the longest match base. It is a kind of TRIE with one way branching
5421removed. Both IPv4 and IPv6 are supported.")
5422 (license license:bsd-3)))
5423
5424(define-public ghc-iwlib
5425 (package
5426 (name "ghc-iwlib")
5427 (version "0.1.0")
5428 (source
5429 (origin
5430 (method url-fetch)
5431 (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-"
5432 version ".tar.gz"))
5433 (sha256
5434 (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz"))))
5435 (build-system haskell-build-system)
5436 (inputs
5437 `(("wireless-tools" ,wireless-tools)))
5438 (home-page "https://github.com/jaor/iwlib")
5439 (synopsis "Haskell binding to the iw wireless networking library")
5440 (description
5441 "IWlib is a thin Haskell binding to the iw C library. It provides
5442information about the current wireless network connections, and adapters on
5443supported systems.")
5444 (license license:bsd-3)))
5445
5446(define-public ghc-json
5447 (package
5448 (name "ghc-json")
0ad3d574 5449 (version "0.9.3")
dddbc90c
RV
5450 (source
5451 (origin
5452 (method url-fetch)
5453 (uri (string-append "https://hackage.haskell.org/package/json/"
5454 "json-" version ".tar.gz"))
5455 (sha256
5456 (base32
0ad3d574 5457 "1z8s3mfg76p2flqqd2wqsi96l5bg8k8w8m58zlv81pw3k7h1vbwb"))))
dddbc90c
RV
5458 (build-system haskell-build-system)
5459 (inputs
5460 `(("ghc-syb" ,ghc-syb)))
5461 (home-page "https://hackage.haskell.org/package/json")
5462 (synopsis "Serializes Haskell data to and from JSON")
5463 (description "This package provides a parser and pretty printer for
5464converting between Haskell values and JSON.
5465JSON (JavaScript Object Notation) is a lightweight data-interchange format.")
5466 (license license:bsd-3)))
5467
5468(define-public ghc-juicypixels
5469 (package
5470 (name "ghc-juicypixels")
5471 (version "3.2.9.5")
5472 (source (origin
5473 (method url-fetch)
5474 (uri (string-append "https://hackage.haskell.org/package/"
5475 "JuicyPixels/JuicyPixels-"
5476 version ".tar.gz"))
5477 (sha256
5478 (base32
5479 "0mf3ihr0xy2wc2wzb9a17g0n3p60x7pvm8akwpvhdy8klvs6r744"))))
5480 (build-system haskell-build-system)
5481 (inputs
5482 `(("ghc-zlib" ,ghc-zlib)
5483 ("ghc-vector" ,ghc-vector)
5484 ("ghc-primitive" ,ghc-primitive)
5485 ("ghc-mmap" ,ghc-mmap)))
5486 (home-page "https://github.com/Twinside/Juicy.Pixels")
5487 (synopsis "Picture loading and serialization library")
5488 (description
5489 "This library can load and store images in PNG, Bitmap, JPEG, Radiance,
5490TIFF and GIF formats.")
5491 (license license:bsd-3)))
5492
5493(define-public ghc-kan-extensions
5494 (package
5495 (name "ghc-kan-extensions")
5496 (version "5.2")
5497 (source
5498 (origin
5499 (method url-fetch)
5500 (uri (string-append
5501 "https://hackage.haskell.org/package/kan-extensions/kan-extensions-"
5502 version
5503 ".tar.gz"))
5504 (sha256
5505 (base32
5506 "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb"))))
5507 (build-system haskell-build-system)
5508 (inputs
5509 `(("ghc-adjunctions" ,ghc-adjunctions)
5510 ("ghc-comonad" ,ghc-comonad)
5511 ("ghc-contravariant" ,ghc-contravariant)
5512 ("ghc-distributive" ,ghc-distributive)
5513 ("ghc-free" ,ghc-free)
5514 ("ghc-invariant" ,ghc-invariant)
5515 ("ghc-semigroupoids" ,ghc-semigroupoids)
5516 ("ghc-tagged" ,ghc-tagged)
5517 ("ghc-transformers-compat" ,ghc-transformers-compat)))
5518 (home-page "https://github.com/ekmett/kan-extensions/")
5519 (synopsis "Kan extensions library")
5520 (description "This library provides Kan extensions, Kan lifts, various
5521forms of the Yoneda lemma, and (co)density (co)monads for Haskell.")
5522 (license license:bsd-3)))
5523
5524(define-public ghc-language-c
5525 (package
5526 (name "ghc-language-c")
4e1cf651 5527 (version "0.8.3")
dddbc90c
RV
5528 (source
5529 (origin
5530 (method url-fetch)
5531 (uri (string-append "https://hackage.haskell.org/package/"
5532 "language-c/language-c-" version ".tar.gz"))
5533 (sha256
5534 (base32
4e1cf651 5535 "0bi02jdirkys8v7flf39vrpla2a74z1z0sdhy9lb9v7cmcc6rmpk"))))
dddbc90c
RV
5536 (build-system haskell-build-system)
5537 (inputs `(("ghc-syb" ,ghc-syb)))
5538 (native-inputs
5539 `(("ghc-happy" ,ghc-happy)
5540 ("ghc-alex" ,ghc-alex)))
5541 (home-page "https://visq.github.io/language-c/")
5542 (synopsis "Analysis and generation of C code")
5543 (description
5544 "Language C is a Haskell library for the analysis and generation of C code.
5545It features a complete, well-tested parser and pretty printer for all of C99
5546and a large set of GNU extensions.")
5547 (license license:bsd-3)))
5548
5549(define-public ghc-language-glsl
5550 (package
5551 (name "ghc-language-glsl")
5552 (version "0.3.0")
5553 (source
5554 (origin
5555 (method url-fetch)
5556 (uri (string-append "https://hackage.haskell.org/package/"
5557 "language-glsl/language-glsl-" version ".tar.gz"))
5558 (sha256
5559 (base32
5560 "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1"))))
5561 (build-system haskell-build-system)
5562 (inputs `(("ghc-prettyclass" ,ghc-prettyclass)))
5563 (arguments
5564 `(#:tests? #f
5565 #:cabal-revision
5566 ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5")))
5567 (home-page "http://hackage.haskell.org/package/language-glsl")
5568 (synopsis "GLSL abstract syntax tree, parser, and pretty-printer")
5569 (description "This package is a Haskell library for the
5570representation, parsing, and pretty-printing of GLSL 1.50 code.")
5571 (license license:bsd-3)))
5572
5573(define-public ghc-language-haskell-extract
5574 (package
5575 (name "ghc-language-haskell-extract")
5576 (version "0.2.4")
5577 (source
5578 (origin
5579 (method url-fetch)
5580 (uri (string-append "https://hackage.haskell.org/package/"
5581 "language-haskell-extract-" version "/"
5582 "language-haskell-extract-" version ".tar.gz"))
5583 (sha256
5584 (base32
5585 "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl"))))
5586 (build-system haskell-build-system)
5587 (inputs
5588 `(("ghc-regex-posix" ,ghc-regex-posix)))
5589 (home-page "https://github.com/finnsson/template-helper")
5590 (synopsis "Haskell module to automatically extract functions from
5591the local code")
5592 (description "This package contains helper functions on top of
5593Template Haskell.
5594
5595For example, @code{functionExtractor} extracts all functions after a
5596regexp-pattern, which can be useful if you wish to extract all functions
5597beginning with @code{test} (for a test framework) or all functions beginning
5598with @code{wc} (for a web service).")
5599 (license license:bsd-3)))
5600
5601(define-public ghc-lens
5602 (package
5603 (name "ghc-lens")
5604 (version "4.16.1")
5605 (source
5606 (origin
5607 (method url-fetch)
5608 (uri (string-append "https://hackage.haskell.org/package/lens/lens-"
5609 version ".tar.gz"))
5610 (sha256
5611 (base32
5612 "1im4drhbydbawd6i0jsrzpqihnmx4ywpkg7yg94ddwsw3mxwkgpm"))))
5613 (build-system haskell-build-system)
5614 (arguments
5615 `(#:cabal-revision
5616 ("2" "11h83lj5mba4grhz1qx3irz10ysm9c3k7k6i6xv2cr60q8xin3ri")))
5617 (inputs
5618 `(("ghc-base-orphans" ,ghc-base-orphans)
5619 ("ghc-bifunctors" ,ghc-bifunctors)
5620 ("ghc-distributive" ,ghc-distributive)
5621 ("ghc-exceptions" ,ghc-exceptions)
5622 ("ghc-free" ,ghc-free)
5623 ("ghc-kan-extensions" ,ghc-kan-extensions)
5624 ("ghc-parallel" ,ghc-parallel)
5625 ("ghc-reflection" ,ghc-reflection)
5626 ("ghc-semigroupoids" ,ghc-semigroupoids)
5627 ("ghc-vector" ,ghc-vector)
5628 ("ghc-call-stack" ,ghc-call-stack)
5629 ("ghc-comonad" ,ghc-comonad)
5630 ("ghc-contravariant" ,ghc-contravariant)
5631 ("ghc-hashable" ,ghc-hashable)
5632 ("ghc-profunctors" ,ghc-profunctors)
5633 ("ghc-semigroups" ,ghc-semigroups)
5634 ("ghc-tagged" ,ghc-tagged)
5635 ("ghc-transformers-compat" ,ghc-transformers-compat)
5636 ("ghc-unordered-containers" ,ghc-unordered-containers)
5637 ("ghc-void" ,ghc-void)
5638 ("ghc-generic-deriving" ,ghc-generic-deriving)
5639 ("ghc-nats" ,ghc-nats)
5640 ("ghc-simple-reflect" ,ghc-simple-reflect)
5641 ("hlint" ,hlint)))
5642 (native-inputs
5643 `(("cabal-doctest" ,cabal-doctest)
5644 ("ghc-doctest" ,ghc-doctest)
5645 ("ghc-hunit" ,ghc-hunit)
5646 ("ghc-test-framework" ,ghc-test-framework)
5647 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5648 ("ghc-test-framework-th" ,ghc-test-framework-th)
5649 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5650 ("ghc-quickcheck" ,ghc-quickcheck)))
5651 (home-page "https://github.com/ekmett/lens/")
5652 (synopsis "Lenses, Folds and Traversals")
5653 (description "This library provides @code{Control.Lens}. The combinators
5654in @code{Control.Lens} provide a highly generic toolbox for composing families
5655of getters, folds, isomorphisms, traversals, setters and lenses and their
5656indexed variants.")
5657 (license license:bsd-3)))
5658
5659(define-public ghc-libffi
5660 (package
5661 (name "ghc-libffi")
5662 (version "0.1")
5663 (source
5664 (origin
5665 (method url-fetch)
5666 (uri (string-append "https://hackage.haskell.org/package/"
5667 "libffi/libffi-" version ".tar.gz"))
5668 (sha256
5669 (base32
5670 "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28"))))
5671 (build-system haskell-build-system)
5672 (native-inputs `(("pkg-config" ,pkg-config)))
5673 (inputs `(("libffi" ,libffi)))
5674 (home-page "http://hackage.haskell.org/package/libffi")
5675 (synopsis "Haskell binding to libffi")
5676 (description
5677 "A binding to libffi, allowing C functions of types only known at runtime
5678to be called from Haskell.")
5679 (license license:bsd-3)))
5680
5681(define-public ghc-libmpd
5682 (package
5683 (name "ghc-libmpd")
5684 (version "0.9.0.9")
5685 (source
5686 (origin
5687 (method url-fetch)
5688 (uri (string-append
5689 "mirror://hackage/package/libmpd/libmpd-"
5690 version
5691 ".tar.gz"))
5692 (sha256
5693 (base32
5694 "1931m23iqb4wddpdidm4ph746zpaw41kkjzmb074j7yyfpk7x1jv"))))
5695 (build-system haskell-build-system)
5696 ;; Tests fail on i686.
5697 ;; See https://github.com/vimus/libmpd-haskell/issues/112
5698 (arguments `(#:tests? #f))
5699 (inputs
5700 `(("ghc-attoparsec" ,ghc-attoparsec)
5701 ("ghc-old-locale" ,ghc-old-locale)
5702 ("ghc-data-default-class" ,ghc-data-default-class)
5703 ("ghc-network" ,ghc-network)
5704 ("ghc-utf8-string" ,ghc-utf8-string)))
5705 (native-inputs
5706 `(("ghc-quickcheck" ,ghc-quickcheck)
5707 ("ghc-hspec" ,ghc-hspec)
5708 ("hspec-discover" ,hspec-discover)))
5709 (home-page "https://github.com/vimus/libmpd-haskell")
5710 (synopsis "Haskell client library for the Music Player Daemon")
5711 (description "This package provides a pure Haskell client library for the
5712Music Player Daemon.")
5713 (license license:expat)))
5714
5715(define-public ghc-libxml
5716 (package
5717 (name "ghc-libxml")
5718 (version "0.1.1")
5719 (source
5720 (origin
5721 (method url-fetch)
5722 (uri (string-append "https://hackage.haskell.org/package/libxml/"
5723 "libxml-" version ".tar.gz"))
5724 (sha256
5725 (base32
5726 "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
5727 (build-system haskell-build-system)
5728 (inputs
5729 `(("libxml2" ,libxml2)))
5730 (arguments
5731 `(#:configure-flags
5732 `(,(string-append "--extra-include-dirs="
5733 (assoc-ref %build-inputs "libxml2")
5734 "/include/libxml2"))))
5735 (home-page "https://hackage.haskell.org/package/libxml")
5736 (synopsis "Haskell bindings to libxml2")
5737 (description
5738 "This library provides minimal Haskell binding to libxml2.")
5739 (license license:bsd-3)))
5740
5741(define-public ghc-lifted-async
5742 (package
5743 (name "ghc-lifted-async")
5744 (version "0.10.0.2")
5745 (source
5746 (origin
5747 (method url-fetch)
5748 (uri (string-append
5749 "https://hackage.haskell.org/package/lifted-async/lifted-async-"
5750 version ".tar.gz"))
5751 (sha256
5752 (base32
5753 "1073r512c1x2m1v0jar9bwqg656slg7jd1jhsyj6m8awgx1l1mwf"))))
5754 (build-system haskell-build-system)
5755 (inputs
5756 `(("ghc-async" ,ghc-async)
5757 ("ghc-lifted-base" ,ghc-lifted-base)
5758 ("ghc-transformers-base" ,ghc-transformers-base)
5759 ("ghc-monad-control" ,ghc-monad-control)
5760 ("ghc-constraints" ,ghc-constraints)
5761 ("ghc-hunit" ,ghc-hunit)
5762 ("ghc-tasty" ,ghc-tasty)
5763 ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure)
5764 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5765 ("ghc-tasty-th" ,ghc-tasty-th)))
5766 (home-page "https://github.com/maoe/lifted-async")
5767 (synopsis "Run lifted IO operations asynchronously and wait for their results")
5768 (description
5769 "This package provides IO operations from @code{async} package lifted to any
5770instance of @code{MonadBase} or @code{MonadBaseControl}.")
5771 (license license:bsd-3)))
5772
5773(define-public ghc-lifted-base
5774 (package
5775 (name "ghc-lifted-base")
5776 (version "0.2.3.12")
5777 (source
5778 (origin
5779 (method url-fetch)
5780 (uri (string-append
5781 "https://hackage.haskell.org/package/lifted-base/lifted-base-"
5782 version
5783 ".tar.gz"))
5784 (sha256
5785 (base32
5786 "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61"))))
5787 (build-system haskell-build-system)
5788 (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
5789 (inputs
5790 `(("ghc-transformers-base" ,ghc-transformers-base)
5791 ("ghc-monad-control" ,ghc-monad-control)
5792 ("ghc-transformers-compat" ,ghc-transformers-compat)
5793 ("ghc-hunit" ,ghc-hunit)))
5794 (home-page "https://github.com/basvandijk/lifted-base")
5795 (synopsis "Lifted IO operations from the base library")
5796 (description "Lifted-base exports IO operations from the @code{base}
5797library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}.
5798Note that not all modules from @code{base} are converted yet. The package
5799includes a copy of the @code{monad-peel} test suite written by Anders
5800Kaseorg.")
5801 (license license:bsd-3)))
5802
5803(define-public ghc-linear
5804 (package
5805 (name "ghc-linear")
5806 (version "1.20.8")
5807 (source
5808 (origin
5809 (method url-fetch)
5810 (uri (string-append "https://hackage.haskell.org/package/linear/"
5811 "linear-" version ".tar.gz"))
5812 (sha256
5813 (base32
5814 "046vkvxlb0s286qr55s0c6db0rlwbm1cmlmwhrrkqbkzhfcipgay"))))
5815 (build-system haskell-build-system)
5816 (inputs
5817 `(("ghc-adjunctions" ,ghc-adjunctions)
5818 ("ghc-base-orphans" ,ghc-base-orphans)
5819 ("ghc-bytes" ,ghc-bytes)
5820 ("ghc-cereal" ,ghc-cereal)
5821 ("ghc-distributive" ,ghc-distributive)
5822 ("ghc-hashable" ,ghc-hashable)
5823 ("ghc-lens" ,ghc-lens)
5824 ("ghc-reflection" ,ghc-reflection)
5825 ("ghc-semigroups" ,ghc-semigroups)
5826 ("ghc-semigroupoids" ,ghc-semigroupoids)
5827 ("ghc-tagged" ,ghc-tagged)
5828 ("ghc-transformers-compat" ,ghc-transformers-compat)
5829 ("ghc-unordered-containers" ,ghc-unordered-containers)
5830 ("ghc-vector" ,ghc-vector)
5831 ("ghc-void" ,ghc-void)))
5832 (native-inputs
5833 `(("cabal-doctest" ,cabal-doctest)
5834 ("ghc-doctest" ,ghc-doctest)
5835 ("ghc-simple-reflect" ,ghc-simple-reflect)
5836 ("ghc-test-framework" ,ghc-test-framework)
5837 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5838 ("ghc-hunit" ,ghc-hunit)))
5839 (home-page "http://github.com/ekmett/linear/")
5840 (synopsis "Linear algebra library for Haskell")
5841 (description
5842 "This package provides types and combinators for linear algebra on free
5843vector spaces.")
5844 (license license:bsd-3)))
1307e4c7
JS
5845
5846(define-public ghc-listlike
5847 (package
5848 (name "ghc-listlike")
5849 (version "4.6.2")
5850 (source
5851 (origin
5852 (method url-fetch)
5853 (uri
5854 (string-append
5855 "https://hackage.haskell.org/package/ListLike/ListLike-"
5856 version ".tar.gz"))
5857 (sha256
5858 (base32
5859 "0m65x8yaq7q50gznln8mga2wrc8cvjx6gw9rim8s7xqcrx6y5zjh"))))
5860 (build-system haskell-build-system)
5861 (inputs
5862 `(("ghc-vector" ,ghc-vector)
5863 ("ghc-dlist" ,ghc-dlist)
5864 ("ghc-fmlist" ,ghc-fmlist)
5865 ("ghc-hunit" ,ghc-hunit)
5866 ("ghc-quickcheck" ,ghc-quickcheck)
5867 ("ghc-random" ,ghc-random)
5868 ("ghc-utf8-string" ,ghc-utf8-string)))
5869 (home-page "https://github.com/JohnLato/listlike")
5870 (synopsis "Generic support for list-like structures")
5871 (description "The ListLike module provides a common interface to the
5872various Haskell types that are list-like. Predefined interfaces include
5873standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings.
5874Custom types can easily be made ListLike instances as well.
5875
5876ListLike also provides for String-like types, such as String and
5877ByteString, for types that support input and output, and for types that
5878can handle infinite lists.")
5879 (license license:bsd-3)))
dddbc90c
RV
5880
5881(define-public ghc-logging-facade
5882 (package
5883 (name "ghc-logging-facade")
5884 (version "0.3.0")
5885 (source (origin
5886 (method url-fetch)
5887 (uri (string-append "https://hackage.haskell.org/package/"
5888 "logging-facade/logging-facade-"
5889 version ".tar.gz"))
5890 (sha256
5891 (base32
5892 "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf"))))
5893 (build-system haskell-build-system)
5894 (native-inputs
5895 `(("ghc-hspec" ,ghc-hspec)
5896 ("hspec-discover" ,hspec-discover)))
5897 (home-page "https://hackage.haskell.org/package/logging-facade")
5898 (synopsis "Simple logging abstraction that allows multiple back-ends")
5899 (description
5900 "This package provides a simple logging abstraction that allows multiple
5901back-ends.")
5902 (license license:expat)))
5903
5904(define-public ghc-logict
5905 (package
5906 (name "ghc-logict")
5907 (version "0.6.0.2")
5908 (source
5909 (origin
5910 (method url-fetch)
5911 (uri (string-append
5912 "https://hackage.haskell.org/package/logict/logict-"
5913 version
5914 ".tar.gz"))
5915 (sha256
5916 (base32
5917 "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi"))))
5918 (build-system haskell-build-system)
5919 (home-page "http://code.haskell.org/~dolio/")
5920 (synopsis "Backtracking logic-programming monad")
5921 (description "This library provides a continuation-based, backtracking,
5922logic programming monad. An adaptation of the two-continuation implementation
5923found in the paper \"Backtracking, Interleaving, and Terminating Monad
5924Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf,
5925online}.")
5926 (license license:bsd-3)))
5927
5928(define-public ghc-lzma
5929 (package
5930 (name "ghc-lzma")
5931 (version "0.0.0.3")
5932 (source
5933 (origin
5934 (method url-fetch)
5935 (uri (string-append "https://hackage.haskell.org/package/lzma/"
5936 "lzma-" version ".tar.gz"))
5937 (sha256
5938 (base32
5939 "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg"))))
5940 (build-system haskell-build-system)
5941 (arguments
5942 '(#:tests? #f ; requires older versions of QuickCheck and tasty.
5943 #:cabal-revision
5944 ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m")))
5945 (native-inputs
5946 `(("ghc-hunit" ,ghc-hunit)
5947 ("ghc-quickcheck" ,ghc-quickcheck)
5948 ("ghc-tasty" ,ghc-tasty)
5949 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
5950 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
5951 (home-page "https://github.com/hvr/lzma")
5952 (synopsis "LZMA/XZ compression and decompression")
5953 (description
5954 "This package provides a pure interface for compressing and
5955decompressing LZMA streams of data represented as lazy @code{ByteString}s. A
5956monadic incremental interface is provided as well.")
5957 (license license:bsd-3)))
5958
5959(define-public ghc-lzma-conduit
5960 (package
5961 (name "ghc-lzma-conduit")
5962 (version "1.2.1")
5963 (source
5964 (origin
5965 (method url-fetch)
5966 (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/"
5967 "lzma-conduit-" version ".tar.gz"))
5968 (sha256
5969 (base32
5970 "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9"))))
5971 (build-system haskell-build-system)
5972 (inputs
5973 `(("ghc-conduit" ,ghc-conduit)
5974 ("ghc-lzma" ,ghc-lzma)
5975 ("ghc-resourcet" ,ghc-resourcet)))
5976 (native-inputs
5977 `(("ghc-base-compat" ,ghc-base-compat)
5978 ("ghc-test-framework" ,ghc-test-framework)
5979 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
5980 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
5981 ("ghc-hunit" ,ghc-hunit)
5982 ("ghc-quickcheck" ,ghc-quickcheck)))
5983 (home-page "https://github.com/alphaHeavy/lzma-conduit")
5984 (synopsis "Conduit interface for lzma/xz compression")
5985 (description
5986 "This package provides a @code{Conduit} interface for the LZMA
5987compression algorithm used in the @code{.xz} file format.")
5988 (license license:bsd-3)))
5989
e405912c
KM
5990(define-public ghc-magic
5991 (package
5992 (name "ghc-magic")
5993 (version "1.1")
5994 (source
5995 (origin
5996 (method url-fetch)
5997 (uri (string-append
5998 "https://hackage.haskell.org/package/magic/magic-"
5999 version ".tar.gz"))
6000 (sha256
6001 (base32
6002 "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j"))))
6003 (build-system haskell-build-system)
6004 (home-page "http://hackage.haskell.org/package/magic")
6005 (synopsis "Interface to C file/magic library")
6006 (description
6007 "This package provides a full-featured binding to the C libmagic library.
6008With it, you can determine the type of a file by examining its contents rather
6009than its name.")
6010 (license license:bsd-3)))
6011
dddbc90c
RV
6012(define-public ghc-markdown-unlit
6013 (package
6014 (name "ghc-markdown-unlit")
6015 (version "0.5.0")
6016 (source (origin
6017 (method url-fetch)
6018 (uri (string-append
6019 "mirror://hackage/package/markdown-unlit/"
6020 "markdown-unlit-" version ".tar.gz"))
6021 (sha256
6022 (base32
6023 "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7"))))
6024 (build-system haskell-build-system)
6025 (inputs
6026 `(("ghc-base-compat" ,ghc-base-compat)
6027 ("ghc-hspec" ,ghc-hspec)
6028 ("ghc-quickcheck" ,ghc-quickcheck)
6029 ("ghc-silently" ,ghc-silently)
6030 ("ghc-stringbuilder" ,ghc-stringbuilder)
6031 ("ghc-temporary" ,ghc-temporary)
6032 ("hspec-discover" ,hspec-discover)))
6033 (home-page "https://github.com/sol/markdown-unlit#readme")
6034 (synopsis "Literate Haskell support for Markdown")
6035 (description "This package allows you to have a README.md that at the
6036same time is a literate Haskell program.")
6037 (license license:expat)))
6038
6039(define-public ghc-math-functions
6040 (package
6041 (name "ghc-math-functions")
6042 (version "0.2.1.0")
6043 (source
6044 (origin
6045 (method url-fetch)
6046 (uri (string-append "https://hackage.haskell.org/package/"
6047 "math-functions-" version "/"
6048 "math-functions-" version ".tar.gz"))
6049 (sha256
6050 (base32
6051 "1sv5vabsx332v1lpb6v3jv4zrzvpx1n7yprzd8wlcda5vsc5a6zp"))))
6052 (build-system haskell-build-system)
6053 (arguments `(#:tests? #f)) ; FIXME: 1 test fails.
6054 (inputs
6055 `(("ghc-vector" ,ghc-vector)
6056 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)))
6057 (native-inputs
6058 `(("ghc-hunit" ,ghc-hunit)
6059 ("ghc-quickcheck" ,ghc-quickcheck)
6060 ("ghc-erf" ,ghc-erf)
6061 ("ghc-test-framework" ,ghc-test-framework)
6062 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6063 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6064 (home-page "https://github.com/bos/math-functions")
6065 (synopsis "Special functions and Chebyshev polynomials for Haskell")
6066 (description "This Haskell library provides implementations of
6067special mathematical functions and Chebyshev polynomials. These
6068functions are often useful in statistical and numerical computing.")
6069 (license license:bsd-3)))
6070
6071(define-public ghc-megaparsec
6072 (package
6073 (name "ghc-megaparsec")
6074 (version "6.5.0")
6075 (source
6076 (origin
6077 (method url-fetch)
6078 (uri (string-append "https://hackage.haskell.org/package/"
6079 "megaparsec/megaparsec-"
6080 version ".tar.gz"))
6081 (sha256
6082 (base32
6083 "12iggy7qpf8x93jm64zf0g215xwy779bqyfyjk2bhmxqqr1yzgdy"))))
6084 (build-system haskell-build-system)
6085 (arguments
6086 `(#:cabal-revision
6087 ("4" "0ij3asi5vwlhbgwsy6nhli9a0qb7926mg809fsgyl1rnhs9fvpx1")))
6088 (inputs
6089 `(("ghc-case-insensitive" ,ghc-case-insensitive)
6090 ("ghc-parser-combinators" ,ghc-parser-combinators)
6091 ("ghc-scientific" ,ghc-scientific)))
6092 (native-inputs
6093 `(("ghc-quickcheck" ,ghc-quickcheck)
6094 ("ghc-hspec" ,ghc-hspec)
6095 ("ghc-hspec-expectations" ,ghc-hspec-expectations)
6096 ("hspec-discover" ,hspec-discover)))
6097 (home-page "https://github.com/mrkkrp/megaparsec")
6098 (synopsis "Monadic parser combinators")
6099 (description
6100 "This is an industrial-strength monadic parser combinator library.
6101Megaparsec is a feature-rich package that strikes a nice balance between
6102speed, flexibility, and quality of parse errors.")
6103 (license license:bsd-2)))
6104
4780db2c
EB
6105;;; Idris 1.3.2 requires 'megaparse>=7.0.4' but we'd like to keep the public
6106;;; package at the current Stackage LTS version:
6107(define-public ghc-megaparsec-7
6108 (hidden-package
6109 (package
6110 (inherit ghc-megaparsec)
6111 (version "7.0.5")
6112 (source
6113 (origin
6114 (method url-fetch)
6115 (uri (string-append "https://hackage.haskell.org/package/megaparsec/"
6116 "megaparsec-" version ".tar.gz"))
6117 (sha256
6118 (base32
6119 "0bqx1icbmk8s7wmbcdzsgnlh607c7kzg8l80cp02dxr5valjxp7j"))))
6120 (arguments (strip-keyword-arguments (list #:cabal-revision)
6121 (package-arguments ghc-megaparsec))))))
6122
dddbc90c
RV
6123(define-public ghc-memory
6124 (package
6125 (name "ghc-memory")
6126 (version "0.14.16")
6127 (source (origin
6128 (method url-fetch)
6129 (uri (string-append "https://hackage.haskell.org/package/"
6130 "memory/memory-" version ".tar.gz"))
6131 (sha256
6132 (base32
6133 "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v"))))
6134 (build-system haskell-build-system)
6135 (inputs
6136 `(("ghc-basement" ,ghc-basement)
6137 ("ghc-foundation" ,ghc-foundation)))
6138 (native-inputs
6139 `(("ghc-tasty" ,ghc-tasty)
6140 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
6141 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6142 (home-page "https://github.com/vincenthz/hs-memory")
6143 (synopsis "Memory abstractions for Haskell")
6144 (description
6145 "This package provides memory abstractions, such as chunk of memory,
6146polymorphic byte array management and manipulation functions. It contains a
6147polymorphic byte array abstraction and functions similar to strict ByteString,
6148different type of byte array abstraction, raw memory IO operations (memory
6149set, memory copy, ..) and more")
6150 (license license:bsd-3)))
6151
6152(define-public ghc-memotrie
6153 (package
6154 (name "ghc-memotrie")
6155 (version "0.6.9")
6156 (source
6157 (origin
6158 (method url-fetch)
6159 (uri (string-append
6160 "https://hackage.haskell.org/package/MemoTrie/MemoTrie-"
6161 version
6162 ".tar.gz"))
6163 (sha256
6164 (base32
6165 "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x"))))
6166 (build-system haskell-build-system)
6167 (inputs
6168 `(("ghc-newtype-generics" ,ghc-newtype-generics)))
6169 (home-page "https://github.com/conal/MemoTrie")
6170 (synopsis "Trie-based memo functions")
6171 (description "This package provides a functional library for creating
6172efficient memo functions using tries.")
6173 (license license:bsd-3)))
6174
6175(define-public ghc-microlens
6176 (package
6177 (name "ghc-microlens")
82478c58 6178 (version "0.4.10")
dddbc90c
RV
6179 (source
6180 (origin
6181 (method url-fetch)
6182 (uri (string-append "https://hackage.haskell.org/package/"
6183 "microlens-" version "/"
6184 "microlens-" version ".tar.gz"))
6185 (sha256
6186 (base32
82478c58 6187 "1v277yyy4p9q57xr2lfp6qs24agglfczmcabrapxrzci3jfshmcw"))))
dddbc90c
RV
6188 (build-system haskell-build-system)
6189 (home-page
6190 "https://github.com/aelve/microlens")
6191 (synopsis "Provides a tiny lens Haskell library with no dependencies")
6192 (description "This Haskell package provides a lens library, just like
6193@code{ghc-lens}, but smaller. It provides essential lenses and
6194traversals (like @code{_1} and @code{_Just}), as well as ones which are simply
6195nice to have (like @code{each}, @code{at}, and @code{ix}), and some
6196combinators (like @code{failing} and @code{singular}), but everything else is
6197stripped. As the result, this package has no dependencies.")
6198 (license license:bsd-3)))
6199
6200(define-public ghc-microlens-ghc
6201 (package
6202 (name "ghc-microlens-ghc")
027beb55 6203 (version "0.4.10")
dddbc90c
RV
6204 (source
6205 (origin
6206 (method url-fetch)
6207 (uri (string-append
6208 "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-"
6209 version
6210 ".tar.gz"))
6211 (sha256
6212 (base32
027beb55 6213 "102dbrdsdadxbbhvx8avv1wbk84767a7lkb8ckp3zxk9g7qlly33"))))
dddbc90c
RV
6214 (build-system haskell-build-system)
6215 (inputs `(("ghc-microlens" ,ghc-microlens)))
6216 (home-page "https://github.com/monadfix/microlens")
6217 (synopsis "Use @code{microlens} with GHC libraries like @code{array}")
6218 (description "This library provides everything that @code{microlens}
6219provides plus instances to make @code{each}, @code{at}, and @code{ix}
6220usable with arrays, @code{ByteString}, and containers. This package is
6221a part of the @uref{http://hackage.haskell.org/package/microlens,
6222microlens} family; see the readme
6223@uref{https://github.com/aelve/microlens#readme, on Github}.")
6224 (license license:bsd-3)))
6225
6226(define-public ghc-microlens-mtl
6227 (package
6228 (name "ghc-microlens-mtl")
6229 (version "0.1.11.1")
6230 (source
6231 (origin
6232 (method url-fetch)
6233 (uri (string-append
6234 "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-"
6235 version
6236 ".tar.gz"))
6237 (sha256
6238 (base32
6239 "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk"))))
6240 (build-system haskell-build-system)
6241 (inputs
6242 `(("ghc-microlens" ,ghc-microlens)
6243 ("ghc-transformers-compat" ,ghc-transformers-compat)))
6244 (home-page "https://github.com/monadfix/microlens")
6245 (synopsis
6246 "@code{microlens} support for Reader/Writer/State from mtl")
6247 (description
6248 "This package contains functions (like @code{view} or @code{+=}) which
6249work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the
6250mtl package. This package is a part of the
6251@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
6252readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
6253 (license license:bsd-3)))
6254
6255(define-public ghc-microlens-platform
6256 (package
6257 (name "ghc-microlens-platform")
6258 (version "0.3.10")
6259 (source
6260 (origin
6261 (method url-fetch)
6262 (uri (string-append
6263 "https://hackage.haskell.org/package/"
6264 "microlens-platform/microlens-platform-" version ".tar.gz"))
6265 (sha256
6266 (base32
6267 "1d4nhmgf9jq0ixc7qhwm7aaw3xdr0nalw58d0ydsydgf02cyazwv"))))
6268 (build-system haskell-build-system)
6269 (inputs
6270 `(("ghc-hashable" ,ghc-hashable)
6271 ("ghc-microlens" ,ghc-microlens)
6272 ("ghc-microlens-ghc" ,ghc-microlens-ghc)
6273 ("ghc-microlens-mtl" ,ghc-microlens-mtl)
6274 ("ghc-microlens-th" ,ghc-microlens-th)
6275 ("ghc-unordered-containers" ,ghc-unordered-containers)
6276 ("ghc-vector" ,ghc-vector)))
6277 (home-page "https://github.com/monadfix/microlens")
6278 (synopsis "Feature-complete microlens")
6279 (description
6280 "This package exports a module which is the recommended starting point
6281for using @uref{http://hackage.haskell.org/package/microlens, microlens} if
6282you aren't trying to keep your dependencies minimal. By importing
6283@code{Lens.Micro.Platform} you get all functions and instances from
6284@uref{http://hackage.haskell.org/package/microlens, microlens},
6285@uref{http://hackage.haskell.org/package/microlens-th, microlens-th},
6286@uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl},
6287@uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as
6288well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The
6289minor and major versions of @code{microlens-platform} are incremented whenever
6290the minor and major versions of any other @code{microlens} package are
6291incremented, so you can depend on the exact version of
6292@code{microlens-platform} without specifying the version of @code{microlens}
6293you need. This package is a part of the
6294@uref{http://hackage.haskell.org/package/microlens, microlens} family; see the
6295readme @uref{https://github.com/aelve/microlens#readme, on Github}.")
6296 (license license:bsd-3)))
6297
6298(define-public ghc-microlens-th
6299 (package
6300 (name "ghc-microlens-th")
7ae52867 6301 (version "0.4.2.3")
dddbc90c
RV
6302 (source
6303 (origin
6304 (method url-fetch)
6305 (uri (string-append "https://hackage.haskell.org/package/"
6306 "microlens-th-" version "/"
6307 "microlens-th-" version ".tar.gz"))
6308 (sha256
6309 (base32
7ae52867 6310 "13qw0pwcgd6f6i39rwgqwcwk1d4da5x7wv3gna7gdlxaq331h41j"))))
dddbc90c 6311 (build-system haskell-build-system)
7ae52867
TS
6312 (arguments
6313 `(#:cabal-revision
6314 ("1" "167in7b1qhgrspx81bdm2jyg9qji66sk7id282c0s99kmp0d01n6")))
dddbc90c
RV
6315 (inputs `(("ghc-microlens" ,ghc-microlens)
6316 ("ghc-th-abstraction" ,ghc-th-abstraction)))
6317 (home-page
6318 "https://github.com/aelve/microlens")
6319 (synopsis "Automatic generation of record lenses for
6320@code{ghc-microlens}")
6321 (description "This Haskell package lets you automatically generate lenses
6322for data types; code was extracted from the lens package, and therefore
6323generated lenses are fully compatible with ones generated by lens (and can be
6324used both from lens and microlens).")
6325 (license license:bsd-3)))
6326
6327(define-public ghc-missingh
6328 (package
6329 (name "ghc-missingh")
6330 (version "1.4.0.1")
6331 (source
6332 (origin
6333 (method url-fetch)
6334 (uri (string-append "https://hackage.haskell.org/package/MissingH/"
6335 "MissingH-" version ".tar.gz"))
6336 (sha256
6337 (base32
6338 "0wcvgrmav480w7nf4bl14yi0jq2yzanysxwzwas9hpb28vyjlgr8"))))
6339 (build-system haskell-build-system)
6340 ;; Tests require the unmaintained testpack package, which depends on the
6341 ;; outdated QuickCheck version 2.7, which can no longer be built with
6342 ;; recent versions of GHC and Haskell libraries.
6343 (arguments '(#:tests? #f))
6344 (inputs
6345 `(("ghc-network" ,ghc-network)
6346 ("ghc-hunit" ,ghc-hunit)
6347 ("ghc-regex-compat" ,ghc-regex-compat)
6348 ("ghc-hslogger" ,ghc-hslogger)
6349 ("ghc-random" ,ghc-random)
6350 ("ghc-old-time" ,ghc-old-time)
6351 ("ghc-old-locale" ,ghc-old-locale)))
6352 (native-inputs
6353 `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance)
6354 ("ghc-quickcheck" ,ghc-quickcheck)
6355 ("ghc-hunit" ,ghc-hunit)))
6356 (home-page "http://software.complete.org/missingh")
6357 (synopsis "Large utility library")
6358 (description
6359 "MissingH is a library of all sorts of utility functions for Haskell
6360programmers. It is written in pure Haskell and thus should be extremely
6361portable and easy to use.")
6362 (license license:bsd-3)))
6363
6364(define-public ghc-mmap
6365 (package
6366 (name "ghc-mmap")
6367 (version "0.5.9")
6368 (source (origin
6369 (method url-fetch)
6370 (uri (string-append "https://hackage.haskell.org/package/"
6371 "mmap/mmap-" version ".tar.gz"))
6372 (sha256
6373 (base32
6374 "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
6375 (build-system haskell-build-system)
6376 (home-page "https://hackage.haskell.org/package/mmap")
6377 (synopsis "Memory mapped files for Haskell")
6378 (description
6379 "This library provides a wrapper to @code{mmap}, allowing files or
6380devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
6381@code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
6382do on-demand loading.")
6383 (license license:bsd-3)))
6384
6385(define-public ghc-mmorph
6386 (package
6387 (name "ghc-mmorph")
e0389704 6388 (version "1.1.3")
dddbc90c
RV
6389 (source
6390 (origin
6391 (method url-fetch)
6392 (uri (string-append
6393 "https://hackage.haskell.org/package/mmorph/mmorph-"
6394 version
6395 ".tar.gz"))
6396 (sha256
6397 (base32
e0389704 6398 "0rfsy9n9mlinpmqi2s17fhc67fzma2ig5fbmh6m5m830canzf8vr"))))
dddbc90c
RV
6399 (build-system haskell-build-system)
6400 (inputs
6401 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
6402 (home-page "https://hackage.haskell.org/package/mmorph")
6403 (synopsis "Monad morphisms")
6404 (description
6405 "This library provides monad morphism utilities, most commonly used for
6406manipulating monad transformer stacks.")
6407 (license license:bsd-3)))
6408
6409(define-public ghc-mockery
6410 (package
6411 (name "ghc-mockery")
6412 (version "0.3.5")
6413 (source (origin
6414 (method url-fetch)
6415 (uri (string-append "https://hackage.haskell.org/package/"
6416 "mockery/mockery-" version ".tar.gz"))
6417 (sha256
6418 (base32
6419 "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp"))))
6420 (build-system haskell-build-system)
6421 (inputs
6422 `(("ghc-temporary" ,ghc-temporary)
6423 ("ghc-logging-facade" ,ghc-logging-facade)
6424 ("ghc-base-compat" ,ghc-base-compat)))
6425 (native-inputs
6426 `(("ghc-hspec" ,ghc-hspec)
6427 ("hspec-discover" ,hspec-discover)))
6428 (home-page "https://hackage.haskell.org/package/mockery")
6429 (synopsis "Support functions for automated testing")
6430 (description
6431 "The mockery package provides support functions for automated testing.")
6432 (license license:expat)))
6433
6434(define-public ghc-monad-control
6435 (package
6436 (name "ghc-monad-control")
6437 (version "1.0.2.3")
6438 (source
6439 (origin
6440 (method url-fetch)
6441 (uri (string-append
6442 "https://hackage.haskell.org/package/monad-control"
6443 "/monad-control-" version ".tar.gz"))
6444 (sha256
6445 (base32
6446 "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c"))))
6447 (build-system haskell-build-system)
6448 (inputs
6449 `(("ghc-transformers-base" ,ghc-transformers-base)
6450 ("ghc-transformers-compat" ,ghc-transformers-compat)))
6451 (home-page "https://github.com/basvandijk/monad-control")
6452 (synopsis "Monad transformers to lift control operations like exception
6453catching")
6454 (description "This package defines the type class @code{MonadBaseControl},
6455a subset of @code{MonadBase} into which generic control operations such as
6456@code{catch} can be lifted from @code{IO} or any other base monad.")
6457 (license license:bsd-3)))
6458
6459(define-public ghc-monad-logger
6460 (package
6461 (name "ghc-monad-logger")
6462 (version "0.3.29")
6463 (source
6464 (origin
6465 (method url-fetch)
6466 (uri (string-append "https://hackage.haskell.org/package/"
6467 "monad-logger-" version "/"
6468 "monad-logger-" version ".tar.gz"))
6469 (sha256
6470 (base32
6471 "1z516s4pa9n94zf0l45mylssg07xr1d1m6zrz900p0iv3vfd07mv"))))
6472 (build-system haskell-build-system)
6473 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
6474 ("ghc-stm-chans" ,ghc-stm-chans)
6475 ("ghc-lifted-base" ,ghc-lifted-base)
6476 ("ghc-resourcet" ,ghc-resourcet)
6477 ("ghc-conduit" ,ghc-conduit)
6478 ("ghc-conduit-extra" ,ghc-conduit-extra)
6479 ("ghc-fast-logger" ,ghc-fast-logger)
6480 ("ghc-transformers-base" ,ghc-transformers-base)
6481 ("ghc-monad-control" ,ghc-monad-control)
6482 ("ghc-monad-loops" ,ghc-monad-loops)
6483 ("ghc-blaze-builder" ,ghc-blaze-builder)
6484 ("ghc-exceptions" ,ghc-exceptions)))
6485 (home-page "https://github.com/kazu-yamamoto/logger")
6486 (synopsis "Provides a class of monads which can log messages for Haskell")
6487 (description "This Haskell package uses a monad transformer approach
6488for logging.
6489
6490This package provides Template Haskell functions for determining source
6491code locations of messages.")
6492 (license license:expat)))
6493
6494(define-public ghc-monad-loops
6495 (package
6496 (name "ghc-monad-loops")
6497 (version "0.4.3")
6498 (source
6499 (origin
6500 (method url-fetch)
6501 (uri (string-append "https://hackage.haskell.org/package/"
6502 "monad-loops-" version "/"
6503 "monad-loops-" version ".tar.gz"))
6504 (sha256
6505 (base32
6506 "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky"))))
6507 (build-system haskell-build-system)
6508 (native-inputs `(("ghc-tasty" ,ghc-tasty)
6509 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
6510 (home-page "https://github.com/mokus0/monad-loops")
6511 (synopsis "Monadic loops for Haskell")
6512 (description "This Haskell package provides some useful control
6513operators for looping.")
6514 (license license:public-domain)))
6515
6516(define-public ghc-monad-par
6517 (package
6518 (name "ghc-monad-par")
6519 (version "0.3.4.8")
6520 (source
6521 (origin
6522 (method url-fetch)
6523 (uri (string-append "https://hackage.haskell.org/package/"
6524 "monad-par-" version "/"
6525 "monad-par-" version ".tar.gz"))
6526 (sha256
6527 (base32
6528 "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q"))))
6529 (build-system haskell-build-system)
6530 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
6531 ("ghc-abstract-deque" ,ghc-abstract-deque)
6532 ("ghc-monad-par-extras" ,ghc-monad-par-extras)
6533 ("ghc-mwc-random" ,ghc-mwc-random)
6534 ("ghc-parallel" ,ghc-parallel)))
6535 (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck)
6536 ("ghc-hunit" ,ghc-hunit)
6537 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6538 ("ghc-test-framework-quickcheck2"
6539 ,ghc-test-framework-quickcheck2)
6540 ("ghc-test-framework" ,ghc-test-framework)
6541 ("ghc-test-framework-th" ,ghc-test-framework-th)))
6542 (home-page "https://github.com/simonmar/monad-par")
6543 (synopsis "Haskell library for parallel programming based on a monad")
6544 (description "The @code{Par} monad offers an API for parallel
6545programming. The library works for parallelising both pure and @code{IO}
6546computations, although only the pure version is deterministic. The default
6547implementation provides a work-stealing scheduler and supports forking tasks
6548that are much lighter weight than IO-threads.")
6549 (license license:bsd-3)))
6550
6551(define-public ghc-monad-par-extras
6552 (package
6553 (name "ghc-monad-par-extras")
6554 (version "0.3.3")
6555 (source
6556 (origin
6557 (method url-fetch)
6558 (uri (string-append "https://hackage.haskell.org/package/"
6559 "monad-par-extras-" version "/"
6560 "monad-par-extras-" version ".tar.gz"))
6561 (sha256
6562 (base32
6563 "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2"))))
6564 (build-system haskell-build-system)
6565 (inputs `(("ghc-abstract-par" ,ghc-abstract-par)
6566 ("ghc-cereal" ,ghc-cereal)
6567 ("ghc-random" ,ghc-random)))
6568 (home-page "https://github.com/simonmar/monad-par")
6569 (synopsis "Combinators and extra features for Par monads for Haskell")
6570 (description "This Haskell package provides additional data structures,
6571and other added capabilities layered on top of the @code{Par} monad.")
6572 (license license:bsd-3)))
6573
6574(define-public ghc-monadplus
6575 (package
6576 (name "ghc-monadplus")
6577 (version "1.4.2")
6578 (source
6579 (origin
6580 (method url-fetch)
6581 (uri (string-append "https://hackage.haskell.org/package/monadplus"
6582 "/monadplus-" version ".tar.gz"))
6583 (sha256
6584 (base32 "15b5320wdpmdp5slpphnc1x4rhjch3igw245dp2jxbqyvchdavin"))))
6585 (build-system haskell-build-system)
6586 (home-page "https://hackage.haskell.org/package/monadplus")
6587 (synopsis "Filtering and folding over arbitrary MonadPlus instances")
6588 (description
6589 "This package generalizes many common stream operations such as
6590@code{filter}, @code{catMaybes} etc, enabling filtering and folding over
6591arbitrary @code{MonadPlus} instances.")
6592 (license license:bsd-3)))
6593
6594(define-public ghc-monadrandom
6595 (package
6596 (name "ghc-monadrandom")
6597 (version "0.5.1.1")
6598 (source
6599 (origin
6600 (method url-fetch)
6601 (uri (string-append "https://hackage.haskell.org/package/"
6602 "MonadRandom-" version "/"
6603 "MonadRandom-" version ".tar.gz"))
6604 (sha256
6605 (base32
6606 "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb"))))
6607 (build-system haskell-build-system)
6608 (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat)
6609 ("ghc-primitive" ,ghc-primitive)
6610 ("ghc-fail" ,ghc-fail)
6611 ("ghc-random" ,ghc-random)))
6612 (home-page "https://github.com/byorgey/MonadRandom")
6613 (synopsis "Random-number generation monad for Haskell")
6614 (description "This Haskell package provides support for computations
6615which consume random values.")
6616 (license license:bsd-3)))
6617
6618(define-public ghc-monads-tf
6619 (package
6620 (name "ghc-monads-tf")
6621 (version "0.1.0.3")
6622 (source
6623 (origin
6624 (method url-fetch)
6625 (uri (string-append
6626 "https://hackage.haskell.org/package/monads-tf/monads-tf-"
6627 version ".tar.gz"))
6628 (sha256
6629 (base32
6630 "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794"))))
6631 (build-system haskell-build-system)
6632 (home-page "https://hackage.haskell.org/package/monads-tf")
6633 (synopsis "Monad classes, using type families")
6634 (description
6635 "Monad classes using type families, with instances for various monad transformers,
6636inspired by the paper 'Functional Programming with Overloading and Higher-Order
6637Polymorphism', by Mark P Jones. This package is almost a compatible replacement for
6638the @code{mtl-tf} package.")
6639 (license license:bsd-3)))
6640
6641(define-public ghc-mono-traversable
6642 (package
6643 (name "ghc-mono-traversable")
6644 (version "1.0.9.0")
6645 (source
6646 (origin
6647 (method url-fetch)
6648 (uri (string-append "https://hackage.haskell.org/package/"
6649 "mono-traversable-" version "/"
6650 "mono-traversable-" version ".tar.gz"))
6651 (sha256
6652 (base32
6653 "0180ks0dyvpk1r20w5jw2w2n79mjnk69n9vhspaxzlyxqgim5psa"))))
6654 (build-system haskell-build-system)
6655 (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
6656 ("ghc-hashable" ,ghc-hashable)
6657 ("ghc-vector" ,ghc-vector)
6658 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
6659 ("ghc-split" ,ghc-split)))
6660 (native-inputs `(("ghc-hspec" ,ghc-hspec)
6661 ("ghc-hunit" ,ghc-hunit)
6662 ("ghc-quickcheck" ,ghc-quickcheck)
6663 ("ghc-semigroups" ,ghc-semigroups)
6664 ("ghc-foldl" ,ghc-foldl)))
6665 (home-page "https://github.com/snoyberg/mono-traversable")
6666 (synopsis "Haskell classes for mapping, folding, and traversing monomorphic
6667containers")
6668 (description "This Haskell package provides Monomorphic variants of the
6669Functor, Foldable, and Traversable typeclasses. If you understand Haskell's
6670basic typeclasses, you understand mono-traversable. In addition to what
6671you are used to, it adds on an IsSequence typeclass and has code for marking
6672data structures as non-empty.")
6673 (license license:expat)))
6674
6675(define-public ghc-murmur-hash
6676 (package
6677 (name "ghc-murmur-hash")
6678 (version "0.1.0.9")
6679 (source
6680 (origin
6681 (method url-fetch)
6682 (uri (string-append "https://hackage.haskell.org/package/murmur-hash"
6683 "/murmur-hash-" version ".tar.gz"))
6684 (sha256
6685 (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9"))))
6686 (build-system haskell-build-system)
6687 (home-page "https://github.com/nominolo/murmur-hash")
6688 (synopsis "MurmurHash2 implementation for Haskell")
6689 (description
6690 "This package provides an implementation of MurmurHash2, a good, fast,
6691general-purpose, non-cryptographic hashing function. See
6692@url{https://sites.google.com/site/murmurhash/} for details. This
6693implementation is pure Haskell, so it might be a bit slower than a C FFI
6694binding.")
6695 (license license:bsd-3)))
6696
6697(define-public ghc-mwc-random
6698 (package
6699 (name "ghc-mwc-random")
6700 (version "0.13.6.0")
6701 (source
6702 (origin
6703 (method url-fetch)
6704 (uri (string-append "https://hackage.haskell.org/package/"
6705 "mwc-random-" version "/"
6706 "mwc-random-" version ".tar.gz"))
6707 (sha256
6708 (base32
6709 "05j7yh0hh9nxic3dijmzv44kc6gzclvamdph7sq7w19wq57k6pq6"))))
6710 (build-system haskell-build-system)
6711 (inputs
6712 `(("ghc-primitive" ,ghc-primitive)
6713 ("ghc-vector" ,ghc-vector)
6714 ("ghc-math-functions" ,ghc-math-functions)))
6715 (arguments
6716 `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
6717 (native-inputs
6718 `(("ghc-hunit" ,ghc-hunit)
6719 ("ghc-quickcheck" ,ghc-quickcheck)
6720 ("ghc-test-framework" ,ghc-test-framework)
6721 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
6722 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
6723 (home-page "https://github.com/bos/mwc-random")
6724 (synopsis "Random number generation library for Haskell")
6725 (description "This Haskell package contains code for generating
6726high quality random numbers that follow either a uniform or normal
6727distribution. The generated numbers are suitable for use in
6728statistical applications.
6729
6730The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
6731multiply-with-carry generator, which has a period of 2^{8222} and
6732fares well in tests of randomness. It is also extremely fast,
6733between 2 and 3 times faster than the Mersenne Twister.")
6734 (license license:bsd-3)))
6735
6736(define-public ghc-nats
6737 (package
6738 (name "ghc-nats")
6739 (version "1.1.2")
6740 (source
6741 (origin
6742 (method url-fetch)
6743 (uri (string-append
6744 "https://hackage.haskell.org/package/nats/nats-"
6745 version
6746 ".tar.gz"))
6747 (sha256
6748 (base32
6749 "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr"))))
6750 (build-system haskell-build-system)
6751 (arguments `(#:haddock? #f))
6752 (inputs
6753 `(("ghc-hashable" ,ghc-hashable)))
6754 (home-page "https://hackage.haskell.org/package/nats")
6755 (synopsis "Natural numbers")
6756 (description "This library provides the natural numbers for Haskell.")
6757 (license license:bsd-3)))
6758
6759(define-public ghc-nats-bootstrap
6760 (package
6761 (inherit ghc-nats)
6762 (name "ghc-nats-bootstrap")
6763 (inputs
6764 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
6765 (properties '((hidden? #t)))))
6766
52915062
EF
6767(define-public ghc-ncurses
6768 (package
6769 (name "ghc-ncurses")
6770 (version "0.2.16")
6771 (source
6772 (origin
6773 (method url-fetch)
6774 (uri (string-append
6775 "https://hackage.haskell.org/package/ncurses/ncurses-"
6776 version ".tar.gz"))
6777 (sha256
6778 (base32
6779 "0gsyyaqyh5r9zc0rhwpj5spyd6i4w2vj61h4nihgmmh0yyqvf3z5"))))
6780 (build-system haskell-build-system)
6781 (arguments
6782 '(#:phases
6783 (modify-phases %standard-phases
6784 (add-before 'build 'fix-includes
6785 (lambda _
6786 (substitute* '("cbits/hsncurses-shim.h"
6787 "lib/UI/NCurses.chs"
6788 "lib/UI/NCurses/Enums.chs"
6789 "lib/UI/NCurses/Panel.chs")
6790 (("<ncursesw/") "<"))
6791 #t)))
6792 #:cabal-revision
6793 ("1"
6794 "1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca")))
6795 (inputs `(("ncurses" ,ncurses)))
6796 (native-inputs `(("ghc-c2hs" ,ghc-c2hs)))
6797 (home-page "https://john-millikin.com/software/haskell-ncurses/")
6798 (synopsis "Modernised bindings to GNU ncurses")
6799 (description "GNU ncurses is a library for creating command-line application
6800with pseudo-graphical interfaces. This package is a nice, modern binding to GNU
6801ncurses.")
6802 (license license:gpl3)))
6803
dddbc90c
RV
6804(define-public ghc-network
6805 (package
6806 (name "ghc-network")
6807 (version "2.6.3.6")
6808 (outputs '("out" "doc"))
6809 (source
6810 (origin
6811 (method url-fetch)
6812 (uri (string-append
6813 "https://hackage.haskell.org/package/network/network-"
6814 version
6815 ".tar.gz"))
6816 (sha256
6817 (base32
6818 "198mam7ahny48p9fajznbqq16a8ya2gw0xm3gnm1si1rmc4hdplv"))))
6819 (build-system haskell-build-system)
6820 ;; The regression tests depend on an unpublished module.
6821 (arguments `(#:tests? #f))
6822 (native-inputs
6823 `(("ghc-hunit" ,ghc-hunit)
6824 ("ghc-doctest" ,ghc-doctest)
6825 ("ghc-test-framework" ,ghc-test-framework)
6826 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
6827 (home-page "https://github.com/haskell/network")
6828 (synopsis "Low-level networking interface")
6829 (description
6830 "This package provides a low-level networking interface.")
6831 (license license:bsd-3)))
4780db2c
EB
6832
6833;;; Until we update our default GHC to >=8.6 we cannot update our ghc-network
6834;;; package, since the 'cabal-install' package that supports the current
6835;;; 'Cabal' module requires 'network==2.6.*'. Here we provide an updated
6836;;; version to be used for our idris package.
6837(define-public ghc-network-2.8
6838 (hidden-package
6839 (package
6840 (inherit ghc-network)
6841 (version "2.8.0.1")
6842 (source
6843 (origin
6844 (method url-fetch)
6845 (uri (string-append "https://hackage.haskell.org/package/network/"
6846 "network-" version ".tar.gz"))
6847 (sha256
6848 (base32
6849 "0im8k51rw3ahmr23ny10pshwbz09jfg0fdpam0hzf2hgxnzmvxb1")))))))
dddbc90c
RV
6850
6851(define-public ghc-network-info
6852 (package
6853 (name "ghc-network-info")
6854 (version "0.2.0.10")
6855 (source
6856 (origin
6857 (method url-fetch)
6858 (uri (string-append "https://hackage.haskell.org/package/"
6859 "network-info-" version "/"
6860 "network-info-" version ".tar.gz"))
6861 (sha256
6862 (base32
6863 "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n"))))
6864 (build-system haskell-build-system)
6865 (home-page "https://github.com/jystic/network-info")
6866 (synopsis "Access the local computer's basic network configuration")
6867 (description "This Haskell library provides simple read-only access to the
6868local computer's networking configuration. It is currently capable of
6869getting a list of all the network interfaces and their respective
6870IPv4, IPv6 and MAC addresses.")
6871 (license license:bsd-3)))
6872
6873(define-public ghc-network-uri
6874 (package
6875 (name "ghc-network-uri")
6876 (version "2.6.1.0")
6877 (outputs '("out" "doc"))
6878 (source
6879 (origin
6880 (method url-fetch)
6881 (uri (string-append
6882 "https://hackage.haskell.org/package/network-uri/network-uri-"
6883 version
6884 ".tar.gz"))
6885 (sha256
6886 (base32
6887 "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2"))))
6888 (build-system haskell-build-system)
6889 (arguments
6890 `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
6891 (inputs
6892 `(("ghc-network" ,ghc-network)))
6893 (native-inputs
6894 `(("ghc-hunit" ,ghc-hunit)))
6895 (home-page
6896 "https://github.com/haskell/network-uri")
6897 (synopsis "Library for URI manipulation")
6898 (description "This package provides an URI manipulation interface. In
6899@code{network-2.6} the @code{Network.URI} module was split off from the
6900@code{network} package into this package.")
6901 (license license:bsd-3)))
6902
6903(define-public ghc-newtype-generics
6904 (package
6905 (name "ghc-newtype-generics")
6906 (version "0.5.3")
6907 (source
6908 (origin
6909 (method url-fetch)
6910 (uri (string-append "https://hackage.haskell.org/package/"
6911 "newtype-generics/newtype-generics-"
6912 version ".tar.gz"))
6913 (sha256
6914 (base32
6915 "0igyisw2djg19v9vkna1rwf47k97mvkvk4bbkmswznvbm00z15gj"))))
6916 (build-system haskell-build-system)
6917 (native-inputs
6918 `(("ghc-hspec" ,ghc-hspec)
6919 ("hspec-discover" ,hspec-discover)))
6920 (home-page "http://github.com/sjakobi/newtype-generics")
6921 (synopsis "Typeclass and set of functions for working with newtypes")
6922 (description "The @code{Newtype} typeclass represents the packing and
6923unpacking of a newtype, and allows you to operate under that newtype with
6924functions such as @code{ala}. Generics support was added in version 0.4,
6925making this package a full replacement for the original newtype package,
6926and an alternative to newtype-th.")
6927 (license license:bsd-3)))
6928
6b652f5a
JS
6929(define-public ghc-non-negative
6930 (package
6931 (name "ghc-non-negative")
6932 (version "0.1.2")
6933 (source
6934 (origin
6935 (method url-fetch)
6936 (uri
6937 (string-append
6938 "https://hackage.haskell.org/package/non-negative/non-negative-"
6939 version ".tar.gz"))
6940 (sha256
6941 (base32
6942 "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n"))))
6943 (build-system haskell-build-system)
6944 (inputs
6945 `(("ghc-semigroups" ,ghc-semigroups)
6946 ("ghc-utility-ht" ,ghc-utility-ht)
6947 ("ghc-quickcheck" ,ghc-quickcheck)))
6948 (home-page "https://hackage.haskell.org/package/non-negative")
6949 (synopsis "Non-negative numbers class")
6950 (description "This library provides a class for non-negative numbers,
6951a wrapper which can turn any ordered numeric type into a member of that
6952class, and a lazy number type for non-negative numbers (a generalization
6953of Peano numbers).")
6954 (license license:gpl3+)))
6955
dddbc90c
RV
6956(define-public ghc-objectname
6957 (package
6958 (name "ghc-objectname")
6959 (version "1.1.0.1")
6960 (source
6961 (origin
6962 (method url-fetch)
6963 (uri (string-append
6964 "https://hackage.haskell.org/package/ObjectName/ObjectName-"
6965 version
6966 ".tar.gz"))
6967 (sha256
6968 (base32
6969 "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj"))))
6970 (build-system haskell-build-system)
6971 (home-page "https://hackage.haskell.org/package/ObjectName")
6972 (synopsis "Helper library for Haskell OpenGL")
6973 (description "This tiny package contains the class ObjectName, which
6974corresponds to the general notion of explicitly handled identifiers for API
6975objects, e.g. a texture object name in OpenGL or a buffer object name in
6976OpenAL.")
6977 (license license:bsd-3)))
6978
6979(define-public ghc-old-locale
6980 (package
6981 (name "ghc-old-locale")
6982 (version "1.0.0.7")
6983 (source
6984 (origin
6985 (method url-fetch)
6986 (uri (string-append
6987 "https://hackage.haskell.org/package/old-locale/old-locale-"
6988 version
6989 ".tar.gz"))
6990 (sha256
6991 (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv"))))
6992 (build-system haskell-build-system)
6993 (arguments
6994 `(#:cabal-revision
6995 ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs")))
6996 (home-page "https://hackage.haskell.org/package/old-locale")
6997 (synopsis "Adapt to locale conventions")
6998 (description
6999 "This package provides the ability to adapt to locale conventions such as
7000date and time formats.")
7001 (license license:bsd-3)))
7002
7003(define-public ghc-old-time
7004 (package
7005 (name "ghc-old-time")
7006 (version "1.1.0.3")
7007 (source
7008 (origin
7009 (method url-fetch)
7010 (uri (string-append
7011 "https://hackage.haskell.org/package/old-time/old-time-"
7012 version
7013 ".tar.gz"))
7014 (sha256
7015 (base32
7016 "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw"))))
7017 (build-system haskell-build-system)
7018 (arguments
7019 `(#:cabal-revision
7020 ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9")))
7021 (inputs
7022 `(("ghc-old-locale" ,ghc-old-locale)))
7023 (home-page "https://hackage.haskell.org/package/old-time")
7024 (synopsis "Time compatibility library for Haskell")
7025 (description "Old-time is a package for backwards compatibility with the
7026old @code{time} library. For new projects, the newer
7027@uref{https://hackage.haskell.org/package/time, time library} is recommended.")
7028 (license license:bsd-3)))
7029
7030(define-public ghc-opengl
7031 (package
7032 (name "ghc-opengl")
7033 (version "3.0.2.2")
7034 (source
7035 (origin
7036 (method url-fetch)
7037 (uri (string-append
7038 "https://hackage.haskell.org/package/OpenGL/OpenGL-"
7039 version
7040 ".tar.gz"))
7041 (sha256
7042 (base32
7043 "19vxwvx2n8zq2klj176l25n2b64ybp0b8mhm4p46gvpcivz41fjc"))))
7044 (build-system haskell-build-system)
7045 (inputs
7046 `(("ghc-objectname" ,ghc-objectname)
7047 ("ghc-gluraw" ,ghc-gluraw)
7048 ("ghc-statevar" ,ghc-statevar)
7049 ("ghc-openglraw" ,ghc-openglraw)))
7050 (home-page "https://www.haskell.org/haskellwiki/Opengl")
7051 (synopsis "Haskell bindings for the OpenGL graphics system")
7052 (description "This package provides Haskell bindings for the OpenGL
7053graphics system (GL, version 4.5) and its accompanying utility library (GLU,
7054version 1.3).")
7055 (license license:bsd-3)))
7056
7057(define-public ghc-openglraw
7058 (package
7059 (name "ghc-openglraw")
7060 (version "3.3.1.0")
7061 (source
7062 (origin
7063 (method url-fetch)
7064 (uri (string-append
7065 "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
7066 version
7067 ".tar.gz"))
7068 (sha256
7069 (base32
7070 "1x8w3x308jldj2c1xqcq3a3sc2jc06pdpgqkgjsmixi1skv4a1vb"))))
7071 (build-system haskell-build-system)
7072 (inputs
7073 `(("ghc-half" ,ghc-half)
7074 ("ghc-fixed" ,ghc-fixed)
7075 ("glu" ,glu)))
7076 (home-page "https://www.haskell.org/haskellwiki/Opengl")
7077 (synopsis "Raw Haskell bindings for the OpenGL graphics system")
7078 (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
7079graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
7080of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
7081offers access to all necessary functions, tokens and types plus a general
7082facility for loading extension entries. The module hierarchy closely mirrors
7083the naming structure of the OpenGL extensions, making it easy to find the
7084right module to import. All API entries are loaded dynamically, so no special
7085C header files are needed for building this package. If an API entry is not
7086found at runtime, a userError is thrown.")
7087 (license license:bsd-3)))
7088
7089(define-public ghc-operational
7090 (package
7091 (name "ghc-operational")
7092 (version "0.2.3.5")
7093 (source
7094 (origin
7095 (method url-fetch)
7096 (uri (string-append "https://hackage.haskell.org/package/operational/"
7097 "operational-" version ".tar.gz"))
7098 (sha256
7099 (base32
7100 "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i"))))
7101 (build-system haskell-build-system)
7102 (inputs
7103 `(("ghc-random" ,ghc-random)))
7104 (home-page "http://wiki.haskell.org/Operational")
7105 (synopsis "Implementation of difficult monads made easy with operational semantics")
7106 (description
7107 "This library makes it easy to implement monads with tricky control
7108flow. This is useful for: writing web applications in a sequential style,
7109programming games with a uniform interface for human and AI players and easy
7110replay capababilities, implementing fast parser monads, designing monadic
7111DSLs, etc.")
7112 (license license:bsd-3)))
7113
7114(define-public ghc-options
7115 (package
7116 (name "ghc-options")
7117 (version "1.2.1.1")
7118 (source
7119 (origin
7120 (method url-fetch)
7121 (uri (string-append
7122 "https://hackage.haskell.org/package/options/options-"
7123 version ".tar.gz"))
7124 (sha256
7125 (base32
7126 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7127 (build-system haskell-build-system)
7128 (inputs
7129 `(("ghc-monads-tf" ,ghc-monads-tf)
7130 ("ghc-chell" ,ghc-chell)
7131 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)))
7132 (home-page "https://john-millikin.com/software/haskell-options/")
7133 (synopsis "Powerful and easy-to-use command-line option parser")
7134 (description
7135 "The @code{options} package lets library and application developers
7136easily work with command-line options.")
7137 (license license:expat)))
7138
7139;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests.
7140(define ghc-options-bootstrap
7141 (package
7142 (name "ghc-options-bootstrap")
7143 (version "1.2.1.1")
7144 (source
7145 (origin
7146 (method url-fetch)
7147 (uri (string-append
7148 "https://hackage.haskell.org/package/options/options-"
7149 version ".tar.gz"))
7150 (sha256
7151 (base32
7152 "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
7153 (build-system haskell-build-system)
7154 (arguments
7155 `(#:tests? #f))
7156 (inputs
7157 `(("ghc-monads-tf" ,ghc-monads-tf)))
7158 (home-page "https://john-millikin.com/software/haskell-options/")
7159 (synopsis "Powerful and easy-to-use command-line option parser")
7160 (description
7161 "The @code{options} package lets library and application developers
7162easily work with command-line options.")
7163 (license license:expat)))
7164
7165
7166(define-public ghc-optparse-applicative
7167 (package
7168 (name "ghc-optparse-applicative")
74bf6965 7169 (version "0.14.3.0")
dddbc90c
RV
7170 (source
7171 (origin
7172 (method url-fetch)
7173 (uri (string-append
7174 "https://hackage.haskell.org/package/optparse-applicative"
7175 "/optparse-applicative-" version ".tar.gz"))
7176 (sha256
7177 (base32
74bf6965 7178 "0qvn1s7jwrabbpmqmh6d6iafln3v3h9ddmxj2y4m0njmzq166ivj"))))
dddbc90c 7179 (build-system haskell-build-system)
74bf6965
TS
7180 (arguments
7181 `(#:cabal-revision
7182 ("2" "1a08dqjly1xy730f6jf45frr8g8gap0n1vg9b0mpzpydv0kgzmrp")))
dddbc90c
RV
7183 (inputs
7184 `(("ghc-transformers-compat" ,ghc-transformers-compat)
7185 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)))
7186 (native-inputs
7187 `(("ghc-quickcheck" ,ghc-quickcheck)))
7188 (home-page "https://github.com/pcapriotti/optparse-applicative")
7189 (synopsis "Utilities and combinators for parsing command line options")
7190 (description "This package provides utilities and combinators for parsing
7191command line options in Haskell.")
7192 (license license:bsd-3)))
7193
7194(define-public ghc-pandoc
7195 (package
7196 (name "ghc-pandoc")
7197 (version "2.2.1")
7198 (source
7199 (origin
7200 (method url-fetch)
7201 (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-"
7202 version ".tar.gz"))
7203 (sha256
7204 (base32
7205 "1dqin92w513l7whg5wdgrngnxsj5mb8gppfvn7kjgyv2pdgpy0zy"))))
7206 (build-system haskell-build-system)
7207 (arguments
7208 `(#:phases
7209 (modify-phases %standard-phases
7210 (add-before 'configure 'update-constraints
7211 (lambda _
7212 (substitute* "pandoc.cabal"
7213 (("tasty >= 0\\.11 && < 1\\.1")
7214 "tasty >= 0.11 && < 1.1.1"))))
7215 (add-before 'configure 'patch-tests
7216 (lambda _
7217 ;; These tests fail benignly and have been adjusted upstream:
7218 ;; <https://github.com/commercialhaskell/stackage/issues/3719>.
7219 (substitute* "test/Tests/Old.hs"
7220 (("lhsWriterTests \"html\"") "[]")))))))
7221 (inputs
7222 `(("ghc-aeson" ,ghc-aeson)
7223 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
7224 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
7225 ("ghc-blaze-html" ,ghc-blaze-html)
7226 ("ghc-blaze-markup" ,ghc-blaze-markup)
7227 ("ghc-cmark-gfm" ,ghc-cmark-gfm)
7228 ("ghc-data-default" ,ghc-data-default)
7229 ("ghc-deepseq-generics" ,ghc-deepseq-generics)
7230 ("ghc-diff" ,ghc-diff)
7231 ("ghc-doctemplates" ,ghc-doctemplates)
7232 ("ghc-executable-path" ,ghc-executable-path)
7233 ("ghc-glob" ,ghc-glob)
7234 ("ghc-haddock-library" ,ghc-haddock-library)
7235 ("ghc-hslua" ,ghc-hslua)
7236 ("ghc-hslua-module-text" ,ghc-hslua-module-text)
7237 ("ghc-http" ,ghc-http)
7238 ("ghc-http-client" ,ghc-http-client)
7239 ("ghc-http-client-tls" ,ghc-http-client-tls)
7240 ("ghc-http-types" ,ghc-http-types)
7241 ("ghc-juicypixels" ,ghc-juicypixels)
7242 ("ghc-network" ,ghc-network)
7243 ("ghc-network-uri" ,ghc-network-uri)
7244 ("ghc-old-locale" ,ghc-old-locale)
7245 ("ghc-pandoc-types" ,ghc-pandoc-types)
7246 ("ghc-random" ,ghc-random)
7247 ("ghc-scientific" ,ghc-scientific)
7248 ("ghc-sha" ,ghc-sha)
7249 ("ghc-skylighting" ,ghc-skylighting)
7250 ("ghc-split" ,ghc-split)
7251 ("ghc-syb" ,ghc-syb)
7252 ("ghc-tagsoup" ,ghc-tagsoup)
7253 ("ghc-temporary" ,ghc-temporary)
7254 ("ghc-texmath" ,ghc-texmath)
7255 ("ghc-unordered-containers" ,ghc-unordered-containers)
7256 ("ghc-vector" ,ghc-vector)
7257 ("ghc-xml" ,ghc-xml)
7258 ("ghc-yaml" ,ghc-yaml)
7259 ("ghc-zip-archive" ,ghc-zip-archive)
7260 ("ghc-zlib" ,ghc-zlib)))
7261 (native-inputs
7262 `(("ghc-tasty" ,ghc-tasty)
7263 ("ghc-tasty-golden" ,ghc-tasty-golden)
7264 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
7265 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
7266 ("ghc-quickcheck" ,ghc-quickcheck)
7267 ("ghc-hunit" ,ghc-hunit)))
7268 (home-page "https://pandoc.org")
7269 (synopsis "Conversion between markup formats")
7270 (description
7271 "Pandoc is a Haskell library for converting from one markup format to
7272another, and a command-line tool that uses this library. It can read and
7273write Markdown and (subsets of) other formats, such as HTML, reStructuredText,
7274LaTeX, DocBook, and many more.
7275
7276Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX,
7277definition lists, tables, and other features. A compatibility mode is
7278provided for those who need a drop-in replacement for Markdown.pl.")
7279 (license license:gpl2+)))
7280
7281(define-public ghc-pandoc-citeproc
7282 (package
7283 (name "ghc-pandoc-citeproc")
7284 (version "0.14.3.1")
7285 (source
7286 (origin
7287 (method url-fetch)
7288 (uri (string-append "https://hackage.haskell.org/package/"
7289 "pandoc-citeproc/pandoc-citeproc-"
7290 version ".tar.gz"))
7291 (sha256
7292 (base32
7293 "0yj6rckwsc9vig40cm15ry0j3d01xpk04qma9n4byhal6v4b5h22"))))
7294 (build-system haskell-build-system)
7295 (arguments
7296 `(#:phases
7297 (modify-phases %standard-phases
7298 ;; Many YAML tests (44) are failing do to changes in ghc-yaml:
7299 ;; <https://github.com/jgm/pandoc-citeproc/issues/342>.
7300 (add-before 'configure 'patch-tests
7301 (lambda _
7302 (substitute* "tests/test-pandoc-citeproc.hs"
7303 (("let allTests = citeprocTests \\+\\+ biblio2yamlTests")
7304 "let allTests = citeprocTests"))))
7305 ;; Tests need to be run after installation.
7306 (delete 'check)
7307 (add-after 'install 'post-install-check
7308 (assoc-ref %standard-phases 'check)))))
7309 (inputs
7310 `(("ghc-pandoc-types" ,ghc-pandoc-types)
7311 ("ghc-pandoc" ,ghc-pandoc)
7312 ("ghc-tagsoup" ,ghc-tagsoup)
7313 ("ghc-aeson" ,ghc-aeson)
7314 ("ghc-vector" ,ghc-vector)
7315 ("ghc-xml-conduit" ,ghc-xml-conduit)
7316 ("ghc-unordered-containers" ,ghc-unordered-containers)
7317 ("ghc-data-default" ,ghc-data-default)
7318 ("ghc-setenv" ,ghc-setenv)
7319 ("ghc-split" ,ghc-split)
7320 ("ghc-yaml" ,ghc-yaml)
7321 ("ghc-hs-bibutils" ,ghc-hs-bibutils)
7322 ("ghc-rfc5051" ,ghc-rfc5051)
7323 ("ghc-syb" ,ghc-syb)
7324 ("ghc-old-locale" ,ghc-old-locale)
7325 ("ghc-aeson-pretty" ,ghc-aeson-pretty)
7326 ("ghc-attoparsec" ,ghc-attoparsec)
7327 ("ghc-temporary" ,ghc-temporary)))
7328 (home-page "https://github.com/jgm/pandoc-citeproc")
7329 (synopsis "Library for using pandoc with citeproc")
7330 (description
7331 "The @code{pandoc-citeproc} library exports functions for using the
7332citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for
7333rendering bibliographic reference citations into a variety of styles using a
7334macro language called @dfn{Citation Style Language} (CSL). This package also
7335contains an executable @code{pandoc-citeproc}, which works as a pandoc filter,
7336and also has a mode for converting bibliographic databases a YAML format
7337suitable for inclusion in pandoc YAML metadata.")
7338 (license license:bsd-3)))
7339
7340(define-public ghc-pandoc-types
7341 (package
7342 (name "ghc-pandoc-types")
7343 (version "1.17.5.1")
7344 (source (origin
7345 (method url-fetch)
7346 (uri (string-append "https://hackage.haskell.org/package/"
7347 "pandoc-types/pandoc-types-"
7348 version ".tar.gz"))
7349 (sha256
7350 (base32
7351 "1q6v2bynij724fv347mhqxdscwifzrx5jb9mq80608qf638fn717"))))
7352 (build-system haskell-build-system)
7353 (inputs
7354 `(("ghc-syb" ,ghc-syb)
7355 ("ghc-aeson" ,ghc-aeson)
7356 ("ghc-string-qq" ,ghc-string-qq)))
7357 (native-inputs
7358 `(("ghc-quickcheck" ,ghc-quickcheck)
7359 ("ghc-test-framework" ,ghc-test-framework)
7360 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7361 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
7362 ("ghc-hunit" ,ghc-hunit)))
7363 (home-page "http://johnmacfarlane.net/pandoc")
7364 (synopsis "Types for representing a structured document")
7365 (description
7366 "This module defines the @code{Pandoc} data structure, which is used by
7367pandoc to represent structured documents. It also provides functions for
7368building up, manipulating and serialising @code{Pandoc} structures.")
7369 (license license:bsd-3)))
7370
7371(define-public ghc-parallel
7372 (package
7373 (name "ghc-parallel")
7374 (version "3.2.2.0")
7375 (outputs '("out" "doc"))
7376 (source
7377 (origin
7378 (method url-fetch)
7379 (uri (string-append
7380 "https://hackage.haskell.org/package/parallel/parallel-"
7381 version
7382 ".tar.gz"))
7383 (sha256
7384 (base32
7385 "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p"))))
7386 (build-system haskell-build-system)
7387 (home-page "https://hackage.haskell.org/package/parallel")
7388 (synopsis "Parallel programming library")
7389 (description
7390 "This package provides a library for parallel programming.")
7391 (license license:bsd-3)))
7392
7393(define-public ghc-parsec-numbers
7394 (package
7395 (name "ghc-parsec-numbers")
7396 (version "0.1.0")
7397 (source
7398 (origin
7399 (method url-fetch)
7400 (uri (string-append "https://hackage.haskell.org/package/"
7401 "parsec-numbers/parsec-numbers-" version ".tar.gz"))
7402 (sha256
7403 (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
7404 (build-system haskell-build-system)
7405 (home-page "https://hackage.haskell.org/package/parsec-numbers")
7406 (synopsis "Utilities for parsing numbers from strings")
7407 (description
7408 "This package provides the number parsers without the need to use a large
7409(and unportable) token parser.")
7410 (license license:bsd-3)))
7411
7412(define-public ghc-parser-combinators
7413 (package
7414 (name "ghc-parser-combinators")
2f173160 7415 (version "1.1.0")
dddbc90c
RV
7416 (source
7417 (origin
7418 (method url-fetch)
7419 (uri (string-append "https://hackage.haskell.org/package/"
7420 "parser-combinators/parser-combinators-"
7421 version ".tar.gz"))
7422 (sha256
7423 (base32
2f173160 7424 "149yhbnrrl108h1jinrsxni3rwrldhphpk9bbmbpr90q5fbl4xmc"))))
dddbc90c
RV
7425 (build-system haskell-build-system)
7426 (home-page "https://github.com/mrkkrp/parser-combinators")
7427 (synopsis "Commonly useful parser combinators")
7428 (description
7429 "This is a lightweight package providing commonly useful parser
7430combinators.")
7431 (license license:bsd-3)))
7432
7433(define-public ghc-parsers
7434 (package
7435 (name "ghc-parsers")
7436 (version "0.12.9")
7437 (source
7438 (origin
7439 (method url-fetch)
7440 (uri (string-append
7441 "https://hackage.haskell.org/package/parsers/parsers-"
7442 version
7443 ".tar.gz"))
7444 (sha256
7445 (base32
7446 "1r05sc1mcglk8w596kq9a1brfn9c2vll8lq16j07ln0vsz4jzrc1"))))
7447 (build-system haskell-build-system)
7448 (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy
7449 ; -package attoparsec-0.13.0.1"
7450 (inputs
7451 `(("ghc-base-orphans" ,ghc-base-orphans)
7452 ("ghc-attoparsec" ,ghc-attoparsec)
7453 ("ghc-scientific" ,ghc-scientific)
7454 ("ghc-charset" ,ghc-charset)
7455 ("ghc-unordered-containers" ,ghc-unordered-containers)))
7456 (home-page "https://github.com/ekmett/parsers/")
7457 (synopsis "Parsing combinators")
7458 (description "This library provides convenient combinators for working
7459with and building parsing combinator libraries. Given a few simple instances,
7460you get access to a large number of canned definitions. Instances exist for
7461the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s
7462@code{Text.Read}.")
7463 (license license:bsd-3)))
7464
7465(define-public ghc-path
7466 (package
7467 (name "ghc-path")
7468 (version "0.6.1")
7469 (source
7470 (origin
7471 (method url-fetch)
7472 (uri (string-append
7473 "https://hackage.haskell.org/package/path/path-"
7474 version
7475 ".tar.gz"))
7476 (sha256
7477 (base32
7478 "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb"))))
7479 (build-system haskell-build-system)
7480 (arguments
7481 ;; TODO: There are some Windows-related tests and modules that need to be
7482 ;; danced around.
7483 `(#:tests? #f
7484 #:cabal-revision
7485 ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463")))
7486 (inputs
7487 `(("ghc-aeson" ,ghc-aeson)
7488 ("ghc-exceptions" ,ghc-exceptions)
7489 ("ghc-hashable" ,ghc-hashable)))
7490 (native-inputs
7491 `(("ghc-hspec" ,ghc-hspec)
7492 ("ghc-quickcheck" ,ghc-quickcheck)
7493 ("ghc-genvalidity" ,ghc-genvalidity)
7494 ("ghc-genvalidity-property" ,ghc-genvalidity-property)
7495 ("ghc-hspec" ,ghc-hspec)
7496 ("ghc-validity" ,ghc-validity)))
7497 (home-page
7498 "http://hackage.haskell.org/package/path")
7499 (synopsis "Support for well-typed paths")
7500 (description "This package introduces a type for paths upholding useful
7501invariants.")
7502 (license license:bsd-3)))
7503
7504(define-public ghc-path-io
7505 (package
7506 (name "ghc-path-io")
7507 (version "1.3.3")
7508 (source
7509 (origin
7510 (method url-fetch)
7511 (uri (string-append
7512 "https://hackage.haskell.org/package/path-io/path-io-"
7513 version
7514 ".tar.gz"))
7515 (sha256
7516 (base32
7517 "1g9m3qliqjk1img894wsb89diym5zrq51qkkrwhz4sbm9a8hbv1a"))))
7518 (build-system haskell-build-system)
7519 (inputs
7520 `(("ghc-dlist" ,ghc-dlist)
7521 ("ghc-exceptions" ,ghc-exceptions)
7522 ("ghc-path" ,ghc-path)
7523 ("ghc-transformers-base" ,ghc-transformers-base)
7524 ("ghc-unix-compat" ,ghc-unix-compat)
7525 ("ghc-temporary" ,ghc-temporary)))
7526 (native-inputs
7527 `(("ghc-hspec" ,ghc-hspec)))
7528 (arguments
7529 `(#:cabal-revision
7530 ("3" "1h9hsibbflkxpjl2fqamqiv3x3gasf51apnmklrs9l9x8r32hzcc")))
7531 (home-page
7532 "https://github.com/mrkkrp/path-io")
7533 (synopsis "Functions for manipulating well-typed paths")
7534 (description "This package provides an interface to the @code{directory}
7535package for users of @code{path}. It also implements some missing stuff like
7536recursive scanning and copying of directories, working with temporary
7537files/directories, and more.")
7538 (license license:bsd-3)))
7539
7540(define-public ghc-paths
7541 (package
7542 (name "ghc-paths")
9a8adeb1 7543 (version "0.1.0.12")
dddbc90c
RV
7544 (outputs '("out" "doc"))
7545 (source
7546 (origin
7547 (method url-fetch)
7548 (uri (string-append
7549 "https://hackage.haskell.org/package/ghc-paths/ghc-paths-"
7550 version
7551 ".tar.gz"))
7552 (sha256
7553 (base32
9a8adeb1 7554 "1164w9pqnf7rjm05mmfjznz7rrn415blrkk1kjc0gjvks1vfdjvf"))))
dddbc90c
RV
7555 (build-system haskell-build-system)
7556 (home-page "https://github.com/simonmar/ghc-paths")
7557 (synopsis
7558 "Knowledge of GHC's installation directories")
7559 (description
7560 "Knowledge of GHC's installation directories.")
7561 (license license:bsd-3)))
7562
7563(define-public ghc-patience
7564 (package
7565 (name "ghc-patience")
7566 (version "0.1.1")
7567 (source
7568 (origin
7569 (method url-fetch)
7570 (uri (string-append
7571 "https://hackage.haskell.org/package/patience/patience-"
7572 version ".tar.gz"))
7573 (sha256
7574 (base32
7575 "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
7576 (build-system haskell-build-system)
7577 (home-page "https://hackage.haskell.org/package/patience")
7578 (synopsis "Patience diff and longest increasing subsequence")
7579 (description
7580 "This library implements the 'patience diff' algorithm, as well as the
7581patience algorithm for the longest increasing subsequence problem.
7582Patience diff computes the difference between two lists, for example the lines
7583of two versions of a source file. It provides a good balance between
7584performance, nice output for humans, and simplicity of implementation.")
7585 (license license:bsd-3)))
7586
7587(define-public ghc-pcre-light
7588 (package
7589 (name "ghc-pcre-light")
7590 (version "0.4.0.4")
7591 (source
7592 (origin
7593 (method url-fetch)
7594 (uri (string-append
7595 "https://hackage.haskell.org/package/pcre-light/pcre-light-"
7596 version
7597 ".tar.gz"))
7598 (sha256
7599 (base32
7600 "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82"))))
7601 (build-system haskell-build-system)
7602 (inputs
7603 `(("pcre" ,pcre)))
7604 (native-inputs
7605 `(("pkg-config" ,pkg-config)))
7606 (home-page "https://github.com/Daniel-Diaz/pcre-light")
7607 (synopsis "Haskell library for Perl 5 compatible regular expressions")
7608 (description "This package provides a small, efficient, and portable regex
7609library for Perl 5 compatible regular expressions. The PCRE library is a set
7610of functions that implement regular expression pattern matching using the same
7611syntax and semantics as Perl 5.")
7612 (license license:bsd-3)))
7613
7614(define-public ghc-persistent
7615 (package
7616 (name "ghc-persistent")
7617 (version "2.8.2")
7618 (source
7619 (origin
7620 (method url-fetch)
7621 (uri (string-append "https://hackage.haskell.org/package/"
7622 "persistent-" version "/"
7623 "persistent-" version ".tar.gz"))
7624 (sha256
7625 (base32
7626 "1h0yijbf1yiwl50klyafy4ln99j8bib4kgbzviw7fc4y4mwv4sv9"))))
7627 (build-system haskell-build-system)
7628 (inputs `(("ghc-old-locale" ,ghc-old-locale)
7629 ("ghc-conduit" ,ghc-conduit)
7630 ("ghc-resourcet" ,ghc-resourcet)
7631 ("ghc-exceptions" ,ghc-exceptions)
7632 ("ghc-monad-control" ,ghc-monad-control)
7633 ("ghc-lifted-base" ,ghc-lifted-base)
7634 ("ghc-resource-pool" ,ghc-resource-pool)
7635 ("ghc-path-pieces" ,ghc-path-pieces)
7636 ("ghc-http-api-data" ,ghc-http-api-data)
7637 ("ghc-aeson" ,ghc-aeson)
7638 ("ghc-monad-logger" ,ghc-monad-logger)
7639 ("ghc-transformers-base" ,ghc-transformers-base)
7640 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
7641 ("ghc-unordered-containers" ,ghc-unordered-containers)
7642 ("ghc-vector" ,ghc-vector)
7643 ("ghc-attoparsec" ,ghc-attoparsec)
7644 ("ghc-haskell-src-meta" ,ghc-haskell-src-meta)
7645 ("ghc-blaze-html" ,ghc-blaze-html)
7646 ("ghc-blaze-markup" ,ghc-blaze-markup)
7647 ("ghc-silently" ,ghc-silently)
7648 ("ghc-fast-logger" ,ghc-fast-logger)
7649 ("ghc-scientific" ,ghc-scientific)
7650 ("ghc-tagged" ,ghc-tagged)
7651 ("ghc-void" ,ghc-void)))
7652 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
7653 (home-page "https://www.yesodweb.com/book/persistent")
7654 (synopsis "Type-safe, multi-backend data serialization for Haskell")
7655 (description "This Haskell package allows Haskell programs to access data
7656storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe
7657way.")
7658 (license license:expat)))
7659
7660(define-public ghc-persistent-sqlite
7661 (package
7662 (name "ghc-persistent-sqlite")
7663 (version "2.8.2")
7664 (source
7665 (origin
7666 (method url-fetch)
7667 (uri (string-append "https://hackage.haskell.org/package/"
7668 "persistent-sqlite-" version "/"
7669 "persistent-sqlite-" version ".tar.gz"))
7670 (sha256
7671 (base32
7672 "1chbmvjz46smhgnzhha3bbkhys3fys6dip1jr4v7xp1jf78zbyp6"))))
7673 (build-system haskell-build-system)
7674 (inputs `(("ghc-persistent" ,ghc-persistent)
7675 ("ghc-unliftio-core" ,ghc-unliftio-core)
7676 ("ghc-aeson" ,ghc-aeson)
7677 ("ghc-conduit" ,ghc-conduit)
7678 ("ghc-monad-logger" ,ghc-monad-logger)
7679 ("ghc-microlens-th" ,ghc-microlens-th)
7680 ("ghc-resourcet" ,ghc-resourcet)
7681 ("ghc-old-locale" ,ghc-old-locale)
7682 ("ghc-resource-pool" ,ghc-resource-pool)
7683 ("ghc-unordered-containers" ,ghc-unordered-containers)))
7684 (native-inputs `(("ghc-hspec" ,ghc-hspec)
7685 ("ghc-persistent-template" ,ghc-persistent-template)
7686 ("ghc-temporary" ,ghc-temporary)))
7687 (home-page
7688 "https://www.yesodweb.com/book/persistent")
7689 (synopsis "Backend for the persistent library using sqlite3")
7690 (description "This Haskell package includes a thin sqlite3 wrapper based
7691on the direct-sqlite package, as well as the entire C library, so there are no
7692system dependencies.")
7693 (license license:expat)))
7694
7695(define-public ghc-persistent-template
7696 (package
7697 (name "ghc-persistent-template")
7698 (version "2.5.4")
7699 (source
7700 (origin
7701 (method url-fetch)
7702 (uri (string-append "https://hackage.haskell.org/package/"
7703 "persistent-template-" version "/"
7704 "persistent-template-" version ".tar.gz"))
7705 (sha256
7706 (base32
7707 "008afcy7zbw7bzp9jww8gdldb51kfm0fg4p0x4xcp61gx4679bjc"))))
7708 (build-system haskell-build-system)
7709 (arguments
7710 `(#:cabal-revision
7711 ("2" "03qgwk32krldph3blw5agiqcpccr3649hajyn8wm9k71zz82dpn6")))
7712 (inputs `(("ghc-persistent" ,ghc-persistent)
7713 ("ghc-monad-control" ,ghc-monad-control)
7714 ("ghc-aeson" ,ghc-aeson)
7715 ("ghc-aeson-compat" ,ghc-aeson-compat)
7716 ("ghc-monad-logger" ,ghc-monad-logger)
7717 ("ghc-unordered-containers" ,ghc-unordered-containers)
7718 ("ghc-tagged" ,ghc-tagged)
7719 ("ghc-path-pieces" ,ghc-path-pieces)
7720 ("ghc-http-api-data" ,ghc-http-api-data)))
7721 (native-inputs `(("ghc-hspec" ,ghc-hspec)
7722 ("ghc-quickcheck" ,ghc-quickcheck)))
7723 (home-page "https://www.yesodweb.com/book/persistent")
7724 (synopsis "Type-safe, non-relational, multi-backend persistence")
7725 (description "This Haskell package provides interfaces and helper
7726functions for the ghc-persistent package.")
7727 (license license:expat)))
7728
7729(define-public ghc-polyparse
7730 (package
7731 (name "ghc-polyparse")
9822b9ca 7732 (version "1.12.1")
dddbc90c
RV
7733 (source
7734 (origin
7735 (method url-fetch)
7736 (uri (string-append
7737 "https://hackage.haskell.org/package/polyparse/polyparse-"
7738 version
7739 ".tar.gz"))
7740 (sha256
7741 (base32
9822b9ca 7742 "19fs18g7fvfdkm9zy28cgighjcxfa6mcpqgyp6whmsjkb3h393fx"))))
dddbc90c
RV
7743 (build-system haskell-build-system)
7744 (home-page
7745 "http://code.haskell.org/~malcolm/polyparse/")
7746 (synopsis
7747 "Alternative parser combinator libraries")
7748 (description
7749 "This package provides a variety of alternative parser combinator
7750libraries, including the original HuttonMeijer set. The Poly sets have
7751features like good error reporting, arbitrary token type, running state, lazy
7752parsing, and so on. Finally, Text.Parse is a proposed replacement for the
7753standard Read class, for better deserialisation of Haskell values from
7754Strings.")
7755 (license license:lgpl2.1)))
7756
7757(define-public ghc-pqueue
7758 (package
7759 (name "ghc-pqueue")
142415b0 7760 (version "1.4.1.2")
dddbc90c
RV
7761 (source
7762 (origin
7763 (method url-fetch)
7764 (uri (string-append "https://hackage.haskell.org/package/"
7765 "pqueue/pqueue-" version ".tar.gz"))
7766 (sha256
7767 (base32
142415b0 7768 "1v4zhv2sc1zsw91hvnarkjhayx2dnf7ccxz6rrhsqpcs0szaranj"))))
dddbc90c
RV
7769 (build-system haskell-build-system)
7770 (native-inputs
7771 `(("ghc-quickcheck" ,ghc-quickcheck)))
7772 (home-page "https://hackage.haskell.org/package/pqueue")
7773 (synopsis "Reliable, persistent, fast priority queues")
7774 (description
7775 "This package provides a fast, reliable priority queue implementation
7776based on a binomial heap.")
7777 (license license:bsd-3)))
7778
7779(define-public ghc-prelude-extras
7780 (package
7781 (name "ghc-prelude-extras")
7782 (version "0.4.0.3")
7783 (source
7784 (origin
7785 (method url-fetch)
7786 (uri (string-append
7787 "https://hackage.haskell.org/package/prelude-extras/prelude-extras-"
7788 version
7789 ".tar.gz"))
7790 (sha256
7791 (base32
7792 "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9"))))
7793 (build-system haskell-build-system)
7794 (home-page "https://github.com/ekmett/prelude-extras")
7795 (synopsis "Higher order versions of Prelude classes")
7796 (description "This library provides higher order versions of
7797@code{Prelude} classes to ease programming with polymorphic recursion and
7798reduce @code{UndecidableInstances}.")
7799 (license license:bsd-3)))
7800
7801(define-public ghc-prettyclass
7802 (package
7803 (name "ghc-prettyclass")
7804 (version "1.0.0.0")
7805 (source
7806 (origin
7807 (method url-fetch)
7808 (uri (string-append "https://hackage.haskell.org/package/"
7809 "prettyclass/prettyclass-" version ".tar.gz"))
7810 (sha256
7811 (base32
7812 "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5"))))
7813 (build-system haskell-build-system)
7814 (home-page "http://hackage.haskell.org/package/prettyclass")
7815 (synopsis "Pretty printing class similar to Show")
7816 (description "This package provides a pretty printing class similar
7817to @code{Show}, based on the HughesPJ pretty printing library. It
7818provides the pretty printing class and instances for the Prelude
7819types.")
7820 (license license:bsd-3)))
7821
7822(define-public ghc-pretty-hex
7823 (package
7824 (name "ghc-pretty-hex")
7825 (version "1.0")
7826 (source
7827 (origin
7828 (method url-fetch)
7829 (uri (string-append "https://hackage.haskell.org/package/"
7830 "pretty-hex-" version "/"
7831 "pretty-hex-" version ".tar.gz"))
7832 (sha256
7833 (base32
7834 "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz"))))
7835 (build-system haskell-build-system)
7836 (home-page "https://github.com/GaloisInc/hexdump")
7837 (synopsis "Haskell library for hex dumps of ByteStrings")
7838 (description "This Haskell library generates pretty hex dumps of
7839ByteStrings in the style of other common *nix hex dump tools.")
7840 (license license:bsd-3)))
7841
7842(define-public ghc-pretty-show
7843 (package
7844 (name "ghc-pretty-show")
7683a084 7845 (version "1.9.5")
dddbc90c
RV
7846 (source
7847 (origin
7848 (method url-fetch)
7849 (uri (string-append "https://hackage.haskell.org/package/pretty-show/"
7850 "pretty-show-" version ".tar.gz"))
7851 (sha256
7852 (base32
7683a084 7853 "0gs2pabi4qa4b0r5vffpf9b1cf5n9y2939a3lljjw7cmg6xvx5dh"))))
dddbc90c
RV
7854 (build-system haskell-build-system)
7855 (inputs
7856 `(("ghc-haskell-lexer" ,ghc-haskell-lexer)
7857 ("ghc-happy" ,ghc-happy)))
7858 (home-page "http://wiki.github.com/yav/pretty-show")
7859 (synopsis "Tools for working with derived `Show` instances")
7860 (description
7861 "This package provides a library and an executable for working with
7862derived @code{Show} instances. By using the library, derived @code{Show}
7863instances can be parsed into a generic data structure. The @code{ppsh} tool
7864uses the library to produce human-readable versions of @code{Show} instances,
7865which can be quite handy for debugging Haskell programs. We can also render
7866complex generic values into an interactive Html page, for easier
7867examination.")
7868 (license license:expat)))
7869
7870(define-public ghc-primitive
7871 (package
7872 (name "ghc-primitive")
7873 (version "0.6.4.0")
7874 (outputs '("out" "doc"))
7875 (source
7876 (origin
7877 (method url-fetch)
7878 (uri (string-append
7879 "https://hackage.haskell.org/package/primitive/primitive-"
7880 version
7881 ".tar.gz"))
7882 (sha256
7883 (base32
7884 "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc"))))
7885 (build-system haskell-build-system)
6cf0daa4
TS
7886 (arguments
7887 `(#:cabal-revision
7888 ("1" "18a14k1yiam1m4l29rin9a0y53yp3nxvkz358nysld8aqwy2qsjv")))
dddbc90c
RV
7889 (home-page
7890 "https://github.com/haskell/primitive")
7891 (synopsis "Primitive memory-related operations")
7892 (description
7893 "This package provides various primitive memory-related operations.")
7894 (license license:bsd-3)))
7895
21f5b9a9
JS
7896(define-public ghc-process-extras
7897 (package
7898 (name "ghc-process-extras")
7899 (version "0.7.4")
7900 (source
7901 (origin
7902 (method url-fetch)
7903 (uri
7904 (string-append
7905 "https://hackage.haskell.org/package/process-extras/"
7906 "process-extras-" version ".tar.gz"))
7907 (sha256
7908 (base32
7909 "0klqgr37f1z2z6i0a9b0giapmq0p35l5k9kz1p7f0k1597w7agi9"))))
7910 (build-system haskell-build-system)
7911 (inputs
7912 `(("ghc-data-default" ,ghc-data-default)
7913 ("ghc-generic-deriving" ,ghc-generic-deriving)
7914 ("ghc-hunit" ,ghc-hunit)
7915 ("ghc-listlike" ,ghc-listlike)))
7916 (home-page "https://github.com/seereason/process-extras")
7917 (synopsis "Extra tools for managing processes")
f74b6983 7918 (description "This package extends
21f5b9a9
JS
7919@url{http://hackage.haskell.org/package/process}. It allows you to read
7920process input and output as ByteStrings or Text, or write your own
7921ProcessOutput instance. It also provides lazy process input and output,
7922and a ProcessMaker class for more flexibility in the process creation
7923API.")
7924 (license license:expat)))
7925
dddbc90c
RV
7926(define-public ghc-profunctors
7927 (package
7928 (name "ghc-profunctors")
7929 (version "5.2.2")
7930 (source
7931 (origin
7932 (method url-fetch)
7933 (uri (string-append
7934 "https://hackage.haskell.org/package/profunctors/profunctors-"
7935 version
7936 ".tar.gz"))
7937 (sha256
7938 (base32
7939 "0s1pwjidbn761xk43pmzyvn99hm3psdifjd78ylki7f97aiyd0g9"))))
7940 (build-system haskell-build-system)
7941 (arguments
7942 `(#:cabal-revision
7943 ("2" "1ywlg9z8nlhd2avgb8c6gbkv8zyk7hvc25926bafyg0m0k8y1amq")))
7944 (inputs
7945 `(("ghc-base-orphans" ,ghc-base-orphans)
7946 ("ghc-bifunctors" ,ghc-bifunctors)
7947 ("ghc-comonad" ,ghc-comonad)
7948 ("ghc-contravariant" ,ghc-contravariant)
7949 ("ghc-distributive" ,ghc-distributive)
7950 ("ghc-semigroups" ,ghc-semigroups)
7951 ("ghc-tagged" ,ghc-tagged)))
7952 (home-page "https://github.com/ekmett/profunctors/")
7953 (synopsis "Profunctors for Haskell")
7954 (description "This library provides profunctors for Haskell.")
7955 (license license:bsd-3)))
7956
7957(define-public ghc-psqueues
7958 (package
7959 (name "ghc-psqueues")
7960 (version "0.2.7.0")
7961 (source
7962 (origin
7963 (method url-fetch)
7964 (uri (string-append "https://hackage.haskell.org/package/"
7965 "psqueues-" version "/"
7966 "psqueues-" version ".tar.gz"))
7967 (sha256
7968 (base32
7969 "1sjgc9bxh63kkdp59nbirx3xazr02ia5yhp4f4a0jnq1hj465wsc"))))
7970 (build-system haskell-build-system)
7971 (inputs
7972 `(("ghc-hashable" ,ghc-hashable)))
7973 (native-inputs
7974 `(("ghc-hunit" ,ghc-hunit)
7975 ("ghc-quickcheck" ,ghc-quickcheck)
7976 ("ghc-tagged" ,ghc-tagged)
7977 ("ghc-test-framework" ,ghc-test-framework)
7978 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
7979 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
7980 (home-page "https://github.com/jaspervdj/psqueues")
7981 (synopsis "Pure priority search queues")
7982 (description "The psqueues package provides
7983@uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in
7984three different flavors:
7985
7986@itemize
7987@item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide
7988fast insertion, deletion and lookup. This implementation is based on Ralf
7989Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple
7990Implementation Technique for Priority Search Queues}.
7991
7992Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue,
7993PSQueue} library, although it is considerably faster and provides a slightly
7994different API.
7995
7996@item @code{IntPSQ p v} is a far more efficient implementation. It fixes the
7997key type to @code{Int} and uses a
7998@code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap})
7999with an additional min-heap property.
8000
8001@item @code{HashPSQ k p v} is a fairly straightforward extension
8002of @code{IntPSQ}: it simply uses the keys' hashes as indices in the
8003@code{IntPSQ}. If there are any hash collisions, it uses an
8004@code{OrdPSQ} to resolve those. The performance of this implementation
8005is comparable to that of @code{IntPSQ}, but it is more widely
8006applicable since the keys are not restricted to @code{Int},
8007but rather to any @code{Hashable} datatype.
8008@end itemize
8009
8010Each of the three implementations provides the same API, so they can
8011be used interchangeably.
8012
8013Typical applications of Priority Search Queues include:
8014
8015@itemize
8016@item Caches, and more specifically LRU Caches;
8017@item Schedulers;
8018@item Pathfinding algorithms, such as Dijkstra's and A*.
8019@end itemize")
8020 (license license:bsd-3)))
8021
8022(define-public ghc-random
8023 (package
8024 (name "ghc-random")
8025 (version "1.1")
8026 (outputs '("out" "doc"))
8027 (source
8028 (origin
8029 (method url-fetch)
8030 (uri (string-append
8031 "https://hackage.haskell.org/package/random/random-"
8032 version
8033 ".tar.gz"))
8034 (sha256
8035 (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p"))))
8036 (build-system haskell-build-system)
8037 (home-page "https://hackage.haskell.org/package/random")
8038 (synopsis "Random number library")
8039 (description "This package provides a basic random number generation
8040library, including the ability to split random number generators.")
8041 (license license:bsd-3)))
8042
8043(define-public ghc-raw-strings-qq
8044 (package
8045 (name "ghc-raw-strings-qq")
8046 (version "1.1")
8047 (source
8048 (origin
8049 (method url-fetch)
8050 (uri (string-append "https://hackage.haskell.org/package/"
8051 "raw-strings-qq/raw-strings-qq-"
8052 version ".tar.gz"))
8053 (sha256
8054 (base32
8055 "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f"))))
8056 (build-system haskell-build-system)
8057 (native-inputs `(("ghc-hunit" ,ghc-hunit)))
8058 (home-page "https://github.com/23Skidoo/raw-strings-qq")
8059 (synopsis "Raw string literals for Haskell")
8060 (description
8061 "This package provides a quasiquoter for raw string literals, i.e. string
8062literals that don't recognise the standard escape sequences. Basically, they
8063make your code more readable by freeing you from the responsibility to escape
8064backslashes. They are useful when working with regular expressions,
8065DOS/Windows paths and markup languages (such as XML).")
8066 (license license:bsd-3)))
8067
8068(define-public ghc-readable
8069 (package
8070 (name "ghc-readable")
8071 (version "0.3.1")
8072 (source
8073 (origin
8074 (method url-fetch)
8075 (uri (string-append "https://hackage.haskell.org/package/"
8076 "readable/readable-" version ".tar.gz"))
8077 (sha256
8078 (base32
8079 "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h"))))
8080 (build-system haskell-build-system)
8081 (home-page "https://github.com/mightybyte/readable")
8082 (synopsis "Type class for reading from Text and ByteString")
8083 (description "This package provides a @code{Readable} type class for
8084reading data types from @code{ByteString} and @code{Text}. It also
8085includes efficient implementations for common data types.")
8086 (license license:bsd-3)))
8087
8088(define-public ghc-rebase
8089 (package
8090 (name "ghc-rebase")
8091 (version "1.2.4")
8092 (source
8093 (origin
8094 (method url-fetch)
8095 (uri (string-append "https://hackage.haskell.org/package/"
8096 "rebase-" version "/"
8097 "rebase-" version ".tar.gz"))
8098 (sha256
8099 (base32
8100 "1gah2qwfpzwamnikbc5h4nv6dgvv9h16di9ka7946za3nibyasya"))))
8101 (build-system haskell-build-system)
8102 (inputs `(("ghc-hashable" ,ghc-hashable)
8103 ("ghc-vector" ,ghc-vector)
8104 ("ghc-unordered-containers" ,ghc-unordered-containers)
8105 ("ghc-scientific" ,ghc-scientific)
8106 ("ghc-uuid" ,ghc-uuid)
8107 ("ghc-dlist" ,ghc-dlist)
8108 ("ghc-void" ,ghc-void)
8109 ("ghc-bifunctors" ,ghc-bifunctors)
8110 ("ghc-profunctors" ,ghc-profunctors)
8111 ("ghc-contravariant" ,ghc-contravariant)
8112 ("ghc-contravariant-extras" ,ghc-contravariant-extras)
8113 ("ghc-semigroups" ,ghc-semigroups)
8114 ("ghc-either" ,ghc-either)
8115 ("ghc-fail" ,ghc-fail)
8116 ("ghc-base-prelude" ,ghc-base-prelude)))
8117 (home-page "https://github.com/nikita-volkov/rebase")
8118 (synopsis "Progressive alternative to the base package
8119for Haskell")
8120 (description "This Haskell package is intended for those who are
8121tired of keeping long lists of dependencies to the same essential libraries
8122in each package as well as the endless imports of the same APIs all over again.
8123
8124It also supports the modern tendencies in the language.
8125
8126To solve those problems this package does the following:
8127
8128@itemize
8129@item Reexport the original APIs under the @code{Rebase} namespace.
8130
8131@item Export all the possible non-conflicting symbols from the
8132@code{Rebase.Prelude} module.
8133
8134@item Give priority to the modern practices in the conflicting cases.
8135@end itemize
8136
8137The policy behind the package is only to reexport the non-ambiguous and
8138non-controversial APIs, which the community has obviously settled on.
8139The package is intended to rapidly evolve with the contribution from
8140the community, with the missing features being added with pull-requests.")
8141 (license license:expat)))
8142
8143(define-public ghc-reducers
8144 (package
8145 (name "ghc-reducers")
8146 (version "3.12.3")
8147 (source
8148 (origin
8149 (method url-fetch)
8150 (uri (string-append
8151 "https://hackage.haskell.org/package/reducers/reducers-"
8152 version
8153 ".tar.gz"))
8154 (sha256
8155 (base32
8156 "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki"))))
8157 (build-system haskell-build-system)
8158 (inputs
8159 `(("ghc-fingertree" ,ghc-fingertree)
8160 ("ghc-hashable" ,ghc-hashable)
8161 ("ghc-unordered-containers" ,ghc-unordered-containers)
8162 ("ghc-semigroupoids" ,ghc-semigroupoids)
8163 ("ghc-semigroups" ,ghc-semigroups)))
8164 (home-page "https://github.com/ekmett/reducers/")
8165 (synopsis "Semigroups, specialized containers and a general map/reduce framework")
8166 (description "This library provides various semigroups, specialized
8167containers and a general map/reduce framework for Haskell.")
8168 (license license:bsd-3)))
8169
8170(define-public ghc-refact
8171 (package
8172 (name "ghc-refact")
8173 (version "0.3.0.2")
8174 (source
8175 (origin
8176 (method url-fetch)
8177 (uri (string-append "https://hackage.haskell.org/package/"
8178 "refact/refact-"
8179 version ".tar.gz"))
8180 (sha256
8181 (base32
8182 "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a"))))
8183 (build-system haskell-build-system)
8184 (home-page "http://hackage.haskell.org/package/refact")
8185 (synopsis "Specify refactorings to perform with apply-refact")
8186 (description
8187 "This library provides a datatype which can be interpreted by
8188@code{apply-refact}. It exists as a separate library so that applications can
8189specify refactorings without depending on GHC.")
8190 (license license:bsd-3)))
8191
8192(define-public ghc-reflection
8193 (package
8194 (name "ghc-reflection")
8195 (version "2.1.4")
8196 (source
8197 (origin
8198 (method url-fetch)
8199 (uri (string-append
8200 "https://hackage.haskell.org/package/reflection/reflection-"
8201 version
8202 ".tar.gz"))
8203 (sha256
8204 (base32
8205 "0kf4a5ijw6jfnfibjcrpdy9vzh1n6v2pxia8dhyyqdissiwc8bzj"))))
8206 (build-system haskell-build-system)
8207 (inputs `(("ghc-tagged" ,ghc-tagged)))
8208 (home-page "https://github.com/ekmett/reflection")
8209 (synopsis "Reify arbitrary terms into types that can be reflected back
8210into terms")
8211 (description "This package addresses the 'configuration problem' which is
8212propagating configurations that are available at run-time, allowing multiple
8213configurations to coexist without resorting to mutable global variables or
8214@code{System.IO.Unsafe.unsafePerformIO}.")
8215 (license license:bsd-3)))
8216
8217(define-public ghc-regex
8218 (package
8219 (name "ghc-regex")
8220 (version "1.0.1.3")
8221 (source
8222 (origin
8223 (method url-fetch)
8224 (uri (string-append "https://hackage.haskell.org/package/regex/"
8225 "regex-" version ".tar.gz"))
8226 (sha256
8227 (base32
8228 "1sjkpkgv4phy5b5v2lr89x4vx4dh44pj0sbvlsp6n86w9v6v4jwb"))))
8229 (build-system haskell-build-system)
8230 (arguments
8231 `(#:phases
8232 (modify-phases %standard-phases
8233 (add-after 'unpack 'relax-dependencies
8234 (lambda _
8235 (substitute* "regex.cabal"
8236 (("base-compat.*>=.*0.6.*")
8237 "base-compat >= 0.6\n")
8238 (("template-haskell.*>=.*2.7.*")
8239 "template-haskell >= 2.7\n"))
8240 #t)))))
8241 (inputs
8242 `(("ghc-base-compat" ,ghc-base-compat)
8243 ("ghc-hashable" ,ghc-hashable)
8244 ("ghc-regex-base" ,ghc-regex-base)
8245 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
8246 ("ghc-regex-tdfa" ,ghc-regex-tdfa)
8247 ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text)
8248 ("ghc-time-locale-compat" ,ghc-time-locale-compat)
8249 ("ghc-unordered-containers" ,ghc-unordered-containers)
8250 ("ghc-utf8-string" ,ghc-utf8-string)))
8251 (home-page "http://regex.uk")
8252 (synopsis "Toolkit for regex-base")
8253 (description
8254 "This package provides a regular expression toolkit for @code{regex-base}
8255with compile-time checking of regular expression syntax, data types for
8256matches and captures, a text replacement toolkit, portable options, high-level
8257AWK-like tools for building text processing apps, regular expression macros
8258with parsers and test bench, comprehensive documentation, tutorials and
8259copious examples.")
8260 (license license:bsd-3)))
8261
8262(define-public ghc-regex-applicative
8263 (package
8264 (name "ghc-regex-applicative")
8265 (version "0.3.3")
8266 (source
8267 (origin
8268 (method url-fetch)
8269 (uri (string-append
8270 "https://hackage.haskell.org/package/regex-applicative/"
8271 "regex-applicative-" version ".tar.gz"))
8272 (sha256
8273 (base32
8274 "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6"))))
8275 (build-system haskell-build-system)
8276 (inputs
8277 `(("ghc-smallcheck" ,ghc-smallcheck)
8278 ("ghc-tasty" ,ghc-tasty)
8279 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
8280 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
8281 (home-page "https://github.com/feuerbach/regex-applicative")
8282 (synopsis "Regex-based parsing with applicative interface")
8283 (description
8284 "@code{regex-applicative} is a Haskell library for parsing using
8285regular expressions. Parsers can be built using Applicative interface.")
8286 (license license:expat)))
8287
8288(define-public ghc-regex-base
8289 (package
8290 (name "ghc-regex-base")
8291 (version "0.93.2")
8292 (source
8293 (origin
8294 (method url-fetch)
8295 (uri (string-append
8296 "https://hackage.haskell.org/package/regex-base/regex-base-"
8297 version
8298 ".tar.gz"))
8299 (sha256
8300 (base32
8301 "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10"))))
8302 (build-system haskell-build-system)
8303 (home-page
8304 "https://sourceforge.net/projects/lazy-regex")
8305 (synopsis "Replaces/Enhances Text.Regex")
8306 (description "@code{Text.Regex.Base} provides the interface API for
8307regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.")
8308 (license license:bsd-3)))
8309
8310(define-public ghc-regex-compat
8311 (package
8312 (name "ghc-regex-compat")
8313 (version "0.95.1")
8314 (source
8315 (origin
8316 (method url-fetch)
8317 (uri (string-append
8318 "https://hackage.haskell.org/package/regex-compat/regex-compat-"
8319 version
8320 ".tar.gz"))
8321 (sha256
8322 (base32
8323 "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m"))))
8324 (build-system haskell-build-system)
8325 (inputs
8326 `(("ghc-regex-base" ,ghc-regex-base)
8327 ("ghc-regex-posix" ,ghc-regex-posix)))
8328 (home-page "https://sourceforge.net/projects/lazy-regex")
8329 (synopsis "Replaces/Enhances Text.Regex")
8330 (description "This library provides one module layer over
8331@code{regex-posix} to replace @code{Text.Regex}.")
8332 (license license:bsd-3)))
8333
8334(define-public ghc-regex-compat-tdfa
8335 (package
8336 (name "ghc-regex-compat-tdfa")
8337 (version "0.95.1.4")
8338 (source
8339 (origin
8340 (method url-fetch)
8341 (uri (string-append
8342 "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-"
8343 version ".tar.gz"))
8344 (sha256
8345 (base32
8346 "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg"))))
8347 (build-system haskell-build-system)
8348 (inputs
8349 `(("ghc-regex-base" ,ghc-regex-base)
8350 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
8351 (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa")
8352 (synopsis "Unicode Support version of Text.Regex, using regex-tdfa")
8353 (description
8354 "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}.
8355@code{regex-compat} can't use Unicode characters correctly because of using regex-posix.
8356This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve
8357this problem.")
8358 (license license:bsd-3)))
8359
8360(define-public ghc-regex-pcre-builtin
8361 (package
8362 (name "ghc-regex-pcre-builtin")
ee946143 8363 (version "0.94.5.8.8.35")
dddbc90c
RV
8364 (source (origin
8365 (method url-fetch)
8366 (uri (string-append "https://hackage.haskell.org/package/"
8367 "regex-pcre-builtin/regex-pcre-builtin-"
8368 version ".tar.gz"))
8369 (sha256
8370 (base32
ee946143 8371 "1s755qdg1mxrf125sh83bsc5kjkrj8fkq8wf6dg1jan86c7p7gl4"))))
dddbc90c
RV
8372 (build-system haskell-build-system)
8373 (inputs
8374 `(("ghc-regex-base" ,ghc-regex-base)))
8375 (home-page "https://hackage.haskell.org/package/regex-pcre")
8376 (synopsis "Enhancement of the builtin Text.Regex library")
8377 (description
8378 "This package is an enhancement of the @code{Text.Regex} library,
8379providing the PCRE backend to accompany regex-base, with bundled code from
8380@url{https://www.pcre.org}.")
8381 (license license:bsd-3)))
8382
8383(define-public ghc-regex-posix
8384 (package
8385 (name "ghc-regex-posix")
8386 (version "0.95.2")
8387 (source
8388 (origin
8389 (method url-fetch)
8390 (uri (string-append
8391 "https://hackage.haskell.org/package/regex-posix/regex-posix-"
8392 version
8393 ".tar.gz"))
8394 (sha256
8395 (base32
8396 "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an"))))
8397 (build-system haskell-build-system)
8398 (inputs
8399 `(("ghc-regex-base" ,ghc-regex-base)))
8400 (home-page "https://sourceforge.net/projects/lazy-regex")
8401 (synopsis "POSIX regular expressions for Haskell")
8402 (description "This library provides the POSIX regex backend used by the
8403Haskell library @code{regex-base}.")
8404 (license license:bsd-3)))
8405
8406(define-public ghc-regex-tdfa
8407 (package
8408 (name "ghc-regex-tdfa")
ce684db0 8409 (version "1.2.3.2")
dddbc90c
RV
8410 (source
8411 (origin
8412 (method url-fetch)
8413 (uri (string-append
8414 "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-"
8415 version ".tar.gz"))
8416 (sha256
8417 (base32
ce684db0 8418 "03yhpqrqz977nwlnhnyz9dacnbzw8xb6j18h365rkgmbc05sb3hf"))))
dddbc90c
RV
8419 (build-system haskell-build-system)
8420 (inputs
8421 `(("ghc-regex-base" ,ghc-regex-base)))
8422 (home-page "https://github.com/ChrisKuklewicz/regex-tdfa")
8423 (synopsis "POSIX extended regular expressions in Haskell.")
8424 (description
8425 "Regex-tdfa is a pure Haskell regular expression library implementing POSIX
8426extended regular expressions. It is a \"tagged\" DFA regex engine. It is
8427inspired by libtre.")
8428 (license license:bsd-3)))
8429
8430(define-public ghc-regex-tdfa-text
8431 (package
8432 (name "ghc-regex-tdfa-text")
8433 (version "1.0.0.3")
8434 (source
8435 (origin
8436 (method url-fetch)
8437 (uri (string-append
8438 "https://hackage.haskell.org/package/regex-tdfa-text/"
8439 "regex-tdfa-text-" version ".tar.gz"))
8440 (sha256
8441 (base32
8442 "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq"))))
8443 (build-system haskell-build-system)
8444 (inputs
8445 `(("ghc-regex-base" ,ghc-regex-base)
8446 ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
8447 (home-page
8448 "http://hackage.haskell.org/package/regex-tdfa-text")
8449 (synopsis "Text interface for regex-tdfa")
8450 (description
8451 "This provides an extra text interface for regex-tdfa.")
8452 (license license:bsd-3)))
8453
8454(define-public ghc-rerebase
8455 (package
8456 (name "ghc-rerebase")
8457 (version "1.2.2")
8458 (source
8459 (origin
8460 (method url-fetch)
8461 (uri (string-append
8462 "https://hackage.haskell.org/package/rerebase/rerebase-"
8463 version ".tar.gz"))
8464 (sha256
8465 (base32
8466 "11v6rmz7ql2rdx6mhb3lsal952lwihclfhh0m7fcnii5br0906ks"))))
8467 (build-system haskell-build-system)
8468 (inputs
8469 `(("ghc-rebase" ,ghc-rebase)))
8470 (home-page "https://github.com/nikita-volkov/rerebase")
8471 (synopsis "Reexports from ``base'' with many other standard libraries")
8472 (description "A rich drop-in replacement for @code{base}. For details and
8473documentation please visit @uref{https://github.com/nikita-volkov/rerebase,
8474the project's home page}.")
8475 (license license:expat)))
8476
8477(define-public ghc-resolv
8478 (package
8479 (name "ghc-resolv")
8480 (version "0.1.1.1")
8481 (source
8482 (origin
8483 (method url-fetch)
8484 (uri (string-append
8485 "https://hackage.haskell.org/package/resolv/resolv-"
8486 version ".tar.gz"))
8487 (sha256
8488 (base32
8489 "0wh7wj56l3f2bylz563g5g04a4nydj8acv60hpwa7k3mn792xca9"))))
8490 (build-system haskell-build-system)
8491 (arguments
8492 `(#:cabal-revision
8493 ("1" "15ay4n3x8c09cb3h4z1nan84yd3n9zpgvi6h114hk98bq10k8mma")
8494 #:tests? #f)) ; The required test frameworks are too old.
8495 (inputs
8496 `(("ghc-base16-bytestring" ,ghc-base16-bytestring)))
8497 (home-page "https://github.com/haskell/hackage-security")
8498 (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}")
8499 (description "This package implements an API for accessing the
8500@uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)}
8501resolver service via the standard @code{libresolv} system library (whose
8502API is often available directly via the standard @code{libc} C library) on
8503Unix systems.")
8504 (license license:gpl3)))
8505
8506(define-public ghc-resource-pool
8507 (package
8508 (name "ghc-resource-pool")
8509 (version "0.2.3.2")
8510 (source
8511 (origin
8512 (method url-fetch)
8513 (uri (string-append "https://hackage.haskell.org/package/"
8514 "resource-pool-" version "/"
8515 "resource-pool-" version ".tar.gz"))
8516 (sha256
8517 (base32
8518 "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6"))))
8519 (build-system haskell-build-system)
8520 (inputs `(("ghc-hashable" ,ghc-hashable)
8521 ("ghc-monad-control" ,ghc-monad-control)
8522 ("ghc-transformers-base" ,ghc-transformers-base)
8523 ("ghc-vector" ,ghc-vector)))
8524 (home-page "https://github.com/bos/pool")
8525 (synopsis "Striped resource pooling implementation in Haskell")
8526 (description "This Haskell package provides striped pooling abstraction
8527for managing flexibly-sized collections of resources such as database
8528connections.")
8529 (license license:bsd-3)))
8530
8531(define-public ghc-resourcet
8532 (package
8533 (name "ghc-resourcet")
8534 (version "1.2.1")
8535 (source
8536 (origin
8537 (method url-fetch)
8538 (uri (string-append "https://hackage.haskell.org/package/resourcet/"
8539 "resourcet-" version ".tar.gz"))
8540 (sha256
8541 (base32
8542 "0rzjzh34s36ssign7akqjnwnjxf11c3511wk7ky0xxy0dqmc2rg7"))))
8543 (build-system haskell-build-system)
8544 (inputs
8545 `(("ghc-transformers-base" ,ghc-transformers-base)
8546 ("ghc-monad-control" ,ghc-monad-control)
8547 ("ghc-transformers-compat" ,ghc-transformers-compat)
8548 ("ghc-mmorph" ,ghc-mmorph)
8549 ("ghc-exceptions" ,ghc-exceptions)
8550 ("ghc-unliftio-core" ,ghc-unliftio-core)))
8551 (native-inputs
8552 `(("ghc-lifted-base" ,ghc-lifted-base)
8553 ("ghc-hspec" ,ghc-hspec)))
8554 (home-page "https://github.com/snoyberg/conduit")
8555 (synopsis "Deterministic allocation and freeing of scarce resources")
8556 (description "ResourceT is a monad transformer which creates a region of
8557code where you can safely allocate resources.")
8558 (license license:bsd-3)))
8559
8560(define-public ghc-rfc5051
8561 (package
8562 (name "ghc-rfc5051")
ec42ab7c 8563 (version "0.1.0.4")
dddbc90c
RV
8564 (source
8565 (origin
8566 (method url-fetch)
8567 (uri (string-append "https://hackage.haskell.org/package/rfc5051/"
8568 "rfc5051-" version ".tar.gz"))
8569 (sha256
8570 (base32
ec42ab7c 8571 "1lxkq414ni986ciml4gbvf463fn55z299knky7pq3ixb1qislpb1"))))
dddbc90c
RV
8572 (build-system haskell-build-system)
8573 (home-page "https://hackage.haskell.org/package/rfc5051")
8574 (synopsis "Simple unicode collation as per RFC5051")
8575 (description
8576 "This library implements @code{unicode-casemap}, the simple, non
8577locale-sensitive unicode collation algorithm described in RFC 5051. Proper
8578unicode collation can be done using @code{text-icu}, but that is a big
8579dependency that depends on a large C library, and @code{rfc5051} might be
8580better for some purposes.")
8581 (license license:bsd-3)))
8582
8583(define-public ghc-rio
8584 (package
8585 (name "ghc-rio")
8586 (version "0.1.5.0")
8587 (source
8588 (origin
8589 (method url-fetch)
8590 (uri (string-append
8591 "https://hackage.haskell.org/package/rio/rio-"
8592 version ".tar.gz"))
8593 (sha256
8594 (base32
8595 "064h8a4hp53a479d3ak0vmqbx8hi0cpg7zn4wp23rjy26dka8p7g"))))
8596 (build-system haskell-build-system)
8597 (inputs
8598 `(("ghc-exceptions" ,ghc-exceptions)
8599 ("ghc-hashable" ,ghc-hashable)
8600 ("ghc-microlens" ,ghc-microlens)
8601 ("ghc-primitive" ,ghc-primitive)
8602 ("ghc-typed-process" ,ghc-typed-process)
8603 ("ghc-unliftio" ,ghc-unliftio)
8604 ("ghc-unordered-containers" ,ghc-unordered-containers)
8605 ("ghc-vector" ,ghc-vector)))
8606 (native-inputs
8607 `(("ghc-hspec" ,ghc-hspec)
8608 ("hspec-discover" ,hspec-discover)))
8609 (home-page "https://github.com/commercialhaskell/rio#readme")
8610 (synopsis "A standard library for Haskell")
8611 (description "This package works as a prelude replacement for Haskell,
8612providing more functionality and types out of the box than the standard
8613prelude (such as common data types like @code{ByteString} and
8614@code{Text}), as well as removing common ``gotchas'', like partial
8615functions and lazy I/O. The guiding principle here is:
8616@itemize
8617@item If something is safe to use in general and has no expected naming
8618conflicts, expose it.
8619@item If something should not always be used, or has naming conflicts,
8620expose it from another module in the hierarchy.
8621@end itemize")
8622 (license license:expat)))
8623
8624(define-public ghc-safe
8625 (package
8626 (name "ghc-safe")
8627 (version "0.3.17")
8628 (source
8629 (origin
8630 (method url-fetch)
8631 (uri (string-append
8632 "https://hackage.haskell.org/package/safe/safe-"
8633 version
8634 ".tar.gz"))
8635 (sha256
8636 (base32
8637 "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr"))))
8638 (build-system haskell-build-system)
8639 (native-inputs
8640 `(("ghc-quickcheck" ,ghc-quickcheck)))
8641 (home-page "https://github.com/ndmitchell/safe#readme")
8642 (synopsis "Library of safe (exception free) functions")
8643 (description "This library provides wrappers around @code{Prelude} and
8644@code{Data.List} functions, such as @code{head} and @code{!!}, that can throw
8645exceptions.")
8646 (license license:bsd-3)))
8647
8648(define-public ghc-safe-exceptions
8649 (package
8650 (name "ghc-safe-exceptions")
8651 (version "0.1.7.0")
8652 (source
8653 (origin
8654 (method url-fetch)
8655 (uri (string-append "https://hackage.haskell.org/package/"
8656 "safe-exceptions/safe-exceptions-"
8657 version ".tar.gz"))
8658 (sha256
8659 (base32
8660 "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q"))))
8661 (build-system haskell-build-system)
8662 (arguments
8663 '(#:cabal-revision
8664 ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32")))
8665 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
8666 (native-inputs
8667 `(("ghc-hspec" ,ghc-hspec)
8668 ("ghc-void" ,ghc-void)
8669 ("hspec-discover" ,hspec-discover)))
8670 (home-page "https://github.com/fpco/safe-exceptions")
8671 (synopsis "Safe, consistent, and easy exception handling")
8672 (description "Runtime exceptions - as exposed in @code{base} by the
8673@code{Control.Exception} module - have long been an intimidating part of the
8674Haskell ecosystem. This package is intended to overcome this. It provides a
8675safe and simple API on top of the existing exception handling machinery. The
8676API is equivalent to the underlying implementation in terms of power but
8677encourages best practices to minimize the chances of getting the exception
8678handling wrong.")
8679 (license license:expat)))
8680
8681(define-public ghc-safeio
8682 (package
8683 (name "ghc-safeio")
8684 (version "0.0.5.0")
8685 (source
8686 (origin
8687 (method url-fetch)
8688 (uri (string-append "https://hackage.haskell.org/package/safeio/"
8689 "safeio-" version ".tar.gz"))
8690 (sha256
8691 (base32
8692 "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm"))))
8693 (build-system haskell-build-system)
8694 (inputs
8695 `(("ghc-conduit" ,ghc-conduit)
8696 ("ghc-conduit-combinators" ,ghc-conduit-combinators)
8697 ("ghc-exceptions" ,ghc-exceptions)
8698 ("ghc-resourcet" ,ghc-resourcet)))
8699 (native-inputs
8700 `(("ghc-hunit" ,ghc-hunit)
8701 ("ghc-test-framework" ,ghc-test-framework)
8702 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
8703 ("ghc-test-framework-th" ,ghc-test-framework-th)))
8704 (home-page "https://github.com/luispedro/safeio")
8705 (synopsis "Write output to disk atomically")
8706 (description
8707 "This package implements utilities to perform atomic output so as to
8708avoid the problem of partial intermediate files.")
8709 (license license:expat)))
8710
8711(define-public ghc-safesemaphore
8712 (package
8713 (name "ghc-safesemaphore")
8714 (version "0.10.1")
8715 (source
8716 (origin
8717 (method url-fetch)
8718 (uri (string-append "https://hackage.haskell.org/package/"
8719 "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
8720 (sha256
8721 (base32
8722 "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
8723 (build-system haskell-build-system)
8724 (native-inputs
8725 `(("ghc-hunit" ,ghc-hunit)))
8726 (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
8727 (synopsis "Exception safe semaphores")
8728 (description "This library provides exception safe semaphores that can be
8729used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
8730are not exception safe and can be broken by @code{killThread}.")
8731 (license license:bsd-3)))
8732
8733(define-public ghc-sandi
8734 (package
8735 (name "ghc-sandi")
8736 (version "0.4.2")
8737 (source
8738 (origin
8739 (method url-fetch)
8740 (uri (string-append
8741 "https://hackage.haskell.org/package/sandi/sandi-"
8742 version ".tar.gz"))
8743 (sha256
8744 (base32
8745 "0dvkpk91n9kz2ha04rvp231ra9sgd1ilyc1qkzf9l03iir7zrh9b"))))
8746 (build-system haskell-build-system)
8747 (inputs
8748 `(("ghc-stringsearch" ,ghc-stringsearch)
8749 ("ghc-conduit" ,ghc-conduit)
8750 ("ghc-exceptions" ,ghc-exceptions)
8751 ("ghc-hunit" ,ghc-hunit)
8752 ("ghc-tasty" ,ghc-tasty)
8753 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8754 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
8755 ("ghc-tasty-th" ,ghc-tasty-th)))
8756 (home-page "https://hackage.haskell.org/package/sandi")
8757 (synopsis "Data encoding library")
8758 (description "Reasonably fast data encoding library.")
8759 (license license:bsd-3)))
8760
8761(define-public ghc-scientific
8762 (package
8763 (name "ghc-scientific")
8764 (version "0.3.6.2")
8765 (source
8766 (origin
8767 (method url-fetch)
8768 (uri (string-append
8769 "https://hackage.haskell.org/package/scientific/scientific-"
8770 version
8771 ".tar.gz"))
8772 (sha256
8773 (base32
8774 "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397"))))
8775 (build-system haskell-build-system)
8776 (inputs
8777 `(("ghc-integer-logarithms" ,ghc-integer-logarithms)
8778 ("ghc-hashable" ,ghc-hashable)
8779 ("ghc-primitive" ,ghc-primitive)))
8780 (native-inputs
8781 `(("ghc-tasty" ,ghc-tasty)
8782 ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
8783 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
8784 ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
8785 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
8786 ("ghc-smallcheck" ,ghc-smallcheck)
8787 ("ghc-quickcheck" ,ghc-quickcheck)))
8788 (home-page "https://github.com/basvandijk/scientific")
8789 (synopsis "Numbers represented using scientific notation")
8790 (description "This package provides @code{Data.Scientific}, which provides
8791the number type @code{Scientific}. Scientific numbers are arbitrary precision
8792and space efficient. They are represented using
8793@uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific
8794notation}.")
8795 (license license:bsd-3)))
8796
8797(define-public ghc-scientific-bootstrap
8798 (package
8799 (inherit ghc-scientific)
8800 (name "ghc-scientific-bootstrap")
8801 (arguments `(#:tests? #f))
8802 (inputs
8803 `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap)
8804 ("ghc-hashable" ,ghc-hashable)
8805 ("ghc-primitive" ,ghc-primitive)))
8806 (native-inputs '())
799d8d3c 8807 (properties '((hidden? #t)))))
dddbc90c
RV
8808
8809(define-public ghc-sdl
8810 (package
8811 (name "ghc-sdl")
8812 (version "0.6.7.0")
8813 (source
8814 (origin
8815 (method url-fetch)
8816 (uri (string-append
8817 "https://hackage.haskell.org/package/SDL/SDL-"
8818 version
8819 ".tar.gz"))
8820 (sha256
8821 (base32
8822 "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq"))))
8823 (build-system haskell-build-system)
8824 (inputs
8825 `(("sdl" ,sdl)))
8826 (home-page "https://hackage.haskell.org/package/SDL")
8827 (synopsis "LibSDL for Haskell")
8828 (description "Simple DirectMedia Layer (libSDL) is a cross-platform
8829multimedia library designed to provide low level access to audio, keyboard,
8830mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used
8831by MPEG playback software, emulators, and many popular games, including the
8832award winning Linux port of \"Civilization: Call To Power.\"")
8833 (license license:bsd-3)))
8834
1874cdc1
RV
8835(define-public ghc-sdl2
8836 (package
8837 (name "ghc-sdl2")
8838 (version "2.4.1.0")
8839 (source
8840 (origin
8841 (method url-fetch)
8842 (uri (string-append "https://hackage.haskell.org/package/"
8843 "sdl2/sdl2-" version ".tar.gz"))
8844 (sha256
8845 (base32
8846 "0p4b12fmxps0sbnkqdfy0qw19s355yrkw7fgw6xz53wzq706k991"))))
8847 (build-system haskell-build-system)
8848 (arguments '(#:tests? #f)) ; tests require graphical environment
8849 (inputs
8850 `(("ghc-exceptions" ,ghc-exceptions)
8851 ("ghc-linear" ,ghc-linear)
8852 ("ghc-statevar" ,ghc-statevar)
8853 ("ghc-vector" ,ghc-vector)
8854 ("sdl2" ,sdl2)))
8855 (native-inputs
8856 `(("ghc-weigh" ,ghc-weigh)
8857 ("pkg-config" ,pkg-config)))
8858 (home-page "http://hackage.haskell.org/package/sdl2")
8859 (synopsis "High- and low-level bindings to the SDL library")
8860 (description
8861 "This package contains bindings to the SDL 2 library, in both high- and
8862low-level forms. The @code{SDL} namespace contains high-level bindings, where
8863enumerations are split into sum types, and we perform automatic
8864error-checking. The @code{SDL.Raw} namespace contains an almost 1-1
8865translation of the C API into Haskell FFI calls. As such, this does not
8866contain sum types nor error checking. Thus this namespace is suitable for
8867building your own abstraction over SDL, but is not recommended for day-to-day
8868programming.")
8869 (license license:bsd-3)))
8870
8871(define-public ghc-sdl2-image
8872 (package
8873 (name "ghc-sdl2-image")
8874 (version "2.0.0")
8875 (source
8876 (origin
8877 (method url-fetch)
8878 (uri (string-append "https://hackage.haskell.org/package/sdl2-image/"
8879 "sdl2-image-" version ".tar.gz"))
8880 (sha256
8881 (base32
8882 "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr"))))
8883 (build-system haskell-build-system)
8884 (inputs
8885 `(("ghc-sdl2" ,ghc-sdl2)
8886 ("sdl2-image" ,sdl2-image)))
8887 (native-inputs
8888 `(("pkg-config" ,pkg-config)))
8889 (home-page "http://hackage.haskell.org/package/sdl2-image")
8890 (synopsis "Bindings to SDL2_image")
8891 (description "This package provides Haskell bindings to
8892@code{SDL2_image}.")
8893 (license license:expat)))
8894
8895(define-public ghc-sdl2-mixer
8896 (package
8897 (name "ghc-sdl2-mixer")
8898 (version "1.1.0")
8899 (source
8900 (origin
8901 (method url-fetch)
8902 (uri (string-append "https://hackage.haskell.org/package/sdl2-mixer/"
8903 "sdl2-mixer-" version ".tar.gz"))
8904 (sha256
8905 (base32
8906 "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g"))))
8907 (build-system haskell-build-system)
8908 (inputs
8909 `(("ghc-data-default-class" ,ghc-data-default-class)
8910 ("ghc-lifted-base" ,ghc-lifted-base)
8911 ("ghc-monad-control" ,ghc-monad-control)
8912 ("ghc-sdl2" ,ghc-sdl2)
8913 ("ghc-vector" ,ghc-vector)
8914 ("sdl2-mixer" ,sdl2-mixer)))
8915 (native-inputs
8916 `(("pkg-config" ,pkg-config)))
8917 (home-page "http://hackage.haskell.org/package/sdl2-mixer")
8918 (synopsis "Bindings to SDL2 mixer")
8919 (description "This package provides Haskell bindings to
8920@code{SDL2_mixer}.")
8921 (license license:bsd-3)))
8922
dddbc90c
RV
8923(define-public ghc-sdl-image
8924 (package
8925 (name "ghc-sdl-image")
8926 (version "0.6.2.0")
8927 (source
8928 (origin
8929 (method url-fetch)
8930 (uri (string-append
8931 "https://hackage.haskell.org/package/SDL-image/SDL-image-"
8932 version
8933 ".tar.gz"))
8934 (sha256
8935 (base32
8936 "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1"))))
8937 (build-system haskell-build-system)
8938 (arguments
8939 `(#:configure-flags
8940 (let* ((sdl-image (assoc-ref %build-inputs "sdl-image"))
8941 (sdl-image-include (string-append sdl-image "/include/SDL")))
8942 (list (string-append "--extra-include-dirs=" sdl-image-include)))))
8943 (inputs
8944 `(("ghc-sdl" ,ghc-sdl)
8945 ("sdl-image" ,sdl-image)))
8946 (home-page "https://hackage.haskell.org/package/SDL-image")
8947 (synopsis "Haskell bindings to libSDL_image")
8948 (description "SDL_image is an image file loading library. It loads images
8949as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX,
8950PNG, PNM, TGA, TIFF, XCF, XPM, XV.")
8951 (license license:bsd-3)))
8952
8953(define-public ghc-sdl-mixer
8954 (package
8955 (name "ghc-sdl-mixer")
8956 (version "0.6.3.0")
8957 (source
8958 (origin
8959 (method url-fetch)
8960 (uri (string-append
8961 "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-"
8962 version
8963 ".tar.gz"))
8964 (sha256
8965 (base32
8966 "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r"))))
8967 (build-system haskell-build-system)
8968 (arguments
8969 `(#:configure-flags
8970 (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer"))
8971 (sdl-mixer-include (string-append sdl-mixer "/include/SDL")))
8972 (list (string-append "--extra-include-dirs=" sdl-mixer-include)))))
8973 (inputs
8974 `(("ghc-sdl" ,ghc-sdl)
8975 ("sdl-mixer" ,sdl-mixer)))
8976 (home-page "https://hackage.haskell.org/package/SDL-mixer")
8977 (synopsis "Haskell bindings to libSDL_mixer")
8978 (description "SDL_mixer is a sample multi-channel audio mixer library. It
8979supports any number of simultaneously playing channels of 16 bit stereo audio,
8980plus a single channel of music, mixed by the popular MikMod MOD, Timidity
8981MIDI, Ogg Vorbis, and SMPEG MP3 libraries.")
8982 (license license:bsd-3)))
8983
8984(define-public ghc-securemem
8985 (package
8986 (name "ghc-securemem")
8987 (version "0.1.10")
8988 (source
8989 (origin
8990 (method url-fetch)
8991 (uri (string-append "https://hackage.haskell.org/package/"
8992 "securemem-" version "/"
8993 "securemem-" version ".tar.gz"))
8994 (sha256
8995 (base32
8996 "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j"))))
8997 (build-system haskell-build-system)
8998 (inputs `(("ghc-byteable" ,ghc-byteable)
8999 ("ghc-memory" ,ghc-memory)))
9000 (home-page "https://github.com/vincenthz/hs-securemem")
9001 (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
9002Haskell")
9003 (description "SecureMem is similar to ByteString, except that it provides
9004a memory chunk that will be auto-scrubbed after it run out of scope.")
9005 (license license:bsd-3)))
9006
9007(define-public ghc-semigroupoids
9008 (package
9009 (name "ghc-semigroupoids")
9010 (version "5.2.2")
9011 (source
9012 (origin
9013 (method url-fetch)
9014 (uri (string-append
9015 "https://hackage.haskell.org/package/semigroupoids/semigroupoids-"
9016 version
9017 ".tar.gz"))
9018 (sha256
9019 (base32
9020 "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4"))))
9021 (build-system haskell-build-system)
9022 (arguments
9023 `(#:cabal-revision
9024 ("4" "0pqfrxzypjq6z8lgdkzq4vhcyqkpk5326hny0r6snpc3gm78r4ij")))
9025 (inputs
9026 `(("ghc-base-orphans" ,ghc-base-orphans)
9027 ("ghc-transformers-compat" ,ghc-transformers-compat)
9028 ("ghc-bifunctors" ,ghc-bifunctors)
9029 ("ghc-comonad" ,ghc-comonad)
9030 ("ghc-contravariant" ,ghc-contravariant)
9031 ("ghc-distributive" ,ghc-distributive)
9032 ("ghc-hashable" ,ghc-hashable)
9033 ("ghc-semigroups" ,ghc-semigroups)
9034 ("ghc-tagged" ,ghc-tagged)
9035 ("ghc-unordered-containers" ,ghc-unordered-containers)))
9036 (native-inputs
9037 `(("cabal-doctest" ,cabal-doctest)
9038 ("ghc-doctest" ,ghc-doctest)))
9039 (home-page "https://github.com/ekmett/semigroupoids")
9040 (synopsis "Semigroupoids operations for Haskell")
9041 (description "This library provides a wide array of (semi)groupoids and
9042operations for working with them. A @code{Semigroupoid} is a @code{Category}
9043without the requirement of identity arrows for every object in the category.
9044A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds.
9045Finally, to work with these weaker structures it is beneficial to have
9046containers that can provide stronger guarantees about their contents, so
9047versions of @code{Traversable} and @code{Foldable} that can be folded with
9048just a @code{Semigroup} are added.")
9049 (license license:bsd-3)))
9050
9051(define-public ghc-semigroups
9052 (package
9053 (name "ghc-semigroups")
9054 (version "0.18.5")
9055 (source
9056 (origin
9057 (method url-fetch)
9058 (uri (string-append
9059 "https://hackage.haskell.org/package/semigroups/semigroups-"
9060 version
9061 ".tar.gz"))
9062 (sha256
9063 (base32
9064 "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb"))))
9065 (build-system haskell-build-system)
9066 (inputs
9067 `(("ghc-nats" ,ghc-nats)
9068 ("ghc-tagged" ,ghc-tagged)
9069 ("ghc-unordered-containers" ,ghc-unordered-containers)
9070 ("ghc-hashable" ,ghc-hashable)))
9071 (home-page "https://github.com/ekmett/semigroups/")
9072 (synopsis "Semigroup operations for Haskell")
9073 (description "This package provides semigroups for Haskell. In
9074mathematics, a semigroup is an algebraic structure consisting of a set
9075together with an associative binary operation. A semigroup generalizes a
9076monoid in that there might not exist an identity element. It
9077also (originally) generalized a group (a monoid with all inverses) to a type
9078where every element did not have to have an inverse, thus the name
9079semigroup.")
9080 (license license:bsd-3)))
9081
9082(define-public ghc-semigroups-bootstrap
9083 (package
9084 (inherit ghc-semigroups)
9085 (name "ghc-semigroups-bootstrap")
9086 (inputs
9087 `(("ghc-nats" ,ghc-nats-bootstrap)
9088 ("ghc-tagged" ,ghc-tagged)
9089 ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap)
9090 ("ghc-hashable" ,ghc-hashable-bootstrap)))
799d8d3c 9091 (properties '((hidden? #t)))))
dddbc90c
RV
9092
9093(define-public ghc-setenv
9094 (package
9095 (name "ghc-setenv")
9096 (version "0.1.1.3")
9097 (source
9098 (origin
9099 (method url-fetch)
9100 (uri (string-append
9101 "https://hackage.haskell.org/package/setenv/setenv-"
9102 version
9103 ".tar.gz"))
9104 (sha256
9105 (base32
9106 "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73"))))
9107 (build-system haskell-build-system)
9108 (home-page "https://hackage.haskell.org/package/setenv")
9109 (synopsis "Library for setting environment variables")
9110 (description "This package provides a Haskell library for setting
9111environment variables.")
9112 (license license:expat)))
9113
9114(define-public ghc-setlocale
9115 (package
9116 (name "ghc-setlocale")
9d7cfc9b 9117 (version "1.0.0.9")
dddbc90c
RV
9118 (source (origin
9119 (method url-fetch)
9120 (uri (string-append
9121 "https://hackage.haskell.org/package/setlocale-"
9122 version "/setlocale-" version ".tar.gz"))
9123 (sha256
9124 (base32
9d7cfc9b 9125 "18b6xafspzxrmz5m9r9nzy3z053crqi59xc8n8aqd4gw0pvqdcrv"))))
dddbc90c
RV
9126 (build-system haskell-build-system)
9127 (home-page "https://hackage.haskell.org/package/setlocale")
9128 (synopsis "Haskell bindings to setlocale")
9129 (description "This package provides Haskell bindings to the
9130@code{setlocale} C function.")
9131 (license license:bsd-3)))
9132
9133(define-public ghc-shakespeare
9134 (package
9135 (name "ghc-shakespeare")
9136 (version "2.0.15")
9137 (source
9138 (origin
9139 (method url-fetch)
9140 (uri (string-append "https://hackage.haskell.org/package/"
9141 "shakespeare-" version "/"
9142 "shakespeare-" version ".tar.gz"))
9143 (sha256
9144 (base32
9145 "1vk4b19zvwy4mpwaq9z3l3kfmz75gfyf7alhh0y112gspgpccm23"))))
9146 (build-system haskell-build-system)
9147 (inputs `(("ghc-aeson" ,ghc-aeson)
9148 ("ghc-blaze-markup" ,ghc-blaze-markup)
9149 ("ghc-blaze-html" ,ghc-blaze-html)
9150 ("ghc-exceptions" ,ghc-exceptions)
9151 ("ghc-vector" ,ghc-vector)
9152 ("ghc-unordered-containers" ,ghc-unordered-containers)
9153 ("ghc-scientific" ,ghc-scientific)))
9154 (native-inputs `(("ghc-hspec" ,ghc-hspec)
9155 ("ghc-hunit" ,ghc-hunit)
9156 ("hspec-discover" ,hspec-discover)))
9157 (home-page "https://www.yesodweb.com/book/shakespearean-templates")
9158 (synopsis "Family of type-safe template languages for Haskell")
9159 (description "This Haskell package provides a family of type-safe
9160templates with simple variable interpolation. Shakespeare templates can
9161be used inline with a quasi-quoter or in an external file and it
9162interpolates variables according to the type being inserted.")
9163 (license license:expat)))
9164
9165(define-public ghc-shelly
9166 (package
9167 (name "ghc-shelly")
9168 (version "1.8.1")
9169 (source
9170 (origin
9171 (method url-fetch)
9172 (uri (string-append
9173 "https://hackage.haskell.org/package/shelly/shelly-"
9174 version ".tar.gz"))
9175 (sha256
9176 (base32
9177 "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y"))))
9178 (build-system haskell-build-system)
9179 (inputs
9180 `(("ghc-unix-compat" ,ghc-unix-compat)
9181 ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
9182 ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap)
9183 ("ghc-monad-control" ,ghc-monad-control)
9184 ("ghc-lifted-base" ,ghc-lifted-base)
9185 ("ghc-lifted-async" ,ghc-lifted-async)
9186 ("ghc-exceptions" ,ghc-exceptions)
9187 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
9188 ("ghc-async" ,ghc-async)
9189 ("ghc-transformers-base" ,ghc-transformers-base)
9190 ("ghc-hunit" ,ghc-hunit)
9191 ("ghc-hspec" ,ghc-hspec)
9192 ("ghc-hspec-contrib" ,ghc-hspec-contrib)))
9193 (home-page "https://github.com/yesodweb/Shelly.hs")
9194 (synopsis "Shell-like (systems) programming in Haskell")
9195 (description
9196 "Shelly provides convenient systems programming in Haskell, similar in
9197spirit to POSIX shells. Shelly is originally forked from the Shellish package.")
9198 (license license:bsd-3)))
9199
9200(define-public ghc-silently
9201 (package
9202 (name "ghc-silently")
544bb369 9203 (version "1.2.5.1")
dddbc90c
RV
9204 (source
9205 (origin
9206 (method url-fetch)
9207 (uri (string-append
9208 "https://hackage.haskell.org/package/silently/silently-"
9209 version
9210 ".tar.gz"))
9211 (sha256
9212 (base32
544bb369 9213 "1lgs1gsr5dp0x21diqn4l03fxgai2kgdmj85gqp0iz3zykvbmjbz"))))
dddbc90c
RV
9214 (build-system haskell-build-system)
9215 (arguments `(#:tests? #f)) ;; circular dependency with nanospec
9216 ;; (inputs
9217 ;; `(("ghc-temporary" ,ghc-temporary)))
9218 (home-page "https://github.com/hspec/silently")
9219 (synopsis "Prevent writing to stdout")
9220 (description "This package provides functions to prevent or capture
9221writing to stdout and other handles.")
9222 (license license:bsd-3)))
9223
9224(define-public ghc-simple-reflect
9225 (package
9226 (name "ghc-simple-reflect")
9227 (version "0.3.3")
9228 (source
9229 (origin
9230 (method url-fetch)
9231 (uri (string-append
9232 "https://hackage.haskell.org/package/simple-reflect/simple-reflect-"
9233 version
9234 ".tar.gz"))
9235 (sha256
9236 (base32
9237 "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7"))))
9238 (build-system haskell-build-system)
9239 (home-page
9240 "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
9241 (synopsis
9242 "Simple reflection of expressions containing variables")
9243 (description
9244 "This package allows simple reflection of expressions containing
9245variables. Reflection here means that a Haskell expression is turned into a
9246string. The primary aim of this package is teaching and understanding; there
9247are no options for manipulating the reflected expressions beyond showing
9248them.")
9249 (license license:bsd-3)))
9250
9251(define-public ghc-simple-sendfile
9252 (package
9253 (name "ghc-simple-sendfile")
9254 (version "0.2.27")
9255 (source
9256 (origin
9257 (method url-fetch)
9258 (uri (string-append "https://hackage.haskell.org/package/"
9259 "simple-sendfile-" version "/"
9260 "simple-sendfile-" version ".tar.gz"))
9261 (sha256
9262 (base32
9263 "1bwwqzcm56m2w4ymsa054sxmpbj76h9pvb0jf8zxp8lr41cp51gn"))))
9264 (build-system haskell-build-system)
9265 (inputs
9266 `(("ghc-conduit" ,ghc-conduit)
9267 ("ghc-conduit-extra" ,ghc-conduit-extra)
9268 ("ghc-network" ,ghc-network)
9269 ("ghc-resourcet" ,ghc-resourcet)))
9270 (native-inputs
9271 `(("ghc-hspec" ,ghc-hspec)
9272 ("hspec-discover" ,hspec-discover)))
9273 (home-page "https://github.com/kazu-yamamoto/simple-sendfile")
9274 (synopsis "Cross platform library for the sendfile system call")
9275 (description "This library tries to call minimum system calls which
9276are the bottleneck of web servers.")
9277 (license license:bsd-3)))
9278
9279(define-public ghc-skylighting-core
9280 (package
9281 (name "ghc-skylighting-core")
9282 (version "0.7.2")
9283 (source (origin
9284 (method url-fetch)
9285 (uri (string-append "https://hackage.haskell.org/package/"
9286 "skylighting-core/skylighting-core-"
9287 version ".tar.gz"))
9288 (sha256
9289 (base32
9290 "066fwmwsd7xcvwlinfk2izlzq0xp8697i6lnbgsbl71jdybyackq"))))
9291 (build-system haskell-build-system)
9292 (inputs
9293 `(("ghc-aeson" ,ghc-aeson)
9294 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
9295 ("ghc-attoparsec" ,ghc-attoparsec)
9296 ("ghc-base64-bytestring" ,ghc-base64-bytestring)
9297 ("ghc-blaze-html" ,ghc-blaze-html)
9298 ("ghc-case-insensitive" ,ghc-case-insensitive)
9299 ("ghc-colour" ,ghc-colour)
9300 ("ghc-hxt" ,ghc-hxt)
9301 ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin)
9302 ("ghc-safe" ,ghc-safe)
9303 ("ghc-utf8-string" ,ghc-utf8-string)))
9304 (native-inputs
9305 `(("ghc-diff" ,ghc-diff)
9306 ("ghc-hunit" ,ghc-hunit)
9307 ("ghc-pretty-show" ,ghc-pretty-show)
9308 ("ghc-quickcheck" ,ghc-quickcheck)
9309 ("ghc-tasty" ,ghc-tasty)
9310 ("ghc-tasty-golden" ,ghc-tasty-golden)
9311 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
9312 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
9313 (home-page "https://github.com/jgm/skylighting")
9314 (synopsis "Syntax highlighting library")
9315 (description "Skylighting is a syntax highlighting library with support
9316for over one hundred languages. It derives its tokenizers from XML syntax
9317definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax
9318supported by that framework can be added. An optional command-line program is
9319provided. Skylighting is intended to be the successor to highlighting-kate.")
9320 (license license:gpl2)))
9321
9322(define-public ghc-skylighting
9323 (package
9324 (inherit ghc-skylighting-core)
9325 (name "ghc-skylighting")
9326 (version "0.7.2")
9327 (source (origin
9328 (method url-fetch)
9329 (uri (string-append "https://hackage.haskell.org/package/skylighting-"
9330 version "/skylighting-" version ".tar.gz"))
9331 (sha256
9332 (base32
9333 "1rh3z1a7a4clvksdw1qlpmhxqkfahwypi70k91whgfamzsqpxdch"))))
9334 (inputs
9335 `(("ghc-skylighting-core" ,ghc-skylighting-core)
9336 ,@(package-inputs ghc-skylighting-core)))))
9337
9338(define-public ghc-smallcheck
9339 (package
9340 (name "ghc-smallcheck")
9341 (version "1.1.5")
9342 (source
9343 (origin
9344 (method url-fetch)
9345 (uri (string-append
9346 "https://hackage.haskell.org/package/smallcheck/smallcheck-"
9347 version
9348 ".tar.gz"))
9349 (sha256
9350 (base32
9351 "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h"))))
9352 (build-system haskell-build-system)
9353 (inputs
9354 `(("ghc-logict" ,ghc-logict)))
9355 (home-page
9356 "https://github.com/feuerbach/smallcheck")
9357 (synopsis "Property-based testing library")
9358 (description "SmallCheck is a testing library that allows to verify
9359properties for all test cases up to some depth. The test cases are generated
9360automatically by SmallCheck.")
9361 (license license:bsd-3)))
9362
9363(define-public ghc-socks
9364 (package
9365 (name "ghc-socks")
9366 (version "0.5.6")
9367 (source (origin
9368 (method url-fetch)
9369 (uri (string-append "https://hackage.haskell.org/package/"
9370 "socks/socks-" version ".tar.gz"))
9371 (sha256
9372 (base32
9373 "0f44qy74i0n6ll3jym0a2ipafkpw1h67amcpqmj8iq95h21wsqzs"))))
9374 (build-system haskell-build-system)
9375 (inputs
9376 `(("ghc-cereal" ,ghc-cereal)
9377 ("ghc-network" ,ghc-network)))
9378 (home-page "https://github.com/vincenthz/hs-socks")
9379 (synopsis "SOCKS proxy (version 5) implementation")
9380 (description
9381 "This library provides a SOCKS proxy (version 5) implementation.")
9382 (license license:bsd-3)))
9383
081d85d6
TS
9384(define-public ghc-sop-core
9385 (package
9386 (name "ghc-sop-core")
9387 (version "0.4.0.0")
9388 (source
9389 (origin
9390 (method url-fetch)
9391 (uri (string-append "https://hackage.haskell.org/package/"
9392 "sop-core/sop-core-" version ".tar.gz"))
9393 (sha256
9394 (base32
9395 "07ci2mh8cbjvipb576rxsj3iyhkj5c5dnsns4xkdppp2p3pv10d3"))))
9396 (build-system haskell-build-system)
9397 (home-page "http://hackage.haskell.org/package/sop-core")
9398 (synopsis "True Sums of Products")
9399 (description "This package provides an implementation of
9400@math{n}-ary sums and @math{n}-ary products. The module @code{Data.SOP}
9401is the main module of this library and contains more detailed
9402documentation. The main use case of this package is to serve as the
9403core of @url{https://hackage.haskell.org/package/generics-sop,
9404generics-sop}.")
9405 (license license:bsd-3)))
9406
dddbc90c
RV
9407(define-public ghc-split
9408 (package
9409 (name "ghc-split")
9410 (version "0.2.3.3")
9411 (outputs '("out" "doc"))
9412 (source
9413 (origin
9414 (method url-fetch)
9415 (uri (string-append
9416 "https://hackage.haskell.org/package/split/split-"
9417 version
9418 ".tar.gz"))
9419 (sha256
9420 (base32
9421 "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x"))))
9422 (build-system haskell-build-system)
9423 (native-inputs
9424 `(("ghc-quickcheck" ,ghc-quickcheck)))
9425 (home-page "https://hackage.haskell.org/package/split")
9426 (synopsis "Combinator library for splitting lists")
9427 (description "This package provides a collection of Haskell functions for
9428splitting lists into parts, akin to the @code{split} function found in several
9429mainstream languages.")
9430 (license license:bsd-3)))
9431
49367c92
TS
9432(define-public ghc-splitmix-bootstrap
9433 (package
9434 (name "ghc-splitmix-bootstrap")
9435 (version "0.0.3")
9436 (source
9437 (origin
9438 (method url-fetch)
9439 (uri (string-append "https://hackage.haskell.org/package/"
9440 "splitmix/splitmix-" version ".tar.gz"))
9441 (sha256
9442 (base32
9443 "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w"))))
9444 (properties '((hidden? #t)))
9445 (build-system haskell-build-system)
9446 (arguments `(#:tests? #f))
9447 (inputs
9448 `(("ghc-random" ,ghc-random)))
9449 (home-page "http://hackage.haskell.org/package/splitmix")
9450 (synopsis "Fast and splittable pseudorandom number generator")
9451 (description "This package provides a Pure Haskell implementation of the
9452SplitMix pseudorandom number generator. SplitMix is a \"splittable\"
9453pseudorandom number generator that is quite fast: 9 64-bit
9454arithmetic/logical operations per 64 bits generated. SplitMix is tested
9455with two standard statistical test suites (DieHarder and TestU01, this
9456implementation only using the former) and it appears to be adequate for
9457\"everyday\" use, such as Monte Carlo algorithms and randomized data
9458structures where speed is important. In particular, it @strong{should not
9459be used for cryptographic or security applications}, because generated
9460sequences of pseudorandom values are too predictable (the mixing functions
9461are easily inverted, and two successive outputs suffice to reconstruct the
9462internal state).")
9463 (license license:bsd-3)))
9464
dddbc90c
RV
9465(define-public ghc-statevar
9466 (package
9467 (name "ghc-statevar")
19419709 9468 (version "1.2")
dddbc90c
RV
9469 (source
9470 (origin
9471 (method url-fetch)
9472 (uri (string-append
9473 "https://hackage.haskell.org/package/StateVar/StateVar-"
9474 version
9475 ".tar.gz"))
9476 (sha256
9477 (base32
19419709 9478 "12sz6zkc9j5z3lwrjvljrkfxa5vhwnir5wsarigz2f6d3w13dh5g"))))
dddbc90c
RV
9479 (build-system haskell-build-system)
9480 (home-page "https://hackage.haskell.org/package/StateVar")
9481 (synopsis "State variables for Haskell")
9482 (description "This package provides state variables, which are references
9483in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
9484 (license license:bsd-3)))
9485
9486(define-public ghc-statistics
9487 (package
9488 (name "ghc-statistics")
9489 (version "0.14.0.2")
9490 (source
9491 (origin
9492 (method url-fetch)
9493 (uri (string-append "https://hackage.haskell.org/package/"
9494 "statistics-" version "/"
9495 "statistics-" version ".tar.gz"))
9496 (sha256
9497 (base32
9498 "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l"))))
9499 (build-system haskell-build-system)
9500 (arguments
9501 '(#:cabal-revision
9502 ("2" "1bx70yqkn62ii17fjv3pig4hklrzkqd09zj67zzjiyjzmn04fir3")
9503 ;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse".
9504 #:tests? #f))
9505 (inputs
9506 `(("ghc-aeson" ,ghc-aeson)
9507 ("ghc-base-orphans" ,ghc-base-orphans)
9508 ("ghc-erf" ,ghc-erf)
9509 ("ghc-math-functions" ,ghc-math-functions)
9510 ("ghc-monad-par" ,ghc-monad-par)
9511 ("ghc-mwc-random" ,ghc-mwc-random)
9512 ("ghc-primitive" ,ghc-primitive)
9513 ("ghc-vector" ,ghc-vector)
9514 ("ghc-vector-algorithms" ,ghc-vector-algorithms)
9515 ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
9516 ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
9517 (native-inputs
9518 `(("ghc-hunit" ,ghc-hunit)
9519 ("ghc-quickcheck" ,ghc-quickcheck)
9520 ("ghc-ieee754" ,ghc-ieee754)
9521 ("ghc-test-framework" ,ghc-test-framework)
9522 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
9523 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
9524 (home-page "https://github.com/bos/mwc-random")
9525 (synopsis "Haskell library of statistical types, data, and functions")
9526 (description "This library provides a number of common functions
9527and types useful in statistics. We focus on high performance, numerical
9528robustness, and use of good algorithms. Where possible, we provide references
9529to the statistical literature.
9530
9531The library's facilities can be divided into four broad categories:
9532
9533@itemize
9534@item Working with widely used discrete and continuous probability
9535distributions. (There are dozens of exotic distributions in use; we focus
9536on the most common.)
9537
9538@item Computing with sample data: quantile estimation, kernel density
9539estimation, histograms, bootstrap methods, significance testing,
9540and regression and autocorrelation analysis.
9541
9542@item Random variate generation under several different distributions.
9543
9544@item Common statistical tests for significant differences between samples.
9545@end itemize")
9546 (license license:bsd-2)))
9547
9548(define-public ghc-stm-chans
9549 (package
9550 (name "ghc-stm-chans")
9551 (version "3.0.0.4")
9552 (source
9553 (origin
9554 (method url-fetch)
9555 (uri (string-append "https://hackage.haskell.org/package/"
9556 "stm-chans-" version "/"
9557 "stm-chans-" version ".tar.gz"))
9558 (sha256
9559 (base32
9560 "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13"))))
9561 (build-system haskell-build-system)
9562 (home-page "https://hackage.haskell.org/package/stm-chans")
9563 (synopsis "Additional types of channels for ghc-stm")
9564 (description "This Haskell package offers a collection of channel types,
9565similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional
9566features.")
9567 (license license:bsd-3)))
9568
9569(define-public ghc-stm-conduit
9570 (package
9571 (name "ghc-stm-conduit")
9572 (version "4.0.0")
9573 (source
9574 (origin
9575 (method url-fetch)
9576 (uri (string-append "https://hackage.haskell.org/package/stm-conduit/"
9577 "stm-conduit-" version ".tar.gz"))
9578 (sha256
9579 (base32
9580 "0paapljn7nqfzrx889y0n8sszci38mdiaxkgr0bb00ph9246rr7z"))))
9581 (build-system haskell-build-system)
9582 (inputs
9583 `(("ghc-stm-chans" ,ghc-stm-chans)
9584 ("ghc-cereal" ,ghc-cereal)
9585 ("ghc-cereal-conduit" ,ghc-cereal-conduit)
9586 ("ghc-conduit" ,ghc-conduit)
9587 ("ghc-conduit-extra" ,ghc-conduit-extra)
9588 ("ghc-exceptions" ,ghc-exceptions)
9589 ("ghc-resourcet" ,ghc-resourcet)
9590 ("ghc-async" ,ghc-async)
9591 ("ghc-monad-loops" ,ghc-monad-loops)
9592 ("ghc-unliftio" ,ghc-unliftio)))
9593 (native-inputs
9594 `(("ghc-doctest" ,ghc-doctest)
9595 ("ghc-quickcheck" ,ghc-quickcheck)
9596 ("ghc-hunit" ,ghc-hunit)
9597 ("ghc-test-framework" ,ghc-test-framework)
9598 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
9599 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
9600 (home-page "https://github.com/cgaebel/stm-conduit")
9601 (synopsis "Introduces conduits to channels and promotes using conduits concurrently")
9602 (description
9603 "This package provides two simple conduit wrappers around STM channels: a
9604source and a sink.")
9605 (license license:bsd-3)))
9606
9607(define-public ghc-stmonadtrans
9608 (package
9609 (name "ghc-stmonadtrans")
9610 (version "0.4.3")
9611 (source
9612 (origin
9613 (method url-fetch)
9614 (uri (string-append "https://hackage.haskell.org/package/STMonadTrans"
9615 "/STMonadTrans-" version ".tar.gz"))
9616 (sha256
9617 (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp"))))
9618 (build-system haskell-build-system)
9619 (home-page "https://hackage.haskell.org/package/STMonadTrans")
9620 (synopsis "Monad transformer version of the ST monad")
9621 (description
9622 "This package provides a monad transformer version of the @code{ST} monad
9623for strict state threads.")
9624 (license license:bsd-3)))
9625
9626(define-public ghc-storable-complex
9627 (package
9628 (name "ghc-storable-complex")
9629 (version "0.2.2")
9630 (source
9631 (origin
9632 (method url-fetch)
9633 (uri (string-append
9634 "https://hackage.haskell.org/package/storable-complex/storable-complex-"
9635 version ".tar.gz"))
9636 (sha256
9637 (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
9638 (build-system haskell-build-system)
9639 (home-page "https://github.com/cartazio/storable-complex")
9640 (synopsis "Haskell Storable instance for Complex")
9641 (description "This package provides a Haskell library including a
9642Storable instance for Complex which is binary compatible with C99, C++
9643and Fortran complex data types.")
9644 (license license:bsd-3)))
9645
ad80074a
JS
9646(define-public ghc-storable-record
9647 (package
9648 (name "ghc-storable-record")
9649 (version "0.0.4")
9650 (source
9651 (origin
9652 (method url-fetch)
9653 (uri
9654 (string-append
9655 "https://hackage.haskell.org/package/storable-record/"
9656 "storable-record-" version ".tar.gz"))
9657 (sha256
9658 (base32
9659 "0hjs1km0fc9ch0i1rbycxia5w3939hk4p4md73ikgg4aipqb5zyf"))))
9660 (build-system haskell-build-system)
9661 (inputs
9662 `(("ghc-semigroups" ,ghc-semigroups)
9663 ("ghc-utility-ht" ,ghc-utility-ht)
9664 ("ghc-storablevector" ,ghc-storablevector)
9665 ("ghc-timeit" ,ghc-timeit)))
9666 (home-page "https://hackage.haskell.org/package/storable-record")
9667 (synopsis "Elegant definition of Storable instances for records")
9668 (description "With this package you can build a Storable instance of
9669a record type from Storable instances of its elements in an elegant way.
9670It does not do any magic, just a bit arithmetic to compute the right
9671offsets, that would be otherwise done manually or by a preprocessor like
9672C2HS. There is no guarantee that the generated memory layout is
9673compatible with that of a corresponding C struct. However, the module
9674generates the smallest layout that is possible with respect to the
9675alignment of the record elements.")
9676 (license license:bsd-3)))
9677
55f4c653
JS
9678(define-public ghc-storable-tuple
9679 (package
9680 (name "ghc-storable-tuple")
9681 (version "0.0.3.3")
9682 (source
9683 (origin
9684 (method url-fetch)
9685 (uri
9686 (string-append
9687 "https://hackage.haskell.org/package/storable-tuple/"
9688 "storable-tuple-" version ".tar.gz"))
9689 (sha256
9690 (base32
9691 "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw"))))
9692 (build-system haskell-build-system)
9693 (inputs
9694 `(("ghc-storable-record" ,ghc-storable-record)
9695 ("ghc-utility-ht" ,ghc-utility-ht)
9696 ("ghc-base-orphans" ,ghc-base-orphans)))
9697 (home-page "https://hackage.haskell.org/package/storable-tuple")
9698 (synopsis "Storable instance for pairs and triples")
9699 (description "This package provides a Storable instance for pairs
9700and triples which should be binary compatible with C99 and C++. The
9701only purpose of this package is to provide a standard location for this
9702instance so that other packages needing this instance can play nicely
9703together.")
9704 (license license:bsd-3)))
9705
bc06ca45
JS
9706(define-public ghc-storablevector
9707 (package
9708 (name "ghc-storablevector")
9709 (version "0.2.13")
9710 (source
9711 (origin
9712 (method url-fetch)
9713 (uri
9714 (string-append
9715 "https://hackage.haskell.org/package/storablevector/storablevector-"
9716 version ".tar.gz"))
9717 (sha256
9718 (base32
9719 "1zmr738vwnhnyxbikayqnaz31ilv2qlmscp6iqgl7adcfbal4dzq"))))
9720 (build-system haskell-build-system)
9721 (inputs
9722 `(("ghc-non-negative" ,ghc-non-negative)
9723 ("ghc-utility-ht" ,ghc-utility-ht)
9724 ("ghc-semigroups" ,ghc-semigroups)
9725 ("ghc-unsafe" ,ghc-unsafe)
9726 ("ghc-quickcheck" ,ghc-quickcheck)
9727 ("ghc-syb" ,ghc-syb)))
9728 (home-page "https://www.haskell.org/haskellwiki/Storable_Vector")
9729 (synopsis "Fast, packed, strict storable arrays with a list interface")
9730 (description "This library provides fast, packed, strict storable
9731arrays with a list interface, a chunky lazy list interface with variable
9732chunk size and an interface for write access via the ST monad. This is
9733much like bytestring and binary but can be used for every
9734@code{Foreign.Storable.Storable} type. See also
9735@url{http://hackage.haskell.org/package/vector}, a library with a
9736similar intention.
9737
9738This library does not do advanced fusion optimization, since especially
9739for lazy vectors this would either be incorrect or not applicable. See
9740@url{http://hackage.haskell.org/package/storablevector-streamfusion} for
9741a library that provides fusion with lazy lists.")
9742 (license license:bsd-3)))
9743
dddbc90c
RV
9744(define-public ghc-streaming-commons
9745 (package
9746 (name "ghc-streaming-commons")
9747 (version "0.2.1.1")
9748 (source
9749 (origin
9750 (method url-fetch)
9751 (uri (string-append "https://hackage.haskell.org/package/"
9752 "streaming-commons/streaming-commons-"
9753 version ".tar.gz"))
9754 (sha256
9755 (base32
9756 "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52"))))
9757 (build-system haskell-build-system)
9758 (inputs
9759 `(("ghc-async" ,ghc-async)
9760 ("ghc-blaze-builder" ,ghc-blaze-builder)
9761 ("ghc-network" ,ghc-network)
9762 ("ghc-random" ,ghc-random)
9763 ("ghc-zlib" ,ghc-zlib)))
9764 (native-inputs
9765 `(("ghc-quickcheck" ,ghc-quickcheck)
9766 ("ghc-hspec" ,ghc-hspec)
9767 ("hspec-discover" ,hspec-discover)))
9768 (home-page "https://hackage.haskell.org/package/streaming-commons")
9769 (synopsis "Conduit and pipes needed by some streaming data libraries")
9770 (description "This package provides low-dependency functionality commonly
9771needed by various Haskell streaming data libraries, such as @code{conduit} and
9772@code{pipe}s.")
9773 (license license:expat)))
9774
9775(define-public ghc-strict
9776 (package
9777 (name "ghc-strict")
9778 (version "0.3.2")
9779 (source
9780 (origin
9781 (method url-fetch)
9782 (uri (string-append "https://hackage.haskell.org/package/strict/strict-"
9783 version ".tar.gz"))
9784 (sha256
9785 (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc"))))
9786 (build-system haskell-build-system)
9787 (home-page "https://hackage.haskell.org/package/strict")
9788 (synopsis "Strict data types and String IO")
9789 (description
9790 "This package provides strict versions of some standard Haskell data
9791types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict
9792IO operations.")
9793 (license license:bsd-3)))
9794
9795(define-public ghc-stringbuilder
9796 (package
9797 (name "ghc-stringbuilder")
9798 (version "0.5.1")
9799 (source
9800 (origin
9801 (method url-fetch)
9802 (uri (string-append
9803 "https://hackage.haskell.org/package/stringbuilder/stringbuilder-"
9804 version
9805 ".tar.gz"))
9806 (sha256
9807 (base32
9808 "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q"))))
9809 (build-system haskell-build-system)
9810 (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests
9811 ; enabled
9812 (home-page "https://hackage.haskell.org/package/stringbuilder")
9813 (synopsis "Writer monad for multi-line string literals")
9814 (description "This package provides a writer monad for multi-line string
9815literals.")
9816 (license license:expat)))
9817
9818(define-public ghc-string-qq
9819 (package
9820 (name "ghc-string-qq")
4d6fddc3 9821 (version "0.0.4")
dddbc90c
RV
9822 (source
9823 (origin
9824 (method url-fetch)
9825 (uri (string-append
9826 "https://hackage.haskell.org/package/string-qq/string-qq-"
9827 version
9828 ".tar.gz"))
9829 (sha256
9830 (base32
4d6fddc3 9831 "0wfxkw4x6j6jq9nd82k83g2k3hskpsvk1dp4cpkshvjr4wg9qny8"))))
dddbc90c 9832 (build-system haskell-build-system)
4d6fddc3
TS
9833 (native-inputs
9834 `(("ghc-hunit" ,ghc-hunit)))
dddbc90c
RV
9835 (home-page "http://hackage.haskell.org/package/string-qq")
9836 (synopsis
9837 "QuasiQuoter for non-interpolated strings, texts and bytestrings.")
9838 (description
9839 "This package provides a quasiquoter for non-interpolated strings, texts
9840and bytestrings.")
9841 (license license:public-domain)))
9842
9843(define-public ghc-stringsearch
9844 (package
9845 (name "ghc-stringsearch")
9846 (version "0.3.6.6")
9847 (source
9848 (origin
9849 (method url-fetch)
9850 (uri (string-append
9851 "https://hackage.haskell.org/package/stringsearch/stringsearch-"
9852 version
9853 ".tar.gz"))
9854 (sha256
9855 (base32
9856 "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
9857 (build-system haskell-build-system)
9858 (home-page "https://bitbucket.org/dafis/stringsearch")
9859 (synopsis "Fast searching, splitting and replacing of ByteStrings")
9860 (description "This package provides several functions to quickly search
9861for substrings in strict or lazy @code{ByteStrings}. It also provides
9862functions for breaking or splitting on substrings and replacing all
9863occurrences of a substring (the first in case of overlaps) with another.")
9864 (license license:bsd-3)))
9865
9866(define-public ghc-stylish-haskell
9867 (package
9868 (name "ghc-stylish-haskell")
9869 (version "0.9.2.1")
9870 (source
9871 (origin
9872 (method url-fetch)
9873 (uri (string-append
9874 "mirror://hackage/package/stylish-haskell/stylish-haskell-"
9875 version
9876 ".tar.gz"))
9877 (sha256
9878 (base32
9879 "1ls11fdx6snvfx8yykpidz142zzxwi5bazl49hgfqlwx50rqcp7w"))))
9880 (build-system haskell-build-system)
9881 (inputs
9882 `(("ghc-aeson" ,ghc-aeson)
9883 ("ghc-file-embed" ,ghc-file-embed)
9884 ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
9885 ("ghc-semigroups" ,ghc-semigroups)
9886 ("ghc-syb" ,ghc-syb)
9887 ("ghc-yaml" ,ghc-yaml)
9888 ("ghc-strict" ,ghc-strict)
9889 ("ghc-optparse-applicative"
9890 ,ghc-optparse-applicative)))
9891 (native-inputs
9892 `(("ghc-hunit" ,ghc-hunit)
9893 ("ghc-test-framework" ,ghc-test-framework)
9894 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
9895 (home-page "https://github.com/jaspervdj/stylish-haskell")
9896 (synopsis "Haskell code prettifier")
9897 (description "Stylish-haskell is a Haskell code prettifier. The goal is
9898not to format all of the code in a file, to avoid \"getting in the way\".
9899However, this tool can e.g. clean up import statements and help doing various
9900tasks that get tedious very quickly. It can
9901@itemize
9902@item
9903Align and sort @code{import} statements
9904@item
9905Group and wrap @code{{-# LANGUAGE #-}} pragmas, remove (some) redundant
9906pragmas
9907@item
9908Remove trailing whitespaces
9909@item
9910Align branches in @code{case} and fields in records
9911@item
9912Convert line endings (customisable)
9913@item
9914Replace tabs by four spaces (turned off by default)
9915@item
9916Replace some ASCII sequences by their Unicode equivalent (turned off by
9917default)
9918@end itemize")
9919 (license license:bsd-3)))
9920
9921(define-public ghc-syb
9922 (package
9923 (name "ghc-syb")
07d65eef 9924 (version "0.7.1")
dddbc90c
RV
9925 (outputs '("out" "doc"))
9926 (source
9927 (origin
9928 (method url-fetch)
9929 (uri (string-append
9930 "https://hackage.haskell.org/package/syb/syb-"
9931 version
9932 ".tar.gz"))
9933 (sha256
9934 (base32
07d65eef 9935 "0077vxzyi9ppbphi2ialac3p376k49qly1kskdgf57wdwix9qjp0"))))
dddbc90c
RV
9936 (build-system haskell-build-system)
9937 (inputs
9938 `(("ghc-hunit" ,ghc-hunit)))
9939 (home-page
9940 "http://www.cs.uu.nl/wiki/GenericProgramming/SYB")
9941 (synopsis "Scrap Your Boilerplate")
9942 (description "This package contains the generics system described in the
9943/Scrap Your Boilerplate/ papers (see
9944@uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It
9945defines the @code{Data} class of types permitting folding and unfolding of
9946constructor applications, instances of this class for primitive types, and a
9947variety of traversals.")
9948 (license license:bsd-3)))
9949
9950(define-public ghc-system-fileio
9951 (package
9952 (name "ghc-system-fileio")
9953 (version "0.3.16.3")
9954 (source
9955 (origin
9956 (method url-fetch)
9957 (uri (string-append
9958 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
9959 version ".tar.gz"))
9960 (sha256
9961 (base32
9962 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
9963 (build-system haskell-build-system)
9964 (inputs
9965 `(("ghc-system-filepath" ,ghc-system-filepath)
9966 ("ghc-chell" ,ghc-chell)
9967 ("ghc-temporary" ,ghc-temporary)))
9968 (home-page "https://github.com/fpco/haskell-filesystem")
9969 (synopsis "Consistent file system interaction across GHC versions")
9970 (description
9971 "This is a small wrapper around the directory, unix, and Win32 packages,
9972for use with system-filepath. It provides a consistent API to the various
9973versions of these packages distributed with different versions of GHC.
9974In particular, this library supports working with POSIX files that have paths
9975which can't be decoded in the current locale encoding.")
9976 (license license:expat)))
9977
9978;; See ghc-system-filepath-bootstrap. In addition this package depends on
9979;; ghc-system-filepath.
9980(define ghc-system-fileio-bootstrap
9981 (package
9982 (name "ghc-system-fileio-bootstrap")
9983 (version "0.3.16.3")
9984 (source
9985 (origin
9986 (method url-fetch)
9987 (uri (string-append
9988 "https://hackage.haskell.org/package/system-fileio/system-fileio-"
9989 version ".tar.gz"))
9990 (sha256
9991 (base32
9992 "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i"))))
9993 (build-system haskell-build-system)
9994 (arguments
9995 `(#:tests? #f))
9996 (inputs
9997 `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap)
9998 ("ghc-temporary" ,ghc-temporary)))
9999 (home-page "https://github.com/fpco/haskell-filesystem")
10000 (synopsis "Consistent file system interaction across GHC versions")
10001 (description
10002 "This is a small wrapper around the directory, unix, and Win32 packages,
10003for use with system-filepath. It provides a consistent API to the various
10004versions of these packages distributed with different versions of GHC.
10005In particular, this library supports working with POSIX files that have paths
10006which can't be decoded in the current locale encoding.")
10007 (license license:expat)))
10008
10009
10010(define-public ghc-system-filepath
10011 (package
10012 (name "ghc-system-filepath")
10013 (version "0.4.14")
10014 (source
10015 (origin
10016 (method url-fetch)
10017 (uri (string-append
10018 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
10019 version ".tar.gz"))
10020 (sha256
10021 (base32
10022 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
10023 (build-system haskell-build-system)
10024 ;; FIXME: One of the tests fails:
10025 ;; [ FAIL ] tests.validity.posix
10026 ;; note: seed=7310214548328823169
10027 ;; *** Failed! Falsifiable (after 24 tests):
10028 ;; 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"
10029 (arguments `(#:tests? #f))
10030 (inputs
10031 `(("ghc-chell" ,ghc-chell)
10032 ("ghc-chell-quickcheck" ,ghc-chell-quickcheck)
10033 ("ghc-quickcheck" ,ghc-quickcheck)))
10034 (home-page "https://github.com/fpco/haskell-filesystem")
10035 (synopsis "High-level, byte-based file and directory path manipulations")
10036 (description
10037 "Provides a FilePath datatype and utility functions for operating on it.
10038Unlike the filepath package, this package does not simply reuse String,
10039increasing type safety.")
10040 (license license:expat)))
10041
10042;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on
10043;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options
10044;; which depends on ghc-chell and ghc-chell-quickcheck.
10045;; Therefore we bootstrap it with tests disabled.
10046(define ghc-system-filepath-bootstrap
10047 (package
10048 (name "ghc-system-filepath-bootstrap")
10049 (version "0.4.14")
10050 (source
10051 (origin
10052 (method url-fetch)
10053 (uri (string-append
10054 "https://hackage.haskell.org/package/system-filepath/system-filepath-"
10055 version ".tar.gz"))
10056 (sha256
10057 (base32
10058 "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn"))))
10059 (build-system haskell-build-system)
10060 (arguments
10061 `(#:tests? #f))
10062 (inputs
10063 `(("ghc-quickcheck" ,ghc-quickcheck)))
10064 (home-page "https://github.com/fpco/haskell-filesystem")
10065 (synopsis "High-level, byte-based file and directory path manipulations")
10066 (description
10067 "Provides a FilePath datatype and utility functions for operating on it.
10068Unlike the filepath package, this package does not simply reuse String,
10069increasing type safety.")
10070 (license license:expat)))
10071
10072
10073(define-public ghc-tagged
10074 (package
10075 (name "ghc-tagged")
f0f3756a 10076 (version "0.8.6")
dddbc90c
RV
10077 (source
10078 (origin
10079 (method url-fetch)
10080 (uri (string-append
10081 "https://hackage.haskell.org/package/tagged/tagged-"
10082 version
10083 ".tar.gz"))
10084 (sha256
10085 (base32
f0f3756a 10086 "1pciqzxf9ncv954v4r527xkxkn7r5hcr13mfw5dg1xjci3qdw5md"))))
dddbc90c
RV
10087 (build-system haskell-build-system)
10088 (arguments
10089 `(#:cabal-revision
f0f3756a 10090 ("1" "070xwfw7y81hd63il76dmwbdl9ca1rd07c54zynfx6vpr4wyx4vh")))
dddbc90c
RV
10091 (inputs
10092 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
10093 (home-page "https://hackage.haskell.org/package/tagged")
10094 (synopsis "Haskell phantom types to avoid passing dummy arguments")
10095 (description "This library provides phantom types for Haskell 98, to avoid
10096having to unsafely pass dummy arguments.")
10097 (license license:bsd-3)))
10098
10099(define-public ghc-tar
10100 (package
10101 (name "ghc-tar")
10102 (version "0.5.1.0")
10103 (source
10104 (origin
10105 (method url-fetch)
10106 (uri (string-append
10107 "https://hackage.haskell.org/package/tar/tar-"
10108 version ".tar.gz"))
10109 (sha256
10110 (base32
10111 "0s2brvaxg5fki2jdkccmnpssiy6a3wjh24p6a3dkkdvjcixnk7f8"))))
10112 (build-system haskell-build-system)
10113 ;; FIXME: 2/24 tests fail.
10114 (arguments `(#:tests? #f))
10115 (inputs
10116 `(("ghc-bytestring-handle" ,ghc-bytestring-handle)
10117 ("ghc-quickcheck" ,ghc-quickcheck)
10118 ("ghc-tasty" ,ghc-tasty)
10119 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
10120 (home-page "https://hackage.haskell.org/package/tar")
10121 (synopsis "Reading, writing and manipulating \".tar\" archive files")
10122 (description
10123 "This library is for working with \\\"@.tar@\\\" archive files.
10124It can read and write a range of common variations of the tar archive format
10125including V7, POSIX USTAR and GNU formats. It provides support for packing and
10126unpacking portable archives. This makes it suitable for distribution but not
10127backup because details like file ownership and exact permissions are not
10128preserved. It also provides features for random access to archive content using
10129an index.")
10130 (license license:bsd-3)))
10131
10132(define-public ghc-temporary
10133 (package
10134 (name "ghc-temporary")
10135 (version "1.3")
10136 (source
10137 (origin
10138 (method url-fetch)
10139 (uri (string-append
10140 "https://hackage.haskell.org/package/temporary/temporary-"
10141 version
10142 ".tar.gz"))
10143 (sha256
10144 (base32
10145 "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c"))))
10146 (build-system haskell-build-system)
10147 (inputs
10148 `(("ghc-exceptions" ,ghc-exceptions)
10149 ("ghc-random" ,ghc-random)))
10150 (native-inputs
10151 `(("ghc-base-compat" ,ghc-base-compat)
10152 ("ghc-tasty" ,ghc-tasty)
10153 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
10154 (home-page "https://www.github.com/batterseapower/temporary")
10155 (synopsis "Temporary file and directory support")
10156 (description "The functions for creating temporary files and directories
10157in the Haskelll base library are quite limited. This library just repackages
10158the Cabal implementations of its own temporary file and folder functions so
10159that you can use them without linking against Cabal or depending on it being
10160installed.")
10161 (license license:bsd-3)))
10162
10163(define-public ghc-temporary-rc
10164 (package
10165 (name "ghc-temporary-rc")
10166 (version "1.2.0.3")
10167 (source
10168 (origin
10169 (method url-fetch)
10170 (uri (string-append
10171 "https://hackage.haskell.org/package/temporary-rc/temporary-rc-"
10172 version
10173 ".tar.gz"))
10174 (sha256
10175 (base32
10176 "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs"))))
10177 (build-system haskell-build-system)
10178 (inputs `(("ghc-exceptions" ,ghc-exceptions)))
10179 (home-page
10180 "https://www.github.com/feuerbach/temporary")
10181 (synopsis
10182 "Portable temporary file and directory support")
10183 (description
10184 "The functions for creating temporary files and directories in the base
10185library are quite limited. The unixutils package contains some good ones, but
10186they aren't portable to Windows. This library just repackages the Cabal
10187implementations of its own temporary file and folder functions so that you can
10188use them without linking against Cabal or depending on it being installed.
10189This is a better maintained fork of the \"temporary\" package.")
10190 (license license:bsd-3)))
10191
10192(define-public ghc-terminal-size
10193 (package
10194 (name "ghc-terminal-size")
10195 (version "0.3.2.1")
10196 (source (origin
10197 (method url-fetch)
10198 (uri (string-append
10199 "https://hackage.haskell.org/package/terminal-size/"
10200 "terminal-size-" version ".tar.gz"))
10201 (sha256
10202 (base32
10203 "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm"))))
10204 (build-system haskell-build-system)
10205 (home-page "https://hackage.haskell.org/package/terminal-size")
10206 (synopsis "Get terminal window height and width")
10207 (description "Get terminal window height and width without ncurses
10208dependency.")
10209 (license license:bsd-3)))
10210
10211(define-public ghc-texmath
10212 (package
10213 (name "ghc-texmath")
10214 (version "0.11.0.1")
10215 (source (origin
10216 (method url-fetch)
10217 (uri (string-append "https://hackage.haskell.org/package/"
10218 "texmath/texmath-" version ".tar.gz"))
10219 (sha256
10220 (base32
10221 "11dc09hfnyfsz20ch2c867w0zdgjkzq41506lm61i3dk87ngdisf"))))
10222 (build-system haskell-build-system)
10223 (inputs
10224 `(("ghc-syb" ,ghc-syb)
10225 ("ghc-network-uri" ,ghc-network-uri)
10226 ("ghc-split" ,ghc-split)
10227 ("ghc-temporary" ,ghc-temporary)
10228 ("ghc-utf8-string" ,ghc-utf8-string)
10229 ("ghc-xml" ,ghc-xml)
10230 ("ghc-pandoc-types" ,ghc-pandoc-types)))
10231 (home-page "https://github.com/jgm/texmath")
10232 (synopsis "Conversion between formats used to represent mathematics")
10233 (description
10234 "The texmath library provides functions to read and write TeX math,
10235presentation MathML, and OMML (Office Math Markup Language, used in Microsoft
10236Office). Support is also included for converting math formats to pandoc's
10237native format (allowing conversion, via pandoc, to a variety of different
10238markup formats). The TeX reader supports basic LaTeX and AMS extensions, and
10239it can parse and apply LaTeX macros.")
10240 (license license:gpl2+)))
10241
10242(define-public ghc-text-binary
10243 (package
10244 (name "ghc-text-binary")
10245 (version "0.2.1.1")
10246 (source
10247 (origin
10248 (method url-fetch)
10249 (uri (string-append "https://hackage.haskell.org/package/"
10250 "text-binary/text-binary-"
10251 version ".tar.gz"))
10252 (sha256
10253 (base32
10254 "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn"))))
10255 (build-system haskell-build-system)
10256 (home-page "https://github.com/kawu/text-binary")
10257 (synopsis "Binary instances for text types")
10258 (description
10259 "This package provides a compatibility layer providing @code{Binary}
10260instances for strict and lazy text types for versions older than 1.2.1 of the
10261text package.")
10262 (license license:bsd-2)))
10263
10264(define-public ghc-tf-random
10265 (package
10266 (name "ghc-tf-random")
10267 (version "0.5")
10268 (outputs '("out" "doc"))
10269 (source
10270 (origin
10271 (method url-fetch)
10272 (uri (string-append
10273 "https://hackage.haskell.org/package/tf-random/tf-random-"
10274 version
10275 ".tar.gz"))
10276 (sha256
10277 (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
10278 (build-system haskell-build-system)
10279 (inputs
10280 `(("ghc-primitive" ,ghc-primitive)
10281 ("ghc-random" ,ghc-random)))
10282 (home-page "https://hackage.haskell.org/package/tf-random")
10283 (synopsis "High-quality splittable pseudorandom number generator")
10284 (description "This package contains an implementation of a high-quality
10285splittable pseudorandom number generator. The generator is based on a
10286cryptographic hash function built on top of the ThreeFish block cipher. See
10287the paper \"Splittable Pseudorandom Number Generators Using Cryptographic
10288Hashing\" by Claessen, Pałka for details and the rationale of the design.")
10289 (license license:bsd-3)))
10290
10291(define-public ghc-th-abstraction
10292 (package
10293 (name "ghc-th-abstraction")
1188eabb 10294 (version "0.3.1.0")
dddbc90c
RV
10295 (source
10296 (origin
10297 (method url-fetch)
10298 (uri (string-append "https://hackage.haskell.org/package/"
10299 "th-abstraction/th-abstraction-"
10300 version ".tar.gz"))
10301 (sha256
10302 (base32
1188eabb 10303 "1f81w0gshvc816cf9qz0f19jsrzh6wpzmmy317xrgn63dv61p7jb"))))
dddbc90c
RV
10304 (build-system haskell-build-system)
10305 (home-page "https://github.com/glguy/th-abstraction")
10306 (synopsis "Nicer interface for reified information about data types")
10307 (description
10308 "This package normalizes variations in the interface for inspecting
10309datatype information via Template Haskell so that packages and support a
10310single, easier to use informational datatype while supporting many versions of
10311Template Haskell.")
10312 (license license:isc)))
10313
10314(define-public ghc-th-expand-syns
10315 (package
10316 (name "ghc-th-expand-syns")
8c766600 10317 (version "0.4.5.0")
dddbc90c
RV
10318 (source (origin
10319 (method url-fetch)
10320 (uri (string-append "https://hackage.haskell.org/package/"
10321 "th-expand-syns/th-expand-syns-"
10322 version ".tar.gz"))
10323 (sha256
10324 (base32
8c766600 10325 "1p4wfyycan8zsp9wi7npx36qwbfsbcgdyxi3ii51scf69dkrx42y"))))
dddbc90c
RV
10326 (build-system haskell-build-system)
10327 (inputs
10328 `(("ghc-syb" ,ghc-syb)))
10329 (home-page "https://hackage.haskell.org/package/th-expand-syns")
10330 (synopsis "Expands type synonyms in Template Haskell ASTs")
10331 (description
10332 "This package enables users to expand type synonyms in Template Haskell
10333@dfn{abstract syntax trees} (ASTs).")
10334 (license license:bsd-3)))
10335
10336(define-public ghc-th-lift
10337 (package
10338 (name "ghc-th-lift")
bd76b20a 10339 (version "0.8.0.1")
dddbc90c
RV
10340 (source (origin
10341 (method url-fetch)
10342 (uri (string-append "https://hackage.haskell.org/package/"
10343 "th-lift/th-lift-" version ".tar.gz"))
10344 (sha256
10345 (base32
bd76b20a 10346 "1a6qlbdg15cfr5rvl9g3blgwx4v1p0xic0pzv13zx165xbc36ld0"))))
dddbc90c
RV
10347 (build-system haskell-build-system)
10348 (inputs
10349 `(("ghc-th-abstraction" ,ghc-th-abstraction)))
10350 (home-page "https://github.com/mboes/th-lift")
10351 (synopsis "Derive Template Haskell's Lift class for datatypes")
10352 (description
10353 "This is a Haskell library to derive Template Haskell's Lift class for
10354datatypes.")
10355 (license license:bsd-3)))
10356
10357(define-public ghc-th-lift-instances
10358 (package
10359 (name "ghc-th-lift-instances")
d3db399e 10360 (version "0.1.14")
dddbc90c
RV
10361 (source
10362 (origin
10363 (method url-fetch)
10364 (uri (string-append "https://hackage.haskell.org/package/"
10365 "th-lift-instances/th-lift-instances-"
10366 version ".tar.gz"))
10367 (sha256
10368 (base32
d3db399e 10369 "0r1b4jnvcj64wp4hfccwkl4a70n1p1q7qzyx6ax7cmd8k961jz78"))))
dddbc90c
RV
10370 (build-system haskell-build-system)
10371 (inputs
10372 `(("ghc-th-lift" ,ghc-th-lift)
10373 ("ghc-vector" ,ghc-vector)
10374 ("ghc-quickcheck" ,ghc-quickcheck)))
10375 (home-page "https://github.com/bennofs/th-lift-instances/")
10376 (synopsis "Lift instances for template-haskell for common data types.")
10377 (description "Most data types in the Haskell platform do not have Lift
10378instances. This package provides orphan instances for @code{containers},
10379@code{text}, @code{bytestring} and @code{vector}.")
10380 (license license:bsd-3)))
10381
10382(define-public ghc-th-orphans
10383 (package
10384 (name "ghc-th-orphans")
10385 (version "0.13.6")
10386 (source (origin
10387 (method url-fetch)
10388 (uri (string-append "https://hackage.haskell.org/package/"
10389 "th-orphans/th-orphans-" version ".tar.gz"))
10390 (sha256
10391 (base32
10392 "0sfl3pn9kq9da3ji3lsgzgzy82vz6yvsg80dmakc1jvk7awycibp"))))
10393 (build-system haskell-build-system)
10394 (inputs
10395 `(("ghc-th-lift" ,ghc-th-lift)
10396 ("ghc-th-lift-instances" ,ghc-th-lift-instances)
10397 ("ghc-th-reify-many" ,ghc-th-reify-many)
10398 ("ghc-generic-deriving" ,ghc-generic-deriving)))
10399 (native-inputs
10400 `(("ghc-hspec" ,ghc-hspec)))
10401 (home-page "https://hackage.haskell.org/package/th-orphans")
10402 (synopsis "Orphan instances for TH datatypes")
10403 (description
10404 "This package provides orphan instances for Template Haskell datatypes. In particular,
10405instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show}
10406and @code{Eq} instances. These instances used to live in the haskell-src-meta
10407package, and that's where the version number started.")
10408 (license license:bsd-3)))
10409
10410(define-public ghc-threads
10411 (package
10412 (name "ghc-threads")
10413 (version "0.5.1.6")
10414 (source
10415 (origin
10416 (method url-fetch)
10417 (uri (string-append "https://hackage.haskell.org/package/"
10418 "threads/threads-" version ".tar.gz"))
10419 (sha256
10420 (base32
10421 "0bjnjhnq3km6xqk0fn1fgyz5xdw4h6lylbwwbcmkkfzwcz0c76hk"))))
10422 (build-system haskell-build-system)
10423 (native-inputs
10424 `(("ghc-concurrent-extra" ,ghc-concurrent-extra)
10425 ("ghc-hunit" ,ghc-hunit)
10426 ("ghc-test-framework" ,ghc-test-framework)
10427 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)))
10428 (home-page "https://github.com/basvandijk/threads")
10429 (synopsis "Fork threads and wait for their result")
10430 (description "This package provides functions to fork threads and
10431wait for their result, whether it's an exception or a normal value.
10432Besides waiting for the termination of a single thread this package also
10433provides functions to wait for a group of threads to terminate. This
bbf8bf31
RV
10434package is similar to the @code{threadmanager}, @code{async} and
10435@code{spawn} packages. The advantages of this package are:
10436
dddbc90c
RV
10437@itemize
10438@item Simpler API.
10439@item More efficient in both space and time.
10440@item No space-leak when forking a large number of threads.
10441@item Correct handling of asynchronous exceptions.
10442@item GHC specific functionality like @code{forkOn} and
10443@code{forkIOWithUnmask}.
10444@end itemize")
10445 (license license:bsd-3)))
10446
10447(define-public ghc-th-reify-many
10448 (package
10449 (name "ghc-th-reify-many")
32d4a6ae 10450 (version "0.1.9")
dddbc90c
RV
10451 (source (origin
10452 (method url-fetch)
10453 (uri (string-append "https://hackage.haskell.org/package/"
10454 "th-reify-many/th-reify-many-"
10455 version ".tar.gz"))
10456 (sha256
10457 (base32
32d4a6ae 10458 "0hxf56filzqnyrc8q7766vai80y6cgrrbrczx6n93caskl1dv2gq"))))
dddbc90c
RV
10459 (build-system haskell-build-system)
10460 (inputs
10461 `(("ghc-safe" ,ghc-safe)
10462 ("ghc-th-expand-syns" ,ghc-th-expand-syns)))
10463 (home-page "https://github.com/mgsloan/th-reify-many")
10464 (synopsis "Recurseively reify template haskell datatype info")
10465 (description
10466 "th-reify-many provides functions for recursively reifying top level
10467declarations. The main intended use case is for enumerating the names of
10468datatypes reachable from an initial datatype, and passing these names to some
10469function which generates instances.")
10470 (license license:bsd-3)))
10471
10472(define-public ghc-time-locale-compat
10473 (package
10474 (name "ghc-time-locale-compat")
10475 (version "0.1.1.5")
10476 (source
10477 (origin
10478 (method url-fetch)
10479 (uri (string-append "https://hackage.haskell.org/package/"
10480 "time-locale-compat/time-locale-compat-"
10481 version ".tar.gz"))
10482 (sha256
10483 (base32
10484 "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7"))))
10485 (build-system haskell-build-system)
10486 (inputs `(("ghc-old-locale" ,ghc-old-locale)))
10487 (home-page "https://github.com/khibino/haskell-time-locale-compat")
10488 (synopsis "Compatibility of TimeLocale between old-locale and time-1.5")
10489 (description "This package contains a wrapped name module for
10490@code{TimeLocale}.")
10491 (license license:bsd-3)))
10492
7bbfa392
JS
10493(define-public ghc-timeit
10494 (package
10495 (name "ghc-timeit")
10496 (version "2.0")
10497 (source
10498 (origin
10499 (method url-fetch)
10500 (uri
10501 (string-append
10502 "https://hackage.haskell.org/package/timeit/timeit-"
10503 version ".tar.gz"))
10504 (sha256
10505 (base32
10506 "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1"))))
10507 (build-system haskell-build-system)
10508 (home-page "https://github.com/merijn/timeit")
10509 (synopsis "Time monadic computations with an IO base")
10510 (description "This package provides a simple wrapper to show the
10511used CPU time of monadic computation with an IO base.")
10512 (license license:bsd-3)))
10513
dddbc90c
RV
10514(define-public ghc-tldr
10515 (package
10516 (name "ghc-tldr")
10517 (version "0.4.0.1")
10518 (source
10519 (origin
10520 (method url-fetch)
10521 (uri (string-append
10522 "https://hackage.haskell.org/package/tldr/tldr-"
10523 version
10524 ".tar.gz"))
10525 (sha256
10526 (base32
10527 "0nc581y9jjzwd8l88g48c72mla7k6q1w102akl7gl5jsk9ljamd3"))))
10528 (build-system haskell-build-system)
10529 (inputs
10530 `(("ghc-cmark" ,ghc-cmark)
10531 ("ghc-optparse-applicative" ,ghc-optparse-applicative)
10532 ("ghc-typed-process" ,ghc-typed-process)
10533 ("ghc-semigroups" ,ghc-semigroups)))
10534 (native-inputs
10535 `(("ghc-tasty" ,ghc-tasty)
10536 ("ghc-tasty-golden" ,ghc-tasty-golden)))
10537 (home-page "https://github.com/psibi/tldr-hs#readme")
10538 (synopsis "Haskell tldr client")
10539 (description "This package provides the @command{tldr} command and a
10540Haskell client library allowing users to update and view @code{tldr} pages
10541from a shell. The @code{tldr} pages are a community effort to simplify the
10542man pages with practical examples.")
10543 (license license:bsd-3)))
10544
10545(define-public ghc-transformers-base
10546 (package
10547 (name "ghc-transformers-base")
10548 (version "0.4.5.2")
10549 (source
10550 (origin
10551 (method url-fetch)
10552 (uri (string-append
10553 "https://hackage.haskell.org/package/transformers-base/transformers-base-"
10554 version
10555 ".tar.gz"))
10556 (sha256
10557 (base32
10558 "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h"))))
10559 (build-system haskell-build-system)
10560 (inputs
10561 `(("ghc-transformers-compat" ,ghc-transformers-compat)))
10562 (home-page
10563 "https://hackage.haskell.org/package/transformers-compat")
10564 (synopsis
10565 "Backported transformer library")
10566 (description
10567 "Backported versions of types that were added to transformers in
10568transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3
10569compatibility to run on old versions of the platform.")
10570 (license license:bsd-3)))
10571
10572(define-public ghc-transformers-compat
10573 (package
10574 (name "ghc-transformers-compat")
1c9c4d58 10575 (version "0.6.5")
dddbc90c
RV
10576 (source
10577 (origin
10578 (method url-fetch)
10579 (uri (string-append
10580 "https://hackage.haskell.org/package/transformers-compat"
10581 "/transformers-compat-" version ".tar.gz"))
10582 (sha256
10583 (base32
1c9c4d58 10584 "02v2fjbvcrlpvhcsssap8dy8y9pp95jykrlc5arm39sxa48wyrys"))))
dddbc90c
RV
10585 (build-system haskell-build-system)
10586 (home-page "https://github.com/ekmett/transformers-compat/")
10587 (synopsis "Small compatibility shim between transformers 0.3 and 0.4")
10588 (description "This package includes backported versions of types that were
10589added to transformers in transformers 0.3 and 0.4 for users who need strict
10590transformers 0.2 or 0.3 compatibility to run on old versions of the platform,
10591but also need those types.")
10592 (license license:bsd-3)))
10593
10594(define-public ghc-tree-diff
10595 (package
10596 (name "ghc-tree-diff")
10597 (version "0.0.1")
10598 (source
10599 (origin
10600 (method url-fetch)
10601 (uri (string-append
10602 "https://hackage.haskell.org/package/tree-diff/tree-diff-"
10603 version
10604 ".tar.gz"))
10605 (sha256
10606 (base32
10607 "049v44c520jy3icxlnrvbdblh3mjmvd7m6qmkzxbzkf02x63xqmz"))))
10608 (build-system haskell-build-system)
10609 (arguments
10610 `(#:cabal-revision
10611 ("4" "1rqxxyj6hqllahs11693g855cxz8mgnb490s7j1ksd300i5xgjsp")
10612 #:phases
10613 (modify-phases %standard-phases
10614 (add-before 'configure 'update-constraints
10615 (lambda _
10616 (substitute* "tree-diff.cabal"
10617 (("trifecta >=1\\.7\\.1\\.1 && <1\\.8")
10618 "trifecta >=1.7.1.1 && <=2")))))))
10619 (inputs
10620 `(("ghc-aeson" ,ghc-aeson)
10621 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
10622 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
10623 ("ghc-base-compat" ,ghc-base-compat)
10624 ("ghc-generics-sop" ,ghc-generics-sop)
10625 ("ghc-hashable" ,ghc-hashable)
10626 ("ghc-memotrie" ,ghc-memotrie)
10627 ("ghc-parsers" ,ghc-parsers)
10628 ("ghc-quickcheck" ,ghc-quickcheck)
10629 ("ghc-scientific" ,ghc-scientific)
10630 ("ghc-tagged" ,ghc-tagged)
10631 ("ghc-unordered-containers" ,ghc-unordered-containers)
10632 ("ghc-uuid-types" ,ghc-uuid-types)
10633 ("ghc-vector" ,ghc-vector)))
10634 (native-inputs
10635 `(("ghc-base-compat" ,ghc-base-compat)
10636 ("ghc-quickcheck" ,ghc-quickcheck)
10637 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
10638 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
10639 ("ghc-trifecta" ,ghc-trifecta)
10640 ("ghc-tasty" ,ghc-tasty)
10641 ("ghc-tasty-golden" ,ghc-tasty-golden)
10642 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
10643 (home-page "https://github.com/phadej/tree-diff")
10644 (synopsis "Compute difference between (expression) trees")
10645 (description "This Haskell library provides a function for computing
10646the difference between (expression) trees. It also provides a way to
10647compute the difference between arbitrary abstract datatypes (ADTs) using
10648@code{Generics}-derivable helpers.")
10649 (license license:bsd-3)))
10650
10651(define-public ghc-trifecta
10652 (package
10653 (name "ghc-trifecta")
10654 (version "2")
10655 (source (origin
10656 (method url-fetch)
10657 (uri (string-append
10658 "https://hackage.haskell.org/package/trifecta/"
10659 "trifecta-" version ".tar.gz"))
10660 (sha256
10661 (base32
10662 "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk"))))
10663 (build-system haskell-build-system)
10664 (arguments `(#:tests? #f)) ; doctest suite fails to build on i686
10665 (inputs
10666 `(("ghc-reducers" ,ghc-reducers)
10667 ("ghc-semigroups" ,ghc-semigroups)
10668 ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
10669 ("ghc-ansi-terminal" ,ghc-ansi-terminal)
10670 ("ghc-blaze-builder" ,ghc-blaze-builder)
10671 ("ghc-blaze-html" ,ghc-blaze-html)
10672 ("ghc-blaze-markup" ,ghc-blaze-markup)
10673 ("ghc-charset" ,ghc-charset)
10674 ("ghc-comonad" ,ghc-comonad)
10675 ("ghc-fingertree" ,ghc-fingertree)
10676 ("ghc-hashable" ,ghc-hashable)
10677 ("ghc-lens" ,ghc-lens)
10678 ("ghc-parsers" ,ghc-parsers)
10679 ("ghc-profunctors" ,ghc-profunctors)
10680 ("ghc-unordered-containers" ,ghc-unordered-containers)
10681 ("ghc-utf8-string" ,ghc-utf8-string)))
10682 (native-inputs
10683 `(("cabal-doctest" ,cabal-doctest)
10684 ("ghc-doctest" ,ghc-doctest)
10685 ("ghc-quickcheck" ,ghc-quickcheck)))
10686 (home-page "https://github.com/ekmett/trifecta/")
10687 (synopsis "Parser combinator library with convenient diagnostics")
10688 (description "Trifecta is a modern parser combinator library for Haskell,
10689with slicing and Clang-style colored diagnostics.")
10690 (license license:bsd-3)))
10691
10692(define-public ghc-tuple-th
10693 (package
10694 (name "ghc-tuple-th")
10695 (version "0.2.5")
10696 (source
10697 (origin
10698 (method url-fetch)
10699 (uri (string-append "https://hackage.haskell.org/package/"
10700 "tuple-th-" version "/"
10701 "tuple-th-" version ".tar.gz"))
10702 (sha256
10703 (base32
10704 "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn"))))
10705 (build-system haskell-build-system)
10706 (home-page "https://github.com/DanielSchuessler/tuple-th")
10707 (synopsis "Generate utility functions for tuples of statically known size
10708for Haskell")
10709 (description "This Haskell package contains Template Haskell functions for
10710generating functions similar to those in @code{Data.List} for tuples of
10711statically known size.")
10712 (license license:bsd-3)))
10713
10714(define-public ghc-typed-process
10715 (package
10716 (name "ghc-typed-process")
10717 (version "0.2.3.0")
10718 (source
10719 (origin
10720 (method url-fetch)
10721 (uri (string-append "https://hackage.haskell.org/package/"
10722 "typed-process/typed-process-"
10723 version ".tar.gz"))
10724 (sha256
10725 (base32
10726 "0j36vrc9w841m5qbwqra1lwiznx31xfnhin1sm8x2c2739csbpn0"))))
10727 (build-system haskell-build-system)
10728 (inputs
10729 `(("ghc-async" ,ghc-async)))
10730 (native-inputs
10731 `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
10732 ("ghc-hspec" ,ghc-hspec)
10733 ("hspec-discover" ,hspec-discover)
10734 ("ghc-temporary" ,ghc-temporary)))
10735 (home-page "https://haskell-lang.org/library/typed-process")
10736 (synopsis "Run external processes with strong typing of streams")
10737 (description
10738 "This library provides the ability to launch and interact with external
10739processes. It wraps around the @code{process} library, and intends to improve
10740upon it.")
10741 (license license:expat)))
10742
d392f803
AG
10743(define-public ghc-unagi-chan
10744 (package
10745 (name "ghc-unagi-chan")
10746 (version "0.4.1.2")
10747 (source
10748 (origin
10749 (method url-fetch)
10750 (uri (string-append "https://hackage.haskell.org/package/unagi-chan"
10751 "/unagi-chan-" version ".tar.gz"))
10752 (sha256
10753 (base32
10754 "1lnl5n4jnjmm4chp461glcwkrrw63rjz3fvprwxcy3lkpbkrqvgn"))))
10755 (build-system haskell-build-system)
10756 (inputs
10757 `(("ghc-atomic-primops" ,ghc-atomic-primops)
10758 ("ghc-primitive" ,ghc-primitive)))
10759 (arguments
10760 `(#:tests? #f ; FIXME: Tests expect primitive 0.7
10761 #:cabal-revision
10762 ("1"
10763 "09pqi867wskwgc5lpn197f895mbn1174ydgllvcppcsmrz2b6yr6")))
10764 (home-page "http://hackage.haskell.org/package/unagi-chan")
10765 (synopsis "Fast concurrent queues with a Chan-like API, and more")
10766 (description
10767 "This library provides implementations of concurrent FIFO queues (for
10768both general boxed and primitive unboxed values) that are fast, perform well
10769under contention, and offer a Chan-like interface. The library may be of
10770limited usefulness outside of x86 architectures where the fetch-and-add
10771instruction is not available.")
10772 (license license:bsd-3)))
10773
dddbc90c
RV
10774(define-public ghc-unbounded-delays
10775 (package
10776 (name "ghc-unbounded-delays")
10777 (version "0.1.1.0")
10778 (source
10779 (origin
10780 (method url-fetch)
10781 (uri (string-append
10782 "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-"
10783 version
10784 ".tar.gz"))
10785 (sha256
10786 (base32
10787 "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa"))))
10788 (build-system haskell-build-system)
10789 (home-page "https://github.com/basvandijk/unbounded-delays")
10790 (synopsis "Unbounded thread delays and timeouts")
10791 (description "The @code{threadDelay} and @code{timeout} functions from the
10792Haskell base library use the bounded @code{Int} type for specifying the delay
10793or timeout period. This package provides alternative functions which use the
10794unbounded @code{Integer} type.")
10795 (license license:bsd-3)))
10796
10797(define-public ghc-unexceptionalio
10798 (package
10799 (name "ghc-unexceptionalio")
10800 (version "0.4.0")
10801 (source
10802 (origin
10803 (method url-fetch)
10804 (uri (string-append "https://hackage.haskell.org/package/"
10805 "unexceptionalio-" version "/" "unexceptionalio-"
10806 version ".tar.gz"))
10807 (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p"))))
10808 (build-system haskell-build-system)
10809 (home-page "https://github.com/singpolyma/unexceptionalio")
10810 (synopsis "IO without any non-error, synchronous exceptions")
10811 (description "When you've caught all the exceptions that can be
10812handled safely, this is what you're left with.")
10813 (license license:isc)))
10814
10815(define-public ghc-union-find
10816 (package
10817 (name "ghc-union-find")
10818 (version "0.2")
10819 (source (origin
10820 (method url-fetch)
10821 (uri (string-append
10822 "https://hackage.haskell.org/package/union-find/union-find-"
10823 version ".tar.gz"))
10824 (sha256
10825 (base32
10826 "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6"))))
10827 (build-system haskell-build-system)
10828 (home-page "https://github.com/nominolo/union-find")
10829 (synopsis "Efficient union and equivalence testing of sets")
10830 (description
10831 "The Union/Find algorithm implements these operations in (effectively)
10832constant-time:
10833@enumerate
10834@item Check whether two elements are in the same equivalence class.
10835@item Create a union of two equivalence classes.
10836@item Look up the descriptor of the equivalence class.
10837@end enumerate\n")
10838 (license license:bsd-3)))
10839
10840(define-public ghc-uniplate
10841 (package
10842 (name "ghc-uniplate")
10843 (version "1.6.12")
10844 (source
10845 (origin
10846 (method url-fetch)
10847 (uri (string-append
10848 "https://hackage.haskell.org/package/uniplate/uniplate-"
10849 version
10850 ".tar.gz"))
10851 (sha256
10852 (base32
10853 "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw"))))
10854 (build-system haskell-build-system)
10855 (inputs
10856 `(("ghc-syb" ,ghc-syb)
10857 ("ghc-hashable" ,ghc-hashable)
10858 ("ghc-unordered-containers" ,ghc-unordered-containers)))
10859 (home-page "http://community.haskell.org/~ndm/uniplate/")
10860 (synopsis "Simple, concise and fast generic operations")
10861 (description "Uniplate is a library for writing simple and concise generic
10862operations. Uniplate has similar goals to the original Scrap Your Boilerplate
10863work, but is substantially simpler and faster.")
10864 (license license:bsd-3)))
10865
10866(define-public ghc-unix-compat
10867 (package
10868 (name "ghc-unix-compat")
bc82e9f5 10869 (version "0.5.2")
dddbc90c
RV
10870 (source
10871 (origin
10872 (method url-fetch)
10873 (uri (string-append
10874 "https://hackage.haskell.org/package/unix-compat/unix-compat-"
10875 version
10876 ".tar.gz"))
10877 (sha256
10878 (base32
bc82e9f5 10879 "1a8brv9fax76b1fymslzyghwa6ma8yijiyyhn12msl3i5x24x6k5"))))
dddbc90c
RV
10880 (build-system haskell-build-system)
10881 (home-page
10882 "https://github.com/jystic/unix-compat")
10883 (synopsis "Portable POSIX-compatibility layer")
10884 (description
10885 "This package provides portable implementations of parts of the unix
10886package. This package re-exports the unix package when available. When it
10887isn't available, portable implementations are used.")
10888 (license license:bsd-3)))
10889
10890(define-public ghc-unix-time
10891 (package
10892 (name "ghc-unix-time")
fad9cff2 10893 (version "0.4.7")
dddbc90c
RV
10894 (source
10895 (origin
10896 (method url-fetch)
10897 (uri (string-append
10898 "https://hackage.haskell.org/package/unix-time/unix-time-"
10899 version
10900 ".tar.gz"))
10901 (sha256
10902 (base32
fad9cff2 10903 "02fyh298lm8jsg52i3z0ikazwz477ljqjmhnqr2d88grmn5ky8qr"))))
dddbc90c
RV
10904 (build-system haskell-build-system)
10905 (arguments
10906 `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This
10907 ; is weird, that should be provided by GHC 7.10.2.
10908 (inputs
10909 `(("ghc-old-time" ,ghc-old-time)
10910 ("ghc-old-locale" ,ghc-old-locale)))
10911 (home-page "https://hackage.haskell.org/package/unix-time")
10912 (synopsis "Unix time parser/formatter and utilities")
10913 (description "This library provides fast parsing and formatting utilities
10914for Unix time in Haskell.")
10915 (license license:bsd-3)))
10916
10917(define-public ghc-unliftio
10918 (package
10919 (name "ghc-unliftio")
10920 (version "0.2.7.0")
10921 (source
10922 (origin
10923 (method url-fetch)
10924 (uri (string-append
10925 "https://hackage.haskell.org/package/unliftio/unliftio-"
10926 version
10927 ".tar.gz"))
10928 (sha256
10929 (base32
10930 "0qql93lq5w7qghl454cc3s1i8v1jb4h08n82fqkw0kli4g3g9njs"))))
10931 (build-system haskell-build-system)
10932 (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH
10933 (inputs
10934 `(("ghc-async" ,ghc-async)
10935 ("ghc-unliftio-core" ,ghc-unliftio-core)))
10936 (native-inputs `(("ghc-hspec" ,ghc-hspec)))
10937 (home-page "https://github.com/fpco/unliftio")
10938 (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to
10939IO (batteries included)")
10940 (description "This Haskell package provides the core @code{MonadUnliftIO}
10941typeclass, a number of common instances, and a collection of common functions
10942working with it.")
10943 (license license:expat)))
10944
10945(define-public ghc-unliftio-core
10946 (package
10947 (name "ghc-unliftio-core")
2ae42618 10948 (version "0.1.2.0")
dddbc90c
RV
10949 (source
10950 (origin
10951 (method url-fetch)
10952 (uri (string-append "https://hackage.haskell.org/package/"
10953 "unliftio-core-" version "/"
10954 "unliftio-core-" version ".tar.gz"))
10955 (sha256
10956 (base32
2ae42618 10957 "0y3siyx3drkw7igs380a87h8qfbbgcyxxlcnshp698hcc4yqphr4"))))
dddbc90c
RV
10958 (build-system haskell-build-system)
10959 (arguments
10960 `(#:cabal-revision
2ae42618 10961 ("2" "0jqrjjbgicx48wzcjxs1xmih48ay79rhmrz6081dldlfxynli6vz")))
dddbc90c
RV
10962 (home-page
10963 "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme")
10964 (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO")
10965 (description "This Haskell package provides the core @code{MonadUnliftIO}
10966typeclass, instances for base and transformers, and basic utility
10967functions.")
10968 (license license:expat)))
10969
10970(define-public ghc-unordered-containers
10971 (package
10972 (name "ghc-unordered-containers")
10973 (version "0.2.9.0")
10974 (outputs '("out" "doc"))
10975 (source
10976 (origin
10977 (method url-fetch)
10978 (uri (string-append
10979 "https://hackage.haskell.org/package/unordered-containers"
10980 "/unordered-containers-" version ".tar.gz"))
10981 (sha256
10982 (base32
10983 "0l4264p0av12cc6i8gls13q8y27x12z2ar4x34n3x59y99fcnc37"))))
10984 (build-system haskell-build-system)
10985 (inputs
10986 `(("ghc-chasingbottoms" ,ghc-chasingbottoms)
10987 ("ghc-hunit" ,ghc-hunit)
10988 ("ghc-quickcheck" ,ghc-quickcheck)
10989 ("ghc-test-framework" ,ghc-test-framework)
10990 ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
10991 ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
10992 ("ghc-hashable" ,ghc-hashable)))
10993 (home-page
10994 "https://github.com/tibbe/unordered-containers")
10995 (synopsis
10996 "Efficient hashing-based container types")
10997 (description
10998 "Efficient hashing-based container types. The containers have been
10999optimized for performance critical use, both in terms of large data quantities
11000and high speed.")
11001 (license license:bsd-3)))
11002
11003(define-public ghc-unordered-containers-bootstrap
11004 (package
11005 (inherit ghc-unordered-containers)
11006 (name "ghc-unordered-containers-bootstrap")
11007 (arguments `(#:tests? #f))
11008 (inputs
11009 `(("ghc-hashable" ,ghc-hashable-bootstrap)))
799d8d3c 11010 (properties '((hidden? #t)))))
dddbc90c 11011
a52f4c57
JS
11012(define-public ghc-unsafe
11013 (package
11014 (name "ghc-unsafe")
11015 (version "0.0")
11016 (source
11017 (origin
11018 (method url-fetch)
11019 (uri
11020 (string-append
11021 "https://hackage.haskell.org/package/unsafe/unsafe-"
11022 version ".tar.gz"))
11023 (sha256
11024 (base32
11025 "0hc6xr1i3hkz25gdgfx1jqgpsc9mwa05bkfynp0mcfdlyz6782nz"))))
11026 (build-system haskell-build-system)
11027 (home-page "https://hackage.haskell.org/package/unsafe")
11028 (synopsis "Unified interface to unsafe functions")
11029 (description "Safe Haskell introduced the notion of safe and unsafe
11030modules. In order to make as many as possible modules ``safe'', the
11031well-known unsafe functions were moved to distinguished modules. This
11032makes it hard to write packages that work with both old and new versions
11033of GHC. This package provides a single module System.Unsafe that
11034exports the unsafe functions from the base package. It provides them in
11035a style ready for qualification, that is, you should import them by
11036@code{import qualified System.Unsafe as Unsafe}.")
11037 (license license:bsd-3)))
11038
dddbc90c
RV
11039(define-public ghc-uri-bytestring
11040 (package
11041 (name "ghc-uri-bytestring")
11042 (version "0.3.2.0")
11043 (source
11044 (origin
11045 (method url-fetch)
11046 (uri (string-append "https://hackage.haskell.org/package/"
11047 "uri-bytestring-" version "/"
11048 "uri-bytestring-" version ".tar.gz"))
11049 (sha256
11050 (base32
11051 "1q04j5ybvk37zk2m0bkjwyhblz0ymdj0cn4rvsvdca1ikn5xdv5c"))))
11052 (build-system haskell-build-system)
11053 (inputs `(("ghc-attoparsec" ,ghc-attoparsec)
11054 ("ghc-fail" ,ghc-fail)
11055 ("ghc-blaze-builder" ,ghc-blaze-builder)
11056 ("ghc-th-lift-instances" ,ghc-th-lift-instances)))
11057 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
11058 ("ghc-hunit" ,ghc-hunit)
11059 ("ghc-quickcheck" ,ghc-quickcheck)
11060 ("ghc-tasty" ,ghc-tasty)
11061 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11062 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11063 ("ghc-base-compat" ,ghc-base-compat)
11064 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
11065 ("ghc-semigroups" ,ghc-semigroups)
11066 ("ghc-generics-sop" ,ghc-generics-sop)))
11067 (home-page "https://github.com/Soostone/uri-bytestring")
11068 (synopsis "Haskell URI parsing as ByteStrings")
11069 (description "This Haskell package aims to be an RFC3986 compliant URI
11070parser that uses ByteStrings for parsing and representing the URI data.")
11071 (license license:bsd-3)))
11072
11073(define-public ghc-utf8-string
11074 (package
11075 (name "ghc-utf8-string")
11076 (version "1.0.1.1")
11077 (source
11078 (origin
11079 (method url-fetch)
11080 (uri (string-append
11081 "https://hackage.haskell.org/package/utf8-string/utf8-string-"
11082 version
11083 ".tar.gz"))
11084 (sha256
11085 (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv"))))
11086 (build-system haskell-build-system)
11087 (arguments
11088 `(#:cabal-revision
11089 ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38")))
11090 (home-page "https://github.com/glguy/utf8-string/")
11091 (synopsis "Support for reading and writing UTF8 Strings")
11092 (description
11093 "A UTF8 layer for Strings. The utf8-string package provides operations
11094for encoding UTF8 strings to Word8 lists and back, and for reading and writing
11095UTF8 without truncation.")
11096 (license license:bsd-3)))
11097
11098(define-public ghc-utility-ht
11099 (package
11100 (name "ghc-utility-ht")
11101 (version "0.0.14")
11102 (home-page "https://hackage.haskell.org/package/utility-ht")
11103 (source
11104 (origin
11105 (method url-fetch)
11106 (uri (string-append home-page "/utility-ht-" version ".tar.gz"))
11107 (sha256
11108 (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9"))))
11109 (build-system haskell-build-system)
11110 (inputs `(("ghc-quickcheck" ,ghc-quickcheck)))
11111 (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions")
11112 (description "This package includes Hakell modules providing various
11113helper functions for Lists, Maybes, Tuples, Functions.")
11114 (license license:bsd-3)))
11115
11116(define-public ghc-uuid
11117 (package
11118 (name "ghc-uuid")
11119 (version "1.3.13")
11120 (source
11121 (origin
11122 (method url-fetch)
11123 (uri (string-append "https://hackage.haskell.org/package/"
11124 "uuid-" version "/"
11125 "uuid-" version ".tar.gz"))
11126 (sha256
11127 (base32
11128 "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
11129 (build-system haskell-build-system)
11130 (arguments
11131 `(#:cabal-revision
11132 ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9")
11133 #:phases
11134 (modify-phases %standard-phases
11135 (add-before 'configure 'strip-test-framework-constraints
11136 (lambda _
11137 (substitute* "uuid.cabal"
11138 (("HUnit >= 1\\.2 && < 1\\.4") "HUnit")
11139 (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck")
11140 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
11141 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
11142 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
11143 (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
11144 ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
11145 ("ghc-entropy" ,ghc-entropy)
11146 ("ghc-network-info" ,ghc-network-info)
11147 ("ghc-random" ,ghc-random)
11148 ("ghc-uuid-types" ,ghc-uuid-types)))
11149 (native-inputs `(("ghc-hunit" ,ghc-hunit)
11150 ("ghc-quickcheck" ,ghc-quickcheck)
11151 ("ghc-tasty" ,ghc-tasty)
11152 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11153 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
11154 (home-page "https://github.com/hvr/uuid")
11155 (synopsis "Haskell library to create, compare, parse, and print UUIDs")
11156 (description "This Haskell library provides utilities creating, comparing,
11157parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.")
11158 (license license:bsd-3)))
11159
11160(define-public ghc-uuid-types
11161 (package
11162 (name "ghc-uuid-types")
11163 (version "1.0.3")
11164 (source
11165 (origin
11166 (method url-fetch)
11167 (uri (string-append "https://hackage.haskell.org/package/"
11168 "uuid-types-" version "/"
11169 "uuid-types-" version ".tar.gz"))
11170 (sha256
11171 (base32
11172 "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj"))))
11173 (build-system haskell-build-system)
11174 (arguments
11175 `(#:phases
11176 (modify-phases %standard-phases
11177 (add-before 'configure 'strip-test-framework-constraints
11178 (lambda _
11179 (substitute* "uuid-types.cabal"
11180 (("HUnit >=1\\.2 && < 1\\.4") "HUnit")
11181 (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck")
11182 (("tasty >= 0\\.10 && < 0\\.12") "tasty")
11183 (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit")
11184 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
11185 (inputs `(("ghc-hashable" ,ghc-hashable)
11186 ("ghc-random" ,ghc-random)))
11187 (native-inputs `(("ghc-hunit" ,ghc-hunit)
11188 ("ghc-quickcheck" ,ghc-quickcheck)
11189 ("ghc-tasty" ,ghc-tasty)
11190 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11191 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
11192 (home-page "https://github.com/hvr/uuid")
11193 (synopsis "Haskell type definitions for UUIDs")
11194 (description "This Haskell library contains type definitions for
11195@dfn{Universally Unique Identifiers} or
11196@uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion
11197functions.")
11198 (license license:bsd-3)))
11199
11200(define-public ghc-validation
11201 (package
11202 (name "ghc-validation")
11203 (version "1")
11204 (source
11205 (origin
11206 (method url-fetch)
11207 (uri (string-append
11208 "mirror://hackage/package/validation/validation-"
11209 version
11210 ".tar.gz"))
11211 (sha256
11212 (base32
11213 "08drmdvyzg2frbb26icy1mlz52xv0l6gi3v8gb7xp0vrcci5libh"))))
11214 (build-system haskell-build-system)
11215 (arguments
11216 `(#:cabal-revision
11217 ("1" "1x1g4nannz81j1h64l1m3ancc96zc57d1bjhj1wk7bwn1xxbi5h3")))
11218 (inputs
11219 `(("ghc-semigroups" ,ghc-semigroups)
11220 ("ghc-semigroupoids" ,ghc-semigroupoids)
11221 ("ghc-bifunctors" ,ghc-bifunctors)
11222 ("ghc-lens" ,ghc-lens)))
11223 (native-inputs
11224 `(("ghc-hedgehog" ,ghc-hedgehog)
11225 ("ghc-hunit" ,ghc-hunit)))
11226 (home-page "https://github.com/qfpl/validation")
11227 (synopsis
11228 "Data-type like Either but with an accumulating Applicative")
11229 (description
11230 "A data-type like Either but with differing properties and type-class
11231instances.
11232
11233Library support is provided for this different representation, including
11234@code{lens}-related functions for converting between each and abstracting over
11235their similarities.
11236
11237The @code{Validation} data type is isomorphic to @code{Either}, but has an
11238instance of @code{Applicative} that accumulates on the error side. That is to
11239say, if two (or more) errors are encountered, they are appended using a
11240@{Semigroup} operation.
11241
11242As a consequence of this @code{Applicative} instance, there is no
11243corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an
11244example of, \"An applicative functor that is not a monad.\"")
11245 (license license:bsd-3)))
11246
11247(define-public ghc-validity
11248 (package
11249 (name "ghc-validity")
11250 (version "0.7.0.0")
11251 (source
11252 (origin
11253 (method url-fetch)
11254 (uri (string-append
11255 "https://hackage.haskell.org/package/validity/validity-"
11256 version
11257 ".tar.gz"))
11258 (sha256
11259 (base32
11260 "0xribw98amafihw87ddajk6vlirp7w9b26lrnjgq7jfm4710j95f"))))
11261 (build-system haskell-build-system)
11262 (native-inputs `(("ghc-hspec" ,ghc-hspec)
11263 ("hspec-discover" ,hspec-discover)))
11264 (home-page
11265 "https://github.com/NorfairKing/validity")
11266 (synopsis "Validity typeclass")
11267 (description
11268 "Values of custom types usually have invariants imposed upon them. This
11269package provides the @code{Validity} type class, which makes these invariants
11270explicit by providing a function to check whether the invariants hold.")
11271 (license license:expat)))
11272
11273(define-public ghc-vault
11274 (package
11275 (name "ghc-vault")
11276 (version "0.3.1.2")
11277 (source
11278 (origin
11279 (method url-fetch)
11280 (uri (string-append
11281 "https://hackage.haskell.org/package/vault/vault-"
11282 version
11283 ".tar.gz"))
11284 (sha256
11285 (base32
11286 "072mbrihsdsb8c6xvg6lvk0rqjgvxvi8qkg4n6wwym5hq0pfa04y"))))
11287 (build-system haskell-build-system)
11288 (inputs
11289 `(("ghc-unordered-containers" ,ghc-unordered-containers)
11290 ("ghc-hashable" ,ghc-hashable)
11291 ("ghc-semigroupoids" ,ghc-semigroupoids)))
11292 (home-page
11293 "https://github.com/HeinrichApfelmus/vault")
11294 (synopsis "Persistent store for arbitrary values")
11295 (description "This package provides vaults for Haskell. A vault is a
11296persistent store for values of arbitrary types. It's like having first-class
11297access to the storage space behind @code{IORefs}. The data structure is
11298analogous to a bank vault, where you can access different bank boxes with
11299different keys; hence the name. Also provided is a @code{locker} type,
11300representing a store for a single element.")
11301 (license license:bsd-3)))
11302
11303(define-public ghc-vector
11304 (package
11305 (name "ghc-vector")
3ad67f6b 11306 (version "0.12.0.3")
dddbc90c
RV
11307 (outputs '("out" "doc"))
11308 (source
11309 (origin
11310 (method url-fetch)
11311 (uri (string-append
11312 "https://hackage.haskell.org/package/vector/vector-"
11313 version
11314 ".tar.gz"))
11315 (sha256
11316 (base32
3ad67f6b 11317 "1a756s4w759ji3als5alfxwlckh5zcmykfg9rll4mlr2knzvz8mq"))))
dddbc90c
RV
11318 (build-system haskell-build-system)
11319 ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests
11320 ;; disabled for now.
11321 (arguments
3ad67f6b 11322 `(#:tests? #f))
dddbc90c
RV
11323 (inputs
11324 `(("ghc-primitive" ,ghc-primitive)
11325 ("ghc-random" ,ghc-random)
11326 ("ghc-quickcheck" ,ghc-quickcheck)
11327 ;; ("ghc-hunit" ,ghc-hunit)
11328 ;; ("ghc-test-framework" ,ghc-test-framework)
11329 ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
11330 ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
11331 ))
11332 (home-page "https://github.com/haskell/vector")
11333 (synopsis "Efficient Arrays")
11334 (description "This library provides an efficient implementation of
11335Int-indexed arrays (both mutable and immutable), with a powerful loop
11336optimisation framework.")
11337 (license license:bsd-3)))
11338
11339(define-public ghc-vector-algorithms
11340 (package
11341 (name "ghc-vector-algorithms")
e71f316f 11342 (version "0.8.0.1")
dddbc90c
RV
11343 (source
11344 (origin
11345 (method url-fetch)
11346 (uri (string-append "https://hackage.haskell.org/package/"
11347 "vector-algorithms-" version "/"
11348 "vector-algorithms-" version ".tar.gz"))
11349 (sha256
11350 (base32
e71f316f 11351 "1zip8r7hh5g12xrjvhbg38z6hfxy7l6h6pl88qcqc0ygdmwdxg0m"))))
dddbc90c
RV
11352 (build-system haskell-build-system)
11353 (inputs
11354 `(("ghc-vector" ,ghc-vector)))
11355 (native-inputs
11356 `(("ghc-quickcheck" ,ghc-quickcheck)))
11357 (home-page "https://github.com/bos/math-functions")
11358 (synopsis "Algorithms for vector arrays in Haskell")
11359 (description "This Haskell library algorithms for vector arrays.")
11360 (license license:bsd-3)))
11361
11362(define-public ghc-vector-binary-instances
11363 (package
11364 (name "ghc-vector-binary-instances")
11365 (version "0.2.4")
11366 (source
11367 (origin
11368 (method url-fetch)
11369 (uri (string-append
11370 "https://hackage.haskell.org/package/"
11371 "vector-binary-instances/vector-binary-instances-"
11372 version ".tar.gz"))
11373 (sha256
11374 (base32
11375 "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb"))))
11376 (build-system haskell-build-system)
11377 (arguments
11378 `(#:cabal-revision
11379 ("1" "196frl4akhfk7xf1nxzn8lmq99dxhzhsimanswn9yy7ym8zhki4i")))
11380 (inputs
11381 `(("ghc-vector" ,ghc-vector)))
11382 (native-inputs
11383 `(("ghc-tasty" ,ghc-tasty)
11384 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
11385 (home-page "https://github.com/bos/vector-binary-instances")
11386 (synopsis "Instances of Data.Binary and Data.Serialize for vector")
11387 (description "This library provides instances of @code{Binary} for the
11388types defined in the @code{vector} package, making it easy to serialize
11389vectors to and from disk. We use the generic interface to vectors, so all
11390vector types are supported. Specific instances are provided for unboxed,
11391boxed and storable vectors.")
11392 (license license:bsd-3)))
11393
11394(define-public ghc-vector-builder
11395 (package
11396 (name "ghc-vector-builder")
11397 (version "0.3.6")
11398 (source
11399 (origin
11400 (method url-fetch)
11401 (uri (string-append "https://hackage.haskell.org/package/"
11402 "vector-builder-" version "/"
11403 "vector-builder-" version ".tar.gz"))
11404 (sha256
11405 (base32
11406 "06d2pa1fb3ydrl7l6rjazqyxv5i73v65x2f5fp0ypjxfbm6jsmn8"))))
11407 (build-system haskell-build-system)
11408 (inputs `(("ghc-vector" ,ghc-vector)
11409 ("ghc-semigroups" ,ghc-semigroups)
11410 ("ghc-base-prelude" ,ghc-base-prelude)))
11411 (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec)
11412 ("ghc-tasty" ,ghc-tasty)
11413 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11414 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
11415 ("ghc-hunit" ,ghc-hunit)
11416 ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
11417 ("ghc-rerebase" ,ghc-rerebase)))
11418 (home-page "https://github.com/nikita-volkov/vector-builder")
11419 (synopsis "Vector builder for Haskell")
11420 (description "This Haskell package provides an API for constructing vectors.
11421It provides the composable @code{Builder} abstraction, which has instances of the
11422@code{Monoid} and @code{Semigroup} classes.
11423
11424You would first use the @code{Builder} abstraction to specify the structure of
11425the vector; then you can execute the builder to actually produce the
11426vector. ")
11427 (license license:expat)))
11428
11429(define-public ghc-vector-th-unbox
11430 (package
11431 (name "ghc-vector-th-unbox")
63056e61 11432 (version "0.2.1.7")
dddbc90c
RV
11433 (source
11434 (origin
11435 (method url-fetch)
11436 (uri (string-append "https://hackage.haskell.org/package/"
11437 "vector-th-unbox-" version "/"
11438 "vector-th-unbox-" version ".tar.gz"))
11439 (sha256
11440 (base32
63056e61 11441 "0q8dqnbv1c2gi7jjdhqj14abj1vik23ki6lq4iz2sz18yc7q69fi"))))
dddbc90c
RV
11442 (build-system haskell-build-system)
11443 (inputs
11444 `(("ghc-vector" ,ghc-vector)
11445 ("ghc-data-default" ,ghc-data-default)))
11446 (home-page "https://github.com/liyang/vector-th-unbox")
11447 (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell")
11448 (description "This Haskell library provides a Template Haskell
11449deriver for unboxed vectors, given a pair of coercion functions to
11450and from some existing type with an Unbox instance.")
11451 (license license:bsd-3)))
11452
11453(define-public ghc-void
11454 (package
11455 (name "ghc-void")
11456 (version "0.7.2")
11457 (source
11458 (origin
11459 (method url-fetch)
11460 (uri (string-append
11461 "https://hackage.haskell.org/package/void/void-"
11462 version
11463 ".tar.gz"))
11464 (sha256
11465 (base32
11466 "0aygw0yb1h3yhmfl3bkwh5d3h0l4mmsxz7j53vdm6jryl1kgxzyk"))))
11467 (build-system haskell-build-system)
11468 (inputs
11469 `(("ghc-semigroups" ,ghc-semigroups)
11470 ("ghc-hashable" ,ghc-hashable)))
11471 (home-page "https://github.com/ekmett/void")
11472 (synopsis
11473 "Logically uninhabited data type")
11474 (description
11475 "A Haskell 98 logically uninhabited data type, used to indicate that a
11476given term should not exist.")
11477 (license license:bsd-3)))
11478
11479(define-public ghc-wave
11480 (package
11481 (name "ghc-wave")
11482 (version "0.1.5")
11483 (source (origin
11484 (method url-fetch)
11485 (uri (string-append
11486 "https://hackage.haskell.org/package/wave/wave-"
11487 version
11488 ".tar.gz"))
11489 (sha256
11490 (base32
11491 "03zycmwrchhqvi37fdvlzz2d1vl4hy0i8xyys1zznw38qfq0h2i5"))))
11492 (build-system haskell-build-system)
11493 (arguments
11494 '(#:phases
11495 (modify-phases %standard-phases
11496 (add-before 'configure 'update-constraints
11497 (lambda _
11498 (substitute* "wave.cabal"
11499 (("temporary.* < 1\\.3")
11500 "temporary >= 1.1 && < 1.4")))))))
11501 (inputs
11502 `(("ghc-cereal" ,ghc-cereal)
11503 ("ghc-data-default-class"
11504 ,ghc-data-default-class)
11505 ("ghc-quickcheck" ,ghc-quickcheck)
11506 ("ghc-temporary" ,ghc-temporary)))
11507 (native-inputs
11508 `(("hspec-discover" ,hspec-discover)
11509 ("ghc-hspec" ,ghc-hspec)))
11510 (home-page "https://github.com/mrkkrp/wave")
11511 (synopsis "Work with WAVE and RF64 files in Haskell")
11512 (description "This package allows you to work with WAVE and RF64
11513files in Haskell.")
11514 (license license:bsd-3)))
11515
11516(define-public ghc-wcwidth
11517 (package
11518 (name "ghc-wcwidth")
11519 (version "0.0.2")
11520 (source
11521 (origin
11522 (method url-fetch)
11523 (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-"
11524 version ".tar.gz"))
11525 (sha256
11526 (base32
11527 "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz"))))
11528 (build-system haskell-build-system)
11529 (inputs
11530 `(("ghc-setlocale" ,ghc-setlocale)
11531 ("ghc-utf8-string" ,ghc-utf8-string)
11532 ("ghc-attoparsec" ,ghc-attoparsec)))
11533 (home-page "https://github.com/solidsnack/wcwidth/")
11534 (synopsis "Haskell bindings to wcwidth")
11535 (description "This package provides Haskell bindings to your system's
11536native wcwidth and a command line tool to examine the widths assigned by it.
11537The command line tool can compile a width table to Haskell code that assigns
11538widths to the Char type.")
11539 (license license:bsd-3)))
11540
11541(define-public ghc-wcwidth-bootstrap
11542 (package
11543 (inherit ghc-wcwidth)
11544 (name "ghc-wcwidth-bootstrap")
11545 (inputs
11546 `(("ghc-setlocale" ,ghc-setlocale)
11547 ("ghc-utf8-string" ,ghc-utf8-string)
11548 ("ghc-attoparsec" ,ghc-attoparsec-bootstrap)))
799d8d3c 11549 (properties '((hidden? #t)))))
dddbc90c
RV
11550
11551(define-public ghc-weigh
11552 (package
11553 (name "ghc-weigh")
11554 (version "0.0.12")
11555 (source
11556 (origin
11557 (method url-fetch)
11558 (uri (string-append "https://hackage.haskell.org/package/weigh/"
11559 "weigh-" version ".tar.gz"))
11560 (sha256
11561 (base32
11562 "0zw2a997gxgdzqmd7j730kxgynzmjvvlkw84dajmfzf1v9pbij7x"))))
11563 (build-system haskell-build-system)
11564 (inputs
11565 `(("ghc-split" ,ghc-split)
11566 ("ghc-temporary" ,ghc-temporary)))
11567 (home-page "https://github.com/fpco/weigh#readme")
11568 (synopsis "Measure allocations of a Haskell functions/values")
11569 (description "This package provides tools to measure the memory usage of a
11570Haskell value or function.")
11571 (license license:bsd-3)))
11572
11573(define-public ghc-wl-pprint
11574 (package
11575 (name "ghc-wl-pprint")
11576 (version "1.2.1")
11577 (source (origin
11578 (method url-fetch)
11579 (uri (string-append
11580 "https://hackage.haskell.org/package/wl-pprint/wl-pprint-"
11581 version ".tar.gz"))
11582 (sha256
11583 (base32
11584 "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c"))))
11585 (build-system haskell-build-system)
11586 (home-page "https://hackage.haskell.org/package/wl-pprint")
11587 (synopsis "Wadler/Leijen pretty printer")
11588 (description
11589 "This is a pretty printing library based on Wadler's paper @i{A Prettier
11590Printer}. This version allows the library user to declare overlapping
11591instances of the @code{Pretty} class.")
11592 (license license:bsd-3)))
11593
11594(define-public ghc-wl-pprint-annotated
11595 (package
11596 (name "ghc-wl-pprint-annotated")
11597 (version "0.1.0.1")
11598 (source
11599 (origin
11600 (method url-fetch)
11601 (uri (string-append
11602 "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-"
11603 version
11604 ".tar.gz"))
11605 (sha256
11606 (base32
11607 "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb"))))
11608 (build-system haskell-build-system)
11609 (native-inputs
11610 `(("ghc-tasty" ,ghc-tasty)
11611 ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
11612 (home-page
11613 "https://github.com/minad/wl-pprint-annotated#readme")
11614 (synopsis
11615 "Wadler/Leijen pretty printer with annotation support")
11616 (description
11617 "Annotations are useful for coloring. This is a limited version of
11618@code{wl-pprint-extras} without support for point effects and without the free
11619monad. Like in @code{annotated-wl-pprint}, only annotations are supported.
11620Compared to @code{annotated-wl-pprint} this library provides a slightly
11621modernized interface.")
11622 (license license:bsd-3)))
11623
11624(define-public ghc-wl-pprint-text
11625 (package
11626 (name "ghc-wl-pprint-text")
11627 (version "1.2.0.0")
11628 (source
11629 (origin
11630 (method url-fetch)
11631 (uri (string-append
11632 "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-"
11633 version ".tar.gz"))
11634 (sha256
11635 (base32
11636 "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0"))))
11637 (build-system haskell-build-system)
11638 (inputs
11639 `(("ghc-base-compat" ,ghc-base-compat)))
11640 (home-page "https://hackage.haskell.org/package/wl-pprint-text")
11641 (synopsis "Wadler/Leijen Pretty Printer for Text values")
11642 (description
11643 "A clone of wl-pprint for use with the text library.")
11644 (license license:bsd-3)))
11645
11646(define-public ghc-word8
11647 (package
11648 (name "ghc-word8")
11649 (version "0.1.3")
11650 (source
11651 (origin
11652 (method url-fetch)
11653 (uri (string-append
11654 "https://hackage.haskell.org/package/word8/word8-"
11655 version
11656 ".tar.gz"))
11657 (sha256
11658 (base32
11659 "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16"))))
11660 (build-system haskell-build-system)
11661 (native-inputs
11662 `(("ghc-hspec" ,ghc-hspec)
11663 ("hspec-discover" ,hspec-discover)))
11664 (home-page "https://hackage.haskell.org/package/word8")
11665 (synopsis "Word8 library for Haskell")
11666 (description "Word8 library to be used with @code{Data.ByteString}.")
11667 (license license:bsd-3)))
11668
11669(define-public ghc-x11
11670 (package
11671 (name "ghc-x11")
6c4581a3 11672 (version "1.9.1")
dddbc90c
RV
11673 (source
11674 (origin
11675 (method url-fetch)
11676 (uri (string-append "https://hackage.haskell.org/package/X11/"
11677 "X11-" version ".tar.gz"))
11678 (sha256
6c4581a3 11679 (base32 "0gg6852mrlgl8zng1j84fismz7k81jr5fk92glgkscf8q6ryg0bm"))))
dddbc90c
RV
11680 (build-system haskell-build-system)
11681 (inputs
11682 `(("libx11" ,libx11)
11683 ("libxrandr" ,libxrandr)
11684 ("libxinerama" ,libxinerama)
11685 ("libxscrnsaver" ,libxscrnsaver)
11686 ("ghc-data-default" ,ghc-data-default)))
11687 (home-page "https://github.com/haskell-pkg-janitors/X11")
11688 (synopsis "Bindings to the X11 graphics library")
11689 (description
11690 "This package provides Haskell bindings to the X11 graphics library. The
11691bindings are a direct translation of the C bindings.")
11692 (license license:bsd-3)))
11693
11694(define-public ghc-x11-xft
11695 (package
11696 (name "ghc-x11-xft")
11697 (version "0.3.1")
11698 (source
11699 (origin
11700 (method url-fetch)
11701 (uri (string-append "https://hackage.haskell.org/package/X11-xft/"
11702 "X11-xft-" version ".tar.gz"))
11703 (sha256
11704 (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
11705 (inputs
11706 `(("ghc-x11" ,ghc-x11)
11707 ("ghc-utf8-string" ,ghc-utf8-string)
11708 ("libx11" ,libx11)
11709 ("libxft" ,libxft)
11710 ("xorgproto" ,xorgproto)))
11711 (native-inputs
11712 `(("pkg-config" ,pkg-config)))
11713 (build-system haskell-build-system)
11714 (home-page "https://hackage.haskell.org/package/X11-xft")
11715 (synopsis "Bindings to Xft")
11716 (description
11717 "Bindings to the Xft, X Free Type interface library, and some Xrender
11718parts.")
11719 (license license:lgpl2.1)))
11720
11721(define-public ghc-xdg-basedir
11722 (package
11723 (name "ghc-xdg-basedir")
11724 (version "0.2.2")
11725 (source
11726 (origin
11727 (method url-fetch)
11728 (uri (string-append
11729 "https://hackage.haskell.org/package/xdg-basedir/"
11730 "xdg-basedir-" version ".tar.gz"))
11731 (sha256
11732 (base32
11733 "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4"))))
11734 (build-system haskell-build-system)
11735 (home-page "http://github.com/willdonnelly/xdg-basedir")
11736 (synopsis "XDG Base Directory library for Haskell")
11737 (description "This package provides a library implementing the XDG Base Directory spec.")
11738 (license license:bsd-3)))
11739
11740(define-public ghc-xml
11741 (package
11742 (name "ghc-xml")
11743 (version "1.3.14")
11744 (source
11745 (origin
11746 (method url-fetch)
11747 (uri (string-append
11748 "https://hackage.haskell.org/package/xml/xml-"
11749 version
11750 ".tar.gz"))
11751 (sha256
11752 (base32
11753 "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j"))))
11754 (build-system haskell-build-system)
11755 (home-page "http://code.galois.com")
11756 (synopsis "Simple XML library for Haskell")
11757 (description "This package provides a simple XML library for Haskell.")
11758 (license license:bsd-3)))
11759
11760(define-public ghc-xml-conduit
11761 (package
11762 (name "ghc-xml-conduit")
11763 (version "1.8.0.1")
11764 (source
11765 (origin
11766 (method url-fetch)
11767 (uri (string-append "https://hackage.haskell.org/package/xml-conduit/"
11768 "xml-conduit-" version ".tar.gz"))
11769 (sha256
11770 (base32
11771 "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq"))))
11772 (build-system haskell-build-system)
11773 (inputs
11774 `(("ghc-conduit" ,ghc-conduit)
11775 ("ghc-conduit-extra" ,ghc-conduit-extra)
11776 ("ghc-doctest" ,ghc-doctest)
11777 ("ghc-resourcet" ,ghc-resourcet)
11778 ("ghc-xml-types" ,ghc-xml-types)
11779 ("ghc-attoparsec" ,ghc-attoparsec)
11780 ("ghc-data-default-class" ,ghc-data-default-class)
11781 ("ghc-blaze-markup" ,ghc-blaze-markup)
11782 ("ghc-blaze-html" ,ghc-blaze-html)
11783 ("ghc-monad-control" ,ghc-monad-control)
11784 ("ghc-hspec" ,ghc-hspec)
11785 ("ghc-hunit" ,ghc-hunit)))
11786 (home-page "https://github.com/snoyberg/xml")
11787 (synopsis "Utilities for dealing with XML with the conduit package")
11788 (description
11789 "This package provides pure-Haskell utilities for dealing with XML with
11790the @code{conduit} package.")
11791 (license license:expat)))
11792
11793(define-public ghc-xml-types
11794 (package
11795 (name "ghc-xml-types")
11796 (version "0.3.6")
11797 (source
11798 (origin
11799 (method url-fetch)
11800 (uri (string-append "https://hackage.haskell.org/package/xml-types/"
11801 "xml-types-" version ".tar.gz"))
11802 (sha256
11803 (base32
11804 "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr"))))
11805 (build-system haskell-build-system)
11806 (home-page "https://john-millikin.com/software/haskell-xml/")
11807 (synopsis "Basic types for representing XML")
11808 (description "This package provides basic types for representing XML
11809documents.")
11810 (license license:expat)))
11811
11812(define-public ghc-yaml
11813 (package
11814 (name "ghc-yaml")
11815 (version "0.8.32")
11816 (source (origin
11817 (method url-fetch)
11818 (uri (string-append "https://hackage.haskell.org/package/"
11819 "yaml/yaml-" version ".tar.gz"))
11820 (sha256
11821 (base32
11822 "0cbsyh4ilvjzq1q7pxls43k6pdqxg1l85xzibcwpbvmlvrizh86w"))))
11823 (build-system haskell-build-system)
11824 ;; The tests are broken on i686. They are fixed in 0.10.3.0.
11825 ;; See https://github.com/snoyberg/yaml/issues/158
11826 (arguments `(#:tests? #f))
11827 (inputs
11828 `(("ghc-conduit" ,ghc-conduit)
11829 ("ghc-resourcet" ,ghc-resourcet)
11830 ("ghc-aeson" ,ghc-aeson)
11831 ("ghc-unordered-containers" ,ghc-unordered-containers)
11832 ("ghc-vector" ,ghc-vector)
11833 ("ghc-attoparsec" ,ghc-attoparsec)
11834 ("ghc-scientific" ,ghc-scientific)
11835 ("ghc-semigroups" ,ghc-semigroups)
11836 ("ghc-temporary" ,ghc-temporary)
11837 ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions)
11838 ("ghc-base-compat" ,ghc-base-compat)))
11839 (native-inputs
11840 `(("ghc-hspec" ,ghc-hspec)
11841 ("ghc-hunit" ,ghc-hunit)
11842 ("hspec-discover" ,hspec-discover)
11843 ("ghc-mockery" ,ghc-mockery)))
11844 (home-page "https://github.com/snoyberg/yaml/")
11845 (synopsis "Parsing and rendering YAML documents")
11846 (description
11847 "This package provides a library to parse and render YAML documents.")
11848 (license license:bsd-3)))
11849
11850(define-public ghc-zip-archive
11851 (package
11852 (name "ghc-zip-archive")
11853 (version "0.3.3")
11854 (source
11855 (origin
11856 (method url-fetch)
11857 (uri (string-append
11858 "https://hackage.haskell.org/package/zip-archive/zip-archive-"
11859 version
11860 ".tar.gz"))
11861 (sha256
11862 (base32
11863 "0kf8xyac168bng8a0za2jwrbss7a4ralvci9g54hnvl0gkkxx2lq"))))
11864 (build-system haskell-build-system)
11865 (inputs
11866 `(("ghc-digest" ,ghc-digest)
11867 ("ghc-temporary" ,ghc-temporary)
11868 ("ghc-zlib" ,ghc-zlib)))
11869 (native-inputs
11870 `(("ghc-hunit" ,ghc-hunit)
11871 ("unzip" ,unzip)))
11872 (home-page "https://hackage.haskell.org/package/zip-archive")
11873 (synopsis "Zip archive library for Haskell")
11874 (description "The zip-archive library provides functions for creating,
11875modifying, and extracting files from zip archives in Haskell.")
11876 (license license:bsd-3)))
11877
11878(define-public ghc-zlib
11879 (package
11880 (name "ghc-zlib")
11881 (version "0.6.2")
11882 (outputs '("out" "doc"))
11883 (source
11884 (origin
11885 (method url-fetch)
11886 (uri (string-append
11887 "https://hackage.haskell.org/package/zlib/zlib-"
11888 version
11889 ".tar.gz"))
11890 (sha256
11891 (base32
11892 "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d"))))
11893 (build-system haskell-build-system)
11894 (arguments
11895 `(#:phases
11896 (modify-phases %standard-phases
11897 (add-before 'configure 'strip-test-framework-constraints
11898 (lambda _
11899 (substitute* "zlib.cabal"
11900 (("tasty >= 0\\.8 && < 0\\.12") "tasty")
11901 (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit")
11902 (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
11903 (inputs `(("zlib" ,zlib)))
11904 (native-inputs
11905 `(("ghc-quickcheck" ,ghc-quickcheck)
11906 ("ghc-tasty" ,ghc-tasty)
11907 ("ghc-tasty-hunit" ,ghc-tasty-hunit)
11908 ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
11909 (home-page "https://hackage.haskell.org/package/zlib")
11910 (synopsis
11911 "Compression and decompression in the gzip and zlib formats")
11912 (description
11913 "This package provides a pure interface for compressing and decompressing
11914streams of data represented as lazy @code{ByteString}s. It uses the zlib C
11915library so it has high performance. It supports the @code{zlib}, @code{gzip}
11916and @code{raw} compression formats. It provides a convenient high level API
11917suitable for most tasks and for the few cases where more control is needed it
11918provides access to the full zlib feature set.")
bbf8bf31 11919 (license license:bsd-3)))
14e41996
RV
11920
11921(define-public ghc-zlib-bindings
11922 (package
11923 (name "ghc-zlib-bindings")
11924 (version "0.1.1.5")
11925 (source
11926 (origin
11927 (method url-fetch)
11928 (uri (string-append "https://hackage.haskell.org/package/"
11929 "zlib-bindings/zlib-bindings-" version ".tar.gz"))
11930 (sha256
11931 (base32
11932 "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8"))))
11933 (build-system haskell-build-system)
11934 (inputs
11935 `(("ghc-zlib" ,ghc-zlib)))
11936 (native-inputs
11937 `(("ghc-hspec" ,ghc-hspec)
11938 ("ghc-quickcheck" ,ghc-quickcheck)))
11939 (arguments
11940 `(#:cabal-revision
11941 ("2" "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc")))
11942 (home-page "https://github.com/snapframework/zlib-bindings")
11943 (synopsis "Low-level bindings to the @code{zlib} package")
11944 (description "This package provides low-level bindings to the
11945@code{zlib} package.")
11946 (license license:bsd-3)))