Commit | Line | Data |
---|---|---|
6b34d01c | 1 | ;;; GNU Guix --- Functional package management for GNU |
dddbc90c RV |
2 | ;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch> |
3 | ;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu> | |
4 | ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org> | |
5 | ;;; Copyright © 2015, 2019 Eric Bavier <bavier@member.fsf.org> | |
6 | ;;; Copyright © 2016, 2018, 2019 Ludovic Courtès <ludo@gnu.org> | |
3c986a7d | 7 | ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is> |
799d8d3c | 8 | ;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il> |
dddbc90c RV |
9 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net> |
10 | ;;; Copyright © 2016, 2017 David Craven <david@craven.ch> | |
11 | ;;; Copyright © 2017 Danny Milosavljevic <dannym@scratchpost.org> | |
12 | ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com> | |
13 | ;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com> | |
14 | ;;; Copyright © 2017 rsiddharth <s@ricketyspace.net> | |
15 | ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> | |
16 | ;;; Copyright © 2018 Tonton <tonton@riseup.net> | |
17 | ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com> | |
18 | ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net> | |
19 | ;;; Copyright © 2018, 2019 Gabriel Hondet <gabrielhondet@gmail.com> | |
6b34d01c | 20 | ;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net> |
dddbc90c | 21 | ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com> |
82c36002 | 22 | ;;; Copyright © 2019,2020 John Soo <jsoo1@asu.edu> |
7f89dfc9 | 23 | ;;; Copyright © 2019, 2020 Kyle Meyer <kyle@kyleam.com> |
9ad9ec2e | 24 | ;;; Copyright © 2019 Alex Griffin <a@ajgrf.com> |
4639fa32 | 25 | ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org> |
84436be0 | 26 | ;;; Copyright © 2020 JoJo <jo@jo.zone> |
3f3b8e1a | 27 | ;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
fbe32d46 | 28 | ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@member.fsf.org> |
7f2a5650 | 29 | ;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com> |
c00d001d | 30 | ;;; Copyright © 2020 Christopher Lemmer Webber <cwebber@dustycloud.org> |
6b34d01c RV |
31 | ;;; |
32 | ;;; This file is part of GNU Guix. | |
33 | ;;; | |
34 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
35 | ;;; under the terms of the GNU General Public License as published by | |
36 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
37 | ;;; your option) any later version. | |
38 | ;;; | |
39 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
40 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
41 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
42 | ;;; GNU General Public License for more details. | |
43 | ;;; | |
44 | ;;; You should have received a copy of the GNU General Public License | |
45 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
46 | ||
47 | (define-module (gnu packages haskell-xyz) | |
48 | #:use-module (gnu packages) | |
dddbc90c RV |
49 | #:use-module (gnu packages base) |
50 | #:use-module (gnu packages compression) | |
51 | #:use-module (gnu packages emacs) | |
dddbc90c RV |
52 | #:use-module (gnu packages gl) |
53 | #:use-module (gnu packages graphviz) | |
54 | #:use-module (gnu packages gtk) | |
d4e4a382 | 55 | #:use-module (gnu packages haskell) |
dddbc90c | 56 | #:use-module (gnu packages haskell-apps) |
efb96749 | 57 | #:use-module (gnu packages haskell-check) |
dddbc90c RV |
58 | #:use-module (gnu packages haskell-crypto) |
59 | #:use-module (gnu packages haskell-web) | |
60 | #:use-module (gnu packages libffi) | |
61 | #:use-module (gnu packages linux) | |
e3ee8023 | 62 | #:use-module (gnu packages llvm) |
dddbc90c RV |
63 | #:use-module (gnu packages lua) |
64 | #:use-module (gnu packages maths) | |
49e29df5 | 65 | #:use-module (gnu packages ncurses) |
dddbc90c RV |
66 | #:use-module (gnu packages pcre) |
67 | #:use-module (gnu packages pkg-config) | |
68 | #:use-module (gnu packages sdl) | |
0c2d6fc2 | 69 | #:use-module (gnu packages web) |
dddbc90c RV |
70 | #:use-module (gnu packages xml) |
71 | #:use-module (gnu packages xorg) | |
6b34d01c RV |
72 | #:use-module (guix build-system haskell) |
73 | #:use-module (guix download) | |
dddbc90c | 74 | #:use-module (guix git-download) |
4780db2c | 75 | #:use-module (guix utils) |
6b34d01c | 76 | #:use-module ((guix licenses) #:prefix license:) |
d4e4a382 RW |
77 | #:use-module (guix packages) |
78 | #:use-module (srfi srfi-1)) | |
6b34d01c | 79 | |
dddbc90c | 80 | (define-public ghc-abstract-deque |
efb96749 | 81 | (package |
dddbc90c RV |
82 | (name "ghc-abstract-deque") |
83 | (version "0.3") | |
efb96749 RV |
84 | (source |
85 | (origin | |
86 | (method url-fetch) | |
87 | (uri (string-append "https://hackage.haskell.org/package/" | |
dddbc90c RV |
88 | "abstract-deque-" version "/" |
89 | "abstract-deque-" version ".tar.gz")) | |
efb96749 RV |
90 | (sha256 |
91 | (base32 | |
dddbc90c | 92 | "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9")))) |
efb96749 | 93 | (build-system haskell-build-system) |
dddbc90c RV |
94 | (inputs `(("ghc-random" ,ghc-random))) |
95 | (home-page "https://github.com/rrnewton/haskell-lockfree/wiki") | |
96 | (synopsis "Abstract, parameterized interface to mutable Deques for Haskell") | |
97 | (description "This Haskell package provides an abstract interface to | |
98 | highly-parameterizable queues/deques. | |
99 | ||
100 | Background: There exists a feature space for queues that extends between: | |
efb96749 RV |
101 | |
102 | @itemize | |
dddbc90c RV |
103 | @item Simple, single-ended, non-concurrent, bounded queues |
104 | ||
105 | @item Double-ended, thread-safe, growable queues with important points | |
106 | in between (such as the queues used for work stealing). | |
efb96749 RV |
107 | @end itemize |
108 | ||
dddbc90c RV |
109 | This package includes an interface for Deques that allows the programmer |
110 | to use a single API for all of the above, while using the type system to | |
111 | select an efficient implementation given the requirements (using type families). | |
efb96749 | 112 | |
dddbc90c RV |
113 | This package also includes a simple reference implementation based on |
114 | @code{IORef} and @code{Data.Sequence}.") | |
efb96749 RV |
115 | (license license:bsd-3))) |
116 | ||
dddbc90c | 117 | (define-public ghc-abstract-par |
658dbc7f | 118 | (package |
dddbc90c RV |
119 | (name "ghc-abstract-par") |
120 | (version "0.3.3") | |
658dbc7f RV |
121 | (source |
122 | (origin | |
123 | (method url-fetch) | |
124 | (uri (string-append "https://hackage.haskell.org/package/" | |
dddbc90c RV |
125 | "abstract-par-" version "/" |
126 | "abstract-par-" version ".tar.gz")) | |
658dbc7f RV |
127 | (sha256 |
128 | (base32 | |
dddbc90c RV |
129 | "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4")))) |
130 | (build-system haskell-build-system) | |
131 | (home-page "https://github.com/simonmar/monad-par") | |
132 | (synopsis "Abstract parallelization interface for Haskell") | |
133 | (description "This Haskell package is an abstract interface | |
134 | only. It provides a number of type clasess, but not an | |
135 | implementation. The type classes separate different levels | |
136 | of @code{Par} functionality. See the @code{Control.Monad.Par.Class} | |
137 | module for more details.") | |
138 | (license license:bsd-3))) | |
139 | ||
d8b88d74 TS |
140 | (define-public ghc-active |
141 | (package | |
142 | (name "ghc-active") | |
143 | (version "0.2.0.14") | |
144 | (source | |
145 | (origin | |
146 | (method url-fetch) | |
147 | (uri (string-append "https://hackage.haskell.org/package/" | |
148 | "active/active-" version ".tar.gz")) | |
149 | (sha256 | |
150 | (base32 | |
151 | "0x3b4ln6csa554qls28wbxvclkbdz3yi60i1m0q5ing0cs16fifz")))) | |
152 | (build-system haskell-build-system) | |
153 | (inputs | |
154 | `(("ghc-vector" ,ghc-vector) | |
155 | ("ghc-semigroups" ,ghc-semigroups) | |
156 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
157 | ("ghc-lens" ,ghc-lens) | |
158 | ("ghc-linear" ,ghc-linear))) | |
159 | (native-inputs | |
160 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
161 | (home-page "https://hackage.haskell.org/package/active") | |
162 | (synopsis "Abstractions for animation") | |
163 | (description "This package defines an @code{Active} abstraction for | |
164 | time-varying values with finite start and end times. It is used for | |
165 | describing animations within the | |
166 | @url{https://archives.haskell.org/projects.haskell.org/diagrams/, | |
167 | diagrams framework}.") | |
168 | (license license:bsd-3))) | |
169 | ||
dddbc90c RV |
170 | (define-public ghc-adjunctions |
171 | (package | |
172 | (name "ghc-adjunctions") | |
173 | (version "4.4") | |
174 | (source | |
175 | (origin | |
176 | (method url-fetch) | |
177 | (uri (string-append | |
178 | "https://hackage.haskell.org/package/adjunctions/adjunctions-" | |
179 | version | |
180 | ".tar.gz")) | |
181 | (sha256 | |
182 | (base32 | |
183 | "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h")))) | |
658dbc7f | 184 | (build-system haskell-build-system) |
a78262be TS |
185 | (arguments |
186 | `(#:cabal-revision | |
187 | ("2" "1yfsjx7dqikg3hvld7i91xfsg5lawmr5980lvfd794sybmgxsf17"))) | |
658dbc7f | 188 | (inputs |
dddbc90c RV |
189 | `(("ghc-profunctors" ,ghc-profunctors) |
190 | ("ghc-comonad" ,ghc-comonad) | |
191 | ("ghc-contravariant" ,ghc-contravariant) | |
192 | ("ghc-distributive" ,ghc-distributive) | |
193 | ("ghc-free" ,ghc-free) | |
194 | ("ghc-tagged" ,ghc-tagged) | |
195 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
196 | ("ghc-semigroups" ,ghc-semigroups) | |
197 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
198 | ("ghc-void" ,ghc-void))) | |
658dbc7f | 199 | (native-inputs |
dddbc90c RV |
200 | `(("ghc-generic-deriving" ,ghc-generic-deriving) |
201 | ("ghc-hspec" ,ghc-hspec) | |
202 | ("hspec-discover" ,hspec-discover))) | |
203 | (home-page "https://github.com/ekmett/adjunctions/") | |
204 | (synopsis "Adjunctions and representable functors") | |
205 | (description "This library provides adjunctions and representable functors | |
206 | for Haskell.") | |
207 | (license license:bsd-3))) | |
208 | ||
209 | (define-public ghc-aeson-compat | |
210 | (package | |
211 | (name "ghc-aeson-compat") | |
0bafb755 | 212 | (version "0.3.9") |
dddbc90c RV |
213 | (source |
214 | (origin | |
215 | (method url-fetch) | |
216 | (uri (string-append "https://hackage.haskell.org/package/" | |
217 | "aeson-compat-" version "/" | |
218 | "aeson-compat-" version ".tar.gz")) | |
219 | (sha256 | |
220 | (base32 | |
0bafb755 | 221 | "1j13gykv4ryvmr14w5blz0nnpdb4p0hpa27wahw3mhb1lwdr8hz0")))) |
dddbc90c RV |
222 | (build-system haskell-build-system) |
223 | (arguments `(#:tests? #f)) ; FIXME: Tests require QuickCheck >= 2.10 | |
224 | (inputs `(("ghc-base-compat" ,ghc-base-compat) | |
225 | ("ghc-aeson" ,ghc-aeson) | |
226 | ("ghc-attoparsec" ,ghc-attoparsec) | |
227 | ("ghc-attoparsec" ,ghc-attoparsec-iso8601) | |
228 | ("ghc-exceptions" ,ghc-exceptions) | |
229 | ("ghc-hashable" ,ghc-hashable) | |
230 | ("ghc-scientific" ,ghc-scientific) | |
231 | ("ghc-time-locale-compat" ,ghc-time-locale-compat) | |
232 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
233 | ("ghc-vector" ,ghc-vector) | |
234 | ("ghc-tagged" ,ghc-tagged) | |
235 | ("ghc-semigroups" ,ghc-semigroups) | |
236 | ("ghc-nats" ,ghc-nats))) | |
237 | (home-page "https://github.com/phadej/aeson-compat") | |
238 | (synopsis "Compatibility layer for ghc-aeson") | |
239 | (description "This Haskell package provides compatibility layer for | |
240 | ghc-aeson.") | |
241 | (license license:bsd-3))) | |
242 | ||
cbc6f861 TS |
243 | (define-public ghc-aeson-diff |
244 | (package | |
245 | (name "ghc-aeson-diff") | |
246 | (version "1.1.0.7") | |
247 | (source | |
248 | (origin | |
249 | (method url-fetch) | |
250 | (uri (string-append "https://hackage.haskell.org/package/" | |
251 | "aeson-diff/aeson-diff-" version ".tar.gz")) | |
252 | (sha256 | |
253 | (base32 | |
254 | "01d48pd7d1mb9cd5yxfajln8rmjdjq8ch91s0lav4qw1azv6vp2r")))) | |
255 | (build-system haskell-build-system) | |
256 | (inputs | |
257 | `(("ghc-aeson" ,ghc-aeson) | |
258 | ("ghc-edit-distance-vector" ,ghc-edit-distance-vector) | |
259 | ("ghc-hashable" ,ghc-hashable) | |
260 | ("ghc-scientific" ,ghc-scientific) | |
261 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
262 | ("ghc-vector" ,ghc-vector) | |
263 | ("ghc-semigroups" ,ghc-semigroups) | |
264 | ("ghc-optparse-applicative" ,ghc-optparse-applicative))) | |
265 | (native-inputs | |
266 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
267 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
268 | ("ghc-glob" ,ghc-glob) | |
269 | ("ghc-quickcheck" ,ghc-quickcheck) | |
270 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
271 | ("ghc-quickcheck" ,ghc-quickcheck) | |
272 | ("ghc-doctest" ,ghc-doctest) | |
273 | ("hlint" ,hlint))) | |
274 | (home-page "https://github.com/thsutton/aeson-diff") | |
275 | (synopsis "Extract and apply patches to JSON documents") | |
276 | (description "This is a small library for working with changes to JSON | |
277 | documents. It includes a library and two command-line executables in the | |
278 | style of the @command{diff} and @command{patch} commands available on many | |
279 | systems.") | |
280 | (license license:bsd-3))) | |
281 | ||
dddbc90c RV |
282 | (define-public ghc-alex |
283 | (package | |
284 | (name "ghc-alex") | |
285 | (version "3.2.4") | |
286 | (source | |
287 | (origin | |
288 | (method url-fetch) | |
289 | (uri (string-append | |
290 | "https://hackage.haskell.org/package/alex/alex-" | |
291 | version | |
292 | ".tar.gz")) | |
293 | (sha256 | |
294 | (base32 | |
295 | "0cpjixgsr0b2x4s6hz4aa6gnmjw9i7xd9nlfi8m37zqlidq4v3nm")))) | |
296 | (build-system haskell-build-system) | |
658dbc7f | 297 | (arguments |
dddbc90c RV |
298 | `(#:phases |
299 | (modify-phases %standard-phases | |
300 | (add-before 'check 'set-check-variables | |
301 | (lambda _ | |
302 | (setenv "PATH" (string-append (getcwd) "/dist/build/alex:" | |
303 | (getenv "PATH"))) | |
304 | (setenv "alex_datadir" (string-append (getcwd) "/data")) | |
305 | #t))))) | |
306 | (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) | |
307 | (native-inputs | |
308 | `(("which" ,which))) | |
309 | (home-page "https://www.haskell.org/alex/") | |
310 | (synopsis | |
311 | "Tool for generating lexical analysers in Haskell") | |
312 | (description | |
313 | "Alex is a tool for generating lexical analysers in Haskell. It takes a | |
314 | description of tokens based on regular expressions and generates a Haskell | |
315 | module containing code for scanning text efficiently. It is similar to the | |
316 | tool lex or flex for C/C++.") | |
658dbc7f RV |
317 | (license license:bsd-3))) |
318 | ||
dddbc90c | 319 | (define-public ghc-alsa-core |
7b01a977 | 320 | (package |
dddbc90c RV |
321 | (name "ghc-alsa-core") |
322 | (version "0.5.0.1") | |
323 | (source | |
324 | (origin | |
325 | (method url-fetch) | |
326 | (uri (string-append | |
327 | "mirror://hackage/package/alsa-core/alsa-core-" | |
328 | version | |
329 | ".tar.gz")) | |
330 | (sha256 | |
331 | (base32 | |
332 | "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b")))) | |
333 | (build-system haskell-build-system) | |
54a5fd07 TS |
334 | (arguments |
335 | `(#:extra-directories ("alsa-lib"))) | |
dddbc90c RV |
336 | (inputs |
337 | `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions) | |
338 | ("alsa-lib" ,alsa-lib))) | |
339 | (native-inputs | |
340 | `(("pkg-config" ,pkg-config))) | |
228d2901 | 341 | (home-page "https://wiki.haskell.org/ALSA") |
dddbc90c RV |
342 | (synopsis "Binding to the ALSA Library API (Exceptions)") |
343 | (description "This package provides access to ALSA infrastructure, that is | |
344 | needed by both alsa-seq and alsa-pcm.") | |
345 | (license license:bsd-3))) | |
346 | ||
f2ed1e6d JS |
347 | (define-public ghc-alsa-mixer |
348 | (package | |
349 | (name "ghc-alsa-mixer") | |
350 | (version "0.3.0") | |
351 | (source | |
352 | (origin | |
353 | (method url-fetch) | |
354 | (uri | |
355 | (string-append | |
356 | "mirror://hackage/package/alsa-mixer/alsa-mixer-" | |
357 | version ".tar.gz")) | |
358 | (sha256 | |
359 | (base32 | |
360 | "00ny2p3276jilidjs44npc8zmbhynz3f2lpmlwwl6swwx5yijsnb")))) | |
361 | (build-system haskell-build-system) | |
362 | (inputs `(("ghc-alsa-core" ,ghc-alsa-core))) | |
363 | (native-inputs `(("ghc-c2hs" ,ghc-c2hs))) | |
364 | (home-page "https://github.com/ttuegel/alsa-mixer") | |
365 | (synopsis "Bindings to the ALSA simple mixer API") | |
366 | (description | |
367 | "This package provides bindings to the ALSA simple mixer API.") | |
368 | (license license:bsd-3))) | |
369 | ||
dddbc90c RV |
370 | (define-public ghc-annotated-wl-pprint |
371 | (package | |
372 | (name "ghc-annotated-wl-pprint") | |
373 | (version "0.7.0") | |
374 | (source | |
375 | (origin | |
376 | (method url-fetch) | |
377 | (uri (string-append | |
378 | "https://hackage.haskell.org/package/annotated-wl-pprint" | |
379 | "/annotated-wl-pprint-" version | |
380 | ".tar.gz")) | |
381 | (sha256 | |
382 | (base32 | |
383 | "061xfz6qany3wf95csl8dcik2pz22cn8iv1qchhm16isw5zjs9hc")))) | |
384 | (build-system haskell-build-system) | |
385 | (home-page | |
386 | "https://github.com/david-christiansen/annotated-wl-pprint") | |
387 | (synopsis | |
388 | "The Wadler/Leijen Pretty Printer, with annotation support") | |
389 | (description "This is a modified version of wl-pprint, which was based on | |
390 | Wadler's paper \"A Prettier Printer\". This version allows the library user | |
391 | to annotate the text with semantic information, which can later be rendered in | |
392 | a variety of ways.") | |
393 | (license license:bsd-3))) | |
394 | ||
395 | (define-public ghc-ansi-terminal | |
396 | (package | |
397 | (name "ghc-ansi-terminal") | |
f1b4a73f | 398 | (version "0.9.1") |
dddbc90c RV |
399 | (source |
400 | (origin | |
401 | (method url-fetch) | |
402 | (uri (string-append | |
403 | "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-" | |
404 | version | |
405 | ".tar.gz")) | |
406 | (sha256 | |
407 | (base32 | |
f1b4a73f | 408 | "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l")))) |
dddbc90c RV |
409 | (build-system haskell-build-system) |
410 | (inputs | |
411 | `(("ghc-colour" ,ghc-colour))) | |
412 | (home-page "https://github.com/feuerbach/ansi-terminal") | |
413 | (synopsis "ANSI terminal support for Haskell") | |
414 | (description "This package provides ANSI terminal support for Haskell. It | |
415 | allows cursor movement, screen clearing, color output showing or hiding the | |
416 | cursor, and changing the title.") | |
417 | (license license:bsd-3))) | |
418 | ||
419 | (define-public ghc-ansi-wl-pprint | |
420 | (package | |
421 | (name "ghc-ansi-wl-pprint") | |
c38746eb | 422 | (version "0.6.9") |
7b01a977 RV |
423 | (source |
424 | (origin | |
425 | (method url-fetch) | |
426 | (uri (string-append "https://hackage.haskell.org/package/" | |
dddbc90c | 427 | "ansi-wl-pprint/ansi-wl-pprint-" |
7b01a977 RV |
428 | version ".tar.gz")) |
429 | (sha256 | |
430 | (base32 | |
c38746eb | 431 | "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7")))) |
7b01a977 RV |
432 | (build-system haskell-build-system) |
433 | (inputs | |
dddbc90c RV |
434 | `(("ghc-ansi-terminal" ,ghc-ansi-terminal))) |
435 | (home-page "https://github.com/ekmett/ansi-wl-pprint") | |
436 | (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output") | |
437 | (description "This is a pretty printing library based on Wadler's paper | |
438 | \"A Prettier Printer\". It has been enhanced with support for ANSI terminal | |
439 | colored output using the ansi-terminal package.") | |
440 | (license license:bsd-3))) | |
441 | ||
442 | (define-public ghc-appar | |
443 | (package | |
444 | (name "ghc-appar") | |
1159d1a5 | 445 | (version "0.1.8") |
dddbc90c RV |
446 | (source |
447 | (origin | |
448 | (method url-fetch) | |
449 | (uri (string-append | |
450 | "https://hackage.haskell.org/package/appar/appar-" | |
451 | version | |
452 | ".tar.gz")) | |
453 | (sha256 | |
454 | (base32 | |
1159d1a5 | 455 | "07v3h766q9mnhphsm53718h1lds147ix7dj15kc5hnsj4vffvkn4")))) |
dddbc90c RV |
456 | (build-system haskell-build-system) |
457 | (home-page | |
458 | "https://hackage.haskell.org/package/appar") | |
459 | (synopsis "Simple applicative parser") | |
460 | (description "This package provides a simple applicative parser in Parsec | |
461 | style.") | |
462 | (license license:bsd-3))) | |
463 | ||
af369394 JS |
464 | (define-public ghc-assoc |
465 | (package | |
466 | (name "ghc-assoc") | |
467 | (version "1.0.1") | |
468 | (source | |
469 | (origin | |
470 | (method url-fetch) | |
471 | (uri (string-append | |
472 | "https://hackage.haskell.org/package/assoc/assoc-" | |
473 | version | |
474 | ".tar.gz")) | |
475 | (sha256 | |
476 | (base32 | |
477 | "1m9n4vp190bvn2wcrd4ggfwa9pi93jp0zgx02mdgywn2zfidw020")))) | |
478 | (build-system haskell-build-system) | |
479 | (inputs | |
480 | `(("ghc-bifunctors" ,ghc-bifunctors) | |
481 | ("ghc-tagged" ,ghc-tagged))) | |
482 | (home-page | |
483 | "http://hackage.haskell.org/package/assoc") | |
484 | (synopsis | |
485 | "Swap and assoc: Symmetric and Semigroupy Bifunctors") | |
486 | (description | |
487 | "Provides generalisations of @code{swap :: (a,b) -> (b,a)} and | |
488 | @code{assoc :: ((a,b),c) -> (a,(b,c))} to @code{Bifunctor}s supporting | |
489 | similar operations (e.g. @code{Either}, @code{These}).") | |
490 | (license license:bsd-3))) | |
491 | ||
dddbc90c RV |
492 | (define-public ghc-async |
493 | (package | |
494 | (name "ghc-async") | |
048ef066 | 495 | (version "2.2.2") |
dddbc90c RV |
496 | (source |
497 | (origin | |
498 | (method url-fetch) | |
499 | (uri (string-append | |
500 | "https://hackage.haskell.org/package/async/async-" | |
501 | version | |
502 | ".tar.gz")) | |
503 | (sha256 | |
504 | (base32 | |
048ef066 | 505 | "1zxvfcyy4sg8lmzphi5dgnavksj5pav6rbvd5kc48lf4hanb2jjb")))) |
dddbc90c RV |
506 | (build-system haskell-build-system) |
507 | (inputs | |
508 | `(("ghc-hashable" ,ghc-hashable) | |
509 | ("ghc-hunit" ,ghc-hunit) | |
7b01a977 RV |
510 | ("ghc-test-framework" ,ghc-test-framework) |
511 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
dddbc90c RV |
512 | (home-page "https://github.com/simonmar/async") |
513 | (synopsis "Library to run IO operations asynchronously") | |
514 | (description "Async provides a library to run IO operations | |
515 | asynchronously, and wait for their results. It is a higher-level interface | |
516 | over threads in Haskell, in which @code{Async a} is a concurrent thread that | |
517 | will eventually deliver a value of type @code{a}.") | |
7b01a977 RV |
518 | (license license:bsd-3))) |
519 | ||
9ad9ec2e AG |
520 | (define-public ghc-atomic-primops |
521 | (package | |
522 | (name "ghc-atomic-primops") | |
af16c6b0 | 523 | (version "0.8.3") |
9ad9ec2e AG |
524 | (source |
525 | (origin | |
526 | (method url-fetch) | |
527 | (uri (string-append "https://hackage.haskell.org/package/atomic-primops" | |
528 | "/atomic-primops-" version ".tar.gz")) | |
529 | (sha256 | |
530 | (base32 | |
af16c6b0 | 531 | "03n5dmyplrqgbyf8dr91izkxci7gkl3i3fnp82i5ld869zrgjfh0")))) |
9ad9ec2e AG |
532 | (build-system haskell-build-system) |
533 | (inputs `(("ghc-primitive" ,ghc-primitive))) | |
534 | (home-page "https://github.com/rrnewton/haskell-lockfree/wiki") | |
535 | (synopsis "Safe approach to CAS and other atomic ops") | |
536 | (description | |
537 | "GHC 7.4 introduced a new @code{casMutVar} PrimOp which is difficult to | |
538 | use safely, because pointer equality is a highly unstable property in Haskell. | |
539 | This library provides a safer method based on the concept of @code{Ticket}s.") | |
540 | (license license:bsd-3))) | |
541 | ||
dddbc90c | 542 | (define-public ghc-atomic-write |
79fcc5e5 | 543 | (package |
dddbc90c | 544 | (name "ghc-atomic-write") |
c09d1e62 | 545 | (version "0.2.0.6") |
79fcc5e5 RV |
546 | (source |
547 | (origin | |
548 | (method url-fetch) | |
dddbc90c RV |
549 | (uri (string-append |
550 | "https://hackage.haskell.org/package/atomic-write/atomic-write-" | |
551 | version | |
552 | ".tar.gz")) | |
79fcc5e5 RV |
553 | (sha256 |
554 | (base32 | |
c09d1e62 | 555 | "1xs3shwnlj8hmnm3q6jc8nv78z0481i5n4hrqqdmbpx8grvlnqyl")))) |
dddbc90c RV |
556 | (build-system haskell-build-system) |
557 | (inputs | |
558 | `(("ghc-temporary" ,ghc-temporary) | |
559 | ("ghc-unix-compat" ,ghc-unix-compat))) | |
560 | (native-inputs | |
561 | `(("ghc-temporary" ,ghc-temporary) | |
562 | ("ghc-unix-compat" ,ghc-unix-compat) | |
563 | ("ghc-hspec" ,ghc-hspec) | |
564 | ("hspec-discover" ,hspec-discover))) | |
565 | (home-page "https://github.com/stackbuilders/atomic-write") | |
566 | (synopsis "Atomically write to a file") | |
567 | (description | |
568 | "Atomically write to a file on POSIX-compliant systems while preserving | |
569 | permissions. @code{mv} is an atomic operation. This makes it simple to write | |
570 | to a file atomically just by using the @code{mv} operation. However, this | |
571 | will destroy the permissions on the original file. This library preserves | |
572 | permissions while atomically writing to a file.") | |
573 | (license license:expat))) | |
574 | ||
b7250901 JS |
575 | (define-public ghc-atomic-write-0.2.0.7 |
576 | (package | |
577 | (inherit ghc-atomic-write) | |
578 | (version "0.2.0.7") | |
579 | (source | |
580 | (origin | |
581 | (inherit (package-source ghc-atomic-write)) | |
582 | (uri (string-append | |
583 | "https://hackage.haskell.org/package/atomic-write/atomic-write-" | |
584 | version | |
585 | ".tar.gz")) | |
586 | (sha256 | |
587 | (base32 | |
588 | "03cn3ii74h0w3g4h78xsx9v2sn58r3qsr2dbdwq340xwhiwcgxdm")))))) | |
589 | ||
dddbc90c RV |
590 | (define-public ghc-attoparsec |
591 | (package | |
592 | (name "ghc-attoparsec") | |
511c3204 | 593 | (version "0.13.2.3") |
dddbc90c RV |
594 | (source |
595 | (origin | |
596 | (method url-fetch) | |
597 | (uri (string-append | |
598 | "https://hackage.haskell.org/package/attoparsec/attoparsec-" | |
599 | version | |
600 | ".tar.gz")) | |
601 | (sha256 | |
602 | (base32 | |
511c3204 | 603 | "1ngjn9h5n0vyki0m2jir4mg85875ysswy9hznpmj1r856mqwc6ix")))) |
79fcc5e5 | 604 | (build-system haskell-build-system) |
79fcc5e5 | 605 | (arguments |
dddbc90c RV |
606 | `(#:phases |
607 | (modify-phases %standard-phases | |
608 | (add-after 'unpack 'patch-for-newer-quickcheck | |
609 | (lambda _ | |
610 | (substitute* "attoparsec.cabal" | |
611 | (("QuickCheck >= 2\\.7 && < 2\\.10") | |
612 | "QuickCheck >= 2.7 && < 2.12")) | |
613 | ;; This test fails because of the newer QuickCheck: | |
614 | ;; <https://github.com/bos/attoparsec/issues/134>. | |
615 | (substitute* "tests/QC/ByteString.hs" | |
616 | ((", testProperty \"satisfyWith\" satisfyWith") | |
617 | ""))))))) | |
618 | (inputs | |
619 | `(("ghc-scientific" ,ghc-scientific))) | |
620 | (native-inputs | |
621 | `(("ghc-tasty" ,ghc-tasty) | |
622 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
623 | ("ghc-quickcheck" ,ghc-quickcheck) | |
624 | ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode) | |
625 | ("ghc-vector" ,ghc-vector))) | |
626 | (home-page "https://github.com/bos/attoparsec") | |
627 | (synopsis "Fast combinator parsing for bytestrings and text") | |
628 | (description "This library provides a fast parser combinator library, | |
629 | aimed particularly at dealing efficiently with network protocols and | |
630 | complicated text/binary file formats.") | |
79fcc5e5 RV |
631 | (license license:bsd-3))) |
632 | ||
dddbc90c | 633 | (define-public ghc-attoparsec-bootstrap |
6b34d01c | 634 | (package |
dddbc90c RV |
635 | (inherit ghc-attoparsec) |
636 | (name "ghc-attoparsec-bootstrap") | |
637 | (arguments `(#:tests? #f)) | |
638 | (inputs | |
639 | `(("ghc-scientific" ,ghc-scientific-bootstrap))) | |
640 | (native-inputs '()) | |
799d8d3c | 641 | (properties '((hidden? #t))))) |
dddbc90c RV |
642 | |
643 | (define-public ghc-attoparsec-iso8601 | |
644 | (package | |
645 | (name "ghc-attoparsec-iso8601") | |
97f267c8 | 646 | (version "1.0.1.0") |
6b34d01c RV |
647 | (source |
648 | (origin | |
649 | (method url-fetch) | |
650 | (uri (string-append "https://hackage.haskell.org/package/" | |
dddbc90c RV |
651 | "attoparsec-iso8601-" version "/" |
652 | "attoparsec-iso8601-" version ".tar.gz")) | |
6b34d01c RV |
653 | (sha256 |
654 | (base32 | |
97f267c8 | 655 | "0hj10w15qp2z5bz2v4xahhmbgzclpyfi5l2sv97wqycysg9gp7s9")))) |
6b34d01c | 656 | (build-system haskell-build-system) |
dddbc90c RV |
657 | (arguments |
658 | `(#:cabal-revision | |
97f267c8 | 659 | ("1" "1rjhscmczgs1bwyqx7lvkm8py3ylxjd2797mrzgnq60fvm292750"))) |
dddbc90c RV |
660 | (inputs `(("ghc-attoparsec" ,ghc-attoparsec) |
661 | ("ghc-base-compat" ,ghc-base-compat))) | |
662 | (home-page "https://github.com/bos/aeson") | |
663 | (synopsis "Parse ISO 8601 dates") | |
664 | (description "Haskell library for parsing of ISO 8601 dates, originally | |
665 | from aeson.") | |
6b34d01c | 666 | (license license:bsd-3))) |
b57e99f5 | 667 | |
dddbc90c | 668 | (define-public ghc-auto-update |
b57e99f5 | 669 | (package |
dddbc90c | 670 | (name "ghc-auto-update") |
11b1b6cd | 671 | (version "0.1.6") |
dddbc90c RV |
672 | (source |
673 | (origin | |
674 | (method url-fetch) | |
675 | (uri (string-append | |
676 | "https://hackage.haskell.org/package/auto-update/auto-update-" | |
677 | version | |
678 | ".tar.gz")) | |
679 | (sha256 | |
680 | (base32 | |
11b1b6cd | 681 | "1i36xc2i34aync8271x3pv515l3zb53i518dybn8ghqkhzf27q7l")))) |
dddbc90c | 682 | (build-system haskell-build-system) |
11b1b6cd TS |
683 | (native-inputs |
684 | `(("ghc-hspec" ,ghc-hspec) | |
685 | ("ghc-hunit" ,ghc-hunit) | |
686 | ("ghc-retry" ,ghc-retry) | |
687 | ("hspec-discover" ,hspec-discover))) | |
dddbc90c RV |
688 | (home-page "https://github.com/yesodweb/wai") |
689 | (synopsis "Efficiently run periodic, on-demand actions") | |
690 | (description "This library provides mechanisms to efficiently run | |
691 | periodic, on-demand actions in Haskell.") | |
692 | (license license:expat))) | |
693 | ||
694 | (define-public ghc-aws | |
695 | (package | |
696 | (name "ghc-aws") | |
697 | (version "0.20") | |
b57e99f5 RV |
698 | (source |
699 | (origin | |
700 | (method url-fetch) | |
701 | (uri (string-append "https://hackage.haskell.org/package/" | |
dddbc90c RV |
702 | "aws-" version "/aws-" version ".tar.gz")) |
703 | (sha256 (base32 | |
704 | "0pwpabmypi1w8rni9qfwabgn95jks4h8dyw6889mn8xzsrhdhyf0")))) | |
705 | (build-system haskell-build-system) | |
706 | (arguments `(#:tests? #f)) ; Tests require AWS credentials. | |
707 | (inputs | |
708 | `(("ghc-aeson" ,ghc-aeson) | |
709 | ("ghc-attoparsec" ,ghc-attoparsec) | |
710 | ("ghc-base16-bytestring" ,ghc-base16-bytestring) | |
711 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
712 | ("ghc-blaze-builder" ,ghc-blaze-builder) | |
713 | ("ghc-byteable" ,ghc-byteable) | |
714 | ("ghc-case-insensitive" ,ghc-case-insensitive) | |
715 | ("ghc-cereal" ,ghc-cereal) | |
716 | ("ghc-conduit" ,ghc-conduit) | |
717 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
718 | ("ghc-cryptonite" ,ghc-cryptonite) | |
719 | ("ghc-data-default" ,ghc-data-default) | |
720 | ("ghc-http-conduit" ,ghc-http-conduit) | |
721 | ("ghc-http-types" ,ghc-http-types) | |
722 | ("ghc-lifted-base" ,ghc-lifted-base) | |
723 | ("ghc-monad-control" ,ghc-monad-control) | |
724 | ("ghc-network" ,ghc-network) | |
725 | ("ghc-old-locale" ,ghc-old-locale) | |
726 | ("ghc-safe" ,ghc-safe) | |
727 | ("ghc-scientific" ,ghc-scientific) | |
728 | ("ghc-tagged" ,ghc-tagged) | |
729 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
730 | ("ghc-utf8-string" ,ghc-utf8-string) | |
731 | ("ghc-vector" ,ghc-vector) | |
732 | ("ghc-xml-conduit" ,ghc-xml-conduit))) | |
733 | (native-inputs | |
734 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
735 | ("ghc-errors" ,ghc-errors) | |
736 | ("ghc-http-client" ,ghc-http-client) | |
737 | ("ghc-http-client-tls" ,ghc-http-client-tls) | |
738 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
739 | ("ghc-tasty" ,ghc-tasty) | |
740 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
741 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
742 | ("ghc-conduit-combinators" ,ghc-conduit-combinators))) | |
743 | (home-page "https://github.com/aristidb/aws") | |
744 | (synopsis "Amazon Web Services for Haskell") | |
745 | (description "This package attempts to provide support for using | |
746 | Amazon Web Services like S3 (storage), SQS (queuing) and others to | |
747 | Haskell programmers. The ultimate goal is to support all Amazon | |
748 | Web Services.") | |
749 | (license license:bsd-3))) | |
750 | ||
751 | (define-public ghc-base16-bytestring | |
752 | (package | |
753 | (name "ghc-base16-bytestring") | |
754 | (version "0.1.1.6") | |
755 | (source | |
756 | (origin | |
757 | (method url-fetch) | |
758 | (uri (string-append | |
759 | "https://hackage.haskell.org/package/base16-bytestring/" | |
760 | "base16-bytestring-" version ".tar.gz")) | |
b57e99f5 RV |
761 | (sha256 |
762 | (base32 | |
dddbc90c | 763 | "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs")))) |
b57e99f5 | 764 | (build-system haskell-build-system) |
dddbc90c RV |
765 | (home-page "https://github.com/bos/base16-bytestring") |
766 | (synopsis "Fast base16 (hex) encoding and decoding for ByteStrings") | |
767 | (description | |
768 | "This package provides a Haskell library for working with base16-encoded | |
769 | data quickly and efficiently, using the ByteString type.") | |
b57e99f5 | 770 | (license license:bsd-3))) |
bbf8bf31 | 771 | |
dddbc90c | 772 | (define-public ghc-base64-bytestring |
bbf8bf31 | 773 | (package |
dddbc90c RV |
774 | (name "ghc-base64-bytestring") |
775 | (version "1.0.0.2") | |
bbf8bf31 RV |
776 | (source |
777 | (origin | |
778 | (method url-fetch) | |
dddbc90c RV |
779 | (uri (string-append |
780 | "https://hackage.haskell.org/package/base64-bytestring/base64-bytestring-" | |
781 | version | |
782 | ".tar.gz")) | |
783 | (sha256 | |
784 | (base32 "13305brzlac24pifiqd5a2z10c6k6amhpdy9cc0z5ryrkgnm8dhr")))) | |
785 | (build-system haskell-build-system) | |
786 | (arguments `(#:tests? #f)) ; FIXME: testing libraries are missing. | |
787 | (home-page "https://github.com/bos/base64-bytestring") | |
788 | (synopsis "Base64 encoding and decoding for ByteStrings") | |
789 | (description "This library provides fast base64 encoding and decoding for | |
790 | Haskell @code{ByteString}s.") | |
791 | (license license:bsd-3))) | |
792 | ||
793 | (define-public ghc-base-compat | |
794 | (package | |
795 | (name "ghc-base-compat") | |
4daaa371 | 796 | (version "0.10.5") |
dddbc90c RV |
797 | (source |
798 | (origin | |
799 | (method url-fetch) | |
800 | (uri (string-append | |
801 | "https://hackage.haskell.org/package/base-compat/base-compat-" | |
802 | version | |
803 | ".tar.gz")) | |
bbf8bf31 RV |
804 | (sha256 |
805 | (base32 | |
4daaa371 | 806 | "0hgvlqcr852hfp52jp99snhbj550mvxxpi8qn15d8ml9aqhyl2lr")))) |
bbf8bf31 | 807 | (build-system haskell-build-system) |
e2b021df | 808 | (outputs '("out" "static" "doc")) |
bbf8bf31 | 809 | (native-inputs |
dddbc90c RV |
810 | `(("ghc-quickcheck" ,ghc-quickcheck) |
811 | ("ghc-hspec" ,ghc-hspec) | |
812 | ("hspec-discover" ,hspec-discover))) | |
813 | (home-page "https://hackage.haskell.org/package/base-compat") | |
814 | (synopsis "Haskell compiler compatibility library") | |
815 | (description "This library provides functions available in later versions | |
816 | of base to a wider range of compilers, without requiring the use of CPP | |
817 | pragmas in your code.") | |
818 | (license license:bsd-3))) | |
819 | ||
f9d78c7f TS |
820 | (define-public ghc-base-compat-batteries |
821 | (package | |
822 | (name "ghc-base-compat-batteries") | |
823 | (version "0.10.5") | |
824 | (source | |
825 | (origin | |
826 | (method url-fetch) | |
827 | (uri (string-append "https://hackage.haskell.org/package/" | |
828 | "base-compat-batteries/base-compat-batteries-" | |
829 | version ".tar.gz")) | |
830 | (sha256 | |
831 | (base32 | |
832 | "1vkhc639vqiv5p39jn1v312z32i7yk5q2lf0ap4jxl1v8p8wyp8p")))) | |
833 | (build-system haskell-build-system) | |
834 | (inputs | |
835 | `(("ghc-base-compat" ,ghc-base-compat))) | |
836 | (native-inputs | |
837 | `(("ghc-hspec" ,ghc-hspec) | |
838 | ("ghc-quickcheck" ,ghc-quickcheck) | |
839 | ("hspec-discover" ,hspec-discover))) | |
840 | (arguments | |
841 | `(#:cabal-revision | |
842 | ("1" "15sn2qc8k0hxbb2nai341kkrci98hlhzcj2ci087m0zxcg5jcdbp"))) | |
3ef91e15 | 843 | (home-page "https://hackage.haskell.org/package/base-compat-batteries") |
f9d78c7f TS |
844 | (synopsis "base-compat with extra batteries") |
845 | (description "This library provides functions available in later | |
846 | versions of @code{base} to a wider range of compilers, without requiring | |
847 | you to use CPP pragmas in your code. This package provides the same API | |
848 | as the @code{base-compat} library, but depends on compatibility | |
849 | packages (such as @code{semigroups}) to offer a wider support window | |
850 | than @code{base-compat}, which has no dependencies.") | |
851 | (license license:expat))) | |
852 | ||
dddbc90c RV |
853 | (define-public ghc-basement |
854 | (package | |
855 | (name "ghc-basement") | |
8b56c1fd | 856 | (version "0.0.11") |
dddbc90c RV |
857 | (source |
858 | (origin | |
859 | (method url-fetch) | |
860 | (uri (string-append "https://hackage.haskell.org/package/" | |
861 | "basement/basement-" version ".tar.gz")) | |
862 | (sha256 | |
863 | (base32 | |
8b56c1fd | 864 | "0srlws74yiraqaapgcjd9p5d1fwb3zr9swcz74jpjm55fls2nn37")))) |
dddbc90c | 865 | (build-system haskell-build-system) |
05f7f8be | 866 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
867 | (home-page "https://github.com/haskell-foundation/foundation") |
868 | (synopsis "Basic primitives for Foundation starter pack") | |
869 | (description | |
870 | "This package contains basic primitives for the Foundation set of | |
871 | packages.") | |
872 | (license license:bsd-3))) | |
873 | ||
874 | (define-public ghc-base-orphans | |
875 | (package | |
876 | (name "ghc-base-orphans") | |
780477fb | 877 | (version "0.8.1") |
dddbc90c RV |
878 | (source |
879 | (origin | |
880 | (method url-fetch) | |
881 | (uri (string-append | |
882 | "https://hackage.haskell.org/package/base-orphans/base-orphans-" | |
883 | version | |
884 | ".tar.gz")) | |
885 | (sha256 | |
886 | (base32 | |
780477fb | 887 | "1nwr9av27i9p72k0sn96mw3ywdczw65dy5gd5wxpabhhxlxdcas4")))) |
dddbc90c RV |
888 | (build-system haskell-build-system) |
889 | (native-inputs | |
890 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
891 | ("ghc-hspec" ,ghc-hspec) | |
892 | ("hspec-discover" ,hspec-discover))) | |
893 | (home-page "https://hackage.haskell.org/package/base-orphans") | |
894 | (synopsis "Orphan instances for backwards compatibility") | |
895 | (description "This package defines orphan instances that mimic instances | |
896 | available in later versions of base to a wider (older) range of compilers.") | |
897 | (license license:bsd-3))) | |
898 | ||
899 | (define-public ghc-base-prelude | |
900 | (package | |
901 | (name "ghc-base-prelude") | |
902 | (version "1.3") | |
903 | (source | |
904 | (origin | |
905 | (method url-fetch) | |
906 | (uri (string-append "https://hackage.haskell.org/package/" | |
907 | "base-prelude-" version "/" | |
908 | "base-prelude-" version ".tar.gz")) | |
909 | (sha256 | |
910 | (base32 | |
911 | "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73")))) | |
912 | (build-system haskell-build-system) | |
3d7ee2f8 | 913 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
914 | (home-page "https://github.com/nikita-volkov/base-prelude") |
915 | (synopsis "The most complete prelude formed solely from the Haskell's base | |
916 | package") | |
917 | (description "This Haskell package aims to reexport all the non-conflicting | |
918 | and most general definitions from the \"base\" package. | |
919 | ||
920 | This includes APIs for applicatives, arrows, monoids, foldables, traversables, | |
921 | exceptions, generics, ST, MVars and STM. | |
922 | ||
923 | This package will never have any dependencies other than \"base\". | |
924 | ||
925 | Versioning policy: | |
926 | ||
927 | The versioning policy of this package deviates from PVP in the sense | |
928 | that its exports in part are transitively determined by the version of \"base\". | |
929 | Therefore it's recommended for the users of @code{ghc-base-prelude} to specify | |
930 | the bounds of \"base\" as well.") | |
931 | (license license:expat))) | |
932 | ||
933 | (define-public ghc-base-unicode-symbols | |
934 | (package | |
935 | (name "ghc-base-unicode-symbols") | |
936 | (version "0.2.3") | |
937 | (source | |
938 | (origin | |
939 | (method url-fetch) | |
940 | (uri (string-append | |
941 | "mirror://hackage/package/base-unicode-symbols/base-unicode-symbols-" | |
942 | version | |
943 | ".tar.gz")) | |
944 | (sha256 | |
945 | (base32 | |
946 | "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf")))) | |
947 | (build-system haskell-build-system) | |
228d2901 | 948 | (home-page "https://wiki.haskell.org/Unicode-symbols") |
dddbc90c RV |
949 | (synopsis "Unicode alternatives for common functions and operators") |
950 | (description "This package defines new symbols for a number of functions, | |
951 | operators and types in the base package. All symbols are documented with | |
952 | their actual definition and information regarding their Unicode code point. | |
953 | They should be completely interchangeable with their definitions. For | |
954 | further Unicode goodness you can enable the @code{UnicodeSyntax} | |
955 | @url{https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exs.html#unicode-syntax, | |
956 | language extension}. This extension enables Unicode characters to be used to | |
957 | stand for certain ASCII character sequences, i.e. → instead of @code{->}, | |
958 | ∀ instead of @code{forall} and many others.") | |
959 | (license license:bsd-3))) | |
960 | ||
ec8491b0 ASM |
961 | (define-public ghc-basic-prelude |
962 | (package | |
963 | (name "ghc-basic-prelude") | |
964 | (version "0.7.0") | |
965 | (source | |
966 | (origin | |
967 | (method url-fetch) | |
968 | (uri (string-append | |
969 | "https://hackage.haskell.org/package/basic-prelude/" | |
970 | "basic-prelude-" version ".tar.gz")) | |
971 | (sha256 | |
972 | (base32 | |
973 | "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h")))) | |
974 | (build-system haskell-build-system) | |
975 | (inputs | |
976 | `(("ghc-hashable" ,ghc-hashable) | |
977 | ("ghc-unordered-containers" | |
978 | ,ghc-unordered-containers) | |
979 | ("ghc-vector" ,ghc-vector))) | |
980 | (home-page "https://github.com/snoyberg/basic-prelude#readme") | |
981 | (synopsis "Enhanced core prelude; a common foundation for alternate preludes") | |
982 | (description | |
983 | "The premise of basic-prelude is that there are a lot of very commonly | |
984 | desired features missing from the standard Prelude, such as commonly used | |
985 | operators (<$> and >=>, for instance) and imports for common datatypes | |
986 | (e.g., ByteString and Vector). At the same time, there are lots of other | |
987 | components which are more debatable, such as providing polymorphic versions | |
988 | of common functions. | |
989 | ||
990 | So basic-prelude is intended to give a common foundation for a number of | |
991 | alternate preludes. The package provides two modules: CorePrelude provides | |
992 | the common ground for other preludes to build on top of, while BasicPrelude | |
993 | exports CorePrelude together with commonly used list functions to provide a | |
994 | drop-in replacement for the standard Prelude. | |
995 | ||
996 | Users wishing to have an improved Prelude can use BasicPrelude. Developers | |
997 | wishing to create a new prelude should use CorePrelude.") | |
998 | (license license:expat))) | |
999 | ||
7d06279e KM |
1000 | (define-public ghc-bencode |
1001 | (package | |
1002 | (name "ghc-bencode") | |
1003 | (version "0.6.1.1") | |
1004 | (source | |
1005 | (origin | |
1006 | (method url-fetch) | |
1007 | (uri (string-append | |
1008 | "https://hackage.haskell.org/package/bencode/bencode-" | |
1009 | version ".tar.gz")) | |
1010 | (sha256 | |
1011 | (base32 "0znv0y3b3zm5jvhlvj5f5s7y93db67j9yd59w1bnrw2pqv30gqaq")))) | |
1012 | (build-system haskell-build-system) | |
1013 | (inputs | |
1014 | `(("ghc-transformers-compat" ,ghc-transformers-compat))) | |
1015 | (native-inputs | |
1016 | `(("ghc-hspec" ,ghc-hspec) | |
1017 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
1018 | (home-page "https://hackage.haskell.org/package/bencode") | |
1019 | (synopsis "Parsers and printers for bencoded data") | |
1020 | (description | |
1021 | "This library provides parsers and printers for bencoded data. Bencode | |
1022 | is the encoding used by the peer-to-peer file sharing system BitTorrent for | |
1023 | storing and transmitting loosely structured data.") | |
1024 | (license license:bsd-3))) | |
1025 | ||
dddbc90c RV |
1026 | (define-public ghc-bifunctors |
1027 | (package | |
1028 | (name "ghc-bifunctors") | |
0beaec66 | 1029 | (version "5.5.5") |
dddbc90c RV |
1030 | (source |
1031 | (origin | |
1032 | (method url-fetch) | |
1033 | (uri (string-append | |
1034 | "https://hackage.haskell.org/package/bifunctors/bifunctors-" | |
1035 | version | |
1036 | ".tar.gz")) | |
1037 | (sha256 | |
1038 | (base32 | |
0beaec66 | 1039 | "0rn47q8dzv0g1fyams99p4py6q0asxdc50q9k0nj497brk738xcb")))) |
dddbc90c RV |
1040 | (build-system haskell-build-system) |
1041 | (inputs | |
1042 | `(("ghc-base-orphans" ,ghc-base-orphans) | |
1043 | ("ghc-comonad" ,ghc-comonad) | |
1044 | ("ghc-th-abstraction" ,ghc-th-abstraction) | |
1045 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
1046 | ("ghc-tagged" ,ghc-tagged) | |
1047 | ("ghc-semigroups" ,ghc-semigroups))) | |
1048 | (native-inputs | |
1049 | `(("ghc-hspec" ,ghc-hspec) | |
1050 | ("hspec-discover" ,hspec-discover) | |
1051 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
1052 | (home-page "https://github.com/ekmett/bifunctors/") | |
1053 | (synopsis "Bifunctors for Haskell") | |
1054 | (description "This package provides bifunctors for Haskell.") | |
1055 | (license license:bsd-3))) | |
1056 | ||
1057 | (define-public ghc-bindings-dsl | |
1058 | (package | |
1059 | (name "ghc-bindings-dsl") | |
1060 | (version "1.0.25") | |
1061 | (source | |
1062 | (origin | |
1063 | (method url-fetch) | |
1064 | (uri (string-append "https://hackage.haskell.org/package/bindings-DSL/" | |
1065 | "bindings-DSL-" version ".tar.gz")) | |
1066 | (sha256 | |
1067 | (base32 | |
1068 | "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3")))) | |
1069 | (build-system haskell-build-system) | |
1070 | (home-page "https://github.com/jwiegley/bindings-dsl/wiki") | |
1071 | (synopsis "FFI domain specific language, on top of hsc2hs") | |
1072 | (description | |
1073 | "This is a set of macros to be used when writing Haskell FFI. They were | |
1074 | designed to be able to fully describe C interfaces, so that @code{hsc2hs} can | |
1075 | extract from them all Haskell code needed to mimic such interfaces. All | |
1076 | Haskell names used are automatically derived from C names, structures are | |
1077 | mapped to Haskell instances of @code{Storable}, and there are also macros you | |
1078 | can use with C code to help write bindings to inline functions or macro | |
1079 | functions.") | |
1080 | (license license:bsd-3))) | |
1081 | ||
64f42786 TS |
1082 | (define-public ghc-bitarray |
1083 | (package | |
1084 | (name "ghc-bitarray") | |
1085 | (version "0.0.1.1") | |
1086 | (source | |
1087 | (origin | |
1088 | (method url-fetch) | |
1089 | (uri (string-append "https://hackage.haskell.org/package/" | |
1090 | "bitarray/bitarray-" version ".tar.gz")) | |
1091 | (sha256 | |
1092 | (base32 | |
1093 | "00nqd62cbh42qqqvcl6iv1i9kbv0f0mkiygv4j70wfh5cl86yzxj")))) | |
1094 | (build-system haskell-build-system) | |
1095 | (arguments | |
1096 | `(#:cabal-revision | |
1097 | ("1" "10fk92v9afjqk43zi621jxl0n8kci0xjj32lz3vqa9xbh67zjz45"))) | |
1098 | (home-page "https://hackage.haskell.org/package/bitarray") | |
1099 | (synopsis "Mutable and immutable bit arrays") | |
1100 | (description "The package provides mutable and immutable bit arrays.") | |
1101 | (license license:bsd-3))) | |
1102 | ||
dddbc90c RV |
1103 | (define-public ghc-blaze-builder |
1104 | (package | |
1105 | (name "ghc-blaze-builder") | |
1106 | (version "0.4.1.0") | |
1107 | (source | |
1108 | (origin | |
1109 | (method url-fetch) | |
1110 | (uri (string-append | |
1111 | "https://hackage.haskell.org/package/blaze-builder/blaze-builder-" | |
1112 | version | |
1113 | ".tar.gz")) | |
1114 | (sha256 | |
1115 | (base32 | |
1116 | "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i")))) | |
1117 | (build-system haskell-build-system) | |
1118 | (arguments `(#:tests? #f)) ; FIXME: Missing test libraries. | |
1119 | (inputs | |
1120 | `(("ghc-utf8-string" ,ghc-utf8-string))) | |
1121 | (home-page "https://github.com/lpsmith/blaze-builder") | |
1122 | (synopsis "Efficient buffered output") | |
1123 | (description "This library provides an implementation of the older | |
1124 | @code{blaze-builder} interface in terms of the new builder that shipped with | |
1125 | @code{bytestring-0.10.4.0}. This implementation is mostly intended as a | |
1126 | bridge to the new builder, so that code that uses the old interface can | |
1127 | interoperate with code that uses the new implementation.") | |
1128 | (license license:bsd-3))) | |
1129 | ||
1130 | (define-public ghc-blaze-markup | |
1131 | (package | |
1132 | (name "ghc-blaze-markup") | |
7d30fcf3 | 1133 | (version "0.8.2.3") |
dddbc90c RV |
1134 | (source |
1135 | (origin | |
1136 | (method url-fetch) | |
1137 | (uri (string-append "https://hackage.haskell.org/package/" | |
1138 | "blaze-markup/blaze-markup-" | |
1139 | version ".tar.gz")) | |
1140 | (sha256 | |
1141 | (base32 | |
7d30fcf3 | 1142 | "1g9m7ansj7fdyzhz1wqkbzn5amjm50vjgjdwkbjc5qqhagnv1y3j")))) |
dddbc90c RV |
1143 | (build-system haskell-build-system) |
1144 | (arguments | |
1145 | `(#:phases | |
1146 | (modify-phases %standard-phases | |
1147 | (add-before 'configure 'update-constraints | |
1148 | (lambda _ | |
1149 | (substitute* "blaze-markup.cabal" | |
1150 | (("tasty >= 1\\.0 && < 1\\.1") | |
1151 | "tasty >= 1.0 && < 1.2"))))))) | |
1152 | (inputs | |
1153 | `(("ghc-blaze-builder" ,ghc-blaze-builder))) | |
1154 | (native-inputs | |
1155 | `(("ghc-hunit" ,ghc-hunit) | |
1156 | ("ghc-quickcheck" ,ghc-quickcheck) | |
1157 | ("ghc-tasty" ,ghc-tasty) | |
1158 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
1159 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
1160 | (home-page "https://jaspervdj.be/blaze") | |
1161 | (synopsis "Fast markup combinator library for Haskell") | |
1162 | (description "This library provides core modules of a markup combinator | |
1163 | library for Haskell.") | |
1164 | (license license:bsd-3))) | |
1165 | ||
1166 | (define-public ghc-bloomfilter | |
1167 | (package | |
1168 | (name "ghc-bloomfilter") | |
1169 | (version "2.0.1.0") | |
1170 | (source | |
1171 | (origin | |
1172 | (method url-fetch) | |
1173 | (uri (string-append "https://hackage.haskell.org/package/" | |
1174 | "bloomfilter/bloomfilter-" version ".tar.gz")) | |
1175 | (sha256 | |
1176 | (base32 | |
1177 | "03vrmncg1c10a2wcg5skq30m1yiknn7nwxz2gblyyfaxglshspkc")))) | |
1178 | (build-system haskell-build-system) | |
1179 | (native-inputs | |
1180 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
1181 | ("ghc-random" ,ghc-random) | |
1182 | ("ghc-test-framework" ,ghc-test-framework) | |
1183 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
1184 | (home-page "https://github.com/bos/bloomfilter") | |
1185 | (synopsis "Pure and impure Bloom filter implementations") | |
1186 | (description "This package provides both mutable and immutable Bloom | |
1187 | filter data types, along with a family of hash functions and an easy-to-use | |
1188 | interface.") | |
1189 | (license license:bsd-3))) | |
1190 | ||
1191 | (define-public ghc-boxes | |
1192 | (package | |
1193 | (name "ghc-boxes") | |
1194 | (version "0.1.5") | |
1195 | (source | |
1196 | (origin | |
1197 | (method url-fetch) | |
1198 | (uri (string-append "https://hackage.haskell.org/package/boxes/boxes-" | |
1199 | version ".tar.gz")) | |
1200 | (sha256 | |
1201 | (base32 "1hsnmw95i58d4bkpxby3ddsj1cawypw4mdyb18m393s5i8p7iq9q")))) | |
1202 | (build-system haskell-build-system) | |
1203 | (inputs | |
1204 | `(("ghc-split" ,ghc-split) | |
1205 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
1206 | (home-page "https://hackage.haskell.org/package/boxes") | |
1207 | (synopsis "2D text pretty-printing library") | |
1208 | (description | |
1209 | "Boxes is a pretty-printing library for laying out text in two dimensions, | |
1210 | using a simple box model.") | |
1211 | (license license:bsd-3))) | |
1212 | ||
1213 | (define-public ghc-byteable | |
1214 | (package | |
1215 | (name "ghc-byteable") | |
1216 | (version "0.1.1") | |
1217 | (source (origin | |
1218 | (method url-fetch) | |
1219 | (uri (string-append "https://hackage.haskell.org/package/" | |
1220 | "byteable/byteable-" version ".tar.gz")) | |
1221 | (sha256 | |
1222 | (base32 | |
1223 | "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4")))) | |
1224 | (build-system haskell-build-system) | |
1225 | (home-page "https://github.com/vincenthz/hs-byteable") | |
1226 | (synopsis "Type class for sequence of bytes") | |
1227 | (description | |
1228 | "This package provides an abstract class to manipulate sequence of bytes. | |
1229 | The use case of this class is abstracting manipulation of types that are just | |
1230 | wrapping a bytestring with stronger and more meaniful name.") | |
1231 | (license license:bsd-3))) | |
1232 | ||
1233 | (define-public ghc-byteorder | |
1234 | (package | |
1235 | (name "ghc-byteorder") | |
1236 | (version "1.0.4") | |
1237 | (source | |
1238 | (origin | |
1239 | (method url-fetch) | |
1240 | (uri (string-append | |
1241 | "https://hackage.haskell.org/package/byteorder/byteorder-" | |
1242 | version | |
1243 | ".tar.gz")) | |
1244 | (sha256 | |
1245 | (base32 | |
1246 | "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x")))) | |
1247 | (build-system haskell-build-system) | |
1248 | (home-page | |
1249 | "http://community.haskell.org/~aslatter/code/byteorder") | |
1250 | (synopsis | |
1251 | "Exposes the native endianness of the system") | |
1252 | (description | |
1253 | "This package is for working with the native byte-ordering of the | |
1254 | system.") | |
1255 | (license license:bsd-3))) | |
1256 | ||
1257 | (define-public ghc-bytes | |
1258 | (package | |
1259 | (name "ghc-bytes") | |
1260 | (version "0.15.5") | |
1261 | (source | |
1262 | (origin | |
1263 | (method url-fetch) | |
1264 | (uri | |
1265 | (string-append "https://hackage.haskell.org/package/bytes-" | |
1266 | version "/bytes-" | |
1267 | version ".tar.gz")) | |
1268 | (file-name (string-append name "-" version ".tar.gz")) | |
1269 | (sha256 | |
1270 | (base32 | |
1271 | "063il2vrn0p88r9gzndh4ijs0mxj37khkc9ym9bqdsv7ngk3b683")))) | |
1272 | (build-system haskell-build-system) | |
1273 | (inputs `(("ghc-cereal" ,ghc-cereal) | |
1274 | ("cabal-doctest" ,cabal-doctest) | |
1275 | ("ghc-doctest" ,ghc-doctest) | |
1276 | ("ghc-scientific" ,ghc-scientific) | |
1277 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
1278 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
1279 | ("ghc-void" ,ghc-void) | |
1280 | ("ghc-vector" ,ghc-vector))) | |
1281 | (synopsis "Serialization between @code{binary} and @code{cereal}") | |
1282 | (description "This package provides a simple compatibility shim that lets | |
1283 | you work with both @code{binary} and @code{cereal} with one chunk of | |
1284 | serialization code.") | |
1285 | (home-page "https://hackage.haskell.org/package/bytes") | |
1286 | (license license:bsd-3))) | |
1287 | ||
1288 | (define-public ghc-bytestring-builder | |
1289 | (package | |
1290 | (name "ghc-bytestring-builder") | |
13ac8a7f | 1291 | (version "0.10.8.2.0") |
dddbc90c RV |
1292 | (source |
1293 | (origin | |
1294 | (method url-fetch) | |
1295 | (uri (string-append | |
1296 | "https://hackage.haskell.org/package/bytestring-builder" | |
1297 | "/bytestring-builder-" version ".tar.gz")) | |
1298 | (sha256 | |
1299 | (base32 | |
13ac8a7f | 1300 | "0grcrgwwwcvwrs9az7l4d3kf0lsqfa9qpmjzf6iyanvwn9nyzyi7")))) |
dddbc90c RV |
1301 | (build-system haskell-build-system) |
1302 | (arguments `(#:haddock? #f)) ; Package contains no documentation. | |
1303 | (home-page "https://hackage.haskell.org/package/bytestring-builder") | |
1304 | (synopsis "The new bytestring builder, packaged outside of GHC") | |
1305 | (description "This package provides the bytestring builder that is | |
1306 | debuting in bytestring-0.10.4.0, which should be shipping with GHC 7.8. | |
1307 | Compatibility package for older packages.") | |
1308 | (license license:bsd-3))) | |
1309 | ||
1310 | (define-public ghc-bytestring-handle | |
1311 | (package | |
1312 | (name "ghc-bytestring-handle") | |
1313 | (version "0.1.0.6") | |
1314 | (source | |
1315 | (origin | |
1316 | (method url-fetch) | |
1317 | (uri (string-append | |
1318 | "https://hackage.haskell.org/package/bytestring-handle/bytestring-handle-" | |
1319 | version ".tar.gz")) | |
1320 | (sha256 | |
1321 | (base32 | |
1322 | "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y")))) | |
1323 | (build-system haskell-build-system) | |
1324 | (arguments | |
853748c4 TS |
1325 | `(#:cabal-revision |
1326 | ("1" "0x11aj6w1lijh84jcdq1qgyvdnc7i9ivbyq4wf9rxicg57viisz9") | |
1327 | #:phases | |
dddbc90c RV |
1328 | (modify-phases %standard-phases |
1329 | (add-before 'configure 'update-constraints | |
1330 | (lambda _ | |
1331 | (substitute* "bytestring-handle.cabal" | |
1332 | (("QuickCheck >= 2\\.1\\.2 && < 2\\.11") | |
853748c4 | 1333 | "QuickCheck >= 2.1.2 && < 2.14"))))))) |
dddbc90c RV |
1334 | (inputs |
1335 | `(("ghc-hunit" ,ghc-hunit) | |
1336 | ("ghc-quickcheck" ,ghc-quickcheck) | |
1337 | ("ghc-test-framework" ,ghc-test-framework) | |
1338 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
1339 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
1340 | (home-page "https://hub.darcs.net/ganesh/bytestring-handle") | |
1341 | (synopsis "ByteString-backed Handles") | |
1342 | (description "ByteString-backed Handles") ; There is no description | |
1343 | (license license:bsd-3))) | |
1344 | ||
1345 | (define-public ghc-bytestring-lexing | |
1346 | (package | |
1347 | (name "ghc-bytestring-lexing") | |
1348 | (version "0.5.0.2") | |
1349 | (source | |
1350 | (origin | |
1351 | (method url-fetch) | |
1352 | (uri (string-append "https://hackage.haskell.org/package/" | |
1353 | "bytestring-lexing/bytestring-lexing-" | |
1354 | version ".tar.gz")) | |
1355 | (sha256 | |
1356 | (base32 | |
1357 | "0wrzniawhgpphc6yx1v972gyqxdbv0pizaz9bafahrshyb9svy81")))) | |
1358 | (build-system haskell-build-system) | |
1359 | (home-page "http://code.haskell.org/~wren/") | |
1360 | (synopsis "Parse and produce literals from strict or lazy bytestrings") | |
1361 | (description | |
1362 | "This package provides tools to parse and produce literals efficiently | |
1363 | from strict or lazy bytestrings.") | |
1364 | (license license:bsd-2))) | |
1365 | ||
1366 | (define-public ghc-bzlib-conduit | |
1367 | (package | |
1368 | (name "ghc-bzlib-conduit") | |
5fba8d6d | 1369 | (version "0.3.0.2") |
dddbc90c RV |
1370 | (source |
1371 | (origin | |
1372 | (method url-fetch) | |
1373 | (uri (string-append "https://hackage.haskell.org/package/bzlib-conduit/" | |
1374 | "bzlib-conduit-" version ".tar.gz")) | |
1375 | (sha256 | |
1376 | (base32 | |
5fba8d6d | 1377 | "0a21zin5plsl37hkxh2jv8cxwyjrbs2fy7n5cyrzgdaa7lmp6b7b")))) |
dddbc90c RV |
1378 | (build-system haskell-build-system) |
1379 | (inputs | |
1380 | `(("ghc-bindings-dsl" ,ghc-bindings-dsl) | |
1381 | ("ghc-conduit" ,ghc-conduit) | |
1382 | ("ghc-data-default-class" ,ghc-data-default-class) | |
1383 | ("ghc-resourcet" ,ghc-resourcet))) | |
1384 | (native-inputs | |
1385 | `(("ghc-hspec" ,ghc-hspec) | |
1386 | ("ghc-random" ,ghc-random))) | |
1387 | (home-page "https://github.com/snoyberg/bzlib-conduit") | |
1388 | (synopsis "Streaming compression/decompression via conduits") | |
1389 | (description | |
1390 | "This package provides Haskell bindings to bzlib and Conduit support for | |
1391 | streaming compression and decompression.") | |
1392 | (license license:bsd-3))) | |
1393 | ||
1394 | (define-public ghc-c2hs | |
1395 | (package | |
1396 | (name "ghc-c2hs") | |
1397 | (version "0.28.6") | |
1398 | (source | |
1399 | (origin | |
1400 | (method url-fetch) | |
1401 | (uri (string-append | |
1402 | "https://hackage.haskell.org/package/c2hs/c2hs-" | |
1403 | version | |
1404 | ".tar.gz")) | |
1405 | (sha256 | |
1406 | (base32 | |
1407 | "1nplgxfin139x12sb656f5870rpdclrhzi8mq8pry035qld15pci")))) | |
1408 | (build-system haskell-build-system) | |
1409 | (inputs | |
1410 | `(("ghc-language-c" ,ghc-language-c) | |
1411 | ("ghc-dlist" ,ghc-dlist))) | |
1412 | (native-inputs | |
1413 | `(("ghc-test-framework" ,ghc-test-framework) | |
1414 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
1415 | ("ghc-hunit" ,ghc-hunit) | |
a723d36d | 1416 | ("ghc-shelly" ,ghc-shelly))) |
dddbc90c | 1417 | (arguments |
bfebc598 | 1418 | `(#:phases |
dddbc90c RV |
1419 | (modify-phases %standard-phases |
1420 | (add-before 'check 'set-cc | |
1421 | ;; add a cc executable in the path, needed for some tests to pass | |
1422 | (lambda* (#:key inputs #:allow-other-keys) | |
1423 | (let ((gcc (assoc-ref inputs "gcc")) | |
1424 | (tmpbin (tmpnam)) | |
1425 | (curpath (getenv "PATH"))) | |
1426 | (mkdir-p tmpbin) | |
1427 | (symlink (which "gcc") (string-append tmpbin "/cc")) | |
1428 | (setenv "PATH" (string-append tmpbin ":" curpath))) | |
1429 | #t)) | |
1430 | (add-after 'check 'remove-cc | |
1431 | ;; clean the tmp dir made in 'set-cc | |
1432 | (lambda _ | |
1433 | (let* ((cc-path (which "cc")) | |
1434 | (cc-dir (dirname cc-path))) | |
1435 | (delete-file-recursively cc-dir) | |
1436 | #t)))))) | |
1437 | (home-page "https://github.com/haskell/c2hs") | |
1438 | (synopsis "Create Haskell bindings to C libraries") | |
1439 | (description "C->Haskell assists in the development of Haskell bindings to | |
1440 | C libraries. It extracts interface information from C header files and | |
1441 | generates Haskell code with foreign imports and marshaling. Unlike writing | |
1442 | foreign imports by hand (or using hsc2hs), this ensures that C functions are | |
1443 | imported with the correct Haskell types.") | |
1444 | (license license:gpl2))) | |
1445 | ||
1446 | (define-public ghc-cairo | |
1447 | (package | |
1448 | (name "ghc-cairo") | |
1449 | (version "0.13.5.0") | |
1450 | (source | |
1451 | (origin | |
1452 | (method url-fetch) | |
1453 | (uri (string-append "https://hackage.haskell.org/package/cairo/" | |
1454 | "cairo-" version ".tar.gz")) | |
1455 | (sha256 | |
1456 | (base32 | |
1457 | "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2")))) | |
1458 | (build-system haskell-build-system) | |
1459 | (arguments | |
1460 | `(#:modules ((guix build haskell-build-system) | |
1461 | (guix build utils) | |
1462 | (ice-9 match) | |
1463 | (srfi srfi-26)) | |
1464 | #:phases | |
1465 | (modify-phases %standard-phases | |
1466 | ;; FIXME: This is a copy of the standard configure phase with a tiny | |
1467 | ;; difference: this package needs the -package-db flag to be passed | |
1468 | ;; to "runhaskell" in addition to the "configure" action, because it | |
1469 | ;; depends on gtk2hs-buildtools, which provide setup hooks. Without | |
1470 | ;; this option the Setup.hs file cannot be evaluated. The | |
1471 | ;; haskell-build-system should be changed to pass "-package-db" to | |
1472 | ;; "runhaskell" in any case. | |
1473 | (replace 'configure | |
1474 | (lambda* (#:key outputs inputs tests? (configure-flags '()) | |
1475 | #:allow-other-keys) | |
1476 | (let* ((out (assoc-ref outputs "out")) | |
1477 | (name-version (strip-store-file-name out)) | |
1478 | (input-dirs (match inputs | |
1479 | (((_ . dir) ...) | |
1480 | dir) | |
1481 | (_ '()))) | |
1482 | (ghc-path (getenv "GHC_PACKAGE_PATH")) | |
1483 | (params (append `(,(string-append "--prefix=" out)) | |
1484 | `(,(string-append "--libdir=" out "/lib")) | |
1485 | `(,(string-append "--bindir=" out "/bin")) | |
1486 | `(,(string-append | |
1487 | "--docdir=" out | |
1488 | "/share/doc/" name-version)) | |
1489 | '("--libsubdir=$compiler/$pkg-$version") | |
1490 | '("--package-db=../package.conf.d") | |
1491 | '("--global") | |
1492 | `(,@(map | |
1493 | (cut string-append "--extra-include-dirs=" <>) | |
1494 | (search-path-as-list '("include") input-dirs))) | |
1495 | `(,@(map | |
1496 | (cut string-append "--extra-lib-dirs=" <>) | |
1497 | (search-path-as-list '("lib") input-dirs))) | |
1498 | (if tests? | |
1499 | '("--enable-tests") | |
1500 | '()) | |
1501 | configure-flags))) | |
1502 | (unsetenv "GHC_PACKAGE_PATH") | |
1503 | (apply invoke "runhaskell" "-package-db=../package.conf.d" | |
1504 | "Setup.hs" "configure" params) | |
1505 | (setenv "GHC_PACKAGE_PATH" ghc-path) | |
1506 | #t)))))) | |
1507 | (inputs | |
1508 | `(("ghc-utf8-string" ,ghc-utf8-string) | |
1509 | ("cairo" ,cairo))) | |
1510 | (native-inputs | |
1511 | `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools) | |
1512 | ("pkg-config" ,pkg-config))) | |
1513 | (home-page "http://projects.haskell.org/gtk2hs/") | |
1514 | (synopsis "Haskell bindings to the Cairo vector graphics library") | |
1515 | (description | |
1516 | "Cairo is a library to render high quality vector graphics. There exist | |
1517 | various backends that allows rendering to Gtk windows, PDF, PS, PNG and SVG | |
1518 | documents, amongst others.") | |
1519 | (license license:bsd-3))) | |
1520 | ||
1521 | (define-public ghc-call-stack | |
1522 | (package | |
1523 | (name "ghc-call-stack") | |
1524 | (version "0.1.0") | |
1525 | (source | |
1526 | (origin | |
1527 | (method url-fetch) | |
1528 | (uri (string-append "https://hackage.haskell.org/package/" | |
1529 | "call-stack/call-stack-" | |
1530 | version ".tar.gz")) | |
1531 | (sha256 | |
1532 | (base32 | |
1533 | "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj")))) | |
1534 | (build-system haskell-build-system) | |
1535 | (inputs `(("ghc-nanospec" ,ghc-nanospec))) | |
1536 | (home-page "https://github.com/sol/call-stack#readme") | |
1537 | (synopsis "Use GHC call-stacks in a backward compatible way") | |
1538 | (description "This package provides a compatibility layer for using GHC | |
1539 | call stacks with different versions of the compiler.") | |
1540 | (license license:expat))) | |
1541 | ||
1542 | ;; This is used as an input to ghc-hunit. We cannot use ghc-call-stack there, | |
1543 | ;; because it depends on ghc-nanospec, which depends on ghc-hunit. | |
1544 | (define-public ghc-call-stack-boot | |
1545 | (hidden-package | |
1546 | (package | |
1547 | (inherit ghc-call-stack) | |
1548 | (arguments '(#:tests? #f)) | |
1549 | (inputs '())))) | |
1550 | ||
1551 | (define-public ghc-case-insensitive | |
1552 | (package | |
1553 | (name "ghc-case-insensitive") | |
1554 | (version "1.2.0.11") | |
534d6caa | 1555 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
1556 | (source |
1557 | (origin | |
1558 | (method url-fetch) | |
1559 | (uri (string-append | |
1560 | "https://hackage.haskell.org/package/case-insensitive/case-insensitive-" | |
1561 | version | |
1562 | ".tar.gz")) | |
1563 | (sha256 | |
1564 | (base32 | |
1565 | "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7")))) | |
1566 | (build-system haskell-build-system) | |
1567 | ;; these inputs are necessary to use this library | |
1568 | (inputs | |
1569 | `(("ghc-hashable" ,ghc-hashable))) | |
1570 | (arguments | |
1571 | `(#:tests? #f)) ; FIXME: currently missing libraries used for tests. | |
1572 | (home-page | |
1573 | "https://github.com/basvandijk/case-insensitive") | |
1574 | (synopsis "Case insensitive string comparison") | |
1575 | (description | |
1576 | "The module @code{Data.CaseInsensitive} provides the @code{CI} type | |
1577 | constructor which can be parameterised by a string-like type like: | |
1578 | @code{String}, @code{ByteString}, @code{Text}, etc. Comparisons of values of | |
1579 | the resulting type will be insensitive to cases.") | |
1580 | (license license:bsd-3))) | |
1581 | ||
1748f1b8 CH |
1582 | (define-public ghc-cassava |
1583 | (package | |
1584 | (name "ghc-cassava") | |
1585 | (version "0.5.2.0") | |
1586 | (source | |
1587 | (origin | |
1588 | (method url-fetch) | |
1589 | (uri (string-append | |
1590 | "https://hackage.haskell.org/package/cassava/cassava-" | |
1591 | version | |
1592 | ".tar.gz")) | |
1593 | (sha256 | |
1594 | (base32 | |
1595 | "01h1zrdqb313cjd4rqm1107azzx4czqi018c2djf66a5i7ajl3dk")))) | |
1596 | (build-system haskell-build-system) | |
1597 | (inputs | |
1598 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
1599 | ("ghc-hashable" ,ghc-hashable) | |
1600 | ("ghc-scientific" ,ghc-scientific) | |
1601 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
1602 | ("ghc-vector" ,ghc-vector) | |
1603 | ("ghc-only" ,ghc-only) | |
1604 | ("ghc-text-short" ,ghc-text-short) | |
1605 | ("ghc-bytestring-builder" ,ghc-bytestring-builder))) | |
1606 | (native-inputs | |
1607 | `(("ghc-hunit" ,ghc-hunit) | |
1608 | ("ghc-quickcheck" ,ghc-quickcheck) | |
1609 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
1610 | ("ghc-test-framework" ,ghc-test-framework) | |
1611 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
1612 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
1613 | (arguments | |
1614 | `(#:cabal-revision | |
1615 | ("1" | |
1616 | "1ph8rf91z4nf1ryrh9s4gd1kq98jlgk2manwddkpch8k0n9xvfk4") | |
1617 | #:configure-flags '("--flags=-bytestring--lt-0_10_4"))) | |
1618 | (home-page "https://github.com/haskell-hvr/cassava") | |
1619 | (synopsis "CSV parsing and encoding library") | |
1620 | (description | |
1621 | "@code{cassava} is a library for parsing and encoding | |
1622 | @url{https://tools.ietf.org/html/rfc4180, RFC 4180} compliant @url{https:// | |
1623 | en.wikipedia.org/wiki/Comma-separated_values, comma-separated values (CSV)} | |
1624 | data, which is a textual line-oriented format commonly used for exchanging | |
1625 | tabular data. | |
1626 | ||
1627 | @code{cassava}'s API includes support for: | |
1628 | ||
1629 | @itemize @bullet | |
1630 | ||
1631 | @item | |
1632 | Index-based record-conversion | |
1633 | @item | |
1634 | Name-based record-conversion | |
1635 | @item | |
1636 | Typeclass directed conversion of fields and records | |
1637 | @item | |
1638 | Built-in field-conversion instances for standard types | |
1639 | @item | |
1640 | Customizable record-conversion instance derivation via GHC generics | |
1641 | @item | |
1642 | Low-level @url{https://hackage.haskell.org/package/bytestring), bytestring} | |
1643 | builders (see @url{https://hackage.haskell.org/package/cassava-0.5.2.0/docs/ | |
1644 | Data-Csv-Builder.html, Data.Csv.Builder}) | |
1645 | @item | |
1646 | Incremental decoding and encoding API (see @url{https://hackage.haskell.org/ | |
1647 | package/cassava-0.5.2.0/docs/Data-Csv-Incremental.html, Data.Csv.Incremental}) | |
1648 | @item | |
1649 | Streaming API for constant-space decoding (see @url{https://hackage.haskell.org/ | |
1650 | package/cassava-0.5.2.0/docs/Data-Csv-Streaming.html, Data.Csv.Streaming}) | |
1651 | @end itemize | |
1652 | ||
1653 | Moreover, this library is designed to be easy to use; for instance, here's a | |
1654 | very simple example of encoding CSV data: | |
1655 | ||
1656 | @verbatim | |
1657 | >>> Data.Csv.encode [(\"John\",27),(\"Jane\",28)] | |
1658 | \"John,27\r\nJane,28\r\n\" | |
1659 | @end verbatim | |
1660 | ") | |
1661 | (license license:bsd-3))) | |
1662 | ||
aa8f4009 CH |
1663 | (define-public ghc-cassava-megaparsec |
1664 | (package | |
1665 | (name "ghc-cassava-megaparsec") | |
d482954c | 1666 | (version "2.0.1") |
aa8f4009 CH |
1667 | (source |
1668 | (origin | |
1669 | (method url-fetch) | |
1670 | (uri (string-append | |
1671 | "https://hackage.haskell.org/package/cassava-megaparsec/" | |
1672 | "cassava-megaparsec-" | |
1673 | version | |
1674 | ".tar.gz")) | |
1675 | (sha256 | |
1676 | (base32 | |
d482954c | 1677 | "0q4skw98nzy6icmgpwqvgw0c5pqcgi25rf7nmwh2pksvv94pi3p3")))) |
aa8f4009 CH |
1678 | (build-system haskell-build-system) |
1679 | (inputs | |
1680 | `(("ghc-cassava" ,ghc-cassava) | |
1681 | ("ghc-megaparsec" ,ghc-megaparsec) | |
1682 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
1683 | ("ghc-vector" ,ghc-vector))) | |
1684 | (native-inputs | |
1685 | `(("ghc-hspec" ,ghc-hspec) | |
1686 | ("ghc-hspec-megaparsec" ,ghc-hspec-megaparsec))) | |
1687 | (home-page "https://github.com/stackbuilders/cassava-megaparsec") | |
1688 | (synopsis "Megaparsec parser for CSV files that plays nicely with Cassava") | |
1689 | (description | |
1690 | "Alternative parser for the Cassava package written with Megaparsec that | |
1691 | provides for better error messages at the expense of some speed.") | |
1692 | (license license:expat))) | |
1693 | ||
6ba536a1 JS |
1694 | (define-public ghc-cborg |
1695 | (package | |
1696 | (name "ghc-cborg") | |
1697 | (version "0.2.2.0") | |
1698 | (source | |
1699 | (origin | |
1700 | (method url-fetch) | |
1701 | (uri (string-append | |
1702 | "mirror://hackage/package/cborg/cborg-" | |
1703 | version | |
1704 | ".tar.gz")) | |
1705 | (sha256 | |
1706 | (base32 | |
1707 | "1rdnvy0w17s70ikmbyrnwax5rvqh19l95sh8i7ipgxi23z1r0bp1")))) | |
1708 | (build-system haskell-build-system) | |
1709 | (inputs | |
1710 | `(("ghc-half" ,ghc-half) | |
1711 | ("ghc-primitive" ,ghc-primitive))) | |
1712 | (native-inputs | |
1713 | `(("ghc-aeson" ,ghc-aeson) | |
1714 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
1715 | ("ghc-base16-bytestring" ,ghc-base16-bytestring) | |
1716 | ("ghc-fail" ,ghc-fail) | |
1717 | ("ghc-quickcheck" ,ghc-quickcheck) | |
1718 | ("ghc-scientific" ,ghc-scientific) | |
1719 | ("ghc-tasty" ,ghc-tasty) | |
1720 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
1721 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
1722 | ("ghc-vector" ,ghc-vector))) | |
1723 | (home-page "http://hackage.haskell.org/package/cborg") | |
1724 | (synopsis "Concise Binary Object Representation") | |
1725 | (description | |
1726 | "This package (formerly binary-serialise-cbor) provides an | |
1727 | efficient implementation of the Concise Binary Object | |
1728 | Representation (CBOR), as specified by RFC 7049 at | |
1729 | https://tools.ietf.org/html/rfc7049. | |
1730 | ||
1731 | If you are looking for a library for serialisation of Haskell values, have a | |
1732 | look at the @url{https://hackage.haskell.org/package/serialise} package, which | |
1733 | is built upon this library. | |
1734 | ||
1735 | An implementation of the standard bijection between CBOR and JSON is provided | |
1736 | by the @url{https://hackage.haskell.org/package/cborg-json} package. | |
1737 | ||
1738 | Also see @code{https://hackage.haskell.org/package/cbor-tool} for a convenient | |
1739 | command-line utility for working with CBOR data.") | |
1740 | (license license:bsd-3))) | |
1741 | ||
5434fec9 JS |
1742 | (define-public ghc-cborg-json |
1743 | (package | |
1744 | (name "ghc-cborg-json") | |
1745 | (version "0.2.2.0") | |
1746 | (source | |
1747 | (origin | |
1748 | (method url-fetch) | |
1749 | (uri (string-append | |
1750 | "mirror://hackage/package/cborg-json/cborg-json-" | |
1751 | version | |
1752 | ".tar.gz")) | |
1753 | (sha256 | |
1754 | (base32 "0ysilz7rrjk94sqr3a61s98hr9qfi1xg13bskmlpc6mpgi2s4s5b")))) | |
1755 | (build-system haskell-build-system) | |
1756 | (inputs | |
1757 | `(("ghc-aeson" ,ghc-aeson) | |
1758 | ("ghc-aeson-pretty" ,ghc-aeson-pretty) | |
1759 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
1760 | ("ghc-scientific" ,ghc-scientific) | |
1761 | ("ghc-vector" ,ghc-vector) | |
1762 | ("ghc-cborg" ,ghc-cborg))) | |
1763 | (home-page "https://github.com/well-typed/cborg") | |
1764 | (synopsis "A library for encoding JSON as CBOR") | |
1765 | (description | |
1766 | "This package implements the bijection between JSON and CBOR | |
1767 | defined in the CBOR specification, RFC 7049.") | |
1768 | (license license:bsd-3))) | |
1769 | ||
dddbc90c RV |
1770 | (define-public ghc-cereal |
1771 | (package | |
1772 | (name "ghc-cereal") | |
bd95427e | 1773 | (version "0.5.8.1") |
dddbc90c RV |
1774 | (source |
1775 | (origin | |
1776 | (method url-fetch) | |
1777 | (uri (string-append | |
1778 | "https://hackage.haskell.org/package/cereal/cereal-" | |
1779 | version | |
1780 | ".tar.gz")) | |
1781 | (sha256 | |
1782 | (base32 | |
bd95427e | 1783 | "1mqvd1iwzr50az4y24332x3g3wsrzw8j1iwph02vr7jbjfn8i7id")))) |
dddbc90c RV |
1784 | (build-system haskell-build-system) |
1785 | (native-inputs | |
1786 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
1787 | ("ghc-fail" ,ghc-fail) | |
1788 | ("ghc-test-framework" ,ghc-test-framework) | |
1789 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
1790 | (home-page "https://hackage.haskell.org/package/cereal") | |
1791 | (synopsis "Binary serialization library") | |
1792 | (description "This package provides a binary serialization library, | |
1793 | similar to @code{binary}, that introduces an @code{isolate} primitive for | |
1794 | parser isolation, and labeled blocks for better error messages.") | |
1795 | (license license:bsd-3))) | |
1796 | ||
1797 | (define-public ghc-cereal-conduit | |
1798 | (package | |
1799 | (name "ghc-cereal-conduit") | |
1800 | (version "0.8.0") | |
1801 | (source | |
1802 | (origin | |
1803 | (method url-fetch) | |
1804 | (uri (string-append "https://hackage.haskell.org/package/" | |
1805 | "cereal-conduit/cereal-conduit-" | |
1806 | version ".tar.gz")) | |
1807 | (sha256 | |
1808 | (base32 | |
1809 | "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r")))) | |
1810 | (build-system haskell-build-system) | |
1811 | (inputs | |
1812 | `(("ghc-conduit" ,ghc-conduit) | |
1813 | ("ghc-resourcet" ,ghc-resourcet) | |
1814 | ("ghc-cereal" ,ghc-cereal))) | |
1815 | (native-inputs | |
1816 | `(("ghc-hunit" ,ghc-hunit))) | |
1817 | (home-page "https://github.com/snoyberg/conduit") | |
1818 | (synopsis "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits") | |
1819 | (description | |
1820 | "This package turn @code{Data.Serialize} @code{Gets} and @code{Puts} into | |
1821 | @code{Sources}, @code{Sinks}, and @code{Conduits}.") | |
1822 | (license license:bsd-3))) | |
1823 | ||
1824 | (define-public ghc-cgi | |
1825 | (package | |
1826 | (name "ghc-cgi") | |
b6b2c218 | 1827 | (version "3001.4.0.0") |
dddbc90c RV |
1828 | (source |
1829 | (origin | |
1830 | (method url-fetch) | |
1831 | (uri (string-append | |
1832 | "https://hackage.haskell.org/package/cgi/cgi-" | |
1833 | version | |
1834 | ".tar.gz")) | |
1835 | (sha256 | |
1836 | (base32 | |
b6b2c218 | 1837 | "1d0nh5ymkqskkp4yn0gfz4mff8i0cxyw1wws8xxp6k1mg1ywa25k")))) |
dddbc90c | 1838 | (build-system haskell-build-system) |
dddbc90c RV |
1839 | (inputs |
1840 | `(("ghc-exceptions" ,ghc-exceptions) | |
1841 | ("ghc-multipart" ,ghc-multipart) | |
1842 | ("ghc-network-uri" ,ghc-network-uri) | |
1843 | ("ghc-network" ,ghc-network))) | |
1844 | (native-inputs | |
1845 | `(("ghc-doctest" ,ghc-doctest) | |
1846 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
1847 | (home-page | |
1848 | "https://github.com/cheecheeo/haskell-cgi") | |
1849 | (synopsis "Library for writing CGI programs") | |
1850 | (description | |
1851 | "This is a Haskell library for writing CGI programs.") | |
1852 | (license license:bsd-3))) | |
1853 | ||
1854 | (define-public ghc-charset | |
1855 | (package | |
1856 | (name "ghc-charset") | |
1857 | (version "0.3.7.1") | |
1858 | (source | |
1859 | (origin | |
1860 | (method url-fetch) | |
1861 | (uri (string-append | |
1862 | "https://hackage.haskell.org/package/charset/charset-" | |
1863 | version | |
1864 | ".tar.gz")) | |
1865 | (sha256 | |
1866 | (base32 | |
1867 | "1gn0m96qpjww8hpp2g1as5yy0wcwy4iq73h3kz6g0yxxhcl5sh9x")))) | |
1868 | (build-system haskell-build-system) | |
35ee173c TS |
1869 | (arguments |
1870 | `(#:cabal-revision | |
1871 | ("1" "1z6nxw2g9vgsjq0g159sk8mwj68lwzxzi5iv5ynha0h85jcqxszy"))) | |
dddbc90c RV |
1872 | (inputs |
1873 | `(("ghc-semigroups" ,ghc-semigroups) | |
1874 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
1875 | (home-page "https://github.com/ekmett/charset") | |
1876 | (synopsis "Fast unicode character sets for Haskell") | |
1877 | (description "This package provides fast unicode character sets for | |
1878 | Haskell, based on complemented PATRICIA tries.") | |
1879 | (license license:bsd-3))) | |
1880 | ||
1881 | (define-public ghc-chart | |
1882 | (package | |
1883 | (name "ghc-chart") | |
6cd84b98 | 1884 | (version "1.9.1") |
dddbc90c RV |
1885 | (source |
1886 | (origin | |
1887 | (method url-fetch) | |
1888 | (uri (string-append "https://hackage.haskell.org/package/Chart/" | |
1889 | "Chart-" version ".tar.gz")) | |
1890 | (sha256 | |
1891 | (base32 | |
6cd84b98 | 1892 | "1pn735k9ifxlb9mdh8xy7wi22cxni8xyr28n8zx9w0j6vprcg89l")))) |
dddbc90c RV |
1893 | (build-system haskell-build-system) |
1894 | (inputs | |
1895 | `(("ghc-old-locale" ,ghc-old-locale) | |
1896 | ("ghc-lens" ,ghc-lens) | |
1897 | ("ghc-colour" ,ghc-colour) | |
1898 | ("ghc-data-default-class" ,ghc-data-default-class) | |
1899 | ("ghc-operational" ,ghc-operational) | |
1900 | ("ghc-vector" ,ghc-vector))) | |
1901 | (home-page "https://github.com/timbod7/haskell-chart/wiki") | |
1902 | (synopsis "Library for generating 2D charts and plots") | |
1903 | (description | |
1904 | "This package provides a library for generating 2D charts and plots, with | |
1905 | backends provided by the @code{Cairo} and @code{Diagrams} libraries.") | |
1906 | (license license:bsd-3))) | |
1907 | ||
1908 | (define-public ghc-chart-cairo | |
1909 | (package | |
1910 | (name "ghc-chart-cairo") | |
5cf9264d | 1911 | (version "1.9.1") |
dddbc90c RV |
1912 | (source |
1913 | (origin | |
1914 | (method url-fetch) | |
1915 | (uri (string-append "https://hackage.haskell.org/package/Chart-cairo/" | |
1916 | "Chart-cairo-" version ".tar.gz")) | |
1917 | (sha256 | |
1918 | (base32 | |
5cf9264d | 1919 | "0hknj4rsjf2m8p5pyq5zff8ai7v80yvmxb5c6n0bkgxs4317nbl9")))) |
dddbc90c RV |
1920 | (build-system haskell-build-system) |
1921 | (inputs | |
1922 | `(("ghc-old-locale" ,ghc-old-locale) | |
1923 | ("ghc-cairo" ,ghc-cairo) | |
1924 | ("ghc-colour" ,ghc-colour) | |
1925 | ("ghc-data-default-class" ,ghc-data-default-class) | |
1926 | ("ghc-operational" ,ghc-operational) | |
1927 | ("ghc-lens" ,ghc-lens) | |
1928 | ("ghc-chart" ,ghc-chart))) | |
1929 | (home-page "https://github.com/timbod7/haskell-chart/wiki") | |
1930 | (synopsis "Cairo backend for Charts") | |
1931 | (description "This package provides a Cairo vector graphics rendering | |
1932 | backend for the Charts library.") | |
1933 | (license license:bsd-3))) | |
1934 | ||
1935 | (define-public ghc-chasingbottoms | |
1936 | (package | |
1937 | (name "ghc-chasingbottoms") | |
1f67853e | 1938 | (version "1.3.1.7") |
dddbc90c RV |
1939 | (source |
1940 | (origin | |
1941 | (method url-fetch) | |
1942 | (uri (string-append "https://hackage.haskell.org/package/ChasingBottoms/" | |
1943 | "ChasingBottoms-" version ".tar.gz")) | |
1944 | (sha256 | |
1945 | (base32 | |
1f67853e | 1946 | "0ziiqfsvv1ypdra6kd0bhbsl852i0wqn43jkfii38yl879cdacan")))) |
dddbc90c RV |
1947 | (build-system haskell-build-system) |
1948 | (inputs | |
1949 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
1950 | ("ghc-random" ,ghc-random) | |
1951 | ("ghc-syb" ,ghc-syb))) | |
1952 | (home-page "https://hackage.haskell.org/package/ChasingBottoms") | |
1953 | (synopsis "Testing of partial and infinite values in Haskell") | |
1954 | (description | |
1955 | ;; FIXME: There should be a @comma{} in the uref text, but it is not | |
1956 | ;; rendered properly. | |
1957 | "This is a library for testing code involving bottoms or infinite values. | |
1958 | For the underlying theory and a larger example involving use of QuickCheck, | |
1959 | see the article | |
1960 | @uref{http://www.cse.chalmers.se/~nad/publications/danielsson-jansson-mpc2004.html, | |
1961 | \"Chasing Bottoms A Case Study in Program Verification in the Presence of | |
1962 | Partial and Infinite Values\"}.") | |
1963 | (license license:expat))) | |
1964 | ||
1965 | (define-public ghc-cheapskate | |
1966 | (package | |
1967 | (name "ghc-cheapskate") | |
5e18bb9e | 1968 | (version "0.1.1.1") |
dddbc90c RV |
1969 | (source |
1970 | (origin | |
1971 | (method url-fetch) | |
1972 | (uri (string-append | |
1973 | "https://hackage.haskell.org/package/cheapskate/cheapskate-" | |
1974 | version | |
1975 | ".tar.gz")) | |
1976 | (sha256 | |
1977 | (base32 | |
5e18bb9e | 1978 | "0qnyd8bni2rby6b02ff4bvfdhm1hwc8vzpmnms84jgrlg1lly3fm")))) |
dddbc90c RV |
1979 | (build-system haskell-build-system) |
1980 | (inputs | |
1981 | `(("ghc-blaze-html" ,ghc-blaze-html) | |
1982 | ("ghc-xss-sanitize" ,ghc-xss-sanitize) | |
1983 | ("ghc-data-default" ,ghc-data-default) | |
1984 | ("ghc-syb" ,ghc-syb) | |
1985 | ("ghc-uniplate" ,ghc-uniplate))) | |
1986 | (home-page "https://github.com/jgm/cheapskate") | |
1987 | (synopsis "Experimental markdown processor") | |
1988 | (description "Cheapskate is an experimental Markdown processor in pure | |
1989 | Haskell. It aims to process Markdown efficiently and in the most forgiving | |
1990 | possible way. It is designed to deal with any input, including garbage, with | |
1991 | linear performance. Output is sanitized by default for protection against | |
1992 | cross-site scripting (@dfn{XSS}) attacks.") | |
1993 | (license license:bsd-3))) | |
1994 | ||
1995 | (define-public ghc-chell | |
1996 | (package | |
1997 | (name "ghc-chell") | |
acdd03be | 1998 | (version "0.5") |
dddbc90c RV |
1999 | (source |
2000 | (origin | |
2001 | (method url-fetch) | |
2002 | (uri (string-append | |
2003 | "https://hackage.haskell.org/package/chell/chell-" | |
2004 | version ".tar.gz")) | |
2005 | (sha256 | |
2006 | (base32 | |
acdd03be | 2007 | "1i845isfbk0yq852am9bqmxfpfkpnlha8nfidffsv4gw2p8gg6fg")))) |
dddbc90c | 2008 | (build-system haskell-build-system) |
acdd03be TS |
2009 | (arguments |
2010 | `(#:cabal-revision | |
2011 | ("1" "1q93wrw03ix4cmnkz3lzkixcvvizw6i2ia2zifdfak1dvxnblxk0"))) | |
dddbc90c RV |
2012 | (inputs |
2013 | `(("ghc-options-bootstrap" ,ghc-options-bootstrap) | |
2014 | ("ghc-patience" ,ghc-patience) | |
2015 | ("ghc-random" ,ghc-random) | |
2016 | ("ghc-ansi-terminal" ,ghc-ansi-terminal))) | |
2017 | (home-page "https://john-millikin.com/software/chell/") | |
2018 | (synopsis "Simple and intuitive library for automated testing") | |
2019 | (description | |
2020 | "Chell is a simple and intuitive library for automated testing. | |
2021 | It natively supports assertion-based testing, and can use companion | |
2022 | libraries such as @code{chell-quickcheck} to support more complex | |
2023 | testing strategies.") | |
2024 | (license license:expat))) | |
2025 | ||
2026 | (define-public ghc-chell-quickcheck | |
2027 | (package | |
2028 | (name "ghc-chell-quickcheck") | |
e0e21831 | 2029 | (version "0.2.5.2") |
dddbc90c RV |
2030 | (source |
2031 | (origin | |
2032 | (method url-fetch) | |
2033 | (uri (string-append | |
2034 | "https://hackage.haskell.org/package/chell-quickcheck/" | |
2035 | "chell-quickcheck-" version ".tar.gz")) | |
2036 | (sha256 | |
2037 | (base32 | |
e0e21831 | 2038 | "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03")))) |
dddbc90c RV |
2039 | (build-system haskell-build-system) |
2040 | (arguments | |
2041 | `(#:phases | |
2042 | (modify-phases %standard-phases | |
2043 | (add-before 'configure 'update-constraints | |
2044 | (lambda _ | |
2045 | (substitute* "chell-quickcheck.cabal" | |
e0e21831 TS |
2046 | (("QuickCheck >= 2\\.3 && < 2\\.13") |
2047 | "QuickCheck >= 2.3 && < 2.14"))))))) | |
dddbc90c RV |
2048 | (inputs |
2049 | `(("ghc-chell" ,ghc-chell) | |
2050 | ("ghc-chell-quickcheck-bootstrap" ,ghc-chell-quickcheck-bootstrap) | |
2051 | ("ghc-random" ,ghc-random) | |
2052 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
2053 | (home-page "https://john-millikin.com/software/chell/") | |
2054 | (synopsis "QuickCheck support for the Chell testing library") | |
2055 | (description "More complex tests for @code{chell}.") | |
2056 | (license license:expat))) | |
2057 | ||
2058 | (define ghc-chell-quickcheck-bootstrap | |
2059 | (package | |
2060 | (name "ghc-chell-quickcheck-bootstrap") | |
e0e21831 | 2061 | (version "0.2.5.2") |
dddbc90c RV |
2062 | (source |
2063 | (origin | |
2064 | (method url-fetch) | |
2065 | (uri (string-append | |
2066 | "https://hackage.haskell.org/package/chell-quickcheck/" | |
2067 | "chell-quickcheck-" version ".tar.gz")) | |
2068 | (sha256 | |
2069 | (base32 | |
e0e21831 | 2070 | "0n8c57n88r2bx0bh8nabsz07m42rh23ahs3hgyzf8gr76l08zq03")))) |
dddbc90c RV |
2071 | (build-system haskell-build-system) |
2072 | (inputs | |
2073 | `(("ghc-chell" ,ghc-chell) | |
2074 | ("ghc-random" ,ghc-random) | |
2075 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
2076 | (arguments | |
2077 | `(#:tests? #f | |
2078 | #:phases | |
2079 | (modify-phases %standard-phases | |
2080 | (add-before 'configure 'update-constraints | |
2081 | (lambda _ | |
2082 | (substitute* "chell-quickcheck.cabal" | |
e0e21831 TS |
2083 | (("QuickCheck >= 2\\.3 && < 2\\.13") |
2084 | "QuickCheck >= 2.3 && < 2.14"))))))) | |
dddbc90c RV |
2085 | (home-page "https://john-millikin.com/software/chell/") |
2086 | (synopsis "QuickCheck support for the Chell testing library") | |
2087 | (description "More complex tests for @code{chell}.") | |
2088 | (license license:expat))) | |
2089 | ||
2090 | (define-public ghc-chunked-data | |
2091 | (package | |
2092 | (name "ghc-chunked-data") | |
2093 | (version "0.3.1") | |
2094 | (source | |
2095 | (origin | |
2096 | (method url-fetch) | |
2097 | (uri (string-append "https://hackage.haskell.org/package/" | |
2098 | "chunked-data-" version "/" | |
2099 | "chunked-data-" version ".tar.gz")) | |
2100 | (sha256 | |
2101 | (base32 | |
2102 | "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p")))) | |
2103 | (build-system haskell-build-system) | |
2104 | (inputs `(("ghc-vector" ,ghc-vector) | |
2105 | ("ghc-semigroups" ,ghc-semigroups))) | |
2106 | (home-page "https://github.com/snoyberg/mono-traversable") | |
2107 | (synopsis "Typeclasses for dealing with various chunked data | |
2108 | representations for Haskell") | |
2109 | (description "This Haskell package was originally present in | |
2110 | classy-prelude.") | |
2111 | (license license:expat))) | |
2112 | ||
2113 | (define-public ghc-clock | |
2114 | (package | |
2115 | (name "ghc-clock") | |
0841b6f2 | 2116 | (version "0.8") |
dddbc90c RV |
2117 | (source |
2118 | (origin | |
2119 | (method url-fetch) | |
2120 | (uri (string-append | |
2121 | "https://hackage.haskell.org/package/" | |
2122 | "clock/" | |
2123 | "clock-" version ".tar.gz")) | |
2124 | (sha256 | |
0841b6f2 | 2125 | (base32 "0539w9bjw6xbfv9v6aq9hijszxqdnqhilwpbwpql1400ji95r8q8")))) |
dddbc90c RV |
2126 | (build-system haskell-build-system) |
2127 | (inputs | |
2128 | `(("ghc-tasty" ,ghc-tasty) | |
2129 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
2130 | (home-page "https://hackage.haskell.org/package/clock") | |
2131 | (synopsis "High-resolution clock for Haskell") | |
2132 | (description "A package for convenient access to high-resolution clock and | |
2133 | timer functions of different operating systems via a unified API.") | |
2134 | (license license:bsd-3))) | |
2135 | ||
2136 | ;; This package builds `clock` without tests, since the tests rely on tasty | |
2137 | ;; and tasty-quickcheck, which in turn require clock to build. | |
2138 | (define-public ghc-clock-bootstrap | |
2139 | (package | |
2140 | (inherit ghc-clock) | |
2141 | (name "ghc-clock-bootstrap") | |
2142 | (arguments '(#:tests? #f)) | |
2143 | (inputs '()) | |
2144 | (properties '((hidden? #t))))) | |
2145 | ||
2146 | (define-public ghc-cmark | |
2147 | (package | |
2148 | (name "ghc-cmark") | |
6bdd36c0 | 2149 | (version "0.6") |
dddbc90c RV |
2150 | (source (origin |
2151 | (method url-fetch) | |
6bdd36c0 | 2152 | ;; XXX As of version 0.6, this package bundles libcmark 0.28.0. |
dddbc90c RV |
2153 | ;; See cbits/cmark_version.h. |
2154 | (uri (string-append "https://hackage.haskell.org/package/" | |
2155 | "cmark/cmark-" version ".tar.gz")) | |
2156 | (sha256 | |
2157 | (base32 | |
6bdd36c0 | 2158 | "1p41z6z8dqxk62287lvhhg4ayy9laai9ljh4azsnzb029v6mbv0d")))) |
dddbc90c RV |
2159 | (build-system haskell-build-system) |
2160 | (native-inputs | |
2161 | `(("ghc-hunit" ,ghc-hunit))) | |
2162 | (home-page "https://github.com/jgm/commonmark-hs") | |
2163 | (synopsis "Fast, accurate CommonMark (Markdown) parser and renderer") | |
2164 | (description | |
2165 | "This package provides Haskell bindings for | |
2166 | @uref{https://github.com/jgm/cmark, libcmark}, the reference parser for | |
2167 | CommonMark, a fully specified variant of Markdown. It includes bundled libcmark | |
2168 | sources, and does not require prior installation of the C library.") | |
2169 | (license license:bsd-3))) | |
2170 | ||
2171 | (define-public ghc-cmark-gfm | |
2172 | (package | |
2173 | (name "ghc-cmark-gfm") | |
24fc8dae | 2174 | (version "0.2.0") |
dddbc90c RV |
2175 | (source |
2176 | (origin | |
2177 | (method url-fetch) | |
2178 | (uri (string-append "https://hackage.haskell.org/package/" | |
2179 | "cmark-gfm/cmark-gfm-" | |
2180 | version ".tar.gz")) | |
2181 | (sha256 | |
2182 | (base32 | |
24fc8dae | 2183 | "03xflrkyw84qv3yjly5iks9311bqv5cmrmsylr763v4ph0fn7rjq")))) |
dddbc90c RV |
2184 | (build-system haskell-build-system) |
2185 | (native-inputs | |
2186 | `(("ghc-hunit" ,ghc-hunit))) | |
2187 | (home-page "https://github.com/kivikakk/cmark-gfm-hs") | |
2188 | (synopsis | |
2189 | "Fast, accurate GitHub Flavored Markdown parser and renderer") | |
2190 | (description | |
2191 | "This package provides Haskell bindings for libcmark-gfm, the reference | |
2192 | parser for GitHub Flavored Markdown, a fully specified variant of Markdown. | |
2193 | It includes sources for libcmark-gfm and does not require prior installation | |
2194 | of the C library.") | |
2195 | (license license:bsd-3))) | |
2196 | ||
2197 | (define-public ghc-cmdargs | |
2198 | (package | |
2199 | (name "ghc-cmdargs") | |
2200 | (version "0.10.20") | |
2201 | (source | |
2202 | (origin | |
2203 | (method url-fetch) | |
2204 | (uri (string-append | |
2205 | "https://hackage.haskell.org/package/cmdargs/cmdargs-" | |
2206 | version ".tar.gz")) | |
2207 | (sha256 | |
2208 | (base32 | |
2209 | "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf")))) | |
2210 | (build-system haskell-build-system) | |
3e545443 | 2211 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
2212 | (home-page |
2213 | "http://community.haskell.org/~ndm/cmdargs/") | |
2214 | (synopsis "Command line argument processing") | |
2215 | (description | |
2216 | "This library provides an easy way to define command line parsers.") | |
2217 | (license license:bsd-3))) | |
2218 | ||
2219 | (define-public ghc-code-page | |
2220 | (package | |
2221 | (name "ghc-code-page") | |
f6bb6519 | 2222 | (version "0.2") |
dddbc90c RV |
2223 | (source |
2224 | (origin | |
2225 | (method url-fetch) | |
2226 | (uri (string-append | |
2227 | "https://hackage.haskell.org/package/code-page/code-page-" | |
2228 | version ".tar.gz")) | |
2229 | (sha256 | |
2230 | (base32 | |
f6bb6519 | 2231 | "0i0qbrbhvrwkbikqb7hh7yxaipaavwzvyrw211d0vkz99f62mqxz")))) |
dddbc90c RV |
2232 | (build-system haskell-build-system) |
2233 | (home-page "https://github.com/RyanGlScott/code-page") | |
2234 | (synopsis "Windows code page library for Haskell") | |
2235 | (description "A cross-platform library with functions for adjusting | |
2236 | code pages on Windows. On all other operating systems, the library does | |
2237 | nothing.") | |
2238 | (license license:bsd-3))) | |
2239 | ||
2240 | (define-public ghc-colour | |
2241 | (package | |
2242 | (name "ghc-colour") | |
bc9d1af9 | 2243 | (version "2.3.5") |
dddbc90c RV |
2244 | (source |
2245 | (origin | |
2246 | (method url-fetch) | |
2247 | (uri (string-append | |
2248 | "https://hackage.haskell.org/package/colour/colour-" | |
2249 | version ".tar.gz")) | |
2250 | (sha256 | |
2251 | (base32 | |
bc9d1af9 | 2252 | "1rq4l46jx4lpdppy71wf7m1n7pw2jwy788rm35ycwzb1g4clg39v")))) |
dddbc90c RV |
2253 | (arguments |
2254 | ;; The tests for this package have the following dependency cycle: | |
2255 | ;; ghc-test-framework -> ghc-ansi-terminal -> ghc-colour. | |
2256 | `(#:tests? #f)) | |
2257 | (build-system haskell-build-system) | |
228d2901 | 2258 | (home-page "https://wiki.haskell.org/Colour") |
dddbc90c RV |
2259 | (synopsis "Model for human colour perception") |
2260 | (description | |
2261 | "This package provides a data type for colours and transparency. | |
2262 | Colours can be blended and composed. Various colour spaces are | |
2263 | supported. A module of colour names (\"Data.Colour.Names\") is provided.") | |
2264 | (license license:expat))) | |
2265 | ||
2266 | (define-public ghc-comonad | |
2267 | (package | |
2268 | (name "ghc-comonad") | |
1a825512 | 2269 | (version "5.0.5") |
dddbc90c RV |
2270 | (source |
2271 | (origin | |
2272 | (method url-fetch) | |
2273 | (uri (string-append | |
2274 | "https://hackage.haskell.org/package/comonad/comonad-" | |
2275 | version | |
2276 | ".tar.gz")) | |
2277 | (sha256 | |
2278 | (base32 | |
1a825512 | 2279 | "1l7snp2mszgnjgd0nc9kzfyd13vla0rlazqi03rwx2akcxk14n3c")))) |
dddbc90c RV |
2280 | (build-system haskell-build-system) |
2281 | (native-inputs | |
2282 | `(("cabal-doctest" ,cabal-doctest) | |
2283 | ("ghc-doctest" ,ghc-doctest))) | |
2284 | (inputs | |
2285 | `(("ghc-contravariant" ,ghc-contravariant) | |
2286 | ("ghc-distributive" ,ghc-distributive) | |
2287 | ("ghc-semigroups" ,ghc-semigroups) | |
2288 | ("ghc-tagged" ,ghc-tagged) | |
2289 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
2290 | (home-page "https://github.com/ekmett/comonad/") | |
2291 | (synopsis "Comonads for Haskell") | |
2292 | (description "This library provides @code{Comonad}s for Haskell.") | |
2293 | (license license:bsd-3))) | |
2294 | ||
2295 | (define-public ghc-concatenative | |
2296 | (package | |
2297 | (name "ghc-concatenative") | |
2298 | (version "1.0.1") | |
2299 | (source (origin | |
2300 | (method url-fetch) | |
2301 | (uri (string-append | |
2302 | "https://hackage.haskell.org/package/concatenative/concatenative-" | |
2303 | version ".tar.gz")) | |
2304 | (sha256 | |
2305 | (base32 | |
2306 | "05xwqvcdnk8bsyj698ab9jxpa1nk23pf3m7wi9mwmw0q8n99fngd")))) | |
2307 | (build-system haskell-build-system) | |
2308 | (home-page | |
2309 | "https://patch-tag.com/r/salazar/concatenative/snapshot/current/content/pretty") | |
2310 | (synopsis "Library for postfix control flow") | |
2311 | (description | |
2312 | "Concatenative gives Haskell Factor-style combinators and arrows for | |
2313 | postfix notation. For more information on stack based languages, see | |
2314 | @uref{https://concatenative.org}.") | |
2315 | (license license:bsd-3))) | |
2316 | ||
2317 | (define-public ghc-concurrent-extra | |
2318 | (package | |
2319 | (name "ghc-concurrent-extra") | |
2320 | (version "0.7.0.12") | |
2321 | (source | |
2322 | (origin | |
2323 | (method url-fetch) | |
2324 | (uri (string-append "https://hackage.haskell.org/package/" | |
2325 | "concurrent-extra/concurrent-extra-" | |
2326 | version ".tar.gz")) | |
2327 | (sha256 | |
2328 | (base32 | |
2329 | "1y8xk460fvnw0idzdiylmm874sjny4q9jxb1js9fjz8lw2wns3h4")))) | |
2330 | (build-system haskell-build-system) | |
2331 | (arguments | |
2332 | ;; XXX: The ReadWriteLock 'stressTest' fails. | |
2333 | `(#:tests? #f)) | |
2334 | (inputs | |
2335 | `(("ghc-unbounded-delays" ,ghc-unbounded-delays))) | |
2336 | (native-inputs | |
2337 | `(("ghc-async" ,ghc-async) | |
2338 | ("ghc-hunit" ,ghc-hunit) | |
2339 | ("ghc-random" ,ghc-random) | |
2340 | ("ghc-test-framework" ,ghc-test-framework) | |
2341 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
2342 | (home-page "https://github.com/basvandijk/concurrent-extra") | |
2343 | (synopsis "Extra concurrency primitives") | |
2344 | (description "This Haskell library offers (among other things) the | |
2345 | following selection of synchronisation primitives: | |
2346 | ||
2347 | @itemize | |
2348 | @item @code{Broadcast}: Wake multiple threads by broadcasting a value. | |
2349 | @item @code{Event}: Wake multiple threads by signalling an event. | |
2350 | @item @code{Lock}: Enforce exclusive access to a resource. Also known | |
2351 | as a binary semaphore or mutex. The package additionally provides an | |
2352 | alternative that works in the STM monad. | |
2353 | @item @code{RLock}: A lock which can be acquired multiple times by the | |
2354 | same thread. Also known as a reentrant mutex. | |
2355 | @item @code{ReadWriteLock}: Multiple-reader, single-writer locks. Used | |
2356 | to protect shared resources which may be concurrently read, but only | |
2357 | sequentially written. | |
2358 | @item @code{ReadWriteVar}: Concurrent read, sequential write variables. | |
2359 | @end itemize | |
2360 | ||
2361 | Please consult the API documentation of the individual modules for more | |
2362 | detailed information. | |
2363 | ||
2364 | This package was inspired by the concurrency libraries of Java and | |
2365 | Python.") | |
2366 | (license license:bsd-3))) | |
2367 | ||
2368 | (define-public ghc-concurrent-output | |
2369 | (package | |
2370 | (name "ghc-concurrent-output") | |
4fce0a4a | 2371 | (version "1.10.11") |
dddbc90c RV |
2372 | (source |
2373 | (origin | |
2374 | (method url-fetch) | |
2375 | (uri (string-append | |
2376 | "mirror://hackage/package/concurrent-output/concurrent-output-" | |
2377 | version | |
2378 | ".tar.gz")) | |
2379 | (sha256 | |
2380 | (base32 | |
4fce0a4a | 2381 | "1d1aaqg5814k59b0iws3fh06p3g2siaj922gkhs75qgncj0my2p3")))) |
dddbc90c RV |
2382 | (build-system haskell-build-system) |
2383 | (inputs | |
2384 | `(("ghc-async" ,ghc-async) | |
2385 | ("ghc-exceptions" ,ghc-exceptions) | |
2386 | ("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
2387 | ("ghc-terminal-size" ,ghc-terminal-size))) | |
2388 | (home-page | |
2389 | "https://hackage.haskell.org/package/concurrent-output") | |
2390 | (synopsis | |
2391 | "Ungarble output from several threads or commands") | |
2392 | (description | |
2393 | "Lets multiple threads and external processes concurrently output to the | |
2394 | console, without it getting all garbled up. | |
2395 | ||
2396 | Built on top of that is a way of defining multiple output regions, which are | |
2397 | automatically laid out on the screen and can be individually updated by | |
2398 | concurrent threads. Can be used for progress displays etc.") | |
2399 | (license license:bsd-2))) | |
2400 | ||
2401 | (define-public ghc-conduit | |
2402 | (package | |
2403 | (name "ghc-conduit") | |
1ac981d4 | 2404 | (version "1.3.1.1") |
dddbc90c RV |
2405 | (source (origin |
2406 | (method url-fetch) | |
2407 | (uri (string-append "https://hackage.haskell.org/package/" | |
2408 | "conduit/conduit-" version ".tar.gz")) | |
2409 | (sha256 | |
2410 | (base32 | |
1ac981d4 | 2411 | "18izjgff4pmrknc8py06yvg3g6x27nx0rzmlwjxcflwm5v4szpw4")))) |
dddbc90c | 2412 | (build-system haskell-build-system) |
20e5edb1 | 2413 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
2414 | (inputs |
2415 | `(("ghc-exceptions" ,ghc-exceptions) | |
2416 | ("ghc-lifted-base" ,ghc-lifted-base) | |
2417 | ("ghc-mono-traversable" ,ghc-mono-traversable) | |
2418 | ("ghc-mmorph" ,ghc-mmorph) | |
2419 | ("ghc-resourcet" ,ghc-resourcet) | |
2420 | ("ghc-silently" ,ghc-silently) | |
2421 | ("ghc-transformers-base" ,ghc-transformers-base) | |
2422 | ("ghc-unliftio" ,ghc-unliftio) | |
2423 | ("ghc-unliftio-core" ,ghc-unliftio-core) | |
2424 | ("ghc-vector" ,ghc-vector) | |
2425 | ("ghc-void" ,ghc-void))) | |
2426 | (native-inputs | |
2427 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
2428 | ("ghc-hspec" ,ghc-hspec) | |
2429 | ("ghc-safe" ,ghc-safe) | |
2430 | ("ghc-split" ,ghc-split))) | |
2431 | (home-page "https://github.com/snoyberg/conduit") | |
2432 | (synopsis "Streaming data library ") | |
2433 | (description | |
2434 | "The conduit package is a solution to the streaming data problem, | |
2435 | allowing for production, transformation, and consumption of streams of data | |
2436 | in constant memory. It is an alternative to lazy I/O which guarantees | |
2437 | deterministic resource handling, and fits in the same general solution | |
2438 | space as enumerator/iteratee and pipes.") | |
2439 | (license license:expat))) | |
2440 | ||
2441 | (define-public ghc-conduit-algorithms | |
2442 | (package | |
2443 | (name "ghc-conduit-algorithms") | |
503b74ae | 2444 | (version "0.0.11.0") |
dddbc90c RV |
2445 | (source |
2446 | (origin | |
2447 | (method url-fetch) | |
2448 | (uri (string-append "https://hackage.haskell.org/package/" | |
2449 | "conduit-algorithms/conduit-algorithms-" | |
2450 | version ".tar.gz")) | |
2451 | (sha256 | |
2452 | (base32 | |
503b74ae | 2453 | "0c1jwz30kkvimx7lb61782yk0kyfamrf5bqc3g1h7g51lk8bbv9i")))) |
dddbc90c RV |
2454 | (build-system haskell-build-system) |
2455 | (inputs | |
2456 | `(("ghc-async" ,ghc-async) | |
2457 | ("ghc-bzlib-conduit" ,ghc-bzlib-conduit) | |
2458 | ("ghc-conduit" ,ghc-conduit) | |
2459 | ("ghc-conduit-combinators" ,ghc-conduit-combinators) | |
2460 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
503b74ae | 2461 | ("ghc-conduit-zstd" ,ghc-conduit-zstd) |
dddbc90c RV |
2462 | ("ghc-exceptions" ,ghc-exceptions) |
2463 | ("ghc-lzma-conduit" ,ghc-lzma-conduit) | |
2464 | ("ghc-monad-control" ,ghc-monad-control) | |
2465 | ("ghc-pqueue" ,ghc-pqueue) | |
2466 | ("ghc-resourcet" ,ghc-resourcet) | |
2467 | ("ghc-stm-conduit" ,ghc-stm-conduit) | |
2468 | ("ghc-streaming-commons" ,ghc-streaming-commons) | |
2469 | ("ghc-unliftio-core" ,ghc-unliftio-core) | |
2470 | ("ghc-vector" ,ghc-vector))) | |
2471 | (native-inputs | |
2472 | `(("ghc-hunit" ,ghc-hunit) | |
2473 | ("ghc-test-framework" ,ghc-test-framework) | |
2474 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
2475 | ("ghc-test-framework-th" ,ghc-test-framework-th))) | |
2476 | (home-page "https://github.com/luispedro/conduit-algorithms#readme") | |
2477 | (synopsis "Conduit-based algorithms") | |
2478 | (description | |
2479 | "This package provides algorithms on @code{Conduits}, including higher | |
2480 | level asynchronous processing and some other utilities.") | |
2481 | (license license:expat))) | |
2482 | ||
2483 | (define-public ghc-conduit-combinators | |
2484 | (package | |
2485 | (name "ghc-conduit-combinators") | |
2486 | (version "1.3.0") | |
2487 | (source | |
2488 | (origin | |
2489 | (method url-fetch) | |
2490 | (uri (string-append "https://hackage.haskell.org/package/" | |
2491 | "conduit-combinators-" version "/" | |
2492 | "conduit-combinators-" version ".tar.gz")) | |
2493 | (sha256 | |
2494 | (base32 | |
2495 | "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp")))) | |
2496 | (build-system haskell-build-system) | |
2497 | (inputs `(("ghc-conduit" ,ghc-conduit) | |
2498 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
2499 | ("ghc-transformers-base" ,ghc-transformers-base) | |
2500 | ("ghc-primitive" ,ghc-primitive) | |
2501 | ("ghc-vector" ,ghc-vector) | |
2502 | ("ghc-void" ,ghc-void) | |
2503 | ("ghc-mwc-random" ,ghc-mwc-random) | |
2504 | ("ghc-unix-compat" ,ghc-unix-compat) | |
2505 | ("ghc-base16-bytestring" ,ghc-base16-bytestring) | |
2506 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
2507 | ("ghc-resourcet" ,ghc-resourcet) | |
2508 | ("ghc-monad-control" ,ghc-monad-control) | |
2509 | ("ghc-chunked-data" ,ghc-chunked-data) | |
2510 | ("ghc-mono-traversable" ,ghc-mono-traversable))) | |
2511 | (native-inputs `(("ghc-hspec" ,ghc-hspec) | |
2512 | ("ghc-silently" ,ghc-silently) | |
2513 | ("ghc-safe" ,ghc-safe) | |
2514 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
2515 | (home-page "https://github.com/snoyberg/mono-traversable") | |
2516 | (synopsis "Commonly used conduit functions, for both chunked and | |
2517 | unchunked data") | |
2518 | (description "This Haskell package provides a replacement for Data.Conduit.List, | |
2519 | as well as a convenient Conduit module.") | |
2520 | (license license:expat))) | |
2521 | ||
2522 | (define-public ghc-conduit-extra | |
2523 | (package | |
2524 | (name "ghc-conduit-extra") | |
151774d9 | 2525 | (version "1.3.4") |
dddbc90c RV |
2526 | (source |
2527 | (origin | |
2528 | (method url-fetch) | |
2529 | (uri (string-append "https://hackage.haskell.org/package/" | |
2530 | "conduit-extra/conduit-extra-" | |
2531 | version ".tar.gz")) | |
2532 | (sha256 | |
2533 | (base32 | |
151774d9 | 2534 | "1d853d39vj5pb8yxfcsnjwdzqzkm34ixzbnba8bslpihb7182wxi")))) |
dddbc90c RV |
2535 | (build-system haskell-build-system) |
2536 | (inputs | |
2537 | `(("ghc-conduit" ,ghc-conduit) | |
2538 | ("ghc-exceptions" ,ghc-exceptions) | |
2539 | ("ghc-monad-control" ,ghc-monad-control) | |
2540 | ("ghc-transformers-base" ,ghc-transformers-base) | |
2541 | ("ghc-typed-process" ,ghc-typed-process) | |
2542 | ("ghc-async" ,ghc-async) | |
2543 | ("ghc-attoparsec" ,ghc-attoparsec) | |
2544 | ("ghc-blaze-builder" ,ghc-blaze-builder) | |
2545 | ("ghc-network" ,ghc-network) | |
2546 | ("ghc-primitive" ,ghc-primitive) | |
2547 | ("ghc-resourcet" ,ghc-resourcet) | |
2548 | ("ghc-streaming-commons" ,ghc-streaming-commons) | |
2549 | ("ghc-hspec" ,ghc-hspec) | |
2550 | ("ghc-bytestring-builder" ,ghc-bytestring-builder) | |
2551 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
2552 | (native-inputs | |
2553 | `(("hspec-discover" ,hspec-discover))) | |
2554 | (home-page "https://github.com/snoyberg/conduit") | |
2555 | (synopsis "Conduit adapters for common libraries") | |
2556 | (description | |
2557 | "The @code{conduit} package itself maintains relative small dependencies. | |
2558 | The purpose of this package is to collect commonly used utility functions | |
2559 | wrapping other library dependencies, without depending on heavier-weight | |
2560 | dependencies. The basic idea is that this package should only depend on | |
2561 | @code{haskell-platform} packages and @code{conduit}.") | |
2562 | (license license:expat))) | |
2563 | ||
b59c3518 TS |
2564 | (define-public ghc-conduit-zstd |
2565 | (package | |
2566 | (name "ghc-conduit-zstd") | |
2567 | (version "0.0.1.1") | |
2568 | (source | |
2569 | (origin | |
2570 | (method url-fetch) | |
2571 | (uri (string-append "https://hackage.haskell.org/package/" | |
2572 | "conduit-zstd/conduit-zstd-" version ".tar.gz")) | |
2573 | (sha256 | |
2574 | (base32 | |
2575 | "04h7w2903hgw4gjcx2pg29yinnmfapawvc19hd3r57rr12fzb0c6")))) | |
2576 | (build-system haskell-build-system) | |
2577 | (inputs | |
2578 | `(("ghc-conduit" ,ghc-conduit) | |
2579 | ("ghc-zstd" ,ghc-zstd))) | |
2580 | (native-inputs | |
2581 | `(("ghc-hunit" ,ghc-hunit) | |
2582 | ("ghc-conduit-combinators" ,ghc-conduit-combinators) | |
2583 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
2584 | ("ghc-test-framework" ,ghc-test-framework) | |
2585 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
2586 | ("ghc-test-framework-th" ,ghc-test-framework-th))) | |
2587 | (home-page "https://github.com/luispedro/conduit-zstd#readme") | |
2588 | (synopsis "Conduit-based ZStd Compression") | |
2589 | (description "Zstandard compression packaged as a conduit. This is | |
2590 | a very thin wrapper around the | |
2591 | @url{https://github.com/facebookexperimental/hs-zstd/, official hs-zstd | |
2592 | interface}.") | |
2593 | (license license:expat))) | |
2594 | ||
dddbc90c RV |
2595 | (define-public ghc-configurator |
2596 | (package | |
2597 | (name "ghc-configurator") | |
2598 | (version "0.3.0.0") | |
2599 | (source | |
2600 | (origin | |
2601 | (method url-fetch) | |
2602 | (uri (string-append "https://hackage.haskell.org/package/" | |
2603 | "configurator/configurator-" | |
2604 | version ".tar.gz")) | |
2605 | (sha256 | |
2606 | (base32 | |
2607 | "1d1iq1knwiq6ia5g64rw5hqm6dakz912qj13r89737rfcxmrkfbf")))) | |
2608 | (build-system haskell-build-system) | |
2609 | (inputs | |
2610 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
2611 | ("ghc-hashable" ,ghc-hashable) | |
2612 | ("ghc-unix-compat" ,ghc-unix-compat) | |
2613 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
2614 | (native-inputs | |
2615 | `(("ghc-hunit" ,ghc-hunit) | |
2616 | ("ghc-test-framework" ,ghc-test-framework) | |
2617 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
702a1012 | 2618 | (home-page "https://github.com/bos/configurator") |
dddbc90c RV |
2619 | (synopsis "Configuration management") |
2620 | (description | |
2621 | "This package provides a configuration management library for programs | |
2622 | and daemons. The features include: | |
2623 | ||
2624 | @enumerate | |
2625 | @item Automatic, dynamic reloading in response to modifications to | |
2626 | configuration files. | |
2627 | @item A simple, but flexible, configuration language, supporting several of | |
2628 | the most commonly needed types of data, along with interpolation of strings | |
2629 | from the configuration or the system environment (e.g. @code{$(HOME)}). | |
2630 | @item Subscription-based notification of changes to configuration properties. | |
2631 | @item An @code{import} directive allows the configuration of a complex | |
2632 | application to be split across several smaller files, or common configuration | |
2633 | data to be shared across several applications. | |
2634 | @end enumerate\n") | |
2635 | (license license:bsd-3))) | |
2636 | ||
2637 | (define-public ghc-connection | |
2638 | (package | |
2639 | (name "ghc-connection") | |
6ee0d258 | 2640 | (version "0.3.1") |
dddbc90c RV |
2641 | (source (origin |
2642 | (method url-fetch) | |
2643 | (uri (string-append "https://hackage.haskell.org/package/" | |
2644 | "connection/connection-" | |
2645 | version ".tar.gz")) | |
2646 | (sha256 | |
2647 | (base32 | |
6ee0d258 | 2648 | "1nbmafhlg0wy4aa3p7amjddbamdz6avzrxn4py3lvhrjqn4raxax")))) |
dddbc90c RV |
2649 | (build-system haskell-build-system) |
2650 | (inputs | |
2651 | `(("ghc-byteable" ,ghc-byteable) | |
2652 | ("ghc-data-default-class" ,ghc-data-default-class) | |
2653 | ("ghc-network" ,ghc-network) | |
2654 | ("ghc-tls" ,ghc-tls) | |
2655 | ("ghc-socks" ,ghc-socks) | |
2656 | ("ghc-x509" ,ghc-x509) | |
2657 | ("ghc-x509-store" ,ghc-x509-store) | |
2658 | ("ghc-x509-system" ,ghc-x509-system) | |
2659 | ("ghc-x509-validation" ,ghc-x509-validation))) | |
2660 | (home-page "https://github.com/vincenthz/hs-connection") | |
2661 | (synopsis "Simple and easy network connections API") | |
2662 | (description | |
2663 | "This package provides a simple network library for all your connection | |
2664 | needs. It provides a very simple API to create sockets to a destination with | |
2665 | the choice of SSL/TLS, and SOCKS.") | |
2666 | (license license:bsd-3))) | |
2667 | ||
2668 | (define-public ghc-constraints | |
2669 | (package | |
2670 | (name "ghc-constraints") | |
2671 | (version "0.10.1") | |
2672 | (source | |
2673 | (origin | |
2674 | (method url-fetch) | |
2675 | (uri (string-append | |
2676 | "https://hackage.haskell.org/package/constraints/constraints-" | |
2677 | version ".tar.gz")) | |
2678 | (sha256 | |
2679 | (base32 | |
2680 | "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q")))) | |
2681 | (build-system haskell-build-system) | |
2682 | (inputs | |
2683 | `(("ghc-hashable" ,ghc-hashable) | |
2684 | ("ghc-semigroups" ,ghc-semigroups) | |
2685 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
2686 | (native-inputs | |
2687 | `(("ghc-hspec" ,ghc-hspec) | |
2688 | ("hspec-discover" ,hspec-discover))) | |
2689 | (home-page "https://github.com/ekmett/constraints/") | |
2690 | (synopsis "Constraint manipulation") | |
2691 | (description | |
2692 | "GHC 7.4 gave us the ability to talk about @code{ConstraintKinds}. | |
2693 | They stopped crashing the compiler in GHC 7.6. This package provides | |
2694 | a vocabulary for working with them.") | |
2695 | (license license:bsd-3))) | |
2696 | ||
2697 | (define-public ghc-contravariant | |
2698 | (package | |
2699 | (name "ghc-contravariant") | |
e7b35ff0 | 2700 | (version "1.5.2") |
dddbc90c RV |
2701 | (source |
2702 | (origin | |
2703 | (method url-fetch) | |
2704 | (uri (string-append | |
2705 | "https://hackage.haskell.org/package/contravariant/contravariant-" | |
2706 | version | |
2707 | ".tar.gz")) | |
2708 | (sha256 | |
2709 | (base32 | |
e7b35ff0 | 2710 | "0366gl62wwwdbl9i6kqy60asf60876k55v91la6bmhnwwcj2q9n4")))) |
dddbc90c RV |
2711 | (build-system haskell-build-system) |
2712 | (inputs | |
2713 | `(("ghc-void" ,ghc-void) | |
2714 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
2715 | ("ghc-statevar" ,ghc-statevar) | |
2716 | ("ghc-semigroups" ,ghc-semigroups))) | |
2717 | (home-page | |
2718 | "https://github.com/ekmett/contravariant/") | |
2719 | (synopsis "Contravariant functors") | |
2720 | (description "Contravariant functors for Haskell.") | |
2721 | (license license:bsd-3))) | |
2722 | ||
2723 | (define-public ghc-contravariant-extras | |
2724 | (package | |
2725 | (name "ghc-contravariant-extras") | |
2726 | (version "0.3.4") | |
2727 | (source | |
2728 | (origin | |
2729 | (method url-fetch) | |
2730 | (uri (string-append "https://hackage.haskell.org/package/" | |
2731 | "contravariant-extras-" version "/" | |
2732 | "contravariant-extras-" version ".tar.gz")) | |
2733 | (sha256 | |
2734 | (base32 | |
2735 | "0gg62ccl94kvh7mnvdq09pifqxjx2kgs189si90nmg44bafj7a9n")))) | |
2736 | (build-system haskell-build-system) | |
f3aca086 TS |
2737 | (arguments |
2738 | `(#:cabal-revision | |
2739 | ("1" "1h2955ahga6i4fn7k8v66l03v77p6fhsac6ck8gpabkc08ij60wp"))) | |
dddbc90c RV |
2740 | (inputs |
2741 | `(("ghc-tuple-th" ,ghc-tuple-th) | |
2742 | ("ghc-contravariant" ,ghc-contravariant) | |
2743 | ("ghc-base-prelude" ,ghc-base-prelude) | |
2744 | ("ghc-semigroups" ,ghc-semigroups))) | |
2745 | (home-page "https://github.com/nikita-volkov/contravariant-extras") | |
2746 | (synopsis "Extras for the @code{ghc-contravariant} Haskell package") | |
2747 | (description "This Haskell package provides extras for the | |
2748 | @code{ghc-contravariant} package.") | |
2749 | (license license:expat))) | |
2750 | ||
7f2a5650 CH |
2751 | (define-public ghc-control-monad-free |
2752 | (package | |
2753 | (name "ghc-control-monad-free") | |
2754 | (version "0.6.2") | |
2755 | (source | |
2756 | (origin | |
2757 | (method url-fetch) | |
2758 | (uri (string-append | |
2759 | "https://hackage.haskell.org/" | |
2760 | "package/control-monad-free/control-monad-free-" | |
2761 | version | |
2762 | ".tar.gz")) | |
2763 | (sha256 | |
2764 | (base32 | |
2765 | "1habgf7byffqf1rqjkzpihvdhclaafgqsqpfpwp3fgpj5ayk1j33")))) | |
2766 | (build-system haskell-build-system) | |
2767 | (home-page "https://github.com/pepeiborra/control-monad-free") | |
2768 | (synopsis "Free monads and monad transformers") | |
2769 | (description | |
2770 | "This package provides datatypes to construct Free monads, Free monad | |
2771 | transformers, and useful instances. In addition it provides the constructs to | |
2772 | avoid quadratic complexity of left associative bind, as explained in: | |
2773 | ||
2774 | @itemize @bullet | |
2775 | @item | |
2776 | Janis Voigtlander, @cite{Asymptotic Improvement of Computations over | |
2777 | Free Monads, MPC'08} | |
2778 | @end itemize") | |
2779 | (license license:public-domain))) | |
2780 | ||
dddbc90c RV |
2781 | (define-public ghc-convertible |
2782 | (package | |
2783 | (name "ghc-convertible") | |
2784 | (version "1.1.1.0") | |
2785 | (source | |
2786 | (origin | |
2787 | (method url-fetch) | |
2788 | (uri (string-append "https://hackage.haskell.org/package/convertible/" | |
2789 | "convertible-" version ".tar.gz")) | |
2790 | (sha256 | |
2791 | (base32 | |
2792 | "0v18ap1mccnndgxmbfgyjdicg8jlss01bd5fq8a576dr0h4sgyg9")))) | |
2793 | (build-system haskell-build-system) | |
2794 | (inputs | |
2795 | `(("ghc-old-time" ,ghc-old-time) | |
2796 | ("ghc-old-locale" ,ghc-old-locale))) | |
2797 | (home-page "https://hackage.haskell.org/package/convertible") | |
2798 | (synopsis "Typeclasses and instances for converting between types") | |
2799 | (description | |
2800 | "This package provides a typeclass with a single function that is | |
2801 | designed to help convert between different types: numeric values, dates and | |
2802 | times, and the like. The conversions perform bounds checking and return a | |
2803 | pure @code{Either} value. This means that you need not remember which specific | |
2804 | function performs the conversion you desire.") | |
2805 | (license license:bsd-3))) | |
2806 | ||
0ff9a717 CH |
2807 | (define-public ghc-csv |
2808 | (package | |
2809 | (name "ghc-csv") | |
2810 | (version "0.1.2") | |
2811 | (source | |
2812 | (origin | |
2813 | (method url-fetch) | |
2814 | (uri (string-append | |
2815 | "https://hackage.haskell.org/package/csv/csv-" | |
2816 | version | |
2817 | ".tar.gz")) | |
2818 | (sha256 | |
2819 | (base32 | |
2820 | "00767ai09wm7f0yzmpqck3cpgxncpr9djnmmz5l17ajz69139x4c")))) | |
2821 | (build-system haskell-build-system) | |
2822 | (home-page "http://hackage.haskell.org/package/csv") | |
2823 | (synopsis "CSV loader and dumper") | |
2824 | (description | |
2825 | "This library parses and dumps documents that are formatted according to | |
2826 | RFC 4180, @cite{The common Format and MIME Type for Comma-Separated | |
2827 | Values (CSV) Files}. This format is used, among many other things, as a | |
2828 | lingua franca for spreadsheets, and for certain web services.") | |
2829 | (license license:expat))) | |
2830 | ||
dddbc90c RV |
2831 | (define-public ghc-data-accessor |
2832 | (package | |
2833 | (name "ghc-data-accessor") | |
6dcca515 | 2834 | (version "0.2.2.8") |
dddbc90c RV |
2835 | (source |
2836 | (origin | |
2837 | (method url-fetch) | |
2838 | (uri (string-append | |
2839 | "mirror://hackage/package/data-accessor/data-accessor-" | |
2840 | version ".tar.gz")) | |
2841 | (sha256 | |
6dcca515 | 2842 | (base32 "1fq4gygxbz0bd0mzgvc1sl3m4gjnsv8nbgpnmdpa29zj5lb9agxc")))) |
dddbc90c | 2843 | (build-system haskell-build-system) |
228d2901 | 2844 | (home-page "https://wiki.haskell.org/Record_access") |
dddbc90c RV |
2845 | (synopsis |
2846 | "Haskell utilities for accessing and manipulating fields of records") | |
2847 | (description "This package provides Haskell modules for accessing and | |
2848 | manipulating fields of records.") | |
2849 | (license license:bsd-3))) | |
2850 | ||
2851 | (define-public ghc-data-accessor-transformers | |
2852 | (package | |
2853 | (name "ghc-data-accessor-transformers") | |
2854 | (version "0.2.1.7") | |
2855 | (source | |
2856 | (origin | |
2857 | (method url-fetch) | |
2858 | (uri (string-append | |
2859 | "mirror://hackage/package/data-accessor-transformers/" | |
2860 | "data-accessor-transformers-" version ".tar.gz")) | |
2861 | (sha256 | |
2862 | (base32 "0yp030vafbpddl27m606aibbbr5ar5j5bsv4bksscz3cq4yq5j10")))) | |
2863 | (build-system haskell-build-system) | |
2864 | (inputs `(("ghc-data-accessor" ,ghc-data-accessor))) | |
228d2901 | 2865 | (home-page "https://wiki.haskell.org/Record_access") |
dddbc90c RV |
2866 | (synopsis "Use Accessor to access state in transformers State monad") |
2867 | (description "This package provides Haskell modules to allow use of | |
2868 | Accessor to access state in transformers State monad.") | |
2869 | (license license:bsd-3))) | |
2870 | ||
2871 | (define-public ghc-data-default | |
2872 | (package | |
2873 | (name "ghc-data-default") | |
2874 | (version "0.7.1.1") | |
2875 | (source | |
2876 | (origin | |
2877 | (method url-fetch) | |
2878 | (uri (string-append | |
2879 | "https://hackage.haskell.org/package/data-default/data-default-" | |
2880 | version | |
2881 | ".tar.gz")) | |
2882 | (sha256 | |
2883 | (base32 "04d5n8ybmcxba9qb6h389w9zfq1lvj81b82jh6maqp6pkhkmvydh")))) | |
2884 | (build-system haskell-build-system) | |
2885 | (inputs | |
2886 | `(("ghc-data-default-class" | |
2887 | ,ghc-data-default-class) | |
2888 | ("ghc-data-default-instances-base" | |
2889 | ,ghc-data-default-instances-base) | |
2890 | ("ghc-data-default-instances-containers" | |
2891 | ,ghc-data-default-instances-containers) | |
2892 | ("ghc-data-default-instances-dlist" | |
2893 | ,ghc-data-default-instances-dlist) | |
2894 | ("ghc-data-default-instances-old-locale" | |
2895 | ,ghc-data-default-instances-old-locale))) | |
2896 | (home-page "https://hackage.haskell.org/package/data-default") | |
2897 | (synopsis "Types with default values") | |
2898 | (description | |
2899 | "This package defines a class for types with a default value, and | |
2900 | provides instances for types from the base, containers, dlist and old-locale | |
2901 | packages.") | |
2902 | (license license:bsd-3))) | |
2903 | ||
2904 | (define-public ghc-data-default-class | |
2905 | (package | |
2906 | (name "ghc-data-default-class") | |
2907 | (version "0.1.2.0") | |
2908 | (source | |
2909 | (origin | |
2910 | (method url-fetch) | |
2911 | (uri (string-append | |
2912 | "https://hackage.haskell.org/package/data-default-class/" | |
2913 | "data-default-class-" version ".tar.gz")) | |
2914 | (sha256 | |
2915 | (base32 "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag")))) | |
2916 | (build-system haskell-build-system) | |
2917 | (home-page "https://hackage.haskell.org/package/data-default-class") | |
2918 | (synopsis "Types with default values") | |
2919 | (description | |
2920 | "This package defines a class for types with default values.") | |
2921 | (license license:bsd-3))) | |
2922 | ||
2923 | (define-public ghc-data-default-instances-base | |
2924 | (package | |
2925 | (name "ghc-data-default-instances-base") | |
2926 | (version "0.1.0.1") | |
2927 | (source | |
2928 | (origin | |
2929 | (method url-fetch) | |
2930 | (uri (string-append | |
2931 | "https://hackage.haskell.org/package/" | |
2932 | "data-default-instances-base/" | |
2933 | "data-default-instances-base-" version ".tar.gz")) | |
2934 | (sha256 | |
2935 | (base32 "0ym1sw3ssdzzifxxhh76qlv8kkmb2iclc158incv1dklyr9y8kw4")))) | |
2936 | (build-system haskell-build-system) | |
2937 | (inputs | |
2938 | `(("ghc-data-default-class" ,ghc-data-default-class))) | |
2939 | (home-page "https://hackage.haskell.org/package/data-default-instances-base") | |
2940 | (synopsis "Default instances for types in base") | |
2941 | (description | |
2942 | "This package provides default instances for types from the base | |
2943 | package.") | |
2944 | (license license:bsd-3))) | |
2945 | ||
2946 | (define-public ghc-data-default-instances-containers | |
2947 | (package | |
2948 | (name "ghc-data-default-instances-containers") | |
2949 | (version "0.0.1") | |
2950 | (source | |
2951 | (origin | |
2952 | (method url-fetch) | |
2953 | (uri (string-append | |
2954 | "https://hackage.haskell.org/package/" | |
2955 | "data-default-instances-containers/" | |
2956 | "data-default-instances-containers-" version ".tar.gz")) | |
2957 | (sha256 | |
2958 | (base32 "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5")))) | |
2959 | (build-system haskell-build-system) | |
2960 | (inputs | |
2961 | `(("ghc-data-default-class" ,ghc-data-default-class))) | |
2962 | (home-page "https://hackage.haskell.org/package/data-default-instances-containers") | |
2963 | (synopsis "Default instances for types in containers") | |
2964 | (description "Provides default instances for types from the containers | |
2965 | package.") | |
2966 | (license license:bsd-3))) | |
2967 | ||
2968 | (define-public ghc-data-default-instances-dlist | |
2969 | (package | |
2970 | (name "ghc-data-default-instances-dlist") | |
2971 | (version "0.0.1") | |
2972 | (source | |
2973 | (origin | |
2974 | (method url-fetch) | |
2975 | (uri (string-append | |
2976 | "https://hackage.haskell.org/package/" | |
2977 | "data-default-instances-dlist/" | |
2978 | "data-default-instances-dlist-" version ".tar.gz")) | |
2979 | (sha256 | |
2980 | (base32 "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x")))) | |
2981 | (build-system haskell-build-system) | |
2982 | (inputs | |
2983 | `(("ghc-data-default-class" ,ghc-data-default-class) | |
2984 | ("ghc-dlist" ,ghc-dlist))) | |
2985 | (home-page "https://hackage.haskell.org/package/data-default-instances-dlist") | |
2986 | (synopsis "Default instances for types in dlist") | |
2987 | (description "Provides default instances for types from the dlist | |
2988 | package.") | |
2989 | (license license:bsd-3))) | |
2990 | ||
2991 | (define-public ghc-data-default-instances-old-locale | |
2992 | (package | |
2993 | (name "ghc-data-default-instances-old-locale") | |
2994 | (version "0.0.1") | |
2995 | (source | |
2996 | (origin | |
2997 | (method url-fetch) | |
2998 | (uri (string-append | |
2999 | "https://hackage.haskell.org/package/" | |
3000 | "data-default-instances-old-locale/" | |
3001 | "data-default-instances-old-locale-" version ".tar.gz")) | |
3002 | (sha256 | |
3003 | (base32 "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0")))) | |
3004 | (build-system haskell-build-system) | |
3005 | (inputs | |
3006 | `(("ghc-data-default-class" ,ghc-data-default-class) | |
3007 | ("ghc-old-locale" ,ghc-old-locale))) | |
3008 | (home-page | |
3009 | "https://hackage.haskell.org/package/data-default-instances-old-locale") | |
3010 | (synopsis "Default instances for types in old-locale") | |
3011 | (description "Provides Default instances for types from the old-locale | |
3012 | package.") | |
3013 | (license license:bsd-3))) | |
3014 | ||
82c36002 JS |
3015 | (define-public ghc-data-fix |
3016 | (package | |
3017 | (name "ghc-data-fix") | |
3018 | (version "0.2.0") | |
3019 | (source | |
3020 | (origin | |
3021 | (method url-fetch) | |
3022 | (uri (string-append | |
3023 | "mirror://hackage/package/data-fix/" | |
3024 | "data-fix-" version ".tar.gz")) | |
3025 | (sha256 | |
3026 | (base32 "14hk6hq5hdb3l5bhmzhw086jpzlvp9qbw9dzw30wlz5jbh2ihmvy")))) | |
3027 | (build-system haskell-build-system) | |
3028 | (home-page "https://github.com/spell-music/data-fix") | |
3029 | (synopsis "Fixpoint data types") | |
3030 | (description | |
3031 | "Fixpoint types and recursion schemes. If you define your AST as | |
3032 | fixpoint type, you get fold and unfold operations for free. | |
3033 | ||
3034 | Thanks for contribution to: Matej Kollar, Herbert Valerio Riedel") | |
3035 | (license license:bsd-3))) | |
3036 | ||
dddbc90c RV |
3037 | (define-public ghc-data-hash |
3038 | (package | |
3039 | (name "ghc-data-hash") | |
3040 | (version "0.2.0.1") | |
3041 | (source | |
3042 | (origin | |
3043 | (method url-fetch) | |
3044 | (uri (string-append "https://hackage.haskell.org/package/data-hash" | |
3045 | "/data-hash-" version ".tar.gz")) | |
3046 | (sha256 | |
3047 | (base32 "1ghbqvc48gf9p8wiy71hdpaj7by3b9cw6wgwi3qqz8iw054xs5wi")))) | |
3048 | (build-system haskell-build-system) | |
3049 | (inputs | |
3050 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3051 | ("ghc-test-framework" ,ghc-test-framework) | |
3052 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
3053 | (home-page "https://hackage.haskell.org/package/data-hash") | |
3054 | (synopsis "Combinators for building fast hashing functions") | |
3055 | (description | |
3056 | "This package provides combinators for building fast hashing functions. | |
3057 | It includes hashing functions for all basic Haskell98 types.") | |
3058 | (license license:bsd-3))) | |
3059 | ||
3060 | (define-public ghc-data-ordlist | |
3061 | (package | |
3062 | (name "ghc-data-ordlist") | |
3063 | (version "0.4.7.0") | |
3064 | (source | |
3065 | (origin | |
3066 | (method url-fetch) | |
3067 | (uri (string-append | |
3068 | "https://hackage.haskell.org/package/data-ordlist/data-ordlist-" | |
3069 | version ".tar.gz")) | |
3070 | (sha256 | |
3071 | (base32 | |
3072 | "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g")))) | |
3073 | (build-system haskell-build-system) | |
3074 | (home-page "https://hackage.haskell.org/package/data-ordlist") | |
3075 | (synopsis "Set and bag operations on ordered lists") | |
3076 | (description | |
3077 | "This module provides set and multiset operations on ordered lists.") | |
3078 | (license license:bsd-3))) | |
3079 | ||
d05f32d6 JS |
3080 | (define-public ghc-dbus |
3081 | (package | |
3082 | (name "ghc-dbus") | |
3083 | (version "1.2.7") | |
3084 | (source | |
3085 | (origin | |
3086 | (method url-fetch) | |
3087 | (uri | |
3088 | (string-append | |
3089 | "mirror://hackage/package/dbus/dbus-" | |
3090 | version ".tar.gz")) | |
3091 | (sha256 | |
3092 | (base32 | |
3093 | "0ypkjlw9fn65g7p28kb3p82glk7qs7p7vyffccw7qxa3z57s12w5")))) | |
3094 | (build-system haskell-build-system) | |
3095 | (inputs | |
3096 | `(("ghc-cereal" ,ghc-cereal) | |
3097 | ("ghc-conduit" ,ghc-conduit) | |
3098 | ("ghc-exceptions" ,ghc-exceptions) | |
3099 | ("ghc-lens" ,ghc-lens) | |
3100 | ("ghc-network" ,ghc-network) | |
3101 | ("ghc-random" ,ghc-random) | |
3102 | ("ghc-split" ,ghc-split) | |
3103 | ("ghc-th-lift" ,ghc-th-lift) | |
3104 | ("ghc-vector" ,ghc-vector) | |
3105 | ("ghc-xml-conduit" ,ghc-xml-conduit) | |
3106 | ("ghc-xml-types" ,ghc-xml-types))) | |
3107 | (native-inputs | |
3108 | `(("ghc-extra" ,ghc-extra) | |
3109 | ("ghc-quickcheck" ,ghc-quickcheck) | |
3110 | ("ghc-resourcet" ,ghc-resourcet) | |
3111 | ("ghc-tasty" ,ghc-tasty) | |
3112 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
3113 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
3114 | ;; FIXME - Some tests try to talk to network. | |
3115 | (arguments `(#:tests? #f)) | |
3116 | (home-page "https://github.com/rblaze/haskell-dbus") | |
3117 | (synopsis "Client library for the D-Bus IPC system") | |
3118 | (description | |
3119 | "D-Bus is a simple, message-based protocol for inter-process | |
3120 | communication, which allows applications to interact with other parts | |
3121 | of the machine and the user's session using remote procedure | |
3122 | calls. D-Bus is a essential part of the modern Linux desktop, where | |
3123 | it replaces earlier protocols such as CORBA and DCOP. This library | |
3124 | is an implementation of the D-Bus protocol in Haskell. It can be used | |
3125 | to add D-Bus support to Haskell applications, without the awkward | |
3126 | interfaces common to foreign bindings.") | |
3127 | (license license:asl2.0))) | |
3128 | ||
9b3b327a CH |
3129 | (define-public ghc-decimal |
3130 | (package | |
3131 | (name "ghc-decimal") | |
3132 | (version "0.5.1") | |
3133 | (source | |
3134 | (origin | |
3135 | (method url-fetch) | |
3136 | (uri (string-append | |
3137 | "https://hackage.haskell.org/package/Decimal/Decimal-" | |
3138 | version | |
3139 | ".tar.gz")) | |
3140 | (sha256 | |
3141 | (base32 | |
3142 | "0k7kh05mr2f54w1lpgq1nln0h8k6s6h99dyp5jzsb9cfbb3aap2p")))) | |
3143 | (build-system haskell-build-system) | |
3144 | (native-inputs | |
3145 | `(("ghc-hunit" ,ghc-hunit) | |
3146 | ("ghc-quickcheck" ,ghc-quickcheck) | |
3147 | ("ghc-test-framework" ,ghc-test-framework) | |
3148 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
3149 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
3150 | (home-page "https://github.com/PaulJohnson/Haskell-Decimal") | |
3151 | (synopsis "Decimal numbers with variable precision") | |
3152 | (description | |
3153 | "A decimal number has an integer mantissa and a negative exponent. | |
3154 | The exponent can be interpreted as the number of decimal places in the | |
3155 | value.") | |
3156 | (license license:bsd-3))) | |
3157 | ||
dddbc90c RV |
3158 | (define-public ghc-deepseq-generics |
3159 | (package | |
3160 | (name "ghc-deepseq-generics") | |
3161 | (version "0.2.0.0") | |
3162 | (source (origin | |
3163 | (method url-fetch) | |
3164 | (uri (string-append "https://hackage.haskell.org/package/" | |
3165 | "deepseq-generics/deepseq-generics-" | |
3166 | version ".tar.gz")) | |
3167 | (sha256 | |
3168 | (base32 | |
3169 | "17bwghc15mc9pchfd1w46jh2p3wzc86aj6a537wqwxn08rayzcxh")))) | |
3170 | (build-system haskell-build-system) | |
3171 | (arguments | |
3172 | `(#:cabal-revision | |
490ceae4 | 3173 | ("4" "0928s2qnbqsjzrm94x88rvmvbigfmhcyp4m73gw6asinp2qg1kii"))) |
dddbc90c RV |
3174 | (native-inputs |
3175 | `(("ghc-hunit" ,ghc-hunit) | |
3176 | ("ghc-test-framework" ,ghc-test-framework) | |
3177 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
3178 | (home-page "https://github.com/hvr/deepseq-generics") | |
3179 | (synopsis "Generic RNF implementation") | |
3180 | (description | |
3181 | "This package provides a @code{GHC.Generics}-based | |
3182 | @code{Control.DeepSeq.Generics.genericRnf} function which can be used for | |
3183 | providing an @code{rnf} implementation.") | |
3184 | (license license:bsd-3))) | |
3185 | ||
e924e17e TS |
3186 | (define-public ghc-dense-linear-algebra |
3187 | (package | |
3188 | (name "ghc-dense-linear-algebra") | |
3189 | (version "0.1.0.0") | |
3190 | (source | |
3191 | (origin | |
3192 | (method url-fetch) | |
3193 | (uri (string-append "https://hackage.haskell.org/package/" | |
3194 | "dense-linear-algebra/dense-linear-algebra-" | |
3195 | version ".tar.gz")) | |
3196 | (sha256 | |
3197 | (base32 | |
3198 | "1m7jjxahqxj7ilic3r9806mwp5rnnsmn8vvipkmk40xl65wplxzp")))) | |
3199 | (build-system haskell-build-system) | |
3200 | (inputs | |
3201 | `(("ghc-math-functions" ,ghc-math-functions) | |
3202 | ("ghc-primitive" ,ghc-primitive) | |
3203 | ("ghc-vector" ,ghc-vector) | |
3204 | ("ghc-vector-algorithms" ,ghc-vector-algorithms) | |
3205 | ("ghc-vector-th-unbox" ,ghc-vector-th-unbox) | |
3206 | ("ghc-vector-binary-instances" ,ghc-vector-binary-instances))) | |
3207 | (native-inputs | |
3208 | `(("ghc-hspec" ,ghc-hspec) | |
3209 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
50153437 | 3210 | (home-page "https://hackage.haskell.org/package/dense-linear-algebra") |
e924e17e TS |
3211 | (synopsis "Simple and incomplete implementation of linear algebra") |
3212 | (description "This library is simply a collection of linear-algebra | |
3213 | related modules split from the statistics library.") | |
3214 | (license license:bsd-2))) | |
3215 | ||
dddbc90c RV |
3216 | (define-public ghc-descriptive |
3217 | (package | |
3218 | (name "ghc-descriptive") | |
3219 | (version "0.9.5") | |
3220 | (source | |
3221 | (origin | |
3222 | (method url-fetch) | |
3223 | (uri (string-append | |
3224 | "https://hackage.haskell.org/package/descriptive/descriptive-" | |
3225 | version | |
3226 | ".tar.gz")) | |
3227 | (sha256 | |
3228 | (base32 | |
3229 | "0y5693zm2kvqjilybbmrcv1g6n6x2p6zjgi0k0axjw1sdhh1g237")))) | |
3230 | (build-system haskell-build-system) | |
3231 | (inputs | |
3232 | `(("ghc-aeson" ,ghc-aeson) | |
3233 | ("ghc-bifunctors" ,ghc-bifunctors) | |
3234 | ("ghc-scientific" ,ghc-scientific) | |
3235 | ("ghc-vector" ,ghc-vector))) | |
3236 | (native-inputs | |
3237 | `(("ghc-hunit" ,ghc-hunit) | |
3238 | ("ghc-hspec" ,ghc-hspec))) | |
3239 | (home-page | |
3240 | "https://github.com/chrisdone/descriptive") | |
3241 | (synopsis | |
3242 | "Self-describing consumers/parsers: forms, cmd-line args, JSON, etc.") | |
3243 | (description | |
3244 | "This package provides datatypes and functions for creating consumers | |
3245 | and parsers with useful semantics.") | |
3246 | (license license:bsd-3))) | |
3247 | ||
1859c94a TS |
3248 | (define-public ghc-diagrams-core |
3249 | (package | |
3250 | (name "ghc-diagrams-core") | |
3251 | (version "1.4.2") | |
3252 | (source | |
3253 | (origin | |
3254 | (method url-fetch) | |
3255 | (uri (string-append "https://hackage.haskell.org/package/" | |
3256 | "diagrams-core/diagrams-core-" version ".tar.gz")) | |
3257 | (sha256 | |
3258 | (base32 | |
3259 | "0qgb43vy23g4fxh3nmxfq6jyp34imqvkhgflaa6rz0iq6d60gl43")))) | |
3260 | (build-system haskell-build-system) | |
3261 | (inputs | |
3262 | `(("ghc-unordered-containers" ,ghc-unordered-containers) | |
3263 | ("ghc-semigroups" ,ghc-semigroups) | |
3264 | ("ghc-monoid-extras" ,ghc-monoid-extras) | |
3265 | ("ghc-dual-tree" ,ghc-dual-tree) | |
3266 | ("ghc-lens" ,ghc-lens) | |
3267 | ("ghc-linear" ,ghc-linear) | |
3268 | ("ghc-adjunctions" ,ghc-adjunctions) | |
3269 | ("ghc-distributive" ,ghc-distributive) | |
3270 | ("ghc-profunctors" ,ghc-profunctors))) | |
3271 | (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/") | |
3272 | (synopsis "Core libraries for diagrams embedded domain-specific language") | |
3273 | (description "This package provides the core modules underlying | |
3274 | diagrams, an embedded domain-specific language for compositional, | |
3275 | declarative drawing.") | |
3276 | (license license:bsd-3))) | |
3277 | ||
f9f1a630 TS |
3278 | (define-public ghc-diagrams-lib |
3279 | (package | |
3280 | (name "ghc-diagrams-lib") | |
3281 | (version "1.4.2.3") | |
3282 | (source | |
3283 | (origin | |
3284 | (method url-fetch) | |
3285 | (uri (string-append "https://hackage.haskell.org/package/" | |
3286 | "diagrams-lib/diagrams-lib-" version ".tar.gz")) | |
3287 | (sha256 | |
3288 | (base32 | |
3289 | "175yzi5kw4yd8ykdkpf64q85c7j3p89l90m3h6qcsx9ipv6av9r5")))) | |
3290 | (build-system haskell-build-system) | |
3291 | (inputs | |
3292 | `(("ghc-semigroups" ,ghc-semigroups) | |
3293 | ("ghc-monoid-extras" ,ghc-monoid-extras) | |
3294 | ("ghc-dual-tree" ,ghc-dual-tree) | |
3295 | ("ghc-diagrams-core" ,ghc-diagrams-core) | |
3296 | ("ghc-diagrams-solve" ,ghc-diagrams-solve) | |
3297 | ("ghc-active" ,ghc-active) | |
3298 | ("ghc-colour" ,ghc-colour) | |
3299 | ("ghc-data-default-class" ,ghc-data-default-class) | |
3300 | ("ghc-fingertree" ,ghc-fingertree) | |
3301 | ("ghc-intervals" ,ghc-intervals) | |
3302 | ("ghc-lens" ,ghc-lens) | |
3303 | ("ghc-tagged" ,ghc-tagged) | |
3304 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
3305 | ("ghc-juicypixels" ,ghc-juicypixels) | |
3306 | ("ghc-hashable" ,ghc-hashable) | |
3307 | ("ghc-linear" ,ghc-linear) | |
3308 | ("ghc-adjunctions" ,ghc-adjunctions) | |
3309 | ("ghc-distributive" ,ghc-distributive) | |
3310 | ("ghc-fsnotify" ,ghc-fsnotify) | |
3311 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
3312 | ("ghc-profunctors" ,ghc-profunctors) | |
3313 | ("ghc-exceptions" ,ghc-exceptions) | |
3314 | ("ghc-cereal" ,ghc-cereal))) | |
3315 | (native-inputs | |
3316 | `(("ghc-tasty" ,ghc-tasty) | |
3317 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
3318 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
3319 | ("ghc-numeric-extras" ,ghc-numeric-extras))) | |
3320 | (arguments | |
3321 | `(#:cabal-revision | |
3322 | ("3" "157y2qdsh0aczs81vzlm377mks976mpv6y3aqnchwsnr7apzp8ai"))) | |
3323 | (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/") | |
3324 | (synopsis "Embedded domain-specific language for declarative graphics") | |
3325 | (description "Diagrams is a flexible, extensible embedded | |
3326 | domain-specific language (EDSL) for creating graphics of many types. | |
3327 | Graphics can be created in arbitrary vector spaces and rendered with | |
3328 | multiple backends. This package provides a standard library of | |
3329 | primitives and operations for creating diagrams.") | |
3330 | (license license:bsd-3))) | |
3331 | ||
fd33ffa0 TS |
3332 | (define-public ghc-diagrams-solve |
3333 | (package | |
3334 | (name "ghc-diagrams-solve") | |
3335 | (version "0.1.1") | |
3336 | (source | |
3337 | (origin | |
3338 | (method url-fetch) | |
3339 | (uri (string-append "https://hackage.haskell.org/package/" | |
3340 | "diagrams-solve/diagrams-solve-" | |
3341 | version ".tar.gz")) | |
3342 | (sha256 | |
3343 | (base32 | |
3344 | "17agchqkmj14b17sw50kzxq4hm056g5d8yy0wnqn5w8h1d0my7x4")))) | |
3345 | (build-system haskell-build-system) | |
3346 | (native-inputs | |
3347 | `(("ghc-tasty" ,ghc-tasty) | |
3348 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
3349 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
3350 | (arguments | |
3351 | `(#:cabal-revision | |
3352 | ("5" "1yl8cs05fzqcz49p601am1ij66m9pa70yamhfxgcvya2pf8nimlf"))) | |
3353 | (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/") | |
3354 | (synopsis "Pure Haskell solver routines used by diagrams") | |
3355 | (description "This library provides Pure Haskell solver routines for | |
3356 | use by the | |
3357 | @url{https://archives.haskell.org/projects.haskell.org/diagrams/, | |
3358 | diagrams framework}. It currently includes routines for finding real | |
3359 | roots of low-degree (@math{n < 5}) polynomials, and solving tridiagonal | |
3360 | and cyclic tridiagonal linear systems.") | |
3361 | (license license:bsd-3))) | |
3362 | ||
74be1cb7 TS |
3363 | (define-public ghc-diagrams-svg |
3364 | (package | |
3365 | (name "ghc-diagrams-svg") | |
3366 | (version "1.4.2") | |
3367 | (source | |
3368 | (origin | |
3369 | (method url-fetch) | |
3370 | (uri (string-append "https://hackage.haskell.org/package/" | |
3371 | "diagrams-svg/diagrams-svg-" version ".tar.gz")) | |
3372 | (sha256 | |
3373 | (base32 | |
3374 | "1lnyxx45yawqas7hmvvannwaa3ycf1l9g40lsl2m8sl2ja6vcmal")))) | |
3375 | (build-system haskell-build-system) | |
3376 | (inputs | |
3377 | `(("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
3378 | ("ghc-colour" ,ghc-colour) | |
3379 | ("ghc-diagrams-core" ,ghc-diagrams-core) | |
3380 | ("ghc-diagrams-lib" ,ghc-diagrams-lib) | |
3381 | ("ghc-monoid-extras" ,ghc-monoid-extras) | |
3382 | ("ghc-svg-builder" ,ghc-svg-builder) | |
3383 | ("ghc-juicypixels" ,ghc-juicypixels) | |
3384 | ("ghc-split" ,ghc-split) | |
3385 | ("ghc-lens" ,ghc-lens) | |
3386 | ("ghc-hashable" ,ghc-hashable) | |
3387 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
3388 | ("ghc-semigroups" ,ghc-semigroups))) | |
3389 | (arguments | |
3390 | `(#:cabal-revision | |
3391 | ("2" "15sn85xaachw4cj56w61bjcwrbf4qmnkfl8mbgdapxi5k0y4f2qv"))) | |
3392 | (home-page "https://archives.haskell.org/projects.haskell.org/diagrams/") | |
3393 | (synopsis "Scalable Vector Grpahics backend for the diagrams framework") | |
3394 | (description "This package provides a modular backend for rendering | |
3395 | diagrams created with the diagrams embedded domain-specific | |
3396 | language (EDSL) to Scalable Vector Graphics (SVG) files.") | |
3397 | (license license:bsd-3))) | |
3398 | ||
4eb9a167 TS |
3399 | (define-public ghc-dictionary-sharing |
3400 | (package | |
3401 | (name "ghc-dictionary-sharing") | |
3402 | (version "0.1.0.0") | |
3403 | (source | |
3404 | (origin | |
3405 | (method url-fetch) | |
3406 | (uri (string-append "https://hackage.haskell.org/package/" | |
3407 | "dictionary-sharing/dictionary-sharing-" | |
3408 | version ".tar.gz")) | |
3409 | (sha256 | |
3410 | (base32 | |
3411 | "00aspv943qdqhlk39mbk00kb1dsa5r0caj8sslrn81fnsn252fwc")))) | |
3412 | (build-system haskell-build-system) | |
3413 | (arguments | |
3414 | `(#:cabal-revision | |
3415 | ("3" "1mn7jcc7h3b8f1pn9zigqp6mc2n0qb66lms5qnrx4zswdv5w9439"))) | |
3416 | (home-page "https://hackage.haskell.org/package/dictionary-sharing") | |
3417 | (synopsis "Sharing/memoization of class members") | |
3418 | (description "This library provides tools for ensuring that class | |
3419 | members are shared.") | |
3420 | (license license:bsd-3))) | |
3421 | ||
dddbc90c RV |
3422 | (define-public ghc-diff |
3423 | (package | |
3424 | (name "ghc-diff") | |
3425 | (version "0.3.4") | |
3426 | (source (origin | |
3427 | (method url-fetch) | |
3428 | (uri (string-append "https://hackage.haskell.org/package/" | |
3429 | "Diff/Diff-" version ".tar.gz")) | |
a531ff94 | 3430 | (patches (search-patches "ghc-diff-swap-cover-args.patch")) |
dddbc90c RV |
3431 | (sha256 |
3432 | (base32 | |
3433 | "0bqcdvhxx8dmqc3793m6axg813wv9ldz2j37f1wygbbrbbndmdvp")))) | |
3434 | (build-system haskell-build-system) | |
3435 | (native-inputs | |
3436 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3437 | ("ghc-test-framework" ,ghc-test-framework) | |
3438 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
3439 | (home-page "https://hub.darcs.net/sterlingclover/Diff") | |
3440 | (synopsis "O(ND) diff algorithm in Haskell") | |
3441 | (description | |
3442 | "This package provides an implementation of the standard diff algorithm, | |
3443 | and utilities for pretty printing.") | |
3444 | (license license:bsd-3))) | |
3445 | ||
3446 | (define-public ghc-disk-free-space | |
3447 | (package | |
3448 | (name "ghc-disk-free-space") | |
3449 | (version "0.1.0.1") | |
3450 | (source | |
3451 | (origin | |
3452 | (method url-fetch) | |
3453 | (uri (string-append "https://hackage.haskell.org/package/" | |
3454 | "disk-free-space/disk-free-space-" | |
3455 | version ".tar.gz")) | |
3456 | (sha256 | |
3457 | (base32 | |
3458 | "07rqj8k1vh3cykq9yidpjxhgh1f7vgmjs6y1nv5kq2217ff4yypi")))) | |
3459 | (build-system haskell-build-system) | |
3460 | (home-page "https://github.com/redneb/disk-free-space") | |
3461 | (synopsis "Retrieve information about disk space usage") | |
3462 | (description "A cross-platform library for retrieving information about | |
3463 | disk space usage.") | |
3464 | (license license:bsd-3))) | |
3465 | ||
3466 | (define-public ghc-distributive | |
3467 | (package | |
3468 | (name "ghc-distributive") | |
78215a14 | 3469 | (version "0.6.2") |
dddbc90c RV |
3470 | (source |
3471 | (origin | |
3472 | (method url-fetch) | |
3473 | (uri (string-append | |
3474 | "https://hackage.haskell.org/package/distributive/distributive-" | |
3475 | version | |
3476 | ".tar.gz")) | |
3477 | (sha256 | |
3478 | (base32 | |
78215a14 | 3479 | "1j93zkfffm6s16kgr0j0z87y5ds28rw0r2gyc5ncwcylvrqy4kl2")))) |
dddbc90c | 3480 | (build-system haskell-build-system) |
dddbc90c RV |
3481 | (inputs |
3482 | `(("ghc-tagged" ,ghc-tagged) | |
3483 | ("ghc-base-orphans" ,ghc-base-orphans) | |
3484 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
3485 | ("ghc-semigroups" ,ghc-semigroups) | |
3486 | ("ghc-generic-deriving" ,ghc-generic-deriving))) | |
3487 | (native-inputs | |
3488 | `(("cabal-doctest" ,cabal-doctest) | |
3489 | ("ghc-doctest" ,ghc-doctest) | |
3490 | ("ghc-hspec" ,ghc-hspec) | |
3491 | ("hspec-discover" ,hspec-discover))) | |
3492 | (home-page "https://github.com/ekmett/distributive/") | |
3493 | (synopsis "Distributive functors for Haskell") | |
3494 | (description "This package provides distributive functors for Haskell. | |
3495 | Dual to @code{Traversable}.") | |
3496 | (license license:bsd-3))) | |
3497 | ||
3498 | (define-public ghc-dlist | |
3499 | (package | |
3500 | (name "ghc-dlist") | |
197ddf33 | 3501 | (version "0.8.0.7") |
dddbc90c RV |
3502 | (source |
3503 | (origin | |
3504 | (method url-fetch) | |
3505 | (uri (string-append | |
3506 | "https://hackage.haskell.org/package/dlist/dlist-" | |
3507 | version | |
3508 | ".tar.gz")) | |
3509 | (sha256 | |
197ddf33 | 3510 | (base32 "0b5spkzvj2kx8pk86xz0djkxs13j7dryf5fl16dk4mlp1wh6mh53")))) |
dddbc90c RV |
3511 | (build-system haskell-build-system) |
3512 | (inputs | |
3513 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
3514 | (home-page "https://github.com/spl/dlist") | |
3515 | (synopsis "Difference lists") | |
3516 | (description | |
3517 | "Difference lists are a list-like type supporting O(1) append. This is | |
3518 | particularly useful for efficient logging and pretty printing (e.g. with the | |
3519 | Writer monad), where list append quickly becomes too expensive.") | |
3520 | (license license:bsd-3))) | |
3521 | ||
3522 | (define-public ghc-doctemplates | |
3523 | (package | |
3524 | (name "ghc-doctemplates") | |
3525 | (version "0.2.2.1") | |
3526 | (source | |
3527 | (origin | |
3528 | (method url-fetch) | |
3529 | (uri (string-append "https://hackage.haskell.org/package/" | |
3530 | "doctemplates/doctemplates-" | |
3531 | version ".tar.gz")) | |
3532 | (sha256 | |
3533 | (base32 | |
3534 | "1gyckfg3kgvzhxw14i7iwrw0crygvsp86sy53bbr1yn7bxbgn33b")))) | |
3535 | (build-system haskell-build-system) | |
3536 | (inputs | |
3537 | `(("ghc-aeson" ,ghc-aeson) | |
3538 | ("ghc-blaze-markup" ,ghc-blaze-markup) | |
3539 | ("ghc-blaze-html" ,ghc-blaze-html) | |
3540 | ("ghc-vector" ,ghc-vector) | |
3541 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
3542 | ("ghc-scientific" ,ghc-scientific))) | |
3543 | (native-inputs | |
3544 | `(("ghc-hspec" ,ghc-hspec))) | |
3545 | (home-page "https://github.com/jgm/doctemplates#readme") | |
3546 | (synopsis "Pandoc-style document templates") | |
3547 | (description | |
3548 | "This package provides a simple text templating system used by pandoc.") | |
3549 | (license license:bsd-3))) | |
3550 | ||
3551 | (define-public ghc-doctest | |
3552 | (package | |
3553 | (name "ghc-doctest") | |
df0e4113 | 3554 | (version "0.16.2") |
dddbc90c RV |
3555 | (source |
3556 | (origin | |
3557 | (method url-fetch) | |
3558 | (uri (string-append | |
3559 | "https://hackage.haskell.org/package/doctest/doctest-" | |
3560 | version | |
3561 | ".tar.gz")) | |
3562 | (sha256 | |
3563 | (base32 | |
df0e4113 | 3564 | "0lk4cjfzi5bx2snfzw1zi06li0gvgz3ckfh2kwa98l7nxfdl39ag")))) |
dddbc90c RV |
3565 | (build-system haskell-build-system) |
3566 | (arguments `(#:tests? #f)) ; FIXME: missing test framework | |
3567 | (inputs | |
232eab1d | 3568 | `(("ghc-base-compat" ,ghc-base-compat) |
dddbc90c | 3569 | ("ghc-code-page" ,ghc-code-page) |
232eab1d CH |
3570 | ("ghc-paths" ,ghc-paths) |
3571 | ("ghc-syb" ,ghc-syb))) | |
3572 | (native-inputs | |
3573 | `(("ghc-hunit" ,ghc-hunit) | |
dddbc90c | 3574 | ("ghc-quickcheck" ,ghc-quickcheck) |
232eab1d | 3575 | ("ghc-hspec" ,ghc-hspec) |
232eab1d CH |
3576 | ("ghc-mockery" ,ghc-mockery) |
3577 | ("ghc-setenv" ,ghc-setenv) | |
dddbc90c | 3578 | ("ghc-silently" ,ghc-silently) |
232eab1d | 3579 | ("ghc-stringbuilder" ,ghc-stringbuilder))) |
dddbc90c RV |
3580 | (home-page |
3581 | "https://github.com/sol/doctest#readme") | |
3582 | (synopsis "Test interactive Haskell examples") | |
3583 | (description "The doctest program checks examples in source code comments. | |
3584 | It is modeled after doctest for Python, see | |
3585 | @uref{https://docs.python.org/library/doctest.html, the Doctest website}.") | |
3586 | (license license:expat))) | |
3587 | ||
2b2c8911 JS |
3588 | (define-public ghc-dotgen |
3589 | (package | |
3590 | (name "ghc-dotgen") | |
3591 | (version "0.4.2") | |
3592 | (source | |
3593 | (origin | |
3594 | (method url-fetch) | |
3595 | (uri (string-append | |
3596 | "mirror://hackage/package/dotgen/dotgen-" | |
3597 | version | |
3598 | ".tar.gz")) | |
3599 | (sha256 | |
3600 | (base32 | |
3601 | "148q93qsmqgr5pzdwvpjqfd6bdm1pwzcp2rblfwswx2x8c5f43fg")))) | |
3602 | (build-system haskell-build-system) | |
3603 | (home-page "https://github.com/ku-fpg/dotgen") | |
3604 | (synopsis | |
3605 | "Simple interface for building .dot graph files") | |
3606 | (description | |
3607 | "This package provides a simple interface for building .dot graph | |
3608 | files, for input into the dot and graphviz tools. It includes a | |
3609 | monadic interface for building graphs.") | |
3610 | (license license:bsd-3))) | |
3611 | ||
dddbc90c RV |
3612 | (define-public ghc-double-conversion |
3613 | (package | |
3614 | (name "ghc-double-conversion") | |
3615 | (version "2.0.2.0") | |
3616 | (source | |
3617 | (origin | |
3618 | (method url-fetch) | |
3619 | (uri (string-append "https://hackage.haskell.org/package/" | |
3620 | "double-conversion/double-conversion-" | |
3621 | version ".tar.gz")) | |
3622 | (sha256 | |
3623 | (base32 | |
3624 | "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4")))) | |
3625 | (build-system haskell-build-system) | |
3626 | (native-inputs | |
3627 | `(("ghc-hunit" ,ghc-hunit) | |
3628 | ("ghc-test-framework" ,ghc-test-framework) | |
3629 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
3630 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
3631 | (home-page "https://github.com/bos/double-conversion") | |
3632 | (synopsis "Fast conversion between double precision floating point and text") | |
3633 | (description | |
3634 | "This package provides a library that performs fast, accurate conversion | |
3635 | between double precision floating point and text.") | |
3636 | (license license:bsd-3))) | |
3637 | ||
577a78b7 TS |
3638 | (define-public ghc-dual-tree |
3639 | (package | |
3640 | (name "ghc-dual-tree") | |
3641 | (version "0.2.2.1") | |
3642 | (source | |
3643 | (origin | |
3644 | (method url-fetch) | |
3645 | (uri (string-append "https://hackage.haskell.org/package/" | |
3646 | "dual-tree/dual-tree-" version ".tar.gz")) | |
3647 | (sha256 | |
3648 | (base32 | |
3649 | "17kdfnf0df0z5pkiifxrlmyd1xd7hjjaazd2kzyajl0gd00vbszx")))) | |
3650 | (build-system haskell-build-system) | |
3651 | (inputs | |
3652 | `(("ghc-semigroups" ,ghc-semigroups) | |
3653 | ("ghc-newtype-generics" ,ghc-newtype-generics) | |
3654 | ("ghc-monoid-extras" ,ghc-monoid-extras))) | |
3655 | (native-inputs | |
3656 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3657 | ("ghc-testing-feat" ,ghc-testing-feat))) | |
3658 | (home-page "https://hackage.haskell.org/package/dual-tree") | |
3659 | (synopsis "Rose trees with cached and accumulating monoidal annotations") | |
3660 | (description "Rose (@math{n}-ary) trees with both upwards- (i.e. | |
3661 | cached) and downwards-traveling (i.e. accumulating) monoidal | |
3662 | annotations. This is used as the core data structure underlying the | |
3663 | @url{https://archives.haskell.org/projects.haskell.org/diagrams/, | |
3664 | diagrams framework}, but potentially has other applications as well.") | |
3665 | (license license:bsd-3))) | |
3666 | ||
dddbc90c RV |
3667 | (define-public ghc-easy-file |
3668 | (package | |
3669 | (name "ghc-easy-file") | |
3670 | (version "0.2.2") | |
3671 | (source | |
3672 | (origin | |
3673 | (method url-fetch) | |
3674 | (uri (string-append | |
3675 | "https://hackage.haskell.org/package/easy-file/easy-file-" | |
3676 | version | |
3677 | ".tar.gz")) | |
3678 | (sha256 | |
3679 | (base32 | |
3680 | "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj")))) | |
3681 | (build-system haskell-build-system) | |
3682 | (home-page | |
3683 | "https://github.com/kazu-yamamoto/easy-file") | |
3684 | (synopsis "File handling library for Haskell") | |
3685 | (description "This library provides file handling utilities for Haskell.") | |
3686 | (license license:bsd-3))) | |
3687 | ||
3688 | (define-public ghc-easyplot | |
3689 | (package | |
3690 | (name "ghc-easyplot") | |
3691 | (version "1.0") | |
3692 | (source | |
3693 | (origin | |
3694 | (method url-fetch) | |
3695 | (uri (string-append | |
3696 | "https://hackage.haskell.org/package/easyplot/easyplot-" | |
3697 | version ".tar.gz")) | |
3698 | (sha256 | |
3699 | (base32 "18kndgvdj2apjpfga6fp7m16y1gx8zrwp3c5vfj03sx4v6jvciqk")))) | |
3700 | (build-system haskell-build-system) | |
3701 | (propagated-inputs `(("gnuplot" ,gnuplot))) | |
3702 | (arguments | |
3703 | `(#:phases (modify-phases %standard-phases | |
3704 | (add-after 'unpack 'fix-setup-suffix | |
3705 | (lambda _ (rename-file "Setup.lhs" "Setup.hs") #t))))) | |
3706 | (home-page "https://hub.darcs.net/scravy/easyplot") | |
3707 | (synopsis "Haskell plotting library based on gnuplot") | |
3708 | (description "This package provides a plotting library for | |
3709 | Haskell, using gnuplot for rendering.") | |
3710 | (license license:expat))) | |
3711 | ||
3712 | (define-public ghc-echo | |
3713 | (package | |
3714 | (name "ghc-echo") | |
3715 | (version "0.1.3") | |
3716 | (source | |
3717 | (origin | |
3718 | (method url-fetch) | |
3719 | (uri (string-append | |
3720 | "https://hackage.haskell.org/package/echo/echo-" | |
3721 | version ".tar.gz")) | |
3722 | (sha256 | |
3723 | (base32 | |
3724 | "1vw5ykpwhr39wc0hhcgq3r8dh59zq6ib4zxbz1qd2wl21wqhfkvh")))) | |
3725 | (build-system haskell-build-system) | |
3726 | (arguments | |
3727 | `(#:cabal-revision | |
3728 | ("1" "0br8wfiybcw5hand4imiw0i5hacdmrax1dv8g95f35gazffbx42l"))) | |
3729 | (home-page "https://github.com/RyanGlScott/echo") | |
3730 | (synopsis "Echo terminal input portably") | |
3731 | (description "The @code{base} library exposes the @code{hGetEcho} and | |
3732 | @code{hSetEcho} functions for querying and setting echo status, but | |
3733 | unfortunately, neither function works with MinTTY consoles on Windows. | |
3734 | This library provides an alternative interface which works with both | |
3735 | MinTTY and other consoles.") | |
3736 | (license license:bsd-3))) | |
3737 | ||
3738 | (define-public ghc-edisonapi | |
3739 | (package | |
3740 | (name "ghc-edisonapi") | |
3741 | (version "1.3.1") | |
3742 | (source | |
3743 | (origin | |
3744 | (method url-fetch) | |
3745 | (uri (string-append "https://hackage.haskell.org/package/EdisonAPI" | |
3746 | "/EdisonAPI-" version ".tar.gz")) | |
3747 | (sha256 | |
3748 | (base32 "0vmmlsj8ggbpwx6fkf5fvb6jp0zpx6iba6b28m80lllr2p8bi8wm")))) | |
3749 | (build-system haskell-build-system) | |
3750 | (home-page "http://rwd.rdockins.name/edison/home/") | |
3751 | (synopsis "Library of efficient, purely-functional data structures (API)") | |
3752 | (description | |
3753 | "Edison is a library of purely functional data structures written by | |
3754 | Chris Okasaki. It is named after Thomas Alva Edison and for the mnemonic | |
3755 | value EDiSon (Efficient Data Structures). Edison provides several families of | |
3756 | abstractions, each with multiple implementations. The main abstractions | |
3757 | provided by Edison are: Sequences such as stacks, queues, and dequeues; | |
3758 | Collections such as sets, bags and heaps; and Associative Collections such as | |
3759 | finite maps and priority queues where the priority and element are distinct.") | |
3760 | (license license:expat))) | |
3761 | ||
3762 | (define-public ghc-edisoncore | |
3763 | (package | |
3764 | (name "ghc-edisoncore") | |
3765 | (version "1.3.2.1") | |
3766 | (source | |
3767 | (origin | |
3768 | (method url-fetch) | |
3769 | (uri (string-append "https://hackage.haskell.org/package/EdisonCore" | |
3770 | "/EdisonCore-" version ".tar.gz")) | |
3771 | (sha256 | |
3772 | (base32 "0fgj5iwiv3v2gdgx7kjcr15dcs4x1kvmjspp3p99wyhh0x6h3ikk")))) | |
3773 | (build-system haskell-build-system) | |
3774 | (inputs | |
3775 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3776 | ("ghc-edisonapi" ,ghc-edisonapi))) | |
3777 | (home-page "http://rwd.rdockins.name/edison/home/") | |
3778 | (synopsis "Library of efficient, purely-functional data structures") | |
3779 | (description | |
3780 | "This package provides the core Edison data structure implementations, | |
3781 | including multiple sequence, set, bag, and finite map concrete implementations | |
3782 | with various performance characteristics.") | |
3783 | (license license:expat))) | |
3784 | ||
3785 | (define-public ghc-edit-distance | |
3786 | (package | |
3787 | (name "ghc-edit-distance") | |
3788 | (version "0.2.2.1") | |
3789 | (source | |
3790 | (origin | |
3791 | (method url-fetch) | |
3792 | (uri (string-append "https://hackage.haskell.org/package/edit-distance" | |
3793 | "/edit-distance-" version ".tar.gz")) | |
3794 | (sha256 | |
3795 | (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y")))) | |
3796 | (build-system haskell-build-system) | |
3797 | (arguments | |
3798 | `(#:phases | |
3799 | (modify-phases %standard-phases | |
3800 | (add-before 'configure 'update-constraints | |
3801 | (lambda _ | |
3802 | (substitute* "edit-distance.cabal" | |
3803 | (("QuickCheck >= 2\\.4 && <2\\.9") | |
d7d143e5 | 3804 | "QuickCheck >= 2.4 && < 2.14"))))))) |
dddbc90c RV |
3805 | (inputs |
3806 | `(("ghc-random" ,ghc-random) | |
3807 | ("ghc-test-framework" ,ghc-test-framework) | |
3808 | ("ghc-quickcheck" ,ghc-quickcheck) | |
3809 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
3810 | (home-page "https://github.com/phadej/edit-distance") | |
3811 | (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances") | |
3812 | (description | |
3813 | "This package provides optimized functions to determine the edit | |
3814 | distances for fuzzy matching, including Levenshtein and restricted | |
3815 | Damerau-Levenshtein algorithms.") | |
3816 | (license license:bsd-3))) | |
3817 | ||
3ebae41f TS |
3818 | (define-public ghc-edit-distance-vector |
3819 | (package | |
3820 | (name "ghc-edit-distance-vector") | |
3821 | (version "1.0.0.4") | |
3822 | (source | |
3823 | (origin | |
3824 | (method url-fetch) | |
3825 | (uri (string-append "https://hackage.haskell.org/package/" | |
3826 | "edit-distance-vector/edit-distance-vector-" | |
3827 | version ".tar.gz")) | |
3828 | (sha256 | |
3829 | (base32 | |
3830 | "07qgc8dyi9kkzkd3xcd78wdlljy0xwhz65b4r2qg2piidpcdvpxp")))) | |
3831 | (build-system haskell-build-system) | |
3832 | (inputs | |
3833 | `(("ghc-vector" ,ghc-vector))) | |
3834 | (native-inputs | |
3835 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3836 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances))) | |
3837 | (home-page "https://github.com/thsutton/edit-distance-vector") | |
3838 | (synopsis "Calculate edit distances and edit scripts between vectors") | |
3839 | (description "This package provides implementation of the | |
3840 | Wagner-Fischer dynamic programming algorithm to find the optimal edit | |
3841 | script and cost between two sequences. The implementation in this | |
3842 | package is specialised to sequences represented with @code{Data.Vector} | |
3843 | but is otherwise agnostic to: | |
3844 | @itemize | |
3845 | @item The type of values in the vectors; | |
3846 | @item The type representing edit operations; and | |
3847 | @item The type representing the cost of operations. | |
3848 | @end itemize") | |
3849 | (license license:bsd-3)) ) | |
3850 | ||
dddbc90c RV |
3851 | (define-public ghc-either |
3852 | (package | |
3853 | (name "ghc-either") | |
a3fd4dc7 | 3854 | (version "5.0.1.1") |
dddbc90c RV |
3855 | (source |
3856 | (origin | |
3857 | (method url-fetch) | |
3858 | (uri (string-append "https://hackage.haskell.org/package/" | |
3859 | "either-" version "/" | |
3860 | "either-" version ".tar.gz")) | |
3861 | (sha256 | |
3862 | (base32 | |
a3fd4dc7 | 3863 | "09yzki8ss56xhy9vggdw1rls86b2kf55hjl5wi0vbv02d8fxahq2")))) |
dddbc90c RV |
3864 | (build-system haskell-build-system) |
3865 | (inputs `(("ghc-bifunctors" ,ghc-bifunctors) | |
3866 | ("ghc-exceptions" ,ghc-exceptions) | |
3867 | ("ghc-free" ,ghc-free) | |
3868 | ("ghc-monad-control" ,ghc-monad-control) | |
3869 | ("ghc-manodrandom" ,ghc-monadrandom) | |
3870 | ("ghc-mmorph" ,ghc-mmorph) | |
3871 | ("ghc-profunctors" ,ghc-profunctors) | |
3872 | ("ghc-semigroups" ,ghc-semigroups) | |
3873 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
3874 | ("ghc-transformers-base" ,ghc-transformers-base))) | |
3875 | (native-inputs | |
3876 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
3877 | ("ghc-test-framework" ,ghc-test-framework) | |
3878 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
3879 | (home-page "https://github.com/ekmett/either") | |
3880 | (synopsis "Provides an either monad transformer for Haskell") | |
3881 | (description "This Haskell package provides an either monad transformer.") | |
3882 | (license license:bsd-3))) | |
3883 | ||
3884 | (define-public ghc-email-validate | |
3885 | (package | |
3886 | (name "ghc-email-validate") | |
a4fe1c64 | 3887 | (version "2.3.2.12") |
dddbc90c RV |
3888 | (source |
3889 | (origin | |
3890 | (method url-fetch) | |
3891 | (uri (string-append | |
3892 | "https://hackage.haskell.org/package/" | |
3893 | "email-validate/email-validate-" | |
3894 | version | |
3895 | ".tar.gz")) | |
3896 | (sha256 | |
3897 | (base32 | |
a4fe1c64 | 3898 | "0ar3cfjia3x11chb7w60mi7hp5djanms883ddk875l6lifr2lyqf")))) |
dddbc90c RV |
3899 | (build-system haskell-build-system) |
3900 | (inputs | |
3901 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
3902 | ("ghc-hspec" ,ghc-hspec) | |
3903 | ("ghc-quickcheck" ,ghc-quickcheck) | |
3904 | ("ghc-doctest" ,ghc-doctest))) | |
3905 | (home-page | |
3906 | "https://github.com/Porges/email-validate-hs") | |
3907 | (synopsis "Email address validator for Haskell") | |
3908 | (description | |
3909 | "This Haskell package provides a validator that can validate an email | |
3910 | address string against RFC 5322.") | |
3911 | (license license:bsd-3))) | |
3912 | ||
3913 | (define-public ghc-enclosed-exceptions | |
3914 | (package | |
3915 | (name "ghc-enclosed-exceptions") | |
3916 | (version "1.0.3") | |
3917 | (source (origin | |
3918 | (method url-fetch) | |
3919 | (uri (string-append "https://hackage.haskell.org/package/" | |
3920 | "enclosed-exceptions/enclosed-exceptions-" | |
3921 | version ".tar.gz")) | |
3922 | (sha256 | |
3923 | (base32 | |
3924 | "1fghjj7nkiddrf03ks8brjpr5x25yi9fs7xg6adbi4mc2gqr6vdg")))) | |
3925 | (build-system haskell-build-system) | |
3926 | ;; FIXME: one of the tests blocks forever: | |
3927 | ;; "thread blocked indefinitely in an MVar operation" | |
3928 | (arguments '(#:tests? #f)) | |
3929 | (inputs | |
3930 | `(("ghc-lifted-base" ,ghc-lifted-base) | |
3931 | ("ghc-monad-control" ,ghc-monad-control) | |
3932 | ("ghc-async" ,ghc-async) | |
3933 | ("ghc-transformers-base" ,ghc-transformers-base))) | |
3934 | (native-inputs | |
3935 | `(("ghc-hspec" ,ghc-hspec) | |
3936 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
3937 | (home-page "https://github.com/jcristovao/enclosed-exceptions") | |
3938 | (synopsis "Catch all exceptions from within an enclosed computation") | |
3939 | (description | |
3940 | "This library implements a technique to catch all exceptions raised | |
3941 | within an enclosed computation, while remaining responsive to (external) | |
3942 | asynchronous exceptions.") | |
3943 | (license license:expat))) | |
3944 | ||
3945 | (define-public ghc-equivalence | |
3946 | (package | |
3947 | (name "ghc-equivalence") | |
801cf5b1 | 3948 | (version "0.3.5") |
dddbc90c RV |
3949 | (source |
3950 | (origin | |
3951 | (method url-fetch) | |
3952 | (uri (string-append "https://hackage.haskell.org/package/equivalence" | |
3953 | "/equivalence-" version ".tar.gz")) | |
3954 | (sha256 | |
801cf5b1 | 3955 | (base32 "167njzd1cf32aa7br90rjafrxy6hw3fxkk8awifqbxjrcwm5maqp")))) |
dddbc90c RV |
3956 | (build-system haskell-build-system) |
3957 | (inputs | |
3958 | `(("ghc-stmonadtrans" ,ghc-stmonadtrans) | |
3959 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
801cf5b1 TS |
3960 | ("ghc-fail" ,ghc-fail) |
3961 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
dddbc90c RV |
3962 | (home-page "https://github.com/pa-ba/equivalence") |
3963 | (synopsis "Maintaining an equivalence relation implemented as union-find") | |
3964 | (description | |
3965 | "This is an implementation of Tarjan's Union-Find algorithm (Robert E.@: | |
3966 | Tarjan. \"Efficiency of a Good But Not Linear Set Union Algorithm\",JACM | |
3967 | 22(2), 1975) in order to maintain an equivalence relation. This | |
3968 | implementation is a port of the @code{union-find} package using the @code{ST} | |
3969 | monad transformer (instead of the IO monad).") | |
3970 | (license license:bsd-3))) | |
3971 | ||
3972 | (define-public ghc-erf | |
3973 | (package | |
3974 | (name "ghc-erf") | |
3975 | (version "2.0.0.0") | |
3976 | (source | |
3977 | (origin | |
3978 | (method url-fetch) | |
3979 | (uri (string-append "https://hackage.haskell.org/package/" | |
3980 | "erf-" version "/" | |
3981 | "erf-" version ".tar.gz")) | |
3982 | (sha256 | |
3983 | (base32 | |
3984 | "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14")))) | |
3985 | (build-system haskell-build-system) | |
3986 | (home-page "https://hackage.haskell.org/package/erf") | |
3987 | (synopsis "The error function, erf, and related functions for Haskell") | |
3988 | (description "This Haskell library provides a type class for the | |
3989 | error function, erf, and related functions. Instances for Float and | |
3990 | Double.") | |
3991 | (license license:bsd-3))) | |
3992 | ||
3993 | (define-public ghc-errorcall-eq-instance | |
3994 | (package | |
3995 | (name "ghc-errorcall-eq-instance") | |
3996 | (version "0.3.0") | |
3997 | (source | |
3998 | (origin | |
3999 | (method url-fetch) | |
4000 | (uri (string-append "https://hackage.haskell.org/package/" | |
4001 | "errorcall-eq-instance/errorcall-eq-instance-" | |
4002 | version ".tar.gz")) | |
4003 | (sha256 | |
4004 | (base32 | |
4005 | "0hqw82m8bbrxy5vgdwb83bhzdx070ibqrm9rshyja7cb808ahijm")))) | |
4006 | (build-system haskell-build-system) | |
4007 | (inputs | |
4008 | `(("ghc-base-orphans" ,ghc-base-orphans))) | |
4009 | (native-inputs | |
4010 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
4011 | ("ghc-hspec" ,ghc-hspec) | |
4012 | ("hspec-discover" ,hspec-discover))) | |
3ef91e15 | 4013 | (home-page "https://hackage.haskell.org/package/errorcall-eq-instance") |
dddbc90c RV |
4014 | (synopsis "Orphan Eq instance for ErrorCall") |
4015 | (description | |
4016 | "Prior to @code{base-4.7.0.0} there was no @code{Eq} instance for @code{ErrorCall}. | |
4017 | This package provides an orphan instance.") | |
4018 | (license license:expat))) | |
4019 | ||
4020 | (define-public ghc-errors | |
4021 | (package | |
4022 | (name "ghc-errors") | |
4023 | (version "2.3.0") | |
4024 | (source | |
4025 | (origin | |
4026 | (method url-fetch) | |
4027 | (uri (string-append "https://hackage.haskell.org/package/" | |
4028 | "errors-" version "/" | |
4029 | "errors-" version ".tar.gz")) | |
4030 | (sha256 | |
4031 | (base32 | |
4032 | "0x8znwn31qcx6kqx99wp7bc86kckfb39ncz3zxvj1s07kxlfawk7")))) | |
4033 | (build-system haskell-build-system) | |
4034 | (inputs | |
4035 | `(("ghc-exceptions" ,ghc-exceptions) | |
4036 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
4037 | ("ghc-unexceptionalio" ,ghc-unexceptionalio) | |
4038 | ("ghc-safe" ,ghc-safe))) | |
4039 | (home-page "https://github.com/gabriel439/haskell-errors-library") | |
4040 | (synopsis "Error handling library for Haskell") | |
4041 | (description "This library encourages an error-handling style that | |
4042 | directly uses the type system, rather than out-of-band exceptions.") | |
4043 | (license license:bsd-3))) | |
4044 | ||
4045 | (define-public ghc-esqueleto | |
2648b604 TS |
4046 | (package |
4047 | (name "ghc-esqueleto") | |
2f6ad77b | 4048 | (version "3.3.1.1") |
2648b604 TS |
4049 | (source |
4050 | (origin | |
4051 | (method url-fetch) | |
4052 | (uri (string-append "https://hackage.haskell.org/package/" | |
4053 | "esqueleto/esqueleto-" version ".tar.gz")) | |
4054 | (sha256 | |
4055 | (base32 | |
2f6ad77b | 4056 | "1qi28ma8j5kfygjxnixlazxsyrkdqv8ljz3icwqi5dlscsnj6v3v")))) |
2648b604 TS |
4057 | (build-system haskell-build-system) |
4058 | (arguments | |
4059 | `(#:haddock? #f ; Haddock reports an internal error. | |
4060 | #:phases | |
4061 | (modify-phases %standard-phases | |
4062 | ;; This package normally runs tests for the MySQL, PostgreSQL, and | |
4063 | ;; SQLite backends. Since we only have Haskell packages for | |
4064 | ;; SQLite, we remove the other two test suites. FIXME: Add the | |
4065 | ;; other backends and run all three test suites. | |
4066 | (add-before 'configure 'remove-non-sqlite-test-suites | |
4067 | (lambda _ | |
4068 | (use-modules (ice-9 rdelim)) | |
4069 | (with-atomic-file-replacement "esqueleto.cabal" | |
4070 | (lambda (in out) | |
4071 | (let loop ((line (read-line in 'concat)) (deleting? #f)) | |
4072 | (cond | |
4073 | ((eof-object? line) #t) | |
4074 | ((string-every char-set:whitespace line) | |
4075 | (unless deleting? (display line out)) | |
4076 | (loop (read-line in 'concat) #f)) | |
4077 | ((member line '("test-suite mysql\n" | |
4078 | "test-suite postgresql\n")) | |
4079 | (loop (read-line in 'concat) #t)) | |
4080 | (else | |
4081 | (unless deleting? (display line out)) | |
4082 | (loop (read-line in 'concat) deleting?))))))))))) | |
4083 | (inputs | |
4084 | `(("ghc-blaze-html" ,ghc-blaze-html) | |
4085 | ("ghc-conduit" ,ghc-conduit) | |
4086 | ("ghc-monad-logger" ,ghc-monad-logger) | |
4087 | ("ghc-persistent" ,ghc-persistent) | |
4088 | ("ghc-resourcet" ,ghc-resourcet) | |
4089 | ("ghc-tagged" ,ghc-tagged) | |
4090 | ("ghc-unliftio" ,ghc-unliftio) | |
4091 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
4092 | (native-inputs | |
4093 | `(("ghc-hspec" ,ghc-hspec) | |
4094 | ("ghc-persistent-sqlite" ,ghc-persistent-sqlite) | |
4095 | ("ghc-persistent-template" ,ghc-persistent-template))) | |
4096 | (home-page "https://github.com/bitemyapp/esqueleto") | |
4097 | (synopsis "Type-safe embedded domain specific language for SQL queries") | |
4098 | (description "This library provides a type-safe embedded domain specific | |
dddbc90c RV |
4099 | language (EDSL) for SQL queries that works with SQL backends as provided by |
4100 | @code{ghc-persistent}. Its language closely resembles SQL, so you don't have | |
4101 | to learn new concepts, just new syntax, and it's fairly easy to predict the | |
4102 | generated SQL and optimize it for your backend.") | |
2648b604 | 4103 | (license license:bsd-3))) |
dddbc90c RV |
4104 | |
4105 | (define-public ghc-exactprint | |
4106 | (package | |
4107 | (name "ghc-exactprint") | |
50614014 | 4108 | (version "0.6.1") |
dddbc90c RV |
4109 | (source |
4110 | (origin | |
4111 | (method url-fetch) | |
4112 | (uri (string-append | |
4113 | "https://hackage.haskell.org/package/" | |
4114 | "ghc-exactprint/ghc-exactprint-" version ".tar.gz")) | |
4115 | (sha256 | |
4116 | (base32 | |
50614014 | 4117 | "12nqpqmi9c57a3hgpfy8q073zryz66ylmcvf29hyffpj7vmmnvhl")))) |
dddbc90c RV |
4118 | (build-system haskell-build-system) |
4119 | (inputs | |
4120 | `(("ghc-paths" ,ghc-paths) | |
4121 | ("ghc-syb" ,ghc-syb) | |
4122 | ("ghc-free" ,ghc-free))) | |
4123 | (native-inputs | |
4124 | `(("ghc-hunit" ,ghc-hunit) | |
4125 | ("ghc-diff" ,ghc-diff) | |
4126 | ("ghc-silently" ,ghc-silently) | |
4127 | ("ghc-filemanip" ,ghc-filemanip))) | |
4128 | (home-page | |
3ef91e15 | 4129 | "https://hackage.haskell.org/package/ghc-exactprint") |
dddbc90c RV |
4130 | (synopsis "ExactPrint for GHC") |
4131 | (description | |
4132 | "Using the API Annotations available from GHC 7.10.2, this library | |
4133 | provides a means to round-trip any code that can be compiled by GHC, currently | |
4134 | excluding @file{.lhs} files.") | |
4135 | (license license:bsd-3))) | |
4136 | ||
4137 | (define-public ghc-exceptions | |
4138 | (package | |
4139 | (name "ghc-exceptions") | |
46d3e65b | 4140 | (version "0.10.3") |
dddbc90c RV |
4141 | (source |
4142 | (origin | |
4143 | (method url-fetch) | |
4144 | (uri (string-append | |
4145 | "https://hackage.haskell.org/package/exceptions/exceptions-" | |
4146 | version | |
4147 | ".tar.gz")) | |
4148 | (sha256 | |
4149 | (base32 | |
46d3e65b | 4150 | "1w25j4ys5s6v239vbqlbipm9fdwxl1j2ap2lzms7f7rgnik5ir24")))) |
dddbc90c RV |
4151 | (build-system haskell-build-system) |
4152 | (native-inputs | |
4153 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
4154 | ("ghc-test-framework" ,ghc-test-framework) | |
4155 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
4156 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
4157 | (inputs | |
4158 | `(("ghc-transformers-compat" ,ghc-transformers-compat))) | |
4159 | (home-page "https://github.com/ekmett/exceptions/") | |
4160 | (synopsis "Extensible optionally-pure exceptions") | |
4161 | (description "This library provides extensible optionally-pure exceptions | |
4162 | for Haskell.") | |
4163 | (license license:bsd-3))) | |
4164 | ||
4165 | (define-public ghc-executable-path | |
4166 | (package | |
4167 | (name "ghc-executable-path") | |
4168 | (version "0.0.3.1") | |
4169 | (source (origin | |
4170 | (method url-fetch) | |
4171 | (uri (string-append "https://hackage.haskell.org/package/" | |
4172 | "executable-path/executable-path-" | |
4173 | version ".tar.gz")) | |
4174 | (sha256 | |
4175 | (base32 | |
4176 | "0vxwmnsvx13cawcyhbyljkds0l1vr996ijldycx7nj0asjv45iww")))) | |
4177 | (build-system haskell-build-system) | |
4178 | (home-page "https://hackage.haskell.org/package/executable-path") | |
4179 | (synopsis "Find out the full path of the executable") | |
4180 | (description | |
4181 | "The documentation of @code{System.Environment.getProgName} says that | |
4182 | \"However, this is hard-to-impossible to implement on some non-Unix OSes, so | |
4183 | instead, for maximum portability, we just return the leafname of the program | |
4184 | as invoked.\" This library tries to provide the missing path.") | |
4185 | (license license:public-domain))) | |
4186 | ||
4187 | (define-public ghc-extensible-exceptions | |
4188 | (package | |
4189 | (name "ghc-extensible-exceptions") | |
4190 | (version "0.1.1.4") | |
4191 | (source | |
4192 | (origin | |
4193 | (method url-fetch) | |
4194 | (uri (string-append "https://hackage.haskell.org/package/" | |
4195 | "extensible-exceptions/extensible-exceptions-" | |
4196 | version ".tar.gz")) | |
4197 | (sha256 | |
4198 | (base32 "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc")))) | |
4199 | (build-system haskell-build-system) | |
4200 | (home-page "https://hackage.haskell.org/package/extensible-exceptions") | |
4201 | (synopsis "Extensible exceptions for Haskell") | |
4202 | (description | |
4203 | "This package provides extensible exceptions for both new and old | |
4204 | versions of GHC (i.e., < 6.10).") | |
4205 | (license license:bsd-3))) | |
4206 | ||
4207 | (define-public ghc-extra | |
4208 | (package | |
4209 | (name "ghc-extra") | |
0cec5c4e | 4210 | (version "1.6.21") |
dddbc90c RV |
4211 | (source |
4212 | (origin | |
4213 | (method url-fetch) | |
4214 | (uri (string-append | |
4215 | "https://hackage.haskell.org/package/extra/extra-" | |
4216 | version | |
4217 | ".tar.gz")) | |
4218 | (sha256 | |
4219 | (base32 | |
0cec5c4e | 4220 | "1gjx98w4w61g043k6rzc8i34cbxpcigi8lb6i7pp1vwp8w8jm5vl")))) |
dddbc90c RV |
4221 | (build-system haskell-build-system) |
4222 | (inputs | |
4223 | `(("ghc-clock" ,ghc-clock) | |
10650c44 | 4224 | ("ghc-semigroups" ,ghc-semigroups) |
b431f6c9 ASM |
4225 | ("ghc-quickcheck" ,ghc-quickcheck) |
4226 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances))) | |
dddbc90c RV |
4227 | (home-page "https://github.com/ndmitchell/extra") |
4228 | (synopsis "Extra Haskell functions") | |
4229 | (description "This library provides extra functions for the standard | |
4230 | Haskell libraries. Most functions are simple additions, filling out missing | |
4231 | functionality. A few functions are available in later versions of GHC, but | |
4232 | this package makes them available back to GHC 7.2.") | |
4233 | (license license:bsd-3))) | |
4234 | ||
4235 | (define-public ghc-fail | |
4236 | (package | |
4237 | (name "ghc-fail") | |
4238 | (version "4.9.0.0") | |
4239 | (source | |
4240 | (origin | |
4241 | (method url-fetch) | |
4242 | (uri (string-append "https://hackage.haskell.org/package/fail/fail-" | |
4243 | version ".tar.gz")) | |
4244 | (sha256 | |
4245 | (base32 "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d")))) | |
4246 | (build-system haskell-build-system) | |
4247 | (arguments `(#:haddock? #f)) ; Package contains no documentation. | |
4248 | (home-page "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail") | |
4249 | (synopsis "Forward-compatible MonadFail class") | |
4250 | (description | |
4251 | "This package contains the @code{Control.Monad.Fail} module providing the | |
4252 | @uref{https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, MonadFail} | |
4253 | class that became available in | |
4254 | @uref{https://hackage.haskell.org/package/base-4.9.0.0, base-4.9.0.0} for | |
4255 | older @code{base} package versions. This package turns into an empty package | |
4256 | when used with GHC versions which already provide the | |
4257 | @code{Control.Monad.Fail} module.") | |
4258 | (license license:bsd-3))) | |
4259 | ||
4260 | (define-public ghc-fast-logger | |
4261 | (package | |
4262 | (name "ghc-fast-logger") | |
d443a52a | 4263 | (version "2.4.17") |
dddbc90c RV |
4264 | (source |
4265 | (origin | |
4266 | (method url-fetch) | |
4267 | (uri (string-append | |
4268 | "https://hackage.haskell.org/package/fast-logger/fast-logger-" | |
4269 | version | |
4270 | ".tar.gz")) | |
4271 | (sha256 | |
4272 | (base32 | |
d443a52a | 4273 | "02mxb1ckvx1s2r2m11l5i2l5rdl7232p0f61af6773haykjp0qxk")))) |
dddbc90c RV |
4274 | (build-system haskell-build-system) |
4275 | (inputs | |
4276 | `(("ghc-auto-update" ,ghc-auto-update) | |
4277 | ("ghc-easy-file" ,ghc-easy-file) | |
d443a52a TS |
4278 | ("ghc-unix-time" ,ghc-unix-time) |
4279 | ("ghc-unix-compat" ,ghc-unix-compat))) | |
dddbc90c RV |
4280 | (native-inputs |
4281 | `(("hspec-discover" ,hspec-discover) | |
4282 | ("ghc-hspec" ,ghc-hspec))) | |
4283 | (home-page "https://hackage.haskell.org/package/fast-logger") | |
4284 | (synopsis "Fast logging system") | |
4285 | (description "This library provides a fast logging system for Haskell.") | |
4286 | (license license:bsd-3))) | |
4287 | ||
4288 | (define-public ghc-feed | |
4289 | (package | |
4290 | (name "ghc-feed") | |
a41c16dc | 4291 | (version "1.2.0.1") |
dddbc90c RV |
4292 | (source |
4293 | (origin | |
4294 | (method url-fetch) | |
4295 | (uri (string-append "https://hackage.haskell.org/package/" | |
4296 | "feed/feed-" version ".tar.gz")) | |
4297 | (sha256 | |
4298 | (base32 | |
a41c16dc | 4299 | "004lwdng4slj6yl8mgscr3cgj0zzc8hzkf4450dby2l6cardg4w0")))) |
dddbc90c | 4300 | (build-system haskell-build-system) |
dddbc90c RV |
4301 | (inputs |
4302 | `(("ghc-base-compat" ,ghc-base-compat) | |
4303 | ("ghc-old-locale" ,ghc-old-locale) | |
4304 | ("ghc-old-time" ,ghc-old-time) | |
4305 | ("ghc-safe" ,ghc-safe) | |
4306 | ("ghc-time-locale-compat" ,ghc-time-locale-compat) | |
4307 | ("ghc-utf8-string" ,ghc-utf8-string) | |
4308 | ("ghc-xml-conduit" ,ghc-xml-conduit) | |
4309 | ("ghc-xml-types" ,ghc-xml-types))) | |
4310 | (native-inputs | |
4311 | `(("ghc-hunit" ,ghc-hunit) | |
a41c16dc | 4312 | ("ghc-markdown-unlit" ,ghc-markdown-unlit) |
dddbc90c RV |
4313 | ("ghc-test-framework" ,ghc-test-framework) |
4314 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
4315 | (home-page "https://github.com/bergmark/feed") | |
4316 | (synopsis "Haskell package for handling various syndication formats") | |
4317 | (description "This Haskell package includes tools for generating and | |
4318 | consuming feeds in both RSS (Really Simple Syndication) and Atom format.") | |
4319 | (license license:bsd-3))) | |
4320 | ||
4321 | (define-public ghc-fgl | |
4322 | (package | |
4323 | (name "ghc-fgl") | |
17482b26 | 4324 | (version "5.7.0.1") |
534d6caa | 4325 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
4326 | (source |
4327 | (origin | |
4328 | (method url-fetch) | |
4329 | (uri (string-append | |
4330 | "https://hackage.haskell.org/package/fgl/fgl-" | |
4331 | version | |
4332 | ".tar.gz")) | |
4333 | (sha256 | |
4334 | (base32 | |
17482b26 | 4335 | "04793yh778ck3kz1z2svnfdwwls2kisbnky4lzvf4zjfgpv7mkpz")))) |
dddbc90c RV |
4336 | (build-system haskell-build-system) |
4337 | (arguments | |
4338 | `(#:phases | |
4339 | (modify-phases %standard-phases | |
4340 | (add-before 'configure 'update-constraints | |
4341 | (lambda _ | |
4342 | (substitute* "fgl.cabal" | |
17482b26 TS |
4343 | (("QuickCheck >= 2\\.8 && < 2\\.13") |
4344 | "QuickCheck >= 2.8 && < 2.14") | |
4345 | (("hspec >= 2\\.1 && < 2\\.7") | |
4346 | "hspec >= 2.1 && < 2.8"))))))) | |
dddbc90c RV |
4347 | (inputs |
4348 | `(("ghc-hspec" ,ghc-hspec) | |
4349 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
4350 | (home-page "https://web.engr.oregonstate.edu/~erwig/fgl/haskell") | |
4351 | (synopsis | |
4352 | "Martin Erwig's Functional Graph Library") | |
4353 | (description "The functional graph library, FGL, is a collection of type | |
4354 | and function definitions to address graph problems. The basis of the library | |
4355 | is an inductive definition of graphs in the style of algebraic data types that | |
4356 | encourages inductive, recursive definitions of graph algorithms.") | |
4357 | (license license:bsd-3))) | |
4358 | ||
4359 | (define-public ghc-fgl-arbitrary | |
4360 | (package | |
4361 | (name "ghc-fgl-arbitrary") | |
4362 | (version "0.2.0.3") | |
4363 | (source | |
4364 | (origin | |
4365 | (method url-fetch) | |
4366 | (uri (string-append | |
4367 | "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-" | |
4368 | version ".tar.gz")) | |
4369 | (sha256 | |
4370 | (base32 | |
4371 | "0ln1szgfy8fa78l3issq4fx3aqnnd54w3cb4wssrfi48vd5rkfjm")))) | |
4372 | (build-system haskell-build-system) | |
4373 | (arguments | |
4374 | `(#:phases | |
4375 | (modify-phases %standard-phases | |
4376 | (add-before 'configure 'update-constraints | |
4377 | (lambda _ | |
4378 | (substitute* "fgl-arbitrary.cabal" | |
4379 | (("QuickCheck >= 2\\.3 && < 2\\.10") | |
4a0ffae5 | 4380 | "QuickCheck >= 2.3 && < 2.14") |
dddbc90c | 4381 | (("hspec >= 2\\.1 && < 2\\.5") |
4a0ffae5 | 4382 | "hspec >= 2.1 && < 2.8"))))))) |
dddbc90c RV |
4383 | (inputs |
4384 | `(("ghc-fgl" ,ghc-fgl) | |
4385 | ("ghc-quickcheck" ,ghc-quickcheck) | |
4386 | ("ghc-hspec" ,ghc-hspec))) | |
4387 | (home-page "https://hackage.haskell.org/package/fgl-arbitrary") | |
4388 | (synopsis "QuickCheck support for fgl") | |
4389 | (description | |
4390 | "Provides Arbitrary instances for fgl graphs to avoid adding a | |
4391 | QuickCheck dependency for fgl whilst still making the instances | |
4392 | available to others. Also available are non-fgl-specific functions | |
4393 | for generating graph-like data structures.") | |
4394 | (license license:bsd-3))) | |
4395 | ||
4396 | (define-public ghc-file-embed | |
4397 | (package | |
4398 | (name "ghc-file-embed") | |
b5920d50 | 4399 | (version "0.0.11") |
dddbc90c RV |
4400 | (source |
4401 | (origin | |
4402 | (method url-fetch) | |
4403 | (uri (string-append "https://hackage.haskell.org/package/file-embed/" | |
4404 | "file-embed-" version ".tar.gz")) | |
4405 | (sha256 | |
4406 | (base32 | |
b5920d50 | 4407 | "0l6dkwccbzzyx8rcav03lya2334dgi3vfwk96h7l93l0fc4x19gf")))) |
dddbc90c RV |
4408 | (build-system haskell-build-system) |
4409 | (home-page "https://github.com/snoyberg/file-embed") | |
4410 | (synopsis "Use Template Haskell to embed file contents directly") | |
4411 | (description | |
4412 | "This package allows you to use Template Haskell to read a file or all | |
4413 | the files in a directory, and turn them into @code{(path, bytestring)} pairs | |
4414 | embedded in your Haskell code.") | |
4415 | (license license:bsd-3))) | |
4416 | ||
4417 | (define-public ghc-filemanip | |
4418 | (package | |
4419 | (name "ghc-filemanip") | |
4420 | (version "0.3.6.3") | |
4421 | (source (origin | |
4422 | (method url-fetch) | |
4423 | (uri (string-append "https://hackage.haskell.org/package/" | |
4424 | "filemanip/filemanip-" version ".tar.gz")) | |
4425 | (sha256 | |
4426 | (base32 | |
4427 | "0ilqr8jv41zxcj5qyicg29m8s30b9v70x6f9h2h2rw5ap8bxldl8")))) | |
4428 | (build-system haskell-build-system) | |
4429 | (inputs | |
4430 | `(("ghc-unix-compat" ,ghc-unix-compat))) | |
4431 | (home-page "https://github.com/bos/filemanip") | |
4432 | (synopsis "File and directory manipulation for Haskell") | |
4433 | (description | |
4434 | "This package provides a Haskell library for working with files and | |
4435 | directories. It includes code for pattern matching, finding files, modifying | |
4436 | file contents, and more.") | |
4437 | (license license:bsd-3))) | |
4438 | ||
bb62932a KM |
4439 | (define-public ghc-filepath-bytestring |
4440 | (package | |
4441 | (name "ghc-filepath-bytestring") | |
e2879805 | 4442 | (version "1.4.2.1.6") |
bb62932a KM |
4443 | (source |
4444 | (origin | |
4445 | (method url-fetch) | |
4446 | (uri (string-append | |
4447 | "https://hackage.haskell.org/package/filepath-bytestring/" | |
4448 | "filepath-bytestring-" version ".tar.gz")) | |
4449 | (sha256 | |
4450 | (base32 | |
e2879805 | 4451 | "11xrrzdkm5i96dazbz0gi1qp8nnj2lwbnxzwy7f4cnahskz4f4g7")))) |
bb62932a KM |
4452 | (build-system haskell-build-system) |
4453 | (native-inputs | |
4454 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
3ef91e15 | 4455 | (home-page "https://hackage.haskell.org/package/filepath-bytestring") |
bb62932a KM |
4456 | (synopsis "Library for manipulating RawFilePaths in a cross-platform way") |
4457 | (description "This package provides a drop-in replacement for the standard | |
4458 | @code{filepath} library, operating on @code{RawFilePath} values rather than | |
4459 | @code{FilePath} values to get the speed benefits of using @code{ByteStrings}.") | |
4460 | (license license:bsd-3))) | |
4461 | ||
dddbc90c RV |
4462 | (define-public ghc-findbin |
4463 | (package | |
4464 | (name "ghc-findbin") | |
4465 | (version "0.0.5") | |
4466 | (source | |
4467 | (origin | |
4468 | (method url-fetch) | |
4469 | (uri (string-append | |
4470 | "https://hackage.haskell.org/package/FindBin/FindBin-" | |
4471 | version ".tar.gz")) | |
4472 | (sha256 | |
4473 | (base32 | |
4474 | "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717")))) | |
4475 | (build-system haskell-build-system) | |
4476 | (home-page "https://github.com/audreyt/findbin") | |
4477 | (synopsis "Get the absolute path of the running program") | |
4478 | (description | |
4479 | "This module locates the full directory of the running program, to allow | |
4480 | the use of paths relative to it. FindBin supports invocation of Haskell | |
4481 | programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as | |
4482 | an executable.") | |
4483 | (license license:bsd-3))) | |
4484 | ||
4485 | (define-public ghc-fingertree | |
4486 | (package | |
4487 | (name "ghc-fingertree") | |
aac14fdc | 4488 | (version "0.1.4.2") |
dddbc90c RV |
4489 | (source |
4490 | (origin | |
4491 | (method url-fetch) | |
4492 | (uri (string-append | |
4493 | "https://hackage.haskell.org/package/fingertree/fingertree-" | |
4494 | version ".tar.gz")) | |
4495 | (sha256 | |
4496 | (base32 | |
aac14fdc | 4497 | "0zvandj8fysck7ygpn0dw5bhrhmj1s63i326nalxbfkh2ls4iacm")))) |
dddbc90c RV |
4498 | (build-system haskell-build-system) |
4499 | (native-inputs | |
4500 | `(("ghc-hunit" ,ghc-hunit) | |
4501 | ("ghc-quickcheck" ,ghc-quickcheck) | |
4502 | ("ghc-test-framework" ,ghc-test-framework) | |
4503 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
4504 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
4505 | (home-page "https://hackage.haskell.org/package/fingertree") | |
4506 | (synopsis "Generic finger-tree structure") | |
4507 | (description "This library provides finger trees, a general sequence | |
4508 | representation with arbitrary annotations, for use as a base for | |
4509 | implementations of various collection types. It includes examples, as | |
4510 | described in section 4 of Ralf Hinze and Ross Paterson, \"Finger trees: a | |
4511 | simple general-purpose data structure\".") | |
4512 | (license license:bsd-3))) | |
4513 | ||
4514 | (define-public ghc-fixed | |
4515 | (package | |
4516 | (name "ghc-fixed") | |
099dda5b | 4517 | (version "0.3") |
dddbc90c RV |
4518 | (source |
4519 | (origin | |
4520 | (method url-fetch) | |
4521 | (uri (string-append "https://hackage.haskell.org/package/fixed/fixed-" | |
4522 | version ".tar.gz")) | |
4523 | (sha256 | |
4524 | (base32 | |
099dda5b | 4525 | "10l2sh179xarb774q92cff2gkb20rsrlilfwp1fk61rzmz9yn64j")))) |
dddbc90c RV |
4526 | (build-system haskell-build-system) |
4527 | (home-page "https://github.com/ekmett/fixed") | |
4528 | (synopsis "Signed 15.16 precision fixed point arithmetic") | |
4529 | (description | |
4530 | "This package provides functions for signed 15.16 precision fixed point | |
4531 | arithmetic.") | |
4532 | (license license:bsd-3))) | |
4533 | ||
f169f713 JS |
4534 | (define-public ghc-fmlist |
4535 | (package | |
4536 | (name "ghc-fmlist") | |
fe9b83a6 | 4537 | (version "0.9.3") |
f169f713 JS |
4538 | (source |
4539 | (origin | |
4540 | (method url-fetch) | |
4541 | (uri | |
4542 | (string-append | |
4543 | "https://hackage.haskell.org/package/fmlist/fmlist-" | |
4544 | version ".tar.gz")) | |
4545 | (sha256 | |
4546 | (base32 | |
fe9b83a6 | 4547 | "1w9nhm2zybdx4c1lalkajwqr8wcs731lfjld2r8gknd7y96x8pwf")))) |
f169f713 JS |
4548 | (build-system haskell-build-system) |
4549 | (home-page "https://github.com/sjoerdvisscher/fmlist") | |
4550 | (synopsis "FoldMap lists") | |
4551 | (description "FoldMap lists are lists represented by their | |
4552 | @code{foldMap} function. FoldMap lists have @math{O(1)} cons, snoc and | |
4553 | append, just like DLists, but other operations might have favorable | |
4554 | performance characteristics as well. These wild claims are still | |
4555 | completely unverified though.") | |
4556 | (license license:bsd-3))) | |
4557 | ||
dddbc90c RV |
4558 | (define-public ghc-foldl |
4559 | (package | |
4560 | (name "ghc-foldl") | |
26c4104f | 4561 | (version "1.4.5") |
dddbc90c RV |
4562 | (source |
4563 | (origin | |
4564 | (method url-fetch) | |
4565 | (uri (string-append "https://hackage.haskell.org/package/" | |
4566 | "foldl-" version "/" | |
4567 | "foldl-" version ".tar.gz")) | |
4568 | (sha256 | |
4569 | (base32 | |
26c4104f | 4570 | "19qjmzc7gaxfwgqbgy0kq4vhbxvh3qjnwsxnc7pzwws2if5bv80b")))) |
dddbc90c | 4571 | (build-system haskell-build-system) |
b3c79a83 | 4572 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
4573 | (inputs `(("ghc-mwc-randam" ,ghc-mwc-random) |
4574 | ("ghc-primitive" ,ghc-primitive) | |
4575 | ("ghc-vector" ,ghc-vector) | |
4576 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
4577 | ("ghc-hashable" ,ghc-hashable) | |
4578 | ("ghc-contravariant" ,ghc-contravariant) | |
4579 | ("ghc-semigroups" ,ghc-semigroups) | |
4580 | ("ghc-profunctors" ,ghc-profunctors) | |
4581 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
4582 | ("ghc-comonad" ,ghc-comonad) | |
4583 | ("ghc-vector-builder" ,ghc-vector-builder))) | |
4584 | (home-page "https://github.com/Gabriel439/Haskell-Foldl-Library") | |
4585 | (synopsis "Composable, streaming, and efficient left folds for Haskell") | |
4586 | (description "This Haskell library provides strict left folds that stream | |
4587 | in constant memory, and you can combine folds using @code{Applicative} style | |
4588 | to derive new folds. Derived folds still traverse the container just once | |
4589 | and are often as efficient as hand-written folds.") | |
4590 | (license license:bsd-3))) | |
4591 | ||
4592 | (define-public ghc-foundation | |
4593 | (package | |
4594 | (name "ghc-foundation") | |
0a702df9 | 4595 | (version "0.0.25") |
dddbc90c RV |
4596 | (source |
4597 | (origin | |
4598 | (method url-fetch) | |
4599 | (uri (string-append "https://hackage.haskell.org/package/" | |
4600 | "foundation/foundation-" version ".tar.gz")) | |
4601 | (sha256 | |
4602 | (base32 | |
0a702df9 | 4603 | "0q6kx57ygmznlpf8n499hid4x6mj3180paijx0a8dgi9hh7man61")))) |
dddbc90c | 4604 | (build-system haskell-build-system) |
59cd7518 TS |
4605 | (arguments |
4606 | `(#:phases | |
4607 | (modify-phases %standard-phases | |
4608 | ;; This test is broken. For details, see | |
4609 | ;; https://github.com/haskell-foundation/foundation/issues/530 | |
4610 | (add-after 'unpack 'patch-tests | |
4611 | (lambda _ | |
4612 | (substitute* "tests/Test/Foundation/Number.hs" | |
4613 | ((", testDividible proxy") "")) | |
4614 | #t))))) | |
6a7fb828 | 4615 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
4616 | (inputs `(("ghc-basement" ,ghc-basement))) |
4617 | (home-page "https://github.com/haskell-foundation/foundation") | |
4618 | (synopsis "Alternative prelude with batteries and no dependencies") | |
4619 | (description | |
4620 | "This package provides a custom prelude with no dependencies apart from | |
4621 | the base package. | |
4622 | ||
4623 | Foundation has the following goals: | |
4624 | ||
4625 | @enumerate | |
4626 | @item provide a base like sets of modules that provide a consistent set of | |
4627 | features and bugfixes across multiple versions of GHC (unlike base). | |
4628 | @item provide a better and more efficient prelude than base's prelude. | |
4629 | @item be self-sufficient: no external dependencies apart from base; | |
4630 | @item provide better data-types: packed unicode string by default, arrays; | |
4631 | @item Numerical classes that better represent mathematical things (no more | |
4632 | all-in-one @code{Num}); | |
4633 | @item I/O system with less lazy IO. | |
4634 | @end enumerate\n") | |
4635 | (license license:bsd-3))) | |
4636 | ||
4637 | (define-public ghc-free | |
4638 | (package | |
4639 | (name "ghc-free") | |
4081565d | 4640 | (version "5.1.2") |
dddbc90c RV |
4641 | (source |
4642 | (origin | |
4643 | (method url-fetch) | |
4644 | (uri (string-append | |
4645 | "https://hackage.haskell.org/package/free/free-" | |
4646 | version | |
4647 | ".tar.gz")) | |
4648 | (sha256 | |
4649 | (base32 | |
4081565d | 4650 | "0vlf3f2ckl3cr7z2zl8c9c8qkdlfgvmh04gxkp2fg0z9dz80nlyb")))) |
dddbc90c | 4651 | (build-system haskell-build-system) |
91769cee | 4652 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
4653 | (inputs |
4654 | `(("ghc-prelude-extras" ,ghc-prelude-extras) | |
4655 | ("ghc-profunctors" ,ghc-profunctors) | |
4656 | ("ghc-exceptions" ,ghc-exceptions) | |
4657 | ("ghc-bifunctors" ,ghc-bifunctors) | |
4658 | ("ghc-comonad" ,ghc-comonad) | |
4659 | ("ghc-distributive" ,ghc-distributive) | |
4660 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
4661 | ("ghc-semigroups" ,ghc-semigroups) | |
4662 | ("ghc-transformers-base" ,ghc-transformers-base) | |
4663 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
4664 | (home-page "https://github.com/ekmett/free/") | |
4665 | (synopsis "Unrestricted monads for Haskell") | |
4666 | (description "This library provides free monads, which are useful for many | |
4667 | tree-like structures and domain specific languages. If @code{f} is a | |
4668 | @code{Functor} then the free @code{Monad} on @code{f} is the type of trees | |
4669 | whose nodes are labeled with the constructors of @code{f}. The word \"free\" | |
4670 | is used in the sense of \"unrestricted\" rather than \"zero-cost\": @code{Free | |
4671 | f} makes no constraining assumptions beyond those given by @code{f} and the | |
4672 | definition of @code{Monad}.") | |
4673 | (license license:bsd-3))) | |
4674 | ||
4675 | (define-public ghc-fsnotify | |
4676 | (package | |
4677 | (name "ghc-fsnotify") | |
4678 | (version "0.3.0.1") | |
4679 | (source (origin | |
4680 | (method url-fetch) | |
4681 | (uri (string-append | |
4682 | "https://hackage.haskell.org/package/fsnotify/" | |
4683 | "fsnotify-" version ".tar.gz")) | |
4684 | (sha256 | |
4685 | (base32 | |
4686 | "19bdbz9wb9jvln6yg6qm0hz0w84bypvkxf0wjhgrgd52f9gidlny")))) | |
4687 | (build-system haskell-build-system) | |
4688 | (inputs | |
4689 | `(("ghc-async" ,ghc-async) | |
4690 | ("ghc-unix-compat" ,ghc-unix-compat) | |
4691 | ("ghc-hinotify" ,ghc-hinotify) | |
4692 | ("ghc-tasty" ,ghc-tasty) | |
4693 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
4694 | ("ghc-random" ,ghc-random) | |
4695 | ("ghc-shelly" ,ghc-shelly) | |
4696 | ("ghc-temporary" ,ghc-temporary))) | |
4697 | (home-page "https://github.com/haskell-fswatch/hfsnotify") | |
4698 | (synopsis "Cross platform library for file change notification.") | |
4699 | (description "Cross platform library for file creation, modification, and | |
4700 | deletion notification. This library builds upon existing libraries for platform | |
4701 | specific Windows, Mac, and Linux file system event notification.") | |
4702 | (license license:bsd-3))) | |
4703 | ||
4704 | (define-public ghc-generic-deriving | |
4705 | (package | |
4706 | (name "ghc-generic-deriving") | |
55c1e6be | 4707 | (version "1.12.4") |
dddbc90c RV |
4708 | (source |
4709 | (origin | |
4710 | (method url-fetch) | |
4711 | (uri (string-append | |
4712 | "https://hackage.haskell.org/package/generic-deriving/generic-deriving-" | |
4713 | version | |
4714 | ".tar.gz")) | |
4715 | (sha256 | |
4716 | (base32 | |
55c1e6be | 4717 | "0vdg9qdq35jl3m11a87wk8cq1y71qm4i1g1b2pxki0wk70yw20a4")))) |
dddbc90c | 4718 | (build-system haskell-build-system) |
32bb6b41 | 4719 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
4720 | (inputs |
4721 | `(("ghc-th-abstraction" ,ghc-th-abstraction))) | |
4722 | (native-inputs | |
4723 | `(("ghc-hspec" ,ghc-hspec) | |
4724 | ("hspec-discover" ,hspec-discover))) | |
4725 | (home-page "https://hackage.haskell.org/package/generic-deriving") | |
4726 | (synopsis "Generalise the deriving mechanism to arbitrary classes") | |
4727 | (description "This package provides functionality for generalising the | |
4728 | deriving mechanism in Haskell to arbitrary classes.") | |
4729 | (license license:bsd-3))) | |
4730 | ||
89e9082e JS |
4731 | (define-public ghc-generic-random |
4732 | (package | |
4733 | (name "ghc-generic-random") | |
4734 | (version "1.2.0.0") | |
4735 | (source | |
4736 | (origin | |
4737 | (method url-fetch) | |
4738 | (uri (string-append | |
4739 | "https://hackage.haskell.org/package/generic-random/" | |
4740 | "generic-random-" version ".tar.gz")) | |
4741 | (sha256 | |
4742 | (base32 "130lmblycxnpqbsl7vf6a90zccibnvcb5zaclfajcn3by39007lv")))) | |
4743 | (build-system haskell-build-system) | |
4744 | (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) | |
4745 | (native-inputs | |
4746 | `(("ghc-inspection-testing" ,ghc-inspection-testing))) | |
4747 | (arguments | |
4748 | `(#:cabal-revision | |
4749 | ("1" "1d0hx41r7yq2a86ydnfh2fv540ah8cz05l071s2z4wxcjw0ymyn4"))) | |
4750 | (home-page | |
4751 | "https://github.com/lysxia/generic-random") | |
4752 | (synopsis | |
4753 | "Generic random generators for QuickCheck") | |
4754 | (description | |
4755 | "Derive instances of @code{Arbitrary} for QuickCheck, with various options | |
4756 | to customize implementations. | |
4757 | ||
4758 | Automating the arbitrary boilerplate also ensures that when a type changes to | |
4759 | have more or fewer constructors, then the generator either fixes itself to | |
4760 | generate that new case (when using the uniform distribution) or causes a | |
4761 | compilation error so you remember to fix it (when using an explicit | |
4762 | distribution). | |
4763 | ||
4764 | This package also offers a simple (optional) strategy to ensure termination | |
4765 | for recursive types: make @code{Test.QuickCheck.Gen}'s size parameter decrease | |
4766 | at every recursive call; when it reaches zero, sample directly from a | |
4767 | trivially terminating generator given explicitly (@code{genericArbitraryRec} | |
4768 | and @code{withBaseCase}) or implicitly (@code{genericArbitrary'}).") | |
4769 | (license license:expat))) | |
4770 | ||
23e4b264 JS |
4771 | (define-public ghc-generic-random-1.3.0.1 |
4772 | (package | |
4773 | (inherit ghc-generic-random) | |
4774 | (version "1.3.0.1") | |
4775 | (source | |
4776 | (origin | |
4777 | (method url-fetch) | |
4778 | (uri (string-append | |
4779 | "https://hackage.haskell.org/package/generic-random/" | |
4780 | "generic-random-" version ".tar.gz")) | |
4781 | (sha256 | |
4782 | (base32 "0d9w7xcmsb31b95fr9d5jwbsajcl1yi4347dlbw4bybil2vjwd7k")))) | |
4783 | (arguments '()))) | |
4784 | ||
dddbc90c RV |
4785 | (define-public ghc-generics-sop |
4786 | (package | |
4787 | (name "ghc-generics-sop") | |
3ed40e10 | 4788 | (version "0.4.0.1") |
dddbc90c RV |
4789 | (source |
4790 | (origin | |
4791 | (method url-fetch) | |
4792 | (uri (string-append "https://hackage.haskell.org/package/" | |
4793 | "generics-sop-" version "/" | |
4794 | "generics-sop-" version ".tar.gz")) | |
4795 | (sha256 | |
4796 | (base32 | |
3ed40e10 | 4797 | "160knr2phnzh2gldfv954lz029jzc7y8kz5xpmbf4z3vb5ngm6fw")))) |
dddbc90c | 4798 | (build-system haskell-build-system) |
80e0a085 | 4799 | (outputs '("out" "static" "doc")) |
3ed40e10 TS |
4800 | (inputs |
4801 | `(("ghc-sop-core" ,ghc-sop-core) | |
4802 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
dddbc90c RV |
4803 | (home-page "https://github.com/well-typed/generics-sop") |
4804 | (synopsis "Generic Programming using True Sums of Products for Haskell") | |
4805 | (description "This Haskell package supports the definition of generic | |
4806 | functions. Datatypes are viewed in a uniform, structured way: the choice | |
4807 | between constructors is represented using an n-ary sum, and the arguments of | |
4808 | each constructor are represented using an n-ary product.") | |
4809 | (license license:bsd-3))) | |
4810 | ||
4811 | (define-public ghc-geniplate-mirror | |
4812 | (package | |
4813 | (name "ghc-geniplate-mirror") | |
4814 | (version "0.7.6") | |
4815 | (source | |
4816 | (origin | |
4817 | (method url-fetch) | |
4818 | (uri (string-append "https://hackage.haskell.org/package" | |
4819 | "/geniplate-mirror" | |
4820 | "/geniplate-mirror-" version ".tar.gz")) | |
4821 | (sha256 | |
4822 | (base32 "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb")))) | |
4823 | (build-system haskell-build-system) | |
74a7dd7f TS |
4824 | (arguments |
4825 | `(#:cabal-revision | |
4826 | ("2" "03fg4vfm1wgq4mylggawdx0bfvbbjmdn700sqx7v3hk1bx0kjfzh"))) | |
dddbc90c RV |
4827 | (home-page "https://github.com/danr/geniplate") |
4828 | (synopsis "Use Template Haskell to generate Uniplate-like functions") | |
4829 | (description | |
4830 | "Use Template Haskell to generate Uniplate-like functions. This is a | |
4831 | maintained mirror of the @uref{https://hackage.haskell.org/package/geniplate, | |
4832 | geniplate} package, written by Lennart Augustsson.") | |
4833 | (license license:bsd-3))) | |
4834 | ||
4835 | (define-public ghc-genvalidity | |
4836 | (package | |
4837 | (name "ghc-genvalidity") | |
920f44a1 | 4838 | (version "0.8.0.0") |
dddbc90c RV |
4839 | (source |
4840 | (origin | |
4841 | (method url-fetch) | |
4842 | (uri (string-append | |
4843 | "https://hackage.haskell.org/package/genvalidity/genvalidity-" | |
4844 | version | |
4845 | ".tar.gz")) | |
4846 | (sha256 | |
4847 | (base32 | |
920f44a1 | 4848 | "0w38aq9hfyymidncgkrs6yvja7j573d9sap5qfg5rz910fhsij9a")))) |
dddbc90c RV |
4849 | (build-system haskell-build-system) |
4850 | (inputs | |
4851 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
4852 | ("ghc-validity" ,ghc-validity))) | |
4853 | (native-inputs | |
4854 | `(("ghc-hspec" ,ghc-hspec) | |
4855 | ("hspec-discover" ,hspec-discover) | |
4856 | ("ghc-hspec-core" ,ghc-hspec-core))) | |
4857 | (home-page | |
4858 | "https://github.com/NorfairKing/validity") | |
4859 | (synopsis | |
4860 | "Testing utilities for the @code{validity} library") | |
4861 | (description | |
4862 | "This package provides testing utilities that are useful in conjunction | |
4863 | with the @code{Validity} typeclass.") | |
4864 | (license license:expat))) | |
4865 | ||
4866 | (define-public ghc-genvalidity-property | |
4867 | (package | |
4868 | (name "ghc-genvalidity-property") | |
e4ede35b | 4869 | (version "0.4.0.0") |
dddbc90c RV |
4870 | (source |
4871 | (origin | |
4872 | (method url-fetch) | |
4873 | (uri (string-append | |
4874 | "https://hackage.haskell.org/package/" | |
4875 | "genvalidity-property/genvalidity-property-" | |
4876 | version | |
4877 | ".tar.gz")) | |
4878 | (sha256 | |
4879 | (base32 | |
e4ede35b | 4880 | "0zayycx62226w54rvkxwhvqhznsr33dk3ds55yyqrfqbnhvph1s9")))) |
dddbc90c RV |
4881 | (build-system haskell-build-system) |
4882 | (inputs | |
4883 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
4884 | ("ghc-genvalidity" ,ghc-genvalidity) | |
4885 | ("ghc-hspec" ,ghc-hspec) | |
4886 | ("hspec-discover" ,hspec-discover) | |
4887 | ("ghc-validity" ,ghc-validity))) | |
4888 | (native-inputs `(("ghc-doctest" ,ghc-doctest))) | |
4889 | (home-page | |
4890 | "https://github.com/NorfairKing/validity") | |
4891 | (synopsis | |
4892 | "Standard properties for functions on @code{Validity} types") | |
4893 | (description | |
4894 | "This package supplements the @code{Validity} typeclass with standard | |
4895 | properties for functions operating on them.") | |
4896 | (license license:expat))) | |
4897 | ||
e71fb573 TS |
4898 | (define-public ghc-getopt-generics |
4899 | (package | |
4900 | (name "ghc-getopt-generics") | |
4901 | (version "0.13.0.4") | |
4902 | (source | |
4903 | (origin | |
4904 | (method url-fetch) | |
4905 | (uri (string-append "https://hackage.haskell.org/package/" | |
4906 | "getopt-generics/getopt-generics-" | |
4907 | version ".tar.gz")) | |
4908 | (sha256 | |
4909 | (base32 | |
4910 | "1rszkcn1rg38wf35538ljk5bbqjc57y9sb3a0al7qxm82gy8yigr")))) | |
4911 | (build-system haskell-build-system) | |
4912 | (inputs | |
4913 | `(("ghc-base-compat" ,ghc-base-compat) | |
4914 | ("ghc-base-orphans" ,ghc-base-orphans) | |
4915 | ("ghc-generics-sop" ,ghc-generics-sop) | |
4916 | ("ghc-tagged" ,ghc-tagged))) | |
4917 | (native-inputs | |
4918 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
4919 | ("ghc-hspec" ,ghc-hspec) | |
4920 | ("ghc-safe" ,ghc-safe) | |
4921 | ("ghc-silently" ,ghc-silently) | |
4922 | ("hspec-discover" ,hspec-discover))) | |
4923 | (home-page "https://github.com/soenkehahn/getopt-generics") | |
4924 | (synopsis "Create command line interfaces with ease") | |
4925 | (description "This library provides tools to create command line | |
4926 | interfaces with ease.") | |
4927 | (license license:bsd-3))) | |
4928 | ||
dddbc90c RV |
4929 | (define-public ghc-gitrev |
4930 | (package | |
4931 | (name "ghc-gitrev") | |
4932 | (version "1.3.1") | |
4933 | (source | |
4934 | (origin | |
4935 | (method url-fetch) | |
4936 | (uri (string-append "https://hackage.haskell.org/package/gitrev/gitrev-" | |
4937 | version ".tar.gz")) | |
4938 | (sha256 | |
4939 | (base32 "0cl3lfm6k1h8fxp2vxa6ihfp4v8igkz9h35iwyq2frzm4kdn96d8")))) | |
4940 | (build-system haskell-build-system) | |
4941 | (inputs `(("ghc-base-compat" ,ghc-base-compat))) | |
4942 | (home-page "https://github.com/acfoltzer/gitrev") | |
4943 | (synopsis "Compile git revision info into Haskell projects") | |
4944 | (description | |
4945 | "This package provides some handy Template Haskell splices for including | |
4946 | the current git hash and branch in the code of your project. This is useful | |
4947 | for including in panic messages, @command{--version} output, or diagnostic | |
4948 | info for more informative bug reports.") | |
4949 | (license license:bsd-3))) | |
4950 | ||
4951 | (define-public ghc-glob | |
4952 | (package | |
4953 | (name "ghc-glob") | |
b900f486 | 4954 | (version "0.10.0") |
dddbc90c RV |
4955 | (source |
4956 | (origin | |
4957 | (method url-fetch) | |
4958 | (uri (string-append "https://hackage.haskell.org/package/" | |
4959 | "Glob-" version "/" | |
4960 | "Glob-" version ".tar.gz")) | |
4961 | (sha256 | |
4962 | (base32 | |
b900f486 | 4963 | "0953f91f62ncna402vsrfzdcyxhdpjna3bgdw017kad0dfymacs7")))) |
dddbc90c RV |
4964 | (build-system haskell-build-system) |
4965 | (inputs | |
4966 | `(("ghc-dlist" ,ghc-dlist) | |
4967 | ("ghc-semigroups" ,ghc-semigroups) | |
4968 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
4969 | (native-inputs | |
4970 | `(("ghc-hunit" ,ghc-hunit) | |
4971 | ("ghc-quickcheck" ,ghc-quickcheck) | |
4972 | ("ghc-test-framework" ,ghc-test-framework) | |
4973 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
4974 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
4975 | (home-page "http://iki.fi/matti.niemenmaa/glob/") | |
4976 | (synopsis "Haskell library matching glob patterns against file paths") | |
4977 | (description "This package provides a Haskell library for @dfn{globbing}: | |
4978 | matching patterns against file paths.") | |
4979 | (license license:bsd-3))) | |
4980 | ||
4981 | (define-public ghc-gluraw | |
4982 | (package | |
4983 | (name "ghc-gluraw") | |
4984 | (version "2.0.0.4") | |
4985 | (source | |
4986 | (origin | |
4987 | (method url-fetch) | |
4988 | (uri (string-append | |
4989 | "https://hackage.haskell.org/package/GLURaw/GLURaw-" | |
4990 | version | |
4991 | ".tar.gz")) | |
4992 | (sha256 | |
4993 | (base32 | |
4994 | "1i2xi35n5z0d372px9mh6cyhgg1m0cfaiy3fnspkf6kbn9fgsqxq")))) | |
4995 | (build-system haskell-build-system) | |
4996 | (inputs | |
4997 | `(("ghc-openglraw" ,ghc-openglraw))) | |
228d2901 | 4998 | (home-page "https://wiki.haskell.org/Opengl") |
dddbc90c RV |
4999 | (synopsis "Raw Haskell bindings GLU") |
5000 | (description "GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL | |
5001 | utility library. It is basically a 1:1 mapping of GLU's C API, intended as a | |
5002 | basis for a nicer interface.") | |
5003 | (license license:bsd-3))) | |
5004 | ||
5005 | (define-public ghc-glut | |
5006 | (package | |
5007 | (name "ghc-glut") | |
8284bd09 | 5008 | (version "2.7.0.15") |
dddbc90c RV |
5009 | (source |
5010 | (origin | |
5011 | (method url-fetch) | |
5012 | (uri (string-append | |
5013 | "https://hackage.haskell.org/package/GLUT/GLUT-" | |
5014 | version | |
5015 | ".tar.gz")) | |
5016 | (sha256 | |
5017 | (base32 | |
8284bd09 | 5018 | "0271vnf6wllhxjwy0m348x90kv27aybxcbqkkglmd5w4cpwjg5g9")))) |
dddbc90c RV |
5019 | (build-system haskell-build-system) |
5020 | (inputs | |
5021 | `(("ghc-statevar" ,ghc-statevar) | |
5022 | ("ghc-opengl" ,ghc-opengl) | |
5023 | ("ghc-openglraw" ,ghc-openglraw) | |
5024 | ("freeglut" ,freeglut))) | |
228d2901 | 5025 | (home-page "https://wiki.haskell.org/Opengl") |
dddbc90c RV |
5026 | (synopsis "Haskell bindings for the OpenGL Utility Toolkit") |
5027 | (description "This library provides Haskell bindings for the OpenGL | |
5028 | Utility Toolkit, a window system-independent toolkit for writing OpenGL | |
5029 | programs.") | |
5030 | (license license:bsd-3))) | |
5031 | ||
5032 | (define-public ghc-gnuplot | |
5033 | (package | |
5034 | (name "ghc-gnuplot") | |
d34860c7 | 5035 | (version "0.5.6") |
dddbc90c RV |
5036 | (source |
5037 | (origin | |
5038 | (method url-fetch) | |
5039 | (uri (string-append | |
5040 | "mirror://hackage/package/gnuplot/gnuplot-" | |
5041 | version ".tar.gz")) | |
5042 | (sha256 | |
d34860c7 | 5043 | (base32 "1g6xgnlkh17avivn1rlq7l2nvs26dvrbx4rkfld0bf6kyqaqwrgp")))) |
dddbc90c RV |
5044 | (build-system haskell-build-system) |
5045 | (inputs | |
5046 | `(("ghc-temporary" ,ghc-temporary) | |
5047 | ("ghc-utility-ht" ,ghc-utility-ht) | |
5048 | ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers) | |
5049 | ("ghc-data-accessor" ,ghc-data-accessor) | |
5050 | ("ghc-semigroups" ,ghc-semigroups) | |
5051 | ("gnuplot" ,gnuplot))) | |
5052 | (arguments | |
5053 | `(#:phases | |
5054 | (modify-phases %standard-phases | |
5055 | (add-before 'configure 'fix-path-to-gnuplot | |
5056 | (lambda* (#:key inputs #:allow-other-keys) | |
5057 | (let ((gnuplot (assoc-ref inputs "gnuplot"))) | |
5058 | (substitute* "os/generic/Graphics/Gnuplot/Private/OS.hs" | |
5059 | (("(gnuplotName = ).*$" all cmd) | |
5060 | (string-append cmd "\"" gnuplot "/bin/gnuplot\""))))))))) | |
228d2901 | 5061 | (home-page "https://wiki.haskell.org/Gnuplot") |
dddbc90c RV |
5062 | (synopsis "2D and 3D plots using gnuplot") |
5063 | (description "This package provides a Haskell module for creating 2D and | |
5064 | 3D plots using gnuplot.") | |
5065 | (license license:bsd-3))) | |
5066 | ||
5067 | (define-public ghc-graphviz | |
5068 | (package | |
5069 | (name "ghc-graphviz") | |
c264bd42 | 5070 | (version "2999.20.0.3") |
dddbc90c RV |
5071 | (source (origin |
5072 | (method url-fetch) | |
5073 | (uri (string-append "https://hackage.haskell.org/package/" | |
5074 | "graphviz/graphviz-" version ".tar.gz")) | |
5075 | (sha256 | |
5076 | (base32 | |
c264bd42 | 5077 | "04k26zw61nfv1pkd00iaq89pgsaiym0sf4cbzkmm2k2fj5xa587g")))) |
dddbc90c | 5078 | (build-system haskell-build-system) |
c264bd42 TS |
5079 | (arguments |
5080 | `(#:phases | |
5081 | (modify-phases %standard-phases | |
5082 | (add-before 'configure 'update-constraints | |
5083 | (lambda _ | |
5084 | (substitute* "graphviz.cabal" | |
5085 | (("QuickCheck >= 2\\.3 && < 2\\.13") | |
5086 | "QuickCheck >= 2.3 && < 2.14") | |
5087 | (("hspec >= 2\\.1 && < 2\\.7") | |
5088 | "hspec >= 2.1 && < 2.8"))))))) | |
dddbc90c RV |
5089 | (inputs |
5090 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
5091 | ("ghc-colour" ,ghc-colour) | |
5092 | ("ghc-dlist" ,ghc-dlist) | |
5093 | ("ghc-fgl" ,ghc-fgl) | |
5094 | ("ghc-fgl-arbitrary" ,ghc-fgl-arbitrary) | |
5095 | ("ghc-polyparse" ,ghc-polyparse) | |
5096 | ("ghc-temporary" ,ghc-temporary) | |
5097 | ("ghc-wl-pprint-text" ,ghc-wl-pprint-text))) | |
5098 | (native-inputs | |
5099 | `(("ghc-hspec" ,ghc-hspec) | |
5100 | ("graphviz" ,graphviz) | |
5101 | ("hspec-discover" ,hspec-discover))) | |
5102 | (home-page "https://hackage.haskell.org/package/graphviz") | |
5103 | (synopsis "Bindings to Graphviz for graph visualisation") | |
5104 | (description | |
5105 | "This library provides bindings for the Dot language used by | |
5106 | the @uref{https://graphviz.org/, Graphviz} suite of programs for | |
5107 | visualising graphs, as well as functions to call those programs. | |
5108 | Main features of the graphviz library include: | |
5109 | ||
5110 | @enumerate | |
5111 | @item Almost complete coverage of all Graphviz attributes and syntax | |
5112 | @item Support for specifying clusters | |
5113 | @item The ability to use a custom node type | |
5114 | @item Functions for running a Graphviz layout tool with all specified output types | |
5115 | @item Generate and parse Dot code with two options: strict and liberal | |
5116 | @item Functions to convert FGL graphs and other graph-like data structures | |
5117 | @item Round-trip support for passing an FGL graph through Graphviz to augment node | |
5118 | and edge labels with positional information, etc. | |
5119 | @end enumerate\n") | |
5120 | (license license:bsd-3))) | |
5121 | ||
f3e18645 TS |
5122 | (define-public ghc-groups |
5123 | (package | |
5124 | (name "ghc-groups") | |
5125 | (version "0.4.1.0") | |
5126 | (source | |
5127 | (origin | |
5128 | (method url-fetch) | |
5129 | (uri (string-append "https://hackage.haskell.org/package/" | |
5130 | "groups/groups-" version ".tar.gz")) | |
5131 | (sha256 | |
5132 | (base32 | |
5133 | "0ggkygkyxw5ga4cza82bjvdraavl294k0h6b62d2px7z3nvqhifx")))) | |
5134 | (build-system haskell-build-system) | |
5135 | (home-page "https://hackage.haskell.org/package/groups") | |
5136 | (synopsis "Haskell 98 groups") | |
5137 | (description "This package provides Haskell 98 groups. A group is a | |
5138 | monoid with invertibility.") | |
5139 | (license license:bsd-3))) | |
5140 | ||
dddbc90c RV |
5141 | (define-public ghc-gtk2hs-buildtools |
5142 | (package | |
5143 | (name "ghc-gtk2hs-buildtools") | |
b79b43d4 | 5144 | (version "0.13.5.4") |
dddbc90c RV |
5145 | (source |
5146 | (origin | |
5147 | (method url-fetch) | |
5148 | (uri (string-append "https://hackage.haskell.org/package/" | |
5149 | "gtk2hs-buildtools/gtk2hs-buildtools-" | |
5150 | version ".tar.gz")) | |
5151 | (sha256 | |
5152 | (base32 | |
b79b43d4 | 5153 | "1flxsacxwmabzzalhn8558kmj95z01c0lmikrn56nxh7p62nxm25")))) |
dddbc90c RV |
5154 | (build-system haskell-build-system) |
5155 | (inputs | |
5156 | `(("ghc-random" ,ghc-random) | |
5157 | ("ghc-hashtables" ,ghc-hashtables))) | |
5158 | (native-inputs | |
5159 | `(("ghc-alex" ,ghc-alex) | |
5160 | ("ghc-happy" ,ghc-happy))) | |
5161 | (home-page "http://projects.haskell.org/gtk2hs/") | |
5162 | (synopsis "Tools to build the Gtk2Hs suite of user interface libraries") | |
5163 | (description | |
5164 | "This package provides a set of helper programs necessary to build the | |
5165 | Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool | |
5166 | that is used to generate FFI declarations, a tool to build a type hierarchy | |
5167 | that mirrors the C type hierarchy of GObjects found in glib, and a generator | |
5168 | for signal declarations that are used to call back from C to Haskell. These | |
5169 | tools are not needed to actually run Gtk2Hs programs.") | |
5170 | (license license:gpl2))) | |
5171 | ||
5172 | (define-public ghc-hackage-security | |
5173 | (package | |
5174 | (name "ghc-hackage-security") | |
5175 | (version "0.5.3.0") | |
5176 | (source | |
5177 | (origin | |
5178 | (method url-fetch) | |
5179 | (uri (string-append "https://hackage.haskell.org/package/" | |
5180 | "hackage-security/hackage-security-" | |
5181 | version ".tar.gz")) | |
5182 | (sha256 | |
5183 | (base32 | |
5184 | "08bwawc7ramgdh54vcly2m9pvfchp0ahhs8117jajni6x4bnx66v")))) | |
5185 | (build-system haskell-build-system) | |
5186 | (arguments | |
034380f3 TS |
5187 | `(#:cabal-revision |
5188 | ("6" "1xs2nkzlvkdz8g27yzfxbjdbdadfmgiydnlpn5dm77cg18r495ay") | |
5189 | #:tests? #f)) ; Tests fail because of framework updates. | |
dddbc90c RV |
5190 | (inputs |
5191 | `(("ghc-base16-bytestring" ,ghc-base16-bytestring) | |
5192 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
5193 | ("ghc-cryptohash-sha256" ,ghc-cryptohash-sha256) | |
5194 | ("ghc-ed25519" ,ghc-ed25519) | |
5195 | ("ghc-network" ,ghc-network) | |
5196 | ("ghc-network-uri" ,ghc-network-uri) | |
5197 | ("ghc-tar" ,ghc-tar) | |
5198 | ("ghc-zlib" ,ghc-zlib))) | |
5199 | (native-inputs | |
5200 | `(("ghc-network-uri" ,ghc-network-uri) | |
5201 | ("ghc-quickcheck" ,ghc-quickcheck) | |
5202 | ("ghc-tar" ,ghc-tar) | |
5203 | ("ghc-tasty" ,ghc-tasty) | |
5204 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
5205 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
5206 | ("ghc-temporary" ,ghc-temporary) | |
5207 | ("ghc-zlib" ,ghc-zlib))) | |
5208 | (home-page "https://github.com/haskell/hackage-security") | |
5209 | (synopsis "Hackage security library") | |
5210 | (description "This Hackage security library provides both server and | |
5211 | client utilities for securing @uref{http://hackage.haskell.org/, the | |
5212 | Hackage package server}. It is based on | |
5213 | @uref{http://theupdateframework.com/, The Update Framework}, a set of | |
5214 | recommendations developed by security researchers at various universities | |
5215 | in the US as well as developers on the @uref{https://www.torproject.org/, | |
5216 | Tor project}.") | |
5217 | (license license:bsd-3))) | |
5218 | ||
5219 | (define-public ghc-haddock | |
5220 | (package | |
5221 | (name "ghc-haddock") | |
b0d34d23 | 5222 | (version "2.22.0") |
dddbc90c RV |
5223 | (source |
5224 | (origin | |
5225 | (method url-fetch) | |
5226 | (uri (string-append | |
5227 | "https://hackage.haskell.org/package/haddock/haddock-" | |
5228 | version | |
5229 | ".tar.gz")) | |
5230 | (sha256 | |
5231 | (base32 | |
b0d34d23 | 5232 | "1k42z2zh550rl93c8pa9cg2xsanp6wvb031xvan6cmngnplmdib6")))) |
dddbc90c RV |
5233 | (build-system haskell-build-system) |
5234 | (arguments | |
5235 | `(#:phases | |
5236 | (modify-phases %standard-phases | |
b0d34d23 TS |
5237 | ;; The release tarball for 2.22.0 is missing the test data for |
5238 | ;; the Hoogle test, causing it to fail. This is fixed in the | |
5239 | ;; next release, but for now we disable it. | |
5240 | (add-before 'configure 'remove-hoogle-test | |
dddbc90c RV |
5241 | (lambda _ |
5242 | (use-modules (ice-9 rdelim)) | |
5243 | (with-atomic-file-replacement "haddock.cabal" | |
5244 | (lambda (in out) | |
5245 | (let loop ((line (read-line in 'concat)) (deleting? #f)) | |
5246 | (cond | |
5247 | ((eof-object? line) #t) | |
5248 | ((string-every char-set:whitespace line) | |
5249 | (unless deleting? (display line out)) | |
5250 | (loop (read-line in 'concat) #f)) | |
b0d34d23 | 5251 | ((string=? line "test-suite hoogle-test\n") |
dddbc90c RV |
5252 | (loop (read-line in 'concat) #t)) |
5253 | (else | |
5254 | (unless deleting? (display line out)) | |
b0d34d23 TS |
5255 | (loop (read-line in 'concat) deleting?)))))))) |
5256 | (add-before 'check 'add-haddock-to-path | |
5257 | (lambda _ | |
5258 | (setenv "PATH" (string-append (getcwd) "/dist/build/haddock" | |
5259 | ":" (getenv "PATH"))) | |
5260 | #t))))) | |
dddbc90c RV |
5261 | (inputs `(("ghc-haddock-api" ,ghc-haddock-api))) |
5262 | (native-inputs | |
b0d34d23 TS |
5263 | `(("ghc-haddock-test" ,ghc-haddock-test) |
5264 | ("ghc-hspec" ,ghc-hspec))) | |
dddbc90c RV |
5265 | (home-page "https://www.haskell.org/haddock/") |
5266 | (synopsis | |
5267 | "Documentation-generation tool for Haskell libraries") | |
5268 | (description | |
5269 | "Haddock is a documentation-generation tool for Haskell libraries.") | |
5270 | (license license:bsd-3))) | |
5271 | ||
5272 | (define-public ghc-haddock-api | |
5273 | (package | |
5274 | (name "ghc-haddock-api") | |
1b84d8ef | 5275 | (version "2.22.0") |
dddbc90c RV |
5276 | (source |
5277 | (origin | |
5278 | (method url-fetch) | |
5279 | (uri (string-append | |
5280 | "https://hackage.haskell.org/package/haddock-api/haddock-api-" | |
5281 | version | |
5282 | ".tar.gz")) | |
1b84d8ef | 5283 | (patches (search-patches "ghc-haddock-api-fix-haddock.patch")) |
dddbc90c RV |
5284 | (sha256 |
5285 | (base32 | |
1b84d8ef | 5286 | "149q4zlf4m7wcrr4af2n2flh0jxjsypshbc229vsj1m0kmz4z014")))) |
dddbc90c RV |
5287 | (build-system haskell-build-system) |
5288 | (arguments | |
5289 | `(#:phases | |
5290 | (modify-phases %standard-phases | |
5291 | (add-before 'configure 'update-constraints | |
5292 | (lambda _ | |
5293 | (substitute* "haddock-api.cabal" | |
1b84d8ef TS |
5294 | (("QuickCheck \\^>= 2\\.11") |
5295 | "QuickCheck ^>= 2.13") | |
5296 | (("hspec >= 2\\.4\\.4 && < 2\\.6") | |
5297 | "hspec >= 2.4.4 && < 2.8"))))))) | |
dddbc90c RV |
5298 | (inputs |
5299 | `(("ghc-paths" ,ghc-paths) | |
5300 | ("ghc-haddock-library" ,ghc-haddock-library))) | |
5301 | (native-inputs | |
5302 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
5303 | ("ghc-hspec" ,ghc-hspec) | |
5304 | ("hspec-discover" ,hspec-discover))) | |
5305 | (home-page "https://www.haskell.org/haddock/") | |
5306 | (synopsis "API for documentation-generation tool Haddock") | |
5307 | (description "This package provides an API to Haddock, the | |
5308 | documentation-generation tool for Haskell libraries.") | |
5309 | (license license:bsd-3))) | |
5310 | ||
5311 | (define-public ghc-haddock-library | |
5312 | (package | |
5313 | (name "ghc-haddock-library") | |
10707d57 | 5314 | (version "1.7.0") |
dddbc90c RV |
5315 | (source |
5316 | (origin | |
5317 | (method url-fetch) | |
5318 | (uri (string-append | |
5319 | "https://hackage.haskell.org/package/haddock-library/haddock-library-" | |
5320 | version | |
5321 | ".tar.gz")) | |
5322 | (sha256 | |
5323 | (base32 | |
10707d57 | 5324 | "04fhcjk0pvsaqvsgp2w06cv2qvshq1xs1bwc157q4lmkgr57khp7")))) |
dddbc90c RV |
5325 | (build-system haskell-build-system) |
5326 | (arguments | |
5327 | `(#:phases | |
5328 | (modify-phases %standard-phases | |
10707d57 TS |
5329 | ;; Since there is no revised Cabal file upstream, we have to |
5330 | ;; patch it manually. | |
dddbc90c RV |
5331 | (add-before 'configure 'relax-test-suite-dependencies |
5332 | (lambda _ | |
5333 | (substitute* "haddock-library.cabal" | |
10707d57 TS |
5334 | (("hspec\\s*>= 2.4.4 && < 2.6") "hspec") |
5335 | (("QuickCheck\\s*\\^>= 2.11") "QuickCheck")) | |
dddbc90c RV |
5336 | #t))))) |
5337 | (native-inputs | |
5338 | `(("ghc-base-compat" ,ghc-base-compat) | |
5339 | ("ghc-hspec" ,ghc-hspec) | |
5340 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
5341 | ("ghc-quickcheck" ,ghc-quickcheck) | |
5342 | ("ghc-tree-diff" ,ghc-tree-diff) | |
5343 | ("hspec-discover" ,hspec-discover))) | |
5344 | (home-page "https://www.haskell.org/haddock/") | |
5345 | (synopsis "Library exposing some functionality of Haddock") | |
5346 | (description | |
5347 | "Haddock is a documentation-generation tool for Haskell libraries. These | |
5348 | modules expose some functionality of it without pulling in the GHC dependency. | |
5349 | Please note that the API is likely to change so specify upper bounds in your | |
5350 | project if you can't release often. For interacting with Haddock itself, see | |
5351 | the ‘haddock’ package.") | |
5352 | (license license:bsd-3))) | |
5353 | ||
b0d34d23 TS |
5354 | ;; This package is needed for testing 'ghc-haddock'. It is no longer |
5355 | ;; published to Hackage, but it is maintained in the Haddock Git | |
5356 | ;; repository. | |
5357 | (define ghc-haddock-test | |
5358 | (package | |
5359 | (name "ghc-haddock-test") | |
5360 | (version "2.22.0") | |
5361 | (source | |
5362 | (origin | |
5363 | (method git-fetch) | |
5364 | (uri (git-reference | |
b0e7b699 | 5365 | (url "https://github.com/haskell/haddock") |
b0d34d23 TS |
5366 | (commit (string-append "haddock-" version "-release")))) |
5367 | (file-name (git-file-name name version)) | |
5368 | (sha256 | |
5369 | (base32 | |
5370 | "1ywxmqqan10gs0ppybdmdgsmvkzkpw7yirj2rw4qylg3x49a9zca")))) | |
5371 | (build-system haskell-build-system) | |
5372 | (arguments | |
5373 | `(#:phases | |
5374 | (modify-phases %standard-phases | |
5375 | (add-after 'unpack 'change-directory | |
5376 | (lambda _ | |
5377 | (chdir "haddock-test")))))) | |
5378 | (inputs | |
5379 | `(("ghc-syb" ,ghc-syb) | |
5380 | ("ghc-xml" ,ghc-xml))) | |
228d2901 | 5381 | (home-page "https://www.haskell.org/haddock/") |
b0d34d23 TS |
5382 | (synopsis "Test utilities for Haddock") |
5383 | (description "This package provides test utilities for Haddock.") | |
5384 | (license license:bsd-3) | |
5385 | (properties '((hidden? #t))))) | |
5386 | ||
dddbc90c RV |
5387 | (define-public ghc-half |
5388 | (package | |
5389 | (name "ghc-half") | |
5390 | (version "0.3") | |
5391 | (source | |
5392 | (origin | |
5393 | (method url-fetch) | |
5394 | (uri (string-append | |
5395 | "https://hackage.haskell.org/package/half/half-" | |
5396 | version ".tar.gz")) | |
5397 | (sha256 | |
5398 | (base32 | |
5399 | "14r0nx8hm5fic9gz0ybjjw4kyc758zfgvhhwvzsshpx5caq6zch6")))) | |
5400 | (build-system haskell-build-system) | |
5401 | (native-inputs | |
5402 | `(("ghc-hspec" ,ghc-hspec) | |
5403 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
5404 | (home-page "https://github.com/ekmett/half") | |
5405 | (synopsis "Half-precision floating-point computations") | |
5406 | (description "This library provides a half-precision floating-point | |
5407 | computation library for Haskell.") | |
5408 | (license license:bsd-3))) | |
5409 | ||
5410 | (define-public ghc-happy | |
5411 | (package | |
5412 | (name "ghc-happy") | |
90e7b0e4 | 5413 | (version "1.19.12") |
dddbc90c RV |
5414 | (source |
5415 | (origin | |
5416 | (method url-fetch) | |
5417 | (uri (string-append | |
5418 | "https://hackage.haskell.org/package/happy/happy-" | |
5419 | version | |
5420 | ".tar.gz")) | |
5421 | (sha256 | |
5422 | (base32 | |
90e7b0e4 | 5423 | "03xlmq6qmdx4zvzw8bp33kd9g7yvcq5cz4wg50xilw812kj276pv")))) |
dddbc90c RV |
5424 | (build-system haskell-build-system) |
5425 | (arguments | |
5426 | `(#:phases | |
5427 | (modify-phases %standard-phases | |
5428 | (add-after 'unpack 'skip-test-issue93 | |
5429 | (lambda _ | |
5430 | ;; Tests run out of memory on a system with 2GB of available RAM, | |
5431 | ;; in 'issue93.a.hs' and 'issue93.n.hs'. | |
5432 | (substitute* "tests/Makefile" | |
5433 | ((" issue93.y ") " ")) | |
5434 | #t))))) | |
5435 | (home-page "https://hackage.haskell.org/package/happy") | |
5436 | (synopsis "Parser generator for Haskell") | |
5437 | (description "Happy is a parser generator for Haskell. Given a grammar | |
5438 | specification in BNF, Happy generates Haskell code to parse the grammar. | |
5439 | Happy works in a similar way to the yacc tool for C.") | |
5440 | (license license:bsd-3))) | |
5441 | ||
5442 | (define-public ghc-hashable | |
5443 | (package | |
5444 | (name "ghc-hashable") | |
5445 | (version "1.2.7.0") | |
534d6caa | 5446 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
5447 | (source |
5448 | (origin | |
5449 | (method url-fetch) | |
5450 | (uri (string-append | |
5451 | "https://hackage.haskell.org/package/hashable/hashable-" | |
5452 | version | |
5453 | ".tar.gz")) | |
5454 | (sha256 | |
5455 | (base32 | |
5456 | "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc")))) | |
5457 | (build-system haskell-build-system) | |
65a16a45 TS |
5458 | (arguments |
5459 | `(#:cabal-revision | |
5460 | ("1" "197063dpl0wn67dp7a06yc2hxp81n24ykk7klbjx0fndm5n87dh3"))) | |
dddbc90c RV |
5461 | (inputs |
5462 | `(("ghc-random" ,ghc-random))) | |
5463 | (native-inputs | |
5464 | `(("ghc-test-framework" ,ghc-test-framework) | |
5465 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
5466 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
5467 | ("ghc-hunit" ,ghc-hunit) | |
5468 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
5469 | (home-page "https://github.com/tibbe/hashable") | |
5470 | (synopsis "Class for types that can be converted to a hash value") | |
5471 | (description | |
5472 | "This package defines a class, @code{Hashable}, for types that can be | |
5473 | converted to a hash value. This class exists for the benefit of hashing-based | |
5474 | data structures. The package provides instances for basic types and a way to | |
5475 | combine hash values.") | |
5476 | (license license:bsd-3))) | |
5477 | ||
5478 | (define-public ghc-hashable-bootstrap | |
5479 | (package | |
5480 | (inherit ghc-hashable) | |
5481 | (name "ghc-hashable-bootstrap") | |
65a16a45 TS |
5482 | (arguments |
5483 | `(#:tests? #f | |
5484 | ,@(package-arguments ghc-hashable))) | |
dddbc90c RV |
5485 | (native-inputs '()) |
5486 | (properties '((hidden? #t))))) | |
5487 | ||
5488 | (define-public ghc-hashable-time | |
5489 | (package | |
5490 | (name "ghc-hashable-time") | |
f5051e31 | 5491 | (version "0.2.0.2") |
dddbc90c RV |
5492 | (source |
5493 | (origin | |
5494 | (method url-fetch) | |
5495 | (uri (string-append | |
5496 | "https://hackage.haskell.org/package/hashable-time/hashable-time-" | |
5497 | version | |
5498 | ".tar.gz")) | |
5499 | (sha256 | |
5500 | (base32 | |
f5051e31 | 5501 | "1q7y4plqqwy5286hhx2fygn12h8lqk0y047b597sbdckskxzfqgs")))) |
dddbc90c RV |
5502 | (build-system haskell-build-system) |
5503 | (arguments | |
5504 | `(#:cabal-revision | |
f5051e31 | 5505 | ("2" "006phc5y9rrvsshdcmjmhxzxh8dpgs685mpqbkjm9c40xb1ydjbz"))) |
dddbc90c | 5506 | (inputs `(("ghc-hashable" ,ghc-hashable))) |
3b02036e | 5507 | (home-page "https://hackage.haskell.org/package/hashable-time") |
dddbc90c RV |
5508 | (synopsis "Hashable instances for Data.Time") |
5509 | (description | |
5510 | "This package provides @code{Hashable} instances for types in | |
5511 | @code{Data.Time}.") | |
5512 | (license license:bsd-3))) | |
5513 | ||
5514 | (define-public ghc-hashtables | |
5515 | (package | |
5516 | (name "ghc-hashtables") | |
19edf0d0 | 5517 | (version "1.2.3.4") |
dddbc90c RV |
5518 | (source |
5519 | (origin | |
5520 | (method url-fetch) | |
5521 | (uri (string-append | |
5522 | "https://hackage.haskell.org/package/hashtables/hashtables-" | |
5523 | version ".tar.gz")) | |
5524 | (sha256 | |
19edf0d0 | 5525 | (base32 "1rjmxnr30g4hygiywkpz5p9sanh0abs7ap4zc1kgd8zv04kycp0j")))) |
dddbc90c RV |
5526 | (build-system haskell-build-system) |
5527 | (inputs | |
5528 | `(("ghc-hashable" ,ghc-hashable) | |
5529 | ("ghc-primitive" ,ghc-primitive) | |
5530 | ("ghc-vector" ,ghc-vector))) | |
5531 | (home-page "https://github.com/gregorycollins/hashtables") | |
5532 | (synopsis "Haskell Mutable hash tables in the ST monad") | |
5533 | (description "This package provides a Haskell library including a | |
5534 | couple of different implementations of mutable hash tables in the ST | |
5535 | monad, as well as a typeclass abstracting their common operations, and | |
5536 | a set of wrappers to use the hash tables in the IO monad.") | |
5537 | (license license:bsd-3))) | |
5538 | ||
dd26713e JS |
5539 | (define-public ghc-haskeline-0.8 |
5540 | (package | |
5541 | (name "ghc-haskeline") | |
5542 | (version "0.8.0.0") | |
5543 | (source | |
5544 | (origin | |
5545 | (method url-fetch) | |
5546 | (uri (string-append | |
5547 | "https://hackage.haskell.org/package/haskeline/haskeline-" | |
5548 | version | |
5549 | ".tar.gz")) | |
5550 | (sha256 | |
5551 | (base32 | |
5552 | "0gqsa5s0drim9m42hv4wrq61mnvcdylxysfxfw3acncwilfrn9pb")))) | |
5553 | (build-system haskell-build-system) | |
5554 | (inputs `(("ghc-exceptions" ,ghc-exceptions))) | |
5555 | (native-inputs `(("ghc-hunit" ,ghc-hunit))) | |
5556 | ;; FIXME: Tests failing | |
5557 | (arguments `(#:tests? #f)) | |
5558 | (home-page "https://github.com/judah/haskeline") | |
5559 | (synopsis | |
5560 | "Command-line interface for user input, written in Haskell") | |
5561 | (description | |
5562 | "Haskeline provides a user interface for line input in command-line | |
5563 | programs. This library is similar in purpose to readline, but since it is | |
5564 | written in Haskell it is (hopefully) more easily used in other Haskell | |
5565 | programs. | |
5566 | ||
5567 | Haskeline runs both on POSIX-compatible systems and on Windows.") | |
5568 | (license license:bsd-3))) | |
5569 | ||
dddbc90c RV |
5570 | (define-public ghc-haskell-lexer |
5571 | (package | |
5572 | (name "ghc-haskell-lexer") | |
5573 | (version "1.0.2") | |
5574 | (source | |
5575 | (origin | |
5576 | (method url-fetch) | |
5577 | (uri (string-append | |
5578 | "https://hackage.haskell.org/package/haskell-lexer/haskell-lexer-" | |
5579 | version ".tar.gz")) | |
5580 | (sha256 | |
5581 | (base32 "1wyxd8x33x4v5vxyzkhm610pl86gbkc8y439092fr1735q9g7kfq")))) | |
5582 | (build-system haskell-build-system) | |
3ef91e15 | 5583 | (home-page "https://hackage.haskell.org/package/haskell-lexer") |
dddbc90c RV |
5584 | (synopsis "Fully compliant Haskell 98 lexer") |
5585 | (description | |
5586 | "This package provides a fully compliant Haskell 98 lexer.") | |
5587 | (license license:bsd-3))) | |
5588 | ||
5589 | (define-public ghc-haskell-src | |
5590 | (package | |
5591 | (name "ghc-haskell-src") | |
5592 | (version "1.0.3.0") | |
5593 | (source | |
5594 | (origin | |
5595 | (method url-fetch) | |
5596 | (uri (string-append | |
5597 | "https://hackage.haskell.org/package/haskell-src/haskell-src-" | |
5598 | version | |
5599 | ".tar.gz")) | |
5600 | (sha256 | |
5601 | (base32 | |
5602 | "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l")))) | |
5603 | (build-system haskell-build-system) | |
5604 | (inputs | |
5605 | `(("ghc-happy" ,ghc-happy) | |
5606 | ("ghc-syb" ,ghc-syb))) | |
5607 | (home-page | |
5608 | "https://hackage.haskell.org/package/haskell-src") | |
5609 | (synopsis | |
5610 | "Support for manipulating Haskell source code") | |
5611 | (description | |
5612 | "The @code{haskell-src} package provides support for manipulating Haskell | |
5613 | source code. The package provides a lexer, parser and pretty-printer, and a | |
5614 | definition of a Haskell abstract syntax tree (AST). Common uses of this | |
5615 | package are to parse or generate Haskell 98 code.") | |
5616 | (license license:bsd-3))) | |
5617 | ||
5618 | (define-public ghc-haskell-src-exts | |
5619 | (package | |
5620 | (name "ghc-haskell-src-exts") | |
37a05591 | 5621 | (version "1.21.1") |
dddbc90c RV |
5622 | (source |
5623 | (origin | |
5624 | (method url-fetch) | |
5625 | (uri (string-append | |
5626 | "https://hackage.haskell.org/package/haskell-src-exts/haskell-src-exts-" | |
5627 | version | |
5628 | ".tar.gz")) | |
5629 | (sha256 | |
5630 | (base32 | |
37a05591 | 5631 | "0q1y8n3d82gid9bcx8wxsqqmj9mq11fg3gp5yzpfbw958dhi3j9f")))) |
dddbc90c | 5632 | (build-system haskell-build-system) |
cad59e53 | 5633 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
5634 | (inputs |
5635 | `(("cpphs" ,cpphs) | |
5636 | ("ghc-happy" ,ghc-happy) | |
5637 | ("ghc-pretty-show" ,ghc-pretty-show))) | |
5638 | (native-inputs | |
5639 | `(("ghc-smallcheck" ,ghc-smallcheck) | |
5640 | ("ghc-tasty" ,ghc-tasty) | |
5641 | ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) | |
5642 | ("ghc-tasty-golden" ,ghc-tasty-golden))) | |
5643 | (home-page "https://github.com/haskell-suite/haskell-src-exts") | |
5644 | (synopsis "Library for manipulating Haskell source") | |
5645 | (description "Haskell-Source with Extensions (HSE, haskell-src-exts) is an | |
5646 | extension of the standard @code{haskell-src} package, and handles most | |
5647 | registered syntactic extensions to Haskell. All extensions implemented in GHC | |
5648 | are supported. Apart from these standard extensions, it also handles regular | |
5649 | patterns as per the HaRP extension as well as HSX-style embedded XML syntax.") | |
5650 | (license license:bsd-3))) | |
5651 | ||
5652 | (define-public ghc-haskell-src-exts-util | |
5653 | (package | |
5654 | (name "ghc-haskell-src-exts-util") | |
77355bdf | 5655 | (version "0.2.5") |
dddbc90c RV |
5656 | (source |
5657 | (origin | |
5658 | (method url-fetch) | |
5659 | (uri (string-append "https://hackage.haskell.org/package/" | |
5660 | "haskell-src-exts-util/haskell-src-exts-util-" | |
5661 | version ".tar.gz")) | |
5662 | (sha256 | |
5663 | (base32 | |
77355bdf | 5664 | "0fvqi72m74p7q5sbpy8m2chm8a1lgy10mfrcxcz8wrh59vngj0n8")))) |
dddbc90c RV |
5665 | (build-system haskell-build-system) |
5666 | (inputs | |
5667 | `(("ghc-data-default" ,ghc-data-default) | |
5668 | ("ghc-haskell-src-exts" ,ghc-haskell-src-exts) | |
5669 | ("ghc-semigroups" ,ghc-semigroups) | |
5670 | ("ghc-uniplate" ,ghc-uniplate))) | |
5671 | (home-page "https://github.com/pepeiborra/haskell-src-exts-util") | |
5672 | (synopsis "Helper functions for working with haskell-src-exts trees") | |
5673 | (description | |
5674 | "This package provides helper functions for working with | |
5675 | @code{haskell-src-exts} trees.") | |
5676 | (license license:bsd-3))) | |
5677 | ||
5678 | (define-public ghc-haskell-src-meta | |
5679 | (package | |
5680 | (name "ghc-haskell-src-meta") | |
e94b3c72 | 5681 | (version "0.8.3") |
dddbc90c RV |
5682 | (source (origin |
5683 | (method url-fetch) | |
5684 | (uri (string-append "https://hackage.haskell.org/package/" | |
5685 | "haskell-src-meta/haskell-src-meta-" | |
5686 | version ".tar.gz")) | |
5687 | (sha256 | |
5688 | (base32 | |
e94b3c72 | 5689 | "17znnaqj2hnnfyc9p9xjzbs97h2jh1h4f4qbw648y3xa14wx5ra9")))) |
dddbc90c RV |
5690 | (build-system haskell-build-system) |
5691 | (inputs | |
5692 | `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts) | |
5693 | ("ghc-syb" ,ghc-syb) | |
5694 | ("ghc-th-orphans" ,ghc-th-orphans))) | |
5695 | (native-inputs | |
5696 | `(("ghc-hunit" ,ghc-hunit) | |
e94b3c72 TS |
5697 | ("ghc-tasty" ,ghc-tasty) |
5698 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
dddbc90c RV |
5699 | (home-page "https://hackage.haskell.org/package/haskell-src-meta") |
5700 | (synopsis "Parse source to template-haskell abstract syntax") | |
5701 | (description | |
5702 | "This package provides tools to parse Haskell sources to the | |
5703 | template-haskell abstract syntax.") | |
5704 | (license license:bsd-3))) | |
5705 | ||
5706 | (define-public ghc-hasktags | |
5707 | (package | |
5708 | (name "ghc-hasktags") | |
5709 | (version "0.71.2") | |
5710 | (source | |
5711 | (origin | |
5712 | (method url-fetch) | |
5713 | (uri (string-append | |
5714 | "https://hackage.haskell.org/package/hasktags/hasktags-" | |
5715 | version | |
5716 | ".tar.gz")) | |
5717 | (sha256 | |
5718 | (base32 | |
5719 | "1s2k9qrgy1jily96img2pmn7g35mwnnfiw6si3aw32jfhg5zsh1c")))) | |
5720 | (build-system haskell-build-system) | |
5721 | (inputs | |
5722 | `(("ghc-system-filepath" ,ghc-system-filepath) | |
5723 | ("ghc-optparse-applicative" ,ghc-optparse-applicative))) | |
5724 | (native-inputs | |
5725 | `(("ghc-json" ,ghc-json) | |
5726 | ("ghc-utf8-string" ,ghc-utf8-string) | |
5727 | ("ghc-microlens-platform" ,ghc-microlens-platform) | |
5728 | ("ghc-hunit" ,ghc-hunit))) | |
702a1012 | 5729 | (home-page "https://github.com/MarcWeber/hasktags") |
dddbc90c RV |
5730 | (synopsis "Make @code{Ctags} and @code{Etags} files for Haskell programs") |
5731 | (description | |
5732 | "This package provides a means of generating tag files for Emacs and | |
5733 | Vim.") | |
5734 | (license license:bsd-3))) | |
5735 | ||
5736 | (define-public ghc-hex | |
5737 | (package | |
5738 | (name "ghc-hex") | |
5739 | (version "0.1.2") | |
5740 | (source | |
5741 | (origin | |
5742 | (method url-fetch) | |
5743 | (uri (string-append "https://hackage.haskell.org/package/" | |
5744 | "hex-" version "/" | |
5745 | "hex-" version ".tar.gz")) | |
5746 | (sha256 | |
5747 | (base32 | |
5748 | "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj")))) | |
5749 | (build-system haskell-build-system) | |
5750 | (home-page "https://hackage.haskell.org/package/hex") | |
5751 | (synopsis "Convert strings into hexadecimal and back") | |
7230f6d5 TGR |
5752 | (description "This package converts between bytestrings and their |
5753 | hexadecimal string representation.") | |
dddbc90c RV |
5754 | (license license:bsd-3))) |
5755 | ||
5756 | (define-public ghc-highlighting-kate | |
5757 | (package | |
5758 | (name "ghc-highlighting-kate") | |
5759 | (version "0.6.4") | |
5760 | (source (origin | |
5761 | (method url-fetch) | |
5762 | (uri (string-append "https://hackage.haskell.org/package/" | |
5763 | "highlighting-kate/highlighting-kate-" | |
5764 | version ".tar.gz")) | |
5765 | (sha256 | |
5766 | (base32 | |
5767 | "1bqv00gfmrsf0jjr4qf3lhshvfkyzmhbi3pjb6mafbnsyn2k7f6q")))) | |
5768 | (build-system haskell-build-system) | |
5769 | (inputs | |
5770 | `(("ghc-diff" ,ghc-diff) | |
5771 | ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin))) | |
5772 | (native-inputs | |
5773 | `(("ghc-blaze-html" ,ghc-blaze-html) | |
5774 | ("ghc-utf8-string" ,ghc-utf8-string))) | |
5775 | (home-page "https://github.com/jgm/highlighting-kate") | |
5776 | (synopsis "Syntax highlighting library") | |
5777 | (description | |
5778 | "Highlighting-kate is a syntax highlighting library with support for | |
5779 | nearly one hundred languages. The syntax parsers are automatically generated | |
5780 | from @uref{https://kate-editor.org/, Kate syntax descriptions}, so any syntax | |
5781 | supported by Kate can be added. An (optional) command-line program is | |
5782 | provided, along with a utility for generating new parsers from Kate XML syntax | |
5783 | descriptions.") | |
5784 | (license license:gpl2+))) | |
5785 | ||
5786 | (define-public ghc-hindent | |
5787 | (package | |
5788 | (name "ghc-hindent") | |
f545f894 | 5789 | (version "5.3.1") |
dddbc90c RV |
5790 | (source |
5791 | (origin | |
5792 | (method url-fetch) | |
5793 | (uri (string-append | |
5794 | "https://hackage.haskell.org/package/hindent/hindent-" | |
5795 | version | |
5796 | ".tar.gz")) | |
5797 | (sha256 | |
5798 | (base32 | |
f545f894 | 5799 | "008s8zm9qs972b7v5kkmr8l3i9kc6zm7yj33mkw6dv69b7h3c01l")))) |
dddbc90c RV |
5800 | (build-system haskell-build-system) |
5801 | (arguments | |
5802 | `(#:modules ((guix build haskell-build-system) | |
5803 | (guix build utils) | |
5804 | (guix build emacs-utils)) | |
5805 | #:imported-modules (,@%haskell-build-system-modules | |
5806 | (guix build emacs-utils)) | |
5807 | #:phases | |
5808 | (modify-phases %standard-phases | |
5809 | (add-after 'install 'emacs-install | |
5810 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
5811 | (let* ((out (assoc-ref outputs "out")) | |
5812 | (elisp-file "elisp/hindent.el") | |
d53e87cf | 5813 | (dest (string-append out "/share/emacs/site-lisp")) |
dddbc90c RV |
5814 | (emacs (string-append (assoc-ref inputs "emacs") |
5815 | "/bin/emacs"))) | |
5816 | (make-file-writable elisp-file) | |
5817 | (emacs-substitute-variables elisp-file | |
5818 | ("hindent-process-path" | |
5819 | (string-append out "/bin/hindent"))) | |
5820 | (install-file elisp-file dest) | |
5821 | (emacs-generate-autoloads "hindent" dest))))))) | |
5822 | (inputs | |
5823 | `(("ghc-haskell-src-exts" ,ghc-haskell-src-exts) | |
5824 | ("ghc-monad-loops" ,ghc-monad-loops) | |
5825 | ("ghc-utf8-string" ,ghc-utf8-string) | |
5826 | ("ghc-exceptions" ,ghc-exceptions) | |
5827 | ("ghc-yaml" ,ghc-yaml) | |
5828 | ("ghc-unix-compat" ,ghc-unix-compat) | |
5829 | ("ghc-path" ,ghc-path) | |
5830 | ("ghc-path-io" ,ghc-path-io) | |
5831 | ("ghc-optparse-applicative" ,ghc-optparse-applicative))) | |
5832 | (native-inputs | |
5833 | `(("ghc-hspec" ,ghc-hspec) | |
5834 | ("ghc-diff" ,ghc-diff) | |
5835 | ("emacs" ,emacs-minimal))) | |
5836 | (home-page | |
5837 | "https://github.com/commercialhaskell/hindent") | |
5838 | (synopsis "Extensible Haskell pretty printer") | |
5839 | (description | |
5840 | "This package provides automatic formatting for Haskell files. Both a | |
5841 | library and an executable.") | |
5842 | (license license:bsd-3))) | |
5843 | ||
5844 | (define-public ghc-hinotify | |
5845 | (package | |
5846 | (name "ghc-hinotify") | |
c2342abb | 5847 | (version "0.4") |
dddbc90c RV |
5848 | (source (origin |
5849 | (method url-fetch) | |
5850 | (uri (string-append | |
5851 | "https://hackage.haskell.org/package/hinotify/" | |
5852 | "hinotify-" version ".tar.gz")) | |
5853 | (sha256 | |
5854 | (base32 | |
c2342abb | 5855 | "1x1lm685ws2q0z0ibwq6x3l72xh67mj06s36xiga3al48d92q63x")))) |
dddbc90c RV |
5856 | (build-system haskell-build-system) |
5857 | (inputs | |
5858 | `(("ghc-async" ,ghc-async))) | |
5859 | (home-page "https://github.com/kolmodin/hinotify.git") | |
5860 | (synopsis "Haskell binding to inotify") | |
5861 | (description "This library provides a wrapper to the Linux kernel's inotify | |
5862 | feature, allowing applications to subscribe to notifications when a file is | |
5863 | accessed or modified.") | |
5864 | (license license:bsd-3))) | |
5865 | ||
d6108968 CH |
5866 | (define-public ghc-hledger-lib |
5867 | (package | |
5868 | (name "ghc-hledger-lib") | |
1112b916 | 5869 | (version "1.14.1") |
d6108968 CH |
5870 | (source |
5871 | (origin | |
5872 | (method url-fetch) | |
5873 | (uri (string-append | |
5874 | "https://hackage.haskell.org/package/hledger-lib/hledger-lib-" | |
5875 | version | |
5876 | ".tar.gz")) | |
5877 | (sha256 | |
5878 | (base32 | |
1112b916 | 5879 | "1w6qp01cak6spnpldm01czlm6i5a2alw47w76875l2nagrc4rfp2")))) |
d6108968 CH |
5880 | (build-system haskell-build-system) |
5881 | (inputs | |
1112b916 | 5882 | `(("ghc-ansi-terminal" ,ghc-ansi-terminal) |
d6108968 CH |
5883 | ("ghc-base-compat-batteries" ,ghc-base-compat-batteries) |
5884 | ("ghc-blaze-markup" ,ghc-blaze-markup) | |
5885 | ("ghc-call-stack" ,ghc-call-stack) | |
5886 | ("ghc-cassava" ,ghc-cassava) | |
5887 | ("ghc-cassava-megaparsec" ,ghc-cassava-megaparsec) | |
5888 | ("ghc-cmdargs" ,ghc-cmdargs) | |
5889 | ("ghc-data-default" ,ghc-data-default) | |
1112b916 CH |
5890 | ("ghc-decimal" ,ghc-decimal) |
5891 | ("ghc-easytest" ,ghc-easytest) | |
d6108968 | 5892 | ("ghc-extra" ,ghc-extra) |
d6108968 | 5893 | ("ghc-file-embed" ,ghc-file-embed) |
1112b916 | 5894 | ("ghc-glob" ,ghc-glob) |
d6108968 CH |
5895 | ("ghc-hashtables" ,ghc-hashtables) |
5896 | ("ghc-megaparsec" ,ghc-megaparsec) | |
1112b916 | 5897 | ("ghc-mtl-compat" ,ghc-mtl-compat) |
d6108968 CH |
5898 | ("ghc-old-time" ,ghc-old-time) |
5899 | ("ghc-parser-combinators" ,ghc-parser-combinators) | |
5900 | ("ghc-pretty-show" ,ghc-pretty-show) | |
5901 | ("ghc-regex-tdfa" ,ghc-regex-tdfa) | |
5902 | ("ghc-safe" ,ghc-safe) | |
5903 | ("ghc-split" ,ghc-split) | |
5904 | ("ghc-tabular" ,ghc-tabular) | |
d6108968 | 5905 | ("ghc-uglymemo" ,ghc-uglymemo) |
d6108968 | 5906 | ("ghc-utf8-string" ,ghc-utf8-string))) |
1112b916 | 5907 | (native-inputs `(("ghc-doctest" ,ghc-doctest))) |
d6108968 CH |
5908 | (home-page "https://hledger.org") |
5909 | (synopsis "Reusable library providing the core functionality of hledger") | |
5910 | (description | |
5911 | "A reusable library containing hledger's core functionality. | |
5912 | This is used by most hledger* packages so that they support the same common | |
5913 | file formats, command line options, reports etc. | |
5914 | ||
5915 | hledger is a robust, cross-platform set of tools for tracking money, time, or | |
5916 | any other commodity, using double-entry accounting and a simple, editable file | |
5917 | format, with command-line, terminal and web interfaces. It is a Haskell | |
5918 | rewrite of Ledger, and one of the leading implementations of Plain Text | |
5919 | Accounting.") | |
5920 | (license license:gpl3))) | |
5921 | ||
dddbc90c RV |
5922 | (define-public ghc-hmatrix |
5923 | (package | |
5924 | (name "ghc-hmatrix") | |
65e29ed1 | 5925 | (version "0.20.0.0") |
dddbc90c RV |
5926 | (source |
5927 | (origin | |
5928 | (method url-fetch) | |
5929 | (uri (string-append | |
5930 | "https://hackage.haskell.org/package/hmatrix/hmatrix-" | |
5931 | version ".tar.gz")) | |
5932 | (sha256 | |
65e29ed1 | 5933 | (base32 "1sqy1aci5zfagkb34mz3xdil7cl96z4b4cx28cha54vc5sx1lhpg")))) |
dddbc90c | 5934 | (build-system haskell-build-system) |
54a5fd07 TS |
5935 | (arguments |
5936 | `(#:extra-directories ("lapack"))) | |
dddbc90c RV |
5937 | (inputs |
5938 | `(("ghc-random" ,ghc-random) | |
5939 | ("ghc-split" ,ghc-split) | |
5940 | ("ghc-storable-complex" ,ghc-storable-complex) | |
5941 | ("ghc-semigroups" ,ghc-semigroups) | |
5942 | ("ghc-vector" ,ghc-vector) | |
5943 | ;;("openblas" ,openblas) | |
5944 | ("lapack" ,lapack))) | |
5945 | ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which | |
5946 | ;; disables inclusion of the LAPACK functions. | |
5947 | ;; (arguments `(#:configure-flags '("--flags=openblas"))) | |
5948 | (home-page "https://github.com/albertoruiz/hmatrix") | |
5949 | (synopsis "Haskell numeric linear algebra library") | |
5950 | (description "The HMatrix package provices a Haskell library for | |
5951 | dealing with linear systems, matrix decompositions, and other | |
5952 | numerical computations based on BLAS and LAPACK.") | |
5953 | (license license:bsd-3))) | |
5954 | ||
5955 | (define-public ghc-hmatrix-gsl | |
5956 | (package | |
5957 | (name "ghc-hmatrix-gsl") | |
5958 | (version "0.19.0.1") | |
5959 | (source | |
5960 | (origin | |
5961 | (method url-fetch) | |
5962 | (uri (string-append | |
5963 | "https://hackage.haskell.org/package/hmatrix-gsl/hmatrix-gsl-" | |
5964 | version ".tar.gz")) | |
5965 | (sha256 | |
5966 | (base32 "0v6dla426x4ywaq59jm89ql1i42n39iw6z0j378xwb676v9kfxhm")))) | |
5967 | (build-system haskell-build-system) | |
54a5fd07 TS |
5968 | (arguments |
5969 | `(#:extra-directories ("gsl"))) | |
dddbc90c RV |
5970 | (inputs |
5971 | `(("ghc-hmatrix" ,ghc-hmatrix) | |
5972 | ("ghc-vector" ,ghc-vector) | |
5973 | ("ghc-random" ,ghc-random) | |
5974 | ("gsl" ,gsl))) | |
5975 | (native-inputs `(("pkg-config" ,pkg-config))) | |
5976 | (home-page "https://github.com/albertoruiz/hmatrix") | |
5977 | (synopsis "Haskell GSL binding") | |
5978 | (description "This Haskell library provides a purely functional | |
5979 | interface to selected numerical computations, internally implemented | |
5980 | using GSL.") | |
5981 | (license license:gpl3+))) | |
5982 | ||
5983 | (define-public ghc-hmatrix-gsl-stats | |
5984 | (package | |
5985 | (name "ghc-hmatrix-gsl-stats") | |
e9b359f5 | 5986 | (version "0.4.1.8") |
dddbc90c RV |
5987 | (source |
5988 | (origin | |
5989 | (method url-fetch) | |
5990 | (uri | |
5991 | (string-append | |
5992 | "https://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-" | |
5993 | version ".tar.gz")) | |
5994 | (sha256 | |
e9b359f5 | 5995 | (base32 "1cq049sj3q5r06x7i35hqrkf2jc4p4kfi9zv0jmi2vp7w4644i5q")))) |
dddbc90c RV |
5996 | (build-system haskell-build-system) |
5997 | (inputs | |
5998 | `(("ghc-vector" ,ghc-vector) | |
5999 | ("ghc-storable-complex" ,ghc-storable-complex) | |
6000 | ("ghc-hmatrix" ,ghc-hmatrix) | |
6001 | ("gsl" ,gsl))) | |
6002 | (native-inputs `(("pkg-config" ,pkg-config))) | |
6003 | (home-page "http://code.haskell.org/hmatrix-gsl-stats") | |
6004 | (synopsis "GSL Statistics interface for Haskell") | |
6005 | (description "This Haskell library provides a purely functional | |
6006 | interface for statistics based on hmatrix and GSL.") | |
6007 | (license license:bsd-3))) | |
6008 | ||
6009 | (define-public ghc-hmatrix-special | |
6010 | (package | |
6011 | (name "ghc-hmatrix-special") | |
6012 | (version "0.19.0.0") | |
6013 | (source | |
6014 | (origin | |
6015 | (method url-fetch) | |
6016 | (uri | |
6017 | (string-append | |
6018 | "https://hackage.haskell.org/package/hmatrix-special/hmatrix-special-" | |
6019 | version ".tar.gz")) | |
6020 | (sha256 | |
6021 | (base32 "1mywr61kr852sbff26n9x95kswx9l4ycbv6s68qsbkh02xzqq7qz")))) | |
6022 | (build-system haskell-build-system) | |
6023 | (inputs | |
6024 | `(("ghc-hmatrix" ,ghc-hmatrix) | |
6025 | ("ghc-hmatrix-gsl" ,ghc-hmatrix-gsl))) | |
6026 | (home-page "https://github.com/albertoruiz/hmatrix") | |
6027 | (synopsis "Haskell interface to GSL special functions") | |
6028 | (description "This library provides an interface to GSL special | |
6029 | functions for Haskell.") | |
6030 | (license license:gpl3+))) | |
6031 | ||
6032 | (define-public ghc-hostname | |
6033 | (package | |
6034 | (name "ghc-hostname") | |
6035 | (version "1.0") | |
6036 | (source | |
6037 | (origin | |
6038 | (method url-fetch) | |
6039 | (uri (string-append "https://hackage.haskell.org/package/hostname/" | |
6040 | "hostname-" version ".tar.gz")) | |
6041 | (sha256 | |
6042 | (base32 | |
6043 | "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv")))) | |
6044 | (build-system haskell-build-system) | |
6045 | (home-page "https://hackage.haskell.org/package/hostname") | |
6046 | (synopsis "Hostname in Haskell") | |
6047 | (description "Network.HostName is a simple package providing a means to | |
6048 | determine the hostname.") | |
6049 | (license license:bsd-3))) | |
6050 | ||
6051 | (define-public ghc-hourglass | |
6052 | (package | |
6053 | (name "ghc-hourglass") | |
6054 | (version "0.2.12") | |
6055 | (source (origin | |
6056 | (method url-fetch) | |
6057 | (uri (string-append "https://hackage.haskell.org/package/" | |
6058 | "hourglass/hourglass-" version ".tar.gz")) | |
6059 | (sha256 | |
6060 | (base32 | |
6061 | "0jnay5j13vpz6i1rkaj3j0d9v8jfpri499xn3l7wd01f81f5ncs4")))) | |
6062 | (build-system haskell-build-system) | |
6063 | (inputs | |
6064 | `(("ghc-old-locale" ,ghc-old-locale))) | |
6065 | (native-inputs | |
6066 | `(("ghc-tasty" ,ghc-tasty) | |
6067 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
6068 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
6069 | (home-page "https://github.com/vincenthz/hs-hourglass") | |
6070 | (synopsis "Simple time-related library for Haskell") | |
6071 | (description | |
6072 | "This is a simple time library providing a simple but powerful and | |
6073 | performant API. The backbone of the library are the @code{Timeable} and | |
6074 | @code{Time} type classes. Each @code{Timeable} instances can be converted to | |
6075 | a type that has a @code{Time} instances, and thus are different | |
6076 | representations of current time.") | |
6077 | (license license:bsd-3))) | |
6078 | ||
6079 | (define-public ghc-hpack | |
6080 | (package | |
6081 | (name "ghc-hpack") | |
06344a3a | 6082 | (version "0.31.2") |
dddbc90c RV |
6083 | (source |
6084 | (origin | |
6085 | (method url-fetch) | |
6086 | (uri (string-append "https://hackage.haskell.org/package/hpack/" | |
6087 | "hpack-" version ".tar.gz")) | |
06344a3a | 6088 | (patches (search-patches "ghc-hpack-fix-tests.patch")) |
dddbc90c RV |
6089 | (sha256 |
6090 | (base32 | |
06344a3a | 6091 | "1l2d6185lawwhsj70swxkvcacm0hvcn9qsrlx4ph4gs6k578603g")))) |
dddbc90c RV |
6092 | (build-system haskell-build-system) |
6093 | (inputs | |
6094 | `(("ghc-aeson" ,ghc-aeson) | |
6095 | ("ghc-bifunctors" ,ghc-bifunctors) | |
6096 | ("ghc-cryptonite" ,ghc-cryptonite) | |
6097 | ("ghc-glob" ,ghc-glob) | |
6098 | ("ghc-http-client" ,ghc-http-client) | |
6099 | ("ghc-http-client-tls" ,ghc-http-client-tls) | |
6100 | ("ghc-http-types" ,ghc-http-types) | |
06344a3a | 6101 | ("ghc-infer-license" ,ghc-infer-license) |
dddbc90c RV |
6102 | ("ghc-scientific" ,ghc-scientific) |
6103 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
6104 | ("ghc-vector" ,ghc-vector) | |
6105 | ("ghc-yaml" ,ghc-yaml))) | |
6106 | (native-inputs | |
6107 | `(("ghc-hspec" ,ghc-hspec) | |
6108 | ("ghc-hunit" ,ghc-hunit) | |
6109 | ("ghc-interpolate" ,ghc-interpolate) | |
6110 | ("ghc-mockery" ,ghc-mockery) | |
6111 | ("ghc-quickcheck" ,ghc-quickcheck) | |
6112 | ("ghc-temporary" ,ghc-temporary) | |
6113 | ("hspec-discover" ,hspec-discover))) | |
6114 | (home-page "https://github.com/sol/hpack") | |
6115 | (synopsis "Tools for an alternative Haskell package format") | |
6116 | (description | |
6117 | "Hpack is a format for Haskell packages. It is an alternative to the | |
6118 | Cabal package format and follows different design principles. Hpack packages | |
6119 | are described in a file named @code{package.yaml}. Both @code{cabal2nix} and | |
6120 | @code{stack} support @code{package.yaml} natively. For other build tools the | |
6121 | @code{hpack} executable can be used to generate a @code{.cabal} file from | |
6122 | @code{package.yaml}.") | |
6123 | (license license:expat))) | |
6124 | ||
e16f7de8 CH |
6125 | (define-public ghc-hspec-megaparsec |
6126 | (package | |
6127 | (name "ghc-hspec-megaparsec") | |
6128 | (version "2.0.1") | |
6129 | (source | |
6130 | (origin | |
6131 | (method url-fetch) | |
6132 | (uri (string-append | |
6133 | "https://hackage.haskell.org/" | |
6134 | "package/hspec-megaparsec/hspec-megaparsec-" | |
6135 | version | |
6136 | ".tar.gz")) | |
6137 | (sha256 | |
6138 | (base32 | |
6139 | "0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg")))) | |
6140 | (build-system haskell-build-system) | |
6141 | (inputs | |
6142 | `(("ghc-hspec-expectations" ,ghc-hspec-expectations) | |
6143 | ("ghc-megaparsec" ,ghc-megaparsec))) | |
6144 | (native-inputs | |
6145 | `(("ghc-hspec" ,ghc-hspec))) | |
6146 | (home-page "https://github.com/mrkkrp/hspec-megaparsec") | |
6147 | (synopsis "Utility functions for testing Megaparsec parsers with Hspec") | |
6148 | (description | |
6149 | "Provides a small set of helper functions for testing Megaparsec parsers | |
6150 | with Hspec.") | |
6151 | (license license:bsd-3))) | |
6152 | ||
dddbc90c RV |
6153 | (define-public ghc-hs-bibutils |
6154 | (package | |
6155 | (name "ghc-hs-bibutils") | |
ebcb4f23 | 6156 | (version "6.7.0.0") |
dddbc90c RV |
6157 | (source |
6158 | (origin | |
6159 | (method url-fetch) | |
6160 | (uri (string-append | |
6161 | "https://hackage.haskell.org/package/hs-bibutils/hs-bibutils-" | |
6162 | version ".tar.gz")) | |
6163 | (sha256 | |
6164 | (base32 | |
ebcb4f23 | 6165 | "1qfyssl76lm4g09yxr3y10kmf8cnzls46g5h0ijk0wpk9wlhbln5")))) |
dddbc90c RV |
6166 | (build-system haskell-build-system) |
6167 | (inputs `(("ghc-syb" ,ghc-syb))) | |
6168 | (home-page "https://hackage.haskell.org/package/hs-bibutils") | |
6169 | (synopsis "Haskell bindings to bibutils") | |
6170 | (description | |
6171 | "This package provides Haskell bindings to @code{bibutils}, a library | |
6172 | that interconverts between various bibliography formats using a common | |
6173 | MODS-format XML intermediate.") | |
6174 | (license license:gpl2+))) | |
6175 | ||
6176 | (define-public ghc-hslogger | |
6177 | (package | |
6178 | (name "ghc-hslogger") | |
e5ccc5f7 | 6179 | (version "1.2.12") |
dddbc90c RV |
6180 | (source |
6181 | (origin | |
6182 | (method url-fetch) | |
6183 | (uri (string-append "https://hackage.haskell.org/package/" | |
6184 | "hslogger-" version "/" "hslogger-" | |
6185 | version ".tar.gz")) | |
6186 | (sha256 (base32 | |
e5ccc5f7 | 6187 | "0ykcsk7wqygvrg60r5kpl6xfinr706al8pfyk5wj67wjs24lqypr")))) |
dddbc90c RV |
6188 | (build-system haskell-build-system) |
6189 | (inputs | |
6190 | `(("ghc-network" ,ghc-network) | |
6191 | ("ghc-old-locale" ,ghc-old-locale))) | |
6192 | (native-inputs | |
6193 | `(("ghc-hunit" ,ghc-hunit))) | |
6194 | (home-page "https://software.complete.org/hslogger") | |
6195 | (synopsis "Logging framework for Haskell, similar to Python's logging module") | |
6196 | (description "Hslogger lets each log message have a priority and source be | |
6197 | associated with it. The programmer can then define global handlers that route | |
6198 | or filter messages based on the priority and source. It also has a syslog | |
6199 | handler built in.") | |
6200 | (license license:bsd-3))) | |
6201 | ||
6202 | (define-public ghc-hslua | |
6203 | (package | |
6204 | (name "ghc-hslua") | |
cc784d7b | 6205 | (version "1.0.3.2") |
dddbc90c RV |
6206 | (source (origin |
6207 | (method url-fetch) | |
6208 | (uri (string-append "https://hackage.haskell.org/package/" | |
6209 | "hslua/hslua-" version ".tar.gz")) | |
6210 | (sha256 | |
6211 | (base32 | |
cc784d7b | 6212 | "183bgl5jcx5y2r94lviqfw0a5w9089nxjd1z40k8vx9y2h60pm6j")))) |
dddbc90c RV |
6213 | (build-system haskell-build-system) |
6214 | (arguments | |
54a5fd07 TS |
6215 | `(#:configure-flags '("-fsystem-lua") |
6216 | #:extra-directories ("lua"))) | |
dddbc90c RV |
6217 | (inputs |
6218 | `(("lua" ,lua) | |
6219 | ("ghc-exceptions" ,ghc-exceptions) | |
6220 | ("ghc-fail" ,ghc-fail))) | |
6221 | (native-inputs | |
6222 | `(("ghc-tasty" ,ghc-tasty) | |
6223 | ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure) | |
6224 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
6225 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
6226 | ("ghc-quickcheck" ,ghc-quickcheck) | |
6227 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances))) | |
6228 | (home-page "https://hackage.haskell.org/package/hslua") | |
6229 | (synopsis "Lua language interpreter embedding in Haskell") | |
6230 | (description | |
6231 | "The Scripting.Lua module is a wrapper of the Lua language interpreter as | |
6232 | described in @url{https://www.lua.org/}.") | |
6233 | (license license:expat))) | |
6234 | ||
ff303e4e TS |
6235 | (define-public ghc-hslua-module-system |
6236 | (package | |
6237 | (name "ghc-hslua-module-system") | |
6238 | (version "0.2.1") | |
6239 | (source | |
6240 | (origin | |
6241 | (method url-fetch) | |
6242 | (uri (string-append "https://hackage.haskell.org/package/" | |
6243 | "hslua-module-system/hslua-module-system-" | |
6244 | version ".tar.gz")) | |
6245 | (sha256 | |
6246 | (base32 | |
6247 | "1m7wz3g5c34pyizqw5mllzhsy2vziddhlbhjfwdvd7nhd3p4v3hh")))) | |
6248 | (build-system haskell-build-system) | |
6249 | (inputs | |
6250 | `(("ghc-exceptions" ,ghc-exceptions) | |
6251 | ("ghc-hslua" ,ghc-hslua) | |
6252 | ("ghc-temporary" ,ghc-temporary))) | |
6253 | (native-inputs | |
6254 | `(("ghc-tasty" ,ghc-tasty) | |
6255 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
6256 | (home-page "https://github.com/hslua/hslua-module-system") | |
6257 | (synopsis "Lua module wrapper around Haskell's System module") | |
6258 | (description "This library provides access to system information and | |
6259 | functionality to Lua scripts via Haskell's @code{System} module. Intended | |
6260 | usage for this package is to preload it by adding the loader function to | |
6261 | @code{package.preload}. Note that the Lua @code{package} library must have | |
6262 | already been loaded before the loader can be added.") | |
6263 | (license license:expat))) | |
6264 | ||
dddbc90c RV |
6265 | (define-public ghc-hslua-module-text |
6266 | (package | |
6267 | (name "ghc-hslua-module-text") | |
ecaf0b0c | 6268 | (version "0.2.1") |
dddbc90c RV |
6269 | (source |
6270 | (origin | |
6271 | (method url-fetch) | |
6272 | (uri (string-append "https://hackage.haskell.org/package/" | |
6273 | "hslua-module-text/hslua-module-text-" | |
6274 | version ".tar.gz")) | |
6275 | (sha256 | |
6276 | (base32 | |
ecaf0b0c | 6277 | "1ikdwvvxhbd5wmfr85dzs2ccamh9rbbpgy899z7s1vlv5q1dj0hk")))) |
dddbc90c | 6278 | (build-system haskell-build-system) |
dddbc90c RV |
6279 | (inputs |
6280 | `(("ghc-hslua" ,ghc-hslua))) | |
6281 | (native-inputs | |
6282 | `(("ghc-tasty" ,ghc-tasty) | |
6283 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
6284 | (home-page "https://github.com/hslua/hslua-module-text") | |
6285 | (synopsis "Lua module for text") | |
6286 | (description | |
6287 | "This package provides a UTF-8 aware subset of Lua's @code{string} module | |
6288 | for Haskell. The functions provided by this module are @code{upper}, | |
6289 | @code{lower}, @code{len}, @code{reverse}, and @code{sub}.") | |
6290 | (license license:expat))) | |
6291 | ||
fac520bf TS |
6292 | (define-public ghc-hsyaml |
6293 | (package | |
6294 | (name "ghc-hsyaml") | |
6295 | (version "0.1.2.0") | |
6296 | (source | |
6297 | (origin | |
6298 | (method url-fetch) | |
6299 | (uri (string-append "https://hackage.haskell.org/package/" | |
6300 | "HsYAML/HsYAML-" version ".tar.gz")) | |
6301 | (sha256 | |
6302 | (base32 | |
6303 | "1pajfhj16559v64ixm8j7bvxdqmxg6c3c0z3wz7in8ckswgzfp54")))) | |
6304 | (build-system haskell-build-system) | |
6305 | (arguments | |
6306 | `(#:cabal-revision | |
6307 | ("1" "0j6qmmcz5yqh89hs2cq453maix50q61vl2h0ahj5lg02bygn42cf"))) | |
6308 | (home-page "https://github.com/haskell-hvr/HsYAML") | |
6309 | (synopsis "Pure Haskell YAML 1.2 parser") | |
6310 | (description "This library provides a | |
6311 | @url{http://yaml.org/spec/1.2/spec.html, YAML 1.2} parser implementation | |
6312 | for Haskell. Its features include: | |
6313 | ||
6314 | @itemize | |
6315 | @item Pure Haskell implementation with small dependency footprint and | |
6316 | emphasis on strict compliance with the YAML 1.2 specification. | |
6317 | ||
6318 | @item Direct decoding to native Haskell types via (aeson-inspired) | |
6319 | typeclass-based API (see @code{Data.YAML}). | |
6320 | ||
6321 | @item Support for constructing custom YAML node graph | |
6322 | representation (including support for cyclic YAML data structures). | |
6323 | ||
6324 | @item Support for the standard (untyped) @emph{Failsafe}, (strict) | |
6325 | @emph{JSON}, and (flexible) @emph{Core} ``schemas'' providing implicit | |
6326 | typing rules as defined in the YAML 1.2 specification (including support | |
6327 | for user-defined custom schemas). | |
6328 | ||
6329 | @item Event-based API resembling LibYAML's Event-based API (see | |
6330 | @code{Data.YAML.Event}). | |
6331 | ||
6332 | @item Low-level API access to lexical token-based scanner (see | |
6333 | @code{Data.YAML.Token}). | |
6334 | @end itemize") | |
6335 | (license license:gpl2+))) | |
6336 | ||
dddbc90c RV |
6337 | (define-public ghc-http-api-data |
6338 | (package | |
6339 | (name "ghc-http-api-data") | |
a57236eb | 6340 | (version "0.4.1") |
dddbc90c RV |
6341 | (source |
6342 | (origin | |
6343 | (method url-fetch) | |
6344 | (uri (string-append "https://hackage.haskell.org/package/" | |
6345 | "http-api-data-" version "/" | |
6346 | "http-api-data-" version ".tar.gz")) | |
6347 | (sha256 | |
6348 | (base32 | |
a57236eb | 6349 | "1ps4bvln43gz72dr9mc3c9n1rn38c4rz6m49vxzz9nz6jz1978rv")))) |
dddbc90c | 6350 | (build-system haskell-build-system) |
dddbc90c RV |
6351 | (inputs `(("ghc-attoparsec" ,ghc-attoparsec) |
6352 | ("ghc-attoparsec-iso8601" ,ghc-attoparsec-iso8601) | |
a57236eb | 6353 | ("ghc-cookie" ,ghc-cookie) |
dddbc90c RV |
6354 | ("ghc-hashable" ,ghc-hashable) |
6355 | ("ghc-http-types" ,ghc-http-types) | |
a57236eb | 6356 | ("ghc-time-compat" ,ghc-time-compat) |
dddbc90c | 6357 | ("ghc-unordered-containers" ,ghc-unordered-containers) |
dddbc90c | 6358 | ("ghc-uuid-types" ,ghc-uuid-types))) |
a57236eb TS |
6359 | (native-inputs |
6360 | `(("cabal-doctest" ,cabal-doctest) | |
6361 | ("ghc-nats" ,ghc-nats) | |
6362 | ("ghc-hunit" ,ghc-hunit) | |
6363 | ("ghc-hspec" ,ghc-hspec) | |
6364 | ("ghc-quickcheck" ,ghc-quickcheck) | |
6365 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
6366 | ("ghc-doctest" ,ghc-doctest) | |
6367 | ("hspec-discover" ,hspec-discover))) | |
dddbc90c RV |
6368 | (home-page "https://github.com/fizruk/http-api-data") |
6369 | (synopsis "Convert to/from HTTP API data like URL pieces, headers and | |
6370 | query parameters") | |
6371 | (description "This Haskell package defines typeclasses used for converting | |
6372 | Haskell data types to and from HTTP API data.") | |
6373 | (license license:bsd-3))) | |
6374 | ||
6375 | (define-public ghc-ieee754 | |
6376 | (package | |
6377 | (name "ghc-ieee754") | |
6378 | (version "0.8.0") | |
6379 | (source (origin | |
6380 | (method url-fetch) | |
6381 | (uri (string-append | |
6382 | "https://hackage.haskell.org/package/ieee754/" | |
6383 | "ieee754-" version ".tar.gz")) | |
6384 | (sha256 | |
6385 | (base32 | |
6386 | "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f")))) | |
6387 | (build-system haskell-build-system) | |
6388 | (home-page "https://github.com/patperry/hs-ieee754") | |
6389 | (synopsis "Utilities for dealing with IEEE floating point numbers") | |
6390 | (description "Utilities for dealing with IEEE floating point numbers, | |
6391 | ported from the Tango math library; approximate and exact equality comparisons | |
6392 | for general types.") | |
6393 | (license license:bsd-3))) | |
6394 | ||
6395 | (define-public ghc-ifelse | |
6396 | (package | |
6397 | (name "ghc-ifelse") | |
6398 | (version "0.85") | |
6399 | (source | |
6400 | (origin | |
6401 | (method url-fetch) | |
6402 | (uri (string-append "https://hackage.haskell.org/package/" | |
6403 | "IfElse/IfElse-" version ".tar.gz")) | |
6404 | (sha256 | |
6405 | (base32 | |
6406 | "1kfx1bwfjczj93a8yqz1n8snqiq5655qgzwv1lrycry8wb1vzlwa")))) | |
6407 | (build-system haskell-build-system) | |
3ef91e15 | 6408 | (home-page "https://hackage.haskell.org/package/IfElse") |
dddbc90c RV |
6409 | (synopsis "Monadic control flow with anaphoric variants") |
6410 | (description "This library provides functions for control flow inside of | |
6411 | monads with anaphoric variants on @code{if} and @code{when} and a C-like | |
6412 | @code{switch} function.") | |
6413 | (license license:bsd-3))) | |
6414 | ||
6415 | (define-public ghc-indents | |
6416 | (package | |
6417 | (name "ghc-indents") | |
d66473fb | 6418 | (version "0.5.0.1") |
dddbc90c RV |
6419 | (source (origin |
6420 | (method url-fetch) | |
6421 | (uri (string-append | |
6422 | "https://hackage.haskell.org/package/indents/indents-" | |
6423 | version ".tar.gz")) | |
6424 | (sha256 | |
6425 | (base32 | |
d66473fb | 6426 | "0dpcwiz0dwn5aqdsc50plfaawh86adhf7jx5dsmhn5q5nz32qn51")))) |
dddbc90c RV |
6427 | (build-system haskell-build-system) |
6428 | ;; This package needs an older version of tasty. | |
6429 | (arguments '(#:tests? #f)) | |
6430 | (inputs | |
6431 | `(("ghc-concatenative" ,ghc-concatenative))) | |
6432 | (native-inputs | |
6433 | `(("ghc-tasty" ,ghc-tasty) | |
6434 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
3f3b8e1a | 6435 | (home-page "https://github.com/jaspervdj/indents") |
dddbc90c RV |
6436 | (synopsis "Indentation sensitive parser-combinators for parsec") |
6437 | (description | |
6438 | "This library provides functions for use in parsing indentation sensitive | |
6439 | contexts. It parses blocks of lines all indented to the same level as well as | |
6440 | lines continued at an indented level below.") | |
6441 | (license license:bsd-3))) | |
6442 | ||
1f656b17 TS |
6443 | (define-public ghc-infer-license |
6444 | (package | |
6445 | (name "ghc-infer-license") | |
6446 | (version "0.2.0") | |
6447 | (source | |
6448 | (origin | |
6449 | (method url-fetch) | |
6450 | (uri (string-append "https://hackage.haskell.org/package/" | |
6451 | "infer-license/infer-license-" version ".tar.gz")) | |
6452 | (sha256 | |
6453 | (base32 | |
6454 | "0wlfm6bf55kfvm74xar9lmjg5v1103rs9m3grw1rq5bmcmhzxrhj")))) | |
6455 | (build-system haskell-build-system) | |
6456 | (inputs | |
6457 | `(("ghc-text-metrics" ,ghc-text-metrics))) | |
6458 | (native-inputs | |
6459 | `(("ghc-hspec" ,ghc-hspec) | |
6460 | ("hspec-discover" ,hspec-discover))) | |
3ef91e15 | 6461 | (home-page "https://hackage.haskell.org/package/infer-license") |
1f656b17 TS |
6462 | (synopsis "Infer software license from a given license file") |
6463 | (description "This library provides tools to infer a software | |
6464 | license from a given license file.") | |
6465 | (license license:expat))) | |
6466 | ||
dddbc90c RV |
6467 | (define-public ghc-inline-c |
6468 | (package | |
6469 | (name "ghc-inline-c") | |
55ec98f2 | 6470 | (version "0.7.0.1") |
dddbc90c RV |
6471 | (source |
6472 | (origin | |
6473 | (method url-fetch) | |
6474 | (uri (string-append "https://hackage.haskell.org/package/inline-c/" | |
6475 | "inline-c-" version ".tar.gz")) | |
6476 | (sha256 | |
6477 | (base32 | |
55ec98f2 | 6478 | "19scbviwiv1fbsdcjji3dscjg7w0xa8r97xwkqqrwm7zhvrg5wns")))) |
dddbc90c RV |
6479 | (build-system haskell-build-system) |
6480 | (inputs | |
6481 | `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) | |
6482 | ("ghc-cryptohash" ,ghc-cryptohash) | |
6483 | ("ghc-hashable" ,ghc-hashable) | |
6484 | ("ghc-parsers" ,ghc-parsers) | |
6485 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
6486 | ("ghc-vector" ,ghc-vector))) | |
6487 | (native-inputs | |
6488 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
6489 | ("ghc-hspec" ,ghc-hspec) | |
6490 | ("ghc-raw-strings-qq" ,ghc-raw-strings-qq) | |
6491 | ("ghc-regex-posix" ,ghc-regex-posix))) | |
3ef91e15 | 6492 | (home-page "https://hackage.haskell.org/package/inline-c") |
dddbc90c RV |
6493 | (synopsis "Write Haskell source files including C code inline") |
6494 | (description | |
6495 | "inline-c lets you seamlessly call C libraries and embed high-performance | |
6496 | inline C code in Haskell modules. Haskell and C can be freely intermixed in | |
6497 | the same source file, and data passed to and from code in either language with | |
6498 | minimal overhead. No FFI required.") | |
6499 | (license license:expat))) | |
6500 | ||
6501 | (define-public ghc-inline-c-cpp | |
6502 | (package | |
6503 | (name "ghc-inline-c-cpp") | |
cae58e56 | 6504 | (version "0.3.0.3") |
dddbc90c RV |
6505 | (source |
6506 | (origin | |
6507 | (method url-fetch) | |
6508 | (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/" | |
6509 | "inline-c-cpp-" version ".tar.gz")) | |
6510 | (sha256 | |
6511 | (base32 | |
cae58e56 | 6512 | "1sxwx9dh60qfpa72dymj015zwd6prhb70x5mkabqzi7nhg3aakln")))) |
dddbc90c RV |
6513 | (build-system haskell-build-system) |
6514 | (inputs | |
6515 | `(("ghc-inline-c" ,ghc-inline-c) | |
6516 | ("ghc-safe-exceptions" ,ghc-safe-exceptions))) | |
6517 | (native-inputs | |
6518 | `(("ghc-hspec" ,ghc-hspec))) | |
6519 | (home-page "https://hackage.haskell.org/package/inline-c-cpp") | |
6520 | (synopsis "Lets you embed C++ code into Haskell") | |
6521 | (description | |
6522 | "This package provides utilities to inline C++ code into Haskell using | |
6523 | @code{inline-c}.") | |
6524 | (license license:expat))) | |
6525 | ||
6526 | (define-public ghc-integer-logarithms | |
6527 | (package | |
6528 | (name "ghc-integer-logarithms") | |
86a704db | 6529 | (version "1.0.3") |
dddbc90c RV |
6530 | (source |
6531 | (origin | |
6532 | (method url-fetch) | |
6533 | (uri (string-append "https://hackage.haskell.org/package/" | |
6534 | "integer-logarithms/integer-logarithms-" | |
6535 | version ".tar.gz")) | |
6536 | (sha256 | |
6537 | (base32 | |
86a704db | 6538 | "05pc5hws66csvcvfswlwcr2fplwn1lbssvwifjxkbbwqhq0n5qjs")))) |
dddbc90c RV |
6539 | (build-system haskell-build-system) |
6540 | (arguments | |
6541 | `(#:phases | |
6542 | (modify-phases %standard-phases | |
6543 | (add-before 'configure 'update-constraints | |
6544 | (lambda _ | |
6545 | (substitute* "integer-logarithms.cabal" | |
6546 | (("tasty >= 0\\.10 && < 1\\.1") | |
6547 | "tasty >= 0.10 && < 1.2"))))))) | |
6548 | (native-inputs | |
6549 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
6550 | ("ghc-smallcheck" ,ghc-smallcheck) | |
6551 | ("ghc-tasty" ,ghc-tasty) | |
6552 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
6553 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
6554 | ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck))) | |
6555 | (home-page "https://github.com/Bodigrim/integer-logarithms") | |
6556 | (synopsis "Integer logarithms") | |
6557 | (description | |
6558 | "This package provides the following modules: | |
6559 | @code{Math.NumberTheory.Logarithms} and | |
6560 | @code{Math.NumberTheory.Powers.Integer} from the @code{arithmoi} package, | |
6561 | @code{GHC.Integer.Logarithms.Compat} and | |
6562 | @code{Math.NumberTheory.Power.Natural}, as well as some additional functions | |
6563 | in migrated modules.") | |
6564 | (license license:expat))) | |
6565 | ||
6566 | (define-public ghc-integer-logarithms-bootstrap | |
6567 | (package | |
6568 | (inherit ghc-integer-logarithms) | |
6569 | (name "ghc-integer-logarithms-bootstrap") | |
6570 | (arguments `(#:tests? #f)) | |
6571 | (native-inputs '()) | |
799d8d3c | 6572 | (properties '((hidden? #t))))) |
dddbc90c RV |
6573 | |
6574 | (define-public ghc-interpolate | |
6575 | (package | |
6576 | (name "ghc-interpolate") | |
6577 | (version "0.2.0") | |
6578 | (source | |
6579 | (origin | |
6580 | (method url-fetch) | |
6581 | (uri (string-append "https://hackage.haskell.org/package/interpolate/" | |
6582 | "interpolate-" version ".tar.gz")) | |
6583 | (sha256 | |
6584 | (base32 | |
6585 | "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf")))) | |
6586 | (build-system haskell-build-system) | |
6587 | (inputs | |
6588 | `(("ghc-haskell-src-meta" ,ghc-haskell-src-meta))) | |
6589 | (native-inputs | |
6590 | `(("ghc-base-compat" ,ghc-base-compat) | |
6591 | ("ghc-hspec" ,ghc-hspec) | |
6592 | ("ghc-quickcheck" ,ghc-quickcheck) | |
6593 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
6594 | ("hspec-discover" ,hspec-discover))) | |
6595 | (home-page "https://github.com/sol/interpolate") | |
6596 | (synopsis "String interpolation library") | |
6597 | (description "This package provides a string interpolation library for | |
6598 | Haskell.") | |
6599 | (license license:expat))) | |
6600 | ||
6601 | (define-public ghc-intervalmap | |
6602 | (package | |
6603 | (name "ghc-intervalmap") | |
e4946e32 | 6604 | (version "0.6.1.1") |
dddbc90c RV |
6605 | (source |
6606 | (origin | |
6607 | (method url-fetch) | |
6608 | (uri (string-append "https://hackage.haskell.org/package/IntervalMap/" | |
6609 | "IntervalMap-" version ".tar.gz")) | |
6610 | (sha256 | |
6611 | (base32 | |
e4946e32 | 6612 | "0vdlvxvhf7vjyv0mfn6jaj2i2gclqv8419ck32s2jxfcmki5m5g8")))) |
dddbc90c RV |
6613 | (build-system haskell-build-system) |
6614 | (native-inputs | |
6615 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
6616 | (home-page "http://www.chr-breitkopf.de/comp/IntervalMap") | |
6617 | (synopsis "Containers for intervals, with efficient search") | |
6618 | (description | |
6619 | "This package provides ordered containers of intervals, with efficient | |
6620 | search for all keys containing a point or overlapping an interval. See the | |
6621 | example code on the home page for a quick introduction.") | |
6622 | (license license:bsd-3))) | |
6623 | ||
f7ca1fa8 TS |
6624 | (define-public ghc-intervals |
6625 | (package | |
6626 | (name "ghc-intervals") | |
6627 | (version "0.8.1") | |
6628 | (source | |
6629 | (origin | |
6630 | (method url-fetch) | |
6631 | (uri (string-append "https://hackage.haskell.org/package/" | |
6632 | "intervals/intervals-" version ".tar.gz")) | |
6633 | (sha256 | |
6634 | (base32 | |
6635 | "00vyxf3ba9d7aas3npfapr53w71fslgh69fczjb25axr66fvzqww")))) | |
6636 | (build-system haskell-build-system) | |
6637 | (inputs | |
6638 | `(("ghc-distributive" ,ghc-distributive))) | |
6639 | (native-inputs | |
6640 | `(("cabal-doctest" ,cabal-doctest) | |
6641 | ("ghc-doctest" ,ghc-doctest) | |
6642 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
6643 | (arguments | |
6644 | `(#:cabal-revision | |
6645 | ("4" "1qx3q0v13l1zaln9zdk8chxpxhshbz5x0vqm0qda7d1kpv7h6a7r"))) | |
6646 | (home-page "https://github.com/ekmett/intervals") | |
6647 | (synopsis "Interval arithmetic") | |
6648 | (description "This library provides | |
6649 | @code{Numeric.Interval.Interval}, which represets a closed, convex set | |
6650 | of floating point values.") | |
6651 | (license license:bsd-3))) | |
6652 | ||
dddbc90c RV |
6653 | (define-public ghc-invariant |
6654 | (package | |
6655 | (name "ghc-invariant") | |
d3a0e0b4 | 6656 | (version "0.5.3") |
dddbc90c RV |
6657 | (source |
6658 | (origin | |
6659 | (method url-fetch) | |
6660 | (uri (string-append | |
6661 | "https://hackage.haskell.org/package/invariant/invariant-" | |
6662 | version ".tar.gz")) | |
6663 | (sha256 | |
6664 | (base32 | |
d3a0e0b4 | 6665 | "03245nhcqxx6b0yw81fzqaqd7cgllmx8awzhvs2xv7ys73pmsgnp")))) |
dddbc90c RV |
6666 | (build-system haskell-build-system) |
6667 | (inputs | |
6668 | `(("ghc-bifunctors" ,ghc-bifunctors) | |
6669 | ("ghc-comonad" ,ghc-comonad) | |
6670 | ("ghc-contravariant" ,ghc-contravariant) | |
6671 | ("ghc-profunctors" ,ghc-profunctors) | |
6672 | ("ghc-semigroups" ,ghc-semigroups) | |
6673 | ("ghc-statevar" ,ghc-statevar) | |
6674 | ("ghc-tagged" ,ghc-tagged) | |
6675 | ("ghc-th-abstraction" ,ghc-th-abstraction) | |
6676 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
6677 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
6678 | (native-inputs | |
6679 | `(("ghc-hspec" ,ghc-hspec) | |
6680 | ("ghc-quickcheck" ,ghc-quickcheck) | |
6681 | ("hspec-discover" ,hspec-discover))) | |
6682 | (home-page "https://github.com/nfrisby/invariant-functors") | |
6683 | (synopsis "Haskell98 invariant functors") | |
6684 | (description "Haskell98 invariant functors (also known as exponential | |
6685 | functors). For more information, see Edward Kmett's article | |
6686 | @uref{http://comonad.com/reader/2008/rotten-bananas/, Rotten Bananas}.") | |
6687 | (license license:bsd-2))) | |
6688 | ||
6689 | (define-public ghc-io-streams | |
6690 | (package | |
6691 | (name "ghc-io-streams") | |
59e98d75 | 6692 | (version "1.5.1.0") |
dddbc90c RV |
6693 | (source |
6694 | (origin | |
6695 | (method url-fetch) | |
6696 | (uri (string-append "https://hackage.haskell.org/package/" | |
6697 | "io-streams/io-streams-" version ".tar.gz")) | |
6698 | (sha256 | |
6699 | (base32 | |
59e98d75 | 6700 | "1c7byr943x41nxpc3bnz152fvfbmakafq2958wyf9qiyp2pz18la")))) |
dddbc90c RV |
6701 | (build-system haskell-build-system) |
6702 | (inputs | |
6703 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
6704 | ("ghc-bytestring-builder" ,ghc-bytestring-builder) | |
6705 | ("ghc-network" ,ghc-network) | |
6706 | ("ghc-primitive" ,ghc-primitive) | |
6707 | ("ghc-vector" ,ghc-vector) | |
6708 | ("ghc-zlib-bindings" ,ghc-zlib-bindings))) | |
6709 | (native-inputs | |
6710 | `(("ghc-hunit" ,ghc-hunit) | |
6711 | ("ghc-quickcheck" ,ghc-quickcheck) | |
6712 | ("ghc-test-framework" ,ghc-test-framework) | |
6713 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
6714 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
6715 | ("ghc-zlib" ,ghc-zlib))) | |
3ef91e15 | 6716 | (home-page "https://hackage.haskell.org/package/io-streams") |
dddbc90c RV |
6717 | (synopsis "Simple and composable stream I/O") |
6718 | (description "This library contains simple and easy-to-use | |
6719 | primitives for I/O using streams.") | |
6720 | (license license:bsd-3))) | |
6721 | ||
6722 | (define-public ghc-io-streams-haproxy | |
6723 | (package | |
6724 | (name "ghc-io-streams-haproxy") | |
1a4fbc36 | 6725 | (version "1.0.1.0") |
dddbc90c RV |
6726 | (source |
6727 | (origin | |
6728 | (method url-fetch) | |
6729 | (uri (string-append "https://hackage.haskell.org/package/" | |
6730 | "io-streams-haproxy/io-streams-haproxy-" | |
6731 | version ".tar.gz")) | |
6732 | (sha256 | |
6733 | (base32 | |
1a4fbc36 | 6734 | "1dcn5hd4fiwyq7m01r6fi93vfvygca5s6mz87c78m0zyj29clkmp")))) |
dddbc90c RV |
6735 | (build-system haskell-build-system) |
6736 | (inputs | |
6737 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
6738 | ("ghc-io-streams" ,ghc-io-streams) | |
6739 | ("ghc-network" ,ghc-network))) | |
6740 | (native-inputs | |
6741 | `(("ghc-hunit" ,ghc-hunit) | |
6742 | ("ghc-test-framework" ,ghc-test-framework) | |
6743 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
dddbc90c RV |
6744 | (home-page "http://snapframework.com/") |
6745 | (synopsis "HAProxy protocol 1.5 support for io-streams") | |
6746 | (description "HAProxy protocol version 1.5 support | |
6747 | (see @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt}) | |
6748 | for applications using io-streams. The proxy protocol allows information | |
6749 | about a networked peer (like remote address and port) to be propagated | |
6750 | through a forwarding proxy that is configured to speak this protocol.") | |
6751 | (license license:bsd-3))) | |
6752 | ||
6753 | (define-public ghc-iproute | |
6754 | (package | |
6755 | (name "ghc-iproute") | |
ec25d536 | 6756 | (version "1.7.7") |
dddbc90c RV |
6757 | (source |
6758 | (origin | |
6759 | (method url-fetch) | |
6760 | (uri (string-append | |
6761 | "https://hackage.haskell.org/package/iproute/iproute-" | |
6762 | version | |
6763 | ".tar.gz")) | |
6764 | (sha256 | |
6765 | (base32 | |
ec25d536 | 6766 | "0gab5930nvzrpvisx3x43ydnp2rd4fbmy9cq1zpgqy1adx5gx8z6")))) |
dddbc90c RV |
6767 | (build-system haskell-build-system) |
6768 | (arguments `(#:tests? #f)) ; FIXME: Tests cannot find System.ByteOrder, | |
6769 | ; exported by ghc-byteorder. Doctest issue. | |
6770 | (inputs | |
6771 | `(("ghc-appar" ,ghc-appar) | |
6772 | ("ghc-byteorder" ,ghc-byteorder) | |
6773 | ("ghc-network" ,ghc-network) | |
6774 | ("ghc-safe" ,ghc-safe))) | |
6775 | (home-page "https://www.mew.org/~kazu/proj/iproute/") | |
6776 | (synopsis "IP routing table") | |
6777 | (description "IP Routing Table is a tree of IP ranges to search one of | |
6778 | them on the longest match base. It is a kind of TRIE with one way branching | |
6779 | removed. Both IPv4 and IPv6 are supported.") | |
6780 | (license license:bsd-3))) | |
6781 | ||
4828e54e TS |
6782 | (define-public ghc-ipynb |
6783 | (package | |
6784 | (name "ghc-ipynb") | |
6785 | (version "0.1") | |
6786 | (source | |
6787 | (origin | |
6788 | (method url-fetch) | |
6789 | (uri (string-append "https://hackage.haskell.org/package/" | |
6790 | "ipynb/ipynb-" version ".tar.gz")) | |
6791 | (sha256 | |
6792 | (base32 | |
6793 | "0daadhzil4q573mqb0rpvjzm0vpkzgzqcimw480qpvlh6rhppwj5")))) | |
6794 | (build-system haskell-build-system) | |
6795 | (inputs | |
6796 | `(("ghc-unordered-containers" ,ghc-unordered-containers) | |
6797 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
6798 | ("ghc-aeson" ,ghc-aeson) | |
6799 | ("ghc-semigroups" ,ghc-semigroups))) | |
6800 | (native-inputs | |
6801 | `(("ghc-tasty" ,ghc-tasty) | |
6802 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
6803 | ("ghc-aeson-diff" ,ghc-aeson-diff) | |
6804 | ("ghc-microlens-aeson" ,ghc-microlens-aeson) | |
6805 | ("ghc-microlens" ,ghc-microlens) | |
6806 | ("ghc-vector" ,ghc-vector))) | |
6807 | (home-page "https://hackage.haskell.org/package/ipynb") | |
6808 | (synopsis "Data structure for working with Jupyter notebooks") | |
6809 | (description "This library defines a data structure for representing | |
6810 | Jupyter notebooks, along with @code{ToJSON} and @code{FromJSON} | |
6811 | instances for conversion to and from JSON .ipynb files.") | |
6812 | (license license:bsd-3))) | |
6813 | ||
dddbc90c RV |
6814 | (define-public ghc-iwlib |
6815 | (package | |
6816 | (name "ghc-iwlib") | |
6817 | (version "0.1.0") | |
6818 | (source | |
6819 | (origin | |
6820 | (method url-fetch) | |
6821 | (uri (string-append "https://hackage.haskell.org/package/iwlib/iwlib-" | |
6822 | version ".tar.gz")) | |
6823 | (sha256 | |
6824 | (base32 "0khmfwql4vwj55idsxmhjhrbqzfir3g9wm5lmpvnf77mm95cfpdz")))) | |
6825 | (build-system haskell-build-system) | |
54a5fd07 TS |
6826 | (arguments |
6827 | `(#:extra-directories ("wireless-tools"))) | |
dddbc90c RV |
6828 | (inputs |
6829 | `(("wireless-tools" ,wireless-tools))) | |
6830 | (home-page "https://github.com/jaor/iwlib") | |
6831 | (synopsis "Haskell binding to the iw wireless networking library") | |
6832 | (description | |
6833 | "IWlib is a thin Haskell binding to the iw C library. It provides | |
6834 | information about the current wireless network connections, and adapters on | |
6835 | supported systems.") | |
6836 | (license license:bsd-3))) | |
6837 | ||
6838 | (define-public ghc-json | |
6839 | (package | |
6840 | (name "ghc-json") | |
0ad3d574 | 6841 | (version "0.9.3") |
dddbc90c RV |
6842 | (source |
6843 | (origin | |
6844 | (method url-fetch) | |
6845 | (uri (string-append "https://hackage.haskell.org/package/json/" | |
6846 | "json-" version ".tar.gz")) | |
6847 | (sha256 | |
6848 | (base32 | |
0ad3d574 | 6849 | "1z8s3mfg76p2flqqd2wqsi96l5bg8k8w8m58zlv81pw3k7h1vbwb")))) |
dddbc90c RV |
6850 | (build-system haskell-build-system) |
6851 | (inputs | |
6852 | `(("ghc-syb" ,ghc-syb))) | |
6853 | (home-page "https://hackage.haskell.org/package/json") | |
6854 | (synopsis "Serializes Haskell data to and from JSON") | |
6855 | (description "This package provides a parser and pretty printer for | |
6856 | converting between Haskell values and JSON. | |
6857 | JSON (JavaScript Object Notation) is a lightweight data-interchange format.") | |
6858 | (license license:bsd-3))) | |
6859 | ||
6860 | (define-public ghc-juicypixels | |
6861 | (package | |
6862 | (name "ghc-juicypixels") | |
b50b6004 | 6863 | (version "3.3.4") |
dddbc90c RV |
6864 | (source (origin |
6865 | (method url-fetch) | |
6866 | (uri (string-append "https://hackage.haskell.org/package/" | |
6867 | "JuicyPixels/JuicyPixels-" | |
6868 | version ".tar.gz")) | |
6869 | (sha256 | |
6870 | (base32 | |
b50b6004 | 6871 | "0qacrnz2qcykj3f6c4k2p8qd31pa2slpv3ykfblgizrfh3401q6x")))) |
dddbc90c | 6872 | (build-system haskell-build-system) |
a023e7d0 | 6873 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
6874 | (inputs |
6875 | `(("ghc-zlib" ,ghc-zlib) | |
6876 | ("ghc-vector" ,ghc-vector) | |
6877 | ("ghc-primitive" ,ghc-primitive) | |
6878 | ("ghc-mmap" ,ghc-mmap))) | |
6879 | (home-page "https://github.com/Twinside/Juicy.Pixels") | |
6880 | (synopsis "Picture loading and serialization library") | |
6881 | (description | |
6882 | "This library can load and store images in PNG, Bitmap, JPEG, Radiance, | |
6883 | TIFF and GIF formats.") | |
6884 | (license license:bsd-3))) | |
6885 | ||
6886 | (define-public ghc-kan-extensions | |
6887 | (package | |
6888 | (name "ghc-kan-extensions") | |
6889 | (version "5.2") | |
6890 | (source | |
6891 | (origin | |
6892 | (method url-fetch) | |
6893 | (uri (string-append | |
6894 | "https://hackage.haskell.org/package/kan-extensions/kan-extensions-" | |
6895 | version | |
6896 | ".tar.gz")) | |
6897 | (sha256 | |
6898 | (base32 | |
6899 | "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb")))) | |
6900 | (build-system haskell-build-system) | |
6901 | (inputs | |
6902 | `(("ghc-adjunctions" ,ghc-adjunctions) | |
6903 | ("ghc-comonad" ,ghc-comonad) | |
6904 | ("ghc-contravariant" ,ghc-contravariant) | |
6905 | ("ghc-distributive" ,ghc-distributive) | |
6906 | ("ghc-free" ,ghc-free) | |
6907 | ("ghc-invariant" ,ghc-invariant) | |
6908 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
6909 | ("ghc-tagged" ,ghc-tagged) | |
6910 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
6911 | (home-page "https://github.com/ekmett/kan-extensions/") | |
6912 | (synopsis "Kan extensions library") | |
6913 | (description "This library provides Kan extensions, Kan lifts, various | |
6914 | forms of the Yoneda lemma, and (co)density (co)monads for Haskell.") | |
6915 | (license license:bsd-3))) | |
6916 | ||
6917 | (define-public ghc-language-c | |
6918 | (package | |
6919 | (name "ghc-language-c") | |
4e1cf651 | 6920 | (version "0.8.3") |
dddbc90c RV |
6921 | (source |
6922 | (origin | |
6923 | (method url-fetch) | |
6924 | (uri (string-append "https://hackage.haskell.org/package/" | |
6925 | "language-c/language-c-" version ".tar.gz")) | |
6926 | (sha256 | |
6927 | (base32 | |
4e1cf651 | 6928 | "0bi02jdirkys8v7flf39vrpla2a74z1z0sdhy9lb9v7cmcc6rmpk")))) |
dddbc90c RV |
6929 | (build-system haskell-build-system) |
6930 | (inputs `(("ghc-syb" ,ghc-syb))) | |
6931 | (native-inputs | |
6932 | `(("ghc-happy" ,ghc-happy) | |
6933 | ("ghc-alex" ,ghc-alex))) | |
6934 | (home-page "https://visq.github.io/language-c/") | |
6935 | (synopsis "Analysis and generation of C code") | |
6936 | (description | |
6937 | "Language C is a Haskell library for the analysis and generation of C code. | |
6938 | It features a complete, well-tested parser and pretty printer for all of C99 | |
6939 | and a large set of GNU extensions.") | |
6940 | (license license:bsd-3))) | |
6941 | ||
6942 | (define-public ghc-language-glsl | |
6943 | (package | |
6944 | (name "ghc-language-glsl") | |
6945 | (version "0.3.0") | |
6946 | (source | |
6947 | (origin | |
6948 | (method url-fetch) | |
6949 | (uri (string-append "https://hackage.haskell.org/package/" | |
6950 | "language-glsl/language-glsl-" version ".tar.gz")) | |
6951 | (sha256 | |
6952 | (base32 | |
6953 | "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1")))) | |
6954 | (build-system haskell-build-system) | |
6955 | (inputs `(("ghc-prettyclass" ,ghc-prettyclass))) | |
6956 | (arguments | |
6957 | `(#:tests? #f | |
6958 | #:cabal-revision | |
6959 | ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5"))) | |
3ef91e15 | 6960 | (home-page "https://hackage.haskell.org/package/language-glsl") |
dddbc90c RV |
6961 | (synopsis "GLSL abstract syntax tree, parser, and pretty-printer") |
6962 | (description "This package is a Haskell library for the | |
6963 | representation, parsing, and pretty-printing of GLSL 1.50 code.") | |
6964 | (license license:bsd-3))) | |
6965 | ||
6966 | (define-public ghc-language-haskell-extract | |
6967 | (package | |
6968 | (name "ghc-language-haskell-extract") | |
6969 | (version "0.2.4") | |
6970 | (source | |
6971 | (origin | |
6972 | (method url-fetch) | |
6973 | (uri (string-append "https://hackage.haskell.org/package/" | |
6974 | "language-haskell-extract-" version "/" | |
6975 | "language-haskell-extract-" version ".tar.gz")) | |
6976 | (sha256 | |
6977 | (base32 | |
6978 | "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl")))) | |
6979 | (build-system haskell-build-system) | |
6980 | (inputs | |
6981 | `(("ghc-regex-posix" ,ghc-regex-posix))) | |
6982 | (home-page "https://github.com/finnsson/template-helper") | |
6983 | (synopsis "Haskell module to automatically extract functions from | |
6984 | the local code") | |
6985 | (description "This package contains helper functions on top of | |
6986 | Template Haskell. | |
6987 | ||
6988 | For example, @code{functionExtractor} extracts all functions after a | |
6989 | regexp-pattern, which can be useful if you wish to extract all functions | |
6990 | beginning with @code{test} (for a test framework) or all functions beginning | |
6991 | with @code{wc} (for a web service).") | |
6992 | (license license:bsd-3))) | |
6993 | ||
6994 | (define-public ghc-lens | |
6995 | (package | |
6996 | (name "ghc-lens") | |
262e6323 | 6997 | (version "4.17.1") |
dddbc90c RV |
6998 | (source |
6999 | (origin | |
7000 | (method url-fetch) | |
7001 | (uri (string-append "https://hackage.haskell.org/package/lens/lens-" | |
7002 | version ".tar.gz")) | |
7003 | (sha256 | |
7004 | (base32 | |
262e6323 | 7005 | "1gpkc53l2cggnfrgg5k4ih82rycjbdvpj9pnbi5cq8ms0dbvs4a7")))) |
dddbc90c | 7006 | (build-system haskell-build-system) |
b35361e9 | 7007 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
7008 | (inputs |
7009 | `(("ghc-base-orphans" ,ghc-base-orphans) | |
7010 | ("ghc-bifunctors" ,ghc-bifunctors) | |
7011 | ("ghc-distributive" ,ghc-distributive) | |
7012 | ("ghc-exceptions" ,ghc-exceptions) | |
7013 | ("ghc-free" ,ghc-free) | |
7014 | ("ghc-kan-extensions" ,ghc-kan-extensions) | |
7015 | ("ghc-parallel" ,ghc-parallel) | |
7016 | ("ghc-reflection" ,ghc-reflection) | |
7017 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
7018 | ("ghc-vector" ,ghc-vector) | |
7019 | ("ghc-call-stack" ,ghc-call-stack) | |
7020 | ("ghc-comonad" ,ghc-comonad) | |
7021 | ("ghc-contravariant" ,ghc-contravariant) | |
7022 | ("ghc-hashable" ,ghc-hashable) | |
7023 | ("ghc-profunctors" ,ghc-profunctors) | |
7024 | ("ghc-semigroups" ,ghc-semigroups) | |
7025 | ("ghc-tagged" ,ghc-tagged) | |
7026 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
7027 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
7028 | ("ghc-void" ,ghc-void) | |
7029 | ("ghc-generic-deriving" ,ghc-generic-deriving) | |
7030 | ("ghc-nats" ,ghc-nats) | |
7031 | ("ghc-simple-reflect" ,ghc-simple-reflect) | |
7032 | ("hlint" ,hlint))) | |
7033 | (native-inputs | |
7034 | `(("cabal-doctest" ,cabal-doctest) | |
7035 | ("ghc-doctest" ,ghc-doctest) | |
7036 | ("ghc-hunit" ,ghc-hunit) | |
7037 | ("ghc-test-framework" ,ghc-test-framework) | |
7038 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
7039 | ("ghc-test-framework-th" ,ghc-test-framework-th) | |
7040 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
7041 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
7042 | (home-page "https://github.com/ekmett/lens/") | |
7043 | (synopsis "Lenses, Folds and Traversals") | |
7044 | (description "This library provides @code{Control.Lens}. The combinators | |
7045 | in @code{Control.Lens} provide a highly generic toolbox for composing families | |
7046 | of getters, folds, isomorphisms, traversals, setters and lenses and their | |
7047 | indexed variants.") | |
7048 | (license license:bsd-3))) | |
7049 | ||
bcd35444 JS |
7050 | (define-public ghc-lens-family-core |
7051 | (package | |
7052 | (name "ghc-lens-family-core") | |
7053 | (version "1.2.3") | |
7054 | (source | |
7055 | (origin | |
7056 | (method url-fetch) | |
7057 | (uri (string-append | |
7058 | "mirror://hackage/package/lens-family-core/lens-family-core-" | |
7059 | version | |
7060 | ".tar.gz")) | |
7061 | (sha256 | |
7062 | (base32 | |
7063 | "009rf10pj1cb50v44cc1pq7qvfrmkkk9dikahs9qmvbvgl3mykwi")))) | |
7064 | (build-system haskell-build-system) | |
7065 | (home-page | |
7066 | "http://hackage.haskell.org/package/lens-family-core") | |
7067 | (synopsis "Haskell 98 Lens Families") | |
7068 | (description | |
7069 | "This package provides first class functional references. In addition to | |
7070 | the usual operations of getting, setting and composition, plus integration | |
7071 | with the state monad, lens families provide some unique features: | |
7072 | ||
7073 | @itemize | |
7074 | @item Polymorphic updating | |
7075 | @item Traversals | |
7076 | @item Cast projection functions to read-only lenses | |
7077 | @item Cast @code{toList} functions to read-only traversals | |
7078 | @item Cast semantic editor combinators to modify-only traversals | |
7079 | @end itemize | |
7080 | ||
7081 | For optimal first-class support use the lens-family package with rank 2/rank N | |
7082 | polymorphism. @code{Lens.Family.Clone} allows for first-class support of | |
7083 | lenses and traversals for those who require Haskell 98.") | |
7084 | (license license:bsd-3))) | |
7085 | ||
dddbc90c RV |
7086 | (define-public ghc-libffi |
7087 | (package | |
7088 | (name "ghc-libffi") | |
7089 | (version "0.1") | |
7090 | (source | |
7091 | (origin | |
7092 | (method url-fetch) | |
7093 | (uri (string-append "https://hackage.haskell.org/package/" | |
7094 | "libffi/libffi-" version ".tar.gz")) | |
7095 | (sha256 | |
7096 | (base32 | |
7097 | "0g7jnhng3j7z5517aaqga0144aamibsbpgm3yynwyfzkq1kp0f28")))) | |
7098 | (build-system haskell-build-system) | |
7099 | (native-inputs `(("pkg-config" ,pkg-config))) | |
7100 | (inputs `(("libffi" ,libffi))) | |
3ef91e15 | 7101 | (home-page "https://hackage.haskell.org/package/libffi") |
dddbc90c RV |
7102 | (synopsis "Haskell binding to libffi") |
7103 | (description | |
7104 | "A binding to libffi, allowing C functions of types only known at runtime | |
7105 | to be called from Haskell.") | |
7106 | (license license:bsd-3))) | |
7107 | ||
7108 | (define-public ghc-libmpd | |
7109 | (package | |
7110 | (name "ghc-libmpd") | |
bbf9845f | 7111 | (version "0.9.0.10") |
dddbc90c RV |
7112 | (source |
7113 | (origin | |
7114 | (method url-fetch) | |
7115 | (uri (string-append | |
7116 | "mirror://hackage/package/libmpd/libmpd-" | |
7117 | version | |
7118 | ".tar.gz")) | |
7119 | (sha256 | |
7120 | (base32 | |
bbf9845f | 7121 | "0vy287mn1vk8kvij5i3hc0p02l886cpsq5dds7kl6g520si3abkb")))) |
dddbc90c RV |
7122 | (build-system haskell-build-system) |
7123 | ;; Tests fail on i686. | |
7124 | ;; See https://github.com/vimus/libmpd-haskell/issues/112 | |
7125 | (arguments `(#:tests? #f)) | |
7126 | (inputs | |
7127 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
7128 | ("ghc-old-locale" ,ghc-old-locale) | |
7129 | ("ghc-data-default-class" ,ghc-data-default-class) | |
7130 | ("ghc-network" ,ghc-network) | |
bbf9845f | 7131 | ("ghc-safe-exceptions" ,ghc-safe-exceptions) |
dddbc90c RV |
7132 | ("ghc-utf8-string" ,ghc-utf8-string))) |
7133 | (native-inputs | |
7134 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
7135 | ("ghc-hspec" ,ghc-hspec) | |
7136 | ("hspec-discover" ,hspec-discover))) | |
7137 | (home-page "https://github.com/vimus/libmpd-haskell") | |
7138 | (synopsis "Haskell client library for the Music Player Daemon") | |
7139 | (description "This package provides a pure Haskell client library for the | |
7140 | Music Player Daemon.") | |
7141 | (license license:expat))) | |
7142 | ||
e34df1c3 TS |
7143 | (define-public ghc-lib-parser |
7144 | (package | |
7145 | (name "ghc-lib-parser") | |
7146 | (version "8.8.0.20190424") | |
7147 | (source | |
7148 | (origin | |
7149 | (method url-fetch) | |
7150 | (uri (string-append "https://hackage.haskell.org/package/" | |
7151 | "ghc-lib-parser/ghc-lib-parser-" version ".tar.gz")) | |
7152 | (sha256 | |
7153 | (base32 | |
7154 | "12gsh994pr13bsybwlravmi21la66dyw74pk74yfw2pnz682wv10")))) | |
7155 | (build-system haskell-build-system) | |
7e62ebb3 | 7156 | (outputs '("out" "static" "doc")) ; documentation is 39M |
e34df1c3 TS |
7157 | (native-inputs |
7158 | `(("ghc-alex" ,ghc-alex) | |
7159 | ("ghc-happy" ,ghc-happy))) | |
7160 | (home-page "https://github.com/digital-asset/ghc-lib") | |
7161 | (synopsis "The GHC API, decoupled from GHC versions") | |
7162 | (description "This library implements the GHC API. It is like the | |
7163 | compiler-provided @code{ghc} package, but it can be loaded on many | |
7164 | compiler versions.") | |
7165 | (license license:bsd-3))) | |
7166 | ||
dddbc90c RV |
7167 | (define-public ghc-libxml |
7168 | (package | |
7169 | (name "ghc-libxml") | |
7170 | (version "0.1.1") | |
7171 | (source | |
7172 | (origin | |
7173 | (method url-fetch) | |
7174 | (uri (string-append "https://hackage.haskell.org/package/libxml/" | |
7175 | "libxml-" version ".tar.gz")) | |
7176 | (sha256 | |
7177 | (base32 | |
7178 | "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi")))) | |
7179 | (build-system haskell-build-system) | |
7180 | (inputs | |
7181 | `(("libxml2" ,libxml2))) | |
7182 | (arguments | |
7183 | `(#:configure-flags | |
7184 | `(,(string-append "--extra-include-dirs=" | |
7185 | (assoc-ref %build-inputs "libxml2") | |
7186 | "/include/libxml2")))) | |
7187 | (home-page "https://hackage.haskell.org/package/libxml") | |
7188 | (synopsis "Haskell bindings to libxml2") | |
7189 | (description | |
7190 | "This library provides minimal Haskell binding to libxml2.") | |
7191 | (license license:bsd-3))) | |
7192 | ||
0c2d6fc2 TS |
7193 | (define-public ghc-libyaml |
7194 | (package | |
7195 | (name "ghc-libyaml") | |
7196 | (version "0.1.1.0") | |
7197 | (source | |
7198 | (origin | |
7199 | (method url-fetch) | |
7200 | (uri (string-append "https://hackage.haskell.org/package/" | |
7201 | "libyaml/libyaml-" version ".tar.gz")) | |
7202 | (sha256 | |
7203 | (base32 | |
7204 | "0psznm9c3yjsyj9aj8m2svvv9m2v0x90hnwarcx5sbswyi3l00va")) | |
7205 | (modules '((guix build utils))) | |
7206 | (snippet | |
7207 | ;; Delete bundled LibYAML. | |
7208 | '(begin | |
7209 | (delete-file-recursively "libyaml_src") | |
7210 | #t)))) | |
7211 | (build-system haskell-build-system) | |
7212 | (arguments | |
54a5fd07 | 7213 | `(#:configure-flags `("--flags=system-libyaml") |
bb071237 | 7214 | #:extra-directories ("libyaml+static"))) |
0c2d6fc2 TS |
7215 | (inputs |
7216 | `(("ghc-conduit" ,ghc-conduit) | |
7217 | ("ghc-resourcet" ,ghc-resourcet) | |
bb071237 | 7218 | ("libyaml+static" ,libyaml+static))) |
0c2d6fc2 TS |
7219 | (home-page "https://github.com/snoyberg/yaml#readme") |
7220 | (synopsis "Low-level, streaming YAML interface.") | |
7221 | (description "This package provides a Haskell wrapper over the | |
7222 | LibYAML C library.") | |
7223 | (license license:bsd-3))) | |
7224 | ||
dddbc90c RV |
7225 | (define-public ghc-lifted-async |
7226 | (package | |
7227 | (name "ghc-lifted-async") | |
b5b6d7ea | 7228 | (version "0.10.0.4") |
dddbc90c RV |
7229 | (source |
7230 | (origin | |
7231 | (method url-fetch) | |
7232 | (uri (string-append | |
7233 | "https://hackage.haskell.org/package/lifted-async/lifted-async-" | |
7234 | version ".tar.gz")) | |
7235 | (sha256 | |
7236 | (base32 | |
b5b6d7ea | 7237 | "0cwl1d0wjpdk0v1l1qxiqiksmak950c8gx169c1q77cg0z18ijf9")))) |
dddbc90c RV |
7238 | (build-system haskell-build-system) |
7239 | (inputs | |
7240 | `(("ghc-async" ,ghc-async) | |
7241 | ("ghc-lifted-base" ,ghc-lifted-base) | |
7242 | ("ghc-transformers-base" ,ghc-transformers-base) | |
7243 | ("ghc-monad-control" ,ghc-monad-control) | |
7244 | ("ghc-constraints" ,ghc-constraints) | |
7245 | ("ghc-hunit" ,ghc-hunit) | |
7246 | ("ghc-tasty" ,ghc-tasty) | |
7247 | ("ghc-tasty-expected-failure" ,ghc-tasty-expected-failure) | |
7248 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
7249 | ("ghc-tasty-th" ,ghc-tasty-th))) | |
7250 | (home-page "https://github.com/maoe/lifted-async") | |
7251 | (synopsis "Run lifted IO operations asynchronously and wait for their results") | |
7252 | (description | |
7253 | "This package provides IO operations from @code{async} package lifted to any | |
7254 | instance of @code{MonadBase} or @code{MonadBaseControl}.") | |
7255 | (license license:bsd-3))) | |
7256 | ||
7257 | (define-public ghc-lifted-base | |
7258 | (package | |
7259 | (name "ghc-lifted-base") | |
7260 | (version "0.2.3.12") | |
7261 | (source | |
7262 | (origin | |
7263 | (method url-fetch) | |
7264 | (uri (string-append | |
7265 | "https://hackage.haskell.org/package/lifted-base/lifted-base-" | |
7266 | version | |
7267 | ".tar.gz")) | |
7268 | (sha256 | |
7269 | (base32 | |
7270 | "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61")))) | |
7271 | (build-system haskell-build-system) | |
7272 | (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries. | |
7273 | (inputs | |
7274 | `(("ghc-transformers-base" ,ghc-transformers-base) | |
7275 | ("ghc-monad-control" ,ghc-monad-control) | |
7276 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
7277 | ("ghc-hunit" ,ghc-hunit))) | |
7278 | (home-page "https://github.com/basvandijk/lifted-base") | |
7279 | (synopsis "Lifted IO operations from the base library") | |
7280 | (description "Lifted-base exports IO operations from the @code{base} | |
7281 | library lifted to any instance of @code{MonadBase} or @code{MonadBaseControl}. | |
7282 | Note that not all modules from @code{base} are converted yet. The package | |
7283 | includes a copy of the @code{monad-peel} test suite written by Anders | |
7284 | Kaseorg.") | |
7285 | (license license:bsd-3))) | |
7286 | ||
7287 | (define-public ghc-linear | |
7288 | (package | |
7289 | (name "ghc-linear") | |
86526f37 | 7290 | (version "1.20.9") |
dddbc90c RV |
7291 | (source |
7292 | (origin | |
7293 | (method url-fetch) | |
7294 | (uri (string-append "https://hackage.haskell.org/package/linear/" | |
7295 | "linear-" version ".tar.gz")) | |
7296 | (sha256 | |
7297 | (base32 | |
86526f37 | 7298 | "0h7yqigq593n7wsl7nz6a5f137wznm7y679wsii0ph0zsc4v5af5")))) |
dddbc90c RV |
7299 | (build-system haskell-build-system) |
7300 | (inputs | |
7301 | `(("ghc-adjunctions" ,ghc-adjunctions) | |
7302 | ("ghc-base-orphans" ,ghc-base-orphans) | |
7303 | ("ghc-bytes" ,ghc-bytes) | |
7304 | ("ghc-cereal" ,ghc-cereal) | |
7305 | ("ghc-distributive" ,ghc-distributive) | |
7306 | ("ghc-hashable" ,ghc-hashable) | |
7307 | ("ghc-lens" ,ghc-lens) | |
7308 | ("ghc-reflection" ,ghc-reflection) | |
7309 | ("ghc-semigroups" ,ghc-semigroups) | |
7310 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
7311 | ("ghc-tagged" ,ghc-tagged) | |
7312 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
7313 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
7314 | ("ghc-vector" ,ghc-vector) | |
7315 | ("ghc-void" ,ghc-void))) | |
7316 | (native-inputs | |
7317 | `(("cabal-doctest" ,cabal-doctest) | |
7318 | ("ghc-doctest" ,ghc-doctest) | |
7319 | ("ghc-simple-reflect" ,ghc-simple-reflect) | |
7320 | ("ghc-test-framework" ,ghc-test-framework) | |
7321 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
7322 | ("ghc-hunit" ,ghc-hunit))) | |
702a1012 | 7323 | (home-page "https://github.com/ekmett/linear/") |
dddbc90c RV |
7324 | (synopsis "Linear algebra library for Haskell") |
7325 | (description | |
7326 | "This package provides types and combinators for linear algebra on free | |
7327 | vector spaces.") | |
7328 | (license license:bsd-3))) | |
1307e4c7 JS |
7329 | |
7330 | (define-public ghc-listlike | |
7331 | (package | |
7332 | (name "ghc-listlike") | |
7333 | (version "4.6.2") | |
7334 | (source | |
7335 | (origin | |
7336 | (method url-fetch) | |
7337 | (uri | |
7338 | (string-append | |
7339 | "https://hackage.haskell.org/package/ListLike/ListLike-" | |
7340 | version ".tar.gz")) | |
7341 | (sha256 | |
7342 | (base32 | |
7343 | "0m65x8yaq7q50gznln8mga2wrc8cvjx6gw9rim8s7xqcrx6y5zjh")))) | |
7344 | (build-system haskell-build-system) | |
7345 | (inputs | |
7346 | `(("ghc-vector" ,ghc-vector) | |
7347 | ("ghc-dlist" ,ghc-dlist) | |
7348 | ("ghc-fmlist" ,ghc-fmlist) | |
7349 | ("ghc-hunit" ,ghc-hunit) | |
7350 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7351 | ("ghc-random" ,ghc-random) | |
7352 | ("ghc-utf8-string" ,ghc-utf8-string))) | |
7353 | (home-page "https://github.com/JohnLato/listlike") | |
7354 | (synopsis "Generic support for list-like structures") | |
7355 | (description "The ListLike module provides a common interface to the | |
7356 | various Haskell types that are list-like. Predefined interfaces include | |
7357 | standard Haskell lists, Arrays, ByteStrings, and lazy ByteStrings. | |
7358 | Custom types can easily be made ListLike instances as well. | |
7359 | ||
7360 | ListLike also provides for String-like types, such as String and | |
7361 | ByteString, for types that support input and output, and for types that | |
7362 | can handle infinite lists.") | |
7363 | (license license:bsd-3))) | |
dddbc90c | 7364 | |
84436be0 J |
7365 | (define-public ghc-llvm-hs-pure |
7366 | (package | |
7367 | (name "ghc-llvm-hs-pure") | |
7368 | (version "9.0.0") | |
7369 | (source | |
7370 | (origin | |
7371 | (method url-fetch) | |
7372 | (uri (string-append "https://hackage.haskell.org/package/llvm-hs-pure/" | |
7373 | "llvm-hs-pure-" version ".tar.gz")) | |
7374 | (sha256 | |
7375 | (base32 | |
7376 | "0pxb5ah8r5pzpz2ibqw3g9g1isigb4z7pbzfrwr8kmcjn74ab3kf")))) | |
7377 | (build-system haskell-build-system) | |
7378 | (inputs | |
7379 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
7380 | ("ghc-fail" ,ghc-fail) | |
7381 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
7382 | (native-inputs | |
7383 | `(("ghc-tasty" ,ghc-tasty) | |
7384 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
7385 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
7386 | (home-page "https://github.com/llvm-hs/llvm-hs/") | |
7387 | (synopsis "Pure Haskell LLVM functionality (no FFI)") | |
7388 | (description "llvm-hs-pure is a set of pure Haskell types and functions | |
7389 | for interacting with LLVM. It includes an algebraic datatype (ADT) to represent | |
7390 | LLVM IR. The llvm-hs package builds on this one with FFI bindings to LLVM, but | |
7391 | llvm-hs-pure does not require LLVM to be available.") | |
7392 | (license license:bsd-3))) | |
7393 | ||
e3ee8023 J |
7394 | (define-public ghc-llvm-hs |
7395 | (package | |
7396 | (name "ghc-llvm-hs") | |
7397 | (version "9.0.1") | |
7398 | (source | |
7399 | (origin | |
7400 | (method url-fetch) | |
7401 | (uri (string-append "https://hackage.haskell.org/package/llvm-hs/llvm-hs-" | |
7402 | version ".tar.gz")) | |
7403 | (sha256 | |
7404 | (base32 | |
7405 | "0723xgh45h9cyxmmjsvxnsp8bpn1ljy4qgh7a7vqq3sj9d6wzq00")))) | |
7406 | (build-system haskell-build-system) | |
7407 | (inputs | |
7408 | `(("ghc-attoparsec" ,ghc-attoparsec) | |
7409 | ("ghc-exceptions" ,ghc-exceptions) | |
7410 | ("ghc-utf8-string" ,ghc-utf8-string) | |
7411 | ("ghc-llvm-hs-pure" ,ghc-llvm-hs-pure) | |
7412 | ("llvm" ,llvm-9))) | |
7413 | (native-inputs | |
7414 | `(("ghc-tasty" ,ghc-tasty) | |
7415 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
7416 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
7417 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7418 | ("ghc-temporary" ,ghc-temporary) | |
7419 | ("ghc-pretty-show" ,ghc-pretty-show) | |
7420 | ("ghc-temporary" ,ghc-temporary))) | |
7421 | (home-page "https://github.com/llvm-hs/llvm-hs/") | |
7422 | (synopsis "General purpose LLVM bindings for Haskell") | |
7423 | (description "llvm-hs is a set of Haskell bindings for LLVM. Unlike other | |
7424 | current Haskell bindings, it uses an algebraic datatype (ADT) to represent LLVM | |
7425 | IR, and so offers two advantages: it handles almost all of the stateful | |
7426 | complexities of using the LLVM API to build IR; and it supports moving IR not | |
7427 | only from Haskell into LLVM C++ objects, but the other direction - from LLVM C++ | |
7428 | into Haskell.") | |
7429 | (license license:bsd-3))) | |
7430 | ||
dddbc90c RV |
7431 | (define-public ghc-logging-facade |
7432 | (package | |
7433 | (name "ghc-logging-facade") | |
7434 | (version "0.3.0") | |
7435 | (source (origin | |
7436 | (method url-fetch) | |
7437 | (uri (string-append "https://hackage.haskell.org/package/" | |
7438 | "logging-facade/logging-facade-" | |
7439 | version ".tar.gz")) | |
7440 | (sha256 | |
7441 | (base32 | |
7442 | "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf")))) | |
7443 | (build-system haskell-build-system) | |
7444 | (native-inputs | |
7445 | `(("ghc-hspec" ,ghc-hspec) | |
7446 | ("hspec-discover" ,hspec-discover))) | |
7447 | (home-page "https://hackage.haskell.org/package/logging-facade") | |
7448 | (synopsis "Simple logging abstraction that allows multiple back-ends") | |
7449 | (description | |
7450 | "This package provides a simple logging abstraction that allows multiple | |
7451 | back-ends.") | |
7452 | (license license:expat))) | |
7453 | ||
7454 | (define-public ghc-logict | |
7455 | (package | |
7456 | (name "ghc-logict") | |
79d9326f | 7457 | (version "0.7.0.2") |
dddbc90c RV |
7458 | (source |
7459 | (origin | |
7460 | (method url-fetch) | |
7461 | (uri (string-append | |
7462 | "https://hackage.haskell.org/package/logict/logict-" | |
7463 | version | |
7464 | ".tar.gz")) | |
7465 | (sha256 | |
7466 | (base32 | |
79d9326f | 7467 | "1xfgdsxg0lp8m0a2cb83rcxrnnc37asfikay2kydi933anh9ihfc")))) |
dddbc90c | 7468 | (build-system haskell-build-system) |
79d9326f TS |
7469 | (native-inputs |
7470 | `(("ghc-tasty" ,ghc-tasty) | |
7471 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
dddbc90c RV |
7472 | (home-page "http://code.haskell.org/~dolio/") |
7473 | (synopsis "Backtracking logic-programming monad") | |
7474 | (description "This library provides a continuation-based, backtracking, | |
7475 | logic programming monad. An adaptation of the two-continuation implementation | |
7476 | found in the paper \"Backtracking, Interleaving, and Terminating Monad | |
7477 | Transformers\" available @uref{http://okmij.org/ftp/papers/LogicT.pdf, | |
7478 | online}.") | |
7479 | (license license:bsd-3))) | |
7480 | ||
27baf2a1 CH |
7481 | (define-public ghc-lucid |
7482 | (package | |
7483 | (name "ghc-lucid") | |
7484 | (version "2.9.12") | |
7485 | (source | |
7486 | (origin | |
7487 | (method url-fetch) | |
7488 | (uri (string-append | |
7489 | "https://hackage.haskell.org/package/lucid/lucid-" | |
7490 | version | |
7491 | ".tar.gz")) | |
7492 | (sha256 | |
7493 | (base32 | |
7494 | "156wniydd1hlb7rygbm95zln8ky8lai8rn2apkkv0rax9cdw6jrh")))) | |
7495 | (build-system haskell-build-system) | |
7496 | (inputs | |
7497 | `(("ghc-blaze-builder" ,ghc-blaze-builder) | |
7498 | ("ghc-hashable" ,ghc-hashable) | |
7499 | ("ghc-mmorph" ,ghc-mmorph) | |
7500 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
7501 | (native-inputs | |
7502 | `(("ghc-hunit" ,ghc-hunit) | |
7503 | ("ghc-hspec" ,ghc-hspec) | |
7504 | ("ghc-bifunctors" ,ghc-bifunctors))) | |
7505 | (arguments | |
7506 | `(#:cabal-revision | |
7507 | ("1" | |
7508 | "1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9"))) | |
7509 | (home-page "https://github.com/chrisdone/lucid") | |
7510 | (synopsis "Haskell DSL for rendering HTML") | |
7511 | (description "Clear to write, read and edit Haskell DSL for HTML. | |
7512 | ||
7513 | @itemize @bullet | |
7514 | @item | |
7515 | Names are consistent, and do not conflict with base or are keywords | |
7516 | (all have suffix @code{-}). | |
7517 | @item | |
7518 | Same combinator can be used for attributes and elements | |
7519 | (e.g. @code{style_}). | |
7520 | @end itemize") | |
7521 | (license license:bsd-3))) | |
7522 | ||
dddbc90c RV |
7523 | (define-public ghc-lzma |
7524 | (package | |
7525 | (name "ghc-lzma") | |
7526 | (version "0.0.0.3") | |
7527 | (source | |
7528 | (origin | |
7529 | (method url-fetch) | |
7530 | (uri (string-append "https://hackage.haskell.org/package/lzma/" | |
7531 | "lzma-" version ".tar.gz")) | |
7532 | (sha256 | |
7533 | (base32 | |
7534 | "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg")))) | |
7535 | (build-system haskell-build-system) | |
7536 | (arguments | |
7537 | '(#:tests? #f ; requires older versions of QuickCheck and tasty. | |
7538 | #:cabal-revision | |
7539 | ("3" "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m"))) | |
7540 | (native-inputs | |
7541 | `(("ghc-hunit" ,ghc-hunit) | |
7542 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7543 | ("ghc-tasty" ,ghc-tasty) | |
7544 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
7545 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
7546 | (home-page "https://github.com/hvr/lzma") | |
7547 | (synopsis "LZMA/XZ compression and decompression") | |
7548 | (description | |
7549 | "This package provides a pure interface for compressing and | |
7550 | decompressing LZMA streams of data represented as lazy @code{ByteString}s. A | |
7551 | monadic incremental interface is provided as well.") | |
7552 | (license license:bsd-3))) | |
7553 | ||
7554 | (define-public ghc-lzma-conduit | |
7555 | (package | |
7556 | (name "ghc-lzma-conduit") | |
7557 | (version "1.2.1") | |
7558 | (source | |
7559 | (origin | |
7560 | (method url-fetch) | |
7561 | (uri (string-append "https://hackage.haskell.org/package/lzma-conduit/" | |
7562 | "lzma-conduit-" version ".tar.gz")) | |
7563 | (sha256 | |
7564 | (base32 | |
7565 | "0hm72da7xk9l3zxjh274yg444vf405djxqbkf3q3p2qhicmxlmg9")))) | |
7566 | (build-system haskell-build-system) | |
7567 | (inputs | |
7568 | `(("ghc-conduit" ,ghc-conduit) | |
7569 | ("ghc-lzma" ,ghc-lzma) | |
7570 | ("ghc-resourcet" ,ghc-resourcet))) | |
7571 | (native-inputs | |
7572 | `(("ghc-base-compat" ,ghc-base-compat) | |
7573 | ("ghc-test-framework" ,ghc-test-framework) | |
7574 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
7575 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
7576 | ("ghc-hunit" ,ghc-hunit) | |
7577 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
7578 | (home-page "https://github.com/alphaHeavy/lzma-conduit") | |
7579 | (synopsis "Conduit interface for lzma/xz compression") | |
7580 | (description | |
7581 | "This package provides a @code{Conduit} interface for the LZMA | |
7582 | compression algorithm used in the @code{.xz} file format.") | |
7583 | (license license:bsd-3))) | |
7584 | ||
e405912c KM |
7585 | (define-public ghc-magic |
7586 | (package | |
7587 | (name "ghc-magic") | |
7588 | (version "1.1") | |
7589 | (source | |
7590 | (origin | |
7591 | (method url-fetch) | |
7592 | (uri (string-append | |
7593 | "https://hackage.haskell.org/package/magic/magic-" | |
7594 | version ".tar.gz")) | |
7595 | (sha256 | |
7596 | (base32 | |
7597 | "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j")))) | |
7598 | (build-system haskell-build-system) | |
3ef91e15 | 7599 | (home-page "https://hackage.haskell.org/package/magic") |
e405912c KM |
7600 | (synopsis "Interface to C file/magic library") |
7601 | (description | |
7602 | "This package provides a full-featured binding to the C libmagic library. | |
7603 | With it, you can determine the type of a file by examining its contents rather | |
7604 | than its name.") | |
7605 | (license license:bsd-3))) | |
7606 | ||
bcfe9dba JS |
7607 | (define-public ghc-managed |
7608 | (package | |
7609 | (name "ghc-managed") | |
7610 | (version "1.0.6") | |
7611 | (source | |
7612 | (origin | |
7613 | (method url-fetch) | |
7614 | (uri (string-append | |
7615 | "mirror://hackage/package/managed/managed-" | |
7616 | version | |
7617 | ".tar.gz")) | |
7618 | (sha256 | |
7619 | (base32 | |
7620 | "1kbrw99yh5x5blykmx2n88mplbbi4ss1ij5j17b7asw6q0ihm9zi")))) | |
7621 | (build-system haskell-build-system) | |
7622 | (home-page "http://hackage.haskell.org/package/managed") | |
7623 | (synopsis "Monad for managed values") | |
7624 | (description | |
7625 | "In Haskell you very often acquire values using the with... idiom using | |
7626 | functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a | |
7627 | special case of the ContT monad (from transformers) or the Codensity | |
7628 | monad (from kan-extensions). The main purpose behind this package is to | |
7629 | provide a restricted form of these monads specialized to this unusually common | |
7630 | case. | |
7631 | ||
7632 | The reason this package defines a specialized version of these types | |
7633 | is to: | |
7634 | ||
7635 | @itemize | |
7636 | @item be more beginner-friendly, | |
7637 | @item simplify inferred types and error messages, and: | |
7638 | @item provide some additional type class instances that would otherwise be | |
7639 | orphan instances | |
7640 | @end itemize") | |
7641 | (license license:bsd-3))) | |
7642 | ||
dddbc90c RV |
7643 | (define-public ghc-markdown-unlit |
7644 | (package | |
7645 | (name "ghc-markdown-unlit") | |
7646 | (version "0.5.0") | |
7647 | (source (origin | |
7648 | (method url-fetch) | |
7649 | (uri (string-append | |
7650 | "mirror://hackage/package/markdown-unlit/" | |
7651 | "markdown-unlit-" version ".tar.gz")) | |
7652 | (sha256 | |
7653 | (base32 | |
7654 | "1gy79vr85vcp13rdjh0hz7zv6daqqffww4j0cqn2lpjjh9xhsbg7")))) | |
7655 | (build-system haskell-build-system) | |
7656 | (inputs | |
7657 | `(("ghc-base-compat" ,ghc-base-compat) | |
7658 | ("ghc-hspec" ,ghc-hspec) | |
7659 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7660 | ("ghc-silently" ,ghc-silently) | |
7661 | ("ghc-stringbuilder" ,ghc-stringbuilder) | |
7662 | ("ghc-temporary" ,ghc-temporary) | |
7663 | ("hspec-discover" ,hspec-discover))) | |
7664 | (home-page "https://github.com/sol/markdown-unlit#readme") | |
7665 | (synopsis "Literate Haskell support for Markdown") | |
7666 | (description "This package allows you to have a README.md that at the | |
7667 | same time is a literate Haskell program.") | |
7668 | (license license:expat))) | |
7669 | ||
7670 | (define-public ghc-math-functions | |
7671 | (package | |
7672 | (name "ghc-math-functions") | |
b45de2bf | 7673 | (version "0.3.3.0") |
dddbc90c RV |
7674 | (source |
7675 | (origin | |
7676 | (method url-fetch) | |
7677 | (uri (string-append "https://hackage.haskell.org/package/" | |
7678 | "math-functions-" version "/" | |
7679 | "math-functions-" version ".tar.gz")) | |
7680 | (sha256 | |
7681 | (base32 | |
b45de2bf | 7682 | "1s5nbs40sc3r4z08n0j8bw40cy0zkp03fjjn3p27zkd4fvm9kib3")))) |
dddbc90c RV |
7683 | (build-system haskell-build-system) |
7684 | (arguments `(#:tests? #f)) ; FIXME: 1 test fails. | |
7685 | (inputs | |
b45de2bf TS |
7686 | `(("ghc-data-default-class" ,ghc-data-default-class) |
7687 | ("ghc-vector" ,ghc-vector) | |
dddbc90c RV |
7688 | ("ghc-vector-th-unbox" ,ghc-vector-th-unbox))) |
7689 | (native-inputs | |
7690 | `(("ghc-hunit" ,ghc-hunit) | |
7691 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7692 | ("ghc-erf" ,ghc-erf) | |
7693 | ("ghc-test-framework" ,ghc-test-framework) | |
7694 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
7695 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
7696 | (home-page "https://github.com/bos/math-functions") | |
7697 | (synopsis "Special functions and Chebyshev polynomials for Haskell") | |
7698 | (description "This Haskell library provides implementations of | |
7699 | special mathematical functions and Chebyshev polynomials. These | |
7700 | functions are often useful in statistical and numerical computing.") | |
7701 | (license license:bsd-3))) | |
7702 | ||
7703 | (define-public ghc-megaparsec | |
7704 | (package | |
7705 | (name "ghc-megaparsec") | |
03b0c92e | 7706 | (version "7.0.5") |
dddbc90c RV |
7707 | (source |
7708 | (origin | |
7709 | (method url-fetch) | |
7710 | (uri (string-append "https://hackage.haskell.org/package/" | |
7711 | "megaparsec/megaparsec-" | |
7712 | version ".tar.gz")) | |
7713 | (sha256 | |
7714 | (base32 | |
03b0c92e | 7715 | "0bqx1icbmk8s7wmbcdzsgnlh607c7kzg8l80cp02dxr5valjxp7j")))) |
dddbc90c | 7716 | (build-system haskell-build-system) |
dddbc90c RV |
7717 | (inputs |
7718 | `(("ghc-case-insensitive" ,ghc-case-insensitive) | |
7719 | ("ghc-parser-combinators" ,ghc-parser-combinators) | |
7720 | ("ghc-scientific" ,ghc-scientific))) | |
7721 | (native-inputs | |
7722 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
7723 | ("ghc-hspec" ,ghc-hspec) | |
7724 | ("ghc-hspec-expectations" ,ghc-hspec-expectations) | |
7725 | ("hspec-discover" ,hspec-discover))) | |
7726 | (home-page "https://github.com/mrkkrp/megaparsec") | |
7727 | (synopsis "Monadic parser combinators") | |
7728 | (description | |
7729 | "This is an industrial-strength monadic parser combinator library. | |
7730 | Megaparsec is a feature-rich package that strikes a nice balance between | |
7731 | speed, flexibility, and quality of parse errors.") | |
7732 | (license license:bsd-2))) | |
7733 | ||
7734 | (define-public ghc-memory | |
7735 | (package | |
7736 | (name "ghc-memory") | |
d2c7d336 | 7737 | (version "0.14.18") |
dddbc90c RV |
7738 | (source (origin |
7739 | (method url-fetch) | |
7740 | (uri (string-append "https://hackage.haskell.org/package/" | |
7741 | "memory/memory-" version ".tar.gz")) | |
7742 | (sha256 | |
7743 | (base32 | |
d2c7d336 | 7744 | "01rmq3vagxzjmm96qnfxk4f0516cn12bp5m8inn8h5r918bqsigm")))) |
dddbc90c RV |
7745 | (build-system haskell-build-system) |
7746 | (inputs | |
7747 | `(("ghc-basement" ,ghc-basement) | |
7748 | ("ghc-foundation" ,ghc-foundation))) | |
7749 | (native-inputs | |
7750 | `(("ghc-tasty" ,ghc-tasty) | |
7751 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
7752 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
7753 | (home-page "https://github.com/vincenthz/hs-memory") | |
7754 | (synopsis "Memory abstractions for Haskell") | |
7755 | (description | |
7756 | "This package provides memory abstractions, such as chunk of memory, | |
7757 | polymorphic byte array management and manipulation functions. It contains a | |
7758 | polymorphic byte array abstraction and functions similar to strict ByteString, | |
7759 | different type of byte array abstraction, raw memory IO operations (memory | |
7760 | set, memory copy, ..) and more") | |
7761 | (license license:bsd-3))) | |
7762 | ||
7763 | (define-public ghc-memotrie | |
7764 | (package | |
7765 | (name "ghc-memotrie") | |
7766 | (version "0.6.9") | |
7767 | (source | |
7768 | (origin | |
7769 | (method url-fetch) | |
7770 | (uri (string-append | |
7771 | "https://hackage.haskell.org/package/MemoTrie/MemoTrie-" | |
7772 | version | |
7773 | ".tar.gz")) | |
7774 | (sha256 | |
7775 | (base32 | |
7776 | "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x")))) | |
7777 | (build-system haskell-build-system) | |
7778 | (inputs | |
7779 | `(("ghc-newtype-generics" ,ghc-newtype-generics))) | |
7780 | (home-page "https://github.com/conal/MemoTrie") | |
7781 | (synopsis "Trie-based memo functions") | |
7782 | (description "This package provides a functional library for creating | |
7783 | efficient memo functions using tries.") | |
7784 | (license license:bsd-3))) | |
7785 | ||
7786 | (define-public ghc-microlens | |
7787 | (package | |
7788 | (name "ghc-microlens") | |
82478c58 | 7789 | (version "0.4.10") |
dddbc90c RV |
7790 | (source |
7791 | (origin | |
7792 | (method url-fetch) | |
7793 | (uri (string-append "https://hackage.haskell.org/package/" | |
7794 | "microlens-" version "/" | |
7795 | "microlens-" version ".tar.gz")) | |
7796 | (sha256 | |
7797 | (base32 | |
82478c58 | 7798 | "1v277yyy4p9q57xr2lfp6qs24agglfczmcabrapxrzci3jfshmcw")))) |
dddbc90c RV |
7799 | (build-system haskell-build-system) |
7800 | (home-page | |
7801 | "https://github.com/aelve/microlens") | |
7802 | (synopsis "Provides a tiny lens Haskell library with no dependencies") | |
7803 | (description "This Haskell package provides a lens library, just like | |
7804 | @code{ghc-lens}, but smaller. It provides essential lenses and | |
7805 | traversals (like @code{_1} and @code{_Just}), as well as ones which are simply | |
7806 | nice to have (like @code{each}, @code{at}, and @code{ix}), and some | |
7807 | combinators (like @code{failing} and @code{singular}), but everything else is | |
7808 | stripped. As the result, this package has no dependencies.") | |
7809 | (license license:bsd-3))) | |
7810 | ||
1cd3333e TS |
7811 | (define-public ghc-microlens-aeson |
7812 | (package | |
7813 | (name "ghc-microlens-aeson") | |
7814 | (version "2.3.0.4") | |
7815 | (source | |
7816 | (origin | |
7817 | (method url-fetch) | |
7818 | (uri (string-append "https://hackage.haskell.org/package/" | |
7819 | "microlens-aeson/microlens-aeson-" | |
7820 | version ".tar.gz")) | |
b4a00fec | 7821 | (patches (search-patches "ghc-microlens-aeson-fix-tests.patch")) |
1cd3333e TS |
7822 | (sha256 |
7823 | (base32 | |
7824 | "0w630kk5bnily1qh41081gqgbwmslrh5ad21899gwnb2r3jripyw")))) | |
7825 | (build-system haskell-build-system) | |
7826 | (inputs | |
7827 | `(("ghc-aeson" ,ghc-aeson) | |
7828 | ("ghc-attoparsec" ,ghc-attoparsec) | |
7829 | ("ghc-hashable" ,ghc-hashable) | |
7830 | ("ghc-microlens" ,ghc-microlens) | |
7831 | ("ghc-scientific" ,ghc-scientific) | |
7832 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
7833 | ("ghc-vector" ,ghc-vector))) | |
7834 | (native-inputs | |
7835 | `(("ghc-tasty" ,ghc-tasty) | |
7836 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
7837 | (home-page "https://github.com/fosskers/microlens-aeson") | |
7838 | (synopsis "Law-abiding lenses for Aeson, using microlens") | |
7839 | (description "This library provides law-abiding lenses for Aeson, using | |
7840 | microlens.") | |
7841 | (license license:expat))) | |
7842 | ||
dddbc90c RV |
7843 | (define-public ghc-microlens-ghc |
7844 | (package | |
7845 | (name "ghc-microlens-ghc") | |
027beb55 | 7846 | (version "0.4.10") |
dddbc90c RV |
7847 | (source |
7848 | (origin | |
7849 | (method url-fetch) | |
7850 | (uri (string-append | |
7851 | "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-" | |
7852 | version | |
7853 | ".tar.gz")) | |
7854 | (sha256 | |
7855 | (base32 | |
027beb55 | 7856 | "102dbrdsdadxbbhvx8avv1wbk84767a7lkb8ckp3zxk9g7qlly33")))) |
dddbc90c RV |
7857 | (build-system haskell-build-system) |
7858 | (inputs `(("ghc-microlens" ,ghc-microlens))) | |
7859 | (home-page "https://github.com/monadfix/microlens") | |
7860 | (synopsis "Use @code{microlens} with GHC libraries like @code{array}") | |
7861 | (description "This library provides everything that @code{microlens} | |
7862 | provides plus instances to make @code{each}, @code{at}, and @code{ix} | |
7863 | usable with arrays, @code{ByteString}, and containers. This package is | |
7864 | a part of the @uref{http://hackage.haskell.org/package/microlens, | |
7865 | microlens} family; see the readme | |
7866 | @uref{https://github.com/aelve/microlens#readme, on Github}.") | |
7867 | (license license:bsd-3))) | |
7868 | ||
7869 | (define-public ghc-microlens-mtl | |
7870 | (package | |
7871 | (name "ghc-microlens-mtl") | |
7872 | (version "0.1.11.1") | |
7873 | (source | |
7874 | (origin | |
7875 | (method url-fetch) | |
7876 | (uri (string-append | |
7877 | "https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-" | |
7878 | version | |
7879 | ".tar.gz")) | |
7880 | (sha256 | |
7881 | (base32 | |
7882 | "0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk")))) | |
7883 | (build-system haskell-build-system) | |
7884 | (inputs | |
7885 | `(("ghc-microlens" ,ghc-microlens) | |
7886 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
7887 | (home-page "https://github.com/monadfix/microlens") | |
7888 | (synopsis | |
7889 | "@code{microlens} support for Reader/Writer/State from mtl") | |
7890 | (description | |
7891 | "This package contains functions (like @code{view} or @code{+=}) which | |
7892 | work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the | |
7893 | mtl package. This package is a part of the | |
7894 | @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the | |
7895 | readme @uref{https://github.com/aelve/microlens#readme, on Github}.") | |
7896 | (license license:bsd-3))) | |
7897 | ||
7898 | (define-public ghc-microlens-platform | |
7899 | (package | |
7900 | (name "ghc-microlens-platform") | |
85decc1f | 7901 | (version "0.3.11") |
dddbc90c RV |
7902 | (source |
7903 | (origin | |
7904 | (method url-fetch) | |
7905 | (uri (string-append | |
7906 | "https://hackage.haskell.org/package/" | |
7907 | "microlens-platform/microlens-platform-" version ".tar.gz")) | |
7908 | (sha256 | |
7909 | (base32 | |
85decc1f | 7910 | "18950lxgmsg5ksvyyi3zs1smjmb1qf1q73a3p3g44bh21miz0xwb")))) |
dddbc90c RV |
7911 | (build-system haskell-build-system) |
7912 | (inputs | |
7913 | `(("ghc-hashable" ,ghc-hashable) | |
7914 | ("ghc-microlens" ,ghc-microlens) | |
7915 | ("ghc-microlens-ghc" ,ghc-microlens-ghc) | |
7916 | ("ghc-microlens-mtl" ,ghc-microlens-mtl) | |
7917 | ("ghc-microlens-th" ,ghc-microlens-th) | |
7918 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
7919 | ("ghc-vector" ,ghc-vector))) | |
7920 | (home-page "https://github.com/monadfix/microlens") | |
7921 | (synopsis "Feature-complete microlens") | |
7922 | (description | |
7923 | "This package exports a module which is the recommended starting point | |
7924 | for using @uref{http://hackage.haskell.org/package/microlens, microlens} if | |
7925 | you aren't trying to keep your dependencies minimal. By importing | |
7926 | @code{Lens.Micro.Platform} you get all functions and instances from | |
7927 | @uref{http://hackage.haskell.org/package/microlens, microlens}, | |
7928 | @uref{http://hackage.haskell.org/package/microlens-th, microlens-th}, | |
7929 | @uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl}, | |
7930 | @uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as | |
7931 | well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The | |
7932 | minor and major versions of @code{microlens-platform} are incremented whenever | |
7933 | the minor and major versions of any other @code{microlens} package are | |
7934 | incremented, so you can depend on the exact version of | |
7935 | @code{microlens-platform} without specifying the version of @code{microlens} | |
7936 | you need. This package is a part of the | |
7937 | @uref{http://hackage.haskell.org/package/microlens, microlens} family; see the | |
7938 | readme @uref{https://github.com/aelve/microlens#readme, on Github}.") | |
7939 | (license license:bsd-3))) | |
7940 | ||
7941 | (define-public ghc-microlens-th | |
7942 | (package | |
7943 | (name "ghc-microlens-th") | |
7ae52867 | 7944 | (version "0.4.2.3") |
dddbc90c RV |
7945 | (source |
7946 | (origin | |
7947 | (method url-fetch) | |
7948 | (uri (string-append "https://hackage.haskell.org/package/" | |
7949 | "microlens-th-" version "/" | |
7950 | "microlens-th-" version ".tar.gz")) | |
7951 | (sha256 | |
7952 | (base32 | |
7ae52867 | 7953 | "13qw0pwcgd6f6i39rwgqwcwk1d4da5x7wv3gna7gdlxaq331h41j")))) |
dddbc90c | 7954 | (build-system haskell-build-system) |
7ae52867 TS |
7955 | (arguments |
7956 | `(#:cabal-revision | |
7957 | ("1" "167in7b1qhgrspx81bdm2jyg9qji66sk7id282c0s99kmp0d01n6"))) | |
dddbc90c RV |
7958 | (inputs `(("ghc-microlens" ,ghc-microlens) |
7959 | ("ghc-th-abstraction" ,ghc-th-abstraction))) | |
7960 | (home-page | |
7961 | "https://github.com/aelve/microlens") | |
7962 | (synopsis "Automatic generation of record lenses for | |
7963 | @code{ghc-microlens}") | |
7964 | (description "This Haskell package lets you automatically generate lenses | |
7965 | for data types; code was extracted from the lens package, and therefore | |
7966 | generated lenses are fully compatible with ones generated by lens (and can be | |
7967 | used both from lens and microlens).") | |
7968 | (license license:bsd-3))) | |
7969 | ||
7970 | (define-public ghc-missingh | |
7971 | (package | |
7972 | (name "ghc-missingh") | |
641207cb | 7973 | (version "1.4.1.0") |
dddbc90c RV |
7974 | (source |
7975 | (origin | |
7976 | (method url-fetch) | |
7977 | (uri (string-append "https://hackage.haskell.org/package/MissingH/" | |
7978 | "MissingH-" version ".tar.gz")) | |
7979 | (sha256 | |
7980 | (base32 | |
641207cb | 7981 | "1jp0vk6w9a7fzrbxfhx773105jp2s1n50klq9ak6spfl7bgx5v29")))) |
dddbc90c RV |
7982 | (build-system haskell-build-system) |
7983 | ;; Tests require the unmaintained testpack package, which depends on the | |
7984 | ;; outdated QuickCheck version 2.7, which can no longer be built with | |
7985 | ;; recent versions of GHC and Haskell libraries. | |
7986 | (arguments '(#:tests? #f)) | |
7987 | (inputs | |
7988 | `(("ghc-network" ,ghc-network) | |
7989 | ("ghc-hunit" ,ghc-hunit) | |
7990 | ("ghc-regex-compat" ,ghc-regex-compat) | |
7991 | ("ghc-hslogger" ,ghc-hslogger) | |
7992 | ("ghc-random" ,ghc-random) | |
7993 | ("ghc-old-time" ,ghc-old-time) | |
7994 | ("ghc-old-locale" ,ghc-old-locale))) | |
7995 | (native-inputs | |
7996 | `(("ghc-errorcall-eq-instance" ,ghc-errorcall-eq-instance) | |
7997 | ("ghc-quickcheck" ,ghc-quickcheck) | |
7998 | ("ghc-hunit" ,ghc-hunit))) | |
f1841ccf TGR |
7999 | ;; ‘Official’ <http://software.complete.org/missingh> redirects to a 404. |
8000 | (home-page "https://github.com/haskell-hvr/missingh") | |
dddbc90c RV |
8001 | (synopsis "Large utility library") |
8002 | (description | |
8003 | "MissingH is a library of all sorts of utility functions for Haskell | |
8004 | programmers. It is written in pure Haskell and thus should be extremely | |
8005 | portable and easy to use.") | |
8006 | (license license:bsd-3))) | |
8007 | ||
8008 | (define-public ghc-mmap | |
8009 | (package | |
8010 | (name "ghc-mmap") | |
8011 | (version "0.5.9") | |
8012 | (source (origin | |
8013 | (method url-fetch) | |
8014 | (uri (string-append "https://hackage.haskell.org/package/" | |
8015 | "mmap/mmap-" version ".tar.gz")) | |
8016 | (sha256 | |
8017 | (base32 | |
8018 | "1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q")))) | |
8019 | (build-system haskell-build-system) | |
8020 | (home-page "https://hackage.haskell.org/package/mmap") | |
8021 | (synopsis "Memory mapped files for Haskell") | |
8022 | (description | |
8023 | "This library provides a wrapper to @code{mmap}, allowing files or | |
8024 | devices to be lazily loaded into memory as strict or lazy @code{ByteStrings}, | |
8025 | @code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to | |
8026 | do on-demand loading.") | |
8027 | (license license:bsd-3))) | |
8028 | ||
8029 | (define-public ghc-mmorph | |
8030 | (package | |
8031 | (name "ghc-mmorph") | |
e0389704 | 8032 | (version "1.1.3") |
dddbc90c RV |
8033 | (source |
8034 | (origin | |
8035 | (method url-fetch) | |
8036 | (uri (string-append | |
8037 | "https://hackage.haskell.org/package/mmorph/mmorph-" | |
8038 | version | |
8039 | ".tar.gz")) | |
8040 | (sha256 | |
8041 | (base32 | |
e0389704 | 8042 | "0rfsy9n9mlinpmqi2s17fhc67fzma2ig5fbmh6m5m830canzf8vr")))) |
dddbc90c RV |
8043 | (build-system haskell-build-system) |
8044 | (inputs | |
8045 | `(("ghc-transformers-compat" ,ghc-transformers-compat))) | |
8046 | (home-page "https://hackage.haskell.org/package/mmorph") | |
8047 | (synopsis "Monad morphisms") | |
8048 | (description | |
8049 | "This library provides monad morphism utilities, most commonly used for | |
8050 | manipulating monad transformer stacks.") | |
8051 | (license license:bsd-3))) | |
8052 | ||
8053 | (define-public ghc-mockery | |
8054 | (package | |
8055 | (name "ghc-mockery") | |
8056 | (version "0.3.5") | |
8057 | (source (origin | |
8058 | (method url-fetch) | |
8059 | (uri (string-append "https://hackage.haskell.org/package/" | |
8060 | "mockery/mockery-" version ".tar.gz")) | |
8061 | (sha256 | |
8062 | (base32 | |
8063 | "09ypgm3z69gq8mj6y66ss58kbjnk15r8frwcwbqcfbfksfnfv8dp")))) | |
8064 | (build-system haskell-build-system) | |
8065 | (inputs | |
8066 | `(("ghc-temporary" ,ghc-temporary) | |
8067 | ("ghc-logging-facade" ,ghc-logging-facade) | |
8068 | ("ghc-base-compat" ,ghc-base-compat))) | |
8069 | (native-inputs | |
8070 | `(("ghc-hspec" ,ghc-hspec) | |
8071 | ("hspec-discover" ,hspec-discover))) | |
8072 | (home-page "https://hackage.haskell.org/package/mockery") | |
8073 | (synopsis "Support functions for automated testing") | |
8074 | (description | |
8075 | "The mockery package provides support functions for automated testing.") | |
8076 | (license license:expat))) | |
8077 | ||
8078 | (define-public ghc-monad-control | |
8079 | (package | |
8080 | (name "ghc-monad-control") | |
8081 | (version "1.0.2.3") | |
8082 | (source | |
8083 | (origin | |
8084 | (method url-fetch) | |
8085 | (uri (string-append | |
8086 | "https://hackage.haskell.org/package/monad-control" | |
8087 | "/monad-control-" version ".tar.gz")) | |
8088 | (sha256 | |
8089 | (base32 | |
8090 | "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c")))) | |
8091 | (build-system haskell-build-system) | |
8092 | (inputs | |
8093 | `(("ghc-transformers-base" ,ghc-transformers-base) | |
8094 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
8095 | (home-page "https://github.com/basvandijk/monad-control") | |
8096 | (synopsis "Monad transformers to lift control operations like exception | |
8097 | catching") | |
8098 | (description "This package defines the type class @code{MonadBaseControl}, | |
8099 | a subset of @code{MonadBase} into which generic control operations such as | |
8100 | @code{catch} can be lifted from @code{IO} or any other base monad.") | |
8101 | (license license:bsd-3))) | |
8102 | ||
8103 | (define-public ghc-monad-logger | |
8104 | (package | |
8105 | (name "ghc-monad-logger") | |
26980aae | 8106 | (version "0.3.30") |
dddbc90c RV |
8107 | (source |
8108 | (origin | |
8109 | (method url-fetch) | |
8110 | (uri (string-append "https://hackage.haskell.org/package/" | |
8111 | "monad-logger-" version "/" | |
8112 | "monad-logger-" version ".tar.gz")) | |
8113 | (sha256 | |
8114 | (base32 | |
26980aae | 8115 | "102l0v75hbvkmrypiyg4ybb6rbc7nij5nxs1aihmqfdpg04rkkp7")))) |
dddbc90c RV |
8116 | (build-system haskell-build-system) |
8117 | (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat) | |
8118 | ("ghc-stm-chans" ,ghc-stm-chans) | |
8119 | ("ghc-lifted-base" ,ghc-lifted-base) | |
8120 | ("ghc-resourcet" ,ghc-resourcet) | |
8121 | ("ghc-conduit" ,ghc-conduit) | |
8122 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
8123 | ("ghc-fast-logger" ,ghc-fast-logger) | |
8124 | ("ghc-transformers-base" ,ghc-transformers-base) | |
8125 | ("ghc-monad-control" ,ghc-monad-control) | |
8126 | ("ghc-monad-loops" ,ghc-monad-loops) | |
8127 | ("ghc-blaze-builder" ,ghc-blaze-builder) | |
8128 | ("ghc-exceptions" ,ghc-exceptions))) | |
8129 | (home-page "https://github.com/kazu-yamamoto/logger") | |
8130 | (synopsis "Provides a class of monads which can log messages for Haskell") | |
8131 | (description "This Haskell package uses a monad transformer approach | |
8132 | for logging. | |
8133 | ||
8134 | This package provides Template Haskell functions for determining source | |
8135 | code locations of messages.") | |
8136 | (license license:expat))) | |
8137 | ||
8138 | (define-public ghc-monad-loops | |
8139 | (package | |
8140 | (name "ghc-monad-loops") | |
8141 | (version "0.4.3") | |
8142 | (source | |
8143 | (origin | |
8144 | (method url-fetch) | |
8145 | (uri (string-append "https://hackage.haskell.org/package/" | |
8146 | "monad-loops-" version "/" | |
8147 | "monad-loops-" version ".tar.gz")) | |
8148 | (sha256 | |
8149 | (base32 | |
8150 | "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky")))) | |
8151 | (build-system haskell-build-system) | |
8152 | (native-inputs `(("ghc-tasty" ,ghc-tasty) | |
8153 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
8154 | (home-page "https://github.com/mokus0/monad-loops") | |
8155 | (synopsis "Monadic loops for Haskell") | |
8156 | (description "This Haskell package provides some useful control | |
8157 | operators for looping.") | |
8158 | (license license:public-domain))) | |
8159 | ||
8160 | (define-public ghc-monad-par | |
8161 | (package | |
8162 | (name "ghc-monad-par") | |
8163 | (version "0.3.4.8") | |
8164 | (source | |
8165 | (origin | |
8166 | (method url-fetch) | |
8167 | (uri (string-append "https://hackage.haskell.org/package/" | |
8168 | "monad-par-" version "/" | |
8169 | "monad-par-" version ".tar.gz")) | |
faac56f3 | 8170 | (patches (search-patches "ghc-monad-par-fix-tests.patch")) |
dddbc90c RV |
8171 | (sha256 |
8172 | (base32 | |
8173 | "0ldrzqy24fsszvn2a2nr77m2ih7xm0h9bgkjyv1l274aj18xyk7q")))) | |
8174 | (build-system haskell-build-system) | |
8175 | (inputs `(("ghc-abstract-par" ,ghc-abstract-par) | |
8176 | ("ghc-abstract-deque" ,ghc-abstract-deque) | |
8177 | ("ghc-monad-par-extras" ,ghc-monad-par-extras) | |
8178 | ("ghc-mwc-random" ,ghc-mwc-random) | |
8179 | ("ghc-parallel" ,ghc-parallel))) | |
8180 | (native-inputs `(("ghc-quickcheck" ,ghc-quickcheck) | |
8181 | ("ghc-hunit" ,ghc-hunit) | |
8182 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
8183 | ("ghc-test-framework-quickcheck2" | |
8184 | ,ghc-test-framework-quickcheck2) | |
8185 | ("ghc-test-framework" ,ghc-test-framework) | |
8186 | ("ghc-test-framework-th" ,ghc-test-framework-th))) | |
8187 | (home-page "https://github.com/simonmar/monad-par") | |
8188 | (synopsis "Haskell library for parallel programming based on a monad") | |
8189 | (description "The @code{Par} monad offers an API for parallel | |
8190 | programming. The library works for parallelising both pure and @code{IO} | |
8191 | computations, although only the pure version is deterministic. The default | |
8192 | implementation provides a work-stealing scheduler and supports forking tasks | |
8193 | that are much lighter weight than IO-threads.") | |
8194 | (license license:bsd-3))) | |
8195 | ||
8196 | (define-public ghc-monad-par-extras | |
8197 | (package | |
8198 | (name "ghc-monad-par-extras") | |
8199 | (version "0.3.3") | |
8200 | (source | |
8201 | (origin | |
8202 | (method url-fetch) | |
8203 | (uri (string-append "https://hackage.haskell.org/package/" | |
8204 | "monad-par-extras-" version "/" | |
8205 | "monad-par-extras-" version ".tar.gz")) | |
8206 | (sha256 | |
8207 | (base32 | |
8208 | "0bl4bd6jzdc5zm20q1g67ppkfh6j6yn8fwj6msjayj621cck67p2")))) | |
8209 | (build-system haskell-build-system) | |
8210 | (inputs `(("ghc-abstract-par" ,ghc-abstract-par) | |
8211 | ("ghc-cereal" ,ghc-cereal) | |
8212 | ("ghc-random" ,ghc-random))) | |
8213 | (home-page "https://github.com/simonmar/monad-par") | |
8214 | (synopsis "Combinators and extra features for Par monads for Haskell") | |
8215 | (description "This Haskell package provides additional data structures, | |
8216 | and other added capabilities layered on top of the @code{Par} monad.") | |
8217 | (license license:bsd-3))) | |
8218 | ||
dddbc90c RV |
8219 | (define-public ghc-monadrandom |
8220 | (package | |
8221 | (name "ghc-monadrandom") | |
8222 | (version "0.5.1.1") | |
8223 | (source | |
8224 | (origin | |
8225 | (method url-fetch) | |
8226 | (uri (string-append "https://hackage.haskell.org/package/" | |
8227 | "MonadRandom-" version "/" | |
8228 | "MonadRandom-" version ".tar.gz")) | |
8229 | (sha256 | |
8230 | (base32 | |
8231 | "0w44jl1n3kqvqaflh82l1wj3xxbhzfs3kf4m8rk7w6fgg8llmnmb")))) | |
8232 | (build-system haskell-build-system) | |
8233 | (inputs `(("ghc-transformers-compat" ,ghc-transformers-compat) | |
8234 | ("ghc-primitive" ,ghc-primitive) | |
8235 | ("ghc-fail" ,ghc-fail) | |
8236 | ("ghc-random" ,ghc-random))) | |
8237 | (home-page "https://github.com/byorgey/MonadRandom") | |
8238 | (synopsis "Random-number generation monad for Haskell") | |
8239 | (description "This Haskell package provides support for computations | |
8240 | which consume random values.") | |
8241 | (license license:bsd-3))) | |
8242 | ||
8243 | (define-public ghc-monads-tf | |
8244 | (package | |
8245 | (name "ghc-monads-tf") | |
8246 | (version "0.1.0.3") | |
8247 | (source | |
8248 | (origin | |
8249 | (method url-fetch) | |
8250 | (uri (string-append | |
8251 | "https://hackage.haskell.org/package/monads-tf/monads-tf-" | |
8252 | version ".tar.gz")) | |
8253 | (sha256 | |
8254 | (base32 | |
8255 | "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794")))) | |
8256 | (build-system haskell-build-system) | |
8257 | (home-page "https://hackage.haskell.org/package/monads-tf") | |
8258 | (synopsis "Monad classes, using type families") | |
8259 | (description | |
8260 | "Monad classes using type families, with instances for various monad transformers, | |
8261 | inspired by the paper 'Functional Programming with Overloading and Higher-Order | |
8262 | Polymorphism', by Mark P Jones. This package is almost a compatible replacement for | |
8263 | the @code{mtl-tf} package.") | |
8264 | (license license:bsd-3))) | |
8265 | ||
8266 | (define-public ghc-mono-traversable | |
8267 | (package | |
8268 | (name "ghc-mono-traversable") | |
23bb445b | 8269 | (version "1.0.13.0") |
dddbc90c RV |
8270 | (source |
8271 | (origin | |
8272 | (method url-fetch) | |
8273 | (uri (string-append "https://hackage.haskell.org/package/" | |
8274 | "mono-traversable-" version "/" | |
8275 | "mono-traversable-" version ".tar.gz")) | |
8276 | (sha256 | |
8277 | (base32 | |
23bb445b | 8278 | "1bqy982lpdb83lacfy76n8kqw5bvd31avxj25kg8gkgycdh0g0ma")))) |
dddbc90c | 8279 | (build-system haskell-build-system) |
3e6ecfeb | 8280 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
8281 | (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers) |
8282 | ("ghc-hashable" ,ghc-hashable) | |
8283 | ("ghc-vector" ,ghc-vector) | |
8284 | ("ghc-vector-algorithms" ,ghc-vector-algorithms) | |
8285 | ("ghc-split" ,ghc-split))) | |
8286 | (native-inputs `(("ghc-hspec" ,ghc-hspec) | |
8287 | ("ghc-hunit" ,ghc-hunit) | |
8288 | ("ghc-quickcheck" ,ghc-quickcheck) | |
8289 | ("ghc-semigroups" ,ghc-semigroups) | |
8290 | ("ghc-foldl" ,ghc-foldl))) | |
8291 | (home-page "https://github.com/snoyberg/mono-traversable") | |
8292 | (synopsis "Haskell classes for mapping, folding, and traversing monomorphic | |
8293 | containers") | |
8294 | (description "This Haskell package provides Monomorphic variants of the | |
8295 | Functor, Foldable, and Traversable typeclasses. If you understand Haskell's | |
8296 | basic typeclasses, you understand mono-traversable. In addition to what | |
8297 | you are used to, it adds on an IsSequence typeclass and has code for marking | |
8298 | data structures as non-empty.") | |
8299 | (license license:expat))) | |
8300 | ||
471e77cf TS |
8301 | (define-public ghc-monoid-extras |
8302 | (package | |
8303 | (name "ghc-monoid-extras") | |
8304 | (version "0.5.1") | |
8305 | (source | |
8306 | (origin | |
8307 | (method url-fetch) | |
8308 | (uri (string-append "https://hackage.haskell.org/package/" | |
8309 | "monoid-extras/monoid-extras-" version ".tar.gz")) | |
8310 | (sha256 | |
8311 | (base32 | |
8312 | "0xfrkgqn9d31z54l617m3w3kkd5m9vjb4yl247r3zzql3mpb1f37")))) | |
8313 | (build-system haskell-build-system) | |
8314 | (inputs | |
8315 | `(("ghc-groups" ,ghc-groups) | |
8316 | ("ghc-semigroups" ,ghc-semigroups) | |
8317 | ("ghc-semigroupoids" ,ghc-semigroupoids))) | |
8318 | (arguments | |
8319 | `(#:cabal-revision | |
8320 | ("1" "0b8x5d6vh7mpigvjvcd8f38a1nyzn1vfdqypslw7z9fgsr742913"))) | |
8321 | (home-page "https://hackage.haskell.org/package/monoid-extras") | |
8322 | (synopsis "Various extra monoid-related definitions and utilities") | |
8323 | (description "This package provides various extra monoid-related | |
8324 | definitions and utilities, such as monoid actions, monoid coproducts, | |
8325 | semi-direct products, \"deletable\" monoids, \"split\" monoids, and | |
8326 | \"cut\" monoids.") | |
8327 | (license license:bsd-3))) | |
8328 | ||
c00d001d CLW |
8329 | (define-public ghc-mountpoints |
8330 | (package | |
8331 | (name "ghc-mountpoints") | |
8332 | (version "1.0.2") | |
8333 | (source | |
8334 | (origin | |
8335 | (method url-fetch) | |
8336 | (uri (string-append | |
8337 | "https://hackage.haskell.org/package/mountpoints/mountpoints-" | |
8338 | version | |
8339 | ".tar.gz")) | |
8340 | (sha256 | |
8341 | (base32 | |
8342 | "1hnm31pqcffphyc463wf0vbik9fzm5lb2r4wjdc1y4dqzmjdzz37")))) | |
8343 | (build-system haskell-build-system) | |
8344 | (home-page | |
8345 | "http://hackage.haskell.org/package/mountpoints") | |
8346 | (synopsis "Haskell library for listing mount points") | |
8347 | (description "This library provides Haskell bindings for checking | |
8348 | currently mounted filesystems.") | |
8349 | (license license:lgpl2.1+))) | |
8350 | ||
4759b617 JS |
8351 | (define-public ghc-mtl-compat |
8352 | (package | |
8353 | (name "ghc-mtl-compat") | |
8354 | (version "0.2.2") | |
8355 | (source | |
8356 | (origin | |
8357 | (method url-fetch) | |
8358 | (uri (string-append | |
8359 | "mirror://hackage/package/mtl-compat/mtl-compat-" | |
8360 | version | |
8361 | ".tar.gz")) | |
8362 | (sha256 | |
8363 | (base32 | |
8364 | "17iszr5yb4f17g8mq6i74hsamii8z6m2qfsmgzs78mhiwa7kjm8r")))) | |
8365 | (build-system haskell-build-system) | |
8366 | (home-page | |
8367 | "https://github.com/haskell-compat/mtl-compat") | |
8368 | (synopsis | |
8369 | "Backported Control.Monad.Except module from mtl") | |
8370 | (description | |
8371 | "This package backports the Control.Monad.Except module from mtl (if | |
8372 | using mtl-2.2.0.1 or earlier), which reexports the ExceptT monad transformer | |
8373 | and the MonadError class. | |
8374 | ||
8375 | This package should only be used if there is a need to use the | |
8376 | Control.Monad.Except module specifically. If you just want the mtl class | |
8377 | instances for ExceptT, use transformers-compat instead, since mtl-compat does | |
8378 | nothing but reexport the instances from that package. | |
8379 | ||
8380 | Note that unlike how mtl-2.2 or later works, the Control.Monad.Except | |
8381 | module defined in this package exports all of ExceptT's monad class instances. | |
8382 | Therefore, you may have to declare @code{import Control.Monad.Except ()} at | |
8383 | the top of your file to get all of the ExceptT instances in scope.") | |
8384 | (license license:bsd-3))) | |
8385 | ||
dddbc90c RV |
8386 | (define-public ghc-murmur-hash |
8387 | (package | |
8388 | (name "ghc-murmur-hash") | |
8389 | (version "0.1.0.9") | |
8390 | (source | |
8391 | (origin | |
8392 | (method url-fetch) | |
8393 | (uri (string-append "https://hackage.haskell.org/package/murmur-hash" | |
8394 | "/murmur-hash-" version ".tar.gz")) | |
8395 | (sha256 | |
8396 | (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9")))) | |
8397 | (build-system haskell-build-system) | |
8398 | (home-page "https://github.com/nominolo/murmur-hash") | |
8399 | (synopsis "MurmurHash2 implementation for Haskell") | |
8400 | (description | |
8401 | "This package provides an implementation of MurmurHash2, a good, fast, | |
8402 | general-purpose, non-cryptographic hashing function. See | |
8403 | @url{https://sites.google.com/site/murmurhash/} for details. This | |
8404 | implementation is pure Haskell, so it might be a bit slower than a C FFI | |
8405 | binding.") | |
8406 | (license license:bsd-3))) | |
8407 | ||
8408 | (define-public ghc-mwc-random | |
8409 | (package | |
8410 | (name "ghc-mwc-random") | |
33268e2c | 8411 | (version "0.14.0.0") |
dddbc90c RV |
8412 | (source |
8413 | (origin | |
8414 | (method url-fetch) | |
8415 | (uri (string-append "https://hackage.haskell.org/package/" | |
8416 | "mwc-random-" version "/" | |
8417 | "mwc-random-" version ".tar.gz")) | |
8418 | (sha256 | |
8419 | (base32 | |
33268e2c | 8420 | "18pg24sw3b79b32cwx8q01q4k0lm34mwr3l6cdkchl8alvd0wdq0")))) |
dddbc90c RV |
8421 | (build-system haskell-build-system) |
8422 | (inputs | |
8423 | `(("ghc-primitive" ,ghc-primitive) | |
8424 | ("ghc-vector" ,ghc-vector) | |
8425 | ("ghc-math-functions" ,ghc-math-functions))) | |
8426 | (arguments | |
8427 | `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails. | |
8428 | (native-inputs | |
8429 | `(("ghc-hunit" ,ghc-hunit) | |
8430 | ("ghc-quickcheck" ,ghc-quickcheck) | |
8431 | ("ghc-test-framework" ,ghc-test-framework) | |
8432 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
8433 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
8434 | (home-page "https://github.com/bos/mwc-random") | |
8435 | (synopsis "Random number generation library for Haskell") | |
8436 | (description "This Haskell package contains code for generating | |
8437 | high quality random numbers that follow either a uniform or normal | |
8438 | distribution. The generated numbers are suitable for use in | |
8439 | statistical applications. | |
8440 | ||
8441 | The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222) | |
8442 | multiply-with-carry generator, which has a period of 2^{8222} and | |
8443 | fares well in tests of randomness. It is also extremely fast, | |
8444 | between 2 and 3 times faster than the Mersenne Twister.") | |
8445 | (license license:bsd-3))) | |
8446 | ||
8447 | (define-public ghc-nats | |
8448 | (package | |
8449 | (name "ghc-nats") | |
8450 | (version "1.1.2") | |
8451 | (source | |
8452 | (origin | |
8453 | (method url-fetch) | |
8454 | (uri (string-append | |
8455 | "https://hackage.haskell.org/package/nats/nats-" | |
8456 | version | |
8457 | ".tar.gz")) | |
8458 | (sha256 | |
8459 | (base32 | |
8460 | "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr")))) | |
8461 | (build-system haskell-build-system) | |
8462 | (arguments `(#:haddock? #f)) | |
8463 | (inputs | |
8464 | `(("ghc-hashable" ,ghc-hashable))) | |
8465 | (home-page "https://hackage.haskell.org/package/nats") | |
8466 | (synopsis "Natural numbers") | |
8467 | (description "This library provides the natural numbers for Haskell.") | |
8468 | (license license:bsd-3))) | |
8469 | ||
8470 | (define-public ghc-nats-bootstrap | |
8471 | (package | |
8472 | (inherit ghc-nats) | |
8473 | (name "ghc-nats-bootstrap") | |
8474 | (inputs | |
8475 | `(("ghc-hashable" ,ghc-hashable-bootstrap))) | |
8476 | (properties '((hidden? #t))))) | |
8477 | ||
52915062 EF |
8478 | (define-public ghc-ncurses |
8479 | (package | |
8480 | (name "ghc-ncurses") | |
8481 | (version "0.2.16") | |
8482 | (source | |
8483 | (origin | |
8484 | (method url-fetch) | |
8485 | (uri (string-append | |
8486 | "https://hackage.haskell.org/package/ncurses/ncurses-" | |
8487 | version ".tar.gz")) | |
8488 | (sha256 | |
8489 | (base32 | |
8490 | "0gsyyaqyh5r9zc0rhwpj5spyd6i4w2vj61h4nihgmmh0yyqvf3z5")))) | |
8491 | (build-system haskell-build-system) | |
8492 | (arguments | |
54a5fd07 TS |
8493 | '(#:extra-directories ("ncurses") |
8494 | #:phases | |
52915062 EF |
8495 | (modify-phases %standard-phases |
8496 | (add-before 'build 'fix-includes | |
8497 | (lambda _ | |
8498 | (substitute* '("cbits/hsncurses-shim.h" | |
8499 | "lib/UI/NCurses.chs" | |
8500 | "lib/UI/NCurses/Enums.chs" | |
8501 | "lib/UI/NCurses/Panel.chs") | |
8502 | (("<ncursesw/") "<")) | |
8503 | #t))) | |
8504 | #:cabal-revision | |
8505 | ("1" | |
8506 | "1wfdy716s5p1sqp2gsg43x8wch2dxg0vmbbndlb2h3d8c9jzxnca"))) | |
8507 | (inputs `(("ncurses" ,ncurses))) | |
8508 | (native-inputs `(("ghc-c2hs" ,ghc-c2hs))) | |
8509 | (home-page "https://john-millikin.com/software/haskell-ncurses/") | |
8510 | (synopsis "Modernised bindings to GNU ncurses") | |
8511 | (description "GNU ncurses is a library for creating command-line application | |
8512 | with pseudo-graphical interfaces. This package is a nice, modern binding to GNU | |
8513 | ncurses.") | |
8514 | (license license:gpl3))) | |
8515 | ||
dddbc90c RV |
8516 | (define-public ghc-network |
8517 | (package | |
8518 | (name "ghc-network") | |
d4473202 | 8519 | (version "2.8.0.1") |
534d6caa | 8520 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
8521 | (source |
8522 | (origin | |
8523 | (method url-fetch) | |
8524 | (uri (string-append | |
8525 | "https://hackage.haskell.org/package/network/network-" | |
8526 | version | |
8527 | ".tar.gz")) | |
8528 | (sha256 | |
8529 | (base32 | |
d4473202 | 8530 | "0im8k51rw3ahmr23ny10pshwbz09jfg0fdpam0hzf2hgxnzmvxb1")))) |
dddbc90c RV |
8531 | (build-system haskell-build-system) |
8532 | ;; The regression tests depend on an unpublished module. | |
8533 | (arguments `(#:tests? #f)) | |
8534 | (native-inputs | |
8535 | `(("ghc-hunit" ,ghc-hunit) | |
8536 | ("ghc-doctest" ,ghc-doctest) | |
8537 | ("ghc-test-framework" ,ghc-test-framework) | |
8538 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
8539 | (home-page "https://github.com/haskell/network") | |
8540 | (synopsis "Low-level networking interface") | |
8541 | (description | |
8542 | "This package provides a low-level networking interface.") | |
8543 | (license license:bsd-3))) | |
4780db2c | 8544 | |
30eebbe6 TS |
8545 | (define-public ghc-network-bsd |
8546 | (package | |
8547 | (name "ghc-network-bsd") | |
8548 | (version "2.8.0.0") | |
8549 | (source | |
8550 | (origin | |
8551 | (method url-fetch) | |
8552 | (uri (string-append "https://hackage.haskell.org/package/" | |
8553 | "network-bsd/network-bsd-" version ".tar.gz")) | |
8554 | (sha256 | |
8555 | (base32 | |
8556 | "0dfbwgrr28y6ypw7p1ppqg7v746qf14569q4xazj4ahdjw2xkpi5")))) | |
8557 | (build-system haskell-build-system) | |
8558 | (inputs | |
8559 | `(("ghc-network" ,ghc-network))) | |
8560 | (home-page "https://github.com/haskell/network-bsd") | |
8561 | (synopsis "POSIX network database (<netdb.h>) API") | |
8562 | (description "This package provides Haskell bindings to the the POSIX | |
8563 | network database (<netdb.h>) API.") | |
8564 | (license license:bsd-3))) | |
8565 | ||
096781a1 TS |
8566 | (define-public ghc-network-byte-order |
8567 | (package | |
8568 | (name "ghc-network-byte-order") | |
8569 | (version "0.1.1.1") | |
8570 | (source | |
8571 | (origin | |
8572 | (method url-fetch) | |
8573 | (uri (string-append "https://hackage.haskell.org/package/" | |
8574 | "network-byte-order/network-byte-order-" | |
8575 | version ".tar.gz")) | |
8576 | (sha256 | |
8577 | (base32 | |
8578 | "19cs6157amcc925vwr92q1azwwzkbam5g0k70i6qi80fhpikh37c")))) | |
8579 | (build-system haskell-build-system) | |
8580 | (native-inputs | |
8581 | `(("ghc-doctest" ,ghc-doctest))) | |
3ef91e15 | 8582 | (home-page "https://hackage.haskell.org/package/network-byte-order") |
096781a1 TS |
8583 | (synopsis "Network byte order utilities") |
8584 | (description "This library provides peek and poke functions for network | |
8585 | byte order.") | |
8586 | (license license:bsd-3))) | |
8587 | ||
dddbc90c RV |
8588 | (define-public ghc-network-info |
8589 | (package | |
8590 | (name "ghc-network-info") | |
8591 | (version "0.2.0.10") | |
8592 | (source | |
8593 | (origin | |
8594 | (method url-fetch) | |
8595 | (uri (string-append "https://hackage.haskell.org/package/" | |
8596 | "network-info-" version "/" | |
8597 | "network-info-" version ".tar.gz")) | |
8598 | (sha256 | |
8599 | (base32 | |
8600 | "0anmgzcpnz7nw3n6vq0r25m1s9l2svpwi83wza0lzkrlbnbzd02n")))) | |
8601 | (build-system haskell-build-system) | |
8602 | (home-page "https://github.com/jystic/network-info") | |
8603 | (synopsis "Access the local computer's basic network configuration") | |
8604 | (description "This Haskell library provides simple read-only access to the | |
8605 | local computer's networking configuration. It is currently capable of | |
8606 | getting a list of all the network interfaces and their respective | |
8607 | IPv4, IPv6 and MAC addresses.") | |
8608 | (license license:bsd-3))) | |
8609 | ||
161e1019 CLW |
8610 | (define-public ghc-network-multicast |
8611 | (package | |
8612 | (name "ghc-network-multicast") | |
8613 | (version "0.3.2") | |
8614 | (source | |
8615 | (origin | |
8616 | (method url-fetch) | |
8617 | (uri (string-append | |
8618 | "https://hackage.haskell.org/package/network-multicast/network-multicast-" | |
8619 | version | |
8620 | ".tar.gz")) | |
8621 | (sha256 | |
8622 | (base32 | |
8623 | "0whvi0pbwjy6dbwfdf9rv1j3yr3lcmfp3q7a8pwq63g537l4l2l3")))) | |
8624 | (build-system haskell-build-system) | |
8625 | (inputs | |
8626 | `(("ghc-network" ,ghc-network) | |
8627 | ("ghc-network-bsd" ,ghc-network-bsd))) | |
8628 | (home-page | |
8629 | "http://hackage.haskell.org/package/network-multicast") | |
8630 | (synopsis "Simple multicast library for Haskell") | |
8631 | (description | |
8632 | "This package provides the Network.Multicast Haskell module for | |
8633 | sending UDP datagrams over multicast (class D) addresses.") | |
8634 | ;; Note that this is technically under CC0 1.0 and Expat, though it's not | |
8635 | ;; totally clear what the breakdown is. Since CC0 1.0 is effectively | |
8636 | ;; "public domain with a minimal fallback license", figuring marking it | |
8637 | ;; as effectively Expat is probably correct. | |
8638 | (license license:expat))) | |
8639 | ||
dddbc90c RV |
8640 | (define-public ghc-network-uri |
8641 | (package | |
8642 | (name "ghc-network-uri") | |
8643 | (version "2.6.1.0") | |
534d6caa | 8644 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
8645 | (source |
8646 | (origin | |
8647 | (method url-fetch) | |
8648 | (uri (string-append | |
8649 | "https://hackage.haskell.org/package/network-uri/network-uri-" | |
8650 | version | |
8651 | ".tar.gz")) | |
8652 | (sha256 | |
8653 | (base32 | |
8654 | "1w27zkvn39kjr9lmw9421y8w43h572ycsfafsb7kyvr3a4ihlgj2")))) | |
8655 | (build-system haskell-build-system) | |
8656 | (arguments | |
8657 | `(#:tests? #f)) ; FIXME: currently missing libraries used for tests. | |
8658 | (inputs | |
8659 | `(("ghc-network" ,ghc-network))) | |
8660 | (native-inputs | |
8661 | `(("ghc-hunit" ,ghc-hunit))) | |
8662 | (home-page | |
8663 | "https://github.com/haskell/network-uri") | |
8664 | (synopsis "Library for URI manipulation") | |
8665 | (description "This package provides an URI manipulation interface. In | |
8666 | @code{network-2.6} the @code{Network.URI} module was split off from the | |
8667 | @code{network} package into this package.") | |
8668 | (license license:bsd-3))) | |
8669 | ||
8670 | (define-public ghc-newtype-generics | |
8671 | (package | |
8672 | (name "ghc-newtype-generics") | |
c07e16dd | 8673 | (version "0.5.4") |
dddbc90c RV |
8674 | (source |
8675 | (origin | |
8676 | (method url-fetch) | |
8677 | (uri (string-append "https://hackage.haskell.org/package/" | |
8678 | "newtype-generics/newtype-generics-" | |
8679 | version ".tar.gz")) | |
8680 | (sha256 | |
8681 | (base32 | |
c07e16dd | 8682 | "0cprfg4n0z62cnix1qrbc79bfdd4s50b05fj9m9hk6vm1pc3szq0")))) |
dddbc90c RV |
8683 | (build-system haskell-build-system) |
8684 | (native-inputs | |
8685 | `(("ghc-hspec" ,ghc-hspec) | |
8686 | ("hspec-discover" ,hspec-discover))) | |
702a1012 | 8687 | (home-page "https://github.com/sjakobi/newtype-generics") |
dddbc90c RV |
8688 | (synopsis "Typeclass and set of functions for working with newtypes") |
8689 | (description "The @code{Newtype} typeclass represents the packing and | |
8690 | unpacking of a newtype, and allows you to operate under that newtype with | |
8691 | functions such as @code{ala}. Generics support was added in version 0.4, | |
8692 | making this package a full replacement for the original newtype package, | |
8693 | and an alternative to newtype-th.") | |
8694 | (license license:bsd-3))) | |
8695 | ||
6b652f5a JS |
8696 | (define-public ghc-non-negative |
8697 | (package | |
8698 | (name "ghc-non-negative") | |
8699 | (version "0.1.2") | |
8700 | (source | |
8701 | (origin | |
8702 | (method url-fetch) | |
8703 | (uri | |
8704 | (string-append | |
8705 | "https://hackage.haskell.org/package/non-negative/non-negative-" | |
8706 | version ".tar.gz")) | |
8707 | (sha256 | |
8708 | (base32 | |
8709 | "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n")))) | |
8710 | (build-system haskell-build-system) | |
8711 | (inputs | |
8712 | `(("ghc-semigroups" ,ghc-semigroups) | |
8713 | ("ghc-utility-ht" ,ghc-utility-ht) | |
8714 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
8715 | (home-page "https://hackage.haskell.org/package/non-negative") | |
8716 | (synopsis "Non-negative numbers class") | |
8717 | (description "This library provides a class for non-negative numbers, | |
8718 | a wrapper which can turn any ordered numeric type into a member of that | |
8719 | class, and a lazy number type for non-negative numbers (a generalization | |
8720 | of Peano numbers).") | |
8721 | (license license:gpl3+))) | |
8722 | ||
49bcca84 ASM |
8723 | (define-public ghc-nonce |
8724 | (package | |
8725 | (name "ghc-nonce") | |
8726 | (version "1.0.7") | |
8727 | (source | |
8728 | (origin | |
8729 | (method url-fetch) | |
8730 | (uri (string-append | |
8731 | "https://hackage.haskell.org/package/nonce/" | |
8732 | "nonce-" version ".tar.gz")) | |
8733 | (sha256 | |
8734 | (base32 | |
8735 | "1q9ph0aq51mvdvydnriqd12sfin36pfb8f588zgac1ybn8r64ksb")))) | |
8736 | (build-system haskell-build-system) | |
8737 | (inputs | |
8738 | `(("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
8739 | ("ghc-entropy" ,ghc-entropy) | |
8740 | ("ghc-unliftio" ,ghc-unliftio) | |
8741 | ("ghc-unliftio-core" ,ghc-unliftio-core))) | |
8742 | (home-page "https://github.com/prowdsponsor/nonce") | |
8743 | (synopsis "Generate cryptographic nonces in Haskell") | |
8744 | (description | |
8745 | "A nonce is an arbitrary number used only once in a cryptographic | |
8746 | communication. This package contain helper functions for generating nonces. | |
8747 | There are many kinds of nonces used in different situations. It's not | |
8748 | guaranteed that by using the nonces from this package you won't have any | |
8749 | security issues. Please make sure that the nonces generated via this | |
8750 | package are usable on your design.") | |
8751 | (license license:bsd-3))) | |
8752 | ||
194a82e6 TS |
8753 | (define-public ghc-numeric-extras |
8754 | (package | |
8755 | (name "ghc-numeric-extras") | |
8756 | (version "0.1") | |
8757 | (source | |
8758 | (origin | |
8759 | (method url-fetch) | |
8760 | (uri (string-append "https://hackage.haskell.org/package/" | |
8761 | "numeric-extras/numeric-extras-" | |
8762 | version ".tar.gz")) | |
8763 | (sha256 | |
8764 | (base32 | |
8765 | "1mk11c0gz1yjy5b8dvq6czfny57pln0bs7x28fz38qyr44872067")))) | |
8766 | (build-system haskell-build-system) | |
8767 | (home-page "https://github.com/ekmett/numeric-extras") | |
8768 | (synopsis "Useful tools from the C standard library") | |
8769 | (description "This library provides some useful tools from the C | |
8770 | standard library.") | |
8771 | (license license:bsd-3))) | |
8772 | ||
dddbc90c RV |
8773 | (define-public ghc-objectname |
8774 | (package | |
8775 | (name "ghc-objectname") | |
8776 | (version "1.1.0.1") | |
8777 | (source | |
8778 | (origin | |
8779 | (method url-fetch) | |
8780 | (uri (string-append | |
8781 | "https://hackage.haskell.org/package/ObjectName/ObjectName-" | |
8782 | version | |
8783 | ".tar.gz")) | |
8784 | (sha256 | |
8785 | (base32 | |
8786 | "046jm94rmm46cicd31pl54vdvfjvhd9ffbfycy2lxzc0fliyznvj")))) | |
8787 | (build-system haskell-build-system) | |
8788 | (home-page "https://hackage.haskell.org/package/ObjectName") | |
8789 | (synopsis "Helper library for Haskell OpenGL") | |
8790 | (description "This tiny package contains the class ObjectName, which | |
8791 | corresponds to the general notion of explicitly handled identifiers for API | |
8792 | objects, e.g. a texture object name in OpenGL or a buffer object name in | |
8793 | OpenAL.") | |
8794 | (license license:bsd-3))) | |
8795 | ||
8796 | (define-public ghc-old-locale | |
8797 | (package | |
8798 | (name "ghc-old-locale") | |
8799 | (version "1.0.0.7") | |
8800 | (source | |
8801 | (origin | |
8802 | (method url-fetch) | |
8803 | (uri (string-append | |
8804 | "https://hackage.haskell.org/package/old-locale/old-locale-" | |
8805 | version | |
8806 | ".tar.gz")) | |
8807 | (sha256 | |
8808 | (base32 "0l3viphiszvz5wqzg7a45zp40grwlab941q5ay29iyw8p3v8pbyv")))) | |
8809 | (build-system haskell-build-system) | |
8810 | (arguments | |
8811 | `(#:cabal-revision | |
8812 | ("2" "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs"))) | |
8813 | (home-page "https://hackage.haskell.org/package/old-locale") | |
8814 | (synopsis "Adapt to locale conventions") | |
8815 | (description | |
8816 | "This package provides the ability to adapt to locale conventions such as | |
8817 | date and time formats.") | |
8818 | (license license:bsd-3))) | |
8819 | ||
8820 | (define-public ghc-old-time | |
8821 | (package | |
8822 | (name "ghc-old-time") | |
8823 | (version "1.1.0.3") | |
8824 | (source | |
8825 | (origin | |
8826 | (method url-fetch) | |
8827 | (uri (string-append | |
8828 | "https://hackage.haskell.org/package/old-time/old-time-" | |
8829 | version | |
8830 | ".tar.gz")) | |
8831 | (sha256 | |
8832 | (base32 | |
8833 | "1h9b26s3kfh2k0ih4383w90ibji6n0iwamxp6rfp2lbq1y5ibjqw")))) | |
8834 | (build-system haskell-build-system) | |
8835 | (arguments | |
8836 | `(#:cabal-revision | |
8837 | ("2" "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9"))) | |
8838 | (inputs | |
8839 | `(("ghc-old-locale" ,ghc-old-locale))) | |
8840 | (home-page "https://hackage.haskell.org/package/old-time") | |
8841 | (synopsis "Time compatibility library for Haskell") | |
8842 | (description "Old-time is a package for backwards compatibility with the | |
8843 | old @code{time} library. For new projects, the newer | |
8844 | @uref{https://hackage.haskell.org/package/time, time library} is recommended.") | |
8845 | (license license:bsd-3))) | |
8846 | ||
21c21133 CH |
8847 | (define-public ghc-only |
8848 | (package | |
8849 | (name "ghc-only") | |
8850 | (version "0.1") | |
8851 | (source | |
8852 | (origin | |
8853 | (method url-fetch) | |
8854 | (uri (string-append | |
8855 | "https://hackage.haskell.org/package/Only/Only-" | |
8856 | version | |
8857 | ".tar.gz")) | |
8858 | (sha256 | |
8859 | (base32 | |
8860 | "0rdj3a629fk2vp121jq8mf2smkblrz5w3cxhlsyx6my2x29s2ymb")))) | |
8861 | (build-system haskell-build-system) | |
8862 | (arguments | |
8863 | `(#:cabal-revision | |
8864 | ("1" | |
8865 | "1ahk7p34kmh041mz7lyc10nhcxgv2i4z8nvzxvqm2x34gslmsbzr"))) | |
8866 | (home-page "https://hackage.haskell.org/package/Only") | |
8867 | (synopsis "The 1-tuple type or single-value collection") | |
8868 | (description | |
8869 | "This package provides a canonical anonymous 1-tuple type missing from | |
8870 | Haskell for attaching typeclass instances. | |
8871 | ||
8872 | There is also the @url{https://hackage.haskell.org/package/OneTuple, OneTuple | |
8873 | package} which by using a boxed @code{data}-type provides a 1-tuple type which | |
8874 | has laziness properties which are more faithful to the ones of Haskell's | |
8875 | native tuples; whereas the primary purpose of @code{Only} is to provide the | |
8876 | traditionally so named type-wrapper for attaching typeclass instances.") | |
8877 | (license license:bsd-3))) | |
8878 | ||
dddbc90c RV |
8879 | (define-public ghc-opengl |
8880 | (package | |
8881 | (name "ghc-opengl") | |
79a06910 | 8882 | (version "3.0.3.0") |
dddbc90c RV |
8883 | (source |
8884 | (origin | |
8885 | (method url-fetch) | |
8886 | (uri (string-append | |
8887 | "https://hackage.haskell.org/package/OpenGL/OpenGL-" | |
8888 | version | |
8889 | ".tar.gz")) | |
8890 | (sha256 | |
8891 | (base32 | |
79a06910 | 8892 | "069fg8jcxqq2z9iikynd8vi3jxm2b5y3qywdh4bdviyzab3zy1as")))) |
dddbc90c | 8893 | (build-system haskell-build-system) |
79a06910 TS |
8894 | (arguments |
8895 | `(#:cabal-revision | |
8896 | ("1" "1748mrb6r9mpf5jbrx436lwbg8w6dadyy8dhxw2dwnrj5z7zf741"))) | |
dddbc90c RV |
8897 | (inputs |
8898 | `(("ghc-objectname" ,ghc-objectname) | |
8899 | ("ghc-gluraw" ,ghc-gluraw) | |
8900 | ("ghc-statevar" ,ghc-statevar) | |
8901 | ("ghc-openglraw" ,ghc-openglraw))) | |
228d2901 | 8902 | (home-page "https://wiki.haskell.org/Opengl") |
dddbc90c RV |
8903 | (synopsis "Haskell bindings for the OpenGL graphics system") |
8904 | (description "This package provides Haskell bindings for the OpenGL | |
8905 | graphics system (GL, version 4.5) and its accompanying utility library (GLU, | |
8906 | version 1.3).") | |
8907 | (license license:bsd-3))) | |
8908 | ||
8909 | (define-public ghc-openglraw | |
8910 | (package | |
8911 | (name "ghc-openglraw") | |
15ebc815 | 8912 | (version "3.3.3.0") |
dddbc90c RV |
8913 | (source |
8914 | (origin | |
8915 | (method url-fetch) | |
8916 | (uri (string-append | |
8917 | "https://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-" | |
8918 | version | |
8919 | ".tar.gz")) | |
8920 | (sha256 | |
8921 | (base32 | |
15ebc815 | 8922 | "0zgllb4bcash2i2cispa3j565aw3dpxs41ghmhpvyvi4a6xmyldx")))) |
dddbc90c | 8923 | (build-system haskell-build-system) |
54a5fd07 TS |
8924 | (arguments |
8925 | `(#:extra-directories ("glu"))) | |
dddbc90c RV |
8926 | (inputs |
8927 | `(("ghc-half" ,ghc-half) | |
8928 | ("ghc-fixed" ,ghc-fixed) | |
8929 | ("glu" ,glu))) | |
228d2901 | 8930 | (home-page "https://wiki.haskell.org/Opengl") |
dddbc90c RV |
8931 | (synopsis "Raw Haskell bindings for the OpenGL graphics system") |
8932 | (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5 | |
8933 | graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping | |
8934 | of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw | |
8935 | offers access to all necessary functions, tokens and types plus a general | |
8936 | facility for loading extension entries. The module hierarchy closely mirrors | |
8937 | the naming structure of the OpenGL extensions, making it easy to find the | |
8938 | right module to import. All API entries are loaded dynamically, so no special | |
8939 | C header files are needed for building this package. If an API entry is not | |
8940 | found at runtime, a userError is thrown.") | |
8941 | (license license:bsd-3))) | |
8942 | ||
8943 | (define-public ghc-operational | |
8944 | (package | |
8945 | (name "ghc-operational") | |
8946 | (version "0.2.3.5") | |
8947 | (source | |
8948 | (origin | |
8949 | (method url-fetch) | |
8950 | (uri (string-append "https://hackage.haskell.org/package/operational/" | |
8951 | "operational-" version ".tar.gz")) | |
8952 | (sha256 | |
8953 | (base32 | |
8954 | "1x2abg2q9d26h1vzj40r6k7k3gqgappbs4g9d853vvg77837km4i")))) | |
8955 | (build-system haskell-build-system) | |
8956 | (inputs | |
8957 | `(("ghc-random" ,ghc-random))) | |
8958 | (home-page "http://wiki.haskell.org/Operational") | |
8959 | (synopsis "Implementation of difficult monads made easy with operational semantics") | |
8960 | (description | |
8961 | "This library makes it easy to implement monads with tricky control | |
8962 | flow. This is useful for: writing web applications in a sequential style, | |
8963 | programming games with a uniform interface for human and AI players and easy | |
8964 | replay capababilities, implementing fast parser monads, designing monadic | |
8965 | DSLs, etc.") | |
8966 | (license license:bsd-3))) | |
8967 | ||
6f1477d2 JS |
8968 | (define-public ghc-optional-args |
8969 | (package | |
8970 | (name "ghc-optional-args") | |
8971 | (version "1.0.2") | |
8972 | (source | |
8973 | (origin | |
8974 | (method url-fetch) | |
8975 | (uri (string-append | |
8976 | "mirror://hackage/package/optional-args/optional-args-" | |
8977 | version | |
8978 | ".tar.gz")) | |
8979 | (sha256 | |
8980 | (base32 | |
8981 | "1r5hhn6xvc01grggxdyy48daibwzi0aikgidq0ahpa6bfynm8d1f")))) | |
8982 | (build-system haskell-build-system) | |
8983 | (home-page | |
8984 | "http://hackage.haskell.org/package/optional-args") | |
8985 | (synopsis "Optional function arguments") | |
8986 | (description | |
8987 | "This library provides a type for specifying @code{Optional} function | |
8988 | arguments.") | |
8989 | (license license:bsd-3))) | |
8990 | ||
dddbc90c RV |
8991 | (define-public ghc-options |
8992 | (package | |
8993 | (name "ghc-options") | |
8994 | (version "1.2.1.1") | |
8995 | (source | |
8996 | (origin | |
8997 | (method url-fetch) | |
8998 | (uri (string-append | |
8999 | "https://hackage.haskell.org/package/options/options-" | |
9000 | version ".tar.gz")) | |
9001 | (sha256 | |
9002 | (base32 | |
9003 | "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8")))) | |
9004 | (build-system haskell-build-system) | |
24cf2a8b TS |
9005 | (arguments |
9006 | `(#:phases | |
9007 | (modify-phases %standard-phases | |
9008 | (add-before 'configure 'update-constraints | |
9009 | (lambda _ | |
9010 | (substitute* "options.cabal" | |
9011 | (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4 && < 0.6")) | |
9012 | #t))))) | |
dddbc90c RV |
9013 | (inputs |
9014 | `(("ghc-monads-tf" ,ghc-monads-tf) | |
9015 | ("ghc-chell" ,ghc-chell) | |
9016 | ("ghc-chell-quickcheck" ,ghc-chell-quickcheck))) | |
9017 | (home-page "https://john-millikin.com/software/haskell-options/") | |
9018 | (synopsis "Powerful and easy-to-use command-line option parser") | |
9019 | (description | |
9020 | "The @code{options} package lets library and application developers | |
9021 | easily work with command-line options.") | |
9022 | (license license:expat))) | |
9023 | ||
9024 | ;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests. | |
9025 | (define ghc-options-bootstrap | |
9026 | (package | |
9027 | (name "ghc-options-bootstrap") | |
9028 | (version "1.2.1.1") | |
9029 | (source | |
9030 | (origin | |
9031 | (method url-fetch) | |
9032 | (uri (string-append | |
9033 | "https://hackage.haskell.org/package/options/options-" | |
9034 | version ".tar.gz")) | |
9035 | (sha256 | |
9036 | (base32 | |
9037 | "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8")))) | |
9038 | (build-system haskell-build-system) | |
9039 | (arguments | |
9040 | `(#:tests? #f)) | |
9041 | (inputs | |
9042 | `(("ghc-monads-tf" ,ghc-monads-tf))) | |
9043 | (home-page "https://john-millikin.com/software/haskell-options/") | |
9044 | (synopsis "Powerful and easy-to-use command-line option parser") | |
9045 | (description | |
9046 | "The @code{options} package lets library and application developers | |
9047 | easily work with command-line options.") | |
9048 | (license license:expat))) | |
9049 | ||
9050 | ||
9051 | (define-public ghc-optparse-applicative | |
9052 | (package | |
9053 | (name "ghc-optparse-applicative") | |
74bf6965 | 9054 | (version "0.14.3.0") |
dddbc90c RV |
9055 | (source |
9056 | (origin | |
9057 | (method url-fetch) | |
9058 | (uri (string-append | |
9059 | "https://hackage.haskell.org/package/optparse-applicative" | |
9060 | "/optparse-applicative-" version ".tar.gz")) | |
9061 | (sha256 | |
9062 | (base32 | |
74bf6965 | 9063 | "0qvn1s7jwrabbpmqmh6d6iafln3v3h9ddmxj2y4m0njmzq166ivj")))) |
dddbc90c | 9064 | (build-system haskell-build-system) |
74bf6965 TS |
9065 | (arguments |
9066 | `(#:cabal-revision | |
9067 | ("2" "1a08dqjly1xy730f6jf45frr8g8gap0n1vg9b0mpzpydv0kgzmrp"))) | |
dddbc90c RV |
9068 | (inputs |
9069 | `(("ghc-transformers-compat" ,ghc-transformers-compat) | |
9070 | ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint))) | |
9071 | (native-inputs | |
9072 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
9073 | (home-page "https://github.com/pcapriotti/optparse-applicative") | |
9074 | (synopsis "Utilities and combinators for parsing command line options") | |
9075 | (description "This package provides utilities and combinators for parsing | |
9076 | command line options in Haskell.") | |
9077 | (license license:bsd-3))) | |
9078 | ||
d56c8120 NG |
9079 | (define-public ghc-jira-wiki-markup |
9080 | (package | |
9081 | (name "ghc-jira-wiki-markup") | |
9082 | (version "1.0.0") | |
9083 | (source | |
9084 | (origin | |
9085 | (method url-fetch) | |
9086 | (uri (string-append | |
9087 | "https://hackage.haskell.org/package/jira-wiki-markup/" | |
9088 | "jira-wiki-markup-" version ".tar.gz")) | |
9089 | (sha256 | |
9090 | (base32 "1sl2jjcsqg61si33mxjwpf8zdn56kbbgcwqqqzbgifx2qbv4wmf8")))) | |
9091 | (build-system haskell-build-system) | |
9092 | (native-inputs | |
9093 | `(("ghc-tasty" ,ghc-tasty) | |
9094 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
9095 | (home-page "https://github.com/tarleb/jira-wiki-markup") | |
9096 | (synopsis "Handle Jira wiki markup") | |
9097 | (description | |
9098 | "Parse jira wiki text into an abstract syntax tree for easy transformation | |
9099 | to other formats.") | |
9100 | (license license:expat))) | |
9101 | ||
20690771 NG |
9102 | (define-public ghc-emojis |
9103 | (package | |
9104 | (name "ghc-emojis") | |
9105 | (version "0.1") | |
9106 | (source | |
9107 | (origin | |
9108 | (method url-fetch) | |
9109 | (uri (string-append | |
9110 | "https://hackage.haskell.org/package/emojis/" | |
9111 | "emojis-" version ".tar.gz")) | |
9112 | (sha256 | |
9113 | (base32 "1c6zkj9gmk1y90gbdrn50hyp7mw1mggzhnr2khqd728ryipw60ss")))) | |
9114 | (build-system haskell-build-system) | |
9115 | (native-inputs | |
9116 | `(("ghc-hunit" ,ghc-hunit))) | |
9117 | (home-page "https://github.com/jgm/emojis#readme") | |
9118 | (synopsis "Conversion between emoji characters and their names.") | |
9119 | (description | |
9120 | "This package provides functions for converting emoji names to emoji | |
9121 | characters and vice versa. | |
9122 | ||
9123 | How does it differ from the @code{emoji} package? | |
9124 | @itemize | |
9125 | @item It supports a fuller range of emojis, including all those supported by | |
9126 | GitHub | |
9127 | @item It supports lookup of emoji aliases from emoji | |
9128 | @item It uses Text rather than String | |
9129 | @item It has a lighter dependency footprint: in particular, it does not | |
9130 | require aeson | |
9131 | @item It does not require TemplateHaskell | |
9132 | @end itemize") | |
9133 | (license license:bsd-3))) | |
9134 | ||
e90a06fc NG |
9135 | (define-public ghc-text-conversions |
9136 | (package | |
9137 | (name "ghc-text-conversions") | |
9138 | (version "0.3.0") | |
9139 | (source | |
9140 | (origin | |
9141 | (method url-fetch) | |
9142 | (uri (string-append | |
9143 | "https://hackage.haskell.org/package/text-conversions/" | |
9144 | "text-conversions-" version ".tar.gz")) | |
9145 | (sha256 | |
9146 | (base32 "089c56vdj9xysqfr1hnvbnrghlg83q6w10xk02gflpsidcpvwmhp")))) | |
9147 | (build-system haskell-build-system) | |
9148 | (inputs | |
9149 | `(("ghc-base16-bytestring" ,ghc-base16-bytestring) | |
9150 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
9151 | ("ghc-errors" ,ghc-errors))) | |
9152 | (native-inputs | |
9153 | `(("ghc-hspec" ,ghc-hspec) | |
27b09f3a | 9154 | ("hspec-discover" ,hspec-discover))) |
e90a06fc NG |
9155 | (home-page "https://github.com/cjdev/text-conversions#readme") |
9156 | (synopsis "Safe conversions between textual types") | |
9157 | (description "Safe conversions between textual types") | |
9158 | (license license:isc))) | |
9159 | ||
aeb94a1f CH |
9160 | (define-public ghc-text-short |
9161 | (package | |
9162 | (name "ghc-text-short") | |
9163 | (version "0.1.3") | |
9164 | (source | |
9165 | (origin | |
9166 | (method url-fetch) | |
9167 | (uri (string-append | |
9168 | "https://hackage.haskell.org/package/text-short/text-short-" | |
9169 | version | |
9170 | ".tar.gz")) | |
9171 | (sha256 | |
9172 | (base32 | |
9173 | "0xyrxlb602z8bc9sr2y1fag0x56a20yj5qrkvy7iwc6hnznrynxz")))) | |
9174 | (build-system haskell-build-system) | |
9175 | (inputs `(("ghc-hashable" ,ghc-hashable))) | |
9176 | (native-inputs | |
9177 | `(("ghc-tasty" ,ghc-tasty) | |
9178 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
9179 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
9180 | ("ghc-quickcheck-instances" | |
9181 | ,ghc-quickcheck-instances))) | |
9182 | (arguments | |
9183 | `(#:cabal-revision | |
9184 | ("2" | |
9185 | "17cb7p0qywf2dsrq3g8qb3ssknd9wl5k0nc2pxz9gc3l8rxpkw51"))) | |
9186 | (home-page "https://hackage.haskell.org/package/text-short") | |
9187 | (synopsis "Memory-efficient representation of Unicode text strings") | |
9188 | (description "This package provides the @code{ShortText} type which | |
2faef3cb | 9189 | is suitable for keeping many short strings in memory. This is similar |
aeb94a1f CH |
9190 | to how @code{ShortByteString} relates to @code{ByteString}. |
9191 | ||
9192 | The main difference between @code{Text} and @code{ShortText} is that | |
9193 | @code{ShortText} uses UTF-8 instead of UTF-16 internally and also doesn't | |
9194 | support zero-copy slicing (thereby saving 2 words). Consequently, the memory | |
9195 | footprint of a (boxed) @{ShortText} value is 4 words (2 words when unboxed) | |
9196 | plus the length of the UTF-8 encoded payload.") | |
9197 | (license license:bsd-3))) | |
9198 | ||
ba7cbae3 NG |
9199 | (define-public ghc-doclayout |
9200 | (package | |
9201 | (name "ghc-doclayout") | |
9202 | (version "0.3") | |
9203 | (source | |
9204 | (origin | |
9205 | (method url-fetch) | |
9206 | (uri (string-append | |
9207 | "https://hackage.haskell.org/package/doclayout/" | |
9208 | "doclayout-" version ".tar.gz")) | |
9209 | (sha256 | |
9210 | (base32 "1wmnwq28jcyd6c80srivsnd5znmyl9sgmwwnlk2crwiiwqadbal7")))) | |
9211 | (build-system haskell-build-system) | |
9212 | (inputs | |
9213 | `(("ghc-safe" ,ghc-safe))) | |
9214 | (native-inputs | |
9215 | `(("ghc-tasty" ,ghc-tasty) | |
9216 | ("ghc-tasty-golden" ,ghc-tasty-golden) | |
9217 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
9218 | (home-page "https://github.com/jgm/doclayout") | |
9219 | (synopsis "Pretty-printing library for laying out text documents") | |
9220 | (description | |
9221 | "doclayout is a pretty-printing library for laying out text documents, | |
9222 | with several features not present in pretty-printing libraries designed for | |
9223 | code. It was designed for use in @code{Pandoc}.") | |
9224 | (license license:bsd-3))) | |
9225 | ||
dddbc90c RV |
9226 | (define-public ghc-pandoc |
9227 | (package | |
9228 | (name "ghc-pandoc") | |
d9b1567a | 9229 | (version "2.7.3") |
dddbc90c RV |
9230 | (source |
9231 | (origin | |
9232 | (method url-fetch) | |
9233 | (uri (string-append "https://hackage.haskell.org/package/pandoc/pandoc-" | |
9234 | version ".tar.gz")) | |
d9b1567a TS |
9235 | (patches (search-patches "ghc-pandoc-fix-html-tests.patch" |
9236 | "ghc-pandoc-fix-latex-test.patch")) | |
dddbc90c RV |
9237 | (sha256 |
9238 | (base32 | |
d9b1567a | 9239 | "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8")))) |
dddbc90c | 9240 | (build-system haskell-build-system) |
c18e4f3e RW |
9241 | (arguments |
9242 | `(#:phases | |
9243 | (modify-phases %standard-phases | |
9244 | (add-after 'unpack 'find-library | |
9245 | (lambda _ | |
9246 | (substitute* "test/Tests/Command.hs" | |
9247 | (("= dynlibEnv") | |
9248 | (format #f "= [(\"LD_LIBRARY_PATH\" , \"~a/dist/build\")]" | |
9249 | (getcwd)))) | |
9250 | #t))))) | |
9251 | (outputs '("out" "static" "doc")) | |
dddbc90c RV |
9252 | (inputs |
9253 | `(("ghc-aeson" ,ghc-aeson) | |
9254 | ("ghc-aeson-pretty" ,ghc-aeson-pretty) | |
9255 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
9256 | ("ghc-blaze-html" ,ghc-blaze-html) | |
9257 | ("ghc-blaze-markup" ,ghc-blaze-markup) | |
9258 | ("ghc-cmark-gfm" ,ghc-cmark-gfm) | |
9259 | ("ghc-data-default" ,ghc-data-default) | |
dddbc90c RV |
9260 | ("ghc-diff" ,ghc-diff) |
9261 | ("ghc-doctemplates" ,ghc-doctemplates) | |
9262 | ("ghc-executable-path" ,ghc-executable-path) | |
9263 | ("ghc-glob" ,ghc-glob) | |
9264 | ("ghc-haddock-library" ,ghc-haddock-library) | |
9265 | ("ghc-hslua" ,ghc-hslua) | |
d9b1567a | 9266 | ("ghc-hslua-module-system" ,ghc-hslua-module-system) |
dddbc90c | 9267 | ("ghc-hslua-module-text" ,ghc-hslua-module-text) |
d9b1567a | 9268 | ("ghc-hsyaml" ,ghc-hsyaml) |
dddbc90c RV |
9269 | ("ghc-http" ,ghc-http) |
9270 | ("ghc-http-client" ,ghc-http-client) | |
9271 | ("ghc-http-client-tls" ,ghc-http-client-tls) | |
9272 | ("ghc-http-types" ,ghc-http-types) | |
d9b1567a | 9273 | ("ghc-ipynb" ,ghc-ipynb) |
dddbc90c RV |
9274 | ("ghc-juicypixels" ,ghc-juicypixels) |
9275 | ("ghc-network" ,ghc-network) | |
9276 | ("ghc-network-uri" ,ghc-network-uri) | |
dddbc90c RV |
9277 | ("ghc-pandoc-types" ,ghc-pandoc-types) |
9278 | ("ghc-random" ,ghc-random) | |
9279 | ("ghc-scientific" ,ghc-scientific) | |
9280 | ("ghc-sha" ,ghc-sha) | |
9281 | ("ghc-skylighting" ,ghc-skylighting) | |
9282 | ("ghc-split" ,ghc-split) | |
9283 | ("ghc-syb" ,ghc-syb) | |
9284 | ("ghc-tagsoup" ,ghc-tagsoup) | |
9285 | ("ghc-temporary" ,ghc-temporary) | |
9286 | ("ghc-texmath" ,ghc-texmath) | |
d9b1567a | 9287 | ("ghc-unicode-transforms" ,ghc-unicode-transforms) |
dddbc90c RV |
9288 | ("ghc-unordered-containers" ,ghc-unordered-containers) |
9289 | ("ghc-vector" ,ghc-vector) | |
9290 | ("ghc-xml" ,ghc-xml) | |
dddbc90c RV |
9291 | ("ghc-zip-archive" ,ghc-zip-archive) |
9292 | ("ghc-zlib" ,ghc-zlib))) | |
9293 | (native-inputs | |
9294 | `(("ghc-tasty" ,ghc-tasty) | |
9295 | ("ghc-tasty-golden" ,ghc-tasty-golden) | |
9296 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
d9b1567a | 9297 | ("ghc-tasty-lua" ,ghc-tasty-lua) |
dddbc90c RV |
9298 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) |
9299 | ("ghc-quickcheck" ,ghc-quickcheck) | |
9300 | ("ghc-hunit" ,ghc-hunit))) | |
9301 | (home-page "https://pandoc.org") | |
9302 | (synopsis "Conversion between markup formats") | |
9303 | (description | |
9304 | "Pandoc is a Haskell library for converting from one markup format to | |
9305 | another, and a command-line tool that uses this library. It can read and | |
9306 | write Markdown and (subsets of) other formats, such as HTML, reStructuredText, | |
9307 | LaTeX, DocBook, and many more. | |
9308 | ||
9309 | Pandoc extends standard Markdown syntax with footnotes, embedded LaTeX, | |
9310 | definition lists, tables, and other features. A compatibility mode is | |
9311 | provided for those who need a drop-in replacement for Markdown.pl.") | |
9312 | (license license:gpl2+))) | |
9313 | ||
d4e4a382 RW |
9314 | (define-public pandoc |
9315 | (package | |
9316 | (inherit ghc-pandoc) | |
9317 | (name "pandoc") | |
9318 | (arguments | |
9319 | `(#:configure-flags | |
9320 | (list "-fstatic" | |
9321 | ;; Do not build trypandoc; this is the default but it's better to | |
9322 | ;; be explicit. | |
9323 | "-f-trypandoc" | |
9324 | ;; TODO: Without these we cannot link the Haskell libraries | |
9325 | ;; statically. It would be nice if we could also build the | |
9326 | ;; shared libraries. | |
9327 | "--disable-shared" | |
9328 | "--disable-executable-dynamic" | |
9329 | ;; That's where we place all static libraries | |
9330 | "--extra-lib-dirs=static-libs/" | |
9331 | "--ghc-option=-static") | |
9332 | #:modules ((guix build haskell-build-system) | |
9333 | (guix build utils) | |
9334 | (ice-9 match) | |
9335 | (srfi srfi-1)) | |
9336 | #:phases | |
9337 | (modify-phases %standard-phases | |
9338 | (add-after 'unpack 'create-simple-paths-module | |
9339 | (lambda* (#:key outputs #:allow-other-keys) | |
9340 | (call-with-output-file "Paths_pandoc.hs" | |
9341 | (lambda (port) | |
9342 | (format port "\ | |
9343 | {-# LANGUAGE CPP #-} | |
9344 | {-# LANGUAGE NoRebindableSyntax #-} | |
9345 | {-# OPTIONS_GHC -fno-warn-missing-import-lists #-} | |
9346 | module Paths_pandoc (version,getDataDir,getDataFileName) where | |
9347 | import Prelude | |
9348 | import Data.Version (Version(..)) | |
9349 | import System.Info | |
9350 | version :: Version | |
9351 | version = Version [~a] [] | |
9352 | ||
9353 | datadir :: FilePath | |
9354 | datadir = \"~a/share/\" ++ | |
9355 | arch ++ \"-\" ++ | |
9356 | os ++ \"-\" ++ | |
9357 | compilerName ++ \"-~a/pandoc-~a\" | |
9358 | ||
9359 | getDataDir :: IO FilePath | |
9360 | getDataDir = return datadir | |
9361 | ||
9362 | getDataFileName :: FilePath -> IO FilePath | |
9363 | getDataFileName name = do | |
9364 | dir <- getDataDir | |
9365 | return (dir ++ \"/\" ++ name) | |
9366 | " | |
9367 | (string-map (lambda (chr) (if (eq? chr #\.) #\, chr)) | |
9368 | ,(package-version ghc-pandoc)) | |
9369 | (assoc-ref outputs "out") | |
9370 | ,(package-version ghc) | |
9371 | ,(package-version ghc-pandoc)))) | |
9372 | #t)) | |
9373 | (add-after 'unpack 'prepare-static-libraries | |
9374 | (lambda* (#:key inputs #:allow-other-keys) | |
9375 | (mkdir-p (string-append (getcwd) "/static-libs")) | |
9376 | (for-each | |
9377 | (lambda (input) | |
9378 | (when (or (string-prefix? "static-" (car input)) | |
9379 | (string-prefix? "ghc" (car input))) | |
9380 | (match (find-files (cdr input) "\\.a$") | |
9381 | ((and (first . rest) libs) | |
9382 | (for-each (lambda (lib) | |
9383 | (let ((target (string-append (getcwd) "/static-libs/" | |
9384 | (basename lib)))) | |
9385 | (unless (file-exists? target) | |
9386 | (symlink first target)))) | |
9387 | libs)) | |
9388 | (_ #f)))) | |
9389 | inputs) | |
9390 | #t)) | |
9391 | (delete 'check) | |
9392 | (add-after 'install 'post-install-check | |
9393 | (assoc-ref %standard-phases 'check))))) | |
9394 | (outputs '("out" "lib" "static" "doc")) | |
9395 | (inputs | |
9396 | (let* ((direct-inputs (package-inputs ghc-pandoc)) | |
9397 | (all-static-inputs | |
9398 | (map (lambda (pkg) | |
9399 | (list (string-append "static-" (package-name pkg)) | |
9400 | pkg "static")) | |
9401 | (delete-duplicates | |
9402 | (append (map cadr direct-inputs) | |
9403 | (filter (lambda (pkg) | |
9404 | (string-prefix? "ghc-" (package-name pkg))) | |
9405 | (package-closure | |
9406 | (map cadr direct-inputs)))))))) | |
9407 | `(("zlib:static" ,zlib "static") | |
9408 | ,@all-static-inputs | |
9409 | ,@direct-inputs))) | |
9410 | (native-inputs | |
9411 | (let* ((direct-inputs (package-native-inputs ghc-pandoc)) | |
9412 | (all-static-inputs | |
9413 | (map (lambda (pkg) | |
9414 | (list (string-append "static-" (package-name pkg)) | |
9415 | pkg "static")) | |
9416 | (delete-duplicates | |
9417 | (append (map cadr direct-inputs) | |
9418 | (filter (lambda (pkg) | |
9419 | (string-prefix? "ghc-" (package-name pkg))) | |
9420 | (package-closure | |
9421 | (map cadr direct-inputs)))))))) | |
9422 | `(,@all-static-inputs | |
9423 | ,@direct-inputs))))) | |
9424 | ||
dddbc90c RV |
9425 | (define-public ghc-pandoc-citeproc |
9426 | (package | |
9427 | (name "ghc-pandoc-citeproc") | |
2da02d09 | 9428 | (version "0.16.2") |
dddbc90c RV |
9429 | (source |
9430 | (origin | |
9431 | (method url-fetch) | |
9432 | (uri (string-append "https://hackage.haskell.org/package/" | |
9433 | "pandoc-citeproc/pandoc-citeproc-" | |
9434 | version ".tar.gz")) | |
9435 | (sha256 | |
9436 | (base32 | |
2da02d09 | 9437 | "15mm17awgi1b5yazwhr5nh8b59qml1qk6pz6gpyijks70fq2arsv")))) |
dddbc90c RV |
9438 | (build-system haskell-build-system) |
9439 | (arguments | |
9440 | `(#:phases | |
9441 | (modify-phases %standard-phases | |
9442 | ;; Many YAML tests (44) are failing do to changes in ghc-yaml: | |
9443 | ;; <https://github.com/jgm/pandoc-citeproc/issues/342>. | |
9444 | (add-before 'configure 'patch-tests | |
9445 | (lambda _ | |
9446 | (substitute* "tests/test-pandoc-citeproc.hs" | |
9447 | (("let allTests = citeprocTests \\+\\+ biblio2yamlTests") | |
9448 | "let allTests = citeprocTests")))) | |
9449 | ;; Tests need to be run after installation. | |
9450 | (delete 'check) | |
9451 | (add-after 'install 'post-install-check | |
9452 | (assoc-ref %standard-phases 'check))))) | |
9453 | (inputs | |
9454 | `(("ghc-pandoc-types" ,ghc-pandoc-types) | |
9455 | ("ghc-pandoc" ,ghc-pandoc) | |
9456 | ("ghc-tagsoup" ,ghc-tagsoup) | |
9457 | ("ghc-aeson" ,ghc-aeson) | |
9458 | ("ghc-vector" ,ghc-vector) | |
9459 | ("ghc-xml-conduit" ,ghc-xml-conduit) | |
9460 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
9461 | ("ghc-data-default" ,ghc-data-default) | |
9462 | ("ghc-setenv" ,ghc-setenv) | |
9463 | ("ghc-split" ,ghc-split) | |
9464 | ("ghc-yaml" ,ghc-yaml) | |
9465 | ("ghc-hs-bibutils" ,ghc-hs-bibutils) | |
9466 | ("ghc-rfc5051" ,ghc-rfc5051) | |
9467 | ("ghc-syb" ,ghc-syb) | |
9468 | ("ghc-old-locale" ,ghc-old-locale) | |
9469 | ("ghc-aeson-pretty" ,ghc-aeson-pretty) | |
9470 | ("ghc-attoparsec" ,ghc-attoparsec) | |
9471 | ("ghc-temporary" ,ghc-temporary))) | |
9472 | (home-page "https://github.com/jgm/pandoc-citeproc") | |
9473 | (synopsis "Library for using pandoc with citeproc") | |
9474 | (description | |
9475 | "The @code{pandoc-citeproc} library exports functions for using the | |
9476 | citeproc system with pandoc. It relies on @code{citeproc-hs}, a library for | |
9477 | rendering bibliographic reference citations into a variety of styles using a | |
9478 | macro language called @dfn{Citation Style Language} (CSL). This package also | |
9479 | contains an executable @code{pandoc-citeproc}, which works as a pandoc filter, | |
9480 | and also has a mode for converting bibliographic databases a YAML format | |
9481 | suitable for inclusion in pandoc YAML metadata.") | |
9482 | (license license:bsd-3))) | |
9483 | ||
e380ef14 RW |
9484 | (define-public pandoc-citeproc |
9485 | (package (inherit ghc-pandoc-citeproc) | |
9486 | (name "pandoc-citeproc") | |
9487 | (arguments | |
9488 | `(#:configure-flags | |
9489 | (list "-fstatic" | |
9490 | "--disable-shared" | |
9491 | "--disable-executable-dynamic" | |
9492 | ;; That's where we place all static libraries | |
9493 | "--extra-lib-dirs=static-libs/" | |
9494 | "--ghc-option=-static") | |
9495 | #:modules ((guix build haskell-build-system) | |
9496 | (guix build utils) | |
9497 | (ice-9 match) | |
9498 | (srfi srfi-1)) | |
9499 | #:phases | |
9500 | (modify-phases %standard-phases | |
9501 | ;; Many YAML tests (44) are failing do to changes in ghc-yaml: | |
9502 | ;; <https://github.com/jgm/pandoc-citeproc/issues/342>. | |
9503 | (add-before 'configure 'patch-tests | |
9504 | (lambda _ | |
9505 | (substitute* "tests/test-pandoc-citeproc.hs" | |
9506 | (("let allTests = citeprocTests \\+\\+ biblio2yamlTests") | |
9507 | "let allTests = citeprocTests")))) | |
9508 | ;; Tests need to be run after installation. | |
9509 | (delete 'check) | |
9510 | (add-after 'install 'post-install-check | |
9511 | (assoc-ref %standard-phases 'check)) | |
9512 | (add-after 'unpack 'create-simple-paths-module | |
9513 | (lambda* (#:key outputs #:allow-other-keys) | |
9514 | (call-with-output-file "Paths_pandoc_citeproc.hs" | |
9515 | (lambda (port) | |
9516 | (format port "\ | |
9517 | {-# LANGUAGE CPP #-} | |
9518 | {-# LANGUAGE NoRebindableSyntax #-} | |
9519 | {-# OPTIONS_GHC -fno-warn-missing-import-lists #-} | |
9520 | module Paths_pandoc_citeproc (version,getDataFileName) where | |
9521 | import Prelude | |
9522 | import Data.Version (Version(..)) | |
9523 | import System.Info | |
9524 | version :: Version | |
9525 | version = Version [~a] [] | |
9526 | ||
9527 | datadir :: FilePath | |
9528 | datadir = \"~a/share/\" ++ | |
9529 | arch ++ \"-\" ++ | |
9530 | os ++ \"-\" ++ | |
9531 | compilerName ++ \"-~a/pandoc-citeproc-~a\" | |
9532 | ||
9533 | getDataDir :: IO FilePath | |
9534 | getDataDir = return datadir | |
9535 | ||
9536 | getDataFileName :: FilePath -> IO FilePath | |
9537 | getDataFileName name = do | |
9538 | dir <- getDataDir | |
9539 | return (dir ++ \"/\" ++ name) | |
9540 | " | |
9541 | (string-map (lambda (chr) (if (eq? chr #\.) #\, chr)) | |
9542 | ,(package-version ghc-pandoc-citeproc)) | |
9543 | (assoc-ref outputs "out") | |
9544 | ,(package-version ghc) | |
9545 | ,(package-version ghc-pandoc-citeproc)))) | |
9546 | #t)) | |
9547 | (add-after 'unpack 'prepare-static-libraries | |
9548 | (lambda* (#:key inputs #:allow-other-keys) | |
9549 | (mkdir-p (string-append (getcwd) "/static-libs")) | |
9550 | (for-each | |
9551 | (lambda (input) | |
9552 | (when (or (string-prefix? "static-" (car input)) | |
9553 | (string-prefix? "ghc" (car input))) | |
9554 | (match (find-files (cdr input) "\\.a$") | |
9555 | ((and (first . rest) libs) | |
9556 | (for-each (lambda (lib) | |
9557 | (let ((target (string-append (getcwd) "/static-libs/" | |
9558 | (basename lib)))) | |
9559 | (unless (file-exists? target) | |
9560 | (symlink first target)))) | |
9561 | libs)) | |
9562 | (_ #f)))) | |
9563 | inputs) | |
9564 | #t))))) | |
9565 | (inputs | |
9566 | (let* ((direct-inputs | |
9567 | (cons `("ghc-pandoc" ,pandoc) | |
9568 | (alist-delete "ghc-pandoc" | |
9569 | (package-inputs ghc-pandoc-citeproc)))) | |
9570 | (all-static-inputs | |
9571 | (map (lambda (pkg) | |
9572 | (list (string-append "static-" (package-name pkg)) | |
9573 | pkg "static")) | |
9574 | (delete-duplicates | |
9575 | (append (map cadr direct-inputs) | |
9576 | (filter (lambda (pkg) | |
9577 | (string-prefix? "ghc-" (package-name pkg))) | |
9578 | (package-closure | |
9579 | (map cadr direct-inputs)))))))) | |
9580 | `(("zlib:static" ,zlib "static") | |
9581 | ("pandoc" ,pandoc "lib") | |
9582 | ,@all-static-inputs | |
9583 | ,@direct-inputs))) | |
ace3af2b | 9584 | (outputs '("out" "lib" "static" "doc")) |
e380ef14 RW |
9585 | (synopsis "Pandoc filter for bibliographic references"))) |
9586 | ||
dddbc90c RV |
9587 | (define-public ghc-pandoc-types |
9588 | (package | |
9589 | (name "ghc-pandoc-types") | |
0eaa88c8 | 9590 | (version "1.17.6.1") |
dddbc90c RV |
9591 | (source (origin |
9592 | (method url-fetch) | |
9593 | (uri (string-append "https://hackage.haskell.org/package/" | |
9594 | "pandoc-types/pandoc-types-" | |
9595 | version ".tar.gz")) | |
9596 | (sha256 | |
9597 | (base32 | |
0eaa88c8 | 9598 | "1d6ygq991ddria71l7hg9yd7lq94sjy4m71rdws1v8hq943c4d0q")))) |
dddbc90c | 9599 | (build-system haskell-build-system) |
c7891956 RW |
9600 | (arguments |
9601 | `(#:phases | |
9602 | (modify-phases %standard-phases | |
9603 | ;; None of the directory names are actually used. By generating a | |
9604 | ;; simpler module without references to store names we avoid | |
9605 | ;; introducing references in the pandoc executable. | |
9606 | (add-after 'unpack 'create-simple-paths-module | |
9607 | (lambda _ | |
9608 | (call-with-output-file "Paths_pandoc_types.hs" | |
9609 | (lambda (port) | |
9610 | (format port "\ | |
9611 | {-# LANGUAGE CPP #-} | |
9612 | {-# LANGUAGE NoRebindableSyntax #-} | |
9613 | {-# OPTIONS_GHC -fno-warn-missing-import-lists #-} | |
9614 | module Paths_pandoc_types (version) where | |
9615 | import Data.Version (Version(..)) | |
9616 | version :: Version | |
9617 | version = Version [~a] [] | |
9618 | " (string-map (lambda (chr) (if (eq? chr #\.) #\, chr)) ,version)))) | |
9619 | #t))))) | |
dddbc90c RV |
9620 | (inputs |
9621 | `(("ghc-syb" ,ghc-syb) | |
9622 | ("ghc-aeson" ,ghc-aeson) | |
9623 | ("ghc-string-qq" ,ghc-string-qq))) | |
9624 | (native-inputs | |
9625 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
9626 | ("ghc-test-framework" ,ghc-test-framework) | |
9627 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
9628 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
9629 | ("ghc-hunit" ,ghc-hunit))) | |
d48b5c8a | 9630 | (home-page "https://johnmacfarlane.net/pandoc") |
dddbc90c RV |
9631 | (synopsis "Types for representing a structured document") |
9632 | (description | |
9633 | "This module defines the @code{Pandoc} data structure, which is used by | |
9634 | pandoc to represent structured documents. It also provides functions for | |
9635 | building up, manipulating and serialising @code{Pandoc} structures.") | |
9636 | (license license:bsd-3))) | |
9637 | ||
9638 | (define-public ghc-parallel | |
9639 | (package | |
9640 | (name "ghc-parallel") | |
9641 | (version "3.2.2.0") | |
534d6caa | 9642 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
9643 | (source |
9644 | (origin | |
9645 | (method url-fetch) | |
9646 | (uri (string-append | |
9647 | "https://hackage.haskell.org/package/parallel/parallel-" | |
9648 | version | |
9649 | ".tar.gz")) | |
9650 | (sha256 | |
9651 | (base32 | |
9652 | "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p")))) | |
9653 | (build-system haskell-build-system) | |
9654 | (home-page "https://hackage.haskell.org/package/parallel") | |
9655 | (synopsis "Parallel programming library") | |
9656 | (description | |
9657 | "This package provides a library for parallel programming.") | |
9658 | (license license:bsd-3))) | |
9659 | ||
9660 | (define-public ghc-parsec-numbers | |
9661 | (package | |
9662 | (name "ghc-parsec-numbers") | |
9663 | (version "0.1.0") | |
9664 | (source | |
9665 | (origin | |
9666 | (method url-fetch) | |
9667 | (uri (string-append "https://hackage.haskell.org/package/" | |
9668 | "parsec-numbers/parsec-numbers-" version ".tar.gz")) | |
9669 | (sha256 | |
9670 | (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp")))) | |
9671 | (build-system haskell-build-system) | |
9672 | (home-page "https://hackage.haskell.org/package/parsec-numbers") | |
9673 | (synopsis "Utilities for parsing numbers from strings") | |
9674 | (description | |
9675 | "This package provides the number parsers without the need to use a large | |
9676 | (and unportable) token parser.") | |
9677 | (license license:bsd-3))) | |
9678 | ||
9679 | (define-public ghc-parser-combinators | |
9680 | (package | |
9681 | (name "ghc-parser-combinators") | |
2f173160 | 9682 | (version "1.1.0") |
dddbc90c RV |
9683 | (source |
9684 | (origin | |
9685 | (method url-fetch) | |
9686 | (uri (string-append "https://hackage.haskell.org/package/" | |
9687 | "parser-combinators/parser-combinators-" | |
9688 | version ".tar.gz")) | |
9689 | (sha256 | |
9690 | (base32 | |
2f173160 | 9691 | "149yhbnrrl108h1jinrsxni3rwrldhphpk9bbmbpr90q5fbl4xmc")))) |
dddbc90c RV |
9692 | (build-system haskell-build-system) |
9693 | (home-page "https://github.com/mrkkrp/parser-combinators") | |
9694 | (synopsis "Commonly useful parser combinators") | |
9695 | (description | |
9696 | "This is a lightweight package providing commonly useful parser | |
9697 | combinators.") | |
9698 | (license license:bsd-3))) | |
9699 | ||
9700 | (define-public ghc-parsers | |
9701 | (package | |
9702 | (name "ghc-parsers") | |
6818f970 | 9703 | (version "0.12.10") |
dddbc90c RV |
9704 | (source |
9705 | (origin | |
9706 | (method url-fetch) | |
9707 | (uri (string-append | |
9708 | "https://hackage.haskell.org/package/parsers/parsers-" | |
9709 | version | |
9710 | ".tar.gz")) | |
9711 | (sha256 | |
9712 | (base32 | |
6818f970 | 9713 | "0v0smxbzk1qpdfkfqqmrzd2dngv3vxba10mkjn9nfm6a309izf8p")))) |
dddbc90c RV |
9714 | (build-system haskell-build-system) |
9715 | (arguments `(#:tests? #f)) ; FIXME: Test fails with "cannot satisfy | |
9716 | ; -package attoparsec-0.13.0.1" | |
9717 | (inputs | |
9718 | `(("ghc-base-orphans" ,ghc-base-orphans) | |
9719 | ("ghc-attoparsec" ,ghc-attoparsec) | |
9720 | ("ghc-scientific" ,ghc-scientific) | |
9721 | ("ghc-charset" ,ghc-charset) | |
9722 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
9723 | (home-page "https://github.com/ekmett/parsers/") | |
9724 | (synopsis "Parsing combinators") | |
9725 | (description "This library provides convenient combinators for working | |
9726 | with and building parsing combinator libraries. Given a few simple instances, | |
9727 | you get access to a large number of canned definitions. Instances exist for | |
9728 | the parsers provided by @code{parsec}, @code{attoparsec} and @code{base}'s | |
9729 | @code{Text.Read}.") | |
9730 | (license license:bsd-3))) | |
9731 | ||
9732 | (define-public ghc-path | |
9733 | (package | |
9734 | (name "ghc-path") | |
9735 | (version "0.6.1") | |
9736 | (source | |
9737 | (origin | |
9738 | (method url-fetch) | |
9739 | (uri (string-append | |
9740 | "https://hackage.haskell.org/package/path/path-" | |
9741 | version | |
9742 | ".tar.gz")) | |
9743 | (sha256 | |
9744 | (base32 | |
9745 | "0nayla4k1gb821k8y5b9miflv1bi8f0czf9rqr044nrr2dddi2sb")))) | |
9746 | (build-system haskell-build-system) | |
9747 | (arguments | |
9748 | ;; TODO: There are some Windows-related tests and modules that need to be | |
9749 | ;; danced around. | |
9750 | `(#:tests? #f | |
9751 | #:cabal-revision | |
9752 | ("1" "05b1zwx2a893h4h5wvgpc5g5pyx71hfmx409rqisd8s1bq1hn463"))) | |
9753 | (inputs | |
9754 | `(("ghc-aeson" ,ghc-aeson) | |
9755 | ("ghc-exceptions" ,ghc-exceptions) | |
9756 | ("ghc-hashable" ,ghc-hashable))) | |
9757 | (native-inputs | |
9758 | `(("ghc-hspec" ,ghc-hspec) | |
9759 | ("ghc-quickcheck" ,ghc-quickcheck) | |
9760 | ("ghc-genvalidity" ,ghc-genvalidity) | |
9761 | ("ghc-genvalidity-property" ,ghc-genvalidity-property) | |
9762 | ("ghc-hspec" ,ghc-hspec) | |
9763 | ("ghc-validity" ,ghc-validity))) | |
9764 | (home-page | |
3ef91e15 | 9765 | "https://hackage.haskell.org/package/path") |
dddbc90c RV |
9766 | (synopsis "Support for well-typed paths") |
9767 | (description "This package introduces a type for paths upholding useful | |
9768 | invariants.") | |
9769 | (license license:bsd-3))) | |
9770 | ||
9771 | (define-public ghc-path-io | |
9772 | (package | |
9773 | (name "ghc-path-io") | |
a06613ea | 9774 | (version "1.4.2") |
dddbc90c RV |
9775 | (source |
9776 | (origin | |
9777 | (method url-fetch) | |
9778 | (uri (string-append | |
9779 | "https://hackage.haskell.org/package/path-io/path-io-" | |
9780 | version | |
9781 | ".tar.gz")) | |
9782 | (sha256 | |
9783 | (base32 | |
a06613ea | 9784 | "0jqx3mi4an4kb3kg78n1p3xrz832yrfrnvj795b0xhkv6h1z5ir3")))) |
dddbc90c RV |
9785 | (build-system haskell-build-system) |
9786 | (inputs | |
9787 | `(("ghc-dlist" ,ghc-dlist) | |
9788 | ("ghc-exceptions" ,ghc-exceptions) | |
9789 | ("ghc-path" ,ghc-path) | |
9790 | ("ghc-transformers-base" ,ghc-transformers-base) | |
9791 | ("ghc-unix-compat" ,ghc-unix-compat) | |
9792 | ("ghc-temporary" ,ghc-temporary))) | |
9793 | (native-inputs | |
9794 | `(("ghc-hspec" ,ghc-hspec))) | |
dddbc90c RV |
9795 | (home-page |
9796 | "https://github.com/mrkkrp/path-io") | |
9797 | (synopsis "Functions for manipulating well-typed paths") | |
9798 | (description "This package provides an interface to the @code{directory} | |
9799 | package for users of @code{path}. It also implements some missing stuff like | |
9800 | recursive scanning and copying of directories, working with temporary | |
9801 | files/directories, and more.") | |
9802 | (license license:bsd-3))) | |
9803 | ||
9804 | (define-public ghc-paths | |
9805 | (package | |
9806 | (name "ghc-paths") | |
9a8adeb1 | 9807 | (version "0.1.0.12") |
534d6caa | 9808 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
9809 | (source |
9810 | (origin | |
9811 | (method url-fetch) | |
9812 | (uri (string-append | |
9813 | "https://hackage.haskell.org/package/ghc-paths/ghc-paths-" | |
9814 | version | |
9815 | ".tar.gz")) | |
9816 | (sha256 | |
9817 | (base32 | |
9a8adeb1 | 9818 | "1164w9pqnf7rjm05mmfjznz7rrn415blrkk1kjc0gjvks1vfdjvf")))) |
dddbc90c RV |
9819 | (build-system haskell-build-system) |
9820 | (home-page "https://github.com/simonmar/ghc-paths") | |
9821 | (synopsis | |
9822 | "Knowledge of GHC's installation directories") | |
9823 | (description | |
9824 | "Knowledge of GHC's installation directories.") | |
9825 | (license license:bsd-3))) | |
9826 | ||
9827 | (define-public ghc-patience | |
9828 | (package | |
9829 | (name "ghc-patience") | |
484476f3 | 9830 | (version "0.3") |
dddbc90c RV |
9831 | (source |
9832 | (origin | |
9833 | (method url-fetch) | |
9834 | (uri (string-append | |
9835 | "https://hackage.haskell.org/package/patience/patience-" | |
9836 | version ".tar.gz")) | |
9837 | (sha256 | |
9838 | (base32 | |
484476f3 | 9839 | "1i1b37lgi31c17yrjyf8pdm4nf5lq8vw90z3rri78hf0k66d0p3i")))) |
dddbc90c RV |
9840 | (build-system haskell-build-system) |
9841 | (home-page "https://hackage.haskell.org/package/patience") | |
9842 | (synopsis "Patience diff and longest increasing subsequence") | |
9843 | (description | |
9844 | "This library implements the 'patience diff' algorithm, as well as the | |
9845 | patience algorithm for the longest increasing subsequence problem. | |
9846 | Patience diff computes the difference between two lists, for example the lines | |
9847 | of two versions of a source file. It provides a good balance between | |
9848 | performance, nice output for humans, and simplicity of implementation.") | |
9849 | (license license:bsd-3))) | |
9850 | ||
25a221a8 JS |
9851 | (define-public ghc-pattern-arrows |
9852 | (package | |
9853 | (name "ghc-pattern-arrows") | |
9854 | (version "0.0.2") | |
9855 | (source | |
9856 | (origin | |
9857 | (method url-fetch) | |
9858 | (uri (string-append | |
9859 | "mirror://hackage/package/pattern-arrows/pattern-arrows-" | |
9860 | version | |
9861 | ".tar.gz")) | |
9862 | (sha256 | |
9863 | (base32 | |
9864 | "13q7bj19hd60rnjfc05wxlyck8llxy11z3mns8kxg197wxrdkhkg")))) | |
9865 | (build-system haskell-build-system) | |
9866 | (home-page | |
9867 | "https://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html") | |
9868 | (synopsis "Arrows for Pretty Printing") | |
9869 | (description | |
9870 | "A library for generating concise pretty printers based on precedence | |
9871 | rules.") | |
9872 | (license license:expat))) | |
9873 | ||
dddbc90c RV |
9874 | (define-public ghc-pcre-light |
9875 | (package | |
9876 | (name "ghc-pcre-light") | |
9877 | (version "0.4.0.4") | |
9878 | (source | |
9879 | (origin | |
9880 | (method url-fetch) | |
9881 | (uri (string-append | |
9882 | "https://hackage.haskell.org/package/pcre-light/pcre-light-" | |
9883 | version | |
9884 | ".tar.gz")) | |
9885 | (sha256 | |
9886 | (base32 | |
9887 | "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82")))) | |
9888 | (build-system haskell-build-system) | |
a928f35b TS |
9889 | (arguments |
9890 | `(#:extra-directories ("pcre"))) | |
dddbc90c RV |
9891 | (inputs |
9892 | `(("pcre" ,pcre))) | |
9893 | (native-inputs | |
9894 | `(("pkg-config" ,pkg-config))) | |
9895 | (home-page "https://github.com/Daniel-Diaz/pcre-light") | |
9896 | (synopsis "Haskell library for Perl 5 compatible regular expressions") | |
9897 | (description "This package provides a small, efficient, and portable regex | |
9898 | library for Perl 5 compatible regular expressions. The PCRE library is a set | |
9899 | of functions that implement regular expression pattern matching using the same | |
9900 | syntax and semantics as Perl 5.") | |
9901 | (license license:bsd-3))) | |
9902 | ||
9903 | (define-public ghc-persistent | |
9904 | (package | |
9905 | (name "ghc-persistent") | |
8c9697a9 | 9906 | (version "2.10.4") |
dddbc90c RV |
9907 | (source |
9908 | (origin | |
9909 | (method url-fetch) | |
8c9697a9 ASM |
9910 | (uri (string-append |
9911 | "https://hackage.haskell.org/package/persistent/" | |
9912 | "persistent-" version ".tar.gz")) | |
dddbc90c RV |
9913 | (sha256 |
9914 | (base32 | |
8c9697a9 | 9915 | "1cxswz72sqdg2z1nbpgp1k5qr41djgk8qbf8nz7wfppsrhacyffi")))) |
dddbc90c | 9916 | (build-system haskell-build-system) |
8c9697a9 ASM |
9917 | (inputs |
9918 | `(("ghc-aeson" ,ghc-aeson) | |
9919 | ("ghc-attoparsec" ,ghc-attoparsec) | |
9920 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
9921 | ("ghc-blaze-html" ,ghc-blaze-html) | |
9922 | ("ghc-conduit" ,ghc-conduit) | |
9923 | ("ghc-fast-logger" ,ghc-fast-logger) | |
9924 | ("ghc-http-api-data" ,ghc-http-api-data) | |
9925 | ("ghc-monad-logger" ,ghc-monad-logger) | |
9926 | ("ghc-path-pieces" ,ghc-path-pieces) | |
9927 | ("ghc-resource-pool" ,ghc-resource-pool) | |
9928 | ("ghc-resourcet" ,ghc-resourcet) | |
9929 | ("ghc-scientific" ,ghc-scientific) | |
9930 | ("ghc-silently" ,ghc-silently) | |
9931 | ("ghc-unliftio-core" ,ghc-unliftio-core) | |
9932 | ("ghc-unliftio" ,ghc-unliftio) | |
9933 | ("ghc-unordered-containers" | |
9934 | ,ghc-unordered-containers) | |
9935 | ("ghc-vector" ,ghc-vector))) | |
dddbc90c RV |
9936 | (native-inputs `(("ghc-hspec" ,ghc-hspec))) |
9937 | (home-page "https://www.yesodweb.com/book/persistent") | |
9938 | (synopsis "Type-safe, multi-backend data serialization for Haskell") | |
9939 | (description "This Haskell package allows Haskell programs to access data | |
9940 | storage systems like PostgreSQL, SQLite, MySQL and MongoDB in a type-safe | |
9941 | way.") | |
9942 | (license license:expat))) | |
9943 | ||
9944 | (define-public ghc-persistent-sqlite | |
9945 | (package | |
9946 | (name "ghc-persistent-sqlite") | |
78858787 | 9947 | (version "2.10.5.2") |
dddbc90c RV |
9948 | (source |
9949 | (origin | |
9950 | (method url-fetch) | |
78858787 ASM |
9951 | (uri (string-append |
9952 | "https://hackage.haskell.org/package/persistent-sqlite/" | |
9953 | "persistent-sqlite-" version ".tar.gz")) | |
dddbc90c RV |
9954 | (sha256 |
9955 | (base32 | |
78858787 | 9956 | "0agag3cgivl6mk38pqzr0qw5lxps9p2bgdwvi5658l46hs7bixxn")))) |
dddbc90c | 9957 | (build-system haskell-build-system) |
78858787 ASM |
9958 | (inputs |
9959 | `(("ghc-persistent" ,ghc-persistent) | |
9960 | ("ghc-aeson" ,ghc-aeson) | |
9961 | ("ghc-conduit" ,ghc-conduit) | |
9962 | ("ghc-microlens-th" ,ghc-microlens-th) | |
9963 | ("ghc-monad-logger" ,ghc-monad-logger) | |
9964 | ("ghc-resource-pool" ,ghc-resource-pool) | |
9965 | ("ghc-resourcet" ,ghc-resourcet) | |
9966 | ("ghc-unliftio-core" ,ghc-unliftio-core) | |
9967 | ("ghc-unordered-containers" | |
9968 | ,ghc-unordered-containers))) | |
9969 | (native-inputs | |
9970 | `(("ghc-persistent-template" | |
9971 | ,ghc-persistent-template) | |
9972 | ("ghc-persistent-test" ,ghc-persistent-test) | |
9973 | ("ghc-exceptions" ,ghc-exceptions) | |
9974 | ("ghc-fast-logger" ,ghc-fast-logger) | |
9975 | ("ghc-hspec" ,ghc-hspec) | |
9976 | ("ghc-hunit" ,ghc-hunit) | |
9977 | ("ghc-quickcheck" ,ghc-quickcheck) | |
9978 | ("ghc-system-fileio" ,ghc-system-fileio) | |
9979 | ("ghc-system-filepath" ,ghc-system-filepath) | |
9980 | ("ghc-temporary" ,ghc-temporary))) | |
dddbc90c RV |
9981 | (home-page |
9982 | "https://www.yesodweb.com/book/persistent") | |
9983 | (synopsis "Backend for the persistent library using sqlite3") | |
9984 | (description "This Haskell package includes a thin sqlite3 wrapper based | |
9985 | on the direct-sqlite package, as well as the entire C library, so there are no | |
9986 | system dependencies.") | |
9987 | (license license:expat))) | |
9988 | ||
9989 | (define-public ghc-persistent-template | |
9990 | (package | |
9991 | (name "ghc-persistent-template") | |
d5378e98 | 9992 | (version "2.8.0") |
dddbc90c RV |
9993 | (source |
9994 | (origin | |
9995 | (method url-fetch) | |
d5378e98 ASM |
9996 | (uri (string-append |
9997 | "https://hackage.haskell.org/package/persistent-template/" | |
9998 | "persistent-template-" version ".tar.gz")) | |
dddbc90c RV |
9999 | (sha256 |
10000 | (base32 | |
d5378e98 | 10001 | "16yjrl0gh4jbs4skr7iv6a55lny59bqhd6hjmvch1cl9j5d0c0g3")))) |
dddbc90c | 10002 | (build-system haskell-build-system) |
d5378e98 ASM |
10003 | (inputs |
10004 | `(("ghc-persistent" ,ghc-persistent) | |
10005 | ("ghc-aeson" ,ghc-aeson) | |
10006 | ("ghc-http-api-data" ,ghc-http-api-data) | |
10007 | ("ghc-monad-control" ,ghc-monad-control) | |
10008 | ("ghc-monad-logger" ,ghc-monad-logger) | |
10009 | ("ghc-path-pieces" ,ghc-path-pieces) | |
10010 | ("ghc-th-lift-instances" ,ghc-th-lift-instances) | |
10011 | ("ghc-unordered-containers" | |
10012 | ,ghc-unordered-containers))) | |
10013 | (native-inputs | |
10014 | `(("ghc-hspec" ,ghc-hspec) | |
10015 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
dddbc90c RV |
10016 | (home-page "https://www.yesodweb.com/book/persistent") |
10017 | (synopsis "Type-safe, non-relational, multi-backend persistence") | |
10018 | (description "This Haskell package provides interfaces and helper | |
10019 | functions for the ghc-persistent package.") | |
10020 | (license license:expat))) | |
10021 | ||
ce32f7c7 ASM |
10022 | (define-public ghc-persistent-test |
10023 | (package | |
10024 | (name "ghc-persistent-test") | |
10025 | (version "2.0.3.1") | |
10026 | (source | |
10027 | (origin | |
10028 | (method url-fetch) | |
10029 | (uri (string-append | |
10030 | "https://hackage.haskell.org/package/persistent-test/" | |
10031 | "persistent-test-" version ".tar.gz")) | |
10032 | (sha256 | |
10033 | (base32 | |
10034 | "11aq5cy0n43jamf6mg4sr4300bc2zdbjxsczzxwjkb4hzs0ijsdv")))) | |
10035 | (build-system haskell-build-system) | |
10036 | (inputs | |
10037 | `(("ghc-aeson" ,ghc-aeson) | |
10038 | ("ghc-blaze-html" ,ghc-blaze-html) | |
10039 | ("ghc-conduit" ,ghc-conduit) | |
10040 | ("ghc-monad-control" ,ghc-monad-control) | |
10041 | ("ghc-monad-logger" ,ghc-monad-logger) | |
10042 | ("ghc-path-pieces" ,ghc-path-pieces) | |
10043 | ("ghc-persistent" ,ghc-persistent) | |
10044 | ("ghc-persistent-template" ,ghc-persistent-template) | |
10045 | ("ghc-random" ,ghc-random) | |
10046 | ("ghc-resourcet" ,ghc-resourcet) | |
10047 | ("ghc-transformers-base" ,ghc-transformers-base) | |
10048 | ("ghc-unliftio" ,ghc-unliftio) | |
10049 | ("ghc-unliftio-core" ,ghc-unliftio-core) | |
10050 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
10051 | (native-inputs | |
10052 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
10053 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
10054 | ("ghc-hspec" ,ghc-hspec) | |
10055 | ("ghc-hspec-expectations" ,ghc-hspec-expectations) | |
10056 | ("ghc-hunit" ,ghc-hunit))) | |
10057 | (home-page "https://www.yesodweb.com/book/persistent") | |
10058 | (synopsis "Tests for the Persistent database library") | |
10059 | (description | |
10060 | "This is only for use in developing libraries that should conform to | |
10061 | the persistent interface, not for users of the persistent suite of database | |
10062 | libraries.") | |
10063 | (license license:expat))) | |
10064 | ||
0fb34235 JS |
10065 | (define-public ghc-pgp-wordlist |
10066 | (package | |
10067 | (name "ghc-pgp-wordlist") | |
10068 | (version "0.1.0.3") | |
10069 | (source | |
10070 | (origin | |
10071 | (method url-fetch) | |
10072 | (uri (string-append | |
10073 | "mirror://hackage/package/pgp-wordlist/pgp-wordlist-" | |
10074 | version | |
10075 | ".tar.gz")) | |
10076 | (sha256 | |
10077 | (base32 | |
10078 | "15g6qh0fb7kjj3l0w8cama7cxgnhnhybw760md9yy7cqfq15cfzg")))) | |
10079 | (build-system haskell-build-system) | |
10080 | (inputs | |
10081 | `(("ghc-vector" ,ghc-vector))) | |
10082 | (native-inputs | |
10083 | `(("ghc-hunit" ,ghc-hunit) | |
10084 | ("ghc-tasty" ,ghc-tasty) | |
10085 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
10086 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
10087 | ("ghc-doctest" ,ghc-doctest))) | |
10088 | (home-page | |
10089 | "https://github.com/quchen/pgp-wordlist") | |
10090 | (synopsis | |
10091 | "Translate between binary data and a human-readable collection of words") | |
10092 | (description | |
10093 | "The PGP Word List consists of two phonetic alphabets, each with one word | |
10094 | per possible byte value. A string of bytes is translated with these | |
10095 | alphabets, alternating between them at each byte. | |
10096 | ||
10097 | The PGP words corresponding to the bytes 5B 1D CA 6E are \"erase breakaway | |
10098 | spellbind headwaters\", for example. | |
10099 | ||
10100 | For further information, see | |
10101 | @url{http://en.wikipedia.org/wiki/PGP_word_list}.") | |
10102 | (license license:bsd-3))) | |
10103 | ||
4639fa32 ASM |
10104 | (define-public ghc-pipes |
10105 | (package | |
10106 | (name "ghc-pipes") | |
10107 | (version "4.3.13") | |
10108 | (source | |
10109 | (origin | |
10110 | (method url-fetch) | |
10111 | (uri (string-append | |
10112 | "https://hackage.haskell.org/package/pipes/" | |
10113 | "pipes-" version ".tar.gz")) | |
10114 | (sha256 | |
10115 | (base32 | |
10116 | "1ch3xr5f5if0psd3lsyrpkwrgh36synnzqcpimghprys68l4zfkn")))) | |
10117 | (build-system haskell-build-system) | |
10118 | (inputs | |
10119 | `(("ghc-exceptions" ,ghc-exceptions) | |
10120 | ("ghc-mmorph" ,ghc-mmorph) | |
10121 | ("ghc-void" ,ghc-void) | |
10122 | ("ghc-semigroups" ,ghc-semigroups))) | |
10123 | (native-inputs | |
10124 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
10125 | ("ghc-test-framework" ,ghc-test-framework) | |
10126 | ("ghc-test-framework-quickcheck2" | |
10127 | ,ghc-test-framework-quickcheck2))) | |
10128 | (home-page | |
10129 | "https://hackage.haskell.org/package/pipes") | |
10130 | (synopsis "Compositional pipelines") | |
10131 | (description | |
10132 | "A clean and powerful stream processing library that lets you build | |
10133 | and connect reusable streaming components. Advantages over traditional streaming | |
10134 | libraries: | |
10135 | @itemize | |
10136 | @item Concise API: Use simple commands like @code{for}, (@code{>->}), @code{await}, | |
10137 | and @code{yield} | |
10138 | @item Blazing fast: Implementation tuned for speed, including shortcut fusion | |
10139 | @item Lightweight Dependency: pipes is small and compiles very rapidly, including | |
10140 | dependencies | |
10141 | @item Elegant semantics: Use practical category theory | |
10142 | @item ListT: Correct implementation of @code{ListT} that interconverts with pipes | |
10143 | @item Bidirectionality: Implement duplex channels | |
10144 | @end itemize") | |
10145 | (license license:bsd-3))) | |
10146 | ||
451775a5 ASM |
10147 | (define-public ghc-pointedlist |
10148 | (package | |
10149 | (name "ghc-pointedlist") | |
10150 | (version "0.6.1") | |
10151 | (source | |
10152 | (origin | |
10153 | (method url-fetch) | |
10154 | (uri (string-append | |
10155 | "https://hackage.haskell.org/package/pointedlist/" | |
10156 | "pointedlist-" version ".tar.gz")) | |
10157 | (sha256 | |
10158 | (base32 | |
10159 | "16xsrzqql7i4z6a3xy07sqnbyqdmcar1jiacla58y4mvkkwb0g3l")))) | |
10160 | (build-system haskell-build-system) | |
10161 | (home-page | |
3ef91e15 | 10162 | "https://hackage.haskell.org/package/pointedlist") |
451775a5 ASM |
10163 | (synopsis |
10164 | "Zipper-like comonad which works as a list, tracking a position") | |
10165 | (description | |
10166 | "A PointedList tracks the position in a non-empty list which works | |
10167 | similarly to a zipper. A current item is always required, and therefore | |
10168 | the list may never be empty. A circular PointedList wraps around to the | |
10169 | other end when progressing past the actual edge.") | |
10170 | (license license:bsd-3))) | |
10171 | ||
dddbc90c RV |
10172 | (define-public ghc-polyparse |
10173 | (package | |
10174 | (name "ghc-polyparse") | |
9822b9ca | 10175 | (version "1.12.1") |
dddbc90c RV |
10176 | (source |
10177 | (origin | |
10178 | (method url-fetch) | |
10179 | (uri (string-append | |
10180 | "https://hackage.haskell.org/package/polyparse/polyparse-" | |
10181 | version | |
10182 | ".tar.gz")) | |
10183 | (sha256 | |
10184 | (base32 | |
9822b9ca | 10185 | "19fs18g7fvfdkm9zy28cgighjcxfa6mcpqgyp6whmsjkb3h393fx")))) |
dddbc90c RV |
10186 | (build-system haskell-build-system) |
10187 | (home-page | |
10188 | "http://code.haskell.org/~malcolm/polyparse/") | |
10189 | (synopsis | |
10190 | "Alternative parser combinator libraries") | |
10191 | (description | |
10192 | "This package provides a variety of alternative parser combinator | |
10193 | libraries, including the original HuttonMeijer set. The Poly sets have | |
10194 | features like good error reporting, arbitrary token type, running state, lazy | |
10195 | parsing, and so on. Finally, Text.Parse is a proposed replacement for the | |
10196 | standard Read class, for better deserialisation of Haskell values from | |
10197 | Strings.") | |
10198 | (license license:lgpl2.1))) | |
10199 | ||
10200 | (define-public ghc-pqueue | |
10201 | (package | |
10202 | (name "ghc-pqueue") | |
142415b0 | 10203 | (version "1.4.1.2") |
dddbc90c RV |
10204 | (source |
10205 | (origin | |
10206 | (method url-fetch) | |
10207 | (uri (string-append "https://hackage.haskell.org/package/" | |
10208 | "pqueue/pqueue-" version ".tar.gz")) | |
10209 | (sha256 | |
10210 | (base32 | |
142415b0 | 10211 | "1v4zhv2sc1zsw91hvnarkjhayx2dnf7ccxz6rrhsqpcs0szaranj")))) |
dddbc90c RV |
10212 | (build-system haskell-build-system) |
10213 | (native-inputs | |
10214 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
10215 | (home-page "https://hackage.haskell.org/package/pqueue") | |
10216 | (synopsis "Reliable, persistent, fast priority queues") | |
10217 | (description | |
10218 | "This package provides a fast, reliable priority queue implementation | |
10219 | based on a binomial heap.") | |
10220 | (license license:bsd-3))) | |
10221 | ||
10222 | (define-public ghc-prelude-extras | |
10223 | (package | |
10224 | (name "ghc-prelude-extras") | |
10225 | (version "0.4.0.3") | |
10226 | (source | |
10227 | (origin | |
10228 | (method url-fetch) | |
10229 | (uri (string-append | |
10230 | "https://hackage.haskell.org/package/prelude-extras/prelude-extras-" | |
10231 | version | |
10232 | ".tar.gz")) | |
10233 | (sha256 | |
10234 | (base32 | |
10235 | "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9")))) | |
10236 | (build-system haskell-build-system) | |
10237 | (home-page "https://github.com/ekmett/prelude-extras") | |
10238 | (synopsis "Higher order versions of Prelude classes") | |
10239 | (description "This library provides higher order versions of | |
10240 | @code{Prelude} classes to ease programming with polymorphic recursion and | |
10241 | reduce @code{UndecidableInstances}.") | |
10242 | (license license:bsd-3))) | |
10243 | ||
10244 | (define-public ghc-prettyclass | |
10245 | (package | |
10246 | (name "ghc-prettyclass") | |
10247 | (version "1.0.0.0") | |
10248 | (source | |
10249 | (origin | |
10250 | (method url-fetch) | |
10251 | (uri (string-append "https://hackage.haskell.org/package/" | |
10252 | "prettyclass/prettyclass-" version ".tar.gz")) | |
10253 | (sha256 | |
10254 | (base32 | |
10255 | "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5")))) | |
10256 | (build-system haskell-build-system) | |
3ef91e15 | 10257 | (home-page "https://hackage.haskell.org/package/prettyclass") |
dddbc90c RV |
10258 | (synopsis "Pretty printing class similar to Show") |
10259 | (description "This package provides a pretty printing class similar | |
10260 | to @code{Show}, based on the HughesPJ pretty printing library. It | |
10261 | provides the pretty printing class and instances for the Prelude | |
10262 | types.") | |
10263 | (license license:bsd-3))) | |
10264 | ||
2fad2bf7 JS |
10265 | (define-public ghc-prettyprinter |
10266 | (package | |
10267 | (name "ghc-prettyprinter") | |
10268 | (version "1.2.1.1") | |
10269 | (source | |
10270 | (origin | |
10271 | (method url-fetch) | |
10272 | (uri (string-append | |
10273 | "mirror://hackage/package/prettyprinter/prettyprinter-" | |
10274 | version | |
10275 | ".tar.gz")) | |
10276 | (sha256 | |
10277 | (base32 "1p9c3q55hba4c0zyxc624g5df7wgsclpsmd8wqpdnmib882q9d1v")))) | |
10278 | (build-system haskell-build-system) | |
10279 | (native-inputs | |
10280 | `(("ghc-doctest" ,ghc-doctest) | |
10281 | ("ghc-pgp-wordlist" ,ghc-pgp-wordlist) | |
10282 | ("ghc-tasty" ,ghc-tasty) | |
10283 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
10284 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
10285 | (home-page "https://github.com/quchen/prettyprinter") | |
10286 | (synopsis | |
10287 | "Modern, easy to use, well-documented, extensible pretty-printer") | |
10288 | (description | |
10289 | "A prettyprinter/text rendering engine. Easy to use, well-documented, | |
10290 | ANSI terminal backend exists, HTML backend is trivial to implement, no name | |
10291 | clashes, @code{Text}-based, extensible.") | |
10292 | (license license:bsd-2))) | |
10293 | ||
2496e49f JS |
10294 | (define-public ghc-prettyprinter-1.6 |
10295 | (package | |
10296 | (inherit ghc-prettyprinter) | |
10297 | (version "1.6.1") | |
10298 | (source | |
10299 | (origin | |
10300 | (method url-fetch) | |
10301 | (uri (string-append | |
10302 | "mirror://hackage/package/prettyprinter/prettyprinter-" | |
10303 | version | |
10304 | ".tar.gz")) | |
10305 | (sha256 | |
10306 | (base32 "10fphxh8lvdaw7i8jyllwmj87w02db92mf99zfw5vddp9mv6b5rz")))) | |
10307 | (inputs | |
10308 | `(("ghc-quickckeck-instances" , ghc-quickcheck-instances) | |
10309 | ,@(package-inputs ghc-prettyprinter))))) | |
10310 | ||
b4f24d66 JS |
10311 | (define-public ghc-prettyprinter-ansi-terminal |
10312 | (package | |
10313 | (name "ghc-prettyprinter-ansi-terminal") | |
10314 | (version "1.1.1.2") | |
10315 | (source | |
10316 | (origin | |
10317 | (method url-fetch) | |
10318 | (uri (string-append | |
10319 | "mirror://hackage/package/prettyprinter-ansi-terminal/" | |
10320 | "prettyprinter-ansi-terminal-" version ".tar.gz")) | |
10321 | (sha256 | |
10322 | (base32 "0ha6vz707qzb5ky7kdsnw2zgphg2dnxrpbrxy8gaw119vwhb9q6k")))) | |
10323 | (build-system haskell-build-system) | |
10324 | (inputs | |
10325 | `(("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
10326 | ("ghc-prettyprinter" ,ghc-prettyprinter-1.6))) | |
10327 | (native-inputs `(("ghc-doctest" ,ghc-doctest))) | |
10328 | (home-page | |
10329 | "https://github.com/quchen/prettyprinter") | |
10330 | (synopsis | |
10331 | "ANSI terminal backend for the prettyprinter package") | |
10332 | (description "ANSI terminal backend for the prettyprinter package.") | |
10333 | (license license:bsd-2))) | |
10334 | ||
dddbc90c RV |
10335 | (define-public ghc-pretty-hex |
10336 | (package | |
10337 | (name "ghc-pretty-hex") | |
10338 | (version "1.0") | |
10339 | (source | |
10340 | (origin | |
10341 | (method url-fetch) | |
10342 | (uri (string-append "https://hackage.haskell.org/package/" | |
10343 | "pretty-hex-" version "/" | |
10344 | "pretty-hex-" version ".tar.gz")) | |
10345 | (sha256 | |
10346 | (base32 | |
10347 | "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz")))) | |
10348 | (build-system haskell-build-system) | |
10349 | (home-page "https://github.com/GaloisInc/hexdump") | |
10350 | (synopsis "Haskell library for hex dumps of ByteStrings") | |
10351 | (description "This Haskell library generates pretty hex dumps of | |
10352 | ByteStrings in the style of other common *nix hex dump tools.") | |
10353 | (license license:bsd-3))) | |
10354 | ||
10355 | (define-public ghc-pretty-show | |
10356 | (package | |
10357 | (name "ghc-pretty-show") | |
7683a084 | 10358 | (version "1.9.5") |
dddbc90c RV |
10359 | (source |
10360 | (origin | |
10361 | (method url-fetch) | |
10362 | (uri (string-append "https://hackage.haskell.org/package/pretty-show/" | |
10363 | "pretty-show-" version ".tar.gz")) | |
10364 | (sha256 | |
10365 | (base32 | |
7683a084 | 10366 | "0gs2pabi4qa4b0r5vffpf9b1cf5n9y2939a3lljjw7cmg6xvx5dh")))) |
dddbc90c RV |
10367 | (build-system haskell-build-system) |
10368 | (inputs | |
10369 | `(("ghc-haskell-lexer" ,ghc-haskell-lexer) | |
10370 | ("ghc-happy" ,ghc-happy))) | |
702a1012 | 10371 | (home-page "https://wiki.github.com/yav/pretty-show") |
dddbc90c RV |
10372 | (synopsis "Tools for working with derived `Show` instances") |
10373 | (description | |
10374 | "This package provides a library and an executable for working with | |
10375 | derived @code{Show} instances. By using the library, derived @code{Show} | |
10376 | instances can be parsed into a generic data structure. The @code{ppsh} tool | |
10377 | uses the library to produce human-readable versions of @code{Show} instances, | |
10378 | which can be quite handy for debugging Haskell programs. We can also render | |
10379 | complex generic values into an interactive Html page, for easier | |
10380 | examination.") | |
10381 | (license license:expat))) | |
10382 | ||
f011e3d6 JS |
10383 | (define-public ghc-pretty-simple |
10384 | (package | |
10385 | (name "ghc-pretty-simple") | |
10386 | (version "2.2.0.1") | |
10387 | (source | |
10388 | (origin | |
10389 | (method url-fetch) | |
10390 | (uri (string-append | |
10391 | "mirror://hackage/package/pretty-simple/" | |
10392 | "pretty-simple-" version ".tar.gz")) | |
10393 | (sha256 | |
10394 | (base32 "0wsi9235ihm15s145lxi7325vv2k4bhighc5m88kn1lk0pl81aqq")))) | |
10395 | (build-system haskell-build-system) | |
10396 | (inputs | |
10397 | `(("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
10398 | ("ghc-glob" ,ghc-glob) | |
10399 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
10400 | ("ghc-aeson" ,ghc-aeson))) | |
10401 | (native-inputs | |
10402 | `(("ghc-doctest" ,ghc-doctest))) | |
10403 | (home-page "https://github.com/cdepillabout/pretty-simple") | |
10404 | (synopsis "Pretty printer for data types with a 'Show' instance") | |
10405 | (description | |
10406 | "Pretty-simple is a pretty printer for Haskell data types that have a | |
10407 | Show instance.") | |
10408 | (license license:bsd-3))) | |
10409 | ||
dddbc90c RV |
10410 | (define-public ghc-primitive |
10411 | (package | |
10412 | (name "ghc-primitive") | |
10413 | (version "0.6.4.0") | |
534d6caa | 10414 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
10415 | (source |
10416 | (origin | |
10417 | (method url-fetch) | |
10418 | (uri (string-append | |
10419 | "https://hackage.haskell.org/package/primitive/primitive-" | |
10420 | version | |
10421 | ".tar.gz")) | |
10422 | (sha256 | |
10423 | (base32 | |
10424 | "0r0cda7acvplgwaxy69kviv4jp7kkfi038by68gj4yfx4iwszgjc")))) | |
10425 | (build-system haskell-build-system) | |
6cf0daa4 TS |
10426 | (arguments |
10427 | `(#:cabal-revision | |
10428 | ("1" "18a14k1yiam1m4l29rin9a0y53yp3nxvkz358nysld8aqwy2qsjv"))) | |
dddbc90c RV |
10429 | (home-page |
10430 | "https://github.com/haskell/primitive") | |
10431 | (synopsis "Primitive memory-related operations") | |
10432 | (description | |
10433 | "This package provides various primitive memory-related operations.") | |
10434 | (license license:bsd-3))) | |
10435 | ||
21f5b9a9 JS |
10436 | (define-public ghc-process-extras |
10437 | (package | |
10438 | (name "ghc-process-extras") | |
10439 | (version "0.7.4") | |
10440 | (source | |
10441 | (origin | |
10442 | (method url-fetch) | |
10443 | (uri | |
10444 | (string-append | |
10445 | "https://hackage.haskell.org/package/process-extras/" | |
10446 | "process-extras-" version ".tar.gz")) | |
10447 | (sha256 | |
10448 | (base32 | |
10449 | "0klqgr37f1z2z6i0a9b0giapmq0p35l5k9kz1p7f0k1597w7agi9")))) | |
10450 | (build-system haskell-build-system) | |
10451 | (inputs | |
10452 | `(("ghc-data-default" ,ghc-data-default) | |
10453 | ("ghc-generic-deriving" ,ghc-generic-deriving) | |
10454 | ("ghc-hunit" ,ghc-hunit) | |
10455 | ("ghc-listlike" ,ghc-listlike))) | |
10456 | (home-page "https://github.com/seereason/process-extras") | |
10457 | (synopsis "Extra tools for managing processes") | |
f74b6983 | 10458 | (description "This package extends |
21f5b9a9 JS |
10459 | @url{http://hackage.haskell.org/package/process}. It allows you to read |
10460 | process input and output as ByteStrings or Text, or write your own | |
10461 | ProcessOutput instance. It also provides lazy process input and output, | |
10462 | and a ProcessMaker class for more flexibility in the process creation | |
10463 | API.") | |
10464 | (license license:expat))) | |
10465 | ||
dddbc90c RV |
10466 | (define-public ghc-profunctors |
10467 | (package | |
10468 | (name "ghc-profunctors") | |
899b5297 | 10469 | (version "5.3") |
dddbc90c RV |
10470 | (source |
10471 | (origin | |
10472 | (method url-fetch) | |
10473 | (uri (string-append | |
10474 | "https://hackage.haskell.org/package/profunctors/profunctors-" | |
10475 | version | |
10476 | ".tar.gz")) | |
10477 | (sha256 | |
10478 | (base32 | |
899b5297 | 10479 | "1dx3nkc27yxsrbrhh3iwhq7dl1xn6bj7n62yx6nh8vmpbg62lqvl")))) |
dddbc90c | 10480 | (build-system haskell-build-system) |
1ad496e5 | 10481 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
10482 | (inputs |
10483 | `(("ghc-base-orphans" ,ghc-base-orphans) | |
10484 | ("ghc-bifunctors" ,ghc-bifunctors) | |
10485 | ("ghc-comonad" ,ghc-comonad) | |
10486 | ("ghc-contravariant" ,ghc-contravariant) | |
10487 | ("ghc-distributive" ,ghc-distributive) | |
10488 | ("ghc-semigroups" ,ghc-semigroups) | |
10489 | ("ghc-tagged" ,ghc-tagged))) | |
10490 | (home-page "https://github.com/ekmett/profunctors/") | |
10491 | (synopsis "Profunctors for Haskell") | |
10492 | (description "This library provides profunctors for Haskell.") | |
10493 | (license license:bsd-3))) | |
10494 | ||
fbe32d46 ASM |
10495 | (define-public ghc-project-template |
10496 | (package | |
10497 | (name "ghc-project-template") | |
10498 | (version "0.2.0.1") | |
10499 | (source | |
10500 | (origin | |
10501 | (method url-fetch) | |
10502 | (uri (string-append | |
10503 | "https://hackage.haskell.org/package/project-template/project-template-" | |
10504 | version ".tar.gz")) | |
10505 | (sha256 | |
10506 | (base32 | |
10507 | "1p69ww4rhah2qxragl615wl4a6mk4x9w09am8knmz3s4lxpljlpb")))) | |
10508 | (build-system haskell-build-system) | |
10509 | (inputs | |
10510 | `(("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
10511 | ("ghc-conduit" ,ghc-conduit) | |
10512 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
10513 | ("ghc-resourcet" ,ghc-resourcet))) | |
10514 | (native-inputs | |
10515 | `(("ghc-hspec" ,ghc-hspec) | |
10516 | ("hspec-discover" ,hspec-discover) | |
10517 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
10518 | (arguments | |
10519 | `(#:cabal-revision | |
10520 | ("1" | |
10521 | "0lq3sqnq0nr0gbvgzp0lqdl3j3mqdmdlf8xsw0j3pjh581xj3k0a"))) | |
10522 | (home-page "https://github.com/fpco/haskell-ide") | |
10523 | (synopsis "Specify Haskell project templates and generate files") | |
10524 | (description | |
10525 | "Haskell library for both generating and consuming project templates. | |
10526 | ||
10527 | ost IDEs provide the concept of a project template: instead of writing all | |
10528 | of the code for a project from scratch, you select a template, answer a few | |
10529 | questions, and a bunch of files are automatically generated. | |
10530 | ||
10531 | project-template tries to provide a canonical Haskell library for implementing | |
10532 | the ideal templating system.") | |
10533 | (license license:bsd-3))) | |
10534 | ||
8a6e745d JS |
10535 | (define-public ghc-protolude |
10536 | (package | |
10537 | (name "ghc-protolude") | |
325098de | 10538 | (version "0.2.3") |
8a6e745d JS |
10539 | (source |
10540 | (origin | |
10541 | (method url-fetch) | |
10542 | (uri (string-append | |
10543 | "mirror://hackage/package/protolude/protolude-" | |
10544 | version | |
10545 | ".tar.gz")) | |
10546 | (sha256 | |
10547 | (base32 | |
325098de | 10548 | "0zzkyxz0vmcbncpid7gp72fpjj0fla3gqhlfkij5c5lg12skjgfj")))) |
8a6e745d JS |
10549 | (build-system haskell-build-system) |
10550 | (inputs | |
10551 | `(("ghc-async" ,ghc-async) | |
10552 | ("ghc-hashable" ,ghc-hashable) | |
10553 | ("ghc-mtl-compat" ,ghc-mtl-compat) | |
10554 | ("ghc-transformers-compat" ,ghc-transformers-compat))) | |
10555 | (home-page "https://github.com/protolude/protolude") | |
10556 | (synopsis "Sensible set of defaults for writing custom Preludes") | |
10557 | (description | |
10558 | "Protolude gives you sensible defaults for writing custom Preludes to | |
10559 | replace the standard one provided by GHC.") | |
10560 | (license license:expat))) | |
10561 | ||
d4d40fa6 LLB |
10562 | (define-public ghc-protolude-0.3 |
10563 | (package | |
10564 | (inherit ghc-protolude) | |
10565 | (name "ghc-protolude") | |
10566 | (version "0.3.0") | |
10567 | (source | |
10568 | (origin | |
10569 | (method url-fetch) | |
10570 | (uri (string-append | |
10571 | "mirror://hackage/package/protolude/protolude-" | |
10572 | version | |
10573 | ".tar.gz")) | |
10574 | (sha256 | |
10575 | (base32 | |
10576 | "1b6wprbwfdjyvds2bm6na0fbqgzdkj5ikkk33whbkyh3krd3i0s0")))))) | |
10577 | ||
cf123e32 MB |
10578 | (define-public ghc-psqueue |
10579 | (package | |
10580 | (name "ghc-psqueue") | |
10581 | (version "1.1.0.1") | |
10582 | (source (origin | |
10583 | (method url-fetch) | |
10584 | (uri (string-append "mirror://hackage/package/PSQueue-" | |
10585 | version "/PSQueue-" version ".tar.gz")) | |
10586 | (sha256 | |
10587 | (base32 | |
10588 | "1cik7sw10sacsijmfhghzy54gm1qcyxw14shlp86lx8z89kcnkza")))) | |
10589 | (build-system haskell-build-system) | |
10590 | (home-page "https://hackage.haskell.org/package/PSQueue") | |
10591 | (synopsis "Priority search queue") | |
10592 | (description | |
10593 | "A @dfn{priority search queue} efficiently supports the operations of | |
10594 | both a search tree and a priority queue. A @code{Binding} is a product of | |
10595 | a key and a priority. Bindings can be inserted, deleted, modified and queried | |
10596 | in logarithmic time, and the binding with the least priority can be retrieved | |
10597 | in constant time. A queue can be built from a list of bindings, sorted by | |
10598 | keys, in linear time.") | |
10599 | (license license:bsd-3))) | |
10600 | ||
dddbc90c RV |
10601 | (define-public ghc-psqueues |
10602 | (package | |
10603 | (name "ghc-psqueues") | |
5d133942 | 10604 | (version "0.2.7.2") |
dddbc90c RV |
10605 | (source |
10606 | (origin | |
10607 | (method url-fetch) | |
10608 | (uri (string-append "https://hackage.haskell.org/package/" | |
10609 | "psqueues-" version "/" | |
10610 | "psqueues-" version ".tar.gz")) | |
10611 | (sha256 | |
10612 | (base32 | |
5d133942 | 10613 | "1yckx2csqswghiy9nfj03cybmza8104nmnpbpcc9ngwlbmakn9i6")))) |
dddbc90c RV |
10614 | (build-system haskell-build-system) |
10615 | (inputs | |
10616 | `(("ghc-hashable" ,ghc-hashable))) | |
10617 | (native-inputs | |
10618 | `(("ghc-hunit" ,ghc-hunit) | |
10619 | ("ghc-quickcheck" ,ghc-quickcheck) | |
10620 | ("ghc-tagged" ,ghc-tagged) | |
5d133942 TS |
10621 | ("ghc-tasty" ,ghc-tasty) |
10622 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
10623 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
dddbc90c RV |
10624 | (home-page "https://github.com/jaspervdj/psqueues") |
10625 | (synopsis "Pure priority search queues") | |
10626 | (description "The psqueues package provides | |
10627 | @uref{https://en.wikipedia.org/wiki/Priority_queue, Priority Search Queues} in | |
10628 | three different flavors: | |
10629 | ||
10630 | @itemize | |
10631 | @item @code{OrdPSQ k p v}, which uses the @code{Ord k} instance to provide | |
10632 | fast insertion, deletion and lookup. This implementation is based on Ralf | |
10633 | Hinze's @uref{http://citeseer.ist.psu.edu/hinze01simple.html, A Simple | |
10634 | Implementation Technique for Priority Search Queues}. | |
10635 | ||
10636 | Hence, it is similar to the @uref{https://hackage.haskell.org/package/PSQueue, | |
10637 | PSQueue} library, although it is considerably faster and provides a slightly | |
10638 | different API. | |
10639 | ||
10640 | @item @code{IntPSQ p v} is a far more efficient implementation. It fixes the | |
10641 | key type to @code{Int} and uses a | |
10642 | @code{https://en.wikipedia.org/wiki/Radix_tree, radix tree} (like @code{IntMap}) | |
10643 | with an additional min-heap property. | |
10644 | ||
10645 | @item @code{HashPSQ k p v} is a fairly straightforward extension | |
10646 | of @code{IntPSQ}: it simply uses the keys' hashes as indices in the | |
10647 | @code{IntPSQ}. If there are any hash collisions, it uses an | |
10648 | @code{OrdPSQ} to resolve those. The performance of this implementation | |
10649 | is comparable to that of @code{IntPSQ}, but it is more widely | |
10650 | applicable since the keys are not restricted to @code{Int}, | |
10651 | but rather to any @code{Hashable} datatype. | |
10652 | @end itemize | |
10653 | ||
10654 | Each of the three implementations provides the same API, so they can | |
10655 | be used interchangeably. | |
10656 | ||
10657 | Typical applications of Priority Search Queues include: | |
10658 | ||
10659 | @itemize | |
10660 | @item Caches, and more specifically LRU Caches; | |
10661 | @item Schedulers; | |
10662 | @item Pathfinding algorithms, such as Dijkstra's and A*. | |
10663 | @end itemize") | |
10664 | (license license:bsd-3))) | |
b1dbc9f5 ASM |
10665 | |
10666 | (define-public ghc-pwstore-fast | |
10667 | (package | |
10668 | (name "ghc-pwstore-fast") | |
10669 | (version "2.4.4") | |
10670 | (source | |
10671 | (origin | |
10672 | (method url-fetch) | |
10673 | (uri (string-append | |
10674 | "https://hackage.haskell.org/package/pwstore-fast/" | |
10675 | "pwstore-fast-" version ".tar.gz")) | |
10676 | (sha256 | |
10677 | (base32 | |
10678 | "1cpvlwzg3qznhygrr78f75p65mnljd9v5cvnagfxjqppnrkay6bj")))) | |
10679 | (build-system haskell-build-system) | |
10680 | (inputs | |
10681 | `(("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
10682 | ("ghc-cryptohash" ,ghc-cryptohash) | |
10683 | ("ghc-random" ,ghc-random) | |
10684 | ("ghc-byteable" ,ghc-byteable))) | |
10685 | (home-page "https://github.com/PeterScott/pwstore") | |
10686 | (synopsis "Secure password storage") | |
10687 | (description | |
10688 | "To store passwords securely, they should be salted, then hashed with | |
10689 | a slow hash function. This library uses PBKDF1-SHA256, and handles all the | |
10690 | details. It uses the cryptohash package for speed; if you need a pure | |
10691 | Haskell library, pwstore-purehaskell has the exact same API, but uses only | |
10692 | pure Haskell. It is about 25 times slower than this package, but still quite | |
10693 | usable.") | |
10694 | (license license:bsd-3))) | |
dddbc90c RV |
10695 | |
10696 | (define-public ghc-random | |
10697 | (package | |
10698 | (name "ghc-random") | |
10699 | (version "1.1") | |
534d6caa | 10700 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
10701 | (source |
10702 | (origin | |
10703 | (method url-fetch) | |
10704 | (uri (string-append | |
10705 | "https://hackage.haskell.org/package/random/random-" | |
10706 | version | |
10707 | ".tar.gz")) | |
10708 | (sha256 | |
10709 | (base32 "0nis3lbkp8vfx8pkr6v7b7kr5m334bzb0fk9vxqklnp2aw8a865p")))) | |
10710 | (build-system haskell-build-system) | |
10711 | (home-page "https://hackage.haskell.org/package/random") | |
10712 | (synopsis "Random number library") | |
10713 | (description "This package provides a basic random number generation | |
10714 | library, including the ability to split random number generators.") | |
10715 | (license license:bsd-3))) | |
10716 | ||
10717 | (define-public ghc-raw-strings-qq | |
10718 | (package | |
10719 | (name "ghc-raw-strings-qq") | |
10720 | (version "1.1") | |
10721 | (source | |
10722 | (origin | |
10723 | (method url-fetch) | |
10724 | (uri (string-append "https://hackage.haskell.org/package/" | |
10725 | "raw-strings-qq/raw-strings-qq-" | |
10726 | version ".tar.gz")) | |
10727 | (sha256 | |
10728 | (base32 | |
10729 | "1lxy1wy3awf52968iy5y9r5z4qgnn2sxkdrh7js3m9gadb11w09f")))) | |
10730 | (build-system haskell-build-system) | |
10731 | (native-inputs `(("ghc-hunit" ,ghc-hunit))) | |
10732 | (home-page "https://github.com/23Skidoo/raw-strings-qq") | |
10733 | (synopsis "Raw string literals for Haskell") | |
10734 | (description | |
10735 | "This package provides a quasiquoter for raw string literals, i.e. string | |
10736 | literals that don't recognise the standard escape sequences. Basically, they | |
10737 | make your code more readable by freeing you from the responsibility to escape | |
10738 | backslashes. They are useful when working with regular expressions, | |
10739 | DOS/Windows paths and markup languages (such as XML).") | |
10740 | (license license:bsd-3))) | |
10741 | ||
10742 | (define-public ghc-readable | |
10743 | (package | |
10744 | (name "ghc-readable") | |
10745 | (version "0.3.1") | |
10746 | (source | |
10747 | (origin | |
10748 | (method url-fetch) | |
10749 | (uri (string-append "https://hackage.haskell.org/package/" | |
10750 | "readable/readable-" version ".tar.gz")) | |
10751 | (sha256 | |
10752 | (base32 | |
10753 | "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h")))) | |
10754 | (build-system haskell-build-system) | |
10755 | (home-page "https://github.com/mightybyte/readable") | |
10756 | (synopsis "Type class for reading from Text and ByteString") | |
10757 | (description "This package provides a @code{Readable} type class for | |
10758 | reading data types from @code{ByteString} and @code{Text}. It also | |
10759 | includes efficient implementations for common data types.") | |
10760 | (license license:bsd-3))) | |
10761 | ||
10762 | (define-public ghc-rebase | |
10763 | (package | |
10764 | (name "ghc-rebase") | |
8d2ae3fe | 10765 | (version "1.3.1.1") |
dddbc90c RV |
10766 | (source |
10767 | (origin | |
10768 | (method url-fetch) | |
10769 | (uri (string-append "https://hackage.haskell.org/package/" | |
10770 | "rebase-" version "/" | |
10771 | "rebase-" version ".tar.gz")) | |
10772 | (sha256 | |
10773 | (base32 | |
8d2ae3fe | 10774 | "0q4m2fa7wkgxs0grir8rlqwibasmi3s1x7c107ynndwfm62nzv0a")))) |
dddbc90c | 10775 | (build-system haskell-build-system) |
e396e936 | 10776 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
10777 | (inputs `(("ghc-hashable" ,ghc-hashable) |
10778 | ("ghc-vector" ,ghc-vector) | |
10779 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
10780 | ("ghc-scientific" ,ghc-scientific) | |
10781 | ("ghc-uuid" ,ghc-uuid) | |
10782 | ("ghc-dlist" ,ghc-dlist) | |
10783 | ("ghc-void" ,ghc-void) | |
10784 | ("ghc-bifunctors" ,ghc-bifunctors) | |
10785 | ("ghc-profunctors" ,ghc-profunctors) | |
10786 | ("ghc-contravariant" ,ghc-contravariant) | |
10787 | ("ghc-contravariant-extras" ,ghc-contravariant-extras) | |
10788 | ("ghc-semigroups" ,ghc-semigroups) | |
10789 | ("ghc-either" ,ghc-either) | |
10790 | ("ghc-fail" ,ghc-fail) | |
10791 | ("ghc-base-prelude" ,ghc-base-prelude))) | |
10792 | (home-page "https://github.com/nikita-volkov/rebase") | |
10793 | (synopsis "Progressive alternative to the base package | |
10794 | for Haskell") | |
10795 | (description "This Haskell package is intended for those who are | |
10796 | tired of keeping long lists of dependencies to the same essential libraries | |
10797 | in each package as well as the endless imports of the same APIs all over again. | |
10798 | ||
10799 | It also supports the modern tendencies in the language. | |
10800 | ||
10801 | To solve those problems this package does the following: | |
10802 | ||
10803 | @itemize | |
10804 | @item Reexport the original APIs under the @code{Rebase} namespace. | |
10805 | ||
10806 | @item Export all the possible non-conflicting symbols from the | |
10807 | @code{Rebase.Prelude} module. | |
10808 | ||
10809 | @item Give priority to the modern practices in the conflicting cases. | |
10810 | @end itemize | |
10811 | ||
10812 | The policy behind the package is only to reexport the non-ambiguous and | |
10813 | non-controversial APIs, which the community has obviously settled on. | |
10814 | The package is intended to rapidly evolve with the contribution from | |
10815 | the community, with the missing features being added with pull-requests.") | |
10816 | (license license:expat))) | |
10817 | ||
10818 | (define-public ghc-reducers | |
10819 | (package | |
10820 | (name "ghc-reducers") | |
10821 | (version "3.12.3") | |
10822 | (source | |
10823 | (origin | |
10824 | (method url-fetch) | |
10825 | (uri (string-append | |
10826 | "https://hackage.haskell.org/package/reducers/reducers-" | |
10827 | version | |
10828 | ".tar.gz")) | |
10829 | (sha256 | |
10830 | (base32 | |
10831 | "09wf8pl9ycglcv6qj5ba26gkg2s5iy81hsx9xp0q8na0cwvp71ki")))) | |
10832 | (build-system haskell-build-system) | |
10833 | (inputs | |
10834 | `(("ghc-fingertree" ,ghc-fingertree) | |
10835 | ("ghc-hashable" ,ghc-hashable) | |
10836 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
10837 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
10838 | ("ghc-semigroups" ,ghc-semigroups))) | |
10839 | (home-page "https://github.com/ekmett/reducers/") | |
10840 | (synopsis "Semigroups, specialized containers and a general map/reduce framework") | |
10841 | (description "This library provides various semigroups, specialized | |
10842 | containers and a general map/reduce framework for Haskell.") | |
10843 | (license license:bsd-3))) | |
10844 | ||
10845 | (define-public ghc-refact | |
10846 | (package | |
10847 | (name "ghc-refact") | |
10848 | (version "0.3.0.2") | |
10849 | (source | |
10850 | (origin | |
10851 | (method url-fetch) | |
10852 | (uri (string-append "https://hackage.haskell.org/package/" | |
10853 | "refact/refact-" | |
10854 | version ".tar.gz")) | |
10855 | (sha256 | |
10856 | (base32 | |
10857 | "0v0zxcx29b8jxs2kgy9csykqcp8kzhdvyylw2xfwmj4pfxr2kl0a")))) | |
10858 | (build-system haskell-build-system) | |
3ef91e15 | 10859 | (home-page "https://hackage.haskell.org/package/refact") |
dddbc90c RV |
10860 | (synopsis "Specify refactorings to perform with apply-refact") |
10861 | (description | |
10862 | "This library provides a datatype which can be interpreted by | |
10863 | @code{apply-refact}. It exists as a separate library so that applications can | |
10864 | specify refactorings without depending on GHC.") | |
10865 | (license license:bsd-3))) | |
10866 | ||
10867 | (define-public ghc-reflection | |
10868 | (package | |
10869 | (name "ghc-reflection") | |
d215f1cc | 10870 | (version "2.1.5") |
dddbc90c RV |
10871 | (source |
10872 | (origin | |
10873 | (method url-fetch) | |
10874 | (uri (string-append | |
10875 | "https://hackage.haskell.org/package/reflection/reflection-" | |
10876 | version | |
10877 | ".tar.gz")) | |
10878 | (sha256 | |
10879 | (base32 | |
d215f1cc | 10880 | "0xr947nj1vww5b8fwqmypxm3y3j5sxl4z8wnf834f83jzfzyjbi7")))) |
dddbc90c RV |
10881 | (build-system haskell-build-system) |
10882 | (inputs `(("ghc-tagged" ,ghc-tagged))) | |
d215f1cc TS |
10883 | (native-inputs |
10884 | `(("ghc-hspec" ,ghc-hspec) | |
10885 | ("ghc-quickcheck" ,ghc-quickcheck) | |
10886 | ("hspec-discover" ,hspec-discover))) | |
dddbc90c RV |
10887 | (home-page "https://github.com/ekmett/reflection") |
10888 | (synopsis "Reify arbitrary terms into types that can be reflected back | |
10889 | into terms") | |
10890 | (description "This package addresses the 'configuration problem' which is | |
10891 | propagating configurations that are available at run-time, allowing multiple | |
10892 | configurations to coexist without resorting to mutable global variables or | |
10893 | @code{System.IO.Unsafe.unsafePerformIO}.") | |
10894 | (license license:bsd-3))) | |
10895 | ||
10896 | (define-public ghc-regex | |
10897 | (package | |
10898 | (name "ghc-regex") | |
b9a5e634 | 10899 | (version "1.0.2.0") |
dddbc90c RV |
10900 | (source |
10901 | (origin | |
10902 | (method url-fetch) | |
10903 | (uri (string-append "https://hackage.haskell.org/package/regex/" | |
10904 | "regex-" version ".tar.gz")) | |
10905 | (sha256 | |
10906 | (base32 | |
b9a5e634 | 10907 | "1f2z025hif1fr24b5khq3qxxyvpxrnhyx8xmbms332arw28rpkda")))) |
dddbc90c RV |
10908 | (build-system haskell-build-system) |
10909 | (arguments | |
10910 | `(#:phases | |
10911 | (modify-phases %standard-phases | |
10912 | (add-after 'unpack 'relax-dependencies | |
10913 | (lambda _ | |
10914 | (substitute* "regex.cabal" | |
10915 | (("base-compat.*>=.*0.6.*") | |
10916 | "base-compat >= 0.6\n") | |
10917 | (("template-haskell.*>=.*2.7.*") | |
10918 | "template-haskell >= 2.7\n")) | |
10919 | #t))))) | |
10920 | (inputs | |
10921 | `(("ghc-base-compat" ,ghc-base-compat) | |
10922 | ("ghc-hashable" ,ghc-hashable) | |
10923 | ("ghc-regex-base" ,ghc-regex-base) | |
10924 | ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin) | |
10925 | ("ghc-regex-tdfa" ,ghc-regex-tdfa) | |
10926 | ("ghc-regex-tdfa-text" ,ghc-regex-tdfa-text) | |
10927 | ("ghc-time-locale-compat" ,ghc-time-locale-compat) | |
10928 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
10929 | ("ghc-utf8-string" ,ghc-utf8-string))) | |
10930 | (home-page "http://regex.uk") | |
10931 | (synopsis "Toolkit for regex-base") | |
10932 | (description | |
10933 | "This package provides a regular expression toolkit for @code{regex-base} | |
10934 | with compile-time checking of regular expression syntax, data types for | |
10935 | matches and captures, a text replacement toolkit, portable options, high-level | |
10936 | AWK-like tools for building text processing apps, regular expression macros | |
10937 | with parsers and test bench, comprehensive documentation, tutorials and | |
10938 | copious examples.") | |
10939 | (license license:bsd-3))) | |
10940 | ||
10941 | (define-public ghc-regex-applicative | |
10942 | (package | |
10943 | (name "ghc-regex-applicative") | |
30f60e42 | 10944 | (version "0.3.3.1") |
dddbc90c RV |
10945 | (source |
10946 | (origin | |
10947 | (method url-fetch) | |
10948 | (uri (string-append | |
10949 | "https://hackage.haskell.org/package/regex-applicative/" | |
10950 | "regex-applicative-" version ".tar.gz")) | |
10951 | (sha256 | |
10952 | (base32 | |
30f60e42 | 10953 | "0p0anx5vamrhrdvviwkh2zn6pa3pv2bjb7nfyc7dvz2q7g14y1lg")))) |
dddbc90c RV |
10954 | (build-system haskell-build-system) |
10955 | (inputs | |
10956 | `(("ghc-smallcheck" ,ghc-smallcheck) | |
10957 | ("ghc-tasty" ,ghc-tasty) | |
10958 | ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) | |
10959 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
10960 | (home-page "https://github.com/feuerbach/regex-applicative") | |
10961 | (synopsis "Regex-based parsing with applicative interface") | |
10962 | (description | |
10963 | "@code{regex-applicative} is a Haskell library for parsing using | |
10964 | regular expressions. Parsers can be built using Applicative interface.") | |
10965 | (license license:expat))) | |
10966 | ||
10967 | (define-public ghc-regex-base | |
10968 | (package | |
10969 | (name "ghc-regex-base") | |
10970 | (version "0.93.2") | |
10971 | (source | |
10972 | (origin | |
10973 | (method url-fetch) | |
10974 | (uri (string-append | |
10975 | "https://hackage.haskell.org/package/regex-base/regex-base-" | |
10976 | version | |
10977 | ".tar.gz")) | |
10978 | (sha256 | |
10979 | (base32 | |
10980 | "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10")))) | |
10981 | (build-system haskell-build-system) | |
10982 | (home-page | |
10983 | "https://sourceforge.net/projects/lazy-regex") | |
10984 | (synopsis "Replaces/Enhances Text.Regex") | |
10985 | (description "@code{Text.Regex.Base} provides the interface API for | |
10986 | regex-posix, regex-pcre, regex-parsec, regex-tdfa, regex-dfa.") | |
10987 | (license license:bsd-3))) | |
10988 | ||
10989 | (define-public ghc-regex-compat | |
10990 | (package | |
10991 | (name "ghc-regex-compat") | |
10992 | (version "0.95.1") | |
10993 | (source | |
10994 | (origin | |
10995 | (method url-fetch) | |
10996 | (uri (string-append | |
10997 | "https://hackage.haskell.org/package/regex-compat/regex-compat-" | |
10998 | version | |
10999 | ".tar.gz")) | |
11000 | (sha256 | |
11001 | (base32 | |
11002 | "0fwmima3f04p9y4h3c23493n1xj629ia2dxaisqm6rynljjv2z6m")))) | |
11003 | (build-system haskell-build-system) | |
11004 | (inputs | |
11005 | `(("ghc-regex-base" ,ghc-regex-base) | |
11006 | ("ghc-regex-posix" ,ghc-regex-posix))) | |
11007 | (home-page "https://sourceforge.net/projects/lazy-regex") | |
11008 | (synopsis "Replaces/Enhances Text.Regex") | |
11009 | (description "This library provides one module layer over | |
11010 | @code{regex-posix} to replace @code{Text.Regex}.") | |
11011 | (license license:bsd-3))) | |
11012 | ||
11013 | (define-public ghc-regex-compat-tdfa | |
11014 | (package | |
11015 | (name "ghc-regex-compat-tdfa") | |
11016 | (version "0.95.1.4") | |
11017 | (source | |
11018 | (origin | |
11019 | (method url-fetch) | |
11020 | (uri (string-append | |
11021 | "https://hackage.haskell.org/package/regex-compat-tdfa/regex-compat-tdfa-" | |
11022 | version ".tar.gz")) | |
11023 | (sha256 | |
11024 | (base32 | |
11025 | "1p90fn90yhp7fvljjdqjp41cszidcfz4pw7fwvzyx4739b98x8sg")))) | |
11026 | (build-system haskell-build-system) | |
11027 | (inputs | |
11028 | `(("ghc-regex-base" ,ghc-regex-base) | |
11029 | ("ghc-regex-tdfa" ,ghc-regex-tdfa))) | |
11030 | (home-page "https://hub.darcs.net/shelarcy/regex-compat-tdfa") | |
11031 | (synopsis "Unicode Support version of Text.Regex, using regex-tdfa") | |
11032 | (description | |
11033 | "One module layer over @code{regex-tdfa} to replace @code{Text.Regex}. | |
11034 | @code{regex-compat} can't use Unicode characters correctly because of using regex-posix. | |
11035 | This is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve | |
11036 | this problem.") | |
11037 | (license license:bsd-3))) | |
11038 | ||
ddd79836 MB |
11039 | (define-public ghc-regex-pcre |
11040 | (package | |
11041 | (name "ghc-regex-pcre") | |
11042 | (version "0.94.4") | |
11043 | (source (origin | |
11044 | (method url-fetch) | |
11045 | (uri (string-append "https://hackage.haskell.org/package/" | |
11046 | "regex-pcre/regex-pcre-" version ".tar.gz")) | |
11047 | (sha256 | |
11048 | (base32 | |
11049 | "1h16w994g9s62iwkdqa7bar2n9cfixmkzz2rm8svm960qr57valf")))) | |
11050 | (build-system haskell-build-system) | |
991ca499 TS |
11051 | (arguments |
11052 | `(#:extra-directories ("pcre"))) | |
ddd79836 MB |
11053 | (inputs |
11054 | `(("ghc-regex-base" ,ghc-regex-base) | |
11055 | ("pcre" ,pcre))) | |
11056 | (home-page "https://hackage.haskell.org/package/regex-pcre") | |
11057 | (synopsis "Enhancement of the builtin Text.Regex library") | |
11058 | (description | |
11059 | "This package is an enhancement of the @code{Text.Regex} library. | |
11060 | It wraps the @code{PCRE} C library providing Perl-compatible regular | |
11061 | expressions.") | |
11062 | (license license:bsd-3))) | |
11063 | ||
dddbc90c RV |
11064 | (define-public ghc-regex-pcre-builtin |
11065 | (package | |
11066 | (name "ghc-regex-pcre-builtin") | |
ee946143 | 11067 | (version "0.94.5.8.8.35") |
dddbc90c RV |
11068 | (source (origin |
11069 | (method url-fetch) | |
11070 | (uri (string-append "https://hackage.haskell.org/package/" | |
11071 | "regex-pcre-builtin/regex-pcre-builtin-" | |
11072 | version ".tar.gz")) | |
11073 | (sha256 | |
11074 | (base32 | |
ee946143 | 11075 | "1s755qdg1mxrf125sh83bsc5kjkrj8fkq8wf6dg1jan86c7p7gl4")))) |
dddbc90c RV |
11076 | (build-system haskell-build-system) |
11077 | (inputs | |
11078 | `(("ghc-regex-base" ,ghc-regex-base))) | |
4723766b | 11079 | (home-page "https://hackage.haskell.org/package/regex-pcre-builtin") |
dddbc90c RV |
11080 | (synopsis "Enhancement of the builtin Text.Regex library") |
11081 | (description | |
11082 | "This package is an enhancement of the @code{Text.Regex} library, | |
11083 | providing the PCRE backend to accompany regex-base, with bundled code from | |
11084 | @url{https://www.pcre.org}.") | |
11085 | (license license:bsd-3))) | |
11086 | ||
11087 | (define-public ghc-regex-posix | |
11088 | (package | |
11089 | (name "ghc-regex-posix") | |
11090 | (version "0.95.2") | |
11091 | (source | |
11092 | (origin | |
11093 | (method url-fetch) | |
11094 | (uri (string-append | |
11095 | "https://hackage.haskell.org/package/regex-posix/regex-posix-" | |
11096 | version | |
11097 | ".tar.gz")) | |
11098 | (sha256 | |
11099 | (base32 | |
11100 | "0gkhzhj8nvfn1ija31c7xnl6p0gadwii9ihyp219ck2arlhrj0an")))) | |
11101 | (build-system haskell-build-system) | |
11102 | (inputs | |
11103 | `(("ghc-regex-base" ,ghc-regex-base))) | |
11104 | (home-page "https://sourceforge.net/projects/lazy-regex") | |
11105 | (synopsis "POSIX regular expressions for Haskell") | |
11106 | (description "This library provides the POSIX regex backend used by the | |
11107 | Haskell library @code{regex-base}.") | |
11108 | (license license:bsd-3))) | |
11109 | ||
11110 | (define-public ghc-regex-tdfa | |
11111 | (package | |
11112 | (name "ghc-regex-tdfa") | |
ce684db0 | 11113 | (version "1.2.3.2") |
dddbc90c RV |
11114 | (source |
11115 | (origin | |
11116 | (method url-fetch) | |
11117 | (uri (string-append | |
11118 | "https://hackage.haskell.org/package/regex-tdfa/regex-tdfa-" | |
11119 | version ".tar.gz")) | |
11120 | (sha256 | |
11121 | (base32 | |
ce684db0 | 11122 | "03yhpqrqz977nwlnhnyz9dacnbzw8xb6j18h365rkgmbc05sb3hf")))) |
dddbc90c | 11123 | (build-system haskell-build-system) |
54c8209e | 11124 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
11125 | (inputs |
11126 | `(("ghc-regex-base" ,ghc-regex-base))) | |
90b74c6f | 11127 | (home-page "https://github.com/haskell-hvr/regex-tdfa") |
dddbc90c RV |
11128 | (synopsis "POSIX extended regular expressions in Haskell.") |
11129 | (description | |
11130 | "Regex-tdfa is a pure Haskell regular expression library implementing POSIX | |
11131 | extended regular expressions. It is a \"tagged\" DFA regex engine. It is | |
11132 | inspired by libtre.") | |
11133 | (license license:bsd-3))) | |
11134 | ||
11135 | (define-public ghc-regex-tdfa-text | |
11136 | (package | |
11137 | (name "ghc-regex-tdfa-text") | |
11138 | (version "1.0.0.3") | |
11139 | (source | |
11140 | (origin | |
11141 | (method url-fetch) | |
11142 | (uri (string-append | |
11143 | "https://hackage.haskell.org/package/regex-tdfa-text/" | |
11144 | "regex-tdfa-text-" version ".tar.gz")) | |
11145 | (sha256 | |
11146 | (base32 | |
11147 | "0090g6lgbdm9lywpqm2d3724nnnh24nx3vnlqr96qc2w486pmmrq")))) | |
11148 | (build-system haskell-build-system) | |
11149 | (inputs | |
11150 | `(("ghc-regex-base" ,ghc-regex-base) | |
11151 | ("ghc-regex-tdfa" ,ghc-regex-tdfa))) | |
11152 | (home-page | |
3ef91e15 | 11153 | "https://hackage.haskell.org/package/regex-tdfa-text") |
dddbc90c RV |
11154 | (synopsis "Text interface for regex-tdfa") |
11155 | (description | |
11156 | "This provides an extra text interface for regex-tdfa.") | |
11157 | (license license:bsd-3))) | |
11158 | ||
798a2df4 JS |
11159 | (define-public ghc-repline |
11160 | (package | |
11161 | (name "ghc-repline") | |
11162 | (version "0.2.0.0") | |
11163 | (source | |
11164 | (origin | |
11165 | (method url-fetch) | |
11166 | (uri (string-append | |
11167 | "mirror://hackage/package/repline/repline-" | |
11168 | version | |
11169 | ".tar.gz")) | |
11170 | (sha256 | |
11171 | (base32 | |
11172 | "1ph21kbbanlcs8n5lwk16g9vqkb98mkbz5mzwrp8j2rls2921izc")))) | |
11173 | (build-system haskell-build-system) | |
11174 | (home-page "https://github.com/sdiehl/repline") | |
11175 | (synopsis "Haskeline wrapper for GHCi-like REPL interfaces") | |
11176 | (description | |
11177 | "Haskeline wrapper for GHCi-like REPL interfaces. Composable with | |
11178 | normal mtl transformers.") | |
11179 | (license license:expat))) | |
11180 | ||
6c0858dd JS |
11181 | (define-public ghc-repline-0.3 |
11182 | (package | |
11183 | (inherit ghc-repline) | |
11184 | (version "0.3.0.0") | |
11185 | (source | |
11186 | (origin | |
11187 | (method url-fetch) | |
11188 | (uri (string-append | |
11189 | "mirror://hackage/package/repline/repline-" | |
11190 | version | |
11191 | ".tar.gz")) | |
11192 | (sha256 | |
11193 | (base32 | |
11194 | "0niihfyggg2qisadg7w49cr5k5qyyynia93iip0ng2bbmzwi88g8")))) | |
11195 | (inputs | |
11196 | `(("ghc-exceptions" ,ghc-exceptions) | |
11197 | ("ghc-haskeline" ,ghc-haskeline-0.8))))) | |
11198 | ||
dddbc90c RV |
11199 | (define-public ghc-rerebase |
11200 | (package | |
11201 | (name "ghc-rerebase") | |
cdec7b8c | 11202 | (version "1.3.1.1") |
dddbc90c RV |
11203 | (source |
11204 | (origin | |
11205 | (method url-fetch) | |
11206 | (uri (string-append | |
11207 | "https://hackage.haskell.org/package/rerebase/rerebase-" | |
11208 | version ".tar.gz")) | |
11209 | (sha256 | |
11210 | (base32 | |
cdec7b8c | 11211 | "1jbqif6k249rkknm2zwk8v8jil3kgi9ar53358v8l4ffx346rm82")))) |
dddbc90c | 11212 | (build-system haskell-build-system) |
af2f91ec | 11213 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
11214 | (inputs |
11215 | `(("ghc-rebase" ,ghc-rebase))) | |
11216 | (home-page "https://github.com/nikita-volkov/rerebase") | |
11217 | (synopsis "Reexports from ``base'' with many other standard libraries") | |
11218 | (description "A rich drop-in replacement for @code{base}. For details and | |
11219 | documentation please visit @uref{https://github.com/nikita-volkov/rerebase, | |
11220 | the project's home page}.") | |
11221 | (license license:expat))) | |
11222 | ||
11223 | (define-public ghc-resolv | |
11224 | (package | |
11225 | (name "ghc-resolv") | |
87309478 | 11226 | (version "0.1.1.2") |
dddbc90c RV |
11227 | (source |
11228 | (origin | |
11229 | (method url-fetch) | |
11230 | (uri (string-append | |
11231 | "https://hackage.haskell.org/package/resolv/resolv-" | |
11232 | version ".tar.gz")) | |
11233 | (sha256 | |
11234 | (base32 | |
87309478 | 11235 | "0wczdy3vmpfcfwjn1m95bygc5d83m97xxmavhdvy5ayn8c402fp4")))) |
dddbc90c RV |
11236 | (build-system haskell-build-system) |
11237 | (arguments | |
87309478 TS |
11238 | `(#:phases |
11239 | (modify-phases %standard-phases | |
11240 | (add-before 'configure 'update-constraints | |
11241 | (lambda _ | |
11242 | (substitute* "resolv.cabal" | |
11243 | (("tasty >= 1\\.1 && < 1\\.2") | |
11244 | "tasty >= 1.1 && < 1.3")) | |
11245 | #t))))) | |
dddbc90c RV |
11246 | (inputs |
11247 | `(("ghc-base16-bytestring" ,ghc-base16-bytestring))) | |
87309478 TS |
11248 | (native-inputs |
11249 | `(("ghc-tasty" ,ghc-tasty) | |
11250 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
dddbc90c RV |
11251 | (home-page "https://github.com/haskell/hackage-security") |
11252 | (synopsis "Domain Name Service (DNS) lookup via @code{libresolv}") | |
11253 | (description "This package implements an API for accessing the | |
11254 | @uref{https://tools.ietf.org/html/rfc1035, Domain Name Service (DNS)} | |
11255 | resolver service via the standard @code{libresolv} system library (whose | |
11256 | API is often available directly via the standard @code{libc} C library) on | |
11257 | Unix systems.") | |
11258 | (license license:gpl3))) | |
11259 | ||
11260 | (define-public ghc-resource-pool | |
11261 | (package | |
11262 | (name "ghc-resource-pool") | |
11263 | (version "0.2.3.2") | |
11264 | (source | |
11265 | (origin | |
11266 | (method url-fetch) | |
11267 | (uri (string-append "https://hackage.haskell.org/package/" | |
11268 | "resource-pool-" version "/" | |
11269 | "resource-pool-" version ".tar.gz")) | |
11270 | (sha256 | |
11271 | (base32 | |
11272 | "04mw8b9djb14zp4rdi6h7mc3zizh597ffiinfbr4m0m8psifw9w6")))) | |
11273 | (build-system haskell-build-system) | |
11274 | (inputs `(("ghc-hashable" ,ghc-hashable) | |
11275 | ("ghc-monad-control" ,ghc-monad-control) | |
11276 | ("ghc-transformers-base" ,ghc-transformers-base) | |
11277 | ("ghc-vector" ,ghc-vector))) | |
11278 | (home-page "https://github.com/bos/pool") | |
11279 | (synopsis "Striped resource pooling implementation in Haskell") | |
11280 | (description "This Haskell package provides striped pooling abstraction | |
11281 | for managing flexibly-sized collections of resources such as database | |
11282 | connections.") | |
11283 | (license license:bsd-3))) | |
11284 | ||
11285 | (define-public ghc-resourcet | |
11286 | (package | |
11287 | (name "ghc-resourcet") | |
9ac341ac | 11288 | (version "1.2.2") |
dddbc90c RV |
11289 | (source |
11290 | (origin | |
11291 | (method url-fetch) | |
11292 | (uri (string-append "https://hackage.haskell.org/package/resourcet/" | |
11293 | "resourcet-" version ".tar.gz")) | |
11294 | (sha256 | |
11295 | (base32 | |
9ac341ac | 11296 | "1rfbfcv3r1h29y0yqr3x6a1s04lbc3vzm3jqnfg4f9rqp9d448qk")))) |
dddbc90c RV |
11297 | (build-system haskell-build-system) |
11298 | (inputs | |
11299 | `(("ghc-transformers-base" ,ghc-transformers-base) | |
11300 | ("ghc-monad-control" ,ghc-monad-control) | |
11301 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
11302 | ("ghc-mmorph" ,ghc-mmorph) | |
11303 | ("ghc-exceptions" ,ghc-exceptions) | |
11304 | ("ghc-unliftio-core" ,ghc-unliftio-core))) | |
11305 | (native-inputs | |
11306 | `(("ghc-lifted-base" ,ghc-lifted-base) | |
11307 | ("ghc-hspec" ,ghc-hspec))) | |
11308 | (home-page "https://github.com/snoyberg/conduit") | |
11309 | (synopsis "Deterministic allocation and freeing of scarce resources") | |
11310 | (description "ResourceT is a monad transformer which creates a region of | |
11311 | code where you can safely allocate resources.") | |
11312 | (license license:bsd-3))) | |
11313 | ||
b9debc37 TS |
11314 | (define-public ghc-retry |
11315 | (package | |
11316 | (name "ghc-retry") | |
11317 | (version "0.8.1.0") | |
11318 | (source | |
11319 | (origin | |
11320 | (method url-fetch) | |
11321 | (uri (string-append "https://hackage.haskell.org/package/" | |
11322 | "retry/retry-" version ".tar.gz")) | |
11323 | (sha256 | |
11324 | (base32 | |
11325 | "02k03r86amg1vbrsvb644342ym13d9jwkzki9sk93pdg5l8j35dj")))) | |
11326 | (build-system haskell-build-system) | |
11327 | (inputs | |
11328 | `(("ghc-exceptions" ,ghc-exceptions) | |
11329 | ("ghc-random" ,ghc-random))) | |
11330 | (native-inputs | |
11331 | `(("ghc-hunit" ,ghc-hunit) | |
11332 | ("ghc-tasty" ,ghc-tasty) | |
11333 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
11334 | ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog) | |
11335 | ("ghc-hedgehog" ,ghc-hedgehog))) | |
702a1012 | 11336 | (home-page "https://github.com/Soostone/retry") |
b9debc37 TS |
11337 | (synopsis "Retry combinators for monadic actions that may fail") |
11338 | (description "This package exposes combinators that can wrap | |
11339 | arbitrary monadic actions. They run the action and potentially retry | |
11340 | running it with some configurable delay for a configurable number of | |
11341 | times. The purpose is to make it easier to work with IO and especially | |
11342 | network IO actions that often experience temporary failure and warrant | |
11343 | retrying of the original action. For example, a database query may time | |
11344 | out for a while, in which case we should hang back for a bit and retry | |
11345 | the query instead of simply raising an exception.") | |
11346 | (license license:bsd-3))) | |
11347 | ||
dddbc90c RV |
11348 | (define-public ghc-rfc5051 |
11349 | (package | |
11350 | (name "ghc-rfc5051") | |
ec42ab7c | 11351 | (version "0.1.0.4") |
dddbc90c RV |
11352 | (source |
11353 | (origin | |
11354 | (method url-fetch) | |
11355 | (uri (string-append "https://hackage.haskell.org/package/rfc5051/" | |
11356 | "rfc5051-" version ".tar.gz")) | |
11357 | (sha256 | |
11358 | (base32 | |
ec42ab7c | 11359 | "1lxkq414ni986ciml4gbvf463fn55z299knky7pq3ixb1qislpb1")))) |
dddbc90c RV |
11360 | (build-system haskell-build-system) |
11361 | (home-page "https://hackage.haskell.org/package/rfc5051") | |
11362 | (synopsis "Simple unicode collation as per RFC5051") | |
11363 | (description | |
11364 | "This library implements @code{unicode-casemap}, the simple, non | |
11365 | locale-sensitive unicode collation algorithm described in RFC 5051. Proper | |
11366 | unicode collation can be done using @code{text-icu}, but that is a big | |
11367 | dependency that depends on a large C library, and @code{rfc5051} might be | |
11368 | better for some purposes.") | |
11369 | (license license:bsd-3))) | |
11370 | ||
11371 | (define-public ghc-rio | |
11372 | (package | |
11373 | (name "ghc-rio") | |
8bda2fa7 | 11374 | (version "0.1.12.0") |
dddbc90c RV |
11375 | (source |
11376 | (origin | |
11377 | (method url-fetch) | |
11378 | (uri (string-append | |
11379 | "https://hackage.haskell.org/package/rio/rio-" | |
11380 | version ".tar.gz")) | |
11381 | (sha256 | |
11382 | (base32 | |
8bda2fa7 | 11383 | "0xzjkh6aavynpyskikhs8dmv0zhkiqiwz9zdn80zbd25b2182pif")))) |
dddbc90c RV |
11384 | (build-system haskell-build-system) |
11385 | (inputs | |
11386 | `(("ghc-exceptions" ,ghc-exceptions) | |
11387 | ("ghc-hashable" ,ghc-hashable) | |
11388 | ("ghc-microlens" ,ghc-microlens) | |
11389 | ("ghc-primitive" ,ghc-primitive) | |
11390 | ("ghc-typed-process" ,ghc-typed-process) | |
11391 | ("ghc-unliftio" ,ghc-unliftio) | |
11392 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
11393 | ("ghc-vector" ,ghc-vector))) | |
11394 | (native-inputs | |
11395 | `(("ghc-hspec" ,ghc-hspec) | |
11396 | ("hspec-discover" ,hspec-discover))) | |
11397 | (home-page "https://github.com/commercialhaskell/rio#readme") | |
11398 | (synopsis "A standard library for Haskell") | |
11399 | (description "This package works as a prelude replacement for Haskell, | |
11400 | providing more functionality and types out of the box than the standard | |
11401 | prelude (such as common data types like @code{ByteString} and | |
11402 | @code{Text}), as well as removing common ``gotchas'', like partial | |
11403 | functions and lazy I/O. The guiding principle here is: | |
11404 | @itemize | |
11405 | @item If something is safe to use in general and has no expected naming | |
11406 | conflicts, expose it. | |
11407 | @item If something should not always be used, or has naming conflicts, | |
11408 | expose it from another module in the hierarchy. | |
11409 | @end itemize") | |
11410 | (license license:expat))) | |
11411 | ||
11412 | (define-public ghc-safe | |
11413 | (package | |
11414 | (name "ghc-safe") | |
11415 | (version "0.3.17") | |
11416 | (source | |
11417 | (origin | |
11418 | (method url-fetch) | |
11419 | (uri (string-append | |
11420 | "https://hackage.haskell.org/package/safe/safe-" | |
11421 | version | |
11422 | ".tar.gz")) | |
11423 | (sha256 | |
11424 | (base32 | |
11425 | "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr")))) | |
11426 | (build-system haskell-build-system) | |
11427 | (native-inputs | |
11428 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
11429 | (home-page "https://github.com/ndmitchell/safe#readme") | |
11430 | (synopsis "Library of safe (exception free) functions") | |
11431 | (description "This library provides wrappers around @code{Prelude} and | |
11432 | @code{Data.List} functions, such as @code{head} and @code{!!}, that can throw | |
11433 | exceptions.") | |
11434 | (license license:bsd-3))) | |
11435 | ||
11436 | (define-public ghc-safe-exceptions | |
11437 | (package | |
11438 | (name "ghc-safe-exceptions") | |
11439 | (version "0.1.7.0") | |
11440 | (source | |
11441 | (origin | |
11442 | (method url-fetch) | |
11443 | (uri (string-append "https://hackage.haskell.org/package/" | |
11444 | "safe-exceptions/safe-exceptions-" | |
11445 | version ".tar.gz")) | |
11446 | (sha256 | |
11447 | (base32 | |
11448 | "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q")))) | |
11449 | (build-system haskell-build-system) | |
11450 | (arguments | |
11451 | '(#:cabal-revision | |
11452 | ("4" "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32"))) | |
11453 | (inputs `(("ghc-exceptions" ,ghc-exceptions))) | |
11454 | (native-inputs | |
11455 | `(("ghc-hspec" ,ghc-hspec) | |
11456 | ("ghc-void" ,ghc-void) | |
11457 | ("hspec-discover" ,hspec-discover))) | |
11458 | (home-page "https://github.com/fpco/safe-exceptions") | |
11459 | (synopsis "Safe, consistent, and easy exception handling") | |
11460 | (description "Runtime exceptions - as exposed in @code{base} by the | |
11461 | @code{Control.Exception} module - have long been an intimidating part of the | |
11462 | Haskell ecosystem. This package is intended to overcome this. It provides a | |
11463 | safe and simple API on top of the existing exception handling machinery. The | |
11464 | API is equivalent to the underlying implementation in terms of power but | |
11465 | encourages best practices to minimize the chances of getting the exception | |
11466 | handling wrong.") | |
11467 | (license license:expat))) | |
11468 | ||
11469 | (define-public ghc-safeio | |
11470 | (package | |
11471 | (name "ghc-safeio") | |
11472 | (version "0.0.5.0") | |
11473 | (source | |
11474 | (origin | |
11475 | (method url-fetch) | |
11476 | (uri (string-append "https://hackage.haskell.org/package/safeio/" | |
11477 | "safeio-" version ".tar.gz")) | |
11478 | (sha256 | |
11479 | (base32 | |
11480 | "04g3070cbjdqj0h9l9ii6470xcbn40xfv4fr89a8yvnkdim9nyfm")))) | |
11481 | (build-system haskell-build-system) | |
11482 | (inputs | |
11483 | `(("ghc-conduit" ,ghc-conduit) | |
11484 | ("ghc-conduit-combinators" ,ghc-conduit-combinators) | |
11485 | ("ghc-exceptions" ,ghc-exceptions) | |
11486 | ("ghc-resourcet" ,ghc-resourcet))) | |
11487 | (native-inputs | |
11488 | `(("ghc-hunit" ,ghc-hunit) | |
11489 | ("ghc-test-framework" ,ghc-test-framework) | |
11490 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
11491 | ("ghc-test-framework-th" ,ghc-test-framework-th))) | |
11492 | (home-page "https://github.com/luispedro/safeio") | |
11493 | (synopsis "Write output to disk atomically") | |
11494 | (description | |
11495 | "This package implements utilities to perform atomic output so as to | |
11496 | avoid the problem of partial intermediate files.") | |
11497 | (license license:expat))) | |
11498 | ||
11499 | (define-public ghc-safesemaphore | |
11500 | (package | |
11501 | (name "ghc-safesemaphore") | |
11502 | (version "0.10.1") | |
11503 | (source | |
11504 | (origin | |
11505 | (method url-fetch) | |
11506 | (uri (string-append "https://hackage.haskell.org/package/" | |
11507 | "SafeSemaphore/SafeSemaphore-" version ".tar.gz")) | |
11508 | (sha256 | |
11509 | (base32 | |
11510 | "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91")))) | |
11511 | (build-system haskell-build-system) | |
11512 | (native-inputs | |
11513 | `(("ghc-hunit" ,ghc-hunit))) | |
11514 | (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore") | |
11515 | (synopsis "Exception safe semaphores") | |
11516 | (description "This library provides exception safe semaphores that can be | |
11517 | used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which | |
11518 | are not exception safe and can be broken by @code{killThread}.") | |
11519 | (license license:bsd-3))) | |
11520 | ||
11521 | (define-public ghc-sandi | |
11522 | (package | |
11523 | (name "ghc-sandi") | |
b867c2b0 | 11524 | (version "0.5") |
dddbc90c RV |
11525 | (source |
11526 | (origin | |
11527 | (method url-fetch) | |
11528 | (uri (string-append | |
11529 | "https://hackage.haskell.org/package/sandi/sandi-" | |
11530 | version ".tar.gz")) | |
11531 | (sha256 | |
11532 | (base32 | |
b867c2b0 | 11533 | "1ndgai8idlxyccvkz5zsgq06v58blc30i6hkky5b1sf5x6gs2h29")))) |
dddbc90c RV |
11534 | (build-system haskell-build-system) |
11535 | (inputs | |
11536 | `(("ghc-stringsearch" ,ghc-stringsearch) | |
11537 | ("ghc-conduit" ,ghc-conduit) | |
11538 | ("ghc-exceptions" ,ghc-exceptions) | |
11539 | ("ghc-hunit" ,ghc-hunit) | |
11540 | ("ghc-tasty" ,ghc-tasty) | |
11541 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
11542 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
11543 | ("ghc-tasty-th" ,ghc-tasty-th))) | |
11544 | (home-page "https://hackage.haskell.org/package/sandi") | |
11545 | (synopsis "Data encoding library") | |
11546 | (description "Reasonably fast data encoding library.") | |
11547 | (license license:bsd-3))) | |
11548 | ||
4da75228 ASM |
11549 | (define-public ghc-say |
11550 | (package | |
11551 | (name "ghc-say") | |
11552 | (version "0.1.0.1") | |
11553 | (source | |
11554 | (origin | |
11555 | (method url-fetch) | |
11556 | (uri (string-append | |
11557 | "https://hackage.haskell.org/package/say/say-" | |
11558 | version | |
11559 | ".tar.gz")) | |
11560 | (sha256 | |
11561 | (base32 | |
11562 | "1r5kffjfwpas45g74sip8glrj1m9nygrnxjm7xgw898rq9pnafgn")))) | |
11563 | (build-system haskell-build-system) | |
11564 | (native-inputs | |
11565 | `(("ghc-hspec" ,ghc-hspec) | |
11566 | ("hspec-discover" ,hspec-discover) | |
11567 | ("ghc-unliftio" ,ghc-unliftio))) | |
11568 | (home-page "https://github.com/fpco/say") | |
11569 | (synopsis | |
11570 | "Send textual messages to a Handle in a thread-friendly way") | |
11571 | (description | |
11572 | "A thread safe API to write a line of textual data to a Handle, such | |
11573 | as sending some messages to the terminal - that has the following properties: | |
11574 | @itemize | |
11575 | @item Properly handle character encoding settings on the Handle | |
11576 | @item For reasonably sized messages, ensure that the entire message is written | |
11577 | in one chunk to avoid interleaving data with other threads | |
11578 | @item Avoid unnecessary memory allocations and copies | |
11579 | @item Minimize locking. | |
11580 | @end itemize") | |
11581 | (license license:expat))) | |
11582 | ||
dddbc90c RV |
11583 | (define-public ghc-scientific |
11584 | (package | |
11585 | (name "ghc-scientific") | |
11586 | (version "0.3.6.2") | |
11587 | (source | |
11588 | (origin | |
11589 | (method url-fetch) | |
11590 | (uri (string-append | |
11591 | "https://hackage.haskell.org/package/scientific/scientific-" | |
11592 | version | |
11593 | ".tar.gz")) | |
11594 | (sha256 | |
11595 | (base32 | |
11596 | "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397")))) | |
11597 | (build-system haskell-build-system) | |
11598 | (inputs | |
11599 | `(("ghc-integer-logarithms" ,ghc-integer-logarithms) | |
11600 | ("ghc-hashable" ,ghc-hashable) | |
11601 | ("ghc-primitive" ,ghc-primitive))) | |
11602 | (native-inputs | |
11603 | `(("ghc-tasty" ,ghc-tasty) | |
11604 | ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml) | |
11605 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
11606 | ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) | |
11607 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
11608 | ("ghc-smallcheck" ,ghc-smallcheck) | |
11609 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
11610 | (home-page "https://github.com/basvandijk/scientific") | |
11611 | (synopsis "Numbers represented using scientific notation") | |
11612 | (description "This package provides @code{Data.Scientific}, which provides | |
11613 | the number type @code{Scientific}. Scientific numbers are arbitrary precision | |
11614 | and space efficient. They are represented using | |
11615 | @uref{https://en.wikipedia.org/wiki/Scientific_notation, scientific | |
11616 | notation}.") | |
11617 | (license license:bsd-3))) | |
11618 | ||
11619 | (define-public ghc-scientific-bootstrap | |
11620 | (package | |
11621 | (inherit ghc-scientific) | |
11622 | (name "ghc-scientific-bootstrap") | |
11623 | (arguments `(#:tests? #f)) | |
11624 | (inputs | |
11625 | `(("ghc-integer-logarithms" ,ghc-integer-logarithms-bootstrap) | |
11626 | ("ghc-hashable" ,ghc-hashable) | |
11627 | ("ghc-primitive" ,ghc-primitive))) | |
11628 | (native-inputs '()) | |
799d8d3c | 11629 | (properties '((hidden? #t))))) |
dddbc90c RV |
11630 | |
11631 | (define-public ghc-sdl | |
11632 | (package | |
11633 | (name "ghc-sdl") | |
11634 | (version "0.6.7.0") | |
11635 | (source | |
11636 | (origin | |
11637 | (method url-fetch) | |
11638 | (uri (string-append | |
11639 | "https://hackage.haskell.org/package/SDL/SDL-" | |
11640 | version | |
11641 | ".tar.gz")) | |
11642 | (sha256 | |
11643 | (base32 | |
11644 | "00y67v80a8l09i3k76z09lg25kw72ivl09nag8ckdlk4a0cfnzfq")))) | |
11645 | (build-system haskell-build-system) | |
11646 | (inputs | |
11647 | `(("sdl" ,sdl))) | |
11648 | (home-page "https://hackage.haskell.org/package/SDL") | |
11649 | (synopsis "LibSDL for Haskell") | |
11650 | (description "Simple DirectMedia Layer (libSDL) is a cross-platform | |
11651 | multimedia library designed to provide low level access to audio, keyboard, | |
11652 | mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used | |
11653 | by MPEG playback software, emulators, and many popular games, including the | |
11654 | award winning Linux port of \"Civilization: Call To Power.\"") | |
11655 | (license license:bsd-3))) | |
11656 | ||
1874cdc1 RV |
11657 | (define-public ghc-sdl2 |
11658 | (package | |
11659 | (name "ghc-sdl2") | |
145148ca | 11660 | (version "2.5.0.0") |
1874cdc1 RV |
11661 | (source |
11662 | (origin | |
11663 | (method url-fetch) | |
11664 | (uri (string-append "https://hackage.haskell.org/package/" | |
11665 | "sdl2/sdl2-" version ".tar.gz")) | |
11666 | (sha256 | |
11667 | (base32 | |
145148ca | 11668 | "1x368yhdd55b3cvx8dvj1sj6nzygzigbhrwhssjs4k0rcxlwqfw8")))) |
1874cdc1 RV |
11669 | (build-system haskell-build-system) |
11670 | (arguments '(#:tests? #f)) ; tests require graphical environment | |
11671 | (inputs | |
11672 | `(("ghc-exceptions" ,ghc-exceptions) | |
11673 | ("ghc-linear" ,ghc-linear) | |
11674 | ("ghc-statevar" ,ghc-statevar) | |
11675 | ("ghc-vector" ,ghc-vector) | |
11676 | ("sdl2" ,sdl2))) | |
11677 | (native-inputs | |
11678 | `(("ghc-weigh" ,ghc-weigh) | |
11679 | ("pkg-config" ,pkg-config))) | |
35437dbf | 11680 | (home-page "https://hackage.haskell.org/package/sdl2") |
1874cdc1 RV |
11681 | (synopsis "High- and low-level bindings to the SDL library") |
11682 | (description | |
11683 | "This package contains bindings to the SDL 2 library, in both high- and | |
11684 | low-level forms. The @code{SDL} namespace contains high-level bindings, where | |
11685 | enumerations are split into sum types, and we perform automatic | |
11686 | error-checking. The @code{SDL.Raw} namespace contains an almost 1-1 | |
11687 | translation of the C API into Haskell FFI calls. As such, this does not | |
11688 | contain sum types nor error checking. Thus this namespace is suitable for | |
11689 | building your own abstraction over SDL, but is not recommended for day-to-day | |
11690 | programming.") | |
11691 | (license license:bsd-3))) | |
11692 | ||
11693 | (define-public ghc-sdl2-image | |
11694 | (package | |
11695 | (name "ghc-sdl2-image") | |
11696 | (version "2.0.0") | |
11697 | (source | |
11698 | (origin | |
11699 | (method url-fetch) | |
11700 | (uri (string-append "https://hackage.haskell.org/package/sdl2-image/" | |
11701 | "sdl2-image-" version ".tar.gz")) | |
11702 | (sha256 | |
11703 | (base32 | |
11704 | "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr")))) | |
11705 | (build-system haskell-build-system) | |
11706 | (inputs | |
11707 | `(("ghc-sdl2" ,ghc-sdl2) | |
11708 | ("sdl2-image" ,sdl2-image))) | |
11709 | (native-inputs | |
11710 | `(("pkg-config" ,pkg-config))) | |
3ef91e15 | 11711 | (home-page "https://hackage.haskell.org/package/sdl2-image") |
1874cdc1 RV |
11712 | (synopsis "Bindings to SDL2_image") |
11713 | (description "This package provides Haskell bindings to | |
11714 | @code{SDL2_image}.") | |
11715 | (license license:expat))) | |
11716 | ||
11717 | (define-public ghc-sdl2-mixer | |
11718 | (package | |
11719 | (name "ghc-sdl2-mixer") | |
11720 | (version "1.1.0") | |
11721 | (source | |
11722 | (origin | |
11723 | (method url-fetch) | |
11724 | (uri (string-append "https://hackage.haskell.org/package/sdl2-mixer/" | |
11725 | "sdl2-mixer-" version ".tar.gz")) | |
11726 | (sha256 | |
11727 | (base32 | |
11728 | "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g")))) | |
11729 | (build-system haskell-build-system) | |
11730 | (inputs | |
11731 | `(("ghc-data-default-class" ,ghc-data-default-class) | |
11732 | ("ghc-lifted-base" ,ghc-lifted-base) | |
11733 | ("ghc-monad-control" ,ghc-monad-control) | |
11734 | ("ghc-sdl2" ,ghc-sdl2) | |
11735 | ("ghc-vector" ,ghc-vector) | |
11736 | ("sdl2-mixer" ,sdl2-mixer))) | |
11737 | (native-inputs | |
11738 | `(("pkg-config" ,pkg-config))) | |
3ef91e15 | 11739 | (home-page "https://hackage.haskell.org/package/sdl2-mixer") |
1874cdc1 RV |
11740 | (synopsis "Bindings to SDL2 mixer") |
11741 | (description "This package provides Haskell bindings to | |
11742 | @code{SDL2_mixer}.") | |
11743 | (license license:bsd-3))) | |
11744 | ||
dddbc90c RV |
11745 | (define-public ghc-sdl-image |
11746 | (package | |
11747 | (name "ghc-sdl-image") | |
11748 | (version "0.6.2.0") | |
11749 | (source | |
11750 | (origin | |
11751 | (method url-fetch) | |
11752 | (uri (string-append | |
11753 | "https://hackage.haskell.org/package/SDL-image/SDL-image-" | |
11754 | version | |
11755 | ".tar.gz")) | |
11756 | (sha256 | |
11757 | (base32 | |
11758 | "1gxwrvswgwjw6g7ym52gik22l9l3ljy592phv97jdmcf3gi6qcg1")))) | |
11759 | (build-system haskell-build-system) | |
11760 | (arguments | |
11761 | `(#:configure-flags | |
11762 | (let* ((sdl-image (assoc-ref %build-inputs "sdl-image")) | |
11763 | (sdl-image-include (string-append sdl-image "/include/SDL"))) | |
11764 | (list (string-append "--extra-include-dirs=" sdl-image-include))))) | |
11765 | (inputs | |
11766 | `(("ghc-sdl" ,ghc-sdl) | |
11767 | ("sdl-image" ,sdl-image))) | |
11768 | (home-page "https://hackage.haskell.org/package/SDL-image") | |
11769 | (synopsis "Haskell bindings to libSDL_image") | |
11770 | (description "SDL_image is an image file loading library. It loads images | |
11771 | as SDL surfaces, and supports the following formats: BMP, GIF, JPEG, LBM, PCX, | |
11772 | PNG, PNM, TGA, TIFF, XCF, XPM, XV.") | |
11773 | (license license:bsd-3))) | |
11774 | ||
11775 | (define-public ghc-sdl-mixer | |
11776 | (package | |
11777 | (name "ghc-sdl-mixer") | |
11778 | (version "0.6.3.0") | |
11779 | (source | |
11780 | (origin | |
11781 | (method url-fetch) | |
11782 | (uri (string-append | |
11783 | "https://hackage.haskell.org/package/SDL-mixer/SDL-mixer-" | |
11784 | version | |
11785 | ".tar.gz")) | |
11786 | (sha256 | |
11787 | (base32 | |
11788 | "0k26hqgdh789ka3mv4dsk6rin6x6vwcs6hjmnsqq7j3mnrh1342r")))) | |
11789 | (build-system haskell-build-system) | |
11790 | (arguments | |
11791 | `(#:configure-flags | |
11792 | (let* ((sdl-mixer (assoc-ref %build-inputs "sdl-mixer")) | |
11793 | (sdl-mixer-include (string-append sdl-mixer "/include/SDL"))) | |
11794 | (list (string-append "--extra-include-dirs=" sdl-mixer-include))))) | |
11795 | (inputs | |
11796 | `(("ghc-sdl" ,ghc-sdl) | |
11797 | ("sdl-mixer" ,sdl-mixer))) | |
11798 | (home-page "https://hackage.haskell.org/package/SDL-mixer") | |
11799 | (synopsis "Haskell bindings to libSDL_mixer") | |
11800 | (description "SDL_mixer is a sample multi-channel audio mixer library. It | |
11801 | supports any number of simultaneously playing channels of 16 bit stereo audio, | |
11802 | plus a single channel of music, mixed by the popular MikMod MOD, Timidity | |
11803 | MIDI, Ogg Vorbis, and SMPEG MP3 libraries.") | |
11804 | (license license:bsd-3))) | |
11805 | ||
11806 | (define-public ghc-securemem | |
11807 | (package | |
11808 | (name "ghc-securemem") | |
11809 | (version "0.1.10") | |
11810 | (source | |
11811 | (origin | |
11812 | (method url-fetch) | |
11813 | (uri (string-append "https://hackage.haskell.org/package/" | |
11814 | "securemem-" version "/" | |
11815 | "securemem-" version ".tar.gz")) | |
11816 | (sha256 | |
11817 | (base32 | |
11818 | "19hnw2cfbsfjynxq1bq9f6djbxhsc1k751ml0y1ab3ah913mm29j")))) | |
11819 | (build-system haskell-build-system) | |
11820 | (inputs `(("ghc-byteable" ,ghc-byteable) | |
11821 | ("ghc-memory" ,ghc-memory))) | |
11822 | (home-page "https://github.com/vincenthz/hs-securemem") | |
11823 | (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for | |
11824 | Haskell") | |
11825 | (description "SecureMem is similar to ByteString, except that it provides | |
11826 | a memory chunk that will be auto-scrubbed after it run out of scope.") | |
11827 | (license license:bsd-3))) | |
11828 | ||
3cf7219c JS |
11829 | (define-public ghc-semialign |
11830 | (package | |
11831 | (name "ghc-semialign") | |
11832 | (version "1") | |
11833 | (source | |
11834 | (origin | |
11835 | (method url-fetch) | |
11836 | (uri (string-append | |
11837 | "https://hackage.haskell.org/package/semialign/semialign-" | |
11838 | version | |
11839 | ".tar.gz")) | |
11840 | (sha256 | |
11841 | (base32 | |
11842 | "004x0a80sqqdgvsyk4z0nasxpi6z3g1d8kgwj804bj9ka8dlc75m")))) | |
11843 | (build-system haskell-build-system) | |
11844 | (inputs | |
11845 | `(("ghc-these" ,ghc-these) | |
11846 | ("ghc-base-compat" ,ghc-base-compat) | |
11847 | ("ghc-hashable" ,ghc-hashable) | |
11848 | ("ghc-tagged" ,ghc-tagged) | |
11849 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
11850 | ("ghc-vector" ,ghc-vector) | |
11851 | ("ghc-semigroupoids" ,ghc-semigroupoids))) | |
11852 | (arguments | |
11853 | `(#:cabal-revision | |
11854 | ("1" | |
11855 | "0qnqnyfng4kwy2h2anrcy5id2ijnawava3zcc5h5b8ri1y6ks6zi"))) | |
11856 | (home-page | |
11857 | "https://github.com/isomorphism/these") | |
11858 | (synopsis | |
11859 | "Align and Zip type-classes from the common Semialign ancestor ") | |
11860 | (description | |
11861 | "The major use of @code{These} of this is provided by the | |
11862 | @code{align} member of @code{Semialign} class, representing a | |
11863 | generalized notion of \"zipping with padding\" that combines | |
11864 | structures without truncating to the size of the smaller input. It | |
11865 | turns out that @code{zip} operation fits well the @code{Semialign} | |
11866 | class, forming lattice-like structure.") | |
11867 | (license license:bsd-3))) | |
11868 | ||
dddbc90c RV |
11869 | (define-public ghc-semigroupoids |
11870 | (package | |
11871 | (name "ghc-semigroupoids") | |
a8aaadf2 | 11872 | (version "5.3.3") |
dddbc90c RV |
11873 | (source |
11874 | (origin | |
11875 | (method url-fetch) | |
11876 | (uri (string-append | |
11877 | "https://hackage.haskell.org/package/semigroupoids/semigroupoids-" | |
11878 | version | |
11879 | ".tar.gz")) | |
11880 | (sha256 | |
11881 | (base32 | |
a8aaadf2 | 11882 | "016hc4imr9l4szs3p7f1aahvxr5wv4clvr3qzrm3nibssg5vrs61")))) |
dddbc90c | 11883 | (build-system haskell-build-system) |
95eb946b | 11884 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
11885 | (inputs |
11886 | `(("ghc-base-orphans" ,ghc-base-orphans) | |
11887 | ("ghc-transformers-compat" ,ghc-transformers-compat) | |
11888 | ("ghc-bifunctors" ,ghc-bifunctors) | |
11889 | ("ghc-comonad" ,ghc-comonad) | |
11890 | ("ghc-contravariant" ,ghc-contravariant) | |
11891 | ("ghc-distributive" ,ghc-distributive) | |
11892 | ("ghc-hashable" ,ghc-hashable) | |
11893 | ("ghc-semigroups" ,ghc-semigroups) | |
11894 | ("ghc-tagged" ,ghc-tagged) | |
11895 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
11896 | (native-inputs | |
11897 | `(("cabal-doctest" ,cabal-doctest) | |
11898 | ("ghc-doctest" ,ghc-doctest))) | |
11899 | (home-page "https://github.com/ekmett/semigroupoids") | |
11900 | (synopsis "Semigroupoids operations for Haskell") | |
11901 | (description "This library provides a wide array of (semi)groupoids and | |
11902 | operations for working with them. A @code{Semigroupoid} is a @code{Category} | |
11903 | without the requirement of identity arrows for every object in the category. | |
11904 | A @code{Category} is any @code{Semigroupoid} for which the Yoneda lemma holds. | |
11905 | Finally, to work with these weaker structures it is beneficial to have | |
11906 | containers that can provide stronger guarantees about their contents, so | |
11907 | versions of @code{Traversable} and @code{Foldable} that can be folded with | |
11908 | just a @code{Semigroup} are added.") | |
11909 | (license license:bsd-3))) | |
11910 | ||
11911 | (define-public ghc-semigroups | |
11912 | (package | |
11913 | (name "ghc-semigroups") | |
11914 | (version "0.18.5") | |
11915 | (source | |
11916 | (origin | |
11917 | (method url-fetch) | |
11918 | (uri (string-append | |
11919 | "https://hackage.haskell.org/package/semigroups/semigroups-" | |
11920 | version | |
11921 | ".tar.gz")) | |
11922 | (sha256 | |
11923 | (base32 | |
11924 | "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb")))) | |
11925 | (build-system haskell-build-system) | |
11926 | (inputs | |
11927 | `(("ghc-nats" ,ghc-nats) | |
11928 | ("ghc-tagged" ,ghc-tagged) | |
11929 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
11930 | ("ghc-hashable" ,ghc-hashable))) | |
11931 | (home-page "https://github.com/ekmett/semigroups/") | |
11932 | (synopsis "Semigroup operations for Haskell") | |
11933 | (description "This package provides semigroups for Haskell. In | |
11934 | mathematics, a semigroup is an algebraic structure consisting of a set | |
11935 | together with an associative binary operation. A semigroup generalizes a | |
11936 | monoid in that there might not exist an identity element. It | |
11937 | also (originally) generalized a group (a monoid with all inverses) to a type | |
11938 | where every element did not have to have an inverse, thus the name | |
11939 | semigroup.") | |
11940 | (license license:bsd-3))) | |
11941 | ||
11942 | (define-public ghc-semigroups-bootstrap | |
11943 | (package | |
11944 | (inherit ghc-semigroups) | |
11945 | (name "ghc-semigroups-bootstrap") | |
11946 | (inputs | |
11947 | `(("ghc-nats" ,ghc-nats-bootstrap) | |
11948 | ("ghc-tagged" ,ghc-tagged) | |
11949 | ("ghc-unordered-containers" ,ghc-unordered-containers-bootstrap) | |
11950 | ("ghc-hashable" ,ghc-hashable-bootstrap))) | |
799d8d3c | 11951 | (properties '((hidden? #t))))) |
dddbc90c | 11952 | |
47c526df JS |
11953 | (define-public ghc-serialise |
11954 | (package | |
11955 | (name "ghc-serialise") | |
11956 | (version "0.2.1.0") | |
11957 | (source | |
11958 | (origin | |
11959 | (method url-fetch) | |
11960 | (uri (string-append | |
11961 | "mirror://hackage/package/serialise/serialise-" | |
11962 | version | |
11963 | ".tar.gz")) | |
11964 | (sha256 | |
11965 | (base32 | |
11966 | "19ary6ivzk8z7wcxhm860qmh7pwqj0qjqzav1h42y85l608zqgh4")))) | |
11967 | (build-system haskell-build-system) | |
11968 | (inputs | |
11969 | `(("ghc-cborg" ,ghc-cborg) | |
11970 | ("ghc-half" ,ghc-half) | |
11971 | ("ghc-hashable" ,ghc-hashable) | |
11972 | ("ghc-primitive" ,ghc-primitive) | |
11973 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
11974 | ("ghc-vector" ,ghc-vector))) | |
11975 | (native-inputs | |
11976 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
11977 | ("ghc-tasty" ,ghc-tasty) | |
11978 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
11979 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
11980 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances))) | |
11981 | (arguments | |
11982 | `(#:cabal-revision | |
11983 | ("1" "1rknhad1i8bpknsnphmcmb6dnb48c2p2c13ia2qqch3hkhsvfpr6"))) | |
11984 | (home-page "https://github.com/well-typed/cborg") | |
11985 | (synopsis "Binary serialisation library for Haskell values") | |
11986 | (description | |
11987 | "This package (formerly binary-serialise-cbor) provides pure, | |
11988 | efficient serialization of Haskell values directly into ByteStrings for | |
11989 | storage or transmission purposes. By providing a set of type class instances, | |
11990 | you can also serialise any custom data type you have as well. | |
11991 | ||
11992 | The underlying binary format used is the 'Concise Binary Object | |
11993 | Representation', or CBOR, specified in RFC 7049. As a result, serialised | |
11994 | Haskell values have implicit structure outside of the Haskell program itself, | |
11995 | meaning they can be inspected or analyzed without custom tools. | |
11996 | ||
11997 | An implementation of the standard bijection between CBOR and JSON is | |
11998 | provided by the https://hackage.haskell.org/package/cborg-json | |
11999 | package. Also see https://hackage.haskell.org/package/cbor-tool for a | |
12000 | convenient command-line utility for working with CBOR data.") | |
12001 | (license license:bsd-3))) | |
12002 | ||
dddbc90c RV |
12003 | (define-public ghc-setenv |
12004 | (package | |
12005 | (name "ghc-setenv") | |
12006 | (version "0.1.1.3") | |
12007 | (source | |
12008 | (origin | |
12009 | (method url-fetch) | |
12010 | (uri (string-append | |
12011 | "https://hackage.haskell.org/package/setenv/setenv-" | |
12012 | version | |
12013 | ".tar.gz")) | |
12014 | (sha256 | |
12015 | (base32 | |
12016 | "0cnbgrvb9byyahb37zlqrj05rj25v190crgcw8wmlgf0mwwxyn73")))) | |
12017 | (build-system haskell-build-system) | |
12018 | (home-page "https://hackage.haskell.org/package/setenv") | |
12019 | (synopsis "Library for setting environment variables") | |
12020 | (description "This package provides a Haskell library for setting | |
12021 | environment variables.") | |
12022 | (license license:expat))) | |
12023 | ||
12024 | (define-public ghc-setlocale | |
12025 | (package | |
12026 | (name "ghc-setlocale") | |
9d7cfc9b | 12027 | (version "1.0.0.9") |
dddbc90c RV |
12028 | (source (origin |
12029 | (method url-fetch) | |
12030 | (uri (string-append | |
12031 | "https://hackage.haskell.org/package/setlocale-" | |
12032 | version "/setlocale-" version ".tar.gz")) | |
12033 | (sha256 | |
12034 | (base32 | |
9d7cfc9b | 12035 | "18b6xafspzxrmz5m9r9nzy3z053crqi59xc8n8aqd4gw0pvqdcrv")))) |
dddbc90c RV |
12036 | (build-system haskell-build-system) |
12037 | (home-page "https://hackage.haskell.org/package/setlocale") | |
12038 | (synopsis "Haskell bindings to setlocale") | |
12039 | (description "This package provides Haskell bindings to the | |
12040 | @code{setlocale} C function.") | |
12041 | (license license:bsd-3))) | |
12042 | ||
12043 | (define-public ghc-shakespeare | |
12044 | (package | |
12045 | (name "ghc-shakespeare") | |
f680955f | 12046 | (version "2.0.22") |
dddbc90c RV |
12047 | (source |
12048 | (origin | |
12049 | (method url-fetch) | |
12050 | (uri (string-append "https://hackage.haskell.org/package/" | |
12051 | "shakespeare-" version "/" | |
12052 | "shakespeare-" version ".tar.gz")) | |
12053 | (sha256 | |
12054 | (base32 | |
f680955f | 12055 | "1mc1a0vv070gcawwcx6vzpj6gpfh1qnlqrndiyfic3p500y656vh")))) |
dddbc90c RV |
12056 | (build-system haskell-build-system) |
12057 | (inputs `(("ghc-aeson" ,ghc-aeson) | |
12058 | ("ghc-blaze-markup" ,ghc-blaze-markup) | |
12059 | ("ghc-blaze-html" ,ghc-blaze-html) | |
12060 | ("ghc-exceptions" ,ghc-exceptions) | |
12061 | ("ghc-vector" ,ghc-vector) | |
12062 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
12063 | ("ghc-scientific" ,ghc-scientific))) | |
12064 | (native-inputs `(("ghc-hspec" ,ghc-hspec) | |
12065 | ("ghc-hunit" ,ghc-hunit) | |
12066 | ("hspec-discover" ,hspec-discover))) | |
12067 | (home-page "https://www.yesodweb.com/book/shakespearean-templates") | |
12068 | (synopsis "Family of type-safe template languages for Haskell") | |
12069 | (description "This Haskell package provides a family of type-safe | |
12070 | templates with simple variable interpolation. Shakespeare templates can | |
12071 | be used inline with a quasi-quoter or in an external file and it | |
12072 | interpolates variables according to the type being inserted.") | |
12073 | (license license:expat))) | |
12074 | ||
12075 | (define-public ghc-shelly | |
12076 | (package | |
12077 | (name "ghc-shelly") | |
12078 | (version "1.8.1") | |
12079 | (source | |
12080 | (origin | |
12081 | (method url-fetch) | |
12082 | (uri (string-append | |
12083 | "https://hackage.haskell.org/package/shelly/shelly-" | |
12084 | version ".tar.gz")) | |
12085 | (sha256 | |
12086 | (base32 | |
12087 | "023fbvbqs5gdwm30j5517gbdcc7fvz0md70dgwgpypkskj3i926y")))) | |
12088 | (build-system haskell-build-system) | |
12089 | (inputs | |
12090 | `(("ghc-unix-compat" ,ghc-unix-compat) | |
12091 | ("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap) | |
12092 | ("ghc-system-fileio-bootstrap" ,ghc-system-fileio-bootstrap) | |
12093 | ("ghc-monad-control" ,ghc-monad-control) | |
12094 | ("ghc-lifted-base" ,ghc-lifted-base) | |
12095 | ("ghc-lifted-async" ,ghc-lifted-async) | |
12096 | ("ghc-exceptions" ,ghc-exceptions) | |
12097 | ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions) | |
12098 | ("ghc-async" ,ghc-async) | |
12099 | ("ghc-transformers-base" ,ghc-transformers-base) | |
12100 | ("ghc-hunit" ,ghc-hunit) | |
12101 | ("ghc-hspec" ,ghc-hspec) | |
12102 | ("ghc-hspec-contrib" ,ghc-hspec-contrib))) | |
12103 | (home-page "https://github.com/yesodweb/Shelly.hs") | |
12104 | (synopsis "Shell-like (systems) programming in Haskell") | |
12105 | (description | |
12106 | "Shelly provides convenient systems programming in Haskell, similar in | |
12107 | spirit to POSIX shells. Shelly is originally forked from the Shellish package.") | |
12108 | (license license:bsd-3))) | |
12109 | ||
12110 | (define-public ghc-silently | |
12111 | (package | |
12112 | (name "ghc-silently") | |
544bb369 | 12113 | (version "1.2.5.1") |
dddbc90c RV |
12114 | (source |
12115 | (origin | |
12116 | (method url-fetch) | |
12117 | (uri (string-append | |
12118 | "https://hackage.haskell.org/package/silently/silently-" | |
12119 | version | |
12120 | ".tar.gz")) | |
12121 | (sha256 | |
12122 | (base32 | |
544bb369 | 12123 | "1lgs1gsr5dp0x21diqn4l03fxgai2kgdmj85gqp0iz3zykvbmjbz")))) |
dddbc90c RV |
12124 | (build-system haskell-build-system) |
12125 | (arguments `(#:tests? #f)) ;; circular dependency with nanospec | |
12126 | ;; (inputs | |
12127 | ;; `(("ghc-temporary" ,ghc-temporary))) | |
12128 | (home-page "https://github.com/hspec/silently") | |
12129 | (synopsis "Prevent writing to stdout") | |
12130 | (description "This package provides functions to prevent or capture | |
12131 | writing to stdout and other handles.") | |
12132 | (license license:bsd-3))) | |
12133 | ||
12134 | (define-public ghc-simple-reflect | |
12135 | (package | |
12136 | (name "ghc-simple-reflect") | |
12137 | (version "0.3.3") | |
12138 | (source | |
12139 | (origin | |
12140 | (method url-fetch) | |
12141 | (uri (string-append | |
12142 | "https://hackage.haskell.org/package/simple-reflect/simple-reflect-" | |
12143 | version | |
12144 | ".tar.gz")) | |
12145 | (sha256 | |
12146 | (base32 | |
12147 | "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7")))) | |
12148 | (build-system haskell-build-system) | |
12149 | (home-page | |
12150 | "https://twanvl.nl/blog/haskell/simple-reflection-of-expressions") | |
12151 | (synopsis | |
12152 | "Simple reflection of expressions containing variables") | |
12153 | (description | |
12154 | "This package allows simple reflection of expressions containing | |
12155 | variables. Reflection here means that a Haskell expression is turned into a | |
12156 | string. The primary aim of this package is teaching and understanding; there | |
12157 | are no options for manipulating the reflected expressions beyond showing | |
12158 | them.") | |
12159 | (license license:bsd-3))) | |
12160 | ||
12161 | (define-public ghc-simple-sendfile | |
12162 | (package | |
12163 | (name "ghc-simple-sendfile") | |
08f54390 | 12164 | (version "0.2.30") |
dddbc90c RV |
12165 | (source |
12166 | (origin | |
12167 | (method url-fetch) | |
12168 | (uri (string-append "https://hackage.haskell.org/package/" | |
12169 | "simple-sendfile-" version "/" | |
12170 | "simple-sendfile-" version ".tar.gz")) | |
12171 | (sha256 | |
12172 | (base32 | |
08f54390 | 12173 | "112j0qfsjazf9wg1zywf7hjybgsiywk9wkm27yi8xzv27hmlv1mn")))) |
dddbc90c RV |
12174 | (build-system haskell-build-system) |
12175 | (inputs | |
12176 | `(("ghc-conduit" ,ghc-conduit) | |
12177 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
12178 | ("ghc-network" ,ghc-network) | |
12179 | ("ghc-resourcet" ,ghc-resourcet))) | |
12180 | (native-inputs | |
12181 | `(("ghc-hspec" ,ghc-hspec) | |
12182 | ("hspec-discover" ,hspec-discover))) | |
12183 | (home-page "https://github.com/kazu-yamamoto/simple-sendfile") | |
12184 | (synopsis "Cross platform library for the sendfile system call") | |
12185 | (description "This library tries to call minimum system calls which | |
12186 | are the bottleneck of web servers.") | |
12187 | (license license:bsd-3))) | |
12188 | ||
06966c05 TS |
12189 | (define-public ghc-size-based |
12190 | (package | |
12191 | (name "ghc-size-based") | |
12192 | (version "0.1.2.0") | |
12193 | (source | |
12194 | (origin | |
12195 | (method url-fetch) | |
12196 | (uri (string-append "https://hackage.haskell.org/package/" | |
12197 | "size-based/size-based-" version ".tar.gz")) | |
12198 | (sha256 | |
12199 | (base32 | |
12200 | "06hmlic0n73ncwlkpx49xlv09bzsrr27ncnp5byhzlknak2gd7vp")))) | |
12201 | (build-system haskell-build-system) | |
12202 | (inputs | |
12203 | `(("ghc-dictionary-sharing" ,ghc-dictionary-sharing) | |
12204 | ("ghc-testing-type-modifiers" ,ghc-testing-type-modifiers) | |
12205 | ("ghc-semigroups" ,ghc-semigroups))) | |
12206 | (arguments | |
12207 | `(#:cabal-revision | |
12208 | ("1" "0kax1ypjyglkn6iff1x4yz12y7f2n249m95xvdhrc63hsa4xlcqv"))) | |
12209 | (home-page "https://hackage.haskell.org/package/size-based") | |
12210 | (synopsis "Sized functors for size-based enumerations") | |
12211 | (description "This library provides a framework for size-based | |
12212 | enumerations.") | |
12213 | (license license:bsd-3))) | |
12214 | ||
dddbc90c RV |
12215 | (define-public ghc-skylighting-core |
12216 | (package | |
12217 | (name "ghc-skylighting-core") | |
1826c2a8 | 12218 | (version "0.8.2.1") |
dddbc90c RV |
12219 | (source (origin |
12220 | (method url-fetch) | |
12221 | (uri (string-append "https://hackage.haskell.org/package/" | |
12222 | "skylighting-core/skylighting-core-" | |
12223 | version ".tar.gz")) | |
12224 | (sha256 | |
12225 | (base32 | |
1826c2a8 | 12226 | "0hdchivb4af9w7v5v7lrwfwawd3kcwmpzk69m1vkkm3pis8lcr1s")))) |
dddbc90c RV |
12227 | (build-system haskell-build-system) |
12228 | (inputs | |
12229 | `(("ghc-aeson" ,ghc-aeson) | |
12230 | ("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
12231 | ("ghc-attoparsec" ,ghc-attoparsec) | |
12232 | ("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
12233 | ("ghc-blaze-html" ,ghc-blaze-html) | |
12234 | ("ghc-case-insensitive" ,ghc-case-insensitive) | |
12235 | ("ghc-colour" ,ghc-colour) | |
12236 | ("ghc-hxt" ,ghc-hxt) | |
12237 | ("ghc-regex-pcre-builtin" ,ghc-regex-pcre-builtin) | |
12238 | ("ghc-safe" ,ghc-safe) | |
12239 | ("ghc-utf8-string" ,ghc-utf8-string))) | |
12240 | (native-inputs | |
12241 | `(("ghc-diff" ,ghc-diff) | |
12242 | ("ghc-hunit" ,ghc-hunit) | |
12243 | ("ghc-pretty-show" ,ghc-pretty-show) | |
12244 | ("ghc-quickcheck" ,ghc-quickcheck) | |
12245 | ("ghc-tasty" ,ghc-tasty) | |
12246 | ("ghc-tasty-golden" ,ghc-tasty-golden) | |
12247 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
12248 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
12249 | (home-page "https://github.com/jgm/skylighting") | |
12250 | (synopsis "Syntax highlighting library") | |
12251 | (description "Skylighting is a syntax highlighting library with support | |
12252 | for over one hundred languages. It derives its tokenizers from XML syntax | |
12253 | definitions used by KDE's @code{KSyntaxHighlighting} framework, so any syntax | |
12254 | supported by that framework can be added. An optional command-line program is | |
12255 | provided. Skylighting is intended to be the successor to highlighting-kate.") | |
12256 | (license license:gpl2))) | |
12257 | ||
12258 | (define-public ghc-skylighting | |
12259 | (package | |
12260 | (inherit ghc-skylighting-core) | |
12261 | (name "ghc-skylighting") | |
36c940cf | 12262 | (version "0.8.2.1") |
dddbc90c RV |
12263 | (source (origin |
12264 | (method url-fetch) | |
12265 | (uri (string-append "https://hackage.haskell.org/package/skylighting-" | |
12266 | version "/skylighting-" version ".tar.gz")) | |
12267 | (sha256 | |
12268 | (base32 | |
36c940cf | 12269 | "1xls8ycad77m55ax4hp55k60h3pi5sm3m32hycbc8baixbgfx5xz")))) |
dddbc90c RV |
12270 | (inputs |
12271 | `(("ghc-skylighting-core" ,ghc-skylighting-core) | |
12272 | ,@(package-inputs ghc-skylighting-core))))) | |
12273 | ||
12274 | (define-public ghc-smallcheck | |
12275 | (package | |
12276 | (name "ghc-smallcheck") | |
12277 | (version "1.1.5") | |
12278 | (source | |
12279 | (origin | |
12280 | (method url-fetch) | |
12281 | (uri (string-append | |
12282 | "https://hackage.haskell.org/package/smallcheck/smallcheck-" | |
12283 | version | |
12284 | ".tar.gz")) | |
12285 | (sha256 | |
12286 | (base32 | |
12287 | "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h")))) | |
12288 | (build-system haskell-build-system) | |
12289 | (inputs | |
12290 | `(("ghc-logict" ,ghc-logict))) | |
12291 | (home-page | |
12292 | "https://github.com/feuerbach/smallcheck") | |
12293 | (synopsis "Property-based testing library") | |
a84be333 | 12294 | (description "SmallCheck is a testing library that verifies |
dddbc90c RV |
12295 | properties for all test cases up to some depth. The test cases are generated |
12296 | automatically by SmallCheck.") | |
12297 | (license license:bsd-3))) | |
12298 | ||
12299 | (define-public ghc-socks | |
12300 | (package | |
12301 | (name "ghc-socks") | |
ab761e9d | 12302 | (version "0.6.1") |
dddbc90c RV |
12303 | (source (origin |
12304 | (method url-fetch) | |
12305 | (uri (string-append "https://hackage.haskell.org/package/" | |
12306 | "socks/socks-" version ".tar.gz")) | |
12307 | (sha256 | |
12308 | (base32 | |
ab761e9d | 12309 | "0wvaxy3dkv97wrncjv1rxrmjr4014hgxz82kixvcwqdhidalfi3k")))) |
dddbc90c RV |
12310 | (build-system haskell-build-system) |
12311 | (inputs | |
12312 | `(("ghc-cereal" ,ghc-cereal) | |
ab761e9d | 12313 | ("ghc-basement" ,ghc-basement) |
dddbc90c RV |
12314 | ("ghc-network" ,ghc-network))) |
12315 | (home-page "https://github.com/vincenthz/hs-socks") | |
12316 | (synopsis "SOCKS proxy (version 5) implementation") | |
12317 | (description | |
12318 | "This library provides a SOCKS proxy (version 5) implementation.") | |
12319 | (license license:bsd-3))) | |
12320 | ||
081d85d6 TS |
12321 | (define-public ghc-sop-core |
12322 | (package | |
12323 | (name "ghc-sop-core") | |
12324 | (version "0.4.0.0") | |
12325 | (source | |
12326 | (origin | |
12327 | (method url-fetch) | |
12328 | (uri (string-append "https://hackage.haskell.org/package/" | |
12329 | "sop-core/sop-core-" version ".tar.gz")) | |
12330 | (sha256 | |
12331 | (base32 | |
12332 | "07ci2mh8cbjvipb576rxsj3iyhkj5c5dnsns4xkdppp2p3pv10d3")))) | |
12333 | (build-system haskell-build-system) | |
3ef91e15 | 12334 | (home-page "https://hackage.haskell.org/package/sop-core") |
081d85d6 TS |
12335 | (synopsis "True Sums of Products") |
12336 | (description "This package provides an implementation of | |
12337 | @math{n}-ary sums and @math{n}-ary products. The module @code{Data.SOP} | |
12338 | is the main module of this library and contains more detailed | |
12339 | documentation. The main use case of this package is to serve as the | |
12340 | core of @url{https://hackage.haskell.org/package/generics-sop, | |
12341 | generics-sop}.") | |
12342 | (license license:bsd-3))) | |
12343 | ||
4c77a1a0 JS |
12344 | (define-public ghc-special-values |
12345 | (package | |
12346 | (name "ghc-special-values") | |
12347 | (version "0.1.0.0") | |
12348 | (source | |
12349 | (origin | |
12350 | (method url-fetch) | |
12351 | (uri (string-append | |
12352 | "https://hackage.haskell.org/package/special-values/" | |
12353 | "special-values-" version ".tar.gz")) | |
12354 | (sha256 | |
12355 | (base32 | |
12356 | "1kkdw2c4d2hha99v9f89ahmifjxp7fxmxyfwq9a8xk6s0h9xs51w")))) | |
12357 | (build-system haskell-build-system) | |
12358 | (inputs | |
12359 | `(("ghc-scientific" ,ghc-scientific) | |
12360 | ("ghc-ieee754" ,ghc-ieee754) | |
12361 | ("ghc-nats" ,ghc-nats))) | |
12362 | (home-page | |
12363 | "https://github.com/minad/special-values#readme") | |
12364 | (synopsis "Typeclass providing special values") | |
12365 | (description | |
12366 | "Special values are provided by a SpecialValues typeclass. Those can be | |
12367 | used for example by QuickCheck, see quickcheck-special." ) | |
12368 | (license license:expat))) | |
12369 | ||
dddbc90c RV |
12370 | (define-public ghc-split |
12371 | (package | |
12372 | (name "ghc-split") | |
12373 | (version "0.2.3.3") | |
534d6caa | 12374 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
12375 | (source |
12376 | (origin | |
12377 | (method url-fetch) | |
12378 | (uri (string-append | |
12379 | "https://hackage.haskell.org/package/split/split-" | |
12380 | version | |
12381 | ".tar.gz")) | |
12382 | (sha256 | |
12383 | (base32 | |
12384 | "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x")))) | |
12385 | (build-system haskell-build-system) | |
9bbc21a7 TS |
12386 | (arguments |
12387 | `(#:cabal-revision | |
12388 | ("2" "1c8bcssxq5rkxkixgms6w6x6lzf4n7cxk6cx6av1dp3lixdy9j34"))) | |
dddbc90c RV |
12389 | (native-inputs |
12390 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
12391 | (home-page "https://hackage.haskell.org/package/split") | |
12392 | (synopsis "Combinator library for splitting lists") | |
12393 | (description "This package provides a collection of Haskell functions for | |
12394 | splitting lists into parts, akin to the @code{split} function found in several | |
12395 | mainstream languages.") | |
12396 | (license license:bsd-3))) | |
12397 | ||
7799d17f | 12398 | (define-public ghc-splitmix |
49367c92 | 12399 | (package |
7799d17f | 12400 | (name "ghc-splitmix") |
49367c92 TS |
12401 | (version "0.0.3") |
12402 | (source | |
12403 | (origin | |
12404 | (method url-fetch) | |
12405 | (uri (string-append "https://hackage.haskell.org/package/" | |
12406 | "splitmix/splitmix-" version ".tar.gz")) | |
12407 | (sha256 | |
12408 | (base32 | |
12409 | "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w")))) | |
49367c92 | 12410 | (build-system haskell-build-system) |
49367c92 TS |
12411 | (inputs |
12412 | `(("ghc-random" ,ghc-random))) | |
7799d17f TS |
12413 | (native-inputs |
12414 | `(("ghc-hunit" ,ghc-hunit) | |
12415 | ("ghc-async" ,ghc-async) | |
12416 | ("ghc-base-compat-batteries" ,ghc-base-compat-batteries) | |
12417 | ("ghc-tf-random" ,ghc-tf-random) | |
12418 | ("ghc-vector" ,ghc-vector))) | |
92a79fee | 12419 | (home-page "https://hackage.haskell.org/package/splitmix") |
49367c92 TS |
12420 | (synopsis "Fast and splittable pseudorandom number generator") |
12421 | (description "This package provides a Pure Haskell implementation of the | |
12422 | SplitMix pseudorandom number generator. SplitMix is a \"splittable\" | |
12423 | pseudorandom number generator that is quite fast: 9 64-bit | |
12424 | arithmetic/logical operations per 64 bits generated. SplitMix is tested | |
12425 | with two standard statistical test suites (DieHarder and TestU01, this | |
12426 | implementation only using the former) and it appears to be adequate for | |
12427 | \"everyday\" use, such as Monte Carlo algorithms and randomized data | |
12428 | structures where speed is important. In particular, it @strong{should not | |
12429 | be used for cryptographic or security applications}, because generated | |
12430 | sequences of pseudorandom values are too predictable (the mixing functions | |
12431 | are easily inverted, and two successive outputs suffice to reconstruct the | |
12432 | internal state).") | |
12433 | (license license:bsd-3))) | |
12434 | ||
7799d17f TS |
12435 | (define-public ghc-splitmix-bootstrap |
12436 | (package | |
12437 | (inherit ghc-splitmix) | |
12438 | (name "ghc-splitmix-bootstrap") | |
12439 | (arguments `(#:tests? #f)) | |
12440 | (native-inputs '()) | |
12441 | (properties '((hidden? #t))))) | |
12442 | ||
a152258b JS |
12443 | (define-public ghc-spoon |
12444 | (package | |
12445 | (name "ghc-spoon") | |
12446 | (version "0.3.1") | |
12447 | (source | |
12448 | (origin | |
12449 | (method url-fetch) | |
12450 | (uri (string-append | |
12451 | "https://hackage.haskell.org/package/spoon/spoon-" | |
12452 | version | |
12453 | ".tar.gz")) | |
12454 | (sha256 | |
12455 | (base32 | |
12456 | "1m41k0mfy6fpfrv2ym4m5jsjaj9xdfl2iqpppd3c4d0fffv51cxr")))) | |
12457 | (build-system haskell-build-system) | |
12458 | (arguments | |
12459 | `(#:cabal-revision | |
12460 | ("1" | |
12461 | "09s5jjcsg4g4qxchq9g2l4i9d5zh3rixpkbiysqcgl69kj8mwv74"))) | |
12462 | (home-page | |
12463 | "http://hackage.haskell.org/package/spoon") | |
12464 | (synopsis | |
12465 | "Catch errors thrown from pure computations") | |
12466 | (description | |
12467 | "Takes an error-throwing expression and puts it back in the Maybe it | |
12468 | belongs in. | |
12469 | ||
12470 | Note that this suffers from the | |
12471 | @url{https://ghc.haskell.org/trac/ghc/ticket/5902}. Buyer beware.") | |
12472 | (license license:bsd-3))) | |
12473 | ||
dddbc90c RV |
12474 | (define-public ghc-statevar |
12475 | (package | |
12476 | (name "ghc-statevar") | |
19419709 | 12477 | (version "1.2") |
dddbc90c RV |
12478 | (source |
12479 | (origin | |
12480 | (method url-fetch) | |
12481 | (uri (string-append | |
12482 | "https://hackage.haskell.org/package/StateVar/StateVar-" | |
12483 | version | |
12484 | ".tar.gz")) | |
12485 | (sha256 | |
12486 | (base32 | |
19419709 | 12487 | "12sz6zkc9j5z3lwrjvljrkfxa5vhwnir5wsarigz2f6d3w13dh5g")))) |
dddbc90c RV |
12488 | (build-system haskell-build-system) |
12489 | (home-page "https://hackage.haskell.org/package/StateVar") | |
12490 | (synopsis "State variables for Haskell") | |
12491 | (description "This package provides state variables, which are references | |
12492 | in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.") | |
12493 | (license license:bsd-3))) | |
12494 | ||
12495 | (define-public ghc-statistics | |
12496 | (package | |
12497 | (name "ghc-statistics") | |
60e78e68 | 12498 | (version "0.15.1.1") |
dddbc90c RV |
12499 | (source |
12500 | (origin | |
12501 | (method url-fetch) | |
12502 | (uri (string-append "https://hackage.haskell.org/package/" | |
12503 | "statistics-" version "/" | |
12504 | "statistics-" version ".tar.gz")) | |
12505 | (sha256 | |
12506 | (base32 | |
60e78e68 | 12507 | "015rn74f1glii26j4b2fh1fc63xvxzrh2xckiancz48kc8jdzabj")))) |
dddbc90c RV |
12508 | (build-system haskell-build-system) |
12509 | (arguments | |
60e78e68 | 12510 | '(;; Two tests fail: "Discrete CDF is OK" and "Quantile is CDF inverse". |
dddbc90c RV |
12511 | #:tests? #f)) |
12512 | (inputs | |
12513 | `(("ghc-aeson" ,ghc-aeson) | |
60e78e68 | 12514 | ("ghc-async" ,ghc-async) |
dddbc90c | 12515 | ("ghc-base-orphans" ,ghc-base-orphans) |
60e78e68 | 12516 | ("ghc-dense-linear-algebra" ,ghc-dense-linear-algebra) |
dddbc90c RV |
12517 | ("ghc-math-functions" ,ghc-math-functions) |
12518 | ("ghc-monad-par" ,ghc-monad-par) | |
12519 | ("ghc-mwc-random" ,ghc-mwc-random) | |
12520 | ("ghc-primitive" ,ghc-primitive) | |
12521 | ("ghc-vector" ,ghc-vector) | |
12522 | ("ghc-vector-algorithms" ,ghc-vector-algorithms) | |
12523 | ("ghc-vector-th-unbox" ,ghc-vector-th-unbox) | |
12524 | ("ghc-vector-binary-instances" ,ghc-vector-binary-instances))) | |
12525 | (native-inputs | |
12526 | `(("ghc-hunit" ,ghc-hunit) | |
12527 | ("ghc-quickcheck" ,ghc-quickcheck) | |
12528 | ("ghc-ieee754" ,ghc-ieee754) | |
12529 | ("ghc-test-framework" ,ghc-test-framework) | |
12530 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
12531 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
12532 | (home-page "https://github.com/bos/mwc-random") | |
12533 | (synopsis "Haskell library of statistical types, data, and functions") | |
12534 | (description "This library provides a number of common functions | |
12535 | and types useful in statistics. We focus on high performance, numerical | |
12536 | robustness, and use of good algorithms. Where possible, we provide references | |
12537 | to the statistical literature. | |
12538 | ||
12539 | The library's facilities can be divided into four broad categories: | |
12540 | ||
12541 | @itemize | |
12542 | @item Working with widely used discrete and continuous probability | |
12543 | distributions. (There are dozens of exotic distributions in use; we focus | |
12544 | on the most common.) | |
12545 | ||
12546 | @item Computing with sample data: quantile estimation, kernel density | |
12547 | estimation, histograms, bootstrap methods, significance testing, | |
12548 | and regression and autocorrelation analysis. | |
12549 | ||
12550 | @item Random variate generation under several different distributions. | |
12551 | ||
12552 | @item Common statistical tests for significant differences between samples. | |
12553 | @end itemize") | |
12554 | (license license:bsd-2))) | |
12555 | ||
12556 | (define-public ghc-stm-chans | |
12557 | (package | |
12558 | (name "ghc-stm-chans") | |
12559 | (version "3.0.0.4") | |
12560 | (source | |
12561 | (origin | |
12562 | (method url-fetch) | |
12563 | (uri (string-append "https://hackage.haskell.org/package/" | |
12564 | "stm-chans-" version "/" | |
12565 | "stm-chans-" version ".tar.gz")) | |
12566 | (sha256 | |
12567 | (base32 | |
12568 | "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13")))) | |
12569 | (build-system haskell-build-system) | |
12570 | (home-page "https://hackage.haskell.org/package/stm-chans") | |
12571 | (synopsis "Additional types of channels for ghc-stm") | |
12572 | (description "This Haskell package offers a collection of channel types, | |
12573 | similar to @code{Control.Concurrent.STM.@{TChan,TQueue@}} but with additional | |
12574 | features.") | |
12575 | (license license:bsd-3))) | |
12576 | ||
12577 | (define-public ghc-stm-conduit | |
12578 | (package | |
12579 | (name "ghc-stm-conduit") | |
cd518e95 | 12580 | (version "4.0.1") |
dddbc90c RV |
12581 | (source |
12582 | (origin | |
12583 | (method url-fetch) | |
12584 | (uri (string-append "https://hackage.haskell.org/package/stm-conduit/" | |
12585 | "stm-conduit-" version ".tar.gz")) | |
12586 | (sha256 | |
12587 | (base32 | |
cd518e95 | 12588 | "0hhlxvpp7mah8dcvkknh6skx44jfk3092zz2w52zlr255bkmn3p8")))) |
dddbc90c RV |
12589 | (build-system haskell-build-system) |
12590 | (inputs | |
12591 | `(("ghc-stm-chans" ,ghc-stm-chans) | |
12592 | ("ghc-cereal" ,ghc-cereal) | |
12593 | ("ghc-cereal-conduit" ,ghc-cereal-conduit) | |
12594 | ("ghc-conduit" ,ghc-conduit) | |
12595 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
12596 | ("ghc-exceptions" ,ghc-exceptions) | |
12597 | ("ghc-resourcet" ,ghc-resourcet) | |
12598 | ("ghc-async" ,ghc-async) | |
12599 | ("ghc-monad-loops" ,ghc-monad-loops) | |
12600 | ("ghc-unliftio" ,ghc-unliftio))) | |
12601 | (native-inputs | |
12602 | `(("ghc-doctest" ,ghc-doctest) | |
12603 | ("ghc-quickcheck" ,ghc-quickcheck) | |
12604 | ("ghc-hunit" ,ghc-hunit) | |
12605 | ("ghc-test-framework" ,ghc-test-framework) | |
12606 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
12607 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
12608 | (home-page "https://github.com/cgaebel/stm-conduit") | |
12609 | (synopsis "Introduces conduits to channels and promotes using conduits concurrently") | |
12610 | (description | |
12611 | "This package provides two simple conduit wrappers around STM channels: a | |
12612 | source and a sink.") | |
12613 | (license license:bsd-3))) | |
12614 | ||
12615 | (define-public ghc-stmonadtrans | |
12616 | (package | |
12617 | (name "ghc-stmonadtrans") | |
12618 | (version "0.4.3") | |
12619 | (source | |
12620 | (origin | |
12621 | (method url-fetch) | |
12622 | (uri (string-append "https://hackage.haskell.org/package/STMonadTrans" | |
12623 | "/STMonadTrans-" version ".tar.gz")) | |
12624 | (sha256 | |
12625 | (base32 "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp")))) | |
12626 | (build-system haskell-build-system) | |
12627 | (home-page "https://hackage.haskell.org/package/STMonadTrans") | |
12628 | (synopsis "Monad transformer version of the ST monad") | |
12629 | (description | |
12630 | "This package provides a monad transformer version of the @code{ST} monad | |
12631 | for strict state threads.") | |
12632 | (license license:bsd-3))) | |
12633 | ||
12634 | (define-public ghc-storable-complex | |
12635 | (package | |
12636 | (name "ghc-storable-complex") | |
4a35e3c3 | 12637 | (version "0.2.3.0") |
dddbc90c RV |
12638 | (source |
12639 | (origin | |
12640 | (method url-fetch) | |
12641 | (uri (string-append | |
12642 | "https://hackage.haskell.org/package/storable-complex/storable-complex-" | |
12643 | version ".tar.gz")) | |
12644 | (sha256 | |
4a35e3c3 | 12645 | (base32 "0fnwbfmd5vsaaqvf9182qdcjrzcfjd1zhdyvjwzifbwvn6r9kx4s")))) |
dddbc90c | 12646 | (build-system haskell-build-system) |
4a35e3c3 TS |
12647 | (inputs |
12648 | `(("ghc-base-orphans" ,ghc-base-orphans))) | |
dddbc90c RV |
12649 | (home-page "https://github.com/cartazio/storable-complex") |
12650 | (synopsis "Haskell Storable instance for Complex") | |
12651 | (description "This package provides a Haskell library including a | |
12652 | Storable instance for Complex which is binary compatible with C99, C++ | |
12653 | and Fortran complex data types.") | |
12654 | (license license:bsd-3))) | |
12655 | ||
ad80074a JS |
12656 | (define-public ghc-storable-record |
12657 | (package | |
12658 | (name "ghc-storable-record") | |
12659 | (version "0.0.4") | |
12660 | (source | |
12661 | (origin | |
12662 | (method url-fetch) | |
12663 | (uri | |
12664 | (string-append | |
12665 | "https://hackage.haskell.org/package/storable-record/" | |
12666 | "storable-record-" version ".tar.gz")) | |
12667 | (sha256 | |
12668 | (base32 | |
12669 | "0hjs1km0fc9ch0i1rbycxia5w3939hk4p4md73ikgg4aipqb5zyf")))) | |
12670 | (build-system haskell-build-system) | |
12671 | (inputs | |
12672 | `(("ghc-semigroups" ,ghc-semigroups) | |
12673 | ("ghc-utility-ht" ,ghc-utility-ht) | |
12674 | ("ghc-storablevector" ,ghc-storablevector) | |
12675 | ("ghc-timeit" ,ghc-timeit))) | |
12676 | (home-page "https://hackage.haskell.org/package/storable-record") | |
12677 | (synopsis "Elegant definition of Storable instances for records") | |
12678 | (description "With this package you can build a Storable instance of | |
12679 | a record type from Storable instances of its elements in an elegant way. | |
12680 | It does not do any magic, just a bit arithmetic to compute the right | |
12681 | offsets, that would be otherwise done manually or by a preprocessor like | |
12682 | C2HS. There is no guarantee that the generated memory layout is | |
12683 | compatible with that of a corresponding C struct. However, the module | |
12684 | generates the smallest layout that is possible with respect to the | |
12685 | alignment of the record elements.") | |
12686 | (license license:bsd-3))) | |
12687 | ||
55f4c653 JS |
12688 | (define-public ghc-storable-tuple |
12689 | (package | |
12690 | (name "ghc-storable-tuple") | |
12691 | (version "0.0.3.3") | |
12692 | (source | |
12693 | (origin | |
12694 | (method url-fetch) | |
12695 | (uri | |
12696 | (string-append | |
12697 | "https://hackage.haskell.org/package/storable-tuple/" | |
12698 | "storable-tuple-" version ".tar.gz")) | |
12699 | (sha256 | |
12700 | (base32 | |
12701 | "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw")))) | |
12702 | (build-system haskell-build-system) | |
12703 | (inputs | |
12704 | `(("ghc-storable-record" ,ghc-storable-record) | |
12705 | ("ghc-utility-ht" ,ghc-utility-ht) | |
12706 | ("ghc-base-orphans" ,ghc-base-orphans))) | |
12707 | (home-page "https://hackage.haskell.org/package/storable-tuple") | |
12708 | (synopsis "Storable instance for pairs and triples") | |
12709 | (description "This package provides a Storable instance for pairs | |
12710 | and triples which should be binary compatible with C99 and C++. The | |
12711 | only purpose of this package is to provide a standard location for this | |
12712 | instance so that other packages needing this instance can play nicely | |
12713 | together.") | |
12714 | (license license:bsd-3))) | |
12715 | ||
bc06ca45 JS |
12716 | (define-public ghc-storablevector |
12717 | (package | |
12718 | (name "ghc-storablevector") | |
12719 | (version "0.2.13") | |
12720 | (source | |
12721 | (origin | |
12722 | (method url-fetch) | |
12723 | (uri | |
12724 | (string-append | |
12725 | "https://hackage.haskell.org/package/storablevector/storablevector-" | |
12726 | version ".tar.gz")) | |
12727 | (sha256 | |
12728 | (base32 | |
12729 | "1zmr738vwnhnyxbikayqnaz31ilv2qlmscp6iqgl7adcfbal4dzq")))) | |
12730 | (build-system haskell-build-system) | |
12731 | (inputs | |
12732 | `(("ghc-non-negative" ,ghc-non-negative) | |
12733 | ("ghc-utility-ht" ,ghc-utility-ht) | |
12734 | ("ghc-semigroups" ,ghc-semigroups) | |
12735 | ("ghc-unsafe" ,ghc-unsafe) | |
12736 | ("ghc-quickcheck" ,ghc-quickcheck) | |
12737 | ("ghc-syb" ,ghc-syb))) | |
228d2901 | 12738 | (home-page "https://wiki.haskell.org/Storable_Vector") |
bc06ca45 JS |
12739 | (synopsis "Fast, packed, strict storable arrays with a list interface") |
12740 | (description "This library provides fast, packed, strict storable | |
12741 | arrays with a list interface, a chunky lazy list interface with variable | |
12742 | chunk size and an interface for write access via the ST monad. This is | |
12743 | much like bytestring and binary but can be used for every | |
12744 | @code{Foreign.Storable.Storable} type. See also | |
12745 | @url{http://hackage.haskell.org/package/vector}, a library with a | |
12746 | similar intention. | |
12747 | ||
12748 | This library does not do advanced fusion optimization, since especially | |
12749 | for lazy vectors this would either be incorrect or not applicable. See | |
12750 | @url{http://hackage.haskell.org/package/storablevector-streamfusion} for | |
12751 | a library that provides fusion with lazy lists.") | |
12752 | (license license:bsd-3))) | |
12753 | ||
dddbc90c RV |
12754 | (define-public ghc-streaming-commons |
12755 | (package | |
12756 | (name "ghc-streaming-commons") | |
12757 | (version "0.2.1.1") | |
12758 | (source | |
12759 | (origin | |
12760 | (method url-fetch) | |
12761 | (uri (string-append "https://hackage.haskell.org/package/" | |
12762 | "streaming-commons/streaming-commons-" | |
12763 | version ".tar.gz")) | |
12764 | (sha256 | |
12765 | (base32 | |
12766 | "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52")))) | |
12767 | (build-system haskell-build-system) | |
12768 | (inputs | |
12769 | `(("ghc-async" ,ghc-async) | |
12770 | ("ghc-blaze-builder" ,ghc-blaze-builder) | |
12771 | ("ghc-network" ,ghc-network) | |
12772 | ("ghc-random" ,ghc-random) | |
12773 | ("ghc-zlib" ,ghc-zlib))) | |
12774 | (native-inputs | |
12775 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
12776 | ("ghc-hspec" ,ghc-hspec) | |
12777 | ("hspec-discover" ,hspec-discover))) | |
12778 | (home-page "https://hackage.haskell.org/package/streaming-commons") | |
12779 | (synopsis "Conduit and pipes needed by some streaming data libraries") | |
12780 | (description "This package provides low-dependency functionality commonly | |
12781 | needed by various Haskell streaming data libraries, such as @code{conduit} and | |
12782 | @code{pipe}s.") | |
12783 | (license license:expat))) | |
12784 | ||
12785 | (define-public ghc-strict | |
12786 | (package | |
12787 | (name "ghc-strict") | |
12788 | (version "0.3.2") | |
12789 | (source | |
12790 | (origin | |
12791 | (method url-fetch) | |
12792 | (uri (string-append "https://hackage.haskell.org/package/strict/strict-" | |
12793 | version ".tar.gz")) | |
12794 | (sha256 | |
12795 | (base32 "08cjajqz9h47fkq98mlf3rc8n5ghbmnmgn8pfsl3bdldjdkmmlrc")))) | |
12796 | (build-system haskell-build-system) | |
12797 | (home-page "https://hackage.haskell.org/package/strict") | |
12798 | (synopsis "Strict data types and String IO") | |
12799 | (description | |
12800 | "This package provides strict versions of some standard Haskell data | |
12801 | types, such as pairs, @code{Maybe} and @code{Either}. It also contains strict | |
12802 | IO operations.") | |
12803 | (license license:bsd-3))) | |
12804 | ||
12805 | (define-public ghc-stringbuilder | |
12806 | (package | |
12807 | (name "ghc-stringbuilder") | |
12808 | (version "0.5.1") | |
12809 | (source | |
12810 | (origin | |
12811 | (method url-fetch) | |
12812 | (uri (string-append | |
12813 | "https://hackage.haskell.org/package/stringbuilder/stringbuilder-" | |
12814 | version | |
12815 | ".tar.gz")) | |
12816 | (sha256 | |
12817 | (base32 | |
12818 | "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q")))) | |
12819 | (build-system haskell-build-system) | |
12820 | (arguments `(#:tests? #f)) ; FIXME: circular dependencies with tests | |
12821 | ; enabled | |
12822 | (home-page "https://hackage.haskell.org/package/stringbuilder") | |
12823 | (synopsis "Writer monad for multi-line string literals") | |
12824 | (description "This package provides a writer monad for multi-line string | |
12825 | literals.") | |
12826 | (license license:expat))) | |
12827 | ||
12828 | (define-public ghc-string-qq | |
12829 | (package | |
12830 | (name "ghc-string-qq") | |
4d6fddc3 | 12831 | (version "0.0.4") |
dddbc90c RV |
12832 | (source |
12833 | (origin | |
12834 | (method url-fetch) | |
12835 | (uri (string-append | |
12836 | "https://hackage.haskell.org/package/string-qq/string-qq-" | |
12837 | version | |
12838 | ".tar.gz")) | |
12839 | (sha256 | |
12840 | (base32 | |
4d6fddc3 | 12841 | "0wfxkw4x6j6jq9nd82k83g2k3hskpsvk1dp4cpkshvjr4wg9qny8")))) |
dddbc90c | 12842 | (build-system haskell-build-system) |
4d6fddc3 TS |
12843 | (native-inputs |
12844 | `(("ghc-hunit" ,ghc-hunit))) | |
3ef91e15 | 12845 | (home-page "https://hackage.haskell.org/package/string-qq") |
dddbc90c RV |
12846 | (synopsis |
12847 | "QuasiQuoter for non-interpolated strings, texts and bytestrings.") | |
12848 | (description | |
12849 | "This package provides a quasiquoter for non-interpolated strings, texts | |
12850 | and bytestrings.") | |
12851 | (license license:public-domain))) | |
12852 | ||
12853 | (define-public ghc-stringsearch | |
12854 | (package | |
12855 | (name "ghc-stringsearch") | |
12856 | (version "0.3.6.6") | |
12857 | (source | |
12858 | (origin | |
12859 | (method url-fetch) | |
12860 | (uri (string-append | |
12861 | "https://hackage.haskell.org/package/stringsearch/stringsearch-" | |
12862 | version | |
12863 | ".tar.gz")) | |
12864 | (sha256 | |
12865 | (base32 | |
12866 | "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9")))) | |
12867 | (build-system haskell-build-system) | |
e2303abb TS |
12868 | (arguments |
12869 | `(#:cabal-revision | |
12870 | ("1" "0z5pz5dccapz9k39r2zmf056m0x2m2lj3jahhnw3mfxlmps07378"))) | |
dddbc90c RV |
12871 | (home-page "https://bitbucket.org/dafis/stringsearch") |
12872 | (synopsis "Fast searching, splitting and replacing of ByteStrings") | |
12873 | (description "This package provides several functions to quickly search | |
12874 | for substrings in strict or lazy @code{ByteStrings}. It also provides | |
12875 | functions for breaking or splitting on substrings and replacing all | |
12876 | occurrences of a substring (the first in case of overlaps) with another.") | |
12877 | (license license:bsd-3))) | |
12878 | ||
dcf3f8f4 TS |
12879 | (define-public ghc-svg-builder |
12880 | (package | |
12881 | (name "ghc-svg-builder") | |
12882 | (version "0.1.1") | |
12883 | (source | |
12884 | (origin | |
12885 | (method url-fetch) | |
12886 | (uri (string-append "https://hackage.haskell.org/package/" | |
12887 | "svg-builder/svg-builder-" version ".tar.gz")) | |
12888 | (sha256 | |
12889 | (base32 | |
12890 | "1k420f497lzkymmxin88ql6ib8dziic43avykv31yq65rgrf7l2g")))) | |
12891 | (build-system haskell-build-system) | |
12892 | (inputs | |
12893 | `(("ghc-blaze-builder" ,ghc-blaze-builder) | |
12894 | ("ghc-hashable" ,ghc-hashable) | |
12895 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
12896 | (arguments | |
12897 | `(#:cabal-revision | |
12898 | ("1" "1bhp9gvid2iis411k1vvyj5krzc4ahxcqcd9cwx9h37jxg180xw1"))) | |
12899 | (home-page "https://github.com/diagrams/svg-builder.git") | |
12900 | (synopsis "Domain-specific language for building Scalable Vector Graphics") | |
12901 | (description "Easy-to-write domain-specific language (DSL) for | |
12902 | building Scalable Vector Graphics (SVG).") | |
12903 | (license license:bsd-3))) | |
12904 | ||
dddbc90c RV |
12905 | (define-public ghc-syb |
12906 | (package | |
12907 | (name "ghc-syb") | |
07d65eef | 12908 | (version "0.7.1") |
534d6caa | 12909 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
12910 | (source |
12911 | (origin | |
12912 | (method url-fetch) | |
12913 | (uri (string-append | |
12914 | "https://hackage.haskell.org/package/syb/syb-" | |
12915 | version | |
12916 | ".tar.gz")) | |
12917 | (sha256 | |
12918 | (base32 | |
07d65eef | 12919 | "0077vxzyi9ppbphi2ialac3p376k49qly1kskdgf57wdwix9qjp0")))) |
dddbc90c RV |
12920 | (build-system haskell-build-system) |
12921 | (inputs | |
12922 | `(("ghc-hunit" ,ghc-hunit))) | |
12923 | (home-page | |
12924 | "http://www.cs.uu.nl/wiki/GenericProgramming/SYB") | |
12925 | (synopsis "Scrap Your Boilerplate") | |
12926 | (description "This package contains the generics system described in the | |
12927 | /Scrap Your Boilerplate/ papers (see | |
12928 | @uref{http://www.cs.uu.nl/wiki/GenericProgramming/SYB, the website}). It | |
12929 | defines the @code{Data} class of types permitting folding and unfolding of | |
12930 | constructor applications, instances of this class for primitive types, and a | |
12931 | variety of traversals.") | |
12932 | (license license:bsd-3))) | |
12933 | ||
12934 | (define-public ghc-system-fileio | |
12935 | (package | |
12936 | (name "ghc-system-fileio") | |
dcfb99d4 | 12937 | (version "0.3.16.4") |
dddbc90c RV |
12938 | (source |
12939 | (origin | |
12940 | (method url-fetch) | |
12941 | (uri (string-append | |
12942 | "https://hackage.haskell.org/package/system-fileio/system-fileio-" | |
12943 | version ".tar.gz")) | |
12944 | (sha256 | |
12945 | (base32 | |
dcfb99d4 | 12946 | "1iy6g1f35gzyj12g9mdiw4zf75mmxpv1l8cyaldgyscsl648pr9l")))) |
dddbc90c | 12947 | (build-system haskell-build-system) |
dcfb99d4 TS |
12948 | (arguments |
12949 | `(#:phases | |
12950 | (modify-phases %standard-phases | |
12951 | (add-before 'configure 'update-constraints | |
12952 | (lambda _ | |
12953 | (substitute* "system-fileio.cabal" | |
12954 | (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4")) | |
12955 | #t))))) | |
dddbc90c RV |
12956 | (inputs |
12957 | `(("ghc-system-filepath" ,ghc-system-filepath) | |
12958 | ("ghc-chell" ,ghc-chell) | |
12959 | ("ghc-temporary" ,ghc-temporary))) | |
12960 | (home-page "https://github.com/fpco/haskell-filesystem") | |
12961 | (synopsis "Consistent file system interaction across GHC versions") | |
12962 | (description | |
12963 | "This is a small wrapper around the directory, unix, and Win32 packages, | |
12964 | for use with system-filepath. It provides a consistent API to the various | |
12965 | versions of these packages distributed with different versions of GHC. | |
12966 | In particular, this library supports working with POSIX files that have paths | |
12967 | which can't be decoded in the current locale encoding.") | |
12968 | (license license:expat))) | |
12969 | ||
12970 | ;; See ghc-system-filepath-bootstrap. In addition this package depends on | |
12971 | ;; ghc-system-filepath. | |
12972 | (define ghc-system-fileio-bootstrap | |
12973 | (package | |
12974 | (name "ghc-system-fileio-bootstrap") | |
12975 | (version "0.3.16.3") | |
12976 | (source | |
12977 | (origin | |
12978 | (method url-fetch) | |
12979 | (uri (string-append | |
12980 | "https://hackage.haskell.org/package/system-fileio/system-fileio-" | |
12981 | version ".tar.gz")) | |
12982 | (sha256 | |
12983 | (base32 | |
12984 | "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i")))) | |
12985 | (build-system haskell-build-system) | |
12986 | (arguments | |
12987 | `(#:tests? #f)) | |
12988 | (inputs | |
12989 | `(("ghc-system-filepath-bootstrap" ,ghc-system-filepath-bootstrap) | |
12990 | ("ghc-temporary" ,ghc-temporary))) | |
12991 | (home-page "https://github.com/fpco/haskell-filesystem") | |
12992 | (synopsis "Consistent file system interaction across GHC versions") | |
12993 | (description | |
12994 | "This is a small wrapper around the directory, unix, and Win32 packages, | |
12995 | for use with system-filepath. It provides a consistent API to the various | |
12996 | versions of these packages distributed with different versions of GHC. | |
12997 | In particular, this library supports working with POSIX files that have paths | |
12998 | which can't be decoded in the current locale encoding.") | |
12999 | (license license:expat))) | |
13000 | ||
13001 | ||
13002 | (define-public ghc-system-filepath | |
13003 | (package | |
13004 | (name "ghc-system-filepath") | |
13005 | (version "0.4.14") | |
13006 | (source | |
13007 | (origin | |
13008 | (method url-fetch) | |
13009 | (uri (string-append | |
13010 | "https://hackage.haskell.org/package/system-filepath/system-filepath-" | |
13011 | version ".tar.gz")) | |
13012 | (sha256 | |
13013 | (base32 | |
13014 | "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn")))) | |
13015 | (build-system haskell-build-system) | |
13016 | ;; FIXME: One of the tests fails: | |
13017 | ;; [ FAIL ] tests.validity.posix | |
13018 | ;; note: seed=7310214548328823169 | |
13019 | ;; *** Failed! Falsifiable (after 24 tests): | |
13020 | ;; 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" | |
13021 | (arguments `(#:tests? #f)) | |
13022 | (inputs | |
13023 | `(("ghc-chell" ,ghc-chell) | |
13024 | ("ghc-chell-quickcheck" ,ghc-chell-quickcheck) | |
13025 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
13026 | (home-page "https://github.com/fpco/haskell-filesystem") | |
13027 | (synopsis "High-level, byte-based file and directory path manipulations") | |
13028 | (description | |
13029 | "Provides a FilePath datatype and utility functions for operating on it. | |
13030 | Unlike the filepath package, this package does not simply reuse String, | |
13031 | increasing type safety.") | |
13032 | (license license:expat))) | |
13033 | ||
13034 | ;; Ghc-shelly depends on ghc-system-filepath and ghc-system-fileio, who in turn depend on | |
13035 | ;; ghc-chell and ghc-chell-quickcheck for the test phase. Ghc-chell depends on ghc-options | |
13036 | ;; which depends on ghc-chell and ghc-chell-quickcheck. | |
13037 | ;; Therefore we bootstrap it with tests disabled. | |
13038 | (define ghc-system-filepath-bootstrap | |
13039 | (package | |
13040 | (name "ghc-system-filepath-bootstrap") | |
13041 | (version "0.4.14") | |
13042 | (source | |
13043 | (origin | |
13044 | (method url-fetch) | |
13045 | (uri (string-append | |
13046 | "https://hackage.haskell.org/package/system-filepath/system-filepath-" | |
13047 | version ".tar.gz")) | |
13048 | (sha256 | |
13049 | (base32 | |
13050 | "14yras4pz2dh55xpwmazcgxijvi8913pjgzb9iw50mjq1lycwmhn")))) | |
13051 | (build-system haskell-build-system) | |
13052 | (arguments | |
13053 | `(#:tests? #f)) | |
13054 | (inputs | |
13055 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
13056 | (home-page "https://github.com/fpco/haskell-filesystem") | |
13057 | (synopsis "High-level, byte-based file and directory path manipulations") | |
13058 | (description | |
13059 | "Provides a FilePath datatype and utility functions for operating on it. | |
13060 | Unlike the filepath package, this package does not simply reuse String, | |
13061 | increasing type safety.") | |
13062 | (license license:expat))) | |
13063 | ||
094a9d7a CH |
13064 | (define-public ghc-tabular |
13065 | (package | |
13066 | (name "ghc-tabular") | |
4e3b6235 | 13067 | (version "0.2.2.7") |
094a9d7a CH |
13068 | (source |
13069 | (origin | |
13070 | (method url-fetch) | |
13071 | (uri (string-append | |
13072 | "https://hackage.haskell.org/package/tabular/tabular-" | |
13073 | version | |
13074 | ".tar.gz")) | |
13075 | (sha256 | |
13076 | (base32 | |
4e3b6235 | 13077 | "1ysgq7rrks7f98nnvxil8xz1q27hxdgz4szbjhqwzbwd209dmy0k")))) |
094a9d7a CH |
13078 | (build-system haskell-build-system) |
13079 | (inputs | |
13080 | `(("ghc-csv" ,ghc-csv) | |
13081 | ("ghc-html" ,ghc-html))) | |
13082 | (home-page "https://github.com/bgamari/tabular") | |
13083 | (synopsis "Two-dimensional data tables with rendering functions") | |
13084 | (description | |
13085 | "Tabular provides a Haskell representation of two-dimensional data | |
13086 | tables, the kind that you might find in a spreadsheet or or a research report. | |
13087 | It also comes with some default rendering functions for turning those tables | |
13088 | into ASCII art, simple text with an arbitrary delimiter, CSV, HTML or LaTeX. | |
13089 | ||
13090 | Below is an example of the kind of output this library produces. The tabular | |
13091 | package can group rows and columns, each group having one of three | |
13092 | separators (no line, single line, double line) between its members. | |
13093 | ||
13094 | @example | |
13095 | ||
13096 | || memtest 1 | memtest 2 || time test | time test 2 | |
13097 | ====++===========+===========++=============+============ | |
13098 | A 1 || hog | terrible || slow | slower | |
13099 | A 2 || pig | not bad || fast | slowest | |
13100 | ----++-----------+-----------++-------------+------------ | |
13101 | B 1 || good | awful || intolerable | bearable | |
13102 | B 2 || better | no chance || crawling | amazing | |
13103 | B 3 || meh | well... || worst ever | ok | |
13104 | ||
13105 | @end example") | |
13106 | (license license:bsd-3))) | |
dddbc90c RV |
13107 | |
13108 | (define-public ghc-tagged | |
13109 | (package | |
13110 | (name "ghc-tagged") | |
f0f3756a | 13111 | (version "0.8.6") |
dddbc90c RV |
13112 | (source |
13113 | (origin | |
13114 | (method url-fetch) | |
13115 | (uri (string-append | |
13116 | "https://hackage.haskell.org/package/tagged/tagged-" | |
13117 | version | |
13118 | ".tar.gz")) | |
13119 | (sha256 | |
13120 | (base32 | |
f0f3756a | 13121 | "1pciqzxf9ncv954v4r527xkxkn7r5hcr13mfw5dg1xjci3qdw5md")))) |
dddbc90c RV |
13122 | (build-system haskell-build-system) |
13123 | (arguments | |
13124 | `(#:cabal-revision | |
f0f3756a | 13125 | ("1" "070xwfw7y81hd63il76dmwbdl9ca1rd07c54zynfx6vpr4wyx4vh"))) |
dddbc90c RV |
13126 | (inputs |
13127 | `(("ghc-transformers-compat" ,ghc-transformers-compat))) | |
13128 | (home-page "https://hackage.haskell.org/package/tagged") | |
13129 | (synopsis "Haskell phantom types to avoid passing dummy arguments") | |
13130 | (description "This library provides phantom types for Haskell 98, to avoid | |
13131 | having to unsafely pass dummy arguments.") | |
13132 | (license license:bsd-3))) | |
13133 | ||
13134 | (define-public ghc-tar | |
13135 | (package | |
13136 | (name "ghc-tar") | |
ec83929f | 13137 | (version "0.5.1.1") |
dddbc90c RV |
13138 | (source |
13139 | (origin | |
13140 | (method url-fetch) | |
13141 | (uri (string-append | |
13142 | "https://hackage.haskell.org/package/tar/tar-" | |
13143 | version ".tar.gz")) | |
13144 | (sha256 | |
13145 | (base32 | |
ec83929f | 13146 | "1ppim7cgmn7ng8zbdrwkxhhizc30h15h1c9cdlzamc5jcagl915k")))) |
dddbc90c RV |
13147 | (build-system haskell-build-system) |
13148 | ;; FIXME: 2/24 tests fail. | |
13149 | (arguments `(#:tests? #f)) | |
13150 | (inputs | |
13151 | `(("ghc-bytestring-handle" ,ghc-bytestring-handle) | |
13152 | ("ghc-quickcheck" ,ghc-quickcheck) | |
13153 | ("ghc-tasty" ,ghc-tasty) | |
13154 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
13155 | (home-page "https://hackage.haskell.org/package/tar") | |
13156 | (synopsis "Reading, writing and manipulating \".tar\" archive files") | |
13157 | (description | |
13158 | "This library is for working with \\\"@.tar@\\\" archive files. | |
13159 | It can read and write a range of common variations of the tar archive format | |
13160 | including V7, POSIX USTAR and GNU formats. It provides support for packing and | |
13161 | unpacking portable archives. This makes it suitable for distribution but not | |
13162 | backup because details like file ownership and exact permissions are not | |
13163 | preserved. It also provides features for random access to archive content using | |
13164 | an index.") | |
13165 | (license license:bsd-3))) | |
13166 | ||
f8d17902 TS |
13167 | (define-public ghc-tar-conduit |
13168 | (package | |
13169 | (name "ghc-tar-conduit") | |
13170 | (version "0.3.2") | |
13171 | (source | |
13172 | (origin | |
13173 | (method url-fetch) | |
13174 | (uri (string-append "https://hackage.haskell.org/package/" | |
13175 | "tar-conduit/tar-conduit-" version ".tar.gz")) | |
13176 | (sha256 | |
13177 | (base32 | |
13178 | "0bgn3hyf20g1gfnzy8f41s7nj54kfcyjk2izw99svrw8f3dphi80")))) | |
13179 | (build-system haskell-build-system) | |
13180 | (inputs | |
13181 | `(("ghc-conduit" ,ghc-conduit) | |
13182 | ("ghc-conduit-combinators" ,ghc-conduit-combinators) | |
13183 | ("ghc-safe-exceptions" ,ghc-safe-exceptions))) | |
13184 | (native-inputs | |
13185 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
13186 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
13187 | ("ghc-hspec" ,ghc-hspec) | |
13188 | ("ghc-hspec" ,ghc-hspec) | |
13189 | ("ghc-weigh" ,ghc-weigh))) | |
13190 | (home-page "https://github.com/snoyberg/tar-conduit#readme") | |
13191 | (synopsis "Extract and create tar files using conduit for streaming") | |
13192 | (description "This library provides a conduit-based, streaming | |
13193 | interface for extracting and creating tar files.") | |
13194 | (license license:expat))) | |
13195 | ||
dddbc90c RV |
13196 | (define-public ghc-temporary |
13197 | (package | |
13198 | (name "ghc-temporary") | |
13199 | (version "1.3") | |
13200 | (source | |
13201 | (origin | |
13202 | (method url-fetch) | |
13203 | (uri (string-append | |
13204 | "https://hackage.haskell.org/package/temporary/temporary-" | |
13205 | version | |
13206 | ".tar.gz")) | |
13207 | (sha256 | |
13208 | (base32 | |
13209 | "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c")))) | |
13210 | (build-system haskell-build-system) | |
13211 | (inputs | |
13212 | `(("ghc-exceptions" ,ghc-exceptions) | |
13213 | ("ghc-random" ,ghc-random))) | |
13214 | (native-inputs | |
13215 | `(("ghc-base-compat" ,ghc-base-compat) | |
13216 | ("ghc-tasty" ,ghc-tasty) | |
13217 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
13218 | (home-page "https://www.github.com/batterseapower/temporary") | |
13219 | (synopsis "Temporary file and directory support") | |
13220 | (description "The functions for creating temporary files and directories | |
13221 | in the Haskelll base library are quite limited. This library just repackages | |
13222 | the Cabal implementations of its own temporary file and folder functions so | |
13223 | that you can use them without linking against Cabal or depending on it being | |
13224 | installed.") | |
13225 | (license license:bsd-3))) | |
13226 | ||
13227 | (define-public ghc-temporary-rc | |
13228 | (package | |
13229 | (name "ghc-temporary-rc") | |
13230 | (version "1.2.0.3") | |
13231 | (source | |
13232 | (origin | |
13233 | (method url-fetch) | |
13234 | (uri (string-append | |
13235 | "https://hackage.haskell.org/package/temporary-rc/temporary-rc-" | |
13236 | version | |
13237 | ".tar.gz")) | |
13238 | (sha256 | |
13239 | (base32 | |
13240 | "1nqih0qks439k3pr5kmbbc8rjdw730slrxlflqb27fbxbzb8skqs")))) | |
13241 | (build-system haskell-build-system) | |
13242 | (inputs `(("ghc-exceptions" ,ghc-exceptions))) | |
13243 | (home-page | |
13244 | "https://www.github.com/feuerbach/temporary") | |
13245 | (synopsis | |
13246 | "Portable temporary file and directory support") | |
13247 | (description | |
13248 | "The functions for creating temporary files and directories in the base | |
13249 | library are quite limited. The unixutils package contains some good ones, but | |
13250 | they aren't portable to Windows. This library just repackages the Cabal | |
13251 | implementations of its own temporary file and folder functions so that you can | |
13252 | use them without linking against Cabal or depending on it being installed. | |
13253 | This is a better maintained fork of the \"temporary\" package.") | |
13254 | (license license:bsd-3))) | |
13255 | ||
13256 | (define-public ghc-terminal-size | |
13257 | (package | |
13258 | (name "ghc-terminal-size") | |
13259 | (version "0.3.2.1") | |
13260 | (source (origin | |
13261 | (method url-fetch) | |
13262 | (uri (string-append | |
13263 | "https://hackage.haskell.org/package/terminal-size/" | |
13264 | "terminal-size-" version ".tar.gz")) | |
13265 | (sha256 | |
13266 | (base32 | |
13267 | "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm")))) | |
13268 | (build-system haskell-build-system) | |
13269 | (home-page "https://hackage.haskell.org/package/terminal-size") | |
13270 | (synopsis "Get terminal window height and width") | |
13271 | (description "Get terminal window height and width without ncurses | |
13272 | dependency.") | |
13273 | (license license:bsd-3))) | |
13274 | ||
13275 | (define-public ghc-texmath | |
13276 | (package | |
13277 | (name "ghc-texmath") | |
7fec7e66 | 13278 | (version "0.11.3") |
dddbc90c RV |
13279 | (source (origin |
13280 | (method url-fetch) | |
13281 | (uri (string-append "https://hackage.haskell.org/package/" | |
13282 | "texmath/texmath-" version ".tar.gz")) | |
13283 | (sha256 | |
13284 | (base32 | |
7fec7e66 | 13285 | "03rpxbp43bjs62mmw4hv4785n6f6nbf8kj2y9mma5nzk6i2xs09f")))) |
dddbc90c RV |
13286 | (build-system haskell-build-system) |
13287 | (inputs | |
13288 | `(("ghc-syb" ,ghc-syb) | |
13289 | ("ghc-network-uri" ,ghc-network-uri) | |
13290 | ("ghc-split" ,ghc-split) | |
13291 | ("ghc-temporary" ,ghc-temporary) | |
13292 | ("ghc-utf8-string" ,ghc-utf8-string) | |
13293 | ("ghc-xml" ,ghc-xml) | |
13294 | ("ghc-pandoc-types" ,ghc-pandoc-types))) | |
13295 | (home-page "https://github.com/jgm/texmath") | |
13296 | (synopsis "Conversion between formats used to represent mathematics") | |
13297 | (description | |
13298 | "The texmath library provides functions to read and write TeX math, | |
13299 | presentation MathML, and OMML (Office Math Markup Language, used in Microsoft | |
13300 | Office). Support is also included for converting math formats to pandoc's | |
13301 | native format (allowing conversion, via pandoc, to a variety of different | |
13302 | markup formats). The TeX reader supports basic LaTeX and AMS extensions, and | |
13303 | it can parse and apply LaTeX macros.") | |
13304 | (license license:gpl2+))) | |
13305 | ||
13306 | (define-public ghc-text-binary | |
13307 | (package | |
13308 | (name "ghc-text-binary") | |
13309 | (version "0.2.1.1") | |
13310 | (source | |
13311 | (origin | |
13312 | (method url-fetch) | |
13313 | (uri (string-append "https://hackage.haskell.org/package/" | |
13314 | "text-binary/text-binary-" | |
13315 | version ".tar.gz")) | |
13316 | (sha256 | |
13317 | (base32 | |
13318 | "18gl10pwg3qwsk0za3c70j4n6a9129wwf1b7d3a461h816yv55xn")))) | |
13319 | (build-system haskell-build-system) | |
13320 | (home-page "https://github.com/kawu/text-binary") | |
13321 | (synopsis "Binary instances for text types") | |
13322 | (description | |
13323 | "This package provides a compatibility layer providing @code{Binary} | |
13324 | instances for strict and lazy text types for versions older than 1.2.1 of the | |
13325 | text package.") | |
13326 | (license license:bsd-2))) | |
13327 | ||
714e5605 JS |
13328 | (define-public ghc-text-manipulate |
13329 | (package | |
13330 | (name "ghc-text-manipulate") | |
13331 | (version "0.2.0.1") | |
13332 | (source | |
13333 | (origin | |
13334 | (method url-fetch) | |
13335 | (uri (string-append | |
13336 | "https://hackage.haskell.org/package/text-manipulate" | |
13337 | "/text-manipulate-" | |
13338 | version | |
13339 | ".tar.gz")) | |
13340 | (sha256 | |
13341 | (base32 | |
13342 | "0bwxyjj3ll45srxhsp2ihikgqglvjc6m02ixr8xpvyqwkcfwgsg0")))) | |
13343 | (build-system haskell-build-system) | |
13344 | (native-inputs | |
13345 | `(("ghc-tasty" ,ghc-tasty) | |
13346 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
13347 | (home-page | |
13348 | "https://github.com/brendanhay/text-manipulate") | |
13349 | (synopsis | |
13350 | "Case conversion, word boundary manipulation, and textual subjugation") | |
13351 | (description | |
13352 | "Manipulate identifiers and structurally non-complex pieces of text by | |
13353 | delimiting word boundaries via a combination of whitespace, | |
13354 | control-characters, and case-sensitivity. | |
13355 | ||
13356 | Has support for common idioms like casing of programmatic variable names, | |
13357 | taking, dropping, and splitting by word, and modifying the first character of | |
13358 | a piece of text. | |
13359 | ||
13360 | Caution: this library makes heavy use of the text library's internal loop | |
13361 | optimisation framework. Since internal modules are not guaranteed to have a | |
13362 | stable API there is potential for build breakage when the text dependency is | |
13363 | upgraded. Consider yourself warned!") | |
13364 | (license license:mpl2.0))) | |
13365 | ||
bdc877c4 TS |
13366 | (define-public ghc-text-metrics |
13367 | (package | |
13368 | (name "ghc-text-metrics") | |
13369 | (version "0.3.0") | |
13370 | (source | |
13371 | (origin | |
13372 | (method url-fetch) | |
13373 | (uri (string-append "https://hackage.haskell.org/package/" | |
13374 | "text-metrics/text-metrics-" version ".tar.gz")) | |
13375 | (sha256 | |
13376 | (base32 | |
13377 | "18mzxwkdvjp31r720ai9bnxr638qq8x3a2v408bz0d8f0rsayx1q")))) | |
13378 | (build-system haskell-build-system) | |
13379 | (inputs | |
13380 | `(("ghc-vector" ,ghc-vector))) | |
13381 | (native-inputs | |
13382 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
13383 | ("ghc-hspec" ,ghc-hspec))) | |
13384 | (arguments | |
13385 | `(#:cabal-revision | |
13386 | ("4" "017drxq9x56b345d8w5m8xdsi1zzs0z16pbdx8j35cd1lsnh3kf1"))) | |
13387 | (home-page "https://github.com/mrkkrp/text-metrics") | |
13388 | (synopsis "Calculate various string metrics efficiently") | |
13389 | (description "This library provides tools to calculate various | |
13390 | string metrics efficiently.") | |
13391 | (license license:bsd-3))) | |
13392 | ||
dddbc90c RV |
13393 | (define-public ghc-tf-random |
13394 | (package | |
13395 | (name "ghc-tf-random") | |
13396 | (version "0.5") | |
534d6caa | 13397 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
13398 | (source |
13399 | (origin | |
13400 | (method url-fetch) | |
13401 | (uri (string-append | |
13402 | "https://hackage.haskell.org/package/tf-random/tf-random-" | |
13403 | version | |
13404 | ".tar.gz")) | |
13405 | (sha256 | |
13406 | (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f")))) | |
13407 | (build-system haskell-build-system) | |
13408 | (inputs | |
13409 | `(("ghc-primitive" ,ghc-primitive) | |
13410 | ("ghc-random" ,ghc-random))) | |
13411 | (home-page "https://hackage.haskell.org/package/tf-random") | |
13412 | (synopsis "High-quality splittable pseudorandom number generator") | |
13413 | (description "This package contains an implementation of a high-quality | |
13414 | splittable pseudorandom number generator. The generator is based on a | |
13415 | cryptographic hash function built on top of the ThreeFish block cipher. See | |
13416 | the paper \"Splittable Pseudorandom Number Generators Using Cryptographic | |
13417 | Hashing\" by Claessen, Pałka for details and the rationale of the design.") | |
13418 | (license license:bsd-3))) | |
13419 | ||
13420 | (define-public ghc-th-abstraction | |
13421 | (package | |
13422 | (name "ghc-th-abstraction") | |
1188eabb | 13423 | (version "0.3.1.0") |
dddbc90c RV |
13424 | (source |
13425 | (origin | |
13426 | (method url-fetch) | |
13427 | (uri (string-append "https://hackage.haskell.org/package/" | |
13428 | "th-abstraction/th-abstraction-" | |
13429 | version ".tar.gz")) | |
13430 | (sha256 | |
13431 | (base32 | |
1188eabb | 13432 | "1f81w0gshvc816cf9qz0f19jsrzh6wpzmmy317xrgn63dv61p7jb")))) |
dddbc90c RV |
13433 | (build-system haskell-build-system) |
13434 | (home-page "https://github.com/glguy/th-abstraction") | |
13435 | (synopsis "Nicer interface for reified information about data types") | |
13436 | (description | |
13437 | "This package normalizes variations in the interface for inspecting | |
13438 | datatype information via Template Haskell so that packages and support a | |
13439 | single, easier to use informational datatype while supporting many versions of | |
13440 | Template Haskell.") | |
13441 | (license license:isc))) | |
13442 | ||
13443 | (define-public ghc-th-expand-syns | |
13444 | (package | |
13445 | (name "ghc-th-expand-syns") | |
8c766600 | 13446 | (version "0.4.5.0") |
dddbc90c RV |
13447 | (source (origin |
13448 | (method url-fetch) | |
13449 | (uri (string-append "https://hackage.haskell.org/package/" | |
13450 | "th-expand-syns/th-expand-syns-" | |
13451 | version ".tar.gz")) | |
13452 | (sha256 | |
13453 | (base32 | |
8c766600 | 13454 | "1p4wfyycan8zsp9wi7npx36qwbfsbcgdyxi3ii51scf69dkrx42y")))) |
dddbc90c RV |
13455 | (build-system haskell-build-system) |
13456 | (inputs | |
13457 | `(("ghc-syb" ,ghc-syb))) | |
13458 | (home-page "https://hackage.haskell.org/package/th-expand-syns") | |
13459 | (synopsis "Expands type synonyms in Template Haskell ASTs") | |
13460 | (description | |
13461 | "This package enables users to expand type synonyms in Template Haskell | |
13462 | @dfn{abstract syntax trees} (ASTs).") | |
13463 | (license license:bsd-3))) | |
13464 | ||
13465 | (define-public ghc-th-lift | |
13466 | (package | |
13467 | (name "ghc-th-lift") | |
bd76b20a | 13468 | (version "0.8.0.1") |
dddbc90c RV |
13469 | (source (origin |
13470 | (method url-fetch) | |
13471 | (uri (string-append "https://hackage.haskell.org/package/" | |
13472 | "th-lift/th-lift-" version ".tar.gz")) | |
13473 | (sha256 | |
13474 | (base32 | |
bd76b20a | 13475 | "1a6qlbdg15cfr5rvl9g3blgwx4v1p0xic0pzv13zx165xbc36ld0")))) |
dddbc90c RV |
13476 | (build-system haskell-build-system) |
13477 | (inputs | |
13478 | `(("ghc-th-abstraction" ,ghc-th-abstraction))) | |
13479 | (home-page "https://github.com/mboes/th-lift") | |
13480 | (synopsis "Derive Template Haskell's Lift class for datatypes") | |
13481 | (description | |
13482 | "This is a Haskell library to derive Template Haskell's Lift class for | |
13483 | datatypes.") | |
13484 | (license license:bsd-3))) | |
13485 | ||
13486 | (define-public ghc-th-lift-instances | |
13487 | (package | |
13488 | (name "ghc-th-lift-instances") | |
d3db399e | 13489 | (version "0.1.14") |
dddbc90c RV |
13490 | (source |
13491 | (origin | |
13492 | (method url-fetch) | |
13493 | (uri (string-append "https://hackage.haskell.org/package/" | |
13494 | "th-lift-instances/th-lift-instances-" | |
13495 | version ".tar.gz")) | |
13496 | (sha256 | |
13497 | (base32 | |
d3db399e | 13498 | "0r1b4jnvcj64wp4hfccwkl4a70n1p1q7qzyx6ax7cmd8k961jz78")))) |
dddbc90c RV |
13499 | (build-system haskell-build-system) |
13500 | (inputs | |
13501 | `(("ghc-th-lift" ,ghc-th-lift) | |
13502 | ("ghc-vector" ,ghc-vector) | |
13503 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
13504 | (home-page "https://github.com/bennofs/th-lift-instances/") | |
13505 | (synopsis "Lift instances for template-haskell for common data types.") | |
13506 | (description "Most data types in the Haskell platform do not have Lift | |
13507 | instances. This package provides orphan instances for @code{containers}, | |
13508 | @code{text}, @code{bytestring} and @code{vector}.") | |
13509 | (license license:bsd-3))) | |
13510 | ||
13511 | (define-public ghc-th-orphans | |
13512 | (package | |
13513 | (name "ghc-th-orphans") | |
882b23e2 | 13514 | (version "0.13.9") |
dddbc90c RV |
13515 | (source (origin |
13516 | (method url-fetch) | |
13517 | (uri (string-append "https://hackage.haskell.org/package/" | |
13518 | "th-orphans/th-orphans-" version ".tar.gz")) | |
13519 | (sha256 | |
13520 | (base32 | |
882b23e2 | 13521 | "1xj1gssv77hdx1r3ndg8k49v3ipj3a6r7crkyvx13jrps3m6ng1z")))) |
dddbc90c RV |
13522 | (build-system haskell-build-system) |
13523 | (inputs | |
13524 | `(("ghc-th-lift" ,ghc-th-lift) | |
13525 | ("ghc-th-lift-instances" ,ghc-th-lift-instances) | |
13526 | ("ghc-th-reify-many" ,ghc-th-reify-many) | |
13527 | ("ghc-generic-deriving" ,ghc-generic-deriving))) | |
13528 | (native-inputs | |
13529 | `(("ghc-hspec" ,ghc-hspec))) | |
13530 | (home-page "https://hackage.haskell.org/package/th-orphans") | |
13531 | (synopsis "Orphan instances for TH datatypes") | |
13532 | (description | |
13533 | "This package provides orphan instances for Template Haskell datatypes. In particular, | |
13534 | instances for @code{Ord} and @code{Lift}, as well as a few missing @code{Show} | |
13535 | and @code{Eq} instances. These instances used to live in the haskell-src-meta | |
13536 | package, and that's where the version number started.") | |
13537 | (license license:bsd-3))) | |
13538 | ||
20c440ea JS |
13539 | (define-public ghc-these |
13540 | (package | |
13541 | (name "ghc-these") | |
13542 | (version "1.0.1") | |
13543 | (source | |
13544 | (origin | |
13545 | (method url-fetch) | |
13546 | (uri (string-append | |
13547 | "https://hackage.haskell.org/package/these/these-" | |
13548 | version | |
13549 | ".tar.gz")) | |
13550 | (sha256 | |
13551 | (base32 | |
13552 | "1k0pi65g7cm9hzdw6my6bzz2zvddkmj1qs45ymqmi316bpiixk3r")))) | |
13553 | (build-system haskell-build-system) | |
13554 | (inputs | |
13555 | `(("ghc-base-compat" ,ghc-base-compat) | |
13556 | ("ghc-hashable" ,ghc-hashable) | |
13557 | ("ghc-aeson" ,ghc-aeson) | |
13558 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
13559 | ("ghc-assoc" ,ghc-assoc) | |
13560 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
13561 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
13562 | (arguments | |
13563 | `(#:cabal-revision | |
13564 | ("1" | |
13565 | "0923r86fnmgpx0msm68aszirh2n19nn5bccgjxfh2146jw4z7w3z"))) | |
13566 | (home-page | |
13567 | "https://github.com/isomorphism/these") | |
13568 | (synopsis "Either-or-both data type") | |
13569 | (description | |
13570 | "This package provides a data type @code{These a b} which can | |
13571 | hold a value of either type or values of each type. This is usually | |
13572 | thought of as an \"inclusive or\" type (contrasting @code{Either a b} as | |
13573 | \"exclusive or\") or as an \"outer join\" type (contrasting @code{(a, b)} | |
13574 | as \"inner join\"). | |
13575 | ||
13576 | @code{data These a b = This a | That b | These a b} | |
13577 | ||
13578 | Since version 1, this package was split into parts: | |
13579 | ||
13580 | @itemize | |
13581 | @item | |
13582 | https://hackage.haskell.org/package/semialign For @code{Align} and | |
13583 | @code{Zip} type-classes. | |
13584 | @item | |
13585 | https://hackage.haskell.org/package/semialign-indexed For | |
13586 | @code{SemialignWithIndex} class, providing @code{ialignWith} and | |
13587 | @code{izipWith} | |
13588 | @item | |
13589 | https://hackage.haskell.org/package/these-lens For lens combinators. | |
13590 | @item | |
13591 | http://hackage.haskell.org/package/monad-chronicle For transformers | |
13592 | variant of @code{These}. | |
13593 | @end itemize") | |
13594 | (license license:bsd-3))) | |
13595 | ||
dddbc90c RV |
13596 | (define-public ghc-threads |
13597 | (package | |
13598 | (name "ghc-threads") | |
13599 | (version "0.5.1.6") | |
13600 | (source | |
13601 | (origin | |
13602 | (method url-fetch) | |
13603 | (uri (string-append "https://hackage.haskell.org/package/" | |
13604 | "threads/threads-" version ".tar.gz")) | |
13605 | (sha256 | |
13606 | (base32 | |
13607 | "0bjnjhnq3km6xqk0fn1fgyz5xdw4h6lylbwwbcmkkfzwcz0c76hk")))) | |
13608 | (build-system haskell-build-system) | |
13609 | (native-inputs | |
13610 | `(("ghc-concurrent-extra" ,ghc-concurrent-extra) | |
13611 | ("ghc-hunit" ,ghc-hunit) | |
13612 | ("ghc-test-framework" ,ghc-test-framework) | |
13613 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit))) | |
13614 | (home-page "https://github.com/basvandijk/threads") | |
13615 | (synopsis "Fork threads and wait for their result") | |
13616 | (description "This package provides functions to fork threads and | |
13617 | wait for their result, whether it's an exception or a normal value. | |
13618 | Besides waiting for the termination of a single thread this package also | |
13619 | provides functions to wait for a group of threads to terminate. This | |
bbf8bf31 RV |
13620 | package is similar to the @code{threadmanager}, @code{async} and |
13621 | @code{spawn} packages. The advantages of this package are: | |
13622 | ||
dddbc90c RV |
13623 | @itemize |
13624 | @item Simpler API. | |
13625 | @item More efficient in both space and time. | |
13626 | @item No space-leak when forking a large number of threads. | |
13627 | @item Correct handling of asynchronous exceptions. | |
13628 | @item GHC specific functionality like @code{forkOn} and | |
13629 | @code{forkIOWithUnmask}. | |
13630 | @end itemize") | |
13631 | (license license:bsd-3))) | |
13632 | ||
13633 | (define-public ghc-th-reify-many | |
13634 | (package | |
13635 | (name "ghc-th-reify-many") | |
32d4a6ae | 13636 | (version "0.1.9") |
dddbc90c RV |
13637 | (source (origin |
13638 | (method url-fetch) | |
13639 | (uri (string-append "https://hackage.haskell.org/package/" | |
13640 | "th-reify-many/th-reify-many-" | |
13641 | version ".tar.gz")) | |
13642 | (sha256 | |
13643 | (base32 | |
32d4a6ae | 13644 | "0hxf56filzqnyrc8q7766vai80y6cgrrbrczx6n93caskl1dv2gq")))) |
dddbc90c RV |
13645 | (build-system haskell-build-system) |
13646 | (inputs | |
13647 | `(("ghc-safe" ,ghc-safe) | |
13648 | ("ghc-th-expand-syns" ,ghc-th-expand-syns))) | |
13649 | (home-page "https://github.com/mgsloan/th-reify-many") | |
13650 | (synopsis "Recurseively reify template haskell datatype info") | |
13651 | (description | |
13652 | "th-reify-many provides functions for recursively reifying top level | |
13653 | declarations. The main intended use case is for enumerating the names of | |
13654 | datatypes reachable from an initial datatype, and passing these names to some | |
13655 | function which generates instances.") | |
13656 | (license license:bsd-3))) | |
13657 | ||
75cfc9a2 TS |
13658 | (define-public ghc-time-compat |
13659 | (package | |
13660 | (name "ghc-time-compat") | |
13661 | (version "1.9.2.2") | |
13662 | (source | |
13663 | (origin | |
13664 | (method url-fetch) | |
13665 | (uri (string-append "https://hackage.haskell.org/package/" | |
13666 | "time-compat/time-compat-" version ".tar.gz")) | |
13667 | (sha256 | |
13668 | (base32 | |
13669 | "05va0rqs759vbridbcl6hksp967j9anjvys8vx72fnfkhlrn2s52")))) | |
13670 | (build-system haskell-build-system) | |
13671 | (inputs | |
13672 | `(("ghc-base-orphans" ,ghc-base-orphans))) | |
13673 | (native-inputs | |
13674 | `(("ghc-hunit" ,ghc-hunit) | |
13675 | ("ghc-base-compat" ,ghc-base-compat) | |
13676 | ("ghc-quickcheck" ,ghc-quickcheck) | |
13677 | ("ghc-tagged" ,ghc-tagged) | |
13678 | ("ghc-tasty" ,ghc-tasty) | |
13679 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
13680 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
13681 | (arguments | |
13682 | `(#:cabal-revision | |
13683 | ("1" "0k8ph4sydaiqp8dav4if6hpiaq8h1xsr93khmdr7a1mmfwdxr64r"))) | |
13684 | (home-page "https://github.com/phadej/time-compat") | |
13685 | (synopsis "Compatibility package for time") | |
a8d73e69 | 13686 | (description "This package tries to compat as many @code{time} |
75cfc9a2 TS |
13687 | features as possible.") |
13688 | (license license:bsd-3))) | |
13689 | ||
dddbc90c RV |
13690 | (define-public ghc-time-locale-compat |
13691 | (package | |
13692 | (name "ghc-time-locale-compat") | |
13693 | (version "0.1.1.5") | |
13694 | (source | |
13695 | (origin | |
13696 | (method url-fetch) | |
13697 | (uri (string-append "https://hackage.haskell.org/package/" | |
13698 | "time-locale-compat/time-locale-compat-" | |
13699 | version ".tar.gz")) | |
13700 | (sha256 | |
13701 | (base32 | |
13702 | "0b2hmj8wwrfkndwzgm11qr496ca2ahwdxcj3m0ii91bxvrk1bzq7")))) | |
13703 | (build-system haskell-build-system) | |
13704 | (inputs `(("ghc-old-locale" ,ghc-old-locale))) | |
13705 | (home-page "https://github.com/khibino/haskell-time-locale-compat") | |
13706 | (synopsis "Compatibility of TimeLocale between old-locale and time-1.5") | |
13707 | (description "This package contains a wrapped name module for | |
13708 | @code{TimeLocale}.") | |
13709 | (license license:bsd-3))) | |
13710 | ||
c022a4d4 TS |
13711 | (define-public ghc-time-manager |
13712 | (package | |
13713 | (name "ghc-time-manager") | |
13714 | (version "0.0.0") | |
13715 | (source | |
13716 | (origin | |
13717 | (method url-fetch) | |
13718 | (uri (string-append "https://hackage.haskell.org/package/" | |
13719 | "time-manager/time-manager-" version ".tar.gz")) | |
13720 | (sha256 | |
13721 | (base32 | |
13722 | "1nzwj0fxz370ks6vr1sylcidx33rnqq45y3q9yv9n4dj43nid9lh")))) | |
13723 | (build-system haskell-build-system) | |
13724 | (inputs | |
13725 | `(("ghc-auto-update" ,ghc-auto-update))) | |
13726 | (home-page "https://github.com/yesodweb/wai") | |
13727 | (synopsis "Scalable timer") | |
13728 | (description "This library contains scalable timer functions provided by a | |
13729 | timer manager.") | |
13730 | (license license:expat))) | |
13731 | ||
7bbfa392 JS |
13732 | (define-public ghc-timeit |
13733 | (package | |
13734 | (name "ghc-timeit") | |
13735 | (version "2.0") | |
13736 | (source | |
13737 | (origin | |
13738 | (method url-fetch) | |
13739 | (uri | |
13740 | (string-append | |
13741 | "https://hackage.haskell.org/package/timeit/timeit-" | |
13742 | version ".tar.gz")) | |
13743 | (sha256 | |
13744 | (base32 | |
13745 | "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1")))) | |
13746 | (build-system haskell-build-system) | |
13747 | (home-page "https://github.com/merijn/timeit") | |
13748 | (synopsis "Time monadic computations with an IO base") | |
13749 | (description "This package provides a simple wrapper to show the | |
13750 | used CPU time of monadic computation with an IO base.") | |
13751 | (license license:bsd-3))) | |
13752 | ||
2ed8bd2d JS |
13753 | (define-public ghc-timezone-series |
13754 | (package | |
13755 | (name "ghc-timezone-series") | |
13756 | (version "0.1.9") | |
13757 | (source | |
13758 | (origin | |
13759 | (method url-fetch) | |
13760 | (uri | |
13761 | (string-append | |
13762 | "mirror://hackage/package/timezone-series/timezone-series-" | |
13763 | version ".tar.gz")) | |
13764 | (sha256 | |
13765 | (base32 | |
13766 | "1blwgnyzqn917rgqkl4dncv9whv3xmk0lav040qq0214vksmvlz5")))) | |
13767 | (build-system haskell-build-system) | |
13768 | (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/") | |
13769 | (synopsis "Enhanced timezone handling for Time") | |
13770 | (description | |
13771 | "This package endows @code{Data.Time}, from the time package, with several | |
13772 | data types and functions for enhanced processing of timezones. For one way to | |
13773 | create timezone series, see the ghc-timezone-olson package.") | |
13774 | (license license:bsd-3))) | |
13775 | ||
ff0f5786 JS |
13776 | (define-public ghc-timezone-olson |
13777 | (package | |
13778 | (name "ghc-timezone-olson") | |
13779 | (version "0.1.9") | |
13780 | (source | |
13781 | (origin | |
13782 | (method url-fetch) | |
13783 | (uri | |
13784 | (string-append | |
13785 | "mirror://hackage/package/timezone-olson/timezone-olson-" | |
13786 | version ".tar.gz")) | |
13787 | (sha256 | |
13788 | (base32 | |
13789 | "05abywx1nrcaz0nqzfy4zw62bc5qd7pdfnjvv4drxkwv084ha8rj")))) | |
13790 | (build-system haskell-build-system) | |
13791 | (inputs | |
13792 | `(("ghc-timezone-series" ,ghc-timezone-series) | |
13793 | ("ghc-extensible-exceptions" ,ghc-extensible-exceptions))) | |
13794 | (home-page "https://archives.haskell.org/projects.haskell.org/time-ng/") | |
13795 | (synopsis "Parser and renderer for binary Olson timezone files") | |
13796 | (description | |
13797 | "A parser and renderer for binary Olson timezone files whose format | |
13798 | is specified by the tzfile(5) man page on Unix-like systems. For more | |
13799 | information about this format, see | |
13800 | @url{http://www.iana.org/time-zones/repository/tz-link.html}. Functions | |
13801 | are provided for converting the parsed data into @code{TimeZoneSeries} | |
13802 | objects from the timezone-series package.") | |
13803 | (license license:bsd-3))) | |
13804 | ||
dddbc90c RV |
13805 | (define-public ghc-tldr |
13806 | (package | |
13807 | (name "ghc-tldr") | |
871ceb31 | 13808 | (version "0.4.0.2") |
dddbc90c RV |
13809 | (source |
13810 | (origin | |
13811 | (method url-fetch) | |
13812 | (uri (string-append | |
13813 | "https://hackage.haskell.org/package/tldr/tldr-" | |
13814 | version | |
13815 | ".tar.gz")) | |
13816 | (sha256 | |
13817 | (base32 | |
871ceb31 | 13818 | "1zy9yyg7bxiyz1prkvrscggsb9p0f8y0nqxxxzlgzvnh2nmqf8f2")))) |
dddbc90c RV |
13819 | (build-system haskell-build-system) |
13820 | (inputs | |
13821 | `(("ghc-cmark" ,ghc-cmark) | |
13822 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
13823 | ("ghc-typed-process" ,ghc-typed-process) | |
13824 | ("ghc-semigroups" ,ghc-semigroups))) | |
13825 | (native-inputs | |
13826 | `(("ghc-tasty" ,ghc-tasty) | |
13827 | ("ghc-tasty-golden" ,ghc-tasty-golden))) | |
13828 | (home-page "https://github.com/psibi/tldr-hs#readme") | |
13829 | (synopsis "Haskell tldr client") | |
13830 | (description "This package provides the @command{tldr} command and a | |
13831 | Haskell client library allowing users to update and view @code{tldr} pages | |
13832 | from a shell. The @code{tldr} pages are a community effort to simplify the | |
13833 | man pages with practical examples.") | |
13834 | (license license:bsd-3))) | |
13835 | ||
283b1bec KM |
13836 | (define-public ghc-torrent |
13837 | (package | |
13838 | (name "ghc-torrent") | |
13839 | (version "10000.1.1") | |
13840 | (source | |
13841 | (origin | |
13842 | (method url-fetch) | |
13843 | (uri (string-append | |
13844 | "https://hackage.haskell.org/package/torrent/torrent-" | |
13845 | version ".tar.gz")) | |
13846 | (sha256 | |
13847 | (base32 "0m7s0q7f8c7glxzqhf2j86ch5xhk6jnzwwsa4mkywag22119c290")))) | |
13848 | (build-system haskell-build-system) | |
13849 | (inputs | |
13850 | `(("ghc-bencode" ,ghc-bencode) | |
13851 | ("ghc-syb" ,ghc-syb))) | |
13852 | (home-page "https://hackage.haskell.org/package/torrent") | |
13853 | (synopsis "BitTorrent file parser and generator") | |
13854 | (description "This library provides support for parsing and generating | |
13855 | BitTorrent files.") | |
13856 | (license license:bsd-3))) | |
13857 | ||
460e4e42 JS |
13858 | (define-public ghc-transformers |
13859 | (package | |
13860 | (name "ghc-transformers") | |
13861 | (version "0.5.6.2") | |
13862 | (source | |
13863 | (origin | |
13864 | (method url-fetch) | |
13865 | (uri (string-append | |
13866 | "mirror://hackage/package/transformers/transformers-" | |
13867 | version | |
13868 | ".tar.gz")) | |
13869 | (sha256 | |
13870 | (base32 | |
13871 | "0v66j5k0xqk51pmca55wq192qyw2p43s2mgxlz4f95q2c1fpjs5n")))) | |
13872 | (build-system haskell-build-system) | |
13873 | (home-page | |
13874 | "http://hackage.haskell.org/package/transformers") | |
13875 | (synopsis "Concrete functor and monad transformers") | |
13876 | (description | |
13877 | "Transformers provides functor and monad transformers, inspired by the | |
13878 | paper \"Functional Programming with Overloading and Higher-Order | |
13879 | Polymorphism\", by Mark P Jones, in Advanced School of Functional Programming, | |
13880 | 1995 @url{http://web.cecs.pdx.edu/~mpj/pubs/springschool.html}. | |
13881 | ||
13882 | This package contains: | |
13883 | @itemize | |
13884 | @item the monad transformer class (in @code{Control.Monad.Trans.Class}) | |
13885 | @item concrete functor and monad transformers, each with associated operations | |
13886 | and functions to lift operations associated with other transformers. | |
13887 | @end itemize | |
13888 | ||
13889 | This package can be used on its own in portable Haskell code, in which case | |
13890 | operations need to be manually lifted through transformer stacks (see | |
13891 | @code{Control.Monad.Trans.Class} for some examples). Alternatively, it can be | |
13892 | used with the non-portable monad classes in the mtl or monads-tf packages, | |
13893 | which automatically lift operations introduced by monad transformers through | |
13894 | other transformers.") | |
13895 | (license license:bsd-3))) | |
13896 | ||
dddbc90c RV |
13897 | (define-public ghc-transformers-base |
13898 | (package | |
13899 | (name "ghc-transformers-base") | |
13900 | (version "0.4.5.2") | |
13901 | (source | |
13902 | (origin | |
13903 | (method url-fetch) | |
13904 | (uri (string-append | |
13905 | "https://hackage.haskell.org/package/transformers-base/transformers-base-" | |
13906 | version | |
13907 | ".tar.gz")) | |
13908 | (sha256 | |
13909 | (base32 | |
13910 | "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h")))) | |
13911 | (build-system haskell-build-system) | |
13912 | (inputs | |
13913 | `(("ghc-transformers-compat" ,ghc-transformers-compat))) | |
13914 | (home-page | |
13915 | "https://hackage.haskell.org/package/transformers-compat") | |
13916 | (synopsis | |
13917 | "Backported transformer library") | |
13918 | (description | |
13919 | "Backported versions of types that were added to transformers in | |
13920 | transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0.3 | |
13921 | compatibility to run on old versions of the platform.") | |
13922 | (license license:bsd-3))) | |
13923 | ||
13924 | (define-public ghc-transformers-compat | |
13925 | (package | |
13926 | (name "ghc-transformers-compat") | |
1c9c4d58 | 13927 | (version "0.6.5") |
dddbc90c RV |
13928 | (source |
13929 | (origin | |
13930 | (method url-fetch) | |
13931 | (uri (string-append | |
13932 | "https://hackage.haskell.org/package/transformers-compat" | |
13933 | "/transformers-compat-" version ".tar.gz")) | |
13934 | (sha256 | |
13935 | (base32 | |
1c9c4d58 | 13936 | "02v2fjbvcrlpvhcsssap8dy8y9pp95jykrlc5arm39sxa48wyrys")))) |
dddbc90c RV |
13937 | (build-system haskell-build-system) |
13938 | (home-page "https://github.com/ekmett/transformers-compat/") | |
13939 | (synopsis "Small compatibility shim between transformers 0.3 and 0.4") | |
13940 | (description "This package includes backported versions of types that were | |
13941 | added to transformers in transformers 0.3 and 0.4 for users who need strict | |
13942 | transformers 0.2 or 0.3 compatibility to run on old versions of the platform, | |
13943 | but also need those types.") | |
13944 | (license license:bsd-3))) | |
13945 | ||
13946 | (define-public ghc-tree-diff | |
13947 | (package | |
13948 | (name "ghc-tree-diff") | |
b4e26067 | 13949 | (version "0.1") |
dddbc90c RV |
13950 | (source |
13951 | (origin | |
13952 | (method url-fetch) | |
13953 | (uri (string-append | |
13954 | "https://hackage.haskell.org/package/tree-diff/tree-diff-" | |
13955 | version | |
13956 | ".tar.gz")) | |
13957 | (sha256 | |
13958 | (base32 | |
b4e26067 | 13959 | "1156nbqn0pn9lp4zjsy4vv5g5wmy4zxwmbqdgvq349rydynh3ng3")))) |
dddbc90c | 13960 | (build-system haskell-build-system) |
dddbc90c RV |
13961 | (inputs |
13962 | `(("ghc-aeson" ,ghc-aeson) | |
13963 | ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) | |
13964 | ("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
13965 | ("ghc-base-compat" ,ghc-base-compat) | |
b4e26067 | 13966 | ("ghc-bytestring-builder" ,ghc-bytestring-builder) |
dddbc90c | 13967 | ("ghc-hashable" ,ghc-hashable) |
dddbc90c RV |
13968 | ("ghc-parsers" ,ghc-parsers) |
13969 | ("ghc-quickcheck" ,ghc-quickcheck) | |
13970 | ("ghc-scientific" ,ghc-scientific) | |
13971 | ("ghc-tagged" ,ghc-tagged) | |
13972 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
13973 | ("ghc-uuid-types" ,ghc-uuid-types) | |
13974 | ("ghc-vector" ,ghc-vector))) | |
13975 | (native-inputs | |
13976 | `(("ghc-base-compat" ,ghc-base-compat) | |
13977 | ("ghc-quickcheck" ,ghc-quickcheck) | |
13978 | ("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
13979 | ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) | |
13980 | ("ghc-trifecta" ,ghc-trifecta) | |
13981 | ("ghc-tasty" ,ghc-tasty) | |
13982 | ("ghc-tasty-golden" ,ghc-tasty-golden) | |
13983 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
13984 | (home-page "https://github.com/phadej/tree-diff") | |
13985 | (synopsis "Compute difference between (expression) trees") | |
13986 | (description "This Haskell library provides a function for computing | |
13987 | the difference between (expression) trees. It also provides a way to | |
13988 | compute the difference between arbitrary abstract datatypes (ADTs) using | |
13989 | @code{Generics}-derivable helpers.") | |
13990 | (license license:bsd-3))) | |
13991 | ||
13992 | (define-public ghc-trifecta | |
13993 | (package | |
13994 | (name "ghc-trifecta") | |
13995 | (version "2") | |
13996 | (source (origin | |
13997 | (method url-fetch) | |
13998 | (uri (string-append | |
13999 | "https://hackage.haskell.org/package/trifecta/" | |
14000 | "trifecta-" version ".tar.gz")) | |
14001 | (sha256 | |
14002 | (base32 | |
14003 | "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk")))) | |
14004 | (build-system haskell-build-system) | |
5ffe8cfd TS |
14005 | (arguments |
14006 | `(#:tests? #f ; doctest suite fails to build on i686 | |
14007 | #:cabal-revision | |
14008 | ("4" "0xbwyvwl6f2zylk60f2akwgq03qv49113xil7b1z1s3vlwbn5aj1"))) | |
dddbc90c RV |
14009 | (inputs |
14010 | `(("ghc-reducers" ,ghc-reducers) | |
14011 | ("ghc-semigroups" ,ghc-semigroups) | |
14012 | ("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) | |
14013 | ("ghc-ansi-terminal" ,ghc-ansi-terminal) | |
14014 | ("ghc-blaze-builder" ,ghc-blaze-builder) | |
14015 | ("ghc-blaze-html" ,ghc-blaze-html) | |
14016 | ("ghc-blaze-markup" ,ghc-blaze-markup) | |
14017 | ("ghc-charset" ,ghc-charset) | |
14018 | ("ghc-comonad" ,ghc-comonad) | |
14019 | ("ghc-fingertree" ,ghc-fingertree) | |
14020 | ("ghc-hashable" ,ghc-hashable) | |
14021 | ("ghc-lens" ,ghc-lens) | |
14022 | ("ghc-parsers" ,ghc-parsers) | |
14023 | ("ghc-profunctors" ,ghc-profunctors) | |
14024 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
14025 | ("ghc-utf8-string" ,ghc-utf8-string))) | |
14026 | (native-inputs | |
14027 | `(("cabal-doctest" ,cabal-doctest) | |
14028 | ("ghc-doctest" ,ghc-doctest) | |
14029 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
14030 | (home-page "https://github.com/ekmett/trifecta/") | |
14031 | (synopsis "Parser combinator library with convenient diagnostics") | |
14032 | (description "Trifecta is a modern parser combinator library for Haskell, | |
14033 | with slicing and Clang-style colored diagnostics.") | |
14034 | (license license:bsd-3))) | |
14035 | ||
14036 | (define-public ghc-tuple-th | |
14037 | (package | |
14038 | (name "ghc-tuple-th") | |
14039 | (version "0.2.5") | |
14040 | (source | |
14041 | (origin | |
14042 | (method url-fetch) | |
14043 | (uri (string-append "https://hackage.haskell.org/package/" | |
14044 | "tuple-th-" version "/" | |
14045 | "tuple-th-" version ".tar.gz")) | |
14046 | (sha256 | |
14047 | (base32 | |
14048 | "1mrl4vvxmby7sf1paf7hklzidnr6wq55822i73smqyz0xpf3gsjn")))) | |
14049 | (build-system haskell-build-system) | |
14050 | (home-page "https://github.com/DanielSchuessler/tuple-th") | |
14051 | (synopsis "Generate utility functions for tuples of statically known size | |
14052 | for Haskell") | |
14053 | (description "This Haskell package contains Template Haskell functions for | |
14054 | generating functions similar to those in @code{Data.List} for tuples of | |
14055 | statically known size.") | |
14056 | (license license:bsd-3))) | |
14057 | ||
9f776fe2 JS |
14058 | (define-public ghc-turtle |
14059 | (package | |
14060 | (name "ghc-turtle") | |
14061 | (version "1.5.15") | |
14062 | (source | |
14063 | (origin | |
14064 | (method url-fetch) | |
14065 | (uri (string-append | |
14066 | "mirror://hackage/package/turtle/turtle-" | |
14067 | version | |
14068 | ".tar.gz")) | |
14069 | (sha256 | |
14070 | (base32 | |
14071 | "0yckgsc2a4g5x867gni80ldp226bsnhncfbil4ql6v2zwm4r8p7f")))) | |
14072 | (build-system haskell-build-system) | |
14073 | (inputs | |
14074 | `(("ghc-ansi-wl-pprint" ,ghc-ansi-wl-pprint) | |
14075 | ("ghc-async" ,ghc-async) | |
14076 | ("ghc-clock" ,ghc-clock) | |
14077 | ("ghc-exceptions" ,ghc-exceptions) | |
14078 | ("ghc-foldl" ,ghc-foldl) | |
14079 | ("ghc-hostname" ,ghc-hostname) | |
14080 | ("ghc-managed" ,ghc-managed) | |
14081 | ("ghc-semigroups" ,ghc-semigroups) | |
14082 | ("ghc-system-filepath" ,ghc-system-filepath) | |
14083 | ("ghc-system-fileio" ,ghc-system-fileio) | |
14084 | ("ghc-streaming-commons" ,ghc-streaming-commons) | |
14085 | ("ghc-temporary" ,ghc-temporary) | |
14086 | ("ghc-optparse-applicative" ,ghc-optparse-applicative) | |
14087 | ("ghc-optional-args" ,ghc-optional-args) | |
14088 | ("ghc-unix-compat" ,ghc-unix-compat))) | |
14089 | (native-inputs | |
14090 | `(("ghc-doctest" ,ghc-doctest) | |
14091 | ("ghc-fail" ,ghc-fail))) | |
14092 | (arguments | |
14093 | `(#:cabal-revision | |
14094 | ("1" "02q1rv7zx31xz9wnmcqwd4w3iw7623p07iyi21zr0cqlignic5pg"))) | |
14095 | (home-page | |
14096 | "http://hackage.haskell.org/package/turtle") | |
14097 | (synopsis "Shell programming, Haskell-style") | |
14098 | (description | |
14099 | "Turtle is a reimplementation of the Unix command line environment in | |
14100 | Haskell so that you can use Haskell as both a shell and a scripting | |
14101 | language. Features include: | |
14102 | ||
14103 | @itemize | |
14104 | @item Batteries included: Command an extended suite of predefined utilities. | |
14105 | @item Interoperability: You can still run external shell commands. | |
14106 | @item Portability: Works on Windows, OS X, and Linux. | |
14107 | @item Exception safety: Safely acquire and release resources. | |
14108 | @item Streaming: Transform or fold command output in constant space. | |
14109 | @item Patterns: Use typed regular expressions that can parse structured values. | |
14110 | @item Formatting: Type-safe printf-style text formatting. | |
14111 | @item Modern: Supports text and system-filepath. | |
14112 | @end itemize | |
14113 | ||
14114 | Read \"Turtle.Tutorial\" for a detailed tutorial or \"Turtle.Prelude\" for a | |
14115 | quick-start guide. Turtle is designed to be beginner-friendly, but as a | |
14116 | result lacks certain features, like tracing commands. If you feel comfortable | |
14117 | using turtle then you should also check out the Shelly library which provides | |
14118 | similar functionality.") | |
14119 | (license license:bsd-3))) | |
14120 | ||
dddbc90c RV |
14121 | (define-public ghc-typed-process |
14122 | (package | |
14123 | (name "ghc-typed-process") | |
72fb84a5 | 14124 | (version "0.2.6.0") |
dddbc90c RV |
14125 | (source |
14126 | (origin | |
14127 | (method url-fetch) | |
14128 | (uri (string-append "https://hackage.haskell.org/package/" | |
14129 | "typed-process/typed-process-" | |
14130 | version ".tar.gz")) | |
14131 | (sha256 | |
14132 | (base32 | |
72fb84a5 | 14133 | "1cf2pfym8zdxvvy7xv72ixj7wy3rjrdss6f57k1ysgs66cgsi8ii")))) |
dddbc90c RV |
14134 | (build-system haskell-build-system) |
14135 | (inputs | |
72fb84a5 TS |
14136 | `(("ghc-async" ,ghc-async) |
14137 | ("ghc-unliftio-core" ,ghc-unliftio-core))) | |
dddbc90c RV |
14138 | (native-inputs |
14139 | `(("ghc-base64-bytestring" ,ghc-base64-bytestring) | |
14140 | ("ghc-hspec" ,ghc-hspec) | |
14141 | ("hspec-discover" ,hspec-discover) | |
14142 | ("ghc-temporary" ,ghc-temporary))) | |
14143 | (home-page "https://haskell-lang.org/library/typed-process") | |
14144 | (synopsis "Run external processes with strong typing of streams") | |
14145 | (description | |
14146 | "This library provides the ability to launch and interact with external | |
14147 | processes. It wraps around the @code{process} library, and intends to improve | |
14148 | upon it.") | |
14149 | (license license:expat))) | |
14150 | ||
3a09211c CH |
14151 | (define-public ghc-uglymemo |
14152 | (package | |
14153 | (name "ghc-uglymemo") | |
14154 | (version "0.1.0.1") | |
14155 | (source | |
14156 | (origin | |
14157 | (method url-fetch) | |
14158 | (uri (string-append | |
14159 | "https://hackage.haskell.org/package/uglymemo/uglymemo-" | |
14160 | version | |
14161 | ".tar.gz")) | |
14162 | (sha256 | |
14163 | (base32 | |
14164 | "0ixqg5d0ly1r18jbgaa89i6kjzgi6c5hanw1b1y8c5fbq14yz2gy")))) | |
14165 | (build-system haskell-build-system) | |
14166 | (home-page "https://hackage.haskell.org/package/uglymemo") | |
14167 | (synopsis "Simple memoization function for Haskell") | |
14168 | (description | |
14169 | "This package provides a simple (but internally ugly) memoization | |
14170 | function.") | |
14171 | (license license:public-domain))) | |
14172 | ||
d392f803 AG |
14173 | (define-public ghc-unagi-chan |
14174 | (package | |
14175 | (name "ghc-unagi-chan") | |
14176 | (version "0.4.1.2") | |
14177 | (source | |
14178 | (origin | |
14179 | (method url-fetch) | |
14180 | (uri (string-append "https://hackage.haskell.org/package/unagi-chan" | |
14181 | "/unagi-chan-" version ".tar.gz")) | |
14182 | (sha256 | |
14183 | (base32 | |
14184 | "1lnl5n4jnjmm4chp461glcwkrrw63rjz3fvprwxcy3lkpbkrqvgn")))) | |
14185 | (build-system haskell-build-system) | |
14186 | (inputs | |
14187 | `(("ghc-atomic-primops" ,ghc-atomic-primops) | |
14188 | ("ghc-primitive" ,ghc-primitive))) | |
14189 | (arguments | |
14190 | `(#:tests? #f ; FIXME: Tests expect primitive 0.7 | |
14191 | #:cabal-revision | |
14192 | ("1" | |
14193 | "09pqi867wskwgc5lpn197f895mbn1174ydgllvcppcsmrz2b6yr6"))) | |
3ef91e15 | 14194 | (home-page "https://hackage.haskell.org/package/unagi-chan") |
d392f803 AG |
14195 | (synopsis "Fast concurrent queues with a Chan-like API, and more") |
14196 | (description | |
14197 | "This library provides implementations of concurrent FIFO queues (for | |
14198 | both general boxed and primitive unboxed values) that are fast, perform well | |
14199 | under contention, and offer a Chan-like interface. The library may be of | |
14200 | limited usefulness outside of x86 architectures where the fetch-and-add | |
14201 | instruction is not available.") | |
14202 | (license license:bsd-3))) | |
14203 | ||
dddbc90c RV |
14204 | (define-public ghc-unbounded-delays |
14205 | (package | |
14206 | (name "ghc-unbounded-delays") | |
14207 | (version "0.1.1.0") | |
14208 | (source | |
14209 | (origin | |
14210 | (method url-fetch) | |
14211 | (uri (string-append | |
14212 | "https://hackage.haskell.org/package/unbounded-delays/unbounded-delays-" | |
14213 | version | |
14214 | ".tar.gz")) | |
14215 | (sha256 | |
14216 | (base32 | |
14217 | "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa")))) | |
14218 | (build-system haskell-build-system) | |
14219 | (home-page "https://github.com/basvandijk/unbounded-delays") | |
14220 | (synopsis "Unbounded thread delays and timeouts") | |
14221 | (description "The @code{threadDelay} and @code{timeout} functions from the | |
14222 | Haskell base library use the bounded @code{Int} type for specifying the delay | |
14223 | or timeout period. This package provides alternative functions which use the | |
14224 | unbounded @code{Integer} type.") | |
14225 | (license license:bsd-3))) | |
14226 | ||
14227 | (define-public ghc-unexceptionalio | |
14228 | (package | |
14229 | (name "ghc-unexceptionalio") | |
14230 | (version "0.4.0") | |
14231 | (source | |
14232 | (origin | |
14233 | (method url-fetch) | |
14234 | (uri (string-append "https://hackage.haskell.org/package/" | |
14235 | "unexceptionalio-" version "/" "unexceptionalio-" | |
14236 | version ".tar.gz")) | |
14237 | (sha256 (base32 "09gynk472l7nn5l2w320n4dwigwp0wh0shfp6dyw6r5h2jdxz18p")))) | |
14238 | (build-system haskell-build-system) | |
14239 | (home-page "https://github.com/singpolyma/unexceptionalio") | |
14240 | (synopsis "IO without any non-error, synchronous exceptions") | |
14241 | (description "When you've caught all the exceptions that can be | |
14242 | handled safely, this is what you're left with.") | |
14243 | (license license:isc))) | |
14244 | ||
b69d4aa7 TS |
14245 | (define-public ghc-unicode-transforms |
14246 | (package | |
14247 | (name "ghc-unicode-transforms") | |
14248 | (version "0.3.6") | |
14249 | (source | |
14250 | (origin | |
14251 | (method url-fetch) | |
14252 | (uri (string-append "https://hackage.haskell.org/package/" | |
14253 | "unicode-transforms/unicode-transforms-" | |
14254 | version ".tar.gz")) | |
14255 | (sha256 | |
14256 | (base32 | |
14257 | "1akscvyssif4hki3g6hy0jmjyr8cqly1whzvzj0km2b3qh0x09l3")))) | |
14258 | (build-system haskell-build-system) | |
14259 | (inputs | |
14260 | `(("ghc-bitarray" ,ghc-bitarray))) | |
14261 | (native-inputs | |
14262 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
14263 | ("ghc-getopt-generics" ,ghc-getopt-generics) | |
14264 | ("ghc-split" ,ghc-split))) | |
14265 | (home-page "https://github.com/composewell/unicode-transforms") | |
14266 | (synopsis "Unicode normalization") | |
14267 | (description "This library provides tools for fast Unicode 12.1.0 | |
14268 | normalization in Haskell (normalization forms C, KC, D, and KD).") | |
14269 | (license license:bsd-3))) | |
14270 | ||
dddbc90c RV |
14271 | (define-public ghc-union-find |
14272 | (package | |
14273 | (name "ghc-union-find") | |
14274 | (version "0.2") | |
14275 | (source (origin | |
14276 | (method url-fetch) | |
14277 | (uri (string-append | |
14278 | "https://hackage.haskell.org/package/union-find/union-find-" | |
14279 | version ".tar.gz")) | |
14280 | (sha256 | |
14281 | (base32 | |
14282 | "1v7hj42j9w6jlzi56jg8rh4p58gfs1c5dx30wd1qqvn0p0mnihp6")))) | |
14283 | (build-system haskell-build-system) | |
14284 | (home-page "https://github.com/nominolo/union-find") | |
14285 | (synopsis "Efficient union and equivalence testing of sets") | |
14286 | (description | |
14287 | "The Union/Find algorithm implements these operations in (effectively) | |
14288 | constant-time: | |
14289 | @enumerate | |
14290 | @item Check whether two elements are in the same equivalence class. | |
14291 | @item Create a union of two equivalence classes. | |
14292 | @item Look up the descriptor of the equivalence class. | |
14293 | @end enumerate\n") | |
14294 | (license license:bsd-3))) | |
14295 | ||
14296 | (define-public ghc-uniplate | |
14297 | (package | |
14298 | (name "ghc-uniplate") | |
14299 | (version "1.6.12") | |
14300 | (source | |
14301 | (origin | |
14302 | (method url-fetch) | |
14303 | (uri (string-append | |
14304 | "https://hackage.haskell.org/package/uniplate/uniplate-" | |
14305 | version | |
14306 | ".tar.gz")) | |
14307 | (sha256 | |
14308 | (base32 | |
14309 | "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw")))) | |
14310 | (build-system haskell-build-system) | |
14311 | (inputs | |
14312 | `(("ghc-syb" ,ghc-syb) | |
14313 | ("ghc-hashable" ,ghc-hashable) | |
14314 | ("ghc-unordered-containers" ,ghc-unordered-containers))) | |
f5d88758 | 14315 | (home-page "https://github.com/ndmitchell/uniplate") |
dddbc90c RV |
14316 | (synopsis "Simple, concise and fast generic operations") |
14317 | (description "Uniplate is a library for writing simple and concise generic | |
14318 | operations. Uniplate has similar goals to the original Scrap Your Boilerplate | |
14319 | work, but is substantially simpler and faster.") | |
14320 | (license license:bsd-3))) | |
14321 | ||
14322 | (define-public ghc-unix-compat | |
14323 | (package | |
14324 | (name "ghc-unix-compat") | |
bc82e9f5 | 14325 | (version "0.5.2") |
dddbc90c RV |
14326 | (source |
14327 | (origin | |
14328 | (method url-fetch) | |
14329 | (uri (string-append | |
14330 | "https://hackage.haskell.org/package/unix-compat/unix-compat-" | |
14331 | version | |
14332 | ".tar.gz")) | |
14333 | (sha256 | |
14334 | (base32 | |
bc82e9f5 | 14335 | "1a8brv9fax76b1fymslzyghwa6ma8yijiyyhn12msl3i5x24x6k5")))) |
dddbc90c RV |
14336 | (build-system haskell-build-system) |
14337 | (home-page | |
14338 | "https://github.com/jystic/unix-compat") | |
14339 | (synopsis "Portable POSIX-compatibility layer") | |
14340 | (description | |
14341 | "This package provides portable implementations of parts of the unix | |
14342 | package. This package re-exports the unix package when available. When it | |
14343 | isn't available, portable implementations are used.") | |
14344 | (license license:bsd-3))) | |
14345 | ||
14346 | (define-public ghc-unix-time | |
14347 | (package | |
14348 | (name "ghc-unix-time") | |
fad9cff2 | 14349 | (version "0.4.7") |
dddbc90c RV |
14350 | (source |
14351 | (origin | |
14352 | (method url-fetch) | |
14353 | (uri (string-append | |
14354 | "https://hackage.haskell.org/package/unix-time/unix-time-" | |
14355 | version | |
14356 | ".tar.gz")) | |
14357 | (sha256 | |
14358 | (base32 | |
fad9cff2 | 14359 | "02fyh298lm8jsg52i3z0ikazwz477ljqjmhnqr2d88grmn5ky8qr")))) |
dddbc90c RV |
14360 | (build-system haskell-build-system) |
14361 | (arguments | |
14362 | `(#:tests? #f)) ; FIXME: Test fails with "System.Time not found". This | |
14363 | ; is weird, that should be provided by GHC 7.10.2. | |
14364 | (inputs | |
14365 | `(("ghc-old-time" ,ghc-old-time) | |
14366 | ("ghc-old-locale" ,ghc-old-locale))) | |
14367 | (home-page "https://hackage.haskell.org/package/unix-time") | |
14368 | (synopsis "Unix time parser/formatter and utilities") | |
14369 | (description "This library provides fast parsing and formatting utilities | |
14370 | for Unix time in Haskell.") | |
14371 | (license license:bsd-3))) | |
14372 | ||
14373 | (define-public ghc-unliftio | |
14374 | (package | |
14375 | (name "ghc-unliftio") | |
a4084db1 | 14376 | (version "0.2.12") |
dddbc90c RV |
14377 | (source |
14378 | (origin | |
14379 | (method url-fetch) | |
14380 | (uri (string-append | |
14381 | "https://hackage.haskell.org/package/unliftio/unliftio-" | |
14382 | version | |
14383 | ".tar.gz")) | |
14384 | (sha256 | |
14385 | (base32 | |
a4084db1 | 14386 | "02gy1zrxgzg4xmzm8lafsf1nyr3as1q20r8ld73xg3q7rkag9acg")))) |
dddbc90c RV |
14387 | (build-system haskell-build-system) |
14388 | (arguments `(#:tests? #f)) ; FIXME: hspec-discover not in PATH | |
2b3466de | 14389 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
14390 | (inputs |
14391 | `(("ghc-async" ,ghc-async) | |
14392 | ("ghc-unliftio-core" ,ghc-unliftio-core))) | |
14393 | (native-inputs `(("ghc-hspec" ,ghc-hspec))) | |
14394 | (home-page "https://github.com/fpco/unliftio") | |
14395 | (synopsis "Provides MonadUnliftIO typecplass for unlifting monads to | |
14396 | IO (batteries included)") | |
14397 | (description "This Haskell package provides the core @code{MonadUnliftIO} | |
14398 | typeclass, a number of common instances, and a collection of common functions | |
14399 | working with it.") | |
14400 | (license license:expat))) | |
14401 | ||
14402 | (define-public ghc-unliftio-core | |
14403 | (package | |
14404 | (name "ghc-unliftio-core") | |
2ae42618 | 14405 | (version "0.1.2.0") |
dddbc90c RV |
14406 | (source |
14407 | (origin | |
14408 | (method url-fetch) | |
14409 | (uri (string-append "https://hackage.haskell.org/package/" | |
14410 | "unliftio-core-" version "/" | |
14411 | "unliftio-core-" version ".tar.gz")) | |
14412 | (sha256 | |
14413 | (base32 | |
2ae42618 | 14414 | "0y3siyx3drkw7igs380a87h8qfbbgcyxxlcnshp698hcc4yqphr4")))) |
dddbc90c RV |
14415 | (build-system haskell-build-system) |
14416 | (arguments | |
14417 | `(#:cabal-revision | |
2ae42618 | 14418 | ("2" "0jqrjjbgicx48wzcjxs1xmih48ay79rhmrz6081dldlfxynli6vz"))) |
dddbc90c RV |
14419 | (home-page |
14420 | "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme") | |
14421 | (synopsis "The MonadUnliftIO typeclass for unlifting monads to IO") | |
14422 | (description "This Haskell package provides the core @code{MonadUnliftIO} | |
14423 | typeclass, instances for base and transformers, and basic utility | |
14424 | functions.") | |
14425 | (license license:expat))) | |
14426 | ||
14427 | (define-public ghc-unordered-containers | |
14428 | (package | |
14429 | (name "ghc-unordered-containers") | |
ca01f8d3 | 14430 | (version "0.2.10.0") |
534d6caa | 14431 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
14432 | (source |
14433 | (origin | |
14434 | (method url-fetch) | |
14435 | (uri (string-append | |
14436 | "https://hackage.haskell.org/package/unordered-containers" | |
14437 | "/unordered-containers-" version ".tar.gz")) | |
14438 | (sha256 | |
14439 | (base32 | |
ca01f8d3 | 14440 | "0wy5hfrs880hh8hvp648bl07ws777n3kkmczzdszr7papnyigwb5")))) |
dddbc90c RV |
14441 | (build-system haskell-build-system) |
14442 | (inputs | |
14443 | `(("ghc-chasingbottoms" ,ghc-chasingbottoms) | |
14444 | ("ghc-hunit" ,ghc-hunit) | |
14445 | ("ghc-quickcheck" ,ghc-quickcheck) | |
14446 | ("ghc-test-framework" ,ghc-test-framework) | |
14447 | ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
14448 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
14449 | ("ghc-hashable" ,ghc-hashable))) | |
14450 | (home-page | |
14451 | "https://github.com/tibbe/unordered-containers") | |
14452 | (synopsis | |
14453 | "Efficient hashing-based container types") | |
14454 | (description | |
14455 | "Efficient hashing-based container types. The containers have been | |
14456 | optimized for performance critical use, both in terms of large data quantities | |
14457 | and high speed.") | |
14458 | (license license:bsd-3))) | |
14459 | ||
14460 | (define-public ghc-unordered-containers-bootstrap | |
14461 | (package | |
14462 | (inherit ghc-unordered-containers) | |
14463 | (name "ghc-unordered-containers-bootstrap") | |
14464 | (arguments `(#:tests? #f)) | |
14465 | (inputs | |
14466 | `(("ghc-hashable" ,ghc-hashable-bootstrap))) | |
799d8d3c | 14467 | (properties '((hidden? #t))))) |
dddbc90c | 14468 | |
a52f4c57 JS |
14469 | (define-public ghc-unsafe |
14470 | (package | |
14471 | (name "ghc-unsafe") | |
14472 | (version "0.0") | |
14473 | (source | |
14474 | (origin | |
14475 | (method url-fetch) | |
14476 | (uri | |
14477 | (string-append | |
14478 | "https://hackage.haskell.org/package/unsafe/unsafe-" | |
14479 | version ".tar.gz")) | |
14480 | (sha256 | |
14481 | (base32 | |
14482 | "0hc6xr1i3hkz25gdgfx1jqgpsc9mwa05bkfynp0mcfdlyz6782nz")))) | |
14483 | (build-system haskell-build-system) | |
14484 | (home-page "https://hackage.haskell.org/package/unsafe") | |
14485 | (synopsis "Unified interface to unsafe functions") | |
14486 | (description "Safe Haskell introduced the notion of safe and unsafe | |
14487 | modules. In order to make as many as possible modules ``safe'', the | |
14488 | well-known unsafe functions were moved to distinguished modules. This | |
14489 | makes it hard to write packages that work with both old and new versions | |
14490 | of GHC. This package provides a single module System.Unsafe that | |
14491 | exports the unsafe functions from the base package. It provides them in | |
14492 | a style ready for qualification, that is, you should import them by | |
14493 | @code{import qualified System.Unsafe as Unsafe}.") | |
14494 | (license license:bsd-3))) | |
14495 | ||
dddbc90c RV |
14496 | (define-public ghc-uri-bytestring |
14497 | (package | |
14498 | (name "ghc-uri-bytestring") | |
d35ffd39 | 14499 | (version "0.3.2.2") |
dddbc90c RV |
14500 | (source |
14501 | (origin | |
14502 | (method url-fetch) | |
14503 | (uri (string-append "https://hackage.haskell.org/package/" | |
14504 | "uri-bytestring-" version "/" | |
14505 | "uri-bytestring-" version ".tar.gz")) | |
14506 | (sha256 | |
14507 | (base32 | |
d35ffd39 | 14508 | "0spzv3mwlpxiamd7347sxwcy2xri16ak1y7p1v4fisnvq4jprm67")))) |
dddbc90c RV |
14509 | (build-system haskell-build-system) |
14510 | (inputs `(("ghc-attoparsec" ,ghc-attoparsec) | |
dddbc90c RV |
14511 | ("ghc-blaze-builder" ,ghc-blaze-builder) |
14512 | ("ghc-th-lift-instances" ,ghc-th-lift-instances))) | |
d35ffd39 | 14513 | (native-inputs `(("ghc-hunit" ,ghc-hunit) |
dddbc90c RV |
14514 | ("ghc-tasty" ,ghc-tasty) |
14515 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
d35ffd39 TS |
14516 | ("ghc-hedgehog" ,ghc-hedgehog) |
14517 | ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog) | |
dddbc90c | 14518 | ("ghc-base-compat" ,ghc-base-compat) |
dddbc90c | 14519 | ("ghc-semigroups" ,ghc-semigroups) |
d35ffd39 | 14520 | ("ghc-safe" ,ghc-safe))) |
dddbc90c RV |
14521 | (home-page "https://github.com/Soostone/uri-bytestring") |
14522 | (synopsis "Haskell URI parsing as ByteStrings") | |
14523 | (description "This Haskell package aims to be an RFC3986 compliant URI | |
14524 | parser that uses ByteStrings for parsing and representing the URI data.") | |
14525 | (license license:bsd-3))) | |
14526 | ||
d7ad0823 JS |
14527 | (define-public ghc-utf8-light |
14528 | (package | |
14529 | (name "ghc-utf8-light") | |
14530 | (version "0.4.2") | |
14531 | (source | |
14532 | (origin | |
14533 | (method url-fetch) | |
14534 | (uri (string-append | |
14535 | "mirror://hackage/package/utf8-light/utf8-light-" | |
14536 | version | |
14537 | ".tar.gz")) | |
14538 | (sha256 | |
14539 | (base32 | |
14540 | "0rwyc5z331yfnm4hpx0sph6i1zvkd1z10vvglhnp0vc9wy644k0q")))) | |
14541 | (build-system haskell-build-system) | |
14542 | (home-page | |
14543 | "http://hackage.haskell.org/package/utf8-light") | |
14544 | (synopsis "Lightweight unicode support for Haskell") | |
14545 | (description | |
14546 | "This package profides a class for encoding and decoding UTF8 strings | |
14547 | with instances for several common types. It also includes several functions | |
14548 | for working with UTF8. It aims to be lightweight, depending only on Base and | |
14549 | including only one module.") | |
14550 | (license license:bsd-3))) | |
14551 | ||
dddbc90c RV |
14552 | (define-public ghc-utf8-string |
14553 | (package | |
14554 | (name "ghc-utf8-string") | |
14555 | (version "1.0.1.1") | |
14556 | (source | |
14557 | (origin | |
14558 | (method url-fetch) | |
14559 | (uri (string-append | |
14560 | "https://hackage.haskell.org/package/utf8-string/utf8-string-" | |
14561 | version | |
14562 | ".tar.gz")) | |
14563 | (sha256 | |
14564 | (base32 "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv")))) | |
14565 | (build-system haskell-build-system) | |
14566 | (arguments | |
14567 | `(#:cabal-revision | |
14568 | ("3" "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38"))) | |
14569 | (home-page "https://github.com/glguy/utf8-string/") | |
14570 | (synopsis "Support for reading and writing UTF8 Strings") | |
14571 | (description | |
14572 | "A UTF8 layer for Strings. The utf8-string package provides operations | |
14573 | for encoding UTF8 strings to Word8 lists and back, and for reading and writing | |
14574 | UTF8 without truncation.") | |
14575 | (license license:bsd-3))) | |
14576 | ||
14577 | (define-public ghc-utility-ht | |
14578 | (package | |
14579 | (name "ghc-utility-ht") | |
14580 | (version "0.0.14") | |
14581 | (home-page "https://hackage.haskell.org/package/utility-ht") | |
14582 | (source | |
14583 | (origin | |
14584 | (method url-fetch) | |
14585 | (uri (string-append home-page "/utility-ht-" version ".tar.gz")) | |
14586 | (sha256 | |
14587 | (base32 "1a7bgk7wv7sqbxbiv7kankiimr3wij7zdm7s83zwsf886ghyxhk9")))) | |
14588 | (build-system haskell-build-system) | |
14589 | (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) | |
14590 | (synopsis "Haskell helper functions for Lists, Maybes, Tuples, Functions") | |
14591 | (description "This package includes Hakell modules providing various | |
14592 | helper functions for Lists, Maybes, Tuples, Functions.") | |
14593 | (license license:bsd-3))) | |
14594 | ||
14595 | (define-public ghc-uuid | |
14596 | (package | |
14597 | (name "ghc-uuid") | |
14598 | (version "1.3.13") | |
14599 | (source | |
14600 | (origin | |
14601 | (method url-fetch) | |
14602 | (uri (string-append "https://hackage.haskell.org/package/" | |
14603 | "uuid-" version "/" | |
14604 | "uuid-" version ".tar.gz")) | |
14605 | (sha256 | |
14606 | (base32 | |
14607 | "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z")))) | |
14608 | (build-system haskell-build-system) | |
14609 | (arguments | |
14610 | `(#:cabal-revision | |
14611 | ("2" "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9") | |
14612 | #:phases | |
14613 | (modify-phases %standard-phases | |
14614 | (add-before 'configure 'strip-test-framework-constraints | |
14615 | (lambda _ | |
14616 | (substitute* "uuid.cabal" | |
14617 | (("HUnit >= 1\\.2 && < 1\\.4") "HUnit") | |
14618 | (("QuickCheck >= 2\\.4 && < 2\\.10") "QuickCheck") | |
14619 | (("tasty >= 0\\.10 && < 0\\.12") "tasty") | |
14620 | (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit") | |
14621 | (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) | |
14622 | (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1) | |
14623 | ("ghc-cryptohash-md5" ,ghc-cryptohash-md5) | |
14624 | ("ghc-entropy" ,ghc-entropy) | |
14625 | ("ghc-network-info" ,ghc-network-info) | |
14626 | ("ghc-random" ,ghc-random) | |
14627 | ("ghc-uuid-types" ,ghc-uuid-types))) | |
14628 | (native-inputs `(("ghc-hunit" ,ghc-hunit) | |
14629 | ("ghc-quickcheck" ,ghc-quickcheck) | |
14630 | ("ghc-tasty" ,ghc-tasty) | |
14631 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
14632 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
14633 | (home-page "https://github.com/hvr/uuid") | |
14634 | (synopsis "Haskell library to create, compare, parse, and print UUIDs") | |
14635 | (description "This Haskell library provides utilities creating, comparing, | |
14636 | parsing and printing @dfn{Universally Unique Identifiers} or UUIDs.") | |
14637 | (license license:bsd-3))) | |
14638 | ||
14639 | (define-public ghc-uuid-types | |
14640 | (package | |
14641 | (name "ghc-uuid-types") | |
14642 | (version "1.0.3") | |
14643 | (source | |
14644 | (origin | |
14645 | (method url-fetch) | |
14646 | (uri (string-append "https://hackage.haskell.org/package/" | |
14647 | "uuid-types-" version "/" | |
14648 | "uuid-types-" version ".tar.gz")) | |
14649 | (sha256 | |
14650 | (base32 | |
14651 | "1zdka5jnm1h6k36w3nr647yf3b5lqb336g3fkprhd6san9x52xlj")))) | |
14652 | (build-system haskell-build-system) | |
14653 | (arguments | |
14654 | `(#:phases | |
14655 | (modify-phases %standard-phases | |
14656 | (add-before 'configure 'strip-test-framework-constraints | |
14657 | (lambda _ | |
14658 | (substitute* "uuid-types.cabal" | |
14659 | (("HUnit >=1\\.2 && < 1\\.4") "HUnit") | |
14660 | (("QuickCheck >=2\\.4 && < 2\\.9") "QuickCheck") | |
14661 | (("tasty >= 0\\.10 && < 0\\.12") "tasty") | |
14662 | (("tasty-hunit == 0\\.9\\.\\*") "tasty-hunit") | |
14663 | (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) | |
14664 | (inputs `(("ghc-hashable" ,ghc-hashable) | |
14665 | ("ghc-random" ,ghc-random))) | |
14666 | (native-inputs `(("ghc-hunit" ,ghc-hunit) | |
14667 | ("ghc-quickcheck" ,ghc-quickcheck) | |
14668 | ("ghc-tasty" ,ghc-tasty) | |
14669 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
14670 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
14671 | (home-page "https://github.com/hvr/uuid") | |
14672 | (synopsis "Haskell type definitions for UUIDs") | |
14673 | (description "This Haskell library contains type definitions for | |
14674 | @dfn{Universally Unique Identifiers} or | |
14675 | @uref{https://en.wikipedia.org/wiki/UUID, UUIDs}, and basic conversion | |
14676 | functions.") | |
14677 | (license license:bsd-3))) | |
14678 | ||
14679 | (define-public ghc-validation | |
14680 | (package | |
14681 | (name "ghc-validation") | |
08397fde | 14682 | (version "1.1") |
dddbc90c RV |
14683 | (source |
14684 | (origin | |
14685 | (method url-fetch) | |
14686 | (uri (string-append | |
14687 | "mirror://hackage/package/validation/validation-" | |
14688 | version | |
14689 | ".tar.gz")) | |
14690 | (sha256 | |
14691 | (base32 | |
08397fde | 14692 | "1acj7mh3581ks405xswxw6667z7y1y0slisg6jvp6chc191ji9l5")))) |
dddbc90c RV |
14693 | (build-system haskell-build-system) |
14694 | (arguments | |
14695 | `(#:cabal-revision | |
08397fde | 14696 | ("1" "1rrjg9z399k6pb55nv85mlr5bkmdqbjwkvl1cy7ydccdx6ks4syp"))) |
dddbc90c RV |
14697 | (inputs |
14698 | `(("ghc-semigroups" ,ghc-semigroups) | |
14699 | ("ghc-semigroupoids" ,ghc-semigroupoids) | |
14700 | ("ghc-bifunctors" ,ghc-bifunctors) | |
14701 | ("ghc-lens" ,ghc-lens))) | |
14702 | (native-inputs | |
14703 | `(("ghc-hedgehog" ,ghc-hedgehog) | |
14704 | ("ghc-hunit" ,ghc-hunit))) | |
14705 | (home-page "https://github.com/qfpl/validation") | |
14706 | (synopsis | |
14707 | "Data-type like Either but with an accumulating Applicative") | |
14708 | (description | |
14709 | "A data-type like Either but with differing properties and type-class | |
14710 | instances. | |
14711 | ||
14712 | Library support is provided for this different representation, including | |
14713 | @code{lens}-related functions for converting between each and abstracting over | |
14714 | their similarities. | |
14715 | ||
14716 | The @code{Validation} data type is isomorphic to @code{Either}, but has an | |
14717 | instance of @code{Applicative} that accumulates on the error side. That is to | |
14718 | say, if two (or more) errors are encountered, they are appended using a | |
14719 | @{Semigroup} operation. | |
14720 | ||
14721 | As a consequence of this @code{Applicative} instance, there is no | |
14722 | corresponding @code{Bind} or @code{Monad} instance. @code{Validation} is an | |
14723 | example of, \"An applicative functor that is not a monad.\"") | |
14724 | (license license:bsd-3))) | |
14725 | ||
14726 | (define-public ghc-validity | |
14727 | (package | |
14728 | (name "ghc-validity") | |
3f1ba75d | 14729 | (version "0.9.0.2") |
dddbc90c RV |
14730 | (source |
14731 | (origin | |
14732 | (method url-fetch) | |
14733 | (uri (string-append | |
14734 | "https://hackage.haskell.org/package/validity/validity-" | |
14735 | version | |
14736 | ".tar.gz")) | |
14737 | (sha256 | |
14738 | (base32 | |
3f1ba75d | 14739 | "1aa93lp1pqwv7vhx19nazlig8qhbp3psblbz360s5lii3s5rli2v")))) |
dddbc90c RV |
14740 | (build-system haskell-build-system) |
14741 | (native-inputs `(("ghc-hspec" ,ghc-hspec) | |
14742 | ("hspec-discover" ,hspec-discover))) | |
14743 | (home-page | |
14744 | "https://github.com/NorfairKing/validity") | |
14745 | (synopsis "Validity typeclass") | |
14746 | (description | |
14747 | "Values of custom types usually have invariants imposed upon them. This | |
14748 | package provides the @code{Validity} type class, which makes these invariants | |
14749 | explicit by providing a function to check whether the invariants hold.") | |
14750 | (license license:expat))) | |
14751 | ||
14752 | (define-public ghc-vault | |
14753 | (package | |
14754 | (name "ghc-vault") | |
b40a436e | 14755 | (version "0.3.1.3") |
dddbc90c RV |
14756 | (source |
14757 | (origin | |
14758 | (method url-fetch) | |
14759 | (uri (string-append | |
14760 | "https://hackage.haskell.org/package/vault/vault-" | |
14761 | version | |
14762 | ".tar.gz")) | |
14763 | (sha256 | |
14764 | (base32 | |
b40a436e | 14765 | "0vdm472vn734xa27jjm2mjacl37mxiqaaahvm4hzqjgyh4cqq377")))) |
dddbc90c RV |
14766 | (build-system haskell-build-system) |
14767 | (inputs | |
14768 | `(("ghc-unordered-containers" ,ghc-unordered-containers) | |
14769 | ("ghc-hashable" ,ghc-hashable) | |
b40a436e | 14770 | ("ghc-semigroups" ,ghc-semigroups))) |
dddbc90c RV |
14771 | (home-page |
14772 | "https://github.com/HeinrichApfelmus/vault") | |
14773 | (synopsis "Persistent store for arbitrary values") | |
14774 | (description "This package provides vaults for Haskell. A vault is a | |
14775 | persistent store for values of arbitrary types. It's like having first-class | |
14776 | access to the storage space behind @code{IORefs}. The data structure is | |
14777 | analogous to a bank vault, where you can access different bank boxes with | |
14778 | different keys; hence the name. Also provided is a @code{locker} type, | |
14779 | representing a store for a single element.") | |
14780 | (license license:bsd-3))) | |
14781 | ||
14782 | (define-public ghc-vector | |
14783 | (package | |
14784 | (name "ghc-vector") | |
3ad67f6b | 14785 | (version "0.12.0.3") |
534d6caa | 14786 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
14787 | (source |
14788 | (origin | |
14789 | (method url-fetch) | |
14790 | (uri (string-append | |
14791 | "https://hackage.haskell.org/package/vector/vector-" | |
14792 | version | |
14793 | ".tar.gz")) | |
14794 | (sha256 | |
14795 | (base32 | |
3ad67f6b | 14796 | "1a756s4w759ji3als5alfxwlckh5zcmykfg9rll4mlr2knzvz8mq")))) |
dddbc90c RV |
14797 | (build-system haskell-build-system) |
14798 | ;; FIXME: To simplify upgrading all Haskell packages, we leave the tests | |
14799 | ;; disabled for now. | |
14800 | (arguments | |
3ad67f6b | 14801 | `(#:tests? #f)) |
dddbc90c RV |
14802 | (inputs |
14803 | `(("ghc-primitive" ,ghc-primitive) | |
14804 | ("ghc-random" ,ghc-random) | |
14805 | ("ghc-quickcheck" ,ghc-quickcheck) | |
14806 | ;; ("ghc-hunit" ,ghc-hunit) | |
14807 | ;; ("ghc-test-framework" ,ghc-test-framework) | |
14808 | ;; ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) | |
14809 | ;; ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) | |
14810 | )) | |
14811 | (home-page "https://github.com/haskell/vector") | |
14812 | (synopsis "Efficient Arrays") | |
14813 | (description "This library provides an efficient implementation of | |
14814 | Int-indexed arrays (both mutable and immutable), with a powerful loop | |
14815 | optimisation framework.") | |
14816 | (license license:bsd-3))) | |
14817 | ||
14818 | (define-public ghc-vector-algorithms | |
14819 | (package | |
14820 | (name "ghc-vector-algorithms") | |
e71f316f | 14821 | (version "0.8.0.1") |
dddbc90c RV |
14822 | (source |
14823 | (origin | |
14824 | (method url-fetch) | |
14825 | (uri (string-append "https://hackage.haskell.org/package/" | |
14826 | "vector-algorithms-" version "/" | |
14827 | "vector-algorithms-" version ".tar.gz")) | |
14828 | (sha256 | |
14829 | (base32 | |
e71f316f | 14830 | "1zip8r7hh5g12xrjvhbg38z6hfxy7l6h6pl88qcqc0ygdmwdxg0m")))) |
dddbc90c RV |
14831 | (build-system haskell-build-system) |
14832 | (inputs | |
14833 | `(("ghc-vector" ,ghc-vector))) | |
14834 | (native-inputs | |
14835 | `(("ghc-quickcheck" ,ghc-quickcheck))) | |
14836 | (home-page "https://github.com/bos/math-functions") | |
14837 | (synopsis "Algorithms for vector arrays in Haskell") | |
14838 | (description "This Haskell library algorithms for vector arrays.") | |
14839 | (license license:bsd-3))) | |
14840 | ||
14841 | (define-public ghc-vector-binary-instances | |
14842 | (package | |
14843 | (name "ghc-vector-binary-instances") | |
ca0701ef | 14844 | (version "0.2.5.1") |
dddbc90c RV |
14845 | (source |
14846 | (origin | |
14847 | (method url-fetch) | |
14848 | (uri (string-append | |
14849 | "https://hackage.haskell.org/package/" | |
14850 | "vector-binary-instances/vector-binary-instances-" | |
14851 | version ".tar.gz")) | |
14852 | (sha256 | |
14853 | (base32 | |
ca0701ef | 14854 | "04n5cqm1v95pw1bp68l9drjkxqiy2vswxdq0fy1rqcgxisgvji9r")))) |
dddbc90c | 14855 | (build-system haskell-build-system) |
dddbc90c RV |
14856 | (inputs |
14857 | `(("ghc-vector" ,ghc-vector))) | |
14858 | (native-inputs | |
14859 | `(("ghc-tasty" ,ghc-tasty) | |
14860 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
14861 | (home-page "https://github.com/bos/vector-binary-instances") | |
14862 | (synopsis "Instances of Data.Binary and Data.Serialize for vector") | |
14863 | (description "This library provides instances of @code{Binary} for the | |
14864 | types defined in the @code{vector} package, making it easy to serialize | |
14865 | vectors to and from disk. We use the generic interface to vectors, so all | |
14866 | vector types are supported. Specific instances are provided for unboxed, | |
14867 | boxed and storable vectors.") | |
14868 | (license license:bsd-3))) | |
14869 | ||
14870 | (define-public ghc-vector-builder | |
14871 | (package | |
14872 | (name "ghc-vector-builder") | |
1fc05441 | 14873 | (version "0.3.8") |
dddbc90c RV |
14874 | (source |
14875 | (origin | |
14876 | (method url-fetch) | |
14877 | (uri (string-append "https://hackage.haskell.org/package/" | |
14878 | "vector-builder-" version "/" | |
14879 | "vector-builder-" version ".tar.gz")) | |
14880 | (sha256 | |
14881 | (base32 | |
1fc05441 | 14882 | "0ww0l52p8s6gmh985adnjbvm1vrqpqbm08qdcrvxwhhcqmxgv6m3")))) |
dddbc90c RV |
14883 | (build-system haskell-build-system) |
14884 | (inputs `(("ghc-vector" ,ghc-vector) | |
14885 | ("ghc-semigroups" ,ghc-semigroups) | |
14886 | ("ghc-base-prelude" ,ghc-base-prelude))) | |
14887 | (native-inputs `(("ghc-attoparsec" ,ghc-attoparsec) | |
14888 | ("ghc-tasty" ,ghc-tasty) | |
14889 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
14890 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) | |
14891 | ("ghc-hunit" ,ghc-hunit) | |
14892 | ("ghc-quickcheck-instances" ,ghc-quickcheck-instances) | |
14893 | ("ghc-rerebase" ,ghc-rerebase))) | |
14894 | (home-page "https://github.com/nikita-volkov/vector-builder") | |
14895 | (synopsis "Vector builder for Haskell") | |
14896 | (description "This Haskell package provides an API for constructing vectors. | |
14897 | It provides the composable @code{Builder} abstraction, which has instances of the | |
14898 | @code{Monoid} and @code{Semigroup} classes. | |
14899 | ||
14900 | You would first use the @code{Builder} abstraction to specify the structure of | |
14901 | the vector; then you can execute the builder to actually produce the | |
14902 | vector. ") | |
14903 | (license license:expat))) | |
14904 | ||
14905 | (define-public ghc-vector-th-unbox | |
14906 | (package | |
14907 | (name "ghc-vector-th-unbox") | |
63056e61 | 14908 | (version "0.2.1.7") |
dddbc90c RV |
14909 | (source |
14910 | (origin | |
14911 | (method url-fetch) | |
14912 | (uri (string-append "https://hackage.haskell.org/package/" | |
14913 | "vector-th-unbox-" version "/" | |
14914 | "vector-th-unbox-" version ".tar.gz")) | |
14915 | (sha256 | |
14916 | (base32 | |
63056e61 | 14917 | "0q8dqnbv1c2gi7jjdhqj14abj1vik23ki6lq4iz2sz18yc7q69fi")))) |
dddbc90c RV |
14918 | (build-system haskell-build-system) |
14919 | (inputs | |
14920 | `(("ghc-vector" ,ghc-vector) | |
14921 | ("ghc-data-default" ,ghc-data-default))) | |
14922 | (home-page "https://github.com/liyang/vector-th-unbox") | |
14923 | (synopsis "Deriver for Data.Vector.Unboxed using Template Haskell") | |
14924 | (description "This Haskell library provides a Template Haskell | |
14925 | deriver for unboxed vectors, given a pair of coercion functions to | |
14926 | and from some existing type with an Unbox instance.") | |
14927 | (license license:bsd-3))) | |
14928 | ||
14929 | (define-public ghc-void | |
14930 | (package | |
14931 | (name "ghc-void") | |
51889121 | 14932 | (version "0.7.3") |
dddbc90c RV |
14933 | (source |
14934 | (origin | |
14935 | (method url-fetch) | |
14936 | (uri (string-append | |
14937 | "https://hackage.haskell.org/package/void/void-" | |
14938 | version | |
14939 | ".tar.gz")) | |
14940 | (sha256 | |
14941 | (base32 | |
51889121 | 14942 | "05vk3x1r9a2pqnzfji475m5gdih2im1h7rbi2sc67p1pvj6pbbsk")))) |
dddbc90c RV |
14943 | (build-system haskell-build-system) |
14944 | (inputs | |
14945 | `(("ghc-semigroups" ,ghc-semigroups) | |
14946 | ("ghc-hashable" ,ghc-hashable))) | |
14947 | (home-page "https://github.com/ekmett/void") | |
14948 | (synopsis | |
14949 | "Logically uninhabited data type") | |
14950 | (description | |
14951 | "A Haskell 98 logically uninhabited data type, used to indicate that a | |
14952 | given term should not exist.") | |
14953 | (license license:bsd-3))) | |
14954 | ||
14955 | (define-public ghc-wave | |
14956 | (package | |
14957 | (name "ghc-wave") | |
1631a0f7 | 14958 | (version "0.2.0") |
dddbc90c RV |
14959 | (source (origin |
14960 | (method url-fetch) | |
14961 | (uri (string-append | |
14962 | "https://hackage.haskell.org/package/wave/wave-" | |
14963 | version | |
14964 | ".tar.gz")) | |
14965 | (sha256 | |
14966 | (base32 | |
1631a0f7 | 14967 | "149kgwngq3qxc7gxpkqb16j669j0wpv2f3gnvfwp58yg6m4259ki")))) |
dddbc90c RV |
14968 | (build-system haskell-build-system) |
14969 | (arguments | |
14970 | '(#:phases | |
14971 | (modify-phases %standard-phases | |
14972 | (add-before 'configure 'update-constraints | |
14973 | (lambda _ | |
14974 | (substitute* "wave.cabal" | |
14975 | (("temporary.* < 1\\.3") | |
14976 | "temporary >= 1.1 && < 1.4"))))))) | |
14977 | (inputs | |
14978 | `(("ghc-cereal" ,ghc-cereal) | |
14979 | ("ghc-data-default-class" | |
14980 | ,ghc-data-default-class) | |
14981 | ("ghc-quickcheck" ,ghc-quickcheck) | |
14982 | ("ghc-temporary" ,ghc-temporary))) | |
14983 | (native-inputs | |
14984 | `(("hspec-discover" ,hspec-discover) | |
14985 | ("ghc-hspec" ,ghc-hspec))) | |
14986 | (home-page "https://github.com/mrkkrp/wave") | |
14987 | (synopsis "Work with WAVE and RF64 files in Haskell") | |
14988 | (description "This package allows you to work with WAVE and RF64 | |
14989 | files in Haskell.") | |
14990 | (license license:bsd-3))) | |
14991 | ||
14992 | (define-public ghc-wcwidth | |
14993 | (package | |
14994 | (name "ghc-wcwidth") | |
14995 | (version "0.0.2") | |
14996 | (source | |
14997 | (origin | |
14998 | (method url-fetch) | |
14999 | (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-" | |
15000 | version ".tar.gz")) | |
15001 | (sha256 | |
15002 | (base32 | |
15003 | "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz")))) | |
15004 | (build-system haskell-build-system) | |
15005 | (inputs | |
15006 | `(("ghc-setlocale" ,ghc-setlocale) | |
15007 | ("ghc-utf8-string" ,ghc-utf8-string) | |
15008 | ("ghc-attoparsec" ,ghc-attoparsec))) | |
15009 | (home-page "https://github.com/solidsnack/wcwidth/") | |
15010 | (synopsis "Haskell bindings to wcwidth") | |
15011 | (description "This package provides Haskell bindings to your system's | |
15012 | native wcwidth and a command line tool to examine the widths assigned by it. | |
15013 | The command line tool can compile a width table to Haskell code that assigns | |
15014 | widths to the Char type.") | |
15015 | (license license:bsd-3))) | |
15016 | ||
15017 | (define-public ghc-wcwidth-bootstrap | |
15018 | (package | |
15019 | (inherit ghc-wcwidth) | |
15020 | (name "ghc-wcwidth-bootstrap") | |
15021 | (inputs | |
15022 | `(("ghc-setlocale" ,ghc-setlocale) | |
15023 | ("ghc-utf8-string" ,ghc-utf8-string) | |
15024 | ("ghc-attoparsec" ,ghc-attoparsec-bootstrap))) | |
799d8d3c | 15025 | (properties '((hidden? #t))))) |
dddbc90c RV |
15026 | |
15027 | (define-public ghc-weigh | |
15028 | (package | |
15029 | (name "ghc-weigh") | |
b6d9777f | 15030 | (version "0.0.14") |
dddbc90c RV |
15031 | (source |
15032 | (origin | |
15033 | (method url-fetch) | |
15034 | (uri (string-append "https://hackage.haskell.org/package/weigh/" | |
15035 | "weigh-" version ".tar.gz")) | |
15036 | (sha256 | |
15037 | (base32 | |
b6d9777f | 15038 | "0l85marb5rl9nr1c0id42dnr5i9fk1jciy5h6lywhb34w3hbj61g")))) |
dddbc90c RV |
15039 | (build-system haskell-build-system) |
15040 | (inputs | |
15041 | `(("ghc-split" ,ghc-split) | |
15042 | ("ghc-temporary" ,ghc-temporary))) | |
15043 | (home-page "https://github.com/fpco/weigh#readme") | |
15044 | (synopsis "Measure allocations of a Haskell functions/values") | |
15045 | (description "This package provides tools to measure the memory usage of a | |
15046 | Haskell value or function.") | |
15047 | (license license:bsd-3))) | |
15048 | ||
f2a8aea1 CH |
15049 | (define-public ghc-wizards |
15050 | (package | |
15051 | (name "ghc-wizards") | |
15052 | (version "1.0.3") | |
15053 | (source | |
15054 | (origin | |
15055 | (method url-fetch) | |
15056 | (uri (string-append | |
15057 | "https://hackage.haskell.org/package/wizards/wizards-" | |
15058 | version | |
15059 | ".tar.gz")) | |
15060 | (sha256 | |
15061 | (base32 | |
15062 | "1clvbd1ckhvy29qrbmpkn7bya7300fq6znnps23nn3nxyrxhsr85")))) | |
15063 | (build-system haskell-build-system) | |
15064 | (inputs | |
15065 | `(("ghc-control-monad-free" ,ghc-control-monad-free))) | |
15066 | (arguments | |
15067 | `(#:cabal-revision | |
15068 | ("1" | |
15069 | "095qd17zrdhqmcvmslbyzfa5sh9glvvsnsvnlz31gzsmi8nnsgim"))) | |
15070 | (home-page "http://hackage.haskell.org/package/wizards") | |
15071 | (synopsis "High level, generic library for interrogative user interfaces") | |
15072 | (description | |
15073 | "@code{wizards} is a package designed for the quick and painless | |
15074 | development of @emph{interrogative} programs, which revolve around a dialogue | |
15075 | with the user, who is asked a series of questions in a sequence much like an | |
15076 | installation wizard. | |
15077 | ||
15078 | Everything from interactive system scripts, to installation wizards, to | |
15079 | full-blown shells can be implemented with the support of @code{wizards}. | |
15080 | ||
15081 | It is developed transparently on top of a free monad, which separates out the | |
15082 | semantics of the program from any particular interface. A variety of backends | |
15083 | exist, including console-based @code{System.Console.Wizard.Haskeline} and | |
15084 | @code{System.Console.Wizard.BasicIO}, and the pure | |
15085 | @code{System.Console.Wizard.Pure}. It is also possible to write your own | |
15086 | backends, or extend existing back-ends with new features. While both built-in | |
15087 | IO backends operate on a console, there is no reason why @code{wizards} cannot | |
15088 | also be used for making GUI wizard interfaces.") | |
15089 | (license license:bsd-3))) | |
15090 | ||
dddbc90c RV |
15091 | (define-public ghc-wl-pprint |
15092 | (package | |
15093 | (name "ghc-wl-pprint") | |
15094 | (version "1.2.1") | |
15095 | (source (origin | |
15096 | (method url-fetch) | |
15097 | (uri (string-append | |
15098 | "https://hackage.haskell.org/package/wl-pprint/wl-pprint-" | |
15099 | version ".tar.gz")) | |
15100 | (sha256 | |
15101 | (base32 | |
15102 | "0kn7y8pdrv8f87zhd5mifcl8fy3b2zvnzmzwhdqhxxlyzwiq6z0c")))) | |
15103 | (build-system haskell-build-system) | |
15104 | (home-page "https://hackage.haskell.org/package/wl-pprint") | |
15105 | (synopsis "Wadler/Leijen pretty printer") | |
15106 | (description | |
15107 | "This is a pretty printing library based on Wadler's paper @i{A Prettier | |
15108 | Printer}. This version allows the library user to declare overlapping | |
15109 | instances of the @code{Pretty} class.") | |
15110 | (license license:bsd-3))) | |
15111 | ||
15112 | (define-public ghc-wl-pprint-annotated | |
15113 | (package | |
15114 | (name "ghc-wl-pprint-annotated") | |
15115 | (version "0.1.0.1") | |
15116 | (source | |
15117 | (origin | |
15118 | (method url-fetch) | |
15119 | (uri (string-append | |
15120 | "mirror://hackage/package/wl-pprint-annotated/wl-pprint-annotated-" | |
15121 | version | |
15122 | ".tar.gz")) | |
15123 | (sha256 | |
15124 | (base32 | |
15125 | "1br7qyf27iza213inwhf9bm2k6in0zbmfw6w4clqlc9f9cj2nrkb")))) | |
15126 | (build-system haskell-build-system) | |
15127 | (native-inputs | |
15128 | `(("ghc-tasty" ,ghc-tasty) | |
15129 | ("ghc-tasty-hunit" ,ghc-tasty-hunit))) | |
15130 | (home-page | |
15131 | "https://github.com/minad/wl-pprint-annotated#readme") | |
15132 | (synopsis | |
15133 | "Wadler/Leijen pretty printer with annotation support") | |
15134 | (description | |
15135 | "Annotations are useful for coloring. This is a limited version of | |
15136 | @code{wl-pprint-extras} without support for point effects and without the free | |
15137 | monad. Like in @code{annotated-wl-pprint}, only annotations are supported. | |
15138 | Compared to @code{annotated-wl-pprint} this library provides a slightly | |
15139 | modernized interface.") | |
15140 | (license license:bsd-3))) | |
15141 | ||
15142 | (define-public ghc-wl-pprint-text | |
15143 | (package | |
15144 | (name "ghc-wl-pprint-text") | |
15145 | (version "1.2.0.0") | |
15146 | (source | |
15147 | (origin | |
15148 | (method url-fetch) | |
15149 | (uri (string-append | |
15150 | "https://hackage.haskell.org/package/wl-pprint-text/wl-pprint-text-" | |
15151 | version ".tar.gz")) | |
15152 | (sha256 | |
15153 | (base32 | |
15154 | "0g3w92rad6x5appfb22rbzcas2ix2h0hy91sdxhq8a4a5cnlrpa0")))) | |
15155 | (build-system haskell-build-system) | |
15156 | (inputs | |
15157 | `(("ghc-base-compat" ,ghc-base-compat))) | |
15158 | (home-page "https://hackage.haskell.org/package/wl-pprint-text") | |
15159 | (synopsis "Wadler/Leijen Pretty Printer for Text values") | |
15160 | (description | |
15161 | "A clone of wl-pprint for use with the text library.") | |
15162 | (license license:bsd-3))) | |
15163 | ||
15164 | (define-public ghc-word8 | |
15165 | (package | |
15166 | (name "ghc-word8") | |
15167 | (version "0.1.3") | |
15168 | (source | |
15169 | (origin | |
15170 | (method url-fetch) | |
15171 | (uri (string-append | |
15172 | "https://hackage.haskell.org/package/word8/word8-" | |
15173 | version | |
15174 | ".tar.gz")) | |
15175 | (sha256 | |
15176 | (base32 | |
15177 | "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16")))) | |
15178 | (build-system haskell-build-system) | |
15179 | (native-inputs | |
15180 | `(("ghc-hspec" ,ghc-hspec) | |
15181 | ("hspec-discover" ,hspec-discover))) | |
15182 | (home-page "https://hackage.haskell.org/package/word8") | |
15183 | (synopsis "Word8 library for Haskell") | |
15184 | (description "Word8 library to be used with @code{Data.ByteString}.") | |
15185 | (license license:bsd-3))) | |
15186 | ||
212e473e SR |
15187 | (define-public ghc-wordexp |
15188 | (package | |
15189 | (name "ghc-wordexp") | |
15190 | (version "0.2.2") | |
15191 | (source | |
15192 | (origin | |
15193 | (method url-fetch) | |
15194 | (uri (string-append | |
15195 | "https://hackage.haskell.org/package/wordexp/wordexp-" | |
15196 | version | |
15197 | ".tar.gz")) | |
15198 | (sha256 | |
15199 | (base32 | |
15200 | "1mbcrq89jz0dcibw66w0jdy4f4bfpx4zwjfs98rm3jjgdikwdzb4")))) | |
15201 | (build-system haskell-build-system) | |
15202 | (native-inputs `(("ghc-c2hs" ,ghc-c2hs))) | |
15203 | (inputs | |
15204 | `(("ghc-semigroups" ,ghc-semigroups))) | |
15205 | (home-page "https://hackage.haskell.org/package/wordexp") | |
15206 | (synopsis "Library wrapping @code{wordexp} for Haskell") | |
15207 | (description "@code{wordexp(3)} wrapper library for Haskell to perform | |
15208 | word expansion like a posix-shell.") | |
15209 | (license license:bsd-3))) | |
15210 | ||
dddbc90c RV |
15211 | (define-public ghc-x11 |
15212 | (package | |
15213 | (name "ghc-x11") | |
6c4581a3 | 15214 | (version "1.9.1") |
dddbc90c RV |
15215 | (source |
15216 | (origin | |
15217 | (method url-fetch) | |
15218 | (uri (string-append "https://hackage.haskell.org/package/X11/" | |
15219 | "X11-" version ".tar.gz")) | |
15220 | (sha256 | |
6c4581a3 | 15221 | (base32 "0gg6852mrlgl8zng1j84fismz7k81jr5fk92glgkscf8q6ryg0bm")))) |
dddbc90c | 15222 | (build-system haskell-build-system) |
54a5fd07 TS |
15223 | (arguments |
15224 | `(#:extra-directories | |
15225 | ("libx11" "libxrandr" "libxinerama" "libxscrnsaver"))) | |
dddbc90c RV |
15226 | (inputs |
15227 | `(("libx11" ,libx11) | |
15228 | ("libxrandr" ,libxrandr) | |
15229 | ("libxinerama" ,libxinerama) | |
15230 | ("libxscrnsaver" ,libxscrnsaver) | |
15231 | ("ghc-data-default" ,ghc-data-default))) | |
15232 | (home-page "https://github.com/haskell-pkg-janitors/X11") | |
15233 | (synopsis "Bindings to the X11 graphics library") | |
15234 | (description | |
15235 | "This package provides Haskell bindings to the X11 graphics library. The | |
15236 | bindings are a direct translation of the C bindings.") | |
15237 | (license license:bsd-3))) | |
15238 | ||
15239 | (define-public ghc-x11-xft | |
15240 | (package | |
15241 | (name "ghc-x11-xft") | |
15242 | (version "0.3.1") | |
15243 | (source | |
15244 | (origin | |
15245 | (method url-fetch) | |
15246 | (uri (string-append "https://hackage.haskell.org/package/X11-xft/" | |
15247 | "X11-xft-" version ".tar.gz")) | |
15248 | (sha256 | |
15249 | (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf")))) | |
54a5fd07 TS |
15250 | (arguments |
15251 | `(#:extra-directories ("libx11" "libxft" "xorgproto"))) | |
dddbc90c RV |
15252 | (inputs |
15253 | `(("ghc-x11" ,ghc-x11) | |
15254 | ("ghc-utf8-string" ,ghc-utf8-string) | |
15255 | ("libx11" ,libx11) | |
15256 | ("libxft" ,libxft) | |
15257 | ("xorgproto" ,xorgproto))) | |
15258 | (native-inputs | |
15259 | `(("pkg-config" ,pkg-config))) | |
15260 | (build-system haskell-build-system) | |
15261 | (home-page "https://hackage.haskell.org/package/X11-xft") | |
15262 | (synopsis "Bindings to Xft") | |
15263 | (description | |
15264 | "Bindings to the Xft, X Free Type interface library, and some Xrender | |
15265 | parts.") | |
15266 | (license license:lgpl2.1))) | |
15267 | ||
15268 | (define-public ghc-xdg-basedir | |
15269 | (package | |
15270 | (name "ghc-xdg-basedir") | |
15271 | (version "0.2.2") | |
15272 | (source | |
15273 | (origin | |
15274 | (method url-fetch) | |
15275 | (uri (string-append | |
15276 | "https://hackage.haskell.org/package/xdg-basedir/" | |
15277 | "xdg-basedir-" version ".tar.gz")) | |
15278 | (sha256 | |
15279 | (base32 | |
15280 | "0azlzaxp2dn4l1nr7shsxah2magk1szf6fx0mv75az00qsjw6qg4")))) | |
15281 | (build-system haskell-build-system) | |
702a1012 | 15282 | (home-page "https://github.com/willdonnelly/xdg-basedir") |
dddbc90c RV |
15283 | (synopsis "XDG Base Directory library for Haskell") |
15284 | (description "This package provides a library implementing the XDG Base Directory spec.") | |
15285 | (license license:bsd-3))) | |
15286 | ||
15287 | (define-public ghc-xml | |
15288 | (package | |
15289 | (name "ghc-xml") | |
15290 | (version "1.3.14") | |
15291 | (source | |
15292 | (origin | |
15293 | (method url-fetch) | |
15294 | (uri (string-append | |
15295 | "https://hackage.haskell.org/package/xml/xml-" | |
15296 | version | |
15297 | ".tar.gz")) | |
15298 | (sha256 | |
15299 | (base32 | |
15300 | "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j")))) | |
15301 | (build-system haskell-build-system) | |
2b62f5d0 | 15302 | (home-page "https://github.com/GaloisInc/xml") |
dddbc90c RV |
15303 | (synopsis "Simple XML library for Haskell") |
15304 | (description "This package provides a simple XML library for Haskell.") | |
15305 | (license license:bsd-3))) | |
15306 | ||
15307 | (define-public ghc-xml-conduit | |
15308 | (package | |
15309 | (name "ghc-xml-conduit") | |
15310 | (version "1.8.0.1") | |
15311 | (source | |
15312 | (origin | |
15313 | (method url-fetch) | |
15314 | (uri (string-append "https://hackage.haskell.org/package/xml-conduit/" | |
15315 | "xml-conduit-" version ".tar.gz")) | |
15316 | (sha256 | |
15317 | (base32 | |
15318 | "177gmyigxql1pn3ncz0r8annwv5cbxnihbgrrg1dhm4gmc9jy2wq")))) | |
15319 | (build-system haskell-build-system) | |
15320 | (inputs | |
15321 | `(("ghc-conduit" ,ghc-conduit) | |
15322 | ("ghc-conduit-extra" ,ghc-conduit-extra) | |
15323 | ("ghc-doctest" ,ghc-doctest) | |
15324 | ("ghc-resourcet" ,ghc-resourcet) | |
15325 | ("ghc-xml-types" ,ghc-xml-types) | |
15326 | ("ghc-attoparsec" ,ghc-attoparsec) | |
15327 | ("ghc-data-default-class" ,ghc-data-default-class) | |
15328 | ("ghc-blaze-markup" ,ghc-blaze-markup) | |
15329 | ("ghc-blaze-html" ,ghc-blaze-html) | |
15330 | ("ghc-monad-control" ,ghc-monad-control) | |
15331 | ("ghc-hspec" ,ghc-hspec) | |
15332 | ("ghc-hunit" ,ghc-hunit))) | |
15333 | (home-page "https://github.com/snoyberg/xml") | |
15334 | (synopsis "Utilities for dealing with XML with the conduit package") | |
15335 | (description | |
15336 | "This package provides pure-Haskell utilities for dealing with XML with | |
15337 | the @code{conduit} package.") | |
15338 | (license license:expat))) | |
15339 | ||
15340 | (define-public ghc-xml-types | |
15341 | (package | |
15342 | (name "ghc-xml-types") | |
15343 | (version "0.3.6") | |
15344 | (source | |
15345 | (origin | |
15346 | (method url-fetch) | |
15347 | (uri (string-append "https://hackage.haskell.org/package/xml-types/" | |
15348 | "xml-types-" version ".tar.gz")) | |
15349 | (sha256 | |
15350 | (base32 | |
15351 | "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr")))) | |
15352 | (build-system haskell-build-system) | |
15353 | (home-page "https://john-millikin.com/software/haskell-xml/") | |
15354 | (synopsis "Basic types for representing XML") | |
15355 | (description "This package provides basic types for representing XML | |
15356 | documents.") | |
15357 | (license license:expat))) | |
15358 | ||
7f89dfc9 KM |
15359 | (define-public ghc-xml-hamlet |
15360 | (package | |
15361 | (name "ghc-xml-hamlet") | |
15362 | (version "0.5.0.1") | |
15363 | (source | |
15364 | (origin | |
15365 | (method url-fetch) | |
15366 | (uri (string-append "https://hackage.haskell.org/package/xml-hamlet/" | |
15367 | "xml-hamlet-" version ".tar.gz")) | |
15368 | (sha256 | |
15369 | (base32 "0jrhcjy7ww59dafg857f2g2df1fw2jmbwcs1q379ph0pc5rxj3lj")))) | |
15370 | (build-system haskell-build-system) | |
15371 | (inputs | |
15372 | `(("ghc-shakespeare" ,ghc-shakespeare) | |
15373 | ("ghc-xml-conduit" ,ghc-xml-conduit))) | |
15374 | (native-inputs | |
15375 | `(("ghc-hspec" ,ghc-hspec) | |
15376 | ("ghc-hunit" ,ghc-hunit))) | |
15377 | (home-page "https://www.yesodweb.com/") | |
15378 | (synopsis "Hamlet-style quasiquoter for XML content") | |
15379 | (description "This package provides a type-safe tool for generating XML | |
15380 | code via quasi-quoting built on top of @code{ghc-shakespeare}.") | |
15381 | (license license:bsd-3))) | |
15382 | ||
dddbc90c RV |
15383 | (define-public ghc-yaml |
15384 | (package | |
15385 | (name "ghc-yaml") | |
b58e5b84 | 15386 | (version "0.11.1.2") |
dddbc90c RV |
15387 | (source (origin |
15388 | (method url-fetch) | |
15389 | (uri (string-append "https://hackage.haskell.org/package/" | |
15390 | "yaml/yaml-" version ".tar.gz")) | |
15391 | (sha256 | |
15392 | (base32 | |
b58e5b84 | 15393 | "028pz77n92l6kjgjv263h4b6yhw1iibdbf3a3dkn5qnz537xpzhc")))) |
dddbc90c | 15394 | (build-system haskell-build-system) |
dddbc90c RV |
15395 | (inputs |
15396 | `(("ghc-conduit" ,ghc-conduit) | |
15397 | ("ghc-resourcet" ,ghc-resourcet) | |
15398 | ("ghc-aeson" ,ghc-aeson) | |
15399 | ("ghc-unordered-containers" ,ghc-unordered-containers) | |
15400 | ("ghc-vector" ,ghc-vector) | |
15401 | ("ghc-attoparsec" ,ghc-attoparsec) | |
15402 | ("ghc-scientific" ,ghc-scientific) | |
15403 | ("ghc-semigroups" ,ghc-semigroups) | |
15404 | ("ghc-temporary" ,ghc-temporary) | |
15405 | ("ghc-enclosed-exceptions" ,ghc-enclosed-exceptions) | |
b58e5b84 TS |
15406 | ("ghc-base-compat" ,ghc-base-compat) |
15407 | ("ghc-libyaml" ,ghc-libyaml))) | |
dddbc90c RV |
15408 | (native-inputs |
15409 | `(("ghc-hspec" ,ghc-hspec) | |
15410 | ("ghc-hunit" ,ghc-hunit) | |
15411 | ("hspec-discover" ,hspec-discover) | |
b58e5b84 TS |
15412 | ("ghc-mockery" ,ghc-mockery) |
15413 | ("ghc-raw-strings-qq" ,ghc-raw-strings-qq))) | |
dddbc90c RV |
15414 | (home-page "https://github.com/snoyberg/yaml/") |
15415 | (synopsis "Parsing and rendering YAML documents") | |
15416 | (description | |
15417 | "This package provides a library to parse and render YAML documents.") | |
15418 | (license license:bsd-3))) | |
15419 | ||
15420 | (define-public ghc-zip-archive | |
15421 | (package | |
15422 | (name "ghc-zip-archive") | |
93c1fdd3 | 15423 | (version "0.4.1") |
dddbc90c RV |
15424 | (source |
15425 | (origin | |
15426 | (method url-fetch) | |
15427 | (uri (string-append | |
15428 | "https://hackage.haskell.org/package/zip-archive/zip-archive-" | |
15429 | version | |
15430 | ".tar.gz")) | |
15431 | (sha256 | |
15432 | (base32 | |
93c1fdd3 | 15433 | "1cdix5mnxrbs7b2kivhdydhfzgxidd9dqlw71mdw5p21cabwkmf5")))) |
dddbc90c | 15434 | (build-system haskell-build-system) |
93c1fdd3 TS |
15435 | (arguments |
15436 | `(#:phases | |
15437 | (modify-phases %standard-phases | |
15438 | (add-before 'check 'set-PATH-for-tests | |
15439 | (lambda* (#:key inputs #:allow-other-keys) | |
15440 | (let ((unzip (assoc-ref inputs "unzip")) | |
15441 | (which (assoc-ref inputs "which")) | |
15442 | (path (getenv "PATH"))) | |
15443 | (setenv "PATH" (string-append unzip "/bin:" which "/bin:" path)) | |
15444 | #t)))))) | |
dddbc90c RV |
15445 | (inputs |
15446 | `(("ghc-digest" ,ghc-digest) | |
15447 | ("ghc-temporary" ,ghc-temporary) | |
15448 | ("ghc-zlib" ,ghc-zlib))) | |
15449 | (native-inputs | |
15450 | `(("ghc-hunit" ,ghc-hunit) | |
93c1fdd3 TS |
15451 | ("unzip" ,unzip) |
15452 | ("which" ,which))) | |
dddbc90c RV |
15453 | (home-page "https://hackage.haskell.org/package/zip-archive") |
15454 | (synopsis "Zip archive library for Haskell") | |
15455 | (description "The zip-archive library provides functions for creating, | |
15456 | modifying, and extracting files from zip archives in Haskell.") | |
15457 | (license license:bsd-3))) | |
15458 | ||
15459 | (define-public ghc-zlib | |
15460 | (package | |
15461 | (name "ghc-zlib") | |
bf12089a | 15462 | (version "0.6.2.1") |
534d6caa | 15463 | (outputs '("out" "static" "doc")) |
dddbc90c RV |
15464 | (source |
15465 | (origin | |
15466 | (method url-fetch) | |
15467 | (uri (string-append | |
15468 | "https://hackage.haskell.org/package/zlib/zlib-" | |
15469 | version | |
15470 | ".tar.gz")) | |
15471 | (sha256 | |
15472 | (base32 | |
bf12089a | 15473 | "1l11jraslcrp9d4wnhwfyhwk4fsiq1aq8i6vj81vcq1m2zzi1y7h")))) |
dddbc90c RV |
15474 | (build-system haskell-build-system) |
15475 | (arguments | |
54a5fd07 TS |
15476 | `(#:extra-directories ("zlib") |
15477 | #:phases | |
dddbc90c RV |
15478 | (modify-phases %standard-phases |
15479 | (add-before 'configure 'strip-test-framework-constraints | |
15480 | (lambda _ | |
15481 | (substitute* "zlib.cabal" | |
15482 | (("tasty >= 0\\.8 && < 0\\.12") "tasty") | |
15483 | (("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit") | |
15484 | (("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck"))))))) | |
15485 | (inputs `(("zlib" ,zlib))) | |
15486 | (native-inputs | |
15487 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
15488 | ("ghc-tasty" ,ghc-tasty) | |
15489 | ("ghc-tasty-hunit" ,ghc-tasty-hunit) | |
15490 | ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) | |
15491 | (home-page "https://hackage.haskell.org/package/zlib") | |
15492 | (synopsis | |
15493 | "Compression and decompression in the gzip and zlib formats") | |
15494 | (description | |
15495 | "This package provides a pure interface for compressing and decompressing | |
15496 | streams of data represented as lazy @code{ByteString}s. It uses the zlib C | |
15497 | library so it has high performance. It supports the @code{zlib}, @code{gzip} | |
15498 | and @code{raw} compression formats. It provides a convenient high level API | |
15499 | suitable for most tasks and for the few cases where more control is needed it | |
15500 | provides access to the full zlib feature set.") | |
bbf8bf31 | 15501 | (license license:bsd-3))) |
14e41996 RV |
15502 | |
15503 | (define-public ghc-zlib-bindings | |
15504 | (package | |
15505 | (name "ghc-zlib-bindings") | |
15506 | (version "0.1.1.5") | |
15507 | (source | |
15508 | (origin | |
15509 | (method url-fetch) | |
15510 | (uri (string-append "https://hackage.haskell.org/package/" | |
15511 | "zlib-bindings/zlib-bindings-" version ".tar.gz")) | |
15512 | (sha256 | |
15513 | (base32 | |
15514 | "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8")))) | |
15515 | (build-system haskell-build-system) | |
15516 | (inputs | |
15517 | `(("ghc-zlib" ,ghc-zlib))) | |
15518 | (native-inputs | |
15519 | `(("ghc-hspec" ,ghc-hspec) | |
15520 | ("ghc-quickcheck" ,ghc-quickcheck))) | |
15521 | (arguments | |
15522 | `(#:cabal-revision | |
15523 | ("2" "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc"))) | |
15524 | (home-page "https://github.com/snapframework/zlib-bindings") | |
15525 | (synopsis "Low-level bindings to the @code{zlib} package") | |
15526 | (description "This package provides low-level bindings to the | |
15527 | @code{zlib} package.") | |
15528 | (license license:bsd-3))) | |
8428e92c TS |
15529 | |
15530 | (define-public ghc-zstd | |
15531 | (package | |
15532 | (name "ghc-zstd") | |
15533 | (version "0.1.1.2") | |
15534 | (source | |
15535 | (origin | |
15536 | (method url-fetch) | |
15537 | (uri (string-append "https://hackage.haskell.org/package/" | |
15538 | "zstd/zstd-" version ".tar.gz")) | |
15539 | (sha256 | |
15540 | (base32 | |
15541 | "147s496zvw13akxqzg65mgfvk3bvhrcilxgf8n786prxg5cm4jz2")))) | |
15542 | (build-system haskell-build-system) | |
15543 | (native-inputs | |
15544 | `(("ghc-quickcheck" ,ghc-quickcheck) | |
15545 | ("ghc-test-framework" ,ghc-test-framework) | |
15546 | ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) | |
15547 | (home-page "https://github.com/luispedro/hs-zstd") | |
15548 | (synopsis "Haskell bindings to the Zstandard compression algorithm") | |
15549 | (description "This library provides Haskell bindings to the | |
15550 | Zstandard compression algorithm, a fast lossless compression algorithm | |
15551 | targeting real-time compression scenarios at zlib-level and better | |
15552 | compression ratios.") | |
15553 | (license license:bsd-3))) |